@polyv/product-launch 1.5.0-rc-20251204.1 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -73,4 +73,4 @@ var t,n,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.toS
73
73
  /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
74
74
  var t,n,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.toStringTag||"@@toStringTag";function l(e,r,i,a){var s=r&&r.prototype instanceof u?r:u,l=Object.create(s.prototype);return o(l,"_invoke",function(e,o,r){var i,a,s,l=0,u=r||[],p=!1,d={p:0,n:0,v:t,a:f,f:f.bind(t,4),d:function(e,n){return i=e,a=0,s=t,d.n=n,c}};function f(e,o){for(a=e,s=o,n=0;!p&&l&&!r&&n<u.length;n++){var r,i=u[n],f=d.p,h=i[2];e>3?(r=h===o)&&(s=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=t):i[0]<=f&&((r=e<2&&f<i[1])?(a=0,d.v=o,d.n=i[1]):f<h&&(r=e<3||i[0]>o||o>h)&&(i[4]=e,i[5]=o,d.n=h,a=0))}if(r||e>1)return c;throw p=!0,o}return function(r,u,h){if(l>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,h),a=u,s=h;(n=a<2?t:s)||!p;){i||(a?a<3?(a>1&&(d.n=-1),f(a,s)):d.n=s:d.v=s);try{if(l=2,i){if(a||(r="next"),n=i[r]){if(!(n=n.call(i,s)))throw TypeError("iterator result is not an object");if(!n.done)return n;s=n.value,a<2&&(a=0)}else 1===a&&(n=i.return)&&n.call(i),a<2&&(s=TypeError("The iterator does not provide a '"+r+"' method"),a=1);i=t}else if((n=(p=d.n<0)?s:e.call(o,d))!==c)break}catch(m){i=t,a=1,s=m}finally{l=1}}return{value:n,done:p}}}(e,i,a),!0),l}var c={};function u(){}function p(){}function d(){}n=Object.getPrototypeOf;var f=[][a]?n(n([][a]())):(o(n={},a,function(){return this}),n),h=d.prototype=u.prototype=Object.create(f);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,o(e,s,"GeneratorFunction")),e.prototype=Object.create(h),e}return p.prototype=d,o(h,"constructor",d),o(d,"constructor",p),p.displayName="GeneratorFunction",o(d,s,"GeneratorFunction"),o(h),o(h,s,"Generator"),o(h,a,function(){return this}),o(h,"toString",function(){return"[object Generator]"}),(e.exports=r=function(){return{w:l,m:m}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(t,o,r,i){var a=Object.defineProperty;try{a({},"",{})}catch(s){a=0}e.exports=n=function(e,t,o,r){if(t)a?a(e,t,{value:o,enumerable:!r,configurable:!r,writable:!r}):e[t]=o;else{var i=function(t,o){n(e,t,function(e){return this._invoke(t,o,e)})};i("next",0),i("throw",1),i("return",2)}},e.exports.__esModule=!0,e.exports.default=e.exports,n(t,o,r,i)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var o=n(15),r=n(18);e.exports=function(e,t,n,i,a){return new r(o().w(e,t,n,i),a||Promise)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var o=n(14),r=n(16);e.exports=function e(t,n){function i(e,r,a,s){try{var l=t[e](r),c=l.value;return c instanceof o?n.resolve(c.v).then(function(e){i("next",e,a,s)},function(e){i("throw",e,a,s)}):n.resolve(c).then(function(e){l.value=e,a(l)},function(e){return i("throw",e,a,s)})}catch(u){s(u)}}var a;this.next||(r(e.prototype),r(e.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),r(this,"_invoke",function(e,t,o){function r(){return new n(function(t,n){i(e,o,t,n)})}return a=a?a.then(r,r):r()},!0)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var o=n(2).default,r=n(29);e.exports=function(e){var t=r(e,"string");return"symbol"==o(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){n.d(t,"a",function(){return i});var o=n(28),r=n.n(o),i="__polyvUILangKey";function a(e,t,n){return n.replace(new RegExp("\\${"+e+"}","g"),t)}t.b={inject:{configProvider:{default:null}},computed:{$currentLocale:function(){var e=this.configProvider;return e&&e.locale},$currentLang:function(){return this.$currentLocale&&this.$currentLocale.$lang?this.$currentLocale.$lang:"zh_CN"}},methods:{$uiLang:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=this.configProvider,r=null;o&&o.locale?r=o.locale:window[i]&&(r=window[i]);var s="";if(s=r&&r[e]?r[e]:t,n)for(var l=0,c=Object.keys(n);l<c.length;l++){var u=c[l];s=a(u,n[u],s)}return s},shortNumber:function(e){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"w",n={w:1e4,k:1e3}[t];if(e>=n){var o=(e/n).toFixed(1),i=o.split("."),a=r()(i,2),s=a[0],l=a[1];return(o=0===Number(l)?s:o)+t}return e.toString()}(e,"zh_CN"===this.$currentLang?"w":"k")}}}},function(e,t,n){var o=n(14),r=n(15),i=n(23),a=n(17),s=n(18),l=n(24),c=n(25);function u(){var t=r(),n=t.m(u),p=(Object.getPrototypeOf?Object.getPrototypeOf(n):n.__proto__).constructor;function d(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))}var f={throw:1,return:2,break:3,continue:3};function h(e){var t,n;return function(o){t||(t={stop:function(){return n(o.a,2)},catch:function(){return o.v},abrupt:function(e,t){return n(o.a,f[e],t)},delegateYield:function(e,r,i){return t.resultName=r,n(o.d,c(e),i)},finish:function(e){return n(o.f,e)}},n=function(e,n,r){o.p=t.prev,o.n=t.next;try{return e(n,r)}finally{t.next=o.n}}),t.resultName&&(t[t.resultName]=o.v,t.resultName=void 0),t.sent=o.v,t.next=o.n;try{return e.call(this,t)}finally{o.p=t.prev,o.n=t.next}}}return(e.exports=u=function(){return{wrap:function(e,n,o,r){return t.w(h(e),n,o,r&&r.reverse())},isGeneratorFunction:d,mark:t.m,awrap:function(e,t){return new o(e,t)},AsyncIterator:s,async:function(e,t,n,o,r){return(d(t)?a:i)(h(e),t,n,o,r)},keys:l,values:c}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var o=n(17);e.exports=function(e,t,n,r,i){var a=o(e,t,n,r,i);return a.next().then(function(e){return e.done?e.value:a.next()})},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){var t=Object(e),n=[];for(var o in t)n.unshift(o);return function e(){for(;n.length;)if((o=n.pop())in t)return e.value=o,e.done=!1,e;return e.done=!0,e}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var o=n(2).default;e.exports=function(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(o(e)+" is not iterable")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var o=n(9);e.exports=function(e){if(Array.isArray(e))return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var o=n(30),r=n(36),i=n(13),a=n(31);e.exports=function(e,t){return o(e)||r(e,t)||i(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var o=n(2).default;e.exports=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=e.$scopedSlots[t],r=e.$slots[t];return o?o(n):r||null}n.d(t,"b",function(){return o}),t.a={props:{slotName:{type:String,default:"default"},scopedData:Object,target:Object,className:[String,Array],tagName:{type:String,default:"div"}},computed:{renderSlot:function(){var e=this.slotName,t=this.target.$scopedSlots[e],n=this.target.$slots[e];return t||n?function(e,o){return t?t(o):n}:function(){}}},render:function(){return(0,arguments[0])(this.tagName,{class:this.className},[this.renderSlot(this.$createElement,this.scopedData)])}}},,,function(e,t){var n=Object.prototype.hasOwnProperty,o=t.extend=Object.assign||function(e){if(null==e)throw new Error("target cannot be null");for(var t,o,r=0,i=arguments.length;++r<i;)if(null!=(o=arguments[r]))for(t in o)n.call(o,t)&&(e[t]=o[t]);return e},r=Object.prototype.toString,i=t.isFunction=function(e){return"[object Function]"===r.call(e)};t.isDate=function(e){return"[object Date]"===r.call(e)},t.isObject=function(e){return"[object Object]"===r.call(e)},t.isEmptyObject=function(e){if(null!=e)for(var t in e)if(n.call(e,t))return!1;return!0},t.each=function(e,t){if(null!=e){var o,r=e.length;if(void 0===r||i(e)){for(o in e)if(n.call(e,o)&&!1===t.call(e[o],e[o],o))break}else for(o=-1;++o<r&&!1!==t.call(e[o],e[o],o););}return e},t.toArray=function(e){var t;try{t=Array.prototype.slice.call(e)}catch(o){t=[];for(var n=e.length;n;)t[--n]=e[n]}return t},t.mergeArray=function(e,t){for(var n=t.length,o=e.length,r=0;r<n;)e[o++]=t[r++];return e.length=o,e},t.randomStr=function(e){var t="";do{t+=Math.random().toString(36).substr(2)}while(t.length<10);return t=t.substr(0,10)+("00000"+Math.abs(new Date)).slice(-6),e&&(t=e+t),t},t.createClass=function(e,t,r,i){var a=r?function(){r.apply(this,i?"function"==typeof i?i.apply(this,arguments):i:arguments),e.apply(this,arguments)}:function(){e.apply(this,arguments)};if(r){var s=function(){};s.prototype=r.prototype,a.prototype=new s,a.prototype.constructor=a,o(a,r)}if(t)for(var l in t)n.call(t,l)&&(a.prototype[l]=t[l]);return a}},function(e,t){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(o=i.call(n)).done)&&(s.push(o.value),s.length!==t);l=!0);}catch(u){c=!0,r=u}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}},e.exports.__esModule=!0,e.exports.default=e.exports},,,,,,,function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(o){"object"==typeof window&&(n=window)}e.exports=n},,,,,,,,,,,,,function(e,t,n){var o=n(30),r=n(19),i=n(13),a=n(31);e.exports=function(e){return o(e)||r(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function o(e,t,o,r,i,a){return n((s=n(n(t,e),n(r,a)))<<(l=i)|s>>>32-l,o);var s,l}function r(e,t,n,r,i,a,s){return o(t&n|~t&r,e,t,i,a,s)}function i(e,t,n,r,i,a,s){return o(t&r|n&~r,e,t,i,a,s)}function a(e,t,n,r,i,a,s){return o(t^n^r,e,t,i,a,s)}function s(e,t,n,r,i,a,s){return o(n^(t|~r),e,t,i,a,s)}e.exports=function(e){return function(e){for(var t,n="",o=0;o<e.length;o++)t=e.charCodeAt(o),n+="0123456789abcdef".charAt(t>>>4&15)+"0123456789abcdef".charAt(15&t);return n}(function(e){return function(e){for(var t="",n=0;n<32*e.length;n+=8)t+=String.fromCharCode(e[n>>5]>>>n%32&255);return t}(function(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;for(var o=1732584193,l=-271733879,c=-1732584194,u=271733878,p=0;p<e.length;p+=16){var d=o,f=l,h=c,m=u;o=r(o,l,c,u,e[p+0],7,-680876936),u=r(u,o,l,c,e[p+1],12,-389564586),c=r(c,u,o,l,e[p+2],17,606105819),l=r(l,c,u,o,e[p+3],22,-1044525330),o=r(o,l,c,u,e[p+4],7,-176418897),u=r(u,o,l,c,e[p+5],12,1200080426),c=r(c,u,o,l,e[p+6],17,-1473231341),l=r(l,c,u,o,e[p+7],22,-45705983),o=r(o,l,c,u,e[p+8],7,1770035416),u=r(u,o,l,c,e[p+9],12,-1958414417),c=r(c,u,o,l,e[p+10],17,-42063),l=r(l,c,u,o,e[p+11],22,-1990404162),o=r(o,l,c,u,e[p+12],7,1804603682),u=r(u,o,l,c,e[p+13],12,-40341101),c=r(c,u,o,l,e[p+14],17,-1502002290),o=i(o,l=r(l,c,u,o,e[p+15],22,1236535329),c,u,e[p+1],5,-165796510),u=i(u,o,l,c,e[p+6],9,-1069501632),c=i(c,u,o,l,e[p+11],14,643717713),l=i(l,c,u,o,e[p+0],20,-373897302),o=i(o,l,c,u,e[p+5],5,-701558691),u=i(u,o,l,c,e[p+10],9,38016083),c=i(c,u,o,l,e[p+15],14,-660478335),l=i(l,c,u,o,e[p+4],20,-405537848),o=i(o,l,c,u,e[p+9],5,568446438),u=i(u,o,l,c,e[p+14],9,-1019803690),c=i(c,u,o,l,e[p+3],14,-187363961),l=i(l,c,u,o,e[p+8],20,1163531501),o=i(o,l,c,u,e[p+13],5,-1444681467),u=i(u,o,l,c,e[p+2],9,-51403784),c=i(c,u,o,l,e[p+7],14,1735328473),o=a(o,l=i(l,c,u,o,e[p+12],20,-1926607734),c,u,e[p+5],4,-378558),u=a(u,o,l,c,e[p+8],11,-2022574463),c=a(c,u,o,l,e[p+11],16,1839030562),l=a(l,c,u,o,e[p+14],23,-35309556),o=a(o,l,c,u,e[p+1],4,-1530992060),u=a(u,o,l,c,e[p+4],11,1272893353),c=a(c,u,o,l,e[p+7],16,-155497632),l=a(l,c,u,o,e[p+10],23,-1094730640),o=a(o,l,c,u,e[p+13],4,681279174),u=a(u,o,l,c,e[p+0],11,-358537222),c=a(c,u,o,l,e[p+3],16,-722521979),l=a(l,c,u,o,e[p+6],23,76029189),o=a(o,l,c,u,e[p+9],4,-640364487),u=a(u,o,l,c,e[p+12],11,-421815835),c=a(c,u,o,l,e[p+15],16,530742520),o=s(o,l=a(l,c,u,o,e[p+2],23,-995338651),c,u,e[p+0],6,-198630844),u=s(u,o,l,c,e[p+7],10,1126891415),c=s(c,u,o,l,e[p+14],15,-1416354905),l=s(l,c,u,o,e[p+5],21,-57434055),o=s(o,l,c,u,e[p+12],6,1700485571),u=s(u,o,l,c,e[p+3],10,-1894986606),c=s(c,u,o,l,e[p+10],15,-1051523),l=s(l,c,u,o,e[p+1],21,-2054922799),o=s(o,l,c,u,e[p+8],6,1873313359),u=s(u,o,l,c,e[p+15],10,-30611744),c=s(c,u,o,l,e[p+6],15,-1560198380),l=s(l,c,u,o,e[p+13],21,1309151649),o=s(o,l,c,u,e[p+4],6,-145523070),u=s(u,o,l,c,e[p+11],10,-1120210379),c=s(c,u,o,l,e[p+2],15,718787259),l=s(l,c,u,o,e[p+9],21,-343485551),o=n(o,d),l=n(l,f),c=n(c,h),u=n(u,m)}return Array(o,l,c,u)}(function(e){for(var t=Array(e.length>>2),n=0;n<t.length;n++)t[n]=0;for(n=0;n<8*e.length;n+=8)t[n>>5]|=(255&e.charCodeAt(n/8))<<n%32;return t}(e),8*e.length))}(function(e){for(var t,n,o="",r=-1;++r<e.length;)t=e.charCodeAt(r),n=r+1<e.length?e.charCodeAt(r+1):0,55296<=t&&t<=56319&&56320<=n&&n<=57343&&(t=65536+((1023&t)<<10)+(1023&n),r++),t<=127?o+=String.fromCharCode(t):t<=2047?o+=String.fromCharCode(192|t>>>6&31,128|63&t):t<=65535?o+=String.fromCharCode(224|t>>>12&15,128|t>>>6&63,128|63&t):t<=2097151&&(o+=String.fromCharCode(240|t>>>18&7,128|t>>>12&63,128|t>>>6&63,128|63&t));return o}(e)))}},function(e,t,n){var o=n(35),r=n(66),i=n(69),a=n(70),s=window,l=s.document,c=l.head||l.getElementsByTagName("head")[0];function u(){var e=new Error("Request cancelled");return e.isAJAXCancel=!0,e}function p(){var e=new Error("Request timeout");return e.isAJAXTimeout=!0,e}function d(e){return function(t,n){(n="function"==typeof n?{onload:n}:o.extend({},n)).timeout&&(n.timeout=i.parse(n.timeout));var r=o.extend({},n.data);n.nocache&&(r._=+new Date);for(var s=[t=a.append(t,r,{ignoreEmpty:!0}),n],l=2;l<arguments.length;l++)s.push(arguments[l]);return e.apply(this,s)}}var f="onload"in l.createElement("script")?"onload":"onreadystatechange",h=t.getScript=d(function(e,t,n){return new r(function(r,i){var a,d,h;function m(){a&&(h||!a.readyState||/loaded|complete/.test(a.readyState))&&(a[f]=a.onerror=null,c.removeChild(a),a=null,d&&clearTimeout(d),n&&(window[n]=null),h||r())}function g(e){!h&&a&&(h=!0,m(),e&&i(e()))}n&&(s[n]=function(){h||r(o.toArray(arguments))}),a=l.createElement("script"),t.charset&&(a.charset=t.charset),a.async=!0,a[f]=a.onerror=m,a.src=e,c.firstChild?c.insertBefore(a,c.firstChild):c.appendChild(a),t.receiveCancel&&t.receiveCancel.call(s,function(){g(u)});var v=Number(t.timeout);v>0&&(d=setTimeout(function(){g(p)},v))})}),m=t.jsonp=function(e,t){var n;t=o.extend({},t);var c,d,f,m="POST"===String(t.method).toUpperCase();return/[?&]callback=([^&]+)/.test(e)?n=RegExp.$1:(n=t.callbackName||function(e){var t=l.createElement("a");t.href=e;var n=t.pathname.split("/");n=(n[n.length-1]||"index").replace(/\.\w+$/,"");for(var o="jsonp_callback_"+(t.host+"_"+n).replace(/\W+/g,""),r=o,i=1;void 0!==s[r];)r=o+"_"+i++;return r}(e),m||(e=a.append(e,{callback:n}))),m?(c=e,d=t,f=n,new r(function(e,t){var n,r,a,h;function m(){n&&(r.removeEventListener?r.removeEventListener("load",m,!1):r.detachEvent&&r.detachEvent("onload",m),n.parentNode&&n.parentNode.removeChild(n),n=r=null,a&&clearTimeout(a),f&&(window[f]=null),h||e())}function g(e){!h&&n&&(h=!0,m(),e&&t(e()))}f&&(s[f]=function(){h||e(o.toArray(arguments))}),(n=l.createElement("div")).style.display="none";var v=o.randomStr("form-target-");n.innerHTML='<form action="'+c+'" target="'+v+'" method="post"><input type="hidden" name="callback" value="'+f+'" /></form><iframe name="'+v+'" id="'+v+'"></iframe>';var b=n.firstChild;o.each(d.data,function e(t,n){Array.isArray(t)&&t.forEach(function(t){e(t,n)});var o=l.createElement("input");o.type="hidden",o.name=n,o.value=t,b.appendChild(o)});var y=l.body;y.firstChild?y.insertBefore(n,y.firstChild):y.appendChild(n),b.submit(),(r=b.nextSibling).addEventListener?r.addEventListener("load",m,!1):r.attachEvent&&r.attachEvent("onload",m),d.receiveCancel&&d.receiveCancel.call(s,function(){g(u)});var _=Number(i.parse(d.timeout||0));_>0&&(a=setTimeout(function(){g(p)},_))})):h(e,t,n)};t.getImage=d(function(e){return new r(function(t,n){var o=new Image;o.onload=function(){t(e)},o.onabort=o.onerror=function(){n(new Error("Failed to load image"))},o.src=e}).finally(function(){})});var g=t.createXHR=s.XMLHttpRequest?function(){return new s.XMLHttpRequest}:function(){return new s.ActiveXObject("Microsoft.XMLHTTP")},v=/(?:^|;\s*)(?:application|text)\/([a-z]+)/i;t.send=function(e,t){"string"!=typeof e&&(e=(t=e).url),t=t||{};var n=String(t.responseType||t.dataType||"").toLowerCase();return"jsonp"===n?m(e,t):new r(function(r,c){var d,f,h=g();function m(e){f||4===h.readyState||(f=!0,h.abort(),e&&c(e()))}function b(){if(!f){var e=h.readyState,t=4===e?h.status:0;if(4===e&&t){var o,i,a;switch(d&&clearTimeout(d),n=n||function(e){if(v.test(e))return RegExp.$1.toLowerCase()}(h.getResponseHeader("Content-Type"))){case"json":var s=(h.responseText||"").trim();if(s)try{o=JSON.parse(s)}catch(l){i="Invalid JSON format"}break;case"xml":(o=h.responseXML)&&o.documentElement||(i="Invalid XML format");break;default:o=h.responseText}t>=200&&t<300||1223===t||304===t?i&&(a=new Error(i)):((a=new Error("Error (HTTP status code: "+t+")")).code=t,a.data=o),a?c(a):r(o)}}}var y,_=(t.method||"GET").toUpperCase(),w="boolean"!=typeof t.async||t.async,x=t.data,C=t.headers||{},S=String(t.requestType||"form").toLowerCase();if(x&&("GET"===_||"DELETE"===_?(e=a.append(e,x,{ignoreEmpty:!0}),x=null):("json"===S?(x=JSON.stringify(x),y="application/json; charset=utf-8"):"string"!=typeof x&&(x=a.stringify(x,{ignoreEmpty:!0}),y="application/x-www-form-urlencoded; charset=utf-8"),C["Content-Type"]=C["Content-Type"]||y)),t.nocache&&(e=a.append(e,{_:+new Date})),w){var k=Number(i.parse(t.timeout||0));k>0&&(d=setTimeout(function(){m(p)},k)),h.onreadystatechange=b,"onerror"in h&&(h.onerror=function(){d&&clearTimeout(d),f=!0,c(new Error("Network error"))})}t.username?h.open(_,e,w,t.username,t.password):h.open(_,e,w),function(e){var t=l.createElement("div");t.innerHTML='<a href="'+e+'"></a>';var n=t.firstChild;n.href=n.href;var o=n.host!==s.location.host;return t=n=null,o}(e)&&(h.withCredentials=!!t.withCredentials),o.each(C,function(e,t){h.setRequestHeader(t,e)}),t.beforeSend&&t.beforeSend.call(s,h),h.send(x||""),t.receiveCancel&&t.receiveCancel.call(s,function(){m(u)}),w||b.call(h)})},t.serializeForm=function(e){if("nodeType"in e||"function"!=typeof e.get||(e=e.get(0)),"FORM"!==e.tagName)throw new Error("Form must be an HTML form element");var t,n,o,r,i={},a=e.elements,s=a.length;for(t=0;t<s;t++)o=(n=a[t]).name,!n.disabled&&o&&("INPUT"!==n.tagName||"radio"!==n.type&&"checkbox"!==n.type||n.checked)&&(r="password"===n.type?n.value:n.value.trim(),i.hasOwnProperty(o)?(Array.isArray(i[o])||(i[o]=[i[o]]),i[o].push(r)):i[o]=r);return i}},,function(e,t,n){n.r(t),n(65);var o=n(7),r=n.n(o),i=n(3),a=n.n(i),s=n(8),l=n.n(s),c=n(4),u=n.n(c),p=n(56),d=n.n(p);function f(e,t){var n=[],o=d()(e),r=o[0],i=o.slice(1);if(void 0===r)return n;var a=t.find(function(e){return e.code===r||e.name===r});return a&&(n=[a]),Array.isArray(a.childrens)&&(n=[].concat(u()(n),u()(f(i,a.childrens)))),n}var h=n(32);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(n,!0).forEach(function(t){l()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var v={name:"plv-cascader-picker-core",data:function(){return{dimension:0}},props:{value:{type:Array,default:function(){return[]},validator:function(e){return Array.isArray(e)}},data:{type:Array,default:function(){return[]},validator:function(e){return Array.isArray(e)}},tabList:{type:Array,default:function(){return[]},validator:function(e){return Array.isArray(e)}},wrapClass:String,tabWrapClass:String,tabItemClass:String,tabItemSelectedClass:String,listClass:String,listItemClass:String,listItemSelectedClass:String},computed:{tabListData:function(){var e=u()(this.tabList);return f(this.value,this.data).forEach(function(t,n){n<e.length&&(e[n]=t.name)}),e},listData:function(){var e=[],t=f(this.value,this.data);if(0===this.dimension)e=u()(this.data);else{var n=t[this.dimension-1];Array.isArray(n&&n.childrens)&&(e=u()(n.childrens))}return e.map(function(e){var n=e.code,o=t.findIndex(function(e){return e.code===n});return g(g({},e),{},{selected:-1!==o})})},isFinish:function(){var e=f(this.value,this.data),t=e[e.length-1]||{};return e.length&&(!t.childrens||!t.childrens.length)||this.tabList.length&&this.tabList.length<=e.length}},methods:{handleTabClick:function(e){var t=this,n=f(this.value,this.data)[e-1];(0===e||Array.isArray(n&&n.childrens))&&(this.dimension=e),setTimeout(function(){t.$emit("handleUpdatePopper")})},handleListClick:function(e){var t=this,n=u()(this.value);n[this.dimension]=e.code,n=n.slice(0,this.dimension+1),this.$emit("input",n),this.$nextTick(function(){t.isFinish?t.$emit("finish"):t.dimension+=1}),setTimeout(function(){t.$emit("handleUpdatePopper")})}},render:function(){var e=this,t=arguments[0];return t("div",{class:this.wrapClass},[t("div",{class:this.tabWrapClass},[this.tabListData.map(function(n,o){var r=[e.tabItemClass];return o===e.dimension&&r.push(e.tabItemSelectedClass),t("div",{class:r,on:{click:function(){return e.handleTabClick(o)}}},[n])})]),t("div",{class:this.listClass},[this.listData.map(function(n){var o=[e.listItemClass];n.selected&&o.push(e.listItemSelectedClass);var r={label:n.name,selected:n.selected};return t("div",{class:o,on:{click:function(){return e.handleListClick(n)}}},[Object(h.b)(e,"item",r)])})])])},getSelectData:f,isSelectFinish:function(e,t){var n=f(e,t),o=n[n.length-1]||{};return n.length&&(!o.childrens||!o.childrens.length)},install:function(e){e.component(v.name,v)}},b=v,y=n(6),_=n(57),w=n.n(_),x=n(58),C={md5:w.a,ajax:x.send},S={};function k(e){var t=e||y.a.getConfig("AreaPicker","areaDataUrl")||"https://s4.videocc.net/library/china-area/china-area-20200630.json";return S[t]||(S[t]=new Promise(function(e){r()(a.a.mark(function n(){var o;return a.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=1,C.ajax({url:t});case 1:o=n.sent,e(o);case 2:case"end":return n.stop()}},n)}))()})),S[t]}var Q={props:{value:{type:Array,default:function(){return[]},validator:function(e){return Array.isArray(e)}},areaData:{type:Array,default:function(){return[]}},areaDataUrl:{type:String,default:""},precision:{type:String,default:"area",validator:function(e){return-1!==["","area","city","province"].indexOf(e)}},placeholder:{type:String,default:"请选择省市区"}},methods:{loadAreaDataUrl:function(){return k(this.areaDataUrl)}},loadAreaDataUrl:k},E={name:"plv-area-picker-core",mixins:[Q,n(21).b],components:{PlvCascaderPickerCore:b},methods:{handleSelectChange:function(e){this.$emit("input",e)},handleSelectFinish:function(){this.$emit("finish")},handleUpdatePopper:function(){this.$emit("handleUpdatePopper")}},computed:{tabList:function(){var e=[this.$uiLang("areaPicker.province","省份"),this.$uiLang("areaPicker.city","城市"),this.$uiLang("areaPicker.area","地区")];switch(this.precision){case"province":return e.slice(0,1);case"city":return e.slice(0,2);case"area":return e.slice(0,3)}return e}},getSelectData:b.getSelectData,isSelectFinish:b.isSelectFinish,loadAreaDataUrl:k},T=n(0),P={name:"plv-area-picker-mob",mixins:[Q],components:{PlvAreaPickerCore:Object(T.a)(E,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"plv-area-picker__popper"},[n("plv-cascader-picker-core",{staticClass:"plv-area-picker__popper__inner",attrs:{"tab-wrap-class":"plv-area-picker__tab","tab-item-class":"plv-area-picker__tab__item","tab-item-selected-class":"plv-area-picker__tab__item--selected","list-class":"plv-area-picker__list","list-item-class":"plv-area-picker__list__item","list-item-selected-class":"plv-area-picker__list__item--selected","tab-list":e.tabList,value:e.value,data:e.areaData},on:{input:e.handleSelectChange,handleUpdatePopper:e.handleUpdatePopper,finish:e.handleSelectFinish},scopedSlots:e._u([{key:"item",fn:function(t){return n("div",{staticClass:"plv-area-picker__list__item__inner"},[e._t("item",[e._v(e._s(t.label))],null,t)],2)}}],null,!0)})],1)},[],!1,null,null,null).exports},data:function(){return{realAreaData:[]}},watch:{areaData:{immediate:!0,handler:function(){var e=this;return r()(a.a.mark(function t(){return a.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(0!==e.areaData.length){t.next=2;break}return t.next=1,e.loadAreaDataUrl();case 1:e.realAreaData=t.sent,t.next=3;break;case 2:e.realAreaData=e.areaData;case 3:case"end":return t.stop()}},t)}))()}}},methods:{handleInput:function(e){this.$emit("input",e)},handleFinish:function(){this.$emit("finish")}},getSelectData:b.getSelectData,isSelectFinish:b.isSelectFinish,loadAreaDataUrl:k},A=Object(T.a)(P,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"plv-area-picker-mob"},[n("plv-area-picker-core",{attrs:{value:e.value,"area-data":e.realAreaData},on:{input:e.handleInput,finish:e.handleFinish},scopedSlots:e._u([{key:"item",fn:function(t){return n("div",{staticClass:"plv-area-picker-mob__area__item__inner"},[n("span",[e._v(e._s(t.label))]),e._v(" "),n("span",{staticClass:"plv-front-mob-icon-check"})])}}])})],1)},[],!1,null,null,null).exports;A.install=function(e){e.component(A.name,A)},t.default=A},,,,,function(e,t,n){},function(e,t,n){(function(t){var o;void 0!==t?o=t.Promise:"undefined"!=typeof window&&(o=window.Promise),(o=n(o?67:68)).series=function(e){return e.length?e.slice(1).reduce(function(e,t){return e.then(function(e){return t(e)})},e[0]()):o.resolve()},o.delay=function(e){return new o(function(t){setTimeout(t,e)})},e.exports=o}).call(this,n(43))},function(e,t,n){var o=n(35).createClass(function(e){this._promise=new Promise(e)},{then:function(e,t){var n=this;return new o(function(o){o(n._promise.then(e,t))})},spread:function(e,t){var n=this;return new o(function(o){o(n._promise.then(function(t){return e.apply(this,t)},t))})},catch:function(e){var t=this;return new o(function(n){n(t._promise.catch(e))})},finally:function(e){var t=this;return new o(function(n,o){t._promise.then(function(t){e.apply(this,arguments),n(t)},function(t){e.apply(this,arguments),o(t)})})}});["all","race","reject","resolve"].forEach(function(e){o[e]=Promise[e]}),e.exports=o},function(e,t,n){var o=n(35),r="undefined"!=typeof console&&"function"==typeof console.error?function(e){console.error("Uncaught (in promise) %o",e)}:function(e){throw e};function i(e,t,n){var o;(o=e)&&"function"==typeof o.then?e.then(t,n):t(e)}var a=o.createClass(function(e){if("function"!=typeof e)throw new Error("Executor must be a function");var t=this;function n(e){t._settle(2,e)}t._status=0,t._pendings={};try{e(function(e){i(e,function(e){t._settle(1,e)},n)},n)}catch(o){n(o)}},{_settle:function(e,t){var n=this;0===n._status&&(n._status=e,n._value=t,setTimeout(function(){if(2!==n._status||n._hasRejectedHandler){var o=n._pendings[e];o&&o.forEach(function(e){e(t)}),delete n._pendings}else r(t)},0))},_listen:function(e,t){var n=this;2===e&&(n._hasRejectedHandler=!0),n._pendings?(n._pendings[e]=n._pendings[e]||[],n._pendings[e].push(t)):n._status===e&&setTimeout(function(){t(n._value)},0)},_then:function(e,t,n){var o=this;return new a(function(r,a){o._listen(1,function(){var t=o._value;if(e)try{t=n&&Array.isArray(t)?e.apply(this,t):e.call(this,t)}catch(s){return void a(s)}i(t,r,a)}),o._listen(2,function(){var e=o._value;if(t){try{e=t.call(this,e)}catch(n){return void a(n)}i(e,r,a)}else a(e)})})},then:function(e,t){return this._then(e,t)},spread:function(e){return this._then(e,null,!0)},catch:function(e){return this.then(null,e)},finally:function(e){var t=this;return new a(function(n,o){function r(){var r,i=t._value;switch(t._status){case 1:r=function(){n(i)};break;case 2:r=function(){o(i)}}if(e)try{e()}catch(a){return void o(a)}r&&r()}t._listen(1,r),t._listen(2,r)})}});o.extend(a,{all:function(e){var t=e.length;return t?new a(function(n,o){var r=new Array(t);e.forEach(function(e,i){e.then(function(e){r[i]=e,--t||n(r)},o)})}):a.resolve([])},race:function(e){return new a(function(t,n){e.forEach(function(e){e.then(t,n)})})},resolve:function(e){return new a(function(t,n){i(e,t,n)})},reject:function(e){return new a(function(t,n){n(e)})}}),e.exports=a},function(e,t){var n={SEC:1e3,MIN:6e4,HOUR:36e5,DAY:864e5,MONTH:2592e6,YEAR:31536e6},o=t.parse=function(e){if("number"==typeof e)return e;if(!isNaN(e))return Number(e);var t=parseFloat(e);if(isNaN(t))throw new Error("Invalid timespan string");var o=e.split(t)[1].trim().toUpperCase().replace(/S$/,"");if(n.hasOwnProperty(o))return t*n[o];throw new Error('Invalid time unit "'+o+'"')};t.addToDate=function(e,t){return new Date(("number"==typeof e?e:e.getTime())+o(t))}},function(e,t,n){var o=n(35);t.parse=function(e,t){if("string"!=typeof e)return{};t=o.extend({decode:decodeURIComponent},t);var n={};return e.split("&").forEach(function(e){if(e){e=e.split("=");var o=t.decode(e[0]),r=t.decode(e[1]||"");!r&&t.ignoreEmpty||(n.hasOwnProperty(o)?(Array.isArray(n[o])||(n[o]=[n[o]]),n[o].push(r)):n[o]=r)}}),n};var r=t.stringify=function(e,t){if("object"!=typeof e)return"";t=o.extend({encode:encodeURIComponent},t);var n,r,i=[];function a(e,n){null==n&&(n=""),""===n&&t.ignoreEmpty||i.push(t.encode(e)+"="+t.encode(n))}function s(e){a(n,e)}for(n in e)e.hasOwnProperty(n)&&(r=e[n],Array.isArray(r)?r.forEach(s):a(n,r));return i.join("&")};t.append=function(e,t,n){if(!("string"==typeof t&&""!==t||"object"==typeof t&&!o.isEmptyObject(t)))return e;var i=e.indexOf("#"),a="";return-1!==i&&(a=e.substring(i,e.length),e=e.substring(0,i)),e=e.replace(/[?&]$/,""),t="string"!=typeof t?r(t,n):t.replace(/^[?&]/,""),e+(-1!==e.indexOf("?")?"&":"?")+t+a}}]).default);p(u({},ug()),{value:ae.array(),areaPickerText:ae.array(),placeholder:ae.string}),u({input:()=>!0},zm("areaPickerText")),ae.looseString,ae.looseString,ae.looseNumber,ae.looseNumber,ae.looseNumber,ae.bool.def(!0),ae.looseString,ae.oneOf(ag),ae.bool.def(!1),ae.bool.def(!1),ae.object().def({}),ae.object().def({}),ae.number.def(170),ae.number.def(Gm?52:40),ae.looseNumber,ae.func(),ae.enum(),ae.oneOf(ag).def("inline"),ae.bool.def(!1);const vg=t=>{const n=e.unref(t);return n instanceof HTMLElement?n:n&&n.$el?n.$el:void 0},bg=(t,n,o=!0)=>{const r=e=>{const o=e.target;if(o){let e=!1;const r=function(){const e=[],n="function"==typeof t?t():t;return(Array.isArray(n)?n:[n]).forEach(t=>{if("string"==typeof t){const n=document.querySelectorAll(t);return void(n&&n.forEach(t=>e.push(t)))}const n=vg(t);n instanceof HTMLElement&&e.push(n)}),e}();r.forEach(t=>{const n=vg(t);n instanceof HTMLElement&&n.contains(o)&&(e=!0)}),e||n()}};let i=!1;const a=()=>{if(i)return;i=!0;const e=Vm?"click":"mouseup";document.addEventListener(e,r,{capture:!0})},s=()=>{const e=Vm?"click":"mouseup";document.removeEventListener(e,r),i=!1};return e.onMounted(()=>{o&&a()}),e.onBeforeUnmount(()=>{s()}),{listenClickOutSide:a,removeListenClickOutSide:s}};var yg=function(){return We.Date.now()},_g=/\s/;var wg=/^\s+/;function xg(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&_g.test(e.charAt(t)););return t}(e)+1).replace(wg,""):e}var Cg=/^[-+]0x[0-9a-f]+$/i,Sg=/^0b[01]+$/i,kg=/^0o[0-7]+$/i,Qg=parseInt;function Eg(e){if("number"==typeof e)return e;if(Je(e))return NaN;if(nt(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=nt(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=xg(e);var n=Sg.test(e);return n||kg.test(e)?Qg(e.slice(2),n?2:8):Cg.test(e)?NaN:+e}var Tg=Math.max,Pg=Math.min;function Ag(e,t,n){var o,r,i,a,s,l,c=0,u=!1,p=!1,d=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function f(t){var n=o,i=r;return o=r=void 0,c=t,a=e.apply(i,n)}function h(e){var n=e-l;return void 0===l||n>=t||n<0||p&&e-c>=i}function m(){var e=yg();if(h(e))return g(e);s=setTimeout(m,function(e){var n=t-(e-l);return p?Pg(n,i-(e-c)):n}(e))}function g(e){return s=void 0,d&&o?f(e):(o=r=void 0,a)}function v(){var e=yg(),n=h(e);if(o=arguments,r=this,l=e,n){if(void 0===s)return function(e){return c=e,s=setTimeout(m,t),u?f(e):a}(l);if(p)return clearTimeout(s),s=setTimeout(m,t),f(l)}return void 0===s&&(s=setTimeout(m,t)),a}return t=Eg(t)||0,nt(n)&&(u=!!n.leading,i=(p="maxWait"in n)?Tg(Eg(n.maxWait)||0,t):i,d="trailing"in n?!!n.trailing:d),v.cancel=function(){void 0!==s&&clearTimeout(s),c=0,o=l=r=s=void 0},v.flush=function(){return void 0===s?a:g(yg())},v}function Og(t,n={}){const{immediate:o=!0,resetScrollOnRefresh:r=!0}=n,i=n.keyword||e.ref(""),a=n.pageNumber||e.ref(1),s=n.pageSize||e.ref(10),l=n.contents||e.ref([]),c=n.totalItems||e.ref(0),u=n.totalPages||e.ref(0),p=n.isFirstFinish||e.ref(!1),f=e.ref(!1),h=e.ref(!1);function m(){return d(this,arguments,function*(e={}){var n,o;const{setTotalPages:r=!0}=e,d=null!=(n=e.pageNumber)?n:a.value,m=null!=(o=e.pageSize)?o:s.value;h.value=!0;try{const e=yield t({pageNumber:d,pageSize:m,keyword:i.value});1===e.pageNumber?l.value=[...e.contents]:l.value.push(...e.contents),r&&(u.value=e.totalPages||0),c.value=e.totalItems||0,f.value=e.contents.length<m,h.value=!1}catch(v){h.value=!1}p.value=!0})}const g=n.scrollRef||e.ref(),b=Ag(e=>{const t=e.target;if(!t)return;const{scrollTop:n,scrollHeight:o,clientHeight:r}=t;n+r>=o-.2*r&&(console.info("执行到 loadNext"),f.value||h.value||u.value>0&&a.value>=u.value||(a.value+=1,console.info("pageNumber 递增了",a.value),m()))},300);e.watch(g,()=>{g.value&&g.value.addEventListener("scroll",b)},{immediate:!0});const y=Ag(()=>{g.value&&(g.value.scrollTop=0),w()},300),_=e.computed(()=>{const e={keyword:i.value};return n.getFilterParams&&Object.assign(e,n.getFilterParams()),e});function w(){return a.value=1,r&&g.value&&(console.info("这里执行了"),g.value.scrollTop=0),m()}return e.watch(_,y),e.onBeforeUnmount(()=>{b.cancel(),y.cancel()}),o&&e.onMounted(()=>{m()}),{scrollRef:g,pageNumber:a,pageSize:s,contents:l,keyword:i,isFirstFinish:p,refresh:w,refreshList:function(){return d(this,null,function*(){console.info("refreshList 执行",a.value,s.value),console.info("maxContent",l.value.length),yield m({pageNumber:1,pageSize:Math.max(l.value.length,s.value),setTotalPages:!1})})},onScroll:b}}function Dg(e){let t;try{t=Array.prototype.slice.call(e)}catch(n){t=[];let o=e.length;for(;o;)t[--o]=e[o]}return t}function Lg(e,t){if(null==t)return e;const n=t.length;let o=e.length,r=0;for(;r<n;)e[o++]=t[r++];return e.length=o,e}function Mg(e){return null!=e&&e!==e.window&&"function"!=typeof e&&"number"==typeof e.length&&e.length%1==0&&e.length>-1}const Ig=Object.prototype.hasOwnProperty;function jg(e,t){return Ig.call(e,t)}function Rg(e){return null!=e&&e==e.window}function Ng(e){return null!=e&&!Rg(e)&&"number"==typeof e.nodeType}function Fg(e){return Ng(e)&&9===e.nodeType}function zg(e){return null!=e&&!Rg(e)&&1===e.nodeType&&"style"in e}function Bg(e){let t;return t="string"==typeof e?e.split(/\s+/):e||[],t}function $g(e,t){if(Mg(e)){const n=e,o=n.length;for(let e=0;e<o;e++)$g(n[e],t)}else if(zg(e))return t(e)}function Vg(e,t,n,o=!1,r){if(null!=t&&"object"==typeof t){for(const n in t)jg(t,n)&&Vg(e,n,t[n],o,r);return e}const i=e.length;if(void 0!==n){o=o&&"function"==typeof n;let a=-1;for(;++a<i;)r.set.call(e,e[a],t,o?n.call(e[a],e[a],r.get.call(e,e[a],t),a):n);return e}return i?r.get.call(e,e[0],t):null}let Wg=!1;function Hg(e,t){if(e===t)return Wg=!0,0;let n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(n=e.compareDocumentPosition(t),1&n?1&e.compareDocumentPosition(document)?1:1&t.compareDocumentPosition(document)?-1:0:4&n||16&n?-1:1)}function qg(e){if(e.length<=1)return e;if(Wg=!1,e.sort(Hg),Wg){let t,n=0,o=0;const r=[];for(;t=e[n++];)t===e[n]&&(o=r.push(n));for(;o--;)e.splice(r[o],1)}return e}function Ug(e,t=document){let n;if(9===t.nodeType||!(n=t.parentElement))return t.querySelectorAll(e);const o=t;let r=o.getAttribute("id"),i=0;r||(i=null==r?1:2,r="just4__query__context",o.setAttribute("id",r));const a="#"+r+" ";e=a+e.replace(/\s*,\s*/g,function(e){return e+a});try{return n.querySelectorAll(e)}finally{switch(i){case 1:o.removeAttribute("id");break;case 2:o.setAttribute("id","")}}}const Gg=document.documentElement,Yg=Gg.matches||Gg.webkitMatchesSelector||Gg.mozMatchesSelector||Gg.oMatchesSelector||Gg.msMatchesSelector;function Zg(e,t){try{return Yg.call(e,t)}catch(n){return!1}}function Xg(e){if(!e)return[];const t=e;return 1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType?[t]:Lg([t],t.querySelectorAll("*"))}function Kg(e,t){return t?e.filter(function(e){return Zg(e,t)}):e}function Jg(e,t,n){return e.length?(qg(e),"parentNode"!==t&&"previousElementSibling"!==t||e.reverse(),Kg(e,n)):e}function ev(e,t,n,o){let r;"string"==typeof n?r=function(e){return Zg(e,n)}:Ng(n)?r=function(e){return e===n}:Array.isArray(n)&&(r=function(e){return-1!==n.indexOf(e)});const i=[];return $g(e,function(e){for(;(e=e[t])&&(!r||!r(e));)i.push(e)}),Jg(i,t,o)}function tv(e,t,n,o){const r=[];return $g(e,function(e){for(;(e=e[t])&&(r.push(e),!o););}),Jg(r,t,n)}const nv={OBJECT:!0,EMBED:!0,APPLET:!0};function ov(e){if(null==e)return 0;if(Ng(e)){const t=e;return nv[t.nodeName]||9===t.nodeType?2:1!==t.nodeType?0:1}return 2}const rv="_just4_nodeid_"+ +new Date+"_";let iv=0;const av=Object.create(null),sv=Object.create(null);function lv(e,t=!1){let n,o;switch(ov(e)){case 1:o=e[rv],o?n=o.valueOf():t||(o=e[rv]=new Number(++iv),av[n=o.valueOf()]=function(){e[rv]});break;case 2:for(const t in sv)if(sv[t]===e){n=Number(t);break}n||t||(n=++iv,sv[n]=e)}return n}function cv(e){switch(ov(e)){case 1:!function(e){if(e[rv]){delete av[e[rv]];try{delete e[rv]}catch(t){e[rv]=null}}}(e);break;case 2:for(const t in sv)if(sv[t]===e){delete sv[t];break}}}class uv{constructor(e={}){this._space=Object.create(null),this._cloneable=!1!==e.cloneable,this._onClone=e.onClone}findSpace(e){const t=lv(e,!0);if(t)return this._space[t]}keys(e){const t=this.findSpace(e);return t?Object.keys(t):[]}getData(e,t){const n=this.findSpace(e);if(n&&t in n)return n[t]}setData(e,t,n){const o=lv(e);o&&(this._space[o]||(this._space[o]=Object.create(null)),this._space[o][t]=n)}clearData(e){const t=lv(e,!0);t&&delete this._space[t]}removeData(e,t){const n=this.findSpace(e);n&&(delete n[t],function(e){if(null!=e){if(Array.isArray(e))return!e.length;for(const t in e)if(jg(e,t))return!1}return!0}(n)&&this.clearData(e))}cloneData(e,t){if(!this._cloneable)return;const n=this.findSpace(t);if(n){const o=lv(e);if(!o)return;const r=this._space[o]=this._space[o]||Object.create(null);for(const e in n)r[e]=n[e];this._onClone&&this._onClone(e,t)}}}const pv=function(){const e=[];return{add:function(t){return e.push(t)-1},clear:function(t){for(let n=e.length-1;n>=0;n--)e[n].clearData(t)},clone:function(t,n){for(let o=e.length-1;o>=0;o--)e[o].cloneData(t,n)}}}();function dv(e){const t=new uv(e);return pv.add(t),t}function fv(e){pv.clear(e),cv(e)}function hv(e,t){pv.clone(e,t)}const mv=dv();function gv(e,t){return mv.getData(e,t)}function vv(e,t,n){mv.setData(e,t,n)}function bv(e,t){let n=(t=t||document).createElement("div");n.innerHTML=e.trim();const o=[];for(;n.firstChild;)o.push(n.removeChild(n.firstChild));return n=null,o}function yv(e,t=!1,n=!1){const o=e.cloneNode(!0);if(n){const t=Xg(e);if(t){const e=Xg(o);for(let n=t.length-1;n>=0;n--)hv(e[n],t[n])}}else t&&hv(o,e);return o}function _v(e,t=document){const n=e.length;if(n){const o=t.createDocumentFragment();let r=-1;for(;++r<n;)Ng(e[r])&&o.appendChild(e[r]);return o}}function wv(e,t,n,o){const r=t.length;if(!r)return;const i=function(e,t=document){if(!e||Ng(e))return e;const n="string"==typeof e?bv(e,t):e;return 1!==n.length?_v(n,t):Ng(n[0])?n[0]:void 0}(e);if(i){let e=-1;for(;++e<r;)!Ng(t[e])||o&&!1===o(t[e])||n(e===r-1?i:yv(i,!0,!0),t[e])}}function xv(e,t,n,o){const r=[];if(null==e||Rg(e))return r;const i=function(e){return"string"==typeof e?Ug(e):Ng(e)?[e]:Dg(e)}(e),a=i.length;if(!a)return r;const s=_v(t);if(s){let e,t=-1;for(;++t<a;)!Ng(i[t])||o&&!1===o(i[t])||(e=t===a-1?s:yv(s,!0,!0),Lg(r,e.childNodes),n(e,i[t]))}return qg(r)}function Cv(e){return null!=e.parentNode}function Sv(e){return 1===e.nodeType||11===e.nodeType}function kv(e,t){t.appendChild(e)}function Qv(e,t){const n=t.firstChild;n?t.insertBefore(e,n):t.appendChild(e)}function Ev(e,t){t.parentNode&&t.parentNode.insertBefore(e,t)}function Tv(e,t){if(!t.parentNode)return;const n=t.nextSibling;n?t.parentNode.insertBefore(e,n):t.parentNode.appendChild(e)}function Pv(e,t){fv(t),t.parentNode&&t.parentNode.replaceChild(e,t)}const Av=Object.create(null);Av.for="htmlFor",Av.class="className",["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable","isMap"].forEach(function(e){Av[e.toLowerCase()]=e});const Ov=Object.create(null);function Dv(e){return Av[e]||e}function Lv(e,t){return e[Dv(t)]}function Mv(e,t,n){e[Dv(t)]=n}function Iv(e,t){return $g(e,function(e){t=t.toLowerCase();let n=e.getAttribute(t);return null!=n&&Ov[t]&&(n=Lv(e,t)?t:""),n})}function jv(e,t,n){$g(e,function(e){if(t=t.toLowerCase(),Ov[t]){if(!(n=!0===n||"true"===n||t===n))return void e.removeAttribute(t.toLowerCase());Mv(e,t,n),n=t}e.setAttribute(t,n.toString())})}["checked","selected","async","autofocus","autoplay","controls","defer","disabled","hidden","ismap","loop","multiple","open","readonly","required","scoped"].forEach(function(e){Ov[e]=!0});const Rv=Object.create(null);Rv.float="cssFloat";const Nv=document.documentElement,Fv=["O","Moz","ms","Webkit"];const zv=/-([a-z])/g;function Bv(e){const t=e.replace(zv,function(e,t){return t.toUpperCase()});return Rv[t]||(Rv[t]=function(e){if(e in Nv.style)return e;const t=e.charAt(0).toUpperCase()+e.slice(1);let n;for(let o=Fv.length-1;o>=0;o--)if(n=Fv[o]+t,n in Nv.style)return n;return e}(t)),Rv[t]}const $v={animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0};function Vv(e,t){var n;let o="";const r=null===(n=e.ownerDocument)||void 0===n?void 0:n.defaultView;return r&&(o=r.getComputedStyle(e,null)[t]),null==o?"":String(o)}function Wv(e,t){return $g(e,function(e){if((t=Bv(t))in e.style)return Vv(e,t)})}function Hv(e,t,n){$g(e,function(e){t=Bv(t),n=function(e,t){return jg($v,e)||""===t||isNaN(Number(t))?t.toString():t+"px"}(t,n),t in e.style&&(e.style[t]=n)})}function qv(e){"none"===e.style.display&&(e.style.display=""),"none"===Vv(e,"display")&&(e.style.display="block")}function Uv(e){e.style.display="none"}function Gv(e,t){t=t.trim(),e.className!==t&&(e.className=t)}function Yv(e,t,n,o){return t+(n?1:-1)*(parseFloat(Wv(e,o))||0)}function Zv(e,t,n=!1,o=!1,r=!1){if(null==e)return 0;if(Rg(e))return e.document.documentElement["client"+t];if(Fg(e))return e.documentElement["scroll"+t];if(!e.ownerDocument||1!==e.nodeType)return 0;let i=e["offset"+t];return("Width"===t?["Left","Right"]:["Top","Bottom"]).forEach(function(t){n||(i=Yv(e,i,!1,"padding"+t)),o||"none"===Wv(e,"border"+t+"Style")||(i=Yv(e,i,!1,"border"+t+"Width")),r&&(i=Yv(e,i,!0,"margin"+t))}),i}const Xv=Object.create(null);function Kv(e,t){let n=0;const o=t;return Rg(e)?n=e[Xv[o]]:zg(e)&&(n=e[o]),n}function Jv(e,t,n){const o=t;if(Rg(e))switch(o){case"scrollTop":window.scrollTo(Kv(e,"scrollLeft"),n);break;case"scrollLeft":window.scrollTo(n,Kv(e,"scrollTop"))}else zg(e)&&(e[o]=n)}Xv.scrollTop="pageYOffset",Xv.scrollLeft="pageXOffset";const eb=/^(?:mouse|contextmenu)|click/,tb=/^touch/,nb=/^pointer/;class ob{constructor(e,t){if(this.originalEvent=e,this.type=e.type,this.timeStamp=e.timeStamp,this.target=e.target,this.currentTarget=e.currentTarget||t,eb.test(this.type)||nb.test(this.type)){const t=e;this.clientX=t.clientX,this.clientY=t.clientY,this.pageX=t.pageX,this.pageY=t.pageY}else if(tb.test(this.type)){const t=e.touches[0];t&&(this.clientX=t.clientX,this.clientY=t.clientY,this.pageX=t.pageX,this.pageY=t.pageY)}}preventDefault(){this.originalEvent.preventDefault()}stopPropagation(){this.originalEvent.stopPropagation()}isDefaultPrevented(){return this.originalEvent.defaultPrevented}isPropagationStopped(){return this.originalEvent.bubbles}}const rb=function(){const e=["o","moz","ms","webkit"],t=Object.create(null),n=document.documentElement;return["TransitionEnd","AnimationStart","AnimationIteration","AnimationEnd","fullscreenchange","fullscreenerror"].forEach(function(o){const r=o.toLowerCase();"on"+r in n||e.some(function(e){if("on"+e+r in n)return t[r]=e+o,!0})}),function(e){return null!=e&&t[e]?t[e]:e}}(),ib=function(){const e=dv({onClone:function(e){this.keys(e).forEach(function(n){e.addEventListener(n,t,!1)})}});function t(t){const n=new ob(t,this),o=n.type,r=e.getData(n.currentTarget,o);r&&r.forEach(function(e){let t;const o=n.target;if(e.delegator&&Ng(o)){if(t=function(e,t){let n=e.target;for(;n&&n!==e.currentTarget;){if(Zg(n,t))return n;n=n.parentNode}}(n,e.delegator),!t)return}else t=n.currentTarget;!1===e.handler.call(t,n)&&n.preventDefault()})}return{add(n,o,r){let i=e.getData(n,o);i||(i=[],e.setData(n,o,i),n.addEventListener(o,t,!1)),i.push(r)},remove(n,o,r,i){if(o&&(r||i)){const t=e.getData(n,o);if(!t)return;if(function(e,t,n){for(let o=e.length-1;o>=0;o--)n&&e[o].handler!==n||t&&t!==e[o].delegator||e.splice(o,1)}(t,r,i),t.length)return}if(o)return e.removeData(n,o),void n.removeEventListener(o,t,!1);e.keys(n).forEach(function(e){n.removeEventListener(e,t,!1)}),e.clearData(n)}}}();function ab(e,t){if(Mg(e)){const n=e;for(let e=0;e<n.length;e++)ab(n[e],t)}else null!=e&&"function"==typeof e.addEventListener&&t(e)}const sb={focus:e=>/^(?:input|select|textarea|button)$/i.test(e.nodeName),blur:e=>null!=e.ownerDocument&&e.ownerDocument.activeElement===e,reset:e=>"FORM"===e.nodeName,submit:e=>"FORM"===e.nodeName,click:()=>!0};class lb{constructor(e){this.length=0;const t=e?e.length:-1;if(isNaN(t)||t<0)return;let n=-1;for(;++n<t;)this[n]=e[n];this.length=t}toArray(){return Dg(this)}indexOf(e){return Array.prototype.indexOf.call(this,e)}forEach(e){return Array.prototype.forEach.call(this,e)}some(e){return Array.prototype.some.call(this,e)}every(e){return Array.prototype.every.call(this,e)}filter(e){return new lb(Array.prototype.filter.call(this,e))}get(e){return(e|=0)<0?this[this.length+e]:this[e]}eq(e){const t=this.get(e);return new lb(t?[t]:[])}first(){return this.eq(0)}last(){return this.eq(this.length-1)}add(e,t=document){return new lb(qg(Lg(this.toArray(),Mg(e)?e:Ug(e,t))))}each(e){for(let t=0;t<this.length&&!1!==e.call(this[t],t,this[t]);t++);return this}attr(e,t){return Vg(this,e,t,!0,{get:Iv,set:jv})}removeAttr(e){return function(e,t){const n=Bg(t);n.length&&$g(e,function(e){n.forEach(function(t){e.removeAttribute(t.toLowerCase())})})}(this,e),this}prop(e,t){return Vg(this,e,t,!0,{get:Lv,set:Mv})}data(e,t){return Vg(this,e,t,!0,{get:gv,set:vv})}removeData(e){return null!=e?function(e,t){Bg(t).forEach(function(t){for(let n=0;n<e.length;n++)mv.removeData(e[n],t)})}(this,e):function(e){for(let t=0;t<e.length;t++)mv.clearData(e[t])}(this),this}html(e){return this.prop("innerHTML",e)}text(e){return arguments.length?this.prop("textContent",e):this.prop("textContent")}val(e){return this.prop("value",e)}css(e,t){return Vg(this,e,t,!0,{get:Wv,set:Hv})}show(){return function(e){$g(e,qv)}(this),this}hide(){return function(e){$g(e,Uv)}(this),this}addClass(e){return function(e,t){const n=Bg(t),o=n.length;o&&$g(e,function(e){let t=" "+e.className+" ",r=-1;for(;++r<o;)-1===t.indexOf(" "+n[r]+" ")&&(t+=n[r]+" ");Gv(e,t)})}(this,e),this}removeClass(e){return function(e,t){let n,o;const r=null==t;(r||(n=Bg(t),o=n.length,o))&&$g(e,function(e){const t=e.className;if(t)if(r)e.className="";else{let r=" "+t+" ",i=-1;for(;++i<o;)r=r.replace(" "+n[i]+" "," ");Gv(e,r)}})}(this,e),this}hasClass(e){return this.some(function(t){return function(e,t){return $g(e,function(e){return-1!==(" "+e.className+" ").indexOf(" "+t+" ")})||!1}(t,e)})}toggleClass(e){return function(e,t){const n=Bg(t),o=n.length;o&&$g(e,function(e){let t,r=" "+e.className+" ",i=-1;for(;++i<o;)t=" "+n[i]+" ",-1===r.indexOf(t)?r+=n[i]+" ":r=r.replace(t," ");Gv(e,r)})}(this,e),this}width(){return Zv(this[0],"Width")}height(){return Zv(this[0],"Height")}innerWidth(){return Zv(this[0],"Width",!0)}innerHeight(){return Zv(this[0],"Height",!0)}outerWidth(e){return Zv(this[0],"Width",!0,!0,e)}outerHeight(e){return Zv(this[0],"Height",!0,!0,e)}scrollTop(e){return Vg(this,"scrollTop",e,!0,{get:Kv,set:Jv})}scrollLeft(e){return Vg(this,"scrollLeft",e,!0,{get:Kv,set:Jv})}offset(){return $g(this[0],function(e){const t=e.ownerDocument,n=t.documentElement;if(e!==n&&n.contains(e)){const n=t.defaultView,o=e.getBoundingClientRect();return{top:o.top+Kv(n,"scrollTop"),left:o.left+Kv(n,"scrollLeft")}}})||{top:0,left:0}}index(){return function(e){const t=$g(e,function(e){const t=e.parentElement;if(t){let n=t.lastElementChild,o=t.childElementCount-1;for(;n&&n!==e;)o--,n=n.previousElementSibling;return o}});return null==t?-1:t}(this[0])}children(e){return new lb(function(e,t){const n=[];return $g(e,function(e){let t=e.firstElementChild;for(;t;)n.push(t),t=t.nextElementSibling}),qg(n),Kg(n,t)}(this,e))}siblings(e){return new lb(function(e,t){const n=[];return $g(e,function(e){let t=e;for(;t=t.previousElementSibling;)n.push(t);for(t=e;t=t.nextElementSibling;)n.push(t)}),Kg(qg(n),t)}(this,e))}next(e){return new lb(tv(this,"nextElementSibling",e,!0))}nextAll(e){return new lb(tv(this,"nextElementSibling",e))}prev(e){return new lb(tv(this,"previousElementSibling",e,!0))}prevAll(e){return new lb(tv(this,"previousElementSibling",e))}parent(e){return new lb(tv(this,"parentNode",e,!0))}parents(e){return new lb(tv(this,"parentNode",e))}nextUntil(e,t){return new lb(ev(this,"nextElementSibling",e,t))}prevUntil(e,t){return new lb(ev(this,"previousElementSibling",e,t))}parentsUntil(e,t){return new lb(ev(this,"parentNode",e,t))}append(e){return wv(e,this,kv,Sv),this}appendTo(e){return new lb(xv(e,this,kv,Sv))}prepend(e){return wv(e,this,Qv,Sv),this}prependTo(e){return new lb(xv(e,this,Qv,Sv))}before(e){return wv(e,this,Ev,Cv),this}insertBefore(e){return new lb(xv(e,this,Ev,Cv))}after(e){return wv(e,this,Tv,Cv),this}insertAfter(e){return new lb(xv(e,this,Tv,Cv))}replaceWith(e){return wv(e,this,Pv,Cv),this}replaceAll(e){return new lb(xv(e,this,Pv,Cv))}remove(){return function(e){let t;for(let n=0;n<e.length;n++){if(!Ng(e[n]))continue;t=e[n];const o=Xg(t);if(o){for(let e=o.length-1;e>=0;e--)fv(o[e]);t.parentNode&&t.parentNode.removeChild(t)}}}(this),this}empty(){return function(e){let t;for(let n=0;n<e.length;n++){if(!Ng(e[n]))continue;t=e[n];const o=Xg(t);if(o){for(let e=o.length-1;e>=1;e--)fv(o[e]);for(;t.firstChild;)t.removeChild(t.firstChild)}}}(this),this}clone(e,t){const n=[];return this.forEach(function(o){Ng(o)&&n.push(yv(o,e,t))}),new lb(n)}on(e,t,n){return"function"==typeof t&&(n=t,t=void 0),function(e,t,n,o){const r=Bg(t).map(rb);r.length&&o&&ab(e,function(e){r.forEach(function(t){ib.add(e,t,{handler:o,delegator:n})})})}(this,e,t,n),this}off(e,t,n){return"function"==typeof t&&(n=t,t=void 0),function(e,t,n,o){const r=Bg(t).map(rb);ab(e,function(e){r.length?r.forEach(function(t){ib.remove(e,t,n,o)}):ib.remove(e)})}(this,e,t,n),this}trigger(e){return function(e,t){t=rb(t),ab(e,function(e){if(Ng(e)&&"function"==typeof e[t]&&jg(sb,t)&&sb[t](e))return void e[t]();let n=null;if(Ng(e)?n=e.ownerDocument:Rg(e)&&(n=e.document),n){const o=n.createEvent("Event");o.initEvent(t,!0,!0),e.dispatchEvent(o)}})}(this,e),this}focus(){return this.trigger("focus")}blur(){return this.trigger("blur")}click(){return this.trigger("click")}reset(){return this.trigger("reset")}submit(){return this.trigger("submit")}}function cb(e,t=document){let n;return n="string"==typeof e?"<"===(e=e.trim()).charAt(0)&&">"===e.charAt(e.length-1)?bv(e,Fg(t)?t:null):function(e,t){if(Array.isArray(t)){const n=[],o=t.length;let r=-1;for(;++r<o;)Lg(n,Ug(e,t[r]));return qg(n)}return Ug(e,t)}(e,t):null==e?[]:Ng(e)||Rg(e)?[e]:e,new lb(n)}const ub=(t,n)=>{const{setTopmostElem:o}={setTopmostElem:e=>{const t=vg(e);t&&fm.openPopper(t)}};e.watch(()=>e.unref(t),()=>{e.unref(t)&&o(n)})},pb=t=>{const{getElement:n,popperVisible:o}=t,{popperCoreOptions:r}=((t,n)=>{const{onPopperEvent:o,placement:r,popperOffset:i,forceZIndex:a}=t,s={name:"computeStyles",options:{gpuAcceleration:!1,adaptive:!1}},l={name:"eventListeners",fn:({state:e})=>{var t;const n=!!(null==(t=e.modifiersData.hide)?void 0:t.isReferenceHidden);"function"==typeof o&&o({isReferenceHidden:n}),e.styles.popper&&a&&(e.styles.popper.zIndex=String(a))}},c={name:"offset",options:{offset:({placement:t})=>{var o,r,a,s;let l=0,c=0;const u=e.unref(i);u&&(l+=null!=(o=u[0])?o:0,c+=null!=(r=u[1])?r:0);const p=n(),d=null==(s=null==(a=null==p?void 0:p.state)?void 0:a.elements)?void 0:s.arrow;if(d instanceof HTMLElement){const e=d.offsetWidth,n=d.offsetHeight;(t.includes("top")||t.includes("bottom"))&&(c+=n/2),(t.includes("left")||t.includes("right"))&&(c+=e/2)}return[l,c]}}},u={name:"arrow",options:{padding:6}};return{popperCoreOptions:e.computed(()=>({placement:e.unref(r),strategy:"absolute",modifiers:[s,l,c,u]}))}})(t,a),i=e.ref(void 0);function a(){return e.unref(i)}function s(){return d(this,null,function*(){yield e.nextTick();const t=a();t&&t.update()})}function l(){c();const{referenceElem:t,popperElem:o}=n();t&&o&&(i.value=zr(t,o,e.unref(r)))}function c(){const e=a();e&&e.destroy()}return e.watch(()=>e.unref(o),()=>d(null,null,function*(){yield e.nextTick(),e.unref(o)&&(s(),setTimeout(()=>{s()},10))})),e.watch(()=>e.unref(r),()=>{const t=a();t&&t.setOptions(e.unref(r))}),e.watch(n,()=>l()),e.onMounted(()=>{l()}),e.onUnmounted(()=>{c()}),{popperCtx:i,getPopperCtx:a,updatePopper:s,createPopperCore:l,destroyPopperCore:c}},db=t=>{const{trigger:n,popperDisabled:o,getElement:r,mouseEnterDelay:i,mouseLeaveDelay:a,showPopper:s,hidePopper:l,togglePopper:c,delayShowPopper:u,delayHidePopper:p,forceOutSideClickHide:d,outSideClickDelayHide:f}=t;bg(()=>{const{referenceElem:e,popperElem:t}=r(),n=[];return e&&n.push(e),t&&n.push(t),n},()=>{(e.unref(d)||e.unref(n).includes("click"))&&(e.unref(f)?p():l())});const h=()=>{e.unref(o)||u(e.unref(i))},m=()=>{p(e.unref(a))},g=()=>{e.unref(o)||s()},v=()=>{l()};let b;const y=()=>{clearTimeout(b),b=void 0},_=()=>{b=window.setTimeout(()=>{s(),y()},1e3)},w=()=>{y()},x=e=>{e.preventDefault()};bg(()=>{const{referenceElem:e,popperElem:t}=r(),n=[];return e&&n.push(e),t&&n.push(t),n},()=>{e.unref(n).includes("long-press")&&l()});const C=()=>{const t=e.unref(n);t.includes("click")&&(()=>{if(e.unref(o))return;const{referenceElem:t}=r();t&&t.addEventListener("click",c)})(),t.includes("hover")&&(()=>{const{referenceElem:e,popperElem:t}=r();e&&t&&(e.addEventListener("mouseenter",h),e.addEventListener("mouseleave",m),t.addEventListener("mouseenter",h),t.addEventListener("mouseleave",m))})(),t.includes("focus")&&(()=>{const{inputElem:e}=r();e&&(e.addEventListener("focus",g),e.addEventListener("blur",v))})(),t.includes("long-press")&&(()=>{if(e.unref(o))return;const{referenceElem:t}=r();t&&!Gm&&(t.addEventListener("mousedown",_),t.addEventListener("mouseup",w)),t&&Gm&&(t.addEventListener("contextmenu",x),t.addEventListener("touchstart",_),t.addEventListener("touchcancel",w),t.addEventListener("touchend",w))})()};e.onMounted(()=>{C()}),e.watch(()=>{const{referenceElem:e}=r();return e},C)},fb=t=>{const{getElement:n,arrow:o}=t;e.onMounted(()=>{e.unref(o)&&function(){const t=e.unref(o),r="boolean"==typeof t?{}:t,{popperElem:i}=n(),a=document.createElement("div");a.className="plv-product-popper-arrow",a.setAttribute("data-popper-arrow",""),a.style.color=r.color||"",a.style.borderWidth=`${r.size}px`,i&&i.appendChild(a)}()})},hb=(t={})=>{var n,o,r,i,a,s,l,c,d,f,h,m,g,v,b,y;const _=null!=(n=t.referenceRef)?n:e.ref(),w=null!=(o=t.popperRef)?o:e.ref(),x=null!=(r=t.inputRef)?r:e.ref(),C=null!=(i=t.popperDisabled)?i:e.ref(!1),S=null!=(a=t.trigger)?a:e.ref("click"),k=null!=(s=t.mouseEnterDelay)?s:e.ref(100),Q=null!=(l=t.mouseLeaveDelay)?l:e.ref(100),E=null!=(c=t.placement)?c:e.ref("bottom"),T=null!=(d=t.popperOffset)?d:e.ref([0,0]),P=null!=(f=t.arrow)?f:e.ref(!1),A=null!=(h=t.forceOutSideClickHide)?h:e.ref(!1),O=null!=(m=t.outSideClickDelayHide)?m:e.ref(!1),D=null!=(g=t.followReferenceWidth)?g:e.ref(!1),L=null!=(v=t.forceZIndex)?v:null,M=null==(b=t.appendToBody)||b,I=null!=(y=t.mountEl)?y:"";M||I||console.warn("[use-popper] need mountEl");const{popperVisible:j,showPopper:R,hidePopper:N,togglePopper:F,delayShowPopper:z,delayHidePopper:B}=((t={})=>{const n=e.isRef(t.popperVisible)?t.popperVisible:e.ref(!!t.popperVisible);function o(e=!1){l(),c(),n.value=e}function r(){o(!0)}function i(){o(!1)}let a,s;function l(){clearTimeout(a),a=void 0}function c(){clearTimeout(s),s=void 0}return e.onBeforeUnmount(()=>{l(),c()}),{popperVisible:n,showPopper:r,hidePopper:i,togglePopper:function(){o(!e.unref(n))},delayShowPopper:function(e=100){l(),c(),e?a=window.setTimeout(()=>r(),e):r()},delayHidePopper:function(e=100){l(),c(),e?s=window.setTimeout(()=>i(),e):i()}}})(t);function $(){return{referenceElem:vg(_),popperElem:vg(w),inputElem:vg(x)}}e.watchEffect(()=>{const{referenceElem:t,popperElem:n}=$();if(e.unref(D)&&e.unref(j)&&t&&n){const e=t.clientWidth;cb(n).css({width:`${e}px`})}});const V={referenceRef:_,popperRef:w,inputRef:x,popperDisabled:C,trigger:S,mouseEnterDelay:k,mouseLeaveDelay:Q,placement:E,popperOffset:T,arrow:P,forceOutSideClickHide:A,outSideClickDelayHide:O,followReferenceWidth:D,popperVisible:j,appendToBody:M,mountEl:I,forceZIndex:L,showPopper:R,hidePopper:N,togglePopper:F,delayShowPopper:z,delayHidePopper:B,getElement:$,onPopperEvent:function(t){const{isReferenceHidden:n}=t;n&&e.unref(j)&&N()}},W=M?document.body:document.querySelector(I);Fm(w,W),fb(V),db(V),ub(j,w);const{updatePopper:H}=pb(V);return p(u({},V),{updatePopper:H})},mb=(t,n)=>{e.onMounted(()=>{if(t)for(const e in n)n[e]&&t.on(e,n[e])}),e.onBeforeUnmount(()=>{for(const e in n)n[e]&&(null==t||t.off(e,n[e]))})},gb=e=>{const{injectData:t}=ze();return{trackEvent:function(n){t.trackEventCallback?t.trackEventCallback(n):e.trackEvent(n)}}},vb=t=>{const{product:n}=t,{$t:o}=qt();let r,i;if(t.entranceProps){const e=Ut(t.entranceProps.productTarget);r=e.ProductType,i=e.ProductBuyType}else{const e=Zt();r=e.ProductType,i=e.ProductBuyType}const a=e.computed(()=>{let t;return t="function"==typeof n?n():e.unref(n),function(e){if(!r||!i||!e)return{enabled:!1,stock:0};if(e.productType===r.Normal){if(e.buyType===i.Link&&e.forceShowSoldOut)return{enabled:!0,stock:0};if(e.buyType===i.DirectBuy&&(null==e?void 0:e.stockEnabled))return{enabled:!0,stock:e.stock}}return{enabled:!1,stock:0}}(t)}),s=e.computed(()=>a.value.enabled&&a.value.stock<=0);return{stock:a,isSoldOut:s,showMarkAsSoldout:function(e){return!(!r||!i)&&(e.productType===r.Normal&&e.buyType===i.Link)},getStockText:function(e){return r?e.productType!==r.Normal?"-":e.stockEnabled?e.stock:o("launchProduct.noLimit"):"-"}}},bb={OpenProductList:"OpenProductList",UpdateProductUpCount:"UpdateProductUpCount",OpenProductAiCardPopup:"OpenProductAiCardPopup"},yb=()=>p(u({},{productTarget:ae.object().isRequired,productConfig:ae.object().def({})}),{enableAiCard:Ya.bool.def(!1),enableDrag:Ya.bool.def(!0)}),_b=Symbol("PRODUCT_LIST_PROVIDE_KEY"),wb=t=>{const{props:n,emit:o,pageMode:r="scroll"}=t,{getEmitter:i}=ze(),{productTarget:a,ProductStatus:s,ProductEvents:l}=Yt(n),c=e.ref(s.OnSale),u=e.ref(!1),p=e.ref(""),f=e.ref([]),h=e.ref(!1),m=e.ref(!1),g=e.ref(!1),{visible:v,show:b,hide:y}=Gs(!1),_=e.ref({pageNumber:1,pageSize:20,totalItems:0,totalPages:1,contents:[]}),w=e.ref(0),x=e.ref(0),C=e=>d(null,null,function*(){P();const t=yield a.getLaunchProductList({pageNumber:e.pageNumber,pageSize:e.pageSize,keyword:e.keyword,status:c.value});return A(),w.value=t.upCount,x.value=t.downCount,_.value={pageNumber:t.pageNumber,pageSize:t.pageSize,totalItems:t.totalItems,totalPages:t.totalPages,contents:t.contents},i().emit(bb.UpdateProductUpCount,w.value),t}),S=e.ref();let k=()=>d(null,null,function*(){}),Q=()=>d(null,null,function*(){});if("scroll"===r){const e=Og(C,{scrollRef:S,keyword:p,contents:f,resetScrollOnRefresh:!1,isFirstFinish:h,getFilterParams:()=>({status:c.value})});k=e.refresh,Q=e.refreshList}const E=e.computed(()=>n.enableAiCard);function T(){g.value=!1,p.value||g.value||y()}function P(){u.value=!0}function A(){u.value=!1}const O={dataSource:_,canUseAiCard:E,setLoading:P,cancelLoading:A,refresh:k,refreshList:Q},D={refreshProductList:Q};return e.provide(_b,O),mb(a.eventEmitter,{[l.OnSaleProduct]:Q,[l.OffSaleProduct]:Q,[l.DeleteProduct]:Q,[l.AddProduct]:Q,[l.ChangeProduct]:Q,[l.MoveProduct]:Q,[l.ChangeProductRank]:Q,[l.RefreshProductList]:Q}),{instance:D,loading:u,productList:f,canAddEditDeleteProduct:m,searchInputVisible:v,productDataSource:_,currentStatus:c,ProductStatus:s,upCount:w,downCount:x,keyword:p,scrollRef:S,provideData:O,isFirstFinish:h,searchFocus:g,showSearchInput:b,hideSearchInput:y,checkSearchInputVisible:T,handleInputFocus:function(){g.value=!0},clearSearch:function(){g.value=!1,T()},setLoading:P,cancelLoading:A,onClickAdd:function(){o("click-add")},onClickEdit:function(e){o("click-edit",e)},getCanAddEditDeleteProduct:function(){return d(this,null,function*(){if(!a)return!1;const e=yield a.getAssistantProductOperationEnabled();m.value=e})},refresh:k,refreshList:Q,getProductList:C}},xb=()=>e.inject(_b),Cb=Symbol("PRODUCT_SETTING_PROVIDE_KEY"),Sb=(t,n)=>{const{productTarget:o,ProductEvents:r}=Zt(t),{toast:i}=Us(),{$t:a}=qt(),s=e.ref(),l=e.ref(!1),c=e.ref(!1),u=e.computed(()=>!!s.value&&s.value.hideProductPriceEnabled);function p(){return d(this,null,function*(){s.value=yield o.getProductSetting()})}function f(){return d(this,null,function*(){l.value=yield o.getProductEnabled(),c.value=!l.value})}function h(e){return d(this,null,function*(){let t;yield o.updateProductEnabled(e),e?(c.value=!1,t=a("launchProduct.openProductSuccess")):(c.value=!0,t=a("launchProduct.closeProductSuccess")),i.success(t),f()})}function m(e){return d(this,null,function*(){let t;yield o.updateProductSetting({hideProductPriceEnabled:Boolean(e)}),t=a(e?"launchProduct.productPriceTipsDesc":"launchProduct.productPriceTips"),i.success(t),yield p()})}const g={productSetting:s,productEnabled:l,productExplainDisabled:c,hideProductPriceEnabled:u,getProductSetting:p,getProductEnabled:f,updateProductEnabled:h,updateHideProductPriceEnabled:m};return e.provide(Cb,g),mb(o.eventEmitter,{[r.PushProduct]:p,[r.CancelPushProduct]:p,[r.RefreshProductList]:p,[r.ProductListEnabled]:f}),e.onMounted(()=>{f(),p()}),{productSetting:s,productEnabled:l,productExplainDisabled:c,hideProductPriceEnabled:u,getProductSetting:p,getProductEnabled:f,updateProductEnabled:h,updateHideProductPriceEnabled:m}},kb=()=>e.inject(Cb),Qb=t=>{const{toast:n}=Us(),{$t:o}=qt(),{ProductStatus:r,productTarget:i,ProductPushRule:a}=Zt(),{productSetting:s,getProductSetting:l}=kb(),c=e.ref();function u(e){var t,n;return(null==(n=null==(t=s.value)?void 0:t.pushingProduct)?void 0:n.productId)===e.productId}function p(e,r){return d(this,null,function*(){var c,u;r||(null==(c=s.value)?void 0:c.productPushRule)===a.ChooseCard||(r=null==(u=s.value)?void 0:u.productPushRule),yield i.pushProduct(e.productId,r),n.success(o("launchProduct.pushSuccess")),l(),null==t||t()})}return{pushingProduct:e.computed(()=>{var e;return null==(e=s.value)?void 0:e.pushingProduct}),isChooseCardPush:e.computed(()=>{var e;return(null==(e=s.value)?void 0:e.productPushRule)===a.ChooseCard}),pushRuleDialogRef:c,isPushingProduct:u,canPush:function(e){var t;return!(null==(t=s.value)?void 0:t.productExplainingAutoPushAndSticky)&&e.status===r.OnSale},pushProduct:p,canCancelPush:function(e){return e.status===r.OnSale&&u(e)},cancelPushProduct:function(e){return d(this,null,function*(){yield i.cancelPushProduct(e.productId),n.success(o("launchProduct.cancelTips")),l(),null==t||t()})},pushProductWithRule:function(e){var t,n,o,r;let i=null==(t=s.value)?void 0:t.productPushRule;(null==(o=null==(n=s.value)?void 0:n.pushingProduct)?void 0:o.productId)===e.productId&&(i=null==(r=s.value)?void 0:r.pushingProduct.pushRule),i!==a.ChooseCard?p(e,i):c.value.open()}}};const Eb=Me(e.defineComponent({__name:"mobile-product-push",props:{product:ae.object().isRequired},setup(t){const n=t,{ProductPushRule:o}=Zt(),{$t:r}=qt(),{referenceRef:i,popperRef:a,popperVisible:s}=hb({trigger:"click",popperOffset:[0,8]}),{isChooseCardPush:l,pushingProduct:c,isPushingProduct:u,canPush:p,pushProduct:d,canCancelPush:f,cancelPushProduct:h}=Qb(()=>{s.value=!1}),m=e.computed(()=>{let e=r("launchProduct.operate.push");return u(n.product)&&(e=r("launchProduct.operate.pushing")),e}),g=e.computed(()=>u(n.product)||l.value);return{__sfc:!0,props:n,ProductPushRule:o,$t:r,referenceRef:i,popperRef:a,popperVisible:s,isChooseCardPush:l,pushingProduct:c,isPushingProduct:u,canPush:p,pushProduct:d,canCancelPush:f,cancelPushProduct:h,buttonText:m,showArrow:g,onClickButton:function(){l.value||u(n.product)||d(n.product)},ProductIconArrowDownTwo:_e}}}),function(){var e=this,t=e._self._c,n=e._self._setupProxy;return n.canPush(e.product)?t("div",{staticClass:"plv-launch-mobile-product-item__push-wrap"},[t("div",{ref:"referenceRef",staticClass:"plv-launch-mobile-product-item__push",on:{click:n.onClickButton}},[e._v(" "+e._s(n.buttonText)+" "),n.showArrow?t(n.ProductIconArrowDownTwo):e._e()],1),n.showArrow?t("div",{directives:[{name:"show",rawName:"v-show",value:n.popperVisible,expression:"popperVisible"}],ref:"popperRef",staticClass:"plv-launch-mobile-product-item__push-popper"},[n.isPushingProduct(e.product)?e._e():t("div",{on:{click:function(t){return n.pushProduct(e.product,n.ProductPushRule.SmallCard)}}},[e._v(" "+e._s(n.$t("launchProduct.pushSmallCard"))+" ")]),n.isPushingProduct(e.product)?e._e():t("div",{on:{click:function(t){return n.pushProduct(e.product,n.ProductPushRule.BigCard)}}},[e._v(" "+e._s(n.$t("launchProduct.pushLargeCard"))+" ")]),n.isPushingProduct(e.product)?t("div",{on:{click:function(t){var o;return n.pushProduct(e.product,null==(o=n.pushingProduct)?void 0:o.pushRule)}}},[e._v(" "+e._s(n.$t("launchProduct.operate.repeatPush"))+" ")]):e._e(),n.canCancelPush(e.product)?t("div",{on:{click:function(t){return n.cancelPushProduct(e.product)}}},[e._v(" "+e._s(n.$t("launchProduct.operate.cancelPush"))+" ")]):e._e()]):e._e()]):e._e()},[]).exports;function Tb(e){return e}var Pb=Date.now;var Ab=function(){try{var e=ht(Object,"defineProperty");return e({},"",{}),e}catch(v){}}(),Ob=Ab?function(e,t){return Ab(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Tb,Db=function(e){var t=0,n=0;return function(){var o=Pb(),r=16-(o-n);if(n=o,r>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(Ob),Lb=Math.max;var Mb=function(e,t){return Db(function(e,t,n){return t=Lb(void 0===t?e.length-1:t,0),function(){for(var o=arguments,r=-1,i=Lb(o.length-t,0),a=Array(i);++r<i;)a[r]=o[t+r];r=-1;for(var s=Array(t+1);++r<t;)s[r]=o[r];return s[t]=n(a),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,s)}}(e,t,Tb),e+"")}(function(e,t,n){return function(e,t,n){if("function"!=typeof e)throw new TypeError("Expected a function");return setTimeout(function(){e.apply(void 0,n)},t)}(e,Eg(t)||0,n)});let Ib=null;const jb=(t,n)=>{const{productTarget:o,ProductExplainStatus:r,ProductEvents:i,ProductStatus:a}=(null==n?void 0:n.productTargetInject)?n.productTargetInject:Zt(),{$t:s}=qt(),l=(null==n?void 0:n.productListInject)?n.productListInject:xb(),{productSetting:c,productEnabled:u,productExplainDisabled:p}=(null==n?void 0:n.productSettingInject)?n.productSettingInject:kb(),{toast:f}=Us(),{messageBox:h}=Dc(),m=e.ref(null);function g(e){return m.value=e,e}const v=e.computed(()=>u.value?s("launchProduct.operate.startExplainTips"):s("launchProduct.operate.enableProductTips")),b=e.computed(()=>!!c.value&&(u.value&&c.value.productExplainEnabled));function y(){return d(this,null,function*(){var e;if(!u.value)return f.warning(s("launchProduct.operate.enableProductTips")),!1;if(!(null==(e=c.value)?void 0:e.productExplainEnabled))return f.warning(s("launchProduct.explainDisabledTips")),!1;return"live"===(yield o.interactionCore.getChannelInfo()).liveStatus||(f.warning(s("launchProduct.startLiveTips")),!1)})}function _(){f.success(s("launchProduct.startExplainSuccess")),p.value=!0,Mb(()=>{p.value=!1},3e4),w(!0),l&&l.refreshList(),null==t||t()}function w(e=!1){return d(this,null,function*(){return!e&&Ib||(Ib=o.getCurrentProductExplain().then(g).catch(()=>(Ib=null,null))),Ib.then(g)})}const x=Ag(function(e){return d(this,null,function*(){if(yield y())try{yield o.startExplain(e),_()}catch(t){f.error(s("launchProduct.startExplainFailedTips"))}})},300),C=Ag(function(e){return d(this,null,function*(){if(yield y())try{yield o.restartExplain(e),_()}catch(t){f.error(s("launchProduct.startExplainFailedTips"))}})},300),S=Ag(function(e){return d(this,null,function*(){try{if(p.value)return void f.warning(s("launchProduct.operate.startExplainTips"));yield o.endExplain(e),l&&l.refreshList(),f.success(s("launchProduct.endExplainSuccess")),null==t||t()}finally{m.value=null}})},300),k=Ag(function(e){return d(this,null,function*(){null==t||t(),yield h({message:s("launchProduct.deleteExplainTips"),description:s("launchProduct.deleteExplainTipsDesc"),confirmType:Oc.Delete}).$confirm(),yield o.deleteExplain(e),f.success(s("launchProduct.deleteExplainSuccess")),l&&l.refreshList()})},300);return mb(o.eventEmitter,{[i.ChangeProduct]:function(e){if(e.productData.explainStatus)switch(e.productData.explainStatus){case r.Explaining:p.value=!0,Mb(()=>{p.value=!1},3e4),m.value=e.productData.productId;break;case r.NotExplained:case r.Explained:e.productData.productId===m.value&&(m.value=null,p.value=!1)}}}),{productExplainDisabled:p,explainingProductId:m,ProductStatus:a,startExplainDisabledTips:v,explainEnabled:b,startExplain:x,restartExplain:C,endExplain:S,deleteExplain:k,getLabelList:function(e){var t;const n=[];return(null==(t=c.value)?void 0:t.productExplainEnabled)?(e.explainStatus===r.NotExplained||null===e.explainStatus?n.push({text:s("launchProduct.notExplained"),type:"info"}):e.explainStatus===r.Explaining?n.push({text:s("launchProduct.explaining"),type:"live"}):e.explainStatus===r.Explained&&n.push({text:s("launchProduct.explained"),type:"info"}),n):n},getCurrentProductExplain:w,shouldShowStartExplain:function(e){var t;return(null==(t=c.value)?void 0:t.productExplainEnabled)&&e.status===a.OnSale&&(e.explainStatus===r.NotExplained||null===e.explainStatus)},shouldShowEndExplain:function(e){var t;return(null==(t=c.value)?void 0:t.productExplainEnabled)&&e.status===a.OnSale&&e.explainStatus===r.Explaining},shouldShowRestartExplain:function(e){var t;return(null==(t=c.value)?void 0:t.productExplainEnabled)&&e.status===a.OnSale&&e.explainStatus===r.Explained},shouldShowDeleteExplain:function(e){var t;return(null==(t=c.value)?void 0:t.productExplainEnabled)&&e.status===a.OnSale&&e.explainStatus===r.Explained}}};const Rb=Me(e.defineComponent({__name:"mobile-product-explain",props:{product:ae.object().isRequired},setup(t){const{$t:n}=qt(),{shouldShowStartExplain:o,shouldShowEndExplain:r,shouldShowRestartExplain:i,startExplain:a,restartExplain:s,endExplain:l,getCurrentProductExplain:c}=jb();return e.onMounted(()=>{c()}),{__sfc:!0,$t:n,shouldShowStartExplain:o,shouldShowEndExplain:r,shouldShowRestartExplain:i,startExplain:a,restartExplain:s,endExplain:l,getCurrentProductExplain:c}}}),function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("div",{staticClass:"plv-launch-mobile-product-item__explain-wrap"},[n.shouldShowStartExplain(e.product)?t("div",{staticClass:"plv-launch-mobile-product-item__explain",on:{click:function(t){return n.startExplain(e.product.productId)}}},[e._v(" "+e._s(n.$t("launchProduct.operate.startExplain"))+" ")]):e._e(),n.shouldShowEndExplain(e.product)?t("div",{staticClass:"plv-launch-mobile-product-item__explain plv-launch-mobile-product-item__end-explain",on:{click:function(t){return n.endExplain(e.product.productId)}}},[e._v(" "+e._s(n.$t("launchProduct.operate.endExplain"))+" ")]):e._e(),n.shouldShowRestartExplain(e.product)?t("div",{staticClass:"plv-launch-mobile-product-item__explain",on:{click:function(t){return n.restartExplain(e.product.productId)}}},[e._v(" "+e._s(n.$t("launchProduct.operate.reExplain"))+" ")]):e._e()])},[]).exports,Nb=()=>{const{productTarget:e,ProductType:t,ProductPriceType:n}=Zt(),o=xb(),{$t:r}=qt(),{toast:i}=Us();return{shouldShowPriceOpened:function(e){return e.productType===t.Normal&&(e.priceType===n.Custom||0===e.realPrice)},shouldShowPriceOpen:function(e){return e.productType===t.Normal&&(!e.priceVisible&&null!==e.priceVisible)},openPrice:Ag(function(t){return d(this,null,function*(){yield e.openProductPrice(t.productId),o&&(yield o.refreshList()),i.success(r("launchProduct.productPriceTips"))})},300),hidePrice:Ag(function(t){return d(this,null,function*(){yield e.hideProductPrice(t.productId),o&&(yield o.refreshList()),i.success(r("launchProduct.productPriceTipsDesc"))})},300)}},Fb=e.defineComponent({__name:"mobile-product-item",props:{product:ae.object().isRequired,isBatchChoice:ae.bool},emits:{"open-control":()=>!0},setup(t,{emit:n}){const o=t,{$t:r}=qt(),{getProductTypeText:i,ProductType:a}=(()=>{let e;{const t=Zt();e=t.ProductType}const{$t:t}=qt();return{getProductTypeText:function(n){switch(n.productType){case e.Normal:return t("product.type.normal");case e.Position:return t("product.type.position");case e.Finance:return t("product.type.finance");default:return""}},ProductType:e}})(),{showMarkAsSoldout:s,stock:l}=vb({product:()=>o.product}),{explainEnabled:c}=jb(),{shouldShowPriceOpened:u,shouldShowPriceOpen:p,openPrice:d,hidePrice:f}=Nb(),h=e.computed(()=>s(o.product)&&o.product.productType===a.Normal&&o.product.forceShowSoldOut);return{__sfc:!0,props:o,emit:n,$t:r,getProductTypeText:i,ProductType:a,showMarkAsSoldout:s,stock:l,explainEnabled:c,shouldShowPriceOpened:u,shouldShowPriceOpen:p,openPrice:d,hidePrice:f,shouldShowMarkAsSoldOutText:h,ProductIconDot:Ee,ProductInfoSection:lm,MobileProductPush:Eb,MobileProductExplain:Rb}}});const zb=Me(Fb,function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t(n.ProductInfoSection,{staticClass:"plv-launch-mobile-product-item",attrs:{"data-product-id":e.product.productId,product:e.product,"show-description":!1,"show-feature-tags":!1,"show-origin-price":!1,"force-show-price":!0,"show-explain":n.explainEnabled,"show-mark-as-soldout":n.shouldShowMarkAsSoldOutText},scopedSlots:e._u([{key:"section-prefix",fn:function(){return[e._t("section-prefix")]},proxy:!0},e.isBatchChoice?null:{key:"footer-suffix",fn:function(){return[t("div",{staticClass:"plv-launch-mobile-product-item__control"},[n.explainEnabled?t(n.MobileProductExplain,{attrs:{product:e.product}}):t(n.MobileProductPush,{attrs:{product:e.product}}),t("div",{staticClass:"plv-launch-mobile-product-item__more",on:{click:function(t){return n.emit("open-control",e.product)}}},[t(n.ProductIconDot)],1)],1)]},proxy:!0}],null,!0)},[t("div",{staticClass:"plv-launch-mobile-product-item__data"},[e.product.productType===n.ProductType.Normal?[n.shouldShowPriceOpened(e.product)?t("span",[e._v(e._s(n.$t("launchProduct.priceOpened")))]):n.shouldShowPriceOpen(e.product)?t("span",{staticClass:"plv-launch-mobile-product-item__price-open",on:{click:function(t){return n.openPrice(e.product)}}},[e._v(e._s(n.$t("launchProduct.openPrice")))]):t("span",{staticClass:"plv-launch-mobile-product-item__price-open",on:{click:function(t){return n.hidePrice(e.product)}}},[e._v(e._s(n.$t("launchProduct.hidePrice")))])]:e._e(),t("span",[e._v(e._s(n.getProductTypeText(e.product)))]),n.stock.enabled?t("span",[e._v(e._s(n.$t("launchProduct.stock")+":"+n.stock.stock))]):e._e()],2)])},[]).exports,Bb=e=>{const{toast:t}=Us(),{$t:n}=qt(),{ProductStatus:o,productTarget:r}=Zt(),i=xb();return{canOnShelf:function(e){return e.status===o.OffSale},canOffShelf:function(e){return e.status===o.OnSale},onShelfProduct:function(o){return d(this,null,function*(){if(Array.isArray(o)&&0===o.length)return;let a=[];a=Array.isArray(o)?o:[o.productId],yield r.batchOnShelfProduct(a),t.success(n("launchProduct.operate.shelf")),null==e||e(),i&&i.refreshList()})},offShelfProduct:function(o,a){return d(this,null,function*(){if(Array.isArray(o)&&0===o.length)return;if(function(e,t){return Array.isArray(e)?1===e.length&&e[0]===t:e.productId===t}(o,a))return null==e||e(),void t.warning(n("launchProduct.operate.endExplainTips"));let s=[];s=Array.isArray(o)?o:[o.productId],yield r.batchOffShelfProduct(s),t.success(n("launchProduct.operate.unshelf")),null==e||e(),i&&i.refreshList()})}}},$b=e=>{const{toast:t}=Us(),{messageBox:n}=Dc(),{$t:o}=qt(),{productTarget:r}=Zt(),i=xb();return{batchDelete:function(a,s){return d(this,null,function*(){if(0!==a.length){if(1===a.length&&a[0]===s)return null==e||e(),void t.warning(o("launchProduct.explainingTips"));yield n({message:o("launchProduct.confirmDelete"),description:o("launchProduct.confirmDeleteDetail",{count:a.length}),confirmType:Oc.Delete}).$confirm(),yield r.batchDeleteProduct(a),t.success(o("launchProduct.deleteSuccess")),null==e||e(),null==i||i.refreshList()}})}}},Vb=e=>{const t=xb(),{productSetting:n}=kb(),{toast:o}=Us(),{$t:r}=qt(),{productTarget:i,ProductStatus:a}=Zt();const s=Ag(function(n){return d(this,null,function*(){try{yield i.topProduct(n),o.success(r("launchProduct.toppingSuccessTips")),t&&t.refreshList(),null==e||e()}catch(a){console.error("topping product err",a)}})},300),l=Ag(function(n){return d(this,null,function*(){try{yield i.cancelTopProduct(n),o.success(r("launchProduct.cancelTips")),t&&t.refreshList(),null==e||e()}catch(a){console.error("cancel topping product err",a)}})},300);return{shouldShowToppingButton:function(e){var t;return!(null==(t=n.value)?void 0:t.productExplainingAutoPushAndSticky)&&e.status===a.OnSale},getTopProductName:function(e){return e.topping?r("launchProduct.cancelTopping"):r("launchProduct.setTopping")},toggleToppingProduct:function(e){e.topping?l(e.productId):s(e.productId)}}},Wb=e=>{const{messageBox:t}=Dc(),{toast:n}=Us(),{$t:o}=qt(),{productTarget:r}=Zt(),i=xb();return{openEditSortModal:Ag(function(a){return d(this,null,function*(){null==e||e();try{const e=yield t({message:o("launchProduct.sort"),placeholder:o("launchProduct.sortRequiredTips"),type:"number",defaultValue:String(a.rank),requireMessage:o("launchProduct.sortRequiredTips")}).$prompt().catch(()=>{throw new Error("cancel")});!function(e,t){d(this,null,function*(){yield r.updateProductSort({productId:e.productId,rank:t}),i&&(yield i.refreshList()),n.success(o("common.editSuccess"))})}(a,Number(e))}catch(s){console.error("edit sort error",s)}})},300)}},Hb=e=>{const t=xb(),{$t:n}=qt(),{productTarget:o,ProductType:r,ProductBuyType:i}=Zt();return{getSoldOutText:function(e){return e.productType===r.Normal&&e.forceShowSoldOut?n("launchProduct.cancelSoldOut"):n("launchProduct.setSoldOut")},showMarkAsSoldout:function(e){return e.productType===r.Normal&&e.buyType===i.Link},toggleMarkAsSoldout:Ag(function(n){return d(this,null,function*(){n.productType===r.Normal&&(n.forceShowSoldOut?yield o.cancelProductSoldOut(n.productId):yield o.setProductSoldOut(n.productId),null==e||e(),t&&t.refreshList())})},300)}},qb="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAMAAAC7IEhfAAABAlBMVEUAAABqifdygPNcnv1rhvdugvZjkfe2ie/rle9kkfhoi/dyf/TXj++1h+/rk+9ZoPt7gPSOg/PAjPFsg/WGgvOqiu/rk+1njPevifFXpfxfmvmwifHzle23ivHhku9Yoftem/vCjO/YkO7wlO1dnPrRj+/Nju/plO68i/Dfku/SkO/4mO2xie/dke3Nje/tlO3aj+yjhu/5luyTg/P3l+uliu9oifdqhvZnjPdugvVlj/h5f/Rwf/RzfvRshPZvgPWAgPPFje/Uj+5Yofy/i/C4ivDcke7jku1bnftjkfjNju9dm/qOg/OHgvOGgfPKju/qk+1ik/hkj/iwifGxifDXkO7vymd6AAAANnRSTlMAQEAgv79AQCC/v78gIBDfv7+fQEAQ77+/r6+vn4+PQEDv7+/f39/fv5+Pj4CAcHBgUFBAQDDw2KRgAAABTklEQVQ4y93RaVOCQBzHcTAEFAjCK4/svu8TQi2VVMpKu97/W+k37gJWu+Rj/092l/nMd2cHYd5H1aPt0vNr2+LC47NwdwnXSPGcvrGth8GXdkPj3bv/1R2trxgCJg/X4gYXD0Yd2yBBOI1F6GrvkTUP12QFD+mqKGS14NKs4KZKdwUShLvNMeDpuP7jbLWa96ygWhz09alzCo4VVHcH/e6OEn/Q4KQ/7Ko2hnvqPFSVAg3C3Ym/3UWtSFzvo3pOpAYnsZ5cnzj8ERqEcxBkzAncUXRKwyHIHLu3HD8ZDkH2GJ9KHITLCryZDjrOjciF13EQjgYXhITJwYXBShKU4EpkuzZMSIpwrkwu3grMVX4QLjNhlWEQ+H6ZExXhPJnebPom9+4sHIL00T5u5gVd912OjmWBG3S9OIgkN+i63iOC/04JLjODE+HeZGHO5xsKRy5EPEHhjAAAAABJRU5ErkJggg==";const Ub=Me(e.defineComponent({__name:"mobile-product-control",setup(t,{expose:n}){const{$t:o}=qt(),{getEmitter:r}=ze(),{ProductPushRule:i,productTarget:a}=Zt(),{canUseAiCard:s}=xb(),{trackEvent:l}=gb(a.interactionCore),c=e.ref(),u=e.ref(!1);function p(e){c.value=e,u.value=!0}function f(){u.value=!1}const{canOnShelf:h,onShelfProduct:m,canOffShelf:g,offShelfProduct:v}=Bb(f),{batchDelete:b}=$b(f),{explainingProductId:y,explainEnabled:_,shouldShowDeleteExplain:w,deleteExplain:x,getCurrentProductExplain:C}=jb(f),{pushingProduct:S,isPushingProduct:k,isChooseCardPush:Q,canPush:E,pushProduct:T,canCancelPush:P,cancelPushProduct:A}=Qb(f),{shouldShowToppingButton:O,getTopProductName:D,toggleToppingProduct:L}=Vb(f),{openEditSortModal:M}=Wb(f),{getSoldOutText:I,showMarkAsSoldout:j,toggleMarkAsSoldout:R}=Hb(f);return e.onMounted(()=>{C()}),n({open:p}),{__sfc:!0,$t:o,getEmitter:r,ProductPushRule:i,productTarget:a,canUseAiCard:s,trackEvent:l,product:c,visible:u,open:p,close:f,openProductAiCardPopup:function(){return d(this,null,function*(){var e;f(),r().emit(bb.OpenProductAiCardPopup,c.value);const t=yield a.interactionCore.getUserInfo();l({event_id:"click_ai_card_entrance",event_type:"click",spec_attrs:{productId:(null==(e=c.value)?void 0:e.productId)||"",userId:t.userId}})})},canOnShelf:h,onShelfProduct:m,canOffShelf:g,offShelfProduct:v,batchDelete:b,explainingProductId:y,explainEnabled:_,shouldShowDeleteExplain:w,deleteExplain:x,getCurrentProductExplain:C,pushingProduct:S,isPushingProduct:k,isChooseCardPush:Q,canPush:E,pushProduct:T,canCancelPush:P,cancelPushProduct:A,shouldShowToppingButton:O,getTopProductName:D,toggleToppingProduct:L,openEditSortModal:M,getSoldOutText:I,showMarkAsSoldout:j,toggleMarkAsSoldout:R,CommonPopup:tg,aiIcon:qb}}}),function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t(n.CommonPopup,{staticClass:"plv-launch-mobile-product-control",attrs:{"show-header":!1,"content-height-percent":!1},model:{value:n.visible,callback:function(e){n.visible=e},expression:"visible"}},[n.product?[n.shouldShowDeleteExplain(n.product)?t("div",{staticClass:"plv-launch-mobile-product-control__item",on:{click:function(e){return n.deleteExplain(n.product.productId)}}},[e._v(" "+e._s(n.$t("launchProduct.operate.deleteExplain"))+" ")]):e._e(),n.explainEnabled&&n.canPush(n.product)?[n.isChooseCardPush?[n.isPushingProduct(n.product)?e._e():t("div",{staticClass:"plv-launch-mobile-product-control__item",on:{click:function(e){return n.pushProduct(n.product,n.ProductPushRule.BigCard)}}},[e._v(" "+e._s(n.$t("launchProduct.pushLargeCard"))+" ")]),n.isPushingProduct(n.product)?e._e():t("div",{staticClass:"plv-launch-mobile-product-control__item",on:{click:function(e){return n.pushProduct(n.product,n.ProductPushRule.SmallCard)}}},[e._v(" "+e._s(n.$t("launchProduct.pushSmallCard"))+" ")])]:[n.isPushingProduct(n.product)?e._e():t("div",{staticClass:"plv-launch-mobile-product-control__item",on:{click:function(e){return n.pushProduct(n.product)}}},[e._v(" "+e._s(n.$t("launchProduct.operate.push"))+" ")])],n.isPushingProduct(n.product)?t("div",{staticClass:"plv-launch-mobile-product-control__item",on:{click:function(e){var t;return n.pushProduct(n.product,null==(t=n.pushingProduct)?void 0:t.pushRule)}}},[e._v(" "+e._s(n.$t("launchProduct.operate.repeatPush"))+" ")]):e._e(),n.canCancelPush(n.product)?t("div",{staticClass:"plv-launch-mobile-product-control__item",on:{click:function(e){return n.cancelPushProduct(n.product)}}},[e._v(" "+e._s(n.$t("launchProduct.operate.cancelPush"))+" ")]):e._e()]:e._e(),n.canUseAiCard?t("div",{staticClass:"plv-launch-mobile-product-control__item",on:{click:n.openProductAiCardPopup}},[t("img",{staticClass:"plv-launch-mobile-product-control__item-icon",attrs:{src:n.aiIcon}}),t("span",[e._v(e._s(n.$t("launchProduct.operate.aiCard")))])]):e._e(),n.showMarkAsSoldout(n.product)?t("div",{staticClass:"plv-launch-mobile-product-control__item",on:{click:function(e){return n.toggleMarkAsSoldout(n.product)}}},[e._v(" "+e._s(n.getSoldOutText(n.product))+" ")]):e._e(),n.canOnShelf(n.product)?t("div",{staticClass:"plv-launch-mobile-product-control__item",on:{click:function(e){return n.onShelfProduct(n.product)}}},[e._v(" "+e._s(n.$t("launchProduct.operate.canShelf"))+" ")]):e._e(),n.canOffShelf(n.product)?t("div",{staticClass:"plv-launch-mobile-product-control__item",on:{click:function(e){return n.offShelfProduct(n.product,n.explainingProductId)}}},[e._v(" "+e._s(n.$t("launchProduct.operate.canUnshelf"))+" ")]):e._e(),n.canOffShelf(n.product)?[n.shouldShowToppingButton(n.product)?t("div",{staticClass:"plv-launch-mobile-product-control__item",on:{click:function(e){return n.toggleToppingProduct(n.product)}}},[e._v(" "+e._s(n.getTopProductName(n.product))+" ")]):e._e(),t("div",{staticClass:"plv-launch-mobile-product-control__item",on:{click:function(e){return n.openEditSortModal(n.product)}}},[e._v(" "+e._s(n.$t("launchProduct.sort"))+" ")])]:e._e(),t("div",{staticClass:"plv-launch-mobile-product-control__item",on:{click:function(e){return n.batchDelete([n.product.productId],n.explainingProductId)}}},[e._v(" "+e._s(n.$t("common.delete"))+" ")])]:e._e(),t("div",{staticClass:"plv-launch-mobile-product-control__item",on:{click:n.close}},[e._v(" "+e._s(n.$t("common.cancel"))+" ")])],2)},[]).exports;const Gb=Me(e.defineComponent({__name:"mobile-product-batch",props:{isBatchChoice:ae.bool,showOnShelf:ae.bool.def(!1),choiceProductIds:ae.array().def([])},emits:{success:()=>!0},setup(e,{emit:t}){const{$t:n}=qt(),{batchDelete:o}=$b(()=>t("success")),{onShelfProduct:r,offShelfProduct:i}=Bb(()=>t("success"));return{__sfc:!0,emit:t,$t:n,batchDelete:o,onShelfProduct:r,offShelfProduct:i,ProductIconOnShelf:Pe,ProductIconOffShelf:Te,ProductIconDelete:ke}}}),function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("div",{staticClass:"plv-launch-mobile-product-list__batch",class:{"is-show":e.isBatchChoice}},[e.showOnShelf?t("div",{staticClass:"plv-launch-mobile-product-list__batch-item",on:{click:function(t){return n.onShelfProduct(e.choiceProductIds)}}},[t(n.ProductIconOnShelf),t("span",[e._v(e._s(n.$t("launchProduct.operate.canShelf")))])],1):t("div",{staticClass:"plv-launch-mobile-product-list__batch-item",on:{click:function(t){return n.offShelfProduct(e.choiceProductIds)}}},[t(n.ProductIconOffShelf),t("span",[e._v(e._s(n.$t("launchProduct.operate.canUnshelf")))])],1),t("div",{staticClass:"plv-launch-mobile-product-list__batch-item",on:{click:function(t){return n.batchDelete(e.choiceProductIds)}}},[t(n.ProductIconDelete),t("span",[e._v(e._s(n.$t("common.delete")))])],1)])},[]).exports;const Yb=Me(e.defineComponent({__name:"product-setting",setup(t,{expose:n}){const{$t:o}=qt(),{productEnabled:r,hideProductPriceEnabled:i,updateProductEnabled:a,updateHideProductPriceEnabled:s}=kb(),{visible:l,show:c,close:u}=Gs(),{isMobile:p}=cs(),d=e.computed(()=>p?"100%":"420px"),f=e.computed(()=>p?"#F7F8FA":"#FFFFFF");return n({show:c,close:u}),{__sfc:!0,$t:o,productEnabled:r,hideProductPriceEnabled:i,updateProductEnabled:a,updateHideProductPriceEnabled:s,visible:l,show:c,close:u,isMobile:p,popupWidth:d,popupBgColor:f,PwcPopup:Es,PwcSwitch:Af,PlvTooltip:Tm,PlvSwitch:Lm,PlvIcon:xm,ProductIconDisplay:Qe,ProductIconPrice:Ae}}}),function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t(n.PwcPopup,{class:{"plv-launch-product-setting-popup--mobile":n.isMobile},attrs:{title:n.$t("launchProduct.productSetting"),width:n.popupWidth,background:n.popupBgColor},model:{value:n.visible,callback:function(e){n.visible=e},expression:"visible"}},[t("div",{staticClass:"plv-launch-product-setting",class:{"plv-launch-product-setting--mobile":n.isMobile}},[t("div",{staticClass:"plv-launch-product-setting-content"},[t("div",{staticClass:"plv-launch-product-setting-item"},[t("div",{staticClass:"plv-launch-product-setting-item__icon"},[t(n.ProductIconDisplay,{staticClass:"plv-launch-product-setting-item__icon-display"})],1),t("div",{staticClass:"plv-launch-product-setting-item__left"},[t("div",{staticClass:"plv-launch-product-setting-item__text"},[e._v(" "+e._s(n.$t("launchProduct.productList"))+" ")]),t("div",{staticClass:"plv-launch-product-setting-item__desc"},[e._v(" "+e._s(n.$t("launchProduct.productListTip"))+" ")])]),t(n.PlvSwitch,{staticClass:"plv-launch-product-setting-switch",attrs:{value:n.productEnabled},on:{change:n.updateProductEnabled}})],1),t("div",{staticClass:"plv-launch-product-setting-item"},[t("div",{staticClass:"plv-launch-product-setting-item__icon"},[t(n.ProductIconPrice,{staticClass:"plv-launch-product-setting-item__icon-display"})],1),t("div",{staticClass:"plv-launch-product-setting-item__left"},[t("div",{staticClass:"plv-launch-product-setting-item__text"},[e._v(" "+e._s(n.$t("launchProduct.hideAllPrice"))+" "),t(n.PlvTooltip,{attrs:{theme:"dark"}},[t(n.PlvIcon,{staticClass:"plv-launch-product-setting-item__question-circle",attrs:{icon:"question-circle"}}),t("template",{slot:"content"},[t("div",[t("div",[e._v(e._s(n.$t("launchProduct.openPriceTip1")))]),t("div",[e._v(e._s(n.$t("launchProduct.openPriceTip2")))]),t("div",[e._v(e._s(n.$t("launchProduct.openPriceTip3")))])])])],2),t("div",{staticClass:"plv-launch-product-setting-item__desc"},[e._v(" "+e._s(n.$t("launchProduct.hideAllPriceTip"))+" ")])],1)]),t(n.PwcSwitch,{staticClass:"plv-launch-product-setting-switch",attrs:{value:n.hideProductPriceEnabled},on:{change:n.updateHideProductPriceEnabled}})],1)])])])},[]).exports,Zb={};function Xb(e,t){"string"!=typeof t&&(t=Xb.defaultChars);const n=function(e){let t=Zb[e];if(t)return t;t=Zb[e]=[];for(let n=0;n<128;n++){const e=String.fromCharCode(n);t.push(e)}for(let n=0;n<e.length;n++){const o=e.charCodeAt(n);t[o]="%"+("0"+o.toString(16).toUpperCase()).slice(-2)}return t}(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(e){let t="";for(let o=0,r=e.length;o<r;o+=3){const i=parseInt(e.slice(o+1,o+3),16);if(i<128)t+=n[i];else{if(192==(224&i)&&o+3<r){const n=parseInt(e.slice(o+4,o+6),16);if(128==(192&n)){const e=i<<6&1984|63&n;t+=e<128?"��":String.fromCharCode(e),o+=3;continue}}if(224==(240&i)&&o+6<r){const n=parseInt(e.slice(o+4,o+6),16),r=parseInt(e.slice(o+7,o+9),16);if(128==(192&n)&&128==(192&r)){const e=i<<12&61440|n<<6&4032|63&r;t+=e<2048||e>=55296&&e<=57343?"���":String.fromCharCode(e),o+=6;continue}}if(240==(248&i)&&o+9<r){const n=parseInt(e.slice(o+4,o+6),16),r=parseInt(e.slice(o+7,o+9),16),a=parseInt(e.slice(o+10,o+12),16);if(128==(192&n)&&128==(192&r)&&128==(192&a)){let e=i<<18&1835008|n<<12&258048|r<<6&4032|63&a;e<65536||e>1114111?t+="����":(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(1023&e))),o+=9;continue}}t+="�"}}return t})}Xb.defaultChars=";/?:@&=+$,#",Xb.componentChars="";const Kb={};function Jb(e,t,n){"string"!=typeof t&&(n=t,t=Jb.defaultChars),void 0===n&&(n=!0);const o=function(e){let t=Kb[e];if(t)return t;t=Kb[e]=[];for(let n=0;n<128;n++){const e=String.fromCharCode(n);/^[0-9a-z]$/i.test(e)?t.push(e):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}(t);let r="";for(let i=0,a=e.length;i<a;i++){const t=e.charCodeAt(i);if(n&&37===t&&i+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3)))r+=e.slice(i,i+3),i+=2;else if(t<128)r+=o[t];else if(t>=55296&&t<=57343){if(t>=55296&&t<=56319&&i+1<a){const t=e.charCodeAt(i+1);if(t>=56320&&t<=57343){r+=encodeURIComponent(e[i]+e[i+1]),i++;continue}}r+="%EF%BF%BD"}else r+=encodeURIComponent(e[i])}return r}function ey(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function ty(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}Jb.defaultChars=";/?:@&=+$,-_.!~*'()#",Jb.componentChars="-_.!~*'()";const ny=/^([a-z0-9.+-]+:)/i,oy=/:[0-9]*$/,ry=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,iy=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),ay=["'"].concat(iy),sy=["%","/","?",";","#"].concat(ay),ly=["/","?","#"],cy=/^[+a-z0-9A-Z_-]{0,63}$/,uy=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,py={javascript:!0,"javascript:":!0},dy={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function fy(e,t){if(e&&e instanceof ty)return e;const n=new ty;return n.parse(e,t),n}ty.prototype.parse=function(e,t){let n,o,r,i=e;if(i=i.trim(),!t&&1===e.split("#").length){const e=ry.exec(i);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let a=ny.exec(i);if(a&&(a=a[0],n=a.toLowerCase(),this.protocol=a,i=i.substr(a.length)),(t||a||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r="//"===i.substr(0,2),!r||a&&py[a]||(i=i.substr(2),this.slashes=!0)),!py[a]&&(r||a&&!dy[a])){let e,t,n=-1;for(let s=0;s<ly.length;s++)o=i.indexOf(ly[s]),-1!==o&&(-1===n||o<n)&&(n=o);t=-1===n?i.lastIndexOf("@"):i.lastIndexOf("@",n),-1!==t&&(e=i.slice(0,t),i=i.slice(t+1),this.auth=e),n=-1;for(let s=0;s<sy.length;s++)o=i.indexOf(sy[s]),-1!==o&&(-1===n||o<n)&&(n=o);-1===n&&(n=i.length),":"===i[n-1]&&n--;const r=i.slice(0,n);i=i.slice(n),this.parseHost(r),this.hostname=this.hostname||"";const a="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!a){const e=this.hostname.split(/\./);for(let t=0,n=e.length;t<n;t++){const n=e[t];if(n&&!n.match(cy)){let o="";for(let e=0,t=n.length;e<t;e++)n.charCodeAt(e)>127?o+="x":o+=n[e];if(!o.match(cy)){const o=e.slice(0,t),r=e.slice(t+1),a=n.match(uy);a&&(o.push(a[1]),r.unshift(a[2])),r.length&&(i=r.join(".")+i),this.hostname=o.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),a&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const s=i.indexOf("#");-1!==s&&(this.hash=i.substr(s),i=i.slice(0,s));const l=i.indexOf("?");return-1!==l&&(this.search=i.substr(l),i=i.slice(0,l)),i&&(this.pathname=i),dy[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},ty.prototype.parseHost=function(e){let t=oy.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const hy=Object.freeze(Object.defineProperty({__proto__:null,decode:Xb,encode:Jb,format:ey,parse:fy},Symbol.toStringTag,{value:"Module"})),my=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,gy=/[\0-\x1F\x7F-\x9F]/,vy=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,by=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,yy=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,_y=Object.freeze(Object.defineProperty({__proto__:null,Any:my,Cc:gy,Cf:/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,P:vy,S:by,Z:yy},Symbol.toStringTag,{value:"Module"})),wy=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),xy=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Cy;const Sy=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),ky=null!==(Cy=String.fromCodePoint)&&void 0!==Cy?Cy:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};var Qy,Ey;(Ey=Qy||(Qy={}))[Ey.NUM=35]="NUM",Ey[Ey.SEMI=59]="SEMI",Ey[Ey.EQUALS=61]="EQUALS",Ey[Ey.ZERO=48]="ZERO",Ey[Ey.NINE=57]="NINE",Ey[Ey.LOWER_A=97]="LOWER_A",Ey[Ey.LOWER_F=102]="LOWER_F",Ey[Ey.LOWER_X=120]="LOWER_X",Ey[Ey.LOWER_Z=122]="LOWER_Z",Ey[Ey.UPPER_A=65]="UPPER_A",Ey[Ey.UPPER_F=70]="UPPER_F",Ey[Ey.UPPER_Z=90]="UPPER_Z";var Ty,Py,Ay,Oy,Dy,Ly;function My(e){return e>=Qy.ZERO&&e<=Qy.NINE}function Iy(e){return e>=Qy.UPPER_A&&e<=Qy.UPPER_F||e>=Qy.LOWER_A&&e<=Qy.LOWER_F}function jy(e){return e===Qy.EQUALS||function(e){return e>=Qy.UPPER_A&&e<=Qy.UPPER_Z||e>=Qy.LOWER_A&&e<=Qy.LOWER_Z||My(e)}(e)}(Py=Ty||(Ty={}))[Py.VALUE_LENGTH=49152]="VALUE_LENGTH",Py[Py.BRANCH_LENGTH=16256]="BRANCH_LENGTH",Py[Py.JUMP_TABLE=127]="JUMP_TABLE",(Oy=Ay||(Ay={}))[Oy.EntityStart=0]="EntityStart",Oy[Oy.NumericStart=1]="NumericStart",Oy[Oy.NumericDecimal=2]="NumericDecimal",Oy[Oy.NumericHex=3]="NumericHex",Oy[Oy.NamedEntity=4]="NamedEntity",(Ly=Dy||(Dy={}))[Ly.Legacy=0]="Legacy",Ly[Ly.Strict=1]="Strict",Ly[Ly.Attribute=2]="Attribute";class Ry{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=Ay.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Dy.Strict}startEntity(e){this.decodeMode=e,this.state=Ay.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case Ay.EntityStart:return e.charCodeAt(t)===Qy.NUM?(this.state=Ay.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=Ay.NamedEntity,this.stateNamedEntity(e,t));case Ay.NumericStart:return this.stateNumericStart(e,t);case Ay.NumericDecimal:return this.stateNumericDecimal(e,t);case Ay.NumericHex:return this.stateNumericHex(e,t);case Ay.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===Qy.LOWER_X?(this.state=Ay.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=Ay.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,o){if(t!==n){const r=n-t;this.result=this.result*Math.pow(o,r)+parseInt(e.substr(t,r),o),this.consumed+=r}}stateNumericHex(e,t){const n=t;for(;t<e.length;){const o=e.charCodeAt(t);if(!My(o)&&!Iy(o))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(o,3);t+=1}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){const n=t;for(;t<e.length;){const o=e.charCodeAt(t);if(!My(o))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(o,2);t+=1}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===Qy.SEMI)this.consumed+=1;else if(this.decodeMode===Dy.Strict)return 0;return this.emitCodePoint(function(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=Sy.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(e!==Qy.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:n}=this;let o=n[this.treeIndex],r=(o&Ty.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){const i=e.charCodeAt(t);if(this.treeIndex=Fy(n,o,this.treeIndex+Math.max(1,r),i),this.treeIndex<0)return 0===this.result||this.decodeMode===Dy.Attribute&&(0===r||jy(i))?0:this.emitNotTerminatedNamedEntity();if(o=n[this.treeIndex],r=(o&Ty.VALUE_LENGTH)>>14,0!==r){if(i===Qy.SEMI)return this.emitNamedEntityData(this.treeIndex,r,this.consumed+this.excess);this.decodeMode!==Dy.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:n}=this,o=(n[t]&Ty.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,o,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){const{decodeTree:o}=this;return this.emitCodePoint(1===t?o[e]&~Ty.VALUE_LENGTH:o[e+1],n),3===t&&this.emitCodePoint(o[e+2],n),n}end(){var e;switch(this.state){case Ay.NamedEntity:return 0===this.result||this.decodeMode===Dy.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case Ay.NumericDecimal:return this.emitNumericEntity(0,2);case Ay.NumericHex:return this.emitNumericEntity(0,3);case Ay.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Ay.EntityStart:return 0}}}function Ny(e){let t="";const n=new Ry(e,e=>t+=ky(e));return function(e,o){let r=0,i=0;for(;(i=e.indexOf("&",i))>=0;){t+=e.slice(r,i),n.startEntity(o);const a=n.write(e,i+1);if(a<0){r=i+n.end();break}r=i+a,i=0===a?r+1:r}const a=t+e.slice(r);return t="",a}}function Fy(e,t,n,o){const r=(t&Ty.BRANCH_LENGTH)>>7,i=t&Ty.JUMP_TABLE;if(0===r)return 0!==i&&o===i?n:-1;if(i){const t=o-i;return t<0||t>=r?-1:e[n+t]-1}let a=n,s=a+r-1;for(;a<=s;){const t=a+s>>>1,n=e[t];if(n<o)a=t+1;else{if(!(n>o))return e[t+r];s=t-1}}return-1}const zy=Ny(wy);function By(e,t=Dy.Legacy){return zy(e,t)}function $y(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)}Ny(xy);const Vy=Object.prototype.hasOwnProperty;function Wy(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach(function(n){e[n]=t[n]})}}),e}function Hy(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function qy(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(!!(65535&~e&&65534!=(65535&e))&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function Uy(e){if(e>65535){const t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const Gy=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Yy=new RegExp(Gy.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),Zy=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function Xy(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(Yy,function(e,t,n){return t||function(e,t){if(35===t.charCodeAt(0)&&Zy.test(t)){const n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return qy(n)?Uy(n):e}const n=By(e);return n!==e?n:e}(e,n)})}const Ky=/[&<>"]/,Jy=/[&<>"]/g,e_={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function t_(e){return e_[e]}function n_(e){return Ky.test(e)?e.replace(Jy,t_):e}const o_=/[.?*+^$[\]\\(){}|-]/g;function r_(e){switch(e){case 9:case 32:return!0}return!1}function i_(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function a_(e){return vy.test(e)||by.test(e)}function s_(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function l_(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const c_={mdurl:hy,ucmicro:_y},u_=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:Hy,assign:Wy,escapeHtml:n_,escapeRE:function(e){return e.replace(o_,"\\$&")},fromCodePoint:Uy,has:function(e,t){return Vy.call(e,t)},isMdAsciiPunct:s_,isPunctChar:a_,isSpace:r_,isString:$y,isValidEntityCode:qy,isWhiteSpace:i_,lib:c_,normalizeReference:l_,unescapeAll:Xy,unescapeMd:function(e){return e.indexOf("\\")<0?e:e.replace(Gy,"$1")}},Symbol.toStringTag,{value:"Module"}));const p_=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:function(e,t,n){let o,r=t;const i={ok:!1,pos:0,str:""};if(60===e.charCodeAt(r)){for(r++;r<n;){if(o=e.charCodeAt(r),10===o)return i;if(60===o)return i;if(62===o)return i.pos=r+1,i.str=Xy(e.slice(t+1,r)),i.ok=!0,i;92===o&&r+1<n?r+=2:r++}return i}let a=0;for(;r<n&&(o=e.charCodeAt(r),32!==o)&&!(o<32||127===o);)if(92===o&&r+1<n){if(32===e.charCodeAt(r+1))break;r+=2}else{if(40===o&&(a++,a>32))return i;if(41===o){if(0===a)break;a--}r++}return t===r||0!==a||(i.str=Xy(e.slice(t,r)),i.pos=r,i.ok=!0),i},parseLinkLabel:function(e,t,n){let o,r,i,a;const s=e.posMax,l=e.pos;for(e.pos=t+1,o=1;e.pos<s;){if(i=e.src.charCodeAt(e.pos),93===i&&(o--,0===o)){r=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===i)if(a===e.pos-1)o++;else if(n)return e.pos=l,-1}let c=-1;return r&&(c=e.pos),e.pos=l,c},parseLinkTitle:function(e,t,n,o){let r,i=t;const a={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(o)a.str=o.str,a.marker=o.marker;else{if(i>=n)return a;let o=e.charCodeAt(i);if(34!==o&&39!==o&&40!==o)return a;t++,i++,40===o&&(o=41),a.marker=o}for(;i<n;){if(r=e.charCodeAt(i),r===a.marker)return a.pos=i+1,a.str+=Xy(e.slice(t,i)),a.ok=!0,a;if(40===r&&41===a.marker)return a;92===r&&i+1<n&&i++,i++}return a.can_continue=!0,a.str+=Xy(e.slice(t,i)),a}},Symbol.toStringTag,{value:"Module"})),d_={};function f_(){this.rules=Wy({},d_)}function h_(){this.__rules__=[],this.__cache__=null}function m_(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}function g_(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}d_.code_inline=function(e,t,n,o,r){const i=e[t];return"<code"+r.renderAttrs(i)+">"+n_(i.content)+"</code>"},d_.code_block=function(e,t,n,o,r){const i=e[t];return"<pre"+r.renderAttrs(i)+"><code>"+n_(e[t].content)+"</code></pre>\n"},d_.fence=function(e,t,n,o,r){const i=e[t],a=i.info?Xy(i.info).trim():"";let s,l="",c="";if(a){const e=a.split(/(\s+)/g);l=e[0],c=e.slice(2).join("")}if(s=n.highlight&&n.highlight(i.content,l,c)||n_(i.content),0===s.indexOf("<pre"))return s+"\n";if(a){const e=i.attrIndex("class"),t=i.attrs?i.attrs.slice():[];e<0?t.push(["class",n.langPrefix+l]):(t[e]=t[e].slice(),t[e][1]+=" "+n.langPrefix+l);const o={attrs:t};return`<pre><code${r.renderAttrs(o)}>${s}</code></pre>\n`}return`<pre><code${r.renderAttrs(i)}>${s}</code></pre>\n`},d_.image=function(e,t,n,o,r){const i=e[t];return i.attrs[i.attrIndex("alt")][1]=r.renderInlineAsText(i.children,n,o),r.renderToken(e,t,n)},d_.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},d_.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},d_.text=function(e,t){return n_(e[t].content)},d_.html_block=function(e,t){return e[t].content},d_.html_inline=function(e,t){return e[t].content},f_.prototype.renderAttrs=function(e){let t,n,o;if(!e.attrs)return"";for(o="",t=0,n=e.attrs.length;t<n;t++)o+=" "+n_(e.attrs[t][0])+'="'+n_(e.attrs[t][1])+'"';return o},f_.prototype.renderToken=function(e,t,n){const o=e[t];let r="";if(o.hidden)return"";o.block&&-1!==o.nesting&&t&&e[t-1].hidden&&(r+="\n"),r+=(-1===o.nesting?"</":"<")+o.tag,r+=this.renderAttrs(o),0===o.nesting&&n.xhtmlOut&&(r+=" /");let i=!1;if(o.block&&(i=!0,1===o.nesting&&t+1<e.length)){const n=e[t+1];("inline"===n.type||n.hidden||-1===n.nesting&&n.tag===o.tag)&&(i=!1)}return r+=i?">\n":">",r},f_.prototype.renderInline=function(e,t,n){let o="";const r=this.rules;for(let i=0,a=e.length;i<a;i++){const a=e[i].type;void 0!==r[a]?o+=r[a](e,i,t,n,this):o+=this.renderToken(e,i,t)}return o},f_.prototype.renderInlineAsText=function(e,t,n){let o="";for(let r=0,i=e.length;r<i;r++)switch(e[r].type){case"text":case"html_inline":case"html_block":o+=e[r].content;break;case"image":o+=this.renderInlineAsText(e[r].children,t,n);break;case"softbreak":case"hardbreak":o+="\n"}return o},f_.prototype.render=function(e,t,n){let o="";const r=this.rules;for(let i=0,a=e.length;i<a;i++){const a=e[i].type;"inline"===a?o+=this.renderInline(e[i].children,t,n):void 0!==r[a]?o+=r[a](e,i,t,n,this):o+=this.renderToken(e,i,t,n)}return o},h_.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},h_.prototype.__compile__=function(){const e=this,t=[""];e.__rules__.forEach(function(e){e.enabled&&e.alt.forEach(function(e){t.indexOf(e)<0&&t.push(e)})}),e.__cache__={},t.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))})})},h_.prototype.at=function(e,t,n){const o=this.__find__(e),r=n||{};if(-1===o)throw new Error("Parser rule not found: "+e);this.__rules__[o].fn=t,this.__rules__[o].alt=r.alt||[],this.__cache__=null},h_.prototype.before=function(e,t,n,o){const r=this.__find__(e),i=o||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r,0,{name:t,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null},h_.prototype.after=function(e,t,n,o){const r=this.__find__(e),i=o||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r+1,0,{name:t,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null},h_.prototype.push=function(e,t,n){const o=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:o.alt||[]}),this.__cache__=null},h_.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(function(e){const o=this.__find__(e);if(o<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[o].enabled=!0,n.push(e)},this),this.__cache__=null,n},h_.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},h_.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(function(e){const o=this.__find__(e);if(o<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[o].enabled=!1,n.push(e)},this),this.__cache__=null,n},h_.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},m_.prototype.attrIndex=function(e){if(!this.attrs)return-1;const t=this.attrs;for(let n=0,o=t.length;n<o;n++)if(t[n][0]===e)return n;return-1},m_.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},m_.prototype.attrSet=function(e,t){const n=this.attrIndex(e),o=[e,t];n<0?this.attrPush(o):this.attrs[n]=o},m_.prototype.attrGet=function(e){const t=this.attrIndex(e);let n=null;return t>=0&&(n=this.attrs[t][1]),n},m_.prototype.attrJoin=function(e,t){const n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},g_.prototype.Token=m_;const v_=/\r\n?|\n/g,b_=/\0/g;function y_(e){return/^<a[>\s]/i.test(e)}function __(e){return/^<\/a\s*>/i.test(e)}const w_=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,x_=/\((c|tm|r)\)/i,C_=/\((c|tm|r)\)/gi,S_={c:"©",r:"®",tm:"™"};function k_(e,t){return S_[t.toLowerCase()]}function Q_(e){let t=0;for(let n=e.length-1;n>=0;n--){const o=e[n];"text"!==o.type||t||(o.content=o.content.replace(C_,k_)),"link_open"===o.type&&"auto"===o.info&&t--,"link_close"===o.type&&"auto"===o.info&&t++}}function E_(e){let t=0;for(let n=e.length-1;n>=0;n--){const o=e[n];"text"!==o.type||t||w_.test(o.content)&&(o.content=o.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===o.type&&"auto"===o.info&&t--,"link_close"===o.type&&"auto"===o.info&&t++}}const T_=/['"]/,P_=/['"]/g;function A_(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function O_(e,t){let n;const o=[];for(let r=0;r<e.length;r++){const i=e[r],a=e[r].level;for(n=o.length-1;n>=0&&!(o[n].level<=a);n--);if(o.length=n+1,"text"!==i.type)continue;let s=i.content,l=0,c=s.length;e:for(;l<c;){P_.lastIndex=l;const u=P_.exec(s);if(!u)break;let p=!0,d=!0;l=u.index+1;const f="'"===u[0];let h=32;if(u.index-1>=0)h=s.charCodeAt(u.index-1);else for(n=r-1;n>=0&&("softbreak"!==e[n].type&&"hardbreak"!==e[n].type);n--)if(e[n].content){h=e[n].content.charCodeAt(e[n].content.length-1);break}let m=32;if(l<c)m=s.charCodeAt(l);else for(n=r+1;n<e.length&&("softbreak"!==e[n].type&&"hardbreak"!==e[n].type);n++)if(e[n].content){m=e[n].content.charCodeAt(0);break}const g=s_(h)||a_(String.fromCharCode(h)),v=s_(m)||a_(String.fromCharCode(m)),b=i_(h),y=i_(m);if(y?p=!1:v&&(b||g||(p=!1)),b?d=!1:g&&(y||v||(d=!1)),34===m&&'"'===u[0]&&h>=48&&h<=57&&(d=p=!1),p&&d&&(p=g,d=v),p||d){if(d)for(n=o.length-1;n>=0;n--){let p=o[n];if(o[n].level<a)break;if(p.single===f&&o[n].level===a){let a,d;p=o[n],f?(a=t.md.options.quotes[2],d=t.md.options.quotes[3]):(a=t.md.options.quotes[0],d=t.md.options.quotes[1]),i.content=A_(i.content,u.index,d),e[p.token].content=A_(e[p.token].content,p.pos,a),l+=d.length-1,p.token===r&&(l+=a.length-1),s=i.content,c=s.length,o.length=n;continue e}}p?o.push({token:r,pos:u.index,single:f,level:a}):d&&f&&(i.content=A_(i.content,u.index,"’"))}else f&&(i.content=A_(i.content,u.index,"’"))}}}const D_=[["normalize",function(e){let t;t=e.src.replace(v_,"\n"),t=t.replace(b_,"�"),e.src=t}],["block",function(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function(e){const t=e.tokens;for(let n=0,o=t.length;n<o;n++){const o=t[n];"inline"===o.type&&e.md.inline.parse(o.content,e.md,e.env,o.children)}}],["linkify",function(e){const t=e.tokens;if(e.md.options.linkify)for(let n=0,o=t.length;n<o;n++){if("inline"!==t[n].type||!e.md.linkify.pretest(t[n].content))continue;let o=t[n].children,r=0;for(let i=o.length-1;i>=0;i--){const a=o[i];if("link_close"!==a.type){if("html_inline"===a.type&&(y_(a.content)&&r>0&&r--,__(a.content)&&r++),!(r>0)&&"text"===a.type&&e.md.linkify.test(a.content)){const r=a.content;let s=e.md.linkify.match(r);const l=[];let c=a.level,u=0;s.length>0&&0===s[0].index&&i>0&&"text_special"===o[i-1].type&&(s=s.slice(1));for(let t=0;t<s.length;t++){const n=s[t].url,o=e.md.normalizeLink(n);if(!e.md.validateLink(o))continue;let i=s[t].text;i=s[t].schema?"mailto:"!==s[t].schema||/^mailto:/i.test(i)?e.md.normalizeLinkText(i):e.md.normalizeLinkText("mailto:"+i).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+i).replace(/^http:\/\//,"");const a=s[t].index;if(a>u){const t=new e.Token("text","",0);t.content=r.slice(u,a),t.level=c,l.push(t)}const p=new e.Token("link_open","a",1);p.attrs=[["href",o]],p.level=c++,p.markup="linkify",p.info="auto",l.push(p);const d=new e.Token("text","",0);d.content=i,d.level=c,l.push(d);const f=new e.Token("link_close","a",-1);f.level=--c,f.markup="linkify",f.info="auto",l.push(f),u=s[t].lastIndex}if(u<r.length){const t=new e.Token("text","",0);t.content=r.slice(u),t.level=c,l.push(t)}t[n].children=o=Hy(o,i,l)}}else for(i--;o[i].level!==a.level&&"link_open"!==o[i].type;)i--}}}],["replacements",function(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(x_.test(e.tokens[t].content)&&Q_(e.tokens[t].children),w_.test(e.tokens[t].content)&&E_(e.tokens[t].children))}],["smartquotes",function(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&T_.test(e.tokens[t].content)&&O_(e.tokens[t].children,e)}],["text_join",function(e){let t,n;const o=e.tokens,r=o.length;for(let i=0;i<r;i++){if("inline"!==o[i].type)continue;const e=o[i].children,r=e.length;for(t=0;t<r;t++)"text_special"===e[t].type&&(e[t].type="text");for(t=n=0;t<r;t++)"text"===e[t].type&&t+1<r&&"text"===e[t+1].type?e[t+1].content=e[t].content+e[t+1].content:(t!==n&&(e[n]=e[t]),n++);t!==n&&(e.length=n)}}]];function L_(){this.ruler=new h_;for(let e=0;e<D_.length;e++)this.ruler.push(D_[e][0],D_[e][1])}function M_(e,t,n,o){this.src=e,this.md=t,this.env=n,this.tokens=o,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const r=this.src;for(let i=0,a=0,s=0,l=0,c=r.length,u=!1;a<c;a++){const e=r.charCodeAt(a);if(!u){if(r_(e)){s++,9===e?l+=4-l%4:l++;continue}u=!0}10!==e&&a!==c-1||(10!==e&&a++,this.bMarks.push(i),this.eMarks.push(a),this.tShift.push(s),this.sCount.push(l),this.bsCount.push(0),u=!1,s=0,l=0,i=a+1)}this.bMarks.push(r.length),this.eMarks.push(r.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}L_.prototype.process=function(e){const t=this.ruler.getRules("");for(let n=0,o=t.length;n<o;n++)t[n](e)},L_.prototype.State=g_,M_.prototype.push=function(e,t,n){const o=new m_(e,t,n);return o.block=!0,n<0&&this.level--,o.level=this.level,n>0&&this.level++,this.tokens.push(o),o},M_.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},M_.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},M_.prototype.skipSpaces=function(e){for(let t=this.src.length;e<t;e++){if(!r_(this.src.charCodeAt(e)))break}return e},M_.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!r_(this.src.charCodeAt(--e)))return e+1;return e},M_.prototype.skipChars=function(e,t){for(let n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},M_.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},M_.prototype.getLines=function(e,t,n,o){if(e>=t)return"";const r=new Array(t-e);for(let i=0,a=e;a<t;a++,i++){let e=0;const s=this.bMarks[a];let l,c=s;for(l=a+1<t||o?this.eMarks[a]+1:this.eMarks[a];c<l&&e<n;){const t=this.src.charCodeAt(c);if(r_(t))9===t?e+=4-(e+this.bsCount[a])%4:e++;else{if(!(c-s<this.tShift[a]))break;e++}c++}r[i]=e>n?new Array(e-n+1).join(" ")+this.src.slice(c,l):this.src.slice(c,l)}return r.join("")},M_.prototype.Token=m_;function I_(e,t){const n=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];return e.src.slice(n,o)}function j_(e){const t=[],n=e.length;let o=0,r=e.charCodeAt(o),i=!1,a=0,s="";for(;o<n;)124===r&&(i?(s+=e.substring(a,o-1),a=o):(t.push(s+e.substring(a,o)),s="",a=o+1)),i=92===r,o++,r=e.charCodeAt(o);return t.push(s+e.substring(a)),t}function R_(e,t){const n=e.eMarks[t];let o=e.bMarks[t]+e.tShift[t];const r=e.src.charCodeAt(o++);if(42!==r&&45!==r&&43!==r)return-1;if(o<n){if(!r_(e.src.charCodeAt(o)))return-1}return o}function N_(e,t){const n=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];let r=n;if(r+1>=o)return-1;let i=e.src.charCodeAt(r++);if(i<48||i>57)return-1;for(;;){if(r>=o)return-1;if(i=e.src.charCodeAt(r++),!(i>=48&&i<=57)){if(41===i||46===i)break;return-1}if(r-n>=10)return-1}return r<o&&(i=e.src.charCodeAt(r),!r_(i))?-1:r}const F_="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",z_="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",B_=new RegExp("^(?:"+F_+"|"+z_+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),$_=new RegExp("^(?:"+F_+"|"+z_+")"),V_=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"].join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp($_.source+"\\s*$"),/^$/,!1]];const W_=[["table",function(e,t,n,o){if(t+2>n)return!1;let r=t+1;if(e.sCount[r]<e.blkIndent)return!1;if(e.sCount[r]-e.blkIndent>=4)return!1;let i=e.bMarks[r]+e.tShift[r];if(i>=e.eMarks[r])return!1;const a=e.src.charCodeAt(i++);if(124!==a&&45!==a&&58!==a)return!1;if(i>=e.eMarks[r])return!1;const s=e.src.charCodeAt(i++);if(124!==s&&45!==s&&58!==s&&!r_(s))return!1;if(45===a&&r_(s))return!1;for(;i<e.eMarks[r];){const t=e.src.charCodeAt(i);if(124!==t&&45!==t&&58!==t&&!r_(t))return!1;i++}let l=I_(e,t+1),c=l.split("|");const u=[];for(let v=0;v<c.length;v++){const e=c[v].trim();if(!e){if(0===v||v===c.length-1)continue;return!1}if(!/^:?-+:?$/.test(e))return!1;58===e.charCodeAt(e.length-1)?u.push(58===e.charCodeAt(0)?"center":"right"):58===e.charCodeAt(0)?u.push("left"):u.push("")}if(l=I_(e,t).trim(),-1===l.indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;c=j_(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop();const p=c.length;if(0===p||p!==u.length)return!1;if(o)return!0;const d=e.parentType;e.parentType="table";const f=e.md.block.ruler.getRules("blockquote"),h=[t,0];e.push("table_open","table",1).map=h,e.push("thead_open","thead",1).map=[t,t+1],e.push("tr_open","tr",1).map=[t,t+1];for(let v=0;v<c.length;v++){const t=e.push("th_open","th",1);u[v]&&(t.attrs=[["style","text-align:"+u[v]]]);const n=e.push("inline","",0);n.content=c[v].trim(),n.children=[],e.push("th_close","th",-1)}let m;e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let g=0;for(r=t+2;r<n&&!(e.sCount[r]<e.blkIndent);r++){let o=!1;for(let t=0,i=f.length;t<i;t++)if(f[t](e,r,n,!0)){o=!0;break}if(o)break;if(l=I_(e,r).trim(),!l)break;if(e.sCount[r]-e.blkIndent>=4)break;if(c=j_(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop(),g+=p-c.length,g>65536)break;if(r===t+2){e.push("tbody_open","tbody",1).map=m=[t+2,0]}e.push("tr_open","tr",1).map=[r,r+1];for(let t=0;t<p;t++){const n=e.push("td_open","td",1);u[t]&&(n.attrs=[["style","text-align:"+u[t]]]);const o=e.push("inline","",0);o.content=c[t]?c[t].trim():"",o.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return m&&(e.push("tbody_close","tbody",-1),m[1]=r),e.push("table_close","table",-1),h[1]=r,e.parentType=d,e.line=r,!0},["paragraph","reference"]],["code",function(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let o=t+1,r=o;for(;o<n;)if(e.isEmpty(o))o++;else{if(!(e.sCount[o]-e.blkIndent>=4))break;o++,r=o}e.line=r;const i=e.push("code_block","code",0);return i.content=e.getLines(t,r,4+e.blkIndent,!1)+"\n",i.map=[t,e.line],!0}],["fence",function(e,t,n,o){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(r+3>i)return!1;const a=e.src.charCodeAt(r);if(126!==a&&96!==a)return!1;let s=r;r=e.skipChars(r,a);let l=r-s;if(l<3)return!1;const c=e.src.slice(s,r),u=e.src.slice(r,i);if(96===a&&u.indexOf(String.fromCharCode(a))>=0)return!1;if(o)return!0;let p=t,d=!1;for(;(p++,!(p>=n))&&(r=s=e.bMarks[p]+e.tShift[p],i=e.eMarks[p],!(r<i&&e.sCount[p]<e.blkIndent));)if(e.src.charCodeAt(r)===a&&!(e.sCount[p]-e.blkIndent>=4||(r=e.skipChars(r,a),r-s<l||(r=e.skipSpaces(r),r<i)))){d=!0;break}l=e.sCount[t],e.line=p+(d?1:0);const f=e.push("fence","code",0);return f.info=u,f.content=e.getLines(t+1,p,l,!0),f.markup=c,f.map=[t,e.line],!0},["paragraph","reference","blockquote","list"]],["blockquote",function(e,t,n,o){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];const a=e.lineMax;if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(r))return!1;if(o)return!0;const s=[],l=[],c=[],u=[],p=e.md.block.ruler.getRules("blockquote"),d=e.parentType;e.parentType="blockquote";let f,h=!1;for(f=t;f<n;f++){const t=e.sCount[f]<e.blkIndent;if(r=e.bMarks[f]+e.tShift[f],i=e.eMarks[f],r>=i)break;if(62===e.src.charCodeAt(r++)&&!t){let t,n,o=e.sCount[f]+1;32===e.src.charCodeAt(r)?(r++,o++,n=!1,t=!0):9===e.src.charCodeAt(r)?(t=!0,(e.bsCount[f]+o)%4==3?(r++,o++,n=!1):n=!0):t=!1;let a=o;for(s.push(e.bMarks[f]),e.bMarks[f]=r;r<i;){const t=e.src.charCodeAt(r);if(!r_(t))break;9===t?a+=4-(a+e.bsCount[f]+(n?1:0))%4:a++,r++}h=r>=i,l.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(t?1:0),c.push(e.sCount[f]),e.sCount[f]=a-o,u.push(e.tShift[f]),e.tShift[f]=r-e.bMarks[f];continue}if(h)break;let o=!1;for(let r=0,i=p.length;r<i;r++)if(p[r](e,f,n,!0)){o=!0;break}if(o){e.lineMax=f,0!==e.blkIndent&&(s.push(e.bMarks[f]),l.push(e.bsCount[f]),u.push(e.tShift[f]),c.push(e.sCount[f]),e.sCount[f]-=e.blkIndent);break}s.push(e.bMarks[f]),l.push(e.bsCount[f]),u.push(e.tShift[f]),c.push(e.sCount[f]),e.sCount[f]=-1}const m=e.blkIndent;e.blkIndent=0;const g=e.push("blockquote_open","blockquote",1);g.markup=">";const v=[t,0];g.map=v,e.md.block.tokenize(e,t,f),e.push("blockquote_close","blockquote",-1).markup=">",e.lineMax=a,e.parentType=d,v[1]=e.line;for(let b=0;b<u.length;b++)e.bMarks[b+t]=s[b],e.tShift[b+t]=u[b],e.sCount[b+t]=c[b],e.bsCount[b+t]=l[b];return e.blkIndent=m,!0},["paragraph","reference","blockquote","list"]],["hr",function(e,t,n,o){const r=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let i=e.bMarks[t]+e.tShift[t];const a=e.src.charCodeAt(i++);if(42!==a&&45!==a&&95!==a)return!1;let s=1;for(;i<r;){const t=e.src.charCodeAt(i++);if(t!==a&&!r_(t))return!1;t===a&&s++}if(s<3)return!1;if(o)return!0;e.line=t+1;const l=e.push("hr","hr",0);return l.map=[t,e.line],l.markup=Array(s+1).join(String.fromCharCode(a)),!0},["paragraph","reference","blockquote","list"]],["list",function(e,t,n,o){let r,i,a,s,l=t,c=!0;if(e.sCount[l]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]<e.blkIndent)return!1;let u,p,d,f=!1;if(o&&"paragraph"===e.parentType&&e.sCount[l]>=e.blkIndent&&(f=!0),(d=N_(e,l))>=0){if(u=!0,a=e.bMarks[l]+e.tShift[l],p=Number(e.src.slice(a,d-1)),f&&1!==p)return!1}else{if(!((d=R_(e,l))>=0))return!1;u=!1}if(f&&e.skipSpaces(d)>=e.eMarks[l])return!1;if(o)return!0;const h=e.src.charCodeAt(d-1),m=e.tokens.length;u?(s=e.push("ordered_list_open","ol",1),1!==p&&(s.attrs=[["start",p]])):s=e.push("bullet_list_open","ul",1);const g=[l,0];s.map=g,s.markup=String.fromCharCode(h);let v=!1;const b=e.md.block.ruler.getRules("list"),y=e.parentType;for(e.parentType="list";l<n;){i=d,r=e.eMarks[l];const t=e.sCount[l]+d-(e.bMarks[l]+e.tShift[l]);let o=t;for(;i<r;){const t=e.src.charCodeAt(i);if(9===t)o+=4-(o+e.bsCount[l])%4;else{if(32!==t)break;o++}i++}const p=i;let f;f=p>=r?1:o-t,f>4&&(f=1);const m=t+f;s=e.push("list_item_open","li",1),s.markup=String.fromCharCode(h);const g=[l,0];s.map=g,u&&(s.info=e.src.slice(a,d-1));const y=e.tight,_=e.tShift[l],w=e.sCount[l],x=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=m,e.tight=!0,e.tShift[l]=p-e.bMarks[l],e.sCount[l]=o,p>=r&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,l,n,!0),e.tight&&!v||(c=!1),v=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=x,e.tShift[l]=_,e.sCount[l]=w,e.tight=y,s=e.push("list_item_close","li",-1),s.markup=String.fromCharCode(h),l=e.line,g[1]=l,l>=n)break;if(e.sCount[l]<e.blkIndent)break;if(e.sCount[l]-e.blkIndent>=4)break;let C=!1;for(let r=0,i=b.length;r<i;r++)if(b[r](e,l,n,!0)){C=!0;break}if(C)break;if(u){if(d=N_(e,l),d<0)break;a=e.bMarks[l]+e.tShift[l]}else if(d=R_(e,l),d<0)break;if(h!==e.src.charCodeAt(d-1))break}return s=u?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1),s.markup=String.fromCharCode(h),g[1]=l,e.line=l,e.parentType=y,c&&function(e,t){const n=e.level+2;for(let o=t+2,r=e.tokens.length-2;o<r;o++)e.tokens[o].level===n&&"paragraph_open"===e.tokens[o].type&&(e.tokens[o+2].hidden=!0,e.tokens[o].hidden=!0,o+=2)}(e,m),!0},["paragraph","reference","blockquote"]],["reference",function(e,t,n,o){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t],a=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(r))return!1;function s(t){const n=e.lineMax;if(t>=n||e.isEmpty(t))return null;let o=!1;if(e.sCount[t]-e.blkIndent>3&&(o=!0),e.sCount[t]<0&&(o=!0),!o){const o=e.md.block.ruler.getRules("reference"),r=e.parentType;e.parentType="reference";let i=!1;for(let a=0,s=o.length;a<s;a++)if(o[a](e,t,n,!0)){i=!0;break}if(e.parentType=r,i)return null}const r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];return e.src.slice(r,i+1)}let l=e.src.slice(r,i+1);i=l.length;let c=-1;for(r=1;r<i;r++){const e=l.charCodeAt(r);if(91===e)return!1;if(93===e){c=r;break}if(10===e){const e=s(a);null!==e&&(l+=e,i=l.length,a++)}else if(92===e&&(r++,r<i&&10===l.charCodeAt(r))){const e=s(a);null!==e&&(l+=e,i=l.length,a++)}}if(c<0||58!==l.charCodeAt(c+1))return!1;for(r=c+2;r<i;r++){const e=l.charCodeAt(r);if(10===e){const e=s(a);null!==e&&(l+=e,i=l.length,a++)}else if(!r_(e))break}const u=e.md.helpers.parseLinkDestination(l,r,i);if(!u.ok)return!1;const p=e.md.normalizeLink(u.str);if(!e.md.validateLink(p))return!1;r=u.pos;const d=r,f=a,h=r;for(;r<i;r++){const e=l.charCodeAt(r);if(10===e){const e=s(a);null!==e&&(l+=e,i=l.length,a++)}else if(!r_(e))break}let m,g=e.md.helpers.parseLinkTitle(l,r,i);for(;g.can_continue;){const t=s(a);if(null===t)break;l+=t,r=i,i=l.length,a++,g=e.md.helpers.parseLinkTitle(l,r,i,g)}for(r<i&&h!==r&&g.ok?(m=g.str,r=g.pos):(m="",r=d,a=f);r<i;){if(!r_(l.charCodeAt(r)))break;r++}if(r<i&&10!==l.charCodeAt(r)&&m)for(m="",r=d,a=f;r<i;){if(!r_(l.charCodeAt(r)))break;r++}if(r<i&&10!==l.charCodeAt(r))return!1;const v=l_(l.slice(1,c));return!!v&&(o||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[v]&&(e.env.references[v]={title:m,href:p}),e.line=a),!0)}],["html_block",function(e,t,n,o){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(r))return!1;let a=e.src.slice(r,i),s=0;for(;s<V_.length&&!V_[s][0].test(a);s++);if(s===V_.length)return!1;if(o)return V_[s][2];let l=t+1;if(!V_[s][1].test(a))for(;l<n&&!(e.sCount[l]<e.blkIndent);l++)if(r=e.bMarks[l]+e.tShift[l],i=e.eMarks[l],a=e.src.slice(r,i),V_[s][1].test(a)){0!==a.length&&l++;break}e.line=l;const c=e.push("html_block","",0);return c.map=[t,l],c.content=e.getLines(t,l,e.blkIndent,!0),!0},["paragraph","reference","blockquote"]],["heading",function(e,t,n,o){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.src.charCodeAt(r);if(35!==a||r>=i)return!1;let s=1;for(a=e.src.charCodeAt(++r);35===a&&r<i&&s<=6;)s++,a=e.src.charCodeAt(++r);if(s>6||r<i&&!r_(a))return!1;if(o)return!0;i=e.skipSpacesBack(i,r);const l=e.skipCharsBack(i,35,r);l>r&&r_(e.src.charCodeAt(l-1))&&(i=l),e.line=t+1;const c=e.push("heading_open","h"+String(s),1);c.markup="########".slice(0,s),c.map=[t,e.line];const u=e.push("inline","",0);return u.content=e.src.slice(r,i).trim(),u.map=[t,e.line],u.children=[],e.push("heading_close","h"+String(s),-1).markup="########".slice(0,s),!0},["paragraph","reference","blockquote"]],["lheading",function(e,t,n){const o=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const r=e.parentType;e.parentType="paragraph";let i,a=0,s=t+1;for(;s<n&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3)continue;if(e.sCount[s]>=e.blkIndent){let t=e.bMarks[s]+e.tShift[s];const n=e.eMarks[s];if(t<n&&(i=e.src.charCodeAt(t),(45===i||61===i)&&(t=e.skipChars(t,i),t=e.skipSpaces(t),t>=n))){a=61===i?1:2;break}}if(e.sCount[s]<0)continue;let t=!1;for(let r=0,i=o.length;r<i;r++)if(o[r](e,s,n,!0)){t=!0;break}if(t)break}if(!a)return!1;const l=e.getLines(t,s,e.blkIndent,!1).trim();e.line=s+1;const c=e.push("heading_open","h"+String(a),1);c.markup=String.fromCharCode(i),c.map=[t,e.line];const u=e.push("inline","",0);return u.content=l,u.map=[t,e.line-1],u.children=[],e.push("heading_close","h"+String(a),-1).markup=String.fromCharCode(i),e.parentType=r,!0}],["paragraph",function(e,t,n){const o=e.md.block.ruler.getRules("paragraph"),r=e.parentType;let i=t+1;for(e.parentType="paragraph";i<n&&!e.isEmpty(i);i++){if(e.sCount[i]-e.blkIndent>3)continue;if(e.sCount[i]<0)continue;let t=!1;for(let r=0,a=o.length;r<a;r++)if(o[r](e,i,n,!0)){t=!0;break}if(t)break}const a=e.getLines(t,i,e.blkIndent,!1).trim();e.line=i,e.push("paragraph_open","p",1).map=[t,e.line];const s=e.push("inline","",0);return s.content=a,s.map=[t,e.line],s.children=[],e.push("paragraph_close","p",-1),e.parentType=r,!0}]];function H_(){this.ruler=new h_;for(let e=0;e<W_.length;e++)this.ruler.push(W_[e][0],W_[e][1],{alt:(W_[e][2]||[]).slice()})}function q_(e,t,n,o){this.src=e,this.env=n,this.md=t,this.tokens=o,this.tokens_meta=Array(o.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}function U_(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}H_.prototype.tokenize=function(e,t,n){const o=this.ruler.getRules(""),r=o.length,i=e.md.options.maxNesting;let a=t,s=!1;for(;a<n&&(e.line=a=e.skipEmptyLines(a),!(a>=n))&&!(e.sCount[a]<e.blkIndent);){if(e.level>=i){e.line=n;break}const t=e.line;let l=!1;for(let i=0;i<r;i++)if(l=o[i](e,a,n,!1),l){if(t>=e.line)throw new Error("block rule didn't increment state.line");break}if(!l)throw new Error("none of the block rules matched");e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),a=e.line,a<n&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}},H_.prototype.parse=function(e,t,n,o){if(!e)return;const r=new this.State(e,t,n,o);this.tokenize(r,r.line,r.lineMax)},H_.prototype.State=M_,q_.prototype.pushPending=function(){const e=new m_("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},q_.prototype.push=function(e,t,n){this.pending&&this.pushPending();const o=new m_(e,t,n);let r=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),o.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(o),this.tokens_meta.push(r),o},q_.prototype.scanDelims=function(e,t){const n=this.posMax,o=this.src.charCodeAt(e),r=e>0?this.src.charCodeAt(e-1):32;let i=e;for(;i<n&&this.src.charCodeAt(i)===o;)i++;const a=i-e,s=i<n?this.src.charCodeAt(i):32,l=s_(r)||a_(String.fromCharCode(r)),c=s_(s)||a_(String.fromCharCode(s)),u=i_(r),p=i_(s),d=!p&&(!c||u||l),f=!u&&(!l||p||c);return{can_open:d&&(t||!f||l),can_close:f&&(t||!d||c),length:a}},q_.prototype.Token=m_;const G_=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;const Y_=[];for(let eC=0;eC<256;eC++)Y_.push(0);function Z_(e,t){let n;const o=[],r=t.length;for(let i=0;i<r;i++){const r=t[i];if(126!==r.marker)continue;if(-1===r.end)continue;const a=t[r.end];n=e.tokens[r.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=e.tokens[a.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="","text"===e.tokens[a.token-1].type&&"~"===e.tokens[a.token-1].content&&o.push(a.token-1)}for(;o.length;){const t=o.pop();let r=t+1;for(;r<e.tokens.length&&"s_close"===e.tokens[r].type;)r++;r--,t!==r&&(n=e.tokens[r],e.tokens[r]=e.tokens[t],e.tokens[t]=n)}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){Y_[e.charCodeAt(0)]=1});const X_={tokenize:function(e,t){const n=e.pos,o=e.src.charCodeAt(n);if(t)return!1;if(126!==o)return!1;const r=e.scanDelims(e.pos,!0);let i=r.length;const a=String.fromCharCode(o);if(i<2)return!1;let s;i%2&&(s=e.push("text","",0),s.content=a,i--);for(let l=0;l<i;l+=2)s=e.push("text","",0),s.content=a+a,e.delimiters.push({marker:o,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},postProcess:function(e){const t=e.tokens_meta,n=e.tokens_meta.length;Z_(e,e.delimiters);for(let o=0;o<n;o++)t[o]&&t[o].delimiters&&Z_(e,t[o].delimiters)}};function K_(e,t){for(let n=t.length-1;n>=0;n--){const o=t[n];if(95!==o.marker&&42!==o.marker)continue;if(-1===o.end)continue;const r=t[o.end],i=n>0&&t[n-1].end===o.end+1&&t[n-1].marker===o.marker&&t[n-1].token===o.token-1&&t[o.end+1].token===r.token+1,a=String.fromCharCode(o.marker),s=e.tokens[o.token];s.type=i?"strong_open":"em_open",s.tag=i?"strong":"em",s.nesting=1,s.markup=i?a+a:a,s.content="";const l=e.tokens[r.token];l.type=i?"strong_close":"em_close",l.tag=i?"strong":"em",l.nesting=-1,l.markup=i?a+a:a,l.content="",i&&(e.tokens[t[n-1].token].content="",e.tokens[t[o.end+1].token].content="",n--)}}const J_={tokenize:function(e,t){const n=e.pos,o=e.src.charCodeAt(n);if(t)return!1;if(95!==o&&42!==o)return!1;const r=e.scanDelims(e.pos,42===o);for(let i=0;i<r.length;i++){e.push("text","",0).content=String.fromCharCode(o),e.delimiters.push({marker:o,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close})}return e.pos+=r.length,!0},postProcess:function(e){const t=e.tokens_meta,n=e.tokens_meta.length;K_(e,e.delimiters);for(let o=0;o<n;o++)t[o]&&t[o].delimiters&&K_(e,t[o].delimiters)}};const ew=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,tw=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;const nw=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,ow=/^&([a-z][a-z0-9]{1,31});/i;function rw(e){const t={},n=e.length;if(!n)return;let o=0,r=-2;const i=[];for(let a=0;a<n;a++){const n=e[a];if(i.push(0),e[o].marker===n.marker&&r===n.token-1||(o=a),r=n.token,n.length=n.length||0,!n.close)continue;t.hasOwnProperty(n.marker)||(t[n.marker]=[-1,-1,-1,-1,-1,-1]);const s=t[n.marker][(n.open?3:0)+n.length%3];let l=o-i[o]-1,c=l;for(;l>s;l-=i[l]+1){const t=e[l];if(t.marker===n.marker&&(t.open&&t.end<0)){let o=!1;if((t.close||n.open)&&(t.length+n.length)%3==0&&(t.length%3==0&&n.length%3==0||(o=!0)),!o){const o=l>0&&!e[l-1].open?i[l-1]+1:0;i[a]=a-l+o,i[l]=o,n.open=!1,t.end=a,t.close=!1,c=-1,r=-2;break}}}-1!==c&&(t[n.marker][(n.open?3:0)+(n.length||0)%3]=c)}}const iw=[["text",function(e,t){let n=e.pos;for(;n<e.posMax&&!U_(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}],["linkify",function(e,t){if(!e.md.options.linkify)return!1;if(e.linkLevel>0)return!1;const n=e.pos;if(n+3>e.posMax)return!1;if(58!==e.src.charCodeAt(n))return!1;if(47!==e.src.charCodeAt(n+1))return!1;if(47!==e.src.charCodeAt(n+2))return!1;const o=e.pending.match(G_);if(!o)return!1;const r=o[1],i=e.md.linkify.matchAtStart(e.src.slice(n-r.length));if(!i)return!1;let a=i.url;if(a.length<=r.length)return!1;a=a.replace(/\*+$/,"");const s=e.md.normalizeLink(a);if(!e.md.validateLink(s))return!1;if(!t){e.pending=e.pending.slice(0,-r.length);const t=e.push("link_open","a",1);t.attrs=[["href",s]],t.markup="linkify",t.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(a);const n=e.push("link_close","a",-1);n.markup="linkify",n.info="auto"}return e.pos+=a.length-r.length,!0}],["newline",function(e,t){let n=e.pos;if(10!==e.src.charCodeAt(n))return!1;const o=e.pending.length-1,r=e.posMax;if(!t)if(o>=0&&32===e.pending.charCodeAt(o))if(o>=1&&32===e.pending.charCodeAt(o-1)){let t=o-1;for(;t>=1&&32===e.pending.charCodeAt(t-1);)t--;e.pending=e.pending.slice(0,t),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n<r&&r_(e.src.charCodeAt(n));)n++;return e.pos=n,!0}],["escape",function(e,t){let n=e.pos;const o=e.posMax;if(92!==e.src.charCodeAt(n))return!1;if(n++,n>=o)return!1;let r=e.src.charCodeAt(n);if(10===r){for(t||e.push("hardbreak","br",0),n++;n<o&&(r=e.src.charCodeAt(n),r_(r));)n++;return e.pos=n,!0}let i=e.src[n];if(r>=55296&&r<=56319&&n+1<o){const t=e.src.charCodeAt(n+1);t>=56320&&t<=57343&&(i+=e.src[n+1],n++)}const a="\\"+i;if(!t){const t=e.push("text_special","",0);r<256&&0!==Y_[r]?t.content=i:t.content=a,t.markup=a,t.info="escape"}return e.pos=n+1,!0}],["backticks",function(e,t){let n=e.pos;if(96!==e.src.charCodeAt(n))return!1;const o=n;n++;const r=e.posMax;for(;n<r&&96===e.src.charCodeAt(n);)n++;const i=e.src.slice(o,n),a=i.length;if(e.backticksScanned&&(e.backticks[a]||0)<=o)return t||(e.pending+=i),e.pos+=a,!0;let s,l=n;for(;-1!==(s=e.src.indexOf("`",l));){for(l=s+1;l<r&&96===e.src.charCodeAt(l);)l++;const o=l-s;if(o===a){if(!t){const t=e.push("code_inline","code",0);t.markup=i,t.content=e.src.slice(n,s).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=l,!0}e.backticks[o]=s}return e.backticksScanned=!0,t||(e.pending+=i),e.pos+=a,!0}],["strikethrough",X_.tokenize],["emphasis",J_.tokenize],["link",function(e,t){let n,o,r,i,a="",s="",l=e.pos,c=!0;if(91!==e.src.charCodeAt(e.pos))return!1;const u=e.pos,p=e.posMax,d=e.pos+1,f=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(f<0)return!1;let h=f+1;if(h<p&&40===e.src.charCodeAt(h)){for(c=!1,h++;h<p&&(n=e.src.charCodeAt(h),r_(n)||10===n);h++);if(h>=p)return!1;if(l=h,r=e.md.helpers.parseLinkDestination(e.src,h,e.posMax),r.ok){for(a=e.md.normalizeLink(r.str),e.md.validateLink(a)?h=r.pos:a="",l=h;h<p&&(n=e.src.charCodeAt(h),r_(n)||10===n);h++);if(r=e.md.helpers.parseLinkTitle(e.src,h,e.posMax),h<p&&l!==h&&r.ok)for(s=r.str,h=r.pos;h<p&&(n=e.src.charCodeAt(h),r_(n)||10===n);h++);}(h>=p||41!==e.src.charCodeAt(h))&&(c=!0),h++}if(c){if(void 0===e.env.references)return!1;if(h<p&&91===e.src.charCodeAt(h)?(l=h+1,h=e.md.helpers.parseLinkLabel(e,h),h>=0?o=e.src.slice(l,h++):h=f+1):h=f+1,o||(o=e.src.slice(d,f)),i=e.env.references[l_(o)],!i)return e.pos=u,!1;a=i.href,s=i.title}if(!t){e.pos=d,e.posMax=f;const t=[["href",a]];e.push("link_open","a",1).attrs=t,s&&t.push(["title",s]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=h,e.posMax=p,!0}],["image",function(e,t){let n,o,r,i,a,s,l,c,u="";const p=e.pos,d=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;const f=e.pos+2,h=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(h<0)return!1;if(i=h+1,i<d&&40===e.src.charCodeAt(i)){for(i++;i<d&&(n=e.src.charCodeAt(i),r_(n)||10===n);i++);if(i>=d)return!1;for(c=i,s=e.md.helpers.parseLinkDestination(e.src,i,e.posMax),s.ok&&(u=e.md.normalizeLink(s.str),e.md.validateLink(u)?i=s.pos:u=""),c=i;i<d&&(n=e.src.charCodeAt(i),r_(n)||10===n);i++);if(s=e.md.helpers.parseLinkTitle(e.src,i,e.posMax),i<d&&c!==i&&s.ok)for(l=s.str,i=s.pos;i<d&&(n=e.src.charCodeAt(i),r_(n)||10===n);i++);else l="";if(i>=d||41!==e.src.charCodeAt(i))return e.pos=p,!1;i++}else{if(void 0===e.env.references)return!1;if(i<d&&91===e.src.charCodeAt(i)?(c=i+1,i=e.md.helpers.parseLinkLabel(e,i),i>=0?r=e.src.slice(c,i++):i=h+1):i=h+1,r||(r=e.src.slice(f,h)),a=e.env.references[l_(r)],!a)return e.pos=p,!1;u=a.href,l=a.title}if(!t){o=e.src.slice(f,h);const t=[];e.md.inline.parse(o,e.md,e.env,t);const n=e.push("image","img",0),r=[["src",u],["alt",""]];n.attrs=r,n.children=t,n.content=o,l&&r.push(["title",l])}return e.pos=i,e.posMax=d,!0}],["autolink",function(e,t){let n=e.pos;if(60!==e.src.charCodeAt(n))return!1;const o=e.pos,r=e.posMax;for(;;){if(++n>=r)return!1;const t=e.src.charCodeAt(n);if(60===t)return!1;if(62===t)break}const i=e.src.slice(o+1,n);if(tw.test(i)){const n=e.md.normalizeLink(i);if(!e.md.validateLink(n))return!1;if(!t){const t=e.push("link_open","a",1);t.attrs=[["href",n]],t.markup="autolink",t.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(i);const o=e.push("link_close","a",-1);o.markup="autolink",o.info="auto"}return e.pos+=i.length+2,!0}if(ew.test(i)){const n=e.md.normalizeLink("mailto:"+i);if(!e.md.validateLink(n))return!1;if(!t){const t=e.push("link_open","a",1);t.attrs=[["href",n]],t.markup="autolink",t.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(i);const o=e.push("link_close","a",-1);o.markup="autolink",o.info="auto"}return e.pos+=i.length+2,!0}return!1}],["html_inline",function(e,t){if(!e.md.options.html)return!1;const n=e.posMax,o=e.pos;if(60!==e.src.charCodeAt(o)||o+2>=n)return!1;const r=e.src.charCodeAt(o+1);if(33!==r&&63!==r&&47!==r&&!function(e){const t=32|e;return t>=97&&t<=122}(r))return!1;const i=e.src.slice(o).match(B_);if(!i)return!1;if(!t){const t=e.push("html_inline","",0);t.content=i[0],a=t.content,/^<a[>\s]/i.test(a)&&e.linkLevel++,function(e){return/^<\/a\s*>/i.test(e)}(t.content)&&e.linkLevel--}var a;return e.pos+=i[0].length,!0}],["entity",function(e,t){const n=e.pos,o=e.posMax;if(38!==e.src.charCodeAt(n))return!1;if(n+1>=o)return!1;if(35===e.src.charCodeAt(n+1)){const o=e.src.slice(n).match(nw);if(o){if(!t){const t="x"===o[1][0].toLowerCase()?parseInt(o[1].slice(1),16):parseInt(o[1],10),n=e.push("text_special","",0);n.content=qy(t)?Uy(t):Uy(65533),n.markup=o[0],n.info="entity"}return e.pos+=o[0].length,!0}}else{const o=e.src.slice(n).match(ow);if(o){const n=By(o[0]);if(n!==o[0]){if(!t){const t=e.push("text_special","",0);t.content=n,t.markup=o[0],t.info="entity"}return e.pos+=o[0].length,!0}}}return!1}]],aw=[["balance_pairs",function(e){const t=e.tokens_meta,n=e.tokens_meta.length;rw(e.delimiters);for(let o=0;o<n;o++)t[o]&&t[o].delimiters&&rw(t[o].delimiters)}],["strikethrough",X_.postProcess],["emphasis",J_.postProcess],["fragments_join",function(e){let t,n,o=0;const r=e.tokens,i=e.tokens.length;for(t=n=0;t<i;t++)r[t].nesting<0&&o--,r[t].level=o,r[t].nesting>0&&o++,"text"===r[t].type&&t+1<i&&"text"===r[t+1].type?r[t+1].content=r[t].content+r[t+1].content:(t!==n&&(r[n]=r[t]),n++);t!==n&&(r.length=n)}]];function sw(){this.ruler=new h_;for(let e=0;e<iw.length;e++)this.ruler.push(iw[e][0],iw[e][1]);this.ruler2=new h_;for(let e=0;e<aw.length;e++)this.ruler2.push(aw[e][0],aw[e][1])}function lw(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}function cw(e){return Object.prototype.toString.call(e)}function uw(e){return"[object Function]"===cw(e)}function pw(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}sw.prototype.skipToken=function(e){const t=e.pos,n=this.ruler.getRules(""),o=n.length,r=e.md.options.maxNesting,i=e.cache;if(void 0!==i[t])return void(e.pos=i[t]);let a=!1;if(e.level<r){for(let s=0;s<o;s++)if(e.level++,a=n[s](e,!0),e.level--,a){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;a||e.pos++,i[t]=e.pos},sw.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,o=e.posMax,r=e.md.options.maxNesting;for(;e.pos<o;){const i=e.pos;let a=!1;if(e.level<r)for(let o=0;o<n;o++)if(a=t[o](e,!1),a){if(i>=e.pos)throw new Error("inline rule didn't increment state.pos");break}if(a){if(e.pos>=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},sw.prototype.parse=function(e,t,n,o){const r=new this.State(e,t,n,o);this.tokenize(r);const i=this.ruler2.getRules(""),a=i.length;for(let s=0;s<a;s++)i[s](r)},sw.prototype.State=q_;const dw={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};const fw={"http:":{validate:function(e,t,n){const o=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(o)?o.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){const o=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(o)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:o.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const o=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(o)?o.match(n.re.mailto)[0].length:0}}},hw="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function mw(e){const t=e.re=function(e){const t={};e=e||{},t.src_Any=my.source,t.src_Cc=gy.source,t.src_Z=yy.source,t.src_P=vy.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const n="[><|]";return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+"|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),n=e.__tlds__.slice();function o(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(o(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(o(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(o(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(o(t.tpl_host_fuzzy_test),"i");const r=[];function i(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach(function(t){const n=e.__schemas__[t];if(null===n)return;const o={validate:null,link:null};if(e.__compiled__[t]=o,"[object Object]"===cw(n))return!function(e){return"[object RegExp]"===cw(e)}(n.validate)?uw(n.validate)?o.validate=n.validate:i(t,n):o.validate=function(e){return function(t,n){const o=t.slice(n);return e.test(o)?o.match(e)[0].length:0}}(n.validate),void(uw(n.normalize)?o.normalize=n.normalize:n.normalize?i(t,n):o.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===cw(e)}(n)?i(t,n):r.push(t)}),r.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};const a=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(pw).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function gw(e,t){const n=e.__index__,o=e.__last_index__,r=e.__text_cache__.slice(n,o);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=o+t,this.raw=r,this.text=r,this.url=r}function vw(e,t){const n=new gw(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function bw(e,t){if(!(this instanceof bw))return new bw(e,t);var n;t||(n=e,Object.keys(n||{}).reduce(function(e,t){return e||dw.hasOwnProperty(t)},!1)&&(t=e,e={})),this.__opts__=lw({},dw,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=lw({},fw,e),this.__compiled__={},this.__tlds__=hw,this.__tlds_replaced__=!1,this.re={},mw(this)}bw.prototype.add=function(e,t){return this.__schemas__[e]=t,mw(this),this},bw.prototype.set=function(e){return this.__opts__=lw(this.__opts__,e),this},bw.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let t,n,o,r,i,a,s,l,c;if(this.re.schema_test.test(e))for(s=this.re.schema_search,s.lastIndex=0;null!==(t=s.exec(e));)if(r=this.testSchemaAt(e,t[2],s.lastIndex),r){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(i=n.index+n[1].length,(this.__index__<0||i<this.__index__)&&(this.__schema__="",this.__index__=i,this.__last_index__=n.index+n[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(c=e.indexOf("@"),c>=0&&null!==(o=e.match(this.re.email_fuzzy))&&(i=o.index+o[1].length,a=o.index+o[0].length,(this.__index__<0||i<this.__index__||i===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a))),this.__index__>=0},bw.prototype.pretest=function(e){return this.re.pretest.test(e)},bw.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},bw.prototype.match=function(e){const t=[];let n=0;this.__index__>=0&&this.__text_cache__===e&&(t.push(vw(this,n)),n=this.__last_index__);let o=n?e.slice(n):e;for(;this.test(o);)t.push(vw(this,n)),o=o.slice(this.__last_index__),n+=this.__last_index__;return t.length?t:null},bw.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;const t=this.re.schema_at_start.exec(e);if(!t)return null;const n=this.testSchemaAt(e,t[2],t[0].length);return n?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n,vw(this,0)):null},bw.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,n){return e!==n[t-1]}).reverse(),mw(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,mw(this),this)},bw.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},bw.prototype.onCompile=function(){};const yw=2147483647,_w=36,ww=/^xn--/,xw=/[^\0-\x7F]/,Cw=/[\x2E\u3002\uFF0E\uFF61]/g,Sw={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},kw=Math.floor,Qw=String.fromCharCode;function Ew(e){throw new RangeError(Sw[e])}function Tw(e,t){const n=e.split("@");let o="";n.length>1&&(o=n[0]+"@",e=n[1]);const r=function(e,t){const n=[];let o=e.length;for(;o--;)n[o]=t(e[o]);return n}((e=e.replace(Cw,".")).split("."),t).join(".");return o+r}function Pw(e){const t=[];let n=0;const o=e.length;for(;n<o;){const r=e.charCodeAt(n++);if(r>=55296&&r<=56319&&n<o){const o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&r)<<10)+(1023&o)+65536):(t.push(r),n--)}else t.push(r)}return t}const Aw=function(e){return e>=48&&e<58?e-48+26:e>=65&&e<91?e-65:e>=97&&e<123?e-97:_w},Ow=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},Dw=function(e,t,n){let o=0;for(e=n?kw(e/700):e>>1,e+=kw(e/t);e>455;o+=_w)e=kw(e/35);return kw(o+36*e/(e+38))},Lw=function(e){const t=[],n=e.length;let o=0,r=128,i=72,a=e.lastIndexOf("-");a<0&&(a=0);for(let s=0;s<a;++s)e.charCodeAt(s)>=128&&Ew("not-basic"),t.push(e.charCodeAt(s));for(let s=a>0?a+1:0;s<n;){const a=o;for(let t=1,r=_w;;r+=_w){s>=n&&Ew("invalid-input");const a=Aw(e.charCodeAt(s++));a>=_w&&Ew("invalid-input"),a>kw((yw-o)/t)&&Ew("overflow"),o+=a*t;const l=r<=i?1:r>=i+26?26:r-i;if(a<l)break;const c=_w-l;t>kw(yw/c)&&Ew("overflow"),t*=c}const l=t.length+1;i=Dw(o-a,l,0==a),kw(o/l)>yw-r&&Ew("overflow"),r+=kw(o/l),o%=l,t.splice(o++,0,r)}return String.fromCodePoint(...t)},Mw=function(e){const t=[],n=(e=Pw(e)).length;let o=128,r=0,i=72;for(const l of e)l<128&&t.push(Qw(l));const a=t.length;let s=a;for(a&&t.push("-");s<n;){let n=yw;for(const t of e)t>=o&&t<n&&(n=t);const l=s+1;n-o>kw((yw-r)/l)&&Ew("overflow"),r+=(n-o)*l,o=n;for(const c of e)if(c<o&&++r>yw&&Ew("overflow"),c===o){let e=r;for(let n=_w;;n+=_w){const o=n<=i?1:n>=i+26?26:n-i;if(e<o)break;const r=e-o,a=_w-o;t.push(Qw(Ow(o+r%a,0))),e=kw(r/a)}t.push(Qw(Ow(e,0))),i=Dw(r,l,s===a),r=0,++s}++r,++o}return t.join("")},Iw=function(e){return Tw(e,function(e){return xw.test(e)?"xn--"+Mw(e):e})},jw=function(e){return Tw(e,function(e){return ww.test(e)?Lw(e.slice(4).toLowerCase()):e})},Rw={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},Nw=/^(vbscript|javascript|file|data):/,Fw=/^data:image\/(gif|png|jpeg|webp);/;function zw(e){const t=e.trim().toLowerCase();return!Nw.test(t)||Fw.test(t)}const Bw=["http:","https:","mailto:"];function $w(e){const t=fy(e,!0);if(t.hostname&&(!t.protocol||Bw.indexOf(t.protocol)>=0))try{t.hostname=Iw(t.hostname)}catch(n){}return Jb(ey(t))}function Vw(e){const t=fy(e,!0);if(t.hostname&&(!t.protocol||Bw.indexOf(t.protocol)>=0))try{t.hostname=jw(t.hostname)}catch(n){}return Xb(ey(t),Xb.defaultChars+"%")}function Ww(e,t){if(!(this instanceof Ww))return new Ww(e,t);t||$y(e)||(t=e||{},e="default"),this.inline=new sw,this.block=new H_,this.core=new L_,this.renderer=new f_,this.linkify=new bw,this.validateLink=zw,this.normalizeLink=$w,this.normalizeLinkText=Vw,this.utils=u_,this.helpers=Wy({},p_),this.options={},this.configure(e),t&&this.set(t)}Ww.prototype.set=function(e){return Wy(this.options,e),this},Ww.prototype.configure=function(e){const t=this;if($y(e)){const t=e;if(!(e=Rw[t]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)}),this},Ww.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));const o=e.filter(function(e){return n.indexOf(e)<0});if(o.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+o);return this},Ww.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));const o=e.filter(function(e){return n.indexOf(e)<0});if(o.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+o);return this},Ww.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},Ww.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},Ww.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},Ww.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},Ww.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};
75
75
  /*! @license DOMPurify 3.3.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.0/LICENSE */
76
- const{entries:Hw,setPrototypeOf:qw,isFrozen:Uw,getPrototypeOf:Gw,getOwnPropertyDescriptor:Yw}=Object;let{freeze:Zw,seal:Xw,create:Kw}=Object,{apply:Jw,construct:ex}="undefined"!=typeof Reflect&&Reflect;Zw||(Zw=function(e){return e}),Xw||(Xw=function(e){return e}),Jw||(Jw=function(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];return e.apply(t,o)}),ex||(ex=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return new e(...n)});const tx=gx(Array.prototype.forEach),nx=gx(Array.prototype.lastIndexOf),ox=gx(Array.prototype.pop),rx=gx(Array.prototype.push),ix=gx(Array.prototype.splice),ax=gx(String.prototype.toLowerCase),sx=gx(String.prototype.toString),lx=gx(String.prototype.match),cx=gx(String.prototype.replace),ux=gx(String.prototype.indexOf),px=gx(String.prototype.trim),dx=gx(Object.prototype.hasOwnProperty),fx=gx(RegExp.prototype.test),hx=(mx=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ex(mx,t)});var mx;function gx(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return Jw(e,t,o)}}function vx(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ax;qw&&qw(e,null);let o=t.length;for(;o--;){let r=t[o];if("string"==typeof r){const e=n(r);e!==r&&(Uw(t)||(t[o]=e),r=e)}e[r]=!0}return e}function bx(e){for(let t=0;t<e.length;t++){dx(e,t)||(e[t]=null)}return e}function yx(e){const t=Kw(null);for(const[n,o]of Hw(e)){dx(e,n)&&(Array.isArray(o)?t[n]=bx(o):o&&"object"==typeof o&&o.constructor===Object?t[n]=yx(o):t[n]=o)}return t}function _x(e,t){for(;null!==e;){const n=Yw(e,t);if(n){if(n.get)return gx(n.get);if("function"==typeof n.value)return gx(n.value)}e=Gw(e)}return function(){return null}}const wx=Zw(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),xx=Zw(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Cx=Zw(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Sx=Zw(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),kx=Zw(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Qx=Zw(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Ex=Zw(["#text"]),Tx=Zw(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Px=Zw(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Ax=Zw(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Ox=Zw(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Dx=Xw(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Lx=Xw(/<%[\w\W]*|[\w\W]*%>/gm),Mx=Xw(/\$\{[\w\W]*/gm),Ix=Xw(/^data-[\-\w.\u00B7-\uFFFF]+$/),jx=Xw(/^aria-[\-\w]+$/),Rx=Xw(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Nx=Xw(/^(?:\w+script|data):/i),Fx=Xw(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),zx=Xw(/^html$/i),Bx=Xw(/^[a-z][.\w]*(-[.\w]+)+$/i);var $x=Object.freeze({__proto__:null,ARIA_ATTR:jx,ATTR_WHITESPACE:Fx,CUSTOM_ELEMENT:Bx,DATA_ATTR:Ix,DOCTYPE_NAME:zx,ERB_EXPR:Lx,IS_ALLOWED_URI:Rx,IS_SCRIPT_OR_DATA:Nx,MUSTACHE_EXPR:Dx,TMPLIT_EXPR:Mx});const Vx=1,Wx=3,Hx=7,qx=8,Ux=9;var Gx=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window;const n=t=>e(t);if(n.version="3.3.0",n.removed=[],!t||!t.document||t.document.nodeType!==Ux||!t.Element)return n.isSupported=!1,n;let{document:o}=t;const r=o,i=r.currentScript,{DocumentFragment:a,HTMLTemplateElement:s,Node:l,Element:c,NodeFilter:u,NamedNodeMap:p=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:d,DOMParser:f,trustedTypes:h}=t,m=c.prototype,g=_x(m,"cloneNode"),v=_x(m,"remove"),b=_x(m,"nextSibling"),y=_x(m,"childNodes"),_=_x(m,"parentNode");if("function"==typeof s){const e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let w,x="";const{implementation:C,createNodeIterator:S,createDocumentFragment:k,getElementsByTagName:Q}=o,{importNode:E}=r;let T={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof Hw&&"function"==typeof _&&C&&void 0!==C.createHTMLDocument;const{MUSTACHE_EXPR:P,ERB_EXPR:A,TMPLIT_EXPR:O,DATA_ATTR:D,ARIA_ATTR:L,IS_SCRIPT_OR_DATA:M,ATTR_WHITESPACE:I,CUSTOM_ELEMENT:j}=$x;let{IS_ALLOWED_URI:R}=$x,N=null;const F=vx({},[...wx,...xx,...Cx,...kx,...Ex]);let z=null;const B=vx({},[...Tx,...Px,...Ax,...Ox]);let $=Object.seal(Kw(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),V=null,W=null;const H=Object.seal(Kw(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let q=!0,U=!0,G=!1,Y=!0,Z=!1,X=!0,K=!1,J=!1,ee=!1,te=!1,ne=!1,oe=!1,re=!0,ie=!1,ae=!0,se=!1,le={},ce=null;const ue=vx({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let pe=null;const de=vx({},["audio","video","img","source","image","track"]);let fe=null;const he=vx({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),me="http://www.w3.org/1998/Math/MathML",ge="http://www.w3.org/2000/svg",ve="http://www.w3.org/1999/xhtml";let be=ve,ye=!1,_e=null;const we=vx({},[me,ge,ve],sx);let xe=vx({},["mi","mo","mn","ms","mtext"]),Ce=vx({},["annotation-xml"]);const Se=vx({},["title","style","font","a","script"]);let ke=null;const Qe=["application/xhtml+xml","text/html"];let Ee=null,Te=null;const Pe=o.createElement("form"),Ae=function(e){return e instanceof RegExp||e instanceof Function},Oe=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Te||Te!==e){if(e&&"object"==typeof e||(e={}),e=yx(e),ke=-1===Qe.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Ee="application/xhtml+xml"===ke?sx:ax,N=dx(e,"ALLOWED_TAGS")?vx({},e.ALLOWED_TAGS,Ee):F,z=dx(e,"ALLOWED_ATTR")?vx({},e.ALLOWED_ATTR,Ee):B,_e=dx(e,"ALLOWED_NAMESPACES")?vx({},e.ALLOWED_NAMESPACES,sx):we,fe=dx(e,"ADD_URI_SAFE_ATTR")?vx(yx(he),e.ADD_URI_SAFE_ATTR,Ee):he,pe=dx(e,"ADD_DATA_URI_TAGS")?vx(yx(de),e.ADD_DATA_URI_TAGS,Ee):de,ce=dx(e,"FORBID_CONTENTS")?vx({},e.FORBID_CONTENTS,Ee):ue,V=dx(e,"FORBID_TAGS")?vx({},e.FORBID_TAGS,Ee):yx({}),W=dx(e,"FORBID_ATTR")?vx({},e.FORBID_ATTR,Ee):yx({}),le=!!dx(e,"USE_PROFILES")&&e.USE_PROFILES,q=!1!==e.ALLOW_ARIA_ATTR,U=!1!==e.ALLOW_DATA_ATTR,G=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Y=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Z=e.SAFE_FOR_TEMPLATES||!1,X=!1!==e.SAFE_FOR_XML,K=e.WHOLE_DOCUMENT||!1,te=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,oe=e.RETURN_TRUSTED_TYPE||!1,ee=e.FORCE_BODY||!1,re=!1!==e.SANITIZE_DOM,ie=e.SANITIZE_NAMED_PROPS||!1,ae=!1!==e.KEEP_CONTENT,se=e.IN_PLACE||!1,R=e.ALLOWED_URI_REGEXP||Rx,be=e.NAMESPACE||ve,xe=e.MATHML_TEXT_INTEGRATION_POINTS||xe,Ce=e.HTML_INTEGRATION_POINTS||Ce,$=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Ae(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&($.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Ae(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&($.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&($.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Z&&(U=!1),ne&&(te=!0),le&&(N=vx({},Ex),z=[],!0===le.html&&(vx(N,wx),vx(z,Tx)),!0===le.svg&&(vx(N,xx),vx(z,Px),vx(z,Ox)),!0===le.svgFilters&&(vx(N,Cx),vx(z,Px),vx(z,Ox)),!0===le.mathMl&&(vx(N,kx),vx(z,Ax),vx(z,Ox))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?H.tagCheck=e.ADD_TAGS:(N===F&&(N=yx(N)),vx(N,e.ADD_TAGS,Ee))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?H.attributeCheck=e.ADD_ATTR:(z===B&&(z=yx(z)),vx(z,e.ADD_ATTR,Ee))),e.ADD_URI_SAFE_ATTR&&vx(fe,e.ADD_URI_SAFE_ATTR,Ee),e.FORBID_CONTENTS&&(ce===ue&&(ce=yx(ce)),vx(ce,e.FORBID_CONTENTS,Ee)),ae&&(N["#text"]=!0),K&&vx(N,["html","head","body"]),N.table&&(vx(N,["tbody"]),delete V.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw hx('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw hx('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=e.TRUSTED_TYPES_POLICY,x=w.createHTML("")}else void 0===w&&(w=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(i){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(h,i)),null!==w&&"string"==typeof x&&(x=w.createHTML(""));Zw&&Zw(e),Te=e}},De=vx({},[...xx,...Cx,...Sx]),Le=vx({},[...kx,...Qx]),Me=function(e){rx(n.removed,{element:e});try{_(e).removeChild(e)}catch(t){v(e)}},Ie=function(e,t){try{rx(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(o){rx(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(te||ne)try{Me(t)}catch(o){}else try{t.setAttribute(e,"")}catch(o){}},je=function(e){let t=null,n=null;if(ee)e="<remove></remove>"+e;else{const t=lx(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===ke&&be===ve&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const r=w?w.createHTML(e):e;if(be===ve)try{t=(new f).parseFromString(r,ke)}catch(a){}if(!t||!t.documentElement){t=C.createDocument(be,"template",null);try{t.documentElement.innerHTML=ye?x:r}catch(a){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(o.createTextNode(n),i.childNodes[0]||null),be===ve?Q.call(t,K?"html":"body")[0]:K?t.documentElement:i},Re=function(e){return S.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},Ne=function(e){return e instanceof d&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof p)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Fe=function(e){return"function"==typeof l&&e instanceof l};function ze(e,t,o){tx(e,e=>{e.call(n,t,o,Te)})}const Be=function(e){let t=null;if(ze(T.beforeSanitizeElements,e,null),Ne(e))return Me(e),!0;const o=Ee(e.nodeName);if(ze(T.uponSanitizeElement,e,{tagName:o,allowedTags:N}),X&&e.hasChildNodes()&&!Fe(e.firstElementChild)&&fx(/<[/\w!]/g,e.innerHTML)&&fx(/<[/\w!]/g,e.textContent))return Me(e),!0;if(e.nodeType===Hx)return Me(e),!0;if(X&&e.nodeType===qx&&fx(/<[/\w]/g,e.data))return Me(e),!0;if(!(H.tagCheck instanceof Function&&H.tagCheck(o))&&(!N[o]||V[o])){if(!V[o]&&Ve(o)){if($.tagNameCheck instanceof RegExp&&fx($.tagNameCheck,o))return!1;if($.tagNameCheck instanceof Function&&$.tagNameCheck(o))return!1}if(ae&&!ce[o]){const t=_(e)||e.parentNode,n=y(e)||e.childNodes;if(n&&t){for(let o=n.length-1;o>=0;--o){const r=g(n[o],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,b(e))}}}return Me(e),!0}return e instanceof c&&!function(e){let t=_(e);t&&t.tagName||(t={namespaceURI:be,tagName:"template"});const n=ax(e.tagName),o=ax(t.tagName);return!!_e[e.namespaceURI]&&(e.namespaceURI===ge?t.namespaceURI===ve?"svg"===n:t.namespaceURI===me?"svg"===n&&("annotation-xml"===o||xe[o]):Boolean(De[n]):e.namespaceURI===me?t.namespaceURI===ve?"math"===n:t.namespaceURI===ge?"math"===n&&Ce[o]:Boolean(Le[n]):e.namespaceURI===ve?!(t.namespaceURI===ge&&!Ce[o])&&!(t.namespaceURI===me&&!xe[o])&&!Le[n]&&(Se[n]||!De[n]):!("application/xhtml+xml"!==ke||!_e[e.namespaceURI]))}(e)?(Me(e),!0):"noscript"!==o&&"noembed"!==o&&"noframes"!==o||!fx(/<\/no(script|embed|frames)/i,e.innerHTML)?(Z&&e.nodeType===Wx&&(t=e.textContent,tx([P,A,O],e=>{t=cx(t,e," ")}),e.textContent!==t&&(rx(n.removed,{element:e.cloneNode()}),e.textContent=t)),ze(T.afterSanitizeElements,e,null),!1):(Me(e),!0)},$e=function(e,t,n){if(re&&("id"===t||"name"===t)&&(n in o||n in Pe))return!1;if(U&&!W[t]&&fx(D,t));else if(q&&fx(L,t));else if(H.attributeCheck instanceof Function&&H.attributeCheck(t,e));else if(!z[t]||W[t]){if(!(Ve(e)&&($.tagNameCheck instanceof RegExp&&fx($.tagNameCheck,e)||$.tagNameCheck instanceof Function&&$.tagNameCheck(e))&&($.attributeNameCheck instanceof RegExp&&fx($.attributeNameCheck,t)||$.attributeNameCheck instanceof Function&&$.attributeNameCheck(t,e))||"is"===t&&$.allowCustomizedBuiltInElements&&($.tagNameCheck instanceof RegExp&&fx($.tagNameCheck,n)||$.tagNameCheck instanceof Function&&$.tagNameCheck(n))))return!1}else if(fe[t]);else if(fx(R,cx(n,I,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==ux(n,"data:")||!pe[e]){if(G&&!fx(M,cx(n,I,"")));else if(n)return!1}else;return!0},Ve=function(e){return"annotation-xml"!==e&&lx(e,j)},We=function(e){ze(T.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Ne(e))return;const o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:z,forceKeepAttr:void 0};let r=t.length;for(;r--;){const a=t[r],{name:s,namespaceURI:l,value:c}=a,u=Ee(s),p=c;let d="value"===s?p:px(p);if(o.attrName=u,o.attrValue=d,o.keepAttr=!0,o.forceKeepAttr=void 0,ze(T.uponSanitizeAttribute,e,o),d=o.attrValue,!ie||"id"!==u&&"name"!==u||(Ie(s,e),d="user-content-"+d),X&&fx(/((--!?|])>)|<\/(style|title|textarea)/i,d)){Ie(s,e);continue}if("attributename"===u&&lx(d,"href")){Ie(s,e);continue}if(o.forceKeepAttr)continue;if(!o.keepAttr){Ie(s,e);continue}if(!Y&&fx(/\/>/i,d)){Ie(s,e);continue}Z&&tx([P,A,O],e=>{d=cx(d,e," ")});const f=Ee(e.nodeName);if($e(f,u,d)){if(w&&"object"==typeof h&&"function"==typeof h.getAttributeType)if(l);else switch(h.getAttributeType(f,u)){case"TrustedHTML":d=w.createHTML(d);break;case"TrustedScriptURL":d=w.createScriptURL(d)}if(d!==p)try{l?e.setAttributeNS(l,s,d):e.setAttribute(s,d),Ne(e)?Me(e):ox(n.removed)}catch(i){Ie(s,e)}}else Ie(s,e)}ze(T.afterSanitizeAttributes,e,null)},He=function e(t){let n=null;const o=Re(t);for(ze(T.beforeSanitizeShadowDOM,t,null);n=o.nextNode();)ze(T.uponSanitizeShadowNode,n,null),Be(n),We(n),n.content instanceof a&&e(n.content);ze(T.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=null,i=null,s=null,c=null;if(ye=!e,ye&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Fe(e)){if("function"!=typeof e.toString)throw hx("toString is not a function");if("string"!=typeof(e=e.toString()))throw hx("dirty is not a string, aborting")}if(!n.isSupported)return e;if(J||Oe(t),n.removed=[],"string"==typeof e&&(se=!1),se){if(e.nodeName){const t=Ee(e.nodeName);if(!N[t]||V[t])throw hx("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof l)o=je("\x3c!----\x3e"),i=o.ownerDocument.importNode(e,!0),i.nodeType===Vx&&"BODY"===i.nodeName||"HTML"===i.nodeName?o=i:o.appendChild(i);else{if(!te&&!Z&&!K&&-1===e.indexOf("<"))return w&&oe?w.createHTML(e):e;if(o=je(e),!o)return te?null:oe?x:""}o&&ee&&Me(o.firstChild);const u=Re(se?e:o);for(;s=u.nextNode();)Be(s),We(s),s.content instanceof a&&He(s.content);if(se)return e;if(te){if(ne)for(c=k.call(o.ownerDocument);o.firstChild;)c.appendChild(o.firstChild);else c=o;return(z.shadowroot||z.shadowrootmode)&&(c=E.call(r,c,!0)),c}let p=K?o.outerHTML:o.innerHTML;return K&&N["!doctype"]&&o.ownerDocument&&o.ownerDocument.doctype&&o.ownerDocument.doctype.name&&fx(zx,o.ownerDocument.doctype.name)&&(p="<!DOCTYPE "+o.ownerDocument.doctype.name+">\n"+p),Z&&tx([P,A,O],e=>{p=cx(p,e," ")}),w&&oe?w.createHTML(p):p},n.setConfig=function(){Oe(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),J=!0},n.clearConfig=function(){Te=null,J=!1},n.isValidAttribute=function(e,t,n){Te||Oe({});const o=Ee(e),r=Ee(t);return $e(o,r,n)},n.addHook=function(e,t){"function"==typeof t&&rx(T[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=nx(T[e],t);return-1===n?void 0:ix(T[e],n,1)[0]}return ox(T[e])},n.removeHooks=function(e){T[e]=[]},n.removeAllHooks=function(){T={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const Yx=e=>{const{props:t}=e,{productTarget:n}=Zt(),{trackEvent:o}=gb(n.interactionCore);function r(){return d(this,null,function*(){var e;const o=yield n.interactionCore.getUserInfo();return{productId:(null==(e=t.product)?void 0:e.productId)||"",userId:o.userId}})}return{trackAiCardEntranceClick:function(){return d(this,null,function*(){const e=yield r();o({event_id:"click_ai_card_entrance",event_type:"click",spec_attrs:u({},e)})})},trackRegenerateButtonClick:function(){return d(this,null,function*(){const e=yield r();o({event_id:"click_ai_card_regenerate_button",event_type:"click",spec_attrs:u({},e)})})},trackSaveButtonClick:function(){return d(this,null,function*(){const e=yield r();o({event_id:"click_ai_card_save_button",event_type:"click",spec_attrs:u({},e)})})}}},Zx=t=>{const{props:n}=t,{productTarget:o}=Zt(),{toast:r}=Us(),{$t:i}=qt(),{trackRegenerateButtonClick:a,trackSaveButtonClick:s}=Yx(t),l=e.ref(!0),c=e.ref(""),u=e.ref(!1),p=e.ref(!1),{rawContent:f,revealedText:h,revealDone:m,renderedHtml:g,append:v,renderImmediately:b,markFetchDone:y,reset:_}=function(t={}){const{revealRate:n=42,markdownIt:o,sanitize:r=!0}=t,i=e.ref(""),a=e.ref(""),s=e.ref(!1),l=e.ref(""),c=e.ref(!1),u=[];let p=null,d=n;const f=null!=o?o:new Ww({html:!1,linkify:!0,breaks:!0});function h(){p&&(clearInterval(p),p=null)}function m(){if(null!=p)return;const e=Math.max(10,Math.floor(1e3/Math.max(1,d)));p=window.setInterval(()=>{if(s.value)return;const e=a.value.length,t=u.length;if(e<t)a.value+=u[e];else if(c.value&&e>=t){h();const e=f.render(i.value);l.value=r?Gx.sanitize(e):e,s.value=!0}},e)}return{rawContent:i,revealedText:a,revealDone:s,renderedHtml:l,append:function(e){e&&(i.value+=e,u.push(...Array.from(e)),m())},renderImmediately:function(e){h(),u.length=0,u.push(...Array.from(e)),i.value=e,a.value=e;const t=f.render(e);l.value=r?Gx.sanitize(t):t,c.value=!0,s.value=!0},markFetchDone:function(){c.value=!0,m()},setRevealRate:function(e){d=Math.max(1,Math.floor(e)),null!=p&&(h(),m())},reset:function(){h(),i.value="",a.value="",l.value="",s.value=!1,c.value=!1,u.length=0}}}();function w(){return d(this,null,function*(){if(!n.product)return;const e=yield o.createProductAiCardTask(n.product.productId);c.value=e})}const{startPolling:x,stopPolling:C,isPolling:S}=((t,n)=>{const{interval:o=3e3,asyncDelay:r=1e3,immediate:i=!0,stopOnError:a=!1,onError:s,shouldContinue:l}=n||{},c=null!=r?r:o,u=e.ref(),p=e.ref(!1),f=e.ref(!1),h=()=>{void 0!==u.value&&(window.clearTimeout(u.value),u.value=void 0)},m=()=>{p.value=!1,h()},g=()=>d(null,null,function*(){if(!l)return!0;try{return yield Promise.resolve(l())}catch(e){return null==s||s(e),!1}}),v=e=>{h(),p.value&&(u.value=window.setTimeout(y,Math.max(0,e)))},b=e=>d(null,null,function*(){if(!p.value)return;const t=yield g();p.value&&t?v(e):m()}),y=()=>d(null,null,function*(){if(p.value&&!f.value){f.value=!0;try{const e=yield g();if(!p.value||!e)return void m();const n=t();n&&"function"==typeof n.then?(yield n,yield b(c)):yield b(o)}catch(e){if(null==s||s(e),a)return void m();yield b(o)}finally{f.value=!1}}}),_=()=>{p.value||(p.value=!0,i?y():v(o))};return e.onBeforeUnmount(()=>{m()}),{startPolling:_,stopPolling:m,restartPolling:()=>{m(),_()},isPolling:p,isRunning:f}})(()=>d(null,null,function*(){const e=yield o.getProductAiCardContent(c.value);if(u.value=e.completed,p.value=e.error,e.completed)return v(e.data),y(),void C();e.error?r.error(i("launchProduct.aiCardError")):e.data.length>0&&(v(e.data),l.value=!1)}),{interval:1e3,stopOnError:!0,onError:()=>{r.error(i("launchProduct.aiCardError"))}}),k=Ag(function(){return d(this,null,function*(){a(),C(),l.value=!0,u.value=!1,p.value=!1,_(),yield w(),x()})},300),Q=Ag(function(){return d(this,null,function*(){s(),n.product&&o&&(yield o.UpdateProductAiCardContent(n.product.productId,f.value),r.success(i("common.saveSuccess")))})},300);const E={init:function(){return d(this,null,function*(){var e;l.value=!0,u.value=!1,p.value=!1,C(),(null==(e=n.product)?void 0:e.explainContent)?yield function(e){return d(this,null,function*(){if(!e.endsWith(".json"))return;const t=yield o.interactionCore.otherApi.get(e,{});b(t.aiCardContent),l.value=!1,u.value=!0})}(n.product.explainContent):(_(),yield w(),x())})},reset:function(){l.value=!0,u.value=!1,p.value=!1,_(),C()}};return{loading:l,instance:E,isPolling:S,pollCompleted:u,isError:p,revealedText:h,rawContent:f,revealDone:m,renderedHtml:g,createAiCardTask:w,startPolling:x,stopPolling:C,regenerateAiCard:k,saveAiCard:Q}};const Xx=Me(e.defineComponent({__name:"product-ai-card",props:{product:Ya.object()},setup(e,{expose:t}){const n=e,{$t:o}=qt(),{loading:r,instance:i,revealedText:a,renderedHtml:s,revealDone:l,regenerateAiCard:c,saveAiCard:u}=Zx({props:n});return t(i),{__sfc:!0,props:n,$t:o,loading:r,instance:i,revealedText:a,renderedHtml:s,revealDone:l,regenerateAiCard:c,saveAiCard:u,ProductInfoSection:lm,aiLoading:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAABRFBMVEUAAACjxv/Kvf7Gtv+X2/+Qzv6U0v/KvP/Ju/+T0v/Iuv+T1P+T0v/Juv/Iuv7Jvf7Iu/+V0//Iuv+T0v/Juv+U0v/Iuv/Juv/Ivf/Juv+T0v+T0f/Ju//Juv/Iu/+T0P/Huv+Rz//Juv+T0v/Juv+T0v+T0v+U0f/KvP+V0f/MvP+T0v+T0v+T0v/Juv+T0f+T0v/Iu//Iuv/Ju/+U0f+T0f/Iuv/Ju//Juv/Ju//Juv/Iuv+T0v+X0//Juv/Iuv/Juv+T0v+T0v/Juv/Iuv/Iuv+U0/+U0v/Iuv+T0f/Iuv+T0f/Iuv+T0v+U0v/Iuv+U0v+U0f+U0f6R0f/Ju/+T0v/Ju/+T0v/Ju/+U0v/Ju/+T0v/Iuv+T0v/Ju/+T0v/Ju//Iu/+T0v+S0v/Iu/+T0f/Ju/+T0v/Iuv+T0f+T0f+T0v/IkcK1AAAAbHRSTlMABBAHBgsJDBfIQxOJUyUJeR/VsrBKKSAb0MK4qoA4KBQQwqCXcGhSLBsF4NbMvr2lXlkxLNu6tptsaGRAF9/ax3x2dE5JOjfk0cuqoJKFNDIvJA6lmI+OhVjp5XBfRkWTi2NcP66IgTzpm+wRzb/uAAAEdElEQVRYw9zU34uqQBQH8DtqKRO6JmIGaho+6D4EapQ/qBZUiCWQWxEREhtE9P//BXc0Y9f20rj38Z7372fmnBnOr/+7AFnW6z+FSZpgepxkWZbUY4gX8LP0K81wHmSdIOZ5Pg5daDEvPzpc9lInvphbcToaDkcTxeRZiwBNG0fxJNj7Cgq/9wVhMZ8vhOEq9OiGx+tSGqK4OBkN3xCwWMyXy8NSUCKObJJ/kTWX360UcVoAd+FwOPTNVG+Qp3swUj/8rfJVmBfCchJwZJN8qO7M1WqriKWAgLvQP2l0o/zpw/QfhHIMgg8JXP+9c8TvT7tC2CJhWglCKQj+EQOQjObm6v5SCUpdmL/jWgCElYQxXxcQUAl9MeRITAPQCRCAhF3VxafQfxPVs/78+zMZGwX5p4DKX91GOZqIfgzl5xegOehGYRDfhNNF5fMg5/fFm5i7fc56DIm7QOIgAF0BCSofsjDzsitMWNdl06sl0+DrvMBfJnBl3bvAB6zG6TRNEzojyzKjP+4DQIHvTwARcBPyKLX0KgJQfT+OarXB4x/IjkklBM5RIp6uMdDetKjHT6whoGgiipwjh1keoGUYD1cgOA2mpeC4qYRbPmDT6Wyo+ggkDR5LwU09HbeGKWM2M9q1R9Ql7XwTEk3G7k+qY9udFqjNUMqupZCcOfzua8+63dmGqgOeVgrQQg3gqmWv17ZRBzgvKwSYoQZwBYzuYN3ttOuAVQpa8QL4EazHg/WsBug9qRA0C10APwJ7/Hs8sGvAn3bL4EVVKArjz55aohQXuRW5cEJUBo2CZztd6EKJR6FJhIQISkTz/v/9O3cMZm4DXjezm7OV8/O753734wxmY0L4QyzEPsExTTP9Vfh8jYP5O2E66iUgS5LUowDccASA6XTWR4CsJ36c0IBfkxeQMB73EZCjxPf92IMZUEMYzWez+aCPB9IKVwAIeHohINHxMulhwqzCGFexJ3N0IkH4jIgAdr9t2xjHev5lo4HgYs0P9OOiKYAQI/Hp22Q4GH4VwFE5JB9ju6xLIOA04J9jeTKkc5sX86UMlQsiDyXmwTHBjWVZQLArfUnYNOE3R2UG8mIyLj9O4eWgI1y+XVqmaRKCTU7QJZfLj34T3ZTzWTmEptUURQPNURiGESGUOJO5brdnzcFQNU1T1b8b47Q/K+91uLWEwkdit1k8y1hLq5W0WKw19QoM4+20BwwQosissbfsFvBqv0mu6+5aAqgAxAfBLJKA7w4MPVpvne0H4fognAkhqiskMOyeKivnAoQdIazbU7QEmKmF9ZxjABJld7k4hLB6JhxM25N5luG9ULrcHwQJCNpjkqe9EtnkBhnFoVp1/gFh+0Q4KSb08+zMWPrn1Z0mEEOcDlZrYWbxqNy4lzshuG47SPVq7KMiQUK/pV/ILEPaOs5DwkJTN/uw9HVKfreXveJmaAsJ5EM3iDcLXw+o37OjD9fwnBTymmrbz5Asstvp9JGRniZxnKQ6CpbUStObwYsClMjDmvVT31r/ASvh/Y1XltrcAAAAAElFTkSuQmCC"}}}),function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("div",{staticClass:"plv-launch-product-ai-card"},[t("div",{staticClass:"plv-launch-product-ai-card-main"},[e.product?[t(n.ProductInfoSection,{attrs:{product:e.product,"show-description":!1,"show-feature-tags":!1,"show-origin-price":!1,"force-show-price":!0}})]:e._e(),t("div",{staticClass:"plv-launch-product-ai-card-content"},[t("div",{staticClass:"plv-launch-product-ai-card-tips"},[e._v(" "+e._s(n.$t("launchProduct.aiCardTips"))+" ")]),n.loading?t("div",{staticClass:"plv-launch-product-ai-loading-container"},[t("img",{staticClass:"plv-launch-product-ai-loading",attrs:{src:n.aiLoading}}),t("div",{staticClass:"plv-launch-product-ai-loading-text"},[e._v(" "+e._s(n.$t("launchProduct.aiCardLoading"))+" ")])]):n.revealDone?t("div",{staticClass:"plv-launch-product-ai-card-content-inner plv-launch-product-ai-card-rich-text",domProps:{innerHTML:e._s(n.renderedHtml)}}):t("div",{staticClass:"plv-launch-product-ai-card-content-inner",staticStyle:{"white-space":"pre-wrap"}},[e._v(" "+e._s(n.revealedText)+" ")])])],2),t("div",{staticClass:"plv-launch-product-ai-card-footer"},[t("span",{staticClass:"plv-launch-product-ai-card-desc"},[e._v(e._s(n.$t("launchProduct.aiCardDesc")))]),t("div",{staticClass:"plv-launch-product-ai-card-footer-buttons"},[t("button",{staticClass:"plv-launch-product-ai-card-button",class:{"plv-launch-product-ai-card-regenerate--disbaled":!n.revealDone},attrs:{disabled:!n.revealDone},on:{click:n.regenerateAiCard}},[e._v(" "+e._s(n.$t("launchProduct.operate.reGenerate"))+" ")]),t("button",{staticClass:"plv-launch-product-ai-card-button plv-launch-product-ai-card-save",class:{"plv-launch-product-ai-card-save--disabled":!n.revealDone},attrs:{disabled:!n.revealDone},on:{click:n.saveAiCard}},[e._v(" "+e._s(n.$t("launchProduct.operate.save"))+" ")])])])])},[]).exports;const Kx=Me(e.defineComponent({__name:"mobile-product-ai-card-popup",setup(t,{expose:n}){const{$t:o}=qt(),r=e.ref(),i=e.ref(!1),a=e.ref();function s(t){return d(this,null,function*(){var n;a.value=t,i.value=!0,yield e.nextTick(),null==(n=r.value)||n.init()})}function l(){var e;null==(e=r.value)||e.reset(),i.value=!1}return Ne(bb.OpenProductAiCardPopup,s),n({open:s,close:l}),{__sfc:!0,$t:o,aiCardRef:r,visible:i,productData:a,open:s,close:l,PwcPopup:Es,uiLaunchProductEvents:bb,ProductAiCard:Xx,aiIcon:qb}}}),function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t(n.PwcPopup,{attrs:{background:"linear-gradient(145deg, #FAECF9 0%, #E4F6FF 95%)","open-event":n.uiLaunchProductEvents.OpenProductAiCardPopup,"custom-close":n.close,"fill-body":"","body-max-height":1},scopedSlots:e._u([{key:"title",fn:function(){return[t("div",[t("img",{staticClass:"plv-launch-product-ai-icon",attrs:{src:n.aiIcon}}),t("span",{staticClass:"plv-launch-product-ai-title"},[e._v(e._s(n.$t("launchProduct.operate.aiCard")))])])]},proxy:!0}]),model:{value:n.visible,callback:function(e){n.visible=e},expression:"visible"}},[t(n.ProductAiCard,{ref:"aiCardRef",attrs:{product:n.productData}})],1)},[]).exports;const Jx=Me(e.defineComponent({__name:"mobile-product-list",props:yb(),emits:{"click-add":()=>!0,"click-edit":()=>!0},setup(t,{expose:n,emit:o}){const r=t,{$t:i}=qt(),{scrollRef:a,productList:s,currentStatus:l,ProductStatus:c,upCount:u,downCount:p,keyword:d,provideData:f,isFirstFinish:h,refresh:m,refreshList:g}=wb({props:r,emit:o}),v=Yt(r),b=Sb(r),{isBatchChoice:y,choiceAll:_,clearChoice:w,toggleBatchChoice:x,choiceProductIds:C,isChecked:S,onCheckboxChange:k}=(t=>{const n=e.ref(!1),o=e.ref([]);function r(e){if(!t)return!1;const n=t.value.filter(t=>t.productId!==e);return o.value.length>0&&o.value.length<n.length}return{isBatchChoice:n,choiceProductIds:o,choiceAll:function(e){t&&(!o.value.length||r(e)?o.value=t.value.map(e=>e.productId).filter(t=>t!==e):o.value=[])},clearChoice:function(){o.value=[]},toggleBatchChoice:function(){n.value=!n.value},isChecked:function(e){return o.value.includes(e)},isAllChecked:function(e){if(!t||!t.value.length)return!1;const n=t.value.filter(t=>t.productId!==e);return o.value.length===n.length},isIndeterminate:r,onCheckboxChange:function(e,t){e?o.value.push(t):o.value=o.value.filter(e=>e!==t)}}})(s),{explainingProductId:Q,getCurrentProductExplain:E}=jb(void 0,{productListInject:f,productTargetInject:v,productSettingInject:b}),T=e.ref();const P=e.ref();return e.watch(l,()=>{y.value&&w()}),e.onMounted(()=>{E()}),n({refresh:m,refreshList:g}),{__sfc:!0,props:r,emit:o,$t:i,scrollRef:a,productList:s,currentStatus:l,ProductStatus:c,upCount:u,downCount:p,keyword:d,provideData:f,isFirstFinish:h,refresh:m,refreshList:g,productTargetInject:v,productSettingInject:b,isBatchChoice:y,choiceAll:_,clearChoice:w,toggleBatchChoice:x,choiceProductIds:C,isChecked:S,onCheckboxChange:k,explainingProductId:Q,getCurrentProductExplain:E,controlRef:T,onOpenControl:function(e){var t;null==(t=T.value)||t.open(e)},settingRef:P,openSetting:function(){var e;null==(e=P.value)||e.show()},FormInput:hg,FormSize:ig,ProductIconSearch:Oe,ProductEmpty:cm,ProductIconSetting:Le,FormCheckbox:og,MobileProductItem:zb,MobileProductControl:Ub,MobileProductBatch:Gb,MobileProductSetting:Yb,MobileProductAiCardPopup:Kx}}}),function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("div",{staticClass:"plv-launch-mobile-product-list"},[t("div",{staticClass:"plv-launch-mobile-product-list__header"},[t("div",{staticClass:"plv-launch-mobile-product-list__status",class:{"is-active":n.currentStatus===n.ProductStatus.OnSale},on:{click:function(e){n.currentStatus=n.ProductStatus.OnSale}}},[e._v(" "+e._s(n.$t("launchProduct.operate.shelf")+" ("+n.upCount+")")+" ")]),t("div",{staticClass:"plv-launch-mobile-product-list__status",class:{"is-active":n.currentStatus===n.ProductStatus.OffSale},on:{click:function(e){n.currentStatus=n.ProductStatus.OffSale}}},[e._v(" "+e._s(n.$t("launchProduct.operate.unshelf")+" ("+n.downCount+")")+" ")]),t("div",{staticClass:"plv-launch-mobile-product-list__batch-choice"},[n.isBatchChoice?e._e():t("span",{on:{click:n.toggleBatchChoice}},[e._v(e._s(n.$t("launchProduct.operate.multipleSelect")))]),n.isBatchChoice?t("span",{on:{click:function(e){return n.choiceAll(n.explainingProductId)}}},[e._v(e._s(n.$t("launchProduct.operate.allSelect",{count:n.choiceProductIds.length})))]):e._e(),n.isBatchChoice?t("span",{staticClass:"plv-launch-mobile-product-list__batch-choice-done",on:{click:n.toggleBatchChoice}},[e._v(e._s(n.$t("launchProduct.operate.finish")))]):e._e()]),n.isBatchChoice?e._e():t("div",{staticClass:"plv-launch-mobile-product-list__setting",on:{click:function(e){return n.openSetting()}}},[t(n.ProductIconSetting,{staticClass:"plv-launch-mobile-product-list__setting-icon"}),t("span",[e._v(e._s(n.$t("launchProduct.setting")))])],1)]),t("div",{staticClass:"plv-launch-mobile-product-list__search"},[t(n.FormInput,{attrs:{placeholder:n.$t("product.searchPlaceholder"),size:n.FormSize.Small},scopedSlots:e._u([{key:"prefix",fn:function(){return[t(n.ProductIconSearch,{staticClass:"plv-launch-mobile-product-list__search-icon"})]},proxy:!0}]),model:{value:n.keyword,callback:function(e){n.keyword=e},expression:"keyword"}})],1),t("div",{ref:"scrollRef",staticClass:"plv-launch-mobile-product-list__content"},[e._l(n.productList,function(e){return t(n.MobileProductItem,{key:e.productId,attrs:{product:e,"is-batch-choice":n.isBatchChoice},on:{"open-control":n.onOpenControl}},[t("div",{staticClass:"plv-launch-mobile-product-list__checkbox",class:{"is-batch-choice":n.isBatchChoice},attrs:{slot:"section-prefix"},slot:"section-prefix"},[t(n.FormCheckbox,{attrs:{circle:"",checked:n.isChecked(e.productId),disabled:n.explainingProductId===e.productId},on:{change:function(t){return n.onCheckboxChange(t,e.productId)}}})],1)])}),0===n.productList.length&&n.isFirstFinish?t(n.ProductEmpty):e._e()],2),t(n.MobileProductBatch,{attrs:{"is-batch-choice":n.isBatchChoice,"choice-product-ids":n.choiceProductIds,"show-on-shelf":n.currentStatus===n.ProductStatus.OffSale},on:{success:n.clearChoice}}),t(n.MobileProductControl,{ref:"controlRef"}),t(n.MobileProductSetting,{ref:"settingRef"}),e.enableAiCard?t(n.MobileProductAiCardPopup):e._e()],1)},[]).exports;return Me(e.defineComponent({__name:"mobile-product-list-popup",props:yb(),setup(t,{expose:n}){const o=t,r=e.ref(!1);function i(){r.value=!0}function a(){r.value=!1}return Ne(bb.OpenProductList,i),n({open:i,close:a}),{__sfc:!0,props:o,visible:r,open:i,close:a,CommonPopup:tg,MobileProductList:Jx}}}),function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t(n.CommonPopup,{attrs:{"show-header":!1},model:{value:n.visible,callback:function(e){n.visible=e},expression:"visible"}},[t(n.MobileProductList,e._b({},"mobile-product-list",n.props,!1))],1)},[]).exports}),console.log("%c@polyv/product-launch","background:#409EFF;padding: 2px 6px;border-radius: 3px;color: #fff","[component: mobile-product-list-popup]","[version: 1.5.0-rc-20251204.1]","[buildTime: 2025-12-04 06:02:21]");
76
+ const{entries:Hw,setPrototypeOf:qw,isFrozen:Uw,getPrototypeOf:Gw,getOwnPropertyDescriptor:Yw}=Object;let{freeze:Zw,seal:Xw,create:Kw}=Object,{apply:Jw,construct:ex}="undefined"!=typeof Reflect&&Reflect;Zw||(Zw=function(e){return e}),Xw||(Xw=function(e){return e}),Jw||(Jw=function(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];return e.apply(t,o)}),ex||(ex=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return new e(...n)});const tx=gx(Array.prototype.forEach),nx=gx(Array.prototype.lastIndexOf),ox=gx(Array.prototype.pop),rx=gx(Array.prototype.push),ix=gx(Array.prototype.splice),ax=gx(String.prototype.toLowerCase),sx=gx(String.prototype.toString),lx=gx(String.prototype.match),cx=gx(String.prototype.replace),ux=gx(String.prototype.indexOf),px=gx(String.prototype.trim),dx=gx(Object.prototype.hasOwnProperty),fx=gx(RegExp.prototype.test),hx=(mx=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ex(mx,t)});var mx;function gx(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return Jw(e,t,o)}}function vx(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ax;qw&&qw(e,null);let o=t.length;for(;o--;){let r=t[o];if("string"==typeof r){const e=n(r);e!==r&&(Uw(t)||(t[o]=e),r=e)}e[r]=!0}return e}function bx(e){for(let t=0;t<e.length;t++){dx(e,t)||(e[t]=null)}return e}function yx(e){const t=Kw(null);for(const[n,o]of Hw(e)){dx(e,n)&&(Array.isArray(o)?t[n]=bx(o):o&&"object"==typeof o&&o.constructor===Object?t[n]=yx(o):t[n]=o)}return t}function _x(e,t){for(;null!==e;){const n=Yw(e,t);if(n){if(n.get)return gx(n.get);if("function"==typeof n.value)return gx(n.value)}e=Gw(e)}return function(){return null}}const wx=Zw(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),xx=Zw(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Cx=Zw(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Sx=Zw(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),kx=Zw(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Qx=Zw(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Ex=Zw(["#text"]),Tx=Zw(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Px=Zw(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Ax=Zw(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Ox=Zw(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Dx=Xw(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Lx=Xw(/<%[\w\W]*|[\w\W]*%>/gm),Mx=Xw(/\$\{[\w\W]*/gm),Ix=Xw(/^data-[\-\w.\u00B7-\uFFFF]+$/),jx=Xw(/^aria-[\-\w]+$/),Rx=Xw(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Nx=Xw(/^(?:\w+script|data):/i),Fx=Xw(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),zx=Xw(/^html$/i),Bx=Xw(/^[a-z][.\w]*(-[.\w]+)+$/i);var $x=Object.freeze({__proto__:null,ARIA_ATTR:jx,ATTR_WHITESPACE:Fx,CUSTOM_ELEMENT:Bx,DATA_ATTR:Ix,DOCTYPE_NAME:zx,ERB_EXPR:Lx,IS_ALLOWED_URI:Rx,IS_SCRIPT_OR_DATA:Nx,MUSTACHE_EXPR:Dx,TMPLIT_EXPR:Mx});const Vx=1,Wx=3,Hx=7,qx=8,Ux=9;var Gx=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window;const n=t=>e(t);if(n.version="3.3.0",n.removed=[],!t||!t.document||t.document.nodeType!==Ux||!t.Element)return n.isSupported=!1,n;let{document:o}=t;const r=o,i=r.currentScript,{DocumentFragment:a,HTMLTemplateElement:s,Node:l,Element:c,NodeFilter:u,NamedNodeMap:p=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:d,DOMParser:f,trustedTypes:h}=t,m=c.prototype,g=_x(m,"cloneNode"),v=_x(m,"remove"),b=_x(m,"nextSibling"),y=_x(m,"childNodes"),_=_x(m,"parentNode");if("function"==typeof s){const e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let w,x="";const{implementation:C,createNodeIterator:S,createDocumentFragment:k,getElementsByTagName:Q}=o,{importNode:E}=r;let T={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof Hw&&"function"==typeof _&&C&&void 0!==C.createHTMLDocument;const{MUSTACHE_EXPR:P,ERB_EXPR:A,TMPLIT_EXPR:O,DATA_ATTR:D,ARIA_ATTR:L,IS_SCRIPT_OR_DATA:M,ATTR_WHITESPACE:I,CUSTOM_ELEMENT:j}=$x;let{IS_ALLOWED_URI:R}=$x,N=null;const F=vx({},[...wx,...xx,...Cx,...kx,...Ex]);let z=null;const B=vx({},[...Tx,...Px,...Ax,...Ox]);let $=Object.seal(Kw(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),V=null,W=null;const H=Object.seal(Kw(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let q=!0,U=!0,G=!1,Y=!0,Z=!1,X=!0,K=!1,J=!1,ee=!1,te=!1,ne=!1,oe=!1,re=!0,ie=!1,ae=!0,se=!1,le={},ce=null;const ue=vx({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let pe=null;const de=vx({},["audio","video","img","source","image","track"]);let fe=null;const he=vx({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),me="http://www.w3.org/1998/Math/MathML",ge="http://www.w3.org/2000/svg",ve="http://www.w3.org/1999/xhtml";let be=ve,ye=!1,_e=null;const we=vx({},[me,ge,ve],sx);let xe=vx({},["mi","mo","mn","ms","mtext"]),Ce=vx({},["annotation-xml"]);const Se=vx({},["title","style","font","a","script"]);let ke=null;const Qe=["application/xhtml+xml","text/html"];let Ee=null,Te=null;const Pe=o.createElement("form"),Ae=function(e){return e instanceof RegExp||e instanceof Function},Oe=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Te||Te!==e){if(e&&"object"==typeof e||(e={}),e=yx(e),ke=-1===Qe.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Ee="application/xhtml+xml"===ke?sx:ax,N=dx(e,"ALLOWED_TAGS")?vx({},e.ALLOWED_TAGS,Ee):F,z=dx(e,"ALLOWED_ATTR")?vx({},e.ALLOWED_ATTR,Ee):B,_e=dx(e,"ALLOWED_NAMESPACES")?vx({},e.ALLOWED_NAMESPACES,sx):we,fe=dx(e,"ADD_URI_SAFE_ATTR")?vx(yx(he),e.ADD_URI_SAFE_ATTR,Ee):he,pe=dx(e,"ADD_DATA_URI_TAGS")?vx(yx(de),e.ADD_DATA_URI_TAGS,Ee):de,ce=dx(e,"FORBID_CONTENTS")?vx({},e.FORBID_CONTENTS,Ee):ue,V=dx(e,"FORBID_TAGS")?vx({},e.FORBID_TAGS,Ee):yx({}),W=dx(e,"FORBID_ATTR")?vx({},e.FORBID_ATTR,Ee):yx({}),le=!!dx(e,"USE_PROFILES")&&e.USE_PROFILES,q=!1!==e.ALLOW_ARIA_ATTR,U=!1!==e.ALLOW_DATA_ATTR,G=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Y=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Z=e.SAFE_FOR_TEMPLATES||!1,X=!1!==e.SAFE_FOR_XML,K=e.WHOLE_DOCUMENT||!1,te=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,oe=e.RETURN_TRUSTED_TYPE||!1,ee=e.FORCE_BODY||!1,re=!1!==e.SANITIZE_DOM,ie=e.SANITIZE_NAMED_PROPS||!1,ae=!1!==e.KEEP_CONTENT,se=e.IN_PLACE||!1,R=e.ALLOWED_URI_REGEXP||Rx,be=e.NAMESPACE||ve,xe=e.MATHML_TEXT_INTEGRATION_POINTS||xe,Ce=e.HTML_INTEGRATION_POINTS||Ce,$=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Ae(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&($.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Ae(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&($.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&($.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Z&&(U=!1),ne&&(te=!0),le&&(N=vx({},Ex),z=[],!0===le.html&&(vx(N,wx),vx(z,Tx)),!0===le.svg&&(vx(N,xx),vx(z,Px),vx(z,Ox)),!0===le.svgFilters&&(vx(N,Cx),vx(z,Px),vx(z,Ox)),!0===le.mathMl&&(vx(N,kx),vx(z,Ax),vx(z,Ox))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?H.tagCheck=e.ADD_TAGS:(N===F&&(N=yx(N)),vx(N,e.ADD_TAGS,Ee))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?H.attributeCheck=e.ADD_ATTR:(z===B&&(z=yx(z)),vx(z,e.ADD_ATTR,Ee))),e.ADD_URI_SAFE_ATTR&&vx(fe,e.ADD_URI_SAFE_ATTR,Ee),e.FORBID_CONTENTS&&(ce===ue&&(ce=yx(ce)),vx(ce,e.FORBID_CONTENTS,Ee)),ae&&(N["#text"]=!0),K&&vx(N,["html","head","body"]),N.table&&(vx(N,["tbody"]),delete V.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw hx('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw hx('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=e.TRUSTED_TYPES_POLICY,x=w.createHTML("")}else void 0===w&&(w=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(i){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(h,i)),null!==w&&"string"==typeof x&&(x=w.createHTML(""));Zw&&Zw(e),Te=e}},De=vx({},[...xx,...Cx,...Sx]),Le=vx({},[...kx,...Qx]),Me=function(e){rx(n.removed,{element:e});try{_(e).removeChild(e)}catch(t){v(e)}},Ie=function(e,t){try{rx(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(o){rx(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(te||ne)try{Me(t)}catch(o){}else try{t.setAttribute(e,"")}catch(o){}},je=function(e){let t=null,n=null;if(ee)e="<remove></remove>"+e;else{const t=lx(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===ke&&be===ve&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const r=w?w.createHTML(e):e;if(be===ve)try{t=(new f).parseFromString(r,ke)}catch(a){}if(!t||!t.documentElement){t=C.createDocument(be,"template",null);try{t.documentElement.innerHTML=ye?x:r}catch(a){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(o.createTextNode(n),i.childNodes[0]||null),be===ve?Q.call(t,K?"html":"body")[0]:K?t.documentElement:i},Re=function(e){return S.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},Ne=function(e){return e instanceof d&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof p)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Fe=function(e){return"function"==typeof l&&e instanceof l};function ze(e,t,o){tx(e,e=>{e.call(n,t,o,Te)})}const Be=function(e){let t=null;if(ze(T.beforeSanitizeElements,e,null),Ne(e))return Me(e),!0;const o=Ee(e.nodeName);if(ze(T.uponSanitizeElement,e,{tagName:o,allowedTags:N}),X&&e.hasChildNodes()&&!Fe(e.firstElementChild)&&fx(/<[/\w!]/g,e.innerHTML)&&fx(/<[/\w!]/g,e.textContent))return Me(e),!0;if(e.nodeType===Hx)return Me(e),!0;if(X&&e.nodeType===qx&&fx(/<[/\w]/g,e.data))return Me(e),!0;if(!(H.tagCheck instanceof Function&&H.tagCheck(o))&&(!N[o]||V[o])){if(!V[o]&&Ve(o)){if($.tagNameCheck instanceof RegExp&&fx($.tagNameCheck,o))return!1;if($.tagNameCheck instanceof Function&&$.tagNameCheck(o))return!1}if(ae&&!ce[o]){const t=_(e)||e.parentNode,n=y(e)||e.childNodes;if(n&&t){for(let o=n.length-1;o>=0;--o){const r=g(n[o],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,b(e))}}}return Me(e),!0}return e instanceof c&&!function(e){let t=_(e);t&&t.tagName||(t={namespaceURI:be,tagName:"template"});const n=ax(e.tagName),o=ax(t.tagName);return!!_e[e.namespaceURI]&&(e.namespaceURI===ge?t.namespaceURI===ve?"svg"===n:t.namespaceURI===me?"svg"===n&&("annotation-xml"===o||xe[o]):Boolean(De[n]):e.namespaceURI===me?t.namespaceURI===ve?"math"===n:t.namespaceURI===ge?"math"===n&&Ce[o]:Boolean(Le[n]):e.namespaceURI===ve?!(t.namespaceURI===ge&&!Ce[o])&&!(t.namespaceURI===me&&!xe[o])&&!Le[n]&&(Se[n]||!De[n]):!("application/xhtml+xml"!==ke||!_e[e.namespaceURI]))}(e)?(Me(e),!0):"noscript"!==o&&"noembed"!==o&&"noframes"!==o||!fx(/<\/no(script|embed|frames)/i,e.innerHTML)?(Z&&e.nodeType===Wx&&(t=e.textContent,tx([P,A,O],e=>{t=cx(t,e," ")}),e.textContent!==t&&(rx(n.removed,{element:e.cloneNode()}),e.textContent=t)),ze(T.afterSanitizeElements,e,null),!1):(Me(e),!0)},$e=function(e,t,n){if(re&&("id"===t||"name"===t)&&(n in o||n in Pe))return!1;if(U&&!W[t]&&fx(D,t));else if(q&&fx(L,t));else if(H.attributeCheck instanceof Function&&H.attributeCheck(t,e));else if(!z[t]||W[t]){if(!(Ve(e)&&($.tagNameCheck instanceof RegExp&&fx($.tagNameCheck,e)||$.tagNameCheck instanceof Function&&$.tagNameCheck(e))&&($.attributeNameCheck instanceof RegExp&&fx($.attributeNameCheck,t)||$.attributeNameCheck instanceof Function&&$.attributeNameCheck(t,e))||"is"===t&&$.allowCustomizedBuiltInElements&&($.tagNameCheck instanceof RegExp&&fx($.tagNameCheck,n)||$.tagNameCheck instanceof Function&&$.tagNameCheck(n))))return!1}else if(fe[t]);else if(fx(R,cx(n,I,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==ux(n,"data:")||!pe[e]){if(G&&!fx(M,cx(n,I,"")));else if(n)return!1}else;return!0},Ve=function(e){return"annotation-xml"!==e&&lx(e,j)},We=function(e){ze(T.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Ne(e))return;const o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:z,forceKeepAttr:void 0};let r=t.length;for(;r--;){const a=t[r],{name:s,namespaceURI:l,value:c}=a,u=Ee(s),p=c;let d="value"===s?p:px(p);if(o.attrName=u,o.attrValue=d,o.keepAttr=!0,o.forceKeepAttr=void 0,ze(T.uponSanitizeAttribute,e,o),d=o.attrValue,!ie||"id"!==u&&"name"!==u||(Ie(s,e),d="user-content-"+d),X&&fx(/((--!?|])>)|<\/(style|title|textarea)/i,d)){Ie(s,e);continue}if("attributename"===u&&lx(d,"href")){Ie(s,e);continue}if(o.forceKeepAttr)continue;if(!o.keepAttr){Ie(s,e);continue}if(!Y&&fx(/\/>/i,d)){Ie(s,e);continue}Z&&tx([P,A,O],e=>{d=cx(d,e," ")});const f=Ee(e.nodeName);if($e(f,u,d)){if(w&&"object"==typeof h&&"function"==typeof h.getAttributeType)if(l);else switch(h.getAttributeType(f,u)){case"TrustedHTML":d=w.createHTML(d);break;case"TrustedScriptURL":d=w.createScriptURL(d)}if(d!==p)try{l?e.setAttributeNS(l,s,d):e.setAttribute(s,d),Ne(e)?Me(e):ox(n.removed)}catch(i){Ie(s,e)}}else Ie(s,e)}ze(T.afterSanitizeAttributes,e,null)},He=function e(t){let n=null;const o=Re(t);for(ze(T.beforeSanitizeShadowDOM,t,null);n=o.nextNode();)ze(T.uponSanitizeShadowNode,n,null),Be(n),We(n),n.content instanceof a&&e(n.content);ze(T.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=null,i=null,s=null,c=null;if(ye=!e,ye&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Fe(e)){if("function"!=typeof e.toString)throw hx("toString is not a function");if("string"!=typeof(e=e.toString()))throw hx("dirty is not a string, aborting")}if(!n.isSupported)return e;if(J||Oe(t),n.removed=[],"string"==typeof e&&(se=!1),se){if(e.nodeName){const t=Ee(e.nodeName);if(!N[t]||V[t])throw hx("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof l)o=je("\x3c!----\x3e"),i=o.ownerDocument.importNode(e,!0),i.nodeType===Vx&&"BODY"===i.nodeName||"HTML"===i.nodeName?o=i:o.appendChild(i);else{if(!te&&!Z&&!K&&-1===e.indexOf("<"))return w&&oe?w.createHTML(e):e;if(o=je(e),!o)return te?null:oe?x:""}o&&ee&&Me(o.firstChild);const u=Re(se?e:o);for(;s=u.nextNode();)Be(s),We(s),s.content instanceof a&&He(s.content);if(se)return e;if(te){if(ne)for(c=k.call(o.ownerDocument);o.firstChild;)c.appendChild(o.firstChild);else c=o;return(z.shadowroot||z.shadowrootmode)&&(c=E.call(r,c,!0)),c}let p=K?o.outerHTML:o.innerHTML;return K&&N["!doctype"]&&o.ownerDocument&&o.ownerDocument.doctype&&o.ownerDocument.doctype.name&&fx(zx,o.ownerDocument.doctype.name)&&(p="<!DOCTYPE "+o.ownerDocument.doctype.name+">\n"+p),Z&&tx([P,A,O],e=>{p=cx(p,e," ")}),w&&oe?w.createHTML(p):p},n.setConfig=function(){Oe(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),J=!0},n.clearConfig=function(){Te=null,J=!1},n.isValidAttribute=function(e,t,n){Te||Oe({});const o=Ee(e),r=Ee(t);return $e(o,r,n)},n.addHook=function(e,t){"function"==typeof t&&rx(T[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=nx(T[e],t);return-1===n?void 0:ix(T[e],n,1)[0]}return ox(T[e])},n.removeHooks=function(e){T[e]=[]},n.removeAllHooks=function(){T={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const Yx=e=>{const{props:t}=e,{productTarget:n}=Zt(),{trackEvent:o}=gb(n.interactionCore);function r(){return d(this,null,function*(){var e;const o=yield n.interactionCore.getUserInfo();return{productId:(null==(e=t.product)?void 0:e.productId)||"",userId:o.userId}})}return{trackAiCardEntranceClick:function(){return d(this,null,function*(){const e=yield r();o({event_id:"click_ai_card_entrance",event_type:"click",spec_attrs:u({},e)})})},trackRegenerateButtonClick:function(){return d(this,null,function*(){const e=yield r();o({event_id:"click_ai_card_regenerate_button",event_type:"click",spec_attrs:u({},e)})})},trackSaveButtonClick:function(){return d(this,null,function*(){const e=yield r();o({event_id:"click_ai_card_save_button",event_type:"click",spec_attrs:u({},e)})})}}},Zx=t=>{const{props:n}=t,{productTarget:o}=Zt(),{toast:r}=Us(),{$t:i}=qt(),{trackRegenerateButtonClick:a,trackSaveButtonClick:s}=Yx(t),l=e.ref(!0),c=e.ref(""),u=e.ref(!1),p=e.ref(!1),{rawContent:f,revealedText:h,revealDone:m,renderedHtml:g,append:v,renderImmediately:b,markFetchDone:y,reset:_}=function(t={}){const{revealRate:n=42,markdownIt:o,sanitize:r=!0}=t,i=e.ref(""),a=e.ref(""),s=e.ref(!1),l=e.ref(""),c=e.ref(!1),u=[];let p=null,d=n;const f=null!=o?o:new Ww({html:!1,linkify:!0,breaks:!0});function h(){p&&(clearInterval(p),p=null)}function m(){if(null!=p)return;const e=Math.max(10,Math.floor(1e3/Math.max(1,d)));p=window.setInterval(()=>{if(s.value)return;const e=a.value.length,t=u.length;if(e<t)a.value+=u[e];else if(c.value&&e>=t){h();const e=f.render(i.value);l.value=r?Gx.sanitize(e):e,s.value=!0}},e)}return{rawContent:i,revealedText:a,revealDone:s,renderedHtml:l,append:function(e){e&&(i.value+=e,u.push(...Array.from(e)),m())},renderImmediately:function(e){h(),u.length=0,u.push(...Array.from(e)),i.value=e,a.value=e;const t=f.render(e);l.value=r?Gx.sanitize(t):t,c.value=!0,s.value=!0},markFetchDone:function(){c.value=!0,m()},setRevealRate:function(e){d=Math.max(1,Math.floor(e)),null!=p&&(h(),m())},reset:function(){h(),i.value="",a.value="",l.value="",s.value=!1,c.value=!1,u.length=0}}}();function w(){return d(this,null,function*(){if(!n.product)return;const e=yield o.createProductAiCardTask(n.product.productId);c.value=e})}const{startPolling:x,stopPolling:C,isPolling:S}=((t,n)=>{const{interval:o=3e3,asyncDelay:r=1e3,immediate:i=!0,stopOnError:a=!1,onError:s,shouldContinue:l}=n||{},c=null!=r?r:o,u=e.ref(),p=e.ref(!1),f=e.ref(!1),h=()=>{void 0!==u.value&&(window.clearTimeout(u.value),u.value=void 0)},m=()=>{p.value=!1,h()},g=()=>d(null,null,function*(){if(!l)return!0;try{return yield Promise.resolve(l())}catch(e){return null==s||s(e),!1}}),v=e=>{h(),p.value&&(u.value=window.setTimeout(y,Math.max(0,e)))},b=e=>d(null,null,function*(){if(!p.value)return;const t=yield g();p.value&&t?v(e):m()}),y=()=>d(null,null,function*(){if(p.value&&!f.value){f.value=!0;try{const e=yield g();if(!p.value||!e)return void m();const n=t();n&&"function"==typeof n.then?(yield n,yield b(c)):yield b(o)}catch(e){if(null==s||s(e),a)return void m();yield b(o)}finally{f.value=!1}}}),_=()=>{p.value||(p.value=!0,i?y():v(o))};return e.onBeforeUnmount(()=>{m()}),{startPolling:_,stopPolling:m,restartPolling:()=>{m(),_()},isPolling:p,isRunning:f}})(()=>d(null,null,function*(){const e=yield o.getProductAiCardContent(c.value);if(u.value=e.completed,p.value=e.error,e.completed)return v(e.data),y(),void C();e.error?r.error(i("launchProduct.aiCardError")):e.data.length>0&&(v(e.data),l.value=!1)}),{interval:1e3,stopOnError:!0,onError:()=>{r.error(i("launchProduct.aiCardError"))}}),k=Ag(function(){return d(this,null,function*(){a(),C(),l.value=!0,u.value=!1,p.value=!1,_(),yield w(),x()})},300),Q=Ag(function(){return d(this,null,function*(){s(),n.product&&o&&(yield o.UpdateProductAiCardContent(n.product.productId,f.value),r.success(i("common.saveSuccess")))})},300);const E={init:function(){return d(this,null,function*(){var e;l.value=!0,u.value=!1,p.value=!1,C(),(null==(e=n.product)?void 0:e.explainContent)?yield function(e){return d(this,null,function*(){if(!e.endsWith(".json"))return;const t=yield o.interactionCore.otherApi.get(e,{});b(t.aiCardContent),l.value=!1,u.value=!0})}(n.product.explainContent):(_(),yield w(),x())})},reset:function(){l.value=!0,u.value=!1,p.value=!1,_(),C()}};return{loading:l,instance:E,isPolling:S,pollCompleted:u,isError:p,revealedText:h,rawContent:f,revealDone:m,renderedHtml:g,createAiCardTask:w,startPolling:x,stopPolling:C,regenerateAiCard:k,saveAiCard:Q}};const Xx=Me(e.defineComponent({__name:"product-ai-card",props:{product:Ya.object()},setup(e,{expose:t}){const n=e,{$t:o}=qt(),{loading:r,instance:i,revealedText:a,renderedHtml:s,revealDone:l,regenerateAiCard:c,saveAiCard:u}=Zx({props:n});return t(i),{__sfc:!0,props:n,$t:o,loading:r,instance:i,revealedText:a,renderedHtml:s,revealDone:l,regenerateAiCard:c,saveAiCard:u,ProductInfoSection:lm,aiLoading:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAABRFBMVEUAAACjxv/Kvf7Gtv+X2/+Qzv6U0v/KvP/Ju/+T0v/Iuv+T1P+T0v/Juv/Iuv7Jvf7Iu/+V0//Iuv+T0v/Juv+U0v/Iuv/Juv/Ivf/Juv+T0v+T0f/Ju//Juv/Iu/+T0P/Huv+Rz//Juv+T0v/Juv+T0v+T0v+U0f/KvP+V0f/MvP+T0v+T0v+T0v/Juv+T0f+T0v/Iu//Iuv/Ju/+U0f+T0f/Iuv/Ju//Juv/Ju//Juv/Iuv+T0v+X0//Juv/Iuv/Juv+T0v+T0v/Juv/Iuv/Iuv+U0/+U0v/Iuv+T0f/Iuv+T0f/Iuv+T0v+U0v/Iuv+U0v+U0f+U0f6R0f/Ju/+T0v/Ju/+T0v/Ju/+U0v/Ju/+T0v/Iuv+T0v/Ju/+T0v/Ju//Iu/+T0v+S0v/Iu/+T0f/Ju/+T0v/Iuv+T0f+T0f+T0v/IkcK1AAAAbHRSTlMABBAHBgsJDBfIQxOJUyUJeR/VsrBKKSAb0MK4qoA4KBQQwqCXcGhSLBsF4NbMvr2lXlkxLNu6tptsaGRAF9/ax3x2dE5JOjfk0cuqoJKFNDIvJA6lmI+OhVjp5XBfRkWTi2NcP66IgTzpm+wRzb/uAAAEdElEQVRYw9zU34uqQBQH8DtqKRO6JmIGaho+6D4EapQ/qBZUiCWQWxEREhtE9P//BXc0Y9f20rj38Z7372fmnBnOr/+7AFnW6z+FSZpgepxkWZbUY4gX8LP0K81wHmSdIOZ5Pg5daDEvPzpc9lInvphbcToaDkcTxeRZiwBNG0fxJNj7Cgq/9wVhMZ8vhOEq9OiGx+tSGqK4OBkN3xCwWMyXy8NSUCKObJJ/kTWX360UcVoAd+FwOPTNVG+Qp3swUj/8rfJVmBfCchJwZJN8qO7M1WqriKWAgLvQP2l0o/zpw/QfhHIMgg8JXP+9c8TvT7tC2CJhWglCKQj+EQOQjObm6v5SCUpdmL/jWgCElYQxXxcQUAl9MeRITAPQCRCAhF3VxafQfxPVs/78+zMZGwX5p4DKX91GOZqIfgzl5xegOehGYRDfhNNF5fMg5/fFm5i7fc56DIm7QOIgAF0BCSofsjDzsitMWNdl06sl0+DrvMBfJnBl3bvAB6zG6TRNEzojyzKjP+4DQIHvTwARcBPyKLX0KgJQfT+OarXB4x/IjkklBM5RIp6uMdDetKjHT6whoGgiipwjh1keoGUYD1cgOA2mpeC4qYRbPmDT6Wyo+ggkDR5LwU09HbeGKWM2M9q1R9Ql7XwTEk3G7k+qY9udFqjNUMqupZCcOfzua8+63dmGqgOeVgrQQg3gqmWv17ZRBzgvKwSYoQZwBYzuYN3ttOuAVQpa8QL4EazHg/WsBug9qRA0C10APwJ7/Hs8sGvAn3bL4EVVKArjz55aohQXuRW5cEJUBo2CZztd6EKJR6FJhIQISkTz/v/9O3cMZm4DXjezm7OV8/O753734wxmY0L4QyzEPsExTTP9Vfh8jYP5O2E66iUgS5LUowDccASA6XTWR4CsJ36c0IBfkxeQMB73EZCjxPf92IMZUEMYzWez+aCPB9IKVwAIeHohINHxMulhwqzCGFexJ3N0IkH4jIgAdr9t2xjHev5lo4HgYs0P9OOiKYAQI/Hp22Q4GH4VwFE5JB9ju6xLIOA04J9jeTKkc5sX86UMlQsiDyXmwTHBjWVZQLArfUnYNOE3R2UG8mIyLj9O4eWgI1y+XVqmaRKCTU7QJZfLj34T3ZTzWTmEptUURQPNURiGESGUOJO5brdnzcFQNU1T1b8b47Q/K+91uLWEwkdit1k8y1hLq5W0WKw19QoM4+20BwwQosissbfsFvBqv0mu6+5aAqgAxAfBLJKA7w4MPVpvne0H4fognAkhqiskMOyeKivnAoQdIazbU7QEmKmF9ZxjABJld7k4hLB6JhxM25N5luG9ULrcHwQJCNpjkqe9EtnkBhnFoVp1/gFh+0Q4KSb08+zMWPrn1Z0mEEOcDlZrYWbxqNy4lzshuG47SPVq7KMiQUK/pV/ILEPaOs5DwkJTN/uw9HVKfreXveJmaAsJ5EM3iDcLXw+o37OjD9fwnBTymmrbz5Asstvp9JGRniZxnKQ6CpbUStObwYsClMjDmvVT31r/ASvh/Y1XltrcAAAAAElFTkSuQmCC"}}}),function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("div",{staticClass:"plv-launch-product-ai-card"},[t("div",{staticClass:"plv-launch-product-ai-card-main"},[e.product?[t(n.ProductInfoSection,{attrs:{product:e.product,"show-description":!1,"show-feature-tags":!1,"show-origin-price":!1,"force-show-price":!0}})]:e._e(),t("div",{staticClass:"plv-launch-product-ai-card-content"},[t("div",{staticClass:"plv-launch-product-ai-card-tips"},[e._v(" "+e._s(n.$t("launchProduct.aiCardTips"))+" ")]),n.loading?t("div",{staticClass:"plv-launch-product-ai-loading-container"},[t("img",{staticClass:"plv-launch-product-ai-loading",attrs:{src:n.aiLoading}}),t("div",{staticClass:"plv-launch-product-ai-loading-text"},[e._v(" "+e._s(n.$t("launchProduct.aiCardLoading"))+" ")])]):n.revealDone?t("div",{staticClass:"plv-launch-product-ai-card-content-inner plv-launch-product-ai-card-rich-text",domProps:{innerHTML:e._s(n.renderedHtml)}}):t("div",{staticClass:"plv-launch-product-ai-card-content-inner",staticStyle:{"white-space":"pre-wrap"}},[e._v(" "+e._s(n.revealedText)+" ")])])],2),t("div",{staticClass:"plv-launch-product-ai-card-footer"},[t("span",{staticClass:"plv-launch-product-ai-card-desc"},[e._v(e._s(n.$t("launchProduct.aiCardDesc")))]),t("div",{staticClass:"plv-launch-product-ai-card-footer-buttons"},[t("button",{staticClass:"plv-launch-product-ai-card-button",class:{"plv-launch-product-ai-card-regenerate--disbaled":!n.revealDone},attrs:{disabled:!n.revealDone},on:{click:n.regenerateAiCard}},[e._v(" "+e._s(n.$t("launchProduct.operate.reGenerate"))+" ")]),t("button",{staticClass:"plv-launch-product-ai-card-button plv-launch-product-ai-card-save",class:{"plv-launch-product-ai-card-save--disabled":!n.revealDone},attrs:{disabled:!n.revealDone},on:{click:n.saveAiCard}},[e._v(" "+e._s(n.$t("launchProduct.operate.save"))+" ")])])])])},[]).exports;const Kx=Me(e.defineComponent({__name:"mobile-product-ai-card-popup",setup(t,{expose:n}){const{$t:o}=qt(),r=e.ref(),i=e.ref(!1),a=e.ref();function s(t){return d(this,null,function*(){var n;a.value=t,i.value=!0,yield e.nextTick(),null==(n=r.value)||n.init()})}function l(){var e;null==(e=r.value)||e.reset(),i.value=!1}return Ne(bb.OpenProductAiCardPopup,s),n({open:s,close:l}),{__sfc:!0,$t:o,aiCardRef:r,visible:i,productData:a,open:s,close:l,PwcPopup:Es,uiLaunchProductEvents:bb,ProductAiCard:Xx,aiIcon:qb}}}),function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t(n.PwcPopup,{attrs:{background:"linear-gradient(145deg, #FAECF9 0%, #E4F6FF 95%)","open-event":n.uiLaunchProductEvents.OpenProductAiCardPopup,"custom-close":n.close,"fill-body":"","body-max-height":1},scopedSlots:e._u([{key:"title",fn:function(){return[t("div",[t("img",{staticClass:"plv-launch-product-ai-icon",attrs:{src:n.aiIcon}}),t("span",{staticClass:"plv-launch-product-ai-title"},[e._v(e._s(n.$t("launchProduct.operate.aiCard")))])])]},proxy:!0}]),model:{value:n.visible,callback:function(e){n.visible=e},expression:"visible"}},[t(n.ProductAiCard,{ref:"aiCardRef",attrs:{product:n.productData}})],1)},[]).exports;const Jx=Me(e.defineComponent({__name:"mobile-product-list",props:yb(),emits:{"click-add":()=>!0,"click-edit":()=>!0},setup(t,{expose:n,emit:o}){const r=t,{$t:i}=qt(),{scrollRef:a,productList:s,currentStatus:l,ProductStatus:c,upCount:u,downCount:p,keyword:d,provideData:f,isFirstFinish:h,refresh:m,refreshList:g}=wb({props:r,emit:o}),v=Yt(r),b=Sb(r),{isBatchChoice:y,choiceAll:_,clearChoice:w,toggleBatchChoice:x,choiceProductIds:C,isChecked:S,onCheckboxChange:k}=(t=>{const n=e.ref(!1),o=e.ref([]);function r(e){if(!t)return!1;const n=t.value.filter(t=>t.productId!==e);return o.value.length>0&&o.value.length<n.length}return{isBatchChoice:n,choiceProductIds:o,choiceAll:function(e){t&&(!o.value.length||r(e)?o.value=t.value.map(e=>e.productId).filter(t=>t!==e):o.value=[])},clearChoice:function(){o.value=[]},toggleBatchChoice:function(){n.value=!n.value},isChecked:function(e){return o.value.includes(e)},isAllChecked:function(e){if(!t||!t.value.length)return!1;const n=t.value.filter(t=>t.productId!==e);return o.value.length===n.length},isIndeterminate:r,onCheckboxChange:function(e,t){e?o.value.push(t):o.value=o.value.filter(e=>e!==t)}}})(s),{explainingProductId:Q,getCurrentProductExplain:E}=jb(void 0,{productListInject:f,productTargetInject:v,productSettingInject:b}),T=e.ref();const P=e.ref();return e.watch(l,()=>{y.value&&w()}),e.onMounted(()=>{E()}),n({refresh:m,refreshList:g}),{__sfc:!0,props:r,emit:o,$t:i,scrollRef:a,productList:s,currentStatus:l,ProductStatus:c,upCount:u,downCount:p,keyword:d,provideData:f,isFirstFinish:h,refresh:m,refreshList:g,productTargetInject:v,productSettingInject:b,isBatchChoice:y,choiceAll:_,clearChoice:w,toggleBatchChoice:x,choiceProductIds:C,isChecked:S,onCheckboxChange:k,explainingProductId:Q,getCurrentProductExplain:E,controlRef:T,onOpenControl:function(e){var t;null==(t=T.value)||t.open(e)},settingRef:P,openSetting:function(){var e;null==(e=P.value)||e.show()},FormInput:hg,FormSize:ig,ProductIconSearch:Oe,ProductEmpty:cm,ProductIconSetting:Le,FormCheckbox:og,MobileProductItem:zb,MobileProductControl:Ub,MobileProductBatch:Gb,MobileProductSetting:Yb,MobileProductAiCardPopup:Kx}}}),function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("div",{staticClass:"plv-launch-mobile-product-list"},[t("div",{staticClass:"plv-launch-mobile-product-list__header"},[t("div",{staticClass:"plv-launch-mobile-product-list__status",class:{"is-active":n.currentStatus===n.ProductStatus.OnSale},on:{click:function(e){n.currentStatus=n.ProductStatus.OnSale}}},[e._v(" "+e._s(n.$t("launchProduct.operate.shelf")+" ("+n.upCount+")")+" ")]),t("div",{staticClass:"plv-launch-mobile-product-list__status",class:{"is-active":n.currentStatus===n.ProductStatus.OffSale},on:{click:function(e){n.currentStatus=n.ProductStatus.OffSale}}},[e._v(" "+e._s(n.$t("launchProduct.operate.unshelf")+" ("+n.downCount+")")+" ")]),t("div",{staticClass:"plv-launch-mobile-product-list__batch-choice"},[n.isBatchChoice?e._e():t("span",{on:{click:n.toggleBatchChoice}},[e._v(e._s(n.$t("launchProduct.operate.multipleSelect")))]),n.isBatchChoice?t("span",{on:{click:function(e){return n.choiceAll(n.explainingProductId)}}},[e._v(e._s(n.$t("launchProduct.operate.allSelect",{count:n.choiceProductIds.length})))]):e._e(),n.isBatchChoice?t("span",{staticClass:"plv-launch-mobile-product-list__batch-choice-done",on:{click:n.toggleBatchChoice}},[e._v(e._s(n.$t("launchProduct.operate.finish")))]):e._e()]),n.isBatchChoice?e._e():t("div",{staticClass:"plv-launch-mobile-product-list__setting",on:{click:function(e){return n.openSetting()}}},[t(n.ProductIconSetting,{staticClass:"plv-launch-mobile-product-list__setting-icon"}),t("span",[e._v(e._s(n.$t("launchProduct.setting")))])],1)]),t("div",{staticClass:"plv-launch-mobile-product-list__search"},[t(n.FormInput,{attrs:{placeholder:n.$t("product.searchPlaceholder"),size:n.FormSize.Small},scopedSlots:e._u([{key:"prefix",fn:function(){return[t(n.ProductIconSearch,{staticClass:"plv-launch-mobile-product-list__search-icon"})]},proxy:!0}]),model:{value:n.keyword,callback:function(e){n.keyword=e},expression:"keyword"}})],1),t("div",{ref:"scrollRef",staticClass:"plv-launch-mobile-product-list__content"},[e._l(n.productList,function(e){return t(n.MobileProductItem,{key:e.productId,attrs:{product:e,"is-batch-choice":n.isBatchChoice},on:{"open-control":n.onOpenControl}},[t("div",{staticClass:"plv-launch-mobile-product-list__checkbox",class:{"is-batch-choice":n.isBatchChoice},attrs:{slot:"section-prefix"},slot:"section-prefix"},[t(n.FormCheckbox,{attrs:{circle:"",checked:n.isChecked(e.productId),disabled:n.explainingProductId===e.productId},on:{change:function(t){return n.onCheckboxChange(t,e.productId)}}})],1)])}),0===n.productList.length&&n.isFirstFinish?t(n.ProductEmpty):e._e()],2),t(n.MobileProductBatch,{attrs:{"is-batch-choice":n.isBatchChoice,"choice-product-ids":n.choiceProductIds,"show-on-shelf":n.currentStatus===n.ProductStatus.OffSale},on:{success:n.clearChoice}}),t(n.MobileProductControl,{ref:"controlRef"}),t(n.MobileProductSetting,{ref:"settingRef"}),e.enableAiCard?t(n.MobileProductAiCardPopup):e._e()],1)},[]).exports;return Me(e.defineComponent({__name:"mobile-product-list-popup",props:yb(),setup(t,{expose:n}){const o=t,r=e.ref(!1);function i(){r.value=!0}function a(){r.value=!1}return Ne(bb.OpenProductList,i),n({open:i,close:a}),{__sfc:!0,props:o,visible:r,open:i,close:a,CommonPopup:tg,MobileProductList:Jx}}}),function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t(n.CommonPopup,{attrs:{"show-header":!1},model:{value:n.visible,callback:function(e){n.visible=e},expression:"visible"}},[t(n.MobileProductList,e._b({},"mobile-product-list",n.props,!1))],1)},[]).exports}),console.log("%c@polyv/product-launch","background:#409EFF;padding: 2px 6px;border-radius: 3px;color: #fff","[component: mobile-product-list-popup]","[version: 1.5.0]","[buildTime: 2025-12-05 09:18:23]");