You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.
1
2
/! For license information please see background.js.LICENSE.txt /
!function(e){var r={};function webpack_require(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,webpack_require),o.l=!0,o.exports}webpack_require.m=e,webpack_require.c=r,webpack_require.d=function(e,r,n){webpack_require.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},webpack_require.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},webpack_require.t=function(e,r){if(1&r&&(e=webpack_require(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(webpack_require.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)webpack_require.d(n,o,function(r){return e[r]}.bind(null,o));return n},webpack_require.n=function(e){var r=e&&e.__esModule?function getDefault(){return e.default}:function getModuleExports(){return e};return webpack_require.d(r,"a",r),r},webpack_require.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},webpack_require.p="",webpack_require(webpack_require.s=1915)}({0:function(e,r,n){"use strict";e.exports=n(362)},107:function(e,r,n){"use strict";n.d(r,"a",(function(){return i}));var o=n(7);const i=new o.Token},108:function(e,r,n){"use strict";n.d(r,"a",(function(){return i}));var o=n(7);const i=new o.Token},113:function(e,r,n){"use strict";n.d(r,"a",(function(){return i}));var o=n(7);const i=new o.Token},123:function(e,r,n){"use strict";n.d(r,"a",(function(){return i}));var o=n(7);const i=new o.Token},124:function(e,r,n){"use strict";n.d(r,"a",(function(){return i}));var o=n(7);const i=new o.Token},125:function(e,r,n){"use strict";n.d(r,"a",(function(){return i}));var o=n(7);const i=new o.Token},134:function(e,r,n){"use strict";var o=n(98);n.d(r,"LOCAL_USER_PREFERENCE_LOCALE_KEY",(function(){return o.a}));n(219),n(220)},136:function(e,r,n){"use strict";n.d(r,"a",(function(){return i}));var o=n(7);const i=new o.Token},138:function(e,r){var n,o,i=e.exports={};function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(e){if(n===setTimeout)return setTimeout(e,0);if((n===defaultSetTimout||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(r){try{return n.call(null,e,0)}catch(r){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(e){n=defaultSetTimout}try{o="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(e){o=defaultClearTimeout}}();var a,s=[],c=!1,u=-1;function cleanUpNextTick(){c&&a&&(c=!1,a.length?s=a.concat(s):u=-1,s.length&&drainQueue())}function drainQueue(){if(!c){var e=runTimeout(cleanUpNextTick);c=!0;for(var r=s.length;r;){for(a=s,s=[];++u<r;)a&&a[u].run();u=-1,r=s.length}a=null,c=!1,function runClearTimeout(e){if(o===clearTimeout)return clearTimeout(e);if((o===defaultClearTimeout||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(e);try{return o(e)}catch(r){try{return o.call(null,e)}catch(r){return o.call(this,e)}}}(e)}}function Item(e,r){this.fun=e,this.array=r}function noop(){}i.nextTick=function(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)r[n-1]=arguments[n];s.push(new Item(e,r)),1!==s.length||c||runTimeout(drainQueue)},Item.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=noop,i.addListener=noop,i.once=noop,i.off=noop,i.removeListener=noop,i.removeAllListeners=noop,i.emit=noop,i.prependListener=noop,i.prependOnceListener=noop,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},142:function(e,r,n){"use strict";var o;function isLiteralElement(e){return e.type===o.literal}function isArgumentElement(e){return e.type===o.argument}function isNumberElement(e){return e.type===o.number}function isDateElement(e){return e.type===o.date}function isTimeElement(e){return e.type===o.time}function isSelectElement(e){return e.type===o.select}function isPluralElement(e){return e.type===o.plural}function isPoundElement(e){return e.type===o.pound}function isNumberSkeleton(e){return!(!e||"object"!=typeof e||0!==e.type)}function isDateTimeSkeleton(e){return!(!e||"object"!=typeof e||1!==e.type)}!function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound"}(o||(o={}));var i,a=(i=function(e,r){return(i=Object.setPrototypeOf||{proto:[]}instanceof Array&&function(e,r){e.proto=r}||function(e,r){for(var n in r)r.hasOwnProperty(n)&&(e[n]=r[n])})(e,r)},function(e,r){function (){this.constructor=e}i(e,r),e.prototype=null===r?Object.create(r):(.prototype=r.prototype,new __)}),__assign=function(){return(__assign=Object.assign||function(e){for(var r,n=1,o=arguments.length;n<o;n++)for(var i in r=arguments[n])Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i]);return e}).apply(this,arguments)},s=function(e){function SyntaxError(r,n,o,i){var a=e.call(this)||this;return a.message=r,a.expected=n,a.found=o,a.location=i,a.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(a,SyntaxError),a}return a(SyntaxError,e),SyntaxError.buildMessage=function(e,r){function hex(e){return e.charCodeAt(0).toString(16).toUpperCase()}function literalEscape(e){return e.replace(/\/g,"\\").replace(/"/g,'\"').replace(/\0/g,"\0").replace(/\t/g,"\t").replace(/\n/g,"\n").replace(/\r/g,"\r").replace(/[\x00-\x0F]/g,(function(e){return"\x0"+hex(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\x"+hex(e)}))}function classEscape(e){return e.replace(/\/g,"\\").replace(/]/g,"\]").replace(/^/g,"\^").replace(/-/g,"\-").replace(/\0/g,"\0").replace(/\t/g,"\t").replace(/\n/g,"\n").replace(/\r/g,"\r").replace(/[\x00-\x0F]/g,(function(e){return"\x0"+hex(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\x"+hex(e)}))}function describeExpectation(e){switch(e.type){case"literal":return'"'+literalEscape(e.text)+'"';case"class":var r=e.parts.map((function(e){return Array.isArray(e)?classEscape(e[0])+"-"+classEscape(e[1]):classEscape(e)}));return"["+(e.inverted?"^":"")+r+"]";case"any":return"any character";case"end":return"end of input";case"other":return e.description}}return"Expected "+function describeExpected(e){var r,n,o=e.map(describeExpectation);if(o.sort(),o.length>0){for(r=1,n=1;r<o.length;r++)o[r-1]!==o[r]&&(o[n]=o[r],n++);o.length=n}switch(o.length){case 1:return o[0];case 2:return o[0]+" or "+o[1];default:return o.slice(0,-1).join(", ")+", or "+o[o.length-1]}}(e)+" but "+function describeFound(e){return e?'"'+literalEscape(e)+'"':"end of input"}(r)+" found."},SyntaxError}(Error);var c=function peg$parse(e,r){r=void 0!==r?r:{};var n,i={},a={start:peg$parsestart},c=peg$parsestart,u=peg$literalExpectation("#",!1),p=peg$otherExpectation("argumentElement"),f=peg$literalExpectation("{",!1),g=peg$literalExpectation("}",!1),b=peg$otherExpectation("numberSkeletonId"),k=/^['/{}]/,w=peg$classExpectation(["'","/","{","}"],!1,!1),_={type:"any"},x=peg$otherExpectation("numberSkeletonTokenOption"),j=peg$literalExpectation("/",!1),T=peg$otherExpectation("numberSkeletonToken"),I=peg$literalExpectation("::",!1),peg$c26=function(e){return je.pop(),e.replace(/\s$/,"")},M=peg$literalExpectation(",",!1),R=peg$literalExpectation("number",!1),peg$c31=function(e,r,n){return __assign({type:"number"===r?o.number:"date"===r?o.date:o.time,style:n&&n[2],value:e},insertLocation())},F=peg$literalExpectation("'",!1),U=/^[^']/,q=peg$classExpectation(["'"],!0,!1),H=/^[^a-zA-Z'{}]/,B=peg$classExpectation([["a","z"],["A","Z"],"'","{","}"],!0,!1),V=/^[a-zA-Z]/,G=peg$classExpectation([["a","z"],["A","Z"]],!1,!1),W=peg$literalExpectation("date",!1),Y=peg$literalExpectation("time",!1),Z=peg$literalExpectation("plural",!1),X=peg$literalExpectation("selectordinal",!1),ee=peg$literalExpectation("offset:",!1),te=peg$literalExpectation("select",!1),re=peg$literalExpectation("=",!1),ne=peg$otherExpectation("whitespace"),oe=/^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,ie=peg$classExpectation([["\t","\r"]," ","�"," "," ",[" "," "],"\u2028","\u2029"," "," "," "],!1,!1),ae=peg$otherExpectation("syntax pattern"),se=/^[!-/:-@[-^
{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/,ce=peg$classExpectation([["!","/"],[":","@"],["[","^"],"
",["{","~"],["¡","§"],"©","«","¬","®","°","±","¶","»","¿","×","÷",["‐","‧"],["‰","‾"],["⁁","⁓"],["⁕","⁞"],["←",""],["─","❵"],["➔","⯿"],["⸀",""],["、","〃"],["〈","〠"],"〰","﴾","﴿","﹅","﹆"],!1,!1),ue=peg$otherExpectation("optional whitespace"),le=peg$otherExpectation("number"),pe=peg$literalExpectation("-",!1),fe=(peg$otherExpectation("apostrophe"),peg$otherExpectation("double apostrophes")),de=peg$literalExpectation("''",!1),peg$c79=function(e){return!("{"===e||isInPluralOption()&&"#"===e||function isNestedMessageText(){return je.length>1}()&&"}"===e)},he=peg$literalExpectation("\n",!1),ge=peg$otherExpectation("argNameOrNumber"),me=peg$otherExpectation("argNumber"),be=peg$literalExpectation("0",!1),ye=/^[1-9]/,ve=peg$classExpectation([["1","9"]],!1,!1),ke=/^[0-9]/,we=peg$classExpectation([["0","9"]],!1,!1),Oe=peg$otherExpectation("argName"),Se=0,e=0,xe=[{line:1,column:1}],Ee=0,Ae=[],Ce=0;if(void 0!==r.startRule){if(!(r.startRule in a))throw new Error("Can't start parsing from rule ""+r.startRule+'".');c=a[r.startRule]}function text(){return e.substring(e,Se)}function location(){return peg$computeLocation(e,Se)}function error(e,r){throw function peg$buildSimpleError(e,r){return new s(e,[],"",r)}(e,r=void 0!==r?r:peg$computeLocation(e,Se))}function peg$literalExpectation(e,r){return{type:"literal",text:e,ignoreCase:r}}function peg$classExpectation(e,r,n){return{type:"class",parts:e,inverted:r,ignoreCase:n}}function peg$otherExpectation(e){return{type:"other",description:e}}function peg$computePosDetails(r){var n,o=xe[r];if(o)return o;for(n=r-1;!xe[n];)n--;for(o={line:(o=xe[n]).line,column:o.column};n<r;)10===e.charCodeAt(n)?(o.line++,o.column=1):o.column++,n++;return xe[r]=o,o}function peg$computeLocation(e,r){var n=peg$computePosDetails(e),o=peg$computePosDetails(r);return{start:{offset:e,line:n.line,column:n.column},end:{offset:r,line:o.line,column:o.column}}}function peg$fail(e){Se<Ee||(Se>Ee&&(Ee=Se,Ae=[]),Ae.push(e))}function peg$buildStructuredError(e,r,n){return new s(s.buildMessage(e,r),e,r,n)}function peg$parsestart(){return peg$parsemessage()}function peg$parsemessage(){var e,r;for(e=[],r=peg$parsemessageElement();r!==i;)e.push(r),r=peg$parsemessageElement();return e}function peg$parsemessageElement(){var r;return(r=function peg$parseliteralElement(){var e,r;e=Se,(r=peg$parsemessageText())!==i&&(e=e,n=r,r=assign({type:o.literal,value:n},insertLocation()));var n;return e=r}())===i&&(r=function peg$parseargumentElement(){var r,n,a,s;Ce++,r=Se,123===e.charCodeAt(Se)?(n="{",Se++):(n=i,0===Ce&&peg$fail(f));n!==i&&peg$parse()!==i&&(a=peg$parseargNameOrNumber())!==i&&peg$parse()!==i?(125===e.charCodeAt(Se)?(s="}",Se++):(s=i,0===Ce&&peg$fail(g)),s!==i?(e=r,c=a,n=assign({type:o.argument,value:c},insertLocation()),r=n):(Se=r,r=i)):(Se=r,r=i);var c;Ce--,r===i&&(n=i,0===Ce&&peg$fail(p));return r}())===i&&(r=function peg$parsesimpleFormatElement(){var r;(r=function peg$parsenumberFormatElement(){var r,n,o,a,s,c,u,p,b;r=Se,123===e.charCodeAt(Se)?(n="{",Se++):(n=i,0===Ce&&peg$fail(f));n!==i&&peg$parse()!==i&&(o=peg$parseargNameOrNumber())!==i&&peg$parse()!==i?(44===e.charCodeAt(Se)?(a=",",Se++):(a=i,0===Ce&&peg$fail(M)),a!==i&&peg$parse()!==i?("number"===e.substr(Se,6)?(s="number",Se+=6):(s=i,0===Ce&&peg$fail(R)),s!==i&&peg$parse()!==i?(c=Se,44===e.charCodeAt(Se)?(u=",",Se++):(u=i,0===Ce&&peg$fail(M)),u!==i&&(p=peg$parse())!==i&&(b=function peg$parsenumberArgStyle(){var r,n,o;r=Se,"::"===e.substr(Se,2)?(n="::",Se+=2):(n=i,0===Ce&&peg$fail(I));n!==i&&(o=function peg$parsenumberSkeleton(){var e,r,n;if(e=Se,r=[],(n=peg$parsenumberSkeletonToken())!==i)for(;n!==i;)r.push(n),n=peg$parsenumberSkeletonToken();else r=i;r!==i&&(e=e,r=assign({type:0,tokens:r},insertLocation()));return e=r}())!==i?(e=r,r=n=o):(Se=r,r=i);r===i&&(r=Se,e=Se,je.push("numberArgStyle"),(n=(n=!0)?void 0:i)!==i&&(o=peg$parsemessageText())!==i?(e=r,n=peg$c26(o),r=n):(Se=r,r=i));return r}())!==i?c=u=[u,p,b]:(Se=c,c=i),c===i&&(c=null),c!==i&&(u=peg$parse())!==i?(125===e.charCodeAt(Se)?(p="}",Se++):(p=i,0===Ce&&peg$fail(g)),p!==i?(e=r,n=peg$c31(o,s,c),r=n):(Se=r,r=i)):(Se=r,r=i)):(Se=r,r=i)):(Se=r,r=i)):(Se=r,r=i);return r}())===i&&(r=function peg$parsedateOrTimeFormatElement(){var r,n,o,a,s,c,u,p,b;r=Se,123===e.charCodeAt(Se)?(n="{",Se++):(n=i,0===Ce&&peg$fail(f));n!==i&&peg$parse()!==i&&(o=peg$parseargNameOrNumber())!==i&&peg$parse()!==i?(44===e.charCodeAt(Se)?(a=",",Se++):(a=i,0===Ce&&peg$fail(M)),a!==i&&peg$parse()!==i?("date"===e.substr(Se,4)?(s="date",Se+=4):(s=i,0===Ce&&peg$fail(W)),s===i&&("time"===e.substr(Se,4)?(s="time",Se+=4):(s=i,0===Ce&&peg$fail(Y))),s!==i&&peg$parse()!==i?(c=Se,44===e.charCodeAt(Se)?(u=",",Se++):(u=i,0===Ce&&peg$fail(M)),u!==i&&(p=peg$parse())!==i&&(b=function peg$parsedateOrTimeArgStyle(){var r,n,o;r=Se,"::"===e.substr(Se,2)?(n="::",Se+=2):(n=i,0===Ce&&peg$fail(I));n!==i&&(o=function peg$parsedateTimeSkeleton(){var r,n,o,a;r=Se,n=Se,o=[],(a=peg$parsedateTimeSkeletonLiteral())===i&&(a=peg$parsedateTimeSkeletonPattern());if(a!==i)for(;a!==i;)o.push(a),(a=peg$parsedateTimeSkeletonLiteral())===i&&(a=peg$parsedateTimeSkeletonPattern());else o=i;n=o!==i?e.substring(n,Se):o;n!==i&&(e=r,n=assign({type:1,pattern:n},insertLocation()));return r=n}())!==i?(e=r,r=n=o):(Se=r,r=i);r===i&&(r=Se,e=Se,je.push("dateOrTimeArgStyle"),(n=(n=!0)?void 0:i)!==i&&(o=peg$parsemessageText())!==i?(e=r,n=peg$c26(o),r=n):(Se=r,r=i));return r}())!==i?c=u=[u,p,b]:(Se=c,c=i),c===i&&(c=null),c!==i&&(u=peg$parse())!==i?(125===e.charCodeAt(Se)?(p="}",Se++):(p=i,0===Ce&&peg$fail(g)),p!==i?(e=r,n=peg$c31(o,s,c),r=n):(Se=r,r=i)):(Se=r,r=i)):(Se=r,r=i)):(Se=r,r=i)):(Se=r,r=i);return r}());return r}())===i&&(r=function peg$parsepluralElement(){var r,n,a,s,c,u,p,b,k,w,;r=Se,123===e.charCodeAt(Se)?(n="{",Se++):(n=i,0===Ce&&peg$fail(f));if(n!==i)if(peg$parse()!==i)if((a=peg$parseargNameOrNumber())!==i)if(peg$parse()!==i)if(44===e.charCodeAt(Se)?(s=",",Se++):(s=i,0===Ce&&peg$fail(M)),s!==i)if(peg$parse()!==i)if("plural"===e.substr(Se,6)?(c="plural",Se+=6):(c=i,0===Ce&&peg$fail(Z)),c===i&&("selectordinal"===e.substr(Se,13)?(c="selectordinal",Se+=13):(c=i,0===Ce&&peg$fail(X))),c!==i)if(peg$parse()!==i)if(44===e.charCodeAt(Se)?(u=",",Se++):(u=i,0===Ce&&peg$fail(M)),u!==i)if(peg$parse()!==i)if(p=Se,"offset:"===e.substr(Se,7)?(b="offset:",Se+=7):(b=i,0===Ce&&peg$fail(ee)),b!==i&&(k=peg$parse())!==i&&(w=peg$parsenumber())!==i?p=b=[b,k,w]:(Se=p,p=i),p===i&&(p=null),p!==i)if((b=peg$parse())!==i){if(k=[],(w=peg$parsepluralOption())!==i)for(;w!==i;)k.push(w),w=peg$parsepluralOption();else k=i;k!==i&&(w=peg$parse())!==i?(125===e.charCodeAt(Se)?(="}",Se++):(=i,0===Ce&&peg$fail(g)),!==i?(e=r,n=function(e,r,n,i){return assign({type:o.plural,pluralType:"plural"===r?"cardinal":"ordinal",value:e,offset:n?n[2]:0,options:i.reduce((function(e,r){var n=r.id,o=r.value,i=r.location;return n in e&&error('Duplicate option "'+n+'" in plural element: "'+text()+'"',location()),e[n]={value:o,location:i},e}),{})},insertLocation())}(a,c,p,k),r=n):(Se=r,r=i)):(Se=r,r=i)}else Se=r,r=i;else Se=r,r=i;else Se=r,r=i;else Se=r,r=i;else Se=r,r=i;else Se=r,r=i;else Se=r,r=i;else Se=r,r=i;else Se=r,r=i;else Se=r,r=i;else Se=r,r=i;else Se=r,r=i;return r}())===i&&(r=function peg$parseselectElement(){var r,n,a,s,c,u,p,b,k;r=Se,123===e.charCodeAt(Se)?(n="{",Se++):(n=i,0===Ce&&peg$fail(f));if(n!==i)if(peg$parse()!==i)if((a=peg$parseargNameOrNumber())!==i)if(peg$parse()!==i)if(44===e.charCodeAt(Se)?(s=",",Se++):(s=i,0===Ce&&peg$fail(M)),s!==i)if(peg$parse()!==i)if("select"===e.substr(Se,6)?(c="select",Se+=6):(c=i,0===Ce&&peg$fail(te)),c!==i)if(peg$parse_()!==i)if(44===e.charCodeAt(Se)?(u=",",Se++):(u=i,0===Ce&&peg$fail(M)),u!==i)if(peg$parse_()!==i){if(p=[],(b=peg$parseselectOption())!==i)for(;b!==i;)p.push(b),b=peg$parseselectOption();else p=i;p!==i&&(b=peg$parse_())!==i?(125===e.charCodeAt(Se)?(k="}",Se++):(k=i,0===Ce&&peg$fail(g)),k!==i?(_e=r,n=function(e,r){return _assign({type:o.select,value:e,options:r.reduce((function(e,r){var n=r.id,o=r.value,i=r.location;return n in e&&error('Duplicate option "'+n+'" in select element: "'+text()+'"',location()),e[n]={value:o,location:i},e}),{})},insertLocation())}(a,p),r=n):(Se=r,r=i)):(Se=r,r=i)}else Se=r,r=i;else Se=r,r=i;else Se=r,r=i;else Se=r,r=i;else Se=r,r=i;else Se=r,r=i;else Se=r,r=i;else Se=r,r=i;else Se=r,r=i;else Se=r,r=i;return r}())===i&&(r=function peg$parsepoundElement(){var r,n;r=Se,35===e.charCodeAt(Se)?(n="#",Se++):(n=i,0===Ce&&peg$fail(u));n!==i&&(e=r,n=__assign({type:o.pound},insertLocation()));return r=n}()),r}function peg$parsemessageText(){var e,r,n;if(e=Se,r=[],(n=peg$parsedoubleApostrophes())===i&&(n=peg$parsequotedString())===i&&(n=peg$parseunquotedString()),n!==i)for(;n!==i;)r.push(n),(n=peg$parsedoubleApostrophes())===i&&(n=peg$parsequotedString())===i&&(n=peg$parseunquotedString());else r=i;return r!==i&&(e=e,r=r.join("")),e=r}function peg$parsenumberSkeletonId(){var r,n,o,a,s;if(Ce++,r=Se,n=[],o=Se,a=Se,Ce++,(s=peg$parsewhiteSpace())===i&&(k.test(e.charAt(Se))?(s=e.charAt(Se),Se++):(s=i,0===Ce&&peg$fail(w))),Ce--,s===i?a=void 0:(Se=a,a=i),a!==i?(e.length>Se?(s=e.charAt(Se),Se++):(s=i,0===Ce&&peg$fail()),s!==i?o=a=[a,s]:(Se=o,o=i)):(Se=o,o=i),o!==i)for(;o!==i;)n.push(o),o=Se,a=Se,Ce++,(s=peg$parsewhiteSpace())===i&&(k.test(e.charAt(Se))?(s=e.charAt(Se),Se++):(s=i,0===Ce&&peg$fail(w))),Ce--,s===i?a=void 0:(Se=a,a=i),a!==i?(e.length>Se?(s=e.charAt(Se),Se++):(s=i,0===Ce&&peg$fail()),s!==i?o=a=[a,s]:(Se=o,o=i)):(Se=o,o=i);else n=i;return r=n!==i?e.substring(r,Se):n,Ce--,r===i&&(n=i,0===Ce&&peg$fail(b)),r}function peg$parsenumberSkeletonTokenOption(){var r,n,o;return Ce++,r=Se,47===e.charCodeAt(Se)?(n="/",Se++):(n=i,0===Ce&&peg$fail(j)),n!==i&&(o=peg$parsenumberSkeletonId())!==i?(e=r,r=n=o):(Se=r,r=i),Ce--,r===i&&(n=i,0===Ce&&peg$fail(x)),r}function peg$parsenumberSkeletonToken(){var e,r,n,o;if(Ce++,e=Se,peg$parse()!==i)if((r=peg$parsenumberSkeletonId())!==i){for(n=[],o=peg$parsenumberSkeletonTokenOption();o!==i;)n.push(o),o=peg$parsenumberSkeletonTokenOption();n!==i?(e=e,e=function(e,r){return{stem:e,options:r}}(r,n)):(Se=e,e=i)}else Se=e,e=i;else Se=e,e=i;return Ce--,e===i&&(i,0===Ce&&peg$fail(T)),e}function peg$parsedateTimeSkeletonLiteral(){var r,n,o,a;if(r=Se,39===e.charCodeAt(Se)?(n="'",Se++):(n=i,0===Ce&&peg$fail(F)),n!==i){if(o=[],(a=peg$parsedoubleApostrophes())===i&&(U.test(e.charAt(Se))?(a=e.charAt(Se),Se++):(a=i,0===Ce&&peg$fail(q))),a!==i)for(;a!==i;)o.push(a),(a=peg$parsedoubleApostrophes())===i&&(U.test(e.charAt(Se))?(a=e.charAt(Se),Se++):(a=i,0===Ce&&peg$fail(q)));else o=i;o!==i?(39===e.charCodeAt(Se)?(a="'",Se++):(a=i,0===Ce&&peg$fail(F)),a!==i?r=n=[n,o,a]:(Se=r,r=i)):(Se=r,r=i)}else Se=r,r=i;if(r===i)if(r=[],(n=peg$parsedoubleApostrophes())===i&&(H.test(e.charAt(Se))?(n=e.charAt(Se),Se++):(n=i,0===Ce&&peg$fail(B))),n!==i)for(;n!==i;)r.push(n),(n=peg$parsedoubleApostrophes())===i&&(H.test(e.charAt(Se))?(n=e.charAt(Se),Se++):(n=i,0===Ce&&peg$fail(B)));else r=i;return r}function peg$parsedateTimeSkeletonPattern(){var r,n;if(r=[],V.test(e.charAt(Se))?(n=e.charAt(Se),Se++):(n=i,0===Ce&&peg$fail(G)),n!==i)for(;n!==i;)r.push(n),V.test(e.charAt(Se))?(n=e.charAt(Se),Se++):(n=i,0===Ce&&peg$fail(G));else r=i;return r}function peg$parseselectOption(){var r,n,o,a,s,c,u;return r=Se,peg$parse()!==i&&(n=peg$parseargName())!==i&&peg$parse()!==i?(123===e.charCodeAt(Se)?(o="{",Se++):(o=i,0===Ce&&peg$fail(f)),o!==i?(_e=Se,je.push("select"),(!0?void 0:i)!==i&&(a=peg$parsemessage())!==i?(125===e.charCodeAt(Se)?(s="}",Se++):(s=i,0===Ce&&peg$fail(g)),s!==i?(_e=r,c=n,u=a,je.pop(),r=assign({id:c,value:u},insertLocation())):(Se=r,r=i)):(Se=r,r=i)):(Se=r,r=i)):(Se=r,r=i),r}function peg$parsepluralOption(){var r,n,o,a,s,c,u;return r=Se,peg$parse()!==i&&(n=function peg$parsepluralRuleSelectValue(){var r,n,o,a;return r=Se,n=Se,61===e.charCodeAt(Se)?(o="=",Se++):(o=i,0===Ce&&peg$fail(re)),o!==i&&(a=peg$parsenumber())!==i?n=o=[o,a]:(Se=n,n=i),(r=n!==i?e.substring(r,Se):n)===i&&(r=peg$parseargName()),r}())!==i&&peg$parse()!==i?(123===e.charCodeAt(Se)?(o="{",Se++):(o=i,0===Ce&&peg$fail(f)),o!==i?(_e=Se,je.push("plural"),(!0?void 0:i)!==i&&(a=peg$parsemessage())!==i?(125===e.charCodeAt(Se)?(s="}",Se++):(s=i,0===Ce&&peg$fail(g)),s!==i?(_e=r,c=n,u=a,je.pop(),r=_assign({id:c,value:u},insertLocation())):(Se=r,r=i)):(Se=r,r=i)):(Se=r,r=i)):(Se=r,r=i),r}function peg$parsewhiteSpace(){var r;return Ce++,oe.test(e.charAt(Se))?(r=e.charAt(Se),Se++):(r=i,0===Ce&&peg$fail(ie)),Ce--,r===i&&(i,0===Ce&&peg$fail(ne)),r}function peg$parsepatternSyntax(){var r;return Ce++,se.test(e.charAt(Se))?(r=e.charAt(Se),Se++):(r=i,0===Ce&&peg$fail(ce)),Ce--,r===i&&(i,0===Ce&&peg$fail(ae)),r}function peg$parse(){var r,n,o;for(Ce++,r=Se,n=[],o=peg$parsewhiteSpace();o!==i;)n.push(o),o=peg$parsewhiteSpace();return r=n!==i?e.substring(r,Se):n,Ce--,r===i&&(n=i,0===Ce&&peg$fail(ue)),r}function peg$parsenumber(){var r,n,o,a,s;return Ce++,r=Se,45===e.charCodeAt(Se)?(n="-",Se++):(n=i,0===Ce&&peg$fail(pe)),n===i&&(n=null),n!==i&&(o=peg$parseargNumber())!==i?(_e=r,a=n,r=n=(s=o)?a?-s:s:0):(Se=r,r=i),Ce--,r===i&&(n=i,0===Ce&&peg$fail(le)),r}function peg$parsedoubleApostrophes(){var r,n;return Ce++,r=Se,"''"===e.substr(Se,2)?(n="''",Se+=2):(n=i,0===Ce&&peg$fail(de)),n!==i&&(e=r,n="'"),Ce--,(r=n)===i&&(n=i,0===Ce&&peg$fail(fe)),r}function peg$parsequotedString(){var r,n,o,a,s,c;if(r=Se,39===e.charCodeAt(Se)?(n="'",Se++):(n=i,0===Ce&&peg$fail(F)),n!==i)if((o=function peg$parseescapedChar(){var r,n,o,a;r=Se,n=Se,e.length>Se?(o=e.charAt(Se),Se++):(o=i,0===Ce&&peg$fail());o!==i?(_e=Se,(a=(a="{"===(s=o)||"}"===s||isInPluralOption()&&"#"===s)?void 0:i)!==i?n=o=[o,a]:(Se=n,n=i)):(Se=n,n=i);var s;r=n!==i?e.substring(r,Se):n;return r}())!==i){for(a=Se,s=[],"''"===e.substr(Se,2)?(c="''",Se+=2):(c=i,0===Ce&&peg$fail(de)),c===i&&(U.test(e.charAt(Se))?(c=e.charAt(Se),Se++):(c=i,0===Ce&&peg$fail(q)));c!==i;)s.push(c),"''"===e.substr(Se,2)?(c="''",Se+=2):(c=i,0===Ce&&peg$fail(de)),c===i&&(U.test(e.charAt(Se))?(c=e.charAt(Se),Se++):(c=i,0===Ce&&peg$fail(q)));(a=s!==i?e.substring(a,Se):s)!==i?(39===e.charCodeAt(Se)?(s="'",Se++):(s=i,0===Ce&&peg$fail(F)),s===i&&(s=null),s!==i?(e=r,r=n=o+a.replace("''","'")):(Se=r,r=i)):(Se=r,r=i)}else Se=r,r=i;else Se=r,r=i;return r}function peg$parseunquotedString(){var r,n,o,a;return r=Se,n=Se,e.length>Se?(o=e.charAt(Se),Se++):(o=i,0===Ce&&peg$fail()),o!==i?(_e=Se,(a=(a=peg$c79(o))?void 0:i)!==i?n=o=[o,a]:(Se=n,n=i)):(Se=n,n=i),n===i&&(10===e.charCodeAt(Se)?(n="\n",Se++):(n=i,0===Ce&&peg$fail(he))),r=n!==i?e.substring(r,Se):n}function peg$parseargNameOrNumber(){var r,n;return Ce++,r=Se,(n=peg$parseargNumber())===i&&(n=peg$parseargName()),r=n!==i?e.substring(r,Se):n,Ce--,r===i&&(n=i,0===Ce&&peg$fail(ge)),r}function peg$parseargNumber(){var r,n,o,a,s;if(Ce++,r=Se,48===e.charCodeAt(Se)?(n="0",Se++):(n=i,0===Ce&&peg$fail(be)),n!==i&&(e=r,n=0),(r=n)===i){if(r=Se,n=Se,ye.test(e.charAt(Se))?(o=e.charAt(Se),Se++):(o=i,0===Ce&&peg$fail(ve)),o!==i){for(a=[],ke.test(e.charAt(Se))?(s=e.charAt(Se),Se++):(s=i,0===Ce&&peg$fail(we));s!==i;)a.push(s),ke.test(e.charAt(Se))?(s=e.charAt(Se),Se++):(s=i,0===Ce&&peg$fail(we));a!==i?n=o=[o,a]:(Se=n,n=i)}else Se=n,n=i;n!==i&&(e=r,n=parseInt(n.join(""),10)),r=n}return Ce--,r===i&&(n=i,0===Ce&&peg$fail(me)),r}function peg$parseargName(){var r,n,o,a,s;if(Ce++,r=Se,n=[],o=Se,a=Se,Ce++,(s=peg$parsewhiteSpace())===i&&(s=peg$parsepatternSyntax()),Ce--,s===i?a=void 0:(Se=a,a=i),a!==i?(e.length>Se?(s=e.charAt(Se),Se++):(s=i,0===Ce&&peg$fail()),s!==i?o=a=[a,s]:(Se=o,o=i)):(Se=o,o=i),o!==i)for(;o!==i;)n.push(o),o=Se,a=Se,Ce++,(s=peg$parsewhiteSpace())===i&&(s=peg$parsepatternSyntax()),Ce--,s===i?a=void 0:(Se=a,a=i),a!==i?(e.length>Se?(s=e.charAt(Se),Se++):(s=i,0===Ce&&peg$fail()),s!==i?o=a=[a,s]:(Se=o,o=i)):(Se=o,o=i);else n=i;return r=n!==i?e.substring(r,Se):n,Ce--,r===i&&(n=i,0===Ce&&peg$fail(Oe)),r}var je=["root"];function isInPluralOption(){return"plural"===je[je.length-1]}function insertLocation(){return r&&r.captureLocation?{location:location()}:{}}if((n=c())!==i&&Se===e.length)return n;throw n!==i&&Se<e.length&&peg$fail({type:"end"}),peg$buildStructuredError(Ae,Ee<e.length?e.charAt(Ee):null,Ee<e.length?peg$computeLocation(Ee,Ee+1):peg$computeLocation(Ee,Ee))},__spreadArrays=function(){for(var e=0,r=0,n=arguments.length;r<n;r++)e+=arguments[r].length;var o=Array(e),i=0;for(r=0;r<n;r++)for(var a=arguments[r],s=0,c=a.length;s<c;s++,i++)o[i]=a[s];return o},u=/(^|[^\\])#/g;function parse(e,r){var n=c(e,r);return r&&!1===r.normalizeHashtagInPlural||function normalizeHashtagInPlural(e){e.forEach((function(e){(isPluralElement(e)||isSelectElement(e))&&Object.keys(e.options).forEach((function(r){for(var n,o=e.options[r],i=-1,a=void 0,s=0;s<o.value.length;s++){var p=o.value[s];if(isLiteralElement(p)&&u.test(p.value)){i=s,a=p;break}}if(a){var f=a.value.replace(u,"$1{"+e.value+", number}"),g=c(f);(n=o.value).splice.apply(n,__spreadArrays([i,1],g))}normalizeHashtagInPlural(o.value)}))}))}(n),n}var p=n(45),skeleton_assign=function(){return(skeleton_assign=Object.assign||function(e){for(var r,n=1,o=arguments.length;n<o;n++)for(var i in r=arguments[n])Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i]);return e}).apply(this,arguments)},f=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']'[^']')[^']$)/g;function parseDateTimeSkeleton(e){var r={};return e.replace(f,(function(e){var n=e.length;switch(e[0]){case"G":r.era=4===n?"long":5===n?"narrow":"short";break;case"y":r.year=2===n?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("Y/u/U/r
(year) patterns are not supported, usey
instead");case"q":case"Q":throw new RangeError("q/Q
(quarter) patterns are not supported");case"M":case"L":r.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("w/W
(week) patterns are not supported");case"d":r.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("D/F/g
(day) patterns are not supported, used
instead");case"E":r.weekday=4===n?"short":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("e..eee
(weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("c..ccc
(weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][n-4];break;case"a":r.hour12=!0;break;case"b":case"B":throw new RangeError("b/B
(period) patterns are not supported, usea
instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][n-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][n-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][n-1];break;case"k":r.hourCycle="h24",r.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("j/J/C
(hour) patterns are not supported, useh/H/K/k
instead");case"m":r.minute=["numeric","2-digit"][n-1];break;case"s":r.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("S/A
(second) pattenrs are not supported, uses
instead");case"z":r.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("Z/O/v/V/X/x
(timeZone) pattenrs are not supported, usez
instead")}return""})),r}var g=/^.(?:(0+)(+|#+)?)?$/g,b=/^(@+)?(+|#+)?$/g;function parseSignificantPrecision(e){var r={};return e.replace(b,(function(e,n,o){return"string"!=typeof o?(r.minimumSignificantDigits=n.length,r.maximumSignificantDigits=n.length):"+"===o?r.minimumSignificantDigits=n.length:"#"===n[0]?r.maximumSignificantDigits=n.length:(r.minimumSignificantDigits=n.length,r.maximumSignificantDigits=n.length+("string"==typeof o?o.length:0)),""})),r}function parseSign(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":return{currencySign:"accounting"};case"sign-always":return{signDisplay:"always"};case"sign-accounting-always":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":return{signDisplay:"never"}}}function parseNotationOptions(e){var r=parseSign(e);return r||{}}function convertNumberSkeletonToNumberFormatOptions(e){for(var r={},n=0,o=e;n<o.length;n++){var i=o[n];switch(i.stem){case"percent":r.style="percent";continue;case"currency":r.style="currency",r.currency=i.options[0];continue;case"group-off":r.useGrouping=!1;continue;case"precision-integer":r.maximumFractionDigits=0;continue;case"measure-unit":r.style="unit",r.unit=i.options[0].replace(/^(.?)-/,"");continue;case"compact-short":r.notation="compact",r.compactDisplay="short";continue;case"compact-long":r.notation="compact",r.compactDisplay="long";continue;case"scientific":r=skeleton_assign(skeleton_assign(skeleton_assign({},r),{notation:"scientific"}),i.options.reduce((function(e,r){return skeleton_assign(skeleton_assign({},e),parseNotationOptions(r))}),{}));continue;case"engineering":r=skeleton_assign(skeleton_assign(skeleton_assign({},r),{notation:"engineering"}),i.options.reduce((function(e,r){return skeleton_assign(skeleton_assign({},e),parseNotationOptions(r))}),{}));continue;case"notation-simple":r.notation="standard";continue;case"unit-width-narrow":r.currencyDisplay="narrowSymbol",r.unitDisplay="narrow";continue;case"unit-width-short":r.currencyDisplay="code",r.unitDisplay="short";continue;case"unit-width-full-name":r.currencyDisplay="name",r.unitDisplay="long";continue;case"unit-width-iso-code":r.currencyDisplay="symbol";continue}if(g.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(g,(function(e,n,o){return"."===e?r.maximumFractionDigits=0:"+"===o?r.minimumFractionDigits=o.length:"#"===n[0]?r.maximumFractionDigits=n.length:(r.minimumFractionDigits=n.length,r.maximumFractionDigits=n.length+("string"==typeof o?o.length:0)),""})),i.options.length&&(r=skeleton_assign(skeleton_assign({},r),parseSignificantPrecision(i.options[0])))}else if(b.test(i.stem))r=skeleton_assign(skeleton_assign({},r),parseSignificantPrecision(i.stem));else{var a=parseSign(i.stem);a&&(r=skeleton_assign(skeleton_assign({},r),a))}}return r}var k,w=function(){var extendStatics=function(e,r){return(extendStatics=Object.setPrototypeOf||{proto:[]}instanceof Array&&function(e,r){e.proto=r}||function(e,r){for(var n in r)r.hasOwnProperty(n)&&(e[n]=r[n])})(e,r)};return function(e,r){function (){this.constructor=e}extendStatics(e,r),e.prototype=null===r?Object.create(r):(.prototype=r.prototype,new __)}}(),formatters_spreadArrays=function(){for(var e=0,r=0,n=arguments.length;r<n;r++)e+=arguments[r].length;var o=Array(e),i=0;for(r=0;r<n;r++)for(var a=arguments[r],s=0,c=a.length;s<c;s++,i++)o[i]=a[s];return o},=function(e){function FormatError(r,n){var o=e.call(this,r)||this;return o.variableId=n,o}return w(FormatError,e),FormatError}(Error);function formatToParts(e,r,n,o,i,a,s){if(1===e.length&&isLiteralElement(e[0]))return[{type:0,value:e[0].value}];for(var c=[],u=0,p=e;u<p.length;u++){var f=p[u];if(isLiteralElement(f))c.push({type:0,value:f.value});else if(isPoundElement(f))"number"==typeof a&&c.push({type:0,value:n.getNumberFormat(r).format(a)});else{var g=f.value;if(!i||!(g in i))throw new ('The intl string context variable "'+g+'" was not provided to the string "'+s+'"');var b=i[g];if(isArgumentElement(f))b&&"string"!=typeof b&&"number"!=typeof b||(b="string"==typeof b||"number"==typeof b?String(b):""),c.push({type:1,value:b});else if(isDateElement(f)){var k="string"==typeof f.style?o.date[f.style]:void 0;c.push({type:0,value:n.getDateTimeFormat(r,k).format(b)})}else if(isTimeElement(f)){k="string"==typeof f.style?o.time[f.style]:isDateTimeSkeleton(f.style)?parseDateTimeSkeleton(f.style.pattern):void 0;c.push({type:0,value:n.getDateTimeFormat(r,k).format(b)})}else if(isNumberElement(f)){k="string"==typeof f.style?o.number[f.style]:isNumberSkeleton(f.style)?convertNumberSkeletonToNumberFormatOptions(f.style.tokens):void 0;c.push({type:0,value:n.getNumberFormat(r,k).format(b)})}else if(isSelectElement(f)){if(!(w=f.options[b]||f.options.other))throw new RangeError('Invalid values for "'+f.value+'": "'+b+'". Options are "'+Object.keys(f.options).join('", "')+'"');c.push.apply(c,formatToParts(w.value,r,n,o,i))}else if(isPluralElement(f)){var w;if(!(w=f.options["="+b])){if(!Intl.PluralRules)throw new ('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n');var x=n.getPluralRules(r,{type:f.pluralType}).select(b-(f.offset||0));w=f.options[x]||f.options.other}if(!w)throw new RangeError('Invalid values for "'+f.value+'": "'+b+'". Options are "'+Object.keys(f.options).join('", "')+'"');c.push.apply(c,formatToParts(w.value,r,n,o,i,b-(f.offset||0)))}else;}}return function mergeLiteral(e){return e.length<2?e:e.reduce((function(e,r){var n=e[e.length-1];return n&&0===n.type&&0===r.type?n.value+=r.value:e.push(r),e}),[])}(c)}var x=/@@(\d+\d+)@@/g,j=0;function restoreRichPlaceholderMessage(e,r){return e.split(x).filter(Boolean).map((function(e){return null!=r[e]?r[e]:e})).reduce((function(e,r){return e.length&&"string"==typeof r&&"string"==typeof e[e.length-1]?e[e.length-1]+=r:e.push(r),e}),[])}var T=/(<([0-9a-zA-Z-]?)>(.?)</([0-9a-zA-Z-]?)>)|(<[0-9a-zA-Z-_]?/>)/,I=Date.now()+"@@",M=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function formatHTMLMessage(e,r,n,o,i,a){var s=formatToParts(e,r,n,o,i,void 0,a),c={},u=s.reduce((function(e,r){if(0===r.type)return e+r.value;var n=function generateId(){return Date.now()+""+ ++j}();return c[n]=r.value,e+"@@"+n+"@@"}),"");if(!T.test(u))return restoreRichPlaceholderMessage(u,c);if(!i)throw new ("Message has placeholders but no values was given");if("undefined"==typeof DOMParser)throw new ("Cannot format XML message without DOMParser");k||(k=new DOMParser);var p=k.parseFromString(''+u+"","text/html").getElementById(I);if(!p)throw new ("Malformed HTML message "+u);var f=Object.keys(i).filter((function(e){return!!p.getElementsByTagName(e).length}));if(!f.length)return restoreRichPlaceholderMessage(u,c);var g=f.filter((function(e){return e!==e.toLowerCase()}));if(g.length)throw new ("HTML tag must be lowercased but the following tags are not: "+g.join(", "));return Array.prototype.slice.call(p.childNodes).reduce((function(e,r){return e.concat(function formatHTMLElement(e,r,n){var o=e.tagName,i=e.outerHTML,a=e.textContent,s=e.childNodes;if(!o)return restoreRichPlaceholderMessage(a||"",r);o=o.toLowerCase();var c=~M.indexOf(o),u=n[o];if(u&&c)throw new (o+" is a self-closing tag and can not be used, please use another tag name.");if(!s.length)return[i];var p=Array.prototype.slice.call(s).reduce((function(e,o){return e.concat(formatHTMLElement(o,r,n))}),[]);return u?"function"==typeof u?[u.apply(void 0,p)]:[u]:formatters_spreadArrays(["<"+o+">"],p,["</"+o+">"])}(r,c,i))}),[])}var core_assign=function(){return(core_assign=Object.assign||function(e){for(var r,n=1,o=arguments.length;n<o;n++)for(var i in r=arguments[n])Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i]);return e}).apply(this,arguments)};function mergeConfigs(e,r){return r?Object.keys(e).reduce((function(n,o){return n[o]=function mergeConfig(e,r){return r?core_assign(core_assign(core_assign({},e||{}),r||{}),Object.keys(e).reduce((function(n,o){return n[o]=core_assign(core_assign({},e[o]),r[o]||{}),n}),{})):e}(e[o],r[o]),n}),core_assign({},e)):e}var R=function(){function IntlMessageFormat(e,r,n,o){var i=this;if(void 0===r&&(r=IntlMessageFormat.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){return function formatToString(e,r,n,o,i,a){var s=formatToParts(e,r,n,o,i,void 0,a);return 1===s.length?s[0].value:s.reduce((function(e,r){return e+r.value}),"")}(i.ast,i.locales,i.formatters,i.formats,e,i.message)},this.formatToParts=function(e){return formatToParts(i.ast,i.locales,i.formatters,i.formats,e,void 0,i.message)},this.formatHTMLMessage=function(e){return formatHTMLMessage(i.ast,i.locales,i.formatters,i.formats,e,i.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(i.locales)[0]}},this.getAst=function(){return i.ast},"string"==typeof e){if(this.message=e,!IntlMessageFormat.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to processmessage
of typestring
");this.ast=IntlMessageFormat.__parse(e,{normalizeHashtagInPlural:!1})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=mergeConfigs(IntlMessageFormat.formats,n),this.locales=r,this.formatters=o&&o.formatters||function createDefaultFormatters(e){return void 0===e&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Object(p.a)(Intl.NumberFormat,e.number),getDateTimeFormat:Object(p.a)(Intl.DateTimeFormat,e.dateTime),getPluralRules:Object(p.a)(Intl.PluralRules,e.pluralRules)}}(this.formatterCache)}return IntlMessageFormat.defaultLocale=(new Intl.NumberFormat).resolvedOptions().locale,IntlMessageFormat.__parse=parse,IntlMessageFormat.formats={number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},IntlMessageFormat}();r.a=R},146:function(e,r,n){"use strict";e.exports=function shallowEqualObjects(e,r){if(e===r)return!0;if(!e||!r)return!1;var n=Object.keys(e),o=Object.keys(r),i=n.length;if(o.length!==i)return!1;for(var a=0;a<i;a++){var s=n[a];if(e[s]!==r[s]||!Object.prototype.hasOwnProperty.call(r,s))return!1}return!0}},15:function(e,r,n){"use strict";n.d(r,"e",(function(){return escape})),n.d(r,"f",(function(){return filterProps})),n.d(r,"h",(function(){return invariantIntlContext})),n.d(r,"b",(function(){return createError})),n.d(r,"a",(function(){return p})),n.d(r,"d",(function(){return createIntlCache})),n.d(r,"c",(function(){return createFormatters})),n.d(r,"g",(function(){return getNamedFormat}));var o=n(0),i=n(142),a=n(45),s=n(256);const c={38:"&",62:">",60:"<",34:""",39:"'"},u=/[&><"']/g;function escape(e){return(""+e).replace(u,e=>c[e.charCodeAt(0)])}function filterProps(e,r,n={}){return r.reduce((r,o)=>(o in e?r[o]=e[o]:o in n&&(r[o]=n[o]),r),{})}function invariantIntlContext(e){Object(s.a)(e,"[React Intl] Could not find requiredintl
object. needs to exist in the component ancestry.")}function createError(e,r){return[React Intl] ${e}${r?"\n"+r.stack:""}
}const p={formats:{},messages:{},timeZone:void 0,textComponent:o.Fragment,defaultLocale:"en",defaultFormats:{},onError:function defaultErrorHandler(e){0}};function createIntlCache(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function createFormatters(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}){const r=Intl.RelativeTimeFormat,n=Intl.ListFormat,o=Intl.DisplayNames;return{getDateTimeFormat:Object(a.a)(Intl.DateTimeFormat,e.dateTime),getNumberFormat:Object(a.a)(Intl.NumberFormat,e.number),getMessageFormat:Object(a.a)(i.a,e.message),getRelativeTimeFormat:Object(a.a)(r,e.relativeTime),getPluralRules:Object(a.a)(Intl.PluralRules,e.pluralRules),getListFormat:Object(a.a)(n,e.list),getDisplayNames:Object(a.a)(o,e.displayNames)}}function getNamedFormat(e,r,n,o){const i=e&&e[r];let a;if(i&&(a=i[n]),a)return a;o(createError(No ${r} format named: ${n}
))}},154:function(e,r,n){"use strict";n.d(r,"b",(function(){return formatMessage})),n.d(r,"a",(function(){return formatHTMLMessage}));var o=n(0),i=n(256),a=n(15),s=n(142);function setTimeZoneInOptions(e,r){return Object.keys(e).reduce((n,o)=>(n[o]=Object.assign({timeZone:r},e[o]),n),{})}function deepMergeOptions(e,r){return Object.keys(Object.assign(Object.assign({},e),r)).reduce((n,o)=>(n[o]=Object.assign(Object.assign({},e[o]||{}),r[o]||{}),n),{})}function deepMergeFormatsAndSetTimeZone(e,r){if(!r)return e;const n=s.a.formats;return Object.assign(Object.assign(Object.assign({},n),e),{date:deepMergeOptions(setTimeZoneInOptions(n.date,r),setTimeZoneInOptions(e.date||{},r)),time:deepMergeOptions(setTimeZoneInOptions(n.time,r),setTimeZoneInOptions(e.time||{},r))})}function formatMessage({locale:e,formats:r,messages:n,defaultLocale:s,defaultFormats:c,onError:u,timeZone:p},f,g={id:""},b={}){const{id:k,defaultMessage:w}=g;Object(i.a)(!!k,"[React Intl] Anid
must be provided to format a message.");const =n&&n[String(k)];r=deepMergeFormatsAndSetTimeZone(r,p),c=deepMergeFormatsAndSetTimeZone(c,p);let x=[];if()try{x=f.getMessageFormat(,e,r,{formatters:f}).formatHTMLMessage(b)}catch(r){u(Object(a.b)(Error formatting message: "${k}" for locale: "${e}"
+(w?", using default message as fallback.":""),r))}else(!w||e&&e.toLowerCase()!==s.toLowerCase())&&u(Object(a.b)(Missing message: "${k}" for locale: "${e}"
+(w?", using default message as fallback.":"")));if(!x.length&&w)try{x=f.getMessageFormat(w,s,c).formatHTMLMessage(b)}catch(e){u(Object(a.b)(Error formatting the default message for: "${k}"
,e))}return x.length?1===x.length&&"string"==typeof x[0]?x[0]||w||String(k):(j=x,o.createElement(o.Fragment,null,...j)):(u(Object(a.b)(Cannot format message: "${k}", using message ${_||w?"source":"id"} as fallback.
)),"string"==typeof ?||w||String(k):w||String(k));var j}function formatHTMLMessage(e,r,n={id:""},o={}){return formatMessage(e,r,n,Object.keys(o).reduce((e,r)=>{const n=o[r];return e[r]="string"==typeof n?Object(a.e)(n):n,e},{}))}},172:function(e,r,n){"use strict";var o=SyntaxError,i=Function,a=TypeError,getEvalledConstructor=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},s=Object.getOwnPropertyDescriptor;if(s)try{s({},"")}catch(e){s=null}var throwTypeError=function(){throw new a},c=s?function(){try{return throwTypeError}catch(e){try{return s(arguments,"callee").get}catch(e){return throwTypeError}}}():throwTypeError,u=n(343)(),p=Object.getPrototypeOf||function(e){return e.proto},f={},g="undefined"==typeof Uint8Array?void 0:p(Uint8Array),b={"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":u?p([]Symbol.iterator):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":f,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u?p(p([]Symbol.iterator)):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&u?p((new Map)Symbol.iterator):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&u?p((new Set)Symbol.iterator):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u?p(""Symbol.iterator):void 0,"%Symbol%":u?Symbol:void 0,"%SyntaxError%":o,"%ThrowTypeError%":c,"%TypedArray%":g,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet},k={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},w=n(173),=n(346),x=w.call(Function.call,Array.prototype.concat),j=w.call(Function.apply,Array.prototype.splice),T=w.call(Function.call,String.prototype.replace),I=w.call(Function.call,String.prototype.slice),M=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,R=/\\(\\)?/g,F=function stringToPath(e){var r=I(e,0,1),n=I(e,-1);if("%"===r&&"%"!==n)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==r)throw new o("invalid intrinsic syntax, expected opening `%`");var i=[];return T(e,M,(function(e,r,n,o){i[i.length]=n?T(o,R,"$1"):r||e})),i},U=function getBaseIntrinsic(e,r){var n,i=e;if(_(k,i)&&(i="%"+(n=k[i])[0]+"%"),_(b,i)){var s=b[i];if(s===f&&(s=function doEval(e){var r;if("%AsyncFunction%"===e)r=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===e)r=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===e){var n=doEval("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=doEval("%AsyncGenerator%");o&&(r=p(o.prototype))}return b[e]=r,r}(i)),void 0===s&&!r)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:i,value:s}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function GetIntrinsic(e,r){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof r)throw new a('"allowMissing" argument must be a boolean');var n=F(e),i=n.length>0?n[0]:"",c=U("%"+i+"%",r),u=c.name,p=c.value,f=!1,g=c.alias;g&&(i=g[0],j(n,x([0,1],g)));for(var k=1,w=!0;k<n.length;k+=1){var T=n[k],M=I(T,0,1),R=I(T,-1);if(('"'===M||"'"===M||"`"===M||'"'===R||"'"===R||"`"===R)&&M!==R)throw new o("property names with quotes must have matching quotes");if("constructor"!==T&&w||(f=!0),_(b,u="%"+(i+="."+T)+"%"))p=b[u];else if(null!=p){if(!(T in p)){if(!r)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(s&&k+1>=n.length){var q=s(p,T);p=(w=!!q)&&"get"in q&&!("originalValue"in q.get)?q.get:p[T]}else w=_(p,T),p=p[T];w&&!f&&(b[u]=p)}}return p}},173:function(e,r,n){"use strict";var o=n(345);e.exports=Function.prototype.bind||o},174:function(e,r,n){"use strict";var o=String.prototype.replace,i=/%20/g,a="RFC1738",s="RFC3986";e.exports={default:s,formatters:{RFC1738:function(e){return o.call(e,i,"+")},RFC3986:function(e){return String(e)}},RFC1738:a,RFC3986:s}},178:function(e,r,n){"use strict";n.d(r,"a",(function(){return i}));var o=n(7);const i=new o.Token},19:function(e,r,n){"use strict";var o;n.d(r,"a",(function(){return o})),n.d(r,"b",(function(){return TextExtension})),n.d(r,"c",(function(){return ToolExtension})),n.d(r,"d",(function(){return getLocaleExtensionManifest})),function(e){e.Text="Text",e.Image="Image",e.Tool="tool"}(o||(o={}));class AbstractExtension{constructor(e,r,n){this.type=e,this.manifest=r,this.extensionLifeCycle=n}}class TextExtension extends AbstractExtension{constructor(e,r){super(o.Text,e,r)}}class ToolExtension extends AbstractExtension{constructor(e,r){super(o.Tool,e,r)}}function getLocaleExtensionManifest(e,r){const{i18nManifest:n,...o}=e;let i={};return n&&"object"==typeof n&&(i=n[r]),{...o,...i}}},1915:function(e,r,n){"use strict";n.r(r);n(284),n(335);var o=n(75),i=n(48),a=n(7),s=n.n(a);class tabService_ChromeTabService extends o.a{getCurrent(){return new Promise(e=>{chrome.tabs.query({currentWindow:!0,active:!0},r=>e(r[0]))})}remove(e){return i.tabs.remove(e)}captureVisibleTab(e){return i.tabs.captureVisibleTab(e)}sendMessage(e,r){return i.tabs.sendMessage(e,r)}create(e){return new Promise(r=>{chrome.tabs.create(e,e=>{r(e)})})}}Object(a.Service)(o.b)(tabService_ChromeTabService);var c=n(124);Object(a.Service)(c.a)(class ChromeCookieService{get(e){return new Promise(r=>{chrome.cookies.get(e,r)})}getAll(e){return new Promise(r=>{chrome.cookies.getAll(e,r)})}getAllCookieStores(){return new Promise(e=>{chrome.cookies.getAllCookieStores(r=>{e(r)})})}});n(562);var u=n(46),p=n(38);s.a.set(u.b,p.b);n(563);var f=n(107),g=n(40),b=n(57);Object(a.Service)(f.a)(class tabService_ChromeBackgroundWebRequestService extends class tabService_BackgroundWebRequestService{constructor(e){this.extraInfoSpec=e,this.handlerMap=new Map}async startChangeHeader(e){const r=Object(g.generateUuid)(),n=e.requestHeaders.map(e=>({name:e.name.toLocaleLowerCase(),value:e.value})),handler=e=>{var r;const o=null!==(r=e.requestHeaders)&&void 0!==r?r:[];if(-1===o.findIndex(e=>"web_clipper_web_request"===e.name))return;return{requestHeaders:o.filter(e=>!n.find(r=>r.name===e.name.toLocaleLowerCase())).concat(n)}};return this.handlerMap.set(r,handler),chrome.webRequest.onBeforeSendHeaders.addListener(handler,{urls:e.urls},this.extraInfoSpec),{name:"web_clipper_web_request",value:r}}requestInBackground(e,r){return Object(b.a)(e,r)}async end(e){const r=this.handlerMap.get(e.value);this.handlerMap.delete(e.value),chrome.webRequest.onBeforeSendHeaders.removeListener(r),chrome.webRequest.handlerBehaviorChanged()}}{constructor(){super(["blocking","requestHeaders","extraHeaders"])}});var k=n(269),w=n(63),_=n(125),x=n(397),j=n(123),T=n(229),I=n(327),M=n(178),R=n(68),F=n(312),U=n(108);var q=n(406);var H=n(398),B=n(405),V=n(136),G=(n(632),n(30)),W=n(9),Y=n(134),Z=(n(560),n(113)),X=n(404),ee=(n(394),n(636),n(44));s.a.set(w.a,W.a),s.a.set(u.a,p.a),s.a.set(u.b,p.b),Object(a.Service)(Z.a)(X.a);const te=new class ipcService_BackgroundIPCServer{registerChannel(e,r){chrome.runtime.onConnect.addListener(n=>{n.name===e&&n.onMessage.addListener(async(e,o)=>{const{uuid:i,command:a,arg:s}=e;let c;try{c={uuid:i,result:{data:await r.call(o.sender,a,s)}}}catch(e){c={uuid:i,error:{data:Object(q.a)(e)}}}n.postMessage(c)})})}};te.registerChannel("tab",new H.a(s.a.get(o.b))),te.registerChannel("permissions",new class PermissionsChannel{constructor(e){this.service=e,this.call=async(e,r,n)=>{switch(r){case"contains":return this.service.contains(n);case"remove":return this.service.remove(n);case"request":return this.service.request(n);default:throw new Error("Call not found: "+r)}}}}(s.a.get(U.a))),te.registerChannel("webRequest",new x.a(s.a.get(f.a))),te.registerChannel("cookies",new B.a(s.a.get(c.a)));const re=new I.a(s.a.get(o.b)).getChannel("contentScript");s.a.set(j.a,new T.b(re));const ne=s.a.get(j.a);async function initContentScriptService(e){let r;try{r=await ne.checkStatus()}catch(e){}if(!r&&(await i.tabs.executeScript({file:"content_script.js"},e),i.runtime.lastError))return"The extensions gallery cannot be scripted."===i.runtime.lastError.message?void alert(W.a.format({id:"backend.not.unavailable",defaultMessage:"The extensions gallery cannot be scripted."})):void alert(W.a.format({id:"backend.not.unavailable",defaultMessage:"Clipping of this type of page is temporarily unavailable.\n\nRefreshing the page can resolve。"}))}(async()=>{await p.b.init(),await p.a.init(),Object(a.Service)(_.a)(k.a),await s.a.get(_.a).startup();const e=s.a.get(M.a);await e.init();const r=s.a.get(V.a);await r.init(),await W.a.init(),p.a.onDidChangeStorage(async e=>{e===Y.LOCAL_USER_PREFERENCE_LOCALE_KEY&&await W.a.init()}),chrome.commands.onCommand.addListener(async e=>{var r;if("toggle-feature-foo"===e){const e=s.a.get(ee.b),n=s.a.get(ee.a).contextMenus.filter(r=>!e.DisabledExtensionIds.includes(r.id));for(const i of n){const n=new(0,i.contextMenu);if("contextMenus.selection.save"===i.id){let i;n.manifest.extensionId&&(i=e.getExtensionConfig(n.manifest.extensionId)||(null===(r=n.manifest.config)||void 0===r?void 0:r.default)),n.run(await s.a.get(o.b).getCurrent(),{config:i,contentScriptService:ne,initContentScriptService:initContentScriptService})}}}}),Object(G.c)(()=>{const e=r.userPreference.iconColor;if("auto"===e){const e=window.matchMedia("(prefers-color-scheme: dark)");i.browserAction.setIcon({path:e.matches?R.a.iconDark:R.a.icon})}else"light"===e?i.browserAction.setIcon({path:R.a.iconDark}):i.browserAction.setIcon({path:R.a.icon});const n=s.a.get(ee.a),o=s.a.get(ee.b),a=n.contextMenus.filter(e=>!o.DisabledExtensionIds.includes(e.id));chrome.contextMenus.removeAll(()=>{for(const e of a){const r=new(0,e.contextMenu);!R.a.admin&&r.manifest.admin||chrome.contextMenus.create({id:e.id,title:r.manifest.name,contexts:r.manifest.contexts,onclick:(e,n)=>{var i;let a;r.manifest.extensionId&&(a=o.getExtensionConfig(r.manifest.extensionId)||(null===(i=r.manifest.config)||void 0===i?void 0:i.default)),r.run(n,{config:a,contentScriptService:ne,initContentScriptService:initContentScriptService})}})}})}),i.browserAction.onClicked.addListener(async r=>{const n=r.id;if(!n)return e.trackEvent("Load_Web_Clipper",F.version,"error"),void alert(W.a.format({id:"backend.not.unavailable",defaultMessage:"Clipping of this type of page is temporarily unavailable.\n\nRefreshing the page can resolve。"}));e.trackEvent("Load_Web_Clipper",F.version,"success"),await initContentScriptService(n),ne.toggle()})})()},193:function(e,r,n){"use strict";n.d(r,"b",(function(){return p})),n.d(r,"a",(function(){return f}));var o=n(0),i=n(84),a=n.n(i);n(15);a.a;const s=o.createContext(null),{Consumer:c,Provider:u}=s,p=u,f=s},201:function(e,r,n){"use strict";n.d(r,"b",(function(){return loadingStatus})),n.d(r,"a",(function(){return loading}));var o=n(30),i=n(40);const a=o.g.map(),s=new Map;function loadingStatus(e){if(!s.has(e)){const r={};Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{Object.defineProperty(r,n,{get:()=>{const r=Reflect.getMetadata("loading:"+n,e);if(!r)throw new Error;return a.get(r)}})}),s.set(e,r)}return s.get(e)}function LoadingHoc(e,r){let n=0;return async function(){const o=n+1;n=o;try{return a.set(e,!0),await r.apply(this,arguments)}catch(e){throw e}finally{o===n&&a.set(e,!1)}}}function loading(e,r,n){const o=Object(i.generateUuid)();Reflect.defineMetadata("loading:"+r,o,e),n?n.value=LoadingHoc(o,n.value):Object.defineProperty(e,r,{enumerable:!1,configurable:!0,set(e){Object.defineProperty(this,r,{enumerable:!1,writable:!0,configurable:!0,value:LoadingHoc(o,e)})},get(){}})}},212:function(e,r,n){e.exports=function(){"use strict";var e="millisecond",r="second",n="minute",o="hour",i="day",a="week",s="month",c="quarter",u="year",p="date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split(""),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("")},$=function(e,r,n){var o=String(e);return!o||o.length>=r?e:""+Array(r+1-o.length).join(n)+e},k={s:$,z:function(e){var r=-e.utcOffset(),n=Math.abs(r),o=Math.floor(n/60),i=n%60;return(r<=0?"+":"-")+$(o,2,"0")+":"+$(i,2,"0")},m:function t(e,r){if(e.date()<r.date())return-t(r,e);var n=12*(r.year()-e.year())+(r.month()-e.month()),o=e.clone().add(n,s),i=r-o<0,a=e.clone().add(n+(i?-1:1),s);return+(-(n+(r-o)/(i?o-a:a-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(f){return{M:s,y:u,w:a,d:i,D:p,h:o,m:n,s:r,ms:e,Q:c}[f]||String(f||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},w="en",={};[w]=b;var m=function(e){return e instanceof j},D=function(e,r,n){var o;if(!e)return w;if("string"==typeof e)[e]&&(o=e),r&&([e]=r,o=e);else{var i=e.name;[i]=e,o=i}return!n&&o&&(w=o),o||!n&&w},v=function(e,r){if(m(e))return e.clone();var n="object"==typeof r?r:{};return n.date=e,n.args=arguments,new j(n)},x=k;x.l=D,x.i=m,x.w=function(e,r){return v(e,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})};var j=function(){function d(e){this.$L=D(e.locale,null,!0),this.parse(e)}var b=d.prototype;return b.parse=function(e){this.$d=function(e){var r=e.date,n=e.utc;if(null===r)return new Date(NaN);if(x.u(r))return new Date;if(r instanceof Date)return new Date(r);if("string"==typeof r&&!/Z$/i.test(r)){var o=r.match(f);if(o){var i=o[2]-1||0,a=(o[7]||"0").substring(0,3);return n?new Date(Date.UTC(o[1],i,o[3]||1,o[4]||0,o[5]||0,o[6]||0,a)):new Date(o[1],i,o[3]||1,o[4]||0,o[5]||0,o[6]||0,a)}}return new Date(r)}(e),this.$x=e.x||{},this.init()},b.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},b.$utils=function(){return x},b.isValid=function(){return!("Invalid Date"===this.$d.toString())},b.isSame=function(e,r){var n=v(e);return this.startOf(r)<=n&&n<=this.endOf(r)},b.isAfter=function(e,r){return v(e)<this.startOf(r)},b.isBefore=function(e,r){return this.endOf(r)<v(e)},b.$g=function(e,r,n){return x.u(e)?this[r]:this.set(n,e)},b.unix=function(){return Math.floor(this.valueOf()/1e3)},b.valueOf=function(){return this.$d.getTime()},b.startOf=function(e,c){var f=this,g=!!x.u(c)||c,b=x.p(e),$=function(e,r){var n=x.w(f.$u?Date.UTC(f.$y,r,e):new Date(f.$y,r,e),f);return g?n:n.endOf(i)},l=function(e,r){return x.w(f.toDate()[e].apply(f.toDate("s"),(g?[0,0,0,0]:[23,59,59,999]).slice(r)),f)},k=this.$W,w=this.$M,=this.$D,j="set"+(this.$u?"UTC":"");switch(b){case u:return g?$(1,0):$(31,11);case s:return g?$(1,w):$(0,w+1);case a:var T=this.$locale().weekStart||0,I=(k<T?k+7:k)-T;return $(g?-I:+(6-I),w);case i:case p:return l(j+"Hours",0);case o:return l(j+"Minutes",1);case n:return l(j+"Seconds",2);case r:return l(j+"Milliseconds",3);default:return this.clone()}},b.endOf=function(e){return this.startOf(e,!1)},b.$set=function(a,c){var f,g=x.p(a),b="set"+(this.$u?"UTC":""),k=(f={},f[i]=b+"Date",f[p]=b+"Date",f[s]=b+"Month",f[u]=b+"FullYear",f[o]=b+"Hours",f[n]=b+"Minutes",f[r]=b+"Seconds",f[e]=b+"Milliseconds",f)[g],w=g===i?this.$D+(c-this.$W):c;if(g===s||g===u){var =this.clone().set(p,1);.$dk,.init(),this.$d=.set(p,Math.min(this.$D,.daysInMonth())).$d}else k&&this.$dk;return this.init(),this},b.set=function(e,r){return this.clone().$set(e,r)},b.get=function(e){return thisx.p(e)},b.add=function(e,c){var p,f=this;e=Number(e);var g=x.p(c),d=function(r){var n=v(f);return x.w(n.date(n.date()+Math.round(re)),f)};if(g===s)return this.set(s,this.$M+e);if(g===u)return this.set(u,this.$y+e);if(g===i)return d(1);if(g===a)return d(7);var b=(p={},p[n]=6e4,p[o]=36e5,p[r]=1e3,p)[g]||1,k=this.$d.getTime()+eb;return x.w(k,this)},b.subtract=function(e,r){return this.add(-1e,r)},b.format=function(e){var r=this;if(!this.isValid())return"Invalid Date";var n=e||"YYYY-MM-DDTHH:mm:ssZ",o=x.z(this),i=this.$locale(),a=this.$H,s=this.$m,c=this.$M,u=i.weekdays,p=i.months,h=function(e,o,i,a){return e&&(e[o]||e(r,n))||i[o].substr(0,a)},d=function(e){return x.s(a%12||12,e,"0")},f=i.meridiem||function(e,r,n){var o=e<12?"AM":"PM";return n?o.toLowerCase():o},b={YY:String(this.$y).slice(-2),YYYY:this.$y,M:c+1,MM:x.s(c+1,2,"0"),MMM:h(i.monthsShort,c,p,3),MMMM:h(p,c),D:this.$D,DD:x.s(this.$D,2,"0"),d:String(this.$W),dd:h(i.weekdaysMin,this.$W,u,2),ddd:h(i.weekdaysShort,this.$W,u,3),dddd:u[this.$W],H:String(a),HH:x.s(a,2,"0"),h:d(1),hh:d(2),a:f(a,s,!0),A:f(a,s,!1),m:String(s),mm:x.s(s,2,"0"),s:String(this.$s),ss:x.s(this.$s,2,"0"),SSS:x.s(this.$ms,3,"0"),Z:o};return n.replace(g,(function(e,r){return r||b[e]||o.replace(":","")}))},b.utcOffset=function(){return 15-Math.round(this.$d.getTimezoneOffset()/15)},b.diff=function(e,p,f){var g,b=x.p(p),k=v(e),w=6e4*(k.utcOffset()-this.utcOffset()),=this-k,j=x.m(this,k);return j=(g={},g[u]=j/12,g[s]=j,g[c]=j/3,g[a]=(-w)/6048e5,g[i]=(-w)/864e5,g[o]=/36e5,g[n]=/6e4,g[r]=/1e3,g)[b]||,f?j:x.a(j)},b.daysInMonth=function(){return this.endOf(s).$D},b.$locale=function(){return [this.$L]},b.locale=function(e,r){if(!e)return this.$L;var n=this.clone(),o=D(e,r,!0);return o&&(n.$L=o),n},b.clone=function(){return x.w(this.$d,this)},b.toDate=function(){return new Date(this.valueOf())},b.toJSON=function(){return this.isValid()?this.toISOString():null},b.toISOString=function(){return this.$d.toISOString()},b.toString=function(){return this.$d.toUTCString()},d}(),T=j.prototype;return v.prototype=T,[["$ms",e],["$s",r],["$m",n],["$H",o],["$W",i],["$M",s],["$y",u],["$D",p]].forEach((function(e){T[e[1]]=function(r){return this.$g(r,e[0],e[1])}})),v.extend=function(e,r){return e.$i||(e(r,j,v),e.$i=!0),v},v.locale=D,v.isDayjs=m,v.unix=function(e){return v(1e3*e)},v.en=[w],v.Ls=,v.p={},v}()},216:function(e,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o=n(94),i=n(336),a=n(337),s=n(95),c=function(){function ContainerInstance(e){this.services=[],this.id=e}return ContainerInstance.prototype.has=function(e){return!!this.findService(e)},ContainerInstance.prototype.get=function(e){var r=o.Container.of(void 0),n=r.findService(e),i=this.findService(e);if(n&&!0===n.global)return this.getServiceValue(e,n);if(i)return this.getServiceValue(e,i);if(n&&this!==r){var a=Object.assign({},n);a.value=void 0;var s=this.getServiceValue(e,a);return this.set(e,s),s}return this.getServiceValue(e,n)},ContainerInstance.prototype.getMany=function(e){var r=this;return this.filterServices(e).map((function(n){return r.getServiceValue(e,n)}))},ContainerInstance.prototype.set=function(e,r){var n=this;if(e instanceof Array)return e.forEach((function(e){return n.set(e)})),this;if("string"==typeof e||e instanceof s.Token)return this.set({id:e,value:r});if("object"==typeof e&&e.service)return this.set({id:e.service,value:r});if(e instanceof Function)return this.set({type:e,id:e,value:r});var o=e,i=this.findService(o.id);return i&&!0!==i.multiple?Object.assign(i,o):this.services.push(o),this},ContainerInstance.prototype.remove=function(){for(var e=this,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.forEach((function(r){e.filterServices(r).forEach((function(r){e.services.splice(e.services.indexOf(r),1)}))})),this},ContainerInstance.prototype.reset=function(){return this.services=[],this},ContainerInstance.prototype.filterServices=function(e){return this.services.filter((function(r){return r.id?r.id===e:!!(r.type&&e instanceof Function)&&(r.type===e||e.prototype instanceof r.type)}))},ContainerInstance.prototype.findService=function(e){return this.services.find((function(r){return r.id?e instanceof Object&&r.id instanceof s.Token&&e.service instanceof s.Token?r.id===e.service:r.id===e:!!(r.type&&e instanceof Function)&&r.type===e}))},ContainerInstance.prototype.getServiceValue=function(e,r){var n;if(r&&void 0!==r.value)return r.value;if(!(r&&r.type||r&&r.factory||!("string"==typeof e||e instanceof s.Token)))throw new a.ServiceNotFoundError(e);var o=void 0;if(r&&r.type?o=r.type:r&&r.id instanceof Function?o=r.id:e instanceof Function&&(o=e),!r){if(!o)throw new i.MissingProvidedServiceTypeError(e);r={type:o},this.services.push(r)}var c,u=o&&Reflect&&Reflect.getMetadata?Reflect.getMetadata("design:paramtypes",o):void 0,p=u?this.initializeParams(o,u):[];if(r.factory)p=p.filter((function(e){return void 0!==e})),c=r.factory instanceof Array?(n=this.get(r.factory[0]))[r.factory[1]].apply(n,p):r.factory.apply(r,p.concat([this]));else{if(!o)throw new i.MissingProvidedServiceTypeError(e);p.unshift(null),p.push(this),c=new(o.bind.apply(o,p))}return r&&!r.transient&&c&&(r.value=c),o&&this.applyPropertyHandlers(o,c),c},ContainerInstance.prototype.initializeParams=function(e,r){var n=this;return r.map((function(r,i){var a=o.Container.handlers.find((function(r){return r.object===e&&r.index===i}));return a?a.value(n):r&&r.name&&!n.isTypePrimitive(r.name)?n.get(r):void 0}))},ContainerInstance.prototype.isTypePrimitive=function(e){return-1!==["string","boolean","number","object"].indexOf(e.toLowerCase())},ContainerInstance.prototype.applyPropertyHandlers=function(e,r){var n=this;o.Container.handlers.forEach((function(o){"number"!=typeof o.index&&(o.object.constructor===e||e.prototype instanceof o.object.constructor)&&(r[o.propertyName]=o.value(n))}))},ContainerInstance}();r.ContainerInstance=c},217:function(e,r,n){"use strict";var o,i=this&&this.__extends||(o=Object.setPrototypeOf||{proto:[]}instanceof Array&&function(e,r){e.proto=r}||function(e,r){for(var n in r)r.hasOwnProperty(n)&&(e[n]=r[n])},function(e,r){function (){this.constructor=e}o(e,r),e.prototype=null===r?Object.create(r):(.prototype=r.prototype,new __)});Object.defineProperty(r,"__esModule",{value:!0});var a=function(e){function CannotInjectError(r,n){var o=e.call(this,'Cannot inject value into "'+r.constructor.name+"."+n+"". Please make sure you setup reflect-metadata properly and you don't use interfaces without service tokens as injection value.")||this;return o.name="ServiceNotFoundError",Object.setPrototypeOf(o,CannotInjectError.prototype),o}return i(CannotInjectError,e),CannotInjectError}(Error);r.CannotInjectError=a},218:function(e,r,n){"use strict";var o=n(174),i=Object.prototype.hasOwnProperty,a=Array.isArray,s=function(){for(var e=[],r=0;r<256;++r)e.push("%"+((r<16?"0":"")+r.toString(16)).toUpperCase());return e}(),c=function arrayToObject(e,r){for(var n=r&&r.plainObjects?Object.create(null):{},o=0;o<e.length;++o)void 0!==e[o]&&(n[o]=e[o]);return n};e.exports={arrayToObject:c,assign:function assignSingleSource(e,r){return Object.keys(r).reduce((function(e,n){return e[n]=r[n],e}),e)},combine:function combine(e,r){return[].concat(e,r)},compact:function compact(e){for(var r=[{obj:{o:e},prop:"o"}],n=[],o=0;o<r.length;++o)for(var i=r[o],s=i.obj[i.prop],c=Object.keys(s),u=0;u<c.length;++u){var p=c[u],f=s[p];"object"==typeof f&&null!==f&&-1===n.indexOf(f)&&(r.push({obj:s,prop:p}),n.push(f))}return function compactQueue(e){for(;e.length>1;){var r=e.pop(),n=r.obj[r.prop];if(a(n)){for(var o=[],i=0;i<n.length;++i)void 0!==n[i]&&o.push(n[i]);r.obj[r.prop]=o}}}(r),e},decode:function(e,r,n){var o=e.replace(/+/g," ");if("iso-8859-1"===n)return o.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(o)}catch(e){return o}},encode:function encode(e,r,n,i,a){if(0===e.length)return e;var c=e;if("symbol"==typeof e?c=Symbol.prototype.toString.call(e):"string"!=typeof e&&(c=String(e)),"iso-8859-1"===n)return escape(c).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var u="",p=0;p<c.length;++p){var f=c.charCodeAt(p);45===f||46===f||95===f||126===f||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||a===o.RFC1738&&(40===f||41===f)?u+=c.charAt(p):f<128?u+=s[f]:f<2048?u+=s[192|f>>6]+s[128|63&f]:f<55296||f>=57344?u+=s[224|f>>12]+s[128|f>>6&63]+s[128|63&f]:(p+=1,f=65536+((1023&f)<<10|1023&c.charCodeAt(p)),u+=s[240|f>>18]+s[128|f>>12&63]+s[128|f>>6&63]+s[128|63&f])}return u},isBuffer:function isBuffer(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function isRegExp(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function maybeMap(e,r){if(a(e)){for(var n=[],o=0;o<e.length;o+=1)n.push(r(e[o]));return n}return r(e)},merge:function merge(e,r,n){if(!r)return e;if("object"!=typeof r){if(a(e))e.push(r);else{if(!e||"object"!=typeof e)return[e,r];(n&&(n.plainObjects||n.allowPrototypes)||!i.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(r);var o=e;return a(e)&&!a(r)&&(o=c(e,n)),a(e)&&a(r)?(r.forEach((function(r,o){if(i.call(e,o)){var a=e[o];a&&"object"==typeof a&&r&&"object"==typeof r?e[o]=merge(a,r,n):e.push(r)}else e[o]=r})),e):Object.keys(r).reduce((function(e,o){var a=r[o];return i.call(e,o)?e[o]=merge(e[o],a,n):e[o]=a,e}),o)}}},219:function(e,r){},220:function(e,r){},229:function(e,r,n){"use strict";n.d(r,"a",(function(){return ContentScriptChannel})),n.d(r,"b",(function(){return ContentScriptChannelClient}));class ContentScriptChannel{constructor(e){this.service=e,this.call=async(e,r,n)=>{switch(r){case"remove":return this.service.remove();case"hide":return this.service.hide();case"checkStatus":return this.service.checkStatus();case"getPageUrl":return this.service.getPageUrl();case"toggle":return this.service.toggle(n[0]);case"getSelectionMarkdown":return this.service.getSelectionMarkdown();case"runScript":return this.service.runScript(n[0],n[1]);default:throw new Error("Call not found: "+r)}}}}class ContentScriptChannelClient{constructor(e){this.channel=e,this.remove=async()=>this.channel.call("remove"),this.runScript=async(e,r)=>this.channel.call("runScript",[e,r]),this.hide=async()=>this.channel.call("hide"),this.checkStatus=async()=>this.channel.call("checkStatus"),this.toggle=async e=>this.channel.call("toggle",[e]),this.getSelectionMarkdown=async()=>this.channel.call("getSelectionMarkdown"),this.getPageUrl=async()=>this.channel.call("getPageUrl")}}},230:function(e){e.exports=JSON.parse('{"auth.modal.title":"Account Config","backend.error.store":"The extensions gallery cannot be scripted.","backend.imageHosting.baklib.builtInRemark":"Baklib built in image hosting service.","backend.imageHosting.baklib.name":"Baklib","backend.imageHosting.github.form.accessToken":"AccessToken","backend.imageHosting.github.form.accessToken.errorMessage":"AccessToken is required.","backend.imageHosting.github.form.generateNewToken":"Generate new token","backend.imageHosting.github.form.repo":"Repository","backend.imageHosting.github.form.repo.errorMessage":"Please select a repository","backend.imageHosting.github.form.savePath":"","backend.imageHosting.github.repo.errorMessage":"Please config the github imageHosting again.","backend.imageHosting.joplin.builtInRemark":"Joplin built in image hosting service.","backend.imageHosting.joplin.name":"Joplin","backend.imageHosting.leanote.builtInRemark":"Leanote built in image hosting service.","backend.imageHosting.leanote.name":"Leanote","backend.imageHosting.siyuan.builtInRemark":"Siyuan Note built in image hosting service.","backend.imageHosting.siyuan.name":"SiYuan","backend.imageHosting.yuque_oauth.builtInRemark":"Yuque built in image hosting service.","backend.imageHosting.yuque_oauth.error_401":"No permission, need to delete the current account and re authorize.","backend.imageHosting.yuque_oauth.error_403":"No permission, need to delete the current account and re authorize.","backend.imageHosting.yuque_oauth.error_429":"Requests are too frequent.Request limit 100 per hour.","backend.imageHosting.yuque_oauth.name":"Yuque Oauth","backend.imageHosting.yuque.name":"Yuque","backend.not.unavailable":"Clipping of this type of page is temporarily unavailable.\n\nRefreshing the page can resolve。","backend.services.baklib.form.authentication":"Authentication","backend.services.baklib.headerForm.channel":"","backend.services.baklib.headerForm.description":"","backend.services.baklib.headerForm.tags":"","backend.services.baklib.name":"Baklib","backend.services.bear.form.confirm":"","backend.services.confluence.form.authentication":"","backend.services.confluence.form.origin":"","backend.services.confluence.form.space":"","backend.services.dida365.headerForm.applyTags":"","backend.services.dida365.name":"Dida365","backend.services.dida365.rootGroup":"","backend.services.dida365.unauthorizedErrorMessage":"","backend.services.flomo.login":"Unauthorized! Please Login Flomo Web.","backend.services.github.form.GenerateNewToken":"","backend.services.github.form.storageLocation":"","backend.services.github.form.storageLocation.code":"","backend.services.github.form.storageLocation.code.savePath":"","backend.services.github.form.storageLocation.code.savePathPlaceHolder":"","backend.services.github.form.storageLocation.issue":"","backend.services.github.form.visibility":"Visibility","backend.services.github.form.visibility.all":"All","backend.services.github.form.visibility.private":"Private","backend.services.github.form.visibility.public":"Public","backend.services.github.headerForm.applyLabels":"","backend.services.joplin.filter_tags":"Filter tags","backend.services.joplin.filter_unused_tags":"Filter unused tags","backend.services.joplin.headerForm.tags":"Tags","backend.services.joplin.name":"Joplin","backend.services.kindle.form.alert":"","backend.services.kindle.name":"Send to Kindle","backend.services.leanote.form.email":"Email","backend.services.leanote.name":"Leanote","backend.services.mail.form.address.is.required":"","backend.services.mail.form.buy.powerpack":"","backend.services.mail.form.homepage":"","backend.services.mail.form.homepage.is.required":"","backend.services.mail.form.homepage.of.mail":"","backend.services.mail.form.powerpack":"","backend.services.mail.form.powerpack.is.expired":"","backend.services.mail.form.powerpack.is.required":"","backend.services.mail.form.send.html":"","backend.services.mail.form.send.html.or.markdown":"","backend.services.mail.form.send.to":"","backend.services.mail.name":"Mail","backend.services.notion.unauthorizedErrorMessage":"","backend.services.onenote_oauth.name":"","backend.services.server_chan.accessToken.message":"","backend.services.server_chan.name":"ServerChan","backend.services.siyuan.form.accessToken":"Token","backend.services.siyuan.name":"SiYuan Note","backend.services.siyuan.notes":"Notes","backend.services.ticktick.headerForm.applyTags":"","backend.services.ticktick.name":"","backend.services.ticktick.rootGroup":"","backend.services.ticktick.unauthorizedErrorMessage":"","backend.services.wiznote.form.authentication":"","backend.services.wiznote.form.origin":"","backend.services.wiznote.name":"WizNote","backend.services.wolai.unauthorizedErrorMessage":"","backend.services.youdao.name":"Youdao","backend.services.youdao.unauthorizedErrorMessage":"","backend.services.yuque_oauth.name":"Yuque Oauth","backend.services.yuque.form.repositoryType":"","backend.services.yuque.form.showAllRepository":"","backend.services.yuque.form.showGroupRepository":"","backend.services.yuque.form.showSelfRepository":"","backend.services.yuque.headerForm.slug":"Slug","backend.services.yuque.headerForm.slug_error":"The slug cannot be empty. Only letters, numbers, hyphen, underscore and dot are allowed. At least three characters.","backend.services.yuque.name":"Yuque","background.not_support_message":"","component.accountItem.delete":"Delete","component.accountItem.edit":"Edit","component.imagehostingListItem.delete":"Delete","component.imagehostingListItem.edit":"Edit","component.imagehostingListItem.noDescription":"No Description","component.imageHostingSelectOption.noDescription":"","component.powerpackForm.expired":"","component.powerpackForm.required":"","contextMenus.selection.save.description":"Save selection context","contextMenus.selection.save.template":"Save From : {TITLE} \n\n## Content\n{CONTENT}\n## Note","contextMenus.selection.save.title":"Save selection","extension.link.config.autoRunExclude":"AutoRun Exclude","extension.link.config.template":"Template","hooks.useOriginForm.origin.message":"","page.complete.close":"","page.complete.error":"Some Error","page.complete.message":"Go to {name}","page.complete.share":"","page.complete.success":"Success","preference.account.add":"","preference.accountList.add":"","preference.accountList.addAccount":"","preference.accountList.confirm":"","preference.accountList.defaultRepository":"","preference.accountList.editAccount":"","preference.accountList.imageHost":"","preference.accountList.login":"","preference.accountList.type":"","preference.accountList.verify":"","preference.accountList.verifying":"","preference.basic.configLanguage.description":"My native language is Chinese,Welcome to submit a translation on {GitHub}.","preference.basic.configLanguage.title":"","preference.basic.iconColor.auto":"Auto","preference.basic.iconColor.dark":"Dark","preference.basic.iconColor.description":"Icon Color","preference.basic.iconColor.light":"Light","preference.basic.iconColor.title":"Icon Color","preference.basic.liveRendering.description":"","preference.basic.liveRendering.title":"","preference.basic.update.button":"","preference.basic.update.description":"","preference.basic.update.title":"","preference.bind.message":"","preference.extensions.automaticOperationIsProhibited":"","preference.extensions.CancelSetting":"","preference.extensions.clipExtensions":"","preference.extensions.clipExtensions.tooltip":"Click on the 🌟 to choose the default extension.","preference.extensions.ConfiguredAsDefaultExtension":"","preference.extensions.contextMenus":"Context Menus","preference.extensions.form.reset":"Rest","preference.extensions.install":"","preference.extensions.no.Description":"No Description","preference.extensions.require.powerpack":"","preference.extensions.require.update":"","preference.extensions.runAutomaticOnSaving":"Run Automatic On Saving","preference.extensions.toolExtensions":"","preference.extensions.Uninstall":"Uninstall","preference.extensions.update":"Update","preference.imageHosting.add":"","preference.imageHosting.edit":"","preference.imageHosting.remark":"","preference.imageHosting.type":"","preference.powerpack.activate":"","preference.powerpack.expiry":"Expiry","preference.powerpack.failed":"Failed to load powerpack info.","preference.powerpack.feature.coffee":"","preference.powerpack.feature.coffee.description":"","preference.powerpack.feature.ocr":"","preference.powerpack.feature.ocr.description":"","preference.powerpack.feature.saveToEmail":"","preference.powerpack.feature.saveToEmail.description":"","preference.powerpack.feature.sendToKindle":"","preference.powerpack.feature.sendToKindle.description":"","preference.powerpack.features":"","preference.powerpack.free.trial":"","preference.powerpack.login.github":"Login with Github","preference.powerpack.login.google":"Login with Google","preference.powerpack.logout":"Logout","preference.powerpack.reload":"Reload","preference.powerpack.upgrade":"Upgrade","preference.tab.account":"Account","preference.tab.basic":"","preference.tab.changelog":"Changelog","preference.tab.extensions":"","preference.tab.imageHost":"","preference.tab.powerpack":"","preference.tab.privacy":"","tool.clipExtensions":"Clip Extension","tool.repository":"Repository","tool.save":"Save Content","tool.saveButton.noRepository":"Please select a repository","tool.title":"Title","tool.title.required":"Title is Required","tool.toolExtensions":"Tool Extension"}')},231:function(e){e.exports=JSON.parse('{"auth.modal.title":"","backend.error.store":"","backend.imageHosting.baklib.builtInRemark":"","backend.imageHosting.baklib.name":"","backend.imageHosting.github.form.accessToken":"","backend.imageHosting.github.form.accessToken.errorMessage":"","backend.imageHosting.github.form.generateNewToken":"","backend.imageHosting.github.form.repo":"","backend.imageHosting.github.form.repo.errorMessage":"","backend.imageHosting.github.form.savePath":"","backend.imageHosting.github.repo.errorMessage":"","backend.imageHosting.joplin.builtInRemark":"","backend.imageHosting.joplin.name":"","backend.imageHosting.leanote.builtInRemark":"","backend.imageHosting.leanote.name":"","backend.imageHosting.siyuan.builtInRemark":"","backend.imageHosting.siyuan.name":"","backend.imageHosting.yuque_oauth.builtInRemark":"","backend.imageHosting.yuque_oauth.error_401":"","backend.imageHosting.yuque_oauth.error_403":"","backend.imageHosting.yuque_oauth.error_429":"","backend.imageHosting.yuque_oauth.name":"","backend.imageHosting.yuque.name":"","backend.not.unavailable":"","backend.services.baklib.form.authentication":"","backend.services.baklib.headerForm.channel":"","backend.services.baklib.headerForm.description":"","backend.services.baklib.headerForm.tags":"","backend.services.baklib.name":"","backend.services.bear.form.confirm":"","backend.services.confluence.form.authentication":"","backend.services.confluence.form.origin":"","backend.services.confluence.form.space":"","backend.services.dida365.headerForm.applyTags":"","backend.services.dida365.name":"","backend.services.dida365.rootGroup":"","backend.services.dida365.unauthorizedErrorMessage":"","backend.services.flomo.login":"","backend.services.github.form.GenerateNewToken":"","backend.services.github.form.storageLocation":"","backend.services.github.form.storageLocation.code":"","backend.services.github.form.storageLocation.code.savePath":"","backend.services.github.form.storageLocation.code.savePathPlaceHolder":"","backend.services.github.form.storageLocation.issue":"","backend.services.github.form.visibility":"","backend.services.github.form.visibility.all":"","backend.services.github.form.visibility.private":"","backend.services.github.form.visibility.public":"","backend.services.github.headerForm.applyLabels":"","backend.services.joplin.filter_tags":"","backend.services.joplin.filter_unused_tags":"","backend.services.joplin.headerForm.tags":"","backend.services.joplin.name":"","backend.services.kindle.form.alert":"","backend.services.kindle.name":"","backend.services.leanote.form.email":"","backend.services.leanote.name":"","backend.services.mail.form.address.is.required":"","backend.services.mail.form.buy.powerpack":"","backend.services.mail.form.homepage":"","backend.services.mail.form.homepage.is.required":"","backend.services.mail.form.homepage.of.mail":"","backend.services.mail.form.powerpack":"","backend.services.mail.form.powerpack.is.expired":"","backend.services.mail.form.powerpack.is.required":"","backend.services.mail.form.send.html":"","backend.services.mail.form.send.html.or.markdown":"","backend.services.mail.form.send.to":"","backend.services.mail.name":"","backend.services.notion.unauthorizedErrorMessage":"","backend.services.onenote_oauth.name":"","backend.services.server_chan.accessToken.message":"","backend.services.server_chan.name":"","backend.services.siyuan.form.accessToken":"","backend.services.siyuan.name":"","backend.services.siyuan.notes":"","backend.services.ticktick.headerForm.applyTags":"","backend.services.ticktick.name":"","backend.services.ticktick.rootGroup":"","backend.services.ticktick.unauthorizedErrorMessage":"","backend.services.wiznote.form.authentication":"","backend.services.wiznote.form.origin":"","backend.services.wiznote.name":"","backend.services.wolai.unauthorizedErrorMessage":"","backend.services.youdao.name":"","backend.services.youdao.unauthorizedErrorMessage":"","backend.services.yuque_oauth.name":"","backend.services.yuque.form.repositoryType":"","backend.services.yuque.form.showAllRepository":"","backend.services.yuque.form.showGroupRepository":"","backend.services.yuque.form.showSelfRepository":"","backend.services.yuque.headerForm.slug":"","backend.services.yuque.headerForm.slug_error":"","backend.services.yuque.name":"","background.not_support_message":"","component.accountItem.delete":"","component.accountItem.edit":"","component.imagehostingListItem.delete":"","component.imagehostingListItem.edit":"","component.imagehostingListItem.noDescription":"","component.imageHostingSelectOption.noDescription":"","component.powerpackForm.expired":"","component.powerpackForm.required":"","contextMenus.selection.save.description":"","contextMenus.selection.save.template":"","contextMenus.selection.save.title":"","extension.link.config.autoRunExclude":"","extension.link.config.template":"","hooks.useOriginForm.origin.message":"","page.complete.close":"","page.complete.error":"","page.complete.message":"","page.complete.share":"","page.complete.success":"","preference.account.add":"","preference.accountList.add":"","preference.accountList.addAccount":"","preference.accountList.confirm":"","preference.accountList.defaultRepository":"","preference.accountList.editAccount":"","preference.accountList.imageHost":"","preference.accountList.login":"","preference.accountList.type":"","preference.accountList.verify":"","preference.accountList.verifying":"","preference.basic.configLanguage.description":"私の母国語は中国語です,{GitHub}で翻訳を送信してください.","preference.basic.configLanguage.title":"","preference.basic.iconColor.auto":"","preference.basic.iconColor.dark":"","preference.basic.iconColor.description":"","preference.basic.iconColor.light":"","preference.basic.iconColor.title":"","preference.basic.liveRendering.description":"","preference.basic.liveRendering.title":"","preference.basic.update.button":"","preference.basic.update.description":"","preference.basic.update.title":"","preference.bind.message":"","preference.extensions.automaticOperationIsProhibited":"","preference.extensions.CancelSetting":"","preference.extensions.clipExtensions":"","preference.extensions.clipExtensions.tooltip":"","preference.extensions.ConfiguredAsDefaultExtension":"","preference.extensions.contextMenus":"","preference.extensions.form.reset":"","preference.extensions.install":"","preference.extensions.no.Description":"","preference.extensions.require.powerpack":"","preference.extensions.require.update":"","preference.extensions.runAutomaticOnSaving":"","preference.extensions.toolExtensions":"","preference.extensions.Uninstall":"","preference.extensions.update":"","preference.imageHosting.add":"","preference.imageHosting.edit":"","preference.imageHosting.remark":"","preference.imageHosting.type":"","preference.powerpack.activate":"","preference.powerpack.expiry":"","preference.powerpack.failed":"","preference.powerpack.feature.coffee":"","preference.powerpack.feature.coffee.description":"","preference.powerpack.feature.ocr":"","preference.powerpack.feature.ocr.description":"","preference.powerpack.feature.saveToEmail":"","preference.powerpack.feature.saveToEmail.description":"","preference.powerpack.feature.sendToKindle":"","preference.powerpack.feature.sendToKindle.description":"","preference.powerpack.features":"","preference.powerpack.free.trial":"","preference.powerpack.login.github":"","preference.powerpack.login.google":"","preference.powerpack.logout":"","preference.powerpack.reload":"","preference.powerpack.upgrade":"","preference.tab.account":"","preference.tab.basic":"","preference.tab.changelog":"","preference.tab.extensions":"","preference.tab.imageHost":"","preference.tab.powerpack":"","preference.tab.privacy":"","tool.clipExtensions":"","tool.repository":"","tool.save":"コンテンツを保存する","tool.saveButton.noRepository":"","tool.title":"記事タイトル","tool.title.required":"","tool.toolExtensions":""}')},232:function(e){e.exports=JSON.parse('{"auth.modal.title":"계정 설정","backend.error.store":"","backend.imageHosting.baklib.builtInRemark":"","backend.imageHosting.baklib.name":"Baklib","backend.imageHosting.github.form.accessToken":"","backend.imageHosting.github.form.accessToken.errorMessage":"","backend.imageHosting.github.form.generateNewToken":"","backend.imageHosting.github.form.repo":"","backend.imageHosting.github.form.repo.errorMessage":"","backend.imageHosting.github.form.savePath":"","backend.imageHosting.github.repo.errorMessage":"","backend.imageHosting.joplin.builtInRemark":"","backend.imageHosting.joplin.name":"","backend.imageHosting.leanote.builtInRemark":"","backend.imageHosting.leanote.name":"","backend.imageHosting.siyuan.builtInRemark":"","backend.imageHosting.siyuan.name":"","backend.imageHosting.yuque_oauth.builtInRemark":"","backend.imageHosting.yuque_oauth.error_401":"","backend.imageHosting.yuque_oauth.error_403":"","backend.imageHosting.yuque_oauth.error_429":"","backend.imageHosting.yuque_oauth.name":"","backend.imageHosting.yuque.name":"","backend.not.unavailable":"","backend.services.baklib.form.authentication":"","backend.services.baklib.headerForm.channel":"","backend.services.baklib.headerForm.description":"","backend.services.baklib.headerForm.tags":"","backend.services.baklib.name":"","backend.services.bear.form.confirm":"","backend.services.confluence.form.authentication":"","backend.services.confluence.form.origin":"","backend.services.confluence.form.space":"","backend.services.dida365.headerForm.applyTags":"","backend.services.dida365.name":"","backend.services.dida365.rootGroup":"","backend.services.dida365.unauthorizedErrorMessage":"","backend.services.flomo.login":"","backend.services.github.form.GenerateNewToken":"","backend.services.github.form.storageLocation":"","backend.services.github.form.storageLocation.code":"","backend.services.github.form.storageLocation.code.savePath":"","backend.services.github.form.storageLocation.code.savePathPlaceHolder":"","backend.services.github.form.storageLocation.issue":"","backend.services.github.form.visibility":"공개범위","backend.services.github.form.visibility.all":"전체","backend.services.github.form.visibility.private":"프라이빗","backend.services.github.form.visibility.public":"퍼블릭","backend.services.github.headerForm.applyLabels":"","backend.services.joplin.filter_tags":"Filter tags","backend.services.joplin.filter_unused_tags":"Filter unused tags","backend.services.joplin.headerForm.tags":"Tags","backend.services.joplin.name":"Joplin","backend.services.kindle.form.alert":"","backend.services.kindle.name":"Kindle로 보내기","backend.services.leanote.form.email":"이메일","backend.services.leanote.name":"Leanote","backend.services.mail.form.address.is.required":"","backend.services.mail.form.buy.powerpack":"","backend.services.mail.form.homepage":"","backend.services.mail.form.homepage.is.required":"","backend.services.mail.form.homepage.of.mail":"","backend.services.mail.form.powerpack":"","backend.services.mail.form.powerpack.is.expired":"","backend.services.mail.form.powerpack.is.required":"","backend.services.mail.form.send.html":"","backend.services.mail.form.send.html.or.markdown":"","backend.services.mail.form.send.to":"","backend.services.mail.name":"메일","backend.services.notion.unauthorizedErrorMessage":"","backend.services.onenote_oauth.name":"","backend.services.server_chan.accessToken.message":"","backend.services.server_chan.name":"","backend.services.siyuan.form.accessToken":"","backend.services.siyuan.name":"","backend.services.siyuan.notes":"","backend.services.ticktick.headerForm.applyTags":"","backend.services.ticktick.name":"","backend.services.ticktick.rootGroup":"","backend.services.ticktick.unauthorizedErrorMessage":"","backend.services.wiznote.form.authentication":"","backend.services.wiznote.form.origin":"","backend.services.wiznote.name":"","backend.services.wolai.unauthorizedErrorMessage":"","backend.services.youdao.name":"","backend.services.youdao.unauthorizedErrorMessage":"","backend.services.yuque_oauth.name":"","backend.services.yuque.form.repositoryType":"","backend.services.yuque.form.showAllRepository":"","backend.services.yuque.form.showGroupRepository":"","backend.services.yuque.form.showSelfRepository":"","backend.services.yuque.headerForm.slug":"","backend.services.yuque.headerForm.slug_error":"","backend.services.yuque.name":"","background.not_support_message":"","component.accountItem.delete":"삭제","component.accountItem.edit":"수정","component.imagehostingListItem.delete":"삭제","component.imagehostingListItem.edit":"수정","component.imagehostingListItem.noDescription":"설명 없음","component.imageHostingSelectOption.noDescription":"","component.powerpackForm.expired":"","component.powerpackForm.required":"","contextMenus.selection.save.description":"영역의 콘텐츠 저장","contextMenus.selection.save.template":"페이지: {TITLE} \n\n## 내용\n{CONTENT}\n##","contextMenus.selection.save.title":"영역 저장","extension.link.config.autoRunExclude":"자동실행 제외","extension.link.config.template":"템플릿","hooks.useOriginForm.origin.message":"","page.complete.close":"","page.complete.error":"일부 에러","page.complete.message":"{name}으로 이동","page.complete.share":"","page.complete.success":"성공","preference.account.add":"","preference.accountList.add":"","preference.accountList.addAccount":"","preference.accountList.confirm":"","preference.accountList.defaultRepository":"","preference.accountList.editAccount":"","preference.accountList.imageHost":"","preference.accountList.login":"","preference.accountList.type":"","preference.accountList.verify":"","preference.accountList.verifying":"","preference.basic.configLanguage.description":"제 모국어는 중국어입니다, 번역은 {GitHub}에서 함께하실 수 있습니다.","preference.basic.configLanguage.title":"","preference.basic.iconColor.auto":"자동","preference.basic.iconColor.dark":"다크","preference.basic.iconColor.description":"아이콘 색상","preference.basic.iconColor.light":"라이트","preference.basic.iconColor.title":"아이콘 색상","preference.basic.liveRendering.description":"","preference.basic.liveRendering.title":"","preference.basic.update.button":"","preference.basic.update.description":"","preference.basic.update.title":"","preference.bind.message":"","preference.extensions.automaticOperationIsProhibited":"","preference.extensions.CancelSetting":"","preference.extensions.clipExtensions":"","preference.extensions.clipExtensions.tooltip":"🌟를 클릭하여 기본 확장을 선택하세요","preference.extensions.ConfiguredAsDefaultExtension":"","preference.extensions.contextMenus":"","preference.extensions.form.reset":"초기화","preference.extensions.install":"","preference.extensions.no.Description":"설명 없음","preference.extensions.require.powerpack":"","preference.extensions.require.update":"","preference.extensions.runAutomaticOnSaving":"","preference.extensions.toolExtensions":"","preference.extensions.Uninstall":"설치 제거","preference.extensions.update":"업데이트","preference.imageHosting.add":"","preference.imageHosting.edit":"","preference.imageHosting.remark":"","preference.imageHosting.type":"","preference.powerpack.activate":"","preference.powerpack.expiry":"만료","preference.powerpack.failed":"파워팩 정보를 읽어오지 못했습니다","preference.powerpack.feature.coffee":"","preference.powerpack.feature.coffee.description":"","preference.powerpack.feature.ocr":"","preference.powerpack.feature.ocr.description":"","preference.powerpack.feature.saveToEmail":"","preference.powerpack.feature.saveToEmail.description":"","preference.powerpack.feature.sendToKindle":"","preference.powerpack.feature.sendToKindle.description":"","preference.powerpack.features":"","preference.powerpack.free.trial":"","preference.powerpack.login.github":"Github으로 로그인","preference.powerpack.login.google":"Google로 로그인","preference.powerpack.logout":"로그아웃","preference.powerpack.reload":"새로 고침","preference.powerpack.upgrade":"업그레이드","preference.tab.account":"계정","preference.tab.basic":"","preference.tab.changelog":"변경사항","preference.tab.extensions":"","preference.tab.imageHost":"","preference.tab.powerpack":"","preference.tab.privacy":"","tool.clipExtensions":"클립 확장","tool.repository":"저장소","tool.save":"컨텐츠 저장","tool.saveButton.noRepository":"저장소를 선택하세요","tool.title":"컨텐츠 저장","tool.title.required":"제목을 입력해주세요","tool.toolExtensions":"도구 확장"}')},233:function(e){e.exports=JSON.parse('{"auth.modal.title":"","backend.error.store":"","backend.imageHosting.baklib.builtInRemark":"","backend.imageHosting.baklib.name":"","backend.imageHosting.github.form.accessToken":"","backend.imageHosting.github.form.accessToken.errorMessage":"","backend.imageHosting.github.form.generateNewToken":"","backend.imageHosting.github.form.repo":"","backend.imageHosting.github.form.repo.errorMessage":"","backend.imageHosting.github.form.savePath":"","backend.imageHosting.github.repo.errorMessage":"","backend.imageHosting.joplin.builtInRemark":"","backend.imageHosting.joplin.name":"","backend.imageHosting.leanote.builtInRemark":"","backend.imageHosting.leanote.name":"","backend.imageHosting.siyuan.builtInRemark":"","backend.imageHosting.siyuan.name":"","backend.imageHosting.yuque_oauth.builtInRemark":"","backend.imageHosting.yuque_oauth.error_401":"","backend.imageHosting.yuque_oauth.error_403":"","backend.imageHosting.yuque_oauth.error_429":"","backend.imageHosting.yuque_oauth.name":"","backend.imageHosting.yuque.name":"","backend.not.unavailable":"","backend.services.baklib.form.authentication":"","backend.services.baklib.headerForm.channel":"","backend.services.baklib.headerForm.description":"","backend.services.baklib.headerForm.tags":"","backend.services.baklib.name":"","backend.services.bear.form.confirm":"","backend.services.confluence.form.authentication":"","backend.services.confluence.form.origin":"","backend.services.confluence.form.space":"","backend.services.dida365.headerForm.applyTags":"","backend.services.dida365.name":"","backend.services.dida365.rootGroup":"","backend.services.dida365.unauthorizedErrorMessage":"","backend.services.flomo.login":"","backend.services.github.form.GenerateNewToken":"","backend.services.github.form.storageLocation":"","backend.services.github.form.storageLocation.code":"","backend.services.github.form.storageLocation.code.savePath":"","backend.services.github.form.storageLocation.code.savePathPlaceHolder":"","backend.services.github.form.storageLocation.issue":"","backend.services.github.form.visibility":"","backend.services.github.form.visibility.all":"","backend.services.github.form.visibility.private":"","backend.services.github.form.visibility.public":"","backend.services.github.headerForm.applyLabels":"","backend.services.joplin.filter_tags":"","backend.services.joplin.filter_unused_tags":"","backend.services.joplin.headerForm.tags":"","backend.services.joplin.name":"","backend.services.kindle.form.alert":"","backend.services.kindle.name":"","backend.services.leanote.form.email":"","backend.services.leanote.name":"","backend.services.mail.form.address.is.required":"","backend.services.mail.form.buy.powerpack":"","backend.services.mail.form.homepage":"","backend.services.mail.form.homepage.is.required":"","backend.services.mail.form.homepage.of.mail":"","backend.services.mail.form.powerpack":"","backend.services.mail.form.powerpack.is.expired":"","backend.services.mail.form.powerpack.is.required":"","backend.services.mail.form.send.html":"","backend.services.mail.form.send.html.or.markdown":"","backend.services.mail.form.send.to":"","backend.services.mail.name":"","backend.services.notion.unauthorizedErrorMessage":"","backend.services.onenote_oauth.name":"","backend.services.server_chan.accessToken.message":"","backend.services.server_chan.name":"","backend.services.siyuan.form.accessToken":"","backend.services.siyuan.name":"","backend.services.siyuan.notes":"","backend.services.ticktick.headerForm.applyTags":"","backend.services.ticktick.name":"","backend.services.ticktick.rootGroup":"","backend.services.ticktick.unauthorizedErrorMessage":"","backend.services.wiznote.form.authentication":"","backend.services.wiznote.form.origin":"","backend.services.wiznote.name":"","backend.services.wolai.unauthorizedErrorMessage":"","backend.services.youdao.name":"","backend.services.youdao.unauthorizedErrorMessage":"","backend.services.yuque_oauth.name":"","backend.services.yuque.form.repositoryType":"","backend.services.yuque.form.showAllRepository":"","backend.services.yuque.form.showGroupRepository":"","backend.services.yuque.form.showSelfRepository":"","backend.services.yuque.headerForm.slug":"","backend.services.yuque.headerForm.slug_error":"","backend.services.yuque.name":"","background.not_support_message":"","component.accountItem.delete":"","component.accountItem.edit":"","component.imagehostingListItem.delete":"","component.imagehostingListItem.edit":"","component.imagehostingListItem.noDescription":"","component.imageHostingSelectOption.noDescription":"","component.powerpackForm.expired":"","component.powerpackForm.required":"","contextMenus.selection.save.description":"","contextMenus.selection.save.template":"","contextMenus.selection.save.title":"","extension.link.config.autoRunExclude":"","extension.link.config.template":"","hooks.useOriginForm.origin.message":"","page.complete.close":"","page.complete.error":"","page.complete.message":"","page.complete.share":"","page.complete.success":"","preference.account.add":"","preference.accountList.add":"","preference.accountList.addAccount":"","preference.accountList.confirm":"","preference.accountList.defaultRepository":"","preference.accountList.editAccount":"","preference.accountList.imageHost":"","preference.accountList.login":"","preference.accountList.type":"","preference.accountList.verify":"","preference.accountList.verifying":"","preference.basic.configLanguage.description":"Мой родной язык китайский, добро пожаловать на перевод на {GitHub}.","preference.basic.configLanguage.title":"","preference.basic.iconColor.auto":"","preference.basic.iconColor.dark":"","preference.basic.iconColor.description":"","preference.basic.iconColor.light":"","preference.basic.iconColor.title":"","preference.basic.liveRendering.description":"","preference.basic.liveRendering.title":"","preference.basic.update.button":"","preference.basic.update.description":"","preference.basic.update.title":"","preference.bind.message":"","preference.extensions.automaticOperationIsProhibited":"","preference.extensions.CancelSetting":"","preference.extensions.clipExtensions":"","preference.extensions.clipExtensions.tooltip":"","preference.extensions.ConfiguredAsDefaultExtension":"","preference.extensions.contextMenus":"","preference.extensions.form.reset":"","preference.extensions.install":"","preference.extensions.no.Description":"","preference.extensions.require.powerpack":"","preference.extensions.require.update":"","preference.extensions.runAutomaticOnSaving":"","preference.extensions.toolExtensions":"","preference.extensions.Uninstall":"","preference.extensions.update":"","preference.imageHosting.add":"","preference.imageHosting.edit":"","preference.imageHosting.remark":"","preference.imageHosting.type":"","preference.powerpack.activate":"","preference.powerpack.expiry":"","preference.powerpack.failed":"","preference.powerpack.feature.coffee":"","preference.powerpack.feature.coffee.description":"","preference.powerpack.feature.ocr":"","preference.powerpack.feature.ocr.description":"","preference.powerpack.feature.saveToEmail":"","preference.powerpack.feature.saveToEmail.description":"","preference.powerpack.feature.sendToKindle":"","preference.powerpack.feature.sendToKindle.description":"","preference.powerpack.features":"","preference.powerpack.free.trial":"","preference.powerpack.login.github":"","preference.powerpack.login.google":"","preference.powerpack.logout":"","preference.powerpack.reload":"","preference.powerpack.upgrade":"","preference.tab.account":"","preference.tab.basic":"","preference.tab.changelog":"","preference.tab.extensions":"","preference.tab.imageHost":"","preference.tab.powerpack":"","preference.tab.privacy":"","tool.clipExtensions":"","tool.repository":"","tool.save":"","tool.saveButton.noRepository":"","tool.title":"Сохранить контент","tool.title.required":"","tool.toolExtensions":""}')},234:function(e){e.exports=JSON.parse('{"auth.modal.title":"账户配置","backend.error.store":"插件商店不允许执行脚本","backend.imageHosting.baklib.builtInRemark":"Baklib 内置图床","backend.imageHosting.baklib.name":"Baklib","backend.imageHosting.github.form.accessToken":"AccessToken","backend.imageHosting.github.form.accessToken.errorMessage":"请填写 AccessToken。","backend.imageHosting.github.form.generateNewToken":"生成新 Token","backend.imageHosting.github.form.repo":"仓库","backend.imageHosting.github.form.repo.errorMessage":"请选择仓库。","backend.imageHosting.github.form.savePath":"保存路径","backend.imageHosting.github.repo.errorMessage":"请重新设置 GitHub 图床","backend.imageHosting.joplin.builtInRemark":"Joplin 内置图床","backend.imageHosting.joplin.name":"Joplin","backend.imageHosting.leanote.builtInRemark":"蚂蚁笔记内置图床","backend.imageHosting.leanote.name":"蚂蚁笔记","backend.imageHosting.siyuan.builtInRemark":"","backend.imageHosting.siyuan.name":"思源笔记","backend.imageHosting.yuque_oauth.builtInRemark":"语雀内置图床。","backend.imageHosting.yuque_oauth.error_401":"没有权限,需要删除当前账户重新授权。","backend.imageHosting.yuque_oauth.error_403":"没有权限,需要删除当前账户重新授权。","backend.imageHosting.yuque_oauth.error_429":"请求太频繁,接口限制每小时最多 100 次。","backend.imageHosting.yuque_oauth.name":"语雀(一键授权)","backend.imageHosting.yuque.name":"语雀","backend.imageHosting.wiznote.name":"为知笔记","backend.imageHosting.wiznote.builtInRemark":"为知笔记内置图床","backend.not.unavailable":"暂时无法剪辑此类型的页面。\n\n刷新页面可以解决。","backend.services.baklib.form.authentication":"授权","backend.services.baklib.headerForm.channel":"栏目","backend.services.baklib.headerForm.description":"描述","backend.services.baklib.headerForm.tags":"标签","backend.services.baklib.name":"Baklib","backend.services.bear.form.confirm":"请确认您安装了 Bear 客户端。","backend.services.confluence.form.authentication":"授权","backend.services.confluence.form.origin":"Origin","backend.services.confluence.form.space":"空间","backend.services.dida365.headerForm.applyTags":"选择标签","backend.services.dida365.name":"滴答清单","backend.services.dida365.rootGroup":"根目录","backend.services.dida365.unauthorizedErrorMessage":"授权失败,请登录网页版滴答清单。","backend.services.flomo.login":"授权失败,请登录网页版浮墨笔记。","backend.services.github.form.GenerateNewToken":"生成新 Token","backend.services.github.form.storageLocation":"保存位置","backend.services.github.form.storageLocation.code":"Code","backend.services.github.form.storageLocation.code.savePath":"保存路径","backend.services.github.form.storageLocation.code.savePathPlaceHolder":"仅在保存到Code时生效","backend.services.github.form.storageLocation.issue":"Issue","backend.services.github.form.visibility":"可见性","backend.services.github.form.visibility.all":"全部","backend.services.github.form.visibility.private":"私有仓库","backend.services.github.form.visibility.public":"公开仓库","backend.services.github.headerForm.applyLabels":"设置标签","backend.services.joplin.filter_tags":"过滤标签","backend.services.joplin.filter_unused_tags":"过滤没有被使用的标签","backend.services.joplin.headerForm.tags":"标签","backend.services.joplin.name":"Joplin","backend.services.kindle.form.alert":"你必须告诉 Amazon 允许 {mail} 发送邮件到你的 Kindle.","backend.services.kindle.name":"发送到 Kindle","backend.services.leanote.form.email":"邮箱","backend.services.leanote.name":"蚂蚁笔记","backend.services.mail.form.address.is.required":"请填写邮件地址","backend.services.mail.form.buy.powerpack":"购买加强包","backend.services.mail.form.homepage":"邮箱首页","backend.services.mail.form.homepage.is.required":"请填写首页地址","backend.services.mail.form.homepage.of.mail":"邮箱首页","backend.services.mail.form.powerpack":"加强包","backend.services.mail.form.powerpack.is.expired":"加强包已过期","backend.services.mail.form.powerpack.is.required":"需要购买加强包","backend.services.mail.form.send.html":"发送 Html","backend.services.mail.form.send.html.or.markdown":"发送 Html 或 Markdown","backend.services.mail.form.send.to":"发送给","backend.services.mail.name":"邮件","backend.services.notion.unauthorizedErrorMessage":"授权失败,请登录网页版 Notion。","backend.services.onenote_oauth.name":"OneNote","backend.services.server_chan.accessToken.message":"请输入 AccessToken","backend.services.server_chan.name":"Server酱","backend.services.siyuan.form.accessToken":"","backend.services.siyuan.name":"思源笔记","backend.services.siyuan.notes":"笔记本","backend.services.ticktick.headerForm.applyTags":"选择标签","backend.services.ticktick.name":"TickTick","backend.services.ticktick.rootGroup":"根目录","backend.services.ticktick.unauthorizedErrorMessage":"授权失败,请登录网页版 TickTick。","backend.services.wiznote.form.authentication":"授权","backend.services.wiznote.form.origin":"Origin","backend.services.wiznote.name":"为知笔记","backend.services.wolai.unauthorizedErrorMessage":"授权失败,请登录网页版 Wolai","backend.services.flowus.unauthorizedErrorMessage":"授权失败,请登录网页版 FlowUs","backend.services.youdao.name":"有道云笔记","backend.services.youdao.unauthorizedErrorMessage":"授权失败,请登录网页版有道云笔记。","backend.services.yuque_oauth.name":"语雀(一键授权)","backend.services.yuque.form.repositoryType":"知识库类型","backend.services.yuque.form.showAllRepository":"显示全部知识库","backend.services.yuque.form.showGroupRepository":"显示团队的知识库","backend.services.yuque.form.showSelfRepository":"显示自己的知识库","backend.services.yuque.headerForm.slug":"路径","backend.services.yuque.headerForm.slug_error":"只能输入大小写字母、横线、下划线和点,至少 2 个字符。","backend.services.yuque.name":"语雀","background.not_support_message":"暂时无法剪辑此类型的页面。","component.accountItem.delete":"删除","component.accountItem.edit":"编辑","component.imagehostingListItem.delete":"删除","component.imagehostingListItem.edit":"编辑","component.imagehostingListItem.noDescription":"没有备注","component.imageHostingSelectOption.noDescription":"没有备注","component.powerpackForm.expired":"加强包已过期","component.powerpackForm.required":"请购买加强包","contextMenus.selection.save.description":"保存选择的内容","contextMenus.selection.save.template":"来源:{TITLE}\n\n## 摘录内容 \n{CONTENT}\n## 想法","contextMenus.selection.save.title":"保存选择的内容","extension.link.config.autoRunExclude":"禁用自动运行","extension.link.config.template":"模板","hooks.useOriginForm.origin.message":"格式错误,示例 https://developer.mozilla.org","page.complete.close":"关闭 Web Clipper","page.complete.error":"发生错误","page.complete.message":"前往 {name} 查看","page.complete.share":"分享","page.complete.success":"保存成功","preference.account.add":"绑定账户","preference.accountList.add":"添加","preference.accountList.addAccount":"添加账户","preference.accountList.confirm":"确认","preference.accountList.defaultRepository":"默认知识库","preference.accountList.editAccount":"编辑账户","preference.accountList.imageHost":"图床","preference.accountList.login":"授权登录","preference.accountList.type":"类型","preference.accountList.verify":"校验","preference.accountList.verifying":"校验中","preference.basic.configLanguage.description":"欢迎在 {GitHub} 提交翻译","preference.basic.configLanguage.title":"语言","preference.basic.iconColor.auto":"自动","preference.basic.iconColor.dark":"暗色","preference.basic.iconColor.description":"图标颜色","preference.basic.iconColor.light":"亮色","preference.basic.iconColor.title":"图标颜色","preference.basic.liveRendering.description":"开启后编辑器使用所见即所得模式","preference.basic.liveRendering.title":"所见即所得","preference.basic.update.button":"安装更新","preference.basic.update.description":"因为审核需要一周,所以 chrome 商店的版本会延迟几个版本。","preference.basic.update.title":"有更新","preference.bind.message":"只有绑定账户后才能使用本插件","preference.extensions.automaticOperationIsProhibited":"自动运行被禁止","preference.extensions.CancelSetting":"取消设置","preference.extensions.clipExtensions":"剪藏插件","preference.extensions.clipExtensions.tooltip":"点击 🌟选择默认插件","preference.extensions.ConfiguredAsDefaultExtension":"设置成默认扩展","preference.extensions.contextMenus":"右键菜单","preference.extensions.form.reset":"恢复默认设置","preference.extensions.install":"安装","preference.extensions.no.Description":"没有描述","preference.extensions.require.powerpack":"请购买加强包","preference.extensions.require.update":"需要剪藏更新到 {version} 版本","preference.extensions.runAutomaticOnSaving":"保存时自动运行","preference.extensions.toolExtensions":"工具插件","preference.extensions.Uninstall":"卸载","preference.extensions.update":"更新","preference.imageHosting.add":"添加图床","preference.imageHosting.edit":"编辑","preference.imageHosting.remark":"备注","preference.imageHosting.type":"类型","preference.powerpack.activate":"购买加强包解锁更多功能","preference.powerpack.expiry":"过期时间","preference.powerpack.failed":"获取加强包信息失败","preference.powerpack.feature.coffee":"给我买杯咖啡","preference.powerpack.feature.coffee.description":"让开发者更有维护的动力","preference.powerpack.feature.ocr":"OCR","preference.powerpack.feature.ocr.description":"识别图片中的文字","preference.powerpack.feature.saveToEmail":"保存到邮箱","preference.powerpack.feature.saveToEmail.description":"保存网页到邮箱中查看","preference.powerpack.feature.sendToKindle":"保存到 Kindle","preference.powerpack.feature.sendToKindle.description":"保存网页到 Kindle 中查看","preference.powerpack.features":"功能","preference.powerpack.free.trial":"免费试用7天","preference.powerpack.login.github":"通过 Github 登录","preference.powerpack.login.google":"通过 Google 登录","preference.powerpack.logout":"登出","preference.powerpack.reload":"刷新","preference.powerpack.upgrade":"购买","preference.tab.account":"账户","preference.tab.basic":"基础设置","preference.tab.changelog":"更新日志","preference.tab.extensions":"扩展设置","preference.tab.imageHost":"图床设置","preference.tab.powerpack":"加强包","preference.tab.privacy":"隐私协议","tool.clipExtensions":"剪藏扩展","tool.repository":"知识库","tool.save":"保存内容","tool.saveButton.noRepository":"请选择你要保存的知识库","tool.title":"笔记标题","tool.title.required":"请输入笔记标题","tool.toolExtensions":"工具扩展"}')},235:function(e){e.exports=JSON.parse('{"auth.modal.title":"賬戶配置","backend.error.store":"","backend.imageHosting.baklib.builtInRemark":"","backend.imageHosting.baklib.name":"","backend.imageHosting.github.form.accessToken":"","backend.imageHosting.github.form.accessToken.errorMessage":"","backend.imageHosting.github.form.generateNewToken":"","backend.imageHosting.github.form.repo":"","backend.imageHosting.github.form.repo.errorMessage":"","backend.imageHosting.github.form.savePath":"","backend.imageHosting.github.repo.errorMessage":"","backend.imageHosting.joplin.builtInRemark":"Joplin 內置圖床","backend.imageHosting.joplin.name":"Joplin","backend.imageHosting.leanote.builtInRemark":"","backend.imageHosting.leanote.name":"","backend.imageHosting.siyuan.builtInRemark":"","backend.imageHosting.siyuan.name":"","backend.imageHosting.yuque_oauth.builtInRemark":"語雀內置圖床。","backend.imageHosting.yuque_oauth.error_401":"沒有權限,需要刪除當前賬戶重新授權。","backend.imageHosting.yuque_oauth.error_403":"沒有權限,需要刪除當前賬戶重新授權。","backend.imageHosting.yuque_oauth.error_429":"請求太頻繁,接口限制每小時最多 100 次。","backend.imageHosting.yuque_oauth.name":"語雀(一鍵授權)","backend.imageHosting.yuque.name":"語雀","backend.not.unavailable":"","backend.services.baklib.form.authentication":"","backend.services.baklib.headerForm.channel":"欄目","backend.services.baklib.headerForm.description":"描述","backend.services.baklib.headerForm.tags":"標簽","backend.services.baklib.name":"Baklib","backend.services.bear.form.confirm":"請確認您安裝了 Bear 客戶端。","backend.services.confluence.form.authentication":"授權","backend.services.confluence.form.origin":"Origin","backend.services.confluence.form.space":"空間","backend.services.dida365.headerForm.applyTags":"選擇標簽","backend.services.dida365.name":"滴答清單","backend.services.dida365.rootGroup":"根目錄","backend.services.dida365.unauthorizedErrorMessage":"授權失敗,請登錄網頁版滴答清單。","backend.services.flomo.login":"","backend.services.github.form.GenerateNewToken":"生成新 Token","backend.services.github.form.storageLocation":"","backend.services.github.form.storageLocation.code":"","backend.services.github.form.storageLocation.code.savePath":"","backend.services.github.form.storageLocation.code.savePathPlaceHolder":"","backend.services.github.form.storageLocation.issue":"","backend.services.github.form.visibility":"可見性","backend.services.github.form.visibility.all":"全部","backend.services.github.form.visibility.private":"私有倉庫","backend.services.github.form.visibility.public":"公開倉庫","backend.services.github.headerForm.applyLabels":"設置標簽","backend.services.joplin.filter_tags":"過濾標簽","backend.services.joplin.filter_unused_tags":"過濾沒有被使用的標簽","backend.services.joplin.headerForm.tags":"標簽","backend.services.joplin.name":"Joplin","backend.services.kindle.form.alert":"你必須告訴 Amazon 允許 {mail} 发送郵件到你的 Kindle.","backend.services.kindle.name":"发送到 Kindle","backend.services.leanote.form.email":"","backend.services.leanote.name":"","backend.services.mail.form.address.is.required":"請填寫郵件地址","backend.services.mail.form.buy.powerpack":"購買加強包","backend.services.mail.form.homepage":"郵箱首頁","backend.services.mail.form.homepage.is.required":"請填寫首頁地址","backend.services.mail.form.homepage.of.mail":"郵箱首頁","backend.services.mail.form.powerpack":"加強包","backend.services.mail.form.powerpack.is.expired":"加強包已過期","backend.services.mail.form.powerpack.is.required":"需要購買加強包","backend.services.mail.form.send.html":"发送 Html","backend.services.mail.form.send.html.or.markdown":"发送 Html 或 Markdown","backend.services.mail.form.send.to":"发送給","backend.services.mail.name":"郵件","backend.services.notion.unauthorizedErrorMessage":"授權失敗,請登錄網頁版 Notion。","backend.services.onenote_oauth.name":"OneNote","backend.services.server_chan.accessToken.message":"請輸入 AccessToken","backend.services.server_chan.name":"Server醬","backend.services.siyuan.form.accessToken":"","backend.services.siyuan.name":"","backend.services.siyuan.notes":"","backend.services.ticktick.headerForm.applyTags":"選擇標簽","backend.services.ticktick.name":"TickTick","backend.services.ticktick.rootGroup":"根目錄","backend.services.ticktick.unauthorizedErrorMessage":"授權失敗,請登錄網頁版 TickTick。","backend.services.wiznote.form.authentication":"授權","backend.services.wiznote.form.origin":"Origin","backend.services.wiznote.name":"為知筆記","backend.services.wolai.unauthorizedErrorMessage":"授權失敗,請登錄網頁版 Wolai","backend.services.flowus.unauthorizedErrorMessage":"授權失敗,請登錄網頁版 FlowUs","backend.services.youdao.name":"有道雲筆記","backend.services.youdao.unauthorizedErrorMessage":"授權失敗,請登錄網頁版有道雲筆記。","backend.services.yuque_oauth.name":"語雀(一鍵授權)","backend.services.yuque.form.repositoryType":"知識庫類型","backend.services.yuque.form.showAllRepository":"顯示全部知識庫","backend.services.yuque.form.showGroupRepository":"顯示團隊的知識庫","backend.services.yuque.form.showSelfRepository":"顯示自己的知識庫","backend.services.yuque.headerForm.slug":"路徑","backend.services.yuque.headerForm.slug_error":"只能輸入大小寫字母、橫線、下劃線和點,至少 2 個字符。","backend.services.yuque.name":"語雀","background.not_support_message":"暫時無法剪輯此類型的頁面。","component.accountItem.delete":"刪除","component.accountItem.edit":"編輯","component.imagehostingListItem.delete":"刪除","component.imagehostingListItem.edit":"編輯","component.imagehostingListItem.noDescription":"沒有備注","component.imageHostingSelectOption.noDescription":"沒有備注","component.powerpackForm.expired":"加強包已過期","component.powerpackForm.required":"請購買加強包","contextMenus.selection.save.description":"","contextMenus.selection.save.template":"","contextMenus.selection.save.title":"","extension.link.config.autoRunExclude":"","extension.link.config.template":"","hooks.useOriginForm.origin.message":"格式錯誤,示例 https://developer.mozilla.org","page.complete.close":"關閉 Web Clipper","page.complete.error":"发生錯誤","page.complete.message":"前往 {name} 查看","page.complete.share":"分享","page.complete.success":"保存成功","preference.account.add":"綁定賬戶","preference.accountList.add":"添加","preference.accountList.addAccount":"添加賬戶","preference.accountList.confirm":"確認","preference.accountList.defaultRepository":"默認知識庫","preference.accountList.editAccount":"編輯賬戶","preference.accountList.imageHost":"圖床","preference.accountList.login":"授權登錄","preference.accountList.type":"類型","preference.accountList.verify":"校驗","preference.accountList.verifying":"校驗中","preference.basic.configLanguage.description":"歡迎在 {GitHub} 提交翻譯","preference.basic.configLanguage.title":"語言","preference.basic.iconColor.auto":"","preference.basic.iconColor.dark":"","preference.basic.iconColor.description":"","preference.basic.iconColor.light":"","preference.basic.iconColor.title":"","preference.basic.liveRendering.description":"開啟後編輯器使用所見即所得模式","preference.basic.liveRendering.title":"所見即所得","preference.basic.update.button":"安裝更新","preference.basic.update.description":"因為審核需要一周,所以 chrome 商店的版本會延遲幾個版本。","preference.basic.update.title":"有更新","preference.bind.message":"只有綁定賬戶後才能使用本插件","preference.extensions.automaticOperationIsProhibited":"自動運行被禁止","preference.extensions.CancelSetting":"取消設置","preference.extensions.clipExtensions":"剪藏插件","preference.extensions.clipExtensions.tooltip":"點擊 🌟選擇默認插件","preference.extensions.ConfiguredAsDefaultExtension":"設置成默認擴展","preference.extensions.contextMenus":"","preference.extensions.form.reset":"恢复默认设置","preference.extensions.install":"安裝","preference.extensions.no.Description":"沒有描述","preference.extensions.require.powerpack":"請購買加強包","preference.extensions.require.update":"需要剪藏更新到 {version} 版本","preference.extensions.runAutomaticOnSaving":"保存時自動運行","preference.extensions.toolExtensions":"工具插件","preference.extensions.Uninstall":"卸載","preference.extensions.update":"更新","preference.imageHosting.add":"添加圖床","preference.imageHosting.edit":"編輯","preference.imageHosting.remark":"備注","preference.imageHosting.type":"類型","preference.powerpack.activate":"購買加強包解鎖更多功能","preference.powerpack.expiry":"過期時間","preference.powerpack.failed":"獲取加強包信息失敗","preference.powerpack.feature.coffee":"給我買杯咖啡","preference.powerpack.feature.coffee.description":"讓開发者更有維護的動力","preference.powerpack.feature.ocr":"OCR","preference.powerpack.feature.ocr.description":"識別圖片中的文字","preference.powerpack.feature.saveToEmail":"保存到郵箱","preference.powerpack.feature.saveToEmail.description":"保存網頁到郵箱中查看","preference.powerpack.feature.sendToKindle":"保存到 Kindle","preference.powerpack.feature.sendToKindle.description":"保存網頁到 Kindle 中查看","preference.powerpack.features":"功能","preference.powerpack.free.trial":"免費試用7天","preference.powerpack.login.github":"通過 Github 登錄","preference.powerpack.login.google":"通過 Google 登錄","preference.powerpack.logout":"登出","preference.powerpack.reload":"刷新","preference.powerpack.upgrade":"購買","preference.tab.account":"賬戶","preference.tab.basic":"基礎設置","preference.tab.changelog":"更新日志","preference.tab.extensions":"擴展設置","preference.tab.imageHost":"圖床設置","preference.tab.powerpack":"加強包","preference.tab.privacy":"隱私協議","tool.clipExtensions":"剪藏擴展","tool.repository":"知識庫","tool.save":"保存內容","tool.saveButton.noRepository":"","tool.title":"筆記標題","tool.title.required":"請輸入筆記標題","tool.toolExtensions":"工具擴展"}')},256:function(e,r,n){"use strict";function invariant(e,r,n){if(void 0===n&&(n=Error),!e)throw new n(r)}n.d(r,"a",(function(){return invariant}))},259:function(e,r,n){"use strict";var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function toObject(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function shouldUseNative(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var r={},n=0;n<10;n++)r[""+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(r).map((function(e){return r[e]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,r){for(var n,s,c=toObject(e),u=1;u<arguments.length;u++){for(var p in n=Object(arguments[u]))i.call(n,p)&&(c[p]=n[p]);if(o){s=o(n);for(var f=0;f<s.length;f++)a.call(n,s[f])&&(c[s[f]]=n[s[f]])}}return c}},269:function(e,r,n){"use strict";n.d(r,"a",(function(){return k}));var o,i,a=n(113),s=n(42),c=n(46),u=n(7),p=n(30),f=n(212),g=n.n(f),b=n(201),__decorate=function(e,r,n,o){var i,a=arguments.length,s=a<3?r:null===o?o=Object.getOwnPropertyDescriptor(r,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,r,n,o);else for(var c=e.length-1;c>=0;c--)(i=e[c])&&(s=(a<3?i(s):a>3?i(r,n,s):i(r,n))||s);return a>3&&s&&Object.defineProperty(r,n,s),s},__metadata=function(e,r){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,r)},__param=function(e,r){return function(n,o){r(n,o,e)}};let k=class PowerpackService{constructor(e,r){this.localStorageService=e,this.backendService=r,this.userInfo=null,this.startup=async()=>{const e=this.localStorageService.get(PowerpackService.LOCAL_ACCESS_TOKEN_LOCALE_KEY);if(!e)return void Object(p.h)(()=>{this.accessToken=e,this.userInfo=null});Object(p.h)(()=>{this.accessToken=e});const r=await this.backendService.getUserInfo();Object(p.h)(()=>{this.userInfo=r})},this.refresh=async()=>{const e=await this.backendService.refreshToken();await this.localStorageService.set(PowerpackService.LOCAL_ACCESS_TOKEN_LOCALE_KEY,e)},this.logout=async()=>{this.localStorageService.delete(PowerpackService.LOCAL_ACCESS_TOKEN_LOCALE_KEY)},this.login=async e=>{this.localStorageService.set(PowerpackService.LOCAL_ACCESS_TOKEN_LOCALE_KEY,e)},this.localStorageService.onDidChangeStorage(e=>{e===PowerpackService.LOCAL_ACCESS_TOKEN_LOCALE_KEY&&this.startup()})}get bought(){return!!this.userInfo}get expired(){return this.bought&&!g()(this.userInfo.expire_date,"YYYY-MM-DD").endOf("day").add(1,"day").isAfter(g()())}};k.LOCAL_ACCESS_TOKEN_LOCALE_KEY="local.access.token.locale",__decorate([p.g,__metadata("design:type",Object)],k.prototype,"userInfo",void 0),__decorate([p.g,__metadata("design:type",String)],k.prototype,"accessToken",void 0),__decorate([p.d,__metadata("design:type",Object),__metadata("design:paramtypes",[])],k.prototype,"bought",null),__decorate([p.d,__metadata("design:type",Object),__metadata("design:paramtypes",[])],k.prototype,"expired",null),__decorate([b.a,__metadata("design:type",Object)],k.prototype,"startup",void 0),__decorate([b.a,__metadata("design:type",Object)],k.prototype,"refresh",void 0),k=__decorate([__param(0,Object(u.Inject)(c.a)),__param(1,Object(u.Inject)(a.a)),__metadata("design:paramtypes",["function"==typeof(o=void 0!==s.IStorageService&&s.IStorageService)?o:Object,"function"==typeof(i=void 0!==a.a&&a.a)?i:Object])],k)},284:function(e,r,n){var o=function(e){"use strict";var r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function define(e,r,n){return Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[r]}try{define({},"")}catch(e){define=function(e,r,n){return e[r]=n}}function wrap(e,r,n,o){var i=r&&r.prototype instanceof Generator?r:Generator,a=Object.create(i.prototype),s=new Context(o||[]);return a._invoke=function makeInvokeMethod(e,r,n){var o="suspendedStart";return function invoke(i,a){if("executing"===o)throw new Error("Generator is already running");if("completed"===o){if("throw"===i)throw a;return doneResult()}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var u=maybeInvokeDelegate(s,n);if(u){if(u===c)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===o)throw o="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o="executing";var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?"completed":"suspendedYield",p.arg===c)continue;return{value:p.arg,done:n.done}}"throw"===p.type&&(o="completed",n.method="throw",n.arg=p.arg)}}}(e,n,s),a}function tryCatch(e,r,n){try{return{type:"normal",arg:e.call(r,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=wrap;var c={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var u={};u[i]=function(){return this};var p=Object.getPrototypeOf,f=p&&p(p(values([])));f&&f!==r&&n.call(f,i)&&(u=f);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(u);function defineIteratorMethods(e){["next","throw","return"].forEach((function(r){define(e,r,(function(e){return this._invoke(r,e)}))}))}function AsyncIterator(e,r){var o;this._invoke=function enqueue(i,a){function callInvokeWithMethodAndArg(){return new r((function(o,s){!function invoke(o,i,a,s){var c=tryCatch(e[o],e,i);if("throw"!==c.type){var u=c.arg,p=u.value;return p&&"object"==typeof p&&n.call(p,"__await")?r.resolve(p.__await).then((function(e){invoke("next",e,a,s)}),(function(e){invoke("throw",e,a,s)})):r.resolve(p).then((function(e){u.value=e,a(u)}),(function(e){return invoke("throw",e,a,s)}))}s(c.arg)}(i,a,o,s)}))}return o=o?o.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}}function maybeInvokeDelegate(e,r){var n=e.iterator[r.method];if(void 0===n){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=void 0,maybeInvokeDelegate(e,r),"throw"===r.method))return c;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var o=tryCatch(n,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,c;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,c):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,c)}function pushTryEntry(e){var r={tryLoc:e[0]};1 in e&&(r.catchLoc=e[1]),2 in e&&(r.finallyLoc=e[2],r.afterLoc=e[3]),this.tryEntries.push(r)}function resetTryEntry(e){var r=e.completion||{};r.type="normal",delete r.arg,e.completion=r}function Context(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function next(){for(;++o<e.length;)if(n.call(e,o))return next.value=e[o],next.done=!1,next;return next.value=void 0,next.done=!0,next};return a.next=a}}return{next:doneResult}}function doneResult(){return{value:void 0,done:!0}}return GeneratorFunction.prototype=g.constructor=GeneratorFunctionPrototype,GeneratorFunctionPrototype.constructor=GeneratorFunction,GeneratorFunction.displayName=define(GeneratorFunctionPrototype,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var r="function"==typeof e&&e.constructor;return!!r&&(r===GeneratorFunction||"GeneratorFunction"===(r.displayName||r.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.proto=GeneratorFunctionPrototype,define(e,s,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},defineIteratorMethods(AsyncIterator.prototype),AsyncIterator.prototype[a]=function(){return this},e.AsyncIterator=AsyncIterator,e.async=function(r,n,o,i,a){void 0===a&&(a=Promise);var s=new AsyncIterator(wrap(r,n,o,i),a);return e.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},defineIteratorMethods(g),define(g,s,"Generator"),g[i]=function(){return this},g.toString=function(){return"[object Generator]"},e.keys=function(e){var r=[];for(var n in e)r.push(n);return r.reverse(),function next(){for(;r.length;){var n=r.pop();if(n in e)return next.value=n,next.done=!1,next}return next.done=!0,next}},e.values=values,Context.prototype={constructor:Context,reset:function(e){if(this.prev=0,this.next=0,this.sent=this.sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(resetTryEntry),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function handle(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=void 0),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc)}}}},abrupt:function(e,r){for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=r&&r<=a.finallyLoc&&(a=null);var s=a?a.completion:{};return s.type=e,s.arg=r,a?(this.method="next",this.next=a.finallyLoc,c):this.complete(s)},complete:function(e,r){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&r&&(this.next=r),c},finish:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),resetTryEntry(n),c}},catch:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var i=o.arg;resetTryEntry(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},e}(e.exports);try{regeneratorRuntime=o}catch(e){Function("r","regeneratorRuntime = r")(o)}},30:function(e,r,n){"use strict";(function(e,o){n.d(r,"a",(function(){return Oe})),n.d(r,"b",(function(){return se})),n.d(r,"c",(function(){return autorun})),n.d(r,"d",(function(){return B})),n.d(r,"e",(function(){return configure})),n.d(r,"f",(function(){return getDependencyTree})),n.d(r,"g",(function(){return R})),n.d(r,"h",(function(){return runInAction})),n.d(r,"i",(function(){return spy})),n.d(r,"j",(function(){return toJS})),n.d(r,"k",(function(){return transaction}));var i=[];Object.freeze(i);var a={};function getNextId(){return++ae.mobxGuid}function fail(e){throw invariant(!1,e),"X"}function invariant(e,r){if(!e)throw new Error("[mobx] "+(r||"An invariant failed, however the error is obfuscated because this is a production build."))}Object.freeze(a);function once(e){var r=!1;return function(){if(!r)return r=!0,e.apply(this,arguments)}}var noop=function(){};function isObject(e){return null!==e&&"object"==typeof e}function isPlainObject(e){if(null===e||"object"!=typeof e)return!1;var r=Object.getPrototypeOf(e);return r===Object.prototype||null===r}function addHiddenProp(e,r,n){Object.defineProperty(e,r,{enumerable:!1,writable:!0,configurable:!0,value:n})}function createInstanceofPredicate(e,r){var n="isMobX"+e;return r.prototype[n]=!0,function(e){return isObject(e)&&!0===e[n]}}function isES6Map(e){return e instanceof Map}function isES6Set(e){return e instanceof Set}function getPlainObjectKeys(e){var r=new Set;for(var n in e)r.add(n);return Object.getOwnPropertySymbols(e).forEach((function(n){Object.getOwnPropertyDescriptor(e,n).enumerable&&r.add(n)})),Array.from(r)}function stringifyKey(e){return e&&e.toString?e.toString():new String(e).toString()}function toPrimitive(e){return null===e?null:"object"==typeof e?""+e:e}var s="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,c=Symbol("mobx administration"),u=function(){function Atom(e){void 0===e&&(e="Atom@"+getNextId()),this.name=e,this.isPendingUnobservation=!1,this.isBeingObserved=!1,this.observers=new Set,this.diffValue=0,this.lastAccessedBy=0,this.lowestObserverState=F.NOT_TRACKING}return Atom.prototype.onBecomeObserved=function(){this.onBecomeObservedListeners&&this.onBecomeObservedListeners.forEach((function(e){return e()}))},Atom.prototype.onBecomeUnobserved=function(){this.onBecomeUnobservedListeners&&this.onBecomeUnobservedListeners.forEach((function(e){return e()}))},Atom.prototype.reportObserved=function(){return reportObserved(this)},Atom.prototype.reportChanged=function(){startBatch(),function propagateChanged(e){if(e.lowestObserverState===F.STALE)return;e.lowestObserverState=F.STALE,e.observers.forEach((function(r){r.dependenciesState===F.UP_TO_DATE&&(r.isTracing!==U.NONE&&logTraceInfo(r,e),r.onBecomeStale()),r.dependenciesState=F.STALE}))}(this),endBatch()},Atom.prototype.toString=function(){return this.name},Atom}(),p=createInstanceofPredicate("Atom",u);function createAtom(e,r,n){void 0===r&&(r=noop),void 0===n&&(n=noop);var o=new u(e);return r!==noop&&function onBecomeObserved(e,r,n){return interceptHook("onBecomeObserved",e,r,n)}(o,r),n!==noop&&onBecomeUnobserved(o,n),o}var f={identity:function identityComparer(e,r){return e===r},structural:function structuralComparer(e,r){return deepEqual(e,r)},default:function defaultComparer(e,r){return Object.is(e,r)},shallow:function shallowComparer(e,r){return deepEqual(e,r,1)}},extendStatics=function(e,r){return(extendStatics=Object.setPrototypeOf||{proto:[]}instanceof Array&&function(e,r){e.proto=r}||function(e,r){for(var n in r)r.hasOwnProperty(n)&&(e[n]=r[n])})(e,r)};var __assign=function(){return(__assign=Object.assign||function __assign(e){for(var r,n=1,o=arguments.length;n<o;n++)for(var i in r=arguments[n])Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i]);return e}).apply(this,arguments)};function __values(e){var r="function"==typeof Symbol&&e[Symbol.iterator],n=0;return r?r.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function __read(e,r){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,i,a=n.call(e),s=[];try{for(;(void 0===r||r-- >0)&&!(o=a.next()).done;)s.push(o.value)}catch(e){i={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return s}function __spread(){for(var e=[],r=0;r<arguments.length;r++)e=e.concat(__read(arguments[r]));return e}var g=Symbol("mobx did run lazy initializers"),b=Symbol("mobx pending decorators"),k={},w={};function createPropertyInitializerDescriptor(e,r){var n=r?k:w;return n[e]||(n[e]={configurable:!0,enumerable:r,get:function(){return initializeInstance(this),this[e]},set:function(r){initializeInstance(this),this[e]=r}})}function initializeInstance(e){var r,n;if(!0!==e[g]){var o=e[b];if(o){addHiddenProp(e,g,!0);var i=__spread(Object.getOwnPropertySymbols(o),Object.keys(o));try{for(var a=__values(i),s=a.next();!s.done;s=a.next()){var c=o[s.value];c.propertyCreator(e,c.prop,c.descriptor,c.decoratorTarget,c.decoratorArguments)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}}}function createPropDecorator(e,r){return function decoratorFactory(){var n,o=function decorate(o,i,a,s){if(!0===s)return r(o,i,a,o,n),null;if(!Object.prototype.hasOwnProperty.call(o,b)){var c=o[b];addHiddenProp(o,b,__assign({},c))}return o[b][i]={prop:i,propertyCreator:r,descriptor:a,decoratorTarget:o,decoratorArguments:n},createPropertyInitializerDescriptor(i,e)};return quacksLikeADecorator(arguments)?(n=i,o.apply(null,arguments)):(n=Array.prototype.slice.call(arguments),o)}}function quacksLikeADecorator(e){return(2===e.length||3===e.length)&&("string"==typeof e[1]||"symbol"==typeof e[1])||4===e.length&&!0===e[3]}function deepEnhancer(e,r,n){return isObservable(e)?e:Array.isArray(e)?R.array(e,{name:n}):isPlainObject(e)?R.object(e,void 0,{name:n}):isES6Map(e)?R.map(e,{name:n}):isES6Set(e)?R.set(e,{name:n}):e}function referenceEnhancer(e){return e}function createDecoratorForEnhancer(r){invariant(r);var n=createPropDecorator(!0,(function(e,n,o,i,a){var s=o?o.initializer?o.initializer.call(e):o.value:void 0;asObservableObject(e).addObservableProp(n,s,r)})),o=(void 0!==e&&e.env,n);return o.enhancer=r,o}var ={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function asCreateObservableOptions(e){return null==e?:"string"==typeof e?{name:e,deep:!0,proxy:!0}:e}Object.freeze();var x=createDecoratorForEnhancer(deepEnhancer),j=createDecoratorForEnhancer((function shallowEnhancer(e,r,n){return null==e||isObservableObject(e)||isObservableArray(e)||ke(e)||Se(e)?e:Array.isArray(e)?R.array(e,{name:n,deep:!1}):isPlainObject(e)?R.object(e,void 0,{name:n,deep:!1}):isES6Map(e)?R.map(e,{name:n,deep:!1}):isES6Set(e)?R.set(e,{name:n,deep:!1}):fail(!1)})),T=createDecoratorForEnhancer(referenceEnhancer),I=createDecoratorForEnhancer((function refStructEnhancer(e,r,n){return deepEqual(e,r)?r:e}));function getEnhancerFromOptions(e){return e.defaultDecorator?e.defaultDecorator.enhancer:!1===e.deep?referenceEnhancer:deepEnhancer}var M={box:function(e,r){arguments.length>2&&incorrectlyUsedAsDecorator("box");var n=asCreateObservableOptions(r);return new Z(e,getEnhancerFromOptions(n),n.name,!0,n.equals)},array:function(e,r){arguments.length>2&&incorrectlyUsedAsDecorator("array");var n=asCreateObservableOptions(r);return createObservableArray(e,getEnhancerFromOptions(n),n.name)},map:function(e,r){arguments.length>2&&incorrectlyUsedAsDecorator("map");var n=asCreateObservableOptions(r);return new ve(e,getEnhancerFromOptions(n),n.name)},set:function(e,r){arguments.length>2&&incorrectlyUsedAsDecorator("set");var n=asCreateObservableOptions(r);return new Oe(e,getEnhancerFromOptions(n),n.name)},object:function(e,r,n){"string"==typeof arguments[1]&&incorrectlyUsedAsDecorator("object");var o=asCreateObservableOptions(n);if(!1===o.proxy)return extendObservable({},e,r,o);var i=getDefaultDecoratorFromObjectOptions(o),a=extendObservable({},void 0,void 0,o),s=createDynamicObservableObject(a);return extendObservableObjectWithProperties(s,e,r,i),s},ref:T,shallow:j,deep:x,struct:I},R=function createObservable(e,r,n){if("string"==typeof arguments[1]||"symbol"==typeof arguments[1])return x.apply(null,arguments);if(isObservable(e))return e;var o=isPlainObject(e)?R.object(e,r,n):Array.isArray(e)?R.array(e,r):isES6Map(e)?R.map(e,r):isES6Set(e)?R.set(e,r):e;if(o!==e)return o;fail(!1)};function incorrectlyUsedAsDecorator(e){fail("Expected one or two arguments to observable."+e+". Did you accidentally try to use observable."+e+" as decorator?")}Object.keys(M).forEach((function(e){return R[e]=M[e]}));var F,U,q=createPropDecorator(!1,(function(e,r,n,o,i){var a=n.get,s=n.set,c=i[0]||{};asObservableObject(e).addComputedProp(e,r,__assign({get:a,set:s,context:e},c))})),H=q({equals:f.structural}),B=function computed(e,r,n){if("string"==typeof r)return q.apply(null,arguments);if(null!==e&&"object"==typeof e&&1===arguments.length)return q.apply(null,arguments);var o="object"==typeof r?r:{};return o.get=e,o.set="function"==typeof r?r:o.set,o.name=o.name||e.name||"",new ee(o)};B.struct=H,function(e){e[e.NOT_TRACKING=-1]="NOT_TRACKING",e[e.UP_TO_DATE=0]="UP_TO_DATE",e[e.POSSIBLY_STALE=1]="POSSIBLY_STALE",e[e.STALE=2]="STALE"}(F||(F={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(U||(U={}));var V=function V(e){this.cause=e};function isCaughtException(e){return e instanceof V}function shouldCompute(e){switch(e.dependenciesState){case F.UP_TO_DATE:return!1;case F.NOT_TRACKING:case F.STALE:return!0;case F.POSSIBLY_STALE:for(var r=allowStateReadsStart(!0),n=untrackedStart(),o=e.observing,i=o.length,a=0;a<i;a++){var s=o[a];if(te(s)){if(ae.disableErrorBoundaries)s.get();else try{s.get()}catch(e){return untrackedEnd(n),allowStateReadsEnd(r),!0}if(e.dependenciesState===F.STALE)return untrackedEnd(n),allowStateReadsEnd(r),!0}}return changeDependenciesStateTo0(e),untrackedEnd(n),allowStateReadsEnd(r),!1}}function checkIfStateModificationsAreAllowed(e){var r=e.observers.size>0;ae.computationDepth>0&&r&&fail(!1),ae.allowStateChanges||!r&&"strict"!==ae.enforceActions||fail(!1)}function trackDerivedFunction(e,r,n){var o=allowStateReadsStart(!0);changeDependenciesStateTo0(e),e.newObserving=new Array(e.observing.length+100),e.unboundDepsCount=0,e.runId=++ae.runId;var i,a=ae.trackingDerivation;if(ae.trackingDerivation=e,!0===ae.disableErrorBoundaries)i=r.call(n);else try{i=r.call(n)}catch(e){i=new V(e)}return ae.trackingDerivation=a,function bindDependencies(e){for(var r=e.observing,n=e.observing=e.newObserving,o=F.UP_TO_DATE,i=0,a=e.unboundDepsCount,s=0;s<a;s++){0===(c=n[s]).diffValue&&(c.diffValue=1,i!==s&&(n[i]=c),i++),c.dependenciesState>o&&(o=c.dependenciesState)}n.length=i,e.newObserving=null,a=r.length;for(;a--;){0===(c=r[a]).diffValue&&removeObserver(c,e),c.diffValue=0}for(;i--;){var c;1===(c=n[i]).diffValue&&(c.diffValue=0,addObserver(c,e))}o!==F.UP_TO_DATE&&(e.dependenciesState=o,e.onBecomeStale())}(e),allowStateReadsEnd(o),i}function clearObserving(e){var r=e.observing;e.observing=[];for(var n=r.length;n--;)removeObserver(r[n],e);e.dependenciesState=F.NOT_TRACKING}function untracked(e){var r=untrackedStart();try{return e()}finally{untrackedEnd(r)}}function untrackedStart(){var e=ae.trackingDerivation;return ae.trackingDerivation=null,e}function untrackedEnd(e){ae.trackingDerivation=e}function allowStateReadsStart(e){var r=ae.allowStateReads;return ae.allowStateReads=e,r}function allowStateReadsEnd(e){ae.allowStateReads=e}function changeDependenciesStateTo0(e){if(e.dependenciesState!==F.UP_TO_DATE){e.dependenciesState=F.UP_TO_DATE;for(var r=e.observing,n=r.length;n--;)r[n].lowestObserverState=F.UP_TO_DATE}}var G=0,W=1,Y=Object.getOwnPropertyDescriptor((function(){}),"name");Y&&Y.configurable;function createAction(e,r,n){var res=function(){return executeAction(e,r,n||this,arguments)};return res.isMobxAction=!0,res}function executeAction(e,r,n,o){var i=function _startAction(e,r,n){var o=0;var i=untrackedStart();startBatch();var a=allowStateChangesStart(!0),s=allowStateReadsStart(!0),c={prevDerivation:i,prevAllowStateChanges:a,prevAllowStateReads:s,notifySpy:!1,startTime:o,actionId:W++,parentActionId:G};return G=c.actionId,c}();try{return r.apply(n,o)}catch(e){throw i.error=e,e}finally{!function _endAction(e){G!==e.actionId&&fail("invalid action stack. did you forget to finish an action?");G=e.parentActionId,void 0!==e.error&&(ae.suppressReactionErrors=!0);allowStateChangesEnd(e.prevAllowStateChanges),allowStateReadsEnd(e.prevAllowStateReads),endBatch(),untrackedEnd(e.prevDerivation),e.notifySpy&&!1;ae.suppressReactionErrors=!1}(i)}}function allowStateChangesStart(e){var r=ae.allowStateChanges;return ae.allowStateChanges=e,r}function allowStateChangesEnd(e){ae.allowStateChanges=e}var Z=function(e){function ObservableValue(r,n,o,i,a){void 0===o&&(o="ObservableValue@"+getNextId()),void 0===i&&(i=!0),void 0===a&&(a=f.default);var s=e.call(this,o)||this;return s.enhancer=n,s.name=o,s.equals=a,s.hasUnreportedChange=!1,s.value=n(r,void 0,o),s}return function __extends(e,r){function (){this.constructor=e}extendStatics(e,r),e.prototype=null===r?Object.create(r):(.prototype=r.prototype,new __)}(ObservableValue,e),ObservableValue.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},ObservableValue.prototype.set=function(e){this.value;if((e=this.prepareNewValue(e))!==ae.UNCHANGED){0,this.setNewValue(e)}},ObservableValue.prototype.prepareNewValue=function(e){if(checkIfStateModificationsAreAllowed(this),hasInterceptors(this)){var r=interceptChange(this,{object:this,type:"update",newValue:e});if(!r)return ae.UNCHANGED;e=r.newValue}return e=this.enhancer(e,this.value,this.name),this.equals(this.value,e)?ae.UNCHANGED:e},ObservableValue.prototype.setNewValue=function(e){var r=this.value;this.value=e,this.reportChanged(),hasListeners(this)&¬ifyListeners(this,{type:"update",object:this,newValue:e,oldValue:r})},ObservableValue.prototype.get=function(){return this.reportObserved(),this.dehanceValue(this.value)},ObservableValue.prototype.intercept=function(e){return registerInterceptor(this,e)},ObservableValue.prototype.observe=function(e,r){return r&&e({object:this,type:"update",newValue:this.value,oldValue:void 0}),registerListener(this,e)},ObservableValue.prototype.toJSON=function(){return this.get()},ObservableValue.prototype.toString=function(){return this.name+"["+this.value+"]"},ObservableValue.prototype.valueOf=function(){return toPrimitive(this.get())},ObservableValue.prototype[Symbol.toPrimitive]=function(){return this.valueOf()},ObservableValue}(u),X=createInstanceofPredicate("ObservableValue",Z),ee=function(){function ComputedValue(e){this.dependenciesState=F.NOT_TRACKING,this.observing=[],this.newObserving=null,this.isBeingObserved=!1,this.isPendingUnobservation=!1,this.observers=new Set,this.diffValue=0,this.runId=0,this.lastAccessedBy=0,this.lowestObserverState=F.UP_TO_DATE,this.unboundDepsCount=0,this.__mapid="#"+getNextId(),this.value=new V(null),this.isComputing=!1,this.isRunningSetter=!1,this.isTracing=U.NONE,invariant(e.get,"missing option for computed: get"),this.derivation=e.get,this.name=e.name||"ComputedValue@"+getNextId(),e.set&&(this.setter=createAction(this.name+"-setter",e.set)),this.equals=e.equals||(e.compareStructural||e.struct?f.structural:f.default),this.scope=e.context,this.requiresReaction=!!e.requiresReaction,this.keepAlive=!!e.keepAlive}return ComputedValue.prototype.onBecomeStale=function(){!function propagateMaybeChanged(e){if(e.lowestObserverState!==F.UP_TO_DATE)return;e.lowestObserverState=F.POSSIBLY_STALE,e.observers.forEach((function(r){r.dependenciesState===F.UP_TO_DATE&&(r.dependenciesState=F.POSSIBLY_STALE,r.isTracing!==U.NONE&&logTraceInfo(r,e),r.onBecomeStale())}))}(this)},ComputedValue.prototype.onBecomeObserved=function(){this.onBecomeObservedListeners&&this.onBecomeObservedListeners.forEach((function(e){return e()}))},ComputedValue.prototype.onBecomeUnobserved=function(){this.onBecomeUnobservedListeners&&this.onBecomeUnobservedListeners.forEach((function(e){return e()}))},ComputedValue.prototype.get=function(){this.isComputing&&fail("Cycle detected in computation "+this.name+": "+this.derivation),0!==ae.inBatch||0!==this.observers.size||this.keepAlive?(reportObserved(this),shouldCompute(this)&&this.trackAndCompute()&&function propagateChangeConfirmed(e){if(e.lowestObserverState===F.STALE)return;e.lowestObserverState=F.STALE,e.observers.forEach((function(r){r.dependenciesState===F.POSSIBLY_STALE?r.dependenciesState=F.STALE:r.dependenciesState===F.UP_TO_DATE&&(e.lowestObserverState=F.UP_TO_DATE)}))}(this)):shouldCompute(this)&&(this.warnAboutUntrackedRead(),startBatch(),this.value=this.computeValue(!1),endBatch());var e=this.value;if(isCaughtException(e))throw e.cause;return e},ComputedValue.prototype.peek=function(){var e=this.computeValue(!1);if(isCaughtException(e))throw e.cause;return e},ComputedValue.prototype.set=function(e){if(this.setter){invariant(!this.isRunningSetter,"The setter of computed value '"+this.name+"' is trying to update itself. Did you intend to update an observable value, instead of the computed property?"),this.isRunningSetter=!0;try{this.setter.call(this.scope,e)}finally{this.isRunningSetter=!1}}else invariant(!1,!1)},ComputedValue.prototype.trackAndCompute=function(){var e=this.value,r=this.dependenciesState===F.NOT_TRACKING,n=this.computeValue(!0),o=r||isCaughtException(e)||isCaughtException(n)||!this.equals(e,n);return o&&(this.value=n),o},ComputedValue.prototype.computeValue=function(e){var r;if(this.isComputing=!0,ae.computationDepth++,e)r=trackDerivedFunction(this,this.derivation,this.scope);else if(!0===ae.disableErrorBoundaries)r=this.derivation.call(this.scope);else try{r=this.derivation.call(this.scope)}catch(e){r=new V(e)}return ae.computationDepth--,this.isComputing=!1,r},ComputedValue.prototype.suspend=function(){this.keepAlive||(clearObserving(this),this.value=void 0)},ComputedValue.prototype.observe=function(e,r){var n=this,o=!0,i=void 0;return autorun((function(){var a=n.get();if(!o||r){var s=untrackedStart();e({type:"update",object:n,newValue:a,oldValue:i}),untrackedEnd(s)}o=!1,i=a}))},ComputedValue.prototype.warnAboutUntrackedRead=function(){},ComputedValue.prototype.toJSON=function(){return this.get()},ComputedValue.prototype.toString=function(){return this.name+"["+this.derivation.toString()+"]"},ComputedValue.prototype.valueOf=function(){return toPrimitive(this.get())},ComputedValue.prototype[Symbol.toPrimitive]=function(){return this.valueOf()},ComputedValue}(),te=createInstanceofPredicate("ComputedValue",ee),re=function re(){this.version=5,this.UNCHANGED={},this.trackingDerivation=null,this.computationDepth=0,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!0,this.allowStateReads=!0,this.enforceActions=!1,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.computedConfigurable=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1},ne={};function getGlobal(){return"undefined"!=typeof window?window:void 0!==o?o:"undefined"!=typeof self?self:ne}var oe=!0,ie=!1,ae=function(){var e=getGlobal();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(oe=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new re).version&&(oe=!1),oe?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new re):(setTimeout((function(){ie||fail("There are multiple, different versions of MobX active. Make sure MobX is loaded only once or useconfigure({ isolateGlobalState: true })
")}),1),new re)}();function addObserver(e,r){e.observers.add(r),e.lowestObserverState>r.dependenciesState&&(e.lowestObserverState=r.dependenciesState)}function removeObserver(e,r){e.observers.delete(r),0===e.observers.size&&queueForUnobservation(e)}function queueForUnobservation(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,ae.pendingUnobservations.push(e))}function startBatch(){ae.inBatch++}function endBatch(){if(0==--ae.inBatch){runReactions();for(var e=ae.pendingUnobservations,r=0;r<e.length;r++){var n=e[r];n.isPendingUnobservation=!1,0===n.observers.size&&(n.isBeingObserved&&(n.isBeingObserved=!1,n.onBecomeUnobserved()),n instanceof ee&&n.suspend())}ae.pendingUnobservations=[]}}function reportObserved(e){!function checkIfStateReadsAreAllowed(e){0}();var r=ae.trackingDerivation;return null!==r?(r.runId!==e.lastAccessedBy&&(e.lastAccessedBy=r.runId,r.newObserving[r.unboundDepsCount++]=e,e.isBeingObserved||(e.isBeingObserved=!0,e.onBecomeObserved())),!0):(0===e.observers.size&&ae.inBatch>0&&queueForUnobservation(e),!1)}function logTraceInfo(e,r){if(console.log("[mobx.trace] '"+e.name+"' is invalidated due to a change in: '"+r.name+"'"),e.isTracing===U.BREAK){var n=[];!function printDepTree(e,r,n){if(r.length>=1e3)return void r.push("(and many more)");r.push(""+new Array(n).join("\t")+e.name),e.dependencies&&e.dependencies.forEach((function(e){return printDepTree(e,r,n+1)}))}(getDependencyTree(e),n,1),new Function("debugger;\n/\nTracing '"+e.name+"'\n\nYou are entering this break point because derivation '"+e.name+"' is being traced and '"+r.name+"' is now forcing it to update.\nJust follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update\nThe stackframe you are looking for is at least ~6-8 stack-frames up.\n\n"+(e instanceof ee?e.derivation.toString().replace(/[]//g,"/"):"")+"\n\nThe dependencies for this derivation are:\n\n"+n.join("\n")+"\n*/\n ")()}}var se=function(){function Reaction(e,r,n,o){void 0===e&&(e="Reaction@"+getNextId()),void 0===o&&(o=!1),this.name=e,this.onInvalidate=r,this.errorHandler=n,this.requiresObservable=o,this.observing=[],this.newObserving=[],this.dependenciesState=F.NOT_TRACKING,this.diffValue=0,this.runId=0,this.unboundDepsCount=0,this.__mapid="#"+getNextId(),this.isDisposed=!1,this._isScheduled=!1,this._isTrackPending=!1,this._isRunning=!1,this.isTracing=U.NONE}return Reaction.prototype.onBecomeStale=function(){this.schedule()},Reaction.prototype.schedule=function(){this._isScheduled||(this._isScheduled=!0,ae.pendingReactions.push(this),runReactions())},Reaction.prototype.isScheduled=function(){return this._isScheduled},Reaction.prototype.runReaction=function(){if(!this.isDisposed){if(startBatch(),this._isScheduled=!1,shouldCompute(this)){this._isTrackPending=!0;try{this.onInvalidate(),this._isTrackPending}catch(e){this.reportExceptionInDerivation(e)}}endBatch()}},Reaction.prototype.track=function(e){if(!this.isDisposed){startBatch();0,this._isRunning=!0;var r=trackDerivedFunction(this,e,void 0);this._isRunning=!1,this._isTrackPending=!1,this.isDisposed&&clearObserving(this),isCaughtException(r)&&this.reportExceptionInDerivation(r.cause),endBatch()}},Reaction.prototype.reportExceptionInDerivation=function(e){var r=this;if(this.errorHandler)this.errorHandler(e,this);else{if(ae.disableErrorBoundaries)throw e;var n="[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '"+this+"'";ae.suppressReactionErrors?console.warn("[mobx] (error in reaction '"+this.name+"' suppressed, fix error of causing action below)"):console.error(n,e),ae.globalReactionErrorHandlers.forEach((function(n){return n(e,r)}))}},Reaction.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this._isRunning||(startBatch(),clearObserving(this),endBatch()))},Reaction.prototype.getDisposer=function(){var e=this.dispose.bind(this);return e[c]=this,e},Reaction.prototype.toString=function(){return"Reaction["+this.name+"]"},Reaction.prototype.trace=function(e){void 0===e&&(e=!1),function trace(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=!1;"boolean"==typeof e[e.length-1]&&(n=e.pop());var o=getAtomFromArgs(e);if(!o)return fail(!1);o.isTracing===U.NONE&&console.log("[mobx.trace] '"+o.name+"' tracing enabled");o.isTracing=n?U.BREAK:U.LOG}(this,e)},Reaction}();var reactionScheduler=function(e){return e()};function runReactions(){ae.inBatch>0||ae.isRunningReactions||reactionScheduler(runReactionsHelper)}function runReactionsHelper(){ae.isRunningReactions=!0;for(var e=ae.pendingReactions,r=0;e.length>0;){100==++r&&(console.error("Reaction doesn't converge to a stable state after 100 iterations. Probably there is a cycle in the reactive function: "+e[0]),e.splice(0));for(var n=e.splice(0),o=0,i=n.length;o<i;o++)n[o].runReaction()}ae.isRunningReactions=!1}var ce=createInstanceofPredicate("Reaction",se);function setReactionScheduler(e){var r=reactionScheduler;reactionScheduler=function(n){return e((function(){return r(n)}))}}function spy(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}}function dontReassignFields(){fail(!1)}function namedActionDecorator(e){return function(r,n,o){if(o){if(o.value)return{value:createAction(e,o.value),enumerable:!1,configurable:!0,writable:!0};var i=o.initializer;return{enumerable:!1,configurable:!0,writable:!0,initializer:function(){return createAction(e,i.call(this))}}}return actionFieldDecorator(e).apply(this,arguments)}}function actionFieldDecorator(e){return function(r,n,o){Object.defineProperty(r,n,{configurable:!0,enumerable:!1,get:function(){},set:function(r){addHiddenProp(this,n,ue(e,r))}})}}var ue=function action(e,r,n,o){return 1===arguments.length&&"function"==typeof e?createAction(e.name||"",e):2===arguments.length&&"function"==typeof r?createAction(e,r):1===arguments.length&&"string"==typeof e?namedActionDecorator(e):!0!==o?namedActionDecorator(r).apply(null,arguments):void addHiddenProp(e,r,createAction(e.name||r,n.value,this))};function runInAction(e,r){"string"==typeof e||e.name;return executeAction(0,"function"==typeof e?e:r,this,void 0)}function defineBoundAction(e,r,n){addHiddenProp(e,r,createAction(r,n.bind(e)))}function autorun(e,r){void 0===r&&(r=a);var n,o=r&&r.name||e.name||"Autorun@"+getNextId();if(!r.scheduler&&!r.delay)n=new se(o,(function(){this.track(reactionRunner)}),r.onError,r.requiresObservable);else{var i=createSchedulerFromOptions(r),s=!1;n=new se(o,(function(){s||(s=!0,i((function(){s=!1,n.isDisposed||n.track(reactionRunner)})))}),r.onError,r.requiresObservable)}function reactionRunner(){e(n)}return n.schedule(),n.getDisposer()}ue.bound=function boundActionDecorator(e,r,n,o){return!0===o?(defineBoundAction(e,r,n.value),null):n?{configurable:!0,enumerable:!1,get:function(){return defineBoundAction(this,r,n.value||n.initializer.call(this)),this[r]},set:dontReassignFields}:{enumerable:!1,configurable:!0,set:function(e){defineBoundAction(this,r,e)},get:function(){}}};var run=function(e){return e()};function createSchedulerFromOptions(e){return e.scheduler?e.scheduler:e.delay?function(r){return setTimeout(r,e.delay)}:run}function onBecomeUnobserved(e,r,n){return interceptHook("onBecomeUnobserved",e,r,n)}function interceptHook(e,r,n,o){var i="function"==typeof o?getAtom(r,n):getAtom(r),a="function"==typeof o?o:n,s=e+"Listeners";return i[s]?i[s].add(a):i[s]=new Set([a]),"function"!=typeof i[e]?fail(!1):function(){var e=i[s];e&&(e.delete(a),0===e.size&&delete i[s])}}function configure(e){var r=e.enforceActions,n=e.computedRequiresReaction,o=e.computedConfigurable,i=e.disableErrorBoundaries,a=e.reactionScheduler,s=e.reactionRequiresObservable,c=e.observableRequiresReaction;if(!0===e.isolateGlobalState&&function isolateGlobalState(){(ae.pendingReactions.length||ae.inBatch||ae.isRunningReactions)&&fail("isolateGlobalState should be called before MobX is running any reactions"),ie=!0,oe&&(0==--getGlobal().__mobxInstanceCount&&(getGlobal().__mobxGlobals=void 0),ae=new re)}(),void 0!==r){var u=void 0;switch(r){case!0:case"observed":u=!0;break;case!1:case"never":u=!1;break;case"strict":case"always":u="strict";break;default:fail("Invalid value for 'enforceActions': '"+r+"', expected 'never', 'always' or 'observed'")}ae.enforceActions=u,ae.allowStateChanges=!0!==u&&"strict"!==u}void 0!==n&&(ae.computedRequiresReaction=!!n),void 0!==s&&(ae.reactionRequiresObservable=!!s),void 0!==c&&(ae.observableRequiresReaction=!!c,ae.allowStateReads=!ae.observableRequiresReaction),void 0!==o&&(ae.computedConfigurable=!!o),void 0!==i&&(!0===i&&console.warn("WARNING: Debug feature only. MobX will NOT recover from errors whendisableErrorBoundaries
is enabled."),ae.disableErrorBoundaries=!!i),a&&setReactionScheduler(a)}function extendObservable(e,r,n,o){var i=getDefaultDecoratorFromObjectOptions(o=asCreateObservableOptions(o));return initializeInstance(e),asObservableObject(e,o.name,i.enhancer),r&&extendObservableObjectWithProperties(e,r,n,i),e}function getDefaultDecoratorFromObjectOptions(e){return e.defaultDecorator||(!1===e.deep?T:x)}function extendObservableObjectWithProperties(e,r,n,o){var i,a;startBatch();try{var c=s(r);try{for(var u=__values(c),p=u.next();!p.done;p=u.next()){var f=p.value,g=Object.getOwnPropertyDescriptor(r,f);0;var b=(n&&f in n?n[f]:g.get?q:o)(e,f,g,!0);b&&Object.defineProperty(e,f,b)}}catch(e){i={error:e}}finally{try{p&&!p.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}}finally{endBatch()}}function getDependencyTree(e,r){return nodeToDependencyTree(getAtom(e,r))}function nodeToDependencyTree(e){var r={name:e.name};return e.observing&&e.observing.length>0&&(r.dependencies=function unique(e){var r=[];return e.forEach((function(e){-1===r.indexOf(e)&&r.push(e)})),r}(e.observing).map(nodeToDependencyTree)),r}function FlowCancellationError(){this.message="FLOW_CANCELLED"}function _isObservable(e,r){return null!=e&&(void 0!==r?!!isObservableObject(e)&&e[c].values.has(r):isObservableObject(e)||!!e[c]||p(e)||ce(e)||te(e))}function isObservable(e){return 1!==arguments.length&&fail(!1),_isObservable(e)}function keys(e){return isObservableObject(e)?e[c].getKeys():ke(e)||Se(e)?Array.from(e.keys()):isObservableArray(e)?e.map((function(e,r){return r})):fail(!1)}FlowCancellationError.prototype=Object.create(Error.prototype);var le={detectCycles:!0,exportMapsAsObjects:!0,recurseEverything:!1};function cache(e,r,n,o){return o.detectCycles&&e.set(r,n),n}function toJS(e,r){var n;return"boolean"==typeof r&&(r={detectCycles:r}),r||(r=le),r.detectCycles=void 0===r.detectCycles?!0===r.recurseEverything:!0===r.detectCycles,r.detectCycles&&(n=new Map),function toJSHelper(e,r,n){if(!r.recurseEverything&&!isObservable(e))return e;if("object"!=typeof e)return e;if(null===e)return null;if(e instanceof Date)return e;if(X(e))return toJSHelper(e.get(),r,n);if(isObservable(e)&&keys(e),!0===r.detectCycles&&null!==e&&n.has(e))return n.get(e);if(isObservableArray(e)||Array.isArray(e)){var o=cache(n,e,[],r),i=e.map((function(e){return toJSHelper(e,r,n)}));o.length=i.length;for(var a=0,s=i.length;a<s;a++)o[a]=i[a];return o}if(Se(e)||Object.getPrototypeOf(e)===Set.prototype){if(!1===r.exportMapsAsObjects){var c=cache(n,e,new Set,r);return e.forEach((function(e){c.add(toJSHelper(e,r,n))})),c}var u=cache(n,e,[],r);return e.forEach((function(e){u.push(toJSHelper(e,r,n))})),u}if(ke(e)||Object.getPrototypeOf(e)===Map.prototype){if(!1===r.exportMapsAsObjects){var p=cache(n,e,new Map,r);return e.forEach((function(e,o){p.set(o,toJSHelper(e,r,n))})),p}var f=cache(n,e,{},r);return e.forEach((function(e,o){f[o]=toJSHelper(e,r,n)})),f}var g=cache(n,e,{},r);return getPlainObjectKeys(e).forEach((function(o){g[o]=toJSHelper(e[o],r,n)})),g}(e,r,n)}function getAtomFromArgs(e){switch(e.length){case 0:return ae.trackingDerivation;case 1:return getAtom(e[0]);case 2:return getAtom(e[0],e[1])}}function transaction(e,r){void 0===r&&(r=void 0),startBatch();try{return e.apply(r)}finally{endBatch()}}function getAdm(e){return e[c]}function isPropertyKey(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e}var pe={has:function(e,r){if(r===c||"constructor"===r||r===g)return!0;var n=getAdm(e);return isPropertyKey(r)?n.has(r):r in e},get:function(e,r){if(r===c||"constructor"===r||r===g)return e[r];var n=getAdm(e),o=n.values.get(r);if(o instanceof u){var i=o.get();return void 0===i&&n.has(r),i}return isPropertyKey(r)&&n.has(r),e[r]},set:function(e,r,n){return!!isPropertyKey(r)&&(function set(e,r,n){if(2!==arguments.length||Se(e))if(isObservableObject(e)){var o=e[c],i=o.values.get(r);i?o.write(r,n):o.addObservableProp(r,n,o.defaultEnhancer)}else if(ke(e))e.set(r,n);else if(Se(e))e.add(r);else{if(!isObservableArray(e))return fail(!1);"number"!=typeof r&&(r=parseInt(r,10)),invariant(r>=0,"Not a valid index: '"+r+"'"),startBatch(),r>=e.length&&(e.length=r+1),e[r]=n,endBatch()}else{startBatch();var a=r;try{for(var s in a)set(e,s,a[s])}finally{endBatch()}}}(e,r,n),!0)},deleteProperty:function(e,r){return!!isPropertyKey(r)&&(getAdm(e).remove(r),!0)},ownKeys:function(e){return getAdm(e).keysAtom.reportObserved(),Reflect.ownKeys(e)},preventExtensions:function(e){return fail("Dynamic observable objects cannot be frozen"),!1}};function createDynamicObservableObject(e){var r=new Proxy(e,pe);return e[c].proxy=r,r}function hasInterceptors(e){return void 0!==e.interceptors&&e.interceptors.length>0}function registerInterceptor(e,r){var n=e.interceptors||(e.interceptors=[]);return n.push(r),once((function(){var e=n.indexOf(r);-1!==e&&n.splice(e,1)}))}function interceptChange(e,r){var n=untrackedStart();try{for(var o=__spread(e.interceptors||[]),i=0,a=o.length;i<a&&(invariant(!(r=oi)||r.type,"Intercept handlers should return nothing or a change object"),r);i++);return r}finally{untrackedEnd(n)}}function hasListeners(e){return void 0!==e.changeListeners&&e.changeListeners.length>0}function registerListener(e,r){var n=e.changeListeners||(e.changeListeners=[]);return n.push(r),once((function(){var e=n.indexOf(r);-1!==e&&n.splice(e,1)}))}function notifyListeners(e,r){var n=untrackedStart(),o=e.changeListeners;if(o){for(var i=0,a=(o=o.slice()).length;i<a;i++)oi;untrackedEnd(n)}}var fe={get:function(e,r){return r===c?e[c]:"length"===r?e[c].getArrayLength():"number"==typeof r?he.get.call(e,r):"string"!=typeof r||isNaN(r)?he.hasOwnProperty(r)?he[r]:e[r]:he.get.call(e,parseInt(r))},set:function(e,r,n){return"length"===r&&e[c].setArrayLength(n),"number"==typeof r&&he.set.call(e,r,n),"symbol"==typeof r||isNaN(r)?e[r]=n:he.set.call(e,parseInt(r),n),!0},preventExtensions:function(e){return fail("Observable arrays cannot be frozen"),!1}};function createObservableArray(e,r,n,o){void 0===n&&(n="ObservableArray@"+getNextId()),void 0===o&&(o=!1);var i=new de(n,r,o);!function addHiddenFinalProp(e,r,n){Object.defineProperty(e,r,{enumerable:!1,writable:!1,configurable:!0,value:n})}(i.values,c,i);var a=new Proxy(i.values,fe);if(i.proxy=a,e&&e.length){var s=allowStateChangesStart(!0);i.spliceWithArray(0,0,e),allowStateChangesEnd(s)}return a}var de=function(){function ObservableArrayAdministration(e,r,n){this.owned=n,this.values=[],this.proxy=void 0,this.lastKnownLength=0,this.atom=new u(e||"ObservableArray@"+getNextId()),this.enhancer=function(n,o){return r(n,o,e+"[..]")}}return ObservableArrayAdministration.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},ObservableArrayAdministration.prototype.dehanceValues=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},ObservableArrayAdministration.prototype.intercept=function(e){return registerInterceptor(this,e)},ObservableArrayAdministration.prototype.observe=function(e,r){return void 0===r&&(r=!1),r&&e({object:this.proxy,type:"splice",index:0,added:this.values.slice(),addedCount:this.values.length,removed:[],removedCount:0}),registerListener(this,e)},ObservableArrayAdministration.prototype.getArrayLength=function(){return this.atom.reportObserved(),this.values.length},ObservableArrayAdministration.prototype.setArrayLength=function(e){if("number"!=typeof e||e<0)throw new Error("[mobx.array] Out of range: "+e);var r=this.values.length;if(e!==r)if(e>r){for(var n=new Array(e-r),o=0;o<e-r;o++)n[o]=void 0;this.spliceWithArray(r,0,n)}else this.spliceWithArray(e,r-e)},ObservableArrayAdministration.prototype.updateArrayLength=function(e,r){if(e!==this.lastKnownLength)throw new Error("[mobx] Modification exception: the internal structure of an observable array was changed.");this.lastKnownLength+=r},ObservableArrayAdministration.prototype.spliceWithArray=function(e,r,n){var o=this;checkIfStateModificationsAreAllowed(this.atom);var a=this.values.length;if(void 0===e?e=0:e>a?e=a:e<0&&(e=Math.max(0,a+e)),r=1===arguments.length?a-e:null==r?0:Math.max(0,Math.min(r,a-e)),void 0===n&&(n=i),hasInterceptors(this)){var s=interceptChange(this,{object:this.proxy,type:"splice",index:e,removedCount:r,added:n});if(!s)return i;r=s.removedCount,n=s.added}n=0===n.length?n:n.map((function(e){return o.enhancer(e,void 0)}));var c=this.spliceItemsIntoValues(e,r,n);return 0===r&&0===n.length||this.notifyArraySplice(e,n,c),this.dehanceValues(c)},ObservableArrayAdministration.prototype.spliceItemsIntoValues=function(e,r,n){var o;if(n.length<1e4)return(o=this.values).splice.apply(o,__spread([e,r],n));var i=this.values.slice(e,e+r);return this.values=this.values.slice(0,e).concat(n,this.values.slice(e+r)),i},ObservableArrayAdministration.prototype.notifyArrayChildUpdate=function(e,r,n){var o=!this.owned&&!1,i=hasListeners(this),a=i||o?{object:this.proxy,type:"update",index:e,newValue:r,oldValue:n}:null;this.atom.reportChanged(),i&¬ifyListeners(this,a)},ObservableArrayAdministration.prototype.notifyArraySplice=function(e,r,n){var o=!this.owned&&!1,i=hasListeners(this),a=i||o?{object:this.proxy,type:"splice",index:e,removed:n,added:r,removedCount:n.length,addedCount:r.length}:null;this.atom.reportChanged(),i&¬ifyListeners(this,a)},ObservableArrayAdministration}(),he={intercept:function(e){return this[c].intercept(e)},observe:function(e,r){return void 0===r&&(r=!1),this[c].observe(e,r)},clear:function(){return this.splice(0)},replace:function(e){var r=this[c];return r.spliceWithArray(0,r.values.length,e)},toJS:function(){return this.slice()},toJSON:function(){return this.toJS()},splice:function(e,r){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];var i=this[c];switch(arguments.length){case 0:return[];case 1:return i.spliceWithArray(e);case 2:return i.spliceWithArray(e,r)}return i.spliceWithArray(e,r,n)},spliceWithArray:function(e,r,n){return this[c].spliceWithArray(e,r,n)},push:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=this[c];return n.spliceWithArray(n.values.length,0,e),n.values.length},pop:function(){return this.splice(Math.max(this[c].values.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=this[c];return n.spliceWithArray(0,0,e),n.values.length},reverse:function(){var e=this.slice();return e.reverse.apply(e,arguments)},sort:function(e){var r=this.slice();return r.sort.apply(r,arguments)},remove:function(e){var r=this[c],n=r.dehanceValues(r.values).indexOf(e);return n>-1&&(this.splice(n,1),!0)},get:function(e){var r=this[c];if(r){if(e<r.values.length)return r.atom.reportObserved(),r.dehanceValue(r.values[e]);console.warn("[mobx.array] Attempt to read an array index ("+e+") that is out of bounds ("+r.values.length+"). Please check length first. Out of bound indices will not be tracked by MobX")}},set:function(e,r){var n=this[c],o=n.values;if(e<o.length){checkIfStateModificationsAreAllowed(n.atom);var i=o[e];if(hasInterceptors(n)){var a=interceptChange(n,{type:"update",object:n.proxy,index:e,newValue:r});if(!a)return;r=a.newValue}(r=n.enhancer(r,i))!==i&&(o[e]=r,n.notifyArrayChildUpdate(e,r,i))}else{if(e!==o.length)throw new Error("[mobx.array] Index out of bounds, "+e+" is larger than "+o.length);n.spliceWithArray(e,0,[r])}}};["concat","flat","includes","indexOf","join","lastIndexOf","slice","toString","toLocaleString"].forEach((function(e){"function"==typeof Array.prototype[e]&&(he[e]=function(){var r=this[c];r.atom.reportObserved();var n=r.dehanceValues(r.values);return n[e].apply(n,arguments)})})),["every","filter","find","findIndex","flatMap","forEach","map","some"].forEach((function(e){"function"==typeof Array.prototype[e]&&(he[e]=function(r,n){var o=this,i=this[c];return i.atom.reportObserved(),i.dehanceValues(i.values)[e]((function(e,i){return r.call(n,e,i,o)}),n)})})),["reduce","reduceRight"].forEach((function(e){he[e]=function(){var r=this,n=this[c];n.atom.reportObserved();var o=arguments[0];return arguments[0]=function(e,i,a){return i=n.dehanceValue(i),o(e,i,a,r)},n.values[e].apply(n.values,arguments)}}));var ge,me=createInstanceofPredicate("ObservableArrayAdministration",de);function isObservableArray(e){return isObject(e)&&me(e[c])}var be,ye={},ve=function(){function ObservableMap(e,r,n){if(void 0===r&&(r=deepEnhancer),void 0===n&&(n="ObservableMap@"+getNextId()),this.enhancer=r,this.name=n,this[ge]=ye,this._keysAtom=createAtom(this.name+".keys()"),this[Symbol.toStringTag]="Map","function"!=typeof Map)throw new Error("mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js");this._data=new Map,this._hasMap=new Map,this.merge(e)}return ObservableMap.prototype._has=function(e){return this._data.has(e)},ObservableMap.prototype.has=function(e){var r=this;if(!ae.trackingDerivation)return this._has(e);var n=this._hasMap.get(e);if(!n){var o=n=new Z(this._has(e),referenceEnhancer,this.name+"."+stringifyKey(e)+"?",!1);this._hasMap.set(e,o),onBecomeUnobserved(o,(function(){return r._hasMap.delete(e)}))}return n.get()},ObservableMap.prototype.set=function(e,r){var n=this._has(e);if(hasInterceptors(this)){var o=interceptChange(this,{type:n?"update":"add",object:this,newValue:r,name:e});if(!o)return this;r=o.newValue}return n?this._updateValue(e,r):this._addValue(e,r),this},ObservableMap.prototype.delete=function(e){var r=this;if((checkIfStateModificationsAreAllowed(this._keysAtom),hasInterceptors(this))&&!(o=interceptChange(this,{type:"delete",object:this,name:e})))return!1;if(this._has(e)){var n=hasListeners(this),o=n?{type:"delete",object:this,oldValue:this._data.get(e).value,name:e}:null;return transaction((function(){r._keysAtom.reportChanged(),r._updateHasMapEntry(e,!1),r._data.get(e).setNewValue(void 0),r._data.delete(e)})),n&¬ifyListeners(this,o),!0}return!1},ObservableMap.prototype._updateHasMapEntry=function(e,r){var n=this._hasMap.get(e);n&&n.setNewValue(r)},ObservableMap.prototype._updateValue=function(e,r){var n=this._data.get(e);if((r=n.prepareNewValue(r))!==ae.UNCHANGED){var o=hasListeners(this),i=o?{type:"update",object:this,oldValue:n.value,name:e,newValue:r}:null;0,n.setNewValue(r),o&¬ifyListeners(this,i)}},ObservableMap.prototype._addValue=function(e,r){var n=this;checkIfStateModificationsAreAllowed(this._keysAtom),transaction((function(){var o=new Z(r,n.enhancer,n.name+"."+stringifyKey(e),!1);n._data.set(e,o),r=o.value,n._updateHasMapEntry(e,!0),n._keysAtom.reportChanged()}));var o=hasListeners(this),i=o?{type:"add",object:this,name:e,newValue:r}:null;o&¬ifyListeners(this,i)},ObservableMap.prototype.get=function(e){return this.has(e)?this.dehanceValue(this._data.get(e).get()):this.dehanceValue(void 0)},ObservableMap.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},ObservableMap.prototype.keys=function(){return this._keysAtom.reportObserved(),this._data.keys()},ObservableMap.prototype.values=function(){var e=this,r=this.keys();return makeIterable({next:function(){var n=r.next(),o=n.done,i=n.value;return{done:o,value:o?void 0:e.get(i)}}})},ObservableMap.prototype.entries=function(){var e=this,r=this.keys();return makeIterable({next:function(){var n=r.next(),o=n.done,i=n.value;return{done:o,value:o?void 0:[i,e.get(i)]}}})},ObservableMap.prototype[(ge=c,Symbol.iterator)]=function(){return this.entries()},ObservableMap.prototype.forEach=function(e,r){var n,o;try{for(var i=__values(this),a=i.next();!a.done;a=i.next()){var s=__read(a.value,2),c=s[0],u=s[1];e.call(r,u,c,this)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}},ObservableMap.prototype.merge=function(e){var r=this;return ke(e)&&(e=e.toJS()),transaction((function(){var n=allowStateChangesStart(!0);try{isPlainObject(e)?getPlainObjectKeys(e).forEach((function(n){return r.set(n,e[n])})):Array.isArray(e)?e.forEach((function(e){var n=__read(e,2),o=n[0],i=n[1];return r.set(o,i)})):isES6Map(e)?(e.constructor!==Map&&fail("Cannot initialize from classes that inherit from Map: "+e.constructor.name),e.forEach((function(e,n){return r.set(n,e)}))):null!=e&&fail("Cannot initialize map from "+e)}finally{allowStateChangesEnd(n)}})),this},ObservableMap.prototype.clear=function(){var e=this;transaction((function(){untracked((function(){var r,n;try{for(var o=__values(e.keys()),i=o.next();!i.done;i=o.next()){var a=i.value;e.delete(a)}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}))}))},ObservableMap.prototype.replace=function(e){var r=this;return transaction((function(){var n,o,i,a,s=function convertToMap(e){if(isES6Map(e)||ke(e))return e;if(Array.isArray(e))return new Map(e);if(isPlainObject(e)){var r=new Map;for(var n in e)r.set(n,e[n]);return r}return fail("Cannot convert to map from '"+e+"'")}(e),c=new Map,u=!1;try{for(var p=__values(r._data.keys()),f=p.next();!f.done;f=p.next()){var g=f.value;if(!s.has(g))if(r.delete(g))u=!0;else{var b=r.data.get(g);c.set(g,b)}}}catch(e){n={error:e}}finally{try{f&&!f.done&&(o=p.return)&&o.call(p)}finally{if(n)throw n.error}}try{for(var k=__values(s.entries()),w=k.next();!w.done;w=k.next()){var =__read(w.value,2),x=(g=[0],b=[1],r._data.has(g));if(r.set(g,b),r._data.has(g)){var j=r._data.get(g);c.set(g,j),x||(u=!0)}}}catch(e){i={error:e}}finally{try{w&&!w.done&&(a=k.return)&&a.call(k)}finally{if(i)throw i.error}}if(!u)if(r._data.size!==c.size)r._keysAtom.reportChanged();else for(var T=r._data.keys(),I=c.keys(),M=T.next(),R=I.next();!M.done;){if(M.value!==R.value){r._keysAtom.reportChanged();break}M=T.next(),R=I.next()}r._data=c})),this},Object.defineProperty(ObservableMap.prototype,"size",{get:function(){return this._keysAtom.reportObserved(),this._data.size},enumerable:!0,configurable:!0}),ObservableMap.prototype.toPOJO=function(){var e,r,n={};try{for(var o=__values(this),i=o.next();!i.done;i=o.next()){var a=__read(i.value,2),s=a[0],c=a[1];n["symbol"==typeof s?s:stringifyKey(s)]=c}}catch(r){e={error:r}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},ObservableMap.prototype.toJS=function(){return new Map(this)},ObservableMap.prototype.toJSON=function(){return this.toPOJO()},ObservableMap.prototype.toString=function(){var e=this;return this.name+"[{ "+Array.from(this.keys()).map((function(r){return stringifyKey(r)+": "+e.get(r)})).join(", ")+" }]"},ObservableMap.prototype.observe=function(e,r){return registerListener(this,e)},ObservableMap.prototype.intercept=function(e){return registerInterceptor(this,e)},ObservableMap}(),ke=createInstanceofPredicate("ObservableMap",ve),we={},Oe=function(){function ObservableSet(e,r,n){if(void 0===r&&(r=deepEnhancer),void 0===n&&(n="ObservableSet@"+getNextId()),this.name=n,this[be]=we,this._data=new Set,this._atom=createAtom(this.name),this[Symbol.toStringTag]="Set","function"!=typeof Set)throw new Error("mobx.set requires Set polyfill for the current browser. Check babel-polyfill or core-js/es6/set.js");this.enhancer=function(e,o){return r(e,o,n)},e&&this.replace(e)}return ObservableSet.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},ObservableSet.prototype.clear=function(){var e=this;transaction((function(){untracked((function(){var r,n;try{for(var o=__values(e._data.values()),i=o.next();!i.done;i=o.next()){var a=i.value;e.delete(a)}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}))}))},ObservableSet.prototype.forEach=function(e,r){var n,o;try{for(var i=__values(this),a=i.next();!a.done;a=i.next()){var s=a.value;e.call(r,s,s,this)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}},Object.defineProperty(ObservableSet.prototype,"size",{get:function(){return this._atom.reportObserved(),this._data.size},enumerable:!0,configurable:!0}),ObservableSet.prototype.add=function(e){var r=this;if((checkIfStateModificationsAreAllowed(this._atom),hasInterceptors(this))&&!(o=interceptChange(this,{type:"add",object:this,newValue:e})))return this;if(!this.has(e)){transaction((function(){r._data.add(r.enhancer(e,void 0)),r._atom.reportChanged()}));var n=hasListeners(this),o=n?{type:"add",object:this,newValue:e}:null;0,n&¬ifyListeners(this,o)}return this},ObservableSet.prototype.delete=function(e){var r=this;if(hasInterceptors(this)&&!(o=interceptChange(this,{type:"delete",object:this,oldValue:e})))return!1;if(this.has(e)){var n=hasListeners(this),o=n?{type:"delete",object:this,oldValue:e}:null;return transaction((function(){r._atom.reportChanged(),r._data.delete(e)})),n&¬ifyListeners(this,o),!0}return!1},ObservableSet.prototype.has=function(e){return this._atom.reportObserved(),this._data.has(this.dehanceValue(e))},ObservableSet.prototype.entries=function(){var e=0,r=Array.from(this.keys()),n=Array.from(this.values());return makeIterable({next:function(){var o=e;return e+=1,o<n.length?{value:[r[o],n[o]],done:!1}:{done:!0}}})},ObservableSet.prototype.keys=function(){return this.values()},ObservableSet.prototype.values=function(){this._atom.reportObserved();var e=this,r=0,n=Array.from(this._data.values());return makeIterable({next:function(){return r<n.length?{value:e.dehanceValue(n[r++]),done:!1}:{done:!0}}})},ObservableSet.prototype.replace=function(e){var r=this;return Se(e)&&(e=e.toJS()),transaction((function(){var n=allowStateChangesStart(!0);try{Array.isArray(e)||isES6Set(e)?(r.clear(),e.forEach((function(e){return r.add(e)}))):null!=e&&fail("Cannot initialize set from "+e)}finally{allowStateChangesEnd(n)}})),this},ObservableSet.prototype.observe=function(e,r){return registerListener(this,e)},ObservableSet.prototype.intercept=function(e){return registerInterceptor(this,e)},ObservableSet.prototype.toJS=function(){return new Set(this)},ObservableSet.prototype.toString=function(){return this.name+"[ "+Array.from(this).join(", ")+" ]"},ObservableSet.prototype[(be=c,Symbol.iterator)]=function(){return this.values()},ObservableSet}(),Se=createInstanceofPredicate("ObservableSet",Oe),_e=function(){function ObservableObjectAdministration(e,r,n,o){void 0===r&&(r=new Map),this.target=e,this.values=r,this.name=n,this.defaultEnhancer=o,this.keysAtom=new u(n+".keys")}return ObservableObjectAdministration.prototype.read=function(e){return this.values.get(e).get()},ObservableObjectAdministration.prototype.write=function(e,r){var n=this.target,o=this.values.get(e);if(o instanceof ee)o.set(r);else{if(hasInterceptors(this)){if(!(a=interceptChange(this,{type:"update",object:this.proxy||n,name:e,newValue:r})))return;r=a.newValue}if((r=o.prepareNewValue(r))!==ae.UNCHANGED){var i=hasListeners(this),a=i?{type:"update",object:this.proxy||n,oldValue:o.value,name:e,newValue:r}:null;0,o.setNewValue(r),i&¬ifyListeners(this,a)}}},ObservableObjectAdministration.prototype.has=function(e){var r=this.pendingKeys||(this.pendingKeys=new Map),n=r.get(e);if(n)return n.get();var o=!!this.values.get(e);return n=new Z(o,referenceEnhancer,this.name+"."+stringifyKey(e)+"?",!1),r.set(e,n),n.get()},ObservableObjectAdministration.prototype.addObservableProp=function(e,r,n){void 0===n&&(n=this.defaultEnhancer);var o=this.target;if(function assertPropertyConfigurable(e,r){0}(),hasInterceptors(this)){var i=interceptChange(this,{object:this.proxy||o,name:e,type:"add",newValue:r});if(!i)return;r=i.newValue}var a=new Z(r,n,this.name+"."+stringifyKey(e),!1);this.values.set(e,a),r=a.value,Object.defineProperty(o,e,function generateObservablePropConfig(e){return xe[e]||(xe[e]={configurable:!0,enumerable:!0,get:function(){return this[c].read(e)},set:function(r){this[c].write(e,r)}})}(e)),this.notifyPropertyAddition(e,r)},ObservableObjectAdministration.prototype.addComputedProp=function(e,r,n){var o=this.target;n.name=n.name||this.name+"."+stringifyKey(r),this.values.set(r,new ee(n)),(e===o||function isPropertyConfigurable(e,r){var n=Object.getOwnPropertyDescriptor(e,r);return!n||!1!==n.configurable&&!1!==n.writable}(e,r))&&Object.defineProperty(e,r,function generateComputedPropConfig(e){return Ee[e]||(Ee[e]={configurable:ae.computedConfigurable,enumerable:!1,get:function(){return getAdministrationForComputedPropOwner(this).read(e)},set:function(r){getAdministrationForComputedPropOwner(this).write(e,r)}})}(r))},ObservableObjectAdministration.prototype.remove=function(e){if(this.values.has(e)){var r=this.target;if(hasInterceptors(this))if(!(s=interceptChange(this,{object:this.proxy||r,name:e,type:"remove"})))return;try{startBatch();var n=hasListeners(this),o=this.values.get(e),i=o&&o.get();if(o&&o.set(void 0),this.keysAtom.reportChanged(),this.values.delete(e),this.pendingKeys){var a=this.pendingKeys.get(e);a&&a.set(!1)}delete this.target[e];var s=n?{type:"remove",object:this.proxy||r,oldValue:i,name:e}:null;0,n&¬ifyListeners(this,s)}finally{endBatch()}}},ObservableObjectAdministration.prototype.illegalAccess=function(e,r){console.warn("Property '"+r+"' of '"+e+"' was accessed through the prototype chain. Use 'decorate' instead to declare the prop or access it statically through it's owner")},ObservableObjectAdministration.prototype.observe=function(e,r){return registerListener(this,e)},ObservableObjectAdministration.prototype.intercept=function(e){return registerInterceptor(this,e)},ObservableObjectAdministration.prototype.notifyPropertyAddition=function(e,r){var n=hasListeners(this),o=n?{type:"add",object:this.proxy||this.target,name:e,newValue:r}:null;if(n&¬ifyListeners(this,o),this.pendingKeys){var i=this.pendingKeys.get(e);i&&i.set(!0)}this.keysAtom.reportChanged()},ObservableObjectAdministration.prototype.getKeys=function(){var e,r;this.keysAtom.reportObserved();var n=[];try{for(var o=values(this.values),i=o.next();!i.done;i=o.next()){var a=read(i.value,2),s=a[0];a[1]instanceof Z&&n.push(s)}}catch(r){e={error:r}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},ObservableObjectAdministration}();function asObservableObject(e,r,n){if(void 0===r&&(r=""),void 0===n&&(n=deepEnhancer),Object.prototype.hasOwnProperty.call(e,c))return e[c];isPlainObject(e)||(r=(e.constructor.name||"ObservableObject")+"@"+getNextId()),r||(r="ObservableObject@"+getNextId());var o=new _e(e,new Map,stringifyKey(r),n);return addHiddenProp(e,c,o),o}var xe=Object.create(null),Ee=Object.create(null);function getAdministrationForComputedPropOwner(e){var r=e[c];return r||(initializeInstance(e),e[c])}var Ae=createInstanceofPredicate("ObservableObjectAdministration",_e);function isObservableObject(e){return!!isObject(e)&&(initializeInstance(e),Ae(e[c]))}function getAtom(e,r){if("object"==typeof e&&null!==e){if(isObservableArray(e))return void 0!==r&&fail(!1),e[c].atom;if(Se(e))return e[c];if(ke(e)){var n=e;return void 0===r?n._keysAtom:((o=n._data.get(r)||n._hasMap.get(r))||fail(!1),o)}var o;if(initializeInstance(e),r&&!e[c]&&e[r],isObservableObject(e))return r?((o=e[c].values.get(r))||fail(!1),o):fail(!1);if(p(e)||te(e)||ce(e))return e}else if("function"==typeof e&&ce(e[c]))return e[c];return fail(!1)}function getAdministration(e,r){return e||fail("Expecting some object"),void 0!==r?getAdministration(getAtom(e,r)):p(e)||te(e)||ce(e)||ke(e)||Se(e)?e:(initializeInstance(e),e[c]?e[c]:void fail(!1))}var Ce=Object.prototype.toString;function deepEqual(e,r,n){return void 0===n&&(n=-1),function eq(e,r,n,o,i){if(e===r)return 0!==e||1/e==1/r;if(null==e||null==r)return!1;if(e!=e)return r!=r;var a=typeof e;if("function"!==a&&"object"!==a&&"object"!=typeof r)return!1;var s=Ce.call(e);if(s!==Ce.call(r))return!1;switch(s){case"[object RegExp]":case"[object String]":return""+e==""+r;case"[object Number]":return+e!=+e?+r!=+r:0==+e?1/+e==1/r:+e==+r;case"[object Date]":case"[object Boolean]":return+e==+r;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(r);case"[object Map]":case"[object Set]":n>=0&&n++}e=unwrap(e),r=unwrap(r);var c="[object Array]"===s;if(!c){if("object"!=typeof e||"object"!=typeof r)return!1;var u=e.constructor,p=r.constructor;if(u!==p&&!("function"==typeof u&&u instanceof u&&"function"==typeof p&&p instanceof p)&&"constructor"in e&&"constructor"in r)return!1}if(0===n)return!1;n<0&&(n=-1);i=i||[];var f=(o=o||[]).length;for(;f--;)if(o[f]===e)return i[f]===r;if(o.push(e),i.push(r),c){if((f=e.length)!==r.length)return!1;for(;f--;)if(!eq(e[f],r[f],n-1,o,i))return!1}else{var g=Object.keys(e),b=void 0;if(f=g.length,Object.keys(r).length!==f)return!1;for(;f--;)if(b=g[f],!has$1(r,b)||!eq(e[b],r[b],n-1,o,i))return!1}return o.pop(),i.pop(),!0}(e,r,n)}function unwrap(e){return isObservableArray(e)?e.slice():isES6Map(e)||ke(e)||isES6Set(e)||Se(e)?Array.from(e.entries()):e}function has$1(e,r){return Object.prototype.hasOwnProperty.call(e,r)}function makeIterable(e){return e[Symbol.iterator]=getSelf,e}function getSelf(){return this}if("undefined"==typeof Proxy||"undefined"==typeof Symbol)throw new Error("[mobx] MobX 5+ requires Proxy and Symbol objects. If your environment doesn't support Symbol or Proxy objects, please downgrade to MobX 4. For React Native Android, consider upgrading JSCore.");"object"==typeof MOBX_DEVTOOLS_GLOBAL_HOOK&&MOBX_DEVTOOLS_GLOBAL_HOOK.injectMobx({spy:spy,extras:{getDebugName:function getDebugName(e,r){return(void 0!==r?getAtom(e,r):isObservableObject(e)||ke(e)||Se(e)?getAdministration(e):getAtom(e)).name}},$mobx:c})}).call(this,n(138),n(90))},312:function(e){e.exports=JSON.parse('{"name":"web-clipper","version":"1.32.0","description":"Universal open source web clipper.","bin":{"web-clipper":"bin/index.js"},"scripts":{"test":"vitest","cov":"vitest --coverage","dev":"cross-env NODE_ENV=development yarn _dev","dev:dd":"cross-env TARGET_BROWSER=Firefox NODE_ENV=development yarn _dev","_dev":"webpack --config webpack/webpack.dev.js --watch","release":"ts-node script/release.ts","release:ff":"bash script/release_ff.sh","lint":"eslint --ext .js,.ts,.tsx .","lint-staged":"lint-staged","format":"web-clipper format"},"lint-staged":{"src/**/.{ts, tsx}":["eslint --fix","git add"]},"pre-commit":["lint-staged"],"author":"DiamondYuan","license":"GPL-2.0-or-later","dependencies":{"@ant-design/compatible":"^1.0.8","@ant-design/icons":"^4.2.2","@diamondyuan/eslint":"^7.0.4","@formily/antd":"^2.0.0-beta.47","@formily/core":"^2.0.0-beta.47","@formily/react":"^2.0.0-beta.47","@shihengtech/hooks":"^0.0.16","@web-clipper/area-selector":"^0.1.3","@web-clipper/chrome-promise":"^0.1.2","@web-clipper/highlight":"^0.1.3","@web-clipper/message-listener-combiner":"^0.1.0","@web-clipper/readability":"^0.3.0","@web-clipper/remark-pangu":"^1.0.2","@web-clipper/shared":"^0.0.20","@web-clipper/turndown":"^0.4.8","antd":"4.16.3","classnames":"^2.2.6","codemirror":"^5.47.0","copy-to-clipboard":"^3.2.0","dayjs":"^1.10.4","dva":"^2.6.0-beta.19","dva-loading":"^3.0.19","dva-model-creator":"^0.4.3","filenamify":"^4.1.0","hypermd":"^0.3.11","immutability-helper":"^3.0.1","jquery":"^3.4.0","lodash":"^4.17.20","mobx":"^5.15.1","mobx-react":"^6.1.4","qrcode":"^1.4.1","qs":"^6.7.0","react":"^17.0.1","react-dom":"^17.0.1","react-intl":"^3.9.2","react-markdown":"^6.0.2","reflect-metadata":"^0.1.13","regenerator-runtime":"^0.13.3","remark":"^11.0.2","short-uuid":"^3.1.1","showdown":"^1.9.0","tldjs":"^2.3.1","typedi":"^0.8.0","umi-request":"^1.2.15"},"devDependencies":{"@diamondyuan/eslint-config-react-typescript":"^7.0.1","@types/chrome":"^0.0.141","@types/classnames":"^2.2.9","@types/codemirror":"^0.0.76","@types/enzyme-adapter-react-16":"^1.0.3","@types/history":"^4.7.2","@types/jquery":"^3.3.6","@types/lodash":"^4.14.161","@types/qrcode":"^1.3.3","@types/qs":"^6.9.0","@types/react":"^17.0.6","@types/react-dom":"^16.9.9","@types/react-redux":"^7.0.8","@types/react-router":"^5.1.3","@types/redux-logger":"^3.0.6","@types/remote-redux-devtools":"^0.5.3","@types/showdown":"^1.9.3","@types/tldjs":"^2.3.0","@types/webpack-env":"^1.13.9","@types/yargs":"^17.0.2","axios":"^0.21.1","c8":"^7.12.0","clean-webpack-plugin":"^0.1.19","compressing":"^1.4.0","copy-webpack-plugin":"^5.1.1","cross-env":"^7.0.3","css-loader":"^1.0.0","eslint-import-resolver-webpack":"^0.12.0","eslint-plugin-prettier":"^3.4.0","html-webpack-plugin":"^3.2.0","identity-obj-proxy":"^3.0.0","less":"^3.8.1","less-loader":"^7.0.2","lint-staged":"^9.5.0","pre-commit":"^1.2.2","prettier":"^1.19.1","pump":"^3.0.0","semver":"^7.3.4","style-loader":"^0.23.1","terser-webpack-plugin":"^2.3.1","ts-import-plugin":"^1.5.5","ts-loader":"^6.2.1","ts-node":"^10.2.0","typescript":"^3.7.3","url-loader":"^3.0.0","vitest":"^0.20.3","webpack":"^4.41.5","webpack-cli":"^3.3.2","webpack-create-extension-manifest-plugin":"^1.1.0","webpack-extension-reloader":"^1.1.4","webpack-merge":"^4.2.2","yargs":"^17.1.1"},"manifest":{"manifest_version":2,"icons":{"128":"icon.png"},"browser_action":{"default_icon":{"128":"icon.png"}},"background":{"scripts":["background.js"]},"web_accessible_resources":["tool.html"]}}')},327:function(e,r,n){"use strict";n.d(r,"b",(function(){return ipcClient_PopupIpcClient})),n.d(r,"a",(function(){return PopupContentScriptIPCClient}));var o=n(40);class ipc_ChannelClient{constructor(e){this.port=e}call(e,r){const n=Object(o.generateUuid)();return this.port.postMessage({uuid:n,command:e,arg:r}),new Promise((e,r)=>{const handler=o=>{if(o.uuid===n)if(this.port.onMessage.removeListener(handler),o.error){const e=o.error.data;if(e.$isError){const n=new Error(e.message);n.name=e.name,n.stack=e.stack,r(n)}else r(o.error.data)}else o.result&&e(o.result.data)};this.port.onMessage.addListener(handler)})}}class ipcClient_PopupIpcClient{getChannel(e){return new ipc_ChannelClient(chrome.runtime.connect({name:e}))}}class PopupContentScriptChannelClient{constructor(e,r){this.namespace=e,this.tabService=r}async call(e,r){var n,o;const i={uuid:this.namespace,command:e,arg:r},a=await this.tabService.sendActionToCurrentTab(i);return a?new Promise((e,r)=>{if(a.error){const e=a.error.data;if(e.$isError){const n=new Error(e.message);n.name=e.name,n.stack=e.stack,r(n)}else r(a.error.data)}else a.result&&e(a.result.data)}):Promise.reject(new Error(null!==(o=null===(n=chrome.runtime.lastError)||void 0===n?void 0:n.message)&&void 0!==o?o:"ContentScript not ready yet."))}}class PopupContentScriptIPCClient{constructor(e){this.tabService=e}getChannel(e){return new PopupContentScriptChannelClient(e,this.tabService)}}},335:function(e,r,n){(function(e,r){var n;!function(n){!function(o){var i="object"==typeof r?r:"object"==typeof self?self:"object"==typeof this?this:Function("return this;")(),a=makeExporter(n);function makeExporter(e,r){return function(n,o){"function"!=typeof e[n]&&Object.defineProperty(e,n,{configurable:!0,writable:!0,value:o}),r&&r(n,o)}}void 0===i.Reflect?i.Reflect=n:a=makeExporter(i.Reflect,a),function(r){var n=Object.prototype.hasOwnProperty,o="function"==typeof Symbol,i=o&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",a=o&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",s="function"==typeof Object.create,c={proto:[]}instanceof Array,u=!s&&!c,p={create:s?function(){return MakeDictionary(Object.create(null))}:c?function(){return MakeDictionary({proto:null})}:function(){return MakeDictionary({})},has:u?function(e,r){return n.call(e,r)}:function(e,r){return r in e},get:u?function(e,r){return n.call(e,r)?e[r]:void 0}:function(e,r){return e[r]}},f=Object.getPrototypeOf(Function),g="object"==typeof e&&e.env&&"true"===e.env.REFLECT_METADATA_USE_MAP_POLYFILL,b=g||"function"!=typeof Map||"function"!=typeof Map.prototype.entries?function CreateMapPolyfill(){var e={},r=[],n=function(){function MapIterator(e,r,n){this._index=0,this._keys=e,this._values=r,this._selector=n}return MapIterator.prototype["@@iterator"]=function(){return this},MapIterator.prototype[a]=function(){return this},MapIterator.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=r,this._values=r):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},MapIterator.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=r,this._values=r),e},MapIterator.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=r,this._values=r),{value:e,done:!0}},MapIterator}();return function(){function Map(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(Map.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),Map.prototype.has=function(e){return this._find(e,!1)>=0},Map.prototype.get=function(e){var r=this._find(e,!1);return r>=0?this._values[r]:void 0},Map.prototype.set=function(e,r){var n=this._find(e,!0);return this._values[n]=r,this},Map.prototype.delete=function(r){var n=this._find(r,!1);if(n>=0){for(var o=this._keys.length,i=n+1;i<o;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,r===this._cacheKey&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},Map.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},Map.prototype.keys=function(){return new n(this._keys,this._values,getKey)},Map.prototype.values=function(){return new n(this._keys,this._values,getValue)},Map.prototype.entries=function(){return new n(this._keys,this._values,getEntry)},Map.prototype["@@iterator"]=function(){return this.entries()},Map.prototype[a]=function(){return this.entries()},Map.prototype._find=function(e,r){return this._cacheKey!==e&&(this._cacheIndex=this._keys.indexOf(this._cacheKey=e)),this._cacheIndex<0&&r&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},Map}();function getKey(e,r){return e}function getValue(e,r){return r}function getEntry(e,r){return[e,r]}}():Map,k=g||"function"!=typeof Set||"function"!=typeof Set.prototype.entries?function CreateSetPolyfill(){return function(){function Set(){this._map=new b}return Object.defineProperty(Set.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),Set.prototype.has=function(e){return this._map.has(e)},Set.prototype.add=function(e){return this._map.set(e,e),this},Set.prototype.delete=function(e){return this._map.delete(e)},Set.prototype.clear=function(){this._map.clear()},Set.prototype.keys=function(){return this._map.keys()},Set.prototype.values=function(){return this._map.values()},Set.prototype.entries=function(){return this._map.entries()},Set.prototype["@@iterator"]=function(){return this.keys()},Set.prototype[a]=function(){return this.keys()},Set}()}():Set,w=new(g||"function"!=typeof WeakMap?function CreateWeakMapPolyfill(){var e=p.create(),r=CreateUniqueKey();return function(){function WeakMap(){this._key=CreateUniqueKey()}return WeakMap.prototype.has=function(e){var r=GetOrCreateWeakMapTable(e,!1);return void 0!==r&&p.has(r,this._key)},WeakMap.prototype.get=function(e){var r=GetOrCreateWeakMapTable(e,!1);return void 0!==r?p.get(r,this._key):void 0},WeakMap.prototype.set=function(e,r){return GetOrCreateWeakMapTable(e,!0)[this._key]=r,this},WeakMap.prototype.delete=function(e){var r=GetOrCreateWeakMapTable(e,!1);return void 0!==r&&delete r[this._key]},WeakMap.prototype.clear=function(){this._key=CreateUniqueKey()},WeakMap}();function CreateUniqueKey(){var r;do{r="@@weakmap@@"+CreateUUID()}while(p.has(e,r));return e[r]=!0,r}function GetOrCreateWeakMapTable(e,o){if(!n.call(e,r)){if(!o)return;Object.defineProperty(e,r,{value:p.create()})}return e[r]}function FillRandomBytes(e,r){for(var n=0;n<r;++n)e[n]=255Math.random()|0;return e}function CreateUUID(){var e=function GenRandomBytes(e){return"function"==typeof Uint8Array?"undefined"!=typeof crypto?crypto.getRandomValues(new Uint8Array(e)):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(new Uint8Array(e)):FillRandomBytes(new Uint8Array(e),e):FillRandomBytes(new Array(e),e)}(16);e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var r="",n=0;n<16;++n){var o=e[n];4!==n&&6!==n&&8!==n||(r+="-"),o<16&&(r+="0"),r+=o.toString(16).toLowerCase()}return r}}():WeakMap);function GetOrCreateMetadataMap(e,r,n){var o=w.get(e);if(IsUndefined(o)){if(!n)return;o=new b,w.set(e,o)}var i=o.get(r);if(IsUndefined(i)){if(!n)return;i=new b,o.set(r,i)}return i}function OrdinaryHasOwnMetadata(e,r,n){var o=GetOrCreateMetadataMap(r,n,!1);return!IsUndefined(o)&&function ToBoolean(e){return!!e}(o.has(e))}function OrdinaryGetOwnMetadata(e,r,n){var o=GetOrCreateMetadataMap(r,n,!1);if(!IsUndefined(o))return o.get(e)}function OrdinaryDefineOwnMetadata(e,r,n,o){GetOrCreateMetadataMap(n,o,!0).set(e,r)}function OrdinaryOwnMetadataKeys(e,r){var n=[],o=GetOrCreateMetadataMap(e,r,!1);if(IsUndefined(o))return n;for(var i=function GetIterator(e){var r=GetMethod(e,a);if(!IsCallable(r))throw new TypeError;var n=r.call(e);if(!IsObject(n))throw new TypeError;return n}(o.keys()),s=0;;){var c=IteratorStep(i);if(!c)return n.length=s,n;var u=c.value;try{n[s]=u}catch(e){try{IteratorClose(i)}finally{throw e}}s++}}function Type(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function IsUndefined(e){return void 0===e}function IsNull(e){return null===e}function IsObject(e){return"object"==typeof e?null!==e:"function"==typeof e}function ToPrimitive(e,r){switch(Type(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var n=3===r?"string":5===r?"number":"default",o=GetMethod(e,i);if(void 0!==o){var a=o.call(e,n);if(IsObject(a))throw new TypeError;return a}return function OrdinaryToPrimitive(e,r){if("string"===r){var n=e.toString;if(IsCallable(n))if(!IsObject(i=n.call(e)))return i;if(IsCallable(o=e.valueOf))if(!IsObject(i=o.call(e)))return i}else{var o;if(IsCallable(o=e.valueOf))if(!IsObject(i=o.call(e)))return i;var i,a=e.toString;if(IsCallable(a))if(!IsObject(i=a.call(e)))return i}throw new TypeError}(e,"default"===n?"number":n)}function ToPropertyKey(e){var r=ToPrimitive(e,3);return function IsSymbol(e){return"symbol"==typeof e}(r)?r:function ToString(e){return""+e}(r)}function IsArray(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function IsCallable(e){return"function"==typeof e}function IsConstructor(e){return"function"==typeof e}function GetMethod(e,r){var n=e[r];if(null!=n){if(!IsCallable(n))throw new TypeError;return n}}function IteratorStep(e){var r=e.next();return!r.done&&r}function IteratorClose(e){var r=e.return;r&&r.call(e)}function OrdinaryGetPrototypeOf(e){var r=Object.getPrototypeOf(e);if("function"!=typeof e||e===f)return r;if(r!==f)return r;var n=e.prototype,o=n&&Object.getPrototypeOf(n);if(null==o||o===Object.prototype)return r;var i=o.constructor;return"function"!=typeof i||i===e?r:i}function MakeDictionary(e){return e.=void 0,delete e.,e}r("decorate",(function decorate(e,r,n,o){if(IsUndefined(n)){if(!IsArray(e))throw new TypeError;if(!IsConstructor(r))throw new TypeError;return function DecorateConstructor(e,r){for(var n=e.length-1;n>=0;--n){var o=(0,e[n])(r);if(!IsUndefined(o)&&!IsNull(o)){if(!IsConstructor(o))throw new TypeError;r=o}}return r}(e,r)}if(!IsArray(e))throw new TypeError;if(!IsObject(r))throw new TypeError;if(!IsObject(o)&&!IsUndefined(o)&&!IsNull(o))throw new TypeError;return IsNull(o)&&(o=void 0),function DecorateProperty(e,r,n,o){for(var i=e.length-1;i>=0;--i){var a=(0,e[i])(r,n,o);if(!IsUndefined(a)&&!IsNull(a)){if(!IsObject(a))throw new TypeError;o=a}}return o}(e,r,n=ToPropertyKey(n),o)})),r("metadata",(function metadata(e,r){return function decorator(n,o){if(!IsObject(n))throw new TypeError;if(!IsUndefined(o)&&!function IsPropertyKey(e){switch(Type(e)){case 3:case 4:return!0;default:return!1}}(o))throw new TypeError;OrdinaryDefineOwnMetadata(e,r,n,o)}})),r("defineMetadata",(function defineMetadata(e,r,n,o){if(!IsObject(n))throw new TypeError;return IsUndefined(o)||(o=ToPropertyKey(o)),OrdinaryDefineOwnMetadata(e,r,n,o)})),r("hasMetadata",(function hasMetadata(e,r,n){if(!IsObject(r))throw new TypeError;return IsUndefined(n)||(n=ToPropertyKey(n)),function OrdinaryHasMetadata(e,r,n){if(OrdinaryHasOwnMetadata(e,r,n))return!0;var o=OrdinaryGetPrototypeOf(r);return!IsNull(o)&&OrdinaryHasMetadata(e,o,n)}(e,r,n)})),r("hasOwnMetadata",(function hasOwnMetadata(e,r,n){if(!IsObject(r))throw new TypeError;return IsUndefined(n)||(n=ToPropertyKey(n)),OrdinaryHasOwnMetadata(e,r,n)})),r("getMetadata",(function getMetadata(e,r,n){if(!IsObject(r))throw new TypeError;return IsUndefined(n)||(n=ToPropertyKey(n)),function OrdinaryGetMetadata(e,r,n){if(OrdinaryHasOwnMetadata(e,r,n))return OrdinaryGetOwnMetadata(e,r,n);var o=OrdinaryGetPrototypeOf(r);return IsNull(o)?void 0:OrdinaryGetMetadata(e,o,n)}(e,r,n)})),r("getOwnMetadata",(function getOwnMetadata(e,r,n){if(!IsObject(r))throw new TypeError;return IsUndefined(n)||(n=ToPropertyKey(n)),OrdinaryGetOwnMetadata(e,r,n)})),r("getMetadataKeys",(function getMetadataKeys(e,r){if(!IsObject(e))throw new TypeError;return IsUndefined(r)||(r=ToPropertyKey(r)),function OrdinaryMetadataKeys(e,r){var n=OrdinaryOwnMetadataKeys(e,r),o=OrdinaryGetPrototypeOf(e);if(null===o)return n;var i=OrdinaryMetadataKeys(o,r);if(i.length<=0)return n;if(n.length<=0)return i;for(var a=new k,s=[],c=0,u=n;c<u.length;c++){var p=u[c];a.has(p)||(a.add(p),s.push(p))}for(var f=0,g=i;f<g.length;f++){p=g[f];a.has(p)||(a.add(p),s.push(p))}return s}(e,r)})),r("getOwnMetadataKeys",(function getOwnMetadataKeys(e,r){if(!IsObject(e))throw new TypeError;return IsUndefined(r)||(r=ToPropertyKey(r)),OrdinaryOwnMetadataKeys(e,r)})),r("deleteMetadata",(function deleteMetadata(e,r,n){if(!IsObject(r))throw new TypeError;IsUndefined(n)||(n=ToPropertyKey(n));var o=GetOrCreateMetadataMap(r,n,!1);if(IsUndefined(o))return!1;if(!o.delete(e))return!1;if(o.size>0)return!0;var i=w.get(r);return i.delete(n),i.size>0||w.delete(r),!0}))}(a)}()}(n||(n={}))}).call(this,n(138),n(90))},336:function(e,r,n){"use strict";var o,i=this&&this.__extends||(o=Object.setPrototypeOf||{proto:[]}instanceof Array&&function(e,r){e.proto=r}||function(e,r){for(var n in r)r.hasOwnProperty(n)&&(e[n]=r[n])},function(e,r){function (){this.constructor=e}o(e,r),e.prototype=null===r?Object.create(r):(.prototype=r.prototype,new __)});Object.defineProperty(r,"__esModule",{value:!0});var a=function(e){function MissingProvidedServiceTypeError(r){var n=e.call(this,'Cannot determine a class of the requesting service "'+r+'"')||this;return n.name="ServiceNotFoundError",Object.setPrototypeOf(n,MissingProvidedServiceTypeError.prototype),n}return i(MissingProvidedServiceTypeError,e),MissingProvidedServiceTypeError}(Error);r.MissingProvidedServiceTypeError=a},337:function(e,r,n){"use strict";var o,i=this&&this.__extends||(o=Object.setPrototypeOf||{proto:[]}instanceof Array&&function(e,r){e.proto=r}||function(e,r){for(var n in r)r.hasOwnProperty(n)&&(e[n]=r[n])},function(e,r){function (){this.constructor=e}o(e,r),e.prototype=null===r?Object.create(r):(.prototype=r.prototype,new __)});Object.defineProperty(r,"__esModule",{value:!0});var a=n(95),s=function(e){function ServiceNotFoundError(r){var n=e.call(this)||this;return n.name="ServiceNotFoundError","string"==typeof r?n.message='Service "'+r+'" was not found, looks like it was not registered in the container. Register it by calling Container.set("'+r+'", ...) before using service.':r instanceof a.Token&&r.name?n.message='Service "'+r.name+'" was not found, looks like it was not registered in the container. Register it byBeta Was this translation helpful? Give feedback.
All reactions