diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 000000000..8cde93e97 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,3 @@ +module.exports = { + extends: ['airbnb-typescript-prettier'], +}; diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..17a7263b0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +node_modules +settings.json +yarn-error.log +main.css \ No newline at end of file diff --git a/.prettierrc.yml b/.prettierrc.yml new file mode 100644 index 000000000..8ffab9d77 --- /dev/null +++ b/.prettierrc.yml @@ -0,0 +1,5 @@ +trailingComma: es5 +singleQuote: true +printWidth: 120 +tabWidth: 4 +bracketSpacing: false diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 000000000..2ba986f6f --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,15 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "chrome", + "request": "launch", + "name": "Launch Chrome against localhost", + "url": "http://localhost:8080", + "webRoot": "${workspaceFolder}" + } + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 000000000..470288e2f --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ +# Figma Tokens + +## Quickstart +* Run `yarn` to install dependencies. +* Run `yarn build:watch` to start webpack in watch mode. +* Open `Figma` -> `Plugins` -> `Development` -> `New Plugin...` and choose `manifest.json` file from this repo. + +## Toolings +This repo is using: +* React + Webpack +* TypeScript +* TSLint +* Prettier precommit hook diff --git a/dist/code.js b/dist/code.js new file mode 100644 index 000000000..b4efc47c8 --- /dev/null +++ b/dist/code.js @@ -0,0 +1,9 @@ +!function(t){var n={};function r(e){if(n[e])return n[e].exports;var u=n[e]={i:e,l:!1,exports:{}};return t[e].call(u.exports,u,u.exports,r),u.l=!0,u.exports}r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var u in t)r.d(e,u,function(n){return t[n]}.bind(null,u));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=35)}({13:function(t,n,r){(function(t,e){var u; +/** + * @license + * Lodash + * Copyright OpenJS Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */(function(){var i,o=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",f="Expected a function",c="__lodash_hash_undefined__",l=500,s="__lodash_placeholder__",h=1,p=2,v=4,g=1,_=2,d=1,y=2,m=4,b=8,w=16,x=32,j=64,A=128,O=256,k=512,R=30,S="...",I=800,E=16,P=1,z=2,L=1/0,N=9007199254740991,T=17976931348623157e292,B=NaN,C=4294967295,M=C-1,D=C>>>1,$=[["ary",A],["bind",d],["bindKey",y],["curry",b],["curryRight",w],["flip",k],["partial",x],["partialRight",j],["rearg",O]],W="[object Arguments]",U="[object Array]",F="[object AsyncFunction]",q="[object Boolean]",Z="[object Date]",J="[object DOMException]",V="[object Error]",K="[object Function]",G="[object GeneratorFunction]",H="[object Map]",Y="[object Number]",Q="[object Null]",X="[object Object]",tt="[object Proxy]",nt="[object RegExp]",rt="[object Set]",et="[object String]",ut="[object Symbol]",it="[object Undefined]",ot="[object WeakMap]",at="[object WeakSet]",ft="[object ArrayBuffer]",ct="[object DataView]",lt="[object Float32Array]",st="[object Float64Array]",ht="[object Int8Array]",pt="[object Int16Array]",vt="[object Int32Array]",gt="[object Uint8Array]",_t="[object Uint8ClampedArray]",dt="[object Uint16Array]",yt="[object Uint32Array]",mt=/\b__p \+= '';/g,bt=/\b(__p \+=) '' \+/g,wt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,xt=/&(?:amp|lt|gt|quot|#39);/g,jt=/[&<>"']/g,At=RegExp(xt.source),Ot=RegExp(jt.source),kt=/<%-([\s\S]+?)%>/g,Rt=/<%([\s\S]+?)%>/g,St=/<%=([\s\S]+?)%>/g,It=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Et=/^\w*$/,Pt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,zt=/[\\^$.*+?()[\]{}|]/g,Lt=RegExp(zt.source),Nt=/^\s+|\s+$/g,Tt=/^\s+/,Bt=/\s+$/,Ct=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Mt=/\{\n\/\* \[wrapped with (.+)\] \*/,Dt=/,? & /,$t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Wt=/\\(\\)?/g,Ut=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ft=/\w*$/,qt=/^[-+]0x[0-9a-f]+$/i,Zt=/^0b[01]+$/i,Jt=/^\[object .+?Constructor\]$/,Vt=/^0o[0-7]+$/i,Kt=/^(?:0|[1-9]\d*)$/,Gt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ht=/($^)/,Yt=/['\n\r\u2028\u2029\\]/g,Qt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Xt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",tn="[\\ud800-\\udfff]",nn="["+Xt+"]",rn="["+Qt+"]",en="\\d+",un="[\\u2700-\\u27bf]",on="[a-z\\xdf-\\xf6\\xf8-\\xff]",an="[^\\ud800-\\udfff"+Xt+en+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",fn="\\ud83c[\\udffb-\\udfff]",cn="[^\\ud800-\\udfff]",ln="(?:\\ud83c[\\udde6-\\uddff]){2}",sn="[\\ud800-\\udbff][\\udc00-\\udfff]",hn="[A-Z\\xc0-\\xd6\\xd8-\\xde]",pn="(?:"+on+"|"+an+")",vn="(?:"+hn+"|"+an+")",gn="(?:"+rn+"|"+fn+")"+"?",_n="[\\ufe0e\\ufe0f]?"+gn+("(?:\\u200d(?:"+[cn,ln,sn].join("|")+")[\\ufe0e\\ufe0f]?"+gn+")*"),dn="(?:"+[un,ln,sn].join("|")+")"+_n,yn="(?:"+[cn+rn+"?",rn,ln,sn,tn].join("|")+")",mn=RegExp("['’]","g"),bn=RegExp(rn,"g"),wn=RegExp(fn+"(?="+fn+")|"+yn+_n,"g"),xn=RegExp([hn+"?"+on+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[nn,hn,"$"].join("|")+")",vn+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[nn,hn+pn,"$"].join("|")+")",hn+"?"+pn+"+(?:['’](?:d|ll|m|re|s|t|ve))?",hn+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",en,dn].join("|"),"g"),jn=RegExp("[\\u200d\\ud800-\\udfff"+Qt+"\\ufe0e\\ufe0f]"),An=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,On=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],kn=-1,Rn={};Rn[lt]=Rn[st]=Rn[ht]=Rn[pt]=Rn[vt]=Rn[gt]=Rn[_t]=Rn[dt]=Rn[yt]=!0,Rn[W]=Rn[U]=Rn[ft]=Rn[q]=Rn[ct]=Rn[Z]=Rn[V]=Rn[K]=Rn[H]=Rn[Y]=Rn[X]=Rn[nt]=Rn[rt]=Rn[et]=Rn[ot]=!1;var Sn={};Sn[W]=Sn[U]=Sn[ft]=Sn[ct]=Sn[q]=Sn[Z]=Sn[lt]=Sn[st]=Sn[ht]=Sn[pt]=Sn[vt]=Sn[H]=Sn[Y]=Sn[X]=Sn[nt]=Sn[rt]=Sn[et]=Sn[ut]=Sn[gt]=Sn[_t]=Sn[dt]=Sn[yt]=!0,Sn[V]=Sn[K]=Sn[ot]=!1;var In={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},En=parseFloat,Pn=parseInt,zn="object"==typeof t&&t&&t.Object===Object&&t,Ln="object"==typeof self&&self&&self.Object===Object&&self,Nn=zn||Ln||Function("return this")(),Tn=n&&!n.nodeType&&n,Bn=Tn&&"object"==typeof e&&e&&!e.nodeType&&e,Cn=Bn&&Bn.exports===Tn,Mn=Cn&&zn.process,Dn=function(){try{var t=Bn&&Bn.require&&Bn.require("util").types;return t||Mn&&Mn.binding&&Mn.binding("util")}catch(t){}}(),$n=Dn&&Dn.isArrayBuffer,Wn=Dn&&Dn.isDate,Un=Dn&&Dn.isMap,Fn=Dn&&Dn.isRegExp,qn=Dn&&Dn.isSet,Zn=Dn&&Dn.isTypedArray;function Jn(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}function Vn(t,n,r,e){for(var u=-1,i=null==t?0:t.length;++u-1}function Xn(t,n,r){for(var e=-1,u=null==t?0:t.length;++e-1;);return r}function wr(t,n){for(var r=t.length;r--&&fr(n,t[r],0)>-1;);return r}var xr=pr({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),jr=pr({"&":"&","<":"<",">":">",'"':""","'":"'"});function Ar(t){return"\\"+In[t]}function Or(t){return jn.test(t)}function kr(t){var n=-1,r=Array(t.size);return t.forEach((function(t,e){r[++n]=[e,t]})),r}function Rr(t,n){return function(r){return t(n(r))}}function Sr(t,n){for(var r=-1,e=t.length,u=0,i=[];++r",""":'"',"'":"'"});var Nr=function t(n){var r,e=(n=null==n?Nn:Nr.defaults(Nn.Object(),n,Nr.pick(Nn,On))).Array,u=n.Date,Qt=n.Error,Xt=n.Function,tn=n.Math,nn=n.Object,rn=n.RegExp,en=n.String,un=n.TypeError,on=e.prototype,an=Xt.prototype,fn=nn.prototype,cn=n["__core-js_shared__"],ln=an.toString,sn=fn.hasOwnProperty,hn=0,pn=(r=/[^.]+$/.exec(cn&&cn.keys&&cn.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",vn=fn.toString,gn=ln.call(nn),_n=Nn._,dn=rn("^"+ln.call(sn).replace(zt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),yn=Cn?n.Buffer:i,wn=n.Symbol,jn=n.Uint8Array,In=yn?yn.allocUnsafe:i,zn=Rr(nn.getPrototypeOf,nn),Ln=nn.create,Tn=fn.propertyIsEnumerable,Bn=on.splice,Mn=wn?wn.isConcatSpreadable:i,Dn=wn?wn.iterator:i,ir=wn?wn.toStringTag:i,pr=function(){try{var t=Mi(nn,"defineProperty");return t({},"",{}),t}catch(t){}}(),Tr=n.clearTimeout!==Nn.clearTimeout&&n.clearTimeout,Br=u&&u.now!==Nn.Date.now&&u.now,Cr=n.setTimeout!==Nn.setTimeout&&n.setTimeout,Mr=tn.ceil,Dr=tn.floor,$r=nn.getOwnPropertySymbols,Wr=yn?yn.isBuffer:i,Ur=n.isFinite,Fr=on.join,qr=Rr(nn.keys,nn),Zr=tn.max,Jr=tn.min,Vr=u.now,Kr=n.parseInt,Gr=tn.random,Hr=on.reverse,Yr=Mi(n,"DataView"),Qr=Mi(n,"Map"),Xr=Mi(n,"Promise"),te=Mi(n,"Set"),ne=Mi(n,"WeakMap"),re=Mi(nn,"create"),ee=ne&&new ne,ue={},ie=lo(Yr),oe=lo(Qr),ae=lo(Xr),fe=lo(te),ce=lo(ne),le=wn?wn.prototype:i,se=le?le.valueOf:i,he=le?le.toString:i;function pe(t){if(Sa(t)&&!da(t)&&!(t instanceof de)){if(t instanceof _e)return t;if(sn.call(t,"__wrapped__"))return so(t)}return new _e(t)}var ve=function(){function t(){}return function(n){if(!Ra(n))return{};if(Ln)return Ln(n);t.prototype=n;var r=new t;return t.prototype=i,r}}();function ge(){}function _e(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=i}function de(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=C,this.__views__=[]}function ye(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n=n?t:n)),t}function Te(t,n,r,e,u,o){var a,f=n&h,c=n&p,l=n&v;if(r&&(a=u?r(t,e,u,o):r(t)),a!==i)return a;if(!Ra(t))return t;var s=da(t);if(s){if(a=function(t){var n=t.length,r=new t.constructor(n);n&&"string"==typeof t[0]&&sn.call(t,"index")&&(r.index=t.index,r.input=t.input);return r}(t),!f)return ri(t,a)}else{var g=Wi(t),_=g==K||g==G;if(wa(t))return Hu(t,f);if(g==X||g==W||_&&!u){if(a=c||_?{}:Fi(t),!f)return c?function(t,n){return ei(t,$i(t),n)}(t,function(t,n){return t&&ei(n,of(n),t)}(a,t)):function(t,n){return ei(t,Di(t),n)}(t,Pe(a,t))}else{if(!Sn[g])return u?t:{};a=function(t,n,r){var e=t.constructor;switch(n){case ft:return Yu(t);case q:case Z:return new e(+t);case ct:return function(t,n){var r=n?Yu(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,r);case lt:case st:case ht:case pt:case vt:case gt:case _t:case dt:case yt:return Qu(t,r);case H:return new e;case Y:case et:return new e(t);case nt:return function(t){var n=new t.constructor(t.source,Ft.exec(t));return n.lastIndex=t.lastIndex,n}(t);case rt:return new e;case ut:return u=t,se?nn(se.call(u)):{}}var u}(t,g,f)}}o||(o=new xe);var d=o.get(t);if(d)return d;o.set(t,a),La(t)?t.forEach((function(e){a.add(Te(e,n,r,e,t,o))})):Ia(t)&&t.forEach((function(e,u){a.set(u,Te(e,n,r,u,t,o))}));var y=s?i:(l?c?Pi:Ei:c?of:uf)(t);return Kn(y||t,(function(e,u){y&&(e=t[u=e]),Se(a,u,Te(e,n,r,u,t,o))})),a}function Be(t,n,r){var e=r.length;if(null==t)return!e;for(t=nn(t);e--;){var u=r[e],o=n[u],a=t[u];if(a===i&&!(u in t)||!o(a))return!1}return!0}function Ce(t,n,r){if("function"!=typeof t)throw new un(f);return eo((function(){t.apply(i,r)}),n)}function Me(t,n,r,e){var u=-1,i=Qn,a=!0,f=t.length,c=[],l=n.length;if(!f)return c;r&&(n=tr(n,dr(r))),e?(i=Xn,a=!1):n.length>=o&&(i=mr,a=!1,n=new we(n));t:for(;++u-1},me.prototype.set=function(t,n){var r=this.__data__,e=Ie(r,t);return e<0?(++this.size,r.push([t,n])):r[e][1]=n,this},be.prototype.clear=function(){this.size=0,this.__data__={hash:new ye,map:new(Qr||me),string:new ye}},be.prototype.delete=function(t){var n=Bi(this,t).delete(t);return this.size-=n?1:0,n},be.prototype.get=function(t){return Bi(this,t).get(t)},be.prototype.has=function(t){return Bi(this,t).has(t)},be.prototype.set=function(t,n){var r=Bi(this,t),e=r.size;return r.set(t,n),this.size+=r.size==e?0:1,this},we.prototype.add=we.prototype.push=function(t){return this.__data__.set(t,c),this},we.prototype.has=function(t){return this.__data__.has(t)},xe.prototype.clear=function(){this.__data__=new me,this.size=0},xe.prototype.delete=function(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r},xe.prototype.get=function(t){return this.__data__.get(t)},xe.prototype.has=function(t){return this.__data__.has(t)},xe.prototype.set=function(t,n){var r=this.__data__;if(r instanceof me){var e=r.__data__;if(!Qr||e.length0&&r(a)?n>1?qe(a,n-1,r,e,u):nr(u,a):e||(u[u.length]=a)}return u}var Ze=ai(),Je=ai(!0);function Ve(t,n){return t&&Ze(t,n,uf)}function Ke(t,n){return t&&Je(t,n,uf)}function Ge(t,n){return Yn(n,(function(n){return Aa(t[n])}))}function He(t,n){for(var r=0,e=(n=Ju(n,t)).length;null!=t&&rn}function tu(t,n){return null!=t&&sn.call(t,n)}function nu(t,n){return null!=t&&n in nn(t)}function ru(t,n,r){for(var u=r?Xn:Qn,o=t[0].length,a=t.length,f=a,c=e(a),l=1/0,s=[];f--;){var h=t[f];f&&n&&(h=tr(h,dr(n))),l=Jr(h.length,l),c[f]=!r&&(n||o>=120&&h.length>=120)?new we(f&&h):i}h=t[0];var p=-1,v=c[0];t:for(;++p=a)return f;var c=r[e];return f*("desc"==c?-1:1)}}return t.index-n.index}(t,n,r)}))}function yu(t,n,r){for(var e=-1,u=n.length,i={};++e-1;)a!==t&&Bn.call(a,f,1),Bn.call(t,f,1);return t}function bu(t,n){for(var r=t?n.length:0,e=r-1;r--;){var u=n[r];if(r==e||u!==i){var i=u;Zi(u)?Bn.call(t,u,1):Mu(t,u)}}return t}function wu(t,n){return t+Dr(Gr()*(n-t+1))}function xu(t,n){var r="";if(!t||n<1||n>N)return r;do{n%2&&(r+=t),(n=Dr(n/2))&&(t+=t)}while(n);return r}function ju(t,n){return uo(Xi(t,n,Pf),t+"")}function Au(t){return Ae(vf(t))}function Ou(t,n){var r=vf(t);return ao(r,Ne(n,0,r.length))}function ku(t,n,r,e){if(!Ra(t))return t;for(var u=-1,o=(n=Ju(n,t)).length,a=o-1,f=t;null!=f&&++ui?0:i+n),(r=r>i?i:r)<0&&(r+=i),i=n>r?0:r-n>>>0,n>>>=0;for(var o=e(i);++u>>1,o=t[i];null!==o&&!Ta(o)&&(r?o<=n:o=o){var l=n?null:xi(t);if(l)return Ir(l);a=!1,u=mr,c=new we}else c=n?[]:f;t:for(;++e=e?t:Eu(t,n,r)}var Gu=Tr||function(t){return Nn.clearTimeout(t)};function Hu(t,n){if(n)return t.slice();var r=t.length,e=In?In(r):new t.constructor(r);return t.copy(e),e}function Yu(t){var n=new t.constructor(t.byteLength);return new jn(n).set(new jn(t)),n}function Qu(t,n){var r=n?Yu(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}function Xu(t,n){if(t!==n){var r=t!==i,e=null===t,u=t==t,o=Ta(t),a=n!==i,f=null===n,c=n==n,l=Ta(n);if(!f&&!l&&!o&&t>n||o&&a&&c&&!f&&!l||e&&a&&c||!r&&c||!u)return 1;if(!e&&!o&&!l&&t1?r[u-1]:i,a=u>2?r[2]:i;for(o=t.length>3&&"function"==typeof o?(u--,o):i,a&&Ji(r[0],r[1],a)&&(o=u<3?i:o,u=1),n=nn(n);++e-1?u[o?n[a]:a]:i}}function hi(t){return Ii((function(n){var r=n.length,e=r,u=_e.prototype.thru;for(t&&n.reverse();e--;){var o=n[e];if("function"!=typeof o)throw new un(f);if(u&&!a&&"wrapper"==Li(o))var a=new _e([],!0)}for(e=a?e:r;++e1&&b.reverse(),h&&lf))return!1;var l=o.get(t);if(l&&o.get(n))return l==n;var s=-1,h=!0,p=r&_?new we:i;for(o.set(t,n),o.set(n,t);++s-1&&t%1==0&&t1?"& ":"")+n[e],n=n.join(r>2?", ":" "),t.replace(Ct,"{\n/* [wrapped with "+n+"] */\n")}(e,function(t,n){return Kn($,(function(r){var e="_."+r[0];n&r[1]&&!Qn(t,e)&&t.push(e)})),t.sort()}(function(t){var n=t.match(Mt);return n?n[1].split(Dt):[]}(e),r)))}function oo(t){var n=0,r=0;return function(){var e=Vr(),u=E-(e-r);if(r=e,u>0){if(++n>=I)return arguments[0]}else n=0;return t.apply(i,arguments)}}function ao(t,n){var r=-1,e=t.length,u=e-1;for(n=n===i?e:n;++r1?t[n-1]:i;return r="function"==typeof r?(t.pop(),r):i,zo(t,r)}));function Do(t){var n=pe(t);return n.__chain__=!0,n}function $o(t,n){return n(t)}var Wo=Ii((function(t){var n=t.length,r=n?t[0]:0,e=this.__wrapped__,u=function(n){return Le(n,t)};return!(n>1||this.__actions__.length)&&e instanceof de&&Zi(r)?((e=e.slice(r,+r+(n?1:0))).__actions__.push({func:$o,args:[u],thisArg:i}),new _e(e,this.__chain__).thru((function(t){return n&&!t.length&&t.push(i),t}))):this.thru(u)}));var Uo=ui((function(t,n,r){sn.call(t,r)?++t[r]:ze(t,r,1)}));var Fo=si(go),qo=si(_o);function Zo(t,n){return(da(t)?Kn:De)(t,Ti(n,3))}function Jo(t,n){return(da(t)?Gn:$e)(t,Ti(n,3))}var Vo=ui((function(t,n,r){sn.call(t,r)?t[r].push(n):ze(t,r,[n])}));var Ko=ju((function(t,n,r){var u=-1,i="function"==typeof n,o=ma(t)?e(t.length):[];return De(t,(function(t){o[++u]=i?Jn(n,t,r):eu(t,n,r)})),o})),Go=ui((function(t,n,r){ze(t,r,n)}));function Ho(t,n){return(da(t)?tr:hu)(t,Ti(n,3))}var Yo=ui((function(t,n,r){t[r?0:1].push(n)}),(function(){return[[],[]]}));var Qo=ju((function(t,n){if(null==t)return[];var r=n.length;return r>1&&Ji(t,n[0],n[1])?n=[]:r>2&&Ji(n[0],n[1],n[2])&&(n=[n[0]]),du(t,qe(n,1),[])})),Xo=Br||function(){return Nn.Date.now()};function ta(t,n,r){return n=r?i:n,n=t&&null==n?t.length:n,Ai(t,A,i,i,i,i,n)}function na(t,n){var r;if("function"!=typeof n)throw new un(f);return t=Wa(t),function(){return--t>0&&(r=n.apply(this,arguments)),t<=1&&(n=i),r}}var ra=ju((function(t,n,r){var e=d;if(r.length){var u=Sr(r,Ni(ra));e|=x}return Ai(t,e,n,r,u)})),ea=ju((function(t,n,r){var e=d|y;if(r.length){var u=Sr(r,Ni(ea));e|=x}return Ai(n,e,t,r,u)}));function ua(t,n,r){var e,u,o,a,c,l,s=0,h=!1,p=!1,v=!0;if("function"!=typeof t)throw new un(f);function g(n){var r=e,o=u;return e=u=i,s=n,a=t.apply(o,r)}function _(t){var r=t-l;return l===i||r>=n||r<0||p&&t-s>=o}function d(){var t=Xo();if(_(t))return y(t);c=eo(d,function(t){var r=n-(t-l);return p?Jr(r,o-(t-s)):r}(t))}function y(t){return c=i,v&&e?g(t):(e=u=i,a)}function m(){var t=Xo(),r=_(t);if(e=arguments,u=this,l=t,r){if(c===i)return function(t){return s=t,c=eo(d,n),h?g(t):a}(l);if(p)return Gu(c),c=eo(d,n),g(l)}return c===i&&(c=eo(d,n)),a}return n=Fa(n)||0,Ra(r)&&(h=!!r.leading,o=(p="maxWait"in r)?Zr(Fa(r.maxWait)||0,n):o,v="trailing"in r?!!r.trailing:v),m.cancel=function(){c!==i&&Gu(c),s=0,e=l=u=c=i},m.flush=function(){return c===i?a:y(Xo())},m}var ia=ju((function(t,n){return Ce(t,1,n)})),oa=ju((function(t,n,r){return Ce(t,Fa(n)||0,r)}));function aa(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new un(f);var r=function(){var e=arguments,u=n?n.apply(this,e):e[0],i=r.cache;if(i.has(u))return i.get(u);var o=t.apply(this,e);return r.cache=i.set(u,o)||i,o};return r.cache=new(aa.Cache||be),r}function fa(t){if("function"!=typeof t)throw new un(f);return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}aa.Cache=be;var ca=Vu((function(t,n){var r=(n=1==n.length&&da(n[0])?tr(n[0],dr(Ti())):tr(qe(n,1),dr(Ti()))).length;return ju((function(e){for(var u=-1,i=Jr(e.length,r);++u=n})),_a=uu(function(){return arguments}())?uu:function(t){return Sa(t)&&sn.call(t,"callee")&&!Tn.call(t,"callee")},da=e.isArray,ya=$n?dr($n):function(t){return Sa(t)&&Qe(t)==ft};function ma(t){return null!=t&&ka(t.length)&&!Aa(t)}function ba(t){return Sa(t)&&ma(t)}var wa=Wr||qf,xa=Wn?dr(Wn):function(t){return Sa(t)&&Qe(t)==Z};function ja(t){if(!Sa(t))return!1;var n=Qe(t);return n==V||n==J||"string"==typeof t.message&&"string"==typeof t.name&&!Pa(t)}function Aa(t){if(!Ra(t))return!1;var n=Qe(t);return n==K||n==G||n==F||n==tt}function Oa(t){return"number"==typeof t&&t==Wa(t)}function ka(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=N}function Ra(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}function Sa(t){return null!=t&&"object"==typeof t}var Ia=Un?dr(Un):function(t){return Sa(t)&&Wi(t)==H};function Ea(t){return"number"==typeof t||Sa(t)&&Qe(t)==Y}function Pa(t){if(!Sa(t)||Qe(t)!=X)return!1;var n=zn(t);if(null===n)return!0;var r=sn.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&ln.call(r)==gn}var za=Fn?dr(Fn):function(t){return Sa(t)&&Qe(t)==nt};var La=qn?dr(qn):function(t){return Sa(t)&&Wi(t)==rt};function Na(t){return"string"==typeof t||!da(t)&&Sa(t)&&Qe(t)==et}function Ta(t){return"symbol"==typeof t||Sa(t)&&Qe(t)==ut}var Ba=Zn?dr(Zn):function(t){return Sa(t)&&ka(t.length)&&!!Rn[Qe(t)]};var Ca=mi(su),Ma=mi((function(t,n){return t<=n}));function Da(t){if(!t)return[];if(ma(t))return Na(t)?zr(t):ri(t);if(Dn&&t[Dn])return function(t){for(var n,r=[];!(n=t.next()).done;)r.push(n.value);return r}(t[Dn]());var n=Wi(t);return(n==H?kr:n==rt?Ir:vf)(t)}function $a(t){return t?(t=Fa(t))===L||t===-L?(t<0?-1:1)*T:t==t?t:0:0===t?t:0}function Wa(t){var n=$a(t),r=n%1;return n==n?r?n-r:n:0}function Ua(t){return t?Ne(Wa(t),0,C):0}function Fa(t){if("number"==typeof t)return t;if(Ta(t))return B;if(Ra(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=Ra(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Nt,"");var r=Zt.test(t);return r||Vt.test(t)?Pn(t.slice(2),r?2:8):qt.test(t)?B:+t}function qa(t){return ei(t,of(t))}function Za(t){return null==t?"":Bu(t)}var Ja=ii((function(t,n){if(Hi(n)||ma(n))ei(n,uf(n),t);else for(var r in n)sn.call(n,r)&&Se(t,r,n[r])})),Va=ii((function(t,n){ei(n,of(n),t)})),Ka=ii((function(t,n,r,e){ei(n,of(n),t,e)})),Ga=ii((function(t,n,r,e){ei(n,uf(n),t,e)})),Ha=Ii(Le);var Ya=ju((function(t,n){t=nn(t);var r=-1,e=n.length,u=e>2?n[2]:i;for(u&&Ji(n[0],n[1],u)&&(e=1);++r1),n})),ei(t,Pi(t),r),e&&(r=Te(r,h|p|v,Ri));for(var u=n.length;u--;)Mu(r,n[u]);return r}));var lf=Ii((function(t,n){return null==t?{}:function(t,n){return yu(t,n,(function(n,r){return tf(t,r)}))}(t,n)}));function sf(t,n){if(null==t)return{};var r=tr(Pi(t),(function(t){return[t]}));return n=Ti(n),yu(t,r,(function(t,r){return n(t,r[0])}))}var hf=ji(uf),pf=ji(of);function vf(t){return null==t?[]:yr(t,uf(t))}var gf=ci((function(t,n,r){return n=n.toLowerCase(),t+(r?_f(n):n)}));function _f(t){return Af(Za(t).toLowerCase())}function df(t){return(t=Za(t))&&t.replace(Gt,xr).replace(bn,"")}var yf=ci((function(t,n,r){return t+(r?"-":"")+n.toLowerCase()})),mf=ci((function(t,n,r){return t+(r?" ":"")+n.toLowerCase()})),bf=fi("toLowerCase");var wf=ci((function(t,n,r){return t+(r?"_":"")+n.toLowerCase()}));var xf=ci((function(t,n,r){return t+(r?" ":"")+Af(n)}));var jf=ci((function(t,n,r){return t+(r?" ":"")+n.toUpperCase()})),Af=fi("toUpperCase");function Of(t,n,r){return t=Za(t),(n=r?i:n)===i?function(t){return An.test(t)}(t)?function(t){return t.match(xn)||[]}(t):function(t){return t.match($t)||[]}(t):t.match(n)||[]}var kf=ju((function(t,n){try{return Jn(t,i,n)}catch(t){return ja(t)?t:new Qt(t)}})),Rf=Ii((function(t,n){return Kn(n,(function(n){n=co(n),ze(t,n,ra(t[n],t))})),t}));function Sf(t){return function(){return t}}var If=hi(),Ef=hi(!0);function Pf(t){return t}function zf(t){return fu("function"==typeof t?t:Te(t,h))}var Lf=ju((function(t,n){return function(r){return eu(r,t,n)}})),Nf=ju((function(t,n){return function(r){return eu(t,r,n)}}));function Tf(t,n,r){var e=uf(n),u=Ge(n,e);null!=r||Ra(n)&&(u.length||!e.length)||(r=n,n=t,t=this,u=Ge(n,uf(n)));var i=!(Ra(r)&&"chain"in r&&!r.chain),o=Aa(t);return Kn(u,(function(r){var e=n[r];t[r]=e,o&&(t.prototype[r]=function(){var n=this.__chain__;if(i||n){var r=t(this.__wrapped__),u=r.__actions__=ri(this.__actions__);return u.push({func:e,args:arguments,thisArg:t}),r.__chain__=n,r}return e.apply(t,nr([this.value()],arguments))})})),t}function Bf(){}var Cf=_i(tr),Mf=_i(Hn),Df=_i(ur);function $f(t){return Vi(t)?hr(co(t)):function(t){return function(n){return He(n,t)}}(t)}var Wf=yi(),Uf=yi(!0);function Ff(){return[]}function qf(){return!1}var Zf=gi((function(t,n){return t+n}),0),Jf=wi("ceil"),Vf=gi((function(t,n){return t/n}),1),Kf=wi("floor");var Gf,Hf=gi((function(t,n){return t*n}),1),Yf=wi("round"),Qf=gi((function(t,n){return t-n}),0);return pe.after=function(t,n){if("function"!=typeof n)throw new un(f);return t=Wa(t),function(){if(--t<1)return n.apply(this,arguments)}},pe.ary=ta,pe.assign=Ja,pe.assignIn=Va,pe.assignInWith=Ka,pe.assignWith=Ga,pe.at=Ha,pe.before=na,pe.bind=ra,pe.bindAll=Rf,pe.bindKey=ea,pe.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return da(t)?t:[t]},pe.chain=Do,pe.chunk=function(t,n,r){n=(r?Ji(t,n,r):n===i)?1:Zr(Wa(n),0);var u=null==t?0:t.length;if(!u||n<1)return[];for(var o=0,a=0,f=e(Mr(u/n));ou?0:u+r),(e=e===i||e>u?u:Wa(e))<0&&(e+=u),e=r>e?0:Ua(e);r>>0)?(t=Za(t))&&("string"==typeof n||null!=n&&!za(n))&&!(n=Bu(n))&&Or(t)?Ku(zr(t),0,r):t.split(n,r):[]},pe.spread=function(t,n){if("function"!=typeof t)throw new un(f);return n=null==n?0:Zr(Wa(n),0),ju((function(r){var e=r[n],u=Ku(r,0,n);return e&&nr(u,e),Jn(t,this,u)}))},pe.tail=function(t){var n=null==t?0:t.length;return n?Eu(t,1,n):[]},pe.take=function(t,n,r){return t&&t.length?Eu(t,0,(n=r||n===i?1:Wa(n))<0?0:n):[]},pe.takeRight=function(t,n,r){var e=null==t?0:t.length;return e?Eu(t,(n=e-(n=r||n===i?1:Wa(n)))<0?0:n,e):[]},pe.takeRightWhile=function(t,n){return t&&t.length?$u(t,Ti(n,3),!1,!0):[]},pe.takeWhile=function(t,n){return t&&t.length?$u(t,Ti(n,3)):[]},pe.tap=function(t,n){return n(t),t},pe.throttle=function(t,n,r){var e=!0,u=!0;if("function"!=typeof t)throw new un(f);return Ra(r)&&(e="leading"in r?!!r.leading:e,u="trailing"in r?!!r.trailing:u),ua(t,n,{leading:e,maxWait:n,trailing:u})},pe.thru=$o,pe.toArray=Da,pe.toPairs=hf,pe.toPairsIn=pf,pe.toPath=function(t){return da(t)?tr(t,co):Ta(t)?[t]:ri(fo(Za(t)))},pe.toPlainObject=qa,pe.transform=function(t,n,r){var e=da(t),u=e||wa(t)||Ba(t);if(n=Ti(n,4),null==r){var i=t&&t.constructor;r=u?e?new i:[]:Ra(t)&&Aa(i)?ve(zn(t)):{}}return(u?Kn:Ve)(t,(function(t,e,u){return n(r,t,e,u)})),r},pe.unary=function(t){return ta(t,1)},pe.union=So,pe.unionBy=Io,pe.unionWith=Eo,pe.uniq=function(t){return t&&t.length?Cu(t):[]},pe.uniqBy=function(t,n){return t&&t.length?Cu(t,Ti(n,2)):[]},pe.uniqWith=function(t,n){return n="function"==typeof n?n:i,t&&t.length?Cu(t,i,n):[]},pe.unset=function(t,n){return null==t||Mu(t,n)},pe.unzip=Po,pe.unzipWith=zo,pe.update=function(t,n,r){return null==t?t:Du(t,n,Zu(r))},pe.updateWith=function(t,n,r,e){return e="function"==typeof e?e:i,null==t?t:Du(t,n,Zu(r),e)},pe.values=vf,pe.valuesIn=function(t){return null==t?[]:yr(t,of(t))},pe.without=Lo,pe.words=Of,pe.wrap=function(t,n){return la(Zu(n),t)},pe.xor=No,pe.xorBy=To,pe.xorWith=Bo,pe.zip=Co,pe.zipObject=function(t,n){return Fu(t||[],n||[],Se)},pe.zipObjectDeep=function(t,n){return Fu(t||[],n||[],ku)},pe.zipWith=Mo,pe.entries=hf,pe.entriesIn=pf,pe.extend=Va,pe.extendWith=Ka,Tf(pe,pe),pe.add=Zf,pe.attempt=kf,pe.camelCase=gf,pe.capitalize=_f,pe.ceil=Jf,pe.clamp=function(t,n,r){return r===i&&(r=n,n=i),r!==i&&(r=(r=Fa(r))==r?r:0),n!==i&&(n=(n=Fa(n))==n?n:0),Ne(Fa(t),n,r)},pe.clone=function(t){return Te(t,v)},pe.cloneDeep=function(t){return Te(t,h|v)},pe.cloneDeepWith=function(t,n){return Te(t,h|v,n="function"==typeof n?n:i)},pe.cloneWith=function(t,n){return Te(t,v,n="function"==typeof n?n:i)},pe.conformsTo=function(t,n){return null==n||Be(t,n,uf(n))},pe.deburr=df,pe.defaultTo=function(t,n){return null==t||t!=t?n:t},pe.divide=Vf,pe.endsWith=function(t,n,r){t=Za(t),n=Bu(n);var e=t.length,u=r=r===i?e:Ne(Wa(r),0,e);return(r-=n.length)>=0&&t.slice(r,u)==n},pe.eq=pa,pe.escape=function(t){return(t=Za(t))&&Ot.test(t)?t.replace(jt,jr):t},pe.escapeRegExp=function(t){return(t=Za(t))&&Lt.test(t)?t.replace(zt,"\\$&"):t},pe.every=function(t,n,r){var e=da(t)?Hn:We;return r&&Ji(t,n,r)&&(n=i),e(t,Ti(n,3))},pe.find=Fo,pe.findIndex=go,pe.findKey=function(t,n){return or(t,Ti(n,3),Ve)},pe.findLast=qo,pe.findLastIndex=_o,pe.findLastKey=function(t,n){return or(t,Ti(n,3),Ke)},pe.floor=Kf,pe.forEach=Zo,pe.forEachRight=Jo,pe.forIn=function(t,n){return null==t?t:Ze(t,Ti(n,3),of)},pe.forInRight=function(t,n){return null==t?t:Je(t,Ti(n,3),of)},pe.forOwn=function(t,n){return t&&Ve(t,Ti(n,3))},pe.forOwnRight=function(t,n){return t&&Ke(t,Ti(n,3))},pe.get=Xa,pe.gt=va,pe.gte=ga,pe.has=function(t,n){return null!=t&&Ui(t,n,tu)},pe.hasIn=tf,pe.head=mo,pe.identity=Pf,pe.includes=function(t,n,r,e){t=ma(t)?t:vf(t),r=r&&!e?Wa(r):0;var u=t.length;return r<0&&(r=Zr(u+r,0)),Na(t)?r<=u&&t.indexOf(n,r)>-1:!!u&&fr(t,n,r)>-1},pe.indexOf=function(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var u=null==r?0:Wa(r);return u<0&&(u=Zr(e+u,0)),fr(t,n,u)},pe.inRange=function(t,n,r){return n=$a(n),r===i?(r=n,n=0):r=$a(r),function(t,n,r){return t>=Jr(n,r)&&t=-N&&t<=N},pe.isSet=La,pe.isString=Na,pe.isSymbol=Ta,pe.isTypedArray=Ba,pe.isUndefined=function(t){return t===i},pe.isWeakMap=function(t){return Sa(t)&&Wi(t)==ot},pe.isWeakSet=function(t){return Sa(t)&&Qe(t)==at},pe.join=function(t,n){return null==t?"":Fr.call(t,n)},pe.kebabCase=yf,pe.last=jo,pe.lastIndexOf=function(t,n,r){var e=null==t?0:t.length;if(!e)return-1;var u=e;return r!==i&&(u=(u=Wa(r))<0?Zr(e+u,0):Jr(u,e-1)),n==n?function(t,n,r){for(var e=r+1;e--;)if(t[e]===n)return e;return e}(t,n,u):ar(t,lr,u,!0)},pe.lowerCase=mf,pe.lowerFirst=bf,pe.lt=Ca,pe.lte=Ma,pe.max=function(t){return t&&t.length?Ue(t,Pf,Xe):i},pe.maxBy=function(t,n){return t&&t.length?Ue(t,Ti(n,2),Xe):i},pe.mean=function(t){return sr(t,Pf)},pe.meanBy=function(t,n){return sr(t,Ti(n,2))},pe.min=function(t){return t&&t.length?Ue(t,Pf,su):i},pe.minBy=function(t,n){return t&&t.length?Ue(t,Ti(n,2),su):i},pe.stubArray=Ff,pe.stubFalse=qf,pe.stubObject=function(){return{}},pe.stubString=function(){return""},pe.stubTrue=function(){return!0},pe.multiply=Hf,pe.nth=function(t,n){return t&&t.length?_u(t,Wa(n)):i},pe.noConflict=function(){return Nn._===this&&(Nn._=_n),this},pe.noop=Bf,pe.now=Xo,pe.pad=function(t,n,r){t=Za(t);var e=(n=Wa(n))?Pr(t):0;if(!n||e>=n)return t;var u=(n-e)/2;return di(Dr(u),r)+t+di(Mr(u),r)},pe.padEnd=function(t,n,r){t=Za(t);var e=(n=Wa(n))?Pr(t):0;return n&&en){var e=t;t=n,n=e}if(r||t%1||n%1){var u=Gr();return Jr(t+u*(n-t+En("1e-"+((u+"").length-1))),n)}return wu(t,n)},pe.reduce=function(t,n,r){var e=da(t)?rr:vr,u=arguments.length<3;return e(t,Ti(n,4),r,u,De)},pe.reduceRight=function(t,n,r){var e=da(t)?er:vr,u=arguments.length<3;return e(t,Ti(n,4),r,u,$e)},pe.repeat=function(t,n,r){return n=(r?Ji(t,n,r):n===i)?1:Wa(n),xu(Za(t),n)},pe.replace=function(){var t=arguments,n=Za(t[0]);return t.length<3?n:n.replace(t[1],t[2])},pe.result=function(t,n,r){var e=-1,u=(n=Ju(n,t)).length;for(u||(u=1,t=i);++eN)return[];var r=C,e=Jr(t,C);n=Ti(n),t-=C;for(var u=_r(e,n);++r=o)return t;var f=r-Pr(e);if(f<1)return e;var c=a?Ku(a,0,f).join(""):t.slice(0,f);if(u===i)return c+e;if(a&&(f+=c.length-f),za(u)){if(t.slice(f).search(u)){var l,s=c;for(u.global||(u=rn(u.source,Za(Ft.exec(u))+"g")),u.lastIndex=0;l=u.exec(s);)var h=l.index;c=c.slice(0,h===i?f:h)}}else if(t.indexOf(Bu(u),f)!=f){var p=c.lastIndexOf(u);p>-1&&(c=c.slice(0,p))}return c+e},pe.unescape=function(t){return(t=Za(t))&&At.test(t)?t.replace(xt,Lr):t},pe.uniqueId=function(t){var n=++hn;return Za(t)+n},pe.upperCase=jf,pe.upperFirst=Af,pe.each=Zo,pe.eachRight=Jo,pe.first=mo,Tf(pe,(Gf={},Ve(pe,(function(t,n){sn.call(pe.prototype,n)||(Gf[n]=t)})),Gf),{chain:!1}),pe.VERSION="4.17.15",Kn(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){pe[t].placeholder=pe})),Kn(["drop","take"],(function(t,n){de.prototype[t]=function(r){r=r===i?1:Zr(Wa(r),0);var e=this.__filtered__&&!n?new de(this):this.clone();return e.__filtered__?e.__takeCount__=Jr(r,e.__takeCount__):e.__views__.push({size:Jr(r,C),type:t+(e.__dir__<0?"Right":"")}),e},de.prototype[t+"Right"]=function(n){return this.reverse()[t](n).reverse()}})),Kn(["filter","map","takeWhile"],(function(t,n){var r=n+1,e=r==P||3==r;de.prototype[t]=function(t){var n=this.clone();return n.__iteratees__.push({iteratee:Ti(t,3),type:r}),n.__filtered__=n.__filtered__||e,n}})),Kn(["head","last"],(function(t,n){var r="take"+(n?"Right":"");de.prototype[t]=function(){return this[r](1).value()[0]}})),Kn(["initial","tail"],(function(t,n){var r="drop"+(n?"":"Right");de.prototype[t]=function(){return this.__filtered__?new de(this):this[r](1)}})),de.prototype.compact=function(){return this.filter(Pf)},de.prototype.find=function(t){return this.filter(t).head()},de.prototype.findLast=function(t){return this.reverse().find(t)},de.prototype.invokeMap=ju((function(t,n){return"function"==typeof t?new de(this):this.map((function(r){return eu(r,t,n)}))})),de.prototype.reject=function(t){return this.filter(fa(Ti(t)))},de.prototype.slice=function(t,n){t=Wa(t);var r=this;return r.__filtered__&&(t>0||n<0)?new de(r):(t<0?r=r.takeRight(-t):t&&(r=r.drop(t)),n!==i&&(r=(n=Wa(n))<0?r.dropRight(-n):r.take(n-t)),r)},de.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},de.prototype.toArray=function(){return this.take(C)},Ve(de.prototype,(function(t,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),e=/^(?:head|last)$/.test(n),u=pe[e?"take"+("last"==n?"Right":""):n],o=e||/^find/.test(n);u&&(pe.prototype[n]=function(){var n=this.__wrapped__,a=e?[1]:arguments,f=n instanceof de,c=a[0],l=f||da(n),s=function(t){var n=u.apply(pe,nr([t],a));return e&&h?n[0]:n};l&&r&&"function"==typeof c&&1!=c.length&&(f=l=!1);var h=this.__chain__,p=!!this.__actions__.length,v=o&&!h,g=f&&!p;if(!o&&l){n=g?n:new de(this);var _=t.apply(n,a);return _.__actions__.push({func:$o,args:[s],thisArg:i}),new _e(_,h)}return v&&g?t.apply(this,a):(_=this.thru(s),v?e?_.value()[0]:_.value():_)})})),Kn(["pop","push","shift","sort","splice","unshift"],(function(t){var n=on[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",e=/^(?:pop|shift)$/.test(t);pe.prototype[t]=function(){var t=arguments;if(e&&!this.__chain__){var u=this.value();return n.apply(da(u)?u:[],t)}return this[r]((function(r){return n.apply(da(r)?r:[],t)}))}})),Ve(de.prototype,(function(t,n){var r=pe[n];if(r){var e=r.name+"";sn.call(ue,e)||(ue[e]=[]),ue[e].push({name:n,func:r})}})),ue[pi(i,y).name]=[{name:"wrapper",func:i}],de.prototype.clone=function(){var t=new de(this.__wrapped__);return t.__actions__=ri(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=ri(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=ri(this.__views__),t},de.prototype.reverse=function(){if(this.__filtered__){var t=new de(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},de.prototype.value=function(){var t=this.__wrapped__.value(),n=this.__dir__,r=da(t),e=n<0,u=r?t.length:0,i=function(t,n,r){var e=-1,u=r.length;for(;++e=this.__values__.length;return{done:t,value:t?i:this.__values__[this.__index__++]}},pe.prototype.plant=function(t){for(var n,r=this;r instanceof ge;){var e=so(r);e.__index__=0,e.__values__=i,n?u.__wrapped__=e:n=e;var u=e;r=r.__wrapped__}return u.__wrapped__=t,n},pe.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof de){var n=t;return this.__actions__.length&&(n=new de(this)),(n=n.reverse()).__actions__.push({func:$o,args:[Ro],thisArg:i}),new _e(n,this.__chain__)}return this.thru(Ro)},pe.prototype.toJSON=pe.prototype.valueOf=pe.prototype.value=function(){return Wu(this.__wrapped__,this.__actions__)},pe.prototype.first=pe.prototype.head,Dn&&(pe.prototype[Dn]=function(){return this}),pe}();Nn._=Nr,(u=function(){return Nr}.call(n,r,n,e))===i||(e.exports=u)}).call(this)}).call(this,r(9),r(32)(t))},3:function(t,n,r){var e,u,i;!function(r,o){"use strict";"object"==typeof t.exports?t.exports=o():(u=[],void 0===(i="function"==typeof(e=o)?e.apply(n,u):e)||(t.exports=i))}(0,(function(){"use strict";var t=Object.prototype.toString;function n(t,n){return null!=t&&Object.prototype.hasOwnProperty.call(t,n)}function r(t){if(!t)return!0;if(u(t)&&0===t.length)return!0;if("string"!=typeof t){for(var r in t)if(n(t,r))return!1;return!0}return!1}function e(n){return t.call(n)}var u=Array.isArray||function(n){return"[object Array]"===t.call(n)};function i(t){var n=parseInt(t);return n.toString()===t?n:t}function o(t){t=t||{};var o=function(t){return Object.keys(o).reduce((function(n,r){return"create"===r?n:("function"==typeof o[r]&&(n[r]=o[r].bind(o,t)),n)}),{})};function a(r,e){return t.includeInheritedProps||"number"==typeof e&&Array.isArray(r)||n(r,e)}function f(t,n){if(a(t,n))return t[n]}function c(t,n,r,e){if("number"==typeof n&&(n=[n]),!n||0===n.length)return t;if("string"==typeof n)return c(t,n.split(".").map(i),r,e);var u=n[0],o=f(t,u);return 1===n.length?(void 0!==o&&e||(t[u]=r),o):(void 0===o&&("number"==typeof n[1]?t[u]=[]:t[u]={}),c(t[u],n.slice(1),r,e))}return o.has=function(r,e){if("number"==typeof e?e=[e]:"string"==typeof e&&(e=e.split(".")),!e||0===e.length)return!!r;for(var o=0;o=0&&(t=t.replace(/\[/g,".").replace(/]/g,""));var r=t.split(n);if(r.filter(c).length!==r.length)throw Error("Refusing to update blacklisted property "+t);return r}var s=Object.prototype.hasOwnProperty;function h(t,n,r,e){if(!(this instanceof h))return new h(t,n,r,e);void 0===n&&(n=!1),void 0===r&&(r=!0),void 0===e&&(e=!0),this.separator=t||".",this.override=n,this.useArray=r,this.useBrackets=e,this.keepArray=!1,this.cleanup=[]}var p=new h(".",!1,!0,!0);function v(t){return function(){return p[t].apply(p,arguments)}}h.prototype._fill=function(t,n,r,u){var i=t.shift();if(t.length>0){if(n[i]=n[i]||(this.useArray&&function(t){return/^\d+$/.test(t)}(t[0])?[]:{}),!o(n[i])){if(!this.override){if(!o(r)||!a(r))throw new Error("Trying to redefine `"+i+"` which is a "+typeof n[i]);return}n[i]={}}this._fill(t,n[i],r,u)}else{if(!this.override&&o(n[i])&&!a(n[i])){if(!o(r)||!a(r))throw new Error("Trying to redefine non-empty obj['"+i+"']");return}n[i]=e(r,u)}},h.prototype.object=function(t,n){var r=this;return Object.keys(t).forEach((function(u){var i=void 0===n?null:n[u],o=l(u,r.separator).join(r.separator);-1!==o.indexOf(r.separator)?(r._fill(o.split(r.separator),t,t[u],i),delete t[u]):t[u]=e(t[u],i)})),t},h.prototype.str=function(t,n,r,u){var i=l(t,this.separator).join(this.separator);return-1!==t.indexOf(this.separator)?this._fill(i.split(this.separator),r,n,u):r[t]=e(n,u),r},h.prototype.pick=function(t,n,r,e){var i,o,a,f,c;for(o=l(t,this.separator),i=0;i{n[r]=t[e]/255}),void 0!==t[3]&&(n.a=t[3]),n}function i(t){let n="";if("#"===(t=t.toLowerCase())[0]&&(t=t.slice(1)),3===t.length)t=t.replace(/(.)(.)(.)?/g,"$1$1$2$2$3$3");else if(8===t.length){const r=t.match(/(.{6})(.{2})/);t=r[1],n=r[2]}const r=parseInt(t,16),e=[r>>16,r>>8&255,255&r];return n?(e.push(parseInt(n,16)/255),u(e)):u(e)}r(4);const o=r(33),a=r(3),f=new o("/");let c=[],l=[];function s(){figma.ui.postMessage({type:"noselection"})}function h({nodes:t,remotes:n}){const r={timeout:600};t>0&&n.length>0?figma.notify(`Updated ${t} nodes, unable to update ${n.length} remote components`,r):t>0&&0==n.length?figma.notify(`Success! Updated ${t} nodes`,r):0==t?figma.notify("No nodes updated",r):figma.notify("No nodes with connected tokens found",r),figma.ui.postMessage({type:"remotecomponents",values:{nodes:t,remotes:n}}),l=[],c=[]}function p(t,n){figma.ui.postMessage({type:"selection",nodes:t,values:n})}function v(t){const n=t.getPluginData("values");if(n)return JSON.parse(n)}function g(t){if(t.length>1)p(t[0].id);else{const n=v(t[0]);n?p(t[0].id,n):p(t[0].id)}}figma.showUI(__html__,{width:400,height:600});const _=t=>t.reduce((t,n)=>{var r;return(null===(r=n.masterComponent)||void 0===r?void 0:r.getPluginData("values"))?(n.masterComponent.remote?c.push(n):t.push(n.masterComponent),t):(n.getPluginData("values")&&t.push(n),n.children&&t.push(..._(n.children)),t)},[]),d=(t,n)=>{const r=_(t);r.forEach(t=>{const r=v(t);if(r){((t,n,r)=>{if(n.borderRadius&&void 0!==t.cornerRadius&&(t.cornerRadius=Number(n.borderRadius||n.borderRadiusTopLeft)),n.borderRadiusTopLeft&&void 0!==t.topLeftRadius&&(t.topLeftRadius=Number(n.borderRadiusTopLeft)),n.borderRadiusTopRight&&void 0!==t.topRightRadius&&(t.topRightRadius=Number(n.borderRadiusTopRight)),n.borderRadiusBottomRight&&void 0!==t.bottomRightRadius&&(t.bottomRightRadius=Number(n.borderRadiusBottomRight)),n.borderRadiusBottomLeft&&void 0!==t.bottomLeftRadius&&(t.bottomLeftRadius=Number(n.borderRadiusBottomLeft)),n.opacity&&void 0!==t.opacity){let r;r=n.opacity.match(/(\d+%)/)?n.opacity.match(/(\d+%)/)[0].slice(0,-1)/100:Number(n.opacity),t.opacity=r}if(n.width&&void 0!==t.resize&&t.resize(Number(n.width),t.height),n.height&&void 0!==t.resize&&t.resize(t.width,Number(n.height)),n.fill&&void 0!==t.fills){const e=figma.getLocalPaintStyles(),u=r.fill.split("."),o=u.slice(1,u.length).join("/"),a=e.filter(t=>t.name===o);a.length?(a[0].paints=[{color:i(n.fill),type:"SOLID"}],t.fillStyleId=a[0].id):t.fills=[{type:"SOLID",color:i(n.fill)}]}n.spacing&&void 0!==t.horizontalPadding&&(t.horizontalPadding=Number(n.spacing),t.verticalPadding=Number(n.spacing),t.itemSpacing=Number(n.spacing)),n.horizontalPadding&&void 0!==t.horizontalPadding&&(t.horizontalPadding=Number(n.horizontalPadding)),n.verticalPadding&&void 0!==t.verticalPadding&&(t.verticalPadding=Number(n.verticalPadding)),n.itemSpacing&&void 0!==t.itemSpacing&&(t.itemSpacing=Number(n.itemSpacing))})(t,((t,n)=>{const r=Object.entries(n).map(([n,r])=>({[n]:a.get(t,r)}));return r.map(t=>({[t.key]:t.value})),Object.assign({},...r)})(n,r),r)}}),l.push(...r)},y=(t,n=!1)=>{if(!t.colors)return;const r=f.dot(t.colors),e=figma.getLocalPaintStyles();Object.entries(r).map(([t,r])=>{const u=e.filter(n=>n.name===t);if("string"==typeof r)if(u.length)u[0].paints=[{color:i(r),type:"SOLID"}];else if(n){const n=figma.createPaintStyle();n.paints=[{color:i(r),type:"SOLID"}],n.name=t}})};figma.on("selectionchange",()=>{const t=figma.currentPage.selection;t.length?g(t):s()}),figma.ui.onmessage=t=>{if("initiate"===t.type){!function(t){figma.ui.postMessage({type:"tokenvalues",values:t})}((()=>{const t=figma.root.getSharedPluginData("tokens","values");if(t){return JSON.parse(t)}})());const t=figma.currentPage.selection;return t.length?void g(t):void s()}if("set-node-data"!==t.type)if("remove-node-data"!==t.type)if("create-styles"!==t.type){if("update"===t.type)return(t=>{figma.root.setSharedPluginData("tokens","values",JSON.stringify(t))})(t.tokens),y(t.tokens,!1),d(figma.currentPage.children,t.tokens),void h({nodes:l.length,remotes:c});"gotonode"!==t.type?figma.closePlugin():(t=>{var n;const r=figma.getNodeById(t);"INSTANCE"===(null===(n=r)||void 0===n?void 0:n.type)&&(figma.currentPage.selection=[r],figma.viewport.scrollAndZoomIntoView([r]))})(t.id)}else try{y(t.tokens,!0)}catch(t){console.error(t)}else{try{(t=>{t.map(t=>{t.setRelaunchData({}),t.setPluginData("values",""),l.push(t)})})(figma.currentPage.selection),g(figma.currentPage.selection)}catch(t){console.error(t)}h({nodes:l.length,remotes:c})}else{try{!function(t,n){t.map(t=>{const r=v(t),e=Object.assign(r||{},n);Object.entries(e).forEach(([t,n])=>{"delete"===n&&delete e[t]}),0===Object.keys(e).length&&e.constructor===Object?t.setRelaunchData({}):t.setRelaunchData({edit:Object.keys(e).join(", ")}),t.setPluginData("values",JSON.stringify(Object.assign({},e)))})}(figma.currentPage.selection,t.values),d(figma.currentPage.selection,t.tokens),g(figma.currentPage.selection)}catch(t){console.error(t)}h({nodes:l.length,remotes:c})}}},4:function(t,n){var r={Matrix:function(){}};r.Matrix.create=function(t){return(new r.Matrix).setElements(t)},r.Matrix.I=function(t){for(var n,e=[],u=t;u--;)for(n=t,e[u]=[];n--;)e[u][n]=u===n?1:0;return r.Matrix.create(e)},r.Matrix.prototype={dup:function(){return r.Matrix.create(this.elements)},isSquare:function(){var t=0===this.elements.length?0:this.elements[0].length;return this.elements.length===t},toRightTriangular:function(){if(0===this.elements.length)return r.Matrix.create([]);var t,n,e,u,i=this.dup(),o=this.elements.length,a=this.elements[0].length;for(n=0;n=o&&l[a].push(i);for(f.elements[a]=e,t=a;t--;){for(e=[],n=0;n + \ No newline at end of file diff --git a/dist/ui.js b/dist/ui.js new file mode 100644 index 000000000..070b4e4af --- /dev/null +++ b/dist/ui.js @@ -0,0 +1,31 @@ +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var u=t[r]={i:r,l:!1,exports:{}};return e[r].call(u.exports,u,u.exports,n),u.l=!0,u.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var u in e)n.d(r,u,function(t){return e[t]}.bind(null,u));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=34)}([function(e,t,n){"use strict";e.exports=n(17)},function(e,t){var n=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'],r=n.join(","),u="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;function o(e,t){t=t||{};var n,o,i,l=[],f=[],d=e.querySelectorAll(r);for(t.includeContainer&&u.call(e,r)&&(d=Array.prototype.slice.apply(d)).unshift(e),n=0;n0?x:w)(e)},k=(E=!1,function(e,t){var n,r,u=String(function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}(e)),o=F(t),a=u.length;return o<0||o>=a?E?"":void 0:(n=u.charCodeAt(o))<55296||n>56319||o+1===a||(r=u.charCodeAt(o+1))<56320||r>57343?E?u.charAt(o):n:E?u.slice(o,o+2):r-56320+(n-55296<<10)+65536});C(C.P,"String",{codePointAt:function(e){return k(this,e)}}),n.String.codePointAt;var A=Math.max,S=Math.min,T=function(e,t){return(e=F(e))<0?A(e+t,0):S(e,t)},B=String.fromCharCode,_=String.fromCodePoint;C(C.S+C.F*(!!_&&1!=_.length),"String",{fromCodePoint:function(e){for(var t,n=arguments,r=[],u=arguments.length,o=0;u>o;){if(t=+n[o++],T(t,1114111)!==t)throw RangeError(t+" is not a valid code point");r.push(t<65536?B(t):B(55296+((t-=65536)>>10),t%1024+56320))}return r.join("")}}),n.String.fromCodePoint;var O,P,N,j,R,I,M,L,z,U,V,W,H,$,K={Space_Separator:/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,ID_Start:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},q={isSpaceSeparator:function(e){return"string"==typeof e&&K.Space_Separator.test(e)},isIdStartChar:function(e){return"string"==typeof e&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||"$"===e||"_"===e||K.ID_Start.test(e))},isIdContinueChar:function(e){return"string"==typeof e&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"$"===e||"_"===e||"‌"===e||"‍"===e||K.ID_Continue.test(e))},isDigit:function(e){return"string"==typeof e&&/[0-9]/.test(e)},isHexDigit:function(e){return"string"==typeof e&&/[0-9A-Fa-f]/.test(e)}};function Q(){for(U="default",V="",W=!1,H=1;;){$=Y();var e=G[U]();if(e)return e}}function Y(){if(O[j])return String.fromCodePoint(O.codePointAt(j))}function X(){var e=Y();return"\n"===e?(R++,I=0):e?I+=e.length:I++,e&&(j+=e.length),e}var G={default:function(){switch($){case"\t":case"\v":case"\f":case" ":case" ":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":return void X();case"/":return X(),void(U="comment");case void 0:return X(),J("eof")}if(!q.isSpaceSeparator($))return G[P]();X()},comment:function(){switch($){case"*":return X(),void(U="multiLineComment");case"/":return X(),void(U="singleLineComment")}throw ue(X())},multiLineComment:function(){switch($){case"*":return X(),void(U="multiLineCommentAsterisk");case void 0:throw ue(X())}X()},multiLineCommentAsterisk:function(){switch($){case"*":return void X();case"/":return X(),void(U="default");case void 0:throw ue(X())}X(),U="multiLineComment"},singleLineComment:function(){switch($){case"\n":case"\r":case"\u2028":case"\u2029":return X(),void(U="default");case void 0:return X(),J("eof")}X()},value:function(){switch($){case"{":case"[":return J("punctuator",X());case"n":return X(),Z("ull"),J("null",null);case"t":return X(),Z("rue"),J("boolean",!0);case"f":return X(),Z("alse"),J("boolean",!1);case"-":case"+":return"-"===X()&&(H=-1),void(U="sign");case".":return V=X(),void(U="decimalPointLeading");case"0":return V=X(),void(U="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return V=X(),void(U="decimalInteger");case"I":return X(),Z("nfinity"),J("numeric",1/0);case"N":return X(),Z("aN"),J("numeric",NaN);case'"':case"'":return W='"'===X(),V="",void(U="string")}throw ue(X())},identifierNameStartEscape:function(){if("u"!==$)throw ue(X());X();var e=ee();switch(e){case"$":case"_":break;default:if(!q.isIdStartChar(e))throw ae()}V+=e,U="identifierName"},identifierName:function(){switch($){case"$":case"_":case"‌":case"‍":return void(V+=X());case"\\":return X(),void(U="identifierNameEscape")}if(!q.isIdContinueChar($))return J("identifier",V);V+=X()},identifierNameEscape:function(){if("u"!==$)throw ue(X());X();var e=ee();switch(e){case"$":case"_":case"‌":case"‍":break;default:if(!q.isIdContinueChar(e))throw ae()}V+=e,U="identifierName"},sign:function(){switch($){case".":return V=X(),void(U="decimalPointLeading");case"0":return V=X(),void(U="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return V=X(),void(U="decimalInteger");case"I":return X(),Z("nfinity"),J("numeric",H*(1/0));case"N":return X(),Z("aN"),J("numeric",NaN)}throw ue(X())},zero:function(){switch($){case".":return V+=X(),void(U="decimalPoint");case"e":case"E":return V+=X(),void(U="decimalExponent");case"x":case"X":return V+=X(),void(U="hexadecimal")}return J("numeric",0*H)},decimalInteger:function(){switch($){case".":return V+=X(),void(U="decimalPoint");case"e":case"E":return V+=X(),void(U="decimalExponent")}if(!q.isDigit($))return J("numeric",H*Number(V));V+=X()},decimalPointLeading:function(){if(q.isDigit($))return V+=X(),void(U="decimalFraction");throw ue(X())},decimalPoint:function(){switch($){case"e":case"E":return V+=X(),void(U="decimalExponent")}return q.isDigit($)?(V+=X(),void(U="decimalFraction")):J("numeric",H*Number(V))},decimalFraction:function(){switch($){case"e":case"E":return V+=X(),void(U="decimalExponent")}if(!q.isDigit($))return J("numeric",H*Number(V));V+=X()},decimalExponent:function(){switch($){case"+":case"-":return V+=X(),void(U="decimalExponentSign")}if(q.isDigit($))return V+=X(),void(U="decimalExponentInteger");throw ue(X())},decimalExponentSign:function(){if(q.isDigit($))return V+=X(),void(U="decimalExponentInteger");throw ue(X())},decimalExponentInteger:function(){if(!q.isDigit($))return J("numeric",H*Number(V));V+=X()},hexadecimal:function(){if(q.isHexDigit($))return V+=X(),void(U="hexadecimalInteger");throw ue(X())},hexadecimalInteger:function(){if(!q.isHexDigit($))return J("numeric",H*Number(V));V+=X()},string:function(){switch($){case"\\":return X(),void(V+=function(){switch(Y()){case"b":return X(),"\b";case"f":return X(),"\f";case"n":return X(),"\n";case"r":return X(),"\r";case"t":return X(),"\t";case"v":return X(),"\v";case"0":if(X(),q.isDigit(Y()))throw ue(X());return"\0";case"x":return X(),function(){var e="",t=Y();if(!q.isHexDigit(t))throw ue(X());if(e+=X(),t=Y(),!q.isHexDigit(t))throw ue(X());return e+=X(),String.fromCodePoint(parseInt(e,16))}();case"u":return X(),ee();case"\n":case"\u2028":case"\u2029":return X(),"";case"\r":return X(),"\n"===Y()&&X(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case void 0:throw ue(X())}return X()}());case'"':return W?(X(),J("string",V)):void(V+=X());case"'":return W?void(V+=X()):(X(),J("string",V));case"\n":case"\r":throw ue(X());case"\u2028":case"\u2029":!function(e){console.warn("JSON5: '"+ie(e)+"' in strings is not valid ECMAScript; consider escaping")}($);break;case void 0:throw ue(X())}V+=X()},start:function(){switch($){case"{":case"[":return J("punctuator",X())}U="value"},beforePropertyName:function(){switch($){case"$":case"_":return V=X(),void(U="identifierName");case"\\":return X(),void(U="identifierNameStartEscape");case"}":return J("punctuator",X());case'"':case"'":return W='"'===X(),void(U="string")}if(q.isIdStartChar($))return V+=X(),void(U="identifierName");throw ue(X())},afterPropertyName:function(){if(":"===$)return J("punctuator",X());throw ue(X())},beforePropertyValue:function(){U="value"},afterPropertyValue:function(){switch($){case",":case"}":return J("punctuator",X())}throw ue(X())},beforeArrayValue:function(){if("]"===$)return J("punctuator",X());U="value"},afterArrayValue:function(){switch($){case",":case"]":return J("punctuator",X())}throw ue(X())},end:function(){throw ue(X())}};function J(e,t){return{type:e,value:t,line:R,column:I}}function Z(e){for(var t=0,n=e;t0;){var n=Y();if(!q.isHexDigit(n))throw ue(X());e+=X()}return String.fromCodePoint(parseInt(e,16))}var te={start:function(){if("eof"===M.type)throw oe();ne()},beforePropertyName:function(){switch(M.type){case"identifier":case"string":return L=M.value,void(P="afterPropertyName");case"punctuator":return void re();case"eof":throw oe()}},afterPropertyName:function(){if("eof"===M.type)throw oe();P="beforePropertyValue"},beforePropertyValue:function(){if("eof"===M.type)throw oe();ne()},beforeArrayValue:function(){if("eof"===M.type)throw oe();"punctuator"!==M.type||"]"!==M.value?ne():re()},afterPropertyValue:function(){if("eof"===M.type)throw oe();switch(M.value){case",":return void(P="beforePropertyName");case"}":re()}},afterArrayValue:function(){if("eof"===M.type)throw oe();switch(M.value){case",":return void(P="beforeArrayValue");case"]":re()}},end:function(){}};function ne(){var e;switch(M.type){case"punctuator":switch(M.value){case"{":e={};break;case"[":e=[]}break;case"null":case"boolean":case"numeric":case"string":e=M.value}if(void 0===z)z=e;else{var t=N[N.length-1];Array.isArray(t)?t.push(e):t[L]=e}if(null!==e&&"object"==typeof e)N.push(e),P=Array.isArray(e)?"beforeArrayValue":"beforePropertyName";else{var n=N[N.length-1];P=null==n?"end":Array.isArray(n)?"afterArrayValue":"afterPropertyValue"}}function re(){N.pop();var e=N[N.length-1];P=null==e?"end":Array.isArray(e)?"afterArrayValue":"afterPropertyValue"}function ue(e){return le(void 0===e?"JSON5: invalid end of input at "+R+":"+I:"JSON5: invalid character '"+ie(e)+"' at "+R+":"+I)}function oe(){return le("JSON5: invalid end of input at "+R+":"+I)}function ae(){return le("JSON5: invalid identifier character at "+R+":"+(I-=5))}function ie(e){var t={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(t[e])return t[e];if(e<" "){var n=e.charCodeAt(0).toString(16);return"\\x"+("00"+n).substring(n.length)}return e}function le(e){var t=new SyntaxError(e);return t.lineNumber=R,t.columnNumber=I,t}return{parse:function(e,t){O=String(e),P="start",N=[],j=0,R=1,I=0,M=void 0,L=void 0,z=void 0;do{M=Q(),te[P]()}while("eof"!==M.type);return"function"==typeof t?function e(t,n,r){var u=t[n];if(null!=u&&"object"==typeof u)for(var o in u){var a=e(u,o,r);void 0===a?delete u[o]:u[o]=a}return r.call(t,n,u)}({"":z},"",t):z},stringify:function(e,t,n){var r,u,o,a=[],i="",l="";if(null==t||"object"!=typeof t||Array.isArray(t)||(n=t.space,o=t.quote,t=t.replacer),"function"==typeof t)u=t;else if(Array.isArray(t)){r=[];for(var c=0,s=t;c0&&(n=Math.min(10,Math.floor(n)),l=" ".substr(0,n)):"string"==typeof n&&(l=n.substr(0,10)),p("",{"":e});function p(e,t){var n=t[e];switch(null!=n&&("function"==typeof n.toJSON5?n=n.toJSON5(e):"function"==typeof n.toJSON&&(n=n.toJSON(e))),u&&(n=u.call(t,e,n)),n instanceof Number?n=Number(n):n instanceof String?n=String(n):n instanceof Boolean&&(n=n.valueOf()),n){case null:return"null";case!0:return"true";case!1:return"false"}return"string"==typeof n?m(n):"number"==typeof n?String(n):"object"==typeof n?Array.isArray(n)?function(e){if(a.indexOf(e)>=0)throw TypeError("Converting circular structure to JSON5");a.push(e);var t=i;i+=l;for(var n,r=[],u=0;u=0)throw TypeError("Converting circular structure to JSON5");a.push(e);var t=i;i+=l;for(var n,u,o=r||Object.keys(e),c=[],s=0,f=o;s=0&&f.splice(t,1)}function b(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var r=function(){0;return n.nc}();r&&(e.attrs.nonce=r)}return g(t,e.attrs),h(e,t),t}function g(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function D(e,t){var n,r,u,o;if(t.transform&&e.css){if(!(o="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=o}if(t.singleton){var a=s++;n=c||(c=b(t)),r=C.bind(null,n,a,!1),u=C.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",g(t,e.attrs),h(e,t),t}(t),r=x.bind(null,n,t),u=function(){v(n),n.href&&URL.revokeObjectURL(n.href)}):(n=b(t),r=w.bind(null,n),u=function(){v(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else u()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=m(e,t);return p(n,t),function(e){for(var r=[],u=0;uO.length&&O.push(e)}function j(e,t,n){return null==e?0:function e(t,n,r,u){var i=typeof t;"undefined"!==i&&"boolean"!==i||(t=null);var l=!1;if(null===t)l=!0;else switch(i){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case o:case a:l=!0}}if(l)return r(u,t,""===n?"."+R(t,0):n),1;if(l=0,n=""===n?".":n+":",Array.isArray(t))for(var c=0;cthis.eventPool.length&&this.eventPool.push(e)}function de(e){e.eventPool=[],e.getPooled=se,e.release=fe}u(ce.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=ie)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=ie)},persist:function(){this.isPersistent=ie},isPersistent:le,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=le,this._dispatchInstances=this._dispatchListeners=null}}),ce.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},ce.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return u(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=u({},r.Interface,e),n.extend=r.extend,de(n),n},de(ce);var pe=ce.extend({data:null}),me=ce.extend({data:null}),he=[9,13,27,32],ve=K&&"CompositionEvent"in window,be=null;K&&"documentMode"in document&&(be=document.documentMode);var ge=K&&"TextEvent"in window&&!be,De=K&&(!ve||be&&8=be),ye=String.fromCharCode(32),Ee={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},Ce=!1;function we(e,t){switch(e){case"keyup":return-1!==he.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function xe(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Fe=!1;var ke={eventTypes:Ee,extractEvents:function(e,t,n,r){var u=void 0,o=void 0;if(ve)e:{switch(e){case"compositionstart":u=Ee.compositionStart;break e;case"compositionend":u=Ee.compositionEnd;break e;case"compositionupdate":u=Ee.compositionUpdate;break e}u=void 0}else Fe?we(e,n)&&(u=Ee.compositionEnd):"keydown"===e&&229===n.keyCode&&(u=Ee.compositionStart);return u?(De&&"ko"!==n.locale&&(Fe||u!==Ee.compositionStart?u===Ee.compositionEnd&&Fe&&(o=ae()):(ue="value"in(re=r)?re.value:re.textContent,Fe=!0)),u=pe.getPooled(u,t,n,r),o?u.data=o:null!==(o=xe(n))&&(u.data=o),$(u),o=u):o=null,(e=ge?function(e,t){switch(e){case"compositionend":return xe(t);case"keypress":return 32!==t.which?null:(Ce=!0,ye);case"textInput":return(e=t.data)===ye&&Ce?null:e;default:return null}}(e,n):function(e,t){if(Fe)return"compositionend"===e||!ve&&we(e,t)?(e=ae(),oe=ue=re=null,Fe=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1