@toast-ui/calendar
Version:
TOAST UI Calendar
9 lines • 215 kB
JavaScript
/*!
* TOAST UI Calendar 2nd Edition
* @version 2.1.3 | Tue Aug 16 2022
* @author NHN Cloud FE Development Lab <dl_javascript@nhn.com>
* @license MIT
*/
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("tui-date-picker")):"function"==typeof define&&define.amd?define(["tui-date-picker"],t):"object"==typeof exports?exports.tui=t(require("tui-date-picker")):(e.tui=e.tui||{},e.tui.Calendar=t(e.tui.DatePicker))}(this,(function(e){return function(){var t={7111:function(e,t,n){var r=n(6733),o=n(9821),i=TypeError;e.exports=function(e){if(r(e))return e;throw i(o(e)+" is not a function")}},8505:function(e,t,n){var r=n(6733),o=String,i=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw i("Can't set "+o(e)+" as a prototype")}},9736:function(e,t,n){var r=n(95),o=n(2391),i=n(1787).f,a=r("unscopables"),l=Array.prototype;null==l[a]&&i(l,a,{configurable:!0,value:o(null)}),e.exports=function(e){l[a][e]=!0}},6637:function(e,t,n){"use strict";var r=n(966).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},1176:function(e,t,n){var r=n(5052),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw i(o(e)+" is not an object")}},9540:function(e,t,n){var r=n(905),o=n(3231),i=n(9646),a=function(e){return function(t,n,a){var l,c=r(t),s=i(c),u=o(a,s);if(e&&n!=n){for(;s>u;)if((l=c[u++])!=l)return!0}else for(;s>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},7079:function(e,t,n){var r=n(5968),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},1589:function(e,t,n){var r=n(1601),o=n(6733),i=n(7079),a=n(95)("toStringTag"),l=Object,c="Arguments"==i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=l(e),a))?n:c?i(t):"Object"==(r=i(t))&&o(t.callee)?"Arguments":r}},1590:function(e,t,n){var r=n(5968),o=Error,i=r("".replace),a=String(o("zxcasd").stack),l=/\n\s*at [^:]*:[^\n]*/,c=l.test(a);e.exports=function(e,t){if(c&&"string"==typeof e&&!o.prepareStackTrace)for(;t--;)e=i(e,l,"");return e}},7081:function(e,t,n){var r=n(8270),o=n(4826),i=n(7933),a=n(1787);e.exports=function(e,t,n){for(var l=o(t),c=a.f,s=i.f,u=0;u<l.length;u++){var d=l[u];r(e,d)||n&&r(n,d)||c(e,d,s(t,d))}}},7528:function(e,t,n){var r=n(4229);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},3723:function(e,t,n){"use strict";var r=n(693).IteratorPrototype,o=n(2391),i=n(5358),a=n(4555),l=n(5495),c=function(){return this};e.exports=function(e,t,n,s){var u=t+" Iterator";return e.prototype=o(r,{next:i(+!s,n)}),a(e,u,!1,!0),l[u]=c,e}},5762:function(e,t,n){var r=n(7400),o=n(1787),i=n(5358);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},5358:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},4768:function(e,t,n){var r=n(6733),o=n(1787),i=n(6039),a=n(8400);e.exports=function(e,t,n,l){l||(l={});var c=l.enumerable,s=void 0!==l.name?l.name:t;if(r(n)&&i(n,s,l),l.global)c?e[t]=n:a(t,n);else{try{l.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return e}},8400:function(e,t,n){var r=n(9859),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},7675:function(e,t,n){"use strict";var r=n(3103),o=n(266),i=n(4231),a=n(1805),l=n(6733),c=n(3723),s=n(7567),u=n(6540),d=n(4555),f=n(5762),p=n(4768),h=n(95),m=n(5495),g=n(693),v=a.PROPER,y=a.CONFIGURABLE,w=g.IteratorPrototype,_=g.BUGGY_SAFARI_ITERATORS,b=h("iterator"),x="keys",D="values",k="entries",S=function(){return this};e.exports=function(e,t,n,a,h,g,C){c(n,t,a);var E,I,M,N=function(e){if(e===h&&R)return R;if(!_&&e in P)return P[e];switch(e){case x:case D:case k:return function(){return new n(this,e)}}return function(){return new n(this)}},T=t+" Iterator",O=!1,P=e.prototype,A=P[b]||P["@@iterator"]||h&&P[h],R=!_&&A||N(h),L="Array"==t&&P.entries||A;if(L&&(E=s(L.call(new e)))!==Object.prototype&&E.next&&(i||s(E)===w||(u?u(E,w):l(E[b])||p(E,b,S)),d(E,T,!0,!0),i&&(m[T]=S)),v&&h==D&&A&&A.name!==D&&(!i&&y?f(P,"name",D):(O=!0,R=function(){return o(A,this)})),h)if(I={values:N(D),keys:g?R:N(x),entries:N(k)},C)for(M in I)(_||O||!(M in P))&&p(P,M,I[M]);else r({target:t,proto:!0,forced:_||O},I);return i&&!C||P[b]===R||p(P,b,R,{name:h}),m[t]=R,I}},7400:function(e,t,n){var r=n(4229);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},2635:function(e,t,n){var r=n(9859),o=n(5052),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},5694:function(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8865:function(e,t,n){var r=n(2635)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},598:function(e,t,n){var r=n(1333);e.exports=r("navigator","userAgent")||""},6358:function(e,t,n){var r,o,i=n(9859),a=n(598),l=i.process,c=i.Deno,s=l&&l.versions||c&&c.version,u=s&&s.v8;u&&(o=(r=u.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},3837:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},373:function(e,t,n){var r=n(4229),o=n(5358);e.exports=!r((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",o(1,7)),7!==e.stack)}))},3103:function(e,t,n){var r=n(9859),o=n(7933).f,i=n(5762),a=n(4768),l=n(8400),c=n(7081),s=n(6541);e.exports=function(e,t){var n,u,d,f,p,h=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[h]||l(h,{}):(r[h]||{}).prototype)for(u in t){if(f=t[u],d=e.dontCallGetSet?(p=o(n,u))&&p.value:n[u],!s(m?u:h+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;c(f,d)}(e.sham||d&&d.sham)&&i(f,"sham",!0),a(n,u,f,e)}}},4229:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},4954:function(e,t,n){"use strict";n(7950);var r=n(5968),o=n(4768),i=n(3466),a=n(4229),l=n(95),c=n(5762),s=l("species"),u=RegExp.prototype;e.exports=function(e,t,n,d){var f=l(e),p=!a((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),h=p&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[s]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return t=!0,null},n[f](""),!t}));if(!p||!h||n){var m=r(/./[f]),g=t(f,""[e],(function(e,t,n,o,a){var l=r(e),c=t.exec;return c===i||c===u.exec?p&&!a?{done:!0,value:m(t,n,o)}:{done:!0,value:l(n,t,o)}:{done:!1}}));o(String.prototype,e,g[0]),o(u,f,g[1])}d&&c(u[f],"sham",!0)}},3171:function(e,t,n){var r=n(7188),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},7188:function(e,t,n){var r=n(4229);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},266:function(e,t,n){var r=n(7188),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},1805:function(e,t,n){var r=n(7400),o=n(8270),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,l=o(i,"name"),c=l&&"something"===function(){}.name,s=l&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:l,PROPER:c,CONFIGURABLE:s}},5968:function(e,t,n){var r=n(7188),o=Function.prototype,i=o.bind,a=o.call,l=r&&i.bind(a,a);e.exports=r?function(e){return e&&l(e)}:function(e){return e&&function(){return a.apply(e,arguments)}}},1333:function(e,t,n){var r=n(9859),o=n(6733),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e]):r[e]&&r[e][t]}},5300:function(e,t,n){var r=n(7111);e.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}},17:function(e,t,n){var r=n(5968),o=n(2991),i=Math.floor,a=r("".charAt),l=r("".replace),c=r("".slice),s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,d,f){var p=n+e.length,h=r.length,m=u;return void 0!==d&&(d=o(d),m=s),l(f,m,(function(o,l){var s;switch(a(l,0)){case"$":return"$";case"&":return e;case"`":return c(t,0,n);case"'":return c(t,p);case"<":s=d[c(l,1,-1)];break;default:var u=+l;if(0===u)return o;if(u>h){var f=i(u/10);return 0===f?o:f<=h?void 0===r[f-1]?a(l,1):r[f-1]+a(l,1):o}s=r[u-1]}return void 0===s?"":s}))}},9859:function(e,t,n){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},8270:function(e,t,n){var r=n(5968),o=n(2991),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},5977:function(e){e.exports={}},3777:function(e,t,n){var r=n(1333);e.exports=r("document","documentElement")},4394:function(e,t,n){var r=n(7400),o=n(4229),i=n(2635);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},9337:function(e,t,n){var r=n(5968),o=n(4229),i=n(7079),a=Object,l=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?l(e,""):a(e)}:a},835:function(e,t,n){var r=n(6733),o=n(5052),i=n(6540);e.exports=function(e,t,n){var a,l;return i&&r(a=t.constructor)&&a!==n&&o(l=a.prototype)&&l!==n.prototype&&i(e,l),e}},8511:function(e,t,n){var r=n(5968),o=n(6733),i=n(5353),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},9679:function(e,t,n){var r=n(5052),o=n(5762);e.exports=function(e,t){r(t)&&"cause"in t&&o(e,"cause",t.cause)}},6407:function(e,t,n){var r,o,i,a=n(8694),l=n(9859),c=n(5968),s=n(5052),u=n(5762),d=n(8270),f=n(5353),p=n(4399),h=n(5977),m="Object already initialized",g=l.TypeError,v=l.WeakMap;if(a||f.state){var y=f.state||(f.state=new v),w=c(y.get),_=c(y.has),b=c(y.set);r=function(e,t){if(_(y,e))throw new g(m);return t.facade=e,b(y,e,t),t},o=function(e){return w(y,e)||{}},i=function(e){return _(y,e)}}else{var x=p("state");h[x]=!0,r=function(e,t){if(d(e,x))throw new g(m);return t.facade=e,u(e,x,t),t},o=function(e){return d(e,x)?e[x]:{}},i=function(e){return d(e,x)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!s(t)||(n=o(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return n}}}},6733:function(e){e.exports=function(e){return"function"==typeof e}},6541:function(e,t,n){var r=n(4229),o=n(6733),i=/#|\.prototype\./,a=function(e,t){var n=c[l(e)];return n==u||n!=s&&(o(t)?r(t):!!t)},l=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},s=a.NATIVE="N",u=a.POLYFILL="P";e.exports=a},5052:function(e,t,n){var r=n(6733);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},4231:function(e){e.exports=!1},9395:function(e,t,n){var r=n(1333),o=n(6733),i=n(1321),a=n(6969),l=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&i(t.prototype,l(e))}},693:function(e,t,n){"use strict";var r,o,i,a=n(4229),l=n(6733),c=n(2391),s=n(7567),u=n(4768),d=n(95),f=n(4231),p=d("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(r=o):h=!0),null==r||a((function(){var e={};return r[p].call(e)!==e}))?r={}:f&&(r=c(r)),l(r[p])||u(r,p,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},5495:function(e){e.exports={}},9646:function(e,t,n){var r=n(4237);e.exports=function(e){return r(e.length)}},6039:function(e,t,n){var r=n(4229),o=n(6733),i=n(8270),a=n(7400),l=n(1805).CONFIGURABLE,c=n(8511),s=n(6407),u=s.enforce,d=s.get,f=Object.defineProperty,p=a&&!r((function(){return 8!==f((function(){}),"length",{value:8}).length})),h=String(String).split("String"),m=e.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!i(e,"name")||l&&e.name!==t)&&(a?f(e,"name",{value:t,configurable:!0}):e.name=t),p&&n&&i(n,"arity")&&e.length!==n.arity&&f(e,"length",{value:n.arity});try{n&&i(n,"constructor")&&n.constructor?a&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=u(e);return i(r,"source")||(r.source=h.join("string"==typeof t?t:"")),e};Function.prototype.toString=m((function(){return o(this)&&d(this).source||c(this)}),"toString")},917:function(e){var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},3839:function(e,t,n){var r=n(6358),o=n(4229);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8694:function(e,t,n){var r=n(9859),o=n(6733),i=n(8511),a=r.WeakMap;e.exports=o(a)&&/native code/.test(i(a))},635:function(e,t,n){var r=n(3326);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},2391:function(e,t,n){var r,o=n(1176),i=n(219),a=n(3837),l=n(5977),c=n(3777),s=n(2635),u=n(4399),d=u("IE_PROTO"),f=function(){},p=function(e){return"<script>"+e+"</"+"script>"},h=function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t;m="undefined"!=typeof document?document.domain&&r?h(r):((t=s("iframe")).style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F):h(r);for(var n=a.length;n--;)delete m.prototype[a[n]];return m()};l[d]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f.prototype=o(e),n=new f,f.prototype=null,n[d]=e):n=m(),void 0===t?n:i.f(n,t)}},219:function(e,t,n){var r=n(7400),o=n(7137),i=n(1787),a=n(1176),l=n(905),c=n(5632);t.f=r&&!o?Object.defineProperties:function(e,t){a(e);for(var n,r=l(t),o=c(t),s=o.length,u=0;s>u;)i.f(e,n=o[u++],r[n]);return e}},1787:function(e,t,n){var r=n(7400),o=n(4394),i=n(7137),a=n(1176),l=n(9310),c=TypeError,s=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",p="writable";t.f=r?i?function(e,t,n){if(a(e),t=l(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&p in n&&!n.writable){var r=u(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:f in n?n.configurable:r.configurable,enumerable:d in n?n.enumerable:r.enumerable,writable:!1})}return s(e,t,n)}:s:function(e,t,n){if(a(e),t=l(t),a(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},7933:function(e,t,n){var r=n(7400),o=n(266),i=n(9195),a=n(5358),l=n(905),c=n(9310),s=n(8270),u=n(4394),d=Object.getOwnPropertyDescriptor;t.f=r?d:function(e,t){if(e=l(e),t=c(t),u)try{return d(e,t)}catch(e){}if(s(e,t))return a(!o(i.f,e,t),e[t])}},8151:function(e,t,n){var r=n(140),o=n(3837).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},894:function(e,t){t.f=Object.getOwnPropertySymbols},7567:function(e,t,n){var r=n(8270),o=n(6733),i=n(2991),a=n(4399),l=n(7528),c=a("IE_PROTO"),s=Object,u=s.prototype;e.exports=l?s.getPrototypeOf:function(e){var t=i(e);if(r(t,c))return t[c];var n=t.constructor;return o(n)&&t instanceof n?n.prototype:t instanceof s?u:null}},1321:function(e,t,n){var r=n(5968);e.exports=r({}.isPrototypeOf)},140:function(e,t,n){var r=n(5968),o=n(8270),i=n(905),a=n(9540).indexOf,l=n(5977),c=r([].push);e.exports=function(e,t){var n,r=i(e),s=0,u=[];for(n in r)!o(l,n)&&o(r,n)&&c(u,n);for(;t.length>s;)o(r,n=t[s++])&&(~a(u,n)||c(u,n));return u}},5632:function(e,t,n){var r=n(140),o=n(3837);e.exports=Object.keys||function(e){return r(e,o)}},9195:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},6540:function(e,t,n){var r=n(5968),o=n(1176),i=n(8505);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return o(n),i(r),t?e(n,r):n.__proto__=r,n}}():void 0)},2914:function(e,t,n){var r=n(266),o=n(6733),i=n(5052),a=TypeError;e.exports=function(e,t){var n,l;if("string"===t&&o(n=e.toString)&&!i(l=r(n,e)))return l;if(o(n=e.valueOf)&&!i(l=r(n,e)))return l;if("string"!==t&&o(n=e.toString)&&!i(l=r(n,e)))return l;throw a("Can't convert object to primitive value")}},4826:function(e,t,n){var r=n(1333),o=n(5968),i=n(8151),a=n(894),l=n(1176),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(l(e)),n=a.f;return n?c(t,n(e)):t}},6060:function(e,t,n){var r=n(1787).f;e.exports=function(e,t,n){n in e||r(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},8115:function(e,t,n){var r=n(266),o=n(1176),i=n(6733),a=n(7079),l=n(3466),c=TypeError;e.exports=function(e,t){var n=e.exec;if(i(n)){var s=r(n,e,t);return null!==s&&o(s),s}if("RegExp"===a(e))return r(l,e,t);throw c("RegExp#exec called on incompatible receiver")}},3466:function(e,t,n){"use strict";var r,o,i=n(266),a=n(5968),l=n(3326),c=n(895),s=n(5650),u=n(3036),d=n(2391),f=n(6407).get,p=n(2926),h=n(461),m=u("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,v=g,y=a("".charAt),w=a("".indexOf),_=a("".replace),b=a("".slice),x=(o=/b*/g,i(g,r=/a/,"a"),i(g,o,"a"),0!==r.lastIndex||0!==o.lastIndex),D=s.BROKEN_CARET,k=void 0!==/()??/.exec("")[1];(x||k||D||p||h)&&(v=function(e){var t,n,r,o,a,s,u,p=this,h=f(p),S=l(e),C=h.raw;if(C)return C.lastIndex=p.lastIndex,t=i(v,C,S),p.lastIndex=C.lastIndex,t;var E=h.groups,I=D&&p.sticky,M=i(c,p),N=p.source,T=0,O=S;if(I&&(M=_(M,"y",""),-1===w(M,"g")&&(M+="g"),O=b(S,p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==y(S,p.lastIndex-1))&&(N="(?: "+N+")",O=" "+O,T++),n=new RegExp("^(?:"+N+")",M)),k&&(n=new RegExp("^"+N+"$(?!\\s)",M)),x&&(r=p.lastIndex),o=i(g,I?n:p,O),I?o?(o.input=b(o.input,T),o[0]=b(o[0],T),o.index=p.lastIndex,p.lastIndex+=o[0].length):p.lastIndex=0:x&&o&&(p.lastIndex=p.global?o.index+o[0].length:r),k&&o&&o.length>1&&i(m,o[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(o[a]=void 0)})),o&&E)for(o.groups=s=d(null),a=0;a<E.length;a++)s[(u=E[a])[0]]=o[u[1]];return o}),e.exports=v},895:function(e,t,n){"use strict";var r=n(1176);e.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},5650:function(e,t,n){var r=n(4229),o=n(9859).RegExp,i=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),a=i||r((function(){return!o("a","y").sticky})),l=i||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:a,UNSUPPORTED_Y:i}},2926:function(e,t,n){var r=n(4229),o=n(9859).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},461:function(e,t,n){var r=n(4229),o=n(9859).RegExp;e.exports=r((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},8885:function(e){var t=TypeError;e.exports=function(e){if(null==e)throw t("Can't call method on "+e);return e}},4555:function(e,t,n){var r=n(1787).f,o=n(8270),i=n(95)("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!o(e,i)&&r(e,i,{configurable:!0,value:t})}},4399:function(e,t,n){var r=n(3036),o=n(1441),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},5353:function(e,t,n){var r=n(9859),o=n(8400),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},3036:function(e,t,n){var r=n(4231),o=n(5353);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.23.5",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.23.5/LICENSE",source:"https://github.com/zloirock/core-js"})},966:function(e,t,n){var r=n(5968),o=n(3329),i=n(3326),a=n(8885),l=r("".charAt),c=r("".charCodeAt),s=r("".slice),u=function(e){return function(t,n){var r,u,d=i(a(t)),f=o(n),p=d.length;return f<0||f>=p?e?"":void 0:(r=c(d,f))<55296||r>56319||f+1===p||(u=c(d,f+1))<56320||u>57343?e?l(d,f):r:e?s(d,f,f+2):u-56320+(r-55296<<10)+65536}};e.exports={codeAt:u(!1),charAt:u(!0)}},3231:function(e,t,n){var r=n(3329),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},905:function(e,t,n){var r=n(9337),o=n(8885);e.exports=function(e){return r(o(e))}},3329:function(e,t,n){var r=n(917);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},4237:function(e,t,n){var r=n(3329),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},2991:function(e,t,n){var r=n(8885),o=Object;e.exports=function(e){return o(r(e))}},2066:function(e,t,n){var r=n(266),o=n(5052),i=n(9395),a=n(5300),l=n(2914),c=n(95),s=TypeError,u=c("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var n,c=a(e,u);if(c){if(void 0===t&&(t="default"),n=r(c,e,t),!o(n)||i(n))return n;throw s("Can't convert object to primitive value")}return void 0===t&&(t="number"),l(e,t)}},9310:function(e,t,n){var r=n(2066),o=n(9395);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},1601:function(e,t,n){var r={};r[n(95)("toStringTag")]="z",e.exports="[object z]"===String(r)},3326:function(e,t,n){var r=n(1589),o=String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return o(e)}},9821:function(e){var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},1441:function(e,t,n){var r=n(5968),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},6969:function(e,t,n){var r=n(3839);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7137:function(e,t,n){var r=n(7400),o=n(4229);e.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},95:function(e,t,n){var r=n(9859),o=n(3036),i=n(8270),a=n(1441),l=n(3839),c=n(6969),s=o("wks"),u=r.Symbol,d=u&&u.for,f=c?u:u&&u.withoutSetter||a;e.exports=function(e){if(!i(s,e)||!l&&"string"!=typeof s[e]){var t="Symbol."+e;l&&i(u,e)?s[e]=u[e]:s[e]=c&&d?d(t):f(t)}return s[e]}},3949:function(e,t,n){"use strict";var r=n(1333),o=n(8270),i=n(5762),a=n(1321),l=n(6540),c=n(7081),s=n(6060),u=n(835),d=n(635),f=n(9679),p=n(1590),h=n(373),m=n(7400),g=n(4231);e.exports=function(e,t,n,v){var y="stackTraceLimit",w=v?2:1,_=e.split("."),b=_[_.length-1],x=r.apply(null,_);if(x){var D=x.prototype;if(!g&&o(D,"cause")&&delete D.cause,!n)return x;var k=r("Error"),S=t((function(e,t){var n=d(v?t:e,void 0),r=v?new x(e):new x;return void 0!==n&&i(r,"message",n),h&&i(r,"stack",p(r.stack,2)),this&&a(D,this)&&u(r,this,S),arguments.length>w&&f(r,arguments[w]),r}));if(S.prototype=D,"Error"!==b?l?l(S,k):c(S,k,{name:!0}):m&&y in x&&(s(S,x,y),s(S,x,"prepareStackTrace")),c(S,x),!g)try{D.name!==b&&i(D,"name",b),D.constructor=S}catch(e){}return S}}},9529:function(e,t,n){"use strict";var r=n(3103),o=n(9540).includes,i=n(4229),a=n(9736);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},5735:function(e,t,n){"use strict";var r=n(905),o=n(9736),i=n(5495),a=n(6407),l=n(1787).f,c=n(7675),s=n(4231),u=n(7400),d="Array Iterator",f=a.set,p=a.getterFor(d);e.exports=c(Array,"Array",(function(e,t){f(this,{type:d,target:r(e),index:0,kind:t})}),(function(){var e=p(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");var h=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!s&&u&&"values"!==h.name)try{l(h,"name",{value:"values"})}catch(e){}},3985:function(e,t,n){n(9736)("flatMap")},7694:function(e,t,n){n(9736)("flat")},1372:function(e,t,n){var r=n(3103),o=n(9859),i=n(3171),a=n(3949),l="WebAssembly",c=o.WebAssembly,s=7!==Error("e",{cause:7}).cause,u=function(e,t){var n={};n[e]=a(e,t,s),r({global:!0,constructor:!0,arity:1,forced:s},n)},d=function(e,t){if(c&&c[e]){var n={};n[e]=a("WebAssembly."+e,t,s),r({target:l,stat:!0,constructor:!0,arity:1,forced:s},n)}};u("Error",(function(e){return function(t){return i(e,this,arguments)}})),u("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),u("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),u("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),u("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),u("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),u("URIError",(function(e){return function(t){return i(e,this,arguments)}})),d("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),d("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),d("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},7950:function(e,t,n){"use strict";var r=n(3103),o=n(3466);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},5940:function(e,t,n){"use strict";var r=n(3171),o=n(266),i=n(5968),a=n(4954),l=n(4229),c=n(1176),s=n(6733),u=n(3329),d=n(4237),f=n(3326),p=n(8885),h=n(6637),m=n(5300),g=n(17),v=n(8115),y=n(95)("replace"),w=Math.max,_=Math.min,b=i([].concat),x=i([].push),D=i("".indexOf),k=i("".slice),S="$0"==="a".replace(/./,"$0"),C=!!/./[y]&&""===/./[y]("a","$0");a("replace",(function(e,t,n){var i=C?"$":"$0";return[function(e,n){var r=p(this),i=null==e?void 0:m(e,y);return i?o(i,e,r,n):o(t,f(r),e,n)},function(e,o){var a=c(this),l=f(e);if("string"==typeof o&&-1===D(o,i)&&-1===D(o,"$<")){var p=n(t,a,l,o);if(p.done)return p.value}var m=s(o);m||(o=f(o));var y=a.global;if(y){var S=a.unicode;a.lastIndex=0}for(var C=[];;){var E=v(a,l);if(null===E)break;if(x(C,E),!y)break;""===f(E[0])&&(a.lastIndex=h(l,d(a.lastIndex),S))}for(var I,M="",N=0,T=0;T<C.length;T++){for(var O=f((E=C[T])[0]),P=w(_(u(E.index),l.length),0),A=[],R=1;R<E.length;R++)x(A,void 0===(I=E[R])?I:String(I));var L=E.groups;if(m){var H=b([O],A,P,l);void 0!==L&&x(H,L);var F=f(r(o,void 0,H))}else F=g(O,l,P,A,L,o);P>=N&&(M+=k(l,N,P)+F,N=P+O.length)}return M+k(l,N)}]}),!!l((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!S||C)},6886:function(e,t,n){var r=n(9859),o=n(5694),i=n(8865),a=n(5735),l=n(5762),c=n(95),s=c("iterator"),u=c("toStringTag"),d=a.values,f=function(e,t){if(e){if(e[s]!==d)try{l(e,s,d)}catch(t){e[s]=d}if(e[u]||l(e,u,t),o[t])for(var n in a)if(e[n]!==a[n])try{l(e,n,a[n])}catch(t){e[n]=a[n]}}};for(var p in o)f(r[p]&&r[p].prototype,p);f(i,"DOMTokenList")},5368:function(e){
/*! @license DOMPurify 2.3.8 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.8/LICENSE */
e.exports=function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,n){return t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(e,n)}function n(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function r(e,o,i){return r=n()?Reflect.construct:function(e,n,r){var o=[null];o.push.apply(o,n);var i=new(Function.bind.apply(e,o));return r&&t(i,r.prototype),i},r.apply(null,arguments)}function o(e){return i(e)||a(e)||l(e)||s()}function i(e){if(Array.isArray(e))return c(e)}function a(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function l(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function s(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u=Object.hasOwnProperty,d=Object.setPrototypeOf,f=Object.isFrozen,p=Object.getPrototypeOf,h=Object.getOwnPropertyDescriptor,m=Object.freeze,g=Object.seal,v=Object.create,y="undefined"!=typeof Reflect&&Reflect,w=y.apply,_=y.construct;w||(w=function(e,t,n){return e.apply(t,n)}),m||(m=function(e){return e}),g||(g=function(e){return e}),_||(_=function(e,t){return r(e,o(t))});var b=T(Array.prototype.forEach),x=T(Array.prototype.pop),D=T(Array.prototype.push),k=T(String.prototype.toLowerCase),S=T(String.prototype.match),C=T(String.prototype.replace),E=T(String.prototype.indexOf),I=T(String.prototype.trim),M=T(RegExp.prototype.test),N=O(TypeError);function T(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return w(e,t,r)}}function O(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return _(e,n)}}function P(e,t){d&&d(e,null);for(var n=t.length;n--;){var r=t[n];if("string"==typeof r){var o=k(r);o!==r&&(f(t)||(t[n]=o),r=o)}e[r]=!0}return e}function A(e){var t,n=v(null);for(t in e)w(u,e,[t])&&(n[t]=e[t]);return n}function R(e,t){for(;null!==e;){var n=h(e,t);if(n){if(n.get)return T(n.get);if("function"==typeof n.value)return T(n.value)}e=p(e)}function r(e){return console.warn("fallback value for",e),null}return r}var L=m(["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","section","select","shadow","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"]),H=m(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),F=m(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),z=m(["animate","color-profile","cursor","discard","fedropshadow","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"]),W=m(["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"]),B=m(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),j=m(["#text"]),G=m(["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","face","for","headers","height","hidden","high","href","hreflang","id","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","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),U=m(["accent-height","accumulate","additive","alignment-baseline","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","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","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","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","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","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"]),Y=m(["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"]),V=m(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),$=g(/\{\{[\w\W]*|[\w\W]*\}\}/gm),X=g(/<%[\w\W]*|[\w\W]*%>/gm),q=g(/^data-[\-\w.\u00B7-\uFFFF]/),K=g(/^aria-[\-\w]+$/),Z=g(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),J=g(/^(?:\w+script|data):/i),Q=g(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ee=g(/^html$/i),te=function(){return"undefined"==typeof window?null:window},ne=function(t,n){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var r=null,o="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(o)&&(r=n.currentScript.getAttribute(o));var i="dompurify"+(r?"#"+r:"");try{return t.createPolicy(i,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};function re(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te(),n=function(e){return re(e)};if(n.version="2.3.8",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var r=t.document,i=t.document,a=t.DocumentFragment,l=t.HTMLTemplateElement,c=t.Node,s=t.Element,u=t.NodeFilter,d=t.NamedNodeMap,f=void 0===d?t.NamedNodeMap||t.MozNamedAttrMap:d,p=t.HTMLFormElement,h=t.DOMParser,g=t.trustedTypes,v=s.prototype,y=R(v,"cloneNode"),w=R(v,"nextSibling"),_=R(v,"childNodes"),T=R(v,"parentNode");if("function"==typeof l){var O=i.createElement("template");O.content&&O.content.ownerDocument&&(i=O.content.ownerDocument)}var oe=ne(g,r),ie=oe?oe.createHTML(""):"",ae=i,le=ae.implementation,ce=ae.createNodeIterator,se=ae.createDocumentFragment,ue=ae.getElementsByTagName,de=r.importNode,fe={};try{fe=A(i).documentMode?i.documentMode:{}}catch(e){}var pe={};n.isSupported="function"==typeof T&&le&&void 0!==le.createHTMLDocument&&9!==fe;var he,me,ge=$,ve=X,ye=q,we=K,_e=J,be=Q,xe=Z,De=null,ke=P({},[].concat(o(L),o(H),o(F),o(W),o(j))),Se=null,Ce=P({},[].concat(o(G),o(U),o(Y),o(V))),Ee=Object.seal(Object.create(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}})),Ie=null,Me=null,Ne=!0,Te=!0,Oe=!1,Pe=!1,Ae=!1,Re=!1,Le=!1,He=!1,Fe=!1,ze=!1,We=!0,Be=!0,je=!1,Ge={},Ue=null,Ye=P({},["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"]),Ve=null,$e=P({},["audio","video","img","source","image","track"]),Xe=null,qe=P({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ke="http://www.w3.org/1998/Math/MathML",Ze="http://www.w3.org/2000/svg",Je="http://www.w3.org/1999/xhtml",Qe=Je,et=!1,tt=["application/xhtml+xml","text/html"],nt="text/html",rt=null,ot=i.createElement("form"),it=function(e){return e instanceof RegExp||e instanceof Function},at=function(t){rt&&rt===t||(t&&"object"===e(t)||(t={}),t=A(t),De="ALLOWED_TAGS"in t?P({},t.ALLOWED_TAGS):ke,Se="ALLOWED_ATTR"in t?P({},t.ALLOWED_ATTR):Ce,Xe="ADD_URI_SAFE_ATTR"in t?P(A(qe),t.ADD_URI_SAFE_ATTR):qe,Ve="ADD_DATA_URI_TAGS"in t?P(A($e),t.ADD_DATA_URI_TAGS):$e,Ue="FORBID_CONTENTS"in t?P({},t.FORBID_CONTENTS):Ye,Ie="FORBID_TAGS"in t?P({},t.FORBID_TAGS):{},Me="FORBID_ATTR"in t?P({},t.FORBID_ATTR):{},Ge="USE_PROFILES"in t&&t.USE_PROFILES,Ne=!1!==t.ALLOW_ARIA_ATTR,Te=!1!==t.ALLOW_DATA_ATTR,Oe=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Pe=t.SAFE_FOR_TEMPLATES||!1,Ae=t.WHOLE_DOCUMENT||!1,He=t.RETURN_DOM||!1,Fe=t.RETURN_DOM_FRAGMENT||!1,ze=t.RETURN_TRUSTED_TYPE||!1,Le=t.FORCE_BODY||!1,We=!1!==t.SANITIZE_DOM,Be=!1!==t.KEEP_CONTENT,je=t.IN_PLACE||!1,xe=t.ALLOWED_URI_REGEXP||xe,Qe=t.NAMESPACE||Je,t.CUSTOM_ELEMENT_HANDLING&&it(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ee.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&it(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ee.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ee.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),he=he=-1===tt.indexOf(t.PARSER_MEDIA_TYPE)?nt:t.PARSER_MEDIA_TYPE,me="application/xhtml+xml"===he?function(e){return e}:k,Pe&&(Te=!1),Fe&&(He=!0),Ge&&(De=P({},o(j)),Se=[],!0===Ge.html&&(P(De,L),P(Se,G)),!0===Ge.svg&&(P(De,H),P(Se,U),P(Se,V)),!0===Ge.svgFilters&&(P(De,F),P(Se,U),P(Se,V)),!0===Ge.mathMl&&(P(De,W),P(Se,Y),P(Se,V))),t.ADD_TAGS&&(De===ke&&(De=A(De)),P(De,t.ADD_TAGS)),t.ADD_ATTR&&(Se===Ce&&(Se=A(Se)),P(Se,t.ADD_ATTR)),t.ADD_URI_SAFE_ATTR&&P(Xe,t.ADD_URI_SAFE_ATTR),t.FORBID_CONTENTS&&(Ue===Ye&&(Ue=A(Ue)),P(Ue,t.FORBID_CONTENTS)),Be&&(De["#text"]=!0),Ae&&P(De,["html","head","body"]),De.table&&(P(De,["tbody"]),delete Ie.tbody),m&&m(t),rt=t)},lt=P({},["mi","mo","mn","ms","mtext"]),ct=P({},["foreignobject","desc","title","annotation-xml"]),st=P({},["title","style","font","a","script"]),ut=P({},H);P(ut,F),P(ut,z);var dt=P({},W);P(dt,B);var ft=function(e){var t=T(e);t&&t.tagName||(t={namespaceURI:Je,tagName:"template"});var n=k(e.tagName),r=k(t.tagName);return e.namespaceURI===Ze?t.namespaceURI===Je?"svg"===n:t.namespaceURI===Ke?"svg"===n&&("annotation-xml"===r||lt[r]):Boolean(ut[n]):e.namespaceURI===Ke?t.namespaceURI===Je?"math"===n:t.namespaceURI===Ze?"math"===n&&ct[r]:Boolean(dt[n]):e.namespaceURI===Je&&!(t.namespaceURI===Ze&&!ct[r])&&!(t.namespaceURI===Ke&&!lt[r])&&!dt[n]&&(st[n]||!ut[n])},pt=function(e){D(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ie}catch(t){e.remove()}}},ht=function(e,t){try{D(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){D(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Se[e])if(He||Fe)try{pt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},mt=function(e){var t,n;if(Le)e="<remove></remove>"+e;else{var r=S(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===he&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var o=oe?oe.createHTML(e):e;if(Qe===Je)try{t=(new h).parseFromString(o,he)}catch(e){}if(!t||!t.documentElement){t=le.createDocument(Qe,"template",null);try{t.documentElement.innerHTML=et?"":o}catch(e){}}var a=t.body||t.documentElement;return e&&n&&a.insertBefore(i.createTextNode(n),a.childNodes[0]||null),Qe===Je?ue.call(t,Ae?"html":"body")[0]:Ae?t.documentElement:a},gt=function(e){return ce.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT,null,!1)},vt=function(e){return e instanceof p&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof f)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore)},yt=function(t){return"object"===e(c)?t instanceof c:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},wt=function(e,t,r){pe[e]&&b(pe[e],(function(e){e.call(n,t,r,rt)}))},_t=function(e){var t;if(wt("beforeSanitizeElements",e,null),vt(e))return pt(e),!0;if(M(/[\u0080-\uFFFF]/,e.nodeName))return pt(e),!0;var r=me(e.nodeName);if(wt("uponSanitizeElement",e,{tagName:r,allowedTags:De}),e.hasChildNodes()&&!yt(e.firstElementChild)&&(!yt(e.content)||!yt(e.content.firstElementChild))&&M(/<[/\w]/g,e.innerHTML)&&M(/<[/\w]/g,e.textContent))return pt(e),!0;if("select"===r&&M(/<template/i,e.innerHTML))return pt(e),!0;if(!De[r]||Ie[r]){if(!Ie[r]&&xt(r)){if(Ee.tagNameCheck instanceof RegExp&&M(Ee.tagNameCheck,r))return!1;if(Ee.tagNameCheck instanceof Function&&Ee.tagNameCheck(r))return!1}if(Be&&!Ue[r]){var o=T(e)||e.parentNode,i=_(e)||e.childNodes;if(i&&o)for(var a=i.length-1;a>=0;--a)o.insertBefore(y(i[a],!0),w(e))}return pt(e),!0}return e instanceof s&&!ft(e)?(pt(e),!0):"noscript"!==r&&"noembed"!==r||!M(/<\/no(script|embed)/i,e.innerHTML)?(Pe&&3===e.nodeType&&(t=e.textContent,t=C(t,ge," "),t=C(t,ve," "),e.textContent!==t&&(D(n.removed,{element:e.cloneNode()}),e.textContent=t)),wt("afterSanitizeElements",e,null),!1):(pt(e),!0)},bt=function(e,t,n){if(We&&("id"===t||"name"===t)&&(n in i||n in ot))return!1;if(Te&&!Me[t]&&M(ye,t));else if(Ne&&M(we,t));else if(!Se[t]||Me[t]){if(!(xt(e)&&(Ee.tagNameCheck instanceof RegExp&&M(Ee.tagNameCheck,e)||Ee.tagNameCheck instanceof Function&&Ee.tagNameCheck(e))&&(Ee.attributeNameCheck instanceof RegExp&&M(Ee.attributeNameCheck,t)||Ee.attributeNameCheck instanceof Function&&Ee.attributeNameCheck(t))||"is"===t&&Ee.allowCustomizedBuiltInElements&&(Ee.tagNameCheck instanceof RegExp&&M(Ee.tagNameCheck,n)||Ee.tagNameCheck instanceof Function&&Ee.tagNameCheck(n))))return!1}else if(Xe[t]);else if(M(xe,C(n,be,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==E(n,"data:")||!Ve[e])if(Oe&&!M(_e,C(n,be,"")));else if(n)return!1;return!0},xt=function(e){return e.indexOf("-")>0},Dt=function(e){var t,r,o,i;wt("beforeSanitizeAttributes",e,null);var a=e.attributes;if(a){var l={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se};for(i=a.length;i--;){var c=t=a[i],s=c.name,u=c.namespaceURI;if(r="value"===s?t.value:I(t.value),o=me(s),l.attrName=o,l.attrValue=r,l.keepAttr=!0,l.forceKeepAttr=void 0,wt("uponSanitizeAttribute",e,l),r=l.attrValue,!l.forceKeepAttr&&(ht(s,e),l.keepAttr))if(M(/\/>/i,r))ht(s,e);else{Pe&&(r=C(r,ge," "),r=C(r,ve," "));var d=me(e.nodeName);if(bt(d,o,r))try{u?e.setAttributeNS(u,s,r):e.setAttribute(s,r),x(n.removed)}catch(e){}}}wt("afterSanitizeAttributes",e,null)}},kt=function e(t){var n,r=gt(t);for(wt("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)wt("uponSanitizeShadowNode",n,null),_t(n)||(n.content instanceof a&&e(n.content),Dt(n));wt("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(o,i){var l,s,u,d,f;if((et=!o)&&(o="\x3c!--\x3e"),"string"!=typeof o&&!yt(o)){if("function"!=typeof o.toString)throw N("toString is not a function");if("string"!=typeof(o=o.toString()))throw N("dirty is not a string, aborting")}if(!n.isSupported){if("object"===e(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof o)return t.toStaticHTML(o);if(yt(o))return t.toStaticHTML(o.outerHTML)}return o}if(Re||at(i),n.removed=[],"string"==typeof o&&(je=!1),je){if(o.nodeName){var p=me(o.nodeName);if(!De[p]||Ie[p])throw N("root node is forbidden and cannot be sanitized in-place")}}else if(o instanceof c)1===(s=(l=mt("\x3c!----\x3e")).ownerDocument.importNode(o,!0)).nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?l=s:l.appendChild(s);else{if(!He&&!Pe&&!Ae&&-1===o.indexOf("<"))return oe&&ze?oe.createHTML(o):o;if(!(l=mt(o)))return He?null:ze?ie:""}l&&Le&&pt(l.firstChild);for(var h=gt(je?o:l);u=h.nextNode();)3===u.nodeType&&u===d||_t(u)||(u.content instanceof a&&kt(u.content),Dt(u),d=u);if(d=null,je)return o;if(He){if(Fe)for(f=se.call(l.ownerDocument);l.firstChild;)f.appendChild(l.firstChild);else f=l;return Se.shadowroot&&(f=de.call(r,f,!0)),f}var m=Ae?l.outerHTML:l.innerHTML;return Ae&&De["!doctype"]&&l.ownerDocument&&l.ownerDocument.doctype&&l.ownerDocument.doctype.name&&M(ee,l.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+l.ownerDocument.doctype.name+">\n"+m),Pe&&(m=C(m,ge," "),m=C(m,ve," ")),oe&&ze?oe.createHTML(m):m},n.setConfig=function(e){at(e),Re=!0},n.clearConfig=function(){rt=null,Re=!1},n.isValidAttribute=function(e,t,n){rt||at({});var r=me(e),o=me(t);return bt(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&(pe[e]=pe[e]||[],D(pe[e],t))},n.removeHook=function(e){if(pe[e])return x(pe[e])},n.removeHooks=function(e){pe[e]&&(pe[e]=[])},n.removeAllHooks=function(){pe={}},n}return re()}()},4304:function(e,t,n){e.exports=window.DOMPurify||(window.DOMPurify=n(5368).default||n(5368))},7386:function(e,t,n){"use strict";var r=n(3929);e.exports=function(e,t,n){var o,i=[];for(r(t)&&(t=e||0,e=0),t*=o=(n=n||1)<0?-1:1;e*o<t;e+=n)i.push(e);return i}},1690:function(e,t,n){"use strict";var r=n(7322),o=n(893),i=n(6956);e.exports=function(e,t,n){r(e)?o(e,t,n):i(e,t,n)}},893:function(e){"use strict";e.exports=function(e,t,n){var r=0,o=e.length;for(n=n||null;r<o&&!1!==t.call(n,e[r],r,e);r+=1);}},6956:function(e){"use strict";e.exports=function(e,t,n){var r;for(r in n=n||null,e)if(e.hasOwnProperty(r)&&!1===t.call(n,e[r],r,e))break}},2278:function(e,t,n){"use strict";var r=n(7969),o=n(7065),i=n(758),a=n(5758),l=n(7322),c=n(4294),s=n(1690),u=/\s+/g;function d(){this.events=null,this.contexts=null}d.mixin=function(e){r(e.prototype,d.prototype)},d.prototype._getHandlerItem=function(e,t){var n={handler:e};return t&&(n.context=t),n},d.prototype._safeEvent=function(e){var t,n=this.events;return n||(n=this.events={}),e&&((t=n[e])||(t=[],n[e]=t),n=t),n},d.prototype._safeContext=function(){var e=this.contexts;return e||(e=this.contexts=[]),e},d.prototype._indexOfContext=function(e){for(var t=this._safeContext(),n=0;t[n];){if(e===t[n][0])return n;n+=1}return-1},d.prototype._memorizeContext=function(e){var t,n;o(e)&&(t=this._safeContext(),(n=this._indexOfContext(e))>-1?t[n][1]+=1:t.push([e,1]))},d.prot