PageSourceSearch

https://langfordplanning.com/application/js/dist/t9n/t9n.bundle.js?_v=2.70.24.0

js langfordplanning.com collected 2026-09-30 13:55:54 UTC 81,588 bytes, 5 lines download raw bytes

1/*! For license information please see t9n.bundle.js.LICENSE.txt */
2
3!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="36efde71-a5da-56c2-80a5-3760bbf33eb4")}catch(e){}}();
4var T9N;(()=>{"use strict";var t={9306(t,e,n){var r=n(4901),o=n(6823),i=TypeError;t.exports=function(t){if(r(t))return t;throw new i(o(t)+" is not a function")}},6194(t,e,n){var r=n(2248).has;t.exports=function(t){return r(t),t}},7080(t,e,n){var r=n(4402).has;t.exports=function(t){return r(t),t}},6469(t,e,n){var r=n(8227),o=n(2360),i=n(4913).f,a=r("unscopables"),c=Array.prototype;void 0===c[a]&&i(c,a,{configurable:!0,value:o(null)}),t.exports=function(t){c[a][t]=!0}},8551(t,e,n){var r=n(34),o=String,i=TypeError;t.exports=function(t){if(r(t))return t;throw new i(o(t)+" is not an object")}},9617(t,e,n){var r=n(5397),o=n(5610),i=n(6198),a=function(t){return function(e,n,a){var c=r(e),s=i(c);if(0===s)return!t&&-1;var u,l=o(a,s);if(t&&n!=n){for(;s>l;)if((u=c[l++])!=u)return!0}else for(;s>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},2195(t,e,n){var r=n(9504),o=r({}.toString),i=r("".slice);t.exports=function(t){return i(o(t),8,-1)}},6955(t,e,n){var r=n(2140),o=n(4901),i=n(2195),a=n(8227)("toStringTag"),c=Object,s="Arguments"===i(function(){return arguments}());t.exports=r?i:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=c(t),a))?n:s?i(e):"Object"===(r=i(e))&&o(e.callee)?"Arguments":r}},7740(t,e,n){var r=n(9297),o=n(5031),i=n(7347),a=n(4913);t.exports=function(t,e,n){for(var c=o(e),s=a.f,u=i.f,l=0;l<c.length;l++){var f=c[l];r(t,f)||n&&r(n,f)||s(t,f,u(e,f))}}},6699(t,e,n){var r=n(3724),o=n(4913),i=n(6980);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},6980(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6840(t,e,n){var r=n(4901),o=n(4913),i=n(283),a=n(9433);t.exports=function(t,e,n,c){c||(c={});var s=c.enumerable,u=void 0!==c.name?c.name:e;if(r(n)&&i(n,u,c),c.global)s?t[e]=n:a(e,n);else{try{c.unsafe?t[e]&&(s=!0):delete t[e]}catch(t){}s?t[e]=n:o.f(t,e,{value:n,enumerable:!1,configurable:!c.nonConfigurable,writable:!c.nonWritable})}return t}},9433(t,e,n){var r=n(4576),o=Object.defineProperty;t.exports=function(t,e){try{o(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},3724(t,e,n){var r=n(9039);t.exports=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},4055(t,e,n){var r=n(4576),o=n(34),i=r.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},8727(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2839(t,e,n){var r=n(4576).navigator,o=r&&r.userAgent;t.exports=o?String(o):""},9519(t,e,n){var r,o,i=n(4576),a=n(2839),c=i.process,s=i.Deno,u=c&&c.versions||s&&s.version,l=u&&u.v8;l&&(o=(r=l.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]),t.exports=o},6518(t,e,n){var r=n(4576),o=n(7347).f,i=n(6699),a=n(6840),c=n(9433),s=n(7740),u=n(2796);t.exports=function(t,e){var n,l,f,p,d,h=t.target,m=t.global,g=t.stat;
vendor: 4,081 bytes, line 4
4if(n=m?r:g?r[h]||c(h,{}):r[h]&&r[h].prototype)for(l in e){if(p=e[l],f=t.dontCallGetSet?(d=o(n,l))&&d.value:n[l],!u(m?l:h+(g?".":"#")+l,t.forced)&&void 0!==f){if(typeof p==typeof f)continue;s(p,f)}(t.sham||f&&f.sham)&&i(p,"sham",!0),a(n,l,p,t)}}},9039(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},6080(t,e,n){var r=n(7476),o=n(9306),i=n(616),a=r(r.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?a(t,e):function(){return t.apply(e,arguments)}}},616(t,e,n){var r=n(9039);t.exports=!r(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},9565(t,e,n){var r=n(616),o=Function.prototype.call;t.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},350(t,e,n){var r=n(3724),o=n(9297),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,c=o(i,"name"),s=c&&"something"===function(){}.name,u=c&&(!r||r&&a(i,"name").configurable);t.exports={EXISTS:c,PROPER:s,CONFIGURABLE:u}},6706(t,e,n){var r=n(9504),o=n(9306);t.exports=function(t,e,n){try{return r(o(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(t){}}},7476(t,e,n){var r=n(2195),o=n(9504);t.exports=function(t){if("Function"===r(t))return o(t)}},9504(t,e,n){var r=n(616),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);t.exports=r?a:function(t){return function(){return i.apply(t,arguments)}}},7751(t,e,n){var r=n(4576),o=n(4901);t.exports=function(t,e){return arguments.length<2?(n=r[t],o(n)?n:void 0):r[t]&&r[t][e];var n}},1767(t){t.exports=function(t){return{iterator:t,next:t.next,done:!1}}},851(t,e,n){var r=n(6955),o=n(5966),i=n(4117),a=n(6269),c=n(8227)("iterator");t.exports=function(t){if(!i(t))return o(t,c)||o(t,"@@iterator")||a[r(t)]}},81(t,e,n){var r=n(9565),o=n(9306),i=n(8551),a=n(6823),c=n(851),s=TypeError;t.exports=function(t,e){var n=arguments.length<2?c(t):e;if(o(n))return i(r(n,t));throw new s(a(t)+" is not iterable")}},5966(t,e,n){var r=n(9306),o=n(4117);t.exports=function(t,e){var n=t[e];return o(n)?void 0:r(n)}},3789(t,e,n){var r=n(9306),o=n(8551),i=n(9565),a=n(1291),c=n(1767),s="Invalid size",u=RangeError,l=TypeError,f=Math.max,p=function(t,e){this.set=t,this.size=f(e,0),this.has=r(t.has),this.keys=r(t.keys)};p.prototype={getIterator:function(){return c(o(i(this.keys,this.set)))},includes:function(t){return i(this.has,this.set,t)}},t.exports=function(t){o(t);var e=+t.size;if(e!=e)throw new l(s);var n=a(e);if(n<0)throw new u(s);return new p(t,n)}},4576(t,e,n){var r=function(t){return t&&t.Math===Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297(t,e,n){var r=n(9504),o=n(8981),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},421(t){t.exports={}},397(t,e,n){var r=n(7751);t.exports=r("document","documentElement")},5917(t,e,n){var r=n(3724),o=n(9039),i=n(4055);t.exports=!r&&!o(function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},7055(t,e,n){var r=n(9504),o=n(9039),i=n(2195),a=Object,c=r("".split);t.exports=o(function(){return!a("z").propertyIsEnumerable(0)})?function(t){return"String"===i(t)?c(t,""):a(t)}:a},3706(t,e,n){var r=n(9504),o=n(4901),i=n(7629),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},1181(t,e,n){var r,o,i,a=n(8622),c=n(4576),s=n(34),u=n(6699),l=n(9297),f=n(7629),p=n(6119),d=n(421),h="Object already initialized",m=c.TypeError,g=c.WeakMap;if(a||f.state){var y=f.state||(f.state=new g);y.get=y.get,y.has=y.has,y.set=y.set,r=function(t,e){if(y.has(t))throw new m(h);return e.facade=t,y.set(t,e),e},o=function(t){return y.get(t)||{}},i=function(t){return y.has(t)}}else{var v=p("state");d[v]=!0,r=function(t,e){if(l(t,v))throw new m(h);return e.facade=t,u(t,v,e),e},o=function(t){return l(t,v)?t[v]:{}},i=function(t){return l(t,v)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;
4if(!s(e)||(n=o(e)).type!==t)throw new m("Incompatible receiver, "+t+" required");return n}}}},4209(t,e,n){var r=n(8227),o=n(6269),i=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},4901(t){var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},2796(t,e,n){var r=n(9039),o=n(4901),i=/#|\.prototype\./,a=function(t,e){var n=s[c(t)];return n===l||n!==u&&(o(e)?r(e):!!e)},c=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},s=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";t.exports=a},1563(t,e,n){var r=n(6955),o=n(9297),i=n(4117),a=n(8227),c=n(6269),s=a("iterator"),u=Object;t.exports=function(t){if(i(t))return!1;var e=u(t);return void 0!==e[s]||"@@iterator"in e||o(c,r(e))}},4117(t){t.exports=function(t){return null==t}},34(t,e,n){var r=n(4901);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},6395(t){t.exports=!1},757(t,e,n){var r=n(7751),o=n(4901),i=n(1625),a=n(7040),c=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return o(e)&&i(e.prototype,c(t))}},507(t,e,n){var r=n(9565);t.exports=function(t,e,n){for(var o,i,a=n?t:t.iterator,c=t.next;!(o=r(c,a)).done;)if(void 0!==(i=e(o.value)))return i}},2652(t,e,n){var r=n(6080),o=n(9565),i=n(8551),a=n(6823),c=n(4209),s=n(6198),u=n(1625),l=n(81),f=n(851),p=n(9539),d=TypeError,h=function(t,e){this.stopped=t,this.result=e},m=h.prototype;t.exports=function(t,e,n){var g,y,v,b,E,T,N,w=n&&n.that,O=!(!n||!n.AS_ENTRIES),S=!(!n||!n.IS_RECORD),A=!(!n||!n.IS_ITERATOR),x=!(!n||!n.INTERRUPTED),_=r(e,w),D=function(t){var e=g;return g=void 0,e&&p(e,"normal"),new h(!0,t)},C=function(t){return O?(i(t),x?_(t[0],t[1],D):_(t[0],t[1])):x?_(t,D):_(t)};if(S)g=t.iterator;else if(A)g=t;else{if(!(y=f(t)))throw new d(a(t)+" is not iterable");if(c(y)){for(v=0,b=s(t);b>v;v++)if((E=C(t[v]))&&u(m,E))return E;return new h(!1)}g=l(t,y)}for(T=S?t.next:g.next;!(N=o(T,g)).done;){var I=N.value;try{E=C(I)}catch(t){if(!g)throw t;p(g,"throw",t)}if("object"==typeof E&&E&&u(m,E))return E}return new h(!1)}},9539(t,e,n){var r=n(9565),o=n(8551),i=n(5966);t.exports=function(t,e,n){var a,c;o(t);try{if(!(a=i(t,"return"))){if("throw"===e)throw n;return n}a=r(a,t)}catch(t){c=!0,a=t}if("throw"===e)throw n;if(c)throw a;return o(a),n}},6269(t){t.exports={}},6198(t,e,n){var r=n(8014);t.exports=function(t){return r(t.length)}},283(t,e,n){var r=n(9504),o=n(9039),i=n(4901),a=n(9297),c=n(3724),s=n(350).CONFIGURABLE,u=n(3706),l=n(1181),f=l.enforce,p=l.get,d=String,h=Object.defineProperty,m=r("".slice),g=r("".replace),y=r([].join),v=c&&!o(function(){return 8!==h(function(){},"length",{value:8}).length}),b=String(String).split("String"),E=t.exports=function(t,e,n){"Symbol("===m(d(e),0,7)&&(e="["+g(d(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!a(t,"name")||s&&t.name!==e)&&(c?h(t,"name",{value:e,configurable:!0}):t.name=e),v&&n&&a(n,"arity")&&t.length!==n.arity&&h(t,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?c&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var r=f(t);return a(r,"source")||(r.source=y(b,"string"==typeof e?e:"")),t};Function.prototype.toString=E(function(){return i(this)&&p(this).source||u(this)},"toString")},2248(t,e,n){var r=n(9504),o=Map.prototype;t.exports={Map,set:r(o.set),get:r(o.get),has:r(o.has),remove:r(o.delete),proto:o}},6223(t,e,n){var r=n(9504),o=n(507),i=n(2248),a=i.Map,c=i.proto,s=r(c.forEach),u=r(c.entries),l=u(new a).next;t.exports=function(t,e,n){return n?o({iterator:u(t),next:l},function(t){return e(t[1],t[0])}):s(t,e)}},741(t){var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?n:e)(r)}},2360(t,e,n){var r,o=n(8551),i=n(6801),a=n(8727),c=n(421),s=n(397),u=n(4055),l=n(6119),f="prototype",p="script",d=l("IE_PROTO"),h=function(){},m=function(t){return"<"+p+">"+t+"</"+p+">"},g=function(t){t.write(m("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,e,n;y="undefined"!=typeof document?document.domain&&r?g(r):(e=u("iframe"),n="java"+p+":",e.style.display="none",s.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(m("document.F=Object")),t.close(),t.F):g(r);for(var o=a.length;o--;)delete y[f][a[o]];return y()};
vendor: 1,528 bytes, line 4
4c[d]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(h[f]=o(t),n=new h,h[f]=null,n[d]=t):n=y(),void 0===e?n:i.f(n,e)}},6801(t,e,n){var r=n(3724),o=n(8686),i=n(4913),a=n(8551),c=n(5397),s=n(1072);e.f=r&&!o?Object.defineProperties:function(t,e){a(t);for(var n,r=c(e),o=s(e),u=o.length,l=0;u>l;)i.f(t,n=o[l++],r[n]);return t}},4913(t,e,n){var r=n(3724),o=n(5917),i=n(8686),a=n(8551),c=n(6969),s=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";e.f=r?i?function(t,e,n){if(a(t),e=c(e),a(n),"function"==typeof t&&"prototype"===e&&"value"in n&&d in n&&!n[d]){var r=l(t,e);r&&r[d]&&(t[e]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:f in n?n[f]:r[f],writable:!1})}return u(t,e,n)}:u:function(t,e,n){if(a(t),e=c(e),a(n),o)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw new s("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},7347(t,e,n){var r=n(3724),o=n(9565),i=n(8773),a=n(6980),c=n(5397),s=n(6969),u=n(9297),l=n(5917),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=c(t),e=s(e),l)try{return f(t,e)}catch(t){}if(u(t,e))return a(!o(i.f,t,e),t[e])}},8480(t,e,n){var r=n(1828),o=n(8727).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},3717(t,e){e.f=Object.getOwnPropertySymbols},1625(t,e,n){var r=n(9504);t.exports=r({}.isPrototypeOf)},1828(t,e,n){var r=n(9504),o=n(9297),i=n(5397),a=n(9617).indexOf,c=n(421),s=r([].push);t.exports=function(t,e){var n,r=i(t),u=0,l=[];
vendor: 6,107 bytes, line 4
4for(n in r)!o(c,n)&&o(r,n)&&s(l,n);for(;e.length>u;)o(r,n=e[u++])&&(~a(l,n)||s(l,n));return l}},1072(t,e,n){var r=n(1828),o=n(8727);t.exports=Object.keys||function(t){return r(t,o)}},8773(t,e){var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},4270(t,e,n){var r=n(9565),o=n(4901),i=n(34),a=TypeError;t.exports=function(t,e){var n,c;if("string"===e&&o(n=t.toString)&&!i(c=r(n,t)))return c;if(o(n=t.valueOf)&&!i(c=r(n,t)))return c;if("string"!==e&&o(n=t.toString)&&!i(c=r(n,t)))return c;throw new a("Can't convert object to primitive value")}},5031(t,e,n){var r=n(7751),o=n(9504),i=n(8480),a=n(3717),c=n(8551),s=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(c(t)),n=a.f;return n?s(e,n(t)):e}},7750(t,e,n){var r=n(4117),o=TypeError;t.exports=function(t){if(r(t))throw new o("Can't call method on "+t);return t}},3317(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},9286(t,e,n){var r=n(4402),o=n(8469),i=r.Set,a=r.add;t.exports=function(t){var e=new i;return o(t,function(t){a(e,t)}),e}},3440(t,e,n){var r=n(7080),o=n(4402),i=n(9286),a=n(5170),c=n(3789),s=n(8469),u=n(507),l=o.has,f=o.remove;t.exports=function(t){var e=r(this),n=c(t),o=i(e);return a(o)<=n.size?s(o,function(t){n.includes(t)&&f(o,t)}):u(n.getIterator(),function(t){l(o,t)&&f(o,t)}),o}},4402(t,e,n){var r=n(9504),o=Set.prototype;t.exports={Set,add:r(o.add),has:r(o.has),remove:r(o.delete),proto:o}},8750(t,e,n){var r=n(7080),o=n(4402),i=n(5170),a=n(3789),c=n(8469),s=n(507),u=o.Set,l=o.add,f=o.has;t.exports=function(t){var e=r(this),n=a(t),o=new u;return i(e)>n.size?s(n.getIterator(),function(t){f(e,t)&&l(o,t)}):c(e,function(t){n.includes(t)&&l(o,t)}),o}},4449(t,e,n){var r=n(7080),o=n(4402).has,i=n(5170),a=n(3789),c=n(8469),s=n(507),u=n(9539);t.exports=function(t){var e=r(this),n=a(t);if(i(e)<=n.size)return!1!==c(e,function(t){if(n.includes(t))return!1},!0);var l=n.getIterator();return!1!==s(l,function(t){if(o(e,t))return u(l.iterator,"normal",!1)})}},3838(t,e,n){var r=n(7080),o=n(5170),i=n(8469),a=n(3789);t.exports=function(t){var e=r(this),n=a(t);return!(o(e)>n.size)&&!1!==i(e,function(t){if(!n.includes(t))return!1},!0)}},8527(t,e,n){var r=n(7080),o=n(4402).has,i=n(5170),a=n(3789),c=n(507),s=n(9539);t.exports=function(t){var e=r(this),n=a(t);if(i(e)<n.size)return!1;var u=n.getIterator();return!1!==c(u,function(t){if(!o(e,t))return s(u.iterator,"normal",!1)})}},8469(t,e,n){var r=n(9504),o=n(507),i=n(4402),a=i.Set,c=i.proto,s=r(c.forEach),u=r(c.keys),l=u(new a).next;t.exports=function(t,e,n){return n?o({iterator:u(t),next:l},e):s(t,e)}},5170(t,e,n){var r=n(6706),o=n(4402);t.exports=r(o.proto,"size","get")||function(t){return t.size}},3650(t,e,n){var r=n(7080),o=n(4402),i=n(9286),a=n(3789),c=n(507),s=o.add,u=o.has,l=o.remove;t.exports=function(t){var e=r(this),n=a(t).getIterator(),o=i(e);return c(n,function(t){u(e,t)?l(o,t):s(o,t)}),o}},4204(t,e,n){var r=n(7080),o=n(4402).add,i=n(9286),a=n(3789),c=n(507);t.exports=function(t){var e=r(this),n=a(t).getIterator(),s=i(e);return c(n,function(t){o(s,t)}),s}},6119(t,e,n){var r=n(5745),o=n(3392),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},7629(t,e,n){var r=n(6395),o=n(4576),i=n(9433),a="__core-js_shared__",c=t.exports=o[a]||i(a,{});(c.versions||(c.versions=[])).push({version:"3.49.0",mode:r?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"})},5745(t,e,n){var r=n(7629);t.exports=function(t,e){return r[t]||(r[t]=e||{})}},4495(t,e,n){var r=n(9519),o=n(9039),i=n(4576).String;t.exports=!!Object.getOwnPropertySymbols&&!o(function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41})},5610(t,e,n){var r=n(1291),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},5397(t,e,n){var r=n(7055),o=n(7750);t.exports=function(t){return r(o(t))}},1291(t,e,n){var r=n(741);t.exports=function(t){var e=+t;return e!=e||0===e?0:r(e)}},8014(t,e,n){var r=n(1291),o=Math.min;t.exports=function(t){var e=r(t);return e>0?o(e,9007199254740991):0}},8981(t,e,n){var r=n(7750),o=Object;t.exports=function(t){return o(r(t))}},2777(t,e,n){var r=n(9565),o=n(34),i=n(757),a=n(5966),c=n(4270),s=n(8227),u=TypeError,l=s("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var n,s=a(t,l);if(s){if(void 0===e&&(e="default"),n=r(s,t,e),!o(n)||i(n))return n;throw new u("Can't convert object to primitive value")}return void 0===e&&(e="number"),c(t,e)}},6969(t,e,n){var r=n(2777),o=n(757);t.exports=function(t){var e=r(t,"string");return o(e)?e:e+""}},7650(t,e,n){var r=n(7751),o=n(4901),i=n(1563),a=n(34),c=r("Set");t.exports=function(t){return function(t){return a(t)&&"number"==typeof t.size&&o(t.has)&&o(t.keys)}(t)?t:i(t)?new c(t):t}},2140(t,e,n){var r={};r[n(8227)("toStringTag")]="z",t.exports="[object z]"===String(r)},655(t,e,n){var r=n(6955),o=String;t.exports=function(t){if("Symbol"===r(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},6823(t){var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},3392(t,e,n){var r=n(9504),o=0,i=Math.random(),a=r(1.1.toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},7040(t,e,n){var r=n(4495);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686(t,e,n){var r=n(3724),o=n(9039);t.exports=r&&o(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},8622(t,e,n){var r=n(4576),o=n(4901),i=r.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},8227(t,e,n){var r=n(4576),o=n(5745),i=n(9297),a=n(3392),c=n(4495),s=n(7040),u=r.Symbol,l=o("wks"),f=s?u.for||u:u&&u.withoutSetter||a;t.exports=function(t){return i(l,t)||(l[t]=c&&i(u,t)?u[t]:f("Symbol."+t)),l[t]}},4423(t,e,n){var r=n(6518),o=n(9617).includes,i=n(9039),a=n(6469),c=i(function(){return!Array(1).includes()}
4),s=i(function(){return[,1].includes(void 0,1)});r({target:"Array",proto:!0,forced:c||s},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),a("includes")},1517(t,e,n){var r=n(6518),o=n(6194),i=n(2248).remove;r({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var t,e=o(this),n=!0,r=0,a=arguments.length;r<a;r++)t=i(e,arguments[r]),n=n&&t;return!!n}})},3777(t,e,n){var r=n(6518),o=n(6080),i=n(6194),a=n(6223);r({target:"Map",proto:!0,real:!0,forced:!0},{every:function(t){var e=i(this),n=o(t,arguments.length>1?arguments[1]:void 0);return!1!==a(e,function(t,r){if(!n(t,r,e))return!1},!0)}})},4190(t,e,n){var r=n(6518),o=n(6080),i=n(6194),a=n(2248),c=n(6223),s=a.Map,u=a.set;r({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(t){var e=i(this),n=o(t,arguments.length>1?arguments[1]:void 0),r=new s;return c(e,function(t,o){n(t,o,e)&&u(r,o,t)}),r}})},6097(t,e,n){var r=n(6518),o=n(6080),i=n(6194),a=n(6223);r({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(t){var e=i(this),n=o(t,arguments.length>1?arguments[1]:void 0),r=a(e,function(t,r){if(n(t,r,e))return{key:r}},!0);return r&&r.key}})},2359(t,e,n){var r=n(6518),o=n(6080),i=n(6194),a=n(6223);r({target:"Map",proto:!0,real:!0,forced:!0},{find:function(t){var e=i(this),n=o(t,arguments.length>1?arguments[1]:void 0),r=a(e,function(t,r){if(n(t,r,e))return{value:t}},!0);return r&&r.value}})},7273(t,e,n){var r=n(6518),o=n(3317),i=n(6194),a=n(6223);r({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(t){return!0===a(i(this),function(e){if(o(e,t))return!0},!0)}})},7415(t,e,n){var r=n(6518),o=n(6194),i=n(6223);r({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(t){var e=i(o(this),function(e,n){if(e===t)return{key:n}},!0);return e&&e.key}})},9929(t,e,n){var r=n(6518),o=n(6080),i=n(6194),a=n(2248),c=n(6223),s=a.Map,u=a.set;r({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(t){var e=i(this),n=o(t,arguments.length>1?arguments[1]:void 0),r=new s;return c(e,function(t,o){u(r,n(t,o,e),t)}),r}})},7583(t,e,n){var r=n(6518),o=n(6080),i=n(6194),a=n(2248),c=n(6223),s=a.Map,u=a.set;r({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(t){var e=i(this),n=o(t,arguments.length>1?arguments[1]:void 0),r=new s;return c(e,function(t,o){u(r,o,n(t,o,e))}),r}})},5122(t,e,n){var r=n(6518),o=n(6194),i=n(2652),a=n(2248).set;r({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(t){for(var e=o(this),n=arguments.length,r=0;r<n;)i(arguments[r++],function(t,n){a(e,t,n)},{AS_ENTRIES:!0});return e}})},230(t,e,n){var r=n(6518),o=n(9306),i=n(6194),a=n(6223),c=TypeError;r({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(t){var e=i(this),n=arguments.length<2,r=n?void 0:arguments[1];if(o(t),a(e,function(o,i){n?(n=!1,r=o):r=t(r,o,i,e)}),n)throw new c("Reduce of empty map with no initial value");return r}})},7268(t,e,n){var r=n(6518),o=n(6080),i=n(6194),a=n(6223);r({target:"Map",proto:!0,real:!0,forced:!0},{some:function(t){var e=i(this),n=o(t,arguments.length>1?arguments[1]:void 0);return!0===a(e,function(t,r){if(n(t,r,e))return!0},!0)}})},9733(t,e,n){var r=n(6518),o=n(9306),i=n(6194),a=n(2248),c=TypeError,s=a.get,u=a.has,l=a.set;r({target:"Map",proto:!0,real:!0,forced:!0},{update:function(t,e){var n=i(this),r=arguments.length;o(e);var a=u(n,t);if(!a&&r<3)throw new c("Updating absent value");var f=a?s(n,t):o(r>2?arguments[2]:void 0)(t,n);return l(n,t,e(f,t,n)),n}})},5509(t,e,n){var r=n(6518),o=n(7080),i=n(4402).add;r({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var t=o(this),e=0,n=arguments.length;e<n;e++)i(t,arguments[e]);return t}})},5223(t,e,n){var r=n(6518),o=n(7080),i=n(4402).remove;r({target:"Set",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var t,e=o(this),n=!0,r=0,a=arguments.length;r<a;r++)t=i(e,arguments[r]),n=n&&t;return!!n}})},321(t,e,n){var r=n(6518),o=n(9565),i=n(7650),a=n(3440);r({target:"Set",proto:!0,real:!0,forced:!0},{difference:function(t){return o(a,this,i(t))}})},1927(t,e,n){var r=n(6518),o=n(6080),i=n(7080),a=n(8469);r({target:"Set",proto:!0,real:!0,forced:!0},{every:function(t){var e=i(this),n=o(t,arguments.length>1?arguments[1]:void 0);return!1!==a(e,function(t){if(!n(t,t,e))return!1},!0)}})},1632(t,e,n){var r=n(6518),o=n(6080),i=n(7080),a=n(4402),c=n(8469),s=a.Set,u=a.add;r({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(t){var e=i(this),n=o(t,arguments.length>1?arguments[1]:void 0),r=new s;return c(e,function(t){n(t,t,e)&&u(r,t)}),r}})},4377(t,e,n){var r=n(6518),o=n(6080),i=n(7080),a=n(8469);r({target:"Set",proto:!0,real:!0,forced:!0},{find:function(t){var e=i(this),n=o(t,arguments.length>1?arguments[1]:void 0),r=a(e,function(t){if(n(t,t,e))return{value:t}},!0);return r&&r.value}})},6771(t,e,n){var r=n(6518),o=n(9565),i=n(7650),a=n(8750);r({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(t){return o(a,this,i(t))}})},2516(t,e,n){var r=n(6518),o=n(9565),i=n(7650),a=n(4449);r({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(t){return o(a,this,i(t))}})},8931(t,e,n){var r=n(6518),o=n(9565),i=n(7650),a=n(3838);r({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(t){return o(a,this,i(t))}})},2514(t,e,n){var r=n(6518),o=n(9565),i=n(7650),a=n(8527);r({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(t){return o(a,this,i(t))}})},5694(t,e,n){var r=n(6518),o=n(9504),i=n(7080),a=n(8469),c=n(655),s=o([].join),u=o([].push);r({target:"Set",proto:!0,real:!0,forced:!0},{join:function(t){var e=i(this),n=void 0===t?",":c(t),r=[];return a(e,function(t){u(r,t)}),s(r,n)}})},2774(t,e,n){var r=n(6518),o=n(6080),i=n(7080),a=n(4402),c=n(8469),s=a.Set,u=a.add;r({target:"Set",proto:!0,real:!0,forced:!0},{map:function(t){var e=i(this),n=o(t,arguments.length>1?arguments[1]:void 0),r=new s;return c(e,function(t){u(r,n(t,t,e))}),r}})},9536(t,e,n){var r=n(6518),o=n(9306),i=n(7080),a=n(8469),c=TypeError;r({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(t){var e=i(this),n=arguments.length<2,r=n?void 0:arguments[1];if(o(t),a(e,function(o){n?(n=!1,r=o):r=t(r,o,o,e)}),n)throw new c("Reduce of empty set with no initial value");return r}})},1926(t,e,n){var r=n(6518),o=n(6080),i=n(7080),a=n(8469);r({target:"Set",proto:!0,real:!0,forced:!0},{some:function(t){var e=i(this),n=o(t,arguments.length>1?arguments[1]:void 0);return!0===a(e,function(t){if(n(t,t,e))return!0},!0)}})},4483(t,e,n){var r=n(6518),o=n(9565),i=n(7650),a=n(3650);r({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(t){return o(a,this,i(t))}})},6215(t,e,n){var r=n(6518),o=n(9565),i=n(7650),a=n(4204);r({target:"Set",proto:!0,real:!0,forced:!0},{union:function(t){return o(a,this,i(t))}})}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r].call(i.exports,i,i.exports,n),i.exports}n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}
4}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var r={};n.d(r,{default:()=>gn,rG:()=>dn});n(5509),n(5223),n(321),n(1927),n(1632),n(4377),n(6771),n(2516),n(8931),n(2514),n(5694),n(2774),n(9536),n(1926),n(4483),n(6215),n(4423);function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach(function(e){a(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function a(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const c={sourceLanguage:"en",targetLanguage:"en",translateClasses:["ljs","t9n"],blockedClasses:["no-translate","no-t9n"],apiBaseUrl:window.CCM_APPLICATION_URL||"",allowPunctuationOnly:!1,translateBody:!1,allowInlineBreakTags:!0};let s=i({},c);function u(){return s}function l(){const t=u().apiBaseUrl;if(!t)throw new Error("API base URL is not configured. Please set apiBaseUrl in the config.");return t.replace(/\/$/,"")}async function f(t,e){const n=l(),r=new URL(`${n}/ccm/translator/translations`);t&&r.searchParams.append("lang",t),e&&r.searchParams.append("since",e);const o=await fetch(r.toString());if(!o.ok)throw new Error(`Failed to fetch translations: ${o.statusText}`);return o.json()}async function p(t,e,n,r){const o=await f(e,r),i={},a={};return o.forEach(t=>{n.includes(t.phrase)&&t.translations[e]&&(i[t.phrase]=t.translations[e],a[t.phrase]=t.phraseID)}),{data:{translations:i,phraseIds:a}}}async function d(t,e,n,r=0,o=5,i,a=0){if(t===e)return console.warn(`Source and target languages are the same (${t}). Returning phrases as is.`),{data:{translations:Object.fromEntries(n.map(t=>[t,t]))}};const c=r>0?[1e3,2e3,3e3,5e3,8e3]:[500,1e3,2e3];let s={data:{translations:{}}},u=0;for(let t=0;t<o;t++){const l=await p(0,e,n,i),f=l.data.translations,d=Object.keys(f).filter(t=>f[t]).length;d>u&&(s=l,u=d);const h=r>0?Math.max(1,Math.floor(.8*r)):0;if(d>=(r>0||a>0?a+h:Math.floor(.9*n.length))||d===n.length)return l;if(t<o-1){const e=c[t]||5e3;await new Promise(t=>setTimeout(t,e))}}return s}async function h(t){const e=l(),n=await fetch(`${e}/ccm/translator/phrases/usage`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(422===n.status){const t=await n.json();throw new Error(t.error)}if(!n.ok)throw new Error(`Failed to track phrase usage: ${n.statusText}`)}n(1517),n(3777),n(4190),n(2359),n(6097),n(7273),n(7415),n(9929),n(7583),n(5122),n(230),n(7268),n(9733);const m=/^\s+|\s+$/gm,g=/[\.,-\/#!$%\^&\*;:{}=\-_`~()\[\]|?><'"@+\\\d\s]/g,y=/[\W\d]/g,v=/(\s|(&nbsp;))+/g,b=/<([a-z][a-z\s]+[a-z])>/gi,E={A:!0,ABBR:!0,B:!0,BDI:!0,CODE:!0,CITE:!0,DEL:!0,DFN:!0,EM:!0,BIG:!0,I:!0,IMG:!0,INS:!0,KBD:!0,MARK:!0,NOBR:!0,S:!0,SAMP:!0,SMALL:!0,SPAN:!0,STRIKE:!0,STRONG:!0,SUB:!0,SUP:!0,TT:!0,U:!0,VAR:!0,WBR:!0,Q:!0},T={IMG:!0,INPUT:!0,SOURCE:!0},N={IFRAME:!0,SCRIPT:!0,STYLE:!0,AUDIO:!0,VIDEO:!0,HR:!0,MAP:!0,NOSCRIPT:!0,OBJECT:!0,TRACK:!0,BR:!0,EMBED:!0,CODE:!0,VAR:!0,RUBY:!0,LINK:!0},w={VAR:!0,CODE:!0,KBD:!0,TEXTAREA:!0},O={accept:!0,"accept-charset":!0,accesskey:!0,action:!0,align:!0,alt:!0,async:!0,autocomplete:!0,autofocus:!0,bgcolor:!0,border:!0,checked:!0,cite:!0,class:!0,color:!0,cols:!0,colspan:!0,disabled:!0,download:!0,href:!0,hreflang:!0,multiple:!0,placeholder:!0,readonly:!0,draggable:!0,dropzone:!0,hidden:!0,id:!0,spellcheck:!0,required:!0,reversed:!0,rows:!0,selected:!0,src:!0,style:!0,tabindex:!0,ignore:!0,language:!0},S=["data"],A=["placeholder","title","alt","aria-label","aria-placeholder","aria-roledescription"],x=["submit","button","reset"];function _(t,e){if(!t.getAttribute)return null;const n=t.getAttribute(e);
4if(null!==n)return n;const r=t.getAttribute(`data-${e}`);return null!==r?r:void 0}function D(t,e){return!(!t.hasAttribute||!t.hasAttribute(e)&&!t.hasAttribute(`data-${e}`))}function C(t,e){if(!t.className)return!1;return new RegExp(`(^| )${e}($| )`).test(t.className)}function I(t){return t.nodeValue||t.textContent||""}function M(t){return t.replace(v," ")}function L(t){return t.replace(b,"&lt;$1&gt;")}function R(t){return!u().allowPunctuationOnly&&(!(t.replace(y,"").length>0)&&0===t.replace(g,"").length)}function k(t){const e=t.nodeName.toUpperCase();return!!T[e]}function P(t){return!!w[t.tagName]||D(t,"ignore")}function j(t,e=!1){var n;if(t.nodeType!==Node.ELEMENT_NODE)return!1;const r=t.attributes;if(!r||0===r.length)return!1;if(r.notranslate)return!0;if(r["data-notranslate"])return!0;if("no"===_(t,"translate"))return!0;if(C(t,"notranslate"))return!0;if(e&&D(t,"ignore"))return!0;const o=r.contenteditable;if(o&&"false"!==o.nodeValue)return!0;const i=u();return!(null===(n=i.blockedClasses)||void 0===n||!n.length||!function(t,e,n=!1){const r=t.className;if(!r||"string"!=typeof r)return!1;const o=r.split(" ");return n?o.some(t=>e.some(e=>t.includes(e))):o.some(t=>e.includes(t))}(t,i.blockedClasses))}function z(t){let e;if("string"==typeof t)e=t;else if(e=t.tagName,"INPUT"===e){const n=(_(t,"type")||"").toLowerCase();x.includes(n)&&(e="INPUT_BUTTON")}let n=[...A];switch(e){case"INPUT_BUTTON":n.push("value");break;case"OPTION":case"OPTGROUP":n.push("label")}return n}function U(t,e=0,n=!1){if(e>4)return!1;
4if(t.nodeType===Node.TEXT_NODE)return!0;if(t.nodeType!==Node.ELEMENT_NODE)return!1;const r=t;if("VAR"===r.nodeName)return!0;if(j(r))return!1;if(!n){const t=r.nodeName.toUpperCase();if("BR"===t){if(u().allowInlineBreakTags)return!0}if(!E[t])return!1;if(D(r,"isolate")||C(r,"t9n-isolate"))return!1;if("block"===function(t){var e,n,r;if(t.nodeType!==Node.ELEMENT_NODE)return;const o=null===(e=(n=window).getComputedStyle)||void 0===e?void 0:e.call(n,t);return(null==o?void 0:o.display)||(null===(r=t.style)||void 0===r?void 0:r.display)}(r))return!1}const o=r.childNodes;for(let t=0;t<o.length;t++){if(!U(o[t],e+1,!1))return!1}return!0}function F(t,e=!1){const n=t.nodeType;if(n===Node.TEXT_NODE){if(e)return!1;const n=I(t).replace(m,"");return n.length>0&&!R(n)}if(n===Node.DOCUMENT_FRAGMENT_NODE)return!1;if(n!==Node.ELEMENT_NODE)return!1;const r=t,o=r.nodeName.toUpperCase();if(N[o]){if("BR"===o){if(u().allowInlineBreakTags)return}return!1}if("TEXTAREA"===o)return!1;if(j(r))return!1;let i=!1,a=0,c=0;const s=r.childNodes;for(let t=0;t<s.length;t++){const e=s[t],n=e.nodeType,r=n===Node.TEXT_NODE,o=n===Node.ELEMENT_NODE;if(r||o){if(o&&k(e))c++;else{const t=I(e).replace(v," "),n=t.trim().length>0;r&&n&&!R(t.trim())&&(i=!0)}a++}}if(D(r,"isolate")||C(r,"t9n-isolate")){if(e)return!1;if(!i&&(0===a||c===a))return!1;for(let t=0;t<s.length;t++){const e=s[t];if(e.nodeType===Node.ELEMENT_NODE){if(!1===F(e,!1))return!1}}return!0}if(c===a&&c>0)return!1;if(!k(r)&&(a<=1||!i))return;let l=!0;for(let t=0;t<s.length;t++)if(!U(s[t],0)){l=!1;break}return l?!e:void 0}function B(t,e){const n=t.nodeName;return!(e?{}:N)[n]&&!j(t,!0)}function $(t,e,n,r=!1){var o;if("VAR"!==t.tagName&&e)return`t9n${r?"cm":"id"}-${e}`;const i=Array.from(t.attributes).filter(t=>""===t.value&&!O[t.name]&&!S.includes(t.name.split("-")[0]));let a=t.getAttribute("data-var")||(null===(o=i[0])||void 0===o?void 0:o.name)||(e?`t9nid-${e}`:"");if(a&&n&&n.includes(a)){let t=2;for(;n.includes(a+t);)t++;a+=t}return a.toLowerCase()}function H(t,e){const n=document.createElement(t);return e&&(n.innerHTML=e),n}function G(t,e={},n=""){let r=0;const o=t.childNodes;for(let t=0;t<o.length;t++){const i=o[t];if(i.nodeType===Node.COMMENT_NODE&&(r--,e[`t9ncm-${n}${t}`]=i),i.nodeType===Node.ELEMENT_NODE){const o=i;G(o,e,`${n}${t+r}-`);let a=$(o,`${n}${t+r}`);if(e[a]){let t=2;for(;e[a+t];)t++;a+=t}e[a]=o}}return e}function W(){const t=window.CCM_CID||"0";return parseInt(t,10)||0}function Y(){var t;const e=u();if(null!==(t=e.translateClasses)&&void 0!==t&&t.length){const t=e.translateClasses.map(t=>`.${t}`).join(",");if(document.querySelectorAll){return document.querySelectorAll(t)}}return null}function X(t,e=!1,n=[[],[]],r=!1){if(t.nodeType===Node.TEXT_NODE){if(!e){F(t,!1)&&n[0].push([t])}return n}if(t.nodeType!==Node.ELEMENT_NODE)return n;const o=t,i=function(t,e=!1,n=!1){const r={blocked:!1,hasShadowRoot:!!t.shadowRoot};let o=t;for(;o;){if(!B(o,e))return r.blocked=!0,r;if(n)return r;if("t9n"===o.id||C(o,"t9n"))return r;if(o===document.body){const t=u();return r.blocked=!t.translateBody,r}if(o.parentElement)o=o.parentElement;else{if(!o.parentNode||o.parentNode.nodeType!==Node.DOCUMENT_FRAGMENT_NODE)break;{const t=o.parentNode.host;if(!t)break;o=t}}}return r.blocked=!0,r}(o,!1,!0);if(i.blocked)return n;const a=F(o,e),c=e?null:o.childNodes,s=!1===a;if(c&&!s&&!r){V(o,n[1],!1);for(let t=0;t<c.length;t++){const e=c[t];e.nodeType===Node.ELEMENT_NODE&&V(e,n[1],s||!!a)}}if(!s&&c)if(!0===a)n[0].push([o]);else if(void 0===a)for(let t=0;t<c.length;t++){X(c[t],e,n,!0)}return n}function V(t,e,n){const r=function(t){return t.nodeType===Node.ELEMENT_NODE&&(!N[t.nodeName]&&(!j(t,!0)&&z(t).some(e=>{const n=t.getAttribute(e);return n&&!R(n)})))}(t);if(!1!==r&&(r||n&&t.childNodes)&&(r&&e.push([t]),n)){const r=t.childNodes;for(let t=0;t<r.length;t++){const o=r[t];o.nodeType===Node.ELEMENT_NODE&&V(o,e,n)}}}const q=new Map,K=new Map,J=[],Z=[];function Q(t,e,n){const r=J.indexOf(t);-1!==r&&J.splice(r,1),q.set(t,[e,n]),J.push(t)}function tt(t,e,n){const r=Z.indexOf(t);-1!==r&&Z.splice(r,1),K.set(t,[e,n]),Z.push(t)}function et(t){return q.get(t)}function nt(t){return K.get(t)}function rt(t){return t?Array.isArray(t)?t:t instanceof NodeList?Array.from(t):[t]:[]}const ot={};async function it(t,e){var n,r;const o=t.map(t=>L(t)).map(t=>({phrase:t})),i=await async function(t){const e=l(),n=await fetch(`${e}/ccm/translator/phrases/create`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(422===n.status){const t=await n.json();throw new Error(t.error)}if(!n.ok)throw new Error(`Failed to create phrases: ${n.statusText}`);return n.json()}(o);return((null===(n=i.phrases)||void 0===n?void 0:n.created)>0||(null===(r=i.phrases)||void 0===r?void 0:r.unarchived)>0)&&function(t){t.forEach(t=>{ot[t]=!0}
4)}(t),i}const at={};let ct=null;function st(t,e){return at[`${e}:${t}`]}function ut(t,e,n){Object.entries(t).forEach(([t,r])=>{at[`${e}:${t}`]={translation:r,phraseId:null==n?void 0:n[t]}})}function lt(t){const e=`${t}:`;return Object.keys(at).some(t=>t.startsWith(e))}function ft(t,e){t.forEach(t=>{if(t.translations[e]){const n=`${e}:${t.phrase}`;at[n]={translation:t.translations[e],phraseId:t.phraseID}}})}const pt=new Set,dt=new Set;let ht=null;const mt=100;function gt(t){if(!t)return;if(dt.has(t))return;0!==W()&&(pt.add(t),null!==ht&&clearTimeout(ht),ht=window.setTimeout(()=>{ht=null,yt()},mt))}async function yt(){if(0===pt.size)return;const t=W();if(0===t)return;const e=Array.from(pt);pt.clear();const n={cID:t,phraseIDs:e};try{await async function(t,e=3){const n=[1e3,2e3,4e3];for(let r=0;r<e;r++)try{return void await h(t)}catch(t){if(r===e-1)throw t;const o=n[r]||5e3;await new Promise(t=>setTimeout(t,o))}}(n),e.forEach(t=>dt.add(t))}catch(t){console.error("T9N Analytics: Failed to track usage after retries, data will be lost:",t),console.error("Lost phrase IDs:",e)}}function vt(){yt()}function bt(){document.hidden&&yt()}function Et(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function Tt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,c=[],s=!0,u=!1;try{if(i=(n=n.call(t)).next,0===e);else for(;!(s=(r=i.call(n)).done)&&(c.push(r.value),c.length!==e);s=!0);}catch(t){u=!0,o=t}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Et(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Et(t,e):void 0}}(t,e)||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.")}()}window.addEventListener("beforeunload",vt),document.addEventListener("visibilitychange",bt);const Nt=Object.entries,wt=Object.setPrototypeOf,Ot=Object.isFrozen,St=Object.getPrototypeOf,At=Object.getOwnPropertyDescriptor;let xt=Object.freeze,_t=Object.seal,Dt=Object.create,Ct="undefined"!=typeof Reflect&&Reflect,It=Ct.apply,Mt=Ct.construct;xt||(xt=function(t){return t}),_t||(_t=function(t){return t}),It||(It=function(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return t.apply(e,r)}),Mt||(Mt=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return new t(...n)});const Lt=te(Array.prototype.forEach),Rt=te(Array.prototype.lastIndexOf),kt=te(Array.prototype.pop),Pt=te(Array.prototype.push),jt=te(Array.prototype.splice),zt=Array.isArray,Ut=te(String.prototype.toLowerCase),Ft=te(String.prototype.toString),Bt=te(String.prototype.match),$t=te(String.prototype.replace),Ht=te(String.prototype.indexOf),Gt=te(String.prototype.trim),Wt=te(Number.prototype.toString),Yt=te(Boolean.prototype.toString),Xt="undefined"==typeof BigInt?null:te(BigInt.prototype.toString),Vt="undefined"==typeof Symbol?null:te(Symbol.prototype.toString),qt=te(Object.prototype.hasOwnProperty),Kt=te(Object.prototype.toString),Jt=te(RegExp.prototype.test),Zt=(Qt=TypeError,function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return Mt(Qt,e)});var Qt;function te(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return It(t,e,r)}}function ee(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ut;if(wt&&wt(t,null),!zt(e))return t;let r=e.length;for(;r--;){let o=e[r];if("string"==typeof o){const t=n(o);t!==o&&(Ot(e)||(e[r]=t),o=t)}t[o]=!0}return t}function ne(t){for(let e=0;e<t.length;e++){qt(t,e)||(t[e]=null)}return t}function re(t){const e=Dt(null);for(const r of Nt(t)){var n=Tt(r,2);const o=n[0],i=n[1];qt(t,o)&&(zt(i)?e[o]=ne(i):i&&"object"==typeof i&&i.constructor===Object?e[o]=re(i):e[o]=i)}return e}function oe(t,e){for(;null!==t;){const n=At(t,e);if(n){if(n.get)return te(n.get);if("function"==typeof n.value)return te(n.value)}t=St(t)}return function(){return null}}const ie=xt(["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"]),ae=xt(["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"]),ce=xt(["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"]),se=xt(["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"]),ue=xt(["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"]),le=xt(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),fe=xt(["#text"]),pe
4=xt(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","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"]),de=xt(["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","dominant-baseline","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-orientation","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"]),he=xt(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","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"]),me=xt(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),ge=_t(/{{[\w\W]*|^[\w\W]*}}/g),ye=_t(/<%[\w\W]*|^[\w\W]*%>/g),ve=_t(/\${[\w\W]*/g),be=_t(/^data-[\-\w.\u00B7-\uFFFF]+$/),Ee=_t(/^aria-[\-\w]+$/),Te=_t(/^(?:(?:(?
vendor: 4,514 bytes, line 4
4:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ne=_t(/^(?:\w+script|data):/i),we=_t(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Oe=_t(/^html$/i),Se=_t(/^[a-z][.\w]*(-[.\w]+)+$/i),Ae=_t(/<[/\w!]/g),xe=_t(/<[/\w]/g),_e=_t(/<\/no(script|embed|frames)/i),De=_t(/\/>/i),Ce=1,Ie=3,Me=7,Le=8,Re=9,ke=11,Pe=function(){return"undefined"==typeof window?null:window},je=function(t,e,n,r){return qt(t,e)&&zt(t[e])?ee(r.base?re(r.base):{},t[e],r.transform):n};var ze=function t(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Pe();const n=e=>t(e);if(n.version="3.4.13",n.removed=[],!e||!e.document||e.document.nodeType!==Re||!e.Element)return n.isSupported=!1,n;let r=e.document;const o=r,i=o.currentScript;e.DocumentFragment;const a=e.HTMLTemplateElement,c=e.Node,s=e.Element,u=e.NodeFilter,l=e.NamedNodeMap;void 0===l&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const f=e.DOMParser,p=e.trustedTypes,d=s.prototype,h=oe(d,"cloneNode"),m=oe(d,"remove"),g=oe(d,"nextSibling"),y=oe(d,"childNodes"),v=oe(d,"parentNode"),b=oe(d,"shadowRoot"),E=oe(d,"attributes"),T=c&&c.prototype?oe(c.prototype,"nodeType"):null,N=c&&c.prototype?oe(c.prototype,"nodeName"):null,w=c&&c.prototype?oe(c.prototype,"ownerDocument"):null;if("function"==typeof a){const t=r.createElement("template");t.content&&t.content.ownerDocument&&(r=t.content.ownerDocument)}let O,S,A="",x=!1,_=0;const D=function(){if(_>0)throw Zt('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},C=function(t){D(),_++;try{return O.createHTML(t)}finally{_--}},I=function(){return x||(S=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";e&&e.hasAttribute(r)&&(n=e.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return t.createPolicy(o,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(p,i),x=!0),S},M=r,L=M.implementation,R=M.createNodeIterator,k=M.createDocumentFragment,P=M.getElementsByTagName,j=o.importNode;let z={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof Nt&&"function"==typeof v&&L&&void 0!==L.createHTMLDocument;const U=ge,F=ye,B=ve,$=be,H=Ee,G=Ne,W=we,Y=Se;let X=Te,V=null;const q=ee({},[...ie,...ae,...ce,...ue,...fe]);let K=null;const J=ee({},[...pe,...de,...he,...me]);let Z=Object.seal(Dt(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}})),Q=null,tt=null;const et=Object.seal(Dt(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let nt=!0,rt=!0,ot=!1,it=!0,at=!1,ct=!0,st=!1,ut=!1,lt=null,ft=null,pt=!1,dt=!1,ht=!1,mt=!1,gt=!0,yt=!1;const vt="user-content-";let bt=!0,Et=!1,Tt={},wt=null;const Ot=ee({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let St=null;const At=ee({},["audio","video","img","source","image","track"]);let Ct=null;const It=ee({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Mt="http://www.w3.org/1998/Math/MathML",Qt="http://www.w3.org/2000/svg",te="http://www.w3.org/1999/xhtml";let ne=te,ze=!1,Ue=null;const Fe=ee({},[Mt,Qt,te],Ft),Be=xt(["mi","mo","mn","ms","mtext"]);let $e=ee({},Be);const He=xt(["annotation-xml"]);let Ge=ee({},He);const We=ee({},["title","style","font","a","script"]);let Ye=null;const Xe=["application/xhtml+xml","text/html"];let Ve=null,qe=null;const Ke=r.createElement("form"),Je=function(t){return t instanceof RegExp||t instanceof Function},Ze=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(qe&&qe===t)return;t&&"object"==typeof t||(t={}
vendor: 7,664 bytes, line 4
4),t=re(t),Ye=-1===Xe.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,Ve="application/xhtml+xml"===Ye?Ft:Ut,V=je(t,"ALLOWED_TAGS",q,{transform:Ve}),K=je(t,"ALLOWED_ATTR",J,{transform:Ve}),Ue=je(t,"ALLOWED_NAMESPACES",Fe,{transform:Ft}),Ct=je(t,"ADD_URI_SAFE_ATTR",It,{transform:Ve,base:It}),St=je(t,"ADD_DATA_URI_TAGS",At,{transform:Ve,base:At}),wt=je(t,"FORBID_CONTENTS",Ot,{transform:Ve}),Q=je(t,"FORBID_TAGS",re({}),{transform:Ve}),tt=je(t,"FORBID_ATTR",re({}),{transform:Ve}),Tt=!!qt(t,"USE_PROFILES")&&(t.USE_PROFILES&&"object"==typeof t.USE_PROFILES?re(t.USE_PROFILES):t.USE_PROFILES),nt=!1!==t.ALLOW_ARIA_ATTR,rt=!1!==t.ALLOW_DATA_ATTR,ot=t.ALLOW_UNKNOWN_PROTOCOLS||!1,it=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,at=t.SAFE_FOR_TEMPLATES||!1,ct=!1!==t.SAFE_FOR_XML,st=t.WHOLE_DOCUMENT||!1,dt=t.RETURN_DOM||!1,ht=t.RETURN_DOM_FRAGMENT||!1,mt=t.RETURN_TRUSTED_TYPE||!1,pt=t.FORCE_BODY||!1,gt=!1!==t.SANITIZE_DOM,yt=t.SANITIZE_NAMED_PROPS||!1,bt=!1!==t.KEEP_CONTENT,Et=t.IN_PLACE||!1,X=function(t){try{return Jt(t,""),!0}catch(t){return!1}}(t.ALLOWED_URI_REGEXP)?t.ALLOWED_URI_REGEXP:Te,ne="string"==typeof t.NAMESPACE?t.NAMESPACE:te,$e=qt(t,"MATHML_TEXT_INTEGRATION_POINTS")&&t.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof t.MATHML_TEXT_INTEGRATION_POINTS?re(t.MATHML_TEXT_INTEGRATION_POINTS):ee({},Be),Ge=qt(t,"HTML_INTEGRATION_POINTS")&&t.HTML_INTEGRATION_POINTS&&"object"==typeof t.HTML_INTEGRATION_POINTS?re(t.HTML_INTEGRATION_POINTS):ee({},He);const e=qt(t,"CUSTOM_ELEMENT_HANDLING")&&t.CUSTOM_ELEMENT_HANDLING&&"object"==typeof t.CUSTOM_ELEMENT_HANDLING?re(t.CUSTOM_ELEMENT_HANDLING):Dt(null);if(Z=Dt(null),qt(e,"tagNameCheck")&&Je(e.tagNameCheck)&&(Z.tagNameCheck=e.tagNameCheck),qt(e,"attributeNameCheck")&&Je(e.attributeNameCheck)&&(Z.attributeNameCheck=e.attributeNameCheck),qt(e,"allowCustomizedBuiltInElements")&&"boolean"==typeof e.allowCustomizedBuiltInElements&&(Z.allowCustomizedBuiltInElements=e.allowCustomizedBuiltInElements),_t(Z),at&&(rt=!1),ht&&(dt=!0),Tt&&(V=ee({},fe),K=Dt(null),!0===Tt.html&&(ee(V,ie),ee(K,pe)),!0===Tt.svg&&(ee(V,ae),ee(K,de),ee(K,me)),!0===Tt.svgFilters&&(ee(V,ce),ee(K,de),ee(K,me)),!0===Tt.mathMl&&(ee(V,ue),ee(K,he),ee(K,me))),et.tagCheck=null,et.attributeCheck=null,qt(t,"ADD_TAGS")&&("function"==typeof t.ADD_TAGS?et.tagCheck=t.ADD_TAGS:zt(t.ADD_TAGS)&&(V===q&&(V=re(V)),ee(V,t.ADD_TAGS,Ve))),qt(t,"ADD_ATTR")&&("function"==typeof t.ADD_ATTR?et.attributeCheck=t.ADD_ATTR:zt(t.ADD_ATTR)&&(K===J&&(K=re(K)),ee(K,t.ADD_ATTR,Ve))),qt(t,"ADD_URI_SAFE_ATTR")&&zt(t.ADD_URI_SAFE_ATTR)&&ee(Ct,t.ADD_URI_SAFE_ATTR,Ve),qt(t,"FORBID_CONTENTS")&&zt(t.FORBID_CONTENTS)&&(wt===Ot&&(wt=re(wt)),ee(wt,t.FORBID_CONTENTS,Ve)),qt(t,"ADD_FORBID_CONTENTS")&&zt(t.ADD_FORBID_CONTENTS)&&(wt===Ot&&(wt=re(wt)),ee(wt,t.ADD_FORBID_CONTENTS,Ve)),bt&&(V["#text"]=!0),st&&ee(V,["html","head","body"]),V.table&&(ee(V,["tbody"]),delete Q.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw Zt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw Zt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const e=O;O=t.TRUSTED_TYPES_POLICY;try{A=C("")}catch(t){throw O=e,t}}else null===t.TRUSTED_TYPES_POLICY?(O=void 0,A=""):(void 0===O&&(O=I()),O&&"string"==typeof A&&(A=C("")));xt&&xt(t),qe=t},Qe=ee({},[...ae,...ce,...se]),tn=ee({},[...ue,...le]),en=function(t){let e=v(t);e&&e.tagName||(e={namespaceURI:ne,tagName:"template"});const n=Ut(t.tagName),r=Ut(e.tagName);return!!Ue[t.namespaceURI]&&(t.namespaceURI===Qt?function(t,e,n){return e.namespaceURI===te?"svg"===t:e.namespaceURI===Mt?"svg"===t&&("annotation-xml"===n||$e[n]):Boolean(Qe[t])}(n,e,r):t.namespaceURI===Mt?function(t,e,n){return e.namespaceURI===te?"math"===t:e.namespaceURI===Qt?"math"===t&&Ge[n]:Boolean(tn[t])}(n,e,r):t.namespaceURI===te?function(t,e,n){return!(e.namespaceURI===Qt&&!Ge[n])&&!(e.namespaceURI===Mt&&!$e[n])&&!tn[t]&&(We[t]||!Qe[t])}(n,e,r):!("application/xhtml+xml"!==Ye||!Ue[t.namespaceURI]))},nn=function(t){Pt(n.removed,{element:t});try{v(t).removeChild(t)}catch(e){if(m(t),!v(t))throw Zt("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},rn=function(t){cn(t);const e=y(t);if(e){const t=[];Lt(e,e=>{Pt(t,e)}),Lt(t,t=>{try{m(t)}catch(t){}})}const n=E(t);if(n)for(let e=n.length-1;e>=0;--e){const r=n[e],o=r&&r.name;if("string"==typeof o)try{t.removeAttribute(o)}catch(t){}}},on=function(t,e){try{Pt(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){Pt(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t)if(dt||ht)try{nn(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},an=function(t){const e=E(t);if(e)for(let n=e.length-1;n>=0;--n){const r=e[n],o=r&&r.name;if("string"==typeof o&&!K[Ve(o)])try{t.removeAttribute(o)}catch(t){}}},cn=function(t){const e=[t];for(;e.length>0;){const t=e.pop();(T?T(t):t.nodeType)===Ce&&an(t);const n=y(t);if(n)for(let t=n.length-1;t>=0;--t)e.push(n[t])}},sn=function(t){let e=null,n=null;if(pt)t="<remove></remove>"+t;else{const e=Bt(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===Ye&&ne===te&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const o=O?C(t):t;if(ne===te)try{e=(new f).parseFromString(o,Ye)}catch(t){}if(!e||!e.documentElement){e=L.createDocument(ne,"template",null);try{e.documentElement.innerHTML=ze?A:o}catch(t){}}const i=e.body||e.documentElement;return t&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),ne===te?P.call(e,st?"html":"body")[0]:st?e.documentElement:i},un=function(t){const e=w?w(t):t.ownerDocument;return R.call(e||t,t,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},ln=function(t){return t=$t(t,U," "),t=$t(t,F," "),t=$t(t,B," ")},fn=function(t){var e;t.normalize();const n=w?w(t):t.ownerDocument,r=R.call(n||t,t,u.SHOW_TEXT|u.SHOW_COMMENT|u.SHOW_CDATA_SECTION|u.SHOW_PROCESSING_INSTRUCTION,null);let o=r.nextNode();for(;o;)o.data=ln(o.data),o=r.nextNode();const i=null===(e=t.querySelectorAll)||void 0===e?void 0:e.call(t,"template");i&&Lt(i,t=>{dn(t.content)&&fn(t.content)})},pn=function(t){const e=N?N(t):null;return"string"==typeof e&&("form"===Ve(e)&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||t.attributes!==E(t)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes||t.nodeType!==T(t)||t.childNodes!==y(t)))},dn=function(t){if(!T||"object"!=typeof t||null===t)return!1;try{return T(t)===ke}catch(t){return!1}},hn=function(t){if(!T||"object"!=typeof t||null===t)return!1;try{return"number"==typeof T(t)}catch(t){return!1}};function mn(t,e,r){0!==t.length&&Lt(t,t=>{t.call(n,e,r,qe)})}const gn=function(t,e,n,r){return 0===t.length?e:e===n||e===r?re(e):e},yn=function(t,e){if(mn(z.beforeSanitizeElements,t,null),t!==e&&null===v(t))return Et&&cn(t),!0;if(pn(t))return nn(t),!0;const r=Ve(N?N(t):t.nodeName);if(V=gn(z.uponSanitizeElement,V,q,lt),mn(z.uponSanitizeElement,t,{tagName:r,allowedTags:V}),t!==e&&null===v(t))return Et&&cn(t),!0;if(function(t,e){return!!(ct&&t.hasChildNodes()&&!hn(t.firstElementChild)&&Jt(Ae,t.textContent)&&Jt(Ae,t.innerHTML))||!(!ct||t.namespaceURI!==te||"style"!==e||!hn(t.firstElementChild))||t.nodeType===Me||!(!ct||t.nodeType!==Le||!Jt(xe,t.data))}(t,r))return nn(t),!0;if(Q[r]||!(et.tagCheck instanceof Function&&et.tagCheck(r))&&!V[r]){const n=function(t,e,n){if(!Q[e]&&En(e)){
vendor: 7,955 bytes, line 4
4if(Z.tagNameCheck instanceof RegExp&&Jt(Z.tagNameCheck,e))return!1;if(Z.tagNameCheck instanceof Function&&Z.tagNameCheck(e))return!1}if(bt&&!wt[e]){const e=v(t),r=y(t);if(r&&e)for(let o=r.length-1;o>=0;--o){const i=t===n?h(r[o],!0):r[o];e.insertBefore(i,g(t))}}return nn(t),!0}(t,r,e);return!1===n&&mn(z.afterSanitizeElements,t,null),n}if((T?T(t):t.nodeType)===Ce&&!en(t))return nn(t),!0;if(("noscript"===r||"noembed"===r||"noframes"===r)&&Jt(_e,t.innerHTML))return nn(t),!0;if(at&&t.nodeType===Ie){const e=ln(t.textContent);t.textContent!==e&&(Pt(n.removed,{element:t.cloneNode()}),t.textContent=e)}return mn(z.afterSanitizeElements,t,null),!1},vn=function(t,e,n){if(tt[e])return!1;if(ct&&"patchsrc"===e)return!1;if(ct&&"for"===e&&"label"!==t&&"output"!==t)return!1;if(gt&&("id"===e||"name"===e)&&(n in r||n in Ke))return!1;const o=K[e]||et.attributeCheck instanceof Function&&et.attributeCheck(e,t);if(rt&&Jt($,e));else if(nt&&Jt(H,e));else if(o)if(Ct[e]);else if(Jt(X,$t(n,W,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==Ht(n,"data:")||!St[t]){if(ot&&!Jt(G,$t(n,W,"")));else if(n)return!1}else;else if(!(En(t)&&(Z.tagNameCheck instanceof RegExp&&Jt(Z.tagNameCheck,t)||Z.tagNameCheck instanceof Function&&Z.tagNameCheck(t))&&(Z.attributeNameCheck instanceof RegExp&&Jt(Z.attributeNameCheck,e)||Z.attributeNameCheck instanceof Function&&Z.attributeNameCheck(e,t))||"is"===e&&Z.allowCustomizedBuiltInElements&&(Z.tagNameCheck instanceof RegExp&&Jt(Z.tagNameCheck,n)||Z.tagNameCheck instanceof Function&&Z.tagNameCheck(n))))return!1;return!0},bn=ee({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),En=function(t){return!bn[Ut(t)]&&Jt(Y,t)},Tn=function(t,e,n,r){if(O&&"object"==typeof p&&"function"==typeof p.getAttributeType&&!n)switch(p.getAttributeType(t,e)){case"TrustedHTML":return C(r);case"TrustedScriptURL":return function(t){D(),_++;try{return O.createScriptURL(t)}finally{_--}}(r)}return r},Nn=function(t,e,r,o){try{r?t.setAttributeNS(r,e,o):t.setAttribute(e,o),pn(t)?nn(t):kt(n.removed)}catch(n){on(e,t)}},wn=function(t){mn(z.beforeSanitizeAttributes,t,null);const e=t.attributes;if(!e||pn(t))return;K=gn(z.uponSanitizeAttribute,K,J,ft);const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:K,forceKeepAttr:void 0};let r=e.length;const o=Ve(t.nodeName);for(;r--;){const i=e[r],a=i.name,c=i.namespaceURI,s=i.value,u=Ve(a),l=s;let f="value"===a?l:Gt(l);n.attrName=u,n.attrValue=f,n.keepAttr=!0,n.forceKeepAttr=void 0,mn(z.uponSanitizeAttribute,t,n),f=n.attrValue,!yt||"id"!==u&&"name"!==u||0===Ht(f,vt)||(on(a,t),f=vt+f),ct&&Jt(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,f)?on(a,t):"attributename"===u&&Bt(f,"href")?on(a,t):n.forceKeepAttr||(n.keepAttr&&(it||!Jt(De,f))?(at&&(f=ln(f)),vn(o,u,f)?(f=Tn(o,u,c,f),f!==l&&Nn(t,a,c,f)):on(a,t)):on(a,t))}mn(z.afterSanitizeAttributes,t,null)},On=function(t){let e=null;const n=un(t);for(mn(z.beforeSanitizeShadowDOM,t,null);e=n.nextNode();){mn(z.uponSanitizeShadowNode,e,null),yn(e,t),wn(e),dn(e.content)&&On(e.content);if((T?T(e):e.nodeType)===Ce){const t=b(e);dn(t)&&(Sn(t),On(t))}}mn(z.afterSanitizeShadowDOM,t,null)},Sn=function(t){const e=[{node:t,shadow:null}];for(;e.length>0;){const t=e.pop();if(t.shadow){On(t.shadow);continue}const n=t.node,r=(T?T(n):n.nodeType)===Ce,o=y(n);if(o)for(let t=o.length-1;t>=0;--t)e.push({node:o[t],shadow:null});if(r){const t=N?N(n):null;if("string"==typeof t&&"template"===Ve(t)){const t=n.content;dn(t)&&e.push({node:t,shadow:null})}}if(r){const t=b(n);dn(t)&&e.push({node:null,shadow:t},{node:t,shadow:null})}}};return n.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,i=null,a=null,c=null;if(ze=!t,ze&&(t="\x3c!--\x3e"),"string"!=typeof t&&!hn(t)&&"string"!=typeof(t=function(t){switch(typeof t){case"string":return t;case"number":return Wt(t);case"boolean":return Yt(t);case"bigint":return Xt?Xt(t):"0";case"symbol":return Vt?Vt(t):"Symbol()";case"undefined":default:return Kt(t);case"function":case"object":{if(null===t)return Kt(t);const e=t,n=oe(e,"toString");if("function"==typeof n){const t=n(e);return"string"==typeof t?t:Kt(t)}return Kt(t)}}}(t)))throw Zt("dirty is not a string, aborting");if(!n.isSupported)return t;ut?(V=lt,K=ft):Ze(e),(z.uponSanitizeElement.length>0||z.uponSanitizeAttribute.length>0)&&(V=re(V)),z.uponSanitizeAttribute.length>0&&(K=re(K)),n.removed=[];const s=Et&&"string"!=typeof t&&hn(t);if(s){!function(t){if(!ct)return;const e=[t];for(;e.length>0;){const t=e.pop(),n=T?T(t):t.nodeType;if(n===Me||n===Le&&Jt(xe,t.data)){try{m(t)}catch(t){}continue}if(n===Ce){const e=t,n=Ve(N?N(t):t.nodeName);try{e.hasAttribute&&e.hasAttribute("patchsrc")&&e.removeAttribute("patchsrc"),e.hasAttribute&&e.hasAttribute("for")&&"label"!==n&&"output"!==n&&e.removeAttribute("for")}catch(t){}}const r=y(t);if(r)for(let t=r.length-1;t>=0;--t)e.push(r[t])}}(t);const e=N?N(t):t.nodeName;if("string"==typeof e){const n=Ve(e);if(!V[n]||Q[n])throw rn(t),Zt("root node is forbidden and cannot be sanitized in-place")}if(pn(t))throw rn(t),Zt("root node is clobbered and cannot be sanitized in-place");try{Sn(t)}catch(e){throw rn(t),e}}else if(hn(t))r=sn("\x3c!----\x3e"),i=r.ownerDocument.importNode(t,!0),i.nodeType===Ce&&"BODY"===i.nodeName||"HTML"===i.nodeName?r=i:r.appendChild(i),Sn(i);else{if(!dt&&!at&&!st&&-1===t.indexOf("<"))return O&&mt?C(t):t;if(r=sn(t),!r)return dt?null:mt?A:""}r&&pt&&nn(r.firstChild);const u=s?t:r;try{const t=un(u);for(;a=t.nextNode();)yn(a,u),wn(a),dn(a.content)&&On(a.content)}catch(e){throw s&&(rn(t),Lt(n.removed,t=>{t.element&&cn(t.element)})),e}if(s)return Lt(n.removed,t=>{t.element&&cn(t.element)}),at&&fn(t),t;if(dt){if(at&&fn(r),ht)for(c=k.call(r.ownerDocument);r.firstChild;)c.appendChild(r.firstChild);else c=r;return(K.shadowroot||K.shadowrootmode)&&(c=j.call(o,c,!0)),c}let l=st?r.outerHTML:r.innerHTML;return st&&V["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&Jt(Oe,r.ownerDocument.doctype.name)&&(l="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+l),at&&(l=ln(l)),O&&mt?C(l):l},n.setConfig=function(){Ze(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),ut=!0,lt=V,ft=K},n.clearConfig=function(){qe=null,ut=!1,lt=null,ft=null,O=S,A=""},n.isValidAttribute=function(t,e,n){qe||Ze({});const r=Ve(t),o=Ve(e);return vn(r,o,n)},n.addHook=function(t,e){"function"==typeof e&&qt(z,t)&&Pt(z[t],e)},n.removeHook=function(t,e){if(qt(z,t)){if(void 0!==e){const n=Rt(z[t],e);return-1===n?void 0:jt(z[t],n,1)[0]}return kt(z[t])}},n.removeHooks=function(t){qt(z,t)&&(z[t]=[])},n.removeAllHooks=function(){z={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();function Ue(t){if(function(t){const e=t.childNodes;for(let t=0;t<e.length;t++)if(e[t].nodeType!==Node.TEXT_NODE)return!1;return!0}(t))return M(I(t));const e=function(t){return t.cloneNode(!0)}(t);return Fe(e,""),M(function(t){return t.innerHTML||t.textContent||""}(e))}function Fe(t,e){const n=Array.from(t.childNodes);for(let r=n.length-1;r>=0;r--){const o=n[r],i=r;if(o.nodeType===Node.COMMENT_NODE){const e=o.nextSibling;if(e&&e.nodeType===Node.TEXT_NODE&&!(t instanceof SVGElement)){const n=e.nextSibling;if(n&&n.nodeType===Node.COMMENT_NODE){t.removeChild(o),t.removeChild(n);const r=H("span");t.replaceChild(r,e),r.appendChild(e);continue}}t.removeChild(o);continue}if(o.nodeType===Node.ELEMENT_NODE){const n=o;if("BR"===n.tagName.toUpperCase()){if(u().allowInlineBreakTags){const r=$(n,`${e}${i}`,void 0,!1),o=H("BR");o.setAttribute(r,""),t.replaceChild(o,n);continue}}P(n)||Fe(n,`${e}${i}-`);const r=$(n,`${e}${i}`,void 0,!1),a=H(n.tagName);a.setAttribute(r,""),a.innerHTML=n.innerHTML,t.replaceChild(a,n)}}}
4function Be(t,e,n,r){if(t.nodeType===Node.TEXT_NODE){try{t.nodeValue=e}catch(t){}return}const o=t;if(n&&n.length){r=r||G(o);const t=$e(Array.from(n),r);for(1===t.childNodes.length&&o.setAttribute("isolate","");o.firstChild;)o.removeChild(o.firstChild);for(;t.firstChild;)o.appendChild(t.firstChild);return r}o.innerHTML=e}function $e(t,e,n=[]){const r=document.createDocumentFragment();let o=0;for(let i=t.length-1;i>=0;i--){const a=t[i];if(a.nodeType!==Node.ELEMENT_NODE){r.insertBefore(a,r.firstChild);continue}const c=a,s=He(c,String(i),n);if("SPAN"===c.nodeName&&-1!==s.indexOf("t9ncm-")){const t=Ge(s,e,o);if(t){r.insertBefore(t[0],r.firstChild),c.firstChild&&r.insertBefore(c.firstChild,r.firstChild),r.insertBefore(t[1],r.firstChild),o++;continue}}const u=e[s];if(u&&u.nodeType===Node.ELEMENT_NODE){const t=u;if(!P(t))if(c.childNodes.length>0){const r=$e(Array.from(c.childNodes),e,n);t.innerHTML="",t.appendChild(r)}else t.innerHTML=c.innerHTML;r.insertBefore(t,r.firstChild)}else r.insertBefore(c,r.firstChild)}return r}function He(t,e,n){const r=t.attributes[0];let o=r?r.name:`t9nid-${e}`;if("VAR"===t.tagName&&n.includes(o)){let t=2;for(;n.includes(o+t);)t++;o+=t}return n.push(o),o}function Ge(t,e,n){const r=t.match(/\d+$/);if(!r)return;const o=parseInt(r[0],10);if(isNaN(o))return;const i=o+2*n,a=t.replace(/\d+$/,""),c=e[a+i],s=e[a+(i+2)];return c&&s?[c,s]:void 0}function We(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,c=[],s=!0,u=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(c.push(r.value),c.length!==e);s=!0);}catch(t){u=!0,o=t}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ye(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ye(t,e):void 0}}(t,e)||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.")}()}function Ye(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}let Xe=null,Ve=!1,qe=[],Ke=new Set,Je=new Set;const Ze=/^\s+|\s+$/gm,Qe=["alt","title","placeholder","value","aria-label","aria-describedby"],tn={childList:!0,attributes:!0,characterData:!0,attributeOldValue:!0,characterDataOldValue:!0,subtree:!0,attributeFilter:["class","id",...Qe]};async function en(){if(Xe){const t=Xe.takeRecords();t.length>0&&(qe.push(...t),Ve||on()),Xe.disconnect(),Xe=null}Ve=!1,qe=[],Ke.clear(),Je.clear()}function nn(){if(!Xe)return;const t=Xe.takeRecords();Xe.disconnect(),t.length>0&&qe.push(...t)}function rn(){Xe&&document.body&&!1!==document.body.isConnected&&Xe.observe(document.body,tn)}async function on(){if(!Ve){Ve=!0,nn();try{for(Ke.clear(),Je.clear();qe.length>0;){qe.length>500&&console.warn(`T9N Observer: Large mutation batch detected: ${qe.length} records`);const t=qe;qe=[],an(t)}}catch(t){console.error("T9N Observer: Error in drain loop:",t)}finally{rn(),(Ke.size>0||Je.size>0)&&await async function(){try{Ke.size>0&&await async function(){if(0===Ke.size)return;try{const n=u();if(n.targetLanguage!==n.sourceLanguage){const r=[];for(const o of Ke){var t,e;o.isConnected&&(null!==(t=n.translateClasses)&&void 0!==t&&t.some(t=>o.classList.contains(t))&&r.push(o),null===(e=n.translateClasses)||void 0===e||e.forEach(t=>{const e=o.querySelectorAll(`.${t}`);r.push(...Array.from(e))}))}r.length>0&&await dn(r,n.sourceLanguage,n.targetLanguage)}}catch(t){console.error("T9N Observer: Error during translation:",t)}}(),Je.size>0&&function(){if(0===Je.size)return;try{Je.forEach(t=>{!function(t){const e=z(t);if(e.length>0){nt(t)}}(t)})}catch(t){console.error("T9N Observer: Error processing attribute translations:",t)}}()}catch(t){console.error("T9N Observer: Error processing translation queues:",t)}}(),Ve=!1,qe.length>0&&on().catch(t=>console.error("T9N Observer: Error in recursive drain:",t))}}}function an(t){t.forEach(t=>{!function(t){const e=t.target,n=Array.from(t.addedNodes||[]),r=Array.from(t.removedNodes||[]);n.length>0&&r.length>0&&function(t,e){const n=new Map;if(e.forEach(t=>
4{if(t.nodeType===Node.ELEMENT_NODE){const e=t;n.set(e,{textCache:et(e)||null,attrCache:nt(e)||null})}}),0===n.size)return;if(t.forEach(t=>{if(t.nodeType!==Node.ELEMENT_NODE)return;const e=t;for(const t of n){var r=We(t,2);const o=r[0],i=r[1];if(o.isEqualNode(e)){i.textCache&&Q(e,i.textCache[0],i.textCache[1]),i.attrCache&&tt(e,i.attrCache[0],i.attrCache[1]),n.delete(o);break}}}),n.size>0){const e=cn(Array.from(n.keys()),!1),r=cn(Array.from(n.keys()),!0);t.forEach(t=>{if(t.nodeType!==Node.ELEMENT_NODE)return;const n=t;if(!et(n)&&e){const t=M(I(n)),r=e[t];r&&Q(n,r[0],r[1])}if(!nt(n)&&r){z(n).forEach(t=>{const e=n.getAttribute(t);if(e){const o=r[t+e];o&&tt(n,o[0],o[1])}})}})}}(n,r);n.length>0&&function(t,e){if(e.nodeType===Node.ELEMENT_NODE){const n=e;t.length===n.childNodes.length&&(!function(t){q.delete(t);const e=J.indexOf(t);-1!==e&&J.splice(e,1)}(n),function(t){K.delete(t);const e=Z.indexOf(t);-1!==e&&Z.splice(e,1)}(n),t=[n])}t.forEach(t=>{if(t.nodeType===Node.ELEMENT_NODE){const e=t,n=function(t){if(Ke.has(t))return!1;if(j(t))return!1;if(function(t){const e=t.parentNode;if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const n=e,r=et(n);if(!r)return!1;const o=M(I(t)),i=r[0];if(o&&i&&i.includes(o)){if(M(I(n))===i)return!0}return!1}(t))return!1;const e=F(t);if(!1===e)return!1;return!0}(e);if(!n)return;Ke.add(e)}})}(n,e);"characterData"===t.type?function(t){if(t.target.nodeType!==Node.TEXT_NODE)return;const e=t.target,n=e.parentNode;if(!n||n.nodeType!==Node.ELEMENT_NODE)return;const r=n;(function(t){const e=I(t.target).replace(Ze,""),n=(t.oldValue||"").replace(Ze,""),r=t.target.parentNode,o=r?et(r):null,i=o?(o[0]||"").replace(Ze,""):"";if(n&&e&&n===e||i&&n&&i===n||i&&e&&i===e)return!1;return!0})(t)&&Ke.add(r)}(t):"attributes"===t.type&&function(t){if(t.target.nodeType!==Node.ELEMENT_NODE)return;const e=t.target,n=t.attributeName;if(!n)return;Qe.includes(n)&&Je.add(e)}(t)}(t)})}function cn(t,e){const n={};return t.forEach(t=>{if(t.nodeType!==Node.ELEMENT_NODE)return;const r=t;if(e){const t=nt(r);if(t){z(r).forEach(e=>{const o=r.getAttribute(e);if(o){n[e+o]=t}})}}else{const t=et(r);if(t){const e=M(I(r));e&&(n[e]=t)}}if(r.children){const t=cn(Array.from(r.children),e);t&&Object.assign(n,t)}}),Object.keys(n).length>0?n:null}function sn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function un(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?sn(Object(n),!0).forEach(function(e){ln(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):sn(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function ln(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fn(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,c=[],s=!0,u=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(c.push(r.value),c.length!==e);s=!0);}catch(t){u=!0,o=t}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return pn(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?pn(t,e):void 0}}(t,e)||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.")}()}function pn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}async function dn(t,e,n){const r=[],o=[],i=new Set;t.forEach(t=>{const e=fn(X(t,!1,[[],[]],!1),2),n=e[0],a=e[1];
4n.forEach(([t])=>{i.has(t)||et(t)||t.nodeType===Node.ELEMENT_NODE&&function(t){const e=t.parentNode;if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const n=e,r=et(n);if(!r)return!1;const o=M(I(t)),i=r[0];if(o&&i&&i.includes(o)&&M(I(n))===i)return!0;return!1}(t)||(i.add(t),r.push([t]))}),a.forEach(([t])=>{nt(t)||o.push([t])})});const a=new Set;r.forEach(([t])=>{let e="";if(e=t.nodeType===Node.TEXT_NODE?(t.nodeValue||"").trim():Ue(t).trim(),e=M(e),!e)return;const n=L(e);a.add(n)}),o.forEach(([t])=>{z(t).forEach(e=>{const n=t.getAttribute(e);if(null!=n&&n.trim()){const t=M(n.trim());a.add(t)}})});const c=Array.from(a);if(0===c.length)return{phrasesFound:0,phrasesTranslated:0,elementsTranslated:0,attributesTranslated:0};await async function(t){if(!lt(t))return ct||(ct=(async()=>{try{ft(await f(t),t)}finally{ct=null}})(),ct)}(n);const s={},u=[];c.forEach(t=>{const e=function(t,e){const n=at[`${e}:${t}`];return null==n?void 0:n.translation}(t,n);e?s[t]=e:u.push(t)});let l={};if(u.length>0){const t=new Date;t.setMilliseconds(t.getMilliseconds()-3500);const r=t.toISOString();let o=0,i=0;try{var p,h;const t=await it(u);o=(null===(p=t.phrases)||void 0===p?void 0:p.created)||0,i=(null===(h=t.phrases)||void 0===h?void 0:h.unarchived)||0,o>0&&await new Promise(t=>setTimeout(t,500))}catch(t){}const a=await d(e,n,u,o,5,o>0?r:void 0,i);l=a.data.translations;const c=a.data.phraseIds;ut(l,n,c)}const m=un(un({},s),l);let g=0,y=0;return r.forEach(([t])=>{let e="";e=t.nodeType===Node.TEXT_NODE?(t.nodeValue||"").trim():Ue(t).trim(),e=M(e);const r=L(e),o=m[r]||m[e];if(o){!function(t,e){if(t.nodeType===Node.TEXT_NODE){const n=t,r=document.createElement("textarea");return r.innerHTML=e,void(n.nodeValue=r.value)}const n=t;if(e.includes("t9nid-")){const t=G(n),r=H("div");r.innerHTML=e,Be(n,e,Array.from(r.childNodes),t)}else 0!==n.children.length||e.includes("<")?n.innerHTML=e:n.textContent=e}(t,o),Q(t,o,{original:e});const i=st(r,n)||st(e,n);null!=i&&i.phraseId&&gt(i.phraseId),g++}}),o.forEach(([t])=>{const e=z(t),r=function(t,e,n,r){let o=!1;return n.forEach(n=>{const i=t.getAttribute(n);if(i&&e[i]){if(t.setAttribute(n,e[i]),r){const t=st(i,r);null!=t&&t.phraseId&&gt(t.phraseId)}o=!0}}),o}(t,m,e,n);if(r){const n={};e.forEach(e=>{const r=t.getAttribute(e);r&&(n[e]=r)}),tt(t,JSON.stringify(n),{}),y++}}),{phrasesFound:c.length,phrasesTranslated:Object.keys(m).filter(t=>m[t]).length,elementsTranslated:g,attributesTranslated:y}}async function hn(t,e){nn();try{const n=rt(Y());return 0===n.length?{phrasesFound:0,phrasesTranslated:0,elementsTranslated:0,attributesTranslated:0}:await dn(n,t,e)}finally{rn()}}const mn={translatePage:hn,autoTranslate:async function(){const t=u();t.targetLanguage!==t.sourceLanguage&&await hn(t.sourceLanguage,t.targetLanguage)},translate:async function(t){const e=L(t),n=ze.sanitize(e,{ALLOWED_TAGS:[],ALLOWED_ATTR:[],KEEP_CONTENT:!0}),r=u(),o=r.targetLanguage,i=r.sourceLanguage;if(o===i)return n;const a=st(n,o);if(a)return a.phraseId&&gt(a.phraseId),a.translation;if(!lt(o))try{ft(await f(o),o)}catch(t){console.warn("T9N: Failed to populate dictionary:",t)}const c=st(n,o);if(c)return c.phraseId&&gt(c.phraseId),c.translation;try{await it([n]),await new Promise(t=>setTimeout(t,500));const t=await d(i,o,[n],1,3),e=t.data.translations,r=t.data.phraseIds;if(e[n])return ut({[n]:e[n]},o,r),r&&r[n]&&gt(r[n]),e[n]}catch(t){}return n},init:async function(t){if(function(t){s=i(i(i({},c),s),t)}(t),t.targetLanguage&&t.targetLanguage!==t.sourceLanguage)try{ft(await f(t.targetLanguage),t.targetLanguage)}catch(t){console.warn("T9N: Failed to pre-load translations:",t)}"undefined"!=typeof MutationObserver&&!!document.body&&(Xe=new MutationObserver(t=>{qe.push(...t),Ve||on()}),rn(),!0)||console.warn("T9N: Mutation observer could not be initialized. Automatic translation of new content will not work.")},destroy:async function(){await en()}};"undefined"!=typeof window&&(window.T9N=mn);const gn=mn;T9N=r.default})();
5//# debugId=36efde71-a5da-56c2-80a5-3760bbf33eb4

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.