原江苏副省长郭元强 到任武汉市委书记

时间:2021-09-29 12:02内容来源:联合早报 版阅读:新闻归类:人物记事

武汉新市委书记到任

(资料图 来源:南通发布)

据“湖北发布”9月29日消息,近日,中共中央批准:郭元强同志任湖北省委委员、常委,武汉市委书记。

郭元强此前任江苏省委常委、组织部部长。他曾在武汉求学4年,在广东工作25年,2018年调任江苏工作,至今跨省履新。

官方履历显示,郭元强出生于1965年7月,1984年进入华中师范大学化学系化学专业学习,毕业后任广西农学院基础课部化学教研室助教,1990年他又在中国科学院广州化学研究所攻读高分子化学与物理专业硕士研究生,1993年担任广东省石油化工进出口贸易公司项目工程师。

1996年,他回到中国科学院广州化学研究所,担任纤维素开放研究实验室、高分子研究室助理研究员、副研究员、研究员。其间,他在华南理工大学获工学博士学位,2001年12月至2003年8月挂职任深圳市科技局局长助理。

2003年8月,郭元强任广东省质量技术监督局副局长。

2008年,广东面向全国公开选拔100名优秀年轻厅、处级干部,郭元强再次入选。他开始到地方工作,任茂名市委常委、常务副市长,后兼任高州市委书记。

2012年3月,郭元强出任广东省外经贸厅厅长。

2014年2月,广东省机构改革新设立了广东商务厅,将原省外经贸厅职责整体划入,并纳入省经信委的商贸流通管理、经济协作两大职能。当年底,郭元强任广东省商务厅厅长。

2016年3月,郭元强任珠海市委书记。

2018年1月,郭元强首次跨省履新,任江苏省副省长,2019年10月任江苏省委常委、省委秘书长。今年2月,他同时担任省委组织部部长,4月卸任省委秘书长。

今年9月14日,江苏省委党校(江苏行政学院)举行2021年秋季学期开学典礼,郭元强指出,要强化“为官避事平生耻”的责任意识,对职责范围内的工作敢抓敢管、敢于负责,立足岗位深化改革创新、推动高质量发展,以铁一般的担当扛起职责使命。要砥砺“为有牺牲多壮志”的坚韧品质,在重大原则问题上敢于斗争,在防范化解风险上善于斗争,在全面从严治党上勇于斗争,以铁一般的意志应对风险挑战。要增强“不眩于五色之惑”的抵腐定力,树牢政德操守高线,把牢权力行使界线,守牢慎初慎微防线,以铁一般的纪律筑牢防腐堤坝。

此番郭元强调任湖北任职。

原任湖北省委常委、武汉市委书记王忠林,今年4月底任湖北省委副书记,省政府党组书记,今年5月任副省长、代省长、省长至今。

郭元强简历

郭元强,男,汉族,1965年7月生,河南光山人,研究生学历,工学博士学位,研究员,1986年6月加入中国共产党,1988年7月参加工作。

1984.09—1988.07 华中师范大学化学系化学专业学习

1988.07—1990.08 广西农学院基础课部化学教研室助教

1990.08—1993.07 中国科学院广州化学研究所高分子化学与物理专业硕士研究生

1993.07—1996.10 广东省石油化工进出口贸易公司项目工程师

1996.10—2003.08 中国科学院广州化学研究所纤维素开放研究实验室、高分子研究室助理研究员、副研究员、研究员(其间:1999.08—2002.06华南理工大学材料科学与工程学院材料学专业在职研究生学习,获工学博士学位;2001.12—2003.08挂职任深圳市科技局局长助理)

2003.08—2008.07 广东省质监局副局长

2008.07—2012.01 广东省茂名市委常委、副市长,高州市委书记、市人大常委会主任(2011.08)

2012.01—2012.03 广东省茂名市委常委,高州市委书记、市人大常委会主任

2012.03—2013.12 广东省外经贸厅厅长、党组书记

2013.12—2016.03 广东省商务厅厅长、党组书记

2016.03—2018.01 广东省珠海市委书记、市人大常委会主任

2018.01—2019.10 江苏省副省长

2019.10—2021.02 江苏省委常委、省委秘书长、省委省级机关工作委员会书记

2021.02—2021.04 江苏省委常委、省委秘书长、省委组织部部长、省委省级机关工作委员会书记兼省委党校(江苏行政学院)校(院)长

2021.04起 江苏省委常委、省委组织部部长兼省委党校(江苏行政学院)校(院)长

现任湖北省委常委、武汉市委书记。


欢迎关注

长按下方二维码关注“News”

了解新鲜时政资讯

点“在看”,Ta会看见↓↓

varfirst_sceen__time=(+newDate()); if(""==1&&document.getElementById('js_content')){ document.getElementById('js_content').addEventListener("selectstart",function(e){e.preventDefault();}); }
预览时标签不可点 收录于话题# 上一篇 下一篇 阅读 分享 收藏 在看 已同步到看一看写下你的想法 前往“发现”-“看一看”浏览“朋友在看”

前往看一看 看一看入口已关闭 在“设置”-“通用”-“发现页管理”打开“看一看”入口 我知道了 已发送

取消 发送到看一看 发送 武汉新市委书记到任 最多200字,当前共 发送中

微信扫一扫关注该公众号

知道了 window.img_popup=1; 微信扫一扫使用小程序 取消 允许 取消 允许 varPAGE_MID='mmbizwap:appmsg/newindex.html'; window.logs.pagetime.page_begin=Date.now(); var__DEBUGINFO={ debug_js:"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/biz_wap/debug/console55871f.js", safe_js:"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/biz_wap/safe/moonsafe55871f.js", res_list:[] }; (function(){ vartotalCount=0, finishCount=0; function_loadVConsolePlugin(){ window.vConsole=newwindow.VConsole(); while(window.vConsolePlugins.length>0){ varp=window.vConsolePlugins.shift(); window.vConsole.addPlugin(p); } if(!window.vConsole.isInited){ window.vConsole._render(); window.vConsole._mockTap(); window.vConsole._bindEvent(); window.vConsole._autoRun(); } } function_addVConsole(uri,cb){ totalCount++; varnode=document.createElement('SCRIPT'); node.type='text/javascript'; node.src=uri; node.setAttribute('nonce','1709570199'); if(cb){ node.onload=cb; } document.getElementsByTagName('head')[0].appendChild(node); } if( (document.cookie&&document.cookie.indexOf('vconsole_open=1')>-1) ||location.href.indexOf('vconsole=1')>-1 ){ window.vConsolePlugins=[]; _addVConsole('//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/vconsole/3.2.2/vconsole.min55871f.js',function(){ _addVConsole('//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/vconsole/plugin/vconsole-mpopt/1.0.1/vconsole-mpopt55871f.js',_loadVConsolePlugin); }); } try{ varadIframeUrl=localStorage.getItem('__WXLS_ad_iframe_url'); if(window===top){ if(adIframeUrl){ if(navigator.userAgent.indexOf('iPhone')>-1){ varimg=newImage(); img.src=adIframeUrl; }else{ varlink=document.createElement('link'); link.rel='prefetch'; link.href=adIframeUrl; document.getElementsByTagName('head')[0].appendChild(link); } } } }catch(err){ } })(); function_typeof(e){ returne&&"undefined"!=typeofSymbol&&e.constructor===Symbol?"symbol":typeofe; } !function(e){ if("object"===("undefined"==typeofmodule?"undefined":_typeof(module)))module.exports=e;else{ if(window.__second_open__)return; vart="1632888077",n="1632886123",i="2021-09-29"; e(t,n,i,document.getElementById("publish_time")); } window.__setPubTime=e; }(function(e,t,n,i){ vars="",o=86400,f=newDate(1e3*e),r=1*t,l=n||""; f.setHours(0),f.setMinutes(0),f.setSeconds(0); varc=f.getTime()/1e3; f.setDate(1),f.setMonth(0); varu=f.getTime()/1e3; if(r>=c)s="今天";elseif(r>=c-o)s="昨天";elseif(r>=c-2*o)s="前天";elseif(r>=c-3*o)s="3天前";elseif(r>=c-4*o)s="4天前";elseif(r>=c-5*o)s="5天前";elseif(r>=c-6*o)s="6天前";elseif(r>=c-14*o)s="1周前";elseif(r>=u){ vard=l.split("-"); s="%s月%s日".replace("%s",parseInt(d[1],10)).replace("%s",parseInt(d[2],10)); }elses=l; i&&(i.innerText=s,setTimeout(function(){ i.onclick=function(){ i.innerText=l; }; },10)); }); if(!window.console)window.console={log:function(){}}; if(typeofgetComputedStyle=='undefined'){ if(document.body.currentStyle){ window.getComputedStyle=function(el){ returnel.currentStyle; } }else{ window.getComputedStyle={}; } } (function(){ window.__zoom=1; varua=navigator.userAgent.toLowerCase(); varre=newRegExp("msie([0-9]+[\.0-9]*)"); varversion; if(re.exec(ua)!=null){ version=parseInt(RegExp.$1); } varisIE=false; if(typeofversion!='undefined'&&version>=6&&version<=9){ isIE=true; } varbodyWidth=''*1; if(bodyWidth){ var>0)break; outerWidth+=parseFloat(parent_>getParentWidth(item)&&!breakParentWidth){ widthNum=getParentWidth(item); } (widthNum-img_padding_border)*ratio+img_padding_border_top_bottom; if(isIE||'0'==='1'){ varurl=item.getAttribute('data-src'); item.src=url; }else{ if(parseFloat(widthNum,10)>40&&height>40&&breakParentWidth){ item.className+='img_loading'; } item.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg=="; } widthNum!=='auto'&&(item.>0){ varparent_width=getParentWidth(imageItem)||max_width; varinitWidth=imageItem.>max_width?max_width:initWidth; if(initWidth){ imageItem.setAttribute('_width',!isNaN(initWidth*1)?initWidth+'px':initWidth); } if(typeofinitWidth==='string'&&initWidth.indexOf('%')!==-1){ initWidth=parseFloat(initWidth.replace('%',''),10)/100*parent_width; } if(initWidth==='auto'){ initWidth=originWidth; } varwidthNum; varwidthUnit; if(initWidth==='auto'){ widthNum='auto'; }else{ varres=/^(\d+(?:\.\d+)?)([a-zA-Z%]+)?$/.exec(initWidth); widthNum=res&&res.length>=2?res[1]:0; widthUnit=res&&res.length>=3&&res[2]?res[2]:'px'; } setImgSize(imageItem,widthNum,widthUnit,ratio_,true); (function(item,widthNumber,unit,ratio){ setTimeout(function(){ setImgSize(item,widthNumber,unit,ratio,false); }); })(imageItem,widthNum,widthUnit,ratio_); }else{ imageItem.>parent_width?parent_width:width, outerW=getOuterW(dom)||0, outerH=getOuterH(dom)||0, videoW=width-outerW, videoH=videoW/ratio_, speedDotH=12, videoH+outerH+speedDotH; return{w:Math.ceil(width),h:Math.ceil(height),vh:videoH,vw:videoW,ratio:ratio_,sdh:speedDotH}; }; (function(){ variframe=document.getElementsByTagName('iframe'); for(vari=0,il=iframe.length;i播放'; mydiv.className="img_loading"; mydiv.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg=="; videoPlaceHolderSpan.>=200&&xhr.status<400){ obj.success&&obj.success(xhr.responseText); }else{ obj.error&&obj.error(xhr); } obj.complete&&obj.complete(); obj.complete=null; } }; xhr.setRequestHeader("Content-Type","application/x-www-form-urlencoded;charset=UTF-8"); xhr.setRequestHeader("X-Requested-With","XMLHttpRequest"); xhr.send(data); } varmid=""||""||"2247542334"; varbiz=""||"MzUzNTA4NTYxMA=="; varsessionid=""||"svr_a3f49583268"; varidx=""; (functionsendReq(parentNode,copyIframe,index,vid){ ajax({ url:'/mp/videoplayer?vid='+vid+'&mid='+mid+'&idx=1&__biz='+biz+'&sessionid='+sessionid+'&f=json', type:"GET", dataType:'json', success:function(json){ varret=JSON.parse(json||'{}'); varori=ret.ori_status; varhit_biz_headimg=ret.hit_biz_headimg+'/64'; varhit_nickname=ret.hit_nickname; varhit_username=ret.hit_username; varselfUserName="gh_3f3b4ee5d724"; if(ori===2&&selfUserName!==hit_username){ varvideoBar=document.createElement('div'); varvideoBarHtml=''; videoBarHtml+='以下视频来源于'; videoBarHtml+=''; videoBarHtml+=''; videoBarHtml+=''+hit_nickname+''; videoBarHtml+=''; videoBarHtml+=''; videoBarHtml+=''; videoBarHtml+=''; videoBar.innerHTML=videoBarHtml; varspanContainer=document.getElementById('js_mp_video_container_'+index); if(spanContainer){ spanContainer.parentNode.insertBefore(videoBar,spanContainer); }else{ parentNode.insertBefore(videoBar,copyIframe); } varavatorEle=document.getElementById(hit_biz_headimg+index); varavatorSrc=avatorEle.dataset.src; console.log('avatorSrc'+avatorSrc); if(ret.hit_biz_headimg){ avatorEle.setAttribute("height",obj.h); } a.setAttribute("data-vh",obj.vh); a.setAttribute("data-vw",obj.vw); if(a.getAttribute("data-mpvid")){ a.setAttribute("data-src",location.protocol+"//mp.weixin.qq.com/mp/readtemplate?t=pages/video_player_tmpl&auto=0&vid="+vid); }else{ a.setAttribute("data-src",location.protocol+"//v.qq.com/iframe/player.html?vid="+vid+"&width="+obj.vw+"&"+obj.vh+"&auto=0"); } } })(); (function(){ if(window.__zoom!=1){ if(!window.__second_open__){ document.getElementById('page-content').>=0&&child.getAttribute("data-vid")==vid){ child.> !function(t){ vare={ defaultContentTpl:'', config:[{ querySelector:"redpacketcover", genId:function(){ vart=arguments.length<=0||void0===arguments[0]?{}:arguments[0]; returndecodeURIComponent(t.node.getAttribute("data-coveruri")||""); }, calW:function(){ vart=arguments.length<=0||void0===arguments[0]?{}:arguments[0]; return.7854*t.parentWidth; }, calH:function(){ vart=arguments.length<=0||void0===arguments[0]?{}:arguments[0]; returnthis.calW({ parentWidth:t.parentWidth })/.73346+27+37; }, replaceContentCssText:"", appendContentCssText:"display:inline-block;position:relative;", outerContainerLeft:'
', outerContainerRight:"
" },{ querySelector:"qqmusic", genId:function(){ vart=arguments.length<=0||void0===arguments[0]?{}:arguments[0]; return(t.node.getAttribute("musicid")||"").replace(/^\s/,"").replace(/\s$/,"")+"_"+t.index; }, calW:function(){ vart=arguments.length<=0||void0===arguments[0]?{}:arguments[0]; return1*t.parentWidth; }, calH:function(){ return88; }, replaceContentCssText:"", appendContentCssText:"margin:16px0;diplay:block;", outerContainerLeft:"", outerContainerRight:"" },{ querySelector:"mpvoice", genId:function(){ vart=arguments.length<=0||void0===arguments[0]?{}:arguments[0],e=decodeURIComponent(t.node.getAttribute("voice_encode_fileid")||"").replace(/^\s/,"").replace(/\s$/,""); returne+"_"+t.index; }, calW:function(){ vart=arguments.length<=0||void0===arguments[0]?{}:arguments[0]; return1*t.parentWidth; }, calH:function(){ return122; }, replaceContentCssText:"", appendContentCssText:"margin:16px0;diplay:block;", outerContainerLeft:"", outerContainerRight:"" },{ querySelector:"mppoi", genId:function(){ vart=arguments.length<=0||void0===arguments[0]?{}:arguments[0]; returnt.node.getAttribute("data-id")||""; }, calW:function(){ vart=arguments.length<=0||void0===arguments[0]?{}:arguments[0]; return1*t.parentWidth; }, calH:function(){ return219; }, replaceContentCssText:"", appendContentCssText:"margin:16px0;diplay:block;", outerContainerLeft:"", outerContainerRight:"" },{ querySelector:"mpsearch", genId:function(){ returndecodeURIComponent("mpsearch"); }, calW:function(){ vart=arguments.length<=0||void0===arguments[0]?{}:arguments[0]; return1*t.parentWidth; }, calH:function(){ return100; }, replaceContentCssText:"", appendContentCssText:"margin:16px0;diplay:block;", outerContainerLeft:"", outerContainerRight:"" },{ querySelector:"mpvideosnap", genId:function(){ vart=arguments.length<=0||void0===arguments[0]?{}:arguments[0],e=t.node.getAttribute("data-type")||"video"; returndecodeURIComponent("live"===e?t.node.getAttribute("data-noticeid")||"":t.node.getAttribute("data-id")||""); }, calW:function(){ vart=arguments.length<=0||void0===arguments[0]?{}:arguments[0],e=t.node.getAttribute("data-type")||"video"; return"live"===e?t.parentWidth:.665*t.parentWidth; }, calH:function(){ vart=arguments.length<=0||void0===arguments[0]?{}:arguments[0],e=t.node.getAttribute("data-desc")||"",n=t.node.getAttribute("data-type")||"video"; return"live"===n?113:e?this.calW(t)+44+35+27:this.calW(t)+44+35; }, replaceContentCssText:"", appendContentCssText:"margin:16pxauto;diplay:block;", outerContainerLeft:"", outerContainerRight:"" },{ querySelector:"mp-wxaproduct", genId:function(){ vart=arguments.length<=0||void0===arguments[0]?{}:arguments[0]; returndecodeURIComponent(t.node.getAttribute("data-wxaproduct-productid")||""); }, calW:function(){ vart=arguments.length<=0||void0===arguments[0]?{}:arguments[0]; return1*t.parentWidth; }, calH:function(){ vart=arguments.length<=0||void0===arguments[0]?{}:arguments[0],e=t.node.getAttribute("data-wxaproduct-cardtype")||""; return"mini"===e?124:466; }, replaceContentCssText:"", appendContentCssText:"margin:16px0;diplay:block;", outerContainerLeft:"", outerContainerRight:"" },{ querySelector:"mpprofile", genId:function(t){ returnt.node.getAttribute("data-id")||""; }, calW:function(){ vart=arguments.length<=0||void0===arguments[0]?{}:arguments[0]; return1*t.parentWidth; }, calH:function(){ return141; }, replaceContentCssText:"", appendContentCssText:"margin:28px020px;diplay:block;", outerContainerLeft:"", outerContainerRight:"" }] }; t(e); }(function(){ vart=arguments.length<=0||void0===arguments[0]?{}:arguments[0]; if("function"==typeofdocument.querySelectorAll)for(vare={ maxWith:document.getElementById("img-content").getBoundingClientRect().width, idAttr:"data-preloadingid" },n=0,r=t.config.length;r>n;n++)for(vara=t.config[n],i=document.querySelectorAll(a.querySelector),o=0,u=i.length;u>o;o++){ vard=i[o],g=d.parentNode.getBoundingClientRect().width; g=Math.min(g,e.maxWith); vars=a.calW({ parentWidth:g, node:d }),c=a.calH({ parentWidth:g, node:d }),l=a.genId({ index:o, node:d }),p=t.defaultContentTpl.replace(/#height#/g,c).replace(/#width#/g,s),m=document.createElement("div"); if(m.innerHTML=p,a.replaceContentCssText){ varh=a.replaceContentCssText.replace(/#height#/g,c).replace(/#width#/g,s); m.firstChild.> varwhiteList='rich_pages,blockquote_info,blockquote_biz,blockquote_other,blockquote_article,js_jump_icon,h5_image_link,js_banner_container,js_list_container,js_cover,js_tx_video_container,js_product_err_container,js_product_loop_content,js_product_container,img_loading,list-paddingleft-1,list-paddingleft-2,list-paddingleft-3,selectTdClass,noBorderTable,ue-table-interlace-color-single,ue-table-interlace-color-double,__bg_gif,weapp_text_link,weapp_image_link,js_img_loading,wx_video_context,db,wx_video_thumb_primary,wx_video_play_btn,wx_video_mask,qqmusic_area,tc,tips_global,unsupport_tips,qqmusic_wrp,appmsg_card_context,appmsg_card_active,qqmusic_bd,play_area,icon_qqmusic_switch,pic_qqmusic_default,qqmusic_thumb,access_area,qqmusic_songname,qqmusic_singername,qqmusic_source,js_audio_frame,share_audio_context,flex_context,pages_reset,share_audio_switch,icon_share_audio_switch,share_audio_info,flex_bd,share_audio_title,share_audio_tips,share_audio_progress_wrp,share_audio_progress,share_audio_progress_inner,share_audio_progress_buffer,share_audio_progress_loading,share_audio_progress_loading_inner,share_audio_progress_handle,share_audio_desc,share_audio_length_current,share_audio_length_total,video_iframe,vote_iframe,js_editor_vote_card,res_iframe,card_iframe,js_editor_card,weapp_display_element,js_weapp_display_element,weapp_card,app_context,weapp_card_bd,weapp_card_profile,radius_avatar,weapp_card_avatar,weapp_card_nickname,weapp_card_info,weapp_card_title,weapp_card_thumb_wrp,weapp_card_ft,weapp_card_logo,js_pay_btn,pay,pay__mask,wx_video_loading,js_redpacketcover,js_uneditable,js_uneditablemouseover,js_editor_qqmusic,js_editor_audio,ct_geography_loc_tip,js_poi_entry,subsc_context,subsc_btn,reset_btn,js_subsc_btn,icon_subsc'.split(','); varqaClassPrefix='qa__'; varwhiteListReg=[ newRegExp("^wxw"), newRegExp("^weui"), newRegExp("^appmsg"), newRegExp("^audio"), newRegExp("^music"), newRegExp("^cps_inner"), newRegExp("^bizsvr_"), newRegExp("^code-snippet"), newRegExp("^"+qaClassPrefix), newRegExp("^wx-edui-"), newRegExp("^wx_"), newRegExp("^wx-"), newRegExp('^js_darkmode__'), newRegExp('^js_wechannel'), ]; functionhtmlDecode(str){ returnstr .replace(/'/g,'\'') .replace(//g,'\n') .replace(/ /g,'') .replace(/</g,'<') .replace(/>/g,'>') .replace(/"/g,'"') .replace(/&/g,'&') .replace(/ /g,''); } varuin=''; varkey=''; varpass_ticket=''; varnew_appmsg=1; varitem_show_type="0"; varreal_item_show_type="0"; varcan_see_complaint="0"; varnot_in_mm_css="//res.wx.qq.com/mmbizwap/zh_CN/htmledition/> !function(e,t){"object"==typeofexports&&"object"==typeofmodule?module.exports=t():"function"==typeofdefine&&define.amd?define("Darkmode",[],t):"object"==typeofexports?exports.Darkmode=t():e.Darkmode=t()}(window,(function(){returnfunction(e){vart={};functionr(n){if(t[n])returnt[n].exports;vara=t[n]={i:n,l:!1,exports:{}};returne[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}returnr.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)returne;if(4&t&&"object"==typeofe&&e&&e.__esModule)returne;varn=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeofe)for(varaine)r.d(n,a,function(t){returne[t]}.bind(null,a));returnn},r.n=function(e){vart=e&&e.__esModule?function(){returne.default}:function(){returne};returnr.d(t,"a",t),t},r.o=function(e,t){returnObject.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=9)}([function(e,t,r){"usestrict";varn=r(3),a=r(6),o=[].slice,i=["keyword","gray","hex"],s={};Object.keys(a).forEach((function(e){s[o.call(a[e].labels).sort().join("")]=e}));varl={};functionc(e,t){if(!(thisinstanceofc))returnnewc(e,t);if(t&&tini&&(t=null),t&&!(tina))thrownewError("Unknownmodel:"+t);varr,u;if(null==e)this.model="rgb",this.color=[0,0,0],this.valpha=1;elseif(einstanceofc)this.model=e.model,this.color=e.color.slice(),this.valpha=e.valpha;elseif("string"==typeofe){varh=n.get(e);if(null===h)thrownewError("Unabletoparsecolorfromstring:"+e);this.model=h.model,u=a[this.model].channels,this.color=h.value.slice(0,u),this.valpha="number"==typeofh.value[u]?h.value[u]:1}elseif(e.length){this.model=t||"rgb",u=a[this.model].channels;varf=o.call(e,0,u);this.color=g(f,u),this.valpha="number"==typeofe[u]?e[u]:1}elseif("number"==typeofe)e&=16777215,this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;vard=Object.keys(e);"alpha"ine&&(d.splice(d.indexOf("alpha"),1),this.valpha="number"==typeofe.alpha?e.alpha:0);varb=d.sort().join("");if(!(bins))thrownewError("Unabletoparsecolorfromobject:"+JSON.stringify(e));this.model=s[b];varp=a[this.model].labels,y=[];for(r=0;rr?(t+.05)/(r+.05):(r+.05)/(t+.05)},level:function(e){vart=this.contrast(e);returnt>=7.1?"AAA":t>=4.5?"AA":""},isDark:function(){vare=this.rgb().color;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},isLight:function(){return!this.isDark()},negate:function(){for(vare=this.rgb(),t=0;t<3;t++)e.color[t]=255-e.color[t];returne},lighten:function(e){vart=this.hsl();returnt.color[2]+=t.color[2]*e,t},darken:function(e){vart=this.hsl();returnt.color[2]-=t.color[2]*e,t},saturate:function(e){vart=this.hsl();returnt.color[1]+=t.color[1]*e,t},desaturate:function(e){vart=this.hsl();returnt.color[1]-=t.color[1]*e,t},whiten:function(e){vart=this.hwb();returnt.color[1]+=t.color[1]*e,t},blacken:function(e){vart=this.hwb();returnt.color[2]+=t.color[2]*e,t},grayscale:function(){vare=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];returnc.rgb(t,t,t)},fade:function(e){returnthis.alpha(this.valpha-this.valpha*e)},opaquer:function(e){returnthis.alpha(this.valpha+this.valpha*e)},rotate:function(e){vart=this.hsl(),r=t.color[0];returnr=(r=(r+e)%360)<0?360+r:r,t.color[0]=r,t},mix:function(e,t){if(!e||!e.rgb)thrownewError('Argumentto"mix"wasnotaColorinstance,butratheraninstanceof'+typeofe);varr=e.rgb(),n=this.rgb(),a=void0===t?.5:t,o=2*a-1,i=r.alpha()-n.alpha(),s=((o*i==-1?o:(o+i)/(1+o*i))+1)/2,l=1-s;returnc.rgb(s*r.red()+l*n.red(),s*r.green()+l*n.green(),s*r.blue()+l*n.blue(),r.alpha()*a+n.alpha()*(1-a))}},Object.keys(a).forEach((function(e){if(-1===i.indexOf(e)){vart=a[e].channels;c.prototype[e]=function(){if(this.model===e)returnnewc(this);if(arguments.length)returnnewc(arguments,e);varr="number"==typeofarguments[t]?t:this.valpha;returnnewc(f(a[this.model][e].raw(this.color)).concat(r),e)},c[e]=function(r){return"number"==typeofr&&(r=g(o.call(arguments),t)),newc(r,e)}}})),e.exports=c},function(e,t,r){"usestrict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(e,t,r){varn=r(7),a={};for(varoinn)n.hasOwnProperty(o)&&(a[n[o]]=o);vari=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(varsini)if(i.hasOwnProperty(s)){if(!("channels"ini[s]))thrownewError("missingchannelsproperty:"+s);if(!("labels"ini[s]))thrownewError("missingchannellabelsproperty:"+s);if(i[s].labels.length!==i[s].channels)thrownewError("channelandlabelcountsmismatch:"+s);varl=i[s].channels,c=i[s].labels;deletei[s].channels,deletei[s].labels,Object.defineProperty(i[s],"channels",{value:l}),Object.defineProperty(i[s],"labels",{value:c})}i.rgb.hsl=function(e){vart,r,n=e[0]/255,a=e[1]/255,o=e[2]/255,i=Math.min(n,a,o),s=Math.max(n,a,o),l=s-i;returns===i?t=0:n===s?t=(a-o)/l:a===s?t=2+(o-n)/l:o===s&&(t=4+(n-a)/l),(t=Math.min(60*t,360))<0&&(t+=360),r=(i+s)/2,[t,100*(s===i?0:r<=.5?l/(s+i):l/(2-s-i)),100*r]},i.rgb.hsv=function(e){vart,r,n,a,o,i=e[0]/255,s=e[1]/255,l=e[2]/255,c=Math.max(i,s,l),u=c-Math.min(i,s,l),h=function(e){return(c-e)/6/u+.5};return0===u?a=o=0:(o=u/c,t=h(i),r=h(s),n=h(l),i===c?a=n-r:s===c?a=1/3+t-n:l===c&&(a=2/3+r-t),a<0?a+=1:a>1&&(a-=1)),[360*a,100*o,100*c]},i.rgb.hwb=function(e){vart=e[0],r=e[1],n=e[2];return[i.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(r,n))),100*(n=1-1/255*Math.max(t,Math.max(r,n)))]},i.rgb.cmyk=function(e){vart,r=e[0]/255,n=e[1]/255,a=e[2]/255;return[100*((1-r-(t=Math.min(1-r,1-n,1-a)))/(1-t)||0),100*((1-n-t)/(1-t)||0),100*((1-a-t)/(1-t)||0),100*t]},i.rgb.keyword=function(e){vart=a[e];if(t)returnt;varr,o,i,s=1/0;for(varlinn)if(n.hasOwnProperty(l)){varc=n[l],u=(o=e,i=c,Math.pow(o[0]-i[0],2)+Math.pow(o[1]-i[1],2)+Math.pow(o[2]-i[2],2));u.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)+.1805*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)),100*(.2126*t+.7152*r+.0722*n),100*(.0193*t+.1192*r+.9505*n)]},i.rgb.lab=function(e){vart=i.rgb.xyz(e),r=t[0],n=t[1],a=t[2];returnn/=100,a/=108.883,r=(r/=95.047)>.008856?Math.pow(r,1/3):7.787*r+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(r-n),200*(n-(a=a>.008856?Math.pow(a,1/3):7.787*a+16/116))]},i.hsl.rgb=function(e){vart,r,n,a,o,i=e[0]/360,s=e[1]/100,l=e[2]/100;if(0===s)return[o=255*l,o,o];t=2*l-(r=l<.5?l*(1+s):l+s-l*s),a=[0,0,0];for(varc=0;c<3;c++)(n=i+1/3*-(c-1))<0&&n++,n>1&&n--,o=6*n<1?t+6*(r-t)*n:2*n<1?r:3*n<2?t+(r-t)*(2/3-n)*6:t,a[c]=255*o;returna},i.hsl.hsv=function(e){vart=e[0],r=e[1]/100,n=e[2]/100,a=r,o=Math.max(n,.01);returnr*=(n*=2)<=1?n:2-n,a*=o<=1?o:2-o,[t,100*(0===n?2*a/(o+a):2*r/(n+r)),100*((n+r)/2)]},i.hsv.rgb=function(e){vart=e[0]/60,r=e[1]/100,n=e[2]/100,a=Math.floor(t)%6,o=t-Math.floor(t),i=255*n*(1-r),s=255*n*(1-r*o),l=255*n*(1-r*(1-o));switch(n*=255,a){case0:return[n,l,i];case1:return[s,n,i];case2:return[i,n,l];case3:return[i,s,n];case4:return[l,i,n];case5:return[n,i,s]}},i.hsv.hsl=function(e){vart,r,n,a=e[0],o=e[1]/100,i=e[2]/100,s=Math.max(i,.01);returnn=(2-o)*i,r=o*s,[a,100*(r=(r/=(t=(2-o)*s)<=1?t:2-t)||0),100*(n/=2)]},i.hwb.rgb=function(e){vart,r,n,a,o,i,s,l=e[0]/360,c=e[1]/100,u=e[2]/100,h=c+u;switch(h>1&&(c/=h,u/=h),n=6*l-(t=Math.floor(6*l)),0!=(1&t)&&(n=1-n),a=c+n*((r=1-u)-c),t){default:case6:case0:o=r,i=a,s=c;break;case1:o=a,i=r,s=c;break;case2:o=c,i=r,s=a;break;case3:o=c,i=a,s=r;break;case4:o=a,i=c,s=r;break;case5:o=r,i=c,s=a}return[255*o,255*i,255*s]},i.cmyk.rgb=function(e){vart=e[0]/100,r=e[1]/100,n=e[2]/100,a=e[3]/100;return[255*(1-Math.min(1,t*(1-a)+a)),255*(1-Math.min(1,r*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a))]},i.xyz.rgb=function(e){vart,r,n,a=e[0]/100,o=e[1]/100,i=e[2]/100;returnr=-.9689*a+1.8758*o+.0415*i,n=.0557*a+-.204*o+1.057*i,t=(t=3.2406*a+-1.5372*o+-.4986*i)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,[255*(t=Math.min(Math.max(0,t),1)),255*(r=Math.min(Math.max(0,r),1)),255*(n=Math.min(Math.max(0,n),1))]},i.xyz.lab=function(e){vart=e[0],r=e[1],n=e[2];returnr/=100,n/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(t-r),200*(r-(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116))]},i.lab.xyz=function(e){vart,r,n,a=e[0];t=e[1]/500+(r=(a+16)/116),n=r-e[2]/200;varo=Math.pow(r,3),i=Math.pow(t,3),s=Math.pow(n,3);returnr=o>.008856?o:(r-16/116)/7.787,t=i>.008856?i:(t-16/116)/7.787,n=s>.008856?s:(n-16/116)/7.787,[t*=95.047,r*=100,n*=108.883]},i.lab.lch=function(e){vart,r=e[0],n=e[1],a=e[2];return(t=360*Math.atan2(a,n)/2/Math.PI)<0&&(t+=360),[r,Math.sqrt(n*n+a*a),t]},i.lch.lab=function(e){vart,r=e[0],n=e[1];returnt=e[2]/360*2*Math.PI,[r,n*Math.cos(t),n*Math.sin(t)]},i.rgb.ansi16=function(e){vart=e[0],r=e[1],n=e[2],a=1inarguments?arguments[1]:i.rgb.hsv(e)[2];if(0===(a=Math.round(a/50)))return30;varo=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));return2===a&&(o+=60),o},i.hsv.ansi16=function(e){returni.rgb.ansi16(i.hsv.rgb(e),e[2])},i.rgb.ansi256=function(e){vart=e[0],r=e[1],n=e[2];returnt===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},i.ansi16.rgb=function(e){vart=e%10;if(0===t||7===t)returne>50&&(t+=3.5),[t=t/10.5*255,t,t];varr=.5*(1+~~(e>50));return[(1&t)*r*255,(t>>1&1)*r*255,(t>>2&1)*r*255]},i.ansi256.rgb=function(e){if(e>=232){vart=10*(e-232)+8;return[t,t,t]}varr;returne-=16,[Math.floor(e/36)/5*255,Math.floor((r=e%36)/6)/5*255,r%6/5*255]},i.rgb.hex=function(e){vart=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},i.hex.rgb=function(e){vart=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];varr=t[0];3===t[0].length&&(r=r.split("").map((function(e){returne+e})).join(""));varn=parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},i.rgb.hcg=function(e){vart,r=e[0]/255,n=e[1]/255,a=e[2]/255,o=Math.max(Math.max(r,n),a),i=Math.min(Math.min(r,n),a),s=o-i;returnt=s<=0?0:o===r?(n-a)/s%6:o===n?2+(a-r)/s:4+(r-n)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?i/(1-s):0)]},i.hsl.hcg=function(e){vart=e[1]/100,r=e[2]/100,n=1,a=0;return(n=r<.5?2*t*r:2*t*(1-r))<1&&(a=(r-.5*n)/(1-n)),[e[0],100*n,100*a]},i.hsv.hcg=function(e){vart=e[1]/100,r=e[2]/100,n=t*r,a=0;returnn<1&&(a=(r-n)/(1-n)),[e[0],100*n,100*a]},i.hcg.rgb=function(e){vart=e[0]/360,r=e[1]/100,n=e[2]/100;if(0===r)return[255*n,255*n,255*n];vara,o=[0,0,0],i=t%1*6,s=i%1,l=1-s;switch(Math.floor(i)){case0:o[0]=1,o[1]=s,o[2]=0;break;case1:o[0]=l,o[1]=1,o[2]=0;break;case2:o[0]=0,o[1]=1,o[2]=s;break;case3:o[0]=0,o[1]=l,o[2]=1;break;case4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}returna=(1-r)*n,[255*(r*o[0]+a),255*(r*o[1]+a),255*(r*o[2]+a)]},i.hcg.hsv=function(e){vart=e[1]/100,r=t+e[2]/100*(1-t),n=0;returnr>0&&(n=t/r),[e[0],100*n,100*r]},i.hcg.hsl=function(e){vart=e[1]/100,r=e[2]/100*(1-t)+.5*t,n=0;returnr>0&&r<.5?n=t/(2*r):r>=.5&&r<1&&(n=t/(2*(1-r))),[e[0],100*n,100*r]},i.hcg.hwb=function(e){vart=e[1]/100,r=t+e[2]/100*(1-t);return[e[0],100*(r-t),100*(1-r)]},i.hwb.hcg=function(e){vart=e[1]/100,r=1-e[2]/100,n=r-t,a=0;returnn<1&&(a=(r-n)/(1-n)),[e[0],100*n,100*a]},i.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},i.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},i.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},i.gray.hsl=i.gray.hsv=function(e){return[0,0,e[0]]},i.gray.hwb=function(e){return[0,100,e[0]]},i.gray.cmyk=function(e){return[0,0,0,e[0]]},i.gray.lab=function(e){return[e[0],0,0]},i.gray.hex=function(e){vart=255&Math.round(e[0]/100*255),r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},i.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},function(e,t,r){varn=r(1),a=r(4),o={};for(variinn)n.hasOwnProperty(i)&&(o[n[i]]=i);vars=e.exports={to:{},get:{}};functionl(e,t,r){returnMath.min(Math.max(t,e),r)}functionc(e){vart=e.toString(16).toUpperCase();returnt.length<2?"0"+t:t}s.get=function(e){vart,r;switch(e.substring(0,3).toLowerCase()){case"hsl":t=s.get.hsl(e),r="hsl";break;case"hwb":t=s.get.hwb(e),r="hwb";break;default:t=s.get.rgb(e),r="rgb"}returnt?{model:r,value:t}:null},s.get.rgb=function(e){if(!e)returnnull;vart,r,a,o=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(a=t[2],t=t[1],r=0;r<3;r++){vari=2*r;o[r]=parseInt(t.slice(i,i+2),16)}a&&(o[3]=Math.round(parseInt(a,16)/255*100)/100)}elseif(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(a=(t=t[1])[3],r=0;r<3;r++)o[r]=parseInt(t[r]+t[r],16);a&&(o[3]=Math.round(parseInt(a+a,16)/255*100)/100)}elseif(t=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(r=0;r<3;r++)o[r]=parseInt(t[r+1],0);t[4]&&(o[3]=parseFloat(t[4]))}else{if(!(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)))return(t=e.match(/(\D+)/))?"transparent"===t[1]?[0,0,0,0]:(o=n[t[1]])?(o[3]=1,o):null:null;for(r=0;r<3;r++)o[r]=Math.round(2.55*parseFloat(t[r+1]));t[4]&&(o[3]=parseFloat(t[4]))}for(r=0;r<3;r++)o[r]=l(o[r],0,255);returno[3]=l(o[3],0,1),o},s.get.hsl=function(e){if(!e)returnnull;vart=e.match(/^hsla?\(\s*([+-]?(?:\d*\.)?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/);if(t){varr=parseFloat(t[4]);return[(parseFloat(t[1])+360)%360,l(parseFloat(t[2]),0,100),l(parseFloat(t[3]),0,100),l(isNaN(r)?1:r,0,1)]}returnnull},s.get.hwb=function(e){if(!e)returnnull;vart=e.match(/^hwb\(\s*([+-]?\d*[\.]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/);if(t){varr=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,l(parseFloat(t[2]),0,100),l(parseFloat(t[3]),0,100),l(isNaN(r)?1:r,0,1)]}returnnull},s.to.hex=function(){vare=a(arguments);return"#"+c(e[0])+c(e[1])+c(e[2])+(e[3]<1?c(Math.round(255*e[3])):"")},s.to.rgb=function(){vare=a(arguments);returne.length<4||1===e[3]?"rgb("+Math.round(e[0])+","+Math.round(e[1])+","+Math.round(e[2])+")":"rgba("+Math.round(e[0])+","+Math.round(e[1])+","+Math.round(e[2])+","+e[3]+")"},s.to.rgb.percent=function(){vare=a(arguments),t=Math.round(e[0]/255*100),r=Math.round(e[1]/255*100),n=Math.round(e[2]/255*100);returne.length<4||1===e[3]?"rgb("+t+"%,"+r+"%,"+n+"%)":"rgba("+t+"%,"+r+"%,"+n+"%,"+e[3]+")"},s.to.hsl=function(){vare=a(arguments);returne.length<4||1===e[3]?"hsl("+e[0]+","+e[1]+"%,"+e[2]+"%)":"hsla("+e[0]+","+e[1]+"%,"+e[2]+"%,"+e[3]+")"},s.to.hwb=function(){vare=a(arguments),t="";returne.length>=4&&1!==e[3]&&(t=","+e[3]),"hwb("+e[0]+","+e[1]+"%,"+e[2]+"%"+t+")"},s.to.keyword=function(e){returno[e.slice(0,3)]}},function(e,t,r){"usestrict";varn=r(5),a=Array.prototype.concat,o=Array.prototype.slice,i=e.exports=function(e){for(vart=[],r=0,i=e.length;r=0&&(e.spliceinstanceofFunction||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))}},function(e,t,r){varn=r(2),a=r(8),o={};Object.keys(n).forEach((function(e){o[e]={},Object.defineProperty(o[e],"channels",{value:n[e].channels}),Object.defineProperty(o[e],"labels",{value:n[e].labels});vart=a(e);Object.keys(t).forEach((function(r){varn=t[r];o[e][r]=function(e){vart=function(t){if(null==t)returnt;arguments.length>1&&(t=Array.prototype.slice.call(arguments));varr=e(t);if("object"==typeofr)for(varn=r.length,a=0;a1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"ine&&(t.conversion=e.conversion),t}(n)}))})),e.exports=o},function(e,t,r){"usestrict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(e,t,r){varn=r(2);functiona(e){vart=function(){for(vare={},t=Object.keys(n),r=t.length,a=0;a=a.bottom||r.bottom<=a.top||r.left>=a.right||r.right<=a.left||n.unshift(t)}}));n.length;){vara=this._stack.splice(n.shift(),1)[0];"function"==typeoft&&t(a)}}},{key:"update",value:function(e){this._stack.forEach((function(t){t.updated||Array.prototype.some.call(e,(function(e){return!(1!==e.nodeType||!e.classList.contains(t.className)||(t.el=e,t.updated=!0,0))}))}))}}])&&m(t.prototype,r),n&&m(t,n),e}();functionw(e,t){for(varr=0;r'.concat("dark"===this._config.mode?r:"@media".concat(n,"{").concat(r,"}"),"")),this[t]="")}}])&&w(t.prototype,r),o&&w(t,o),e}();functionM(e,t){for(varr=0;re.length)&&(t=e.length);for(varr=0,n=newArray(t);r0&&void0!==arguments[0]?arguments[0]:[];this._nodes=e}},{key:"len",value:function(){returnthis._nodes.length}},{key:"get",value:function(){vare=[];returnthis._nodes.length?(e=this._nodes,this._nodes=[]):this._delayNodes.length?(e=this._delayNodes,this._delayNodes=[]):this._config.container&&(e=this._config.container.querySelectorAll("*")),e}},{key:"delay",value:function(){vare=this;Array.prototype.forEach.call(this._nodes,(function(t){returne._delayNodes.push(t)})),this._nodes=[]}},{key:"hasDelay",value:function(){returnthis._delayNodes.length>0}},{key:"addFirstPageNode",value:function(e){this._firstPageNodes.push(e)}},{key:"showFirstPageNodes",value:function(){this._firstPageNodes.forEach((function(e){returne..visibility="visible"})),this._firstPageNodes=[]}}])&&M(t.prototype,r),n&&M(t,n),e}(),P=r(0),E=r.n(P),T=r(1),N=r.n(T);functionL(e,t){returnfunction(e){if(Array.isArray(e))returne}(e)||function(e,t){if("undefined"==typeofSymbol||!(Symbol.iteratorinObject(e)))return;varr=[],n=!0,a=!1,o=void0;try{for(vari,s=e[Symbol.iterator]();!(n=(i=s.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){a=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(a)throwo}}returnr}(e,t)||D(e,t)||function(){thrownewTypeError("Invalidattempttodestructurenon-iterableinstance.\nInordertobeiterable,non-arrayobjectsmusthavea[Symbol.iterator]()method.")}()}functionF(e){returnfunction(e){if(Array.isArray(e))returnq(e)}(e)||function(e){if("undefined"!=typeofSymbol&&Symbol.iteratorinObject(e))returnArray.from(e)}(e)||D(e)||function(){thrownewTypeError("Invalidattempttospreadnon-iterableinstance.\nInordertobeiterable,non-arrayobjectsmusthavea[Symbol.iterator]()method.")}()}functionD(e,t){if(e){if("string"==typeofe)returnq(e,t);varr=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?q(e,t):void0}}functionq(e,t){(null==t||t>e.length)&&(t=e.length);for(varr=0,n=newArray(t);r3?"rgba":"rgb","(").concat(r.toString(),")")}))},H=function(e){if(!e||e.length<1)return"";if(1===e.length)returne[0];for(vart=e.shift(),r=e.shift();r;){varn=E()(r);t=E()(t).mix(n,n.alpha()),r=e.shift()}returnt},R=function(e){vart=J(e);returnz.test(t)?t:""},$=function(e){return(299*e[0]+587*e[1]+114*e[2])/1e3},Q=function(){functione(t){varr,n,a,o=t.config,i=t.tnQueue,s=t.bgStack,l=t.cssUtils;!function(e,t){if(!(einstanceoft))thrownewTypeError("Cannotcallaclassasafunction")}(this,e),a=0,(n="_idx")in(r=this)?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a,this._config=o,this._tnQueue=i,this._bgStack=s,this._cssUtils=l,this._defaultDarkTextColorRgb=E()(this._config.defaultDarkTextColor).rgb().array(),this._defaultDarkBgColorRgb=E()(this._config.defaultDarkBgColor).rgb().array(),this._defaultDarkBgColorHSL=E()(this._config.defaultDarkBgColor).hsl().array(),this._defaultDarkTextColorBrightness=$(this._defaultDarkTextColorRgb),this._defaultDarkBgColorBrightness=$(this._defaultDarkBgColorRgb),this._defaultDarkBgColorHslBrightness=this._defaultDarkBgColorHSL[2],this._maxLimitOffsetBrightness=this._defaultDarkTextColorBrightness-this._defaultDarkBgColorBrightness}vart,r,n;returnt=e,(r=[{key:"_adjustBrightnessByLimit",value:function(e,t){varr=e/$(t),n=Math.min(255,t[0]*r),a=Math.min(255,t[1]*r),o=Math.min(255,t[2]*r);return0===a||255===n||255===o?a=(1e3*e-299*n-114*o)/587:0===n?n=(1e3*e-587*a-114*o)/299:0!==o&&255!==a||(o=(1e3*e-299*n-587*a)/114),E.a.rgb(n,a,o)}},{key:"_adjustTextBrightness",value:function(e,t){varr=t.rgb().array(),n=t.alpha(),a=$(r)*n+this._defaultDarkBgColorBrightness*(1-n),o=e.rgb().array(),i=e.hsl().array(),s=e.alpha(),l=$(o),c=Math.abs(a-l);if(l>=250)returne;if(c>this._maxLimitOffsetBrightness&&a<=this._defaultDarkBgColorBrightness+2)returnthis._adjustBrightnessByLimit(this._maxLimitOffsetBrightness+a,o).alpha(s);if(c>=65)returne;if(a>=100){if(i[2]>50){i[2]=90-i[2];varu=E.a.hsl.apply(E.a,F(i)).alpha(s);returnthis._ad
赞一下
(0)
0%
赞一下
(1)
100%

推荐内容