@futdevpro/ccap 1.1.2 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/build/_collections/auto-start.util.d.ts.map +1 -1
- package/cli/build/_collections/auto-start.util.js +8 -12
- package/cli/build/_collections/auto-start.util.js.map +1 -1
- package/cli/build/_collections/process-control.util.d.ts +27 -0
- package/cli/build/_collections/process-control.util.d.ts.map +1 -0
- package/cli/build/_collections/process-control.util.js +172 -0
- package/cli/build/_collections/process-control.util.js.map +1 -0
- package/cli/build/_collections/setup-wizard.util.d.ts +5 -0
- package/cli/build/_collections/setup-wizard.util.d.ts.map +1 -1
- package/cli/build/_collections/setup-wizard.util.js +113 -94
- package/cli/build/_collections/setup-wizard.util.js.map +1 -1
- package/cli/build/_commands/restart.d.ts +2 -2
- package/cli/build/_commands/restart.d.ts.map +1 -1
- package/cli/build/_commands/restart.js +4 -14
- package/cli/build/_commands/restart.js.map +1 -1
- package/cli/build/_commands/start.d.ts +1 -8
- package/cli/build/_commands/start.d.ts.map +1 -1
- package/cli/build/_commands/start.js +3 -67
- package/cli/build/_commands/start.js.map +1 -1
- package/cli/build/_commands/status.js +3 -3
- package/cli/build/_commands/status.js.map +1 -1
- package/cli/build/_commands/stop.d.ts +1 -2
- package/cli/build/_commands/stop.d.ts.map +1 -1
- package/cli/build/_commands/stop.js +3 -33
- package/cli/build/_commands/stop.js.map +1 -1
- package/cli/build/_commands/update.d.ts +6 -0
- package/cli/build/_commands/update.d.ts.map +1 -0
- package/cli/build/_commands/update.js +26 -0
- package/cli/build/_commands/update.js.map +1 -0
- package/cli/build/program.js +13 -3
- package/cli/build/program.js.map +1 -1
- package/client-dist/browser/chunk-FMFEMJE7.js +218 -0
- package/client-dist/browser/{chunk-KJ7FQNUG.js → chunk-YV5G3XYV.js} +1 -1
- package/client-dist/browser/index.html +2 -2
- package/client-dist/browser/main-XZGF4SOO.js +2 -0
- package/client-dist/browser/styles-TSK27CYC.css +1 -0
- package/package.json +2 -1
- package/server/build/src/_modules/agent/assemble-conversation.control-service.js +4 -3
- package/server/build/src/_modules/agent/assemble-conversation.control-service.js.map +1 -1
- package/server/build/src/_modules/default-path/default-path.util-service.js +8 -0
- package/server/build/src/_modules/default-path/default-path.util-service.js.map +1 -1
- package/server/build/src/_modules/default-path/default-path.util-service.spec.js +10 -0
- package/server/build/src/_modules/default-path/default-path.util-service.spec.js.map +1 -1
- package/server/build/src/_modules/default-path/soul-file.util-service.js +15 -11
- package/server/build/src/_modules/default-path/soul-file.util-service.js.map +1 -1
- package/server/build/src/_routes/client-static/client-static.controller.js +7 -3
- package/server/build/src/_routes/client-static/client-static.controller.js.map +1 -1
- package/server/build/src/_routes/setup/setup.controller.js +23 -1
- package/server/build/src/_routes/setup/setup.controller.js.map +1 -1
- package/client-dist/browser/chunk-UTNU5A7U.js +0 -218
- package/client-dist/browser/main-RHNH7LDD.js +0 -2
- package/client-dist/browser/styles-VWWGDWT7.css +0 -1
|
@@ -1,218 +0,0 @@
|
|
|
1
|
-
var Hx=Object.create;var Jo=Object.defineProperty,zx=Object.defineProperties,Wx=Object.getOwnPropertyDescriptor,Gx=Object.getOwnPropertyDescriptors,Zx=Object.getOwnPropertyNames,_b=Object.getOwnPropertySymbols,Yx=Object.getPrototypeOf,Db=Object.prototype.hasOwnProperty,Qx=Object.prototype.propertyIsEnumerable;var bb=(e,t,n)=>t in e?Jo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,D=(e,t)=>{for(var n in t||={})Db.call(t,n)&&bb(e,n,t[n]);if(_b)for(var n of _b(t))Qx.call(t,n)&&bb(e,n,t[n]);return e},B=(e,t)=>zx(e,Gx(t));var Jx=(e,t)=>()=>(e&&(t=e(e=0)),t);var h=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Kx=(e,t)=>{for(var n in t)Jo(e,n,{get:t[n],enumerable:!0})},wb=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Zx(t))!Db.call(e,i)&&i!==n&&Jo(e,i,{get:()=>t[i],enumerable:!(r=Wx(t,i))||r.enumerable});return e};var yJ=(e,t,n)=>(n=e!=null?Hx(Yx(e)):{},wb(t||!e||!e.__esModule?Jo(n,"default",{value:e,enumerable:!0}):n,e)),Eb=e=>wb(Jo({},"__esModule",{value:!0}),e);var we=(e,t,n)=>new Promise((r,i)=>{var o=u=>{try{a(n.next(u))}catch(c){i(c)}},s=u=>{try{a(n.throw(u))}catch(c){i(c)}},a=u=>u.done?r(u.value):Promise.resolve(u.value).then(o,s);a((n=n.apply(e,t)).next())});var zm={};Kx(zm,{__addDisposableResource:()=>mM,__assign:()=>Ac,__asyncDelegator:()=>uM,__asyncGenerator:()=>aM,__asyncValues:()=>cM,__await:()=>ji,__awaiter:()=>tM,__classPrivateFieldGet:()=>hM,__classPrivateFieldIn:()=>gM,__classPrivateFieldSet:()=>pM,__createBinding:()=>xc,__decorate:()=>KE,__disposeResources:()=>vM,__esDecorate:()=>Gj,__exportStar:()=>rM,__extends:()=>QE,__generator:()=>nM,__importDefault:()=>fM,__importStar:()=>dM,__makeTemplateObject:()=>lM,__metadata:()=>eM,__param:()=>XE,__propKey:()=>Yj,__read:()=>Hm,__rest:()=>JE,__runInitializers:()=>Zj,__setFunctionName:()=>Qj,__spread:()=>iM,__spreadArray:()=>sM,__spreadArrays:()=>oM,__values:()=>Tc,default:()=>Xj});function QE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Bm(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}function JE(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function KE(e,t,n,r){var i=arguments.length,o=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(i<3?s(o):i>3?s(t,n,o):s(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o}function XE(e,t){return function(n,r){t(n,r,e)}}function Gj(e,t,n,r,i,o){function s(_){if(_!==void 0&&typeof _!="function")throw new TypeError("Function expected");return _}for(var a=r.kind,u=a==="getter"?"get":a==="setter"?"set":"value",c=!t&&e?r.static?e:e.prototype:null,l=t||(c?Object.getOwnPropertyDescriptor(c,r.name):{}),d,p=!1,g=n.length-1;g>=0;g--){var m={};for(var v in r)m[v]=v==="access"?{}:r[v];for(var v in r.access)m.access[v]=r.access[v];m.addInitializer=function(_){if(p)throw new TypeError("Cannot add initializers after decoration has completed");o.push(s(_||null))};var y=(0,n[g])(a==="accessor"?{get:l.get,set:l.set}:l[u],m);if(a==="accessor"){if(y===void 0)continue;if(y===null||typeof y!="object")throw new TypeError("Object expected");(d=s(y.get))&&(l.get=d),(d=s(y.set))&&(l.set=d),(d=s(y.init))&&i.unshift(d)}else(d=s(y))&&(a==="field"?i.unshift(d):l[u]=d)}c&&Object.defineProperty(c,r.name,l),p=!0}function Zj(e,t,n){for(var r=arguments.length>2,i=0;i<t.length;i++)n=r?t[i].call(e,n):t[i].call(e);return r?n:void 0}function Yj(e){return typeof e=="symbol"?e:"".concat(e)}function Qj(e,t,n){return typeof t=="symbol"&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function eM(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function tM(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?o(l.value):i(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}function nM(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(c){return function(l){return u([c,l])}}function u(c){if(r)throw new TypeError("Generator is already executing.");for(;s&&(s=0,c[0]&&(n=0)),n;)try{if(r=1,i&&(o=c[0]&2?i.return:c[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,c[1])).done)return o;switch(i=0,o&&(c=[c[0]&2,o.value]),c[0]){case 0:case 1:o=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,i=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){n.label=c[1];break}if(c[0]===6&&n.label<o[1]){n.label=o[1],o=c;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(c);break}o[2]&&n.ops.pop(),n.trys.pop();continue}c=t.call(e,n)}catch(l){c=[6,l],i=0}finally{r=o=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function rM(e,t){for(var n in e)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&xc(t,e,n)}function Tc(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Hm(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o}function iM(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Hm(arguments[t]));return e}function oM(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),i=0,t=0;t<n;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,i++)r[i]=o[s];return r}function sM(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}function ji(e){return this instanceof ji?(this.v=e,this):new ji(e)}function aM(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),i,o=[];return i={},a("next"),a("throw"),a("return",s),i[Symbol.asyncIterator]=function(){return this},i;function s(g){return function(m){return Promise.resolve(m).then(g,d)}}function a(g,m){r[g]&&(i[g]=function(v){return new Promise(function(y,_){o.push([g,v,y,_])>1||u(g,v)})},m&&(i[g]=m(i[g])))}function u(g,m){try{c(r[g](m))}catch(v){p(o[0][3],v)}}function c(g){g.value instanceof ji?Promise.resolve(g.value.v).then(l,d):p(o[0][2],g)}function l(g){u("next",g)}function d(g){u("throw",g)}function p(g,m){g(m),o.shift(),o.length&&u(o[0][0],o[0][1])}}function uM(e){var t,n;return t={},r("next"),r("throw",function(i){throw i}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(i,o){t[i]=e[i]?function(s){return(n=!n)?{value:ji(e[i](s)),done:!1}:o?o(s):s}:o}}function cM(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Tc=="function"?Tc(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(o){n[o]=e[o]&&function(s){return new Promise(function(a,u){s=e[o](s),i(a,u,s.done,s.value)})}}function i(o,s,a,u){Promise.resolve(u).then(function(c){o({value:c,done:a})},s)}}function lM(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function dM(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&xc(t,e,n);return Jj(t,e),t}function fM(e){return e&&e.__esModule?e:{default:e}}function hM(e,t,n,r){if(n==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?r:n==="a"?r.call(e):r?r.value:t.get(e)}function pM(e,t,n,r,i){if(r==="m")throw new TypeError("Private method is not writable");if(r==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?i.call(e,n):i?i.value=n:t.set(e,n),n}function gM(e,t){if(t===null||typeof t!="object"&&typeof t!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof e=="function"?t===e:e.has(t)}function mM(e,t,n){if(t!=null){if(typeof t!="object"&&typeof t!="function")throw new TypeError("Object expected.");var r,i;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(r===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(i=r)}if(typeof r!="function")throw new TypeError("Object not disposable.");i&&(r=function(){try{i.call(this)}catch(o){return Promise.reject(o)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}function vM(e){function t(r){e.error=e.hasError?new Kj(r,e.error,"An error was suppressed during disposal."):r,e.hasError=!0}function n(){for(;e.stack.length;){var r=e.stack.pop();try{var i=r.dispose&&r.dispose.call(r.value);if(r.async)return Promise.resolve(i).then(n,function(o){return t(o),n()})}catch(o){t(o)}}if(e.hasError)throw e.error}return n()}var Bm,Ac,xc,Jj,Kj,Xj,Wm=Jx(()=>{"use strict";Bm=function(e,t){return Bm=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},Bm(e,t)};Ac=function(){return Ac=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Ac.apply(this,arguments)};xc=Object.create?function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]};Jj=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};Kj=typeof SuppressedError=="function"?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};Xj={__extends:QE,__assign:Ac,__rest:JE,__decorate:KE,__param:XE,__metadata:eM,__awaiter:tM,__generator:nM,__createBinding:xc,__exportStar:rM,__values:Tc,__read:Hm,__spread:iM,__spreadArrays:oM,__spreadArray:sM,__await:ji,__asyncGenerator:aM,__asyncDelegator:uM,__asyncValues:cM,__makeTemplateObject:lM,__importStar:dM,__importDefault:fM,__classPrivateFieldGet:hM,__classPrivateFieldSet:pM,__classPrivateFieldIn:gM,__addDisposableResource:mM,__disposeResources:vM}});var Gm=h(re=>{"use strict";Object.defineProperty(re,"__esModule",{value:!0});re.yottabyte=re.zettabyte=re.exabyte=re.petabyte=re.terabyte=re.gigabyte=re.megabyte=re.kilobyte=re.byte=void 0;re.byte=8;re.kilobyte=1024;re.megabyte=re.kilobyte*1024;re.gigabyte=re.megabyte*1024;re.terabyte=re.gigabyte*1024;re.petabyte=re.terabyte*1024;re.exabyte=re.petabyte*1024;re.zettabyte=re.exabyte*1024;re.yottabyte=re.zettabyte*1024});var Zm=h(Nc=>{"use strict";Object.defineProperty(Nc,"__esModule",{value:!0});Nc.DyFM_error_defaults=void 0;Nc.DyFM_error_defaults={errorCode:"NO-ERROR-CODE",message:"NO-ERROR-MESSAGE",userMessage:"MISSING-ERROR-USER-MESSAGE",issuer:"MISSING-ISSUER",issuerService:"MISSING-ISSUER-SERVICE",issuerSystem:"MISSING-ISSUER-SYSTEM",systemVersion:"MISSING-SYSTEM-VERSION"}});var yM=h(Pc=>{"use strict";Object.defineProperty(Pc,"__esModule",{value:!0});Pc.DyFM_global_settings=void 0;Pc.DyFM_global_settings={systemShortCodeName:"DyFM_UNKNOWN_SYSTEM",baseUrl:"/api",log_settings:{}}});var _M=h(Te=>{"use strict";Object.defineProperty(Te,"__esModule",{value:!0});Te.trillion=Te.billion=Te.million=Te.kilo=void 0;Te.kilo=1e3;Te.million=Te.kilo*Te.kilo;Te.billion=Te.million*Te.kilo;Te.trillion=Te.billion*Te.kilo});var As=h(ce=>{"use strict";Object.defineProperty(ce,"__esModule",{value:!0});ce.year=ce.month=ce.week=ce.day=ce.hour=ce.minute=ce.second=void 0;ce.second=1e3;ce.minute=ce.second*60;ce.hour=ce.minute*60;ce.day=ce.hour*24;ce.week=ce.day*7;ce.month=ce.day*30.4368499;ce.year=ce.day*365.242199});var Ts=h(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});Li.DyFM_allLogStyles=Li.DyFM_LogStyle=void 0;var Ym=function(e){return e.reset="\x1B[0m",e.bold="\x1B[1m",e.dim="\x1B[2m",e.underline="\x1B[4m",e.blink="\x1B[5m",e.reverse="\x1B[7m",e.hidden="\x1B[8m",e.black="\x1B[30m",e.red="\x1B[31m",e.green="\x1B[32m",e.orange="\x1B[38;5;208m",e.brightOrange="\x1B[38;5;214m",e.yellow="\x1B[33m",e.blue="\x1B[34m",e.magenta="\x1B[35m",e.cyan="\x1B[36m",e.white="\x1B[37m",e.BgBlack="\x1B[40m",e.BgRed="\x1B[41m",e.BgGreen="\x1B[42m",e.BgYellow="\x1B[43m",e.BgBlue="\x1B[44m",e.BgMagenta="\x1B[45m",e.BgCyan="\x1B[46m",e.BgWhite="\x1B[47m",e}(Ym||(Li.DyFM_LogStyle=Ym={}));Li.DyFM_allLogStyles=Object.values(Ym)});var qt=h(Fc=>{"use strict";Object.defineProperty(Fc,"__esModule",{value:!0});Fc.DyFM_Log=void 0;var le=Ts(),Qm=class e{static infoStyle=le.DyFM_LogStyle.cyan;static errorStyle=le.DyFM_LogStyle.red;static warnStyle=le.DyFM_LogStyle.brightOrange;static successStyle=le.DyFM_LogStyle.green;static highlightedStyle=`${le.DyFM_LogStyle.white}${le.DyFM_LogStyle.bold}`;static boldStyle=le.DyFM_LogStyle.bold;static h_test="|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||";static h_before="\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\";static h_after="/////////////////////////////////////////////////////////////////////////////";static h_small="-----------------------------------------------------------------------------";static setStyle(t){let n="";t.forEach(r=>{n+=r}),console.log(n)}static resetStyle(){console.log(le.DyFM_LogStyle.reset)}static addStyle(t,n,r){let i="";return n.forEach(o=>{i+=o}),i+=t,r||(i+=le.DyFM_LogStyle.reset),i}static success(t,...n){0<n.length?console.log(`${this.successStyle}${t}`,...n,le.DyFM_LogStyle.reset):console.log(`${this.successStyle}${t}${le.DyFM_LogStyle.reset}`)}static logSuccess=this.success;static error(t,...n){0<n.length?console.error(`${this.errorStyle}${t}`,...n,le.DyFM_LogStyle.reset):console.error(`${this.errorStyle}${t}${le.DyFM_LogStyle.reset}`)}static logError=this.error;static warn(t,...n){0<n.length?console.warn(`${this.warnStyle}${t}`,...n,le.DyFM_LogStyle.reset):console.warn(`${this.warnStyle}${t}${le.DyFM_LogStyle.reset}`)}static warning=this.warn;static logWarning=this.warn;static info(t,...n){0<n.length?console.info(`${this.infoStyle}${t}`,...n,le.DyFM_LogStyle.reset):console.info(`${this.infoStyle}${t}${le.DyFM_LogStyle.reset}`)}static log(t,...n){console.log(t,...n)}static getHighlighted(t,...n){return`${this.highlightedStyle}${t}${le.DyFM_LogStyle.reset}`}static highlighted(t,...n){0<n.length?console.log(`${this.highlightedStyle}${t}`,...n,le.DyFM_LogStyle.reset):console.log(`${this.highlightedStyle}${t}${le.DyFM_LogStyle.reset}`)}static smallLog(t,...n){console.log(this.h_small+`
|
|
2
|
-
`+this.asfel(t,2),...this.asfesop(n,2),`
|
|
3
|
-
`+this.h_small)}static S_log=e.smallLog;static testLog(t,...n){this.log(`
|
|
4
|
-
`+this.h_test+`
|
|
5
|
-
|
|
6
|
-
`+this.asfel(t,4),...this.asfesop(n,4),`
|
|
7
|
-
|
|
8
|
-
`+this.h_test+`
|
|
9
|
-
`)}static test=e.testLog;static T_log=e.testLog;static highlightedLog(t,...n){this.log(`
|
|
10
|
-
|
|
11
|
-
`+this.h_before+`
|
|
12
|
-
`+this.h_before+`
|
|
13
|
-
`+this.h_before+`
|
|
14
|
-
|
|
15
|
-
`+this.asfel(t,4),...this.asfesop(n,4),`
|
|
16
|
-
|
|
17
|
-
`+this.h_after+`
|
|
18
|
-
`+this.h_after+`
|
|
19
|
-
`+this.h_after+`
|
|
20
|
-
|
|
21
|
-
`)}static H_log=e.highlightedLog;static smallInfo(t,...n){this.info(this.h_small+`
|
|
22
|
-
`+this.asfel(t,2),...this.asfesop(n,2),`
|
|
23
|
-
`+this.infoStyle+this.h_small)}static S_info=e.smallInfo;static testInfo(t,...n){this.info(`
|
|
24
|
-
`+this.h_test+`
|
|
25
|
-
|
|
26
|
-
`+this.asfel(t,4),...this.asfesop(n,4),`
|
|
27
|
-
|
|
28
|
-
`+this.infoStyle+this.h_test+`
|
|
29
|
-
`)}static T_info=e.testInfo;static highlightedInfo(t,...n){this.info(`
|
|
30
|
-
|
|
31
|
-
`+this.h_before+`
|
|
32
|
-
`+this.h_before+`
|
|
33
|
-
`+this.h_before+`
|
|
34
|
-
|
|
35
|
-
`+this.asfel(t,4),...this.asfesop(n,4),`
|
|
36
|
-
|
|
37
|
-
`+this.infoStyle+this.h_after+`
|
|
38
|
-
`+this.h_after+`
|
|
39
|
-
`+this.h_after+`
|
|
40
|
-
|
|
41
|
-
`)}static H_info=e.highlightedInfo;static smallError(t,...n){this.error(this.h_small+`
|
|
42
|
-
`+this.asfel(t,2),...this.asfesop(n,2),`
|
|
43
|
-
`+this.errorStyle+this.h_small)}static S_error=e.smallError;static testError(t,...n){this.error(`
|
|
44
|
-
`+this.h_test+`
|
|
45
|
-
|
|
46
|
-
`+this.asfel(t,4),...this.asfesop(n,4),`
|
|
47
|
-
|
|
48
|
-
`+this.errorStyle+this.h_test+`
|
|
49
|
-
`)}static T_error=e.testError;static highlightedError(t,...n){this.error(`
|
|
50
|
-
|
|
51
|
-
`+this.h_before+`
|
|
52
|
-
`+this.h_before+`
|
|
53
|
-
`+this.h_before+`
|
|
54
|
-
|
|
55
|
-
`+this.asfel(t,4),...this.asfesop(n,4),`
|
|
56
|
-
|
|
57
|
-
`+this.errorStyle+this.h_after+`
|
|
58
|
-
`+this.h_after+`
|
|
59
|
-
`+this.h_after+`
|
|
60
|
-
|
|
61
|
-
`)}static H_error=e.highlightedError;static smallWarn(t,...n){this.warn(this.h_small+`
|
|
62
|
-
`+this.asfel(t,2),...this.asfesop(n,2),`
|
|
63
|
-
`+this.warnStyle+this.h_small)}static S_warn=e.smallWarn;static testWarn(t,...n){this.warn(`
|
|
64
|
-
`+this.h_test+`
|
|
65
|
-
|
|
66
|
-
`+this.asfel(t,4),...this.asfesop(n,4),`
|
|
67
|
-
|
|
68
|
-
`+this.warnStyle+this.h_test+`
|
|
69
|
-
`)}static T_warn=e.testWarn;static highlightedWarn(t,...n){this.warn(`
|
|
70
|
-
|
|
71
|
-
`+this.h_before+`
|
|
72
|
-
`+this.h_before+`
|
|
73
|
-
`+this.h_before+`
|
|
74
|
-
|
|
75
|
-
`+this.asfel(t,4),...this.asfesop(n,4),`
|
|
76
|
-
|
|
77
|
-
`+this.warnStyle+this.h_after+`
|
|
78
|
-
`+this.h_after+`
|
|
79
|
-
`+this.h_after+`
|
|
80
|
-
|
|
81
|
-
`)}static H_warn=e.highlightedWarn;static smallSuccess(t,...n){this.success(this.h_small+`
|
|
82
|
-
`+this.asfel(t,2),...this.asfesop(n,2),`
|
|
83
|
-
`+this.successStyle+this.h_small)}static S_success=e.smallSuccess;static testSuccess(t,...n){this.success(`
|
|
84
|
-
`+this.h_test+`
|
|
85
|
-
|
|
86
|
-
`+this.asfel(t,4),...this.asfesop(n,4),`
|
|
87
|
-
|
|
88
|
-
`+this.successStyle+this.h_test+`
|
|
89
|
-
`)}static T_success=e.testSuccess;static highlightedSuccess(t,...n){this.success(`
|
|
90
|
-
|
|
91
|
-
`+this.h_before+`
|
|
92
|
-
`+this.h_before+`
|
|
93
|
-
`+this.h_before+`
|
|
94
|
-
|
|
95
|
-
`+this.asfel(t,4),...this.asfesop(n,4),`
|
|
96
|
-
|
|
97
|
-
`+this.successStyle+this.h_after+`
|
|
98
|
-
`+this.h_after+`
|
|
99
|
-
`+this.h_after+`
|
|
100
|
-
|
|
101
|
-
`)}static H_success=e.highlightedSuccess;static removeLogStyles(t){for(let n of le.DyFM_allLogStyles)t=t.replaceAll(n,"");return t}static silenceLogs(){console.log=()=>{}}static silenceNonErrorLogs(){console.log=()=>{},console.info=()=>{},console.warn=()=>{}}static silenceConsole(){console.log=()=>{},console.info=()=>{},console.warn=()=>{},console.error=()=>{}}static addBreaksAndTabsToStringParams(t){return t.map(n=>typeof n=="string"?`
|
|
102
|
-
`+n:n)}static addSpacesForEachLine(t,n){return t.replaceAll(`
|
|
103
|
-
`,`
|
|
104
|
-
`+" ".repeat(n))}static asfel=this.addSpacesForEachLine;static addSpacesForEachStringOptionalParam(t,n){return t.map(r=>typeof r=="string"?this.addSpacesForEachLine(r,n):r)}static asfesop=this.addSpacesForEachStringOptionalParam};Fc.DyFM_Log=Qm});var bM=h(Rc=>{"use strict";Object.defineProperty(Rc,"__esModule",{value:!0});Rc.DyFM_Array=void 0;var ie=Ts(),oe=qt(),Jm=class{static asyncForEach(t,n){return we(this,null,function*(){if(!t){console.trace(oe.DyFM_Log.addStyle("DyFM_Array.asyncForEach: List is required",[ie.DyFM_LogStyle.red]));return}for(let r=0;r<t.length;r++)yield n(t[r],r,t)})}static asyncForEachReturnToOne(t,n,r){return we(this,null,function*(){if(!n)return console.trace(oe.DyFM_Log.addStyle("DyFM_Array.asyncForEachReturnToOne: List is required",[ie.DyFM_LogStyle.red])),t;let i=t;for(let o=0;o<n.length;o++)i=yield r(n[o],i,o,n);return i})}static asyncForEachReturnToAll(t,n){return we(this,null,function*(){if(!t)return console.trace(oe.DyFM_Log.addStyle("DyFM_Array.asyncForEachReturnToAll: List is required",[ie.DyFM_LogStyle.red])),[];let r=[];for(let i=0;i<t.length;i++)r.push(yield n(t[i],i,t));return r})}static asyncForEachAllAtOnce(t,n){return we(this,null,function*(){return t?yield Promise.all(t.map(n)):(console.trace(oe.DyFM_Log.addStyle("DyFM_Array.asyncForEachAllAtOnce: List is required",[ie.DyFM_LogStyle.red])),[])})}static asyncFilter(t,n){return we(this,null,function*(){if(!t)return console.trace(oe.DyFM_Log.addStyle("DyFM_Array.asyncFilter: List is required",[ie.DyFM_LogStyle.red])),[];let r=[];for(let i=0;i<t.length;i++)(yield n(t[i],i,t))&&r.push(t[i]);return r})}static asyncMap(t,n){return we(this,null,function*(){if(!t)return console.trace(oe.DyFM_Log.addStyle("DyFM_Array.asyncMap: List is required",[ie.DyFM_LogStyle.red])),[];let r=[];for(let i=0;i<t.length;i++)r.push(yield n(t[i],i,t));return r})}static last(t){return t?t.length?t[t.length-1]:null:(console.trace(oe.DyFM_Log.addStyle("DyFM_Array.last: Array is required",[ie.DyFM_LogStyle.red])),null)}static isLast(t,n){return n?n.indexOf(t)===n.length-1:(console.trace(oe.DyFM_Log.addStyle("DyFM_Array.isLast: Array is required",[ie.DyFM_LogStyle.red])),!1)}static isLastIndex(t,n){return n?t===n.length-1:(console.trace(oe.DyFM_Log.addStyle("DyFM_Array.isLastIndex: Array is required",[ie.DyFM_LogStyle.red])),!1)}static isFirst(t,n){return n?n.indexOf(t)===0:(console.trace(oe.DyFM_Log.addStyle("DyFM_Array.isFirst: Array is required",[ie.DyFM_LogStyle.red])),!1)}static lastCharacter(t){return t?t.length?t[t.length-1]:null:(console.trace(oe.DyFM_Log.addStyle("DyFM_Array.lastCharacter: String is required",[ie.DyFM_LogStyle.red])),null)}static first(t){return t?t.length?t[0]:null:(console.trace(oe.DyFM_Log.addStyle("DyFM_Array.first: Array is required",[ie.DyFM_LogStyle.red])),null)}static remove(t,n){if(!t)return console.trace(oe.DyFM_Log.addStyle("DyFM_Array.remove: Array is required",[ie.DyFM_LogStyle.red])),[];let r=t.indexOf(n);return-1<r&&t.splice(r,1),t}static findNRemove(t,n){if(!t)return console.trace(oe.DyFM_Log.addStyle("DyFM_Array.findNRemove: Array is required",[ie.DyFM_LogStyle.red])),[];let r=t.findIndex(n);return-1<r&&t.splice(r,1),t}static shuffle(t){if(!t)return console.trace(oe.DyFM_Log.addStyle("DyFM_Array.shuffle: Array is required",[ie.DyFM_LogStyle.red])),[];let n=t.length,r;for(;0<n;)n--,r=Math.floor(Math.random()*(t.length-1)),this.swap(t,n,r);return t}static page(t,n,r){return t?t.slice(n*r,(n+1)*r):(console.trace(oe.DyFM_Log.addStyle("DyFM_Array.page: Array is required",[ie.DyFM_LogStyle.red])),[])}static paged(t,n,r){return t?{pageIndex:n,pageSize:r,total:t.length,totalPageCount:Math.ceil(t.length/r),items:this.page(t,n,r)}:(console.trace(oe.DyFM_Log.addStyle("DyFM_Array.paged: Array is required",[ie.DyFM_LogStyle.red])),{pageIndex:0,pageSize:0,total:0,totalPageCount:0,items:[]})}static swap(t,n,r){return t?([t[n],t[r]]=[t[r],t[n]],t):(console.trace(oe.DyFM_Log.addStyle("DyFM_Array.swap: Array is required",[ie.DyFM_LogStyle.red])),[])}static stringListHasMultiplications(t){return t?t.some((n,r)=>t.findIndex(i=>i===n)!==r):(console.trace(oe.DyFM_Log.addStyle("DyFM_Array.stringListHasMultiplications: String list is required",[ie.DyFM_LogStyle.red])),!1)}static filterStringMultiplications(t){return t?t.filter((n,r)=>t.findIndex(i=>i===n)!==r):(console.trace(oe.DyFM_Log.addStyle("DyFM_Array.filterStringMultiplications: String list is required",[ie.DyFM_LogStyle.red])),[])}static gatherStringMultiplications(t){if(!t)return console.trace(oe.DyFM_Log.addStyle("DyFM_Array.gatherStringMultiplications: String list is required",[ie.DyFM_LogStyle.red])),[];let n=[];return t.forEach((r,i)=>{if(n.find(s=>s.includes(r)))return;let o=t.filter(s=>s===r);o.length>1&&n.push(o)}),n}static haveMultiplications(t,n="_id"){return t?t.some((r,i)=>t.findIndex(o=>o[n]===r[n])!==i):(console.trace(oe.DyFM_Log.addStyle("DyFM_Array.haveMultiplications: Data list is required",[ie.DyFM_LogStyle.red])),!1)}static filterMultiplications(t,n="_id"){return t?t.filter((r,i)=>t.findIndex(o=>o[n]===r[n])!==i):(console.trace(oe.DyFM_Log.addStyle("DyFM_Array.filterMultiplications: Data list is required",[ie.DyFM_LogStyle.red])),[])}static gatherMultiplications(t,n="_id"){if(!t)return console.trace(oe.DyFM_Log.addStyle("DyFM_Array.gatherMultiplications: Data list is required",[ie.DyFM_LogStyle.red])),[];let r=[];return t.forEach((i,o)=>{if(r.find(a=>a.includes(i)))return;let s=t.filter(a=>a[n]===i[n]);s.length>1&&r.push(s)}),r}static findFromEnd(t,n){if(!t)return console.trace(oe.DyFM_Log.addStyle("DyFM_Array.findFromEnd: Array is required",[ie.DyFM_LogStyle.red])),null;for(let r=t.length-1;r>=0;r--)if(n(t[r],r,t))return t[r];return null}static getSortForTrueFn(t){return(n,r)=>this.sortForTrue(n,r,t)}static sortForTrue(t,n,r){if(!r)return console.trace(oe.DyFM_Log.addStyle("DyFM_Array.sortForTrue: Check is required",[ie.DyFM_LogStyle.red])),0;let i=r(t);return i===r(n)?0:i?-1:1}};Rc.DyFM_Array=Jm});var Km=h(kc=>{"use strict";Object.defineProperty(kc,"__esModule",{value:!0});kc.DyFM_Month=void 0;var DM=function(e){return e.january="january",e.february="february",e.march="march",e.april="april",e.may="may",e.june="june",e.july="july",e.august="august",e.september="september",e.october="october",e.november="november",e.december="december",e}(DM||(kc.DyFM_Month=DM={}))});var Xm=h(Ct=>{"use strict";Object.defineProperty(Ct,"__esModule",{value:!0});Ct.DyFM_allDaysOfWeekStupid=Ct.DyFM_allDaysOfWeekAmericanStyle=Ct.DyFM_allDaysOfWeek=Ct.DyFM_DayOfWeek=void 0;var Ut=function(e){return e.monday="monday",e.tuesday="tuesday",e.wednesday="wednesday",e.thursday="thursday",e.friday="friday",e.saturday="saturday",e.sunday="sunday",e}(Ut||(Ct.DyFM_DayOfWeek=Ut={}));Ct.DyFM_allDaysOfWeek=Object.values(Ut);Ct.DyFM_allDaysOfWeekAmericanStyle=[Ut.sunday,Ut.monday,Ut.tuesday,Ut.wednesday,Ut.thursday,Ut.friday,Ut.saturday];Ct.DyFM_allDaysOfWeekStupid=Ct.DyFM_allDaysOfWeekAmericanStyle});var ev=h(jc=>{"use strict";Object.defineProperty(jc,"__esModule",{value:!0});jc.DyFM_RelativeDate=void 0;var wM=function(e){return e.lastDay="lastDay",e.lastWeek="lastWeek",e.lastMonth="lastMonth",e.lastYear="lastYear",e.last10Years="last10Years",e.allTime="allTime",e}(wM||(jc.DyFM_RelativeDate=wM={}))});var xs=h(Lc=>{"use strict";Object.defineProperty(Lc,"__esModule",{value:!0});Lc.DyFM_Math=void 0;var tv=class{static between(t,n,r){return n<t&&t<r}static around(t,n,r){return this.between(t,n-r,n+r)}static toFixed=this.round;static round(t,n=2){if(0<=n)return Number(t.toFixed(n));{let r=Math.pow(10,-n);return Math.round(t/r)*r}}static numberWithSpaces(t){return t?.toString()?.replace(/\B(?=(\d{3})+(?!\d))/g," ")}static numberWithShorters(t){return t<1e3?t?.toString():t<1e6?(t/1e3).toFixed(1)+"k":t<1e9?(t/1e6).toFixed(2)+"M":(t/1e9).toFixed(3)+"B"}static numberWithShortersAndSpaces(t){return this.numberWithShorters(t)?.replace(/\B(?=(\d{3})+(?!\d))/g," ")}static floatingNumberWithSpaces(t){let n=t?.toString()?.split(".");return n[0]=n?.[0]?.replace(/\B(?=(\d{3})+(?!\d))/g," "),n?.join(".")}static decimals(t,n=","){let r=t?.toString()?.split(".");return r[0]=r?.[0]?.replace(/\B(?=(\d{3})+(?!\d))/g,n),r?.join(".")}};Lc.DyFM_Math=tv});var iv=h(Vc=>{"use strict";Object.defineProperty(Vc,"__esModule",{value:!0});Vc.DyFM_Time=void 0;var O=As(),tt=Km(),nv=Xm(),Vi=ev(),Ze=xs(),rv=class{static second=O.second;static minute=O.minute;static hour=O.hour;static day=O.day;static week=O.week;static month=O.month;static year=O.year;static getAge(t){return this.getYear(+new Date-+new Date(t))}static getYear(t){return typeof t=="string"&&(t=new Date(t)),+t/O.year}static getHour(t){return typeof t=="string"&&(t=new Date(t)),+t/O.hour}static getDateByAge(t){return new Date(+new Date-O.year*t)}static getDateByRelativeDate(t,n){switch(t){case Vi.DyFM_RelativeDate.lastDay:return this.oneDayAgo(n);case Vi.DyFM_RelativeDate.lastWeek:return this.oneWeekAgo(n);case Vi.DyFM_RelativeDate.lastMonth:return this.oneMonthAgo(n);case Vi.DyFM_RelativeDate.lastYear:return this.oneYearAgo(n);case Vi.DyFM_RelativeDate.last10Years:return this.tenYearsAgo(n);case Vi.DyFM_RelativeDate.allTime:return new Date(0);default:return new Date(0)}}static oneHourAgo(t=new Date){return new Date(+t-O.hour)}static oneDayAgo(t=new Date){return new Date(+t-O.day)}static oneWeekAgo(t=new Date){return new Date(+t-O.week)}static oneMonthAgo(t=new Date){return new Date(+t-O.month)}static oneYearAgo(t=new Date){return new Date(+t-O.year)}static tenYearsAgo(t=new Date){return new Date(+t-10*O.year)}static getTodayOfWeek(){return nv.DyFM_DayOfWeek[new Date().toLocaleString("en-us",{weekday:"long"}).toLocaleLowerCase()]}static getDaysOfWeekFromToday(){let t=this.getTodayOfWeek(),n=Object.values(nv.DyFM_DayOfWeek),r=n.indexOf(t);return n.slice(r).concat(n.slice(0,r))}static getDaysOfWeekToToday(){let t=this.getTodayOfWeek(),n=Object.values(nv.DyFM_DayOfWeek),r=n.indexOf(t);return n.slice(0,r).reverse().concat(n.slice(r).reverse())}static getCurrentMonth(){return tt.DyFM_Month[new Date().toLocaleString("en-us",{month:"long"}).toLocaleLowerCase()]}static getMonthLength(t,n){switch(t){case tt.DyFM_Month.january:case tt.DyFM_Month.march:case tt.DyFM_Month.may:case tt.DyFM_Month.june:case tt.DyFM_Month.august:case tt.DyFM_Month.october:return 31;case tt.DyFM_Month.april:case tt.DyFM_Month.july:case tt.DyFM_Month.september:case tt.DyFM_Month.november:case tt.DyFM_Month.december:return 30;case tt.DyFM_Month.february:return this.isLeapYear(n??new Date().getFullYear())?29:28}}static isLeapYear(t){return t%4===0}static getDurationString(t,n){if(t===0)return"0ms";if(!t)return"N/A";if(t<O.second/10)return`${t}ms`;if(t<O.second)return`${Ze.DyFM_Math.round(t/O.second,2)}s`;if(t<O.minute){let o=Ze.DyFM_Math.round(t/O.second,0);if(n){let s=t%O.second;return`${o}s ${s}ms`}return`${o}s`}if(t<O.hour){let o=Ze.DyFM_Math.round(t/O.minute,0),s=Ze.DyFM_Math.round(t%O.minute/O.second,0);return`${o}m ${s}s`}if(t<O.day){let o=Ze.DyFM_Math.round(t/O.hour,0),s=Ze.DyFM_Math.round(t%O.hour/O.minute,0);return`${o}h ${s}m`}if(t<O.week){let o=Ze.DyFM_Math.round(t/O.day,0),s=Ze.DyFM_Math.round(t%O.day/O.hour,0);return`${o}d ${s}h`}if(t<O.month){let o=Ze.DyFM_Math.round(t/O.week,0),s=Ze.DyFM_Math.round(t%O.week/O.day,0);return`${o}w ${s}d`}if(t<O.year){let o=Ze.DyFM_Math.round(t/O.month,0),s=Ze.DyFM_Math.round(t%O.month/O.week,0);return`${o}m ${s}w`}let r=Ze.DyFM_Math.round(t/O.year,0),i=Ze.DyFM_Math.round(t%O.year/O.month,0);return`${r}y ${i}m`}static getTimeInShortestString(t){return t%O.year===0?`${t/O.year}y`:t%O.month===0?`${t/O.month}m`:t%O.week===0?`${t/O.week}w`:t%O.day===0?`${t/O.day}d`:t%O.hour===0?`${t/O.hour}h`:t%O.minute===0?`${t/O.minute}m`:t%O.second===0?`${t/O.second}s`:`${t}ms`}};Vc.DyFM_Time=rv});var av=h(qc=>{"use strict";Object.defineProperty(qc,"__esModule",{value:!0});qc.DyFM_Async=void 0;var Ve=As(),EM=iv(),ov=qt(),sv=class e{static wait(t){return new Promise(n=>setTimeout(n,t))}static sleep=this.wait;static delay=this.wait;static waitUntil(t,n=100,r=1e4){let i=new Error("waitUntil timeout");return new Promise((o,s)=>{let a=Date.now(),u=setInterval(()=>{t()?(clearInterval(u),o()):Date.now()-a>r&&(clearInterval(u),s(i))},n)})}static waitUntilAsync(t,n=100,r=1e4){let i=new Error("waitUntilAsync timeout");return new Promise((o,s)=>{let a=Date.now(),u=setInterval(()=>we(this,null,function*(){(yield t())?(clearInterval(u),o()):Date.now()-a>r&&(clearInterval(u),s(i))}),n)})}static takeUntil(t,n){return new Promise(r=>{let i=t.subscribe(o=>{n(o)&&(i.unsubscribe(),r(o))})})}static waitWithCountdownLogging(t,n="Countdown"){return we(this,null,function*(){let r=Date.now(),i=r+t,s=(c=>{let l=c/Ve.second,d=l/60,p=d/60,g=p/24;return g/7>=4?Ve.week:g>=7?Ve.day:g>=3?12*Ve.hour:g>=1?6*Ve.hour:p>=12?3*Ve.hour:p>=6?Ve.hour:p>=3?30*Ve.minute:p>=1?10*Ve.minute:d>=30?5*Ve.minute:d>=10?Ve.minute:d>=5?30*Ve.second:d>=1?10*Ve.second:l>=30?5*Ve.second:Ve.second})(t),a=r,u=c=>EM.DyFM_Time.getTimeInShortestString(c);for(ov.DyFM_Log.info(`\u23F3 ${n} started - Total duration: ${u(t)}`);Date.now()<i;){let c=Date.now(),l=i-c;if(c-a>=s){let d=u(l);ov.DyFM_Log.info(`\u23F3 ${n} - ${d} remaining`),a=c}yield e.wait(Math.min(EM.DyFM_Time.second,l))}ov.DyFM_Log.success(`\u2705 ${n} completed`)})}};qc.DyFM_Async=sv});var MM=h(Uc=>{"use strict";Object.defineProperty(Uc,"__esModule",{value:!0});Uc.DyFM_Data=void 0;var $n=Gm(),Bn=xs(),uv=class{static kilobyte=$n.kilobyte;static megabyte=$n.megabyte;static gigabyte=$n.gigabyte;static terabyte=$n.terabyte;static petabyte=$n.petabyte;static exabyte=$n.exabyte;static zettabyte=$n.zettabyte;static yottabyte=$n.yottabyte;static getSizeString(t,n,r){if(t===0)return"0B";if(!t)return"N/A";let i=t<0,o=Math.abs(t);if(o<this.kilobyte)return`${i?"-":""}${Math.floor(o)}B`;if(o<this.megabyte){let u=o/this.kilobyte;if(r){let l=Math.floor(u),d=o-l*this.kilobyte,p=Math.floor(d),g=i?"-":"";return p>0?`${g}${l}KB ${p}B`:`${g}${l}KB`}let c=`${Bn.DyFM_Math.round(u,n??(Number.isInteger(u)?0:2))}KB`;return i?`-${c}`:c}if(o<this.gigabyte){let u=o/this.megabyte;if(r){let l=Math.floor(u),d=o-l*this.megabyte,p=Math.floor(d/this.kilobyte),g=i?"-":"";return p>0?`${g}${l}MB ${p}KB`:`${g}${l}MB`}let c=`${Bn.DyFM_Math.round(u,n??(Number.isInteger(u)?0:2))}MB`;return i?`-${c}`:c}if(o<this.terabyte){let u=o/this.gigabyte;if(r){let l=Math.floor(u),d=o-l*this.gigabyte,p=Math.floor(d/this.megabyte),g=i?"-":"";return p>0?`${g}${l}GB ${p}MB`:`${g}${l}GB`}let c=`${Bn.DyFM_Math.round(u,n??(Number.isInteger(u)?0:2))}GB`;return i?`-${c}`:c}if(o<this.petabyte){let u=o/this.terabyte;if(r){let l=Math.floor(u),d=o-l*this.terabyte,p=Math.floor(d/this.gigabyte),g=i?"-":"";return p>0?`${g}${l}TB ${p}GB`:`${g}${l}TB`}let c=`${Bn.DyFM_Math.round(u,n??(Number.isInteger(u)?0:2))}TB`;return i?`-${c}`:c}if(o<this.exabyte){let u=o/this.petabyte;if(r){let l=Math.floor(u),d=o-l*this.petabyte,p=Math.floor(d/this.terabyte),g=i?"-":"";return p>0?`${g}${l}PB ${p}TB`:`${g}${l}PB`}let c=`${Bn.DyFM_Math.round(u,n??(Number.isInteger(u)?0:2))}PB`;return i?`-${c}`:c}if(o<this.zettabyte){let u=o/this.exabyte;if(r){let l=Math.floor(u),d=o-l*this.exabyte,p=Math.floor(d/this.petabyte),g=i?"-":"";return p>0?`${g}${l}EB ${p}PB`:`${g}${l}EB`}let c=`${Bn.DyFM_Math.round(u,n??(Number.isInteger(u)?0:2))}EB`;return i?`-${c}`:c}if(o<this.yottabyte){let u=o/this.zettabyte;if(r){let l=Math.floor(u),d=o-l*this.zettabyte,p=Math.floor(d/this.exabyte),g=i?"-":"";return p>0?`${g}${l}ZB ${p}EB`:`${g}${l}ZB`}let c=`${Bn.DyFM_Math.round(u,n??(Number.isInteger(u)?0:2))}ZB`;return i?`-${c}`:c}let s=o/this.yottabyte;if(r){let u=Math.floor(s),c=o-u*this.yottabyte,l=Math.floor(c/this.zettabyte),d=i?"-":"";return l>0?`${d}${u}YB ${l}ZB`:`${d}${u}YB`}let a=`${Bn.DyFM_Math.round(s,n??(Number.isInteger(s)?0:2))}YB`;return i?`-${a}`:a}};Uc.DyFM_Data=uv});var lv=h($c=>{"use strict";Object.defineProperty($c,"__esModule",{value:!0});$c.DyFM_JsonErrorHelper=void 0;var cv=class{static extractLineInfoFromJsonError(t,n,r=5){try{let i=t.match(/at position (\d+)/);if(i||(i=t.match(/Unexpected end of JSON input at position (\d+)/)),i||(i=t.match(/position (\d+)/)),!i){let s=t.match(/Unexpected token '(.)'|Unexpected token (.)/);if(s&&n.includes(`
|
|
105
|
-
`)){let a=s[1]||s[2];if(a){let u=n.indexOf(a);if(u!==-1)return this.createLineInfoFromPosition(n,u,r)}}return null}let o=parseInt(i[1],10);return isNaN(o)||o<0||o>n.length?null:this.createLineInfoFromPosition(n,o,r)}catch{return null}}static createLineInfoFromPosition(t,n,r){if(!t||typeof t!="string")return{lineNumber:1,contextLines:["(invalid or empty input)"],characterPosition:0};let i=t.split(`
|
|
106
|
-
`),o=0,s=1,a=0;for(let d=0;d<i.length;d++){let p=i[d].length;if(o+p>=n){s=d+1,a=n-o;break}o+=p+1}a===0&&s===1&&(s=i.length,a=n-o),a<0&&(a=0),s>i.length&&(s=i.length);let u=Math.max(0,s-r-1),c=Math.min(i.length,s+r),l=i.slice(u,c);return{lineNumber:s,contextLines:l,characterPosition:a}}static formatJsonErrorForLogging(t,n){let r=[];r.push(`JSON parsing failed: ${n}`),r.push(`Error at line ${t.lineNumber}, character ${t.characterPosition}:`),r.push(`Context (${t.contextLines.length} lines):`);let i=Math.max(1,t.lineNumber-Math.floor(t.contextLines.length/2));return t.contextLines.forEach((o,s)=>{let a=i+s,u=a===t.lineNumber?">>> ":" ",c=o||"(empty line)";r.push(`${u}${a.toString().padStart(3)}: ${c}`)}),r}static parseJsonWithEnhancedError(t,n,r=2){if(!t||typeof t!="string")throw new Error(`Invalid JSON input: expected string, got ${typeof t}`);try{return JSON.parse(t,n)}catch(i){let o=i instanceof Error?i.message:String(i),s=t,a=this.extractLineInfoFromJsonError(o,s,r);if(!a&&!s.includes(`
|
|
107
|
-
`))try{let u=this.formatJsonForBetterErrors(s);try{JSON.parse(u,n)}catch(c){let l=c instanceof Error?c.message:String(c);a=this.extractLineInfoFromJsonError(l,u,r)}}catch{a=null}if(a){let u=this.formatJsonErrorForLogging(a,o);throw new Error(`JSON parsing failed:
|
|
108
|
-
${u.join(`
|
|
109
|
-
`)}`)}else throw new Error(`JSON parsing failed: ${o}`)}}static formatJsonForBetterErrors(t){return!t||typeof t!="string"?t||"":t.replace(/,/g,`,
|
|
110
|
-
`).replace(/{/g,`{
|
|
111
|
-
`).replace(/}/g,`
|
|
112
|
-
}`).replace(/\[/g,`[
|
|
113
|
-
`).replace(/\]/g,`
|
|
114
|
-
]`).replace(/\n\s*\n/g,`
|
|
115
|
-
`).replace(/^\s+|\s+$/gm,function(n,r,i){if(!i||typeof i!="string")return n;let o=i.slice(0,r).split(`
|
|
116
|
-
`),s=(i.slice(0,r).match(/{|\[/g)||[]).length-(i.slice(0,r).match(/}|\]/g)||[]).length;return" ".repeat(Math.max(0,s))})}};$c.DyFM_JsonErrorHelper=cv});var CM=h(Bc=>{"use strict";Object.defineProperty(Bc,"__esModule",{value:!0});Bc.DyFM_RoundList=void 0;var dv=class{static getOutboundedIndex(t,n){if(!t)throw new Error("roundListPlusIndex failed. list is empty!");return n<0&&(n=n%t,n=t+n),t<=n&&(n=n%t),n}static getIndexOpposite(t,n){let r=n+Math.round(t/2);return this.getOutboundedIndex(t,r)}static getListIndex(t,n){return t[this.getOutboundedIndex(t.length,n)]}static getListOpposite(t,n){return t[this.getIndexOpposite(t.length,t.indexOf(n))]}static getLast(t){return 0<t.length?t[t.length-1]:null}};Bc.DyFM_RoundList=dv});var hv=h(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});Ui.DyFM_StringCase=Ui.DyFM_StringCase_Type=void 0;var qi=function(e){return e.camelCase="camel-case",e.PascalCase="pascal-case",e.kebabCase="kebab-case",e.snake_case="snake-case",e}(qi||(Ui.DyFM_StringCase_Type=qi={})),fv=class{static parseWords(t){if(!t||t.trim().length===0)return[];let r=t.replace(/[\s_\-]+/g," ").replace(/[^a-zA-Z0-9\s]/g," ").trim().split(/\s+/).filter(o=>o.length>0),i=[];for(let o of r){if(o.length===0)continue;let s=[0];for(let a=1;a<o.length;a++){let u=o[a],c=o[a-1],l=a<o.length-1?o[a+1]:"",d=/[A-Z]/.test(u),p=/[a-z]/.test(u),g=/[a-zA-Z]/.test(u),m=/[0-9]/.test(u),v=/[A-Z]/.test(c),y=/[a-z]/.test(c),_=/[0-9]/.test(c),S=/[a-z]/.test(l),N=/[A-Z]/.test(l);if(_&&g)s.push(a);else if(y&&d)s.push(a);else if(d&&v&&S){let P=a-1;for(;P>0&&/[A-Z]/.test(o[P-1]);)P--;a-P>=1&&s.push(a)}else if(v&&p){let P=a-1;for(;P>0&&/[A-Z]/.test(o[P-1]);)P--;a-P>1&&(s.includes(a-1)||s.push(a-1))}}for(let a=0;a<s.length;a++){let u=s[a],c=a<s.length-1?s[a+1]:o.length,l=o.substring(u,c);l.length>0&&i.push(l.toLowerCase())}}return i}static toCamelCase(t){let n=this.parseWords(t);return n.length===0?"":n.map((r,i)=>i===0?r.toLowerCase():r.charAt(0).toUpperCase()+r.slice(1).toLowerCase()).join("")}static toPascalCase(t){let n=this.parseWords(t);return n.length===0?"":n.map(r=>r.charAt(0).toUpperCase()+r.slice(1).toLowerCase()).join("")}static toKebabCase(t){let n=this.parseWords(t);return n.length===0?"":n.join("-")}static toSnakeCase(t){let n=this.parseWords(t);return n.length===0?"":n.join("_")}static convertTo(t,n){switch(n){case qi.camelCase:return this.toCamelCase(t);case qi.PascalCase:return this.toPascalCase(t);case qi.kebabCase:return this.toKebabCase(t);case qi.snake_case:return this.toSnakeCase(t);default:return t}}static convertToAny(t,n){let r=n.toLowerCase().trim();return r==="camelcase"||r==="camel-case"?this.toCamelCase(t):r==="pascalcase"||r==="pascal-case"?this.toPascalCase(t):r==="kebabcase"||r==="kebab-case"?this.toKebabCase(t):r==="snakecase"||r==="snake-case"||r==="snake_case"?this.toSnakeCase(t):t}static includesIgnoreCase(t,n){if(!t||!n)return!1;let r=[n,this.toCamelCase(n),this.toPascalCase(n),this.toKebabCase(n),this.toSnakeCase(n)],i=this.parseWords(n);if(i.length>1)for(let s=1;s<i.length;s++){let a=i.slice(s).join("");r.push(this.toCamelCase(a)),r.push(this.toKebabCase(a)),r.push(this.toSnakeCase(a))}let o=t.toLowerCase();for(let s of r)if(s&&o.includes(s.toLowerCase()))return!0;return!1}static anyNameToShortCode(t){return!t||t.trim().length===0?"":this.parseWords(t).filter(r=>r.length>0).map(r=>{let i=r.match(/[a-zA-Z]/)?.[0];return i?i.toUpperCase():""}).join("")}};Ui.DyFM_StringCase=fv});var gv=h(Hc=>{"use strict";Object.defineProperty(Hc,"__esModule",{value:!0});Hc.DyFM_String=void 0;var eL=hv(),pv=class extends eL.DyFM_StringCase{static breakTrim(t){return t.trim().replace(/(\r\n|\n|\r)/gm,"")}static nestedBracketSplit(t,n,r,i=10,o){return this.nestedBracketSplitDetailed(t,n,r,i,o).map(a=>a.content)}static nestedBracketSplitDetailed(t,n,r,i=10,o){let s=[{opening:n,closing:r}];return this.multiBracketSplitDetailed(t,s,i,o)}static multiBracketSplit(t,n,r=10,i){return this.multiBracketSplitDetailed(t,n,r,i).map(s=>s.content)}static multiBracketSplitDetailed(t,n,r=10,i){if(n.length===0)return[{content:t,level:0,brackets:null}];let o=[],s=[{content:t,level:0,brackets:null}];for(let a=0;a<r;a++){let u=[],c=!1;for(let l of s){let d=this.extractMultipleBracketsFromStringDetailed(l.content,n,i);if(d.extracted.length>0){if(c=!0,a===0)o.push({content:d.modified,level:0,brackets:null});else{let p=o.findIndex(g=>g.content===l.content&&g.brackets===l.brackets);p!==-1&&(o[p].content=d.modified)}for(let p of d.extracted)o.push({content:p.content,level:a+1,brackets:p.brackets});for(let p of d.extracted)u.push({content:p.content,level:a+1,brackets:p.brackets??null})}else a===0&&o.push({content:l.content,level:0,brackets:null})}if(!c)break;s=u}return o}static extractMultipleBracketsFromStringDetailed(t,n,r){let i=[],o=r===void 0,s=o?t:"",a=0,u=1,c=[],l=0,d=null,p=m=>{o||(s+=t.substring(l,m))},g=(m,v,y,_)=>{let S=t.substring(l,m);i.push({content:S,level:0,brackets:y}),o||(s+=r??""),l=m+_,c.length=0,d=null};for(;a<t.length;){let m=!1,v=!1,y=0,_=-1,S=-1;for(let P=0;P<n.length;P++){let L=n[P];if(t.substring(a,a+L.opening.length)===L.opening){let R=L.opening.length;if(L.opening===L.closing){let ve=a>0?t[a-1]:null,xt=ve===null||/[\s\(\[\{<]/.test(ve),_r=c.some(yb=>yb.bracket.opening===L.opening&&yb.bracket.closing===L.closing);(xt||!_r)&&R>y&&(m=!0,v=!0,y=R,_=P,S=P)}else R>y&&(m=!0,v=!0,y=R,_=P)}if(t.substring(a,a+L.closing.length)===L.closing){let R=L.closing.length;if(L.opening===L.closing)c.some(xt=>xt.bracket.opening===L.opening&&xt.bracket.closing===L.closing)&&(R>y||R===y&&S===-1)&&(m=!0,v=!1,y=R,_=P);else{let ve=c.some(_r=>_r.type===P),xt=!ve&&c.some(_r=>_r.bracket.opening===L.opening);(ve||xt)&&R>y&&(m=!0,v=!1,y=R,_=P)}}}if(!m){a++;continue}let N=n[_];if(v)c.length===0&&(p(a),l=a+y,d=u),c.push({id:u++,openingIndex:a,type:_,bracket:N}),a+=y;else{let P=-1;for(let R=c.length-1;R>=0;R--)if(c[R].type===_){P=R;break}if(P===-1){for(let R=c.length-1;R>=0;R--)if(c[R].bracket.opening===N.opening){P=R;break}}if(P===-1){a+=y;continue}let L=c.splice(P,1)[0];d!==null&&L.id===d&&g(a,L,N,y),a+=y}}return!o&&l<t.length&&(s+=t.substring(l)),o?{modified:t,extracted:i}:{modified:s,extracted:i}}};Hc.DyFM_String=pv});var Wc=h(zc=>{"use strict";Object.defineProperty(zc,"__esModule",{value:!0});zc.DyFM_Object=void 0;var $t=qt(),$i=lv(),tL=gv(),mv=class{static defaultErrorMsg=` failed.
|
|
117
|
-
This might be happening because the object you trying to clone, contains object hooks for its own objects, therefore its creating an object loop. See further information in the detailed error:
|
|
118
|
-
|
|
119
|
-
`;static mapObjList(t,n){let r=[...t];return r=r.map(i=>{let o={};return n.forEach(s=>{o[s[s.length-1]]=this.getNestedData(i,s)}),o}),r}static getNestedData(t,n){let r=this.clone(t);return n.forEach(i=>{r&&(r=r[i])}),r}static nestData(t,n,r){let i=this.clone(t);if(n.length>1){let o=[...n],s=o.shift();i[s]=this.nestData(i[s],o,r)}else i[n[0]]=r;return i}static addToNestedData(t,n,r){let i=this.clone(t);if(n.length>1){let o=[...n],s=o.shift();i[s]=this.addToNestedData(i[s],o,r)}else i[n[0]]+=r;return i}static pushToNestedData(t,n,r){let i=this.clone(t);if(n.length>1){let o=[...n],s=o.shift();i[s]=this.pushToNestedData(i[s],o,r)}else Array.isArray(i[n[0]])?i[n[0]].push(r):i[n[0]]=[r];return i}static nestRecursiveListedData(t,n,r,i){let o=this.clone(t);if(r.length>1){let s=[...r],a=s.shift();o[n][a]=this.nestRecursiveListedData(o[n][a],n,s,i)}else o[n][r[0]]=i;return o}static removeCirculation=this.resolveCirculation;static resolveCirculation(t,n=["ROOT;"+t?.constructor?.name],r=[]){if(!t||typeof t!="object")return t;if(r.includes(t))return"CIRCULATION:"+n.join(".");let i;return Array.isArray(t)?i=[]:i={},Object.keys(t).forEach(o=>{i[o]=this.resolveCirculation(t[o],[...n,o],[...r,t])}),i}static findCirculations(t,n=["ROOT;"+t?.constructor?.name],r=[],i=[]){return!t||typeof t!="object"||(r.includes(t)&&i.push({object:t,pathsOfAllDuplications:n}),Object.keys(t).forEach(o=>{this.findCirculations(t[o],[...n,o],[...r,t],i)})),i}static safeCleanObject(t){try{return this.cleanObject(t)}catch(n){return $t.DyFM_Log.error("Error cleaning object:",n),t}}static cleanObject(t,n=[]){return!t||typeof t!="object"||n.includes(t)||(n.push(t),Object.keys(t).forEach(r=>{t[r]===void 0?delete t[r]:Array.isArray(t[r])?t[r].forEach(i=>{typeof i=="object"&&this.cleanObject(i,n)}):typeof t[r]=="object"&&this.cleanObject(t[r],n)})),t}static mergeObjects(t,n){if(typeof n=="object"){t??={};for(let r in n)n[r]instanceof Object?t[r]=this.mergeObjects(t[r],n[r]):Array.isArray(n[r])?(t[r]??=[],n[r].forEach(i=>{!t[r].includes(i)&&!t[r].some(o=>this.sameObjects(i,o))&&t[r].push(i)})):t[r]=n[r]}return t}static patchObject(t,n){return this.cleanObject(n),this.mergeObjects(t,n)}static safeParseList(t,n){let r=this.safeParseJSON(t,!0);return Array.isArray(r)?r:typeof r=="object"?(n||$t.DyFM_Log.warn("DyFM_Object.safeParseList result is an object, returning its values",{parsed:r}),Object.values(r)):(n||$t.DyFM_Log.warn("DyFM_Object.safeParseList result is not an array or object, returning it as a single item",{parsed:r}),[r])}static safeParseJSON(t,n){try{return this.failableSafeParseJSON(t)}catch(r){return n||$t.DyFM_Log.error("Unable to parse JSON answer:",{unparsedJSON:t,error:r}),{unparsableResult:t}}}static failableSafeParseJSON_old(t){if(!t)throw new Error(`No content provided to JSON parse ("${t}")`);let n=t.match(/```json(.*)```/s),r=t.replaceAll(`
|
|
120
|
-
`,"");return n?$i.DyFM_JsonErrorHelper.parseJsonWithEnhancedError(n[1].replaceAll(`
|
|
121
|
-
`,"")):$i.DyFM_JsonErrorHelper.parseJsonWithEnhancedError(r.replaceAll("```json","").replaceAll("```",""))}static failableSafeParseJSON(t){if(!t)throw new Error(`No content provided to JSON parse ("${t}")`);if(t.includes("```json")){let n=tL.DyFM_String.multiBracketSplitDetailed(t,[{opening:"```json",closing:"```"},{opening:"{",closing:"}"},{opening:"[",closing:"]"}],1);if(n.length>1&&n[1]&&n[1].brackets?.opening==="```json")return $i.DyFM_JsonErrorHelper.parseJsonWithEnhancedError(n[1].content);if(n.length>0&&n[0])return $i.DyFM_JsonErrorHelper.parseJsonWithEnhancedError(n[0].content);{let r=t.replace(/```json\s*/,"").replace(/\s*```$/,"").trim();return $i.DyFM_JsonErrorHelper.parseJsonWithEnhancedError(r)}}else return $i.DyFM_JsonErrorHelper.parseJsonWithEnhancedError(t.trim())}static clone(t){try{return t&&JSON.parse(JSON.stringify(t))}catch(n){throw $t.DyFM_Log.error("clone()"+this.defaultErrorMsg,n),n}}static copy=this.clone;static surfaceClone(t){try{let n={};return Object.keys(t).forEach(r=>{n[r]=t[r]}),n}catch(n){throw $t.DyFM_Log.error("surfaceClone()"+this.defaultErrorMsg,n),n}}static surfaceCopy=this.surfaceClone;static deepClone(t){try{let n={};return t&&Object.keys(t).forEach(r=>{typeof t[r]=="object"?n[r]=this.deepClone(t[r]):Array.isArray(t[r])?n[r]=t[r].map(i=>this.deepClone(i)):n[r]=t[r]}),n}catch(n){throw $t.DyFM_Log.error("deepClone()"+this.defaultErrorMsg,n),n}}static sameObjects(t,n){try{return JSON.stringify(t)===JSON.stringify(n)}catch(r){throw $t.DyFM_Log.error("sameObjects()"+this.defaultErrorMsg,r),r}}static orderedSameObject(t,n){try{if(typeof t!="object"||typeof n!="object"||Array.isArray(t)||Array.isArray(n)||t===null||n===null||t===void 0||n===void 0)return JSON.stringify(t)===JSON.stringify(n);let r=Object.keys(t),i=Object.keys(n);if(r.length!==i.length)return!1;r.sort(),i.sort();for(let o=0;o<r.length;o++)if(JSON.stringify(r[o])!==JSON.stringify(i[o]))return!1;return!0}catch(r){throw $t.DyFM_Log.error("orderedSameObject()"+this.defaultErrorMsg,r),r}}static orderedSameObject2(t,n){try{return console.log("using orderedSameObject2"),typeof t!="object"||typeof n!="object"||Array.isArray(t)||Array.isArray(n)||t===null||n===null||t===void 0||n===void 0?JSON.stringify(t)===JSON.stringify(n):JSON.stringify(t,Object.keys(t).sort())===JSON.stringify(n,Object.keys(n).sort())}catch(r){throw $t.DyFM_Log.error("sameObjects()"+this.defaultErrorMsg,r),r}}static sameObjectSurface(t,n){let r=!0;for(let i in t)if(t[i]!==n[i]){r=!1;break}return r}static setExistingValuesOnly(t,n){for(let r in n)n[r]!=null&&(t[r]=n[r])}static JSONListify(t){let n=[];for(let r=0;t[r];r++)n.push(t[r]);return n}static cleanAssign(t,n){return n=this.cleanObject(n),Object.assign(t,n)}static hardParseJSON(t){try{return JSON.parse(t)}catch{try{return this.failableSafeParseJSON(t)}catch{let i=this.safeParseJSON(t);return i.unparsableResult?i.unparsableResult:i}}}};zc.DyFM_Object=mv});var Bi=h(Zc=>{"use strict";Object.defineProperty(Zc,"__esModule",{value:!0});Zc.DyFM_getConstructionStackLocation=nL;Zc.DyFM_getLocalStackLocation=rL;var Gc=qt();function nL(e=0){let t=new Error().stack,n=t?.split(`
|
|
122
|
-
`)?.slice(2),r=n?.find(i=>i&&!i.includes("getStackLocation")&&!i.includes("new")&&!i.includes("node_modules")&&!i.includes("node:"));if(isNaN(e))throw new Error("level must be a number");if(e)for(;e;)n=n?.filter(i=>i!==r),e--,r=n?.find(i=>i&&!i.includes("getConstructionStackLocation")&&!i.includes("new")&&!i.includes("node_modules")&&!i.includes("node:"));return!r&&(r=t?.split(" at ")?.find(i=>i&&!i.includes("getConstructionStackLocation")&&!i.includes("new")&&!i.includes("node_modules")&&!i.includes("node:")),!r)?(Gc.DyFM_Log.warn(`No constructor line found (0)
|
|
123
|
-
${typeof t}
|
|
124
|
-
${t?.slice(0,300)?.split(`
|
|
125
|
-
`)+"..."}`,{stack:t}),""):(r?.includes("(")&&(r=r?.split("(")[1]),r?.includes(")")&&(r=r?.split(")")[0]),r||(Gc.DyFM_Log.warn(`No constructor line found (1)
|
|
126
|
-
${typeof t}
|
|
127
|
-
${t?.slice(0,300)?.split(`
|
|
128
|
-
`)+"..."}`,{stack:t}),""))}function rL(e=0){let t=new Error().stack,n=t?.split(`
|
|
129
|
-
`)?.slice(2),r=n?.find(i=>i&&!i.includes("node_modules")&&!i.includes("node:"));if(isNaN(e))throw new Error("level must be a number");if(e)for(;e;)n=n?.filter(i=>i!==r),e--,r=n?.find(i=>i&&!i.includes("node_modules")&&!i.includes("node:"));return!r&&(r=t?.split(" at ")?.find(i=>i&&!i.includes("node_modules")&&!i.includes("node:")),!r)?(Gc.DyFM_Log.warn(`No location line found outside of node_modules or node: (0)
|
|
130
|
-
${typeof t}
|
|
131
|
-
${t?.slice(0,300)?.split(`
|
|
132
|
-
`)+"..."}`,{stack:t}),""):(r?.includes("(")&&(r=r?.split("(")[1]),r?.includes(")")&&(r=r?.split(")")[0]),r||(Gc.DyFM_Log.warn(`No location line found (1)
|
|
133
|
-
${typeof t}
|
|
134
|
-
${t?.slice(0,300)?.split(`
|
|
135
|
-
`)+"..."}`,{stack:t}),""))}});var SM=h(Yc=>{"use strict";Object.defineProperty(Yc,"__esModule",{value:!0});Yc.DyFM_TypeCloningFacility=void 0;var vv=class{static clone(t,n=[],r=[],i=!1){let o={};for(let s in t)if(i&&console.log("clone DEBUG; key:",s),t&&typeof t=="object"){let a=typeof t[s];if(n.includes(s))continue;if(a==="object"){let u=r?.find(c=>c.id===t[s]);if(u)o[s]=u.clonedObject;else{let c={id:t[s]};r.push(c),Array.isArray(t[s])?c.clonedObject=this.cloneArray(t[s],n,r,i):t[s]?.clone&&typeof t[s]?.clone=="function"?c.clonedObject=t[s].clone():c.clonedObject=this.clone(t[s],n,r,i),o[s]=c.clonedObject}}else o[s]=t[s]}return o}static cloneArray(t,n=[],r=[],i=!1){let o=[];return t.forEach((s,a)=>{i&&console.log("cloneArrayDEBUG; index",a),typeof s=="object"?o.push(this.clone(s,n,r,i)):o.push(s)}),o}static storeCirculation(t){let n=new Map;return JSON.stringify(t,(i,o)=>{if(typeof o=="object"&&o!==null){if(n.has(o))return`__cycle__${n.get(o)}`;n.set(o,n.size)}return o})}static restoreCirculation(t){let n=new Map;return JSON.parse(t,(i,o)=>typeof o=="string"&&o.startsWith("__cycle__")?n.get(parseInt(o.slice(9),10)):(typeof o=="object"&&o!==null&&n.set(n.size,o),o))}};Yc.DyFM_TypeCloningFacility=vv});var Ns=h(Qc=>{"use strict";Object.defineProperty(Qc,"__esModule",{value:!0});Qc.DyFM_BasicProperty_Type=void 0;var IM=function(e){return e.string="string",e.number="number",e.boolean="boolean",e.date="date",e.object="object",e.array="array",e.function="function",e}(IM||(Qc.DyFM_BasicProperty_Type=IM={}))});var yv=h(Jc=>{"use strict";Object.defineProperty(Jc,"__esModule",{value:!0});Jc.DyFM_notNull=iL;Jc.DyFM_getBasicPropertyType=oL;var qe=Ns();function iL(e){return e!=null}function oL(e){if(!e)throw new Error("Type is missing");switch(e.toLocaleLowerCase()){case qe.DyFM_BasicProperty_Type.string:case"string":return qe.DyFM_BasicProperty_Type.string;case qe.DyFM_BasicProperty_Type.number:case"number":return qe.DyFM_BasicProperty_Type.number;case qe.DyFM_BasicProperty_Type.boolean:case"boolean":return qe.DyFM_BasicProperty_Type.boolean;case qe.DyFM_BasicProperty_Type.date:case"date":return qe.DyFM_BasicProperty_Type.date;case qe.DyFM_BasicProperty_Type.object:case"object":return qe.DyFM_BasicProperty_Type.object;case qe.DyFM_BasicProperty_Type.array:case"array":return qe.DyFM_BasicProperty_Type.array;default:return e.includes("[]")||e.includes("array")?qe.DyFM_BasicProperty_Type.array:e.includes("=>")||e.includes("function")?qe.DyFM_BasicProperty_Type.function:qe.DyFM_BasicProperty_Type.object}}});var OM=h(_v=>{"use strict";Object.defineProperty(_v,"__esModule",{value:!0});_v.default="ffffffff-ffff-ffff-ffff-ffffffffffff"});var AM=h(bv=>{"use strict";Object.defineProperty(bv,"__esModule",{value:!0});bv.default="00000000-0000-0000-0000-000000000000"});var TM=h(Dv=>{"use strict";Object.defineProperty(Dv,"__esModule",{value:!0});Dv.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i});var Ps=h(wv=>{"use strict";Object.defineProperty(wv,"__esModule",{value:!0});var sL=TM();function aL(e){return typeof e=="string"&&sL.default.test(e)}wv.default=aL});var Fs=h(Ev=>{"use strict";Object.defineProperty(Ev,"__esModule",{value:!0});var uL=Ps();function cL(e){if(!(0,uL.default)(e))throw TypeError("Invalid UUID");let t;return Uint8Array.of((t=parseInt(e.slice(0,8),16))>>>24,t>>>16&255,t>>>8&255,t&255,(t=parseInt(e.slice(9,13),16))>>>8,t&255,(t=parseInt(e.slice(14,18),16))>>>8,t&255,(t=parseInt(e.slice(19,23),16))>>>8,t&255,(t=parseInt(e.slice(24,36),16))/1099511627776&255,t/4294967296&255,t>>>24&255,t>>>16&255,t>>>8&255,t&255)}Ev.default=cL});var fn=h(Rs=>{"use strict";Object.defineProperty(Rs,"__esModule",{value:!0});Rs.unsafeStringify=void 0;var lL=Ps(),Me=[];for(let e=0;e<256;++e)Me.push((e+256).toString(16).slice(1));function xM(e,t=0){return(Me[e[t+0]]+Me[e[t+1]]+Me[e[t+2]]+Me[e[t+3]]+"-"+Me[e[t+4]]+Me[e[t+5]]+"-"+Me[e[t+6]]+Me[e[t+7]]+"-"+Me[e[t+8]]+Me[e[t+9]]+"-"+Me[e[t+10]]+Me[e[t+11]]+Me[e[t+12]]+Me[e[t+13]]+Me[e[t+14]]+Me[e[t+15]]).toLowerCase()}Rs.unsafeStringify=xM;function dL(e,t=0){let n=xM(e,t);if(!(0,lL.default)(n))throw TypeError("Stringified UUID is invalid");return n}Rs.default=dL});var Kc=h(Cv=>{"use strict";Object.defineProperty(Cv,"__esModule",{value:!0});var Mv,fL=new Uint8Array(16);function hL(){if(!Mv){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Mv=crypto.getRandomValues.bind(crypto)}return Mv(fL)}Cv.default=hL});var Sv=h(js=>{"use strict";Object.defineProperty(js,"__esModule",{value:!0});js.updateV1State=void 0;var NM=Kc(),pL=fn(),ks={};function gL(e,t,n){let r,i=e?._v6??!1;if(e){let o=Object.keys(e);o.length===1&&o[0]==="_v6"&&(e=void 0)}if(e)r=PM(e.random??e.rng?.()??(0,NM.default)(),e.msecs,e.nsecs,e.clockseq,e.node,t,n);else{let o=Date.now(),s=(0,NM.default)();FM(ks,o,s),r=PM(s,ks.msecs,ks.nsecs,i?void 0:ks.clockseq,i?void 0:ks.node,t,n)}return t??(0,pL.unsafeStringify)(r)}function FM(e,t,n){return e.msecs??=-1/0,e.nsecs??=0,t===e.msecs?(e.nsecs++,e.nsecs>=1e4&&(e.node=void 0,e.nsecs=0)):t>e.msecs?e.nsecs=0:t<e.msecs&&(e.node=void 0),e.node||(e.node=n.slice(10,16),e.node[0]|=1,e.clockseq=(n[8]<<8|n[9])&16383),e.msecs=t,e}js.updateV1State=FM;function PM(e,t,n,r,i,o,s=0){if(e.length<16)throw new Error("Random bytes length must be >= 16");if(!o)o=new Uint8Array(16),s=0;else if(s<0||s+16>o.length)throw new RangeError(`UUID byte range ${s}:${s+15} is out of buffer bounds`);t??=Date.now(),n??=0,r??=(e[8]<<8|e[9])&16383,i??=e.slice(10,16),t+=122192928e5;let a=((t&268435455)*1e4+n)%4294967296;o[s++]=a>>>24&255,o[s++]=a>>>16&255,o[s++]=a>>>8&255,o[s++]=a&255;let u=t/4294967296*1e4&268435455;o[s++]=u>>>8&255,o[s++]=u&255,o[s++]=u>>>24&15|16,o[s++]=u>>>16&255,o[s++]=r>>>8|128,o[s++]=r&255;for(let c=0;c<6;++c)o[s++]=i[c];return o}js.default=gL});var Ov=h(Iv=>{"use strict";Object.defineProperty(Iv,"__esModule",{value:!0});var mL=Fs(),vL=fn();function yL(e){let t=typeof e=="string"?(0,mL.default)(e):e,n=_L(t);return typeof e=="string"?(0,vL.unsafeStringify)(n):n}Iv.default=yL;function _L(e){return Uint8Array.of((e[6]&15)<<4|e[7]>>4&15,(e[7]&15)<<4|(e[4]&240)>>4,(e[4]&15)<<4|(e[5]&240)>>4,(e[5]&15)<<4|(e[0]&240)>>4,(e[0]&15)<<4|(e[1]&240)>>4,(e[1]&15)<<4|(e[2]&240)>>4,96|e[2]&15,e[3],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}});var kM=h(Av=>{"use strict";Object.defineProperty(Av,"__esModule",{value:!0});function bL(e){let t=EL(e),n=wL(t,e.length*8);return DL(n)}function DL(e){let t=new Uint8Array(e.length*4);for(let n=0;n<e.length*4;n++)t[n]=e[n>>2]>>>n%4*8&255;return t}function RM(e){return(e+64>>>9<<4)+14+1}function wL(e,t){let n=new Uint32Array(RM(t)).fill(0);n.set(e),n[t>>5]|=128<<t%32,n[n.length-1]=t,e=n;let r=1732584193,i=-271733879,o=-1732584194,s=271733878;for(let a=0;a<e.length;a+=16){let u=r,c=i,l=o,d=s;r=xe(r,i,o,s,e[a],7,-680876936),s=xe(s,r,i,o,e[a+1],12,-389564586),o=xe(o,s,r,i,e[a+2],17,606105819),i=xe(i,o,s,r,e[a+3],22,-1044525330),r=xe(r,i,o,s,e[a+4],7,-176418897),s=xe(s,r,i,o,e[a+5],12,1200080426),o=xe(o,s,r,i,e[a+6],17,-1473231341),i=xe(i,o,s,r,e[a+7],22,-45705983),r=xe(r,i,o,s,e[a+8],7,1770035416),s=xe(s,r,i,o,e[a+9],12,-1958414417),o=xe(o,s,r,i,e[a+10],17,-42063),i=xe(i,o,s,r,e[a+11],22,-1990404162),r=xe(r,i,o,s,e[a+12],7,1804603682),s=xe(s,r,i,o,e[a+13],12,-40341101),o=xe(o,s,r,i,e[a+14],17,-1502002290),i=xe(i,o,s,r,e[a+15],22,1236535329),r=Ne(r,i,o,s,e[a+1],5,-165796510),s=Ne(s,r,i,o,e[a+6],9,-1069501632),o=Ne(o,s,r,i,e[a+11],14,643717713),i=Ne(i,o,s,r,e[a],20,-373897302),r=Ne(r,i,o,s,e[a+5],5,-701558691),s=Ne(s,r,i,o,e[a+10],9,38016083),o=Ne(o,s,r,i,e[a+15],14,-660478335),i=Ne(i,o,s,r,e[a+4],20,-405537848),r=Ne(r,i,o,s,e[a+9],5,568446438),s=Ne(s,r,i,o,e[a+14],9,-1019803690),o=Ne(o,s,r,i,e[a+3],14,-187363961),i=Ne(i,o,s,r,e[a+8],20,1163531501),r=Ne(r,i,o,s,e[a+13],5,-1444681467),s=Ne(s,r,i,o,e[a+2],9,-51403784),o=Ne(o,s,r,i,e[a+7],14,1735328473),i=Ne(i,o,s,r,e[a+12],20,-1926607734),r=Pe(r,i,o,s,e[a+5],4,-378558),s=Pe(s,r,i,o,e[a+8],11,-2022574463),o=Pe(o,s,r,i,e[a+11],16,1839030562),i=Pe(i,o,s,r,e[a+14],23,-35309556),r=Pe(r,i,o,s,e[a+1],4,-1530992060),s=Pe(s,r,i,o,e[a+4],11,1272893353),o=Pe(o,s,r,i,e[a+7],16,-155497632),i=Pe(i,o,s,r,e[a+10],23,-1094730640),r=Pe(r,i,o,s,e[a+13],4,681279174),s=Pe(s,r,i,o,e[a],11,-358537222),o=Pe(o,s,r,i,e[a+3],16,-722521979),i=Pe(i,o,s,r,e[a+6],23,76029189),r=Pe(r,i,o,s,e[a+9],4,-640364487),s=Pe(s,r,i,o,e[a+12],11,-421815835),o=Pe(o,s,r,i,e[a+15],16,530742520),i=Pe(i,o,s,r,e[a+2],23,-995338651),r=Fe(r,i,o,s,e[a],6,-198630844),s=Fe(s,r,i,o,e[a+7],10,1126891415),o=Fe(o,s,r,i,e[a+14],15,-1416354905),i=Fe(i,o,s,r,e[a+5],21,-57434055),r=Fe(r,i,o,s,e[a+12],6,1700485571),s=Fe(s,r,i,o,e[a+3],10,-1894986606),o=Fe(o,s,r,i,e[a+10],15,-1051523),i=Fe(i,o,s,r,e[a+1],21,-2054922799),r=Fe(r,i,o,s,e[a+8],6,1873313359),s=Fe(s,r,i,o,e[a+15],10,-30611744),o=Fe(o,s,r,i,e[a+6],15,-1560198380),i=Fe(i,o,s,r,e[a+13],21,1309151649),r=Fe(r,i,o,s,e[a+4],6,-145523070),s=Fe(s,r,i,o,e[a+11],10,-1120210379),o=Fe(o,s,r,i,e[a+2],15,718787259),i=Fe(i,o,s,r,e[a+9],21,-343485551),r=Hn(r,u),i=Hn(i,c),o=Hn(o,l),s=Hn(s,d)}return Uint32Array.of(r,i,o,s)}function EL(e){if(e.length===0)return new Uint32Array;let t=new Uint32Array(RM(e.length*8)).fill(0);for(let n=0;n<e.length;n++)t[n>>2]|=(e[n]&255)<<n%4*8;return t}function Hn(e,t){let n=(e&65535)+(t&65535);return(e>>16)+(t>>16)+(n>>16)<<16|n&65535}function ML(e,t){return e<<t|e>>>32-t}function Xc(e,t,n,r,i,o){return Hn(ML(Hn(Hn(t,e),Hn(r,o)),i),n)}function xe(e,t,n,r,i,o,s){return Xc(t&n|~t&r,e,t,i,o,s)}function Ne(e,t,n,r,i,o,s){return Xc(t&r|n&~r,e,t,i,o,s)}function Pe(e,t,n,r,i,o,s){return Xc(t^n^r,e,t,i,o,s)}function Fe(e,t,n,r,i,o,s){return Xc(n^(t|~r),e,t,i,o,s)}Av.default=bL});var Ls=h(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});hn.URL=hn.DNS=hn.stringToBytes=void 0;var jM=Fs(),CL=fn();function LM(e){e=unescape(encodeURIComponent(e));let t=new Uint8Array(e.length);for(let n=0;n<e.length;++n)t[n]=e.charCodeAt(n);return t}hn.stringToBytes=LM;hn.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8";hn.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function SL(e,t,n,r,i,o){let s=typeof n=="string"?LM(n):n,a=typeof r=="string"?(0,jM.default)(r):r;if(typeof r=="string"&&(r=(0,jM.default)(r)),r?.length!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let u=new Uint8Array(16+s.length);if(u.set(a),u.set(s,a.length),u=t(u),u[6]=u[6]&15|e,u[8]=u[8]&63|128,i){o=o||0;for(let c=0;c<16;++c)i[o+c]=u[c];return i}return(0,CL.unsafeStringify)(u)}hn.default=SL});var qM=h(kr=>{"use strict";Object.defineProperty(kr,"__esModule",{value:!0});kr.URL=kr.DNS=void 0;var IL=kM(),Tv=Ls(),VM=Ls();Object.defineProperty(kr,"DNS",{enumerable:!0,get:function(){return VM.DNS}});Object.defineProperty(kr,"URL",{enumerable:!0,get:function(){return VM.URL}});function xv(e,t,n,r){return(0,Tv.default)(48,IL.default,e,t,n,r)}xv.DNS=Tv.DNS;xv.URL=Tv.URL;kr.default=xv});var UM=h(Nv=>{"use strict";Object.defineProperty(Nv,"__esModule",{value:!0});var OL=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);Nv.default={randomUUID:OL}});var BM=h(Pv=>{"use strict";Object.defineProperty(Pv,"__esModule",{value:!0});var $M=UM(),AL=Kc(),TL=fn();function xL(e,t,n){if($M.default.randomUUID&&!t&&!e)return $M.default.randomUUID();e=e||{};let r=e.random??e.rng?.()??(0,AL.default)();if(r.length<16)throw new Error("Random bytes length must be >= 16");if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){if(n=n||0,n<0||n+16>t.length)throw new RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let i=0;i<16;++i)t[n+i]=r[i];return t}return(0,TL.unsafeStringify)(r)}Pv.default=xL});var HM=h(Rv=>{"use strict";Object.defineProperty(Rv,"__esModule",{value:!0});function NL(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:return t^n^r;case 2:return t&n^t&r^n&r;case 3:return t^n^r}}function Fv(e,t){return e<<t|e>>>32-t}function PL(e){let t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520],r=new Uint8Array(e.length+1);r.set(e),r[e.length]=128,e=r;let i=e.length/4+2,o=Math.ceil(i/16),s=new Array(o);for(let a=0;a<o;++a){let u=new Uint32Array(16);for(let c=0;c<16;++c)u[c]=e[a*64+c*4]<<24|e[a*64+c*4+1]<<16|e[a*64+c*4+2]<<8|e[a*64+c*4+3];s[a]=u}s[o-1][14]=(e.length-1)*8/Math.pow(2,32),s[o-1][14]=Math.floor(s[o-1][14]),s[o-1][15]=(e.length-1)*8&4294967295;for(let a=0;a<o;++a){let u=new Uint32Array(80);for(let m=0;m<16;++m)u[m]=s[a][m];for(let m=16;m<80;++m)u[m]=Fv(u[m-3]^u[m-8]^u[m-14]^u[m-16],1);let c=n[0],l=n[1],d=n[2],p=n[3],g=n[4];for(let m=0;m<80;++m){let v=Math.floor(m/20),y=Fv(c,5)+NL(v,l,d,p)+g+t[v]+u[m]>>>0;g=p,p=d,d=Fv(l,30)>>>0,l=c,c=y}n[0]=n[0]+c>>>0,n[1]=n[1]+l>>>0,n[2]=n[2]+d>>>0,n[3]=n[3]+p>>>0,n[4]=n[4]+g>>>0}return Uint8Array.of(n[0]>>24,n[0]>>16,n[0]>>8,n[0],n[1]>>24,n[1]>>16,n[1]>>8,n[1],n[2]>>24,n[2]>>16,n[2]>>8,n[2],n[3]>>24,n[3]>>16,n[3]>>8,n[3],n[4]>>24,n[4]>>16,n[4]>>8,n[4])}Rv.default=PL});var WM=h(jr=>{"use strict";Object.defineProperty(jr,"__esModule",{value:!0});jr.URL=jr.DNS=void 0;var FL=HM(),kv=Ls(),zM=Ls();Object.defineProperty(jr,"DNS",{enumerable:!0,get:function(){return zM.DNS}});Object.defineProperty(jr,"URL",{enumerable:!0,get:function(){return zM.URL}});function jv(e,t,n,r){return(0,kv.default)(80,FL.default,e,t,n,r)}jv.DNS=kv.DNS;jv.URL=kv.URL;jr.default=jv});var GM=h(Lv=>{"use strict";Object.defineProperty(Lv,"__esModule",{value:!0});var RL=fn(),kL=Sv(),jL=Ov();function LL(e,t,n){e??={},n??=0;let r=(0,kL.default)(B(D({},e),{_v6:!0}),new Uint8Array(16));if(r=(0,jL.default)(r),t){for(let i=0;i<16;i++)t[n+i]=r[i];return t}return(0,RL.unsafeStringify)(r)}Lv.default=LL});var ZM=h(Vv=>{"use strict";Object.defineProperty(Vv,"__esModule",{value:!0});var VL=Fs(),qL=fn();function UL(e){let t=typeof e=="string"?(0,VL.default)(e):e,n=$L(t);return typeof e=="string"?(0,qL.unsafeStringify)(n):n}Vv.default=UL;function $L(e){return Uint8Array.of((e[3]&15)<<4|e[4]>>4&15,(e[4]&15)<<4|(e[5]&240)>>4,(e[5]&15)<<4|e[6]&15,e[7],(e[1]&15)<<4|(e[2]&240)>>4,(e[2]&15)<<4|(e[3]&240)>>4,16|(e[0]&240)>>4,(e[0]&15)<<4|(e[1]&240)>>4,e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}});var KM=h(Vs=>{"use strict";Object.defineProperty(Vs,"__esModule",{value:!0});Vs.updateV7State=void 0;var YM=Kc(),BL=fn(),qv={};function HL(e,t,n){let r;if(e)r=QM(e.random??e.rng?.()??(0,YM.default)(),e.msecs,e.seq,t,n);else{let i=Date.now(),o=(0,YM.default)();JM(qv,i,o),r=QM(o,qv.msecs,qv.seq,t,n)}return t??(0,BL.unsafeStringify)(r)}function JM(e,t,n){return e.msecs??=-1/0,e.seq??=0,t>e.msecs?(e.seq=n[6]<<23|n[7]<<16|n[8]<<8|n[9],e.msecs=t):(e.seq=e.seq+1|0,e.seq===0&&e.msecs++),e}Vs.updateV7State=JM;function QM(e,t,n,r,i=0){if(e.length<16)throw new Error("Random bytes length must be >= 16");if(!r)r=new Uint8Array(16),i=0;else if(i<0||i+16>r.length)throw new RangeError(`UUID byte range ${i}:${i+15} is out of buffer bounds`);return t??=Date.now(),n??=e[6]*127<<24|e[7]<<16|e[8]<<8|e[9],r[i++]=t/1099511627776&255,r[i++]=t/4294967296&255,r[i++]=t/16777216&255,r[i++]=t/65536&255,r[i++]=t/256&255,r[i++]=t&255,r[i++]=112|n>>>28&15,r[i++]=n>>>20&255,r[i++]=128|n>>>14&63,r[i++]=n>>>6&255,r[i++]=n<<2&255|e[10]&3,r[i++]=e[11],r[i++]=e[12],r[i++]=e[13],r[i++]=e[14],r[i++]=e[15],r}Vs.default=HL});var XM=h(Uv=>{"use strict";Object.defineProperty(Uv,"__esModule",{value:!0});var zL=Ps();function WL(e){if(!(0,zL.default)(e))throw TypeError("Invalid UUID");return parseInt(e.slice(14,15),16)}Uv.default=WL});var eC=h(J=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0});J.version=J.validate=J.v7=J.v6ToV1=J.v6=J.v5=J.v4=J.v3=J.v1ToV6=J.v1=J.stringify=J.parse=J.NIL=J.MAX=void 0;var GL=OM();Object.defineProperty(J,"MAX",{enumerable:!0,get:function(){return GL.default}});var ZL=AM();Object.defineProperty(J,"NIL",{enumerable:!0,get:function(){return ZL.default}});var YL=Fs();Object.defineProperty(J,"parse",{enumerable:!0,get:function(){return YL.default}});var QL=fn();Object.defineProperty(J,"stringify",{enumerable:!0,get:function(){return QL.default}});var JL=Sv();Object.defineProperty(J,"v1",{enumerable:!0,get:function(){return JL.default}});var KL=Ov();Object.defineProperty(J,"v1ToV6",{enumerable:!0,get:function(){return KL.default}});var XL=qM();Object.defineProperty(J,"v3",{enumerable:!0,get:function(){return XL.default}});var eV=BM();Object.defineProperty(J,"v4",{enumerable:!0,get:function(){return eV.default}});var tV=WM();Object.defineProperty(J,"v5",{enumerable:!0,get:function(){return tV.default}});var nV=GM();Object.defineProperty(J,"v6",{enumerable:!0,get:function(){return nV.default}});var rV=ZM();Object.defineProperty(J,"v6ToV1",{enumerable:!0,get:function(){return rV.default}});var iV=KM();Object.defineProperty(J,"v7",{enumerable:!0,get:function(){return iV.default}});var oV=Ps();Object.defineProperty(J,"validate",{enumerable:!0,get:function(){return oV.default}});var sV=XM();Object.defineProperty(J,"version",{enumerable:!0,get:function(){return sV.default}})});var nC=h(el=>{"use strict";Object.defineProperty(el,"__esModule",{value:!0});el.DyFM_UUID=void 0;var aV=(Wm(),Eb(zm)),tC=aV.__importStar(eC()),$v=class{static generate(t){let n=tC.v4();if(t)for(;t.includes(n);)n=tC.v4();return n}};el.DyFM_UUID=$v});var Hv=h(tl=>{"use strict";Object.defineProperty(tl,"__esModule",{value:!0});tl.DyFM_Trigonometry=void 0;var Bv=class{static getClamp(t,n){return n=n!==void 0?n:45,Math.sin(this.angleToRadians(n))*t}static getClampByClampAndHypotenuse(t,n){if(t>n)throw{errorMessage:`getClampByClampAndHypotenuse error hypotenuse is smaller than clamp (a:${t} > c:${n})`};return Math.sqrt(n*n-t*t)}static getHypotenuse(t,n){return n=n!==void 0?n:t,Math.sqrt(t*t+n*n)}static angleToRadians(t){return t*Math.PI/180}static radiansToAngle(t){return t/Math.PI*180}};tl.DyFM_Trigonometry=Bv});var Wv=h(rl=>{"use strict";Object.defineProperty(rl,"__esModule",{value:!0});rl.DyFM_Vector2_Util=void 0;var rC=xs(),nl=Hv(),zv=class e{isVector2Util=!0;_x=0;set x(t){this._x=t,this.calcMagnitude()}get x(){return this._x}_y=0;set y(t){this._y=t,this.calcMagnitude()}get y(){return this._y}_magintude=0;get magintude(){return this._magintude}static zero={x:0,y:0};static up={x:0,y:1};static down={x:0,y:-1};static right={x:1,y:0};static left={x:-1,y:0};constructor(t=0,n){typeof t=="object"&&t.x!==void 0&&t.y!==void 0?(this._x=t.x,this._y=t.y):n===void 0?(this._x=t,this._y=t):(this._x=t,this._y=n),this.calcMagnitude()}constructed(){return!0}static distance(t,n){return this.minus(t,n).magintude}distance(t){return e.distance(this,t)}static minus(t,n){return this.plus(t,this.negative(n))}minus(t){return this.plus(e.negative(t)),this}static plus(t,n){return new e(t.x+n.x,t.y+n.y)}plus(t){return this.newValues(e.plus(this,t)),this}static add=this.plus;add=this.plus;static multiply(t,n){return new e(t.x*n,t.y*n)}multiply(t){return this.newValues(e.multiply(this,t))}static divide(t,n){return new e(t.x/n,t.y/n)}divide(t){return this.newValues(e.divide(this,t)),this}static negative(t){return new e(-t.x,-t.y)}getNegative(){return e.negative(this)}negate(){return this.newValues(e.negative(this)),this}static rebase(t,n,r){return this.plus(t,this.minus(r,n))}rebase(t,n){return this.newValues(e.rebase(this,t,n)),this}static rotate(t,n){let r=nl.DyFM_Trigonometry.angleToRadians(n);return this.rotateRad(t,r)}static rotateRad(t,n){let r=Math.cos(n),i=Math.sin(n),o=t.x*r-t.y*i,s=t.x*i+t.y*r;return new e(o,s)}rotate(t){return this.newValues(e.rotate(this,t)),this}rotateRad(t){return this.newValues(e.rotateRad(this,t)),this}newValues(t){return this.newXY(t.x,t.y),this}newXY(t,n){return this._x=t,this._y=n,this.calcMagnitude(),this}static newValues(t,n){return t.x=n.x,t.y=n.y,t}static newXY=this.newValues;static angle(t,n){return nl.DyFM_Trigonometry.radiansToAngle(e.angleRad(t,n))}static angleRad(t,n){return Math.atan2(n.y-t.y,n.x-t.x)}angle(t,n){return e.angle(t,n)}static deg(t){return nl.DyFM_Trigonometry.radiansToAngle(e.rad(t))}static rad(t){return Math.atan2(t.y,t.x)}deg(){return e.deg(this)}static floor(t){return new e(Math.floor(t.x),Math.floor(t.y))}floor(){return e.floor(this)}static direction(t,n){return e.minus(n,t)}direction(t){return e.direction(this,t)}static normalize(t){let n=new e(t);return n.multiply(1/n.magintude)}normalize(){this.newValues(e.normalize(this))}normalized(){return e.normalize(this)}calcMagnitude(){this._magintude=nl.DyFM_Trigonometry.getHypotenuse(this._x,this._y)}clone(){return new e(this._x,this._y)}static isChanged(t,n){return t.x!==n.x||t.y!==n.y}static isEqual(t,n){return t.x===n.x&&t.y===n.y}static vectorChanged(t,n){return t.x!==n.x||t.y!==n.y}static abs(t){return new e(Math.abs(t.x),Math.abs(t.y))}abs(){return this.newXY(Math.abs(this.x),Math.abs(this.y))}static round(t,n=0){return new e(rC.DyFM_Math.round(t.x,n),rC.DyFM_Math.round(t.y,n))}static toVector2(t){return new e(t).get()}get(){return{x:this.x,y:this.y}}getVector2=this.get;toVector2=this.get;static clone(t){return{x:t.x,y:t.y}}};rl.DyFM_Vector2_Util=zv});var iC=h(il=>{"use strict";Object.defineProperty(il,"__esModule",{value:!0});il.DyFM_BoxBounds_Util=void 0;var qs=Wv(),Gv=class e{_pos;set pos(t){this._pos.newValues(t),this.calcCenter()}get pos(){return this._pos}_size;set size(t){this._size.newValues(t),this.calcCenter()}get size(){return this._size}_center;get center(){return this._center}_centerMargin;get centerMargin(){return this._centerMargin}constructor(t,n){this._pos=new qs.DyFM_Vector2_Util(t),this._size=new qs.DyFM_Vector2_Util(n),this.calcCenter()}constructed(){return!0}newValues(t,n){if(t===void 0)throw new Error("new position is undefined!");if(n===void 0)throw new Error("new size is undefined!");this._pos.newValues(t),this._size.newValues(n),this.calcCenter()}static bounds(t,n){return t.pos.x<=n.x&&n.x<=t.pos.x+t.size.x&&t.pos.y<=n.y&&n.y<=t.pos.y+t.size.y}bounds(t){return e.bounds(this,t)}calcCenter(){let t=qs.DyFM_Vector2_Util.divide(this.size,2);this._center=qs.DyFM_Vector2_Util.plus(this.pos,t),this._centerMargin=qs.DyFM_Vector2_Util.negative(t)}get(){return{pos:this._pos.get(),size:this._size.get(),center:this._center.get(),centerMargin:this._centerMargin.get()}}getBoxBounds=this.get;toBoxBounds=this.get;clone(){return new e(this._pos.clone(),this._size.clone())}};il.DyFM_BoxBounds_Util=Gv});var oC=h(ol=>{"use strict";Object.defineProperty(ol,"__esModule",{value:!0});ol.DyFM_Random=void 0;var uV=qt(),Zv=class{static getRandomWeightedInt(t,n,r){r=r.sort((u,c)=>c.chance-u.chance);let i=0;r.forEach(u=>{i+=u.chance}),1<i&&r.forEach(u=>{u.chance=u.chance/i});let o=Math.random(),s,a=0;for(let u=0;u<r.length&&s===void 0;u++)a+=r[u].chance,o<a&&(s=r[u].result);return s!==void 0?s:this.getRandomInt(t,n)}static getRandomInt(t,n){return t+Math.round((n-t)*Math.random())}static getRandomListElement(t){return 0<t.length?t[this.getRandomInt(0,t.length-1)]:null}static getRandomWeighted(t){if(!t?.length)return null;t=t.sort((s,a)=>a.chance-s.chance);let n=0;t.forEach(s=>{n+=s.chance}),t.forEach(s=>{s.chance=s.chance/n});let r=Math.random(),i,o=0;for(let s=0;s<t.length&&i===void 0;s++)o+=t[s].chance,r<o&&(i=t[s].result);return i===void 0?(uV.DyFM_Log.error("DyFM_Random failed to get a random weighted element from the list"),null):i}};ol.DyFM_Random=Zv});var sC=h(Us=>{"use strict";Object.defineProperty(Us,"__esModule",{value:!0});Us.DyFM_passwordRegex=void 0;Us.DyFM_getPasswordErrors=cV;Us.DyFM_passwordRegex=new RegExp("^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%^&*]){6,}");function cV(e){let t=[];return lV.forEach(n=>{n.regex.test(e)||t.push(n.message)}),t}var lV=[{regex:new RegExp("^(?=.*[a-z])"),code:"pwErrorLowercase",message:"Password must include at least one lowercase letter."},{regex:new RegExp("^(?=.*[A-Z])"),code:"pwErrorUppercase",message:"Password must include at least one uppercase letter."},{regex:new RegExp("^(?=.*[0-9])"),code:"pwErrorDigit",message:"Password must include at least one digit."},{regex:new RegExp("^(?=.*[!@#$%^&*])"),code:"pwErrorSpecialChar",message:"Password must include at least one of the !@#$%^&* characters."},{regex:new RegExp("^(?=.{6,})"),code:"pwErrorLength",message:"Password must be at least 6 characters long."}]});var aC=h(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});sl.DyFM_emailRegex=void 0;sl.DyFM_emailRegex=new RegExp("^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+.[a-zA-Z0-9-.]+$")});var uC=h(al=>{"use strict";Object.defineProperty(al,"__esModule",{value:!0});al.DyFM_usernameRegex=void 0;al.DyFM_usernameRegex=new RegExp("^[a-zA-Z0-9-_#$%&^|*]{6,}$");var $oe=[{regex:new RegExp("^(?=.{6,})"),code:"usernameErrorLength"},{regex:new RegExp("^(?=.*[a-zA-Z0-9-_#$%&^|*])"),code:"usernameErrorSpecialChar"}]});var Qv=h(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});Hi.DyFM_allDataModelTypes=Hi.DyFM_DataModel_Type=void 0;var Yv=function(e){return e.data="data-model",e.control="control-model",e.interface="interface",e}(Yv||(Hi.DyFM_DataModel_Type=Yv={}));Hi.DyFM_allDataModelTypes=Object.values(Yv)});var cC=h(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});zi.DyFM_allEnvironmentFlags=zi.DyFM_EnvironmentFlag=void 0;var Jv=function(e){return e.local="local",e.dev="dev",e.test="test",e.prod="prod",e}(Jv||(zi.DyFM_EnvironmentFlag=Jv={}));zi.DyFM_allEnvironmentFlags=Object.values(Jv)});var Kv=h(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});ul.DyFM_ErrorLevel=void 0;var lC=function(e){return e.user="user",e.debug="debug",e.info="info",e.known="known",e.warning="warning",e.error="error",e.serious="serious",e.critical="critical",e.fatal="fatal",e}(lC||(ul.DyFM_ErrorLevel=lC={}))});var fC=h(cl=>{"use strict";Object.defineProperty(cl,"__esModule",{value:!0});cl.DyFM_ServerConnection_Status=void 0;var dC=function(e){return e.accessible="accessible",e.unaccessible="unaccessible",e}(dC||(cl.DyFM_ServerConnection_Status=dC={}))});var gC=h(Wi=>{"use strict";Object.defineProperty(Wi,"__esModule",{value:!0});Wi.DyFM_HttpEncodeType=Wi.DyFM_HttpCallType=void 0;var hC=function(e){return e.get="get",e.post="post",e.put="put",e.patch="patch",e.delete="delete",e.head="head",e.options="options",e.purge="purge",e.link="link",e.unlink="unlink",e}(hC||(Wi.DyFM_HttpCallType=hC={})),pC=function(e){return e.ascii="ascii",e.ansi="ansi",e.binary="binary",e.base64="base64",e.base64url="base64url",e.hex="hex",e.latin1="latin1",e.ucs2="ucs2",e.utf8="utf8",e.utf16le="utf16le",e}(pC||(Wi.DyFM_HttpEncodeType=pC={}))});var vC=h(ll=>{"use strict";Object.defineProperty(ll,"__esModule",{value:!0});ll.DyFM_HttpEventType=void 0;var mC=function(e){return e[e.sent=0]="sent",e[e.uploadProgress=1]="uploadProgress",e[e.responseHeader=2]="responseHeader",e[e.downloadProgress=3]="downloadProgress",e[e.response=4]="response",e[e.user=5]="user",e}(mC||(ll.DyFM_HttpEventType=mC={}))});var _C=h(dl=>{"use strict";Object.defineProperty(dl,"__esModule",{value:!0});dl.DyFM_HttpResponseType=void 0;var yC=function(e){return e.arraybuffer="arraybuffer",e.blob="blob",e.document="document",e.json="json",e.text="text",e.stream="stream",e.formData="formData",e}(yC||(dl.DyFM_HttpResponseType=yC={}))});var Gi=h(fl=>{"use strict";Object.defineProperty(fl,"__esModule",{value:!0});fl.DyFM_Metadata=void 0;var Xv=class{_id;__created;__createdBy;__lastModified;__lastModifiedBy;__v;_deleted;_deletedBy;_archived;_originalId;constructor(t,n){t&&(!t._id&&t._id!==void 0&&(t._id=void 0),this._id=t._id,this.__created=t.__created,this.__createdBy=t.__createdBy,this.__lastModified=t.__lastModified,this.__lastModifiedBy=t.__lastModifiedBy,this.__v=t.__v,t._archived&&(this._archived=t._archived,this._originalId=t._originalId)),this.__created||(this.__created=new Date),this.__lastModified||(this.__lastModified=new Date),this.__v||(this.__v=0),n&&(!this._id&&n?.id&&(this._id=n.id),n?.issuer&&(this.__createdBy||(this.__createdBy=n.issuer),this.__lastModifiedBy||(this.__lastModifiedBy=n.issuer)))}static updateMetadata(t,n,r){if(!t)return t;if(t._deleted)throw new Error("Cannot update metadata of deleted data");return!t._id&&r&&(t._id=r),t.__created||(t.__created=new Date),t.__createdBy||(t.__createdBy=n),t.__lastModified=new Date,t.__lastModifiedBy=n,t.__v=t.__v?t.__v+1:1,t}};fl.DyFM_Metadata=Xv});var ty=h(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});Qi.DyFM_DataProperty_Params=Qi.DyFM_DataProperty_Settings=void 0;var Zi=qt(),Yi=Bi(),$s=Ns(),hl=class{key;type;nonBasicType;default;unique;readonly;required;index;forbidden;dependencyDataName;archiveable;archiveListAfter;vectorizedFrom;embeddingModel;vectorizeAlways;vectorizeUseIndex;minlength;maxlength;subObjectParams;additionalValidators};Qi.DyFM_DataProperty_Settings=hl;var ey=class extends hl{additionalValidators=[];constructor(t,n){super(),t?(!t.type&&!t.forbidden&&Zi.DyFM_Log.error("DYNAMO ERROR: ",`
|
|
136
|
-
type is missing from DynamoNTSDataPropertyParams at "${t.key}" in "${n?.dataName}" model.
|
|
137
|
-
stackLocation: ${(0,Yi.DyFM_getConstructionStackLocation)(2)}`),t.dependencyDataName&&(t.required===!1?Zi.DyFM_Log.warn("DYNAMO WARNING: ",`
|
|
138
|
-
required is not recommended to be false if dependency is set at "${t.key}" in "${n?.dataName}" model.
|
|
139
|
-
stackLocation: ${(0,Yi.DyFM_getConstructionStackLocation)(2)}`):t.required===void 0&&(Zi.DyFM_Log.warn("DYNAMO WARNING: ",`
|
|
140
|
-
required is recommended to be set if dependency is set at "${t.key}" in "${n?.dataName}" model.
|
|
141
|
-
(it is required or it is not a dependency)
|
|
142
|
-
It will be set to true by while you are not setting it.
|
|
143
|
-
stackLocation: ${(0,Yi.DyFM_getConstructionStackLocation)(2)}`),t.required=!0)),t.vectorizedFrom&&(t.index&&(Zi.DyFM_Log.warn("DYNAMO WARNING: ",`
|
|
144
|
-
vectorizedFrom and index are not recommended to be set at the same time at "${t.key}" in "${n?.dataName}" model.
|
|
145
|
-
It will be set to false by while you are not setting it.
|
|
146
|
-
stackLocation: ${(0,Yi.DyFM_getConstructionStackLocation)(2)}`),t.index=!1),t.vectorizeUseIndex||(Zi.DyFM_Log.S_warn("DYNAMO WARNING: ",`
|
|
147
|
-
vectorizeUseIndex is required if vectorizedFrom is set at "${t.key}" in "${n?.dataName}" model. (It will be set to "${t.key}" by default)
|
|
148
|
-
stackLocation: ${(0,Yi.DyFM_getConstructionStackLocation)(2)}`),t.vectorizeUseIndex=t.key)),Object.assign(this,t)):Zi.DyFM_Log.error("DYNAMO ERROR: ",`
|
|
149
|
-
MISSING DynamoNTSDataPropertyParams constructor input at "${this.key}"!
|
|
150
|
-
stackLocation: ${(0,Yi.DyFM_getConstructionStackLocation)(2)}`)}constructed(){return!0}getBEType(){switch(this.type){case $s.DyFM_BasicProperty_Type.string:return String;case $s.DyFM_BasicProperty_Type.number:return Number;case $s.DyFM_BasicProperty_Type.boolean:return Boolean;case $s.DyFM_BasicProperty_Type.date:return Date;case $s.DyFM_BasicProperty_Type.object:default:return this.type?.includes("[]")?Array:this.type?.includes("=>")||this.type?.includes("function")?Function:Object}}};Qi.DyFM_DataProperty_Params=ey});var ry=h(pl=>{"use strict";Object.defineProperty(pl,"__esModule",{value:!0});pl.DyFM_HttpHeaders=void 0;var ny=class{headers={};normalizedNames;lazyInit;lazyUpdate;constructor(t){t&&(this.headers=t)}};pl.DyFM_HttpHeaders=ny});var oy=h(gl=>{"use strict";Object.defineProperty(gl,"__esModule",{value:!0});gl.DyFM_HttpResponseBase=void 0;var dV=ry(),iy=class{headers=new dV.DyFM_HttpHeaders;status=200;statusText="OK";url;ok;type;constructor(t){t&&Object.assign(this,t)}};gl.DyFM_HttpResponseBase=iy});var ay=h(zn=>{"use strict";Object.defineProperty(zn,"__esModule",{value:!0});zn.DyFM_HttpErrorResponse=zn.DyFM_httpErrorResponse_name=void 0;var fV=oy();zn.DyFM_httpErrorResponse_name="HttpErrorResponse";var sy=class extends fV.DyFM_HttpResponseBase{name=zn.DyFM_httpErrorResponse_name;message;error;ok=!1;constructor(t){super(t),t&&Object.assign(this,t)}static isHttpErrorResponse(t){return t?.name===zn.DyFM_httpErrorResponse_name}};zn.DyFM_HttpErrorResponse=sy});var ml=h(Bt=>{"use strict";Object.defineProperty(Bt,"__esModule",{value:!0});Bt.DyFM_Error=Bt.DyFM_error\u0110FlagParts=Bt.DyFM_errorFlag=void 0;var Ue=Zm(),be=qt(),hV=Wc(),pV=Bi(),gV=Kv(),bC=Ts(),mV=Gi(),DC=ay();Bt.DyFM_errorFlag="DYNAMO-ERROR-OBJECT";Bt.DyFM_error\u0110FlagParts=["DyNTS-","DyFM-","DyNX_","DyNM_","DyBu_","DyCLI_"];var uy=class e extends mV.DyFM_Metadata{flag=Bt.DyFM_errorFlag+"-v2";_errorCode;_errorCodes=[];_message;_messages=[];__userMessage;__userMessages=[];__userMessageTranslateCode;___handled;___logged;___status;___issuer;___issuerSystem;___issuerService;___systemVersion;error;errors=[];validationErrors;stack;__localStack;level;levelUpThis;additionalContent={};confidentialContent={};constructor(t){super(t,{issuer:t?.issuerService??t?.error?.___issuerService??Ue.DyFM_error_defaults.issuerService});try{if(t||(t={}),this.___handled=!!(t.handled??t.error?.___handled),this.___status=t.status??t.error?.___status,this.___issuer=t.issuer??t.error?.___issuer??Ue.DyFM_error_defaults.issuer,this.___issuerSystem=t.issuerSystem??t.error?.___issuerSystem??Ue.DyFM_error_defaults.issuerSystem,this.___issuerService=t.issuerService??t.error?.___issuerService??Ue.DyFM_error_defaults.issuerService,this.___systemVersion=t.systemVersion??t.error?.___systemVersion??Ue.DyFM_error_defaults.systemVersion,this.__localStack=t?.__localStack??t.error?.__localStack??(0,pV.DyFM_getLocalStackLocation)(),this.validationErrors=t.validationErrors??t.error?.validationErrors,this.level=t.level??t.error?.level??gV.DyFM_ErrorLevel.error,this.levelUpThis=t.levelUpThis,t.allowCircular=t.allowCircular??t.additionalContent?.allowCircular??t.error?.additionalContent?.allowCircular??!1,t.allowCircular&&(this.additionalContent.allowCircular=!0),t?.error?.___logged&&(this.___logged=!0),!t.allowCircular&&t.additionalContent&&Object.keys(t.additionalContent)?.length)try{JSON.stringify(t.additionalContent)}catch{be.DyFM_Log.error("Internal Dynamo ERROR: additionalContent is not JSON.stringifyable... (it will be removed!)",`
|
|
151
|
-
errorCode:`,t.errorCode),delete t.additionalContent}if(!t.allowCircular&&!t.additionalContent?.allowCircular&&t.error?.additionalContent&&!t.error?.additionalContent?.allowCircular&&Object.keys(t.error?.additionalContent)?.length)try{JSON.stringify(t.error?.additionalContent)}catch{be.DyFM_Log.error("Internal Dynamo ERROR: additionalContent is not JSON.stringifyable... (it will be removed!)",`
|
|
152
|
-
errorCode:`,t.errorCode),delete t.error?.additionalContent}if(t.error?.additionalContent&&Object.assign(this.additionalContent,t.error?.additionalContent),t.additionalContent&&Object.assign(this.additionalContent,t.additionalContent),t.error?.confidentialContent&&Object.assign(this.confidentialContent,t.error?.confidentialContent),t.confidentialContent&&Object.assign(this.confidentialContent,t.confidentialContent),t.errorCode||(t.errorCode=Ue.DyFM_error_defaults.errorCode),!t.error){t.error=new Error;let u=t.error.stack?.split(`
|
|
153
|
-
`);u.splice(1,1),t.error.stack=u.join(`
|
|
154
|
-
`)}t?.stack?this.stack=t?.stack:t.error?.stack?this.stack=t.error?.stack:t.error?.name===DC.DyFM_httpErrorResponse_name&&t.error?.error?.stack?this.stack=t.error?.error?.stack:this.stack=new Error().stack;let n=[];t.error?._errorCodes&&n.push(...t.error?._errorCodes??[]),t.errorCode||(t.errorCode=Ue.DyFM_error_defaults.errorCode),n=n.filter(u=>u!==t.errorCode),this._errorCodes=[...n,t.errorCode].filter(Boolean);let r=this._errorCodes.filter(u=>u&&u!==Ue.DyFM_error_defaults.errorCode&&!Bt.DyFM_error\u0110FlagParts.some(c=>u.includes(c)));this._errorCode=r[0]??this._errorCodes?.[0];let i=this._errorCodes.findIndex(u=>u===r?.[0]);if(!t.message){if(typeof t.error=="string")t.message=t.error;else if(!t.error?.flag?.includes("DYNAMO")&&t.error?.message)t.message=t.error?.message;else if(t.error.stack){let u=t.error.stack?.split(`
|
|
155
|
-
`)?.[1]?.split("\\");u?.[u?.length-1]?t.message=Ue.DyFM_error_defaults.message+"; "+u[u.length-1]:t.message=Ue.DyFM_error_defaults.message}}let o=[];t.error?._messages?o.push(...t.error?._messages??[]):t.error?.message&&n.push(t.error?.message),o=o.filter(u=>u!==t.message),this._messages=[...o,t.message].filter(Boolean),-1<i&&this._messages[i]&&this._messages[i]!==Ue.DyFM_error_defaults.message?this._message=this._messages[i]:this._message=this._messages?.[0];let s=[];t.error?.__userMessages&&s.push(...t.error?.__userMessages??[]),t.userMessage||(t.userMessage=Ue.DyFM_error_defaults.userMessage),t.addECToUserMsg&&t.userMessage!==Ue.DyFM_error_defaults.userMessage&&t.errorCode&&(t.userMessage+=`
|
|
156
|
-
ErrorCode: ${t.errorCode}`),s=s.filter(u=>u!==t.userMessage),this.__userMessages=[...s,t.userMessage].filter(Boolean),-1<i&&this.__userMessages[i]&&this.__userMessages[i]!==Ue.DyFM_error_defaults.userMessage?this.__userMessage=this.__userMessages[i]:this.__userMessage=this.__userMessages.filter(u=>u&&u!==Ue.DyFM_error_defaults.userMessage)?.[0],t.userMessageTranslateCode=t.userMessageTranslateCode??t.error?.__userMessageTranslateCode;let a=[];t.error?.errors?.length?a.push(...t.error.errors):typeof t.error?.errors=="object"&&(this.additionalContent.errors=t.error.errors),a=a.filter(u=>u!==t.error),this.errors=[...a,t.error].filter(Boolean),t.errors&&(0<this.errors.length?this.errors.push(...t.errors??[]):this.errors.push(new Error("there are multiple errors. check errors after this one"),...t.errors??[])),this.error=this.errors?.[0],this.errors=this.errors.map(u=>(u?.errors&&(u=D({},u),delete u.errors,delete u.additionalContent),u.error?.errors&&(u.error=D({},u.error),delete u.error.errors,delete u.error.additionalContent),u)),this.errors=this.errors.filter(u=>!!u&&(u instanceof Error||!!Object.keys(u).length)),hV.DyFM_Object.safeCleanObject(this),t.allowCircular||(this.errors=this.errors.filter(u=>{if(u instanceof Error)return!0;try{return JSON.stringify(u),!0}catch{return be.DyFM_Log.error("Internal Dynamo ERROR: error is not JSON.stringifyable... (it will be removed!)",`
|
|
157
|
-
errorCode:`,u?._errorCode),!1}})),t.modestLog&&console.error(this._message??this.__userMessage??this.error),t.log&&console.error(this)}catch(n){be.DyFM_Log.H_error(`Internal Dynamo ERROR: Failed to create DyFM_Error...error:
|
|
158
|
-
`,n,"stack:",new Error().stack,"set:",t)}}getErrorSimplified(){return{errorCode:this._errorCode,message:this._message,userMessage:this.__userMessage,stack:this.stack}}getErrorsFlat(){let t=D({},this);return t.error?.error&&delete t.error.error,t.error?.errors&&delete t.error.errors,t.errors=t.errors.map(n=>t instanceof Error?t:D({},n)),t.errors.forEach(n=>{n.errors&&delete n.errors,n.error?.errors&&delete n.error.errors,n.error?.error&&delete n.error.error,n.additionalContent&&delete n.additionalContent}),t}logShort(t,n,r){if(this.___logged&&!r){be.DyFM_Log.warn(`logShort: already logged (${this._errorCode})`);return}be.DyFM_Log.testError(t,`
|
|
159
|
-
ErrorCode:`,this._errorCode,`
|
|
160
|
-
Message:`,this._message?.replaceAll?.(`
|
|
161
|
-
`,`
|
|
162
|
-
`)),n&&(this.___logged=!0)}warnShort(t,n,r){if(this.___logged&&!r){be.DyFM_Log.warn(`warnShort: already logged (${this._errorCode})`);return}be.DyFM_Log.testWarn(t,`
|
|
163
|
-
ErrorCode:`,this._errorCode,`
|
|
164
|
-
Message:`,this._message?.replaceAll?.(`
|
|
165
|
-
`,`
|
|
166
|
-
`)),n&&(this.___logged=!0)}logSimple(t,n,r,i){if(this.___logged&&!r){be.DyFM_Log.warn(`logSimple: already logged ${t} (${this._message}; ${this._errorCode})`);return}be.DyFM_Log.H_error(t,`
|
|
167
|
-
${be.DyFM_Log.errorStyle}ErrorCode:`,this._errorCode,`
|
|
168
|
-
${be.DyFM_Log.errorStyle}${bC.DyFM_LogStyle.bold}Message:`,this._message?.replaceAll?.(`
|
|
169
|
-
`,`
|
|
170
|
-
`),`
|
|
171
|
-
|
|
172
|
-
${bC.DyFM_LogStyle.reset}${be.DyFM_Log.errorStyle}UserMessage:`,this.__userMessage?.replaceAll?.(`
|
|
173
|
-
`,`
|
|
174
|
-
`),this.__localStack?`
|
|
175
|
-
${be.DyFM_Log.errorStyle}LocalStack:
|
|
176
|
-
`+this.__localStack:"",`
|
|
177
|
-
|
|
178
|
-
${be.DyFM_Log.errorStyle}Stack:`,this.stack?.replaceAll?.(`
|
|
179
|
-
`,`
|
|
180
|
-
`),n&&this.additionalContent?`
|
|
181
|
-
|
|
182
|
-
${be.DyFM_Log.errorStyle}AdditionalContent:
|
|
183
|
-
`+this.additionalContent:""),this.___logged=!0}getParsable(){try{let t=this.getErrorsFlat();return JSON.stringify(t)}catch(t){return be.DyFM_Log.error("Error getting parsable error",t),JSON.stringify(this.getErrorSimplified())}}static logSimple(t,n){n instanceof e?n.logSimple(t):be.DyFM_Log.T_error(t,n)}static getErrorMessage(t){return t?._message??t?.message??t?.error?._message??t?.error?.message}static getAnyMessage(t){return this.getErrorMessage(t)??this.getUserMessage(t)}static getUserMessage(t){return t?.__userMessage??t?.error?.__userMessage??t?.userMessage}static getAnyUserMessage(t){return this.getUserMessage(t)??this.getErrorMessage(t)}static getErrorStatus(t){return t?.___status??t?.status??t?.error?.___status??500}static getErrorCode(t){return t?._errorCode??t?.error?._errorCode??t?.errorCode??t?.error?.errorCode??t?.code??t?.error?.code}static getErrorStack(t){return t?.stack??t?.error?.stack}static isDyFMError(t){return t?.flag?.includes("DYNAMO")}static isAnyDyFMError(t){return this.isDyFMError(t)||t?.name===DC.DyFM_httpErrorResponse_name||t instanceof Error}static deleteErrorContent(t){delete t.confidentialContent,delete t.additionalContent,delete t.error,delete t.errors,delete t.stack}static getStatusText(t){switch(t){case 100:return"Continue";case 101:return"Switching Protocols";case 102:return"Processing";case 103:return"Early Hints";case 200:return"OK";case 201:return"Created";case 202:return"Accepted";case 203:return"Non-Authoritative Information";case 204:return"No Content";case 205:return"Reset Content";case 206:return"Partial Content";case 207:return"Multi-Status";case 208:return"Already Reported";case 226:return"IM Used";case 300:return"Multiple Choices";case 301:return"Moved Permanently";case 302:return"Found";case 303:return"See Other";case 304:return"Not Modified";case 305:return"Use Proxy";case 306:return"Switch Proxy";case 307:return"Temporary Redirect";case 308:return"Permanent Redirect";case 400:return"Bad Request";case 401:return"Unauthorized";case 402:return"Payment Required";case 403:return"Forbidden";case 404:return"Not Found";case 405:return"Method Not Allowed";case 406:return"Not Acceptable";case 407:return"Proxy Authentication Required";case 408:return"Request Timeout";case 409:return"Conflict";case 410:return"Gone";case 411:return"Length Required";case 412:return"Precondition Failed";case 413:return"Payload Too Large";case 414:return"URI Too Long";case 415:return"Unsupported Media Type";case 416:return"Range Not Satisfiable";case 417:return"Expectation Failed";case 418:return"I'm a teapot";case 421:return"Misdirected Request";case 422:return"Unprocessable Entity";case 423:return"Locked";case 424:return"Failed Dependency";case 425:return"Too Early";case 426:return"Upgrade Required";case 428:return"Precondition Required";case 429:return"Too Many Requests";case 431:return"Request Header Fields Too Large";case 451:return"Unavailable For Legal Reasons";case 500:return"Internal Server Error";case 501:return"Not Implemented";case 502:return"Bad Gateway";case 503:return"Service Unavailable";case 504:return"Gateway Timeout";case 505:return"HTTP Version Not Supported";case 506:return"Variant Also Negotiates";case 507:return"Insufficient Storage";case 508:return"Loop Detected";case 510:return"Not Extended";case 511:return"Network Authentication Required";default:return"Unknown"}}};Bt.DyFM_Error=uy});var ly=h(Ji=>{"use strict";Object.defineProperty(Ji,"__esModule",{value:!0});Ji.DyFM_DataModel_Params=Ji.DyFM_DataModel_Settings=void 0;var St=qt(),vV=Wc(),yV=Bi(),wC=yv(),_V=Ns(),EC=Qv(),bV=Gi(),DV=ty(),wV=ml(),vl=class extends bV.DyFM_Metadata{dataName;modelType;addArchive;forbidModify;forbidDelete;properties};Ji.DyFM_DataModel_Settings=vl;var cy=class extends vl{stackLocation;constructor(t){super(t);try{t&&Object.assign(this,t),this.stackLocation=(0,yV.DyFM_getConstructionStackLocation)(),(!this.properties||typeof this.properties!="object")&&(St.DyFM_Log.error(`DyFM_DataModel_Params.constructor: Properties are missing in "${this.dataName}" model.
|
|
184
|
-
stackLocation: ${this.stackLocation}
|
|
185
|
-
`),this.properties={});let n=Object.keys(this.properties);n.forEach(r=>{r||St.DyFM_Log.error(`DyFM_DataModel_Params.constructor: A property key is missing in "${this.dataName}" model.
|
|
186
|
-
stackLocation: ${this.stackLocation}
|
|
187
|
-
`);let i=new DV.DyFM_DataProperty_Params(B(D({},this.properties[r]),{key:r}),this),o=(0,wC.DyFM_getBasicPropertyType)(i.type);o!==i.type&&(i.nonBasicType=i.type,i.type=o),this.properties[r]=i,i.subObjectParams&&this.setKeysForSubObjectParams(i)}),n.forEach(r=>{let i=this.properties[r];i.vectorizedFrom&&(i.vectorizedFrom.forEach(o=>{this.properties[o]||St.DyFM_Log.error(`Vectorized from property "${o}" is not found in "${this.dataName}" model.
|
|
188
|
-
stackLocation: ${this.stackLocation}
|
|
189
|
-
`)}),i.type!==_V.DyFM_BasicProperty_Type.array&&St.DyFM_Log.error(`Vectorized from property "${i.vectorizedFrom}" is not a number[] property in "${this.dataName}" model.
|
|
190
|
-
stackLocation: ${this.stackLocation}
|
|
191
|
-
`),i.nonBasicType!=="number[]"&&St.DyFM_Log.error(`Vectorized from property "${i.vectorizedFrom}" is not a number[] property in "${this.dataName}" model.
|
|
192
|
-
stackLocation: ${this.stackLocation}
|
|
193
|
-
`),i.vectorizeUseIndex||St.DyFM_Log.error(`vectorizeUseIndex is required if vectorizedFrom is set. "${this.dataName}" model.
|
|
194
|
-
stackLocation: ${this.stackLocation}
|
|
195
|
-
`),i.index&&St.DyFM_Log.warn(`index is not recommended to be set for vectorized properties in "${this.dataName}" model.
|
|
196
|
-
(you should set it in the Atlas and vectorizeUseIndex, more info at DyFM_DataProperty_Params.vectorizeUseIndex))
|
|
197
|
-
stackLocation: ${this.stackLocation}
|
|
198
|
-
`))}),(!this?.modelType||this?.modelType==EC.DyFM_DataModel_Type.data)&&(this.modelType=EC.DyFM_DataModel_Type.data),this.dataName||(St.DyFM_Log.error(`DyFM_DataModel_Params.constructor: dataName is missing in "${this.dataName}" model.
|
|
199
|
-
stackLocation: ${this.stackLocation}
|
|
200
|
-
`),this.dataName="UNNAMED_MODEL"),this.dataName.includes("-")&&St.DyFM_Log.warn(`DyFM_DataModel_Params.constructor: dataName should be in snake_case in "${this.dataName}" model.For future compatibility.
|
|
201
|
-
stackLocation: ${this.stackLocation}
|
|
202
|
-
`),vV.DyFM_Object.cleanObject(this)}catch(n){wV.DyFM_Error.logSimple("DyFM_DataModel_Params.constructor error:",n),St.DyFM_Log.warn(`Due to the error, the Params contruction failed, therefore the model is not constructed properly. ("${this.dataName}" model)
|
|
203
|
-
stackLocation: ${this.stackLocation}`)}}constructed(){return!0}setKeysForSubObjectParams(t){t.subObjectParams&&Object.keys(t.subObjectParams).forEach(n=>{n||St.DyFM_Log.error(`DyFM_DataModel_Params.setKeysForSubObjectParams: A subObjectParams key is missing in "${this.dataName}" model.
|
|
204
|
-
stackLocation: ${this.stackLocation}
|
|
205
|
-
`);let r=t.subObjectParams[n];r.key=n;let i=(0,wC.DyFM_getBasicPropertyType)(r.type);i!==r.type&&(r.nonBasicType=r.type,r.type=i),r.subObjectParams&&this.setKeysForSubObjectParams(r)})}};Ji.DyFM_DataModel_Params=cy});var X=h(yl=>{"use strict";Object.defineProperty(yl,"__esModule",{value:!0});yl.isFunction=void 0;function EV(e){return typeof e=="function"}yl.isFunction=EV});var Wn=h(_l=>{"use strict";Object.defineProperty(_l,"__esModule",{value:!0});_l.createErrorClass=void 0;function MV(e){var t=function(r){Error.call(r),r.stack=new Error().stack},n=e(t);return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}_l.createErrorClass=MV});var dy=h(bl=>{"use strict";Object.defineProperty(bl,"__esModule",{value:!0});bl.UnsubscriptionError=void 0;var CV=Wn();bl.UnsubscriptionError=CV.createErrorClass(function(e){return function(n){e(this),this.message=n?n.length+` errors occurred during unsubscription:
|
|
206
|
-
`+n.map(function(r,i){return i+1+") "+r.toString()}).join(`
|
|
207
|
-
`):"",this.name="UnsubscriptionError",this.errors=n}})});var pn=h(Dl=>{"use strict";Object.defineProperty(Dl,"__esModule",{value:!0});Dl.arrRemove=void 0;function SV(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}Dl.arrRemove=SV});var nt=h(Ye=>{"use strict";var MC=Ye&&Ye.__values||function(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},CC=Ye&&Ye.__read||function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},SC=Ye&&Ye.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(Ye,"__esModule",{value:!0});Ye.isSubscription=Ye.EMPTY_SUBSCRIPTION=Ye.Subscription=void 0;var Bs=X(),fy=dy(),IC=pn(),hy=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,n,r,i,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=MC(s),u=a.next();!u.done;u=a.next()){var c=u.value;c.remove(this)}}catch(v){t={error:v}}finally{try{u&&!u.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}else s.remove(this);var l=this.initialTeardown;if(Bs.isFunction(l))try{l()}catch(v){o=v instanceof fy.UnsubscriptionError?v.errors:[v]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var p=MC(d),g=p.next();!g.done;g=p.next()){var m=g.value;try{OC(m)}catch(v){o=o??[],v instanceof fy.UnsubscriptionError?o=SC(SC([],CC(o)),CC(v.errors)):o.push(v)}}}catch(v){r={error:v}}finally{try{g&&!g.done&&(i=p.return)&&i.call(p)}finally{if(r)throw r.error}}}if(o)throw new fy.UnsubscriptionError(o)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)OC(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}},e.prototype._hasParent=function(t){var n=this._parentage;return n===t||Array.isArray(n)&&n.includes(t)},e.prototype._addParent=function(t){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t},e.prototype._removeParent=function(t){var n=this._parentage;n===t?this._parentage=null:Array.isArray(n)&&IC.arrRemove(n,t)},e.prototype.remove=function(t){var n=this._finalizers;n&&IC.arrRemove(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();Ye.Subscription=hy;Ye.EMPTY_SUBSCRIPTION=hy.EMPTY;function IV(e){return e instanceof hy||e&&"closed"in e&&Bs.isFunction(e.remove)&&Bs.isFunction(e.add)&&Bs.isFunction(e.unsubscribe)}Ye.isSubscription=IV;function OC(e){Bs.isFunction(e)?e():e.unsubscribe()}});var Ki=h(wl=>{"use strict";Object.defineProperty(wl,"__esModule",{value:!0});wl.config=void 0;wl.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}});var py=h(Ht=>{"use strict";var AC=Ht&&Ht.__read||function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},TC=Ht&&Ht.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(Ht,"__esModule",{value:!0});Ht.timeoutProvider=void 0;Ht.timeoutProvider={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Ht.timeoutProvider.delegate;return i?.setTimeout?i.setTimeout.apply(i,TC([e,t],AC(n))):setTimeout.apply(void 0,TC([e,t],AC(n)))},clearTimeout:function(e){var t=Ht.timeoutProvider.delegate;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0}});var gy=h(El=>{"use strict";Object.defineProperty(El,"__esModule",{value:!0});El.reportUnhandledError=void 0;var OV=Ki(),AV=py();function TV(e){AV.timeoutProvider.setTimeout(function(){var t=OV.config.onUnhandledError;if(t)t(e);else throw e})}El.reportUnhandledError=TV});var Ce=h(Ml=>{"use strict";Object.defineProperty(Ml,"__esModule",{value:!0});Ml.noop=void 0;function xV(){}Ml.noop=xV});var xC=h(zt=>{"use strict";Object.defineProperty(zt,"__esModule",{value:!0});zt.createNotification=zt.nextNotification=zt.errorNotification=zt.COMPLETE_NOTIFICATION=void 0;zt.COMPLETE_NOTIFICATION=function(){return Cl("C",void 0,void 0)}();function NV(e){return Cl("E",void 0,e)}zt.errorNotification=NV;function PV(e){return Cl("N",e,void 0)}zt.nextNotification=PV;function Cl(e,t,n){return{kind:e,value:t,error:n}}zt.createNotification=Cl});var Sl=h(Xi=>{"use strict";Object.defineProperty(Xi,"__esModule",{value:!0});Xi.captureError=Xi.errorContext=void 0;var NC=Ki(),Lr=null;function FV(e){if(NC.config.useDeprecatedSynchronousErrorHandling){var t=!Lr;if(t&&(Lr={errorThrown:!1,error:null}),e(),t){var n=Lr,r=n.errorThrown,i=n.error;if(Lr=null,r)throw i}}else e()}Xi.errorContext=FV;function RV(e){NC.config.useDeprecatedSynchronousErrorHandling&&Lr&&(Lr.errorThrown=!0,Lr.error=e)}Xi.captureError=RV});var eo=h(It=>{"use strict";var RC=It&&It.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(It,"__esModule",{value:!0});It.EMPTY_OBSERVER=It.SafeSubscriber=It.Subscriber=void 0;var kV=X(),PC=nt(),_y=Ki(),jV=gy(),FC=Ce(),my=xC(),LV=py(),VV=Sl(),kC=function(e){RC(t,e);function t(n){var r=e.call(this)||this;return r.isStopped=!1,n?(r.destination=n,PC.isSubscription(n)&&n.add(r)):r.destination=It.EMPTY_OBSERVER,r}return t.create=function(n,r,i){return new jC(n,r,i)},t.prototype.next=function(n){this.isStopped?yy(my.nextNotification(n),this):this._next(n)},t.prototype.error=function(n){this.isStopped?yy(my.errorNotification(n),this):(this.isStopped=!0,this._error(n))},t.prototype.complete=function(){this.isStopped?yy(my.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(n){this.destination.next(n)},t.prototype._error=function(n){try{this.destination.error(n)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(PC.Subscription);It.Subscriber=kC;var qV=Function.prototype.bind;function vy(e,t){return qV.call(e,t)}var UV=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var n=this.partialObserver;if(n.next)try{n.next(t)}catch(r){Il(r)}},e.prototype.error=function(t){var n=this.partialObserver;if(n.error)try{n.error(t)}catch(r){Il(r)}else Il(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(n){Il(n)}},e}(),jC=function(e){RC(t,e);function t(n,r,i){var o=e.call(this)||this,s;if(kV.isFunction(n)||!n)s={next:n??void 0,error:r??void 0,complete:i??void 0};else{var a;o&&_y.config.useDeprecatedNextContext?(a=Object.create(n),a.unsubscribe=function(){return o.unsubscribe()},s={next:n.next&&vy(n.next,a),error:n.error&&vy(n.error,a),complete:n.complete&&vy(n.complete,a)}):s=n}return o.destination=new UV(s),o}return t}(kC);It.SafeSubscriber=jC;function Il(e){_y.config.useDeprecatedSynchronousErrorHandling?VV.captureError(e):jV.reportUnhandledError(e)}function $V(e){throw e}function yy(e,t){var n=_y.config.onStoppedNotification;n&&LV.timeoutProvider.setTimeout(function(){return n(e,t)})}It.EMPTY_OBSERVER={closed:!0,next:FC.noop,error:$V,complete:FC.noop}});var Hs=h(Ol=>{"use strict";Object.defineProperty(Ol,"__esModule",{value:!0});Ol.observable=void 0;Ol.observable=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}()});var Se=h(Al=>{"use strict";Object.defineProperty(Al,"__esModule",{value:!0});Al.identity=void 0;function BV(e){return e}Al.identity=BV});var zs=h(to=>{"use strict";Object.defineProperty(to,"__esModule",{value:!0});to.pipeFromArray=to.pipe=void 0;var HV=Se();function zV(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return LC(e)}to.pipe=zV;function LC(e){return e.length===0?HV.identity:e.length===1?e[0]:function(n){return e.reduce(function(r,i){return i(r)},n)}}to.pipeFromArray=LC});var te=h(Tl=>{"use strict";Object.defineProperty(Tl,"__esModule",{value:!0});Tl.Observable=void 0;var Dy=eo(),WV=nt(),GV=Hs(),ZV=zs(),YV=Ki(),by=X(),QV=Sl(),JV=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(t,n,r){var i=this,o=XV(t)?t:new Dy.SafeSubscriber(t,n,r);return QV.errorContext(function(){var s=i,a=s.operator,u=s.source;o.add(a?a.call(o,u):u?i._subscribe(o):i._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(n){t.error(n)}},e.prototype.forEach=function(t,n){var r=this;return n=VC(n),new n(function(i,o){var s=new Dy.SafeSubscriber({next:function(a){try{t(a)}catch(u){o(u),s.unsubscribe()}},error:o,complete:i});r.subscribe(s)})},e.prototype._subscribe=function(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)},e.prototype[GV.observable]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return ZV.pipeFromArray(t)(this)},e.prototype.toPromise=function(t){var n=this;return t=VC(t),new t(function(r,i){var o;n.subscribe(function(s){return o=s},function(s){return i(s)},function(){return r(o)})})},e.create=function(t){return new e(t)},e}();Tl.Observable=JV;function VC(e){var t;return(t=e??YV.config.Promise)!==null&&t!==void 0?t:Promise}function KV(e){return e&&by.isFunction(e.next)&&by.isFunction(e.error)&&by.isFunction(e.complete)}function XV(e){return e&&e instanceof Dy.Subscriber||KV(e)&&WV.isSubscription(e)}});var w=h(no=>{"use strict";Object.defineProperty(no,"__esModule",{value:!0});no.operate=no.hasLift=void 0;var eq=X();function qC(e){return eq.isFunction(e?.lift)}no.hasLift=qC;function tq(e){return function(t){if(qC(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}no.operate=tq});var I=h(Gn=>{"use strict";var nq=Gn&&Gn.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(Gn,"__esModule",{value:!0});Gn.OperatorSubscriber=Gn.createOperatorSubscriber=void 0;var rq=eo();function iq(e,t,n,r,i){return new UC(e,t,n,r,i)}Gn.createOperatorSubscriber=iq;var UC=function(e){nq(t,e);function t(n,r,i,o,s,a){var u=e.call(this,n)||this;return u.onFinalize=s,u.shouldUnsubscribe=a,u._next=r?function(c){try{r(c)}catch(l){n.error(l)}}:e.prototype._next,u._error=o?function(c){try{o(c)}catch(l){n.error(l)}finally{this.unsubscribe()}}:e.prototype._error,u._complete=i?function(){try{i()}catch(c){n.error(c)}finally{this.unsubscribe()}}:e.prototype._complete,u}return t.prototype.unsubscribe=function(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;e.prototype.unsubscribe.call(this),!r&&((n=this.onFinalize)===null||n===void 0||n.call(this))}},t}(rq.Subscriber);Gn.OperatorSubscriber=UC});var wy=h(xl=>{"use strict";Object.defineProperty(xl,"__esModule",{value:!0});xl.refCount=void 0;var oq=w(),sq=I();function aq(){return oq.operate(function(e,t){var n=null;e._refCount++;var r=sq.createOperatorSubscriber(t,void 0,void 0,void 0,function(){if(!e||e._refCount<=0||0<--e._refCount){n=null;return}var i=e._connection,o=n;n=null,i&&(!o||i===o)&&i.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}xl.refCount=aq});var Ws=h(ro=>{"use strict";var uq=ro&&ro.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(ro,"__esModule",{value:!0});ro.ConnectableObservable=void 0;var cq=te(),$C=nt(),lq=wy(),dq=I(),fq=w(),hq=function(e){uq(t,e);function t(n,r){var i=e.call(this)||this;return i.source=n,i.subjectFactory=r,i._subject=null,i._refCount=0,i._connection=null,fq.hasLift(n)&&(i.lift=n.lift),i}return t.prototype._subscribe=function(n){return this.getSubject().subscribe(n)},t.prototype.getSubject=function(){var n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject},t.prototype._teardown=function(){this._refCount=0;var n=this._connection;this._subject=this._connection=null,n?.unsubscribe()},t.prototype.connect=function(){var n=this,r=this._connection;if(!r){r=this._connection=new $C.Subscription;var i=this.getSubject();r.add(this.source.subscribe(dq.createOperatorSubscriber(i,void 0,function(){n._teardown(),i.complete()},function(o){n._teardown(),i.error(o)},function(){return n._teardown()}))),r.closed&&(this._connection=null,r=$C.Subscription.EMPTY)}return r},t.prototype.refCount=function(){return lq.refCount()(this)},t}(cq.Observable);ro.ConnectableObservable=hq});var BC=h(Gs=>{"use strict";Object.defineProperty(Gs,"__esModule",{value:!0});Gs.performanceTimestampProvider=void 0;Gs.performanceTimestampProvider={now:function(){return(Gs.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}});var Ey=h(Ot=>{"use strict";var HC=Ot&&Ot.__read||function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},zC=Ot&&Ot.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(Ot,"__esModule",{value:!0});Ot.animationFrameProvider=void 0;var pq=nt();Ot.animationFrameProvider={schedule:function(e){var t=requestAnimationFrame,n=cancelAnimationFrame,r=Ot.animationFrameProvider.delegate;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);var i=t(function(o){n=void 0,e(o)});return new pq.Subscription(function(){return n?.(i)})},requestAnimationFrame:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Ot.animationFrameProvider.delegate;return(n?.requestAnimationFrame||requestAnimationFrame).apply(void 0,zC([],HC(e)))},cancelAnimationFrame:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Ot.animationFrameProvider.delegate;return(n?.cancelAnimationFrame||cancelAnimationFrame).apply(void 0,zC([],HC(e)))},delegate:void 0}});var ZC=h(Nl=>{"use strict";Object.defineProperty(Nl,"__esModule",{value:!0});Nl.animationFrames=void 0;var gq=te(),mq=BC(),WC=Ey();function vq(e){return e?GC(e):yq}Nl.animationFrames=vq;function GC(e){return new gq.Observable(function(t){var n=e||mq.performanceTimestampProvider,r=n.now(),i=0,o=function(){t.closed||(i=WC.animationFrameProvider.requestAnimationFrame(function(s){i=0;var a=n.now();t.next({timestamp:e?a:s,elapsed:a-r}),o()}))};return o(),function(){i&&WC.animationFrameProvider.cancelAnimationFrame(i)}})}var yq=GC()});var My=h(Pl=>{"use strict";Object.defineProperty(Pl,"__esModule",{value:!0});Pl.ObjectUnsubscribedError=void 0;var _q=Wn();Pl.ObjectUnsubscribedError=_q.createErrorClass(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})});var Ie=h(Wt=>{"use strict";var QC=Wt&&Wt.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),bq=Wt&&Wt.__values||function(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Wt,"__esModule",{value:!0});Wt.AnonymousSubject=Wt.Subject=void 0;var YC=te(),Sy=nt(),Dq=My(),wq=pn(),Cy=Sl(),JC=function(e){QC(t,e);function t(){var n=e.call(this)||this;return n.closed=!1,n.currentObservers=null,n.observers=[],n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return t.prototype.lift=function(n){var r=new Iy(this,this);return r.operator=n,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new Dq.ObjectUnsubscribedError},t.prototype.next=function(n){var r=this;Cy.errorContext(function(){var i,o;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var s=bq(r.currentObservers),a=s.next();!a.done;a=s.next()){var u=a.value;u.next(n)}}catch(c){i={error:c}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}}})},t.prototype.error=function(n){var r=this;Cy.errorContext(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=n;for(var i=r.observers;i.length;)i.shift().error(n)}})},t.prototype.complete=function(){var n=this;Cy.errorContext(function(){if(n._throwIfClosed(),!n.isStopped){n.isStopped=!0;for(var r=n.observers;r.length;)r.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(n){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,n)},t.prototype._subscribe=function(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)},t.prototype._innerSubscribe=function(n){var r=this,i=this,o=i.hasError,s=i.isStopped,a=i.observers;return o||s?Sy.EMPTY_SUBSCRIPTION:(this.currentObservers=null,a.push(n),new Sy.Subscription(function(){r.currentObservers=null,wq.arrRemove(a,n)}))},t.prototype._checkFinalizedStatuses=function(n){var r=this,i=r.hasError,o=r.thrownError,s=r.isStopped;i?n.error(o):s&&n.complete()},t.prototype.asObservable=function(){var n=new YC.Observable;return n.source=this,n},t.create=function(n,r){return new Iy(n,r)},t}(YC.Observable);Wt.Subject=JC;var Iy=function(e){QC(t,e);function t(n,r){var i=e.call(this)||this;return i.destination=n,i.source=r,i}return t.prototype.next=function(n){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.next)===null||i===void 0||i.call(r,n)},t.prototype.error=function(n){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.error)===null||i===void 0||i.call(r,n)},t.prototype.complete=function(){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||r===void 0||r.call(n)},t.prototype._subscribe=function(n){var r,i;return(i=(r=this.source)===null||r===void 0?void 0:r.subscribe(n))!==null&&i!==void 0?i:Sy.EMPTY_SUBSCRIPTION},t}(JC);Wt.AnonymousSubject=Iy});var Oy=h(io=>{"use strict";var Eq=io&&io.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(io,"__esModule",{value:!0});io.BehaviorSubject=void 0;var Mq=Ie(),Cq=function(e){Eq(t,e);function t(n){var r=e.call(this)||this;return r._value=n,r}return Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(n){var r=e.prototype._subscribe.call(this,n);return!r.closed&&n.next(this._value),r},t.prototype.getValue=function(){var n=this,r=n.hasError,i=n.thrownError,o=n._value;if(r)throw i;return this._throwIfClosed(),o},t.prototype.next=function(n){e.prototype.next.call(this,this._value=n)},t}(Mq.Subject);io.BehaviorSubject=Cq});var Fl=h(Zs=>{"use strict";Object.defineProperty(Zs,"__esModule",{value:!0});Zs.dateTimestampProvider=void 0;Zs.dateTimestampProvider={now:function(){return(Zs.dateTimestampProvider.delegate||Date).now()},delegate:void 0}});var Rl=h(oo=>{"use strict";var Sq=oo&&oo.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(oo,"__esModule",{value:!0});oo.ReplaySubject=void 0;var Iq=Ie(),Oq=Fl(),Aq=function(e){Sq(t,e);function t(n,r,i){n===void 0&&(n=1/0),r===void 0&&(r=1/0),i===void 0&&(i=Oq.dateTimestampProvider);var o=e.call(this)||this;return o._bufferSize=n,o._windowTime=r,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=r===1/0,o._bufferSize=Math.max(1,n),o._windowTime=Math.max(1,r),o}return t.prototype.next=function(n){var r=this,i=r.isStopped,o=r._buffer,s=r._infiniteTimeWindow,a=r._timestampProvider,u=r._windowTime;i||(o.push(n),!s&&o.push(a.now()+u)),this._trimBuffer(),e.prototype.next.call(this,n)},t.prototype._subscribe=function(n){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(n),i=this,o=i._infiniteTimeWindow,s=i._buffer,a=s.slice(),u=0;u<a.length&&!n.closed;u+=o?1:2)n.next(a[u]);return this._checkFinalizedStatuses(n),r},t.prototype._trimBuffer=function(){var n=this,r=n._bufferSize,i=n._timestampProvider,o=n._buffer,s=n._infiniteTimeWindow,a=(s?1:2)*r;if(r<1/0&&a<o.length&&o.splice(0,o.length-a),!s){for(var u=i.now(),c=0,l=1;l<o.length&&o[l]<=u;l+=2)c=l;c&&o.splice(0,c+1)}},t}(Iq.Subject);oo.ReplaySubject=Aq});var kl=h(so=>{"use strict";var Tq=so&&so.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(so,"__esModule",{value:!0});so.AsyncSubject=void 0;var xq=Ie(),Nq=function(e){Tq(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n._value=null,n._hasValue=!1,n._isComplete=!1,n}return t.prototype._checkFinalizedStatuses=function(n){var r=this,i=r.hasError,o=r._hasValue,s=r._value,a=r.thrownError,u=r.isStopped,c=r._isComplete;i?n.error(a):(u||c)&&(o&&n.next(s),n.complete())},t.prototype.next=function(n){this.isStopped||(this._value=n,this._hasValue=!0)},t.prototype.complete=function(){var n=this,r=n._hasValue,i=n._value,o=n._isComplete;o||(this._isComplete=!0,r&&e.prototype.next.call(this,i),e.prototype.complete.call(this))},t}(xq.Subject);so.AsyncSubject=Nq});var KC=h(ao=>{"use strict";var Pq=ao&&ao.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(ao,"__esModule",{value:!0});ao.Action=void 0;var Fq=nt(),Rq=function(e){Pq(t,e);function t(n,r){return e.call(this)||this}return t.prototype.schedule=function(n,r){return r===void 0&&(r=0),this},t}(Fq.Subscription);ao.Action=Rq});var tS=h(Gt=>{"use strict";var XC=Gt&&Gt.__read||function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},eS=Gt&&Gt.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(Gt,"__esModule",{value:!0});Gt.intervalProvider=void 0;Gt.intervalProvider={setInterval:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Gt.intervalProvider.delegate;return i?.setInterval?i.setInterval.apply(i,eS([e,t],XC(n))):setInterval.apply(void 0,eS([e,t],XC(n)))},clearInterval:function(e){var t=Gt.intervalProvider.delegate;return(t?.clearInterval||clearInterval)(e)},delegate:void 0}});var co=h(uo=>{"use strict";var kq=uo&&uo.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(uo,"__esModule",{value:!0});uo.AsyncAction=void 0;var jq=KC(),nS=tS(),Lq=pn(),Vq=function(e){kq(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.scheduler=n,i.work=r,i.pending=!1,i}return t.prototype.schedule=function(n,r){var i;if(r===void 0&&(r=0),this.closed)return this;this.state=n;var o=this.id,s=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(s,o,r)),this.pending=!0,this.delay=r,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(s,this.id,r),this},t.prototype.requestAsyncId=function(n,r,i){return i===void 0&&(i=0),nS.intervalProvider.setInterval(n.flush.bind(n,this),i)},t.prototype.recycleAsyncId=function(n,r,i){if(i===void 0&&(i=0),i!=null&&this.delay===i&&this.pending===!1)return r;r!=null&&nS.intervalProvider.clearInterval(r)},t.prototype.execute=function(n,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var i=this._execute(n,r);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(n,r){var i=!1,o;try{this.work(n)}catch(s){i=!0,o=s||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),o},t.prototype.unsubscribe=function(){if(!this.closed){var n=this,r=n.id,i=n.scheduler,o=i.actions;this.work=this.state=this.scheduler=null,this.pending=!1,Lq.arrRemove(o,this),r!=null&&(this.id=this.recycleAsyncId(i,r,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(jq.Action);uo.AsyncAction=Vq});var iS=h(lo=>{"use strict";Object.defineProperty(lo,"__esModule",{value:!0});lo.TestTools=lo.Immediate=void 0;var qq=1,Ay,jl={};function rS(e){return e in jl?(delete jl[e],!0):!1}lo.Immediate={setImmediate:function(e){var t=qq++;return jl[t]=!0,Ay||(Ay=Promise.resolve()),Ay.then(function(){return rS(t)&&e()}),t},clearImmediate:function(e){rS(e)}};lo.TestTools={pending:function(){return Object.keys(jl).length}}});var sS=h(Zt=>{"use strict";var Uq=Zt&&Zt.__read||function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},$q=Zt&&Zt.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(Zt,"__esModule",{value:!0});Zt.immediateProvider=void 0;var oS=iS(),Bq=oS.Immediate.setImmediate,Hq=oS.Immediate.clearImmediate;Zt.immediateProvider={setImmediate:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Zt.immediateProvider.delegate;return(n?.setImmediate||Bq).apply(void 0,$q([],Uq(e)))},clearImmediate:function(e){var t=Zt.immediateProvider.delegate;return(t?.clearImmediate||Hq)(e)},delegate:void 0}});var uS=h(fo=>{"use strict";var zq=fo&&fo.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(fo,"__esModule",{value:!0});fo.AsapAction=void 0;var Wq=co(),aS=sS(),Gq=function(e){zq(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.scheduler=n,i.work=r,i}return t.prototype.requestAsyncId=function(n,r,i){return i===void 0&&(i=0),i!==null&&i>0?e.prototype.requestAsyncId.call(this,n,r,i):(n.actions.push(this),n._scheduled||(n._scheduled=aS.immediateProvider.setImmediate(n.flush.bind(n,void 0))))},t.prototype.recycleAsyncId=function(n,r,i){var o;if(i===void 0&&(i=0),i!=null?i>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,n,r,i);var s=n.actions;r!=null&&((o=s[s.length-1])===null||o===void 0?void 0:o.id)!==r&&(aS.immediateProvider.clearImmediate(r),n._scheduled===r&&(n._scheduled=void 0))},t}(Wq.AsyncAction);fo.AsapAction=Gq});var Ty=h(Ll=>{"use strict";Object.defineProperty(Ll,"__esModule",{value:!0});Ll.Scheduler=void 0;var Zq=Fl(),Yq=function(){function e(t,n){n===void 0&&(n=e.now),this.schedulerActionCtor=t,this.now=n}return e.prototype.schedule=function(t,n,r){return n===void 0&&(n=0),new this.schedulerActionCtor(this,t).schedule(r,n)},e.now=Zq.dateTimestampProvider.now,e}();Ll.Scheduler=Yq});var po=h(ho=>{"use strict";var Qq=ho&&ho.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(ho,"__esModule",{value:!0});ho.AsyncScheduler=void 0;var cS=Ty(),Jq=function(e){Qq(t,e);function t(n,r){r===void 0&&(r=cS.Scheduler.now);var i=e.call(this,n,r)||this;return i.actions=[],i._active=!1,i}return t.prototype.flush=function(n){var r=this.actions;if(this._active){r.push(n);return}var i;this._active=!0;do if(i=n.execute(n.state,n.delay))break;while(n=r.shift());if(this._active=!1,i){for(;n=r.shift();)n.unsubscribe();throw i}},t}(cS.Scheduler);ho.AsyncScheduler=Jq});var lS=h(go=>{"use strict";var Kq=go&&go.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(go,"__esModule",{value:!0});go.AsapScheduler=void 0;var Xq=po(),eU=function(e){Kq(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.flush=function(n){this._active=!0;var r=this._scheduled;this._scheduled=void 0;var i=this.actions,o;n=n||i.shift();do if(o=n.execute(n.state,n.delay))break;while((n=i[0])&&n.id===r&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===r&&i.shift();)n.unsubscribe();throw o}},t}(Xq.AsyncScheduler);go.AsapScheduler=eU});var dS=h(Vr=>{"use strict";Object.defineProperty(Vr,"__esModule",{value:!0});Vr.asap=Vr.asapScheduler=void 0;var tU=uS(),nU=lS();Vr.asapScheduler=new nU.AsapScheduler(tU.AsapAction);Vr.asap=Vr.asapScheduler});var Qe=h(qr=>{"use strict";Object.defineProperty(qr,"__esModule",{value:!0});qr.async=qr.asyncScheduler=void 0;var rU=co(),iU=po();qr.asyncScheduler=new iU.AsyncScheduler(rU.AsyncAction);qr.async=qr.asyncScheduler});var fS=h(mo=>{"use strict";var oU=mo&&mo.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(mo,"__esModule",{value:!0});mo.QueueAction=void 0;var sU=co(),aU=function(e){oU(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.scheduler=n,i.work=r,i}return t.prototype.schedule=function(n,r){return r===void 0&&(r=0),r>0?e.prototype.schedule.call(this,n,r):(this.delay=r,this.state=n,this.scheduler.flush(this),this)},t.prototype.execute=function(n,r){return r>0||this.closed?e.prototype.execute.call(this,n,r):this._execute(n,r)},t.prototype.requestAsyncId=function(n,r,i){return i===void 0&&(i=0),i!=null&&i>0||i==null&&this.delay>0?e.prototype.requestAsyncId.call(this,n,r,i):(n.flush(this),0)},t}(sU.AsyncAction);mo.QueueAction=aU});var hS=h(vo=>{"use strict";var uU=vo&&vo.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(vo,"__esModule",{value:!0});vo.QueueScheduler=void 0;var cU=po(),lU=function(e){uU(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(cU.AsyncScheduler);vo.QueueScheduler=lU});var pS=h(Ur=>{"use strict";Object.defineProperty(Ur,"__esModule",{value:!0});Ur.queue=Ur.queueScheduler=void 0;var dU=fS(),fU=hS();Ur.queueScheduler=new fU.QueueScheduler(dU.QueueAction);Ur.queue=Ur.queueScheduler});var mS=h(yo=>{"use strict";var hU=yo&&yo.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(yo,"__esModule",{value:!0});yo.AnimationFrameAction=void 0;var pU=co(),gS=Ey(),gU=function(e){hU(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.scheduler=n,i.work=r,i}return t.prototype.requestAsyncId=function(n,r,i){return i===void 0&&(i=0),i!==null&&i>0?e.prototype.requestAsyncId.call(this,n,r,i):(n.actions.push(this),n._scheduled||(n._scheduled=gS.animationFrameProvider.requestAnimationFrame(function(){return n.flush(void 0)})))},t.prototype.recycleAsyncId=function(n,r,i){var o;if(i===void 0&&(i=0),i!=null?i>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,n,r,i);var s=n.actions;r!=null&&((o=s[s.length-1])===null||o===void 0?void 0:o.id)!==r&&(gS.animationFrameProvider.cancelAnimationFrame(r),n._scheduled=void 0)},t}(pU.AsyncAction);yo.AnimationFrameAction=gU});var vS=h(_o=>{"use strict";var mU=_o&&_o.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(_o,"__esModule",{value:!0});_o.AnimationFrameScheduler=void 0;var vU=po(),yU=function(e){mU(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.flush=function(n){this._active=!0;var r=this._scheduled;this._scheduled=void 0;var i=this.actions,o;n=n||i.shift();do if(o=n.execute(n.state,n.delay))break;while((n=i[0])&&n.id===r&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===r&&i.shift();)n.unsubscribe();throw o}},t}(vU.AsyncScheduler);_o.AnimationFrameScheduler=yU});var yS=h($r=>{"use strict";Object.defineProperty($r,"__esModule",{value:!0});$r.animationFrame=$r.animationFrameScheduler=void 0;var _U=mS(),bU=vS();$r.animationFrameScheduler=new bU.AnimationFrameScheduler(_U.AnimationFrameAction);$r.animationFrame=$r.animationFrameScheduler});var DS=h(Zn=>{"use strict";var _S=Zn&&Zn.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(Zn,"__esModule",{value:!0});Zn.VirtualAction=Zn.VirtualTimeScheduler=void 0;var DU=co(),wU=nt(),EU=po(),MU=function(e){_S(t,e);function t(n,r){n===void 0&&(n=bS),r===void 0&&(r=1/0);var i=e.call(this,n,function(){return i.frame})||this;return i.maxFrames=r,i.frame=0,i.index=-1,i}return t.prototype.flush=function(){for(var n=this,r=n.actions,i=n.maxFrames,o,s;(s=r[0])&&s.delay<=i&&(r.shift(),this.frame=s.delay,!(o=s.execute(s.state,s.delay))););if(o){for(;s=r.shift();)s.unsubscribe();throw o}},t.frameTimeFactor=10,t}(EU.AsyncScheduler);Zn.VirtualTimeScheduler=MU;var bS=function(e){_S(t,e);function t(n,r,i){i===void 0&&(i=n.index+=1);var o=e.call(this,n,r)||this;return o.scheduler=n,o.work=r,o.index=i,o.active=!0,o.index=n.index=i,o}return t.prototype.schedule=function(n,r){if(r===void 0&&(r=0),Number.isFinite(r)){if(!this.id)return e.prototype.schedule.call(this,n,r);this.active=!1;var i=new t(this.scheduler,this.work);return this.add(i),i.schedule(n,r)}else return wU.Subscription.EMPTY},t.prototype.requestAsyncId=function(n,r,i){i===void 0&&(i=0),this.delay=n.frame+i;var o=n.actions;return o.push(this),o.sort(t.sortActions),1},t.prototype.recycleAsyncId=function(n,r,i){i===void 0&&(i=0)},t.prototype._execute=function(n,r){if(this.active===!0)return e.prototype._execute.call(this,n,r)},t.sortActions=function(n,r){return n.delay===r.delay?n.index===r.index?0:n.index>r.index?1:-1:n.delay>r.delay?1:-1},t}(DU.AsyncAction);Zn.VirtualAction=bS});var At=h(Br=>{"use strict";Object.defineProperty(Br,"__esModule",{value:!0});Br.empty=Br.EMPTY=void 0;var wS=te();Br.EMPTY=new wS.Observable(function(e){return e.complete()});function CU(e){return e?SU(e):Br.EMPTY}Br.empty=CU;function SU(e){return new wS.Observable(function(t){return e.schedule(function(){return t.complete()})})}});var Ys=h(Vl=>{"use strict";Object.defineProperty(Vl,"__esModule",{value:!0});Vl.isScheduler=void 0;var IU=X();function OU(e){return e&&IU.isFunction(e.schedule)}Vl.isScheduler=OU});var Je=h(Yn=>{"use strict";Object.defineProperty(Yn,"__esModule",{value:!0});Yn.popNumber=Yn.popScheduler=Yn.popResultSelector=void 0;var AU=X(),TU=Ys();function xy(e){return e[e.length-1]}function xU(e){return AU.isFunction(xy(e))?e.pop():void 0}Yn.popResultSelector=xU;function NU(e){return TU.isScheduler(xy(e))?e.pop():void 0}Yn.popScheduler=NU;function PU(e,t){return typeof xy(e)=="number"?e.pop():t}Yn.popNumber=PU});var Ul=h(ql=>{"use strict";Object.defineProperty(ql,"__esModule",{value:!0});ql.isArrayLike=void 0;ql.isArrayLike=function(e){return e&&typeof e.length=="number"&&typeof e!="function"}});var Ny=h($l=>{"use strict";Object.defineProperty($l,"__esModule",{value:!0});$l.isPromise=void 0;var FU=X();function RU(e){return FU.isFunction(e?.then)}$l.isPromise=RU});var Py=h(Bl=>{"use strict";Object.defineProperty(Bl,"__esModule",{value:!0});Bl.isInteropObservable=void 0;var kU=Hs(),jU=X();function LU(e){return jU.isFunction(e[kU.observable])}Bl.isInteropObservable=LU});var Fy=h(Hl=>{"use strict";Object.defineProperty(Hl,"__esModule",{value:!0});Hl.isAsyncIterable=void 0;var VU=X();function qU(e){return Symbol.asyncIterator&&VU.isFunction(e?.[Symbol.asyncIterator])}Hl.isAsyncIterable=qU});var Ry=h(zl=>{"use strict";Object.defineProperty(zl,"__esModule",{value:!0});zl.createInvalidObservableTypeError=void 0;function UU(e){return new TypeError("You provided "+(e!==null&&typeof e=="object"?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}zl.createInvalidObservableTypeError=UU});var ky=h(bo=>{"use strict";Object.defineProperty(bo,"__esModule",{value:!0});bo.iterator=bo.getSymbolIterator=void 0;function ES(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}bo.getSymbolIterator=ES;bo.iterator=ES()});var jy=h(Wl=>{"use strict";Object.defineProperty(Wl,"__esModule",{value:!0});Wl.isIterable=void 0;var $U=ky(),BU=X();function HU(e){return BU.isFunction(e?.[$U.iterator])}Wl.isIterable=HU});var Gl=h(pt=>{"use strict";var zU=pt&&pt.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(c){return function(l){return u([c,l])}}function u(c){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(o=c[0]&2?i.return:c[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,c[1])).done)return o;switch(i=0,o&&(c=[c[0]&2,o.value]),c[0]){case 0:case 1:o=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,i=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){n.label=c[1];break}if(c[0]===6&&n.label<o[1]){n.label=o[1],o=c;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(c);break}o[2]&&n.ops.pop(),n.trys.pop();continue}c=t.call(e,n)}catch(l){c=[6,l],i=0}finally{r=o=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}},Do=pt&&pt.__await||function(e){return this instanceof Do?(this.v=e,this):new Do(e)},WU=pt&&pt.__asyncGenerator||function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),i,o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(p){r[p]&&(i[p]=function(g){return new Promise(function(m,v){o.push([p,g,m,v])>1||a(p,g)})})}function a(p,g){try{u(r[p](g))}catch(m){d(o[0][3],m)}}function u(p){p.value instanceof Do?Promise.resolve(p.value.v).then(c,l):d(o[0][2],p)}function c(p){a("next",p)}function l(p){a("throw",p)}function d(p,g){p(g),o.shift(),o.length&&a(o[0][0],o[0][1])}};Object.defineProperty(pt,"__esModule",{value:!0});pt.isReadableStreamLike=pt.readableStreamLikeToAsyncGenerator=void 0;var GU=X();function ZU(e){return WU(this,arguments,function(){var n,r,i,o;return zU(this,function(s){switch(s.label){case 0:n=e.getReader(),s.label=1;case 1:s.trys.push([1,,9,10]),s.label=2;case 2:return[4,Do(n.read())];case 3:return r=s.sent(),i=r.value,o=r.done,o?[4,Do(void 0)]:[3,5];case 4:return[2,s.sent()];case 5:return[4,Do(i)];case 6:return[4,s.sent()];case 7:return s.sent(),[3,2];case 8:return[3,10];case 9:return n.releaseLock(),[7];case 10:return[2]}})})}pt.readableStreamLikeToAsyncGenerator=ZU;function YU(e){return GU.isFunction(e?.getReader)}pt.isReadableStreamLike=YU});var q=h(ue=>{"use strict";var QU=ue&&ue.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?o(l.value):i(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})},JU=ue&&ue.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(c){return function(l){return u([c,l])}}function u(c){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(o=c[0]&2?i.return:c[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,c[1])).done)return o;switch(i=0,o&&(c=[c[0]&2,o.value]),c[0]){case 0:case 1:o=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,i=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){n.label=c[1];break}if(c[0]===6&&n.label<o[1]){n.label=o[1],o=c;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(c);break}o[2]&&n.ops.pop(),n.trys.pop();continue}c=t.call(e,n)}catch(l){c=[6,l],i=0}finally{r=o=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}},KU=ue&&ue.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Ly=="function"?Ly(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(o){n[o]=e[o]&&function(s){return new Promise(function(a,u){s=e[o](s),i(a,u,s.done,s.value)})}}function i(o,s,a,u){Promise.resolve(u).then(function(c){o({value:c,done:a})},s)}},Ly=ue&&ue.__values||function(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(ue,"__esModule",{value:!0});ue.fromReadableStreamLike=ue.fromAsyncIterable=ue.fromIterable=ue.fromPromise=ue.fromArrayLike=ue.fromInteropObservable=ue.innerFrom=void 0;var XU=Ul(),e2=Ny(),wo=te(),t2=Py(),n2=Fy(),r2=Ry(),i2=jy(),MS=Gl(),o2=X(),s2=gy(),a2=Hs();function u2(e){if(e instanceof wo.Observable)return e;if(e!=null){if(t2.isInteropObservable(e))return CS(e);if(XU.isArrayLike(e))return SS(e);if(e2.isPromise(e))return IS(e);if(n2.isAsyncIterable(e))return Vy(e);if(i2.isIterable(e))return OS(e);if(MS.isReadableStreamLike(e))return AS(e)}throw r2.createInvalidObservableTypeError(e)}ue.innerFrom=u2;function CS(e){return new wo.Observable(function(t){var n=e[a2.observable]();if(o2.isFunction(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}ue.fromInteropObservable=CS;function SS(e){return new wo.Observable(function(t){for(var n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}ue.fromArrayLike=SS;function IS(e){return new wo.Observable(function(t){e.then(function(n){t.closed||(t.next(n),t.complete())},function(n){return t.error(n)}).then(null,s2.reportUnhandledError)})}ue.fromPromise=IS;function OS(e){return new wo.Observable(function(t){var n,r;try{for(var i=Ly(e),o=i.next();!o.done;o=i.next()){var s=o.value;if(t.next(s),t.closed)return}}catch(a){n={error:a}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}t.complete()})}ue.fromIterable=OS;function Vy(e){return new wo.Observable(function(t){c2(e,t).catch(function(n){return t.error(n)})})}ue.fromAsyncIterable=Vy;function AS(e){return Vy(MS.readableStreamLikeToAsyncGenerator(e))}ue.fromReadableStreamLike=AS;function c2(e,t){var n,r,i,o;return QU(this,void 0,void 0,function(){var s,a;return JU(this,function(u){switch(u.label){case 0:u.trys.push([0,5,6,11]),n=KU(e),u.label=1;case 1:return[4,n.next()];case 2:if(r=u.sent(),!!r.done)return[3,4];if(s=r.value,t.next(s),t.closed)return[2];u.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return a=u.sent(),i={error:a},[3,11];case 6:return u.trys.push([6,,9,10]),r&&!r.done&&(o=n.return)?[4,o.call(n)]:[3,8];case 7:u.sent(),u.label=8;case 8:return[3,10];case 9:if(i)throw i.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})}});var gn=h(Zl=>{"use strict";Object.defineProperty(Zl,"__esModule",{value:!0});Zl.executeSchedule=void 0;function l2(e,t,n,r,i){r===void 0&&(r=0),i===void 0&&(i=!1);var o=t.schedule(function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}Zl.executeSchedule=l2});var Qs=h(Yl=>{"use strict";Object.defineProperty(Yl,"__esModule",{value:!0});Yl.observeOn=void 0;var qy=gn(),d2=w(),f2=I();function h2(e,t){return t===void 0&&(t=0),d2.operate(function(n,r){n.subscribe(f2.createOperatorSubscriber(r,function(i){return qy.executeSchedule(r,e,function(){return r.next(i)},t)},function(){return qy.executeSchedule(r,e,function(){return r.complete()},t)},function(i){return qy.executeSchedule(r,e,function(){return r.error(i)},t)}))})}Yl.observeOn=h2});var Js=h(Ql=>{"use strict";Object.defineProperty(Ql,"__esModule",{value:!0});Ql.subscribeOn=void 0;var p2=w();function g2(e,t){return t===void 0&&(t=0),p2.operate(function(n,r){r.add(e.schedule(function(){return n.subscribe(r)},t))})}Ql.subscribeOn=g2});var TS=h(Jl=>{"use strict";Object.defineProperty(Jl,"__esModule",{value:!0});Jl.scheduleObservable=void 0;var m2=q(),v2=Qs(),y2=Js();function _2(e,t){return m2.innerFrom(e).pipe(y2.subscribeOn(t),v2.observeOn(t))}Jl.scheduleObservable=_2});var xS=h(Kl=>{"use strict";Object.defineProperty(Kl,"__esModule",{value:!0});Kl.schedulePromise=void 0;var b2=q(),D2=Qs(),w2=Js();function E2(e,t){return b2.innerFrom(e).pipe(w2.subscribeOn(t),D2.observeOn(t))}Kl.schedulePromise=E2});var NS=h(Xl=>{"use strict";Object.defineProperty(Xl,"__esModule",{value:!0});Xl.scheduleArray=void 0;var M2=te();function C2(e,t){return new M2.Observable(function(n){var r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}Xl.scheduleArray=C2});var Uy=h(ed=>{"use strict";Object.defineProperty(ed,"__esModule",{value:!0});ed.scheduleIterable=void 0;var S2=te(),I2=ky(),O2=X(),PS=gn();function A2(e,t){return new S2.Observable(function(n){var r;return PS.executeSchedule(n,t,function(){r=e[I2.iterator](),PS.executeSchedule(n,t,function(){var i,o,s;try{i=r.next(),o=i.value,s=i.done}catch(a){n.error(a);return}s?n.complete():n.next(o)},0,!0)}),function(){return O2.isFunction(r?.return)&&r.return()}})}ed.scheduleIterable=A2});var $y=h(td=>{"use strict";Object.defineProperty(td,"__esModule",{value:!0});td.scheduleAsyncIterable=void 0;var T2=te(),FS=gn();function x2(e,t){if(!e)throw new Error("Iterable cannot be null");return new T2.Observable(function(n){FS.executeSchedule(n,t,function(){var r=e[Symbol.asyncIterator]();FS.executeSchedule(n,t,function(){r.next().then(function(i){i.done?n.complete():n.next(i.value)})},0,!0)})})}td.scheduleAsyncIterable=x2});var RS=h(nd=>{"use strict";Object.defineProperty(nd,"__esModule",{value:!0});nd.scheduleReadableStreamLike=void 0;var N2=$y(),P2=Gl();function F2(e,t){return N2.scheduleAsyncIterable(P2.readableStreamLikeToAsyncGenerator(e),t)}nd.scheduleReadableStreamLike=F2});var By=h(rd=>{"use strict";Object.defineProperty(rd,"__esModule",{value:!0});rd.scheduled=void 0;var R2=TS(),k2=xS(),j2=NS(),L2=Uy(),V2=$y(),q2=Py(),U2=Ny(),$2=Ul(),B2=jy(),H2=Fy(),z2=Ry(),W2=Gl(),G2=RS();function Z2(e,t){if(e!=null){if(q2.isInteropObservable(e))return R2.scheduleObservable(e,t);if($2.isArrayLike(e))return j2.scheduleArray(e,t);if(U2.isPromise(e))return k2.schedulePromise(e,t);if(H2.isAsyncIterable(e))return V2.scheduleAsyncIterable(e,t);if(B2.isIterable(e))return L2.scheduleIterable(e,t);if(W2.isReadableStreamLike(e))return G2.scheduleReadableStreamLike(e,t)}throw z2.createInvalidObservableTypeError(e)}rd.scheduled=Z2});var mn=h(id=>{"use strict";Object.defineProperty(id,"__esModule",{value:!0});id.from=void 0;var Y2=By(),Q2=q();function J2(e,t){return t?Y2.scheduled(e,t):Q2.innerFrom(e)}id.from=J2});var sd=h(od=>{"use strict";Object.defineProperty(od,"__esModule",{value:!0});od.of=void 0;var K2=Je(),X2=mn();function e$(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=K2.popScheduler(e);return X2.from(e,n)}od.of=e$});var Hy=h(ad=>{"use strict";Object.defineProperty(ad,"__esModule",{value:!0});ad.throwError=void 0;var t$=te(),n$=X();function r$(e,t){var n=n$.isFunction(e)?e:function(){return e},r=function(i){return i.error(n())};return new t$.Observable(t?function(i){return t.schedule(r,0,i)}:r)}ad.throwError=r$});var ud=h(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.observeNotification=vn.Notification=vn.NotificationKind=void 0;var i$=At(),o$=sd(),s$=Hy(),a$=X(),u$;(function(e){e.NEXT="N",e.ERROR="E",e.COMPLETE="C"})(u$=vn.NotificationKind||(vn.NotificationKind={}));var c$=function(){function e(t,n,r){this.kind=t,this.value=n,this.error=r,this.hasValue=t==="N"}return e.prototype.observe=function(t){return kS(this,t)},e.prototype.do=function(t,n,r){var i=this,o=i.kind,s=i.value,a=i.error;return o==="N"?t?.(s):o==="E"?n?.(a):r?.()},e.prototype.accept=function(t,n,r){var i;return a$.isFunction((i=t)===null||i===void 0?void 0:i.next)?this.observe(t):this.do(t,n,r)},e.prototype.toObservable=function(){var t=this,n=t.kind,r=t.value,i=t.error,o=n==="N"?o$.of(r):n==="E"?s$.throwError(function(){return i}):n==="C"?i$.EMPTY:0;if(!o)throw new TypeError("Unexpected notification kind "+n);return o},e.createNext=function(t){return new e("N",t)},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e}();vn.Notification=c$;function kS(e,t){var n,r,i,o=e,s=o.kind,a=o.value,u=o.error;if(typeof s!="string")throw new TypeError('Invalid notification, missing "kind"');s==="N"?(n=t.next)===null||n===void 0||n.call(t,a):s==="E"?(r=t.error)===null||r===void 0||r.call(t,u):(i=t.complete)===null||i===void 0||i.call(t)}vn.observeNotification=kS});var LS=h(cd=>{"use strict";Object.defineProperty(cd,"__esModule",{value:!0});cd.isObservable=void 0;var l$=te(),jS=X();function d$(e){return!!e&&(e instanceof l$.Observable||jS.isFunction(e.lift)&&jS.isFunction(e.subscribe))}cd.isObservable=d$});var Qn=h(ld=>{"use strict";Object.defineProperty(ld,"__esModule",{value:!0});ld.EmptyError=void 0;var f$=Wn();ld.EmptyError=f$.createErrorClass(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}})});var VS=h(dd=>{"use strict";Object.defineProperty(dd,"__esModule",{value:!0});dd.lastValueFrom=void 0;var h$=Qn();function p$(e,t){var n=typeof t=="object";return new Promise(function(r,i){var o=!1,s;e.subscribe({next:function(a){s=a,o=!0},error:i,complete:function(){o?r(s):n?r(t.defaultValue):i(new h$.EmptyError)}})})}dd.lastValueFrom=p$});var qS=h(fd=>{"use strict";Object.defineProperty(fd,"__esModule",{value:!0});fd.firstValueFrom=void 0;var g$=Qn(),m$=eo();function v$(e,t){var n=typeof t=="object";return new Promise(function(r,i){var o=new m$.SafeSubscriber({next:function(s){r(s),o.unsubscribe()},error:i,complete:function(){n?r(t.defaultValue):i(new g$.EmptyError)}});e.subscribe(o)})}fd.firstValueFrom=v$});var zy=h(hd=>{"use strict";Object.defineProperty(hd,"__esModule",{value:!0});hd.ArgumentOutOfRangeError=void 0;var y$=Wn();hd.ArgumentOutOfRangeError=y$.createErrorClass(function(e){return function(){e(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}})});var Wy=h(pd=>{"use strict";Object.defineProperty(pd,"__esModule",{value:!0});pd.NotFoundError=void 0;var _$=Wn();pd.NotFoundError=_$.createErrorClass(function(e){return function(n){e(this),this.name="NotFoundError",this.message=n}})});var Gy=h(gd=>{"use strict";Object.defineProperty(gd,"__esModule",{value:!0});gd.SequenceError=void 0;var b$=Wn();gd.SequenceError=b$.createErrorClass(function(e){return function(n){e(this),this.name="SequenceError",this.message=n}})});var vd=h(md=>{"use strict";Object.defineProperty(md,"__esModule",{value:!0});md.isValidDate=void 0;function D$(e){return e instanceof Date&&!isNaN(e)}md.isValidDate=D$});var yd=h(Hr=>{"use strict";Object.defineProperty(Hr,"__esModule",{value:!0});Hr.timeout=Hr.TimeoutError=void 0;var w$=Qe(),E$=vd(),M$=w(),C$=q(),S$=Wn(),I$=I(),O$=gn();Hr.TimeoutError=S$.createErrorClass(function(e){return function(n){n===void 0&&(n=null),e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=n}});function A$(e,t){var n=E$.isValidDate(e)?{first:e}:typeof e=="number"?{each:e}:e,r=n.first,i=n.each,o=n.with,s=o===void 0?T$:o,a=n.scheduler,u=a===void 0?t??w$.asyncScheduler:a,c=n.meta,l=c===void 0?null:c;if(r==null&&i==null)throw new TypeError("No timeout provided.");return M$.operate(function(d,p){var g,m,v=null,y=0,_=function(S){m=O$.executeSchedule(p,u,function(){try{g.unsubscribe(),C$.innerFrom(s({meta:l,lastValue:v,seen:y})).subscribe(p)}catch(N){p.error(N)}},S)};g=d.subscribe(I$.createOperatorSubscriber(p,function(S){m?.unsubscribe(),y++,p.next(v=S),i>0&&_(i)},void 0,void 0,function(){m?.closed||m?.unsubscribe(),v=null})),!y&&_(r!=null?typeof r=="number"?r:+r-u.now():i)})}Hr.timeout=A$;function T$(e){throw new Hr.TimeoutError(e)}});var Jn=h(_d=>{"use strict";Object.defineProperty(_d,"__esModule",{value:!0});_d.map=void 0;var x$=w(),N$=I();function P$(e,t){return x$.operate(function(n,r){var i=0;n.subscribe(N$.createOperatorSubscriber(r,function(o){r.next(e.call(t,o,i++))}))})}_d.map=P$});var Xn=h(Kn=>{"use strict";var F$=Kn&&Kn.__read||function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},R$=Kn&&Kn.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(Kn,"__esModule",{value:!0});Kn.mapOneOrManyArgs=void 0;var k$=Jn(),j$=Array.isArray;function L$(e,t){return j$(t)?e.apply(void 0,R$([],F$(t))):e(t)}function V$(e){return k$.map(function(t){return L$(e,t)})}Kn.mapOneOrManyArgs=V$});var Yy=h(er=>{"use strict";var q$=er&&er.__read||function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},US=er&&er.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(er,"__esModule",{value:!0});er.bindCallbackInternals=void 0;var U$=Ys(),$$=te(),B$=Js(),H$=Xn(),z$=Qs(),W$=kl();function Zy(e,t,n,r){if(n)if(U$.isScheduler(n))r=n;else return function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];return Zy(e,t,r).apply(this,i).pipe(H$.mapOneOrManyArgs(n))};return r?function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];return Zy(e,t).apply(this,i).pipe(B$.subscribeOn(r),z$.observeOn(r))}:function(){for(var i=this,o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];var a=new W$.AsyncSubject,u=!0;return new $$.Observable(function(c){var l=a.subscribe(c);if(u){u=!1;var d=!1,p=!1;t.apply(i,US(US([],q$(o)),[function(){for(var g=[],m=0;m<arguments.length;m++)g[m]=arguments[m];if(e){var v=g.shift();if(v!=null){a.error(v);return}}a.next(1<g.length?g:g[0]),p=!0,d&&a.complete()}])),p&&a.complete(),d=!0}return l})}}er.bindCallbackInternals=Zy});var $S=h(bd=>{"use strict";Object.defineProperty(bd,"__esModule",{value:!0});bd.bindCallback=void 0;var G$=Yy();function Z$(e,t,n){return G$.bindCallbackInternals(!1,e,t,n)}bd.bindCallback=Z$});var BS=h(Dd=>{"use strict";Object.defineProperty(Dd,"__esModule",{value:!0});Dd.bindNodeCallback=void 0;var Y$=Yy();function Q$(e,t,n){return Y$.bindCallbackInternals(!0,e,t,n)}Dd.bindNodeCallback=Q$});var Qy=h(wd=>{"use strict";Object.defineProperty(wd,"__esModule",{value:!0});wd.argsArgArrayOrObject=void 0;var J$=Array.isArray,K$=Object.getPrototypeOf,X$=Object.prototype,eB=Object.keys;function tB(e){if(e.length===1){var t=e[0];if(J$(t))return{args:t,keys:null};if(nB(t)){var n=eB(t);return{args:n.map(function(r){return t[r]}),keys:n}}}return{args:e,keys:null}}wd.argsArgArrayOrObject=tB;function nB(e){return e&&typeof e=="object"&&K$(e)===X$}});var Jy=h(Ed=>{"use strict";Object.defineProperty(Ed,"__esModule",{value:!0});Ed.createObject=void 0;function rB(e,t){return e.reduce(function(n,r,i){return n[r]=t[i],n},{})}Ed.createObject=rB});var Md=h(Eo=>{"use strict";Object.defineProperty(Eo,"__esModule",{value:!0});Eo.combineLatestInit=Eo.combineLatest=void 0;var iB=te(),oB=Qy(),WS=mn(),GS=Se(),sB=Xn(),HS=Je(),aB=Jy(),uB=I(),cB=gn();function lB(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=HS.popScheduler(e),r=HS.popResultSelector(e),i=oB.argsArgArrayOrObject(e),o=i.args,s=i.keys;if(o.length===0)return WS.from([],n);var a=new iB.Observable(ZS(o,n,s?function(u){return aB.createObject(s,u)}:GS.identity));return r?a.pipe(sB.mapOneOrManyArgs(r)):a}Eo.combineLatest=lB;function ZS(e,t,n){return n===void 0&&(n=GS.identity),function(r){zS(t,function(){for(var i=e.length,o=new Array(i),s=i,a=i,u=function(l){zS(t,function(){var d=WS.from(e[l],t),p=!1;d.subscribe(uB.createOperatorSubscriber(r,function(g){o[l]=g,p||(p=!0,a--),a||r.next(n(o.slice()))},function(){--s||r.complete()}))},r)},c=0;c<i;c++)u(c)},r)}}Eo.combineLatestInit=ZS;function zS(e,t,n){e?cB.executeSchedule(n,e,t):t()}});var Sd=h(Cd=>{"use strict";Object.defineProperty(Cd,"__esModule",{value:!0});Cd.mergeInternals=void 0;var dB=q(),fB=gn(),YS=I();function hB(e,t,n,r,i,o,s,a){var u=[],c=0,l=0,d=!1,p=function(){d&&!u.length&&!c&&t.complete()},g=function(v){return c<r?m(v):u.push(v)},m=function(v){o&&t.next(v),c++;var y=!1;dB.innerFrom(n(v,l++)).subscribe(YS.createOperatorSubscriber(t,function(_){i?.(_),o?g(_):t.next(_)},function(){y=!0},void 0,function(){if(y)try{c--;for(var _=function(){var S=u.shift();s?fB.executeSchedule(t,s,function(){return m(S)}):m(S)};u.length&&c<r;)_();p()}catch(S){t.error(S)}}))};return e.subscribe(YS.createOperatorSubscriber(t,g,function(){d=!0,p()})),function(){a?.()}}Cd.mergeInternals=hB});var yn=h(Id=>{"use strict";Object.defineProperty(Id,"__esModule",{value:!0});Id.mergeMap=void 0;var pB=Jn(),gB=q(),mB=w(),vB=Sd(),yB=X();function QS(e,t,n){return n===void 0&&(n=1/0),yB.isFunction(t)?QS(function(r,i){return pB.map(function(o,s){return t(r,o,i,s)})(gB.innerFrom(e(r,i)))},n):(typeof t=="number"&&(n=t),mB.operate(function(r,i){return vB.mergeInternals(r,i,e,n)}))}Id.mergeMap=QS});var Ks=h(Od=>{"use strict";Object.defineProperty(Od,"__esModule",{value:!0});Od.mergeAll=void 0;var _B=yn(),bB=Se();function DB(e){return e===void 0&&(e=1/0),_B.mergeMap(bB.identity,e)}Od.mergeAll=DB});var Td=h(Ad=>{"use strict";Object.defineProperty(Ad,"__esModule",{value:!0});Ad.concatAll=void 0;var wB=Ks();function EB(){return wB.mergeAll(1)}Ad.concatAll=EB});var Xs=h(xd=>{"use strict";Object.defineProperty(xd,"__esModule",{value:!0});xd.concat=void 0;var MB=Td(),CB=Je(),SB=mn();function IB(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return MB.concatAll()(SB.from(e,CB.popScheduler(e)))}xd.concat=IB});var ea=h(Nd=>{"use strict";Object.defineProperty(Nd,"__esModule",{value:!0});Nd.defer=void 0;var OB=te(),AB=q();function TB(e){return new OB.Observable(function(t){AB.innerFrom(e()).subscribe(t)})}Nd.defer=TB});var JS=h(Pd=>{"use strict";Object.defineProperty(Pd,"__esModule",{value:!0});Pd.connectable=void 0;var xB=Ie(),NB=te(),PB=ea(),FB={connector:function(){return new xB.Subject},resetOnDisconnect:!0};function RB(e,t){t===void 0&&(t=FB);var n=null,r=t.connector,i=t.resetOnDisconnect,o=i===void 0?!0:i,s=r(),a=new NB.Observable(function(u){return s.subscribe(u)});return a.connect=function(){return(!n||n.closed)&&(n=PB.defer(function(){return e}).subscribe(s),o&&n.add(function(){return s=r()})),n},a}Pd.connectable=RB});var KS=h(Fd=>{"use strict";Object.defineProperty(Fd,"__esModule",{value:!0});Fd.forkJoin=void 0;var kB=te(),jB=Qy(),LB=q(),VB=Je(),qB=I(),UB=Xn(),$B=Jy();function BB(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=VB.popResultSelector(e),r=jB.argsArgArrayOrObject(e),i=r.args,o=r.keys,s=new kB.Observable(function(a){var u=i.length;if(!u){a.complete();return}for(var c=new Array(u),l=u,d=u,p=function(m){var v=!1;LB.innerFrom(i[m]).subscribe(qB.createOperatorSubscriber(a,function(y){v||(v=!0,d--),c[m]=y},function(){return l--},void 0,function(){(!l||!v)&&(d||a.next(o?$B.createObject(o,c):c),a.complete())}))},g=0;g<u;g++)p(g)});return n?s.pipe(UB.mapOneOrManyArgs(n)):s}Fd.forkJoin=BB});var eI=h(Mo=>{"use strict";var HB=Mo&&Mo.__read||function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o};Object.defineProperty(Mo,"__esModule",{value:!0});Mo.fromEvent=void 0;var zB=q(),WB=te(),GB=yn(),ZB=Ul(),zr=X(),YB=Xn(),QB=["addListener","removeListener"],JB=["addEventListener","removeEventListener"],KB=["on","off"];function Ky(e,t,n,r){if(zr.isFunction(n)&&(r=n,n=void 0),r)return Ky(e,t,n).pipe(YB.mapOneOrManyArgs(r));var i=HB(tH(e)?JB.map(function(a){return function(u){return e[a](t,u,n)}}):XB(e)?QB.map(XS(e,t)):eH(e)?KB.map(XS(e,t)):[],2),o=i[0],s=i[1];if(!o&&ZB.isArrayLike(e))return GB.mergeMap(function(a){return Ky(a,t,n)})(zB.innerFrom(e));if(!o)throw new TypeError("Invalid event target");return new WB.Observable(function(a){var u=function(){for(var c=[],l=0;l<arguments.length;l++)c[l]=arguments[l];return a.next(1<c.length?c:c[0])};return o(u),function(){return s(u)}})}Mo.fromEvent=Ky;function XS(e,t){return function(n){return function(r){return e[n](t,r)}}}function XB(e){return zr.isFunction(e.addListener)&&zr.isFunction(e.removeListener)}function eH(e){return zr.isFunction(e.on)&&zr.isFunction(e.off)}function tH(e){return zr.isFunction(e.addEventListener)&&zr.isFunction(e.removeEventListener)}});var nI=h(Rd=>{"use strict";Object.defineProperty(Rd,"__esModule",{value:!0});Rd.fromEventPattern=void 0;var nH=te(),rH=X(),iH=Xn();function tI(e,t,n){return n?tI(e,t).pipe(iH.mapOneOrManyArgs(n)):new nH.Observable(function(r){var i=function(){for(var s=[],a=0;a<arguments.length;a++)s[a]=arguments[a];return r.next(s.length===1?s[0]:s)},o=e(i);return rH.isFunction(t)?function(){return t(i,o)}:void 0})}Rd.fromEventPattern=tI});var iI=h(Co=>{"use strict";var oH=Co&&Co.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(c){return function(l){return u([c,l])}}function u(c){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(o=c[0]&2?i.return:c[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,c[1])).done)return o;switch(i=0,o&&(c=[c[0]&2,o.value]),c[0]){case 0:case 1:o=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,i=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){n.label=c[1];break}if(c[0]===6&&n.label<o[1]){n.label=o[1],o=c;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(c);break}o[2]&&n.ops.pop(),n.trys.pop();continue}c=t.call(e,n)}catch(l){c=[6,l],i=0}finally{r=o=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}};Object.defineProperty(Co,"__esModule",{value:!0});Co.generate=void 0;var rI=Se(),sH=Ys(),aH=ea(),uH=Uy();function cH(e,t,n,r,i){var o,s,a,u;arguments.length===1?(o=e,u=o.initialState,t=o.condition,n=o.iterate,s=o.resultSelector,a=s===void 0?rI.identity:s,i=o.scheduler):(u=e,!r||sH.isScheduler(r)?(a=rI.identity,i=r):a=r);function c(){var l;return oH(this,function(d){switch(d.label){case 0:l=u,d.label=1;case 1:return!t||t(l)?[4,a(l)]:[3,4];case 2:d.sent(),d.label=3;case 3:return l=n(l),[3,1];case 4:return[2]}})}return aH.defer(i?function(){return uH.scheduleIterable(c(),i)}:c)}Co.generate=cH});var oI=h(kd=>{"use strict";Object.defineProperty(kd,"__esModule",{value:!0});kd.iif=void 0;var lH=ea();function dH(e,t,n){return lH.defer(function(){return e()?t:n})}kd.iif=dH});var tr=h(jd=>{"use strict";Object.defineProperty(jd,"__esModule",{value:!0});jd.timer=void 0;var fH=te(),hH=Qe(),pH=Ys(),gH=vd();function mH(e,t,n){e===void 0&&(e=0),n===void 0&&(n=hH.async);var r=-1;return t!=null&&(pH.isScheduler(t)?n=t:r=t),new fH.Observable(function(i){var o=gH.isValidDate(e)?+e-n.now():e;o<0&&(o=0);var s=0;return n.schedule(function(){i.closed||(i.next(s++),0<=r?this.schedule(void 0,r):i.complete())},o)})}jd.timer=mH});var Xy=h(Ld=>{"use strict";Object.defineProperty(Ld,"__esModule",{value:!0});Ld.interval=void 0;var vH=Qe(),yH=tr();function _H(e,t){return e===void 0&&(e=0),t===void 0&&(t=vH.asyncScheduler),e<0&&(e=0),yH.timer(e,e,t)}Ld.interval=_H});var aI=h(Vd=>{"use strict";Object.defineProperty(Vd,"__esModule",{value:!0});Vd.merge=void 0;var bH=Ks(),DH=q(),wH=At(),sI=Je(),EH=mn();function MH(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=sI.popScheduler(e),r=sI.popNumber(e,1/0),i=e;return i.length?i.length===1?DH.innerFrom(i[0]):bH.mergeAll(r)(EH.from(i,n)):wH.EMPTY}Vd.merge=MH});var e_=h(Wr=>{"use strict";Object.defineProperty(Wr,"__esModule",{value:!0});Wr.never=Wr.NEVER=void 0;var CH=te(),SH=Ce();Wr.NEVER=new CH.Observable(SH.noop);function IH(){return Wr.NEVER}Wr.never=IH});var Gr=h(qd=>{"use strict";Object.defineProperty(qd,"__esModule",{value:!0});qd.argsOrArgArray=void 0;var OH=Array.isArray;function AH(e){return e.length===1&&OH(e[0])?e[0]:e}qd.argsOrArgArray=AH});var t_=h(Ud=>{"use strict";Object.defineProperty(Ud,"__esModule",{value:!0});Ud.onErrorResumeNext=void 0;var TH=te(),xH=Gr(),NH=I(),uI=Ce(),PH=q();function FH(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=xH.argsOrArgArray(e);return new TH.Observable(function(r){var i=0,o=function(){if(i<n.length){var s=void 0;try{s=PH.innerFrom(n[i++])}catch{o();return}var a=new NH.OperatorSubscriber(r,void 0,uI.noop,uI.noop);s.subscribe(a),a.add(o)}else r.complete()};o()})}Ud.onErrorResumeNext=FH});var cI=h($d=>{"use strict";Object.defineProperty($d,"__esModule",{value:!0});$d.pairs=void 0;var RH=mn();function kH(e,t){return RH.from(Object.entries(e),t)}$d.pairs=kH});var lI=h(Bd=>{"use strict";Object.defineProperty(Bd,"__esModule",{value:!0});Bd.not=void 0;function jH(e,t){return function(n,r){return!e.call(t,n,r)}}Bd.not=jH});var Zr=h(Hd=>{"use strict";Object.defineProperty(Hd,"__esModule",{value:!0});Hd.filter=void 0;var LH=w(),VH=I();function qH(e,t){return LH.operate(function(n,r){var i=0;n.subscribe(VH.createOperatorSubscriber(r,function(o){return e.call(t,o,i++)&&r.next(o)}))})}Hd.filter=qH});var hI=h(zd=>{"use strict";Object.defineProperty(zd,"__esModule",{value:!0});zd.partition=void 0;var UH=lI(),dI=Zr(),fI=q();function $H(e,t,n){return[dI.filter(t,n)(fI.innerFrom(e)),dI.filter(UH.not(t,n))(fI.innerFrom(e))]}zd.partition=$H});var n_=h(So=>{"use strict";Object.defineProperty(So,"__esModule",{value:!0});So.raceInit=So.race=void 0;var BH=te(),pI=q(),HH=Gr(),zH=I();function WH(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e=HH.argsOrArgArray(e),e.length===1?pI.innerFrom(e[0]):new BH.Observable(gI(e))}So.race=WH;function gI(e){return function(t){for(var n=[],r=function(o){n.push(pI.innerFrom(e[o]).subscribe(zH.createOperatorSubscriber(t,function(s){if(n){for(var a=0;a<n.length;a++)a!==o&&n[a].unsubscribe();n=null}t.next(s)})))},i=0;n&&!t.closed&&i<e.length;i++)r(i)}}So.raceInit=gI});var mI=h(Wd=>{"use strict";Object.defineProperty(Wd,"__esModule",{value:!0});Wd.range=void 0;var GH=te(),ZH=At();function YH(e,t,n){if(t==null&&(t=e,e=0),t<=0)return ZH.EMPTY;var r=t+e;return new GH.Observable(n?function(i){var o=e;return n.schedule(function(){o<r?(i.next(o++),this.schedule()):i.complete()})}:function(i){for(var o=e;o<r&&!i.closed;)i.next(o++);i.complete()})}Wd.range=YH});var vI=h(Gd=>{"use strict";Object.defineProperty(Gd,"__esModule",{value:!0});Gd.using=void 0;var QH=te(),JH=q(),KH=At();function XH(e,t){return new QH.Observable(function(n){var r=e(),i=t(r),o=i?JH.innerFrom(i):KH.EMPTY;return o.subscribe(n),function(){r&&r.unsubscribe()}})}Gd.using=XH});var Zd=h(nr=>{"use strict";var e3=nr&&nr.__read||function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},t3=nr&&nr.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(nr,"__esModule",{value:!0});nr.zip=void 0;var n3=te(),r3=q(),i3=Gr(),o3=At(),s3=I(),a3=Je();function u3(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=a3.popResultSelector(e),r=i3.argsOrArgArray(e);return r.length?new n3.Observable(function(i){var o=r.map(function(){return[]}),s=r.map(function(){return!1});i.add(function(){o=s=null});for(var a=function(c){r3.innerFrom(r[c]).subscribe(s3.createOperatorSubscriber(i,function(l){if(o[c].push(l),o.every(function(p){return p.length})){var d=o.map(function(p){return p.shift()});i.next(n?n.apply(void 0,t3([],e3(d))):d),o.some(function(p,g){return!p.length&&s[g]})&&i.complete()}},function(){s[c]=!0,!o[c].length&&i.complete()}))},u=0;!i.closed&&u<r.length;u++)a(u);return function(){o=s=null}}):o3.EMPTY}nr.zip=u3});var _I=h(yI=>{"use strict";Object.defineProperty(yI,"__esModule",{value:!0})});var r_=h(Yd=>{"use strict";Object.defineProperty(Yd,"__esModule",{value:!0});Yd.audit=void 0;var c3=w(),l3=q(),bI=I();function d3(e){return c3.operate(function(t,n){var r=!1,i=null,o=null,s=!1,a=function(){if(o?.unsubscribe(),o=null,r){r=!1;var c=i;i=null,n.next(c)}s&&n.complete()},u=function(){o=null,s&&n.complete()};t.subscribe(bI.createOperatorSubscriber(n,function(c){r=!0,i=c,o||l3.innerFrom(e(c)).subscribe(o=bI.createOperatorSubscriber(n,a,u))},function(){s=!0,(!r||!o||o.closed)&&n.complete()}))})}Yd.audit=d3});var DI=h(Qd=>{"use strict";Object.defineProperty(Qd,"__esModule",{value:!0});Qd.auditTime=void 0;var f3=Qe(),h3=r_(),p3=tr();function g3(e,t){return t===void 0&&(t=f3.asyncScheduler),h3.audit(function(){return p3.timer(e,t)})}Qd.auditTime=g3});var EI=h(Jd=>{"use strict";Object.defineProperty(Jd,"__esModule",{value:!0});Jd.buffer=void 0;var m3=w(),v3=Ce(),wI=I(),y3=q();function _3(e){return m3.operate(function(t,n){var r=[];return t.subscribe(wI.createOperatorSubscriber(n,function(i){return r.push(i)},function(){n.next(r),n.complete()})),y3.innerFrom(e).subscribe(wI.createOperatorSubscriber(n,function(){var i=r;r=[],n.next(i)},v3.noop)),function(){r=null}})}Jd.buffer=_3});var MI=h(Io=>{"use strict";var i_=Io&&Io.__values||function(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Io,"__esModule",{value:!0});Io.bufferCount=void 0;var b3=w(),D3=I(),w3=pn();function E3(e,t){return t===void 0&&(t=null),t=t??e,b3.operate(function(n,r){var i=[],o=0;n.subscribe(D3.createOperatorSubscriber(r,function(s){var a,u,c,l,d=null;o++%t===0&&i.push([]);try{for(var p=i_(i),g=p.next();!g.done;g=p.next()){var m=g.value;m.push(s),e<=m.length&&(d=d??[],d.push(m))}}catch(_){a={error:_}}finally{try{g&&!g.done&&(u=p.return)&&u.call(p)}finally{if(a)throw a.error}}if(d)try{for(var v=i_(d),y=v.next();!y.done;y=v.next()){var m=y.value;w3.arrRemove(i,m),r.next(m)}}catch(_){c={error:_}}finally{try{y&&!y.done&&(l=v.return)&&l.call(v)}finally{if(c)throw c.error}}},function(){var s,a;try{for(var u=i_(i),c=u.next();!c.done;c=u.next()){var l=c.value;r.next(l)}}catch(d){s={error:d}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(s)throw s.error}}r.complete()},void 0,function(){i=null}))})}Io.bufferCount=E3});var SI=h(Oo=>{"use strict";var M3=Oo&&Oo.__values||function(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Oo,"__esModule",{value:!0});Oo.bufferTime=void 0;var C3=nt(),S3=w(),I3=I(),O3=pn(),A3=Qe(),T3=Je(),CI=gn();function x3(e){for(var t,n,r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];var o=(t=T3.popScheduler(r))!==null&&t!==void 0?t:A3.asyncScheduler,s=(n=r[0])!==null&&n!==void 0?n:null,a=r[1]||1/0;return S3.operate(function(u,c){var l=[],d=!1,p=function(v){var y=v.buffer,_=v.subs;_.unsubscribe(),O3.arrRemove(l,v),c.next(y),d&&g()},g=function(){if(l){var v=new C3.Subscription;c.add(v);var y=[],_={buffer:y,subs:v};l.push(_),CI.executeSchedule(v,o,function(){return p(_)},e)}};s!==null&&s>=0?CI.executeSchedule(c,o,g,s,!0):d=!0,g();var m=I3.createOperatorSubscriber(c,function(v){var y,_,S=l.slice();try{for(var N=M3(S),P=N.next();!P.done;P=N.next()){var L=P.value,R=L.buffer;R.push(v),a<=R.length&&p(L)}}catch(ve){y={error:ve}}finally{try{P&&!P.done&&(_=N.return)&&_.call(N)}finally{if(y)throw y.error}}},function(){for(;l?.length;)c.next(l.shift().buffer);m?.unsubscribe(),c.complete(),c.unsubscribe()},void 0,function(){return l=null});u.subscribe(m)})}Oo.bufferTime=x3});var AI=h(Ao=>{"use strict";var N3=Ao&&Ao.__values||function(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Ao,"__esModule",{value:!0});Ao.bufferToggle=void 0;var P3=nt(),F3=w(),II=q(),o_=I(),OI=Ce(),R3=pn();function k3(e,t){return F3.operate(function(n,r){var i=[];II.innerFrom(e).subscribe(o_.createOperatorSubscriber(r,function(o){var s=[];i.push(s);var a=new P3.Subscription,u=function(){R3.arrRemove(i,s),r.next(s),a.unsubscribe()};a.add(II.innerFrom(t(o)).subscribe(o_.createOperatorSubscriber(r,u,OI.noop)))},OI.noop)),n.subscribe(o_.createOperatorSubscriber(r,function(o){var s,a;try{for(var u=N3(i),c=u.next();!c.done;c=u.next()){var l=c.value;l.push(o)}}catch(d){s={error:d}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(s)throw s.error}}},function(){for(;i.length>0;)r.next(i.shift());r.complete()}))})}Ao.bufferToggle=k3});var xI=h(Kd=>{"use strict";Object.defineProperty(Kd,"__esModule",{value:!0});Kd.bufferWhen=void 0;var j3=w(),L3=Ce(),TI=I(),V3=q();function q3(e){return j3.operate(function(t,n){var r=null,i=null,o=function(){i?.unsubscribe();var s=r;r=[],s&&n.next(s),V3.innerFrom(e()).subscribe(i=TI.createOperatorSubscriber(n,o,L3.noop))};o(),t.subscribe(TI.createOperatorSubscriber(n,function(s){return r?.push(s)},function(){r&&n.next(r),n.complete()},void 0,function(){return r=i=null}))})}Kd.bufferWhen=q3});var PI=h(Xd=>{"use strict";Object.defineProperty(Xd,"__esModule",{value:!0});Xd.catchError=void 0;var U3=q(),$3=I(),B3=w();function NI(e){return B3.operate(function(t,n){var r=null,i=!1,o;r=t.subscribe($3.createOperatorSubscriber(n,void 0,void 0,function(s){o=U3.innerFrom(e(s,NI(e)(t))),r?(r.unsubscribe(),r=null,o.subscribe(n)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(n))})}Xd.catchError=NI});var s_=h(ef=>{"use strict";Object.defineProperty(ef,"__esModule",{value:!0});ef.scanInternals=void 0;var H3=I();function z3(e,t,n,r,i){return function(o,s){var a=n,u=t,c=0;o.subscribe(H3.createOperatorSubscriber(s,function(l){var d=c++;u=a?e(u,l,d):(a=!0,l),r&&s.next(u)},i&&function(){a&&s.next(u),s.complete()}))}}ef.scanInternals=z3});var To=h(tf=>{"use strict";Object.defineProperty(tf,"__esModule",{value:!0});tf.reduce=void 0;var W3=s_(),G3=w();function Z3(e,t){return G3.operate(W3.scanInternals(e,t,arguments.length>=2,!1,!0))}tf.reduce=Z3});var a_=h(nf=>{"use strict";Object.defineProperty(nf,"__esModule",{value:!0});nf.toArray=void 0;var Y3=To(),Q3=w(),J3=function(e,t){return e.push(t),e};function K3(){return Q3.operate(function(e,t){Y3.reduce(J3,[])(e).subscribe(t)})}nf.toArray=K3});var u_=h(rf=>{"use strict";Object.defineProperty(rf,"__esModule",{value:!0});rf.joinAllInternals=void 0;var X3=Se(),e4=Xn(),t4=zs(),n4=yn(),r4=a_();function i4(e,t){return t4.pipe(r4.toArray(),n4.mergeMap(function(n){return e(n)}),t?e4.mapOneOrManyArgs(t):X3.identity)}rf.joinAllInternals=i4});var c_=h(of=>{"use strict";Object.defineProperty(of,"__esModule",{value:!0});of.combineLatestAll=void 0;var o4=Md(),s4=u_();function a4(e){return s4.joinAllInternals(o4.combineLatest,e)}of.combineLatestAll=a4});var FI=h(sf=>{"use strict";Object.defineProperty(sf,"__esModule",{value:!0});sf.combineAll=void 0;var u4=c_();sf.combineAll=u4.combineLatestAll});var LI=h(rr=>{"use strict";var RI=rr&&rr.__read||function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},kI=rr&&rr.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(rr,"__esModule",{value:!0});rr.combineLatest=void 0;var c4=Md(),l4=w(),d4=Gr(),f4=Xn(),h4=zs(),p4=Je();function jI(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=p4.popResultSelector(e);return n?h4.pipe(jI.apply(void 0,kI([],RI(e))),f4.mapOneOrManyArgs(n)):l4.operate(function(r,i){c4.combineLatestInit(kI([r],RI(d4.argsOrArgArray(e))))(i)})}rr.combineLatest=jI});var VI=h(ir=>{"use strict";var g4=ir&&ir.__read||function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},m4=ir&&ir.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(ir,"__esModule",{value:!0});ir.combineLatestWith=void 0;var v4=LI();function y4(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return v4.combineLatest.apply(void 0,m4([],g4(e)))}ir.combineLatestWith=y4});var l_=h(af=>{"use strict";Object.defineProperty(af,"__esModule",{value:!0});af.concatMap=void 0;var qI=yn(),_4=X();function b4(e,t){return _4.isFunction(t)?qI.mergeMap(e,t,1):qI.mergeMap(e,1)}af.concatMap=b4});var $I=h(uf=>{"use strict";Object.defineProperty(uf,"__esModule",{value:!0});uf.concatMapTo=void 0;var UI=l_(),D4=X();function w4(e,t){return D4.isFunction(t)?UI.concatMap(function(){return e},t):UI.concatMap(function(){return e})}uf.concatMapTo=w4});var BI=h(or=>{"use strict";var E4=or&&or.__read||function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},M4=or&&or.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(or,"__esModule",{value:!0});or.concat=void 0;var C4=w(),S4=Td(),I4=Je(),O4=mn();function A4(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=I4.popScheduler(e);return C4.operate(function(r,i){S4.concatAll()(O4.from(M4([r],E4(e)),n)).subscribe(i)})}or.concat=A4});var HI=h(sr=>{"use strict";var T4=sr&&sr.__read||function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},x4=sr&&sr.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(sr,"__esModule",{value:!0});sr.concatWith=void 0;var N4=BI();function P4(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return N4.concat.apply(void 0,x4([],T4(e)))}sr.concatWith=P4});var zI=h(cf=>{"use strict";Object.defineProperty(cf,"__esModule",{value:!0});cf.fromSubscribable=void 0;var F4=te();function R4(e){return new F4.Observable(function(t){return e.subscribe(t)})}cf.fromSubscribable=R4});var df=h(lf=>{"use strict";Object.defineProperty(lf,"__esModule",{value:!0});lf.connect=void 0;var k4=Ie(),j4=q(),L4=w(),V4=zI(),q4={connector:function(){return new k4.Subject}};function U4(e,t){t===void 0&&(t=q4);var n=t.connector;return L4.operate(function(r,i){var o=n();j4.innerFrom(e(V4.fromSubscribable(o))).subscribe(i),i.add(r.subscribe(o))})}lf.connect=U4});var WI=h(ff=>{"use strict";Object.defineProperty(ff,"__esModule",{value:!0});ff.count=void 0;var $4=To();function B4(e){return $4.reduce(function(t,n,r){return!e||e(n,r)?t+1:t},0)}ff.count=B4});var ZI=h(hf=>{"use strict";Object.defineProperty(hf,"__esModule",{value:!0});hf.debounce=void 0;var H4=w(),z4=Ce(),GI=I(),W4=q();function G4(e){return H4.operate(function(t,n){var r=!1,i=null,o=null,s=function(){if(o?.unsubscribe(),o=null,r){r=!1;var a=i;i=null,n.next(a)}};t.subscribe(GI.createOperatorSubscriber(n,function(a){o?.unsubscribe(),r=!0,i=a,o=GI.createOperatorSubscriber(n,s,z4.noop),W4.innerFrom(e(a)).subscribe(o)},function(){s(),n.complete()},void 0,function(){i=o=null}))})}hf.debounce=G4});var YI=h(pf=>{"use strict";Object.defineProperty(pf,"__esModule",{value:!0});pf.debounceTime=void 0;var Z4=Qe(),Y4=w(),Q4=I();function J4(e,t){return t===void 0&&(t=Z4.asyncScheduler),Y4.operate(function(n,r){var i=null,o=null,s=null,a=function(){if(i){i.unsubscribe(),i=null;var c=o;o=null,r.next(c)}};function u(){var c=s+e,l=t.now();if(l<c){i=this.schedule(void 0,c-l),r.add(i);return}a()}n.subscribe(Q4.createOperatorSubscriber(r,function(c){o=c,s=t.now(),i||(i=t.schedule(u,e),r.add(i))},function(){a(),r.complete()},void 0,function(){o=i=null}))})}pf.debounceTime=J4});var ta=h(gf=>{"use strict";Object.defineProperty(gf,"__esModule",{value:!0});gf.defaultIfEmpty=void 0;var K4=w(),X4=I();function e8(e){return K4.operate(function(t,n){var r=!1;t.subscribe(X4.createOperatorSubscriber(n,function(i){r=!0,n.next(i)},function(){r||n.next(e),n.complete()}))})}gf.defaultIfEmpty=e8});var na=h(mf=>{"use strict";Object.defineProperty(mf,"__esModule",{value:!0});mf.take=void 0;var t8=At(),n8=w(),r8=I();function i8(e){return e<=0?function(){return t8.EMPTY}:n8.operate(function(t,n){var r=0;t.subscribe(r8.createOperatorSubscriber(n,function(i){++r<=e&&(n.next(i),e<=r&&n.complete())}))})}mf.take=i8});var d_=h(vf=>{"use strict";Object.defineProperty(vf,"__esModule",{value:!0});vf.ignoreElements=void 0;var o8=w(),s8=I(),a8=Ce();function u8(){return o8.operate(function(e,t){e.subscribe(s8.createOperatorSubscriber(t,a8.noop))})}vf.ignoreElements=u8});var f_=h(yf=>{"use strict";Object.defineProperty(yf,"__esModule",{value:!0});yf.mapTo=void 0;var c8=Jn();function l8(e){return c8.map(function(){return e})}yf.mapTo=l8});var h_=h(_f=>{"use strict";Object.defineProperty(_f,"__esModule",{value:!0});_f.delayWhen=void 0;var d8=Xs(),QI=na(),f8=d_(),h8=f_(),p8=yn(),g8=q();function JI(e,t){return t?function(n){return d8.concat(t.pipe(QI.take(1),f8.ignoreElements()),n.pipe(JI(e)))}:p8.mergeMap(function(n,r){return g8.innerFrom(e(n,r)).pipe(QI.take(1),h8.mapTo(n))})}_f.delayWhen=JI});var KI=h(bf=>{"use strict";Object.defineProperty(bf,"__esModule",{value:!0});bf.delay=void 0;var m8=Qe(),v8=h_(),y8=tr();function _8(e,t){t===void 0&&(t=m8.asyncScheduler);var n=y8.timer(e,t);return v8.delayWhen(function(){return n})}bf.delay=_8});var XI=h(Df=>{"use strict";Object.defineProperty(Df,"__esModule",{value:!0});Df.dematerialize=void 0;var b8=ud(),D8=w(),w8=I();function E8(){return D8.operate(function(e,t){e.subscribe(w8.createOperatorSubscriber(t,function(n){return b8.observeNotification(n,t)}))})}Df.dematerialize=E8});var tO=h(wf=>{"use strict";Object.defineProperty(wf,"__esModule",{value:!0});wf.distinct=void 0;var M8=w(),eO=I(),C8=Ce(),S8=q();function I8(e,t){return M8.operate(function(n,r){var i=new Set;n.subscribe(eO.createOperatorSubscriber(r,function(o){var s=e?e(o):o;i.has(s)||(i.add(s),r.next(o))})),t&&S8.innerFrom(t).subscribe(eO.createOperatorSubscriber(r,function(){return i.clear()},C8.noop))})}wf.distinct=I8});var p_=h(Ef=>{"use strict";Object.defineProperty(Ef,"__esModule",{value:!0});Ef.distinctUntilChanged=void 0;var O8=Se(),A8=w(),T8=I();function x8(e,t){return t===void 0&&(t=O8.identity),e=e??N8,A8.operate(function(n,r){var i,o=!0;n.subscribe(T8.createOperatorSubscriber(r,function(s){var a=t(s);(o||!e(i,a))&&(o=!1,i=a,r.next(s))}))})}Ef.distinctUntilChanged=x8;function N8(e,t){return e===t}});var nO=h(Mf=>{"use strict";Object.defineProperty(Mf,"__esModule",{value:!0});Mf.distinctUntilKeyChanged=void 0;var P8=p_();function F8(e,t){return P8.distinctUntilChanged(function(n,r){return t?t(n[e],r[e]):n[e]===r[e]})}Mf.distinctUntilKeyChanged=F8});var ra=h(Cf=>{"use strict";Object.defineProperty(Cf,"__esModule",{value:!0});Cf.throwIfEmpty=void 0;var R8=Qn(),k8=w(),j8=I();function L8(e){return e===void 0&&(e=V8),k8.operate(function(t,n){var r=!1;t.subscribe(j8.createOperatorSubscriber(n,function(i){r=!0,n.next(i)},function(){return r?n.complete():n.error(e())}))})}Cf.throwIfEmpty=L8;function V8(){return new R8.EmptyError}});var iO=h(Sf=>{"use strict";Object.defineProperty(Sf,"__esModule",{value:!0});Sf.elementAt=void 0;var rO=zy(),q8=Zr(),U8=ra(),$8=ta(),B8=na();function H8(e,t){if(e<0)throw new rO.ArgumentOutOfRangeError;var n=arguments.length>=2;return function(r){return r.pipe(q8.filter(function(i,o){return o===e}),B8.take(1),n?$8.defaultIfEmpty(t):U8.throwIfEmpty(function(){return new rO.ArgumentOutOfRangeError}))}}Sf.elementAt=H8});var oO=h(ar=>{"use strict";var z8=ar&&ar.__read||function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},W8=ar&&ar.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(ar,"__esModule",{value:!0});ar.endWith=void 0;var G8=Xs(),Z8=sd();function Y8(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(n){return G8.concat(n,Z8.of.apply(void 0,W8([],z8(e))))}}ar.endWith=Y8});var sO=h(If=>{"use strict";Object.defineProperty(If,"__esModule",{value:!0});If.every=void 0;var Q8=w(),J8=I();function K8(e,t){return Q8.operate(function(n,r){var i=0;n.subscribe(J8.createOperatorSubscriber(r,function(o){e.call(t,o,i++,n)||(r.next(!1),r.complete())},function(){r.next(!0),r.complete()}))})}If.every=K8});var g_=h(Of=>{"use strict";Object.defineProperty(Of,"__esModule",{value:!0});Of.exhaustMap=void 0;var X8=Jn(),aO=q(),ez=w(),uO=I();function cO(e,t){return t?function(n){return n.pipe(cO(function(r,i){return aO.innerFrom(e(r,i)).pipe(X8.map(function(o,s){return t(r,o,i,s)}))}))}:ez.operate(function(n,r){var i=0,o=null,s=!1;n.subscribe(uO.createOperatorSubscriber(r,function(a){o||(o=uO.createOperatorSubscriber(r,void 0,function(){o=null,s&&r.complete()}),aO.innerFrom(e(a,i++)).subscribe(o))},function(){s=!0,!o&&r.complete()}))})}Of.exhaustMap=cO});var m_=h(Af=>{"use strict";Object.defineProperty(Af,"__esModule",{value:!0});Af.exhaustAll=void 0;var tz=g_(),nz=Se();function rz(){return tz.exhaustMap(nz.identity)}Af.exhaustAll=rz});var lO=h(Tf=>{"use strict";Object.defineProperty(Tf,"__esModule",{value:!0});Tf.exhaust=void 0;var iz=m_();Tf.exhaust=iz.exhaustAll});var dO=h(xf=>{"use strict";Object.defineProperty(xf,"__esModule",{value:!0});xf.expand=void 0;var oz=w(),sz=Sd();function az(e,t,n){return t===void 0&&(t=1/0),t=(t||0)<1?1/0:t,oz.operate(function(r,i){return sz.mergeInternals(r,i,e,t,void 0,!0,n)})}xf.expand=az});var fO=h(Nf=>{"use strict";Object.defineProperty(Nf,"__esModule",{value:!0});Nf.finalize=void 0;var uz=w();function cz(e){return uz.operate(function(t,n){try{t.subscribe(n)}finally{n.add(e)}})}Nf.finalize=cz});var v_=h(xo=>{"use strict";Object.defineProperty(xo,"__esModule",{value:!0});xo.createFind=xo.find=void 0;var lz=w(),dz=I();function fz(e,t){return lz.operate(hO(e,t,"value"))}xo.find=fz;function hO(e,t,n){var r=n==="index";return function(i,o){var s=0;i.subscribe(dz.createOperatorSubscriber(o,function(a){var u=s++;e.call(t,a,u,i)&&(o.next(r?u:a),o.complete())},function(){o.next(r?-1:void 0),o.complete()}))}}xo.createFind=hO});var pO=h(Pf=>{"use strict";Object.defineProperty(Pf,"__esModule",{value:!0});Pf.findIndex=void 0;var hz=w(),pz=v_();function gz(e,t){return hz.operate(pz.createFind(e,t,"index"))}Pf.findIndex=gz});var gO=h(Ff=>{"use strict";Object.defineProperty(Ff,"__esModule",{value:!0});Ff.first=void 0;var mz=Qn(),vz=Zr(),yz=na(),_z=ta(),bz=ra(),Dz=Se();function wz(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?vz.filter(function(i,o){return e(i,o,r)}):Dz.identity,yz.take(1),n?_z.defaultIfEmpty(t):bz.throwIfEmpty(function(){return new mz.EmptyError}))}}Ff.first=wz});var vO=h(Rf=>{"use strict";Object.defineProperty(Rf,"__esModule",{value:!0});Rf.groupBy=void 0;var Ez=te(),Mz=q(),Cz=Ie(),Sz=w(),mO=I();function Iz(e,t,n,r){return Sz.operate(function(i,o){var s;!t||typeof t=="function"?s=t:(n=t.duration,s=t.element,r=t.connector);var a=new Map,u=function(m){a.forEach(m),m(o)},c=function(m){return u(function(v){return v.error(m)})},l=0,d=!1,p=new mO.OperatorSubscriber(o,function(m){try{var v=e(m),y=a.get(v);if(!y){a.set(v,y=r?r():new Cz.Subject);var _=g(v,y);if(o.next(_),n){var S=mO.createOperatorSubscriber(y,function(){y.complete(),S?.unsubscribe()},void 0,void 0,function(){return a.delete(v)});p.add(Mz.innerFrom(n(_)).subscribe(S))}}y.next(s?s(m):m)}catch(N){c(N)}},function(){return u(function(m){return m.complete()})},c,function(){return a.clear()},function(){return d=!0,l===0});i.subscribe(p);function g(m,v){var y=new Ez.Observable(function(_){l++;var S=v.subscribe(_);return function(){S.unsubscribe(),--l===0&&d&&p.unsubscribe()}});return y.key=m,y}})}Rf.groupBy=Iz});var yO=h(kf=>{"use strict";Object.defineProperty(kf,"__esModule",{value:!0});kf.isEmpty=void 0;var Oz=w(),Az=I();function Tz(){return Oz.operate(function(e,t){e.subscribe(Az.createOperatorSubscriber(t,function(){t.next(!1),t.complete()},function(){t.next(!0),t.complete()}))})}kf.isEmpty=Tz});var y_=h(No=>{"use strict";var xz=No&&No.__values||function(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(No,"__esModule",{value:!0});No.takeLast=void 0;var Nz=At(),Pz=w(),Fz=I();function Rz(e){return e<=0?function(){return Nz.EMPTY}:Pz.operate(function(t,n){var r=[];t.subscribe(Fz.createOperatorSubscriber(n,function(i){r.push(i),e<r.length&&r.shift()},function(){var i,o;try{for(var s=xz(r),a=s.next();!a.done;a=s.next()){var u=a.value;n.next(u)}}catch(c){i={error:c}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}n.complete()},void 0,function(){r=null}))})}No.takeLast=Rz});var _O=h(jf=>{"use strict";Object.defineProperty(jf,"__esModule",{value:!0});jf.last=void 0;var kz=Qn(),jz=Zr(),Lz=y_(),Vz=ra(),qz=ta(),Uz=Se();function $z(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?jz.filter(function(i,o){return e(i,o,r)}):Uz.identity,Lz.takeLast(1),n?qz.defaultIfEmpty(t):Vz.throwIfEmpty(function(){return new kz.EmptyError}))}}jf.last=$z});var bO=h(Lf=>{"use strict";Object.defineProperty(Lf,"__esModule",{value:!0});Lf.materialize=void 0;var __=ud(),Bz=w(),Hz=I();function zz(){return Bz.operate(function(e,t){e.subscribe(Hz.createOperatorSubscriber(t,function(n){t.next(__.Notification.createNext(n))},function(){t.next(__.Notification.createComplete()),t.complete()},function(n){t.next(__.Notification.createError(n)),t.complete()}))})}Lf.materialize=zz});var DO=h(Vf=>{"use strict";Object.defineProperty(Vf,"__esModule",{value:!0});Vf.max=void 0;var Wz=To(),Gz=X();function Zz(e){return Wz.reduce(Gz.isFunction(e)?function(t,n){return e(t,n)>0?t:n}:function(t,n){return t>n?t:n})}Vf.max=Zz});var wO=h(qf=>{"use strict";Object.defineProperty(qf,"__esModule",{value:!0});qf.flatMap=void 0;var Yz=yn();qf.flatMap=Yz.mergeMap});var MO=h(Uf=>{"use strict";Object.defineProperty(Uf,"__esModule",{value:!0});Uf.mergeMapTo=void 0;var EO=yn(),Qz=X();function Jz(e,t,n){return n===void 0&&(n=1/0),Qz.isFunction(t)?EO.mergeMap(function(){return e},t,n):(typeof t=="number"&&(n=t),EO.mergeMap(function(){return e},n))}Uf.mergeMapTo=Jz});var CO=h($f=>{"use strict";Object.defineProperty($f,"__esModule",{value:!0});$f.mergeScan=void 0;var Kz=w(),Xz=Sd();function eW(e,t,n){return n===void 0&&(n=1/0),Kz.operate(function(r,i){var o=t;return Xz.mergeInternals(r,i,function(s,a){return e(o,s,a)},n,function(s){o=s},!1,void 0,function(){return o=null})})}$f.mergeScan=eW});var IO=h(ur=>{"use strict";var tW=ur&&ur.__read||function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},nW=ur&&ur.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(ur,"__esModule",{value:!0});ur.merge=void 0;var rW=w(),iW=Gr(),oW=Ks(),SO=Je(),sW=mn();function aW(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=SO.popScheduler(e),r=SO.popNumber(e,1/0);return e=iW.argsOrArgArray(e),rW.operate(function(i,o){oW.mergeAll(r)(sW.from(nW([i],tW(e)),n)).subscribe(o)})}ur.merge=aW});var OO=h(cr=>{"use strict";var uW=cr&&cr.__read||function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},cW=cr&&cr.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(cr,"__esModule",{value:!0});cr.mergeWith=void 0;var lW=IO();function dW(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return lW.merge.apply(void 0,cW([],uW(e)))}cr.mergeWith=dW});var AO=h(Bf=>{"use strict";Object.defineProperty(Bf,"__esModule",{value:!0});Bf.min=void 0;var fW=To(),hW=X();function pW(e){return fW.reduce(hW.isFunction(e)?function(t,n){return e(t,n)<0?t:n}:function(t,n){return t<n?t:n})}Bf.min=pW});var zf=h(Hf=>{"use strict";Object.defineProperty(Hf,"__esModule",{value:!0});Hf.multicast=void 0;var gW=Ws(),TO=X(),mW=df();function vW(e,t){var n=TO.isFunction(e)?e:function(){return e};return TO.isFunction(t)?mW.connect(t,{connector:n}):function(r){return new gW.ConnectableObservable(r,n)}}Hf.multicast=vW});var NO=h(Yt=>{"use strict";var yW=Yt&&Yt.__read||function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},_W=Yt&&Yt.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(Yt,"__esModule",{value:!0});Yt.onErrorResumeNext=Yt.onErrorResumeNextWith=void 0;var bW=Gr(),DW=t_();function xO(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=bW.argsOrArgArray(e);return function(r){return DW.onErrorResumeNext.apply(void 0,_W([r],yW(n)))}}Yt.onErrorResumeNextWith=xO;Yt.onErrorResumeNext=xO});var PO=h(Wf=>{"use strict";Object.defineProperty(Wf,"__esModule",{value:!0});Wf.pairwise=void 0;var wW=w(),EW=I();function MW(){return wW.operate(function(e,t){var n,r=!1;e.subscribe(EW.createOperatorSubscriber(t,function(i){var o=n;n=i,r&&t.next([o,i]),r=!0}))})}Wf.pairwise=MW});var FO=h(Gf=>{"use strict";Object.defineProperty(Gf,"__esModule",{value:!0});Gf.pluck=void 0;var CW=Jn();function SW(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.length;if(n===0)throw new Error("list of properties cannot be empty.");return CW.map(function(r){for(var i=r,o=0;o<n;o++){var s=i?.[e[o]];if(typeof s<"u")i=s;else return}return i})}Gf.pluck=SW});var RO=h(Zf=>{"use strict";Object.defineProperty(Zf,"__esModule",{value:!0});Zf.publish=void 0;var IW=Ie(),OW=zf(),AW=df();function TW(e){return e?function(t){return AW.connect(e)(t)}:function(t){return OW.multicast(new IW.Subject)(t)}}Zf.publish=TW});var kO=h(Yf=>{"use strict";Object.defineProperty(Yf,"__esModule",{value:!0});Yf.publishBehavior=void 0;var xW=Oy(),NW=Ws();function PW(e){return function(t){var n=new xW.BehaviorSubject(e);return new NW.ConnectableObservable(t,function(){return n})}}Yf.publishBehavior=PW});var jO=h(Qf=>{"use strict";Object.defineProperty(Qf,"__esModule",{value:!0});Qf.publishLast=void 0;var FW=kl(),RW=Ws();function kW(){return function(e){var t=new FW.AsyncSubject;return new RW.ConnectableObservable(e,function(){return t})}}Qf.publishLast=kW});var VO=h(Jf=>{"use strict";Object.defineProperty(Jf,"__esModule",{value:!0});Jf.publishReplay=void 0;var jW=Rl(),LW=zf(),LO=X();function VW(e,t,n,r){n&&!LO.isFunction(n)&&(r=n);var i=LO.isFunction(n)?n:void 0;return function(o){return LW.multicast(new jW.ReplaySubject(e,t,r),i)(o)}}Jf.publishReplay=VW});var qO=h(lr=>{"use strict";var qW=lr&&lr.__read||function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},UW=lr&&lr.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(lr,"__esModule",{value:!0});lr.raceWith=void 0;var $W=n_(),BW=w(),HW=Se();function zW(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.length?BW.operate(function(n,r){$W.raceInit(UW([n],qW(e)))(r)}):HW.identity}lr.raceWith=zW});var $O=h(Kf=>{"use strict";Object.defineProperty(Kf,"__esModule",{value:!0});Kf.repeat=void 0;var WW=At(),GW=w(),UO=I(),ZW=q(),YW=tr();function QW(e){var t,n=1/0,r;return e!=null&&(typeof e=="object"?(t=e.count,n=t===void 0?1/0:t,r=e.delay):n=e),n<=0?function(){return WW.EMPTY}:GW.operate(function(i,o){var s=0,a,u=function(){if(a?.unsubscribe(),a=null,r!=null){var l=typeof r=="number"?YW.timer(r):ZW.innerFrom(r(s)),d=UO.createOperatorSubscriber(o,function(){d.unsubscribe(),c()});l.subscribe(d)}else c()},c=function(){var l=!1;a=i.subscribe(UO.createOperatorSubscriber(o,void 0,function(){++s<n?a?u():l=!0:o.complete()})),l&&u()};c()})}Kf.repeat=QW});var HO=h(Xf=>{"use strict";Object.defineProperty(Xf,"__esModule",{value:!0});Xf.repeatWhen=void 0;var JW=q(),KW=Ie(),XW=w(),BO=I();function eG(e){return XW.operate(function(t,n){var r,i=!1,o,s=!1,a=!1,u=function(){return a&&s&&(n.complete(),!0)},c=function(){return o||(o=new KW.Subject,JW.innerFrom(e(o)).subscribe(BO.createOperatorSubscriber(n,function(){r?l():i=!0},function(){s=!0,u()}))),o},l=function(){a=!1,r=t.subscribe(BO.createOperatorSubscriber(n,void 0,function(){a=!0,!u()&&c().next()})),i&&(r.unsubscribe(),r=null,i=!1,l())};l()})}Xf.repeatWhen=eG});var WO=h(eh=>{"use strict";Object.defineProperty(eh,"__esModule",{value:!0});eh.retry=void 0;var tG=w(),zO=I(),nG=Se(),rG=tr(),iG=q();function oG(e){e===void 0&&(e=1/0);var t;e&&typeof e=="object"?t=e:t={count:e};var n=t.count,r=n===void 0?1/0:n,i=t.delay,o=t.resetOnSuccess,s=o===void 0?!1:o;return r<=0?nG.identity:tG.operate(function(a,u){var c=0,l,d=function(){var p=!1;l=a.subscribe(zO.createOperatorSubscriber(u,function(g){s&&(c=0),u.next(g)},void 0,function(g){if(c++<r){var m=function(){l?(l.unsubscribe(),l=null,d()):p=!0};if(i!=null){var v=typeof i=="number"?rG.timer(i):iG.innerFrom(i(g,c)),y=zO.createOperatorSubscriber(u,function(){y.unsubscribe(),m()},function(){u.complete()});v.subscribe(y)}else m()}else u.error(g)})),p&&(l.unsubscribe(),l=null,d())};d()})}eh.retry=oG});var ZO=h(th=>{"use strict";Object.defineProperty(th,"__esModule",{value:!0});th.retryWhen=void 0;var sG=q(),aG=Ie(),uG=w(),GO=I();function cG(e){return uG.operate(function(t,n){var r,i=!1,o,s=function(){r=t.subscribe(GO.createOperatorSubscriber(n,void 0,void 0,function(a){o||(o=new aG.Subject,sG.innerFrom(e(o)).subscribe(GO.createOperatorSubscriber(n,function(){return r?s():i=!0}))),o&&o.next(a)})),i&&(r.unsubscribe(),r=null,i=!1,s())};s()})}th.retryWhen=cG});var b_=h(nh=>{"use strict";Object.defineProperty(nh,"__esModule",{value:!0});nh.sample=void 0;var lG=q(),dG=w(),fG=Ce(),YO=I();function hG(e){return dG.operate(function(t,n){var r=!1,i=null;t.subscribe(YO.createOperatorSubscriber(n,function(o){r=!0,i=o})),lG.innerFrom(e).subscribe(YO.createOperatorSubscriber(n,function(){if(r){r=!1;var o=i;i=null,n.next(o)}},fG.noop))})}nh.sample=hG});var QO=h(rh=>{"use strict";Object.defineProperty(rh,"__esModule",{value:!0});rh.sampleTime=void 0;var pG=Qe(),gG=b_(),mG=Xy();function vG(e,t){return t===void 0&&(t=pG.asyncScheduler),gG.sample(mG.interval(e,t))}rh.sampleTime=vG});var JO=h(ih=>{"use strict";Object.defineProperty(ih,"__esModule",{value:!0});ih.scan=void 0;var yG=w(),_G=s_();function bG(e,t){return yG.operate(_G.scanInternals(e,t,arguments.length>=2,!0))}ih.scan=bG});var XO=h(oh=>{"use strict";Object.defineProperty(oh,"__esModule",{value:!0});oh.sequenceEqual=void 0;var DG=w(),wG=I(),EG=q();function MG(e,t){return t===void 0&&(t=function(n,r){return n===r}),DG.operate(function(n,r){var i=KO(),o=KO(),s=function(u){r.next(u),r.complete()},a=function(u,c){var l=wG.createOperatorSubscriber(r,function(d){var p=c.buffer,g=c.complete;p.length===0?g?s(!1):u.buffer.push(d):!t(d,p.shift())&&s(!1)},function(){u.complete=!0;var d=c.complete,p=c.buffer;d&&s(p.length===0),l?.unsubscribe()});return l};n.subscribe(a(i,o)),EG.innerFrom(e).subscribe(a(o,i))})}oh.sequenceEqual=MG;function KO(){return{buffer:[],complete:!1}}});var w_=h(dr=>{"use strict";var CG=dr&&dr.__read||function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},SG=dr&&dr.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(dr,"__esModule",{value:!0});dr.share=void 0;var eA=q(),IG=Ie(),tA=eo(),OG=w();function AG(e){e===void 0&&(e={});var t=e.connector,n=t===void 0?function(){return new IG.Subject}:t,r=e.resetOnError,i=r===void 0?!0:r,o=e.resetOnComplete,s=o===void 0?!0:o,a=e.resetOnRefCountZero,u=a===void 0?!0:a;return function(c){var l,d,p,g=0,m=!1,v=!1,y=function(){d?.unsubscribe(),d=void 0},_=function(){y(),l=p=void 0,m=v=!1},S=function(){var N=l;_(),N?.unsubscribe()};return OG.operate(function(N,P){g++,!v&&!m&&y();var L=p=p??n();P.add(function(){g--,g===0&&!v&&!m&&(d=D_(S,u))}),L.subscribe(P),!l&&g>0&&(l=new tA.SafeSubscriber({next:function(R){return L.next(R)},error:function(R){v=!0,y(),d=D_(_,i,R),L.error(R)},complete:function(){m=!0,y(),d=D_(_,s),L.complete()}}),eA.innerFrom(N).subscribe(l))})(c)}}dr.share=AG;function D_(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];if(t===!0){e();return}if(t!==!1){var i=new tA.SafeSubscriber({next:function(){i.unsubscribe(),e()}});return eA.innerFrom(t.apply(void 0,SG([],CG(n)))).subscribe(i)}}});var nA=h(sh=>{"use strict";Object.defineProperty(sh,"__esModule",{value:!0});sh.shareReplay=void 0;var TG=Rl(),xG=w_();function NG(e,t,n){var r,i,o,s,a=!1;return e&&typeof e=="object"?(r=e.bufferSize,s=r===void 0?1/0:r,i=e.windowTime,t=i===void 0?1/0:i,o=e.refCount,a=o===void 0?!1:o,n=e.scheduler):s=e??1/0,xG.share({connector:function(){return new TG.ReplaySubject(s,t,n)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:a})}sh.shareReplay=NG});var rA=h(ah=>{"use strict";Object.defineProperty(ah,"__esModule",{value:!0});ah.single=void 0;var PG=Qn(),FG=Gy(),RG=Wy(),kG=w(),jG=I();function LG(e){return kG.operate(function(t,n){var r=!1,i,o=!1,s=0;t.subscribe(jG.createOperatorSubscriber(n,function(a){o=!0,(!e||e(a,s++,t))&&(r&&n.error(new FG.SequenceError("Too many matching values")),r=!0,i=a)},function(){r?(n.next(i),n.complete()):n.error(o?new RG.NotFoundError("No matching values"):new PG.EmptyError)}))})}ah.single=LG});var iA=h(uh=>{"use strict";Object.defineProperty(uh,"__esModule",{value:!0});uh.skip=void 0;var VG=Zr();function qG(e){return VG.filter(function(t,n){return e<=n})}uh.skip=qG});var oA=h(ch=>{"use strict";Object.defineProperty(ch,"__esModule",{value:!0});ch.skipLast=void 0;var UG=Se(),$G=w(),BG=I();function HG(e){return e<=0?UG.identity:$G.operate(function(t,n){var r=new Array(e),i=0;return t.subscribe(BG.createOperatorSubscriber(n,function(o){var s=i++;if(s<e)r[s]=o;else{var a=s%e,u=r[a];r[a]=o,n.next(u)}})),function(){r=null}})}ch.skipLast=HG});var aA=h(lh=>{"use strict";Object.defineProperty(lh,"__esModule",{value:!0});lh.skipUntil=void 0;var zG=w(),sA=I(),WG=q(),GG=Ce();function ZG(e){return zG.operate(function(t,n){var r=!1,i=sA.createOperatorSubscriber(n,function(){i?.unsubscribe(),r=!0},GG.noop);WG.innerFrom(e).subscribe(i),t.subscribe(sA.createOperatorSubscriber(n,function(o){return r&&n.next(o)}))})}lh.skipUntil=ZG});var uA=h(dh=>{"use strict";Object.defineProperty(dh,"__esModule",{value:!0});dh.skipWhile=void 0;var YG=w(),QG=I();function JG(e){return YG.operate(function(t,n){var r=!1,i=0;t.subscribe(QG.createOperatorSubscriber(n,function(o){return(r||(r=!e(o,i++)))&&n.next(o)}))})}dh.skipWhile=JG});var lA=h(fh=>{"use strict";Object.defineProperty(fh,"__esModule",{value:!0});fh.startWith=void 0;var cA=Xs(),KG=Je(),XG=w();function e6(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=KG.popScheduler(e);return XG.operate(function(r,i){(n?cA.concat(e,r,n):cA.concat(e,r)).subscribe(i)})}fh.startWith=e6});var ia=h(hh=>{"use strict";Object.defineProperty(hh,"__esModule",{value:!0});hh.switchMap=void 0;var t6=q(),n6=w(),dA=I();function r6(e,t){return n6.operate(function(n,r){var i=null,o=0,s=!1,a=function(){return s&&!i&&r.complete()};n.subscribe(dA.createOperatorSubscriber(r,function(u){i?.unsubscribe();var c=0,l=o++;t6.innerFrom(e(u,l)).subscribe(i=dA.createOperatorSubscriber(r,function(d){return r.next(t?t(u,d,l,c++):d)},function(){i=null,a()}))},function(){s=!0,a()}))})}hh.switchMap=r6});var fA=h(ph=>{"use strict";Object.defineProperty(ph,"__esModule",{value:!0});ph.switchAll=void 0;var i6=ia(),o6=Se();function s6(){return i6.switchMap(o6.identity)}ph.switchAll=s6});var pA=h(gh=>{"use strict";Object.defineProperty(gh,"__esModule",{value:!0});gh.switchMapTo=void 0;var hA=ia(),a6=X();function u6(e,t){return a6.isFunction(t)?hA.switchMap(function(){return e},t):hA.switchMap(function(){return e})}gh.switchMapTo=u6});var gA=h(mh=>{"use strict";Object.defineProperty(mh,"__esModule",{value:!0});mh.switchScan=void 0;var c6=ia(),l6=w();function d6(e,t){return l6.operate(function(n,r){var i=t;return c6.switchMap(function(o,s){return e(i,o,s)},function(o,s){return i=s,s})(n).subscribe(r),function(){i=null}})}mh.switchScan=d6});var mA=h(vh=>{"use strict";Object.defineProperty(vh,"__esModule",{value:!0});vh.takeUntil=void 0;var f6=w(),h6=I(),p6=q(),g6=Ce();function m6(e){return f6.operate(function(t,n){p6.innerFrom(e).subscribe(h6.createOperatorSubscriber(n,function(){return n.complete()},g6.noop)),!n.closed&&t.subscribe(n)})}vh.takeUntil=m6});var vA=h(yh=>{"use strict";Object.defineProperty(yh,"__esModule",{value:!0});yh.takeWhile=void 0;var v6=w(),y6=I();function _6(e,t){return t===void 0&&(t=!1),v6.operate(function(n,r){var i=0;n.subscribe(y6.createOperatorSubscriber(r,function(o){var s=e(o,i++);(s||t)&&r.next(o),!s&&r.complete()}))})}yh.takeWhile=_6});var yA=h(_h=>{"use strict";Object.defineProperty(_h,"__esModule",{value:!0});_h.tap=void 0;var b6=X(),D6=w(),w6=I(),E6=Se();function M6(e,t,n){var r=b6.isFunction(e)||t||n?{next:e,error:t,complete:n}:e;return r?D6.operate(function(i,o){var s;(s=r.subscribe)===null||s===void 0||s.call(r);var a=!0;i.subscribe(w6.createOperatorSubscriber(o,function(u){var c;(c=r.next)===null||c===void 0||c.call(r,u),o.next(u)},function(){var u;a=!1,(u=r.complete)===null||u===void 0||u.call(r),o.complete()},function(u){var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,u),o.error(u)},function(){var u,c;a&&((u=r.unsubscribe)===null||u===void 0||u.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):E6.identity}_h.tap=M6});var E_=h(bh=>{"use strict";Object.defineProperty(bh,"__esModule",{value:!0});bh.throttle=void 0;var C6=w(),_A=I(),S6=q();function I6(e,t){return C6.operate(function(n,r){var i=t??{},o=i.leading,s=o===void 0?!0:o,a=i.trailing,u=a===void 0?!1:a,c=!1,l=null,d=null,p=!1,g=function(){d?.unsubscribe(),d=null,u&&(y(),p&&r.complete())},m=function(){d=null,p&&r.complete()},v=function(_){return d=S6.innerFrom(e(_)).subscribe(_A.createOperatorSubscriber(r,g,m))},y=function(){if(c){c=!1;var _=l;l=null,r.next(_),!p&&v(_)}};n.subscribe(_A.createOperatorSubscriber(r,function(_){c=!0,l=_,!(d&&!d.closed)&&(s?y():v(_))},function(){p=!0,!(u&&c&&d&&!d.closed)&&r.complete()}))})}bh.throttle=I6});var bA=h(Dh=>{"use strict";Object.defineProperty(Dh,"__esModule",{value:!0});Dh.throttleTime=void 0;var O6=Qe(),A6=E_(),T6=tr();function x6(e,t,n){t===void 0&&(t=O6.asyncScheduler);var r=T6.timer(e,t);return A6.throttle(function(){return r},n)}Dh.throttleTime=x6});var wA=h(Po=>{"use strict";Object.defineProperty(Po,"__esModule",{value:!0});Po.TimeInterval=Po.timeInterval=void 0;var N6=Qe(),P6=w(),F6=I();function R6(e){return e===void 0&&(e=N6.asyncScheduler),P6.operate(function(t,n){var r=e.now();t.subscribe(F6.createOperatorSubscriber(n,function(i){var o=e.now(),s=o-r;r=o,n.next(new DA(i,s))}))})}Po.timeInterval=R6;var DA=function(){function e(t,n){this.value=t,this.interval=n}return e}();Po.TimeInterval=DA});var EA=h(wh=>{"use strict";Object.defineProperty(wh,"__esModule",{value:!0});wh.timeoutWith=void 0;var k6=Qe(),j6=vd(),L6=yd();function V6(e,t,n){var r,i,o;if(n=n??k6.async,j6.isValidDate(e)?r=e:typeof e=="number"&&(i=e),t)o=function(){return t};else throw new TypeError("No observable provided to switch to");if(r==null&&i==null)throw new TypeError("No timeout provided.");return L6.timeout({first:r,each:i,scheduler:n,with:o})}wh.timeoutWith=V6});var MA=h(Eh=>{"use strict";Object.defineProperty(Eh,"__esModule",{value:!0});Eh.timestamp=void 0;var q6=Fl(),U6=Jn();function $6(e){return e===void 0&&(e=q6.dateTimestampProvider),U6.map(function(t){return{value:t,timestamp:e.now()}})}Eh.timestamp=$6});var IA=h(Mh=>{"use strict";Object.defineProperty(Mh,"__esModule",{value:!0});Mh.window=void 0;var CA=Ie(),B6=w(),SA=I(),H6=Ce(),z6=q();function W6(e){return B6.operate(function(t,n){var r=new CA.Subject;n.next(r.asObservable());var i=function(o){r.error(o),n.error(o)};return t.subscribe(SA.createOperatorSubscriber(n,function(o){return r?.next(o)},function(){r.complete(),n.complete()},i)),z6.innerFrom(e).subscribe(SA.createOperatorSubscriber(n,function(){r.complete(),n.next(r=new CA.Subject)},H6.noop,i)),function(){r?.unsubscribe(),r=null}})}Mh.window=W6});var AA=h(Fo=>{"use strict";var G6=Fo&&Fo.__values||function(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Fo,"__esModule",{value:!0});Fo.windowCount=void 0;var OA=Ie(),Z6=w(),Y6=I();function Q6(e,t){t===void 0&&(t=0);var n=t>0?t:e;return Z6.operate(function(r,i){var o=[new OA.Subject],s=[],a=0;i.next(o[0].asObservable()),r.subscribe(Y6.createOperatorSubscriber(i,function(u){var c,l;try{for(var d=G6(o),p=d.next();!p.done;p=d.next()){var g=p.value;g.next(u)}}catch(y){c={error:y}}finally{try{p&&!p.done&&(l=d.return)&&l.call(d)}finally{if(c)throw c.error}}var m=a-e+1;if(m>=0&&m%n===0&&o.shift().complete(),++a%n===0){var v=new OA.Subject;o.push(v),i.next(v.asObservable())}},function(){for(;o.length>0;)o.shift().complete();i.complete()},function(u){for(;o.length>0;)o.shift().error(u);i.error(u)},function(){s=null,o=null}))})}Fo.windowCount=Q6});var xA=h(Ch=>{"use strict";Object.defineProperty(Ch,"__esModule",{value:!0});Ch.windowTime=void 0;var J6=Ie(),K6=Qe(),X6=nt(),e5=w(),t5=I(),n5=pn(),r5=Je(),TA=gn();function i5(e){for(var t,n,r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];var o=(t=r5.popScheduler(r))!==null&&t!==void 0?t:K6.asyncScheduler,s=(n=r[0])!==null&&n!==void 0?n:null,a=r[1]||1/0;return e5.operate(function(u,c){var l=[],d=!1,p=function(y){var _=y.window,S=y.subs;_.complete(),S.unsubscribe(),n5.arrRemove(l,y),d&&g()},g=function(){if(l){var y=new X6.Subscription;c.add(y);var _=new J6.Subject,S={window:_,subs:y,seen:0};l.push(S),c.next(_.asObservable()),TA.executeSchedule(y,o,function(){return p(S)},e)}};s!==null&&s>=0?TA.executeSchedule(c,o,g,s,!0):d=!0,g();var m=function(y){return l.slice().forEach(y)},v=function(y){m(function(_){var S=_.window;return y(S)}),y(c),c.unsubscribe()};return u.subscribe(t5.createOperatorSubscriber(c,function(y){m(function(_){_.window.next(y),a<=++_.seen&&p(_)})},function(){return v(function(y){return y.complete()})},function(y){return v(function(_){return _.error(y)})})),function(){l=null}})}Ch.windowTime=i5});var FA=h(Ro=>{"use strict";var o5=Ro&&Ro.__values||function(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Ro,"__esModule",{value:!0});Ro.windowToggle=void 0;var s5=Ie(),a5=nt(),u5=w(),NA=q(),M_=I(),PA=Ce(),c5=pn();function l5(e,t){return u5.operate(function(n,r){var i=[],o=function(s){for(;0<i.length;)i.shift().error(s);r.error(s)};NA.innerFrom(e).subscribe(M_.createOperatorSubscriber(r,function(s){var a=new s5.Subject;i.push(a);var u=new a5.Subscription,c=function(){c5.arrRemove(i,a),a.complete(),u.unsubscribe()},l;try{l=NA.innerFrom(t(s))}catch(d){o(d);return}r.next(a.asObservable()),u.add(l.subscribe(M_.createOperatorSubscriber(r,c,PA.noop,o)))},PA.noop)),n.subscribe(M_.createOperatorSubscriber(r,function(s){var a,u,c=i.slice();try{for(var l=o5(c),d=l.next();!d.done;d=l.next()){var p=d.value;p.next(s)}}catch(g){a={error:g}}finally{try{d&&!d.done&&(u=l.return)&&u.call(l)}finally{if(a)throw a.error}}},function(){for(;0<i.length;)i.shift().complete();r.complete()},o,function(){for(;0<i.length;)i.shift().unsubscribe()}))})}Ro.windowToggle=l5});var kA=h(Sh=>{"use strict";Object.defineProperty(Sh,"__esModule",{value:!0});Sh.windowWhen=void 0;var d5=Ie(),f5=w(),RA=I(),h5=q();function p5(e){return f5.operate(function(t,n){var r,i,o=function(a){r.error(a),n.error(a)},s=function(){i?.unsubscribe(),r?.complete(),r=new d5.Subject,n.next(r.asObservable());var a;try{a=h5.innerFrom(e())}catch(u){o(u);return}a.subscribe(i=RA.createOperatorSubscriber(n,s,s,o))};s(),t.subscribe(RA.createOperatorSubscriber(n,function(a){return r.next(a)},function(){r.complete(),n.complete()},o,function(){i?.unsubscribe(),r=null}))})}Sh.windowWhen=p5});var qA=h(fr=>{"use strict";var jA=fr&&fr.__read||function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},LA=fr&&fr.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(fr,"__esModule",{value:!0});fr.withLatestFrom=void 0;var g5=w(),VA=I(),m5=q(),v5=Se(),y5=Ce(),_5=Je();function b5(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=_5.popResultSelector(e);return g5.operate(function(r,i){for(var o=e.length,s=new Array(o),a=e.map(function(){return!1}),u=!1,c=function(d){m5.innerFrom(e[d]).subscribe(VA.createOperatorSubscriber(i,function(p){s[d]=p,!u&&!a[d]&&(a[d]=!0,(u=a.every(v5.identity))&&(a=null))},y5.noop))},l=0;l<o;l++)c(l);r.subscribe(VA.createOperatorSubscriber(i,function(d){if(u){var p=LA([d],jA(s));i.next(n?n.apply(void 0,LA([],jA(p))):p)}}))})}fr.withLatestFrom=b5});var UA=h(Ih=>{"use strict";Object.defineProperty(Ih,"__esModule",{value:!0});Ih.zipAll=void 0;var D5=Zd(),w5=u_();function E5(e){return w5.joinAllInternals(D5.zip,e)}Ih.zipAll=E5});var $A=h(hr=>{"use strict";var M5=hr&&hr.__read||function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},C5=hr&&hr.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(hr,"__esModule",{value:!0});hr.zip=void 0;var S5=Zd(),I5=w();function O5(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return I5.operate(function(n,r){S5.zip.apply(void 0,C5([n],M5(e))).subscribe(r)})}hr.zip=O5});var BA=h(pr=>{"use strict";var A5=pr&&pr.__read||function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},T5=pr&&pr.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(pr,"__esModule",{value:!0});pr.zipWith=void 0;var x5=$A();function N5(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return x5.zip.apply(void 0,T5([],A5(e)))}pr.zipWith=N5});var QA=h(f=>{"use strict";var P5=f&&f.__createBinding||(Object.create?function(e,t,n,r){r===void 0&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]}),F5=f&&f.__exportStar||function(e,t){for(var n in e)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&P5(t,e,n)};Object.defineProperty(f,"__esModule",{value:!0});f.interval=f.iif=f.generate=f.fromEventPattern=f.fromEvent=f.from=f.forkJoin=f.empty=f.defer=f.connectable=f.concat=f.combineLatest=f.bindNodeCallback=f.bindCallback=f.UnsubscriptionError=f.TimeoutError=f.SequenceError=f.ObjectUnsubscribedError=f.NotFoundError=f.EmptyError=f.ArgumentOutOfRangeError=f.firstValueFrom=f.lastValueFrom=f.isObservable=f.identity=f.noop=f.pipe=f.NotificationKind=f.Notification=f.Subscriber=f.Subscription=f.Scheduler=f.VirtualAction=f.VirtualTimeScheduler=f.animationFrameScheduler=f.animationFrame=f.queueScheduler=f.queue=f.asyncScheduler=f.async=f.asapScheduler=f.asap=f.AsyncSubject=f.ReplaySubject=f.BehaviorSubject=f.Subject=f.animationFrames=f.observable=f.ConnectableObservable=f.Observable=void 0;f.filter=f.expand=f.exhaustMap=f.exhaustAll=f.exhaust=f.every=f.endWith=f.elementAt=f.distinctUntilKeyChanged=f.distinctUntilChanged=f.distinct=f.dematerialize=f.delayWhen=f.delay=f.defaultIfEmpty=f.debounceTime=f.debounce=f.count=f.connect=f.concatWith=f.concatMapTo=f.concatMap=f.concatAll=f.combineLatestWith=f.combineLatestAll=f.combineAll=f.catchError=f.bufferWhen=f.bufferToggle=f.bufferTime=f.bufferCount=f.buffer=f.auditTime=f.audit=f.config=f.NEVER=f.EMPTY=f.scheduled=f.zip=f.using=f.timer=f.throwError=f.range=f.race=f.partition=f.pairs=f.onErrorResumeNext=f.of=f.never=f.merge=void 0;f.switchMap=f.switchAll=f.subscribeOn=f.startWith=f.skipWhile=f.skipUntil=f.skipLast=f.skip=f.single=f.shareReplay=f.share=f.sequenceEqual=f.scan=f.sampleTime=f.sample=f.refCount=f.retryWhen=f.retry=f.repeatWhen=f.repeat=f.reduce=f.raceWith=f.publishReplay=f.publishLast=f.publishBehavior=f.publish=f.pluck=f.pairwise=f.onErrorResumeNextWith=f.observeOn=f.multicast=f.min=f.mergeWith=f.mergeScan=f.mergeMapTo=f.mergeMap=f.flatMap=f.mergeAll=f.max=f.materialize=f.mapTo=f.map=f.last=f.isEmpty=f.ignoreElements=f.groupBy=f.first=f.findIndex=f.find=f.finalize=void 0;f.zipWith=f.zipAll=f.withLatestFrom=f.windowWhen=f.windowToggle=f.windowTime=f.windowCount=f.window=f.toArray=f.timestamp=f.timeoutWith=f.timeout=f.timeInterval=f.throwIfEmpty=f.throttleTime=f.throttle=f.tap=f.takeWhile=f.takeUntil=f.takeLast=f.take=f.switchScan=f.switchMapTo=void 0;var R5=te();Object.defineProperty(f,"Observable",{enumerable:!0,get:function(){return R5.Observable}});var k5=Ws();Object.defineProperty(f,"ConnectableObservable",{enumerable:!0,get:function(){return k5.ConnectableObservable}});var j5=Hs();Object.defineProperty(f,"observable",{enumerable:!0,get:function(){return j5.observable}});var L5=ZC();Object.defineProperty(f,"animationFrames",{enumerable:!0,get:function(){return L5.animationFrames}});var V5=Ie();Object.defineProperty(f,"Subject",{enumerable:!0,get:function(){return V5.Subject}});var q5=Oy();Object.defineProperty(f,"BehaviorSubject",{enumerable:!0,get:function(){return q5.BehaviorSubject}});var U5=Rl();Object.defineProperty(f,"ReplaySubject",{enumerable:!0,get:function(){return U5.ReplaySubject}});var $5=kl();Object.defineProperty(f,"AsyncSubject",{enumerable:!0,get:function(){return $5.AsyncSubject}});var HA=dS();Object.defineProperty(f,"asap",{enumerable:!0,get:function(){return HA.asap}});Object.defineProperty(f,"asapScheduler",{enumerable:!0,get:function(){return HA.asapScheduler}});var zA=Qe();Object.defineProperty(f,"async",{enumerable:!0,get:function(){return zA.async}});Object.defineProperty(f,"asyncScheduler",{enumerable:!0,get:function(){return zA.asyncScheduler}});var WA=pS();Object.defineProperty(f,"queue",{enumerable:!0,get:function(){return WA.queue}});Object.defineProperty(f,"queueScheduler",{enumerable:!0,get:function(){return WA.queueScheduler}});var GA=yS();Object.defineProperty(f,"animationFrame",{enumerable:!0,get:function(){return GA.animationFrame}});Object.defineProperty(f,"animationFrameScheduler",{enumerable:!0,get:function(){return GA.animationFrameScheduler}});var ZA=DS();Object.defineProperty(f,"VirtualTimeScheduler",{enumerable:!0,get:function(){return ZA.VirtualTimeScheduler}});Object.defineProperty(f,"VirtualAction",{enumerable:!0,get:function(){return ZA.VirtualAction}});var B5=Ty();Object.defineProperty(f,"Scheduler",{enumerable:!0,get:function(){return B5.Scheduler}});var H5=nt();Object.defineProperty(f,"Subscription",{enumerable:!0,get:function(){return H5.Subscription}});var z5=eo();Object.defineProperty(f,"Subscriber",{enumerable:!0,get:function(){return z5.Subscriber}});var YA=ud();Object.defineProperty(f,"Notification",{enumerable:!0,get:function(){return YA.Notification}});Object.defineProperty(f,"NotificationKind",{enumerable:!0,get:function(){return YA.NotificationKind}});var W5=zs();Object.defineProperty(f,"pipe",{enumerable:!0,get:function(){return W5.pipe}});var G5=Ce();Object.defineProperty(f,"noop",{enumerable:!0,get:function(){return G5.noop}});var Z5=Se();Object.defineProperty(f,"identity",{enumerable:!0,get:function(){return Z5.identity}});var Y5=LS();Object.defineProperty(f,"isObservable",{enumerable:!0,get:function(){return Y5.isObservable}});var Q5=VS();Object.defineProperty(f,"lastValueFrom",{enumerable:!0,get:function(){return Q5.lastValueFrom}});var J5=qS();Object.defineProperty(f,"firstValueFrom",{enumerable:!0,get:function(){return J5.firstValueFrom}});var K5=zy();Object.defineProperty(f,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return K5.ArgumentOutOfRangeError}});var X5=Qn();Object.defineProperty(f,"EmptyError",{enumerable:!0,get:function(){return X5.EmptyError}});var e9=Wy();Object.defineProperty(f,"NotFoundError",{enumerable:!0,get:function(){return e9.NotFoundError}});var t9=My();Object.defineProperty(f,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return t9.ObjectUnsubscribedError}});var n9=Gy();Object.defineProperty(f,"SequenceError",{enumerable:!0,get:function(){return n9.SequenceError}});var r9=yd();Object.defineProperty(f,"TimeoutError",{enumerable:!0,get:function(){return r9.TimeoutError}});var i9=dy();Object.defineProperty(f,"UnsubscriptionError",{enumerable:!0,get:function(){return i9.UnsubscriptionError}});var o9=$S();Object.defineProperty(f,"bindCallback",{enumerable:!0,get:function(){return o9.bindCallback}});var s9=BS();Object.defineProperty(f,"bindNodeCallback",{enumerable:!0,get:function(){return s9.bindNodeCallback}});var a9=Md();Object.defineProperty(f,"combineLatest",{enumerable:!0,get:function(){return a9.combineLatest}});var u9=Xs();Object.defineProperty(f,"concat",{enumerable:!0,get:function(){return u9.concat}});var c9=JS();Object.defineProperty(f,"connectable",{enumerable:!0,get:function(){return c9.connectable}});var l9=ea();Object.defineProperty(f,"defer",{enumerable:!0,get:function(){return l9.defer}});var d9=At();Object.defineProperty(f,"empty",{enumerable:!0,get:function(){return d9.empty}});var f9=KS();Object.defineProperty(f,"forkJoin",{enumerable:!0,get:function(){return f9.forkJoin}});var h9=mn();Object.defineProperty(f,"from",{enumerable:!0,get:function(){return h9.from}});var p9=eI();Object.defineProperty(f,"fromEvent",{enumerable:!0,get:function(){return p9.fromEvent}});var g9=nI();Object.defineProperty(f,"fromEventPattern",{enumerable:!0,get:function(){return g9.fromEventPattern}});var m9=iI();Object.defineProperty(f,"generate",{enumerable:!0,get:function(){return m9.generate}});var v9=oI();Object.defineProperty(f,"iif",{enumerable:!0,get:function(){return v9.iif}});var y9=Xy();Object.defineProperty(f,"interval",{enumerable:!0,get:function(){return y9.interval}});var _9=aI();Object.defineProperty(f,"merge",{enumerable:!0,get:function(){return _9.merge}});var b9=e_();Object.defineProperty(f,"never",{enumerable:!0,get:function(){return b9.never}});var D9=sd();Object.defineProperty(f,"of",{enumerable:!0,get:function(){return D9.of}});var w9=t_();Object.defineProperty(f,"onErrorResumeNext",{enumerable:!0,get:function(){return w9.onErrorResumeNext}});var E9=cI();Object.defineProperty(f,"pairs",{enumerable:!0,get:function(){return E9.pairs}});var M9=hI();Object.defineProperty(f,"partition",{enumerable:!0,get:function(){return M9.partition}});var C9=n_();Object.defineProperty(f,"race",{enumerable:!0,get:function(){return C9.race}});var S9=mI();Object.defineProperty(f,"range",{enumerable:!0,get:function(){return S9.range}});var I9=Hy();Object.defineProperty(f,"throwError",{enumerable:!0,get:function(){return I9.throwError}});var O9=tr();Object.defineProperty(f,"timer",{enumerable:!0,get:function(){return O9.timer}});var A9=vI();Object.defineProperty(f,"using",{enumerable:!0,get:function(){return A9.using}});var T9=Zd();Object.defineProperty(f,"zip",{enumerable:!0,get:function(){return T9.zip}});var x9=By();Object.defineProperty(f,"scheduled",{enumerable:!0,get:function(){return x9.scheduled}});var N9=At();Object.defineProperty(f,"EMPTY",{enumerable:!0,get:function(){return N9.EMPTY}});var P9=e_();Object.defineProperty(f,"NEVER",{enumerable:!0,get:function(){return P9.NEVER}});F5(_I(),f);var F9=Ki();Object.defineProperty(f,"config",{enumerable:!0,get:function(){return F9.config}});var R9=r_();Object.defineProperty(f,"audit",{enumerable:!0,get:function(){return R9.audit}});var k9=DI();Object.defineProperty(f,"auditTime",{enumerable:!0,get:function(){return k9.auditTime}});var j9=EI();Object.defineProperty(f,"buffer",{enumerable:!0,get:function(){return j9.buffer}});var L9=MI();Object.defineProperty(f,"bufferCount",{enumerable:!0,get:function(){return L9.bufferCount}});var V9=SI();Object.defineProperty(f,"bufferTime",{enumerable:!0,get:function(){return V9.bufferTime}});var q9=AI();Object.defineProperty(f,"bufferToggle",{enumerable:!0,get:function(){return q9.bufferToggle}});var U9=xI();Object.defineProperty(f,"bufferWhen",{enumerable:!0,get:function(){return U9.bufferWhen}});var $9=PI();Object.defineProperty(f,"catchError",{enumerable:!0,get:function(){return $9.catchError}});var B9=FI();Object.defineProperty(f,"combineAll",{enumerable:!0,get:function(){return B9.combineAll}});var H9=c_();Object.defineProperty(f,"combineLatestAll",{enumerable:!0,get:function(){return H9.combineLatestAll}});var z9=VI();Object.defineProperty(f,"combineLatestWith",{enumerable:!0,get:function(){return z9.combineLatestWith}});var W9=Td();Object.defineProperty(f,"concatAll",{enumerable:!0,get:function(){return W9.concatAll}});var G9=l_();Object.defineProperty(f,"concatMap",{enumerable:!0,get:function(){return G9.concatMap}});var Z9=$I();Object.defineProperty(f,"concatMapTo",{enumerable:!0,get:function(){return Z9.concatMapTo}});var Y9=HI();Object.defineProperty(f,"concatWith",{enumerable:!0,get:function(){return Y9.concatWith}});var Q9=df();Object.defineProperty(f,"connect",{enumerable:!0,get:function(){return Q9.connect}});var J9=WI();Object.defineProperty(f,"count",{enumerable:!0,get:function(){return J9.count}});var K9=ZI();Object.defineProperty(f,"debounce",{enumerable:!0,get:function(){return K9.debounce}});var X9=YI();Object.defineProperty(f,"debounceTime",{enumerable:!0,get:function(){return X9.debounceTime}});var e7=ta();Object.defineProperty(f,"defaultIfEmpty",{enumerable:!0,get:function(){return e7.defaultIfEmpty}});var t7=KI();Object.defineProperty(f,"delay",{enumerable:!0,get:function(){return t7.delay}});var n7=h_();Object.defineProperty(f,"delayWhen",{enumerable:!0,get:function(){return n7.delayWhen}});var r7=XI();Object.defineProperty(f,"dematerialize",{enumerable:!0,get:function(){return r7.dematerialize}});var i7=tO();Object.defineProperty(f,"distinct",{enumerable:!0,get:function(){return i7.distinct}});var o7=p_();Object.defineProperty(f,"distinctUntilChanged",{enumerable:!0,get:function(){return o7.distinctUntilChanged}});var s7=nO();Object.defineProperty(f,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return s7.distinctUntilKeyChanged}});var a7=iO();Object.defineProperty(f,"elementAt",{enumerable:!0,get:function(){return a7.elementAt}});var u7=oO();Object.defineProperty(f,"endWith",{enumerable:!0,get:function(){return u7.endWith}});var c7=sO();Object.defineProperty(f,"every",{enumerable:!0,get:function(){return c7.every}});var l7=lO();Object.defineProperty(f,"exhaust",{enumerable:!0,get:function(){return l7.exhaust}});var d7=m_();Object.defineProperty(f,"exhaustAll",{enumerable:!0,get:function(){return d7.exhaustAll}});var f7=g_();Object.defineProperty(f,"exhaustMap",{enumerable:!0,get:function(){return f7.exhaustMap}});var h7=dO();Object.defineProperty(f,"expand",{enumerable:!0,get:function(){return h7.expand}});var p7=Zr();Object.defineProperty(f,"filter",{enumerable:!0,get:function(){return p7.filter}});var g7=fO();Object.defineProperty(f,"finalize",{enumerable:!0,get:function(){return g7.finalize}});var m7=v_();Object.defineProperty(f,"find",{enumerable:!0,get:function(){return m7.find}});var v7=pO();Object.defineProperty(f,"findIndex",{enumerable:!0,get:function(){return v7.findIndex}});var y7=gO();Object.defineProperty(f,"first",{enumerable:!0,get:function(){return y7.first}});var _7=vO();Object.defineProperty(f,"groupBy",{enumerable:!0,get:function(){return _7.groupBy}});var b7=d_();Object.defineProperty(f,"ignoreElements",{enumerable:!0,get:function(){return b7.ignoreElements}});var D7=yO();Object.defineProperty(f,"isEmpty",{enumerable:!0,get:function(){return D7.isEmpty}});var w7=_O();Object.defineProperty(f,"last",{enumerable:!0,get:function(){return w7.last}});var E7=Jn();Object.defineProperty(f,"map",{enumerable:!0,get:function(){return E7.map}});var M7=f_();Object.defineProperty(f,"mapTo",{enumerable:!0,get:function(){return M7.mapTo}});var C7=bO();Object.defineProperty(f,"materialize",{enumerable:!0,get:function(){return C7.materialize}});var S7=DO();Object.defineProperty(f,"max",{enumerable:!0,get:function(){return S7.max}});var I7=Ks();Object.defineProperty(f,"mergeAll",{enumerable:!0,get:function(){return I7.mergeAll}});var O7=wO();Object.defineProperty(f,"flatMap",{enumerable:!0,get:function(){return O7.flatMap}});var A7=yn();Object.defineProperty(f,"mergeMap",{enumerable:!0,get:function(){return A7.mergeMap}});var T7=MO();Object.defineProperty(f,"mergeMapTo",{enumerable:!0,get:function(){return T7.mergeMapTo}});var x7=CO();Object.defineProperty(f,"mergeScan",{enumerable:!0,get:function(){return x7.mergeScan}});var N7=OO();Object.defineProperty(f,"mergeWith",{enumerable:!0,get:function(){return N7.mergeWith}});var P7=AO();Object.defineProperty(f,"min",{enumerable:!0,get:function(){return P7.min}});var F7=zf();Object.defineProperty(f,"multicast",{enumerable:!0,get:function(){return F7.multicast}});var R7=Qs();Object.defineProperty(f,"observeOn",{enumerable:!0,get:function(){return R7.observeOn}});var k7=NO();Object.defineProperty(f,"onErrorResumeNextWith",{enumerable:!0,get:function(){return k7.onErrorResumeNextWith}});var j7=PO();Object.defineProperty(f,"pairwise",{enumerable:!0,get:function(){return j7.pairwise}});var L7=FO();Object.defineProperty(f,"pluck",{enumerable:!0,get:function(){return L7.pluck}});var V7=RO();Object.defineProperty(f,"publish",{enumerable:!0,get:function(){return V7.publish}});var q7=kO();Object.defineProperty(f,"publishBehavior",{enumerable:!0,get:function(){return q7.publishBehavior}});var U7=jO();Object.defineProperty(f,"publishLast",{enumerable:!0,get:function(){return U7.publishLast}});var $7=VO();Object.defineProperty(f,"publishReplay",{enumerable:!0,get:function(){return $7.publishReplay}});var B7=qO();Object.defineProperty(f,"raceWith",{enumerable:!0,get:function(){return B7.raceWith}});var H7=To();Object.defineProperty(f,"reduce",{enumerable:!0,get:function(){return H7.reduce}});var z7=$O();Object.defineProperty(f,"repeat",{enumerable:!0,get:function(){return z7.repeat}});var W7=HO();Object.defineProperty(f,"repeatWhen",{enumerable:!0,get:function(){return W7.repeatWhen}});var G7=WO();Object.defineProperty(f,"retry",{enumerable:!0,get:function(){return G7.retry}});var Z7=ZO();Object.defineProperty(f,"retryWhen",{enumerable:!0,get:function(){return Z7.retryWhen}});var Y7=wy();Object.defineProperty(f,"refCount",{enumerable:!0,get:function(){return Y7.refCount}});var Q7=b_();Object.defineProperty(f,"sample",{enumerable:!0,get:function(){return Q7.sample}});var J7=QO();Object.defineProperty(f,"sampleTime",{enumerable:!0,get:function(){return J7.sampleTime}});var K7=JO();Object.defineProperty(f,"scan",{enumerable:!0,get:function(){return K7.scan}});var X7=XO();Object.defineProperty(f,"sequenceEqual",{enumerable:!0,get:function(){return X7.sequenceEqual}});var eZ=w_();Object.defineProperty(f,"share",{enumerable:!0,get:function(){return eZ.share}});var tZ=nA();Object.defineProperty(f,"shareReplay",{enumerable:!0,get:function(){return tZ.shareReplay}});var nZ=rA();Object.defineProperty(f,"single",{enumerable:!0,get:function(){return nZ.single}});var rZ=iA();Object.defineProperty(f,"skip",{enumerable:!0,get:function(){return rZ.skip}});var iZ=oA();Object.defineProperty(f,"skipLast",{enumerable:!0,get:function(){return iZ.skipLast}});var oZ=aA();Object.defineProperty(f,"skipUntil",{enumerable:!0,get:function(){return oZ.skipUntil}});var sZ=uA();Object.defineProperty(f,"skipWhile",{enumerable:!0,get:function(){return sZ.skipWhile}});var aZ=lA();Object.defineProperty(f,"startWith",{enumerable:!0,get:function(){return aZ.startWith}});var uZ=Js();Object.defineProperty(f,"subscribeOn",{enumerable:!0,get:function(){return uZ.subscribeOn}});var cZ=fA();Object.defineProperty(f,"switchAll",{enumerable:!0,get:function(){return cZ.switchAll}});var lZ=ia();Object.defineProperty(f,"switchMap",{enumerable:!0,get:function(){return lZ.switchMap}});var dZ=pA();Object.defineProperty(f,"switchMapTo",{enumerable:!0,get:function(){return dZ.switchMapTo}});var fZ=gA();Object.defineProperty(f,"switchScan",{enumerable:!0,get:function(){return fZ.switchScan}});var hZ=na();Object.defineProperty(f,"take",{enumerable:!0,get:function(){return hZ.take}});var pZ=y_();Object.defineProperty(f,"takeLast",{enumerable:!0,get:function(){return pZ.takeLast}});var gZ=mA();Object.defineProperty(f,"takeUntil",{enumerable:!0,get:function(){return gZ.takeUntil}});var mZ=vA();Object.defineProperty(f,"takeWhile",{enumerable:!0,get:function(){return mZ.takeWhile}});var vZ=yA();Object.defineProperty(f,"tap",{enumerable:!0,get:function(){return vZ.tap}});var yZ=E_();Object.defineProperty(f,"throttle",{enumerable:!0,get:function(){return yZ.throttle}});var _Z=bA();Object.defineProperty(f,"throttleTime",{enumerable:!0,get:function(){return _Z.throttleTime}});var bZ=ra();Object.defineProperty(f,"throwIfEmpty",{enumerable:!0,get:function(){return bZ.throwIfEmpty}});var DZ=wA();Object.defineProperty(f,"timeInterval",{enumerable:!0,get:function(){return DZ.timeInterval}});var wZ=yd();Object.defineProperty(f,"timeout",{enumerable:!0,get:function(){return wZ.timeout}});var EZ=EA();Object.defineProperty(f,"timeoutWith",{enumerable:!0,get:function(){return EZ.timeoutWith}});var MZ=MA();Object.defineProperty(f,"timestamp",{enumerable:!0,get:function(){return MZ.timestamp}});var CZ=a_();Object.defineProperty(f,"toArray",{enumerable:!0,get:function(){return CZ.toArray}});var SZ=IA();Object.defineProperty(f,"window",{enumerable:!0,get:function(){return SZ.window}});var IZ=AA();Object.defineProperty(f,"windowCount",{enumerable:!0,get:function(){return IZ.windowCount}});var OZ=xA();Object.defineProperty(f,"windowTime",{enumerable:!0,get:function(){return OZ.windowTime}});var AZ=FA();Object.defineProperty(f,"windowToggle",{enumerable:!0,get:function(){return AZ.windowToggle}});var TZ=kA();Object.defineProperty(f,"windowWhen",{enumerable:!0,get:function(){return TZ.windowWhen}});var xZ=qA();Object.defineProperty(f,"withLatestFrom",{enumerable:!0,get:function(){return xZ.withLatestFrom}});var NZ=UA();Object.defineProperty(f,"zipAll",{enumerable:!0,get:function(){return NZ.zipAll}});var PZ=BA();Object.defineProperty(f,"zipWith",{enumerable:!0,get:function(){return PZ.zipWith}})});var KA=h(Ah=>{"use strict";Object.defineProperty(Ah,"__esModule",{value:!0});Ah.DyFM_Poll=void 0;var FZ=QA(),Oh=ml(),JA=As(),RZ=av(),C_=class{name;poll;running;pollDo;pollWhile;pollEnd;pollDoError;args;pollDelay=0;pollPeriod=3*JA.second;stopOnFail=!1;delayFirst=!1;constructor(t){try{Object.assign(this,t),t.pollPeriod===0&&(console.error("DYNAMO ERROR: creating polls with 0ms period is not supported! (it will reset to 1000ms (1s))"),this.pollPeriod=1*JA.second),this.pollPeriod<300&&console.warn("DYNAMO WARNING: creating polls with less than 300ms period is not recommended!"),this.name=t.name??"Unnamed DyFM_Poll",this.stopOnFail=t.stopOnFail,this.startPoll(this.args)}catch{throw new Oh.DyFM_Error({message:"DyFM_Poll construcion failed."})}}startPoll(...t){return we(this,null,function*(){try{this.delayFirst&&(yield RZ.DyFM_Async.wait(this.pollDelay)),this.poll=(0,FZ.timer)(this.pollDelay,this.pollPeriod).subscribe(()=>we(this,null,function*(){yield this.pollDo(...t).then(n=>{this.pollWhile(n)||this.end(n)}).catch(n=>{if(this.stopOnFail&&this.stop(),this.pollDoError)this.pollDoError(n);else throw new Oh.DyFM_Error({message:`DYNAMO ERROR:
|
|
208
|
-
DynamoPoll: "${this.name}" pollDo was UNSUCCESSFUL`,error:n})})})),this.running=!0}catch(n){throw new Oh.DyFM_Error({message:`DYNAMO ERROR:
|
|
209
|
-
DynamoPoll: startPoll was UNSUCCESSFUL`,error:n})}})}restartPoll(t){try{t?this.startPoll(t):this.startPoll(this.args)}catch(n){throw new Oh.DyFM_Error({message:`DYNAMO ERROR:
|
|
210
|
-
DynamoPoll: restartPoll was UNSUCCESSFUL`,error:n})}}stop(){this.poll.unsubscribe(),this.running=!1}end(t){this.poll.unsubscribe(),this.pollEnd?.(t),this.running=!1}};Ah.DyFM_Poll=C_});var XA=h(Th=>{"use strict";Object.defineProperty(Th,"__esModule",{value:!0});Th.DyFM_RangeValue=void 0;var S_=class e{isRange=!0;from;to;constructor(t,n){if(t?.isRange){this.from=t.from,this.to=t.to;return}else this.from=t,this.to=n??t}constructed(){return!0}newValues(t){this.from=t.from,this.to=t.to}addRange(t){this.from+=t.from,this.to+=t.to}subtractRange(t){this.from-=t.from,this.to-=t.to}multiplyRange(t){this.from*=t.from,this.to*=t.to}divideRange(t){this.from/=t.from,this.to/=t.to}add(t){this.from+=t,this.to+=t}subtract(t){this.from-=t,this.to-=t}multiply(t){this.from*=t,this.to*=t}divide(t){this.from/=t,this.to/=t}clone(){return new e(this.from,this.to)}applyTransform(t){return new e(t(this.from),t(this.to))}toString=this.stringify;stringify(t=!0,n=!0){return n&&this.from===this.to?`${this.from}`:t?`${this.from} - ${this.to}`:`${this.from}-${this.to}`}static reType(t){return new e(t.from,t.to)}static addRange(t,n){return new e(t.from+n.from,t.to+n.to)}static subtractRange(t,n){return new e(t.from-n.from,t.to-n.to)}static multiplyRange(t,n){return new e(t.from*n.from,t.to*n.to)}static divideRange(t,n){return new e(t.from/n.from,t.to/n.to)}static add(t,n){return new e(t.from+n,t.to+n)}static subtract(t,n){return new e(t.from-n,t.to-n)}static multiply(t,n){return new e(t.from*n,t.to*n)}static divide(t,n){return new e(t.from/n,t.to/n)}static isInRange(t,n){return n.from<=t&&t<=n.to}};Th.DyFM_RangeValue=S_});var eT=h(ko=>{"use strict";Object.defineProperty(ko,"__esModule",{value:!0});ko.DyFM_serverStatus_dataParams=ko.DyFM_ServerStatus=void 0;var kZ=tT(),jZ=Gi(),I_=class extends jZ.DyFM_Metadata{status;systemName;systemShortCode;clientVersionOk;latestClientVersion;latestClientVersionNumeric;serverVersion;serverNumericVersion;uptime;serverMessage;memoryUsage;cpuUsage;serverConnections;constructor(t){super(t),t&&Object.assign(this,t)}};ko.DyFM_ServerStatus=I_;ko.DyFM_serverStatus_dataParams=new kZ.DyFM_DataModel_Params({dataName:"server_status",properties:{status:{type:"string"},systemName:{type:"string"},systemShortCode:{type:"string"},clientVersionOk:{type:"boolean"},latestClientVersion:{type:"string"},latestClientVersionNumeric:{type:"number"},serverVersion:{type:"string"},serverNumericVersion:{type:"number"},uptime:{type:"number"},serverMessage:{type:"string"},memoryUsage:{type:"object"},cpuUsage:{type:"object"},serverConnections:{type:"object"}}})});var rT=h(gr=>{"use strict";Object.defineProperty(gr,"__esModule",{value:!0});gr.DyFM_API_Input_Type=gr.DyFM_ServerRoute_SettingsBase=gr.DyFM_Endpoint_SettingsBase=void 0;var LZ=Bi(),xh=class{name;type;endpoint;pathParamKeys=[];constructor(t){if(!t.endpoint)throw new Error(`endpoint not setted up for this endpoint (${t.name??(0,LZ.DyFM_getConstructionStackLocation)()})`);t.endpoint.includes("{")&&(console.warn(`using {param} brackets in endpoint definitions will be deprecated...
|
|
211
|
-
use :param instead ({pathParam} --> :pathParam) (${t.name})`),t.endpoint=t.endpoint.replace(/{/g,":").replace(/}/g,"")),Object.assign(this,t),this.pathParamKeys=this.endpoint.split("/").filter(n=>n.startsWith(":")).map(n=>n.replace(":",""))}};gr.DyFM_Endpoint_SettingsBase=xh;var O_=class extends xh{preProcesses;tasks;simpleTask;constructor(t){super(t),Object.assign(this,t)}};gr.DyFM_ServerRoute_SettingsBase=O_;var nT=function(e){return e.body="body",e.queryParams="queryParams",e}(nT||(gr.DyFM_API_Input_Type=nT={}))});var iT=h(_n=>{"use strict";Object.defineProperty(_n,"__esModule",{value:!0});_n.DyFM_errors_dataParams=_n.DyFM_Errors=_n.DyFM_errorsFlag=void 0;var VZ=ly(),qZ=Gi();_n.DyFM_errorsFlag="DyFM-ERRORS-OBJECT";var A_=class extends qZ.DyFM_Metadata{flag=_n.DyFM_errorsFlag;source;issuer;username;version;localTime;region;message;exception;exceptionObj;stackTrace;error;count=1;d_error;additionalContent;level;priority;duplications=[];constructor(t){super(t),t&&Object.assign(this,t)}};_n.DyFM_Errors=A_;_n.DyFM_errors_dataParams=new VZ.DyFM_DataModel_Params({dataName:"errors",properties:{flag:{type:"string"},issuer:{type:"string"},username:{type:"string"},version:{type:"string"},localTime:{type:"string"},region:{type:"string"},message:{type:"string"},exception:{type:"string"},exceptionObj:{type:"any"},stackTrace:{type:"string[]"},error:{type:"any"},count:{type:"number"},d_error:{type:"DyFM_Error"},additionalContent:{type:"any"},level:{type:"DyFM_ErrorLevel"},priority:{type:"number"},duplications:{type:"DyNTS_Error[]"}}})});var sT=h(oT=>{"use strict";Object.defineProperty(oT,"__esModule",{value:!0})});var uT=h(aT=>{"use strict";Object.defineProperty(aT,"__esModule",{value:!0})});var lT=h(cT=>{"use strict";Object.defineProperty(cT,"__esModule",{value:!0})});var fT=h(dT=>{"use strict";Object.defineProperty(dT,"__esModule",{value:!0})});var pT=h(hT=>{"use strict";Object.defineProperty(hT,"__esModule",{value:!0})});var mT=h(gT=>{"use strict";Object.defineProperty(gT,"__esModule",{value:!0})});var yT=h(vT=>{"use strict";Object.defineProperty(vT,"__esModule",{value:!0})});var bT=h(_T=>{"use strict";Object.defineProperty(_T,"__esModule",{value:!0})});var wT=h(DT=>{"use strict";Object.defineProperty(DT,"__esModule",{value:!0})});var MT=h(ET=>{"use strict";Object.defineProperty(ET,"__esModule",{value:!0})});var ST=h(CT=>{"use strict";Object.defineProperty(CT,"__esModule",{value:!0})});var OT=h(IT=>{"use strict";Object.defineProperty(IT,"__esModule",{value:!0})});var TT=h(AT=>{"use strict";Object.defineProperty(AT,"__esModule",{value:!0})});var NT=h(Nh=>{"use strict";Object.defineProperty(Nh,"__esModule",{value:!0});Nh.DyFM_SpecialSearch_Type=void 0;var xT=function(e){return e.stringListSearchAny="stringListSearchAny",e.stringListSearch="stringListSearch",e.stringListSearchOrdered="stringListSearchOrdered",e}(xT||(Nh.DyFM_SpecialSearch_Type=xT={}))});var FT=h(PT=>{"use strict";Object.defineProperty(PT,"__esModule",{value:!0})});var tT=h(E=>{"use strict";Object.defineProperty(E,"__esModule",{value:!0});var M=(Wm(),Eb(zm));M.__exportStar(Gm(),E);M.__exportStar(Zm(),E);M.__exportStar(yM(),E);M.__exportStar(_M(),E);M.__exportStar(As(),E);M.__exportStar(bM(),E);M.__exportStar(av(),E);M.__exportStar(MM(),E);M.__exportStar(lv(),E);M.__exportStar(qt(),E);M.__exportStar(CM(),E);M.__exportStar(Wc(),E);M.__exportStar(Bi(),E);M.__exportStar(gv(),E);M.__exportStar(hv(),E);M.__exportStar(iv(),E);M.__exportStar(SM(),E);M.__exportStar(yv(),E);M.__exportStar(nC(),E);M.__exportStar(iC(),E);M.__exportStar(xs(),E);M.__exportStar(oC(),E);M.__exportStar(Hv(),E);M.__exportStar(Wv(),E);M.__exportStar(sC(),E);M.__exportStar(aC(),E);M.__exportStar(uC(),E);M.__exportStar(Ns(),E);M.__exportStar(Qv(),E);M.__exportStar(cC(),E);M.__exportStar(Kv(),E);M.__exportStar(Ts(),E);M.__exportStar(fC(),E);M.__exportStar(gC(),E);M.__exportStar(vC(),E);M.__exportStar(_C(),E);M.__exportStar(Xm(),E);M.__exportStar(Km(),E);M.__exportStar(ev(),E);M.__exportStar(ly(),E);M.__exportStar(ty(),E);M.__exportStar(ml(),E);M.__exportStar(KA(),E);M.__exportStar(XA(),E);M.__exportStar(eT(),E);M.__exportStar(rT(),E);M.__exportStar(ay(),E);M.__exportStar(ry(),E);M.__exportStar(oy(),E);M.__exportStar(iT(),E);M.__exportStar(Gi(),E);M.__exportStar(sT(),E);M.__exportStar(uT(),E);M.__exportStar(lT(),E);M.__exportStar(fT(),E);M.__exportStar(pT(),E);M.__exportStar(mT(),E);M.__exportStar(yT(),E);M.__exportStar(bT(),E);M.__exportStar(wT(),E);M.__exportStar(MT(),E);M.__exportStar(ST(),E);M.__exportStar(OT(),E);M.__exportStar(TT(),E);M.__exportStar(NT(),E);M.__exportStar(FT(),E)});function Mb(e,t){return Object.is(e,t)}var pe=null,Ta=!1,xa=1,Kt=Symbol("SIGNAL");function W(e){let t=pe;return pe=e,t}function Cb(){return pe}var Xo={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function sp(e){if(Ta)throw new Error("");if(pe===null)return;pe.consumerOnSignalRead(e);let t=pe.nextProducerIndex++;if(Ra(pe),t<pe.producerNode.length&&pe.producerNode[t]!==e&&Ko(pe)){let n=pe.producerNode[t];Fa(n,pe.producerIndexOfThis[t])}pe.producerNode[t]!==e&&(pe.producerNode[t]=e,pe.producerIndexOfThis[t]=Ko(pe)?Ab(e,pe,t):0),pe.producerLastReadVersion[t]=e.version}function Xx(){xa++}function Sb(e){if(!(Ko(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===xa)){if(!e.producerMustRecompute(e)&&!up(e)){e.dirty=!1,e.lastCleanEpoch=xa;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=xa}}function Ib(e){if(e.liveConsumerNode===void 0)return;let t=Ta;Ta=!0;try{for(let n of e.liveConsumerNode)n.dirty||e1(n)}finally{Ta=t}}function Ob(){return pe?.consumerAllowSignalWrites!==!1}function e1(e){e.dirty=!0,Ib(e),e.consumerMarkedDirty?.(e)}function Pa(e){return e&&(e.nextProducerIndex=0),W(e)}function ap(e,t){if(W(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Ko(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Fa(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function up(e){Ra(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Sb(n),r!==n.version))return!0}return!1}function cp(e){if(Ra(e),Ko(e))for(let t=0;t<e.producerNode.length;t++)Fa(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Ab(e,t,n){if(Tb(e),e.liveConsumerNode.length===0&&xb(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=Ab(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Fa(e,t){if(Tb(e),e.liveConsumerNode.length===1&&xb(e))for(let r=0;r<e.producerNode.length;r++)Fa(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],i=e.liveConsumerNode[t];Ra(i),i.producerIndexOfThis[r]=t}}function Ko(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Ra(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Tb(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function xb(e){return e.producerNode!==void 0}function Nb(e){let t=Object.create(t1);t.computation=e;let n=()=>{if(Sb(t),sp(t),t.value===Na)throw t.error;return t.value};return n[Kt]=t,n}var ip=Symbol("UNSET"),op=Symbol("COMPUTING"),Na=Symbol("ERRORED"),t1=B(D({},Xo),{value:ip,dirty:!0,error:null,equal:Mb,producerMustRecompute(e){return e.value===ip||e.value===op},producerRecomputeValue(e){if(e.value===op)throw new Error("Detected cycle in computations.");let t=e.value;e.value=op;let n=Pa(e),r;try{r=e.computation()}catch(i){r=Na,e.error=i}finally{ap(e,n)}if(t!==ip&&t!==Na&&r!==Na&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function n1(){throw new Error}var Pb=n1;function Fb(){Pb()}function Rb(e){Pb=e}var r1=null;function kb(e){let t=Object.create(Lb);t.value=e;let n=()=>(sp(t),t.value);return n[Kt]=t,n}function lp(e,t){Ob()||Fb(),e.equal(e.value,t)||(e.value=t,i1(e))}function jb(e,t){Ob()||Fb(),lp(e,t(e.value))}var Lb=B(D({},Xo),{equal:Mb,value:void 0});function i1(e){e.version++,Xx(),Ib(e),r1?.()}function j(e){return typeof e=="function"}function Xr(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var ka=Xr(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
|
|
212
|
-
${n.map((r,i)=>`${i+1}) ${r.toString()}`).join(`
|
|
213
|
-
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function es(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var de=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let o of n)o.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(j(r))try{r()}catch(o){t=o instanceof ka?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{Vb(o)}catch(s){t=t??[],s instanceof ka?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ka(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Vb(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&es(n,t)}remove(t){let{_finalizers:n}=this;n&&es(n,t),t instanceof e&&t._removeParent(this)}};de.EMPTY=(()=>{let e=new de;return e.closed=!0,e})();var dp=de.EMPTY;function ja(e){return e instanceof de||e&&"closed"in e&&j(e.remove)&&j(e.add)&&j(e.unsubscribe)}function Vb(e){j(e)?e():e.unsubscribe()}var mt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var ei={setTimeout(e,t,...n){let{delegate:r}=ei;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=ei;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function La(e){ei.setTimeout(()=>{let{onUnhandledError:t}=mt;if(t)t(e);else throw e})}function ts(){}var qb=fp("C",void 0,void 0);function Ub(e){return fp("E",void 0,e)}function $b(e){return fp("N",e,void 0)}function fp(e,t,n){return{kind:e,value:t,error:n}}var br=null;function ti(e){if(mt.useDeprecatedSynchronousErrorHandling){let t=!br;if(t&&(br={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=br;if(br=null,n)throw r}}else e()}function Bb(e){mt.useDeprecatedSynchronousErrorHandling&&br&&(br.errorThrown=!0,br.error=e)}var Dr=class extends de{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,ja(t)&&t.add(this)):this.destination=a1}static create(t,n,r){return new wn(t,n,r)}next(t){this.isStopped?pp($b(t),this):this._next(t)}error(t){this.isStopped?pp(Ub(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?pp(qb,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},o1=Function.prototype.bind;function hp(e,t){return o1.call(e,t)}var gp=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Va(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Va(r)}else Va(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Va(n)}}},wn=class extends Dr{constructor(t,n,r){super();let i;if(j(t)||!t)i={next:t??void 0,error:n??void 0,complete:r??void 0};else{let o;this&&mt.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),i={next:t.next&&hp(t.next,o),error:t.error&&hp(t.error,o),complete:t.complete&&hp(t.complete,o)}):i=t}this.destination=new gp(i)}};function Va(e){mt.useDeprecatedSynchronousErrorHandling?Bb(e):La(e)}function s1(e){throw e}function pp(e,t){let{onStoppedNotification:n}=mt;n&&ei.setTimeout(()=>n(e,t))}var a1={closed:!0,next:ts,error:s1,complete:ts};var ni=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Ke(e){return e}function mp(...e){return vp(e)}function vp(e){return e.length===0?Ke:e.length===1?e[0]:function(n){return e.reduce((r,i)=>i(r),n)}}var Z=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,i){let o=c1(n)?n:new wn(n,r,i);return ti(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Hb(r),new r((i,o)=>{let s=new wn({next:a=>{try{n(a)}catch(u){o(u),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[ni](){return this}pipe(...n){return vp(n)(this)}toPromise(n){return n=Hb(n),new n((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=t=>new e(t),e})();function Hb(e){var t;return(t=e??mt.Promise)!==null&&t!==void 0?t:Promise}function u1(e){return e&&j(e.next)&&j(e.error)&&j(e.complete)}function c1(e){return e&&e instanceof Dr||u1(e)&&ja(e)}function yp(e){return j(e?.lift)}function Y(e){return t=>{if(yp(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function G(e,t,n,r,i){return new _p(e,t,n,r,i)}var _p=class extends Dr{constructor(t,n,r,i,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=i?function(a){try{i(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function ri(){return Y((e,t)=>{let n=null;e._refCount++;let r=G(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let i=e._connection,o=n;n=null,i&&(!o||i===o)&&i.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var ii=class extends Z{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,yp(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new de;let n=this.getSubject();t.add(this.source.subscribe(G(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=de.EMPTY)}return t}refCount(){return ri()(this)}};var zb=Xr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ye=(()=>{class e extends Z{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new qa(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new zb}next(n){ti(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){ti(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){ti(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:i,observers:o}=this;return r||i?dp:(this.currentObservers=null,o.push(n),new de(()=>{this.currentObservers=null,es(o,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:i,isStopped:o}=this;r?n.error(i):o&&n.complete()}asObservable(){let n=new Z;return n.source=this,n}}return e.create=(t,n)=>new qa(t,n),e})(),qa=class extends ye{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:dp}};var Ee=class extends ye{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Xe=new Z(e=>e.complete());function Wb(e){return e&&j(e.schedule)}function Gb(e){return e[e.length-1]}function Ua(e){return j(Gb(e))?e.pop():void 0}function En(e){return Wb(Gb(e))?e.pop():void 0}function Yb(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?o(l.value):i(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}function Zb(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function wr(e){return this instanceof wr?(this.v=e,this):new wr(e)}function Qb(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),i,o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(p){r[p]&&(i[p]=function(g){return new Promise(function(m,v){o.push([p,g,m,v])>1||a(p,g)})})}function a(p,g){try{u(r[p](g))}catch(m){d(o[0][3],m)}}function u(p){p.value instanceof wr?Promise.resolve(p.value.v).then(c,l):d(o[0][2],p)}function c(p){a("next",p)}function l(p){a("throw",p)}function d(p,g){p(g),o.shift(),o.length&&a(o[0][0],o[0][1])}}function Jb(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Zb=="function"?Zb(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(o){n[o]=e[o]&&function(s){return new Promise(function(a,u){s=e[o](s),i(a,u,s.done,s.value)})}}function i(o,s,a,u){Promise.resolve(u).then(function(c){o({value:c,done:a})},s)}}var $a=e=>e&&typeof e.length=="number"&&typeof e!="function";function Ba(e){return j(e?.then)}function Ha(e){return j(e[ni])}function za(e){return Symbol.asyncIterator&&j(e?.[Symbol.asyncIterator])}function Wa(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function l1(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ga=l1();function Za(e){return j(e?.[Ga])}function Ya(e){return Qb(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:i}=yield wr(n.read());if(i)return yield wr(void 0);yield yield wr(r)}}finally{n.releaseLock()}})}function Qa(e){return j(e?.getReader)}function fe(e){if(e instanceof Z)return e;if(e!=null){if(Ha(e))return d1(e);if($a(e))return f1(e);if(Ba(e))return h1(e);if(za(e))return Kb(e);if(Za(e))return p1(e);if(Qa(e))return g1(e)}throw Wa(e)}function d1(e){return new Z(t=>{let n=e[ni]();if(j(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function f1(e){return new Z(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function h1(e){return new Z(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,La)})}function p1(e){return new Z(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Kb(e){return new Z(t=>{m1(e,t).catch(n=>t.error(n))})}function g1(e){return Kb(Ya(e))}function m1(e,t){var n,r,i,o;return Yb(this,void 0,void 0,function*(){try{for(n=Jb(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=n.return)&&(yield o.call(n))}finally{if(i)throw i.error}}t.complete()})}function $e(e,t,n,r=0,i=!1){let o=t.schedule(function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}function Ja(e,t=0){return Y((n,r)=>{n.subscribe(G(r,i=>$e(r,e,()=>r.next(i),t),()=>$e(r,e,()=>r.complete(),t),i=>$e(r,e,()=>r.error(i),t)))})}function Ka(e,t=0){return Y((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Xb(e,t){return fe(e).pipe(Ka(t),Ja(t))}function e0(e,t){return fe(e).pipe(Ka(t),Ja(t))}function t0(e,t){return new Z(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function n0(e,t){return new Z(n=>{let r;return $e(n,t,()=>{r=e[Ga](),$e(n,t,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){n.error(s);return}o?n.complete():n.next(i)},0,!0)}),()=>j(r?.return)&&r.return()})}function Xa(e,t){if(!e)throw new Error("Iterable cannot be null");return new Z(n=>{$e(n,t,()=>{let r=e[Symbol.asyncIterator]();$e(n,t,()=>{r.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function r0(e,t){return Xa(Ya(e),t)}function i0(e,t){if(e!=null){if(Ha(e))return Xb(e,t);if($a(e))return t0(e,t);if(Ba(e))return e0(e,t);if(za(e))return Xa(e,t);if(Za(e))return n0(e,t);if(Qa(e))return r0(e,t)}throw Wa(e)}function se(e,t){return t?i0(e,t):fe(e)}function F(...e){let t=En(e);return se(e,t)}function oi(e,t){let n=j(e)?e:()=>e,r=i=>i.error(n());return new Z(t?i=>t.schedule(r,0,i):r)}function bp(e){return!!e&&(e instanceof Z||j(e.lift)&&j(e.subscribe))}var vt=Xr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function v1(e,t){let n=typeof t=="object";return new Promise((r,i)=>{let o=new wn({next:s=>{r(s),o.unsubscribe()},error:i,complete:()=>{n?r(t.defaultValue):i(new vt)}});e.subscribe(o)})}function V(e,t){return Y((n,r)=>{let i=0;n.subscribe(G(r,o=>{r.next(e.call(t,o,i++))}))})}var{isArray:y1}=Array;function _1(e,t){return y1(t)?e(...t):e(t)}function eu(e){return V(t=>_1(e,t))}var{isArray:b1}=Array,{getPrototypeOf:D1,prototype:w1,keys:E1}=Object;function tu(e){if(e.length===1){let t=e[0];if(b1(t))return{args:t,keys:null};if(M1(t)){let n=E1(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function M1(e){return e&&typeof e=="object"&&D1(e)===w1}function nu(e,t){return e.reduce((n,r,i)=>(n[r]=t[i],n),{})}function ns(...e){let t=En(e),n=Ua(e),{args:r,keys:i}=tu(e);if(r.length===0)return se([],t);let o=new Z(C1(r,t,i?s=>nu(i,s):Ke));return n?o.pipe(eu(n)):o}function C1(e,t,n=Ke){return r=>{o0(t,()=>{let{length:i}=e,o=new Array(i),s=i,a=i;for(let u=0;u<i;u++)o0(t,()=>{let c=se(e[u],t),l=!1;c.subscribe(G(r,d=>{o[u]=d,l||(l=!0,a--),a||r.next(n(o.slice()))},()=>{--s||r.complete()}))},r)},r)}}function o0(e,t,n){e?$e(n,e,t):t()}function s0(e,t,n,r,i,o,s,a){let u=[],c=0,l=0,d=!1,p=()=>{d&&!u.length&&!c&&t.complete()},g=v=>c<r?m(v):u.push(v),m=v=>{o&&t.next(v),c++;let y=!1;fe(n(v,l++)).subscribe(G(t,_=>{i?.(_),o?g(_):t.next(_)},()=>{y=!0},void 0,()=>{if(y)try{for(c--;u.length&&c<r;){let _=u.shift();s?$e(t,s,()=>m(_)):m(_)}p()}catch(_){t.error(_)}}))};return e.subscribe(G(t,g,()=>{d=!0,p()})),()=>{a?.()}}function he(e,t,n=1/0){return j(t)?he((r,i)=>V((o,s)=>t(r,o,i,s))(fe(e(r,i))),n):(typeof t=="number"&&(n=t),Y((r,i)=>s0(r,i,e,n)))}function si(e=1/0){return he(Ke,e)}function a0(){return si(1)}function ai(...e){return a0()(se(e,En(e)))}function ru(e){return new Z(t=>{fe(e()).subscribe(t)})}function Dp(...e){let t=Ua(e),{args:n,keys:r}=tu(e),i=new Z(o=>{let{length:s}=n;if(!s){o.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l<s;l++){let d=!1;fe(n[l]).subscribe(G(o,p=>{d||(d=!0,c--),a[l]=p},()=>u--,void 0,()=>{(!u||!d)&&(c||o.next(r?nu(r,a):a),o.complete())}))}});return t?i.pipe(eu(t)):i}function Be(e,t){return Y((n,r)=>{let i=0;n.subscribe(G(r,o=>e.call(t,o,i++)&&r.next(o)))})}function Mn(e){return Y((t,n)=>{let r=null,i=!1,o;r=t.subscribe(G(n,void 0,void 0,s=>{o=fe(e(s,Mn(e)(t))),r?(r.unsubscribe(),r=null,o.subscribe(n)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(n))})}function u0(e,t,n,r,i){return(o,s)=>{let a=n,u=t,c=0;o.subscribe(G(s,l=>{let d=c++;u=a?e(u,l,d):(a=!0,l),r&&s.next(u)},i&&(()=>{a&&s.next(u),s.complete()})))}}function Xt(e,t){return j(t)?he(e,t,1):he(e,1)}function Cn(e){return Y((t,n)=>{let r=!1;t.subscribe(G(n,i=>{r=!0,n.next(i)},()=>{r||n.next(e),n.complete()}))})}function en(e){return e<=0?()=>Xe:Y((t,n)=>{let r=0;t.subscribe(G(n,i=>{++r<=e&&(n.next(i),e<=r&&n.complete())}))})}function wp(e){return V(()=>e)}function iu(e=S1){return Y((t,n)=>{let r=!1;t.subscribe(G(n,i=>{r=!0,n.next(i)},()=>r?n.complete():n.error(e())))})}function S1(){return new vt}function Sn(e){return Y((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Nt(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Be((i,o)=>e(i,o,r)):Ke,en(1),n?Cn(t):iu(()=>new vt))}function ui(e){return e<=0?()=>Xe:Y((t,n)=>{let r=[];t.subscribe(G(n,i=>{r.push(i),e<r.length&&r.shift()},()=>{for(let i of r)n.next(i);n.complete()},void 0,()=>{r=null}))})}function Ep(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Be((i,o)=>e(i,o,r)):Ke,ui(1),n?Cn(t):iu(()=>new vt))}function Mp(e,t){return Y(u0(e,t,arguments.length>=2,!0))}function Cp(...e){let t=En(e);return Y((n,r)=>{(t?ai(e,n,t):ai(e,n)).subscribe(r)})}function He(e,t){return Y((n,r)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&r.complete();n.subscribe(G(r,u=>{i?.unsubscribe();let c=0,l=o++;fe(e(u,l)).subscribe(i=G(r,d=>r.next(t?t(u,d,l,c++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function Sp(e){return Y((t,n)=>{fe(e).subscribe(G(n,()=>n.complete(),ts)),!n.closed&&t.subscribe(n)})}function _e(e,t,n){let r=j(e)||t||n?{next:e,error:t,complete:n}:e;return r?Y((i,o)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;i.subscribe(G(o,u=>{var c;(c=r.next)===null||c===void 0||c.call(r,u),o.next(u)},()=>{var u;a=!1,(u=r.complete)===null||u===void 0||u.call(r),o.complete()},u=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,u),o.error(u)},()=>{var u,c;a&&((u=r.unsubscribe)===null||u===void 0||u.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):Ke}var G0="https://g.co/ng/security#xss",x=class extends Error{constructor(t,n){super(Bu(t,n)),this.code=t}};function Bu(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function ms(e){return{toString:e}.toString()}var ou="__parameters__";function I1(e){return function(...n){if(e){let r=e(...n);for(let i in r)this[i]=r[i]}}}function Z0(e,t,n){return ms(()=>{let r=I1(t);function i(...o){if(this instanceof i)return r.apply(this,o),this;let s=new i(...o);return a.annotation=s,a;function a(u,c,l){let d=u.hasOwnProperty(ou)?u[ou]:Object.defineProperty(u,ou,{value:[]})[ou];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}var bt=globalThis;function ne(e){for(let t in e)if(e[t]===ne)return t;throw Error("Could not find renamed property on target object.")}function O1(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ze(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(ze).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(`
|
|
214
|
-
`);return n===-1?t:t.substring(0,n)}function c0(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var A1=ne({__forward_ref__:ne});function Ti(e){return e.__forward_ref__=Ti,e.toString=function(){return ze(this())},e}function Re(e){return Y0(e)?e():e}function Y0(e){return typeof e=="function"&&e.hasOwnProperty(A1)&&e.__forward_ref__===Ti}function A(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ct(e){return{providers:e.providers||[],imports:e.imports||[]}}function Hu(e){return l0(e,J0)||l0(e,K0)}function Q0(e){return Hu(e)!==null}function l0(e,t){return e.hasOwnProperty(t)?e[t]:null}function T1(e){let t=e&&(e[J0]||e[K0]);return t||null}function d0(e){return e&&(e.hasOwnProperty(f0)||e.hasOwnProperty(x1))?e[f0]:null}var J0=ne({\u0275prov:ne}),f0=ne({\u0275inj:ne}),K0=ne({ngInjectableDef:ne}),x1=ne({ngInjectorDef:ne}),C=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=A({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function X0(e){return e&&!!e.\u0275providers}var N1=ne({\u0275cmp:ne}),P1=ne({\u0275dir:ne}),F1=ne({\u0275pipe:ne}),R1=ne({\u0275mod:ne}),gu=ne({\u0275fac:ne}),is=ne({__NG_ELEMENT_ID__:ne}),h0=ne({__NG_ENV_ID__:ne});function Er(e){return typeof e=="string"?e:e==null?"":String(e)}function k1(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Er(e)}function j1(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new x(-200,e)}function xg(e,t){throw new x(-201,!1)}var H=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(H||{}),Up;function eD(){return Up}function ot(e){let t=Up;return Up=e,t}function tD(e,t,n){let r=Hu(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&H.Optional)return null;if(t!==void 0)return t;xg(e,"Injector")}var L1={},ss=L1,$p="__NG_DI_FLAG__",mu="ngTempTokenPath",V1="ngTokenPath",q1=/\n/gm,U1="\u0275",p0="__source",hi;function $1(){return hi}function In(e){let t=hi;return hi=e,t}function B1(e,t=H.Default){if(hi===void 0)throw new x(-203,!1);return hi===null?tD(e,void 0,t):hi.get(e,t&H.Optional?null:void 0,t)}function T(e,t=H.Default){return(eD()||B1)(Re(e),t)}function b(e,t=H.Default){return T(e,zu(t))}function zu(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Bp(e){let t=[];for(let n=0;n<e.length;n++){let r=Re(e[n]);if(Array.isArray(r)){if(r.length===0)throw new x(900,!1);let i,o=H.Default;for(let s=0;s<r.length;s++){let a=r[s],u=H1(a);typeof u=="number"?u===-1?i=a.token:o|=u:i=a}t.push(T(i,o))}else t.push(T(r))}return t}function nD(e,t){return e[$p]=t,e.prototype[$p]=t,e}function H1(e){return e[$p]}function z1(e,t,n,r){let i=e[mu];throw t[p0]&&i.unshift(t[p0]),e.message=W1(`
|
|
215
|
-
`+e.message,i,n,r),e[V1]=i,e[mu]=null,e}function W1(e,t,n,r=null){e=e&&e.charAt(0)===`
|
|
216
|
-
`&&e.charAt(1)==U1?e.slice(2):e;let i=ze(t);if(Array.isArray(t))i=t.map(ze).join(" -> ");else if(typeof t=="object"){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):ze(a)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(q1,`
|
|
217
|
-
`)}`}var Ng=nD(Z0("Optional"),8);var rD=nD(Z0("SkipSelf"),4);function gi(e,t){let n=e.hasOwnProperty(gu);return n?e[gu]:null}function Pg(e,t){e.forEach(n=>Array.isArray(n)?Pg(n,t):t(n))}function iD(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function vu(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function G1(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(i===1)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;){let o=i-2;e[i]=e[o],i--}e[t]=n,e[t+1]=r}}function Z1(e,t,n){let r=vs(e,t);return r>=0?e[r|1]=n:(r=~r,G1(e,r,t,n)),r}function Ip(e,t){let n=vs(e,t);if(n>=0)return e[n|1]}function vs(e,t){return Y1(e,t,1)}function Y1(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){let o=r+(i-r>>1),s=e[o<<n];if(t===s)return o<<n;s>t?i=o:r=o+1}return~(i<<n)}var mi={},st=[],vi=new C(""),oD=new C("",-1),sD=new C(""),yu=class{get(t,n=ss){if(n===ss){let r=new Error(`NullInjectorError: No provider for ${ze(t)}!`);throw r.name="NullInjectorError",r}return n}},aD=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(aD||{}),Rt=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Rt||{}),Tn=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Tn||{});function Q1(e,t,n){let r=e.length;for(;;){let i=e.indexOf(t,n);if(i===-1)return i;if(i===0||e.charCodeAt(i-1)<=32){let o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}function Hp(e,t,n){let r=0;for(;r<n.length;){let i=n[r];if(typeof i=="number"){if(i!==0)break;r++;let o=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,o)}else{let o=i,s=n[++r];J1(o)?e.setProperty(t,o,s):e.setAttribute(t,o,s),r++}}return r}function uD(e){return e===3||e===4||e===6}function J1(e){return e.charCodeAt(0)===64}function as(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let i=t[r];typeof i=="number"?n=i:n===0||(n===-1||n===2?g0(e,n,i,null,t[++r]):g0(e,n,i,null,null))}}return e}function g0(e,t,n,r,i){let o=0,s=e.length;if(t===-1)s=-1;else for(;o<e.length;){let a=e[o++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=o-1;break}}}for(;o<e.length;){let a=e[o];if(typeof a=="number")break;if(a===n){if(r===null){i!==null&&(e[o+1]=i);return}else if(r===e[o+1]){e[o+2]=i;return}}o++,r!==null&&o++,i!==null&&o++}s!==-1&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),r!==null&&e.splice(o++,0,r),i!==null&&e.splice(o++,0,i)}var cD="ng-template";function K1(e,t,n,r){let i=0;if(r){for(;i<t.length&&typeof t[i]=="string";i+=2)if(t[i]==="class"&&Q1(t[i+1].toLowerCase(),n,0)!==-1)return!0}else if(Fg(e))return!1;if(i=t.indexOf(1,i),i>-1){let o;for(;++i<t.length&&typeof(o=t[i])=="string";)if(o.toLowerCase()===n)return!0}return!1}function Fg(e){return e.type===4&&e.value!==cD}function X1(e,t,n){let r=e.type===4&&!n?cD:e.value;return t===r}function eN(e,t,n){let r=4,i=e.attrs,o=i!==null?rN(i):0,s=!1;for(let a=0;a<t.length;a++){let u=t[a];if(typeof u=="number"){if(!s&&!yt(r)&&!yt(u))return!1;if(s&&yt(u))continue;s=!1,r=u|r&1;continue}if(!s)if(r&4){if(r=2|r&1,u!==""&&!X1(e,u,n)||u===""&&t.length===1){if(yt(r))return!1;s=!0}}else if(r&8){if(i===null||!K1(e,i,u,n)){if(yt(r))return!1;s=!0}}else{let c=t[++a],l=tN(u,i,Fg(e),n);if(l===-1){if(yt(r))return!1;s=!0;continue}if(c!==""){let d;if(l>o?d="":d=i[l+1].toLowerCase(),r&2&&c!==d){if(yt(r))return!1;s=!0}}}}return yt(r)||s}function yt(e){return(e&1)===0}function tN(e,t,n,r){if(t===null)return-1;let i=0;if(r||!n){let o=!1;for(;i<t.length;){let s=t[i];if(s===e)return i;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=t[++i];for(;typeof a=="string";)a=t[++i];continue}else{if(s===4)break;if(s===0){i+=4;continue}}i+=o?1:2}return-1}else return iN(t,e)}function nN(e,t,n=!1){for(let r=0;r<t.length;r++)if(eN(e,t[r],n))return!0;return!1}function rN(e){for(let t=0;t<e.length;t++){let n=e[t];if(uD(n))return t}return e.length}function iN(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function m0(e,t){return e?":not("+t.trim()+")":t}function oN(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?i+="."+s:r&4&&(i+=" "+s);else i!==""&&!yt(s)&&(t+=m0(o,i),i=""),r=s,o=o||!yt(r);n++}return i!==""&&(t+=m0(o,i)),t}function sN(e){return e.map(oN).join(",")}function aN(e){let t=[],n=[],r=1,i=2;for(;r<e.length;){let o=e[r];if(typeof o=="string")i===2?o!==""&&t.push(o,e[++r]):i===8&&n.push(o);else{if(!yt(i))break;i=o}r++}return{attrs:t,classes:n}}function lD(e){return ms(()=>{let t=gD(e),n=B(D({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===aD.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Rt.Emulated,styles:e.styles||st,_:null,schemas:e.schemas||null,tView:null,id:""});mD(n);let r=e.dependencies;return n.directiveDefs=y0(r,!1),n.pipeDefs=y0(r,!0),n.id=lN(n),n})}function uN(e){return xn(e)||dD(e)}function cN(e){return e!==null}function lt(e){return ms(()=>({type:e.type,bootstrap:e.bootstrap||st,declarations:e.declarations||st,imports:e.imports||st,exports:e.exports||st,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function v0(e,t){if(e==null)return mi;let n={};for(let r in e)if(e.hasOwnProperty(r)){let i=e[r],o,s,a=Tn.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),t?(n[o]=a!==Tn.None?[r,a]:r,t[o]=s):n[o]=r}return n}function dt(e){return ms(()=>{let t=gD(e);return mD(t),t})}function xn(e){return e[N1]||null}function dD(e){return e[P1]||null}function fD(e){return e[F1]||null}function hD(e){let t=xn(e)||dD(e)||fD(e);return t!==null?t.standalone:!1}function pD(e,t){let n=e[R1]||null;if(!n&&t===!0)throw new Error(`Type ${ze(e)} does not have '\u0275mod' property.`);return n}function gD(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||mi,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||st,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:v0(e.inputs,t),outputs:v0(e.outputs),debugInfo:null}}function mD(e){e.features?.forEach(t=>t(e))}function y0(e,t){if(!e)return null;let n=t?fD:uN;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(cN)}function lN(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let i of n)t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function Wu(e){return{\u0275providers:e}}function dN(...e){return{\u0275providers:vD(!0,e),\u0275fromNgModule:!0}}function vD(e,...t){let n=[],r=new Set,i,o=s=>{n.push(s)};return Pg(t,s=>{let a=s;zp(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&yD(i,o),n}function yD(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:i}=e[n];Rg(i,o=>{t(o,r)})}}function zp(e,t,n,r){if(e=Re(e),!e)return!1;let i=null,o=d0(e),s=!o&&xn(e);if(!o&&!s){let u=e.ngModule;if(o=d0(u),o)i=u;else return!1}else{if(s&&!s.standalone)return!1;i=e}let a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)zp(c,t,n,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let c;try{Pg(o.imports,l=>{zp(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&yD(c,t)}if(!a){let c=gi(i)||(()=>new i);t({provide:i,useFactory:c,deps:st},i),t({provide:sD,useValue:i,multi:!0},i),t({provide:vi,useValue:()=>T(i),multi:!0},i)}let u=o.providers;if(u!=null&&!a){let c=e;Rg(u,l=>{t(l,c)})}}else return!1;return i!==e&&e.providers!==void 0}function Rg(e,t){for(let n of e)X0(n)&&(n=n.\u0275providers),Array.isArray(n)?Rg(n,t):t(n)}var fN=ne({provide:String,useValue:ne});function _D(e){return e!==null&&typeof e=="object"&&fN in e}function hN(e){return!!(e&&e.useExisting)}function pN(e){return!!(e&&e.useFactory)}function yi(e){return typeof e=="function"}function gN(e){return!!e.useClass}var Gu=new C(""),du={},mN={},Op;function kg(){return Op===void 0&&(Op=new yu),Op}var je=class{},us=class extends je{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Gp(t,s=>this.processProvider(s)),this.records.set(oD,ci(void 0,this)),i.has("environment")&&this.records.set(je,ci(void 0,this));let o=this.records.get(Gu);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(sD,st,H.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=W(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),W(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=In(this),r=ot(void 0),i;try{return t()}finally{In(n),ot(r)}}get(t,n=ss,r=H.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(h0))return t[h0](this);r=zu(r);let i,o=In(this),s=ot(void 0);try{if(!(r&H.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=DN(t)&&Hu(t);c&&this.injectableDefInScope(c)?u=ci(Wp(t),du):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&H.Self?kg():this.parent;return n=r&H.Optional&&n===ss?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[mu]=a[mu]||[]).unshift(ze(t)),o)throw a;return z1(a,t,"R3InjectorError",this.source)}else throw a}finally{ot(s),In(o)}}resolveInjectorInitializers(){let t=W(null),n=In(this),r=ot(void 0),i;try{let o=this.get(vi,st,H.Self);for(let s of o)s()}finally{In(n),ot(r),W(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(ze(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new x(205,!1)}processProvider(t){t=Re(t);let n=yi(t)?t:Re(t&&t.provide),r=yN(t);if(!yi(t)&&t.multi===!0){let i=this.records.get(n);i||(i=ci(void 0,du,!0),i.factory=()=>Bp(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=W(null);try{return n.value===du&&(n.value=mN,n.value=n.factory()),typeof n.value=="object"&&n.value&&bN(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{W(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Re(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Wp(e){let t=Hu(e),n=t!==null?t.factory:gi(e);if(n!==null)return n;if(e instanceof C)throw new x(204,!1);if(e instanceof Function)return vN(e);throw new x(204,!1)}function vN(e){if(e.length>0)throw new x(204,!1);let n=T1(e);return n!==null?()=>n.factory(e):()=>new e}function yN(e){if(_D(e))return ci(void 0,e.useValue);{let t=bD(e);return ci(t,du)}}function bD(e,t,n){let r;if(yi(e)){let i=Re(e);return gi(i)||Wp(i)}else if(_D(e))r=()=>Re(e.useValue);else if(pN(e))r=()=>e.useFactory(...Bp(e.deps||[]));else if(hN(e))r=()=>T(Re(e.useExisting));else{let i=Re(e&&(e.useClass||e.provide));if(_N(e))r=()=>new i(...Bp(e.deps));else return gi(i)||Wp(i)}return r}function ci(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function _N(e){return!!e.deps}function bN(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function DN(e){return typeof e=="function"||typeof e=="object"&&e instanceof C}function Gp(e,t){for(let n of e)Array.isArray(n)?Gp(n,t):n&&X0(n)?Gp(n.\u0275providers,t):t(n)}function ft(e,t){e instanceof us&&e.assertNotDestroyed();let n,r=In(e),i=ot(void 0);try{return t()}finally{In(r),ot(i)}}function DD(){return eD()!==void 0||$1()!=null}function wN(e){if(!DD())throw new x(-203,!1)}function EN(e){let t=bt.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function MN(e){return typeof e=="function"}var rn=0,$=1,k=2,Le=3,_t=4,Et=5,cs=6,_u=7,Oe=8,_i=9,kt=10,me=11,ls=12,_0=13,xi=14,Dt=15,bi=16,li=17,Di=18,Zu=19,wD=20,On=21,Ap=22,at=23,wt=25,ED=1;var Cr=7,bu=8,Du=9,ke=10,wu=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(wu||{});function An(e){return Array.isArray(e)&&typeof e[ED]=="object"}function on(e){return Array.isArray(e)&&e[ED]===!0}function MD(e){return(e.flags&4)!==0}function Yu(e){return e.componentOffset>-1}function jg(e){return(e.flags&1)===1}function Nn(e){return!!e.template}function Zp(e){return(e[k]&512)!==0}var Yp=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function CD(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function xr(){return SD}function SD(e){return e.type.prototype.ngOnChanges&&(e.setInput=SN),CN}xr.ngInherit=!0;function CN(){let e=OD(this),t=e?.current;if(t){let n=e.previous;if(n===mi)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function SN(e,t,n,r,i){let o=this.declaredInputs[r],s=OD(e)||IN(e,{previous:mi,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[o];a[o]=new Yp(c&&c.currentValue,n,u===mi),CD(e,t,i,n)}var ID="__ngSimpleChanges__";function OD(e){return e[ID]||null}function IN(e,t){return e[ID]=t}var b0=null;var Pt=function(e,t,n){b0?.(e,t,n)},ON="svg",AN="math";function jt(e){for(;Array.isArray(e);)e=e[rn];return e}function AD(e,t){return jt(t[e])}function ht(e,t){return jt(t[e.index])}function Lg(e,t){return e.data[t]}function Fn(e,t){let n=t[e];return An(n)?n:n[rn]}function Vg(e){return(e[k]&128)===128}function TN(e){return on(e[Le])}function wi(e,t){return t==null?null:e[t]}function TD(e){e[li]=0}function xD(e){e[k]&1024||(e[k]|=1024,Vg(e)&&Ju(e))}function xN(e,t){for(;e>0;)t=t[xi],e--;return t}function Qu(e){return!!(e[k]&9216||e[at]?.dirty)}function Qp(e){e[kt].changeDetectionScheduler?.notify(8),e[k]&64&&(e[k]|=1024),Qu(e)&&Ju(e)}function Ju(e){e[kt].changeDetectionScheduler?.notify(0);let t=Sr(e);for(;t!==null&&!(t[k]&8192||(t[k]|=8192,!Vg(t)));)t=Sr(t)}function ND(e,t){if((e[k]&256)===256)throw new x(911,!1);e[On]===null&&(e[On]=[]),e[On].push(t)}function NN(e,t){if(e[On]===null)return;let n=e[On].indexOf(t);n!==-1&&e[On].splice(n,1)}function Sr(e){let t=e[Le];return on(t)?t[Le]:t}var z={lFrame:$D(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var PD=!1;function PN(){return z.lFrame.elementDepthCount}function FN(){z.lFrame.elementDepthCount++}function RN(){z.lFrame.elementDepthCount--}function FD(){return z.bindingsEnabled}function kN(){return z.skipHydrationRootTNode!==null}function jN(e){return z.skipHydrationRootTNode===e}function LN(){z.skipHydrationRootTNode=null}function Q(){return z.lFrame.lView}function We(){return z.lFrame.tView}function fre(e){return z.lFrame.contextLView=e,e[Oe]}function hre(e){return z.lFrame.contextLView=null,e}function Ge(){let e=RD();for(;e!==null&&e.type===64;)e=e.parent;return e}function RD(){return z.lFrame.currentTNode}function VN(){let e=z.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function ys(e,t){let n=z.lFrame;n.currentTNode=e,n.isParent=t}function kD(){return z.lFrame.isParent}function qN(){z.lFrame.isParent=!1}function jD(){return PD}function D0(e){PD=e}function Ku(){let e=z.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function UN(){return z.lFrame.bindingIndex}function $N(e){return z.lFrame.bindingIndex=e}function Ni(){return z.lFrame.bindingIndex++}function LD(e){let t=z.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function BN(){return z.lFrame.inI18n}function HN(e,t){let n=z.lFrame;n.bindingIndex=n.bindingRootIndex=e,Jp(t)}function zN(){return z.lFrame.currentDirectiveIndex}function Jp(e){z.lFrame.currentDirectiveIndex=e}function WN(e){let t=z.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function VD(e){z.lFrame.currentQueryIndex=e}function GN(e){let t=e[$];return t.type===2?t.declTNode:t.type===1?e[Et]:null}function qD(e,t,n){if(n&H.SkipSelf){let i=t,o=e;for(;i=i.parent,i===null&&!(n&H.Host);)if(i=GN(o),i===null||(o=o[xi],i.type&10))break;if(i===null)return!1;t=i,e=o}let r=z.lFrame=UD();return r.currentTNode=t,r.lView=e,!0}function qg(e){let t=UD(),n=e[$];z.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function UD(){let e=z.lFrame,t=e===null?null:e.child;return t===null?$D(e):t}function $D(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function BD(){let e=z.lFrame;return z.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var HD=BD;function Ug(){let e=BD();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ZN(e){return(z.lFrame.contextLView=xN(e,z.lFrame.contextLView))[Oe]}function Rn(){return z.lFrame.selectedIndex}function Ir(e){z.lFrame.selectedIndex=e}function $g(){let e=z.lFrame;return Lg(e.tView,e.selectedIndex)}function YN(){return z.lFrame.currentNamespace}var zD=!0;function Bg(){return zD}function Hg(e){zD=e}function QN(e,t,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){let s=SD(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}i&&(n.preOrderHooks??=[]).push(0-e,i),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}function zg(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let o=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:c,ngOnDestroy:l}=o;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),u&&(e.viewHooks??=[]).push(-n,u),c&&((e.viewHooks??=[]).push(n,c),(e.viewCheckHooks??=[]).push(n,c)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function fu(e,t,n){WD(e,t,3,n)}function hu(e,t,n,r){(e[k]&3)===n&&WD(e,t,n,r)}function Tp(e,t){let n=e[k];(n&3)===t&&(n&=16383,n+=1,e[k]=n)}function WD(e,t,n,r){let i=r!==void 0?e[li]&65535:0,o=r??-1,s=t.length-1,a=0;for(let u=i;u<s;u++)if(typeof t[u+1]=="number"){if(a=t[u],r!=null&&a>=r)break}else t[u]<0&&(e[li]+=65536),(a<o||o==-1)&&(JN(e,n,t,u),e[li]=(e[li]&4294901760)+u+2),u++}function w0(e,t){Pt(4,e,t);let n=W(null);try{t.call(e)}finally{W(n),Pt(5,e,t)}}function JN(e,t,n,r){let i=n[r]<0,o=n[r+1],s=i?-n[r]:n[r],a=e[s];i?e[k]>>14<e[li]>>16&&(e[k]&3)===t&&(e[k]+=16384,w0(a,o)):w0(a,o)}var pi=-1,Or=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function KN(e){return e instanceof Or}function XN(e){return(e.flags&8)!==0}function eP(e){return(e.flags&16)!==0}var xp={},Kp=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=zu(r);let i=this.injector.get(t,xp,r);return i!==xp||n===xp?i:this.parentInjector.get(t,n,r)}};function GD(e){return e!==pi}function Eu(e){return e&32767}function tP(e){return e>>16}function Mu(e,t){let n=tP(e),r=t;for(;n>0;)r=r[xi],n--;return r}var Xp=!0;function E0(e){let t=Xp;return Xp=e,t}var nP=256,ZD=nP-1,YD=5,rP=0,Ft={};function iP(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(is)&&(r=n[is]),r==null&&(r=n[is]=rP++);let i=r&ZD,o=1<<i;t.data[e+(i>>YD)]|=o}function Cu(e,t){let n=QD(e,t);if(n!==-1)return n;let r=t[$];r.firstCreatePass&&(e.injectorIndex=t.length,Np(r.data,e),Np(t,null),Np(r.blueprint,null));let i=Wg(e,t),o=e.injectorIndex;if(GD(i)){let s=Eu(i),a=Mu(i,t),u=a[$].data;for(let c=0;c<8;c++)t[o+c]=a[s+c]|u[s+c]}return t[o+8]=i,o}function Np(e,t){e.push(0,0,0,0,0,0,0,0,t)}function QD(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Wg(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;i!==null;){if(r=tw(i),r===null)return pi;if(n++,i=i[xi],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return pi}function eg(e,t,n){iP(e,t,n)}function oP(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,i=0;for(;i<r;){let o=n[i];if(uD(o))break;if(o===0)i=i+2;else if(typeof o=="number")for(i++;i<r&&typeof n[i]=="string";)i++;else{if(o===t)return n[i+1];i=i+2}}}return null}function JD(e,t,n){if(n&H.Optional||e!==void 0)return e;xg(t,"NodeInjector")}function KD(e,t,n,r){if(n&H.Optional&&r===void 0&&(r=null),!(n&(H.Self|H.Host))){let i=e[_i],o=ot(void 0);try{return i?i.get(t,r,n&H.Optional):tD(t,r,n&H.Optional)}finally{ot(o)}}return JD(r,t,n)}function XD(e,t,n,r=H.Default,i){if(e!==null){if(t[k]&2048&&!(r&H.Self)){let s=lP(e,t,n,r,Ft);if(s!==Ft)return s}let o=ew(e,t,n,r,Ft);if(o!==Ft)return o}return KD(t,n,r,i)}function ew(e,t,n,r,i){let o=uP(n);if(typeof o=="function"){if(!qD(t,e,r))return r&H.Host?JD(i,n,r):KD(t,n,r,i);try{let s;if(s=o(r),s==null&&!(r&H.Optional))xg(n);else return s}finally{HD()}}else if(typeof o=="number"){let s=null,a=QD(e,t),u=pi,c=r&H.Host?t[Dt][Et]:null;for((a===-1||r&H.SkipSelf)&&(u=a===-1?Wg(e,t):t[a+8],u===pi||!C0(r,!1)?a=-1:(s=t[$],a=Eu(u),t=Mu(u,t)));a!==-1;){let l=t[$];if(M0(o,a,l.data)){let d=sP(a,t,n,s,r,c);if(d!==Ft)return d}u=t[a+8],u!==pi&&C0(r,t[$].data[a+8]===c)&&M0(o,a,t)?(s=l,a=Eu(u),t=Mu(u,t)):a=-1}}return i}function sP(e,t,n,r,i,o){let s=t[$],a=s.data[e+8],u=r==null?Yu(a)&&Xp:r!=s&&(a.type&3)!==0,c=i&H.Host&&o===a,l=aP(a,s,n,u,c);return l!==null?Ei(t,s,l,a):Ft}function aP(e,t,n,r,i){let o=e.providerIndexes,s=t.data,a=o&1048575,u=e.directiveStart,c=e.directiveEnd,l=o>>20,d=r?a:a+l,p=i?a+l:c;for(let g=d;g<p;g++){let m=s[g];if(g<u&&n===m||g>=u&&m.type===n)return g}if(i){let g=s[u];if(g&&Nn(g)&&g.type===n)return u}return null}function Ei(e,t,n,r){let i=e[n],o=t.data;if(KN(i)){let s=i;s.resolving&&j1(k1(o[n]));let a=E0(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?ot(s.injectImpl):null,l=qD(e,r,H.Default);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&QN(n,o[n],t)}finally{c!==null&&ot(c),E0(a),s.resolving=!1,HD()}}return i}function uP(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(is)?e[is]:void 0;return typeof t=="number"?t>=0?t&ZD:cP:t}function M0(e,t,n){let r=1<<e;return!!(n[t+(e>>YD)]&r)}function C0(e,t){return!(e&H.Self)&&!(e&H.Host&&t)}var Mr=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return XD(this._tNode,this._lView,t,zu(r),n)}};function cP(){return new Mr(Ge(),Q())}function Pi(e){return ms(()=>{let t=e.prototype.constructor,n=t[gu]||tg(t),r=Object.prototype,i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){let o=i[gu]||tg(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function tg(e){return Y0(e)?()=>{let t=tg(Re(e));return t&&t()}:gi(e)}function lP(e,t,n,r,i){let o=e,s=t;for(;o!==null&&s!==null&&s[k]&2048&&!(s[k]&512);){let a=ew(o,s,n,r|H.Self,Ft);if(a!==Ft)return a;let u=o.parent;if(!u){let c=s[wD];if(c){let l=c.get(n,Ft,r);if(l!==Ft)return l}u=tw(s),s=s[xi]}o=u}return i}function tw(e){let t=e[$],n=t.type;return n===2?t.declTNode:n===1?e[Et]:null}function Gg(e){return oP(Ge(),e)}function S0(e,t=null,n=null,r){let i=nw(e,t,n,r);return i.resolveInjectorInitializers(),i}function nw(e,t=null,n=null,r,i=new Set){let o=[n||st,dN(e)];return r=r||(typeof e=="object"?void 0:ze(e)),new us(o,t||kg(),r||null,i)}var et=class e{static{this.THROW_IF_NOT_FOUND=ss}static{this.NULL=new yu}static create(t,n){if(Array.isArray(t))return S0({name:""},n,t,"");{let r=t.name??"";return S0({name:r},t.parent,t.providers,r)}}static{this.\u0275prov=A({token:e,providedIn:"any",factory:()=>T(oD)})}static{this.__NG_ELEMENT_ID__=-1}};var dP=new C("");dP.__NG_ELEMENT_ID__=e=>{let t=Ge();if(t===null)throw new x(204,!1);if(t.type&2)return t.value;if(e&H.Optional)return null;throw new x(204,!1)};var fP="ngOriginalError";function Pp(e){return e[fP]}var rw=!0,Zg=(()=>{class e{static{this.__NG_ELEMENT_ID__=hP}static{this.__NG_ENV_ID__=n=>n}}return e})(),ng=class extends Zg{constructor(t){super(),this._lView=t}onDestroy(t){return ND(this._lView,t),()=>NN(this._lView,t)}};function hP(){return new ng(Q())}var sn=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ee(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=A({token:e,providedIn:"root",factory:()=>new e})}}return e})();var rg=class extends ye{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,DD()&&(this.destroyRef=b(Zg,{optional:!0})??void 0,this.pendingTasks=b(sn,{optional:!0})??void 0)}emit(t){let n=W(null);try{super.next(t)}finally{W(n)}}subscribe(t,n,r){let i=t,o=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;i=u.next?.bind(u),o=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:i,error:o,complete:s});return t instanceof de&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},ge=rg;function Su(...e){}function iw(e){let t,n;function r(){e=Su;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function I0(e){return queueMicrotask(()=>e()),()=>{e=Su}}var Yg="isAngularZone",Iu=Yg+"_ID",pP=0,ee=class e{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ge(!1),this.onMicrotaskEmpty=new ge(!1),this.onStable=new ge(!1),this.onError=new ge(!1);let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=rw}=t;if(typeof Zone>"u")throw new x(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,vP(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Yg)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new x(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new x(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,gP,Su,Su);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},gP={};function Qg(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function mP(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){iw(()=>{e.callbackScheduled=!1,ig(e),e.isCheckStableRunning=!0,Qg(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),ig(e)}function vP(e){let t=()=>{mP(e)},n=pP++;e._inner=e._inner.fork({name:"angular",properties:{[Yg]:!0,[Iu]:n,[Iu+n]:!0},onInvokeTask:(r,i,o,s,a,u)=>{if(yP(u))return r.invokeTask(o,s,a,u);try{return O0(e),r.invokeTask(o,s,a,u)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),A0(e)}},onInvoke:(r,i,o,s,a,u,c)=>{try{return O0(e),r.invoke(o,s,a,u,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!_P(u)&&t(),A0(e)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,ig(e),Qg(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function ig(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function O0(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function A0(e){e._nesting--,Qg(e)}var Ou=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ge,this.onMicrotaskEmpty=new ge,this.onStable=new ge,this.onError=new ge}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}};function yP(e){return ow(e,"__ignore_ng_zone__")}function _P(e){return ow(e,"__scheduler_tick__")}function ow(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}function bP(e="zone.js",t){return e==="noop"?new Ou:e==="zone.js"?new ee(t):e}var tn=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Pp(t);for(;n&&Pp(n);)n=Pp(n);return n||null}},DP=new C("",{providedIn:"root",factory:()=>{let e=b(ee),t=b(tn);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function wP(){return Jg(Ge(),Q())}function Jg(e,t){return new an(ht(e,t))}var an=(()=>{class e{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=wP}}return e})();function sw(e){return(e.flags&128)===128}var aw=new Map,EP=0;function MP(){return EP++}function CP(e){aw.set(e[Zu],e)}function og(e){aw.delete(e[Zu])}var T0="__ngContext__";function Ar(e,t){An(t)?(e[T0]=t[Zu],CP(t)):e[T0]=t}function uw(e){return lw(e[ls])}function cw(e){return lw(e[_t])}function lw(e){for(;e!==null&&!on(e);)e=e[_t];return e}var sg;function dw(e){sg=e}function SP(){if(sg!==void 0)return sg;if(typeof document<"u")return document;throw new x(210,!1)}var Xu=new C("",{providedIn:"root",factory:()=>IP}),IP="ng",Kg=new C(""),Lt=new C("",{providedIn:"platform",factory:()=>"unknown"});var Xg=new C("",{providedIn:"root",factory:()=>SP().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var OP="h",AP="b";var TP=()=>null;function em(e,t,n=!1){return TP(e,t,n)}var fw=!1,xP=new C("",{providedIn:"root",factory:()=>fw});var su;function NP(){if(su===void 0&&(su=null,bt.trustedTypes))try{su=bt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return su}function x0(e){return NP()?.createScriptURL(e)||e}var Au=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${G0})`}};function _s(e){return e instanceof Au?e.changingThisBreaksApplicationSecurity:e}function tm(e,t){let n=PP(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${G0})`)}return n===t}function PP(e){return e instanceof Au&&e.getTypeName()||null}var FP=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function hw(e){return e=String(e),e.match(FP)?e:"unsafe:"+e}var ec=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(ec||{});function RP(e){let t=gw();return t?t.sanitize(ec.URL,e)||"":tm(e,"URL")?_s(e):hw(Er(e))}function kP(e){let t=gw();if(t)return x0(t.sanitize(ec.RESOURCE_URL,e)||"");if(tm(e,"ResourceURL"))return x0(_s(e));throw new x(904,!1)}function jP(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?kP:RP}function pw(e,t,n){return jP(t,n)(e)}function gw(){let e=Q();return e&&e[kt].sanitizer}function mw(e){return e instanceof Function?e():e}function LP(e){return(e??b(et)).get(Lt)==="browser"}var nn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(nn||{}),VP;function nm(e,t){return VP(e,t)}function di(e,t,n,r,i){if(r!=null){let o,s=!1;on(r)?o=r:An(r)&&(s=!0,r=r[rn]);let a=jt(r);e===0&&n!==null?i==null?bw(t,n,a):Tu(t,n,a,i||null,!0):e===1&&n!==null?Tu(t,n,a,i||null,!0):e===2?eF(t,a,s):e===3&&t.destroyNode(a),o!=null&&nF(t,e,o,n,i)}}function qP(e,t){return e.createText(t)}function UP(e,t,n){e.setValue(t,n)}function vw(e,t,n){return e.createElement(t,n)}function $P(e,t){yw(e,t),t[rn]=null,t[Et]=null}function BP(e,t,n,r,i,o){r[rn]=i,r[Et]=t,nc(e,r,n,1,i,o)}function yw(e,t){t[kt].changeDetectionScheduler?.notify(9),nc(e,t,t[me],2,null,null)}function HP(e){let t=e[ls];if(!t)return Fp(e[$],e);for(;t;){let n=null;if(An(t))n=t[ls];else{let r=t[ke];r&&(n=r)}if(!n){for(;t&&!t[_t]&&t!==e;)An(t)&&Fp(t[$],t),t=t[Le];t===null&&(t=e),An(t)&&Fp(t[$],t),n=t&&t[_t]}t=n}}function zP(e,t,n,r){let i=ke+r,o=n.length;r>0&&(n[i-1][_t]=t),r<o-ke?(t[_t]=n[i],iD(n,ke+r,t)):(n.push(t),t[_t]=null),t[Le]=n;let s=t[bi];s!==null&&n!==s&&_w(s,t);let a=t[Di];a!==null&&a.insertView(e),Qp(t),t[k]|=128}function _w(e,t){let n=e[Du],r=t[Le];if(An(r))e[k]|=wu.HasTransplantedViews;else{let i=r[Le][Dt];t[Dt]!==i&&(e[k]|=wu.HasTransplantedViews)}n===null?e[Du]=[t]:n.push(t)}function rm(e,t){let n=e[Du],r=n.indexOf(t);n.splice(r,1)}function ds(e,t){if(e.length<=ke)return;let n=ke+t,r=e[n];if(r){let i=r[bi];i!==null&&i!==e&&rm(i,r),t>0&&(e[n-1][_t]=r[_t]);let o=vu(e,ke+t);$P(r[$],r);let s=o[Di];s!==null&&s.detachView(o[$]),r[Le]=null,r[_t]=null,r[k]&=-129}return r}function tc(e,t){if(!(t[k]&256)){let n=t[me];n.destroyNode&&nc(e,t,n,3,null,null),HP(t)}}function Fp(e,t){if(t[k]&256)return;let n=W(null);try{t[k]&=-129,t[k]|=256,t[at]&&cp(t[at]),GP(e,t),WP(e,t),t[$].type===1&&t[me].destroy();let r=t[bi];if(r!==null&&on(t[Le])){r!==t[Le]&&rm(r,t);let i=t[Di];i!==null&&i.detachView(e)}og(t)}finally{W(n)}}function WP(e,t){let n=e.cleanup,r=t[_u];if(n!==null)for(let o=0;o<n.length-1;o+=2)if(typeof n[o]=="string"){let s=n[o+3];s>=0?r[s]():r[-s].unsubscribe(),o+=2}else{let s=r[n[o+1]];n[o].call(s)}r!==null&&(t[_u]=null);let i=t[On];if(i!==null){t[On]=null;for(let o=0;o<i.length;o++){let s=i[o];s()}}}function GP(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let i=t[n[r]];if(!(i instanceof Or)){let o=n[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=i[o[s]],u=o[s+1];Pt(4,a,u);try{u.call(a)}finally{Pt(5,a,u)}}else{Pt(4,i,o);try{o.call(i)}finally{Pt(5,i,o)}}}}}function ZP(e,t,n){return YP(e,t.parent,n)}function YP(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[rn];{let{componentOffset:i}=r;if(i>-1){let{encapsulation:o}=e.data[r.directiveStart+i];if(o===Rt.None||o===Rt.Emulated)return null}return ht(r,n)}}function Tu(e,t,n,r,i){e.insertBefore(t,n,r,i)}function bw(e,t,n){e.appendChild(t,n)}function N0(e,t,n,r,i){r!==null?Tu(e,t,n,r,i):bw(e,t,n)}function Dw(e,t){return e.parentNode(t)}function QP(e,t){return e.nextSibling(t)}function JP(e,t,n){return XP(e,t,n)}function KP(e,t,n){return e.type&40?ht(e,n):null}var XP=KP,P0;function im(e,t,n,r){let i=ZP(e,r,t),o=t[me],s=r.parent||t[Et],a=JP(s,r,t);if(i!=null)if(Array.isArray(n))for(let u=0;u<n.length;u++)N0(o,i,n[u],a,!1);else N0(o,i,n,a,!1);P0!==void 0&&P0(o,r,t,n,i)}function rs(e,t){if(t!==null){let n=t.type;if(n&3)return ht(t,e);if(n&4)return ag(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return rs(e,r);{let i=e[t.index];return on(i)?ag(-1,i):jt(i)}}else{if(n&128)return rs(e,t.next);if(n&32)return nm(t,e)()||jt(e[t.index]);{let r=ww(e,t);if(r!==null){if(Array.isArray(r))return r[0];let i=Sr(e[Dt]);return rs(i,r)}else return rs(e,t.next)}}}return null}function ww(e,t){if(t!==null){let r=e[Dt][Et],i=t.projection;return r.projection[i]}return null}function ag(e,t){let n=ke+e+1;if(n<t.length){let r=t[n],i=r[$].firstChild;if(i!==null)return rs(r,i)}return t[Cr]}function eF(e,t,n){e.removeChild(null,t,n)}function om(e,t,n,r,i,o,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],u=n.type;if(s&&t===0&&(a&&Ar(jt(a),r),n.flags|=2),(n.flags&32)!==32)if(u&8)om(e,t,n.child,r,i,o,!1),di(t,e,i,a,o);else if(u&32){let c=nm(n,r),l;for(;l=c();)di(t,e,i,l,o);di(t,e,i,a,o)}else u&16?tF(e,t,r,n,i,o):di(t,e,i,a,o);n=s?n.projectionNext:n.next}}function nc(e,t,n,r,i,o){om(n,r,e.firstChild,t,i,o,!1)}function tF(e,t,n,r,i,o){let s=n[Dt],u=s[Et].projection[r.projection];if(Array.isArray(u))for(let c=0;c<u.length;c++){let l=u[c];di(t,e,i,l,o)}else{let c=u,l=s[Le];sw(r)&&(c.flags|=128),om(e,t,c,l,i,o,!0)}}function nF(e,t,n,r,i){let o=n[Cr],s=jt(n);o!==s&&di(t,e,r,o,i);for(let a=ke;a<n.length;a++){let u=n[a];nc(u[$],u,e,t,r,o)}}function rF(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let o=r.indexOf("-")===-1?void 0:nn.DashCase;i==null?e.removeStyle(n,r,o):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=nn.Important),e.setStyle(n,r,i,o))}}function iF(e,t,n){e.setAttribute(t,"style",n)}function Ew(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Mw(e,t,n){let{mergedAttrs:r,classes:i,styles:o}=n;r!==null&&Hp(e,t,r),i!==null&&Ew(e,t,i),o!==null&&iF(e,t,o)}var Mt={};function pre(e=1){Cw(We(),Q(),Rn()+e,!1)}function Cw(e,t,n,r){if(!r)if((t[k]&3)===3){let o=e.preOrderCheckHooks;o!==null&&fu(t,o,n)}else{let o=e.preOrderHooks;o!==null&&hu(t,o,0,n)}Ir(n)}function ae(e,t=H.Default){let n=Q();if(n===null)return T(e,t);let r=Ge();return XD(r,n,Re(e),t)}function Sw(){let e="invalid";throw new Error(e)}function Iw(e,t,n,r,i,o){let s=W(null);try{let a=null;i&Tn.SignalBased&&(a=t[r][Kt]),a!==null&&a.transformFn!==void 0&&(o=a.transformFn(o)),i&Tn.HasDecoratorInputTransform&&(o=e.inputTransforms[r].call(t,o)),e.setInput!==null?e.setInput(t,a,o,n,r):CD(t,a,r,o)}finally{W(s)}}function oF(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let i=n[r];if(i<0)Ir(~i);else{let o=i,s=n[++r],a=n[++r];HN(s,o);let u=t[o];a(2,u)}}}finally{Ir(-1)}}function rc(e,t,n,r,i,o,s,a,u,c,l){let d=t.blueprint.slice();return d[rn]=i,d[k]=r|4|128|8|64,(c!==null||e&&e[k]&2048)&&(d[k]|=2048),TD(d),d[Le]=d[xi]=e,d[Oe]=n,d[kt]=s||e&&e[kt],d[me]=a||e&&e[me],d[_i]=u||e&&e[_i]||null,d[Et]=o,d[Zu]=MP(),d[cs]=l,d[wD]=c,d[Dt]=t.type==2?e[Dt]:d,d}function ic(e,t,n,r,i){let o=e.data[t];if(o===null)o=sF(e,t,n,r,i),BN()&&(o.flags|=32);else if(o.type&64){o.type=n,o.value=r,o.attrs=i;let s=VN();o.injectorIndex=s===null?-1:s.injectorIndex}return ys(o,!0),o}function sF(e,t,n,r,i){let o=RD(),s=kD(),a=s?o:o&&o.parent,u=e.data[t]=dF(e,a,n,t,r,i);return e.firstChild===null&&(e.firstChild=u),o!==null&&(s?o.child==null&&u.parent!==null&&(o.child=u):o.next===null&&(o.next=u,u.prev=o)),u}function Ow(e,t,n,r){if(n===0)return-1;let i=t.length;for(let o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function Aw(e,t,n,r,i){let o=Rn(),s=r&2;try{Ir(-1),s&&t.length>wt&&Cw(e,t,wt,!1),Pt(s?2:0,i),n(r,i)}finally{Ir(o),Pt(s?3:1,i)}}function Tw(e,t,n){if(MD(t)){let r=W(null);try{let i=t.directiveStart,o=t.directiveEnd;for(let s=i;s<o;s++){let a=e.data[s];if(a.contentQueries){let u=n[s];a.contentQueries(1,u,s)}}}finally{W(r)}}}function xw(e,t,n){FD()&&(vF(e,t,n,ht(n,t)),(n.flags&64)===64&&jw(e,t,n))}function Nw(e,t,n=ht){let r=t.localNames;if(r!==null){let i=t.index+1;for(let o=0;o<r.length;o+=2){let s=r[o+1],a=s===-1?n(t,e):e[s];e[i++]=a}}}function Pw(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=sm(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function sm(e,t,n,r,i,o,s,a,u,c,l){let d=wt+r,p=d+i,g=aF(d,p),m=typeof c=="function"?c():c;return g[$]={type:e,blueprint:g,template:n,queries:null,viewQuery:a,declTNode:t,data:g.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:u,consts:m,incompleteFirstPass:!1,ssrId:l}}function aF(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Mt);return n}function uF(e,t,n,r){let o=r.get(xP,fw)||n===Rt.ShadowDom,s=e.selectRootElement(t,o);return cF(s),s}function cF(e){lF(e)}var lF=()=>null;function dF(e,t,n,r,i,o){let s=t?t.injectorIndex:-1,a=0;return kN()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function F0(e,t,n,r,i){for(let o in t){if(!t.hasOwnProperty(o))continue;let s=t[o];if(s===void 0)continue;r??={};let a,u=Tn.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=o;if(i!==null){if(!i.hasOwnProperty(o))continue;c=i[o]}e===0?R0(r,n,c,a,u):R0(r,n,c,a)}return r}function R0(e,t,n,r,i){let o;e.hasOwnProperty(n)?(o=e[n]).push(t,r):o=e[n]=[t,r],i!==void 0&&o.push(i)}function fF(e,t,n){let r=t.directiveStart,i=t.directiveEnd,o=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l<i;l++){let d=o[l],p=n?n.get(d):null,g=p?p.inputs:null,m=p?p.outputs:null;u=F0(0,d.inputs,l,u,g),c=F0(1,d.outputs,l,c,m);let v=u!==null&&s!==null&&!Fg(t)?OF(u,l,s):null;a.push(v)}u!==null&&(u.hasOwnProperty("class")&&(t.flags|=8),u.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=u,t.outputs=c}function hF(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Fw(e,t,n,r,i,o,s,a){let u=ht(t,n),c=t.inputs,l;!a&&c!=null&&(l=c[r])?(am(e,n,l,r,i),Yu(t)&&pF(n,t.index)):t.type&3?(r=hF(r),i=s!=null?s(i,t.value||"",r):i,o.setProperty(u,r,i)):t.type&12}function pF(e,t){let n=Fn(t,e);n[k]&16||(n[k]|=64)}function Rw(e,t,n,r){if(FD()){let i=r===null?null:{"":-1},o=_F(e,n),s,a;o===null?s=a=null:[s,a]=o,s!==null&&kw(e,t,n,s,i,a),i&&bF(n,r,i)}n.mergedAttrs=as(n.mergedAttrs,n.attrs)}function kw(e,t,n,r,i,o){for(let c=0;c<r.length;c++)eg(Cu(n,t),e,r[c].type);wF(n,e.data.length,r.length);for(let c=0;c<r.length;c++){let l=r[c];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,u=Ow(e,t,r.length,null);for(let c=0;c<r.length;c++){let l=r[c];n.mergedAttrs=as(n.mergedAttrs,l.hostAttrs),EF(e,n,t,u,l),DF(u,l,i),l.contentQueries!==null&&(n.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(n.flags|=64);let d=l.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),u++}fF(e,n,o)}function gF(e,t,n,r,i){let o=i.hostBindings;if(o){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;mF(s)!=a&&s.push(a),s.push(n,r,o)}}function mF(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function vF(e,t,n,r){let i=n.directiveStart,o=n.directiveEnd;Yu(n)&&MF(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||Cu(n,t),Ar(r,t);let s=n.initialInputs;for(let a=i;a<o;a++){let u=e.data[a],c=Ei(t,e,a,n);if(Ar(c,t),s!==null&&IF(t,a-i,c,u,n,s),Nn(u)){let l=Fn(n.index,t);l[Oe]=Ei(t,e,a,n)}}}function jw(e,t,n){let r=n.directiveStart,i=n.directiveEnd,o=n.index,s=zN();try{Ir(o);for(let a=r;a<i;a++){let u=e.data[a],c=t[a];Jp(a),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&yF(u,c)}}finally{Ir(-1),Jp(s)}}function yF(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function _F(e,t){let n=e.directiveRegistry,r=null,i=null;if(n)for(let o=0;o<n.length;o++){let s=n[o];if(nN(t,s.selectors,!1))if(r||(r=[]),Nn(s))if(s.findHostDirectiveDefs!==null){let a=[];i=i||new Map,s.findHostDirectiveDefs(s,a,i),r.unshift(...a,s);let u=a.length;ug(e,t,u)}else r.unshift(s),ug(e,t,0);else i=i||new Map,s.findHostDirectiveDefs?.(s,r,i),r.push(s)}return r===null?null:[r,i]}function ug(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function bF(e,t,n){if(t){let r=e.localNames=[];for(let i=0;i<t.length;i+=2){let o=n[t[i+1]];if(o==null)throw new x(-301,!1);r.push(t[i],o)}}}function DF(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Nn(t)&&(n[""]=e)}}function wF(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function EF(e,t,n,r,i){e.data[r]=i;let o=i.factory||(i.factory=gi(i.type,!0)),s=new Or(o,Nn(i),ae);e.blueprint[r]=s,n[r]=s,gF(e,t,r,Ow(e,n,i.hostVars,Mt),i)}function MF(e,t,n){let r=ht(t,e),i=Pw(n),o=e[kt].rendererFactory,s=16;n.signals?s=4096:n.onPush&&(s=64);let a=oc(e,rc(e,i,null,s,r,t,null,o.createRenderer(r,n),null,null,null));e[t.index]=a}function CF(e,t,n,r,i,o){let s=ht(e,t);SF(t[me],s,o,e.value,n,r,i)}function SF(e,t,n,r,i,o,s){if(o==null)e.removeAttribute(t,i,n);else{let a=s==null?Er(o):s(o,r||"",i);e.setAttribute(t,i,a,n)}}function IF(e,t,n,r,i,o){let s=o[t];if(s!==null)for(let a=0;a<s.length;){let u=s[a++],c=s[a++],l=s[a++],d=s[a++];Iw(r,n,u,c,l,d)}}function OF(e,t,n){let r=null,i=0;for(;i<n.length;){let o=n[i];if(o===0){i+=4;continue}else if(o===5){i+=2;continue}if(typeof o=="number")break;if(e.hasOwnProperty(o)){r===null&&(r=[]);let s=e[o];for(let a=0;a<s.length;a+=3)if(s[a]===t){r.push(o,s[a+1],s[a+2],n[i+1]);break}}i+=2}return r}function Lw(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Vw(e,t){let n=e.contentQueries;if(n!==null){let r=W(null);try{for(let i=0;i<n.length;i+=2){let o=n[i],s=n[i+1];if(s!==-1){let a=e.data[s];VD(o),a.contentQueries(2,t[s],s)}}}finally{W(r)}}}function oc(e,t){return e[ls]?e[_0][_t]=t:e[ls]=t,e[_0]=t,t}function cg(e,t,n){VD(0);let r=W(null);try{t(e,n)}finally{W(r)}}function AF(e){return e[_u]??=[]}function TF(e){return e.cleanup??=[]}function qw(e,t){let n=e[_i],r=n?n.get(tn,null):null;r&&r.handleError(t)}function am(e,t,n,r,i){for(let o=0;o<n.length;){let s=n[o++],a=n[o++],u=n[o++],c=t[s],l=e.data[s];Iw(l,c,r,a,u,i)}}function Uw(e,t,n){let r=AD(t,e);UP(e[me],r,n)}function xF(e,t){let n=Fn(t,e),r=n[$];NF(r,n);let i=n[rn];i!==null&&n[cs]===null&&(n[cs]=em(i,n[_i])),um(r,n,n[Oe])}function NF(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function um(e,t,n){qg(t);try{let r=e.viewQuery;r!==null&&cg(1,r,n);let i=e.template;i!==null&&Aw(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Di]?.finishViewCreation(e),e.staticContentQueries&&Vw(e,t),e.staticViewQueries&&cg(2,e.viewQuery,n);let o=e.components;o!==null&&PF(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[k]&=-5,Ug()}}function PF(e,t){for(let n=0;n<t.length;n++)xF(e,t[n])}function cm(e,t,n,r){let i=W(null);try{let o=t.tView,a=e[k]&4096?4096:16,u=rc(e,o,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),c=e[t.index];u[bi]=c;let l=e[Di];return l!==null&&(u[Di]=l.createEmbeddedView(o)),um(o,u,n),u}finally{W(i)}}function $w(e,t){let n=ke+t;if(n<e.length)return e[n]}function fs(e,t){return!t||t.firstChild===null||sw(e)}function sc(e,t,n,r=!0){let i=t[$];if(zP(i,t,e,n),r){let s=ag(n,e),a=t[me],u=Dw(a,e[Cr]);u!==null&&BP(i,e[Et],a,t,u,s)}let o=t[cs];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function Bw(e,t){let n=ds(e,t);return n!==void 0&&tc(n[$],n),n}function xu(e,t,n,r,i=!1){for(;n!==null;){if(n.type===128){n=i?n.projectionNext:n.next;continue}let o=t[n.index];o!==null&&r.push(jt(o)),on(o)&&FF(o,r);let s=n.type;if(s&8)xu(e,t,n.child,r);else if(s&32){let a=nm(n,t),u;for(;u=a();)r.push(u)}else if(s&16){let a=ww(t,n);if(Array.isArray(a))r.push(...a);else{let u=Sr(t[Dt]);xu(u[$],u,a,r,!0)}}n=i?n.projectionNext:n.next}return r}function FF(e,t){for(let n=ke;n<e.length;n++){let r=e[n],i=r[$].firstChild;i!==null&&xu(r[$],r,i,t)}e[Cr]!==e[rn]&&t.push(e[Cr])}var Hw=[];function RF(e){return e[at]??kF(e)}function kF(e){let t=Hw.pop()??Object.create(LF);return t.lView=e,t}function jF(e){e.lView[at]!==e&&(e.lView=null,Hw.push(e))}var LF=B(D({},Xo),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Ju(e.lView)},consumerOnSignalRead(){this.lView[at]=this}});function VF(e){let t=e[at]??Object.create(qF);return t.lView=e,t}var qF=B(D({},Xo),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Sr(e.lView);for(;t&&!zw(t[$]);)t=Sr(t);t&&xD(t)},consumerOnSignalRead(){this.lView[at]=this}});function zw(e){return e.type!==2}var UF=100;function Ww(e,t=!0,n=0){let r=e[kt],i=r.rendererFactory,o=!1;o||i.begin?.();try{$F(e,n)}catch(s){throw t&&qw(e,s),s}finally{o||(i.end?.(),r.inlineEffectRunner?.flush())}}function $F(e,t){let n=jD();try{D0(!0),lg(e,t);let r=0;for(;Qu(e);){if(r===UF)throw new x(103,!1);r++,lg(e,1)}}finally{D0(n)}}function BF(e,t,n,r){let i=t[k];if((i&256)===256)return;let o=!1,s=!1;!o&&t[kt].inlineEffectRunner?.flush(),qg(t);let a=!0,u=null,c=null;o||(zw(e)?(c=RF(t),u=Pa(c)):Cb()===null?(a=!1,c=VF(t),u=Pa(c)):t[at]&&(cp(t[at]),t[at]=null));try{TD(t),$N(e.bindingStartIndex),n!==null&&Aw(e,t,n,2,r);let l=(i&3)===3;if(!o)if(l){let g=e.preOrderCheckHooks;g!==null&&fu(t,g,null)}else{let g=e.preOrderHooks;g!==null&&hu(t,g,0,null),Tp(t,0)}if(s||HF(t),Gw(t,0),e.contentQueries!==null&&Vw(e,t),!o)if(l){let g=e.contentCheckHooks;g!==null&&fu(t,g)}else{let g=e.contentHooks;g!==null&&hu(t,g,1),Tp(t,1)}oF(e,t);let d=e.components;d!==null&&Yw(t,d,0);let p=e.viewQuery;if(p!==null&&cg(2,p,r),!o)if(l){let g=e.viewCheckHooks;g!==null&&fu(t,g)}else{let g=e.viewHooks;g!==null&&hu(t,g,2),Tp(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Ap]){for(let g of t[Ap])g();t[Ap]=null}o||(t[k]&=-73)}catch(l){throw o||Ju(t),l}finally{c!==null&&(ap(c,u),a&&jF(c)),Ug()}}function Gw(e,t){for(let n=uw(e);n!==null;n=cw(n))for(let r=ke;r<n.length;r++){let i=n[r];Zw(i,t)}}function HF(e){for(let t=uw(e);t!==null;t=cw(t)){if(!(t[k]&wu.HasTransplantedViews))continue;let n=t[Du];for(let r=0;r<n.length;r++){let i=n[r];xD(i)}}}function zF(e,t,n){let r=Fn(t,e);Zw(r,n)}function Zw(e,t){Vg(e)&&lg(e,t)}function lg(e,t){let r=e[$],i=e[k],o=e[at],s=!!(t===0&&i&16);if(s||=!!(i&64&&t===0),s||=!!(i&1024),s||=!!(o?.dirty&&up(o)),s||=!1,o&&(o.dirty=!1),e[k]&=-9217,s)BF(r,e,r.template,e[Oe]);else if(i&8192){Gw(e,1);let a=r.components;a!==null&&Yw(e,a,1)}}function Yw(e,t,n){for(let r=0;r<t.length;r++)zF(e,t[r],n)}function lm(e,t){let n=jD()?64:1088;for(e[kt].changeDetectionScheduler?.notify(t);e;){e[k]|=n;let r=Sr(e);if(Zp(e)&&!r)return e;e=r}return null}var Mi=class{get rootNodes(){let t=this._lView,n=t[$];return xu(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Oe]}set context(t){this._lView[Oe]=t}get destroyed(){return(this._lView[k]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[Le];if(on(t)){let n=t[bu],r=n?n.indexOf(this):-1;r>-1&&(ds(t,r),vu(n,r))}this._attachedToViewContainer=!1}tc(this._lView[$],this._lView)}onDestroy(t){ND(this._lView,t)}markForCheck(){lm(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[k]&=-129}reattach(){Qp(this._lView),this._lView[k]|=128}detectChanges(){this._lView[k]|=1024,Ww(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new x(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Zp(this._lView),n=this._lView[bi];n!==null&&!t&&rm(n,this._lView),yw(this._lView[$],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new x(902,!1);this._appRef=t;let n=Zp(this._lView),r=this._lView[bi];r!==null&&!n&&_w(r,this._lView),Qp(this._lView)}};var gre=new RegExp(`^(\\d+)*(${AP}|${OP})*(.*)`);var WF=()=>null;function hs(e,t){return WF(e,t)}var Ci=class{},dm=new C("",{providedIn:"root",factory:()=>!1});var Qw=new C(""),Jw=new C(""),dg=class{},Nu=class{};function GF(e){let t=Error(`No component factory found for ${ze(e)}.`);return t[ZF]=e,t}var ZF="ngComponent";var fg=class{resolveComponentFactory(t){throw GF(t)}},Si=class{static{this.NULL=new fg}},Ii=class{},kn=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>YF()}}return e})();function YF(){let e=Q(),t=Ge(),n=Fn(t.index,e);return(An(n)?n:e)[me]}var QF=(()=>{class e{static{this.\u0275prov=A({token:e,providedIn:"root",factory:()=>null})}}return e})();function hg(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")o=a;else if(o==1)i=c0(i,a);else if(o==2){let u=a,c=t[++s];r=c0(r,u+": "+c+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}var Pu=class extends Si{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=xn(t);return new Oi(n,this.ngModule)}};function k0(e,t){let n=[];for(let r in e){if(!e.hasOwnProperty(r))continue;let i=e[r];if(i===void 0)continue;let o=Array.isArray(i),s=o?i[0]:i,a=o?i[1]:Tn.None;t?n.push({propName:s,templateName:r,isSignal:(a&Tn.SignalBased)!==0}):n.push({propName:s,templateName:r})}return n}function JF(e){let t=e.toLowerCase();return t==="svg"?ON:t==="math"?AN:null}var Oi=class extends Nu{get inputs(){let t=this.componentDef,n=t.inputTransforms,r=k0(t.inputs,!0);if(n!==null)for(let i of r)n.hasOwnProperty(i.propName)&&(i.transform=n[i.propName]);return r}get outputs(){return k0(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=sN(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,i){let o=W(null);try{i=i||this.ngModule;let s=i instanceof je?i:i?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Kp(t,s):t,u=a.get(Ii,null);if(u===null)throw new x(407,!1);let c=a.get(QF,null),l=a.get(Ci,null),d={rendererFactory:u,sanitizer:c,inlineEffectRunner:null,changeDetectionScheduler:l},p=u.createRenderer(null,this.componentDef),g=this.componentDef.selectors[0][0]||"div",m=r?uF(p,r,this.componentDef.encapsulation,a):vw(p,g,JF(g)),v=512;this.componentDef.signals?v|=4096:this.componentDef.onPush||(v|=16);let y=null;m!==null&&(y=em(m,a,!0));let _=sm(0,null,null,1,0,null,null,null,null,null,null),S=rc(null,_,null,v,null,null,d,p,a,null,y);qg(S);let N,P,L=null;try{let R=this.componentDef,ve,xt=null;R.findHostDirectiveDefs?(ve=[],xt=new Map,R.findHostDirectiveDefs(R,ve,xt),ve.push(R)):ve=[R];let _r=KF(S,m);L=XF(_r,m,R,ve,S,d,p),P=Lg(_,wt),m&&nR(p,R,m,r),n!==void 0&&rR(P,this.ngContentSelectors,n),N=tR(L,R,ve,xt,S,[iR]),um(_,S,null)}catch(R){throw L!==null&&og(L),og(S),R}finally{Ug()}return new pg(this.componentType,N,Jg(P,S),S,P)}finally{W(o)}}},pg=class extends dg{constructor(t,n,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new Mi(i,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode.inputs,i;if(r!==null&&(i=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView;am(o[$],o,i,t,n),this.previousInputValues.set(t,n);let s=Fn(this._tNode.index,o);lm(s,1)}}get injector(){return new Mr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function KF(e,t){let n=e[$],r=wt;return e[r]=t,ic(n,r,2,"#host",null)}function XF(e,t,n,r,i,o,s){let a=i[$];eR(r,e,t,s);let u=null;t!==null&&(u=em(t,i[_i]));let c=o.rendererFactory.createRenderer(t,n),l=16;n.signals?l=4096:n.onPush&&(l=64);let d=rc(i,Pw(n),null,l,i[e.index],e,o,c,null,null,u);return a.firstCreatePass&&ug(a,e,r.length-1),oc(i,d),i[e.index]=d}function eR(e,t,n,r){for(let i of e)t.mergedAttrs=as(t.mergedAttrs,i.hostAttrs);t.mergedAttrs!==null&&(hg(t,t.mergedAttrs,!0),n!==null&&Mw(r,n,t))}function tR(e,t,n,r,i,o){let s=Ge(),a=i[$],u=ht(s,i);kw(a,i,s,n,null,r);for(let l=0;l<n.length;l++){let d=s.directiveStart+l,p=Ei(i,a,d,s);Ar(p,i)}jw(a,i,s),u&&Ar(u,i);let c=Ei(i,a,s.directiveStart+s.componentOffset,s);if(e[Oe]=i[Oe]=c,o!==null)for(let l of o)l(c,t);return Tw(a,s,i),c}function nR(e,t,n,r){if(r)Hp(e,n,["ng-version","18.2.14"]);else{let{attrs:i,classes:o}=aN(t.selectors[0]);i&&Hp(e,n,i),o&&o.length>0&&Ew(e,n,o.join(" "))}}function rR(e,t,n){let r=e.projection=[];for(let i=0;i<t.length;i++){let o=n[i];r.push(o!=null?Array.from(o):null)}}function iR(){let e=Ge();zg(Q()[$],e)}var ac=(()=>{class e{static{this.__NG_ELEMENT_ID__=oR}}return e})();function oR(){let e=Ge();return aR(e,Q())}var sR=ac,Kw=class extends sR{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Jg(this._hostTNode,this._hostLView)}get injector(){return new Mr(this._hostTNode,this._hostLView)}get parentInjector(){let t=Wg(this._hostTNode,this._hostLView);if(GD(t)){let n=Mu(t,this._hostLView),r=Eu(t),i=n[$].data[r+8];return new Mr(i,n)}else return new Mr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=j0(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-ke}createEmbeddedView(t,n,r){let i,o;typeof r=="number"?i=r:r!=null&&(i=r.index,o=r.injector);let s=hs(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},o,s);return this.insertImpl(a,i,fs(this._hostTNode,s)),a}createComponent(t,n,r,i,o){let s=t&&!MN(t),a;if(s)a=n;else{let m=n||{};a=m.index,r=m.injector,i=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}let u=s?t:new Oi(xn(t)),c=r||this.parentInjector;if(!o&&u.ngModule==null){let v=(s?c:this.parentInjector).get(je,null);v&&(o=v)}let l=xn(u.componentType??{}),d=hs(this._lContainer,l?.id??null),p=d?.firstChild??null,g=u.create(c,i,p,o);return this.insertImpl(g.hostView,a,fs(this._hostTNode,d)),g}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let i=t._lView;if(TN(i)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=i[Le],c=new Kw(u,u[Et],u[Le]);c.detach(c.indexOf(t))}}let o=this._adjustIndex(n),s=this._lContainer;return sc(s,i,o,r),t.attachToViewContainerRef(),iD(Rp(s),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=j0(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=ds(this._lContainer,n);r&&(vu(Rp(this._lContainer),n),tc(r[$],r))}detach(t){let n=this._adjustIndex(t,-1),r=ds(this._lContainer,n);return r&&vu(Rp(this._lContainer),n)!=null?new Mi(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function j0(e){return e[bu]}function Rp(e){return e[bu]||(e[bu]=[])}function aR(e,t){let n,r=t[e.index];return on(r)?n=r:(n=Lw(r,t,null,e),t[e.index]=n,oc(t,n)),cR(n,t,e,r),new Kw(n,e,t)}function uR(e,t){let n=e[me],r=n.createComment(""),i=ht(t,e),o=Dw(n,i);return Tu(n,o,r,QP(n,i),!1),r}var cR=fR,lR=()=>!1;function dR(e,t,n){return lR(e,t,n)}function fR(e,t,n,r){if(e[Cr])return;let i;n.type&8?i=jt(r):i=uR(t,n),e[Cr]=i}var L0=new Set;function jn(e){L0.has(e)||(L0.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function hR(e){return typeof e=="function"&&e[Kt]!==void 0}function uc(e,t){jn("NgSignals");let n=kb(e),r=n[Kt];return t?.equal&&(r.equal=t.equal),n.set=i=>lp(r,i),n.update=i=>jb(r,i),n.asReadonly=pR.bind(n),n}function pR(){let e=this[Kt];if(e.readonlyFn===void 0){let t=()=>this();t[Kt]=e,e.readonlyFn=t}return e.readonlyFn}function Xw(e){return hR(e)&&typeof e.set=="function"}function gR(e){let t=[],n=new Map;function r(i){let o=n.get(i);if(!o){let s=e(i);n.set(i,o=s.then(_R))}return o}return Fu.forEach((i,o)=>{let s=[];i.templateUrl&&s.push(r(i.templateUrl).then(c=>{i.template=c}));let a=typeof i.styles=="string"?[i.styles]:i.styles||[];if(i.styles=a,i.styleUrl&&i.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(i.styleUrls?.length){let c=i.styles.length,l=i.styleUrls;i.styleUrls.forEach((d,p)=>{a.push(""),s.push(r(d).then(g=>{a[c+p]=g,l.splice(l.indexOf(d),1),l.length==0&&(i.styleUrls=void 0)}))})}else i.styleUrl&&s.push(r(i.styleUrl).then(c=>{a.push(c),i.styleUrl=void 0}));let u=Promise.all(s).then(()=>bR(o));t.push(u)}),vR(),Promise.all(t).then(()=>{})}var Fu=new Map,mR=new Set;function vR(){let e=Fu;return Fu=new Map,e}function yR(){return Fu.size===0}function _R(e){return typeof e=="string"?e:e.text()}function bR(e){mR.delete(e)}function DR(e){return Object.getPrototypeOf(e.prototype).constructor}function Nr(e){let t=DR(e.type),n=!0,r=[e];for(;t;){let i;if(Nn(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new x(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);let s=e;s.inputs=au(e.inputs),s.inputTransforms=au(e.inputTransforms),s.declaredInputs=au(e.declaredInputs),s.outputs=au(e.outputs);let a=i.hostBindings;a&&SR(e,a);let u=i.viewQuery,c=i.contentQueries;if(u&&MR(e,u),c&&CR(e,c),wR(e,i),O1(e.outputs,i.outputs),Nn(i)&&i.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s<o.length;s++){let a=o[s];a&&a.ngInherit&&a(e),a===Nr&&(n=!1)}}t=Object.getPrototypeOf(t)}ER(r)}function wR(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];if(r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],t.inputTransforms!==null)){let i=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(i))continue;e.inputTransforms??={},e.inputTransforms[i]=t.inputTransforms[i]}}}function ER(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=as(i.hostAttrs,n=as(n,i.hostAttrs))}}function au(e){return e===mi?{}:e===st?[]:e}function MR(e,t){let n=e.viewQuery;n?e.viewQuery=(r,i)=>{t(r,i),n(r,i)}:e.viewQuery=t}function CR(e,t){let n=e.contentQueries;n?e.contentQueries=(r,i,o)=>{t(r,i,o),n(r,i,o)}:e.contentQueries=t}function SR(e,t){let n=e.hostBindings;n?e.hostBindings=(r,i)=>{t(r,i),n(r,i)}:e.hostBindings=t}function fm(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let i=t[r];Array.isArray(i)&&i[3]&&(n[r]=i[3])}e.inputTransforms=n}var Pn=class{},ps=class{};var Ru=class extends Pn{constructor(t,n,r,i=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Pu(this);let o=pD(t);this._bootstrapComponents=mw(o.bootstrap),this._r3Injector=nw(t,n,[{provide:Pn,useValue:this},{provide:Si,useValue:this.componentFactoryResolver},...r],ze(t),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},ku=class extends ps{constructor(t){super(),this.moduleType=t}create(t){return new Ru(this.moduleType,t,[])}};function IR(e,t,n){return new Ru(e,t,n,!1)}var gg=class extends Pn{constructor(t){super(),this.componentFactoryResolver=new Pu(this),this.instance=null;let n=new us([...t.providers,{provide:Pn,useValue:this},{provide:Si,useValue:this.componentFactoryResolver}],t.parent||kg(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function cc(e,t,n=null){return new gg({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function lc(e,t,n){return e[t]=n}function eE(e,t){return e[t]}function ut(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function mg(e,t,n,r){let i=ut(e,t,n);return ut(e,t+1,r)||i}function tE(e,t,n,r,i){let o=mg(e,t,n,r);return ut(e,t+2,i)||o}function OR(e,t,n,r,i,o){let s=mg(e,t,n,r);return mg(e,t+2,i,o)||s}function AR(e){return(e.flags&32)===32}function TR(e,t,n,r,i,o,s,a,u){let c=t.consts,l=ic(t,e,4,s||null,a||null);Rw(t,n,l,wi(c,u)),zg(t,l);let d=l.tView=sm(2,l,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function vg(e,t,n,r,i,o,s,a,u,c){let l=n+wt,d=t.firstCreatePass?TR(l,t,e,r,i,o,s,a,u):t.data[l];ys(d,!1);let p=NR(t,e,d,n);Bg()&&im(t,e,p,d),Ar(p,e);let g=Lw(p,e,p,d);return e[l]=g,oc(e,g),dR(g,d,e),jg(d)&&xw(t,e,d),u!=null&&Nw(e,d,c),d}function xR(e,t,n,r,i,o,s,a){let u=Q(),c=We(),l=wi(c.consts,o);return vg(u,c,e,t,n,r,i,l,s,a),xR}var NR=PR;function PR(e,t,n,r){return Hg(!0),t[me].createComment("")}var fi=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(fi||{}),nE=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=A({token:e,providedIn:"root",factory:()=>new e})}}return e})(),yg=class e{constructor(){this.ngZone=b(ee),this.scheduler=b(Ci),this.errorHandler=b(tn,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[fi.EarlyRead,fi.Write,fi.MixedReadWrite,fi.Read]}execute(){this.executing=!0;for(let t of e.PHASES)for(let n of this.sequences)if(!(n.erroredOrDestroyed||!n.hooks[t]))try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[t](n.pipelinedValue))}catch(r){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(let t of this.sequences)t.afterRun(),t.once&&(this.sequences.delete(t),t.destroy());for(let t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(6))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}static{this.\u0275prov=A({token:e,providedIn:"root",factory:()=>new e})}},_g=class{constructor(t,n,r,i){this.impl=t,this.hooks=n,this.once=r,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function hm(e,t){!t?.injector&&wN(hm);let n=t?.injector??b(et);return LP(n)?(jn("NgAfterNextRender"),RR(e,n,t,!0)):kR}function FR(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function RR(e,t,n,r){let i=t.get(nE);i.impl??=t.get(yg);let o=n?.phase??fi.MixedReadWrite,s=n?.manualCleanup!==!0?t.get(Zg):null,a=new _g(i.impl,FR(e,o),r,s);return i.impl.register(a),a}var kR={destroy(){}};function dc(e,t,n,r){let i=Q(),o=Ni();if(ut(i,o,t)){let s=We(),a=$g();CF(a,i,e,t,n,r)}return dc}function jR(e,t,n,r){return ut(e,Ni(),n)?t+Er(n)+r:Mt}function LR(e,t,n,r,i,o,s,a){let u=UN(),c=tE(e,u,n,i,s);return LD(3),c?t+Er(n)+r+Er(i)+o+Er(s)+a:Mt}function uu(e,t){return e<<17|t<<2}function Tr(e){return e>>17&32767}function VR(e){return(e&2)==2}function qR(e,t){return e&131071|t<<17}function bg(e){return e|2}function Ai(e){return(e&131068)>>2}function kp(e,t){return e&-131069|t<<2}function UR(e){return(e&1)===1}function Dg(e){return e|1}function $R(e,t,n,r,i,o){let s=o?t.classBindings:t.styleBindings,a=Tr(s),u=Ai(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||vs(d,l)>0)&&(c=!0)}else l=n;if(i)if(u!==0){let p=Tr(e[a+1]);e[r+1]=uu(p,a),p!==0&&(e[p+1]=kp(e[p+1],r)),e[a+1]=qR(e[a+1],r)}else e[r+1]=uu(a,0),a!==0&&(e[a+1]=kp(e[a+1],r)),a=r;else e[r+1]=uu(u,0),a===0?a=r:e[u+1]=kp(e[u+1],r),u=r;c&&(e[r+1]=bg(e[r+1])),V0(e,l,r,!0),V0(e,l,r,!1),BR(t,l,e,r,o),s=uu(a,u),o?t.classBindings=s:t.styleBindings=s}function BR(e,t,n,r,i){let o=i?e.residualClasses:e.residualStyles;o!=null&&typeof t=="string"&&vs(o,t)>=0&&(n[r+1]=Dg(n[r+1]))}function V0(e,t,n,r){let i=e[n+1],o=t===null,s=r?Tr(i):Ai(i),a=!1;for(;s!==0&&(a===!1||o);){let u=e[s],c=e[s+1];HR(u,t)&&(a=!0,e[s+1]=r?Dg(c):bg(c)),s=r?Tr(c):Ai(c)}a&&(e[n+1]=r?bg(i):Dg(i))}function HR(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?vs(e,t)>=0:!1}function zR(e,t,n){let r=Q(),i=Ni();if(ut(r,i,t)){let o=We(),s=$g();Fw(o,s,r,e,t,r[me],n,!1)}return zR}function q0(e,t,n,r,i){let o=t.inputs,s=i?"class":"style";am(e,n,o[s],s,r)}function pm(e,t){return WR(e,t,null,!0),pm}function WR(e,t,n,r){let i=Q(),o=We(),s=LD(2);if(o.firstUpdatePass&&ZR(o,e,s,r),t!==Mt&&ut(i,s,t)){let a=o.data[Rn()];XR(o,a,i,i[me],e,i[s+1]=ek(t,n),r,s)}}function GR(e,t){return t>=e.expandoStartIndex}function ZR(e,t,n,r){let i=e.data;if(i[n+1]===null){let o=i[Rn()],s=GR(e,n);tk(o,r)&&t===null&&!s&&(t=!1),t=YR(i,o,t,r),$R(i,o,t,n,s,r)}}function YR(e,t,n,r){let i=WN(e),o=r?t.residualClasses:t.residualStyles;if(i===null)(r?t.classBindings:t.styleBindings)===0&&(n=jp(null,e,t,n,r),n=gs(n,t.attrs,r),o=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==i)if(n=jp(i,e,t,n,r),o===null){let u=QR(e,t,r);u!==void 0&&Array.isArray(u)&&(u=jp(null,e,t,u[1],r),u=gs(u,t.attrs,r),JR(e,t,r,u))}else o=KR(e,t,r)}return o!==void 0&&(r?t.residualClasses=o:t.residualStyles=o),n}function QR(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Ai(r)!==0)return e[Tr(r)]}function JR(e,t,n,r){let i=n?t.classBindings:t.styleBindings;e[Tr(i)]=r}function KR(e,t,n){let r,i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++){let s=e[o].hostAttrs;r=gs(r,s,n)}return gs(r,t.attrs,n)}function jp(e,t,n,r,i){let o=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(o=t[a],r=gs(r,o.hostAttrs,i),o!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function gs(e,t,n){let r=n?1:2,i=-1;if(t!==null)for(let o=0;o<t.length;o++){let s=t[o];typeof s=="number"?i=s:i===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Z1(e,s,n?!0:t[++o]))}return e===void 0?null:e}function XR(e,t,n,r,i,o,s,a){if(!(t.type&3))return;let u=e.data,c=u[a+1],l=UR(c)?U0(u,t,n,i,Ai(c),s):void 0;if(!ju(l)){ju(o)||VR(c)&&(o=U0(u,null,n,i,a,s));let d=AD(Rn(),n);rF(r,s,d,i,o)}}function U0(e,t,n,r,i,o){let s=t===null,a;for(;i>0;){let u=e[i],c=Array.isArray(u),l=c?u[1]:u,d=l===null,p=n[i+1];p===Mt&&(p=d?st:void 0);let g=d?Ip(p,r):l===r?p:void 0;if(c&&!ju(g)&&(g=Ip(u,r)),ju(g)&&(a=g,s))return a;let m=e[i+1];i=s?Tr(m):Ai(m)}if(t!==null){let u=o?t.residualClasses:t.residualStyles;u!=null&&(a=Ip(u,r))}return a}function ju(e){return e!==void 0}function ek(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ze(_s(e)))),e}function tk(e,t){return(e.flags&(t?8:16))!==0}var wg=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),i=Math.max(t,n),o=this.detach(i);if(i-r>1){let s=this.detach(r);this.attach(r,o),this.attach(i,s)}else this.attach(r,o)}move(t,n){this.attach(n,this.detach(t))}};function Lp(e,t,n,r,i){return e===n&&Object.is(t,r)?1:Object.is(i(e,t),i(n,r))?-1:0}function nk(e,t,n){let r,i,o=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let u=t.length-1;for(;o<=s&&o<=u;){let c=e.at(o),l=t[o],d=Lp(o,c,o,l,n);if(d!==0){d<0&&e.updateValue(o,l),o++;continue}let p=e.at(s),g=t[u],m=Lp(s,p,u,g,n);if(m!==0){m<0&&e.updateValue(s,g),s--,u--;continue}let v=n(o,c),y=n(s,p),_=n(o,l);if(Object.is(_,y)){let S=n(u,g);Object.is(S,v)?(e.swap(o,s),e.updateValue(s,g),u--,s--):e.move(s,o),e.updateValue(o,l),o++;continue}if(r??=new Lu,i??=B0(e,o,s,n),Eg(e,r,o,_))e.updateValue(o,l),o++,s++;else if(i.has(_))r.set(v,e.detach(o)),s--;else{let S=e.create(o,t[o]);e.attach(o,S),o++,s++}}for(;o<=u;)$0(e,r,n,o,t[o]),o++}else if(t!=null){let u=t[Symbol.iterator](),c=u.next();for(;!c.done&&o<=s;){let l=e.at(o),d=c.value,p=Lp(o,l,o,d,n);if(p!==0)p<0&&e.updateValue(o,d),o++,c=u.next();else{r??=new Lu,i??=B0(e,o,s,n);let g=n(o,d);if(Eg(e,r,o,g))e.updateValue(o,d),o++,s++,c=u.next();else if(!i.has(g))e.attach(o,e.create(o,d)),o++,s++,c=u.next();else{let m=n(o,l);r.set(m,e.detach(o)),s--}}}for(;!c.done;)$0(e,r,n,e.length,c.value),c=u.next()}for(;o<=s;)e.destroy(e.detach(s--));r?.forEach(u=>{e.destroy(u)})}function Eg(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function $0(e,t,n,r,i){if(Eg(e,t,r,n(r,i)))e.updateValue(r,i);else{let o=e.create(r,i);e.attach(r,o)}}function B0(e,t,n,r){let i=new Set;for(let o=t;o<=n;o++)i.add(r(o,e.at(o)));return i}var Lu=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let i=this._vMap;for(;i.has(r);)r=i.get(r);i.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let i=this._vMap;for(;i.has(r);)r=i.get(r),t(r,n)}}};function vre(e,t){jn("NgControlFlow");let n=Q(),r=Ni(),i=n[r]!==Mt?n[r]:-1,o=i!==-1?Vu(n,wt+i):void 0,s=0;if(ut(n,r,e)){let a=W(null);try{if(o!==void 0&&Bw(o,s),e!==-1){let u=wt+e,c=Vu(n,u),l=Ig(n[$],u),d=hs(c,l.tView.ssrId),p=cm(n,l,t,{dehydratedView:d});sc(c,p,s,fs(l,d))}}finally{W(a)}}else if(o!==void 0){let a=$w(o,s);a!==void 0&&(a[Oe]=t)}}var Mg=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-ke}};function yre(e){return e}function _re(e,t){return t}var Cg=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function bre(e,t,n,r,i,o,s,a,u,c,l,d,p){jn("NgControlFlow");let g=Q(),m=We(),v=u!==void 0,y=Q(),_=a?s.bind(y[Dt][Oe]):s,S=new Cg(v,_);y[wt+e]=S,vg(g,m,e+1,t,n,r,i,wi(m.consts,o)),v&&vg(g,m,e+2,u,c,l,d,wi(m.consts,p))}var Sg=class extends wg{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-ke}at(t){return this.getLView(t)[Oe].$implicit}attach(t,n){let r=n[cs];this.needsIndexUpdate||=t!==this.length,sc(this.lContainer,n,t,fs(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,rk(this.lContainer,t)}create(t,n){let r=hs(this.lContainer,this.templateTNode.tView.ssrId),i=cm(this.hostLView,this.templateTNode,new Mg(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),i}destroy(t){tc(t[$],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[Oe].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[Oe].$index=t}getLView(t){return ik(this.lContainer,t)}};function Dre(e){let t=W(null),n=Rn();try{let r=Q(),i=r[$],o=r[n],s=n+1,a=Vu(r,s);if(o.liveCollection===void 0){let c=Ig(i,s);o.liveCollection=new Sg(a,r,c)}else o.liveCollection.reset();let u=o.liveCollection;if(nk(u,e,o.trackByFn),u.updateIndexes(),o.hasEmptyBlock){let c=Ni(),l=u.length===0;if(ut(r,c,l)){let d=n+2,p=Vu(r,d);if(l){let g=Ig(i,d),m=hs(p,g.tView.ssrId),v=cm(r,g,void 0,{dehydratedView:m});sc(p,v,0,fs(g,m))}else Bw(p,0)}}}finally{W(t)}}function Vu(e,t){return e[t]}function rk(e,t){return ds(e,t)}function ik(e,t){return $w(e,t)}function Ig(e,t){return Lg(e,t)}function ok(e,t,n,r,i,o){let s=t.consts,a=wi(s,i),u=ic(t,e,2,r,a);return Rw(t,n,u,wi(s,o)),u.attrs!==null&&hg(u,u.attrs,!1),u.mergedAttrs!==null&&hg(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function rE(e,t,n,r){let i=Q(),o=We(),s=wt+e,a=i[me],u=o.firstCreatePass?ok(s,o,i,t,n,r):o.data[s],c=sk(o,i,u,a,t,e);i[s]=c;let l=jg(u);return ys(u,!0),Mw(a,c,u),!AR(u)&&Bg()&&im(o,i,c,u),PN()===0&&Ar(c,i),FN(),l&&(xw(o,i,u),Tw(o,u,i)),r!==null&&Nw(i,u),rE}function iE(){let e=Ge();kD()?qN():(e=e.parent,ys(e,!1));let t=e;jN(t)&&LN(),RN();let n=We();return n.firstCreatePass&&(zg(n,e),MD(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&XN(t)&&q0(n,t,Q(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&eP(t)&&q0(n,t,Q(),t.stylesWithoutHost,!1),iE}function gm(e,t,n,r){return rE(e,t,n,r),iE(),gm}var sk=(e,t,n,r,i,o)=>(Hg(!0),vw(r,i,YN()));function wre(){return Q()}var qu="en-US";var ak=qu;function uk(e){typeof e=="string"&&(ak=e.toLowerCase().replace(/_/g,"-"))}var ck=(e,t,n)=>{};function Fi(e,t,n,r){let i=Q(),o=We(),s=Ge();return oE(o,i,i[me],s,e,t,r),Fi}function lk(e,t,n,r){let i=e.cleanup;if(i!=null)for(let o=0;o<i.length-1;o+=2){let s=i[o];if(s===n&&i[o+1]===r){let a=t[_u],u=i[o+2];return a.length>u?a[u]:null}typeof s=="string"&&(o+=2)}return null}function oE(e,t,n,r,i,o,s){let a=jg(r),c=e.firstCreatePass&&TF(e),l=t[Oe],d=AF(t),p=!0;if(r.type&3||s){let v=ht(r,t),y=s?s(v):v,_=d.length,S=s?P=>s(jt(P[r.index])):r.index,N=null;if(!s&&a&&(N=lk(e,t,i,r.index)),N!==null){let P=N.__ngLastListenerFn__||N;P.__ngNextListenerFn__=o,N.__ngLastListenerFn__=o,p=!1}else{o=z0(r,t,l,o),ck(v,i,o);let P=n.listen(y,i,o);d.push(o,P),c&&c.push(i,S,_,_+1)}}else o=z0(r,t,l,o);let g=r.outputs,m;if(p&&g!==null&&(m=g[i])){let v=m.length;if(v)for(let y=0;y<v;y+=2){let _=m[y],S=m[y+1],L=t[_][S].subscribe(o),R=d.length;d.push(o,L),c&&c.push(i,r.index,R,-(R+1))}}}function H0(e,t,n,r){let i=W(null);try{return Pt(6,t,n),n(r)!==!1}catch(o){return qw(e,o),!1}finally{Pt(7,t,n),W(i)}}function z0(e,t,n,r){return function i(o){if(o===Function)return r;let s=e.componentOffset>-1?Fn(e.index,t):t;lm(s,5);let a=H0(t,n,r,o),u=i.__ngNextListenerFn__;for(;u;)a=H0(t,n,u,o)&&a,u=u.__ngNextListenerFn__;return a}}function Ere(e=1){return ZN(e)}function Mre(e,t=""){let n=Q(),r=We(),i=e+wt,o=r.firstCreatePass?ic(r,i,1,t,null):r.data[i],s=dk(r,n,o,t,e);n[i]=s,Bg()&&im(r,n,s,o),ys(o,!1)}var dk=(e,t,n,r,i)=>(Hg(!0),qP(t[me],r));function fk(e){return sE("",e,""),fk}function sE(e,t,n){let r=Q(),i=jR(r,e,t,n);return i!==Mt&&Uw(r,Rn(),i),sE}function hk(e,t,n,r,i,o,s){let a=Q(),u=LR(a,e,t,n,r,i,o,s);return u!==Mt&&Uw(a,Rn(),u),hk}function pk(e,t,n){Xw(t)&&(t=t());let r=Q(),i=Ni();if(ut(r,i,t)){let o=We(),s=$g();Fw(o,s,r,e,t,r[me],n,!1)}return pk}function Cre(e,t){let n=Xw(e);return n&&e.set(t),n}function gk(e,t){let n=Q(),r=We(),i=Ge();return oE(r,n,n[me],i,e,t),gk}function mk(e,t,n){let r=We();if(r.firstCreatePass){let i=Nn(e);Og(n,r.data,r.blueprint,i,!0),Og(t,r.data,r.blueprint,i,!1)}}function Og(e,t,n,r,i){if(e=Re(e),Array.isArray(e))for(let o=0;o<e.length;o++)Og(e[o],t,n,r,i);else{let o=We(),s=Q(),a=Ge(),u=yi(e)?e:Re(e.provide),c=bD(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(yi(e)||!e.multi){let g=new Or(c,i,ae),m=qp(u,t,i?l:l+p,d);m===-1?(eg(Cu(a,s),o,u),Vp(o,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(g),s.push(g)):(n[m]=g,s[m]=g)}else{let g=qp(u,t,l+p,d),m=qp(u,t,l,l+p),v=g>=0&&n[g],y=m>=0&&n[m];if(i&&!y||!i&&!v){eg(Cu(a,s),o,u);let _=_k(i?yk:vk,n.length,i,r,c);!i&&y&&(n[m].providerFactory=_),Vp(o,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(_),s.push(_)}else{let _=aE(n[i?m:g],c,!i&&r);Vp(o,e,g>-1?g:m,_)}!i&&r&&y&&n[m].componentProviders++}}}function Vp(e,t,n,r){let i=yi(t),o=gN(t);if(i||o){let u=(o?Re(t.useClass):t).prototype.ngOnDestroy;if(u){let c=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function aE(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function qp(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function vk(e,t,n,r){return Ag(this.multi,[])}function yk(e,t,n,r){let i=this.multi,o;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Ei(n,n[$],this.providerFactory.index,r);o=a.slice(0,s),Ag(i,o);for(let u=s;u<a.length;u++)o.push(a[u])}else o=[],Ag(i,o);return o}function Ag(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function _k(e,t,n,r,i){let o=new Or(e,n,ae);return o.multi=[],o.index=t,o.componentProviders=0,aE(o,i,r&&!n),o}function fc(e,t=[]){return n=>{n.providersResolver=(r,i)=>mk(r,i?i(e):e,t)}}var bk=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=vD(!1,n.type),i=r.length>0?cc([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=A({token:e,providedIn:"environment",factory:()=>new e(T(je))})}}return e})();function uE(e){jn("NgStandalone"),e.getStandaloneInjector=t=>t.get(bk).getOrCreateStandaloneInjector(e)}function Sre(e,t,n){let r=Ku()+e,i=Q();return i[r]===Mt?lc(i,r,n?t.call(n):t()):eE(i,r)}function Ire(e,t,n,r){return Dk(Q(),Ku(),e,t,n,r)}function Ore(e,t,n,r,i,o){return wk(Q(),Ku(),e,t,n,r,i,o)}function Are(e,t,n,r,i,o,s,a){let u=Ku()+e,c=Q(),l=OR(c,u,n,r,i,o);return ut(c,u+4,s)||l?lc(c,u+5,a?t.call(a,n,r,i,o,s):t(n,r,i,o,s)):eE(c,u+5)}function cE(e,t){let n=e[t];return n===Mt?void 0:n}function Dk(e,t,n,r,i,o){let s=t+n;return ut(e,s,i)?lc(e,s+1,o?r.call(o,i):r(i)):cE(e,s+1)}function wk(e,t,n,r,i,o,s,a){let u=t+n;return tE(e,u,i,o,s)?lc(e,u+3,a?r.call(a,i,o,s):r(i,o,s)):cE(e,u+3)}var cu=null;function Ek(e){cu!==null&&(e.defaultEncapsulation!==cu.defaultEncapsulation||e.preserveWhitespaces!==cu.preserveWhitespaces)||(cu=e)}var hc=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();var mm=new C(""),bs=new C(""),pc=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,vm||(Mk(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ee.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(n)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),n()},r)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}static{this.\u0275fac=function(r){return new(r||e)(T(ee),T(gc),T(bs))}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac})}}return e})(),gc=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return vm?.findTestabilityInTree(this,n,r)??null}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();function Mk(e){vm=e}var vm;function Pr(e){return!!e&&typeof e.then=="function"}function lE(e){return!!e&&typeof e.subscribe=="function"}var mc=new C(""),dE=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=b(mc,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=i();if(Pr(o))n.push(o);else if(lE(o)){let s=new Promise((a,u)=>{o.subscribe({complete:a,error:u})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),n.length===0&&r(),this.initialized=!0}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),vc=new C("");function Ck(){Rb(()=>{throw new x(600,!1)})}function Sk(e){return e.isBoundToModule}var Ik=10;function Ok(e,t,n){try{let r=n();return Pr(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}function fE(e,t){return Array.isArray(t)?t.reduce(fE,e):D(D({},e),t)}var un=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=b(DP),this.afterRenderManager=b(nE),this.zonelessEnabled=b(dm),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new ye,this.afterTick=new ye,this.componentTypes=[],this.components=[],this.isStable=b(sn).hasPendingTasks.pipe(V(n=>!n)),this._injector=b(je)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,r){let i=n instanceof Nu;if(!this._injector.get(dE).done){let p=!i&&hD(n),g=!1;throw new x(405,g)}let s;i?s=n:s=this._injector.get(Si).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=Sk(s)?void 0:this._injector.get(Pn),u=r||s.selector,c=s.create(et.NULL,[],u,a),l=c.location.nativeElement,d=c.injector.get(mm,null);return d?.registerApplication(l),c.onDestroy(()=>{this.detachView(c.hostView),pu(this.components,c),d?.unregisterApplication(l)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new x(101,!1);let n=W(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,W(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Ii,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;this.dirtyFlags!==0&&r++<Ik;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(r);for(let{_lView:i,notifyErrorHandler:o}of this._views)Ak(i,o,r,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&7)return}else n?.begin?.(),n?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Qu(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;pu(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(vc,[]);[...this._bootstrapListeners,...r].forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>pu(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new x(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function pu(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Ak(e,t,n,r){if(!n&&!Qu(e))return;Ww(e,t,n&&!r?0:1)}var Tg=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},yc=(()=>{class e{compileModuleSync(n){return new ku(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),i=pD(n),o=mw(i.declarations).reduce((s,a)=>{let u=xn(a);return u&&s.push(new Oi(u)),s},[]);return new Tg(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Tk=new C("");function xk(e,t,n){let r=new ku(n);return Promise.resolve(r)}function W0(e){for(let t=e.length-1;t>=0;t--)if(e[t]!==void 0)return e[t]}var Nk=(()=>{class e{constructor(){this.zone=b(ee),this.changeDetectionScheduler=b(Ci),this.applicationRef=b(un)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Pk({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new ee(B(D({},hE()),{scheduleInRootZone:n})),[{provide:ee,useFactory:e},{provide:vi,multi:!0,useFactory:()=>{let r=b(Nk,{optional:!0});return()=>r.initialize()}},{provide:vi,multi:!0,useFactory:()=>{let r=b(Fk);return()=>{r.initialize()}}},t===!0?{provide:Qw,useValue:!0}:[],{provide:Jw,useValue:n??rw}]}function hE(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Fk=(()=>{class e{constructor(){this.subscription=new de,this.initialized=!1,this.zone=b(ee),this.pendingTasks=b(sn)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ee.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ee.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Rk=(()=>{class e{constructor(){this.appRef=b(un),this.taskService=b(sn),this.ngZone=b(ee),this.zonelessEnabled=b(dm),this.disableScheduling=b(Qw,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new de,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Iu):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(b(Jw,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Ou||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?I0:iw;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Iu+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,I0(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function kk(){return typeof $localize<"u"&&$localize.locale||qu}var ym=new C("",{providedIn:"root",factory:()=>b(ym,H.Optional|H.SkipSelf)||kk()});var Uu=new C("");function lu(e){return!e.moduleRef}function jk(e){let t=lu(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ee);return n.run(()=>{lu(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(tn,null),i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:o=>{r.handleError(o)}})}),lu(e)){let o=()=>t.destroy(),s=e.platformInjector.get(Uu);s.add(o),t.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Uu);s.add(o),e.moduleRef.onDestroy(()=>{pu(e.allPlatformModules,e.moduleRef),i.unsubscribe(),s.delete(o)})}return Ok(r,n,()=>{let o=t.get(dE);return o.runInitializers(),o.donePromise.then(()=>{let s=t.get(ym,qu);if(uk(s||qu),lu(e)){let a=t.get(un);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return Lk(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function Lk(e,t){let n=e.injector.get(un);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new x(-403,!1);t.push(e)}var pE=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){let i=r?.scheduleInRootZone,o=()=>bP(r?.ngZone,B(D({},hE({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing})),{scheduleInRootZone:i})),s=r?.ignoreChangesOutsideZone,a=[Pk({ngZoneFactory:o,ignoreChangesOutsideZone:s}),{provide:Ci,useExisting:Rk}],u=IR(n.moduleType,this.injector,a);return jk({moduleRef:u,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,r=[]){let i=fE({},r);return xk(this.injector,i,n).then(o=>this.bootstrapModuleFactory(o,i))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new x(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let n=this._injector.get(Uu,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static{this.\u0275fac=function(r){return new(r||e)(T(et))}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})(),os=null,$u=new C("");function Vk(e){if(bm())throw new x(400,!1);Ck(),os=e.get($u,!1)?null:e;let n=e.get(pE);return $k(e),n}function _m(e,t,n=[]){let r=`Platform: ${t}`,i=new C(r);return(o=[])=>{let s=bm();if(!s||s.injector.get($u,!1)){let u=[...n,...o,{provide:i,useValue:!0}];s=e?.(u)??Vk(qk(u,r))}return s.injector.get($u,!1)?s:Uk(i)}}function qk(e=[],t){return et.create({name:t,providers:[{provide:Gu,useValue:"platform"},{provide:Uu,useValue:new Set([()=>os=null])},...e]})}function Uk(e){let t=bm();if(!t)throw new x(401,!1);return t}function bm(){return os&&os.get($u,!1)?null:os?.get(pE)??null}function $k(e){e.get(Kg,null)?.forEach(n=>n())}var Fr=(()=>{class e{static{this.__NG_ELEMENT_ID__=Bk}}return e})();function Bk(e){return Hk(Ge(),Q(),(e&16)===16)}function Hk(e,t,n){if(Yu(e)&&!n){let r=Fn(e.index,t);return new Mi(r,r)}else if(e.type&175){let r=t[Dt];return new Mi(r,t)}return null}var gE=_m(null,"core",[]),mE=(()=>{class e{constructor(n){}static{this.\u0275fac=function(r){return new(r||e)(T(un))}}static{this.\u0275mod=lt({type:e})}static{this.\u0275inj=ct({})}}return e})();function Rr(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function _c(e,t){jn("NgSignals");let n=Nb(e);return t?.equal&&(n[Kt].equal=t.equal),n}function Ln(e){let t=W(null);try{return e()}finally{W(t)}}function vE(e){let t=xn(e);if(!t)return null;let n=new Oi(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var DE=null;function Vt(){return DE}function wE(e){DE??=e}var bc=class{};var Ae=new C(""),Cm=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=A({token:e,factory:()=>b(Wk),providedIn:"platform"})}}return e})(),EE=new C(""),Wk=(()=>{class e extends Cm{constructor(){super(),this._doc=b(Ae),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Vt().getBaseHref(this._doc)}onPopState(n){let r=Vt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Vt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,i){this._history.pushState(n,r,i)}replaceState(n,r,i){this._history.replaceState(n,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=A({token:e,factory:()=>new e,providedIn:"platform"})}}return e})();function Sm(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function yE(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function cn(e){return e&&e[0]!=="?"?"?"+e:e}var ln=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=A({token:e,factory:()=>b(Im),providedIn:"root"})}}return e})(),ME=new C(""),Im=(()=>{class e extends ln{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??b(Ae).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Sm(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+cn(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,o){let s=this.prepareExternalUrl(i+cn(o));this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){let s=this.prepareExternalUrl(i+cn(o));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static{this.\u0275fac=function(r){return new(r||e)(T(Cm),T(ME,8))}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),CE=(()=>{class e extends ln{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=Sm(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,i,o){let s=this.prepareExternalUrl(i+cn(o));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){let s=this.prepareExternalUrl(i+cn(o));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static{this.\u0275fac=function(r){return new(r||e)(T(Cm),T(ME,8))}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac})}}return e})(),ki=(()=>{class e{constructor(n){this._subject=new ge,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=Yk(yE(_E(r))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+cn(r))}normalize(n){return e.stripTrailingSlash(Zk(this._basePath,_E(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._locationStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+cn(r)),i)}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+cn(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r,complete:i})}static{this.normalizeQueryParams=cn}static{this.joinWithSlash=Sm}static{this.stripTrailingSlash=yE}static{this.\u0275fac=function(r){return new(r||e)(T(ln))}}static{this.\u0275prov=A({token:e,factory:()=>Gk(),providedIn:"root"})}}return e})();function Gk(){return new ki(T(ln))}function Zk(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function _E(e){return e.replace(/\/index.html$/,"")}function Yk(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function Dc(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[i,o]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===t)return decodeURIComponent(o)}return null}var Dm=/\s+/,bE=[],rie=(()=>{class e{constructor(n,r){this._ngEl=n,this._renderer=r,this.initialClasses=bE,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(Dm):bE}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Dm):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let i=this.stateMap.get(n);i!==void 0?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],i=n[1];i.changed?(this._toggleClass(r,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),i.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(Dm).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static{this.\u0275fac=function(r){return new(r||e)(ae(an),ae(kn))}}static{this.\u0275dir=dt({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return e})();var SE=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=lt({type:e})}static{this.\u0275inj=ct({})}}return e})(),Om="browser",Qk="server";function Jk(e){return e===Om}function wc(e){return e===Qk}var IE=(()=>{class e{static{this.\u0275prov=A({token:e,providedIn:"root",factory:()=>Jk(b(Lt))?new wm(b(Ae),window):new Em})}}return e})(),wm=class{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){let n=Kk(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){let n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,i=n.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(r-o[0],i-o[1])}};function Kk(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),i=r.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(t)||o.querySelector(`[name="${t}"]`);if(s)return s}i=r.nextNode()}}return null}var Em=class{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}},Ri=class{};var Es=class{},Mc=class{},dn=class e{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
|
|
218
|
-
`).forEach(n=>{let r=n.indexOf(":");if(r>0){let i=n.slice(0,r),o=i.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let i=(t.op==="a"?this.headers.get(n):void 0)||[];i.push(...r),this.headers.set(n,i);break;case"d":let o=t.value;if(!o)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(o=>o.toString()),i=t.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(t,i)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var Tm=class{encodeKey(t){return AE(t)}encodeValue(t){return AE(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function Xk(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,o)),t.decodeValue(i.slice(o+1))],u=n.get(s)||[];u.push(a),n.set(s,u)}),n}var ej=/%(\d[a-f0-9])/gi,tj={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function AE(e){return encodeURIComponent(e).replace(ej,(t,n)=>tj[n]??t)}function Ec(e){return`${e}`}var qn=class e{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Tm,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=Xk(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],i=Array.isArray(r)?r.map(Ec):[Ec(r)];this.map.set(n,i)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let i=t[r];Array.isArray(i)?i.forEach(o=>{n.push({param:r,value:o,op:"a"})}):n.push({param:r,value:i,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(Ec(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],i=r.indexOf(Ec(t.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var xm=class{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function nj(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function TE(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function xE(e){return typeof Blob<"u"&&e instanceof Blob}function NE(e){return typeof FormData<"u"&&e instanceof FormData}function rj(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var ws=class e{constructor(t,n,r,i){this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();let o;if(nj(this.method)||i?(this.body=r!==void 0?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new dn,this.context??=new xm,!this.params)this.params=new qn,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),u=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+u+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||TE(this.body)||xE(this.body)||NE(this.body)||rj(this.body)?this.body:this.body instanceof qn?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||NE(this.body)?null:xE(this.body)?this.body.type||null:TE(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof qn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,i=t.responseType||this.responseType,o=t.transferCache??this.transferCache,s=t.body!==void 0?t.body:this.body,a=t.withCredentials??this.withCredentials,u=t.reportProgress??this.reportProgress,c=t.headers||this.headers,l=t.params||this.params,d=t.context??this.context;return t.setHeaders!==void 0&&(c=Object.keys(t.setHeaders).reduce((p,g)=>p.set(g,t.setHeaders[g]),c)),t.setParams&&(l=Object.keys(t.setParams).reduce((p,g)=>p.set(g,t.setParams[g]),l)),new e(n,r,s,{params:l,headers:c,context:d,reportProgress:u,responseType:i,withCredentials:a,transferCache:o})}},Un=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Un||{}),Ms=class{constructor(t,n=200,r="OK"){this.headers=t.headers||new dn,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},Cc=class e extends Ms{constructor(t={}){super(t),this.type=Un.ResponseHeader}clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Cs=class e extends Ms{constructor(t={}){super(t),this.type=Un.Response,this.body=t.body!==void 0?t.body:null}clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Vn=class extends Ms{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},jE=200,ij=204;function Am(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}var oj=(()=>{class e{constructor(n){this.handler=n}request(n,r,i={}){let o;if(n instanceof ws)o=n;else{let u;i.headers instanceof dn?u=i.headers:u=new dn(i.headers);let c;i.params&&(i.params instanceof qn?c=i.params:c=new qn({fromObject:i.params})),o=new ws(n,r,i.body!==void 0?i.body:null,{headers:u,context:i.context,params:c,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let s=F(o).pipe(Xt(u=>this.handler.handle(u)));if(n instanceof ws||i.observe==="events")return s;let a=s.pipe(Be(u=>u instanceof Cs));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(V(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return a.pipe(V(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return a.pipe(V(u=>{if(u.body!==null&&typeof u.body!="string")throw new Error("Response is not a string.");return u.body}));case"json":default:return a.pipe(V(u=>u.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new qn().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,i={}){return this.request("PATCH",n,Am(i,r))}post(n,r,i={}){return this.request("POST",n,Am(i,r))}put(n,r,i={}){return this.request("PUT",n,Am(i,r))}static{this.\u0275fac=function(r){return new(r||e)(T(Es))}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac})}}return e})(),sj=/^\)\]\}',?\n/,aj="X-Request-URL";function PE(e){if(e.url)return e.url;let t=aj.toLocaleLowerCase();return e.headers.get(t)}var uj=(()=>{class e{constructor(){this.fetchImpl=b(Nm,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n)),this.ngZone=b(ee)}handle(n){return new Z(r=>{let i=new AbortController;return this.doRequest(n,i.signal,r).then(Pm,o=>r.error(new Vn({error:o}))),()=>i.abort()})}doRequest(n,r,i){return we(this,null,function*(){let o=this.createRequestInit(n),s;try{let g=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,D({signal:r},o)));cj(g),i.next({type:Un.Sent}),s=yield g}catch(g){i.error(new Vn({error:g,status:g.status??0,statusText:g.statusText,url:n.urlWithParams,headers:g.headers}));return}let a=new dn(s.headers),u=s.statusText,c=PE(s)??n.urlWithParams,l=s.status,d=null;if(n.reportProgress&&i.next(new Cc({headers:a,status:l,statusText:u,url:c})),s.body){let g=s.headers.get("content-length"),m=[],v=s.body.getReader(),y=0,_,S,N=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>we(this,null,function*(){for(;;){let{done:L,value:R}=yield v.read();if(L)break;if(m.push(R),y+=R.length,n.reportProgress){S=n.responseType==="text"?(S??"")+(_??=new TextDecoder).decode(R,{stream:!0}):void 0;let ve=()=>i.next({type:Un.DownloadProgress,total:g?+g:void 0,loaded:y,partialText:S});N?N.run(ve):ve()}}}));let P=this.concatChunks(m,y);try{let L=s.headers.get("Content-Type")??"";d=this.parseBody(n,P,L)}catch(L){i.error(new Vn({error:L,headers:new dn(s.headers),status:s.status,statusText:s.statusText,url:PE(s)??n.urlWithParams}));return}}l===0&&(l=d?jE:0),l>=200&&l<300?(i.next(new Cs({body:d,headers:a,status:l,statusText:u,url:c})),i.complete()):i.error(new Vn({error:d,headers:a,status:l,statusText:u,url:c}))})}parseBody(n,r,i){switch(n.responseType){case"json":let o=new TextDecoder().decode(r).replace(sj,"");return o===""?null:JSON.parse(o);case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:i});case"arraybuffer":return r.buffer}}createRequestInit(n){let r={},i=n.withCredentials?"include":void 0;if(n.headers.forEach((o,s)=>r[o]=s.join(",")),n.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!n.headers.has("Content-Type")){let o=n.detectContentTypeHeader();o!==null&&(r["Content-Type"]=o)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:i}}concatChunks(n,r){let i=new Uint8Array(r),o=0;for(let s of n)i.set(s,o),o+=s.length;return i}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac})}}return e})(),Nm=class{};function Pm(){}function cj(e){e.then(Pm,Pm)}function LE(e,t){return t(e)}function lj(e,t){return(n,r)=>t.intercept(n,{handle:i=>e(i,r)})}function dj(e,t,n){return(r,i)=>ft(n,()=>t(r,o=>e(o,i)))}var fj=new C(""),Fm=new C(""),hj=new C(""),VE=new C("",{providedIn:"root",factory:()=>!0});function pj(){let e=null;return(t,n)=>{e===null&&(e=(b(fj,{optional:!0})??[]).reduceRight(lj,LE));let r=b(sn);if(b(VE)){let o=r.add();return e(t,n).pipe(Sn(()=>r.remove(o)))}else return e(t,n)}}var FE=(()=>{class e extends Es{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=b(sn),this.contributeToStability=b(VE)}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Fm),...this.injector.get(hj,[])]));this.chain=r.reduceRight((i,o)=>dj(i,o,this.injector),LE)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(Sn(()=>this.pendingTasks.remove(r)))}else return this.chain(n,r=>this.backend.handle(r))}static{this.\u0275fac=function(r){return new(r||e)(T(Mc),T(je))}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac})}}return e})();var gj=/^\)\]\}',?\n/;function mj(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}var RE=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new x(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?se(r.\u0275loadImpl()):F(null)).pipe(He(()=>new Z(o=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((v,y)=>s.setRequestHeader(v,y.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let v=n.detectContentTypeHeader();v!==null&&s.setRequestHeader("Content-Type",v)}if(n.responseType){let v=n.responseType.toLowerCase();s.responseType=v!=="json"?v:"text"}let a=n.serializeBody(),u=null,c=()=>{if(u!==null)return u;let v=s.statusText||"OK",y=new dn(s.getAllResponseHeaders()),_=mj(s)||n.url;return u=new Cc({headers:y,status:s.status,statusText:v,url:_}),u},l=()=>{let{headers:v,status:y,statusText:_,url:S}=c(),N=null;y!==ij&&(N=typeof s.response>"u"?s.responseText:s.response),y===0&&(y=N?jE:0);let P=y>=200&&y<300;if(n.responseType==="json"&&typeof N=="string"){let L=N;N=N.replace(gj,"");try{N=N!==""?JSON.parse(N):null}catch(R){N=L,P&&(P=!1,N={error:R,text:N})}}P?(o.next(new Cs({body:N,headers:v,status:y,statusText:_,url:S||void 0})),o.complete()):o.error(new Vn({error:N,headers:v,status:y,statusText:_,url:S||void 0}))},d=v=>{let{url:y}=c(),_=new Vn({error:v,status:s.status||0,statusText:s.statusText||"Unknown Error",url:y||void 0});o.error(_)},p=!1,g=v=>{p||(o.next(c()),p=!0);let y={type:Un.DownloadProgress,loaded:v.loaded};v.lengthComputable&&(y.total=v.total),n.responseType==="text"&&s.responseText&&(y.partialText=s.responseText),o.next(y)},m=v=>{let y={type:Un.UploadProgress,loaded:v.loaded};v.lengthComputable&&(y.total=v.total),o.next(y)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",g),a!==null&&s.upload&&s.upload.addEventListener("progress",m)),s.send(a),o.next({type:Un.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",g),a!==null&&s.upload&&s.upload.removeEventListener("progress",m)),s.readyState!==s.DONE&&s.abort()}})))}static{this.\u0275fac=function(r){return new(r||e)(T(Ri))}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac})}}return e})(),qE=new C(""),vj="XSRF-TOKEN",yj=new C("",{providedIn:"root",factory:()=>vj}),_j="X-XSRF-TOKEN",bj=new C("",{providedIn:"root",factory:()=>_j}),Sc=class{},Dj=(()=>{class e{constructor(n,r,i){this.doc=n,this.platform=r,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Dc(n,this.cookieName),this.lastCookieString=n),this.lastToken}static{this.\u0275fac=function(r){return new(r||e)(T(Ae),T(Lt),T(yj))}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac})}}return e})();function wj(e,t){let n=e.url.toLowerCase();if(!b(qE)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let r=b(Sc).getToken(),i=b(bj);return r!=null&&!e.headers.has(i)&&(e=e.clone({headers:e.headers.set(i,r)})),t(e)}var UE=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(UE||{});function Ej(e,t){return{\u0275kind:e,\u0275providers:t}}function Mj(...e){let t=[oj,RE,FE,{provide:Es,useExisting:FE},{provide:Mc,useFactory:()=>b(uj,{optional:!0})??b(RE)},{provide:Fm,useValue:wj,multi:!0},{provide:qE,useValue:!0},{provide:Sc,useClass:Dj}];for(let n of e)t.push(...n.\u0275providers);return Wu(t)}var kE=new C("");function Cj(){return Ej(UE.LegacyInterceptors,[{provide:kE,useFactory:pj},{provide:Fm,useExisting:kE,multi:!0}])}var vie=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=lt({type:e})}static{this.\u0275inj=ct({providers:[Mj(Cj())]})}}return e})();var jm=class extends bc{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Lm=class e extends jm{static makeCurrent(){wE(new e)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=Sj();return n==null?null:Ij(n)}resetBaseElement(){Ss=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Dc(document.cookie,t)}},Ss=null;function Sj(){return Ss=Ss||document.querySelector("base"),Ss?Ss.getAttribute("href"):null}function Ij(e){return new URL(e,document.baseURI).pathname}var Vm=class{addToWindow(t){bt.getAngularTestability=(r,i=!0)=>{let o=t.findTestabilityInTree(r,i);if(o==null)throw new x(5103,!1);return o},bt.getAllAngularTestabilities=()=>t.getAllTestabilities(),bt.getAllAngularRootElements=()=>t.getAllRootElements();let n=r=>{let i=bt.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&r()};i.forEach(a=>{a.whenStable(s)})};bt.frameworkStabilizers||(bt.frameworkStabilizers=[]),bt.frameworkStabilizers.push(n)}findTestabilityInTree(t,n,r){if(n==null)return null;let i=t.getTestability(n);return i??(r?Vt().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},Oj=(()=>{class e{build(){return new XMLHttpRequest}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac})}}return e})(),qm=new C(""),zE=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,i){return this._findPluginFor(r).addEventListener(n,r,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(o=>o.supports(n)),!r)throw new x(5101,!1);return this._eventNameToPlugin.set(n,r),r}static{this.\u0275fac=function(r){return new(r||e)(T(qm),T(ee))}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac})}}return e})(),Ic=class{constructor(t){this._doc=t}},Rm="ng-app-id",WE=(()=>{class e{constructor(n,r,i,o={}){this.doc=n,this.appId=r,this.nonce=i,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=wc(o),this.resetHostNodes()}addStyles(n){for(let r of n)this.changeUsageCount(r,1)===1&&this.onStyleAdded(r)}removeStyles(n){for(let r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(let r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){let r=this.styleRef;r.get(n)?.elements?.forEach(i=>i.remove()),r.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${Rm}="${this.appId}"]`);if(n?.length){let r=new Map;return n.forEach(i=>{i.textContent!=null&&r.set(i.textContent,i)}),r}return null}changeUsageCount(n,r){let i=this.styleRef;if(i.has(n)){let o=i.get(n);return o.usage+=r,o.usage}return i.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){let i=this.styleNodesInDOM,o=i?.get(r);if(o?.parentNode===n)return i.delete(r),o.removeAttribute(Rm),o;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(Rm,this.appId),n.appendChild(s),s}}addStyleToHost(n,r){let i=this.getStyleElement(n,r),o=this.styleRef,s=o.get(r)?.elements;s?s.push(i):o.set(r,{elements:[i],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}static{this.\u0275fac=function(r){return new(r||e)(T(Ae),T(Xu),T(Xg,8),T(Lt))}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac})}}return e})(),km={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},$m=/%COMP%/g,GE="%COMP%",Aj=`_nghost-${GE}`,Tj=`_ngcontent-${GE}`,xj=!0,Nj=new C("",{providedIn:"root",factory:()=>xj});function Pj(e){return Tj.replace($m,e)}function Fj(e){return Aj.replace($m,e)}function ZE(e,t){return t.map(n=>n.replace($m,e))}var $E=(()=>{class e{constructor(n,r,i,o,s,a,u,c=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=u,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=wc(a),this.defaultRenderer=new Is(n,s,u,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Rt.ShadowDom&&(r=B(D({},r),{encapsulation:Rt.Emulated}));let i=this.getOrCreateRenderer(n,r);return i instanceof Oc?i.applyToHost(n):i instanceof Os&&i.applyStyles(),i}getOrCreateRenderer(n,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,u=this.eventManager,c=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case Rt.Emulated:o=new Oc(u,c,r,this.appId,l,s,a,d);break;case Rt.ShadowDom:return new Um(u,c,n,r,s,a,this.nonce,d);default:o=new Os(u,c,r,l,s,a,d);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(r){return new(r||e)(T(zE),T(WE),T(Xu),T(Nj),T(Ae),T(Lt),T(ee),T(Xg))}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac})}}return e})(),Is=class{constructor(t,n,r,i){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(km[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(BE(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(BE(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new x(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,i){if(i){n=i+":"+n;let o=km[i];o?t.setAttributeNS(o,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let i=km[r];i?t.removeAttributeNS(i,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,i){i&(nn.DashCase|nn.Important)?t.style.setProperty(n,r,i&nn.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&nn.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if(typeof t=="string"&&(t=Vt().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function BE(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Um=class extends Is{constructor(t,n,r,i,o,s,a,u){super(t,o,s,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=ZE(i.id,i.styles);for(let l of c){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Os=class extends Is{constructor(t,n,r,i,o,s,a,u){super(t,o,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=i,this.styles=u?ZE(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Oc=class extends Os{constructor(t,n,r,i,o,s,a,u){let c=i+"-"+r.id;super(t,n,r,o,s,a,u,c),this.contentAttr=Pj(c),this.hostAttr=Fj(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}},Rj=(()=>{class e extends Ic{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i){return n.addEventListener(r,i,!1),()=>this.removeEventListener(n,r,i)}removeEventListener(n,r,i){return n.removeEventListener(r,i)}static{this.\u0275fac=function(r){return new(r||e)(T(Ae))}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac})}}return e})(),HE=["alt","control","meta","shift"],kj={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},jj={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Lj=(()=>{class e extends Ic{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,i){let o=e.parseEventName(r),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Vt().onAndCancel(n,o.domEventName,s))}static parseEventName(n){let r=n.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),HE.forEach(c=>{let l=r.indexOf(c);l>-1&&(r.splice(l,1),s+=c+".")}),s+=o,r.length!=0||o.length===0)return null;let u={};return u.domEventName=i,u.fullKey=s,u}static matchEventFullKeyCode(n,r){let i=kj[n.key]||n.key,o="";return r.indexOf("code.")>-1&&(i=n.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),HE.forEach(s=>{if(s!==i){let a=jj[s];a(n)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(n,r,i){return o=>{e.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}static{this.\u0275fac=function(r){return new(r||e)(T(Ae))}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac})}}return e})();function Vj(){Lm.makeCurrent()}function qj(){return new tn}function Uj(){return dw(document),document}var $j=[{provide:Lt,useValue:Om},{provide:Kg,useValue:Vj,multi:!0},{provide:Ae,useFactory:Uj,deps:[]}],Lie=_m(gE,"browser",$j),Bj=new C(""),Hj=[{provide:bs,useClass:Vm,deps:[]},{provide:mm,useClass:pc,deps:[ee,gc,bs]},{provide:pc,useClass:pc,deps:[ee,gc,bs]}],zj=[{provide:Gu,useValue:"root"},{provide:tn,useFactory:qj,deps:[]},{provide:qm,useClass:Rj,multi:!0,deps:[Ae,ee,Lt]},{provide:qm,useClass:Lj,multi:!0,deps:[Ae]},$E,WE,zE,{provide:Ii,useExisting:$E},{provide:Ri,useClass:Oj,deps:[]},[]],Vie=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Xu,useValue:n.appId}]}}static{this.\u0275fac=function(r){return new(r||e)(T(Bj,12))}}static{this.\u0275mod=lt({type:e})}static{this.\u0275inj=ct({providers:[...zj,...Hj],imports:[SE,mE]})}}return e})();var YE=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static{this.\u0275fac=function(r){return new(r||e)(T(Ae))}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var U="primary",ya=Symbol("RouteTitle"),F_=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function $o(e){return new F_(e)}function UZ(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.length<e.length))return null;let i={};for(let o=0;o<r.length;o++){let s=r[o],a=e[o];if(s[0]===":")i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:i}}function $Z(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!Qt(e[n],t[n]))return!1;return!0}function Qt(e,t){let n=e?R_(e):void 0,r=t?R_(t):void 0;if(!n||!r||n.length!=r.length)return!1;let i;for(let o=0;o<n.length;o++)if(i=n[o],!zT(e[i],t[i]))return!1;return!0}function R_(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function zT(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;let n=[...e].sort(),r=[...t].sort();return n.every((i,o)=>r[o]===i)}else return e===t}function WT(e){return e.length>0?e[e.length-1]:null}function yr(e){return bp(e)?e:Pr(e)?se(Promise.resolve(e)):F(e)}var BZ={exact:ZT,subset:YT},GT={exact:HZ,subset:zZ,ignored:()=>!0};function RT(e,t,n){return BZ[n.paths](e.root,t.root,n.matrixParams)&>[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function HZ(e,t){return Qt(e,t)}function ZT(e,t,n){if(!Qr(e.segments,t.segments)||!Rh(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!ZT(e.children[r],t.children[r],n))return!1;return!0}function zZ(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>zT(e[n],t[n]))}function YT(e,t,n){return QT(e,t,t.segments,n)}function QT(e,t,n,r){if(e.segments.length>n.length){let i=e.segments.slice(0,n.length);return!(!Qr(i,n)||t.hasChildren()||!Rh(i,n,r))}else if(e.segments.length===n.length){if(!Qr(e.segments,n)||!Rh(e.segments,n,r))return!1;for(let i in t.children)if(!e.children[i]||!YT(e.children[i],t.children[i],r))return!1;return!0}else{let i=n.slice(0,e.segments.length),o=n.slice(e.segments.length);return!Qr(e.segments,i)||!Rh(e.segments,i,r)||!e.children[U]?!1:QT(e.children[U],t,o,r)}}function Rh(e,t,n){return t.every((r,i)=>GT[n](e[i].parameters,r.parameters))}var Dn=class{constructor(t=new K([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=$o(this.queryParams),this._queryParamMap}toString(){return ZZ.serialize(this)}},K=class{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return kh(this)}},Yr=class{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=$o(this.parameters),this._parameterMap}toString(){return KT(this)}};function WZ(e,t){return Qr(e,t)&&e.every((n,r)=>Qt(n.parameters,t[r].parameters))}function Qr(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function GZ(e,t){let n=[];return Object.entries(e.children).forEach(([r,i])=>{r===U&&(n=n.concat(t(i,r)))}),Object.entries(e.children).forEach(([r,i])=>{r!==U&&(n=n.concat(t(i,r)))}),n}var _a=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=A({token:e,factory:()=>new Bo,providedIn:"root"})}}return e})(),Bo=class{parse(t){let n=new j_(t);return new Dn(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${oa(t.root,!0)}`,r=JZ(t.queryParams),i=typeof t.fragment=="string"?`#${YZ(t.fragment)}`:"";return`${n}${r}${i}`}},ZZ=new Bo;function kh(e){return e.segments.map(t=>KT(t)).join("/")}function oa(e,t){if(!e.hasChildren())return kh(e);if(t){let n=e.children[U]?oa(e.children[U],!1):"",r=[];return Object.entries(e.children).forEach(([i,o])=>{i!==U&&r.push(`${i}:${oa(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=GZ(e,(r,i)=>i===U?[oa(e.children[U],!1)]:[`${i}:${oa(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[U]!=null?`${kh(e)}/${n[0]}`:`${kh(e)}/(${n.join("//")})`}}function JT(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ph(e){return JT(e).replace(/%3B/gi,";")}function YZ(e){return encodeURI(e)}function k_(e){return JT(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function jh(e){return decodeURIComponent(e)}function kT(e){return jh(e.replace(/\+/g,"%20"))}function KT(e){return`${k_(e.path)}${QZ(e.parameters)}`}function QZ(e){return Object.entries(e).map(([t,n])=>`;${k_(t)}=${k_(n)}`).join("")}function JZ(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(i=>`${Ph(n)}=${Ph(i)}`).join("&"):`${Ph(n)}=${Ph(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var KZ=/^[^\/()?;#]+/;function T_(e){let t=e.match(KZ);return t?t[0]:""}var XZ=/^[^\/()?;=#]+/;function eY(e){let t=e.match(XZ);return t?t[0]:""}var tY=/^[^=?&#]+/;function nY(e){let t=e.match(tY);return t?t[0]:""}var rY=/^[^&#]+/;function iY(e){let t=e.match(rY);return t?t[0]:""}var j_=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new K([],{}):new K([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[U]=new K(t,n)),r}parseSegment(){let t=T_(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new x(4009,!1);return this.capture(t),new Yr(jh(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=eY(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let i=T_(this.remaining);i&&(r=i,this.capture(r))}t[jh(n)]=jh(r)}parseQueryParam(t){let n=nY(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=iY(this.remaining);s&&(r=s,this.capture(r))}let i=kT(n),o=kT(r);if(t.hasOwnProperty(i)){let s=t[i];Array.isArray(s)||(s=[s],t[i]=s),s.push(o)}else t[i]=o}parseParens(t){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=T_(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new x(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=U);let s=this.parseChildren();n[o]=Object.keys(s).length===1?s[U]:new K([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new x(4011,!1)}};function XT(e){return e.segments.length>0?new K([],{[U]:e}):e}function ex(e){let t={};for(let[r,i]of Object.entries(e.children)){let o=ex(i);if(r===U&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))t[s]=a;else(o.segments.length>0||o.hasChildren())&&(t[r]=o)}let n=new K(e.segments,t);return oY(n)}function oY(e){if(e.numberOfChildren===1&&e.children[U]){let t=e.children[U];return new K(e.segments.concat(t.segments),t.children)}return e}function Jr(e){return e instanceof Dn}function sY(e,t,n=null,r=null){let i=tx(e);return nx(i,t,n,r)}function tx(e){let t;function n(o){let s={};for(let u of o.children){let c=n(u);s[u.outlet]=c}let a=new K(o.url,s);return o===e&&(t=a),a}let r=n(e.root),i=XT(r);return t??i}function nx(e,t,n,r){let i=e;for(;i.parent;)i=i.parent;if(t.length===0)return x_(i,i,i,n,r);let o=aY(t);if(o.toRoot())return x_(i,i,new K([],{}),n,r);let s=uY(o,i,e),a=s.processChildren?ua(s.segmentGroup,s.index,o.commands):ix(s.segmentGroup,s.index,o.commands);return x_(i,s.segmentGroup,a,n,r)}function Lh(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function da(e){return typeof e=="object"&&e!=null&&e.outlets}function x_(e,t,n,r,i){let o={};r&&Object.entries(r).forEach(([u,c])=>{o[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`});let s;e===t?s=n:s=rx(e,t,n);let a=XT(ex(s));return new Dn(a,o,i)}function rx(e,t,n){let r={};return Object.entries(e.children).forEach(([i,o])=>{o===t?r[i]=n:r[i]=rx(o,t,n)}),new K(e.segments,r)}var Vh=class{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Lh(r[0]))throw new x(4003,!1);let i=r.find(da);if(i&&i!==WT(r))throw new x(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function aY(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Vh(!0,0,e);let t=0,n=!1,r=e.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([u,c])=>{a[u]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?n=!0:a===".."?t++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Vh(n,t,r)}var Vo=class{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function uY(e,t,n){if(e.isAbsolute)return new Vo(t,!0,0);if(!n)return new Vo(t,!1,NaN);if(n.parent===null)return new Vo(n,!0,0);let r=Lh(e.commands[0])?0:1,i=n.segments.length-1+r;return cY(n,i,e.numberOfDoubleDots)}function cY(e,t,n){let r=e,i=t,o=n;for(;o>i;){if(o-=i,r=r.parent,!r)throw new x(4005,!1);i=r.segments.length}return new Vo(r,!1,i-o)}function lY(e){return da(e[0])?e[0].outlets:{[U]:e}}function ix(e,t,n){if(e??=new K([],{}),e.segments.length===0&&e.hasChildren())return ua(e,t,n);let r=dY(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let o=new K(e.segments.slice(0,r.pathIndex),{});return o.children[U]=new K(e.segments.slice(r.pathIndex),e.children),ua(o,0,i)}else return r.match&&i.length===0?new K(e.segments,{}):r.match&&!e.hasChildren()?L_(e,t,n):r.match?ua(e,0,i):L_(e,t,n)}function ua(e,t,n){if(n.length===0)return new K(e.segments,{});{let r=lY(n),i={};if(Object.keys(r).some(o=>o!==U)&&e.children[U]&&e.numberOfChildren===1&&e.children[U].segments.length===0){let o=ua(e.children[U],t,n);return new K(e.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=ix(e.children[o],t,s))}),Object.entries(e.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new K(e.segments,i)}}function dY(e,t,n){let r=0,i=t,o={match:!1,pathIndex:0,commandIndex:0};for(;i<e.segments.length;){if(r>=n.length)return o;let s=e.segments[i],a=n[r];if(da(a))break;let u=`${a}`,c=r<n.length-1?n[r+1]:null;if(i>0&&u===void 0)break;if(u&&c&&typeof c=="object"&&c.outlets===void 0){if(!LT(u,c,s))return o;r+=2}else{if(!LT(u,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function L_(e,t,n){let r=e.segments.slice(0,t),i=0;for(;i<n.length;){let o=n[i];if(da(o)){let u=fY(o.outlets);return new K(r,u)}if(i===0&&Lh(n[0])){let u=e.segments[t];r.push(new Yr(u.path,jT(n[0]))),i++;continue}let s=da(o)?o.outlets[U]:`${o}`,a=i<n.length-1?n[i+1]:null;s&&a&&Lh(a)?(r.push(new Yr(s,jT(a))),i+=2):(r.push(new Yr(s,{})),i++)}return new K(r,{})}function fY(e){let t={};return Object.entries(e).forEach(([n,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=L_(new K([],{}),0,r))}),t}function jT(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function LT(e,t,n){return e==n.path&&Qt(t,n.parameters)}var ca="imperative",De=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(De||{}),gt=class{constructor(t,n){this.id=t,this.url=n}},Ho=class extends gt{constructor(t,n,r="imperative",i=null){super(t,n),this.type=De.NavigationStart,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Jt=class extends gt{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=De.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},it=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(it||{}),qh=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(qh||{}),bn=class extends gt{constructor(t,n,r,i){super(t,n),this.reason=r,this.code=i,this.type=De.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},mr=class extends gt{constructor(t,n,r,i){super(t,n),this.reason=r,this.code=i,this.type=De.NavigationSkipped}},fa=class extends gt{constructor(t,n,r,i){super(t,n),this.error=r,this.target=i,this.type=De.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Uh=class extends gt{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=De.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},V_=class extends gt{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=De.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},q_=class extends gt{constructor(t,n,r,i,o){super(t,n),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o,this.type=De.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},U_=class extends gt{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=De.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},$_=class extends gt{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=De.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},B_=class{constructor(t){this.route=t,this.type=De.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},H_=class{constructor(t){this.route=t,this.type=De.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},z_=class{constructor(t){this.snapshot=t,this.type=De.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},W_=class{constructor(t){this.snapshot=t,this.type=De.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},G_=class{constructor(t){this.snapshot=t,this.type=De.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Z_=class{constructor(t){this.snapshot=t,this.type=De.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},$h=class{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r,this.type=De.Scroll}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}},ha=class{},zo=class{constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function hY(e,t){return e.providers&&!e._injector&&(e._injector=cc(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Tt(e){return e.outlet||U}function pY(e,t){let n=e.filter(r=>Tt(r)===t);return n.push(...e.filter(r=>Tt(r)!==t)),n}function ba(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var Y_=class{get injector(){return ba(this.route?.snapshot)??this.rootInjector}set injector(t){}constructor(t){this.rootInjector=t,this.outlet=null,this.route=null,this.children=new Da(this.rootInjector),this.attachRef=null}},Da=(()=>{class e{constructor(n){this.rootInjector=n,this.contexts=new Map}onChildOutletCreated(n,r){let i=this.getOrCreateContext(n);i.outlet=r,this.contexts.set(n,i)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Y_(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static{this.\u0275fac=function(r){return new(r||e)(T(je))}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Bh=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=Q_(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=Q_(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=J_(t,this._root);return n.length<2?[]:n[n.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return J_(t,this._root).map(n=>n.value)}};function Q_(e,t){if(e===t.value)return t;for(let n of t.children){let r=Q_(e,n);if(r)return r}return null}function J_(e,t){if(e===t.value)return[t];for(let n of t.children){let r=J_(e,n);if(r.length)return r.unshift(t),r}return[]}var rt=class{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function Lo(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var Hh=class extends Bh{constructor(t,n){super(t),this.snapshot=n,sb(this,t)}toString(){return this.snapshot.toString()}};function ox(e){let t=gY(e),n=new Ee([new Yr("",{})]),r=new Ee({}),i=new Ee({}),o=new Ee({}),s=new Ee(""),a=new Kr(n,r,o,s,i,U,e,t.root);return a.snapshot=t.root,new Hh(new rt(a,[]),t)}function gY(e){let t={},n={},r={},i="",o=new qo([],t,r,i,n,U,e,null,{});return new Wh("",new rt(o,[]))}var Kr=class{constructor(t,n,r,i,o,s,a,u){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(V(c=>c[ya]))??F(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(V(t=>$o(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(V(t=>$o(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function zh(e,t,n="emptyOnly"){let r,{routeConfig:i}=e;return t!==null&&(n==="always"||i?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:D(D({},t.params),e.params),data:D(D({},t.data),e.data),resolve:D(D(D(D({},e.data),t.data),i?.data),e._resolvedData)}:r={params:D({},e.params),data:D({},e.data),resolve:D(D({},e.data),e._resolvedData??{})},i&&ax(i)&&(r.resolve[ya]=i.title),r}var qo=class{get title(){return this.data?.[ya]}constructor(t,n,r,i,o,s,a,u,c){this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=$o(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=$o(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${n}')`}},Wh=class extends Bh{constructor(t,n){super(n),this.url=t,sb(this,n)}toString(){return sx(this._root)}};function sb(e,t){t.value._routerState=e,t.children.forEach(n=>sb(e,n))}function sx(e){let t=e.children.length>0?` { ${e.children.map(sx).join(", ")} } `:"";return`${e.value}${t}`}function N_(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Qt(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),Qt(t.params,n.params)||e.paramsSubject.next(n.params),$Z(t.url,n.url)||e.urlSubject.next(n.url),Qt(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function K_(e,t){let n=Qt(e.params,t.params)&&WZ(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||K_(e.parent,t.parent))}function ax(e){return typeof e.title=="string"||e.title===null}var mY=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=U,this.activateEvents=new ge,this.deactivateEvents=new ge,this.attachEvents=new ge,this.detachEvents=new ge,this.parentContexts=b(Da),this.location=b(ac),this.changeDetector=b(Fr),this.inputBinder=b(Jh,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:i}=n.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new x(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new x(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new x(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new x(4013,!1);this._activatedRoute=n;let i=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,u=new X_(n,a,i.injector);this.activated=i.createComponent(s,{index:i.length,injector:u,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=dt({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[xr]})}}return e})(),X_=class e{__ngOutletInjector(t){return new e(this.route,this.childContexts,t)}constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===Kr?this.route:t===Da?this.childContexts:this.parent.get(t,n)}},Jh=new C(""),VT=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:r}=n,i=ns([r.queryParams,r.params,r.data]).pipe(He(([o,s,a],u)=>(a=D(D(D({},o),s),a),u===0?F(a):Promise.resolve(a)))).subscribe(o=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(n);return}let s=vE(r.component);if(!s){this.unsubscribeFromRouteData(n);return}for(let{templateName:a}of s.inputs)n.activatedComponentRef.setInput(a,o[a])});this.outletDataSubscriptions.set(n,i)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac})}}return e})();function vY(e,t,n){let r=pa(e,t._root,n?n._root:void 0);return new Hh(r,t)}function pa(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let i=yY(e,t,n);return new rt(r,i)}else{if(e.shouldAttach(t.value)){let o=e.retrieve(t.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>pa(e,a)),s}}let r=_Y(t.value),i=t.children.map(o=>pa(e,o));return new rt(r,i)}}function yY(e,t,n){return t.children.map(r=>{for(let i of n.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return pa(e,r,i);return pa(e,r)})}function _Y(e){return new Kr(new Ee(e.url),new Ee(e.params),new Ee(e.queryParams),new Ee(e.fragment),new Ee(e.data),e.outlet,e.component,e)}var ga=class{constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},ux="ngNavigationCancelingError";function Gh(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=Jr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,i=cx(!1,it.Redirect);return i.url=n,i.navigationBehaviorOptions=r,i}function cx(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[ux]=!0,n.cancellationCode=t,n}function bY(e){return lx(e)&&Jr(e.url)}function lx(e){return!!e&&e[ux]}var DY=(e,t,n,r)=>V(i=>(new eb(t,i.targetRouterState,i.currentRouterState,n,r).activate(e),i)),eb=class{constructor(t,n,r,i,o){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),N_(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let i=Lo(n);t.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(t,n,r){let i=t.value,o=n?n.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else o&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,o=Lo(t);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,o=Lo(t);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){let i=Lo(n);t.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new Z_(o.value.snapshot))}),t.children.length&&this.forwardEvent(new W_(t.value.snapshot))}activateRoutes(t,n,r){let i=t.value,o=n?n.value:null;if(N_(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(i.component){let s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),N_(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}},Zh=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},Uo=class{constructor(t,n){this.component=t,this.route=n}};function wY(e,t,n){let r=e._root,i=t?t._root:null;return sa(r,i,n,[r.value])}function EY(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function Go(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!Q0(e)?e:t.get(e):r}function sa(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Lo(t);return e.children.forEach(s=>{MY(s,o[s.value.outlet],n,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>la(a,n.getContext(s),i)),i}function MY(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let u=CY(s,o,o.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new Zh(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?sa(e,t,a?a.children:null,r,i):sa(e,t,n,r,i),u&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Uo(a.outlet.component,s))}else s&&la(t,a,i),i.canActivateChecks.push(new Zh(r)),o.component?sa(e,null,a?a.children:null,r,i):sa(e,null,n,r,i);return i}function CY(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!Qr(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Qr(e.url,t.url)||!Qt(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!K_(e,t)||!Qt(e.queryParams,t.queryParams);case"paramsChange":default:return!K_(e,t)}}function la(e,t,n){let r=Lo(e),i=e.value;Object.entries(r).forEach(([o,s])=>{i.component?t?la(s,t.children.getContext(o),n):la(s,null,n):la(s,t,n)}),i.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new Uo(t.outlet.component,i)):n.canDeactivateChecks.push(new Uo(null,i)):n.canDeactivateChecks.push(new Uo(null,i))}function wa(e){return typeof e=="function"}function SY(e){return typeof e=="boolean"}function IY(e){return e&&wa(e.canLoad)}function OY(e){return e&&wa(e.canActivate)}function AY(e){return e&&wa(e.canActivateChild)}function TY(e){return e&&wa(e.canDeactivate)}function xY(e){return e&&wa(e.canMatch)}function dx(e){return e instanceof vt||e?.name==="EmptyError"}var Fh=Symbol("INITIAL_VALUE");function Wo(){return He(e=>ns(e.map(t=>t.pipe(en(1),Cp(Fh)))).pipe(V(t=>{for(let n of t)if(n!==!0){if(n===Fh)return Fh;if(n===!1||NY(n))return n}return!0}),Be(t=>t!==Fh),en(1)))}function NY(e){return Jr(e)||e instanceof ga}function PY(e,t){return he(n=>{let{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=n;return s.length===0&&o.length===0?F(B(D({},n),{guardsResult:!0})):FY(s,r,i,e).pipe(he(a=>a&&SY(a)?RY(r,o,e,t):F(a)),V(a=>B(D({},n),{guardsResult:a})))})}function FY(e,t,n,r){return se(e).pipe(he(i=>qY(i.component,i.route,n,t,r)),Nt(i=>i!==!0,!0))}function RY(e,t,n,r){return se(t).pipe(Xt(i=>ai(jY(i.route.parent,r),kY(i.route,r),VY(e,i.path,n),LY(e,i.route,n))),Nt(i=>i!==!0,!0))}function kY(e,t){return e!==null&&t&&t(new G_(e)),F(!0)}function jY(e,t){return e!==null&&t&&t(new z_(e)),F(!0)}function LY(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return F(!0);let i=r.map(o=>ru(()=>{let s=ba(t)??n,a=Go(o,s),u=OY(a)?a.canActivate(t,e):ft(s,()=>a(t,e));return yr(u).pipe(Nt())}));return F(i).pipe(Wo())}function VY(e,t,n){let r=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>EY(s)).filter(s=>s!==null).map(s=>ru(()=>{let a=s.guards.map(u=>{let c=ba(s.node)??n,l=Go(u,c),d=AY(l)?l.canActivateChild(r,e):ft(c,()=>l(r,e));return yr(d).pipe(Nt())});return F(a).pipe(Wo())}));return F(o).pipe(Wo())}function qY(e,t,n,r,i){let o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||o.length===0)return F(!0);let s=o.map(a=>{let u=ba(t)??i,c=Go(a,u),l=TY(c)?c.canDeactivate(e,t,n,r):ft(u,()=>c(e,t,n,r));return yr(l).pipe(Nt())});return F(s).pipe(Wo())}function UY(e,t,n,r){let i=t.canLoad;if(i===void 0||i.length===0)return F(!0);let o=i.map(s=>{let a=Go(s,e),u=IY(a)?a.canLoad(t,n):ft(e,()=>a(t,n));return yr(u)});return F(o).pipe(Wo(),fx(r))}function fx(e){return mp(_e(t=>{if(typeof t!="boolean")throw Gh(e,t)}),V(t=>t===!0))}function $Y(e,t,n,r){let i=t.canMatch;if(!i||i.length===0)return F(!0);let o=i.map(s=>{let a=Go(s,e),u=xY(a)?a.canMatch(t,n):ft(e,()=>a(t,n));return yr(u)});return F(o).pipe(Wo(),fx(r))}var ma=class{constructor(t){this.segmentGroup=t||null}},va=class extends Error{constructor(t){super(),this.urlTree=t}};function jo(e){return oi(new ma(e))}function BY(e){return oi(new x(4e3,!1))}function HY(e){return oi(cx(!1,it.GuardRejected))}var tb=class{constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],i=n.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return F(r);if(i.numberOfChildren>1||!i.children[U])return BY(`${t.redirectTo}`);i=i.children[U]}}applyRedirectCommands(t,n,r,i,o){if(typeof n!="string"){let a=n,{queryParams:u,fragment:c,routeConfig:l,url:d,outlet:p,params:g,data:m,title:v}=i,y=ft(o,()=>a({params:g,data:m,queryParams:u,fragment:c,routeConfig:l,url:d,outlet:p,title:v}));if(y instanceof Dn)throw new va(y);n=y}let s=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r);if(n[0]==="/")throw new va(s);return s}applyRedirectCreateUrlTree(t,n,r,i){let o=this.createSegmentGroup(t,n.root,r,i);return new Dn(o,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);r[i]=n[a]}else r[i]=o}),r}createSegmentGroup(t,n,r,i){let o=this.createSegments(t,n.segments,r,i),s={};return Object.entries(n.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(t,u,r,i)}),new K(o,s)}createSegments(t,n,r,i){return n.map(o=>o.path[0]===":"?this.findPosParam(t,o,i):this.findOrReturn(o,r))}findPosParam(t,n,r){let i=r[n.path.substring(1)];if(!i)throw new x(4001,!1);return i}findOrReturn(t,n){let r=0;for(let i of n){if(i.path===t.path)return n.splice(r),i;r++}return t}},nb={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function zY(e,t,n,r,i){let o=hx(e,t,n);return o.matched?(r=hY(t,r),$Y(r,t,n,i).pipe(V(s=>s===!0?o:D({},nb)))):F(o)}function hx(e,t,n){if(t.path==="**")return WY(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?D({},nb):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let i=(t.matcher||UZ)(n,e,t);if(!i)return D({},nb);let o={};Object.entries(i.posParams??{}).forEach(([a,u])=>{o[a]=u.path});let s=i.consumed.length>0?D(D({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:n.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function WY(e){return{matched:!0,parameters:e.length>0?WT(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function qT(e,t,n,r){return n.length>0&&YY(e,n,r)?{segmentGroup:new K(t,ZY(r,new K(n,e.children))),slicedSegments:[]}:n.length===0&&QY(e,n,r)?{segmentGroup:new K(e.segments,GY(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new K(e.segments,e.children),slicedSegments:n}}function GY(e,t,n,r){let i={};for(let o of n)if(Kh(e,t,o)&&!r[Tt(o)]){let s=new K([],{});i[Tt(o)]=s}return D(D({},r),i)}function ZY(e,t){let n={};n[U]=t;for(let r of e)if(r.path===""&&Tt(r)!==U){let i=new K([],{});n[Tt(r)]=i}return n}function YY(e,t,n){return n.some(r=>Kh(e,t,r)&&Tt(r)!==U)}function QY(e,t,n){return n.some(r=>Kh(e,t,r))}function Kh(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function JY(e,t,n){return t.length===0&&!e.children[n]}var rb=class{};function KY(e,t,n,r,i,o,s="emptyOnly"){return new ib(e,t,n,r,i,s,o).recognize()}var XY=31,ib=class{constructor(t,n,r,i,o,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new tb(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new x(4002,`'${t.segmentGroup}'`)}recognize(){let t=qT(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(V(({children:n,rootSnapshot:r})=>{let i=new rt(r,n),o=new Wh("",i),s=sY(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(t){let n=new qo([],Object.freeze({}),Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),U,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,U,n).pipe(V(r=>({children:r,rootSnapshot:n})),Mn(r=>{if(r instanceof va)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof ma?this.noMatchError(r):r}))}processSegmentGroup(t,n,r,i,o){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r,o):this.processSegment(t,n,r,r.segments,i,!0,o).pipe(V(s=>s instanceof rt?[s]:[]))}processChildren(t,n,r,i){let o=[];for(let s of Object.keys(r.children))s==="primary"?o.unshift(s):o.push(s);return se(o).pipe(Xt(s=>{let a=r.children[s],u=pY(n,s);return this.processSegmentGroup(t,u,a,s,i)}),Mp((s,a)=>(s.push(...a),s)),Cn(null),Ep(),he(s=>{if(s===null)return jo(r);let a=px(s);return eQ(a),F(a)}))}processSegment(t,n,r,i,o,s,a){return se(n).pipe(Xt(u=>this.processSegmentAgainstRoute(u._injector??t,n,u,r,i,o,s,a).pipe(Mn(c=>{if(c instanceof ma)return F(null);throw c}))),Nt(u=>!!u),Mn(u=>{if(dx(u))return JY(r,i,o)?F(new rb):jo(r);throw u}))}processSegmentAgainstRoute(t,n,r,i,o,s,a,u){return Tt(r)!==s&&(s===U||!Kh(i,o,r))?jo(i):r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,i,r,o,s,u):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,i,n,r,o,s,u):jo(i)}expandSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s,a){let{matched:u,parameters:c,consumedSegments:l,positionalParamSegments:d,remainingSegments:p}=hx(n,i,o);if(!u)return jo(n);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>XY&&(this.allowRedirects=!1));let g=new qo(o,c,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,UT(i),Tt(i),i.component??i._loadedComponent??null,i,$T(i)),m=zh(g,a,this.paramsInheritanceStrategy);g.params=Object.freeze(m.params),g.data=Object.freeze(m.data);let v=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,d,g,t);return this.applyRedirects.lineralizeSegments(i,v).pipe(he(y=>this.processSegment(t,r,n,y.concat(p),s,!1,a)))}matchSegmentAgainstRoute(t,n,r,i,o,s){let a=zY(n,r,i,t,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(He(u=>u.matched?(t=r._injector??t,this.getChildConfig(t,r,i).pipe(He(({routes:c})=>{let l=r._loadedInjector??t,{parameters:d,consumedSegments:p,remainingSegments:g}=u,m=new qo(p,d,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,UT(r),Tt(r),r.component??r._loadedComponent??null,r,$T(r)),v=zh(m,s,this.paramsInheritanceStrategy);m.params=Object.freeze(v.params),m.data=Object.freeze(v.data);let{segmentGroup:y,slicedSegments:_}=qT(n,p,g,c);if(_.length===0&&y.hasChildren())return this.processChildren(l,c,y,m).pipe(V(N=>new rt(m,N)));if(c.length===0&&_.length===0)return F(new rt(m,[]));let S=Tt(r)===o;return this.processSegment(l,c,y,_,S?U:o,!0,m).pipe(V(N=>new rt(m,N instanceof rt?[N]:[])))}))):jo(n)))}getChildConfig(t,n,r){return n.children?F({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?F({routes:n._loadedRoutes,injector:n._loadedInjector}):UY(t,n,r,this.urlSerializer).pipe(he(i=>i?this.configLoader.loadChildren(t,n).pipe(_e(o=>{n._loadedRoutes=o.routes,n._loadedInjector=o.injector})):HY(n))):F({routes:[],injector:t})}};function eQ(e){e.sort((t,n)=>t.value.outlet===U?-1:n.value.outlet===U?1:t.value.outlet.localeCompare(n.value.outlet))}function tQ(e){let t=e.value.routeConfig;return t&&t.path===""}function px(e){let t=[],n=new Set;for(let r of e){if(!tQ(r)){t.push(r);continue}let i=t.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),n.add(i)):t.push(r)}for(let r of n){let i=px(r.children);t.push(new rt(r.value,i))}return t.filter(r=>!n.has(r))}function UT(e){return e.data||{}}function $T(e){return e.resolve||{}}function nQ(e,t,n,r,i,o){return he(s=>KY(e,t,n,r,s.extractedUrl,i,o).pipe(V(({state:a,tree:u})=>B(D({},s),{targetSnapshot:a,urlAfterRedirects:u}))))}function rQ(e,t){return he(n=>{let{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return F(n);let o=new Set(i.map(u=>u.route)),s=new Set;for(let u of o)if(!s.has(u))for(let c of gx(u))s.add(c);let a=0;return se(s).pipe(Xt(u=>o.has(u)?iQ(u,r,e,t):(u.data=zh(u,u.parent,e).resolve,F(void 0))),_e(()=>a++),ui(1),he(u=>a===s.size?F(n):Xe))})}function gx(e){let t=e.children.map(n=>gx(n)).flat();return[e,...t]}function iQ(e,t,n,r){let i=e.routeConfig,o=e._resolve;return i?.title!==void 0&&!ax(i)&&(o[ya]=i.title),oQ(o,e,t,r).pipe(V(s=>(e._resolvedData=s,e.data=zh(e,e.parent,n).resolve,null)))}function oQ(e,t,n,r){let i=R_(e);if(i.length===0)return F({});let o={};return se(i).pipe(he(s=>sQ(e[s],t,n,r).pipe(Nt(),_e(a=>{if(a instanceof ga)throw Gh(new Bo,a);o[s]=a}))),ui(1),wp(o),Mn(s=>dx(s)?Xe:oi(s)))}function sQ(e,t,n,r){let i=ba(t)??r,o=Go(e,i),s=o.resolve?o.resolve(t,n):ft(i,()=>o(t,n));return yr(s)}function P_(e){return He(t=>{let n=e(t);return n?se(n).pipe(V(()=>t)):F(t)})}var mx=(()=>{class e{buildTitle(n){let r,i=n.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===U);return r}getResolvedTitleForRoute(n){return n.data[ya]}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=A({token:e,factory:()=>b(aQ),providedIn:"root"})}}return e})(),aQ=(()=>{class e extends mx{constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static{this.\u0275fac=function(r){return new(r||e)(T(YE))}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Ea=new C("",{providedIn:"root",factory:()=>({})}),uQ=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=lD({type:e,selectors:[["ng-component"]],standalone:!0,features:[uE],decls:1,vars:0,template:function(r,i){r&1&&gm(0,"router-outlet")},dependencies:[mY],encapsulation:2})}}return e})();function ab(e){let t=e.children&&e.children.map(ab),n=t?B(D({},e),{children:t}):D({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==U&&(n.component=uQ),n}var Yh=new C(""),ub=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=b(yc)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return F(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let r=yr(n.loadComponent()).pipe(V(vx),_e(o=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=o}),Sn(()=>{this.componentLoaders.delete(n)})),i=new ii(r,()=>new ye).pipe(ri());return this.componentLoaders.set(n,i),i}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return F({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=cQ(r,this.compiler,n,this.onLoadEndListener).pipe(Sn(()=>{this.childrenLoaders.delete(r)})),s=new ii(o,()=>new ye).pipe(ri());return this.childrenLoaders.set(r,s),s}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function cQ(e,t,n,r){return yr(e.loadChildren()).pipe(V(vx),he(i=>i instanceof ps||Array.isArray(i)?F(i):se(t.compileModuleAsync(i))),V(i=>{r&&r(e);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(n).injector,s=o.get(Yh,[],{optional:!0,self:!0}).flat()),{routes:s.map(ab),injector:o}}))}function lQ(e){return e&&typeof e=="object"&&"default"in e}function vx(e){return lQ(e)?e.default:e}var cb=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=A({token:e,factory:()=>b(dQ),providedIn:"root"})}}return e})(),dQ=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),yx=new C(""),_x=new C("");function fQ(e,t,n){let r=e.get(_x),i=e.get(Ae);return e.get(ee).runOutsideAngular(()=>{if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,s=new Promise(c=>{o=c}),a=i.startViewTransition(()=>(o(),hQ(e))),{onViewTransitionCreated:u}=r;return u&&ft(e,()=>u({transition:a,from:t,to:n})),s})}function hQ(e){return new Promise(t=>{hm({read:()=>setTimeout(t)},{injector:e})})}var pQ=new C(""),lb=(()=>{class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ye,this.transitionAbortSubject=new ye,this.configLoader=b(ub),this.environmentInjector=b(je),this.urlSerializer=b(_a),this.rootContexts=b(Da),this.location=b(ki),this.inputBindingEnabled=b(Jh,{optional:!0})!==null,this.titleStrategy=b(mx),this.options=b(Ea,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=b(cb),this.createViewTransition=b(yx,{optional:!0}),this.navigationErrorHandler=b(pQ,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>F(void 0),this.rootComponentType=null;let n=i=>this.events.next(new B_(i)),r=i=>this.events.next(new H_(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;this.transitions?.next(B(D(D({},this.transitions.value),n),{id:r}))}setupNavigations(n,r,i){return this.transitions=new Ee({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:ca,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Be(o=>o.id!==0),V(o=>B(D({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),He(o=>{let s=!1,a=!1;return F(o).pipe(He(u=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",it.SupersededByNewNavigation),Xe;this.currentTransition=o,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,targetBrowserUrl:typeof u.extras.browserUrl=="string"?this.urlSerializer.parse(u.extras.browserUrl):u.extras.browserUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?B(D({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let c=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),l=u.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!c&&l!=="reload"){let d="";return this.events.next(new mr(u.id,this.urlSerializer.serialize(u.rawUrl),d,qh.IgnoredSameUrlNavigation)),u.resolve(!1),Xe}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return F(u).pipe(He(d=>{let p=this.transitions?.getValue();return this.events.next(new Ho(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),p!==this.transitions?.getValue()?Xe:Promise.resolve(d)}),nQ(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),_e(d=>{o.targetSnapshot=d.targetSnapshot,o.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation=B(D({},this.currentNavigation),{finalUrl:d.urlAfterRedirects});let p=new Uh(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(p)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:d,extractedUrl:p,source:g,restoredState:m,extras:v}=u,y=new Ho(d,this.urlSerializer.serialize(p),g,m);this.events.next(y);let _=ox(this.rootComponentType).snapshot;return this.currentTransition=o=B(D({},u),{targetSnapshot:_,urlAfterRedirects:p,extras:B(D({},v),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=p,F(o)}else{let d="";return this.events.next(new mr(u.id,this.urlSerializer.serialize(u.extractedUrl),d,qh.IgnoredByUrlHandlingStrategy)),u.resolve(!1),Xe}}),_e(u=>{let c=new V_(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(c)}),V(u=>(this.currentTransition=o=B(D({},u),{guards:wY(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),o)),PY(this.environmentInjector,u=>this.events.next(u)),_e(u=>{if(o.guardsResult=u.guardsResult,u.guardsResult&&typeof u.guardsResult!="boolean")throw Gh(this.urlSerializer,u.guardsResult);let c=new q_(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(c)}),Be(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",it.GuardRejected),!1)),P_(u=>{if(u.guards.canActivateChecks.length)return F(u).pipe(_e(c=>{let l=new U_(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),He(c=>{let l=!1;return F(c).pipe(rQ(this.paramsInheritanceStrategy,this.environmentInjector),_e({next:()=>l=!0,complete:()=>{l||this.cancelNavigationTransition(c,"",it.NoDataFromResolver)}}))}),_e(c=>{let l=new $_(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}))}),P_(u=>{let c=l=>{let d=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(l.routeConfig).pipe(_e(p=>{l.component=p}),V(()=>{})));for(let p of l.children)d.push(...c(p));return d};return ns(c(u.targetSnapshot.root)).pipe(Cn(null),en(1))}),P_(()=>this.afterPreactivation()),He(()=>{let{currentSnapshot:u,targetSnapshot:c}=o,l=this.createViewTransition?.(this.environmentInjector,u.root,c.root);return l?se(l).pipe(V(()=>o)):F(o)}),V(u=>{let c=vY(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=o=B(D({},u),{targetRouterState:c}),this.currentNavigation.targetRouterState=c,o}),_e(()=>{this.events.next(new ha)}),DY(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),en(1),_e({next:u=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Jt(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{s=!0}}),Sp(this.transitionAbortSubject.pipe(_e(u=>{throw u}))),Sn(()=>{!s&&!a&&this.cancelNavigationTransition(o,"",it.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),Mn(u=>{if(a=!0,lx(u))this.events.next(new bn(o.id,this.urlSerializer.serialize(o.extractedUrl),u.message,u.cancellationCode)),bY(u)?this.events.next(new zo(u.url,u.navigationBehaviorOptions)):o.resolve(!1);else{let c=new fa(o.id,this.urlSerializer.serialize(o.extractedUrl),u,o.targetSnapshot??void 0);try{let l=ft(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(l instanceof ga){let{message:d,cancellationCode:p}=Gh(this.urlSerializer,l);this.events.next(new bn(o.id,this.urlSerializer.serialize(o.extractedUrl),d,p)),this.events.next(new zo(l.redirectTo,l.navigationBehaviorOptions))}else{this.events.next(c);let d=n.errorHandler(u);o.resolve(!!d)}}catch(l){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(l)}}return Xe}))}))}cancelNavigationTransition(n,r,i){let o=new bn(n.id,this.urlSerializer.serialize(n.extractedUrl),r,i);this.events.next(o),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function gQ(e){return e!==ca}var mQ=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=A({token:e,factory:()=>b(vQ),providedIn:"root"})}}return e})(),ob=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},vQ=(()=>{class e extends ob{static{this.\u0275fac=(()=>{let n;return function(i){return(n||(n=Pi(e)))(i||e)}})()}static{this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),bx=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=A({token:e,factory:()=>b(yQ),providedIn:"root"})}}return e})(),yQ=(()=>{class e extends bx{constructor(){super(...arguments),this.location=b(ki),this.urlSerializer=b(_a),this.options=b(Ea,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=b(cb),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Dn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=ox(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof Ho)this.stateMemento=this.createStateMemento();else if(n instanceof mr)this.rawUrlTree=r.initialUrl;else if(n instanceof Uh){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(r.targetBrowserUrl??i,r)}}else n instanceof ha?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(r.targetBrowserUrl??this.rawUrlTree,r)):n instanceof bn&&(n.code===it.GuardRejected||n.code===it.NoDataFromResolver)?this.restoreHistory(r):n instanceof fa?this.restoreHistory(r,!0):n instanceof Jt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){let i=n instanceof Dn?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){let o=this.browserPageId,s=D(D({},r.extras.state),this.generateNgRouterState(r.id,o));this.location.replaceState(i,"",s)}else{let o=D(D({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(i,"",o)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.currentUrlTree===n.finalUrl&&o===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static{this.\u0275fac=(()=>{let n;return function(i){return(n||(n=Pi(e)))(i||e)}})()}static{this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),aa=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(aa||{});function Dx(e,t){e.events.pipe(Be(n=>n instanceof Jt||n instanceof bn||n instanceof fa||n instanceof mr),V(n=>n instanceof Jt||n instanceof mr?aa.COMPLETE:(n instanceof bn?n.code===it.Redirect||n.code===it.SupersededByNewNavigation:!1)?aa.REDIRECTING:aa.FAILED),Be(n=>n!==aa.REDIRECTING),en(1)).subscribe(()=>{t()})}function _Q(e){throw e}var bQ={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},DQ={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},vr=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=b(hc),this.stateManager=b(bx),this.options=b(Ea,{optional:!0})||{},this.pendingTasks=b(sn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=b(lb),this.urlSerializer=b(_a),this.location=b(ki),this.urlHandlingStrategy=b(cb),this._events=new ye,this.errorHandler=this.options.errorHandler||_Q,this.navigated=!1,this.routeReuseStrategy=b(mQ),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=b(Yh,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!b(Jh,{optional:!0}),this.eventsSubscription=new de,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof bn&&r.code!==it.Redirect&&r.code!==it.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Jt)this.navigated=!0;else if(r instanceof zo){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),u=D({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||gQ(i.source)},s);this.scheduleNavigation(a,ca,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}EQ(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ca,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)})}navigateToSyncWithBrowser(n,r,i){let o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let u=D({},i);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(o.state=u)}let a=this.parseUrl(n);this.scheduleNavigation(a,r,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(ab),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:u}=r,c=u?this.currentUrlTree.fragment:s,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=D(D({},this.currentUrlTree.queryParams),o);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=o||null}l!==null&&(l=this.removeEmptyProps(l));let d;try{let p=i?i.snapshot:this.routerState.snapshot.root;d=tx(p)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return nx(d,n,l,c??null)}navigateByUrl(n,r={skipLocationChange:!1}){let i=Jr(n)?n:this.parseUrl(n),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,ca,null,r)}navigate(n,r={skipLocationChange:!1}){return wQ(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,r){let i;if(r===!0?i=D({},bQ):r===!1?i=D({},DQ):i=r,Jr(n))return RT(this.currentUrlTree,n,i);let o=this.parseUrl(n);return RT(this.currentUrlTree,o,i)}removeEmptyProps(n){return Object.entries(n).reduce((r,[i,o])=>(o!=null&&(r[i]=o),r),{})}scheduleNavigation(n,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,u,c;s?(a=s.resolve,u=s.reject,c=s.promise):c=new Promise((d,p)=>{a=d,u=p});let l=this.pendingTasks.add();return Dx(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:o,resolve:a,reject:u,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function wQ(e){for(let t=0;t<e.length;t++)if(e[t]==null)throw new x(4008,!1)}function EQ(e){return!(e instanceof ha)&&!(e instanceof zo)}var ede=(()=>{class e{constructor(n,r,i,o,s,a){this.router=n,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a,this.href=null,this.onChanges=new ye,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let u=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=n.events.subscribe(c=>{c instanceof Jt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Jr(n)?this.routerLinkInput=n:this.routerLinkInput=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0"))}onClick(n,r,i,o,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(n!==0||r||i||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,u),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let r=this.href===null?null:pw(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(n,r){let i=this.renderer,o=this.el.nativeElement;r!==null?i.setAttribute(o,n,r):i.removeAttribute(o,n)}get urlTree(){return this.routerLinkInput===null?null:Jr(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(r){return new(r||e)(ae(vr),ae(Kr),Gg("tabindex"),ae(kn),ae(an),ae(ln))}}static{this.\u0275dir=dt({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,i){r&1&&Fi("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&dc("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Rr],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Rr],replaceUrl:[2,"replaceUrl","replaceUrl",Rr],routerLink:"routerLink"},standalone:!0,features:[fm,xr]})}}return e})();var Qh=class{};var MQ=(()=>{class e{constructor(n,r,i,o,s){this.router=n,this.injector=i,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Be(n=>n instanceof Jt),Xt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){let i=[];for(let o of r){o.providers&&!o._injector&&(o._injector=cc(o.providers,n,`Route: ${o.path}`));let s=o._injector??n,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(a,o.children??o._loadedRoutes))}return se(i).pipe(si())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let i;r.loadChildren&&r.canLoad===void 0?i=this.loader.loadChildren(n,r):i=F(null);let o=i.pipe(he(s=>s===null?F(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(r);return se([o,s]).pipe(si())}else return o})}static{this.\u0275fac=function(r){return new(r||e)(T(vr),T(yc),T(je),T(Qh),T(ub))}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),wx=new C(""),CQ=(()=>{class e{constructor(n,r,i,o,s={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=i,this.zone=o,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Ho?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Jt?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof mr&&n.code===qh.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof $h&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new $h(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(r){Sw()}}static{this.\u0275prov=A({token:e,factory:e.\u0275fac})}}return e})();function SQ(e){return e.routerState.root}function Ma(e,t){return{\u0275kind:e,\u0275providers:t}}function IQ(){let e=b(et);return t=>{let n=e.get(un);if(t!==n.components[0])return;let r=e.get(vr),i=e.get(Ex);e.get(db)===1&&r.initialNavigation(),e.get(Mx,null,H.Optional)?.setUpPreloading(),e.get(wx,null,H.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Ex=new C("",{factory:()=>new ye}),db=new C("",{providedIn:"root",factory:()=>1});function OQ(){return Ma(2,[{provide:db,useValue:0},{provide:mc,multi:!0,deps:[et],useFactory:t=>{let n=t.get(EE,Promise.resolve());return()=>n.then(()=>new Promise(r=>{let i=t.get(vr),o=t.get(Ex);Dx(i,()=>{r(!0)}),t.get(lb).afterPreactivation=()=>(r(!0),o.closed?F(void 0):o),i.initialNavigation()}))}}])}function AQ(){return Ma(3,[{provide:mc,multi:!0,useFactory:()=>{let t=b(vr);return()=>{t.setUpLocationChangeListener()}}},{provide:db,useValue:2}])}var Mx=new C("");function TQ(e){return Ma(0,[{provide:Mx,useExisting:MQ},{provide:Qh,useExisting:e}])}function xQ(){return Ma(8,[VT,{provide:Jh,useExisting:VT}])}function NQ(e){let t=[{provide:yx,useValue:fQ},{provide:_x,useValue:D({skipNextTransition:!!e?.skipInitialTransition},e)}];return Ma(9,t)}var BT=new C("ROUTER_FORROOT_GUARD"),PQ=[ki,{provide:_a,useClass:Bo},vr,Da,{provide:Kr,useFactory:SQ,deps:[vr]},ub,[]],tde=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[PQ,[],{provide:Yh,multi:!0,useValue:n},{provide:BT,useFactory:jQ,deps:[[vr,new Ng,new rD]]},{provide:Ea,useValue:r||{}},r?.useHash?RQ():kQ(),FQ(),r?.preloadingStrategy?TQ(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?LQ(r):[],r?.bindToComponentInputs?xQ().\u0275providers:[],r?.enableViewTransitions?NQ().\u0275providers:[],VQ()]}}static forChild(n){return{ngModule:e,providers:[{provide:Yh,multi:!0,useValue:n}]}}static{this.\u0275fac=function(r){return new(r||e)(T(BT,8))}}static{this.\u0275mod=lt({type:e})}static{this.\u0275inj=ct({})}}return e})();function FQ(){return{provide:wx,useFactory:()=>{let e=b(IE),t=b(ee),n=b(Ea),r=b(lb),i=b(_a);return n.scrollOffset&&e.setOffset(n.scrollOffset),new CQ(i,r,e,t,n)}}}function RQ(){return{provide:ln,useClass:CE}}function kQ(){return{provide:ln,useClass:Im}}function jQ(e){return"guarded"}function LQ(e){return[e.initialNavigation==="disabled"?AQ().\u0275providers:[],e.initialNavigation==="enabledBlocking"?OQ().\u0275providers:[]]}var HT=new C("");function VQ(){return[{provide:HT,useFactory:IQ},{provide:vc,multi:!0,useExisting:HT}]}var Nx=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static{this.\u0275fac=function(r){return new(r||e)(ae(kn),ae(an))}}static{this.\u0275dir=dt({type:e})}}return e})(),Px=(()=>{class e extends Nx{static{this.\u0275fac=(()=>{let n;return function(i){return(n||(n=Pi(e)))(i||e)}})()}static{this.\u0275dir=dt({type:e,features:[Nr]})}}return e})(),mb=new C(""),qQ={provide:mb,useExisting:Ti(()=>UQ),multi:!0},UQ=(()=>{class e extends Px{writeValue(n){this.setProperty("checked",n)}static{this.\u0275fac=(()=>{let n;return function(i){return(n||(n=Pi(e)))(i||e)}})()}static{this.\u0275dir=dt({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,i){r&1&&Fi("change",function(s){return i.onChange(s.target.checked)})("blur",function(){return i.onTouched()})},features:[fc([qQ]),Nr]})}}return e})(),$Q={provide:mb,useExisting:Ti(()=>Fx),multi:!0};function BQ(){let e=Vt()?Vt().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var HQ=new C(""),Fx=(()=>{class e extends Nx{constructor(n,r,i){super(n,r),this._compositionMode=i,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!BQ())}writeValue(n){let r=n??"";this.setProperty("value",r)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static{this.\u0275fac=function(r){return new(r||e)(ae(kn),ae(an),ae(HQ,8))}}static{this.\u0275dir=dt({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,i){r&1&&Fi("input",function(s){return i._handleInput(s.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(s){return i._compositionEnd(s.target.value)})},features:[fc([$Q]),Nr]})}}return e})();var zQ=new C(""),WQ=new C("");function Rx(e){return e!=null}function kx(e){return Pr(e)?se(e):e}function jx(e){let t={};return e.forEach(n=>{t=n!=null?D(D({},t),n):t}),Object.keys(t).length===0?null:t}function Lx(e,t){return t.map(n=>n(e))}function GQ(e){return!e.validate}function Vx(e){return e.map(t=>GQ(t)?t:n=>t.validate(n))}function ZQ(e){if(!e)return null;let t=e.filter(Rx);return t.length==0?null:function(n){return jx(Lx(n,t))}}function qx(e){return e!=null?ZQ(Vx(e)):null}function YQ(e){if(!e)return null;let t=e.filter(Rx);return t.length==0?null:function(n){let r=Lx(n,t).map(kx);return Dp(r).pipe(V(jx))}}function Ux(e){return e!=null?YQ(Vx(e)):null}function Cx(e,t){return e===null?[t]:Array.isArray(e)?[...e,t]:[e,t]}function QQ(e){return e._rawValidators}function JQ(e){return e._rawAsyncValidators}function fb(e){return e?Array.isArray(e)?e:[e]:[]}function ep(e,t){return Array.isArray(e)?e.includes(t):e===t}function Sx(e,t){let n=fb(t);return fb(e).forEach(i=>{ep(n,i)||n.push(i)}),n}function Ix(e,t){return fb(t).filter(n=>!ep(e,n))}var tp=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=qx(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Ux(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return this.control?this.control.hasError(t,n):!1}getError(t,n){return this.control?this.control.getError(t,n):null}},hb=class extends tp{get formDirective(){return null}get path(){return null}},Aa=class extends tp{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},pb=class{constructor(t){this._cd=t}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},KQ={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},_de=B(D({},KQ),{"[class.ng-submitted]":"isSubmitted"}),bde=(()=>{class e extends pb{constructor(n){super(n)}static{this.\u0275fac=function(r){return new(r||e)(ae(Aa,2))}}static{this.\u0275dir=dt({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){r&2&&pm("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[Nr]})}}return e})();var Ca="VALID",Xh="INVALID",Zo="PENDING",Sa="DISABLED",Qo=class{},np=class extends Qo{constructor(t,n){super(),this.value=t,this.source=n}},Ia=class extends Qo{constructor(t,n){super(),this.pristine=t,this.source=n}},Oa=class extends Qo{constructor(t,n){super(),this.touched=t,this.source=n}},Yo=class extends Qo{constructor(t,n){super(),this.status=t,this.source=n}};function XQ(e){return(rp(e)?e.validators:e)||null}function eJ(e){return Array.isArray(e)?qx(e):e||null}function tJ(e,t){return(rp(t)?t.asyncValidators:e)||null}function nJ(e){return Array.isArray(e)?Ux(e):e||null}function rp(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}var gb=class{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=_c(()=>this.statusReactive()),this.statusReactive=uc(void 0),this._pristine=_c(()=>this.pristineReactive()),this.pristineReactive=uc(!0),this._touched=_c(()=>this.touchedReactive()),this.touchedReactive=uc(!1),this._events=new ye,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return Ln(this.statusReactive)}set status(t){Ln(()=>this.statusReactive.set(t))}get valid(){return this.status===Ca}get invalid(){return this.status===Xh}get pending(){return this.status==Zo}get disabled(){return this.status===Sa}get enabled(){return this.status!==Sa}get pristine(){return Ln(this.pristineReactive)}set pristine(t){Ln(()=>this.pristineReactive.set(t))}get dirty(){return!this.pristine}get touched(){return Ln(this.touchedReactive)}set touched(t){Ln(()=>this.touchedReactive.set(t))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(Sx(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(Sx(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(Ix(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(Ix(t,this._rawAsyncValidators))}hasValidator(t){return ep(this._rawValidators,t)}hasAsyncValidator(t){return ep(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){let n=this.touched===!1;this.touched=!0;let r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched(B(D({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new Oa(!0,r))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsTouched(t))}markAsUntouched(t={}){let n=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=t.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:r})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,r),n&&t.emitEvent!==!1&&this._events.next(new Oa(!1,r))}markAsDirty(t={}){let n=this.pristine===!0;this.pristine=!1;let r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty(B(D({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new Ia(!1,r))}markAsPristine(t={}){let n=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=t.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,r),n&&t.emitEvent!==!1&&this._events.next(new Ia(!0,r))}markAsPending(t={}){this.status=Zo;let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Yo(this.status,n)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending(B(D({},t),{sourceControl:n}))}disable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=Sa,this.errors=null,this._forEachChild(i=>{i.disable(B(D({},t),{onlySelf:!0}))}),this._updateValue();let r=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new np(this.value,r)),this._events.next(new Yo(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(B(D({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=Ca,this._forEachChild(r=>{r.enable(B(D({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(B(D({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t,n){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},n),this._parent._updateTouched({},n))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ca||this.status===Zo)&&this._runAsyncValidator(r,t.emitEvent)}let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new np(this.value,n)),this._events.next(new Yo(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(B(D({},t),{sourceControl:n}))}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Sa:Ca}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,n){if(this.asyncValidator){this.status=Zo,this._hasOwnPendingAsyncValidator={emitEvent:n!==!1};let r=kx(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:n,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(n.emitEvent!==!1,this,n.shouldHaveEmitted)}get(t){let n=t;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((r,i)=>r&&r._find(i),this)}getError(t,n){let r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,n,r){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||r)&&this._events.next(new Yo(this.status,n)),this._parent&&this._parent._updateControlsErrors(t,n,r)}_initObservables(){this.valueChanges=new ge,this.statusChanges=new ge}_calculateStatus(){return this._allControlsDisabled()?Sa:this.errors?Xh:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Zo)?Zo:this._anyControlsHaveStatus(Xh)?Xh:Ca}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,n){let r=!this._anyControlsDirty(),i=this.pristine!==r;this.pristine=r,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,n),i&&this._events.next(new Ia(this.pristine,n))}_updateTouched(t={},n){this.touched=this._anyControlsTouched(),this._events.next(new Oa(this.touched,n)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,n)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){rp(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let n=this._parent&&this._parent.dirty;return!t&&!!n&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=eJ(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=nJ(this._rawAsyncValidators)}};var $x=new C("CallSetDisabledState",{providedIn:"root",factory:()=>vb}),vb="always";function rJ(e,t){return[...t.path,e]}function iJ(e,t,n=vb){sJ(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||n==="always")&&t.valueAccessor.setDisabledState?.(e.disabled),aJ(e,t),cJ(e,t),uJ(e,t),oJ(e,t)}function Ox(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function oJ(e,t){if(t.valueAccessor.setDisabledState){let n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}function sJ(e,t){let n=QQ(e);t.validator!==null?e.setValidators(Cx(n,t.validator)):typeof n=="function"&&e.setValidators([n]);let r=JQ(e);t.asyncValidator!==null?e.setAsyncValidators(Cx(r,t.asyncValidator)):typeof r=="function"&&e.setAsyncValidators([r]);let i=()=>e.updateValueAndValidity();Ox(t._rawValidators,i),Ox(t._rawAsyncValidators,i)}function aJ(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&Bx(e,t)})}function uJ(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&Bx(e,t),e.updateOn!=="submit"&&e.markAsTouched()})}function Bx(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function cJ(e,t){let n=(r,i)=>{t.valueAccessor.writeValue(r),i&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}function lJ(e,t){if(!e.hasOwnProperty("model"))return!1;let n=e.model;return n.isFirstChange()?!0:!Object.is(t,n.currentValue)}function dJ(e){return Object.getPrototypeOf(e.constructor)===Px}function fJ(e,t){if(!t)return null;Array.isArray(t);let n,r,i;return t.forEach(o=>{o.constructor===Fx?n=o:dJ(o)?r=o:i=o}),i||r||n||null}function Ax(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Tx(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var hJ=class extends gb{constructor(t=null,n,r){super(XQ(n),tJ(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),rp(n)&&(n.nonNullable||n.initialValueIsDefault)&&(Tx(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,n.emitViewToModelChange!==!1)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Ax(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Ax(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){Tx(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};var pJ={provide:Aa,useExisting:Ti(()=>gJ)},xx=Promise.resolve(),gJ=(()=>{class e extends Aa{constructor(n,r,i,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new hJ,this._registered=!1,this.name="",this.update=new ge,this._parent=n,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=fJ(this,o)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),lJ(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){iJ(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(n){xx.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let r=n.isDisabled.currentValue,i=r!==0&&Rr(r);xx.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?rJ(n,this._parent):[n]}static{this.\u0275fac=function(r){return new(r||e)(ae(hb,9),ae(zQ,10),ae(WQ,10),ae(mb,10),ae(Fr,8),ae($x,8))}}static{this.\u0275dir=dt({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[fc([pJ]),Nr,xr]})}}return e})();var mJ=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=lt({type:e})}static{this.\u0275inj=ct({})}}return e})();var wde=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:$x,useValue:n.callSetDisabledState??vb}]}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=lt({type:e})}static{this.\u0275inj=ct({imports:[mJ]})}}return e})();var Cde={baseUrl:"MISSING",api:{baseUrl:"MISSING"},production:!1};export{Kx as a,yJ as b,we as c,Ee as d,v1 as e,A as f,ct as g,T as h,lD as i,lt as j,xr as k,fre as l,hre as m,ge as n,RP as o,pre as p,ae as q,xR as r,zR as s,pm as t,vre as u,yre as v,_re as w,bre as x,Dre as y,rE as z,iE as A,gm as B,wre as C,Fi as D,Ere as E,Mre as F,fk as G,sE as H,hk as I,pk as J,Cre as K,gk as L,Sre as M,Ire as N,Ore as O,Are as P,rie as Q,SE as R,oj as S,vie as T,Lie as U,Vie as V,tT as W,Kr as X,mY as Y,vr as Z,ede as _,tde as $,UQ as aa,Fx as ba,bde as ca,gJ as da,wde as ea,Cde as fa};
|