From 29589c887bdf733ad4b0179295d26cdefd68da05 Mon Sep 17 00:00:00 2001 From: Francisco de la Vega Date: Tue, 29 Oct 2024 12:05:35 +0100 Subject: [PATCH] Stats Endpoint (#301) * Add new landing page in the portal * Add stats endpoint --- controllers/stats.js | 90 +++++++++++++++++++ db/schemas/stats.js | 28 ++++++ package-lock.json | 12 +++ package.json | 3 +- portal/bae-frontend/assets/i18n/en.json | 17 ++-- portal/bae-frontend/assets/i18n/es.json | 17 ++-- portal/bae-frontend/index.html | 4 +- portal/bae-frontend/main.a4b2f5ac2bf8a59e.js | 1 + portal/bae-frontend/main.b93f580b2f4df552.js | 1 - .../bae-frontend/styles.0db97be566ccda0e.css | 1 + .../bae-frontend/styles.1ed4cd4165fa09e2.css | 1 - server.js | 7 ++ 12 files changed, 165 insertions(+), 17 deletions(-) create mode 100644 controllers/stats.js create mode 100644 db/schemas/stats.js create mode 100644 portal/bae-frontend/main.a4b2f5ac2bf8a59e.js delete mode 100644 portal/bae-frontend/main.b93f580b2f4df552.js create mode 100644 portal/bae-frontend/styles.0db97be566ccda0e.css delete mode 100644 portal/bae-frontend/styles.1ed4cd4165fa09e2.css diff --git a/controllers/stats.js b/controllers/stats.js new file mode 100644 index 00000000..5b7ac1b5 --- /dev/null +++ b/controllers/stats.js @@ -0,0 +1,90 @@ +/* Copyright (c) 2024 Future Internet Consulting and Development Solutions S.L. + * + * This file belongs to the business-ecosystem-logic-proxy of the + * Business API Ecosystem + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +const axios = require('axios') +const cron = require('node-cron') +const utils = require('../lib/utils') +const statsSchema = require('../db/schemas/stats') + +const logger = require('./../lib/logger').logger.getLogger('TMF') + + +function stats() { + + const loadStats = async function() { + // Get the list of launched offering + const productUrl = utils.getAPIProtocol('catalog') + '://' + utils.getAPIHost('catalog') + ':' + utils.getAPIPort('catalog') + '/productOffering?lifecycleStatus=Launched&fields=name' + const offers = await axios.request({ + method: 'GET', + url: productUrl + }) + + // Get the list of organizations + const partyUrl = utils.getAPIProtocol('party') + '://' + utils.getAPIHost('party') + ':' + utils.getAPIPort('party') + '/organization?fields=tradingName' + const parties = await axios.request({ + method: 'GET', + url: partyUrl + }) + + // Save data in MongoDB + const res = await statsSchema.findOne() + const services = offers.data.map((off) => { + return off.name + }) + + const organizations = parties.data.map((part) => { + return part.tradingName + }) + + if (res) { + res.services = services + res.organizations = organizations + await res.save() + } else { + const newStat = new statsSchema() + newStat.services = services + newStat.organizations = organizations + await newStat.save() + } + } + + const getStats = function(req, res) { + statsSchema.findOne().then((result) => { + res.send(result) + }) + } + + const init = function() { + return loadStats() + .catch((err) => { + console.log(err) + logger.error('Stats could not be loaded') + }) + .finally(() => { + cron.schedule('0 3 * * *', loadStats); + }) + } + + return { + getStats: getStats, + init: init + } +} + +exports.stats = stats diff --git a/db/schemas/stats.js b/db/schemas/stats.js new file mode 100644 index 00000000..5e7ce637 --- /dev/null +++ b/db/schemas/stats.js @@ -0,0 +1,28 @@ +/* Copyright (c) 2024 Future Internet Consulting and Development Solutions S.L. + * + * This file belongs to the business-ecosystem-logic-proxy of the + * Business API Ecosystem + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +const mongoose = require('mongoose'); +const Schema = mongoose.Schema; + +const statsSchema = new Schema({ + services: { type: Array, default: [] }, + organizations: { type: Array, default: [] } +}); + +module.exports = mongoose.model('stats', statsSchema); \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index c4190b07..fdafe48d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -33,6 +33,7 @@ "mongodb": "6.1.0", "mongoose": "^7.6.3", "node-cache": "^5.1.2", + "node-cron": "^3.0.3", "node-fetch": "^2.6.1", "node-minify": "^3.6.0", "normalize-url": "^1.8.0", @@ -4072,6 +4073,17 @@ "node": ">= 8.0.0" } }, + "node_modules/node-cron": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/node-cron/-/node-cron-3.0.3.tgz", + "integrity": "sha512-dOal67//nohNgYWb+nWmg5dkFdIwDm8EpeGYMekPMrngV3637lqnX0lbUcCtgibHTz6SEz7DAIjKvKDFYCnO1A==", + "dependencies": { + "uuid": "8.3.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, "node_modules/node-fetch": { "version": "2.7.0", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", diff --git a/package.json b/package.json index d2a73635..45ee144e 100755 --- a/package.json +++ b/package.json @@ -24,14 +24,15 @@ "i18n-2": "^0.7.2", "jade": "^1.11.0", "jsonwebtoken": "^8.5.1", - "mongodb": "6.1.0", "jwks-rsa": "^3.0.1", "log4js": "^6.9.1", "lru-cache": "^6.0.0", "merge-dirs": "^0.2.1", "moment": "^2.29.1", + "mongodb": "6.1.0", "mongoose": "^7.6.3", "node-cache": "^5.1.2", + "node-cron": "^3.0.3", "node-fetch": "^2.6.1", "node-minify": "^3.6.0", "normalize-url": "^1.8.0", diff --git a/portal/bae-frontend/assets/i18n/en.json b/portal/bae-frontend/assets/i18n/en.json index 25c190b7..29ff36e0 100644 --- a/portal/bae-frontend/assets/i18n/en.json +++ b/portal/bae-frontend/assets/i18n/en.json @@ -3,8 +3,8 @@ "_no": "No", "DASHBOARD": { "_title": "DOME Marketplace is out! See what's new", - "_header": "DOME Marketplace: Cloud & Edge Services you can Trust", - "_subheader": "Welcome to the first open distributed marketplace ecosystem for cloud, edge & AI services in Europe", + "_header": "Digital Trust to move forward", + "_subheader": "Join the first open distributed marketplace ecosystem for cloud, edge & AI services in europe.", "_new": "New", "_learn_more": "Learn more", "_video": "Watch video", @@ -15,7 +15,8 @@ "_smart_cities": "Smart cities", "_search_ph": "Search Cloud Services, Edge Services, Providers...", "_search": "Search", - "_not_found": "No offers found" + "_not_found": "No offers found", + "_browse_serv": "Browse services" }, "FEATURED": { "_title": "Featured offerings", @@ -110,7 +111,7 @@ "_updates_desc": "Stay informed with the latest developments, service enhancements and industry insights directly from the 'DOME' Project's website.", "_resources_title": "Resources & Reports", "_resources_desc": "Access our library of resources, detailed reports and case studies to gain a deep understanding of the cloud and edge market landscape and 'DOME' Project's impact.", - "_go": "Go to 'DOME' Project's Site" + "_go": "DOME Project" }, "CARD": { "_details": "View details", @@ -170,6 +171,7 @@ "_home": "Home", "_catalogs": "Catalogues", "_search": "Search", + "_browse": "Browse", "_cloud": "Cloud Services", "_smart_ports": "Smart ports", "_smart_cities": "Smart cities", @@ -186,9 +188,12 @@ "_ticketing": "Ticketing System", "_change_session": "Change session", "_admin": "Administration", - "_publish": "Publish your product", + "_publish": "Publish your service", "_register": "Register", - "_about": "About", + "_guidelines": "Guidelines", + "_onboarding": "Onboarding", + "_about": "About DOME", + "_verify": "Verify and publish", "_info": "Info" }, "PRODUCT_DETAILS": { diff --git a/portal/bae-frontend/assets/i18n/es.json b/portal/bae-frontend/assets/i18n/es.json index 25c190b7..29ff36e0 100644 --- a/portal/bae-frontend/assets/i18n/es.json +++ b/portal/bae-frontend/assets/i18n/es.json @@ -3,8 +3,8 @@ "_no": "No", "DASHBOARD": { "_title": "DOME Marketplace is out! See what's new", - "_header": "DOME Marketplace: Cloud & Edge Services you can Trust", - "_subheader": "Welcome to the first open distributed marketplace ecosystem for cloud, edge & AI services in Europe", + "_header": "Digital Trust to move forward", + "_subheader": "Join the first open distributed marketplace ecosystem for cloud, edge & AI services in europe.", "_new": "New", "_learn_more": "Learn more", "_video": "Watch video", @@ -15,7 +15,8 @@ "_smart_cities": "Smart cities", "_search_ph": "Search Cloud Services, Edge Services, Providers...", "_search": "Search", - "_not_found": "No offers found" + "_not_found": "No offers found", + "_browse_serv": "Browse services" }, "FEATURED": { "_title": "Featured offerings", @@ -110,7 +111,7 @@ "_updates_desc": "Stay informed with the latest developments, service enhancements and industry insights directly from the 'DOME' Project's website.", "_resources_title": "Resources & Reports", "_resources_desc": "Access our library of resources, detailed reports and case studies to gain a deep understanding of the cloud and edge market landscape and 'DOME' Project's impact.", - "_go": "Go to 'DOME' Project's Site" + "_go": "DOME Project" }, "CARD": { "_details": "View details", @@ -170,6 +171,7 @@ "_home": "Home", "_catalogs": "Catalogues", "_search": "Search", + "_browse": "Browse", "_cloud": "Cloud Services", "_smart_ports": "Smart ports", "_smart_cities": "Smart cities", @@ -186,9 +188,12 @@ "_ticketing": "Ticketing System", "_change_session": "Change session", "_admin": "Administration", - "_publish": "Publish your product", + "_publish": "Publish your service", "_register": "Register", - "_about": "About", + "_guidelines": "Guidelines", + "_onboarding": "Onboarding", + "_about": "About DOME", + "_verify": "Verify and publish", "_info": "Info" }, "PRODUCT_DETAILS": { diff --git a/portal/bae-frontend/index.html b/portal/bae-frontend/index.html index 41196689..009223c4 100644 --- a/portal/bae-frontend/index.html +++ b/portal/bae-frontend/index.html @@ -16,9 +16,9 @@ document.documentElement.classList.remove('dark') } - + - + \ No newline at end of file diff --git a/portal/bae-frontend/main.a4b2f5ac2bf8a59e.js b/portal/bae-frontend/main.a4b2f5ac2bf8a59e.js new file mode 100644 index 00000000..9288c27b --- /dev/null +++ b/portal/bae-frontend/main.a4b2f5ac2bf8a59e.js @@ -0,0 +1 @@ +(self.webpackChunkbae_frontend=self.webpackChunkbae_frontend||[]).push([[792],{7982:(r1,t1,W)=>{"use strict";function U(c,r,e,a,t,i,l){try{var d=c[i](l),u=d.value}catch(p){return void e(p)}d.done?r(u):Promise.resolve(u).then(a,t)}function M(c){return function(){var r=this,e=arguments;return new Promise(function(a,t){var i=c.apply(r,e);function l(u){U(i,a,t,l,d,"next",u)}function d(u){U(i,a,t,l,d,"throw",u)}l(void 0)})}}let F=null,I=1;const $=Symbol("SIGNAL");function q(c){const r=F;return F=c,r}function y1(c){if((!e3(c)||c.dirty)&&(c.dirty||c.lastCleanEpoch!==I)){if(!c.producerMustRecompute(c)&&!k8(c))return c.dirty=!1,void(c.lastCleanEpoch=I);c.producerRecomputeValue(c),c.dirty=!1,c.lastCleanEpoch=I}}function k8(c){ee(c);for(let r=0;r0}function ee(c){c.producerNode??=[],c.producerIndexOfThis??=[],c.producerLastReadVersion??=[]}let ri=null;function b2(c){return"function"==typeof c}function Wa(c){const e=c(a=>{Error.call(a),a.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const Za=Wa(c=>function(e){c(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((a,t)=>`${t+1}) ${a.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function S5(c,r){if(c){const e=c.indexOf(r);0<=e&&c.splice(e,1)}}class c3{constructor(r){this.initialTeardown=r,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let r;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const i of e)i.remove(this);else e.remove(this);const{initialTeardown:a}=this;if(b2(a))try{a()}catch(i){r=i instanceof Za?i.errors:[i]}const{_finalizers:t}=this;if(t){this._finalizers=null;for(const i of t)try{w3(i)}catch(l){r=r??[],l instanceof Za?r=[...r,...l.errors]:r.push(l)}}if(r)throw new Za(r)}}add(r){var e;if(r&&r!==this)if(this.closed)w3(r);else{if(r instanceof c3){if(r.closed||r._hasParent(this))return;r._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(r)}}_hasParent(r){const{_parentage:e}=this;return e===r||Array.isArray(e)&&e.includes(r)}_addParent(r){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(r),e):e?[e,r]:r}_removeParent(r){const{_parentage:e}=this;e===r?this._parentage=null:Array.isArray(e)&&S5(e,r)}remove(r){const{_finalizers:e}=this;e&&S5(e,r),r instanceof c3&&r._removeParent(this)}}c3.EMPTY=(()=>{const c=new c3;return c.closed=!0,c})();const ni=c3.EMPTY;function Ka(c){return c instanceof c3||c&&"closed"in c&&b2(c.remove)&&b2(c.add)&&b2(c.unsubscribe)}function w3(c){b2(c)?c():c.unsubscribe()}const W6={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},N5={setTimeout(c,r,...e){const{delegate:a}=N5;return a?.setTimeout?a.setTimeout(c,r,...e):setTimeout(c,r,...e)},clearTimeout(c){const{delegate:r}=N5;return(r?.clearTimeout||clearTimeout)(c)},delegate:void 0};function si(c){N5.setTimeout(()=>{const{onUnhandledError:r}=W6;if(!r)throw c;r(c)})}function D8(){}const F3=be("C",void 0,void 0);function be(c,r,e){return{kind:c,value:r,error:e}}let w2=null;function T8(c){if(W6.useDeprecatedSynchronousErrorHandling){const r=!w2;if(r&&(w2={errorThrown:!1,error:null}),c(),r){const{errorThrown:e,error:a}=w2;if(w2=null,e)throw a}}else c()}class xe extends c3{constructor(r){super(),this.isStopped=!1,r?(this.destination=r,Ka(r)&&r.add(this)):this.destination=E8}static create(r,e,a){return new H0(r,e,a)}next(r){this.isStopped?Xa(function Qa(c){return be("N",c,void 0)}(r),this):this._next(r)}error(r){this.isStopped?Xa(function li(c){return be("E",void 0,c)}(r),this):(this.isStopped=!0,this._error(r))}complete(){this.isStopped?Xa(F3,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(r){this.destination.next(r)}_error(r){try{this.destination.error(r)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Ja=Function.prototype.bind;function we(c,r){return Ja.call(c,r)}class Fe{constructor(r){this.partialObserver=r}next(r){const{partialObserver:e}=this;if(e.next)try{e.next(r)}catch(a){D5(a)}}error(r){const{partialObserver:e}=this;if(e.error)try{e.error(r)}catch(a){D5(a)}else D5(r)}complete(){const{partialObserver:r}=this;if(r.complete)try{r.complete()}catch(e){D5(e)}}}class H0 extends xe{constructor(r,e,a){let t;if(super(),b2(r)||!r)t={next:r??void 0,error:e??void 0,complete:a??void 0};else{let i;this&&W6.useDeprecatedNextContext?(i=Object.create(r),i.unsubscribe=()=>this.unsubscribe(),t={next:r.next&&we(r.next,i),error:r.error&&we(r.error,i),complete:r.complete&&we(r.complete,i)}):t=r}this.destination=new Fe(t)}}function D5(c){W6.useDeprecatedSynchronousErrorHandling?function fi(c){W6.useDeprecatedSynchronousErrorHandling&&w2&&(w2.errorThrown=!0,w2.error=c)}(c):si(c)}function Xa(c,r){const{onStoppedNotification:e}=W6;e&&N5.setTimeout(()=>e(c,r))}const E8={closed:!0,next:D8,error:function T5(c){throw c},complete:D8},C0="function"==typeof Symbol&&Symbol.observable||"@@observable";function s6(c){return c}function k1(c){return 0===c.length?s6:1===c.length?c[0]:function(e){return c.reduce((a,t)=>t(a),e)}}let l4=(()=>{class c{constructor(e){e&&(this._subscribe=e)}lift(e){const a=new c;return a.source=this,a.operator=e,a}subscribe(e,a,t){const i=function Z3(c){return c&&c instanceof xe||function Z6(c){return c&&b2(c.next)&&b2(c.error)&&b2(c.complete)}(c)&&Ka(c)}(e)?e:new H0(e,a,t);return T8(()=>{const{operator:l,source:d}=this;i.add(l?l.call(i,d):d?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(e){try{return this._subscribe(e)}catch(a){e.error(a)}}forEach(e,a){return new(a=di(a))((t,i)=>{const l=new H0({next:d=>{try{e(d)}catch(u){i(u),l.unsubscribe()}},error:i,complete:t});this.subscribe(l)})}_subscribe(e){var a;return null===(a=this.source)||void 0===a?void 0:a.subscribe(e)}[C0](){return this}pipe(...e){return k1(e)(this)}toPromise(e){return new(e=di(e))((a,t)=>{let i;this.subscribe(l=>i=l,l=>t(l),()=>a(i))})}}return c.create=r=>new c(r),c})();function di(c){var r;return null!==(r=c??W6.Promise)&&void 0!==r?r:Promise}const m2=Wa(c=>function(){c(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let G2=(()=>{class c extends l4{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const a=new D2(this,this);return a.operator=e,a}_throwIfClosed(){if(this.closed)throw new m2}next(e){T8(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const a of this.currentObservers)a.next(e)}})}error(e){T8(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:a}=this;for(;a.length;)a.shift().error(e)}})}complete(){T8(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:a,isStopped:t,observers:i}=this;return a||t?ni:(this.currentObservers=null,i.push(e),new c3(()=>{this.currentObservers=null,S5(i,e)}))}_checkFinalizedStatuses(e){const{hasError:a,thrownError:t,isStopped:i}=this;a?e.error(t):i&&e.complete()}asObservable(){const e=new l4;return e.source=this,e}}return c.create=(r,e)=>new D2(r,e),c})();class D2 extends G2{constructor(r,e){super(),this.destination=r,this.source=e}next(r){var e,a;null===(a=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===a||a.call(e,r)}error(r){var e,a;null===(a=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===a||a.call(e,r)}complete(){var r,e;null===(e=null===(r=this.destination)||void 0===r?void 0:r.complete)||void 0===e||e.call(r)}_subscribe(r){var e,a;return null!==(a=null===(e=this.source)||void 0===e?void 0:e.subscribe(r))&&void 0!==a?a:ni}}class a3 extends G2{constructor(r){super(),this._value=r}get value(){return this.getValue()}_subscribe(r){const e=super._subscribe(r);return!e.closed&&r.next(this._value),e}getValue(){const{hasError:r,thrownError:e,_value:a}=this;if(r)throw e;return this._throwIfClosed(),a}next(r){super.next(this._value=r)}}function ui(c){return b2(c?.lift)}function i4(c){return r=>{if(ui(r))return r.lift(function(e){try{return c(e,this)}catch(a){this.error(a)}});throw new TypeError("Unable to lift unknown Observable type")}}function _2(c,r,e,a,t){return new K6(c,r,e,a,t)}class K6 extends xe{constructor(r,e,a,t,i,l){super(r),this.onFinalize=i,this.shouldUnsubscribe=l,this._next=e?function(d){try{e(d)}catch(u){r.error(u)}}:super._next,this._error=t?function(d){try{t(d)}catch(u){r.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=a?function(){try{a()}catch(d){r.error(d)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(r=this.onFinalize)||void 0===r||r.call(this))}}}function J1(c,r){return i4((e,a)=>{let t=0;e.subscribe(_2(a,i=>{a.next(c.call(r,i,t++))}))})}const K3="https://g.co/ng/security#xss";class l1 extends Error{constructor(r,e){super(function Q3(c,r){return`NG0${Math.abs(c)}${r?": "+r:""}`}(r,e)),this.code=r}}function h3(c){return{toString:c}.toString()}const ce="__parameters__";function q2(c,r,e){return h3(()=>{const a=function e7(c){return function(...e){if(c){const a=c(...e);for(const t in a)this[t]=a[t]}}}(r);function t(...i){if(this instanceof t)return a.apply(this,i),this;const l=new t(...i);return d.annotation=l,d;function d(u,p,z){const x=u.hasOwnProperty(ce)?u[ce]:Object.defineProperty(u,ce,{value:[]})[ce];for(;x.length<=z;)x.push(null);return(x[z]=x[z]||[]).push(l),u}}return e&&(t.prototype=Object.create(e.prototype)),t.prototype.ngMetadataName=c,t.annotationCls=t,t})}const F2=globalThis;function T2(c){for(let r in c)if(c[r]===T2)return r;throw Error("Could not find renamed property on target object.")}function ff(c,r){for(const e in r)r.hasOwnProperty(e)&&!c.hasOwnProperty(e)&&(c[e]=r[e])}function V4(c){if("string"==typeof c)return c;if(Array.isArray(c))return"["+c.map(V4).join(", ")+"]";if(null==c)return""+c;if(c.overriddenName)return`${c.overriddenName}`;if(c.name)return`${c.name}`;const r=c.toString();if(null==r)return""+r;const e=r.indexOf("\n");return-1===e?r:r.substring(0,e)}function c7(c,r){return null==c||""===c?null===r?"":r:null==r||""===r?c:c+" "+r}const df=T2({__forward_ref__:T2});function E2(c){return c.__forward_ref__=E2,c.toString=function(){return V4(this())},c}function q1(c){return R5(c)?c():c}function R5(c){return"function"==typeof c&&c.hasOwnProperty(df)&&c.__forward_ref__===E2}function g1(c){return{token:c.token,providedIn:c.providedIn||null,factory:c.factory,value:void 0}}function g4(c){return{providers:c.providers||[],imports:c.imports||[]}}function O5(c){return Hi(c,U5)||Hi(c,Ci)}function Hi(c,r){return c.hasOwnProperty(r)?c[r]:null}function I5(c){return c&&(c.hasOwnProperty(r7)||c.hasOwnProperty(vf))?c[r7]:null}const U5=T2({\u0275prov:T2}),r7=T2({\u0275inj:T2}),Ci=T2({ngInjectableDef:T2}),vf=T2({ngInjectorDef:T2});class H1{constructor(r,e){this._desc=r,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=g1({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function o7(c){return c&&!!c.\u0275providers}const Se=T2({\u0275cmp:T2}),W2=T2({\u0275dir:T2}),ae=T2({\u0275pipe:T2}),Ne=T2({\u0275mod:T2}),Q6=T2({\u0275fac:T2}),De=T2({__NG_ELEMENT_ID__:T2}),zi=T2({__NG_ENV_ID__:T2});function t2(c){return"string"==typeof c?c:null==c?"":String(c)}function P8(c,r){throw new l1(-201,!1)}var u2=function(c){return c[c.Default=0]="Default",c[c.Host=1]="Host",c[c.Self=2]="Self",c[c.SkipSelf=4]="SkipSelf",c[c.Optional=8]="Optional",c}(u2||{});let s7;function Vi(){return s7}function j4(c){const r=s7;return s7=c,r}function Y5(c,r,e){const a=O5(c);return a&&"root"==a.providedIn?void 0===a.value?a.value=a.factory():a.value:e&u2.Optional?null:void 0!==r?r:void P8()}const R8={},G5="__NG_DI_FLAG__",q5="ngTempTokenPath",Lf=/\n/gm,Mi="__source";let te;function N3(c){const r=te;return te=c,r}function xf(c,r=u2.Default){if(void 0===te)throw new l1(-203,!1);return null===te?Y5(c,void 0,r):te.get(c,r&u2.Optional?null:void 0,r)}function f1(c,r=u2.Default){return(Vi()||xf)(q1(c),r)}function i1(c,r=u2.Default){return f1(c,W5(r))}function W5(c){return typeof c>"u"||"number"==typeof c?c:(c.optional&&8)|(c.host&&1)|(c.self&&2)|(c.skipSelf&&4)}function l7(c){const r=[];for(let e=0;eArray.isArray(e)?N6(e,r):r(e))}function wi(c,r,e){r>=c.length?c.push(e):c.splice(r,0,e)}function K5(c,r){return r>=c.length-1?c.pop():c.splice(r,1)[0]}function _3(c,r,e){let a=M0(c,r);return a>=0?c[1|a]=e:(a=~a,function J5(c,r,e,a){let t=c.length;if(t==r)c.push(e,a);else if(1===t)c.push(a,c[0]),c[0]=e;else{for(t--,c.push(c[t-1],c[t]);t>r;)c[t]=c[t-2],t--;c[r]=e,c[r+1]=a}}(c,a,r,e)),a}function d7(c,r){const e=M0(c,r);if(e>=0)return c[1|e]}function M0(c,r){return function X5(c,r,e){let a=0,t=c.length>>e;for(;t!==a;){const i=a+(t-a>>1),l=c[i<r?t=i:a=i+1}return~(t<r){l=i-1;break}}}for(;i-1){let i;for(;++ti?"":t[z+1].toLowerCase(),2&a&&p!==x){if(f6(a))return!1;l=!0}}}}else{if(!l&&!f6(a)&&!f6(u))return!1;if(l&&f6(u))continue;l=!1,a=u|1&a}}return f6(a)||l}function f6(c){return!(1&c)}function Di(c,r,e,a){if(null===r)return-1;let t=0;if(a||!e){let i=!1;for(;t-1)for(e++;e0?'="'+d+'"':"")+"]"}else 8&a?t+="."+l:4&a&&(t+=" "+l);else""!==t&&!f6(l)&&(r+=Ei(i,t),t=""),a=l,i=i||!f6(a);e++}return""!==t&&(r+=Ei(i,t)),r}function V1(c){return h3(()=>{const r=Pi(c),e={...r,decls:c.decls,vars:c.vars,template:c.template,consts:c.consts||null,ngContentSelectors:c.ngContentSelectors,onPush:c.changeDetection===cc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:r.standalone&&c.dependencies||null,getStandaloneInjector:null,signals:c.signals??!1,data:c.data||{},encapsulation:c.encapsulation||l6.Emulated,styles:c.styles||V2,_:null,schemas:c.schemas||null,tView:null,id:""};Ri(e);const a=c.dependencies;return e.directiveDefs=O8(a,!1),e.pipeDefs=O8(a,!0),e.id=function Oi(c){let r=0;const e=[c.selectors,c.ngContentSelectors,c.hostVars,c.hostAttrs,c.consts,c.vars,c.decls,c.encapsulation,c.standalone,c.signals,c.exportAs,JSON.stringify(c.inputs),JSON.stringify(c.outputs),Object.getOwnPropertyNames(c.type.prototype),!!c.contentQueries,!!c.viewQuery].join("|");for(const t of e)r=Math.imul(31,r)+t.charCodeAt(0)|0;return r+=2147483648,"c"+r}(e),e})}function Uf(c){return f2(c)||L4(c)}function jf(c){return null!==c}function M4(c){return h3(()=>({type:c.type,bootstrap:c.bootstrap||V2,declarations:c.declarations||V2,imports:c.imports||V2,exports:c.exports||V2,transitiveCompileScopes:null,schemas:c.schemas||null,id:c.id||null}))}function Ai(c,r){if(null==c)return D6;const e={};for(const a in c)if(c.hasOwnProperty(a)){const t=c[a];let i,l,d=J2.None;Array.isArray(t)?(d=t[0],i=t[1],l=t[2]??i):(i=t,l=t),r?(e[i]=d!==J2.None?[a,d]:a,r[i]=l):e[i]=a}return e}function U1(c){return h3(()=>{const r=Pi(c);return Ri(r),r})}function $4(c){return{type:c.type,name:c.name,factory:null,pure:!1!==c.pure,standalone:!0===c.standalone,onDestroy:c.type.prototype.ngOnDestroy||null}}function f2(c){return c[Se]||null}function L4(c){return c[W2]||null}function Y4(c){return c[ae]||null}function r3(c,r){const e=c[Ne]||null;if(!e&&!0===r)throw new Error(`Type ${V4(c)} does not have '\u0275mod' property.`);return e}function Pi(c){const r={};return{type:c.type,providersResolver:null,factory:null,hostBindings:c.hostBindings||null,hostVars:c.hostVars||0,hostAttrs:c.hostAttrs||null,contentQueries:c.contentQueries||null,declaredInputs:r,inputTransforms:null,inputConfig:c.inputs||D6,exportAs:c.exportAs||null,standalone:!0===c.standalone,signals:!0===c.signals,selectors:c.selectors||V2,viewQuery:c.viewQuery||null,features:c.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ai(c.inputs,r),outputs:Ai(c.outputs),debugInfo:null}}function Ri(c){c.features?.forEach(r=>r(c))}function O8(c,r){if(!c)return null;const e=r?Y4:Uf;return()=>("function"==typeof c?c():c).map(a=>e(a)).filter(jf)}function J6(c){return{\u0275providers:c}}function Ee(...c){return{\u0275providers:Ae(0,c),\u0275fromNgModule:!0}}function Ae(c,...r){const e=[],a=new Set;let t;const i=l=>{e.push(l)};return N6(r,l=>{const d=l;X6(d,i,[],a)&&(t||=[],t.push(d))}),void 0!==t&&_7(t,i),e}function _7(c,r){for(let e=0;e{r(i,a)})}}function X6(c,r,e,a){if(!(c=q1(c)))return!1;let t=null,i=I5(c);const l=!i&&f2(c);if(i||l){if(l&&!l.standalone)return!1;t=c}else{const u=c.ngModule;if(i=I5(u),!i)return!1;t=u}const d=a.has(t);if(l){if(d)return!1;if(a.add(t),l.dependencies){const u="function"==typeof l.dependencies?l.dependencies():l.dependencies;for(const p of u)X6(p,r,e,a)}}else{if(!i)return!1;{if(null!=i.imports&&!d){let p;a.add(t);try{N6(i.imports,z=>{X6(z,r,e,a)&&(p||=[],p.push(z))})}finally{}void 0!==p&&_7(p,r)}if(!d){const p=ie(t)||(()=>new t);r({provide:t,useFactory:p,deps:V2},t),r({provide:h7,useValue:t,multi:!0},t),r({provide:L0,useValue:()=>f1(t),multi:!0},t)}const u=i.providers;if(null!=u&&!d){const p=c;tc(u,z=>{r(z,p)})}}}return t!==c&&void 0!==c.providers}function tc(c,r){for(let e of c)o7(e)&&(e=e.\u0275providers),Array.isArray(e)?tc(e,r):r(e)}const Yf=T2({provide:String,useValue:T2});function p7(c){return null!==c&&"object"==typeof c&&Yf in c}function oe(c){return"function"==typeof c}const g7=new H1(""),ic={},qf={};let v7;function oc(){return void 0===v7&&(v7=new ec),v7}class p3{}class Pe extends p3{get destroyed(){return this._destroyed}constructor(r,e,a,t){super(),this.parent=e,this.source=a,this.scopes=t,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,C7(r,l=>this.processProvider(l)),this.records.set(u7,Re(void 0,this)),t.has("environment")&&this.records.set(p3,Re(void 0,this));const i=this.records.get(g7);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(h7,V2,u2.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const r=q(null);try{for(const a of this._ngOnDestroyHooks)a.ngOnDestroy();const e=this._onDestroyHooks;this._onDestroyHooks=[];for(const a of e)a()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),q(r)}}onDestroy(r){return this.assertNotDestroyed(),this._onDestroyHooks.push(r),()=>this.removeOnDestroy(r)}runInContext(r){this.assertNotDestroyed();const e=N3(this),a=j4(void 0);try{return r()}finally{N3(e),j4(a)}}get(r,e=R8,a=u2.Default){if(this.assertNotDestroyed(),r.hasOwnProperty(zi))return r[zi](this);a=W5(a);const i=N3(this),l=j4(void 0);try{if(!(a&u2.SkipSelf)){let u=this.records.get(r);if(void 0===u){const p=function Jf(c){return"function"==typeof c||"object"==typeof c&&c instanceof H1}(r)&&O5(r);u=p&&this.injectableDefInScope(p)?Re(H7(r),ic):null,this.records.set(r,u)}if(null!=u)return this.hydrate(r,u)}return(a&u2.Self?oc():this.parent).get(r,e=a&u2.Optional&&e===R8?null:e)}catch(d){if("NullInjectorError"===d.name){if((d[q5]=d[q5]||[]).unshift(V4(r)),i)throw d;return function yi(c,r,e,a){const t=c[q5];throw r[Mi]&&t.unshift(r[Mi]),c.message=function Ff(c,r,e,a=null){c=c&&"\n"===c.charAt(0)&&"\u0275"==c.charAt(1)?c.slice(2):c;let t=V4(r);if(Array.isArray(r))t=r.map(V4).join(" -> ");else if("object"==typeof r){let i=[];for(let l in r)if(r.hasOwnProperty(l)){let d=r[l];i.push(l+":"+("string"==typeof d?JSON.stringify(d):V4(d)))}t=`{${i.join(", ")}}`}return`${e}${a?"("+a+")":""}[${t}]: ${c.replace(Lf,"\n ")}`}("\n"+c.message,t,e,a),c.ngTokenPath=t,c[q5]=null,c}(d,r,"R3InjectorError",this.source)}throw d}finally{j4(l),N3(i)}}resolveInjectorInitializers(){const r=q(null),e=N3(this),a=j4(void 0);try{const i=this.get(L0,V2,u2.Self);for(const l of i)l()}finally{N3(e),j4(a),q(r)}}toString(){const r=[],e=this.records;for(const a of e.keys())r.push(V4(a));return`R3Injector[${r.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new l1(205,!1)}processProvider(r){let e=oe(r=q1(r))?r:q1(r&&r.provide);const a=function Zf(c){return p7(c)?Re(void 0,c.useValue):Re(ji(c),ic)}(r);if(!oe(r)&&!0===r.multi){let t=this.records.get(e);t||(t=Re(void 0,ic,!0),t.factory=()=>l7(t.multi),this.records.set(e,t)),e=r,t.multi.push(r)}this.records.set(e,a)}hydrate(r,e){const a=q(null);try{return e.value===ic&&(e.value=qf,e.value=e.factory()),"object"==typeof e.value&&e.value&&function Qf(c){return null!==c&&"object"==typeof c&&"function"==typeof c.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{q(a)}}injectableDefInScope(r){if(!r.providedIn)return!1;const e=q1(r.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(r){const e=this._onDestroyHooks.indexOf(r);-1!==e&&this._onDestroyHooks.splice(e,1)}}function H7(c){const r=O5(c),e=null!==r?r.factory:ie(c);if(null!==e)return e;if(c instanceof H1)throw new l1(204,!1);if(c instanceof Function)return function Wf(c){if(c.length>0)throw new l1(204,!1);const e=function gf(c){return c&&(c[U5]||c[Ci])||null}(c);return null!==e?()=>e.factory(c):()=>new c}(c);throw new l1(204,!1)}function ji(c,r,e){let a;if(oe(c)){const t=q1(c);return ie(t)||H7(t)}if(p7(c))a=()=>q1(c.useValue);else if(function Ui(c){return!(!c||!c.useFactory)}(c))a=()=>c.useFactory(...l7(c.deps||[]));else if(function Ii(c){return!(!c||!c.useExisting)}(c))a=()=>f1(q1(c.useExisting));else{const t=q1(c&&(c.useClass||c.provide));if(!function Kf(c){return!!c.deps}(c))return ie(t)||H7(t);a=()=>new t(...l7(c.deps))}return a}function Re(c,r,e=!1){return{factory:c,value:r,multi:e?[]:void 0}}function C7(c,r){for(const e of c)Array.isArray(e)?C7(e,r):e&&o7(e)?C7(e.\u0275providers,r):r(e)}function D3(c,r){c instanceof Pe&&c.assertNotDestroyed();const a=N3(c),t=j4(void 0);try{return r()}finally{N3(a),j4(t)}}function $i(){return void 0!==Vi()||null!=function bf(){return te}()}const e4=0,v1=1,R1=2,m4=3,d6=4,t3=5,_1=6,Oe=7,Z2=8,T4=9,o2=10,G1=11,Ie=12,fc=13,Ue=14,o4=15,U8=16,je=17,e0=18,T3=19,Wi=20,c0=21,dc=22,ne=23,a2=25,M7=1,X3=7,g3=9,f4=10;var L7=function(c){return c[c.None=0]="None",c[c.HasTransplantedViews=2]="HasTransplantedViews",c}(L7||{});function i3(c){return Array.isArray(c)&&"object"==typeof c[M7]}function o3(c){return Array.isArray(c)&&!0===c[M7]}function y7(c){return!!(4&c.flags)}function se(c){return c.componentOffset>-1}function hc(c){return!(1&~c.flags)}function u6(c){return!!c.template}function b7(c){return!!(512&c[R1])}class L{constructor(r,e,a){this.previousValue=r,this.currentValue=e,this.firstChange=a}isFirstChange(){return this.firstChange}}function T(c,r,e,a){null!==r?r.applyValueToInputSignal(r,a):c[e]=a}function A(){return G}function G(c){return c.type.prototype.ngOnChanges&&(c.setInput=o1),Q}function Q(){const c=c2(this),r=c?.current;if(r){const e=c.previous;if(e===D6)c.previous=r;else for(let a in r)e[a]=r[a];c.current=null,this.ngOnChanges(r)}}function o1(c,r,e,a,t){const i=this.declaredInputs[a],l=c2(c)||function p2(c,r){return c[F1]=r}(c,{previous:D6,current:null}),d=l.current||(l.current={}),u=l.previous,p=u[i];d[i]=new L(p&&p.currentValue,e,u===D6),T(c,r,t,e)}A.ngInherit=!0;const F1="__ngSimpleChanges__";function c2(c){return c[F1]||null}const q4=function(c,r,e){},Kz="svg";let Jz=!1;function K2(c){for(;Array.isArray(c);)c=c[e4];return c}function k7(c,r){return K2(r[c])}function E3(c,r){return K2(r[c.index])}function S7(c,r){return c.data[r]}function _c(c,r){return c[r]}function h6(c,r){const e=r[c];return i3(e)?e:e[e4]}function sd(c){return!(128&~c[R1])}function F0(c,r){return null==r?null:c[r]}function Xz(c){c[je]=0}function Zm1(c){1024&c[R1]||(c[R1]|=1024,sd(c)&&N7(c))}function ld(c){return!!(9216&c[R1]||c[ne]?.dirty)}function fd(c){c[o2].changeDetectionScheduler?.notify(1),ld(c)?N7(c):64&c[R1]&&(function Ym1(){return Jz}()?(c[R1]|=1024,N7(c)):c[o2].changeDetectionScheduler?.notify())}function N7(c){c[o2].changeDetectionScheduler?.notify();let r=Y8(c);for(;null!==r&&!(8192&r[R1])&&(r[R1]|=8192,sd(r));)r=Y8(r)}function Ki(c,r){if(!(256&~c[R1]))throw new l1(911,!1);null===c[c0]&&(c[c0]=[]),c[c0].push(r)}function Y8(c){const r=c[m4];return o3(r)?r[m4]:r}const r2={lFrame:lV(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function aV(){return r2.bindingsEnabled}function pc(){return null!==r2.skipHydrationRootTNode}function s1(){return r2.lFrame.lView}function g2(){return r2.lFrame.tView}function y(c){return r2.lFrame.contextLView=c,c[Z2]}function b(c){return r2.lFrame.contextLView=null,c}function j2(){let c=rV();for(;null!==c&&64===c.type;)c=c.parent;return c}function rV(){return r2.lFrame.currentTNode}function k0(c,r){const e=r2.lFrame;e.currentTNode=c,e.isParent=r}function ud(){return r2.lFrame.isParent}function hd(){r2.lFrame.isParent=!1}function A3(){const c=r2.lFrame;let r=c.bindingRootIndex;return-1===r&&(r=c.bindingRootIndex=c.tView.bindingStartIndex),r}function le(){return r2.lFrame.bindingIndex}function r0(){return r2.lFrame.bindingIndex++}function fe(c){const r=r2.lFrame,e=r.bindingIndex;return r.bindingIndex=r.bindingIndex+c,e}function o_1(c,r){const e=r2.lFrame;e.bindingIndex=e.bindingRootIndex=c,md(r)}function md(c){r2.lFrame.currentDirectiveIndex=c}function pd(){return r2.lFrame.currentQueryIndex}function Qi(c){r2.lFrame.currentQueryIndex=c}function s_1(c){const r=c[v1];return 2===r.type?r.declTNode:1===r.type?c[t3]:null}function nV(c,r,e){if(e&u2.SkipSelf){let t=r,i=c;for(;!(t=t.parent,null!==t||e&u2.Host||(t=s_1(i),null===t||(i=i[Ue],10&t.type))););if(null===t)return!1;r=t,c=i}const a=r2.lFrame=sV();return a.currentTNode=r,a.lView=c,!0}function gd(c){const r=sV(),e=c[v1];r2.lFrame=r,r.currentTNode=e.firstChild,r.lView=c,r.tView=e,r.contextLView=c,r.bindingIndex=e.bindingStartIndex,r.inI18n=!1}function sV(){const c=r2.lFrame,r=null===c?null:c.child;return null===r?lV(c):r}function lV(c){const r={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:c,child:null,inI18n:!1};return null!==c&&(c.child=r),r}function fV(){const c=r2.lFrame;return r2.lFrame=c.parent,c.currentTNode=null,c.lView=null,c}const dV=fV;function vd(){const c=fV();c.isParent=!0,c.tView=null,c.selectedIndex=-1,c.contextLView=null,c.elementDepthCount=0,c.currentDirectiveIndex=-1,c.currentNamespace=null,c.bindingRootIndex=-1,c.bindingIndex=-1,c.currentQueryIndex=0}function v3(){return r2.lFrame.selectedIndex}function G8(c){r2.lFrame.selectedIndex=c}function c4(){const c=r2.lFrame;return S7(c.tView,c.selectedIndex)}function w(){r2.lFrame.currentNamespace=Kz}function O(){!function d_1(){r2.lFrame.currentNamespace=null}()}let hV=!0;function T7(){return hV}function S0(c){hV=c}function Ji(c,r){for(let e=r.directiveStart,a=r.directiveEnd;e=a)break}else r[u]<0&&(c[je]+=65536),(d>14>16&&(3&c[R1])===r&&(c[R1]+=16384,_V(d,i)):_V(d,i)}const gc=-1;class E7{constructor(r,e,a){this.factory=r,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=a}}function zd(c){return c!==gc}function A7(c){return 32767&c}function P7(c,r){let e=function v_1(c){return c>>16}(c),a=r;for(;e>0;)a=a[Ue],e--;return a}let Vd=!0;function co(c){const r=Vd;return Vd=c,r}const pV=255,gV=5;let H_1=0;const N0={};function ao(c,r){const e=vV(c,r);if(-1!==e)return e;const a=r[v1];a.firstCreatePass&&(c.injectorIndex=r.length,Md(a.data,c),Md(r,null),Md(a.blueprint,null));const t=ro(c,r),i=c.injectorIndex;if(zd(t)){const l=A7(t),d=P7(t,r),u=d[v1].data;for(let p=0;p<8;p++)r[i+p]=d[l+p]|u[l+p]}return r[i+8]=t,i}function Md(c,r){c.push(0,0,0,0,0,0,0,0,r)}function vV(c,r){return-1===c.injectorIndex||c.parent&&c.parent.injectorIndex===c.injectorIndex||null===r[c.injectorIndex+8]?-1:c.injectorIndex}function ro(c,r){if(c.parent&&-1!==c.parent.injectorIndex)return c.parent.injectorIndex;let e=0,a=null,t=r;for(;null!==t;){if(a=yV(t),null===a)return gc;if(e++,t=t[Ue],-1!==a.injectorIndex)return a.injectorIndex|e<<16}return gc}function Ld(c,r,e){!function C_1(c,r,e){let a;"string"==typeof e?a=e.charCodeAt(0)||0:e.hasOwnProperty(De)&&(a=e[De]),null==a&&(a=e[De]=H_1++);const t=a&pV;r.data[c+(t>>gV)]|=1<=0?r&pV:L_1:r}(e);if("function"==typeof i){if(!nV(r,c,a))return a&u2.Host?HV(t,0,a):CV(r,e,a,t);try{let l;if(l=i(a),null!=l||a&u2.Optional)return l;P8()}finally{dV()}}else if("number"==typeof i){let l=null,d=vV(c,r),u=gc,p=a&u2.Host?r[o4][t3]:null;for((-1===d||a&u2.SkipSelf)&&(u=-1===d?ro(c,r):r[d+8],u!==gc&&LV(a,!1)?(l=r[v1],d=A7(u),r=P7(u,r)):d=-1);-1!==d;){const z=r[v1];if(MV(i,d,z.data)){const x=V_1(d,r,e,l,a,p);if(x!==N0)return x}u=r[d+8],u!==gc&&LV(a,r[v1].data[d+8]===p)&&MV(i,d,r)?(l=z,d=A7(u),r=P7(u,r)):d=-1}}return t}function V_1(c,r,e,a,t,i){const l=r[v1],d=l.data[c+8],z=to(d,l,e,null==a?se(d)&&Vd:a!=l&&!!(3&d.type),t&u2.Host&&i===d);return null!==z?q8(r,l,z,d):N0}function to(c,r,e,a,t){const i=c.providerIndexes,l=r.data,d=1048575&i,u=c.directiveStart,z=i>>20,E=t?d+z:c.directiveEnd;for(let P=a?d:d+z;P=u&&Y.type===e)return P}if(t){const P=l[u];if(P&&u6(P)&&P.type===e)return u}return null}function q8(c,r,e,a){let t=c[e];const i=r.data;if(function m_1(c){return c instanceof E7}(t)){const l=t;l.resolving&&function zf(c,r){throw r&&r.join(" > "),new l1(-200,c)}(function H2(c){return"function"==typeof c?c.name||c.toString():"object"==typeof c&&null!=c&&"function"==typeof c.type?c.type.name||c.type.toString():t2(c)}(i[e]));const d=co(l.canSeeViewProviders);l.resolving=!0;const p=l.injectImpl?j4(l.injectImpl):null;nV(c,a,u2.Default);try{t=c[e]=l.factory(void 0,i,c,a),r.firstCreatePass&&e>=a.directiveStart&&function u_1(c,r,e){const{ngOnChanges:a,ngOnInit:t,ngDoCheck:i}=r.type.prototype;if(a){const l=G(r);(e.preOrderHooks??=[]).push(c,l),(e.preOrderCheckHooks??=[]).push(c,l)}t&&(e.preOrderHooks??=[]).push(0-c,t),i&&((e.preOrderHooks??=[]).push(c,i),(e.preOrderCheckHooks??=[]).push(c,i))}(e,i[e],r)}finally{null!==p&&j4(p),co(d),l.resolving=!1,dV()}}return t}function MV(c,r,e){return!!(e[r+(c>>gV)]&1<{const r=c.prototype.constructor,e=r[Q6]||yd(r),a=Object.prototype;let t=Object.getPrototypeOf(c.prototype).constructor;for(;t&&t!==a;){const i=t[Q6]||yd(t);if(i&&i!==e)return i;t=Object.getPrototypeOf(t)}return i=>new i})}function yd(c){return R5(c)?()=>{const r=yd(q1(c));return r&&r()}:ie(c)}function yV(c){const r=c[v1],e=r.type;return 2===e?r.declTNode:1===e?c[t3]:null}function kV(c,r=null,e=null,a){const t=SV(c,r,e,a);return t.resolveInjectorInitializers(),t}function SV(c,r=null,e=null,a,t=new Set){const i=[e||V2,Ee(c)];return a=a||("object"==typeof c?void 0:V4(c)),new Pe(i,r||oc(),a||null,t)}let P3=(()=>{class c{static#e=this.THROW_IF_NOT_FOUND=R8;static#c=this.NULL=new ec;static create(e,a){if(Array.isArray(e))return kV({name:""},a,e,"");{const t=e.name??"";return kV({name:t},e.parent,e.providers,t)}}static#a=this.\u0275prov=g1({token:c,providedIn:"any",factory:()=>f1(u7)});static#r=this.__NG_ELEMENT_ID__=-1}return c})();function xd(c){return c.ngOriginalError}class D0{constructor(){this._console=console}handleError(r){const e=this._findOriginalError(r);this._console.error("ERROR",r),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(r){let e=r&&xd(r);for(;e&&xd(e);)e=xd(e);return e||null}}const DV=new H1("",{providedIn:"root",factory:()=>i1(D0).handleError.bind(void 0)});let W8=(()=>{class c{static#e=this.__NG_ELEMENT_ID__=T_1;static#c=this.__NG_ENV_ID__=e=>e}return c})();class D_1 extends W8{constructor(r){super(),this._lView=r}onDestroy(r){return Ki(this._lView,r),()=>function dd(c,r){if(null===c[c0])return;const e=c[c0].indexOf(r);-1!==e&&c[c0].splice(e,1)}(this._lView,r)}}function T_1(){return new D_1(s1())}function E_1(){return Cc(j2(),s1())}function Cc(c,r){return new C2(E3(c,r))}let C2=(()=>{class c{constructor(e){this.nativeElement=e}static#e=this.__NG_ELEMENT_ID__=E_1}return c})();function EV(c){return c instanceof C2?c.nativeElement:c}function wd(c){return r=>{setTimeout(c,void 0,r)}}const Y1=class A_1 extends G2{constructor(r=!1){super(),this.destroyRef=void 0,this.__isAsync=r,$i()&&(this.destroyRef=i1(W8,{optional:!0})??void 0)}emit(r){const e=q(null);try{super.next(r)}finally{q(e)}}subscribe(r,e,a){let t=r,i=e||(()=>null),l=a;if(r&&"object"==typeof r){const u=r;t=u.next?.bind(u),i=u.error?.bind(u),l=u.complete?.bind(u)}this.__isAsync&&(i=wd(i),t&&(t=wd(t)),l&&(l=wd(l)));const d=super.subscribe({next:t,error:i,complete:l});return r instanceof c3&&r.add(d),d}};function P_1(){return this._results[Symbol.iterator]()}class Fd{static#e=Symbol.iterator;get changes(){return this._changes??=new Y1}constructor(r=!1){this._emitDistinctChangesOnly=r,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const e=Fd.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=P_1)}get(r){return this._results[r]}map(r){return this._results.map(r)}filter(r){return this._results.filter(r)}find(r){return this._results.find(r)}reduce(r,e){return this._results.reduce(r,e)}forEach(r){this._results.forEach(r)}some(r){return this._results.some(r)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(r,e){this.dirty=!1;const a=function m3(c){return c.flat(Number.POSITIVE_INFINITY)}(r);(this._changesDetected=!function Sf(c,r,e){if(c.length!==r.length)return!1;for(let a=0;aip1}),ip1="ng",cM=new H1(""),m6=new H1("",{providedIn:"platform",factory:()=>"unknown"}),aM=new H1("",{providedIn:"root",factory:()=>Ye().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let rM=()=>null;function Id(c,r,e=!1){return rM(c,r,e)}const sM=new H1("",{providedIn:"root",factory:()=>!1});let go,vo;function Mc(c){return function Yd(){if(void 0===go&&(go=null,F2.trustedTypes))try{go=F2.trustedTypes.createPolicy("angular",{createHTML:c=>c,createScript:c=>c,createScriptURL:c=>c})}catch{}return go}()?.createHTML(c)||c}function fM(c){return function Gd(){if(void 0===vo&&(vo=null,F2.trustedTypes))try{vo=F2.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:c=>c,createScript:c=>c,createScriptURL:c=>c})}catch{}return vo}()?.createHTML(c)||c}class Z8{constructor(r){this.changingThisBreaksApplicationSecurity=r}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${K3})`}}class Hp1 extends Z8{getTypeName(){return"HTML"}}class Cp1 extends Z8{getTypeName(){return"Style"}}class zp1 extends Z8{getTypeName(){return"Script"}}class Vp1 extends Z8{getTypeName(){return"URL"}}class Mp1 extends Z8{getTypeName(){return"ResourceURL"}}function _6(c){return c instanceof Z8?c.changingThisBreaksApplicationSecurity:c}function T0(c,r){const e=function Lp1(c){return c instanceof Z8&&c.getTypeName()||null}(c);if(null!=e&&e!==r){if("ResourceURL"===e&&"URL"===r)return!0;throw new Error(`Required a safe ${r}, got a ${e} (see ${K3})`)}return e===r}class kp1{constructor(r){this.inertDocumentHelper=r}getInertBodyElement(r){r=""+r;try{const e=(new window.DOMParser).parseFromString(Mc(r),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(r):(e.removeChild(e.firstChild),e)}catch{return null}}}class Sp1{constructor(r){this.defaultDoc=r,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(r){const e=this.inertDocument.createElement("template");return e.innerHTML=Mc(r),e}}const Dp1=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ho(c){return(c=String(c)).match(Dp1)?c:"unsafe:"+c}function de(c){const r={};for(const e of c.split(","))r[e]=!0;return r}function Y7(...c){const r={};for(const e of c)for(const a in e)e.hasOwnProperty(a)&&(r[a]=!0);return r}const mM=de("area,br,col,hr,img,wbr"),_M=de("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),pM=de("rp,rt"),qd=Y7(mM,Y7(_M,de("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Y7(pM,de("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Y7(pM,_M)),Wd=de("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),gM=Y7(Wd,de("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),de("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Tp1=de("script,style,template");class Ep1{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(r){let e=r.firstChild,a=!0,t=[];for(;e;)if(e.nodeType===Node.ELEMENT_NODE?a=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,a&&e.firstChild)t.push(e),e=Rp1(e);else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let i=Pp1(e);if(i){e=i;break}e=t.pop()}return this.buf.join("")}startElement(r){const e=vM(r).toLowerCase();if(!qd.hasOwnProperty(e))return this.sanitizedSomething=!0,!Tp1.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const a=r.attributes;for(let t=0;t"),!0}endElement(r){const e=vM(r).toLowerCase();qd.hasOwnProperty(e)&&!mM.hasOwnProperty(e)&&(this.buf.push(""))}chars(r){this.buf.push(CM(r))}}function Pp1(c){const r=c.nextSibling;if(r&&c!==r.previousSibling)throw HM(r);return r}function Rp1(c){const r=c.firstChild;if(r&&function Ap1(c,r){return(c.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(c,r))throw HM(r);return r}function vM(c){const r=c.nodeName;return"string"==typeof r?r:"FORM"}function HM(c){return new Error(`Failed to sanitize html because the element is clobbered: ${c.outerHTML}`)}const Bp1=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Op1=/([^\#-~ |!])/g;function CM(c){return c.replace(/&/g,"&").replace(Bp1,function(r){return"&#"+(1024*(r.charCodeAt(0)-55296)+(r.charCodeAt(1)-56320)+65536)+";"}).replace(Op1,function(r){return"&#"+r.charCodeAt(0)+";"}).replace(//g,">")}let Co;function zM(c,r){let e=null;try{Co=Co||function hM(c){const r=new Sp1(c);return function Np1(){try{return!!(new window.DOMParser).parseFromString(Mc(""),"text/html")}catch{return!1}}()?new kp1(r):r}(c);let a=r?String(r):"";e=Co.getInertBodyElement(a);let t=5,i=a;do{if(0===t)throw new Error("Failed to sanitize html because the input is unstable");t--,a=i,i=e.innerHTML,e=Co.getInertBodyElement(a)}while(a!==i);return Mc((new Ep1).sanitizeChildren(Zd(e)||e))}finally{if(e){const a=Zd(e)||e;for(;a.firstChild;)a.removeChild(a.firstChild)}}}function Zd(c){return"content"in c&&function Ip1(c){return c.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===c.nodeName}(c)?c.content:null}var c6=function(c){return c[c.NONE=0]="NONE",c[c.HTML=1]="HTML",c[c.STYLE=2]="STYLE",c[c.SCRIPT=3]="SCRIPT",c[c.URL=4]="URL",c[c.RESOURCE_URL=5]="RESOURCE_URL",c}(c6||{});function VM(c){const r=G7();return r?fM(r.sanitize(c6.HTML,c)||""):T0(c,"HTML")?fM(_6(c)):zM(Ye(),t2(c))}function h2(c){const r=G7();return r?r.sanitize(c6.URL,c)||"":T0(c,"URL")?_6(c):Ho(t2(c))}function G7(){const c=s1();return c&&c[o2].sanitizer}function eu(c){return c.ownerDocument.defaultView}function d4(c){return c.ownerDocument}function p6(c){return c instanceof Function?c():c}var qe=function(c){return c[c.Important=1]="Important",c[c.DashCase=2]="DashCase",c}(qe||{});let cu;function au(c,r){return cu(c,r)}function yc(c,r,e,a,t){if(null!=a){let i,l=!1;o3(a)?i=a:i3(a)&&(l=!0,a=a[e4]);const d=K2(a);0===c&&null!==e?null==t?EM(r,e,d):K8(r,e,d,t||null,!0):1===c&&null!==e?K8(r,e,d,t||null,!0):2===c?function Z7(c,r,e){const a=yo(c,r);a&&function ug1(c,r,e,a){c.removeChild(r,e,a)}(c,a,r,e)}(r,d,l):3===c&&r.destroyNode(d),null!=i&&function _g1(c,r,e,a,t){const i=e[X3];i!==K2(e)&&yc(r,c,a,i,t);for(let d=f4;d0&&(c[e-1][d6]=a[d6]);const i=K5(c,f4+r);!function ig1(c,r){NM(c,r),r[e4]=null,r[t3]=null}(a[v1],a);const l=i[e0];null!==l&&l.detachView(i[v1]),a[m4]=null,a[d6]=null,a[R1]&=-129}return a}function Lo(c,r){if(!(256&r[R1])){const e=r[G1];e.destroyNode&&xo(c,r,e,3,null,null),function ng1(c){let r=c[Ie];if(!r)return iu(c[v1],c);for(;r;){let e=null;if(i3(r))e=r[Ie];else{const a=r[f4];a&&(e=a)}if(!e){for(;r&&!r[d6]&&r!==c;)i3(r)&&iu(r[v1],r),r=r[m4];null===r&&(r=c),i3(r)&&iu(r[v1],r),e=r&&r[d6]}r=e}}(r)}}function iu(c,r){if(256&r[R1])return;const e=q(null);try{r[R1]&=-129,r[R1]|=256,r[ne]&&function Le(c){if(ee(c),e3(c))for(let r=0;r=0?a[l]():a[-l].unsubscribe(),i+=2}else e[i].call(a[e[i+1]]);null!==a&&(r[Oe]=null);const t=r[c0];if(null!==t){r[c0]=null;for(let i=0;i-1){const{encapsulation:i}=c.data[a.directiveStart+t];if(i===l6.None||i===l6.Emulated)return null}return E3(a,e)}}(c,r.parent,e)}function K8(c,r,e,a,t){c.insertBefore(r,e,a,t)}function EM(c,r,e){c.appendChild(r,e)}function AM(c,r,e,a,t){null!==a?K8(c,r,e,a,t):EM(c,r,e)}function yo(c,r){return c.parentNode(r)}function PM(c,r,e){return BM(c,r,e)}let nu,BM=function RM(c,r,e){return 40&c.type?E3(c,e):null};function bo(c,r,e,a){const t=ou(c,a,r),i=r[G1],d=PM(a.parent||r[t3],a,r);if(null!=t)if(Array.isArray(e))for(let u=0;ua2&&GM(c,r,a2,!1),q4(l?2:0,t),e(a,t)}finally{G8(i),q4(l?3:1,t)}}function du(c,r,e){if(y7(r)){const a=q(null);try{const i=r.directiveEnd;for(let l=r.directiveStart;lnull;function JM(c,r,e,a,t){for(let i in r){if(!r.hasOwnProperty(i))continue;const l=r[i];if(void 0===l)continue;a??={};let d,u=J2.None;Array.isArray(l)?(d=l[0],u=l[1]):d=l;let p=i;if(null!==t){if(!t.hasOwnProperty(i))continue;p=t[i]}0===c?XM(a,e,p,d,u):XM(a,e,p,d)}return a}function XM(c,r,e,a,t){let i;c.hasOwnProperty(e)?(i=c[e]).push(r,a):i=c[e]=[r,a],void 0!==t&&i.push(t)}function a6(c,r,e,a,t,i,l,d){const u=E3(r,e);let z,p=r.inputs;!d&&null!=p&&(z=p[a])?(Hu(c,e,z,a,t),se(r)&&function wg1(c,r){const e=h6(r,c);16&e[R1]||(e[R1]|=64)}(e,r.index)):3&r.type&&(a=function xg1(c){return"class"===c?"className":"for"===c?"htmlFor":"formaction"===c?"formAction":"innerHtml"===c?"innerHTML":"readonly"===c?"readOnly":"tabindex"===c?"tabIndex":c}(a),t=null!=l?l(t,r.value||"",a):t,i.setProperty(u,a,t))}function _u(c,r,e,a){if(aV()){const t=null===a?null:{"":-1},i=function Tg1(c,r){const e=c.directiveRegistry;let a=null,t=null;if(e)for(let i=0;i0;){const e=c[--r];if("number"==typeof e&&e<0)return e}return 0})(l)!=d&&l.push(d),l.push(e,a,i)}}(c,r,a,K7(c,e,t.hostVars,n2),t)}function E0(c,r,e,a,t,i){const l=E3(c,r);!function gu(c,r,e,a,t,i,l){if(null==i)c.removeAttribute(r,t,e);else{const d=null==l?t2(i):l(i,a||"",t);c.setAttribute(r,t,d,e)}}(r[G1],l,i,c.value,e,a,t)}function Og1(c,r,e,a,t,i){const l=i[r];if(null!==l)for(let d=0;d0&&(e[t-1][d6]=r),a!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:c=>{N7(c.lView)},consumerOnSignalRead(){this.lView[ne]=this}},fL=100;function So(c,r=!0,e=0){const a=c[o2],t=a.rendererFactory;t.begin?.();try{!function Zg1(c,r){Vu(c,r);let e=0;for(;ld(c);){if(e===fL)throw new l1(103,!1);e++,Vu(c,1)}}(c,e)}catch(l){throw r&&ko(c,l),l}finally{t.end?.(),a.inlineEffectRunner?.flush()}}function Kg1(c,r,e,a){const t=r[R1];if(!(256&~t))return;r[o2].inlineEffectRunner?.flush(),gd(r);let l=null,d=null;(function Qg1(c){return 2!==c.type})(c)&&(d=function Yg1(c){return c[ne]??function Gg1(c){const r=lL.pop()??Object.create(Wg1);return r.lView=c,r}(c)}(r),l=function ja(c){return c&&(c.nextProducerIndex=0),q(c)}(d));try{Xz(r),function iV(c){return r2.lFrame.bindingIndex=c}(c.bindingStartIndex),null!==e&&ZM(c,r,e,2,a);const u=!(3&~t);if(u){const x=c.preOrderCheckHooks;null!==x&&Xi(r,x,null)}else{const x=c.preOrderHooks;null!==x&&eo(r,x,0,null),Hd(r,0)}if(function Jg1(c){for(let r=YV(c);null!==r;r=GV(r)){if(!(r[R1]&L7.HasTransplantedViews))continue;const e=r[g3];for(let a=0;ac.nextProducerIndex;)c.producerNode.pop(),c.producerLastReadVersion.pop(),c.producerIndexOfThis.pop()}}(d,l),function qg1(c){c.lView[ne]!==c&&(c.lView=null,lL.push(c))}(d)),vd()}}function dL(c,r){for(let e=YV(c);null!==e;e=GV(e))for(let a=f4;a-1&&(q7(r,a),K5(e,a))}this._attachedToViewContainer=!1}Lo(this._lView[v1],this._lView)}onDestroy(r){Ki(this._lView,r)}markForCheck(){er(this._cdRefInjectingView||this._lView)}detach(){this._lView[R1]&=-129}reattach(){fd(this._lView),this._lView[R1]|=128}detectChanges(){this._lView[R1]|=1024,So(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new l1(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,NM(this._lView[v1],this._lView)}attachToAppRef(r){if(this._attachedToViewContainer)throw new l1(902,!1);this._appRef=r,fd(this._lView)}}let t0=(()=>{class c{static#e=this.__NG_ELEMENT_ID__=av1}return c})();const ev1=t0,cv1=class extends ev1{constructor(r,e,a){super(),this._declarationLView=r,this._declarationTContainer=e,this.elementRef=a}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(r,e){return this.createEmbeddedViewImpl(r,e)}createEmbeddedViewImpl(r,e,a){const t=Q7(this._declarationLView,this._declarationTContainer,r,{embeddedViewInjector:e,dehydratedView:a});return new cr(t)}};function av1(){return No(j2(),s1())}function No(c,r){return 4&c.type?new cv1(r,c,Cc(c,r)):null}let HL=()=>null;function wc(c,r){return HL(c,r)}class wu{}class bv1{}class CL{}class wv1{resolveComponentFactory(r){throw function xv1(c){const r=Error(`No component factory found for ${V4(c)}.`);return r.ngComponent=c,r}(r)}}let Po=(()=>{class c{static#e=this.NULL=new wv1}return c})();class VL{}let T6=(()=>{class c{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function Fv1(){const c=s1(),e=h6(j2().index,c);return(i3(e)?e:c)[G1]}()}return c})(),kv1=(()=>{class c{static#e=this.\u0275prov=g1({token:c,providedIn:"root",factory:()=>null})}return c})();const Fu={},ML=new Set;function A0(c){ML.has(c)||(ML.add(c),performance?.mark?.("mark_feature_usage",{detail:{feature:c}}))}function LL(...c){}class z2{constructor({enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:a=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Y1(!1),this.onMicrotaskEmpty=new Y1(!1),this.onStable=new Y1(!1),this.onError=new Y1(!1),typeof Zone>"u")throw new l1(908,!1);Zone.assertZonePatched();const t=this;t._nesting=0,t._outer=t._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(t._inner=t._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(t._inner=t._inner.fork(Zone.longStackTraceZoneSpec)),t.shouldCoalesceEventChangeDetection=!a&&e,t.shouldCoalesceRunChangeDetection=a,t.lastRequestAnimationFrameId=-1,t.nativeRequestAnimationFrame=function Sv1(){const c="function"==typeof F2.requestAnimationFrame;let r=F2[c?"requestAnimationFrame":"setTimeout"],e=F2[c?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&r&&e){const a=r[Zone.__symbol__("OriginalDelegate")];a&&(r=a);const t=e[Zone.__symbol__("OriginalDelegate")];t&&(e=t)}return{nativeRequestAnimationFrame:r,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function Tv1(c){const r=()=>{!function Dv1(c){c.isCheckStableRunning||-1!==c.lastRequestAnimationFrameId||(c.lastRequestAnimationFrameId=c.nativeRequestAnimationFrame.call(F2,()=>{c.fakeTopEventTask||(c.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{c.lastRequestAnimationFrameId=-1,Su(c),c.isCheckStableRunning=!0,ku(c),c.isCheckStableRunning=!1},void 0,()=>{},()=>{})),c.fakeTopEventTask.invoke()}),Su(c))}(c)};c._inner=c._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,a,t,i,l,d)=>{if(function Ev1(c){return!(!Array.isArray(c)||1!==c.length)&&!0===c[0].data?.__ignore_ng_zone__}(d))return e.invokeTask(t,i,l,d);try{return yL(c),e.invokeTask(t,i,l,d)}finally{(c.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||c.shouldCoalesceRunChangeDetection)&&r(),bL(c)}},onInvoke:(e,a,t,i,l,d,u)=>{try{return yL(c),e.invoke(t,i,l,d,u)}finally{c.shouldCoalesceRunChangeDetection&&r(),bL(c)}},onHasTask:(e,a,t,i)=>{e.hasTask(t,i),a===t&&("microTask"==i.change?(c._hasPendingMicrotasks=i.microTask,Su(c),ku(c)):"macroTask"==i.change&&(c.hasPendingMacrotasks=i.macroTask))},onHandleError:(e,a,t,i)=>(e.handleError(t,i),c.runOutsideAngular(()=>c.onError.emit(i)),!1)})}(t)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!z2.isInAngularZone())throw new l1(909,!1)}static assertNotInAngularZone(){if(z2.isInAngularZone())throw new l1(909,!1)}run(r,e,a){return this._inner.run(r,e,a)}runTask(r,e,a,t){const i=this._inner,l=i.scheduleEventTask("NgZoneEvent: "+t,r,Nv1,LL,LL);try{return i.runTask(l,e,a)}finally{i.cancelTask(l)}}runGuarded(r,e,a){return this._inner.runGuarded(r,e,a)}runOutsideAngular(r){return this._outer.run(r)}}const Nv1={};function ku(c){if(0==c._nesting&&!c.hasPendingMicrotasks&&!c.isStable)try{c._nesting++,c.onMicrotaskEmpty.emit(null)}finally{if(c._nesting--,!c.hasPendingMicrotasks)try{c.runOutsideAngular(()=>c.onStable.emit(null))}finally{c.isStable=!0}}}function Su(c){c.hasPendingMicrotasks=!!(c._hasPendingMicrotasks||(c.shouldCoalesceEventChangeDetection||c.shouldCoalesceRunChangeDetection)&&-1!==c.lastRequestAnimationFrameId)}function yL(c){c._nesting++,c.isStable&&(c.isStable=!1,c.onUnstable.emit(null))}function bL(c){c._nesting--,ku(c)}class xL{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Y1,this.onMicrotaskEmpty=new Y1,this.onStable=new Y1,this.onError=new Y1}run(r,e,a){return r.apply(e,a)}runGuarded(r,e,a){return r.apply(e,a)}runOutsideAngular(r){return r()}runTask(r,e,a,t){return r.apply(e,a)}}var Q8=function(c){return c[c.EarlyRead=0]="EarlyRead",c[c.Write=1]="Write",c[c.MixedReadWrite=2]="MixedReadWrite",c[c.Read=3]="Read",c}(Q8||{});const wL={destroy(){}};function FL(c,r){!r&&function nc(c){if(!$i())throw new l1(-203,!1)}();const e=r?.injector??i1(P3);if(!function Ge(c){return"browser"===(c??i1(P3)).get(m6)}(e))return wL;A0("NgAfterNextRender");const a=e.get(or),t=a.handler??=new SL,i=r?.phase??Q8.MixedReadWrite,l=()=>{t.unregister(u),d()},d=e.get(W8).onDestroy(l),u=D3(e,()=>new kL(i,()=>{l(),c()}));return t.register(u),{destroy:l}}class kL{constructor(r,e){this.phase=r,this.callbackFn=e,this.zone=i1(z2),this.errorHandler=i1(D0,{optional:!0}),i1(wu,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(r){this.errorHandler?.handleError(r)}}}class SL{constructor(){this.executingCallbacks=!1,this.buckets={[Q8.EarlyRead]:new Set,[Q8.Write]:new Set,[Q8.MixedReadWrite]:new Set,[Q8.Read]:new Set},this.deferredCallbacks=new Set}register(r){(this.executingCallbacks?this.deferredCallbacks:this.buckets[r.phase]).add(r)}unregister(r){this.buckets[r.phase].delete(r),this.deferredCallbacks.delete(r)}execute(){this.executingCallbacks=!0;for(const r of Object.values(this.buckets))for(const e of r)e.invoke();this.executingCallbacks=!1;for(const r of this.deferredCallbacks)this.buckets[r.phase].add(r);this.deferredCallbacks.clear()}destroy(){for(const r of Object.values(this.buckets))r.clear();this.deferredCallbacks.clear()}}let or=(()=>{class c{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const e=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const a of e)a()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=g1({token:c,providedIn:"root",factory:()=>new c})}return c})();function Bo(c,r,e){let a=e?c.styles:null,t=e?c.classes:null,i=0;if(null!==r)for(let l=0;l0&&$M(c,e,i.join(" "))}}(P,x1,Z,a),void 0!==e&&function qv1(c,r,e){const a=c.projection=[];for(let t=0;t{class c{static#e=this.__NG_ELEMENT_ID__=Zv1}return c})();function Zv1(){return RL(j2(),s1())}const Kv1=g6,AL=class extends Kv1{constructor(r,e,a){super(),this._lContainer=r,this._hostTNode=e,this._hostLView=a}get element(){return Cc(this._hostTNode,this._hostLView)}get injector(){return new W4(this._hostTNode,this._hostLView)}get parentInjector(){const r=ro(this._hostTNode,this._hostLView);if(zd(r)){const e=P7(r,this._hostLView),a=A7(r);return new W4(e[v1].data[a+8],e)}return new W4(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(r){const e=PL(this._lContainer);return null!==e&&e[r]||null}get length(){return this._lContainer.length-f4}createEmbeddedView(r,e,a){let t,i;"number"==typeof a?t=a:null!=a&&(t=a.index,i=a.injector);const l=wc(this._lContainer,r.ssrId),d=r.createEmbeddedViewImpl(e||{},i,l);return this.insertImpl(d,t,xc(this._hostTNode,l)),d}createComponent(r,e,a,t,i){const l=r&&!function I8(c){return"function"==typeof c}(r);let d;if(l)d=e;else{const Y=e||{};d=Y.index,a=Y.injector,t=Y.projectableNodes,i=Y.environmentInjector||Y.ngModuleRef}const u=l?r:new lr(f2(r)),p=a||this.parentInjector;if(!i&&null==u.ngModule){const Z=(l?p:this.parentInjector).get(p3,null);Z&&(i=Z)}const z=f2(u.componentType??{}),x=wc(this._lContainer,z?.id??null),P=u.create(p,t,x?.firstChild??null,i);return this.insertImpl(P.hostView,d,xc(this._hostTNode,x)),P}insert(r,e){return this.insertImpl(r,e,!0)}insertImpl(r,e,a){const t=r._lView;if(function Wm1(c){return o3(c[m4])}(t)){const d=this.indexOf(r);if(-1!==d)this.detach(d);else{const u=t[m4],p=new AL(u,u[t3],u[m4]);p.detach(p.indexOf(r))}}const i=this._adjustIndex(e),l=this._lContainer;return J7(l,t,i,a),r.attachToViewContainerRef(),wi(Eu(l),i,r),r}move(r,e){return this.insert(r,e)}indexOf(r){const e=PL(this._lContainer);return null!==e?e.indexOf(r):-1}remove(r){const e=this._adjustIndex(r,-1),a=q7(this._lContainer,e);a&&(K5(Eu(this._lContainer),e),Lo(a[v1],a))}detach(r){const e=this._adjustIndex(r,-1),a=q7(this._lContainer,e);return a&&null!=K5(Eu(this._lContainer),e)?new cr(a):null}_adjustIndex(r,e=0){return r??this.length+e}};function PL(c){return c[8]}function Eu(c){return c[8]||(c[8]=[])}function RL(c,r){let e;const a=r[c.index];return o3(a)?e=a:(e=aL(a,r,null,c),r[c.index]=e,Fo(r,e)),BL(e,r,c,a),new AL(e,c,r)}let BL=function IL(c,r,e,a){if(c[X3])return;let t;t=8&e.type?K2(a):function Qv1(c,r){const e=c[G1],a=e.createComment(""),t=E3(r,c);return K8(e,yo(e,t),a,function hg1(c,r){return c.nextSibling(r)}(e,t),!1),a}(r,e),c[X3]=t},Au=()=>!1;class Pu{constructor(r){this.queryList=r,this.matches=null}clone(){return new Pu(this.queryList)}setDirty(){this.queryList.setDirty()}}class Ru{constructor(r=[]){this.queries=r}createEmbeddedView(r){const e=r.queries;if(null!==e){const a=null!==r.contentQueries?r.contentQueries[0]:e.length,t=[];for(let i=0;ir.trim())}(r):r}}class Bu{constructor(r=[]){this.queries=r}elementStart(r,e){for(let a=0;a0)a.push(l[d/2]);else{const p=i[d+1],z=r[-u];for(let x=f4;x=0;a--){const t=c[a];t.hostVars=r+=t.hostVars,t.hostAttrs=d3(t.hostAttrs,e=d3(e,t.hostAttrs))}}(a)}function gH1(c,r){for(const e in r.inputs){if(!r.inputs.hasOwnProperty(e)||c.inputs.hasOwnProperty(e))continue;const a=r.inputs[e];if(void 0!==a&&(c.inputs[e]=a,c.declaredInputs[e]=r.declaredInputs[e],null!==r.inputTransforms)){const t=Array.isArray(a)?a[0]:a;if(!r.inputTransforms.hasOwnProperty(t))continue;c.inputTransforms??={},c.inputTransforms[t]=r.inputTransforms[t]}}}function Uo(c){return c===D6?{}:c===V2?[]:c}function HH1(c,r){const e=c.viewQuery;c.viewQuery=e?(a,t)=>{r(a,t),e(a,t)}:r}function CH1(c,r){const e=c.contentQueries;c.contentQueries=e?(a,t,i)=>{r(a,t,i),e(a,t,i)}:r}function zH1(c,r){const e=c.hostBindings;c.hostBindings=e?(a,t)=>{r(a,t),e(a,t)}:r}class J8{}class hy{}class Yu extends J8{constructor(r,e,a){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new TL(this);const t=r3(r);this._bootstrapComponents=p6(t.bootstrap),this._r3Injector=SV(r,e,[{provide:J8,useValue:this},{provide:Po,useValue:this.componentFactoryResolver},...a],V4(r),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(r)}get injector(){return this._r3Injector}destroy(){const r=this._r3Injector;!r.destroyed&&r.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(r){this.destroyCbs.push(r)}}class Gu extends hy{constructor(r){super(),this.moduleType=r}create(r){return new Yu(this.moduleType,r,[])}}class my extends J8{constructor(r){super(),this.componentFactoryResolver=new TL(this),this.instance=null;const e=new Pe([...r.providers,{provide:J8,useValue:this},{provide:Po,useValue:this.componentFactoryResolver}],r.parent||oc(),r.debugName,new Set(["environment"]));this.injector=e,r.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(r){this.injector.onDestroy(r)}}function jo(c,r,e=null){return new my({providers:c,parent:r,debugName:e,runEnvironmentInitializers:!0}).injector}let Ke=(()=>{class c{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new a3(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const e=this.taskId++;return this.pendingTasks.add(e),e}remove(e){this.pendingTasks.delete(e),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function Yo(c){return!!qu(c)&&(Array.isArray(c)||!(c instanceof Map)&&Symbol.iterator in c)}function qu(c){return null!==c&&("function"==typeof c||"object"==typeof c)}function P0(c,r,e){return c[r]=e}function x4(c,r,e){return!Object.is(c[r],e)&&(c[r]=e,!0)}function X8(c,r,e,a){const t=x4(c,r,e);return x4(c,r+1,a)||t}function E6(c,r,e,a,t,i){const l=X8(c,r,e,a);return X8(c,r+2,t,i)||l}function R(c,r,e,a,t,i,l,d){const u=s1(),p=g2(),z=c+a2,x=p.firstCreatePass?function TH1(c,r,e,a,t,i,l,d,u){const p=r.consts,z=bc(r,c,4,l||null,F0(p,d));_u(r,e,z,F0(p,u)),Ji(r,z);const x=z.tView=mu(2,z,a,t,i,r.directiveRegistry,r.pipeRegistry,null,r.schemas,p,null);return null!==r.queries&&(r.queries.template(r,z),x.queries=r.queries.embeddedTView(z)),z}(z,p,u,r,e,a,t,i,l):p.data[z];k0(x,!1);const E=_y(p,u,x,c);T7()&&bo(p,u,E,x),H3(E,u);const P=aL(E,u,E,x);return u[z]=P,Fo(u,P),function OL(c,r,e){return Au(c,r,e)}(P,x,u),hc(x)&&uu(p,u,x),null!=l&&hu(u,x,d),R}let _y=function py(c,r,e,a){return S0(!0),r[G1].createComment("")};function A2(c,r,e,a){const t=s1();return x4(t,r0(),r)&&(g2(),E0(c4(),t,c,r,e,a)),A2}function Pc(c,r,e,a){return x4(c,r0(),e)?r+t2(e)+a:n2}function Bc(c,r,e,a,t,i,l,d){const p=function Go(c,r,e,a,t){const i=X8(c,r,e,a);return x4(c,r+2,t)||i}(c,le(),e,t,l);return fe(3),p?r+t2(e)+a+t2(t)+i+t2(l)+d:n2}function Jo(c,r){return c<<17|r<<2}function Je(c){return c>>17&32767}function rh(c){return 2|c}function c5(c){return(131068&c)>>2}function th(c,r){return-131069&c|r<<2}function ih(c){return 1|c}function qy(c,r,e,a){const t=c[e+1],i=null===r;let l=a?Je(t):c5(t),d=!1;for(;0!==l&&(!1===d||i);){const p=c[l+1];HC1(c[l],r)&&(d=!0,c[l+1]=a?ih(p):rh(p)),l=a?Je(p):c5(p)}d&&(c[e+1]=a?rh(t):ih(t))}function HC1(c,r){return null===c||null==r||(Array.isArray(c)?c[1]:c)===r||!(!Array.isArray(c)||"string"!=typeof r)&&M0(c,r)>=0}const Z4={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Wy(c){return c.substring(Z4.key,Z4.keyEnd)}function CC1(c){return c.substring(Z4.value,Z4.valueEnd)}function Zy(c,r){const e=Z4.textEnd;return e===r?-1:(r=Z4.keyEnd=function MC1(c,r,e){for(;r32;)r++;return r}(c,Z4.key=r,e),Yc(c,r,e))}function Ky(c,r){const e=Z4.textEnd;let a=Z4.key=Yc(c,r,e);return e===a?-1:(a=Z4.keyEnd=function LC1(c,r,e){let a;for(;r=65&&(-33&a)<=90||a>=48&&a<=57);)r++;return r}(c,a,e),a=Jy(c,a,e),a=Z4.value=Yc(c,a,e),a=Z4.valueEnd=function yC1(c,r,e){let a=-1,t=-1,i=-1,l=r,d=l;for(;l32&&(d=l),i=t,t=a,a=-33&u}return d}(c,a,e),Jy(c,a,e))}function Qy(c){Z4.key=0,Z4.keyEnd=0,Z4.value=0,Z4.valueEnd=0,Z4.textEnd=c.length}function Yc(c,r,e){for(;r=0;e=Ky(r,e))ab(c,Wy(r),CC1(r))}function R0(c,r){for(let e=function zC1(c){return Qy(c),Zy(c,Yc(c,0,Z4.textEnd))}(r);e>=0;e=Zy(r,e))_3(c,Wy(r),!0)}function o0(c,r,e,a){const t=s1(),i=g2(),l=fe(2);i.firstUpdatePass&&cb(i,c,l,a),r!==n2&&x4(t,l,r)&&rb(i,i.data[v3()],t,t[G1],c,t[l+1]=function EC1(c,r){return null==c||""===c||("string"==typeof r?c+=r:"object"==typeof c&&(c=V4(_6(c)))),c}(r,e),a,l)}function n0(c,r,e,a){const t=g2(),i=fe(2);t.firstUpdatePass&&cb(t,null,i,a);const l=s1();if(e!==n2&&x4(l,i,e)){const d=t.data[v3()];if(ib(d,a)&&!eb(t,i)){let u=a?d.classesWithoutHost:d.stylesWithoutHost;null!==u&&(e=c7(u,e||"")),oh(t,d,l,e,a)}else!function TC1(c,r,e,a,t,i,l,d){t===n2&&(t=V2);let u=0,p=0,z=0=c.expandoStartIndex}function cb(c,r,e,a){const t=c.data;if(null===t[e+1]){const i=t[v3()],l=eb(c,e);ib(i,a)&&null===r&&!l&&(r=!1),r=function wC1(c,r,e,a){const t=function _d(c){const r=r2.lFrame.currentDirectiveIndex;return-1===r?null:c[r]}(c);let i=a?r.residualClasses:r.residualStyles;if(null===t)0===(a?r.classBindings:r.styleBindings)&&(e=pr(e=nh(null,c,r,e,a),r.attrs,a),i=null);else{const l=r.directiveStylingLast;if(-1===l||c[l]!==t)if(e=nh(t,c,r,e,a),null===i){let u=function FC1(c,r,e){const a=e?r.classBindings:r.styleBindings;if(0!==c5(a))return c[Je(a)]}(c,r,a);void 0!==u&&Array.isArray(u)&&(u=nh(null,c,r,u[1],a),u=pr(u,r.attrs,a),function kC1(c,r,e,a){c[Je(e?r.classBindings:r.styleBindings)]=a}(c,r,a,u))}else i=function SC1(c,r,e){let a;const t=r.directiveEnd;for(let i=1+r.directiveStylingLast;i0)&&(p=!0)):z=e,t)if(0!==u){const E=Je(c[d+1]);c[a+1]=Jo(E,d),0!==E&&(c[E+1]=th(c[E+1],a)),c[d+1]=function _C1(c,r){return 131071&c|r<<17}(c[d+1],a)}else c[a+1]=Jo(d,0),0!==d&&(c[d+1]=th(c[d+1],a)),d=a;else c[a+1]=Jo(u,0),0===d?d=a:c[u+1]=th(c[u+1],a),u=a;p&&(c[a+1]=rh(c[a+1])),qy(c,z,a,!0),qy(c,z,a,!1),function vC1(c,r,e,a,t){const i=t?c.residualClasses:c.residualStyles;null!=i&&"string"==typeof r&&M0(i,r)>=0&&(e[a+1]=ih(e[a+1]))}(r,z,c,a,i),l=Jo(d,u),i?r.classBindings=l:r.styleBindings=l}(t,i,r,e,l,a)}}function nh(c,r,e,a,t){let i=null;const l=e.directiveEnd;let d=e.directiveStylingLast;for(-1===d?d=e.directiveStart:d++;d0;){const u=c[t],p=Array.isArray(u),z=p?u[1]:u,x=null===z;let E=e[t+1];E===n2&&(E=x?V2:void 0);let P=x?d7(E,a):z===a?E:void 0;if(p&&!Xo(P)&&(P=d7(u,a)),Xo(P)&&(d=P,l))return d;const Y=c[t+1];t=l?Je(Y):c5(Y)}if(null!==r){let u=i?r.residualClasses:r.residualStyles;null!=u&&(d=d7(u,a))}return d}function Xo(c){return void 0!==c}function ib(c,r){return!!(c.flags&(r?8:16))}function sh(c,r,e){n0(_3,R0,Pc(s1(),c,r,e),!0)}class YC1{destroy(r){}updateValue(r,e){}swap(r,e){const a=Math.min(r,e),t=Math.max(r,e),i=this.detach(t);if(t-a>1){const l=this.detach(a);this.attach(a,i),this.attach(t,l)}else this.attach(a,i)}move(r,e){this.attach(e,this.detach(r))}}function lh(c,r,e,a,t){return c===e&&Object.is(r,a)?1:Object.is(t(c,r),t(e,a))?-1:0}function fh(c,r,e,a){return!(void 0===r||!r.has(a)||(c.attach(e,r.get(a)),r.delete(a),0))}function ob(c,r,e,a,t){if(fh(c,r,a,e(a,t)))c.updateValue(a,t);else{const i=c.create(a,t);c.attach(a,i)}}function nb(c,r,e,a){const t=new Set;for(let i=r;i<=e;i++)t.add(a(i,c.at(i)));return t}class sb{constructor(){this.kvMap=new Map,this._vMap=void 0}has(r){return this.kvMap.has(r)}delete(r){if(!this.has(r))return!1;const e=this.kvMap.get(r);return void 0!==this._vMap&&this._vMap.has(e)?(this.kvMap.set(r,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(r),!0}get(r){return this.kvMap.get(r)}set(r,e){if(this.kvMap.has(r)){let a=this.kvMap.get(r);void 0===this._vMap&&(this._vMap=new Map);const t=this._vMap;for(;t.has(a);)a=t.get(a);t.set(a,e)}else this.kvMap.set(r,e)}forEach(r){for(let[e,a]of this.kvMap)if(r(a,e),void 0!==this._vMap){const t=this._vMap;for(;t.has(a);)a=t.get(a),r(a,e)}}}function S(c,r,e){A0("NgControlFlow");const a=s1(),t=r0(),i=dh(a,a2+c);if(x4(a,t,r)){const d=q(null);try{if(zu(i,0),-1!==r){const u=uh(a[v1],a2+r),p=wc(i,u.tView.ssrId);J7(i,Q7(a,u,e,{dehydratedView:p}),0,xc(u,p))}}finally{q(d)}}else{const d=nL(i,0);void 0!==d&&(d[Z2]=e)}}class qC1{constructor(r,e,a){this.lContainer=r,this.$implicit=e,this.$index=a}get $count(){return this.lContainer.length-f4}}function z1(c,r){return r}class ZC1{constructor(r,e,a){this.hasEmptyBlock=r,this.trackByFn=e,this.liveCollection=a}}function c1(c,r,e,a,t,i,l,d,u,p,z,x,E){A0("NgControlFlow");const P=void 0!==u,Y=s1(),Z=d?l.bind(Y[o4][Z2]):l,K=new ZC1(P,Z);Y[a2+c]=K,R(c+1,r,e,a,t,i),P&&R(c+2,u,p,z,x,E)}class KC1 extends YC1{constructor(r,e,a){super(),this.lContainer=r,this.hostLView=e,this.templateTNode=a,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-f4}at(r){return this.getLView(r)[Z2].$implicit}attach(r,e){const a=e[_1];this.needsIndexUpdate||=r!==this.length,J7(this.lContainer,e,r,xc(this.templateTNode,a))}detach(r){return this.needsIndexUpdate||=r!==this.length-1,function QC1(c,r){return q7(c,r)}(this.lContainer,r)}create(r,e){const a=wc(this.lContainer,this.templateTNode.tView.ssrId);return Q7(this.hostLView,this.templateTNode,new qC1(this.lContainer,e,r),{dehydratedView:a})}destroy(r){Lo(r[v1],r)}updateValue(r,e){this.getLView(r)[Z2].$implicit=e}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let r=0;r{c.destroy(d)})}(l,c,i.trackByFn),l.updateIndexes(),i.hasEmptyBlock){const d=r0(),u=0===l.length;if(x4(a,d,u)){const p=e+2,z=dh(a,p);if(u){const x=uh(t,p),E=wc(z,x.tView.ssrId);J7(z,Q7(a,x,void 0,{dehydratedView:E}),0,xc(x,E))}else zu(z,0)}}}finally{q(r)}}function dh(c,r){return c[r]}function uh(c,r){return S7(c,r)}function o(c,r,e,a){const t=s1(),i=g2(),l=a2+c,d=t[G1],u=i.firstCreatePass?function XC1(c,r,e,a,t,i){const l=r.consts,u=bc(r,c,2,a,F0(l,t));return _u(r,e,u,F0(l,i)),null!==u.attrs&&Bo(u,u.attrs,!1),null!==u.mergedAttrs&&Bo(u,u.mergedAttrs,!0),null!==r.queries&&r.queries.elementStart(r,u),u}(l,i,t,r,e,a):i.data[l],p=lb(i,t,u,d,r,c);t[l]=p;const z=hc(u);return k0(u,!0),YM(d,p,u),!function ur(c){return!(32&~c.flags)}(u)&&T7()&&bo(i,t,p,u),0===function Km1(){return r2.lFrame.elementDepthCount}()&&H3(p,t),function Qm1(){r2.lFrame.elementDepthCount++}(),z&&(uu(i,t,u),du(i,u,t)),null!==a&&hu(t,u),o}function n(){let c=j2();ud()?hd():(c=c.parent,k0(c,!1));const r=c;(function Xm1(c){return r2.skipHydrationRootTNode===c})(r)&&function r_1(){r2.skipHydrationRootTNode=null}(),function Jm1(){r2.lFrame.elementDepthCount--}();const e=g2();return e.firstCreatePass&&(Ji(e,c),y7(c)&&e.queries.elementEnd(c)),null!=r.classesWithoutHost&&function p_1(c){return!!(8&c.flags)}(r)&&oh(e,r,s1(),r.classesWithoutHost,!0),null!=r.stylesWithoutHost&&function g_1(c){return!!(16&c.flags)}(r)&&oh(e,r,s1(),r.stylesWithoutHost,!1),n}function v(c,r,e,a){return o(c,r,e,a),n(),v}let lb=(c,r,e,a,t,i)=>(S0(!0),Mo(a,t,function uV(){return r2.lFrame.currentNamespace}()));function j(){return s1()}function _h(c,r,e){const a=s1();return x4(a,r0(),r)&&a6(g2(),c4(),a,c,r,a[G1],e,!0),_h}const a5=void 0;var oz1=["en",[["a","p"],["AM","PM"],a5],[["AM","PM"],a5,a5],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],a5,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],a5,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",a5,"{1} 'at' {0}",a5],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function iz1(c){const e=Math.floor(Math.abs(c)),a=c.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===a?1:5}];let qc={};function R3(c){const r=function nz1(c){return c.toLowerCase().replace(/_/g,"-")}(c);let e=mb(r);if(e)return e;const a=r.split("-")[0];if(e=mb(a),e)return e;if("en"===a)return oz1;throw new l1(701,!1)}function mb(c){return c in qc||(qc[c]=F2.ng&&F2.ng.common&&F2.ng.common.locales&&F2.ng.common.locales[c]),qc[c]}var a4=function(c){return c[c.LocaleId=0]="LocaleId",c[c.DayPeriodsFormat=1]="DayPeriodsFormat",c[c.DayPeriodsStandalone=2]="DayPeriodsStandalone",c[c.DaysFormat=3]="DaysFormat",c[c.DaysStandalone=4]="DaysStandalone",c[c.MonthsFormat=5]="MonthsFormat",c[c.MonthsStandalone=6]="MonthsStandalone",c[c.Eras=7]="Eras",c[c.FirstDayOfWeek=8]="FirstDayOfWeek",c[c.WeekendRange=9]="WeekendRange",c[c.DateFormat=10]="DateFormat",c[c.TimeFormat=11]="TimeFormat",c[c.DateTimeFormat=12]="DateTimeFormat",c[c.NumberSymbols=13]="NumberSymbols",c[c.NumberFormats=14]="NumberFormats",c[c.CurrencyCode=15]="CurrencyCode",c[c.CurrencySymbol=16]="CurrencySymbol",c[c.CurrencyName=17]="CurrencyName",c[c.Currencies=18]="Currencies",c[c.Directionality=19]="Directionality",c[c.PluralCase=20]="PluralCase",c[c.ExtraData=21]="ExtraData",c}(a4||{});const Wc="en-US";let _b=Wc;function C(c,r,e,a){const t=s1(),i=g2(),l=j2();return vh(i,t,t[G1],l,c,r,a),C}function vh(c,r,e,a,t,i,l){const d=hc(a),p=c.firstCreatePass&&iL(c),z=r[Z2],x=tL(r);let E=!0;if(3&a.type||l){const Z=E3(a,r),K=l?l(Z):Z,J=x.length,X=l?h1=>l(K2(h1[a.index])):a.index;let n1=null;if(!l&&d&&(n1=function rV1(c,r,e,a){const t=c.cleanup;if(null!=t)for(let i=0;iu?d[u]:null}"string"==typeof l&&(i+=2)}return null}(c,r,t,a.index)),null!==n1)(n1.__ngLastListenerFn__||n1).__ngNextListenerFn__=i,n1.__ngLastListenerFn__=i,E=!1;else{i=jb(a,r,z,i,!1);const h1=e.listen(K,t,i);x.push(i,h1),p&&p.push(t,X,J,J+1)}}else i=jb(a,r,z,i,!1);const P=a.outputs;let Y;if(E&&null!==P&&(Y=P[t])){const Z=Y.length;if(Z)for(let K=0;K-1?h6(c.index,r):r);let u=Ub(r,e,a,l),p=i.__ngNextListenerFn__;for(;p;)u=Ub(r,e,p,l)&&u,p=p.__ngNextListenerFn__;return t&&!1===u&&l.preventDefault(),u}}function h(c=1){return function l_1(c){return(r2.lFrame.contextLView=function eV(c,r){for(;c>0;)r=r[Ue],c--;return r}(c,r2.lFrame.contextLView))[Z2]}(c)}function tV1(c,r){let e=null;const a=function Ef(c){const r=c.attrs;if(null!=r){const e=r.indexOf(5);if(!(1&e))return r[e+1]}return null}(c);for(let t=0;t(S0(!0),function ru(c,r){return c.createText(r)}(r[G1],a));function H(c){return V("",c,""),H}function V(c,r,e){const a=s1(),t=Pc(a,c,r,e);return t!==n2&&ue(a,v3(),t),V}function j1(c,r,e,a,t){const i=s1(),l=function Rc(c,r,e,a,t,i){const d=X8(c,le(),e,t);return fe(2),d?r+t2(e)+a+t2(t)+i:n2}(i,c,r,e,a,t);return l!==n2&&ue(i,v3(),l),j1}function H6(c,r,e,a,t,i,l){const d=s1(),u=Bc(d,c,r,e,a,t,i,l);return u!==n2&&ue(d,v3(),u),H6}function r5(c,r,e,a,t,i,l,d,u){const p=s1(),z=function Oc(c,r,e,a,t,i,l,d,u,p){const x=E6(c,le(),e,t,l,u);return fe(4),x?r+t2(e)+a+t2(t)+i+t2(l)+d+t2(u)+p:n2}(p,c,r,e,a,t,i,l,d,u);return z!==n2&&ue(p,v3(),z),r5}function Ch(c,r,e,a,t,i,l,d,u,p,z){const x=s1(),E=function Ic(c,r,e,a,t,i,l,d,u,p,z,x){const E=le();let P=E6(c,E,e,t,l,u);return P=x4(c,E+4,z)||P,fe(5),P?r+t2(e)+a+t2(t)+i+t2(l)+d+t2(u)+p+t2(z)+x:n2}(x,c,r,e,a,t,i,l,d,u,p,z);return E!==n2&&ue(x,v3(),E),Ch}function nn(c,r,e){QL(r)&&(r=r());const a=s1();return x4(a,r0(),r)&&a6(g2(),c4(),a,c,r,a[G1],e,!1),nn}function zh(c,r){const e=QL(c);return e&&c.set(r),e}function sn(c,r){const e=s1(),a=g2(),t=j2();return vh(a,e,e[G1],t,c,r),sn}function Vh(c,r,e,a,t){if(c=q1(c),Array.isArray(c))for(let i=0;i>20;if(oe(c)||!c.multi){const P=new E7(p,t,B),Y=Lh(u,r,t?z:z+E,x);-1===Y?(Ld(ao(d,l),i,u),Mh(i,c,r.length),r.push(u),d.directiveStart++,d.directiveEnd++,t&&(d.providerIndexes+=1048576),e.push(P),l.push(P)):(e[Y]=P,l[Y]=P)}else{const P=Lh(u,r,z+E,x),Y=Lh(u,r,z,z+E),K=Y>=0&&e[Y];if(t&&!K||!t&&!(P>=0&&e[P])){Ld(ao(d,l),i,u);const J=function VV1(c,r,e,a,t){const i=new E7(c,e,B);return i.multi=[],i.index=r,i.componentProviders=0,ux(i,t,a&&!e),i}(t?zV1:CV1,e.length,t,a,p);!t&&K&&(e[Y].providerFactory=J),Mh(i,c,r.length,0),r.push(u),d.directiveStart++,d.directiveEnd++,t&&(d.providerIndexes+=1048576),e.push(J),l.push(J)}else Mh(i,c,P>-1?P:Y,ux(e[t?Y:P],p,!t&&a));!t&&a&&K&&e[Y].componentProviders++}}}function Mh(c,r,e,a){const t=oe(r),i=function Gf(c){return!!c.useClass}(r);if(t||i){const u=(i?q1(r.useClass):r).prototype.ngOnDestroy;if(u){const p=c.destroyHooks||(c.destroyHooks=[]);if(!t&&r.multi){const z=p.indexOf(e);-1===z?p.push(e,[a,u]):p[z+1].push(a,u)}else p.push(e,u)}}}function ux(c,r,e){return e&&c.componentProviders++,c.multi.push(r)-1}function Lh(c,r,e,a){for(let t=e;t{e.providersResolver=(a,t)=>function HV1(c,r,e){const a=g2();if(a.firstCreatePass){const t=u6(c);Vh(e,a.data,a.blueprint,t,!0),Vh(r,a.data,a.blueprint,t,!1)}}(a,t?t(c):c,r)}}let MV1=(()=>{class c{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){const a=Ae(0,e.type),t=a.length>0?jo([a],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,t)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=g1({token:c,providedIn:"environment",factory:()=>new c(f1(p3))})}return c})();function C3(c){A0("NgStandalone"),c.getStandaloneInjector=r=>r.get(MV1).getOrCreateStandaloneInjector(c)}function E4(c,r,e){const a=A3()+c,t=s1();return t[a]===n2?P0(t,a,e?r.call(e):r()):function dr(c,r){return c[r]}(t,a)}function fn(c,r,e,a){return mx(s1(),A3(),c,r,e,a)}function yr(c,r){const e=c[r];return e===n2?void 0:e}function mx(c,r,e,a,t,i){const l=r+e;return x4(c,l,t)?P0(c,l+1,i?a.call(i,t):a(t)):yr(c,l+1)}function m(c,r){const e=g2();let a;const t=c+a2;e.firstCreatePass?(a=function TV1(c,r){if(r)for(let e=r.length-1;e>=0;e--){const a=r[e];if(c===a.name)return a}}(r,e.pipeRegistry),e.data[t]=a,a.onDestroy&&(e.destroyHooks??=[]).push(t,a.onDestroy)):a=e.data[t];const i=a.factory||(a.factory=ie(a.type)),d=j4(B);try{const u=co(!1),p=i();return co(u),function sV1(c,r,e,a){e>=c.data.length&&(c.data[e]=null,c.blueprint[e]=null),r[e]=a}(e,s1(),t,p),p}finally{j4(d)}}function _(c,r,e){const a=c+a2,t=s1(),i=_c(t,a);return br(t,a)?mx(t,A3(),r,i.transform,e,i):i.transform(e)}function L2(c,r,e,a){const t=c+a2,i=s1(),l=_c(i,t);return br(i,t)?function _x(c,r,e,a,t,i,l){const d=r+e;return X8(c,d,t,i)?P0(c,d+2,l?a.call(l,t,i):a(t,i)):yr(c,d+2)}(i,A3(),r,l.transform,e,a,l):l.transform(e,a)}function br(c,r){return c[v1].data[r].pure}function dn(c,r){return No(c,r)}let Tx=(()=>{class c{log(e){console.log(e)}warn(e){console.warn(e)}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"platform"})}return c})();const Bx=new H1(""),mn=new H1("");let Dh,Sh=(()=>{class c{constructor(e,a,t){this._ngZone=e,this.registry=a,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Dh||(function kM1(c){Dh=c}(t),t.addToWindow(a)),this._watchAngularEvents(),e.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:()=>{z2.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(a=>!a.updateCb||!a.updateCb(e)||(clearTimeout(a.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,a,t){let i=-1;a&&a>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(l=>l.timeoutId!==i),e()},a)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:t})}whenStable(e,a,t){if(t&&!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(e,a,t),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,a,t){return[]}static#e=this.\u0275fac=function(a){return new(a||c)(f1(z2),f1(Nh),f1(mn))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})(),Nh=(()=>{class c{constructor(){this._applications=new Map}registerApplication(e,a){this._applications.set(e,a)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,a=!0){return Dh?.findTestabilityInTree(this,e,a)??null}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"platform"})}return c})();function kr(c){return!!c&&"function"==typeof c.then}function Ox(c){return!!c&&"function"==typeof c.subscribe}const _n=new H1("");let Th=(()=>{class c{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,a)=>{this.resolve=e,this.reject=a}),this.appInits=i1(_n,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const e=[];for(const t of this.appInits){const i=t();if(kr(i))e.push(i);else if(Ox(i)){const l=new Promise((d,u)=>{i.subscribe({complete:d,error:u})});e.push(l)}}const a=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{a()}).catch(t=>{this.reject(t)}),0===e.length&&a(),this.initialized=!0}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const Eh=new H1("");function jx(c,r){return Array.isArray(r)?r.reduce(jx,c):{...c,...r}}let e8=(()=>{class c{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=i1(DV),this.afterRenderEffectManager=i1(or),this.externalTestViews=new Set,this.beforeRender=new G2,this.afterTick=new G2,this.componentTypes=[],this.components=[],this.isStable=i1(Ke).hasPendingTasks.pipe(J1(e=>!e)),this._injector=i1(p3)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,a){const t=e instanceof CL;if(!this._injector.get(Th).done)throw!t&&function b0(c){const r=f2(c)||L4(c)||Y4(c);return null!==r&&r.standalone}(e),new l1(405,!1);let l;l=t?e:this._injector.get(Po).resolveComponentFactory(e),this.componentTypes.push(l.componentType);const d=function SM1(c){return c.isBoundToModule}(l)?void 0:this._injector.get(J8),p=l.create(P3.NULL,[],a||l.selector,d),z=p.location.nativeElement,x=p.injector.get(Bx,null);return x?.registerApplication(z),p.onDestroy(()=>{this.detachView(p.hostView),pn(this.components,p),x?.unregisterApplication(z)}),this._loadComponent(p),p}tick(){this._tick(!0)}_tick(e){if(this._runningTick)throw new l1(101,!1);const a=q(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(e)}catch(t){this.internalErrorHandler(t)}finally{this.afterTick.next(),this._runningTick=!1,q(a)}}detectChangesInAttachedViews(e){let a=0;const t=this.afterRenderEffectManager;for(;;){if(a===fL)throw new l1(103,!1);if(e){const i=0===a;this.beforeRender.next(i);for(let{_lView:l,notifyErrorHandler:d}of this._views)DM1(l,i,d)}if(a++,t.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:i})=>Ah(i))&&(t.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:i})=>Ah(i))))break}}attachView(e){const a=e;this._views.push(a),a.attachToAppRef(this)}detachView(e){const a=e;pn(this._views,a),a.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const a=this._injector.get(Eh,[]);[...this._bootstrapListeners,...a].forEach(t=>t(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>pn(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new l1(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function pn(c,r){const e=c.indexOf(r);e>-1&&c.splice(e,1)}function DM1(c,r,e){!r&&!Ah(c)||function TM1(c,r,e){let a;e?(a=0,c[R1]|=1024):a=64&c[R1]?0:1,So(c,r,a)}(c,e,r)}function Ah(c){return ld(c)}class EM1{constructor(r,e){this.ngModuleFactory=r,this.componentFactories=e}}let $x=(()=>{class c{compileModuleSync(e){return new Gu(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const a=this.compileModuleSync(e),i=p6(r3(e).declarations).reduce((l,d)=>{const u=f2(d);return u&&l.push(new lr(u)),l},[]);return new EM1(a,i)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),RM1=(()=>{class c{constructor(){this.zone=i1(z2),this.applicationRef=i1(e8)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function BM1(){const c=i1(z2),r=i1(D0);return e=>c.runOutsideAngular(()=>r.handleError(e))}let IM1=(()=>{class c{constructor(){this.subscription=new c3,this.initialized=!1,this.zone=i1(z2),this.pendingTasks=i1(Ke)}initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{z2.assertNotInAngularZone(),queueMicrotask(()=>{null!==e&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{z2.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const B0=new H1("",{providedIn:"root",factory:()=>i1(B0,u2.Optional|u2.SkipSelf)||function UM1(){return typeof $localize<"u"&&$localize.locale||Wc}()}),Ph=new H1("");let Wx=(()=>{class c{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,a){const t=function Av1(c="zone.js",r){return"noop"===c?new xL:"zone.js"===c?new z2(r):c}(a?.ngZone,function qx(c){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:c?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:c?.runCoalescing??!1}}({eventCoalescing:a?.ngZoneEventCoalescing,runCoalescing:a?.ngZoneRunCoalescing}));return t.run(()=>{const i=function wH1(c,r,e){return new Yu(c,r,e)}(e.moduleType,this.injector,function Gx(c){return[{provide:z2,useFactory:c},{provide:L0,multi:!0,useFactory:()=>{const r=i1(RM1,{optional:!0});return()=>r.initialize()}},{provide:L0,multi:!0,useFactory:()=>{const r=i1(IM1);return()=>{r.initialize()}}},{provide:DV,useFactory:BM1}]}(()=>t)),l=i.injector.get(D0,null);return t.runOutsideAngular(()=>{const d=t.onError.subscribe({next:u=>{l.handleError(u)}});i.onDestroy(()=>{pn(this._modules,i),d.unsubscribe()})}),function Ux(c,r,e){try{const a=e();return kr(a)?a.catch(t=>{throw r.runOutsideAngular(()=>c.handleError(t)),t}):a}catch(a){throw r.runOutsideAngular(()=>c.handleError(a)),a}}(l,t,()=>{const d=i.injector.get(Th);return d.runInitializers(),d.donePromise.then(()=>(function pb(c){"string"==typeof c&&(_b=c.toLowerCase().replace(/_/g,"-"))}(i.injector.get(B0,Wc)||Wc),this._moduleDoBootstrap(i),i))})})}bootstrapModule(e,a=[]){const t=jx({},a);return function PM1(c,r,e){const a=new Gu(e);return Promise.resolve(a)}(0,0,e).then(i=>this.bootstrapModuleFactory(i,t))}_moduleDoBootstrap(e){const a=e.injector.get(e8);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(t=>a.bootstrap(t));else{if(!e.instance.ngDoBootstrap)throw new l1(-403,!1);e.instance.ngDoBootstrap(a)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new l1(404,!1);this._modules.slice().forEach(a=>a.destroy()),this._destroyListeners.forEach(a=>a());const e=this._injector.get(Ph,null);e&&(e.forEach(a=>a()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(a){return new(a||c)(f1(P3))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"platform"})}return c})(),c8=null;const Zx=new H1("");function Kx(c,r,e=[]){const a=`Platform: ${r}`,t=new H1(a);return(i=[])=>{let l=Rh();if(!l||l.injector.get(Zx,!1)){const d=[...e,...i,{provide:t,useValue:!0}];c?c(d):function YM1(c){if(c8&&!c8.get(Zx,!1))throw new l1(400,!1);(function Ix(){!function qa(c){ri=c}(()=>{throw new l1(600,!1)})})(),c8=c;const r=c.get(Wx);(function Jx(c){c.get(cM,null)?.forEach(e=>e())})(c)}(function Qx(c=[],r){return P3.create({name:r,providers:[{provide:g7,useValue:"platform"},{provide:Ph,useValue:new Set([()=>c8=null])},...c]})}(d,a))}return function GM1(c){const r=Rh();if(!r)throw new l1(401,!1);return r}()}}function Rh(){return c8?.get(Wx)??null}let B1=(()=>{class c{static#e=this.__NG_ELEMENT_ID__=WM1}return c})();function WM1(c){return function ZM1(c,r,e){if(se(c)&&!e){const a=h6(c.index,r);return new cr(a,a)}return 47&c.type?new cr(r[o4],r):null}(j2(),s1(),!(16&~c))}class rw{constructor(){}supports(r){return Yo(r)}create(r){return new eL1(r)}}const XM1=(c,r)=>r;class eL1{constructor(r){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=r||XM1}forEachItem(r){let e;for(e=this._itHead;null!==e;e=e._next)r(e)}forEachOperation(r){let e=this._itHead,a=this._removalsHead,t=0,i=null;for(;e||a;){const l=!a||e&&e.currentIndex{l=this._trackByFn(t,d),null!==e&&Object.is(e.trackById,l)?(a&&(e=this._verifyReinsertion(e,d,l,t)),Object.is(e.item,d)||this._addIdentityChange(e,d)):(e=this._mismatch(e,d,l,t),a=!0),e=e._next,t++}),this.length=t;return this._truncate(e),this.collection=r,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let r;for(r=this._previousItHead=this._itHead;null!==r;r=r._next)r._nextPrevious=r._next;for(r=this._additionsHead;null!==r;r=r._nextAdded)r.previousIndex=r.currentIndex;for(this._additionsHead=this._additionsTail=null,r=this._movesHead;null!==r;r=r._nextMoved)r.previousIndex=r.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(r,e,a,t){let i;return null===r?i=this._itTail:(i=r._prev,this._remove(r)),null!==(r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(a,null))?(Object.is(r.item,e)||this._addIdentityChange(r,e),this._reinsertAfter(r,i,t)):null!==(r=null===this._linkedRecords?null:this._linkedRecords.get(a,t))?(Object.is(r.item,e)||this._addIdentityChange(r,e),this._moveAfter(r,i,t)):r=this._addAfter(new cL1(e,a),i,t),r}_verifyReinsertion(r,e,a,t){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(a,null);return null!==i?r=this._reinsertAfter(i,r._prev,t):r.currentIndex!=t&&(r.currentIndex=t,this._addToMoves(r,t)),r}_truncate(r){for(;null!==r;){const e=r._next;this._addToRemovals(this._unlink(r)),r=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(r,e,a){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(r);const t=r._prevRemoved,i=r._nextRemoved;return null===t?this._removalsHead=i:t._nextRemoved=i,null===i?this._removalsTail=t:i._prevRemoved=t,this._insertAfter(r,e,a),this._addToMoves(r,a),r}_moveAfter(r,e,a){return this._unlink(r),this._insertAfter(r,e,a),this._addToMoves(r,a),r}_addAfter(r,e,a){return this._insertAfter(r,e,a),this._additionsTail=null===this._additionsTail?this._additionsHead=r:this._additionsTail._nextAdded=r,r}_insertAfter(r,e,a){const t=null===e?this._itHead:e._next;return r._next=t,r._prev=e,null===t?this._itTail=r:t._prev=r,null===e?this._itHead=r:e._next=r,null===this._linkedRecords&&(this._linkedRecords=new tw),this._linkedRecords.put(r),r.currentIndex=a,r}_remove(r){return this._addToRemovals(this._unlink(r))}_unlink(r){null!==this._linkedRecords&&this._linkedRecords.remove(r);const e=r._prev,a=r._next;return null===e?this._itHead=a:e._next=a,null===a?this._itTail=e:a._prev=e,r}_addToMoves(r,e){return r.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=r:this._movesTail._nextMoved=r),r}_addToRemovals(r){return null===this._unlinkedRecords&&(this._unlinkedRecords=new tw),this._unlinkedRecords.put(r),r.currentIndex=null,r._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=r,r._prevRemoved=null):(r._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=r),r}_addIdentityChange(r,e){return r.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=r:this._identityChangesTail._nextIdentityChange=r,r}}class cL1{constructor(r,e){this.item=r,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class aL1{constructor(){this._head=null,this._tail=null}add(r){null===this._head?(this._head=this._tail=r,r._nextDup=null,r._prevDup=null):(this._tail._nextDup=r,r._prevDup=this._tail,r._nextDup=null,this._tail=r)}get(r,e){let a;for(a=this._head;null!==a;a=a._nextDup)if((null===e||e<=a.currentIndex)&&Object.is(a.trackById,r))return a;return null}remove(r){const e=r._prevDup,a=r._nextDup;return null===e?this._head=a:e._nextDup=a,null===a?this._tail=e:a._prevDup=e,null===this._head}}class tw{constructor(){this.map=new Map}put(r){const e=r.trackById;let a=this.map.get(e);a||(a=new aL1,this.map.set(e,a)),a.add(r)}get(r,e){const t=this.map.get(r);return t?t.get(r,e):null}remove(r){const e=r.trackById;return this.map.get(e).remove(r)&&this.map.delete(e),r}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function iw(c,r,e){const a=c.previousIndex;if(null===a)return a;let t=0;return e&&a{if(e&&e.key===t)this._maybeAddToChanges(e,a),this._appendAfter=e,e=e._next;else{const i=this._getOrCreateRecordForKey(t,a);e=this._insertBeforeOrAppend(e,i)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let a=e;null!==a;a=a._nextRemoved)a===this._mapHead&&(this._mapHead=null),this._records.delete(a.key),a._nextRemoved=a._next,a.previousValue=a.currentValue,a.currentValue=null,a._prev=null,a._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(r,e){if(r){const a=r._prev;return e._next=r,e._prev=a,r._prev=e,a&&(a._next=e),r===this._mapHead&&(this._mapHead=e),this._appendAfter=r,r}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(r,e){if(this._records.has(r)){const t=this._records.get(r);this._maybeAddToChanges(t,e);const i=t._prev,l=t._next;return i&&(i._next=l),l&&(l._prev=i),t._next=null,t._prev=null,t}const a=new tL1(r);return this._records.set(r,a),a.currentValue=e,this._addToAdditions(a),a}_reset(){if(this.isDirty){let r;for(this._previousMapHead=this._mapHead,r=this._previousMapHead;null!==r;r=r._next)r._nextPrevious=r._next;for(r=this._changesHead;null!==r;r=r._nextChanged)r.previousValue=r.currentValue;for(r=this._additionsHead;null!=r;r=r._nextAdded)r.previousValue=r.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(r,e){Object.is(e,r.currentValue)||(r.previousValue=r.currentValue,r.currentValue=e,this._addToChanges(r))}_addToAdditions(r){null===this._additionsHead?this._additionsHead=this._additionsTail=r:(this._additionsTail._nextAdded=r,this._additionsTail=r)}_addToChanges(r){null===this._changesHead?this._changesHead=this._changesTail=r:(this._changesTail._nextChanged=r,this._changesTail=r)}_forEach(r,e){r instanceof Map?r.forEach(e):Object.keys(r).forEach(a=>e(r[a],a))}}class tL1{constructor(r){this.key=r,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function nw(){return new jh([new rw])}let jh=(()=>{class c{static#e=this.\u0275prov=g1({token:c,providedIn:"root",factory:nw});constructor(e){this.factories=e}static create(e,a){if(null!=a){const t=a.factories.slice();e=e.concat(t)}return new c(e)}static extend(e){return{provide:c,useFactory:a=>c.create(e,a||nw()),deps:[[c,new Z5,new B2]]}}find(e){const a=this.factories.find(t=>t.supports(e));if(null!=a)return a;throw new l1(901,!1)}}return c})();function sw(){return new Cn([new ow])}let Cn=(()=>{class c{static#e=this.\u0275prov=g1({token:c,providedIn:"root",factory:sw});constructor(e){this.factories=e}static create(e,a){if(a){const t=a.factories.slice();e=e.concat(t)}return new c(e)}static extend(e){return{provide:c,useFactory:a=>c.create(e,a||sw()),deps:[[c,new Z5,new B2]]}}find(e){const a=this.factories.find(t=>t.supports(e));if(a)return a;throw new l1(901,!1)}}return c})();const nL1=Kx(null,"core",[]);let sL1=(()=>{class c{constructor(e){}static#e=this.\u0275fac=function(a){return new(a||c)(f1(e8))};static#c=this.\u0275mod=M4({type:c});static#a=this.\u0275inj=g4({})}return c})();function Jc(c){return"boolean"==typeof c?c:null!=c&&"false"!==c}function kw(c){const r=q(null);try{return c()}finally{q(r)}}let Sw=null;function a8(){return Sw}class YL1{}const O3=new H1("");let Gh=(()=>{class c{historyGo(e){throw new Error("")}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:()=>i1(qL1),providedIn:"platform"})}return c})();const GL1=new H1("");let qL1=(()=>{class c extends Gh{constructor(){super(),this._doc=i1(O3),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return a8().getBaseHref(this._doc)}onPopState(e){const a=a8().getGlobalEventTarget(this._doc,"window");return a.addEventListener("popstate",e,!1),()=>a.removeEventListener("popstate",e)}onHashChange(e){const a=a8().getGlobalEventTarget(this._doc,"window");return a.addEventListener("hashchange",e,!1),()=>a.removeEventListener("hashchange",e)}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(e){this._location.pathname=e}pushState(e,a,t){this._history.pushState(e,a,t)}replaceState(e,a,t){this._history.replaceState(e,a,t)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:()=>new c,providedIn:"platform"})}return c})();function qh(c,r){if(0==c.length)return r;if(0==r.length)return c;let e=0;return c.endsWith("/")&&e++,r.startsWith("/")&&e++,2==e?c+r.substring(1):1==e?c+r:c+"/"+r}function Nw(c){const r=c.match(/#|\?|$/),e=r&&r.index||c.length;return c.slice(0,e-("/"===c[e-1]?1:0))+c.slice(e)}function he(c){return c&&"?"!==c[0]?"?"+c:c}let r8=(()=>{class c{historyGo(e){throw new Error("")}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:()=>i1(Dw),providedIn:"root"})}return c})();const Wh=new H1("");let Dw=(()=>{class c extends r8{constructor(e,a){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=a??this._platformLocation.getBaseHrefFromDOM()??i1(O3).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return qh(this._baseHref,e)}path(e=!1){const a=this._platformLocation.pathname+he(this._platformLocation.search),t=this._platformLocation.hash;return t&&e?`${a}${t}`:a}pushState(e,a,t,i){const l=this.prepareExternalUrl(t+he(i));this._platformLocation.pushState(e,a,l)}replaceState(e,a,t,i){const l=this.prepareExternalUrl(t+he(i));this._platformLocation.replaceState(e,a,l)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static#e=this.\u0275fac=function(a){return new(a||c)(f1(Gh),f1(Wh,8))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),WL1=(()=>{class c extends r8{constructor(e,a){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=a&&(this._baseHref=a)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){const a=this._platformLocation.hash??"#";return a.length>0?a.substring(1):a}prepareExternalUrl(e){const a=qh(this._baseHref,e);return a.length>0?"#"+a:a}pushState(e,a,t,i){let l=this.prepareExternalUrl(t+he(i));0==l.length&&(l=this._platformLocation.pathname),this._platformLocation.pushState(e,a,l)}replaceState(e,a,t,i){let l=this.prepareExternalUrl(t+he(i));0==l.length&&(l=this._platformLocation.pathname),this._platformLocation.replaceState(e,a,l)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static#e=this.\u0275fac=function(a){return new(a||c)(f1(Gh),f1(Wh,8))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})(),t8=(()=>{class c{constructor(e){this._subject=new Y1,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const a=this._locationStrategy.getBaseHref();this._basePath=function QL1(c){if(new RegExp("^(https?:)?//").test(c)){const[,e]=c.split(/\/\/[^\/]+/);return e}return c}(Nw(Tw(a))),this._locationStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,a=""){return this.path()==this.normalize(e+he(a))}normalize(e){return c.stripTrailingSlash(function KL1(c,r){if(!c||!r.startsWith(c))return r;const e=r.substring(c.length);return""===e||["/",";","?","#"].includes(e[0])?e:r}(this._basePath,Tw(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,a="",t=null){this._locationStrategy.pushState(t,"",e,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+he(a)),t)}replaceState(e,a="",t=null){this._locationStrategy.replaceState(t,"",e,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+he(a)),t)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(a=>{this._notifyUrlChangeListeners(a.url,a.state)}),()=>{const a=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(a,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",a){this._urlChangeListeners.forEach(t=>t(e,a))}subscribe(e,a,t){return this._subject.subscribe({next:e,error:a,complete:t})}static#e=this.normalizeQueryParams=he;static#c=this.joinWithSlash=qh;static#a=this.stripTrailingSlash=Nw;static#r=this.\u0275fac=function(a){return new(a||c)(f1(r8))};static#t=this.\u0275prov=g1({token:c,factory:()=>function ZL1(){return new t8(f1(r8))}(),providedIn:"root"})}return c})();function Tw(c){return c.replace(/\/index.html$/,"")}var I3=function(c){return c[c.Format=0]="Format",c[c.Standalone=1]="Standalone",c}(I3||{}),X2=function(c){return c[c.Narrow=0]="Narrow",c[c.Abbreviated=1]="Abbreviated",c[c.Wide=2]="Wide",c[c.Short=3]="Short",c}(X2||{}),C6=function(c){return c[c.Short=0]="Short",c[c.Medium=1]="Medium",c[c.Long=2]="Long",c[c.Full=3]="Full",c}(C6||{});const A4={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function xn(c,r){return R6(R3(c)[a4.DateFormat],r)}function wn(c,r){return R6(R3(c)[a4.TimeFormat],r)}function Fn(c,r){return R6(R3(c)[a4.DateTimeFormat],r)}function P6(c,r){const e=R3(c),a=e[a4.NumberSymbols][r];if(typeof a>"u"){if(r===A4.CurrencyDecimal)return e[a4.NumberSymbols][A4.Decimal];if(r===A4.CurrencyGroup)return e[a4.NumberSymbols][A4.Group]}return a}function Pw(c){if(!c[a4.ExtraData])throw new Error(`Missing extra locale data for the locale "${c[a4.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function R6(c,r){for(let e=r;e>-1;e--)if(typeof c[e]<"u")return c[e];throw new Error("Locale data API: locale data undefined")}function Kh(c){const[r,e]=c.split(":");return{hours:+r,minutes:+e}}const fy1=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,kn={},dy1=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var me=function(c){return c[c.Short=0]="Short",c[c.ShortGMT=1]="ShortGMT",c[c.Long=2]="Long",c[c.Extended=3]="Extended",c}(me||{}),P2=function(c){return c[c.FullYear=0]="FullYear",c[c.Month=1]="Month",c[c.Date=2]="Date",c[c.Hours=3]="Hours",c[c.Minutes=4]="Minutes",c[c.Seconds=5]="Seconds",c[c.FractionalSeconds=6]="FractionalSeconds",c[c.Day=7]="Day",c}(P2||{}),R2=function(c){return c[c.DayPeriods=0]="DayPeriods",c[c.Days=1]="Days",c[c.Months=2]="Months",c[c.Eras=3]="Eras",c}(R2||{});function uy1(c,r,e,a){let t=function zy1(c){if(Ow(c))return c;if("number"==typeof c&&!isNaN(c))return new Date(c);if("string"==typeof c){if(c=c.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(c)){const[t,i=1,l=1]=c.split("-").map(d=>+d);return Sn(t,i-1,l)}const e=parseFloat(c);if(!isNaN(c-e))return new Date(e);let a;if(a=c.match(fy1))return function Vy1(c){const r=new Date(0);let e=0,a=0;const t=c[8]?r.setUTCFullYear:r.setFullYear,i=c[8]?r.setUTCHours:r.setHours;c[9]&&(e=Number(c[9]+c[10]),a=Number(c[9]+c[11])),t.call(r,Number(c[1]),Number(c[2])-1,Number(c[3]));const l=Number(c[4]||0)-e,d=Number(c[5]||0)-a,u=Number(c[6]||0),p=Math.floor(1e3*parseFloat("0."+(c[7]||0)));return i.call(r,l,d,u,p),r}(a)}const r=new Date(c);if(!Ow(r))throw new Error(`Unable to convert "${c}" into a date`);return r}(c);r=_e(e,r)||r;let d,l=[];for(;r;){if(d=dy1.exec(r),!d){l.push(r);break}{l=l.concat(d.slice(1));const z=l.pop();if(!z)break;r=z}}let u=t.getTimezoneOffset();a&&(u=Bw(a,u),t=function Cy1(c,r,e){const a=e?-1:1,t=c.getTimezoneOffset();return function Hy1(c,r){return(c=new Date(c.getTime())).setMinutes(c.getMinutes()+r),c}(c,a*(Bw(r,t)-t))}(t,a,!0));let p="";return l.forEach(z=>{const x=function vy1(c){if(Jh[c])return Jh[c];let r;switch(c){case"G":case"GG":case"GGG":r=r4(R2.Eras,X2.Abbreviated);break;case"GGGG":r=r4(R2.Eras,X2.Wide);break;case"GGGGG":r=r4(R2.Eras,X2.Narrow);break;case"y":r=P4(P2.FullYear,1,0,!1,!0);break;case"yy":r=P4(P2.FullYear,2,0,!0,!0);break;case"yyy":r=P4(P2.FullYear,3,0,!1,!0);break;case"yyyy":r=P4(P2.FullYear,4,0,!1,!0);break;case"Y":r=En(1);break;case"YY":r=En(2,!0);break;case"YYY":r=En(3);break;case"YYYY":r=En(4);break;case"M":case"L":r=P4(P2.Month,1,1);break;case"MM":case"LL":r=P4(P2.Month,2,1);break;case"MMM":r=r4(R2.Months,X2.Abbreviated);break;case"MMMM":r=r4(R2.Months,X2.Wide);break;case"MMMMM":r=r4(R2.Months,X2.Narrow);break;case"LLL":r=r4(R2.Months,X2.Abbreviated,I3.Standalone);break;case"LLLL":r=r4(R2.Months,X2.Wide,I3.Standalone);break;case"LLLLL":r=r4(R2.Months,X2.Narrow,I3.Standalone);break;case"w":r=Qh(1);break;case"ww":r=Qh(2);break;case"W":r=Qh(1,!0);break;case"d":r=P4(P2.Date,1);break;case"dd":r=P4(P2.Date,2);break;case"c":case"cc":r=P4(P2.Day,1);break;case"ccc":r=r4(R2.Days,X2.Abbreviated,I3.Standalone);break;case"cccc":r=r4(R2.Days,X2.Wide,I3.Standalone);break;case"ccccc":r=r4(R2.Days,X2.Narrow,I3.Standalone);break;case"cccccc":r=r4(R2.Days,X2.Short,I3.Standalone);break;case"E":case"EE":case"EEE":r=r4(R2.Days,X2.Abbreviated);break;case"EEEE":r=r4(R2.Days,X2.Wide);break;case"EEEEE":r=r4(R2.Days,X2.Narrow);break;case"EEEEEE":r=r4(R2.Days,X2.Short);break;case"a":case"aa":case"aaa":r=r4(R2.DayPeriods,X2.Abbreviated);break;case"aaaa":r=r4(R2.DayPeriods,X2.Wide);break;case"aaaaa":r=r4(R2.DayPeriods,X2.Narrow);break;case"b":case"bb":case"bbb":r=r4(R2.DayPeriods,X2.Abbreviated,I3.Standalone,!0);break;case"bbbb":r=r4(R2.DayPeriods,X2.Wide,I3.Standalone,!0);break;case"bbbbb":r=r4(R2.DayPeriods,X2.Narrow,I3.Standalone,!0);break;case"B":case"BB":case"BBB":r=r4(R2.DayPeriods,X2.Abbreviated,I3.Format,!0);break;case"BBBB":r=r4(R2.DayPeriods,X2.Wide,I3.Format,!0);break;case"BBBBB":r=r4(R2.DayPeriods,X2.Narrow,I3.Format,!0);break;case"h":r=P4(P2.Hours,1,-12);break;case"hh":r=P4(P2.Hours,2,-12);break;case"H":r=P4(P2.Hours,1);break;case"HH":r=P4(P2.Hours,2);break;case"m":r=P4(P2.Minutes,1);break;case"mm":r=P4(P2.Minutes,2);break;case"s":r=P4(P2.Seconds,1);break;case"ss":r=P4(P2.Seconds,2);break;case"S":r=P4(P2.FractionalSeconds,1);break;case"SS":r=P4(P2.FractionalSeconds,2);break;case"SSS":r=P4(P2.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":r=Dn(me.Short);break;case"ZZZZZ":r=Dn(me.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":r=Dn(me.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":r=Dn(me.Long);break;default:return null}return Jh[c]=r,r}(z);p+=x?x(t,e,u):"''"===z?"'":z.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),p}function Sn(c,r,e){const a=new Date(0);return a.setFullYear(c,r,e),a.setHours(0,0,0),a}function _e(c,r){const e=function Aw(c){return R3(c)[a4.LocaleId]}(c);if(kn[e]??={},kn[e][r])return kn[e][r];let a="";switch(r){case"shortDate":a=xn(c,C6.Short);break;case"mediumDate":a=xn(c,C6.Medium);break;case"longDate":a=xn(c,C6.Long);break;case"fullDate":a=xn(c,C6.Full);break;case"shortTime":a=wn(c,C6.Short);break;case"mediumTime":a=wn(c,C6.Medium);break;case"longTime":a=wn(c,C6.Long);break;case"fullTime":a=wn(c,C6.Full);break;case"short":const t=_e(c,"shortTime"),i=_e(c,"shortDate");a=Nn(Fn(c,C6.Short),[t,i]);break;case"medium":const l=_e(c,"mediumTime"),d=_e(c,"mediumDate");a=Nn(Fn(c,C6.Medium),[l,d]);break;case"long":const u=_e(c,"longTime"),p=_e(c,"longDate");a=Nn(Fn(c,C6.Long),[u,p]);break;case"full":const z=_e(c,"fullTime"),x=_e(c,"fullDate");a=Nn(Fn(c,C6.Full),[z,x])}return a&&(kn[e][r]=a),a}function Nn(c,r){return r&&(c=c.replace(/\{([^}]+)}/g,function(e,a){return null!=r&&a in r?r[a]:e})),c}function s0(c,r,e="-",a,t){let i="";(c<0||t&&c<=0)&&(t?c=1-c:(c=-c,i=e));let l=String(c);for(;l.length0||d>-e)&&(d+=e),c===P2.Hours)0===d&&-12===e&&(d=12);else if(c===P2.FractionalSeconds)return function hy1(c,r){return s0(c,3).substring(0,r)}(d,r);const u=P6(l,A4.MinusSign);return s0(d,r,u,a,t)}}function r4(c,r,e=I3.Format,a=!1){return function(t,i){return function _y1(c,r,e,a,t,i){switch(e){case R2.Months:return function cy1(c,r,e){const a=R3(c),i=R6([a[a4.MonthsFormat],a[a4.MonthsStandalone]],r);return R6(i,e)}(r,t,a)[c.getMonth()];case R2.Days:return function ey1(c,r,e){const a=R3(c),i=R6([a[a4.DaysFormat],a[a4.DaysStandalone]],r);return R6(i,e)}(r,t,a)[c.getDay()];case R2.DayPeriods:const l=c.getHours(),d=c.getMinutes();if(i){const p=function iy1(c){const r=R3(c);return Pw(r),(r[a4.ExtraData][2]||[]).map(a=>"string"==typeof a?Kh(a):[Kh(a[0]),Kh(a[1])])}(r),z=function oy1(c,r,e){const a=R3(c);Pw(a);const i=R6([a[a4.ExtraData][0],a[a4.ExtraData][1]],r)||[];return R6(i,e)||[]}(r,t,a),x=p.findIndex(E=>{if(Array.isArray(E)){const[P,Y]=E,Z=l>=P.hours&&d>=P.minutes,K=l0?Math.floor(t/60):Math.ceil(t/60);switch(c){case me.Short:return(t>=0?"+":"")+s0(l,2,i)+s0(Math.abs(t%60),2,i);case me.ShortGMT:return"GMT"+(t>=0?"+":"")+s0(l,1,i);case me.Long:return"GMT"+(t>=0?"+":"")+s0(l,2,i)+":"+s0(Math.abs(t%60),2,i);case me.Extended:return 0===a?"Z":(t>=0?"+":"")+s0(l,2,i)+":"+s0(Math.abs(t%60),2,i);default:throw new Error(`Unknown zone width "${c}"`)}}}const py1=0,Tn=4;function Rw(c){const r=c.getDay(),e=0===r?-3:Tn-r;return Sn(c.getFullYear(),c.getMonth(),c.getDate()+e)}function Qh(c,r=!1){return function(e,a){let t;if(r){const i=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,l=e.getDate();t=1+Math.floor((l+i)/7)}else{const i=Rw(e),l=function gy1(c){const r=Sn(c,py1,1).getDay();return Sn(c,0,1+(r<=Tn?Tn:Tn+7)-r)}(i.getFullYear()),d=i.getTime()-l.getTime();t=1+Math.round(d/6048e5)}return s0(t,c,P6(a,A4.MinusSign))}}function En(c,r=!1){return function(e,a){return s0(Rw(e).getFullYear(),c,P6(a,A4.MinusSign),r)}}const Jh={};function Bw(c,r){c=c.replace(/:/g,"");const e=Date.parse("Jan 01, 1970 00:00:00 "+c)/6e4;return isNaN(e)?r:e}function Ow(c){return c instanceof Date&&!isNaN(c.valueOf())}function $w(c,r){r=encodeURIComponent(r);for(const e of c.split(";")){const a=e.indexOf("="),[t,i]=-1==a?[e,""]:[e.slice(0,a),e.slice(a+1)];if(t.trim()===r)return decodeURIComponent(i)}return null}const tm=/\s+/,Yw=[];let k2=(()=>{class c{constructor(e,a){this._ngEl=e,this._renderer=a,this.initialClasses=Yw,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(tm):Yw}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(tm):e}ngDoCheck(){for(const a of this.initialClasses)this._updateState(a,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const a of e)this._updateState(a,!0);else if(null!=e)for(const a of Object.keys(e))this._updateState(a,!!e[a]);this._applyStateDiff()}_updateState(e,a){const t=this.stateMap.get(e);void 0!==t?(t.enabled!==a&&(t.changed=!0,t.enabled=a),t.touched=!0):this.stateMap.set(e,{enabled:a,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const a=e[0],t=e[1];t.changed?(this._toggleClass(a,t.enabled),t.changed=!1):t.touched||(t.enabled&&this._toggleClass(a,!1),this.stateMap.delete(a)),t.touched=!1}}_toggleClass(e,a){(e=e.trim()).length>0&&e.split(tm).forEach(t=>{a?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}static#e=this.\u0275fac=function(a){return new(a||c)(B(C2),B(T6))};static#c=this.\u0275dir=U1({type:c,selectors:[["","ngClass",""]],inputs:{klass:[J2.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return c})();class Ey1{constructor(r,e,a,t){this.$implicit=r,this.ngForOf=e,this.index=a,this.count=t}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let ea=(()=>{class c{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,a,t){this._viewContainer=e,this._template=a,this._differs=t,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const a=this._viewContainer;e.forEachOperation((t,i,l)=>{if(null==t.previousIndex)a.createEmbeddedView(this._template,new Ey1(t.item,this._ngForOf,-1,-1),null===l?void 0:l);else if(null==l)a.remove(null===i?void 0:i);else if(null!==i){const d=a.get(i);a.move(d,l),qw(d,t)}});for(let t=0,i=a.length;t{qw(a.get(t.currentIndex),t)})}static ngTemplateContextGuard(e,a){return!0}static#e=this.\u0275fac=function(a){return new(a||c)(B(g6),B(t0),B(jh))};static#c=this.\u0275dir=U1({type:c,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return c})();function qw(c,r){c.context.$implicit=r.item}let i5=(()=>{class c{constructor(e,a){this._viewContainer=e,this._context=new Ay1,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=a}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){Ww("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Ww("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,a){return!0}static#e=this.\u0275fac=function(a){return new(a||c)(B(g6),B(t0))};static#c=this.\u0275dir=U1({type:c,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return c})();class Ay1{constructor(){this.$implicit=null,this.ngIf=null}}function Ww(c,r){if(r&&!r.createEmbeddedView)throw new Error(`${c} must be a TemplateRef, but received '${V4(r)}'.`)}let Pn=(()=>{class c{constructor(e,a,t){this._ngEl=e,this._differs=a,this._renderer=t,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,a){const[t,i]=e.split("."),l=-1===t.indexOf("-")?void 0:qe.DashCase;null!=a?this._renderer.setStyle(this._ngEl.nativeElement,t,i?`${a}${i}`:a,l):this._renderer.removeStyle(this._ngEl.nativeElement,t,l)}_applyChanges(e){e.forEachRemovedItem(a=>this._setStyle(a.key,null)),e.forEachAddedItem(a=>this._setStyle(a.key,a.currentValue)),e.forEachChangedItem(a=>this._setStyle(a.key,a.currentValue))}static#e=this.\u0275fac=function(a){return new(a||c)(B(C2),B(Cn),B(T6))};static#c=this.\u0275dir=U1({type:c,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return c})(),Kw=(()=>{class c{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(this._shouldRecreateView(e)){const a=this._viewContainerRef;if(this._viewRef&&a.remove(a.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const t=this._createContextForwardProxy();this._viewRef=a.createEmbeddedView(this.ngTemplateOutlet,t,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,a,t)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,a,t),get:(e,a,t)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,a,t)}})}static#e=this.\u0275fac=function(a){return new(a||c)(B(g6))};static#c=this.\u0275dir=U1({type:c,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[A]})}return c})();function l0(c,r){return new l1(2100,!1)}class Iy1{createSubscription(r,e){return kw(()=>r.subscribe({next:e,error:a=>{throw a}}))}dispose(r){kw(()=>r.unsubscribe())}}class Uy1{createSubscription(r,e){return r.then(e,a=>{throw a})}dispose(r){}}const jy1=new Uy1,$y1=new Iy1;let nm=(()=>{class c{constructor(e){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,a=>this._updateLatestValue(e,a))}_selectStrategy(e){if(kr(e))return jy1;if(Ox(e))return $y1;throw l0()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,a){e===this._obj&&(this._latestValue=a,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(a){return new(a||c)(B(B1,16))};static#c=this.\u0275pipe=$4({name:"async",type:c,pure:!1,standalone:!0})}return c})();const Ky1=new H1(""),Qy1=new H1("");let Q4=(()=>{class c{constructor(e,a,t){this.locale=e,this.defaultTimezone=a,this.defaultOptions=t}transform(e,a,t,i){if(null==e||""===e||e!=e)return null;try{return uy1(e,a??this.defaultOptions?.dateFormat??"mediumDate",i||this.locale,t??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(l){throw l0()}}static#e=this.\u0275fac=function(a){return new(a||c)(B(B0,16),B(Ky1,24),B(Qy1,24))};static#c=this.\u0275pipe=$4({name:"date",type:c,pure:!0,standalone:!0})}return c})(),f0=(()=>{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275mod=M4({type:c});static#a=this.\u0275inj=g4({})}return c})();const Jw="browser";function t6(c){return c===Jw}function Xw(c){return"server"===c}let fb1=(()=>{class c{static#e=this.\u0275prov=g1({token:c,providedIn:"root",factory:()=>t6(i1(m6))?new db1(i1(O3),window):new hb1})}return c})();class db1{constructor(r,e){this.document=r,this.window=e,this.offset=()=>[0,0]}setOffset(r){this.offset=Array.isArray(r)?()=>r:r}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(r){this.window.scrollTo(r[0],r[1])}scrollToAnchor(r){const e=function ub1(c,r){const e=c.getElementById(r)||c.getElementsByName(r)[0];if(e)return e;if("function"==typeof c.createTreeWalker&&c.body&&"function"==typeof c.body.attachShadow){const a=c.createTreeWalker(c.body,NodeFilter.SHOW_ELEMENT);let t=a.currentNode;for(;t;){const i=t.shadowRoot;if(i){const l=i.getElementById(r)||i.querySelector(`[name="${r}"]`);if(l)return l}t=a.nextNode()}}return null}(this.document,r);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(r){this.window.history.scrollRestoration=r}scrollToElement(r){const e=r.getBoundingClientRect(),a=e.left+this.window.pageXOffset,t=e.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(a-i[0],t-i[1])}}class hb1{setOffset(r){}getScrollPosition(){return[0,0]}scrollToPosition(r){}scrollToAnchor(r){}setHistoryScrollRestoration(r){}}class eF{}class Ib1 extends YL1{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class dm extends Ib1{static makeCurrent(){!function $L1(c){Sw??=c}(new dm)}onAndCancel(r,e,a){return r.addEventListener(e,a),()=>{r.removeEventListener(e,a)}}dispatchEvent(r,e){r.dispatchEvent(e)}remove(r){r.parentNode&&r.parentNode.removeChild(r)}createElement(r,e){return(e=e||this.getDefaultDocument()).createElement(r)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(r){return r.nodeType===Node.ELEMENT_NODE}isShadowRoot(r){return r instanceof DocumentFragment}getGlobalEventTarget(r,e){return"window"===e?window:"document"===e?r:"body"===e?r.body:null}getBaseHref(r){const e=function Ub1(){return Ar=Ar||document.querySelector("base"),Ar?Ar.getAttribute("href"):null}();return null==e?null:function jb1(c){return new URL(c,document.baseURI).pathname}(e)}resetBaseElement(){Ar=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return $w(document.cookie,r)}}let Ar=null,Yb1=(()=>{class c{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();const um=new H1("");let lF=(()=>{class c{constructor(e,a){this._zone=a,this._eventNameToPlugin=new Map,e.forEach(t=>{t.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,a,t){return this._findPluginFor(a).addEventListener(e,a,t)}getZone(){return this._zone}_findPluginFor(e){let a=this._eventNameToPlugin.get(e);if(a)return a;if(a=this._plugins.find(i=>i.supports(e)),!a)throw new l1(5101,!1);return this._eventNameToPlugin.set(e,a),a}static#e=this.\u0275fac=function(a){return new(a||c)(f1(um),f1(z2))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();class fF{constructor(r){this._doc=r}}const hm="ng-app-id";let dF=(()=>{class c{constructor(e,a,t,i={}){this.doc=e,this.appId=a,this.nonce=t,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Xw(i),this.resetHostNodes()}addStyles(e){for(const a of e)1===this.changeUsageCount(a,1)&&this.onStyleAdded(a)}removeStyles(e){for(const a of e)this.changeUsageCount(a,-1)<=0&&this.onStyleRemoved(a)}ngOnDestroy(){const e=this.styleNodesInDOM;e&&(e.forEach(a=>a.remove()),e.clear());for(const a of this.getAllStyles())this.onStyleRemoved(a);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const a of this.getAllStyles())this.addStyleToHost(e,a)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(const a of this.hostNodes)this.addStyleToHost(a,e)}onStyleRemoved(e){const a=this.styleRef;a.get(e)?.elements?.forEach(t=>t.remove()),a.delete(e)}collectServerRenderedStyles(){const e=this.doc.head?.querySelectorAll(`style[${hm}="${this.appId}"]`);if(e?.length){const a=new Map;return e.forEach(t=>{null!=t.textContent&&a.set(t.textContent,t)}),a}return null}changeUsageCount(e,a){const t=this.styleRef;if(t.has(e)){const i=t.get(e);return i.usage+=a,i.usage}return t.set(e,{usage:a,elements:[]}),a}getStyleElement(e,a){const t=this.styleNodesInDOM,i=t?.get(a);if(i?.parentNode===e)return t.delete(a),i.removeAttribute(hm),i;{const l=this.doc.createElement("style");return this.nonce&&l.setAttribute("nonce",this.nonce),l.textContent=a,this.platformIsServer&&l.setAttribute(hm,this.appId),e.appendChild(l),l}}addStyleToHost(e,a){const t=this.getStyleElement(e,a),i=this.styleRef,l=i.get(a)?.elements;l?l.push(t):i.set(a,{elements:[t],usage:1})}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}static#e=this.\u0275fac=function(a){return new(a||c)(f1(O3),f1(lo),f1(aM,8),f1(m6))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();const mm={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/MathML/"},_m=/%COMP%/g,Zb1=new H1("",{providedIn:"root",factory:()=>!0});function hF(c,r){return r.map(e=>e.replace(_m,c))}let mF=(()=>{class c{constructor(e,a,t,i,l,d,u,p=null){this.eventManager=e,this.sharedStylesHost=a,this.appId=t,this.removeStylesOnCompDestroy=i,this.doc=l,this.platformId=d,this.ngZone=u,this.nonce=p,this.rendererByCompId=new Map,this.platformIsServer=Xw(d),this.defaultRenderer=new pm(e,l,u,this.platformIsServer)}createRenderer(e,a){if(!e||!a)return this.defaultRenderer;this.platformIsServer&&a.encapsulation===l6.ShadowDom&&(a={...a,encapsulation:l6.Emulated});const t=this.getOrCreateRenderer(e,a);return t instanceof pF?t.applyToHost(e):t instanceof gm&&t.applyStyles(),t}getOrCreateRenderer(e,a){const t=this.rendererByCompId;let i=t.get(a.id);if(!i){const l=this.doc,d=this.ngZone,u=this.eventManager,p=this.sharedStylesHost,z=this.removeStylesOnCompDestroy,x=this.platformIsServer;switch(a.encapsulation){case l6.Emulated:i=new pF(u,p,a,this.appId,z,l,d,x);break;case l6.ShadowDom:return new Xb1(u,p,e,a,l,d,this.nonce,x);default:i=new gm(u,p,a,z,l,d,x)}t.set(a.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(a){return new(a||c)(f1(lF),f1(dF),f1(lo),f1(Zb1),f1(O3),f1(m6),f1(z2),f1(aM))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();class pm{constructor(r,e,a,t){this.eventManager=r,this.doc=e,this.ngZone=a,this.platformIsServer=t,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(r,e){return e?this.doc.createElementNS(mm[e]||e,r):this.doc.createElement(r)}createComment(r){return this.doc.createComment(r)}createText(r){return this.doc.createTextNode(r)}appendChild(r,e){(_F(r)?r.content:r).appendChild(e)}insertBefore(r,e,a){r&&(_F(r)?r.content:r).insertBefore(e,a)}removeChild(r,e){r&&r.removeChild(e)}selectRootElement(r,e){let a="string"==typeof r?this.doc.querySelector(r):r;if(!a)throw new l1(-5104,!1);return e||(a.textContent=""),a}parentNode(r){return r.parentNode}nextSibling(r){return r.nextSibling}setAttribute(r,e,a,t){if(t){e=t+":"+e;const i=mm[t];i?r.setAttributeNS(i,e,a):r.setAttribute(e,a)}else r.setAttribute(e,a)}removeAttribute(r,e,a){if(a){const t=mm[a];t?r.removeAttributeNS(t,e):r.removeAttribute(`${a}:${e}`)}else r.removeAttribute(e)}addClass(r,e){r.classList.add(e)}removeClass(r,e){r.classList.remove(e)}setStyle(r,e,a,t){t&(qe.DashCase|qe.Important)?r.style.setProperty(e,a,t&qe.Important?"important":""):r.style[e]=a}removeStyle(r,e,a){a&qe.DashCase?r.style.removeProperty(e):r.style[e]=""}setProperty(r,e,a){null!=r&&(r[e]=a)}setValue(r,e){r.nodeValue=e}listen(r,e,a){if("string"==typeof r&&!(r=a8().getGlobalEventTarget(this.doc,r)))throw new Error(`Unsupported event target ${r} for event ${e}`);return this.eventManager.addEventListener(r,e,this.decoratePreventDefault(a))}decoratePreventDefault(r){return e=>{if("__ngUnwrap__"===e)return r;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>r(e)):r(e))&&e.preventDefault()}}}function _F(c){return"TEMPLATE"===c.tagName&&void 0!==c.content}class Xb1 extends pm{constructor(r,e,a,t,i,l,d,u){super(r,i,l,u),this.sharedStylesHost=e,this.hostEl=a,this.shadowRoot=a.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const p=hF(t.id,t.styles);for(const z of p){const x=document.createElement("style");d&&x.setAttribute("nonce",d),x.textContent=z,this.shadowRoot.appendChild(x)}}nodeOrShadowRoot(r){return r===this.hostEl?this.shadowRoot:r}appendChild(r,e){return super.appendChild(this.nodeOrShadowRoot(r),e)}insertBefore(r,e,a){return super.insertBefore(this.nodeOrShadowRoot(r),e,a)}removeChild(r,e){return super.removeChild(this.nodeOrShadowRoot(r),e)}parentNode(r){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(r)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class gm extends pm{constructor(r,e,a,t,i,l,d,u){super(r,i,l,d),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=t,this.styles=u?hF(u,a.styles):a.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class pF extends gm{constructor(r,e,a,t,i,l,d,u){const p=t+"-"+a.id;super(r,e,a,i,l,d,u,p),this.contentAttr=function Kb1(c){return"_ngcontent-%COMP%".replace(_m,c)}(p),this.hostAttr=function Qb1(c){return"_nghost-%COMP%".replace(_m,c)}(p)}applyToHost(r){this.applyStyles(),this.setAttribute(r,this.hostAttr,"")}createElement(r,e){const a=super.createElement(r,e);return super.setAttribute(a,this.contentAttr,""),a}}let ex1=(()=>{class c extends fF{constructor(e){super(e)}supports(e){return!0}addEventListener(e,a,t){return e.addEventListener(a,t,!1),()=>this.removeEventListener(e,a,t)}removeEventListener(e,a,t){return e.removeEventListener(a,t)}static#e=this.\u0275fac=function(a){return new(a||c)(f1(O3))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();const gF=["alt","control","meta","shift"],cx1={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ax1={alt:c=>c.altKey,control:c=>c.ctrlKey,meta:c=>c.metaKey,shift:c=>c.shiftKey};let rx1=(()=>{class c extends fF{constructor(e){super(e)}supports(e){return null!=c.parseEventName(e)}addEventListener(e,a,t){const i=c.parseEventName(a),l=c.eventCallback(i.fullKey,t,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>a8().onAndCancel(e,i.domEventName,l))}static parseEventName(e){const a=e.toLowerCase().split("."),t=a.shift();if(0===a.length||"keydown"!==t&&"keyup"!==t)return null;const i=c._normalizeKey(a.pop());let l="",d=a.indexOf("code");if(d>-1&&(a.splice(d,1),l="code."),gF.forEach(p=>{const z=a.indexOf(p);z>-1&&(a.splice(z,1),l+=p+".")}),l+=i,0!=a.length||0===i.length)return null;const u={};return u.domEventName=t,u.fullKey=l,u}static matchEventFullKeyCode(e,a){let t=cx1[e.key]||e.key,i="";return a.indexOf("code.")>-1&&(t=e.code,i="code."),!(null==t||!t)&&(t=t.toLowerCase()," "===t?t="space":"."===t&&(t="dot"),gF.forEach(l=>{l!==t&&(0,ax1[l])(e)&&(i+=l+".")}),i+=t,i===a)}static eventCallback(e,a,t){return i=>{c.matchEventFullKeyCode(i,e)&&t.runGuarded(()=>a(i))}}static _normalizeKey(e){return"esc"===e?"escape":e}static#e=this.\u0275fac=function(a){return new(a||c)(f1(O3))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();const nx1=Kx(nL1,"browser",[{provide:m6,useValue:Jw},{provide:cM,useValue:function tx1(){dm.makeCurrent()},multi:!0},{provide:O3,useFactory:function ox1(){return function tp1(c){Dd=c}(document),document},deps:[]}]),sx1=new H1(""),CF=[{provide:mn,useClass:class $b1{addToWindow(r){F2.getAngularTestability=(a,t=!0)=>{const i=r.findTestabilityInTree(a,t);if(null==i)throw new l1(5103,!1);return i},F2.getAllAngularTestabilities=()=>r.getAllTestabilities(),F2.getAllAngularRootElements=()=>r.getAllRootElements(),F2.frameworkStabilizers||(F2.frameworkStabilizers=[]),F2.frameworkStabilizers.push(a=>{const t=F2.getAllAngularTestabilities();let i=t.length;const l=function(){i--,0==i&&a()};t.forEach(d=>{d.whenStable(l)})})}findTestabilityInTree(r,e,a){return null==e?null:r.getTestability(e)??(a?a8().isShadowRoot(e)?this.findTestabilityInTree(r,e.host,!0):this.findTestabilityInTree(r,e.parentElement,!0):null)}},deps:[]},{provide:Bx,useClass:Sh,deps:[z2,Nh,mn]},{provide:Sh,useClass:Sh,deps:[z2,Nh,mn]}],zF=[{provide:g7,useValue:"root"},{provide:D0,useFactory:function ix1(){return new D0},deps:[]},{provide:um,useClass:ex1,multi:!0,deps:[O3,z2,m6]},{provide:um,useClass:rx1,multi:!0,deps:[O3]},mF,dF,lF,{provide:VL,useExisting:mF},{provide:eF,useClass:Yb1,deps:[]},[]];let lx1=(()=>{class c{constructor(e){}static withServerTransition(e){return{ngModule:c,providers:[{provide:lo,useValue:e.appId}]}}static#e=this.\u0275fac=function(a){return new(a||c)(f1(sx1,12))};static#c=this.\u0275mod=M4({type:c});static#a=this.\u0275inj=g4({providers:[...zF,...CF],imports:[f0,sL1]})}return c})(),VF=(()=>{class c{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static#e=this.\u0275fac=function(a){return new(a||c)(f1(O3))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),Pr=(()=>{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:function(a){let t=null;return t=a?new(a||c):f1(hx1),t},providedIn:"root"})}return c})(),hx1=(()=>{class c extends Pr{constructor(e){super(),this._doc=e}sanitize(e,a){if(null==a)return null;switch(e){case c6.NONE:return a;case c6.HTML:return T0(a,"HTML")?_6(a):zM(this._doc,String(a)).toString();case c6.STYLE:return T0(a,"Style")?_6(a):a;case c6.SCRIPT:if(T0(a,"Script"))return _6(a);throw new l1(5200,!1);case c6.URL:return T0(a,"URL")?_6(a):Ho(String(a));case c6.RESOURCE_URL:if(T0(a,"ResourceURL"))return _6(a);throw new l1(5201,!1);default:throw new l1(5202,!1)}}bypassSecurityTrustHtml(e){return function yp1(c){return new Hp1(c)}(e)}bypassSecurityTrustStyle(e){return function bp1(c){return new Cp1(c)}(e)}bypassSecurityTrustScript(e){return function xp1(c){return new zp1(c)}(e)}bypassSecurityTrustUrl(e){return function wp1(c){return new Vp1(c)}(e)}bypassSecurityTrustResourceUrl(e){return function Fp1(c){return new Mp1(c)}(e)}static#e=this.\u0275fac=function(a){return new(a||c)(f1(O3))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function bF(c){return c&&b2(c.schedule)}function vm(c){return c[c.length-1]}function xF(c){return b2(vm(c))?c.pop():void 0}function Br(c){return bF(vm(c))?c.pop():void 0}function i8(c){return this instanceof i8?(this.v=c,this):new i8(c)}function SF(c){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,r=c[Symbol.asyncIterator];return r?r.call(c):(c=function Vm(c){var r="function"==typeof Symbol&&Symbol.iterator,e=r&&c[r],a=0;if(e)return e.call(c);if(c&&"number"==typeof c.length)return{next:function(){return c&&a>=c.length&&(c=void 0),{value:c&&c[a++],done:!c}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}(c),e={},a("next"),a("throw"),a("return"),e[Symbol.asyncIterator]=function(){return this},e);function a(i){e[i]=c[i]&&function(l){return new Promise(function(d,u){!function t(i,l,d,u){Promise.resolve(u).then(function(p){i({value:p,done:d})},l)}(d,u,(l=c[i](l)).done,l.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Mm=c=>c&&"number"==typeof c.length&&"function"!=typeof c;function NF(c){return b2(c?.then)}function DF(c){return b2(c[C0])}function TF(c){return Symbol.asyncIterator&&b2(c?.[Symbol.asyncIterator])}function EF(c){return new TypeError(`You provided ${null!==c&&"object"==typeof c?"an invalid object":`'${c}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const AF=function Ax1(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function PF(c){return b2(c?.[AF])}function RF(c){return function kF(c,r,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,a=e.apply(c,r||[]),i=[];return t={},l("next"),l("throw"),l("return"),t[Symbol.asyncIterator]=function(){return this},t;function l(E){a[E]&&(t[E]=function(P){return new Promise(function(Y,Z){i.push([E,P,Y,Z])>1||d(E,P)})})}function d(E,P){try{!function u(E){E.value instanceof i8?Promise.resolve(E.value.v).then(p,z):x(i[0][2],E)}(a[E](P))}catch(Y){x(i[0][3],Y)}}function p(E){d("next",E)}function z(E){d("throw",E)}function x(E,P){E(P),i.shift(),i.length&&d(i[0][0],i[0][1])}}(this,arguments,function*(){const e=c.getReader();try{for(;;){const{value:a,done:t}=yield i8(e.read());if(t)return yield i8(void 0);yield yield i8(a)}}finally{e.releaseLock()}})}function BF(c){return b2(c?.getReader)}function U3(c){if(c instanceof l4)return c;if(null!=c){if(DF(c))return function Px1(c){return new l4(r=>{const e=c[C0]();if(b2(e.subscribe))return e.subscribe(r);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(c);if(Mm(c))return function Rx1(c){return new l4(r=>{for(let e=0;e{c.then(e=>{r.closed||(r.next(e),r.complete())},e=>r.error(e)).then(null,si)})}(c);if(TF(c))return OF(c);if(PF(c))return function Ox1(c){return new l4(r=>{for(const e of c)if(r.next(e),r.closed)return;r.complete()})}(c);if(BF(c))return function Ix1(c){return OF(RF(c))}(c)}throw EF(c)}function OF(c){return new l4(r=>{(function Ux1(c,r){var e,a,t,i;return function wF(c,r,e,a){return new(e||(e=Promise))(function(i,l){function d(z){try{p(a.next(z))}catch(x){l(x)}}function u(z){try{p(a.throw(z))}catch(x){l(x)}}function p(z){z.done?i(z.value):function t(i){return i instanceof e?i:new e(function(l){l(i)})}(z.value).then(d,u)}p((a=a.apply(c,r||[])).next())})}(this,void 0,void 0,function*(){try{for(e=SF(c);!(a=yield e.next()).done;)if(r.next(a.value),r.closed)return}catch(l){t={error:l}}finally{try{a&&!a.done&&(i=e.return)&&(yield i.call(e))}finally{if(t)throw t.error}}r.complete()})})(c,r).catch(e=>r.error(e))})}function pe(c,r,e,a=0,t=!1){const i=r.schedule(function(){e(),t?c.add(this.schedule(null,a)):this.unsubscribe()},a);if(c.add(i),!t)return i}function IF(c,r=0){return i4((e,a)=>{e.subscribe(_2(a,t=>pe(a,c,()=>a.next(t),r),()=>pe(a,c,()=>a.complete(),r),t=>pe(a,c,()=>a.error(t),r)))})}function UF(c,r=0){return i4((e,a)=>{a.add(c.schedule(()=>e.subscribe(a),r))})}function jF(c,r){if(!c)throw new Error("Iterable cannot be null");return new l4(e=>{pe(e,r,()=>{const a=c[Symbol.asyncIterator]();pe(e,r,()=>{a.next().then(t=>{t.done?e.complete():e.next(t.value)})},0,!0)})})}function k4(c,r){return r?function Wx1(c,r){if(null!=c){if(DF(c))return function jx1(c,r){return U3(c).pipe(UF(r),IF(r))}(c,r);if(Mm(c))return function Yx1(c,r){return new l4(e=>{let a=0;return r.schedule(function(){a===c.length?e.complete():(e.next(c[a++]),e.closed||this.schedule())})})}(c,r);if(NF(c))return function $x1(c,r){return U3(c).pipe(UF(r),IF(r))}(c,r);if(TF(c))return jF(c,r);if(PF(c))return function Gx1(c,r){return new l4(e=>{let a;return pe(e,r,()=>{a=c[AF](),pe(e,r,()=>{let t,i;try{({value:t,done:i}=a.next())}catch(l){return void e.error(l)}i?e.complete():e.next(t)},0,!0)}),()=>b2(a?.return)&&a.return()})}(c,r);if(BF(c))return function qx1(c,r){return jF(RF(c),r)}(c,r)}throw EF(c)}(c,r):U3(c)}function T1(...c){return k4(c,Br(c))}function n3(c,r,e=1/0){return b2(r)?n3((a,t)=>J1((i,l)=>r(a,i,t,l))(U3(c(a,t))),e):("number"==typeof r&&(e=r),i4((a,t)=>function Zx1(c,r,e,a,t,i,l,d){const u=[];let p=0,z=0,x=!1;const E=()=>{x&&!u.length&&!p&&r.complete()},P=Z=>p{i&&r.next(Z),p++;let K=!1;U3(e(Z,z++)).subscribe(_2(r,J=>{t?.(J),i?P(J):r.next(J)},()=>{K=!0},void 0,()=>{if(K)try{for(p--;u.length&&pY(J)):Y(J)}E()}catch(J){r.error(J)}}))};return c.subscribe(_2(r,P,()=>{x=!0,E()})),()=>{d?.()}}(a,t,c,e)))}function o8(c,r){return b2(r)?n3(c,r,1):n3(c,1)}function d0(c,r){return i4((e,a)=>{let t=0;e.subscribe(_2(a,i=>c.call(r,i,t++)&&a.next(i)))})}function Or(c){return i4((r,e)=>{try{r.subscribe(e)}finally{e.add(c)}})}function z3(c,r){return i4((e,a)=>{let t=null,i=0,l=!1;const d=()=>l&&!t&&a.complete();e.subscribe(_2(a,u=>{t?.unsubscribe();let p=0;const z=i++;U3(c(u,z)).subscribe(t=_2(a,x=>a.next(r?r(u,x,z,p++):x),()=>{t=null,d()}))},()=>{l=!0,d()}))})}class In{}class Un{}class z6{constructor(r){this.normalizedNames=new Map,this.lazyUpdate=null,r?"string"==typeof r?this.lazyInit=()=>{this.headers=new Map,r.split("\n").forEach(e=>{const a=e.indexOf(":");if(a>0){const t=e.slice(0,a),i=t.toLowerCase(),l=e.slice(a+1).trim();this.maybeSetNormalizedName(t,i),this.headers.has(i)?this.headers.get(i).push(l):this.headers.set(i,[l])}})}:typeof Headers<"u"&&r instanceof Headers?(this.headers=new Map,r.forEach((e,a)=>{this.setHeaderEntries(a,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(r).forEach(([e,a])=>{this.setHeaderEntries(e,a)})}:this.headers=new Map}has(r){return this.init(),this.headers.has(r.toLowerCase())}get(r){this.init();const e=this.headers.get(r.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(r){return this.init(),this.headers.get(r.toLowerCase())||null}append(r,e){return this.clone({name:r,value:e,op:"a"})}set(r,e){return this.clone({name:r,value:e,op:"s"})}delete(r,e){return this.clone({name:r,value:e,op:"d"})}maybeSetNormalizedName(r,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,r)}init(){this.lazyInit&&(this.lazyInit instanceof z6?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(r=>this.applyUpdate(r)),this.lazyUpdate=null))}copyFrom(r){r.init(),Array.from(r.headers.keys()).forEach(e=>{this.headers.set(e,r.headers.get(e)),this.normalizedNames.set(e,r.normalizedNames.get(e))})}clone(r){const e=new z6;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof z6?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([r]),e}applyUpdate(r){const e=r.name.toLowerCase();switch(r.op){case"a":case"s":let a=r.value;if("string"==typeof a&&(a=[a]),0===a.length)return;this.maybeSetNormalizedName(r.name,e);const t=("a"===r.op?this.headers.get(e):void 0)||[];t.push(...a),this.headers.set(e,t);break;case"d":const i=r.value;if(i){let l=this.headers.get(e);if(!l)return;l=l.filter(d=>-1===i.indexOf(d)),0===l.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,l)}else this.headers.delete(e),this.normalizedNames.delete(e)}}setHeaderEntries(r,e){const a=(Array.isArray(e)?e:[e]).map(i=>i.toString()),t=r.toLowerCase();this.headers.set(t,a),this.maybeSetNormalizedName(r,t)}forEach(r){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>r(this.normalizedNames.get(e),this.headers.get(e)))}}class Kx1{encodeKey(r){return $F(r)}encodeValue(r){return $F(r)}decodeKey(r){return decodeURIComponent(r)}decodeValue(r){return decodeURIComponent(r)}}const Jx1=/%(\d[a-f0-9])/gi,Xx1={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function $F(c){return encodeURIComponent(c).replace(Jx1,(r,e)=>Xx1[e]??r)}function jn(c){return`${c}`}class n8{constructor(r={}){if(this.updates=null,this.cloneFrom=null,this.encoder=r.encoder||new Kx1,r.fromString){if(r.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Qx1(c,r){const e=new Map;return c.length>0&&c.replace(/^\?/,"").split("&").forEach(t=>{const i=t.indexOf("="),[l,d]=-1==i?[r.decodeKey(t),""]:[r.decodeKey(t.slice(0,i)),r.decodeValue(t.slice(i+1))],u=e.get(l)||[];u.push(d),e.set(l,u)}),e}(r.fromString,this.encoder)}else r.fromObject?(this.map=new Map,Object.keys(r.fromObject).forEach(e=>{const a=r.fromObject[e],t=Array.isArray(a)?a.map(jn):[jn(a)];this.map.set(e,t)})):this.map=null}has(r){return this.init(),this.map.has(r)}get(r){this.init();const e=this.map.get(r);return e?e[0]:null}getAll(r){return this.init(),this.map.get(r)||null}keys(){return this.init(),Array.from(this.map.keys())}append(r,e){return this.clone({param:r,value:e,op:"a"})}appendAll(r){const e=[];return Object.keys(r).forEach(a=>{const t=r[a];Array.isArray(t)?t.forEach(i=>{e.push({param:a,value:i,op:"a"})}):e.push({param:a,value:t,op:"a"})}),this.clone(e)}set(r,e){return this.clone({param:r,value:e,op:"s"})}delete(r,e){return this.clone({param:r,value:e,op:"d"})}toString(){return this.init(),this.keys().map(r=>{const e=this.encoder.encodeKey(r);return this.map.get(r).map(a=>e+"="+this.encoder.encodeValue(a)).join("&")}).filter(r=>""!==r).join("&")}clone(r){const e=new n8({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(r),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(r=>this.map.set(r,this.cloneFrom.map.get(r))),this.updates.forEach(r=>{switch(r.op){case"a":case"s":const e=("a"===r.op?this.map.get(r.param):void 0)||[];e.push(jn(r.value)),this.map.set(r.param,e);break;case"d":if(void 0===r.value){this.map.delete(r.param);break}{let a=this.map.get(r.param)||[];const t=a.indexOf(jn(r.value));-1!==t&&a.splice(t,1),a.length>0?this.map.set(r.param,a):this.map.delete(r.param)}}}),this.cloneFrom=this.updates=null)}}class ew1{constructor(){this.map=new Map}set(r,e){return this.map.set(r,e),this}get(r){return this.map.has(r)||this.map.set(r,r.defaultValue()),this.map.get(r)}delete(r){return this.map.delete(r),this}has(r){return this.map.has(r)}keys(){return this.map.keys()}}function YF(c){return typeof ArrayBuffer<"u"&&c instanceof ArrayBuffer}function GF(c){return typeof Blob<"u"&&c instanceof Blob}function qF(c){return typeof FormData<"u"&&c instanceof FormData}class Ir{constructor(r,e,a,t){let i;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=r.toUpperCase(),function cw1(c){switch(c){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||t?(this.body=void 0!==a?a:null,i=t):i=a,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new z6,this.context??=new ew1,this.params){const l=this.params.toString();if(0===l.length)this.urlWithParams=e;else{const d=e.indexOf("?");this.urlWithParams=e+(-1===d?"?":dE.set(P,r.setHeaders[P]),p)),r.setParams&&(z=Object.keys(r.setParams).reduce((E,P)=>E.set(P,r.setParams[P]),z)),new Ir(e,a,l,{params:z,headers:p,context:x,reportProgress:u,responseType:t,withCredentials:d,transferCache:i})}}var s8=function(c){return c[c.Sent=0]="Sent",c[c.UploadProgress=1]="UploadProgress",c[c.ResponseHeader=2]="ResponseHeader",c[c.DownloadProgress=3]="DownloadProgress",c[c.Response=4]="Response",c[c.User=5]="User",c}(s8||{});class Lm{constructor(r,e=Ur.Ok,a="OK"){this.headers=r.headers||new z6,this.status=void 0!==r.status?r.status:e,this.statusText=r.statusText||a,this.url=r.url||null,this.ok=this.status>=200&&this.status<300}}class $n extends Lm{constructor(r={}){super(r),this.type=s8.ResponseHeader}clone(r={}){return new $n({headers:r.headers||this.headers,status:void 0!==r.status?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}}class o5 extends Lm{constructor(r={}){super(r),this.type=s8.Response,this.body=void 0!==r.body?r.body:null}clone(r={}){return new o5({body:void 0!==r.body?r.body:this.body,headers:r.headers||this.headers,status:void 0!==r.status?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}}class ca extends Lm{constructor(r){super(r,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${r.url||"(unknown url)"}`:`Http failure response for ${r.url||"(unknown url)"}: ${r.status} ${r.statusText}`,this.error=r.error||null}}var Ur=function(c){return c[c.Continue=100]="Continue",c[c.SwitchingProtocols=101]="SwitchingProtocols",c[c.Processing=102]="Processing",c[c.EarlyHints=103]="EarlyHints",c[c.Ok=200]="Ok",c[c.Created=201]="Created",c[c.Accepted=202]="Accepted",c[c.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",c[c.NoContent=204]="NoContent",c[c.ResetContent=205]="ResetContent",c[c.PartialContent=206]="PartialContent",c[c.MultiStatus=207]="MultiStatus",c[c.AlreadyReported=208]="AlreadyReported",c[c.ImUsed=226]="ImUsed",c[c.MultipleChoices=300]="MultipleChoices",c[c.MovedPermanently=301]="MovedPermanently",c[c.Found=302]="Found",c[c.SeeOther=303]="SeeOther",c[c.NotModified=304]="NotModified",c[c.UseProxy=305]="UseProxy",c[c.Unused=306]="Unused",c[c.TemporaryRedirect=307]="TemporaryRedirect",c[c.PermanentRedirect=308]="PermanentRedirect",c[c.BadRequest=400]="BadRequest",c[c.Unauthorized=401]="Unauthorized",c[c.PaymentRequired=402]="PaymentRequired",c[c.Forbidden=403]="Forbidden",c[c.NotFound=404]="NotFound",c[c.MethodNotAllowed=405]="MethodNotAllowed",c[c.NotAcceptable=406]="NotAcceptable",c[c.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",c[c.RequestTimeout=408]="RequestTimeout",c[c.Conflict=409]="Conflict",c[c.Gone=410]="Gone",c[c.LengthRequired=411]="LengthRequired",c[c.PreconditionFailed=412]="PreconditionFailed",c[c.PayloadTooLarge=413]="PayloadTooLarge",c[c.UriTooLong=414]="UriTooLong",c[c.UnsupportedMediaType=415]="UnsupportedMediaType",c[c.RangeNotSatisfiable=416]="RangeNotSatisfiable",c[c.ExpectationFailed=417]="ExpectationFailed",c[c.ImATeapot=418]="ImATeapot",c[c.MisdirectedRequest=421]="MisdirectedRequest",c[c.UnprocessableEntity=422]="UnprocessableEntity",c[c.Locked=423]="Locked",c[c.FailedDependency=424]="FailedDependency",c[c.TooEarly=425]="TooEarly",c[c.UpgradeRequired=426]="UpgradeRequired",c[c.PreconditionRequired=428]="PreconditionRequired",c[c.TooManyRequests=429]="TooManyRequests",c[c.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",c[c.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",c[c.InternalServerError=500]="InternalServerError",c[c.NotImplemented=501]="NotImplemented",c[c.BadGateway=502]="BadGateway",c[c.ServiceUnavailable=503]="ServiceUnavailable",c[c.GatewayTimeout=504]="GatewayTimeout",c[c.HttpVersionNotSupported=505]="HttpVersionNotSupported",c[c.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",c[c.InsufficientStorage=507]="InsufficientStorage",c[c.LoopDetected=508]="LoopDetected",c[c.NotExtended=510]="NotExtended",c[c.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",c}(Ur||{});function ym(c,r){return{body:r,headers:c.headers,context:c.context,observe:c.observe,params:c.params,reportProgress:c.reportProgress,responseType:c.responseType,withCredentials:c.withCredentials,transferCache:c.transferCache}}let V3=(()=>{class c{constructor(e){this.handler=e}request(e,a,t={}){let i;if(e instanceof Ir)i=e;else{let u,p;u=t.headers instanceof z6?t.headers:new z6(t.headers),t.params&&(p=t.params instanceof n8?t.params:new n8({fromObject:t.params})),i=new Ir(e,a,void 0!==t.body?t.body:null,{headers:u,context:t.context,params:p,reportProgress:t.reportProgress,responseType:t.responseType||"json",withCredentials:t.withCredentials,transferCache:t.transferCache})}const l=T1(i).pipe(o8(u=>this.handler.handle(u)));if(e instanceof Ir||"events"===t.observe)return l;const d=l.pipe(d0(u=>u instanceof o5));switch(t.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return d.pipe(J1(u=>{if(null!==u.body&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return d.pipe(J1(u=>{if(null!==u.body&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return d.pipe(J1(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return d.pipe(J1(u=>u.body))}case"response":return d;default:throw new Error(`Unreachable: unhandled observe type ${t.observe}}`)}}delete(e,a={}){return this.request("DELETE",e,a)}get(e,a={}){return this.request("GET",e,a)}head(e,a={}){return this.request("HEAD",e,a)}jsonp(e,a){return this.request("JSONP",e,{params:(new n8).append(a,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,a={}){return this.request("OPTIONS",e,a)}patch(e,a,t={}){return this.request("PATCH",e,ym(t,a))}post(e,a,t={}){return this.request("POST",e,ym(t,a))}put(e,a,t={}){return this.request("PUT",e,ym(t,a))}static#e=this.\u0275fac=function(a){return new(a||c)(f1(In))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();function ZF(c,r){return r(c)}function nw1(c,r){return(e,a)=>r.intercept(e,{handle:t=>c(t,a)})}const KF=new H1(""),jr=new H1(""),QF=new H1(""),JF=new H1("");function lw1(){let c=null;return(r,e)=>{null===c&&(c=(i1(KF,{optional:!0})??[]).reduceRight(nw1,ZF));const a=i1(Ke),t=a.add();return c(r,e).pipe(Or(()=>a.remove(t)))}}let XF=(()=>{class c extends In{constructor(e,a){super(),this.backend=e,this.injector=a,this.chain=null,this.pendingTasks=i1(Ke);const t=i1(JF,{optional:!0});this.backend=t??e}handle(e){if(null===this.chain){const t=Array.from(new Set([...this.injector.get(jr),...this.injector.get(QF,[])]));this.chain=t.reduceRight((i,l)=>function sw1(c,r,e){return(a,t)=>D3(e,()=>r(a,i=>c(i,t)))}(i,l,this.injector),ZF)}const a=this.pendingTasks.add();return this.chain(e,t=>this.backend.handle(t)).pipe(Or(()=>this.pendingTasks.remove(a)))}static#e=this.\u0275fac=function(a){return new(a||c)(f1(Un),f1(p3))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();const mw1=/^\)\]\}',?\n/;let ck=(()=>{class c{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new l1(-2800,!1);const a=this.xhrFactory;return(a.\u0275loadImpl?k4(a.\u0275loadImpl()):T1(null)).pipe(z3(()=>new l4(i=>{const l=a.build();if(l.open(e.method,e.urlWithParams),e.withCredentials&&(l.withCredentials=!0),e.headers.forEach((Z,K)=>l.setRequestHeader(Z,K.join(","))),e.headers.has("Accept")||l.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const Z=e.detectContentTypeHeader();null!==Z&&l.setRequestHeader("Content-Type",Z)}if(e.responseType){const Z=e.responseType.toLowerCase();l.responseType="json"!==Z?Z:"text"}const d=e.serializeBody();let u=null;const p=()=>{if(null!==u)return u;const Z=l.statusText||"OK",K=new z6(l.getAllResponseHeaders()),J=function _w1(c){return"responseURL"in c&&c.responseURL?c.responseURL:/^X-Request-URL:/m.test(c.getAllResponseHeaders())?c.getResponseHeader("X-Request-URL"):null}(l)||e.url;return u=new $n({headers:K,status:l.status,statusText:Z,url:J}),u},z=()=>{let{headers:Z,status:K,statusText:J,url:X}=p(),n1=null;K!==Ur.NoContent&&(n1=typeof l.response>"u"?l.responseText:l.response),0===K&&(K=n1?Ur.Ok:0);let h1=K>=200&&K<300;if("json"===e.responseType&&"string"==typeof n1){const C1=n1;n1=n1.replace(mw1,"");try{n1=""!==n1?JSON.parse(n1):null}catch(x1){n1=C1,h1&&(h1=!1,n1={error:x1,text:n1})}}h1?(i.next(new o5({body:n1,headers:Z,status:K,statusText:J,url:X||void 0})),i.complete()):i.error(new ca({error:n1,headers:Z,status:K,statusText:J,url:X||void 0}))},x=Z=>{const{url:K}=p(),J=new ca({error:Z,status:l.status||0,statusText:l.statusText||"Unknown Error",url:K||void 0});i.error(J)};let E=!1;const P=Z=>{E||(i.next(p()),E=!0);let K={type:s8.DownloadProgress,loaded:Z.loaded};Z.lengthComputable&&(K.total=Z.total),"text"===e.responseType&&l.responseText&&(K.partialText=l.responseText),i.next(K)},Y=Z=>{let K={type:s8.UploadProgress,loaded:Z.loaded};Z.lengthComputable&&(K.total=Z.total),i.next(K)};return l.addEventListener("load",z),l.addEventListener("error",x),l.addEventListener("timeout",x),l.addEventListener("abort",x),e.reportProgress&&(l.addEventListener("progress",P),null!==d&&l.upload&&l.upload.addEventListener("progress",Y)),l.send(d),i.next({type:s8.Sent}),()=>{l.removeEventListener("error",x),l.removeEventListener("abort",x),l.removeEventListener("load",z),l.removeEventListener("timeout",x),e.reportProgress&&(l.removeEventListener("progress",P),null!==d&&l.upload&&l.upload.removeEventListener("progress",Y)),l.readyState!==l.DONE&&l.abort()}})))}static#e=this.\u0275fac=function(a){return new(a||c)(f1(eF))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();const wm=new H1(""),ak=new H1("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),rk=new H1("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class tk{}let vw1=(()=>{class c{constructor(e,a,t){this.doc=e,this.platform=a,this.cookieName=t,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=$w(e,this.cookieName),this.lastCookieString=e),this.lastToken}static#e=this.\u0275fac=function(a){return new(a||c)(f1(O3),f1(m6),f1(ak))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();function Hw1(c,r){const e=c.url.toLowerCase();if(!i1(wm)||"GET"===c.method||"HEAD"===c.method||e.startsWith("http://")||e.startsWith("https://"))return r(c);const a=i1(tk).getToken(),t=i1(rk);return null!=a&&!c.headers.has(t)&&(c=c.clone({headers:c.headers.set(t,a)})),r(c)}var l8=function(c){return c[c.Interceptors=0]="Interceptors",c[c.LegacyInterceptors=1]="LegacyInterceptors",c[c.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",c[c.NoXsrfProtection=3]="NoXsrfProtection",c[c.JsonpSupport=4]="JsonpSupport",c[c.RequestsMadeViaParent=5]="RequestsMadeViaParent",c[c.Fetch=6]="Fetch",c}(l8||{});function Cw1(...c){const r=[V3,ck,XF,{provide:In,useExisting:XF},{provide:Un,useExisting:ck},{provide:jr,useValue:Hw1,multi:!0},{provide:wm,useValue:!0},{provide:tk,useClass:vw1}];for(const e of c)r.push(...e.\u0275providers);return J6(r)}const ik=new H1("");function zw1(){return function n5(c,r){return{\u0275kind:c,\u0275providers:r}}(l8.LegacyInterceptors,[{provide:ik,useFactory:lw1},{provide:jr,useExisting:ik,multi:!0}])}let ok=(()=>{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275mod=M4({type:c});static#a=this.\u0275inj=g4({providers:[Cw1(zw1())]})}return c})();const ww1=function(){function c(r,e){void 0===e&&(e=[]),this._eventType=r,this._eventFunctions=e}return c.prototype.init=function(){var r=this;this._eventFunctions.forEach(function(e){typeof window<"u"&&window.addEventListener(r._eventType,e)})},c}();var Gn=function(){return Gn=Object.assign||function(c){for(var r,e=1,a=arguments.length;e"u")&&(c instanceof V6(c).ShadowRoot||c instanceof ShadowRoot)}typeof window<"u"&&(window.Dismiss=Hk,window.initDismisses=Nm);var f5=Math.max,Qn=Math.min,aa=Math.round;function Tm(){var c=navigator.userAgentData;return null!=c&&c.brands&&Array.isArray(c.brands)?c.brands.map(function(r){return r.brand+"/"+r.version}).join(" "):navigator.userAgent}function Ck(){return!/^((?!chrome|android).)*safari/i.test(Tm())}function ra(c,r,e){void 0===r&&(r=!1),void 0===e&&(e=!1);var a=c.getBoundingClientRect(),t=1,i=1;r&&B6(c)&&(t=c.offsetWidth>0&&aa(a.width)/c.offsetWidth||1,i=c.offsetHeight>0&&aa(a.height)/c.offsetHeight||1);var d=(l5(c)?V6(c):window).visualViewport,u=!Ck()&&e,p=(a.left+(u&&d?d.offsetLeft:0))/t,z=(a.top+(u&&d?d.offsetTop:0))/i,x=a.width/t,E=a.height/i;return{width:x,height:E,top:z,right:p+x,bottom:z+E,left:p,x:p,y:z}}function Em(c){var r=V6(c);return{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function O0(c){return c?(c.nodeName||"").toLowerCase():null}function f8(c){return((l5(c)?c.ownerDocument:c.document)||window.document).documentElement}function Am(c){return ra(f8(c)).left+Em(c).scrollLeft}function ge(c){return V6(c).getComputedStyle(c)}function Pm(c){var r=ge(c);return/auto|scroll|overlay|hidden/.test(r.overflow+r.overflowY+r.overflowX)}function Nw1(c,r,e){void 0===e&&(e=!1);var a=B6(r),t=B6(r)&&function Sw1(c){var r=c.getBoundingClientRect(),e=aa(r.width)/c.offsetWidth||1,a=aa(r.height)/c.offsetHeight||1;return 1!==e||1!==a}(r),i=f8(r),l=ra(c,t,e),d={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(a||!a&&!e)&&(("body"!==O0(r)||Pm(i))&&(d=function kw1(c){return c!==V6(c)&&B6(c)?function Fw1(c){return{scrollLeft:c.scrollLeft,scrollTop:c.scrollTop}}(c):Em(c)}(r)),B6(r)?((u=ra(r,!0)).x+=r.clientLeft,u.y+=r.clientTop):i&&(u.x=Am(i))),{x:l.left+d.scrollLeft-u.x,y:l.top+d.scrollTop-u.y,width:l.width,height:l.height}}function Rm(c){var r=ra(c),e=c.offsetWidth,a=c.offsetHeight;return Math.abs(r.width-e)<=1&&(e=r.width),Math.abs(r.height-a)<=1&&(a=r.height),{x:c.offsetLeft,y:c.offsetTop,width:e,height:a}}function Jn(c){return"html"===O0(c)?c:c.assignedSlot||c.parentNode||(Dm(c)?c.host:null)||f8(c)}function zk(c){return["html","body","#document"].indexOf(O0(c))>=0?c.ownerDocument.body:B6(c)&&Pm(c)?c:zk(Jn(c))}function $r(c,r){var e;void 0===r&&(r=[]);var a=zk(c),t=a===(null==(e=c.ownerDocument)?void 0:e.body),i=V6(a),l=t?[i].concat(i.visualViewport||[],Pm(a)?a:[]):a,d=r.concat(l);return t?d:d.concat($r(Jn(l)))}function Dw1(c){return["table","td","th"].indexOf(O0(c))>=0}function Vk(c){return B6(c)&&"fixed"!==ge(c).position?c.offsetParent:null}function Yr(c){for(var r=V6(c),e=Vk(c);e&&Dw1(e)&&"static"===ge(e).position;)e=Vk(e);return e&&("html"===O0(e)||"body"===O0(e)&&"static"===ge(e).position)?r:e||function Tw1(c){var r=/firefox/i.test(Tm());if(/Trident/i.test(Tm())&&B6(c)&&"fixed"===ge(c).position)return null;var t=Jn(c);for(Dm(t)&&(t=t.host);B6(t)&&["html","body"].indexOf(O0(t))<0;){var i=ge(t);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||r&&"filter"===i.willChange||r&&i.filter&&"none"!==i.filter)return t;t=t.parentNode}return null}(c)||r}var i6="top",O6="bottom",I6="right",o6="left",Bm="auto",Gr=[i6,O6,I6,o6],ta="start",qr="end",Mk="viewport",Wr="popper",Lk=Gr.reduce(function(c,r){return c.concat([r+"-"+ta,r+"-"+qr])},[]),yk=[].concat(Gr,[Bm]).reduce(function(c,r){return c.concat([r,r+"-"+ta,r+"-"+qr])},[]),Gw1=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function qw1(c){var r=new Map,e=new Set,a=[];function t(i){e.add(i.name),[].concat(i.requires||[],i.requiresIfExists||[]).forEach(function(d){if(!e.has(d)){var u=r.get(d);u&&t(u)}}),a.push(i)}return c.forEach(function(i){r.set(i.name,i)}),c.forEach(function(i){e.has(i.name)||t(i)}),a}function Zw1(c){var r;return function(){return r||(r=new Promise(function(e){Promise.resolve().then(function(){r=void 0,e(c())})})),r}}var bk={placement:"bottom",modifiers:[],strategy:"absolute"};function xk(){for(var c=arguments.length,r=new Array(c),e=0;e=0?"x":"y"}function wk(c){var u,r=c.reference,e=c.element,a=c.placement,t=a?I0(a):null,i=a?ia(a):null,l=r.x+r.width/2-e.width/2,d=r.y+r.height/2-e.height/2;switch(t){case i6:u={x:l,y:r.y-e.height};break;case O6:u={x:l,y:r.y+r.height};break;case I6:u={x:r.x+r.width,y:d};break;case o6:u={x:r.x-e.width,y:d};break;default:u={x:r.x,y:r.y}}var p=t?Om(t):null;if(null!=p){var z="y"===p?"height":"width";switch(i){case ta:u[p]=u[p]-(r[z]/2-e[z]/2);break;case qr:u[p]=u[p]+(r[z]/2-e[z]/2)}}return u}var aF1={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Fk(c){var r,e=c.popper,a=c.popperRect,t=c.placement,i=c.variation,l=c.offsets,d=c.position,u=c.gpuAcceleration,p=c.adaptive,z=c.roundOffsets,x=c.isFixed,E=l.x,P=void 0===E?0:E,Y=l.y,Z=void 0===Y?0:Y,K="function"==typeof z?z({x:P,y:Z}):{x:P,y:Z};P=K.x,Z=K.y;var J=l.hasOwnProperty("x"),X=l.hasOwnProperty("y"),n1=o6,h1=i6,C1=window;if(p){var x1=Yr(e),Z1="clientHeight",x2="clientWidth";x1===V6(e)&&"static"!==ge(x1=f8(e)).position&&"absolute"===d&&(Z1="scrollHeight",x2="scrollWidth"),(t===i6||(t===o6||t===I6)&&i===qr)&&(h1=O6,Z-=(x&&x1===C1&&C1.visualViewport?C1.visualViewport.height:x1[Z1])-a.height,Z*=u?1:-1),t!==o6&&(t!==i6&&t!==O6||i!==qr)||(n1=I6,P-=(x&&x1===C1&&C1.visualViewport?C1.visualViewport.width:x1[x2])-a.width,P*=u?1:-1)}var q3,b3=Object.assign({position:d},p&&aF1),g0=!0===z?function rF1(c,r){var a=c.y,t=r.devicePixelRatio||1;return{x:aa(c.x*t)/t||0,y:aa(a*t)/t||0}}({x:P,y:Z},V6(e)):{x:P,y:Z};return P=g0.x,Z=g0.y,Object.assign({},b3,u?((q3={})[h1]=X?"0":"",q3[n1]=J?"0":"",q3.transform=(C1.devicePixelRatio||1)<=1?"translate("+P+"px, "+Z+"px)":"translate3d("+P+"px, "+Z+"px, 0)",q3):((r={})[h1]=X?Z+"px":"",r[n1]=J?P+"px":"",r.transform="",r))}var uF1={left:"right",right:"left",bottom:"top",top:"bottom"};function es(c){return c.replace(/left|right|bottom|top/g,function(r){return uF1[r]})}var hF1={start:"end",end:"start"};function kk(c){return c.replace(/start|end/g,function(r){return hF1[r]})}function Sk(c,r){var e=r.getRootNode&&r.getRootNode();if(c.contains(r))return!0;if(e&&Dm(e)){var a=r;do{if(a&&c.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}function Im(c){return Object.assign({},c,{left:c.x,top:c.y,right:c.x+c.width,bottom:c.y+c.height})}function Nk(c,r,e){return r===Mk?Im(function mF1(c,r){var e=V6(c),a=f8(c),t=e.visualViewport,i=a.clientWidth,l=a.clientHeight,d=0,u=0;if(t){i=t.width,l=t.height;var p=Ck();(p||!p&&"fixed"===r)&&(d=t.offsetLeft,u=t.offsetTop)}return{width:i,height:l,x:d+Am(c),y:u}}(c,e)):l5(r)?function pF1(c,r){var e=ra(c,!1,"fixed"===r);return e.top=e.top+c.clientTop,e.left=e.left+c.clientLeft,e.bottom=e.top+c.clientHeight,e.right=e.left+c.clientWidth,e.width=c.clientWidth,e.height=c.clientHeight,e.x=e.left,e.y=e.top,e}(r,e):Im(function _F1(c){var r,e=f8(c),a=Em(c),t=null==(r=c.ownerDocument)?void 0:r.body,i=f5(e.scrollWidth,e.clientWidth,t?t.scrollWidth:0,t?t.clientWidth:0),l=f5(e.scrollHeight,e.clientHeight,t?t.scrollHeight:0,t?t.clientHeight:0),d=-a.scrollLeft+Am(c),u=-a.scrollTop;return"rtl"===ge(t||e).direction&&(d+=f5(e.clientWidth,t?t.clientWidth:0)-i),{width:i,height:l,x:d,y:u}}(f8(c)))}function Tk(c){return Object.assign({},{top:0,right:0,bottom:0,left:0},c)}function Ek(c,r){return r.reduce(function(e,a){return e[a]=c,e},{})}function Zr(c,r){void 0===r&&(r={});var a=r.placement,t=void 0===a?c.placement:a,i=r.strategy,l=void 0===i?c.strategy:i,d=r.boundary,u=void 0===d?"clippingParents":d,p=r.rootBoundary,z=void 0===p?Mk:p,x=r.elementContext,E=void 0===x?Wr:x,P=r.altBoundary,Y=void 0!==P&&P,Z=r.padding,K=void 0===Z?0:Z,J=Tk("number"!=typeof K?K:Ek(K,Gr)),n1=c.rects.popper,h1=c.elements[Y?E===Wr?"reference":Wr:E],C1=function vF1(c,r,e,a){var t="clippingParents"===r?function gF1(c){var r=$r(Jn(c)),a=["absolute","fixed"].indexOf(ge(c).position)>=0&&B6(c)?Yr(c):c;return l5(a)?r.filter(function(t){return l5(t)&&Sk(t,a)&&"body"!==O0(t)}):[]}(c):[].concat(r),i=[].concat(t,[e]),d=i.reduce(function(u,p){var z=Nk(c,p,a);return u.top=f5(z.top,u.top),u.right=Qn(z.right,u.right),u.bottom=Qn(z.bottom,u.bottom),u.left=f5(z.left,u.left),u},Nk(c,i[0],a));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}(l5(h1)?h1:h1.contextElement||f8(c.elements.popper),u,z,l),x1=ra(c.elements.reference),Z1=wk({reference:x1,element:n1,strategy:"absolute",placement:t}),x2=Im(Object.assign({},n1,Z1)),U2=E===Wr?x2:x1,p4={top:C1.top-U2.top+J.top,bottom:U2.bottom-C1.bottom+J.bottom,left:C1.left-U2.left+J.left,right:U2.right-C1.right+J.right},b3=c.modifiersData.offset;if(E===Wr&&b3){var g0=b3[t];Object.keys(p4).forEach(function(q3){var L5=[I6,O6].indexOf(q3)>=0?1:-1,y5=[i6,O6].indexOf(q3)>=0?"y":"x";p4[q3]+=g0[y5]*L5})}return p4}function Kr(c,r,e){return f5(c,Qn(r,e))}function Ak(c,r,e){return void 0===e&&(e={x:0,y:0}),{top:c.top-r.height-e.y,right:c.right-r.width+e.x,bottom:c.bottom-r.height+e.y,left:c.left-r.width-e.x}}function Pk(c){return[i6,I6,O6,o6].some(function(r){return c[r]>=0})}var Um=Qw1({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function Jw1(c){var r=c.state,e=c.instance,a=c.options,t=a.scroll,i=void 0===t||t,l=a.resize,d=void 0===l||l,u=V6(r.elements.popper),p=[].concat(r.scrollParents.reference,r.scrollParents.popper);return i&&p.forEach(function(z){z.addEventListener("scroll",e.update,Xn)}),d&&u.addEventListener("resize",e.update,Xn),function(){i&&p.forEach(function(z){z.removeEventListener("scroll",e.update,Xn)}),d&&u.removeEventListener("resize",e.update,Xn)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function eF1(c){var r=c.state;r.modifiersData[c.name]=wk({reference:r.rects.reference,element:r.rects.popper,strategy:"absolute",placement:r.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function tF1(c){var r=c.state,e=c.options,a=e.gpuAcceleration,t=void 0===a||a,i=e.adaptive,l=void 0===i||i,d=e.roundOffsets,u=void 0===d||d,p={placement:I0(r.placement),variation:ia(r.placement),popper:r.elements.popper,popperRect:r.rects.popper,gpuAcceleration:t,isFixed:"fixed"===r.options.strategy};null!=r.modifiersData.popperOffsets&&(r.styles.popper=Object.assign({},r.styles.popper,Fk(Object.assign({},p,{offsets:r.modifiersData.popperOffsets,position:r.options.strategy,adaptive:l,roundOffsets:u})))),null!=r.modifiersData.arrow&&(r.styles.arrow=Object.assign({},r.styles.arrow,Fk(Object.assign({},p,{offsets:r.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-placement":r.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function oF1(c){var r=c.state;Object.keys(r.elements).forEach(function(e){var a=r.styles[e]||{},t=r.attributes[e]||{},i=r.elements[e];!B6(i)||!O0(i)||(Object.assign(i.style,a),Object.keys(t).forEach(function(l){var d=t[l];!1===d?i.removeAttribute(l):i.setAttribute(l,!0===d?"":d)}))})},effect:function nF1(c){var r=c.state,e={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(r.elements.popper.style,e.popper),r.styles=e,r.elements.arrow&&Object.assign(r.elements.arrow.style,e.arrow),function(){Object.keys(r.elements).forEach(function(a){var t=r.elements[a],i=r.attributes[a]||{},d=Object.keys(r.styles.hasOwnProperty(a)?r.styles[a]:e[a]).reduce(function(u,p){return u[p]="",u},{});!B6(t)||!O0(t)||(Object.assign(t.style,d),Object.keys(i).forEach(function(u){t.removeAttribute(u)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function fF1(c){var r=c.state,a=c.name,t=c.options.offset,i=void 0===t?[0,0]:t,l=yk.reduce(function(z,x){return z[x]=function lF1(c,r,e){var a=I0(c),t=[o6,i6].indexOf(a)>=0?-1:1,i="function"==typeof e?e(Object.assign({},r,{placement:c})):e,l=i[0],d=i[1];return l=l||0,d=(d||0)*t,[o6,I6].indexOf(a)>=0?{x:d,y:l}:{x:l,y:d}}(x,r.rects,i),z},{}),d=l[r.placement],p=d.y;null!=r.modifiersData.popperOffsets&&(r.modifiersData.popperOffsets.x+=d.x,r.modifiersData.popperOffsets.y+=p),r.modifiersData[a]=l}},{name:"flip",enabled:!0,phase:"main",fn:function zF1(c){var r=c.state,e=c.options,a=c.name;if(!r.modifiersData[a]._skip){for(var t=e.mainAxis,i=void 0===t||t,l=e.altAxis,d=void 0===l||l,u=e.fallbackPlacements,p=e.padding,z=e.boundary,x=e.rootBoundary,E=e.altBoundary,P=e.flipVariations,Y=void 0===P||P,Z=e.allowedAutoPlacements,K=r.options.placement,J=I0(K),n1=u||(J!==K&&Y?function CF1(c){if(I0(c)===Bm)return[];var r=es(c);return[kk(c),r,kk(r)]}(K):[es(K)]),h1=[K].concat(n1).reduce(function(Ua,F8){return Ua.concat(I0(F8)===Bm?function HF1(c,r){void 0===r&&(r={});var t=r.boundary,i=r.rootBoundary,l=r.padding,d=r.flipVariations,u=r.allowedAutoPlacements,p=void 0===u?yk:u,z=ia(r.placement),x=z?d?Lk:Lk.filter(function(Y){return ia(Y)===z}):Gr,E=x.filter(function(Y){return p.indexOf(Y)>=0});0===E.length&&(E=x);var P=E.reduce(function(Y,Z){return Y[Z]=Zr(c,{placement:Z,boundary:t,rootBoundary:i,padding:l})[I0(Z)],Y},{});return Object.keys(P).sort(function(Y,Z){return P[Y]-P[Z]})}(r,{placement:F8,boundary:z,rootBoundary:x,padding:p,flipVariations:Y,allowedAutoPlacements:Z}):F8)},[]),C1=r.rects.reference,x1=r.rects.popper,Z1=new Map,x2=!0,U2=h1[0],p4=0;p4=0,y5=L5?"width":"height",k6=Zr(r,{placement:b3,boundary:z,rootBoundary:x,altBoundary:E,padding:p}),v0=L5?q3?I6:o6:q3?O6:i6;C1[y5]>x1[y5]&&(v0=es(v0));var Jl=es(v0),b5=[];if(i&&b5.push(k6[g0]<=0),d&&b5.push(k6[v0]<=0,k6[Jl]<=0),b5.every(function(Ua){return Ua})){U2=b3,x2=!1;break}Z1.set(b3,b5)}if(x2)for(var pz=function(F8){var ci=h1.find(function(cf){var x5=Z1.get(cf);if(x5)return x5.slice(0,F8).every(function(gz){return gz})});if(ci)return U2=ci,"break"},ei=Y?3:1;ei>0&&"break"!==pz(ei);ei--);r.placement!==U2&&(r.modifiersData[a]._skip=!0,r.placement=U2,r.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function yF1(c){var r=c.state,e=c.options,a=c.name,t=e.mainAxis,i=void 0===t||t,l=e.altAxis,d=void 0!==l&&l,E=e.tether,P=void 0===E||E,Y=e.tetherOffset,Z=void 0===Y?0:Y,K=Zr(r,{boundary:e.boundary,rootBoundary:e.rootBoundary,padding:e.padding,altBoundary:e.altBoundary}),J=I0(r.placement),X=ia(r.placement),n1=!X,h1=Om(J),C1=function MF1(c){return"x"===c?"y":"x"}(h1),x1=r.modifiersData.popperOffsets,Z1=r.rects.reference,x2=r.rects.popper,U2="function"==typeof Z?Z(Object.assign({},r.rects,{placement:r.placement})):Z,p4="number"==typeof U2?{mainAxis:U2,altAxis:U2}:Object.assign({mainAxis:0,altAxis:0},U2),b3=r.modifiersData.offset?r.modifiersData.offset[r.placement]:null,g0={x:0,y:0};if(x1){if(i){var q3,L5="y"===h1?i6:o6,y5="y"===h1?O6:I6,k6="y"===h1?"height":"width",v0=x1[h1],Jl=v0+K[L5],b5=v0-K[y5],Xl=P?-x2[k6]/2:0,pz=X===ta?Z1[k6]:x2[k6],ei=X===ta?-x2[k6]:-Z1[k6],ef=r.elements.arrow,Ua=P&&ef?Rm(ef):{width:0,height:0},F8=r.modifiersData["arrow#persistent"]?r.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ci=F8[L5],cf=F8[y5],x5=Kr(0,Z1[k6],Ua[k6]),gz=n1?Z1[k6]/2-Xl-x5-ci-p4.mainAxis:pz-x5-ci-p4.mainAxis,oa6=n1?-Z1[k6]/2+Xl+x5+cf+p4.mainAxis:ei+x5+cf+p4.mainAxis,vz=r.elements.arrow&&Yr(r.elements.arrow),na6=vz?"y"===h1?vz.clientTop||0:vz.clientLeft||0:0,Am1=null!=(q3=b3?.[h1])?q3:0,la6=v0+oa6-Am1,Pm1=Kr(P?Qn(Jl,v0+gz-Am1-na6):Jl,v0,P?f5(b5,la6):b5);x1[h1]=Pm1,g0[h1]=Pm1-v0}if(d){var Rm1,w5=x1[C1],af="y"===C1?"height":"width",Bm1=w5+K["x"===h1?i6:o6],Om1=w5-K["x"===h1?O6:I6],Hz=-1!==[i6,o6].indexOf(J),Im1=null!=(Rm1=b3?.[C1])?Rm1:0,Um1=Hz?Bm1:w5-Z1[af]-x2[af]-Im1+p4.altAxis,jm1=Hz?w5+Z1[af]+x2[af]-Im1-p4.altAxis:Om1,$m1=P&&Hz?function LF1(c,r,e){var a=Kr(c,r,e);return a>e?e:a}(Um1,w5,jm1):Kr(P?Um1:Bm1,w5,P?jm1:Om1);x1[C1]=$m1,g0[C1]=$m1-w5}r.modifiersData[a]=g0}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function wF1(c){var r,e=c.state,a=c.name,t=c.options,i=e.elements.arrow,l=e.modifiersData.popperOffsets,d=I0(e.placement),u=Om(d),z=[o6,I6].indexOf(d)>=0?"height":"width";if(i&&l){var x=function(r,e){return Tk("number"!=typeof(r="function"==typeof r?r(Object.assign({},e.rects,{placement:e.placement})):r)?r:Ek(r,Gr))}(t.padding,e),E=Rm(i),P="y"===u?i6:o6,Y="y"===u?O6:I6,Z=e.rects.reference[z]+e.rects.reference[u]-l[u]-e.rects.popper[z],K=l[u]-e.rects.reference[u],J=Yr(i),X=J?"y"===u?J.clientHeight||0:J.clientWidth||0:0,x1=X/2-E[z]/2+(Z/2-K/2),Z1=Kr(x[P],x1,X-E[z]-x[Y]);e.modifiersData[a]=((r={})[u]=Z1,r.centerOffset=Z1-x1,r)}},effect:function FF1(c){var r=c.state,a=c.options.element,t=void 0===a?"[data-popper-arrow]":a;null!=t&&("string"==typeof t&&!(t=r.elements.popper.querySelector(t))||Sk(r.elements.popper,t)&&(r.elements.arrow=t))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function SF1(c){var r=c.state,e=c.name,a=r.rects.reference,t=r.rects.popper,i=r.modifiersData.preventOverflow,l=Zr(r,{elementContext:"reference"}),d=Zr(r,{altBoundary:!0}),u=Ak(l,a),p=Ak(d,t,i),z=Pk(u),x=Pk(p);r.modifiersData[e]={referenceClippingOffsets:u,popperEscapeOffsets:p,isReferenceHidden:z,hasPopperEscaped:x},r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-reference-hidden":z,"data-popper-escaped":x})}}]}),d8=function(){return d8=Object.assign||function(c){for(var r,e=1,a=arguments.length;er[a]),keys:e}}}return{args:c,keys:null}}const{isArray:OF1}=Array;function Qm(c){return J1(r=>function IF1(c,r){return OF1(r)?c(...r):c(r)}(c,r))}function Gk(c,r){return c.reduce((e,a,t)=>(e[a]=r[t],e),{})}function Jm(...c){const r=xF(c),{args:e,keys:a}=Yk(c),t=new l4(i=>{const{length:l}=e;if(!l)return void i.complete();const d=new Array(l);let u=l,p=l;for(let z=0;z{x||(x=!0,p--),d[z]=E},()=>u--,void 0,()=>{(!u||!x)&&(p||i.next(a?Gk(a,d):d),i.complete())}))}});return r?t.pipe(Qm(r)):t}function na(c=1/0){return n3(s6,c)}function sa(...c){return function UF1(){return na(1)}()(k4(c,Br(c)))}function us(c){return new l4(r=>{U3(c()).subscribe(r)})}const U6=new l4(c=>c.complete());function M6(c){return c<=0?()=>U6:i4((r,e)=>{let a=0;r.subscribe(_2(e,t=>{++a<=c&&(e.next(t),c<=a&&e.complete())}))})}const Xm={now:()=>(Xm.delegate||Date).now(),delegate:void 0};class $F1 extends G2{constructor(r=1/0,e=1/0,a=Xm){super(),this._bufferSize=r,this._windowTime=e,this._timestampProvider=a,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,r),this._windowTime=Math.max(1,e)}next(r){const{isStopped:e,_buffer:a,_infiniteTimeWindow:t,_timestampProvider:i,_windowTime:l}=this;e||(a.push(r),!t&&a.push(i.now()+l)),this._trimBuffer(),super.next(r)}_subscribe(r){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(r),{_infiniteTimeWindow:a,_buffer:t}=this,i=t.slice();for(let l=0;l{a.unsubscribe(),c()}});return U3(r(...e)).subscribe(a)}function c_(c,r,e){let a,t=!1;return c&&"object"==typeof c?({bufferSize:a=1/0,windowTime:r=1/0,refCount:t=!1,scheduler:e}=c):a=c??1/0,function YF1(c={}){const{connector:r=(()=>new G2),resetOnError:e=!0,resetOnComplete:a=!0,resetOnRefCountZero:t=!0}=c;return i=>{let l,d,u,p=0,z=!1,x=!1;const E=()=>{d?.unsubscribe(),d=void 0},P=()=>{E(),l=u=void 0,z=x=!1},Y=()=>{const Z=l;P(),Z?.unsubscribe()};return i4((Z,K)=>{p++,!x&&!z&&E();const J=u=u??r();K.add(()=>{p--,0===p&&!x&&!z&&(d=e_(Y,t))}),J.subscribe(K),!l&&p>0&&(l=new H0({next:X=>J.next(X),error:X=>{x=!0,E(),d=e_(P,e,X),J.error(X)},complete:()=>{z=!0,E(),d=e_(P,a),J.complete()}}),U3(Z).subscribe(l))})(i)}}({connector:()=>new $F1(a,r,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:t})}class Jr{}let qk=(()=>{class c extends Jr{getTranslation(e){return T1({})}static \u0275fac=(()=>{let e;return function(t){return(e||(e=b4(c)))(t||c)}})();static \u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();class a_{}let Wk=(()=>{class c{handle(e){return e.key}static \u0275fac=function(a){return new(a||c)};static \u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();function hs(c,r){if(c===r)return!0;if(null===c||null===r)return!1;if(c!=c&&r!=r)return!0;let t,i,l,e=typeof c;if(e==typeof r&&"object"==e){if(!Array.isArray(c)){if(Array.isArray(r))return!1;for(i in l=Object.create(null),c){if(!hs(c[i],r[i]))return!1;l[i]=!0}for(i in r)if(!(i in l)&&typeof r[i]<"u")return!1;return!0}if(!Array.isArray(r))return!1;if((t=c.length)==r.length){for(i=0;i{r_(r[a])?a in c?e[a]=Zk(c[a],r[a]):Object.assign(e,{[a]:r[a]}):Object.assign(e,{[a]:r[a]})}),e}class ms{}let Kk=(()=>{class c extends ms{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,a){let t;return t="string"==typeof e?this.interpolateString(e,a):"function"==typeof e?this.interpolateFunction(e,a):e,t}getValue(e,a){let t="string"==typeof a?a.split("."):[a];a="";do{a+=t.shift(),!p8(e)||!p8(e[a])||"object"!=typeof e[a]&&t.length?t.length?a+=".":e=void 0:(e=e[a],a="")}while(t.length);return e}interpolateFunction(e,a){return e(a)}interpolateString(e,a){return a?e.replace(this.templateMatcher,(t,i)=>{let l=this.getValue(a,i);return p8(l)?l:t}):e}static \u0275fac=(()=>{let e;return function(t){return(e||(e=b4(c)))(t||c)}})();static \u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();class _s{}let Qk=(()=>{class c extends _s{compile(e,a){return e}compileTranslations(e,a){return e}static \u0275fac=(()=>{let e;return function(t){return(e||(e=b4(c)))(t||c)}})();static \u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();class Jk{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new Y1;onLangChange=new Y1;onDefaultLangChange=new Y1}const t_=new H1("USE_STORE"),i_=new H1("USE_DEFAULT_LANG"),o_=new H1("DEFAULT_LANGUAGE"),n_=new H1("USE_EXTEND");let la=(()=>{class c{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new Y1;_onLangChange=new Y1;_onDefaultLangChange=new Y1;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}constructor(e,a,t,i,l,d=!0,u=!1,p=!1,z){this.store=e,this.currentLoader=a,this.compiler=t,this.parser=i,this.missingTranslationHandler=l,this.useDefaultLang=d,this.isolate=u,this.extend=p,z&&this.setDefaultLang(z)}setDefaultLang(e){if(e===this.defaultLang)return;let a=this.retrieveTranslations(e);typeof a<"u"?(null==this.defaultLang&&(this.defaultLang=e),a.pipe(M6(1)).subscribe(t=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return T1(this.translations[e]);let a=this.retrieveTranslations(e);return typeof a<"u"?(this.currentLang||(this.currentLang=e),a.pipe(M6(1)).subscribe(t=>{this.changeLang(e)}),a):(this.changeLang(e),T1(this.translations[e]))}retrieveTranslations(e){let a;return(typeof this.translations[e]>"u"||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),a=this._translationRequests[e]),a}getTranslation(e){this.pending=!0;const a=this.currentLoader.getTranslation(e).pipe(c_(1),M6(1));return this.loadingTranslations=a.pipe(J1(t=>this.compiler.compileTranslations(t,e)),c_(1),M6(1)),this.loadingTranslations.subscribe({next:t=>{this.translations[e]=this.extend&&this.translations[e]?{...t,...this.translations[e]}:t,this.updateLangs(),this.pending=!1},error:t=>{this.pending=!1}}),a}setTranslation(e,a,t=!1){a=this.compiler.compileTranslations(a,e),this.translations[e]=(t||this.extend)&&this.translations[e]?Zk(this.translations[e],a):a,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(a=>{-1===this.langs.indexOf(a)&&this.langs.push(a)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,a,t){let i;if(a instanceof Array){let l={},d=!1;for(let u of a)l[u]=this.getParsedResult(e,u,t),_8(l[u])&&(d=!0);return d?Jm(a.map(p=>_8(l[p])?l[p]:T1(l[p]))).pipe(J1(p=>{let z={};return p.forEach((x,E)=>{z[a[E]]=x}),z})):l}if(e&&(i=this.parser.interpolate(this.parser.getValue(e,a),t)),typeof i>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(i=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],a),t)),typeof i>"u"){let l={key:a,translateService:this};typeof t<"u"&&(l.interpolateParams=t),i=this.missingTranslationHandler.handle(l)}return typeof i<"u"?i:a}get(e,a){if(!p8(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(o8(t=>_8(t=this.getParsedResult(t,e,a))?t:T1(t)));{let t=this.getParsedResult(this.translations[this.currentLang],e,a);return _8(t)?t:T1(t)}}getStreamOnTranslationChange(e,a){if(!p8(e)||!e.length)throw new Error('Parameter "key" required');return sa(us(()=>this.get(e,a)),this.onTranslationChange.pipe(z3(t=>{const i=this.getParsedResult(t.translations,e,a);return"function"==typeof i.subscribe?i:T1(i)})))}stream(e,a){if(!p8(e)||!e.length)throw new Error('Parameter "key" required');return sa(us(()=>this.get(e,a)),this.onLangChange.pipe(z3(t=>{const i=this.getParsedResult(t.translations,e,a);return _8(i)?i:T1(i)})))}instant(e,a){if(!p8(e)||!e.length)throw new Error('Parameter "key" required');let t=this.getParsedResult(this.translations[this.currentLang],e,a);if(_8(t)){if(e instanceof Array){let i={};return e.forEach((l,d)=>{i[e[d]]=e[d]}),i}return e}return t}set(e,a,t=this.currentLang){this.translations[t][e]=this.compiler.compile(a,t),this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof e>"u"?void 0:(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}static \u0275fac=function(a){return new(a||c)(f1(Jk),f1(Jr),f1(_s),f1(ms),f1(a_),f1(i_),f1(t_),f1(n_),f1(o_))};static \u0275prov=g1({token:c,factory:c.\u0275fac})}return c})(),X1=(()=>{class c{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(e,a){this.translate=e,this._ref=a}updateValue(e,a,t){let i=l=>{this.value=void 0!==l?l:e,this.lastKey=e,this._ref.markForCheck()};if(t){let l=this.translate.getParsedResult(t,e,a);_8(l.subscribe)?l.subscribe(i):i(l)}this.translate.get(e,a).subscribe(i)}transform(e,...a){if(!e||!e.length)return e;if(hs(e,this.lastKey)&&hs(a,this.lastParams))return this.value;let t;if(p8(a[0])&&a.length)if("string"==typeof a[0]&&a[0].length){let i=a[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{t=JSON.parse(i)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${a[0]}`)}}else"object"==typeof a[0]&&!Array.isArray(a[0])&&(t=a[0]);return this.lastKey=e,this.lastParams=a,this.updateValue(e,t),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(i=>{this.lastKey&&i.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,t,i.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(i=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,t,i.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,t))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(a){return new(a||c)(B(la,16),B(B1,16))};static \u0275pipe=$4({name:"translate",type:c,pure:!1});static \u0275prov=g1({token:c,factory:c.\u0275fac})}return c})(),ps=(()=>{class c{static forRoot(e={}){return{ngModule:c,providers:[e.loader||{provide:Jr,useClass:qk},e.compiler||{provide:_s,useClass:Qk},e.parser||{provide:ms,useClass:Kk},e.missingTranslationHandler||{provide:a_,useClass:Wk},Jk,{provide:t_,useValue:e.isolate},{provide:i_,useValue:e.useDefaultLang},{provide:n_,useValue:e.extend},{provide:o_,useValue:e.defaultLanguage},la]}}static forChild(e={}){return{ngModule:c,providers:[e.loader||{provide:Jr,useClass:qk},e.compiler||{provide:_s,useClass:Qk},e.parser||{provide:ms,useClass:Kk},e.missingTranslationHandler||{provide:a_,useClass:Wk},{provide:t_,useValue:e.isolate},{provide:i_,useValue:e.useDefaultLang},{provide:n_,useValue:e.extend},{provide:o_,useValue:e.defaultLanguage},la]}}static \u0275fac=function(a){return new(a||c)};static \u0275mod=M4({type:c});static \u0275inj=g4({})}return c})(),A1=(()=>{class c{constructor(){}setItem(e,a){localStorage.setItem(e,a)}getItem(e){return localStorage.getItem(e)}setObject(e,a){localStorage.setItem(e,JSON.stringify(a))}getObject(e){return JSON.parse(localStorage.getItem(e)||"{}")}removeItem(e){localStorage.removeItem(e)}clear(){localStorage.clear()}addCategoryFilter(e){const a=JSON.parse(localStorage.getItem("selected_categories")||"[]");-1===a.findIndex(i=>i.id===e.id)&&(a.push(e),localStorage.setItem("selected_categories",JSON.stringify(a)))}removeCategoryFilter(e){const a=JSON.parse(localStorage.getItem("selected_categories")||"[]"),t=a.findIndex(i=>i.id===e.id);t>-1&&(a.splice(t,1),localStorage.setItem("selected_categories",JSON.stringify(a)))}addCartItem(e){const a=JSON.parse(localStorage.getItem("cart_items")||"[]");-1===a.findIndex(i=>i.id===e.id)&&(a.push(e),localStorage.setItem("cart_items",JSON.stringify(a)))}removeCartItem(e){const a=JSON.parse(localStorage.getItem("cart_items")||"[]"),t=a.findIndex(i=>i.id===e.id);t>-1&&(a.splice(t,1),localStorage.setItem("cart_items",JSON.stringify(a)))}addLoginInfo(e){localStorage.setItem("login_items",JSON.stringify(e))}removeLoginInfo(){localStorage.setItem("login_items",JSON.stringify({}))}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),e2=(()=>{class c{constructor(){this.eventMessageSubject=new G2,this.messages$=this.eventMessageSubject.asObservable()}emitAddedFilter(e){this.eventMessageSubject.next({type:"AddedFilter",value:e})}emitRemovedFilter(e){this.eventMessageSubject.next({type:"RemovedFilter",value:e})}emitAddedCartItem(e){this.eventMessageSubject.next({type:"AddedCartItem",value:e})}emitRemovedCartItem(e){this.eventMessageSubject.next({type:"RemovedCartItem",value:e})}emitFilterShown(e){this.eventMessageSubject.next({type:"FilterShown",value:e})}emitToggleDrawer(e){this.eventMessageSubject.next({type:"ToggleCartDrawer",value:e})}emitLogin(e){this.eventMessageSubject.next({type:"LoginProcess",value:e})}emitBillAccChange(e){this.eventMessageSubject.next({type:"BillAccChanged",value:e})}emitSellerProductSpec(e){this.eventMessageSubject.next({type:"SellerProductSpec",value:e})}emitSellerCreateProductSpec(e){this.eventMessageSubject.next({type:"SellerCreateProductSpec",value:e})}emitSellerUpdateProductSpec(e){this.eventMessageSubject.next({type:"SellerUpdateProductSpec",value:e})}emitSellerServiceSpec(e){this.eventMessageSubject.next({type:"SellerServiceSpec",value:e})}emitSellerCreateServiceSpec(e){this.eventMessageSubject.next({type:"SellerCreateServiceSpec",value:e})}emitSellerUpdateServiceSpec(e){this.eventMessageSubject.next({type:"SellerUpdateServiceSpec",value:e})}emitSellerResourceSpec(e){this.eventMessageSubject.next({type:"SellerResourceSpec",value:e})}emitSellerCreateResourceSpec(e){this.eventMessageSubject.next({type:"SellerCreateResourceSpec",value:e})}emitSellerUpdateResourceSpec(e){this.eventMessageSubject.next({type:"SellerUpdateResourceSpec",value:e})}emitSellerOffer(e){this.eventMessageSubject.next({type:"SellerOffer",value:e})}emitSellerCreateOffer(e){this.eventMessageSubject.next({type:"SellerCreateOffer",value:e})}emitSellerUpdateOffer(e){this.eventMessageSubject.next({type:"SellerUpdateOffer",value:e})}emitSellerCatalog(e){this.eventMessageSubject.next({type:"SellerCatalog",value:e})}emitSellerUpdateCatalog(e){this.eventMessageSubject.next({type:"SellerCatalogUpdate",value:e})}emitSellerCreateCatalog(e){this.eventMessageSubject.next({type:"SellerCatalogCreate",value:e})}emitCategoryAdded(e){console.log("event emitter category"),console.log(e),this.eventMessageSubject.next({type:"CategoryAdded",value:e})}emitChangedSession(e){console.log("event eChangedSession"),console.log(e),this.eventMessageSubject.next({type:"ChangedSession",value:e})}emitCloseCartCard(e){this.eventMessageSubject.next({type:"CloseCartCard",value:e})}emitShowCartToast(e){this.eventMessageSubject.next({type:"ShowCartToast",value:e})}emitHideCartToast(e){this.eventMessageSubject.next({type:"HideCartToast",value:e})}emitAdminCategories(e){this.eventMessageSubject.next({type:"AdminCategories",value:e})}emitCreateCategory(e){this.eventMessageSubject.next({type:"CreateCategory",value:e})}emitUpdateCategory(e){this.eventMessageSubject.next({type:"UpdateCategory",value:e})}emitCloseContact(e){this.eventMessageSubject.next({type:"CloseContact",value:e})}emitOpenServiceDetails(e){this.eventMessageSubject.next({type:"OpenServiceDetails",value:e})}emitOpenResourceDetails(e){this.eventMessageSubject.next({type:"OpenResourceDetails",value:e})}emitOpenProductInvDetails(e){this.eventMessageSubject.next({type:"OpenProductInvDetails",value:e})}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function gs(...c){const r=Br(c),e=xF(c),{args:a,keys:t}=Yk(c);if(0===a.length)return k4([],r);const i=new l4(function GF1(c,r,e=s6){return a=>{Xk(r,()=>{const{length:t}=c,i=new Array(t);let l=t,d=t;for(let u=0;u{const p=k4(c[u],r);let z=!1;p.subscribe(_2(a,x=>{i[u]=x,z||(z=!0,d--),d||a.next(e(i.slice()))},()=>{--l||a.complete()}))},a)},a)}}(a,r,t?l=>Gk(t,l):s6));return e?i.pipe(Qm(e)):i}function Xk(c,r,e){c?pe(e,c,r):r()}const Xr=Wa(c=>function(){c(this),this.name="EmptyError",this.message="no elements in sequence"});function vs(c,r){const e=b2(c)?c:()=>c,a=t=>t.error(e());return new l4(r?t=>r.schedule(a,0,t):a)}function s_(){return i4((c,r)=>{let e=null;c._refCount++;const a=_2(r,void 0,void 0,void 0,()=>{if(!c||c._refCount<=0||0<--c._refCount)return void(e=null);const t=c._connection,i=e;e=null,t&&(!i||t===i)&&t.unsubscribe(),r.unsubscribe()});c.subscribe(a),a.closed||(e=c.connect())})}class eS extends l4{constructor(r,e){super(),this.source=r,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,ui(r)&&(this.lift=r.lift)}_subscribe(r){return this.getSubject().subscribe(r)}getSubject(){const r=this._subject;return(!r||r.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:r}=this;this._subject=this._connection=null,r?.unsubscribe()}connect(){let r=this._connection;if(!r){r=this._connection=new c3;const e=this.getSubject();r.add(this.source.subscribe(_2(e,void 0,()=>{this._teardown(),e.complete()},a=>{this._teardown(),e.error(a)},()=>this._teardown()))),r.closed&&(this._connection=null,r=c3.EMPTY)}return r}refCount(){return s_()(this)}}function cS(...c){const r=Br(c);return i4((e,a)=>{(r?sa(c,e,r):sa(c,e)).subscribe(a)})}function fa(c){return i4((r,e)=>{let a=!1;r.subscribe(_2(e,t=>{a=!0,e.next(t)},()=>{a||e.next(c),e.complete()}))})}function aS(c=qF1){return i4((r,e)=>{let a=!1;r.subscribe(_2(e,t=>{a=!0,e.next(t)},()=>a?e.complete():e.error(c())))})}function qF1(){return new Xr}function g8(c,r){const e=arguments.length>=2;return a=>a.pipe(c?d0((t,i)=>c(t,i,a)):s6,M6(1),e?fa(r):aS(()=>new Xr))}function s3(c,r,e){const a=b2(c)||r||e?{next:c,error:r,complete:e}:c;return a?i4((t,i)=>{var l;null===(l=a.subscribe)||void 0===l||l.call(a);let d=!0;t.subscribe(_2(i,u=>{var p;null===(p=a.next)||void 0===p||p.call(a,u),i.next(u)},()=>{var u;d=!1,null===(u=a.complete)||void 0===u||u.call(a),i.complete()},u=>{var p;d=!1,null===(p=a.error)||void 0===p||p.call(a,u),i.error(u)},()=>{var u,p;d&&(null===(u=a.unsubscribe)||void 0===u||u.call(a)),null===(p=a.finalize)||void 0===p||p.call(a)}))}):s6}function da(c){return i4((r,e)=>{let i,a=null,t=!1;a=r.subscribe(_2(e,void 0,void 0,l=>{i=U3(c(l,da(c)(r))),a?(a.unsubscribe(),a=null,i.subscribe(e)):t=!0})),t&&(a.unsubscribe(),a=null,i.subscribe(e))})}function l_(c){return c<=0?()=>U6:i4((r,e)=>{let a=[];r.subscribe(_2(e,t=>{a.push(t),c{for(const t of a)e.next(t);e.complete()},void 0,()=>{a=null}))})}function Hs(c){return J1(()=>c)}function Cs(c){return i4((r,e)=>{U3(c).subscribe(_2(e,()=>e.complete(),D8)),!e.closed&&r.subscribe(e)})}const d2="primary",et=Symbol("RouteTitle");class QF1{constructor(r){this.params=r||{}}has(r){return Object.prototype.hasOwnProperty.call(this.params,r)}get(r){if(this.has(r)){const e=this.params[r];return Array.isArray(e)?e[0]:e}return null}getAll(r){if(this.has(r)){const e=this.params[r];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function ua(c){return new QF1(c)}function JF1(c,r,e){const a=e.path.split("/");if(a.length>c.length||"full"===e.pathMatch&&(r.hasChildren()||a.lengtha[i]===t)}return c===r}function tS(c){return c.length>0?c[c.length-1]:null}function v8(c){return _8(c)?c:kr(c)?k4(Promise.resolve(c)):T1(c)}const ek1={exact:function nS(c,r,e){if(!u5(c.segments,r.segments)||!zs(c.segments,r.segments,e)||c.numberOfChildren!==r.numberOfChildren)return!1;for(const a in r.children)if(!c.children[a]||!nS(c.children[a],r.children[a],e))return!1;return!0},subset:sS},iS={exact:function ck1(c,r){return U0(c,r)},subset:function ak1(c,r){return Object.keys(r).length<=Object.keys(c).length&&Object.keys(r).every(e=>rS(c[e],r[e]))},ignored:()=>!0};function oS(c,r,e){return ek1[e.paths](c.root,r.root,e.matrixParams)&&iS[e.queryParams](c.queryParams,r.queryParams)&&!("exact"===e.fragment&&c.fragment!==r.fragment)}function sS(c,r,e){return lS(c,r,r.segments,e)}function lS(c,r,e,a){if(c.segments.length>e.length){const t=c.segments.slice(0,e.length);return!(!u5(t,e)||r.hasChildren()||!zs(t,e,a))}if(c.segments.length===e.length){if(!u5(c.segments,e)||!zs(c.segments,e,a))return!1;for(const t in r.children)if(!c.children[t]||!sS(c.children[t],r.children[t],a))return!1;return!0}{const t=e.slice(0,c.segments.length),i=e.slice(c.segments.length);return!!(u5(c.segments,t)&&zs(c.segments,t,a)&&c.children[d2])&&lS(c.children[d2],r,i,a)}}function zs(c,r,e){return r.every((a,t)=>iS[e](c[t].parameters,a.parameters))}class ha{constructor(r=new Q2([],{}),e={},a=null){this.root=r,this.queryParams=e,this.fragment=a}get queryParamMap(){return this._queryParamMap??=ua(this.queryParams),this._queryParamMap}toString(){return ik1.serialize(this)}}class Q2{constructor(r,e){this.segments=r,this.children=e,this.parent=null,Object.values(e).forEach(a=>a.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Vs(this)}}class ct{constructor(r,e){this.path=r,this.parameters=e}get parameterMap(){return this._parameterMap??=ua(this.parameters),this._parameterMap}toString(){return uS(this)}}function u5(c,r){return c.length===r.length&&c.every((e,a)=>e.path===r[a].path)}let ma=(()=>{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:()=>new d_,providedIn:"root"})}return c})();class d_{parse(r){const e=new pk1(r);return new ha(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(r){const e=`/${at(r.root,!0)}`,a=function sk1(c){const r=Object.entries(c).map(([e,a])=>Array.isArray(a)?a.map(t=>`${Ms(e)}=${Ms(t)}`).join("&"):`${Ms(e)}=${Ms(a)}`).filter(e=>e);return r.length?`?${r.join("&")}`:""}(r.queryParams);return`${e}${a}${"string"==typeof r.fragment?`#${function ok1(c){return encodeURI(c)}(r.fragment)}`:""}`}}const ik1=new d_;function Vs(c){return c.segments.map(r=>uS(r)).join("/")}function at(c,r){if(!c.hasChildren())return Vs(c);if(r){const e=c.children[d2]?at(c.children[d2],!1):"",a=[];return Object.entries(c.children).forEach(([t,i])=>{t!==d2&&a.push(`${t}:${at(i,!1)}`)}),a.length>0?`${e}(${a.join("//")})`:e}{const e=function tk1(c,r){let e=[];return Object.entries(c.children).forEach(([a,t])=>{a===d2&&(e=e.concat(r(t,a)))}),Object.entries(c.children).forEach(([a,t])=>{a!==d2&&(e=e.concat(r(t,a)))}),e}(c,(a,t)=>t===d2?[at(c.children[d2],!1)]:[`${t}:${at(a,!1)}`]);return 1===Object.keys(c.children).length&&null!=c.children[d2]?`${Vs(c)}/${e[0]}`:`${Vs(c)}/(${e.join("//")})`}}function fS(c){return encodeURIComponent(c).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ms(c){return fS(c).replace(/%3B/gi,";")}function u_(c){return fS(c).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ls(c){return decodeURIComponent(c)}function dS(c){return Ls(c.replace(/\+/g,"%20"))}function uS(c){return`${u_(c.path)}${function nk1(c){return Object.entries(c).map(([r,e])=>`;${u_(r)}=${u_(e)}`).join("")}(c.parameters)}`}const lk1=/^[^\/()?;#]+/;function h_(c){const r=c.match(lk1);return r?r[0]:""}const fk1=/^[^\/()?;=#]+/,uk1=/^[^=?&#]+/,mk1=/^[^&#]+/;class pk1{constructor(r){this.url=r,this.remaining=r}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Q2([],{}):new Q2([],this.parseChildren())}parseQueryParams(){const r={};if(this.consumeOptional("?"))do{this.parseQueryParam(r)}while(this.consumeOptional("&"));return r}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const r=[];for(this.peekStartsWith("(")||r.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),r.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let a={};return this.peekStartsWith("(")&&(a=this.parseParens(!1)),(r.length>0||Object.keys(e).length>0)&&(a[d2]=new Q2(r,e)),a}parseSegment(){const r=h_(this.remaining);if(""===r&&this.peekStartsWith(";"))throw new l1(4009,!1);return this.capture(r),new ct(Ls(r),this.parseMatrixParams())}parseMatrixParams(){const r={};for(;this.consumeOptional(";");)this.parseParam(r);return r}parseParam(r){const e=function dk1(c){const r=c.match(fk1);return r?r[0]:""}(this.remaining);if(!e)return;this.capture(e);let a="";if(this.consumeOptional("=")){const t=h_(this.remaining);t&&(a=t,this.capture(a))}r[Ls(e)]=Ls(a)}parseQueryParam(r){const e=function hk1(c){const r=c.match(uk1);return r?r[0]:""}(this.remaining);if(!e)return;this.capture(e);let a="";if(this.consumeOptional("=")){const l=function _k1(c){const r=c.match(mk1);return r?r[0]:""}(this.remaining);l&&(a=l,this.capture(a))}const t=dS(e),i=dS(a);if(r.hasOwnProperty(t)){let l=r[t];Array.isArray(l)||(l=[l],r[t]=l),l.push(i)}else r[t]=i}parseParens(r){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const a=h_(this.remaining),t=this.remaining[a.length];if("/"!==t&&")"!==t&&";"!==t)throw new l1(4010,!1);let i;a.indexOf(":")>-1?(i=a.slice(0,a.indexOf(":")),this.capture(i),this.capture(":")):r&&(i=d2);const l=this.parseChildren();e[i]=1===Object.keys(l).length?l[d2]:new Q2([],l),this.consumeOptional("//")}return e}peekStartsWith(r){return this.remaining.startsWith(r)}consumeOptional(r){return!!this.peekStartsWith(r)&&(this.remaining=this.remaining.substring(r.length),!0)}capture(r){if(!this.consumeOptional(r))throw new l1(4011,!1)}}function hS(c){return c.segments.length>0?new Q2([],{[d2]:c}):c}function mS(c){const r={};for(const[a,t]of Object.entries(c.children)){const i=mS(t);if(a===d2&&0===i.segments.length&&i.hasChildren())for(const[l,d]of Object.entries(i.children))r[l]=d;else(i.segments.length>0||i.hasChildren())&&(r[a]=i)}return function gk1(c){if(1===c.numberOfChildren&&c.children[d2]){const r=c.children[d2];return new Q2(c.segments.concat(r.segments),r.children)}return c}(new Q2(c.segments,r))}function _a(c){return c instanceof ha}function _S(c){let r;const t=hS(function e(i){const l={};for(const u of i.children){const p=e(u);l[u.outlet]=p}const d=new Q2(i.url,l);return i===c&&(r=d),d}(c.root));return r??t}function pS(c,r,e,a){let t=c;for(;t.parent;)t=t.parent;if(0===r.length)return m_(t,t,t,e,a);const i=function Hk1(c){if("string"==typeof c[0]&&1===c.length&&"/"===c[0])return new vS(!0,0,c);let r=0,e=!1;const a=c.reduce((t,i,l)=>{if("object"==typeof i&&null!=i){if(i.outlets){const d={};return Object.entries(i.outlets).forEach(([u,p])=>{d[u]="string"==typeof p?p.split("/"):p}),[...t,{outlets:d}]}if(i.segmentPath)return[...t,i.segmentPath]}return"string"!=typeof i?[...t,i]:0===l?(i.split("/").forEach((d,u)=>{0==u&&"."===d||(0==u&&""===d?e=!0:".."===d?r++:""!=d&&t.push(d))}),t):[...t,i]},[]);return new vS(e,r,a)}(r);if(i.toRoot())return m_(t,t,new Q2([],{}),e,a);const l=function Ck1(c,r,e){if(c.isAbsolute)return new bs(r,!0,0);if(!e)return new bs(r,!1,NaN);if(null===e.parent)return new bs(e,!0,0);const a=ys(c.commands[0])?0:1;return function zk1(c,r,e){let a=c,t=r,i=e;for(;i>t;){if(i-=t,a=a.parent,!a)throw new l1(4005,!1);t=a.segments.length}return new bs(a,!1,t-i)}(e,e.segments.length-1+a,c.numberOfDoubleDots)}(i,t,c),d=l.processChildren?tt(l.segmentGroup,l.index,i.commands):HS(l.segmentGroup,l.index,i.commands);return m_(t,l.segmentGroup,d,e,a)}function ys(c){return"object"==typeof c&&null!=c&&!c.outlets&&!c.segmentPath}function rt(c){return"object"==typeof c&&null!=c&&c.outlets}function m_(c,r,e,a,t){let l,i={};a&&Object.entries(a).forEach(([u,p])=>{i[u]=Array.isArray(p)?p.map(z=>`${z}`):`${p}`}),l=c===r?e:gS(c,r,e);const d=hS(mS(l));return new ha(d,i,t)}function gS(c,r,e){const a={};return Object.entries(c.children).forEach(([t,i])=>{a[t]=i===r?e:gS(i,r,e)}),new Q2(c.segments,a)}class vS{constructor(r,e,a){if(this.isAbsolute=r,this.numberOfDoubleDots=e,this.commands=a,r&&a.length>0&&ys(a[0]))throw new l1(4003,!1);const t=a.find(rt);if(t&&t!==tS(a))throw new l1(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class bs{constructor(r,e,a){this.segmentGroup=r,this.processChildren=e,this.index=a}}function HS(c,r,e){if(c??=new Q2([],{}),0===c.segments.length&&c.hasChildren())return tt(c,r,e);const a=function Mk1(c,r,e){let a=0,t=r;const i={match:!1,pathIndex:0,commandIndex:0};for(;t=e.length)return i;const l=c.segments[t],d=e[a];if(rt(d))break;const u=`${d}`,p=a0&&void 0===u)break;if(u&&p&&"object"==typeof p&&void 0===p.outlets){if(!zS(u,p,l))return i;a+=2}else{if(!zS(u,{},l))return i;a++}t++}return{match:!0,pathIndex:t,commandIndex:a}}(c,r,e),t=e.slice(a.commandIndex);if(a.match&&a.pathIndexi!==d2)&&c.children[d2]&&1===c.numberOfChildren&&0===c.children[d2].segments.length){const i=tt(c.children[d2],r,e);return new Q2(c.segments,i.children)}return Object.entries(a).forEach(([i,l])=>{"string"==typeof l&&(l=[l]),null!==l&&(t[i]=HS(c.children[i],r,l))}),Object.entries(c.children).forEach(([i,l])=>{void 0===a[i]&&(t[i]=l)}),new Q2(c.segments,t)}}function __(c,r,e){const a=c.segments.slice(0,r);let t=0;for(;t{"string"==typeof a&&(a=[a]),null!==a&&(r[e]=__(new Q2([],{}),0,a))}),r}function CS(c){const r={};return Object.entries(c).forEach(([e,a])=>r[e]=`${a}`),r}function zS(c,r,e){return c==e.path&&U0(r,e.parameters)}const it="imperative";var y2=function(c){return c[c.NavigationStart=0]="NavigationStart",c[c.NavigationEnd=1]="NavigationEnd",c[c.NavigationCancel=2]="NavigationCancel",c[c.NavigationError=3]="NavigationError",c[c.RoutesRecognized=4]="RoutesRecognized",c[c.ResolveStart=5]="ResolveStart",c[c.ResolveEnd=6]="ResolveEnd",c[c.GuardsCheckStart=7]="GuardsCheckStart",c[c.GuardsCheckEnd=8]="GuardsCheckEnd",c[c.RouteConfigLoadStart=9]="RouteConfigLoadStart",c[c.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",c[c.ChildActivationStart=11]="ChildActivationStart",c[c.ChildActivationEnd=12]="ChildActivationEnd",c[c.ActivationStart=13]="ActivationStart",c[c.ActivationEnd=14]="ActivationEnd",c[c.Scroll=15]="Scroll",c[c.NavigationSkipped=16]="NavigationSkipped",c}(y2||{});class j0{constructor(r,e){this.id=r,this.url=e}}class xs extends j0{constructor(r,e,a="imperative",t=null){super(r,e),this.type=y2.NavigationStart,this.navigationTrigger=a,this.restoredState=t}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class $0 extends j0{constructor(r,e,a){super(r,e),this.urlAfterRedirects=a,this.type=y2.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var L6=function(c){return c[c.Redirect=0]="Redirect",c[c.SupersededByNewNavigation=1]="SupersededByNewNavigation",c[c.NoDataFromResolver=2]="NoDataFromResolver",c[c.GuardRejected=3]="GuardRejected",c}(L6||{}),ws=function(c){return c[c.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",c[c.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",c}(ws||{});class pa extends j0{constructor(r,e,a,t){super(r,e),this.reason=a,this.code=t,this.type=y2.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ga extends j0{constructor(r,e,a,t){super(r,e),this.reason=a,this.code=t,this.type=y2.NavigationSkipped}}class Fs extends j0{constructor(r,e,a,t){super(r,e),this.error=a,this.target=t,this.type=y2.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class VS extends j0{constructor(r,e,a,t){super(r,e),this.urlAfterRedirects=a,this.state=t,this.type=y2.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class yk1 extends j0{constructor(r,e,a,t){super(r,e),this.urlAfterRedirects=a,this.state=t,this.type=y2.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class bk1 extends j0{constructor(r,e,a,t,i){super(r,e),this.urlAfterRedirects=a,this.state=t,this.shouldActivate=i,this.type=y2.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class xk1 extends j0{constructor(r,e,a,t){super(r,e),this.urlAfterRedirects=a,this.state=t,this.type=y2.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class wk1 extends j0{constructor(r,e,a,t){super(r,e),this.urlAfterRedirects=a,this.state=t,this.type=y2.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Fk1{constructor(r){this.route=r,this.type=y2.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class kk1{constructor(r){this.route=r,this.type=y2.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Sk1{constructor(r){this.snapshot=r,this.type=y2.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Nk1{constructor(r){this.snapshot=r,this.type=y2.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Dk1{constructor(r){this.snapshot=r,this.type=y2.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Tk1{constructor(r){this.snapshot=r,this.type=y2.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class MS{constructor(r,e,a){this.routerEvent=r,this.position=e,this.anchor=a,this.type=y2.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class p_{}class g_{constructor(r){this.url=r}}class Ek1{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new ot,this.attachRef=null}}let ot=(()=>{class c{constructor(){this.contexts=new Map}onChildOutletCreated(e,a){const t=this.getOrCreateContext(e);t.outlet=a,this.contexts.set(e,t)}onChildOutletDestroyed(e){const a=this.getContext(e);a&&(a.outlet=null,a.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let a=this.getContext(e);return a||(a=new Ek1,this.contexts.set(e,a)),a}getContext(e){return this.contexts.get(e)||null}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();class LS{constructor(r){this._root=r}get root(){return this._root.value}parent(r){const e=this.pathFromRoot(r);return e.length>1?e[e.length-2]:null}children(r){const e=v_(r,this._root);return e?e.children.map(a=>a.value):[]}firstChild(r){const e=v_(r,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(r){const e=H_(r,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(t=>t!==r)}pathFromRoot(r){return H_(r,this._root).map(e=>e.value)}}function v_(c,r){if(c===r.value)return r;for(const e of r.children){const a=v_(c,e);if(a)return a}return null}function H_(c,r){if(c===r.value)return[r];for(const e of r.children){const a=H_(c,e);if(a.length)return a.unshift(r),a}return[]}class u0{constructor(r,e){this.value=r,this.children=e}toString(){return`TreeNode(${this.value})`}}function va(c){const r={};return c&&c.children.forEach(e=>r[e.value.outlet]=e),r}class yS extends LS{constructor(r,e){super(r),this.snapshot=e,V_(this,r)}toString(){return this.snapshot.toString()}}function bS(c){const r=function Ak1(c){const i=new z_([],{},{},"",{},d2,c,null,{});return new xS("",new u0(i,[]))}(c),e=new a3([new ct("",{})]),a=new a3({}),t=new a3({}),i=new a3({}),l=new a3(""),d=new j3(e,a,i,l,t,d2,c,r.root);return d.snapshot=r.root,new yS(new u0(d,[]),r)}class j3{constructor(r,e,a,t,i,l,d,u){this.urlSubject=r,this.paramsSubject=e,this.queryParamsSubject=a,this.fragmentSubject=t,this.dataSubject=i,this.outlet=l,this.component=d,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(J1(p=>p[et]))??T1(void 0),this.url=r,this.params=e,this.queryParams=a,this.fragment=t,this.data=i}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(J1(r=>ua(r))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(J1(r=>ua(r))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function C_(c,r,e="emptyOnly"){let a;const{routeConfig:t}=c;return a=null===r||"always"!==e&&""!==t?.path&&(r.component||r.routeConfig?.loadComponent)?{params:{...c.params},data:{...c.data},resolve:{...c.data,...c._resolvedData??{}}}:{params:{...r.params,...c.params},data:{...r.data,...c.data},resolve:{...c.data,...r.data,...t?.data,...c._resolvedData}},t&&FS(t)&&(a.resolve[et]=t.title),a}class z_{get title(){return this.data?.[et]}constructor(r,e,a,t,i,l,d,u,p){this.url=r,this.params=e,this.queryParams=a,this.fragment=t,this.data=i,this.outlet=l,this.component=d,this.routeConfig=u,this._resolve=p}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??=ua(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ua(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(a=>a.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class xS extends LS{constructor(r,e){super(e),this.url=r,V_(this,e)}toString(){return wS(this._root)}}function V_(c,r){r.value._routerState=c,r.children.forEach(e=>V_(c,e))}function wS(c){const r=c.children.length>0?` { ${c.children.map(wS).join(", ")} } `:"";return`${c.value}${r}`}function M_(c){if(c.snapshot){const r=c.snapshot,e=c._futureSnapshot;c.snapshot=e,U0(r.queryParams,e.queryParams)||c.queryParamsSubject.next(e.queryParams),r.fragment!==e.fragment&&c.fragmentSubject.next(e.fragment),U0(r.params,e.params)||c.paramsSubject.next(e.params),function XF1(c,r){if(c.length!==r.length)return!1;for(let e=0;eU0(e.parameters,r[a].parameters))}(c.url,r.url);return e&&!(!c.parent!=!r.parent)&&(!c.parent||L_(c.parent,r.parent))}function FS(c){return"string"==typeof c.title||null===c.title}let y_=(()=>{class c{constructor(){this.activated=null,this._activatedRoute=null,this.name=d2,this.activateEvents=new Y1,this.deactivateEvents=new Y1,this.attachEvents=new Y1,this.detachEvents=new Y1,this.parentContexts=i1(ot),this.location=i1(g6),this.changeDetector=i1(B1),this.environmentInjector=i1(p3),this.inputBinder=i1(ks,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){const{firstChange:a,previousValue:t}=e.name;if(a)return;this.isTrackedInParentContexts(t)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(t)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new l1(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new l1(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new l1(4012,!1);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,a){this.activated=e,this._activatedRoute=a,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,a){if(this.isActivated)throw new l1(4013,!1);this._activatedRoute=e;const t=this.location,l=e.snapshot.component,d=this.parentContexts.getOrCreateContext(this.name).children,u=new Pk1(e,d,t.injector);this.activated=t.createComponent(l,{index:t.length,injector:u,environmentInjector:a??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275dir=U1({type:c,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[A]})}return c})();class Pk1{constructor(r,e,a){this.route=r,this.childContexts=e,this.parent=a,this.__ngOutletInjector=!0}get(r,e){return r===j3?this.route:r===ot?this.childContexts:this.parent.get(r,e)}}const ks=new H1("");let kS=(()=>{class c{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){const{activatedRoute:a}=e,t=gs([a.queryParams,a.params,a.data]).pipe(z3(([i,l,d],u)=>(d={...i,...l,...d},0===u?T1(d):Promise.resolve(d)))).subscribe(i=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==a||null===a.component)return void this.unsubscribeFromRouteData(e);const l=function jL1(c){const r=f2(c);if(!r)return null;const e=new lr(r);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return r.standalone},get isSignal(){return r.signals}}}(a.component);if(l)for(const{templateName:d}of l.inputs)e.activatedComponentRef.setInput(d,i[d]);else this.unsubscribeFromRouteData(e)});this.outletDataSubscriptions.set(e,t)}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();function nt(c,r,e){if(e&&c.shouldReuseRoute(r.value,e.value.snapshot)){const a=e.value;a._futureSnapshot=r.value;const t=function Bk1(c,r,e){return r.children.map(a=>{for(const t of e.children)if(c.shouldReuseRoute(a.value,t.value.snapshot))return nt(c,a,t);return nt(c,a)})}(c,r,e);return new u0(a,t)}{if(c.shouldAttach(r.value)){const i=c.retrieve(r.value);if(null!==i){const l=i.route;return l.value._futureSnapshot=r.value,l.children=r.children.map(d=>nt(c,d)),l}}const a=function Ok1(c){return new j3(new a3(c.url),new a3(c.params),new a3(c.queryParams),new a3(c.fragment),new a3(c.data),c.outlet,c.component,c)}(r.value),t=r.children.map(i=>nt(c,i));return new u0(a,t)}}const SS="ngNavigationCancelingError";function NS(c,r){const{redirectTo:e,navigationBehaviorOptions:a}=_a(r)?{redirectTo:r,navigationBehaviorOptions:void 0}:r,t=DS(!1,L6.Redirect);return t.url=e,t.navigationBehaviorOptions=a,t}function DS(c,r){const e=new Error(`NavigationCancelingError: ${c||""}`);return e[SS]=!0,e.cancellationCode=r,e}function TS(c){return!!c&&c[SS]}let ES=(()=>{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275cmp=V1({type:c,selectors:[["ng-component"]],standalone:!0,features:[C3],decls:1,vars:0,template:function(a,t){1&a&&v(0,"router-outlet")},dependencies:[y_],encapsulation:2})}return c})();function b_(c){const r=c.children&&c.children.map(b_),e=r?{...c,children:r}:{...c};return!e.component&&!e.loadComponent&&(r||e.loadChildren)&&e.outlet&&e.outlet!==d2&&(e.component=ES),e}function Y0(c){return c.outlet||d2}function st(c){if(!c)return null;if(c.routeConfig?._injector)return c.routeConfig._injector;for(let r=c.parent;r;r=r.parent){const e=r.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class Wk1{constructor(r,e,a,t,i){this.routeReuseStrategy=r,this.futureState=e,this.currState=a,this.forwardEvent=t,this.inputBindingEnabled=i}activate(r){const e=this.futureState._root,a=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,a,r),M_(this.futureState.root),this.activateChildRoutes(e,a,r)}deactivateChildRoutes(r,e,a){const t=va(e);r.children.forEach(i=>{const l=i.value.outlet;this.deactivateRoutes(i,t[l],a),delete t[l]}),Object.values(t).forEach(i=>{this.deactivateRouteAndItsChildren(i,a)})}deactivateRoutes(r,e,a){const t=r.value,i=e?e.value:null;if(t===i)if(t.component){const l=a.getContext(t.outlet);l&&this.deactivateChildRoutes(r,e,l.children)}else this.deactivateChildRoutes(r,e,a);else i&&this.deactivateRouteAndItsChildren(e,a)}deactivateRouteAndItsChildren(r,e){r.value.component&&this.routeReuseStrategy.shouldDetach(r.value.snapshot)?this.detachAndStoreRouteSubtree(r,e):this.deactivateRouteAndOutlet(r,e)}detachAndStoreRouteSubtree(r,e){const a=e.getContext(r.value.outlet),t=a&&r.value.component?a.children:e,i=va(r);for(const l of Object.values(i))this.deactivateRouteAndItsChildren(l,t);if(a&&a.outlet){const l=a.outlet.detach(),d=a.children.onOutletDeactivated();this.routeReuseStrategy.store(r.value.snapshot,{componentRef:l,route:r,contexts:d})}}deactivateRouteAndOutlet(r,e){const a=e.getContext(r.value.outlet),t=a&&r.value.component?a.children:e,i=va(r);for(const l of Object.values(i))this.deactivateRouteAndItsChildren(l,t);a&&(a.outlet&&(a.outlet.deactivate(),a.children.onOutletDeactivated()),a.attachRef=null,a.route=null)}activateChildRoutes(r,e,a){const t=va(e);r.children.forEach(i=>{this.activateRoutes(i,t[i.value.outlet],a),this.forwardEvent(new Tk1(i.value.snapshot))}),r.children.length&&this.forwardEvent(new Nk1(r.value.snapshot))}activateRoutes(r,e,a){const t=r.value,i=e?e.value:null;if(M_(t),t===i)if(t.component){const l=a.getOrCreateContext(t.outlet);this.activateChildRoutes(r,e,l.children)}else this.activateChildRoutes(r,e,a);else if(t.component){const l=a.getOrCreateContext(t.outlet);if(this.routeReuseStrategy.shouldAttach(t.snapshot)){const d=this.routeReuseStrategy.retrieve(t.snapshot);this.routeReuseStrategy.store(t.snapshot,null),l.children.onOutletReAttached(d.contexts),l.attachRef=d.componentRef,l.route=d.route.value,l.outlet&&l.outlet.attach(d.componentRef,d.route.value),M_(d.route.value),this.activateChildRoutes(r,null,l.children)}else{const d=st(t.snapshot);l.attachRef=null,l.route=t,l.injector=d,l.outlet&&l.outlet.activateWith(t,l.injector),this.activateChildRoutes(r,null,l.children)}}else this.activateChildRoutes(r,null,a)}}class AS{constructor(r){this.path=r,this.route=this.path[this.path.length-1]}}class Ss{constructor(r,e){this.component=r,this.route=e}}function Zk1(c,r,e){const a=c._root;return lt(a,r?r._root:null,e,[a.value])}function Ha(c,r){const e=Symbol(),a=r.get(c,e);return a===e?"function"!=typeof c||function pf(c){return null!==O5(c)}(c)?r.get(c):c:a}function lt(c,r,e,a,t={canDeactivateChecks:[],canActivateChecks:[]}){const i=va(r);return c.children.forEach(l=>{(function Qk1(c,r,e,a,t={canDeactivateChecks:[],canActivateChecks:[]}){const i=c.value,l=r?r.value:null,d=e?e.getContext(c.value.outlet):null;if(l&&i.routeConfig===l.routeConfig){const u=function Jk1(c,r,e){if("function"==typeof e)return e(c,r);switch(e){case"pathParamsChange":return!u5(c.url,r.url);case"pathParamsOrQueryParamsChange":return!u5(c.url,r.url)||!U0(c.queryParams,r.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!L_(c,r)||!U0(c.queryParams,r.queryParams);default:return!L_(c,r)}}(l,i,i.routeConfig.runGuardsAndResolvers);u?t.canActivateChecks.push(new AS(a)):(i.data=l.data,i._resolvedData=l._resolvedData),lt(c,r,i.component?d?d.children:null:e,a,t),u&&d&&d.outlet&&d.outlet.isActivated&&t.canDeactivateChecks.push(new Ss(d.outlet.component,l))}else l&&ft(r,d,t),t.canActivateChecks.push(new AS(a)),lt(c,null,i.component?d?d.children:null:e,a,t)})(l,i[l.value.outlet],e,a.concat([l.value]),t),delete i[l.value.outlet]}),Object.entries(i).forEach(([l,d])=>ft(d,e.getContext(l),t)),t}function ft(c,r,e){const a=va(c),t=c.value;Object.entries(a).forEach(([i,l])=>{ft(l,t.component?r?r.children.getContext(i):null:r,e)}),e.canDeactivateChecks.push(new Ss(t.component&&r&&r.outlet&&r.outlet.isActivated?r.outlet.component:null,t))}function dt(c){return"function"==typeof c}function PS(c){return c instanceof Xr||"EmptyError"===c?.name}const Ns=Symbol("INITIAL_VALUE");function Ca(){return z3(c=>gs(c.map(r=>r.pipe(M6(1),cS(Ns)))).pipe(J1(r=>{for(const e of r)if(!0!==e){if(e===Ns)return Ns;if(!1===e||e instanceof ha)return e}return!0}),d0(r=>r!==Ns),M6(1)))}function RS(c){return function E5(...c){return k1(c)}(s3(r=>{if(_a(r))throw NS(0,r)}),J1(r=>!0===r))}class x_{constructor(r){this.segmentGroup=r||null}}class w_ extends Error{constructor(r){super(),this.urlTree=r}}function za(c){return vs(new x_(c))}class gS1{constructor(r,e){this.urlSerializer=r,this.urlTree=e}lineralizeSegments(r,e){let a=[],t=e.root;for(;;){if(a=a.concat(t.segments),0===t.numberOfChildren)return T1(a);if(t.numberOfChildren>1||!t.children[d2])return vs(new l1(4e3,!1));t=t.children[d2]}}applyRedirectCommands(r,e,a){const t=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),r,a);if(e.startsWith("/"))throw new w_(t);return t}applyRedirectCreateUrlTree(r,e,a,t){const i=this.createSegmentGroup(r,e.root,a,t);return new ha(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(r,e){const a={};return Object.entries(r).forEach(([t,i])=>{if("string"==typeof i&&i.startsWith(":")){const d=i.substring(1);a[t]=e[d]}else a[t]=i}),a}createSegmentGroup(r,e,a,t){const i=this.createSegments(r,e.segments,a,t);let l={};return Object.entries(e.children).forEach(([d,u])=>{l[d]=this.createSegmentGroup(r,u,a,t)}),new Q2(i,l)}createSegments(r,e,a,t){return e.map(i=>i.path.startsWith(":")?this.findPosParam(r,i,t):this.findOrReturn(i,a))}findPosParam(r,e,a){const t=a[e.path.substring(1)];if(!t)throw new l1(4001,!1);return t}findOrReturn(r,e){let a=0;for(const t of e){if(t.path===r.path)return e.splice(a),t;a++}return r}}const F_={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function vS1(c,r,e,a,t){const i=k_(c,r,e);return i.matched?(a=function Uk1(c,r){return c.providers&&!c._injector&&(c._injector=jo(c.providers,r,`Route: ${c.path}`)),c._injector??r}(r,a),function mS1(c,r,e,a){const t=r.canMatch;return t&&0!==t.length?T1(t.map(l=>{const d=Ha(l,c);return v8(function tS1(c){return c&&dt(c.canMatch)}(d)?d.canMatch(r,e):D3(c,()=>d(r,e)))})).pipe(Ca(),RS()):T1(!0)}(a,r,e).pipe(J1(l=>!0===l?i:{...F_}))):T1(i)}function k_(c,r,e){if("**"===r.path)return function HS1(c){return{matched:!0,parameters:c.length>0?tS(c).parameters:{},consumedSegments:c,remainingSegments:[],positionalParamSegments:{}}}(e);if(""===r.path)return"full"===r.pathMatch&&(c.hasChildren()||e.length>0)?{...F_}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const t=(r.matcher||JF1)(e,c,r);if(!t)return{...F_};const i={};Object.entries(t.posParams??{}).forEach(([d,u])=>{i[d]=u.path});const l=t.consumed.length>0?{...i,...t.consumed[t.consumed.length-1].parameters}:i;return{matched:!0,consumedSegments:t.consumed,remainingSegments:e.slice(t.consumed.length),parameters:l,positionalParamSegments:t.posParams??{}}}function BS(c,r,e,a){return e.length>0&&function VS1(c,r,e){return e.some(a=>Ds(c,r,a)&&Y0(a)!==d2)}(c,e,a)?{segmentGroup:new Q2(r,zS1(a,new Q2(e,c.children))),slicedSegments:[]}:0===e.length&&function MS1(c,r,e){return e.some(a=>Ds(c,r,a))}(c,e,a)?{segmentGroup:new Q2(c.segments,CS1(c,e,a,c.children)),slicedSegments:e}:{segmentGroup:new Q2(c.segments,c.children),slicedSegments:e}}function CS1(c,r,e,a){const t={};for(const i of e)if(Ds(c,r,i)&&!a[Y0(i)]){const l=new Q2([],{});t[Y0(i)]=l}return{...a,...t}}function zS1(c,r){const e={};e[d2]=r;for(const a of c)if(""===a.path&&Y0(a)!==d2){const t=new Q2([],{});e[Y0(a)]=t}return e}function Ds(c,r,e){return(!(c.hasChildren()||r.length>0)||"full"!==e.pathMatch)&&""===e.path}class bS1{}class FS1{constructor(r,e,a,t,i,l,d){this.injector=r,this.configLoader=e,this.rootComponentType=a,this.config=t,this.urlTree=i,this.paramsInheritanceStrategy=l,this.urlSerializer=d,this.applyRedirects=new gS1(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(r){return new l1(4002,`'${r.segmentGroup}'`)}recognize(){const r=BS(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(r).pipe(J1(e=>{const a=new z_([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},d2,this.rootComponentType,null,{}),t=new u0(a,e),i=new xS("",t),l=function vk1(c,r,e=null,a=null){return pS(_S(c),r,e,a)}(a,[],this.urlTree.queryParams,this.urlTree.fragment);return l.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(l),this.inheritParamsAndData(i._root,null),{state:i,tree:l}}))}match(r){return this.processSegmentGroup(this.injector,this.config,r,d2).pipe(da(a=>{if(a instanceof w_)return this.urlTree=a.urlTree,this.match(a.urlTree.root);throw a instanceof x_?this.noMatchError(a):a}))}inheritParamsAndData(r,e){const a=r.value,t=C_(a,e,this.paramsInheritanceStrategy);a.params=Object.freeze(t.params),a.data=Object.freeze(t.data),r.children.forEach(i=>this.inheritParamsAndData(i,a))}processSegmentGroup(r,e,a,t){return 0===a.segments.length&&a.hasChildren()?this.processChildren(r,e,a):this.processSegment(r,e,a,a.segments,t,!0).pipe(J1(i=>i instanceof u0?[i]:[]))}processChildren(r,e,a){const t=[];for(const i of Object.keys(a.children))"primary"===i?t.unshift(i):t.push(i);return k4(t).pipe(o8(i=>{const l=a.children[i],d=function Gk1(c,r){const e=c.filter(a=>Y0(a)===r);return e.push(...c.filter(a=>Y0(a)!==r)),e}(e,i);return this.processSegmentGroup(r,d,l,i)}),function ZF1(c,r){return i4(function WF1(c,r,e,a,t){return(i,l)=>{let d=e,u=r,p=0;i.subscribe(_2(l,z=>{const x=p++;u=d?c(u,z,x):(d=!0,z),a&&l.next(u)},t&&(()=>{d&&l.next(u),l.complete()})))}}(c,r,arguments.length>=2,!0))}((i,l)=>(i.push(...l),i)),fa(null),function KF1(c,r){const e=arguments.length>=2;return a=>a.pipe(c?d0((t,i)=>c(t,i,a)):s6,l_(1),e?fa(r):aS(()=>new Xr))}(),n3(i=>{if(null===i)return za(a);const l=OS(i);return function kS1(c){c.sort((r,e)=>r.value.outlet===d2?-1:e.value.outlet===d2?1:r.value.outlet.localeCompare(e.value.outlet))}(l),T1(l)}))}processSegment(r,e,a,t,i,l){return k4(e).pipe(o8(d=>this.processSegmentAgainstRoute(d._injector??r,e,d,a,t,i,l).pipe(da(u=>{if(u instanceof x_)return T1(null);throw u}))),g8(d=>!!d),da(d=>{if(PS(d))return function yS1(c,r,e){return 0===r.length&&!c.children[e]}(a,t,i)?T1(new bS1):za(a);throw d}))}processSegmentAgainstRoute(r,e,a,t,i,l,d){return function LS1(c,r,e,a){return!!(Y0(c)===a||a!==d2&&Ds(r,e,c))&&k_(r,c,e).matched}(a,t,i,l)?void 0===a.redirectTo?this.matchSegmentAgainstRoute(r,t,a,i,l):this.allowRedirects&&d?this.expandSegmentAgainstRouteUsingRedirect(r,t,e,a,i,l):za(t):za(t)}expandSegmentAgainstRouteUsingRedirect(r,e,a,t,i,l){const{matched:d,consumedSegments:u,positionalParamSegments:p,remainingSegments:z}=k_(e,t,i);if(!d)return za(e);t.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const x=this.applyRedirects.applyRedirectCommands(u,t.redirectTo,p);return this.applyRedirects.lineralizeSegments(t,x).pipe(n3(E=>this.processSegment(r,a,e,E.concat(z),l,!1)))}matchSegmentAgainstRoute(r,e,a,t,i){const l=vS1(e,a,t,r);return"**"===a.path&&(e.children={}),l.pipe(z3(d=>d.matched?this.getChildConfig(r=a._injector??r,a,t).pipe(z3(({routes:u})=>{const p=a._loadedInjector??r,{consumedSegments:z,remainingSegments:x,parameters:E}=d,P=new z_(z,E,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function NS1(c){return c.data||{}}(a),Y0(a),a.component??a._loadedComponent??null,a,function DS1(c){return c.resolve||{}}(a)),{segmentGroup:Y,slicedSegments:Z}=BS(e,z,x,u);if(0===Z.length&&Y.hasChildren())return this.processChildren(p,u,Y).pipe(J1(J=>null===J?null:new u0(P,J)));if(0===u.length&&0===Z.length)return T1(new u0(P,[]));const K=Y0(a)===i;return this.processSegment(p,u,Y,Z,K?d2:i,!0).pipe(J1(J=>new u0(P,J instanceof u0?[J]:[])))})):za(e)))}getChildConfig(r,e,a){return e.children?T1({routes:e.children,injector:r}):e.loadChildren?void 0!==e._loadedRoutes?T1({routes:e._loadedRoutes,injector:e._loadedInjector}):function hS1(c,r,e,a){const t=r.canLoad;return void 0===t||0===t.length?T1(!0):T1(t.map(l=>{const d=Ha(l,c);return v8(function eS1(c){return c&&dt(c.canLoad)}(d)?d.canLoad(r,e):D3(c,()=>d(r,e)))})).pipe(Ca(),RS())}(r,e,a).pipe(n3(t=>t?this.configLoader.loadChildren(r,e).pipe(s3(i=>{e._loadedRoutes=i.routes,e._loadedInjector=i.injector})):function pS1(c){return vs(DS(!1,L6.GuardRejected))}())):T1({routes:[],injector:r})}}function SS1(c){const r=c.value.routeConfig;return r&&""===r.path}function OS(c){const r=[],e=new Set;for(const a of c){if(!SS1(a)){r.push(a);continue}const t=r.find(i=>a.value.routeConfig===i.value.routeConfig);void 0!==t?(t.children.push(...a.children),e.add(t)):r.push(a)}for(const a of e){const t=OS(a.children);r.push(new u0(a.value,t))}return r.filter(a=>!e.has(a))}function IS(c){const r=c.children.map(e=>IS(e)).flat();return[c,...r]}function S_(c){return z3(r=>{const e=c(r);return e?k4(e).pipe(J1(()=>r)):T1(r)})}let US=(()=>{class c{buildTitle(e){let a,t=e.root;for(;void 0!==t;)a=this.getResolvedTitleForRoute(t)??a,t=t.children.find(i=>i.outlet===d2);return a}getResolvedTitleForRoute(e){return e.data[et]}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:()=>i1(BS1),providedIn:"root"})}return c})(),BS1=(()=>{class c extends US{constructor(e){super(),this.title=e}updateTitle(e){const a=this.buildTitle(e);void 0!==a&&this.title.setTitle(a)}static#e=this.\u0275fac=function(a){return new(a||c)(f1(VF))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const Va=new H1("",{providedIn:"root",factory:()=>({})}),Ma=new H1("");let N_=(()=>{class c{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=i1($x)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return T1(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const a=v8(e.loadComponent()).pipe(J1(jS),s3(i=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=i}),Or(()=>{this.componentLoaders.delete(e)})),t=new eS(a,()=>new G2).pipe(s_());return this.componentLoaders.set(e,t),t}loadChildren(e,a){if(this.childrenLoaders.get(a))return this.childrenLoaders.get(a);if(a._loadedRoutes)return T1({routes:a._loadedRoutes,injector:a._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(a);const i=function OS1(c,r,e,a){return v8(c.loadChildren()).pipe(J1(jS),n3(t=>t instanceof hy||Array.isArray(t)?T1(t):k4(r.compileModuleAsync(t))),J1(t=>{a&&a(c);let i,l,d=!1;return Array.isArray(t)?(l=t,!0):(i=t.create(e).injector,l=i.get(Ma,[],{optional:!0,self:!0}).flat()),{routes:l.map(b_),injector:i}}))}(a,this.compiler,e,this.onLoadEndListener).pipe(Or(()=>{this.childrenLoaders.delete(a)})),l=new eS(i,()=>new G2).pipe(s_());return this.childrenLoaders.set(a,l),l}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function jS(c){return function IS1(c){return c&&"object"==typeof c&&"default"in c}(c)?c.default:c}let D_=(()=>{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:()=>i1(US1),providedIn:"root"})}return c})(),US1=(()=>{class c{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,a){return e}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const $S=new H1(""),YS=new H1("");function jS1(c,r,e){const a=c.get(YS),t=c.get(O3);return c.get(z2).runOutsideAngular(()=>{if(!t.startViewTransition||a.skipNextTransition)return a.skipNextTransition=!1,Promise.resolve();let i;const l=new Promise(p=>{i=p}),d=t.startViewTransition(()=>(i(),function $S1(c){return new Promise(r=>{FL(r,{injector:c})})}(c))),{onViewTransitionCreated:u}=a;return u&&D3(c,()=>u({transition:d,from:r,to:e})),l})}let Ts=(()=>{class c{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new G2,this.transitionAbortSubject=new G2,this.configLoader=i1(N_),this.environmentInjector=i1(p3),this.urlSerializer=i1(ma),this.rootContexts=i1(ot),this.location=i1(t8),this.inputBindingEnabled=null!==i1(ks,{optional:!0}),this.titleStrategy=i1(US),this.options=i1(Va,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=i1(D_),this.createViewTransition=i1($S,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>T1(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=t=>this.events.next(new kk1(t)),this.configLoader.onLoadStartListener=t=>this.events.next(new Fk1(t))}complete(){this.transitions?.complete()}handleNavigationRequest(e){const a=++this.navigationId;this.transitions?.next({...this.transitions.value,...e,id:a})}setupNavigations(e,a,t){return this.transitions=new a3({id:0,currentUrlTree:a,currentRawUrl:a,extractedUrl:this.urlHandlingStrategy.extract(a),urlAfterRedirects:this.urlHandlingStrategy.extract(a),rawUrl:a,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:it,restoredState:null,currentSnapshot:t.snapshot,targetSnapshot:null,currentRouterState:t,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(d0(i=>0!==i.id),J1(i=>({...i,extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),z3(i=>{let l=!1,d=!1;return T1(i).pipe(z3(u=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",L6.SupersededByNewNavigation),U6;this.currentTransition=i,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const p=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!p&&"reload"!==(u.extras.onSameUrlNavigation??e.onSameUrlNavigation)){const x="";return this.events.next(new ga(u.id,this.urlSerializer.serialize(u.rawUrl),x,ws.IgnoredSameUrlNavigation)),u.resolve(null),U6}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return T1(u).pipe(z3(x=>{const E=this.transitions?.getValue();return this.events.next(new xs(x.id,this.urlSerializer.serialize(x.extractedUrl),x.source,x.restoredState)),E!==this.transitions?.getValue()?U6:Promise.resolve(x)}),function TS1(c,r,e,a,t,i){return n3(l=>function xS1(c,r,e,a,t,i,l="emptyOnly"){return new FS1(c,r,e,a,t,l,i).recognize()}(c,r,e,a,l.extractedUrl,t,i).pipe(J1(({state:d,tree:u})=>({...l,targetSnapshot:d,urlAfterRedirects:u}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),s3(x=>{i.targetSnapshot=x.targetSnapshot,i.urlAfterRedirects=x.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:x.urlAfterRedirects};const E=new VS(x.id,this.urlSerializer.serialize(x.extractedUrl),this.urlSerializer.serialize(x.urlAfterRedirects),x.targetSnapshot);this.events.next(E)}));if(p&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){const{id:x,extractedUrl:E,source:P,restoredState:Y,extras:Z}=u,K=new xs(x,this.urlSerializer.serialize(E),P,Y);this.events.next(K);const J=bS(this.rootComponentType).snapshot;return this.currentTransition=i={...u,targetSnapshot:J,urlAfterRedirects:E,extras:{...Z,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=E,T1(i)}{const x="";return this.events.next(new ga(u.id,this.urlSerializer.serialize(u.extractedUrl),x,ws.IgnoredByUrlHandlingStrategy)),u.resolve(null),U6}}),s3(u=>{const p=new yk1(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(p)}),J1(u=>(this.currentTransition=i={...u,guards:Zk1(u.targetSnapshot,u.currentSnapshot,this.rootContexts)},i)),function iS1(c,r){return n3(e=>{const{targetSnapshot:a,currentSnapshot:t,guards:{canActivateChecks:i,canDeactivateChecks:l}}=e;return 0===l.length&&0===i.length?T1({...e,guardsResult:!0}):function oS1(c,r,e,a){return k4(c).pipe(n3(t=>function uS1(c,r,e,a,t){const i=r&&r.routeConfig?r.routeConfig.canDeactivate:null;return i&&0!==i.length?T1(i.map(d=>{const u=st(r)??t,p=Ha(d,u);return v8(function rS1(c){return c&&dt(c.canDeactivate)}(p)?p.canDeactivate(c,r,e,a):D3(u,()=>p(c,r,e,a))).pipe(g8())})).pipe(Ca()):T1(!0)}(t.component,t.route,e,r,a)),g8(t=>!0!==t,!0))}(l,a,t,c).pipe(n3(d=>d&&function Xk1(c){return"boolean"==typeof c}(d)?function nS1(c,r,e,a){return k4(r).pipe(o8(t=>sa(function lS1(c,r){return null!==c&&r&&r(new Sk1(c)),T1(!0)}(t.route.parent,a),function sS1(c,r){return null!==c&&r&&r(new Dk1(c)),T1(!0)}(t.route,a),function dS1(c,r,e){const a=r[r.length-1],i=r.slice(0,r.length-1).reverse().map(l=>function Kk1(c){const r=c.routeConfig?c.routeConfig.canActivateChild:null;return r&&0!==r.length?{node:c,guards:r}:null}(l)).filter(l=>null!==l).map(l=>us(()=>T1(l.guards.map(u=>{const p=st(l.node)??e,z=Ha(u,p);return v8(function aS1(c){return c&&dt(c.canActivateChild)}(z)?z.canActivateChild(a,c):D3(p,()=>z(a,c))).pipe(g8())})).pipe(Ca())));return T1(i).pipe(Ca())}(c,t.path,e),function fS1(c,r,e){const a=r.routeConfig?r.routeConfig.canActivate:null;if(!a||0===a.length)return T1(!0);const t=a.map(i=>us(()=>{const l=st(r)??e,d=Ha(i,l);return v8(function cS1(c){return c&&dt(c.canActivate)}(d)?d.canActivate(r,c):D3(l,()=>d(r,c))).pipe(g8())}));return T1(t).pipe(Ca())}(c,t.route,e))),g8(t=>!0!==t,!0))}(a,i,c,r):T1(d)),J1(d=>({...e,guardsResult:d})))})}(this.environmentInjector,u=>this.events.next(u)),s3(u=>{if(i.guardsResult=u.guardsResult,_a(u.guardsResult))throw NS(0,u.guardsResult);const p=new bk1(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(p)}),d0(u=>!!u.guardsResult||(this.cancelNavigationTransition(u,"",L6.GuardRejected),!1)),S_(u=>{if(u.guards.canActivateChecks.length)return T1(u).pipe(s3(p=>{const z=new xk1(p.id,this.urlSerializer.serialize(p.extractedUrl),this.urlSerializer.serialize(p.urlAfterRedirects),p.targetSnapshot);this.events.next(z)}),z3(p=>{let z=!1;return T1(p).pipe(function ES1(c,r){return n3(e=>{const{targetSnapshot:a,guards:{canActivateChecks:t}}=e;if(!t.length)return T1(e);const i=new Set(t.map(u=>u.route)),l=new Set;for(const u of i)if(!l.has(u))for(const p of IS(u))l.add(p);let d=0;return k4(l).pipe(o8(u=>i.has(u)?function AS1(c,r,e,a){const t=c.routeConfig,i=c._resolve;return void 0!==t?.title&&!FS(t)&&(i[et]=t.title),function PS1(c,r,e,a){const t=f_(c);if(0===t.length)return T1({});const i={};return k4(t).pipe(n3(l=>function RS1(c,r,e,a){const t=st(r)??a,i=Ha(c,t);return v8(i.resolve?i.resolve(r,e):D3(t,()=>i(r,e)))}(c[l],r,e,a).pipe(g8(),s3(d=>{i[l]=d}))),l_(1),Hs(i),da(l=>PS(l)?U6:vs(l)))}(i,c,r,a).pipe(J1(l=>(c._resolvedData=l,c.data=C_(c,c.parent,e).resolve,null)))}(u,a,c,r):(u.data=C_(u,u.parent,c).resolve,T1(void 0))),s3(()=>d++),l_(1),n3(u=>d===l.size?T1(e):U6))})}(this.paramsInheritanceStrategy,this.environmentInjector),s3({next:()=>z=!0,complete:()=>{z||this.cancelNavigationTransition(p,"",L6.NoDataFromResolver)}}))}),s3(p=>{const z=new wk1(p.id,this.urlSerializer.serialize(p.extractedUrl),this.urlSerializer.serialize(p.urlAfterRedirects),p.targetSnapshot);this.events.next(z)}))}),S_(u=>{const p=z=>{const x=[];z.routeConfig?.loadComponent&&!z.routeConfig._loadedComponent&&x.push(this.configLoader.loadComponent(z.routeConfig).pipe(s3(E=>{z.component=E}),J1(()=>{})));for(const E of z.children)x.push(...p(E));return x};return gs(p(u.targetSnapshot.root)).pipe(fa(null),M6(1))}),S_(()=>this.afterPreactivation()),z3(()=>{const{currentSnapshot:u,targetSnapshot:p}=i,z=this.createViewTransition?.(this.environmentInjector,u.root,p.root);return z?k4(z).pipe(J1(()=>i)):T1(i)}),J1(u=>{const p=function Rk1(c,r,e){const a=nt(c,r._root,e?e._root:void 0);return new yS(a,r)}(e.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=i={...u,targetRouterState:p},this.currentNavigation.targetRouterState=p,i}),s3(()=>{this.events.next(new p_)}),((c,r,e,a)=>J1(t=>(new Wk1(r,t.targetRouterState,t.currentRouterState,e,a).activate(c),t)))(this.rootContexts,e.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),M6(1),s3({next:u=>{l=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new $0(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{l=!0}}),Cs(this.transitionAbortSubject.pipe(s3(u=>{throw u}))),Or(()=>{!l&&!d&&this.cancelNavigationTransition(i,"",L6.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation=null,this.currentTransition=null)}),da(u=>{if(d=!0,TS(u))this.events.next(new pa(i.id,this.urlSerializer.serialize(i.extractedUrl),u.message,u.cancellationCode)),function Ik1(c){return TS(c)&&_a(c.url)}(u)?this.events.next(new g_(u.url)):i.resolve(!1);else{this.events.next(new Fs(i.id,this.urlSerializer.serialize(i.extractedUrl),u,i.targetSnapshot??void 0));try{i.resolve(e.errorHandler(u))}catch(p){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(p)}}return U6}))}))}cancelNavigationTransition(e,a,t){const i=new pa(e.id,this.urlSerializer.serialize(e.extractedUrl),a,t);this.events.next(i),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function YS1(c){return c!==it}let GS1=(()=>{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:()=>i1(WS1),providedIn:"root"})}return c})();class qS1{shouldDetach(r){return!1}store(r,e){}shouldAttach(r){return!1}retrieve(r){return null}shouldReuseRoute(r,e){return r.routeConfig===e.routeConfig}}let WS1=(()=>{class c extends qS1{static#e=this.\u0275fac=(()=>{let e;return function(t){return(e||(e=b4(c)))(t||c)}})();static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),GS=(()=>{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:()=>i1(ZS1),providedIn:"root"})}return c})(),ZS1=(()=>{class c extends GS{constructor(){super(...arguments),this.location=i1(t8),this.urlSerializer=i1(ma),this.options=i1(Va,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=i1(D_),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new ha,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=bS(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(a=>{"popstate"===a.type&&e(a.url,a.state)})}handleRouterEvent(e,a){if(e instanceof xs)this.stateMemento=this.createStateMemento();else if(e instanceof ga)this.rawUrlTree=a.initialUrl;else if(e instanceof VS){if("eager"===this.urlUpdateStrategy&&!a.extras.skipLocationChange){const t=this.urlHandlingStrategy.merge(a.finalUrl,a.initialUrl);this.setBrowserUrl(t,a)}}else e instanceof p_?(this.currentUrlTree=a.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(a.finalUrl,a.initialUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a))):e instanceof pa&&(e.code===L6.GuardRejected||e.code===L6.NoDataFromResolver)?this.restoreHistory(a):e instanceof Fs?this.restoreHistory(a,!0):e instanceof $0&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,a){const t=this.urlSerializer.serialize(e);if(this.location.isCurrentPathEqualTo(t)||a.extras.replaceUrl){const l={...a.extras.state,...this.generateNgRouterState(a.id,this.browserPageId)};this.location.replaceState(t,"",l)}else{const i={...a.extras.state,...this.generateNgRouterState(a.id,this.browserPageId+1)};this.location.go(t,"",i)}}restoreHistory(e,a=!1){if("computed"===this.canceledNavigationResolution){const i=this.currentPageId-this.browserPageId;0!==i?this.location.historyGo(i):this.currentUrlTree===e.finalUrl&&0===i&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(a&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,a){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:a}:{navigationId:e}}static#e=this.\u0275fac=(()=>{let e;return function(t){return(e||(e=b4(c)))(t||c)}})();static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();var ut=function(c){return c[c.COMPLETE=0]="COMPLETE",c[c.FAILED=1]="FAILED",c[c.REDIRECTING=2]="REDIRECTING",c}(ut||{});function qS(c,r){c.events.pipe(d0(e=>e instanceof $0||e instanceof pa||e instanceof Fs||e instanceof ga),J1(e=>e instanceof $0||e instanceof ga?ut.COMPLETE:e instanceof pa&&(e.code===L6.Redirect||e.code===L6.SupersededByNewNavigation)?ut.REDIRECTING:ut.FAILED),d0(e=>e!==ut.REDIRECTING),M6(1)).subscribe(()=>{r()})}function KS1(c){throw c}const QS1={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},JS1={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Q1=(()=>{class c{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.isNgZoneEnabled=!1,this.console=i1(Tx),this.stateManager=i1(GS),this.options=i1(Va,{optional:!0})||{},this.pendingTasks=i1(Ke),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=i1(Ts),this.urlSerializer=i1(ma),this.location=i1(t8),this.urlHandlingStrategy=i1(D_),this._events=new G2,this.errorHandler=this.options.errorHandler||KS1,this.navigated=!1,this.routeReuseStrategy=i1(GS1),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=i1(Ma,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!i1(ks,{optional:!0}),this.eventsSubscription=new c3,this.isNgZoneEnabled=i1(z2)instanceof z2&&z2.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const e=this.navigationTransitions.events.subscribe(a=>{try{const t=this.navigationTransitions.currentTransition,i=this.navigationTransitions.currentNavigation;if(null!==t&&null!==i)if(this.stateManager.handleRouterEvent(a,i),a instanceof pa&&a.code!==L6.Redirect&&a.code!==L6.SupersededByNewNavigation)this.navigated=!0;else if(a instanceof $0)this.navigated=!0;else if(a instanceof g_){const l=this.urlHandlingStrategy.merge(a.url,t.currentRawUrl),d={info:t.extras.info,skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||YS1(t.source)};this.scheduleNavigation(l,it,null,d,{resolve:t.resolve,reject:t.reject,promise:t.promise})}(function eN1(c){return!(c instanceof p_||c instanceof g_)})(a)&&this._events.next(a)}catch(t){this.navigationTransitions.transitionAbortSubject.next(t)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),it,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,a)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",a)},0)})}navigateToSyncWithBrowser(e,a,t){const i={replaceUrl:!0},l=t?.navigationId?t:null;if(t){const u={...t};delete u.navigationId,delete u.\u0275routerPageId,0!==Object.keys(u).length&&(i.state=u)}const d=this.parseUrl(e);this.scheduleNavigation(d,a,l,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(b_),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(e,a={}){const{relativeTo:t,queryParams:i,fragment:l,queryParamsHandling:d,preserveFragment:u}=a,p=u?this.currentUrlTree.fragment:l;let x,z=null;switch(d){case"merge":z={...this.currentUrlTree.queryParams,...i};break;case"preserve":z=this.currentUrlTree.queryParams;break;default:z=i||null}null!==z&&(z=this.removeEmptyProps(z));try{x=_S(t?t.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof e[0]||!e[0].startsWith("/"))&&(e=[]),x=this.currentUrlTree.root}return pS(x,e,z,p??null)}navigateByUrl(e,a={skipLocationChange:!1}){const t=_a(e)?e:this.parseUrl(e),i=this.urlHandlingStrategy.merge(t,this.rawUrlTree);return this.scheduleNavigation(i,it,null,a)}navigate(e,a={skipLocationChange:!1}){return function XS1(c){for(let r=0;r(null!=i&&(a[t]=i),a),{})}scheduleNavigation(e,a,t,i,l){if(this.disposed)return Promise.resolve(!1);let d,u,p;l?(d=l.resolve,u=l.reject,p=l.promise):p=new Promise((x,E)=>{d=x,u=E});const z=this.pendingTasks.add();return qS(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(z))}),this.navigationTransitions.handleNavigationRequest({source:a,restoredState:t,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:i,resolve:d,reject:u,promise:p,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),p.catch(x=>Promise.reject(x))}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();class WS{}let rN1=(()=>{class c{constructor(e,a,t,i,l){this.router=e,this.injector=t,this.preloadingStrategy=i,this.loader=l}setUpPreloading(){this.subscription=this.router.events.pipe(d0(e=>e instanceof $0),o8(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,a){const t=[];for(const i of a){i.providers&&!i._injector&&(i._injector=jo(i.providers,e,`Route: ${i.path}`));const l=i._injector??e,d=i._loadedInjector??l;(i.loadChildren&&!i._loadedRoutes&&void 0===i.canLoad||i.loadComponent&&!i._loadedComponent)&&t.push(this.preloadConfig(l,i)),(i.children||i._loadedRoutes)&&t.push(this.processRoutes(d,i.children??i._loadedRoutes))}return k4(t).pipe(na())}preloadConfig(e,a){return this.preloadingStrategy.preload(a,()=>{let t;t=a.loadChildren&&void 0===a.canLoad?this.loader.loadChildren(e,a):T1(null);const i=t.pipe(n3(l=>null===l?T1(void 0):(a._loadedRoutes=l.routes,a._loadedInjector=l.injector,this.processRoutes(l.injector??e,l.routes))));return a.loadComponent&&!a._loadedComponent?k4([i,this.loader.loadComponent(a)]).pipe(na()):i})}static#e=this.\u0275fac=function(a){return new(a||c)(f1(Q1),f1($x),f1(p3),f1(WS),f1(N_))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const E_=new H1("");let ZS=(()=>{class c{constructor(e,a,t,i,l={}){this.urlSerializer=e,this.transitions=a,this.viewportScroller=t,this.zone=i,this.options=l,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},l.scrollPositionRestoration||="disabled",l.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof xs?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof $0?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof ga&&e.code===ws.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof MS&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,a){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new MS(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,a))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(a){!function qM(){throw new Error("invalid")}()};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();function G0(c,r){return{\u0275kind:c,\u0275providers:r}}function QS(){const c=i1(P3);return r=>{const e=c.get(e8);if(r!==e.components[0])return;const a=c.get(Q1),t=c.get(JS);1===c.get(A_)&&a.initialNavigation(),c.get(XS,null,u2.Optional)?.setUpPreloading(),c.get(E_,null,u2.Optional)?.init(),a.resetRootComponentType(e.componentTypes[0]),t.closed||(t.next(),t.complete(),t.unsubscribe())}}const JS=new H1("",{factory:()=>new G2}),A_=new H1("",{providedIn:"root",factory:()=>1}),XS=new H1("");function nN1(c){return G0(0,[{provide:XS,useExisting:rN1},{provide:WS,useExisting:c}])}function lN1(c){return G0(9,[{provide:$S,useValue:jS1},{provide:YS,useValue:{skipNextTransition:!!c?.skipInitialTransition,...c}}])}const eN=new H1("ROUTER_FORROOT_GUARD"),fN1=[t8,{provide:ma,useClass:d_},Q1,ot,{provide:j3,useFactory:function KS(c){return c.routerState.root},deps:[Q1]},N_,[]];let cN=(()=>{class c{constructor(e){}static forRoot(e,a){return{ngModule:c,providers:[fN1,[],{provide:Ma,multi:!0,useValue:e},{provide:eN,useFactory:mN1,deps:[[Q1,new B2,new Z5]]},{provide:Va,useValue:a||{}},a?.useHash?{provide:r8,useClass:WL1}:{provide:r8,useClass:Dw},{provide:E_,useFactory:()=>{const c=i1(fb1),r=i1(z2),e=i1(Va),a=i1(Ts),t=i1(ma);return e.scrollOffset&&c.setOffset(e.scrollOffset),new ZS(t,a,c,r,e)}},a?.preloadingStrategy?nN1(a.preloadingStrategy).\u0275providers:[],a?.initialNavigation?_N1(a):[],a?.bindToComponentInputs?G0(8,[kS,{provide:ks,useExisting:kS}]).\u0275providers:[],a?.enableViewTransitions?lN1().\u0275providers:[],[{provide:aN,useFactory:QS},{provide:Eh,multi:!0,useExisting:aN}]]}}static forChild(e){return{ngModule:c,providers:[{provide:Ma,multi:!0,useValue:e}]}}static#e=this.\u0275fac=function(a){return new(a||c)(f1(eN,8))};static#c=this.\u0275mod=M4({type:c});static#a=this.\u0275inj=g4({})}return c})();function mN1(c){return"guarded"}function _N1(c){return["disabled"===c.initialNavigation?G0(3,[{provide:_n,multi:!0,useFactory:()=>{const r=i1(Q1);return()=>{r.setUpLocationChangeListener()}}},{provide:A_,useValue:2}]).\u0275providers:[],"enabledBlocking"===c.initialNavigation?G0(2,[{provide:A_,useValue:0},{provide:_n,multi:!0,deps:[P3],useFactory:r=>{const e=r.get(GL1,Promise.resolve());return()=>e.then(()=>new Promise(a=>{const t=r.get(Q1),i=r.get(JS);qS(t,()=>{a(!0)}),r.get(Ts).afterPreactivation=()=>(a(!0),i.closed?T1(void 0):i),t.initialNavigation()}))}}]).\u0275providers:[]]}const aN=new H1("");function v2(c,r){const e="object"==typeof r;return new Promise((a,t)=>{let l,i=!1;c.subscribe({next:d=>{l=d,i=!0},error:t,complete:()=>{i?a(l):e?a(r.defaultValue):t(new Xr)}})})}const m1={BASE_URL:"",LEGACY_PREFIX:"/ux",PRODUCT_CATALOG:"/catalog",SERVICE:"/service",RESOURCE:"/resource",PRODUCT_SPEC:"/productSpecification",SERVICE_SPEC:"/serviceSpecification",RESOURCE_SPEC:"/resourceSpecification",ACCOUNT:"/account",SHOPPING_CART:"/shoppingCart",INVENTORY:"/inventory",PRODUCT_ORDER:"/ordering",PRODUCT_LIMIT:6,CATALOG_LIMIT:8,INVENTORY_LIMIT:6,INVENTORY_RES_LIMIT:8,INVENTORY_SERV_LIMIT:8,PROD_SPEC_LIMIT:6,SERV_SPEC_LIMIT:6,RES_SPEC_LIMIT:6,ORDER_LIMIT:6,CATEGORY_LIMIT:100,SIOP:!0,TAX_RATE:20,CHAT_API:"https://eng-gpt.dome-marketplace-dev.org/predict",SIOP_INFO:{enabled:!1,isRedirection:!1,pollPath:"",pollCertPath:"",clientID:"",callbackURL:"",verifierHost:"",verifierQRCodePath:"",requestUri:""},MATOMO_TRACKER_URL:"",MATOMO_SITE_ID:"",TICKETING_SYSTEM_URL:"",KNOWLEDGE_BASE_URL:"",SEARCH_ENABLED:!0,PURCHASE_ENABLED:!1,DOME_TRUST_LINK:"https://dome-certification.dome-marketplace.org",DOME_ABOUT_LINK:"",DOME_REGISTER_LINK:"",DOME_PUBLISH_LINK:""};class p1{static#e=this.BASE_URL=m1.BASE_URL;static#c=this.API_PRODUCT=m1.PRODUCT_CATALOG;static#a=this.PRODUCT_LIMIT=m1.PRODUCT_LIMIT;static#r=this.CATALOG_LIMIT=m1.CATALOG_LIMIT;static#t=this.CATEGORY_LIMIT=m1.CATEGORY_LIMIT;constructor(r,e){this.http=r,this.localStorage=e}getProducts(r,e){let a=`${p1.BASE_URL}${p1.API_PRODUCT}/productOffering?limit=${p1.PRODUCT_LIMIT}&offset=${r}&lifecycleStatus=Launched`;return null!=e&&(a=a+"&keyword="+e),v2(this.http.get(a))}getProductsByCategory(r,e,a){let t="";for(let u=0;u0){for(let u=0;u0){for(let t=0;t0){for(let d=0;d{let i=function zN1(c){return c instanceof Date&&!isNaN(c)}(c)?+c-e.now():c;i<0&&(i=0);let l=0;return e.schedule(function(){t.closed||(t.next(l++),0<=a?this.schedule(void 0,a):t.complete())},i)})}class h0{static#e=this.BASE_URL=m1.BASE_URL;constructor(r,e){this.http=r,this.localStorage=e}getLogin(r){let e=`${h0.BASE_URL}/logintoken`,a={};return"local"!=r&&(a={headers:(new z6).set("Authorization","Bearer "+r)}),v2(this.http.get(e,a))}doLogin(){let r=`${h0.BASE_URL}/login`;console.log("-- login --"),this.http.get(r,{observe:"response"}).subscribe({next:e=>console.log(e),error:e=>console.error(e),complete:()=>console.info("complete")})}logout(){let r=`${h0.BASE_URL}/logout`;return console.log("-- logout --"),v2(this.http.get(r))}static#c=this.\u0275fac=function(e){return new(e||h0)(f1(V3),f1(A1))};static#a=this.\u0275prov=g1({token:h0,factory:h0.\u0275fac,providedIn:"root"})}let rN=(()=>{class c{constructor(e,a,t){this.localStorage=e,this.api=a,this.router=t}startInterval(e,a){this.intervalObservable=function VN1(c=0,r=P_){return c<0&&(c=0),As(c,c,r)}(e),console.log("start interval"),console.log(e),this.intervalSubscription=this.intervalObservable.subscribe(()=>{console.log("login subscription"),console.log(a.expire-s2().unix()),console.log(a.expire-s2().unix()<=5),console.log(a.expire-s2().unix()-5);let t=this.localStorage.getObject("login_items");console.log("usuario antes"),console.log(t),0==m1.SIOP_INFO.enabled?this.api.getLogin(t.token).then(i=>{this.stopInterval(),this.localStorage.setObject("login_items",{id:i.id,user:i.username,email:i.email,token:i.accessToken,expire:i.expire,partyId:t.partyId,roles:i.roles,organizations:t.organizations,logged_as:t.logged_as}),console.log("usuario despues"),console.log(this.localStorage.getObject("login_items")),this.startInterval(1e3*(i.expire-s2().unix()-4),i)}):(this.stopInterval(),this.localStorage.setObject("login_items",{}),this.api.logout().catch(i=>{console.log("Something happened"),console.log(i)}),this.router.navigate(["/dashboard"]).then(()=>{console.log("LOGOUT MADE"),window.location.reload()}).catch(i=>{console.log("Something happened router"),console.log(i)}))})}stopInterval(){this.intervalSubscription&&(console.log("stop interval"),this.intervalSubscription.unsubscribe())}static#e=this.\u0275fac=function(a){return new(a||c)(f1(A1),f1(h0),f1(Q1))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();var $_={prefix:"fass",iconName:"arrow-right-from-bracket",icon:[512,512,["sign-out"],"f08b","M502.6 278.6L525.3 256l-22.6-22.6-128-128L352 82.7 306.7 128l22.6 22.6L402.7 224 192 224l-32 0 0 64 32 0 210.7 0-73.4 73.4L306.7 384 352 429.3l22.6-22.6 128-128zM160 96l32 0 0-64-32 0L32 32 0 32 0 64 0 448l0 32 32 0 128 0 32 0 0-64-32 0-96 0L64 96l96 0z"]},mT={prefix:"fass",iconName:"users",icon:[640,512,[],"f0c0","M144 0a80 80 0 1 1 0 160A80 80 0 1 1 144 0zM512 0a80 80 0 1 1 0 160A80 80 0 1 1 512 0zM48 192H196c-2.6 10.2-4 21-4 32c0 38.2 16.8 72.5 43.3 96H0L48 192zM640 320H404.7c26.6-23.5 43.3-57.8 43.3-96c0-11-1.4-21.8-4-32H592l48 128zM224 224a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zM464 352l48 160H128l48-160H464z"]},aE={prefix:"fass",iconName:"user",icon:[448,512,[128100,62144],"f007","M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zM448 512L384 304H64L0 512H448z"]},La={prefix:"fass",iconName:"address-card",icon:[576,512,[62140,"contact-card","vcard"],"f2bb","M576 32H0V480H576V32zM256 288l32 96H64l32-96H256zM112 192a64 64 0 1 1 128 0 64 64 0 1 1 -128 0zm256-32H496h16v32H496 368 352V160h16zm0 64H496h16v32H496 368 352V224h16zm0 64H496h16v32H496 368 352V288h16z"]},jR={prefix:"fass",iconName:"clipboard-check",icon:[384,512,[],"f46c","M192 0c-41.8 0-77.4 26.7-90.5 64H0V512H384V64H282.5C269.4 26.7 233.8 0 192 0zm0 64a32 32 0 1 1 0 64 32 32 0 1 1 0-64zM297 273L185 385l-17 17-17-17L87 321l-17-17L104 270.1l17 17 47 47 95-95 17-17L313.9 256l-17 17z"]},ya={prefix:"fass",iconName:"cart-shopping",icon:[576,512,[128722,"shopping-cart"],"f07a","M24 0H0V48H24 76.1l60.3 316.5 3.7 19.5H160 488h24V336H488 179.9l-9.1-48H496L576 32H122l-2.4-12.5L115.9 0H96 24zM176 512a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm336-48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0z"]},e9={prefix:"fass",iconName:"boxes-stacked",icon:[576,512,[62625,"boxes","boxes-alt"],"f468","M248 0H160V224H416V0H328V96H248V0zM104 256H0V512H288V256H184v96H104V256zM576 512V256H472v96H392V256H320V512H576z"]},g$={prefix:"fass",iconName:"gears",icon:[640,512,["cogs"],"f085","M125 8h70l10 48.1c13.8 5.2 26.5 12.7 37.5 22L285.6 64 320 123.4l-33.9 30.3c1.3 7.3 1.9 14.7 1.9 22.3s-.7 15.1-1.9 22.3L320 228.6 285.6 288l-43.1-14.2c-11.1 9.3-23.7 16.8-37.5 22L195 344H125l-10-48.1c-13.8-5.2-26.5-12.7-37.5-22L34.4 288 0 228.6l33.9-30.3C32.7 191.1 32 183.6 32 176s.7-15.1 1.9-22.3L0 123.4 34.4 64 77.5 78.2c11.1-9.3 23.7-16.8 37.5-22L125 8zm83 168a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM632 386.4l-47.8 9.8c-4.9 13.4-12 25.8-20.9 36.7l15 44.8L517.7 512l-30.9-34c-7.4 1.3-15 2-22.7 2s-15.4-.7-22.7-2l-30.9 34-60.6-34.4 15-44.8c-8.9-10.9-16-23.3-20.9-36.7L296 386.4V317.6l47.8-9.8c4.9-13.4 12-25.8 20.9-36.7l-15-44.8L410.3 192l30.9 34c7.4-1.3 15-2 22.7-2s15.4 .7 22.7 2l30.9-34 60.6 34.4-15 44.8c8.9 10.9 16 23.3 20.9 36.7l47.8 9.8v68.7zM464 400a48 48 0 1 0 0-96 48 48 0 1 0 0 96z"]},$p={prefix:"fass",iconName:"angles-left",icon:[512,512,[171,"angle-double-left"],"f100","M41.4 278.6L18.7 256l22.6-22.6 160-160L224 50.7 269.3 96l-22.6 22.6L109.3 256 246.6 393.4 269.3 416 224 461.3l-22.6-22.6-160-160zm192 0L210.7 256l22.6-22.6 160-160L416 50.7 461.3 96l-22.6 22.6L301.3 256 438.6 393.4 461.3 416 416 461.3l-22.6-22.6-160-160z"]},wY={prefix:"fass",iconName:"hand-holding-box",icon:[576,512,[],"f47b","M224 128V0H96V256H480V0H352V128L288 96l-64 32zM140 327L68.8 384H0V512H32 224 384h12.4l10.2-7 128-88 33-22.7-45.3-65.9-33 22.7-94.5 65H256V384h32 64 32V320H352 288 224 160 148.8l-8.8 7z"]},OY={prefix:"fass",iconName:"brain",icon:[512,512,[129504],"f5dc","M240 0V56 456v56H184c-28.9 0-52.7-21.9-55.7-50.1c-5.2 1.4-10.7 2.1-16.3 2.1c-35.3 0-64-28.7-64-64c0-7.4 1.3-14.6 3.6-21.2C21.4 367.4 0 338.2 0 304c0-31.9 18.7-59.5 45.8-72.3C37.1 220.8 32 207 32 192c0-30.7 21.6-56.3 50.4-62.6C80.8 123.9 80 118 80 112c0-29.9 20.6-55.1 48.3-62.1C131.3 21.9 155.1 0 184 0h56zm32 0h56c28.9 0 52.6 21.9 55.7 49.9c27.8 7 48.3 32.1 48.3 62.1c0 6-.8 11.9-2.4 17.4c28.8 6.2 50.4 31.9 50.4 62.6c0 15-5.1 28.8-13.8 39.7C493.3 244.5 512 272.1 512 304c0 34.2-21.4 63.4-51.6 74.8c2.3 6.6 3.6 13.8 3.6 21.2c0 35.3-28.7 64-64 64c-5.6 0-11.1-.7-16.3-2.1c-3 28.2-26.8 50.1-55.7 50.1H272V456 56 0z"]};const CG={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let t9;const OS2=new Uint8Array(16);function IS2(){if(!t9&&(t9=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!t9))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return t9(OS2)}const u3=[];for(let c=0;c<256;++c)u3.push((c+256).toString(16).slice(1));const R4=function US2(c,r,e){if(CG.randomUUID&&!r&&!c)return CG.randomUUID();const a=(c=c||{}).random||(c.rng||IS2)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,r){e=e||0;for(let t=0;t<16;++t)r[e+t]=a[t];return r}return function zG(c,r=0){return u3[c[r+0]]+u3[c[r+1]]+u3[c[r+2]]+u3[c[r+3]]+"-"+u3[c[r+4]]+u3[c[r+5]]+"-"+u3[c[r+6]]+u3[c[r+7]]+"-"+u3[c[r+8]]+u3[c[r+9]]+"-"+u3[c[r+10]]+u3[c[r+11]]+u3[c[r+12]]+u3[c[r+13]]+u3[c[r+14]]+u3[c[r+15]]}(a)};let VG=(()=>{class c{constructor(){}get intervalId(){return this._intervalId}set intervalId(e){this._intervalId=e}fetchServer(e,a,t,i){let d=new URL(window.location.href).origin;fetch(`${m1.BASE_URL}${t}?state=${a}&callback_url=${d}`).then(u=>{400!==u.status&&500!==u.status?401!==u.status&&(this.stopChecking(e),e.close(),i(u)):this.stopChecking(e)}).catch(u=>{this.stopChecking(e)})}poll(e,a,t,i){null!=e&&(this.intervalId=window.setInterval(()=>{this.fetchServer(e,a,t,i)},1e3,e,a),window.setTimeout(d=>{this.stopChecking(d)},45e3,e))}launchPopup(e,a,t,i){window,window,window,window;window.innerWidth?window:document.documentElement.clientWidth?document:screen;const P=(window.innerHeight?window:document.documentElement.clientHeight?document:screen,window,window.open(e,"_blank"));return P?.focus(),P}pollCertCredential(e,a){return new Promise((t,i)=>{this.poll(e,a,m1.SIOP_INFO.pollCertPath,function(){var l=M(function*(d){let u=yield d.json();t(u)});return function(d){return l.apply(this,arguments)}}())})}pollServer(e,a){this.poll(e,a,m1.SIOP_INFO.pollPath,()=>{window.location.replace("/dashboard?token=local")})}stopChecking(e){null!=this.intervalId&&(e.closed||e.close(),clearInterval(this.intervalId),this.intervalId=void 0)}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function MG(c,r){var e=Object.keys(c);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(c);r&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(c,t).enumerable})),e.push.apply(e,a)}return e}function N1(c){for(var r=1;rc.length)&&(r=c.length);for(var e=0,a=new Array(r);e0;)r+=mN2[62*Math.random()|0];return r}function xa(c){for(var r=[],e=(c||[]).length>>>0;e--;)r[e]=c[e];return r}function ng(c){return c.classList?xa(c.classList):(c.getAttribute("class")||"").split(" ").filter(function(r){return r})}function IG(c){return"".concat(c).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function h9(c){return Object.keys(c||{}).reduce(function(r,e){return r+"".concat(e,": ").concat(c[e].trim(),";")},"")}function sg(c){return c.size!==q0.size||c.x!==q0.x||c.y!==q0.y||c.rotate!==q0.rotate||c.flipX||c.flipY}var vN2=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, 0));\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function UG(){var c=TG,r=EG,e=P1.cssPrefix,a=P1.replacementClass,t=vN2;if(e!==c||a!==r){var i=new RegExp("\\.".concat(c,"\\-"),"g"),l=new RegExp("\\--".concat(c,"\\-"),"g"),d=new RegExp("\\.".concat(r),"g");t=t.replace(i,".".concat(e,"-")).replace(l,"--".concat(e,"-")).replace(d,".".concat(a))}return t}var jG=!1;function lg(){P1.autoAddCss&&!jG&&(function hN2(c){if(c&&ve){var r=n4.createElement("style");r.setAttribute("type","text/css"),r.innerHTML=c;for(var e=n4.head.childNodes,a=null,t=e.length-1;t>-1;t--){var i=e[t],l=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(l)>-1&&(a=i)}n4.head.insertBefore(r,a)}}(UG()),jG=!0)}var HN2={mixout:function(){return{dom:{css:UG,insertCss:lg}}},hooks:function(){return{beforeDOMElementCreation:function(){lg()},beforeI2svg:function(){lg()}}}},Ce=H8||{};Ce[He]||(Ce[He]={}),Ce[He].styles||(Ce[He].styles={}),Ce[He].hooks||(Ce[He].hooks={}),Ce[He].shims||(Ce[He].shims=[]);var m0=Ce[He],$G=[],m9=!1;function Ft(c){var r=c.tag,e=c.attributes,a=void 0===e?{}:e,t=c.children,i=void 0===t?[]:t;return"string"==typeof c?IG(c):"<".concat(r," ").concat(function _N2(c){return Object.keys(c||{}).reduce(function(r,e){return r+"".concat(e,'="').concat(IG(c[e]),'" ')},"").trim()}(a),">").concat(i.map(Ft).join(""),"")}function YG(c,r,e){if(c&&c[r]&&c[r][e])return{prefix:r,iconName:e,icon:c[r][e]}}ve&&((m9=(n4.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(n4.readyState))||n4.addEventListener("DOMContentLoaded",function c(){n4.removeEventListener("DOMContentLoaded",c),m9=1,$G.map(function(r){return r()})}));var fg=function(r,e,a,t){var u,p,z,i=Object.keys(r),l=i.length,d=void 0!==t?function(r,e){return function(a,t,i,l){return r.call(e,a,t,i,l)}}(e,t):e;for(void 0===a?(u=1,z=r[i[0]]):(u=0,z=a);u=55296&&t<=56319&&e2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,t=void 0!==a&&a,i=GG(r);"function"!=typeof m0.hooks.addPack||t?m0.styles[c]=N1(N1({},m0.styles[c]||{}),i):m0.hooks.addPack(c,GG(r)),"fas"===c&&ug("fa",r)}var _9,p9,g9,wa=m0.styles,yN2=m0.shims,bN2=(J4(_9={},s4,Object.values(Lt[s4])),J4(_9,v4,Object.values(Lt[v4])),_9),hg=null,qG={},WG={},ZG={},KG={},QG={},xN2=(J4(p9={},s4,Object.keys(Vt[s4])),J4(p9,v4,Object.keys(Vt[v4])),p9);var JG=function(){var r=function(i){return fg(wa,function(l,d,u){return l[u]=fg(d,i,{}),l},{})};qG=r(function(t,i,l){return i[3]&&(t[i[3]]=l),i[2]&&i[2].filter(function(u){return"number"==typeof u}).forEach(function(u){t[u.toString(16)]=l}),t}),WG=r(function(t,i,l){return t[l]=l,i[2]&&i[2].filter(function(u){return"string"==typeof u}).forEach(function(u){t[u]=l}),t}),QG=r(function(t,i,l){var d=i[2];return t[l]=l,d.forEach(function(u){t[u]=l}),t});var e="far"in wa||P1.autoFetchSvg,a=fg(yN2,function(t,i){var l=i[0],d=i[1],u=i[2];return"far"===d&&!e&&(d="fas"),"string"==typeof l&&(t.names[l]={prefix:d,iconName:u}),"number"==typeof l&&(t.unicodes[l.toString(16)]={prefix:d,iconName:u}),t},{names:{},unicodes:{}});ZG=a.names,KG=a.unicodes,hg=v9(P1.styleDefault,{family:P1.familyDefault})};function mg(c,r){return(qG[c]||{})[r]}function _5(c,r){return(QG[c]||{})[r]}function XG(c){return ZG[c]||{prefix:null,iconName:null}}function z8(){return hg}(function uN2(c){xt.push(c)})(function(c){hg=v9(c.styleDefault,{family:P1.familyDefault})}),JG();var _g=function(){return{prefix:null,iconName:null,rest:[]}};function v9(c){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,a=void 0===e?s4:e;return Mt[a][c]||Mt[a][Vt[a][c]]||(c in m0.styles?c:null)||null}var eq=(J4(g9={},s4,Object.keys(Lt[s4])),J4(g9,v4,Object.keys(Lt[v4])),g9);function H9(c){var r,a=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,t=void 0!==a&&a,i=(J4(r={},s4,"".concat(P1.cssPrefix,"-").concat(s4)),J4(r,v4,"".concat(P1.cssPrefix,"-").concat(v4)),r),l=null,d=s4;(c.includes(i[s4])||c.some(function(p){return eq[s4].includes(p)}))&&(d=s4),(c.includes(i[v4])||c.some(function(p){return eq[v4].includes(p)}))&&(d=v4);var u=c.reduce(function(p,z){var x=function FN2(c,r){var e=r.split("-"),a=e[0],t=e.slice(1).join("-");return a!==c||""===t||function wN2(c){return~sN2.indexOf(c)}(t)?null:t}(P1.cssPrefix,z);if(wa[z]?(z=bN2[d].includes(z)?aN2[d][z]:z,l=z,p.prefix=z):xN2[d].indexOf(z)>-1?(l=z,p.prefix=v9(z,{family:d})):x?p.iconName=x:z!==P1.replacementClass&&z!==i[s4]&&z!==i[v4]&&p.rest.push(z),!t&&p.prefix&&p.iconName){var E="fa"===l?XG(p.iconName):{},P=_5(p.prefix,p.iconName);E.prefix&&(l=null),p.iconName=E.iconName||P||p.iconName,p.prefix=E.prefix||p.prefix,"far"===p.prefix&&!wa.far&&wa.fas&&!P1.autoFetchSvg&&(p.prefix="fas")}return p},_g());return(c.includes("fa-brands")||c.includes("fab"))&&(u.prefix="fab"),(c.includes("fa-duotone")||c.includes("fad"))&&(u.prefix="fad"),!u.prefix&&d===v4&&(wa.fass||P1.autoFetchSvg)&&(u.prefix="fass",u.iconName=_5(u.prefix,u.iconName)||u.iconName),("fa"===u.prefix||"fa"===l)&&(u.prefix=z8()||"fas"),u}var NN2=function(){function c(){(function jS2(c,r){if(!(c instanceof r))throw new TypeError("Cannot call a class as a function")})(this,c),this.definitions={}}return function $S2(c,r,e){r&&LG(c.prototype,r),e&&LG(c,e),Object.defineProperty(c,"prototype",{writable:!1})}(c,[{key:"add",value:function(){for(var e=this,a=arguments.length,t=new Array(a),i=0;i0&&z.forEach(function(x){"string"==typeof x&&(e[d][x]=p)}),e[d][u]=p}),e}}]),c}(),cq=[],Fa={},ka={},DN2=Object.keys(ka);function pg(c,r){for(var e=arguments.length,a=new Array(e>2?e-2:0),t=2;t1?r-1:0),a=1;a0&&void 0!==arguments[0]?arguments[0]:{};return ve?(p5("beforeI2svg",r),ze("pseudoElements2svg",r),ze("i2svg",r)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=r.autoReplaceSvgRoot;!1===P1.autoReplaceSvg&&(P1.autoReplaceSvg=!0),P1.observeMutations=!0,function zN2(c){ve&&(m9?setTimeout(c,0):$G.push(c))}(function(){RN2({autoReplaceSvgRoot:e}),p5("watch",r)})}},y6={noAuto:function(){P1.autoReplaceSvg=!1,P1.observeMutations=!1,p5("noAuto")},config:P1,dom:AN2,parse:{icon:function(r){if(null===r)return null;if("object"===i9(r)&&r.prefix&&r.iconName)return{prefix:r.prefix,iconName:_5(r.prefix,r.iconName)||r.iconName};if(Array.isArray(r)&&2===r.length){var e=0===r[1].indexOf("fa-")?r[1].slice(3):r[1],a=v9(r[0]);return{prefix:a,iconName:_5(a,e)||e}}if("string"==typeof r&&(r.indexOf("".concat(P1.cssPrefix,"-"))>-1||r.match(rN2))){var t=H9(r.split(" "),{skipLookups:!0});return{prefix:t.prefix||z8(),iconName:_5(t.prefix,t.iconName)||t.iconName}}if("string"==typeof r){var i=z8();return{prefix:i,iconName:_5(i,r)||r}}}},library:aq,findIconDefinition:gg,toHtml:Ft},RN2=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,a=void 0===e?n4:e;(Object.keys(m0.styles).length>0||P1.autoFetchSvg)&&ve&&P1.autoReplaceSvg&&y6.dom.i2svg({node:a})};function C9(c,r){return Object.defineProperty(c,"abstract",{get:r}),Object.defineProperty(c,"html",{get:function(){return c.abstract.map(function(a){return Ft(a)})}}),Object.defineProperty(c,"node",{get:function(){if(ve){var a=n4.createElement("div");return a.innerHTML=c.html,a.children}}}),c}function vg(c){var r=c.icons,e=r.main,a=r.mask,t=c.prefix,i=c.iconName,l=c.transform,d=c.symbol,u=c.title,p=c.maskId,z=c.titleId,x=c.extra,E=c.watchable,P=void 0!==E&&E,Y=a.found?a:e,Z=Y.width,K=Y.height,J="fak"===t,X=[P1.replacementClass,i?"".concat(P1.cssPrefix,"-").concat(i):""].filter(function(U2){return-1===x.classes.indexOf(U2)}).filter(function(U2){return""!==U2||!!U2}).concat(x.classes).join(" "),n1={children:[],attributes:N1(N1({},x.attributes),{},{"data-prefix":t,"data-icon":i,class:X,role:x.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(Z," ").concat(K)})},h1=J&&!~x.classes.indexOf("fa-fw")?{width:"".concat(Z/K*16*.0625,"em")}:{};P&&(n1.attributes[h5]=""),u&&(n1.children.push({tag:"title",attributes:{id:n1.attributes["aria-labelledby"]||"title-".concat(z||wt())},children:[u]}),delete n1.attributes.title);var C1=N1(N1({},n1),{},{prefix:t,iconName:i,main:e,mask:a,maskId:p,transform:l,symbol:d,styles:N1(N1({},h1),x.styles)}),x1=a.found&&e.found?ze("generateAbstractMask",C1)||{children:[],attributes:{}}:ze("generateAbstractIcon",C1)||{children:[],attributes:{}},x2=x1.attributes;return C1.children=x1.children,C1.attributes=x2,d?function ON2(c){var e=c.iconName,a=c.children,t=c.attributes,i=c.symbol,l=!0===i?"".concat(c.prefix,"-").concat(P1.cssPrefix,"-").concat(e):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:N1(N1({},t),{},{id:l}),children:a}]}]}(C1):function BN2(c){var r=c.children,e=c.main,a=c.mask,t=c.attributes,i=c.styles,l=c.transform;if(sg(l)&&e.found&&!a.found){var p={x:e.width/e.height/2,y:.5};t.style=h9(N1(N1({},i),{},{"transform-origin":"".concat(p.x+l.x/16,"em ").concat(p.y+l.y/16,"em")}))}return[{tag:"svg",attributes:t,children:r}]}(C1)}function rq(c){var r=c.content,e=c.width,a=c.height,t=c.transform,i=c.title,l=c.extra,d=c.watchable,u=void 0!==d&&d,p=N1(N1(N1({},l.attributes),i?{title:i}:{}),{},{class:l.classes.join(" ")});u&&(p[h5]="");var z=N1({},l.styles);sg(t)&&(z.transform=function gN2(c){var r=c.transform,e=c.width,t=c.height,i=void 0===t?16:t,l=c.startCentered,d=void 0!==l&&l,u="";return u+=d&&DG?"translate(".concat(r.x/16-(void 0===e?16:e)/2,"em, ").concat(r.y/16-i/2,"em) "):d?"translate(calc(-50% + ".concat(r.x/16,"em), calc(-50% + ").concat(r.y/16,"em)) "):"translate(".concat(r.x/16,"em, ").concat(r.y/16,"em) "),(u+="scale(".concat(r.size/16*(r.flipX?-1:1),", ").concat(r.size/16*(r.flipY?-1:1),") "))+"rotate(".concat(r.rotate,"deg) ")}({transform:t,startCentered:!0,width:e,height:a}),z["-webkit-transform"]=z.transform);var x=h9(z);x.length>0&&(p.style=x);var E=[];return E.push({tag:"span",attributes:p,children:[r]}),i&&E.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),E}var Hg=m0.styles;function Cg(c){var r=c[0],e=c[1],i=Xp(c.slice(4),1)[0];return{found:!0,width:r,height:e,icon:Array.isArray(i)?{tag:"g",attributes:{class:"".concat(P1.cssPrefix,"-").concat(m5.GROUP)},children:[{tag:"path",attributes:{class:"".concat(P1.cssPrefix,"-").concat(m5.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(P1.cssPrefix,"-").concat(m5.PRIMARY),fill:"currentColor",d:i[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:i}}}}var UN2={found:!1,width:512,height:512};function zg(c,r){var e=r;return"fa"===r&&null!==P1.styleDefault&&(r=z8()),new Promise(function(a,t){if(ze("missingIconAbstract"),"fa"===e){var l=XG(c)||{};c=l.iconName||c,r=l.prefix||r}if(c&&r&&Hg[r]&&Hg[r][c])return a(Cg(Hg[r][c]));(function jN2(c,r){!PG&&!P1.showMissingIcons&&c&&console.error('Icon with name "'.concat(c,'" and prefix "').concat(r,'" is missing.'))})(c,r),a(N1(N1({},UN2),{},{icon:P1.showMissingIcons&&c&&ze("missingIconAbstract")||{}}))})}var tq=function(){},Vg=P1.measurePerformance&&n9&&n9.mark&&n9.measure?n9:{mark:tq,measure:tq},kt='FA "6.5.2"',iq=function(r){Vg.mark("".concat(kt," ").concat(r," ends")),Vg.measure("".concat(kt," ").concat(r),"".concat(kt," ").concat(r," begins"),"".concat(kt," ").concat(r," ends"))},Mg={begin:function(r){return Vg.mark("".concat(kt," ").concat(r," begins")),function(){return iq(r)}},end:iq},z9=function(){};function oq(c){return"string"==typeof(c.getAttribute?c.getAttribute(h5):null)}function WN2(c){return n4.createElementNS("http://www.w3.org/2000/svg",c)}function ZN2(c){return n4.createElement(c)}function nq(c){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,a=void 0===e?"svg"===c.tag?WN2:ZN2:e;if("string"==typeof c)return n4.createTextNode(c);var t=a(c.tag);return Object.keys(c.attributes||[]).forEach(function(l){t.setAttribute(l,c.attributes[l])}),(c.children||[]).forEach(function(l){t.appendChild(nq(l,{ceFn:a}))}),t}var V9={replace:function(r){var e=r[0];if(e.parentNode)if(r[1].forEach(function(t){e.parentNode.insertBefore(nq(t),e)}),null===e.getAttribute(h5)&&P1.keepOriginalSource){var a=n4.createComment(function KN2(c){var r=" ".concat(c.outerHTML," ");return"".concat(r,"Font Awesome fontawesome.com ")}(e));e.parentNode.replaceChild(a,e)}else e.remove()},nest:function(r){var e=r[0],a=r[1];if(~ng(e).indexOf(P1.replacementClass))return V9.replace(r);var t=new RegExp("".concat(P1.cssPrefix,"-.*"));if(delete a[0].attributes.id,a[0].attributes.class){var i=a[0].attributes.class.split(" ").reduce(function(d,u){return u===P1.replacementClass||u.match(t)?d.toSvg.push(u):d.toNode.push(u),d},{toNode:[],toSvg:[]});a[0].attributes.class=i.toSvg.join(" "),0===i.toNode.length?e.removeAttribute("class"):e.setAttribute("class",i.toNode.join(" "))}var l=a.map(function(d){return Ft(d)}).join("\n");e.setAttribute(h5,""),e.innerHTML=l}};function sq(c){c()}function lq(c,r){var e="function"==typeof r?r:z9;if(0===c.length)e();else{var a=sq;P1.mutateApproach===eN2&&(a=H8.requestAnimationFrame||sq),a(function(){var t=function qN2(){return!0===P1.autoReplaceSvg?V9.replace:V9[P1.autoReplaceSvg]||V9.replace}(),i=Mg.begin("mutate");c.map(t),i(),e()})}}var Lg=!1;function fq(){Lg=!0}function yg(){Lg=!1}var M9=null;function dq(c){if(NG&&P1.observeMutations){var r=c.treeCallback,e=void 0===r?z9:r,a=c.nodeCallback,t=void 0===a?z9:a,i=c.pseudoElementsCallback,l=void 0===i?z9:i,d=c.observeMutationsRoot,u=void 0===d?n4:d;M9=new NG(function(p){if(!Lg){var z=z8();xa(p).forEach(function(x){if("childList"===x.type&&x.addedNodes.length>0&&!oq(x.addedNodes[0])&&(P1.searchPseudoElements&&l(x.target),e(x.target)),"attributes"===x.type&&x.target.parentNode&&P1.searchPseudoElements&&l(x.target.parentNode),"attributes"===x.type&&oq(x.target)&&~nN2.indexOf(x.attributeName))if("class"===x.attributeName&&function YN2(c){var r=c.getAttribute?c.getAttribute(tg):null,e=c.getAttribute?c.getAttribute(ig):null;return r&&e}(x.target)){var E=H9(ng(x.target)),Y=E.iconName;x.target.setAttribute(tg,E.prefix||z),Y&&x.target.setAttribute(ig,Y)}else(function GN2(c){return c&&c.classList&&c.classList.contains&&c.classList.contains(P1.replacementClass)})(x.target)&&t(x.target)})}}),ve&&M9.observe(u,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function uq(c){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},e=function XN2(c){var r=c.getAttribute("data-prefix"),e=c.getAttribute("data-icon"),a=void 0!==c.innerText?c.innerText.trim():"",t=H9(ng(c));return t.prefix||(t.prefix=z8()),r&&e&&(t.prefix=r,t.iconName=e),t.iconName&&t.prefix||(t.prefix&&a.length>0&&(t.iconName=function kN2(c,r){return(WG[c]||{})[r]}(t.prefix,c.innerText)||mg(t.prefix,dg(c.innerText))),!t.iconName&&P1.autoFetchSvg&&c.firstChild&&c.firstChild.nodeType===Node.TEXT_NODE&&(t.iconName=c.firstChild.data)),t}(c),a=e.iconName,t=e.prefix,i=e.rest,l=function eD2(c){var r=xa(c.attributes).reduce(function(t,i){return"class"!==t.name&&"style"!==t.name&&(t[i.name]=i.value),t},{}),e=c.getAttribute("title"),a=c.getAttribute("data-fa-title-id");return P1.autoA11y&&(e?r["aria-labelledby"]="".concat(P1.replacementClass,"-title-").concat(a||wt()):(r["aria-hidden"]="true",r.focusable="false")),r}(c),d=pg("parseNodeAttributes",{},c),u=r.styleParser?function JN2(c){var r=c.getAttribute("style"),e=[];return r&&(e=r.split(";").reduce(function(a,t){var i=t.split(":"),l=i[0],d=i.slice(1);return l&&d.length>0&&(a[l]=d.join(":").trim()),a},{})),e}(c):[];return N1({iconName:a,title:c.getAttribute("title"),titleId:c.getAttribute("data-fa-title-id"),prefix:t,transform:q0,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:u,attributes:l}},d)}var aD2=m0.styles;function hq(c){var r="nest"===P1.autoReplaceSvg?uq(c,{styleParser:!1}):uq(c);return~r.extra.classes.indexOf(RG)?ze("generateLayersText",c,r):ze("generateSvgReplacementMutation",c,r)}var V8=new Set;function mq(c){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!ve)return Promise.resolve();var e=n4.documentElement.classList,a=function(x){return e.add("".concat(AG,"-").concat(x))},t=function(x){return e.remove("".concat(AG,"-").concat(x))},i=P1.autoFetchSvg?V8:og.map(function(z){return"fa-".concat(z)}).concat(Object.keys(aD2));i.includes("fa")||i.push("fa");var l=[".".concat(RG,":not([").concat(h5,"])")].concat(i.map(function(z){return".".concat(z,":not([").concat(h5,"])")})).join(", ");if(0===l.length)return Promise.resolve();var d=[];try{d=xa(c.querySelectorAll(l))}catch{}if(!(d.length>0))return Promise.resolve();a("pending"),t("complete");var u=Mg.begin("onTree"),p=d.reduce(function(z,x){try{var E=hq(x);E&&z.push(E)}catch(P){PG||"MissingIcon"===P.name&&console.error(P)}return z},[]);return new Promise(function(z,x){Promise.all(p).then(function(E){lq(E,function(){a("active"),a("complete"),t("pending"),"function"==typeof r&&r(),u(),z()})}).catch(function(E){u(),x(E)})})}function rD2(c){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;hq(c).then(function(e){e&&lq([e],r)})}og.map(function(c){V8.add("fa-".concat(c))}),Object.keys(Vt[s4]).map(V8.add.bind(V8)),Object.keys(Vt[v4]).map(V8.add.bind(V8)),V8=Ct(V8);var iD2=function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=e.transform,t=void 0===a?q0:a,i=e.symbol,l=void 0!==i&&i,d=e.mask,u=void 0===d?null:d,p=e.maskId,z=void 0===p?null:p,x=e.title,E=void 0===x?null:x,P=e.titleId,Y=void 0===P?null:P,Z=e.classes,K=void 0===Z?[]:Z,J=e.attributes,X=void 0===J?{}:J,n1=e.styles,h1=void 0===n1?{}:n1;if(r){var C1=r.prefix,x1=r.iconName,Z1=r.icon;return C9(N1({type:"icon"},r),function(){return p5("beforeDOMElementCreation",{iconDefinition:r,params:e}),P1.autoA11y&&(E?X["aria-labelledby"]="".concat(P1.replacementClass,"-title-").concat(Y||wt()):(X["aria-hidden"]="true",X.focusable="false")),vg({icons:{main:Cg(Z1),mask:u?Cg(u.icon):{found:!1,width:null,height:null,icon:{}}},prefix:C1,iconName:x1,transform:N1(N1({},q0),t),symbol:l,title:E,maskId:z,titleId:Y,extra:{attributes:X,styles:h1,classes:K}})})}},oD2={mixout:function(){return{icon:(c=iD2,function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=(r||{}).icon?r:gg(r||{}),t=e.mask;return t&&(t=(t||{}).icon?t:gg(t||{})),c(a,N1(N1({},e),{},{mask:t}))})};var c},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=mq,e.nodeCallback=rD2,e}}},provides:function(r){r.i2svg=function(e){var a=e.node,i=e.callback;return mq(void 0===a?n4:a,void 0===i?function(){}:i)},r.generateSvgReplacementMutation=function(e,a){var t=a.iconName,i=a.title,l=a.titleId,d=a.prefix,u=a.transform,p=a.symbol,z=a.mask,x=a.maskId,E=a.extra;return new Promise(function(P,Y){Promise.all([zg(t,d),z.iconName?zg(z.iconName,z.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(Z){var K=Xp(Z,2);P([e,vg({icons:{main:K[0],mask:K[1]},prefix:d,iconName:t,transform:u,symbol:p,maskId:x,title:i,titleId:l,extra:E,watchable:!0})])}).catch(Y)})},r.generateAbstractIcon=function(e){var p,a=e.children,t=e.attributes,i=e.main,l=e.transform,u=h9(e.styles);return u.length>0&&(t.style=u),sg(l)&&(p=ze("generateAbstractTransformGrouping",{main:i,transform:l,containerWidth:i.width,iconWidth:i.width})),a.push(p||i.icon),{children:a,attributes:t}}}},nD2={mixout:function(){return{layer:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=a.classes,i=void 0===t?[]:t;return C9({type:"layer"},function(){p5("beforeDOMElementCreation",{assembler:e,params:a});var l=[];return e(function(d){Array.isArray(d)?d.map(function(u){l=l.concat(u.abstract)}):l=l.concat(d.abstract)}),[{tag:"span",attributes:{class:["".concat(P1.cssPrefix,"-layers")].concat(Ct(i)).join(" ")},children:l}]})}}}},sD2={mixout:function(){return{counter:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=a.title,i=void 0===t?null:t,l=a.classes,d=void 0===l?[]:l,u=a.attributes,p=void 0===u?{}:u,z=a.styles,x=void 0===z?{}:z;return C9({type:"counter",content:e},function(){return p5("beforeDOMElementCreation",{content:e,params:a}),function IN2(c){var r=c.content,e=c.title,a=c.extra,t=N1(N1(N1({},a.attributes),e?{title:e}:{}),{},{class:a.classes.join(" ")}),i=h9(a.styles);i.length>0&&(t.style=i);var l=[];return l.push({tag:"span",attributes:t,children:[r]}),e&&l.push({tag:"span",attributes:{class:"sr-only"},children:[e]}),l}({content:e.toString(),title:i,extra:{attributes:p,styles:x,classes:["".concat(P1.cssPrefix,"-layers-counter")].concat(Ct(d))}})})}}}},lD2={mixout:function(){return{text:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=a.transform,i=void 0===t?q0:t,l=a.title,d=void 0===l?null:l,u=a.classes,p=void 0===u?[]:u,z=a.attributes,x=void 0===z?{}:z,E=a.styles,P=void 0===E?{}:E;return C9({type:"text",content:e},function(){return p5("beforeDOMElementCreation",{content:e,params:a}),rq({content:e,transform:N1(N1({},q0),i),title:d,extra:{attributes:x,styles:P,classes:["".concat(P1.cssPrefix,"-layers-text")].concat(Ct(p))}})})}}},provides:function(r){r.generateLayersText=function(e,a){var t=a.title,i=a.transform,l=a.extra,d=null,u=null;if(DG){var p=parseInt(getComputedStyle(e).fontSize,10),z=e.getBoundingClientRect();d=z.width/p,u=z.height/p}return P1.autoA11y&&!t&&(l.attributes["aria-hidden"]="true"),Promise.resolve([e,rq({content:e.innerHTML,width:d,height:u,transform:i,title:t,extra:l,watchable:!0})])}}},fD2=new RegExp('"',"ug"),_q=[1105920,1112319];function pq(c,r){var e="".concat(XS2).concat(r.replace(":","-"));return new Promise(function(a,t){if(null!==c.getAttribute(e))return a();var l=xa(c.children).filter(function(Z1){return Z1.getAttribute(rg)===r})[0],d=H8.getComputedStyle(c,r),u=d.getPropertyValue("font-family").match(tN2),p=d.getPropertyValue("font-weight"),z=d.getPropertyValue("content");if(l&&!u)return c.removeChild(l),a();if(u&&"none"!==z&&""!==z){var x=d.getPropertyValue("content"),E=~["Sharp"].indexOf(u[2])?v4:s4,P=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(u[2])?Mt[E][u[2].toLowerCase()]:iN2[E][p],Y=function dD2(c){var r=c.replace(fD2,""),e=function LN2(c,r){var t,e=c.length,a=c.charCodeAt(r);return a>=55296&&a<=56319&&e>r+1&&(t=c.charCodeAt(r+1))>=56320&&t<=57343?1024*(a-55296)+t-56320+65536:a}(r,0),a=e>=_q[0]&&e<=_q[1],t=2===r.length&&r[0]===r[1];return{value:dg(t?r[0]:r),isSecondary:a||t}}(x),Z=Y.value,K=Y.isSecondary,J=u[0].startsWith("FontAwesome"),X=mg(P,Z),n1=X;if(J){var h1=function SN2(c){var r=KG[c],e=mg("fas",c);return r||(e?{prefix:"fas",iconName:e}:null)||{prefix:null,iconName:null}}(Z);h1.iconName&&h1.prefix&&(X=h1.iconName,P=h1.prefix)}if(!X||K||l&&l.getAttribute(tg)===P&&l.getAttribute(ig)===n1)a();else{c.setAttribute(e,n1),l&&c.removeChild(l);var C1=function cD2(){return{iconName:null,title:null,titleId:null,prefix:null,transform:q0,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),x1=C1.extra;x1.attributes[rg]=r,zg(X,P).then(function(Z1){var x2=vg(N1(N1({},C1),{},{icons:{main:Z1,mask:_g()},prefix:P,iconName:n1,extra:x1,watchable:!0})),U2=n4.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===r?c.insertBefore(U2,c.firstChild):c.appendChild(U2),U2.outerHTML=x2.map(function(p4){return Ft(p4)}).join("\n"),c.removeAttribute(e),a()}).catch(t)}}else a()})}function uD2(c){return Promise.all([pq(c,"::before"),pq(c,"::after")])}function hD2(c){return!(c.parentNode===document.head||~cN2.indexOf(c.tagName.toUpperCase())||c.getAttribute(rg)||c.parentNode&&"svg"===c.parentNode.tagName)}function gq(c){if(ve)return new Promise(function(r,e){var a=xa(c.querySelectorAll("*")).filter(hD2).map(uD2),t=Mg.begin("searchPseudoElements");fq(),Promise.all(a).then(function(){t(),yg(),r()}).catch(function(){t(),yg(),e()})})}var vq=!1,Hq=function(r){return r.toLowerCase().split(" ").reduce(function(a,t){var i=t.toLowerCase().split("-"),l=i[0],d=i.slice(1).join("-");if(l&&"h"===d)return a.flipX=!0,a;if(l&&"v"===d)return a.flipY=!0,a;if(d=parseFloat(d),isNaN(d))return a;switch(l){case"grow":a.size=a.size+d;break;case"shrink":a.size=a.size-d;break;case"left":a.x=a.x-d;break;case"right":a.x=a.x+d;break;case"up":a.y=a.y-d;break;case"down":a.y=a.y+d;break;case"rotate":a.rotate=a.rotate+d}return a},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},bg={x:0,y:0,width:"100%",height:"100%"};function Cq(c){return c.attributes&&(c.attributes.fill||!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(c.attributes.fill="black"),c}!function TN2(c,r){var e=r.mixoutsTo;cq=c,Fa={},Object.keys(ka).forEach(function(a){-1===DN2.indexOf(a)&&delete ka[a]}),cq.forEach(function(a){var t=a.mixout?a.mixout():{};if(Object.keys(t).forEach(function(l){"function"==typeof t[l]&&(e[l]=t[l]),"object"===i9(t[l])&&Object.keys(t[l]).forEach(function(d){e[l]||(e[l]={}),e[l][d]=t[l][d]})}),a.hooks){var i=a.hooks();Object.keys(i).forEach(function(l){Fa[l]||(Fa[l]=[]),Fa[l].push(i[l])})}a.provides&&a.provides(ka)})}([HN2,oD2,nD2,sD2,lD2,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=gq,e}}},provides:function(r){r.pseudoElements2svg=function(e){var a=e.node;P1.searchPseudoElements&&gq(void 0===a?n4:a)}}},{mixout:function(){return{dom:{unwatch:function(){fq(),vq=!0}}}},hooks:function(){return{bootstrap:function(){dq(pg("mutationObserverCallbacks",{}))},noAuto:function(){!function QN2(){M9&&M9.disconnect()}()},watch:function(e){var a=e.observeMutationsRoot;vq?yg():dq(pg("mutationObserverCallbacks",{observeMutationsRoot:a}))}}}},{mixout:function(){return{parse:{transform:function(e){return Hq(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,a){var t=a.getAttribute("data-fa-transform");return t&&(e.transform=Hq(t)),e}}},provides:function(r){r.generateAbstractTransformGrouping=function(e){var a=e.main,t=e.transform,l=e.iconWidth,d={transform:"translate(".concat(e.containerWidth/2," 256)")},u="translate(".concat(32*t.x,", ").concat(32*t.y,") "),p="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),z="rotate(".concat(t.rotate," 0 0)"),P={outer:d,inner:{transform:"".concat(u," ").concat(p," ").concat(z)},path:{transform:"translate(".concat(l/2*-1," -256)")}};return{tag:"g",attributes:N1({},P.outer),children:[{tag:"g",attributes:N1({},P.inner),children:[{tag:a.icon.tag,children:a.icon.children,attributes:N1(N1({},a.icon.attributes),P.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(e,a){var t=a.getAttribute("data-fa-mask"),i=t?H9(t.split(" ").map(function(l){return l.trim()})):_g();return i.prefix||(i.prefix=z8()),e.mask=i,e.maskId=a.getAttribute("data-fa-mask-id"),e}}},provides:function(r){r.generateAbstractMask=function(e){var c,a=e.children,t=e.attributes,i=e.main,l=e.mask,d=e.maskId,z=i.icon,E=l.icon,P=function pN2(c){var r=c.transform,a=c.iconWidth,t={transform:"translate(".concat(c.containerWidth/2," 256)")},i="translate(".concat(32*r.x,", ").concat(32*r.y,") "),l="scale(".concat(r.size/16*(r.flipX?-1:1),", ").concat(r.size/16*(r.flipY?-1:1),") "),d="rotate(".concat(r.rotate," 0 0)");return{outer:t,inner:{transform:"".concat(i," ").concat(l," ").concat(d)},path:{transform:"translate(".concat(a/2*-1," -256)")}}}({transform:e.transform,containerWidth:l.width,iconWidth:i.width}),Y={tag:"rect",attributes:N1(N1({},bg),{},{fill:"white"})},Z=z.children?{children:z.children.map(Cq)}:{},K={tag:"g",attributes:N1({},P.inner),children:[Cq(N1({tag:z.tag,attributes:N1(N1({},z.attributes),P.path)},Z))]},J={tag:"g",attributes:N1({},P.outer),children:[K]},X="mask-".concat(d||wt()),n1="clip-".concat(d||wt()),h1={tag:"mask",attributes:N1(N1({},bg),{},{id:X,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[Y,J]},C1={tag:"defs",children:[{tag:"clipPath",attributes:{id:n1},children:(c=E,"g"===c.tag?c.children:[c])},h1]};return a.push(C1,{tag:"rect",attributes:N1({fill:"currentColor","clip-path":"url(#".concat(n1,")"),mask:"url(#".concat(X,")")},bg)}),{children:a,attributes:t}}}},{provides:function(r){var e=!1;H8.matchMedia&&(e=H8.matchMedia("(prefers-reduced-motion: reduce)").matches),r.missingIconAbstract=function(){var a=[],t={fill:"currentColor"},i={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};a.push({tag:"path",attributes:N1(N1({},t),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var l=N1(N1({},i),{},{attributeName:"opacity"}),d={tag:"circle",attributes:N1(N1({},t),{},{cx:"256",cy:"364",r:"28"}),children:[]};return e||d.children.push({tag:"animate",attributes:N1(N1({},i),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:N1(N1({},l),{},{values:"1;0;1;1;0;1;"})}),a.push(d),a.push({tag:"path",attributes:N1(N1({},t),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:e?[]:[{tag:"animate",attributes:N1(N1({},l),{},{values:"1;0;0;0;0;1;"})}]}),e||a.push({tag:"path",attributes:N1(N1({},t),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:N1(N1({},l),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:a}}}},{hooks:function(){return{parseNodeAttributes:function(e,a){var t=a.getAttribute("data-fa-symbol");return e.symbol=null!==t&&(""===t||t),e}}}}],{mixoutsTo:y6});var VD2=y6.parse,MD2=y6.icon;const LD2=["*"],xD2=c=>{const r={[`fa-${c.animation}`]:null!=c.animation&&!c.animation.startsWith("spin"),"fa-spin":"spin"===c.animation||"spin-reverse"===c.animation,"fa-spin-pulse":"spin-pulse"===c.animation||"spin-pulse-reverse"===c.animation,"fa-spin-reverse":"spin-reverse"===c.animation||"spin-pulse-reverse"===c.animation,"fa-pulse":"spin-pulse"===c.animation||"spin-pulse-reverse"===c.animation,"fa-fw":c.fixedWidth,"fa-border":c.border,"fa-inverse":c.inverse,"fa-layers-counter":c.counter,"fa-flip-horizontal":"horizontal"===c.flip||"both"===c.flip,"fa-flip-vertical":"vertical"===c.flip||"both"===c.flip,[`fa-${c.size}`]:null!==c.size,[`fa-rotate-${c.rotate}`]:null!==c.rotate,[`fa-pull-${c.pull}`]:null!==c.pull,[`fa-stack-${c.stackItemSize}`]:null!=c.stackItemSize};return Object.keys(r).map(e=>r[e]?e:null).filter(e=>e)};let kD2=(()=>{class c{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),SD2=(()=>{class c{constructor(){this.definitions={}}addIcons(...e){for(const a of e){a.prefix in this.definitions||(this.definitions[a.prefix]={}),this.definitions[a.prefix][a.iconName]=a;for(const t of a.icon[2])"string"==typeof t&&(this.definitions[a.prefix][t]=a)}}addIconPacks(...e){for(const a of e){const t=Object.keys(a).map(i=>a[i]);this.addIcons(...t)}}getIconDefinition(e,a){return e in this.definitions&&a in this.definitions[e]?this.definitions[e][a]:null}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),ND2=(()=>{class c{constructor(){this.stackItemSize="1x"}ngOnChanges(e){if("size"in e)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: ....')}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275dir=U1({type:c,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},standalone:!0,features:[A]})}return c})(),DD2=(()=>{class c{constructor(e,a){this.renderer=e,this.elementRef=a}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(e){"size"in e&&(null!=e.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${e.size.currentValue}`),null!=e.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${e.size.previousValue}`))}static#e=this.\u0275fac=function(a){return new(a||c)(B(T6),B(C2))};static#c=this.\u0275cmp=V1({type:c,selectors:[["fa-stack"]],inputs:{size:"size"},standalone:!0,features:[A,C3],ngContentSelectors:LD2,decls:1,vars:0,template:function(a,t){1&a&&(tn(),Mr(0))},encapsulation:2})}return c})(),B4=(()=>{class c{set spin(e){this.animation=e?"spin":void 0}set pulse(e){this.animation=e?"spin-pulse":void 0}constructor(e,a,t,i,l){this.sanitizer=e,this.config=a,this.iconLibrary=t,this.stackItem=i,this.classes=[],null!=l&&null==i&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: .')}ngOnChanges(e){if(null!=this.icon||null!=this.config.fallbackIcon){if(e){const t=this.findIconDefinition(null!=this.icon?this.icon:this.config.fallbackIcon);if(null!=t){const i=this.buildParams();this.renderIcon(t,i)}}}else(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})()}render(){this.ngOnChanges({})}findIconDefinition(e){const a=((c,r)=>(c=>void 0!==c.prefix&&void 0!==c.iconName)(c)?c:"string"==typeof c?{prefix:r,iconName:c}:{prefix:c[0],iconName:c[1]})(e,this.config.defaultPrefix);return"icon"in a?a:this.iconLibrary.getIconDefinition(a.prefix,a.iconName)??((c=>{throw new Error(`Could not find icon with iconName=${c.iconName} and prefix=${c.prefix} in the icon library.`)})(a),null)}buildParams(){const e={flip:this.flip,animation:this.animation,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},a="string"==typeof this.transform?VD2.transform(this.transform):this.transform;return{title:this.title,transform:a,classes:[...xD2(e),...this.classes],mask:null!=this.mask?this.findIconDefinition(this.mask):null,styles:null!=this.styles?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}renderIcon(e,a){const t=MD2(e,a);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(t.html.join("\n"))}static#e=this.\u0275fac=function(a){return new(a||c)(B(Pr),B(kD2),B(SD2),B(ND2,8),B(DD2,8))};static#c=this.\u0275cmp=V1({type:c,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(a,t){2&a&&(_h("innerHTML",t.renderedIconHTML,VM),A2("title",t.title))},inputs:{icon:"icon",title:"title",animation:"animation",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",classes:"classes",transform:"transform",a11yRole:"a11yRole"},standalone:!0,features:[A,C3],decls:0,vars:0,template:function(a,t){},encapsulation:2})}return c})(),xg=(()=>{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275mod=M4({type:c});static#a=this.\u0275inj=g4({})}return c})();const b6={PRICE:{ONE_TIME:"one time",RECURRING:"recurring",USAGE:"usage"},PRICE_ALTERATION:{DISCOUNT:{code:"discount",name:"Discount"},FEE:{code:"fee",name:"Fee"}},PRICE_ALTERATION_SUPPORTED:{PRICE_COMPONENT:"Price component",DISCOUNT_OR_FEE:"Discount or fee",NOTHING:"None"},PRICE_CONDITION:{EQ:{code:"eq",name:"Equal"},LT:{code:"lt",name:"Less than"},LE:{code:"le",name:"Less than or equal"},GT:{code:"gt",name:"Greater than"},GE:{code:"ge",name:"Greater than or equal"}},LICENSE:{NONE:"None",STANDARD:"Standard open data license",WIZARD:"Custom license (wizard)",FREETEXT:"Custom license (free-text)"},SLA:{NONE:"None",SPEC:"Spec"},METRICS:{UPDATES:"Updates rate",RESPTIME:"Response time",DELAY:"Delay"},MEASURESDESC:{UPDATES:"Expected number of updates in the given period.",RESPTIME:"Total amount of time to respond to a data request (GET).",DELAY:"Total amount of time to deliver a new update (SUBSCRIPTION)."},TIMERANGE:{DAY:"day",WEEK:"week",MONTH:"month"},UNITS:{MSEC:"ms",SEC:"s",MIN:"min"}};let M8=(()=>{class c{constructor(){}formatCheapestPricePlan(e){var a={},t=null,i=[];if(null!=e&&e.productOfferingPrice){if(1==e.productOfferingPrice.length&&"open"==e.productOfferingPrice[0].name?.toLocaleLowerCase()&&0==e.productOfferingPrice[0].price?.value)return{priceType:e.productOfferingPrice[0].priceType,price:e.productOfferingPrice?.at(0)?.price?.value,unit:e.productOfferingPrice?.at(0)?.price?.unit,text:"open"};if(e.productOfferingPrice.length>0)if((i=e.productOfferingPrice.filter(d=>d.priceType===b6.PRICE.ONE_TIME)).length>0){for(var l=0;lNumber(i[l].price?.value))&&(t=e.productOfferingPrice[l]);a={priceType:t?.priceType,price:t?.price?.value,unit:t?.price?.unit,text:"one time"}}else i=e.productOfferingPrice.filter(function(d){return void 0!==d.priceType?-1!==[b6.PRICE.RECURRING,b6.PRICE.USAGE].indexOf(d.priceType?.toLocaleLowerCase()):""}),a={priceType:i[0]?.priceType,price:i[0]?.price?.value,unit:i[0]?.price?.unit,text:i[0]?.priceType?.toLocaleLowerCase()==b6.PRICE.RECURRING?i[0]?.recurringChargePeriodType:i[0]?.priceType?.toLocaleLowerCase()==b6.PRICE.USAGE?"/ "+i[0]?.unitOfMeasure?.units:""};else a={priceType:"Free",price:0,unit:"",text:""}}return a}getFormattedPriceList(e){let a=[];if(null!=e&&null!=e.productOfferingPrice)for(let t=0;t{class c{constructor(e,a,t,i,l,d,u){this.localStorage=e,this.eventMessage=a,this.priceService=t,this.cartService=i,this.api=l,this.cdr=d,this.router=u,this.faCartShopping=ya,this.items=[],this.showBackDrop=!0,this.check_custom=!1}ngOnInit(){this.showBackDrop=!0,this.cartService.getShoppingCart().then(e=>{console.log("---CARRITO API---"),console.log(e),this.items=e,this.cdr.detectChanges(),this.getTotalPrice(),console.log("------------------")}),this.eventMessage.messages$.subscribe(e=>{"AddedCartItem"===e.type?(console.log("Elemento a\xf1adido"),this.cartService.getShoppingCart().then(a=>{console.log("---CARRITO API---"),console.log(a),this.items=a,this.cdr.detectChanges(),this.getTotalPrice(),console.log("------------------")})):"RemovedCartItem"===e.type&&this.cartService.getShoppingCart().then(a=>{console.log("---CARRITO API---"),console.log(a),this.items=a,this.cdr.detectChanges(),this.getTotalPrice(),console.log("------------------")})}),console.log("Elementos en el carrito...."),console.log(this.items)}getPrice(e){return null!=e.options.pricing?"custom"==e.options.pricing.priceType?(this.check_custom=!0,null):{priceType:e.options.pricing.priceType,price:e.options.pricing.price?.value,unit:e.options.pricing.price?.unit,text:e.options.pricing.priceType?.toLocaleLowerCase()==b6.PRICE.RECURRING?e.options.pricing.recurringChargePeriodType:e.options.pricing.priceType?.toLocaleLowerCase()==b6.PRICE.USAGE?"/ "+e.options.pricing?.unitOfMeasure?.units:""}:null}getTotalPrice(){this.totalPrice=[];let e=!1;this.check_custom=!1,this.cdr.detectChanges();let a={};for(let t=0;tconsole.log("deleted")),this.eventMessage.emitRemovedCartItem(e)}hideCart(){this.eventMessage.emitToggleDrawer(!1)}goToShoppingCart(){this.hideCart(),this.router.navigate(["/checkout"])}static#e=this.\u0275fac=function(a){return new(a||c)(B(A1),B(e2),B(M8),B(l3),B(p1),B(B1),B(Q1))};static#c=this.\u0275cmp=V1({type:c,selectors:[["app-cart-drawer"]],decls:30,vars:15,consts:[["id","cart-drawer","tabindex","-1","aria-labelledby","cart-drawer-label","aria-hidden","true",1,"h-full",3,"click"],[1,"mr-2","text-gray-500","dark:text-gray-400",3,"icon"],["id","cart-drawer-label","aria-hidden","true",1,"inline-flex","items-center","text-base","font-semibold","text-gray-500","dark:text-gray-400","text-xl"],[1,"h-px","my-2","bg-gray-200","border-0","dark:bg-gray-700"],["type","button","aria-controls","cart-drawer",1,"text-gray-400","bg-transparent","hover:bg-gray-200","hover:text-gray-900","rounded-lg","text-sm","w-8","h-8","absolute","top-2.5","end-2.5","inline-flex","items-center","justify-center","dark:hover:bg-gray-600","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-3","h-3"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"],[1,"sr-only"],[1,"h-3/4","grid","grid-flow-row","auto-rows-max","overflow-y-auto","p-2"],[1,"flex","block"],[1,"flex","float-left","w-1/2","ml-2","text-sm","text-gray-500","dark:text-gray-400"],[1,"flex","grid","grid-cols-1","grid-flow-row","w-1/2"],[1,"flex","block","justify-end","mr-2","text-sm","text-gray-500","dark:text-gray-400"],["type","button",1,"mt-2","w-full","flex","items-center","justify-start","text-white","bg-blue-700","hover:bg-blue-800","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","py-2.5","text-center","inline-flex","items-center","me-2","dark:bg-blue-600","dark:hover:bg-blue-700","dark:focus:ring-blue-800",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"rtl:rotate-180","w-3.5","h-3.5","mr-2","ml-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],[1,"flex","justify-between","w-full","mt-2","mb-2","rounded-lg","bg-secondary-50/95","dark:bg-gray-700","dark:border-gray-800","border-secondary-50","border"],[1,"text-gray-700","dark:text-gray-400"],["type","button",1,"flex","p-2","box-decoration-clone",3,"click"],["alt","",1,"rounded-t-lg","w-fit","h-[100px]",3,"src"],[1,"p-2","flex","items-center"],[1,"text-lg","text-gray-700","dark:text-gray-400"],[1,"flex","place-content-center","flex-col"],["type","button",1,"h-fit","text-blue-700","hover:bg-gray-300","hover:text-white","focus:ring-4","font-medium","rounded-full","text-sm","p-2.5","text-center","inline-flex","items-center","dark:text-blue-500","dark:hover:text-white","dark:hover:bg-gray-600",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-[12px]","h-[12px]","text-gray-700","dark:text-gray-400"],["src","https://placehold.co/600x400/svg","alt","",1,"rounded-t-lg","w-fit","h-[100px]"],[1,"text-3xl","font-bold","text-gray-900","dark:text-primary-50","mr-3"],[1,"text-xs","dark:text-primary-50"]],template:function(a,t){1&a&&(o(0,"div",0),C("click",function(l){return l.stopPropagation()}),v(1,"fa-icon",1),o(2,"h3",2),f(3),m(4,"translate"),n(),v(5,"hr",3),o(6,"button",4),C("click",function(){return t.hideCart()}),w(),o(7,"svg",5),v(8,"path",6),n(),O(),o(9,"span",7),f(10),m(11,"translate"),n()(),o(12,"div",8),R(13,BD2,3,1)(14,OD2,3,3),n(),v(15,"hr",3),o(16,"div",9)(17,"p",10),f(18),m(19,"translate"),n(),v(20,"hr",3),o(21,"div",11),c1(22,ID2,2,3,"p",12,z1,!1,$D2,2,1),n()(),o(25,"button",13),C("click",function(){return t.goToShoppingCart()}),w(),o(26,"svg",14),v(27,"path",15),n(),f(28),m(29,"translate"),n()()),2&a&&(s(),k("icon",t.faCartShopping),s(2),V(" ",_(4,7,"CART_DRAWER._title")," "),s(7),H(_(11,9,"CART_DRAWER._close")),s(3),S(13,t.items.length>0?13:14),s(5),V("",_(19,11,"CART_DRAWER._subtotal"),":"),s(4),a1(t.totalPrice),s(6),V(" ",_(29,13,"CART_DRAWER._purchase")," "))},dependencies:[B4,X1],styles:["[_ngcontent-%COMP%]::-webkit-scrollbar{width:10px!important}[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#0003}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#888!important;border-radius:5px!important}"]})}return c})();const YD2=["theme_toggle_dark_icon"],GD2=["theme_toggle_light_icon"],qD2=["navbarbutton"],WD2=(c,r)=>r.id;function ZD2(c,r){if(1&c){const e=j();o(0,"button",43),C("click",function(t){return y(e),h().toggleCartDrawer(),b(t.stopPropagation())}),v(1,"fa-icon",44),n()}if(2&c){const e=h();s(),k("icon",e.faCartShopping)}}function KD2(c,r){if(1&c&&(o(0,"div",31)(1,"span",45),f(2),n()()),2&c){const e=h();s(2),H(e.usercharacters)}}function QD2(c,r){if(1&c){const e=j();o(0,"a",46),f(1),m(2,"translate"),n(),o(3,"button",47),C("click",function(){return y(e),b(h().onLoginClick())}),f(4," Login "),n()}2&c&&(D1("href",h().domeRegister,h2),s(),H(_(2,2,"HEADER._register")))}function JD2(c,r){if(1&c){const e=j();o(0,"div",36)(1,"ul",10)(2,"li")(3,"a",48),C("click",function(){return y(e),b(h().goTo("/search"))}),f(4),m(5,"translate"),n()(),o(6,"li")(7,"a",48),C("click",function(){return y(e),b(h().goTo("/catalogues"))}),f(8),m(9,"translate"),n()(),o(10,"li")(11,"a",19),f(12),m(13,"translate"),n()(),o(14,"li")(15,"a",19),f(16),m(17,"translate"),n()(),o(18,"li")(19,"a",19),f(20),m(21,"translate"),n()(),o(22,"li")(23,"a",49),f(24),m(25,"translate"),n()()()()}if(2&c){const e=h();s(4),H(_(5,10,"HEADER._search")),s(4),H(_(9,12,"HEADER._catalogs")),s(3),D1("href",e.domeAbout,h2),s(),H(_(13,14,"HEADER._about")),s(3),D1("href",e.domePublish,h2),s(),H(_(17,16,"HEADER._publish")),s(3),D1("href",e.knowledge,h2),s(),H(_(21,18,"HEADER._info")),s(3),D1("href",e.domeRegister,h2),s(),H(_(25,20,"HEADER._register"))}}function XD2(c,r){if(1&c){const e=j();o(0,"li")(1,"button",18),C("click",function(){return y(e),b(h(2).goTo("/profile"))}),v(2,"fa-icon",40),f(3),m(4,"translate"),n()()}if(2&c){const e=h(2);s(2),k("icon",e.faAddressCard),s(),H(_(4,2,"HEADER._profile"))}}function eT2(c,r){if(1&c){const e=j();o(0,"li")(1,"button",18),C("click",function(){return y(e),b(h(2).goTo("/my-offerings"))}),v(2,"fa-icon",40),f(3),m(4,"translate"),n()()}if(2&c){const e=h(2);s(2),k("icon",e.faHandHoldingBox),s(),H(_(4,2,"HEADER._offerings"))}}function cT2(c,r){if(1&c){const e=j();o(0,"li")(1,"button",18),C("click",function(){return y(e),b(h(2).goTo("/admin"))}),v(2,"fa-icon",40),f(3),m(4,"translate"),n()()}if(2&c){const e=h(2);s(2),k("icon",e.faCogs),s(),H(_(4,2,"HEADER._admin"))}}function aT2(c,r){if(1&c&&(o(0,"button",53),v(1,"fa-icon",40),f(2),m(3,"translate"),n()),2&c){const e=h(2);s(),k("icon",e.faAnglesLeft),s(),H(_(3,2,"HEADER._change_session"))}}function rT2(c,r){if(1&c){const e=j();o(0,"div",37)(1,"div",50)(2,"div"),f(3),n(),o(4,"div",51),f(5),n()(),o(6,"ul",39),R(7,XD2,5,4,"li")(8,eT2,5,4,"li")(9,cT2,5,4,"li"),o(10,"li")(11,"button",18),C("click",function(){return y(e),b(h().goTo("/product-inventory"))}),v(12,"fa-icon",40),f(13),m(14,"translate"),n()(),o(15,"li")(16,"button",18),C("click",function(){return y(e),b(h().goTo("/checkout"))}),v(17,"fa-icon",40),f(18),m(19,"translate"),n()()(),o(20,"div",52),R(21,aT2,4,4,"button",53),o(22,"button",54),C("click",function(){return y(e),b(h().logout())}),v(23,"fa-icon",40),f(24),m(25,"translate"),n()()()}if(2&c){const e=h();s(3),H(e.username),s(2),H(e.email),s(2),S(7,0==e.loggedAsOrg||e.roles.includes("orgAdmin")?7:-1),s(),S(8,e.roles.includes("seller")?8:-1),s(),S(9,e.isAdmin&&0==e.loggedAsOrg||e.roles.includes("certifier")?9:-1),s(3),k("icon",e.faBoxesStacked),s(),H(_(14,12,"HEADER._inventory")),s(4),k("icon",e.faCartShopping),s(),H(_(19,14,"HEADER._cart")),s(3),S(21,e.orgs.length>0&&e.isAdmin?21:-1),s(2),k("icon",e.faArrowRightFromBracket),s(),H(_(25,16,"HEADER._sign_out"))}}function tT2(c,r){if(1&c){const e=j();o(0,"li")(1,"button",18),C("click",function(){y(e);const t=h().$index,i=h();return i.changeSession(t,!1),b(i.hideDropdown("orgs-dropdown"))}),v(2,"fa-icon",40),f(3),n()()}if(2&c){const e=h().$implicit,a=h();s(2),k("icon",a.faUsers),s(),H(e.name)}}function iT2(c,r){if(1&c&&R(0,tT2,4,2,"li"),2&c){const e=r.$implicit,a=h();S(0,e.id!=a.loginInfo.logged_as||a.loginInfo.logged_as==a.loginInfo.id?0:-1)}}function oT2(c,r){if(1&c){const e=j();o(0,"li")(1,"button",18),C("click",function(){y(e);const t=h();return t.changeSession(0,!0),b(t.hideDropdown("orgs-dropdown"))}),v(2,"fa-icon",40),f(3),n()()}if(2&c){const e=h();s(2),k("icon",e.faUser),s(),H(e.loginInfo.user)}}function nT2(c,r){if(1&c){const e=j();o(0,"div",42)(1,"app-cart-drawer",55),C("click",function(t){return y(e),b(t.stopPropagation())}),n()()}}class Sa{constructor(r,e,a,t,i,l,d,u,p,z,x){this.translate=a,this.localStorage=t,this.api=i,this.loginService=l,this.cdr=d,this.route=u,this.eventMessage=p,this.router=z,this.qrVerifier=x,this.qrWindow=null,this.catalogs=[],this.langs=[],this.showCart=!1,this.is_logged=!1,this.showLogin=!1,this.loggedAsOrg=!1,this.orgs=[],this.username="",this.email="",this.usercharacters="",this.loginSubscription=new c3,this.roles=[],this.knowledge=m1.KNOWLEDGE_BASE_URL,this.ticketing=m1.TICKETING_SYSTEM_URL,this.domeAbout=m1.DOME_ABOUT_LINK,this.domeRegister=m1.DOME_REGISTER_LINK,this.domePublish=m1.DOME_PUBLISH_LINK,this.isNavBarOpen=!1,this.flagDropdownOpen=!1,this.faCartShopping=ya,this.faHandHoldingBox=wY,this.faAddressCard=La,this.faArrowRightFromBracket=$_,this.faBoxesStacked=e9,this.faClipboardCheck=jR,this.faBrain=OY,this.faAnglesLeft=$p,this.faUser=aE,this.faUsers=mT,this.faCogs=g$,this.themeToggleDarkIcon=r,this.themeToggleLightIcon=e}static#e=this.BASE_URL=m1.BASE_URL;ngOnDestroy(){this.qrWindow?.close(),this.qrWindow=null}ngDoCheck(){null!=this.qrWindow&&this.qrWindow.closed&&(this.qrVerifier.stopChecking(this.qrWindow),this.qrWindow=null)}onClick(){1==this.showCart&&(this.showCart=!1,this.cdr.detectChanges()),this.isNavBarOpen&&(this.isNavBarOpen=!1)}onResize(r){this.isNavBarOpen&&(this.navbarbutton.nativeElement.blur(),this.isNavBarOpen=!1)}ngOnInit(){var r=this;return M(function*(){r.langs=r.translate.getLangs(),console.log("langs"),console.log(r.langs);let e=r.localStorage.getItem("current_language");r.defaultLang=e&&null!=e?e:r.translate.getDefaultLang(),console.log("default"),console.log(r.defaultLang);let a=r.localStorage.getObject("login_items");if(console.log(a),"{}"!=JSON.stringify(a)&&a.expire-s2().unix()-4>0){r.loginInfo=a,r.is_logged=!0,r.orgs=a.organizations,console.log("--roles"),console.log(a.roles);for(let t=0;ti.id==a.logged_as);console.log("loggedOrg"),console.log(t),r.loggedAsOrg=!0,r.username=t.name,r.usercharacters=t.name.slice(0,2).toUpperCase(),r.email=t.description;for(let i=0;i{"ToggleCartDrawer"===t.type&&(r.showCart=!1,r.cdr.detectChanges())}),r.eventMessage.messages$.subscribe(t=>{if("LoginProcess"===t.type){let i=r.localStorage.getObject("login_items");if("{}"!=JSON.stringify(i)&&i.expire-s2().unix()-4>0){r.loginInfo=i,r.is_logged=!0,r.cdr.detectChanges(),r.orgs=i.organizations;for(let l=0;ld.id==i.logged_as);console.log("loggedOrg"),console.log(l),r.loggedAsOrg=!0,r.username=l.name,r.usercharacters=l.name.slice(0,2).toUpperCase(),r.email=l.description;for(let d=0;d{class c{constructor(){}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275cmp=V1({type:c,selectors:[["bae-footer"]],decls:18,vars:12,consts:[[1,"fixed","bottom-0","left-0","z-10","h-[25px]","w-full","p-4","bg-white","border-t","border-gray-200","shadow","md:flex","md:items-center","md:justify-end","md:p-6","dark:bg-gray-800","dark:border-gray-600"],[1,"flex","flex-wrap","items-center","mt-3","text-sm","font-medium","text-gray-500","dark:text-gray-400","sm:mt-0"],["href","../assets/documents/privacy.pdf","target","_blank",1,"mr-4","hover:underline","md:mr-6"],["href","../assets/documents/cookies.pdf","target","_blank",1,"mr-4","hover:underline","md:mr-6"],["href","../assets/documents/terms.pdf","target","_blank",1,"mr-4","hover:underline","md:mr-6"],["href","https://app.getonepass.eu/invite/8Zw5HETsNr","target","_blank",1,"hover:underline"]],template:function(a,t){1&a&&(o(0,"footer",0)(1,"ul",1)(2,"li")(3,"a",2),f(4),m(5,"translate"),n()(),o(6,"li")(7,"a",3),f(8),m(9,"translate"),n()(),o(10,"li")(11,"a",4),f(12),m(13,"translate"),n()(),o(14,"li")(15,"a",5),f(16),m(17,"translate"),n()()()()),2&a&&(s(4),H(_(5,4,"FOOTER._privacy")),s(4),H(_(9,6,"FOOTER._cookies")),s(4),H(_(13,8,"FOOTER._licensing")),s(4),H(_(17,10,"FOOTER._contact")))},dependencies:[X1]})}return c})();function sT2(c,r){if(1&c){const e=j();o(0,"div",2)(1,"div",5)(2,"div",6),v(3,"img",7),n(),o(4,"div",8)(5,"h4",9),f(6,"DOME support"),n(),o(7,"p",10),f(8,"Hi. My name is DomeGPT. How can I help you?"),n()()(),v(9,"div",11),o(10,"div",12)(11,"input",13),C("keyup",function(t){return y(e),b(h().onKeyUp(t))}),n(),o(12,"button",14),C("click",function(){return y(e),b(h().onSendButton())}),f(13,"Send"),n()()()}2&c&&k("ngClass",h().state?"chatbox__support chatbox--active":"")}let lT2=(()=>{class c{constructor(e,a,t){this.cdr=e,this.el=a,this.localStorage=t}ngOnInit(){this.chatbox=this.el.nativeElement.querySelector(".chatbox__support"),this.state=!1,this.messages=[]}onKeyUp(e){"Enter"===e.key&&this.onSendButton()}toggleState(){this.state=!this.state,this.cdr.detectChanges(),this.chatbox=this.el.nativeElement.querySelector(".chatbox__support")}onSendButton(){const e=this.chatbox.querySelector("input");let a=e.value;if(""===a)return;let t="guest",i="Customer";const l=this.localStorage.getObject("login_items");if(l.id){let u=[];i="Customer",t=l.username,u=l.logged_as!==l.id?l.organizations.find(z=>z.id==l.logged_as).roles.map(z=>z.name):l.roles.map(p=>p.name),u.includes("seller")&&(i="Provider")}this.messages.push({name:t,message:a,role:i}),this.updateChatText(),e.value="",fetch(m1.CHAT_API,{method:"POST",body:JSON.stringify({message:a,role:i}),mode:"cors",headers:{"Content-Type":"application/json"}}).then(u=>u.json()).then(u=>{this.messages.push({name:"DomeGPT",message:u.answer}),this.updateChatText()}).catch(u=>{console.error("Error:",u),this.updateChatText()})}updateChatText(){var e="";this.messages.slice().reverse().forEach(function(t,i){e+="DomeGPT"===t.name?'
'+t.message+"
":'
'+t.message+"
"}),this.chatbox.querySelector(".chatbox__messages").innerHTML=e,this.cdr.detectChanges()}static#e=this.\u0275fac=function(a){return new(a||c)(B(B1),B(C2),B(A1))};static#c=this.\u0275cmp=V1({type:c,selectors:[["app-chatbot-widget"]],standalone:!0,features:[C3],decls:6,vars:1,consts:[[1,"container","chatbot-widget","fixed","z-20",2,"bottom","30px","right","0"],[1,"chatbox"],[1,"chatbox__support",3,"ngClass"],[1,"chatbox__button",3,"click"],["src","assets/chatbot/images/chatbox-icon.svg"],[1,"chatbox__header"],[1,"chatbox__image--header"],["src","assets/chatbot/images/dome_logo.PNG","alt","image"],[1,"chatbox__content--header"],[1,"chatbox__heading--header"],[1,"chatbox__description--header"],[1,"chatbox__messages"],[1,"chatbox__footer"],["type","text","placeholder","Write a message...",3,"keyup"],[1,"chatbox__send--footer","chatbox-send__button",3,"click"]],template:function(a,t){1&a&&(o(0,"div",0)(1,"div",1),R(2,sT2,14,1,"div",2),o(3,"div",3),C("click",function(){return t.toggleState()}),o(4,"button"),v(5,"img",4),n()()()()),2&a&&(s(2),S(2,t.state?2:-1))},dependencies:[k2],styles:[".chatbot-widget,.chatbot-widget *{box-sizing:border-box;margin:0;padding:0}.chatbot-widget{font-family:Nunito,sans-serif;font-weight:400;font-size:100%;background:#f1f1f1}.chatbot-widget *{--primaryGradient: linear-gradient(93.12deg, #581B98 .52%, #9C1DE7 100%);--secondaryGradient: linear-gradient(268.91deg, #581B98 -2.14%, #9C1DE7 99.69%);--primaryBoxShadow: 0px 10px 15px rgba(0, 0, 0, .1);--secondaryBoxShadow: 0px -10px 15px rgba(0, 0, 0, .1);--primary: #581B98}@media screen and (max-width: 768px){.chatbox{position:fixed;bottom:2%;right:2%}}@media screen and (min-width: 768px){.chatbox{position:fixed;bottom:calc(2% + 50px);right:2%}}.chatbox__support{display:flex;flex-direction:column;background:#eee;width:80vw;max-width:400px;height:70vh;max-height:600px;z-index:-123456;opacity:0;transition:all .5s ease-in-out;border-radius:20px}.chatbox--active{transform:translateY(0);z-index:123456;opacity:1}.chatbox__button{text-align:right}.send__button{padding:6px;background:transparent;border:none;outline:none;cursor:pointer}.chatbox__header{position:sticky;top:0;background:orange}.chatbox__messages{margin-top:auto;display:flex;overflow-y:scroll;flex-direction:column-reverse}.messages__item{background:orange;max-width:85%;width:-moz-fit-content;width:fit-content}.messages__item--operator{margin-left:auto}.messages__item--visitor{margin-right:auto}.chatbox__footer{position:sticky;bottom:0}.chatbox__support{background:#f9f9f9;box-shadow:0 0 15px #0000001a;border-top-left-radius:20px;border-top-right-radius:20px}.chatbox__header{background:var(--primaryGradient);display:flex;flex-direction:row;align-items:center;justify-content:center;padding:15px 20px;border-radius:20px 20px 0 0;box-shadow:var(--primaryBoxShadow)}.chatbox__image--header{margin-right:10px}.chatbox__heading--header{font-size:1.2rem;color:#fff}.chatbox__description--header{font-size:.9rem;color:#fff}.chatbox__messages{padding:0 20px}.messages__item{margin-top:10px;background:#e0e0e0;padding:8px 12px;max-width:85%}.messages__item--visitor,.messages__item--typing{border-top-left-radius:20px;border-top-right-radius:20px;border-bottom-right-radius:20px}.messages__item--operator{border-top-left-radius:20px;border-top-right-radius:20px;border-bottom-left-radius:20px;background:var(--primary);color:#fff}.chatbox__footer{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:20px;background:var(--secondaryGradient);box-shadow:var(--secondaryBoxShadow);border-bottom-right-radius:10px;border-bottom-left-radius:10px;margin-top:20px}.chatbox__footer input{width:80%;border:none;padding:10px;border-radius:30px;text-align:left}.chatbox__send--footer{color:#fff}.chatbox__button button,.chatbox__button button:focus,.chatbox__button button:visited{padding:10px;background:#fff;border:none;outline:none;border-top-left-radius:50px;border-top-right-radius:50px;border-bottom-left-radius:50px;box-shadow:0 10px 15px #0000001a;cursor:pointer}.question-container{margin:50px 0 50px 20px;padding:20px;width:50%;background:#fff;border-radius:10px;box-shadow:0 10px 15px #0000001a;font-family:Nunito,sans-serif;display:flex;flex-direction:column;align-items:center;text-align:center}.question-container label{font-size:1.5rem;color:#333;margin-bottom:20px}.question-container select{padding:10px 15px;border-radius:5px;border:1px solid #ccc;font-size:1.2rem;font-family:Nunito,sans-serif;margin-bottom:20px}.question-container .question-image{max-width:80%;height:auto;border-radius:10px}@media (max-width: 600px){.chatbox__support{width:100vw;height:50vh;bottom:0;right:0;border-top-left-radius:0;border-top-right-radius:0}.question-container{width:90%}}\n"],encapsulation:2})}return c})();var eK={prefix:"far",iconName:"shield-check",icon:[512,512,[],"f2f7","M73 127L256 49.4 439 127c5.9 2.5 9.1 7.8 9 12.8c-.4 91.4-38.4 249.3-186.3 320.1c-3.6 1.7-7.8 1.7-11.3 0C102.4 389 64.5 231.2 64 139.7c0-5 3.1-10.2 9-12.8zM457.7 82.8L269.4 2.9C265.2 1 260.7 0 256 0s-9.2 1-13.4 2.9L54.3 82.8c-22 9.3-38.4 31-38.3 57.2c.5 99.2 41.3 280.7 213.6 363.2c16.7 8 36.1 8 52.8 0C454.8 420.7 495.5 239.2 496 140c.1-26.2-16.3-47.9-38.3-57.2zM369 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-111 111-47-47c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l64 64c9.4 9.4 24.6 9.4 33.9 0L369 209z"]},e11={prefix:"far",iconName:"lock-open",icon:[576,512,[],"f3c1","M352 128c0-44.2 35.8-80 80-80s80 35.8 80 80v72c0 13.3 10.7 24 24 24s24-10.7 24-24V128C560 57.3 502.7 0 432 0S304 57.3 304 128v64H64c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V256c0-35.3-28.7-64-64-64H352V128zM64 240H384c8.8 0 16 7.2 16 16V448c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16V256c0-8.8 7.2-16 16-16z"]},av={prefix:"far",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"]},Q41={prefix:"far",iconName:"filter-list",icon:[512,512,[],"e17c","M41.2 64C18.5 64 0 82.5 0 105.2c0 10.4 3.9 20.4 11 28.1l93 100.1v126c0 13.4 6.7 26 18 33.4l75.5 49.8c5.3 3.5 11.6 5.4 18 5.4c18 0 32.6-14.6 32.6-32.6v-182l93-100.1c7.1-7.6 11-17.6 11-28.1C352 82.5 333.5 64 310.8 64H41.2zM145.6 207.7L56.8 112H295.2l-88.8 95.7c-4.1 4.4-6.4 10.3-6.4 16.3V386.8l-48-31.7V224c0-6.1-2.3-11.9-6.4-16.3zM344 392c-13.3 0-24 10.7-24 24s10.7 24 24 24H488c13.3 0 24-10.7 24-24s-10.7-24-24-24H344zM320 256c0 13.3 10.7 24 24 24H488c13.3 0 24-10.7 24-24s-10.7-24-24-24H344c-13.3 0-24 10.7-24 24zM408 72c-13.3 0-24 10.7-24 24s10.7 24 24 24h80c13.3 0 24-10.7 24-24s-10.7-24-24-24H408z"]},$9={prefix:"fas",iconName:"atom",icon:[512,512,[9883],"f5d2","M256 398.8c-11.8 5.1-23.4 9.7-34.9 13.5c16.7 33.8 31 35.7 34.9 35.7s18.1-1.9 34.9-35.7c-11.4-3.9-23.1-8.4-34.9-13.5zM446 256c33 45.2 44.3 90.9 23.6 128c-20.2 36.3-62.5 49.3-115.2 43.2c-22 52.1-55.6 84.8-98.4 84.8s-76.4-32.7-98.4-84.8c-52.7 6.1-95-6.8-115.2-43.2C21.7 346.9 33 301.2 66 256c-33-45.2-44.3-90.9-23.6-128c20.2-36.3 62.5-49.3 115.2-43.2C179.6 32.7 213.2 0 256 0s76.4 32.7 98.4 84.8c52.7-6.1 95 6.8 115.2 43.2c20.7 37.1 9.4 82.8-23.6 128zm-65.8 67.4c-1.7 14.2-3.9 28-6.7 41.2c31.8 1.4 38.6-8.7 40.2-11.7c2.3-4.2 7-17.9-11.9-48.1c-6.8 6.3-14 12.5-21.6 18.6zm-6.7-175.9c2.8 13.1 5 26.9 6.7 41.2c7.6 6.1 14.8 12.3 21.6 18.6c18.9-30.2 14.2-44 11.9-48.1c-1.6-2.9-8.4-13-40.2-11.7zM290.9 99.7C274.1 65.9 259.9 64 256 64s-18.1 1.9-34.9 35.7c11.4 3.9 23.1 8.4 34.9 13.5c11.8-5.1 23.4-9.7 34.9-13.5zm-159 88.9c1.7-14.3 3.9-28 6.7-41.2c-31.8-1.4-38.6 8.7-40.2 11.7c-2.3 4.2-7 17.9 11.9 48.1c6.8-6.3 14-12.5 21.6-18.6zM110.2 304.8C91.4 335 96 348.7 98.3 352.9c1.6 2.9 8.4 13 40.2 11.7c-2.8-13.1-5-26.9-6.7-41.2c-7.6-6.1-14.8-12.3-21.6-18.6zM336 256a80 80 0 1 0 -160 0 80 80 0 1 0 160 0zm-80-32a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},Y51={prefix:"fas",iconName:"cloud",icon:[640,512,[9729],"f0c2","M0 336c0 79.5 64.5 144 144 144H512c70.7 0 128-57.3 128-128c0-61.9-44-113.6-102.4-125.4c4.1-10.7 6.4-22.4 6.4-34.6c0-53-43-96-96-96c-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32C167.6 32 96 103.6 96 192c0 2.7 .1 5.4 .2 8.1C40.2 219.8 0 273.2 0 336z"]},Kv={prefix:"fas",iconName:"arrow-progress",icon:[512,512,[],"e5df","M448 128A64 64 0 1 0 448 0a64 64 0 1 0 0 128zM128 32C57.3 32 0 89.3 0 160s57.3 128 128 128H384c35.3 0 64 28.7 64 64c0 27.9-17.9 51.7-42.8 60.4c-11.5-17.1-31-28.4-53.2-28.4c-35.3 0-64 28.7-64 64s28.7 64 64 64c24.7 0 46.1-14 56.8-34.4C467.6 466.1 512 414.2 512 352c0-70.7-57.3-128-128-128H128c-35.3 0-64-28.7-64-64s28.7-64 64-64H256v14.1c0 9.9 8 17.9 17.9 17.9c4 0 7.8-1.3 11-3.8l60.8-47.3c4-3.1 6.3-7.9 6.3-12.9s-2.3-9.8-6.3-12.9L284.8 3.8c-3.1-2.4-7-3.8-11-3.8C264 0 256 8 256 17.9V32H128zm-8.6 384c-11.1-19.1-31.7-32-55.4-32c-35.3 0-64 28.7-64 64s28.7 64 64 64c23.7 0 44.4-12.9 55.4-32H160v14.1c0 9.9 8 17.9 17.9 17.9c4 0 7.8-1.3 11-3.8l60.8-47.3c4-3.1 6.3-7.9 6.3-12.9s-2.3-9.8-6.3-12.9l-60.8-47.3c-3.1-2.4-7-3.8-11-3.8c-9.9 0-17.9 8-17.9 17.9V416H119.4z"]},_0={prefix:"fas",iconName:"swatchbook",icon:[512,512,[],"f5c3","M0 32C0 14.3 14.3 0 32 0H160c17.7 0 32 14.3 32 32V416c0 53-43 96-96 96s-96-43-96-96V32zM223.6 425.9c.3-3.3 .4-6.6 .4-9.9V154l75.4-75.4c12.5-12.5 32.8-12.5 45.3 0l90.5 90.5c12.5 12.5 12.5 32.8 0 45.3L223.6 425.9zM182.8 512l192-192H480c17.7 0 32 14.3 32 32V480c0 17.7-14.3 32-32 32H182.8zM128 64H64v64h64V64zM64 192v64h64V192H64zM96 440a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},aH={prefix:"fas",iconName:"sparkles",icon:[512,512,[10024],"f890","M327.5 85.2c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L384 128l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L448 128l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L448 64 426.8 7.5C425.1 3 420.8 0 416 0s-9.1 3-10.8 7.5L384 64 327.5 85.2zM205.1 73.3c-2.6-5.7-8.3-9.3-14.5-9.3s-11.9 3.6-14.5 9.3L123.3 187.3 9.3 240C3.6 242.6 0 248.3 0 254.6s3.6 11.9 9.3 14.5l114.1 52.7L176 435.8c2.6 5.7 8.3 9.3 14.5 9.3s11.9-3.6 14.5-9.3l52.7-114.1 114.1-52.7c5.7-2.6 9.3-8.3 9.3-14.5s-3.6-11.9-9.3-14.5L257.8 187.4 205.1 73.3zM384 384l-56.5 21.2c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L384 448l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L448 448l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L448 384l-21.2-56.5c-1.7-4.5-6-7.5-10.8-7.5s-9.1 3-10.8 7.5L384 384z"]},rH={prefix:"fas",iconName:"globe",icon:[512,512,[127760],"f0ac","M352 256c0 22.2-1.2 43.6-3.3 64H163.3c-2.2-20.4-3.3-41.8-3.3-64s1.2-43.6 3.3-64H348.7c2.2 20.4 3.3 41.8 3.3 64zm28.8-64H503.9c5.3 20.5 8.1 41.9 8.1 64s-2.8 43.5-8.1 64H380.8c2.1-20.6 3.2-42 3.2-64s-1.1-43.4-3.2-64zm112.6-32H376.7c-10-63.9-29.8-117.4-55.3-151.6c78.3 20.7 142 77.5 171.9 151.6zm-149.1 0H167.7c6.1-36.4 15.5-68.6 27-94.7c10.5-23.6 22.2-40.7 33.5-51.5C239.4 3.2 248.7 0 256 0s16.6 3.2 27.8 13.8c11.3 10.8 23 27.9 33.5 51.5c11.6 26 20.9 58.2 27 94.7zm-209 0H18.6C48.6 85.9 112.2 29.1 190.6 8.4C165.1 42.6 145.3 96.1 135.3 160zM8.1 192H131.2c-2.1 20.6-3.2 42-3.2 64s1.1 43.4 3.2 64H8.1C2.8 299.5 0 278.1 0 256s2.8-43.5 8.1-64zM194.7 446.6c-11.6-26-20.9-58.2-27-94.6H344.3c-6.1 36.4-15.5 68.6-27 94.6c-10.5 23.6-22.2 40.7-33.5 51.5C272.6 508.8 263.3 512 256 512s-16.6-3.2-27.8-13.8c-11.3-10.8-23-27.9-33.5-51.5zM135.3 352c10 63.9 29.8 117.4 55.3 151.6C112.2 482.9 48.6 426.1 18.6 352H135.3zm358.1 0c-30 74.1-93.6 130.9-171.9 151.6c25.5-34.2 45.2-87.7 55.3-151.6H493.4z"]},J9={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},el={prefix:"fas",iconName:"shield-halved",icon:[512,512,["shield-alt"],"f3ed","M256 0c4.6 0 9.2 1 13.4 2.9L457.7 82.8c22 9.3 38.4 31 38.3 57.2c-.5 99.2-41.3 280.7-213.6 363.2c-16.7 8-36.1 8-52.8 0C57.3 420.7 16.5 239.2 16 140c-.1-26.2 16.3-47.9 38.3-57.2L242.7 2.9C246.8 1 251.4 0 256 0zm0 66.8V444.8C394 378 431.1 230.1 432 141.4L256 66.8l0 0z"]},j6={prefix:"fas",iconName:"sort",icon:[320,512,["unsorted"],"f0dc","M137.4 41.4c12.5-12.5 32.8-12.5 45.3 0l128 128c9.2 9.2 11.9 22.9 6.9 34.9s-16.6 19.8-29.6 19.8H32c-12.9 0-24.6-7.8-29.6-19.8s-2.2-25.7 6.9-34.9l128-128zm0 429.3l-128-128c-9.2-9.2-11.9-22.9-6.9-34.9s16.6-19.8 29.6-19.8H288c12.9 0 24.6 7.8 29.6 19.8s2.2 25.7-6.9 34.9l-128 128c-12.5 12.5-32.8 12.5-45.3 0z"]},Pt1={prefix:"fas",iconName:"leaf",icon:[512,512,[],"f06c","M272 96c-78.6 0-145.1 51.5-167.7 122.5c33.6-17 71.5-26.5 111.7-26.5h88c8.8 0 16 7.2 16 16s-7.2 16-16 16H288 216s0 0 0 0c-16.6 0-32.7 1.9-48.3 5.4c-25.9 5.9-49.9 16.4-71.4 30.7c0 0 0 0 0 0C38.3 298.8 0 364.9 0 440v16c0 13.3 10.7 24 24 24s24-10.7 24-24V440c0-48.7 20.7-92.5 53.8-123.2C121.6 392.3 190.3 448 272 448l1 0c132.1-.7 239-130.9 239-291.4c0-42.6-7.5-83.1-21.1-119.6c-2.6-6.9-12.7-6.6-16.2-.1C455.9 72.1 418.7 96 376 96L272 96z"]},CH={prefix:"fas",iconName:"object-exclude",icon:[512,512,[],"e49c","M0 64C0 28.7 28.7 0 64 0H288c35.3 0 64 28.7 64 64v96h96c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H224c-35.3 0-64-28.7-64-64V352H64c-35.3 0-64-28.7-64-64V64zM320 192H192V320H320V192z"]},$o1={prefix:"fas",iconName:"tag",icon:[448,512,[127991],"f02b","M0 80V229.5c0 17 6.7 33.3 18.7 45.3l176 176c25 25 65.5 25 90.5 0L418.7 317.3c25-25 25-65.5 0-90.5l-176-176c-12-12-28.3-18.7-45.3-18.7H48C21.5 32 0 53.5 0 80zm112 32a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},Ko1={prefix:"fas",iconName:"circle-nodes",icon:[512,512,[],"e4e2","M418.4 157.9c35.3-8.3 61.6-40 61.6-77.9c0-44.2-35.8-80-80-80c-43.4 0-78.7 34.5-80 77.5L136.2 151.1C121.7 136.8 101.9 128 80 128c-44.2 0-80 35.8-80 80s35.8 80 80 80c12.2 0 23.8-2.7 34.1-7.6L259.7 407.8c-2.4 7.6-3.7 15.8-3.7 24.2c0 44.2 35.8 80 80 80s80-35.8 80-80c0-27.7-14-52.1-35.4-66.4l37.8-207.7zM156.3 232.2c2.2-6.9 3.5-14.2 3.7-21.7l183.8-73.5c3.6 3.5 7.4 6.7 11.6 9.5L317.6 354.1c-5.5 1.3-10.8 3.1-15.8 5.5L156.3 232.2z"]},EH={prefix:"fas",iconName:"swap",icon:[640,512,[],"e609","M237 141.6c-5.3 11.2-16.6 18.4-29 18.4H160V352c0 35.3 28.7 64 64 64s64-28.7 64-64V160c0-70.7 57.3-128 128-128s128 57.3 128 128V352h48c12.4 0 23.7 7.2 29 18.4s3.6 24.5-4.4 34.1l-80 96c-6.1 7.3-15.1 11.5-24.6 11.5s-18.5-4.2-24.6-11.5l-80-96c-7.9-9.5-9.7-22.8-4.4-34.1s16.6-18.4 29-18.4h48V160c0-35.3-28.7-64-64-64s-64 28.7-64 64V352c0 70.7-57.3 128-128 128s-128-57.3-128-128V160l-48 0c-12.4 0-23.7-7.2-29-18.4s-3.6-24.5 4.4-34.1l80-96C109.5 4.2 118.5 0 128 0s18.5 4.2 24.6 11.5l80 96c7.9 9.5 9.7 22.8 4.4 34.1z"]},AH={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},$6={prefix:"fas",iconName:"id-card",icon:[576,512,[62147,"drivers-license"],"f2c2","M0 96l576 0c0-35.3-28.7-64-64-64H64C28.7 32 0 60.7 0 96zm0 32V416c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V128H0zM64 405.3c0-29.5 23.9-53.3 53.3-53.3H234.7c29.5 0 53.3 23.9 53.3 53.3c0 5.9-4.8 10.7-10.7 10.7H74.7c-5.9 0-10.7-4.8-10.7-10.7zM176 192a64 64 0 1 1 0 128 64 64 0 1 1 0-128zm176 16c0-8.8 7.2-16 16-16H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16zm0 64c0-8.8 7.2-16 16-16H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16zm0 64c0-8.8 7.2-16 16-16H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16z"]},ol={prefix:"fas",iconName:"arrow-right-arrow-left",icon:[448,512,[8644,"exchange"],"f0ec","M438.6 150.6c12.5-12.5 12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.7 96 32 96C14.3 96 0 110.3 0 128s14.3 32 32 32l306.7 0-41.4 41.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l96-96zm-333.3 352c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 416 416 416c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0 41.4-41.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3l96 96z"]},jH={prefix:"fas",iconName:"ellipsis",icon:[448,512,["ellipsis-h"],"f141","M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z"]},ZH={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},pl1={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},jl1={prefix:"fas",iconName:"hammer",icon:[576,512,[128296],"f6e3","M413.5 237.5c-28.2 4.8-58.2-3.6-80-25.4l-38.1-38.1C280.4 159 272 138.8 272 117.6V105.5L192.3 62c-5.3-2.9-8.6-8.6-8.3-14.7s3.9-11.5 9.5-14l47.2-21C259.1 4.2 279 0 299.2 0h18.1c36.7 0 72 14 98.7 39.1l44.6 42c24.2 22.8 33.2 55.7 26.6 86L503 183l8-8c9.4-9.4 24.6-9.4 33.9 0l24 24c9.4 9.4 9.4 24.6 0 33.9l-88 88c-9.4 9.4-24.6 9.4-33.9 0l-24-24c-9.4-9.4-9.4-24.6 0-33.9l8-8-17.5-17.5zM27.4 377.1L260.9 182.6c3.5 4.9 7.5 9.6 11.8 14l38.1 38.1c6 6 12.4 11.2 19.2 15.7L134.9 484.6c-14.5 17.4-36 27.4-58.6 27.4C34.1 512 0 477.8 0 435.7c0-22.6 10.1-44.1 27.4-58.6z"]},hl={prefix:"fas",iconName:"scale-balanced",icon:[640,512,[9878,"balance-scale"],"f24e","M384 32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H398.4c-5.2 25.8-22.9 47.1-46.4 57.3V448H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H320 128c-17.7 0-32-14.3-32-32s14.3-32 32-32H288V153.3c-23.5-10.3-41.2-31.6-46.4-57.3H128c-17.7 0-32-14.3-32-32s14.3-32 32-32H256c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32zm55.6 288H584.4L512 195.8 439.6 320zM512 416c-62.9 0-115.2-34-126-78.9c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C627.2 382 574.9 416 512 416zM126.8 195.8L54.4 320H199.3L126.8 195.8zM.9 337.1c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C242 382 189.7 416 126.8 416S11.7 382 .9 337.1z"]},nC={prefix:"fas",iconName:"book",icon:[448,512,[128212],"f02d","M96 0C43 0 0 43 0 96V416c0 53 43 96 96 96H384h32c17.7 0 32-14.3 32-32s-14.3-32-32-32V384c17.7 0 32-14.3 32-32V32c0-17.7-14.3-32-32-32H384 96zm0 384H352v64H96c-17.7 0-32-14.3-32-32s14.3-32 32-32zm32-240c0-8.8 7.2-16 16-16H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16zm16 48H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]};const PN3=(c,r)=>r.id;function RN3(c,r){if(1&c){const e=j();o(0,"span",5)(1,"span",6),v(2,"fa-icon",3),f(3),n(),o(4,"button",7),C("click",function(){const t=y(e).$implicit;return b(h(2).notifyDismiss(t))}),w(),o(5,"svg",8),v(6,"path",9),n(),O(),o(7,"span",10),f(8),m(9,"translate"),n()()()}if(2&c){const e=r.$implicit,a=r.$index,t=h(2);D1("title",null==e?null:e.name),k("id","badge-dismiss-"+a),s(2),k("icon",t.faTag),s(),H(null==e?null:e.name),s(),A2("data-dismiss-target","#badge-dismiss-"+a),s(4),H(_(9,6,"CATEGORIES_FILTER._remove_badge"))}}function BN3(c,r){1&c&&c1(0,RN3,10,8,"span",5,PN3),2&c&&a1(h().selected)}let mC=(()=>{class c{constructor(e,a){this.localStorage=e,this.eventMessage=a,this.selected=[],this.faAddressCard=La,this.faFilterList=Q41,this.faTag=$o1,this.selected=[],this.eventMessage.messages$.subscribe(t=>{if("AddedFilter"===t.type){const i=t.value;-1==this.selected.findIndex(d=>d.id===i.id)&&this.selected.push(t.value)}else if("RemovedFilter"===t.type){const i=t.value,l=this.selected.findIndex(d=>d.id===i.id);l>-1&&this.selected.splice(l,1)}})}ngOnInit(){const e=this.localStorage.getObject("selected_categories");this.selected=Array.isArray(e)?e:[]}notifyDismiss(e){console.log("Category dismissed: "+JSON.stringify(e)),this.localStorage.removeCategoryFilter(e),this.eventMessage.emitRemovedFilter(e)}static#e=this.\u0275fac=function(a){return new(a||c)(B(A1),B(e2))};static#c=this.\u0275cmp=V1({type:c,selectors:[["bae-categories-panel"]],standalone:!0,features:[C3],decls:8,vars:5,consts:[[1,"bg-indigo-300"],["id","chips",1,"flex","justify-center","items-center","min-h-[58px]","p-2"],[1,"mr-4","ml-2","min-w-fit"],[1,"mr-2",3,"icon"],[1,"overflow-x-auto","max-h-[46px]","inline-flex"],[1,"inline-flex","min-w-fit","mb-1","justify-between","items-center","px-2","py-1","me-2","text-xs","font-medium","text-primary-100","border","border-1","border-primary-100","bg-secondary-50","rounded","dark:bg-secondary-100","dark:text-secondary-50",3,"id","title"],[1,"line-clamp-1","min-w-fit"],["type","button","aria-label","Remove",1,"inline-flex","items-center","p-1","ms-2","text-sm","text-primary-100","dark:text-secondary-50","bg-transparent","rounded-sm","hover:bg-primary-100","hover:text-secondary-50","dark:hover:bg-primary-50","dark:hover:text-primary-100",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-2","h-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"],[1,"sr-only"]],template:function(a,t){1&a&&(o(0,"div",0)(1,"div",1)(2,"span",2),v(3,"fa-icon",3),f(4),m(5,"translate"),n(),o(6,"div",4),R(7,BN3,2,0),n()()()),2&a&&(s(3),k("icon",t.faFilterList),s(),H(_(5,3,"CATEGORIES_FILTER._applied_filters")),s(3),S(7,t.selected.length>0?7:-1))},dependencies:[ps,X1,B4]})}return c})(),ON3=(()=>{class c{constructor(e,a,t,i,l,d,u){this.translate=e,this.localStorage=a,this.eventMessage=t,this.route=i,this.router=l,this.api=d,this.refreshApi=u,this.title="DOME Marketplace",this.showPanel=!1,this.translate.addLangs(["en","es"]),this.translate.setDefaultLang("es");let p=this.localStorage.getItem("current_language");p&&null!=p?this.translate.use(p):(this.localStorage.setItem("current_language",""),this.translate.use("es")),this.localStorage.getObject("selected_categories")||this.localStorage.setObject("selected_categories",[]),this.eventMessage.messages$.subscribe(z=>{("AddedFilter"===z.type||"RemovedFilter"===z.type)&&this.checkPanel()})}ngOnInit(){S1(),this.localStorage.getObject("selected_categories")||this.localStorage.setObject("selected_categories",[]),this.localStorage.getObject("cart_items")||this.localStorage.setObject("cart_items",[]),this.localStorage.getObject("login_items")||this.localStorage.setObject("login_items",{}),this.checkPanel(),this.eventMessage.messages$.subscribe(a=>{if("LoginProcess"===a.type){this.refreshApi.stopInterval();let t=a.value;console.log("STARTING INTERVAL"),console.log(t.expire),console.log(t.expire-s2().unix()-4),this.refreshApi.startInterval(1e3*(t.expire-s2().unix()-4),a)}});let e=this.localStorage.getObject("login_items");"{}"===JSON.stringify(e)||e.expire-s2().unix()-4>0&&(this.refreshApi.stopInterval(),this.refreshApi.startInterval(1e3*(e.expire-s2().unix()-4),e),console.log("token"),console.log(e.token))}checkPanel(){const e=this.localStorage.getObject("selected_categories")||[],a=this.showPanel;this.showPanel=e.length>0,this.showPanel!=a&&(this.eventMessage.emitFilterShown(this.showPanel),this.localStorage.setItem("is_filter_panel_shown",this.showPanel.toString()))}static#e=this.\u0275fac=function(a){return new(a||c)(B(la),B(A1),B(e2),B(j3),B(Q1),B(p1),B(rN))};static#c=this.\u0275cmp=V1({type:c,selectors:[["app-root"]],decls:6,vars:2,consts:[[1,"fixed","w-full","z-50","top-0","start-0"],[1,"fixed","z-30","w-full","top-[72px]","transition","transform","opacity-0","duration-200",3,"ngClass"],[1,"bg-fixed","bg-no-repeat","bg-right","pb-[25px]",3,"ngClass"],[1,"relative"],[1,"hidden","md:block"]],template:function(a,t){1&a&&(v(0,"bae-header",0)(1,"bae-categories-panel",1),o(2,"main",2),v(3,"router-outlet"),n(),v(4,"app-chatbot-widget",3)(5,"bae-footer",4)),2&a&&(s(),k("ngClass",t.showPanel?"opacity-100":"hidden"),s(),k("ngClass",t.showPanel?"pt-[130px]":"pt-[75px]"))},dependencies:[k2,Sa,Vq,y_,lT2,mC],styles:[".bae-content[_ngcontent-%COMP%]{width:100%;min-height:calc(100vh - 100px)!important;padding-top:75px!important;padding-bottom:25px!important}"]})}return c})(),Kd1=(()=>{class c{constructor(e,a){this._renderer=e,this._elementRef=a,this.onChange=t=>{},this.onTouched=()=>{}}setProperty(e,a){this._renderer.setProperty(this._elementRef.nativeElement,e,a)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static#e=this.\u0275fac=function(a){return new(a||c)(B(T6),B(C2))};static#c=this.\u0275dir=U1({type:c})}return c})(),g5=(()=>{class c extends Kd1{static#e=this.\u0275fac=(()=>{let e;return function(t){return(e||(e=b4(c)))(t||c)}})();static#c=this.\u0275dir=U1({type:c,features:[$2]})}return c})();const W0=new H1(""),IN3={provide:W0,useExisting:E2(()=>_C),multi:!0};let _C=(()=>{class c extends g5{writeValue(e){this.setProperty("checked",e)}static#e=this.\u0275fac=(()=>{let e;return function(t){return(e||(e=b4(c)))(t||c)}})();static#c=this.\u0275dir=U1({type:c,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(a,t){1&a&&C("change",function(l){return t.onChange(l.target.checked)})("blur",function(){return t.onTouched()})},features:[u4([IN3]),$2]})}return c})();const UN3={provide:W0,useExisting:E2(()=>H4),multi:!0},$N3=new H1("");let H4=(()=>{class c extends Kd1{constructor(e,a,t){super(e,a),this._compositionMode=t,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function jN3(){const c=a8()?a8().getUserAgent():"";return/android (\d+)/.test(c.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static#e=this.\u0275fac=function(a){return new(a||c)(B(T6),B(C2),B($N3,8))};static#c=this.\u0275dir=U1({type:c,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(a,t){1&a&&C("input",function(l){return t._handleInput(l.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(l){return t._compositionEnd(l.target.value)})},features:[u4([UN3]),$2]})}return c})();function L8(c){return null==c||("string"==typeof c||Array.isArray(c))&&0===c.length}function Qd1(c){return null!=c&&"number"==typeof c.length}const M3=new H1(""),y8=new H1(""),YN3=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class O1{static min(r){return function Jd1(c){return r=>{if(L8(r.value)||L8(c))return null;const e=parseFloat(r.value);return!isNaN(e)&&e{if(L8(r.value)||L8(c))return null;const e=parseFloat(r.value);return!isNaN(e)&&e>c?{max:{max:c,actual:r.value}}:null}}(r)}static required(r){return eu1(r)}static requiredTrue(r){return function cu1(c){return!0===c.value?null:{required:!0}}(r)}static email(r){return function au1(c){return L8(c.value)||YN3.test(c.value)?null:{email:!0}}(r)}static minLength(r){return function ru1(c){return r=>L8(r.value)||!Qd1(r.value)?null:r.value.lengthQd1(r.value)&&r.value.length>c?{maxlength:{requiredLength:c,actualLength:r.value.length}}:null}(r)}static pattern(r){return iu1(r)}static nullValidator(r){return null}static compose(r){return du1(r)}static composeAsync(r){return uu1(r)}}function eu1(c){return L8(c.value)?{required:!0}:null}function iu1(c){if(!c)return _l;let r,e;return"string"==typeof c?(e="","^"!==c.charAt(0)&&(e+="^"),e+=c,"$"!==c.charAt(c.length-1)&&(e+="$"),r=new RegExp(e)):(e=c.toString(),r=c),a=>{if(L8(a.value))return null;const t=a.value;return r.test(t)?null:{pattern:{requiredPattern:e,actualValue:t}}}}function _l(c){return null}function ou1(c){return null!=c}function nu1(c){return kr(c)?k4(c):c}function su1(c){let r={};return c.forEach(e=>{r=null!=e?{...r,...e}:r}),0===Object.keys(r).length?null:r}function lu1(c,r){return r.map(e=>e(c))}function fu1(c){return c.map(r=>function GN3(c){return!c.validate}(r)?r:e=>r.validate(e))}function du1(c){if(!c)return null;const r=c.filter(ou1);return 0==r.length?null:function(e){return su1(lu1(e,r))}}function pC(c){return null!=c?du1(fu1(c)):null}function uu1(c){if(!c)return null;const r=c.filter(ou1);return 0==r.length?null:function(e){return Jm(lu1(e,r).map(nu1)).pipe(J1(su1))}}function gC(c){return null!=c?uu1(fu1(c)):null}function hu1(c,r){return null===c?[r]:Array.isArray(c)?[...c,r]:[c,r]}function mu1(c){return c._rawValidators}function _u1(c){return c._rawAsyncValidators}function vC(c){return c?Array.isArray(c)?c:[c]:[]}function pl(c,r){return Array.isArray(c)?c.includes(r):c===r}function pu1(c,r){const e=vC(r);return vC(c).forEach(t=>{pl(e,t)||e.push(t)}),e}function gu1(c,r){return vC(r).filter(e=>!pl(c,e))}class vu1{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(r){this._rawValidators=r||[],this._composedValidatorFn=pC(this._rawValidators)}_setAsyncValidators(r){this._rawAsyncValidators=r||[],this._composedAsyncValidatorFn=gC(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(r){this._onDestroyCallbacks.push(r)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(r=>r()),this._onDestroyCallbacks=[]}reset(r=void 0){this.control&&this.control.reset(r)}hasError(r,e){return!!this.control&&this.control.hasError(r,e)}getError(r,e){return this.control?this.control.getError(r,e):null}}class $3 extends vu1{get formDirective(){return null}get path(){return null}}class b8 extends vu1{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Hu1{constructor(r){this._cd=r}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let S4=(()=>{class c extends Hu1{constructor(e){super(e)}static#e=this.\u0275fac=function(a){return new(a||c)(B(b8,2))};static#c=this.\u0275dir=U1({type:c,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(a,t){2&a&&A6("ng-untouched",t.isUntouched)("ng-touched",t.isTouched)("ng-pristine",t.isPristine)("ng-dirty",t.isDirty)("ng-valid",t.isValid)("ng-invalid",t.isInvalid)("ng-pending",t.isPending)},features:[$2]})}return c})(),O4=(()=>{class c extends Hu1{constructor(e){super(e)}static#e=this.\u0275fac=function(a){return new(a||c)(B($3,10))};static#c=this.\u0275dir=U1({type:c,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(a,t){2&a&&A6("ng-untouched",t.isUntouched)("ng-touched",t.isTouched)("ng-pristine",t.isPristine)("ng-dirty",t.isDirty)("ng-valid",t.isValid)("ng-invalid",t.isInvalid)("ng-pending",t.isPending)("ng-submitted",t.isSubmitted)},features:[$2]})}return c})();const It="VALID",vl="INVALID",Na="PENDING",Ut="DISABLED";function zC(c){return(Hl(c)?c.validators:c)||null}function VC(c,r){return(Hl(r)?r.asyncValidators:c)||null}function Hl(c){return null!=c&&!Array.isArray(c)&&"object"==typeof c}class MC{constructor(r,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(r),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(r){this._rawValidators=this._composedValidatorFn=r}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(r){this._rawAsyncValidators=this._composedAsyncValidatorFn=r}get parent(){return this._parent}get valid(){return this.status===It}get invalid(){return this.status===vl}get pending(){return this.status==Na}get disabled(){return this.status===Ut}get enabled(){return this.status!==Ut}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(r){this._assignValidators(r)}setAsyncValidators(r){this._assignAsyncValidators(r)}addValidators(r){this.setValidators(pu1(r,this._rawValidators))}addAsyncValidators(r){this.setAsyncValidators(pu1(r,this._rawAsyncValidators))}removeValidators(r){this.setValidators(gu1(r,this._rawValidators))}removeAsyncValidators(r){this.setAsyncValidators(gu1(r,this._rawAsyncValidators))}hasValidator(r){return pl(this._rawValidators,r)}hasAsyncValidator(r){return pl(this._rawAsyncValidators,r)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(r={}){this.touched=!0,this._parent&&!r.onlySelf&&this._parent.markAsTouched(r)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(r=>r.markAllAsTouched())}markAsUntouched(r={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!r.onlySelf&&this._parent._updateTouched(r)}markAsDirty(r={}){this.pristine=!1,this._parent&&!r.onlySelf&&this._parent.markAsDirty(r)}markAsPristine(r={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!r.onlySelf&&this._parent._updatePristine(r)}markAsPending(r={}){this.status=Na,!1!==r.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!r.onlySelf&&this._parent.markAsPending(r)}disable(r={}){const e=this._parentMarkedDirty(r.onlySelf);this.status=Ut,this.errors=null,this._forEachChild(a=>{a.disable({...r,onlySelf:!0})}),this._updateValue(),!1!==r.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...r,skipPristineCheck:e}),this._onDisabledChange.forEach(a=>a(!0))}enable(r={}){const e=this._parentMarkedDirty(r.onlySelf);this.status=It,this._forEachChild(a=>{a.enable({...r,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:r.emitEvent}),this._updateAncestors({...r,skipPristineCheck:e}),this._onDisabledChange.forEach(a=>a(!1))}_updateAncestors(r){this._parent&&!r.onlySelf&&(this._parent.updateValueAndValidity(r),r.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(r){this._parent=r}getRawValue(){return this.value}updateValueAndValidity(r={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===It||this.status===Na)&&this._runAsyncValidator(r.emitEvent)),!1!==r.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!r.onlySelf&&this._parent.updateValueAndValidity(r)}_updateTreeValidity(r={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(r)),this.updateValueAndValidity({onlySelf:!0,emitEvent:r.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ut:It}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(r){if(this.asyncValidator){this.status=Na,this._hasOwnPendingAsyncValidator=!0;const e=nu1(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(a=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(a,{emitEvent:r})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(r,e={}){this.errors=r,this._updateControlsErrors(!1!==e.emitEvent)}get(r){let e=r;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((a,t)=>a&&a._find(t),this)}getError(r,e){const a=e?this.get(e):this;return a&&a.errors?a.errors[r]:null}hasError(r,e){return!!this.getError(r,e)}get root(){let r=this;for(;r._parent;)r=r._parent;return r}_updateControlsErrors(r){this.status=this._calculateStatus(),r&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(r)}_initObservables(){this.valueChanges=new Y1,this.statusChanges=new Y1}_calculateStatus(){return this._allControlsDisabled()?Ut:this.errors?vl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Na)?Na:this._anyControlsHaveStatus(vl)?vl:It}_anyControlsHaveStatus(r){return this._anyControls(e=>e.status===r)}_anyControlsDirty(){return this._anyControls(r=>r.dirty)}_anyControlsTouched(){return this._anyControls(r=>r.touched)}_updatePristine(r={}){this.pristine=!this._anyControlsDirty(),this._parent&&!r.onlySelf&&this._parent._updatePristine(r)}_updateTouched(r={}){this.touched=this._anyControlsTouched(),this._parent&&!r.onlySelf&&this._parent._updateTouched(r)}_registerOnCollectionChange(r){this._onCollectionChange=r}_setUpdateStrategy(r){Hl(r)&&null!=r.updateOn&&(this._updateOn=r.updateOn)}_parentMarkedDirty(r){return!r&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(r){return null}_assignValidators(r){this._rawValidators=Array.isArray(r)?r.slice():r,this._composedValidatorFn=function KN3(c){return Array.isArray(c)?pC(c):c||null}(this._rawValidators)}_assignAsyncValidators(r){this._rawAsyncValidators=Array.isArray(r)?r.slice():r,this._composedAsyncValidatorFn=function QN3(c){return Array.isArray(c)?gC(c):c||null}(this._rawAsyncValidators)}}class S2 extends MC{constructor(r,e,a){super(zC(e),VC(a,e)),this.controls=r,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(r,e){return this.controls[r]?this.controls[r]:(this.controls[r]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(r,e,a={}){this.registerControl(r,e),this.updateValueAndValidity({emitEvent:a.emitEvent}),this._onCollectionChange()}removeControl(r,e={}){this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),delete this.controls[r],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(r,e,a={}){this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),delete this.controls[r],e&&this.registerControl(r,e),this.updateValueAndValidity({emitEvent:a.emitEvent}),this._onCollectionChange()}contains(r){return this.controls.hasOwnProperty(r)&&this.controls[r].enabled}setValue(r,e={}){(function Vu1(c,r,e){c._forEachChild((a,t)=>{if(void 0===e[t])throw new l1(1002,"")})})(this,0,r),Object.keys(r).forEach(a=>{(function zu1(c,r,e){const a=c.controls;if(!(r?Object.keys(a):a).length)throw new l1(1e3,"");if(!a[e])throw new l1(1001,"")})(this,!0,a),this.controls[a].setValue(r[a],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(r,e={}){null!=r&&(Object.keys(r).forEach(a=>{const t=this.controls[a];t&&t.patchValue(r[a],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(r={},e={}){this._forEachChild((a,t)=>{a.reset(r?r[t]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(r,e,a)=>(r[a]=e.getRawValue(),r))}_syncPendingControls(){let r=this._reduceChildren(!1,(e,a)=>!!a._syncPendingControls()||e);return r&&this.updateValueAndValidity({onlySelf:!0}),r}_forEachChild(r){Object.keys(this.controls).forEach(e=>{const a=this.controls[e];a&&r(a,e)})}_setUpControls(){this._forEachChild(r=>{r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(r){for(const[e,a]of Object.entries(this.controls))if(this.contains(e)&&r(a))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,a,t)=>((a.enabled||this.disabled)&&(e[t]=a.value),e))}_reduceChildren(r,e){let a=r;return this._forEachChild((t,i)=>{a=e(a,t,i)}),a}_allControlsDisabled(){for(const r of Object.keys(this.controls))if(this.controls[r].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(r){return this.controls.hasOwnProperty(r)?this.controls[r]:null}}const v5=new H1("CallSetDisabledState",{providedIn:"root",factory:()=>jt}),jt="always";function Cl(c,r){return[...r.path,c]}function $t(c,r,e=jt){LC(c,r),r.valueAccessor.writeValue(c.value),(c.disabled||"always"===e)&&r.valueAccessor.setDisabledState?.(c.disabled),function eD3(c,r){r.valueAccessor.registerOnChange(e=>{c._pendingValue=e,c._pendingChange=!0,c._pendingDirty=!0,"change"===c.updateOn&&Mu1(c,r)})}(c,r),function aD3(c,r){const e=(a,t)=>{r.valueAccessor.writeValue(a),t&&r.viewToModelUpdate(a)};c.registerOnChange(e),r._registerOnDestroy(()=>{c._unregisterOnChange(e)})}(c,r),function cD3(c,r){r.valueAccessor.registerOnTouched(()=>{c._pendingTouched=!0,"blur"===c.updateOn&&c._pendingChange&&Mu1(c,r),"submit"!==c.updateOn&&c.markAsTouched()})}(c,r),function XN3(c,r){if(r.valueAccessor.setDisabledState){const e=a=>{r.valueAccessor.setDisabledState(a)};c.registerOnDisabledChange(e),r._registerOnDestroy(()=>{c._unregisterOnDisabledChange(e)})}}(c,r)}function zl(c,r,e=!0){const a=()=>{};r.valueAccessor&&(r.valueAccessor.registerOnChange(a),r.valueAccessor.registerOnTouched(a)),Ml(c,r),c&&(r._invokeOnDestroyCallbacks(),c._registerOnCollectionChange(()=>{}))}function Vl(c,r){c.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(r)})}function LC(c,r){const e=mu1(c);null!==r.validator?c.setValidators(hu1(e,r.validator)):"function"==typeof e&&c.setValidators([e]);const a=_u1(c);null!==r.asyncValidator?c.setAsyncValidators(hu1(a,r.asyncValidator)):"function"==typeof a&&c.setAsyncValidators([a]);const t=()=>c.updateValueAndValidity();Vl(r._rawValidators,t),Vl(r._rawAsyncValidators,t)}function Ml(c,r){let e=!1;if(null!==c){if(null!==r.validator){const t=mu1(c);if(Array.isArray(t)&&t.length>0){const i=t.filter(l=>l!==r.validator);i.length!==t.length&&(e=!0,c.setValidators(i))}}if(null!==r.asyncValidator){const t=_u1(c);if(Array.isArray(t)&&t.length>0){const i=t.filter(l=>l!==r.asyncValidator);i.length!==t.length&&(e=!0,c.setAsyncValidators(i))}}}const a=()=>{};return Vl(r._rawValidators,a),Vl(r._rawAsyncValidators,a),e}function Mu1(c,r){c._pendingDirty&&c.markAsDirty(),c.setValue(c._pendingValue,{emitModelToViewChange:!1}),r.viewToModelUpdate(c._pendingValue),c._pendingChange=!1}function Lu1(c,r){LC(c,r)}function bC(c,r){if(!c.hasOwnProperty("model"))return!1;const e=c.model;return!!e.isFirstChange()||!Object.is(r,e.currentValue)}function yu1(c,r){c._syncPendingControls(),r.forEach(e=>{const a=e.control;"submit"===a.updateOn&&a._pendingChange&&(e.viewToModelUpdate(a._pendingValue),a._pendingChange=!1)})}function xC(c,r){if(!r)return null;let e,a,t;return Array.isArray(r),r.forEach(i=>{i.constructor===H4?e=i:function iD3(c){return Object.getPrototypeOf(c.constructor)===g5}(i)?a=i:t=i}),t||a||e||null}const nD3={provide:$3,useExisting:E2(()=>Da)},Yt=Promise.resolve();let Da=(()=>{class c extends $3{constructor(e,a,t){super(),this.callSetDisabledState=t,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Y1,this.form=new S2({},pC(e),gC(a))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Yt.then(()=>{const a=this._findContainer(e.path);e.control=a.registerControl(e.name,e.control),$t(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Yt.then(()=>{const a=this._findContainer(e.path);a&&a.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Yt.then(()=>{const a=this._findContainer(e.path),t=new S2({});Lu1(t,e),a.registerControl(e.name,t),t.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Yt.then(()=>{const a=this._findContainer(e.path);a&&a.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,a){Yt.then(()=>{this.form.get(e.path).setValue(a)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,yu1(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static#e=this.\u0275fac=function(a){return new(a||c)(B(M3,10),B(y8,10),B(v5,8))};static#c=this.\u0275dir=U1({type:c,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(a,t){1&a&&C("submit",function(l){return t.onSubmit(l)})("reset",function(){return t.onReset()})},inputs:{options:[J2.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[u4([nD3]),$2]})}return c})();function bu1(c,r){const e=c.indexOf(r);e>-1&&c.splice(e,1)}function xu1(c){return"object"==typeof c&&null!==c&&2===Object.keys(c).length&&"value"in c&&"disabled"in c}const u1=class extends MC{constructor(r=null,e,a){super(zC(e),VC(a,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(r),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Hl(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=xu1(r)?r.value:r)}setValue(r,e={}){this.value=this._pendingValue=r,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(a=>a(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(r,e={}){this.setValue(r,e)}reset(r=this.defaultValue,e={}){this._applyFormState(r),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(r){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(r){this._onChange.push(r)}_unregisterOnChange(r){bu1(this._onChange,r)}registerOnDisabledChange(r){this._onDisabledChange.push(r)}_unregisterOnDisabledChange(r){bu1(this._onDisabledChange,r)}_forEachChild(r){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(r){xu1(r)?(this.value=this._pendingValue=r.value,r.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=r}},fD3={provide:b8,useExisting:E2(()=>Ll)},ku1=Promise.resolve();let Ll=(()=>{class c extends b8{constructor(e,a,t,i,l,d){super(),this._changeDetectorRef=l,this.callSetDisabledState=d,this.control=new u1,this._registered=!1,this.name="",this.update=new Y1,this._parent=e,this._setValidators(a),this._setAsyncValidators(t),this.valueAccessor=xC(0,i)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const a=e.name.previousValue;this.formDirective.removeControl({name:a,path:this._getPath(a)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),bC(e,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(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){$t(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()}_updateValue(e){ku1.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const a=e.isDisabled.currentValue,t=0!==a&&Jc(a);ku1.then(()=>{t&&!this.control.disabled?this.control.disable():!t&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?Cl(e,this._parent):[e]}static#e=this.\u0275fac=function(a){return new(a||c)(B($3,9),B(M3,10),B(y8,10),B(W0,10),B(B1,8),B(v5,8))};static#c=this.\u0275dir=U1({type:c,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[J2.None,"disabled","isDisabled"],model:[J2.None,"ngModel","model"],options:[J2.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[u4([fD3]),$2,A]})}return c})(),I4=(()=>{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275dir=U1({type:c,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return c})();const dD3={provide:W0,useExisting:E2(()=>Ta),multi:!0};let Ta=(()=>{class c extends g5{writeValue(e){this.setProperty("value",e??"")}registerOnChange(e){this.onChange=a=>{e(""==a?null:parseFloat(a))}}static#e=this.\u0275fac=(()=>{let e;return function(t){return(e||(e=b4(c)))(t||c)}})();static#c=this.\u0275dir=U1({type:c,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(a,t){1&a&&C("input",function(l){return t.onChange(l.target.value)})("blur",function(){return t.onTouched()})},features:[u4([dD3]),$2]})}return c})();const wC=new H1(""),_D3={provide:b8,useExisting:E2(()=>H5)};let H5=(()=>{class c extends b8{set isDisabled(e){}static#e=this._ngModelWarningSentOnce=!1;constructor(e,a,t,i,l){super(),this._ngModelWarningConfig=i,this.callSetDisabledState=l,this.update=new Y1,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(a),this.valueAccessor=xC(0,t)}ngOnChanges(e){if(this._isControlChanged(e)){const a=e.form.previousValue;a&&zl(a,this,!1),$t(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}bC(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&zl(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static#c=this.\u0275fac=function(a){return new(a||c)(B(M3,10),B(y8,10),B(W0,10),B(wC,8),B(v5,8))};static#a=this.\u0275dir=U1({type:c,selectors:[["","formControl",""]],inputs:{form:[J2.None,"formControl","form"],isDisabled:[J2.None,"disabled","isDisabled"],model:[J2.None,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[u4([_D3]),$2,A]})}return c})();const pD3={provide:$3,useExisting:E2(()=>X4)};let X4=(()=>{class c extends $3{constructor(e,a,t){super(),this.callSetDisabledState=t,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Y1,this._setValidators(e),this._setAsyncValidators(a)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ml(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const a=this.form.get(e.path);return $t(a,e,this.callSetDisabledState),a.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),a}getControl(e){return this.form.get(e.path)}removeControl(e){zl(e.control||null,e,!1),function oD3(c,r){const e=c.indexOf(r);e>-1&&c.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,a){this.form.get(e.path).setValue(a)}onSubmit(e){return this.submitted=!0,yu1(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const a=e.control,t=this.form.get(e.path);a!==t&&(zl(a||null,e),(c=>c instanceof u1)(t)&&($t(t,e,this.callSetDisabledState),e.control=t))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const a=this.form.get(e.path);Lu1(a,e),a.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const a=this.form.get(e.path);a&&function rD3(c,r){return Ml(c,r)}(a,e)&&a.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){LC(this.form,this),this._oldForm&&Ml(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(a){return new(a||c)(B(M3,10),B(y8,10),B(v5,8))};static#c=this.\u0275dir=U1({type:c,selectors:[["","formGroup",""]],hostBindings:function(a,t){1&a&&C("submit",function(l){return t.onSubmit(l)})("reset",function(){return t.onReset()})},inputs:{form:[J2.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[u4([pD3]),$2,A]})}return c})();const HD3={provide:b8,useExisting:E2(()=>f3)};let f3=(()=>{class c extends b8{set isDisabled(e){}static#e=this._ngModelWarningSentOnce=!1;constructor(e,a,t,i,l){super(),this._ngModelWarningConfig=l,this._added=!1,this.name=null,this.update=new Y1,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(a),this._setAsyncValidators(t),this.valueAccessor=xC(0,i)}ngOnChanges(e){this._added||this._setUpControl(),bC(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return Cl(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#c=this.\u0275fac=function(a){return new(a||c)(B($3,13),B(M3,10),B(y8,10),B(W0,10),B(wC,8))};static#a=this.\u0275dir=U1({type:c,selectors:[["","formControlName",""]],inputs:{name:[J2.None,"formControlName","name"],isDisabled:[J2.None,"disabled","isDisabled"],model:[J2.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[u4([HD3]),$2,A]})}return c})();const CD3={provide:W0,useExisting:E2(()=>Ea),multi:!0};function Tu1(c,r){return null==c?`${r}`:(r&&"object"==typeof r&&(r="Object"),`${c}: ${r}`.slice(0,50))}let Ea=(()=>{class c extends g5{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){this.value=e;const t=Tu1(this._getOptionId(e),e);this.setProperty("value",t)}registerOnChange(e){this.onChange=a=>{this.value=this._getOptionValue(a),e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const a of this._optionMap.keys())if(this._compareWith(this._optionMap.get(a),e))return a;return null}_getOptionValue(e){const a=function zD3(c){return c.split(":")[0]}(e);return this._optionMap.has(a)?this._optionMap.get(a):e}static#e=this.\u0275fac=(()=>{let e;return function(t){return(e||(e=b4(c)))(t||c)}})();static#c=this.\u0275dir=U1({type:c,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(a,t){1&a&&C("change",function(l){return t.onChange(l.target.value)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[u4([CD3]),$2]})}return c})(),x6=(()=>{class c{constructor(e,a,t){this._element=e,this._renderer=a,this._select=t,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(Tu1(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(a){return new(a||c)(B(C2),B(T6),B(Ea,9))};static#c=this.\u0275dir=U1({type:c,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return c})();const VD3={provide:W0,useExisting:E2(()=>SC),multi:!0};function Eu1(c,r){return null==c?`${r}`:("string"==typeof r&&(r=`'${r}'`),r&&"object"==typeof r&&(r="Object"),`${c}: ${r}`.slice(0,50))}let SC=(()=>{class c extends g5{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){let a;if(this.value=e,Array.isArray(e)){const t=e.map(i=>this._getOptionId(i));a=(i,l)=>{i._setSelected(t.indexOf(l.toString())>-1)}}else a=(t,i)=>{t._setSelected(!1)};this._optionMap.forEach(a)}registerOnChange(e){this.onChange=a=>{const t=[],i=a.selectedOptions;if(void 0!==i){const l=i;for(let d=0;d{let e;return function(t){return(e||(e=b4(c)))(t||c)}})();static#c=this.\u0275dir=U1({type:c,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(a,t){1&a&&C("change",function(l){return t.onChange(l.target)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[u4([VD3]),$2]})}return c})(),w6=(()=>{class c{constructor(e,a,t){this._element=e,this._renderer=a,this._select=t,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(Eu1(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(Eu1(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(a){return new(a||c)(B(C2),B(T6),B(SC,9))};static#c=this.\u0275dir=U1({type:c,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return c})(),C5=(()=>{class c{constructor(){this._validator=_l}ngOnChanges(e){if(this.inputName in e){const a=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(a),this._validator=this._enabled?this.createValidator(a):_l,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275dir=U1({type:c,features:[A]})}return c})();const bD3={provide:M3,useExisting:E2(()=>Gt),multi:!0};let Gt=(()=>{class c extends C5{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Jc,this.createValidator=e=>eu1}enabled(e){return e}static#e=this.\u0275fac=(()=>{let e;return function(t){return(e||(e=b4(c)))(t||c)}})();static#c=this.\u0275dir=U1({type:c,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(a,t){2&a&&A2("required",t._enabled?"":null)},inputs:{required:"required"},features:[u4([bD3]),$2]})}return c})();const SD3={provide:M3,useExisting:E2(()=>yl),multi:!0};let yl=(()=>{class c extends C5{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=e=>e,this.createValidator=e=>iu1(e)}static#e=this.\u0275fac=(()=>{let e;return function(t){return(e||(e=b4(c)))(t||c)}})();static#c=this.\u0275dir=U1({type:c,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(a,t){2&a&&A2("pattern",t._enabled?t.pattern:null)},inputs:{pattern:"pattern"},features:[u4([SD3]),$2]})}return c})(),$u1=(()=>{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275mod=M4({type:c});static#a=this.\u0275inj=g4({})}return c})(),bl=(()=>{class c{static withConfig(e){return{ngModule:c,providers:[{provide:v5,useValue:e.callSetDisabledState??jt}]}}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275mod=M4({type:c});static#a=this.\u0275inj=g4({imports:[$u1]})}return c})(),NC=(()=>{class c{static withConfig(e){return{ngModule:c,providers:[{provide:wC,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:v5,useValue:e.callSetDisabledState??jt}]}}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275mod=M4({type:c});static#a=this.\u0275inj=g4({imports:[$u1]})}return c})();const DD3=[f0,ok,bl,NC,xg,ps];let TD3=(()=>{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275mod=M4({type:c});static#a=this.\u0275inj=g4({providers:[Q4,la],imports:[DD3,mC,f0,ok,bl,NC,xg,ps]})}return c})();class Aa{static#e=this.BASE_URL=m1.BASE_URL;constructor(r,e){this.http=r,this.localStorage=e}getStats(){return v2(this.http.get(`${Aa.BASE_URL}/stats`))}static#c=this.\u0275fac=function(e){return new(e||Aa)(f1(V3),f1(A1))};static#a=this.\u0275prov=g1({token:Aa,factory:Aa.\u0275fac,providedIn:"root"})}const Y6=[{id:1,name:"ISO 22301:2019",mandatory:!1,domesupported:!0},{id:2,name:"ISO/IEC 27000:2018",mandatory:!1,domesupported:!0},{id:3,name:"ISO/IEC 27001:2022",mandatory:!1,domesupported:!0},{id:4,name:"ISO/IEC 27002:2022",mandatory:!1,domesupported:!0},{id:5,name:"ISO/IEC 27701:2019",mandatory:!1,domesupported:!0},{id:6,name:"ISO/IEC 27017:2015",mandatory:!1,domesupported:!0},{id:7,name:"Payment Card Industry Data Security Standard (PCI DSS) v4.0",mandatory:!1,domesupported:!1},{id:8,name:"ISO/IEC 22123-1:2021",mandatory:!1,domesupported:!1},{id:9,name:"ISO/IEC 20000-1:2018",mandatory:!1,domesupported:!1},{id:10,name:"ISO/IEC 20000-2:2019",mandatory:!1,domesupported:!1},{id:11,name:"ISO/IEC 19944-1:2020",mandatory:!1,domesupported:!1},{id:12,name:"ISO/IEC 17826:2022",mandatory:!1,domesupported:!1},{id:13,name:"ISO/IEC 17788:2014",mandatory:!1,domesupported:!1},{id:14,name:"ISO/IEC 19941:2017",mandatory:!1,domesupported:!1},{id:15,name:"ISO/IEC 29100:2011",mandatory:!1,domesupported:!1},{id:16,name:"ISO/IEC 29101:2018",mandatory:!1,domesupported:!1},{id:17,name:"ISO/IEC 19086-4:2019",mandatory:!1,domesupported:!1},{name:"ISO/IEC 27018:2019",mandatory:!1,domesupported:!1},{id:18,name:"ISO/IEC 19086-1:201",mandatory:!1,domesupported:!1},{id:19,name:"ISO/IEC 19086-2:2018",mandatory:!1,domesupported:!1},{id:20,name:"ISO/IEC 19086-3:2017",mandatory:!1,domesupported:!1}];class qt extends Error{}function DC(c,r){if("string"!=typeof c)throw new qt("Invalid token specified: must be a string");r||(r={});const e=!0===r.header?0:1,a=c.split(".")[e];if("string"!=typeof a)throw new qt(`Invalid token specified: missing part #${e+1}`);let t;try{t=function AD3(c){let r=c.replace(/-/g,"+").replace(/_/g,"/");switch(r.length%4){case 0:break;case 2:r+="==";break;case 3:r+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return function ED3(c){return decodeURIComponent(atob(c).replace(/(.)/g,(r,e)=>{let a=e.charCodeAt(0).toString(16).toUpperCase();return a.length<2&&(a="0"+a),"%"+a}))}(r)}catch{return atob(r)}}(a)}catch(i){throw new qt(`Invalid token specified: invalid base64 for part #${e+1} (${i.message})`)}try{return JSON.parse(t)}catch(i){throw new qt(`Invalid token specified: invalid json for part #${e+1} (${i.message})`)}}qt.prototype.name="InvalidTokenError";class O2{static#e=this.BASE_URL=m1.BASE_URL;static#c=this.API_ACCOUNT=m1.ACCOUNT;constructor(r,e){this.http=r,this.localStorage=e}getBillingAccount(){return v2(this.http.get(`${O2.BASE_URL}${O2.API_ACCOUNT}/billingAccount/`))}getBillingAccountById(r){return v2(this.http.get(`${O2.BASE_URL}${O2.API_ACCOUNT}/billingAccount/${r}`))}postBillingAccount(r){return this.http.post(`${O2.BASE_URL}${O2.API_ACCOUNT}/billingAccount/`,r)}updateBillingAccount(r,e){return this.http.patch(`${O2.BASE_URL}${O2.API_ACCOUNT}/billingAccount/${r}`,e)}deleteBillingAccount(r){return this.http.delete(`${O2.BASE_URL}${O2.API_ACCOUNT}/billingAccount/${r}`)}getUserInfo(r){return v2(this.http.get(`${O2.BASE_URL}/party/individual/${r}`))}getOrgInfo(r){return v2(this.http.get(`${O2.BASE_URL}/party/organization/${r}`))}updateUserInfo(r,e){return this.http.patch(`${O2.BASE_URL}/party/individual/${r}`,e)}updateOrgInfo(r,e){return this.http.patch(`${O2.BASE_URL}/party/organization/${r}`,e)}static#a=this.\u0275fac=function(e){return new(e||O2)(f1(V3),f1(A1))};static#r=this.\u0275prov=g1({token:O2,factory:O2.\u0275fac,providedIn:"root"})}function Gu1(c,r=s6){return c=c??PD3,i4((e,a)=>{let t,i=!0;e.subscribe(_2(a,l=>{const d=r(l);(i||!c(t,d))&&(i=!1,t=d,a.next(l))}))})}function PD3(c,r){return c===r}let z5={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function qu1(c){z5=c}const Wu1=/[&<>"']/,RD3=new RegExp(Wu1.source,"g"),Zu1=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,BD3=new RegExp(Zu1.source,"g"),OD3={"&":"&","<":"<",">":">",'"':""","'":"'"},Ku1=c=>OD3[c];function F6(c,r){if(r){if(Wu1.test(c))return c.replace(RD3,Ku1)}else if(Zu1.test(c))return c.replace(BD3,Ku1);return c}const ID3=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,jD3=/(^|[^\[])\^/g;function I2(c,r){c="string"==typeof c?c:c.source,r=r||"";const e={replace:(a,t)=>(t=(t="object"==typeof t&&"source"in t?t.source:t).replace(jD3,"$1"),c=c.replace(a,t),e),getRegex:()=>new RegExp(c,r)};return e}function Qu1(c){try{c=encodeURI(c).replace(/%25/g,"%")}catch{return null}return c}const xl={exec:()=>null};function Ju1(c,r){const a=c.replace(/\|/g,(i,l,d)=>{let u=!1,p=l;for(;--p>=0&&"\\"===d[p];)u=!u;return u?"|":" |"}).split(/ \|/);let t=0;if(a[0].trim()||a.shift(),a.length>0&&!a[a.length-1].trim()&&a.pop(),r)if(a.length>r)a.splice(r);else for(;a.length0)return{type:"space",raw:e[0]}}code(r){const e=this.rules.block.code.exec(r);if(e){const a=e[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?a:wl(a,"\n")}}}fences(r){const e=this.rules.block.fences.exec(r);if(e){const a=e[0],t=function YD3(c,r){const e=c.match(/^(\s+)(?:```)/);if(null===e)return r;const a=e[1];return r.split("\n").map(t=>{const i=t.match(/^\s+/);if(null===i)return t;const[l]=i;return l.length>=a.length?t.slice(a.length):t}).join("\n")}(a,e[3]||"");return{type:"code",raw:a,lang:e[2]?e[2].trim().replace(this.rules.inline._escapes,"$1"):e[2],text:t}}}heading(r){const e=this.rules.block.heading.exec(r);if(e){let a=e[2].trim();if(/#$/.test(a)){const t=wl(a,"#");(this.options.pedantic||!t||/ $/.test(t))&&(a=t.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:a,tokens:this.lexer.inline(a)}}}hr(r){const e=this.rules.block.hr.exec(r);if(e)return{type:"hr",raw:e[0]}}blockquote(r){const e=this.rules.block.blockquote.exec(r);if(e){const a=wl(e[0].replace(/^ *>[ \t]?/gm,""),"\n"),t=this.lexer.state.top;this.lexer.state.top=!0;const i=this.lexer.blockTokens(a);return this.lexer.state.top=t,{type:"blockquote",raw:e[0],tokens:i,text:a}}}list(r){let e=this.rules.block.list.exec(r);if(e){let a=e[1].trim();const t=a.length>1,i={type:"list",raw:"",ordered:t,start:t?+a.slice(0,-1):"",loose:!1,items:[]};a=t?`\\d{1,9}\\${a.slice(-1)}`:`\\${a}`,this.options.pedantic&&(a=t?a:"[*+-]");const l=new RegExp(`^( {0,3}${a})((?:[\t ][^\\n]*)?(?:\\n|$))`);let d="",u="",p=!1;for(;r;){let z=!1;if(!(e=l.exec(r))||this.rules.block.hr.test(r))break;d=e[0],r=r.substring(d.length);let x=e[2].split("\n",1)[0].replace(/^\t+/,J=>" ".repeat(3*J.length)),E=r.split("\n",1)[0],P=0;this.options.pedantic?(P=2,u=x.trimStart()):(P=e[2].search(/[^ ]/),P=P>4?1:P,u=x.slice(P),P+=e[1].length);let Y=!1;if(!x&&/^ *$/.test(E)&&(d+=E+"\n",r=r.substring(E.length+1),z=!0),!z){const J=new RegExp(`^ {0,${Math.min(3,P-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),X=new RegExp(`^ {0,${Math.min(3,P-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),n1=new RegExp(`^ {0,${Math.min(3,P-1)}}(?:\`\`\`|~~~)`),h1=new RegExp(`^ {0,${Math.min(3,P-1)}}#`);for(;r;){const C1=r.split("\n",1)[0];if(E=C1,this.options.pedantic&&(E=E.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),n1.test(E)||h1.test(E)||J.test(E)||X.test(r))break;if(E.search(/[^ ]/)>=P||!E.trim())u+="\n"+E.slice(P);else{if(Y||x.search(/[^ ]/)>=4||n1.test(x)||h1.test(x)||X.test(x))break;u+="\n"+E}!Y&&!E.trim()&&(Y=!0),d+=C1+"\n",r=r.substring(C1.length+1),x=E.slice(P)}}i.loose||(p?i.loose=!0:/\n *\n *$/.test(d)&&(p=!0));let K,Z=null;this.options.gfm&&(Z=/^\[[ xX]\] /.exec(u),Z&&(K="[ ] "!==Z[0],u=u.replace(/^\[[ xX]\] +/,""))),i.items.push({type:"list_item",raw:d,task:!!Z,checked:K,loose:!1,text:u,tokens:[]}),i.raw+=d}i.items[i.items.length-1].raw=d.trimEnd(),i.items[i.items.length-1].text=u.trimEnd(),i.raw=i.raw.trimEnd();for(let z=0;z"space"===P.type),E=x.length>0&&x.some(P=>/\n.*\n/.test(P.raw));i.loose=E}if(i.loose)for(let z=0;z$/,"$1").replace(this.rules.inline._escapes,"$1"):"",i=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline._escapes,"$1"):e[3];return{type:"def",tag:a,raw:e[0],href:t,title:i}}}table(r){const e=this.rules.block.table.exec(r);if(e){if(!/[:|]/.test(e[2]))return;const a={type:"table",raw:e[0],header:Ju1(e[1]).map(t=>({text:t,tokens:[]})),align:e[2].replace(/^\||\| *$/g,"").split("|"),rows:e[3]&&e[3].trim()?e[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(a.header.length===a.align.length){let i,l,d,u,t=a.align.length;for(i=0;i({text:p,tokens:[]}));for(t=a.header.length,l=0;l/i.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(r){const e=this.rules.inline.link.exec(r);if(e){const a=e[2].trim();if(!this.options.pedantic&&/^$/.test(a))return;const l=wl(a.slice(0,-1),"\\");if((a.length-l.length)%2==0)return}else{const l=function $D3(c,r){if(-1===c.indexOf(r[1]))return-1;let e=0;for(let a=0;a-1){const u=(0===e[0].indexOf("!")?5:4)+e[1].length+l;e[2]=e[2].substring(0,l),e[0]=e[0].substring(0,u).trim(),e[3]=""}}let t=e[2],i="";if(this.options.pedantic){const l=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(t);l&&(t=l[1],i=l[3])}else i=e[3]?e[3].slice(1,-1):"";return t=t.trim(),/^$/.test(a)?t.slice(1):t.slice(1,-1)),Xu1(e,{href:t&&t.replace(this.rules.inline._escapes,"$1"),title:i&&i.replace(this.rules.inline._escapes,"$1")},e[0],this.lexer)}}reflink(r,e){let a;if((a=this.rules.inline.reflink.exec(r))||(a=this.rules.inline.nolink.exec(r))){let t=(a[2]||a[1]).replace(/\s+/g," ");if(t=e[t.toLowerCase()],!t){const i=a[0].charAt(0);return{type:"text",raw:i,text:i}}return Xu1(a,t,a[0],this.lexer)}}emStrong(r,e,a=""){let t=this.rules.inline.emStrong.lDelim.exec(r);if(!(!t||t[3]&&a.match(/[\p{L}\p{N}]/u))&&(!t[1]&&!t[2]||!a||this.rules.inline.punctuation.exec(a))){const l=[...t[0]].length-1;let d,u,p=l,z=0;const x="*"===t[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(x.lastIndex=0,e=e.slice(-1*r.length+l);null!=(t=x.exec(e));){if(d=t[1]||t[2]||t[3]||t[4]||t[5]||t[6],!d)continue;if(u=[...d].length,t[3]||t[4]){p+=u;continue}if((t[5]||t[6])&&l%3&&!((l+u)%3)){z+=u;continue}if(p-=u,p>0)continue;u=Math.min(u,u+p+z);const E=[...t[0]][0].length,P=r.slice(0,l+t.index+E+u);if(Math.min(l,u)%2){const Z=P.slice(1,-1);return{type:"em",raw:P,text:Z,tokens:this.lexer.inlineTokens(Z)}}const Y=P.slice(2,-2);return{type:"strong",raw:P,text:Y,tokens:this.lexer.inlineTokens(Y)}}}}codespan(r){const e=this.rules.inline.code.exec(r);if(e){let a=e[2].replace(/\n/g," ");const t=/[^ ]/.test(a),i=/^ /.test(a)&&/ $/.test(a);return t&&i&&(a=a.substring(1,a.length-1)),a=F6(a,!0),{type:"codespan",raw:e[0],text:a}}}br(r){const e=this.rules.inline.br.exec(r);if(e)return{type:"br",raw:e[0]}}del(r){const e=this.rules.inline.del.exec(r);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(r){const e=this.rules.inline.autolink.exec(r);if(e){let a,t;return"@"===e[2]?(a=F6(e[1]),t="mailto:"+a):(a=F6(e[1]),t=a),{type:"link",raw:e[0],text:a,href:t,tokens:[{type:"text",raw:a,text:a}]}}}url(r){let e;if(e=this.rules.inline.url.exec(r)){let a,t;if("@"===e[2])a=F6(e[0]),t="mailto:"+a;else{let i;do{i=e[0],e[0]=this.rules.inline._backpedal.exec(e[0])[0]}while(i!==e[0]);a=F6(e[0]),t="www."===e[1]?"http://"+e[0]:e[0]}return{type:"link",raw:e[0],text:a,href:t,tokens:[{type:"text",raw:a,text:a}]}}}inlineText(r){const e=this.rules.inline.text.exec(r);if(e){let a;return a=this.lexer.state.inRawBlock?e[0]:F6(e[0]),{type:"text",raw:e[0],text:a}}}}const $1={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:xl,lheading:/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};$1.def=I2($1.def).replace("label",$1._label).replace("title",$1._title).getRegex(),$1.bullet=/(?:[*+-]|\d{1,9}[.)])/,$1.listItemStart=I2(/^( *)(bull) */).replace("bull",$1.bullet).getRegex(),$1.list=I2($1.list).replace(/bull/g,$1.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+$1.def.source+")").getRegex(),$1._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",$1._comment=/|$)/,$1.html=I2($1.html,"i").replace("comment",$1._comment).replace("tag",$1._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),$1.lheading=I2($1.lheading).replace(/bull/g,$1.bullet).getRegex(),$1.paragraph=I2($1._paragraph).replace("hr",$1.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",$1._tag).getRegex(),$1.blockquote=I2($1.blockquote).replace("paragraph",$1.paragraph).getRegex(),$1.normal={...$1},$1.gfm={...$1.normal,table:"^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"},$1.gfm.table=I2($1.gfm.table).replace("hr",$1.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",$1._tag).getRegex(),$1.gfm.paragraph=I2($1._paragraph).replace("hr",$1.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",$1.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",$1._tag).getRegex(),$1.pedantic={...$1.normal,html:I2("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",$1._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:xl,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:I2($1.normal._paragraph).replace("hr",$1.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",$1.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const w1={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:xl,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,rDelimAst:/^[^_*]*?__[^_*]*?\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\*)[punct](\*+)(?=[\s]|$)|[^punct\s](\*+)(?!\*)(?=[punct\s]|$)|(?!\*)[punct\s](\*+)(?=[^punct\s])|[\s](\*+)(?!\*)(?=[punct])|(?!\*)[punct](\*+)(?!\*)(?=[punct])|[^punct\s](\*+)(?=[^punct\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\s]|$)|[^punct\s](_+)(?!_)(?=[punct\s]|$)|(?!_)[punct\s](_+)(?=[^punct\s])|[\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:xl,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\`^|~"};w1.punctuation=I2(w1.punctuation,"u").replace(/punctuation/g,w1._punctuation).getRegex(),w1.blockSkip=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,w1.anyPunctuation=/\\[punct]/g,w1._escapes=/\\([punct])/g,w1._comment=I2($1._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),w1.emStrong.lDelim=I2(w1.emStrong.lDelim,"u").replace(/punct/g,w1._punctuation).getRegex(),w1.emStrong.rDelimAst=I2(w1.emStrong.rDelimAst,"gu").replace(/punct/g,w1._punctuation).getRegex(),w1.emStrong.rDelimUnd=I2(w1.emStrong.rDelimUnd,"gu").replace(/punct/g,w1._punctuation).getRegex(),w1.anyPunctuation=I2(w1.anyPunctuation,"gu").replace(/punct/g,w1._punctuation).getRegex(),w1._escapes=I2(w1._escapes,"gu").replace(/punct/g,w1._punctuation).getRegex(),w1._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,w1._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,w1.autolink=I2(w1.autolink).replace("scheme",w1._scheme).replace("email",w1._email).getRegex(),w1._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,w1.tag=I2(w1.tag).replace("comment",w1._comment).replace("attribute",w1._attribute).getRegex(),w1._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,w1._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,w1._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,w1.link=I2(w1.link).replace("label",w1._label).replace("href",w1._href).replace("title",w1._title).getRegex(),w1.reflink=I2(w1.reflink).replace("label",w1._label).replace("ref",$1._label).getRegex(),w1.nolink=I2(w1.nolink).replace("ref",$1._label).getRegex(),w1.reflinkSearch=I2(w1.reflinkSearch,"g").replace("reflink",w1.reflink).replace("nolink",w1.nolink).getRegex(),w1.normal={...w1},w1.pedantic={...w1.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:I2(/^!?\[(label)\]\((.*?)\)/).replace("label",w1._label).getRegex(),reflink:I2(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",w1._label).getRegex()},w1.gfm={...w1.normal,escape:I2(w1.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\u+" ".repeat(p.length));r;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(d=>!!(a=d.call({lexer:this},r,e))&&(r=r.substring(a.raw.length),e.push(a),!0)))){if(a=this.tokenizer.space(r)){r=r.substring(a.raw.length),1===a.raw.length&&e.length>0?e[e.length-1].raw+="\n":e.push(a);continue}if(a=this.tokenizer.code(r)){r=r.substring(a.raw.length),t=e[e.length-1],!t||"paragraph"!==t.type&&"text"!==t.type?e.push(a):(t.raw+="\n"+a.raw,t.text+="\n"+a.text,this.inlineQueue[this.inlineQueue.length-1].src=t.text);continue}if(a=this.tokenizer.fences(r)){r=r.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.heading(r)){r=r.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.hr(r)){r=r.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.blockquote(r)){r=r.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.list(r)){r=r.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.html(r)){r=r.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.def(r)){r=r.substring(a.raw.length),t=e[e.length-1],!t||"paragraph"!==t.type&&"text"!==t.type?this.tokens.links[a.tag]||(this.tokens.links[a.tag]={href:a.href,title:a.title}):(t.raw+="\n"+a.raw,t.text+="\n"+a.raw,this.inlineQueue[this.inlineQueue.length-1].src=t.text);continue}if(a=this.tokenizer.table(r)){r=r.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.lheading(r)){r=r.substring(a.raw.length),e.push(a);continue}if(i=r,this.options.extensions&&this.options.extensions.startBlock){let d=1/0;const u=r.slice(1);let p;this.options.extensions.startBlock.forEach(z=>{p=z.call({lexer:this},u),"number"==typeof p&&p>=0&&(d=Math.min(d,p))}),d<1/0&&d>=0&&(i=r.substring(0,d+1))}if(this.state.top&&(a=this.tokenizer.paragraph(i))){t=e[e.length-1],l&&"paragraph"===t.type?(t.raw+="\n"+a.raw,t.text+="\n"+a.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=t.text):e.push(a),l=i.length!==r.length,r=r.substring(a.raw.length);continue}if(a=this.tokenizer.text(r)){r=r.substring(a.raw.length),t=e[e.length-1],t&&"text"===t.type?(t.raw+="\n"+a.raw,t.text+="\n"+a.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=t.text):e.push(a);continue}if(r){const d="Infinite loop on byte: "+r.charCodeAt(0);if(this.options.silent){console.error(d);break}throw new Error(d)}}return this.state.top=!0,e}inline(r,e=[]){return this.inlineQueue.push({src:r,tokens:e}),e}inlineTokens(r,e=[]){let a,t,i,d,u,p,l=r;if(this.tokens.links){const z=Object.keys(this.tokens.links);if(z.length>0)for(;null!=(d=this.tokenizer.rules.inline.reflinkSearch.exec(l));)z.includes(d[0].slice(d[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,d.index)+"["+"a".repeat(d[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(d=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,d.index)+"["+"a".repeat(d[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(d=this.tokenizer.rules.inline.anyPunctuation.exec(l));)l=l.slice(0,d.index)+"++"+l.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;r;)if(u||(p=""),u=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(z=>!!(a=z.call({lexer:this},r,e))&&(r=r.substring(a.raw.length),e.push(a),!0)))){if(a=this.tokenizer.escape(r)){r=r.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.tag(r)){r=r.substring(a.raw.length),t=e[e.length-1],t&&"text"===a.type&&"text"===t.type?(t.raw+=a.raw,t.text+=a.text):e.push(a);continue}if(a=this.tokenizer.link(r)){r=r.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.reflink(r,this.tokens.links)){r=r.substring(a.raw.length),t=e[e.length-1],t&&"text"===a.type&&"text"===t.type?(t.raw+=a.raw,t.text+=a.text):e.push(a);continue}if(a=this.tokenizer.emStrong(r,l,p)){r=r.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.codespan(r)){r=r.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.br(r)){r=r.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.del(r)){r=r.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.autolink(r)){r=r.substring(a.raw.length),e.push(a);continue}if(!this.state.inLink&&(a=this.tokenizer.url(r))){r=r.substring(a.raw.length),e.push(a);continue}if(i=r,this.options.extensions&&this.options.extensions.startInline){let z=1/0;const x=r.slice(1);let E;this.options.extensions.startInline.forEach(P=>{E=P.call({lexer:this},x),"number"==typeof E&&E>=0&&(z=Math.min(z,E))}),z<1/0&&z>=0&&(i=r.substring(0,z+1))}if(a=this.tokenizer.inlineText(i)){r=r.substring(a.raw.length),"_"!==a.raw.slice(-1)&&(p=a.raw.slice(-1)),u=!0,t=e[e.length-1],t&&"text"===t.type?(t.raw+=a.raw,t.text+=a.text):e.push(a);continue}if(r){const z="Infinite loop on byte: "+r.charCodeAt(0);if(this.options.silent){console.error(z);break}throw new Error(z)}}return e}}class V5{options;constructor(r){this.options=r||z5}code(r,e,a){const t=(e||"").match(/^\S*/)?.[0];return r=r.replace(/\n$/,"")+"\n",t?'
'+(a?r:F6(r,!0))+"
\n":"
"+(a?r:F6(r,!0))+"
\n"}blockquote(r){return`
\n${r}
\n`}html(r,e){return r}heading(r,e,a){return`${r}\n`}hr(){return"
\n"}list(r,e,a){const t=e?"ol":"ul";return"<"+t+(e&&1!==a?' start="'+a+'"':"")+">\n"+r+"\n"}listitem(r,e,a){return`
  • ${r}
  • \n`}checkbox(r){return"'}paragraph(r){return`

    ${r}

    \n`}table(r,e){return e&&(e=`${e}`),"\n\n"+r+"\n"+e+"
    \n"}tablerow(r){return`\n${r}\n`}tablecell(r,e){const a=e.header?"th":"td";return(e.align?`<${a} align="${e.align}">`:`<${a}>`)+r+`\n`}strong(r){return`${r}`}em(r){return`${r}`}codespan(r){return`${r}`}br(){return"
    "}del(r){return`${r}`}link(r,e,a){const t=Qu1(r);if(null===t)return a;let i='",i}image(r,e,a){const t=Qu1(r);if(null===t)return a;let i=`${a}"colon"===(e=e.toLowerCase())?":":"#"===e.charAt(0)?"x"===e.charAt(1)?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""));continue}case"code":a+=this.renderer.code(i.text,i.lang,!!i.escaped);continue;case"table":{const l=i;let d="",u="";for(let z=0;z0&&"paragraph"===E.tokens[0].type?(E.tokens[0].text=K+" "+E.tokens[0].text,E.tokens[0].tokens&&E.tokens[0].tokens.length>0&&"text"===E.tokens[0].tokens[0].type&&(E.tokens[0].tokens[0].text=K+" "+E.tokens[0].tokens[0].text)):E.tokens.unshift({type:"text",text:K+" "}):Z+=K+" "}Z+=this.parse(E.tokens,p),z+=this.renderer.listitem(Z,Y,!!P)}a+=this.renderer.list(z,d,u);continue}case"html":a+=this.renderer.html(i.text,i.block);continue;case"paragraph":a+=this.renderer.paragraph(this.parseInline(i.tokens));continue;case"text":{let l=i,d=l.tokens?this.parseInline(l.tokens):l.text;for(;t+1{a=a.concat(this.walkTokens(i[l],e))}):i.tokens&&(a=a.concat(this.walkTokens(i.tokens,e)))}}return a}use(...r){const e=this.defaults.extensions||{renderers:{},childTokens:{}};return r.forEach(a=>{const t={...a};if(t.async=this.defaults.async||t.async||!1,a.extensions&&(a.extensions.forEach(i=>{if(!i.name)throw new Error("extension name required");if("renderer"in i){const l=e.renderers[i.name];e.renderers[i.name]=l?function(...d){let u=i.renderer.apply(this,d);return!1===u&&(u=l.apply(this,d)),u}:i.renderer}if("tokenizer"in i){if(!i.level||"block"!==i.level&&"inline"!==i.level)throw new Error("extension level must be 'block' or 'inline'");const l=e[i.level];l?l.unshift(i.tokenizer):e[i.level]=[i.tokenizer],i.start&&("block"===i.level?e.startBlock?e.startBlock.push(i.start):e.startBlock=[i.start]:"inline"===i.level&&(e.startInline?e.startInline.push(i.start):e.startInline=[i.start]))}"childTokens"in i&&i.childTokens&&(e.childTokens[i.name]=i.childTokens)}),t.extensions=e),a.renderer){const i=this.defaults.renderer||new V5(this.defaults);for(const l in a.renderer){const d=a.renderer[l],p=i[l];i[l]=(...z)=>{let x=d.apply(i,z);return!1===x&&(x=p.apply(i,z)),x||""}}t.renderer=i}if(a.tokenizer){const i=this.defaults.tokenizer||new Fl(this.defaults);for(const l in a.tokenizer){const d=a.tokenizer[l],p=i[l];i[l]=(...z)=>{let x=d.apply(i,z);return!1===x&&(x=p.apply(i,z)),x}}t.tokenizer=i}if(a.hooks){const i=this.defaults.hooks||new kl;for(const l in a.hooks){const d=a.hooks[l],p=i[l];i[l]=kl.passThroughHooks.has(l)?z=>{if(this.defaults.async)return Promise.resolve(d.call(i,z)).then(E=>p.call(i,E));const x=d.call(i,z);return p.call(i,x)}:(...z)=>{let x=d.apply(i,z);return!1===x&&(x=p.apply(i,z)),x}}t.hooks=i}if(a.walkTokens){const i=this.defaults.walkTokens,l=a.walkTokens;t.walkTokens=function(d){let u=[];return u.push(l.call(this,d)),i&&(u=u.concat(i.call(this,d))),u}}this.defaults={...this.defaults,...t}}),this}setOptions(r){return this.defaults={...this.defaults,...r},this}lexer(r,e){return Z0.lex(r,e??this.defaults)}parser(r,e){return K0.parse(r,e??this.defaults)}#e(r,e){return(a,t)=>{const i={...t},l={...this.defaults,...i};!0===this.defaults.async&&!1===i.async&&(l.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),l.async=!0);const d=this.#c(!!l.silent,!!l.async);if(typeof a>"u"||null===a)return d(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof a)return d(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(a)+", string expected"));if(l.hooks&&(l.hooks.options=l),l.async)return Promise.resolve(l.hooks?l.hooks.preprocess(a):a).then(u=>r(u,l)).then(u=>l.walkTokens?Promise.all(this.walkTokens(u,l.walkTokens)).then(()=>u):u).then(u=>e(u,l)).then(u=>l.hooks?l.hooks.postprocess(u):u).catch(d);try{l.hooks&&(a=l.hooks.preprocess(a));const u=r(a,l);l.walkTokens&&this.walkTokens(u,l.walkTokens);let p=e(u,l);return l.hooks&&(p=l.hooks.postprocess(p)),p}catch(u){return d(u)}}}#c(r,e){return a=>{if(a.message+="\nPlease report this to https://github.com/markedjs/marked.",r){const t="

    An error occurred:

    "+F6(a.message+"",!0)+"
    ";return e?Promise.resolve(t):t}if(e)return Promise.reject(a);throw a}}};function N2(c,r){return M5.parse(c,r)}N2.options=N2.setOptions=function(c){return M5.setOptions(c),qu1(N2.defaults=M5.defaults),N2},N2.getDefaults=function TC(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}},N2.defaults=z5,N2.use=function(...c){return M5.use(...c),qu1(N2.defaults=M5.defaults),N2},N2.walkTokens=function(c,r){return M5.walkTokens(c,r)},N2.parseInline=M5.parseInline,N2.Parser=K0,N2.parser=K0.parse,N2.Renderer=V5,N2.TextRenderer=EC,N2.Lexer=Z0,N2.lexer=Z0.lex,N2.Tokenizer=Fl,N2.Hooks=kl,N2.parse=N2;const qD3=["*"];let eh1=(()=>{class c{constructor(){this._buttonClick$=new G2,this.copied$=this._buttonClick$.pipe(z3(()=>function Yu1(...c){const r=Br(c),e=function mx1(c,r){return"number"==typeof vm(c)?c.pop():r}(c,1/0),a=c;return a.length?1===a.length?U3(a[0]):na(e)(k4(a,r)):U6}(T1(!0),As(3e3).pipe(Hs(!1)))),Gu1(),c_(1)),this.copiedText$=this.copied$.pipe(cS(!1),J1(e=>e?"Copied":"Copy"))}onCopyToClipboardClick(){this._buttonClick$.next()}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275cmp=V1({type:c,selectors:[["markdown-clipboard"]],standalone:!0,features:[C3],decls:4,vars:7,consts:[[1,"markdown-clipboard-button",3,"click"]],template:function(a,t){1&a&&(o(0,"button",0),m(1,"async"),C("click",function(){return t.onCopyToClipboardClick()}),f(2),m(3,"async"),n()),2&a&&(A6("copied",_(1,3,t.copied$)),s(2),H(_(3,5,t.copiedText$)))},dependencies:[nm],encapsulation:2,changeDetection:0})}return c})();const KD3=new H1("CLIPBOARD_OPTIONS");var AC=function(c){return c.CommandLine="command-line",c.LineHighlight="line-highlight",c.LineNumbers="line-numbers",c}(AC||{});const ch1=new H1("MARKED_EXTENSIONS"),JD3=new H1("MARKED_OPTIONS"),ah1=new H1("SECURITY_CONTEXT");let PC=(()=>{class c{get options(){return this._options}set options(e){this._options={...this.DEFAULT_MARKED_OPTIONS,...e}}get renderer(){return this.options.renderer}set renderer(e){this.options.renderer=e}constructor(e,a,t,i,l,d,u){this.clipboardOptions=e,this.extensions=a,this.platform=i,this.securityContext=l,this.http=d,this.sanitizer=u,this.DEFAULT_MARKED_OPTIONS={renderer:new V5},this.DEFAULT_KATEX_OPTIONS={delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\[",right:"\\]",display:!0}]},this.DEFAULT_MERMAID_OPTIONS={startOnLoad:!1},this.DEFAULT_CLIPBOARD_OPTIONS={buttonComponent:void 0},this.DEFAULT_PARSE_OPTIONS={decodeHtml:!1,inline:!1,emoji:!1,mermaid:!1,markedOptions:void 0,disableSanitizer:!1},this.DEFAULT_RENDER_OPTIONS={clipboard:!1,clipboardOptions:void 0,katex:!1,katexOptions:void 0,mermaid:!1,mermaidOptions:void 0},this._reload$=new G2,this.reload$=this._reload$.asObservable(),this.options=t}parse(e,a=this.DEFAULT_PARSE_OPTIONS){const{decodeHtml:t,inline:i,emoji:l,mermaid:d,disableSanitizer:u}=a,p={...this.options,...a.markedOptions},z=p.renderer||this.renderer||new V5;this.extensions&&(this.renderer=this.extendsRendererForExtensions(z)),d&&(this.renderer=this.extendsRendererForMermaid(z));const x=this.trimIndentation(e),E=t?this.decodeHtml(x):x,P=l?this.parseEmoji(E):E,Y=this.parseMarked(P,p,i);return(u?Y:this.sanitizer.sanitize(this.securityContext,Y))||""}render(e,a=this.DEFAULT_RENDER_OPTIONS,t){const{clipboard:i,clipboardOptions:l,katex:d,katexOptions:u,mermaid:p,mermaidOptions:z}=a;d&&this.renderKatex(e,{...this.DEFAULT_KATEX_OPTIONS,...u}),p&&this.renderMermaid(e,{...this.DEFAULT_MERMAID_OPTIONS,...z}),i&&this.renderClipboard(e,t,{...this.DEFAULT_CLIPBOARD_OPTIONS,...this.clipboardOptions,...l}),this.highlight(e)}reload(){this._reload$.next()}getSource(e){if(!this.http)throw new Error("[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information");return this.http.get(e,{responseType:"text"}).pipe(J1(a=>this.handleExtension(e,a)))}highlight(e){if(!t6(this.platform)||typeof Prism>"u"||typeof Prism.highlightAllUnder>"u")return;e||(e=document);const a=e.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(a,t=>t.classList.add("language-none")),Prism.highlightAllUnder(e)}decodeHtml(e){if(!t6(this.platform))return e;const a=document.createElement("textarea");return a.innerHTML=e,a.value}extendsRendererForExtensions(e){const a=e;return!0===a.\u0275NgxMarkdownRendererExtendedForExtensions||(this.extensions?.length>0&&N2.use(...this.extensions),a.\u0275NgxMarkdownRendererExtendedForExtensions=!0),e}extendsRendererForMermaid(e){const a=e;if(!0===a.\u0275NgxMarkdownRendererExtendedForMermaid)return e;const t=e.code;return e.code=function(i,l,d){return"mermaid"===l?`
    ${i}
    `:t.call(this,i,l,d)},a.\u0275NgxMarkdownRendererExtendedForMermaid=!0,e}handleExtension(e,a){const t=e.lastIndexOf("://"),i=t>-1?e.substring(t+4):e,l=i.lastIndexOf("/"),d=l>-1?i.substring(l+1).split("?")[0]:"",u=d.lastIndexOf("."),p=u>-1?d.substring(u+1):"";return p&&"md"!==p?"```"+p+"\n"+a+"\n```":a}parseMarked(e,a,t=!1){if(a.renderer){const i={...a.renderer};delete i.\u0275NgxMarkdownRendererExtendedForExtensions,delete i.\u0275NgxMarkdownRendererExtendedForMermaid,delete a.renderer,N2.use({renderer:i})}return t?N2.parseInline(e,a):N2.parse(e,a)}parseEmoji(e){if(!t6(this.platform))return e;if(typeof joypixels>"u"||typeof joypixels.shortnameToUnicode>"u")throw new Error("[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information");return joypixels.shortnameToUnicode(e)}renderKatex(e,a){if(t6(this.platform)){if(typeof katex>"u"||typeof renderMathInElement>"u")throw new Error("[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information");renderMathInElement(e,a)}}renderClipboard(e,a,t){if(!t6(this.platform))return;if(typeof ClipboardJS>"u")throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* include Clipboard files to `angular.json` or use imports. See README for more information");if(!a)throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* provide the `viewContainerRef` parameter to `MarkdownService.render()` function");const{buttonComponent:i,buttonTemplate:l}=t,d=e.querySelectorAll("pre");for(let u=0;ux.style.opacity="1",p.onmouseout=()=>x.style.opacity="0",i){const Y=a.createComponent(i);E=Y.hostView,Y.changeDetectorRef.markForCheck()}else if(l)E=a.createEmbeddedView(l);else{const Y=a.createComponent(eh1);E=Y.hostView,Y.changeDetectorRef.markForCheck()}E.rootNodes.forEach(Y=>{Y.onmouseover=()=>x.style.opacity="1",x.appendChild(Y),P=new ClipboardJS(Y,{text:()=>p.innerText})}),E.onDestroy(()=>P.destroy())}}renderMermaid(e,a=this.DEFAULT_MERMAID_OPTIONS){if(!t6(this.platform))return;if(typeof mermaid>"u"||typeof mermaid.initialize>"u")throw new Error("[ngx-markdown] When using the `mermaid` attribute you *have to* include Mermaid files to `angular.json` or use imports. See README for more information");const t=e.querySelectorAll(".mermaid");0!==t.length&&(mermaid.initialize(a),mermaid.run({nodes:t}))}trimIndentation(e){if(!e)return"";let a;return e.split("\n").map(t=>{let i=a;return t.length>0&&(i=isNaN(i)?t.search(/\S|$/):Math.min(t.search(/\S|$/),i)),isNaN(a)&&(a=i),i?t.substring(i):t}).join("\n")}static#e=this.\u0275fac=function(a){return new(a||c)(f1(KD3,8),f1(ch1,8),f1(JD3,8),f1(m6),f1(ah1),f1(V3,8),f1(Pr))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})(),_4=(()=>{class c{get disableSanitizer(){return this._disableSanitizer}set disableSanitizer(e){this._disableSanitizer=this.coerceBooleanProperty(e)}get inline(){return this._inline}set inline(e){this._inline=this.coerceBooleanProperty(e)}get clipboard(){return this._clipboard}set clipboard(e){this._clipboard=this.coerceBooleanProperty(e)}get emoji(){return this._emoji}set emoji(e){this._emoji=this.coerceBooleanProperty(e)}get katex(){return this._katex}set katex(e){this._katex=this.coerceBooleanProperty(e)}get mermaid(){return this._mermaid}set mermaid(e){this._mermaid=this.coerceBooleanProperty(e)}get lineHighlight(){return this._lineHighlight}set lineHighlight(e){this._lineHighlight=this.coerceBooleanProperty(e)}get lineNumbers(){return this._lineNumbers}set lineNumbers(e){this._lineNumbers=this.coerceBooleanProperty(e)}get commandLine(){return this._commandLine}set commandLine(e){this._commandLine=this.coerceBooleanProperty(e)}constructor(e,a,t){this.element=e,this.markdownService=a,this.viewContainerRef=t,this.error=new Y1,this.load=new Y1,this.ready=new Y1,this._clipboard=!1,this._commandLine=!1,this._disableSanitizer=!1,this._emoji=!1,this._inline=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1,this._mermaid=!1,this.destroyed$=new G2}ngOnChanges(){this.loadContent()}loadContent(){null==this.data?null==this.src||this.handleSrc():this.handleData()}ngAfterViewInit(){!this.data&&!this.src&&this.handleTransclusion(),this.markdownService.reload$.pipe(Cs(this.destroyed$)).subscribe(()=>this.loadContent())}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}render(e,a=!1){var t=this;return M(function*(){const i={decodeHtml:a,inline:t.inline,emoji:t.emoji,mermaid:t.mermaid,disableSanitizer:t.disableSanitizer},l={clipboard:t.clipboard,clipboardOptions:{buttonComponent:t.clipboardButtonComponent,buttonTemplate:t.clipboardButtonTemplate},katex:t.katex,katexOptions:t.katexOptions,mermaid:t.mermaid,mermaidOptions:t.mermaidOptions},d=yield t.markdownService.parse(e,i);t.element.nativeElement.innerHTML=d,t.handlePlugins(),t.markdownService.render(t.element.nativeElement,l,t.viewContainerRef),t.ready.emit()})()}coerceBooleanProperty(e){return null!=e&&"false"!=`${String(e)}`}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe({next:e=>{this.render(e).then(()=>{this.load.emit(e)})},error:e=>this.error.emit(e)})}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,AC.CommandLine),this.setPluginOptions(this.element.nativeElement,{dataFilterOutput:this.filterOutput,dataHost:this.host,dataPrompt:this.prompt,dataOutput:this.output,dataUser:this.user})),this.lineHighlight&&this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset}),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,AC.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(e,a){const t=e.querySelectorAll("pre");for(let i=0;i{const d=a[l];if(d){const u=this.toLispCase(l);t.item(i).setAttribute(u,d.toString())}})}toLispCase(e){const a=e.match(/([A-Z])/g);if(!a)return e;let t=e.toString();for(let i=0,l=a.length;i{class c{static forRoot(e){return{ngModule:c,providers:[oT3(e)]}}static forChild(){return{ngModule:c}}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275mod=M4({type:c});static#a=this.\u0275inj=g4({imports:[f0]})}return c})();var rh1;!function(c){let r;var t;let e,a;(t=r=c.SecurityLevel||(c.SecurityLevel={})).Strict="strict",t.Loose="loose",t.Antiscript="antiscript",t.Sandbox="sandbox",function(t){t.Base="base",t.Forest="forest",t.Dark="dark",t.Default="default",t.Neutral="neutral"}(e=c.Theme||(c.Theme={})),function(t){t[t.Debug=1]="Debug",t[t.Info=2]="Info",t[t.Warn=3]="Warn",t[t.Error=4]="Error",t[t.Fatal=5]="Fatal"}(a=c.LogLevel||(c.LogLevel={}))}(rh1||(rh1={}));let RC=(()=>{class c{constructor(){this.category={name:"Default"},this.faAddressCard=La,this.faCloud=Y51}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275cmp=V1({type:c,selectors:[["bae-badge"]],inputs:{category:"category"},decls:3,vars:2,consts:[[1,"text-xs","font-medium","inline-flex","items-center","px-2.5","py-0.5","rounded-md","text-secondary-50","bg-primary-100","dark:bg-secondary-50","dark:text-primary-100","mb-2"],[1,"text-primary-50","mr-2",3,"icon"]],template:function(a,t){1&a&&(o(0,"a",0),v(1,"fa-icon",1),f(2),n()),2&a&&(s(),k("icon",t.faCloud),s(),V(" ",t.category.name,"\n"))},dependencies:[B4]})}return c})(),C4=(()=>{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275cmp=V1({type:c,selectors:[["error-message"]],inputs:{message:"message"},decls:8,vars:1,consts:[["id","alert-additional-content-2","role","alert",1,"p-4","mb-4","text-red-800","border","border-red-300","rounded-lg","bg-red-50","dark:bg-red-900","dark:border-red-900","dark:text-white"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","w-4","h-4","me-2"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"text-lg","font-medium"],[1,"mt-2","mb-4","text-sm"]],template:function(a,t){1&a&&(o(0,"div",0)(1,"div",1),w(),o(2,"svg",2),v(3,"path",3),n(),O(),o(4,"h3",4),f(5,"Error"),n()(),o(6,"div",5),f(7),n()()),2&a&&(s(7),V(" ",t.message," "))}})}return c})();const th1=(c,r)=>r.id,sT3=(c,r)=>r.value,lT3=(c,r)=>r.name;function fT3(c,r){if(1&c){const e=j();o(0,"div",35)(1,"input",36),C("change",function(){y(e);const t=h().$implicit;return b(h(2).onPriceChange(t))}),n(),o(2,"label",37)(3,"div",38)(4,"div",39)(5,"h5",40),f(6),n()(),o(7,"div",41),v(8,"markdown",42),n()()()()}if(2&c){const e=h(),a=e.$implicit,t=e.$index;s(),k("id","price-radio-"+t),s(),k("for","price-radio-"+t),s(4),H(a.name),s(2),k("data",null==a?null:a.description)}}function dT3(c,r){if(1&c){const e=j();o(0,"div",35)(1,"input",43),C("change",function(){y(e);const t=h().$implicit;return b(h(2).onPriceChange(t))}),n(),o(2,"label",37)(3,"div",38)(4,"div",44)(5,"h5",45),f(6),n()(),o(7,"div",41),v(8,"markdown",42),n()()()()}if(2&c){const e=h(),a=e.$implicit,t=e.$index;s(),k("id","price-radio-"+t),s(),k("for","price-radio-"+t),s(4),H(a.name),s(2),k("data",null==a?null:a.description)}}function uT3(c,r){if(1&c){const e=j();o(0,"div",35)(1,"input",43),C("change",function(){y(e);const t=h().$implicit;return b(h(2).onPriceChange(t))}),n(),o(2,"label",37)(3,"div",46)(4,"div",47)(5,"h2",48),f(6),n()(),v(7,"markdown",49),n()()()}if(2&c){const e=h(),a=e.$implicit,t=e.$index;s(),k("id","price-radio-"+t),s(),k("for","price-radio-"+t),s(4),H(a.name),s(),k("data",null==a?null:a.description)}}function hT3(c,r){if(1&c){const e=j();o(0,"div",35)(1,"input",36),C("change",function(){y(e);const t=h().$implicit;return b(h(2).onPriceChange(t))}),n(),o(2,"label",37)(3,"div",50)(4,"div",51)(5,"h5",45),f(6),n()(),o(7,"div",41),v(8,"markdown",42),n()()()()}if(2&c){const e=h(),a=e.$implicit,t=e.$index;s(),k("id","price-radio-"+t),s(),k("for","price-radio-"+t),s(4),H(a.name),s(2),k("data",null==a?null:a.description)}}function mT3(c,r){if(1&c&&R(0,fT3,9,4,"div",35)(1,dT3,9,4)(2,uT3,8,4)(3,hT3,9,4),2&c){const e=r.$implicit;S(0,"recurring"==e.priceType?0:"usage"==e.priceType?1:"custom"===e.priceType?2:3)}}function _T3(c,r){if(1&c&&(o(0,"h5",33),f(1),m(2,"translate"),n(),o(3,"div",34),c1(4,mT3,4,1,null,null,th1),n()),2&c){const e=h();s(),V("",_(2,1,"CARD._select_price"),":"),s(3),a1(null==e.productOff?null:e.productOff.productOfferingPrice)}}function pT3(c,r){1&c&&(o(0,"div",52)(1,"div",38)(2,"div",51)(3,"h5",45),f(4),m(5,"translate"),n()(),o(6,"p",53),f(7),m(8,"translate"),n()()()),2&c&&(s(4),H(_(5,2,"SHOPPING_CART._free")),s(3),H(_(8,4,"SHOPPING_CART._free_desc")))}function gT3(c,r){if(1&c){const e=j();o(0,"div",57)(1,"input",58),C("change",function(){y(e);const t=h(),i=t.$implicit,l=t.$index,d=h().$index;return b(h(2).onCharChange(d,l,i))}),n(),o(2,"label",59),f(3),n()()}if(2&c){const e=h(),a=e.$implicit,t=e.$index,i=h().$index;s(),k("id","char-radio-"+i+t)("name","char-radio-"+i),s(),k("for","char-radio-"+i+t),s(),H(a.value)}}function vT3(c,r){if(1&c){const e=j();o(0,"div",57)(1,"input",60),C("change",function(){y(e);const t=h(),i=t.$implicit,l=t.$index,d=h().$index;return b(h(2).onCharChange(d,l,i))}),n(),o(2,"label",59),f(3),n()()}if(2&c){const e=h(),a=e.$implicit,t=e.$index,i=h().$index;s(),k("id","char-radio-"+i+t)("name","char-radio-"+i),s(),k("for","char-radio-"+i+t),s(),H(a.value)}}function HT3(c,r){if(1&c&&(o(0,"div",56),R(1,gT3,4,4,"div",57)(2,vT3,4,4),n()),2&c){const e=r.$implicit;s(),S(1,1==(null==e?null:e.isDefault)?1:2)}}function CT3(c,r){if(1&c&&(o(0,"div",54)(1,"h5",55),f(2),n(),c1(3,HT3,3,1,"div",56,sT3),n()),2&c){const e=r.$implicit;s(2),V("",e.name,":"),s(),a1(null==e?null:e.productSpecCharacteristicValue)}}function zT3(c,r){if(1&c&&(o(0,"h5",33),f(1),m(2,"translate"),n(),c1(3,CT3,5,1,"div",54,th1)),2&c){const e=h();s(),V("",_(2,1,"CARD._select_char"),":"),s(2),a1(e.prodSpec.productSpecCharacteristic)}}function VT3(c,r){1&c&&(o(0,"div",61)(1,"div",62),w(),o(2,"svg",63),v(3,"path",64),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"CARD._no_chars")," "))}function MT3(c,r){if(1&c&&(o(0,"p",68)(1,"span",69),f(2),n()(),o(3,"div",70),v(4,"markdown",71),n()),2&c){const e=r.$implicit;s(2),V("",e.name,":"),s(2),k("data",e.description)}}function LT3(c,r){if(1&c){const e=j();o(0,"h5",33),f(1),m(2,"translate"),n(),c1(3,MT3,5,2,null,null,lT3),o(5,"div",57)(6,"input",65),C("change",function(){y(e);const t=h();return b(t.selected_terms=!t.selected_terms)}),n(),o(7,"label",66),f(8),m(9,"translate"),n()(),o(10,"div",26)(11,"button",67),C("click",function(){y(e);const t=h();return b(t.addProductToCart(t.productOff,!0))}),f(12),m(13,"translate"),w(),o(14,"svg",28),v(15,"path",29),n()()()}if(2&c){const e=h();s(),V("",_(2,5,"CARD._terms"),":"),s(2),a1(null==e.productOff?null:e.productOff.productOfferingTerm),s(5),H(_(9,7,"CARD._accept_terms")),s(3),k("disabled",!e.selected_terms)("ngClass",e.selected_terms?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(13,9,"CARD._checkout")," ")}}function yT3(c,r){if(1&c){const e=j();o(0,"div",61)(1,"div",62),w(),o(2,"svg",63),v(3,"path",64),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()(),o(7,"div",26)(8,"button",72),C("click",function(){y(e);const t=h();return b(t.addProductToCart(t.productOff,!0))}),f(9),m(10,"translate"),w(),o(11,"svg",28),v(12,"path",29),n()()()}2&c&&(s(5),V(" ",_(6,2,"CARD._no_terms")," "),s(4),V(" ",_(10,4,"CARD._checkout")," "))}function bT3(c,r){1&c&&v(0,"error-message",32),2&c&&k("message",h().errorMessage)}let ih1=(()=>{class c{constructor(e,a,t,i,l,d,u,p,z){this.cdr=e,this.route=a,this.api=t,this.priceService=i,this.router=l,this.elementRef=d,this.localStorage=u,this.cartService=p,this.eventMessage=z,this.images=[],this.cartSelection=!0,this.check_prices=!1,this.check_char=!1,this.check_terms=!1,this.selected_terms=!1,this.selected_chars=[],this.formattedPrices=[],this.errorMessage="",this.showError=!1}onClick(){this.hideCartSelection()}ngOnInit(){this.toggleCartSelection()}toggleCartSelection(){if(console.log("Add to cart..."),console.log(this.productOff),null!=this.productOff?.productOfferingPrice&&(this.productOff?.productOfferingPrice.length>1?(this.check_prices=!0,this.selected_price=this.productOff?.productOfferingPrice[this.productOff?.productOfferingPrice.length-1]):1==this.productOff?.productOfferingPrice.length&&(this.check_prices=!0,this.selected_price=this.productOff?.productOfferingPrice[0]),this.cdr.detectChanges()),null!=this.productOff?.productOfferingTerm&&(console.log("terms"),console.log(this.productOff?.productOfferingTerm),this.check_terms=!0,this.cdr.detectChanges()),null!=this.prodSpec.productSpecCharacteristic){for(let e=0;e1&&(this.check_char=!0);for(let t=0;t{console.log(l),console.log("Update successful")},error:l=>{console.error("There was an error while updating!",l),l.error.error?(console.log(l),t.errorMessage="Error: "+l.error.error):t.errorMessage="There was an error while adding item to the cart!",t.showError=!0,setTimeout(()=>{t.showError=!1},3e3)}})}}else if(null!=e&&null!=e?.productOfferingPrice){let i={id:e?.id,name:e?.name,image:t.getProductImage(),href:e.href,options:{characteristics:t.selected_chars,pricing:t.selected_price},termsAccepted:!0};t.lastAddedProd=i,yield t.cartService.addItemShoppingCart(i).subscribe({next:l=>{console.log(l),console.log("Update successful")},error:l=>{console.error("There was an error while updating!",l),l.error.error?(console.log(l),t.errorMessage="Error: "+l.error.error):t.errorMessage="There was an error while adding item to the cart!",t.showError=!0,setTimeout(()=>{t.showError=!1},3e3)}})}void 0!==e&&(t.eventMessage.emitAddedCartItem(e),t.eventMessage.emitCloseCartCard(e),t.check_char=!1,t.check_terms=!1,t.check_prices=!1,t.selected_chars=[],t.selected_price={},t.selected_terms=!1,t.cdr.detectChanges()),t.cdr.detectChanges()})()}hideCartSelection(){this.eventMessage.emitCloseCartCard(void 0),this.cartSelection=!1,this.check_char=!1,this.check_terms=!1,this.check_prices=!1,this.formattedPrices=[],this.selected_chars=[],this.selected_price={},this.selected_terms=!1,this.cdr.detectChanges()}getProductImage(){return this.images.length>0?this.images?.at(0)?.url:"https://placehold.co/600x400/svg"}onPriceChange(e){this.selected_price=e,console.log("change price"),console.log(this.selected_price)}onCharChange(e,a,t){this.selected_chars[e].value={isDefault:!0,value:t.value};let l=this.selected_chars[e].characteristic.productSpecCharacteristicValue;if(null!=l)for(let d=0;dr.id;function wT3(c,r){1&c&&f(0," Level 1 ")}function FT3(c,r){1&c&&f(0," Level 2 ")}function kT3(c,r){1&c&&f(0," Level 3 ")}function ST3(c,r){1&c&&v(0,"bae-badge",10),2&c&&k("category",r.$implicit)}function NT3(c,r){if(1&c&&(o(0,"a",11),v(1,"fa-icon",26),n()),2&c){const e=h();s(),k("icon",e.faEllipsis)}}function DT3(c,r){if(1&c){const e=j();o(0,"button",27),C("click",function(t){return y(e),h().toggleCartSelection(),b(t.stopPropagation())}),f(1),m(2,"translate"),n()}if(2&c){const e=h();k("disabled",!e.PURCHASE_ENABLED)("ngClass",e.PURCHASE_ENABLED?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(2,3,"CARD._add_cart")," ")}}function TT3(c,r){1&c&&f(0," Level 1 ")}function ET3(c,r){1&c&&f(0," Level 2 ")}function AT3(c,r){1&c&&f(0," Level 3 ")}function PT3(c,r){1&c&&v(0,"bae-badge",10),2&c&&k("category",r.$implicit)}function RT3(c,r){1&c&&v(0,"bae-badge",10),2&c&&k("category",r.$implicit)}function BT3(c,r){1&c&&c1(0,RT3,1,1,"bae-badge",10,BC),2&c&&a1(h(2).categoriesMore)}function OT3(c,r){if(1&c){const e=j();o(0,"a",52),C("click",function(){return y(e),b(h(2).loadMoreCategories())}),v(1,"fa-icon",26),n()}if(2&c){const e=h(2);s(),k("icon",e.faEllipsis)}}function IT3(c,r){if(1&c){const e=j();o(0,"a",52),C("click",function(){return y(e),b(h(2).closeCategories())}),v(1,"fa-icon",26),n()}if(2&c){const e=h(2);s(),k("icon",e.faClose)}}function UT3(c,r){if(1&c){const e=j();o(0,"li",44),f(1),m(2,"translate"),o(3,"a",53),C("click",function(){y(e);const t=h(2);return b(t.goToOrgDetails(t.orgInfo.id))}),f(4),n()()}if(2&c){const e=h(2);s(),V("",_(2,2,"CARD._owner"),": "),s(3),H(e.orgInfo.tradingName)}}function jT3(c,r){if(1&c){const e=j();o(0,"button",54),C("click",function(t){return y(e),h(2).toggleCartSelection(),b(t.stopPropagation())}),w(),o(1,"svg",55),v(2,"path",56),n(),f(3),m(4,"translate"),n()}if(2&c){const e=h(2);k("disabled",!e.PURCHASE_ENABLED)("ngClass",e.PURCHASE_ENABLED?"hover:bg-primary-50":"opacity-50"),s(3),V(" ",_(4,3,"CARD._add_cart")," ")}}function $T3(c,r){if(1&c){const e=j();o(0,"div",22)(1,"div",28)(2,"div",29),C("click",function(t){return y(e),b(t.stopPropagation())}),o(3,"div",30)(4,"div",31)(5,"h5",32),f(6),n(),o(7,"div",33)(8,"div",34),f(9),n()(),o(10,"div")(11,"a",8),v(12,"fa-icon",9),R(13,TT3,1,0)(14,ET3,1,0)(15,AT3,1,0),n(),c1(16,PT3,1,1,"bae-badge",10,BC),R(18,BT3,2,0)(19,OT3,2,1,"a",35)(20,IT3,2,1,"a",35),n()(),o(21,"div",36),v(22,"div",3)(23,"img",37),n(),v(24,"hr",38),n(),o(25,"div",39)(26,"div",40)(27,"h5",41),f(28),m(29,"translate"),n(),v(30,"markdown",42),n(),o(31,"div",40)(32,"h5",41),f(33),m(34,"translate"),n(),o(35,"ul",43)(36,"li",44),f(37),m(38,"translate"),n(),o(39,"li",45),f(40),m(41,"translate"),n(),o(42,"li",44),f(43),m(44,"translate"),n(),o(45,"li",44),f(46),m(47,"translate"),m(48,"date"),n(),o(49,"li",44),f(50),m(51,"translate"),n(),o(52,"li",44),f(53),m(54,"translate"),n(),R(55,UT3,5,4,"li",44),n()()(),v(56,"hr",46),o(57,"div",47),R(58,jT3,5,5,"button",48),o(59,"button",49),C("click",function(){y(e);const t=h();return b(t.goToProductDetails(t.productOff))}),f(60),m(61,"translate"),w(),o(62,"svg",50),v(63,"path",51),n()()()()()()}if(2&c){const e=h();k("ngClass",e.showModal?"backdrop-blur-sm":""),s(6),H(null==e.productOff?null:e.productOff.name),s(3),V("V: ",(null==e.productOff?null:e.productOff.version)||"latest",""),s(2),k("ngClass",1==e.complianceLevel?"bg-red-200 text-red-700":2==e.complianceLevel?"bg-yellow-200 text-yellow-700":"bg-green-200 text-green-700"),s(),k("icon",e.faAtom)("ngClass",1==e.complianceLevel?"text-red-700":2==e.complianceLevel?"text-yellow-700":"text-green-700"),s(),S(13,1==e.complianceLevel?13:2==e.complianceLevel?14:15),s(3),a1(e.categories),s(2),S(18,e.loadMoreCats?18:-1),s(),S(19,e.checkMoreCats?19:-1),s(),S(20,e.closeCats?20:-1),s(2),Xe("background-image: url(",e.getProductImage(),");filter: blur(20px);"),s(),D1("src",e.getProductImage(),h2),s(5),V("",_(29,31,"CARD._prod_details"),":"),s(2),k("data",null==e.productOff?null:e.productOff.description),s(3),V("",_(34,33,"CARD._extra_info"),":"),s(4),j1("",_(38,35,"CARD._offer_version"),": v",null==e.productOff?null:e.productOff.version,""),s(3),j1("",_(41,37,"CARD._product_name"),": ",e.prodSpec.name,""),s(3),j1("",_(44,39,"CARD._brand"),": ",e.prodSpec.brand,""),s(3),j1("",_(47,41,"CARD._last_update"),": ",L2(48,43,null==e.productOff?null:e.productOff.lastUpdate,"dd/MM/yy, HH:mm"),""),s(4),j1("",_(51,46,"CARD._product_version"),": v",e.prodSpec.version,""),s(3),V("",_(54,48,"CARD._id_number"),": XX"),s(2),S(55,null!=e.orgInfo?55:-1),s(3),S(58,e.check_logged?58:-1),s(2),V(" ",_(61,50,"CARD._details")," ")}}function YT3(c,r){if(1&c){const e=j();o(0,"div",23)(1,"div",57),w(),o(2,"svg",58),v(3,"path",59),n(),O(),o(4,"div",60),f(5),m(6,"translate"),n(),o(7,"div",61)(8,"button",62),C("click",function(){y(e);const t=h();return b(t.deleteProduct(t.lastAddedProd))}),f(9),m(10,"translate"),n(),o(11,"button",63),C("click",function(){return y(e),b(h().toastVisibility=!1)}),o(12,"span",64),f(13),m(14,"translate"),n(),w(),o(15,"svg",65),v(16,"path",66),n()()()(),O(),o(17,"div",67),v(18,"div",68),n()()}2&c&&(s(5),V(" ",_(6,3,"CARD._added_card"),". "),s(4),H(_(10,5,"CARD._undo")),s(4),H(_(14,7,"CARD._close_toast")))}function GT3(c,r){if(1&c&&v(0,"cart-card",24),2&c){const e=h();k("productOff",e.productOff)("prodSpec",e.prodSpec)("images",e.images)("cartSelection",e.cartSelection)}}function qT3(c,r){1&c&&v(0,"error-message",25),2&c&&k("message",h().errorMessage)}let OC=(()=>{class c{constructor(e,a,t,i,l,d,u,p){this.cdr=e,this.localStorage=a,this.eventMessage=t,this.api=i,this.priceService=l,this.cartService=d,this.accService=u,this.router=p,this.category="none",this.categories=[],this.categoriesMore=[],this.price={price:0,priceType:"X"},this.images=[],this.bgColor="",this.toastVisibility=!1,this.detailsModalVisibility=!1,this.prodSpec={},this.complianceProf=Y6,this.complianceLevel=1,this.showModal=!1,this.cartSelection=!1,this.check_prices=!1,this.check_char=!1,this.check_terms=!1,this.selected_terms=!1,this.selected_chars=[],this.formattedPrices=[],this.check_logged=!1,this.faAtom=$9,this.faClose=pl1,this.faEllipsis=jH,this.PURCHASE_ENABLED=m1.PURCHASE_ENABLED,this.checkMoreCats=!1,this.closeCats=!1,this.loadMoreCats=!1,this.errorMessage="",this.showError=!1,this.orgInfo=void 0,this.targetModal=document.getElementById("details-modal"),this.modal=new DF1(this.targetModal),this.eventMessage.messages$.subscribe(z=>{if("CloseCartCard"===z.type){if(this.hideCartSelection(),null!=z.value){this.lastAddedProd=z.value,this.toastVisibility=!0,this.cdr.detectChanges();let x=document.getElementById("progress-bar"),E=document.getElementById("toast-add-cart");null!=x&&null!=E&&(x.style.width="0%",x.style.width="100%",setTimeout(()=>{this.toastVisibility=!1},3500))}this.cdr.detectChanges()}})}onClick(){1==this.showModal&&(this.showModal=!1,this.productOff?.category&&this.productOff?.category.length>5&&(this.loadMoreCats=!1,this.checkMoreCats=!0,this.closeCats=!1),this.cdr.detectChanges()),1==this.cartSelection&&(this.cartSelection=!1,this.check_char=!1,this.check_terms=!1,this.check_prices=!1,this.selected_chars=[],this.selected_price={},this.selected_terms=!1,this.cdr.detectChanges())}ngOnInit(){let e=this.localStorage.getObject("login_items");"{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0?(this.check_logged=!0,this.cdr.detectChanges()):(this.check_logged=!1,this.cdr.detectChanges()),this.category=this.productOff?.category?.at(0)?.name??"none",null!=this.productOff?.category&&this.productOff?.category.length>5?(this.categories=this.productOff?.category.slice(0,4),this.categoriesMore=this.productOff?.category.slice(4),this.checkMoreCats=!0):(this.categories=this.productOff?.category,this.checkMoreCats=!1);let a=this.productOff?.attachment?.filter(l=>"Profile Picture"===l.name)??[];this.images=0==a.length?this.productOff?.attachment?.filter(l=>"Picture"===l.attachmentType)??[]:a;let t=this.productOff?.productSpecification?.id;null!=t&&this.api.getProductSpecification(t).then(l=>{let d=0,u=0,p=[];if(this.prodSpec=l,console.log("prod spec"),console.log(this.prodSpec),this.getOwner(),null!=this.prodSpec.productSpecCharacteristic){let z=this.prodSpec.productSpecCharacteristic.find(x=>"Compliance:VC"===x.name);if(z){const x=z.productSpecCharacteristicValue?.at(0)?.value,E=DC(x);if("verifiableCredential"in E){const Y=E.verifiableCredential.credentialSubject;"compliance"in Y&&(p=Y.compliance.map(Z=>Z.standard))}}}for(let z=0;z-1&&(d+=1);d>0&&(this.complianceLevel=2,d==u&&(this.complianceLevel=3))});let i=this.priceService.formatCheapestPricePlan(this.productOff);this.price={price:i.price,unit:i.unit,priceType:i.priceType,text:i.text},this.cdr.detectChanges()}getProductImage(){return this.images.length>0?this.images?.at(0)?.url:"https://placehold.co/600x400/svg"}loadMoreCategories(){this.loadMoreCats=!this.loadMoreCats,this.checkMoreCats=!1,this.closeCats=!0}closeCategories(){this.closeCats=!1,this.checkMoreCats=!0,this.productOff?.category&&(this.categories=this.productOff?.category.slice(0,4)),this.loadMoreCats=!this.loadMoreCats}ngAfterViewInit(){S1()}addProductToCart(e,a){var t=this;return M(function*(){if(1==a){if(console.log("termschecked:"),console.log(t.selected_terms),null!=e&&null!=e?.productOfferingPrice){let i={id:e?.id,name:e?.name,image:t.getProductImage(),href:e.href,options:{characteristics:t.selected_chars,pricing:t.selected_price},termsAccepted:t.selected_terms};t.lastAddedProd=i,yield t.cartService.addItemShoppingCart(i).subscribe({next:l=>{console.log(l),console.log("Update successful"),t.toastVisibility=!0,t.cdr.detectChanges();let d=document.getElementById("progress-bar"),u=document.getElementById("toast-add-cart");null!=d&&null!=u&&(d.style.width="0%",d.style.width="100%",setTimeout(()=>{t.toastVisibility=!1},3500))},error:l=>{console.error("There was an error while updating!",l),l.error.error?(console.log(l),t.errorMessage="Error: "+l.error.error):t.errorMessage="There was an error while adding item to the cart!",t.showError=!0,setTimeout(()=>{t.showError=!1},3e3)}})}}else if(null!=e&&null!=e?.productOfferingPrice){let i={id:e?.id,name:e?.name,image:t.getProductImage(),href:e.href,options:{characteristics:t.selected_chars,pricing:t.selected_price},termsAccepted:!0};t.lastAddedProd=i,yield t.cartService.addItemShoppingCart(i).subscribe({next:l=>{console.log(l),console.log("Update successful"),t.toastVisibility=!0,t.cdr.detectChanges();let d=document.getElementById("progress-bar"),u=document.getElementById("toast-add-cart");null!=d&&null!=u&&(d.style.width="0%",d.style.width="100%",setTimeout(()=>{t.toastVisibility=!1},3500))},error:l=>{console.error("There was an error while updating!",l),l.error.error?(console.log(l),t.errorMessage="Error: "+l.error.error):t.errorMessage="There was an error while adding item to the cart!",t.showError=!0,setTimeout(()=>{t.showError=!1},3e3)}})}void 0!==e&&t.eventMessage.emitAddedCartItem(e),1==t.cartSelection&&(t.cartSelection=!1,t.check_char=!1,t.check_terms=!1,t.check_prices=!1,t.selected_chars=[],t.selected_price={},t.selected_terms=!1,t.cdr.detectChanges()),t.cdr.detectChanges()})()}deleteProduct(e){void 0!==e&&(this.cartService.removeItemShoppingCart(e.id).subscribe(()=>console.log("removed")),this.eventMessage.emitRemovedCartItem(e)),this.toastVisibility=!1}toggleDetailsModal(){this.showModal=!0,this.cdr.detectChanges()}toggleCartSelection(){if(console.log("Add to cart..."),null!=this.productOff?.productOfferingPrice&&(this.productOff?.productOfferingPrice.length>1?(this.check_prices=!0,this.selected_price=this.productOff?.productOfferingPrice[this.productOff?.productOfferingPrice.length-1]):this.selected_price=this.productOff?.productOfferingPrice[0],this.cdr.detectChanges()),null!=this.productOff?.productOfferingTerm&&(this.check_terms=1!=this.productOff.productOfferingTerm.length||null!=this.productOff.productOfferingTerm[0].name),null!=this.prodSpec.productSpecCharacteristic){for(let e=0;e1&&(this.check_char=!0);for(let t=0;t div[modal-backdrop]")?.remove(),this.router.navigate(["/search",e?.id])}goToOrgDetails(e){document.querySelector("body > div[modal-backdrop]")?.remove(),this.router.navigate(["/org-details",e])}getOwner(){let e=this.prodSpec?.relatedParty;if(e)for(let a=0;a{this.orgInfo=t,console.log("orginfo"),console.log(this.orgInfo)})}static#e=this.\u0275fac=function(a){return new(a||c)(B(B1),B(A1),B(e2),B(p1),B(M8),B(l3),B(O2),B(Q1))};static#c=this.\u0275cmp=V1({type:c,selectors:[["bae-off-card"]],viewQuery:function(a,t){if(1&a&&b1(xT3,5),2&a){let i;M1(i=L1())&&(t.myProdImage=i.first)}},hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},inputs:{productOff:"productOff"},decls:33,vars:19,consts:[[1,"flex","flex-col","w-full","h-full","bg-secondary-50","dark:bg-secondary-100","rounded-lg","dark:border-secondary-100","border-secondary-50","border"],[1,"rounded","overflow-hidden","cursor-pointer",3,"click"],[1,"relative","h-48","flex","justify-center","items-center"],[1,"absolute","inset-0","bg-cover","bg-center","opacity-75"],["alt","Descripci\xf3n de la imagen",1,"h-5/6","w-5/6","object-contain","z-10",3,"src"],[1,"flex-1","h-full","bg-cover","bg-right-bottom","bg-opacity-25","rounded-lg",2,"background-image","url(assets/logos/dome-logo-element-colour.png)"],[1,"flex-1","h-full","px-5","py-5","bg-secondary-50/95","dark:bg-secondary-100/95","rounded-lg"],[1,"overflow-y-hidden"],[1,"text-xs","font-medium","inline-flex","items-center","px-2.5","py-0.5","rounded-md","mb-2","mr-2",3,"ngClass"],[1,"mr-2",3,"icon","ngClass"],[1,"mr-2",3,"category"],[1,"text-xs","font-medium","inline-flex","items-center","px-2.5","py-0.5","rounded-md","text-secondary-50","bg-primary-100","dark:bg-secondary-50","dark:text-primary-100","mb-2","mr-2"],[1,"cursor-pointer",3,"click"],[1,"text-xl","font-semibold","tracking-tight","text-primary-100","dark:text-white","text-wrap","break-all"],[1,"min-h-19","h-19","line-clamp-2","text-gray-600","dark:text-gray-400",3,"data"],[1,"flex","sticky","top-[100vh]","items-center","justify-center","align-items-bottom","rounded-lg","mt-4"],["type","button",1,"flex","items-center","align-items-bottom","text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","dark:bg-primary-100","dark:hover:bg-primary-50","dark:focus:ring-primary-100","mr-1",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 20 14",1,"w-[18px]","h-[18px]","text-white","mr-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2"],["d","M10 10a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z"],["d","M10 13c4.97 0 9-2.686 9-6s-4.03-6-9-6-9 2.686-9 6 4.03 6 9 6Z"],["id","add-to-cart",1,"flex","align-items-bottom","text-white","cursor-pointer","bg-green-700","hover:bg-green-900","focus:ring-4","focus:outline-none","focus:ring-green-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","dark:bg-green-600","dark:hover:bg-green-700","dark:focus:ring-green-800",3,"disabled","ngClass"],["id","details-modal","tabindex","-1","aria-hidden","true",1,"flex","justify-center","overflow-y-auto","overflow-x-hidden","fixed","top-0","right-0","left-0","z-40","justify-center","items-center","w-full","md:inset-0","h-[calc(100%-1rem)]","max-h-full","rounded-lg","shadow-2xl",3,"ngClass"],["id","toast-add-cart","role","alert",1,"flex","grid","grid-flow-row","mr-2","items-center","w-auto","max-w-xs","p-4","text-gray-500","bg-white","rounded-lg","shadow","dark:text-gray-400","dark:bg-gray-800","fixed","top-1/2","right-0","z-50","justify-center"],[3,"productOff","prodSpec","images","cartSelection"],[1,"fixed","w-fit","top-1/2","left-1/2","z-50",3,"message"],[1,"text-secondary-50","dark:text-primary-100",3,"icon"],["id","add-to-cart",1,"flex","align-items-bottom","text-white","cursor-pointer","bg-green-700","hover:bg-green-900","focus:ring-4","focus:outline-none","focus:ring-green-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","dark:bg-green-600","dark:hover:bg-green-700","dark:focus:ring-green-800",3,"click","disabled","ngClass"],[1,"relative","w-full","max-w-7xl","max-h-full","rounded-t-lg"],[1,"relative","sm:m-8","bg-white","rounded-lg","shadow","dark:border-gray-600","dark:bg-secondary-100","bg-cover","bg-right-bottom","rounded-lg",3,"click"],[1,"w-full","mb-4","rounded-t-lg","grid","grid-cols-80/20","lg:grid-cols-60/40"],[1,"flex","flex-col","p-4"],[1,"md:text-3xl","lg:text-4xl","font-semibold","tracking-tight","text-primary-100","dark:text-primary-50","text-wrap","break-all"],[1,"grid","grid-cols-2"],[1,"min-h-19","pt-2","text-gray-500","dark:text-gray-400"],[1,"cursor-pointer","text-xs","font-medium","inline-flex","items-center","px-2.5","py-0.5","rounded-md","text-secondary-50","bg-primary-100","dark:bg-secondary-50","dark:text-primary-100","mb-2"],[1,"relative","h-[200px]","overflow-hidden","flex","justify-center","items-center","border","border-1","border-gray-200","dark:border-gray-700","rounded-tr-lg"],["alt","product image",1,"rounded-r-lg","h-5/6","w-5/6","object-contain","z-10",3,"src"],[1,"h-px","border-gray-200","border-1","dark:border-gray-700"],[1,"p-4","lg:p-5","grid","grid-cols-1","lg:grid-cols-2","gap-4"],[1,"justify-start"],[1,"font-semibold","tracking-tight","text-lg","text-primary-100","dark:text-primary-50"],[1,"min-h-19","h-19","dark:text-secondary-50","line-clamp-6","text-wrap","break-all",3,"data"],[1,"max-w-md","space-y-1","list-disc","list-inside","dark:text-secondary-50","text-wrap","break-all","line-clamp-8"],[1,"text-wrap","break-all","line-clamp-1"],[1,"text-wrap","break-all","line-clamp-2"],[1,"h-px","bg-gray-200","border-0","dark:bg-gray-700"],[1,"flex"],["type","button",1,"m-4","w-fit","flex","items-center","justify-start","text-white","bg-blue-700","hover:bg-blue-800","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center","me-2","dark:bg-blue-600","dark:hover:bg-blue-700","dark:focus:ring-blue-800",3,"disabled","ngClass"],["type","button",1,"m-4","w-fit","flex","items-center","justify-start","text-white","bg-blue-700","hover:bg-blue-800","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center","me-2","dark:bg-blue-600","dark:hover:bg-blue-700","dark:focus:ring-blue-800",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],[1,"cursor-pointer","text-xs","font-medium","inline-flex","items-center","px-2.5","py-0.5","rounded-md","text-secondary-50","bg-primary-100","dark:bg-secondary-50","dark:text-primary-100","mb-2",3,"click"],["target","_blank",1,"cursor-pointer","font-medium","text-primary-100","dark:text-primary-50","hover:underline",3,"click"],["type","button",1,"m-4","w-fit","flex","items-center","justify-start","text-white","bg-blue-700","hover:bg-blue-800","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center","me-2","dark:bg-blue-600","dark:hover:bg-blue-700","dark:focus:ring-blue-800",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 18 21",1,"w-3.5","h-3.5","me-2"],["d","M15 12a1 1 0 0 0 .962-.726l2-7A1 1 0 0 0 17 3H3.77L3.175.745A1 1 0 0 0 2.208 0H1a1 1 0 0 0 0 2h.438l.6 2.255v.019l2 7 .746 2.986A3 3 0 1 0 9 17a2.966 2.966 0 0 0-.184-1h2.368c-.118.32-.18.659-.184 1a3 3 0 1 0 3-3H6.78l-.5-2H15Z"],[1,"flex","items-center","justify-center"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 18 20",1,"w-[18px]","h-[18px]","text-gray-800","dark:text-white","mr-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M6 15a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm0 0h8m-8 0-1-4m9 4a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-9-4h10l2-7H3m2 7L3 4m0 0-.792-3H1"],[1,"text-sm","font-normal"],[1,"flex","items-center","ms-auto","space-x-2","rtl:space-x-reverse","p-1.5"],["type","button",1,"px-3","py-2","text-xs","font-medium","text-center","text-gray-400","hover:text-gray-900","rounded-lg","focus:ring-2","focus:ring-gray-300","p-1.5","hover:bg-gray-100","dark:bg-gray-800","dark:text-white","dark:border-gray-600","dark:hover:bg-gray-700","dark:hover:border-gray-600","dark:focus:ring-gray-700",3,"click"],["type","button","data-dismiss-target","#toast-add-cart","aria-label","Close",1,"ms-auto","-mx-1.5","-my-1.5","bg-white","text-gray-400","hover:text-gray-900","rounded-lg","focus:ring-2","focus:ring-gray-300","p-1.5","hover:bg-gray-100","inline-flex","items-center","justify-center","h-8","w-8","dark:text-gray-500","dark:hover:text-white","dark:bg-gray-800","dark:hover:bg-gray-700",3,"click"],[1,"sr-only"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-3","h-3"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"],[1,"flex","w-full","mt-2","rounded-full","h-2.5","dark:bg-gray-700"],["id","progress-bar",1,"z-10","flex","bg-green-600","h-2.5","rounded-full","dark:bg-green-500","transition-width","delay-200","duration-3000","ease-out",2,"width","0px"]],template:function(a,t){1&a&&(o(0,"div",0)(1,"div",1),C("click",function(){return t.goToProductDetails(t.productOff)}),o(2,"div",2),v(3,"div",3)(4,"img",4),n()(),o(5,"div",5)(6,"div",6)(7,"div",7)(8,"a",8),v(9,"fa-icon",9),R(10,wT3,1,0)(11,FT3,1,0)(12,kT3,1,0),n(),c1(13,ST3,1,1,"bae-badge",10,BC),R(15,NT3,2,1,"a",11),n(),o(16,"a",12),C("click",function(){return t.goToProductDetails(t.productOff)}),o(17,"h5",13),f(18),n()(),v(19,"markdown",14),o(20,"div",15)(21,"button",16),C("click",function(l){return t.toggleDetailsModal(),l.stopPropagation()}),w(),o(22,"svg",17)(23,"g",18),v(24,"path",19)(25,"path",20),n()(),f(26),m(27,"translate"),n(),R(28,DT3,3,5,"button",21),n()()()(),R(29,$T3,64,52,"div",22)(30,YT3,19,9,"div",23)(31,GT3,1,4,"cart-card",24)(32,qT3,1,1,"error-message",25)),2&a&&(s(3),Xe("background-image: url(",t.getProductImage(),");filter: blur(20px);"),s(),D1("src",t.getProductImage(),h2),s(4),k("ngClass",1==t.complianceLevel?"bg-red-200 text-red-700":2==t.complianceLevel?"bg-yellow-200 text-yellow-700":"bg-green-200 text-green-700"),s(),k("icon",t.faAtom)("ngClass",1==t.complianceLevel?"text-red-700":2==t.complianceLevel?"text-yellow-700":"text-green-700"),s(),S(10,1==t.complianceLevel?10:2==t.complianceLevel?11:12),s(3),a1(t.categories),s(2),S(15,t.checkMoreCats?15:-1),s(3),H(null==t.productOff?null:t.productOff.name),s(),k("data",null==t.productOff?null:t.productOff.description),s(7),V(" ",_(27,17,"CARD._details")," "),s(2),S(28,t.check_logged?28:-1),s(),S(29,t.showModal?29:-1),s(),S(30,t.toastVisibility?30:-1),s(),S(31,t.cartSelection?31:-1),s(),S(32,t.showError?32:-1))},dependencies:[k2,B4,_4,RC,C4,ih1,Q4,X1],styles:[".fade[_ngcontent-%COMP%]{transition:all linear .5s;opacity:1}"]})}return c})();const WT3=(c,r)=>r.id;function ZT3(c,r){1&c&&v(0,"bae-off-card",2),2&c&&k("productOff",r.$implicit)}function KT3(c,r){}function QT3(c,r){1&c&&(o(0,"div",3)(1,"div",4),w(),o(2,"svg",5),v(3,"path",6),n(),O(),o(4,"span",7),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"GALLERY._no_products")," "))}let JT3=(()=>{class c{constructor(e,a){this.api=e,this.cdr=a,this.products=[],this.gallery_limit=4}ngOnInit(){console.log("API RESPONSE:"),this.api.getProducts(0,void 0).then(e=>{for(let a=0;a{t=i.attachment;let l=e[a].productOfferingPrice,d=[];if(void 0!==l)if(l.length>0)for(let u=0;u{d.push(p),u+1==l?.length&&(this.products.push({id:e[a].id,name:e[a].name,category:e[a].category,description:e[a].description,lastUpdate:e[a].lastUpdate,attachment:t,productOfferingPrice:d,productSpecification:e[a].productSpecification,productOfferingTerm:e[a].productOfferingTerm,version:e[a].version}),this.cdr.detectChanges())});else this.products.push({id:e[a].id,name:e[a].name,category:e[a].category,description:e[a].description,lastUpdate:e[a].lastUpdate,attachment:t,productOfferingPrice:d,productSpecification:e[a].productSpecification,productOfferingTerm:e[a].productOfferingTerm,version:e[a].version});else this.products.push({id:e[a].id,name:e[a].name,category:e[a].category,description:e[a].description,lastUpdate:e[a].lastUpdate,attachment:t,productOfferingPrice:d,productSpecification:e[a].productSpecification,productOfferingTerm:e[a].productOfferingTerm,version:e[a].version})})}}),console.log("Productos..."),console.log(this.products)}static#e=this.\u0275fac=function(a){return new(a||c)(B(p1),B(B1))};static#c=this.\u0275cmp=V1({type:c,selectors:[["bae-off-gallery"]],decls:8,vars:5,consts:[[1,"text-4xl","mt-4","font-extrabold","text-primary-100","text-center","dark:text-primary-50"],[1,"pt-8","pb-2","px-4","mx-auto","max-w-screen-xl","w-full","grid","gap-2","grid-cols-1","place-items-center","sm:grid-cols-2","xl:grid-cols-4"],[1,"w-full","h-full",3,"productOff"],[1,"flex","justify-center","w-full"],["role","alert",1,"flex","items-center","p-4","mb-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"sr-only"]],template:function(a,t){1&a&&(o(0,"h2",0),f(1),m(2,"translate"),n(),o(3,"div",1),c1(4,ZT3,1,1,"bae-off-card",2,WT3,!1,KT3,0,0),n(),R(7,QT3,9,3,"div",3)),2&a&&(s(),H(_(2,3,"GALLERY._title")),s(3),a1(t.products),s(3),S(7,0===t.products.length?7:-1))},dependencies:[OC,X1]})}return c})(),XT3=(()=>{class c{constructor(){this.faLeaf=Pt1,this.faHammer=jl1,this.faCircleNodes=Ko1,this.faMagnifyingGlass=ZH,this.faLockOpen=e11,this.faShieldCheck=eK}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275cmp=V1({type:c,selectors:[["app-platform-benefits"]],decls:74,vars:48,consts:[[1,"py-8","px-4","mx-auto","max-w-screen-xl","lg:py-16"],[1,"pb-2","text-4xl","font-extrabold","text-primary-100","mb-4","text-center","dark:text-primary-50"],[1,"mb-8","text-lg","font-normal","text-gray-500","lg:text-xl","sm:px-16","xl:px-48","dark:text-secondary-50","text-center"],[1,"grid","grid-cols-1","md:grid-cols-2","lg:grid-cols-3","gap-8"],[1,"border","border-primary-100","dark:border-primary-50","rounded-lg","p-8","md:p-12"],[1,"grid","grid-cols-80/20","pb-4","h-1/4"],[1,"flex","justify-start"],[1,"text-gray-900","dark:text-white","text-3xl","font-extrabold","mb-2"],[1,"flex","justify-end"],[1,"fa-2xl","text-primary-100","dark:text-primary-50","align-middle",3,"icon"],[1,"h-2/4","text-lg","font-normal","text-gray-500","dark:text-gray-400","mb-4"]],template:function(a,t){1&a&&(o(0,"div",0)(1,"h2",1),f(2),m(3,"translate"),n(),o(4,"p",2),f(5),m(6,"translate"),n(),o(7,"div",3)(8,"div",4)(9,"div",5)(10,"div",6)(11,"h2",7),f(12),m(13,"translate"),n()(),o(14,"div",8),v(15,"fa-icon",9),n()(),o(16,"p",10),f(17),m(18,"translate"),n()(),o(19,"div",4)(20,"div",5)(21,"div",6)(22,"h2",7),f(23),m(24,"translate"),n()(),o(25,"div",8),v(26,"fa-icon",9),n()(),o(27,"p",10),f(28),m(29,"translate"),n()(),o(30,"div",4)(31,"div",5)(32,"div",6)(33,"h2",7),f(34),m(35,"translate"),n()(),o(36,"div",8),v(37,"fa-icon",9),n()(),o(38,"p",10),f(39),m(40,"translate"),n()(),o(41,"div",4)(42,"div",5)(43,"div",6)(44,"h2",7),f(45),m(46,"translate"),n()(),o(47,"div",8),v(48,"fa-icon",9),n()(),o(49,"p",10),f(50),m(51,"translate"),n()(),o(52,"div",4)(53,"div",5)(54,"div",6)(55,"h2",7),f(56),m(57,"translate"),n()(),o(58,"div",8),v(59,"fa-icon",9),n()(),o(60,"p",10),f(61),m(62,"translate"),n()(),o(63,"div",4)(64,"div",5)(65,"div",6)(66,"h2",7),f(67),m(68,"translate"),n()(),o(69,"div",8),v(70,"fa-icon",9),n()(),o(71,"p",10),f(72),m(73,"translate"),n()()()()),2&a&&(s(2),H(_(3,20,"PLATFORM._title")),s(3),H(_(6,22,"PLATFORM._subtitle")),s(7),H(_(13,24,"PLATFORM.OPEN._title")),s(3),k("icon",t.faLockOpen),s(2),H(_(18,26,"PLATFORM.OPEN._desc")),s(6),H(_(24,28,"PLATFORM.INTEROPERABLE._title")),s(3),k("icon",t.faCircleNodes),s(2),H(_(29,30,"PLATFORM.INTEROPERABLE._desc")),s(6),H(_(35,32,"PLATFORM.TRUSTWORTHY._title")),s(3),k("icon",t.faShieldCheck),s(2),H(_(40,34,"PLATFORM.TRUSTWORTHY._desc")),s(6),H(_(46,36,"PLATFORM.COMPLIANT._title")),s(3),k("icon",t.faHammer),s(2),H(_(51,38,"PLATFORM.COMPLIANT._desc")),s(6),H(_(57,40,"PLATFORM.SUSTAINABLE._title")),s(3),k("icon",t.faLeaf),s(2),H(_(62,42,"PLATFORM.SUSTAINABLE._desc")),s(6),H(_(68,44,"PLATFORM.TRANSPARENT._title")),s(3),k("icon",t.faMagnifyingGlass),s(2),H(_(73,46,"PLATFORM.TRANSPARENT._desc")))},dependencies:[B4,X1]})}return c})(),eE3=(()=>{class c{constructor(){this.domeAbout=m1.DOME_ABOUT_LINK}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275cmp=V1({type:c,selectors:[["app-explore-dome"]],decls:37,vars:28,consts:[[1,"py-8","px-4","mx-auto","max-w-screen-xl","lg:py-16"],[1,"bg-cover","bg-right-bottom","bg-opacity-25","rounded-lg",2,"background-image","url(assets/images/bg_2_shadow.png)"],[1,"px-5","py-5","bg-blue-900/20","rounded-lg"],[1,"pb-2","text-5xl","font-extrabold","text-white","mb-4","text-center","pt-8"],[1,"mb-8","text-lg","font-normal","text-gray-300","lg:text-xl","sm:px-16","xl:px-48","text-center"],[1,"grid","grid-cols-1","lg:grid-cols-3","gap-4","pt-4","pb-4","pl-8","pr-8","lg:pl-16","lg:pr-16"],[1,"m-2"],[1,"pb-2","text-xl","font-extrabold","text-white","mb-4","text-start"],[1,"mb-8","text-base","font-normal","text-gray-300","text-start"],[1,"flex","items-center","justify-center","pb-8"],["target","_blank",1,"h-fit","w-fit","text-primary-100","bg-white","hover:bg-primary-50","hover:text-white","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"href"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"mr-2","rtl:rotate-180","w-3.5","h-3.5"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"]],template:function(a,t){1&a&&(o(0,"div",0)(1,"div",1)(2,"div",2)(3,"h2",3),f(4),m(5,"translate"),n(),o(6,"p",4),f(7),m(8,"translate"),n(),o(9,"div",5)(10,"div",6)(11,"h2",7),f(12),m(13,"translate"),n(),o(14,"p",8),f(15),m(16,"translate"),n()(),o(17,"div",6)(18,"h2",7),f(19),m(20,"translate"),n(),o(21,"p",8),f(22),m(23,"translate"),n()(),o(24,"div",6)(25,"h2",7),f(26),m(27,"translate"),n(),o(28,"p",8),f(29),m(30,"translate"),n()()(),o(31,"div",9)(32,"a",10),w(),o(33,"svg",11),v(34,"path",12),n(),f(35),m(36,"translate"),n()()()()()),2&a&&(s(4),H(_(5,10,"EXPLORE._title")),s(3),H(_(8,12,"EXPLORE._subtitle")),s(5),H(_(13,14,"EXPLORE._events_title")),s(3),H(_(16,16,"EXPLORE._events_desc")),s(4),H(_(20,18,"EXPLORE._updates_title")),s(3),H(_(23,20,"EXPLORE._updates_desc")),s(4),H(_(27,22,"EXPLORE._resources_title")),s(3),H(_(30,24,"EXPLORE._resources_desc")),s(3),D1("href",t.domeAbout,h2),s(3),V(" ",_(36,26,"EXPLORE._go")," "))},dependencies:[X1]})}return c})();const oh1=c=>({hidden:c});function cE3(c,r){if(1&c&&(o(0,"a",13),f(1),n()),2&c){const e=r.$implicit,a=r.$index,t=h();k("ngClass",fn(2,oh1,t.currentIndexServ!==a)),s(),V(" ",e," ")}}function aE3(c,r){if(1&c&&(o(0,"a",14),f(1),n()),2&c){const e=r.$implicit,a=r.$index,t=h();k("ngClass",fn(2,oh1,t.currentIndexPub!==a)),s(),V(" ",e," ")}}function rE3(c,r){if(1&c){const e=j();o(0,"section",16)(1,"form",17)(2,"div",18)(3,"div",19)(4,"input",20),m(5,"translate"),C("keydown.enter",function(t){return y(e),b(h().filterSearch(t))}),n(),o(6,"button",21),C("click",function(t){return y(e),b(h().filterSearch(t))}),w(),o(7,"svg",22),v(8,"path",23),n(),O(),o(9,"span",24),f(10),m(11,"translate"),n()()()()()()}if(2&c){const e=h();k("ngClass",e.isFilterPanelShown?"sticky top-[118px] backdrop-blur-sm z-20":"sticky top-[72px] backdrop-blur-sm z-20"),s(4),D1("placeholder",_(5,4,"DASHBOARD._search_ph")),k("formControl",e.searchField),s(6),H(_(11,6,"DASHBOARD._search"))}}let tE3=(()=>{class c{constructor(e,a,t,i,l,d,u,p,z){this.localStorage=e,this.eventMessage=a,this.statsService=t,this.route=i,this.router=l,this.api=d,this.loginService=u,this.cdr=p,this.refreshApi=z,this.isFilterPanelShown=!1,this.showContact=!1,this.searchField=new u1,this.searchEnabled=m1.SEARCH_ENABLED,this.domePublish=m1.DOME_PUBLISH_LINK,this.services=[],this.publishers=[],this.categories=[],this.currentIndexServ=0,this.currentIndexPub=0,this.delay=2e3,this.eventMessage.messages$.subscribe(x=>{"FilterShown"===x.type&&(this.isFilterPanelShown=x.value),"CloseContact"==x.type&&(this.showContact=!1,this.cdr.detectChanges())})}onClick(){1==this.showContact&&(this.showContact=!1,this.cdr.detectChanges())}startTagTransition(){setInterval(()=>{this.currentIndexServ=(this.currentIndexServ+1)%this.services.length,this.currentIndexPub=(this.currentIndexPub+1)%this.publishers.length},this.delay)}ngOnInit(){var e=this;return M(function*(){if(e.statsService.getStats().then(a=>{e.services=a?.services,e.publishers=a?.organizations,e.startTagTransition()}),e.isFilterPanelShown=JSON.parse(e.localStorage.getItem("is_filter_panel_shown")),console.log("--- route data"),console.log(e.route.queryParams),console.log(e.route.snapshot.queryParamMap.get("token")),null!=e.route.snapshot.queryParamMap.get("token"))e.loginService.getLogin(e.route.snapshot.queryParamMap.get("token")).then(a=>{console.log("---- loginangular response ----"),console.log(a),console.log(a.username);let t={id:a.id,user:a.username,email:a.email,token:a.accessToken,expire:a.expire,partyId:a.partyId,roles:a.roles,organizations:a.organizations,logged_as:a.id};null!=t.organizations&&t.organizations.length>0&&(t.logged_as=t.organizations[0].id),e.localStorage.addLoginInfo(t),e.eventMessage.emitLogin(t),console.log("----")}),e.router.navigate(["/dashboard"]);else{console.log("sin token");let a=e.localStorage.getObject("login_items");"{}"!=JSON.stringify(a)&&(console.log(a),console.log("moment"),console.log(a.expire),console.log(s2().unix()),console.log(a.expire-s2().unix()),console.log(a.expire-s2().unix()<=5))}e.api.getLaunchedCategories().then(a=>{for(let t=0;t0){for(let d=0;d0){for(let l=0;l0){for(let l=0;l0){for(let u=0;u"+t),v2(this.http.get(l))}static#r=this.\u0275fac=function(e){return new(e||Y3)(f1(V3),f1(A1))};static#t=this.\u0275prov=g1({token:Y3,factory:Y3.\u0275fac,providedIn:"root"})}let L3=(()=>{class c{constructor(e,a,t,i){this.api=e,this.accountService=a,this.orderService=t,this.inventoryService=i,this.PRODUCT_LIMIT=m1.PRODUCT_LIMIT,this.CATALOG_LIMIT=m1.CATALOG_LIMIT}getItemsPaginated(e,a,t,i,l,d,u){return M(function*(){console.log("options"),console.log(d);try{let p=[e];if("keywords"in d&&p.push(d.keywords),"filters"in d&&p.push(d.filters),"partyId"in d&&p.push(d.partyId.toString()),"catalogId"in d&&p.push(d.catalogId.toString()),"sort"in d&&p.push(d.sort),"isBundle"in d&&p.push(d.isBundle),"selectedDate"in d&&p.push(d.selectedDate),"orders"in d&&p.push(d.orders),"role"in d&&p.push(d.role),0==t)i=[],l=[],p[0]=e=0,console.log(p),i=yield u(...p),e+=a;else for(let x=0;x0,{page:e,items:i,nextItems:l,page_check:p}}})()}getProducts(e,a,t){var i=this;return M(function*(){let l=[];try{if(t)if(0==t.length){let d=yield i.api.getProducts(e,a);for(let u=0;u0)for(let P=0;P0)for(let P=0;P0)for(let Y=0;Y0)for(let Y=0;Y0)e[t].price={price:e[t].productPrice[0].price.taxIncludedAmount.value,unit:e[t].productPrice[0].price.taxIncludedAmount.unit,priceType:e[t].productPrice[0].priceType,text:null!=e[t].productPrice[0].unitOfMeasure?"/"+e[t].productPrice[0].unitOfMeasure:e[t].productPrice[0].recurringChargePeriodType};else if(i.productOfferingPrice&&1==i.productOfferingPrice.length){let u=yield a.api.getProductPrice(i.productOfferingPrice[0].id);console.log(u),e[t].price={price:"",unit:"",priceType:u.priceType,text:""}}}}finally{return e}})()}getInventory(e,a,t,i){var l=this;return M(function*(){let d=[];try{let u=yield l.inventoryService.getInventory(e,i,t,a);console.log("inv request"),console.log(u),d=yield l.getOffers(u)}finally{return d}})()}static#e=this.\u0275fac=function(a){return new(a||c)(f1(p1),f1(O2),f1(Y3),f1(U4))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const Pa=(c,r)=>r.id;function iE3(c,r){1&c&&(o(0,"div",29),w(),o(1,"svg",30),v(2,"path",31)(3,"path",32),n(),O(),o(4,"span",33),f(5,"Loading..."),n()())}function oE3(c,r){1&c&&v(0,"bae-badge",44),2&c&&k("category",r.$implicit)}function nE3(c,r){if(1&c){const e=j();o(0,"button",52),C("click",function(t){y(e);const i=h().$implicit;return h(3).showUnsubscribeModal(i),b(t.stopPropagation())}),w(),o(1,"svg",53),v(2,"path",54),n(),O(),o(3,"span",33),f(4,"Unsubscribe"),n()(),o(5,"div",55),f(6," Unsubscribe "),v(7,"div",56),n()}}function sE3(c,r){if(1&c&&(o(0,"span",51),f(1),n()),2&c){const e=h().$implicit;s(),H(e.status)}}function lE3(c,r){if(1&c&&(o(0,"span",57),f(1),n()),2&c){const e=h().$implicit;s(),H(e.status)}}function fE3(c,r){if(1&c&&(o(0,"span",58),f(1),n()),2&c){const e=h().$implicit;s(),H(e.status)}}function dE3(c,r){if(1&c&&(o(0,"span",59),f(1),n()),2&c){const e=h().$implicit;s(),H(e.status)}}function uE3(c,r){1&c&&(o(0,"div",60)(1,"div",61)(2,"span",62),f(3,"Custom"),n()()())}function hE3(c,r){if(1&c&&(o(0,"div",60)(1,"div",61)(2,"span",62),f(3),n(),o(4,"span",63),f(5),n()()()),2&c){const e=h(2).$implicit;s(3),j1("",null==e.price?null:e.price.price," ",null==e.price?null:e.price.unit,""),s(2),H(null==e.price?null:e.price.text)}}function mE3(c,r){1&c&&R(0,uE3,4,0,"div",60)(1,hE3,6,3),2&c&&S(0,"custom"==h().$implicit.price.priceType?0:1)}function _E3(c,r){1&c&&(o(0,"div",60)(1,"div",61)(2,"span",62),f(3),m(4,"translate"),n()()()),2&c&&(s(3),H(_(4,1,"SHOPPING_CART._free")))}function pE3(c,r){if(1&c){const e=j();o(0,"div",35)(1,"div",37),C("click",function(){const t=y(e).$implicit;return b(h(3).selectProduct(t))}),o(2,"div",38),v(3,"div",39)(4,"img",40),n()(),o(5,"div",41)(6,"div",42)(7,"div",43),c1(8,oE3,1,1,"bae-badge",44,Pa),n(),o(10,"div",45)(11,"a",46),C("click",function(){const t=y(e).$implicit;return b(h(3).goToProductDetails(t.product))}),o(12,"h5",47),f(13),n()(),R(14,nE3,8,0),n(),v(15,"markdown",48),o(16,"div",49)(17,"div"),f(18),n(),o(19,"div",50),R(20,sE3,2,1,"span",51)(21,lE3,2,1)(22,fE3,2,1)(23,dE3,2,1),n()(),R(24,mE3,2,1)(25,_E3,5,3),n()()()}if(2&c){const e=r.$implicit,a=r.$index,t=h(3);s(3),Xe("background-image: url(",t.getProductImage(e.product),");filter: blur(20px);"),s(),D1("src",t.getProductImage(e.product),h2),k("id","img-"+a),s(4),a1(null==e.product?null:e.product.category),s(5),H(null==e.product?null:e.product.name),s(),S(14,"active"==e.status?14:-1),s(),k("data",null==e.product?null:e.product.description),s(3),V("V: ",(null==e.product?null:e.product.version)||"latest",""),s(2),S(20,"active"==e.status?20:"created"==e.status?21:"suspended"==e.status?22:"terminated"==e.status?23:-1),s(4),S(24,e.price?24:25)}}function gE3(c,r){1&c&&(o(0,"div",36),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"PRODUCT_INVENTORY._not_found")))}function vE3(c,r){if(1&c){const e=j();o(0,"div",64)(1,"button",65),C("click",function(){return y(e),b(h(4).next())}),f(2," Load more "),w(),o(3,"svg",66),v(4,"path",67),n()()()}}function HE3(c,r){1&c&&R(0,vE3,5,0,"div",64),2&c&&S(0,h(3).page_check?0:-1)}function CE3(c,r){1&c&&(o(0,"div",68),w(),o(1,"svg",30),v(2,"path",31)(3,"path",32),n(),O(),o(4,"span",33),f(5,"Loading..."),n()())}function zE3(c,r){if(1&c&&(o(0,"div",34),c1(1,pE3,26,11,"div",35,Pa,!1,gE3,3,3,"div",36),n(),R(4,HE3,1,1)(5,CE3,6,0)),2&c){const e=h(2);s(),a1(e.inventory),s(3),S(4,e.loading_more?5:4)}}function VE3(c,r){if(1&c){const e=j();o(0,"div",5)(1,"div",6)(2,"div",7)(3,"h2",8),f(4),m(5,"translate"),n()()(),o(6,"div",9)(7,"div",10)(8,"div",11),v(9,"fa-icon",12),o(10,"h2",13),f(11),m(12,"translate"),n()(),o(13,"button",14),f(14),m(15,"translate"),w(),o(16,"svg",15),v(17,"path",16),n()(),O(),o(18,"div",17)(19,"h6",18),f(20),m(21,"translate"),n(),o(22,"ul",19)(23,"li",20)(24,"input",21),C("change",function(){return y(e),b(h().onStateFilterChange("created"))}),n(),o(25,"label",22),f(26," Created "),n()(),o(27,"li",20)(28,"input",23),C("change",function(){return y(e),b(h().onStateFilterChange("active"))}),n(),o(29,"label",24),f(30," Active "),n()(),o(31,"li",20)(32,"input",25),C("change",function(){return y(e),b(h().onStateFilterChange("suspended"))}),n(),o(33,"label",26),f(34," Suspended "),n()(),o(35,"li",20)(36,"input",27),C("change",function(){return y(e),b(h().onStateFilterChange("terminated"))}),n(),o(37,"label",28),f(38," Terminated "),n()()()()()()(),R(39,iE3,6,0,"div",29)(40,zE3,6,2)}if(2&c){const e=h();s(4),H(_(5,6,"PRODUCT_INVENTORY._search_criteria")),s(5),k("icon",e.faSwatchbook),s(2),H(_(12,8,"OFFERINGS._filter_state")),s(3),V(" ",_(15,10,"OFFERINGS._filter_state")," "),s(6),V(" ",_(21,12,"OFFERINGS._status")," "),s(19),S(39,e.loading?39:40)}}function ME3(c,r){if(1&c&&(o(0,"div",105)(1,"div",106)(2,"h2",107),f(3),n()(),v(4,"markdown",108),n()),2&c){const e=h().$implicit;s(3),H(e.name),s(),k("data",null==e?null:e.description)}}function LE3(c,r){1&c&&R(0,ME3,5,2,"div",105),2&c&&S(0,"custom"==r.$implicit.priceType?0:-1)}function yE3(c,r){1&c&&(o(0,"div",104)(1,"div",109)(2,"div",110)(3,"h5",111),f(4),m(5,"translate"),n()(),o(6,"p",112),f(7),m(8,"translate"),n()()()),2&c&&(s(4),H(_(5,2,"SHOPPING_CART._free")),s(3),H(_(8,4,"SHOPPING_CART._free_desc")))}function bE3(c,r){if(1&c&&(o(0,"div",103),c1(1,LE3,1,1,null,null,Pa),R(3,yE3,9,6,"div",104),n()),2&c){const e=h(3);s(),a1(null==e.selectedProduct?null:e.selectedProduct.productPrice),s(2),S(3,0==(null==e.selectedProduct||null==e.selectedProduct.productPrice?null:e.selectedProduct.productPrice.length)?3:-1)}}function xE3(c,r){if(1&c&&(o(0,"div",115)(1,"div",116)(2,"h5",117),f(3),n()(),o(4,"p",118)(5,"b",119),f(6),n(),f(7),n(),o(8,"p",118),f(9),n(),o(10,"p",120),f(11),n()()),2&c){const e=h().$implicit;s(3),H(e.name),s(3),H(null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.value),s(),V(" ",null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.unit,""),s(2),V("/",e.recurringChargePeriodType,""),s(2),H(null==e?null:e.description)}}function wE3(c,r){if(1&c&&(o(0,"div",114)(1,"div",121)(2,"h5",122),f(3),n()(),o(4,"p",118)(5,"b",119),f(6),n(),f(7),n(),o(8,"p",118),f(9),n(),o(10,"p",120),f(11),n()()),2&c){const e=h().$implicit;s(3),H(e.name),s(3),H(null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.value),s(),V(" ",null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.unit,""),s(2),V("/",e.unitOfMeasure,""),s(2),H(null==e?null:e.description)}}function FE3(c,r){if(1&c&&(o(0,"div",114)(1,"div",110)(2,"h5",123),f(3),n()(),o(4,"p",118)(5,"b",119),f(6),n(),f(7),n(),o(8,"p",120),f(9),n()()),2&c){const e=h().$implicit;s(3),H(e.name),s(3),H(null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.value),s(),V(" ",null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.unit,""),s(2),H(null==e?null:e.description)}}function kE3(c,r){if(1&c&&R(0,xE3,12,5,"div",115)(1,wE3,12,5)(2,FE3,10,4),2&c){const e=r.$implicit;S(0,"recurring"==e.priceType?0:"usage"==e.priceType?1:2)}}function SE3(c,r){1&c&&(o(0,"div",114)(1,"div",110)(2,"h5",111),f(3),m(4,"translate"),n()(),o(5,"p",124),f(6),m(7,"translate"),n()()),2&c&&(s(3),H(_(4,2,"SHOPPING_CART._free")),s(3),H(_(7,4,"SHOPPING_CART._free_desc")))}function NE3(c,r){if(1&c&&(o(0,"div",113),c1(1,kE3,3,1,null,null,z1),R(3,SE3,8,6,"div",114),n()),2&c){const e=h(3);s(),a1(null==e.selectedProduct?null:e.selectedProduct.productPrice),s(2),S(3,0==(null==e.selectedProduct||null==e.selectedProduct.productPrice?null:e.selectedProduct.productPrice.length)?3:-1)}}function DE3(c,r){1&c&&R(0,bE3,4,1,"div",103)(1,NE3,4,1),2&c&&S(0,h(2).checkCustom?0:1)}function TE3(c,r){if(1&c){const e=j();o(0,"tr",100)(1,"td",125)(2,"a",126),C("click",function(){const t=y(e).$implicit;return b(h(2).selectService(t.id))}),f(3),n()(),o(4,"td",125),f(5),n(),o(6,"td",127),f(7),n()()}if(2&c){const e=r.$implicit;s(3),H(e.id),s(2),V(" ",e.name," "),s(2),V(" ",e.lifecycleStatus," ")}}function EE3(c,r){1&c&&(o(0,"div",101)(1,"div",128),w(),o(2,"svg",129),v(3,"path",130),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"PRODUCT_INVENTORY._no_services")," "))}function AE3(c,r){if(1&c){const e=j();o(0,"tr",100)(1,"td",125)(2,"a",126),C("click",function(){const t=y(e).$implicit;return b(h(2).selectResource(t.id))}),f(3),n()(),o(4,"td",125),f(5),n(),o(6,"td",127),f(7),n()()}if(2&c){const e=r.$implicit;s(3),H(e.id),s(2),V(" ",e.name," "),s(2),V(" ",e.lifecycleStatus," ")}}function PE3(c,r){1&c&&(o(0,"div",101)(1,"div",128),w(),o(2,"svg",129),v(3,"path",130),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"PRODUCT_INVENTORY._no_resources")," "))}function RE3(c,r){if(1&c&&(o(0,"label",140),f(1),n()),2&c){const e=h().$implicit;s(),j1("",e.value," ",e.unitOfMeasure,"")}}function BE3(c,r){if(1&c&&(o(0,"label",140),f(1),n()),2&c){const e=h().$implicit;s(),H6("",e.valueFrom," - ",e.valueTo," ",null==e?null:e.unitOfMeasure,"")}}function OE3(c,r){if(1&c&&(o(0,"div",134)(1,"div",136)(2,"h3",137),f(3),n(),o(4,"div",138),v(5,"input",139),R(6,RE3,2,2,"label",140)(7,BE3,2,3),n()()()),2&c){const e=r.$implicit;s(3),H(e.name),s(3),S(6,e.value?6:7)}}function IE3(c,r){1&c&&(o(0,"div",135)(1,"div",141),w(),o(2,"svg",129),v(3,"path",130),n(),O(),o(4,"span",33),f(5,"Info"),n(),o(6,"p",142),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"PRODUCT_DETAILS._no_chars")," "))}function UE3(c,r){if(1&c&&(o(0,"div",102,1)(2,"h2",131),f(3),m(4,"translate"),n(),o(5,"div",132)(6,"div",133),c1(7,OE3,8,2,"div",134,Pa,!1,IE3,9,3,"div",135),n()()()),2&c){const e=h(2);s(3),H(_(4,2,"PRODUCT_INVENTORY._chars")),s(4),a1(e.selectedProduct.productCharacteristic)}}function jE3(c,r){if(1&c){const e=j();o(0,"div",5)(1,"div",69)(2,"nav",70)(3,"ol",71)(4,"li",72)(5,"button",73),C("click",function(){return y(e),b(h().back())}),w(),o(6,"svg",74),v(7,"path",75),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",76)(11,"div",20),w(),o(12,"svg",77),v(13,"path",78),n(),O(),o(14,"span",79),f(15),m(16,"translate"),n()()()()()(),o(17,"div",80)(18,"div",81)(19,"div",82)(20,"h5",83),f(21),n()()(),o(22,"div",84)(23,"div",85),v(24,"div",86)(25,"img",87),n()()(),o(26,"div",88)(27,"div",89)(28,"div",90)(29,"h2",91,0),f(31),m(32,"translate"),n(),v(33,"markdown",92),o(34,"h2",93),f(35),m(36,"translate"),n(),R(37,DE3,2,1),n(),o(38,"div")(39,"h2",93),f(40),m(41,"translate"),n(),o(42,"div",94)(43,"div",95)(44,"table",96)(45,"thead",97)(46,"tr")(47,"th",98),f(48," Id "),n(),o(49,"th",98),f(50),m(51,"translate"),n(),o(52,"th",99),f(53),m(54,"translate"),n()()(),o(55,"tbody"),c1(56,TE3,8,3,"tr",100,Pa,!1,EE3,7,3,"div",101),n()()()()(),o(59,"div")(60,"h2",93),f(61),m(62,"translate"),n(),o(63,"div",94)(64,"div",95)(65,"table",96)(66,"thead",97)(67,"tr")(68,"th",98),f(69," Id "),n(),o(70,"th",98),f(71),m(72,"translate"),n(),o(73,"th",99),f(74),m(75,"translate"),n()()(),o(76,"tbody"),c1(77,AE3,8,3,"tr",100,Pa,!1,PE3,7,3,"div",101),n()()()()(),R(80,UE3,10,4,"div",102),n()()()}if(2&c){const e=h();s(8),V(" ",_(9,20,"PRODUCT_DETAILS._back")," "),s(7),H(_(16,22,"PRODUCT_INVENTORY._prod_details")),s(6),H(null==e.selectedProduct.product?null:e.selectedProduct.product.name),s(3),Xe("background-image: url(",e.getProductImage(e.selectedProduct.product),");filter: blur(20px);"),s(),D1("src",e.getProductImage(e.selectedProduct.product),h2),s(6),H(_(32,24,"PRODUCT_INVENTORY._description")),s(2),k("data",null==e.selectedProduct.product?null:e.selectedProduct.product.description),s(2),H(_(36,26,"PRODUCT_INVENTORY._pricing")),s(2),S(37,null!=(null==e.selectedProduct?null:e.selectedProduct.productPrice)?37:-1),s(3),H(_(41,28,"PRODUCT_INVENTORY._services")),s(10),V(" ",_(51,30,"OFFERINGS._name")," "),s(3),V(" ",_(54,32,"OFFERINGS._status")," "),s(3),a1(e.selectedServices),s(5),H(_(62,34,"PRODUCT_INVENTORY._resources")),s(10),V(" ",_(72,36,"OFFERINGS._name")," "),s(3),V(" ",_(75,38,"OFFERINGS._status")," "),s(3),a1(e.selectedResources),s(3),S(80,null!=e.selectedProduct.productCharacteristic&&e.selectedProduct.productCharacteristic.length>0?80:-1)}}function $E3(c,r){if(1&c){const e=j();o(0,"div",3)(1,"div",143),C("click",function(t){return y(e),b(t.stopPropagation())}),o(2,"div",144)(3,"button",145),C("click",function(t){return y(e),h().unsubscribeModal=!1,b(t.stopPropagation())}),w(),o(4,"svg",146),v(5,"path",147),n(),O(),o(6,"span",33),f(7,"Close modal"),n()(),w(),o(8,"svg",148),v(9,"path",149),n(),O(),o(10,"p",150),f(11),n(),o(12,"div",151)(13,"button",152),C("click",function(t){return y(e),h().unsubscribeModal=!1,b(t.stopPropagation())}),f(14," No, cancel "),n(),o(15,"button",153),C("click",function(){y(e);const t=h();return b(t.unsubscribeProduct(t.prodToUnsubscribe.id))}),f(16," Yes, I'm sure "),n()()()()()}if(2&c){const e=h();k("ngClass",e.unsubscribeModal?"backdrop-blur-sm":""),s(11),V("Are you sure you want to cancel this subscription? (",e.prodToUnsubscribe.product.name,")")}}function YE3(c,r){if(1&c){const e=j();o(0,"div",3)(1,"div",143),C("click",function(t){return y(e),b(t.stopPropagation())}),o(2,"div",144)(3,"button",145),C("click",function(t){return y(e),h().renewModal=!1,b(t.stopPropagation())}),w(),o(4,"svg",146),v(5,"path",147),n(),O(),o(6,"span",33),f(7,"Close modal"),n()(),w(),o(8,"svg",148),v(9,"path",154),n(),O(),o(10,"p",150),f(11),n(),o(12,"div",151)(13,"button",152),C("click",function(t){return y(e),h().renewModal=!1,b(t.stopPropagation())}),f(14," No, cancel "),n(),o(15,"button",155),C("click",function(){y(e);const t=h();return b(t.renewProduct(t.prodToRenew.id))}),f(16," Yes, I'm sure "),n()()()()()}if(2&c){const e=h();k("ngClass",e.renewModal?"backdrop-blur-sm":""),s(11),V("Are you sure you want to renew this subscription? (",e.prodToRenew.product.name,")")}}function GE3(c,r){1&c&&v(0,"error-message",4),2&c&&k("message",h().errorMessage)}let qE3=(()=>{class c{constructor(e,a,t,i,l,d,u,p,z){this.inventoryService=e,this.localStorage=a,this.api=t,this.cdr=i,this.priceService=l,this.router=d,this.orderService=u,this.eventMessage=p,this.paginationService=z,this.faIdCard=$6,this.faSort=j6,this.faSwatchbook=_0,this.prodId=void 0,this.inventory=[],this.nextInventory=[],this.partyId="",this.loading=!1,this.bgColor=[],this.products=[],this.unsubscribeModal=!1,this.renewModal=!1,this.prices=[],this.filters=["active","created"],this.loading_more=!1,this.page_check=!0,this.page=0,this.INVENTORY_LIMIT=m1.INVENTORY_LIMIT,this.searchField=new u1,this.keywordFilter=void 0,this.selectedResources=[],this.selectedServices=[],this.errorMessage="",this.showError=!1,this.showDetails=!1,this.checkCustom=!1,this.checkFrom=!0,this.eventMessage.messages$.subscribe(x=>{"ChangedSession"===x.type&&this.initInventory()})}ngOnInit(){null==this.prodId&&(this.checkFrom=!1),this.initInventory()}initInventory(){this.loading=!0;let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0){if(e.logged_as==e.id)this.partyId=e.partyId;else{let t=e.organizations.find(i=>i.id==e.logged_as);this.partyId=t.partyId}this.getInventory(!1)}let a=document.querySelector("[type=search]");a?.addEventListener("input",t=>{console.log("Input updated"),""==this.searchField.value&&(this.keywordFilter=void 0,this.getInventory(!1))}),S1()}onClick(){1==this.unsubscribeModal&&(this.unsubscribeModal=!1,this.cdr.detectChanges()),1==this.prodToRenew&&(this.prodToRenew=!1,this.cdr.detectChanges())}getProductImage(e){let a=[];if(e?.attachment){let t=e?.attachment?.filter(i=>"Profile Picture"===i.name)??[];a=e.attachment?.filter(i=>"Picture"===i.attachmentType)??[],0!=t.length&&(a=t)}return a.length>0?a?.at(0)?.url:"https://placehold.co/600x400/svg"}goToProductDetails(e){document.querySelector("body > div[modal-backdrop]")?.remove(),console.log("info"),console.log(e),this.router.navigate(["product-inventory",e?.id])}getInventory(e){var a=this;return M(function*(){0==e&&(a.loading=!0);let t={keywords:a.keywordFilter,filters:a.filters,partyId:a.partyId};yield a.paginationService.getItemsPaginated(a.page,a.INVENTORY_LIMIT,e,a.inventory,a.nextInventory,t,a.paginationService.getInventory.bind(a.paginationService)).then(i=>{if(a.page_check=i.page_check,a.inventory=i.items,a.nextInventory=i.nextItems,a.page=i.page,a.loading=!1,a.loading_more=!1,S1(),null!=a.prodId&&a.checkFrom){let l=a.inventory.findIndex(d=>d.id==a.prodId);a.selectProduct(a.inventory[l]),a.checkFrom=!1}})})()}onStateFilterChange(e){const a=this.filters.findIndex(t=>t===e);-1!==a?(this.filters.splice(a,1),console.log("elimina filtro"),console.log(this.filters)):(console.log("a\xf1ade filtro"),console.log(this.filters),this.filters.push(e)),this.getInventory(!1)}next(){var e=this;return M(function*(){yield e.getInventory(!0)})()}filterInventoryByKeywords(){this.keywordFilter=this.searchField.value,this.getInventory(!1)}unsubscribeProduct(e){this.inventoryService.updateProduct({status:"suspended"},e).subscribe({next:a=>{this.unsubscribeModal=!1,this.getInventory(!1)},error:a=>{console.error("There was an error while updating!",a),a.error.error?(console.log(a),this.errorMessage="Error: "+a.error.error):this.errorMessage="There was an error while unsubscribing!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}showUnsubscribeModal(e){this.unsubscribeModal=!0,this.prodToUnsubscribe=e}showRenewModal(e){this.renewModal=!0,this.prodToRenew=e}renewProduct(e){console.log(e)}selectProduct(e){this.selectedProduct=e,console.log("selecting prod"),console.log(this.selectedProduct),this.selectedResources=[],this.selectedServices=[];for(let a=0;a{if(null!=a.serviceSpecification)for(let t=0;t{this.selectedServices.push(i),console.log(i)});if(null!=a.resourceSpecification)for(let t=0;t{this.selectedResources.push(i),console.log(i)})}),this.showDetails=!0,console.log(this.selectedProduct)}back(){this.showDetails=!1}selectService(e){this.eventMessage.emitOpenServiceDetails({serviceId:e,prodId:this.selectedProduct.id})}selectResource(e){this.eventMessage.emitOpenResourceDetails({resourceId:e,prodId:this.selectedProduct.id})}static#e=this.\u0275fac=function(a){return new(a||c)(B(U4),B(A1),B(p1),B(B1),B(M8),B(Q1),B(Y3),B(e2),B(L3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["inventory-products"]],hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},inputs:{prodId:"prodId"},decls:6,vars:4,consts:[["detailsContent",""],["charsContent",""],[1,"flex","flex-col","p-4","justify-end"],["tabindex","-1","aria-hidden","true",1,"flex","overflow-y-auto","overflow-x-hidden","fixed","top-0","right-0","left-0","z-50","justify-center","items-center","w-full","md:inset-0","h-modal","md:h-full","shadow-2xl",3,"ngClass"],[1,"fixed","w-fit","top-1/2","left-1/2","z-50",3,"message"],[1,"w-full","h-fit","mb-4","bg-secondary-50","rounded-lg","dark:bg-secondary-100","dark:border-gray-800","border-secondary-50","border","flex","flex-col","shadow-lg"],[1,"flex","w-full","flex-cols","items-center","justify-between"],[1,"mb-4","lg:mb-0","lg:w-1/4","p-8","justify-start"],[1,"text-xl","font-bold","dark:text-white"],[1,"flex","w-full","flex-col","items-center","lg:flex-row","justify-between"],[1,"p-8","w-full"],[1,"flex","flex-row","mb-1"],[1,"fa-base","text-primary-100","align-middle","mr-2",3,"icon"],[1,"text-base","dark:text-white","font-bold"],["id","dropdownDefault","data-dropdown-toggle","dropdown","type","button",1,"text-black","dark:text-white","w-full","justify-between","shadow","bg-white","dark:bg-secondary-200","hover:bg-gray-100","dark:hover:bg-secondary-300","focus:ring-4","focus:outline-none","focus:ring-primary-100","font-medium","rounded-lg","text-sm","p-2.5","text-center","inline-flex","items-center","shadow-lg"],["aria-hidden","true","fill","none","stroke","currentColor","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg",1,"w-4","h-4","ml-2"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M19 9l-7 7-7-7"],["id","dropdown",1,"z-20","hidden","w-fit","md:w-1/5","p-3","bg-white","rounded-lg","shadow","dark:bg-secondary-200"],[1,"mb-3","text-sm","font-medium","text-gray-900","dark:text-white"],["aria-labelledby","dropdownDefault",1,"space-y-2","text-sm"],[1,"flex","items-center"],["id","created","type","checkbox","value","","checked","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500","dark:focus:ring-primary-600","dark:ring-offset-gray-700","focus:ring-2","dark:bg-gray-600","dark:border-gray-500",3,"change"],["for","created",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-100"],["id","active","type","checkbox","value","","checked","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500","dark:focus:ring-primary-600","dark:ring-offset-gray-700","focus:ring-2","dark:bg-gray-600","dark:border-gray-500",3,"change"],["for","active",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-100"],["id","suspended","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500","dark:focus:ring-primary-600","dark:ring-offset-gray-700","focus:ring-2","dark:bg-gray-600","dark:border-gray-500",3,"change"],["for","suspended",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-100"],["id","terminated","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500","dark:focus:ring-primary-600","dark:ring-offset-gray-700","focus:ring-2","dark:bg-gray-600","dark:border-gray-500",3,"change"],["for","terminated",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-100"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"sr-only"],[1,"grid","grid-cols-1","place-items-center","sm:grid-cols-2","lg:grid-cols-3","gap-4"],[1,"w-full","h-full","bg-secondary-50","dark:bg-secondary-100","dark:border-secondary-100","rounded-lg","border-secondary-50","border"],[1,"min-h-19","dark:text-gray-600","text-center","dark:text-gray-400"],[1,"rounded","overflow-hidden","cursor-pointer",3,"click"],[1,"relative","h-48","flex","justify-center","items-center"],[1,"absolute","inset-0","bg-cover","bg-center","opacity-75"],["alt","Descripci\xf3n de la imagen",1,"h-5/6","w-5/6","object-contain","z-10",3,"id","src"],[1,"bg-cover","bg-right-bottom","bg-opacity-25","rounded-lg",2,"background-image","url(assets/logos/dome-logo-element-colour.png)"],[1,"px-5","py-5","bg-secondary-50/95","dark:bg-secondary-100/95","rounded-lg"],[1,"h-[30px]","overflow-y-hidden"],[1,"ml-2",3,"category"],[1,"flex","flex-row","justify-between"],[1,"flex","cursor-pointer",3,"click"],[1,"text-xl","font-semibold","tracking-tight","text-primary-100","dark:text-white"],[1,"min-h-19","h-19","line-clamp-2","text-gray-600","dark:text-gray-400",3,"data"],[1,"flex","w-full","justify-between","mt-2.5","mb-5","text-gray-500","font-mono"],[1,"flex","items-center","justify-center","rounded-lg"],[1,"bg-blue-100","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],["type","button","data-tooltip-target","unsubscribe-default",1,"flex","text-red-600","border","border-red-600","hover:bg-red-600","hover:text-white","focus:ring-4","focus:outline-none","focus:ring-red-400","font-medium","rounded-full","text-sm","p-2","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M6 18 17.94 6M18 18 6.06 6"],["id","unsubscribe-default","role","tooltip",1,"absolute","z-10","invisible","inline-block","px-3","py-2","text-sm","font-medium","text-white","transition-opacity","duration-300","rounded-lg","shadow-sm","opacity-0","tooltip","bg-primary-100"],["data-popper-arrow","",1,"tooltip-arrow"],[1,"bg-blue-100","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"flex","flex-col","place-content-center","items-baseline","mb-5","w-full"],[1,"flex","place-content-center","items-baseline","w-full"],[1,"text-2xl","font-bold","text-gray-900","mr-1","dark:text-white"],[1,"text-xs","font-bold","text-gray-900","dark:text-white"],[1,"flex","pt-6","pb-6","justify-center","align-middle"],[1,"flex","cursor-pointer","items-center","justify-center","px-3","h-8","text-sm","font-medium","text-gray-500","bg-white","border","border-gray-300","rounded-lg","hover:bg-gray-100","hover:text-gray-700","dark:bg-gray-800","dark:border-gray-700","dark:text-gray-400","dark:hover:bg-gray-700","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle","mt-2"],[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-secondary-50","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"w-full","lg:h-fit","bg-secondary-50","rounded-lg","dark:bg-secondary-100","lg:grid","lg:grid-cols-80/20"],[1,"grid","grid-rows-auto","p-4","md:p-8","h-fit"],[1,"mt-2","h-fit"],[1,"text-2xl","md:text-3xl","lg:text-4xl","font-semibold","tracking-tight","text-primary-100","dark:text-white"],[1,"hidden","lg:block","overflow-hidden","rounded-lg","mr-4"],[1,"hidden","lg:flex","relative","justify-center","items-center","w-full","h-full"],[1,"object-contain","overflow-hidden","absolute","inset-0","bg-cover","bg-center","opacity-75"],["alt","Descripci\xf3n de la imagen",1,"object-contain","max-h-[350px]","z-10","p-8",3,"src"],[1,"p-4"],["id","desc-container",1,"w-full","bg-secondary-50/95","dark:bg-secondary-100/95","rounded-lg","p-8","lg:p-12"],["id","details-container"],[1,"text-2xl","md:text-3xl","lg:text-4xl","font-extrabold","text-primary-100","dark:text-primary-50","text-center","pb-4"],[1,"dark:text-gray-200","text-wrap","break-all",3,"data"],[1,"text-2xl","md:text-3xl","lg:text-4xl","font-extrabold","text-primary-100","dark:text-primary-50","text-center","pb-8","pt-12"],[1,"bg-secondary-50","dark:bg-secondary-100","p-4","rounded-lg"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"hidden","md:table-cell","px-6","py-3"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"flex","justify-center","w-full","m-4"],["id","chars-container"],[1,"grid","grid-flow-row","gap-4","lg:grid-cols-2","lg:auto-cols-auto","justify-items-center","p-2"],[1,"inline-flex","items-center","justify-center","w-full"],[1,"mx-auto","bg-white","border","border-gray-200","dark:bg-secondary-200","dark:border-gray-800","rounded-lg","shadow","w-full","p-4"],[1,"flex","justify-start","mb-2"],[1,"text-gray-900","dark:text-white","text-3xl","font-extrabold","mb-2"],[1,"dark:text-gray-200","w-full","p-4","text-wrap","break-all",3,"data"],[1,"max-w-sm","bg-white","border","border-gray-200","rounded-lg","shadow","w-full"],[1,"bg-blue-500","rounded-t-lg","w-full"],[1,"flex","justify-center","mb-2","p-6","text-2xl","font-bold","tracking-tight","text-gray-900"],[1,"flex","justify-center","mb-2","p-4","font-normal","text-gray-700"],[1,"grid","grid-flow-row","gap-4","lg:grid-cols-3","lg:auto-cols-auto","justify-items-center","p-2"],[1,"max-w-sm","bg-white","border","border-gray-200","dark:bg-secondary-200","dark:border-gray-800","rounded-lg","shadow","w-full"],[1,"max-w-sm","bg-white","dark:bg-secondary-200","dark:border-gray-800","border","border-gray-200","rounded-lg","shadow","w-full"],[1,"bg-green-500","rounded-t-lg","w-full","text-wrap","break-all"],[1,"flex","justify-center","mb-2","p-6","text-2xl","font-bold","tracking-tight","text-gray-900","w-full"],[1,"flex","justify-center","font-normal","text-gray-700","dark:text-white"],[1,"text-xl","mr-2"],[1,"flex","justify-center","mb-2","p-4","font-normal","text-gray-700","dark:text-white","text-wrap","break-all"],[1,"bg-yellow-300","rounded-t-lg","w-full"],[1,"flex","justify-center","mb-2","p-6","text-2xl","font-bold","tracking-tight","text-gray-900","text-wrap","break-all"],[1,"flex","justify-center","mb-4","p-6","text-2xl","font-bold","tracking-tight","text-gray-900","text-wrap","break-all"],[1,"flex","justify-center","mb-2","font-normal","text-gray-700","dark:text-white"],[1,"px-6","py-4","text-wrap","break-all","w-1/2","md:w-1/4"],[1,"cursor-pointer","font-medium","text-primary-100","dark:text-primary-50","hover:underline",3,"click"],[1,"hidden","md:table-cell","px-6","py-4","md:w-1/4"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"text-2xl","md:text-3xl","lg:text-4xl","font-extrabold","text-primary-100","text-center","pb-8","pt-12","dark:text-primary-50"],[1,"container","mx-auto","px-4"],[1,"flex","flex-wrap","-mx-4"],[1,"w-full","md:w-1/2","lg:w-1/3","px-4","mb-8"],[1,"flex","justify-center","items-center","w-full"],[1,"border","border-gray-200","rounded-lg","shadow","bg-white","dark:bg-secondary-200","dark:border-gray-800","shadow-md","p-8","h-full"],[1,"text-2xl","font-bold","mb-4","dark:text-white"],[1,"flex","items-center","pl-4"],["disabled","","checked","","id","disabled-checked-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","dark:bg-gray-600","dark:border-gray-800","rounded-full","focus:ring-blue-500","focus:ring-2"],["for","disabled-checked-checkbox",1,"ms-2","text-sm","font-medium","text-gray-700","dark:text-gray-200","dark:bg-secondary-200","dark:border-gray-800","text-wrap","break-all"],["role","alert",1,"flex","items-center","w-1/2","p-4","mb-4","text-sm","text-primary-100","rounded-lg","bg-white","border","border-gray-200","shadow-md","dark:bg-secondary-200","dark:text-primary-50"],[1,"text-center"],[1,"relative","p-4","w-full","max-w-md","h-full","md:h-auto",3,"click"],[1,"relative","p-4","text-center","bg-white","rounded-lg","shadow","dark:bg-gray-800","sm:p-5"],["type","button",1,"text-gray-400","absolute","top-2.5","right-2.5","bg-transparent","hover:bg-gray-200","hover:text-gray-900","rounded-lg","text-sm","p-1.5","ml-auto","inline-flex","items-center","dark:hover:bg-gray-600","dark:hover:text-white",3,"click"],["aria-hidden","true","fill","currentColor","viewBox","0 0 20 20","xmlns","http://www.w3.org/2000/svg",1,"w-5","h-5"],["fill-rule","evenodd","d","M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule","evenodd"],["aria-hidden","true","fill","currentColor","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg",1,"text-gray-400","dark:text-gray-500","w-12","h-12","mb-3.5","mx-auto"],["fill-rule","evenodd","d","M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm7.707-3.707a1 1 0 0 0-1.414 1.414L10.586 12l-2.293 2.293a1 1 0 1 0 1.414 1.414L12 13.414l2.293 2.293a1 1 0 0 0 1.414-1.414L13.414 12l2.293-2.293a1 1 0 0 0-1.414-1.414L12 10.586 9.707 8.293Z","clip-rule","evenodd"],[1,"mb-4","text-gray-500","dark:text-gray-300"],[1,"flex","justify-center","items-center","space-x-4"],["type","button",1,"py-2","px-3","text-sm","font-medium","text-gray-500","bg-white","rounded-lg","border","border-gray-200","hover:bg-gray-100","focus:ring-4","focus:outline-none","focus:ring-primary-300","hover:text-gray-900","focus:z-10","dark:bg-gray-700","dark:text-gray-300","dark:border-gray-500","dark:hover:text-white","dark:hover:bg-gray-600","dark:focus:ring-gray-600",3,"click"],["type","submit",1,"py-2","px-3","text-sm","font-medium","text-center","text-white","bg-red-600","rounded-lg","hover:bg-red-700","focus:ring-4","focus:outline-none","focus:ring-red-300","dark:bg-red-500","dark:hover:bg-red-600","dark:focus:ring-red-900",3,"click"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m16 10 3-3m0 0-3-3m3 3H5v3m3 4-3 3m0 0 3 3m-3-3h14v-3"],["type","submit",1,"py-2","px-3","text-sm","font-medium","text-center","text-white","bg-blue-600","rounded-lg","hover:bg-blue-700","focus:ring-4","focus:outline-none","focus:ring-blue-300","dark:bg-blue-500","dark:hover:bg-blue-600","dark:focus:ring-blue-900",3,"click"]],template:function(a,t){1&a&&(o(0,"div",2),R(1,VE3,41,14)(2,jE3,81,40)(3,$E3,17,2,"div",3)(4,YE3,17,2,"div",3)(5,GE3,1,1,"error-message",4),n()),2&a&&(s(),S(1,t.showDetails?2:1),s(2),S(3,t.unsubscribeModal?3:-1),s(),S(4,t.renewModal?4:-1),s(),S(5,t.showError?5:-1))},dependencies:[k2,B4,_4,RC,C4,X1]})}return c})();const nh1=(c,r)=>r.id;function WE3(c,r){1&c&&(o(0,"div",30),w(),o(1,"svg",31),v(2,"path",32)(3,"path",33),n(),O(),o(4,"span",34),f(5,"Loading..."),n()())}function ZE3(c,r){if(1&c){const e=j();o(0,"tr",41)(1,"td",43)(2,"a",44),C("click",function(){const t=y(e).$implicit;return b(h(3).selectResource(t))}),f(3),n()(),o(4,"td",43),f(5),n(),o(6,"td",45),f(7),n(),o(8,"td",45),f(9),m(10,"date"),n()()}if(2&c){const e=r.$implicit;s(3),H(e.id),s(2),V(" ",e.name," "),s(2),V(" ",e.resourceStatus," "),s(2),V(" ",L2(10,4,e.startOperatingDate,"EEEE, dd/MM/yy, HH:mm")," ")}}function KE3(c,r){1&c&&(o(0,"div",42)(1,"div",46),w(),o(2,"svg",47),v(3,"path",48),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"PRODUCT_INVENTORY._no_resources")," "))}function QE3(c,r){if(1&c){const e=j();o(0,"div",49)(1,"button",50),C("click",function(){return y(e),b(h(4).next())}),f(2," Load more "),w(),o(3,"svg",51),v(4,"path",52),n()()()}}function JE3(c,r){1&c&&R(0,QE3,5,0,"div",49),2&c&&S(0,h(3).page_check?0:-1)}function XE3(c,r){1&c&&(o(0,"div",53),w(),o(1,"svg",31),v(2,"path",32)(3,"path",33),n(),O(),o(4,"span",34),f(5,"Loading..."),n()())}function eA3(c,r){if(1&c&&(o(0,"div",35)(1,"div",36)(2,"table",37)(3,"thead",38)(4,"tr")(5,"th",39),f(6," Id "),n(),o(7,"th",39),f(8),m(9,"translate"),n(),o(10,"th",40),f(11),m(12,"translate"),n(),o(13,"th",40),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,ZE3,11,7,"tr",41,nh1,!1,KE3,7,3,"div",42),n()()(),o(20,"div"),R(21,JE3,1,1)(22,XE3,6,0),n()()),2&c){const e=h(2);s(8),V(" ",_(9,5,"OFFERINGS._name")," "),s(3),V(" ",_(12,7,"OFFERINGS._status")," "),s(3),V(" ",_(15,9,"PRODUCT_INVENTORY._start_date")," "),s(3),a1(e.resources),s(4),S(21,e.loading_more?22:21)}}function cA3(c,r){if(1&c){const e=j();o(0,"div",2)(1,"div",3)(2,"div",4)(3,"h2",5),f(4),m(5,"translate"),n()()(),o(6,"div",6)(7,"div",7)(8,"div",8),v(9,"fa-icon",9),o(10,"h2",10),f(11),m(12,"translate"),n()(),o(13,"button",11),f(14),m(15,"translate"),w(),o(16,"svg",12),v(17,"path",13),n()(),O(),o(18,"div",14)(19,"h6",15),f(20),m(21,"translate"),n(),o(22,"ul",16)(23,"li",17)(24,"input",18),C("change",function(){return y(e),b(h().onStateFilterChange("standby"))}),n(),o(25,"label",19),f(26," Standby "),n()(),o(27,"li",17)(28,"input",20),C("change",function(){return y(e),b(h().onStateFilterChange("alarm"))}),n(),o(29,"label",21),f(30," Alarm "),n()(),o(31,"li",17)(32,"input",22),C("change",function(){return y(e),b(h().onStateFilterChange("available"))}),n(),o(33,"label",23),f(34," Available "),n()(),o(35,"li",17)(36,"input",24),C("change",function(){return y(e),b(h().onStateFilterChange("reserved"))}),n(),o(37,"label",25),f(38," Reserved "),n()(),o(39,"li",17)(40,"input",26),C("change",function(){return y(e),b(h().onStateFilterChange("suspended"))}),n(),o(41,"label",27),f(42," Suspended "),n()(),o(43,"li",17)(44,"input",28),C("change",function(){return y(e),b(h().onStateFilterChange("unknown"))}),n(),o(45,"label",29),f(46," Unknown "),n()()()()()()(),R(47,WE3,6,0,"div",30)(48,eA3,23,11)}if(2&c){const e=h();s(4),H(_(5,6,"PRODUCT_INVENTORY._search_criteria")),s(5),k("icon",e.faSwatchbook),s(2),H(_(12,8,"OFFERINGS._filter_state")),s(3),V(" ",_(15,10,"OFFERINGS._filter_state")," "),s(6),V(" ",_(21,12,"OFFERINGS._status")," "),s(27),S(47,e.loading?47:48)}}function aA3(c,r){if(1&c&&(o(0,"label",78),f(1),n()),2&c){const e=h().$implicit;s(),j1("",e.value," ",e.unitOfMeasure,"")}}function rA3(c,r){if(1&c&&(o(0,"label",78),f(1),n()),2&c){const e=h().$implicit;s(),H6("",e.valueFrom," - ",e.valueTo," ",null==e?null:e.unitOfMeasure,"")}}function tA3(c,r){if(1&c&&(o(0,"div",72)(1,"div",74)(2,"h3",75),f(3),n(),o(4,"div",76),v(5,"input",77),R(6,aA3,2,2,"label",78)(7,rA3,2,3),n()()()),2&c){const e=r.$implicit;s(3),H(e.name),s(3),S(6,e.value?6:7)}}function iA3(c,r){1&c&&(o(0,"div",73)(1,"div",79),w(),o(2,"svg",47),v(3,"path",48),n(),O(),o(4,"span",34),f(5,"Info"),n(),o(6,"p",80),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"PRODUCT_DETAILS._no_chars")," "))}function oA3(c,r){if(1&c&&(o(0,"div",68,0)(2,"h2",69),f(3),m(4,"translate"),n(),o(5,"div",70)(6,"div",71),c1(7,tA3,8,2,"div",72,nh1,!1,iA3,9,3,"div",73),n()()()),2&c){const e=h(2);s(3),H(_(4,2,"PRODUCT_INVENTORY._res_details")),s(4),a1(e.selectedRes.resourceCharacteristic)}}function nA3(c,r){if(1&c){const e=j();o(0,"div",2)(1,"div",54)(2,"nav",55)(3,"ol",56)(4,"li",57)(5,"button",58),C("click",function(){return y(e),b(h().back())}),w(),o(6,"svg",59),v(7,"path",60),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",61)(11,"div",17),w(),o(12,"svg",62),v(13,"path",63),n(),O(),o(14,"span",64),f(15),m(16,"translate"),n()()()()()(),o(17,"div",65)(18,"h2",66),f(19),n(),v(20,"markdown",67),m(21,"translate"),R(22,oA3,10,4,"div",68),n()()}if(2&c){const e=h();s(8),V(" ",_(9,5,"PRODUCT_DETAILS._back")," "),s(7),H(_(16,7,"PRODUCT_INVENTORY._res_details")),s(4),H(e.selectedRes.name),s(),k("data",e.selectedRes.description?e.selectedRes.description:_(21,9,"CATALOGS._no_desc")),s(2),S(22,null!=e.selectedRes.resourceCharacteristic&&e.selectedRes.resourceCharacteristic.length>0?22:-1)}}let sA3=(()=>{class c{constructor(e,a,t,i,l,d,u){this.inventoryService=e,this.localStorage=a,this.api=t,this.cdr=i,this.router=l,this.eventMessage=d,this.paginationService=u,this.faIdCard=$6,this.faSort=j6,this.faSwatchbook=_0,this.resourceId=void 0,this.prodId=void 0,this.partyId="",this.loading=!1,this.resources=[],this.nextResources=[],this.status=[],this.loading_more=!1,this.page_check=!0,this.page=0,this.INVENTORY_LIMIT=m1.INVENTORY_RES_LIMIT,this.showDetails=!1,this.eventMessage.messages$.subscribe(p=>{"ChangedSession"===p.type&&this.initInventory()})}ngOnInit(){null!=this.resourceId&&this.api.getResourceSpec(this.resourceId).then(e=>{this.selectResource(e),console.log("entre"),console.log(e)}),this.initInventory()}initInventory(){this.loading=!0;let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0){if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}this.getInventory(!1)}S1()}getInventory(e){var a=this;return M(function*(){0==e&&(a.loading=!0),a.paginationService.getItemsPaginated(a.page,a.INVENTORY_LIMIT,e,a.resources,a.nextResources,{partyId:a.partyId,filters:a.status},a.inventoryService.getResourceInventory.bind(a.inventoryService)).then(i=>{a.page_check=i.page_check,a.resources=i.items,a.nextResources=i.nextItems,a.page=i.page,a.loading=!1,a.loading_more=!1,console.log(a.resources)})})()}next(){var e=this;return M(function*(){yield e.getInventory(!0)})()}selectResource(e){this.selectedRes=e,this.showDetails=!0}back(){null!=this.prodId?(this.eventMessage.emitOpenProductInvDetails(this.prodId),this.showDetails=!1):this.showDetails=!1}onStateFilterChange(e){const a=this.status.findIndex(t=>t===e);-1!==a?(this.status.splice(a,1),console.log("elimina filtro"),console.log(this.status)):(console.log("a\xf1ade filtro"),console.log(this.status),this.status.push(e)),this.getInventory(!1)}static#e=this.\u0275fac=function(a){return new(a||c)(B(U4),B(A1),B(p1),B(B1),B(Q1),B(e2),B(L3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["inventory-resources"]],inputs:{resourceId:"resourceId",prodId:"prodId"},decls:3,vars:1,consts:[["charsContent",""],[1,"flex","flex-col","p-4","justify-end"],[1,"w-full","h-fit","mb-4","bg-secondary-50","rounded-lg","dark:bg-secondary-100","dark:border-gray-800","border-secondary-50","border","flex","flex-col","shadow-lg"],[1,"flex","w-full","flex-cols","items-center","justify-between"],[1,"mb-4","lg:mb-0","lg:w-1/4","p-8","justify-start"],[1,"text-xl","font-bold","dark:text-white"],[1,"flex","w-full","flex-col","items-center","lg:flex-row","justify-between"],[1,"p-8","w-full"],[1,"flex","flex-row","mb-1"],[1,"fa-base","text-primary-100","align-middle","mr-2",3,"icon"],[1,"text-base","dark:text-white","font-bold"],["id","dropdownDefault","data-dropdown-toggle","dropdown","type","button",1,"text-black","dark:text-white","w-full","justify-between","shadow","bg-white","dark:bg-secondary-200","hover:bg-gray-100","dark:hover:bg-secondary-300","focus:ring-4","focus:outline-none","focus:ring-primary-100","font-medium","rounded-lg","text-sm","p-2.5","text-center","inline-flex","items-center","shadow-lg"],["aria-hidden","true","fill","none","stroke","currentColor","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg",1,"w-4","h-4","ml-2"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M19 9l-7 7-7-7"],["id","dropdown",1,"z-20","hidden","w-fit","md:w-1/5","p-3","bg-white","rounded-lg","shadow","dark:bg-secondary-200"],[1,"mb-3","text-sm","font-medium","text-gray-900","dark:text-white"],["aria-labelledby","dropdownDefault",1,"space-y-2","text-sm"],[1,"flex","items-center"],["id","standby","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","standby",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","alarm","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","alarm",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","available","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","available",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","reserved","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","reserved",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","suspended","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","suspended",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","unknown","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","unknown",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"sr-only"],[1,"bg-secondary-50","dark:bg-secondary-100","border","dark:border-gray-800","mt-8","p-4","rounded-lg"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"hidden","md:table-cell","px-6","py-3"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"flex","justify-center","w-full","m-4"],[1,"px-6","py-4","text-wrap","break-all","w-1/2","md:w-1/4"],[1,"cursor-pointer","font-medium","text-primary-100","dark:text-primary-50","hover:underline",3,"click"],[1,"hidden","md:table-cell","px-6","py-4","md:w-1/4"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"flex","pt-4","justify-center","align-middle"],[1,"flex","cursor-pointer","items-center","justify-center","px-3","h-8","text-sm","font-medium","text-gray-500","bg-white","border","border-gray-300","rounded-lg","hover:bg-gray-100","hover:text-gray-700","dark:bg-gray-800","dark:border-gray-700","dark:text-gray-400","dark:hover:bg-gray-700","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle","mt-2"],[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-secondary-50","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"p-4"],[1,"text-2xl","font-extrabold","text-primary-100","text-center","dark:text-primary-50","pb-4"],[1,"bg-gray-50","text-wrap","break-all","dark:bg-secondary-300","dark:text-white","text-gray-900","pb-4","text-center",3,"data"],["id","chars-container"],[1,"text-xl","font-bold","dark:text-white","pb-4","px-4"],[1,"container","mx-auto","px-4"],[1,"flex","flex-wrap","-mx-4"],[1,"w-full","md:w-1/2","lg:w-1/3","px-4","mb-8"],[1,"flex","justify-center","items-center","w-full"],[1,"border","border-gray-200","rounded-lg","shadow","bg-white","dark:bg-secondary-200","dark:border-gray-800","shadow-md","p-8","h-full"],[1,"text-2xl","font-bold","mb-4","dark:text-white"],[1,"flex","items-center","pl-4"],["disabled","","checked","","id","disabled-checked-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","dark:bg-gray-600","dark:border-gray-800","rounded-full","focus:ring-blue-500","focus:ring-2"],["for","disabled-checked-checkbox",1,"ms-2","text-sm","font-medium","text-gray-700","dark:text-gray-200","dark:bg-secondary-200","dark:border-gray-800","text-wrap","break-all"],["role","alert",1,"flex","items-center","w-1/2","p-4","mb-4","text-sm","text-primary-100","rounded-lg","bg-white","border","border-gray-200","shadow-md","dark:bg-secondary-200","dark:text-primary-50"],[1,"text-center"]],template:function(a,t){1&a&&(o(0,"div",1),R(1,cA3,49,14)(2,nA3,23,11),n()),2&a&&(s(),S(1,t.showDetails?2:1))},dependencies:[B4,_4,Q4,X1]})}return c})();const sh1=(c,r)=>r.id;function lA3(c,r){1&c&&(o(0,"div",30),w(),o(1,"svg",31),v(2,"path",32)(3,"path",33),n(),O(),o(4,"span",34),f(5,"Loading..."),n()())}function fA3(c,r){if(1&c){const e=j();o(0,"tr",41)(1,"td",43)(2,"a",44),C("click",function(){const t=y(e).$implicit;return b(h(3).selectService(t))}),f(3),n()(),o(4,"td",43),f(5),n(),o(6,"td",45),f(7),n(),o(8,"td",45),f(9),m(10,"date"),n()()}if(2&c){const e=r.$implicit;s(3),H(e.id),s(2),V(" ",e.name," "),s(2),V(" ",e.state," "),s(2),V(" ",L2(10,4,e.startDate,"EEEE, dd/MM/yy, HH:mm")," ")}}function dA3(c,r){1&c&&(o(0,"div",42)(1,"div",46),w(),o(2,"svg",47),v(3,"path",48),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"PRODUCT_INVENTORY._no_services")," "))}function uA3(c,r){if(1&c){const e=j();o(0,"div",49)(1,"button",50),C("click",function(){return y(e),b(h(4).next())}),f(2," Load more "),w(),o(3,"svg",51),v(4,"path",52),n()()()}}function hA3(c,r){1&c&&R(0,uA3,5,0,"div",49),2&c&&S(0,h(3).page_check?0:-1)}function mA3(c,r){1&c&&(o(0,"div",53),w(),o(1,"svg",31),v(2,"path",32)(3,"path",33),n(),O(),o(4,"span",34),f(5,"Loading..."),n()())}function _A3(c,r){if(1&c&&(o(0,"div",35)(1,"div",36)(2,"table",37)(3,"thead",38)(4,"tr")(5,"th",39),f(6," Id "),n(),o(7,"th",39),f(8),m(9,"translate"),n(),o(10,"th",40),f(11),m(12,"translate"),n(),o(13,"th",40),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,fA3,11,7,"tr",41,sh1,!1,dA3,7,3,"div",42),n()()(),o(20,"div"),R(21,hA3,1,1)(22,mA3,6,0),n()()),2&c){const e=h(2);s(8),V(" ",_(9,5,"OFFERINGS._name")," "),s(3),V(" ",_(12,7,"OFFERINGS._status")," "),s(3),V(" ",_(15,9,"PRODUCT_INVENTORY._start_date")," "),s(3),a1(e.services),s(4),S(21,e.loading_more?22:21)}}function pA3(c,r){if(1&c){const e=j();o(0,"div",2)(1,"div",3)(2,"div",4)(3,"h2",5),f(4),m(5,"translate"),n()()(),o(6,"div",6)(7,"div",7)(8,"div",8),v(9,"fa-icon",9),o(10,"h2",10),f(11),m(12,"translate"),n()(),o(13,"button",11),f(14),m(15,"translate"),w(),o(16,"svg",12),v(17,"path",13),n()(),O(),o(18,"div",14)(19,"h6",15),f(20),m(21,"translate"),n(),o(22,"ul",16)(23,"li",17)(24,"input",18),C("change",function(){return y(e),b(h().onStateFilterChange("feasibilityChecked"))}),n(),o(25,"label",19),f(26," Feasibility Checked "),n()(),o(27,"li",17)(28,"input",20),C("change",function(){return y(e),b(h().onStateFilterChange("designed"))}),n(),o(29,"label",21),f(30," Designed "),n()(),o(31,"li",17)(32,"input",22),C("change",function(){return y(e),b(h().onStateFilterChange("reserved"))}),n(),o(33,"label",23),f(34," Reserved "),n()(),o(35,"li",17)(36,"input",24),C("change",function(){return y(e),b(h().onStateFilterChange("inactive"))}),n(),o(37,"label",25),f(38," Inactive "),n()(),o(39,"li",17)(40,"input",26),C("change",function(){return y(e),b(h().onStateFilterChange("active"))}),n(),o(41,"label",27),f(42," Active "),n()(),o(43,"li",17)(44,"input",28),C("change",function(){return y(e),b(h().onStateFilterChange("terminated"))}),n(),o(45,"label",29),f(46," Terminated "),n()()()()()()(),R(47,lA3,6,0,"div",30)(48,_A3,23,11)}if(2&c){const e=h();s(4),H(_(5,6,"PRODUCT_INVENTORY._search_criteria")),s(5),k("icon",e.faSwatchbook),s(2),H(_(12,8,"OFFERINGS._filter_state")),s(3),V(" ",_(15,10,"OFFERINGS._filter_state")," "),s(6),V(" ",_(21,12,"OFFERINGS._status")," "),s(27),S(47,e.loading?47:48)}}function gA3(c,r){if(1&c&&(o(0,"label",78),f(1),n()),2&c){const e=h().$implicit;s(),j1("",e.value," ",e.unitOfMeasure,"")}}function vA3(c,r){if(1&c&&(o(0,"label",78),f(1),n()),2&c){const e=h().$implicit;s(),H6("",e.valueFrom," - ",e.valueTo," ",null==e?null:e.unitOfMeasure,"")}}function HA3(c,r){if(1&c&&(o(0,"div",72)(1,"div",74)(2,"h3",75),f(3),n(),o(4,"div",76),v(5,"input",77),R(6,gA3,2,2,"label",78)(7,vA3,2,3),n()()()),2&c){const e=r.$implicit;s(3),H(e.name),s(3),S(6,e.value?6:7)}}function CA3(c,r){1&c&&(o(0,"div",73)(1,"div",79),w(),o(2,"svg",47),v(3,"path",48),n(),O(),o(4,"span",34),f(5,"Info"),n(),o(6,"p",80),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"PRODUCT_DETAILS._no_chars")," "))}function zA3(c,r){if(1&c&&(o(0,"div",68,0)(2,"h2",69),f(3),m(4,"translate"),n(),o(5,"div",70)(6,"div",71),c1(7,HA3,8,2,"div",72,sh1,!1,CA3,9,3,"div",73),n()()()),2&c){const e=h(2);s(3),H(_(4,2,"PRODUCT_INVENTORY._serv_chars")),s(4),a1(e.selectedServ.serviceCharacteristic)}}function VA3(c,r){if(1&c){const e=j();o(0,"div",2)(1,"div",54)(2,"nav",55)(3,"ol",56)(4,"li",57)(5,"button",58),C("click",function(){return y(e),b(h().back())}),w(),o(6,"svg",59),v(7,"path",60),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",61)(11,"div",17),w(),o(12,"svg",62),v(13,"path",63),n(),O(),o(14,"span",64),f(15),m(16,"translate"),n()()()()()(),o(17,"div",65)(18,"h2",66),f(19),n(),v(20,"markdown",67),m(21,"translate"),R(22,zA3,10,4,"div",68),n()()}if(2&c){const e=h();s(8),V(" ",_(9,5,"PRODUCT_DETAILS._back")," "),s(7),H(_(16,7,"PRODUCT_INVENTORY._serv_details")),s(4),H(e.selectedServ.name),s(),k("data",e.selectedServ.description?e.selectedServ.description:_(21,9,"CATALOGS._no_desc")),s(2),S(22,null!=e.selectedServ.serviceCharacteristic&&e.selectedServ.serviceCharacteristic.length>0?22:-1)}}let MA3=(()=>{class c{constructor(e,a,t,i,l,d,u){this.inventoryService=e,this.localStorage=a,this.api=t,this.cdr=i,this.router=l,this.eventMessage=d,this.paginationService=u,this.faIdCard=$6,this.faSort=j6,this.faSwatchbook=_0,this.serviceId=void 0,this.prodId=void 0,this.partyId="",this.loading=!1,this.services=[],this.nextServices=[],this.status=[],this.loading_more=!1,this.page_check=!0,this.page=0,this.INVENTORY_LIMIT=m1.INVENTORY_SERV_LIMIT,this.showDetails=!1,this.eventMessage.messages$.subscribe(p=>{"ChangedSession"===p.type&&this.initInventory()})}ngOnInit(){null!=this.serviceId&&this.api.getServiceSpec(this.serviceId).then(e=>{this.selectService(e)}),this.initInventory()}initInventory(){this.loading=!0;let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0){if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}this.getInventory(!1)}S1()}getInventory(e){var a=this;return M(function*(){0==e&&(a.loading=!0),a.paginationService.getItemsPaginated(a.page,a.INVENTORY_LIMIT,e,a.services,a.nextServices,{partyId:a.partyId,filters:a.status},a.inventoryService.getServiceInventory.bind(a.inventoryService)).then(i=>{a.page_check=i.page_check,a.services=i.items,a.nextServices=i.nextItems,a.page=i.page,a.loading=!1,a.loading_more=!1})})()}next(){var e=this;return M(function*(){yield e.getInventory(!0)})()}selectService(e){this.selectedServ=e,this.showDetails=!0}back(){null!=this.prodId?(this.eventMessage.emitOpenProductInvDetails(this.prodId),this.showDetails=!1):this.showDetails=!1}onStateFilterChange(e){const a=this.status.findIndex(t=>t===e);-1!==a?(this.status.splice(a,1),console.log("elimina filtro"),console.log(this.status)):(console.log("a\xf1ade filtro"),console.log(this.status),this.status.push(e)),this.getInventory(!1)}static#e=this.\u0275fac=function(a){return new(a||c)(B(U4),B(A1),B(p1),B(B1),B(Q1),B(e2),B(L3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["inventory-services"]],inputs:{serviceId:"serviceId",prodId:"prodId"},decls:3,vars:1,consts:[["charsContent",""],[1,"flex","flex-col","p-4","justify-end"],[1,"w-full","h-fit","mb-4","bg-secondary-50","rounded-lg","dark:bg-secondary-100","dark:border-gray-800","border-secondary-50","border","flex","flex-col","shadow-lg"],[1,"flex","w-full","flex-cols","items-center","justify-between"],[1,"mb-4","lg:mb-0","lg:w-1/4","p-8","justify-start"],[1,"text-xl","font-bold","dark:text-white"],[1,"flex","w-full","flex-col","items-center","lg:flex-row","justify-between"],[1,"p-8","w-full"],[1,"flex","flex-row","mb-1"],[1,"fa-base","text-primary-100","align-middle","mr-2",3,"icon"],[1,"text-base","dark:text-white","font-bold"],["id","dropdownDefault","data-dropdown-toggle","dropdown","type","button",1,"text-black","dark:text-white","w-full","justify-between","shadow","bg-white","dark:bg-secondary-200","hover:bg-gray-100","dark:hover:bg-secondary-300","focus:ring-4","focus:outline-none","focus:ring-primary-100","font-medium","rounded-lg","text-sm","p-2.5","text-center","inline-flex","items-center","shadow-lg"],["aria-hidden","true","fill","none","stroke","currentColor","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg",1,"w-4","h-4","ml-2"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M19 9l-7 7-7-7"],["id","dropdown",1,"z-20","hidden","w-fit","md:w-1/5","p-3","bg-white","rounded-lg","shadow","dark:bg-secondary-200"],[1,"mb-3","text-sm","font-medium","text-gray-900","dark:text-white"],["aria-labelledby","dropdownDefault",1,"space-y-2","text-sm"],[1,"flex","items-center"],["id","feasibilityChecked","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","feasibilityChecked",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","designed","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","designed",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","reserved","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","reserved",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","inactive","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","inactive",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","active","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","active",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","terminated","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","terminated",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"sr-only"],[1,"bg-secondary-50","dark:bg-secondary-100","border","dark:border-gray-800","mt-8","p-4","rounded-lg"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"hidden","md:table-cell","px-6","py-3"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"flex","justify-center","w-full","m-4"],[1,"px-6","py-4","text-wrap","break-all","w-1/2","md:w-1/4"],[1,"cursor-pointer","font-medium","text-primary-100","dark:text-primary-50","hover:underline",3,"click"],[1,"hidden","md:table-cell","px-6","py-4","md:w-1/4"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"flex","pt-4","justify-center","align-middle"],[1,"flex","cursor-pointer","items-center","justify-center","px-3","h-8","text-sm","font-medium","text-gray-500","bg-white","border","border-gray-300","rounded-lg","hover:bg-gray-100","hover:text-gray-700","dark:bg-gray-800","dark:border-gray-700","dark:text-gray-400","dark:hover:bg-gray-700","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle","mt-2"],[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-secondary-50","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"p-4"],[1,"text-2xl","font-extrabold","text-primary-100","text-center","dark:text-primary-50","pb-4"],[1,"bg-gray-50","text-wrap","break-all","dark:bg-secondary-300","dark:text-white","text-gray-900","pb-4","text-center",3,"data"],["id","chars-container"],[1,"text-xl","font-bold","dark:text-white","pb-4","px-4"],[1,"container","mx-auto","px-4"],[1,"flex","flex-wrap","-mx-4"],[1,"w-full","md:w-1/2","lg:w-1/3","px-4","mb-8"],[1,"flex","justify-center","items-center","w-full"],[1,"border","border-gray-200","rounded-lg","shadow","bg-white","dark:bg-secondary-200","dark:border-gray-800","shadow-md","p-8","h-full"],[1,"text-2xl","font-bold","mb-4","dark:text-white"],[1,"flex","items-center","pl-4"],["disabled","","checked","","id","disabled-checked-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","dark:bg-gray-600","dark:border-gray-800","rounded-full","focus:ring-blue-500","focus:ring-2"],["for","disabled-checked-checkbox",1,"ms-2","text-sm","font-medium","text-gray-700","dark:text-gray-200","dark:bg-secondary-200","dark:border-gray-800","text-wrap","break-all"],["role","alert",1,"flex","items-center","w-1/2","p-4","mb-4","text-sm","text-primary-100","rounded-lg","bg-white","border","border-gray-200","shadow-md","dark:bg-secondary-200","dark:text-primary-50"],[1,"text-center"]],template:function(a,t){1&a&&(o(0,"div",1),R(1,pA3,49,14)(2,VA3,23,11),n()),2&a&&(s(),S(1,t.showDetails?2:1))},dependencies:[B4,_4,Q4,X1]})}return c})();function LA3(c,r){1&c&&v(0,"inventory-products",18),2&c&&k("prodId",h().openProdId)}function yA3(c,r){if(1&c&&v(0,"inventory-services",19),2&c){const e=h();k("serviceId",e.openServiceId)("prodId",e.openProdId)}}function bA3(c,r){if(1&c&&v(0,"inventory-resources",20),2&c){const e=h();k("resourceId",e.openResourceId)("prodId",e.openProdId)}}let xA3=(()=>{class c{constructor(e,a){this.cdr=e,this.eventMessage=a,this.show_prods=!0,this.show_serv=!1,this.show_res=!1,this.show_orders=!1,this.openServiceId=void 0,this.openResourceId=void 0,this.openProdId=void 0,this.eventMessage.messages$.subscribe(t=>{"OpenServiceDetails"===t.type&&(this.openServiceId=t.value?.serviceId,this.openProdId=t.value?.prodId,this.getServices()),"OpenResourceDetails"===t.type&&(this.openResourceId=t.value?.resourceId,this.openProdId=t.value?.prodId,this.getResources()),"OpenProductInvDetails"===t.type&&(this.openProdId=t.value,this.goToOffers())})}ngOnInit(){S1()}ngAfterViewInit(){S1()}goToOffers(){S1(),this.selectProd(),this.show_serv=!1,this.show_res=!1,this.show_orders=!1,this.show_prods=!0}getServices(){this.selectServ(),this.show_orders=!1,this.show_prods=!1,this.show_res=!1,this.show_serv=!0,this.cdr.detectChanges(),S1()}getResources(){this.selectRes(),this.show_orders=!1,this.show_prods=!1,this.show_serv=!1,this.show_res=!0,this.cdr.detectChanges(),S1()}removeClass(e,a){e.className=(" "+e.className+" ").replace(" "+a+" "," ").replace(/^\s+|\s+$/g,"")}addClass(e,a){e.className+=" "+a}unselectMenu(e,a){null!=e&&(e.className.match(a)?this.removeClass(e,a):console.log("already unselected"))}selectMenu(e,a){null!=e&&(e.className.match(a)?console.log("already selected"):this.addClass(e,a))}selectProd(){let e=document.getElementById("prod-button"),a=document.getElementById("serv-button"),t=document.getElementById("res-button"),i=document.getElementById("order-button");this.selectMenu(e,"text-white bg-primary-100"),this.unselectMenu(a,"text-white bg-primary-100"),this.unselectMenu(t,"text-white bg-primary-100"),this.unselectMenu(i,"text-white bg-primary-100")}selectServ(){let e=document.getElementById("prod-button"),a=document.getElementById("serv-button"),t=document.getElementById("res-button"),i=document.getElementById("order-button");this.selectMenu(a,"text-white bg-primary-100"),this.unselectMenu(e,"text-white bg-primary-100"),this.unselectMenu(t,"text-white bg-primary-100"),this.unselectMenu(i,"text-white bg-primary-100")}selectRes(){let e=document.getElementById("prod-button"),a=document.getElementById("serv-button"),t=document.getElementById("res-button"),i=document.getElementById("order-button");this.selectMenu(t,"text-white bg-primary-100"),this.unselectMenu(e,"text-white bg-primary-100"),this.unselectMenu(a,"text-white bg-primary-100"),this.unselectMenu(i,"text-white bg-primary-100")}static#e=this.\u0275fac=function(a){return new(a||c)(B(B1),B(e2))};static#c=this.\u0275cmp=V1({type:c,selectors:[["app-product-inventory"]],decls:43,vars:21,consts:[[1,"container","mx-auto","pt-2","pb-8"],[1,"hidden","lg:block","mb-8","mt-4","text-4xl","font-extrabold","leading-none","tracking-tight","text-gray-900","md:text-4xl","lg:text-5xl","dark:text-white","w-full"],[1,"underline","underline-offset-3","decoration-8","decoration-primary-100","dark:decoration-primary-100"],[1,"flex","flex-cols","mr-2","ml-2","lg:hidden"],[1,"mb-8","mt-4","text-4xl","font-extrabold","leading-none","tracking-tight","text-gray-900","lg:text-4xl","lg:text-5xl","dark:text-white","w-full"],[1,"flex","align-middle","content-center","items-center"],["id","dropdown-nav","data-dropdown-toggle","dropdown-nav-content","type","button",1,"text-black","dark:text-white","h-fit","w-fit","justify-between","shadow","bg-white","dark:bg-secondary-200","hover:bg-gray-100","dark:hover:bg-secondary-300","focus:ring-4","focus:outline-none","focus:ring-primary-100","font-medium","rounded-lg","text-sm","p-2.5","text-center","inline-flex","items-center","shadow-lg"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 17 14",1,"w-4","h-4","mr-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 1h15M1 7h15M1 13h15"],["id","dropdown-nav-content",1,"z-10","hidden","bg-white","divide-y","divide-gray-100","rounded-lg","shadow","w-44","dark:bg-gray-700"],["aria-labelledby","dropdown-nav",1,"py-2","text-sm","text-gray-700","dark:text-gray-200"],[1,"cursor-pointer","block","px-4","py-2","hover:bg-gray-100","dark:hover:bg-gray-600","dark:hover:text-white",3,"click"],[1,"w-full","grid","lg:grid-cols-20/80"],[1,"hidden","lg:block"],[1,"w-48","h-fit","text-sm","font-medium","text-gray-900","bg-white","border","border-gray-200","rounded-lg","dark:bg-gray-700","dark:border-gray-600","dark:text-white"],["id","prod-button","aria-current","true",1,"block","w-full","px-4","py-2","text-white","bg-primary-100","border-b","border-gray-200","rounded-t-lg","cursor-pointer","dark:border-gray-600","hover:bg-gray-100","hover:text-blue-700","dark:border-gray-600","dark:hover:bg-gray-600","dark:hover:text-white","dark:focus:ring-gray-500","dark:focus:text-white",3,"click"],["id","serv-button",1,"block","w-full","px-4","py-2","border-b","border-gray-200","cursor-pointer","hover:bg-gray-100","hover:text-blue-700","dark:border-gray-600","dark:hover:bg-gray-600","dark:hover:text-white","dark:focus:ring-gray-500","dark:focus:text-white",3,"click"],["id","res-button",1,"block","w-full","px-4","py-2","border-b","border-gray-200","cursor-pointer","hover:bg-gray-100","hover:text-blue-700","dark:border-gray-600","dark:hover:bg-gray-600","dark:hover:text-white","dark:focus:ring-gray-500","dark:focus:text-white",3,"click"],[3,"prodId"],[3,"serviceId","prodId"],[3,"resourceId","prodId"]],template:function(a,t){1&a&&(o(0,"div",0)(1,"h1",1)(2,"span",2),f(3,"My inventory"),n()(),o(4,"div",3)(5,"h1",4)(6,"span",2),f(7,"My inventory"),n()(),o(8,"div",5)(9,"button",6),w(),o(10,"svg",7),v(11,"path",8),n(),f(12," Inventory "),n()()(),O(),o(13,"div",9)(14,"ul",10)(15,"li")(16,"a",11),C("click",function(){return t.goToOffers()}),f(17),m(18,"translate"),n()(),o(19,"li")(20,"a",11),C("click",function(){return t.getServices()}),f(21),m(22,"translate"),n()(),o(23,"li")(24,"a",11),C("click",function(){return t.getResources()}),f(25),m(26,"translate"),n()()()(),o(27,"div",12)(28,"div",13)(29,"div",14)(30,"button",15),C("click",function(){return t.goToOffers()}),f(31),m(32,"translate"),n(),o(33,"button",16),C("click",function(){return t.getServices()}),f(34),m(35,"translate"),n(),o(36,"button",17),C("click",function(){return t.getResources()}),f(37),m(38,"translate"),n()()(),o(39,"div"),R(40,LA3,1,1,"inventory-products",18)(41,yA3,1,2,"inventory-services",19)(42,bA3,1,2,"inventory-resources",20),n()()()),2&a&&(s(17),H(_(18,9,"PRODUCT_INVENTORY._products")),s(4),H(_(22,11,"PRODUCT_INVENTORY._services")),s(4),H(_(26,13,"PRODUCT_INVENTORY._resources")),s(6),V(" ",_(32,15,"PRODUCT_INVENTORY._products")," "),s(3),V(" ",_(35,17,"PRODUCT_INVENTORY._services")," "),s(3),V(" ",_(38,19,"PRODUCT_INVENTORY._resources")," "),s(3),S(40,t.show_prods?40:-1),s(),S(41,t.show_serv?41:-1),s(),S(42,t.show_res?42:-1))},dependencies:[qE3,sA3,MA3,X1]})}return c})();const Sl=(c,r)=>r.id;function wA3(c,r){if(1&c&&(o(0,"p",35)(1,"b"),f(2),n(),f(3,": "),v(4,"markdown",36),n()),2&c){const e=r.$implicit;s(2),H(e.name),s(2),k("data",e.description)}}function FA3(c,r){if(1&c&&(o(0,"div",31)(1,"h5",34),f(2),m(3,"translate"),n(),c1(4,wA3,5,2,"p",35,Sl),n()),2&c){const e=h();s(2),V("",_(3,1,"PRODUCT_DETAILS._service_spec"),":"),s(2),a1(e.serviceSpecs)}}function kA3(c,r){if(1&c&&(o(0,"p",35)(1,"b"),f(2),n(),f(3,": "),v(4,"markdown",36),n()),2&c){const e=r.$implicit;s(2),H(e.name),s(2),k("data",e.description)}}function SA3(c,r){if(1&c&&(o(0,"div",31)(1,"h5",34),f(2),m(3,"translate"),n(),c1(4,kA3,5,2,"p",35,Sl),n()),2&c){const e=h();s(2),V("",_(3,1,"PRODUCT_DETAILS._resource_spec"),":"),s(2),a1(e.resourceSpecs)}}function NA3(c,r){if(1&c&&(o(0,"div",39)(1,"div",40)(2,"h2",41),f(3),n()(),v(4,"markdown",42),n()),2&c){const e=h().$implicit;s(3),H(e.name),s(),k("data",null==e?null:e.description)}}function DA3(c,r){1&c&&R(0,NA3,5,2,"div",39),2&c&&S(0,"custom"==r.$implicit.priceType?0:-1)}function TA3(c,r){1&c&&(o(0,"div",38)(1,"div",43)(2,"div",44)(3,"h5",45),f(4),m(5,"translate"),n()(),o(6,"p",46),f(7),m(8,"translate"),n()()()),2&c&&(s(4),H(_(5,2,"SHOPPING_CART._free")),s(3),H(_(8,4,"SHOPPING_CART._free_desc")))}function EA3(c,r){if(1&c&&(o(0,"div",37),c1(1,DA3,1,1,null,null,Sl),R(3,TA3,9,6,"div",38),n()),2&c){const e=h(2);s(),a1(null==e.prod?null:e.prod.productPrice),s(2),S(3,0==(null==e.prod||null==e.prod.productPrice?null:e.prod.productPrice.length)?3:-1)}}function AA3(c,r){if(1&c&&(o(0,"div",49)(1,"div",50)(2,"h5",51),f(3),n()(),o(4,"p",52)(5,"b",53),f(6),n(),f(7),n(),o(8,"p",52),f(9),n(),o(10,"p",54),f(11),n()()),2&c){const e=h().$implicit;s(3),H(e.name),s(3),H(null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.value),s(),V(" ",null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.unit,""),s(2),V("/",e.recurringChargePeriodType,""),s(2),H(null==e?null:e.description)}}function PA3(c,r){if(1&c&&(o(0,"div",48)(1,"div",55)(2,"h5",56),f(3),n()(),o(4,"p",52)(5,"b",53),f(6),n(),f(7),n(),o(8,"p",52),f(9),n(),o(10,"p",54),f(11),n()()),2&c){const e=h().$implicit;s(3),H(e.name),s(3),H(null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.value),s(),V(" ",null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.unit,""),s(2),V("/",e.unitOfMeasure,""),s(2),H(null==e?null:e.description)}}function RA3(c,r){if(1&c&&(o(0,"div",48)(1,"div",44)(2,"h5",57),f(3),n()(),o(4,"p",52)(5,"b",53),f(6),n(),f(7),n(),o(8,"p",54),f(9),n()()),2&c){const e=h().$implicit;s(3),H(e.name),s(3),H(null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.value),s(),V(" ",null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.unit,""),s(2),H(null==e?null:e.description)}}function BA3(c,r){if(1&c&&R(0,AA3,12,5,"div",49)(1,PA3,12,5)(2,RA3,10,4),2&c){const e=r.$implicit;S(0,"recurring"==e.priceType?0:"usage"==e.priceType?1:2)}}function OA3(c,r){1&c&&(o(0,"div",48)(1,"div",44)(2,"h5",45),f(3),m(4,"translate"),n()(),o(5,"p",58),f(6),m(7,"translate"),n()()),2&c&&(s(3),H(_(4,2,"SHOPPING_CART._free")),s(3),H(_(7,4,"SHOPPING_CART._free_desc")))}function IA3(c,r){if(1&c&&(o(0,"div",47),c1(1,BA3,3,1,null,null,z1),R(3,OA3,8,6,"div",48),n()),2&c){const e=h(2);s(),a1(null==e.prod?null:e.prod.productPrice),s(2),S(3,0==(null==e.prod||null==e.prod.productPrice?null:e.prod.productPrice.length)?3:-1)}}function UA3(c,r){1&c&&R(0,EA3,4,1,"div",37)(1,IA3,4,1),2&c&&S(0,h().checkCustom?0:1)}function jA3(c,r){if(1&c&&(o(0,"label",68),f(1),n()),2&c){const e=h().$implicit;s(),j1("",e.value," ",e.unitOfMeasure,"")}}function $A3(c,r){if(1&c&&(o(0,"label",68),f(1),n()),2&c){const e=h().$implicit;s(),H6("",e.valueFrom," - ",e.valueTo," ",null==e?null:e.unitOfMeasure,"")}}function YA3(c,r){if(1&c&&(o(0,"div",62)(1,"div",64)(2,"h3",65),f(3),n(),o(4,"div",66),v(5,"input",67),R(6,jA3,2,2,"label",68)(7,$A3,2,3),n()()()),2&c){const e=r.$implicit;s(3),H(e.name),s(3),S(6,e.value?6:7)}}function GA3(c,r){1&c&&(o(0,"div",63)(1,"div",69),w(),o(2,"svg",70),v(3,"path",71),n(),O(),o(4,"span",72),f(5,"Info"),n(),o(6,"p",73),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"PRODUCT_DETAILS._no_chars")," "))}function qA3(c,r){if(1&c&&(o(0,"div",33,1)(2,"h2",59),f(3,"Product characteristics"),n(),o(4,"div",60)(5,"div",61),c1(6,YA3,8,2,"div",62,Sl,!1,GA3,9,3,"div",63),n()()()),2&c){const e=h();s(6),a1(e.prod.productCharacteristic)}}let WA3=(()=>{class c{constructor(e,a,t,i,l,d,u,p,z,x){this.cdr=e,this.route=a,this.api=t,this.priceService=i,this.router=l,this.elementRef=d,this.localStorage=u,this.eventMessage=p,this.inventoryServ=z,this.location=x,this.check_logged=!1,this.images=[],this.attatchments=[],this.serviceSpecs=[],this.resourceSpecs=[],this.prod={},this.prodSpec={},this.checkCustom=!1,this.faScaleBalanced=hl,this.faArrowProgress=Kv,this.faArrowRightArrowLeft=ol,this.faObjectExclude=CH,this.faSwap=EH,this.faGlobe=rH,this.faBook=nC,this.faShieldHalved=el,this.faAtom=$9,this.faDownload=AH}ngOnInit(){S1();let e=this.localStorage.getObject("login_items");"{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0?(this.check_logged=!0,this.cdr.detectChanges()):(this.check_logged=!1,this.cdr.detectChanges()),this.id=this.route.snapshot.paramMap.get("id"),this.inventoryServ.getProduct(this.id).then(a=>{console.log(a),this.prod=a;for(let t=0;t{this.api.getProductSpecification(t.productSpecification.id).then(i=>{this.prodSpec=i,this.productOff={id:t.id,name:t.name,category:t.category,description:t.description,lastUpdate:t.lastUpdate,attachment:i.attachment,productOfferingPrice:this.prod.productPrice,productSpecification:t.productSpecification,productOfferingTerm:t.productOfferingTerm,serviceLevelAgreement:t.serviceLevelAgreement,version:t.version};let d=this.productOff?.attachment?.filter(u=>"Profile Picture"===u.name)??[];if(0==d.length?(this.images=this.productOff?.attachment?.filter(u=>"Picture"===u.attachmentType)??[],this.attatchments=this.productOff?.attachment?.filter(u=>"Picture"!=u.attachmentType)??[]):(this.images=d,this.attatchments=this.productOff?.attachment?.filter(u=>"Profile Picture"!=u.name)??[]),null!=i.serviceSpecification)for(let u=0;u{this.serviceSpecs.push(p)});if(null!=i.resourceSpecification)for(let u=0;u{this.resourceSpecs.push(p)})})})}),this.cdr.detectChanges()}back(){this.location.back()}getProductImage(){return this.images.length>0?this.images?.at(0)?.url:"https://placehold.co/600x400/svg"}static#e=this.\u0275fac=function(a){return new(a||c)(B(B1),B(j3),B(p1),B(M8),B(Q1),B(C2),B(A1),B(e2),B(U4),B(t8))};static#c=this.\u0275cmp=V1({type:c,selectors:[["app-product-inv-detail"]],decls:43,vars:18,consts:[["detailsContent",""],["charsContent",""],[1,"container","mx-auto","pt-2","pb-8"],[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-secondary-50","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"w-full","lg:h-fit","mb-4","bg-secondary-50","rounded-lg","dark:bg-secondary-100","dark:border-gray-800","border-secondary-50","border","lg:grid","lg:grid-cols-60/40"],[1,"flex","lg:hidden","overflow-hidden","justify-center","items-center","bg-white","rounded-t-lg","w-full"],["alt","product image",1,"rounded-t-lg","h-5/6","w-5/6","object-contain",3,"src"],[1,"grid","grid-rows-auto","p-4","md:p-8","h-fit"],[1,"mt-2","h-fit"],[1,"md:text-3xl","lg:text-4xl","font-semibold","tracking-tight","text-primary-100","dark:text-white"],[1,"pt-2","line-clamp-5","h-fit"],[1,"dark:text-gray-200","text-wrap","break-all",3,"data"],[1,"hidden","lg:block","overflow-hidden","rounded-r-lg"],[1,"hidden","lg:flex","relative","justify-center","items-center","w-full","h-full"],[1,"object-contain","overflow-hidden","absolute","inset-0","bg-cover","bg-center","opacity-75"],["alt","Descripci\xf3n de la imagen",1,"object-contain","h-5/6","w-5/6","max-h-[350px]","z-10","p-8",3,"src"],[1,"w-full","h-full","bg-secondary-50","rounded-b-lg","p-4","dark:bg-secondary-100","dark:border-gray-800","border-secondary-50","border-b"],["id","desc-container",1,"w-full","bg-secondary-50/95","dark:bg-secondary-100/95","rounded-lg","p-8","lg:p-12"],["id","details-container"],[1,"text-4xl","font-extrabold","text-primary-100","dark:text-primary-50","text-center","pb-4"],[1,"pb-2"],[1,"text-4xl","font-extrabold","text-primary-100","dark:text-primary-50","text-center","pb-8","pt-12"],["id","chars-container"],[1,"text-xl","font-semibold","tracking-tight","text-primary-100","dark:text-primary-50"],[1,"pl-4","dark:text-gray-200"],[1,"text-gray-800","dark:text-gray-200","text-wrap","break-all",3,"data"],[1,"grid","grid-flow-row","gap-4","lg:grid-cols-2","lg:auto-cols-auto","justify-items-center","p-2"],[1,"inline-flex","items-center","justify-center","w-full"],[1,"mx-auto","bg-white","border","border-gray-200","dark:bg-secondary-200","dark:border-gray-800","rounded-lg","shadow","w-full","p-4"],[1,"flex","justify-start","mb-2"],[1,"text-gray-900","dark:text-white","text-3xl","font-extrabold","mb-2"],[1,"dark:text-gray-200","w-full","p-4","text-wrap","break-all",3,"data"],[1,"max-w-sm","bg-white","border","border-gray-200","rounded-lg","shadow","w-full"],[1,"bg-blue-500","rounded-t-lg","w-full"],[1,"flex","justify-center","mb-2","p-6","text-2xl","font-bold","tracking-tight","text-gray-900"],[1,"flex","justify-center","mb-2","p-4","font-normal","text-gray-700"],[1,"grid","grid-flow-row","gap-4","lg:grid-cols-3","lg:auto-cols-auto","justify-items-center","p-2"],[1,"max-w-sm","bg-white","border","border-gray-200","dark:bg-secondary-200","dark:border-gray-800","rounded-lg","shadow","w-full"],[1,"max-w-sm","bg-white","dark:bg-secondary-200","dark:border-gray-800","border","border-gray-200","rounded-lg","shadow","w-full"],[1,"bg-green-500","rounded-t-lg","w-full","text-wrap","break-all"],[1,"flex","justify-center","mb-2","p-6","text-2xl","font-bold","tracking-tight","text-gray-900","w-full"],[1,"flex","justify-center","font-normal","text-gray-700","dark:text-white"],[1,"text-xl","mr-2"],[1,"flex","justify-center","mb-2","p-4","font-normal","text-gray-700","dark:text-white","text-wrap","break-all"],[1,"bg-yellow-300","rounded-t-lg","w-full"],[1,"flex","justify-center","mb-2","p-6","text-2xl","font-bold","tracking-tight","text-gray-900","text-wrap","break-all"],[1,"flex","justify-center","mb-4","p-6","text-2xl","font-bold","tracking-tight","text-gray-900","text-wrap","break-all"],[1,"flex","justify-center","mb-2","font-normal","text-gray-700","dark:text-white"],[1,"text-4xl","font-extrabold","text-primary-100","text-center","pb-8","pt-12","dark:text-primary-50"],[1,"container","mx-auto","px-4"],[1,"flex","flex-wrap","-mx-4"],[1,"w-full","md:w-1/2","lg:w-1/3","px-4","mb-8"],[1,"flex","justify-center","items-center","w-full"],[1,"border","border-gray-200","rounded-lg","shadow","bg-white","dark:bg-secondary-200","dark:border-gray-800","shadow-md","p-8","h-full"],[1,"text-2xl","font-bold","mb-4","dark:text-white"],[1,"flex","items-center","pl-4"],["disabled","","checked","","id","disabled-checked-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","dark:bg-gray-600","dark:border-gray-800","rounded-full","focus:ring-blue-500","focus:ring-2"],["for","disabled-checked-checkbox",1,"ms-2","text-sm","font-medium","text-gray-700","dark:text-gray-200","dark:bg-secondary-200","dark:border-gray-800","text-wrap","break-all"],["role","alert",1,"flex","items-center","w-1/2","p-4","mb-4","text-sm","text-primary-100","rounded-lg","bg-white","border","border-gray-200","shadow-md","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"sr-only"],[1,"text-center"]],template:function(a,t){if(1&a){const i=j();o(0,"div",2)(1,"div",3)(2,"nav",4)(3,"ol",5)(4,"li",6)(5,"button",7),C("click",function(){return y(i),b(t.back())}),w(),o(6,"svg",8),v(7,"path",9),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",10)(11,"div",11),w(),o(12,"svg",12),v(13,"path",13),n(),O(),o(14,"span",14),f(15),m(16,"translate"),n()()()()()(),o(17,"div",15)(18,"div",16),v(19,"img",17),n(),o(20,"div",18)(21,"div",19)(22,"h5",20),f(23),n()(),o(24,"div",21),v(25,"markdown",22),n()(),o(26,"div",23)(27,"div",24),v(28,"div",25)(29,"img",26),n()()(),o(30,"div",27)(31,"div",28)(32,"div",29)(33,"h2",30,0),f(35,"Description"),n(),v(36,"markdown",22),R(37,FA3,6,3,"div",31)(38,SA3,6,3,"div",31),o(39,"h2",32),f(40,"Product pricing"),n(),R(41,UA3,2,1),n(),R(42,qA3,9,1,"div",33),n()()()}2&a&&(s(8),V(" ",_(9,14,"PRODUCT_DETAILS._back")," "),s(7),H(_(16,16,"PRODUCT_DETAILS._details")),s(4),D1("src",t.getProductImage(),h2),s(4),H(null==t.productOff?null:t.productOff.name),s(2),k("data",t.prodSpec.description),s(3),Xe("background-image: url(",t.getProductImage(),");filter: blur(20px);"),s(),D1("src",t.getProductImage(),h2),s(7),k("data",t.prodSpec.description),s(),S(37,t.serviceSpecs.length>0?37:-1),s(),S(38,t.resourceSpecs.length>0?38:-1),s(3),S(41,null!=(null==t.prod?null:t.prod.productPrice)?41:-1),s(),S(42,null!=t.prod.productCharacteristic&&t.prod.productCharacteristic.length>0?42:-1))},dependencies:[_4,X1]})}return c})();const ZA3=(c,r)=>r.id;function KA3(c,r){if(1&c){const e=j();o(0,"input",1,0),sn("ngModelChange",function(t){y(e);const i=h(2);return zh(i.checked,t)||(i.checked=t),b(t)}),n(),o(2,"label",2),C("click",function(){y(e);const t=Lr(1);return b(h(2).onClick(t.checked))}),o(3,"div",3)(4,"div",4),f(5),n(),v(6,"fa-icon",5),n()()}if(2&c){const e=h(2);nn("ngModel",e.checked),k("id",e.option),s(2),k("for",e.option)("ngClass",e.isParent&&e.isFirst?e.labelClassParentFirst:e.isParent&&e.isLast?e.labelClassParentLast:e.isParent?e.labelClassParent:e.labelClass),s(3),H(null==e.data?null:e.data.name),s(),k("icon",e.checked?e.faCircleCheck:e.faCircle)}}function QA3(c,r){if(1&c&&(o(0,"li"),v(1,"bae-category-item",19),n()),2&c){const e=r.$implicit;s(),k("data",e)}}function JA3(c,r){if(1&c){const e=j();o(0,"h2",6)(1,"div",7)(2,"span",8),f(3),n(),o(4,"div",9)(5,"div",10),C("click",function(){y(e);const t=h(3);return b(t.onClickCategory(t.data))}),v(6,"input",11)(7,"fa-icon",12),n(),o(8,"button",13),w(),o(9,"svg",14),v(10,"path",15),n()()()()(),O(),o(11,"div",16)(12,"div",17)(13,"ul",18),c1(14,QA3,2,1,"li",null,ZA3),n()()()}if(2&c){const e=h(3);k("id","accordion-heading-"+e.simplifiedId),s(),k("ngClass",e.checkClasses(e.isFirst,e.isLast,e.data)),s(2),H(e.data.name),s(3),k("checked",e.isCheckedCategory(e.data)),s(),k("icon",e.isCheckedCategory(e.data)?e.faCircleCheck:e.faCircle),s(),A2("data-accordion-target","#accordion-body-"+e.simplifiedId)("aria-controls","accordion-body-"+e.simplifiedId),s(3),k("id","accordion-body-"+e.simplifiedId),A2("aria-labelledby","accordion-heading-"+e.simplifiedId),s(3),a1(e.data.children)}}function XA3(c,r){1&c&&R(0,JA3,16,9),2&c&&S(0,h(2).data?0:-1)}function eP3(c,r){if(1&c&&R(0,KA3,7,6)(1,XA3,1,1),2&c){const e=h();S(0,0==(null==e.data||null==e.data.children?null:e.data.children.length)?0:1)}}let cP3=(()=>{class c{constructor(e,a,t){this.localStorage=e,this.eventMessage=a,this.cdr=t,this.faCircleCheck=J9,this.faCircle=av,this.checked=!1,this.checkedCategories=[],this.labelClass="inline-flex items-center justify-between w-full px-5 py-3 text-gray-500 bg-white border-2 rounded-lg cursor-pointer dark:hover:text-gray-300 dark:border-gray-700 peer-checked:border-primary-50 hover:text-gray-600 dark:peer-checked:bg-primary-50 dark:peer-checked:text-secondary-100 peer-checked:text-gray-600 hover:bg-gray-50 dark:text-gray-400 dark:bg-gray-800 dark:hover:bg-primary-50",this.labelClassParentFirst="flex items-center justify-between w-full px-5 py-3 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 rounded-t-xl focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3 peer-checked:border-primary-50 dark:peer-checked:bg-primary-50 dark:peer-checked:text-secondary-100 peer-checked:text-gray-600",this.labelClassParentLast="flex items-center justify-between w-full px-5 py-3 font-medium rtl:text-right text-gray-500 border border-gray-200 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3 peer-checked:border-primary-50 dark:peer-checked:bg-primary-50 dark:peer-checked:text-secondary-100 peer-checked:text-gray-600",this.labelClassParent="flex items-center justify-between w-full px-5 py-3 font-medium rtl:text-right text-gray-500 border-t border-r border-l border-gray-200 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3 peer-checked:border peer-checked:border-primary-50 dark:peer-checked:bg-primary-50 dark:peer-checked:text-secondary-100 peer-checked:text-gray-600",this.classListFirst="flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 rounded-t-xl focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3",this.classListLast="flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-gray-200 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3",this.classList="flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-gray-200 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3",this.classListFirstChecked="flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-2 border-primary-50 rounded-t-xl focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-primary-50 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3",this.classListLastChecked="flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-2 border-primary-50 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-primary-50 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3",this.classListChecked="flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-2 border-primary-50 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-primary-50 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3",this.isParent=!1,this.isFirst=!1,this.isLast=!1,this.eventMessage.messages$.subscribe(i=>{const l=i.value;if("AddedFilter"===i.type&&l?.id===this.data?.id?this.checked=!0:"RemovedFilter"===i.type&&l?.id===this.data?.id&&(this.checked=!1),"AddedFilter"!==i.type||this.isCheckedCategory(l)){if("RemovedFilter"===i.type&&this.isCheckedCategory(l)){const d=this.checkedCategories.findIndex(u=>u===l.id);-1!==d&&(this.checkedCategories.splice(d,1),this.cdr.detectChanges()),console.log(this.isCheckedCategory(l))}}else this.checkedCategories.push(l.id),this.cdr.detectChanges()})}ngOnInit(){console.log(this.data),console.log(this.isParent),this.data?.id&&(this.simplifiedId=this.data.id.split(":").pop());const e=this.localStorage.getObject("selected_categories")||[];e.length>0&&e.findIndex(t=>t.id===this.data?.id)>-1&&(this.checked=!0),this.option=this.data?.id,this.isParent&&this.isFirst?this.labelClass="flex items-center justify-between w-full px-5 py-3 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 rounded-t-xl focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3 peer-checked:border-primary-50 dark:peer-checked:bg-primary-50 dark:peer-checked:text-secondary-100 peer-checked:text-gray-600":this.isParent&&this.isLast&&(this.labelClass="flex items-center justify-between w-full px-5 py-3 font-medium rtl:text-right text-gray-500 border border-gray-200 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3 peer-checked:border-primary-50 dark:peer-checked:bg-primary-50 dark:peer-checked:text-secondary-100 peer-checked:text-gray-600")}onClick(e){if(e){this.localStorage.removeCategoryFilter(this.data),this.eventMessage.emitRemovedFilter(this.data);const a=this.checkedCategories.findIndex(t=>t===this.data.id);-1!==a&&this.checkedCategories.splice(a,1)}else this.checkedCategories.push(this.data.id),this.localStorage.addCategoryFilter(this.data),this.eventMessage.emitAddedFilter(this.data);this.checked=!this.checked}onClickCategory(e){if(this.isCheckedCategory(e)){this.localStorage.removeCategoryFilter(e),this.eventMessage.emitRemovedFilter(e);const a=this.checkedCategories.findIndex(t=>t===e.id);-1!==a&&this.checkedCategories.splice(a,1)}else this.checkedCategories.push(e.id),this.localStorage.addCategoryFilter(e),this.eventMessage.emitAddedFilter(e)}isCheckedCategory(e){return-1!==this.checkedCategories.findIndex(t=>t===e.id)}isChildsChecked(e){let a=!1;if(null!=e)for(let t=0;tr.id;function aP3(c,r){if(1&c){const e=j();o(0,"div",3)(1,"span",4),f(2),n(),o(3,"div",5)(4,"div",6),C("click",function(){y(e);const t=h(2).$implicit;return b(h().onClick(t))}),v(5,"input",7)(6,"fa-icon",8),n(),o(7,"button",9),w(),o(8,"svg",10),v(9,"path",11),n()()()()}if(2&c){const e=h(2),a=e.$implicit,t=e.$index,i=e.$index,l=e.$count,d=h();k("ngClass",d.checkClasses(0===i,i===l-1,a)),s(2),H(null==a?null:a.name),s(3),k("checked",d.isCheckedCategory(a)),s(),k("icon",d.isCheckedCategory(a)?d.faCircleCheck:d.faCircle),s(),A2("data-accordion-target","#accordion-body-"+t)("aria-controls","accordion-body-"+t)}}function rP3(c,r){if(1&c&&v(0,"bae-category-item",12),2&c){const e=h(2),t=e.$index,i=e.$count;k("data",e.$implicit)("isParent",!0)("isFirst",0===t)("isLast",t===i-1)}}function tP3(c,r){1&c&&R(0,aP3,10,6,"div",3)(1,rP3,1,4),2&c&&S(0,0!=h().$implicit.children.length?0:1)}function iP3(c,r){if(1&c&&(o(0,"li"),v(1,"bae-category-item",16),n()),2&c){const e=r.$implicit;s(),k("data",e)}}function oP3(c,r){if(1&c&&(o(0,"div",13)(1,"div",14)(2,"ul",15),c1(3,iP3,2,1,"li",null,lh1),n()()()),2&c){const e=h(2),a=e.$implicit,t=e.$index;k("id","accordion-body-"+t),A2("aria-labelledby","accordion-heading-"+t),s(3),a1(a.children)}}function nP3(c,r){1&c&&R(0,oP3,5,2,"div",13),2&c&&S(0,0!=h().$implicit.children.length?0:-1)}function sP3(c,r){if(1&c&&(o(0,"h2",2),R(1,tP3,2,1),n(),R(2,nP3,1,1)),2&c){const e=r.$implicit;k("id","accordion-heading-"+r.$index),s(),S(1,e.children?1:-1),s(),S(2,e.children?2:-1)}}function lP3(c,r){}let fh1=(()=>{class c{constructor(e,a,t,i){this.localStorage=e,this.eventMessage=a,this.api=t,this.cdr=i,this.classListFirst="flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 rounded-t-xl focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3",this.classListLast="flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-gray-200 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3",this.classList="flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3",this.classListFirstChecked="flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-2 border-primary-50 rounded-t-xl focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-primary-50 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3",this.classListLastChecked="flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-2 border-primary-50 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-primary-50 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3",this.classListChecked="flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-2 border-primary-50 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-primary-50 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3",this.labelClass="text-gray-500 bg-white border-2 rounded-lg cursor-pointer dark:hover:text-gray-300 dark:border-gray-700 peer-checked:border-primary-50 hover:text-gray-600 dark:peer-checked:bg-primary-50 dark:peer-checked:text-secondary-100 peer-checked:text-gray-600 hover:bg-gray-50 dark:text-gray-400 dark:bg-gray-800 dark:hover:bg-primary-50",this.categories=[],this.checkedCategories=[],this.selected=[],this.dismissSubject=new G2,this.cs=[],this.selectedCategories=new Y1,this.catalogId=void 0,this.faCircleCheck=J9,this.faCircle=av,this.categories=[],this.eventMessage.messages$.subscribe(l=>{const d=l.value;if("AddedFilter"!==l.type||this.isCheckedCategory(d)){if("RemovedFilter"===l.type&&this.isCheckedCategory(d)){const u=this.checkedCategories.findIndex(p=>p===d.id);-1!==u&&(this.checkedCategories.splice(u,1),this.cdr.detectChanges()),console.log(this.isCheckedCategory(d))}}else this.checkedCategories.push(d.id),this.cdr.detectChanges()})}ngOnInit(){var e=this;return M(function*(){e.selected=e.localStorage.getObject("selected_categories")||[];for(let a=0;a{if(a.category){for(let t=0;t{e.findChildrenByParent(i)});S1()}else e.api.getLaunchedCategories().then(t=>{for(let i=0;i{for(let t=0;ti.parentId===e.id);if(e.children=t,1==e.isRoot?this.categories.push(e):this.saveChildren(this.categories,e),0!=t.length)for(let i=0;i{if(a=t,e.children=a,1==e.isRoot?this.categories.push(e):this.saveChildren(this.categories,e),0!=a.length)for(let i=0;id.id==a.id)){let d=i.findIndex(u=>u.id==a.id);i[d]=a,e[t].children=i}this.saveChildren(i,a)}}}notifyDismiss(e){this.dismissSubject.next(e),this.removeCategory(e)}addCategory(e){-1==this.selected.indexOf(e,0)&&(this.selected.push(e),this.checkedCategories.push(e.id),this.selectedCategories.emit(this.selected),this.localStorage.setObject("selected_categories",this.selected),this.eventMessage.emitAddedFilter(e))}removeCategory(e){const a=this.selected.indexOf(e,0);if(a>-1){this.selected.splice(a,1),this.selectedCategories.emit(this.selected),this.localStorage.setObject("selected_categories",this.selected),this.eventMessage.emitRemovedFilter(e);const t=this.checkedCategories.findIndex(i=>i===e.id);-1!==t&&this.checkedCategories.splice(t,1)}}isRoot(e,a){const t=this.categories.indexOf(e,0);let i=this.categories[t].children;return document.getElementById("accordion-collapse"),null!=i&&i.length>0?(console.log("Es padre"),i):[]}onClick(e){if(this.isCheckedCategory(e)){this.localStorage.removeCategoryFilter(e),this.eventMessage.emitRemovedFilter(e);const a=this.checkedCategories.findIndex(t=>t===e.id);-1!==a&&this.checkedCategories.splice(a,1)}else this.checkedCategories.push(e.id),this.localStorage.addCategoryFilter(e),this.eventMessage.emitAddedFilter(e)}isCheckedCategory(e){return-1!==this.checkedCategories.findIndex(t=>t===e.id)}isChildsChecked(e){let a=!1;if(null!=e)for(let t=0;tr.id;function dP3(c,r){if(1&c){const e=j();o(0,"div",9),C("click",function(t){return y(e),b(t.stopPropagation())}),o(1,"button",10),C("click",function(){y(e);const t=h();return b(t.showDrawer=!t.showDrawer)}),w(),o(2,"svg",11),v(3,"path",12),n(),O(),o(4,"span",13),f(5,"Close menu"),n()(),v(6,"bae-categories-filter"),n()}2&c&&k("ngClass",h().showDrawer?"backdrop-blur-sm":"")}function uP3(c,r){1&c&&v(0,"bae-categories-filter",14)}function hP3(c,r){if(1&c){const e=j();o(0,"form",7)(1,"div",15)(2,"div",16)(3,"input",17),m(4,"translate"),C("keydown.enter",function(t){return y(e),b(h().filterSearch(t))}),n(),o(5,"button",18),C("click",function(t){return y(e),b(h().filterSearch(t))}),w(),o(6,"svg",19),v(7,"path",20),n(),O(),o(8,"span",13),f(9),m(10,"translate"),n()()()()()}if(2&c){const e=h();s(3),D1("placeholder",_(4,3,"DASHBOARD._search_ph")),k("formControl",e.searchField),s(6),H(_(10,5,"DASHBOARD._search"))}}function mP3(c,r){1&c&&(o(0,"div",8),w(),o(1,"svg",21),v(2,"path",22)(3,"path",23),n(),O(),o(4,"span",13),f(5,"Loading..."),n()())}function _P3(c,r){1&c&&v(0,"bae-off-card",25),2&c&&k("productOff",r.$implicit)}function pP3(c,r){1&c&&(o(0,"div",26),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"DASHBOARD._not_found")))}function gP3(c,r){if(1&c){const e=j();o(0,"div",27)(1,"button",28),C("click",function(){return y(e),b(h(3).next())}),f(2," Load more "),w(),o(3,"svg",29),v(4,"path",30),n()()()}}function vP3(c,r){1&c&&R(0,gP3,5,0,"div",27),2&c&&S(0,h(2).page_check?0:-1)}function HP3(c,r){1&c&&(o(0,"div",31),w(),o(1,"svg",21),v(2,"path",22)(3,"path",23),n(),O(),o(4,"span",13),f(5,"Loading..."),n()())}function CP3(c,r){if(1&c&&(o(0,"div",24),c1(1,_P3,1,1,"bae-off-card",25,fP3,!1,pP3,3,3,"div",26),n(),R(4,vP3,1,1)(5,HP3,6,0)),2&c){const e=h();s(),a1(e.products),s(3),S(4,e.loading_more?5:4)}}let zP3=(()=>{class c{constructor(e,a,t,i,l,d,u,p){this.api=e,this.cdr=a,this.route=t,this.router=i,this.localStorage=l,this.eventMessage=d,this.loginService=u,this.paginationService=p,this.products=[],this.nextProducts=[],this.loading=!1,this.loading_more=!1,this.page_check=!0,this.page=0,this.PRODUCT_LIMIT=m1.PRODUCT_LIMIT,this.showDrawer=!1,this.searchEnabled=m1.SEARCH_ENABLED,this.keywords=void 0,this.searchField=new u1}ngOnInit(){var e=this;return M(function*(){e.products=[],e.nextProducts=[],e.route.snapshot.paramMap.get("keywords")&&(e.keywords=e.route.snapshot.paramMap.get("keywords"),e.searchField.setValue(e.keywords)),console.log("INIT"),yield e.getProducts(!1),yield e.eventMessage.messages$.subscribe(function(){var t=M(function*(i){("AddedFilter"===i.type||"RemovedFilter"===i.type)&&(console.log("event filter"),yield e.getProducts(!1))});return function(i){return t.apply(this,arguments)}}());let a=document.querySelector("[type=search]");a?.addEventListener("input",function(){var t=M(function*(i){console.log("Input updated"),""==e.searchField.value&&(e.keywords=void 0,console.log("EVENT CLEAR"),yield e.getProducts(!1))});return function(i){return t.apply(this,arguments)}}())})()}onClick(){1==this.showDrawer&&(this.showDrawer=!1,this.cdr.detectChanges())}getProducts(e){var a=this;return M(function*(){let t=a.localStorage.getObject("selected_categories")||[];0==e&&(a.loading=!0),a.paginationService.getItemsPaginated(a.page,a.PRODUCT_LIMIT,e,a.products,a.nextProducts,{keywords:a.keywords,filters:t},a.paginationService.getProducts.bind(a.paginationService)).then(l=>{a.page_check=l.page_check,a.products=l.items,a.nextProducts=l.nextItems,a.page=l.page,a.loading=!1,a.loading_more=!1})})()}next(){var e=this;return M(function*(){yield e.getProducts(!0)})()}filterSearch(e){var a=this;return M(function*(){e.preventDefault(),""!=a.searchField.value&&null!=a.searchField.value?(console.log("FILTER KEYWORDS"),a.keywords=a.searchField.value,yield a.getProducts(!1)):(console.log("EMPTY FILTER KEYWORDS"),a.keywords=void 0,yield a.getProducts(!1))})()}static#e=this.\u0275fac=function(a){return new(a||c)(B(p1),B(B1),B(j3),B(Q1),B(A1),B(e2),B(h0),B(L3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["bae-search"]],hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},decls:12,vars:3,consts:[[1,"flex","p-5"],["tabindex","-1","aria-labelledby","drawer-label",1,"fixed","h-screen","w-3/4","top-0","left-0","z-40","p-4","overflow-y-auto","bg-white","dark:bg-gray-800",3,"ngClass"],[1,"flex","flex-col","w-full","md:w-4/5","lg:w-3/4"],[1,"md:pl-5","content","pb-5","px-4","flex","items-center"],["type","button",1,"md:hidden","px-2","w-fit","h-fit","py-2","text-sm","font-medium","text-center","inline-flex","items-center","dark:text-white","bg-white","text-primary-100","border","border-primary-100","rounded-lg","dark:bg-primary-100","dark:border-secondary-200",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 17 14",1,"w-4","h-4","mr-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 1h15M1 7h15M1 13h15"],[1,"mx-5","w-full"],["role","status",1,"h-full","flex","justify-center","align-middle"],["tabindex","-1","aria-labelledby","drawer-label",1,"fixed","h-screen","w-3/4","top-0","left-0","z-40","p-4","overflow-y-auto","bg-white","dark:bg-gray-800",3,"click","ngClass"],["type","button","aria-controls","drawer-example",1,"text-gray-400","bg-transparent","hover:bg-gray-200","hover:text-gray-900","rounded-lg","text-sm","w-8","h-8","absolute","top-2.5","end-2.5","flex","items-center","justify-center","dark:hover:bg-gray-600","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-3","h-3"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"],[1,"sr-only"],[1,"hidden","md:block","w-1/5","md:w-2/4","lg:w-1/4"],[1,"flex"],[1,"relative","w-full"],["type","search","id","search","required","",1,"block","p-2.5","w-full","text-sm","text-gray-900","bg-gray-50","rounded-lg","border","border-gray-300","focus:ring-blue-500","focus:border-blue-500","dark:bg-gray-700","dark:border-s-gray-700","dark:border-gray-600","dark:placeholder-gray-400","dark:text-white","dark:focus:border-blue-500",3,"keydown.enter","formControl","placeholder"],["type","submit",1,"absolute","top-0","end-0","p-2.5","text-sm","font-medium","h-full","text-white","bg-blue-700","rounded-e-lg","border","border-blue-700","hover:bg-blue-800","focus:ring-4","focus:outline-none","focus:ring-blue-300","dark:bg-blue-600","dark:hover:bg-blue-700","dark:focus:ring-blue-800",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 20 20",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"md:pl-5","grid","grid-cols-1","place-items-center","lg:grid-cols-2","xl:grid-cols-3"],[1,"w-full","h-full","p-2",3,"productOff"],[1,"min-h-19","dark:text-gray-600","text-center"],[1,"flex","pb-12","justify-center","align-middle"],[1,"flex","cursor-pointer","items-center","justify-center","px-3","h-8","text-sm","font-medium","text-gray-500","bg-white","border","border-gray-300","rounded-lg","hover:bg-gray-100","hover:text-gray-700","dark:bg-gray-800","dark:border-gray-700","dark:text-gray-400","dark:hover:bg-gray-700","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle"]],template:function(a,t){1&a&&(o(0,"section",0),R(1,dP3,7,1,"div",1)(2,uP3,1,0),o(3,"div",2)(4,"section",3)(5,"button",4),C("click",function(l){return t.showDrawer=!t.showDrawer,l.stopPropagation()}),w(),o(6,"svg",5),v(7,"path",6),n(),f(8," Categories "),n(),R(9,hP3,11,7,"form",7),n(),R(10,mP3,6,0,"div",8)(11,CP3,6,2),n()()),2&a&&(s(),S(1,t.showDrawer?1:2),s(8),S(9,t.searchEnabled?9:-1),s(),S(10,t.loading?10:11))},dependencies:[k2,I4,H4,S4,O4,Gt,Da,H5,fh1,OC,X1]})}return c})();const VP3=["relationshipsContent"],MP3=["detailsContent"],LP3=["charsContent"],yP3=["attachContent"],bP3=["agreementsContent"],xP3=["textDiv"],Ve=(c,r)=>r.id,wP3=(c,r)=>r.value;function FP3(c,r){if(1&c){const e=j();o(0,"div",27),f(1),m(2,"translate"),o(3,"a",58),C("click",function(){y(e);const t=h();return b(t.goToOrgDetails(t.orgInfo.id))}),f(4),n()()}if(2&c){const e=h();s(),V(" ",_(2,2,"CARD._owner"),": "),s(3),H(e.orgInfo.tradingName)}}function kP3(c,r){1&c&&v(0,"bae-badge",30),2&c&&k("category",r.$implicit)}function SP3(c,r){1&c&&f(0," Level 1 ")}function NP3(c,r){1&c&&f(0," Level 2 ")}function DP3(c,r){1&c&&f(0," Level 3 ")}function TP3(c,r){if(1&c){const e=j();o(0,"li",40)(1,"button",59),C("click",function(){return y(e),b(h().goToChars(!0))}),f(2),m(3,"translate"),n()()}2&c&&(s(2),V(" ",_(3,1,"PRODUCT_DETAILS._chars")," "))}function EP3(c,r){if(1&c){const e=j();o(0,"li",40)(1,"button",60),C("click",function(){return y(e),b(h().goToAttach(!0))}),f(2),m(3,"translate"),n()()}2&c&&(s(2),V(" ",_(3,1,"PRODUCT_DETAILS._attach")," "))}function AP3(c,r){if(1&c){const e=j();o(0,"li",40)(1,"button",61),C("click",function(){return y(e),b(h().goToAgreements(!0))}),f(2),m(3,"translate"),n()()}2&c&&(s(2),V(" ",_(3,1,"PRODUCT_DETAILS._agreements")," "))}function PP3(c,r){if(1&c){const e=j();o(0,"li",40)(1,"button",62),C("click",function(){return y(e),b(h().goToRelationships(!0))}),f(2),m(3,"translate"),n()()}2&c&&(s(2),V(" ",_(3,1,"PRODUCT_DETAILS._relationships")," "))}function RP3(c,r){if(1&c){const e=j();o(0,"button",63),C("click",function(t){return y(e),h().toggleCartSelection(),b(t.stopPropagation())}),w(),o(1,"svg",64),v(2,"path",65),n(),f(3),m(4,"translate"),n()}if(2&c){const e=h();k("disabled",!e.PURCHASE_ENABLED)("ngClass",e.PURCHASE_ENABLED?"hover:bg-primary-50":"opacity-50"),s(3),V(" ",_(4,3,"CARD._add_cart")," ")}}function BP3(c,r){if(1&c){const e=j();o(0,"button",66),C("click",function(t){return y(e),h().toggleCartSelection(),b(t.stopPropagation())}),w(),o(1,"svg",64),v(2,"path",65),n(),f(3),m(4,"translate"),n()}if(2&c){const e=h();k("disabled",!e.PURCHASE_ENABLED)("ngClass",e.PURCHASE_ENABLED?"hover:bg-primary-50":"opacity-50"),s(3),V(" ",_(4,3,"CARD._add_cart")," ")}}function OP3(c,r){if(1&c&&(o(0,"p",68)(1,"b"),f(2),n(),f(3,": "),v(4,"markdown",69),n()),2&c){const e=r.$implicit;s(2),H(e.name),s(2),k("data",e.description)}}function IP3(c,r){if(1&c&&(o(0,"div",48)(1,"h5",67),f(2),m(3,"translate"),n(),c1(4,OP3,5,2,"p",68,Ve),n()),2&c){const e=h();s(2),V("",_(3,1,"PRODUCT_DETAILS._service_spec"),":"),s(2),a1(e.serviceSpecs)}}function UP3(c,r){if(1&c&&(o(0,"p",68)(1,"b"),f(2),n(),f(3,": "),v(4,"markdown",69),n()),2&c){const e=r.$implicit;s(2),H(e.name),s(2),k("data",e.description)}}function jP3(c,r){if(1&c&&(o(0,"div",48)(1,"h5",67),f(2),m(3,"translate"),n(),c1(4,UP3,5,2,"p",68,Ve),n()),2&c){const e=h();s(2),V("",_(3,1,"PRODUCT_DETAILS._resource_spec"),":"),s(2),a1(e.resourceSpecs)}}function $P3(c,r){1&c&&(o(0,"a",73),f(1," Not required "),n())}function YP3(c,r){1&c&&(o(0,"a",76),f(1," Self declared "),n())}function GP3(c,r){1&c&&(o(0,"a",76),f(1," In validation "),n())}function qP3(c,r){1&c&&(o(0,"a",77),f(1," Dome verified "),n())}function WP3(c,r){if(1&c&&(o(0,"a",75),f(1),n(),R(2,YP3,2,0,"a",76)(3,GP3,2,0,"a",76)(4,qP3,2,0,"a",77)),2&c){const e=h().$implicit,a=h();D1("href",e.href,h2),s(),V(" ",e.value," "),s(),S(2,e.domesupported?-1:2),s(),S(3,1!=e.domesupported||a.isVerified(e)?-1:3),s(),S(4,1==e.domesupported&&a.isVerified(e)?4:-1)}}function ZP3(c,r){1&c&&v(0,"fa-icon",74),2&c&&k("icon",h(2).faAtom)}function KP3(c,r){1&c&&v(0,"fa-icon",78),2&c&&k("icon",h(2).faAtom)}function QP3(c,r){if(1&c&&(o(0,"div",52)(1,"div",70)(2,"h3",71),f(3),n(),o(4,"div",72),R(5,$P3,2,0,"a",73)(6,WP3,5,5)(7,ZP3,1,1,"fa-icon",74)(8,KP3,1,1),n()()()),2&c){const e=r.$implicit,a=h();s(),k("ngClass","#"==e.href?"border-gray-400":a.isVerified(e)&&1==e.domesupported?"border-green-500":"border-green-300"),s(2),H(e.name),s(2),S(5,"#"==e.href?5:6),s(2),S(7,1==e.domesupported?7:8)}}function JP3(c,r){if(1&c&&(o(0,"div",81)(1,"div",82)(2,"h2",83),f(3),n()(),v(4,"markdown",84),n()),2&c){const e=h().$implicit;s(3),H(e.name),s(),k("data",null==e?null:e.description)}}function XP3(c,r){1&c&&R(0,JP3,5,2,"div",81),2&c&&S(0,"custom"==r.$implicit.priceType?0:-1)}function eR3(c,r){1&c&&(o(0,"div",80)(1,"div",85)(2,"div",86)(3,"h5",87),f(4),m(5,"translate"),n()(),o(6,"p",88),f(7),m(8,"translate"),n()()()),2&c&&(s(4),H(_(5,2,"SHOPPING_CART._free")),s(3),H(_(8,4,"SHOPPING_CART._free_desc")))}function cR3(c,r){if(1&c&&(o(0,"div",79),c1(1,XP3,1,1,null,null,Ve),R(3,eR3,9,6,"div",80),n()),2&c){const e=h(2);s(),a1(null==e.productOff?null:e.productOff.productOfferingPrice),s(2),S(3,0==(null==e.productOff||null==e.productOff.productOfferingPrice?null:e.productOff.productOfferingPrice.length)?3:-1)}}function aR3(c,r){if(1&c&&(o(0,"div",90)(1,"div",91)(2,"h5",92),f(3),n()(),o(4,"div",93),v(5,"markdown",84),n()()),2&c){const e=h().$implicit;s(3),H(e.name),s(2),k("data",null==e?null:e.description)}}function rR3(c,r){if(1&c&&(o(0,"div",89)(1,"div",94)(2,"h5",95),f(3),n()(),o(4,"div",93),v(5,"markdown",84),n()()),2&c){const e=h().$implicit;s(3),H(e.name),s(2),k("data",null==e?null:e.description)}}function tR3(c,r){if(1&c&&(o(0,"div",89)(1,"div",86)(2,"h5",96),f(3),n()(),o(4,"div",93),v(5,"markdown",84),n()()),2&c){const e=h().$implicit;s(3),H(e.name),s(2),k("data",null==e?null:e.description)}}function iR3(c,r){if(1&c&&R(0,aR3,6,2,"div",90)(1,rR3,6,2)(2,tR3,6,2),2&c){const e=r.$implicit;S(0,"recurring"==e.priceType?0:"usage"==e.priceType?1:2)}}function oR3(c,r){1&c&&(o(0,"div",89)(1,"div",86)(2,"h5",87),f(3),m(4,"translate"),n()(),o(5,"p",97),f(6),m(7,"translate"),n()()),2&c&&(s(3),H(_(4,2,"SHOPPING_CART._free")),s(3),H(_(7,4,"SHOPPING_CART._free_desc")))}function nR3(c,r){if(1&c&&(o(0,"div",79),c1(1,iR3,3,1,null,null,Ve),R(3,oR3,8,6,"div",89),n()),2&c){const e=h(2);s(),a1(null==e.productOff?null:e.productOff.productOfferingPrice),s(2),S(3,0==(null==e.productOff||null==e.productOff.productOfferingPrice?null:e.productOff.productOfferingPrice.length)?3:-1)}}function sR3(c,r){1&c&&R(0,cR3,4,1,"div",79)(1,nR3,4,1),2&c&&S(0,h().checkCustom?0:1)}function lR3(c,r){if(1&c&&(o(0,"label",103),f(1),n()),2&c){const e=h(2).$implicit;s(),j1("",e.value," ",e.unitOfMeasure,"")}}function fR3(c,r){if(1&c&&(o(0,"label",103),f(1),n()),2&c){const e=h(2).$implicit;s(),H6("",e.valueFrom," - ",e.valueTo," ",null==e?null:e.unitOfMeasure,"")}}function dR3(c,r){if(1&c&&(o(0,"div",101),v(1,"input",102),R(2,lR3,2,2,"label",103)(3,fR3,2,3),n()),2&c){const e=h().$implicit;s(2),S(2,e.value?2:3)}}function uR3(c,r){if(1&c&&(o(0,"label",105),f(1),n()),2&c){const e=h(2).$implicit;s(),j1("",e.value," ",e.unitOfMeasure,"")}}function hR3(c,r){if(1&c&&(o(0,"label",105),f(1),n()),2&c){const e=h(2).$implicit;s(),H6("",e.valueFrom," - ",e.valueTo," ",null==e?null:e.unitOfMeasure,"")}}function mR3(c,r){if(1&c&&(o(0,"div",101),v(1,"input",104),R(2,uR3,2,2,"label",105)(3,hR3,2,3),n()),2&c){const e=h().$implicit;s(2),S(2,e.value?2:3)}}function _R3(c,r){if(1&c&&R(0,dR3,4,1,"div",101)(1,mR3,4,1),2&c){const e=r.$implicit;S(0,1==(null==e?null:e.isDefault)?0:1)}}function pR3(c,r){if(1&c&&(o(0,"div",52)(1,"div",100)(2,"h3",71),f(3),n(),c1(4,_R3,2,1,null,null,wP3),n()()),2&c){const e=r.$implicit;s(3),H(e.name),s(),a1(null==e?null:e.productSpecCharacteristicValue)}}function gR3(c,r){1&c&&(o(0,"div",99)(1,"div",106),w(),o(2,"svg",107),v(3,"path",108),n(),O(),o(4,"span",109),f(5,"Info"),n(),o(6,"p",110),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"PRODUCT_DETAILS._no_chars")," "))}function vR3(c,r){if(1&c&&(o(0,"div",53,1)(2,"h2",98),f(3,"Product characteristics"),n(),o(4,"div",50)(5,"div",51),c1(6,pR3,6,1,"div",52,Ve,!1,gR3,9,3,"div",99),n()()()),2&c){const e=h();s(6),a1(e.prodChars)}}function HR3(c,r){if(1&c){const e=j();o(0,"div",52)(1,"div",112)(2,"div",113)(3,"h3",71),f(4),n()(),o(5,"div",114)(6,"fa-icon",115),C("click",function(){const t=y(e).$implicit;return b(h(2).goToLink(t.url))}),n()()()()}if(2&c){const e=r.$implicit,a=h(2);s(4),H(e.name),s(2),k("icon",a.faDownload)}}function CR3(c,r){1&c&&(o(0,"div",99)(1,"div",116),w(),o(2,"svg",107),v(3,"path",108),n(),O(),o(4,"span",109),f(5,"Info"),n(),o(6,"p",110),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"PRODUCT_DETAILS._no_attach")," "))}function zR3(c,r){if(1&c&&(o(0,"h2",49,2),f(2,"Product attachments"),n(),o(3,"div",111)(4,"div",51),c1(5,HR3,7,2,"div",52,Ve,!1,CR3,9,3,"div",99),n()()),2&c){const e=h();s(5),a1(e.attatchments)}}function VR3(c,r){if(1&c){const e=j();o(0,"button",122),C("click",function(){return y(e),b(h(4).toggleTermsReadMore())}),f(1,"Read more"),n()}}function MR3(c,r){if(1&c){const e=j();o(0,"button",122),C("click",function(){return y(e),b(h(4).toggleTermsReadMore())}),f(1,"Read less"),n()}}function LR3(c,r){1&c&&R(0,VR3,2,0,"button",121)(1,MR3,2,0),2&c&&S(0,0==h(3).showTermsMore?0:1)}function yR3(c,r){if(1&c&&(o(0,"h2",98),f(1),m(2,"translate"),n(),o(3,"div",50)(4,"div",117)(5,"div",118)(6,"div",113)(7,"h2",83),f(8),n()(),o(9,"div",114),v(10,"fa-icon",74),n()(),o(11,"div",119),v(12,"markdown",120),n(),R(13,LR3,2,1),n()()),2&c){let e,a,t;const i=h(2);s(),H(_(2,5,"PRODUCT_DETAILS._license")),s(7),H(null==i.productOff||null==i.productOff.productOfferingTerm||null==(e=i.productOff.productOfferingTerm.at(0))?null:e.name),s(2),k("icon",i.faScaleBalanced),s(2),k("data",null==i.productOff||null==i.productOff.productOfferingTerm||null==(a=i.productOff.productOfferingTerm.at(0))?null:a.description),s(),S(13,null!=i.productOff&&null!=i.productOff.productOfferingTerm&&null!=(t=i.productOff.productOfferingTerm.at(0))&&t.description?13:-1)}}function bR3(c,r){if(1&c&&(o(0,"h2",123),f(1),m(2,"translate"),n(),o(3,"p",124),f(4),n()),2&c){const e=h(2);s(),H(_(2,2,"PRODUCT_DETAILS._sla")),s(3),V("",null==e.productOff||null==e.productOff.serviceLevelAgreement?null:e.productOff.serviceLevelAgreement.name,".")}}function xR3(c,r){if(1&c&&(o(0,"div",54,3),R(2,yR3,14,7)(3,bR3,5,4),n()),2&c){let e;const a=h();s(2),S(2,null!=a.productOff&&null!=a.productOff.productOfferingTerm&&null!=(e=a.productOff.productOfferingTerm.at(0))&&e.name?2:-1),s(),S(3,null!=a.productOff&&a.productOff.serviceLevelAgreement?3:-1)}}function wR3(c,r){1&c&&v(0,"fa-icon",74),2&c&&k("icon",h(3).faArrowProgress)}function FR3(c,r){1&c&&v(0,"fa-icon",74),2&c&&k("icon",h(3).faArrowRightArrowLeft)}function kR3(c,r){1&c&&v(0,"fa-icon",74),2&c&&k("icon",h(3).faObjectExclude)}function SR3(c,r){1&c&&v(0,"fa-icon",74),2&c&&k("icon",h(3).faSwap)}function NR3(c,r){if(1&c&&(o(0,"div",52)(1,"div",100)(2,"h3",71),f(3),n(),o(4,"div",72)(5,"p",126),f(6),n(),R(7,wR3,1,1,"fa-icon",74)(8,FR3,1,1)(9,kR3,1,1)(10,SR3,1,1),n()()()),2&c){const e=r.$implicit;s(3),H(e.name),s(3),H(e.relationshipType),s(),S(7,"dependency"==e.relationshipType?7:"migration"==e.relationshipType?8:"exclusivity"==e.relationshipType?9:"substitution"==e.relationshipType?10:-1)}}function DR3(c,r){if(1&c&&(o(0,"h2",98,4),f(2,"Product relationships"),n(),o(3,"div",125)(4,"div",51),c1(5,NR3,11,3,"div",52,Ve),n()()),2&c){const e=h();s(5),a1(e.prodSpec.productSpecificationRelationship)}}function TR3(c,r){if(1&c){const e=j();o(0,"div",55)(1,"div",127),w(),o(2,"svg",128),v(3,"path",129),n(),O(),o(4,"div",130),f(5),m(6,"translate"),n(),o(7,"div",131)(8,"button",132),C("click",function(){y(e);const t=h();return b(t.deleteProduct(t.lastAddedProd))}),f(9),m(10,"translate"),n(),o(11,"button",133),C("click",function(){return y(e),b(h().toastVisibility=!1)}),o(12,"span",109),f(13),m(14,"translate"),n(),w(),o(15,"svg",134),v(16,"path",135),n()()()(),O(),o(17,"div",136),v(18,"div",137),n()()}2&c&&(s(5),V(" ",_(6,3,"CARD._added_card"),". "),s(4),H(_(10,5,"CARD._undo")),s(4),H(_(14,7,"CARD._close_toast")))}function ER3(c,r){if(1&c&&v(0,"cart-card",56),2&c){const e=h();k("productOff",e.productOff)("prodSpec",e.prodSpec)("images",e.images)("cartSelection",e.cartSelection)}}function AR3(c,r){1&c&&v(0,"error-message",57),2&c&&k("message",h().errorMessage)}let PR3=(()=>{class c{constructor(e,a,t,i,l,d,u,p,z,x,E){this.cdr=e,this.route=a,this.api=t,this.priceService=i,this.router=l,this.elementRef=d,this.localStorage=u,this.cartService=p,this.eventMessage=z,this.accService=x,this.location=E,this.category="none",this.categories=[],this.price="",this.images=[],this.attatchments=[],this.prodSpec={},this.complianceProf=[],this.complianceLevel=1,this.serviceSpecs=[],this.resourceSpecs=[],this.check_logged=!1,this.cartSelection=!1,this.check_prices=!1,this.check_char=!1,this.check_terms=!1,this.selected_terms=!1,this.selected_chars=[],this.toastVisibility=!1,this.checkCustom=!1,this.prodChars=[],this.errorMessage="",this.showError=!1,this.showTermsMore=!1,this.PURCHASE_ENABLED=m1.PURCHASE_ENABLED,this.orgInfo=void 0,this.faScaleBalanced=hl,this.faArrowProgress=Kv,this.faArrowRightArrowLeft=ol,this.faObjectExclude=CH,this.faSwap=EH,this.faGlobe=rH,this.faBook=nC,this.faShieldHalved=el,this.faAtom=$9,this.faDownload=AH,this.stepsElements=["step-chars","step-price","step-terms","step-checkout"],this.stepsText=["text-chars","text-price","text-terms","text-checkout"],this.stepsCircles=["circle-chars","circle-price","circle-terms","circle-checkout"],this.showTermsMore=!1,this.eventMessage.messages$.subscribe(P=>{if("CloseCartCard"===P.type){if(this.hideCartSelection(),null!=P.value){this.lastAddedProd=P.value,this.toastVisibility=!0,this.cdr.detectChanges();let Y=document.getElementById("progress-bar"),Z=document.getElementById("toast-add-cart");null!=Y&&null!=Z&&(Y.style.width="0%",Y.style.width="100%",setTimeout(()=>{this.toastVisibility=!1},3500))}this.cdr.detectChanges()}})}updateTabs(e){let a=document.getElementById("tabs-container"),t=0;a&&(t=a.offsetHeight);let i=document.getElementById("details-container"),l=document.getElementById("chars-container"),d=document.getElementById("attach-container"),u=document.getElementById("agreements-container"),p=document.getElementById("agreements-container"),z=t;i&&i.getBoundingClientRect().bottom<=window.innerHeight&&(this.goToDetails(!1),z=i.getBoundingClientRect().bottom);let x=z;null!=this.charsContent&&l&&l.getBoundingClientRect().top>=z&&l.getBoundingClientRect().bottom<=window.innerHeight&&(this.goToChars(!1),x=l.getBoundingClientRect().bottom);let E=x;null!=this.attachContent&&d&&d.getBoundingClientRect().top>=x&&d.getBoundingClientRect().bottom<=window.innerHeight&&(this.goToAttach(!1),E=d.getBoundingClientRect().bottom);let P=E;null!=this.agreementsContent&&u&&u.getBoundingClientRect().top>=E&&u.getBoundingClientRect().bottom<=window.innerHeight&&(this.goToAgreements(!1),P=u.offsetHeight),null!=this.relationshipsContent&&p&&p.getBoundingClientRect().top>=P&&p.getBoundingClientRect().bottom<=window.innerHeight&&this.goToRelationships(!1)}ngOnInit(){S1();let e=this.localStorage.getObject("login_items");"{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0?(this.check_logged=!0,this.cdr.detectChanges()):(this.check_logged=!1,this.cdr.detectChanges()),window.scrollTo(0,0),this.id=this.route.snapshot.paramMap.get("id"),console.log("--- Details ID:"),console.log(this.id),this.api.getProductById(this.id).then(a=>{console.log("prod"),console.log(a),this.api.getProductSpecification(a.productSpecification.id).then(t=>{this.prodSpec=t,this.getOwner();let i=t.attachment;console.log(t.attachment);let l=a.productOfferingPrice,d=[];if(void 0!==l)for(let E=0;E{d.push(P),console.log(P),"custom"==P.priceType&&(this.checkCustom=!0)});if(null!=this.prodSpec.productSpecCharacteristic){this.prodSpec.productSpecCharacteristic.forEach(E=>{this.prodChars.push(E)}),console.log("-- prod spec"),console.log(this.prodSpec.productSpecCharacteristic);for(let E=0;EZ.name===Y6[E].name))&&this.complianceProf.push(Y6[E]);const P=this.prodChars.findIndex(Y=>Y.name===Y6[E].name);-1!==P&&this.prodChars.splice(P,1)}}if(null!=this.prodSpec.serviceSpecification)for(let E=0;E{this.serviceSpecs.push(P)});if(null!=this.prodSpec.resourceSpecification)for(let E=0;E{this.resourceSpecs.push(P)});console.log("serv specs"),console.log(this.serviceSpecs),this.productOff={id:a.id,name:a.name,category:a.category,description:a.description,lastUpdate:a.lastUpdate,attachment:i,productOfferingPrice:d,productSpecification:a.productSpecification,productOfferingTerm:a.productOfferingTerm,serviceLevelAgreement:a.serviceLevelAgreement,version:a.version},this.category=this.productOff?.category?.at(0)?.name??"none",this.categories=this.productOff?.category,this.price=this.productOff?.productOfferingPrice?.at(0)?.price?.value+" "+this.productOff?.productOfferingPrice?.at(0)?.price?.unit;let u=this.productOff?.attachment?.filter(E=>"Profile Picture"===E.name)??[];console.log("profile..."),console.log(u),0==u.length?(this.images=this.productOff?.attachment?.filter(E=>"Picture"===E.attachmentType)??[],this.attatchments=this.productOff?.attachment?.filter(E=>"Picture"!=E.attachmentType)??[]):(this.images=u,this.attatchments=this.productOff?.attachment?.filter(E=>"Profile Picture"!=E.name)??[]);let p=0,z=0,x=[];if(null!=this.prodSpec.productSpecCharacteristic){let E=this.prodSpec.productSpecCharacteristic.find(P=>"Compliance:VC"===P.name);if(E){const P=E.productSpecCharacteristicValue?.at(0)?.value,Y=DC(P);if("verifiableCredential"in Y){const K=Y.verifiableCredential.credentialSubject;"compliance"in K&&(x=K.compliance.map(J=>J.standard))}}}for(let E=0;EY.name===this.complianceProf[E].name);P?(this.complianceProf[E].href=P.productSpecCharacteristicValue?.at(0)?.value,this.complianceProf[E].value="Certification included"):(this.complianceProf[E].href="#",this.complianceProf[E].value="Not provided yet"),x.indexOf(this.complianceProf[E].name)>-1&&(this.complianceProf[E].verified=!0,p+=1)}p>0&&(this.complianceLevel=2,p==z&&(this.complianceLevel=3))})})}isVerified(e){return 1==e.verified}ngAfterViewInit(){this.setImageHeight()}setImageHeight(){this.textDivHeight=this.textDiv.nativeElement.offsetHeight}toggleCartSelection(){if(console.log("Add to cart..."),null!=this.productOff?.productOfferingPrice&&(this.productOff?.productOfferingPrice.length>1?(this.check_prices=!0,this.selected_price=this.productOff?.productOfferingPrice[this.productOff?.productOfferingPrice.length-1]):this.selected_price=this.productOff?.productOfferingPrice[0],this.cdr.detectChanges()),null!=this.productOff?.productOfferingTerm&&(this.check_terms=1!=this.productOff.productOfferingTerm.length||null!=this.productOff.productOfferingTerm[0].name),null!=this.prodSpec.productSpecCharacteristic){for(let e=0;e1&&(this.check_char=!0);for(let t=0;t{console.log(l),console.log("Update successful"),t.toastVisibility=!0,t.cdr.detectChanges();let d=document.getElementById("progress-bar"),u=document.getElementById("toast-add-cart");null!=d&&null!=u&&(d.style.width="0%",d.style.width="100%",setTimeout(()=>{t.toastVisibility=!1},3500))},error:l=>{console.error("There was an error while updating!",l),l.error.error?(console.log(l),t.errorMessage="Error: "+l.error.error):t.errorMessage="There was an error while adding item to the cart!",t.showError=!0,setTimeout(()=>{t.showError=!1},3e3)}})}}else if(null!=e&&null!=e?.productOfferingPrice){let i={id:e?.id,name:e?.name,image:t.getProductImage(),href:e.href,options:{characteristics:t.selected_chars,pricing:t.selected_price},termsAccepted:!0};t.lastAddedProd=i,yield t.cartService.addItemShoppingCart(i).subscribe({next:l=>{console.log(l),console.log("Update successful"),t.toastVisibility=!0,t.cdr.detectChanges();let d=document.getElementById("progress-bar"),u=document.getElementById("toast-add-cart");null!=d&&null!=u&&(d.style.width="0%",d.style.width="100%",setTimeout(()=>{t.toastVisibility=!1},3500))},error:l=>{console.error("There was an error while updating!",l),t.errorMessage="There was an error while adding item to the cart!",t.showError=!0,setTimeout(()=>{t.showError=!1},3e3)}})}void 0!==e&&t.eventMessage.emitAddedCartItem(e),1==t.cartSelection&&(t.cartSelection=!1,t.check_char=!1,t.check_terms=!1,t.check_prices=!1,t.selected_chars=[],t.selected_price={},t.selected_terms=!1,t.cdr.detectChanges()),t.cdr.detectChanges()})()}deleteProduct(e){void 0!==e&&(this.cartService.removeItemShoppingCart(e.id).subscribe(()=>console.log("removed")),this.eventMessage.emitRemovedCartItem(e)),this.toastVisibility=!1}hideCartSelection(){this.cartSelection=!1,this.check_char=!1,this.check_terms=!1,this.check_prices=!1,this.selected_chars=[],this.selected_price={},this.selected_terms=!1,this.cdr.detectChanges()}goTo(e){this.router.navigate([e])}back(){this.location.back()}getProductImage(){return this.images.length>0?this.images?.at(0)?.url:"https://placehold.co/600x400/svg"}removeClass(e,a){e.className=(" "+e.className+" ").replace(" "+a+" "," ").replace(/^\s+|\s+$/g,"")}addClass(e,a){e.className+=" "+a}goToDetails(e){null!=this.detailsContent&&e&&this.detailsContent.nativeElement.scrollIntoView({behavior:"smooth",block:"center"});let a=document.getElementById("details-button"),t=document.getElementById("chars-button"),i=document.getElementById("attach-button"),l=document.getElementById("agreements-button"),d=document.getElementById("relationships-button");this.selectTag(a,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(t,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(i,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(l,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(d,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100")}goToChars(e){null!=this.charsContent&&e&&this.charsContent.nativeElement.scrollIntoView({behavior:"smooth",block:"center"});let a=document.getElementById("details-button"),t=document.getElementById("chars-button"),i=document.getElementById("attach-button"),l=document.getElementById("agreements-button"),d=document.getElementById("relationships-button");this.unselectTag(a,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.selectTag(t,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(i,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(l,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(d,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100")}goToAttach(e){null!=this.attachContent&&e&&this.attachContent.nativeElement.scrollIntoView({behavior:"smooth",block:"center"});let a=document.getElementById("details-button"),t=document.getElementById("chars-button"),i=document.getElementById("attach-button"),l=document.getElementById("agreements-button"),d=document.getElementById("relationships-button");this.unselectTag(a,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(t,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.selectTag(i,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(l,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(d,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100")}goToAgreements(e){null!=this.agreementsContent&&e&&this.agreementsContent.nativeElement.scrollIntoView({behavior:"smooth",block:"center"});let a=document.getElementById("details-button"),t=document.getElementById("chars-button"),i=document.getElementById("attach-button"),l=document.getElementById("agreements-button"),d=document.getElementById("relationships-button");this.unselectTag(a,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(t,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(i,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.selectTag(l,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(d,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100")}goToRelationships(e){null!=this.relationshipsContent&&e&&this.relationshipsContent.nativeElement.scrollIntoView({behavior:"smooth",block:"center"});let a=document.getElementById("details-button"),t=document.getElementById("chars-button"),i=document.getElementById("attach-button"),l=document.getElementById("agreements-button"),d=document.getElementById("relationships-button");this.unselectTag(a,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(t,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(i,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(l,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.selectTag(d,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100")}unselectTag(e,a){null!=e&&(e.className.match(a)?this.removeClass(e,a):console.log("already unselected"))}selectTag(e,a){null!=e&&(e.className.match(a)?console.log("already selected"):this.addClass(e,a))}toggleTermsReadMore(){0==this.showTermsMore?document?.getElementById("terms-markdown")?.classList.remove("line-clamp-5"):document?.getElementById("terms-markdown")?.classList.add("line-clamp-5"),this.showTermsMore=!this.showTermsMore}goToLink(e){window.open(e,"_blank")}getOwner(){let e=this.prodSpec?.relatedParty;if(e)for(let a=0;a{this.orgInfo=t,console.log(this.orgInfo)})}goToOrgDetails(e){this.router.navigate(["/org-details",e])}static#e=this.\u0275fac=function(a){return new(a||c)(B(B1),B(j3),B(p1),B(M8),B(Q1),B(C2),B(A1),B(l3),B(e2),B(O2),B(t8))};static#c=this.\u0275cmp=V1({type:c,selectors:[["app-product-details"]],viewQuery:function(a,t){if(1&a&&(b1(VP3,5),b1(MP3,5),b1(LP3,5),b1(yP3,5),b1(bP3,5),b1(xP3,5)),2&a){let i;M1(i=L1())&&(t.relationshipsContent=i.first),M1(i=L1())&&(t.detailsContent=i.first),M1(i=L1())&&(t.charsContent=i.first),M1(i=L1())&&(t.attachContent=i.first),M1(i=L1())&&(t.agreementsContent=i.first),M1(i=L1())&&(t.textDiv=i.first)}},hostBindings:function(a,t){1&a&&C("scroll",function(l){return t.updateTabs(l)},0,eu)},decls:81,vars:42,consts:[["detailsContent",""],["charsContent",""],["attachContent",""],["agreementsContent",""],["relationshipsContent",""],[1,"container","mx-auto","pt-2","pb-8"],[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-secondary-50","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"w-full","lg:h-fit","mb-4","bg-secondary-50","rounded-lg","dark:bg-secondary-100","dark:border-gray-800","border-secondary-50","border","lg:grid","lg:grid-cols-60/40"],[1,"flex","lg:hidden","overflow-hidden","justify-center","items-center","bg-white","rounded-t-lg","w-full"],["alt","product image",1,"rounded-t-lg","h-5/6","w-5/6","object-contain",3,"src"],[1,"grid","grid-rows-auto","p-4","md:p-8","h-fit"],[1,"mt-2","h-fit"],[1,"md:text-3xl","lg:text-4xl","font-semibold","tracking-tight","text-primary-100","dark:text-white"],[1,"pt-2","line-clamp-5","h-fit"],[1,"dark:text-gray-200","text-wrap","break-all",3,"data"],[1,"flex","flex-row","justify-between","h-fit"],[1,"dark:text-gray-200"],[1,"h-fit","pt-2","dark:text-gray-300"],[1,"h-fit"],[1,"mr-2",3,"category"],[1,"text-xs","font-medium","inline-flex","items-center","px-2.5","py-0.5","rounded-md","mb-2",3,"ngClass"],[1,"mr-2",3,"icon","ngClass"],[1,"hidden","lg:block","overflow-hidden","rounded-r-lg"],[1,"hidden","lg:flex","relative","justify-center","items-center","w-full","h-full"],[1,"object-contain","overflow-hidden","absolute","inset-0","bg-cover","bg-center","opacity-75"],["alt","Descripci\xf3n de la imagen",1,"object-contain","h-5/6","w-5/6","max-h-[350px]","z-10","p-8",3,"src"],["id","tabs-container",1,"sticky","top-[72px]","z-10","w-full","h-full","bg-secondary-50","rounded-t-lg","pt-4","pr-4","pl-4","dark:bg-secondary-100","dark:border-gray-800","border-secondary-50","border-t"],[1,"inline-flex","overflow-x-auto","overflow-y-hidden","w-full","text-sm","font-medium","text-center","text-gray-600","dark:text-white","border-b","border-gray-300","dark:border-white","justify-between"],[1,"flex","flex-wrap","-mb-px"],[1,"mr-2"],["id","details-button",1,"inline-block","p-4","text-primary-100","dark:text-primary-50","dark:border-primary-50","border-b-2","border-primary-100","rounded-t-lg","hover:text-primary-50","hover:border-primary-50",3,"click"],["type","button",1,"hidden","md:flex","w-fit","m-2","text-white","bg-blue-700","hover:bg-blue-800","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center","dark:bg-blue-600","dark:hover:bg-blue-700","dark:focus:ring-blue-800",3,"disabled","ngClass"],["type","button",1,"flex","md:hidden","justify-end","w-fit","m-2","text-white","bg-blue-700","hover:bg-blue-800","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center","dark:bg-blue-600","dark:hover:bg-blue-700","dark:focus:ring-blue-800",3,"disabled","ngClass"],[1,"w-full","h-full","bg-secondary-50","rounded-b-lg","p-4","dark:bg-secondary-100","dark:border-gray-800","border-secondary-50","border-b"],["id","desc-container",1,"w-full","bg-secondary-50/95","dark:bg-secondary-100/95","rounded-lg","p-8","lg:p-12"],["id","details-container"],[1,"text-4xl","font-extrabold","text-primary-100","dark:text-primary-50","text-center","pb-4"],[1,"pb-2"],[1,"text-4xl","font-extrabold","text-primary-100","dark:text-primary-50","text-center","pb-8","pt-12"],[1,"container","mx-auto","px-4"],[1,"flex","flex-wrap","-mx-4"],[1,"w-full","md:w-1/2","lg:w-1/3","px-4","mb-8"],["id","chars-container"],["id","agreements-container"],["id","toast-add-cart","role","alert",1,"flex","grid","grid-flow-row","mr-2","items-center","w-auto","max-w-xs","p-4","text-gray-500","bg-white","rounded-lg","shadow","dark:text-gray-400","dark:bg-gray-800","fixed","top-1/2","right-0","z-50","justify-center"],[3,"productOff","prodSpec","images","cartSelection"],[1,"fixed","w-fit","top-1/2","left-1/2","z-50",3,"message"],["target","_blank",1,"cursor-pointer","font-medium","text-primary-100","dark:text-primary-50","hover:underline",3,"click"],["id","chars-button","aria-current","page",1,"inline-block","p-4","rounded-t-lg","hover:text-primary-50","hover:border-primary-50",3,"click"],["id","attach-button",1,"inline-block","p-4","rounded-t-lg","hover:text-primary-50","hover:border-primary-50",3,"click"],["id","agreements-button",1,"inline-block","p-4","rounded-t-lg","hover:text-primary-50","hover:border-primary-50",3,"click"],["id","relationships-button",1,"inline-block","p-4","rounded-t-lg","hover:text-primary-50","hover:border-primary-50",3,"click"],["type","button",1,"hidden","md:flex","w-fit","m-2","text-white","bg-blue-700","hover:bg-blue-800","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center","dark:bg-blue-600","dark:hover:bg-blue-700","dark:focus:ring-blue-800",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 18 21",1,"w-3.5","h-3.5","me-2"],["d","M15 12a1 1 0 0 0 .962-.726l2-7A1 1 0 0 0 17 3H3.77L3.175.745A1 1 0 0 0 2.208 0H1a1 1 0 0 0 0 2h.438l.6 2.255v.019l2 7 .746 2.986A3 3 0 1 0 9 17a2.966 2.966 0 0 0-.184-1h2.368c-.118.32-.18.659-.184 1a3 3 0 1 0 3-3H6.78l-.5-2H15Z"],["type","button",1,"flex","md:hidden","justify-end","w-fit","m-2","text-white","bg-blue-700","hover:bg-blue-800","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center","dark:bg-blue-600","dark:hover:bg-blue-700","dark:focus:ring-blue-800",3,"click","disabled","ngClass"],[1,"text-xl","font-semibold","tracking-tight","text-primary-100","dark:text-primary-50"],[1,"pl-4","dark:text-gray-200"],[1,"text-gray-800","dark:text-gray-200","text-wrap","break-all",3,"data"],[1,"border","border-2","rounded-lg","shadow","bg-white","dark:bg-secondary-200","shadow-md","p-8","h-full",3,"ngClass"],[1,"text-2xl","font-bold","mb-4","dark:text-white"],[1,"flex","justify-between"],[1,"text-xs","font-small","md:font-medium","inline-flex","items-center","px-2.5","py-0.5","rounded-md","mb-2","bg-gray-400","dark:bg-gray-700","dark:text-white","text-gray-900"],[1,"fa-2xl","text-primary-100","align-middle",3,"icon"],["target","_blank",1,"mb-2","font-small","md:font-medium","pl-4","text-primary-100",3,"href"],[1,"text-xs","font-small","md:font-medium","inline-flex","items-center","px-2.5","py-0.5","rounded-md","mb-2","bg-green-300","text-green-700"],[1,"text-xs","font-small","md:font-medium","inline-flex","items-center","px-2.5","py-0.5","rounded-md","mb-2","bg-green-500","text-white"],[1,"fa-2xl","text-gray-600","align-middle",3,"icon"],[1,"grid","grid-flow-row","gap-4","lg:grid-cols-2","lg:auto-cols-auto","justify-items-center","p-2"],[1,"inline-flex","items-center","justify-center","w-full"],[1,"mx-auto","bg-white","border","border-gray-200","dark:bg-secondary-200","dark:border-gray-800","rounded-lg","shadow","w-full","p-4"],[1,"flex","justify-start","mb-2"],[1,"text-gray-900","dark:text-white","text-3xl","font-extrabold","mb-2"],[1,"dark:text-gray-200","w-full","p-4","text-wrap","break-all",3,"data"],[1,"mx-auto","bg-white","border","border-gray-200","rounded-lg","shadow","w-full"],[1,"bg-blue-500","rounded-t-lg","w-full"],[1,"flex","justify-center","mb-2","p-6","text-2xl","font-bold","tracking-tight","text-gray-900"],[1,"flex","justify-center","mb-2","p-4","font-normal","text-gray-700"],[1,"mx-auto","bg-white","border","border-gray-200","dark:bg-secondary-200","dark:border-gray-800","rounded-lg","shadow","w-full"],[1,"mx-auto","bg-white","dark:bg-secondary-200","dark:border-gray-800","border","border-gray-200","rounded-lg","shadow","w-full"],[1,"bg-green-500","rounded-t-lg","w-full","text-wrap","break-all"],[1,"flex","justify-center","mb-2","p-6","text-2xl","font-bold","tracking-tight","text-gray-900","w-full"],[1,"pl-4","pr-4"],[1,"bg-yellow-300","rounded-t-lg","w-full"],[1,"flex","justify-center","mb-2","p-6","text-2xl","font-bold","tracking-tight","text-gray-900","text-wrap","break-all"],[1,"flex","justify-center","mb-4","p-6","text-2xl","font-bold","tracking-tight","text-gray-900","text-wrap","break-all"],[1,"flex","justify-center","mb-2","font-normal","text-gray-700","dark:text-white"],[1,"text-4xl","font-extrabold","text-primary-100","text-center","pb-8","pt-12","dark:text-primary-50"],[1,"flex","justify-center","items-center","w-full"],[1,"border","border-gray-200","rounded-lg","shadow","bg-white","dark:bg-secondary-200","dark:border-gray-800","shadow-md","p-8","h-full"],[1,"flex","items-center","pl-4"],["disabled","","checked","","id","disabled-checked-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","dark:bg-gray-600","dark:border-gray-800","rounded-full","focus:ring-blue-500","focus:ring-2"],["for","disabled-checked-checkbox",1,"ms-2","text-sm","font-medium","text-gray-700","dark:text-gray-200","dark:bg-secondary-200","dark:border-gray-800","text-wrap","break-all"],["disabled","","id","disabled-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","dark:bg-gray-600","dark:border-gray-800","border-gray-300","rounded-full","focus:ring-blue-500","focus:ring-2"],["for","disabled-checked-checkbox",1,"ms-2","text-sm","font-medium","text-gray-700","dark:text-gray-200","text-wrap","break-all"],["role","alert",1,"flex","items-center","w-1/2","p-4","mb-4","text-sm","text-primary-100","rounded-lg","bg-white","border","border-gray-200","shadow-md","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"sr-only"],[1,"text-center"],["id","attach-container",1,"container","mx-auto","px-4"],[1,"border","border-gray-200","rounded-lg","shadow","bg-white","dark:bg-secondary-200","dark:border-gray-800","shadow-md","p-8","h-full","grid","grid-cols-80/20","pb-4","h-1/4"],[1,"flex","justify-start"],[1,"flex","justify-end"],[1,"fa-xl","cursor-pointer","text-primary-100","align-middle",3,"click","icon"],["role","alert",1,"flex","items-center","w-full","md:w-1/2","p-4","mb-4","text-sm","text-primary-100","rounded-lg","bg-white","border","border-gray-200","shadow-md","dark:bg-secondary-200","dark:text-primary-50"],[1,"border","border-gray-200","rounded-lg","shadow","bg-white","dark:bg-secondary-200","dark:border-gray-800","p-8"],[1,"grid","grid-cols-80/20","pb-4","h-1/4"],["id","terms-markdown",1,"line-clamp-5"],[1,"text-lg","font-normal","text-gray-700","dark:text-gray-200","mb-4","text-wrap","break-all",3,"data"],[1,"mt-4","text-blue-500","focus:outline-none"],[1,"mt-4","text-blue-500","focus:outline-none",3,"click"],[1,"text-4xl","font-extrabold","text-primary-100","text-center","pb-8","pt-12"],[1,"mb-2","pl-4","font-normal","text-gray-700"],["id","relationships-container",1,"container","mx-auto","px-4"],[1,"mb-2","font-normal","pl-4","text-gray-700","dark:text-gray-200"],[1,"flex","items-center","justify-center"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 18 20",1,"w-[18px]","h-[18px]","text-gray-800","dark:text-white","mr-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M6 15a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm0 0h8m-8 0-1-4m9 4a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-9-4h10l2-7H3m2 7L3 4m0 0-.792-3H1"],[1,"text-sm","font-normal"],[1,"flex","items-center","ms-auto","space-x-2","rtl:space-x-reverse","p-1.5"],["type","button",1,"px-3","py-2","text-xs","font-medium","text-center","text-gray-400","hover:text-gray-900","rounded-lg","focus:ring-2","focus:ring-gray-300","p-1.5","hover:bg-gray-100","dark:bg-gray-800","dark:text-white","dark:border-gray-600","dark:hover:bg-gray-700","dark:hover:border-gray-600","dark:focus:ring-gray-700",3,"click"],["type","button","data-dismiss-target","#toast-add-cart","aria-label","Close",1,"ms-auto","-mx-1.5","-my-1.5","bg-white","text-gray-400","hover:text-gray-900","rounded-lg","focus:ring-2","focus:ring-gray-300","p-1.5","hover:bg-gray-100","inline-flex","items-center","justify-center","h-8","w-8","dark:text-gray-500","dark:hover:text-white","dark:bg-gray-800","dark:hover:bg-gray-700",3,"click"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-3","h-3"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"],[1,"flex","w-full","mt-2","rounded-full","h-2.5","dark:bg-gray-700"],["id","progress-bar",1,"flex","bg-green-600","h-2.5","rounded-full","dark:bg-green-500","transition-width","delay-200","duration-3000","ease-out",2,"width","0px"]],template:function(a,t){if(1&a){const i=j();o(0,"div",5)(1,"div",6)(2,"nav",7)(3,"ol",8)(4,"li",9)(5,"button",10),C("click",function(){return y(i),b(t.back())}),w(),o(6,"svg",11),v(7,"path",12),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",13)(11,"div",14),w(),o(12,"svg",15),v(13,"path",16),n(),O(),o(14,"span",17),f(15),m(16,"translate"),n()()()()()(),o(17,"div",18)(18,"div",19),v(19,"img",20),n(),o(20,"div",21)(21,"div",22)(22,"h5",23),f(23),n()(),o(24,"div",24),v(25,"markdown",25),n(),o(26,"div",26),R(27,FP3,5,4,"div",27),o(28,"div",28),f(29),n()(),o(30,"div",29),c1(31,kP3,1,1,"bae-badge",30,Ve),o(33,"a",31),v(34,"fa-icon",32),R(35,SP3,1,0)(36,NP3,1,0)(37,DP3,1,0),n()()(),o(38,"div",33)(39,"div",34),v(40,"div",35)(41,"img",36),n()()(),o(42,"div",37)(43,"div",38)(44,"ul",39)(45,"li",40)(46,"button",41),C("click",function(){return y(i),b(t.goToDetails(!0))}),f(47),m(48,"translate"),n()(),R(49,TP3,4,3,"li",40)(50,EP3,4,3,"li",40)(51,AP3,4,3,"li",40)(52,PP3,4,3,"li",40),n(),R(53,RP3,5,5,"button",42),n(),R(54,BP3,5,5,"button",43),n(),o(55,"div",44)(56,"div",45)(57,"div",46)(58,"h2",47,0),f(60,"Description"),n(),v(61,"markdown",25),R(62,IP3,6,3,"div",48)(63,jP3,6,3,"div",48),o(64,"h2",49),f(65),m(66,"translate"),n(),o(67,"div",50)(68,"div",51),c1(69,QP3,9,4,"div",52,Ve),n()(),o(71,"h2",49),f(72,"Product pricing"),n(),R(73,sR3,2,1),n(),R(74,vR3,9,1,"div",53)(75,zR3,8,1)(76,xR3,4,2,"div",54)(77,DR3,7,0),n()(),R(78,TR3,19,9,"div",55)(79,ER3,1,4,"cart-card",56)(80,AR3,1,1,"error-message",57),n()}if(2&a){let i,l;s(8),V(" ",_(9,34,"PRODUCT_DETAILS._back")," "),s(7),H(_(16,36,"PRODUCT_DETAILS._details")),s(4),D1("src",t.getProductImage(),h2),s(4),H(null==t.productOff?null:t.productOff.name),s(2),k("data",null==t.productOff?null:t.productOff.description),s(2),S(27,null!=t.orgInfo?27:-1),s(2),V("V: ",(null==t.productOff?null:t.productOff.version)||"latest",""),s(2),a1(t.categories),s(2),k("ngClass",1==t.complianceLevel?"bg-red-200 text-red-700":2==t.complianceLevel?"bg-yellow-200 text-yellow-700":"bg-green-200 text-green-700"),s(),k("icon",t.faAtom)("ngClass",1==t.complianceLevel?"text-red-700":2==t.complianceLevel?"text-yellow-700":"text-green-700"),s(),S(35,1==t.complianceLevel?35:2==t.complianceLevel?36:37),s(5),Xe("background-image: url(",t.getProductImage(),");filter: blur(20px);"),s(),D1("src",t.getProductImage(),h2),s(6),V(" ",_(48,38,"PRODUCT_DETAILS._details")," "),s(2),S(49,null!=t.prodSpec.productSpecCharacteristic&&t.prodSpec.productSpecCharacteristic.length>0?49:-1),s(),S(50,t.attatchments.length>0?50:-1),s(),S(51,null!=t.productOff&&null!=t.productOff.productOfferingTerm&&null!=(i=t.productOff.productOfferingTerm.at(0))&&i.name||null!=t.productOff&&t.productOff.serviceLevelAgreement?51:-1),s(),S(52,null!=t.prodSpec.productSpecificationRelationship&&t.prodSpec.productSpecificationRelationship.length>0?52:-1),s(),S(53,t.check_logged?53:-1),s(),S(54,t.check_logged?54:-1),s(7),k("data",t.prodSpec.description),s(),S(62,t.serviceSpecs.length>0?62:-1),s(),S(63,t.resourceSpecs.length>0?63:-1),s(2),H(_(66,40,"CARD._comp_profile")),s(4),a1(t.complianceProf),s(4),S(73,null!=(null==t.productOff?null:t.productOff.productOfferingPrice)?73:-1),s(),S(74,null!=t.prodSpec.productSpecCharacteristic&&t.prodChars.length>0?74:-1),s(),S(75,t.attatchments.length>0?75:-1),s(),S(76,null!=t.productOff&&null!=t.productOff.productOfferingTerm&&null!=(l=t.productOff.productOfferingTerm.at(0))&&l.name||null!=t.productOff&&t.productOff.serviceLevelAgreement?76:-1),s(),S(77,null!=t.prodSpec.productSpecificationRelationship&&t.prodSpec.productSpecificationRelationship.length>0?77:-1),s(),S(78,t.toastVisibility?78:-1),s(),S(79,t.cartSelection?79:-1),s(),S(80,t.showError?80:-1)}},dependencies:[k2,B4,_4,RC,C4,ih1,X1],styles:[".container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:auto;background-size:cover;background-repeat:no-repeat;background-position:center}"]})}return c})();const RR3=(c,r)=>r.id;function BR3(c,r){if(1&c){const e=j();o(0,"div",21),C("click",function(t){return y(e),b(t.stopPropagation())}),o(1,"button",22),C("click",function(){y(e);const t=h();return b(t.showDrawer=!t.showDrawer)}),w(),o(2,"svg",23),v(3,"path",24),n(),O(),o(4,"span",25),f(5,"Close menu"),n()(),v(6,"bae-categories-filter",26),n()}if(2&c){const e=h();k("ngClass",e.showDrawer?"backdrop-blur-sm":""),s(6),k("catalogId",e.catalog.id)}}function OR3(c,r){1&c&&v(0,"bae-categories-filter",27),2&c&&k("catalogId",h().catalog.id)}function IR3(c,r){1&c&&(o(0,"div",20),w(),o(1,"svg",28),v(2,"path",29)(3,"path",30),n(),O(),o(4,"span",25),f(5,"Loading..."),n()())}function UR3(c,r){1&c&&v(0,"bae-off-card",32),2&c&&k("productOff",r.$implicit)}function jR3(c,r){1&c&&(o(0,"div",33),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"DASHBOARD._not_found")))}function $R3(c,r){if(1&c){const e=j();o(0,"div",34)(1,"button",35),C("click",function(){return y(e),b(h(3).next())}),f(2," Load more "),w(),o(3,"svg",36),v(4,"path",37),n()()()}}function YR3(c,r){1&c&&R(0,$R3,5,0,"div",34),2&c&&S(0,h(2).page_check?0:-1)}function GR3(c,r){1&c&&(o(0,"div",38),w(),o(1,"svg",28),v(2,"path",29)(3,"path",30),n(),O(),o(4,"span",25),f(5,"Loading..."),n()())}function qR3(c,r){if(1&c&&(o(0,"div",31),c1(1,UR3,1,1,"bae-off-card",32,RR3,!1,jR3,3,3,"div",33),n(),R(4,YR3,1,1)(5,GR3,6,0)),2&c){const e=h();s(),a1(e.products),s(3),S(4,e.loading_more?5:4)}}let WR3=(()=>{class c{constructor(e,a,t,i,l,d,u,p){this.route=e,this.api=a,this.priceService=t,this.cdr=i,this.eventMessage=l,this.localStorage=d,this.router=u,this.paginationService=p,this.products=[],this.nextProducts=[],this.loading=!1,this.loading_more=!1,this.page_check=!0,this.page=0,this.PRODUCT_LIMIT=m1.PRODUCT_LIMIT,this.showDrawer=!1,this.searchEnabled=m1.SEARCH_ENABLED}ngOnInit(){var e=this;return M(function*(){S1(),e.id=e.route.snapshot.paramMap.get("id"),e.api.getCatalog(e.id).then(a=>{e.catalog=a,e.cdr.detectChanges()}),yield e.getProducts(!1),e.eventMessage.messages$.subscribe(a=>{("AddedFilter"===a.type||"RemovedFilter"===a.type)&&e.getProducts(!1)}),console.log("Productos:"),console.log(e.products)})()}onClick(){1==this.showDrawer&&(this.showDrawer=!1,this.cdr.detectChanges())}goTo(e){this.router.navigate([e])}getProducts(e){var a=this;return M(function*(){let t=a.localStorage.getObject("selected_categories")||[];0==e&&(a.loading=!0),a.paginationService.getItemsPaginated(a.page,a.PRODUCT_LIMIT,e,a.products,a.nextProducts,{keywords:void 0,filters:t,catalogId:a.id},a.paginationService.getProductsByCatalog.bind(a.paginationService)).then(l=>{a.page_check=l.page_check,a.products=l.items,a.nextProducts=l.nextItems,a.page=l.page,a.loading=!1,a.loading_more=!1})})()}next(){var e=this;return M(function*(){yield e.getProducts(!0)})()}static#e=this.\u0275fac=function(a){return new(a||c)(B(j3),B(p1),B(M8),B(B1),B(e2),B(A1),B(Q1),B(L3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["app-search-catalog"]],hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},decls:26,vars:3,consts:[[1,"pr-8","pl-8","pb-8","pt-2"],[1,"pb-2"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-gray-800","dark:border-gray-700"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-700","hover:text-blue-600","dark:text-gray-400","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","md:ms-2","dark:text-gray-400"],[1,"flex"],["tabindex","-1","aria-labelledby","drawer-label",1,"fixed","h-screen","w-3/4","top-0","left-0","z-40","p-4","overflow-y-auto","bg-white","dark:bg-gray-800",3,"ngClass"],[1,"flex","flex-col","w-full","md:w-4/5","lg:w-3/4"],[1,"md:pl-5","content","pb-5","px-4","flex","items-center"],["type","button",1,"md:hidden","px-2","w-fit","h-fit","py-2","text-sm","font-medium","text-center","inline-flex","items-center","dark:text-white","bg-white","text-primary-100","border","border-primary-100","rounded-lg","dark:bg-primary-100","dark:border-secondary-200",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 17 14",1,"w-4","h-4","mr-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 1h15M1 7h15M1 13h15"],["role","status",1,"h-full","flex","justify-center","align-middle"],["tabindex","-1","aria-labelledby","drawer-label",1,"fixed","h-screen","w-3/4","top-0","left-0","z-40","p-4","overflow-y-auto","bg-white","dark:bg-gray-800",3,"click","ngClass"],["type","button","aria-controls","drawer-example",1,"text-gray-400","bg-transparent","hover:bg-gray-200","hover:text-gray-900","rounded-lg","text-sm","w-8","h-8","absolute","top-2.5","end-2.5","flex","items-center","justify-center","dark:hover:bg-gray-600","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-3","h-3"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"],[1,"sr-only"],[3,"catalogId"],[1,"hidden","md:block","w-1/2","md:2/5","lg:w-1/3","xl:1/4",3,"catalogId"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"md:pl-5","grid","grid-cols-1","place-items-center","lg:grid-cols-2","xl:grid-cols-3"],[1,"w-full","h-full","p-2",3,"productOff"],[1,"min-h-19","dark:text-gray-600","text-center"],[1,"flex","pb-12","justify-center","align-middle"],[1,"flex","cursor-pointer","items-center","justify-center","px-3","h-8","text-sm","font-medium","text-gray-500","bg-white","border","border-gray-300","rounded-lg","hover:bg-gray-100","hover:text-gray-700","dark:bg-gray-800","dark:border-gray-700","dark:text-gray-400","dark:hover:bg-gray-700","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle"]],template:function(a,t){1&a&&(o(0,"div",0)(1,"div",1)(2,"nav",2)(3,"ol",3)(4,"li",4)(5,"button",5),C("click",function(){return t.goTo("/catalogues")}),w(),o(6,"svg",6),v(7,"path",7),n(),f(8," All catalogues "),n()(),O(),o(9,"li",8)(10,"div",9),w(),o(11,"svg",10),v(12,"path",11),n(),O(),o(13,"span",12),f(14),n()()()()()(),o(15,"section",13),R(16,BR3,7,2,"div",14)(17,OR3,1,1),o(18,"div",15)(19,"section",16)(20,"button",17),C("click",function(l){return t.showDrawer=!t.showDrawer,l.stopPropagation()}),w(),o(21,"svg",18),v(22,"path",19),n(),f(23," Categories "),n()(),R(24,IR3,6,0,"div",20)(25,qR3,6,2),n()()()),2&a&&(s(14),H(t.catalog.name),s(2),S(16,t.showDrawer?16:17),s(8),S(24,t.loading?24:25))},dependencies:[k2,fh1,OC,X1]})}return c})();const dh1=(c,r)=>r.id;function ZR3(c,r){1&c&&(o(0,"div",4),w(),o(1,"svg",5),v(2,"path",6)(3,"path",7),n(),O(),o(4,"span",8),f(5,"Loading..."),n()())}function KR3(c,r){if(1&c&&(o(0,"span",17),f(1),n()),2&c){const e=r.$implicit;s(),H(e.name)}}function QR3(c,r){1&c&&(o(0,"span",17),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"CATALOGS._no_cat")))}function JR3(c,r){if(1&c){const e=j();o(0,"div",11),C("click",function(){const t=y(e).$implicit;return b(h(2).goToCatalogSearch(t.id))}),o(1,"div",12)(2,"h5",13),f(3),n(),v(4,"markdown",14),m(5,"translate"),v(6,"hr",15),o(7,"div",16),c1(8,KR3,2,1,"span",17,dh1,!1,QR3,3,3,"span",17),n()()()}if(2&c){const e=r.$implicit;s(3),H(e.name),s(),k("data",e.description?e.description:_(5,3,"CATALOGS._no_desc")),s(4),a1(e.category)}}function XR3(c,r){if(1&c&&(o(0,"div",9),c1(1,JR3,11,5,"div",10,dh1),n()),2&c){const e=h();s(),a1(e.catalogs)}}function eB3(c,r){if(1&c){const e=j();o(0,"div",18)(1,"button",19),C("click",function(){return y(e),b(h(2).next())}),f(2," Load more "),w(),o(3,"svg",20),v(4,"path",21),n()()()}}function cB3(c,r){1&c&&R(0,eB3,5,0,"div",18),2&c&&S(0,h().page_check?0:-1)}function aB3(c,r){1&c&&(o(0,"div",22),w(),o(1,"svg",5),v(2,"path",6)(3,"path",7),n(),O(),o(4,"span",8),f(5,"Loading..."),n()())}let rB3=(()=>{class c{constructor(e,a,t,i){this.router=e,this.api=a,this.cdr=t,this.paginationService=i,this.catalogs=[],this.nextCatalogs=[],this.page=0,this.CATALOG_LIMIT=m1.CATALOG_LIMIT,this.loading=!1,this.loading_more=!1,this.page_check=!0,this.filter=void 0,this.searchField=new u1}ngOnInit(){this.loading=!0,this.getCatalogs(!1);let e=document.querySelector("[type=search]");e?.addEventListener("input",a=>{console.log("Input updated"),""==this.searchField.value&&(this.filter=void 0,this.getCatalogs(!1))})}getCatalogs(e){var a=this;return M(function*(){0==e&&(a.loading=!0),a.paginationService.getItemsPaginated(a.page,a.CATALOG_LIMIT,e,a.catalogs,a.nextCatalogs,{keywords:a.filter},a.api.getCatalogs.bind(a.api)).then(i=>{a.page_check=i.page_check,a.catalogs=i.items,a.nextCatalogs=i.nextItems,a.page=i.page,a.loading=!1,a.loading_more=!1})})()}filterCatalogs(){this.filter=this.searchField.value,this.page=0,this.getCatalogs(!1)}goToCatalogSearch(e){this.router.navigate(["/search/catalogue",e])}next(){var e=this;return M(function*(){yield e.getCatalogs(!0)})()}static#e=this.\u0275fac=function(a){return new(a||c)(B(Q1),B(p1),B(B1),B(L3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["app-catalogs"]],decls:11,vars:5,consts:[[1,"container","mx-auto","pt-2","mb-8"],[1,"mb-2","text-center","mt-4","text-4xl","font-extrabold","leading-none","tracking-tight","text-gray-900","md:text-4xl","lg:text-5xl","dark:text-white","w-full"],[1,"underline","underline-offset-3","decoration-8","decoration-primary-100","dark:decoration-primary-100"],[1,"mb-8","text-lg","font-normal","text-gray-500","lg:text-xl","sm:px-16","xl:px-48","dark:text-secondary-50","text-center"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"sr-only"],[1,"w-full","grid","grid-cols-2","gap-4","sm:grid-cols-3","lg:grid-cols-4"],[1,"block","cursor-pointer","rounded-lg","bg-cover",2,"background-image","url(assets/logos/dome-logo-element-colour.png)"],[1,"block","cursor-pointer","rounded-lg","bg-cover",2,"background-image","url(assets/logos/dome-logo-element-colour.png)",3,"click"],[1,"block","w-full","h-full","p-6","bg-opacity-100","bg-secondary-50","rounded-lg","dark:bg-secondary-100","bg-secondary-50/90","dark:bg-secondary-100/90","bg-cover"],[1,"text-2xl","font-bold","tracking-tight","text-primary-100","dark:text-white","text-wrap","break-all"],[1,"bg-gray-50","text-wrap","break-all","dark:bg-secondary-300","dark:text-white","text-gray-900",3,"data"],[1,"h-px","my-1","bg-primary-100","border-0","dark:bg-primary-100"],[1,""],[1,"inline-block","bg-blue-300","text-primary-100","text-xs","font-bold","me-2","px-2.5","py-0.5","rounded-full","w-fit","text-wrap","break-all"],[1,"flex","pt-8","justify-center","align-middle"],[1,"flex","cursor-pointer","items-center","justify-center","px-3","h-8","text-sm","font-medium","text-gray-500","bg-white","border","border-gray-300","rounded-lg","hover:bg-gray-100","hover:text-gray-700","dark:bg-gray-800","dark:border-gray-700","dark:text-gray-400","dark:hover:bg-gray-700","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],["role","status",1,"w-full","h-full","pt-8","flex","justify-center","align-middle"]],template:function(a,t){1&a&&(o(0,"div",0)(1,"h1",1)(2,"span",2),f(3),m(4,"translate"),n()(),o(5,"p",3),f(6,"Choose between our Catalogues"),n(),R(7,ZR3,6,0,"div",4)(8,XR3,3,0)(9,cB3,1,1)(10,aB3,6,0),n()),2&a&&(s(3),H(_(4,3,"CATALOGS._all_catalogs")),s(4),S(7,t.loading?7:8),s(2),S(9,t.loading_more?10:9))},dependencies:[_4,X1]})}return c})();const uh1=(c,r)=>r.id,tB3=(c,r)=>r.value;function iB3(c,r){1&c&&(o(0,"div",21),w(),o(1,"svg",26),v(2,"path",27)(3,"path",28),n(),O(),o(4,"span",29),f(5,"Loading..."),n()())}function oB3(c,r){if(1&c){const e=j();o(0,"tr",35),C("click",function(){const t=y(e).$index;return b(h(3).selectBill(t))}),o(1,"td",36),f(2),n(),o(3,"td",36),f(4),n(),o(5,"td",36),f(6),n()()}if(2&c){const e=r.$implicit;k("ngClass",1==e.selected?"bg-primary-30":"bg-white"),s(2),V(" ",e.email," "),s(2),r5(" ",e.postalAddress.street,", ",e.postalAddress.postCode," (",e.postalAddress.city,") ",e.postalAddress.stateOrProvince," "),s(2),V(" ",e.telephoneNumber," ")}}function nB3(c,r){if(1&c&&(o(0,"div",30)(1,"table",31)(2,"thead",32)(3,"tr")(4,"th",33),f(5),m(6,"translate"),n(),o(7,"th",33),f(8),m(9,"translate"),n(),o(10,"th",33),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,oB3,7,7,"tr",34,uh1),n()()()),2&c){const e=h(2);s(5),V(" ",_(6,3,"SHOPPING_CART._email")," "),s(3),V(" ",_(9,5,"SHOPPING_CART._postalAddress")," "),s(3),V(" ",_(12,7,"SHOPPING_CART._phone")," "),s(3),a1(e.billing_accounts)}}function sB3(c,r){1&c&&(o(0,"div",37)(1,"p",38),f(2),m(3,"translate"),o(4,"a",39),f(5),m(6,"translate"),w(),o(7,"svg",40),v(8,"path",41),n()()()()),2&c&&(s(2),V("",_(3,2,"SHOPPING_CART._billing_check")," "),s(3),V(" ",_(6,4,"SHOPPING_CART._click_here")," "))}function lB3(c,r){1&c&&R(0,nB3,16,9,"div",30)(1,sB3,9,6),2&c&&S(0,h().billing_accounts.length>0?0:1)}function fB3(c,r){if(1&c&&(o(0,"div",52)(1,"div",53)(2,"h5",54),f(3),n()(),o(4,"p",55)(5,"b",56),f(6),n(),f(7),n(),o(8,"p",55),f(9),n(),o(10,"p",57),f(11),n()()),2&c){const e=h().$implicit;s(3),H(null==e.options.pricing?null:e.options.pricing.name),s(3),H(null==e.options.pricing||null==e.options.pricing.price?null:e.options.pricing.price.value),s(),V(" ",null==e.options.pricing||null==e.options.pricing.price?null:e.options.pricing.price.unit,""),s(2),V("/",null==e.options.pricing?null:e.options.pricing.recurringChargePeriodType,""),s(2),H(null==e.options.pricing?null:e.options.pricing.description)}}function dB3(c,r){if(1&c&&(o(0,"div",52)(1,"div",58)(2,"h5",59),f(3),n()(),o(4,"p",55)(5,"b",56),f(6),n(),f(7),n(),o(8,"p",55),f(9),n(),o(10,"p",57),f(11),n()()),2&c){const e=h().$implicit;s(3),H(null==e.options.pricing?null:e.options.pricing.name),s(3),H(null==e.options.pricing||null==e.options.pricing.price?null:e.options.pricing.price.value),s(),V(" ",null==e.options.pricing||null==e.options.pricing.price?null:e.options.pricing.price.unit,""),s(2),V("/",null==e.options.pricing||null==e.options.pricing.unitOfMeasure?null:e.options.pricing.unitOfMeasure.units,""),s(2),H(null==e.options.pricing?null:e.options.pricing.description)}}function uB3(c,r){if(1&c&&(o(0,"div",52)(1,"div",60)(2,"h5",59),f(3),n()(),o(4,"p",55)(5,"b",56),f(6),n(),f(7),n(),o(8,"p",57),f(9),n()()),2&c){const e=h().$implicit;s(3),H(null==e.options.pricing?null:e.options.pricing.name),s(3),H(null==e.options.pricing||null==e.options.pricing.price?null:e.options.pricing.price.value),s(),V(" ",null==e.options.pricing||null==e.options.pricing.price?null:e.options.pricing.price.unit,""),s(2),H(null==e.options.pricing?null:e.options.pricing.description)}}function hB3(c,r){if(1&c&&(o(0,"div",63)(1,"h5",20),f(2),n(),o(3,"div",64),v(4,"input",65),o(5,"label",66),f(6),n()()()),2&c){const e=r.$implicit;s(2),V("",e.characteristic.name,":"),s(4),H(null==e.value?null:e.value.value)}}function mB3(c,r){if(1&c&&(o(0,"h5",50),f(1,"Selected characteristics:"),n(),o(2,"div",61)(3,"div",62),c1(4,hB3,7,2,"div",63,tB3),n()()),2&c){const e=h().$implicit;s(4),a1(e.options.characteristics)}}function _B3(c,r){if(1&c){const e=j();o(0,"button",42),C("click",function(){const t=y(e).$implicit;return b(h().clickDropdown(t.id))}),f(1),w(),o(2,"svg",43),v(3,"path",44),n()(),O(),o(4,"div",45)(5,"div",46)(6,"h5",47),f(7),n(),o(8,"div",48),v(9,"img",49),n()(),v(10,"hr",15),o(11,"h5",50),f(12,"Selected price plan:"),n(),o(13,"div",51),R(14,fB3,12,5,"div",52)(15,dB3,12,5)(16,uB3,10,4),n(),R(17,mB3,6,0),n()}if(2&c){const e=r.$implicit;s(),V(" ",e.name," "),s(3),k("id",e.id),s(3),H(e.name),s(2),D1("src",e.image,h2),s(5),S(14,"recurring"==(null==e.options.pricing?null:e.options.pricing.priceType)?14:"usage"==(null==e.options.pricing?null:e.options.pricing.priceType)?15:16),s(3),S(17,e.options.characteristics&&e.options.characteristics.length>0?17:-1)}}class Nl{static#e=this.BASE_URL=m1.BASE_URL;constructor(r,e,a,t,i,l,d,u){this.eventMessage=r,this.api=e,this.account=a,this.cartService=t,this.cdr=i,this.localStorage=l,this.orderService=d,this.router=u,this.faCartShopping=ya,this.TAX_RATE=m1.TAX_RATE,this.items=[],this.showBackDrop=!0,this.billing_accounts=[],this.loading=!1,this.relatedParty=""}ngOnInit(){let r=this.localStorage.getObject("login_items");if(r.logged_as==r.id)this.relatedParty=r.partyId;else{let e=r.organizations.find(a=>a.id==r.logged_as);console.log("loggedorg"),console.log(e),this.relatedParty=e.partyId}this.loading=!0,this.showBackDrop=!0,this.cartService.getShoppingCart().then(e=>{console.log("---CARRITO API---"),console.log(e),this.items=e,this.cdr.detectChanges(),this.getTotalPrice(),console.log("------------------"),S1()}),this.account.getBillingAccount().then(e=>{for(let a=0;aconsole.log("deleted")),this.eventMessage.emitRemovedCartItem(r)}removeClass(r,e){r.className=(" "+r.className+" ").replace(" "+e+" "," ").replace(/^\s+|\s+$/g,"")}addClass(r,e){r.className+=" "+e}clickDropdown(r){let e=document.getElementById(r);null!=e&&(e.className.match("hidden")?this.removeClass(e,"hidden"):this.addClass(e,"hidden"))}selectBill(r){for(let e=0;e{console.log(t),console.log("PROD ORDER DONE"),r.cartService.emptyShoppingCart().subscribe({next:i=>{console.log(i),console.log("EMPTY")},error:i=>{console.error("There was an error while updating!",i)}}),r.goToInventory()},error:t=>{console.error("There was an error while updating!",t)}})})()}goToInventory(){this.router.navigate(["/product-inventory"])}static#c=this.\u0275fac=function(e){return new(e||Nl)(B(e2),B(p1),B(O2),B(l3),B(B1),B(A1),B(Y3),B(Q1))};static#a=this.\u0275cmp=V1({type:Nl,selectors:[["app-shopping-cart"]],decls:46,vars:22,consts:[[1,"container","mx-auto","pt-2"],[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-gray-800","dark:border-gray-700"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-700","hover:text-blue-600","dark:text-gray-400","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","md:ms-2","dark:text-gray-400"],[1,"w-full","h-fit","bg-secondary-50","rounded-lg","dark:border-gray-700","border-secondary-50","border"],[1,"md:text-3xl","lg:text-4xl","m-4","font-semibold","tracking-tight","text-primary-100","dark:text-primary-100"],[1,"h-px","mr-4","ml-4","bg-primary-100","border-0"],[1,"mt-4","m-4"],[1,"mb-5","w-full","justify-start"],["for","large-input",1,"w-full","md:text-lg","lg:text-xl","font-semibold","tracking-tight","text-primary-100","dark:text-primary-100","m-2"],["type","text","id","large-input",1,"w-full","p-4","text-gray-900","border","border-primary-100","rounded-lg","bg-gray-50","text-base","focus:border-primary-50","shadow-lg"],[1,"md:text-lg","lg:text-xl","font-semibold","tracking-tight","text-primary-100","dark:text-primary-100","m-2"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle"],[1,"flex","w-full","justify-end"],["type","button","href","https://dome-marketplace.eu/","target","_blank",1,"m-2","flex","w-fit","justify-center","items-center","py-3","px-5","text-base","font-medium","text-center","text-white","rounded-lg","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:ring-primary-300","dark:focus:ring-primary-900",3,"click"],["fill","currentColor","viewBox","0 0 20 20","xmlns","http://www.w3.org/2000/svg",1,"ml-2","-mr-1","w-5","h-5"],["fill-rule","evenodd","d","M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z","clip-rule","evenodd"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"sr-only"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500"],[1,"text-xs","text-gray-700","uppercase","bg-gray-50"],["scope","col",1,"px-6","py-3"],[1,"border-b","hover:bg-gray-200",3,"ngClass"],[1,"border-b","hover:bg-gray-200",3,"click","ngClass"],[1,"px-6","py-4"],[1,"z-10","mt-2","text-red-900","border","border-primary-100","rounded-lg","bg-gray-50","text-base","shadow-lg"],[1,"text-red-800","m-2"],["href","#",1,"ml-2","inline-flex","items-center","font-medium","text-primary-50","hover:underline"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"w-4","h-4","ms-2","rtl:rotate-180"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],["id","'dropButton'+idx","type","button",1,"w-full","mt-2","text-white","bg-primary-100","hover:bg-primary-100","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 10 6",1,"w-2.5","h-2.5","ms-3"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 4 4 4-4"],[1,"z-10","hidden","mt-2","text-gray-900","border","border-primary-100","rounded-lg","bg-gray-50","text-base","shadow-lg",3,"id"],[1,"grid","grid-cols-80/20","items-center","align-items-center","m-2"],[1,"md:text-xl","lg:text-2xl","font-semibold","tracking-tight","text-primary-100","dark:text-primary-100"],[1,"h-[50px]"],["alt","product image",1,"rounded-r-lg","h-[50px]",3,"src"],[1,"md:text-lg","lg:text-xl","font-semibold","tracking-tight","text-primary-100","dark:text-primary-100","m-2","mb-4"],[1,"flex","justify-center","m-2"],[1,"max-w-sm","bg-white","border","border-gray-200","rounded-lg","shadow","w-full"],[1,"bg-green-500","rounded-t-lg","w-full"],[1,"flex","justify-center","mb-2","p-6","text-2xl","font-bold","tracking-tight","text-gray-900","w-full"],[1,"flex","justify-center","font-normal","text-gray-700"],[1,"text-xl","mr-2"],[1,"flex","justify-center","mb-2","font-normal","text-gray-700"],[1,"bg-yellow-300","rounded-t-lg","w-full"],[1,"flex","justify-center","mb-2","p-6","text-2xl","font-bold","tracking-tight","text-gray-900"],[1,"bg-blue-500","rounded-t-lg","w-full"],[1,"flex","justify-center","mb-2"],[1,"grid","grid-flow-row","grid-cols-3","gap-4","w-3/4"],[1,"justify-start","bg-white","border","border-primary-100","rounded-lg","w-full"],[1,"flex","items-center","ml-8","mr-2","mb-2"],["disabled","","checked","","id","disabled-checked-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded-full","focus:ring-blue-500","dark:focus:ring-blue-600","dark:ring-offset-gray-800","focus:ring-2","dark:bg-gray-700","dark:border-gray-600"],["for","disabled-checked-checkbox",1,"ms-2","text-sm","font-medium","dark:text-gray-600"]],template:function(e,a){1&e&&(o(0,"div",0)(1,"div",1)(2,"nav",2)(3,"ol",3)(4,"li",4)(5,"a",5),C("click",function(){return a.goTo("/search")}),w(),o(6,"svg",6),v(7,"path",7),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",8)(11,"div",9),w(),o(12,"svg",10),v(13,"path",11),n(),O(),o(14,"span",12),f(15),m(16,"translate"),n()()()()()(),o(17,"div",13)(18,"h5",14),f(19),m(20,"translate"),n(),v(21,"hr",15),o(22,"form",16)(23,"div",17)(24,"label",18),f(25),m(26,"translate"),n(),v(27,"input",19),n(),o(28,"div",17)(29,"h5",20),f(30),m(31,"translate"),n(),R(32,iB3,6,0,"div",21)(33,lB3,2,1),n(),o(34,"div",17)(35,"h5",20),f(36),m(37,"translate"),n(),c1(38,_B3,18,6,null,null,uh1),n()(),o(40,"div",22)(41,"button",23),C("click",function(){return a.orderProduct()}),f(42),m(43,"translate"),w(),o(44,"svg",24),v(45,"path",25),n()()()()()),2&e&&(s(8),V(" ",_(9,8,"SHOPPING_CART._back")," "),s(7),H(_(16,10,"SHOPPING_CART._buy")),s(4),V("",_(20,12,"SHOPPING_CART._confirm"),":"),s(6),V("",_(26,14,"SHOPPING_CART._note"),":"),s(5),V("",_(31,16,"SHOPPING_CART._choose_bill"),":"),s(2),S(32,a.loading?32:33),s(4),V("",_(37,18,"SHOPPING_CART._cart"),":"),s(2),a1(a.items),s(4),V(" ",_(43,20,"SHOPPING_CART._buy")," "))},dependencies:[k2,I4,O4,Da,X1]})}const Dl=[{text:"\u{1f1fa}\u{1f1f8} +1 United States",code:"+1",flag:"\u{1f1fa}\u{1f1f8}",country:"US"},{text:"\u{1f1e8}\u{1f1e6} +1 Canada",code:"+1",flag:"\u{1f1e8}\u{1f1e6}",country:"CA"},{text:"\u{1f1f7}\u{1f1fa} +7 Russia",code:"+7",flag:"\u{1f1f7}\u{1f1fa}",country:"RU"},{text:"\u{1f1ea}\u{1f1ec} +20 Egypt",code:"+20",flag:"\u{1f1ea}\u{1f1ec}",country:"EG"},{text:"\u{1f1ff}\u{1f1e6} +27 South Africa",code:"+27",flag:"\u{1f1ff}\u{1f1e6}",country:"ZA"},{text:"\u{1f1ec}\u{1f1f7} +30 Greece",code:"+30",flag:"\u{1f1ec}\u{1f1f7}",country:"GR"},{text:"\u{1f1f3}\u{1f1f1} +31 Netherlands",code:"+31",flag:"\u{1f1f3}\u{1f1f1}",country:"NL"},{text:"\u{1f1e7}\u{1f1ea} +32 Belgium",code:"+32",flag:"\u{1f1e7}\u{1f1ea}",country:"BE"},{text:"\u{1f1eb}\u{1f1f7} +33 France",code:"+33",flag:"\u{1f1eb}\u{1f1f7}",country:"FR"},{text:"\u{1f1ea}\u{1f1f8} +34 Spain",code:"+34",flag:"\u{1f1ea}\u{1f1f8}",country:"ES"},{text:"\u{1f1ed}\u{1f1fa} +36 Hungary",code:"+36",flag:"\u{1f1ed}\u{1f1fa}",country:"HU"},{text:"\u{1f1ee}\u{1f1f9} +39 Italy",code:"+39",flag:"\u{1f1ee}\u{1f1f9}",country:"IT"},{text:"\u{1f1f7}\u{1f1f4} +40 Romania",code:"+40",flag:"\u{1f1f7}\u{1f1f4}",country:"RO"},{text:"\u{1f1e8}\u{1f1ed} +41 Switzerland",code:"+41",flag:"\u{1f1e8}\u{1f1ed}",country:"CH"},{text:"\u{1f1e6}\u{1f1f9} +43 Austria",code:"+43",flag:"\u{1f1e6}\u{1f1f9}",country:"AT"},{text:"\u{1f1ec}\u{1f1e7} +44 United Kingdom",code:"+44",flag:"\u{1f1ec}\u{1f1e7}",country:"GB"},{text:"\u{1f1e9}\u{1f1f0} +45 Denmark",code:"+45",flag:"\u{1f1e9}\u{1f1f0}",country:"DK"},{text:"\u{1f1f8}\u{1f1ea} +46 Sweden",code:"+46",flag:"\u{1f1f8}\u{1f1ea}",country:"SE"},{text:"\u{1f1f3}\u{1f1f4} +47 Norway",code:"+47",flag:"\u{1f1f3}\u{1f1f4}",country:"NO"},{text:"\u{1f1f5}\u{1f1f1} +48 Poland",code:"+48",flag:"\u{1f1f5}\u{1f1f1}",country:"PL"},{text:"\u{1f1e9}\u{1f1ea} +49 Germany",code:"+49",flag:"\u{1f1e9}\u{1f1ea}",country:"DE"},{text:"\u{1f1f5}\u{1f1ea} +51 Peru",code:"+51",flag:"\u{1f1f5}\u{1f1ea}",country:"PE"},{text:"\u{1f1f2}\u{1f1fd} +52 Mexico",code:"+52",flag:"\u{1f1f2}\u{1f1fd}",country:"MX"},{text:"\u{1f1e8}\u{1f1fa} +53 Cuba",code:"+53",flag:"\u{1f1e8}\u{1f1fa}",country:"CU"},{text:"\u{1f1e6}\u{1f1f7} +54 Argentina",code:"+54",flag:"\u{1f1e6}\u{1f1f7}",country:"AR"},{text:"\u{1f1e7}\u{1f1f7} +55 Brazil",code:"+55",flag:"\u{1f1e7}\u{1f1f7}",country:"BR"},{text:"\u{1f1e8}\u{1f1f1} +56 Chile",code:"+56",flag:"\u{1f1e8}\u{1f1f1}",country:"CL"},{text:"\u{1f1e8}\u{1f1f4} +57 Colombia",code:"+57",flag:"\u{1f1e8}\u{1f1f4}",country:"CO"},{text:"\u{1f1fb}\u{1f1ea} +58 Venezuela",code:"+58",flag:"\u{1f1fb}\u{1f1ea}",country:"VE"},{text:"\u{1f1f2}\u{1f1fe} +60 Malaysia",code:"+60",flag:"\u{1f1f2}\u{1f1fe}",country:"MY"},{text:"\u{1f1e6}\u{1f1fa} +61 Australia",code:"+61",flag:"\u{1f1e6}\u{1f1fa}",country:"AU"},{text:"\u{1f1ee}\u{1f1e9} +62 Indonesia",code:"+62",flag:"\u{1f1ee}\u{1f1e9}",country:"ID"},{text:"\u{1f1f5}\u{1f1ed} +63 Philippines",code:"+63",flag:"\u{1f1f5}\u{1f1ed}",country:"PH"},{text:"\u{1f1f3}\u{1f1ff} +64 New Zealand",code:"+64",flag:"\u{1f1f3}\u{1f1ff}",country:"NZ"},{text:"\u{1f1f8}\u{1f1ec} +65 Singapore",code:"+65",flag:"\u{1f1f8}\u{1f1ec}",country:"SG"},{text:"\u{1f1f9}\u{1f1ed} +66 Thailand",code:"+66",flag:"\u{1f1f9}\u{1f1ed}",country:"TH"},{text:"\u{1f1ef}\u{1f1f5} +81 Japan",code:"+81",flag:"\u{1f1ef}\u{1f1f5}",country:"JP"},{text:"\u{1f1f0}\u{1f1f7} +82 South Korea",code:"+82",flag:"\u{1f1f0}\u{1f1f7}",country:"KR"},{text:"\u{1f1fb}\u{1f1f3} +84 Vietnam",code:"+84",flag:"\u{1f1fb}\u{1f1f3}",country:"VN"},{text:"\u{1f1e8}\u{1f1f3} +86 China",code:"+86",flag:"\u{1f1e8}\u{1f1f3}",country:"CN"},{text:"\u{1f1f9}\u{1f1f7} +90 Turkey",code:"+90",flag:"\u{1f1f9}\u{1f1f7}",country:"TR"},{text:"\u{1f1ee}\u{1f1f3} +91 India",code:"+91",flag:"\u{1f1ee}\u{1f1f3}",country:"IN"},{text:"\u{1f1f5}\u{1f1f0} +92 Pakistan",code:"+92",flag:"\u{1f1f5}\u{1f1f0}",country:"PK"},{text:"\u{1f1e6}\u{1f1eb} +93 Afghanistan",code:"+93",flag:"\u{1f1e6}\u{1f1eb}",country:"AF"},{text:"\u{1f1f1}\u{1f1f0} +94 Sri Lanka",code:"+94",flag:"\u{1f1f1}\u{1f1f0}",country:"LK"},{text:"\u{1f1f2}\u{1f1f2} +95 Myanmar",code:"+95",flag:"\u{1f1f2}\u{1f1f2}",country:"MM"},{text:"\u{1f1ee}\u{1f1f7} +98 Iran",code:"+98",flag:"\u{1f1ee}\u{1f1f7}",country:"IR"},{text:"\u{1f1f2}\u{1f1e6} +212 Morocco",code:"+212",flag:"\u{1f1f2}\u{1f1e6}",country:"MA"},{text:"\u{1f1e9}\u{1f1ff} +213 Algeria",code:"+213",flag:"\u{1f1e9}\u{1f1ff}",country:"DZ"},{text:"\u{1f1f9}\u{1f1f3} +216 Tunisia",code:"+216",flag:"\u{1f1f9}\u{1f1f3}",country:"TN"},{text:"\u{1f1f1}\u{1f1fe} +218 Libya",code:"+218",flag:"\u{1f1f1}\u{1f1fe}",country:"LY"},{text:"\u{1f1ec}\u{1f1f2} +220 Gambia",code:"+220",flag:"\u{1f1ec}\u{1f1f2}",country:"GM"},{text:"\u{1f1f8}\u{1f1f3} +221 Senegal",code:"+221",flag:"\u{1f1f8}\u{1f1f3}",country:"SN"},{text:"\u{1f1f2}\u{1f1f7} +222 Mauritania",code:"+222",flag:"\u{1f1f2}\u{1f1f7}",country:"MR"},{text:"\u{1f1f2}\u{1f1f1} +223 Mali",code:"+223",flag:"\u{1f1f2}\u{1f1f1}",country:"ML"},{text:"\u{1f1ec}\u{1f1f3} +224 Guinea",code:"+224",flag:"\u{1f1ec}\u{1f1f3}",country:"GN"},{text:"\u{1f1e8}\u{1f1ee} +225 Ivory Coast",code:"+225",flag:"\u{1f1e8}\u{1f1ee}",country:"CI"},{text:"\u{1f1e7}\u{1f1eb} +226 Burkina Faso",code:"+226",flag:"\u{1f1e7}\u{1f1eb}",country:"BF"},{text:"\u{1f1f3}\u{1f1ea} +227 Niger",code:"+227",flag:"\u{1f1f3}\u{1f1ea}",country:"NE"},{text:"\u{1f1f9}\u{1f1ec} +228 Togo",code:"+228",flag:"\u{1f1f9}\u{1f1ec}",country:"TG"},{text:"\u{1f1e7}\u{1f1ef} +229 Benin",code:"+229",flag:"\u{1f1e7}\u{1f1ef}",country:"BJ"},{text:"\u{1f1f2}\u{1f1fa} +230 Mauritius",code:"+230",flag:"\u{1f1f2}\u{1f1fa}",country:"MU"},{text:"\u{1f1f1}\u{1f1f7} +231 Liberia",code:"+231",flag:"\u{1f1f1}\u{1f1f7}",country:"LR"},{text:"\u{1f1f8}\u{1f1f1} +232 Sierra Leone",code:"+232",flag:"\u{1f1f8}\u{1f1f1}",country:"SL"},{text:"\u{1f1ec}\u{1f1ed} +233 Ghana",code:"+233",flag:"\u{1f1ec}\u{1f1ed}",country:"GH"},{text:"\u{1f1f3}\u{1f1ec} +234 Nigeria",code:"+234",flag:"\u{1f1f3}\u{1f1ec}",country:"NG"},{text:"\u{1f1f9}\u{1f1e9} +235 Chad",code:"+235",flag:"\u{1f1f9}\u{1f1e9}",country:"TD"},{text:"\u{1f1e8}\u{1f1eb} +236 Central African Republic",code:"+236",flag:"\u{1f1e8}\u{1f1eb}",country:"CF"},{text:"\u{1f1e8}\u{1f1f2} +237 Cameroon",code:"+237",flag:"\u{1f1e8}\u{1f1f2}",country:"CM"},{text:"\u{1f1e8}\u{1f1fb} +238 Cape Verde",code:"+238",flag:"\u{1f1e8}\u{1f1fb}",country:"CV"},{text:"\u{1f1f8}\u{1f1f9} +239 Sao Tome and Principe",code:"+239",flag:"\u{1f1f8}\u{1f1f9}",country:"ST"},{text:"\u{1f1ec}\u{1f1f6} +240 Equatorial Guinea",code:"+240",flag:"\u{1f1ec}\u{1f1f6}",country:"GQ"},{text:"\u{1f1ec}\u{1f1e6} +241 Gabon",code:"+241",flag:"\u{1f1ec}\u{1f1e6}",country:"GA"},{text:"\u{1f1e8}\u{1f1ec} +242 Republic of the Congo",code:"+242",flag:"\u{1f1e8}\u{1f1ec}",country:"CG"},{text:"\u{1f1e8}\u{1f1e9} +243 Democratic Republic of the Congo",code:"+243",flag:"\u{1f1e8}\u{1f1e9}",country:"CD"},{text:"\u{1f1e6}\u{1f1f4} +244 Angola",code:"+244",flag:"\u{1f1e6}\u{1f1f4}",country:"AO"},{text:"\u{1f1ec}\u{1f1fc} +245 Guinea-Bissau",code:"+245",flag:"\u{1f1ec}\u{1f1fc}",country:"GW"},{text:"\u{1f1ee}\u{1f1f4} +246 British Indian Ocean Territory",code:"+246",flag:"\u{1f1ee}\u{1f1f4}",country:"IO"},{text:"\u{1f1f8}\u{1f1e8} +248 Seychelles",code:"+248",flag:"\u{1f1f8}\u{1f1e8}",country:"SC"},{text:"\u{1f1f8}\u{1f1e9} +249 Sudan",code:"+249",flag:"\u{1f1f8}\u{1f1e9}",country:"SD"},{text:"\u{1f1f7}\u{1f1fc} +250 Rwanda",code:"+250",flag:"\u{1f1f7}\u{1f1fc}",country:"RW"},{text:"\u{1f1ea}\u{1f1f9} +251 Ethiopia",code:"+251",flag:"\u{1f1ea}\u{1f1f9}",country:"ET"},{text:"\u{1f1f8}\u{1f1f4} +252 Somalia",code:"+252",flag:"\u{1f1f8}\u{1f1f4}",country:"SO"},{text:"\u{1f1e9}\u{1f1ef} +253 Djibouti",code:"+253",flag:"\u{1f1e9}\u{1f1ef}",country:"DJ"},{text:"\u{1f1f0}\u{1f1ea} +254 Kenya",code:"+254",flag:"\u{1f1f0}\u{1f1ea}",country:"KE"},{text:"\u{1f1f9}\u{1f1ff} +255 Tanzania",code:"+255",flag:"\u{1f1f9}\u{1f1ff}",country:"TZ"},{text:"\u{1f1fa}\u{1f1ec} +256 Uganda",code:"+256",flag:"\u{1f1fa}\u{1f1ec}",country:"UG"},{text:"\u{1f1e7}\u{1f1ee} +257 Burundi",code:"+257",flag:"\u{1f1e7}\u{1f1ee}",country:"BI"},{text:"\u{1f1f2}\u{1f1ff} +258 Mozambique",code:"+258",flag:"\u{1f1f2}\u{1f1ff}",country:"MZ"},{text:"\u{1f1ff}\u{1f1f2} +260 Zambia",code:"+260",flag:"\u{1f1ff}\u{1f1f2}",country:"ZM"},{text:"\u{1f1f2}\u{1f1ec} +261 Madagascar",code:"+261",flag:"\u{1f1f2}\u{1f1ec}",country:"MG"},{text:"\u{1f1f7}\u{1f1ea} +262 Reunion",code:"+262",flag:"\u{1f1f7}\u{1f1ea}",country:"RE"},{text:"\u{1f1ff}\u{1f1fc} +263 Zimbabwe",code:"+263",flag:"\u{1f1ff}\u{1f1fc}",country:"ZW"},{text:"\u{1f1f3}\u{1f1e6} +264 Namibia",code:"+264",flag:"\u{1f1f3}\u{1f1e6}",country:"NA"},{text:"\u{1f1f2}\u{1f1fc} +265 Malawi",code:"+265",flag:"\u{1f1f2}\u{1f1fc}",country:"MW"},{text:"\u{1f1f1}\u{1f1f8} +266 Lesotho",code:"+266",flag:"\u{1f1f1}\u{1f1f8}",country:"LS"},{text:"\u{1f1e7}\u{1f1fc} +267 Botswana",code:"+267",flag:"\u{1f1e7}\u{1f1fc}",country:"BW"},{text:"\u{1f1f8}\u{1f1ff} +268 Eswatini",code:"+268",flag:"\u{1f1f8}\u{1f1ff}",country:"SZ"},{text:"\u{1f1f0}\u{1f1f2} +269 Comoros",code:"+269",flag:"\u{1f1f0}\u{1f1f2}",country:"KM"},{text:"\u{1f1f8}\u{1f1ed} +290 Saint Helena",code:"+290",flag:"\u{1f1f8}\u{1f1ed}",country:"SH"},{text:"\u{1f1ea}\u{1f1f7} +291 Eritrea",code:"+291",flag:"\u{1f1ea}\u{1f1f7}",country:"ER"},{text:"\u{1f1e6}\u{1f1fc} +297 Aruba",code:"+297",flag:"\u{1f1e6}\u{1f1fc}",country:"AW"},{text:"\u{1f1eb}\u{1f1f4} +298 Faroe Islands",code:"+298",flag:"\u{1f1eb}\u{1f1f4}",country:"FO"},{text:"\u{1f1ec}\u{1f1f1} +299 Greenland",code:"+299",flag:"\u{1f1ec}\u{1f1f1}",country:"GL"},{text:"\u{1f1ec}\u{1f1ee} +350 Gibraltar",code:"+350",flag:"\u{1f1ec}\u{1f1ee}",country:"GI"},{text:"\u{1f1f5}\u{1f1f9} +351 Portugal",code:"+351",flag:"\u{1f1f5}\u{1f1f9}",country:"PT"},{text:"\u{1f1f1}\u{1f1fa} +352 Luxembourg",code:"+352",flag:"\u{1f1f1}\u{1f1fa}",country:"LU"},{text:"\u{1f1ee}\u{1f1ea} +353 Ireland",code:"+353",flag:"\u{1f1ee}\u{1f1ea}",country:"IE"},{text:"\u{1f1ee}\u{1f1f8} +354 Iceland",code:"+354",flag:"\u{1f1ee}\u{1f1f8}",country:"IS"},{text:"\u{1f1e6}\u{1f1f1} +355 Albania",code:"+355",flag:"\u{1f1e6}\u{1f1f1}",country:"AL"},{text:"\u{1f1f2}\u{1f1f9} +356 Malta",code:"+356",flag:"\u{1f1f2}\u{1f1f9}",country:"MT"},{text:"\u{1f1e8}\u{1f1fe} +357 Cyprus",code:"+357",flag:"\u{1f1e8}\u{1f1fe}",country:"CY"},{text:"\u{1f1eb}\u{1f1ee} +358 Finland",code:"+358",flag:"\u{1f1eb}\u{1f1ee}",country:"FI"},{text:"\u{1f1e7}\u{1f1ec} +359 Bulgaria",code:"+359",flag:"\u{1f1e7}\u{1f1ec}",country:"BG"},{text:"\u{1f1f1}\u{1f1f9} +370 Lithuania",code:"+370",flag:"\u{1f1f1}\u{1f1f9}",country:"LT"},{text:"\u{1f1f1}\u{1f1fb} +371 Latvia",code:"+371",flag:"\u{1f1f1}\u{1f1fb}",country:"LV"},{text:"\u{1f1ea}\u{1f1ea} +372 Estonia",code:"+372",flag:"\u{1f1ea}\u{1f1ea}",country:"EE"},{text:"\u{1f1f2}\u{1f1e9} +373 Moldova",code:"+373",flag:"\u{1f1f2}\u{1f1e9}",country:"MD"},{text:"\u{1f1e6}\u{1f1f2} +374 Armenia",code:"+374",flag:"\u{1f1e6}\u{1f1f2}",country:"AM"},{text:"\u{1f1e7}\u{1f1fe} +375 Belarus",code:"+375",flag:"\u{1f1e7}\u{1f1fe}",country:"BY"},{text:"\u{1f1e6}\u{1f1e9} +376 Andorra",code:"+376",flag:"\u{1f1e6}\u{1f1e9}",country:"AD"},{text:"\u{1f1f2}\u{1f1e8} +377 Monaco",code:"+377",flag:"\u{1f1f2}\u{1f1e8}",country:"MC"},{text:"\u{1f1f8}\u{1f1f2} +378 San Marino",code:"+378",flag:"\u{1f1f8}\u{1f1f2}",country:"SM"},{text:"\u{1f1fa}\u{1f1e6} +380 Ukraine",code:"+380",flag:"\u{1f1fa}\u{1f1e6}",country:"UA"},{text:"\u{1f1f7}\u{1f1f8} +381 Serbia",code:"+381",flag:"\u{1f1f7}\u{1f1f8}",country:"RS"},{text:"\u{1f1f2}\u{1f1ea} +382 Montenegro",code:"+382",flag:"\u{1f1f2}\u{1f1ea}",country:"ME"},{text:"\u{1f1ed}\u{1f1f7} +385 Croatia",code:"+385",flag:"\u{1f1ed}\u{1f1f7}",country:"HR"},{text:"\u{1f1f8}\u{1f1ee} +386 Slovenia",code:"+386",flag:"\u{1f1f8}\u{1f1ee}",country:"SI"},{text:"\u{1f1e7}\u{1f1e6} +387 Bosnia and Herzegovina",code:"+387",flag:"\u{1f1e7}\u{1f1e6}",country:"BA"},{text:"\u{1f1f2}\u{1f1f0} +389 North Macedonia",code:"+389",flag:"\u{1f1f2}\u{1f1f0}",country:"MK"},{text:"\u{1f1e8}\u{1f1ff} +420 Czech Republic",code:"+420",flag:"\u{1f1e8}\u{1f1ff}",country:"CZ"},{text:"\u{1f1f8}\u{1f1f0} +421 Slovakia",code:"+421",flag:"\u{1f1f8}\u{1f1f0}",country:"SK"},{text:"\u{1f1f1}\u{1f1ee} +423 Liechtenstein",code:"+423",flag:"\u{1f1f1}\u{1f1ee}",country:"LI"},{text:"\u{1f1eb}\u{1f1f0} +500 Falkland Islands",code:"+500",flag:"\u{1f1eb}\u{1f1f0}",country:"FK"},{text:"\u{1f1e7}\u{1f1ff} +501 Belize",code:"+501",flag:"\u{1f1e7}\u{1f1ff}",country:"BZ"},{text:"\u{1f1ec}\u{1f1f9} +502 Guatemala",code:"+502",flag:"\u{1f1ec}\u{1f1f9}",country:"GT"},{text:"\u{1f1f8}\u{1f1fb} +503 El Salvador",code:"+503",flag:"\u{1f1f8}\u{1f1fb}",country:"SV"},{text:"\u{1f1ed}\u{1f1f3} +504 Honduras",code:"+504",flag:"\u{1f1ed}\u{1f1f3}",country:"HN"},{text:"\u{1f1f3}\u{1f1ee} +505 Nicaragua",code:"+505",flag:"\u{1f1f3}\u{1f1ee}",country:"NI"},{text:"\u{1f1e8}\u{1f1f7} +506 Costa Rica",code:"+506",flag:"\u{1f1e8}\u{1f1f7}",country:"CR"},{text:"\u{1f1f5}\u{1f1e6} +507 Panama",code:"+507",flag:"\u{1f1f5}\u{1f1e6}",country:"PA"},{text:"\u{1f1f5}\u{1f1f2} +508 Saint Pierre and Miquelon",code:"+508",flag:"\u{1f1f5}\u{1f1f2}",country:"PM"},{text:"\u{1f1ed}\u{1f1f9} +509 Haiti",code:"+509",flag:"\u{1f1ed}\u{1f1f9}",country:"HT"},{text:"\u{1f1ec}\u{1f1f5} +590 Guadeloupe",code:"+590",flag:"\u{1f1ec}\u{1f1f5}",country:"GP"},{text:"\u{1f1e7}\u{1f1f4} +591 Bolivia",code:"+591",flag:"\u{1f1e7}\u{1f1f4}",country:"BO"},{text:"\u{1f1ec}\u{1f1fe} +592 Guyana",code:"+592",flag:"\u{1f1ec}\u{1f1fe}",country:"GY"},{text:"\u{1f1ea}\u{1f1e8} +593 Ecuador",code:"+593",flag:"\u{1f1ea}\u{1f1e8}",country:"EC"},{text:"\u{1f1ec}\u{1f1eb} +594 French Guiana",code:"+594",flag:"\u{1f1ec}\u{1f1eb}",country:"GF"},{text:"\u{1f1f5}\u{1f1fe} +595 Paraguay",code:"+595",flag:"\u{1f1f5}\u{1f1fe}",country:"PY"},{text:"\u{1f1f2}\u{1f1f6} +596 Martinique",code:"+596",flag:"\u{1f1f2}\u{1f1f6}",country:"MQ"},{text:"\u{1f1f8}\u{1f1f7} +597 Suriname",code:"+597",flag:"\u{1f1f8}\u{1f1f7}",country:"SR"},{text:"\u{1f1fa}\u{1f1fe} +598 Uruguay",code:"+598",flag:"\u{1f1fa}\u{1f1fe}",country:"UY"},{text:"\u{1f1e8}\u{1f1fc} +599 Cura\xe7ao",code:"+599",flag:"\u{1f1e8}\u{1f1fc}",country:"CW"},{text:"\u{1f1f9}\u{1f1f1} +670 Timor-Leste",code:"+670",flag:"\u{1f1f9}\u{1f1f1}",country:"TL"},{text:"\u{1f1e6}\u{1f1f6} +672 Antarctica",code:"+672",flag:"\u{1f1e6}\u{1f1f6}",country:"AQ"},{text:"\u{1f1e7}\u{1f1f3} +673 Brunei",code:"+673",flag:"\u{1f1e7}\u{1f1f3}",country:"BN"},{text:"\u{1f1f3}\u{1f1f7} +674 Nauru",code:"+674",flag:"\u{1f1f3}\u{1f1f7}",country:"NR"},{text:"\u{1f1f5}\u{1f1ec} +675 Papua New Guinea",code:"+675",flag:"\u{1f1f5}\u{1f1ec}",country:"PG"},{text:"\u{1f1f9}\u{1f1f4} +676 Tonga",code:"+676",flag:"\u{1f1f9}\u{1f1f4}",country:"TO"},{text:"\u{1f1f8}\u{1f1e7} +677 Solomon Islands",code:"+677",flag:"\u{1f1f8}\u{1f1e7}",country:"SB"},{text:"\u{1f1fb}\u{1f1fa} +678 Vanuatu",code:"+678",flag:"\u{1f1fb}\u{1f1fa}",country:"VU"},{text:"\u{1f1eb}\u{1f1ef} +679 Fiji",code:"+679",flag:"\u{1f1eb}\u{1f1ef}",country:"FJ"},{text:"\u{1f1f5}\u{1f1fc} +680 Palau",code:"+680",flag:"\u{1f1f5}\u{1f1fc}",country:"PW"},{text:"\u{1f1fc}\u{1f1eb} +681 Wallis and Futuna",code:"+681",flag:"\u{1f1fc}\u{1f1eb}",country:"WF"},{text:"\u{1f1e8}\u{1f1f0} +682 Cook Islands",code:"+682",flag:"\u{1f1e8}\u{1f1f0}",country:"CK"},{text:"\u{1f1f3}\u{1f1fa} +683 Niue",code:"+683",flag:"\u{1f1f3}\u{1f1fa}",country:"NU"},{text:"\u{1f1fc}\u{1f1f8} +685 Samoa",code:"+685",flag:"\u{1f1fc}\u{1f1f8}",country:"WS"},{text:"\u{1f1f0}\u{1f1ee} +686 Kiribati",code:"+686",flag:"\u{1f1f0}\u{1f1ee}",country:"KI"},{text:"\u{1f1f3}\u{1f1e8} +687 New Caledonia",code:"+687",flag:"\u{1f1f3}\u{1f1e8}",country:"NC"},{text:"\u{1f1f9}\u{1f1fb} +688 Tuvalu",code:"+688",flag:"\u{1f1f9}\u{1f1fb}",country:"TV"},{text:"\u{1f1f5}\u{1f1eb} +689 French Polynesia",code:"+689",flag:"\u{1f1f5}\u{1f1eb}",country:"PF"},{text:"\u{1f1f9}\u{1f1f0} +690 Tokelau",code:"+690",flag:"\u{1f1f9}\u{1f1f0}",country:"TK"},{text:"\u{1f1eb}\u{1f1f2} +691 Federated States of Micronesia",code:"+691",flag:"\u{1f1eb}\u{1f1f2}",country:"FM"},{text:"\u{1f1f2}\u{1f1ed} +692 Marshall Islands",code:"+692",flag:"\u{1f1f2}\u{1f1ed}",country:"MH"},{text:"\u{1f1f0}\u{1f1f5} +850 North Korea",code:"+850",flag:"\u{1f1f0}\u{1f1f5}",country:"KP"},{text:"\u{1f1ed}\u{1f1f0} +852 Hong Kong",code:"+852",flag:"\u{1f1ed}\u{1f1f0}",country:"HK"},{text:"\u{1f1f2}\u{1f1f4} +853 Macau",code:"+853",flag:"\u{1f1f2}\u{1f1f4}",country:"MO"},{text:"\u{1f1f0}\u{1f1ed} +855 Cambodia",code:"+855",flag:"\u{1f1f0}\u{1f1ed}",country:"KH"},{text:"\u{1f1f1}\u{1f1e6} +856 Laos",code:"+856",flag:"\u{1f1f1}\u{1f1e6}",country:"LA"},{text:"\u{1f1e7}\u{1f1e9} +880 Bangladesh",code:"+880",flag:"\u{1f1e7}\u{1f1e9}",country:"BD"},{text:"\u{1f1f9}\u{1f1fc} +886 Taiwan",code:"+886",flag:"\u{1f1f9}\u{1f1fc}",country:"TW"},{text:"\u{1f1f2}\u{1f1fb} +960 Maldives",code:"+960",flag:"\u{1f1f2}\u{1f1fb}",country:"MV"},{text:"\u{1f1f1}\u{1f1e7} +961 Lebanon",code:"+961",flag:"\u{1f1f1}\u{1f1e7}",country:"LB"},{text:"\u{1f1ef}\u{1f1f4} +962 Jordan",code:"+962",flag:"\u{1f1ef}\u{1f1f4}",country:"JO"},{text:"\u{1f1f8}\u{1f1fe} +963 Syria",code:"+963",flag:"\u{1f1f8}\u{1f1fe}",country:"SY"},{text:"\u{1f1ee}\u{1f1f6} +964 Iraq",code:"+964",flag:"\u{1f1ee}\u{1f1f6}",country:"IQ"},{text:"\u{1f1f0}\u{1f1fc} +965 Kuwait",code:"+965",flag:"\u{1f1f0}\u{1f1fc}",country:"KW"},{text:"\u{1f1f8}\u{1f1e6} +966 Saudi Arabia",code:"+966",flag:"\u{1f1f8}\u{1f1e6}",country:"SA"},{text:"\u{1f1fe}\u{1f1ea} +967 Yemen",code:"+967",flag:"\u{1f1fe}\u{1f1ea}",country:"YE"},{text:"\u{1f1f4}\u{1f1f2} +968 Oman",code:"+968",flag:"\u{1f1f4}\u{1f1f2}",country:"OM"},{text:"\u{1f1f5}\u{1f1f8} +970 Palestine",code:"+970",flag:"\u{1f1f5}\u{1f1f8}",country:"PS"},{text:"\u{1f1e6}\u{1f1ea} +971 United Arab Emirates",code:"+971",flag:"\u{1f1e6}\u{1f1ea}",country:"AE"},{text:"\u{1f1ee}\u{1f1f1} +972 Israel",code:"+972",flag:"\u{1f1ee}\u{1f1f1}",country:"IL"},{text:"\u{1f1e7}\u{1f1ed} +973 Bahrain",code:"+973",flag:"\u{1f1e7}\u{1f1ed}",country:"BH"},{text:"\u{1f1f6}\u{1f1e6} +974 Qatar",code:"+974",flag:"\u{1f1f6}\u{1f1e6}",country:"QA"},{text:"\u{1f1e7}\u{1f1f9} +975 Bhutan",code:"+975",flag:"\u{1f1e7}\u{1f1f9}",country:"BT"},{text:"\u{1f1f2}\u{1f1f3} +976 Mongolia",code:"+976",flag:"\u{1f1f2}\u{1f1f3}",country:"MN"},{text:"\u{1f1f3}\u{1f1f5} +977 Nepal",code:"+977",flag:"\u{1f1f3}\u{1f1f5}",country:"NP"},{text:"\u{1f1f9}\u{1f1ef} +992 Tajikistan",code:"+992",flag:"\u{1f1f9}\u{1f1ef}",country:"TJ"},{text:"\u{1f1f9}\u{1f1f2} +993 Turkmenistan",code:"+993",flag:"\u{1f1f9}\u{1f1f2}",country:"TM"},{text:"\u{1f1e6}\u{1f1ff} +994 Azerbaijan",code:"+994",flag:"\u{1f1e6}\u{1f1ff}",country:"AZ"},{text:"\u{1f1ec}\u{1f1ea} +995 Georgia",code:"+995",flag:"\u{1f1ec}\u{1f1ea}",country:"GE"},{text:"\u{1f1f0}\u{1f1ec} +996 Kyrgyzstan",code:"+996",flag:"\u{1f1f0}\u{1f1ec}",country:"KG"},{text:"\u{1f1fa}\u{1f1ff} +998 Uzbekistan",code:"+998",flag:"\u{1f1fa}\u{1f1ff}",country:"UZ"}],Wt=[{name:"Afghanistan",code:"AF"},{name:"\xc5land Islands",code:"AX"},{name:"Albania",code:"AL"},{name:"Algeria",code:"DZ"},{name:"American Samoa",code:"AS"},{name:"AndorrA",code:"AD"},{name:"Angola",code:"AO"},{name:"Anguilla",code:"AI"},{name:"Antarctica",code:"AQ"},{name:"Antigua and Barbuda",code:"AG"},{name:"Argentina",code:"AR"},{name:"Armenia",code:"AM"},{name:"Aruba",code:"AW"},{name:"Australia",code:"AU"},{name:"Austria",code:"AT"},{name:"Azerbaijan",code:"AZ"},{name:"Bahamas",code:"BS"},{name:"Bahrain",code:"BH"},{name:"Bangladesh",code:"BD"},{name:"Barbados",code:"BB"},{name:"Belarus",code:"BY"},{name:"Belgium",code:"BE"},{name:"Belize",code:"BZ"},{name:"Benin",code:"BJ"},{name:"Bermuda",code:"BM"},{name:"Bhutan",code:"BT"},{name:"Bolivia",code:"BO"},{name:"Bosnia and Herzegovina",code:"BA"},{name:"Botswana",code:"BW"},{name:"Bouvet Island",code:"BV"},{name:"Brazil",code:"BR"},{name:"British Indian Ocean Territory",code:"IO"},{name:"Brunei Darussalam",code:"BN"},{name:"Bulgaria",code:"BG"},{name:"Burkina Faso",code:"BF"},{name:"Burundi",code:"BI"},{name:"Cambodia",code:"KH"},{name:"Cameroon",code:"CM"},{name:"Canada",code:"CA"},{name:"Cape Verde",code:"CV"},{name:"Cayman Islands",code:"KY"},{name:"Central African Republic",code:"CF"},{name:"Chad",code:"TD"},{name:"Chile",code:"CL"},{name:"China",code:"CN"},{name:"Christmas Island",code:"CX"},{name:"Cocos (Keeling) Islands",code:"CC"},{name:"Colombia",code:"CO"},{name:"Comoros",code:"KM"},{name:"Congo",code:"CG"},{name:"Congo, The Democratic Republic of the",code:"CD"},{name:"Cook Islands",code:"CK"},{name:"Costa Rica",code:"CR"},{name:'Cote D"Ivoire',code:"CI"},{name:"Croatia",code:"HR"},{name:"Cuba",code:"CU"},{name:"Cyprus",code:"CY"},{name:"Czech Republic",code:"CZ"},{name:"Denmark",code:"DK"},{name:"Djibouti",code:"DJ"},{name:"Dominica",code:"DM"},{name:"Dominican Republic",code:"DO"},{name:"Ecuador",code:"EC"},{name:"Egypt",code:"EG"},{name:"El Salvador",code:"SV"},{name:"Equatorial Guinea",code:"GQ"},{name:"Eritrea",code:"ER"},{name:"Estonia",code:"EE"},{name:"Ethiopia",code:"ET"},{name:"Falkland Islands (Malvinas)",code:"FK"},{name:"Faroe Islands",code:"FO"},{name:"Fiji",code:"FJ"},{name:"Finland",code:"FI"},{name:"France",code:"FR"},{name:"French Guiana",code:"GF"},{name:"French Polynesia",code:"PF"},{name:"French Southern Territories",code:"TF"},{name:"Gabon",code:"GA"},{name:"Gambia",code:"GM"},{name:"Georgia",code:"GE"},{name:"Germany",code:"DE"},{name:"Ghana",code:"GH"},{name:"Gibraltar",code:"GI"},{name:"Greece",code:"GR"},{name:"Greenland",code:"GL"},{name:"Grenada",code:"GD"},{name:"Guadeloupe",code:"GP"},{name:"Guam",code:"GU"},{name:"Guatemala",code:"GT"},{name:"Guernsey",code:"GG"},{name:"Guinea",code:"GN"},{name:"Guinea-Bissau",code:"GW"},{name:"Guyana",code:"GY"},{name:"Haiti",code:"HT"},{name:"Heard Island and Mcdonald Islands",code:"HM"},{name:"Holy See (Vatican City State)",code:"VA"},{name:"Honduras",code:"HN"},{name:"Hong Kong",code:"HK"},{name:"Hungary",code:"HU"},{name:"Iceland",code:"IS"},{name:"India",code:"IN"},{name:"Indonesia",code:"ID"},{name:"Iran, Islamic Republic Of",code:"IR"},{name:"Iraq",code:"IQ"},{name:"Ireland",code:"IE"},{name:"Isle of Man",code:"IM"},{name:"Israel",code:"IL"},{name:"Italy",code:"IT"},{name:"Jamaica",code:"JM"},{name:"Japan",code:"JP"},{name:"Jersey",code:"JE"},{name:"Jordan",code:"JO"},{name:"Kazakhstan",code:"KZ"},{name:"Kenya",code:"KE"},{name:"Kiribati",code:"KI"},{name:'Korea, Democratic People"S Republic of',code:"KP"},{name:"Korea, Republic of",code:"KR"},{name:"Kuwait",code:"KW"},{name:"Kyrgyzstan",code:"KG"},{name:'Lao People"S Democratic Republic',code:"LA"},{name:"Latvia",code:"LV"},{name:"Lebanon",code:"LB"},{name:"Lesotho",code:"LS"},{name:"Liberia",code:"LR"},{name:"Libyan Arab Jamahiriya",code:"LY"},{name:"Liechtenstein",code:"LI"},{name:"Lithuania",code:"LT"},{name:"Luxembourg",code:"LU"},{name:"Macao",code:"MO"},{name:"Macedonia, The Former Yugoslav Republic of",code:"MK"},{name:"Madagascar",code:"MG"},{name:"Malawi",code:"MW"},{name:"Malaysia",code:"MY"},{name:"Maldives",code:"MV"},{name:"Mali",code:"ML"},{name:"Malta",code:"MT"},{name:"Marshall Islands",code:"MH"},{name:"Martinique",code:"MQ"},{name:"Mauritania",code:"MR"},{name:"Mauritius",code:"MU"},{name:"Mayotte",code:"YT"},{name:"Mexico",code:"MX"},{name:"Micronesia, Federated States of",code:"FM"},{name:"Moldova, Republic of",code:"MD"},{name:"Monaco",code:"MC"},{name:"Mongolia",code:"MN"},{name:"Montserrat",code:"MS"},{name:"Morocco",code:"MA"},{name:"Mozambique",code:"MZ"},{name:"Myanmar",code:"MM"},{name:"Namibia",code:"NA"},{name:"Nauru",code:"NR"},{name:"Nepal",code:"NP"},{name:"Netherlands",code:"NL"},{name:"Netherlands Antilles",code:"AN"},{name:"New Caledonia",code:"NC"},{name:"New Zealand",code:"NZ"},{name:"Nicaragua",code:"NI"},{name:"Niger",code:"NE"},{name:"Nigeria",code:"NG"},{name:"Niue",code:"NU"},{name:"Norfolk Island",code:"NF"},{name:"Northern Mariana Islands",code:"MP"},{name:"Norway",code:"NO"},{name:"Oman",code:"OM"},{name:"Pakistan",code:"PK"},{name:"Palau",code:"PW"},{name:"Palestinian Territory, Occupied",code:"PS"},{name:"Panama",code:"PA"},{name:"Papua New Guinea",code:"PG"},{name:"Paraguay",code:"PY"},{name:"Peru",code:"PE"},{name:"Philippines",code:"PH"},{name:"Pitcairn",code:"PN"},{name:"Poland",code:"PL"},{name:"Portugal",code:"PT"},{name:"Puerto Rico",code:"PR"},{name:"Qatar",code:"QA"},{name:"Reunion",code:"RE"},{name:"Romania",code:"RO"},{name:"Russian Federation",code:"RU"},{name:"RWANDA",code:"RW"},{name:"Saint Helena",code:"SH"},{name:"Saint Kitts and Nevis",code:"KN"},{name:"Saint Lucia",code:"LC"},{name:"Saint Pierre and Miquelon",code:"PM"},{name:"Saint Vincent and the Grenadines",code:"VC"},{name:"Samoa",code:"WS"},{name:"San Marino",code:"SM"},{name:"Sao Tome and Principe",code:"ST"},{name:"Saudi Arabia",code:"SA"},{name:"Senegal",code:"SN"},{name:"Serbia and Montenegro",code:"CS"},{name:"Seychelles",code:"SC"},{name:"Sierra Leone",code:"SL"},{name:"Singapore",code:"SG"},{name:"Slovakia",code:"SK"},{name:"Slovenia",code:"SI"},{name:"Solomon Islands",code:"SB"},{name:"Somalia",code:"SO"},{name:"South Africa",code:"ZA"},{name:"South Georgia and the South Sandwich Islands",code:"GS"},{name:"Spain",code:"ES"},{name:"Sri Lanka",code:"LK"},{name:"Sudan",code:"SD"},{name:"Suriname",code:"SR"},{name:"Svalbard and Jan Mayen",code:"SJ"},{name:"Swaziland",code:"SZ"},{name:"Sweden",code:"SE"},{name:"Switzerland",code:"CH"},{name:"Syrian Arab Republic",code:"SY"},{name:"Taiwan",code:"TW"},{name:"Tajikistan",code:"TJ"},{name:"Tanzania, United Republic of",code:"TZ"},{name:"Thailand",code:"TH"},{name:"Timor-Leste",code:"TL"},{name:"Togo",code:"TG"},{name:"Tokelau",code:"TK"},{name:"Tonga",code:"TO"},{name:"Trinidad and Tobago",code:"TT"},{name:"Tunisia",code:"TN"},{name:"Turkey",code:"TR"},{name:"Turkmenistan",code:"TM"},{name:"Turks and Caicos Islands",code:"TC"},{name:"Tuvalu",code:"TV"},{name:"Uganda",code:"UG"},{name:"Ukraine",code:"UA"},{name:"United Arab Emirates",code:"AE"},{name:"United Kingdom",code:"GB"},{name:"United States",code:"US"},{name:"United States Minor Outlying Islands",code:"UM"},{name:"Uruguay",code:"UY"},{name:"Uzbekistan",code:"UZ"},{name:"Vanuatu",code:"VU"},{name:"Venezuela",code:"VE"},{name:"Viet Nam",code:"VN"},{name:"Virgin Islands, British",code:"VG"},{name:"Virgin Islands, U.S.",code:"VI"},{name:"Wallis and Futuna",code:"WF"},{name:"Western Sahara",code:"EH"},{name:"Yemen",code:"YE"},{name:"Zambia",code:"ZM"},{name:"Zimbabwe",code:"ZW"}],pB3={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",[9]],["4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-36-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|22"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","[025-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","[24-689]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]]]],BL:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","(?:[2-467]\\d\\d|8001)\\d{5}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[23]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[17]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","(?:[2-8]\\d|90)\\d{8}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|90[25])[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|622)[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-36-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","[189]\\d{8}|[1-68]\\d{6}",[7,9],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"]],"0"],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","1[127]\\d{8,9}|2\\d{9}(?:\\d{2})?|[12]\\d{6,7}|86\\d{6}|(?:1[03-689]\\d|6)\\d{7,9}|(?:[3-579]\\d|8[0-57-9])\\d{6,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","10(?:10|9[56])|2[0-57-9](?:100|9[56])"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:60\\d\\d|9101)\\d{6}|(?:1\\d|3)\\d{9}",[10,11],[["(\\d{3})(\\d{7})","$1 $2",["6"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-36-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|31)"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]"],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:1[3-79]|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0235])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-2]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","[56]94\\d{6}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[56]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",[6,7,8,9],[["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","(?:[2-489]\\d|55)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","(?:(?:00[1-9]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],0,0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],"0",0,"(000[259]\\d{6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33|7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[013-9]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-4]|5[01]|8[0-3]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],MC:["377","00","(?:[3489]|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","596\\d{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","1(?:(?:22|44|7[27]|87|9[69])[1-9]|65[0-689])\\d{7}|(?:1(?:[01]\\d|2[13-9]|[35][1-9]|4[0-35-9]|6[0-46-9]|7[013-689]|8[1-69]|9[1-578])|[2-9]\\d)\\d{8}",[10,11],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"],0,1],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 $3 $4",["1(?:33|5[56]|81)"],0,1],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 $3 $4",["1"],0,1]],"01",0,"0(?:[12]|4[45])|1",0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[047]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","2[0-24-9]\\d{8}|[78]\\d{10,13}|[7-9]\\d{9}|[1-9]\\d{7}|[124-7]\\d{6}",[7,8,10,11,12,13,14],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["78"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-6]|7(?:0[0-689]|[1-79])|8[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:444|(?:55|8\\d)\\d|666)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[45]\\d{5}|(?:708|80\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[16]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"],["69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-5]|76(?:2[27]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"3[04-689]|[489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","92\\d{7}|(?:[15]|8\\d)\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","(?:[1-6]|[7-9]\\d\\d)\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","800\\d{4}|(?:[249]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|77|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|68|[78]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[267]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-39]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|[69]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2679]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","[0-57-9]\\d{8}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3[1-5]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:5056(?:[0-35-9]\\d|4[468])|7302[0-4]\\d)\\d{4}|(?:472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",[6,7,8,9,10,11,12,13],[["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","810","(?:20|33|[5-79]\\d|88)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72)\\d{4}|8\\d{5}(?:\\d{3})?",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[478]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"],["639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|63|[79]\\d)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[35-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[35-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,0,0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function hh1(c,r){var e=Array.prototype.slice.call(r);return e.push(pB3),c.apply(this,e)}var IC=2,gB3=17,vB3=3,p0="0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9",Tl="".concat("-\u2010-\u2015\u2212\u30fc\uff0d").concat("\uff0f/").concat("\uff0e.").concat(" \xa0\xad\u200b\u2060\u3000").concat("()\uff08\uff09\uff3b\uff3d\\[\\]").concat("~\u2053\u223c\uff5e");function jC(c){return(jC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r})(c)}function mh1(c,r){for(var e=0;e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Zt(c,r){return(Zt=Object.setPrototypeOf||function(a,t){return a.__proto__=t,a})(c,r)}function Kt(c){return(Kt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(c)}var x8=function(c){!function xB3(c,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");c.prototype=Object.create(r&&r.prototype,{constructor:{value:c,writable:!0,configurable:!0}}),Object.defineProperty(c,"prototype",{writable:!1}),r&&Zt(c,r)}(e,c);var r=function wB3(c){var r=ph1();return function(){var t,a=Kt(c);if(r){var i=Kt(this).constructor;t=Reflect.construct(a,arguments,i)}else t=a.apply(this,arguments);return function FB3(c,r){if(r&&("object"===jC(r)||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return _h1(c)}(this,t)}}(e);function e(a){var t;return function bB3(c,r){if(!(c instanceof r))throw new TypeError("Cannot call a class as a function")}(this,e),t=r.call(this,a),Object.setPrototypeOf(_h1(t),e.prototype),t.name=t.constructor.name,t}return function yB3(c,r,e){return r&&mh1(c.prototype,r),e&&mh1(c,e),Object.defineProperty(c,"prototype",{writable:!1}),c}(e)}($C(Error));function gh1(c,r){c=c.split("-"),r=r.split("-");for(var e=c[0].split("."),a=r[0].split("."),t=0;t<3;t++){var i=Number(e[t]),l=Number(a[t]);if(i>l)return 1;if(l>i)return-1;if(!isNaN(i)&&isNaN(l))return 1;if(isNaN(i)&&!isNaN(l))return-1}return c[1]&&r[1]?c[1]>r[1]?1:c[1]c.length)&&(r=c.length);for(var e=0,a=new Array(r);e=c.length?{done:!0}:{done:!1,value:c[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(c.split(""));!(a=e()).done;)r+=eO3(a.value,r)||"";return r}function eO3(c,r,e){return"+"===c?r?void("function"==typeof e&&e("end")):"+":function yh1(c){return QB3[c]}(c)}function wh1(c,r){(null==r||r>c.length)&&(r=c.length);for(var e=0,a=new Array(r);e=c.length?{done:!0}:{done:!1,value:c[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(r);!(t=a()).done;){var i=t.value;c.indexOf(i)<0&&e.push(i)}return e.sort(function(l,d){return l-d})}(t,i.possibleLengths()))}else if(r&&!a)return"INVALID_LENGTH";var l=c.length,d=t[0];return d===l?"IS_POSSIBLE":d>l?"TOO_SHORT":t[t.length-1]=0?"IS_POSSIBLE":"INVALID_LENGTH"}function kh1(c,r){return"IS_POSSIBLE"===qC(c,r)}function Me(c,r){return c=c||"",new RegExp("^(?:"+r+")$").test(c)}function Sh1(c,r){(null==r||r>c.length)&&(r=c.length);for(var e=0,a=new Array(r);e=c.length?{done:!0}:{done:!1,value:c[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(nO3);!(i=t()).done;){var l=i.value;if(ZC(a,l,e))return l}}}}function ZC(c,r,e){return!(!(r=e.type(r))||!r.pattern()||r.possibleLengths()&&r.possibleLengths().indexOf(c.length)<0)&&Me(c,r.pattern())}var uO3=/(\$\d)/;var mO3=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function Th1(c,r){(null==r||r>c.length)&&(r=c.length);for(var e=0,a=new Array(r);e=c.length?{done:!0}:{done:!1,value:c[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(c);!(a=e()).done;){var t=a.value;if(t.leadingDigitsPatterns().length>0){var i=t.leadingDigitsPatterns()[t.leadingDigitsPatterns().length-1];if(0!==r.search(i))continue}if(Me(r,t.pattern()))return t}}(a.formats(),c);return i?function hO3(c,r,e){var a=e.useInternationalFormat,t=e.withNationalPrefix,d=c.replace(new RegExp(r.pattern()),a?r.internationalFormat():t&&r.nationalPrefixFormattingRule()?r.format().replace(uO3,r.nationalPrefixFormattingRule()):r.format());return a?function dO3(c){return c.replace(new RegExp("[".concat(Tl,"]+"),"g")," ").trim()}(d):d}(c,i,{useInternationalFormat:"INTERNATIONAL"===e,withNationalPrefix:!(i.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&t&&!1===t.nationalPrefix),carrierCode:r,metadata:a}):c}function KC(c,r,e,a){return r?a(c,r,e):c}function Rh1(c,r){var e=Object.keys(c);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(c);r&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(c,t).enumerable})),e.push.apply(e,a)}return e}function Bh1(c){for(var r=1;r=0}(r,i,e)}):[]}(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return function tO3(c,r,e){if(void 0===r&&(r={}),e=new y3(e),r.v2){if(!c.countryCallingCode)throw new Error("Invalid phone number object passed");e.selectNumberingPlan(c.countryCallingCode)}else{if(!c.phone)return!1;if(c.country){if(!e.hasCountry(c.country))throw new Error("Unknown country: ".concat(c.country));e.country(c.country)}else{if(!c.countryCallingCode)throw new Error("Invalid phone number object passed");e.selectNumberingPlan(c.countryCallingCode)}}if(e.possibleLengths())return kh1(c.phone||c.nationalNumber,e);if(c.countryCallingCode&&e.isNonGeographicCallingCode(c.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return function sO3(c,r,e){return r=r||{},(e=new y3(e)).selectNumberingPlan(c.country,c.countryCallingCode),e.hasTypes()?void 0!==WC(c,r,e.metadata):Me(r.v2?c.nationalNumber:c.phone,e.nationalNumberPattern())}(this,{v2:!0},this.getMetadata())}},{key:"isNonGeographic",value:function(){return new y3(this.getMetadata()).isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(e){return this.number===e.number&&this.ext===e.ext}},{key:"getType",value:function(){return WC(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(e,a){return function yO3(c,r,e,a){if(e=e?Ah1(Ah1({},Ph1),e):Ph1,a=new y3(a),c.country&&"001"!==c.country){if(!a.hasCountry(c.country))throw new Error("Unknown country: ".concat(c.country));a.country(c.country)}else{if(!c.countryCallingCode)return c.phone||"";a.selectNumberingPlan(c.countryCallingCode)}var l,t=a.countryCallingCode(),i=e.v2?c.nationalNumber:c.phone;switch(r){case"NATIONAL":return i?KC(l=Ol(i,c.carrierCode,"NATIONAL",a,e),c.ext,a,e.formatExtension):"";case"INTERNATIONAL":return i?(l=Ol(i,null,"INTERNATIONAL",a,e),KC(l="+".concat(t," ").concat(l),c.ext,a,e.formatExtension)):"+".concat(t);case"E.164":return"+".concat(t).concat(i);case"RFC3966":return function zO3(c){var r=c.number,e=c.ext;if(!r)return"";if("+"!==r[0])throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(r).concat(e?";ext="+e:"")}({number:"+".concat(t).concat(i),ext:c.ext});case"IDD":if(!e.fromCountry)return;var d=function xO3(c,r,e,a,t){if(Bl(a,t.metadata)===e){var l=Ol(c,r,"NATIONAL",t);return"1"===e?e+" "+l:l}var d=function _O3(c,r,e){var a=new y3(e);return a.selectNumberingPlan(c,r),a.defaultIDDPrefix()?a.defaultIDDPrefix():mO3.test(a.IDDPrefix())?a.IDDPrefix():void 0}(a,void 0,t.metadata);if(d)return"".concat(d," ").concat(e," ").concat(Ol(c,null,"INTERNATIONAL",t))}(i,c.carrierCode,t,e.fromCountry,a);return KC(d,c.ext,a,e.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(r,'"'))}}(this,e,a?Bh1(Bh1({},a),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(e){return this.format("NATIONAL",e)}},{key:"formatInternational",value:function(e){return this.format("INTERNATIONAL",e)}},{key:"getURI",value:function(e){return this.format("RFC3966",e)}}]),c}(),DO3=function(r){return/^[A-Z]{2}$/.test(r)},EO3=new RegExp("(["+p0+"])");function QC(c,r){var e=function PO3(c,r){if(c&&r.numberingPlan.nationalPrefixForParsing()){var e=new RegExp("^(?:"+r.numberingPlan.nationalPrefixForParsing()+")"),a=e.exec(c);if(a){var t,i,p,l=a.length-1,d=l>0&&a[l];if(r.nationalPrefixTransformRule()&&d?(t=c.replace(e,r.nationalPrefixTransformRule()),l>1&&(i=a[1])):(t=c.slice(a[0].length),d&&(i=a[1])),d){var z=c.indexOf(a[1]);c.slice(0,z)===r.numberingPlan.nationalPrefix()&&(p=r.numberingPlan.nationalPrefix())}else p=a[0];return{nationalNumber:t,nationalPrefix:p,carrierCode:i}}}return{nationalNumber:c}}(c,r),a=e.carrierCode,t=e.nationalNumber;if(t!==c){if(!function RO3(c,r,e){return!(Me(c,e.nationalNumberPattern())&&!Me(r,e.nationalNumberPattern()))}(c,t,r))return{nationalNumber:c};if(r.possibleLengths()&&!function BO3(c,r){switch(qC(c,r)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}(t,r))return{nationalNumber:c}}return{nationalNumber:t,carrierCode:a}}function Ih1(c,r){(null==r||r>c.length)&&(r=c.length);for(var e=0,a=new Array(r);e=c.length?{done:!0}:{done:!1,value:c[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e);!(d=l()).done;){var u=d.value;if(t.country(u),t.leadingDigits()){if(c&&0===c.search(t.leadingDigits()))return u}else if(WC({phone:c,country:u},void 0,t.metadata)){if(!a)return u;if(u===a)return u;i.push(u)}}if(i.length>0)return i[0]}(e,{countries:i,defaultCountry:a,metadata:t.metadata}):void 0}var Uh1="+",jh1="(["+p0+"]|[\\-\\.\\(\\)]?)",ZO3=new RegExp("^\\"+Uh1+jh1+"*["+p0+"]"+jh1+"*$","g"),eI3=new RegExp("^(["+p0+"]+((\\-)*["+p0+"])*\\.)*[a-zA-Z]+((\\-)*["+p0+"])*\\.?$","g"),$h1="tel:",XC=";phone-context=",cI3=";isub=";var iI3=250,oI3=new RegExp("[+\uff0b"+p0+"]"),nI3=new RegExp("[^"+p0+"#]+$"),sI3=!1;function lI3(c,r,e){if(r=r||{},e=new y3(e),r.defaultCountry&&!e.hasCountry(r.defaultCountry))throw r.v2?new x8("INVALID_COUNTRY"):new Error("Unknown country: ".concat(r.defaultCountry));var a=function dI3(c,r,e){var a=function tI3(c,r){var t,e=r.extractFormattedPhoneNumber,a=function aI3(c){var r=c.indexOf(XC);if(r<0)return null;var e=r+XC.length;if(e>=c.length)return"";var a=c.indexOf(";",e);return a>=0?c.substring(e,a):c.substring(e)}(c);if(!function rI3(c){return null===c||0!==c.length&&(ZO3.test(c)||eI3.test(c))}(a))throw new x8("NOT_A_NUMBER");if(null===a)t=e(c)||"";else{t="",a.charAt(0)===Uh1&&(t+=a);var l,i=c.indexOf($h1);l=i>=0?i+$h1.length:0;var d=c.indexOf(XC);t+=c.substring(l,d)}var u=t.indexOf(cI3);if(u>0&&(t=t.substring(0,u)),""!==t)return t}(c,{extractFormattedPhoneNumber:function(l){return function fI3(c,r,e){if(c){if(c.length>iI3){if(e)throw new x8("TOO_LONG");return}if(!1===r)return c;var a=c.search(oI3);if(!(a<0))return c.slice(a).replace(nI3,"")}}(l,e,r)}});if(!a)return{};if(!function GB3(c){return c.length>=IC&&YB3.test(c)}(a))return function qB3(c){return jB3.test(c)}(a)?{error:"TOO_SHORT"}:{};var t=function WB3(c){var r=c.search(Mh1);if(r<0)return{};for(var e=c.slice(0,r),a=c.match(Mh1),t=1;t0&&"0"===l[1]))return c}}}(c,r,e,a);if(!i||i===c){if(r||e){var l=function OO3(c,r,e,a){var t=r?Bl(r,a):e;if(0===c.indexOf(t)){(a=new y3(a)).selectNumberingPlan(r,e);var i=c.slice(t.length),d=QC(i,a).nationalNumber,p=QC(c,a).nationalNumber;if(!Me(p,a.nationalNumberPattern())&&Me(d,a.nationalNumberPattern())||"TOO_LONG"===qC(p,a))return{countryCallingCode:t,number:i}}return{number:c}}(c,r,e,a),d=l.countryCallingCode;if(d)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:d,number:l.number}}return{number:c}}t=!0,c="+"+i}if("0"===c[1])return{};a=new y3(a);for(var p=2;p-1<=vB3&&p<=c.length;){var z=c.slice(1,p);if(a.hasCallingCode(z))return a.selectNumberingPlan(z),{countryCallingCodeSource:t?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:z,number:c.slice(p)};p++}return{}}(xh1(c),r,e,a.metadata),i=t.countryCallingCodeSource,l=t.countryCallingCode,d=t.number;if(l)a.selectNumberingPlan(l);else{if(!d||!r&&!e)return{};a.selectNumberingPlan(r,e),r?u=r:sI3&&a.isNonGeographicCallingCode(e)&&(u="001"),l=e||Bl(r,a.metadata)}if(!d)return{countryCallingCodeSource:i,countryCallingCode:l};var p=QC(xh1(d),a),z=p.nationalNumber,x=p.carrierCode,E=GO3(l,{nationalNumber:z,defaultCountry:r,metadata:a});return E&&(u=E,"001"===E||a.country(u)),{country:u,countryCallingCode:l,countryCallingCodeSource:i,nationalNumber:z,carrierCode:x}}(t,r.defaultCountry,r.defaultCallingCode,e),u=d.country,p=d.nationalNumber,z=d.countryCallingCode,x=d.countryCallingCodeSource,E=d.carrierCode;if(!e.hasSelectedNumberingPlan()){if(r.v2)throw new x8("INVALID_COUNTRY");return{}}if(!p||p.lengthgB3){if(r.v2)throw new x8("TOO_LONG");return{}}if(r.v2){var P=new NO3(z,p,e.metadata);return u&&(P.country=u),E&&(P.carrierCode=E),i&&(P.ext=i),P.__countryCallingCodeSource=x,P}var Y=!!(r.extended?e.hasSelectedNumberingPlan():u)&&Me(p,e.nationalNumberPattern());return r.extended?{country:u,countryCallingCode:z,carrierCode:E,valid:Y,possible:!!Y||!(!0!==r.extended||!e.possibleLengths()||!kh1(p,e)),phone:p,ext:i}:Y?function uI3(c,r,e){var a={country:c,phone:r};return e&&(a.ext=e),a}(u,p,i):{}}function Yh1(c,r){var e=Object.keys(c);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(c);r&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(c,t).enumerable})),e.push.apply(e,a)}return e}function Gh1(c){for(var r=1;rc.length)&&(r=c.length);for(var e=0,a=new Array(r);er.code;function xI3(c,r){if(1&c){const e=j();o(0,"button",38),C("click",function(){const t=y(e).$implicit;return b(h(2).selectPrefix(t))}),o(1,"div",39),f(2),n()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.text," ")}}function wI3(c,r){if(1&c&&(o(0,"div",30)(1,"ul",36)(2,"li"),c1(3,xI3,3,1,"button",37,bI3),n()()()),2&c){const e=h();s(3),a1(e.prefixes)}}function FI3(c,r){if(1&c){const e=j();o(0,"button",40),C("click",function(){return y(e),b(h().createBilling())}),f(1),m(2,"translate"),n()}if(2&c){const e=h();k("disabled",!e.billingForm.valid)("ngClass",e.billingForm.valid?"hover:bg-primary-50 dark:hover:bg-primary-200":"opacity-50"),s(),V(" ",_(2,3,"BILLING._add")," ")}}function kI3(c,r){if(1&c){const e=j();o(0,"button",41),C("click",function(){return y(e),b(h().updateBilling())}),f(1),m(2,"translate"),n()}if(2&c){const e=h();k("disabled",!e.billingForm.valid)("ngClass",e.billingForm.valid?"hover:bg-primary-50 dark:hover:bg-primary-200":"opacity-50"),s(),V(" ",_(2,3,"BILLING._update")," ")}}function SI3(c,r){1&c&&(o(0,"div",45),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"BILLING._invalid_phone")))}function NI3(c,r){1&c&&(o(0,"div",45),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"BILLING._invalid_email")))}function DI3(c,r){if(1&c&&(o(0,"div",34)(1,"div",42),w(),o(2,"svg",43),v(3,"path",44),n()(),O(),o(4,"div"),R(5,SI3,3,3,"div",45)(6,NI3,3,3,"div",45),n(),o(7,"button",46)(8,"span",47),f(9,"Close"),n(),w(),o(10,"svg",48),v(11,"path",49),n()()()),2&c){let e,a;const t=h();s(5),S(5,1==(null==(e=t.billingForm.get("telephoneNumber"))||null==e.errors?null:e.errors.invalidPhoneNumber)?5:-1),s(),S(6,1==(null==(a=t.billingForm.get("email"))?null:a.invalid)?6:-1)}}function TI3(c,r){1&c&&v(0,"error-message",35),2&c&&k("message",h().errorMessage)}let ez=(()=>{class c{constructor(e,a,t,i,l){this.localStorage=e,this.cdr=a,this.router=t,this.accountService=i,this.eventMessage=l,this.billingForm=new S2({name:new u1("",[O1.required]),email:new u1("",[O1.required,O1.email,O1.pattern("^[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$")]),country:new u1(""),city:new u1(""),stateOrProvince:new u1(""),postCode:new u1(""),street:new u1(""),telephoneNumber:new u1("",[O1.required]),telephoneType:new u1("")}),this.prefixes=Dl,this.countries=Wt,this.phonePrefix=Dl[0],this.prefixCheck=!1,this.toastVisibility=!1,this.loading=!1,this.is_create=!1,this.errorMessage="",this.showError=!1,this.eventMessage.messages$.subscribe(d=>{"ChangedSession"===d.type&&this.initUserData()})}ngOnInit(){this.loading=!0,this.is_create=null==this.billAcc,this.initUserData(),0==this.is_create?this.setDefaultValues():this.detectCountry()}initUserData(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0)if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}}setDefaultValues(){if(null!=this.billAcc){const e=Ba(this.billAcc.telephoneNumber);if(e){let a=this.prefixes.filter(t=>t.code==="+"+e.countryCallingCode);a.length>0&&(this.phonePrefix=a[0]),this.billingForm.controls.telephoneNumber.setValue(e.nationalNumber)}this.billingForm.controls.name.setValue(this.billAcc.name),this.billingForm.controls.email.setValue(this.billAcc.email),this.billingForm.controls.country.setValue(this.billAcc.postalAddress.country),this.billingForm.controls.city.setValue(this.billAcc.postalAddress.city),this.billingForm.controls.stateOrProvince.setValue(this.billAcc.postalAddress.stateOrProvince),this.billingForm.controls.street.setValue(this.billAcc.postalAddress.street),this.billingForm.controls.postCode.setValue(this.billAcc.postalAddress.postCode),this.billingForm.controls.telephoneType.setValue(this.billAcc.telephoneType)}this.cdr.detectChanges()}createBilling(){this.localStorage.getObject("login_items");const a=Ba(this.phonePrefix.code+this.billingForm.value.telephoneNumber);if(a){if(!a.isValid())return console.log("NUMERO INVALIDO"),this.billingForm.controls.telephoneNumber.setErrors({invalidPhoneNumber:!0}),this.toastVisibility=!0,void setTimeout(()=>{this.toastVisibility=!1},2e3);this.billingForm.controls.telephoneNumber.setErrors(null),this.toastVisibility=!1}if(this.billingForm.invalid)return this.toastVisibility=!0,void setTimeout(()=>{this.toastVisibility=!1},2e3);this.accountService.postBillingAccount({name:this.billingForm.value.name,contact:[{contactMedium:[{mediumType:"Email",preferred:this.preferred,characteristic:{contactType:"Email",emailAddress:this.billingForm.value.email}},{mediumType:"PostalAddress",preferred:this.preferred,characteristic:{contactType:"PostalAddress",city:this.billingForm.value.city,country:this.billingForm.value.country,postCode:this.billingForm.value.postCode,stateOrProvince:this.billingForm.value.stateOrProvince,street1:this.billingForm.value.street}},{mediumType:"TelephoneNumber",preferred:this.preferred,characteristic:{contactType:this.billingForm.value.telephoneType,phoneNumber:this.phonePrefix.code+this.billingForm.value.telephoneNumber}}]}],relatedParty:[{href:this.partyId,id:this.partyId,role:"Owner"}],state:"Defined"}).subscribe({next:i=>{this.eventMessage.emitBillAccChange(!0),this.billingForm.reset()},error:i=>{console.error("There was an error while creating!",i),i.error.error?(console.log(i),this.errorMessage="Error: "+i.error.error):this.errorMessage="There was an error while creating billing account!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}updateBilling(){this.localStorage.getObject("login_items");const a=Ba(this.phonePrefix.code+this.billingForm.value.telephoneNumber);if(a){if(!a.isValid())return console.log("NUMERO INVALIDO"),this.billingForm.controls.telephoneNumber.setErrors({invalidPhoneNumber:!0}),this.toastVisibility=!0,void setTimeout(()=>{this.toastVisibility=!1},2e3);this.billingForm.controls.telephoneNumber.setErrors(null),this.toastVisibility=!1}if(this.billingForm.invalid)return 1==this.billingForm.get("email")?.invalid?this.billingForm.controls.email.setErrors({invalidEmail:!0}):this.billingForm.controls.email.setErrors(null),this.toastVisibility=!0,void setTimeout(()=>{this.toastVisibility=!1},2e3);null!=this.billAcc&&this.accountService.updateBillingAccount(this.billAcc.id,{name:this.billingForm.value.name,contact:[{contactMedium:[{mediumType:"Email",preferred:this.billAcc.selected,characteristic:{contactType:"Email",emailAddress:this.billingForm.value.email}},{mediumType:"PostalAddress",preferred:this.billAcc.selected,characteristic:{contactType:"PostalAddress",city:this.billingForm.value.city,country:this.billingForm.value.country,postCode:this.billingForm.value.postCode,stateOrProvince:this.billingForm.value.stateOrProvince,street1:this.billingForm.value.street}},{mediumType:"TelephoneNumber",preferred:this.billAcc.selected,characteristic:{contactType:this.billingForm.value.telephoneType,phoneNumber:this.phonePrefix.code+this.billingForm.value.telephoneNumber}}]}],relatedParty:[{href:this.partyId,id:this.partyId,role:"Owner"}],state:"Defined"}).subscribe({next:i=>{this.eventMessage.emitBillAccChange(!1),this.billingForm.reset()},error:i=>{console.error("There was an error while updating!",i),i.error.error?(console.log(i),this.errorMessage="Error: "+i.error.error):this.errorMessage="There was an error while updating billing account!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}selectPrefix(e){console.log(e),this.prefixCheck=!1,this.phonePrefix=e}detectCountry(){let i=function yI3(){return hh1(Bl,arguments)}(navigator.language.split("-")[1].toUpperCase());if(i){let l=this.prefixes.filter(d=>d.code==="+"+i);l.length>0&&(this.phonePrefix=l[0])}}static#e=this.\u0275fac=function(a){return new(a||c)(B(A1),B(B1),B(Q1),B(O2),B(e2))};static#c=this.\u0275cmp=V1({type:c,selectors:[["app-billing-account-form"]],inputs:{billAcc:"billAcc",preferred:"preferred"},decls:68,vars:36,consts:[["novalidate","",1,"grid","h-full","grid-cols-2","gap-5","m-4",3,"formGroup"],[1,"col-span-2"],["for","title",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],["id","title","formControlName","name","name","title","type","text",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","address.country",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],["id","address.country","formControlName","country","name","address.country","type","text",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","address.city",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],["id","address.city","formControlName","city","name","address.city","type","text",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","address.state",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],["id","address.state","formControlName","stateOrProvince","name","address.state","type","text",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","address.zip",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],["id","address.zip","formControlName","postCode","name","address.zip","type","text",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","address.street_address",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],["id","address.street_address","formControlName","street","name","address.street_address","rows","4",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","email",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],["id","email","formControlName","email","name","email","type","text",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],[1,"col-span-2","lg:col-span-1"],["for","phoneType",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],["id","phoneType","formControlName","telephoneType",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["value","Mobile"],["value","Landline"],["value","Office"],["value","Home"],["value","Other"],["for","phoneNumber",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],[1,"w-full"],[1,"relative","flex","items-center"],["type","button",1,"mb-2","flex-shrink-0","z-10","inline-flex","items-center","py-2.5","px-4","text-sm","font-medium","text-center","text-gray-900","bg-gray-100","border","border-gray-300","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","rounded-s-lg","hover:bg-gray-200","dark:hover:bg-primary-200","focus:ring-4","focus:outline-none","focus:ring-gray-100",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 10 6",1,"w-2.5","h-2.5","ms-2.5"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 4 4 4-4"],[1,"absolute","bottom-12","right-0","z-20","max-h-48","w-full","bg-white","divide-y","divide-gray-100","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","rounded-lg","shadow","overflow-y-auto"],["id","phoneNumber","formControlName","telephoneNumber","name","phoneNumber","type","number",1,"mb-2","bg-gray-50","border","text-gray-900","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5","dark:bg-secondary-300","dark:text-white",3,"ngClass"],[1,"flex","w-full","justify-end","col-span-2"],["type","button",1,"m-2","flex","w-fit","justify-center","items-center","py-3","px-5","text-base","font-medium","text-center","text-white","rounded-lg","bg-primary-100","focus:ring-4","focus:ring-primary-300","dark:focus:ring-primary-900",3,"disabled","ngClass"],["id","toast-warning","role","alert",1,"flex","m-2","items-center","w-fit","max-w-xs","p-4","text-gray-500","bg-white","rounded-lg","shadow","dark:text-gray-400","dark:bg-gray-800","fixed","top-1/2","right-0","z-50","justify-center"],[1,"fixed","w-fit","top-1/2","left-1/2","z-50",3,"message"],["aria-labelledby","dropdown-phone-button",1,"py-2","text-sm","text-gray-700"],["type","button","role","menuitem",1,"inline-flex","w-full","px-4","py-2","text-sm","text-gray-700","dark:text-white","hover:bg-gray-100","dark:hover:bg-secondary-200"],["type","button","role","menuitem",1,"inline-flex","w-full","px-4","py-2","text-sm","text-gray-700","dark:text-white","hover:bg-gray-100","dark:hover:bg-secondary-200",3,"click"],[1,"inline-flex","items-center"],["type","button",1,"m-2","flex","w-fit","justify-center","items-center","py-3","px-5","text-base","font-medium","text-center","text-white","rounded-lg","bg-primary-100","focus:ring-4","focus:ring-primary-300","dark:focus:ring-primary-900",3,"click","disabled","ngClass"],[1,"m-2","flex","w-fit","justify-center","items-center","py-3","px-5","text-base","font-medium","text-center","text-white","rounded-lg","bg-primary-100","focus:ring-4","focus:ring-primary-300","dark:focus:ring-primary-900",3,"click","disabled","ngClass"],[1,"inline-flex","items-center","justify-center","flex-shrink-0","w-8","h-8","bg-red-700","text-red-200","rounded-lg"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-5","h-5"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM10 15a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm1-4a1 1 0 0 1-2 0V6a1 1 0 0 1 2 0v5Z"],[1,"block","ms-3","text-sm","font-normal"],["type","button","data-dismiss-target","#toast-warning","aria-label","Close",1,"ms-auto","-mx-1.5","-my-1.5","bg-white","text-gray-400","hover:text-gray-900","rounded-lg","focus:ring-2","focus:ring-gray-300","p-1.5","hover:bg-gray-100","inline-flex","items-center","justify-center","h-8","w-8","dark:text-gray-500","dark:hover:text-white","dark:bg-gray-800","dark:hover:bg-gray-700"],[1,"sr-only"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-3","h-3"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"]],template:function(a,t){if(1&a&&(o(0,"form",0)(1,"div",1)(2,"label",2),f(3),m(4,"translate"),n(),v(5,"input",3),n(),o(6,"div")(7,"label",4),f(8),m(9,"translate"),n(),v(10,"input",5),n(),o(11,"div")(12,"label",6),f(13),m(14,"translate"),n(),v(15,"input",7),n(),o(16,"div")(17,"label",8),f(18),m(19,"translate"),n(),v(20,"input",9),n(),o(21,"div")(22,"label",10),f(23),m(24,"translate"),n(),v(25,"input",11),n(),o(26,"div",1)(27,"label",12),f(28),m(29,"translate"),n(),v(30,"textarea",13),n(),o(31,"div",1)(32,"label",14),f(33),m(34,"translate"),n(),v(35,"input",15),n(),o(36,"div",16)(37,"label",17),f(38),m(39,"translate"),n(),o(40,"select",18)(41,"option",19),f(42,"Mobile"),n(),o(43,"option",20),f(44,"Landline"),n(),o(45,"option",21),f(46,"Office"),n(),o(47,"option",22),f(48,"Home"),n(),o(49,"option",23),f(50,"Other"),n()()(),o(51,"div",16)(52,"label",24),f(53),m(54,"translate"),n(),o(55,"div",25)(56,"div",26)(57,"button",27),C("click",function(){return t.prefixCheck=!t.prefixCheck}),f(58),w(),o(59,"svg",28),v(60,"path",29),n()(),R(61,wI3,5,0,"div",30),O(),v(62,"input",31),n()()(),o(63,"div",32),R(64,FI3,3,5,"button",33)(65,kI3,3,5),n()(),R(66,DI3,12,2,"div",34)(67,TI3,1,1,"error-message",35)),2&a){let i,l;k("formGroup",t.billingForm),s(3),H(_(4,18,"BILLING._title")),s(5),H(_(9,20,"BILLING._country")),s(5),H(_(14,22,"BILLING._city")),s(5),H(_(19,24,"BILLING._state")),s(5),H(_(24,26,"BILLING._post_code")),s(5),H(_(29,28,"BILLING._street")),s(5),H(_(34,30,"BILLING._email")),s(2),k("ngClass",1==(null==(i=t.billingForm.get("email"))?null:i.invalid)&&""!=t.billingForm.value.email?"border-red-600":"border-gray-300"),s(3),H(_(39,32,"BILLING._phone_type")),s(15),H(_(54,34,"BILLING._phone")),s(5),j1(" ",t.phonePrefix.flag," ",t.phonePrefix.code," "),s(3),S(61,1==t.prefixCheck?61:-1),s(),k("ngClass",1==(null==(l=t.billingForm.get("telephoneNumber"))||null==l.errors?null:l.errors.invalidPhoneNumber)?"border-red-600":"border-gray-300 dark:border-secondary-200"),s(2),S(64,t.is_create?64:65),s(2),S(66,t.toastVisibility?66:-1),s(),S(67,t.showError?67:-1)}},dependencies:[k2,I4,x6,w6,H4,Ta,Ea,S4,O4,X4,f3,C4,X1]})}return c})();function EI3(c,r){if(1&c){const e=j();o(0,"div",11)(1,"div",25),C("click",function(t){return y(e),b(t.stopPropagation())}),o(2,"div",26)(3,"h5",27),f(4),m(5,"translate"),n(),o(6,"button",28),C("click",function(){return y(e),b(h().editBill=!1)}),w(),o(7,"svg",17),v(8,"path",18),n(),O(),o(9,"span",6),f(10),m(11,"translate"),n()()(),o(12,"div",29),v(13,"app-billing-account-form",30),n()()()}if(2&c){const e=h();k("ngClass",e.editBill?"backdrop-blur-sm":""),s(4),V("",_(5,4,"BILLING._edit"),":"),s(6),H(_(11,6,"CARD._close")),s(3),k("billAcc",e.data)}}function AI3(c,r){if(1&c){const e=j();o(0,"div",12)(1,"div",31),C("click",function(t){return y(e),b(t.stopPropagation())}),o(2,"div",32)(3,"button",33),C("click",function(t){return y(e),h().deleteBill=!1,b(t.stopPropagation())}),w(),o(4,"svg",34),v(5,"path",10),n(),O(),o(6,"span",6),f(7,"Close modal"),n()(),w(),o(8,"svg",35),v(9,"path",36),n(),O(),o(10,"p",37),f(11),m(12,"translate"),n(),o(13,"p",38)(14,"b"),f(15),n(),f(16),n(),o(17,"div",39)(18,"button",40),C("click",function(t){return y(e),h().deleteBill=!1,b(t.stopPropagation())}),f(19),m(20,"translate"),n(),o(21,"button",41),C("click",function(){y(e);const t=h();return b(t.onDeletedBill(t.data))}),f(22),m(23,"translate"),n()()()()()}if(2&c){const e=h();k("ngClass",e.deleteBill?"backdrop-blur-sm":""),s(11),H(_(12,8,"BILLING._confirm_delete")),s(4),H(e.data.name),s(),H6(": ",e.data.postalAddress.street,", ",e.data.postalAddress.city,", ",e.data.postalAddress.country,"."),s(3),V(" ",_(20,10,"BILLING._cancel")," "),s(3),V(" ",_(23,12,"BILLING._delete")," ")}}let PI3=(()=>{class c{constructor(e,a,t){this.localStorage=e,this.accountService=a,this.eventMessage=t,this.position=0,this.data={id:"",href:"",name:"",email:"",postalAddress:{city:"",country:"",postCode:"",stateOrProvince:"",street:""},telephoneNumber:"",telephoneType:"",selected:!1},this.selectedEvent=new Y1,this.deletedEvent=new Y1,this.editBill=!1,this.deleteBill=!1,this.eventMessage.messages$.subscribe(i=>{0==i.value&&(this.editBill=!1)})}onClick(){1==this.editBill&&(this.editBill=!1),1==this.deleteBill&&(this.deleteBill=!1)}selectBillingAddress(e){this.selectedEvent.emit(this.data),this.data.selected=!0}deleteBAddr(){console.log("deleting "+this.data.id),this.deletedEvent.emit(this.data)}onDeletedBill(e){console.log("--- DELETE BILLING ADDRESS ---"),this.deleteBill=!1}static#e=this.\u0275fac=function(a){return new(a||c)(B(A1),B(O2),B(e2))};static#c=this.\u0275cmp=V1({type:c,selectors:[["app-billing-address"]],hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},inputs:{position:"position",data:"data"},outputs:{selectedEvent:"selectedEvent",deletedEvent:"deletedEvent"},decls:36,vars:13,consts:[["role","radio","aria-checked","true","tabindex","0"],[1,"group","relative","cursor-pointer","rounded","border","p-4","hover:border-primary-50","border-primary-100","shadow-sm",3,"click","ngClass"],[1,"mb-3","text-sm","font-semibold","capitalize","text-heading","dark:text-white"],[1,"text-sm","text-sub-heading","dark:text-gray-200","text-wrap","break-all"],[1,"absolute","top-4","flex","space-x-2","opacity-0","group-hover:opacity-100","right-4"],[1,"flex","h-5","w-5","items-center","justify-center","rounded-full","bg-accent","text-light","dark:text-white",3,"click"],[1,"sr-only"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 20 20","fill","currentColor",1,"h-3","w-3"],["d","M13.586 3.586a2 2 0 112.828 2.828l-.793.793-2.828-2.828.793-.793zM11.379 5.793L3 14.172V17h2.828l8.38-8.379-2.83-2.828z"],[1,"flex","h-5","w-5","items-center","justify-center","rounded-full","bg-red-600","text-light",3,"click"],["fill-rule","evenodd","d","M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule","evenodd"],["id","edit-bill-modal","tabindex","-1","aria-hidden","true",1,"flex","justify-center","overflow-y-auto","overflow-x-hidden","fixed","top-0","right-0","left-0","z-50","justify-center","items-center","w-full","md:inset-0","h-[calc(100%-1rem)]","max-h-full","shadow-2xl",3,"ngClass"],["id","delete-bill-modal","tabindex","-1","aria-hidden","true",1,"flex","overflow-y-auto","overflow-x-hidden","fixed","top-0","right-0","left-0","z-50","justify-center","items-center","w-full","md:inset-0","h-modal","md:h-full","shadow-2xl",3,"ngClass"],["tabindex","-1",1,"hidden","overflow-y-auto","overflow-x-hidden","fixed","top-0","right-0","left-0","z-50","justify-center","items-center","w-full","md:inset-0","h-[calc(100%-1rem)]","max-h-full"],[1,"relative","p-4","w-full","max-w-md","max-h-full"],[1,"relative","bg-white","rounded-lg","shadow","dark:bg-gray-700"],["type","button","data-modal-hide","popup-modal",1,"absolute","top-3","end-2.5","text-gray-400","bg-transparent","hover:bg-gray-200","hover:text-gray-900","rounded-lg","text-sm","w-8","h-8","ms-auto","inline-flex","justify-center","items-center","dark:hover:bg-gray-600","dark:hover:text-white"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-3","h-3"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"],[1,"p-4","md:p-5","text-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 20 20",1,"mx-auto","mb-4","text-gray-400","w-12","h-12","dark:text-gray-200"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 11V6m0 8h.01M19 10a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"],[1,"mb-5","text-lg","font-normal","text-gray-500","dark:text-gray-400"],["type","button",1,"text-white","bg-red-600","hover:bg-red-800","focus:ring-4","focus:outline-none","focus:ring-red-300","dark:focus:ring-red-800","font-medium","rounded-lg","text-sm","inline-flex","items-center","px-5","py-2.5","text-center",3,"click"],["type","button",1,"py-2.5","px-5","ms-3","text-sm","font-medium","text-gray-900","focus:outline-none","bg-white","rounded-lg","border","border-gray-200","hover:bg-gray-100","hover:text-blue-700","focus:z-10","focus:ring-4","focus:ring-gray-100","dark:focus:ring-gray-700","dark:bg-gray-800","dark:text-gray-400","dark:border-gray-600","dark:hover:text-white","dark:hover:bg-gray-700"],[1,"w-1/2","relative","bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","rounded-lg","shadow","bg-cover","bg-right-bottom",3,"click"],[1,"flex","items-center","justify-between","pr-2","pt-2","rounded-t","dark:border-gray-600"],[1,"text-xl","ml-4","mr-4","font-semibold","tracking-tight","text-primary-100","dark:text-primary-100"],["type","button","data-modal-hide","edit-bill-modal",1,"text-gray-400","bg-transparent","hover:bg-gray-200","hover:text-gray-900","rounded-lg","text-sm","w-8","h-8","ms-auto","inline-flex","justify-center","items-center","dark:hover:bg-gray-600","dark:hover:text-white",3,"click"],[1,"w-full","h-full"],[3,"billAcc"],[1,"relative","p-4","w-full","max-w-md","h-full","md:h-auto",3,"click"],[1,"relative","p-4","text-center","bg-secondary-50","dark:bg-secondary-100","rounded-lg","shadow","sm:p-5"],["type","button",1,"text-gray-400","absolute","top-2.5","right-2.5","bg-transparent","hover:bg-gray-200","hover:text-gray-900","rounded-lg","text-sm","p-1.5","ml-auto","inline-flex","items-center",3,"click"],["aria-hidden","true","fill","currentColor","viewBox","0 0 20 20","xmlns","http://www.w3.org/2000/svg",1,"w-5","h-5"],["aria-hidden","true","fill","currentColor","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg",1,"text-gray-400","w-12","h-12","mb-3.5","mx-auto"],["fill-rule","evenodd","d","M9 2a1 1 0 00-.894.553L7.382 4H4a1 1 0 000 2v10a2 2 0 002 2h8a2 2 0 002-2V6a1 1 0 100-2h-3.382l-.724-1.447A1 1 0 0011 2H9zM7 8a1 1 0 012 0v6a1 1 0 11-2 0V8zm5-1a1 1 0 00-1 1v6a1 1 0 102 0V8a1 1 0 00-1-1z","clip-rule","evenodd"],[1,"mb-4","text-gray-500","dark:text-white"],[1,"mb-4","text-gray-500","dark:text-white","text-wrap","break-all"],[1,"flex","justify-center","items-center","space-x-4"],["type","button",1,"py-2","px-3","text-sm","font-medium","text-gray-500","dark:text-white","bg-white","dark:bg-primary-100","rounded-lg","border","border-gray-200","dark:border-secondary-300","hover:bg-gray-100","dark:hover:bg-secondary-200","focus:ring-4","focus:outline-none","focus:ring-primary-300","hover:text-gray-900","focus:z-10",3,"click"],["type","submit",1,"py-2","px-3","text-sm","font-medium","text-center","text-white","bg-red-800","hover:bg-red-900","rounded-lg","focus:ring-4","focus:outline-none","focus:ring-red-300",3,"click"]],template:function(a,t){1&a&&(o(0,"div",0)(1,"div",1),C("click",function(l){return t.selectBillingAddress(l)}),o(2,"p",2),f(3),n(),o(4,"p",3),f(5),n(),o(6,"div",4)(7,"button",5),C("click",function(l){return t.editBill=!0,l.stopPropagation()}),o(8,"span",6),f(9,"Edit"),n(),w(),o(10,"svg",7),v(11,"path",8),n()(),O(),o(12,"button",9),C("click",function(l){return t.deleteBill=!0,l.stopPropagation()}),o(13,"span",6),f(14,"Delete"),n(),w(),o(15,"svg",7),v(16,"path",10),n()()()()(),R(17,EI3,14,8,"div",11)(18,AI3,24,14,"div",12),O(),o(19,"div",13)(20,"div",14)(21,"div",15)(22,"button",16),w(),o(23,"svg",17),v(24,"path",18),n(),O(),o(25,"span",6),f(26,"Close modal"),n()(),o(27,"div",19),w(),o(28,"svg",20),v(29,"path",21),n(),O(),o(30,"h3",22),f(31),n(),o(32,"button",23),C("click",function(){return t.deleteBAddr()}),f(33," Yes, I'm sure "),n(),o(34,"button",24),f(35,"No, cancel"),n()()()()()),2&a&&(s(),k("ngClass",t.data.selected?"bg-primary-50/50 dark:bg-primary-100":"bg-gray-100 dark:bg-secondary-300"),s(2),H(t.data.name),s(2),Ch("",t.data.postalAddress.street,", ",t.data.postalAddress.postCode,", ",t.data.postalAddress.city,", ",t.data.postalAddress.stateOrProvince,", ",t.data.postalAddress.country,""),s(12),S(17,t.editBill?17:-1),s(),S(18,t.deleteBill?18:-1),s(),A2("id","popup-modal_"+t.position),s(12),V("Are you sure you want to delete the billing address called ",t.data.name,"?"),s(),A2("data-modal-hide","popup-modal_"+t.position),s(2),A2("data-modal-hide","popup-modal_"+t.position))},dependencies:[k2,ez,X1]})}return c})();const Zh1=(c,r)=>r.id;function RI3(c,r){1&c&&(o(0,"div",0)(1,"div",36)(2,"span",37),f(3),m(4,"translate"),n(),w(),o(5,"svg",38),v(6,"circle",39)(7,"path",40),n()()()),2&c&&(s(3),H(_(4,1,"SHOPPING_CART._loading_purchase")))}function BI3(c,r){if(1&c){const e=j();o(0,"app-billing-address",42),C("selectedEvent",function(t){return y(e),b(h(2).onSelected(t))})("deletedEvent",function(t){return y(e),b(h(2).onDeleted(t))}),n()}if(2&c){const a=r.$index;k("data",r.$implicit)("position",a)}}function OI3(c,r){if(1&c&&(o(0,"div",20),c1(1,BI3,1,2,"app-billing-address",41,Zh1),n()),2&c){const e=h();s(),a1(e.billingAddresses)}}function II3(c,r){1&c&&v(0,"app-billing-account-form",43),2&c&&k("preferred",!0)}function UI3(c,r){1&c&&v(0,"img",45),2&c&&D1("src",h().$implicit.image,h2)}function jI3(c,r){1&c&&v(0,"img",52)}function $I3(c,r){if(1&c&&(o(0,"div",48)(1,"span",53),f(2),n(),o(3,"span",54),f(4),n()()),2&c){let e,a;const t=h().$implicit,i=h();s(2),j1("",null==(e=i.getPrice(t))?null:e.price," ",null==(e=i.getPrice(t))?null:e.unit,""),s(2),H(null==(a=i.getPrice(t))?null:a.text)}}function YI3(c,r){if(1&c){const e=j();o(0,"div",27)(1,"button",44),C("click",function(){const t=y(e).$implicit;return b(h().deleteProduct(t))}),R(2,UI3,1,1,"img",45)(3,jI3,1,0),n(),o(4,"div",46)(5,"p",47),f(6),n()(),o(7,"div",46),R(8,$I3,5,3,"div",48),n(),o(9,"div",46)(10,"button",49),C("click",function(){const t=y(e).$implicit;return b(h().deleteProduct(t))}),w(),o(11,"svg",50),v(12,"path",51),n()()()()}if(2&c){const e=r.$implicit;s(2),S(2,e.image?2:3),s(4),H(e.name),s(2),S(8,e.options.pricing?8:-1)}}function GI3(c,r){if(1&c&&(o(0,"p",30),f(1),n()),2&c){const e=r.$implicit,a=h();s(),j1("",a.formatter.format(e.price)," ",e.text?e.text:"single","")}}function qI3(c,r){1&c&&(o(0,"span",30),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"SHOPPING_CART._calculated")))}function WI3(c,r){1&c&&(o(0,"span",30),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"SHOPPING_CART._free")))}function ZI3(c,r){1&c&&R(0,qI3,3,3,"span",30)(1,WI3,3,3),2&c&&S(0,h().check_custom?0:1)}function KI3(c,r){if(1&c){const e=j();o(0,"div",34)(1,"div",55),C("click",function(t){return y(e),b(t.stopPropagation())}),o(2,"div",56)(3,"h2",57),f(4),m(5,"translate"),n(),o(6,"button",58),C("click",function(){return y(e),b(h().addBill=!1)}),w(),o(7,"svg",59),v(8,"path",51),n(),O(),o(9,"span",60),f(10),m(11,"translate"),n()()(),o(12,"div",61),v(13,"app-billing-account-form",43),n()()()}if(2&c){const e=h();k("ngClass",e.addBill?"backdrop-blur-sm":""),s(4),V("",_(5,4,"BILLING._add"),":"),s(6),H(_(11,6,"CARD._close")),s(3),k("preferred",e.preferred)}}function QI3(c,r){1&c&&v(0,"error-message",35),2&c&&k("message",h().errorMessage)}class Il{static#e=this.BASE_URL=m1.BASE_URL;constructor(r,e,a,t,i,l,d,u,p){this.localStorage=r,this.account=e,this.orderService=a,this.eventMessage=t,this.priceService=i,this.cartService=l,this.api=d,this.cdr=u,this.router=p,this.faCartShopping=ya,this.PURCHASE_ENABLED=m1.PURCHASE_ENABLED,this.TAX_RATE=m1.TAX_RATE,this.items=[],this.showBackDrop=!0,this.billingAddresses=[],this.loading=!1,this.loading_baddrs=!1,this.addBill=!1,this.relatedParty="",this.contact={email:"",username:""},this.preferred=!1,this.loading_purchase=!1,this.check_custom=!1,this.errorMessage="",this.showError=!1,this.eventMessage.messages$.subscribe(z=>{"BillAccChanged"===z.type&&this.getBilling(),1==z.value&&(this.addBill=!1),"ChangedSession"===z.type&&this.initCheckoutData()})}onClick(){1==this.addBill&&(this.addBill=!1,this.cdr.detectChanges())}getPrice(r){return null!=r.options.pricing?"custom"==r.options.pricing.priceType?(this.check_custom=!0,null):{priceType:r.options.pricing.priceType,price:r.options.pricing.price?.value,unit:r.options.pricing.price?.unit,text:r.options.pricing.priceType?.toLocaleLowerCase()==b6.PRICE.RECURRING?r.options.pricing.recurringChargePeriodType:r.options.pricing.priceType?.toLocaleLowerCase()==b6.PRICE.USAGE?"/ "+r.options.pricing?.unitOfMeasure?.units:""}:null}getTotalPrice(){this.totalPrice=[];let r=!1;this.check_custom=!1,this.cdr.detectChanges();let e={};for(let a=0;a{console.log(t),console.log("PROD ORDER DONE"),r.cartService.emptyShoppingCart().subscribe({next:i=>{console.log(i),console.log("EMPTY")},error:i=>{r.loading_purchase=!1,r.cdr.detectChanges(),console.error("There was an error while updating!",i.error),i.error.error?(console.log(i),r.errorMessage="Error: "+i.error.error):r.errorMessage="There was an error while purchasing!",r.showError=!0,setTimeout(()=>{r.showError=!1},3e3)}}),r.loading_purchase=!1,r.goToInventory()},error:t=>{r.loading_purchase=!1,r.cdr.detectChanges(),console.error("There was an error during purchase!",t),t.error.error?(console.log(t),r.errorMessage="Error: "+t.error.error):r.errorMessage="There was an error while purchasing!",r.showError=!0,setTimeout(()=>{r.showError=!1},3e3)}})})()}ngOnInit(){this.formatter=new Intl.NumberFormat("es-ES",{style:"currency",currency:"EUR"}),this.initCheckoutData()}initCheckoutData(){let r=this.localStorage.getObject("login_items");if(r&&(this.contact.email=r.email,this.contact.username=r.username),r.logged_as==r.id)this.relatedParty=r.partyId;else{let e=r.organizations.find(a=>a.id==r.logged_as);this.relatedParty=e.partyId}console.log("--- Login Info ---"),console.log(r),this.cartService.getShoppingCart().then(e=>{console.log("---CARRITO API---"),console.log(e),this.items=e,this.cdr.detectChanges(),this.getTotalPrice(),console.log("------------------")}),console.log("--- ITEMS ---"),console.log(this.items),this.loading_baddrs=!0,this.getBilling()}getBilling(){let r=!1;this.billingAddresses=[],this.account.getBillingAccount().then(e=>{for(let a=0;a0)})}onSelected(r){for(let e of this.billingAddresses)e.selected=!1;this.selectedBillingAddress=r}onDeleted(r){console.log("Deleting billing account")}deleteProduct(r){this.cartService.removeItemShoppingCart(r.id).subscribe(()=>console.log("deleted")),this.eventMessage.emitRemovedCartItem(r),this.cartService.getShoppingCart().then(e=>{console.log("---CARRITO API---"),console.log(e),this.items=e,this.cdr.detectChanges(),this.getTotalPrice(),console.log("------------------")})}static#c=this.\u0275fac=function(e){return new(e||Il)(B(A1),B(O2),B(Y3),B(e2),B(M8),B(l3),B(p1),B(B1),B(Q1))};static#a=this.\u0275cmp=V1({type:Il,selectors:[["app-checkout"]],hostBindings:function(e,a){1&e&&C("click",function(){return a.onClick()},0,d4)},decls:89,vars:44,consts:[[1,"absolute","bg-white","dark:bg-gray-400","dark:bg-opacity-60","bg-opacity-60","z-10","h-full","w-full","flex","items-center","justify-center"],[1,"container","mx-auto","px-4","py-8","lg:py-10","lg:px-8","xl:py-14","xl:px-16","2xl:px-20"],[1,"mb-4","pb-2","mt-4","text-4xl","font-extrabold","leading-none","tracking-tight","text-gray-900","md:text-4xl","lg:text-5xl","dark:text-white","w-full"],[1,"underline","underline-offset-3","decoration-8","decoration-primary-100","dark:decoration-primary-100"],[1,"m-auto","flex","w-full","flex-col","items-center","rtl:space-x-reverse","lg:flex-row","lg:items-start","lg:space-x-8"],[1,"w-full","space-y-6"],[1,"bg-secondary-50","dark:bg-secondary-100","p-5","shadow-700","md:p-8","rounded","rounded-lg"],[1,"mb-5","flex","items-center","justify-between","md:mb-8"],[1,"flex","items-center","space-x-3","rtl:space-x-reverse","md:space-x-4"],[1,"flex","h-8","w-8","items-center","justify-center","rounded-full","bg-primary-100","text-base","text-white","lg:text-xl"],[1,"text-lg","capitalize","text-heading","lg:text-xl","dark:text-white"],[1,"w-full"],[1,""],[1,"special-label","dark:text-white"],[1,"text-lg","text-heading","lg:text-xl","dark:text-white"],[1,"flex","items-center","text-sm","font-semibold","text-accent","dark:text-white","transition-colors","duration-200","hover:text-accent-hover","focus:text-accent-hover","focus:outline-0",3,"click"],["fill","none","viewBox","0 0 24 24","stroke","currentColor",1,"h-4","w-4","stroke-2","ltr:mr-0.5","rtl:ml-0.5"],["stroke-linecap","round","stroke-linejoin","round","d","M12 6v6m0 0v6m0-6h6m-6 0H6"],["id","billing-addresses","role","radiogroup","aria-labelledby","billing-addresses"],["id","billing-addresses-label","role","none",1,"sr-only"],["role","none",1,"grid","grid-cols-1","gap-4","sm:grid-cols-2","md:grid-cols-3"],[1,"block"],["id","large-input","name","orderNote","autocomplete","off","autocorrect","off","autocapitalize","off","spellcheck","false","rows","4",1,"flex","w-full","dark:text-white","dark:bg-secondary-300","dark:border-secondary-200","dark:focus:border-primary-100","items-center","rounded","px-4","py-3","text-sm","text-heading","transition","duration-300","ease-in-out","focus:outline-0","focus:ring-0","border","border-border-base","focus:border-accent"],[1,"w-full","lg:w-3/4","rounded","rounded-lg","bg-secondary-50","dark:bg-secondary-100","p-4","mt-8","lg:mt-0"],[1,"mb-4","flex","flex-col","items-center","space-x-4","rtl:space-x-reverse"],[1,"text-2xl","text-start","font-bold","dark:text-white"],[1,"flex","flex-col","border-b","border-border-200","py-3"],[1,"flex","justify-between","w-full","mt-2","mb-2","rounded-lg","bg-white","border-secondary-50","dark:bg-primary-100","dark:border-secondary-200","border","shadow-lg"],[1,"mt-4","space-y-2"],[1,"flex","justify-between","text-primary-100","font-bold"],[1,"text-sm","text-body","dark:text-gray-200"],[1,"flex","flex-col","items-end"],[1,"flex","justify-between"],[1,"inline-flex","items-center","justify-center","shrink-0","font-semibold","leading-none","rounded","outline-none","transition","duration-300","ease-in-out","focus:outline-0","focus:shadow","focus:ring-1","focus:ring-accent-700","bg-primary-50","dark:bg-primary-100","text-white","border","border-transparent","hover:bg-secondary-100","dark:hover:bg-primary-50","px-5","py-0","h-12","mt-5","w-full",3,"click","disabled"],["id","add-bill-modal","tabindex","-1","aria-hidden","true",1,"flex","justify-center","overflow-y-auto","overflow-x-hidden","fixed","top-0","right-0","left-0","z-50","justify-center","items-center","w-full","md:inset-0","h-fit","lg:h-[calc(100%-1rem)]","max-h-full","shadow-2xl",3,"ngClass"],[1,"fixed","w-fit","top-1/2","left-1/2","z-50",3,"message"],[1,"flex","items-center"],[1,"text-3xl","text-bold","mr-4","text-primary-100"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"animate-spin","h-8","w-8","text-primary-100"],["cx","12","cy","12","r","10","stroke","currentColor","stroke-width","4",1,"opacity-25"],["fill","currentColor","d","M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",1,"opacity-75"],[3,"data","position"],[3,"selectedEvent","deletedEvent","data","position"],[3,"preferred"],["type","button",1,"flex","p-2","box-decoration-clone",3,"click"],["alt","",1,"rounded-lg","w-fit","h-[100px]",3,"src"],[1,"p-2","flex","items-center"],[1,"text-lg","text-gray-700","dark:text-gray-200"],[1,"flex","place-content-center","flex-col"],["type","button",1,"h-fit","text-gray-700","dark:text-white","hover:bg-gray-300","hover:text-white","dark:hover:text-blue-700","focus:ring-4","font-medium","rounded-full","text-sm","p-2.5","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-[12px]","h-[12px]"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"],["src","https://placehold.co/600x400/svg","alt","",1,"rounded-lg","w-fit","h-[100px]"],[1,"text-3xl","font-bold","text-primary-100","dark:text-white","mr-3"],[1,"text-xs","text-primary-100","dark:text-white"],[1,"w-4/5","lg:w-1/2","relative","bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","rounded-lg","shadow","bg-cover","bg-right-bottom",3,"click"],[1,"flex","items-center","justify-between","pr-2","pt-2","rounded-t","dark:border-gray-600"],[1,"md:text-3xl","lg:text-4xl","font-bold","text-primary-100","ml-4","dark:text-white","m-4"],["type","button","data-modal-hide","edit-bill-modal",1,"text-gray-400","bg-transparent","hover:bg-gray-200","hover:text-gray-900","rounded-lg","text-sm","w-8","h-8","ms-auto","inline-flex","justify-center","items-center","dark:hover:bg-gray-600","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-3","h-3"],[1,"sr-only"],[1,"w-full","h-full"]],template:function(e,a){1&e&&(R(0,RI3,8,3,"div",0),o(1,"div",1)(2,"h1",2)(3,"span",3),f(4),m(5,"translate"),n()(),o(6,"div",4)(7,"div",5)(8,"div",6)(9,"div",7)(10,"div",8)(11,"span",9),f(12,"1"),n(),o(13,"p",10),f(14),m(15,"translate"),n()()(),o(16,"div",11)(17,"div",12)(18,"div",13),f(19),m(20,"translate"),n(),o(21,"p",14),f(22),n()()()(),o(23,"div",6)(24,"div",7)(25,"div",8)(26,"span",9),f(27,"2"),n(),o(28,"p",10),f(29),m(30,"translate"),n()(),o(31,"button",15),C("click",function(i){return a.addBill=!0,i.stopPropagation()}),w(),o(32,"svg",16),v(33,"path",17),n(),f(34," Add "),n()(),O(),o(35,"div",18)(36,"label",19),f(37),m(38,"translate"),n(),R(39,OI3,3,0,"div",20)(40,II3,1,1),n()(),o(41,"div",6)(42,"div",7)(43,"div",8)(44,"span",9),f(45,"3"),n(),o(46,"p",10),f(47),m(48,"translate"),n()()(),o(49,"div",21)(50,"div")(51,"textarea",22),f(52," "),n()()()()(),o(53,"div",23)(54,"div",11)(55,"div",24)(56,"span",25),f(57),m(58,"translate"),n()(),o(59,"div",26),c1(60,YI3,13,3,"div",27,Zh1),n(),o(62,"div",28)(63,"div",29)(64,"p",30),f(65),m(66,"translate"),n(),o(67,"div",31),c1(68,GI3,2,2,"p",30,z1,!1,ZI3,2,1),n()(),o(71,"div",32)(72,"p",30),f(73,"Tax"),n(),o(74,"span",30),f(75),m(76,"translate"),n()(),o(77,"div",32)(78,"p",30),f(79),m(80,"translate"),n(),o(81,"span",30),f(82),m(83,"translate"),n()()(),o(84,"button",33),C("click",function(){return a.orderProduct()}),f(85),m(86,"translate"),n()()()()(),R(87,KI3,14,8,"div",34)(88,QI3,1,1,"error-message",35)),2&e&&(S(0,a.loading_purchase?0:-1),s(4),H(_(5,20,"SHOPPING_CART._checkout")),s(10),H(_(15,22,"SHOPPING_CART._contact")),s(5),H(_(20,24,"SHOPPING_CART._contact_person")),s(3),j1("",a.contact.username," ",a.contact.email,""),s(7),H(_(30,26,"SHOPPING_CART._billingAddress")),s(8),H(_(38,28,"SHOPPING_CART._billingAddress")),s(2),S(39,a.billingAddresses.length>0?39:40),s(8),H(_(48,30,"SHOPPING_CART._order_note")),s(10),H(_(58,32,"SHOPPING_CART._your_order")),s(3),a1(a.items),s(5),H(_(66,34,"SHOPPING_CART._subtotal")),s(3),a1(a.totalPrice),s(7),H(_(76,36,"SHOPPING_CART._calculated")),s(4),H(_(80,38,"SHOPPING_CART._fee")),s(3),H(_(83,40,"SHOPPING_CART._calculated")),s(2),k("disabled",!a.PURCHASE_ENABLED),s(),V(" ",_(86,42,"SHOPPING_CART._checkout")," "),s(2),S(87,a.addBill?87:-1),s(),S(88,a.showError?88:-1))},dependencies:[k2,PI3,ez,C4,X1]})}class Q0{static#e=this.BASE_URL=m1.BASE_URL;constructor(r){this.http=r}uploadFile(r){return this.http.post(`${Q0.BASE_URL}/charging/api/assetManagement/assets/uploadJob`,r)}static#c=this.\u0275fac=function(e){return new(e||Q0)(f1(V3))};static#a=this.\u0275prov=g1({token:Q0,factory:Q0.\u0275fac,providedIn:"root"})}const JI3=["addListener","removeListener"],XI3=["addEventListener","removeEventListener"],eU3=["on","off"];function Qt(c,r,e,a){if(b2(e)&&(a=e,e=void 0),a)return Qt(c,r,e).pipe(Qm(a));const[t,i]=function rU3(c){return b2(c.addEventListener)&&b2(c.removeEventListener)}(c)?XI3.map(l=>d=>c[l](r,d,e)):function cU3(c){return b2(c.addListener)&&b2(c.removeListener)}(c)?JI3.map(Kh1(c,r)):function aU3(c){return b2(c.on)&&b2(c.off)}(c)?eU3.map(Kh1(c,r)):[];if(!t&&Mm(c))return n3(l=>Qt(l,r,e))(U3(c));if(!t)throw new TypeError("Invalid event target");return new l4(l=>{const d=(...u)=>l.next(1i(d)})}function Kh1(c,r){return e=>a=>c[e](r,a)}const tU3=["button"],Qh1=["*","*"];function iU3(c,r){1&c&&f(0),2&c&&H(h(3).unified)}function oU3(c,r){if(1&c&&(o(0,"button",4,1)(2,"span",5),R(3,iU3,1,1,"ng-template",2),Mr(4),n()()),2&c){const e=h(2);A6("emoji-mart-emoji-native",e.isNative)("emoji-mart-emoji-custom",e.custom),A2("title",e.title)("aria-label",e.label),s(2),k("ngStyle",e.style),s(),k("ngIf",e.isNative)}}function nU3(c,r){if(1&c&&R(0,oU3,5,8,"button",3),2&c){const e=h(),a=Lr(2);k("ngIf",e.useButton)("ngIfElse",a)}}function sU3(c,r){1&c&&f(0),2&c&&H(h(2).unified)}function lU3(c,r){if(1&c&&(o(0,"span",6,1)(2,"span",5),R(3,sU3,1,1,"ng-template",2),Mr(4,1),n()()),2&c){const e=h();A6("emoji-mart-emoji-native",e.isNative)("emoji-mart-emoji-custom",e.custom),A2("title",e.title)("aria-label",e.label),s(2),k("ngStyle",e.style),s(),k("ngIf",e.isNative)}}const Jh1=[{id:"people",name:"Smileys & People",emojis:["1F600","1F603","1F604","1F601","1F606","1F605","1F923","1F602","1F642","1F643","1FAE0","1F609","1F60A","1F607","1F970","1F60D","1F929","1F618","1F617","263A-FE0F","1F61A","1F619","1F972","1F60B","1F61B","1F61C","1F92A","1F61D","1F911","1F917","1F92D","1FAE2","1FAE3","1F92B","1F914","1FAE1","1F910","1F928","1F610","1F611","1F636","1FAE5","1F636-200D-1F32B-FE0F","1F60F","1F612","1F644","1F62C","1F62E-200D-1F4A8","1F925","1F60C","1F614","1F62A","1F924","1F634","1F637","1F912","1F915","1F922","1F92E","1F927","1F975","1F976","1F974","1F635","1F635-200D-1F4AB","1F92F","1F920","1F973","1F978","1F60E","1F913","1F9D0","1F615","1FAE4","1F61F","1F641","2639-FE0F","1F62E","1F62F","1F632","1F633","1F97A","1F979","1F626","1F627","1F628","1F630","1F625","1F622","1F62D","1F631","1F616","1F623","1F61E","1F613","1F629","1F62B","1F971","1F624","1F621","1F620","1F92C","1F608","1F47F","1F480","2620-FE0F","1F4A9","1F921","1F479","1F47A","1F47B","1F47D","1F47E","1F916","1F44B","1F91A","1F590-FE0F","270B","1F596","1FAF1","1FAF2","1FAF3","1FAF4","1F44C","1F90C","1F90F","270C-FE0F","1F91E","1FAF0","1F91F","1F918","1F919","1F448","1F449","1F446","1F595","1F447","261D-FE0F","1FAF5","1F44D","1F44E","270A","1F44A","1F91B","1F91C","1F44F","1F64C","1FAF6","1F450","1F932","1F91D","1F64F","270D-FE0F","1F485","1F933","1F4AA","1F9BE","1F9BF","1F9B5","1F9B6","1F442","1F9BB","1F443","1F9E0","1FAC0","1FAC1","1F9B7","1F9B4","1F440","1F441-FE0F","1F445","1F444","1FAE6","1F476","1F9D2","1F466","1F467","1F9D1","1F471","1F468","1F9D4","1F9D4-200D-2642-FE0F","1F9D4-200D-2640-FE0F","1F468-200D-1F9B0","1F468-200D-1F9B1","1F468-200D-1F9B3","1F468-200D-1F9B2","1F469","1F469-200D-1F9B0","1F9D1-200D-1F9B0","1F469-200D-1F9B1","1F9D1-200D-1F9B1","1F469-200D-1F9B3","1F9D1-200D-1F9B3","1F469-200D-1F9B2","1F9D1-200D-1F9B2","1F471-200D-2640-FE0F","1F471-200D-2642-FE0F","1F9D3","1F474","1F475","1F64D","1F64D-200D-2642-FE0F","1F64D-200D-2640-FE0F","1F64E","1F64E-200D-2642-FE0F","1F64E-200D-2640-FE0F","1F645","1F645-200D-2642-FE0F","1F645-200D-2640-FE0F","1F646","1F646-200D-2642-FE0F","1F646-200D-2640-FE0F","1F481","1F481-200D-2642-FE0F","1F481-200D-2640-FE0F","1F64B","1F64B-200D-2642-FE0F","1F64B-200D-2640-FE0F","1F9CF","1F9CF-200D-2642-FE0F","1F9CF-200D-2640-FE0F","1F647","1F647-200D-2642-FE0F","1F647-200D-2640-FE0F","1F926","1F926-200D-2642-FE0F","1F926-200D-2640-FE0F","1F937","1F937-200D-2642-FE0F","1F937-200D-2640-FE0F","1F9D1-200D-2695-FE0F","1F468-200D-2695-FE0F","1F469-200D-2695-FE0F","1F9D1-200D-1F393","1F468-200D-1F393","1F469-200D-1F393","1F9D1-200D-1F3EB","1F468-200D-1F3EB","1F469-200D-1F3EB","1F9D1-200D-2696-FE0F","1F468-200D-2696-FE0F","1F469-200D-2696-FE0F","1F9D1-200D-1F33E","1F468-200D-1F33E","1F469-200D-1F33E","1F9D1-200D-1F373","1F468-200D-1F373","1F469-200D-1F373","1F9D1-200D-1F527","1F468-200D-1F527","1F469-200D-1F527","1F9D1-200D-1F3ED","1F468-200D-1F3ED","1F469-200D-1F3ED","1F9D1-200D-1F4BC","1F468-200D-1F4BC","1F469-200D-1F4BC","1F9D1-200D-1F52C","1F468-200D-1F52C","1F469-200D-1F52C","1F9D1-200D-1F4BB","1F468-200D-1F4BB","1F469-200D-1F4BB","1F9D1-200D-1F3A4","1F468-200D-1F3A4","1F469-200D-1F3A4","1F9D1-200D-1F3A8","1F468-200D-1F3A8","1F469-200D-1F3A8","1F9D1-200D-2708-FE0F","1F468-200D-2708-FE0F","1F469-200D-2708-FE0F","1F9D1-200D-1F680","1F468-200D-1F680","1F469-200D-1F680","1F9D1-200D-1F692","1F468-200D-1F692","1F469-200D-1F692","1F46E","1F46E-200D-2642-FE0F","1F46E-200D-2640-FE0F","1F575-FE0F","1F575-FE0F-200D-2642-FE0F","1F575-FE0F-200D-2640-FE0F","1F482","1F482-200D-2642-FE0F","1F482-200D-2640-FE0F","1F977","1F477","1F477-200D-2642-FE0F","1F477-200D-2640-FE0F","1FAC5","1F934","1F478","1F473","1F473-200D-2642-FE0F","1F473-200D-2640-FE0F","1F472","1F9D5","1F935","1F935-200D-2642-FE0F","1F935-200D-2640-FE0F","1F470","1F470-200D-2642-FE0F","1F470-200D-2640-FE0F","1F930","1FAC3","1FAC4","1F931","1F469-200D-1F37C","1F468-200D-1F37C","1F9D1-200D-1F37C","1F47C","1F385","1F936","1F9D1-200D-1F384","1F9B8","1F9B8-200D-2642-FE0F","1F9B8-200D-2640-FE0F","1F9B9","1F9B9-200D-2642-FE0F","1F9B9-200D-2640-FE0F","1F9D9","1F9D9-200D-2642-FE0F","1F9D9-200D-2640-FE0F","1F9DA","1F9DA-200D-2642-FE0F","1F9DA-200D-2640-FE0F","1F9DB","1F9DB-200D-2642-FE0F","1F9DB-200D-2640-FE0F","1F9DC","1F9DC-200D-2642-FE0F","1F9DC-200D-2640-FE0F","1F9DD","1F9DD-200D-2642-FE0F","1F9DD-200D-2640-FE0F","1F9DE","1F9DE-200D-2642-FE0F","1F9DE-200D-2640-FE0F","1F9DF","1F9DF-200D-2642-FE0F","1F9DF-200D-2640-FE0F","1F9CC","1F486","1F486-200D-2642-FE0F","1F486-200D-2640-FE0F","1F487","1F487-200D-2642-FE0F","1F487-200D-2640-FE0F","1F6B6","1F6B6-200D-2642-FE0F","1F6B6-200D-2640-FE0F","1F9CD","1F9CD-200D-2642-FE0F","1F9CD-200D-2640-FE0F","1F9CE","1F9CE-200D-2642-FE0F","1F9CE-200D-2640-FE0F","1F9D1-200D-1F9AF","1F468-200D-1F9AF","1F469-200D-1F9AF","1F9D1-200D-1F9BC","1F468-200D-1F9BC","1F469-200D-1F9BC","1F9D1-200D-1F9BD","1F468-200D-1F9BD","1F469-200D-1F9BD","1F3C3","1F3C3-200D-2642-FE0F","1F3C3-200D-2640-FE0F","1F483","1F57A","1F574-FE0F","1F46F","1F46F-200D-2642-FE0F","1F46F-200D-2640-FE0F","1F9D6","1F9D6-200D-2642-FE0F","1F9D6-200D-2640-FE0F","1F9D7","1F9D7-200D-2642-FE0F","1F9D7-200D-2640-FE0F","1F93A","1F3C7","26F7-FE0F","1F3C2","1F3CC-FE0F","1F3CC-FE0F-200D-2642-FE0F","1F3CC-FE0F-200D-2640-FE0F","1F3C4","1F3C4-200D-2642-FE0F","1F3C4-200D-2640-FE0F","1F6A3","1F6A3-200D-2642-FE0F","1F6A3-200D-2640-FE0F","1F3CA","1F3CA-200D-2642-FE0F","1F3CA-200D-2640-FE0F","26F9-FE0F","26F9-FE0F-200D-2642-FE0F","26F9-FE0F-200D-2640-FE0F","1F3CB-FE0F","1F3CB-FE0F-200D-2642-FE0F","1F3CB-FE0F-200D-2640-FE0F","1F6B4","1F6B4-200D-2642-FE0F","1F6B4-200D-2640-FE0F","1F6B5","1F6B5-200D-2642-FE0F","1F6B5-200D-2640-FE0F","1F938","1F938-200D-2642-FE0F","1F938-200D-2640-FE0F","1F93C","1F93C-200D-2642-FE0F","1F93C-200D-2640-FE0F","1F93D","1F93D-200D-2642-FE0F","1F93D-200D-2640-FE0F","1F93E","1F93E-200D-2642-FE0F","1F93E-200D-2640-FE0F","1F939","1F939-200D-2642-FE0F","1F939-200D-2640-FE0F","1F9D8","1F9D8-200D-2642-FE0F","1F9D8-200D-2640-FE0F","1F6C0","1F6CC","1F9D1-200D-1F91D-200D-1F9D1","1F46D","1F46B","1F46C","1F48F","1F469-200D-2764-FE0F-200D-1F48B-200D-1F468","1F468-200D-2764-FE0F-200D-1F48B-200D-1F468","1F469-200D-2764-FE0F-200D-1F48B-200D-1F469","1F491","1F469-200D-2764-FE0F-200D-1F468","1F468-200D-2764-FE0F-200D-1F468","1F469-200D-2764-FE0F-200D-1F469","1F46A","1F468-200D-1F469-200D-1F466","1F468-200D-1F469-200D-1F467","1F468-200D-1F469-200D-1F467-200D-1F466","1F468-200D-1F469-200D-1F466-200D-1F466","1F468-200D-1F469-200D-1F467-200D-1F467","1F468-200D-1F468-200D-1F466","1F468-200D-1F468-200D-1F467","1F468-200D-1F468-200D-1F467-200D-1F466","1F468-200D-1F468-200D-1F466-200D-1F466","1F468-200D-1F468-200D-1F467-200D-1F467","1F469-200D-1F469-200D-1F466","1F469-200D-1F469-200D-1F467","1F469-200D-1F469-200D-1F467-200D-1F466","1F469-200D-1F469-200D-1F466-200D-1F466","1F469-200D-1F469-200D-1F467-200D-1F467","1F468-200D-1F466","1F468-200D-1F466-200D-1F466","1F468-200D-1F467","1F468-200D-1F467-200D-1F466","1F468-200D-1F467-200D-1F467","1F469-200D-1F466","1F469-200D-1F466-200D-1F466","1F469-200D-1F467","1F469-200D-1F467-200D-1F466","1F469-200D-1F467-200D-1F467","1F5E3-FE0F","1F464","1F465","1FAC2","1F463","1F63A","1F638","1F639","1F63B","1F63C","1F63D","1F640","1F63F","1F63E","1F648","1F649","1F64A","1F48B","1F48C","1F498","1F49D","1F496","1F497","1F493","1F49E","1F495","1F49F","2763-FE0F","1F494","2764-FE0F-200D-1F525","2764-FE0F-200D-1FA79","2764-FE0F","1F9E1","1F49B","1F49A","1F499","1F49C","1F90E","1F5A4","1F90D","1F4AF","1F4A2","1F4A5","1F4AB","1F4A6","1F4A8","1F573-FE0F","1F4A3","1F4AC","1F441-FE0F-200D-1F5E8-FE0F","1F5E8-FE0F","1F5EF-FE0F","1F4AD","1F4A4"]},{id:"nature",name:"Animals & Nature",emojis:["1F435","1F412","1F98D","1F9A7","1F436","1F415","1F9AE","1F415-200D-1F9BA","1F429","1F43A","1F98A","1F99D","1F431","1F408","1F408-200D-2B1B","1F981","1F42F","1F405","1F406","1F434","1F40E","1F984","1F993","1F98C","1F9AC","1F42E","1F402","1F403","1F404","1F437","1F416","1F417","1F43D","1F40F","1F411","1F410","1F42A","1F42B","1F999","1F992","1F418","1F9A3","1F98F","1F99B","1F42D","1F401","1F400","1F439","1F430","1F407","1F43F-FE0F","1F9AB","1F994","1F987","1F43B","1F43B-200D-2744-FE0F","1F428","1F43C","1F9A5","1F9A6","1F9A8","1F998","1F9A1","1F43E","1F983","1F414","1F413","1F423","1F424","1F425","1F426","1F427","1F54A-FE0F","1F985","1F986","1F9A2","1F989","1F9A4","1FAB6","1F9A9","1F99A","1F99C","1F438","1F40A","1F422","1F98E","1F40D","1F432","1F409","1F995","1F996","1F433","1F40B","1F42C","1F9AD","1F41F","1F420","1F421","1F988","1F419","1F41A","1FAB8","1F40C","1F98B","1F41B","1F41C","1F41D","1FAB2","1F41E","1F997","1FAB3","1F577-FE0F","1F578-FE0F","1F982","1F99F","1FAB0","1FAB1","1F9A0","1F490","1F338","1F4AE","1FAB7","1F3F5-FE0F","1F339","1F940","1F33A","1F33B","1F33C","1F337","1F331","1FAB4","1F332","1F333","1F334","1F335","1F33E","1F33F","2618-FE0F","1F340","1F341","1F342","1F343","1FAB9","1FABA"]},{id:"foods",name:"Food & Drink",emojis:["1F347","1F348","1F349","1F34A","1F34B","1F34C","1F34D","1F96D","1F34E","1F34F","1F350","1F351","1F352","1F353","1FAD0","1F95D","1F345","1FAD2","1F965","1F951","1F346","1F954","1F955","1F33D","1F336-FE0F","1FAD1","1F952","1F96C","1F966","1F9C4","1F9C5","1F344","1F95C","1FAD8","1F330","1F35E","1F950","1F956","1FAD3","1F968","1F96F","1F95E","1F9C7","1F9C0","1F356","1F357","1F969","1F953","1F354","1F35F","1F355","1F32D","1F96A","1F32E","1F32F","1FAD4","1F959","1F9C6","1F95A","1F373","1F958","1F372","1FAD5","1F963","1F957","1F37F","1F9C8","1F9C2","1F96B","1F371","1F358","1F359","1F35A","1F35B","1F35C","1F35D","1F360","1F362","1F363","1F364","1F365","1F96E","1F361","1F95F","1F960","1F961","1F980","1F99E","1F990","1F991","1F9AA","1F366","1F367","1F368","1F369","1F36A","1F382","1F370","1F9C1","1F967","1F36B","1F36C","1F36D","1F36E","1F36F","1F37C","1F95B","2615","1FAD6","1F375","1F376","1F37E","1F377","1F378","1F379","1F37A","1F37B","1F942","1F943","1FAD7","1F964","1F9CB","1F9C3","1F9C9","1F9CA","1F962","1F37D-FE0F","1F374","1F944","1F52A","1FAD9","1F3FA"]},{id:"activity",name:"Activities",emojis:["1F383","1F384","1F386","1F387","1F9E8","2728","1F388","1F389","1F38A","1F38B","1F38D","1F38E","1F38F","1F390","1F391","1F9E7","1F380","1F381","1F397-FE0F","1F39F-FE0F","1F3AB","1F396-FE0F","1F3C6","1F3C5","1F947","1F948","1F949","26BD","26BE","1F94E","1F3C0","1F3D0","1F3C8","1F3C9","1F3BE","1F94F","1F3B3","1F3CF","1F3D1","1F3D2","1F94D","1F3D3","1F3F8","1F94A","1F94B","1F945","26F3","26F8-FE0F","1F3A3","1F93F","1F3BD","1F3BF","1F6F7","1F94C","1F3AF","1FA80","1FA81","1F3B1","1F52E","1FA84","1F9FF","1FAAC","1F3AE","1F579-FE0F","1F3B0","1F3B2","1F9E9","1F9F8","1FA85","1FAA9","1FA86","2660-FE0F","2665-FE0F","2666-FE0F","2663-FE0F","265F-FE0F","1F0CF","1F004","1F3B4","1F3AD","1F5BC-FE0F","1F3A8","1F9F5","1FAA1","1F9F6","1FAA2"]},{id:"places",name:"Travel & Places",emojis:["1F30D","1F30E","1F30F","1F310","1F5FA-FE0F","1F5FE","1F9ED","1F3D4-FE0F","26F0-FE0F","1F30B","1F5FB","1F3D5-FE0F","1F3D6-FE0F","1F3DC-FE0F","1F3DD-FE0F","1F3DE-FE0F","1F3DF-FE0F","1F3DB-FE0F","1F3D7-FE0F","1F9F1","1FAA8","1FAB5","1F6D6","1F3D8-FE0F","1F3DA-FE0F","1F3E0","1F3E1","1F3E2","1F3E3","1F3E4","1F3E5","1F3E6","1F3E8","1F3E9","1F3EA","1F3EB","1F3EC","1F3ED","1F3EF","1F3F0","1F492","1F5FC","1F5FD","26EA","1F54C","1F6D5","1F54D","26E9-FE0F","1F54B","26F2","26FA","1F301","1F303","1F3D9-FE0F","1F304","1F305","1F306","1F307","1F309","2668-FE0F","1F3A0","1F6DD","1F3A1","1F3A2","1F488","1F3AA","1F682","1F683","1F684","1F685","1F686","1F687","1F688","1F689","1F68A","1F69D","1F69E","1F68B","1F68C","1F68D","1F68E","1F690","1F691","1F692","1F693","1F694","1F695","1F696","1F697","1F698","1F699","1F6FB","1F69A","1F69B","1F69C","1F3CE-FE0F","1F3CD-FE0F","1F6F5","1F9BD","1F9BC","1F6FA","1F6B2","1F6F4","1F6F9","1F6FC","1F68F","1F6E3-FE0F","1F6E4-FE0F","1F6E2-FE0F","26FD","1F6DE","1F6A8","1F6A5","1F6A6","1F6D1","1F6A7","2693","1F6DF","26F5","1F6F6","1F6A4","1F6F3-FE0F","26F4-FE0F","1F6E5-FE0F","1F6A2","2708-FE0F","1F6E9-FE0F","1F6EB","1F6EC","1FA82","1F4BA","1F681","1F69F","1F6A0","1F6A1","1F6F0-FE0F","1F680","1F6F8","1F6CE-FE0F","1F9F3","231B","23F3","231A","23F0","23F1-FE0F","23F2-FE0F","1F570-FE0F","1F55B","1F567","1F550","1F55C","1F551","1F55D","1F552","1F55E","1F553","1F55F","1F554","1F560","1F555","1F561","1F556","1F562","1F557","1F563","1F558","1F564","1F559","1F565","1F55A","1F566","1F311","1F312","1F313","1F314","1F315","1F316","1F317","1F318","1F319","1F31A","1F31B","1F31C","1F321-FE0F","2600-FE0F","1F31D","1F31E","1FA90","2B50","1F31F","1F320","1F30C","2601-FE0F","26C5","26C8-FE0F","1F324-FE0F","1F325-FE0F","1F326-FE0F","1F327-FE0F","1F328-FE0F","1F329-FE0F","1F32A-FE0F","1F32B-FE0F","1F32C-FE0F","1F300","1F308","1F302","2602-FE0F","2614","26F1-FE0F","26A1","2744-FE0F","2603-FE0F","26C4","2604-FE0F","1F525","1F4A7","1F30A"]},{id:"objects",name:"Objects",emojis:["1F453","1F576-FE0F","1F97D","1F97C","1F9BA","1F454","1F455","1F456","1F9E3","1F9E4","1F9E5","1F9E6","1F457","1F458","1F97B","1FA71","1FA72","1FA73","1F459","1F45A","1F45B","1F45C","1F45D","1F6CD-FE0F","1F392","1FA74","1F45E","1F45F","1F97E","1F97F","1F460","1F461","1FA70","1F462","1F451","1F452","1F3A9","1F393","1F9E2","1FA96","26D1-FE0F","1F4FF","1F484","1F48D","1F48E","1F507","1F508","1F509","1F50A","1F4E2","1F4E3","1F4EF","1F514","1F515","1F3BC","1F3B5","1F3B6","1F399-FE0F","1F39A-FE0F","1F39B-FE0F","1F3A4","1F3A7","1F4FB","1F3B7","1FA97","1F3B8","1F3B9","1F3BA","1F3BB","1FA95","1F941","1FA98","1F4F1","1F4F2","260E-FE0F","1F4DE","1F4DF","1F4E0","1F50B","1FAAB","1F50C","1F4BB","1F5A5-FE0F","1F5A8-FE0F","2328-FE0F","1F5B1-FE0F","1F5B2-FE0F","1F4BD","1F4BE","1F4BF","1F4C0","1F9EE","1F3A5","1F39E-FE0F","1F4FD-FE0F","1F3AC","1F4FA","1F4F7","1F4F8","1F4F9","1F4FC","1F50D","1F50E","1F56F-FE0F","1F4A1","1F526","1F3EE","1FA94","1F4D4","1F4D5","1F4D6","1F4D7","1F4D8","1F4D9","1F4DA","1F4D3","1F4D2","1F4C3","1F4DC","1F4C4","1F4F0","1F5DE-FE0F","1F4D1","1F516","1F3F7-FE0F","1F4B0","1FA99","1F4B4","1F4B5","1F4B6","1F4B7","1F4B8","1F4B3","1F9FE","1F4B9","2709-FE0F","1F4E7","1F4E8","1F4E9","1F4E4","1F4E5","1F4E6","1F4EB","1F4EA","1F4EC","1F4ED","1F4EE","1F5F3-FE0F","270F-FE0F","2712-FE0F","1F58B-FE0F","1F58A-FE0F","1F58C-FE0F","1F58D-FE0F","1F4DD","1F4BC","1F4C1","1F4C2","1F5C2-FE0F","1F4C5","1F4C6","1F5D2-FE0F","1F5D3-FE0F","1F4C7","1F4C8","1F4C9","1F4CA","1F4CB","1F4CC","1F4CD","1F4CE","1F587-FE0F","1F4CF","1F4D0","2702-FE0F","1F5C3-FE0F","1F5C4-FE0F","1F5D1-FE0F","1F512","1F513","1F50F","1F510","1F511","1F5DD-FE0F","1F528","1FA93","26CF-FE0F","2692-FE0F","1F6E0-FE0F","1F5E1-FE0F","2694-FE0F","1F52B","1FA83","1F3F9","1F6E1-FE0F","1FA9A","1F527","1FA9B","1F529","2699-FE0F","1F5DC-FE0F","2696-FE0F","1F9AF","1F517","26D3-FE0F","1FA9D","1F9F0","1F9F2","1FA9C","2697-FE0F","1F9EA","1F9EB","1F9EC","1F52C","1F52D","1F4E1","1F489","1FA78","1F48A","1FA79","1FA7C","1FA7A","1FA7B","1F6AA","1F6D7","1FA9E","1FA9F","1F6CF-FE0F","1F6CB-FE0F","1FA91","1F6BD","1FAA0","1F6BF","1F6C1","1FAA4","1FA92","1F9F4","1F9F7","1F9F9","1F9FA","1F9FB","1FAA3","1F9FC","1FAE7","1FAA5","1F9FD","1F9EF","1F6D2","1F6AC","26B0-FE0F","1FAA6","26B1-FE0F","1F5FF","1FAA7","1FAAA"]},{id:"symbols",name:"Symbols",emojis:["1F3E7","1F6AE","1F6B0","267F","1F6B9","1F6BA","1F6BB","1F6BC","1F6BE","1F6C2","1F6C3","1F6C4","1F6C5","26A0-FE0F","1F6B8","26D4","1F6AB","1F6B3","1F6AD","1F6AF","1F6B1","1F6B7","1F4F5","1F51E","2622-FE0F","2623-FE0F","2B06-FE0F","2197-FE0F","27A1-FE0F","2198-FE0F","2B07-FE0F","2199-FE0F","2B05-FE0F","2196-FE0F","2195-FE0F","2194-FE0F","21A9-FE0F","21AA-FE0F","2934-FE0F","2935-FE0F","1F503","1F504","1F519","1F51A","1F51B","1F51C","1F51D","1F6D0","269B-FE0F","1F549-FE0F","2721-FE0F","2638-FE0F","262F-FE0F","271D-FE0F","2626-FE0F","262A-FE0F","262E-FE0F","1F54E","1F52F","2648","2649","264A","264B","264C","264D","264E","264F","2650","2651","2652","2653","26CE","1F500","1F501","1F502","25B6-FE0F","23E9","23ED-FE0F","23EF-FE0F","25C0-FE0F","23EA","23EE-FE0F","1F53C","23EB","1F53D","23EC","23F8-FE0F","23F9-FE0F","23FA-FE0F","23CF-FE0F","1F3A6","1F505","1F506","1F4F6","1F4F3","1F4F4","2640-FE0F","2642-FE0F","26A7-FE0F","2716-FE0F","2795","2796","2797","1F7F0","267E-FE0F","203C-FE0F","2049-FE0F","2753","2754","2755","2757","3030-FE0F","1F4B1","1F4B2","2695-FE0F","267B-FE0F","269C-FE0F","1F531","1F4DB","1F530","2B55","2705","2611-FE0F","2714-FE0F","274C","274E","27B0","27BF","303D-FE0F","2733-FE0F","2734-FE0F","2747-FE0F","00A9-FE0F","00AE-FE0F","2122-FE0F","0023-FE0F-20E3","002A-FE0F-20E3","0030-FE0F-20E3","0031-FE0F-20E3","0032-FE0F-20E3","0033-FE0F-20E3","0034-FE0F-20E3","0035-FE0F-20E3","0036-FE0F-20E3","0037-FE0F-20E3","0038-FE0F-20E3","0039-FE0F-20E3","1F51F","1F520","1F521","1F522","1F523","1F524","1F170-FE0F","1F18E","1F171-FE0F","1F191","1F192","1F193","2139-FE0F","1F194","24C2-FE0F","1F195","1F196","1F17E-FE0F","1F197","1F17F-FE0F","1F198","1F199","1F19A","1F201","1F202-FE0F","1F237-FE0F","1F236","1F22F","1F250","1F239","1F21A","1F232","1F251","1F238","1F234","1F233","3297-FE0F","3299-FE0F","1F23A","1F235","1F534","1F7E0","1F7E1","1F7E2","1F535","1F7E3","1F7E4","26AB","26AA","1F7E5","1F7E7","1F7E8","1F7E9","1F7E6","1F7EA","1F7EB","2B1B","2B1C","25FC-FE0F","25FB-FE0F","25FE","25FD","25AA-FE0F","25AB-FE0F","1F536","1F537","1F538","1F539","1F53A","1F53B","1F4A0","1F518","1F533","1F532"]},{id:"flags",name:"Flags",emojis:["1F1E6-1F1E8","1F1E6-1F1E9","1F1E6-1F1EA","1F1E6-1F1EB","1F1E6-1F1EC","1F1E6-1F1EE","1F1E6-1F1F1","1F1E6-1F1F2","1F1E6-1F1F4","1F1E6-1F1F6","1F1E6-1F1F7","1F1E6-1F1F8","1F1E6-1F1F9","1F1E6-1F1FA","1F1E6-1F1FC","1F1E6-1F1FD","1F1E6-1F1FF","1F1E7-1F1E6","1F1E7-1F1E7","1F1E7-1F1E9","1F1E7-1F1EA","1F1E7-1F1EB","1F1E7-1F1EC","1F1E7-1F1ED","1F1E7-1F1EE","1F1E7-1F1EF","1F1E7-1F1F1","1F1E7-1F1F2","1F1E7-1F1F3","1F1E7-1F1F4","1F1E7-1F1F6","1F1E7-1F1F7","1F1E7-1F1F8","1F1E7-1F1F9","1F1E7-1F1FB","1F1E7-1F1FC","1F1E7-1F1FE","1F1E7-1F1FF","1F1E8-1F1E6","1F1E8-1F1E8","1F1E8-1F1E9","1F1E8-1F1EB","1F1E8-1F1EC","1F1E8-1F1ED","1F1E8-1F1EE","1F1E8-1F1F0","1F1E8-1F1F1","1F1E8-1F1F2","1F1E8-1F1F3","1F1E8-1F1F4","1F1E8-1F1F5","1F1E8-1F1F7","1F1E8-1F1FA","1F1E8-1F1FB","1F1E8-1F1FC","1F1E8-1F1FD","1F1E8-1F1FE","1F1E8-1F1FF","1F1E9-1F1EA","1F1E9-1F1EC","1F1E9-1F1EF","1F1E9-1F1F0","1F1E9-1F1F2","1F1E9-1F1F4","1F1E9-1F1FF","1F1EA-1F1E6","1F1EA-1F1E8","1F1EA-1F1EA","1F1EA-1F1EC","1F1EA-1F1ED","1F1EA-1F1F7","1F1EA-1F1F8","1F1EA-1F1F9","1F1EA-1F1FA","1F1EB-1F1EE","1F1EB-1F1EF","1F1EB-1F1F0","1F1EB-1F1F2","1F1EB-1F1F4","1F1EB-1F1F7","1F1EC-1F1E6","1F1EC-1F1E7","1F1EC-1F1E9","1F1EC-1F1EA","1F1EC-1F1EB","1F1EC-1F1EC","1F1EC-1F1ED","1F1EC-1F1EE","1F1EC-1F1F1","1F1EC-1F1F2","1F1EC-1F1F3","1F1EC-1F1F5","1F1EC-1F1F6","1F1EC-1F1F7","1F1EC-1F1F8","1F1EC-1F1F9","1F1EC-1F1FA","1F1EC-1F1FC","1F1EC-1F1FE","1F1ED-1F1F0","1F1ED-1F1F2","1F1ED-1F1F3","1F1ED-1F1F7","1F1ED-1F1F9","1F1ED-1F1FA","1F1EE-1F1E8","1F1EE-1F1E9","1F1EE-1F1EA","1F1EE-1F1F1","1F1EE-1F1F2","1F1EE-1F1F3","1F1EE-1F1F4","1F1EE-1F1F6","1F1EE-1F1F7","1F1EE-1F1F8","1F1EE-1F1F9","1F1EF-1F1EA","1F1EF-1F1F2","1F1EF-1F1F4","1F1EF-1F1F5","1F1F0-1F1EA","1F1F0-1F1EC","1F1F0-1F1ED","1F1F0-1F1EE","1F1F0-1F1F2","1F1F0-1F1F3","1F1F0-1F1F5","1F1F0-1F1F7","1F1F0-1F1FC","1F1F0-1F1FE","1F1F0-1F1FF","1F1F1-1F1E6","1F1F1-1F1E7","1F1F1-1F1E8","1F1F1-1F1EE","1F1F1-1F1F0","1F1F1-1F1F7","1F1F1-1F1F8","1F1F1-1F1F9","1F1F1-1F1FA","1F1F1-1F1FB","1F1F1-1F1FE","1F1F2-1F1E6","1F1F2-1F1E8","1F1F2-1F1E9","1F1F2-1F1EA","1F1F2-1F1EB","1F1F2-1F1EC","1F1F2-1F1ED","1F1F2-1F1F0","1F1F2-1F1F1","1F1F2-1F1F2","1F1F2-1F1F3","1F1F2-1F1F4","1F1F2-1F1F5","1F1F2-1F1F6","1F1F2-1F1F7","1F1F2-1F1F8","1F1F2-1F1F9","1F1F2-1F1FA","1F1F2-1F1FB","1F1F2-1F1FC","1F1F2-1F1FD","1F1F2-1F1FE","1F1F2-1F1FF","1F1F3-1F1E6","1F1F3-1F1E8","1F1F3-1F1EA","1F1F3-1F1EB","1F1F3-1F1EC","1F1F3-1F1EE","1F1F3-1F1F1","1F1F3-1F1F4","1F1F3-1F1F5","1F1F3-1F1F7","1F1F3-1F1FA","1F1F3-1F1FF","1F1F4-1F1F2","1F1F5-1F1E6","1F1F5-1F1EA","1F1F5-1F1EB","1F1F5-1F1EC","1F1F5-1F1ED","1F1F5-1F1F0","1F1F5-1F1F1","1F1F5-1F1F2","1F1F5-1F1F3","1F1F5-1F1F7","1F1F5-1F1F8","1F1F5-1F1F9","1F1F5-1F1FC","1F1F5-1F1FE","1F1F6-1F1E6","1F1F7-1F1EA","1F1F7-1F1F4","1F1F7-1F1F8","1F1F7-1F1FA","1F1F7-1F1FC","1F1F8-1F1E6","1F1F8-1F1E7","1F1F8-1F1E8","1F1F8-1F1E9","1F1F8-1F1EA","1F1F8-1F1EC","1F1F8-1F1ED","1F1F8-1F1EE","1F1F8-1F1EF","1F1F8-1F1F0","1F1F8-1F1F1","1F1F8-1F1F2","1F1F8-1F1F3","1F1F8-1F1F4","1F1F8-1F1F7","1F1F8-1F1F8","1F1F8-1F1F9","1F1F8-1F1FB","1F1F8-1F1FD","1F1F8-1F1FE","1F1F8-1F1FF","1F1F9-1F1E6","1F1F9-1F1E8","1F1F9-1F1E9","1F1F9-1F1EB","1F1F9-1F1EC","1F1F9-1F1ED","1F1F9-1F1EF","1F1F9-1F1F0","1F1F9-1F1F1","1F1F9-1F1F2","1F1F9-1F1F3","1F1F9-1F1F4","1F1F9-1F1F7","1F1F9-1F1F9","1F1F9-1F1FB","1F1F9-1F1FC","1F1F9-1F1FF","1F1FA-1F1E6","1F1FA-1F1EC","1F1FA-1F1F2","1F1FA-1F1F3","1F1FA-1F1F8","1F1FA-1F1FE","1F1FA-1F1FF","1F1FB-1F1E6","1F1FB-1F1E8","1F1FB-1F1EA","1F1FB-1F1EC","1F1FB-1F1EE","1F1FB-1F1F3","1F1FB-1F1FA","1F1FC-1F1EB","1F1FC-1F1F8","1F1FD-1F1F0","1F1FE-1F1EA","1F1FE-1F1F9","1F1FF-1F1E6","1F1FF-1F1F2","1F1FF-1F1FC","1F38C","1F3C1","1F3F3-FE0F","1F3F3-FE0F-200D-1F308","1F3F3-FE0F-200D-26A7-FE0F","1F3F4","1F3F4-200D-2620-FE0F","1F3F4-E0067-E0062-E0065-E006E-E0067-E007F","1F3F4-E0067-E0062-E0073-E0063-E0074-E007F","1F3F4-E0067-E0062-E0077-E006C-E0073-E007F","1F6A9"]}],fU3=[{name:"Grinning Face",unified:"1F600",text:":D",keywords:["grinning_face","face","smile","happy","joy",":D","grin"],sheet:[32,20],shortName:"grinning"},{name:"Smiling Face with Open Mouth",unified:"1F603",text:":)",emoticons:["=)","=-)"],keywords:["grinning_face_with_big_eyes","face","happy","joy","haha",":D",":)","smile","funny"],sheet:[32,23],shortName:"smiley"},{name:"Smiling Face with Open Mouth and Smiling Eyes",unified:"1F604",text:":)",emoticons:["C:","c:",":D",":-D"],keywords:["grinning_face_with_smiling_eyes","face","happy","joy","funny","haha","laugh","like",":D",":)","smile"],sheet:[32,24],shortName:"smile"},{name:"Grinning Face with Smiling Eyes",unified:"1F601",keywords:["beaming_face_with_smiling_eyes","face","happy","smile","joy","kawaii"],sheet:[32,21],shortName:"grin"},{name:"Smiling Face with Open Mouth and Tightly-Closed Eyes",unified:"1F606",emoticons:[":>",":->"],keywords:["grinning_squinting_face","happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],sheet:[32,26],shortNames:["satisfied"],shortName:"laughing"},{name:"Smiling Face with Open Mouth and Cold Sweat",unified:"1F605",keywords:["grinning_face_with_sweat","face","hot","happy","laugh","sweat","smile","relief"],sheet:[32,25],shortName:"sweat_smile"},{name:"Rolling on the Floor Laughing",unified:"1F923",keywords:["rolling_on_the_floor_laughing","face","rolling","floor","laughing","lol","haha","rofl"],sheet:[40,15],shortName:"rolling_on_the_floor_laughing"},{name:"Face with Tears of Joy",unified:"1F602",keywords:["face_with_tears_of_joy","face","cry","tears","weep","happy","happytears","haha"],sheet:[32,22],shortName:"joy"},{name:"Slightly Smiling Face",unified:"1F642",emoticons:[":)","(:",":-)"],keywords:["slightly_smiling_face","face","smile"],sheet:[33,28],shortName:"slightly_smiling_face"},{name:"Upside-Down Face",unified:"1F643",keywords:["upside_down_face","face","flipped","silly","smile"],sheet:[33,29],shortName:"upside_down_face"},{name:"Melting Face",unified:"1FAE0",keywords:["melting face","hot","heat"],sheet:[55,12],hidden:["facebook"],shortName:"melting_face"},{name:"Winking Face",unified:"1F609",text:";)",emoticons:[";)",";-)"],keywords:["winking_face","face","happy","mischievous","secret",";)","smile","eye"],sheet:[32,29],shortName:"wink"},{name:"Smiling Face with Smiling Eyes",unified:"1F60A",text:":)",keywords:["smiling_face_with_smiling_eyes","face","smile","happy","flushed","crush","embarrassed","shy","joy"],sheet:[32,30],shortName:"blush"},{name:"Smiling Face with Halo",unified:"1F607",keywords:["smiling_face_with_halo","face","angel","heaven","halo","innocent"],sheet:[32,27],shortName:"innocent"},{name:"Smiling Face with Smiling Eyes and Three Hearts",unified:"1F970",keywords:["smiling_face_with_hearts","face","love","like","affection","valentines","infatuation","crush","hearts","adore"],sheet:[43,58],shortName:"smiling_face_with_3_hearts"},{name:"Smiling Face with Heart-Shaped Eyes",unified:"1F60D",keywords:["smiling_face_with_heart_eyes","face","love","like","affection","valentines","infatuation","crush","heart"],sheet:[32,33],shortName:"heart_eyes"},{name:"Grinning Face with Star Eyes",unified:"1F929",keywords:["star_struck","face","smile","starry","eyes","grinning"],sheet:[40,38],shortNames:["grinning_face_with_star_eyes"],shortName:"star-struck"},{name:"Face Throwing a Kiss",unified:"1F618",emoticons:[":*",":-*"],keywords:["face_blowing_a_kiss","face","love","like","affection","valentines","infatuation","kiss"],sheet:[32,44],shortName:"kissing_heart"},{name:"Kissing Face",unified:"1F617",keywords:["kissing_face","love","like","face","3","valentines","infatuation","kiss"],sheet:[32,43],shortName:"kissing"},{name:"White Smiling Face",unified:"263A-FE0F",keywords:["smiling_face","face","blush","massage","happiness"],sheet:[57,4],shortName:"relaxed"},{name:"Kissing Face with Closed Eyes",unified:"1F61A",keywords:["kissing_face_with_closed_eyes","face","love","like","affection","valentines","infatuation","kiss"],sheet:[32,46],shortName:"kissing_closed_eyes"},{name:"Kissing Face with Smiling Eyes",unified:"1F619",keywords:["kissing_face_with_smiling_eyes","face","affection","valentines","infatuation","kiss"],sheet:[32,45],shortName:"kissing_smiling_eyes"},{name:"Smiling Face with Tear",unified:"1F972",keywords:["smiling face with tear","sad","cry","pretend"],sheet:[43,60],shortName:"smiling_face_with_tear"},{name:"Face Savouring Delicious Food",unified:"1F60B",keywords:["face_savoring_food","happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],sheet:[32,31],shortName:"yum"},{name:"Face with Stuck-out Tongue",unified:"1F61B",text:":p",emoticons:[":p",":-p",":P",":-P",":b",":-b"],keywords:["face_with_tongue","face","prank","childish","playful","mischievous","smile","tongue"],sheet:[32,47],shortName:"stuck_out_tongue"},{name:"Face with Stuck-out Tongue and Winking Eye",unified:"1F61C",text:";p",emoticons:[";p",";-p",";b",";-b",";P",";-P"],keywords:["winking_face_with_tongue","face","prank","childish","playful","mischievous","smile","wink","tongue"],sheet:[32,48],shortName:"stuck_out_tongue_winking_eye"},{name:"Grinning Face with One Large and One Small Eye",unified:"1F92A",keywords:["zany_face","face","goofy","crazy"],sheet:[40,39],shortNames:["grinning_face_with_one_large_and_one_small_eye"],shortName:"zany_face"},{name:"Face with Stuck-out Tongue and Tightly-Closed Eyes",unified:"1F61D",keywords:["squinting_face_with_tongue","face","prank","playful","mischievous","smile","tongue"],sheet:[32,49],shortName:"stuck_out_tongue_closed_eyes"},{name:"Money-Mouth Face",unified:"1F911",keywords:["money_mouth_face","face","rich","dollar","money"],sheet:[38,59],shortName:"money_mouth_face"},{name:"Hugging Face",unified:"1F917",keywords:["hugging_face","face","smile","hug"],sheet:[39,4],shortName:"hugging_face"},{name:"Smiling Face with Smiling Eyes and Hand Covering Mouth",unified:"1F92D",keywords:["face_with_hand_over_mouth","face","whoops","shock","surprise"],sheet:[40,42],shortNames:["smiling_face_with_smiling_eyes_and_hand_covering_mouth"],shortName:"face_with_hand_over_mouth"},{name:"Face with Open Eyes and Hand over Mouth",unified:"1FAE2",keywords:["face with open eyes and hand over mouth","silence","secret","shock","surprise"],sheet:[55,14],hidden:["facebook"],shortName:"face_with_open_eyes_and_hand_over_mouth"},{name:"Face with Peeking Eye",unified:"1FAE3",keywords:["face with peeking eye","scared","frightening","embarrassing","shy"],sheet:[55,15],hidden:["facebook"],shortName:"face_with_peeking_eye"},{name:"Face with Finger Covering Closed Lips",unified:"1F92B",keywords:["shushing_face","face","quiet","shhh"],sheet:[40,40],shortNames:["face_with_finger_covering_closed_lips"],shortName:"shushing_face"},{name:"Thinking Face",unified:"1F914",keywords:["thinking_face","face","hmmm","think","consider"],sheet:[39,1],shortName:"thinking_face"},{name:"Saluting Face",unified:"1FAE1",keywords:["saluting face","respect","salute"],sheet:[55,13],hidden:["facebook"],shortName:"saluting_face"},{name:"Zipper-Mouth Face",unified:"1F910",keywords:["zipper_mouth_face","face","sealed","zipper","secret"],sheet:[38,58],shortName:"zipper_mouth_face"},{name:"Face with One Eyebrow Raised",unified:"1F928",keywords:["face_with_raised_eyebrow","face","distrust","scepticism","disapproval","disbelief","surprise"],sheet:[40,37],shortNames:["face_with_one_eyebrow_raised"],shortName:"face_with_raised_eyebrow"},{name:"Neutral Face",unified:"1F610",emoticons:[":|",":-|"],keywords:["neutral_face","indifference","meh",":|","neutral"],sheet:[32,36],shortName:"neutral_face"},{name:"Expressionless Face",unified:"1F611",keywords:["expressionless_face","face","indifferent","-_-","meh","deadpan"],sheet:[32,37],shortName:"expressionless"},{name:"Face Without Mouth",unified:"1F636",keywords:["face_without_mouth","face","hellokitty"],sheet:[33,16],shortName:"no_mouth"},{name:"Dotted Line Face",unified:"1FAE5",keywords:["dotted line face","invisible","lonely","isolation","depression"],sheet:[55,17],hidden:["facebook"],shortName:"dotted_line_face"},{name:"Face in Clouds",unified:"1F636-200D-1F32B-FE0F",keywords:["face in clouds","shower","steam","dream"],sheet:[33,15],hidden:["facebook"],shortName:"face_in_clouds"},{name:"Smirking Face",unified:"1F60F",keywords:["smirking_face","face","smile","mean","prank","smug","sarcasm"],sheet:[32,35],shortName:"smirk"},{name:"Unamused Face",unified:"1F612",text:":(",keywords:["unamused_face","indifference","bored","straight face","serious","sarcasm","unimpressed","skeptical","dubious","side_eye"],sheet:[32,38],shortName:"unamused"},{name:"Face with Rolling Eyes",unified:"1F644",keywords:["face_with_rolling_eyes","face","eyeroll","frustrated"],sheet:[33,30],shortName:"face_with_rolling_eyes"},{name:"Grimacing Face",unified:"1F62C",keywords:["grimacing_face","face","grimace","teeth"],sheet:[33,3],shortName:"grimacing"},{name:"Face Exhaling",unified:"1F62E-200D-1F4A8",keywords:["face exhaling","relieve","relief","tired","sigh"],sheet:[33,5],hidden:["facebook"],shortName:"face_exhaling"},{name:"Lying Face",unified:"1F925",keywords:["lying_face","face","lie","pinocchio"],sheet:[40,17],shortName:"lying_face"},{name:"Relieved Face",unified:"1F60C",keywords:["relieved_face","face","relaxed","phew","massage","happiness"],sheet:[32,32],shortName:"relieved"},{name:"Pensive Face",unified:"1F614",keywords:["pensive_face","face","sad","depressed","upset"],sheet:[32,40],shortName:"pensive"},{name:"Sleepy Face",unified:"1F62A",keywords:["sleepy_face","face","tired","rest","nap"],sheet:[33,1],shortName:"sleepy"},{name:"Drooling Face",unified:"1F924",keywords:["drooling_face","face"],sheet:[40,16],shortName:"drooling_face"},{name:"Sleeping Face",unified:"1F634",keywords:["sleeping_face","face","tired","sleepy","night","zzz"],sheet:[33,12],shortName:"sleeping"},{name:"Face with Medical Mask",unified:"1F637",keywords:["face_with_medical_mask","face","sick","ill","disease","covid"],sheet:[33,17],shortName:"mask"},{name:"Face with Thermometer",unified:"1F912",keywords:["face_with_thermometer","sick","temperature","thermometer","cold","fever","covid"],sheet:[38,60],shortName:"face_with_thermometer"},{name:"Face with Head-Bandage",unified:"1F915",keywords:["face_with_head_bandage","injured","clumsy","bandage","hurt"],sheet:[39,2],shortName:"face_with_head_bandage"},{name:"Nauseated Face",unified:"1F922",keywords:["nauseated_face","face","vomit","gross","green","sick","throw up","ill"],sheet:[40,14],shortName:"nauseated_face"},{name:"Face with Open Mouth Vomiting",unified:"1F92E",keywords:["face_vomiting","face","sick"],sheet:[40,43],shortNames:["face_with_open_mouth_vomiting"],shortName:"face_vomiting"},{name:"Sneezing Face",unified:"1F927",keywords:["sneezing_face","face","gesundheit","sneeze","sick","allergy"],sheet:[40,36],shortName:"sneezing_face"},{name:"Overheated Face",unified:"1F975",keywords:["hot_face","face","feverish","heat","red","sweating"],sheet:[44,2],shortName:"hot_face"},{name:"Freezing Face",unified:"1F976",keywords:["cold_face","face","blue","freezing","frozen","frostbite","icicles"],sheet:[44,3],shortName:"cold_face"},{name:"Face with Uneven Eyes and Wavy Mouth",unified:"1F974",keywords:["woozy_face","face","dizzy","intoxicated","tipsy","wavy"],sheet:[44,1],shortName:"woozy_face"},{name:"Dizzy Face",unified:"1F635",keywords:["dizzy_face","spent","unconscious","xox","dizzy"],sheet:[33,14],shortName:"dizzy_face"},{name:"Face with Spiral Eyes",unified:"1F635-200D-1F4AB",keywords:["face with spiral eyes","sick","ill","confused","nauseous","nausea"],sheet:[33,13],hidden:["facebook"],shortName:"face_with_spiral_eyes"},{name:"Shocked Face with Exploding Head",unified:"1F92F",keywords:["exploding_head","face","shocked","mind","blown"],sheet:[40,44],shortNames:["shocked_face_with_exploding_head"],shortName:"exploding_head"},{name:"Face with Cowboy Hat",unified:"1F920",keywords:["cowboy_hat_face","face","cowgirl","hat"],sheet:[40,12],shortName:"face_with_cowboy_hat"},{name:"Face with Party Horn and Party Hat",unified:"1F973",keywords:["partying_face","face","celebration","woohoo"],sheet:[44,0],shortName:"partying_face"},{name:"Disguised Face",unified:"1F978",keywords:["disguised face","pretent","brows","glasses","moustache"],sheet:[44,10],shortName:"disguised_face"},{name:"Smiling Face with Sunglasses",unified:"1F60E",emoticons:["8)"],keywords:["smiling_face_with_sunglasses","face","cool","smile","summer","beach","sunglass"],sheet:[32,34],shortName:"sunglasses"},{name:"Nerd Face",unified:"1F913",keywords:["nerd_face","face","nerdy","geek","dork"],sheet:[39,0],shortName:"nerd_face"},{name:"Face with Monocle",unified:"1F9D0",keywords:["face_with_monocle","face","stuffy","wealthy"],sheet:[47,11],shortName:"face_with_monocle"},{name:"Confused Face",unified:"1F615",emoticons:[":\\\\",":-\\\\",":/",":-/"],keywords:["confused_face","face","indifference","huh","weird","hmmm",":/"],sheet:[32,41],shortName:"confused"},{name:"Face with Diagonal Mouth",unified:"1FAE4",keywords:["face with diagonal mouth","skeptic","confuse","frustrated","indifferent"],sheet:[55,16],hidden:["facebook"],shortName:"face_with_diagonal_mouth"},{name:"Worried Face",unified:"1F61F",keywords:["worried_face","face","concern","nervous",":("],sheet:[32,51],shortName:"worried"},{name:"Slightly Frowning Face",unified:"1F641",keywords:["slightly_frowning_face","face","frowning","disappointed","sad","upset"],sheet:[33,27],shortName:"slightly_frowning_face"},{name:"Frowning Face",unified:"2639-FE0F",keywords:["frowning_face","face","sad","upset","frown"],sheet:[57,3],shortName:"white_frowning_face"},{name:"Face with Open Mouth",unified:"1F62E",emoticons:[":o",":-o",":O",":-O"],keywords:["face_with_open_mouth","face","surprise","impressed","wow","whoa",":O"],sheet:[33,6],shortName:"open_mouth"},{name:"Hushed Face",unified:"1F62F",keywords:["hushed_face","face","woo","shh"],sheet:[33,7],shortName:"hushed"},{name:"Astonished Face",unified:"1F632",keywords:["astonished_face","face","xox","surprised","poisoned"],sheet:[33,10],shortName:"astonished"},{name:"Flushed Face",unified:"1F633",keywords:["flushed_face","face","blush","shy","flattered"],sheet:[33,11],shortName:"flushed"},{name:"Face with Pleading Eyes",unified:"1F97A",keywords:["pleading_face","face","begging","mercy","cry","tears","sad","grievance"],sheet:[44,12],shortName:"pleading_face"},{name:"Face Holding Back Tears",unified:"1F979",keywords:["face holding back tears","touched","gratitude","cry"],sheet:[44,11],hidden:["facebook"],shortName:"face_holding_back_tears"},{name:"Frowning Face with Open Mouth",unified:"1F626",keywords:["frowning_face_with_open_mouth","face","aw","what"],sheet:[32,58],shortName:"frowning"},{name:"Anguished Face",unified:"1F627",emoticons:["D:"],keywords:["anguished_face","face","stunned","nervous"],sheet:[32,59],shortName:"anguished"},{name:"Fearful Face",unified:"1F628",keywords:["fearful_face","face","scared","terrified","nervous"],sheet:[32,60],shortName:"fearful"},{name:"Face with Open Mouth and Cold Sweat",unified:"1F630",keywords:["anxious_face_with_sweat","face","nervous","sweat"],sheet:[33,8],shortName:"cold_sweat"},{name:"Disappointed but Relieved Face",unified:"1F625",keywords:["sad_but_relieved_face","face","phew","sweat","nervous"],sheet:[32,57],shortName:"disappointed_relieved"},{name:"Crying Face",unified:"1F622",text:":'(",emoticons:[":'("],keywords:["crying_face","face","tears","sad","depressed","upset",":'("],sheet:[32,54],shortName:"cry"},{name:"Loudly Crying Face",unified:"1F62D",text:":'(",keywords:["loudly_crying_face","face","cry","tears","sad","upset","depressed"],sheet:[33,4],shortName:"sob"},{name:"Face Screaming in Fear",unified:"1F631",keywords:["face_screaming_in_fear","face","munch","scared","omg"],sheet:[33,9],shortName:"scream"},{name:"Confounded Face",unified:"1F616",keywords:["confounded_face","face","confused","sick","unwell","oops",":S"],sheet:[32,42],shortName:"confounded"},{name:"Persevering Face",unified:"1F623",keywords:["persevering_face","face","sick","no","upset","oops"],sheet:[32,55],shortName:"persevere"},{name:"Disappointed Face",unified:"1F61E",text:":(",emoticons:["):",":(",":-("],keywords:["disappointed_face","face","sad","upset","depressed",":("],sheet:[32,50],shortName:"disappointed"},{name:"Face with Cold Sweat",unified:"1F613",keywords:["downcast_face_with_sweat","face","hot","sad","tired","exercise"],sheet:[32,39],shortName:"sweat"},{name:"Weary Face",unified:"1F629",keywords:["weary_face","face","tired","sleepy","sad","frustrated","upset"],sheet:[33,0],shortName:"weary"},{name:"Tired Face",unified:"1F62B",keywords:["tired_face","sick","whine","upset","frustrated"],sheet:[33,2],shortName:"tired_face"},{name:"Yawning Face",unified:"1F971",keywords:["yawning_face","tired","sleepy"],sheet:[43,59],shortName:"yawning_face"},{name:"Face with Look of Triumph",unified:"1F624",keywords:["face_with_steam_from_nose","face","gas","phew","proud","pride"],sheet:[32,56],shortName:"triumph"},{name:"Pouting Face",unified:"1F621",keywords:["pouting_face","angry","mad","hate","despise"],sheet:[32,53],shortName:"rage"},{name:"Angry Face",unified:"1F620",emoticons:[">:(",">:-("],keywords:["angry_face","mad","face","annoyed","frustrated"],sheet:[32,52],shortName:"angry"},{name:"Serious Face with Symbols Covering Mouth",unified:"1F92C",keywords:["face_with_symbols_on_mouth","face","swearing","cursing","cussing","profanity","expletive"],sheet:[40,41],shortNames:["serious_face_with_symbols_covering_mouth"],shortName:"face_with_symbols_on_mouth"},{name:"Smiling Face with Horns",unified:"1F608",keywords:["smiling_face_with_horns","devil","horns"],sheet:[32,28],shortName:"smiling_imp"},{name:"Imp",unified:"1F47F",keywords:["angry_face_with_horns","devil","angry","horns"],sheet:[25,8],shortName:"imp"},{name:"Skull",unified:"1F480",keywords:["skull","dead","skeleton","creepy","death"],sheet:[25,9],shortName:"skull"},{name:"Skull and Crossbones",unified:"2620-FE0F",keywords:["skull_and_crossbones","poison","danger","deadly","scary","death","pirate","evil"],sheet:[56,56],shortName:"skull_and_crossbones"},{name:"Pile of Poo",unified:"1F4A9",keywords:["pile_of_poo","hankey","shitface","fail","turd","shit"],sheet:[27,56],shortNames:["poop","shit"],shortName:"hankey"},{name:"Clown Face",unified:"1F921",keywords:["clown_face","face"],sheet:[40,13],shortName:"clown_face"},{name:"Japanese Ogre",unified:"1F479",keywords:["ogre","monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],sheet:[24,58],shortName:"japanese_ogre"},{name:"Japanese Goblin",unified:"1F47A",keywords:["goblin","red","evil","mask","monster","scary","creepy","japanese","goblin"],sheet:[24,59],shortName:"japanese_goblin"},{name:"Ghost",unified:"1F47B",keywords:["ghost","halloween","spooky","scary"],sheet:[24,60],shortName:"ghost"},{name:"Extraterrestrial Alien",unified:"1F47D",keywords:["alien","UFO","paul","weird","outer_space"],sheet:[25,6],shortName:"alien"},{name:"Alien Monster",unified:"1F47E",keywords:["alien_monster","game","arcade","play"],sheet:[25,7],shortName:"space_invader"},{name:"Robot Face",unified:"1F916",keywords:["robot","computer","machine","bot"],sheet:[39,3],shortName:"robot_face"},{name:"Smiling Cat Face with Open Mouth",unified:"1F63A",keywords:["grinning_cat","animal","cats","happy","smile"],sheet:[33,20],shortName:"smiley_cat"},{name:"Grinning Cat Face with Smiling Eyes",unified:"1F638",keywords:["grinning_cat_with_smiling_eyes","animal","cats","smile"],sheet:[33,18],shortName:"smile_cat"},{name:"Cat Face with Tears of Joy",unified:"1F639",keywords:["cat_with_tears_of_joy","animal","cats","haha","happy","tears"],sheet:[33,19],shortName:"joy_cat"},{name:"Smiling Cat Face with Heart-Shaped Eyes",unified:"1F63B",keywords:["smiling_cat_with_heart_eyes","animal","love","like","affection","cats","valentines","heart"],sheet:[33,21],shortName:"heart_eyes_cat"},{name:"Cat Face with Wry Smile",unified:"1F63C",keywords:["cat_with_wry_smile","animal","cats","smirk"],sheet:[33,22],shortName:"smirk_cat"},{name:"Kissing Cat Face with Closed Eyes",unified:"1F63D",keywords:["kissing_cat","animal","cats","kiss"],sheet:[33,23],shortName:"kissing_cat"},{name:"Weary Cat Face",unified:"1F640",keywords:["weary_cat","animal","cats","munch","scared","scream"],sheet:[33,26],shortName:"scream_cat"},{name:"Crying Cat Face",unified:"1F63F",keywords:["crying_cat","animal","tears","weep","sad","cats","upset","cry"],sheet:[33,25],shortName:"crying_cat_face"},{name:"Pouting Cat Face",unified:"1F63E",keywords:["pouting_cat","animal","cats"],sheet:[33,24],shortName:"pouting_cat"},{name:"See-No-Evil Monkey",unified:"1F648",keywords:["see_no_evil_monkey","monkey","animal","nature","haha"],sheet:[34,24],shortName:"see_no_evil"},{name:"Hear-No-Evil Monkey",unified:"1F649",keywords:["hear_no_evil_monkey","animal","monkey","nature"],sheet:[34,25],shortName:"hear_no_evil"},{name:"Speak-No-Evil Monkey",unified:"1F64A",keywords:["speak_no_evil_monkey","monkey","animal","nature","omg"],sheet:[34,26],shortName:"speak_no_evil"},{name:"Kiss Mark",unified:"1F48B",keywords:["kiss_mark","face","lips","love","like","affection","valentines"],sheet:[26,37],shortName:"kiss"},{name:"Love Letter",unified:"1F48C",keywords:["love_letter","email","like","affection","envelope","valentines"],sheet:[26,38],shortName:"love_letter"},{name:"Heart with Arrow",unified:"1F498",keywords:["heart_with_arrow","love","like","heart","affection","valentines"],sheet:[27,39],shortName:"cupid"},{name:"Heart with Ribbon",unified:"1F49D",keywords:["heart_with_ribbon","love","valentines"],sheet:[27,44],shortName:"gift_heart"},{name:"Sparkling Heart",unified:"1F496",keywords:["sparkling_heart","love","like","affection","valentines"],sheet:[27,37],shortName:"sparkling_heart"},{name:"Growing Heart",unified:"1F497",keywords:["growing_heart","like","love","affection","valentines","pink"],sheet:[27,38],shortName:"heartpulse"},{name:"Beating Heart",unified:"1F493",keywords:["beating_heart","love","like","affection","valentines","pink","heart"],sheet:[27,34],shortName:"heartbeat"},{name:"Revolving Hearts",unified:"1F49E",keywords:["revolving_hearts","love","like","affection","valentines"],sheet:[27,45],shortName:"revolving_hearts"},{name:"Two Hearts",unified:"1F495",keywords:["two_hearts","love","like","affection","valentines","heart"],sheet:[27,36],shortName:"two_hearts"},{name:"Heart Decoration",unified:"1F49F",keywords:["heart_decoration","purple-square","love","like"],sheet:[27,46],shortName:"heart_decoration"},{name:"Heart Exclamation",unified:"2763-FE0F",keywords:["heart_exclamation","decoration","love"],sheet:[59,7],shortName:"heavy_heart_exclamation_mark_ornament"},{name:"Broken Heart",unified:"1F494",text:"`https://cdn.jsdelivr.net/npm/emoji-datasource-${c}@14.0.0/img/${c}/sheets-256/${r}.png`;let Ul=(()=>{class c{uncompressed=!1;names={};emojis=[];constructor(){this.uncompressed||(this.uncompress(fU3),this.uncompressed=!0)}uncompress(e){this.emojis=e.map(a=>{const t={...a};if(t.shortNames||(t.shortNames=[]),t.shortNames.unshift(t.shortName),t.id=t.shortName,t.native=this.unifiedToNative(t.unified),t.skinVariations||(t.skinVariations=[]),t.keywords||(t.keywords=[]),t.emoticons||(t.emoticons=[]),t.hidden||(t.hidden=[]),t.text||(t.text=""),t.obsoletes){const i=e.find(l=>l.unified===t.obsoletes);i&&(t.keywords=i.keywords?[...t.keywords,...i.keywords,i.shortName]:[...t.keywords,i.shortName])}this.names[t.unified]=t;for(const i of t.shortNames)this.names[i]=t;return t})}getData(e,a,t){let i;if("string"==typeof e){const d=e.match(dU3);if(d&&(e=d[1],d[2]&&(a=parseInt(d[2],10))),!this.names.hasOwnProperty(e))return null;i=this.names[e]}else e.id?i=this.names[e.id]:e.unified&&(i=this.names[e.unified.toUpperCase()]);if(i||(i=e,i.custom=!0),i.skinVariations&&i.skinVariations.length&&a&&a>1&&t){i={...i};const d=uU3[a-1],u=i.skinVariations.find(p=>p.unified.includes(d));(!u.hidden||!u.hidden.includes(t))&&(i.skinTone=a,i={...i,...u}),i.native=this.unifiedToNative(i.unified)}return i.set=t||"",i}unifiedToNative(e){const a=e.split("-").map(t=>parseInt(`0x${t}`,16));return String.fromCodePoint(...a)}emojiSpriteStyles(e,a="apple",t=24,i=64,l=60,d=Xh1,u=61,p){const z=!!p;return{width:`${t}px`,height:`${t}px`,display:"inline-block","background-image":`url(${p=p||d(a,i)})`,"background-size":z?"100% 100%":`${100*u}% ${100*l}%`,"background-position":z?void 0:this.getSpritePosition(e,u)}}getSpritePosition(e,a){const[t,i]=e,l=100/(a-1);return`${l*t}% ${l*i}%`}sanitize(e){if(null===e)return null;let t=`:${e.id||e.shortNames[0]}:`;return e.skinTone&&(t+=`:skin-tone-${e.skinTone}:`),e.colons=t,{...e}}getSanitizedData(e,a,t){return this.sanitize(this.getData(e,a,t))}static \u0275fac=function(a){return new(a||c)};static \u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),em1=(()=>{class c{skin=1;set="apple";sheetSize=64;isNative=!1;forceSize=!1;tooltip=!1;size=24;emoji="";fallback;hideObsolete=!1;sheetRows;sheetColumns;useButton;emojiOver=new Y1;emojiOverOutsideAngular=new Y1;emojiLeave=new Y1;emojiLeaveOutsideAngular=new Y1;emojiClick=new Y1;emojiClickOutsideAngular=new Y1;style;title=void 0;label="";unified;custom=!1;isVisible=!0;backgroundImageFn=Xh1;imageUrlFn;set button(e){this.ngZone.runOutsideAngular(()=>this.button$.next(e?.nativeElement))}button$=new G2;destroy$=new G2;ngZone=i1(z2);emojiService=i1(Ul);constructor(){this.setupMouseListeners()}ngOnChanges(){if(!this.emoji)return this.isVisible=!1;const e=this.getData();if(!e)return this.isVisible=!1;if(this.unified=e.native||null,e.custom&&(this.custom=e.custom),!e.unified&&!e.custom)return this.isVisible=!1;if(this.tooltip&&(this.title=e.shortNames[0]),e.obsoletedBy&&this.hideObsolete)return this.isVisible=!1;if(this.label=[e.native].concat(e.shortNames).filter(Boolean).join(", "),this.isNative&&e.unified&&e.native)this.style={fontSize:`${this.size}px`},this.forceSize&&(this.style.display="inline-block",this.style.width=`${this.size}px`,this.style.height=`${this.size}px`,this.style["word-break"]="keep-all");else if(e.custom)this.style={width:`${this.size}px`,height:`${this.size}px`,display:"inline-block"},this.style=e.spriteUrl&&this.sheetRows&&this.sheetColumns?{...this.style,backgroundImage:`url(${e.spriteUrl})`,backgroundSize:`${100*this.sheetColumns}% ${100*this.sheetRows}%`,backgroundPosition:this.emojiService.getSpritePosition(e.sheet,this.sheetColumns)}:{...this.style,backgroundImage:`url(${e.imageUrl})`,backgroundSize:"contain"};else if(e.hidden.length&&e.hidden.includes(this.set)){if(!this.fallback)return this.isVisible=!1;this.style={fontSize:`${this.size}px`},this.unified=this.fallback(e,this)}else this.style=this.emojiService.emojiSpriteStyles(e.sheet,this.set,this.size,this.sheetSize,this.sheetRows,this.backgroundImageFn,this.sheetColumns,this.imageUrlFn?.(this.getData()));return this.isVisible=!0}ngOnDestroy(){this.destroy$.next()}getData(){return this.emojiService.getData(this.emoji,this.skin,this.set)}getSanitizedData(){return this.emojiService.getSanitizedData(this.emoji,this.skin,this.set)}setupMouseListeners(){const e=a=>this.button$.pipe(z3(t=>t?Qt(t,a):U6),Cs(this.destroy$));e("click").subscribe(a=>{const t=this.getSanitizedData();this.emojiClickOutsideAngular.emit({emoji:t,$event:a}),this.emojiClick.observed&&this.ngZone.run(()=>this.emojiClick.emit({emoji:t,$event:a}))}),e("mouseenter").subscribe(a=>{const t=this.getSanitizedData();this.emojiOverOutsideAngular.emit({emoji:t,$event:a}),this.emojiOver.observed&&this.ngZone.run(()=>this.emojiOver.emit({emoji:t,$event:a}))}),e("mouseleave").subscribe(a=>{const t=this.getSanitizedData();this.emojiLeaveOutsideAngular.emit({emoji:t,$event:a}),this.emojiLeave.observed&&this.ngZone.run(()=>this.emojiLeave.emit({emoji:t,$event:a}))})}static \u0275fac=function(a){return new(a||c)};static \u0275cmp=V1({type:c,selectors:[["ngx-emoji"]],viewQuery:function(a,t){if(1&a&&b1(tU3,5),2&a){let i;M1(i=L1())&&(t.button=i.first)}},inputs:{skin:"skin",set:"set",sheetSize:"sheetSize",isNative:"isNative",forceSize:"forceSize",tooltip:"tooltip",size:"size",emoji:"emoji",fallback:"fallback",hideObsolete:"hideObsolete",sheetRows:"sheetRows",sheetColumns:"sheetColumns",useButton:"useButton",backgroundImageFn:"backgroundImageFn",imageUrlFn:"imageUrlFn"},outputs:{emojiOver:"emojiOver",emojiOverOutsideAngular:"emojiOverOutsideAngular",emojiLeave:"emojiLeave",emojiLeaveOutsideAngular:"emojiLeaveOutsideAngular",emojiClick:"emojiClick",emojiClickOutsideAngular:"emojiClickOutsideAngular"},standalone:!0,features:[A,C3],ngContentSelectors:Qh1,decls:3,vars:1,consts:[["spanTpl",""],["button",""],[3,"ngIf"],["type","button","class","emoji-mart-emoji",3,"emoji-mart-emoji-native","emoji-mart-emoji-custom",4,"ngIf","ngIfElse"],["type","button",1,"emoji-mart-emoji"],[3,"ngStyle"],[1,"emoji-mart-emoji"]],template:function(a,t){1&a&&(tn(Qh1),R(0,nU3,1,2,"ng-template",2)(1,lU3,5,8,"ng-template",null,0,dn)),2&a&&k("ngIf",t.isVisible)},dependencies:[f0,i5,Pn],encapsulation:2,changeDetection:0})}return c})();function hU3(c,r){if(1&c){const e=j();o(0,"span",3),C("click",function(t){y(e);const i=h().index;return b(h().handleClick(t,i))}),o(1,"div"),w(),o(2,"svg",4),v(3,"path"),n()(),O(),v(4,"span",5),n()}if(2&c){const e=h().$implicit,a=h();Gc("color",e.name===a.selected?a.color:null),A6("emoji-mart-anchor-selected",e.name===a.selected),A2("title",a.i18n.categories[e.id]),s(3),A2("d",a.icons[e.id]),s(),Gc("background-color",a.color)}}function mU3(c,r){1&c&&R(0,hU3,5,8,"span",2),2&c&&k("ngIf",!1!==r.$implicit.anchor)}const _U3=["container"],pU3=["label"];function gU3(c,r){if(1&c){const e=j();o(0,"ngx-emoji",9),C("emojiOverOutsideAngular",function(t){return y(e),b(h(3).emojiOverOutsideAngular.emit(t))})("emojiLeaveOutsideAngular",function(t){return y(e),b(h(3).emojiLeaveOutsideAngular.emit(t))})("emojiClickOutsideAngular",function(t){return y(e),b(h(3).emojiClickOutsideAngular.emit(t))}),n()}if(2&c){const e=r.$implicit,a=h(3);k("emoji",e)("size",a.emojiSize)("skin",a.emojiSkin)("isNative",a.emojiIsNative)("set",a.emojiSet)("sheetSize",a.emojiSheetSize)("forceSize",a.emojiForceSize)("tooltip",a.emojiTooltip)("backgroundImageFn",a.emojiBackgroundImageFn)("imageUrlFn",a.emojiImageUrlFn)("hideObsolete",a.hideObsolete)("useButton",a.emojiUseButton)}}function vU3(c,r){if(1&c&&(o(0,"div"),R(1,gU3,1,12,"ngx-emoji",8),n()),2&c){const e=r.ngIf,a=h(2);s(),k("ngForOf",e)("ngForTrackBy",a.trackById)}}function HU3(c,r){if(1&c&&(o(0,"div"),R(1,vU3,2,2,"div",7),m(2,"async"),n()),2&c){const e=h();s(),k("ngIf",_(2,1,e.filteredEmojis$))}}function CU3(c,r){if(1&c&&(o(0,"div")(1,"div"),v(2,"ngx-emoji",10),n(),o(3,"div",11),f(4),n()()),2&c){const e=h();s(2),k("emoji",e.notFoundEmoji)("size",38)("skin",e.emojiSkin)("isNative",e.emojiIsNative)("set",e.emojiSet)("sheetSize",e.emojiSheetSize)("forceSize",e.emojiForceSize)("tooltip",e.emojiTooltip)("backgroundImageFn",e.emojiBackgroundImageFn)("useButton",e.emojiUseButton),s(2),V(" ",e.i18n.notfound," ")}}function zU3(c,r){if(1&c){const e=j();o(0,"ngx-emoji",9),C("emojiOverOutsideAngular",function(t){return y(e),b(h(2).emojiOverOutsideAngular.emit(t))})("emojiLeaveOutsideAngular",function(t){return y(e),b(h(2).emojiLeaveOutsideAngular.emit(t))})("emojiClickOutsideAngular",function(t){return y(e),b(h(2).emojiClickOutsideAngular.emit(t))}),n()}if(2&c){const e=r.$implicit,a=h(2);k("emoji",e)("size",a.emojiSize)("skin",a.emojiSkin)("isNative",a.emojiIsNative)("set",a.emojiSet)("sheetSize",a.emojiSheetSize)("forceSize",a.emojiForceSize)("tooltip",a.emojiTooltip)("backgroundImageFn",a.emojiBackgroundImageFn)("imageUrlFn",a.emojiImageUrlFn)("hideObsolete",a.hideObsolete)("useButton",a.emojiUseButton)}}function VU3(c,r){if(1&c&&R(0,zU3,1,12,"ngx-emoji",8),2&c){const e=h();k("ngForOf",e.emojisToDisplay)("ngForTrackBy",e.trackById)}}function MU3(c,r){if(1&c){const e=j();o(0,"span",2)(1,"span",3),C("click",function(){const t=y(e).$implicit;return b(h().handleClick(t))})("keyup.enter",function(){const t=y(e).$implicit;return b(h().handleClick(t))})("keyup.space",function(){const t=y(e).$implicit;return b(h().handleClick(t))}),n()()}if(2&c){const e=r.$implicit,a=h();A6("selected",e===a.skin),s(),sh("emoji-mart-skin emoji-mart-skin-tone-",e,""),k("tabIndex",a.tabIndex(e)),A2("aria-hidden",!a.isVisible(e))("aria-pressed",a.pressed(e))("aria-haspopup",!!a.isSelected(e))("aria-expanded",a.expanded(e))("aria-label",a.i18n.skintones[e])("title",a.i18n.skintones[e])}}function LU3(c,r){if(1&c&&(o(0,"span",11),f(1),n()),2&c){const e=r.$implicit;s(),V(" :",e,": ")}}function yU3(c,r){if(1&c&&(o(0,"span",15),f(1),n()),2&c){const e=r.$implicit;s(),V(" ",e," ")}}function bU3(c,r){if(1&c&&(o(0,"div",8)(1,"div",2),v(2,"ngx-emoji",9),n(),o(3,"div",4)(4,"div",10),f(5),n(),o(6,"div",11),R(7,LU3,2,1,"span",12),n(),o(8,"div",13),R(9,yU3,2,1,"span",14),n()()()),2&c){const e=h();s(2),k("emoji",e.emoji)("size",38)("isNative",e.emojiIsNative)("skin",e.emojiSkin)("size",e.emojiSize)("set",e.emojiSet)("sheetSize",e.emojiSheetSize)("backgroundImageFn",e.emojiBackgroundImageFn)("imageUrlFn",e.emojiImageUrlFn),s(3),H(e.emojiData.name),s(2),k("ngForOf",e.emojiData.shortNames),s(2),k("ngForOf",e.listedEmoticons)}}function xU3(c,r){if(1&c&&v(0,"ngx-emoji",16),2&c){const e=h();k("isNative",e.emojiIsNative)("skin",e.emojiSkin)("set",e.emojiSet)("emoji",e.idleEmoji)("backgroundImageFn",e.emojiBackgroundImageFn)("size",38)("imageUrlFn",e.emojiImageUrlFn)}}const wU3=["inputRef"],FU3=["scrollRef"];function kU3(c,r){if(1&c){const e=j();o(0,"emoji-search",8),C("searchResults",function(t){return y(e),b(h().handleSearch(t))})("enterKeyOutsideAngular",function(t){return y(e),b(h().handleEnterKey(t))}),n()}if(2&c){const e=h();k("i18n",e.i18n)("include",e.include)("exclude",e.exclude)("custom",e.custom)("autoFocus",e.autoFocus)("icons",e.searchIcons)("emojisToShowFilter",e.emojisToShowFilter)}}function SU3(c,r){if(1&c){const e=j();o(0,"emoji-category",9),C("emojiOverOutsideAngular",function(t){return y(e),b(h().handleEmojiOver(t))})("emojiLeaveOutsideAngular",function(){return y(e),b(h().handleEmojiLeave())})("emojiClickOutsideAngular",function(t){return y(e),b(h().handleEmojiClick(t))}),n()}if(2&c){const e=r.$implicit,a=h();k("id",e.id)("name",e.name)("emojis",e.emojis)("perLine",a.perLine)("totalFrequentLines",a.totalFrequentLines)("hasStickyPosition",a.isNative)("i18n",a.i18n)("hideObsolete",a.hideObsolete)("notFoundEmoji",a.notFoundEmoji)("custom",e.id===a.RECENT_CATEGORY.id?a.CUSTOM_CATEGORY.emojis:void 0)("recent",e.id===a.RECENT_CATEGORY.id?a.recent:void 0)("virtualize",a.virtualize)("virtualizeOffset",a.virtualizeOffset)("emojiIsNative",a.isNative)("emojiSkin",a.skin)("emojiSize",a.emojiSize)("emojiSet",a.set)("emojiSheetSize",a.sheetSize)("emojiForceSize",a.isNative)("emojiTooltip",a.emojiTooltip)("emojiBackgroundImageFn",a.backgroundImageFn)("emojiImageUrlFn",a.imageUrlFn)("emojiUseButton",a.useButton)}}function NU3(c,r){if(1&c){const e=j();o(0,"div",2)(1,"emoji-preview",10),C("skinChange",function(t){return y(e),b(h().handleSkinChange(t))}),n()()}if(2&c){const e=h();s(),k("emoji",e.previewEmoji)("idleEmoji",e.emoji)("emojiIsNative",e.isNative)("emojiSize",38)("emojiSkin",e.skin)("emojiSet",e.set)("i18n",e.i18n)("emojiSheetSize",e.sheetSize)("emojiBackgroundImageFn",e.backgroundImageFn)("emojiImageUrlFn",e.imageUrlFn),A2("title",e.title)}}let cm1=(()=>{class c{categories=[];color;selected;i18n;icons={};anchorClick=new Y1;trackByFn(e,a){return a.id}handleClick(e,a){this.anchorClick.emit({category:this.categories[a],index:a})}static \u0275fac=function(a){return new(a||c)};static \u0275cmp=V1({type:c,selectors:[["emoji-mart-anchors"]],inputs:{categories:"categories",color:"color",selected:"selected",i18n:"i18n",icons:"icons"},outputs:{anchorClick:"anchorClick"},standalone:!0,features:[C3],decls:2,vars:2,consts:[[1,"emoji-mart-anchors"],["ngFor","",3,"ngForOf","ngForTrackBy"],["class","emoji-mart-anchor",3,"emoji-mart-anchor-selected","color","click",4,"ngIf"],[1,"emoji-mart-anchor",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","width","24","height","24"],[1,"emoji-mart-anchor-bar"]],template:function(a,t){1&a&&(o(0,"div",0),R(1,mU3,1,1,"ng-template",1),n()),2&a&&(s(),k("ngForOf",t.categories)("ngForTrackBy",t.trackByFn))},dependencies:[f0,ea,i5],encapsulation:2,changeDetection:0})}return c})(),am1=(()=>{class c{platformId;NAMESPACE="emoji-mart";frequently=null;defaults={};initialized=!1;DEFAULTS=["+1","grinning","kissing_heart","heart_eyes","laughing","stuck_out_tongue_winking_eye","sweat_smile","joy","scream","disappointed","unamused","weary","sob","sunglasses","heart","poop"];constructor(e){this.platformId=e}init(){this.frequently=JSON.parse(t6(this.platformId)&&localStorage.getItem(`${this.NAMESPACE}.frequently`)||"null"),this.initialized=!0}add(e){this.initialized||this.init(),this.frequently||(this.frequently=this.defaults),this.frequently[e.id]||(this.frequently[e.id]=0),this.frequently[e.id]+=1,t6(this.platformId)&&(localStorage.setItem(`${this.NAMESPACE}.last`,e.id),localStorage.setItem(`${this.NAMESPACE}.frequently`,JSON.stringify(this.frequently)))}get(e,a){if(this.initialized||this.init(),null===this.frequently){this.defaults={};const p=[];for(let z=0;zthis.frequently[p]-this.frequently[z]).reverse().slice(0,t),u=t6(this.platformId)&&localStorage.getItem(`${this.NAMESPACE}.last`);return u&&!d.includes(u)&&(d.pop(),d.push(u)),d}static \u0275fac=function(a){return new(a||c)(f1(m6))};static \u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),cz=(()=>{class c{ref;emojiService;frequently;emojis=null;hasStickyPosition=!0;name="";perLine=9;totalFrequentLines=4;recent=[];custom=[];i18n;id;hideObsolete=!0;notFoundEmoji;virtualize=!1;virtualizeOffset=0;emojiIsNative;emojiSkin;emojiSize;emojiSet;emojiSheetSize;emojiForceSize;emojiTooltip;emojiBackgroundImageFn;emojiImageUrlFn;emojiUseButton;emojiOverOutsideAngular=new Y1;emojiLeaveOutsideAngular=new Y1;emojiClickOutsideAngular=new Y1;container;label;containerStyles={};emojisToDisplay=[];filteredEmojisSubject=new G2;filteredEmojis$=this.filteredEmojisSubject.asObservable();labelStyles={};labelSpanStyles={};margin=0;minMargin=0;maxMargin=0;top=0;rows=0;constructor(e,a,t){this.ref=e,this.emojiService=a,this.frequently=t}ngOnInit(){this.updateRecentEmojis(),this.emojisToDisplay=this.filterEmojis(),this.noEmojiToDisplay&&(this.containerStyles={display:"none"}),this.hasStickyPosition||(this.labelStyles={height:28})}ngOnChanges(e){e.emojis?.currentValue?.length!==e.emojis?.previousValue?.length&&(this.emojisToDisplay=this.filterEmojis(),this.ngAfterViewInit())}ngAfterViewInit(){if(!this.virtualize)return;const{width:e}=this.container.nativeElement.getBoundingClientRect(),a=Math.floor(e/(this.emojiSize+12));this.rows=Math.ceil(this.emojisToDisplay.length/a),this.containerStyles={...this.containerStyles,minHeight:this.rows*(this.emojiSize+12)+28+"px"},this.ref.detectChanges(),this.handleScroll(this.container.nativeElement.parentNode.parentNode.scrollTop)}get noEmojiToDisplay(){return 0===this.emojisToDisplay.length}memoizeSize(){const e=this.container.nativeElement.parentNode.parentNode,{top:a,height:t}=this.container.nativeElement.getBoundingClientRect(),i=e.getBoundingClientRect().top,l=this.label.nativeElement.getBoundingClientRect().height;this.top=a-i+e.scrollTop,this.maxMargin=0===t?0:t-l}handleScroll(e){let a=e-this.top;if(a=athis.maxMargin?this.maxMargin:a,this.virtualize){const{top:t,height:i}=this.container.nativeElement.getBoundingClientRect(),l=this.container.nativeElement.parentNode.parentNode.clientHeight;this.filteredEmojisSubject.next(l+(l+this.virtualizeOffset)>=t&&-i-(l+this.virtualizeOffset)<=t?this.emojisToDisplay:[])}return a===this.margin?(this.ref.detectChanges(),!1):(this.hasStickyPosition||(this.label.nativeElement.style.top=`${a}px`),this.margin=a,this.ref.detectChanges(),!0)}updateRecentEmojis(){if("Recent"!==this.name)return;let e=this.recent||this.frequently.get(this.perLine,this.totalFrequentLines);(!e||!e.length)&&(e=this.frequently.get(this.perLine,this.totalFrequentLines)),e.length&&(this.emojis=e.map(a=>this.custom.filter(i=>i.id===a)[0]||a).filter(a=>!!this.emojiService.getData(a)))}updateDisplay(e){this.containerStyles.display=e,this.updateRecentEmojis(),this.ref.detectChanges()}trackById(e,a){return a}filterEmojis(){const e=[];for(const a of this.emojis||[]){if(!a)continue;const t=this.emojiService.getData(a);!t||t.obsoletedBy&&this.hideObsolete||!t.unified&&!t.custom||e.push(a)}return e}static \u0275fac=function(a){return new(a||c)(B(B1),B(Ul),B(am1))};static \u0275cmp=V1({type:c,selectors:[["emoji-category"]],viewQuery:function(a,t){if(1&a&&(b1(_U3,7),b1(pU3,7)),2&a){let i;M1(i=L1())&&(t.container=i.first),M1(i=L1())&&(t.label=i.first)}},inputs:{emojis:"emojis",hasStickyPosition:"hasStickyPosition",name:"name",perLine:"perLine",totalFrequentLines:"totalFrequentLines",recent:"recent",custom:"custom",i18n:"i18n",id:"id",hideObsolete:"hideObsolete",notFoundEmoji:"notFoundEmoji",virtualize:"virtualize",virtualizeOffset:"virtualizeOffset",emojiIsNative:"emojiIsNative",emojiSkin:"emojiSkin",emojiSize:"emojiSize",emojiSet:"emojiSet",emojiSheetSize:"emojiSheetSize",emojiForceSize:"emojiForceSize",emojiTooltip:"emojiTooltip",emojiBackgroundImageFn:"emojiBackgroundImageFn",emojiImageUrlFn:"emojiImageUrlFn",emojiUseButton:"emojiUseButton"},outputs:{emojiOverOutsideAngular:"emojiOverOutsideAngular",emojiLeaveOutsideAngular:"emojiLeaveOutsideAngular",emojiClickOutsideAngular:"emojiClickOutsideAngular"},standalone:!0,features:[A,C3],decls:10,vars:11,consts:[["container",""],["label",""],["normalRenderTemplate",""],[1,"emoji-mart-category",3,"ngStyle"],[1,"emoji-mart-category-label",3,"ngStyle"],["aria-hidden","true",3,"ngStyle"],[4,"ngIf","ngIfElse"],[4,"ngIf"],[3,"emoji","size","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","imageUrlFn","hideObsolete","useButton","emojiOverOutsideAngular","emojiLeaveOutsideAngular","emojiClickOutsideAngular",4,"ngFor","ngForOf","ngForTrackBy"],[3,"emojiOverOutsideAngular","emojiLeaveOutsideAngular","emojiClickOutsideAngular","emoji","size","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","imageUrlFn","hideObsolete","useButton"],[3,"emoji","size","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","useButton"],[1,"emoji-mart-no-results-label"]],template:function(a,t){if(1&a&&(o(0,"section",3,0)(2,"div",4)(3,"span",5,1),f(5),n()(),R(6,HU3,3,3,"div",6)(7,CU3,5,11,"div",7),n(),R(8,VU3,1,2,"ng-template",null,2,dn)),2&a){const i=Lr(9);A6("emoji-mart-no-results",t.noEmojiToDisplay),k("ngStyle",t.containerStyles),A2("aria-label",t.i18n.categories[t.id]),s(2),k("ngStyle",t.labelStyles),A2("data-name",t.name),s(),k("ngStyle",t.labelSpanStyles),s(2),V(" ",t.i18n.categories[t.id]," "),s(),k("ngIf",t.virtualize)("ngIfElse",i),s(),k("ngIf",t.noEmojiToDisplay)}},dependencies:[f0,ea,i5,Pn,nm,em1],encapsulation:2,changeDetection:0})}return c})();function rm1(c){return c.reduce((r,e)=>(r.includes(e)||r.push(e),r),[])}function DU3(c,r){const e=rm1(c),a=rm1(r);return e.filter(t=>a.indexOf(t)>=0)}let EU3=(()=>{class c{emojiService;originalPool={};index={};emojisList={};emoticonsList={};emojiSearch={};constructor(e){this.emojiService=e;for(const a of this.emojiService.emojis){const{shortNames:t,emoticons:i}=a,l=t[0];for(const d of i)this.emoticonsList[d]||(this.emoticonsList[d]=l);this.emojisList[l]=this.emojiService.getSanitizedData(l),this.originalPool[l]=a}}addCustomToPool(e,a){for(const t of e){const i=t.id||t.shortNames[0];i&&!a[i]&&(a[i]=this.emojiService.getData(t),this.emojisList[i]=this.emojiService.getSanitizedData(t))}}search(e,a,t=75,i=[],l=[],d=[]){this.addCustomToPool(d,this.originalPool);let u,p=this.originalPool;if(e.length){if("-"===e||"-1"===e)return[this.emojisList[-1]];if("+"===e||"+1"===e)return[this.emojisList["+1"]];let z=e.toLowerCase().split(/[\s|,|\-|_]+/),x=[];if(z.length>2&&(z=[z[0],z[1]]),i.length||l.length){p={};for(const E of Jh1||[]){const P=!i||!i.length||i.indexOf(E.id)>-1,Y=!(!l||!l.length)&&l.indexOf(E.id)>-1;if(P&&!Y)for(const Z of E.emojis||[]){const K=this.emojiService.getData(Z);p[K?.id??""]=K}}if(d.length){const E=!i||!i.length||i.indexOf("custom")>-1,P=!(!l||!l.length)&&l.indexOf("custom")>-1;E&&!P&&this.addCustomToPool(d,p)}}x=z.map(E=>{let P=p,Y=this.index,Z=0;for(let K=0;KX[n1.id]-X[h1.id])}P=Y.pool}return Y.results}).filter(E=>E),u=x.length>1?DU3.apply(null,x):x.length?x[0]:[]}return u&&(a&&(u=u.filter(z=>!(!z||!z.id)&&a(this.emojiService.names[z.id]))),u&&u.length>t&&(u=u.slice(0,t))),u||null}buildSearch(e,a,t,i,l){const d=[],u=(p,z)=>{if(!p)return;const x=Array.isArray(p)?p:[p];for(const E of x){const P=z?E.split(/[-|_|\s]+/):[E];for(let Y of P)Y=Y.toLowerCase(),d.includes(Y)||d.push(Y)}};return u(e,!0),u(a,!0),u(t,!0),u(i,!0),u(l,!1),d.join(",")}static \u0275fac=function(a){return new(a||c)(f1(Ul))};static \u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),tm1=(()=>{class c{skin;i18n;changeSkin=new Y1;opened=!1;skinTones=[1,2,3,4,5,6];toggleOpen(){this.opened=!this.opened}isSelected(e){return e===this.skin}isVisible(e){return this.opened||this.isSelected(e)}pressed(e){return this.opened?!!this.isSelected(e):""}tabIndex(e){return this.isVisible(e)?"0":""}expanded(e){return this.isSelected(e)?this.opened:""}handleClick(e){this.opened?(this.opened=!1,e!==this.skin&&this.changeSkin.emit(e)):this.opened=!0}static \u0275fac=function(a){return new(a||c)};static \u0275cmp=V1({type:c,selectors:[["emoji-skins"]],inputs:{skin:"skin",i18n:"i18n"},outputs:{changeSkin:"changeSkin"},standalone:!0,features:[C3],decls:2,vars:3,consts:[[1,"emoji-mart-skin-swatches"],["class","emoji-mart-skin-swatch",3,"selected",4,"ngFor","ngForOf"],[1,"emoji-mart-skin-swatch"],["role","button",3,"click","keyup.enter","keyup.space","tabIndex"]],template:function(a,t){1&a&&(o(0,"section",0),R(1,MU3,2,12,"span",1),n()),2&a&&(A6("opened",t.opened),s(),k("ngForOf",t.skinTones))},dependencies:[f0,ea],encapsulation:2,changeDetection:0})}return c})(),az=(()=>{class c{ref;emojiService;title;emoji;idleEmoji;i18n;emojiIsNative;emojiSkin;emojiSize;emojiSet;emojiSheetSize;emojiBackgroundImageFn;emojiImageUrlFn;skinChange=new Y1;emojiData={};listedEmoticons;constructor(e,a){this.ref=e,this.emojiService=a}ngOnChanges(){if(!this.emoji)return;this.emojiData=this.emojiService.getData(this.emoji,this.emojiSkin,this.emojiSet);const e=[],a=[];(this.emojiData.emoticons||[]).forEach(i=>{e.indexOf(i.toLowerCase())>=0||(e.push(i.toLowerCase()),a.push(i))}),this.listedEmoticons=a,this.ref?.detectChanges()}static \u0275fac=function(a){return new(a||c)(B(B1),B(Ul))};static \u0275cmp=V1({type:c,selectors:[["emoji-preview"]],inputs:{title:"title",emoji:"emoji",idleEmoji:"idleEmoji",i18n:"i18n",emojiIsNative:"emojiIsNative",emojiSkin:"emojiSkin",emojiSize:"emojiSize",emojiSet:"emojiSet",emojiSheetSize:"emojiSheetSize",emojiBackgroundImageFn:"emojiBackgroundImageFn",emojiImageUrlFn:"emojiImageUrlFn"},outputs:{skinChange:"skinChange"},standalone:!0,features:[A,C3],decls:9,vars:6,consts:[["class","emoji-mart-preview",4,"ngIf"],[1,"emoji-mart-preview",3,"hidden"],[1,"emoji-mart-preview-emoji"],[3,"isNative","skin","set","emoji","backgroundImageFn","size","imageUrlFn",4,"ngIf"],[1,"emoji-mart-preview-data"],[1,"emoji-mart-title-label"],[1,"emoji-mart-preview-skins"],[3,"changeSkin","skin","i18n"],[1,"emoji-mart-preview"],[3,"emoji","size","isNative","skin","set","sheetSize","backgroundImageFn","imageUrlFn"],[1,"emoji-mart-preview-name"],[1,"emoji-mart-preview-shortname"],["class","emoji-mart-preview-shortname",4,"ngFor","ngForOf"],[1,"emoji-mart-preview-emoticons"],["class","emoji-mart-preview-emoticon",4,"ngFor","ngForOf"],[1,"emoji-mart-preview-emoticon"],[3,"isNative","skin","set","emoji","backgroundImageFn","size","imageUrlFn"]],template:function(a,t){1&a&&(R(0,bU3,10,12,"div",0),o(1,"div",1)(2,"div",2),R(3,xU3,1,7,"ngx-emoji",3),n(),o(4,"div",4)(5,"span",5),f(6),n()(),o(7,"div",6)(8,"emoji-skins",7),C("changeSkin",function(l){return t.skinChange.emit(l)}),n()()()),2&a&&(k("ngIf",t.emoji&&t.emojiData),s(),k("hidden",t.emoji),s(2),k("ngIf",t.idleEmoji&&t.idleEmoji.length),s(3),H(t.title),s(2),k("skin",t.emojiSkin)("i18n",t.i18n))},dependencies:[f0,ea,i5,em1,tm1],encapsulation:2,changeDetection:0})}return c})(),AU3=0,rz=(()=>{class c{ngZone;emojiSearch;maxResults=75;autoFocus=!1;i18n;include=[];exclude=[];custom=[];icons;emojisToShowFilter;searchResults=new Y1;enterKeyOutsideAngular=new Y1;inputRef;isSearching=!1;icon;query="";inputId="emoji-mart-search-"+ ++AU3;destroy$=new G2;constructor(e,a){this.ngZone=e,this.emojiSearch=a}ngOnInit(){this.icon=this.icons.search,this.setupKeyupListener()}ngAfterViewInit(){this.autoFocus&&this.inputRef.nativeElement.focus()}ngOnDestroy(){this.destroy$.next()}clear(){this.query="",this.handleSearch(""),this.inputRef.nativeElement.focus()}handleSearch(e){""===e?(this.icon=this.icons.search,this.isSearching=!1):(this.icon=this.icons.delete,this.isSearching=!0);const a=this.emojiSearch.search(this.query,this.emojisToShowFilter,this.maxResults,this.include,this.exclude,this.custom);this.searchResults.emit(a)}handleChange(){this.handleSearch(this.query)}setupKeyupListener(){this.ngZone.runOutsideAngular(()=>Qt(this.inputRef.nativeElement,"keyup").pipe(Cs(this.destroy$)).subscribe(e=>{!this.query||"Enter"!==e.key||(this.enterKeyOutsideAngular.emit(e),e.preventDefault())}))}static \u0275fac=function(a){return new(a||c)(B(z2),B(EU3))};static \u0275cmp=V1({type:c,selectors:[["emoji-search"]],viewQuery:function(a,t){if(1&a&&b1(wU3,7),2&a){let i;M1(i=L1())&&(t.inputRef=i.first)}},inputs:{maxResults:"maxResults",autoFocus:"autoFocus",i18n:"i18n",include:"include",exclude:"exclude",custom:"custom",icons:"icons",emojisToShowFilter:"emojisToShowFilter"},outputs:{searchResults:"searchResults",enterKeyOutsideAngular:"enterKeyOutsideAngular"},standalone:!0,features:[C3],decls:8,vars:9,consts:[["inputRef",""],[1,"emoji-mart-search"],["type","search",3,"ngModelChange","id","placeholder","autofocus","ngModel"],[1,"emoji-mart-sr-only",3,"htmlFor"],["type","button",1,"emoji-mart-search-icon",3,"click","keyup.enter","disabled"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 20 20","width","13","height","13","opacity","0.5"]],template:function(a,t){if(1&a){const i=j();o(0,"div",1)(1,"input",2,0),sn("ngModelChange",function(d){return y(i),zh(t.query,d)||(t.query=d),b(d)}),C("ngModelChange",function(){return y(i),b(t.handleChange())}),n(),o(3,"label",3),f(4),n(),o(5,"button",4),C("click",function(){return y(i),b(t.clear())})("keyup.enter",function(){return y(i),b(t.clear())}),w(),o(6,"svg",5),v(7,"path"),n()()()}2&a&&(s(),k("id",t.inputId)("placeholder",t.i18n.search)("autofocus",t.autoFocus),nn("ngModel",t.query),s(2),k("htmlFor",t.inputId),s(),V(" ",t.i18n.search," "),s(),k("disabled",!t.isSearching),A2("aria-label",t.i18n.clear),s(2),A2("d",t.icon))},dependencies:[bl,H4,S4,Ll],encapsulation:2})}return c})();const im1={activity:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24m10 11h-5c.3-2.5 1.3-4.8 2-6.1a10 10 0 0 1 3 6.1m-9 0V2a10 10 0 0 1 4.4 1.6A18 18 0 0 0 15 11h-2zm-2 0H9a18 18 0 0 0-2.4-7.4A10 10 0 0 1 11 2.1V11zm0 2v9a10 10 0 0 1-4.4-1.6A18 18 0 0 0 9 13h2zm4 0a18 18 0 0 0 2.4 7.4 10 10 0 0 1-4.4 1.5V13h2zM5 4.9c.7 1.3 1.7 3.6 2 6.1H2a10 10 0 0 1 3-6.1M2 13h5c-.3 2.5-1.3 4.8-2 6.1A10 10 0 0 1 2 13m17 6.1c-.7-1.3-1.7-3.6-2-6.1h5a10 10 0 0 1-3 6.1",custom:"M10 1h3v21h-3zm10.186 4l1.5 2.598L3.5 18.098 2 15.5zM2 7.598L3.5 5l18.186 10.5-1.5 2.598z",flags:"M0 0l6 24h2L2 0zm21 5h-4l-1-4H4l3 12h3l1 4h13L21 5zM6.6 3h7.8l2 8H8.6l-2-8zm8.8 10l-2.9 1.9-.4-1.9h3.3zm3.6 0l-1.5-6h2l2 8H16l3-2z",foods:"M17 5c-1.8 0-2.9.4-3.7 1 .5-1.3 1.8-3 4.7-3a1 1 0 0 0 0-2c-3 0-4.6 1.3-5.5 2.5l-.2.2c-.6-1.9-1.5-3.7-3-3.7C8.5 0 7.7.3 7 1c-2 1.5-1.7 2.9-.5 4C3.6 5.2 0 7.4 0 13c0 4.6 5 11 9 11 2 0 2.4-.5 3-1 .6.5 1 1 3 1 4 0 9-6.4 9-11 0-6-4-8-7-8M8.2 2.5c.7-.5 1-.5 1-.5.4.2 1 1.4 1.4 3-1.6-.6-2.8-1.3-3-1.8l.6-.7M15 22c-1 0-1.2-.1-1.6-.4l-.1-.2a2 2 0 0 0-2.6 0l-.1.2c-.4.3-.5.4-1.6.4-2.8 0-7-5.4-7-9 0-6 4.5-6 5-6 2 0 2.5.4 3.4 1.2l.3.3a2 2 0 0 0 2.6 0l.3-.3c1-.8 1.5-1.2 3.4-1.2.5 0 5 .1 5 6 0 3.6-4.2 9-7 9",nature:"M15.5 8a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m-7 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m10.43-8h-.02c-.97 0-2.14.79-3.02 1.5A13.88 13.88 0 0 0 12 .99c-1.28 0-2.62.13-3.87.51C7.24.8 6.07 0 5.09 0h-.02C3.35 0 .07 2.67 0 7.03c-.04 2.47.28 4.23 1.04 5 .26.27.88.69 1.3.9.19 3.17.92 5.23 2.53 6.37.9.64 2.19.95 3.2 1.1-.03.2-.07.4-.07.6 0 1.77 2.35 3 4 3s4-1.23 4-3c0-.2-.04-.4-.07-.59 2.57-.38 5.43-1.87 5.92-7.58.4-.22.89-.57 1.1-.8.77-.76 1.09-2.52 1.05-5C23.93 2.67 20.65 0 18.93 0M3.23 9.13c-.24.29-.84 1.16-.9 1.24A9.67 9.67 0 0 1 2 7.08c.05-3.28 2.48-4.97 3.1-5.03.25.02.72.27 1.26.65A7.95 7.95 0 0 0 4 7.82c-.14.55-.4.86-.79 1.31M12 22c-.9 0-1.95-.7-2-1 0-.65.47-1.24 1-1.6v.6a1 1 0 1 0 2 0v-.6c.52.36 1 .95 1 1.6-.05.3-1.1 1-2 1m3-3.48v.02a4.75 4.75 0 0 0-1.26-1.02c1.09-.52 2.24-1.33 2.24-2.22 0-1.84-1.78-2.2-3.98-2.2s-3.98.36-3.98 2.2c0 .89 1.15 1.7 2.24 2.22A4.8 4.8 0 0 0 9 18.54v-.03a6.1 6.1 0 0 1-2.97-.84c-1.3-.92-1.84-3.04-1.86-6.48l.03-.04c.5-.82 1.49-1.45 1.8-3.1C6 6 7.36 4.42 8.36 3.53c1.01-.35 2.2-.53 3.59-.53 1.45 0 2.68.2 3.73.57 1 .9 2.32 2.46 2.32 4.48.31 1.65 1.3 2.27 1.8 3.1l.1.18c-.06 5.97-1.95 7.01-4.9 7.19m6.63-8.2l-.11-.2a7.59 7.59 0 0 0-.74-.98 3.02 3.02 0 0 1-.79-1.32 7.93 7.93 0 0 0-2.35-5.12c.53-.38 1-.63 1.26-.65.64.07 3.05 1.77 3.1 5.03.02 1.81-.35 3.22-.37 3.24",objects:"M12 0a9 9 0 0 0-5 16.5V21s2 3 5 3 5-3 5-3v-4.5A9 9 0 0 0 12 0zm0 2a7 7 0 1 1 0 14 7 7 0 0 1 0-14zM9 17.5a9 9 0 0 0 6 0v.8a7 7 0 0 1-3 .7 7 7 0 0 1-3-.7v-.8zm.2 3a8.9 8.9 0 0 0 2.8.5c1 0 1.9-.2 2.8-.5-.6.7-1.6 1.5-2.8 1.5-1.1 0-2.1-.8-2.8-1.5zm5.5-8.1c-.8 0-1.1-.8-1.5-1.8-.5-1-.7-1.5-1.2-1.5s-.8.5-1.3 1.5c-.4 1-.8 1.8-1.6 1.8h-.3c-.5-.2-.8-.7-1.3-1.8l-.2-1A3 3 0 0 0 7 9a1 1 0 0 1 0-2c1.7 0 2 1.4 2.2 2.1.5-1 1.3-2 2.8-2 1.5 0 2.3 1.1 2.7 2.1.2-.8.6-2.2 2.3-2.2a1 1 0 1 1 0 2c-.2 0-.3.5-.3.7a6.5 6.5 0 0 1-.3 1c-.5 1-.8 1.7-1.7 1.7",people:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24m0 22a10 10 0 1 1 0-20 10 10 0 0 1 0 20M8 7a2 2 0 1 0 0 4 2 2 0 0 0 0-4m8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4m-.8 8c-.7 1.2-1.8 2-3.3 2-1.5 0-2.7-.8-3.4-2H15m3-2H6a6 6 0 1 0 12 0",places:"M6.5 12a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 3c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5m11-3a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 3c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5m5-5.5l-1-.4-.1-.1h.6c.6 0 1-.4 1-1 0-1-.9-2-2-2h-.6l-.8-1.7A3 3 0 0 0 16.8 2H7.2a3 3 0 0 0-2.8 2.3L3.6 6H3a2 2 0 0 0-2 2c0 .6.4 1 1 1h.6v.1l-1 .4a2 2 0 0 0-1.4 2l.7 7.6a1 1 0 0 0 1 .9H3v1c0 1.1.9 2 2 2h2a2 2 0 0 0 2-2v-1h6v1c0 1.1.9 2 2 2h2a2 2 0 0 0 2-2v-1h1.1a1 1 0 0 0 1-.9l.7-7.5a2 2 0 0 0-1.3-2.1M6.3 4.9c.1-.5.5-.9 1-.9h9.5c.4 0 .8.4 1 .9L19.2 9H4.7l1.6-4.1zM7 21H5v-1h2v1zm12 0h-2v-1h2v1zm2.2-3H2.8l-.7-6.6.9-.4h18l.9.4-.7 6.6z",recent:"M13 4h-2v7H9v2h2v2h2v-2h4v-2h-4zm-1-4a12 12 0 1 0 0 24 12 12 0 0 0 0-24m0 22a10 10 0 1 1 0-20 10 10 0 0 1 0 20",symbols:"M0 0h11v2H0zm4 11h3V6h4V4H0v2h4zm11.5 6a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5m0-2.99a.5.5 0 0 1 0 .99c-.28 0-.5-.22-.5-.5s.22-.49.5-.49m6 5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 2.99a.5.5 0 0 1-.5-.5.5.5 0 0 1 1 .01.5.5 0 0 1-.5.49m.5-9l-9 9 1.51 1.5 9-9zm-5-2c2.2 0 4-1.12 4-2.5V2s.98-.16 1.5.95C23 4.05 23 6 23 6s1-1.12 1-3.13C24-.02 21 0 21 0h-2v6.35A5.85 5.85 0 0 0 17 6c-2.2 0-4 1.12-4 2.5s1.8 2.5 4 2.5m-6.7 9.48L8.82 18.9a47.54 47.54 0 0 1-1.44 1.13c-.3-.3-.99-1.02-2.04-2.19.9-.83 1.47-1.46 1.72-1.89s.38-.87.38-1.33c0-.6-.27-1.18-.82-1.76-.54-.58-1.33-.87-2.35-.87-1 0-1.79.29-2.34.87-.56.6-.83 1.18-.83 1.79 0 .81.42 1.75 1.25 2.8a6.57 6.57 0 0 0-1.8 1.79 3.46 3.46 0 0 0-.51 1.83c0 .86.3 1.56.92 2.1a3.5 3.5 0 0 0 2.42.83c1.17 0 2.44-.38 3.81-1.14L8.23 24h2.82l-2.09-2.38 1.34-1.14zM3.56 14.1a1.02 1.02 0 0 1 .73-.28c.31 0 .56.08.75.25a.85.85 0 0 1 .28.66c0 .52-.42 1.11-1.26 1.78-.53-.65-.8-1.23-.8-1.74a.9.9 0 0 1 .3-.67m.18 7.9c-.43 0-.78-.12-1.06-.35-.28-.23-.41-.49-.41-.76 0-.6.5-1.3 1.52-2.09a31.23 31.23 0 0 0 2.25 2.44c-.92.5-1.69.76-2.3.76"},om1={search:"M12.9 14.32a8 8 0 1 1 1.41-1.41l5.35 5.33-1.42 1.42-5.33-5.34zM8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12z",delete:"M10 8.586L2.929 1.515 1.515 2.929 8.586 10l-7.071 7.071 1.414 1.414L10 11.414l7.071 7.071 1.414-1.414L11.414 10l7.071-7.071-1.414-1.414L10 8.586z"},nm1={search:"Search",emojilist:"List of emoji",notfound:"No Emoji Found",clear:"Clear",categories:{search:"Search Results",recent:"Frequently Used",people:"Smileys & People",nature:"Animals & Nature",foods:"Food & Drink",activity:"Activity",places:"Travel & Places",objects:"Objects",symbols:"Symbols",flags:"Flags",custom:"Custom"},skintones:{1:"Default Skin Tone",2:"Light Skin Tone",3:"Medium-Light Skin Tone",4:"Medium Skin Tone",5:"Medium-Dark Skin Tone",6:"Dark Skin Tone"}};let G3=(()=>{class c{ngZone;renderer;ref;frequently;platformId;perLine=9;totalFrequentLines=4;i18n={};style={};title="Emoji Mart\u2122";emoji="department_store";darkMode=!("function"!=typeof matchMedia||!matchMedia("(prefers-color-scheme: dark)").matches);color="#ae65c5";hideObsolete=!0;categories=[];activeCategories=[];set="apple";skin=1;isNative=!1;emojiSize=24;sheetSize=64;emojisToShowFilter;showPreview=!0;emojiTooltip=!1;autoFocus=!1;custom=[];hideRecent=!0;imageUrlFn;include;exclude;notFoundEmoji="sleuth_or_spy";categoriesIcons=im1;searchIcons=om1;useButton=!1;enableFrequentEmojiSort=!1;enableSearch=!0;showSingleCategory=!1;virtualize=!1;virtualizeOffset=0;recent;emojiClick=new Y1;emojiSelect=new Y1;skinChange=new Y1;scrollRef;previewRef;searchRef;categoryRefs;scrollHeight=0;clientHeight=0;clientWidth=0;selected;nextScroll;scrollTop;firstRender=!0;previewEmoji=null;animationFrameRequestId=null;NAMESPACE="emoji-mart";measureScrollbar=0;RECENT_CATEGORY={id:"recent",name:"Recent",emojis:null};SEARCH_CATEGORY={id:"search",name:"Search",emojis:null,anchor:!1};CUSTOM_CATEGORY={id:"custom",name:"Custom",emojis:[]};scrollListener;backgroundImageFn=(e,a)=>`https://cdn.jsdelivr.net/npm/emoji-datasource-${e}@14.0.0/img/${e}/sheets-256/${a}.png`;constructor(e,a,t,i,l){this.ngZone=e,this.renderer=a,this.ref=t,this.frequently=i,this.platformId=l}ngOnInit(){this.measureScrollbar=function TU3(){if(typeof document>"u")return 0;const c=document.createElement("div");c.style.width="100px",c.style.height="100px",c.style.overflow="scroll",c.style.position="absolute",c.style.top="-9999px",document.body.appendChild(c);const r=c.offsetWidth-c.clientWidth;return document.body.removeChild(c),r}(),this.i18n={...nm1,...this.i18n},this.i18n.categories={...nm1.categories,...this.i18n.categories},this.skin=JSON.parse(t6(this.platformId)&&localStorage.getItem(`${this.NAMESPACE}.skin`)||"null")||this.skin;const e=[...Jh1];this.custom.length>0&&(this.CUSTOM_CATEGORY.emojis=this.custom.map(d=>({...d,id:d.shortNames[0],custom:!0})),e.push(this.CUSTOM_CATEGORY)),void 0!==this.include&&e.sort((d,u)=>this.include.indexOf(d.id)>this.include.indexOf(u.id)?1:-1);for(const d of e){const u=!this.include||!this.include.length||this.include.indexOf(d.id)>-1,p=!(!this.exclude||!this.exclude.length)&&this.exclude.indexOf(d.id)>-1;if(u&&!p){if(this.emojisToShowFilter){const z=[],{emojis:x}=d;for(let E=0;E-1,t=!(!this.exclude||!this.exclude.length)&&this.exclude.indexOf(this.RECENT_CATEGORY.id)>-1;a&&!t&&(this.hideRecent=!1,this.categories.unshift(this.RECENT_CATEGORY)),this.categories[0]&&(this.categories[0].first=!0),this.categories.unshift(this.SEARCH_CATEGORY),this.selected=this.categories.filter(d=>d.first)[0].name;const i=Math.min(this.categories.length,3);this.setActiveCategories(this.activeCategories=this.categories.slice(0,i));const l=this.categories[i-1].emojis.slice();this.categories[i-1].emojis=l.slice(0,60),setTimeout(()=>{this.categories[i-1].emojis=l,this.setActiveCategories(this.categories),this.ref.detectChanges(),t6(this.platformId)&&this.ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this.updateCategoriesSize()})})}),this.ngZone.runOutsideAngular(()=>{this.scrollListener=this.renderer.listen(this.scrollRef.nativeElement,"scroll",()=>{this.handleScroll()})})}ngOnDestroy(){this.scrollListener?.(),this.cancelAnimationFrame()}setActiveCategories(e){this.activeCategories=this.showSingleCategory?e.filter(a=>a.name===this.selected||a===this.SEARCH_CATEGORY):e}updateCategoriesSize(){if(this.categoryRefs.forEach(e=>e.memoizeSize()),this.scrollRef){const e=this.scrollRef.nativeElement;this.scrollHeight=e.scrollHeight,this.clientHeight=e.clientHeight,this.clientWidth=e.clientWidth}}handleAnchorClick(e){if(this.updateCategoriesSize(),this.selected=e.category.name,this.setActiveCategories(this.categories),this.SEARCH_CATEGORY.emojis)return this.handleSearch(null),this.searchRef?.clear(),void this.handleAnchorClick(e);const a=this.categoryRefs.find(t=>t.id===e.category.id);if(a){let{top:t}=a;e.category.first?t=0:t+=1,this.scrollRef.nativeElement.scrollTop=t}this.nextScroll=e.category.name;for(const t of this.categories)this.categoryRefs.find(({id:l})=>l===t.id)?.handleScroll(this.scrollRef.nativeElement.scrollTop)}categoryTrack(e,a){return a.id}handleScroll(e=!1){if(this.nextScroll)return this.selected=this.nextScroll,this.nextScroll=void 0,void this.ref.detectChanges();if(!this.scrollRef||this.showSingleCategory)return;let a;if(this.SEARCH_CATEGORY.emojis)a=this.SEARCH_CATEGORY;else{const t=this.scrollRef.nativeElement;if(0===t.scrollTop)a=this.categories.find(i=>!0===i.first);else if(t.scrollHeight-t.scrollTop===this.clientHeight)a=this.categories[this.categories.length-1];else for(const i of this.categories)this.categoryRefs.find(({id:u})=>u===i.id)?.handleScroll(t.scrollTop)&&(a=i);this.scrollTop=t.scrollTop}!e&&a&&a.name!==this.selected?(this.selected=a.name,this.ref.detectChanges()):e&&this.ref.detectChanges()}handleSearch(e){this.SEARCH_CATEGORY.emojis=e;for(const a of this.categoryRefs.toArray())"Search"===a.name?(a.emojis=e,a.updateDisplay(e?"block":"none")):a.updateDisplay(e?"none":"block");this.scrollRef.nativeElement.scrollTop=0,this.handleScroll()}handleEnterKey(e,a){if(!a&&null!==this.SEARCH_CATEGORY.emojis&&this.SEARCH_CATEGORY.emojis.length){if(!(a=this.SEARCH_CATEGORY.emojis[0]))return;tz(this.emojiSelect,this.ngZone,{$event:e,emoji:a})}!this.hideRecent&&!this.recent&&a&&this.frequently.add(a);const t=this.categoryRefs.toArray()[1];t&&this.enableFrequentEmojiSort&&this.ngZone.run(()=>{t.updateRecentEmojis(),t.ref.markForCheck()})}handleEmojiOver(e){if(!this.showPreview||!this.previewRef)return;const a=this.CUSTOM_CATEGORY.emojis.find(t=>t.id===e.emoji.id);a&&(e.emoji={...a}),this.previewEmoji=e.emoji,this.cancelAnimationFrame(),this.ref.detectChanges()}handleEmojiLeave(){!this.showPreview||!this.previewRef||(this.animationFrameRequestId=requestAnimationFrame(()=>{this.previewEmoji=null,this.ref.detectChanges()}))}handleEmojiClick(e){tz(this.emojiClick,this.ngZone,e),tz(this.emojiSelect,this.ngZone,e),this.handleEnterKey(e.$event,e.emoji)}handleSkinChange(e){this.skin=e,localStorage.setItem(`${this.NAMESPACE}.skin`,String(e)),this.skinChange.emit(e)}getWidth(){return this.style&&this.style.width?this.style.width:this.perLine*(this.emojiSize+12)+12+2+this.measureScrollbar+"px"}cancelAnimationFrame(){null!==this.animationFrameRequestId&&(cancelAnimationFrame(this.animationFrameRequestId),this.animationFrameRequestId=null)}static \u0275fac=function(a){return new(a||c)(B(z2),B(T6),B(B1),B(am1),B(m6))};static \u0275cmp=V1({type:c,selectors:[["emoji-mart"]],viewQuery:function(a,t){if(1&a&&(b1(FU3,7),b1(az,5),b1(rz,5),b1(cz,5)),2&a){let i;M1(i=L1())&&(t.scrollRef=i.first),M1(i=L1())&&(t.previewRef=i.first),M1(i=L1())&&(t.searchRef=i.first),M1(i=L1())&&(t.categoryRefs=i)}},inputs:{perLine:"perLine",totalFrequentLines:"totalFrequentLines",i18n:"i18n",style:"style",title:"title",emoji:"emoji",darkMode:"darkMode",color:"color",hideObsolete:"hideObsolete",categories:"categories",activeCategories:"activeCategories",set:"set",skin:"skin",isNative:"isNative",emojiSize:"emojiSize",sheetSize:"sheetSize",emojisToShowFilter:"emojisToShowFilter",showPreview:"showPreview",emojiTooltip:"emojiTooltip",autoFocus:"autoFocus",custom:"custom",hideRecent:"hideRecent",imageUrlFn:"imageUrlFn",include:"include",exclude:"exclude",notFoundEmoji:"notFoundEmoji",categoriesIcons:"categoriesIcons",searchIcons:"searchIcons",useButton:"useButton",enableFrequentEmojiSort:"enableFrequentEmojiSort",enableSearch:"enableSearch",showSingleCategory:"showSingleCategory",virtualize:"virtualize",virtualizeOffset:"virtualizeOffset",recent:"recent",backgroundImageFn:"backgroundImageFn"},outputs:{emojiClick:"emojiClick",emojiSelect:"emojiSelect",skinChange:"skinChange"},standalone:!0,features:[C3],decls:8,vars:16,consts:[["scrollRef",""],[3,"ngStyle"],[1,"emoji-mart-bar"],[3,"anchorClick","categories","color","selected","i18n","icons"],[3,"i18n","include","exclude","custom","autoFocus","icons","emojisToShowFilter","searchResults","enterKeyOutsideAngular",4,"ngIf"],[1,"emoji-mart-scroll"],[3,"id","name","emojis","perLine","totalFrequentLines","hasStickyPosition","i18n","hideObsolete","notFoundEmoji","custom","recent","virtualize","virtualizeOffset","emojiIsNative","emojiSkin","emojiSize","emojiSet","emojiSheetSize","emojiForceSize","emojiTooltip","emojiBackgroundImageFn","emojiImageUrlFn","emojiUseButton","emojiOverOutsideAngular","emojiLeaveOutsideAngular","emojiClickOutsideAngular",4,"ngFor","ngForOf","ngForTrackBy"],["class","emoji-mart-bar",4,"ngIf"],[3,"searchResults","enterKeyOutsideAngular","i18n","include","exclude","custom","autoFocus","icons","emojisToShowFilter"],[3,"emojiOverOutsideAngular","emojiLeaveOutsideAngular","emojiClickOutsideAngular","id","name","emojis","perLine","totalFrequentLines","hasStickyPosition","i18n","hideObsolete","notFoundEmoji","custom","recent","virtualize","virtualizeOffset","emojiIsNative","emojiSkin","emojiSize","emojiSet","emojiSheetSize","emojiForceSize","emojiTooltip","emojiBackgroundImageFn","emojiImageUrlFn","emojiUseButton"],[3,"skinChange","emoji","idleEmoji","emojiIsNative","emojiSize","emojiSkin","emojiSet","i18n","emojiSheetSize","emojiBackgroundImageFn","emojiImageUrlFn"]],template:function(a,t){if(1&a){const i=j();o(0,"section",1)(1,"div",2)(2,"emoji-mart-anchors",3),C("anchorClick",function(d){return y(i),b(t.handleAnchorClick(d))}),n()(),R(3,kU3,1,7,"emoji-search",4),o(4,"section",5,0),R(6,SU3,1,23,"emoji-category",6),n(),R(7,NU3,2,11,"div",7),n()}2&a&&(sh("emoji-mart ",t.darkMode?"emoji-mart-dark":"",""),Gc("width",t.getWidth()),k("ngStyle",t.style),s(2),k("categories",t.categories)("color",t.color)("selected",t.selected)("i18n",t.i18n)("icons",t.categoriesIcons),s(),k("ngIf",t.enableSearch),s(),A2("aria-label",t.i18n.emojilist),s(2),k("ngForOf",t.activeCategories)("ngForTrackBy",t.categoryTrack),s(),k("ngIf",t.showPreview))},dependencies:[f0,ea,i5,Pn,cm1,rz,az,cz],encapsulation:2,changeDetection:0})}return c})();function tz(c,r,e){c.observed&&r.run(()=>c.emit(e))}const PU3=["fileSelector"],RU3=c=>({openFileSelector:c});function BU3(c,r){if(1&c&&(o(0,"div",8),f(1),n()),2&c){const e=h(2);s(),H(e.dropZoneLabel)}}function OU3(c,r){if(1&c){const e=j();o(0,"div")(1,"input",9),C("click",function(t){return y(e),b(h(2).openFileSelector(t))}),n()()}if(2&c){const e=h(2);s(),D1("value",e.browseBtnLabel),k("className",e.browseBtnClassName)}}function IU3(c,r){if(1&c&&R(0,BU3,2,1,"div",6)(1,OU3,2,2,"div",7),2&c){const e=h();k("ngIf",e.dropZoneLabel),s(),k("ngIf",e.showBrowseBtn)}}function UU3(c,r){}class jl{constructor(r,e){this.relativePath=r,this.fileEntry=e}}let $l=(()=>{class c{constructor(e){this.template=e}static#e=this.\u0275fac=function(a){return new(a||c)(B(t0))};static#c=this.\u0275dir=U1({type:c,selectors:[["","ngx-file-drop-content-tmp",""]]})}return c})(),Yl=(()=>{class c{get disabled(){return this._disabled}set disabled(e){this._disabled=null!=e&&"false"!=`${e}`}constructor(e,a){this.zone=e,this.renderer=a,this.accept="*",this.directory=!1,this.multiple=!0,this.dropZoneLabel="",this.dropZoneClassName="ngx-file-drop__drop-zone",this.useDragEnter=!1,this.contentClassName="ngx-file-drop__content",this.showBrowseBtn=!1,this.browseBtnClassName="btn btn-primary btn-xs ngx-file-drop__browse-btn",this.browseBtnLabel="Browse files",this.onFileDrop=new Y1,this.onFileOver=new Y1,this.onFileLeave=new Y1,this.isDraggingOverDropZone=!1,this.globalDraggingInProgress=!1,this.files=[],this.numOfActiveReadEntries=0,this.helperFormEl=null,this.fileInputPlaceholderEl=null,this.dropEventTimerSubscription=null,this._disabled=!1,this.openFileSelector=t=>{this.fileSelector&&this.fileSelector.nativeElement&&this.fileSelector.nativeElement.click()},this.globalDragStartListener=this.renderer.listen("document","dragstart",t=>{this.globalDraggingInProgress=!0}),this.globalDragEndListener=this.renderer.listen("document","dragend",t=>{this.globalDraggingInProgress=!1})}ngOnDestroy(){this.dropEventTimerSubscription&&(this.dropEventTimerSubscription.unsubscribe(),this.dropEventTimerSubscription=null),this.globalDragStartListener(),this.globalDragEndListener(),this.files=[],this.helperFormEl=null,this.fileInputPlaceholderEl=null}onDragOver(e){this.useDragEnter?(this.preventAndStop(e),e.dataTransfer&&(e.dataTransfer.dropEffect="copy")):!this.isDropzoneDisabled()&&!this.useDragEnter&&e.dataTransfer&&(this.isDraggingOverDropZone||(this.isDraggingOverDropZone=!0,this.onFileOver.emit(e)),this.preventAndStop(e),e.dataTransfer.dropEffect="copy")}onDragEnter(e){!this.isDropzoneDisabled()&&this.useDragEnter&&(this.isDraggingOverDropZone||(this.isDraggingOverDropZone=!0,this.onFileOver.emit(e)),this.preventAndStop(e))}onDragLeave(e){this.isDropzoneDisabled()||(this.isDraggingOverDropZone&&(this.isDraggingOverDropZone=!1,this.onFileLeave.emit(e)),this.preventAndStop(e))}dropFiles(e){if(!this.isDropzoneDisabled()&&(this.isDraggingOverDropZone=!1,e.dataTransfer)){let a;a=e.dataTransfer.items?e.dataTransfer.items:e.dataTransfer.files,this.preventAndStop(e),this.checkFiles(a)}}uploadFiles(e){!this.isDropzoneDisabled()&&e.target&&(this.checkFiles(e.target.files||[]),this.resetFileInput())}getFakeDropEntry(e){const a={name:e.name,isDirectory:!1,isFile:!0,file:t=>t(e)};return new jl(a.name,a)}checkFile(e){if(e){if("webkitGetAsEntry"in e){let a=e.webkitGetAsEntry();if(a){if(a.isFile){const t=new jl(a.name,a);this.addToQueue(t)}else a.isDirectory&&this.traverseFileTree(a,a.name);return}}this.addToQueue(this.getFakeDropEntry(e))}}checkFiles(e){for(let a=0;a{if(this.files.length>0&&0===this.numOfActiveReadEntries){const a=this.files;this.files=[],this.onFileDrop.emit(a)}})}traverseFileTree(e,a){if(e.isFile){const t=new jl(a,e);this.files.push(t)}else{a+="/";const t=e.createReader();let i=[];const l=()=>{this.numOfActiveReadEntries++,t.readEntries(d=>{if(d.length)i=i.concat(d),l();else if(0===i.length){const u=new jl(a,e);this.zone.run(()=>{this.addToQueue(u)})}else for(let u=0;u{this.traverseFileTree(i[u],a+i[u].name)});this.numOfActiveReadEntries--})};l()}}resetFileInput(){if(this.fileSelector&&this.fileSelector.nativeElement){const e=this.fileSelector.nativeElement,a=e.parentElement,t=this.getHelperFormElement(),i=this.getFileInputPlaceholderElement();a!==t&&(this.renderer.insertBefore(a,i,e),this.renderer.appendChild(t,e),t.reset(),this.renderer.insertBefore(a,e,i),this.renderer.removeChild(a,i))}}getHelperFormElement(){return this.helperFormEl||(this.helperFormEl=this.renderer.createElement("form")),this.helperFormEl}getFileInputPlaceholderElement(){return this.fileInputPlaceholderEl||(this.fileInputPlaceholderEl=this.renderer.createElement("div")),this.fileInputPlaceholderEl}isDropzoneDisabled(){return this.globalDraggingInProgress||this.disabled}addToQueue(e){this.files.push(e)}preventAndStop(e){e.stopPropagation(),e.preventDefault()}static#e=this.\u0275fac=function(a){return new(a||c)(B(z2),B(T6))};static#c=this.\u0275cmp=V1({type:c,selectors:[["ngx-file-drop"]],contentQueries:function(a,t,i){if(1&a&&Hh(i,$l,5,t0),2&a){let l;M1(l=L1())&&(t.contentTemplate=l.first)}},viewQuery:function(a,t){if(1&a&&b1(PU3,7),2&a){let i;M1(i=L1())&&(t.fileSelector=i.first)}},inputs:{accept:"accept",directory:"directory",multiple:"multiple",dropZoneLabel:"dropZoneLabel",dropZoneClassName:"dropZoneClassName",useDragEnter:"useDragEnter",contentClassName:"contentClassName",showBrowseBtn:"showBrowseBtn",browseBtnClassName:"browseBtnClassName",browseBtnLabel:"browseBtnLabel",disabled:"disabled"},outputs:{onFileDrop:"onFileDrop",onFileOver:"onFileOver",onFileLeave:"onFileLeave"},decls:7,vars:15,consts:[["fileSelector",""],["defaultContentTemplate",""],[3,"drop","dragover","dragenter","dragleave","className"],[3,"className"],["type","file",1,"ngx-file-drop__file-input",3,"change","accept","multiple"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","ngx-file-drop__drop-zone-label",4,"ngIf"],[4,"ngIf"],[1,"ngx-file-drop__drop-zone-label"],["type","button",3,"click","className","value"]],template:function(a,t){if(1&a){const i=j();o(0,"div",2),C("drop",function(d){return y(i),b(t.dropFiles(d))})("dragover",function(d){return y(i),b(t.onDragOver(d))})("dragenter",function(d){return y(i),b(t.onDragEnter(d))})("dragleave",function(d){return y(i),b(t.onDragLeave(d))}),o(1,"div",3)(2,"input",4,0),C("change",function(d){return y(i),b(t.uploadFiles(d))}),n(),R(4,IU3,2,2,"ng-template",null,1,dn)(6,UU3,0,0,"ng-template",5),n()()}if(2&a){const i=Lr(5);A6("ngx-file-drop__drop-zone--over",t.isDraggingOverDropZone),k("className",t.dropZoneClassName),s(),k("className",t.contentClassName),s(),k("accept",t.accept)("multiple",t.multiple),A2("directory",t.directory||void 0)("webkitdirectory",t.directory||void 0)("mozdirectory",t.directory||void 0)("msdirectory",t.directory||void 0)("odirectory",t.directory||void 0),s(4),k("ngTemplateOutlet",t.contentTemplate||i)("ngTemplateOutletContext",fn(13,RU3,t.openFileSelector))}},dependencies:[i5,Kw],styles:[".ngx-file-drop__drop-zone[_ngcontent-%COMP%]{height:100px;margin:auto;border:2px dotted #0782d0;border-radius:30px}.ngx-file-drop__drop-zone--over[_ngcontent-%COMP%]{background-color:#93939380}.ngx-file-drop__content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;height:100px;color:#0782d0}.ngx-file-drop__drop-zone-label[_ngcontent-%COMP%]{text-align:center}.ngx-file-drop__file-input[_ngcontent-%COMP%]{display:none}"]})}return c})(),jU3=(()=>{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275mod=M4({type:c,bootstrap:[Yl]});static#a=this.\u0275inj=g4({imports:[f0]})}return c})();const $U3=["imgURL"],sm1=(c,r)=>r.code,YU3=()=>({position:"relative",left:"200px",top:"-500px"});function GU3(c,r){1&c&&(o(0,"div",1),w(),o(1,"svg",6),v(2,"path",7)(3,"path",8),n(),O(),o(4,"span",9),f(5,"Loading..."),n()())}function qU3(c,r){1&c&&v(0,"markdown",47),2&c&&k("data",h(2).description)}function WU3(c,r){1&c&&v(0,"textarea",70)}function ZU3(c,r){if(1&c){const e=j();o(0,"emoji-mart",71),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(2).addEmoji(t))}),n()}2&c&&(Y2(E4(3,YU3)),k("darkMode",!1))}function KU3(c,r){if(1&c){const e=j();o(0,"div",49),v(1,"img",72),o(2,"button",73),C("click",function(){return y(e),b(h(2).removeImg())}),w(),o(3,"svg",74),v(4,"path",75),n()()()}if(2&c){const e=h(2);s(),D1("src",e.imgPreview,h2)}}function QU3(c,r){if(1&c){const e=j();o(0,"div",84),w(),o(1,"svg",85),v(2,"path",86),n(),O(),o(3,"div",87)(4,"p",88),f(5),m(6,"translate"),o(7,"button",89),C("click",function(){return b((0,y(e).openFileSelector)())}),f(8),m(9,"translate"),n()()()()}2&c&&(s(5),V("",_(6,2,"CREATE_PROD_SPEC._drop_files")," "),s(3),H(_(9,4,"CREATE_PROD_SPEC._select_files")))}function JU3(c,r){if(1&c){const e=j();o(0,"div",76)(1,"ngx-file-drop",77),C("onFileDrop",function(t){return y(e),b(h(2).dropped(t,"img"))})("onFileOver",function(t){return y(e),b(h(2).fileOver(t))})("onFileLeave",function(t){return y(e),b(h(2).fileLeave(t))}),R(2,QU3,10,6,"ng-template",78),n()(),o(3,"label",79),f(4),m(5,"translate"),n(),o(6,"div",80),v(7,"input",81,0),o(9,"button",82),C("click",function(){return y(e),b(h(2).saveImgFromURL())}),w(),o(10,"svg",74),v(11,"path",83),n()()()}if(2&c){const e=h(2);s(4),H(_(5,4,"PROFILE._add_logo_url")),s(3),k("formControl",e.attImageName),s(2),k("disabled",!e.attImageName.valid)("ngClass",e.attImageName.valid?"hover:bg-primary-50":"opacity-50")}}function XU3(c,r){1&c&&f(0),2&c&&V(" ",h().$implicit.characteristic.emailAddress," ")}function ej3(c,r){if(1&c&&f(0),2&c){const e=h().$implicit;r5(" ",e.characteristic.street1,", ",e.characteristic.postCode," (",e.characteristic.city,") ",e.characteristic.stateOrProvince," ")}}function cj3(c,r){1&c&&f(0),2&c&&V(" ",h().$implicit.characteristic.phoneNumber," ")}function aj3(c,r){if(1&c){const e=j();o(0,"tr",55)(1,"td",90),f(2),n(),o(3,"td",91),R(4,XU3,1,1)(5,ej3,1,4)(6,cj3,1,1),n(),o(7,"td",92)(8,"button",93),C("click",function(){const t=y(e).$implicit;return b(h(2).showEdit(t))}),w(),o(9,"svg",94),v(10,"path",95),n()(),O(),o(11,"button",96),C("click",function(){const t=y(e).$implicit;return b(h(2).removeMedium(t))}),w(),o(12,"svg",94),v(13,"path",97),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.mediumType," "),s(2),S(4,"Email"==e.mediumType?4:"PostalAddress"==e.mediumType?5:6)}}function rj3(c,r){1&c&&(o(0,"div",56)(1,"div",98),w(),o(2,"svg",99),v(3,"path",100),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"PROFILE._no_mediums")," "))}function tj3(c,r){if(1&c&&(o(0,"div",63)(1,"label",101),f(2),m(3,"translate"),n(),v(4,"input",102),n()),2&c){let e;const a=h(2);s(2),H(_(3,2,"PROFILE._email")),s(2),k("ngClass",1==(null==(e=a.mediumForm.get("email"))?null:e.invalid)&&""!=a.mediumForm.value.email?"border-red-600":"border-gray-300")}}function ij3(c,r){1&c&&(o(0,"div")(1,"label",103),f(2),m(3,"translate"),n(),v(4,"input",104),n(),o(5,"div")(6,"label",105),f(7),m(8,"translate"),n(),v(9,"input",106),n(),o(10,"div")(11,"label",107),f(12),m(13,"translate"),n(),v(14,"input",108),n(),o(15,"div")(16,"label",109),f(17),m(18,"translate"),n(),v(19,"input",110),n(),o(20,"div",63)(21,"label",111),f(22),m(23,"translate"),n(),v(24,"textarea",112),n()),2&c&&(s(2),H(_(3,5,"PROFILE._country")),s(5),H(_(8,7,"PROFILE._city")),s(5),H(_(13,9,"PROFILE._state")),s(5),H(_(18,11,"PROFILE._post_code")),s(5),H(_(23,13,"PROFILE._street")))}function oj3(c,r){if(1&c){const e=j();o(0,"button",131),C("click",function(){const t=y(e).$implicit;return b(h(4).selectPrefix(t))}),o(1,"div",132),f(2),n()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.text," ")}}function nj3(c,r){if(1&c&&(o(0,"div",127)(1,"ul",129)(2,"li"),c1(3,oj3,3,1,"button",130,sm1),n()()()),2&c){const e=h(3);s(3),a1(e.prefixes)}}function sj3(c,r){if(1&c){const e=j();o(0,"div",113)(1,"label",114),f(2),m(3,"translate"),n(),o(4,"select",115)(5,"option",116),f(6,"Mobile"),n(),o(7,"option",117),f(8,"Landline"),n(),o(9,"option",118),f(10,"Office"),n(),o(11,"option",119),f(12,"Home"),n(),o(13,"option",120),f(14,"Other"),n()()(),o(15,"div",113)(16,"label",121),f(17),m(18,"translate"),n(),o(19,"div",122)(20,"div",123)(21,"button",124),C("click",function(){y(e);const t=h(2);return b(t.prefixCheck=!t.prefixCheck)}),f(22),w(),o(23,"svg",125),v(24,"path",126),n()(),R(25,nj3,5,0,"div",127),O(),v(26,"input",128),n()()()}if(2&c){let e;const a=h(2);s(2),H(_(3,6,"PROFILE._phone_type")),s(15),H(_(18,8,"PROFILE._phone")),s(5),j1(" ",a.phonePrefix.flag," ",a.phonePrefix.code," "),s(3),S(25,1==a.prefixCheck?25:-1),s(),k("ngClass",1==(null==(e=a.mediumForm.get("telephoneNumber"))||null==e.errors?null:e.errors.invalidPhoneNumber)?"border-red-600":"border-gray-300 dark:border-secondary-200")}}function lj3(c,r){if(1&c){const e=j();o(0,"div",10)(1,"h2",11),f(2),m(3,"translate"),n(),v(4,"hr",12),o(5,"form",13)(6,"div")(7,"span",14),f(8),m(9,"translate"),n(),v(10,"input",15),n(),o(11,"div")(12,"span",14),f(13),m(14,"translate"),n(),v(15,"input",16),n(),o(16,"label",17),f(17),m(18,"translate"),n(),o(19,"div",18)(20,"div",19)(21,"div",20)(22,"div",21)(23,"button",22),C("click",function(){return y(e),b(h().addBold())}),w(),o(24,"svg",23),v(25,"path",24),n(),O(),o(26,"span",9),f(27,"Bold"),n()(),o(28,"button",22),C("click",function(){return y(e),b(h().addItalic())}),w(),o(29,"svg",23),v(30,"path",25),n(),O(),o(31,"span",9),f(32,"Italic"),n()(),o(33,"button",22),C("click",function(){return y(e),b(h().addList())}),w(),o(34,"svg",26),v(35,"path",27),n(),O(),o(36,"span",9),f(37,"Add list"),n()(),o(38,"button",28),C("click",function(){return y(e),b(h().addOrderedList())}),w(),o(39,"svg",26),v(40,"path",29),n(),O(),o(41,"span",9),f(42,"Add ordered list"),n()(),o(43,"button",30),C("click",function(){return y(e),b(h().addBlockquote())}),w(),o(44,"svg",31),v(45,"path",32),n(),O(),o(46,"span",9),f(47,"Add blockquote"),n()(),o(48,"button",22),C("click",function(){return y(e),b(h().addTable())}),w(),o(49,"svg",33),v(50,"path",34),n(),O(),o(51,"span",9),f(52,"Add table"),n()(),o(53,"button",30),C("click",function(){return y(e),b(h().addCode())}),w(),o(54,"svg",33),v(55,"path",35),n(),O(),o(56,"span",9),f(57,"Add code"),n()(),o(58,"button",30),C("click",function(){return y(e),b(h().addCodeBlock())}),w(),o(59,"svg",33),v(60,"path",36),n(),O(),o(61,"span",9),f(62,"Add code block"),n()(),o(63,"button",30),C("click",function(){return y(e),b(h().addLink())}),w(),o(64,"svg",33),v(65,"path",37),n(),O(),o(66,"span",9),f(67,"Add link"),n()(),o(68,"button",28),C("click",function(t){y(e);const i=h();return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(69,"svg",38),v(70,"path",39),n(),O(),o(71,"span",9),f(72,"Add emoji"),n()()()(),o(73,"button",40),C("click",function(){y(e);const t=h();return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(74,"svg",26),v(75,"path",41)(76,"path",42),n(),O(),o(77,"span",9),f(78),m(79,"translate"),n()(),o(80,"div",43),f(81),m(82,"translate"),v(83,"div",44),n()(),o(84,"div",45)(85,"label",46),f(86,"Publish post"),n(),R(87,qU3,1,1,"markdown",47)(88,WU3,1,0)(89,ZU3,1,4,"emoji-mart",48),n()()(),o(90,"h2",11),f(91),m(92,"translate"),n(),v(93,"hr",12),R(94,KU3,5,1,"div",49)(95,JU3,12,6),o(96,"h2",11),f(97),m(98,"translate"),n(),v(99,"hr",12),o(100,"div",50)(101,"table",51)(102,"thead",52)(103,"tr")(104,"th",53),f(105),m(106,"translate"),n(),o(107,"th",54),f(108),m(109,"translate"),n(),o(110,"th",53),f(111),m(112,"translate"),n()()(),o(113,"tbody"),c1(114,aj3,14,2,"tr",55,z1,!1,rj3,7,3,"div",56),n()()(),o(117,"h2",11),f(118),m(119,"translate"),n(),v(120,"hr",12),o(121,"div",57)(122,"select",58),C("change",function(t){return y(e),b(h().onTypeChange(t))}),o(123,"option",59),f(124,"Email"),n(),o(125,"option",60),f(126,"Postal Address"),n(),o(127,"option",61),f(128,"Phone Number"),n()()(),o(129,"form",62),R(130,tj3,5,4,"div",63)(131,ij3,25,15)(132,sj3,27,10),n(),o(133,"div",64)(134,"button",65),C("click",function(){return y(e),b(h().saveMedium())}),f(135),m(136,"translate"),w(),o(137,"svg",66),v(138,"path",67),n()()(),O(),o(139,"div",68)(140,"button",69),C("click",function(){return y(e),b(h().updateProfile())}),f(141),m(142,"translate"),n()()()}if(2&c){const e=h();s(2),H(_(3,41,"PROFILE._organization")),s(3),k("formGroup",e.profileForm),s(3),H(_(9,43,"PROFILE._name")),s(5),H(_(14,45,"PROFILE._website")),s(4),H(_(18,47,"UPDATE_OFFER._description")),s(6),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(79,49,"CREATE_CATALOG._preview")),s(3),V(" ",_(82,51,"CREATE_CATALOG._show_preview")," "),s(6),S(87,e.showPreview?87:88),s(2),S(89,e.showEmoji?89:-1),s(2),H(_(92,53,"PROFILE._add_logo")),s(3),S(94,e.showImgPreview?94:95),s(3),H(_(98,55,"PROFILE._contact_info")),s(8),V(" ",_(106,57,"PROFILE._medium_type")," "),s(3),V(" ",_(109,59,"PROFILE._info")," "),s(3),V(" ",_(112,61,"PROFILE._actions")," "),s(3),a1(e.contactmediums),s(4),H(_(119,63,"PROFILE._add_new_contact")),s(11),k("formGroup",e.mediumForm),s(),S(130,e.emailSelected?130:e.addressSelected?131:132),s(5),V(" ",_(136,65,"PROFILE._save")," "),s(6),V(" ",_(142,67,"PROFILE._update")," ")}}function fj3(c,r){1&c&&v(0,"error-message",2),2&c&&k("message",h().errorMessage)}function dj3(c,r){if(1&c&&(o(0,"div",63)(1,"label",101),f(2,"Email"),n(),v(3,"input",102),n()),2&c){let e;const a=h(2);s(3),k("ngClass",1==(null==(e=a.mediumForm.get("email"))?null:e.invalid)&&""!=a.mediumForm.value.email?"border-red-600":"border-gray-300")}}function uj3(c,r){1&c&&(o(0,"div")(1,"label",103),f(2),m(3,"translate"),n(),v(4,"input",104),n(),o(5,"div")(6,"label",105),f(7),m(8,"translate"),n(),v(9,"input",106),n(),o(10,"div")(11,"label",107),f(12),m(13,"translate"),n(),v(14,"input",108),n(),o(15,"div")(16,"label",109),f(17),m(18,"translate"),n(),v(19,"input",110),n(),o(20,"div",63)(21,"label",111),f(22),m(23,"translate"),n(),v(24,"textarea",112),n()),2&c&&(s(2),H(_(3,5,"PROFILE._country")),s(5),H(_(8,7,"PROFILE._city")),s(5),H(_(13,9,"PROFILE._state")),s(5),H(_(18,11,"PROFILE._post_code")),s(5),H(_(23,13,"PROFILE._street")))}function hj3(c,r){if(1&c){const e=j();o(0,"button",131),C("click",function(){const t=y(e).$implicit;return b(h(4).selectPrefix(t))}),o(1,"div",132),f(2),n()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.text," ")}}function mj3(c,r){if(1&c&&(o(0,"div",127)(1,"ul",129)(2,"li"),c1(3,hj3,3,1,"button",130,sm1),n()()()),2&c){const e=h(3);s(3),a1(e.prefixes)}}function _j3(c,r){if(1&c){const e=j();o(0,"div",113)(1,"label",114),f(2),m(3,"translate"),n(),o(4,"select",115)(5,"option",116),f(6,"Mobile"),n(),o(7,"option",117),f(8,"Landline"),n(),o(9,"option",118),f(10,"Office"),n(),o(11,"option",119),f(12,"Home"),n(),o(13,"option",120),f(14,"Other"),n()()(),o(15,"div",113)(16,"label",121),f(17),m(18,"translate"),n(),o(19,"div",122)(20,"div",123)(21,"button",124),C("click",function(){y(e);const t=h(2);return b(t.prefixCheck=!t.prefixCheck)}),f(22),w(),o(23,"svg",125),v(24,"path",126),n()(),R(25,mj3,5,0,"div",127),O(),v(26,"input",128),n()()()}if(2&c){let e;const a=h(2);s(2),H(_(3,6,"PROFILE._phone_type")),s(15),H(_(18,8,"PROFILE._phone")),s(5),j1(" ",a.phonePrefix.flag," ",a.phonePrefix.code," "),s(3),S(25,1==a.prefixCheck?25:-1),s(),k("ngClass",1==(null==(e=a.mediumForm.get("telephoneNumber"))||null==e.errors?null:e.errors.invalidPhoneNumber)?"border-red-600":"border-gray-300 dark:border-secondary-200")}}function pj3(c,r){if(1&c){const e=j();o(0,"div",3)(1,"div",133),C("click",function(t){return y(e),b(t.stopPropagation())}),o(2,"div",134)(3,"h2",11),f(4),m(5,"translate"),n(),o(6,"button",135),C("click",function(){return y(e),b(h().showEditMedium=!1)}),w(),o(7,"svg",136),v(8,"path",137),n(),O(),o(9,"span",9),f(10),m(11,"translate"),n()()(),o(12,"div",138)(13,"div",57)(14,"select",139),C("change",function(t){return y(e),b(h().onTypeChange(t))}),o(15,"option",59),f(16,"Email"),n(),o(17,"option",60),f(18,"Postal Address"),n(),o(19,"option",61),f(20,"Phone Number"),n()()(),o(21,"form",62),R(22,dj3,4,1,"div",63)(23,uj3,25,15)(24,_j3,27,10),n(),o(25,"div",64)(26,"button",65),C("click",function(){return y(e),b(h().editMedium())}),f(27),m(28,"translate"),w(),o(29,"svg",66),v(30,"path",67),n()()()()()()}if(2&c){const e=h();k("ngClass",e.showEditMedium?"backdrop-blur-sm":""),s(4),H(_(5,7,"PROFILE._edit")),s(6),H(_(11,9,"CARD._close")),s(4),D1("value",e.selectedMediumType),s(7),k("formGroup",e.mediumForm),s(),S(22,e.emailSelected?22:e.addressSelected?23:24),s(5),V(" ",_(28,11,"PROFILE._save")," ")}}function gj3(c,r){1&c&&(o(0,"div",143),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"PROFILE._invalid_phone")))}function vj3(c,r){1&c&&(o(0,"div",143),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"PROFILE._invalid_email")))}function Hj3(c,r){if(1&c&&(o(0,"div",4)(1,"div",140),w(),o(2,"svg",141),v(3,"path",142),n()(),O(),o(4,"div"),R(5,gj3,3,3,"div",143)(6,vj3,3,3,"div",143),n(),o(7,"button",144)(8,"span",9),f(9,"Close"),n(),w(),o(10,"svg",136),v(11,"path",137),n()()()),2&c){let e,a;const t=h();s(5),S(5,1==(null==(e=t.mediumForm.get("telephoneNumber"))||null==e.errors?null:e.errors.invalidPhoneNumber)?5:-1),s(),S(6,1==(null==(a=t.mediumForm.get("email"))?null:a.invalid)?6:-1)}}function Cj3(c,r){if(1&c){const e=j();o(0,"div",5)(1,"div",145)(2,"div",146),f(3),m(4,"translate"),n(),o(5,"div",147)(6,"button",148),C("click",function(){return y(e),b(h().successVisibility=!1)}),o(7,"span",9),f(8),m(9,"translate"),n(),w(),o(10,"svg",149),v(11,"path",137),n()()()()()}2&c&&(s(3),V(" ",_(4,2,"PROFILE._success"),". "),s(5),H(_(9,4,"CARD._close_toast")))}let zj3=(()=>{class c{constructor(e,a,t,i,l,d){this.localStorage=e,this.api=a,this.cdr=t,this.accountService=i,this.eventMessage=l,this.attachmentService=d,this.loading=!1,this.orders=[],this.partyId="",this.token="",this.email="",this.profileForm=new S2({name:new u1(""),website:new u1(""),description:new u1("")}),this.mediumForm=new S2({email:new u1("",[O1.email,O1.pattern("^[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$")]),country:new u1(""),city:new u1(""),stateOrProvince:new u1(""),postCode:new u1(""),street:new u1(""),telephoneNumber:new u1(""),telephoneType:new u1("")}),this.contactmediums=[],this.emailSelected=!0,this.addressSelected=!1,this.phoneSelected=!1,this.prefixes=Dl,this.countries=Wt,this.phonePrefix=Dl[0],this.prefixCheck=!1,this.showEditMedium=!1,this.toastVisibility=!1,this.successVisibility=!1,this.errorMessage="",this.showError=!1,this.showPreview=!1,this.showEmoji=!1,this.description="",this.showImgPreview=!1,this.imgPreview="",this.attFileName=new u1("",[O1.required,O1.pattern("[a-zA-Z0-9 _.-]*")]),this.attImageName=new u1("",[O1.required,O1.pattern("^https?:\\/\\/.*\\.(?:png|jpg|jpeg|gif|bmp|webp)$")]),this.files=[],this.eventMessage.messages$.subscribe(u=>{"ChangedSession"===u.type&&this.initPartyInfo()})}ngOnInit(){this.loading=!0;let e=new Date;e.setMonth(e.getMonth()-1),this.selectedDate=e.toISOString(),this.initPartyInfo()}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0){let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId,this.token=e.token,this.email=e.email,this.getProfile()}S1()}getProfile(){this.contactmediums=[],this.accountService.getOrgInfo(this.partyId).then(e=>{console.log("--org info--"),console.log(e),this.profile=e,this.loadProfileData(this.profile),this.loading=!1,this.cdr.detectChanges()}),this.cdr.detectChanges(),S1()}updateProfile(){let e=[],a=[];""!=this.imgPreview&&a.push({name:"logo",value:this.imgPreview}),""!=this.profileForm.value.description&&a.push({name:"description",value:this.profileForm.value.description}),""!=this.profileForm.value.website&&a.push({name:"website",value:this.profileForm.value.website});for(let i=0;i{this.profileForm.reset(),this.getProfile(),this.successVisibility=!0,setTimeout(()=>{this.successVisibility=!1},2e3)},error:i=>{console.error("There was an error while updating!",i),i.error.error?(console.log(i),this.errorMessage="Error: "+i.error.error):this.errorMessage="There was an error while updating profile!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}loadProfileData(e){if(this.profileForm.controls.name.setValue(e.tradingName),e.contactMedium)for(let a=0;a{this.toastVisibility=!1},2e3);this.mediumForm.controls.telephoneNumber.setErrors(null),this.toastVisibility=!1}}if(this.mediumForm.invalid)return this.toastVisibility=!0,void setTimeout(()=>{this.toastVisibility=!1},2e3);this.contactmediums.push(this.emailSelected?{id:R4(),mediumType:"Email",preferred:!1,characteristic:{contactType:"Email",emailAddress:this.mediumForm.value.email}}:this.addressSelected?{id:R4(),mediumType:"PostalAddress",preferred:!1,characteristic:{contactType:"PostalAddress",city:this.mediumForm.value.city,country:this.mediumForm.value.country,postCode:this.mediumForm.value.postCode,stateOrProvince:this.mediumForm.value.stateOrProvince,street1:this.mediumForm.value.street}}:{id:R4(),mediumType:"TelephoneNumber",preferred:!1,characteristic:{contactType:this.mediumForm.value.telephoneType,phoneNumber:this.phonePrefix.code+this.mediumForm.value.telephoneNumber}}),this.mediumForm.reset(),console.log(this.contactmediums)}removeMedium(e){const a=this.contactmediums.findIndex(t=>t.id===e.id);-1!==a&&this.contactmediums.splice(a,1)}editMedium(){if(console.log(this.phoneSelected),this.phoneSelected){const e=Ba(this.phonePrefix.code+this.mediumForm.value.telephoneNumber);if(e){if(!e.isValid())return console.log("NUMERO INVALIDO"),this.mediumForm.controls.telephoneNumber.setErrors({invalidPhoneNumber:!0}),this.toastVisibility=!0,void setTimeout(()=>{this.toastVisibility=!1},2e3);this.mediumForm.controls.telephoneNumber.setErrors(null),this.toastVisibility=!1}}if(this.mediumForm.invalid)return this.toastVisibility=!0,void setTimeout(()=>{this.toastVisibility=!1},2e3);{const e=this.contactmediums.findIndex(a=>a.id===this.selectedMedium.id);-1!==e&&(this.contactmediums[e]=this.emailSelected?{id:this.contactmediums[e].id,mediumType:"Email",preferred:!1,characteristic:{contactType:"Email",emailAddress:this.mediumForm.value.email}}:this.addressSelected?{id:this.contactmediums[e].id,mediumType:"PostalAddress",preferred:!1,characteristic:{contactType:"PostalAddress",city:this.mediumForm.value.city,country:this.mediumForm.value.country,postCode:this.mediumForm.value.postCode,stateOrProvince:this.mediumForm.value.stateOrProvince,street1:this.mediumForm.value.street}}:{id:this.contactmediums[e].id,mediumType:"TelephoneNumber",preferred:!1,characteristic:{contactType:this.mediumForm.value.telephoneType,phoneNumber:this.phonePrefix.code+this.mediumForm.value.telephoneNumber}},this.mediumForm.reset(),this.showEditMedium=!1)}}showEdit(e){if(this.selectedMedium=e,"Email"==this.selectedMedium.mediumType)this.selectedMediumType="email",this.mediumForm.controls.email.setValue(this.selectedMedium.characteristic.emailAddress),this.emailSelected=!0,this.addressSelected=!1,this.phoneSelected=!1;else if("PostalAddress"==this.selectedMedium.mediumType)this.selectedMediumType="address",this.mediumForm.controls.country.setValue(this.selectedMedium.characteristic.country),this.mediumForm.controls.city.setValue(this.selectedMedium.characteristic.city),this.mediumForm.controls.stateOrProvince.setValue(this.selectedMedium.characteristic.stateOrProvince),this.mediumForm.controls.postCode.setValue(this.selectedMedium.characteristic.postCode),this.mediumForm.controls.street.setValue(this.selectedMedium.characteristic.street1),this.emailSelected=!1,this.addressSelected=!0,this.phoneSelected=!1;else{this.selectedMediumType="phone";const a=Ba(this.selectedMedium.characteristic.phoneNumber);if(a){let t=this.prefixes.filter(i=>i.code==="+"+a.countryCallingCode);t.length>0&&(this.phonePrefix=t[0]),this.mediumForm.controls.telephoneNumber.setValue(a.nationalNumber)}this.mediumForm.controls.telephoneType.setValue(this.selectedMedium.characteristic.contactType),this.emailSelected=!1,this.addressSelected=!1,this.phoneSelected=!0}this.showEditMedium=!0}selectPrefix(e){console.log(e),this.prefixCheck=!1,this.phonePrefix=e}onTypeChange(e){"email"==e.target.value?(this.emailSelected=!0,this.addressSelected=!1,this.phoneSelected=!1):"address"==e.target.value?(this.emailSelected=!1,this.addressSelected=!0,this.phoneSelected=!1):(this.emailSelected=!1,this.addressSelected=!1,this.phoneSelected=!0),this.mediumForm.reset()}dropped(e,a){this.files=e;for(const t of e)t.fileEntry.isFile?t.fileEntry.file(l=>{if(console.log("dropped"),l){const d=new FileReader;d.onload=u=>{const p=u.target.result.split(",")[1];console.log("BASE 64...."),console.log(p),this.attachmentService.uploadFile({content:{name:"orglogo"+l.name,data:p},contentType:l.type,isPublic:!0}).subscribe({next:x=>{console.log(x),"img"==a&&(l.type.startsWith("image")?(this.showImgPreview=!0,this.imgPreview=x.content):(this.errorMessage="File must have a valid image format!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3))),this.cdr.detectChanges(),console.log("uploaded")},error:x=>{console.error("There was an error while uploading!",x),x.error.error?(console.log(x),this.errorMessage="Error: "+x.error.error):this.errorMessage="There was an error while uploading the file!",413===x.status&&(this.errorMessage="File size too large! Must be under 3MB."),this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})},d.readAsDataURL(l)}}):console.log(t.relativePath,t.fileEntry)}fileOver(e){console.log(e)}fileLeave(e){console.log("leave"),console.log(e)}saveImgFromURL(){this.showImgPreview=!0,this.imgPreview=this.imgURL.nativeElement.value,this.attImageName.reset(),this.cdr.detectChanges()}removeImg(){this.showImgPreview=!1,this.imgPreview="",this.cdr.detectChanges()}addBold(){this.profileForm.patchValue({description:this.profileForm.value.description+" **bold text** "})}addItalic(){this.profileForm.patchValue({description:this.profileForm.value.description+" _italicized text_ "})}addList(){this.profileForm.patchValue({description:this.profileForm.value.description+"\n- First item\n- Second item"})}addOrderedList(){this.profileForm.patchValue({description:this.profileForm.value.description+"\n1. First item\n2. Second item"})}addCode(){this.profileForm.patchValue({description:this.profileForm.value.description+"\n`code`"})}addCodeBlock(){this.profileForm.patchValue({description:this.profileForm.value.description+"\n```\ncode\n```"})}addBlockquote(){this.profileForm.patchValue({description:this.profileForm.value.description+"\n> blockquote"})}addLink(){this.profileForm.patchValue({description:this.profileForm.value.description+" [title](https://www.example.com) "})}addTable(){this.profileForm.patchValue({description:this.profileForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"})}addEmoji(e){this.showEmoji=!1,this.profileForm.patchValue({description:this.profileForm.value.description+e.emoji.native})}togglePreview(){this.profileForm.value.description&&(this.description=this.profileForm.value.description)}static#e=this.\u0275fac=function(a){return new(a||c)(B(A1),B(p1),B(B1),B(O2),B(e2),B(Q0))};static#c=this.\u0275cmp=V1({type:c,selectors:[["org-info"]],viewQuery:function(a,t){if(1&a&&b1($U3,5),2&a){let i;M1(i=L1())&&(t.imgURL=i.first)}},decls:6,vars:5,consts:[["imgURL",""],["role","status",1,"w-3/4","md:w-4/5","h-full","flex","justify-center","align-middle"],[1,"fixed","w-fit","top-1/2","left-1/2","z-50",3,"message"],["id","edit-medium-modal","tabindex","-1","aria-hidden","true",1,"flex","justify-center","overflow-y-auto","overflow-x-hidden","fixed","top-0","right-0","left-0","z-40","justify-center","items-center","w-full","md:inset-0","h-fit","lg:h-[calc(100%-1rem)]","max-h-full","shadow-2xl",3,"ngClass"],["id","toast-warning","role","alert",1,"flex","m-2","items-center","w-fit","max-w-xs","p-4","text-gray-500","bg-white","rounded-lg","shadow","dark:text-gray-400","dark:bg-gray-800","fixed","top-1/2","right-0","z-50","justify-center"],["id","toast-success","role","alert",1,"flex","grid","grid-flow-row","mr-2","items-center","w-auto","max-w-xs","p-4","text-gray-500","bg-white","rounded-lg","shadow","dark:text-gray-400","dark:bg-gray-800","fixed","top-1/2","right-0","z-50","justify-center"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"sr-only"],[1,"bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","p-8","rounded-lg"],[1,"md:text-3xl","lg:text-4xl","font-bold","text-primary-100","ml-4","dark:text-white","m-4"],[1,"h-px","mr-4","ml-4","bg-primary-100","dark:bg-white","border-0"],[1,"m-4","grid","md:grid-cols-2","gap-4",3,"formGroup"],[1,"font-bold","dark:text-white"],["type","text","formControlName","name","id","name",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["type","text","formControlName","website","id","website",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","prod-name",1,"font-bold","text-lg","col-span-2","dark:text-white"],[1,"w-full","col-span-2","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200"],[1,"flex","items-center","justify-between","px-3","py-2","border-b"],[1,"flex","flex-wrap","items-center","divide-gray-200","dark:divide-secondary-200","sm:divide-x","sm:rtl:divide-x-reverse"],[1,"flex","items-center","space-x-1","rtl:space-x-reverse","sm:pe-4","text-gray-500","dark:text-gray-200"],["type","button",1,"p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 5h4.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0-7H6m2 7h6.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0 0H6"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8.874 19 6.143-14M6 19h6.33m-.66-14H18"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M9 8h10M9 12h10M9 16h10M4.99 8H5m-.02 4h.01m0 4H5"],["type","button",1,"hidden","lg:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4"],["type","button",1,"hidden","md:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["fill-rule","evenodd","d","M5 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm0 12a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm1.65-9.76A1 1 0 0 0 5 9v6a1 1 0 0 0 1.65.76l3.5-3a1 1 0 0 0 0-1.52l-3.5-3ZM12 10a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Zm0 4a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Z","clip-rule","evenodd"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-width","2","d","M3 11h18m-9 0v8m-8 0h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 3v4a1 1 0 0 1-1 1H5m5 4-2 2 2 2m4-4 2 2-2 2m5-12v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M13.213 9.787a3.391 3.391 0 0 0-4.795 0l-3.425 3.426a3.39 3.39 0 0 0 4.795 4.794l.321-.304m-.321-4.49a3.39 3.39 0 0 0 4.795 0l3.424-3.426a3.39 3.39 0 0 0-4.794-4.795l-1.028.961"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-4","h-4"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM13.5 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm-7 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm3.5 9.5A5.5 5.5 0 0 1 4.6 11h10.81A5.5 5.5 0 0 1 10 15.5Z"],["type","button","data-tooltip-target","tooltip-fullscreen",1,"rounded","cursor-pointer","text-gray-500","dark:text-gray-200","p-2","sm:ms-auto","hover:text-gray-900","dark:hover:text-gray-900","hover:bg-gray-100",3,"click"],["stroke","currentColor","stroke-width","2","d","M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z"],["stroke","currentColor","stroke-width","2","d","M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"],["id","tooltip-fullscreen","role","tooltip",1,"absolute","z-10","invisible","inline-block","px-3","py-2","text-sm","font-medium","text-white","transition-opacity","duration-300","bg-gray-900","rounded-lg","shadow-sm","opacity-0","tooltip"],["data-popper-arrow","",1,"tooltip-arrow"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","rounded-b-lg"],["for","editor",1,"sr-only"],[1,"text-gray-800","dark:text-gray-200","text-wrap","break-all",3,"data"],[3,"darkMode","style"],[1,"relative","isolate","flex","flex-col","justify-end","overflow-hidden","rounded-2xl","px-8","pb-8","pt-40","max-w-sm","mx-auto","m-4","shadow-lg"],[1,"m-4","relative","overflow-x-auto","shadow-md","sm:rounded-lg"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"px-6","py-3","hidden","md:table-cell"],[1,"border-b","hover:bg-gray-200","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"flex","justify-center","w-full","m-4"],[1,"mr-8"],["id","type",1,"m-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full",3,"change"],["value","email"],["value","address"],["value","phone"],[1,"grid","h-full","grid-cols-2","gap-5","m-4",3,"formGroup"],[1,"col-span-2"],[1,"flex","w-full","justify-items-center","justify-center","m-2","p-2"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M11 16h2m6.707-9.293-2.414-2.414A1 1 0 0 0 16.586 4H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7.414a1 1 0 0 0-.293-.707ZM16 20v-6a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v6h8ZM9 4h6v3a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V4Z"],[1,"flex","w-full","justify-end"],["type","button",1,"m-2","flex","w-fit","justify-center","items-center","py-3","px-5","text-base","font-medium","text-center","text-white","rounded-lg","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:ring-primary-300","dark:focus:ring-primary-900",3,"click"],["id","editor","formControlName","description","rows","8","placeholder","Add product description...",1,"block","w-full","px-0","text-sm","text-gray-800","dark:text-gray-200","bg-white","dark:bg-secondary-300","border-0"],[3,"click","emojiClick","darkMode"],[1,"absolute","inset-0","h-full","w-full","object-cover",3,"src"],[1,"z-10","absolute","top-2","right-2","p-1","font-bold","text-white","bg-red-500","rounded-3xl",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4","text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M6 18 17.94 6M18 18 6.06 6"],[1,"flex","w-full","justify-center","justify-items-center"],["dropZoneLabel","Drop files here",1,"m-4","p-4","w-full",3,"onFileDrop","onFileOver","onFileLeave"],["ngx-file-drop-content-tmp","",1,"w-full"],[1,"font-bold","ml-6","dark:text-white"],[1,"flex","items-center","h-fit","ml-6","mt-2","mb-2","w-full","justify-between"],["type","text","id","att-name",1,"w-full","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","p-2.5",3,"formControl"],[1,"text-white","bg-primary-100","rounded-3xl","p-1","ml-2","h-fit",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 11.917 9.724 16.5 19 7.5"],[1,"w-full","flex","flex-col","justify-items-center","justify-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-12","h-12","text-primary-100","mx-auto"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M15 17h3a3 3 0 0 0 0-6h-.025a5.56 5.56 0 0 0 .025-.5A5.5 5.5 0 0 0 7.207 9.021C7.137 9.017 7.071 9 7 9a4 4 0 1 0 0 8h2.167M12 19v-9m0 0-2 2m2-2 2 2"],[1,"flex","w-full","justify-center"],[1,"text-gray-500","mr-2","w-fit"],[1,"font-medium","text-blue-600","dark:text-blue-500","hover:underline",3,"click"],[1,"px-6","py-4"],[1,"px-6","py-4","hidden","md:table-cell"],[1,"px-6","py-4","inline-flex"],["type","button",1,"text-white","bg-primary-100","hover:bg-blue-800","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","lg:p-2.5","text-center","inline-flex","items-center","me-2",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-[18px]","h-[18px]","text-white"],["fill-rule","evenodd","d","M14 4.182A4.136 4.136 0 0 1 16.9 3c1.087 0 2.13.425 2.899 1.182A4.01 4.01 0 0 1 21 7.037c0 1.068-.43 2.092-1.194 2.849L18.5 11.214l-5.8-5.71 1.287-1.31.012-.012Zm-2.717 2.763L6.186 12.13l2.175 2.141 5.063-5.218-2.141-2.108Zm-6.25 6.886-1.98 5.849a.992.992 0 0 0 .245 1.026 1.03 1.03 0 0 0 1.043.242L10.282 19l-5.25-5.168Zm6.954 4.01 5.096-5.186-2.218-2.183-5.063 5.218 2.185 2.15Z","clip-rule","evenodd"],["type","button",1,"text-white","bg-red-800","hover:bg-red-900","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","lg:p-2.5","text-center","inline-flex","items-center","me-2",3,"click"],["fill-rule","evenodd","d","M8.586 2.586A2 2 0 0 1 10 2h4a2 2 0 0 1 2 2v2h3a1 1 0 1 1 0 2v12a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V8a1 1 0 0 1 0-2h3V4a2 2 0 0 1 .586-1.414ZM10 6h4V4h-4v2Zm1 4a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Zm4 0a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Z","clip-rule","evenodd"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"font-bold","text-lg","dark:text-white"],["formControlName","email","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["for","address.country",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],["id","address.country","formControlName","country","name","address.country","type","text",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","address.city",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],["id","address.city","formControlName","city","name","address.city","type","text",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","address.state",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],["id","address.state","formControlName","stateOrProvince","name","address.state","type","text",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","address.zip",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],["id","address.zip","formControlName","postCode","name","address.zip","type","text",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","address.street_address",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],["id","address.street_address","formControlName","street","name","address.street_address","rows","4",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"col-span-2","lg:col-span-1"],["for","phoneType",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],["id","phoneType","formControlName","telephoneType",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["value","Mobile"],["value","Landline"],["value","Office"],["value","Home"],["value","Other"],["for","phoneNumber",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],[1,"w-full"],[1,"relative","flex","items-center"],["type","button",1,"mb-2","flex-shrink-0","z-10","inline-flex","items-center","py-2.5","px-4","text-sm","font-medium","text-center","text-gray-900","bg-gray-100","border","border-gray-300","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","rounded-s-lg","hover:bg-gray-200","dark:hover:bg-primary-200","focus:ring-4","focus:outline-none","focus:ring-gray-100",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 10 6",1,"w-2.5","h-2.5","ms-2.5"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 4 4 4-4"],[1,"absolute","bottom-12","right-0","z-20","max-h-48","w-full","bg-white","divide-y","divide-gray-100","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","rounded-lg","shadow","overflow-y-auto"],["id","phoneNumber","formControlName","telephoneNumber","name","phoneNumber","type","number",1,"mb-2","bg-gray-50","border","text-gray-900","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5","dark:bg-secondary-300","dark:text-white",3,"ngClass"],["aria-labelledby","dropdown-phone-button",1,"py-2","text-sm","text-gray-700"],["type","button","role","menuitem",1,"inline-flex","w-full","px-4","py-2","text-sm","text-gray-700","dark:text-white","hover:bg-gray-100","dark:hover:bg-secondary-200"],["type","button","role","menuitem",1,"inline-flex","w-full","px-4","py-2","text-sm","text-gray-700","dark:text-white","hover:bg-gray-100","dark:hover:bg-secondary-200",3,"click"],[1,"inline-flex","items-center"],[1,"w-4/5","lg:w-1/2","relative","bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","rounded-lg","shadow","bg-cover","bg-right-bottom",3,"click"],[1,"flex","items-center","justify-between","pr-2","pt-2","rounded-t","dark:border-gray-600"],["type","button","data-modal-hide","edit-medium-modal",1,"text-gray-400","bg-transparent","hover:bg-gray-200","hover:text-gray-900","rounded-lg","text-sm","w-8","h-8","ms-auto","inline-flex","justify-center","items-center","dark:hover:bg-gray-600","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-3","h-3"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"],[1,"w-full","h-full"],["id","type",1,"m-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full",3,"change","value"],[1,"inline-flex","items-center","justify-center","flex-shrink-0","w-8","h-8","bg-red-700","text-red-200","rounded-lg"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-5","h-5"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM10 15a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm1-4a1 1 0 0 1-2 0V6a1 1 0 0 1 2 0v5Z"],[1,"block","ms-3","text-sm","font-normal"],["type","button","data-dismiss-target","#toast-warning","aria-label","Close",1,"ms-auto","-mx-1.5","-my-1.5","bg-white","text-gray-400","hover:text-gray-900","rounded-lg","focus:ring-2","focus:ring-gray-300","p-1.5","hover:bg-gray-100","inline-flex","items-center","justify-center","h-8","w-8","dark:text-gray-500","dark:hover:text-white","dark:bg-gray-800","dark:hover:bg-gray-700"],[1,"flex","items-center","justify-center"],[1,"text-sm","font-normal"],[1,"flex","items-center","ms-auto","space-x-2","rtl:space-x-reverse","p-1.5"],["type","button","data-dismiss-target","#toast-success","aria-label","Close",1,"ms-auto","-mx-1.5","-my-1.5","bg-white","text-gray-400","hover:text-gray-900","rounded-lg","focus:ring-2","focus:ring-gray-300","p-1.5","hover:bg-gray-100","inline-flex","items-center","justify-center","h-8","w-8","dark:text-gray-500","dark:hover:text-white","dark:bg-gray-800","dark:hover:bg-gray-700",3,"click"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-3","h-3"]],template:function(a,t){1&a&&R(0,GU3,6,0,"div",1)(1,lj3,143,69)(2,fj3,1,1,"error-message",2)(3,pj3,31,13,"div",3)(4,Hj3,12,2,"div",4)(5,Cj3,12,6,"div",5),2&a&&(S(0,t.loading?0:1),s(2),S(2,t.showError?2:-1),s(),S(3,t.showEditMedium?3:-1),s(),S(4,t.toastVisibility?4:-1),s(),S(5,t.successVisibility?5:-1))},dependencies:[k2,I4,x6,w6,H4,Ta,Ea,S4,O4,H5,X4,f3,G3,Yl,$l,_4,C4,X1]})}return c})();const Vj3=(c,r)=>r.code;function Mj3(c,r){1&c&&(o(0,"div",0),w(),o(1,"svg",2),v(2,"path",3)(3,"path",4),n(),O(),o(4,"span",5),f(5,"Loading..."),n()())}function Lj3(c,r){if(1&c&&(o(0,"option",47),f(1),n()),2&c){const e=r.$implicit;D1("value",e.code),s(),H(e.name)}}function yj3(c,r){if(1&c){const e=j();o(0,"div",6)(1,"h2",7),f(2),m(3,"translate"),n(),v(4,"hr",8),o(5,"div",9)(6,"div")(7,"span",10),f(8),m(9,"translate"),n(),v(10,"input",11),o(11,"span",10),f(12),m(13,"translate"),n(),v(14,"input",12),n(),o(15,"div")(16,"span",10),f(17),m(18,"translate"),n(),v(19,"input",13),n()(),o(20,"h2",7),f(21),m(22,"translate"),n(),v(23,"hr",8),o(24,"form",14)(25,"div")(26,"label",15),f(27),m(28,"translate"),n(),v(29,"input",16),o(30,"label",17),f(31),m(32,"translate"),n(),o(33,"select",18)(34,"option",19),f(35,"I'd rather not say"),n(),o(36,"option",20),f(37,"Miss"),n(),o(38,"option",21),f(39,"Mrs"),n(),o(40,"option",22),f(41,"Mr"),n(),o(42,"option",23),f(43,"Ms"),n()(),o(44,"label",24),f(45),m(46,"translate"),n(),o(47,"select",25)(48,"option",19),f(49,"I'd rather not say"),n(),o(50,"option",26),f(51,"Female"),n(),o(52,"option",27),f(53,"Male"),n(),o(54,"option",28),f(55,"Other"),n()()(),o(56,"div")(57,"label",29),f(58),m(59,"translate"),n(),v(60,"input",30),o(61,"label",31),f(62),m(63,"translate"),n(),o(64,"select",32)(65,"option",19),f(66,"I'd rather not say"),n(),o(67,"option",33),f(68,"Divorced"),n(),o(69,"option",34),f(70,"Married"),n(),o(71,"option",35),f(72,"Separated"),n(),o(73,"option",36),f(74,"Single"),n(),o(75,"option",37),f(76,"Widowed"),n()(),o(77,"label",38),f(78),m(79,"translate"),n(),v(80,"input",39),n()(),o(81,"h2",7),f(82),m(83,"translate"),n(),v(84,"hr",8),o(85,"form",14)(86,"div")(87,"label",40),f(88),m(89,"translate"),n(),v(90,"input",41),o(91,"label",42),f(92),m(93,"translate"),n(),v(94,"input",43),n(),o(95,"div",44)(96,"label",45),f(97),m(98,"translate"),n(),o(99,"select",46)(100,"option",19),f(101,"Select country"),n(),c1(102,Lj3,2,2,"option",47,Vj3),n()()(),o(104,"div",48)(105,"button",49),C("click",function(){return y(e),b(h().updateProfile())}),f(106),m(107,"translate"),n()()()}if(2&c){const e=h();s(2),H(_(3,21,"PROFILE._account")),s(6),H(_(9,23,"PROFILE._user_id")),s(2),D1("value",e.profile.externalReference[0].name),s(2),H(_(13,25,"PROFILE._email")),s(2),D1("value",e.email),s(3),H(_(18,27,"PROFILE._token")),s(2),D1("value",e.token),s(2),H(_(22,29,"PROFILE._profile")),s(3),k("formGroup",e.userProfileForm),s(3),H(_(28,31,"PROFILE._name")),s(4),H(_(32,33,"PROFILE._treatment")),s(14),H(_(46,35,"PROFILE._gender")),s(13),H(_(59,37,"PROFILE._lastname")),s(4),H(_(63,39,"PROFILE._marital_status")),s(16),H(_(79,41,"PROFILE._nacionality")),s(4),H(_(83,43,"PROFILE._birthdate")),s(3),k("formGroup",e.userProfileForm),s(3),H(_(89,45,"PROFILE._date")),s(4),H(_(93,47,"PROFILE._city")),s(5),H(_(98,49,"PROFILE._country")),s(5),a1(e.countries),s(4),V(" ",_(107,51,"PROFILE._update")," ")}}function bj3(c,r){1&c&&v(0,"error-message",1),2&c&&k("message",h().errorMessage)}let xj3=(()=>{class c{constructor(e,a,t,i,l){this.localStorage=e,this.api=a,this.cdr=t,this.accountService=i,this.eventMessage=l,this.loading=!1,this.orders=[],this.partyId="",this.token="",this.email="",this.userProfileForm=new S2({name:new u1(""),lastname:new u1(""),treatment:new u1(""),maritalstatus:new u1(""),gender:new u1(""),nacionality:new u1(""),birthdate:new u1(""),city:new u1(""),country:new u1("")}),this.dateRange=new u1,this.countries=Wt,this.preferred=!1,this.errorMessage="",this.showError=!1,this.eventMessage.messages$.subscribe(d=>{"ChangedSession"===d.type&&this.initPartyInfo()})}ngOnInit(){this.loading=!0;let e=new Date;e.setMonth(e.getMonth()-1),this.selectedDate=e.toISOString(),this.initPartyInfo()}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0){if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId,console.log(e.organizations),this.accountService.getOrgInfo(this.partyId).then(t=>{console.log("org"),console.log(t)})}this.token=e.token,this.email=e.email,this.getProfile()}S1()}getProfile(){this.accountService.getUserInfo(this.partyId).then(e=>{console.log(e),this.profile=e,this.loadProfileData(this.profile),this.loading=!1,this.cdr.detectChanges()}),this.cdr.detectChanges(),S1()}updateProfile(){let e={id:this.partyId,href:this.partyId,countryOfBirth:this.userProfileForm.value.country,familyName:this.userProfileForm.value.lastname,gender:this.userProfileForm.value.gender,givenName:this.userProfileForm.value.name,maritalStatus:this.userProfileForm.value.maritalstatus,nationality:this.userProfileForm.value.nacionality,placeOfBirth:this.userProfileForm.value.city,title:this.userProfileForm.value.treatment,birthDate:this.userProfileForm.value.birthdate};console.log(e),this.accountService.updateUserInfo(this.partyId,e).subscribe({next:a=>{this.userProfileForm.reset(),this.getProfile()},error:a=>{console.error("There was an error while updating!",a),a.error.error?(console.log(a),this.errorMessage="Error: "+a.error.error):this.errorMessage="There was an error while updating profile!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}loadProfileData(e){this.userProfileForm.controls.name.setValue(e.givenName),this.userProfileForm.controls.lastname.setValue(e.familyName),this.userProfileForm.controls.maritalstatus.setValue(e.maritalStatus),this.userProfileForm.controls.gender.setValue(e.gender),this.userProfileForm.controls.nacionality.setValue(e.nacionality),this.userProfileForm.controls.city.setValue(e.placeOfBirth),this.userProfileForm.controls.country.setValue(e.countryOfBirth)}static#e=this.\u0275fac=function(a){return new(a||c)(B(A1),B(p1),B(B1),B(O2),B(e2))};static#c=this.\u0275cmp=V1({type:c,selectors:[["user-info"]],decls:3,vars:2,consts:[["role","status",1,"w-3/4","md:w-4/5","h-full","flex","justify-center","align-middle"],[1,"fixed","w-fit","top-1/2","left-1/2","z-50",3,"message"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"sr-only"],[1,"bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","p-8","rounded-lg"],[1,"md:text-3xl","lg:text-4xl","font-bold","text-primary-100","ml-4","dark:text-white","m-4"],[1,"h-px","mr-4","ml-4","bg-primary-100","dark:bg-white","border-0"],[1,"m-4","grid","grid-cols-2","gap-4"],[1,"font-bold","dark:text-white"],["type","text","id","username","disabled","","readonly","",1,"mb-2","bg-gray-300","border","border-gray-400","text-primary-100","dark:bg-secondary-200","dark:border-secondary-300","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5","cursor-not-allowed",3,"value"],["type","text","id","email","disabled","","readonly","",1,"mb-2","bg-gray-300","border","border-gray-400","text-primary-100","dark:bg-secondary-200","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5","cursor-not-allowed",3,"value"],["type","text","id","token","disabled","","readonly","",1,"mb-2","bg-gray-300","border","border-gray-400","text-primary-100","dark:bg-secondary-200","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5","cursor-not-allowed",3,"value"],[1,"m-4","grid","grid-cols-2","gap-4",3,"formGroup"],["for","user-name",1,"font-bold","dark:text-white"],["formControlName","name","type","text","id","user-name",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","treatment",1,"font-bold","dark:text-white"],["id","treatment","formControlName","treatment",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["value",""],["value","Miss"],["value","Mrs"],["value","Mr"],["value","Ms"],["for","gender",1,"font-bold","dark:text-white"],["id","gender","formControlName","gender",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["value","Female"],["value","Male"],["value","Other"],["for","lastname",1,"font-bold","dark:text-white"],["type","text","formControlName","lastname","id","lastname",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","marital-status",1,"font-bold","dark:text-white"],["id","marital-status","formControlName","maritalstatus",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["value","Divorced"],["value","Married"],["value","Separated"],["value","Single"],["value","Widowed"],["for","nacionality",1,"font-bold","dark:text-white"],["type","text","formControlName","nacionality","id","nacionality",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","birthdate",1,"font-bold","dark:text-white"],["datepicker","","type","date","placeholder","Select date","formControlName","birthdate","id","birthdate",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","city",1,"font-bold","dark:text-white"],["type","text","formControlName","city","id","city",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"align-items-bottom","align-bottom"],["for","country",1,"font-bold","dark:text-white"],["id","country","formControlName","country",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[3,"value"],[1,"flex","w-full","justify-end"],["type","button",1,"m-2","flex","w-fit","justify-center","items-center","py-3","px-5","text-base","font-medium","text-center","text-white","rounded-lg","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:ring-primary-300","dark:focus:ring-primary-900",3,"click"]],template:function(a,t){1&a&&R(0,Mj3,6,0,"div",0)(1,yj3,108,53)(2,bj3,1,1,"error-message",1),2&a&&(S(0,t.loading?0:1),s(2),S(2,t.showError?2:-1))},dependencies:[I4,x6,w6,H4,Ea,S4,O4,X4,f3,C4,X1]})}return c})();const wj3=(c,r)=>r.id;function Fj3(c,r){1&c&&(o(0,"div",0),w(),o(1,"svg",4),v(2,"path",5)(3,"path",6),n(),O(),o(4,"span",7),f(5,"Loading..."),n()())}function kj3(c,r){if(1&c){const e=j();o(0,"tr",20),C("click",function(){const t=y(e).$implicit;return b(h(2).selectBill(t))}),o(1,"td",21),f(2),n(),o(3,"td",22),f(4),n(),o(5,"td",23),f(6),n(),o(7,"td",24),f(8),n(),o(9,"td",25)(10,"button",26),C("click",function(t){const i=y(e).$implicit;return h(2).toggleEditBill(i),b(t.stopPropagation())}),w(),o(11,"svg",27),v(12,"path",28),n()(),O(),o(13,"button",29),C("click",function(t){const i=y(e).$implicit;return h(2).toggleDeleteBill(i),b(t.stopPropagation())}),w(),o(14,"svg",27),v(15,"path",30),n()()()()}if(2&c){const e=r.$implicit;k("ngClass",1==e.selected?"bg-primary-30 dark:bg-secondary-200":"bg-white dark:bg-secondary-300"),s(2),V(" ",e.name," "),s(2),V(" ",e.email," "),s(2),r5(" ",e.postalAddress.street,", ",e.postalAddress.postCode," (",e.postalAddress.city,") ",e.postalAddress.stateOrProvince," "),s(2),V(" ",e.telephoneNumber," ")}}function Sj3(c,r){1&c&&(o(0,"div",18)(1,"div",31),w(),o(2,"svg",32),v(3,"path",33),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"BILLING._no_billing")," "))}function Nj3(c,r){if(1&c&&(o(0,"div",8)(1,"h2",9),f(2),m(3,"translate"),n(),v(4,"hr",10),o(5,"div",11)(6,"table",12)(7,"thead",13)(8,"tr")(9,"th",14),f(10),m(11,"translate"),n(),o(12,"th",15),f(13),m(14,"translate"),n(),o(15,"th",16),f(16),m(17,"translate"),n(),o(18,"th",15),f(19),m(20,"translate"),n(),o(21,"th",14),f(22),m(23,"translate"),n()()(),o(24,"tbody"),c1(25,kj3,16,8,"tr",17,wj3,!1,Sj3,7,3,"div",18),n()()(),o(28,"h2",9),f(29),m(30,"translate"),n(),v(31,"hr",10)(32,"app-billing-account-form",19),n()),2&c){const e=h();s(2),H(_(3,9,"PROFILE._mybills")),s(8),V(" ",_(11,11,"BILLING._title")," "),s(3),V(" ",_(14,13,"BILLING._email")," "),s(3),V(" ",_(17,15,"BILLING._postalAddress")," "),s(3),V(" ",_(20,17,"BILLING._phone")," "),s(3),V(" ",_(23,19,"BILLING._action")," "),s(3),a1(e.billing_accounts),s(4),H(_(30,21,"BILLING._add")),s(3),k("preferred",e.preferred)}}function Dj3(c,r){if(1&c){const e=j();o(0,"div",1)(1,"div",34),C("click",function(t){return y(e),b(t.stopPropagation())}),o(2,"div",35)(3,"h2",9),f(4),m(5,"translate"),n(),o(6,"button",36),C("click",function(){return y(e),b(h().editBill=!1)}),w(),o(7,"svg",37),v(8,"path",38),n(),O(),o(9,"span",7),f(10),m(11,"translate"),n()()(),o(12,"div",39),v(13,"app-billing-account-form",40),n()()()}if(2&c){const e=h();k("ngClass",e.editBill?"backdrop-blur-sm":""),s(4),H(_(5,4,"BILLING._edit")),s(6),H(_(11,6,"CARD._close")),s(3),k("billAcc",e.billToUpdate)}}function Tj3(c,r){if(1&c){const e=j();o(0,"div",2)(1,"div",41),C("click",function(t){return y(e),b(t.stopPropagation())}),o(2,"div",42)(3,"button",43),C("click",function(t){return y(e),h().deleteBill=!1,b(t.stopPropagation())}),w(),o(4,"svg",44),v(5,"path",45),n(),O(),o(6,"span",7),f(7,"Close modal"),n()(),w(),o(8,"svg",46),v(9,"path",47),n(),O(),o(10,"p",48),f(11),m(12,"translate"),n(),o(13,"p",49)(14,"b"),f(15),n(),f(16),n(),o(17,"div",50)(18,"button",51),C("click",function(t){return y(e),h().deleteBill=!1,b(t.stopPropagation())}),f(19),m(20,"translate"),n(),o(21,"button",52),C("click",function(){y(e);const t=h();return b(t.onDeletedBill(t.billToDelete))}),f(22),m(23,"translate"),n()()()()()}if(2&c){const e=h();k("ngClass",e.deleteBill?"backdrop-blur-sm":""),s(11),H(_(12,8,"BILLING._confirm_delete")),s(4),H(e.billToDelete.name),s(),H6(": ",e.billToDelete.postalAddress.street,", ",e.billToDelete.postalAddress.city,", ",e.billToDelete.postalAddress.country,"."),s(3),V(" ",_(20,10,"BILLING._cancel")," "),s(3),V(" ",_(23,12,"BILLING._delete")," ")}}function Ej3(c,r){1&c&&v(0,"error-message",3),2&c&&k("message",h().errorMessage)}let Aj3=(()=>{class c{constructor(e,a,t,i,l,d,u){this.localStorage=e,this.api=a,this.cdr=t,this.router=i,this.accountService=l,this.orderService=d,this.eventMessage=u,this.loading=!1,this.orders=[],this.partyId="",this.billing_accounts=[],this.editBill=!1,this.deleteBill=!1,this.showOrderDetails=!1,this.dateRange=new u1,this.countries=Wt,this.preferred=!1,this.errorMessage="",this.showError=!1,this.eventMessage.messages$.subscribe(p=>{"BillAccChanged"===p.type&&this.getBilling(),0==p.value&&(this.editBill=!1),"ChangedSession"===p.type&&this.initPartyInfo()})}onClick(){1==this.editBill&&(this.editBill=!1,this.cdr.detectChanges()),1==this.deleteBill&&(this.deleteBill=!1,this.cdr.detectChanges()),1==this.showOrderDetails&&(this.showOrderDetails=!1,this.cdr.detectChanges())}ngOnInit(){this.loading=!0;let e=new Date;e.setMonth(e.getMonth()-1),this.selectedDate=e.toISOString(),this.initPartyInfo()}initPartyInfo(){let e=this.localStorage.getObject("login_items");"{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0&&(this.partyId=e.partyId,this.getBilling()),S1()}getBilling(){let e=!1;this.accountService.getBillingAccount().then(a=>{this.billing_accounts=[];for(let t=0;t0),console.log(this.billing_accounts),this.cdr.detectChanges()}),this.cdr.detectChanges(),S1()}selectBill(e){const a=this.billing_accounts.findIndex(t=>t.id===e.id);for(let t=0;t{this.eventMessage.emitBillAccChange(!1)},error:t=>{console.error("There was an error while updating!",t),t.error.error?(console.log(t),this.errorMessage="Error: "+t.error.error):this.errorMessage="There was an error while updating billing account!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}onDeletedBill(e){console.log("--- DELETE BILLING ADDRESS ---"),this.deleteBill=!1,this.cdr.detectChanges()}toggleEditBill(e){this.billToUpdate=e,this.editBill=!0,this.cdr.detectChanges()}toggleDeleteBill(e){this.deleteBill=!0,this.billToDelete=e}static#e=this.\u0275fac=function(a){return new(a||c)(B(A1),B(p1),B(B1),B(Q1),B(O2),B(Y3),B(e2))};static#c=this.\u0275cmp=V1({type:c,selectors:[["billing-info"]],hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},decls:5,vars:4,consts:[["role","status",1,"w-3/4","md:w-4/5","h-full","flex","justify-center","align-middle"],["id","edit-bill-modal","tabindex","-1","aria-hidden","true",1,"flex","fixed","top-0","mt-4","justify-center","overflow-x-hidden","z-40","justify-center","items-center","w-full","md:inset-0","h-full","max-h-screen","shadow-2xl",3,"ngClass"],["id","delete-bill-modal","tabindex","-1","aria-hidden","true",1,"flex","overflow-y-auto","overflow-x-hidden","fixed","top-0","right-0","left-0","z-50","justify-center","items-center","w-full","md:inset-0","h-modal","md:h-full","shadow-2xl",3,"ngClass"],[1,"fixed","w-fit","top-1/2","left-1/2","z-50",3,"message"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"sr-only"],[1,"bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","p-8","rounded-lg"],[1,"md:text-3xl","lg:text-4xl","font-bold","text-primary-100","ml-4","dark:text-white","m-4"],[1,"h-px","mr-4","ml-4","bg-primary-100","dark:bg-white","border-0"],[1,"m-4","relative","overflow-x-auto","shadow-md","sm:rounded-lg"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"px-6","py-3","hidden","lg:table-cell"],["scope","col",1,"px-6","py-3","hidden","md:table-cell"],[1,"border-b","hover:bg-gray-200","dark:border-gray-700","dark:hover:bg-secondary-200",3,"ngClass"],[1,"flex","justify-center","w-full","m-4"],[3,"preferred"],[1,"border-b","hover:bg-gray-200","dark:border-gray-700","dark:hover:bg-secondary-200",3,"click","ngClass"],[1,"px-6","py-4","text-wrap","break-all"],[1,"px-6","py-4","hidden","lg:table-cell","text-wrap","break-all"],[1,"px-6","py-4","hidden","md:table-cell","text-wrap","break-all"],[1,"px-6","py-4","hidden","lg:table-cell"],[1,"px-6","py-4","inline-flex"],["type","button",1,"text-white","bg-primary-100","hover:bg-blue-800","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","lg:p-2.5","text-center","inline-flex","items-center","me-2",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-[18px]","h-[18px]","text-white"],["fill-rule","evenodd","d","M14 4.182A4.136 4.136 0 0 1 16.9 3c1.087 0 2.13.425 2.899 1.182A4.01 4.01 0 0 1 21 7.037c0 1.068-.43 2.092-1.194 2.849L18.5 11.214l-5.8-5.71 1.287-1.31.012-.012Zm-2.717 2.763L6.186 12.13l2.175 2.141 5.063-5.218-2.141-2.108Zm-6.25 6.886-1.98 5.849a.992.992 0 0 0 .245 1.026 1.03 1.03 0 0 0 1.043.242L10.282 19l-5.25-5.168Zm6.954 4.01 5.096-5.186-2.218-2.183-5.063 5.218 2.185 2.15Z","clip-rule","evenodd"],["type","button",1,"text-white","bg-red-800","hover:bg-red-900","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","lg:p-2.5","text-center","inline-flex","items-center","me-2",3,"click"],["fill-rule","evenodd","d","M8.586 2.586A2 2 0 0 1 10 2h4a2 2 0 0 1 2 2v2h3a1 1 0 1 1 0 2v12a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V8a1 1 0 0 1 0-2h3V4a2 2 0 0 1 .586-1.414ZM10 6h4V4h-4v2Zm1 4a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Zm4 0a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Z","clip-rule","evenodd"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"w-4/5","lg:w-1/2","relative","bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","rounded-lg","shadow","bg-cover","bg-right-bottom",3,"click"],[1,"flex","items-center","justify-between","pr-2","pt-2","rounded-t","dark:border-gray-600"],["type","button","data-modal-hide","edit-bill-modal",1,"text-gray-400","bg-transparent","hover:bg-gray-200","hover:text-gray-900","rounded-lg","text-sm","w-8","h-8","ms-auto","inline-flex","justify-center","items-center","dark:hover:bg-gray-600","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-3","h-3"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"],[1,"w-full","max-h-[80vh]","overflow-y-auto"],[3,"billAcc"],[1,"relative","p-4","w-full","max-w-md","h-full","md:h-auto",3,"click"],[1,"relative","p-4","text-center","bg-secondary-50","dark:bg-secondary-100","rounded-lg","shadow","sm:p-5"],["type","button",1,"text-gray-400","absolute","top-2.5","right-2.5","bg-transparent","hover:bg-gray-200","hover:text-gray-900","rounded-lg","text-sm","p-1.5","ml-auto","inline-flex","items-center",3,"click"],["aria-hidden","true","fill","currentColor","viewBox","0 0 20 20","xmlns","http://www.w3.org/2000/svg",1,"w-5","h-5"],["fill-rule","evenodd","d","M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule","evenodd"],["aria-hidden","true","fill","currentColor","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg",1,"text-gray-400","w-12","h-12","mb-3.5","mx-auto"],["fill-rule","evenodd","d","M9 2a1 1 0 00-.894.553L7.382 4H4a1 1 0 000 2v10a2 2 0 002 2h8a2 2 0 002-2V6a1 1 0 100-2h-3.382l-.724-1.447A1 1 0 0011 2H9zM7 8a1 1 0 012 0v6a1 1 0 11-2 0V8zm5-1a1 1 0 00-1 1v6a1 1 0 102 0V8a1 1 0 00-1-1z","clip-rule","evenodd"],[1,"mb-4","text-gray-500","dark:text-white"],[1,"mb-4","text-gray-500","dark:text-white","text-wrap","break-all"],[1,"flex","justify-center","items-center","space-x-4"],["type","button",1,"py-2","px-3","text-sm","font-medium","text-gray-500","dark:text-white","bg-white","dark:bg-primary-100","rounded-lg","border","border-gray-200","dark:border-secondary-300","hover:bg-gray-100","dark:hover:bg-secondary-200","focus:ring-4","focus:outline-none","focus:ring-primary-300","hover:text-gray-900","focus:z-10",3,"click"],["type","submit",1,"py-2","px-3","text-sm","font-medium","text-center","text-white","bg-red-800","hover:bg-red-900","rounded-lg","focus:ring-4","focus:outline-none","focus:ring-red-300",3,"click"]],template:function(a,t){1&a&&R(0,Fj3,6,0,"div",0)(1,Nj3,33,23)(2,Dj3,14,8,"div",1)(3,Tj3,24,14,"div",2)(4,Ej3,1,1,"error-message",3),2&a&&(S(0,t.loading?0:1),s(2),S(2,t.editBill?2:-1),s(),S(3,t.deleteBill?3:-1),s(),S(4,t.showError?4:-1))},dependencies:[k2,ez,C4,X1]})}return c})();const lm1=(c,r)=>r.id;function Pj3(c,r){if(1&c){const e=j();o(0,"div",5)(1,"div",6),v(2,"fa-icon",7),o(3,"h2",8),f(4),m(5,"translate"),n()(),o(6,"select",30),C("change",function(t){return y(e),b(h().onRoleChange(t))}),o(7,"option",31),f(8),m(9,"translate"),n(),o(10,"option",32),f(11),m(12,"translate"),n()()()}if(2&c){const e=h();s(2),k("icon",e.faIdCard),s(2),H(_(5,4,"OFFERINGS._filter_role")),s(4),H(_(9,6,"OFFERINGS._customer")),s(3),H(_(12,8,"OFFERINGS._seller"))}}function Rj3(c,r){1&c&&(o(0,"div",28),w(),o(1,"svg",33),v(2,"path",34)(3,"path",35),n(),O(),o(4,"span",36),f(5,"Loading..."),n()())}function Bj3(c,r){if(1&c&&(o(0,"span",48),f(1),n()),2&c){const e=h().$implicit;s(),H(e.state)}}function Oj3(c,r){if(1&c&&(o(0,"span",54),f(1),n()),2&c){const e=h().$implicit;s(),H(e.state)}}function Ij3(c,r){if(1&c&&(o(0,"span",55),f(1),n()),2&c){const e=h().$implicit;s(),H(e.state)}}function Uj3(c,r){if(1&c&&(o(0,"span",56),f(1),n()),2&c){const e=h().$implicit;s(),H(e.state)}}function jj3(c,r){if(1&c&&(o(0,"span",48),f(1),n()),2&c){const e=h().$implicit;s(),H(e.state)}}function $j3(c,r){if(1&c&&(o(0,"span",55),f(1),n()),2&c){const e=h().$implicit;s(),H(e.state)}}function Yj3(c,r){if(1&c){const e=j();o(0,"tr",44)(1,"td",46),f(2),n(),o(3,"td",47),R(4,Bj3,2,1,"span",48)(5,Oj3,2,1)(6,Ij3,2,1)(7,Uj3,2,1)(8,jj3,2,1)(9,$j3,2,1),n(),o(10,"td",46),f(11),n(),o(12,"td",46),f(13),n(),o(14,"td",47),f(15),m(16,"date"),n(),o(17,"td",47)(18,"button",49),C("click",function(t){const i=y(e).$implicit;return h(2).toggleShowDetails(i),b(t.stopPropagation())}),w(),o(19,"svg",50)(20,"g",51),v(21,"path",52)(22,"path",53),n()()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.id," "),s(2),S(4,"inProgress"==e.state?4:"completed"==e.state?5:"failed"==e.state?6:"pending"==e.state?7:"acknowledged"==e.state?8:"cancelled"==e.state?9:-1),s(7),V(" ",e.priority," "),s(2),V(" ",e.billingAccount.name," "),s(2),V(" ",L2(16,5,null==e?null:e.orderDate,"EEEE, dd/MM/yy, HH:mm")," ")}}function Gj3(c,r){1&c&&(o(0,"div",45)(1,"span",57),f(2),m(3,"translate"),n()()),2&c&&(s(2),H(_(3,1,"PROFILE._no_orders")))}function qj3(c,r){if(1&c){const e=j();o(0,"div",58)(1,"button",59),C("click",function(){return y(e),b(h(3).next())}),f(2," Load more "),w(),o(3,"svg",60),v(4,"path",61),n()()()}}function Wj3(c,r){1&c&&R(0,qj3,5,0,"div",58),2&c&&S(0,h(2).page_check?0:-1)}function Zj3(c,r){1&c&&(o(0,"div",62),w(),o(1,"svg",33),v(2,"path",34)(3,"path",35),n(),O(),o(4,"span",36),f(5,"Loading..."),n()())}function Kj3(c,r){if(1&c&&(o(0,"div",37)(1,"div",38)(2,"table",39)(3,"thead",40)(4,"tr")(5,"th",41),f(6),m(7,"translate"),n(),o(8,"th",42),f(9),m(10,"translate"),n(),o(11,"th",41),f(12),m(13,"translate"),n(),o(14,"th",41),f(15),m(16,"translate"),n(),o(17,"th",42),f(18," Date "),n(),o(19,"th",43),f(20," Actions "),n()()(),o(21,"tbody"),c1(22,Yj3,23,8,"tr",44,lm1),n()(),R(24,Gj3,4,3,"div",45),n(),R(25,Wj3,1,1)(26,Zj3,6,0),n()),2&c){const e=h();s(6),V(" ",_(7,6,"PRODUCT_INVENTORY._order_id")," "),s(3),V(" ",_(10,8,"PRODUCT_INVENTORY._state")," "),s(3),V(" ",_(13,10,"PRODUCT_INVENTORY._priority")," "),s(3),V(" ",_(16,12,"PRODUCT_INVENTORY._bill")," "),s(7),a1(e.orders),s(2),S(24,0==e.orders.length?24:-1),s(),S(25,e.loading_more?26:25)}}function Qj3(c,r){if(1&c&&(o(0,"span",74),f(1),n()),2&c){const e=h(2);s(),H(e.orderToShow.state)}}function Jj3(c,r){if(1&c&&(o(0,"span",83),f(1),n()),2&c){const e=h(2);s(),H(e.orderToShow.state)}}function Xj3(c,r){if(1&c&&(o(0,"span",84),f(1),n()),2&c){const e=h(2);s(),H(e.orderToShow.state)}}function e$3(c,r){if(1&c&&(o(0,"span",85),f(1),n()),2&c){const e=h(2);s(),H(e.orderToShow.state)}}function c$3(c,r){if(1&c&&(o(0,"span",86),f(1),n()),2&c){const e=h(2);s(),H(e.orderToShow.state)}}function a$3(c,r){if(1&c&&(o(0,"span",84),f(1),n()),2&c){const e=h(2);s(),H(e.orderToShow.state)}}function r$3(c,r){1&c&&(o(0,"td",47),f(1," Custom "),n())}function t$3(c,r){if(1&c&&(o(0,"td",47),f(1),n()),2&c){const e=h(2).$implicit;s(),H6(" ",null==e||null==e.productOfferingPrice?null:e.productOfferingPrice.price," ",null==e||null==e.productOfferingPrice?null:e.productOfferingPrice.unit," ",null==e||null==e.productOfferingPrice?null:e.productOfferingPrice.text," ")}}function i$3(c,r){1&c&&R(0,r$3,2,0,"td",47)(1,t$3,2,3),2&c&&S(0,"custom"==h().$implicit.productOfferingPrice.priceType?0:1)}function o$3(c,r){1&c&&(o(0,"td",47),f(1),m(2,"translate"),n()),2&c&&(s(),V(" ",_(2,1,"SHOPPING_CART._free")," "))}function n$3(c,r){if(1&c&&(o(0,"tr",76)(1,"td",87),v(2,"img",88),n(),o(3,"td",47),f(4),n(),R(5,i$3,2,1)(6,o$3,3,3),n()),2&c){const e=r.$implicit,a=h(2);s(2),D1("src",a.getProductImage(e),h2),s(2),V(" ",e.name," "),s(),S(5,e.productOfferingPrice?5:6)}}function s$3(c,r){if(1&c&&(o(0,"p",82),f(1),n()),2&c){const e=r.$implicit;s(),H6("",e.price," ",e.unit," ",e.text,"")}}function l$3(c,r){1&c&&(o(0,"p",89),f(1,"Custom"),n())}function f$3(c,r){1&c&&(o(0,"p",89),f(1,"Free"),n())}function d$3(c,r){1&c&&R(0,l$3,2,0,"p",89)(1,f$3,2,0),2&c&&S(0,1==h(2).check_custom?0:1)}function u$3(c,r){if(1&c){const e=j();o(0,"div",29)(1,"div",63),C("click",function(t){return y(e),b(t.stopPropagation())}),o(2,"div",64)(3,"h2",65),f(4,"Order details:"),n(),o(5,"button",66),C("click",function(){return y(e),b(h().showOrderDetails=!1)}),w(),o(6,"svg",67),v(7,"path",68),n(),O(),o(8,"span",36),f(9),m(10,"translate"),n()()(),o(11,"div",69)(12,"div",70)(13,"div",71)(14,"p",72),f(15),m(16,"translate"),n(),o(17,"h3",73),f(18),n()(),o(19,"div",71)(20,"p",72),f(21),m(22,"translate"),n(),R(23,Qj3,2,1,"span",74)(24,Jj3,2,1)(25,Xj3,2,1)(26,e$3,2,1)(27,c$3,2,1)(28,a$3,2,1),n(),o(29,"div",71)(30,"p",72),f(31),m(32,"translate"),n(),o(33,"h3",73),f(34),n()(),o(35,"div",71)(36,"p",72),f(37," Billing address "),n(),o(38,"h3",73),f(39),n()(),o(40,"div",71)(41,"p",72),f(42," Email "),n(),o(43,"h3",73),f(44),n()(),o(45,"div",71)(46,"p",72),f(47," Date "),n(),o(48,"h3",73),f(49),m(50,"date"),n()(),o(51,"table",75)(52,"thead",40)(53,"tr")(54,"th",42),f(55," Img "),n(),o(56,"th",42),f(57," Name "),n(),o(58,"th",42),f(59," Price "),n()()(),o(60,"tbody"),c1(61,n$3,7,3,"tr",76,lm1),n()(),v(63,"hr",77),o(64,"div",78)(65,"p",79),f(66),m(67,"translate"),n(),v(68,"hr",80),o(69,"div",81),c1(70,s$3,2,3,"p",82,z1,!1,d$3,2,1),n()()()()()()}if(2&c){const e=h();k("ngClass",e.showOrderDetails?"backdrop-blur-sm":""),s(9),H(_(10,16,"CARD._close")),s(6),V(" ",_(16,18,"PRODUCT_INVENTORY._order_id")," "),s(3),V(" ",e.orderToShow.id," "),s(3),V(" ",_(22,20,"PRODUCT_INVENTORY._state")," "),s(2),S(23,"inProgress"==e.orderToShow.state?23:"completed"==e.orderToShow.state?24:"failed"==e.orderToShow.state?25:"pending"==e.orderToShow.state?26:"acknowledged"==e.orderToShow.state?27:"cancelled"==e.orderToShow.state?28:-1),s(8),V(" ",_(32,22,"PRODUCT_INVENTORY._priority")," "),s(3),V(" ",e.orderToShow.priority," "),s(5),r5(" ",e.orderToShow.billingAccount.contact[0].contactMedium[1].characteristic.city,", ",e.orderToShow.billingAccount.contact[0].contactMedium[1].characteristic.street1,", ",e.orderToShow.billingAccount.contact[0].contactMedium[1].characteristic.country," (",e.orderToShow.billingAccount.name,") "),s(5),V(" ",e.orderToShow.billingAccount.contact[0].contactMedium[0].characteristic.emailAddress," "),s(5),V(" ",L2(50,24,null==e.orderToShow?null:e.orderToShow.orderDate,"EEEE, dd/MM/yy, HH:mm")," "),s(12),a1(e.orderToShow.productOrderItem),s(5),V("",_(67,27,"CART_DRAWER._subtotal"),":"),s(4),a1(e.getTotalPrice(e.orderToShow.productOrderItem))}}let h$3=(()=>{class c{constructor(e,a,t,i,l,d,u){this.localStorage=e,this.api=a,this.cdr=t,this.accountService=i,this.orderService=l,this.eventMessage=d,this.paginationService=u,this.loading=!1,this.orders=[],this.nextOrders=[],this.partyId="",this.showOrderDetails=!1,this.dateRange=new u1,this.countries=Wt,this.preferred=!1,this.loading_more=!1,this.page_check=!0,this.page=0,this.ORDER_LIMIT=m1.ORDER_LIMIT,this.filters=[],this.check_custom=!1,this.isSeller=!1,this.role="Customer",this.faIdCard=$6,this.faSort=j6,this.faSwatchbook=_0,this.eventMessage.messages$.subscribe(p=>{"ChangedSession"===p.type&&this.initPartyInfo()})}onClick(){1==this.showOrderDetails&&(this.showOrderDetails=!1,this.cdr.detectChanges()),S1()}ngOnInit(){this.loading=!0;let e=new Date;e.setMonth(e.getMonth()-1),this.selectedDate=e.toISOString(),this.dateRange.setValue("month"),this.initPartyInfo()}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0){if(e.logged_as==e.id)this.partyId=e.partyId,e.roles.map(t=>t.name).includes("seller")&&(this.isSeller=!0);else{let a=e.organizations.find(i=>i.id==e.logged_as);this.partyId=a.partyId,a.roles.map(i=>i.name).includes("seller")&&(this.isSeller=!0)}this.page=0,this.orders=[],this.getOrders(!1)}S1()}ngAfterViewInit(){S1()}getProductImage(e){let a=e?.attachment?.filter(i=>"Profile Picture"===i.name)??[],t=e.attachment?.filter(i=>"Picture"===i.attachmentType)??[];return 0!=a.length&&(t=a),t.length>0?t?.at(0)?.url:"https://placehold.co/600x400/svg"}getOrders(e){var a=this;return M(function*(){0==e&&(a.loading=!0),a.paginationService.getItemsPaginated(a.page,a.ORDER_LIMIT,e,a.orders,a.nextOrders,{filters:a.filters,partyId:a.partyId,selectedDate:a.selectedDate,orders:a.orders,role:a.role},a.paginationService.getOrders.bind(a.paginationService)).then(i=>{console.log("--pag"),console.log(i),console.log(a.orders),a.page_check=i.page_check,a.orders=i.items,a.nextOrders=i.nextItems,a.page=i.page,a.loading=!1,a.loading_more=!1})})()}next(){var e=this;return M(function*(){yield e.getOrders(!0)})()}onStateFilterChange(e){const a=this.filters.findIndex(t=>t===e);-1!==a?(this.filters.splice(a,1),console.log("elimina filtro"),console.log(this.filters)):(console.log("a\xf1ade filtro"),this.filters.push(e),console.log(this.filters)),this.getOrders(!1)}isFilterSelected(e){return-1!==this.filters.findIndex(t=>t===e)}filterOrdersByDate(){if("month"==this.dateRange.value){let e=new Date;e.setDate(1),e.setMonth(e.getMonth()-1),this.selectedDate=e.toISOString()}else if("months"==this.dateRange.value){let e=new Date;e.setDate(1),e.setMonth(e.getMonth()-3),this.selectedDate=e.toISOString()}else if("year"==this.dateRange.value){let e=new Date;e.setDate(1),e.setMonth(0),e.setFullYear(e.getFullYear()-1),this.selectedDate=e.toISOString()}else this.selectedDate=void 0;this.getOrders(!1)}getTotalPrice(e){let a=[],t=!1;this.check_custom=!1;for(let i=0;i{class c{constructor(e,a,t){this.localStorage=e,this.cdr=a,this.eventMessage=t,this.show_profile=!0,this.show_org_profile=!1,this.show_orders=!1,this.show_billing=!1,this.loggedAsUser=!0,this.partyId="",this.token="",this.email="",this.eventMessage.messages$.subscribe(i=>{"ChangedSession"===i.type&&this.initPartyInfo()})}ngOnInit(){let e=new Date;e.setMonth(e.getMonth()-1),this.initPartyInfo()}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0)if(this.token=e.token,this.email=e.email,e.logged_as==e.id)this.partyId=e.partyId,this.loggedAsUser=!0,this.show_profile=!0,this.show_org_profile=!1,this.getProfile();else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId,this.loggedAsUser=!1,this.show_profile=!1,this.show_org_profile=!0,this.getOrgProfile()}S1()}getProfile(){this.show_billing=!1,this.show_profile=!0,this.show_orders=!1,this.show_org_profile=!1,this.selectGeneral()}getOrgProfile(){this.show_billing=!1,this.show_profile=!1,this.show_orders=!1,this.show_org_profile=!0,this.selectGeneral()}getBilling(){this.selectBilling(),this.show_billing=!0,this.show_profile=!1,this.show_orders=!1,this.show_org_profile=!1,this.cdr.detectChanges(),S1()}goToOrders(){this.selectOrder(),this.show_billing=!1,this.show_profile=!1,this.show_orders=!0,this.show_org_profile=!1,this.cdr.detectChanges()}selectGeneral(){let e=document.getElementById("bill-button"),a=document.getElementById("general-button"),t=document.getElementById("order-button");this.selectMenu(a,"text-white bg-primary-100"),this.unselectMenu(e,"text-white bg-primary-100"),this.unselectMenu(t,"text-white bg-primary-100")}selectBilling(){let e=document.getElementById("bill-button"),a=document.getElementById("general-button"),t=document.getElementById("order-button");this.selectMenu(e,"text-white bg-primary-100"),this.unselectMenu(a,"text-white bg-primary-100"),this.unselectMenu(t,"text-white bg-primary-100")}selectOrder(){let e=document.getElementById("bill-button"),a=document.getElementById("general-button"),t=document.getElementById("order-button");this.selectMenu(t,"text-white bg-primary-100"),this.unselectMenu(e,"text-white bg-primary-100"),this.unselectMenu(a,"text-white bg-primary-100")}removeClass(e,a){e.className=(" "+e.className+" ").replace(" "+a+" "," ").replace(/^\s+|\s+$/g,"")}addClass(e,a){e.className+=" "+a}unselectMenu(e,a){null!=e&&(e.className.match(a)?this.removeClass(e,a):console.log("already unselected"))}selectMenu(e,a){null!=e&&(e.className.match(a)?console.log("already selected"):this.addClass(e,a))}static#e=this.\u0275fac=function(a){return new(a||c)(B(A1),B(B1),B(e2))};static#c=this.\u0275cmp=V1({type:c,selectors:[["app-user-profile"]],decls:45,vars:26,consts:[[1,"container","mx-auto","pt-2","pb-8"],[1,"hidden","lg:block","mb-8","mt-4","text-4xl","font-extrabold","leading-none","tracking-tight","text-gray-900","md:text-4xl","lg:text-5xl","dark:text-white","w-full"],[1,"underline","underline-offset-3","decoration-8","decoration-primary-100","dark:decoration-primary-100"],[1,"flex","flex-cols","mr-2","ml-2","lg:hidden"],[1,"mb-8","mt-4","text-4xl","font-extrabold","leading-none","tracking-tight","text-gray-900","lg:text-4xl","lg:text-5xl","dark:text-white","w-full"],[1,"flex","align-middle","content-center","items-center"],["id","dropdown-nav","data-dropdown-toggle","dropdown-nav-content","type","button",1,"text-black","dark:text-white","h-fit","w-fit","justify-between","shadow","bg-white","dark:bg-secondary-200","hover:bg-gray-100","dark:hover:bg-secondary-300","focus:ring-4","focus:outline-none","focus:ring-primary-100","font-medium","rounded-lg","text-sm","p-2.5","text-center","inline-flex","items-center","shadow-lg"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 17 14",1,"w-4","h-4","mr-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 1h15M1 7h15M1 13h15"],["id","dropdown-nav-content",1,"z-10","hidden","bg-white","divide-y","divide-gray-100","rounded-lg","shadow","w-44","dark:bg-gray-700"],["aria-labelledby","dropdown-nav",1,"py-2","text-sm","text-gray-700","dark:text-gray-200"],[1,"cursor-pointer","block","px-4","py-2","hover:bg-gray-100","dark:hover:bg-gray-600","dark:hover:text-white",3,"click"],[1,"w-full","grid","lg:grid-cols-20/80"],[1,"hidden","lg:block"],[1,"w-48","h-fit","text-sm","font-medium","text-gray-900","bg-white","border","border-gray-200","rounded-lg","dark:bg-gray-700","dark:border-gray-600","dark:text-white"],["id","general-button","aria-current","true",1,"block","w-full","px-4","py-2","text-white","bg-primary-100","border-b","border-gray-200","rounded-t-lg","cursor-pointer","dark:border-gray-600","hover:bg-gray-100","hover:text-blue-700","dark:border-gray-600","dark:hover:bg-gray-600","dark:hover:text-white","dark:focus:ring-gray-500","dark:focus:text-white"],["id","bill-button",1,"block","w-full","px-4","py-2","border-b","border-gray-200","cursor-pointer","hover:bg-gray-100","hover:text-blue-700","dark:border-gray-600","dark:hover:bg-gray-600","dark:hover:text-white","dark:focus:ring-gray-500","dark:focus:text-white",3,"click"],["id","order-button",1,"block","w-full","px-4","py-2","border-b","border-gray-200","cursor-pointer","hover:bg-gray-100","hover:text-blue-700","dark:border-gray-600","dark:hover:bg-gray-600","dark:hover:text-white","dark:focus:ring-gray-500","dark:focus:text-white",3,"click"],["id","general-button","aria-current","true",1,"block","w-full","px-4","py-2","text-white","bg-primary-100","border-b","border-gray-200","rounded-t-lg","cursor-pointer","dark:border-gray-600","hover:bg-gray-100","hover:text-blue-700","dark:border-gray-600","dark:hover:bg-gray-600","dark:hover:text-white","dark:focus:ring-gray-500","dark:focus:text-white",3,"click"]],template:function(a,t){1&a&&(o(0,"div",0)(1,"h1",1)(2,"span",2),f(3),m(4,"translate"),n()(),o(5,"div",3)(6,"h1",4)(7,"span",2),f(8),m(9,"translate"),n()(),o(10,"div",5)(11,"button",6),w(),o(12,"svg",7),v(13,"path",8),n(),f(14," Profile "),n()()(),O(),o(15,"div",9)(16,"ul",10)(17,"li")(18,"a",11),C("click",function(){return t.getProfile()}),f(19),m(20,"translate"),n()(),o(21,"li")(22,"a",11),C("click",function(){return t.getBilling()}),f(23),m(24,"translate"),n()(),o(25,"li")(26,"a",11),C("click",function(){return t.goToOrders()}),f(27),m(28,"translate"),n()()()(),o(29,"div",12)(30,"div",13)(31,"div",14),R(32,m$3,3,3,"button",15)(33,_$3,3,3),o(34,"button",16),C("click",function(){return t.getBilling()}),f(35),m(36,"translate"),n(),o(37,"button",17),C("click",function(){return t.goToOrders()}),f(38),m(39,"translate"),n()()(),o(40,"div"),R(41,p$3,1,0,"user-info")(42,g$3,1,0,"org-info")(43,v$3,1,0,"order-info")(44,H$3,1,0,"billing-info"),n()()()),2&a&&(s(3),H(_(4,12,"PROFILE._profile")),s(5),H(_(9,14,"PROFILE._profile")),s(11),H(_(20,16,"PROFILE._general")),s(4),H(_(24,18,"PROFILE._bill")),s(4),H(_(28,20,"PROFILE._orders")),s(5),S(32,t.loggedAsUser?32:33),s(3),V(" ",_(36,22,"PROFILE._bill")," "),s(3),V(" ",_(39,24,"PROFILE._orders")," "),s(3),S(41,t.show_profile?41:-1),s(),S(42,t.show_org_profile?42:-1),s(),S(43,t.show_orders?43:-1),s(),S(44,t.show_billing?44:-1))},dependencies:[zj3,xj3,Aj3,h$3,X1]})}return c})();const z$3=(c,r)=>r.id;function V$3(c,r){1&c&&(o(0,"div",29),w(),o(1,"svg",30),v(2,"path",31)(3,"path",32),n(),O(),o(4,"span",33),f(5,"Loading..."),n()())}function M$3(c,r){if(1&c&&(o(0,"span",44),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function L$3(c,r){if(1&c&&(o(0,"span",49),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function y$3(c,r){if(1&c&&(o(0,"span",50),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function b$3(c,r){if(1&c&&(o(0,"span",51),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function x$3(c,r){if(1&c){const e=j();o(0,"tr",40)(1,"td",42),f(2),n(),o(3,"td",43),R(4,M$3,2,1,"span",44)(5,L$3,2,1)(6,y$3,2,1)(7,b$3,2,1),n(),o(8,"td",45),f(9),n(),o(10,"td",43)(11,"button",46),C("click",function(){const t=y(e).$implicit;return b(h(2).goToUpdate(t))}),w(),o(12,"svg",47),v(13,"path",48),n()()()()}if(2&c){let e;const a=r.$implicit;s(2),V(" ",a.name," "),s(2),S(4,"Active"==a.lifecycleStatus?4:"Launched"==a.lifecycleStatus?5:"Retired"==a.lifecycleStatus?6:"Obsolete"==a.lifecycleStatus?7:-1),s(5),V(" ",null==a.relatedParty||null==(e=a.relatedParty.at(0))?null:e.role," ")}}function w$3(c,r){1&c&&(o(0,"div",41)(1,"div",52),w(),o(2,"svg",53),v(3,"path",54),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_cat")," "))}function F$3(c,r){if(1&c){const e=j();o(0,"div",55)(1,"button",56),C("click",function(){return y(e),b(h(3).next())}),f(2),m(3,"translate"),w(),o(4,"svg",57),v(5,"path",8),n()()()}2&c&&(s(2),V(" ",_(3,1,"OFFERINGS._load_more")," "))}function k$3(c,r){1&c&&R(0,F$3,6,3,"div",55),2&c&&S(0,h(2).page_check?0:-1)}function S$3(c,r){1&c&&(o(0,"div",58),w(),o(1,"svg",30),v(2,"path",31)(3,"path",32),n(),O(),o(4,"span",33),f(5,"Loading..."),n()())}function N$3(c,r){if(1&c&&(o(0,"div",34)(1,"div",35)(2,"table",36)(3,"thead",37)(4,"tr")(5,"th",38),f(6),m(7,"translate"),n(),o(8,"th",38),f(9),m(10,"translate"),n(),o(11,"th",39),f(12),m(13,"translate"),n(),o(14,"th",38),f(15),m(16,"translate"),n()()(),o(17,"tbody"),c1(18,x$3,14,3,"tr",40,z$3,!1,w$3,7,3,"div",41),n()()(),R(21,k$3,1,1)(22,S$3,6,0),n()),2&c){const e=h();s(6),V(" ",_(7,6,"OFFERINGS._name")," "),s(3),V(" ",_(10,8,"OFFERINGS._status")," "),s(3),V(" ",_(13,10,"OFFERINGS._role")," "),s(3),V(" ",_(16,12,"OFFERINGS._actions")," "),s(3),a1(e.catalogs),s(3),S(21,e.loading_more?22:21)}}let D$3=(()=>{class c{constructor(e,a,t,i,l,d){this.router=e,this.api=a,this.cdr=t,this.localStorage=i,this.eventMessage=l,this.paginationService=d,this.faIdCard=$6,this.faSort=j6,this.faSwatchbook=_0,this.searchField=new u1,this.catalogs=[],this.nextCatalogs=[],this.page=0,this.CATALOG_LIMIT=m1.CATALOG_LIMIT,this.loading=!1,this.loading_more=!1,this.page_check=!0,this.filter=void 0,this.status=["Active","Launched"],this.eventMessage.messages$.subscribe(u=>{"ChangedSession"===u.type&&this.initCatalogs()})}ngOnInit(){this.initCatalogs()}goToCreate(){this.eventMessage.emitSellerCreateCatalog(!0)}goToUpdate(e){this.eventMessage.emitSellerUpdateCatalog(e)}initCatalogs(){this.loading=!0,this.catalogs=[],this.nextCatalogs=[];let e=this.localStorage.getObject("login_items");if(e.logged_as==e.id)this.partyId=e.partyId;else{let t=e.organizations.find(i=>i.id==e.logged_as);this.partyId=t.partyId}this.getCatalogs(!1);let a=document.querySelector("[type=search]");a?.addEventListener("input",t=>{console.log("Input updated"),""==this.searchField.value&&(this.filter=void 0,this.getCatalogs(!1))}),S1()}ngAfterViewInit(){S1()}getCatalogs(e){var a=this;return M(function*(){0==e&&(a.loading=!0),a.paginationService.getItemsPaginated(a.page,a.CATALOG_LIMIT,e,a.catalogs,a.nextCatalogs,{keywords:a.filter,filters:a.status,partyId:a.partyId},a.api.getCatalogsByUser.bind(a.api)).then(i=>{a.page_check=i.page_check,a.catalogs=i.items,a.nextCatalogs=i.nextItems,a.page=i.page,a.loading=!1,a.loading_more=!1})})()}next(){var e=this;return M(function*(){e.page=e.page+e.CATALOG_LIMIT,console.log(e.page),yield e.getCatalogs(!0)})()}filterInventoryByKeywords(){}onStateFilterChange(e){const a=this.status.findIndex(t=>t===e);-1!==a?(this.status.splice(a,1),console.log("elimina filtro"),console.log(this.status)):(console.log("a\xf1ade filtro"),console.log(this.status),this.status.push(e)),this.loading=!0,this.page=0,this.catalogs=[],this.nextCatalogs=[],this.getCatalogs(!1)}static#e=this.\u0275fac=function(a){return new(a||c)(B(Q1),B(p1),B(B1),B(A1),B(e2),B(L3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["seller-catalogs"]],decls:53,vars:29,consts:[[1,"w-full","h-fit","mb-4","bg-secondary-50","rounded-lg","dark:bg-secondary-100","dark:border-gray-800","border-secondary-50","border","flex","flex-col","shadow-lg"],[1,"flex","w-full","flex-cols","items-center","justify-between"],[1,"mb-4","lg:mb-0","lg:w-1/4","p-8","justify-start"],[1,"text-2xl","font-bold","mb-4","dark:text-white"],[1,"flex","flex-row","w-full","justify-end"],["type","button",1,"ml-2","mr-8","mb-4","text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-2.5","text-center","inline-flex","items-center","align-middle","me-2",3,"click"],[1,"pl-2","pr-2"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-[18px]","h-[18px]","text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],[1,"flex","w-full","flex-col","items-center","lg:flex-row","justify-between"],[1,"p-8","w-full"],[1,"flex","flex-row","mb-1"],[1,"fa-base","text-primary-100","align-middle","mr-2",3,"icon"],[1,"text-base","dark:text-white","font-bold"],["id","dropdownDefault","data-dropdown-toggle","dropdown","type","button",1,"text-black","dark:text-white","w-full","justify-between","shadow","bg-white","dark:bg-secondary-200","hover:bg-gray-100","dark:hover:bg-secondary-300","focus:ring-4","focus:outline-none","focus:ring-primary-100","font-medium","rounded-lg","text-sm","p-2.5","text-center","inline-flex","items-center","shadow-lg"],["aria-hidden","true","fill","none","stroke","currentColor","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg",1,"w-4","h-4","ml-2"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M19 9l-7 7-7-7"],["id","dropdown",1,"z-20","hidden","w-fit","md:w-1/5","p-3","bg-white","rounded-lg","shadow","dark:bg-secondary-200"],[1,"mb-3","text-sm","font-medium","text-gray-900","dark:text-white"],["aria-labelledby","dropdownDefault",1,"space-y-2","text-sm"],[1,"flex","items-center"],["id","active","type","checkbox","value","","checked","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","active",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","launched","type","checkbox","value","","checked","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","launched",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","retired","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","retired",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","obsolete","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","obsolete",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"sr-only"],[1,"bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800","border-secondary-50","border","mt-8","p-4","rounded-lg","shadow-lg"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","dark:text-gray-100","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"hidden","md:table-cell","px-6","py-3"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"flex","justify-center","w-full","m-4"],[1,"px-6","py-4","text-wrap","break-all"],[1,"px-6","py-4"],[1,"bg-blue-100","dark:bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"px-6","py-4","hidden","md:table-cell"],["type","button",1,"text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-2.5","text-center","inline-flex","items-center","me-2",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-[18px]","h-[18px]","text-white"],["fill-rule","evenodd","d","M14 4.182A4.136 4.136 0 0 1 16.9 3c1.087 0 2.13.425 2.899 1.182A4.01 4.01 0 0 1 21 7.037c0 1.068-.43 2.092-1.194 2.849L18.5 11.214l-5.8-5.71 1.287-1.31.012-.012Zm-2.717 2.763L6.186 12.13l2.175 2.141 5.063-5.218-2.141-2.108Zm-6.25 6.886-1.98 5.849a.992.992 0 0 0 .245 1.026 1.03 1.03 0 0 0 1.043.242L10.282 19l-5.25-5.168Zm6.954 4.01 5.096-5.186-2.218-2.183-5.063 5.218 2.185 2.15Z","clip-rule","evenodd"],[1,"bg-blue-100","dark:bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"flex","pt-6","pb-2","justify-center","align-middle"],[1,"flex","cursor-pointer","shadow-lg","items-center","justify-center","px-3","h-8","text-sm","font-medium","text-gray-500","dark:text-white","bg-white","dark:bg-primary-100","dark:hover:bg-secondary-100","border","border-gray-300","dark:border-secondary-200","rounded-lg","hover:bg-gray-200",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-3.5","h-3.5","ms-2"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle","mt-2"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",0)(2,"div",1)(3,"div",2)(4,"h2",3),f(5),m(6,"translate"),n()(),o(7,"div",4)(8,"button",5),C("click",function(){return t.goToCreate()}),o(9,"p",6),f(10),m(11,"translate"),n(),w(),o(12,"svg",7),v(13,"path",8),n()()()(),O(),o(14,"div",9)(15,"div",10)(16,"div",11),v(17,"fa-icon",12),o(18,"h2",13),f(19),m(20,"translate"),n()(),o(21,"button",14),f(22),m(23,"translate"),w(),o(24,"svg",15),v(25,"path",16),n()(),O(),o(26,"div",17)(27,"h6",18),f(28),m(29,"translate"),n(),o(30,"ul",19)(31,"li",20)(32,"input",21),C("change",function(){return t.onStateFilterChange("Active")}),n(),o(33,"label",22),f(34),m(35,"translate"),n()(),o(36,"li",20)(37,"input",23),C("change",function(){return t.onStateFilterChange("Launched")}),n(),o(38,"label",24),f(39),m(40,"translate"),n()(),o(41,"li",20)(42,"input",25),C("change",function(){return t.onStateFilterChange("Retired")}),n(),o(43,"label",26),f(44),m(45,"translate"),n()(),o(46,"li",20)(47,"input",27),C("change",function(){return t.onStateFilterChange("Obsolete")}),n(),o(48,"label",28),f(49),m(50,"translate"),n()()()()()()(),R(51,V$3,6,0,"div",29)(52,N$3,23,14),n()),2&a&&(s(5),H(_(6,11,"OFFERINGS._catalogs")),s(5),H(_(11,13,"OFFERINGS._add_new_catalog")),s(7),k("icon",t.faSwatchbook),s(2),H(_(20,15,"OFFERINGS._filter_state")),s(3),V(" ",_(23,17,"OFFERINGS._filter_state")," "),s(6),V(" ",_(29,19,"OFFERINGS._status")," "),s(6),V(" ",_(35,21,"OFFERINGS._active")," "),s(5),V(" ",_(40,23,"OFFERINGS._launched")," "),s(5),V(" ",_(45,25,"OFFERINGS._retired")," "),s(5),V(" ",_(50,27,"OFFERINGS._obsolete")," "),s(2),S(51,t.loading?51:52))},dependencies:[B4,X1]})}return c})();class z4{static#e=this.BASE_URL=m1.BASE_URL;static#c=this.API_PRODUCT_CATALOG=m1.PRODUCT_CATALOG;static#a=this.API_PRODUCT_SPEC=m1.PRODUCT_SPEC;static#r=this.PROD_SPEC_LIMIT=m1.PROD_SPEC_LIMIT;constructor(r,e){this.http=r,this.localStorage=e}getProdSpecByUser(r,e,a,t,i){let l=`${z4.BASE_URL}${z4.API_PRODUCT_CATALOG}${z4.API_PRODUCT_SPEC}?limit=${z4.PROD_SPEC_LIMIT}&offset=${r}&relatedParty.id=${a}`;null!=t&&(l=l+"&sort="+t),null!=i&&(l=l+"&isBundle="+i);let d="";if(e&&e.length>0){for(let u=0;ur.id;function E$3(c,r){1&c&&(o(0,"div",30),w(),o(1,"svg",31),v(2,"path",32)(3,"path",33),n(),O(),o(4,"span",34),f(5,"Loading..."),n()())}function A$3(c,r){if(1&c&&(o(0,"span",46),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function P$3(c,r){if(1&c&&(o(0,"span",52),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function R$3(c,r){if(1&c&&(o(0,"span",53),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function B$3(c,r){if(1&c&&(o(0,"span",54),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function O$3(c,r){1&c&&(o(0,"span",46),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"OFFERINGS._simple")))}function I$3(c,r){1&c&&(o(0,"span",52),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"OFFERINGS._bundle")))}function U$3(c,r){if(1&c){const e=j();o(0,"tr",42)(1,"td",44),f(2),n(),o(3,"td",45),R(4,A$3,2,1,"span",46)(5,P$3,2,1)(6,R$3,2,1)(7,B$3,2,1),n(),o(8,"td",47),R(9,O$3,3,3,"span",46)(10,I$3,3,3),n(),o(11,"td",48),f(12),m(13,"date"),n(),o(14,"td",45)(15,"button",49),C("click",function(){const t=y(e).$implicit;return b(h(2).goToUpdate(t))}),w(),o(16,"svg",50),v(17,"path",51),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1),s(5),S(9,0==e.isBundle?9:10),s(3),V(" ",L2(13,4,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," ")}}function j$3(c,r){1&c&&(o(0,"div",43)(1,"div",55),w(),o(2,"svg",56),v(3,"path",57),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_prod")," "))}function $$3(c,r){if(1&c){const e=j();o(0,"div",58)(1,"button",59),C("click",function(){return y(e),b(h(3).next())}),f(2),m(3,"translate"),w(),o(4,"svg",60),v(5,"path",9),n()()()}2&c&&(s(2),V(" ",_(3,1,"OFFERINGS._load_more")," "))}function Y$3(c,r){1&c&&R(0,$$3,6,3,"div",58),2&c&&S(0,h(2).page_check?0:-1)}function G$3(c,r){1&c&&(o(0,"div",61),w(),o(1,"svg",31),v(2,"path",32)(3,"path",33),n(),O(),o(4,"span",34),f(5,"Loading..."),n()())}function q$3(c,r){if(1&c&&(o(0,"div",35)(1,"div",36)(2,"table",37)(3,"thead",38)(4,"tr")(5,"th",39),f(6),m(7,"translate"),n(),o(8,"th",39),f(9),m(10,"translate"),n(),o(11,"th",40),f(12),m(13,"translate"),n(),o(14,"th",41),f(15),m(16,"translate"),n(),o(17,"th",39),f(18),m(19,"translate"),n()()(),o(20,"tbody"),c1(21,U$3,18,7,"tr",42,T$3,!1,j$3,7,3,"div",43),n()()(),R(24,Y$3,1,1)(25,G$3,6,0),n()),2&c){const e=h();s(6),V(" ",_(7,7,"OFFERINGS._name")," "),s(3),V(" ",_(10,9,"OFFERINGS._status")," "),s(3),V(" ",_(13,11,"OFFERINGS._type")," "),s(3),V(" ",_(16,13,"OFFERINGS._last_update")," "),s(3),V(" ",_(19,15,"OFFERINGS._actions")," "),s(3),a1(e.prodSpecs),s(3),S(24,e.loading_more?25:24)}}let W$3=(()=>{class c{constructor(e,a,t,i,l,d,u){this.router=e,this.api=a,this.prodSpecService=t,this.cdr=i,this.localStorage=l,this.eventMessage=d,this.paginationService=u,this.faIdCard=$6,this.faSort=j6,this.faSwatchbook=_0,this.faSparkles=aH,this.searchField=new u1,this.prodSpecs=[],this.nextProdSpecs=[],this.page=0,this.PROD_SPEC_LIMIT=m1.PROD_SPEC_LIMIT,this.loading=!1,this.loading_more=!1,this.page_check=!0,this.filter=void 0,this.status=["Active","Launched"],this.sort=void 0,this.isBundle=void 0,this.eventMessage.messages$.subscribe(p=>{"ChangedSession"===p.type&&this.initProdSpecs()})}ngOnInit(){this.initProdSpecs()}initProdSpecs(){this.loading=!0,this.prodSpecs=[];let e=this.localStorage.getObject("login_items");if(e.logged_as==e.id)this.partyId=e.partyId;else{let t=e.organizations.find(i=>i.id==e.logged_as);this.partyId=t.partyId}this.getProdSpecs(!1);let a=document.querySelector("[type=search]");a?.addEventListener("input",t=>{console.log("Input updated"),""==this.searchField.value&&(this.filter=void 0,this.getProdSpecs(!1))}),S1()}ngAfterViewInit(){S1()}goToCreate(){this.eventMessage.emitSellerCreateProductSpec(!0)}goToUpdate(e){this.eventMessage.emitSellerUpdateProductSpec(e)}getProdSpecs(e){var a=this;return M(function*(){0==e&&(a.loading=!0),a.paginationService.getItemsPaginated(a.page,a.PROD_SPEC_LIMIT,e,a.prodSpecs,a.nextProdSpecs,{filters:a.status,partyId:a.partyId,sort:a.sort,isBundle:a.isBundle},a.prodSpecService.getProdSpecByUser.bind(a.prodSpecService)).then(i=>{a.page_check=i.page_check,a.prodSpecs=i.items,a.nextProdSpecs=i.nextItems,a.page=i.page,a.loading=!1,a.loading_more=!1})})()}next(){var e=this;return M(function*(){yield e.getProdSpecs(!0)})()}filterInventoryByKeywords(){}onStateFilterChange(e){const a=this.status.findIndex(t=>t===e);-1!==a?(this.status.splice(a,1),console.log("elimina filtro"),console.log(this.status)):(console.log("a\xf1ade filtro"),console.log(this.status),this.status.push(e)),this.getProdSpecs(!1)}onSortChange(e){this.sort="name"==e.target.value?"name":void 0,this.getProdSpecs(!1)}onTypeChange(e){this.isBundle="simple"!=e.target.value&&("bundle"==e.target.value||void 0),this.getProdSpecs(!1)}static#e=this.\u0275fac=function(a){return new(a||c)(B(Q1),B(p1),B(z4),B(B1),B(A1),B(e2),B(L3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["seller-product-spec"]],decls:55,vars:29,consts:[[1,"w-full","h-fit","mb-4","bg-secondary-50","rounded-lg","dark:bg-secondary-100","dark:border-gray-800","border-gray-300","border-secondary-50","border","flex","flex-col","shadow-lg"],[1,"flex","w-full","flex-cols","items-center","md:flex-row","justify-between"],[1,"mb-4","lg:mb-0","lg:w-1/4","p-8"],[1,"text-2xl","font-bold","mb-4","dark:text-white"],[1,"flex","flex-row","w-full","justify-end"],["type","button",1,"ml-2","mr-8","mb-4","text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-2.5","text-center","inline-flex","items-center","align-middle","me-2",3,"click"],[1,"hidden","lg:block","pl-2","pr-2"],[1,"block","lg:hidden","pl-2","pr-2"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-[18px]","h-[18px]","text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],[1,"flex","w-full","flex-col","items-center","md:flex-row","justify-between"],[1,"p-8","w-full"],[1,"flex","flex-row","mb-1"],[1,"fa-base","text-primary-100","align-middle","mr-2",3,"icon"],[1,"text-base","font-bold","dark:text-white"],["id","dropdownDefault","data-dropdown-toggle","dropdown","type","button",1,"text-black","dark:text-white","w-full","justify-between","shadow","bg-white","dark:bg-secondary-200","hover:bg-gray-100","dark:hover:bg-secondary-300","focus:ring-4","focus:outline-none","focus:ring-primary-100","font-medium","rounded-lg","text-sm","p-2.5","text-center","inline-flex","items-center","shadow-lg"],["aria-hidden","true","fill","none","stroke","currentColor","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg",1,"w-4","h-4","ml-2"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M19 9l-7 7-7-7"],["id","dropdown",1,"z-20","hidden","w-fit","md:w-1/5","p-3","bg-white","rounded-lg","shadow","dark:bg-secondary-200"],[1,"mb-3","text-sm","font-medium","text-gray-900","dark:text-white"],["aria-labelledby","dropdownDefault",1,"space-y-2","text-sm"],[1,"flex","items-center"],["id","active","type","checkbox","value","","checked","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","active",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["id","launched","type","checkbox","value","","checked","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","launched",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["id","retired","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","retired",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["id","obsolete","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","obsolete",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"sr-only"],[1,"bg-secondary-50","dark:bg-secondary-100","border","dark:border-gray-800","mt-8","p-4","rounded-lg"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"px-6","py-3","hidden","md:table-cell"],["scope","col",1,"px-6","py-3","hidden","lg:table-cell"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"flex","justify-center","w-full","m-4"],[1,"px-6","py-4","text-wrap","break-all"],[1,"px-6","py-4"],[1,"bg-blue-100","dark:bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"px-6","py-4","hidden","md:table-cell"],[1,"px-6","py-4","hidden","lg:table-cell"],["type","button",1,"text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-2.5","text-center","inline-flex","items-center","me-2",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-[18px]","h-[18px]","text-white"],["fill-rule","evenodd","d","M14 4.182A4.136 4.136 0 0 1 16.9 3c1.087 0 2.13.425 2.899 1.182A4.01 4.01 0 0 1 21 7.037c0 1.068-.43 2.092-1.194 2.849L18.5 11.214l-5.8-5.71 1.287-1.31.012-.012Zm-2.717 2.763L6.186 12.13l2.175 2.141 5.063-5.218-2.141-2.108Zm-6.25 6.886-1.98 5.849a.992.992 0 0 0 .245 1.026 1.03 1.03 0 0 0 1.043.242L10.282 19l-5.25-5.168Zm6.954 4.01 5.096-5.186-2.218-2.183-5.063 5.218 2.185 2.15Z","clip-rule","evenodd"],[1,"bg-blue-100","dark:bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"flex","pt-6","pb-2","justify-center","align-middle"],[1,"flex","cursor-pointer","shadow-lg","items-center","justify-center","px-3","h-8","text-sm","font-medium","text-gray-500","dark:text-white","bg-white","dark:bg-primary-100","dark:hover:bg-secondary-100","border","border-gray-300","dark:border-secondary-200","rounded-lg","hover:bg-gray-200",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-3.5","h-3.5","ms-2"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle","mt-2"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",0)(2,"div",1)(3,"div",2)(4,"h2",3),f(5),m(6,"translate"),n()(),o(7,"div",4)(8,"button",5),C("click",function(){return t.goToCreate()}),o(9,"p",6),f(10),m(11,"translate"),n(),o(12,"p",7),f(13,"Add new product spec"),n(),w(),o(14,"svg",8),v(15,"path",9),n()()()(),O(),o(16,"div",10)(17,"div",11)(18,"div",12),v(19,"fa-icon",13),o(20,"h2",14),f(21),m(22,"translate"),n()(),o(23,"button",15),f(24),m(25,"translate"),w(),o(26,"svg",16),v(27,"path",17),n()(),O(),o(28,"div",18)(29,"h6",19),f(30),m(31,"translate"),n(),o(32,"ul",20)(33,"li",21)(34,"input",22),C("change",function(){return t.onStateFilterChange("Active")}),n(),o(35,"label",23),f(36),m(37,"translate"),n()(),o(38,"li",21)(39,"input",24),C("change",function(){return t.onStateFilterChange("Launched")}),n(),o(40,"label",25),f(41),m(42,"translate"),n()(),o(43,"li",21)(44,"input",26),C("change",function(){return t.onStateFilterChange("Retired")}),n(),o(45,"label",27),f(46),m(47,"translate"),n()(),o(48,"li",21)(49,"input",28),C("change",function(){return t.onStateFilterChange("Obsolete")}),n(),o(50,"label",29),f(51),m(52,"translate"),n()()()()()()(),R(53,E$3,6,0,"div",30)(54,q$3,26,17),n()),2&a&&(s(5),H(_(6,11,"OFFERINGS._prod_spec")),s(5),H(_(11,13,"OFFERINGS._add_new_prod")),s(9),k("icon",t.faSwatchbook),s(2),H(_(22,15,"OFFERINGS._filter_state")),s(3),V(" ",_(25,17,"OFFERINGS._filter_state")," "),s(6),V(" ",_(31,19,"OFFERINGS._status")," "),s(6),V(" ",_(37,21,"OFFERINGS._active")," "),s(5),V(" ",_(42,23,"OFFERINGS._launched")," "),s(5),V(" ",_(47,25,"OFFERINGS._retired")," "),s(5),V(" ",_(52,27,"OFFERINGS._obsolete")," "),s(2),S(53,t.loading?53:54))},dependencies:[B4,Q4,X1]})}return c})();class N4{static#e=this.BASE_URL=m1.BASE_URL;static#c=this.SERVICE=m1.SERVICE;static#a=this.API_SERVICE_SPEC=m1.SERVICE_SPEC;static#r=this.SERV_SPEC_LIMIT=m1.SERV_SPEC_LIMIT;constructor(r,e){this.http=r,this.localStorage=e}getServiceSpecByUser(r,e,a,t){let i=`${N4.BASE_URL}${N4.SERVICE}${N4.API_SERVICE_SPEC}?limit=${N4.SERV_SPEC_LIMIT}&offset=${r}&relatedParty.id=${a}`;null!=t&&(i=i+"&sort="+t);let l="";if(e.length>0){for(let d=0;dr.id;function K$3(c,r){1&c&&(o(0,"div",29),w(),o(1,"svg",30),v(2,"path",31)(3,"path",32),n(),O(),o(4,"span",33),f(5,"Loading..."),n()())}function Q$3(c,r){if(1&c&&(o(0,"span",44),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function J$3(c,r){if(1&c&&(o(0,"span",49),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function X$3(c,r){if(1&c&&(o(0,"span",50),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function eY3(c,r){if(1&c&&(o(0,"span",51),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function cY3(c,r){if(1&c){const e=j();o(0,"tr",40)(1,"td",42),f(2),n(),o(3,"td",43),R(4,Q$3,2,1,"span",44)(5,J$3,2,1)(6,X$3,2,1)(7,eY3,2,1),n(),o(8,"td",45),f(9),m(10,"date"),n(),o(11,"td",43)(12,"button",46),C("click",function(){const t=y(e).$implicit;return b(h(2).goToUpdate(t))}),w(),o(13,"svg",47),v(14,"path",48),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1),s(5),V(" ",L2(10,3,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," ")}}function aY3(c,r){1&c&&(o(0,"div",41)(1,"div",52),w(),o(2,"svg",53),v(3,"path",54),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_serv")," "))}function rY3(c,r){if(1&c){const e=j();o(0,"div",55)(1,"button",56),C("click",function(){return y(e),b(h(3).next())}),f(2),m(3,"translate"),w(),o(4,"svg",57),v(5,"path",8),n()()()}2&c&&(s(2),V(" ",_(3,1,"OFFERINGS._load_more")," "))}function tY3(c,r){1&c&&R(0,rY3,6,3,"div",55),2&c&&S(0,h(2).page_check?0:-1)}function iY3(c,r){1&c&&(o(0,"div",58),w(),o(1,"svg",30),v(2,"path",31)(3,"path",32),n(),O(),o(4,"span",33),f(5,"Loading..."),n()())}function oY3(c,r){if(1&c&&(o(0,"div",34)(1,"div",35)(2,"table",36)(3,"thead",37)(4,"tr")(5,"th",38),f(6),m(7,"translate"),n(),o(8,"th",38),f(9),m(10,"translate"),n(),o(11,"th",39),f(12),m(13,"translate"),n(),o(14,"th",38),f(15),m(16,"translate"),n()()(),o(17,"tbody"),c1(18,cY3,15,6,"tr",40,Z$3,!1,aY3,7,3,"div",41),n()()(),R(21,tY3,1,1)(22,iY3,6,0),n()),2&c){const e=h();s(6),V(" ",_(7,6,"OFFERINGS._name")," "),s(3),V(" ",_(10,8,"OFFERINGS._status")," "),s(3),V(" ",_(13,10,"OFFERINGS._last_update")," "),s(3),V(" ",_(16,12,"OFFERINGS._actions")," "),s(3),a1(e.servSpecs),s(3),S(21,e.loading_more?22:21)}}let nY3=(()=>{class c{constructor(e,a,t,i,l,d,u){this.router=e,this.api=a,this.servSpecService=t,this.cdr=i,this.localStorage=l,this.eventMessage=d,this.paginationService=u,this.faIdCard=$6,this.faSort=j6,this.faSwatchbook=_0,this.searchField=new u1,this.servSpecs=[],this.nextServSpecs=[],this.page=0,this.SERV_SPEC_LIMIT=m1.SERV_SPEC_LIMIT,this.loading=!1,this.loading_more=!1,this.page_check=!0,this.filter=void 0,this.status=["Active","Launched"],this.sort=void 0,this.eventMessage.messages$.subscribe(p=>{"ChangedSession"===p.type&&this.initServices()})}ngOnInit(){this.initServices()}initServices(){this.loading=!0,this.servSpecs=[];let e=this.localStorage.getObject("login_items");if(e.logged_as==e.id)this.partyId=e.partyId;else{let t=e.organizations.find(i=>i.id==e.logged_as);this.partyId=t.partyId}this.getServSpecs(!1);let a=document.querySelector("[type=search]");a?.addEventListener("input",t=>{console.log("Input updated"),""==this.searchField.value&&(this.filter=void 0,this.getServSpecs(!1))}),S1()}ngAfterViewInit(){S1()}goToCreate(){this.eventMessage.emitSellerCreateServiceSpec(!0)}goToUpdate(e){this.eventMessage.emitSellerUpdateServiceSpec(e)}getServSpecs(e){var a=this;return M(function*(){0==e&&(a.loading=!0),a.paginationService.getItemsPaginated(a.page,a.SERV_SPEC_LIMIT,e,a.servSpecs,a.nextServSpecs,{filters:a.status,partyId:a.partyId,sort:a.sort},a.servSpecService.getServiceSpecByUser.bind(a.servSpecService)).then(i=>{a.page_check=i.page_check,a.servSpecs=i.items,a.nextServSpecs=i.nextItems,a.page=i.page,a.loading=!1,a.loading_more=!1})})()}filterInventoryByKeywords(){}onStateFilterChange(e){const a=this.status.findIndex(t=>t===e);-1!==a?(this.status.splice(a,1),console.log("elimina filtro"),console.log(this.status)):(console.log("a\xf1ade filtro"),console.log(this.status),this.status.push(e)),this.getServSpecs(!1)}next(){var e=this;return M(function*(){yield e.getServSpecs(!0)})()}onSortChange(e){this.sort="name"==e.target.value?"name":void 0,this.getServSpecs(!1)}static#e=this.\u0275fac=function(a){return new(a||c)(B(Q1),B(p1),B(N4),B(B1),B(A1),B(e2),B(L3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["seller-service-spec"]],decls:53,vars:29,consts:[[1,"w-full","h-fit","mb-4","bg-secondary-50","rounded-lg","dark:bg-secondary-100","dark:border-gray-800","border-gray-300","border-secondary-50","border","flex","flex-col","shadow-lg"],[1,"flex","w-full","flex-cols","items-center","md:flex-row","justify-between"],[1,"mb-4","md:mb-0","md:w-1/4","p-8"],[1,"text-2xl","font-bold","mb-4","dark:text-white"],[1,"flex","flex-row","w-full","justify-end"],["type","button",1,"ml-2","mr-8","mb-4","text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-2.5","text-center","inline-flex","items-center","align-middle","me-2",3,"click"],[1,"pl-2","pr-2"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-[18px]","h-[18px]","text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],[1,"flex","w-full","flex-col","items-center","md:flex-row","justify-between"],[1,"p-8","w-full"],[1,"flex","flex-row","mb-1"],[1,"fa-base","text-primary-100","align-middle","mr-2",3,"icon"],[1,"text-base","font-bold","dark:text-white"],["id","dropdownDefault","data-dropdown-toggle","dropdown","type","button",1,"text-black","dark:text-white","w-full","justify-between","shadow","bg-white","dark:bg-secondary-200","hover:bg-gray-100","dark:hover:bg-secondary-300","focus:ring-4","focus:outline-none","focus:ring-primary-100","font-medium","rounded-lg","text-sm","p-2.5","text-center","inline-flex","items-center","shadow-lg"],["aria-hidden","true","fill","none","stroke","currentColor","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg",1,"w-4","h-4","ml-2"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M19 9l-7 7-7-7"],["id","dropdown",1,"z-20","hidden","w-fit","md:w-1/5","p-3","bg-white","rounded-lg","shadow","dark:bg-secondary-200"],[1,"mb-3","text-sm","font-medium","text-gray-900","dark:text-white"],["aria-labelledby","dropdownDefault",1,"space-y-2","text-sm"],[1,"flex","items-center"],["id","active","type","checkbox","value","","checked","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","active",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["id","launched","type","checkbox","value","","checked","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","launched",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["id","retired","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","retired",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["id","obsolete","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","obsolete",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"sr-only"],[1,"bg-secondary-50","dark:bg-secondary-100","border","dark:border-gray-800","mt-8","p-4","rounded-lg"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"hidden","md:table-cell","px-6","py-3"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"flex","justify-center","w-full","m-4"],[1,"px-6","py-4","text-wrap","break-all"],[1,"px-6","py-4"],[1,"bg-blue-100","dark:bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"hidden","md:table-cell","px-6","py-4"],["type","button",1,"text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-2.5","text-center","inline-flex","items-center","me-2",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-[18px]","h-[18px]","text-white"],["fill-rule","evenodd","d","M14 4.182A4.136 4.136 0 0 1 16.9 3c1.087 0 2.13.425 2.899 1.182A4.01 4.01 0 0 1 21 7.037c0 1.068-.43 2.092-1.194 2.849L18.5 11.214l-5.8-5.71 1.287-1.31.012-.012Zm-2.717 2.763L6.186 12.13l2.175 2.141 5.063-5.218-2.141-2.108Zm-6.25 6.886-1.98 5.849a.992.992 0 0 0 .245 1.026 1.03 1.03 0 0 0 1.043.242L10.282 19l-5.25-5.168Zm6.954 4.01 5.096-5.186-2.218-2.183-5.063 5.218 2.185 2.15Z","clip-rule","evenodd"],[1,"bg-blue-100","dark:bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"flex","pt-6","pb-2","justify-center","align-middle"],[1,"flex","cursor-pointer","shadow-lg","items-center","justify-center","px-3","h-8","text-sm","font-medium","text-gray-500","dark:text-white","bg-white","dark:bg-primary-100","dark:hover:bg-secondary-100","border","border-gray-300","dark:border-secondary-200","rounded-lg","hover:bg-gray-200",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-3.5","h-3.5","ms-2"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle","mt-2"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",0)(2,"div",1)(3,"div",2)(4,"h2",3),f(5),m(6,"translate"),n()(),o(7,"div",4)(8,"button",5),C("click",function(){return t.goToCreate()}),o(9,"p",6),f(10),m(11,"translate"),n(),w(),o(12,"svg",7),v(13,"path",8),n()()()(),O(),o(14,"div",9)(15,"div",10)(16,"div",11),v(17,"fa-icon",12),o(18,"h2",13),f(19),m(20,"translate"),n()(),o(21,"button",14),f(22),m(23,"translate"),w(),o(24,"svg",15),v(25,"path",16),n()(),O(),o(26,"div",17)(27,"h6",18),f(28),m(29,"translate"),n(),o(30,"ul",19)(31,"li",20)(32,"input",21),C("change",function(){return t.onStateFilterChange("Active")}),n(),o(33,"label",22),f(34),m(35,"translate"),n()(),o(36,"li",20)(37,"input",23),C("change",function(){return t.onStateFilterChange("Launched")}),n(),o(38,"label",24),f(39),m(40,"translate"),n()(),o(41,"li",20)(42,"input",25),C("change",function(){return t.onStateFilterChange("Retired")}),n(),o(43,"label",26),f(44),m(45,"translate"),n()(),o(46,"li",20)(47,"input",27),C("change",function(){return t.onStateFilterChange("Obsolete")}),n(),o(48,"label",28),f(49),m(50,"translate"),n()()()()()()(),R(51,K$3,6,0,"div",29)(52,oY3,23,14),n()),2&a&&(s(5),H(_(6,11,"OFFERINGS._serv_spec")),s(5),H(_(11,13,"OFFERINGS._add_new_serv")),s(7),k("icon",t.faSwatchbook),s(2),H(_(20,15,"OFFERINGS._filter_state")),s(3),V(" ",_(23,17,"OFFERINGS._filter_state")," "),s(6),V(" ",_(29,19,"OFFERINGS._status")," "),s(6),V(" ",_(35,21,"OFFERINGS._active")," "),s(5),V(" ",_(40,23,"OFFERINGS._launched")," "),s(5),V(" ",_(45,25,"OFFERINGS._retired")," "),s(5),V(" ",_(50,27,"OFFERINGS._obsolete")," "),s(2),S(51,t.loading?51:52))},dependencies:[B4,Q4,X1]})}return c})();class h4{static#e=this.BASE_URL=m1.BASE_URL;static#c=this.RESOURCE=m1.RESOURCE;static#a=this.API_RESOURCE_SPEC=m1.RESOURCE_SPEC;static#r=this.RES_SPEC_LIMIT=m1.RES_SPEC_LIMIT;constructor(r,e){this.http=r,this.localStorage=e}getResourceSpecByUser(r,e,a,t){let i=`${h4.BASE_URL}${h4.RESOURCE}${h4.API_RESOURCE_SPEC}?limit=${h4.RES_SPEC_LIMIT}&offset=${r}&relatedParty.id=${a}`;null!=t&&(i=i+"&sort="+t);let l="";if(e.length>0){for(let d=0;dr.id;function lY3(c,r){1&c&&(o(0,"div",29),w(),o(1,"svg",30),v(2,"path",31)(3,"path",32),n(),O(),o(4,"span",33),f(5,"Loading..."),n()())}function fY3(c,r){if(1&c&&(o(0,"span",44),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function dY3(c,r){if(1&c&&(o(0,"span",49),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function uY3(c,r){if(1&c&&(o(0,"span",50),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function hY3(c,r){if(1&c&&(o(0,"span",51),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function mY3(c,r){if(1&c){const e=j();o(0,"tr",40)(1,"td",42),f(2),n(),o(3,"td",43),R(4,fY3,2,1,"span",44)(5,dY3,2,1)(6,uY3,2,1)(7,hY3,2,1),n(),o(8,"td",45),f(9),m(10,"date"),n(),o(11,"td",43)(12,"button",46),C("click",function(){const t=y(e).$implicit;return b(h(2).goToUpdate(t))}),w(),o(13,"svg",47),v(14,"path",48),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1),s(5),V(" ",L2(10,3,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," ")}}function _Y3(c,r){1&c&&(o(0,"div",41)(1,"div",52),w(),o(2,"svg",53),v(3,"path",54),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_res")," "))}function pY3(c,r){if(1&c){const e=j();o(0,"div",55)(1,"button",56),C("click",function(){return y(e),b(h(3).next())}),f(2," Load more "),w(),o(3,"svg",57),v(4,"path",8),n()()()}}function gY3(c,r){1&c&&R(0,pY3,5,0,"div",55),2&c&&S(0,h(2).page_check?0:-1)}function vY3(c,r){1&c&&(o(0,"div",58),w(),o(1,"svg",30),v(2,"path",31)(3,"path",32),n(),O(),o(4,"span",33),f(5,"Loading..."),n()())}function HY3(c,r){if(1&c&&(o(0,"div",34)(1,"div",35)(2,"table",36)(3,"thead",37)(4,"tr")(5,"th",38),f(6),m(7,"translate"),n(),o(8,"th",38),f(9),m(10,"translate"),n(),o(11,"th",39),f(12),m(13,"translate"),n(),o(14,"th",38),f(15),m(16,"translate"),n()()(),o(17,"tbody"),c1(18,mY3,15,6,"tr",40,sY3,!1,_Y3,7,3,"div",41),n()()(),R(21,gY3,1,1)(22,vY3,6,0),n()),2&c){const e=h();s(6),V(" ",_(7,6,"OFFERINGS._name")," "),s(3),V(" ",_(10,8,"OFFERINGS._status")," "),s(3),V(" ",_(13,10,"OFFERINGS._last_update")," "),s(3),V(" ",_(16,12,"OFFERINGS._actions")," "),s(3),a1(e.resSpecs),s(3),S(21,e.loading_more?22:21)}}let CY3=(()=>{class c{constructor(e,a,t,i,l,d,u){this.router=e,this.api=a,this.resSpecService=t,this.cdr=i,this.localStorage=l,this.eventMessage=d,this.paginationService=u,this.faIdCard=$6,this.faSort=j6,this.faSwatchbook=_0,this.searchField=new u1,this.resSpecs=[],this.nextResSpecs=[],this.page=0,this.RES_SPEC_LIMIT=m1.RES_SPEC_LIMIT,this.loading=!1,this.loading_more=!1,this.page_check=!0,this.filter=void 0,this.status=["Active","Launched"],this.sort=void 0,this.eventMessage.messages$.subscribe(p=>{"ChangedSession"===p.type&&this.initResources()})}ngOnInit(){this.initResources()}initResources(){this.loading=!0,this.resSpecs=[];let e=this.localStorage.getObject("login_items");if(e.logged_as==e.id)this.partyId=e.partyId;else{let t=e.organizations.find(i=>i.id==e.logged_as);this.partyId=t.partyId}this.getResSpecs(!1);let a=document.querySelector("[type=search]");a?.addEventListener("input",t=>{console.log("Input updated"),""==this.searchField.value&&(this.filter=void 0,this.getResSpecs(!1))}),S1()}ngAfterViewInit(){S1()}goToCreate(){this.eventMessage.emitSellerCreateResourceSpec(!0)}goToUpdate(e){this.eventMessage.emitSellerUpdateResourceSpec(e)}getResSpecs(e){var a=this;return M(function*(){0==e&&(a.loading=!0),a.paginationService.getItemsPaginated(a.page,a.RES_SPEC_LIMIT,e,a.resSpecs,a.nextResSpecs,{filters:a.status,partyId:a.partyId,sort:a.sort},a.resSpecService.getResourceSpecByUser.bind(a.resSpecService)).then(i=>{a.page_check=i.page_check,a.resSpecs=i.items,a.nextResSpecs=i.nextItems,a.page=i.page,a.loading=!1,a.loading_more=!1})})()}next(){var e=this;return M(function*(){yield e.getResSpecs(!0)})()}filterInventoryByKeywords(){}onStateFilterChange(e){const a=this.status.findIndex(t=>t===e);-1!==a?(this.status.splice(a,1),console.log("elimina filtro"),console.log(this.status)):(console.log("a\xf1ade filtro"),console.log(this.status),this.status.push(e)),this.getResSpecs(!1)}onSortChange(e){this.sort="name"==e.target.value?"name":void 0,this.getResSpecs(!1)}static#e=this.\u0275fac=function(a){return new(a||c)(B(Q1),B(p1),B(h4),B(B1),B(A1),B(e2),B(L3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["seller-resource-spec"]],decls:53,vars:29,consts:[[1,"w-full","h-fit","mb-4","bg-secondary-50","rounded-lg","dark:bg-secondary-100","dark:border-gray-800","border-gray-300","border-secondary-50","border","flex","flex-col","shadow-lg"],[1,"flex","w-full","flex-cols","items-center","md:flex-row","justify-between"],[1,"mb-4","md:mb-0","md:w-1/4","p-8"],[1,"text-2xl","font-bold","mb-4","dark:text-white"],[1,"flex","flex-row","w-full","justify-end"],["type","button",1,"ml-2","mr-8","mb-4","text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-2.5","text-center","inline-flex","items-center","align-middle","me-2",3,"click"],[1,"pl-2","pr-2"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-[18px]","h-[18px]","text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],[1,"flex","w-full","flex-col","items-center","md:flex-row","justify-between"],[1,"p-8","w-full"],[1,"flex","flex-row","mb-1"],[1,"fa-base","text-primary-100","align-middle","mr-2",3,"icon"],[1,"text-base","font-bold","dark:text-white"],["id","dropdownDefault","data-dropdown-toggle","dropdown","type","button",1,"text-black","dark:text-white","w-full","justify-between","shadow","bg-white","dark:bg-secondary-200","hover:bg-gray-100","dark:hover:bg-secondary-300","focus:ring-4","focus:outline-none","focus:ring-primary-100","font-medium","rounded-lg","text-sm","p-2.5","text-center","inline-flex","items-center","shadow-lg"],["aria-hidden","true","fill","none","stroke","currentColor","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg",1,"w-4","h-4","ml-2"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M19 9l-7 7-7-7"],["id","dropdown",1,"z-20","hidden","w-fit","md:w-1/5","p-3","bg-white","rounded-lg","shadow","dark:bg-secondary-200"],[1,"mb-3","text-sm","font-medium","text-gray-900","dark:text-white"],["aria-labelledby","dropdownDefault",1,"space-y-2","text-sm"],[1,"flex","items-center"],["id","active","type","checkbox","value","","checked","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","active",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["id","launched","type","checkbox","value","","checked","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","launched",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["id","retired","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","retired",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["id","obsolete","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","obsolete",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"sr-only"],[1,"bg-secondary-50","dark:bg-secondary-100","border","dark:border-gray-800","mt-8","p-4","rounded-lg"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"hidden","md:table-cell","px-6","py-3"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"flex","justify-center","w-full","m-4"],[1,"px-6","py-4","text-wrap","break-all"],[1,"px-6","py-4"],[1,"bg-blue-100","dark:bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"hidden","md:table-cell","px-6","py-4"],["type","button",1,"text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-2.5","text-center","inline-flex","items-center","me-2",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-[18px]","h-[18px]","text-white"],["fill-rule","evenodd","d","M14 4.182A4.136 4.136 0 0 1 16.9 3c1.087 0 2.13.425 2.899 1.182A4.01 4.01 0 0 1 21 7.037c0 1.068-.43 2.092-1.194 2.849L18.5 11.214l-5.8-5.71 1.287-1.31.012-.012Zm-2.717 2.763L6.186 12.13l2.175 2.141 5.063-5.218-2.141-2.108Zm-6.25 6.886-1.98 5.849a.992.992 0 0 0 .245 1.026 1.03 1.03 0 0 0 1.043.242L10.282 19l-5.25-5.168Zm6.954 4.01 5.096-5.186-2.218-2.183-5.063 5.218 2.185 2.15Z","clip-rule","evenodd"],[1,"bg-blue-100","dark:bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"flex","pt-6","pb-2","justify-center","align-middle"],[1,"flex","cursor-pointer","shadow-lg","items-center","justify-center","px-3","h-8","text-sm","font-medium","text-gray-500","dark:text-white","bg-white","dark:bg-primary-100","dark:hover:bg-secondary-100","border","border-gray-300","dark:border-secondary-200","rounded-lg","hover:bg-gray-200",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-3.5","h-3.5","ms-2"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle","mt-2"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",0)(2,"div",1)(3,"div",2)(4,"h2",3),f(5),m(6,"translate"),n()(),o(7,"div",4)(8,"button",5),C("click",function(){return t.goToCreate()}),o(9,"p",6),f(10),m(11,"translate"),n(),w(),o(12,"svg",7),v(13,"path",8),n()()()(),O(),o(14,"div",9)(15,"div",10)(16,"div",11),v(17,"fa-icon",12),o(18,"h2",13),f(19),m(20,"translate"),n()(),o(21,"button",14),f(22),m(23,"translate"),w(),o(24,"svg",15),v(25,"path",16),n()(),O(),o(26,"div",17)(27,"h6",18),f(28),m(29,"translate"),n(),o(30,"ul",19)(31,"li",20)(32,"input",21),C("change",function(){return t.onStateFilterChange("Active")}),n(),o(33,"label",22),f(34),m(35,"translate"),n()(),o(36,"li",20)(37,"input",23),C("change",function(){return t.onStateFilterChange("Launched")}),n(),o(38,"label",24),f(39),m(40,"translate"),n()(),o(41,"li",20)(42,"input",25),C("change",function(){return t.onStateFilterChange("Retired")}),n(),o(43,"label",26),f(44),m(45,"translate"),n()(),o(46,"li",20)(47,"input",27),C("change",function(){return t.onStateFilterChange("Obsolete")}),n(),o(48,"label",28),f(49),m(50,"translate"),n()()()()()()(),R(51,lY3,6,0,"div",29)(52,HY3,23,14),n()),2&a&&(s(5),H(_(6,11,"OFFERINGS._res_spec")),s(5),H(_(11,13,"OFFERINGS._add_new_res")),s(7),k("icon",t.faSwatchbook),s(2),H(_(20,15,"OFFERINGS._filter_state")),s(3),V(" ",_(23,17,"OFFERINGS._filter_state")," "),s(6),V(" ",_(29,19,"OFFERINGS._status")," "),s(6),V(" ",_(35,21,"OFFERINGS._active")," "),s(5),V(" ",_(40,23,"OFFERINGS._launched")," "),s(5),V(" ",_(45,25,"OFFERINGS._retired")," "),s(5),V(" ",_(50,27,"OFFERINGS._obsolete")," "),s(2),S(51,t.loading?51:52))},dependencies:[B4,Q4,X1]})}return c})();const zY3=(c,r)=>r.id;function VY3(c,r){1&c&&(o(0,"div",29),w(),o(1,"svg",30),v(2,"path",31)(3,"path",32),n(),O(),o(4,"span",33),f(5,"Loading..."),n()())}function MY3(c,r){if(1&c&&(o(0,"span",44),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function LY3(c,r){if(1&c&&(o(0,"span",49),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function yY3(c,r){if(1&c&&(o(0,"span",50),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function bY3(c,r){if(1&c&&(o(0,"span",51),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function xY3(c,r){1&c&&(o(0,"span",44),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"OFFERINGS._simple")))}function wY3(c,r){1&c&&(o(0,"span",49),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"OFFERINGS._bundle")))}function FY3(c,r){if(1&c){const e=j();o(0,"tr",40)(1,"td",42),f(2),n(),o(3,"td",43),R(4,MY3,2,1,"span",44)(5,LY3,2,1)(6,yY3,2,1)(7,bY3,2,1),n(),o(8,"td",45),R(9,xY3,3,3,"span",44)(10,wY3,3,3),n(),o(11,"td",45),f(12),m(13,"date"),n(),o(14,"td",43)(15,"button",46),C("click",function(){const t=y(e).$implicit;return b(h(2).goToUpdate(t))}),w(),o(16,"svg",47),v(17,"path",48),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1),s(5),S(9,0==e.isBundle?9:10),s(3),V(" ",L2(13,4,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," ")}}function kY3(c,r){1&c&&(o(0,"div",41)(1,"div",52),w(),o(2,"svg",53),v(3,"path",54),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_offerings")," "))}function SY3(c,r){if(1&c){const e=j();o(0,"div",55)(1,"button",56),C("click",function(){return y(e),b(h(3).next())}),f(2),m(3,"translate"),w(),o(4,"svg",57),v(5,"path",8),n()()()}2&c&&(s(2),V(" ",_(3,1,"OFFERINGS._load_more")," "))}function NY3(c,r){1&c&&R(0,SY3,6,3,"div",55),2&c&&S(0,h(2).page_check?0:-1)}function DY3(c,r){1&c&&(o(0,"div",58),w(),o(1,"svg",30),v(2,"path",31)(3,"path",32),n(),O(),o(4,"span",33),f(5,"Loading..."),n()())}function TY3(c,r){if(1&c&&(o(0,"div",34)(1,"div",35)(2,"table",36)(3,"thead",37)(4,"tr")(5,"th",38),f(6),m(7,"translate"),n(),o(8,"th",38),f(9),m(10,"translate"),n(),o(11,"th",39),f(12),m(13,"translate"),n(),o(14,"th",39),f(15),m(16,"translate"),n(),o(17,"th",38),f(18),m(19,"translate"),n()()(),o(20,"tbody"),c1(21,FY3,18,7,"tr",40,zY3,!1,kY3,7,3,"div",41),n()()(),R(24,NY3,1,1)(25,DY3,6,0),n()),2&c){const e=h();s(6),V(" ",_(7,7,"OFFERINGS._name")," "),s(3),V(" ",_(10,9,"OFFERINGS._status")," "),s(3),V(" ",_(13,11,"OFFERINGS._type")," "),s(3),V(" ",_(16,13,"OFFERINGS._last_update")," "),s(3),V(" ",_(19,15,"OFFERINGS._actions")," "),s(3),a1(e.offers),s(3),S(24,e.loading_more?25:24)}}let EY3=(()=>{class c{constructor(e,a,t,i,l,d){this.router=e,this.api=a,this.cdr=t,this.localStorage=i,this.eventMessage=l,this.paginationService=d,this.faIdCard=$6,this.faSort=j6,this.faSwatchbook=_0,this.faSparkles=aH,this.searchField=new u1,this.offers=[],this.nextOffers=[],this.page=0,this.PROD_SPEC_LIMIT=m1.PROD_SPEC_LIMIT,this.loading=!1,this.loading_more=!1,this.page_check=!0,this.filter=void 0,this.status=["Active","Launched"],this.sort=void 0,this.isBundle=void 0,this.eventMessage.messages$.subscribe(u=>{"ChangedSession"===u.type&&this.initOffers()})}ngOnInit(){this.initOffers()}initOffers(){this.loading=!0;let e=this.localStorage.getObject("login_items");if(e.logged_as==e.id)this.partyId=e.partyId;else{let t=e.organizations.find(i=>i.id==e.logged_as);this.partyId=t.partyId}this.offers=[],this.nextOffers=[],this.getOffers(!1);let a=document.querySelector("[type=search]");a?.addEventListener("input",t=>{console.log("Input updated"),""==this.searchField.value&&(this.filter=void 0,this.getOffers(!1))}),S1()}ngAfterViewInit(){S1()}goToCreate(){this.eventMessage.emitSellerCreateOffer(!0)}goToUpdate(e){this.eventMessage.emitSellerUpdateOffer(e)}getOffers(e){var a=this;return M(function*(){0==e&&(a.loading=!0),a.paginationService.getItemsPaginated(a.page,a.PROD_SPEC_LIMIT,e,a.offers,a.nextOffers,{filters:a.status,partyId:a.partyId,sort:a.sort,isBundle:a.isBundle},a.api.getProductOfferByOwner.bind(a.api)).then(i=>{a.page_check=i.page_check,a.offers=i.items,a.nextOffers=i.nextItems,a.page=i.page,a.loading=!1,a.loading_more=!1})})()}next(){var e=this;return M(function*(){yield e.getOffers(!0)})()}onStateFilterChange(e){const a=this.status.findIndex(t=>t===e);-1!==a?(this.status.splice(a,1),console.log("elimina filtro"),console.log(this.status)):(console.log("a\xf1ade filtro"),console.log(this.status),this.status.push(e)),this.getOffers(!1)}onSortChange(e){this.sort="name"==e.target.value?"name":void 0,this.getOffers(!1)}onTypeChange(e){this.isBundle="simple"!=e.target.value&&("bundle"==e.target.value||void 0),this.getOffers(!1)}filterInventoryByKeywords(){}static#e=this.\u0275fac=function(a){return new(a||c)(B(Q1),B(p1),B(B1),B(A1),B(e2),B(L3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["seller-offer"]],decls:53,vars:29,consts:[[1,"w-full","h-fit","mb-4","bg-secondary-50","rounded-lg","dark:bg-secondary-100","dark:border-gray-800","border-gray-300","border-secondary-50","border","flex","flex-col","shadow-lg"],[1,"flex","w-full","flex-cols","items-center","justify-between"],[1,"mb-4","lg:mb-0","lg:w-1/4","p-8"],[1,"text-2xl","font-bold","mb-4","dark:text-white"],[1,"flex","flex-row","w-full","justify-end"],["type","button",1,"ml-2","mr-8","mb-4","text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-2.5","text-center","inline-flex","items-center","align-middle","me-2",3,"click"],[1,"pl-2","pr-2"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-[18px]","h-[18px]","text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],[1,"flex","w-full","flex-col","items-center","md:flex-row","justify-between"],[1,"p-8","w-full"],[1,"flex","flex-row","mb-1"],[1,"fa-base","text-primary-100","align-middle","mr-2",3,"icon"],[1,"text-base","font-bold","dark:text-white"],["id","dropdownDefault","data-dropdown-toggle","dropdown","type","button",1,"text-black","dark:text-white","w-full","justify-between","shadow","bg-white","dark:bg-secondary-200","hover:bg-gray-100","dark:hover:bg-secondary-300","focus:ring-4","focus:outline-none","focus:ring-primary-100","font-medium","rounded-lg","text-sm","p-2.5","text-center","inline-flex","items-center","shadow-lg"],["aria-hidden","true","fill","none","stroke","currentColor","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg",1,"w-4","h-4","ml-2"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M19 9l-7 7-7-7"],["id","dropdown",1,"z-20","hidden","w-fit","md:w-1/5","p-3","bg-white","rounded-lg","shadow","dark:bg-secondary-200"],[1,"mb-3","text-sm","font-medium","text-gray-900","dark:text-white"],["aria-labelledby","dropdownDefault",1,"space-y-2","text-sm"],[1,"flex","items-center"],["id","active","type","checkbox","value","","checked","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","active",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","launched","type","checkbox","value","","checked","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","launched",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","retired","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","retired",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","obsolete","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","obsolete",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"sr-only"],[1,"bg-secondary-50","dark:bg-secondary-100","border","dark:border-gray-800","mt-8","p-4","rounded-lg"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"hidden","md:table-cell","px-6","py-3"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"flex","justify-center","w-full","m-4"],[1,"px-6","py-4","text-wrap","break-all"],[1,"px-6","py-4"],[1,"bg-blue-100","dark:bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"px-6","py-4","hidden","md:table-cell"],["type","button",1,"text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-2.5","text-center","inline-flex","items-center","me-2",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-[18px]","h-[18px]","text-white"],["fill-rule","evenodd","d","M14 4.182A4.136 4.136 0 0 1 16.9 3c1.087 0 2.13.425 2.899 1.182A4.01 4.01 0 0 1 21 7.037c0 1.068-.43 2.092-1.194 2.849L18.5 11.214l-5.8-5.71 1.287-1.31.012-.012Zm-2.717 2.763L6.186 12.13l2.175 2.141 5.063-5.218-2.141-2.108Zm-6.25 6.886-1.98 5.849a.992.992 0 0 0 .245 1.026 1.03 1.03 0 0 0 1.043.242L10.282 19l-5.25-5.168Zm6.954 4.01 5.096-5.186-2.218-2.183-5.063 5.218 2.185 2.15Z","clip-rule","evenodd"],[1,"bg-blue-100","dark:bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"flex","pt-6","pb-2","justify-center","align-middle"],[1,"flex","cursor-pointer","shadow-lg","items-center","justify-center","px-3","h-8","text-sm","font-medium","text-gray-500","dark:text-white","bg-white","dark:bg-primary-100","dark:hover:bg-secondary-100","border","border-gray-300","dark:border-secondary-200","rounded-lg","hover:bg-gray-200",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-3.5","h-3.5","ms-2"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle","mt-2"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",0)(2,"div",1)(3,"div",2)(4,"h2",3),f(5),m(6,"translate"),n()(),o(7,"div",4)(8,"button",5),C("click",function(){return t.goToCreate()}),o(9,"p",6),f(10),m(11,"translate"),n(),w(),o(12,"svg",7),v(13,"path",8),n()()()(),O(),o(14,"div",9)(15,"div",10)(16,"div",11),v(17,"fa-icon",12),o(18,"h2",13),f(19),m(20,"translate"),n()(),o(21,"button",14),f(22),m(23,"translate"),w(),o(24,"svg",15),v(25,"path",16),n()(),O(),o(26,"div",17)(27,"h6",18),f(28),m(29,"translate"),n(),o(30,"ul",19)(31,"li",20)(32,"input",21),C("change",function(){return t.onStateFilterChange("Active")}),n(),o(33,"label",22),f(34),m(35,"translate"),n()(),o(36,"li",20)(37,"input",23),C("change",function(){return t.onStateFilterChange("Launched")}),n(),o(38,"label",24),f(39),m(40,"translate"),n()(),o(41,"li",20)(42,"input",25),C("change",function(){return t.onStateFilterChange("Retired")}),n(),o(43,"label",26),f(44),m(45,"translate"),n()(),o(46,"li",20)(47,"input",27),C("change",function(){return t.onStateFilterChange("Obsolete")}),n(),o(48,"label",28),f(49),m(50,"translate"),n()()()()()()(),R(51,VY3,6,0,"div",29)(52,TY3,26,17),n()),2&a&&(s(5),H(_(6,11,"OFFERINGS._prod_offer")),s(5),H(_(11,13,"OFFERINGS._add_new_offer")),s(7),k("icon",t.faSwatchbook),s(2),H(_(20,15,"OFFERINGS._filter_state")),s(3),V(" ",_(23,17,"OFFERINGS._filter_state")," "),s(6),V(" ",_(29,19,"OFFERINGS._status")," "),s(6),V(" ",_(35,21,"OFFERINGS._active")," "),s(5),V(" ",_(40,23,"OFFERINGS._launched")," "),s(5),V(" ",_(45,25,"OFFERINGS._retired")," "),s(5),V(" ",_(50,27,"OFFERINGS._obsolete")," "),s(2),S(51,t.loading?51:52))},dependencies:[B4,Q4,X1]})}return c})();const AY3=["stringValue"],PY3=["numberValue"],RY3=["numberUnit"],BY3=["fromValue"],OY3=["toValue"],IY3=["rangeUnit"],UY3=["attachName"],jY3=["imgURL"],iz=(c,r)=>r.id,$Y3=(c,r)=>r.name,YY3=()=>({position:"relative",left:"200px",top:"-500px"});function GY3(c,r){1&c&&v(0,"markdown",89),2&c&&k("data",h(2).description)}function qY3(c,r){1&c&&v(0,"textarea",95)}function WY3(c,r){if(1&c){const e=j();o(0,"emoji-mart",96),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(2).addEmoji(t))}),n()}2&c&&(Y2(E4(3,YY3)),k("darkMode",!1))}function ZY3(c,r){if(1&c){const e=j();o(0,"h2",21),f(1),m(2,"translate"),n(),o(3,"form",49)(4,"div")(5,"label",50),f(6),m(7,"translate"),n(),v(8,"input",51),o(9,"label",52),f(10),m(11,"translate"),n(),v(12,"input",53),n(),o(13,"div")(14,"label",54),f(15),m(16,"translate"),n(),v(17,"input",55),o(18,"label",56),f(19),m(20,"translate"),n(),v(21,"input",57),n(),o(22,"label",58),f(23),m(24,"translate"),n(),o(25,"div",59)(26,"div",60)(27,"div",61)(28,"div",62)(29,"button",63),C("click",function(){return y(e),b(h().addBold())}),w(),o(30,"svg",64),v(31,"path",65),n(),O(),o(32,"span",66),f(33,"Bold"),n()(),o(34,"button",63),C("click",function(){return y(e),b(h().addItalic())}),w(),o(35,"svg",64),v(36,"path",67),n(),O(),o(37,"span",66),f(38,"Italic"),n()(),o(39,"button",63),C("click",function(){return y(e),b(h().addList())}),w(),o(40,"svg",68),v(41,"path",69),n(),O(),o(42,"span",66),f(43,"Add list"),n()(),o(44,"button",70),C("click",function(){return y(e),b(h().addOrderedList())}),w(),o(45,"svg",68),v(46,"path",71),n(),O(),o(47,"span",66),f(48,"Add ordered list"),n()(),o(49,"button",72),C("click",function(){return y(e),b(h().addBlockquote())}),w(),o(50,"svg",73),v(51,"path",74),n(),O(),o(52,"span",66),f(53,"Add blockquote"),n()(),o(54,"button",63),C("click",function(){return y(e),b(h().addTable())}),w(),o(55,"svg",75),v(56,"path",76),n(),O(),o(57,"span",66),f(58,"Add table"),n()(),o(59,"button",72),C("click",function(){return y(e),b(h().addCode())}),w(),o(60,"svg",75),v(61,"path",77),n(),O(),o(62,"span",66),f(63,"Add code"),n()(),o(64,"button",72),C("click",function(){return y(e),b(h().addCodeBlock())}),w(),o(65,"svg",75),v(66,"path",78),n(),O(),o(67,"span",66),f(68,"Add code block"),n()(),o(69,"button",72),C("click",function(){return y(e),b(h().addLink())}),w(),o(70,"svg",75),v(71,"path",79),n(),O(),o(72,"span",66),f(73,"Add link"),n()(),o(74,"button",70),C("click",function(t){y(e);const i=h();return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(75,"svg",80),v(76,"path",81),n(),O(),o(77,"span",66),f(78,"Add emoji"),n()()()(),o(79,"button",82),C("click",function(){y(e);const t=h();return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(80,"svg",68),v(81,"path",83)(82,"path",84),n(),O(),o(83,"span",66),f(84),m(85,"translate"),n()(),o(86,"div",85),f(87),m(88,"translate"),v(89,"div",86),n()(),o(90,"div",87)(91,"label",88),f(92,"Publish post"),n(),R(93,GY3,1,1,"markdown",89)(94,qY3,1,0)(95,WY3,1,4,"emoji-mart",90),n()()(),o(96,"div",91)(97,"button",92),C("click",function(){y(e);const t=h();return t.toggleBundle(),b(t.generalDone=!0)}),f(98),m(99,"translate"),w(),o(100,"svg",93),v(101,"path",94),n()()()}if(2&c){let e,a,t;const i=h();s(),H(_(2,37,"CREATE_PROD_SPEC._general")),s(2),k("formGroup",i.generalForm),s(3),H(_(7,39,"CREATE_PROD_SPEC._product_name")),s(2),k("ngClass",1==(null==(e=i.generalForm.get("name"))?null:e.invalid)&&""!=i.generalForm.value.name?"border-red-600":"border-gray-300"),s(2),H(_(11,41,"CREATE_PROD_SPEC._product_version")),s(2),k("ngClass",1==(null==(a=i.generalForm.get("version"))?null:a.invalid)?"border-red-600":"border-gray-300"),s(3),H(_(16,43,"CREATE_PROD_SPEC._product_brand")),s(2),k("ngClass",1==(null==(t=i.generalForm.get("brand"))?null:t.invalid)&&""!=i.generalForm.value.brand?"border-red-600":"border-gray-300"),s(2),H(_(20,45,"CREATE_PROD_SPEC._id_number")),s(4),H(_(24,47,"CREATE_PROD_SPEC._product_description")),s(6),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(85,49,"CREATE_CATALOG._preview")),s(3),V(" ",_(88,51,"CREATE_CATALOG._show_preview")," "),s(6),S(93,i.showPreview?93:94),s(2),S(95,i.showEmoji?95:-1),s(2),k("disabled",!i.generalForm.valid)("ngClass",i.generalForm.valid?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(99,53,"CREATE_PROD_SPEC._next")," ")}}function KY3(c,r){1&c&&(o(0,"div",103),w(),o(1,"svg",104),v(2,"path",105)(3,"path",106),n(),O(),o(4,"span",66),f(5,"Loading..."),n()())}function QY3(c,r){1&c&&(o(0,"div",107)(1,"div",108),w(),o(2,"svg",109),v(3,"path",110),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_prod")," "))}function JY3(c,r){if(1&c&&(o(0,"span",120),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function XY3(c,r){if(1&c&&(o(0,"span",124),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function eG3(c,r){if(1&c&&(o(0,"span",125),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function cG3(c,r){if(1&c&&(o(0,"span",126),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function aG3(c,r){1&c&&(o(0,"span",120),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"CREATE_PROD_SPEC._simple")))}function rG3(c,r){1&c&&(o(0,"span",124),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"CREATE_PROD_SPEC._bundle")))}function tG3(c,r){if(1&c){const e=j();o(0,"tr",117)(1,"td",118),f(2),n(),o(3,"td",119),R(4,JY3,2,1,"span",120)(5,XY3,2,1)(6,eG3,2,1)(7,cG3,2,1),n(),o(8,"td",119),R(9,aG3,3,3,"span",120)(10,rG3,3,3),n(),o(11,"td",121),f(12),m(13,"date"),n(),o(14,"td",122)(15,"input",123),C("click",function(){const t=y(e).$implicit;return b(h(5).addProdToBundle(t))}),n()()()}if(2&c){const e=r.$implicit,a=h(5);s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1),s(5),S(9,0==e.isBundle?9:10),s(3),V(" ",L2(13,5,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," "),s(3),k("checked",a.isProdInBundle(e))}}function iG3(c,r){if(1&c&&(o(0,"div",111)(1,"table",112)(2,"thead",113)(3,"tr")(4,"th",114),f(5),m(6,"translate"),n(),o(7,"th",115),f(8),m(9,"translate"),n(),o(10,"th",115),f(11),m(12,"translate"),n(),o(13,"th",116),f(14),m(15,"translate"),n(),o(16,"th",114),f(17),m(18,"translate"),n()()(),o(19,"tbody"),c1(20,tG3,16,8,"tr",117,iz),n()()()),2&c){const e=h(4);s(5),V(" ",_(6,5,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(9,7,"CREATE_PROD_SPEC._status")," "),s(3),V(" ",_(12,9,"CREATE_PROD_SPEC._type")," "),s(3),V(" ",_(15,11,"CREATE_PROD_SPEC._last_update")," "),s(3),V(" ",_(18,13,"CREATE_PROD_SPEC._select")," "),s(3),a1(e.prodSpecs)}}function oG3(c,r){1&c&&R(0,QY3,7,3,"div",107)(1,iG3,22,15),2&c&&S(0,0==h(3).prodSpecs.length?0:1)}function nG3(c,r){if(1&c){const e=j();o(0,"div",127)(1,"button",128),C("click",function(){return y(e),b(h(4).nextBundle())}),f(2),m(3,"translate"),w(),o(4,"svg",129),v(5,"path",130),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_PROD_SPEC._load_more")," "))}function sG3(c,r){1&c&&R(0,nG3,6,3,"div",127),2&c&&S(0,h(3).bundlePageCheck?0:-1)}function lG3(c,r){1&c&&(o(0,"div",131),w(),o(1,"svg",104),v(2,"path",105)(3,"path",106),n(),O(),o(4,"span",66),f(5,"Loading..."),n()())}function fG3(c,r){if(1&c&&R(0,KY3,6,0,"div",103)(1,oG3,2,1)(2,sG3,1,1)(3,lG3,6,0),2&c){const e=h(2);S(0,e.loadingBundle?0:1),s(2),S(2,e.loadingBundle_more?3:2)}}function dG3(c,r){if(1&c){const e=j();o(0,"h2",21),f(1),m(2,"translate"),n(),o(3,"div",97)(4,"label",54),f(5),m(6,"translate"),n(),o(7,"label",98)(8,"input",99),C("change",function(){return y(e),b(h().toggleBundleCheck())}),n(),v(9,"div",100),n()(),R(10,fG3,4,2),o(11,"div",101)(12,"button",102),C("click",function(){y(e);const t=h();return t.toggleCompliance(),b(t.bundleDone=!0)}),f(13),m(14,"translate"),w(),o(15,"svg",93),v(16,"path",94),n()()()}if(2&c){const e=h();s(),H(_(2,7,"CREATE_PROD_SPEC._bundle")),s(4),H(_(6,9,"CREATE_PROD_SPEC._is_bundled")),s(3),k("checked",e.bundleChecked),s(2),S(10,e.bundleChecked?10:-1),s(2),k("disabled",e.prodSpecsBundle.length<2&&e.bundleChecked)("ngClass",e.prodSpecsBundle.length<2&&e.bundleChecked?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(14,11,"CREATE_PROD_SPEC._next")," ")}}function uG3(c,r){if(1&c){const e=j();o(0,"li")(1,"div",139)(2,"label",140),f(3),n(),o(4,"button",141),C("click",function(){const t=y(e).$implicit;return b(h(4).addISO(t))}),w(),o(5,"svg",142),v(6,"path",130),n()()()()}if(2&c){const e=r.$implicit;s(2),k("ngClass",1==e.domesupported?"text-primary-100 font-bold":"text-gray-900 dark:text-white font-medium"),s(),V(" ",e.name," ")}}function hG3(c,r){if(1&c&&(o(0,"div",137)(1,"ul",138),c1(2,uG3,7,2,"li",null,z1),n()()),2&c){const e=h(3);s(2),a1(e.availableISOS)}}function mG3(c,r){if(1&c){const e=j();o(0,"button",134),C("click",function(){y(e);const t=h(2);return b(t.buttonISOClicked=!t.buttonISOClicked)}),f(1),m(2,"translate"),w(),o(3,"svg",135),v(4,"path",136),n()(),R(5,hG3,4,0,"div",137)}if(2&c){const e=h(2);s(),V(" ",_(2,2,"CREATE_PROD_SPEC._add_comp")," "),s(4),S(5,e.buttonISOClicked?5:-1)}}function _G3(c,r){if(1&c){const e=j();o(0,"tr",117)(1,"td",118),f(2),n(),o(3,"td",118),f(4),n(),o(5,"td",143)(6,"button",144),C("click",function(t){const i=y(e).$implicit;return h(2).toggleUploadFile(i),b(t.stopPropagation())}),w(),o(7,"svg",145),v(8,"path",146),n()(),O(),o(9,"button",147),C("click",function(){const t=y(e).$implicit;return b(h(2).removeISO(t))}),w(),o(10,"svg",145),v(11,"path",148),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.url," ")}}function pG3(c,r){1&c&&(o(0,"div",133)(1,"div",108),w(),o(2,"svg",109),v(3,"path",110),n(),O(),o(4,"span",66),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"CREATE_PROD_SPEC._no_comp_profile")," "))}function gG3(c,r){if(1&c){const e=j();o(0,"h2",21),f(1),m(2,"translate"),n(),R(3,mG3,6,4),o(4,"div",132)(5,"table",112)(6,"thead",113)(7,"tr")(8,"th",114),f(9),m(10,"translate"),n(),o(11,"th",114),f(12),m(13,"translate"),n(),o(14,"th",114),f(15),m(16,"translate"),n()()(),o(17,"tbody"),c1(18,_G3,12,2,"tr",117,$Y3,!1,pG3,9,3,"div",133),n()()(),o(21,"div",101)(22,"button",102),C("click",function(){y(e);const t=h();return t.toggleChars(),b(t.complianceDone=!0)}),f(23),m(24,"translate"),w(),o(25,"svg",93),v(26,"path",94),n()()()}if(2&c){const e=h();s(),H(_(2,9,"CREATE_PROD_SPEC._comp_profile")),s(2),S(3,e.availableISOS.length>0?3:-1),s(6),V(" ",_(10,11,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(13,13,"CREATE_PROD_SPEC._value")," "),s(3),V(" ",_(16,15,"CREATE_PROD_SPEC._actions")," "),s(3),a1(e.selectedISOS),s(4),k("disabled",e.checkValidISOS())("ngClass",e.checkValidISOS()?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(24,17,"CREATE_PROD_SPEC._next")," ")}}function vG3(c,r){1&c&&(o(0,"div",107)(1,"div",108),w(),o(2,"svg",109),v(3,"path",110),n(),O(),o(4,"span",66),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"CREATE_PROD_SPEC._no_chars")," "))}function HG3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function CG3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function zG3(c,r){if(1&c&&R(0,HG3,4,2)(1,CG3,3,2),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function VG3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function MG3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function LG3(c,r){if(1&c&&R(0,VG3,4,3)(1,MG3,3,3),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function yG3(c,r){1&c&&R(0,zG3,2,1)(1,LG3,2,1),2&c&&S(0,r.$implicit.value?0:1)}function bG3(c,r){if(1&c){const e=j();o(0,"tr",117)(1,"td",152),f(2),n(),o(3,"td",153),f(4),n(),o(5,"td",118),c1(6,yG3,2,1,null,null,z1),n(),o(8,"td",122)(9,"button",154),C("click",function(){const t=y(e).$implicit;return b(h(3).deleteChar(t))}),w(),o(10,"svg",155),v(11,"path",148),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),a1(e.productSpecCharacteristicValue)}}function xG3(c,r){if(1&c&&(o(0,"div",111)(1,"table",112)(2,"thead",113)(3,"tr")(4,"th",114),f(5),m(6,"translate"),n(),o(7,"th",116),f(8),m(9,"translate"),n(),o(10,"th",114),f(11),m(12,"translate"),n(),o(13,"th",114),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,bG3,12,2,"tr",117,z1),n()()()),2&c){const e=h(2);s(5),V(" ",_(6,4,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(9,6,"CREATE_PROD_SPEC._product_description")," "),s(3),V(" ",_(12,8,"CREATE_PROD_SPEC._values")," "),s(3),V(" ",_(15,10,"CREATE_PROD_SPEC._actions")," "),s(3),a1(e.prodChars)}}function wG3(c,r){if(1&c){const e=j();o(0,"div",149)(1,"button",156),C("click",function(){y(e);const t=h(2);return b(t.showCreateChar=!t.showCreateChar)}),f(2),m(3,"translate"),w(),o(4,"svg",157),v(5,"path",130),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_PROD_SPEC._new_char")," "))}function FG3(c,r){if(1&c){const e=j();o(0,"div",175)(1,"div",176)(2,"input",177),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).selectDefaultChar(i,l))}),n(),o(3,"label",178),f(4),o(5,"i"),f(6),n()()(),o(7,"button",179),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).removeCharValue(i,l))}),w(),o(8,"svg",155),v(9,"path",148),n()()()}if(2&c){const e=r.$implicit;s(2),k("checked",null==e?null:e.isDefault),s(2),j1("",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function kG3(c,r){1&c&&c1(0,FG3,10,4,"div",175,z1),2&c&&a1(h(4).creatingChars)}function SG3(c,r){if(1&c){const e=j();o(0,"div",175)(1,"div",176)(2,"input",180),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).selectDefaultChar(i,l))}),n(),o(3,"label",181),f(4),o(5,"i"),f(6),n()()(),o(7,"button",179),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).removeCharValue(i,l))}),w(),o(8,"svg",155),v(9,"path",148),n()()()}if(2&c){const e=r.$implicit;s(2),k("checked",null==e?null:e.isDefault),s(2),V("",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function NG3(c,r){1&c&&c1(0,SG3,10,3,"div",175,z1),2&c&&a1(h(4).creatingChars)}function DG3(c,r){if(1&c&&(o(0,"label",169),f(1,"Values"),n(),o(2,"div",174),R(3,kG3,2,0)(4,NG3,2,0),n()),2&c){const e=h(3);s(3),S(3,e.rangeCharSelected?3:4)}}function TG3(c,r){if(1&c){const e=j();o(0,"div",170),v(1,"input",182,0),o(3,"button",183),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(4,"svg",184),v(5,"path",130),n()()()}}function EG3(c,r){if(1&c){const e=j();o(0,"div",185)(1,"div",186)(2,"span",187),f(3),m(4,"translate"),n(),v(5,"input",188,1),n(),o(7,"div",186)(8,"span",187),f(9),m(10,"translate"),n(),v(11,"input",189,2),n(),o(13,"button",183),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(14,"svg",184),v(15,"path",130),n()()()}2&c&&(s(3),V(" ",_(4,2,"CREATE_PROD_SPEC._value")," "),s(6),V(" ",_(10,4,"CREATE_PROD_SPEC._unit")," "))}function AG3(c,r){if(1&c){const e=j();o(0,"div",185)(1,"div",186)(2,"span",187),f(3),m(4,"translate"),n(),v(5,"input",188,3),n(),o(7,"div",186)(8,"span",187),f(9),m(10,"translate"),n(),v(11,"input",188,4),n(),o(13,"div",186)(14,"span",187),f(15),m(16,"translate"),n(),v(17,"input",189,5),n(),o(19,"button",183),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(20,"svg",184),v(21,"path",130),n()()()}2&c&&(s(3),V(" ",_(4,3,"CREATE_PROD_SPEC._from")," "),s(6),V(" ",_(10,5,"CREATE_PROD_SPEC._to")," "),s(6),V(" ",_(16,7,"CREATE_PROD_SPEC._unit")," "))}function PG3(c,r){if(1&c){const e=j();o(0,"form",158)(1,"div")(2,"label",50),f(3),m(4,"translate"),n(),v(5,"input",159),n(),o(6,"div")(7,"label",160),f(8),m(9,"translate"),n(),o(10,"select",161),C("change",function(t){return y(e),b(h(2).onTypeChange(t))}),o(11,"option",162),f(12,"String"),n(),o(13,"option",163),f(14,"Number"),n(),o(15,"option",164),f(16,"Number range"),n()()(),o(17,"div",165)(18,"label",166),f(19),m(20,"translate"),n(),v(21,"textarea",167),n()(),o(22,"div",168),R(23,DG3,5,1),o(24,"label",169),f(25),m(26,"translate"),n(),R(27,TG3,6,0,"div",170)(28,EG3,16,6)(29,AG3,22,9),o(30,"div",171)(31,"button",172),C("click",function(){return y(e),b(h(2).saveChar())}),f(32),m(33,"translate"),w(),o(34,"svg",157),v(35,"path",173),n()()()()}if(2&c){const e=h(2);k("formGroup",e.charsForm),s(3),H(_(4,10,"CREATE_PROD_SPEC._product_name")),s(5),H(_(9,12,"CREATE_PROD_SPEC._type")),s(11),H(_(20,14,"CREATE_PROD_SPEC._product_description")),s(4),S(23,e.creatingChars.length>0?23:-1),s(2),H(_(26,16,"CREATE_PROD_SPEC._add_values")),s(2),S(27,e.stringCharSelected?27:e.numberCharSelected?28:e.rangeCharSelected?29:-1),s(4),k("disabled",!e.charsForm.valid||0==e.creatingChars.length)("ngClass",e.charsForm.valid&&0!=e.creatingChars.length?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(33,18,"CREATE_PROD_SPEC._save_char")," ")}}function RG3(c,r){if(1&c){const e=j();o(0,"h2",21),f(1),m(2,"translate"),n(),R(3,vG3,9,3,"div",107)(4,xG3,19,12)(5,wG3,6,3,"div",149)(6,PG3,36,20),o(7,"div",150)(8,"button",151),C("click",function(){y(e);const t=h();return t.toggleResource(),b(t.charsDone=!0)}),f(9),m(10,"translate"),w(),o(11,"svg",93),v(12,"path",94),n()()()}if(2&c){const e=h();s(),H(_(2,4,"CREATE_PROD_SPEC._chars")),s(2),S(3,0===e.prodChars.length?3:4),s(2),S(5,0==e.showCreateChar?5:6),s(4),V(" ",_(10,6,"CREATE_PROD_SPEC._next")," ")}}function BG3(c,r){1&c&&(o(0,"div",103),w(),o(1,"svg",104),v(2,"path",105)(3,"path",106),n(),O(),o(4,"span",66),f(5,"Loading..."),n()())}function OG3(c,r){1&c&&(o(0,"div",107)(1,"div",108),w(),o(2,"svg",109),v(3,"path",110),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_res")," "))}function IG3(c,r){if(1&c&&(o(0,"span",120),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function UG3(c,r){if(1&c&&(o(0,"span",124),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function jG3(c,r){if(1&c&&(o(0,"span",125),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function $G3(c,r){if(1&c&&(o(0,"span",126),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function YG3(c,r){if(1&c){const e=j();o(0,"tr",117)(1,"td",118),f(2),n(),o(3,"td",119),R(4,IG3,2,1,"span",120)(5,UG3,2,1)(6,jG3,2,1)(7,$G3,2,1),n(),o(8,"td",121),f(9),m(10,"date"),n(),o(11,"td",122)(12,"input",123),C("click",function(){const t=y(e).$implicit;return b(h(4).addResToSelected(t))}),n()()()}if(2&c){const e=r.$implicit,a=h(4);s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1),s(5),V(" ",L2(10,4,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," "),s(3),k("checked",a.isResSelected(e))}}function GG3(c,r){if(1&c&&(o(0,"div",111)(1,"table",112)(2,"thead",113)(3,"tr")(4,"th",114),f(5),m(6,"translate"),n(),o(7,"th",115),f(8),m(9,"translate"),n(),o(10,"th",116),f(11),m(12,"translate"),n(),o(13,"th",114),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,YG3,13,7,"tr",117,iz),n()()()),2&c){const e=h(3);s(5),V(" ",_(6,4,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(9,6,"CREATE_PROD_SPEC._status")," "),s(3),V(" ",_(12,8,"CREATE_PROD_SPEC._last_update")," "),s(3),V(" ",_(15,10,"CREATE_PROD_SPEC._select")," "),s(3),a1(e.resourceSpecs)}}function qG3(c,r){1&c&&R(0,OG3,7,3,"div",107)(1,GG3,19,12),2&c&&S(0,0==h(2).resourceSpecs.length?0:1)}function WG3(c,r){if(1&c){const e=j();o(0,"div",127)(1,"button",128),C("click",function(){return y(e),b(h(3).nextRes())}),f(2),m(3,"translate"),w(),o(4,"svg",129),v(5,"path",130),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_PROD_SPEC._load_more")," "))}function ZG3(c,r){1&c&&R(0,WG3,6,3,"div",127),2&c&&S(0,h(2).resourceSpecPageCheck?0:-1)}function KG3(c,r){1&c&&(o(0,"div",131),w(),o(1,"svg",104),v(2,"path",105)(3,"path",106),n(),O(),o(4,"span",66),f(5,"Loading..."),n()())}function QG3(c,r){if(1&c){const e=j();o(0,"h2",21),f(1),m(2,"translate"),n(),R(3,BG3,6,0,"div",103)(4,qG3,2,1)(5,ZG3,1,1)(6,KG3,6,0),o(7,"div",101)(8,"button",151),C("click",function(){y(e);const t=h();return t.toggleService(),b(t.resourceDone=!0)}),f(9),m(10,"translate"),w(),o(11,"svg",93),v(12,"path",94),n()()()}if(2&c){const e=h();s(),H(_(2,4,"CREATE_PROD_SPEC._resource_specs")),s(2),S(3,e.loadingResourceSpec?3:4),s(2),S(5,e.loadingResourceSpec_more?6:5),s(4),V(" ",_(10,6,"CREATE_PROD_SPEC._next")," ")}}function JG3(c,r){1&c&&(o(0,"div",103),w(),o(1,"svg",104),v(2,"path",105)(3,"path",106),n(),O(),o(4,"span",66),f(5,"Loading..."),n()())}function XG3(c,r){1&c&&(o(0,"div",107)(1,"div",108),w(),o(2,"svg",109),v(3,"path",110),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_serv")," "))}function eq3(c,r){if(1&c&&(o(0,"span",120),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function cq3(c,r){if(1&c&&(o(0,"span",124),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function aq3(c,r){if(1&c&&(o(0,"span",125),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function rq3(c,r){if(1&c&&(o(0,"span",126),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function tq3(c,r){if(1&c){const e=j();o(0,"tr",117)(1,"td",118),f(2),n(),o(3,"td",119),R(4,eq3,2,1,"span",120)(5,cq3,2,1)(6,aq3,2,1)(7,rq3,2,1),n(),o(8,"td",121),f(9),m(10,"date"),n(),o(11,"td",122)(12,"input",123),C("click",function(){const t=y(e).$implicit;return b(h(4).addServToSelected(t))}),n()()()}if(2&c){const e=r.$implicit,a=h(4);s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1),s(5),V(" ",L2(10,4,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," "),s(3),k("checked",a.isServSelected(e))}}function iq3(c,r){if(1&c&&(o(0,"div",111)(1,"table",112)(2,"thead",113)(3,"tr")(4,"th",114),f(5),m(6,"translate"),n(),o(7,"th",115),f(8),m(9,"translate"),n(),o(10,"th",116),f(11),m(12,"translate"),n(),o(13,"th",114),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,tq3,13,7,"tr",117,iz),n()()()),2&c){const e=h(3);s(5),V(" ",_(6,4,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(9,6,"CREATE_PROD_SPEC._status")," "),s(3),V(" ",_(12,8,"CREATE_PROD_SPEC._last_update")," "),s(3),V(" ",_(15,10,"CREATE_PROD_SPEC._select")," "),s(3),a1(e.serviceSpecs)}}function oq3(c,r){1&c&&R(0,XG3,7,3,"div",107)(1,iq3,19,12),2&c&&S(0,0==h(2).serviceSpecs.length?0:1)}function nq3(c,r){if(1&c){const e=j();o(0,"div",127)(1,"button",128),C("click",function(){return y(e),b(h(3).nextServ())}),f(2),m(3,"translate"),w(),o(4,"svg",129),v(5,"path",130),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_PROD_SPEC._load_more")," "))}function sq3(c,r){1&c&&R(0,nq3,6,3,"div",127),2&c&&S(0,h(2).serviceSpecPageCheck?0:-1)}function lq3(c,r){1&c&&(o(0,"div",131),w(),o(1,"svg",104),v(2,"path",105)(3,"path",106),n(),O(),o(4,"span",66),f(5,"Loading..."),n()())}function fq3(c,r){if(1&c){const e=j();o(0,"h2",21),f(1),m(2,"translate"),n(),R(3,JG3,6,0,"div",103)(4,oq3,2,1)(5,sq3,1,1)(6,lq3,6,0),o(7,"div",150)(8,"button",151),C("click",function(){y(e);const t=h();return t.toggleAttach(),b(t.serviceDone=!0)}),f(9),m(10,"translate"),w(),o(11,"svg",93),v(12,"path",94),n()()()}if(2&c){const e=h();s(),H(_(2,4,"CREATE_PROD_SPEC._service_specs")),s(2),S(3,e.loadingServiceSpec?3:4),s(2),S(5,e.loadingServiceSpec_more?6:5),s(4),V(" ",_(10,6,"CREATE_PROD_SPEC._next")," ")}}function dq3(c,r){if(1&c){const e=j();o(0,"div",201),v(1,"img",203),o(2,"button",204),C("click",function(){return y(e),b(h(2).removeImg())}),w(),o(3,"svg",155),v(4,"path",148),n()()()}if(2&c){const e=h(2);s(),D1("src",e.imgPreview,h2)}}function uq3(c,r){if(1&c){const e=j();o(0,"div",213),w(),o(1,"svg",214),v(2,"path",215),n(),O(),o(3,"div",216)(4,"p",217),f(5),m(6,"translate"),o(7,"button",218),C("click",function(){return b((0,y(e).openFileSelector)())}),f(8),m(9,"translate"),n()()()()}2&c&&(s(5),V("",_(6,2,"CREATE_PROD_SPEC._drop_files")," "),s(3),H(_(9,4,"CREATE_PROD_SPEC._select_files")))}function hq3(c,r){if(1&c){const e=j();o(0,"div",205)(1,"ngx-file-drop",206),C("onFileDrop",function(t){return y(e),b(h(2).dropped(t,"img"))})("onFileOver",function(t){return y(e),b(h(2).fileOver(t))})("onFileLeave",function(t){return y(e),b(h(2).fileLeave(t))}),R(2,uq3,10,6,"ng-template",207),n()(),o(3,"label",208),f(4),m(5,"translate"),n(),o(6,"div",209),v(7,"input",210,6),o(9,"button",211),C("click",function(){return y(e),b(h(2).saveImgFromURL())}),w(),o(10,"svg",155),v(11,"path",212),n()()()}if(2&c){const e=h(2);s(4),H(_(5,4,"CREATE_PROD_SPEC._add_prod_img_url")),s(3),k("formControl",e.attImageName),s(2),k("disabled",!e.attImageName.valid)("ngClass",e.attImageName.valid?"hover:bg-primary-50":"opacity-50")}}function mq3(c,r){1&c&&(o(0,"div",202)(1,"div",108),w(),o(2,"svg",109),v(3,"path",110),n(),O(),o(4,"span",66),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"CREATE_PROD_SPEC._no_att")," "))}function _q3(c,r){if(1&c){const e=j();o(0,"tr",117)(1,"td",118),f(2),n(),o(3,"td",118),f(4),n(),o(5,"td",122)(6,"button",154),C("click",function(){const t=y(e).$implicit;return b(h(3).removeAtt(t))}),w(),o(7,"svg",155),v(8,"path",148),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.url," ")}}function pq3(c,r){if(1&c&&(o(0,"div",111)(1,"table",112)(2,"thead",113)(3,"tr")(4,"th",114),f(5),m(6,"translate"),n(),o(7,"th",114),f(8),m(9,"translate"),n(),o(10,"th",114),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,_q3,9,2,"tr",117,z1),n()()()),2&c){const e=h(2);s(5),V(" ",_(6,3,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(9,5,"CREATE_PROD_SPEC._value")," "),s(3),V(" ",_(12,7,"CREATE_PROD_SPEC._actions")," "),s(3),a1(e.prodAttachments)}}function gq3(c,r){if(1&c){const e=j();o(0,"div",149)(1,"button",156),C("click",function(){y(e);const t=h(2);return b(t.showNewAtt=!t.showNewAtt)}),f(2),m(3,"translate"),w(),o(4,"svg",157),v(5,"path",130),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_PROD_SPEC._new_att")," "))}function vq3(c,r){if(1&c){const e=j();o(0,"div",213),w(),o(1,"svg",214),v(2,"path",215),n(),O(),o(3,"div",216)(4,"p",217),f(5),m(6,"translate"),o(7,"button",218),C("click",function(){return b((0,y(e).openFileSelector)())}),f(8),m(9,"translate"),n()()()()}2&c&&(s(5),V("",_(6,2,"CREATE_PROD_SPEC._drop_files")," "),s(3),H(_(9,4,"CREATE_PROD_SPEC._select_files")))}function Hq3(c,r){if(1&c){const e=j();o(0,"ngx-file-drop",225),C("onFileDrop",function(t){return y(e),b(h(3).dropped(t,"attach"))})("onFileOver",function(t){return y(e),b(h(3).fileOver(t))})("onFileLeave",function(t){return y(e),b(h(3).fileLeave(t))}),R(1,vq3,10,6,"ng-template",207),n()}}function Cq3(c,r){if(1&c){const e=j();o(0,"div",226)(1,"span",66),f(2,"Info"),n(),o(3,"label",227),f(4),n(),o(5,"button",204),C("click",function(){return y(e),b(h(3).clearAtt())}),w(),o(6,"svg",155),v(7,"path",148),n()()()}if(2&c){const e=h(3);s(4),V(" ",e.attachToCreate.url," ")}}function zq3(c,r){if(1&c){const e=j();o(0,"div",219)(1,"div",220)(2,"div",221)(3,"label",222),f(4),m(5,"translate"),n(),v(6,"input",223,7),n(),R(8,Hq3,2,0,"ngx-file-drop",224)(9,Cq3,8,1),n(),o(10,"div",171)(11,"button",172),C("click",function(){return y(e),b(h(2).saveAtt())}),f(12),m(13,"translate"),w(),o(14,"svg",157),v(15,"path",173),n()()()()}if(2&c){const e=h(2);s(4),H(_(5,7,"PROFILE._name")),s(2),k("formControl",e.attFileName)("ngClass",1==e.attFileName.invalid?"border-red-600":"border-gray-300"),s(2),S(8,""==e.attachToCreate.url?8:9),s(3),k("disabled",!e.attFileName.valid||""==e.attachToCreate.url)("ngClass",e.attFileName.valid&&""!=e.attachToCreate.url?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(13,9,"CREATE_PROD_SPEC._save_att")," ")}}function Vq3(c,r){if(1&c){const e=j();o(0,"div",190)(1,"h2",21),f(2),m(3,"translate"),n(),o(4,"div",191),w(),o(5,"svg",192),v(6,"path",193),n()(),O(),o(7,"div",194)(8,"div",195)(9,"h3",196),f(10),m(11,"translate"),n()(),o(12,"div",197)(13,"p",198),f(14),m(15,"translate"),n()(),v(16,"div",199),n()(),o(17,"h4",200),f(18),m(19,"translate"),n(),R(20,dq3,5,1,"div",201)(21,hq3,12,6),o(22,"h4",200),f(23),m(24,"translate"),n(),R(25,mq3,9,3,"div",202)(26,pq3,16,9)(27,gq3,6,3,"div",149)(28,zq3,16,11),o(29,"div",150)(30,"button",151),C("click",function(){y(e);const t=h();return t.toggleRelationship(),b(t.attachDone=!0)}),f(31),m(32,"translate"),w(),o(33,"svg",93),v(34,"path",94),n()()()}if(2&c){const e=h();s(2),H(_(3,9,"CREATE_PROD_SPEC._attachments")),s(8),H(_(11,11,"CREATE_PROD_SPEC._file_res")),s(4),V("",_(15,13,"CREATE_PROD_SPEC._restrictions")," "),s(4),H(_(19,15,"CREATE_PROD_SPEC._add_prod_img")),s(2),S(20,e.showImgPreview?20:21),s(3),H(_(24,17,"CREATE_PROD_SPEC._add_att")),s(2),S(25,0==e.prodAttachments.length?25:26),s(2),S(27,0==e.showNewAtt?27:28),s(4),V(" ",_(32,19,"CREATE_PROD_SPEC._next")," ")}}function Mq3(c,r){1&c&&(o(0,"div",228)(1,"div",108),w(),o(2,"svg",109),v(3,"path",110),n(),O(),o(4,"span",66),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"CREATE_PROD_SPEC._no_relatioships")," "))}function Lq3(c,r){if(1&c&&(o(0,"span",229),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function yq3(c,r){if(1&c&&(o(0,"span",230),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function bq3(c,r){if(1&c&&(o(0,"span",231),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function xq3(c,r){if(1&c&&(o(0,"span",232),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function wq3(c,r){if(1&c){const e=j();o(0,"tr",117)(1,"td",122),f(2),n(),o(3,"td",118),f(4),n(),o(5,"td",119),R(6,Lq3,2,1,"span",229)(7,yq3,2,1)(8,bq3,2,1)(9,xq3,2,1),n(),o(10,"td",121),f(11),m(12,"date"),n(),o(13,"td",122)(14,"button",154),C("click",function(){const t=y(e).$implicit;return b(h(3).deleteRel(t))}),w(),o(15,"svg",155),v(16,"path",148),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.relationshipType," "),s(2),V(" ",e.productSpec.name," "),s(2),S(6,"Active"==e.productSpec.lifecycleStatus?6:"Launched"==e.productSpec.lifecycleStatus?7:"Retired"==e.productSpec.lifecycleStatus?8:"Obsolete"==e.productSpec.lifecycleStatus?9:-1),s(5),V(" ",L2(12,4,e.productSpec.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," ")}}function Fq3(c,r){if(1&c&&(o(0,"div",111)(1,"table",112)(2,"thead",113)(3,"tr")(4,"th",114),f(5),m(6,"translate"),n(),o(7,"th",114),f(8),m(9,"translate"),n(),o(10,"th",115),f(11),m(12,"translate"),n(),o(13,"th",116),f(14),m(15,"translate"),n(),o(16,"th",114),f(17),m(18,"translate"),n()()(),o(19,"tbody"),c1(20,wq3,17,7,"tr",117,z1),n()()()),2&c){const e=h(2);s(5),V(" ",_(6,5,"CREATE_PROD_SPEC._relationship_type")," "),s(3),V(" ",_(9,7,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(12,9,"CREATE_PROD_SPEC._type")," "),s(3),V(" ",_(15,11,"CREATE_PROD_SPEC._last_update")," "),s(3),V(" ",_(18,13,"CREATE_PROD_SPEC._actions")," "),s(3),a1(e.prodRelationships)}}function kq3(c,r){if(1&c){const e=j();o(0,"div",149)(1,"button",156),C("click",function(){y(e);const t=h(2);return b(t.showCreateRel=!t.showCreateRel)}),f(2),m(3,"translate"),w(),o(4,"svg",157),v(5,"path",130),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_PROD_SPEC._add_relationship")," "))}function Sq3(c,r){1&c&&(o(0,"div",103),w(),o(1,"svg",104),v(2,"path",105)(3,"path",106),n(),O(),o(4,"span",66),f(5,"Loading..."),n()())}function Nq3(c,r){1&c&&(o(0,"div",107)(1,"div",108),w(),o(2,"svg",109),v(3,"path",110),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_prod_rel")," "))}function Dq3(c,r){1&c&&(o(0,"span",120),f(1,"Simple"),n())}function Tq3(c,r){1&c&&(o(0,"span",124),f(1,"Bundle"),n())}function Eq3(c,r){if(1&c){const e=j();o(0,"tr",240),C("click",function(){const t=y(e).$implicit;return b(h(5).selectRelationship(t))}),o(1,"td",118),f(2),n(),o(3,"td",122),R(4,Dq3,2,0,"span",120)(5,Tq3,2,0),n(),o(6,"td",241),f(7),m(8,"date"),n()()}if(2&c){const e=r.$implicit,a=h(5);k("ngClass",e.id==a.selectedProdSpec.id?"bg-gray-300 dark:bg-secondary-200":"bg-white dark:bg-secondary-300"),s(2),V(" ",e.name," "),s(2),S(4,0==e.isBundle?4:5),s(3),V(" ",L2(8,4,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," ")}}function Aq3(c,r){if(1&c&&(o(0,"div",237)(1,"table",112)(2,"thead",113)(3,"tr")(4,"th",114),f(5),m(6,"translate"),n(),o(7,"th",114),f(8),m(9,"translate"),n(),o(10,"th",238),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,Eq3,9,7,"tr",239,z1),n()()()),2&c){const e=h(4);s(5),V(" ",_(6,3,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(9,5,"CREATE_PROD_SPEC._type")," "),s(3),V(" ",_(12,7,"CREATE_PROD_SPEC._last_update")," "),s(3),a1(e.prodSpecRels)}}function Pq3(c,r){if(1&c){const e=j();o(0,"div",127)(1,"button",128),C("click",function(){return y(e),b(h(5).nextProdSpecsRel())}),f(2),m(3,"translate"),w(),o(4,"svg",129),v(5,"path",130),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_PROD_SPEC._load_more")," "))}function Rq3(c,r){1&c&&R(0,Pq3,6,3,"div",127),2&c&&S(0,h(4).prodSpecRelPageCheck?0:-1)}function Bq3(c,r){1&c&&(o(0,"div",131),w(),o(1,"svg",104),v(2,"path",105)(3,"path",106),n(),O(),o(4,"span",66),f(5,"Loading..."),n()())}function Oq3(c,r){if(1&c&&R(0,Nq3,7,3,"div",107)(1,Aq3,16,9)(2,Rq3,1,1)(3,Bq3,6,0),2&c){const e=h(3);S(0,0==e.prodSpecRels.length?0:1),s(2),S(2,e.loadingprodSpecRel_more?3:2)}}function Iq3(c,r){if(1&c){const e=j();o(0,"label",160),f(1),m(2,"translate"),n(),o(3,"select",161),C("change",function(t){return y(e),b(h(2).onRelChange(t))}),o(4,"option",233),f(5,"Migration"),n(),o(6,"option",234),f(7,"Dependency"),n(),o(8,"option",235),f(9,"Exclusivity"),n(),o(10,"option",236),f(11,"Substitution"),n()(),R(12,Sq3,6,0,"div",103)(13,Oq3,4,2),o(14,"div",171)(15,"button",172),C("click",function(){return y(e),b(h(2).saveRel())}),f(16),m(17,"translate"),w(),o(18,"svg",157),v(19,"path",173),n()()()}if(2&c){const e=h(2);s(),H(_(2,5,"CREATE_PROD_SPEC._relationship_type")),s(11),S(12,e.loadingprodSpecRel?12:13),s(3),k("disabled",0==e.prodSpecRels.length)("ngClass",0==e.prodSpecRels.length?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(17,7,"CREATE_PROD_SPEC._save_relationship")," ")}}function Uq3(c,r){if(1&c){const e=j();o(0,"h2",21),f(1),m(2,"translate"),n(),o(3,"div",168),R(4,Mq3,9,3,"div",228)(5,Fq3,22,15)(6,kq3,6,3,"div",149)(7,Iq3,20,9),n(),o(8,"div",101)(9,"button",151),C("click",function(){y(e);const t=h();return t.showFinish(),b(t.relationshipDone=!0)}),f(10),m(11,"translate"),w(),o(12,"svg",93),v(13,"path",94),n()()()}if(2&c){const e=h();s(),H(_(2,4,"CREATE_PROD_SPEC._relationships")),s(3),S(4,0===e.prodRelationships.length?4:5),s(2),S(6,0==e.showCreateRel?6:7),s(4),V(" ",_(11,6,"CREATE_PROD_SPEC._finish")," ")}}function jq3(c,r){if(1&c&&(o(0,"label",160),f(1),m(2,"translate"),n(),o(3,"label",244),f(4),n()),2&c){const e=h(2);s(),H(_(2,2,"CREATE_PROD_SPEC._id_number")),s(3),V(" ",null==e.productSpecToCreate?null:e.productSpecToCreate.productNumber," ")}}function $q3(c,r){if(1&c&&(o(0,"span",247),f(1),n()),2&c){const e=h(2);s(),H(null==e.productSpecToCreate?null:e.productSpecToCreate.lifecycleStatus)}}function Yq3(c,r){if(1&c&&(o(0,"span",248),f(1),n()),2&c){const e=h(2);s(),H(null==e.productSpecToCreate?null:e.productSpecToCreate.lifecycleStatus)}}function Gq3(c,r){if(1&c&&(o(0,"span",249),f(1),n()),2&c){const e=h(2);s(),H(null==e.productSpecToCreate?null:e.productSpecToCreate.lifecycleStatus)}}function qq3(c,r){if(1&c&&(o(0,"span",250),f(1),n()),2&c){const e=h(2);s(),H(null==e.productSpecToCreate?null:e.productSpecToCreate.lifecycleStatus)}}function Wq3(c,r){if(1&c&&(o(0,"label",160),f(1),m(2,"translate"),n(),o(3,"div",251),v(4,"markdown",252),n()),2&c){const e=h(2);s(),H(_(2,2,"UPDATE_PROD_SPEC._product_description")),s(3),k("data",null==e.productSpecToCreate?null:e.productSpecToCreate.description)}}function Zq3(c,r){if(1&c&&(o(0,"label",160),f(1),m(2,"translate"),n(),o(3,"div",201),v(4,"img",203),n()),2&c){const e=h(2);s(),H(_(2,2,"CREATE_PROD_SPEC._profile_pic")),s(3),D1("src",e.imgPreview,h2)}}function Kq3(c,r){if(1&c&&(o(0,"span",229),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function Qq3(c,r){if(1&c&&(o(0,"span",230),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function Jq3(c,r){if(1&c&&(o(0,"span",231),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function Xq3(c,r){if(1&c&&(o(0,"span",232),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function eW3(c,r){if(1&c&&(o(0,"tr",117)(1,"td",118),f(2),n(),o(3,"td",122),R(4,Kq3,2,1,"span",229)(5,Qq3,2,1)(6,Jq3,2,1)(7,Xq3,2,1),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1)}}function cW3(c,r){if(1&c&&(o(0,"label",160),f(1),m(2,"translate"),n(),o(3,"div",253)(4,"table",112)(5,"thead",113)(6,"tr")(7,"th",114),f(8),m(9,"translate"),n(),o(10,"th",114),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,eW3,8,2,"tr",117,z1),n()()()),2&c){const e=h(2);s(),H(_(2,3,"CREATE_PROD_SPEC._bundle")),s(7),V(" ",_(9,5,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(12,7,"CREATE_PROD_SPEC._status")," "),s(3),a1(e.prodSpecsBundle)}}function aW3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function rW3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function tW3(c,r){if(1&c&&R(0,aW3,4,2)(1,rW3,3,2),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function iW3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function oW3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function nW3(c,r){if(1&c&&R(0,iW3,4,3)(1,oW3,3,3),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function sW3(c,r){1&c&&R(0,tW3,2,1)(1,nW3,2,1),2&c&&S(0,r.$implicit.value?0:1)}function lW3(c,r){if(1&c&&(o(0,"tr",117)(1,"td",118),f(2),n(),o(3,"td",153),f(4),n(),o(5,"td",118),c1(6,sW3,2,1,null,null,z1),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),a1(e.productSpecCharacteristicValue)}}function fW3(c,r){if(1&c&&(o(0,"label",160),f(1),m(2,"translate"),n(),o(3,"div",253)(4,"table",112)(5,"thead",113)(6,"tr")(7,"th",114),f(8),m(9,"translate"),n(),o(10,"th",116),f(11),m(12,"translate"),n(),o(13,"th",114),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,lW3,8,2,"tr",117,z1),n()()()),2&c){const e=h(2);s(),H(_(2,4,"CREATE_PROD_SPEC._chars")),s(7),V(" ",_(9,6,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(12,8,"CREATE_PROD_SPEC._product_description")," "),s(3),V(" ",_(15,10,"CREATE_PROD_SPEC._values")," "),s(3),a1(null==e.productSpecToCreate?null:e.productSpecToCreate.productSpecCharacteristic)}}function dW3(c,r){if(1&c&&(o(0,"tr",117)(1,"td",118),f(2),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," ")}}function uW3(c,r){if(1&c&&(o(0,"label",160),f(1),m(2,"translate"),n(),o(3,"div",253)(4,"table",112)(5,"thead",113)(6,"tr")(7,"th",114),f(8),m(9,"translate"),n()()(),o(10,"tbody"),c1(11,dW3,3,1,"tr",117,z1),n()()()),2&c){const e=h(2);s(),H(_(2,2,"CREATE_PROD_SPEC._resource")),s(7),V(" ",_(9,4,"CREATE_PROD_SPEC._product_name")," "),s(3),a1(e.selectedResourceSpecs)}}function hW3(c,r){if(1&c&&(o(0,"tr",117)(1,"td",118),f(2),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," ")}}function mW3(c,r){if(1&c&&(o(0,"label",160),f(1),m(2,"translate"),n(),o(3,"div",253)(4,"table",112)(5,"thead",113)(6,"tr")(7,"th",114),f(8),m(9,"translate"),n()()(),o(10,"tbody"),c1(11,hW3,3,1,"tr",117,z1),n()()()),2&c){const e=h(2);s(),H(_(2,2,"CREATE_PROD_SPEC._service")),s(7),V(" ",_(9,4,"CREATE_PROD_SPEC._product_name")," "),s(3),a1(e.selectedServiceSpecs)}}function _W3(c,r){if(1&c&&(o(0,"tr",117)(1,"td",118),f(2),n(),o(3,"td",118),f(4),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.url," ")}}function pW3(c,r){if(1&c&&(o(0,"label",160),f(1),m(2,"translate"),n(),o(3,"div",253)(4,"table",112)(5,"thead",113)(6,"tr")(7,"th",114),f(8),m(9,"translate"),n(),o(10,"th",114),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,_W3,5,2,"tr",117,z1),n()()()),2&c){const e=h(2);s(),H(_(2,3,"CREATE_PROD_SPEC._attachments")),s(7),V(" ",_(9,5,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(12,7,"CREATE_PROD_SPEC._value")," "),s(3),a1(null==e.productSpecToCreate?null:e.productSpecToCreate.attachment)}}function gW3(c,r){if(1&c&&(o(0,"span",254),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function vW3(c,r){if(1&c&&(o(0,"span",255),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function HW3(c,r){if(1&c&&(o(0,"span",256),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function CW3(c,r){if(1&c&&(o(0,"span",257),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function zW3(c,r){if(1&c&&(o(0,"tr",117)(1,"td",122),f(2),n(),o(3,"td",118),f(4),n(),o(5,"td",119),R(6,gW3,2,1,"span",254)(7,vW3,2,1)(8,HW3,2,1)(9,CW3,2,1),n(),o(10,"td",121),f(11),m(12,"date"),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.relationshipType," "),s(2),V(" ",e.productSpec.name," "),s(2),S(6,"Active"==e.productSpec.lifecycleStatus?6:"Launched"==e.productSpec.lifecycleStatus?7:"Retired"==e.productSpec.lifecycleStatus?8:"Obsolete"==e.productSpec.lifecycleStatus?9:-1),s(5),V(" ",L2(12,4,e.productSpec.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," ")}}function VW3(c,r){if(1&c&&(o(0,"label",160),f(1),m(2,"translate"),n(),o(3,"div",253)(4,"table",112)(5,"thead",113)(6,"tr")(7,"th",114),f(8),m(9,"translate"),n(),o(10,"th",114),f(11),m(12,"translate"),n(),o(13,"th",115),f(14),m(15,"translate"),n(),o(16,"th",116),f(17),m(18,"translate"),n()()(),o(19,"tbody"),c1(20,zW3,13,7,"tr",117,z1),n()()()),2&c){const e=h(2);s(),H(_(2,5,"CREATE_PROD_SPEC._relationships")),s(7),V(" ",_(9,7,"CREATE_PROD_SPEC._relationship_type")," "),s(3),V(" ",_(12,9,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(15,11,"CREATE_PROD_SPEC._type")," "),s(3),V(" ",_(18,13,"CREATE_PROD_SPEC._last_update")," "),s(3),a1(e.prodRelationships)}}function MW3(c,r){if(1&c){const e=j();o(0,"h2",21),f(1),m(2,"translate"),n(),o(3,"div",242)(4,"div",243)(5,"div")(6,"label",160),f(7),m(8,"translate"),n(),o(9,"label",244),f(10),n(),o(11,"label",52),f(12),m(13,"translate"),n(),o(14,"label",244),f(15),n()(),o(16,"div")(17,"label",160),f(18),m(19,"translate"),n(),o(20,"label",244),f(21),n(),R(22,jq3,5,4),n()(),o(23,"div",245)(24,"label",246),f(25),m(26,"translate"),n(),R(27,$q3,2,1,"span",247)(28,Yq3,2,1)(29,Gq3,2,1)(30,qq3,2,1),n(),R(31,Wq3,5,4)(32,Zq3,5,4)(33,cW3,16,9)(34,fW3,19,12)(35,uW3,13,6)(36,mW3,13,6)(37,pW3,16,9)(38,VW3,22,15),o(39,"div",150)(40,"button",151),C("click",function(){return y(e),b(h().createProduct())}),f(41),m(42,"translate"),w(),o(43,"svg",93),v(44,"path",94),n()()()()}if(2&c){const e=h();s(),H(_(2,19,"CREATE_PROD_SPEC._finish")),s(6),H(_(8,21,"CREATE_PROD_SPEC._product_name")),s(3),V(" ",null==e.productSpecToCreate?null:e.productSpecToCreate.name," "),s(2),H(_(13,23,"CREATE_PROD_SPEC._product_version")),s(3),V(" ",null==e.productSpecToCreate?null:e.productSpecToCreate.version," "),s(3),H(_(19,25,"CREATE_PROD_SPEC._product_brand")),s(3),V(" ",null==e.productSpecToCreate?null:e.productSpecToCreate.brand," "),s(),S(22,""!=(null==e.productSpecToCreate?null:e.productSpecToCreate.productNumber)?22:-1),s(3),H(_(26,27,"CREATE_PROD_SPEC._status")),s(2),S(27,"Active"==(null==e.productSpecToCreate?null:e.productSpecToCreate.lifecycleStatus)?27:"Launched"==(null==e.productSpecToCreate?null:e.productSpecToCreate.lifecycleStatus)?28:"Retired"==(null==e.productSpecToCreate?null:e.productSpecToCreate.lifecycleStatus)?29:"Obsolete"==(null==e.productSpecToCreate?null:e.productSpecToCreate.lifecycleStatus)?30:-1),s(4),S(31,""!=(null==e.productSpecToCreate?null:e.productSpecToCreate.description)?31:-1),s(),S(32,""!=e.imgPreview?32:-1),s(),S(33,e.prodSpecsBundle.length>0?33:-1),s(),S(34,e.prodChars.length>0?34:-1),s(),S(35,e.selectedResourceSpecs.length>0?35:-1),s(),S(36,e.selectedServiceSpecs.length>0?36:-1),s(),S(37,e.prodAttachments.length>0?37:-1),s(),S(38,e.prodRelationships.length>0?38:-1),s(3),V(" ",_(42,29,"CREATE_PROD_SPEC._create_prod")," ")}}function LW3(c,r){if(1&c){const e=j();w(),o(0,"svg",214),v(1,"path",215),n(),O(),o(2,"p",268),f(3,"Drop files to attatch or "),o(4,"button",218),C("click",function(){return b((0,y(e).openFileSelector)())}),f(5,"select a file."),n()()}}function yW3(c,r){if(1&c){const e=j();o(0,"div",47)(1,"div",258),C("click",function(t){return y(e),b(t.stopPropagation())}),o(2,"div",259)(3,"button",260),C("click",function(t){return y(e),h().showUploadFile=!1,b(t.stopPropagation())}),w(),o(4,"svg",261),v(5,"path",262),n(),O(),o(6,"span",66),f(7,"Close modal"),n()(),o(8,"ngx-file-drop",263),C("onFileDrop",function(t){y(e);const i=h();return b(i.dropped(t,i.selectedISO))})("onFileOver",function(t){return y(e),b(h().fileOver(t))})("onFileLeave",function(t){return y(e),b(h().fileLeave(t))}),R(9,LW3,6,0,"ng-template",264),n(),o(10,"div",265)(11,"button",266),C("click",function(t){return y(e),h().showUploadFile=!1,b(t.stopPropagation())}),f(12," Cancel "),n(),o(13,"button",267),C("click",function(){return y(e),b(h().uploadFile())}),f(14," Upload "),n()()()()()}2&c&&k("ngClass",h().showUploadFile?"backdrop-blur-sm":"")}function bW3(c,r){1&c&&v(0,"error-message",48),2&c&&k("message",h().errorMessage)}let xW3=(()=>{class c{constructor(e,a,t,i,l,d,u,p,z,x,E){this.router=e,this.api=a,this.prodSpecService=t,this.cdr=i,this.localStorage=l,this.eventMessage=d,this.elementRef=u,this.attachmentService=p,this.servSpecService=z,this.resSpecService=x,this.paginationService=E,this.PROD_SPEC_LIMIT=m1.PROD_SPEC_LIMIT,this.SERV_SPEC_LIMIT=m1.SERV_SPEC_LIMIT,this.RES_SPEC_LIMIT=m1.RES_SPEC_LIMIT,this.showGeneral=!0,this.showBundle=!1,this.showCompliance=!1,this.showChars=!1,this.showResource=!1,this.showService=!1,this.showAttach=!1,this.showRelationships=!1,this.showSummary=!1,this.generalDone=!1,this.bundleDone=!1,this.complianceDone=!1,this.charsDone=!1,this.resourceDone=!1,this.serviceDone=!1,this.attachDone=!1,this.relationshipDone=!1,this.finishDone=!1,this.stepsElements=["general-info","bundle","compliance","chars","resource","service","attach","relationships","summary"],this.stepsCircles=["general-circle","bundle-circle","compliance-circle","chars-circle","resource-circle","service-circle","attach-circle","relationships-circle","summary-circle"],this.showPreview=!1,this.showEmoji=!1,this.description="",this.partyId="",this.generalForm=new S2({name:new u1("",[O1.required]),brand:new u1("",[O1.required]),version:new u1("0.1",[O1.required,O1.pattern("^-?[0-9]\\d*(\\.\\d*)?$")]),number:new u1(""),description:new u1("")}),this.charsForm=new S2({name:new u1("",[O1.required]),description:new u1("")}),this.stringCharSelected=!0,this.numberCharSelected=!1,this.rangeCharSelected=!1,this.prodChars=[],this.finishChars=[],this.creatingChars=[],this.showCreateChar=!1,this.bundleChecked=!1,this.bundlePage=0,this.bundlePageCheck=!1,this.loadingBundle=!1,this.loadingBundle_more=!1,this.prodSpecs=[],this.nextProdSpecs=[],this.prodSpecsBundle=[],this.buttonISOClicked=!1,this.availableISOS=[],this.selectedISOS=[],this.showUploadFile=!1,this.disableCompNext=!0,this.serviceSpecPage=0,this.serviceSpecPageCheck=!1,this.loadingServiceSpec=!1,this.loadingServiceSpec_more=!1,this.serviceSpecs=[],this.nextServiceSpecs=[],this.selectedServiceSpecs=[],this.resourceSpecPage=0,this.resourceSpecPageCheck=!1,this.loadingResourceSpec=!1,this.loadingResourceSpec_more=!1,this.resourceSpecs=[],this.nextResourceSpecs=[],this.selectedResourceSpecs=[],this.prodRelationships=[],this.showCreateRel=!1,this.prodSpecRelPage=0,this.prodSpecRelPageCheck=!1,this.loadingprodSpecRel=!1,this.loadingprodSpecRel_more=!1,this.prodSpecRels=[],this.nextProdSpecRels=[],this.selectedProdSpec={id:""},this.selectedRelType="migration",this.showImgPreview=!1,this.showNewAtt=!1,this.imgPreview="",this.prodAttachments=[],this.attachToCreate={url:"",attachmentType:""},this.attFileName=new u1("",[O1.required,O1.pattern("[a-zA-Z0-9 _.-]*")]),this.attImageName=new u1("",[O1.required,O1.pattern("^https?:\\/\\/.*\\.(?:png|jpg|jpeg|gif|bmp|webp)$")]),this.errorMessage="",this.showError=!1,this.files=[];for(let P=0;P{"ChangedSession"===P.type&&this.initPartyInfo()})}onClick(){1==this.showEmoji&&(this.showEmoji=!1,this.cdr.detectChanges()),1==this.showUploadFile&&(this.showUploadFile=!1,this.cdr.detectChanges())}ngOnInit(){this.initPartyInfo()}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0)if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}}goBack(){this.eventMessage.emitSellerProductSpec(!0)}togglePreview(){this.generalForm.value.description&&(this.description=this.generalForm.value.description)}toggleGeneral(){this.selectStep("general-info","general-circle"),this.showBundle=!1,this.showGeneral=!0,this.showCompliance=!1,this.showChars=!1,this.showResource=!1,this.showService=!1,this.showAttach=!1,this.showRelationships=!1,this.showSummary=!1,this.showPreview=!1}toggleBundle(){this.selectStep("bundle","bundle-circle"),this.showBundle=!0,this.showGeneral=!1,this.showCompliance=!1,this.showChars=!1,this.showResource=!1,this.showService=!1,this.showAttach=!1,this.showRelationships=!1,this.showSummary=!1,this.showPreview=!1}toggleBundleCheck(){this.prodSpecs=[],this.bundlePage=0,this.bundleChecked=!this.bundleChecked,1==this.bundleChecked?(this.loadingBundle=!0,this.getProdSpecs(!1)):this.prodSpecsBundle=[]}getProdSpecs(e){var a=this;return M(function*(){0==e&&(a.loadingBundle=!0),a.paginationService.getItemsPaginated(a.bundlePage,a.PROD_SPEC_LIMIT,e,a.prodSpecs,a.nextProdSpecs,{filters:["Active","Launched"],partyId:a.partyId},a.prodSpecService.getProdSpecByUser.bind(a.prodSpecService)).then(i=>{a.bundlePageCheck=i.page_check,a.prodSpecs=i.items,a.nextProdSpecs=i.nextItems,a.bundlePage=i.page,a.loadingBundle=!1,a.loadingBundle_more=!1})})()}nextBundle(){var e=this;return M(function*(){yield e.getProdSpecs(!0)})()}addProdToBundle(e){const a=this.prodSpecsBundle.findIndex(t=>t.id===e.id);-1!==a?(console.log("eliminar"),this.prodSpecsBundle.splice(a,1)):(console.log("a\xf1adir"),this.prodSpecsBundle.push({id:e.id,href:e.href,lifecycleStatus:e.lifecycleStatus,name:e.name})),this.cdr.detectChanges(),console.log(this.prodSpecsBundle)}isProdInBundle(e){return-1!==this.prodSpecsBundle.findIndex(t=>t.id===e.id)}toggleCompliance(){this.selectStep("compliance","compliance-circle"),this.showBundle=!1,this.showGeneral=!1,this.showCompliance=!0,this.showChars=!1,this.showResource=!1,this.showService=!1,this.showAttach=!1,this.showRelationships=!1,this.showSummary=!1,this.showPreview=!1}addISO(e){const a=this.availableISOS.findIndex(t=>t.name===e.name);-1!==a&&(console.log("seleccionar"),this.availableISOS.splice(a,1),this.selectedISOS.push({name:e.name,url:"",mandatory:e.mandatory,domesupported:e.domesupported})),this.buttonISOClicked=!this.buttonISOClicked,this.cdr.detectChanges(),console.log(this.availableISOS),console.log(this.selectedISOS)}removeISO(e){const a=this.selectedISOS.findIndex(t=>t.name===e.name);-1!==a&&(console.log("seleccionar"),this.selectedISOS.splice(a,1),this.availableISOS.push({name:e.name,mandatory:e.mandatory,domesupported:e.domesupported})),this.cdr.detectChanges(),console.log(this.prodSpecsBundle)}checkValidISOS(){return!!this.selectedISOS.find(a=>""===a.url)}dropped(e,a){this.files=e;for(const t of e)t.fileEntry.isFile?t.fileEntry.file(l=>{if(console.log("dropped"),l){const d=new FileReader;d.onload=u=>{const p=u.target.result.split(",")[1];console.log("BASE 64...."),console.log(p);let z="";null!=this.generalForm.value.name&&(z=this.generalForm.value.name.replaceAll(/\s/g,"")+"_");let x={content:{name:z+l.name,data:p},contentType:l.type,isPublic:!0};if(this.showCompliance){const E=this.selectedISOS.findIndex(P=>P.name===a.name);this.attachmentService.uploadFile(x).subscribe({next:P=>{console.log(P),this.selectedISOS[E].url=P.content,this.showUploadFile=!1,this.cdr.detectChanges(),console.log("uploaded")},error:P=>{console.error("There was an error while uploading the file!",P),P.error.error?(console.log(P),this.errorMessage="Error: "+P.error.error):this.errorMessage="There was an error while uploading the file!",413===P.status&&(this.errorMessage="File size too large! Must be under 3MB."),this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}this.showAttach&&(console.log(l),this.attachmentService.uploadFile(x).subscribe({next:E=>{console.log(E),"img"==a?l.type.startsWith("image")?(this.showImgPreview=!0,this.imgPreview=E.content,this.prodAttachments.push({name:"Profile Picture",url:this.imgPreview,attachmentType:l.type})):(this.errorMessage="File must have a valid image format!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)):this.attachToCreate={url:E.content,attachmentType:l.type},this.cdr.detectChanges(),console.log("uploaded")},error:E=>{console.error("There was an error while uploading!",E),E.error.error?(console.log(E),this.errorMessage="Error: "+E.error.error):this.errorMessage="There was an error while uploading the file!",413===E.status&&(this.errorMessage="File size too large! Must be under 3MB."),this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}}))},d.readAsDataURL(l)}}):console.log(t.relativePath,t.fileEntry)}fileOver(e){console.log(e)}fileLeave(e){console.log("leave"),console.log(e)}toggleUploadFile(e){this.showUploadFile=!0,this.selectedISO=e}uploadFile(){console.log("uploading...")}toggleChars(){this.selectStep("chars","chars-circle"),this.showBundle=!1,this.showGeneral=!1,this.showCompliance=!1,this.showChars=!0,this.showResource=!1,this.showService=!1,this.showAttach=!1,this.showRelationships=!1,this.showSummary=!1,this.showCreateChar=!1,this.stringCharSelected=!0,this.numberCharSelected=!1,this.rangeCharSelected=!1,this.showPreview=!1}toggleResource(){this.loadingResourceSpec=!0,this.resourceSpecs=[],this.resourceSpecPage=0,this.getResSpecs(!1),this.selectStep("resource","resource-circle"),this.showBundle=!1,this.showGeneral=!1,this.showCompliance=!1,this.showChars=!1,this.showResource=!0,this.showService=!1,this.showAttach=!1,this.showRelationships=!1,this.showSummary=!1,this.showPreview=!1}getResSpecs(e){var a=this;return M(function*(){0==e&&(a.loadingResourceSpec=!0),a.paginationService.getItemsPaginated(a.resourceSpecPage,a.RES_SPEC_LIMIT,e,a.resourceSpecs,a.nextResourceSpecs,{filters:["Active","Launched"],partyId:a.partyId},a.resSpecService.getResourceSpecByUser.bind(a.resSpecService)).then(i=>{a.resourceSpecPageCheck=i.page_check,a.resourceSpecs=i.items,a.nextResourceSpecs=i.nextItems,a.resourceSpecPage=i.page,a.loadingResourceSpec=!1,a.loadingResourceSpec_more=!1})})()}nextRes(){var e=this;return M(function*(){yield e.getResSpecs(!0)})()}addResToSelected(e){const a=this.selectedResourceSpecs.findIndex(t=>t.id===e.id);-1!==a?(console.log("eliminar"),this.selectedResourceSpecs.splice(a,1)):(console.log("a\xf1adir"),this.selectedResourceSpecs.push({id:e.id,href:e.href,name:e.name})),this.cdr.detectChanges(),console.log(this.selectedResourceSpecs)}isResSelected(e){return-1!==this.selectedResourceSpecs.findIndex(t=>t.id===e.id)}toggleService(){this.loadingServiceSpec=!0,this.serviceSpecs=[],this.serviceSpecPage=0,this.getServSpecs(!1),this.selectStep("service","service-circle"),this.showBundle=!1,this.showGeneral=!1,this.showCompliance=!1,this.showChars=!1,this.showResource=!1,this.showService=!0,this.showAttach=!1,this.showRelationships=!1,this.showSummary=!1,this.showPreview=!1}getServSpecs(e){var a=this;return M(function*(){0==e&&(a.loadingServiceSpec=!0),a.paginationService.getItemsPaginated(a.serviceSpecPage,a.SERV_SPEC_LIMIT,e,a.serviceSpecs,a.nextServiceSpecs,{filters:["Active","Launched"],partyId:a.partyId},a.servSpecService.getServiceSpecByUser.bind(a.servSpecService)).then(i=>{a.serviceSpecPageCheck=i.page_check,a.serviceSpecs=i.items,a.nextServiceSpecs=i.nextItems,a.serviceSpecPage=i.page,a.loadingServiceSpec=!1,a.loadingServiceSpec_more=!1})})()}nextServ(){var e=this;return M(function*(){yield e.getServSpecs(!0)})()}addServToSelected(e){const a=this.selectedServiceSpecs.findIndex(t=>t.id===e.id);-1!==a?(console.log("eliminar"),this.selectedServiceSpecs.splice(a,1)):(console.log("a\xf1adir"),this.selectedServiceSpecs.push({id:e.id,href:e.href,name:e.name})),this.cdr.detectChanges(),console.log(this.selectedServiceSpecs)}isServSelected(e){return-1!==this.selectedServiceSpecs.findIndex(t=>t.id===e.id)}toggleAttach(){this.selectStep("attach","attach-circle"),this.showBundle=!1,this.showGeneral=!1,this.showCompliance=!1,this.showChars=!1,this.showResource=!1,this.showService=!1,this.showAttach=!0,this.showRelationships=!1,this.showSummary=!1,this.showPreview=!1,setTimeout(()=>{S1()},100)}removeImg(){this.showImgPreview=!1;const e=this.prodAttachments.findIndex(a=>a.url===this.imgPreview);-1!==e&&(console.log("eliminar"),this.prodAttachments.splice(e,1)),this.imgPreview="",this.cdr.detectChanges()}saveImgFromURL(){this.showImgPreview=!0,this.imgPreview=this.imgURL.nativeElement.value,this.prodAttachments.push({name:"Profile Picture",url:this.imgPreview,attachmentType:"Picture"}),this.attImageName.reset(),this.cdr.detectChanges()}removeAtt(e){const a=this.prodAttachments.findIndex(t=>t.url===e.url);-1!==a&&(console.log("eliminar"),"Profile Picture"==this.prodAttachments[a].name&&(this.showImgPreview=!1,this.imgPreview="",this.cdr.detectChanges()),this.prodAttachments.splice(a,1)),this.cdr.detectChanges()}saveAtt(){console.log("saving"),this.prodAttachments.push({name:this.attachName.nativeElement.value,url:this.attachToCreate.url,attachmentType:this.attachToCreate.attachmentType}),this.attachName.nativeElement.value="",this.attachToCreate={url:"",attachmentType:""},this.showNewAtt=!1,this.attFileName.reset()}clearAtt(){this.attachToCreate={url:"",attachmentType:""}}toggleRelationship(){this.prodSpecRels=[],this.prodSpecRelPage=0,this.showCreateRel=!1,this.loadingprodSpecRel=!0,this.getProdSpecsRel(!1),this.selectStep("relationships","relationships-circle"),this.showBundle=!1,this.showGeneral=!1,this.showCompliance=!1,this.showChars=!1,this.showResource=!1,this.showService=!1,this.showAttach=!1,this.showRelationships=!0,this.showSummary=!1,this.showPreview=!1}getProdSpecsRel(e){var a=this;return M(function*(){0==e&&(a.loadingprodSpecRel=!0),a.paginationService.getItemsPaginated(a.prodSpecRelPage,a.PROD_SPEC_LIMIT,e,a.prodSpecRels,a.nextProdSpecRels,{filters:["Active","Launched"],partyId:a.partyId},a.prodSpecService.getProdSpecByUser.bind(a.prodSpecService)).then(i=>{a.prodSpecRelPageCheck=i.page_check,a.prodSpecRels=i.items,a.nextProdSpecRels=i.nextItems,a.prodSpecRelPage=i.page,a.loadingprodSpecRel=!1,a.loadingprodSpecRel_more=!1})})()}selectRelationship(e){this.selectedProdSpec=e}nextProdSpecsRel(){var e=this;return M(function*(){yield e.getProdSpecsRel(!0)})()}onRelChange(e){console.log("relation type changed"),this.selectedRelType=e.target.value}saveRel(){this.showCreateRel=!1,this.prodRelationships.push({id:this.selectedProdSpec.id,href:this.selectedProdSpec.href,relationshipType:this.selectedRelType,productSpec:this.selectedProdSpec}),this.selectedRelType="migration",console.log(this.prodRelationships)}deleteRel(e){const a=this.prodRelationships.findIndex(t=>t.id===e.id);-1!==a&&(console.log("eliminar"),this.prodRelationships.splice(a,1)),this.cdr.detectChanges()}removeClass(e,a){e.className=(" "+e.className+" ").replace(" "+a+" "," ").replace(/^\s+|\s+$/g,"")}addClass(e,a){e.className+=" "+a}unselectMenu(e,a){null!=e&&(e.className.match(a)?this.removeClass(e,a):console.log("already unselected"))}selectMenu(e,a){null!=e&&(e.className.match(a)?console.log("already selected"):this.addClass(e,a))}selectStep(e,a){const t=this.stepsElements.findIndex(l=>l===e);if(-1!==t){this.stepsElements.splice(t,1),this.selectMenu(document.getElementById(e),"text-primary-100 dark:text-primary-50"),this.unselectMenu(document.getElementById(e),"text-gray-500");for(let l=0;ll===a);if(-1!==t){this.stepsCircles.splice(i,1),this.selectMenu(document.getElementById(a),"border-primary-100 dark:border-primary-50"),this.unselectMenu(document.getElementById(a),"border-gray-400");for(let l=0;lt.id===e.id);-1!==a&&(console.log("eliminar"),this.prodChars.splice(a,1)),this.cdr.detectChanges(),console.log(this.prodChars)}checkInput(e){return 0===e.trim().length}showFinish(){this.relationshipDone=!0,this.finishDone=!0;for(let a=0;ai.name===this.prodChars[a].name)&&this.finishChars.push(this.prodChars[a]);for(let a=0;ai.name===this.selectedISOS[a].name)&&this.finishChars.push({id:"urn:ngsi-ld:characteristic:"+R4(),name:this.selectedISOS[a].name,productSpecCharacteristicValue:[{isDefault:!0,value:this.selectedISOS[a].url}]});let e=[];for(let a=0;a{this.goBack()},error:e=>{console.error("There was an error while creating!",e),e.error.error?(console.log(e),this.errorMessage="Error: "+e.error.error):this.errorMessage="There was an error while creating the product!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}addBold(){this.generalForm.patchValue({description:this.generalForm.value.description+" **bold text** "})}addItalic(){this.generalForm.patchValue({description:this.generalForm.value.description+" _italicized text_ "})}addList(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n- First item\n- Second item"})}addOrderedList(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n1. First item\n2. Second item"})}addCode(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n`code`"})}addCodeBlock(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n```\ncode\n```"})}addBlockquote(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n> blockquote"})}addLink(){this.generalForm.patchValue({description:this.generalForm.value.description+" [title](https://www.example.com) "})}addTable(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"})}addEmoji(e){console.log(e),this.showEmoji=!1,this.generalForm.patchValue({description:this.generalForm.value.description+e.emoji.native})}static#e=this.\u0275fac=function(a){return new(a||c)(B(Q1),B(p1),B(z4),B(B1),B(A1),B(e2),B(C2),B(Q0),B(N4),B(h4),B(L3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["create-product-spec"]],viewQuery:function(a,t){if(1&a&&(b1(AY3,5),b1(PY3,5),b1(RY3,5),b1(BY3,5),b1(OY3,5),b1(IY3,5),b1(UY3,5),b1(jY3,5)),2&a){let i;M1(i=L1())&&(t.charStringValue=i.first),M1(i=L1())&&(t.charNumberValue=i.first),M1(i=L1())&&(t.charNumberUnit=i.first),M1(i=L1())&&(t.charFromValue=i.first),M1(i=L1())&&(t.charToValue=i.first),M1(i=L1())&&(t.charRangeUnit=i.first),M1(i=L1())&&(t.attachName=i.first),M1(i=L1())&&(t.imgURL=i.first)}},hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},decls:137,vars:86,consts:[["stringValue",""],["numberValue",""],["numberUnit",""],["fromValue",""],["toValue",""],["rangeUnit",""],["imgURL",""],["attachName",""],[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-gray-200","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800","dark:text-white"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","mt-4","p-8","rounded-lg"],[1,"text-3xl","font-bold","text-primary-100","ml-4","dark:text-white"],[1,"h-px","m-4","bg-gray-300","dark:bg-gray-200","border-0"],[1,"md:grid","md:grid-cols-25/75","xl:grid-cols-20/80"],[1,"flex","sm:flex-row","md:flex-col","md:mr-4","overflow-x-auto","max-w-[calc(100vw-5rem)]"],[1,"hidden","md:block","text-xl","font-bold","text-black","mb-4","dark:text-white"],["id","general-info",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-primary-100","dark:text-primary-50","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","general-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-primary-100","dark:border-primary-50","rounded-full","shrink-0"],[1,"flex","leading-tight","justify-start"],[1,"hidden","xl:flex","text-xs","justify-start"],[1,"h-px","mb-2","bg-gray-300","dark:bg-gray-200","border-0"],["id","bundle",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","bundle-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","compliance",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","compliance-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","chars",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","chars-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","resource",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","resource-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","service",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","service-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","attach",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","attach-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","relationships",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","relationships-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","summary",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","summary-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","upload-file-modal","tabindex","-1","aria-hidden","true",1,"flex","overflow-y-auto","overflow-x-hidden","fixed","top-0","right-0","left-0","z-40","justify-center","items-center","w-full","md:inset-0","h-modal","md:h-full","shadow-2xl",3,"ngClass"],[1,"fixed","w-fit","top-1/2","left-1/2","z-50",3,"message"],[1,"m-4","md:grid","md:grid-cols-2","gap-4",3,"formGroup"],["for","prod-name",1,"font-bold","text-lg","dark:text-white"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["for","prod-version",1,"font-bold","text-lg","dark:text-white"],["formControlName","version","type","text","id","prod-version",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["for","prod-brand",1,"font-bold","text-lg","dark:text-white"],["formControlName","brand","type","text","id","prod-brand",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["for","prod-number",1,"font-bold","text-lg","dark:text-white"],["formControlName","number","type","text","id","prod-number",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","prod-name",1,"font-bold","text-lg","col-span-2","dark:text-white"],[1,"w-full","col-span-2","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200"],[1,"flex","items-center","justify-between","px-3","py-2","border-b"],[1,"flex","flex-wrap","items-center","divide-gray-200","dark:divide-secondary-200","sm:divide-x","sm:rtl:divide-x-reverse"],[1,"flex","items-center","space-x-1","rtl:space-x-reverse","sm:pe-4","text-gray-500","dark:text-gray-200"],["type","button",1,"p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 5h4.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0-7H6m2 7h6.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0 0H6"],[1,"sr-only"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8.874 19 6.143-14M6 19h6.33m-.66-14H18"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M9 8h10M9 12h10M9 16h10M4.99 8H5m-.02 4h.01m0 4H5"],["type","button",1,"hidden","lg:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4"],["type","button",1,"hidden","md:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["fill-rule","evenodd","d","M5 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm0 12a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm1.65-9.76A1 1 0 0 0 5 9v6a1 1 0 0 0 1.65.76l3.5-3a1 1 0 0 0 0-1.52l-3.5-3ZM12 10a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Zm0 4a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Z","clip-rule","evenodd"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-width","2","d","M3 11h18m-9 0v8m-8 0h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 3v4a1 1 0 0 1-1 1H5m5 4-2 2 2 2m4-4 2 2-2 2m5-12v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M13.213 9.787a3.391 3.391 0 0 0-4.795 0l-3.425 3.426a3.39 3.39 0 0 0 4.795 4.794l.321-.304m-.321-4.49a3.39 3.39 0 0 0 4.795 0l3.424-3.426a3.39 3.39 0 0 0-4.794-4.795l-1.028.961"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-4","h-4"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM13.5 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm-7 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm3.5 9.5A5.5 5.5 0 0 1 4.6 11h10.81A5.5 5.5 0 0 1 10 15.5Z"],["type","button","data-tooltip-target","tooltip-fullscreen",1,"rounded","cursor-pointer","text-gray-500","dark:text-gray-200","p-2","sm:ms-auto","hover:text-gray-900","dark:hover:text-gray-900","hover:bg-gray-100",3,"click"],["stroke","currentColor","stroke-width","2","d","M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z"],["stroke","currentColor","stroke-width","2","d","M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"],["id","tooltip-fullscreen","role","tooltip",1,"absolute","z-10","invisible","inline-block","px-3","py-2","text-sm","font-medium","text-white","transition-opacity","duration-300","bg-gray-900","rounded-lg","shadow-sm","opacity-0","tooltip"],["data-popper-arrow","",1,"tooltip-arrow"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","rounded-b-lg"],["for","editor",1,"sr-only"],[1,"bg-gray-50","dark:bg-secondary-300","dark:text-white","text-gray-900","text-wrap","break-all",3,"data"],[3,"darkMode","style"],[1,"flex","w-full","justify-items-end","justify-end"],["type","button",1,"flex","text-white","justify-end","align-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],["id","editor","formControlName","description","rows","8","placeholder","Add product description...",1,"block","w-full","px-0","text-sm","text-gray-800","dark:text-gray-200","bg-white","dark:bg-secondary-300","border-0"],[3,"click","emojiClick","darkMode"],[1,"col-span-2","flex","align-items-middle","h-fit","m-4"],[1,"inline-flex","items-center","me-5","cursor-pointer","ml-4"],["type","checkbox",1,"sr-only","peer",3,"change","checked"],[1,"relative","w-11","h-6","bg-gray-400","dark:bg-gray-700","rounded-full","peer","peer-focus:ring-4","peer-focus:ring-primary-100","peer-checked:after:translate-x-full","rtl:peer-checked:after:-translate-x-full","peer-checked:after:border-white","after:content-['']","after:absolute","after:top-0.5","after:start-[2px]","after:bg-white","after:border-gray-300","after:border","after:rounded-full","after:h-5","after:w-5","after:transition-all","peer-checked:bg-primary-100"],[1,"flex","w-full","justify-items-end","justify-end","ml-4"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["role","status",1,"w-full","h-fit","flex","justify-center","align-middle"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"flex","justify-center","w-full","m-4"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","m-4"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"hidden","md:table-cell","px-6","py-3"],["scope","col",1,"hidden","lg:table-cell","px-6","py-3"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"px-6","py-4","text-wrap","break-all"],[1,"hidden","md:table-cell","px-6","py-4"],[1,"bg-blue-100","dark:bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"hidden","lg:table-cell","px-6","py-4"],[1,"px-6","py-4"],["id","select-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded","focus:ring-blue-500","dark:focus:ring-blue-600","dark:ring-offset-gray-800","focus:ring-2","dark:bg-gray-700","dark:border-gray-600",3,"click","checked"],[1,"bg-blue-100","dark:bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"flex","pt-6","pb-2","justify-center","align-middle"],[1,"flex","cursor-pointer","shadow-lg","items-center","justify-center","px-3","h-8","text-sm","font-medium","text-gray-500","dark:text-white","bg-white","dark:bg-primary-100","dark:hover:bg-secondary-100","border","border-gray-300","dark:border-secondary-200","rounded-lg","hover:bg-gray-200",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle","mt-2"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300","m-4"],[1,"flex","justify-center","w-full","m-4","dark:bg-secondary-300"],["id","dropdownButtonISO","data-dropdown-toggle","dropdownISO","type","button",1,"text-white","w-full","m-4","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center","justify-between",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 10 6",1,"w-2.5","h-2.5","ms-3"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 4 4 4-4"],["id","dropdownISO",1,"z-10","w-full","ml-4","mr-4","bg-secondary-50","dark:bg-secondary-300","divide-y","divide-gray-100","rounded-lg","shadow"],["aria-labelledby","dropdownButtonISO",1,"p-3","space-y-3","text-sm","text-gray-700"],[1,"flex","items-center","justify-between"],["for","checkbox-item-1",1,"ms-2","text-sm",3,"ngClass"],["type","button",1,"text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","18","height","18","fill","none","viewBox","0 0 24 24",1,"w-4","h-4","text-white"],[1,"px-6","py-4","inline-flex"],["type","button",1,"text-white","file-select-button","mr-4","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4","text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 5v9m-5 0H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2M8 9l4-5 4 5m1 8h.01"],["type","button",1,"text-white","bg-red-600","hover:bg-red-700","focus:ring-4","focus:outline-none","focus:ring-red-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center",3,"click"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M6 18 17.94 6M18 18 6.06 6"],[1,"flex","w-full","justify-items-center","justify-center"],[1,"flex","w-full","justify-items-end","justify-end","ml-4","mt-4"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],[1,"px-6","py-4","max-w-1/6","text-wrap","break-all"],[1,"hidden","lg:table-cell","px-6","py-4","text-wrap","break-all"],[1,"font-bold","text-white","bg-red-500","rounded-3xl",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4","text-white"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],[1,"m-4","grid","grid-cols-2","gap-4",3,"formGroup"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"font-bold","text-lg","dark:text-white"],["id","type",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],["selected","","value","string"],["value","number"],["value","range"],[1,"col-span-2"],["for","description",1,"font-bold","text-lg","dark:text-white"],["id","description","formControlName","description","rows","4",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"m-4"],["for","values",1,"font-bold","text-lg","dark:text-white"],[1,"flex","flex-row","items-center","align-items-middle"],[1,"flex","w-full","justify-items-center","justify-center","mt-4"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M11 16h2m6.707-9.293-2.414-2.414A1 1 0 0 0 16.586 4H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7.414a1 1 0 0 0-.293-.707ZM16 20v-6a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v6h8ZM9 4h6v3a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V4Z"],[1,"flex","flex-col","items-start","pl-4","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","border","border-gray-300","mb-2"],[1,"flex","w-full","justify-between"],[1,"align-items-middle","align-middle"],["id","disabled-checked-checkbox","type","checkbox","value","",1,"align-middle","w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded-full","focus:ring-blue-500","focus:ring-2",3,"click","checked"],["for","disabled-checked-checkbox",1,"ms-2","align-middle","text-sm","font-medium","text-gray-700","dark:text-white","text-wrap","break-all"],[1,"m-2","text-white","bg-red-500","rounded-3xl",3,"click"],["id","disabled-checked-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded-full","focus:ring-blue-500","focus:ring-2",3,"click","checked"],["for","disabled-checked-checkbox",1,"ms-2","text-sm","font-medium","text-gray-700","dark:text-white","text-wrap","break-all"],["type","text","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["type","button",1,"text-white","w-fit","h-full","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-white"],[1,"flex","flex-col","md:flex-row","items-center","align-items-middle"],[1,"flex","w-full","mb-2","md:mb-0"],[1,"inline-flex","items-center","px-3","text-sm","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","bg-gray-200","border","rounded-e-0","border-gray-300","border-e-0","rounded-s-md"],["type","number","pattern","[0-9]*","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["type","text","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"inline-flex"],[1,"ml-4","flex"],["data-popover-target","popover-default","clip-rule","evenodd","aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"flex","self-center","w-6","h-6","text-primary-100"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"],["data-popover","","id","popover-default","role","tooltip",1,"absolute","z-10","invisible","inline-block","w-64","text-sm","text-gray-500","transition-opacity","duration-300","bg-white","border","border-gray-200","rounded-lg","shadow-sm","opacity-0","dark:text-gray-400","dark:border-gray-600","dark:bg-gray-800"],[1,"px-3","py-2","bg-gray-100","border-b","border-gray-200","rounded-t-lg","dark:border-gray-600","dark:bg-gray-700"],[1,"font-semibold","text-gray-900","dark:text-white"],[1,"px-3","py-2","inline-block"],[1,"inline-block"],["data-popper-arrow",""],[1,"text-lg","font-bold","ml-4","dark:text-white"],[1,"relative","isolate","flex","flex-col","justify-end","overflow-hidden","rounded-2xl","px-8","pb-8","pt-40","max-w-sm","mx-auto","m-4","shadow-lg"],[1,"flex","justify-center","w-full","ml-6","mt-2","mb-2","mr-4"],[1,"absolute","inset-0","h-full","w-full","object-cover",3,"src"],[1,"z-10","absolute","top-2","right-2","p-1","font-bold","text-white","bg-red-500","rounded-3xl",3,"click"],[1,"flex","w-full","justify-center","justify-items-center"],["dropZoneLabel","Drop files here",1,"m-4","p-4","w-full",3,"onFileDrop","onFileOver","onFileLeave"],["ngx-file-drop-content-tmp","",1,"w-full"],[1,"font-bold","ml-6","dark:text-white"],[1,"flex","items-center","h-fit","ml-6","mt-2","mb-2","w-full","justify-between"],["type","text","id","att-name",1,"w-full","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","p-2.5",3,"formControl"],[1,"text-white","bg-primary-100","rounded-3xl","p-1","ml-2","h-fit",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 11.917 9.724 16.5 19 7.5"],[1,"w-full","flex","flex-col","justify-items-center","justify-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-12","h-12","text-primary-100","mx-auto"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M15 17h3a3 3 0 0 0 0-6h-.025a5.56 5.56 0 0 0 .025-.5A5.5 5.5 0 0 0 7.207 9.021C7.137 9.017 7.071 9 7 9a4 4 0 1 0 0 8h2.167M12 19v-9m0 0-2 2m2-2 2 2"],[1,"flex","w-full","justify-center"],[1,"text-gray-500","mr-2","w-fit"],[1,"font-medium","text-blue-600","dark:text-blue-500","hover:underline",3,"click"],[1,"m-4","w-full"],[1,"lg:flex","lg:grid","lg:grid-cols-2","w-full","gap-4","align-items-middle","align-middle","border","border-gray-200","dark:border-secondary-200","rounded-lg","p-4"],[1,"h-fit"],["for","att-name",1,"font-bold","text-lg","dark:text-white"],["type","text","id","att-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"formControl","ngClass"],["dropZoneLabel","Drop files here",1,"p-4","w-full"],["dropZoneLabel","Drop files here",1,"p-4","w-full",3,"onFileDrop","onFileOver","onFileLeave"],["role","alert",1,"relative","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],[1,"text-wrap","break-all"],[1,"flex","justify-center","w-full","mb-4"],[1,"bg-blue-100","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"bg-blue-100","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],["selected","","value","migration"],["value","dependency"],["value","exclusivity"],["value","substitution"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","mt-4"],["scope","col",1,"px-6","py-3","hidden","md:table-cell"],[1,"border-b","hover:bg-gray-200","dark:border-gray-700","dark:hover:bg-secondary-200",3,"ngClass"],[1,"border-b","hover:bg-gray-200","dark:border-gray-700","dark:hover:bg-secondary-200",3,"click","ngClass"],[1,"px-6","py-4","hidden","md:table-cell"],[1,"m-8"],[1,"mb-4","md:grid","md:grid-cols-2","gap-4"],[1,"mb-2","bg-gray-50","text-wrap","break-all","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"mb-4"],[1,"font-bold","text-lg","mr-4","dark:text-white"],[1,"bg-blue-100","dark:bg-secondary-100","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"bg-blue-100","dark:bg-secondary-100","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-100","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-100","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"px-4","py-2","bg-white","rounded-lg","p-4","dark:bg-secondary-300","border","dark:border-secondary-200"],[1,"bg-gray-50","text-wrap","break-all","dark:bg-secondary-300","dark:text-white","text-gray-900",3,"data"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","mb-4"],[1,"bg-blue-100","dark:bg-secondary-200","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"bg-blue-100","dark:bg-secondary-200","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-200","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-200","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"relative","p-4","w-full","max-w-md","h-full","md:h-auto",3,"click"],[1,"relative","p-4","text-center","bg-secondary-50","rounded-lg","shadow","sm:p-5"],["type","button",1,"text-gray-400","absolute","top-2.5","right-2.5","bg-transparent","hover:bg-gray-200","hover:text-gray-900","rounded-lg","text-sm","p-1.5","ml-auto","inline-flex","items-center",3,"click"],["aria-hidden","true","fill","currentColor","viewBox","0 0 20 20","xmlns","http://www.w3.org/2000/svg",1,"w-5","h-5"],["fill-rule","evenodd","d","M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule","evenodd"],["dropZoneLabel","Drop files here",1,"m-4","p-4",3,"onFileDrop","onFileOver","onFileLeave"],["ngx-file-drop-content-tmp",""],[1,"flex","justify-center","items-center","space-x-4"],["type","button",1,"py-2","px-3","text-sm","font-medium","text-gray-500","bg-white","rounded-lg","border","border-gray-200","hover:bg-gray-100","focus:ring-4","focus:outline-none","focus:ring-primary-300","hover:text-gray-900","focus:z-10",3,"click"],["type","submit",1,"py-2","px-3","text-sm","font-medium","text-center","text-white","bg-primary-100","hover:bg-primary-50","rounded-lg","focus:ring-4","focus:outline-none","focus:ring-primary-50",3,"click"],[1,"text-gray-500","mr-4"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",8)(2,"nav",9)(3,"ol",10)(4,"li",11)(5,"button",12),C("click",function(){return t.goBack()}),w(),o(6,"svg",13),v(7,"path",14),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",15)(11,"div",16),w(),o(12,"svg",17),v(13,"path",18),n(),O(),o(14,"span",19),f(15),m(16,"translate"),n()()()()()(),o(17,"div",20)(18,"h2",21),f(19),m(20,"translate"),n(),v(21,"hr",22),o(22,"div",23)(23,"div",24)(24,"h2",25),f(25),m(26,"translate"),n(),o(27,"button",26),C("click",function(){return t.toggleGeneral()}),o(28,"span",27),f(29," 1 "),n(),o(30,"span")(31,"h3",28),f(32),m(33,"translate"),n(),o(34,"p",29),f(35),m(36,"translate"),n()()(),v(37,"hr",30),o(38,"button",31),C("click",function(){return t.toggleBundle()}),o(39,"span",32),f(40," 2 "),n(),o(41,"span")(42,"h3",28),f(43),m(44,"translate"),n(),o(45,"p",29),f(46),m(47,"translate"),n()()(),v(48,"hr",30),o(49,"button",33),C("click",function(){return t.toggleCompliance()}),o(50,"span",34),f(51," 3 "),n(),o(52,"span")(53,"h3",28),f(54),m(55,"translate"),n(),o(56,"p",29),f(57),m(58,"translate"),n()()(),v(59,"hr",30),o(60,"button",35),C("click",function(){return t.toggleChars()}),o(61,"span",36),f(62," 4 "),n(),o(63,"span")(64,"h3",28),f(65),m(66,"translate"),n(),o(67,"p",29),f(68),m(69,"translate"),n()()(),v(70,"hr",30),o(71,"button",37),C("click",function(){return t.toggleResource()}),o(72,"span",38),f(73," 5 "),n(),o(74,"span")(75,"h3",28),f(76),m(77,"translate"),n(),o(78,"p",29),f(79),m(80,"translate"),n()()(),v(81,"hr",30),o(82,"button",39),C("click",function(){return t.toggleService()}),o(83,"span",40),f(84," 6 "),n(),o(85,"span")(86,"h3",28),f(87),m(88,"translate"),n(),o(89,"p",29),f(90),m(91,"translate"),n()()(),v(92,"hr",30),o(93,"button",41),C("click",function(){return t.toggleAttach()}),o(94,"span",42),f(95," 7 "),n(),o(96,"span")(97,"h3",28),f(98),m(99,"translate"),n(),o(100,"p",29),f(101),m(102,"translate"),n()()(),v(103,"hr",30),o(104,"button",43),C("click",function(){return t.toggleRelationship()}),o(105,"span",44),f(106," 8 "),n(),o(107,"span")(108,"h3",28),f(109),m(110,"translate"),n(),o(111,"p",29),f(112),m(113,"translate"),n()()(),v(114,"hr",30),o(115,"button",45),C("click",function(){return t.showFinish()}),o(116,"span",46),f(117," 9 "),n(),o(118,"span")(119,"h3",28),f(120),m(121,"translate"),n(),o(122,"p",29),f(123),m(124,"translate"),n()()()(),o(125,"div"),R(126,ZY3,102,55)(127,dG3,17,13)(128,gG3,27,19)(129,RG3,13,8)(130,QG3,13,8)(131,fq3,13,8)(132,Vq3,35,21)(133,Uq3,14,8)(134,MW3,45,31),n()()()(),R(135,yW3,15,1,"div",47)(136,bW3,1,1,"error-message",48)),2&a&&(s(8),V(" ",_(9,42,"CREATE_PROD_SPEC._back")," "),s(7),H(_(16,44,"CREATE_PROD_SPEC._create")),s(4),H(_(20,46,"CREATE_PROD_SPEC._new")),s(6),H(_(26,48,"CREATE_PROD_SPEC._steps")),s(2),k("disabled",!t.generalDone),s(5),H(_(33,50,"CREATE_PROD_SPEC._general")),s(3),H(_(36,52,"CREATE_PROD_SPEC._general_info")),s(3),k("disabled",!t.bundleDone),s(5),H(_(44,54,"CREATE_PROD_SPEC._bundle")),s(3),H(_(47,56,"CREATE_PROD_SPEC._bundle_info")),s(3),k("disabled",!t.complianceDone),s(5),H(_(55,58,"CREATE_PROD_SPEC._comp_profile")),s(3),H(_(58,60,"CREATE_PROD_SPEC._comp_profile_info")),s(3),k("disabled",!t.charsDone),s(5),H(_(66,62,"CREATE_PROD_SPEC._chars")),s(3),H(_(69,64,"CREATE_PROD_SPEC._chars_info")),s(3),k("disabled",!t.resourceDone),s(5),H(_(77,66,"CREATE_PROD_SPEC._resource")),s(3),H(_(80,68,"CREATE_PROD_SPEC._resource_info")),s(3),k("disabled",!t.serviceDone),s(5),H(_(88,70,"CREATE_PROD_SPEC._service")),s(3),H(_(91,72,"CREATE_PROD_SPEC._service_info")),s(3),k("disabled",!t.attachDone),s(5),H(_(99,74,"CREATE_PROD_SPEC._attachments")),s(3),H(_(102,76,"CREATE_PROD_SPEC._attachments_info")),s(3),k("disabled",!t.relationshipDone),s(5),H(_(110,78,"CREATE_PROD_SPEC._relationships")),s(3),H(_(113,80,"CREATE_PROD_SPEC._relationships_info")),s(3),k("disabled",!t.finishDone),s(5),H(_(121,82,"CREATE_PROD_SPEC._finish")),s(3),H(_(124,84,"CREATE_PROD_SPEC._summary")),s(3),S(126,t.showGeneral?126:-1),s(),S(127,t.showBundle?127:-1),s(),S(128,t.showCompliance?128:-1),s(),S(129,t.showChars?129:-1),s(),S(130,t.showResource?130:-1),s(),S(131,t.showService?131:-1),s(),S(132,t.showAttach?132:-1),s(),S(133,t.showRelationships?133:-1),s(),S(134,t.showSummary?134:-1),s(),S(135,t.showUploadFile?135:-1),s(),S(136,t.showError?136:-1))},dependencies:[k2,I4,x6,w6,H4,S4,O4,H5,X4,f3,G3,Yl,$l,_4,C4,Q4,X1],styles:[".floating-div[_ngcontent-%COMP%]{position:relative;top:-50px;left:50%;transform:translate(-50%);padding:10px;border-radius:5px}.disabled[_ngcontent-%COMP%]{cursor:not-allowed}"]})}return c})();const wW3=["stringValue"],FW3=["numberValue"],kW3=["numberUnit"],SW3=["fromValue"],NW3=["toValue"],DW3=["rangeUnit"],TW3=()=>({position:"relative",left:"200px",top:"-500px"});function EW3(c,r){1&c&&v(0,"markdown",67),2&c&&k("data",h(2).description)}function AW3(c,r){1&c&&v(0,"textarea",73)}function PW3(c,r){if(1&c){const e=j();o(0,"emoji-mart",74),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(2).addEmoji(t))}),n()}2&c&&(Y2(E4(3,TW3)),k("darkMode",!1))}function RW3(c,r){if(1&c){const e=j();o(0,"h2",19),f(1),m(2,"translate"),n(),o(3,"form",34)(4,"label",35),f(5),m(6,"translate"),n(),v(7,"input",36),o(8,"label",35),f(9),m(10,"translate"),n(),o(11,"div",37)(12,"div",38)(13,"div",39)(14,"div",40)(15,"button",41),C("click",function(){return y(e),b(h().addBold())}),w(),o(16,"svg",42),v(17,"path",43),n(),O(),o(18,"span",44),f(19,"Bold"),n()(),o(20,"button",41),C("click",function(){return y(e),b(h().addItalic())}),w(),o(21,"svg",42),v(22,"path",45),n(),O(),o(23,"span",44),f(24,"Italic"),n()(),o(25,"button",41),C("click",function(){return y(e),b(h().addList())}),w(),o(26,"svg",46),v(27,"path",47),n(),O(),o(28,"span",44),f(29,"Add list"),n()(),o(30,"button",48),C("click",function(){return y(e),b(h().addOrderedList())}),w(),o(31,"svg",46),v(32,"path",49),n(),O(),o(33,"span",44),f(34,"Add ordered list"),n()(),o(35,"button",50),C("click",function(){return y(e),b(h().addBlockquote())}),w(),o(36,"svg",51),v(37,"path",52),n(),O(),o(38,"span",44),f(39,"Add blockquote"),n()(),o(40,"button",50),C("click",function(){return y(e),b(h().addTable())}),w(),o(41,"svg",53),v(42,"path",54),n(),O(),o(43,"span",44),f(44,"Add table"),n()(),o(45,"button",41),C("click",function(){return y(e),b(h().addCode())}),w(),o(46,"svg",53),v(47,"path",55),n(),O(),o(48,"span",44),f(49,"Add code"),n()(),o(50,"button",50),C("click",function(){return y(e),b(h().addCodeBlock())}),w(),o(51,"svg",53),v(52,"path",56),n(),O(),o(53,"span",44),f(54,"Add code block"),n()(),o(55,"button",50),C("click",function(){return y(e),b(h().addLink())}),w(),o(56,"svg",53),v(57,"path",57),n(),O(),o(58,"span",44),f(59,"Add link"),n()(),o(60,"button",48),C("click",function(t){y(e);const i=h();return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(61,"svg",58),v(62,"path",59),n(),O(),o(63,"span",44),f(64,"Add emoji"),n()()()(),o(65,"button",60),C("click",function(){y(e);const t=h();return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(66,"svg",46),v(67,"path",61)(68,"path",62),n(),O(),o(69,"span",44),f(70),m(71,"translate"),n()(),o(72,"div",63),f(73),m(74,"translate"),v(75,"div",64),n()(),o(76,"div",65)(77,"label",66),f(78,"Publish post"),n(),R(79,EW3,1,1,"markdown",67)(80,AW3,1,0)(81,PW3,1,4,"emoji-mart",68),n()()(),o(82,"div",69)(83,"button",70),C("click",function(){y(e);const t=h();return t.toggleChars(),b(t.generalDone=!0)}),f(84),m(85,"translate"),w(),o(86,"svg",71),v(87,"path",72),n()()()}if(2&c){let e;const a=h();s(),H(_(2,32,"CREATE_SERV_SPEC._general")),s(2),k("formGroup",a.generalForm),s(2),H(_(6,34,"CREATE_SERV_SPEC._name")),s(2),k("ngClass",1==(null==(e=a.generalForm.get("name"))?null:e.invalid)&&""!=a.generalForm.value.name?"border-red-600":"border-gray-300"),s(2),H(_(10,36,"CREATE_SERV_SPEC._description")),s(6),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(71,38,"CREATE_CATALOG._preview")),s(3),V(" ",_(74,40,"CREATE_CATALOG._show_preview")," "),s(6),S(79,a.showPreview?79:80),s(2),S(81,a.showEmoji?81:-1),s(2),k("disabled",!a.generalForm.valid)("ngClass",a.generalForm.valid?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(85,42,"CREATE_SERV_SPEC._next")," ")}}function BW3(c,r){1&c&&(o(0,"div",75)(1,"div",79),w(),o(2,"svg",80),v(3,"path",81),n(),O(),o(4,"span",44),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"CREATE_SERV_SPEC._no_chars")," "))}function OW3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function IW3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function UW3(c,r){if(1&c&&R(0,OW3,4,2)(1,IW3,3,2),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function jW3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function $W3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function YW3(c,r){if(1&c&&R(0,jW3,4,3)(1,$W3,3,3),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function GW3(c,r){1&c&&R(0,UW3,2,1)(1,YW3,2,1),2&c&&S(0,r.$implicit.value?0:1)}function qW3(c,r){if(1&c){const e=j();o(0,"tr",87)(1,"td",88),f(2),n(),o(3,"td",88),f(4),n(),o(5,"td",88),c1(6,GW3,2,1,null,null,z1),n(),o(8,"td",89)(9,"button",90),C("click",function(){const t=y(e).$implicit;return b(h(3).deleteChar(t))}),w(),o(10,"svg",91),v(11,"path",92),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),a1(e.characteristicValueSpecification)}}function WW3(c,r){if(1&c&&(o(0,"div",82)(1,"table",83)(2,"thead",84)(3,"tr")(4,"th",85),f(5),m(6,"translate"),n(),o(7,"th",86),f(8),m(9,"translate"),n(),o(10,"th",85),f(11),m(12,"translate"),n(),o(13,"th",85),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,qW3,12,2,"tr",87,z1),n()()()),2&c){const e=h(2);s(5),V(" ",_(6,4,"CREATE_SERV_SPEC._name")," "),s(3),V(" ",_(9,6,"CREATE_SERV_SPEC._description")," "),s(3),V(" ",_(12,8,"CREATE_SERV_SPEC._values")," "),s(3),V(" ",_(15,10,"CREATE_SERV_SPEC._actions")," "),s(3),a1(e.prodChars)}}function ZW3(c,r){if(1&c){const e=j();o(0,"div",76)(1,"button",93),C("click",function(){y(e);const t=h(2);return b(t.showCreateChar=!t.showCreateChar)}),f(2),m(3,"translate"),w(),o(4,"svg",94),v(5,"path",95),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_SERV_SPEC._new_char")," "))}function KW3(c,r){if(1&c){const e=j();o(0,"div",113)(1,"div",114)(2,"input",115),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).selectDefaultChar(i,l))}),n(),o(3,"label",116),f(4),o(5,"i"),f(6),n()()(),o(7,"button",117),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).removeCharValue(i,l))}),w(),o(8,"svg",91),v(9,"path",92),n()()()}if(2&c){const e=r.$implicit;s(2),k("checked",null==e?null:e.isDefault),s(2),j1("",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function QW3(c,r){1&c&&c1(0,KW3,10,4,"div",113,z1),2&c&&a1(h(4).creatingChars)}function JW3(c,r){if(1&c){const e=j();o(0,"div",113)(1,"div",114)(2,"input",118),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).selectDefaultChar(i,l))}),n(),o(3,"label",119),f(4),o(5,"i"),f(6),n()()(),o(7,"button",117),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).removeCharValue(i,l))}),w(),o(8,"svg",91),v(9,"path",92),n()()()}if(2&c){const e=r.$implicit;s(2),k("checked",null==e?null:e.isDefault),s(2),V("",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function XW3(c,r){1&c&&c1(0,JW3,10,3,"div",113,z1),2&c&&a1(h(4).creatingChars)}function eZ3(c,r){if(1&c&&(o(0,"label",107),f(1,"Values"),n(),o(2,"div",112),R(3,QW3,2,0)(4,XW3,2,0),n()),2&c){const e=h(3);s(3),S(3,e.rangeCharSelected?3:4)}}function cZ3(c,r){if(1&c){const e=j();o(0,"div",108),v(1,"input",120,0),o(3,"button",121),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(4,"svg",122),v(5,"path",95),n()()()}}function aZ3(c,r){if(1&c){const e=j();o(0,"div",123)(1,"div",124)(2,"span",125),f(3),m(4,"translate"),n(),v(5,"input",126,1),n(),o(7,"div",124)(8,"span",125),f(9),m(10,"translate"),n(),v(11,"input",127,2),n(),o(13,"button",121),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(14,"svg",122),v(15,"path",95),n()()()}2&c&&(s(3),V(" ",_(4,2,"CREATE_SERV_SPEC._value")," "),s(6),V(" ",_(10,4,"CREATE_SERV_SPEC._unit")," "))}function rZ3(c,r){if(1&c){const e=j();o(0,"div",128)(1,"div",124)(2,"span",129),f(3),m(4,"translate"),n(),v(5,"input",126,3),n(),o(7,"div",124)(8,"span",129),f(9),m(10,"translate"),n(),v(11,"input",126,4),n(),o(13,"div",124)(14,"span",129),f(15),m(16,"translate"),n(),v(17,"input",127,5),n(),o(19,"button",121),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(20,"svg",122),v(21,"path",95),n()()()}2&c&&(s(3),V(" ",_(4,3,"CREATE_SERV_SPEC._from")," "),s(6),V(" ",_(10,5,"CREATE_SERV_SPEC._to")," "),s(6),V(" ",_(16,7,"CREATE_SERV_SPEC._unit")," "))}function tZ3(c,r){if(1&c){const e=j();o(0,"form",96)(1,"div")(2,"label",35),f(3),m(4,"translate"),n(),v(5,"input",97),n(),o(6,"div")(7,"label",98),f(8),m(9,"translate"),n(),o(10,"select",99),C("change",function(t){return y(e),b(h(2).onTypeChange(t))}),o(11,"option",100),f(12,"String"),n(),o(13,"option",101),f(14,"Number"),n(),o(15,"option",102),f(16,"Number range"),n()()(),o(17,"div",103)(18,"label",104),f(19),m(20,"translate"),n(),v(21,"textarea",105),n()(),o(22,"div",106),R(23,eZ3,5,1),o(24,"label",107),f(25),m(26,"translate"),n(),R(27,cZ3,6,0,"div",108)(28,aZ3,16,6)(29,rZ3,22,9),o(30,"div",109)(31,"button",110),C("click",function(){return y(e),b(h(2).saveChar())}),f(32),m(33,"translate"),w(),o(34,"svg",94),v(35,"path",111),n()()()()}if(2&c){const e=h(2);k("formGroup",e.charsForm),s(3),H(_(4,10,"PROFILE._name")),s(5),H(_(9,12,"CREATE_SERV_SPEC._type")),s(11),H(_(20,14,"CREATE_SERV_SPEC._description")),s(4),S(23,e.creatingChars.length>0?23:-1),s(2),H(_(26,16,"CREATE_SERV_SPEC._add_values")),s(2),S(27,e.stringCharSelected?27:e.numberCharSelected?28:e.rangeCharSelected?29:-1),s(4),k("disabled",!e.charsForm.valid||0==e.creatingChars.length)("ngClass",e.charsForm.valid&&0!=e.creatingChars.length?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(33,18,"CREATE_SERV_SPEC._save_char")," ")}}function iZ3(c,r){if(1&c){const e=j();o(0,"h2",19),f(1),m(2,"translate"),n(),R(3,BW3,9,3,"div",75)(4,WW3,19,12)(5,ZW3,6,3,"div",76)(6,tZ3,36,20),o(7,"div",77)(8,"button",78),C("click",function(){y(e);const t=h();return t.showFinish(),b(t.charsDone=!0)}),f(9),m(10,"translate"),w(),o(11,"svg",71),v(12,"path",72),n()()()}if(2&c){const e=h();s(),H(_(2,4,"CREATE_SERV_SPEC._chars")),s(2),S(3,0===e.prodChars.length?3:4),s(2),S(5,0==e.showCreateChar?5:6),s(4),V(" ",_(10,6,"CREATE_SERV_SPEC._finish")," ")}}function oZ3(c,r){if(1&c&&(o(0,"span",134),f(1),n()),2&c){const e=h(2);s(),H(null==e.serviceToCreate?null:e.serviceToCreate.lifecycleStatus)}}function nZ3(c,r){if(1&c&&(o(0,"span",136),f(1),n()),2&c){const e=h(2);s(),H(null==e.serviceToCreate?null:e.serviceToCreate.lifecycleStatus)}}function sZ3(c,r){if(1&c&&(o(0,"span",137),f(1),n()),2&c){const e=h(2);s(),H(null==e.serviceToCreate?null:e.serviceToCreate.lifecycleStatus)}}function lZ3(c,r){if(1&c&&(o(0,"span",138),f(1),n()),2&c){const e=h(2);s(),H(null==e.serviceToCreate?null:e.serviceToCreate.lifecycleStatus)}}function fZ3(c,r){if(1&c&&(o(0,"label",98),f(1),m(2,"translate"),n(),o(3,"div",139),v(4,"markdown",140),n()),2&c){const e=h(2);s(),H(_(2,2,"CREATE_PROD_SPEC._product_description")),s(3),k("data",null==e.serviceToCreate?null:e.serviceToCreate.description)}}function dZ3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function uZ3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function hZ3(c,r){if(1&c&&R(0,dZ3,4,2)(1,uZ3,3,2),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function mZ3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function _Z3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function pZ3(c,r){if(1&c&&R(0,mZ3,4,3)(1,_Z3,3,3),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function gZ3(c,r){1&c&&R(0,hZ3,2,1)(1,pZ3,2,1),2&c&&S(0,r.$implicit.value?0:1)}function vZ3(c,r){if(1&c&&(o(0,"tr",87)(1,"td",88),f(2),n(),o(3,"td",142),f(4),n(),o(5,"td",88),c1(6,gZ3,2,1,null,null,z1),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),a1(e.characteristicValueSpecification)}}function HZ3(c,r){if(1&c&&(o(0,"label",98),f(1),m(2,"translate"),n(),o(3,"div",141)(4,"table",83)(5,"thead",84)(6,"tr")(7,"th",85),f(8),m(9,"translate"),n(),o(10,"th",86),f(11),m(12,"translate"),n(),o(13,"th",85),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,vZ3,8,2,"tr",87,z1),n()()()),2&c){const e=h(2);s(),H(_(2,4,"CREATE_PROD_SPEC._chars")),s(7),V(" ",_(9,6,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(12,8,"CREATE_PROD_SPEC._product_description")," "),s(3),V(" ",_(15,10,"CREATE_PROD_SPEC._values")," "),s(3),a1(null==e.serviceToCreate?null:e.serviceToCreate.specCharacteristic)}}function CZ3(c,r){if(1&c){const e=j();o(0,"h2",19),f(1),m(2,"translate"),n(),o(3,"div",130)(4,"div")(5,"label",98),f(6),m(7,"translate"),n(),o(8,"label",131),f(9),n()(),o(10,"div",132)(11,"label",133),f(12),m(13,"translate"),n(),R(14,oZ3,2,1,"span",134)(15,nZ3,2,1)(16,sZ3,2,1)(17,lZ3,2,1),n(),R(18,fZ3,5,4)(19,HZ3,19,12),o(20,"div",135)(21,"button",78),C("click",function(){return y(e),b(h().createService())}),f(22),m(23,"translate"),w(),o(24,"svg",71),v(25,"path",72),n()()()()}if(2&c){const e=h();s(),H(_(2,8,"CREATE_PROD_SPEC._finish")),s(5),H(_(7,10,"CREATE_PROD_SPEC._product_name")),s(3),V(" ",null==e.serviceToCreate?null:e.serviceToCreate.name," "),s(3),H(_(13,12,"CREATE_PROD_SPEC._status")),s(2),S(14,"Active"==(null==e.serviceToCreate?null:e.serviceToCreate.lifecycleStatus)?14:"Launched"==(null==e.serviceToCreate?null:e.serviceToCreate.lifecycleStatus)?15:"Retired"==(null==e.serviceToCreate?null:e.serviceToCreate.lifecycleStatus)?16:"Obsolete"==(null==e.serviceToCreate?null:e.serviceToCreate.lifecycleStatus)?17:-1),s(4),S(18,""!=(null==e.serviceToCreate?null:e.serviceToCreate.description)?18:-1),s(),S(19,e.prodChars.length>0?19:-1),s(3),V(" ",_(23,14,"CREATE_SERV_SPEC._create_serv")," ")}}function zZ3(c,r){1&c&&v(0,"error-message",33),2&c&&k("message",h().errorMessage)}let VZ3=(()=>{class c{constructor(e,a,t,i,l,d){this.router=e,this.cdr=a,this.localStorage=t,this.eventMessage=i,this.elementRef=l,this.servSpecService=d,this.partyId="",this.stepsElements=["general-info","chars","summary"],this.stepsCircles=["general-circle","chars-circle","summary-circle"],this.showPreview=!1,this.showEmoji=!1,this.description="",this.showGeneral=!0,this.showChars=!1,this.showSummary=!1,this.generalDone=!1,this.charsDone=!1,this.finishDone=!1,this.generalForm=new S2({name:new u1("",[O1.required]),description:new u1("")}),this.charsForm=new S2({name:new u1("",[O1.required]),description:new u1("")}),this.stringCharSelected=!0,this.numberCharSelected=!1,this.rangeCharSelected=!1,this.prodChars=[],this.creatingChars=[],this.showCreateChar=!1,this.errorMessage="",this.showError=!1,this.eventMessage.messages$.subscribe(u=>{"ChangedSession"===u.type&&this.initPartyInfo()})}onClick(){1==this.showEmoji&&(this.showEmoji=!1,this.cdr.detectChanges())}ngOnInit(){this.initPartyInfo()}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0)if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}}goBack(){this.eventMessage.emitSellerServiceSpec(!0)}toggleGeneral(){this.selectStep("general-info","general-circle"),this.showGeneral=!0,this.showChars=!1,this.showSummary=!1,this.showPreview=!1}toggleChars(){this.selectStep("chars","chars-circle"),this.showGeneral=!1,this.showChars=!0,this.showSummary=!1,this.showPreview=!1}onTypeChange(e){"string"==e.target.value?(this.stringCharSelected=!0,this.numberCharSelected=!1,this.rangeCharSelected=!1):"number"==e.target.value?(this.stringCharSelected=!1,this.numberCharSelected=!0,this.rangeCharSelected=!1):(this.stringCharSelected=!1,this.numberCharSelected=!1,this.rangeCharSelected=!0),this.creatingChars=[]}addCharValue(){this.stringCharSelected?(console.log("string"),this.creatingChars.push(0==this.creatingChars.length?{isDefault:!0,value:this.charStringValue.nativeElement.value}:{isDefault:!1,value:this.charStringValue.nativeElement.value})):this.numberCharSelected?(console.log("number"),this.creatingChars.push(0==this.creatingChars.length?{isDefault:!0,value:this.charNumberValue.nativeElement.value,unitOfMeasure:this.charNumberUnit.nativeElement.value}:{isDefault:!1,value:this.charNumberValue.nativeElement.value,unitOfMeasure:this.charNumberUnit.nativeElement.value})):(console.log("range"),this.creatingChars.push(0==this.creatingChars.length?{isDefault:!0,valueFrom:this.charFromValue.nativeElement.value,valueTo:this.charToValue.nativeElement.value,unitOfMeasure:this.charRangeUnit.nativeElement.value}:{isDefault:!1,valueFrom:this.charFromValue.nativeElement.value,valueTo:this.charToValue.nativeElement.value,unitOfMeasure:this.charRangeUnit.nativeElement.value}))}selectDefaultChar(e,a){for(let t=0;tt.id===e.id);-1!==a&&(console.log("eliminar"),this.prodChars.splice(a,1)),this.cdr.detectChanges(),console.log(this.prodChars)}showFinish(){this.charsDone=!0,this.finishDone=!0,null!=this.generalForm.value.name&&(this.serviceToCreate={name:this.generalForm.value.name,description:null!=this.generalForm.value.description?this.generalForm.value.description:"",lifecycleStatus:"Active",specCharacteristic:this.prodChars,relatedParty:[{id:this.partyId,role:"Owner","@referredType":""}]},console.log("SERVICE TO CREATE:"),console.log(this.serviceToCreate),this.showChars=!1,this.showGeneral=!1,this.showSummary=!0,this.selectStep("summary","summary-circle")),this.showPreview=!1}createService(){this.servSpecService.postServSpec(this.serviceToCreate).subscribe({next:e=>{this.goBack(),console.log("serv created")},error:e=>{console.error("There was an error while creating!",e),e.error.error?(console.log(e),this.errorMessage="Error: "+e.error.error):this.errorMessage="There was an error while creating the service!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}removeClass(e,a){e.className=(" "+e.className+" ").replace(" "+a+" "," ").replace(/^\s+|\s+$/g,"")}addClass(e,a){e.className+=" "+a}unselectMenu(e,a){null!=e&&(e.className.match(a)?this.removeClass(e,a):console.log("already unselected"))}selectMenu(e,a){null!=e&&(e.className.match(a)?console.log("already selected"):this.addClass(e,a))}selectStep(e,a){const t=this.stepsElements.findIndex(l=>l===e);if(-1!==t){this.stepsElements.splice(t,1),this.selectMenu(document.getElementById(e),"text-primary-100 dark:text-primary-50"),this.unselectMenu(document.getElementById(e),"text-gray-500");for(let l=0;ll===a);if(-1!==t){this.stepsCircles.splice(i,1),this.selectMenu(document.getElementById(a),"border-primary-100 dark:border-primary-50"),this.unselectMenu(document.getElementById(a),"border-gray-400");for(let l=0;l blockquote"})}addLink(){this.generalForm.patchValue({description:this.generalForm.value.description+" [title](https://www.example.com) "})}addTable(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"})}addEmoji(e){console.log(e),this.showEmoji=!1,this.generalForm.patchValue({description:this.generalForm.value.description+e.emoji.native})}togglePreview(){this.generalForm.value.description&&(this.description=this.generalForm.value.description)}static#e=this.\u0275fac=function(a){return new(a||c)(B(Q1),B(B1),B(A1),B(e2),B(C2),B(N4))};static#c=this.\u0275cmp=V1({type:c,selectors:[["create-service-spec"]],viewQuery:function(a,t){if(1&a&&(b1(wW3,5),b1(FW3,5),b1(kW3,5),b1(SW3,5),b1(NW3,5),b1(DW3,5)),2&a){let i;M1(i=L1())&&(t.charStringValue=i.first),M1(i=L1())&&(t.charNumberValue=i.first),M1(i=L1())&&(t.charNumberUnit=i.first),M1(i=L1())&&(t.charFromValue=i.first),M1(i=L1())&&(t.charToValue=i.first),M1(i=L1())&&(t.charRangeUnit=i.first)}},hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},decls:64,vars:37,consts:[["stringValue",""],["numberValue",""],["numberUnit",""],["fromValue",""],["toValue",""],["rangeUnit",""],[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-gray-200","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800","dark:text-white"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","mt-4","p-8","rounded-lg"],[1,"text-3xl","font-bold","text-primary-100","ml-4","dark:text-white"],[1,"h-px","m-4","bg-gray-300","dark:bg-gray-200","border-0"],[1,"md:grid","md:grid-cols-25/75","xl:grid-cols-20/80"],[1,"flex","sm:flex-row","md:flex-col","md:mr-4","w-full","overflow-x-auto","max-w-[calc(100vw-5rem)]"],[1,"hidden","md:block","text-xl","font-bold","text-black","mb-4","dark:text-white"],["id","general-info",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-primary-100","dark:text-primary-50","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","general-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-primary-100","dark:border-primary-50","rounded-full","shrink-0"],[1,"flex","leading-tight","justify-start"],[1,"hidden","xl:flex","text-xs","justify-start"],[1,"h-px","mb-2","bg-gray-300","dark:bg-gray-200","border-0"],["id","chars",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","chars-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","summary",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","summary-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],[1,"fixed","w-fit","top-1/2","left-1/2",3,"message"],[1,"m-4","gap-4",3,"formGroup"],["for","prod-name",1,"font-bold","text-lg","dark:text-white"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],[1,"w-full","col-span-2","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200"],[1,"flex","items-center","justify-between","px-3","py-2","border-b"],[1,"flex","flex-wrap","items-center","divide-gray-200","dark:divide-secondary-200","sm:divide-x","sm:rtl:divide-x-reverse"],[1,"flex","items-center","space-x-1","rtl:space-x-reverse","sm:pe-4","text-gray-500","dark:text-gray-200"],["type","button",1,"p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 5h4.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0-7H6m2 7h6.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0 0H6"],[1,"sr-only"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8.874 19 6.143-14M6 19h6.33m-.66-14H18"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M9 8h10M9 12h10M9 16h10M4.99 8H5m-.02 4h.01m0 4H5"],["type","button",1,"hidden","lg:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4"],["type","button",1,"hidden","md:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["fill-rule","evenodd","d","M5 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm0 12a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm1.65-9.76A1 1 0 0 0 5 9v6a1 1 0 0 0 1.65.76l3.5-3a1 1 0 0 0 0-1.52l-3.5-3ZM12 10a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Zm0 4a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Z","clip-rule","evenodd"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-width","2","d","M3 11h18m-9 0v8m-8 0h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 3v4a1 1 0 0 1-1 1H5m5 4-2 2 2 2m4-4 2 2-2 2m5-12v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M13.213 9.787a3.391 3.391 0 0 0-4.795 0l-3.425 3.426a3.39 3.39 0 0 0 4.795 4.794l.321-.304m-.321-4.49a3.39 3.39 0 0 0 4.795 0l3.424-3.426a3.39 3.39 0 0 0-4.794-4.795l-1.028.961"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-4","h-4"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM13.5 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm-7 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm3.5 9.5A5.5 5.5 0 0 1 4.6 11h10.81A5.5 5.5 0 0 1 10 15.5Z"],["type","button","data-tooltip-target","tooltip-fullscreen",1,"rounded","cursor-pointer","text-gray-500","dark:text-gray-200","p-2","sm:ms-auto","hover:text-gray-900","dark:hover:text-gray-900","hover:bg-gray-100",3,"click"],["stroke","currentColor","stroke-width","2","d","M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z"],["stroke","currentColor","stroke-width","2","d","M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"],["id","tooltip-fullscreen","role","tooltip",1,"absolute","z-10","invisible","inline-block","px-3","py-2","text-sm","font-medium","text-white","transition-opacity","duration-300","bg-gray-900","rounded-lg","shadow-sm","opacity-0","tooltip"],["data-popper-arrow","",1,"tooltip-arrow"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","rounded-b-lg"],["for","editor",1,"sr-only"],[1,"bg-gray-50","dark:bg-secondary-300","dark:text-white","text-gray-900","text-wrap","break-all",3,"data"],[3,"darkMode","style"],[1,"flex","w-full","justify-items-end","justify-end"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],["id","editor","formControlName","description","rows","8","placeholder","Add product description...",1,"block","w-full","px-0","text-sm","text-gray-800","dark:text-gray-200","bg-white","dark:bg-secondary-300","border-0"],[3,"click","emojiClick","darkMode"],[1,"flex","justify-center","w-full","m-4"],[1,"flex","w-full","justify-items-center","justify-center"],[1,"flex","w-full","justify-items-end","justify-end","ml-4","mt-4"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","m-4"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"hidden","lg:table-cell","px-6","py-3"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"px-6","py-4","text-wrap","break-all"],[1,"px-6","py-4"],[1,"font-bold","text-white","bg-red-500","rounded-3xl",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4","text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M6 18 17.94 6M18 18 6.06 6"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],[1,"m-4","md:grid","md:grid-cols-2","gap-4",3,"formGroup"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"font-bold","text-lg","dark:text-white"],["id","type",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],["selected","","value","string"],["value","number"],["value","range"],[1,"col-span-2"],["for","description",1,"font-bold","text-lg","dark:text-white"],["id","description","formControlName","description","rows","4",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"m-4"],["for","values",1,"font-bold","text-lg","dark:text-white"],[1,"flex","flex-row","items-center","align-items-middle"],[1,"flex","w-full","justify-items-center","justify-center","mt-4"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M11 16h2m6.707-9.293-2.414-2.414A1 1 0 0 0 16.586 4H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7.414a1 1 0 0 0-.293-.707ZM16 20v-6a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v6h8ZM9 4h6v3a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V4Z"],[1,"flex","flex-col","items-start","pl-4","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","border","border-gray-300","mb-2"],[1,"flex","w-full","justify-between"],[1,"align-items-middle","align-middle"],["id","disabled-checked-checkbox","type","checkbox","value","",1,"align-middle","w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded-full","focus:ring-blue-500","focus:ring-2",3,"click","checked"],["for","disabled-checked-checkbox",1,"ms-2","align-middle","text-sm","font-medium","text-gray-700","dark:text-white","text-wrap","break-all"],[1,"m-2","text-white","bg-red-500","rounded-3xl",3,"click"],["id","disabled-checked-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded-full","focus:ring-blue-500","focus:ring-2",3,"click","checked"],["for","disabled-checked-checkbox",1,"ms-2","text-sm","font-medium","text-gray-700","dark:text-white","text-wrap","break-all"],["type","text","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["type","button",1,"text-white","w-fit","h-full","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-white"],[1,"flex","flex-col","md:flex-row","items-center","items-center","align-items-middle"],[1,"flex","w-full","mb-2","md:mb-0"],[1,"inline-flex","items-center","px-3","text-sm","text-gray-900","bg-gray-200","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","border","rounded-e-0","border-gray-300","border-e-0","rounded-s-md"],["type","number","pattern","[0-9]*","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["type","text","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"flex","flex-col","md:flex-row","items-center","align-items-middle"],[1,"inline-flex","items-center","px-3","text-sm","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","bg-gray-200","border","rounded-e-0","border-gray-300","border-e-0","rounded-s-md"],[1,"m-8"],[1,"mb-2","bg-gray-50","text-wrap","break-all","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"mb-4"],[1,"font-bold","text-lg","mr-4","dark:text-white"],[1,"bg-blue-100","dark:bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"flex","w-full","justify-items-end","justify-end","ml-4"],[1,"bg-blue-100","dark:bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","border","dark:border-secondary-200","rounded-lg","p-4","mb-2"],[1,"bg-gray-50","text-wrap","break-all","dark:bg-secondary-100","dark:text-white","text-gray-900","text-wrap","break-all",3,"data"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","mb-4"],[1,"hidden","lg:table-cell","px-6","py-4","text-wrap","break-all"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",6)(2,"nav",7)(3,"ol",8)(4,"li",9)(5,"button",10),C("click",function(){return t.goBack()}),w(),o(6,"svg",11),v(7,"path",12),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",13)(11,"div",14),w(),o(12,"svg",15),v(13,"path",16),n(),O(),o(14,"span",17),f(15),m(16,"translate"),n()()()()()(),o(17,"div",18)(18,"h2",19),f(19),m(20,"translate"),n(),v(21,"hr",20),o(22,"div",21)(23,"div",22)(24,"h2",23),f(25),m(26,"translate"),n(),o(27,"button",24),C("click",function(){return t.toggleGeneral()}),o(28,"span",25),f(29," 1 "),n(),o(30,"span")(31,"h3",26),f(32),m(33,"translate"),n(),o(34,"p",27),f(35),m(36,"translate"),n()()(),v(37,"hr",28),o(38,"button",29),C("click",function(){return t.toggleChars()}),o(39,"span",30),f(40," 2 "),n(),o(41,"span")(42,"h3",26),f(43),m(44,"translate"),n(),o(45,"p",27),f(46),m(47,"translate"),n()()(),v(48,"hr",28),o(49,"button",31),C("click",function(){return t.showFinish()}),o(50,"span",32),f(51," 3 "),n(),o(52,"span")(53,"h3",26),f(54),m(55,"translate"),n(),o(56,"p",27),f(57),m(58,"translate"),n()()()(),o(59,"div"),R(60,RW3,88,44)(61,iZ3,13,8)(62,CZ3,26,16),n()()()(),R(63,zZ3,1,1,"error-message",33)),2&a&&(s(8),V(" ",_(9,17,"CREATE_SERV_SPEC._back")," "),s(7),H(_(16,19,"CREATE_SERV_SPEC._create")),s(4),H(_(20,21,"CREATE_SERV_SPEC._new")),s(6),H(_(26,23,"CREATE_SERV_SPEC._steps")),s(2),k("disabled",!t.generalDone),s(5),H(_(33,25,"CREATE_SERV_SPEC._general")),s(3),H(_(36,27,"CREATE_SERV_SPEC._general_info")),s(3),k("disabled",!t.charsDone),s(5),H(_(44,29,"CREATE_SERV_SPEC._chars")),s(3),H(_(47,31,"CREATE_SERV_SPEC._chars_info")),s(3),k("disabled",!t.finishDone),s(5),H(_(55,33,"CREATE_PROD_SPEC._finish")),s(3),H(_(58,35,"CREATE_PROD_SPEC._summary")),s(3),S(60,t.showGeneral?60:-1),s(),S(61,t.showChars?61:-1),s(),S(62,t.showSummary?62:-1),s(),S(63,t.showError?63:-1))},dependencies:[k2,I4,x6,w6,H4,S4,O4,X4,f3,G3,_4,C4,X1]})}return c})();const MZ3=["stringValue"],LZ3=["numberValue"],yZ3=["numberUnit"],bZ3=["fromValue"],xZ3=["toValue"],wZ3=["rangeUnit"],FZ3=()=>({position:"relative",left:"200px",top:"-500px"});function kZ3(c,r){1&c&&v(0,"markdown",67),2&c&&k("data",h(2).description)}function SZ3(c,r){1&c&&v(0,"textarea",73)}function NZ3(c,r){if(1&c){const e=j();o(0,"emoji-mart",74),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(2).addEmoji(t))}),n()}2&c&&(Y2(E4(3,FZ3)),k("darkMode",!1))}function DZ3(c,r){if(1&c){const e=j();o(0,"h2",19),f(1),m(2,"translate"),n(),o(3,"form",34)(4,"label",35),f(5),m(6,"translate"),n(),v(7,"input",36),o(8,"label",35),f(9),m(10,"translate"),n(),o(11,"div",37)(12,"div",38)(13,"div",39)(14,"div",40)(15,"button",41),C("click",function(){return y(e),b(h().addBold())}),w(),o(16,"svg",42),v(17,"path",43),n(),O(),o(18,"span",44),f(19,"Bold"),n()(),o(20,"button",41),C("click",function(){return y(e),b(h().addItalic())}),w(),o(21,"svg",42),v(22,"path",45),n(),O(),o(23,"span",44),f(24,"Italic"),n()(),o(25,"button",41),C("click",function(){return y(e),b(h().addList())}),w(),o(26,"svg",46),v(27,"path",47),n(),O(),o(28,"span",44),f(29,"Add list"),n()(),o(30,"button",48),C("click",function(){return y(e),b(h().addOrderedList())}),w(),o(31,"svg",46),v(32,"path",49),n(),O(),o(33,"span",44),f(34,"Add ordered list"),n()(),o(35,"button",50),C("click",function(){return y(e),b(h().addBlockquote())}),w(),o(36,"svg",51),v(37,"path",52),n(),O(),o(38,"span",44),f(39,"Add blockquote"),n()(),o(40,"button",41),C("click",function(){return y(e),b(h().addTable())}),w(),o(41,"svg",53),v(42,"path",54),n(),O(),o(43,"span",44),f(44,"Add table"),n()(),o(45,"button",50),C("click",function(){return y(e),b(h().addCode())}),w(),o(46,"svg",53),v(47,"path",55),n(),O(),o(48,"span",44),f(49,"Add code"),n()(),o(50,"button",50),C("click",function(){return y(e),b(h().addCodeBlock())}),w(),o(51,"svg",53),v(52,"path",56),n(),O(),o(53,"span",44),f(54,"Add code block"),n()(),o(55,"button",50),C("click",function(){return y(e),b(h().addLink())}),w(),o(56,"svg",53),v(57,"path",57),n(),O(),o(58,"span",44),f(59,"Add link"),n()(),o(60,"button",48),C("click",function(t){y(e);const i=h();return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(61,"svg",58),v(62,"path",59),n(),O(),o(63,"span",44),f(64,"Add emoji"),n()()()(),o(65,"button",60),C("click",function(){y(e);const t=h();return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(66,"svg",46),v(67,"path",61)(68,"path",62),n(),O(),o(69,"span",44),f(70),m(71,"translate"),n()(),o(72,"div",63),f(73),m(74,"translate"),v(75,"div",64),n()(),o(76,"div",65)(77,"label",66),f(78,"Publish post"),n(),R(79,kZ3,1,1,"markdown",67)(80,SZ3,1,0)(81,NZ3,1,4,"emoji-mart",68),n()()(),o(82,"div",69)(83,"button",70),C("click",function(){y(e);const t=h();return t.toggleChars(),b(t.generalDone=!0)}),f(84),m(85,"translate"),w(),o(86,"svg",71),v(87,"path",72),n()()()}if(2&c){let e;const a=h();s(),H(_(2,32,"CREATE_RES_SPEC._general")),s(2),k("formGroup",a.generalForm),s(2),H(_(6,34,"CREATE_RES_SPEC._name")),s(2),k("ngClass",1==(null==(e=a.generalForm.get("name"))?null:e.invalid)&&""!=a.generalForm.value.name?"border-red-600":"border-gray-300"),s(2),H(_(10,36,"CREATE_RES_SPEC._description")),s(6),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(71,38,"CREATE_CATALOG._preview")),s(3),V(" ",_(74,40,"CREATE_CATALOG._show_preview")," "),s(6),S(79,a.showPreview?79:80),s(2),S(81,a.showEmoji?81:-1),s(2),k("disabled",!a.generalForm.valid)("ngClass",a.generalForm.valid?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(85,42,"CREATE_RES_SPEC._next")," ")}}function TZ3(c,r){1&c&&(o(0,"div",75)(1,"div",79),w(),o(2,"svg",80),v(3,"path",81),n(),O(),o(4,"span",44),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"CREATE_RES_SPEC._no_chars")," "))}function EZ3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function AZ3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function PZ3(c,r){if(1&c&&R(0,EZ3,4,2)(1,AZ3,3,2),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function RZ3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function BZ3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function OZ3(c,r){if(1&c&&R(0,RZ3,4,3)(1,BZ3,3,3),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function IZ3(c,r){1&c&&R(0,PZ3,2,1)(1,OZ3,2,1),2&c&&S(0,r.$implicit.value?0:1)}function UZ3(c,r){if(1&c){const e=j();o(0,"tr",87)(1,"td",88),f(2),n(),o(3,"td",89),f(4),n(),o(5,"td",88),c1(6,IZ3,2,1,null,null,z1),n(),o(8,"td",90)(9,"button",91),C("click",function(){const t=y(e).$implicit;return b(h(3).deleteChar(t))}),w(),o(10,"svg",92),v(11,"path",93),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),a1(e.resourceSpecCharacteristicValue)}}function jZ3(c,r){if(1&c&&(o(0,"div",82)(1,"table",83)(2,"thead",84)(3,"tr")(4,"th",85),f(5),m(6,"translate"),n(),o(7,"th",86),f(8),m(9,"translate"),n(),o(10,"th",85),f(11),m(12,"translate"),n(),o(13,"th",85),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,UZ3,12,2,"tr",87,z1),n()()()),2&c){const e=h(2);s(5),V(" ",_(6,4,"CREATE_RES_SPEC._name")," "),s(3),V(" ",_(9,6,"CREATE_RES_SPEC._description")," "),s(3),V(" ",_(12,8,"CREATE_RES_SPEC._values")," "),s(3),V(" ",_(15,10,"CREATE_RES_SPEC._actions")," "),s(3),a1(e.prodChars)}}function $Z3(c,r){if(1&c){const e=j();o(0,"div",76)(1,"button",94),C("click",function(){y(e);const t=h(2);return b(t.showCreateChar=!t.showCreateChar)}),f(2),m(3,"translate"),w(),o(4,"svg",95),v(5,"path",96),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_RES_SPEC._new_char")," "))}function YZ3(c,r){if(1&c){const e=j();o(0,"div",114)(1,"div",115)(2,"input",116),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).selectDefaultChar(i,l))}),n(),o(3,"label",117),f(4),o(5,"i"),f(6),n()()(),o(7,"button",118),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).removeCharValue(i,l))}),w(),o(8,"svg",92),v(9,"path",93),n()()()}if(2&c){const e=r.$implicit;s(2),k("checked",null==e?null:e.isDefault),s(2),j1("",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function GZ3(c,r){1&c&&c1(0,YZ3,10,4,"div",114,z1),2&c&&a1(h(4).creatingChars)}function qZ3(c,r){if(1&c){const e=j();o(0,"div",114)(1,"div",115)(2,"input",119),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).selectDefaultChar(i,l))}),n(),o(3,"label",120),f(4),o(5,"i"),f(6),n()()(),o(7,"button",118),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).removeCharValue(i,l))}),w(),o(8,"svg",92),v(9,"path",93),n()()()}if(2&c){const e=r.$implicit;s(2),k("checked",null==e?null:e.isDefault),s(2),V("",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function WZ3(c,r){1&c&&c1(0,qZ3,10,3,"div",114,z1),2&c&&a1(h(4).creatingChars)}function ZZ3(c,r){if(1&c&&(o(0,"label",108),f(1),m(2,"translate"),n(),o(3,"div",113),R(4,GZ3,2,0)(5,WZ3,2,0),n()),2&c){const e=h(3);s(),H(_(2,2,"CREATE_RES_SPEC._values")),s(3),S(4,e.rangeCharSelected?4:5)}}function KZ3(c,r){if(1&c){const e=j();o(0,"div",109),v(1,"input",121,0),o(3,"button",122),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(4,"svg",123),v(5,"path",96),n()()()}}function QZ3(c,r){if(1&c){const e=j();o(0,"div",124)(1,"div",125)(2,"span",126),f(3),m(4,"translate"),n(),v(5,"input",127,1),n(),o(7,"div",125)(8,"span",126),f(9),m(10,"translate"),n(),v(11,"input",128,2),n(),o(13,"button",122),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(14,"svg",123),v(15,"path",96),n()()()}2&c&&(s(3),V(" ",_(4,2,"CREATE_RES_SPEC._value")," "),s(6),V(" ",_(10,4,"CREATE_RES_SPEC._unit")," "))}function JZ3(c,r){if(1&c){const e=j();o(0,"div",124)(1,"div",125)(2,"span",126),f(3),m(4,"translate"),n(),v(5,"input",127,3),n(),o(7,"div",125)(8,"span",126),f(9),m(10,"translate"),n(),v(11,"input",127,4),n(),o(13,"div",125)(14,"span",126),f(15),m(16,"translate"),n(),v(17,"input",128,5),n(),o(19,"button",122),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(20,"svg",123),v(21,"path",96),n()()()}2&c&&(s(3),V(" ",_(4,3,"CREATE_RES_SPEC._from")," "),s(6),V(" ",_(10,5,"CREATE_RES_SPEC._to")," "),s(6),V(" ",_(16,7,"CREATE_RES_SPEC._unit")," "))}function XZ3(c,r){if(1&c){const e=j();o(0,"form",97)(1,"div")(2,"label",35),f(3),m(4,"translate"),n(),v(5,"input",98),n(),o(6,"div")(7,"label",99),f(8),m(9,"translate"),n(),o(10,"select",100),C("change",function(t){return y(e),b(h(2).onTypeChange(t))}),o(11,"option",101),f(12,"String"),n(),o(13,"option",102),f(14,"Number"),n(),o(15,"option",103),f(16,"Number range"),n()()(),o(17,"div",104)(18,"label",105),f(19),m(20,"translate"),n(),v(21,"textarea",106),n()(),o(22,"div",107),R(23,ZZ3,6,4),o(24,"label",108),f(25),m(26,"translate"),n(),R(27,KZ3,6,0,"div",109)(28,QZ3,16,6)(29,JZ3,22,9),o(30,"div",110)(31,"button",111),C("click",function(){return y(e),b(h(2).saveChar())}),f(32),m(33,"translate"),w(),o(34,"svg",95),v(35,"path",112),n()()()()}if(2&c){const e=h(2);k("formGroup",e.charsForm),s(3),H(_(4,10,"CREATE_RES_SPEC._name")),s(5),H(_(9,12,"CREATE_RES_SPEC._type")),s(11),H(_(20,14,"CREATE_RES_SPEC._description")),s(4),S(23,e.creatingChars.length>0?23:-1),s(2),H(_(26,16,"CREATE_RES_SPEC._add_values")),s(2),S(27,e.stringCharSelected?27:e.numberCharSelected?28:e.rangeCharSelected?29:-1),s(4),k("disabled",!e.charsForm.valid||0==e.creatingChars.length)("ngClass",e.charsForm.valid&&0!=e.creatingChars.length?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(33,18,"CREATE_RES_SPEC._save_char")," ")}}function eK3(c,r){if(1&c){const e=j();o(0,"h2",19),f(1),m(2,"translate"),n(),R(3,TZ3,9,3,"div",75)(4,jZ3,19,12)(5,$Z3,6,3,"div",76)(6,XZ3,36,20),o(7,"div",77)(8,"button",78),C("click",function(){y(e);const t=h();return t.showFinish(),b(t.charsDone=!0)}),f(9),m(10,"translate"),w(),o(11,"svg",71),v(12,"path",72),n()()()}if(2&c){const e=h();s(),H(_(2,4,"CREATE_RES_SPEC._chars")),s(2),S(3,0===e.prodChars.length?3:4),s(2),S(5,0==e.showCreateChar?5:6),s(4),V(" ",_(10,6,"CREATE_RES_SPEC._finish")," ")}}function cK3(c,r){if(1&c&&(o(0,"span",133),f(1),n()),2&c){const e=h(2);s(),H(null==e.resourceToCreate?null:e.resourceToCreate.lifecycleStatus)}}function aK3(c,r){if(1&c&&(o(0,"span",135),f(1),n()),2&c){const e=h(2);s(),H(null==e.resourceToCreate?null:e.resourceToCreate.lifecycleStatus)}}function rK3(c,r){if(1&c&&(o(0,"span",136),f(1),n()),2&c){const e=h(2);s(),H(null==e.resourceToCreate?null:e.resourceToCreate.lifecycleStatus)}}function tK3(c,r){if(1&c&&(o(0,"span",137),f(1),n()),2&c){const e=h(2);s(),H(null==e.resourceToCreate?null:e.resourceToCreate.lifecycleStatus)}}function iK3(c,r){if(1&c&&(o(0,"label",99),f(1),m(2,"translate"),n(),o(3,"div",138),v(4,"markdown",139),n()),2&c){const e=h(2);s(),H(_(2,2,"CREATE_PROD_SPEC._product_description")),s(3),k("data",null==e.resourceToCreate?null:e.resourceToCreate.description)}}function oK3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function nK3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function sK3(c,r){if(1&c&&R(0,oK3,4,2)(1,nK3,3,2),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function lK3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function fK3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function dK3(c,r){if(1&c&&R(0,lK3,4,3)(1,fK3,3,3),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function uK3(c,r){1&c&&R(0,sK3,2,1)(1,dK3,2,1),2&c&&S(0,r.$implicit.value?0:1)}function hK3(c,r){if(1&c&&(o(0,"tr",87)(1,"td",88),f(2),n(),o(3,"td",88),f(4),n(),o(5,"td",88),c1(6,uK3,2,1,null,null,z1),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),a1(e.resourceSpecCharacteristicValue)}}function mK3(c,r){if(1&c&&(o(0,"label",99),f(1),m(2,"translate"),n(),o(3,"div",140)(4,"table",83)(5,"thead",84)(6,"tr")(7,"th",85),f(8),m(9,"translate"),n(),o(10,"th",85),f(11),m(12,"translate"),n(),o(13,"th",85),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,hK3,8,2,"tr",87,z1),n()()()),2&c){const e=h(2);s(),H(_(2,4,"CREATE_PROD_SPEC._chars")),s(7),V(" ",_(9,6,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(12,8,"CREATE_PROD_SPEC._product_description")," "),s(3),V(" ",_(15,10,"CREATE_PROD_SPEC._values")," "),s(3),a1(null==e.resourceToCreate?null:e.resourceToCreate.resourceSpecCharacteristic)}}function _K3(c,r){if(1&c){const e=j();o(0,"h2",19),f(1),m(2,"translate"),n(),o(3,"div",129)(4,"div")(5,"label",99),f(6),m(7,"translate"),n(),o(8,"label",130),f(9),n()(),o(10,"div",131)(11,"label",132),f(12),m(13,"translate"),n(),R(14,cK3,2,1,"span",133)(15,aK3,2,1)(16,rK3,2,1)(17,tK3,2,1),n(),R(18,iK3,5,4)(19,mK3,19,12),o(20,"div",134)(21,"button",78),C("click",function(){return y(e),b(h().createResource())}),f(22),m(23,"translate"),w(),o(24,"svg",71),v(25,"path",72),n()()()()}if(2&c){const e=h();s(),H(_(2,8,"CREATE_PROD_SPEC._finish")),s(5),H(_(7,10,"CREATE_PROD_SPEC._product_name")),s(3),V(" ",null==e.resourceToCreate?null:e.resourceToCreate.name," "),s(3),H(_(13,12,"CREATE_PROD_SPEC._status")),s(2),S(14,"Active"==(null==e.resourceToCreate?null:e.resourceToCreate.lifecycleStatus)?14:"Launched"==(null==e.resourceToCreate?null:e.resourceToCreate.lifecycleStatus)?15:"Retired"==(null==e.resourceToCreate?null:e.resourceToCreate.lifecycleStatus)?16:"Obsolete"==(null==e.resourceToCreate?null:e.resourceToCreate.lifecycleStatus)?17:-1),s(4),S(18,""!=(null==e.resourceToCreate?null:e.resourceToCreate.description)?18:-1),s(),S(19,e.prodChars.length>0?19:-1),s(3),V(" ",_(23,14,"CREATE_RES_SPEC._create_res")," ")}}function pK3(c,r){1&c&&v(0,"error-message",33),2&c&&k("message",h().errorMessage)}let gK3=(()=>{class c{constructor(e,a,t,i,l,d){this.router=e,this.cdr=a,this.localStorage=t,this.eventMessage=i,this.elementRef=l,this.resSpecService=d,this.partyId="",this.stepsElements=["general-info","chars","summary"],this.stepsCircles=["general-circle","chars-circle","summary-circle"],this.showPreview=!1,this.showEmoji=!1,this.description="",this.showGeneral=!0,this.showChars=!1,this.showSummary=!1,this.generalDone=!1,this.charsDone=!1,this.finishDone=!1,this.generalForm=new S2({name:new u1("",[O1.required]),description:new u1("")}),this.charsForm=new S2({name:new u1("",[O1.required]),description:new u1("")}),this.stringCharSelected=!0,this.numberCharSelected=!1,this.rangeCharSelected=!1,this.prodChars=[],this.creatingChars=[],this.showCreateChar=!1,this.errorMessage="",this.showError=!1,this.eventMessage.messages$.subscribe(u=>{"ChangedSession"===u.type&&this.initPartyInfo()})}onClick(){1==this.showEmoji&&(this.showEmoji=!1,this.cdr.detectChanges())}ngOnInit(){this.initPartyInfo()}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0)if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}}goBack(){this.eventMessage.emitSellerResourceSpec(!0)}toggleGeneral(){this.selectStep("general-info","general-circle"),this.showGeneral=!0,this.showChars=!1,this.showSummary=!1,this.showPreview=!1}toggleChars(){this.selectStep("chars","chars-circle"),this.showGeneral=!1,this.showChars=!0,this.showSummary=!1,this.showPreview=!1}onTypeChange(e){"string"==e.target.value?(this.stringCharSelected=!0,this.numberCharSelected=!1,this.rangeCharSelected=!1):"number"==e.target.value?(this.stringCharSelected=!1,this.numberCharSelected=!0,this.rangeCharSelected=!1):(this.stringCharSelected=!1,this.numberCharSelected=!1,this.rangeCharSelected=!0),this.creatingChars=[]}addCharValue(){this.stringCharSelected?(console.log("string"),this.creatingChars.push(0==this.creatingChars.length?{isDefault:!0,value:this.charStringValue.nativeElement.value}:{isDefault:!1,value:this.charStringValue.nativeElement.value})):this.numberCharSelected?(console.log("number"),this.creatingChars.push(0==this.creatingChars.length?{isDefault:!0,value:this.charNumberValue.nativeElement.value,unitOfMeasure:this.charNumberUnit.nativeElement.value}:{isDefault:!1,value:this.charNumberValue.nativeElement.value,unitOfMeasure:this.charNumberUnit.nativeElement.value})):(console.log("range"),this.creatingChars.push(0==this.creatingChars.length?{isDefault:!0,valueFrom:this.charFromValue.nativeElement.value,valueTo:this.charToValue.nativeElement.value,unitOfMeasure:this.charRangeUnit.nativeElement.value}:{isDefault:!1,valueFrom:this.charFromValue.nativeElement.value,valueTo:this.charToValue.nativeElement.value,unitOfMeasure:this.charRangeUnit.nativeElement.value}))}selectDefaultChar(e,a){for(let t=0;tt.id===e.id);-1!==a&&(console.log("eliminar"),this.prodChars.splice(a,1)),this.cdr.detectChanges(),console.log(this.prodChars)}showFinish(){this.charsDone=!0,this.finishDone=!0,null!=this.generalForm.value.name&&(this.resourceToCreate={name:this.generalForm.value.name,description:null!=this.generalForm.value.description?this.generalForm.value.description:"",lifecycleStatus:"Active",resourceSpecCharacteristic:this.prodChars,relatedParty:[{id:this.partyId,role:"Owner","@referredType":""}]},console.log("SERVICE TO CREATE:"),console.log(this.resourceToCreate),this.showChars=!1,this.showGeneral=!1,this.showSummary=!0,this.selectStep("summary","summary-circle")),this.showPreview=!1}createResource(){this.resSpecService.postResSpec(this.resourceToCreate).subscribe({next:e=>{this.goBack(),console.log("serv created")},error:e=>{console.error("There was an error while creating!",e),e.error.error?(console.log(e),this.errorMessage="Error: "+e.error.error):this.errorMessage="There was an error while creating the resource!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}removeClass(e,a){e.className=(" "+e.className+" ").replace(" "+a+" "," ").replace(/^\s+|\s+$/g,"")}addClass(e,a){e.className+=" "+a}unselectMenu(e,a){null!=e&&(e.className.match(a)?this.removeClass(e,a):console.log("already unselected"))}selectMenu(e,a){null!=e&&(e.className.match(a)?console.log("already selected"):this.addClass(e,a))}selectStep(e,a){const t=this.stepsElements.findIndex(l=>l===e);if(-1!==t){this.stepsElements.splice(t,1),this.selectMenu(document.getElementById(e),"text-primary-100 dark:text-primary-50"),this.unselectMenu(document.getElementById(e),"text-gray-500");for(let l=0;ll===a);if(-1!==t){this.stepsCircles.splice(i,1),this.selectMenu(document.getElementById(a),"border-primary-100 dark:border-primary-50"),this.unselectMenu(document.getElementById(a),"border-gray-400");for(let l=0;l blockquote"})}addLink(){this.generalForm.patchValue({description:this.generalForm.value.description+" [title](https://www.example.com) "})}addTable(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"})}addEmoji(e){console.log(e),this.showEmoji=!1,this.generalForm.patchValue({description:this.generalForm.value.description+e.emoji.native})}togglePreview(){this.generalForm.value.description&&(this.description=this.generalForm.value.description)}static#e=this.\u0275fac=function(a){return new(a||c)(B(Q1),B(B1),B(A1),B(e2),B(C2),B(h4))};static#c=this.\u0275cmp=V1({type:c,selectors:[["create-resource-spec"]],viewQuery:function(a,t){if(1&a&&(b1(MZ3,5),b1(LZ3,5),b1(yZ3,5),b1(bZ3,5),b1(xZ3,5),b1(wZ3,5)),2&a){let i;M1(i=L1())&&(t.charStringValue=i.first),M1(i=L1())&&(t.charNumberValue=i.first),M1(i=L1())&&(t.charNumberUnit=i.first),M1(i=L1())&&(t.charFromValue=i.first),M1(i=L1())&&(t.charToValue=i.first),M1(i=L1())&&(t.charRangeUnit=i.first)}},hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},decls:64,vars:37,consts:[["stringValue",""],["numberValue",""],["numberUnit",""],["fromValue",""],["toValue",""],["rangeUnit",""],[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-gray-200","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800","dark:text-white"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","mt-4","p-8","rounded-lg"],[1,"text-3xl","font-bold","text-primary-100","ml-4","dark:text-white"],[1,"h-px","m-4","bg-gray-300","dark:bg-gray-200","border-0"],[1,"md:grid","md:grid-cols-25/75","xl:grid-cols-20/80"],[1,"flex","sm:flex-row","md:flex-col","md:mr-4","w-full","overflow-x-auto","max-w-[calc(100vw-5rem)]"],[1,"hidden","md:block","text-xl","font-bold","text-black","mb-4","dark:text-white"],["id","general-info",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-primary-100","dark:text-primary-50","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","general-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-primary-100","dark:border-primary-50","rounded-full","shrink-0"],[1,"flex","leading-tight","justify-start"],[1,"hidden","xl:flex","text-xs","justify-start"],[1,"h-px","mb-2","bg-gray-300","dark:bg-gray-200","border-0"],["id","chars",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","chars-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","summary",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","summary-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],[1,"fixed","w-fit","top-1/2","left-1/2",3,"message"],[1,"m-4","gap-4",3,"formGroup"],["for","prod-name",1,"font-bold","text-lg","dark:text-white"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],[1,"w-full","col-span-2","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200"],[1,"flex","items-center","justify-between","px-3","py-2","border-b"],[1,"flex","flex-wrap","items-center","divide-gray-200","dark:divide-secondary-200","sm:divide-x","sm:rtl:divide-x-reverse"],[1,"flex","items-center","space-x-1","rtl:space-x-reverse","sm:pe-4","text-gray-500","dark:text-gray-200"],["type","button",1,"p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 5h4.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0-7H6m2 7h6.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0 0H6"],[1,"sr-only"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8.874 19 6.143-14M6 19h6.33m-.66-14H18"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M9 8h10M9 12h10M9 16h10M4.99 8H5m-.02 4h.01m0 4H5"],["type","button",1,"hidden","lg:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4"],["type","button",1,"hidden","md:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["fill-rule","evenodd","d","M5 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm0 12a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm1.65-9.76A1 1 0 0 0 5 9v6a1 1 0 0 0 1.65.76l3.5-3a1 1 0 0 0 0-1.52l-3.5-3ZM12 10a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Zm0 4a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Z","clip-rule","evenodd"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-width","2","d","M3 11h18m-9 0v8m-8 0h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 3v4a1 1 0 0 1-1 1H5m5 4-2 2 2 2m4-4 2 2-2 2m5-12v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M13.213 9.787a3.391 3.391 0 0 0-4.795 0l-3.425 3.426a3.39 3.39 0 0 0 4.795 4.794l.321-.304m-.321-4.49a3.39 3.39 0 0 0 4.795 0l3.424-3.426a3.39 3.39 0 0 0-4.794-4.795l-1.028.961"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-4","h-4"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM13.5 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm-7 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm3.5 9.5A5.5 5.5 0 0 1 4.6 11h10.81A5.5 5.5 0 0 1 10 15.5Z"],["type","button","data-tooltip-target","tooltip-fullscreen",1,"rounded","cursor-pointer","text-gray-500","dark:text-gray-200","p-2","sm:ms-auto","hover:text-gray-900","dark:hover:text-gray-900","hover:bg-gray-100",3,"click"],["stroke","currentColor","stroke-width","2","d","M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z"],["stroke","currentColor","stroke-width","2","d","M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"],["id","tooltip-fullscreen","role","tooltip",1,"absolute","z-10","invisible","inline-block","px-3","py-2","text-sm","font-medium","text-white","transition-opacity","duration-300","bg-gray-900","rounded-lg","shadow-sm","opacity-0","tooltip"],["data-popper-arrow","",1,"tooltip-arrow"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","rounded-b-lg"],["for","editor",1,"sr-only"],[1,"bg-gray-50","dark:bg-secondary-300","dark:text-white","text-gray-900","text-wrap","break-all",3,"data"],[3,"darkMode","style"],[1,"flex","w-full","justify-items-end","justify-end"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],["id","editor","formControlName","description","rows","8","placeholder","Add product description...",1,"block","w-full","px-0","text-sm","text-gray-800","dark:text-gray-200","bg-white","dark:bg-secondary-300","border-0"],[3,"click","emojiClick","darkMode"],[1,"flex","justify-center","w-full","m-4"],[1,"flex","w-full","justify-items-center","justify-center"],[1,"flex","w-full","justify-items-end","justify-end","ml-4","mt-4"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","m-4"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"hidden","lg:table-cell","px-6","py-3"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"px-6","py-4","text-wrap","break-all"],[1,"hidden","lg:table-cell","px-6","py-4","text-wrap","break-all"],[1,"px-6","py-4"],[1,"font-bold","text-white","bg-red-500","rounded-3xl",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4","text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M6 18 17.94 6M18 18 6.06 6"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],[1,"m-4","md:grid","md:grid-cols-2","gap-4",3,"formGroup"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"font-bold","text-lg","dark:text-white"],["id","type",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],["selected","","value","string"],["value","number"],["value","range"],[1,"col-span-2"],["for","description",1,"font-bold","text-lg","dark:text-white"],["id","description","formControlName","description","rows","4",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"m-4"],["for","values",1,"font-bold","text-lg","dark:text-white"],[1,"flex","flex-row","items-center","align-items-middle"],[1,"flex","w-full","justify-items-center","justify-center","mt-4"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M11 16h2m6.707-9.293-2.414-2.414A1 1 0 0 0 16.586 4H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7.414a1 1 0 0 0-.293-.707ZM16 20v-6a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v6h8ZM9 4h6v3a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V4Z"],[1,"flex","flex-col","items-start","pl-4","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","border","border-gray-300","mb-2"],[1,"flex","w-full","justify-between"],[1,"align-items-middle","align-middle"],["id","disabled-checked-checkbox","type","checkbox","value","",1,"align-middle","w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded-full","focus:ring-blue-500","focus:ring-2",3,"click","checked"],["for","disabled-checked-checkbox",1,"ms-2","align-middle","text-sm","font-medium","text-gray-700","dark:text-white","text-wrap","break-all"],[1,"m-2","text-white","bg-red-500","rounded-3xl",3,"click"],["id","disabled-checked-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded-full","focus:ring-blue-500","focus:ring-2",3,"click","checked"],["for","disabled-checked-checkbox",1,"ms-2","text-sm","font-medium","text-gray-700","dark:text-white","text-wrap","break-all"],["type","text","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["type","button",1,"text-white","w-fit","h-full","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-white"],[1,"flex","flex-col","md:flex-row","items-center","align-items-middle"],[1,"flex","w-full","mb-2","md:mb-0"],[1,"inline-flex","items-center","px-3","text-sm","text-gray-900","bg-gray-200","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","border","rounded-e-0","border-gray-300","border-e-0","rounded-s-md","dark:text-white"],["type","number","pattern","[0-9]*","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["type","text","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"m-8"],[1,"mb-2","bg-gray-50","text-wrap","break-all","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"mb-4"],[1,"font-bold","text-lg","mr-4","dark:text-white"],[1,"bg-blue-100","dark:bg-secondary-100","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"flex","w-full","justify-items-end","justify-end","ml-4"],[1,"bg-blue-100","dark:bg-secondary-100","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-100","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-100","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","border","dark:border-secondary-200","rounded-lg","p-4","mb-4"],[1,"bg-gray-50","dark:bg-secondary-100","dark:text-white","text-gray-900","text-wrap","break-all",3,"data"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","mb-4"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",6)(2,"nav",7)(3,"ol",8)(4,"li",9)(5,"button",10),C("click",function(){return t.goBack()}),w(),o(6,"svg",11),v(7,"path",12),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",13)(11,"div",14),w(),o(12,"svg",15),v(13,"path",16),n(),O(),o(14,"span",17),f(15),m(16,"translate"),n()()()()()(),o(17,"div",18)(18,"h2",19),f(19),m(20,"translate"),n(),v(21,"hr",20),o(22,"div",21)(23,"div",22)(24,"h2",23),f(25),m(26,"translate"),n(),o(27,"button",24),C("click",function(){return t.toggleGeneral()}),o(28,"span",25),f(29," 1 "),n(),o(30,"span")(31,"h3",26),f(32),m(33,"translate"),n(),o(34,"p",27),f(35),m(36,"translate"),n()()(),v(37,"hr",28),o(38,"button",29),C("click",function(){return t.toggleChars()}),o(39,"span",30),f(40," 2 "),n(),o(41,"span")(42,"h3",26),f(43),m(44,"translate"),n(),o(45,"p",27),f(46),m(47,"translate"),n()()(),v(48,"hr",28),o(49,"button",31),C("click",function(){return t.showFinish()}),o(50,"span",32),f(51," 3 "),n(),o(52,"span")(53,"h3",26),f(54),m(55,"translate"),n(),o(56,"p",27),f(57),m(58,"translate"),n()()()(),o(59,"div"),R(60,DZ3,88,44)(61,eK3,13,8)(62,_K3,26,16),n()()()(),R(63,pK3,1,1,"error-message",33)),2&a&&(s(8),V(" ",_(9,17,"CREATE_RES_SPEC._back")," "),s(7),H(_(16,19,"CREATE_RES_SPEC._create")),s(4),H(_(20,21,"CREATE_RES_SPEC._new")),s(6),H(_(26,23,"CREATE_RES_SPEC._steps")),s(2),k("disabled",!t.generalDone),s(5),H(_(33,25,"CREATE_RES_SPEC._general")),s(3),H(_(36,27,"CREATE_RES_SPEC._general_info")),s(3),k("disabled",!t.charsDone),s(5),H(_(44,29,"CREATE_RES_SPEC._chars")),s(3),H(_(47,31,"CREATE_RES_SPEC._chars_info")),s(3),k("disabled",!t.finishDone),s(5),H(_(55,33,"CREATE_PROD_SPEC._finish")),s(3),H(_(58,35,"CREATE_PROD_SPEC._summary")),s(3),S(60,t.showGeneral?60:-1),s(),S(61,t.showChars?61:-1),s(),S(62,t.showSummary?62:-1),s(),S(63,t.showError?63:-1))},dependencies:[k2,I4,x6,w6,H4,S4,O4,X4,f3,G3,_4,C4,X1]})}return c})();var Oa=W(4261);function vK3(c,r){if(1&c&&v(0,"categories-recursion",5),2&c){const e=r.$implicit,a=h(2);k("child",e)("selected",a.selected)("parent",a.child)("path",a.path+" / "+a.child.name)}}function HK3(c,r){1&c&&c1(0,vK3,1,4,"categories-recursion",5,z1),2&c&&a1(h().child.children)}let Gl=(()=>{class c{constructor(e,a){this.cdr=e,this.eventMessage=a}isCategorySelected(e){return null!=this.selected&&-1!==this.selected.findIndex(t=>t.id===e.id)}addCategory(e){this.eventMessage.emitCategoryAdded(e)}static#e=this.\u0275fac=function(a){return new(a||c)(B(B1),B(e2))};static#c=this.\u0275cmp=V1({type:c,selectors:[["categories-recursion"]],inputs:{child:"child",parent:"parent",selected:"selected",path:"path"},decls:11,vars:8,consts:[[1,"flex","border-b","hover:bg-gray-200","dark:border-gray-700","dark:bg-secondary-300","dark:hover:bg-secondary-200","w-full","justify-between"],[1,"flex","px-6","py-4","w-3/5"],[1,"hidden","md:flex","px-6","py-4","w-fit"],[1,"flex","px-6","py-4","w-fit","justify-end"],["id","select-checkbox","type","checkbox","value","",1,"flex","w-4","h-4","justify-end","text-blue-600","bg-gray-100","border-gray-300","rounded","focus:ring-blue-500","dark:focus:ring-blue-600","dark:ring-offset-gray-800","focus:ring-2","dark:bg-gray-700","dark:border-gray-600",3,"click","checked"],[1,"w-full",3,"child","selected","parent","path"]],template:function(a,t){1&a&&(o(0,"tr",0)(1,"td",1),f(2),o(3,"b"),f(4),n()(),o(5,"td",2),f(6),m(7,"date"),n(),o(8,"td",3)(9,"input",4),C("click",function(){return t.addCategory(t.child)}),n()()(),R(10,HK3,2,0)),2&a&&(s(2),V(" ",t.path," / "),s(2),H(t.child.name),s(2),V(" ",L2(7,5,t.child.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," "),s(3),k("checked",t.isCategorySelected(t.child)),s(),S(10,t.child.children&&t.child.children.length>0?10:-1))},dependencies:[c,Q4]})}return c})();const CK3=["updatemetric"],zK3=["responsemetric"],VK3=["delaymetric"],MK3=["usageUnit"],LK3=["usageUnitAlter"],yK3=["usageUnitUpdate"],Jt=(c,r)=>r.id,fm1=(c,r)=>r.code,ql=()=>({position:"relative",left:"200px",top:"-500px"});function bK3(c,r){1&c&&v(0,"markdown",83),2&c&&k("data",h(2).description)}function xK3(c,r){1&c&&v(0,"textarea",89)}function wK3(c,r){if(1&c){const e=j();o(0,"emoji-mart",90),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(2).addEmoji(t))}),n()}2&c&&(Y2(E4(3,ql)),k("darkMode",!1))}function FK3(c,r){if(1&c){const e=j();o(0,"h2",20),f(1),m(2,"translate"),n(),o(3,"form",47)(4,"div")(5,"label",48),f(6),m(7,"translate"),n(),v(8,"input",49),n(),o(9,"div")(10,"label",50),f(11),m(12,"translate"),n(),v(13,"input",51),n(),o(14,"label",52),f(15),m(16,"translate"),n(),o(17,"div",53)(18,"div",54)(19,"div",55)(20,"div",56)(21,"button",57),C("click",function(){return y(e),b(h().addBold())}),w(),o(22,"svg",58),v(23,"path",59),n(),O(),o(24,"span",60),f(25,"Bold"),n()(),o(26,"button",57),C("click",function(){return y(e),b(h().addItalic())}),w(),o(27,"svg",58),v(28,"path",61),n(),O(),o(29,"span",60),f(30,"Italic"),n()(),o(31,"button",57),C("click",function(){return y(e),b(h().addList())}),w(),o(32,"svg",62),v(33,"path",63),n(),O(),o(34,"span",60),f(35,"Add list"),n()(),o(36,"button",64),C("click",function(){return y(e),b(h().addOrderedList())}),w(),o(37,"svg",62),v(38,"path",65),n(),O(),o(39,"span",60),f(40,"Add ordered list"),n()(),o(41,"button",66),C("click",function(){return y(e),b(h().addBlockquote())}),w(),o(42,"svg",67),v(43,"path",68),n(),O(),o(44,"span",60),f(45,"Add blockquote"),n()(),o(46,"button",57),C("click",function(){return y(e),b(h().addTable())}),w(),o(47,"svg",69),v(48,"path",70),n(),O(),o(49,"span",60),f(50,"Add table"),n()(),o(51,"button",66),C("click",function(){return y(e),b(h().addCode())}),w(),o(52,"svg",69),v(53,"path",71),n(),O(),o(54,"span",60),f(55,"Add code"),n()(),o(56,"button",66),C("click",function(){return y(e),b(h().addCodeBlock())}),w(),o(57,"svg",69),v(58,"path",72),n(),O(),o(59,"span",60),f(60,"Add code block"),n()(),o(61,"button",66),C("click",function(){return y(e),b(h().addLink())}),w(),o(62,"svg",69),v(63,"path",73),n(),O(),o(64,"span",60),f(65,"Add link"),n()(),o(66,"button",66),C("click",function(t){y(e);const i=h();return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(67,"svg",74),v(68,"path",75),n(),O(),o(69,"span",60),f(70,"Add emoji"),n()()()(),o(71,"button",76),C("click",function(){y(e);const t=h();return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(72,"svg",62),v(73,"path",77)(74,"path",78),n(),O(),o(75,"span",60),f(76),m(77,"translate"),n()(),o(78,"div",79),f(79),m(80,"translate"),v(81,"div",80),n()(),o(82,"div",81)(83,"label",82),f(84,"Publish post"),n(),R(85,bK3,1,1,"markdown",83)(86,xK3,1,0)(87,wK3,1,4,"emoji-mart",84),n()()(),o(88,"div",85)(89,"button",86),C("click",function(){y(e);const t=h();return t.toggleBundle(),b(t.generalDone=!0)}),f(90),m(91,"translate"),w(),o(92,"svg",87),v(93,"path",88),n()()()}if(2&c){let e,a;const t=h();s(),H(_(2,34,"CREATE_OFFER._general")),s(2),k("formGroup",t.generalForm),s(3),H(_(7,36,"CREATE_OFFER._name")),s(2),k("ngClass",1==(null==(e=t.generalForm.get("name"))?null:e.invalid)&&""!=t.generalForm.value.name?"border-red-600":"border-gray-300"),s(3),H(_(12,38,"CREATE_OFFER._version")),s(2),k("ngClass",1==(null==(a=t.generalForm.get("version"))?null:a.invalid)?"border-red-600":"border-gray-300"),s(2),H(_(16,40,"CREATE_OFFER._description")),s(6),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(77,42,"CREATE_CATALOG._preview")),s(3),V(" ",_(80,44,"CREATE_CATALOG._show_preview")," "),s(6),S(85,t.showPreview?85:86),s(2),S(87,t.showEmoji?87:-1),s(2),k("disabled",!t.generalForm.valid)("ngClass",t.generalForm.valid?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(91,46,"CREATE_OFFER._next")," ")}}function kK3(c,r){1&c&&(o(0,"div",98),w(),o(1,"svg",99),v(2,"path",100)(3,"path",101),n(),O(),o(4,"span",60),f(5,"Loading..."),n()())}function SK3(c,r){1&c&&(o(0,"div",102)(1,"div",103),w(),o(2,"svg",104),v(3,"path",105),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_offerings")," "))}function NK3(c,r){if(1&c&&(o(0,"span",115),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function DK3(c,r){if(1&c&&(o(0,"span",119),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function TK3(c,r){if(1&c&&(o(0,"span",120),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function EK3(c,r){if(1&c&&(o(0,"span",121),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function AK3(c,r){1&c&&(o(0,"span",115),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"CREATE_OFFER._simple")))}function PK3(c,r){1&c&&(o(0,"span",119),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"CREATE_OFFER._bundle")))}function RK3(c,r){if(1&c){const e=j();o(0,"tr",112)(1,"td",113),f(2),n(),o(3,"td",114),R(4,NK3,2,1,"span",115)(5,DK3,2,1)(6,TK3,2,1)(7,EK3,2,1),n(),o(8,"td",114),R(9,AK3,3,3,"span",115)(10,PK3,3,3),n(),o(11,"td",116),f(12),m(13,"date"),n(),o(14,"td",117)(15,"input",118),C("click",function(){const t=y(e).$implicit;return b(h(5).addProdToBundle(t))}),n()()()}if(2&c){const e=r.$implicit,a=h(5);s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1),s(5),S(9,0==e.isBundle?9:10),s(3),V(" ",L2(13,5,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," "),s(3),k("checked",a.isProdInBundle(e))}}function BK3(c,r){1&c&&(o(0,"div",102)(1,"div",103),w(),o(2,"svg",104),v(3,"path",105),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"CREATE_OFFER._no_offer")," "))}function OK3(c,r){if(1&c&&(o(0,"div",106)(1,"table",107)(2,"thead",108)(3,"tr")(4,"th",109),f(5),m(6,"translate"),n(),o(7,"th",110),f(8),m(9,"translate"),n(),o(10,"th",110),f(11),m(12,"translate"),n(),o(13,"th",111),f(14),m(15,"translate"),n(),o(16,"th",109),f(17),m(18,"translate"),n()()(),o(19,"tbody"),c1(20,RK3,16,8,"tr",112,Jt,!1,BK3,7,3,"div",102),n()()()),2&c){const e=h(4);s(5),V(" ",_(6,6,"CREATE_OFFER._name")," "),s(3),V(" ",_(9,8,"CREATE_OFFER._status")," "),s(3),V(" ",_(12,10,"CREATE_OFFER._type")," "),s(3),V(" ",_(15,12,"CREATE_OFFER._last_update")," "),s(3),V(" ",_(18,14,"CREATE_OFFER._select")," "),s(3),a1(e.bundledOffers)}}function IK3(c,r){1&c&&R(0,SK3,7,3,"div",102)(1,OK3,23,16),2&c&&S(0,0==h(3).bundledOffers.length?0:1)}function UK3(c,r){if(1&c){const e=j();o(0,"div",122)(1,"button",123),C("click",function(){return y(e),b(h(4).nextBundle())}),f(2),m(3,"translate"),w(),o(4,"svg",124),v(5,"path",125),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_OFFER._load_more")," "))}function jK3(c,r){1&c&&R(0,UK3,6,3,"div",122),2&c&&S(0,h(3).bundlePageCheck?0:-1)}function $K3(c,r){1&c&&(o(0,"div",126),w(),o(1,"svg",99),v(2,"path",100)(3,"path",101),n(),O(),o(4,"span",60),f(5,"Loading..."),n()())}function YK3(c,r){if(1&c&&R(0,kK3,6,0,"div",98)(1,IK3,2,1)(2,jK3,1,1)(3,$K3,6,0),2&c){const e=h(2);S(0,e.loadingBundle?0:1),s(2),S(2,e.loadingBundle_more?3:2)}}function GK3(c,r){if(1&c){const e=j();o(0,"h2",91),f(1),m(2,"translate"),n(),o(3,"div",92)(4,"label",93),f(5),m(6,"translate"),n(),o(7,"label",94)(8,"input",95),C("change",function(){return y(e),b(h().toggleBundleCheck())}),n(),v(9,"div",96),n()(),R(10,YK3,4,2),o(11,"div",85)(12,"button",97),C("click",function(){y(e);const t=h();return t.toggleProdSpec(),b(t.bundleDone=!0)}),f(13),m(14,"translate"),w(),o(15,"svg",87),v(16,"path",88),n()()()}if(2&c){const e=h();s(),H(_(2,7,"CREATE_OFFER._bundle")),s(4),H(_(6,9,"CREATE_OFFER._is_bundled")),s(3),k("checked",e.bundleChecked),s(2),S(10,e.bundleChecked?10:-1),s(2),k("disabled",e.offersBundle.length<2&&e.bundleChecked)("ngClass",e.offersBundle.length<2&&e.bundleChecked?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(14,11,"CREATE_OFFER._next")," ")}}function qK3(c,r){1&c&&(o(0,"div",102)(1,"div",103),w(),o(2,"svg",104),v(3,"path",105),n(),O(),o(4,"span",60),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"CREATE_OFFER._no_prod_spec")," "))}function WK3(c,r){1&c&&(o(0,"div",98),w(),o(1,"svg",99),v(2,"path",100)(3,"path",101),n(),O(),o(4,"span",60),f(5,"Loading..."),n()())}function ZK3(c,r){1&c&&(o(0,"div",102)(1,"div",103),w(),o(2,"svg",104),v(3,"path",105),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_prod")," "))}function KK3(c,r){if(1&c&&(o(0,"span",115),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function QK3(c,r){if(1&c&&(o(0,"span",119),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function JK3(c,r){if(1&c&&(o(0,"span",120),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function XK3(c,r){if(1&c&&(o(0,"span",121),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function eQ3(c,r){1&c&&(o(0,"span",115),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"OFFERINGS._simple")))}function cQ3(c,r){1&c&&(o(0,"span",119),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"OFFERINGS._bundle")))}function aQ3(c,r){if(1&c){const e=j();o(0,"tr",130),C("click",function(){const t=y(e).$implicit;return b(h(5).selectProdSpec(t))}),o(1,"td",113),f(2),n(),o(3,"td",114),R(4,KK3,2,1,"span",115)(5,QK3,2,1)(6,JK3,2,1)(7,XK3,2,1),n(),o(8,"td",114),R(9,eQ3,3,3,"span",115)(10,cQ3,3,3),n(),o(11,"td",114),f(12),m(13,"date"),n()()}if(2&c){const e=r.$implicit,a=h(5);k("ngClass",e.id==a.selectedProdSpec.id?"bg-gray-300 dark:bg-secondary-200":"bg-white dark:bg-secondary-300"),s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1),s(5),S(9,0==e.isBundle?9:10),s(3),V(" ",L2(13,5,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," ")}}function rQ3(c,r){if(1&c&&(o(0,"div",128)(1,"table",107)(2,"thead",108)(3,"tr")(4,"th",109),f(5),m(6,"translate"),n(),o(7,"th",110),f(8),m(9,"translate"),n(),o(10,"th",110),f(11),m(12,"translate"),n(),o(13,"th",110),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,aQ3,14,8,"tr",129,z1),n()()()),2&c){const e=h(4);s(5),V(" ",_(6,4,"OFFERINGS._name")," "),s(3),V(" ",_(9,6,"OFFERINGS._status")," "),s(3),V(" ",_(12,8,"OFFERINGS._type")," "),s(3),V(" ",_(15,10,"OFFERINGS._last_update")," "),s(3),a1(e.prodSpecs)}}function tQ3(c,r){if(1&c){const e=j();o(0,"div",122)(1,"button",123),C("click",function(){return y(e),b(h(5).nextProdSpec())}),f(2),m(3,"translate"),w(),o(4,"svg",124),v(5,"path",125),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_PROD_SPEC._load_more")," "))}function iQ3(c,r){1&c&&R(0,tQ3,6,3,"div",122),2&c&&S(0,h(4).prodSpecPageCheck?0:-1)}function oQ3(c,r){1&c&&(o(0,"div",126),w(),o(1,"svg",99),v(2,"path",100)(3,"path",101),n(),O(),o(4,"span",60),f(5,"Loading..."),n()())}function nQ3(c,r){if(1&c&&R(0,ZK3,7,3,"div",102)(1,rQ3,19,12)(2,iQ3,1,1)(3,oQ3,6,0),2&c){const e=h(3);S(0,0==e.prodSpecs.length?0:1),s(2),S(2,e.loadingProdSpec_more?3:2)}}function sQ3(c,r){1&c&&R(0,WK3,6,0,"div",98)(1,nQ3,4,2),2&c&&S(0,h(2).loadingProdSpec?0:1)}function lQ3(c,r){if(1&c){const e=j();o(0,"h2",91),f(1),m(2,"translate"),n(),o(3,"div",127),R(4,qK3,9,3,"div",102)(5,sQ3,2,1),o(6,"div",85)(7,"button",97),C("click",function(){y(e);const t=h();return t.toggleCatalogs(),b(t.prodSpecDone=!0)}),f(8),m(9,"translate"),w(),o(10,"svg",87),v(11,"path",88),n()()()()}if(2&c){const e=h();s(),H(_(2,5,"OFFERINGS._prod_spec")),s(3),S(4,e.bundleChecked?4:5),s(3),k("disabled",""==e.selectedProdSpec.id&&!e.bundleChecked)("ngClass",""!=e.selectedProdSpec.id||e.bundleChecked?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(9,7,"CREATE_OFFER._next")," ")}}function fQ3(c,r){1&c&&(o(0,"div",98),w(),o(1,"svg",99),v(2,"path",100)(3,"path",101),n(),O(),o(4,"span",60),f(5,"Loading..."),n()())}function dQ3(c,r){1&c&&(o(0,"div",102)(1,"div",103),w(),o(2,"svg",104),v(3,"path",105),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_cat")," "))}function uQ3(c,r){if(1&c&&(o(0,"span",115),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function hQ3(c,r){if(1&c&&(o(0,"span",119),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function mQ3(c,r){if(1&c&&(o(0,"span",120),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function _Q3(c,r){if(1&c&&(o(0,"span",121),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function pQ3(c,r){if(1&c){const e=j();o(0,"tr",130),C("click",function(){const t=y(e).$implicit;return b(h(4).selectCatalog(t))}),o(1,"td",113),f(2),n(),o(3,"td",114),R(4,uQ3,2,1,"span",115)(5,hQ3,2,1)(6,mQ3,2,1)(7,_Q3,2,1),n(),o(8,"td",114),f(9),n()()}if(2&c){let e;const a=r.$implicit,t=h(4);k("ngClass",a.id==t.selectedCatalog.id?"bg-gray-300 dark:bg-secondary-200":"bg-white dark:bg-secondary-300"),s(2),V(" ",a.name," "),s(2),S(4,"Active"==a.lifecycleStatus?4:"Launched"==a.lifecycleStatus?5:"suspended"==a.lifecycleStatus?6:"terminated"==a.lifecycleStatus?7:-1),s(5),V(" ",null==a.relatedParty||null==(e=a.relatedParty.at(0))?null:e.role," ")}}function gQ3(c,r){if(1&c&&(o(0,"div",132)(1,"table",107)(2,"thead",108)(3,"tr")(4,"th",109),f(5),m(6,"translate"),n(),o(7,"th",110),f(8),m(9,"translate"),n(),o(10,"th",110),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,pQ3,10,4,"tr",129,z1),n()()()),2&c){const e=h(3);s(5),V(" ",_(6,3,"OFFERINGS._name")," "),s(3),V(" ",_(9,5,"OFFERINGS._status")," "),s(3),V(" ",_(12,7,"OFFERINGS._role")," "),s(3),a1(e.catalogs)}}function vQ3(c,r){if(1&c){const e=j();o(0,"div",122)(1,"button",123),C("click",function(){return y(e),b(h(4).nextCatalog())}),f(2),m(3,"translate"),w(),o(4,"svg",124),v(5,"path",125),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_PROD_SPEC._load_more")," "))}function HQ3(c,r){1&c&&R(0,vQ3,6,3,"div",122),2&c&&S(0,h(3).catalogPageCheck?0:-1)}function CQ3(c,r){1&c&&(o(0,"div",126),w(),o(1,"svg",99),v(2,"path",100)(3,"path",101),n(),O(),o(4,"span",60),f(5,"Loading..."),n()())}function zQ3(c,r){if(1&c&&R(0,dQ3,7,3,"div",102)(1,gQ3,16,9)(2,HQ3,1,1)(3,CQ3,6,0),2&c){const e=h(2);S(0,0==e.catalogs.length?0:1),s(2),S(2,e.loadingCatalog_more?3:2)}}function VQ3(c,r){if(1&c){const e=j();o(0,"h2",91),f(1),m(2,"translate"),n(),o(3,"div",127),R(4,fQ3,6,0,"div",98)(5,zQ3,4,2),o(6,"div",131)(7,"button",97),C("click",function(){y(e);const t=h();return t.toggleCategories(),b(t.catalogsDone=!0)}),f(8),m(9,"translate"),w(),o(10,"svg",87),v(11,"path",88),n()()()()}if(2&c){const e=h();s(),H(_(2,5,"CREATE_OFFER._catalog")),s(3),S(4,e.loadingCatalog?4:5),s(3),k("disabled",""==e.selectedCatalog.id)("ngClass",""==e.selectedCatalog.id?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(9,7,"CREATE_OFFER._next")," ")}}function MQ3(c,r){1&c&&(o(0,"div",98),w(),o(1,"svg",99),v(2,"path",100)(3,"path",101),n(),O(),o(4,"span",60),f(5,"Loading..."),n()())}function LQ3(c,r){1&c&&(o(0,"div",102)(1,"div",103),w(),o(2,"svg",104),v(3,"path",105),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_categories")," "))}function yQ3(c,r){if(1&c&&(o(0,"tr",144)(1,"td",145),v(2,"categories-recursion",146),n()()),2&c){const e=r.$implicit,a=h(2).$implicit,t=h(4);s(2),k("child",e)("parent",a)("selected",t.selectedCategories)("path",a.name)}}function bQ3(c,r){1&c&&c1(0,yQ3,3,4,"tr",144,z1),2&c&&a1(h().$implicit.children)}function xQ3(c,r){if(1&c){const e=j();o(0,"tr",139)(1,"td",140)(2,"b"),f(3),n()(),o(4,"td",141),f(5),m(6,"date"),n(),o(7,"td",142)(8,"input",143),C("click",function(){const t=y(e).$implicit;return b(h(4).addCategory(t))}),n()()(),R(9,bQ3,2,0)}if(2&c){const e=r.$implicit,a=h(4);s(3),H(e.name),s(2),V(" ",L2(6,4,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," "),s(3),k("checked",a.isCategorySelected(e)),s(),S(9,e.children.length>0?9:-1)}}function wQ3(c,r){if(1&c&&(o(0,"div",132)(1,"table",107)(2,"thead",108)(3,"tr",135)(4,"th",136),f(5),m(6,"translate"),n(),o(7,"th",137),f(8),m(9,"translate"),n(),o(10,"th",138),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,xQ3,10,7,null,null,Jt),n()()()),2&c){const e=h(3);s(5),V(" ",_(6,3,"CREATE_OFFER._name")," "),s(3),V(" ",_(9,5,"CREATE_OFFER._last_update")," "),s(3),V(" ",_(12,7,"CREATE_OFFER._select")," "),s(3),a1(e.categories)}}function FQ3(c,r){1&c&&R(0,LQ3,7,3,"div",102)(1,wQ3,16,9),2&c&&S(0,0==h(2).categories.length?0:1)}function kQ3(c,r){if(1&c){const e=j();o(0,"h2",91),f(1),m(2,"translate"),n(),o(3,"div",127),R(4,MQ3,6,0,"div",98)(5,FQ3,2,1),o(6,"div",133)(7,"button",134),C("click",function(){y(e);const t=h();return t.toggleLicense(),b(t.categoriesDone=!0)}),f(8),m(9,"translate"),w(),o(10,"svg",87),v(11,"path",88),n()()()()}if(2&c){const e=h();s(),H(_(2,3,"CREATE_OFFER._category")),s(3),S(4,e.loadingCategory?4:5),s(4),V(" ",_(9,5,"CREATE_OFFER._next")," ")}}function SQ3(c,r){1&c&&v(0,"markdown",83),2&c&&k("data",h(3).licenseDescription)}function NQ3(c,r){1&c&&v(0,"textarea",89)}function DQ3(c,r){if(1&c){const e=j();o(0,"emoji-mart",90),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(3).addEmoji(t))}),n()}2&c&&(Y2(E4(3,ql)),k("darkMode",!1))}function TQ3(c,r){if(1&c){const e=j();o(0,"div",147)(1,"form",148)(2,"label",149),f(3),m(4,"translate"),n(),v(5,"input",150),o(6,"label",151),f(7),m(8,"translate"),n(),o(9,"div",152)(10,"div",54)(11,"div",55)(12,"div",56)(13,"button",57),C("click",function(){return y(e),b(h(2).addBold())}),w(),o(14,"svg",58),v(15,"path",59),n(),O(),o(16,"span",60),f(17,"Bold"),n()(),o(18,"button",57),C("click",function(){return y(e),b(h(2).addItalic())}),w(),o(19,"svg",58),v(20,"path",61),n(),O(),o(21,"span",60),f(22,"Italic"),n()(),o(23,"button",57),C("click",function(){return y(e),b(h(2).addList())}),w(),o(24,"svg",62),v(25,"path",63),n(),O(),o(26,"span",60),f(27,"Add list"),n()(),o(28,"button",64),C("click",function(){return y(e),b(h(2).addOrderedList())}),w(),o(29,"svg",62),v(30,"path",65),n(),O(),o(31,"span",60),f(32,"Add ordered list"),n()(),o(33,"button",66),C("click",function(){return y(e),b(h(2).addBlockquote())}),w(),o(34,"svg",67),v(35,"path",68),n(),O(),o(36,"span",60),f(37,"Add blockquote"),n()(),o(38,"button",57),C("click",function(){return y(e),b(h(2).addTable())}),w(),o(39,"svg",69),v(40,"path",70),n(),O(),o(41,"span",60),f(42,"Add table"),n()(),o(43,"button",66),C("click",function(){return y(e),b(h(2).addCode())}),w(),o(44,"svg",69),v(45,"path",71),n(),O(),o(46,"span",60),f(47,"Add code"),n()(),o(48,"button",66),C("click",function(){return y(e),b(h(2).addCodeBlock())}),w(),o(49,"svg",69),v(50,"path",72),n(),O(),o(51,"span",60),f(52,"Add code block"),n()(),o(53,"button",66),C("click",function(){return y(e),b(h(2).addLink())}),w(),o(54,"svg",69),v(55,"path",73),n(),O(),o(56,"span",60),f(57,"Add link"),n()(),o(58,"button",64),C("click",function(t){y(e);const i=h(2);return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(59,"svg",74),v(60,"path",75),n(),O(),o(61,"span",60),f(62,"Add emoji"),n()()()(),o(63,"button",76),C("click",function(){y(e);const t=h(2);return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(64,"svg",62),v(65,"path",77)(66,"path",78),n(),O(),o(67,"span",60),f(68),m(69,"translate"),n()(),o(70,"div",79),f(71),m(72,"translate"),v(73,"div",80),n()(),o(74,"div",81)(75,"label",82),f(76,"Publish post"),n(),R(77,SQ3,1,1,"markdown",83)(78,NQ3,1,0)(79,DQ3,1,4,"emoji-mart",84),n()()(),o(80,"div",153)(81,"button",154),C("click",function(){return y(e),b(h(2).clearLicense())}),f(82),m(83,"translate"),n()()()}if(2&c){let e;const a=h(2);s(),k("formGroup",a.licenseForm),s(2),H(_(4,29,"CREATE_OFFER._treatment")),s(2),k("ngClass",1==(null==(e=a.licenseForm.get("treatment"))?null:e.invalid)&&""!=a.licenseForm.value.treatment?"border-red-600":"border-gray-300"),s(2),H(_(8,31,"CREATE_OFFER._description")),s(6),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(69,33,"CREATE_CATALOG._preview")),s(3),V(" ",_(72,35,"CREATE_CATALOG._show_preview")," "),s(6),S(77,a.showPreview?77:78),s(2),S(79,a.showEmoji?79:-1),s(3),V(" ",_(83,37,"CREATE_OFFER._cancel")," ")}}function EQ3(c,r){if(1&c){const e=j();o(0,"div",155)(1,"button",154),C("click",function(){y(e);const t=h(2);return b(t.freeLicenseSelected=!t.freeLicenseSelected)}),f(2),m(3,"translate"),w(),o(4,"svg",156),v(5,"path",125),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_OFFER._create_license")," "))}function AQ3(c,r){if(1&c){const e=j();o(0,"h2",91),f(1),m(2,"translate"),n(),o(3,"div",127),R(4,TQ3,84,39,"div",147)(5,EQ3,6,3),o(6,"div",131)(7,"button",97),C("click",function(){y(e);const t=h();return t.togglePrice(),b(t.licenseDone=!0)}),f(8),m(9,"translate"),w(),o(10,"svg",87),v(11,"path",88),n()()()()}if(2&c){const e=h();s(),H(_(2,5,"CREATE_OFFER._license")),s(3),S(4,e.freeLicenseSelected?5:4),s(3),k("disabled",!e.licenseForm.valid&&!e.freeLicenseSelected)("ngClass",e.licenseForm.valid||e.freeLicenseSelected?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(9,7,"CREATE_OFFER._next")," ")}}function PQ3(c,r){1&c&&(o(0,"div",102)(1,"div",103),w(),o(2,"svg",104),v(3,"path",105),n(),O(),o(4,"span",60),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"CREATE_OFFER._no_sla")," "))}function RQ3(c,r){if(1&c){const e=j();o(0,"tr",160)(1,"td",117),f(2),n(),o(3,"td",113),f(4),n(),o(5,"td",117),f(6),n(),o(7,"td",117),f(8),n(),o(9,"td",117)(10,"button",161),C("click",function(){const t=y(e).$implicit;return b(h(3).removeSLA(t))}),w(),o(11,"svg",162),v(12,"path",163),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.type," "),s(2),V(" ",e.description," "),s(2),V(" ",e.threshold," "),s(2),V(" ",e.unitMeasure," ")}}function BQ3(c,r){if(1&c&&(o(0,"div",157)(1,"table",158)(2,"thead",159)(3,"tr")(4,"th",109),f(5),m(6,"translate"),n(),o(7,"th",109),f(8),m(9,"translate"),n(),o(10,"th",109),f(11),m(12,"translate"),n(),o(13,"th",109),f(14),m(15,"translate"),n(),o(16,"th",109),f(17),m(18,"translate"),n()()(),o(19,"tbody"),c1(20,RQ3,13,4,"tr",160,z1),n()()()),2&c){const e=h(2);s(5),V(" ",_(6,5,"CREATE_OFFER._name")," "),s(3),V(" ",_(9,7,"CREATE_OFFER._description")," "),s(3),V(" ",_(12,9,"CREATE_OFFER._threshold")," "),s(3),V(" ",_(15,11,"CREATE_OFFER._unit")," "),s(3),V(" ",_(18,13,"CREATE_OFFER._actions")," "),s(3),a1(e.createdSLAs)}}function OQ3(c,r){if(1&c){const e=j();o(0,"div",155)(1,"button",154),C("click",function(){return y(e),b(h(2).showCreateSLAMetric())}),f(2),m(3,"translate"),w(),o(4,"svg",156),v(5,"path",125),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_OFFER._new_metric")," "))}function IQ3(c,r){if(1&c&&(o(0,"option",165),f(1),n()),2&c){const e=r.$implicit;D1("value",e),s(),H(e)}}function UQ3(c,r){if(1&c){const e=j();o(0,"div",166)(1,"div",168),v(2,"input",169,0),o(4,"select",170),C("change",function(t){return y(e),b(h(3).onSLAMetricChange(t))}),o(5,"option",171),f(6,"Day"),n(),o(7,"option",172),f(8,"Week"),n(),o(9,"option",173),f(10,"Month"),n()()()()}}function jQ3(c,r){if(1&c){const e=j();o(0,"div",166)(1,"div",168),v(2,"input",169,1),o(4,"select",170),C("change",function(t){return y(e),b(h(3).onSLAMetricChange(t))}),o(5,"option",174),f(6,"Ms"),n(),o(7,"option",175),f(8,"S"),n(),o(9,"option",176),f(10,"Min"),n()()()()}}function $Q3(c,r){if(1&c){const e=j();o(0,"div",166)(1,"div",168),v(2,"input",169,2),o(4,"select",170),C("change",function(t){return y(e),b(h(3).onSLAMetricChange(t))}),o(5,"option",174),f(6,"Ms"),n(),o(7,"option",175),f(8,"S"),n(),o(9,"option",176),f(10,"Min"),n()()()()}}function YQ3(c,r){if(1&c){const e=j();o(0,"select",164),C("change",function(t){return y(e),b(h(2).onSLAChange(t))}),c1(1,IQ3,2,2,"option",165,z1),n(),R(3,UQ3,11,0,"div",166)(4,jQ3,11,0,"div",166)(5,$Q3,11,0,"div",166),o(6,"div",155)(7,"button",154),C("click",function(){return y(e),b(h(2).addSLA())}),f(8),m(9,"translate"),w(),o(10,"svg",156),v(11,"path",167),n()()()}if(2&c){const e=h(2);s(),a1(e.availableSLAs),s(2),S(3,e.updatesSelected?3:-1),s(),S(4,e.responseSelected?4:-1),s(),S(5,e.delaySelected?5:-1),s(3),V(" ",_(9,4,"CREATE_OFFER._add_metric")," ")}}function GQ3(c,r){if(1&c){const e=j();o(0,"h2",91),f(1),m(2,"translate"),n(),R(3,PQ3,9,3,"div",102)(4,BQ3,22,15)(5,OQ3,6,3,"div",155)(6,YQ3,12,6),o(7,"div",131)(8,"button",134),C("click",function(){y(e);const t=h();return t.togglePrice(),b(t.slaDone=!0)}),f(9),m(10,"translate"),w(),o(11,"svg",87),v(12,"path",88),n()()()}if(2&c){const e=h();s(),H(_(2,5,"CREATE_OFFER._sla")),s(2),S(3,0===e.createdSLAs.length?3:4),s(2),S(5,0!=e.availableSLAs.length?5:-1),s(),S(6,e.showCreateSLA?6:-1),s(3),V(" ",_(10,7,"CREATE_OFFER._next")," ")}}function qQ3(c,r){1&c&&(o(0,"div",102)(1,"div",103),w(),o(2,"svg",104),v(3,"path",105),n(),O(),o(4,"span",60),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"CREATE_OFFER._no_prices")," "))}function WQ3(c,r){if(1&c){const e=j();o(0,"tr",112)(1,"td",178),f(2),n(),o(3,"td",179),f(4),n(),o(5,"td",114),f(6),n(),o(7,"td",117),f(8),n(),o(9,"td",117),f(10),n(),o(11,"td",180)(12,"button",161),C("click",function(){const t=y(e).$implicit;return b(h(3).removePrice(t))}),w(),o(13,"svg",162),v(14,"path",163),n()(),O(),o(15,"button",181),C("click",function(t){const i=y(e).$implicit;return h(3).showUpdatePrice(i),b(t.stopPropagation())}),w(),o(16,"svg",182),v(17,"path",183),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),V(" ",e.priceType," "),s(2),V(" ",null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.value," "),s(2),V(" ",null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.unit," ")}}function ZQ3(c,r){if(1&c&&(o(0,"div",157)(1,"table",107)(2,"thead",108)(3,"tr")(4,"th",109),f(5),m(6,"translate"),n(),o(7,"th",177),f(8),m(9,"translate"),n(),o(10,"th",110),f(11),m(12,"translate"),n(),o(13,"th",109),f(14),m(15,"translate"),n(),o(16,"th",109),f(17),m(18,"translate"),n(),o(19,"th",109),f(20),m(21,"translate"),n()()(),o(22,"tbody"),c1(23,WQ3,18,5,"tr",112,Jt),n()()()),2&c){const e=h(2);s(5),V(" ",_(6,6,"CREATE_OFFER._name")," "),s(3),V(" ",_(9,8,"CREATE_OFFER._description")," "),s(3),V(" ",_(12,10,"CREATE_OFFER._type")," "),s(3),V(" ",_(15,12,"CREATE_OFFER._price")," "),s(3),V(" ",_(18,14,"CREATE_OFFER._unit")," "),s(3),V(" ",_(21,16,"CREATE_OFFER._actions")," "),s(3),a1(e.createdPrices)}}function KQ3(c,r){if(1&c){const e=j();o(0,"div",155)(1,"button",154),C("click",function(){return y(e),b(h(2).showNewPrice())}),f(2),m(3,"translate"),w(),o(4,"svg",156),v(5,"path",125),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_OFFER._new_price")," "))}function QQ3(c,r){1&c&&(o(0,"p",188),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"UPDATE_OFFER._duplicated_price_name")))}function JQ3(c,r){if(1&c&&(o(0,"option",165),f(1),n()),2&c){const e=r.$implicit;D1("value",e.code),s(),j1("(",e.code,") ",e.name,"")}}function XQ3(c,r){if(1&c){const e=j();o(0,"label",186),f(1),m(2,"translate"),n(),o(3,"div",194)(4,"input",195),C("change",function(){return y(e),b(h(3).checkValidPrice())}),n(),o(5,"select",196),C("change",function(t){return y(e),b(h(3).onPriceUnitChange(t))}),c1(6,JQ3,2,3,"option",165,fm1),n()()}if(2&c){let e;const a=h(3);s(),H(_(2,2,"CREATE_OFFER._price")),s(3),k("ngClass",1==(null==(e=a.priceForm.get("price"))?null:e.invalid)&&""!=a.priceForm.value.price?"border-red-600":"border-gray-300 dark:border-secondary-200"),s(2),a1(a.currencies)}}function eJ3(c,r){1&c&&(o(0,"option",190),f(1,"CUSTOM"),n())}function cJ3(c,r){1&c&&(o(0,"option",197),f(1,"ONE TIME"),n(),o(2,"option",198),f(3,"RECURRING"),n(),o(4,"option",199),f(5,"USAGE"),n())}function aJ3(c,r){if(1&c){const e=j();o(0,"label",186),f(1),m(2,"translate"),n(),o(3,"select",200),C("change",function(t){return y(e),b(h(3).onPricePeriodChange(t))}),o(4,"option",201),f(5,"DAILY"),n(),o(6,"option",202),f(7,"WEEKLY"),n(),o(8,"option",203),f(9,"MONTHLY"),n(),o(10,"option",204),f(11,"QUARTERLY"),n(),o(12,"option",205),f(13,"YEARLY"),n(),o(14,"option",206),f(15,"QUINQUENNIAL"),n()()}2&c&&(s(),H(_(2,1,"CREATE_OFFER._choose_period")))}function rJ3(c,r){1&c&&(o(0,"label",186),f(1),m(2,"translate"),n(),v(3,"input",207,3)),2&c&&(s(),H(_(2,1,"CREATE_OFFER._unit")))}function tJ3(c,r){1&c&&v(0,"markdown",83),2&c&&k("data",h(3).priceDescription)}function iJ3(c,r){1&c&&v(0,"textarea",208)}function oJ3(c,r){if(1&c){const e=j();o(0,"emoji-mart",90),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(3).addEmoji(t))}),n()}2&c&&(Y2(E4(3,ql)),k("darkMode",!1))}function nJ3(c,r){if(1&c){const e=j();o(0,"label",186),f(1),m(2,"translate"),n(),o(3,"select",218),C("change",function(t){return y(e),b(h(5).onPricePeriodAlterChange(t))}),o(4,"option",201),f(5,"DAILY"),n(),o(6,"option",202),f(7,"WEEKLY"),n(),o(8,"option",203),f(9,"MONTHLY"),n(),o(10,"option",204),f(11,"QUARTERLY"),n(),o(12,"option",205),f(13,"YEARLY"),n(),o(14,"option",206),f(15,"QUINQUENNIAL"),n()()}2&c&&(s(),H(_(2,1,"CREATE_OFFER._choose_period")))}function sJ3(c,r){1&c&&(o(0,"label",186),f(1),m(2,"translate"),n(),v(3,"input",219,4)),2&c&&(s(),H(_(2,1,"CREATE_OFFER._unit")))}function lJ3(c,r){if(1&c){const e=j();o(0,"div",213)(1,"label",214),f(2),m(3,"translate"),n(),o(4,"select",215),C("change",function(t){return y(e),b(h(4).onPriceTypeAlterSelected(t))}),o(5,"option",197),f(6,"ONE TIME"),n(),o(7,"option",198),f(8,"RECURRING"),n(),o(9,"option",199),f(10,"USAGE"),n()(),o(11,"div")(12,"label",186),f(13),m(14,"translate"),n(),v(15,"input",216),n(),o(16,"div"),R(17,nJ3,16,3)(18,sJ3,5,3),n(),o(19,"label",191),f(20),m(21,"translate"),n(),v(22,"textarea",217),n()}if(2&c){let e;const a=h(4);s(2),H(_(3,6,"CREATE_OFFER._choose_type")),s(11),H(_(14,8,"CREATE_OFFER._price_alter")),s(2),k("ngClass",1==(null==(e=a.priceAlterForm.get("price"))?null:e.invalid)&&""!=a.priceAlterForm.value.price?"border-red-600":"border-gray-300"),s(2),S(17,"RECURRING"==a.priceTypeAlter?17:-1),s(),S(18,"USAGE"==a.priceTypeAlter?18:-1),s(2),H(_(21,10,"CREATE_OFFER._description"))}}function fJ3(c,r){if(1&c&&(o(0,"div",220)(1,"div")(2,"label",186),f(3),m(4,"translate"),n(),o(5,"select",221,5)(7,"option",212),f(8,"Discount"),n(),o(9,"option",222),f(10,"Fee"),n()()(),o(11,"div")(12,"label",186),f(13),m(14,"translate"),n(),o(15,"div",194),v(16,"input",223),o(17,"select",224)(18,"option",225),f(19,"%"),n(),o(20,"option",226),f(21,"(AUD) Australia Dollar"),n()()()(),o(22,"div",227)(23,"label",186),f(24),m(25,"translate"),n(),o(26,"div",194)(27,"select",228)(28,"option",229),f(29,"(EQ) Equal"),n(),o(30,"option",230),f(31,"(LT) Less than"),n(),o(32,"option",231),f(33,"(LE) Less than or equal"),n(),o(34,"option",232),f(35,"(GT) Greater than"),n(),o(36,"option",232),f(37,"(GE) Greater than or equal"),n()(),v(38,"input",233),n(),o(39,"label",191),f(40),m(41,"translate"),n(),v(42,"textarea",217),n()()),2&c){let e,a;const t=h(4);s(3),H(_(4,6,"CREATE_OFFER._choose_type")),s(10),H(_(14,8,"CREATE_OFFER._enter_value")),s(3),k("ngClass",1==(null==(e=t.priceAlterForm.get("price"))?null:e.invalid)&&""!=t.priceAlterForm.value.price?"border-red-600":"border-gray-300"),s(8),H(_(25,10,"CREATE_OFFER._add_condition")),s(14),k("ngClass",1==(null==(a=t.priceAlterForm.get("condition"))?null:a.invalid)&&""!=t.priceAlterForm.value.condition?"border-red-600":"border-gray-300"),s(2),H(_(41,12,"CREATE_OFFER._description"))}}function dJ3(c,r){if(1&c){const e=j();o(0,"form",148)(1,"div",127)(2,"label",186),f(3),m(4,"translate"),n(),o(5,"select",209),C("change",function(t){return y(e),b(h(3).onPriceAlterSelected(t))}),o(6,"option",210),f(7,"None"),n(),o(8,"option",211),f(9,"Price component"),n(),o(10,"option",212),f(11,"Discount or fee"),n()()(),R(12,lJ3,23,12,"div",213)(13,fJ3,43,14),n()}if(2&c){const e=h(3);k("formGroup",e.priceAlterForm),s(3),H(_(4,3,"CREATE_OFFER._price_alter")),s(9),S(12,e.priceComponentSelected?12:e.discountSelected?13:-1)}}function uJ3(c,r){if(1&c){const e=j();o(0,"label",184),f(1),m(2,"translate"),n(),v(3,"hr",21),o(4,"form",185),C("change",function(){return y(e),b(h(2).checkValidPrice())}),o(5,"div")(6,"label",186),f(7),m(8,"translate"),n(),o(9,"input",187),C("change",function(){return y(e),b(h(2).checkValidPrice())}),n(),R(10,QQ3,3,3,"p",188)(11,XQ3,8,4),n(),o(12,"div")(13,"label",186),f(14),m(15,"translate"),n(),o(16,"select",189),C("change",function(t){return y(e),b(h(2).onPriceTypeSelected(t))}),R(17,eJ3,2,0,"option",190)(18,cJ3,6,0),n(),R(19,aJ3,16,3)(20,rJ3,5,3),n(),o(21,"label",191),f(22),m(23,"translate"),n(),o(24,"div",192)(25,"div",54)(26,"div",55)(27,"div",56)(28,"button",57),C("click",function(){return y(e),b(h(2).addBold())}),w(),o(29,"svg",58),v(30,"path",59),n(),O(),o(31,"span",60),f(32,"Bold"),n()(),o(33,"button",57),C("click",function(){return y(e),b(h(2).addItalic())}),w(),o(34,"svg",58),v(35,"path",61),n(),O(),o(36,"span",60),f(37,"Italic"),n()(),o(38,"button",57),C("click",function(){return y(e),b(h(2).addList())}),w(),o(39,"svg",62),v(40,"path",63),n(),O(),o(41,"span",60),f(42,"Add list"),n()(),o(43,"button",57),C("click",function(){return y(e),b(h(2).addOrderedList())}),w(),o(44,"svg",62),v(45,"path",65),n(),O(),o(46,"span",60),f(47,"Add ordered list"),n()(),o(48,"button",57),C("click",function(){return y(e),b(h(2).addBlockquote())}),w(),o(49,"svg",67),v(50,"path",68),n(),O(),o(51,"span",60),f(52,"Add blockquote"),n()(),o(53,"button",57),C("click",function(){return y(e),b(h(2).addTable())}),w(),o(54,"svg",69),v(55,"path",70),n(),O(),o(56,"span",60),f(57,"Add table"),n()(),o(58,"button",57),C("click",function(){return y(e),b(h(2).addCode())}),w(),o(59,"svg",69),v(60,"path",71),n(),O(),o(61,"span",60),f(62,"Add code"),n()(),o(63,"button",57),C("click",function(){return y(e),b(h(2).addCodeBlock())}),w(),o(64,"svg",69),v(65,"path",72),n(),O(),o(66,"span",60),f(67,"Add code block"),n()(),o(68,"button",57),C("click",function(){return y(e),b(h(2).addLink())}),w(),o(69,"svg",69),v(70,"path",73),n(),O(),o(71,"span",60),f(72,"Add link"),n()(),o(73,"button",57),C("click",function(t){y(e);const i=h(2);return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(74,"svg",74),v(75,"path",75),n(),O(),o(76,"span",60),f(77,"Add emoji"),n()()()(),o(78,"button",76),C("click",function(){y(e);const t=h(2);return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(79,"svg",62),v(80,"path",77)(81,"path",78),n(),O(),o(82,"span",60),f(83),m(84,"translate"),n()(),o(85,"div",79),f(86),m(87,"translate"),v(88,"div",80),n()(),o(89,"div",81)(90,"label",82),f(91,"Publish post"),n(),R(92,tJ3,1,1,"markdown",83)(93,iJ3,1,0)(94,oJ3,1,4,"emoji-mart",84),n()()(),R(95,dJ3,14,5,"form",148),o(96,"div",155)(97,"button",193),C("click",function(){return y(e),b(h(2).savePrice())}),f(98),m(99,"translate"),w(),o(100,"svg",156),v(101,"path",167),n()()()}if(2&c){const e=h(2);s(),H(_(2,39,"CREATE_OFFER._new_price")),s(3),k("formGroup",e.priceForm),s(3),H(_(8,41,"CREATE_OFFER._name")),s(2),k("ngClass",null!=e.priceForm.controls.name.errors&&e.priceForm.controls.name.errors.invalidName?"border-red-600":"border-gray-300 dark:border-secondary-200 mb-2"),s(),S(10,null!=e.priceForm.controls.name.errors&&e.priceForm.controls.name.errors.invalidName?10:-1),s(),S(11,e.customSelected?-1:11),s(3),H(_(15,43,"CREATE_OFFER._choose_type")),s(3),S(17,e.allowCustom?17:-1),s(),S(18,e.allowOthers?18:-1),s(),S(19,e.recurringSelected?19:e.usageSelected?20:-1),s(3),H(_(23,45,"CREATE_OFFER._description")),s(6),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(84,47,"CREATE_CATALOG._preview")),s(3),V(" ",_(87,49,"CREATE_CATALOG._show_preview")," "),s(6),S(92,e.showPreview?92:93),s(2),S(94,e.showEmoji?94:-1),s(),S(95,e.customSelected?-1:95),s(2),k("disabled",e.validPriceCheck)("ngClass",e.validPriceCheck?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(99,51,"CREATE_OFFER._save_price")," ")}}function hJ3(c,r){if(1&c){const e=j();o(0,"h2",91),f(1),m(2,"translate"),n(),R(3,qQ3,9,3,"div",102)(4,ZQ3,25,18)(5,KQ3,6,3,"div",155)(6,uJ3,102,53),o(7,"div",131)(8,"button",134),C("click",function(){return y(e),b(h().showFinish())}),f(9),m(10,"translate"),w(),o(11,"svg",87),v(12,"path",88),n()()()}if(2&c){const e=h();s(),H(_(2,4,"CREATE_OFFER._price_plans")),s(2),S(3,0==e.createdPrices.length?3:4),s(2),S(5,e.showCreatePrice?6:5),s(4),V(" ",_(10,6,"CREATE_OFFER._next")," ")}}function mJ3(c,r){if(1&c&&(o(0,"span",115),f(1),n()),2&c){const e=h(2);s(),H(null==e.offerToCreate?null:e.offerToCreate.lifecycleStatus)}}function _J3(c,r){if(1&c&&(o(0,"span",119),f(1),n()),2&c){const e=h(2);s(),H(null==e.offerToCreate?null:e.offerToCreate.lifecycleStatus)}}function pJ3(c,r){if(1&c&&(o(0,"span",120),f(1),n()),2&c){const e=h(2);s(),H(null==e.offerToCreate?null:e.offerToCreate.lifecycleStatus)}}function gJ3(c,r){if(1&c&&(o(0,"span",121),f(1),n()),2&c){const e=h(2);s(),H(null==e.offerToCreate?null:e.offerToCreate.lifecycleStatus)}}function vJ3(c,r){if(1&c&&(o(0,"label",186),f(1),m(2,"translate"),n(),o(3,"div",241),v(4,"markdown",242),n()),2&c){const e=h(2);s(),H(_(2,2,"CREATE_OFFER._description")),s(3),k("data",null==e.offerToCreate?null:e.offerToCreate.description)}}function HJ3(c,r){if(1&c&&(o(0,"span",115),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function CJ3(c,r){if(1&c&&(o(0,"span",119),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function zJ3(c,r){if(1&c&&(o(0,"span",120),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function VJ3(c,r){if(1&c&&(o(0,"span",121),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function MJ3(c,r){if(1&c&&(o(0,"tr",112)(1,"td",113),f(2),n(),o(3,"td",117),R(4,HJ3,2,1,"span",115)(5,CJ3,2,1)(6,zJ3,2,1)(7,VJ3,2,1),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1)}}function LJ3(c,r){if(1&c&&(o(0,"label",186),f(1),m(2,"translate"),n(),o(3,"div",240)(4,"table",107)(5,"thead",108)(6,"tr")(7,"th",109),f(8),m(9,"translate"),n(),o(10,"th",109),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,MJ3,8,2,"tr",112,z1),n()()()),2&c){const e=h(2);s(),H(_(2,3,"CREATE_OFFER._bundle")),s(7),V(" ",_(9,5,"CREATE_OFFER._name")," "),s(3),V(" ",_(12,7,"CREATE_OFFER._status")," "),s(3),a1(e.offersBundle)}}function yJ3(c,r){if(1&c&&(o(0,"span",115),f(1),n()),2&c){const e=h(2);s(),H(e.selectedCatalog.lifecycleStatus)}}function bJ3(c,r){if(1&c&&(o(0,"span",119),f(1),n()),2&c){const e=h(2);s(),H(e.selectedCatalog.lifecycleStatus)}}function xJ3(c,r){if(1&c&&(o(0,"span",120),f(1),n()),2&c){const e=h(2);s(),H(e.selectedCatalog.lifecycleStatus)}}function wJ3(c,r){if(1&c&&(o(0,"span",121),f(1),n()),2&c){const e=h(2);s(),H(e.selectedCatalog.lifecycleStatus)}}function FJ3(c,r){if(1&c&&(o(0,"tr",112)(1,"td",113),f(2),n(),o(3,"td",114),f(4),m(5,"date"),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",L2(5,2,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," ")}}function kJ3(c,r){if(1&c&&(o(0,"h2",186),f(1),m(2,"translate"),n(),o(3,"div",240)(4,"table",107)(5,"thead",108)(6,"tr")(7,"th",109),f(8),m(9,"translate"),n(),o(10,"th",110),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,FJ3,6,5,"tr",112,Jt),n()()()),2&c){const e=h(2);s(),H(_(2,3,"CREATE_OFFER._category")),s(7),V(" ",_(9,5,"CREATE_OFFER._name")," "),s(3),V(" ",_(12,7,"CREATE_OFFER._last_update")," "),s(3),a1(e.selectedCategories)}}function SJ3(c,r){if(1&c&&(o(0,"tr",112)(1,"td",178),f(2),n(),o(3,"td",243),f(4),n(),o(5,"td",114),f(6),n(),o(7,"td",117),f(8),n(),o(9,"td",114),f(10),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),V(" ",e.priceType," "),s(2),V(" ",null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.value," "),s(2),V(" ",null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.unit," ")}}function NJ3(c,r){if(1&c&&(o(0,"h2",186),f(1),m(2,"translate"),n(),o(3,"div",240)(4,"table",107)(5,"thead",108)(6,"tr")(7,"th",109),f(8),m(9,"translate"),n(),o(10,"th",110),f(11),m(12,"translate"),n(),o(13,"th",110),f(14),m(15,"translate"),n(),o(16,"th",109),f(17),m(18,"translate"),n(),o(19,"th",110),f(20),m(21,"translate"),n()()(),o(22,"tbody"),c1(23,SJ3,11,5,"tr",112,Jt),n()()()),2&c){const e=h(2);s(),H(_(2,6,"CREATE_OFFER._price_plans")),s(7),V(" ",_(9,8,"CREATE_OFFER._name")," "),s(3),V(" ",_(12,10,"CREATE_OFFER._description")," "),s(3),V(" ",_(15,12,"CREATE_OFFER._type")," "),s(3),V(" ",_(18,14,"CREATE_OFFER._price")," "),s(3),V(" ",_(21,16,"CREATE_OFFER._unit")," "),s(3),a1(e.createdPrices)}}function DJ3(c,r){if(1&c&&(o(0,"tr",112)(1,"td",117),f(2),n(),o(3,"td",243),f(4),n(),o(5,"td",114),f(6),n(),o(7,"td",114),f(8),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.type," "),s(2),V(" ",e.description," "),s(2),V(" ",e.threshold," "),s(2),V(" ",e.unitMeasure," ")}}function TJ3(c,r){if(1&c&&(o(0,"h2",244),f(1),m(2,"translate"),n(),o(3,"div",240)(4,"table",107)(5,"thead",108)(6,"tr")(7,"th",109),f(8),m(9,"translate"),n(),o(10,"th",110),f(11),m(12,"translate"),n(),o(13,"th",110),f(14),m(15,"translate"),n(),o(16,"th",110),f(17),m(18,"translate"),n()()(),o(19,"tbody"),c1(20,DJ3,9,4,"tr",112,z1),n()()()),2&c){const e=h(2);s(),H(_(2,5,"CREATE_OFFER._sla")),s(7),V(" ",_(9,7,"CREATE_OFFER._name")," "),s(3),V(" ",_(12,9,"CREATE_OFFER._description")," "),s(3),V(" ",_(15,11,"CREATE_OFFER._threshold")," "),s(3),V(" ",_(18,13,"CREATE_OFFER._unit")," "),s(3),a1(e.createdSLAs)}}function EJ3(c,r){if(1&c&&(o(0,"label",246),f(1),m(2,"translate"),n(),o(3,"div",247),v(4,"markdown",242),n()),2&c){const e=h(3);s(),H(_(2,2,"CREATE_OFFER._description")),s(3),k("data",e.createdLicense.description)}}function AJ3(c,r){if(1&c&&(o(0,"h2",186),f(1),m(2,"translate"),n(),o(3,"div")(4,"label",245),f(5),m(6,"translate"),n(),o(7,"label",236),f(8),n(),R(9,EJ3,5,4),n()),2&c){const e=h(2);s(),H(_(2,4,"CREATE_OFFER._license")),s(4),H(_(6,6,"CREATE_OFFER._treatment")),s(3),V(" ",e.createdLicense.treatment," "),s(),S(9,""!==e.createdLicense.description?9:-1)}}function PJ3(c,r){if(1&c){const e=j();o(0,"h2",91),f(1),m(2,"translate"),n(),o(3,"div",234)(4,"div",235)(5,"div")(6,"label",186),f(7),m(8,"translate"),n(),o(9,"label",236),f(10),n()(),o(11,"div")(12,"label",50),f(13),m(14,"translate"),n(),o(15,"label",237),f(16),n()()(),o(17,"div",238)(18,"label",239),f(19),m(20,"translate"),n(),R(21,mJ3,2,1,"span",115)(22,_J3,2,1)(23,pJ3,2,1)(24,gJ3,2,1),n(),R(25,vJ3,5,4)(26,LJ3,16,9),o(27,"label",186),f(28),m(29,"translate"),n(),o(30,"div",240)(31,"table",107)(32,"thead",108)(33,"tr")(34,"th",109),f(35),m(36,"translate"),n(),o(37,"th",109),f(38),m(39,"translate"),n(),o(40,"th",110),f(41),m(42,"translate"),n()()(),o(43,"tbody")(44,"tr",112)(45,"td",113),f(46),n(),o(47,"td",117),R(48,yJ3,2,1,"span",115)(49,bJ3,2,1)(50,xJ3,2,1)(51,wJ3,2,1),n(),o(52,"td",114),f(53),n()()()()(),R(54,kJ3,16,9)(55,NJ3,25,18)(56,TJ3,22,15)(57,AJ3,10,8),o(58,"div",131)(59,"button",134),C("click",function(){return y(e),b(h().createOffer())}),f(60),m(61,"translate"),w(),o(62,"svg",87),v(63,"path",88),n()()()()}if(2&c){let e;const a=h();s(),H(_(2,21,"CREATE_OFFER._finish")),s(6),H(_(8,23,"CREATE_OFFER._name")),s(3),V(" ",null==a.offerToCreate?null:a.offerToCreate.name," "),s(3),H(_(14,25,"CREATE_OFFER._version")),s(3),V(" ",null==a.offerToCreate?null:a.offerToCreate.version," "),s(3),H(_(20,27,"CREATE_OFFER._status")),s(2),S(21,"Active"==(null==a.offerToCreate?null:a.offerToCreate.lifecycleStatus)?21:"Launched"==(null==a.offerToCreate?null:a.offerToCreate.lifecycleStatus)?22:"Retired"==(null==a.offerToCreate?null:a.offerToCreate.lifecycleStatus)?23:"Obsolete"==(null==a.offerToCreate?null:a.offerToCreate.lifecycleStatus)?24:-1),s(4),S(25,""!=(null==a.offerToCreate?null:a.offerToCreate.description)?25:-1),s(),S(26,a.offersBundle.length>0?26:-1),s(2),H(_(29,29,"CREATE_OFFER._catalog")),s(7),V(" ",_(36,31,"OFFERINGS._name")," "),s(3),V(" ",_(39,33,"OFFERINGS._status")," "),s(3),V(" ",_(42,35,"OFFERINGS._role")," "),s(5),V(" ",a.selectedCatalog.name," "),s(2),S(48,"active"==a.selectedCatalog.lifecycleStatus?48:"Launched"==a.selectedCatalog.lifecycleStatus?49:"suspended"==a.selectedCatalog.lifecycleStatus?50:"terminated"==a.selectedCatalog.lifecycleStatus?51:-1),s(5),V(" ",null==a.selectedCatalog.relatedParty||null==(e=a.selectedCatalog.relatedParty.at(0))?null:e.role," "),s(),S(54,a.selectedCategories.length>0?54:-1),s(),S(55,a.createdPrices.length>0?55:-1),s(),S(56,a.createdSLAs.length>0?56:-1),s(),S(57,a.freeLicenseSelected||""===a.createdLicense.treatment?-1:57),s(3),V(" ",_(61,37,"CREATE_OFFER._finish")," ")}}function RJ3(c,r){1&c&&(o(0,"p",188),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"UPDATE_OFFER._duplicated_price_name")))}function BJ3(c,r){if(1&c&&(o(0,"option",260),f(1),n()),2&c){const e=r.$implicit,a=h(3);D1("value",e.code),k("selected",a.selectedPriceUnit==e.code),s(),j1("(",e.code,") ",e.name,"")}}function OJ3(c,r){if(1&c){const e=j();o(0,"label",186),f(1),m(2,"translate"),n(),o(3,"div",194)(4,"input",195),C("change",function(){return y(e),b(h(2).checkValidPrice())}),n(),o(5,"select",259),C("change",function(t){return y(e),b(h(2).onPriceUnitChange(t))}),c1(6,BJ3,2,4,"option",260,fm1),n()()}if(2&c){let e;const a=h(2);s(),H(_(2,3,"UPDATE_OFFER._price")),s(3),k("ngClass",1==(null==(e=a.priceForm.get("price"))?null:e.invalid)&&""!=a.priceForm.value.price?"border-red-600":"border-gray-300 dark:border-secondary-200"),s(),D1("value",a.selectedPriceUnit),s(),a1(a.currencies)}}function IJ3(c,r){if(1&c){const e=j();o(0,"select",261),C("change",function(t){return y(e),b(h(2).onPriceTypeSelected(t))}),o(1,"option",190),f(2,"CUSTOM"),n()()}2&c&&D1("value",h(2).selectedPriceType)}function UJ3(c,r){if(1&c){const e=j();o(0,"select",261),C("change",function(t){return y(e),b(h(2).onPriceTypeSelected(t))}),o(1,"option",197),f(2,"ONE TIME"),n(),o(3,"option",198),f(4,"RECURRING"),n(),o(5,"option",199),f(6,"USAGE"),n()()}2&c&&D1("value",h(2).selectedPriceType)}function jJ3(c,r){if(1&c){const e=j();o(0,"label",186),f(1),m(2,"translate"),n(),o(3,"select",262),C("change",function(t){return y(e),b(h(2).onPricePeriodChange(t))}),o(4,"option",201),f(5,"DAILY"),n(),o(6,"option",202),f(7,"WEEKLY"),n(),o(8,"option",203),f(9,"MONTHLY"),n(),o(10,"option",204),f(11,"QUARTERLY"),n(),o(12,"option",205),f(13,"YEARLY"),n(),o(14,"option",206),f(15,"QUINQUENNIAL"),n()()}if(2&c){const e=h(2);s(),H(_(2,2,"UPDATE_OFFER._choose_period")),s(2),D1("value",e.selectedPeriod)}}function $J3(c,r){if(1&c&&(o(0,"label",186),f(1),m(2,"translate"),n(),v(3,"input",263,6)),2&c){const e=h(2);s(),H(_(2,2,"UPDATE_OFFER._unit")),s(2),D1("value",null==e.priceToUpdate||null==e.priceToUpdate.unitOfMeasure?null:e.priceToUpdate.unitOfMeasure.units)}}function YJ3(c,r){1&c&&v(0,"textarea",217)}function GJ3(c,r){1&c&&v(0,"markdown",83),2&c&&k("data",h(3).priceDescription)}function qJ3(c,r){1&c&&v(0,"textarea",208)}function WJ3(c,r){if(1&c){const e=j();o(0,"emoji-mart",90),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(3).addEmoji(t))}),n()}2&c&&(Y2(E4(3,ql)),k("darkMode",!1))}function ZJ3(c,r){if(1&c){const e=j();o(0,"div",192)(1,"div",54)(2,"div",55)(3,"div",56)(4,"button",264),C("click",function(){return y(e),b(h(2).addBold())}),w(),o(5,"svg",58),v(6,"path",59),n(),O(),o(7,"span",60),f(8,"Bold"),n()(),o(9,"button",264),C("click",function(){return y(e),b(h(2).addItalic())}),w(),o(10,"svg",58),v(11,"path",61),n(),O(),o(12,"span",60),f(13,"Italic"),n()(),o(14,"button",264),C("click",function(){return y(e),b(h(2).addList())}),w(),o(15,"svg",62),v(16,"path",63),n(),O(),o(17,"span",60),f(18,"Add list"),n()(),o(19,"button",264),C("click",function(){return y(e),b(h(2).addOrderedList())}),w(),o(20,"svg",62),v(21,"path",65),n(),O(),o(22,"span",60),f(23,"Add ordered list"),n()(),o(24,"button",264),C("click",function(){return y(e),b(h(2).addBlockquote())}),w(),o(25,"svg",67),v(26,"path",68),n(),O(),o(27,"span",60),f(28,"Add blockquote"),n()(),o(29,"button",264),C("click",function(){return y(e),b(h(2).addTable())}),w(),o(30,"svg",69),v(31,"path",70),n(),O(),o(32,"span",60),f(33,"Add table"),n()(),o(34,"button",264),C("click",function(){return y(e),b(h(2).addCode())}),w(),o(35,"svg",69),v(36,"path",71),n(),O(),o(37,"span",60),f(38,"Add code"),n()(),o(39,"button",264),C("click",function(){return y(e),b(h(2).addCodeBlock())}),w(),o(40,"svg",69),v(41,"path",72),n(),O(),o(42,"span",60),f(43,"Add code block"),n()(),o(44,"button",264),C("click",function(){return y(e),b(h(2).addLink())}),w(),o(45,"svg",69),v(46,"path",73),n(),O(),o(47,"span",60),f(48,"Add link"),n()(),o(49,"button",264),C("click",function(t){y(e);const i=h(2);return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(50,"svg",74),v(51,"path",75),n(),O(),o(52,"span",60),f(53,"Add emoji"),n()()()(),o(54,"button",76),C("click",function(){y(e);const t=h(2);return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(55,"svg",62),v(56,"path",77)(57,"path",78),n(),O(),o(58,"span",60),f(59),m(60,"translate"),n()(),o(61,"div",79),f(62),m(63,"translate"),v(64,"div",80),n()(),o(65,"div",81)(66,"label",82),f(67,"Publish post"),n(),R(68,GJ3,1,1,"markdown",83)(69,qJ3,1,0)(70,WJ3,1,4,"emoji-mart",84),n()()}if(2&c){const e=h(2);s(59),H(_(60,4,"CREATE_CATALOG._preview")),s(3),V(" ",_(63,6,"CREATE_CATALOG._show_preview")," "),s(6),S(68,e.showPreview?68:69),s(2),S(70,e.showEmoji?70:-1)}}function KJ3(c,r){if(1&c){const e=j();o(0,"div",45)(1,"div",248),C("click",function(t){return y(e),b(t.stopPropagation())}),o(2,"div",249)(3,"h5",250),f(4),m(5,"translate"),n(),o(6,"button",251),C("click",function(){return y(e),b(h().closeEditPrice())}),w(),o(7,"svg",252),v(8,"path",253),n(),O(),o(9,"span",60),f(10),m(11,"translate"),n()()(),o(12,"div",254)(13,"form",255),C("change",function(){return y(e),b(h().checkValidPrice())}),o(14,"div")(15,"label",186),f(16),m(17,"translate"),n(),o(18,"input",256),C("change",function(){return y(e),b(h().checkValidPrice())}),n(),R(19,RJ3,3,3,"p",188)(20,OJ3,8,5),n(),o(21,"div")(22,"label",186),f(23),m(24,"translate"),n(),R(25,IJ3,3,1,"select",257)(26,UJ3,7,1,"select",257)(27,jJ3,16,4)(28,$J3,5,4),n(),o(29,"label",191),f(30),m(31,"translate"),n(),R(32,YJ3,1,0,"textarea",217)(33,ZJ3,71,8),n(),o(34,"div",258)(35,"button",193),C("click",function(){return y(e),b(h().updatePrice())}),f(36),m(37,"translate"),w(),o(38,"svg",156),v(39,"path",167),n()()()()()()}if(2&c){let e;const a=h();k("ngClass",a.editPrice?"backdrop-blur-sm":""),s(4),H(_(5,17,"UPDATE_OFFER._update")),s(6),H(_(11,19,"CARD._close")),s(3),k("formGroup",a.priceForm),s(3),H(_(17,21,"UPDATE_OFFER._name")),s(2),k("ngClass",null!=(e=a.priceForm.get("name"))&&e.invalid?"border-red-600":"border-gray-300 dark:border-secondary-200 mb-2"),s(),S(19,null!=a.priceForm.controls.name.errors&&a.priceForm.controls.name.errors.invalidName?19:-1),s(),S(20,a.customSelected?-1:20),s(3),H(_(24,23,"UPDATE_OFFER._choose_type")),s(2),S(25,a.allowCustom?25:-1),s(),S(26,a.allowOthers?26:-1),s(),S(27,a.recurringSelected?27:a.usageSelected?28:-1),s(3),H(_(31,25,"UPDATE_OFFER._description")),s(2),S(32,a.customSelected?33:32),s(3),k("disabled",a.validPriceCheck)("ngClass",a.validPriceCheck?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(37,27,"UPDATE_OFFER._save_price")," ")}}function QJ3(c,r){1&c&&v(0,"error-message",46),2&c&&k("message",h().errorMessage)}let JJ3=(()=>{class c{constructor(e,a,t,i,l,d,u,p,z,x,E){this.router=e,this.api=a,this.prodSpecService=t,this.cdr=i,this.localStorage=l,this.eventMessage=d,this.elementRef=u,this.attachmentService=p,this.servSpecService=z,this.resSpecService=x,this.paginationService=E,this.PROD_SPEC_LIMIT=m1.PROD_SPEC_LIMIT,this.PRODUCT_LIMIT=m1.PRODUCT_LIMIT,this.CATALOG_LIMIT=m1.CATALOG_LIMIT,this.showGeneral=!0,this.showBundle=!1,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!1,this.showSLA=!1,this.showPrice=!1,this.generalDone=!1,this.bundleDone=!1,this.prodSpecDone=!1,this.catalogsDone=!1,this.categoriesDone=!1,this.licenseDone=!1,this.slaDone=!1,this.priceDone=!1,this.finishDone=!1,this.stepsElements=["general-info","bundle","prodspec","catalog","category","license","sla","price","summary"],this.stepsCircles=["general-circle","bundle-circle","prodspec-circle","catalog-circle","category-circle","license-circle","sla-circle","price-circle","summary-circle"],this.showPreview=!1,this.showEmoji=!1,this.description="",this.partyId="",this.generalForm=new S2({name:new u1("",[O1.required]),version:new u1("0.1",[O1.required,O1.pattern("^-?[0-9]\\d*(\\.\\d*)?$")]),description:new u1("")}),this.bundleChecked=!1,this.bundlePage=0,this.bundlePageCheck=!1,this.loadingBundle=!1,this.loadingBundle_more=!1,this.bundledOffers=[],this.nextBundledOffers=[],this.offersBundle=[],this.prodSpecPage=0,this.prodSpecPageCheck=!1,this.loadingProdSpec=!1,this.loadingProdSpec_more=!1,this.selectedProdSpec={id:""},this.prodSpecs=[],this.nextProdSpecs=[],this.catalogPage=0,this.catalogPageCheck=!1,this.loadingCatalog=!1,this.loadingCatalog_more=!1,this.selectedCatalog={id:""},this.catalogs=[],this.nextCatalogs=[],this.loadingCategory=!1,this.selectedCategories=[],this.unformattedCategories=[],this.categories=[],this.freeLicenseSelected=!0,this.licenseForm=new S2({treatment:new u1("",[O1.required]),description:new u1("")}),this.licenseDescription="",this.createdLicense={treatment:"",description:""},this.createdSLAs=[],this.availableSLAs=["UPDATES RATE","RESPONSE TIME","DELAY"],this.showCreateSLA=!1,this.updatesSelected=!0,this.responseSelected=!1,this.delaySelected=!1,this.creatingSLA={type:"UPDATES RATE",description:"Expected number of updates in the given period.",threshold:"",unitMeasure:"day"},this.currencies=Oa.currencies,this.createdPrices=[],this.postedPrices=[],this.priceDescription="",this.showCreatePrice=!1,this.toggleOpenPrice=!1,this.oneTimeSelected=!0,this.recurringSelected=!1,this.selectedPeriod="DAILY",this.selectedPeriodAlter="DAILY",this.usageSelected=!1,this.customSelected=!1,this.priceForm=new S2({name:new u1("",[O1.required]),price:new u1("",[O1.required]),description:new u1("")}),this.priceAlterForm=new S2({price:new u1("",[O1.required]),condition:new u1(""),description:new u1("")}),this.validPriceCheck=!0,this.selectedPriceUnit=Oa.currencies[0].code,this.priceTypeAlter="ONE TIME",this.priceComponentSelected=!1,this.discountSelected=!1,this.noAlterSelected=!0,this.allowCustom=!0,this.allowOthers=!0,this.selectedPriceType="CUSTOM",this.editPrice=!1,this.errorMessage="",this.showError=!1,this.eventMessage.messages$.subscribe(P=>{"CategoryAdded"===P.type&&this.addCategory(P.value),"ChangedSession"===P.type&&this.initPartyInfo()})}onClick(){1==this.showEmoji&&(this.showEmoji=!1,this.cdr.detectChanges())}ngOnInit(){this.initPartyInfo()}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0)if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}}goBack(){this.eventMessage.emitSellerOffer(!0)}toggleGeneral(){this.selectStep("general-info","general-circle"),this.showBundle=!1,this.showGeneral=!0,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!1,this.showSLA=!1,this.showPrice=!1,this.showPreview=!1,this.clearPriceFormInfo()}toggleBundle(){this.selectStep("bundle","bundle-circle"),this.showBundle=!0,this.showGeneral=!1,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!1,this.showSLA=!1,this.showPrice=!1,this.showPreview=!1,this.clearPriceFormInfo()}toggleBundleCheck(){this.bundledOffers=[],this.bundlePage=0,this.bundleChecked=!this.bundleChecked,1==this.bundleChecked?(this.loadingBundle=!0,this.getSellerOffers(!1)):this.offersBundle=[]}toggleProdSpec(){this.prodSpecs=[],this.prodSpecPage=0,this.loadingProdSpec=!0,this.getSellerProdSpecs(!1),this.selectStep("prodspec","prodspec-circle"),this.showBundle=!1,this.showGeneral=!1,this.showSummary=!1,this.showProdSpec=!0,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!1,this.showSLA=!1,this.showPrice=!1,this.showPreview=!1,this.clearPriceFormInfo()}toggleCatalogs(){this.catalogs=[],this.catalogPage=0,this.loadingCatalog=!0,this.getSellerCatalogs(!1),this.selectStep("catalog","catalog-circle"),this.showBundle=!1,this.showGeneral=!1,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!0,this.showCategory=!1,this.showLicense=!1,this.showSLA=!1,this.showPrice=!1,this.showPreview=!1,this.clearPriceFormInfo()}toggleCategories(){this.categories=[],this.loadingCategory=!0,this.getCategories(),console.log("CATEGORIES FORMATTED"),console.log(this.categories),this.selectStep("category","category-circle"),this.showBundle=!1,this.showGeneral=!1,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!0,this.showLicense=!1,this.showSLA=!1,this.showPrice=!1,this.showPreview=!1,this.clearPriceFormInfo()}toggleLicense(){this.selectStep("license","license-circle"),this.showBundle=!1,this.showGeneral=!1,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!0,this.showSLA=!1,this.showPrice=!1,this.showPreview=!1,this.clearPriceFormInfo()}toggleSLA(){this.saveLicense(),this.selectStep("sla","sla-circle"),this.showBundle=!1,this.showGeneral=!1,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!1,this.showSLA=!0,this.showPrice=!1,this.showPreview=!1,this.clearPriceFormInfo()}togglePrice(){this.saveLicense(),this.selectStep("price","price-circle"),this.showBundle=!1,this.showGeneral=!1,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!1,this.showSLA=!1,this.showPrice=!0,this.showPreview=!1,this.clearPriceFormInfo()}saveLicense(){this.createdLicense=this.licenseForm.value.treatment?{treatment:this.licenseForm.value.treatment,description:this.licenseForm.value.description?this.licenseForm.value.description:""}:{treatment:"",description:""},this.showPreview=!1}clearLicense(){this.freeLicenseSelected=!this.freeLicenseSelected,this.licenseForm.controls.treatment.setValue(""),this.licenseForm.controls.description.setValue(""),this.createdLicense={treatment:"",description:""},console.log(this.createdLicense.treatment)}onPriceTypeSelected(e){"ONE TIME"==e.target.value?(this.oneTimeSelected=!0,this.recurringSelected=!1,this.usageSelected=!1,this.customSelected=!1):"RECURRING"==e.target.value?(this.oneTimeSelected=!1,this.recurringSelected=!0,this.usageSelected=!1,this.customSelected=!1):"USAGE"==e.target.value?(this.oneTimeSelected=!1,this.recurringSelected=!1,this.usageSelected=!0,this.customSelected=!1):"CUSTOM"==e.target.value&&(this.oneTimeSelected=!1,this.recurringSelected=!1,this.usageSelected=!1,this.customSelected=!0),this.checkValidPrice()}onPriceTypeAlterSelected(e){this.priceTypeAlter=e.target.value}onPriceAlterSelected(e){"none"==e.target.value?(this.priceComponentSelected=!1,this.discountSelected=!1,this.noAlterSelected=!0):"price"==e.target.value?(this.priceComponentSelected=!0,this.discountSelected=!1,this.noAlterSelected=!1):"discount"==e.target.value&&(this.priceComponentSelected=!1,this.discountSelected=!0,this.noAlterSelected=!1)}onPricePeriodChange(e){this.selectedPeriod=e.target.value,this.checkValidPrice()}onPricePeriodAlterChange(e){this.selectedPeriodAlter=e.target.value,this.checkValidPrice()}onPriceUnitChange(e){this.selectedPriceUnit=e.target.value,this.checkValidPrice()}checkValidPrice(){const e=this.createdPrices.findIndex(a=>a.name===this.priceForm.value.name);-1!==e?this.editPrice&&this.createdPrices[e].name==this.priceToUpdate.name?(this.priceForm.controls.name.setErrors(null),this.priceForm.controls.name.updateValueAndValidity(),this.validPriceCheck=!(this.customSelected&&""!=this.priceForm.value.name||(this.usageSelected?""!=this.usageUnitUpdate.nativeElement.value:!this.priceForm.invalid))):(this.priceForm.controls.name.setErrors({invalidName:!0}),this.validPriceCheck=!0):(this.priceForm.controls.name.setErrors(null),this.priceForm.controls.name.updateValueAndValidity(),this.validPriceCheck=!(this.customSelected&&""!=this.priceForm.value.name||(this.usageSelected?""!=this.usageUnit.nativeElement.value:!this.priceForm.invalid))),this.cdr.detectChanges()}savePrice(){if(this.priceForm.value.name){let e={id:R4(),name:this.priceForm.value.name,description:this.priceForm.value.description?this.priceForm.value.description:"",lifecycleStatus:"Active",priceType:this.recurringSelected?"recurring":this.usageSelected?"usage":this.oneTimeSelected?"one time":"custom"};!this.customSelected&&this.priceForm.value.price&&(e.price={percentage:0,taxRate:20,dutyFreeAmount:{unit:this.selectedPriceUnit,value:0},taxIncludedAmount:{unit:this.selectedPriceUnit,value:parseFloat(this.priceForm.value.price)}}),this.recurringSelected&&(console.log("recurring"),e.recurringChargePeriod=this.selectedPeriod),this.usageSelected&&(console.log("usage"),e.unitOfMeasure={amount:1,units:this.usageUnit.nativeElement.value}),this.priceComponentSelected&&this.priceAlterForm.value.price&&(e.priceAlteration=[{description:this.priceAlterForm.value.description?this.priceAlterForm.value.description:"",name:"fee",priceType:this.priceComponentSelected?this.priceTypeAlter:this.recurringSelected?"recurring":this.usageSelected?"usage":this.oneTimeSelected?"one time":"custom",priority:0,recurringChargePeriod:this.priceComponentSelected&&"RECURRING"==this.priceTypeAlter?this.selectedPeriodAlter:"",price:{percentage:this.discountSelected?parseFloat(this.priceAlterForm.value.price):0,dutyFreeAmount:{unit:this.selectedPriceUnit,value:0},taxIncludedAmount:{unit:this.selectedPriceUnit,value:this.priceComponentSelected?parseFloat(this.priceAlterForm.value.price):0}},unitOfMeasure:{amount:1,units:this.priceComponentSelected&&"USAGE"==this.priceTypeAlter?this.usageUnitAlter.nativeElement.value:""}}]),this.createdPrices.push(e),console.log("--- price ---"),console.log(this.createdPrices)}this.clearPriceFormInfo()}removePrice(e){const a=this.createdPrices.findIndex(t=>t.id===e.id);-1!==a&&this.createdPrices.splice(a,1),this.checkCustom(),this.clearPriceFormInfo()}showUpdatePrice(e){if(this.priceToUpdate=e,console.log(this.priceToUpdate),this.priceForm.controls.name.setValue(this.priceToUpdate.name),this.priceForm.controls.description.setValue(this.priceToUpdate.description),"custom"!=this.priceToUpdate.priceType&&(this.priceForm.controls.price.setValue(this.priceToUpdate.price.taxIncludedAmount.value),this.selectedPriceUnit=this.priceToUpdate.price.taxIncludedAmount.unit),this.cdr.detectChanges(),console.log(this.selectedPriceUnit),"one time"==this.priceToUpdate.priceType?(this.selectedPriceType="ONE TIME",this.oneTimeSelected=!0,this.recurringSelected=!1,this.usageSelected=!1,this.customSelected=!1):"recurring"==this.priceToUpdate.priceType?(this.selectedPriceType="RECURRING",this.oneTimeSelected=!1,this.recurringSelected=!0,this.usageSelected=!1,this.customSelected=!1,this.selectedPeriod=this.priceToUpdate.recurringChargePeriod,this.cdr.detectChanges()):"usage"==this.priceToUpdate.priceType?(this.selectedPriceType="USAGE",this.oneTimeSelected=!1,this.recurringSelected=!1,this.usageSelected=!0,this.customSelected=!1,this.cdr.detectChanges()):(this.selectedPriceType="CUSTOM",this.oneTimeSelected=!1,this.recurringSelected=!1,this.usageSelected=!1,this.customSelected=!0),0==this.createdPrices.length)this.allowCustom=!0,this.allowOthers=!0;else{let a=!1;for(let t=0;tt.id===this.priceToUpdate.id);-1!==a&&(this.createdPrices[a]=e),console.log("--- price ---"),console.log(this.createdPrices)}this.closeEditPrice()}closeEditPrice(){this.clearPriceFormInfo(),this.editPrice=!1}showNewPrice(){this.checkCustom(),this.showCreatePrice=!this.showCreatePrice}checkCustom(){if(0==this.createdPrices.length)this.allowCustom=!0,this.allowOthers=!0;else{let e=!1;for(let a=0;a{this.priceForm.get(e)?.markAsPristine(),this.priceForm.get(e)?.markAsUntouched(),this.priceForm.get(e)?.updateValueAndValidity()}),this.validPriceCheck=!0}onSLAMetricChange(e){this.creatingSLA.unitMeasure=e.target.value}onSLAChange(e){"UPDATES RATE"==e.target.value?(this.updatesSelected=!0,this.responseSelected=!1,this.delaySelected=!1,this.creatingSLA.type="UPDATES RATE",this.creatingSLA.description="Expected number of updates in the given period.",this.creatingSLA.unitMeasure="day"):"RESPONSE TIME"==e.target.value?(this.updatesSelected=!1,this.responseSelected=!0,this.delaySelected=!1,this.creatingSLA.type="RESPONSE TIME",this.creatingSLA.description="Total amount of time to respond to a data request (GET).",this.creatingSLA.unitMeasure="ms"):"DELAY"==e.target.value&&(this.updatesSelected=!1,this.responseSelected=!1,this.delaySelected=!0,this.creatingSLA.type="DELAY",this.creatingSLA.description="Total amount of time to deliver a new update (SUBSCRIPTION).",this.creatingSLA.unitMeasure="ms")}showCreateSLAMetric(){"UPDATES RATE"==this.availableSLAs[0]?(this.updatesSelected=!0,this.responseSelected=!1,this.delaySelected=!1,this.creatingSLA.type="UPDATES RATE",this.creatingSLA.description="Expected number of updates in the given period.",this.creatingSLA.unitMeasure="day"):"RESPONSE TIME"==this.availableSLAs[0]?(this.updatesSelected=!1,this.responseSelected=!0,this.delaySelected=!1,this.creatingSLA.type="RESPONSE TIME",this.creatingSLA.description="Total amount of time to respond to a data request (GET).",this.creatingSLA.unitMeasure="ms"):"DELAY"==this.availableSLAs[0]&&(this.updatesSelected=!1,this.responseSelected=!1,this.delaySelected=!0,this.creatingSLA.type="DELAY",this.creatingSLA.description="Total amount of time to deliver a new update (SUBSCRIPTION).",this.creatingSLA.unitMeasure="ms"),this.showCreateSLA=!0}addSLA(){const e=this.availableSLAs.findIndex(a=>a===this.creatingSLA.type);1==this.updatesSelected?(this.creatingSLA.threshold=this.updatemetric.nativeElement.value,this.createdSLAs.push({type:this.creatingSLA.type,description:this.creatingSLA.description,threshold:this.creatingSLA.threshold,unitMeasure:this.creatingSLA.unitMeasure}),this.availableSLAs.splice(e,1),this.updatesSelected=!1):1==this.responseSelected?(this.creatingSLA.threshold=this.responsemetric.nativeElement.value,this.createdSLAs.push({type:this.creatingSLA.type,description:this.creatingSLA.description,threshold:this.creatingSLA.threshold,unitMeasure:this.creatingSLA.unitMeasure}),this.availableSLAs.splice(e,1),this.responseSelected=!1):(this.creatingSLA.threshold=this.delaymetric.nativeElement.value,this.createdSLAs.push({type:this.creatingSLA.type,description:this.creatingSLA.description,threshold:this.creatingSLA.threshold,unitMeasure:this.creatingSLA.unitMeasure}),this.availableSLAs.splice(e,1),this.delaySelected=!1),this.showCreateSLA=!1}removeSLA(e){const a=this.createdSLAs.findIndex(t=>t.type===e.type);-1!==a&&this.createdSLAs.splice(a,1),this.availableSLAs.push(e.type)}checkThreshold(){return 1==this.updatesSelected?""==this.updatemetric.nativeElement.value:1==this.responseSelected?""==this.responsemetric.nativeElement.value:""==this.delaymetric.nativeElement.value}getCategories(){console.log("Getting categories..."),this.api.getLaunchedCategories().then(e=>{for(let a=0;ai.parentId===e.id);if(e.children=t,1==e.isRoot?this.categories.push(e):this.saveChildren(this.categories,e),0!=t.length)for(let i=0;i{if(a=t,e.children=a,1==e.isRoot?this.categories.push(e):this.saveChildren(this.categories,e),0!=a.length)for(let i=0;id.id==a.id)){let d=i.findIndex(u=>u.id==a.id);i[d]=a,e[t].children=i}this.saveChildren(i,a)}}}addParent(e){const a=this.unformattedCategories.findIndex(t=>t.id===e);-1!=a&&(0==this.unformattedCategories[a].isRoot?this.addCategory(this.unformattedCategories[a]):this.selectedCategories.push(this.unformattedCategories[a]))}addCategory(e){const a=this.selectedCategories.findIndex(t=>t.id===e.id);if(-1!==a?(console.log("eliminar"),this.selectedCategories.splice(a,1)):(console.log("a\xf1adir"),this.selectedCategories.push(e)),0==e.isRoot){const t=this.selectedCategories.findIndex(i=>i.id===e.parentId);-1==a&&-1==t&&this.addParent(e.parentId)}console.log(this.selectedCategories),this.cdr.detectChanges(),console.log(this.selectedCategories)}isCategorySelected(e){return-1!==this.selectedCategories.findIndex(t=>t.id===e.id)}selectCatalog(e){this.selectedCatalog=e,this.selectedCategories=[]}getSellerCatalogs(e){var a=this;return M(function*(){0==e&&(a.loadingCatalog=!0),a.paginationService.getItemsPaginated(a.catalogPage,a.CATALOG_LIMIT,e,a.catalogs,a.nextCatalogs,{keywords:void 0,filters:["Active","Launched"],partyId:a.partyId},a.api.getCatalogsByUser.bind(a.api)).then(i=>{a.catalogPageCheck=i.page_check,a.catalogs=i.items,a.nextCatalogs=i.nextItems,a.catalogPage=i.page,a.loadingCatalog=!1,a.loadingCatalog_more=!1})})()}nextCatalog(){var e=this;return M(function*(){yield e.getSellerCatalogs(!0)})()}selectProdSpec(e){this.selectedProdSpec=e}getSellerProdSpecs(e){var a=this;return M(function*(){0==e&&(a.loadingProdSpec=!0),a.paginationService.getItemsPaginated(a.prodSpecPage,a.PROD_SPEC_LIMIT,e,a.prodSpecs,a.nextProdSpecs,{filters:["Active","Launched"],partyId:a.partyId},a.prodSpecService.getProdSpecByUser.bind(a.prodSpecService)).then(i=>{a.prodSpecPageCheck=i.page_check,a.prodSpecs=i.items,a.nextProdSpecs=i.nextItems,a.prodSpecPage=i.page,a.loadingProdSpec=!1,a.loadingProdSpec_more=!1})})()}nextProdSpec(){var e=this;return M(function*(){yield e.getSellerProdSpecs(!0)})()}getSellerOffers(e){var a=this;return M(function*(){0==e&&(a.loadingBundle=!0),a.paginationService.getItemsPaginated(a.bundlePage,a.PRODUCT_LIMIT,e,a.bundledOffers,a.nextBundledOffers,{filters:["Active","Launched"],partyId:a.partyId,sort:void 0,isBundle:!1},a.api.getProductOfferByOwner.bind(a.api)).then(i=>{a.bundlePageCheck=i.page_check,a.bundledOffers=i.items,a.nextBundledOffers=i.nextItems,a.bundlePage=i.page,a.loadingBundle=!1,a.loadingBundle_more=!1})})()}nextBundle(){var e=this;return M(function*(){yield e.getSellerOffers(!0)})()}addProdToBundle(e){const a=this.offersBundle.findIndex(t=>t.id===e.id);-1!==a?(console.log("eliminar"),this.offersBundle.splice(a,1)):(console.log("a\xf1adir"),this.offersBundle.push({id:e.id,href:e.href,lifecycleStatus:e.lifecycleStatus,name:e.name})),this.cdr.detectChanges(),console.log(this.offersBundle)}isProdInBundle(e){return-1!==this.offersBundle.findIndex(t=>t.id===e.id)}showFinish(){this.priceDone=!0,this.finishDone=!0,this.clearPriceFormInfo(),this.saveLicense(),this.generalForm.value.name&&this.generalForm.value.version&&(this.offerToCreate={name:this.generalForm.value.name,description:null!=this.generalForm.value.description?this.generalForm.value.description:"",version:this.generalForm.value.version,lifecycleStatus:"Active"}),this.selectStep("summary","summary-circle"),this.showBundle=!1,this.showGeneral=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!1,this.showSLA=!1,this.showPrice=!1,this.showSummary=!0,this.showPreview=!1}createOffer(){var e=this;return M(function*(){if(e.postedPrices=[],e.createdPrices.length>0)for(let a=0;a{console.log("precio"),console.log(i),e.createdPrices[a].id=i.id,a==e.createdPrices.length-1&&e.saveOfferInfo()},error:i=>{console.error("There was an error while creating offers price!",i),i.error.error?(console.log(i),e.errorMessage="Error: "+i.error.error):e.errorMessage="There was an error while creating offers price!",e.showError=!0,setTimeout(()=>{e.showError=!1},3e3)}})}else e.createdPrices=[],e.saveOfferInfo();console.log(e.offerToCreate)})()}saveOfferInfo(){let e=[],a=[];for(let t=0;t{console.log("product offer created:"),console.log(t),this.goBack()},error:t=>{console.error("There was an error while creating the offer!",t),t.error.error?(console.log(t),this.errorMessage="Error: "+t.error.error):this.errorMessage="There was an error while creating the offer!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}selectStep(e,a){const t=this.stepsElements.findIndex(l=>l===e);if(-1!==t){this.stepsElements.splice(t,1),this.selectMenu(document.getElementById(e),"text-primary-100 dark:text-primary-50"),this.unselectMenu(document.getElementById(e),"text-gray-500");for(let l=0;ll===a);if(-1!==t){this.stepsCircles.splice(i,1),this.selectMenu(document.getElementById(a),"border-primary-100 dark:border-primary-50"),this.unselectMenu(document.getElementById(a),"border-gray-400");for(let l=0;l blockquote"}):this.showPrice?this.priceForm.patchValue({description:this.priceForm.value.description+"\n> blockquote"}):this.showLicense&&this.licenseForm.patchValue({description:this.licenseForm.value.description+"\n> blockquote"})}addLink(){this.showGeneral?this.generalForm.patchValue({description:this.generalForm.value.description+" [title](https://www.example.com) "}):this.showPrice?this.priceForm.patchValue({description:this.priceForm.value.description+" [title](https://www.example.com) "}):this.showLicense&&this.licenseForm.patchValue({description:this.licenseForm.value.description+" [title](https://www.example.com) "})}addTable(){this.showGeneral?this.generalForm.patchValue({description:this.generalForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"}):this.showPrice?this.priceForm.patchValue({description:this.priceForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"}):this.showLicense&&this.licenseForm.patchValue({description:this.licenseForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"})}addEmoji(e){this.showGeneral?(this.showEmoji=!1,this.generalForm.patchValue({description:this.generalForm.value.description+e.emoji.native})):this.showPrice?this.priceForm.patchValue({description:this.priceForm.value.description+e.emoji.native}):this.showLicense&&this.licenseForm.patchValue({description:this.licenseForm.value.description+e.emoji.native})}togglePreview(){this.showGeneral?this.generalForm.value.description&&(this.description=this.generalForm.value.description):this.showPrice?this.priceForm.value.description&&(this.priceDescription=this.priceForm.value.description):this.showLicense&&this.licenseForm.value.description&&(this.licenseDescription=this.licenseForm.value.description)}static#e=this.\u0275fac=function(a){return new(a||c)(B(Q1),B(p1),B(z4),B(B1),B(A1),B(e2),B(C2),B(Q0),B(N4),B(h4),B(L3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["create-offer"]],viewQuery:function(a,t){if(1&a&&(b1(CK3,5),b1(zK3,5),b1(VK3,5),b1(MK3,5),b1(LK3,5),b1(yK3,5)),2&a){let i;M1(i=L1())&&(t.updatemetric=i.first),M1(i=L1())&&(t.responsemetric=i.first),M1(i=L1())&&(t.delaymetric=i.first),M1(i=L1())&&(t.usageUnit=i.first),M1(i=L1())&&(t.usageUnitAlter=i.first),M1(i=L1())&&(t.usageUnitUpdate=i.first)}},hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},decls:126,vars:79,consts:[["updatemetric",""],["responsemetric",""],["delaymetric",""],["usageUnit",""],["usageUnitAlter",""],["discountfee",""],["usageUnitUpdate",""],[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-gray-200","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800","dark:text-white"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","mt-4","p-8","rounded-lg"],[1,"text-3xl","font-bold","text-primary-100","dark:text-white","ml-4"],[1,"h-px","m-4","bg-gray-300","dark:bg-gray-200","border-0"],[1,"md:grid","md:grid-cols-25/75","xl:grid-cols-20/80"],[1,"flex","sm:flex-row","md:flex-col","md:mr-4","overflow-x-auto","max-w-[calc(100vw-5rem)]"],[1,"text-xl","hidden","md:block","font-bold","text-black","mb-4","dark:text-white"],["id","general-info",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-primary-100","dark:text-primary-50","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","general-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-primary-100","dark:border-primary-50","rounded-full","shrink-0"],[1,"flex","text-sm","md:text-base","sm:text-center","md:text-start"],[1,"hidden","xl:flex","text-xs","sm:text-center","md:text-start"],[1,"h-px","mb-2","bg-gray-300","dark:bg-gray-200","border-0"],["id","bundle",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","bundle-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","prodspec",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","prodspec-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],[1,"flex","sm:text-center","md:text-start"],["id","catalog",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","catalog-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","category",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","category-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","license",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","license-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","price",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","price-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","summary",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","summary-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","edit-price-modal","tabindex","-1","aria-hidden","true",1,"flex","justify-center","overflow-y-auto","overflow-x-hidden","fixed","top-0","right-0","left-0","z-50","justify-center","items-center","w-full","md:inset-0","h-[calc(100%-1rem)]","max-h-full","shadow-2xl",3,"ngClass"],[1,"fixed","w-fit","top-1/2","left-1/2",3,"message"],[1,"m-4","md:grid","md:grid-cols-2","gap-4",3,"formGroup"],["for","prod-name",1,"font-bold","text-lg","dark:text-white"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["for","prod-version",1,"font-bold","text-lg","dark:text-white"],["formControlName","version","type","text","id","prod-version",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["for","prod-name",1,"font-bold","text-lg","col-span-2","dark:text-white"],[1,"w-full","col-span-2","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200"],[1,"flex","items-center","justify-between","px-3","py-2","border-b"],[1,"flex","flex-wrap","items-center","divide-gray-200","dark:divide-secondary-200","sm:divide-x","sm:rtl:divide-x-reverse"],[1,"flex","items-center","space-x-1","rtl:space-x-reverse","sm:pe-4","text-gray-500","dark:text-gray-200"],["type","button",1,"p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 5h4.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0-7H6m2 7h6.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0 0H6"],[1,"sr-only"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8.874 19 6.143-14M6 19h6.33m-.66-14H18"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M9 8h10M9 12h10M9 16h10M4.99 8H5m-.02 4h.01m0 4H5"],["type","button",1,"hidden","lg:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4"],["type","button",1,"hidden","md:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["fill-rule","evenodd","d","M5 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm0 12a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm1.65-9.76A1 1 0 0 0 5 9v6a1 1 0 0 0 1.65.76l3.5-3a1 1 0 0 0 0-1.52l-3.5-3ZM12 10a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Zm0 4a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Z","clip-rule","evenodd"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-width","2","d","M3 11h18m-9 0v8m-8 0h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 3v4a1 1 0 0 1-1 1H5m5 4-2 2 2 2m4-4 2 2-2 2m5-12v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M13.213 9.787a3.391 3.391 0 0 0-4.795 0l-3.425 3.426a3.39 3.39 0 0 0 4.795 4.794l.321-.304m-.321-4.49a3.39 3.39 0 0 0 4.795 0l3.424-3.426a3.39 3.39 0 0 0-4.794-4.795l-1.028.961"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-4","h-4"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM13.5 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm-7 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm3.5 9.5A5.5 5.5 0 0 1 4.6 11h10.81A5.5 5.5 0 0 1 10 15.5Z"],["type","button","data-tooltip-target","tooltip-fullscreen",1,"rounded","cursor-pointer","text-gray-500","dark:text-gray-200","p-2","sm:ms-auto","hover:text-gray-900","dark:hover:text-gray-900","hover:bg-gray-100",3,"click"],["stroke","currentColor","stroke-width","2","d","M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z"],["stroke","currentColor","stroke-width","2","d","M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"],["id","tooltip-fullscreen","role","tooltip",1,"absolute","z-10","invisible","inline-block","px-3","py-2","text-sm","font-medium","text-white","transition-opacity","duration-300","bg-gray-900","rounded-lg","shadow-sm","opacity-0","tooltip"],["data-popper-arrow","",1,"tooltip-arrow"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","rounded-b-lg"],["for","editor",1,"sr-only"],[1,"bg-gray-50","text-wrap","break-all","dark:bg-secondary-300","dark:text-white","text-gray-900",3,"data"],[3,"darkMode","style"],[1,"flex","w-full","justify-items-end","justify-end","ml-4"],["type","button",1,"flex","text-white","justify-end","align-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],["id","editor","formControlName","description","rows","8","placeholder","Add product description...",1,"block","w-full","px-0","text-sm","text-gray-800","dark:text-gray-200","bg-white","dark:bg-secondary-300","border-0"],[3,"click","emojiClick","darkMode"],[1,"text-3xl","font-bold","text-primary-100","ml-4","dark:text-white"],[1,"col-span-2","flex","align-items-middle","h-fit","m-4"],["for","prod-brand",1,"font-bold","text-lg","dark:text-white"],[1,"inline-flex","items-center","me-5","cursor-pointer","ml-4"],["type","checkbox",1,"sr-only","peer",3,"change","checked"],[1,"relative","w-11","h-6","bg-gray-400","dark:bg-gray-700","rounded-full","peer","peer-focus:ring-4","peer-focus:ring-primary-100","peer-checked:after:translate-x-full","rtl:peer-checked:after:-translate-x-full","peer-checked:after:border-white","after:content-['']","after:absolute","after:top-0.5","after:start-[2px]","after:bg-white","after:border-gray-300","after:border","after:rounded-full","after:h-5","after:w-5","after:transition-all","peer-checked:bg-primary-100"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["role","status",1,"w-full","h-fit","flex","justify-center","align-middle"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"flex","justify-center","w-full","m-4"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","m-4","dark:bg-secondary-300"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"hidden","md:table-cell","px-6","py-3"],["scope","col",1,"hidden","lg:table-cell","px-6","py-3"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"px-6","py-4","text-wrap","break-all"],[1,"hidden","md:table-cell","px-6","py-4"],[1,"bg-blue-100","dark:bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"hidden","lg:table-cell","px-6","py-4"],[1,"px-6","py-4"],["id","select-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded","focus:ring-blue-500","dark:focus:ring-blue-600","dark:ring-offset-gray-800","focus:ring-2","dark:bg-gray-700","dark:border-gray-600",3,"click","checked"],[1,"bg-blue-100","dark:bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"flex","pt-6","pb-2","justify-center","align-middle"],[1,"flex","cursor-pointer","shadow-lg","items-center","justify-center","px-3","h-8","text-sm","font-medium","text-gray-500","dark:text-white","bg-white","dark:bg-primary-100","dark:hover:bg-secondary-100","border","border-gray-300","dark:border-secondary-200","rounded-lg","hover:bg-gray-200",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle","mt-2"],[1,"m-4"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","mt-4","mb-4"],[1,"border-b","hover:bg-gray-200","dark:border-gray-700","dark:hover:bg-secondary-200",3,"ngClass"],[1,"border-b","hover:bg-gray-200","dark:border-gray-700","dark:hover:bg-secondary-200",3,"click","ngClass"],[1,"flex","w-full","justify-items-end","justify-end","m-4"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","mt-4"],[1,"flex","w-full","justify-items-end","justify-end","ml-4","mt-4"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],[1,"flex","w-full","justify-between"],["scope","col",1,"flex","px-6","py-3","w-3/5"],["scope","col",1,"hidden","md:flex","px-6","py-3","w-fit"],["scope","col",1,"flex","px-6","py-3","w-fit"],[1,"flex","border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200","w-full","justify-between"],[1,"flex","px-6","py-4","w-3/5","text-wrap","break-all"],[1,"hidden","md:flex","px-6","py-4","w-fit"],[1,"flex","px-6","py-4","w-fit","justify-end"],["id","select-checkbox","type","checkbox","value","",1,"flex","w-4","h-4","justify-end","text-blue-600","bg-gray-100","border-gray-300","rounded","focus:ring-blue-500","dark:focus:ring-blue-600","dark:ring-offset-gray-800","focus:ring-2","dark:bg-gray-700","dark:border-gray-600",3,"click","checked"],[1,"hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],["colspan","3"],[1,"w-full",3,"child","parent","selected","path"],[1,"mt-4"],[3,"formGroup"],["for","treatment",1,"font-bold","text-lg","dark:text-white"],["formControlName","treatment","type","text","id","treatment",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["for","description",1,"font-bold","text-lg","dark:text-white"],[1,"w-full","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200"],[1,"flex","w-full","justify-items-center","justify-center","ml-4","mt-4"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],[1,"flex","w-full","justify-items-center","justify-center","ml-4"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","m-4"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100"],[1,"border-b","hover:bg-gray-200"],["type","button",1,"text-white","bg-red-600","hover:bg-red-700","focus:ring-4","focus:outline-none","focus:ring-red-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4","text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M6 18 17.94 6M18 18 6.06 6"],["id","type",1,"ml-4","mt-4","shadow","bg-white","border","border-gray-300","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],[3,"value"],[1,"flex","m-4"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M11 16h2m6.707-9.293-2.414-2.414A1 1 0 0 0 16.586 4H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7.414a1 1 0 0 0-.293-.707ZM16 20v-6a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v6h8ZM9 4h6v3a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V4Z"],[1,"flex","flex-row","w-full","ml-4"],["type","number","pattern","[0-9]*.[0-9]*","required","",1,"block","p-2.5","w-3/4","z-20","text-sm","text-gray-900","bg-white","rounded-l-lg","rounded-s-gray-100","rounded-s-2","border-l","border-gray-300","focus:ring-blue-500","focus:border-blue-500"],["id","type",1,"bg-white","border-r","border-gray-300","0text-gray-90","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-1/4","p-2.5",3,"change"],["value","day"],["value","week"],["value","month"],["value","ms"],["value","s"],["value","min"],["scope","col",1,"hidden","xl:table-cell","px-6","py-3"],[1,"px-6","py-4","max-w-1/6","text-wrap","break-all"],[1,"hidden","xl:table-cell","px-6","py-4","text-wrap","break-all"],[1,"px-6","py-4","inline-flex"],["type","button",1,"ml-2","text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center","me-2",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4","text-white"],["fill-rule","evenodd","d","M14 4.182A4.136 4.136 0 0 1 16.9 3c1.087 0 2.13.425 2.899 1.182A4.01 4.01 0 0 1 21 7.037c0 1.068-.43 2.092-1.194 2.849L18.5 11.214l-5.8-5.71 1.287-1.31.012-.012Zm-2.717 2.763L6.186 12.13l2.175 2.141 5.063-5.218-2.141-2.108Zm-6.25 6.886-1.98 5.849a.992.992 0 0 0 .245 1.026 1.03 1.03 0 0 0 1.043.242L10.282 19l-5.25-5.168Zm6.954 4.01 5.096-5.186-2.218-2.183-5.063 5.218 2.185 2.15Z","clip-rule","evenodd"],[1,"font-bold","text-xl","ml-4","dark:text-white"],[1,"xl:grid","xl:grid-cols-80/20","xl:gap-4","m-4",3,"change","formGroup"],[1,"font-bold","text-lg","dark:text-white"],["formControlName","name","type","text","id","name",1,"bg-gray-50","dark:bg-secondary-300","border","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change","ngClass"],[1,"mt-1","mb-2","text-sm","text-red-600","dark:text-red-500"],["id","type",1,"mb-2","shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],["value","CUSTOM"],["for","description",1,"font-bold","text-lg","col-span-2","dark:text-white"],[1,"w-full","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200","col-span-2"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],[1,"flex","flex-row","w-full"],["type","number","pattern","[0-9]*.[0-9]*","formControlName","price",1,"bg-gray-50","dark:bg-secondary-300","border-l","text-gray-900","dark:text-white","text-sm","rounded-l-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change","ngClass"],["id","type",1,"w-full","lg:1/2","xl:w-1/4","bg-white","border-r","border-gray-300","dark:bg-secondary-300","text-gray-90","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","p-2.5",3,"change"],["value","ONE TIME"],["value","RECURRING"],["value","USAGE"],["id","type",1,"shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],["value","DAILY"],["value","WEEKLY"],["value","MONTHLY"],["value","QUARTERLY"],["value","YEARLY"],["value","QUINQUENNIAL"],["type","text",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["id","editor","formControlName","description","rows","8","placeholder","Add product description...",1,"block","w-full","px-0","text-sm","text-gray-800","border-0","dark:text-gray-200","bg-white","dark:bg-secondary-300"],["id","type",1,"w-full","md:w-1/3","shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","p-2.5",3,"change"],["value","none"],["value","price"],["value","discount"],[1,"ml-4","mb-4","md:grid","md:grid-cols-80/20","gap-4"],[1,"font-bold","text-lg","col-span-2","dark:text-white"],["id","type",1,"mb-2","col-span-2","w-1/3","shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],["formControlName","price","type","number","pattern","[0-9]*.[0-9]*","step","0.1",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["id","description","formControlName","description","rows","4",1,"col-span-2","block","p-2.5","w-full","text-sm","text-gray-900","bg-gray-50","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","rounded-lg","border","border-gray-300","focus:ring-blue-500","focus:border-blue-500"],["id","type",1,"shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","text-sm","dark:border-secondary-200","dark:text-white","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],["type","text",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","text-gray-900","text-sm","dark:border-secondary-200","dark:text-white","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"ml-4","mb-4","md:grid","md:grid-cols-20/80"],["id","type",1,"shadow","bg-white","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","p-2.5"],["value","fee"],["formControlName","price","type","number","pattern","[0-9]*.[0-9]*","step","0.1",1,"bg-gray-50","border-l","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-l-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["id","type",1,"bg-white","border-r","border-gray-300","text-gray-90","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-1/4","p-2.5"],["value","percentage"],["value","AUD"],[1,"col-span-2"],["id","type",1,"bg-white","border-l","border-gray-300","text-gray-90","text-sm","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","rounded-l-lg","focus:ring-blue-500","focus:border-blue-500","block","w-1/4","p-2.5"],["value","EQ"],["value","LT"],["value","LE"],["value","GT"],["type","number","pattern","[0-9]*.[0-9]*","step","0.1",1,"bg-gray-50","border-r","border-gray-300","text-gray-900","text-sm","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],[1,"m-8"],[1,"mb-4","grid","grid-cols-2","gap-4"],[1,"mb-2","bg-gray-50","text-wrap","break-all","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","border","border-gray-300","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"mb-2","bg-gray-50","text-wrap","break-all","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"mb-4"],[1,"font-bold","text-lg","mr-4","dark:text-white"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","mb-4"],[1,"px-4","py-2","bg-white","rounded-lg","p-4","mb-4","dark:bg-secondary-300","dark:text-white","border","dark:border-secondary-200"],[1,"bg-gray-50","dark:bg-secondary-300","dark:text-white","text-gray-900","text-wrap","break-all",3,"data"],[1,"hidden","md:table-cell","px-6","py-4","text-wrap","break-all"],[1,"font-bold","text-lg"],["for","treatment",1,"font-bold","text-base","dark:text-white"],[1,"font-bold","text-base","dark:text-white"],[1,"px-4","py-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","rounded-lg","p-4"],[1,"w-full","lg:w-3/4","xl:w-1/2","relative","bg-secondary-50","dark:bg-secondary-200","rounded-lg","shadow","bg-cover","bg-right-bottom",3,"click"],[1,"flex","items-center","justify-between","pr-2","pt-2","rounded-t","dark:border-gray-600"],[1,"text-xl","ml-4","mr-4","font-semibold","tracking-tight","text-primary-100","dark:text-white"],["type","button","data-modal-hide","edit-price-modal",1,"text-gray-400","bg-transparent","hover:bg-gray-200","hover:text-gray-900","rounded-lg","text-sm","w-8","h-8","ms-auto","inline-flex","justify-center","items-center","dark:hover:bg-gray-600","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-3","h-3"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"],[1,"w-full","max-h-[80vh]","overflow-y-auto","overflow-x-hidden"],[1,"lg:grid","lg:grid-cols-80/20","gap-4","m-4","p-4",3,"change","formGroup"],["formControlName","name","type","text","id","name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change","ngClass"],["id","type",1,"mb-2","shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"value"],[1,"flex","w-full","justify-items-center","justify-center","m-2","p-2"],["id","type",1,"bg-white","border-r","border-gray-300","dark:bg-secondary-300","text-gray-90","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-1/4","p-2.5",3,"change","value"],[3,"value","selected"],["id","type",1,"mb-2","shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change","value"],["id","type",1,"shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change","value"],["type","text",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"value"],["type","button",1,"p-2","rounded","cursor-pointer","hover:text-gray-900","hover:bg-gray-100",3,"click"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",7)(2,"nav",8)(3,"ol",9)(4,"li",10)(5,"button",11),C("click",function(){return t.goBack()}),w(),o(6,"svg",12),v(7,"path",13),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",14)(11,"div",15),w(),o(12,"svg",16),v(13,"path",17),n(),O(),o(14,"span",18),f(15),m(16,"translate"),n()()()()()(),o(17,"div",19)(18,"h2",20),f(19),m(20,"translate"),n(),v(21,"hr",21),o(22,"div",22)(23,"div",23)(24,"h2",24),f(25),m(26,"translate"),n(),o(27,"button",25),C("click",function(){return t.toggleGeneral()}),o(28,"span",26),f(29," 1 "),n(),o(30,"span")(31,"h3",27),f(32),m(33,"translate"),n(),o(34,"p",28),f(35),m(36,"translate"),n()()(),v(37,"hr",29),o(38,"button",30),C("click",function(){return t.toggleBundle()}),o(39,"span",31),f(40," 2 "),n(),o(41,"span")(42,"h3",27),f(43),m(44,"translate"),n(),o(45,"p",28),f(46),m(47,"translate"),n()()(),v(48,"hr",29),o(49,"button",32),C("click",function(){return t.toggleProdSpec()}),o(50,"span",33),f(51," 3 "),n(),o(52,"span")(53,"h3",34),f(54),m(55,"translate"),n(),o(56,"p",28),f(57),m(58,"translate"),n()()(),v(59,"hr",29),o(60,"button",35),C("click",function(){return t.toggleCatalogs()}),o(61,"span",36),f(62," 4 "),n(),o(63,"span")(64,"h3",27),f(65),m(66,"translate"),n(),o(67,"p",28),f(68),m(69,"translate"),n()()(),v(70,"hr",29),o(71,"button",37),C("click",function(){return t.toggleCategories()}),o(72,"span",38),f(73," 5 "),n(),o(74,"span")(75,"h3",27),f(76),m(77,"translate"),n(),o(78,"p",28),f(79),m(80,"translate"),n()()(),v(81,"hr",29),o(82,"button",39),C("click",function(){return t.toggleLicense()}),o(83,"span",40),f(84," 6 "),n(),o(85,"span")(86,"h3",27),f(87),m(88,"translate"),n(),o(89,"p",28),f(90),m(91,"translate"),n()()(),v(92,"hr",29),o(93,"button",41),C("click",function(){return t.togglePrice()}),o(94,"span",42),f(95," 7 "),n(),o(96,"span")(97,"h3",27),f(98),m(99,"translate"),n(),o(100,"p",28),f(101),m(102,"translate"),n()()(),v(103,"hr",29),o(104,"button",43),C("click",function(){return t.showFinish()}),o(105,"span",44),f(106," 8 "),n(),o(107,"span")(108,"h3",27),f(109),m(110,"translate"),n(),o(111,"p",28),f(112),m(113,"translate"),n()()()(),o(114,"div"),R(115,FK3,94,48)(116,GK3,17,13)(117,lQ3,12,9)(118,VQ3,12,9)(119,kQ3,12,7)(120,AQ3,12,9)(121,GQ3,13,9)(122,hJ3,13,8)(123,PJ3,64,39),n()()(),R(124,KJ3,40,29,"div",45)(125,QJ3,1,1,"error-message",46),n()),2&a&&(s(8),V(" ",_(9,39,"CREATE_OFFER._back")," "),s(7),H(_(16,41,"CREATE_OFFER._create")),s(4),H(_(20,43,"CREATE_OFFER._new")),s(6),H(_(26,45,"CREATE_OFFER._steps")),s(2),k("disabled",!t.generalDone),s(5),H(_(33,47,"CREATE_OFFER._general")),s(3),H(_(36,49,"CREATE_OFFER._general_info")),s(3),k("disabled",!t.bundleDone),s(5),H(_(44,51,"CREATE_OFFER._bundle")),s(3),H(_(47,53,"CREATE_OFFER._bundle_info")),s(3),k("disabled",!t.prodSpecDone),s(5),H(_(55,55,"CREATE_OFFER._prod_spec")),s(3),H(_(58,57,"CREATE_OFFER._prod_spec_info")),s(3),k("disabled",!t.catalogsDone),s(5),H(_(66,59,"CREATE_OFFER._catalog")),s(3),H(_(69,61,"CREATE_OFFER._catalog_info")),s(3),k("disabled",!t.categoriesDone),s(5),H(_(77,63,"CREATE_OFFER._category")),s(3),H(_(80,65,"CREATE_OFFER._category_info")),s(3),k("disabled",!t.licenseDone),s(5),H(_(88,67,"CREATE_OFFER._license")),s(3),H(_(91,69,"CREATE_OFFER._license_info")),s(3),k("disabled",!t.priceDone),s(5),H(_(99,71,"CREATE_OFFER._price_plans")),s(3),H(_(102,73,"CREATE_OFFER._price_plans_info")),s(3),k("disabled",!t.finishDone),s(5),H(_(110,75,"CREATE_OFFER._finish")),s(3),H(_(113,77,"CREATE_OFFER._summary")),s(3),S(115,t.showGeneral?115:-1),s(),S(116,t.showBundle?116:-1),s(),S(117,t.showProdSpec?117:-1),s(),S(118,t.showCatalog?118:-1),s(),S(119,t.showCategory?119:-1),s(),S(120,t.showLicense?120:-1),s(),S(121,t.showSLA?121:-1),s(),S(122,t.showPrice?122:-1),s(),S(123,t.showSummary?123:-1),s(),S(124,t.editPrice?124:-1),s(),S(125,t.showError?125:-1))},dependencies:[k2,I4,x6,w6,H4,Ta,S4,O4,yl,X4,f3,G3,_4,Gl,C4,Q4,X1]})}return c})();const XJ3=["stringValue"],eX3=["numberValue"],cX3=["numberUnit"],aX3=["fromValue"],rX3=["toValue"],tX3=["rangeUnit"],iX3=["attachName"],oX3=["imgURL"],oz=(c,r)=>r.id,nX3=(c,r)=>r.name,sX3=()=>({position:"relative",left:"200px",top:"-500px"});function lX3(c,r){if(1&c){const e=j();o(0,"li",103),C("click",function(){return y(e),b(h(2).setProdStatus("Active"))}),o(1,"span",16),w(),o(2,"svg",104),v(3,"path",105),n(),f(4," Active "),n()()}}function fX3(c,r){if(1&c){const e=j();o(0,"li",106),C("click",function(){return y(e),b(h(2).setProdStatus("Active"))}),o(1,"span",16),f(2," Active "),n()()}}function dX3(c,r){if(1&c){const e=j();o(0,"li",107),C("click",function(){return y(e),b(h(2).setProdStatus("Launched"))}),o(1,"span",16),w(),o(2,"svg",108),v(3,"path",105),n(),f(4," Launched "),n()()}}function uX3(c,r){if(1&c){const e=j();o(0,"li",106),C("click",function(){return y(e),b(h(2).setProdStatus("Launched"))}),o(1,"span",16),f(2," Launched "),n()()}}function hX3(c,r){if(1&c){const e=j();o(0,"li",109),C("click",function(){return y(e),b(h(2).setProdStatus("Retired"))}),o(1,"span",16),w(),o(2,"svg",110),v(3,"path",105),n(),f(4," Retired "),n()()}}function mX3(c,r){if(1&c){const e=j();o(0,"li",106),C("click",function(){return y(e),b(h(2).setProdStatus("Retired"))}),o(1,"span",16),f(2," Retired "),n()()}}function _X3(c,r){if(1&c){const e=j();o(0,"li",111),C("click",function(){return y(e),b(h(2).setProdStatus("Obsolete"))}),o(1,"span",112),w(),o(2,"svg",113),v(3,"path",105),n(),f(4," Obsolete "),n()()}}function pX3(c,r){if(1&c){const e=j();o(0,"li",111),C("click",function(){return y(e),b(h(2).setProdStatus("Obsolete"))}),o(1,"span",16),f(2," Obsolete "),n()()}}function gX3(c,r){1&c&&v(0,"markdown",97),2&c&&k("data",h(2).description)}function vX3(c,r){1&c&&v(0,"textarea",114)}function HX3(c,r){if(1&c){const e=j();o(0,"emoji-mart",115),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(2).addEmoji(t))}),n()}2&c&&(Y2(E4(3,sX3)),k("darkMode",!1))}function CX3(c,r){if(1&c){const e=j();o(0,"h2",49),f(1),m(2,"translate"),n(),o(3,"form",50)(4,"div")(5,"label",51),f(6),m(7,"translate"),n(),v(8,"input",52),o(9,"label",53),f(10),m(11,"translate"),n(),v(12,"input",54),n(),o(13,"div")(14,"label",55),f(15),m(16,"translate"),n(),v(17,"input",56),o(18,"label",57),f(19),m(20,"translate"),n(),v(21,"input",58),n(),o(22,"label",59),f(23),m(24,"translate"),n(),o(25,"div",60)(26,"ol",61),R(27,lX3,5,0,"li",62)(28,fX3,3,0)(29,dX3,5,0,"li",63)(30,uX3,3,0)(31,hX3,5,0,"li",64)(32,mX3,3,0)(33,_X3,5,0,"li",65)(34,pX3,3,0),n()(),o(35,"label",66),f(36),m(37,"translate"),n(),o(38,"div",67)(39,"div",68)(40,"div",69)(41,"div",70)(42,"button",71),C("click",function(){return y(e),b(h().addBold())}),w(),o(43,"svg",72),v(44,"path",73),n(),O(),o(45,"span",74),f(46,"Bold"),n()(),o(47,"button",71),C("click",function(){return y(e),b(h().addItalic())}),w(),o(48,"svg",72),v(49,"path",75),n(),O(),o(50,"span",74),f(51,"Italic"),n()(),o(52,"button",71),C("click",function(){return y(e),b(h().addList())}),w(),o(53,"svg",76),v(54,"path",77),n(),O(),o(55,"span",74),f(56,"Add list"),n()(),o(57,"button",78),C("click",function(){return y(e),b(h().addOrderedList())}),w(),o(58,"svg",76),v(59,"path",79),n(),O(),o(60,"span",74),f(61,"Add ordered list"),n()(),o(62,"button",80),C("click",function(){return y(e),b(h().addBlockquote())}),w(),o(63,"svg",81),v(64,"path",82),n(),O(),o(65,"span",74),f(66,"Add blockquote"),n()(),o(67,"button",71),C("click",function(){return y(e),b(h().addTable())}),w(),o(68,"svg",83),v(69,"path",84),n(),O(),o(70,"span",74),f(71,"Add table"),n()(),o(72,"button",80),C("click",function(){return y(e),b(h().addCode())}),w(),o(73,"svg",83),v(74,"path",85),n(),O(),o(75,"span",74),f(76,"Add code"),n()(),o(77,"button",80),C("click",function(){return y(e),b(h().addCodeBlock())}),w(),o(78,"svg",83),v(79,"path",86),n(),O(),o(80,"span",74),f(81,"Add code block"),n()(),o(82,"button",80),C("click",function(){return y(e),b(h().addLink())}),w(),o(83,"svg",83),v(84,"path",87),n(),O(),o(85,"span",74),f(86,"Add link"),n()(),o(87,"button",78),C("click",function(t){y(e);const i=h();return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(88,"svg",88),v(89,"path",89),n(),O(),o(90,"span",74),f(91,"Add emoji"),n()()()(),o(92,"button",90),C("click",function(){y(e);const t=h();return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(93,"svg",76),v(94,"path",91)(95,"path",92),n(),O(),o(96,"span",74),f(97),m(98,"translate"),n()(),o(99,"div",93),f(100),m(101,"translate"),v(102,"div",94),n()(),o(103,"div",95)(104,"label",96),f(105,"Publish post"),n(),R(106,gX3,1,1,"markdown",97)(107,vX3,1,0)(108,HX3,1,4,"emoji-mart",98),n()()(),o(109,"div",99)(110,"button",100),C("click",function(){return y(e),b(h().toggleBundle())}),f(111),m(112,"translate"),w(),o(113,"svg",101),v(114,"path",102),n()()()}if(2&c){let e,a,t;const i=h();s(),H(_(2,42,"UPDATE_PROD_SPEC._general")),s(2),k("formGroup",i.generalForm),s(3),H(_(7,44,"UPDATE_PROD_SPEC._product_name")),s(2),k("ngClass",1==(null==(e=i.generalForm.get("name"))?null:e.invalid)&&""!=i.generalForm.value.name?"border-red-600":"border-gray-300"),s(2),H(_(11,46,"UPDATE_PROD_SPEC._product_version")),s(2),k("ngClass",1==(null==(a=i.generalForm.get("version"))?null:a.invalid)?"border-red-600":"border-gray-300"),s(3),H(_(16,48,"UPDATE_PROD_SPEC._product_brand")),s(2),k("ngClass",1==(null==(t=i.generalForm.get("brand"))?null:t.invalid)&&""!=i.generalForm.value.brand?"border-red-600":"border-gray-300"),s(2),H(_(20,50,"UPDATE_PROD_SPEC._id_number")),s(4),H(_(24,52,"UPDATE_RES_SPEC._status")),s(4),S(27,"Active"==i.prodStatus?27:28),s(2),S(29,"Launched"==i.prodStatus?29:30),s(2),S(31,"Retired"==i.prodStatus?31:32),s(2),S(33,"Obsolete"==i.prodStatus?33:34),s(3),H(_(37,54,"UPDATE_PROD_SPEC._product_description")),s(6),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(98,56,"CREATE_CATALOG._preview")),s(3),V(" ",_(101,58,"CREATE_CATALOG._show_preview")," "),s(6),S(106,i.showPreview?106:107),s(2),S(108,i.showEmoji?108:-1),s(2),k("disabled",!i.generalForm.valid)("ngClass",i.generalForm.valid?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(112,60,"UPDATE_PROD_SPEC._next")," ")}}function zX3(c,r){1&c&&(o(0,"div",122),w(),o(1,"svg",123),v(2,"path",124)(3,"path",125),n(),O(),o(4,"span",74),f(5,"Loading..."),n()())}function VX3(c,r){if(1&c&&(o(0,"span",135),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function MX3(c,r){if(1&c&&(o(0,"span",139),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function LX3(c,r){if(1&c&&(o(0,"span",140),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function yX3(c,r){if(1&c&&(o(0,"span",141),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function bX3(c,r){1&c&&(o(0,"span",135),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"UPDATE_PROD_SPEC._simple")))}function xX3(c,r){1&c&&(o(0,"span",139),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"UPDATE_PROD_SPEC._bundle")))}function wX3(c,r){if(1&c&&(o(0,"tr",132)(1,"td",133),f(2),n(),o(3,"td",134),R(4,VX3,2,1,"span",135)(5,MX3,2,1)(6,LX3,2,1)(7,yX3,2,1),n(),o(8,"td",134),R(9,bX3,3,3,"span",135)(10,xX3,3,3),n(),o(11,"td",136),f(12),m(13,"date"),n(),o(14,"td",137),v(15,"input",138),n()()),2&c){const e=r.$implicit,a=h(4);s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1),s(5),S(9,0==e.isBundle?9:10),s(3),V(" ",L2(13,5,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," "),s(3),k("checked",a.isProdInBundle(e))}}function FX3(c,r){if(1&c&&(o(0,"div",126)(1,"table",127)(2,"thead",128)(3,"tr")(4,"th",129),f(5),m(6,"translate"),n(),o(7,"th",130),f(8),m(9,"translate"),n(),o(10,"th",130),f(11),m(12,"translate"),n(),o(13,"th",131),f(14),m(15,"translate"),n(),o(16,"th",129),f(17),m(18,"translate"),n()()(),o(19,"tbody"),c1(20,wX3,16,8,"tr",132,oz),n()()()),2&c){const e=h(3);s(5),V(" ",_(6,5,"UPDATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(9,7,"UPDATE_PROD_SPEC._status")," "),s(3),V(" ",_(12,9,"UPDATE_PROD_SPEC._type")," "),s(3),V(" ",_(15,11,"UPDATE_PROD_SPEC._last_update")," "),s(3),V(" ",_(18,13,"UPDATE_PROD_SPEC._select")," "),s(3),a1(e.prodSpecs)}}function kX3(c,r){if(1&c){const e=j();o(0,"div",142)(1,"button",143),C("click",function(){return y(e),b(h(4).nextBundle())}),f(2),m(3,"translate"),w(),o(4,"svg",144),v(5,"path",145),n()()()}2&c&&(s(2),V(" ",_(3,1,"UPDATE_PROD_SPEC._load_more")," "))}function SX3(c,r){1&c&&R(0,kX3,6,3,"div",142),2&c&&S(0,h(3).bundlePageCheck?0:-1)}function NX3(c,r){1&c&&(o(0,"div",146),w(),o(1,"svg",123),v(2,"path",124)(3,"path",125),n(),O(),o(4,"span",74),f(5,"Loading..."),n()())}function DX3(c,r){if(1&c&&R(0,zX3,6,0,"div",122)(1,FX3,22,15)(2,SX3,1,1)(3,NX3,6,0),2&c){const e=h(2);S(0,e.loadingBundle?0:1),s(2),S(2,e.loadingBundle_more?3:2)}}function TX3(c,r){if(1&c){const e=j();o(0,"h2",49),f(1),m(2,"translate"),n(),o(3,"div",116)(4,"label",55),f(5),m(6,"translate"),n(),o(7,"label",117),v(8,"input",118)(9,"div",119),n()(),R(10,DX3,4,2),o(11,"div",120)(12,"button",121),C("click",function(){return y(e),b(h().toggleCompliance())}),f(13),m(14,"translate"),w(),o(15,"svg",101),v(16,"path",102),n()()()}if(2&c){const e=h();s(),H(_(2,7,"UPDATE_PROD_SPEC._bundle")),s(4),H(_(6,9,"UPDATE_PROD_SPEC._is_bundled")),s(3),k("checked",e.bundleChecked),s(2),S(10,e.bundleChecked?10:-1),s(2),k("disabled",e.prodSpecsBundle.length<2&&e.bundleChecked)("ngClass",e.prodSpecsBundle.length<2&&e.bundleChecked?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(14,11,"UPDATE_PROD_SPEC._next")," ")}}function EX3(c,r){if(1&c){const e=j();o(0,"li")(1,"div",168)(2,"label",169),f(3),n(),o(4,"button",170),C("click",function(){const t=y(e).$implicit;return b(h(4).addISO(t))}),w(),o(5,"svg",171),v(6,"path",145),n()()()()}if(2&c){const e=r.$implicit;s(2),k("ngClass",1==e.domesupported?"text-primary-100 font-bold":"text-gray-900 font-medium"),s(),V(" ",e.name," ")}}function AX3(c,r){if(1&c&&(o(0,"div",166)(1,"ul",167),c1(2,EX3,7,2,"li",null,z1),n()()),2&c){const e=h(3);s(2),a1(e.availableISOS)}}function PX3(c,r){if(1&c){const e=j();o(0,"button",163),C("click",function(){y(e);const t=h(2);return b(t.buttonISOClicked=!t.buttonISOClicked)}),f(1),m(2,"translate"),w(),o(3,"svg",164),v(4,"path",165),n()(),R(5,AX3,4,0,"div",166)}if(2&c){const e=h(2);s(),V(" ",_(2,2,"UPDATE_PROD_SPEC._add_comp")," "),s(4),S(5,e.buttonISOClicked?5:-1)}}function RX3(c,r){1&c&&(o(0,"button",177),w(),o(1,"svg",149),v(2,"path",150),n()())}function BX3(c,r){1&c&&(o(0,"button",178),w(),o(1,"svg",149),v(2,"path",150),n()())}function OX3(c,r){if(1&c&&R(0,RX3,3,0,"button",177)(1,BX3,3,0),2&c){const e=h().$implicit;S(0,h(2).isVerified(e)?0:1)}}function IX3(c,r){if(1&c){const e=j();o(0,"tr",132)(1,"td",133),f(2),n(),o(3,"td",133),f(4),n(),o(5,"td",172)(6,"button",173),C("click",function(t){const i=y(e).$implicit;return h(2).toggleUploadFile(i),b(t.stopPropagation())}),w(),o(7,"svg",149),v(8,"path",174),n()(),R(9,OX3,2,1),O(),o(10,"button",175),C("click",function(){const t=y(e).$implicit;return b(h(2).removeISO(t))}),w(),o(11,"svg",149),v(12,"path",176),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.url," "),s(5),S(9,1==e.domesupported?9:-1)}}function UX3(c,r){1&c&&(o(0,"div",162)(1,"div",179),w(),o(2,"svg",180),v(3,"path",181),n(),O(),o(4,"span",74),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"UPDATE_PROD_SPEC._no_comp_profile")," "))}function jX3(c,r){if(1&c){const e=j();o(0,"h2",49),f(1),m(2,"translate"),n(),R(3,PX3,6,4),o(4,"div",147)(5,"button",148),C("click",function(){return y(e),b(h().verifyCredential())}),f(6),m(7,"translate"),w(),o(8,"svg",149),v(9,"path",150),n()(),O(),o(10,"div",151),w(),o(11,"svg",152),v(12,"path",153),n()()(),O(),o(13,"div",154)(14,"div",155)(15,"h3",156),f(16),m(17,"translate"),n()(),o(18,"div",157)(19,"p",158),f(20),m(21,"translate"),o(22,"a",159),f(23),m(24,"translate"),n()()(),v(25,"div",160),n(),o(26,"div",161)(27,"table",127)(28,"thead",128)(29,"tr")(30,"th",129),f(31),m(32,"translate"),n(),o(33,"th",129),f(34),m(35,"translate"),n(),o(36,"th",129),f(37),m(38,"translate"),n()()(),o(39,"tbody"),c1(40,IX3,13,3,"tr",132,nX3,!1,UX3,9,3,"div",162),n()()(),o(43,"div",120)(44,"button",121),C("click",function(){return y(e),b(h().toggleChars())}),f(45),m(46,"translate"),w(),o(47,"svg",101),v(48,"path",102),n()()()}if(2&c){const e=h();s(),H(_(2,14,"UPDATE_PROD_SPEC._comp_profile")),s(2),S(3,e.availableISOS.length>0?3:-1),s(3),V(" ",_(7,16,"UPDATE_PROD_SPEC._verify")," "),s(10),H(_(17,18,"UPDATE_PROD_SPEC._how_to_verify")),s(4),V("",_(21,20,"UPDATE_PROD_SPEC._verify_text")," "),s(2),D1("href",e.DOME_TRUST_LINK,h2),s(),V(" ",_(24,22,"UPDATE_PROD_SPEC._dome_trust"),"."),s(8),V(" ",_(32,24,"UPDATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(35,26,"UPDATE_PROD_SPEC._value")," "),s(3),V(" ",_(38,28,"UPDATE_PROD_SPEC._actions")," "),s(3),a1(e.selectedISOS),s(4),k("disabled",e.checkValidISOS())("ngClass",e.checkValidISOS()?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(46,30,"UPDATE_PROD_SPEC._next")," ")}}function $X3(c,r){1&c&&(o(0,"div",182)(1,"div",179),w(),o(2,"svg",180),v(3,"path",181),n(),O(),o(4,"span",74),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"UPDATE_PROD_SPEC._no_chars")," "))}function YX3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function GX3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function qX3(c,r){if(1&c&&R(0,YX3,4,2)(1,GX3,3,2),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function WX3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function ZX3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function KX3(c,r){if(1&c&&R(0,WX3,4,3)(1,ZX3,3,3),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function QX3(c,r){1&c&&R(0,qX3,2,1)(1,KX3,2,1),2&c&&S(0,r.$implicit.value?0:1)}function JX3(c,r){if(1&c){const e=j();o(0,"tr",132)(1,"td",185),f(2),n(),o(3,"td",186),f(4),n(),o(5,"td",133),c1(6,QX3,2,1,null,null,z1),n(),o(8,"td",137)(9,"button",187),C("click",function(){const t=y(e).$implicit;return b(h(3).deleteChar(t))}),w(),o(10,"svg",188),v(11,"path",176),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),a1(e.productSpecCharacteristicValue)}}function XX3(c,r){if(1&c&&(o(0,"div",126)(1,"table",127)(2,"thead",128)(3,"tr")(4,"th",129),f(5),m(6,"translate"),n(),o(7,"th",131),f(8),m(9,"translate"),n(),o(10,"th",129),f(11),m(12,"translate"),n(),o(13,"th",129),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,JX3,12,2,"tr",132,z1),n()()()),2&c){const e=h(2);s(5),V(" ",_(6,4,"UPDATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(9,6,"UPDATE_PROD_SPEC._product_description")," "),s(3),V(" ",_(12,8,"UPDATE_PROD_SPEC._values")," "),s(3),V(" ",_(15,10,"UPDATE_PROD_SPEC._actions")," "),s(3),a1(e.prodChars)}}function e16(c,r){if(1&c){const e=j();o(0,"div",183)(1,"button",189),C("click",function(){y(e);const t=h(2);return b(t.showCreateChar=!t.showCreateChar)}),f(2),m(3,"translate"),w(),o(4,"svg",190),v(5,"path",145),n()()()}2&c&&(s(2),V(" ",_(3,1,"UPDATE_PROD_SPEC._new_char")," "))}function c16(c,r){if(1&c){const e=j();o(0,"div",208)(1,"div",209)(2,"input",210),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).selectDefaultChar(i,l))}),n(),o(3,"label",211),f(4),o(5,"i"),f(6),n()()(),o(7,"button",212),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).removeCharValue(i,l))}),w(),o(8,"svg",188),v(9,"path",176),n()()()}if(2&c){const e=r.$implicit;s(2),k("checked",null==e?null:e.isDefault),s(2),j1("",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function a16(c,r){1&c&&c1(0,c16,10,4,"div",208,z1),2&c&&a1(h(4).creatingChars)}function r16(c,r){if(1&c){const e=j();o(0,"div",208)(1,"div",209)(2,"input",213),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).selectDefaultChar(i,l))}),n(),o(3,"label",214),f(4),o(5,"i"),f(6),n()()(),o(7,"button",212),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).removeCharValue(i,l))}),w(),o(8,"svg",188),v(9,"path",176),n()()()}if(2&c){const e=r.$implicit;s(2),k("checked",null==e?null:e.isDefault),s(2),V("",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function t16(c,r){1&c&&c1(0,r16,10,3,"div",208,z1),2&c&&a1(h(4).creatingChars)}function i16(c,r){if(1&c&&(o(0,"label",202),f(1,"Values"),n(),o(2,"div",207),R(3,a16,2,0)(4,t16,2,0),n()),2&c){const e=h(3);s(3),S(3,e.rangeCharSelected?3:4)}}function o16(c,r){if(1&c){const e=j();o(0,"div",203),v(1,"input",215,0),o(3,"button",216),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(4,"svg",217),v(5,"path",145),n()()()}}function n16(c,r){if(1&c){const e=j();o(0,"div",218)(1,"div",219)(2,"span",220),f(3),m(4,"translate"),n(),v(5,"input",221,1),n(),o(7,"div",219)(8,"span",220),f(9),m(10,"translate"),n(),v(11,"input",222,2),n(),o(13,"button",216),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(14,"svg",217),v(15,"path",145),n()()()}2&c&&(s(3),V(" ",_(4,2,"UPDATE_PROD_SPEC._value")," "),s(6),V(" ",_(10,4,"UPDATE_PROD_SPEC._unit")," "))}function s16(c,r){if(1&c){const e=j();o(0,"div",218)(1,"div",219)(2,"span",223),f(3),m(4,"translate"),n(),v(5,"input",221,3),n(),o(7,"div",219)(8,"span",223),f(9),m(10,"translate"),n(),v(11,"input",221,4),n(),o(13,"div",219)(14,"span",223),f(15),m(16,"translate"),n(),v(17,"input",222,5),n(),o(19,"button",216),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(20,"svg",217),v(21,"path",145),n()()()}2&c&&(s(3),V(" ",_(4,3,"UPDATE_PROD_SPEC._from")," "),s(6),V(" ",_(10,5,"UPDATE_PROD_SPEC._to")," "),s(6),V(" ",_(16,7,"UPDATE_PROD_SPEC._unit")," "))}function l16(c,r){if(1&c){const e=j();o(0,"form",191)(1,"div")(2,"label",51),f(3),m(4,"translate"),n(),v(5,"input",192),n(),o(6,"div")(7,"label",193),f(8),m(9,"translate"),n(),o(10,"select",194),C("change",function(t){return y(e),b(h(2).onTypeChange(t))}),o(11,"option",195),f(12,"String"),n(),o(13,"option",196),f(14,"Number"),n(),o(15,"option",197),f(16,"Number range"),n()()(),o(17,"div",198)(18,"label",199),f(19),m(20,"translate"),n(),v(21,"textarea",200),n()(),o(22,"div",201),R(23,i16,5,1),o(24,"label",202),f(25),m(26,"translate"),n(),R(27,o16,6,0,"div",203)(28,n16,16,6)(29,s16,22,9),o(30,"div",204)(31,"button",205),C("click",function(){return y(e),b(h(2).saveChar())}),f(32),m(33,"translate"),w(),o(34,"svg",190),v(35,"path",206),n()()()()}if(2&c){const e=h(2);k("formGroup",e.charsForm),s(3),H(_(4,10,"UPDATE_PROD_SPEC._product_name")),s(5),H(_(9,12,"UPDATE_PROD_SPEC._type")),s(11),H(_(20,14,"UPDATE_PROD_SPEC._product_description")),s(4),S(23,e.creatingChars.length>0?23:-1),s(2),H(_(26,16,"UPDATE_PROD_SPEC._add_values")),s(2),S(27,e.stringCharSelected?27:e.numberCharSelected?28:e.rangeCharSelected?29:-1),s(4),k("disabled",!e.charsForm.valid||0==e.creatingChars.length)("ngClass",e.charsForm.valid&&0!=e.creatingChars.length?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(33,18,"UPDATE_PROD_SPEC._save_char")," ")}}function f16(c,r){if(1&c){const e=j();o(0,"h2",49),f(1),m(2,"translate"),n(),R(3,$X3,9,3,"div",182)(4,XX3,19,12)(5,e16,6,3,"div",183)(6,l16,36,20),o(7,"div",184)(8,"button",148),C("click",function(){return y(e),b(h().toggleResource())}),f(9),m(10,"translate"),w(),o(11,"svg",101),v(12,"path",102),n()()()}if(2&c){const e=h();s(),H(_(2,4,"UPDATE_PROD_SPEC._chars")),s(2),S(3,0===e.prodChars.length?3:4),s(2),S(5,0==e.showCreateChar?5:6),s(4),V(" ",_(10,6,"UPDATE_PROD_SPEC._next")," ")}}function d16(c,r){1&c&&(o(0,"div",122),w(),o(1,"svg",123),v(2,"path",124)(3,"path",125),n(),O(),o(4,"span",74),f(5,"Loading..."),n()())}function u16(c,r){1&c&&(o(0,"div",182)(1,"div",179),w(),o(2,"svg",180),v(3,"path",181),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_res")," "))}function h16(c,r){if(1&c&&(o(0,"span",135),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function m16(c,r){if(1&c&&(o(0,"span",139),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function _16(c,r){if(1&c&&(o(0,"span",140),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function p16(c,r){if(1&c&&(o(0,"span",141),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function g16(c,r){if(1&c){const e=j();o(0,"tr",132)(1,"td",133),f(2),n(),o(3,"td",134),R(4,h16,2,1,"span",135)(5,m16,2,1)(6,_16,2,1)(7,p16,2,1),n(),o(8,"td",136),f(9),m(10,"date"),n(),o(11,"td",137)(12,"input",224),C("click",function(){const t=y(e).$implicit;return b(h(4).addResToSelected(t))}),n()()()}if(2&c){const e=r.$implicit,a=h(4);s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1),s(5),V(" ",L2(10,4,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," "),s(3),k("checked",a.isResSelected(e))}}function v16(c,r){if(1&c&&(o(0,"div",126)(1,"table",127)(2,"thead",128)(3,"tr")(4,"th",129),f(5),m(6,"translate"),n(),o(7,"th",130),f(8),m(9,"translate"),n(),o(10,"th",131),f(11),m(12,"translate"),n(),o(13,"th",129),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,g16,13,7,"tr",132,oz),n()()()),2&c){const e=h(3);s(5),V(" ",_(6,4,"UPDATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(9,6,"UPDATE_PROD_SPEC._status")," "),s(3),V(" ",_(12,8,"UPDATE_PROD_SPEC._last_update")," "),s(3),V(" ",_(15,10,"UPDATE_PROD_SPEC._select")," "),s(3),a1(e.resourceSpecs)}}function H16(c,r){1&c&&R(0,u16,7,3,"div",182)(1,v16,19,12),2&c&&S(0,0==h(2).resourceSpecs.length?0:1)}function C16(c,r){if(1&c){const e=j();o(0,"div",142)(1,"button",143),C("click",function(){return y(e),b(h(3).nextRes())}),f(2),m(3,"translate"),w(),o(4,"svg",144),v(5,"path",145),n()()()}2&c&&(s(2),V(" ",_(3,1,"UPDATE_PROD_SPEC._load_more")," "))}function z16(c,r){1&c&&R(0,C16,6,3,"div",142),2&c&&S(0,h(2).resourceSpecPageCheck?0:-1)}function V16(c,r){1&c&&(o(0,"div",146),w(),o(1,"svg",123),v(2,"path",124)(3,"path",125),n(),O(),o(4,"span",74),f(5,"Loading..."),n()())}function M16(c,r){if(1&c){const e=j();o(0,"h2",49),f(1),m(2,"translate"),n(),R(3,d16,6,0,"div",122)(4,H16,2,1)(5,z16,1,1)(6,V16,6,0),o(7,"div",120)(8,"button",148),C("click",function(){return y(e),b(h().toggleService())}),f(9),m(10,"translate"),w(),o(11,"svg",101),v(12,"path",102),n()()()}if(2&c){const e=h();s(),H(_(2,4,"UPDATE_PROD_SPEC._resource_specs")),s(2),S(3,e.loadingResourceSpec?3:4),s(2),S(5,e.loadingResourceSpec_more?6:5),s(4),V(" ",_(10,6,"UPDATE_PROD_SPEC._next")," ")}}function L16(c,r){1&c&&(o(0,"div",122),w(),o(1,"svg",123),v(2,"path",124)(3,"path",125),n(),O(),o(4,"span",74),f(5,"Loading..."),n()())}function y16(c,r){1&c&&(o(0,"div",182)(1,"div",179),w(),o(2,"svg",180),v(3,"path",181),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_serv")," "))}function b16(c,r){if(1&c&&(o(0,"span",135),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function x16(c,r){if(1&c&&(o(0,"span",139),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function w16(c,r){if(1&c&&(o(0,"span",140),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function F16(c,r){if(1&c&&(o(0,"span",141),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function k16(c,r){if(1&c){const e=j();o(0,"tr",132)(1,"td",133),f(2),n(),o(3,"td",134),R(4,b16,2,1,"span",135)(5,x16,2,1)(6,w16,2,1)(7,F16,2,1),n(),o(8,"td",136),f(9),m(10,"date"),n(),o(11,"td",137)(12,"input",224),C("click",function(){const t=y(e).$implicit;return b(h(4).addServToSelected(t))}),n()()()}if(2&c){const e=r.$implicit,a=h(4);s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1),s(5),V(" ",L2(10,4,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," "),s(3),k("checked",a.isServSelected(e))}}function S16(c,r){if(1&c&&(o(0,"div",126)(1,"table",127)(2,"thead",128)(3,"tr")(4,"th",129),f(5),m(6,"translate"),n(),o(7,"th",130),f(8),m(9,"translate"),n(),o(10,"th",131),f(11),m(12,"translate"),n(),o(13,"th",129),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,k16,13,7,"tr",132,oz),n()()()),2&c){const e=h(3);s(5),V(" ",_(6,4,"UPDATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(9,6,"UPDATE_PROD_SPEC._status")," "),s(3),V(" ",_(12,8,"UPDATE_PROD_SPEC._last_update")," "),s(3),V(" ",_(15,10,"UPDATE_PROD_SPEC._select")," "),s(3),a1(e.serviceSpecs)}}function N16(c,r){1&c&&R(0,y16,7,3,"div",182)(1,S16,19,12),2&c&&S(0,0==h(2).serviceSpecs.length?0:1)}function D16(c,r){if(1&c){const e=j();o(0,"div",142)(1,"button",143),C("click",function(){return y(e),b(h(3).nextServ())}),f(2),m(3,"translate"),w(),o(4,"svg",144),v(5,"path",145),n()()()}2&c&&(s(2),V(" ",_(3,1,"UPDATE_PROD_SPEC._load_more")," "))}function T16(c,r){1&c&&R(0,D16,6,3,"div",142),2&c&&S(0,h(2).serviceSpecPageCheck?0:-1)}function E16(c,r){1&c&&(o(0,"div",146),w(),o(1,"svg",123),v(2,"path",124)(3,"path",125),n(),O(),o(4,"span",74),f(5,"Loading..."),n()())}function A16(c,r){if(1&c){const e=j();o(0,"h2",49),f(1),m(2,"translate"),n(),R(3,L16,6,0,"div",122)(4,N16,2,1)(5,T16,1,1)(6,E16,6,0),o(7,"div",120)(8,"button",148),C("click",function(){return y(e),b(h().toggleAttach())}),f(9),m(10,"translate"),w(),o(11,"svg",101),v(12,"path",102),n()()()}if(2&c){const e=h();s(),H(_(2,4,"UPDATE_PROD_SPEC._service_specs")),s(2),S(3,e.loadingServiceSpec?3:4),s(2),S(5,e.loadingServiceSpec_more?6:5),s(4),V(" ",_(10,6,"UPDATE_PROD_SPEC._next")," ")}}function P16(c,r){if(1&c){const e=j();o(0,"div",227),v(1,"img",229),o(2,"button",230),C("click",function(){return y(e),b(h(2).removeImg())}),w(),o(3,"svg",188),v(4,"path",176),n()()()}if(2&c){const e=h(2);s(),D1("src",e.imgPreview,h2)}}function R16(c,r){if(1&c){const e=j();o(0,"div",238),w(),o(1,"svg",239),v(2,"path",240),n(),O(),o(3,"div",241)(4,"p",242),f(5),m(6,"translate"),o(7,"button",243),C("click",function(){return b((0,y(e).openFileSelector)())}),f(8),m(9,"translate"),n()()()()}2&c&&(s(5),V("",_(6,2,"UPDATE_PROD_SPEC._drop_files")," "),s(3),H(_(9,4,"UPDATE_PROD_SPEC._select_files")))}function B16(c,r){if(1&c){const e=j();o(0,"div",231)(1,"ngx-file-drop",232),C("onFileDrop",function(t){return y(e),b(h(2).dropped(t,"img"))})("onFileOver",function(t){return y(e),b(h(2).fileOver(t))})("onFileLeave",function(t){return y(e),b(h(2).fileLeave(t))}),R(2,R16,10,6,"ng-template",233),n()(),o(3,"label",234),f(4),m(5,"translate"),n(),o(6,"div",235),v(7,"input",236,6),o(9,"button",237),C("click",function(){return y(e),b(h(2).saveImgFromURL())}),w(),o(10,"svg",188),v(11,"path",150),n()()()}if(2&c){const e=h(2);s(4),H(_(5,4,"UPDATE_PROD_SPEC._add_prod_img_url")),s(3),k("formControl",e.attImageName),s(2),k("disabled",!e.attImageName.valid)("ngClass",e.attImageName.valid?"hover:bg-primary-50":"opacity-50")}}function O16(c,r){1&c&&(o(0,"div",228)(1,"div",179),w(),o(2,"svg",180),v(3,"path",181),n(),O(),o(4,"span",74),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"UPDATE_PROD_SPEC._no_att")," "))}function I16(c,r){if(1&c){const e=j();o(0,"tr",132)(1,"td",185),f(2),n(),o(3,"td",133),f(4),n(),o(5,"td",137)(6,"button",187),C("click",function(){const t=y(e).$implicit;return b(h(3).removeAtt(t))}),w(),o(7,"svg",188),v(8,"path",176),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.url," ")}}function U16(c,r){if(1&c&&(o(0,"div",126)(1,"table",127)(2,"thead",128)(3,"tr")(4,"th",129),f(5),m(6,"translate"),n(),o(7,"th",129),f(8),m(9,"translate"),n(),o(10,"th",129),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,I16,9,2,"tr",132,z1),n()()()),2&c){const e=h(2);s(5),V(" ",_(6,3,"UPDATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(9,5,"UPDATE_PROD_SPEC._value")," "),s(3),V(" ",_(12,7,"UPDATE_PROD_SPEC._actions")," "),s(3),a1(e.prodAttachments)}}function j16(c,r){if(1&c){const e=j();o(0,"div",183)(1,"button",189),C("click",function(){y(e);const t=h(2);return b(t.showNewAtt=!t.showNewAtt)}),f(2),m(3,"translate"),w(),o(4,"svg",190),v(5,"path",145),n()()()}2&c&&(s(2),V(" ",_(3,1,"UPDATE_PROD_SPEC._new_att")," "))}function $16(c,r){if(1&c){const e=j();o(0,"div",238),w(),o(1,"svg",239),v(2,"path",240),n(),O(),o(3,"div",241)(4,"p",242),f(5),m(6,"translate"),o(7,"button",243),C("click",function(){return b((0,y(e).openFileSelector)())}),f(8),m(9,"translate"),n()()()()}2&c&&(s(5),V("",_(6,2,"UPDATE_PROD_SPEC._drop_files")," "),s(3),H(_(9,4,"UPDATE_PROD_SPEC._select_files")))}function Y16(c,r){if(1&c){const e=j();o(0,"ngx-file-drop",250),C("onFileDrop",function(t){return y(e),b(h(3).dropped(t,"attach"))})("onFileOver",function(t){return y(e),b(h(3).fileOver(t))})("onFileLeave",function(t){return y(e),b(h(3).fileLeave(t))}),R(1,$16,10,6,"ng-template",233),n()}}function G16(c,r){if(1&c){const e=j();o(0,"div",251)(1,"span",74),f(2,"Info"),n(),o(3,"label",252),f(4),n(),o(5,"button",230),C("click",function(){return y(e),b(h(3).clearAtt())}),w(),o(6,"svg",188),v(7,"path",176),n()()()}if(2&c){const e=h(3);s(4),V(" ",e.attachToCreate.url," ")}}function q16(c,r){if(1&c){const e=j();o(0,"div",244)(1,"div",245)(2,"div",246)(3,"label",247),f(4),m(5,"translate"),n(),v(6,"input",248,7),n(),R(8,Y16,2,0,"ngx-file-drop",249)(9,G16,8,1),n(),o(10,"div",204)(11,"button",205),C("click",function(){return y(e),b(h(2).saveAtt())}),f(12),m(13,"translate"),w(),o(14,"svg",190),v(15,"path",206),n()()()()}if(2&c){const e=h(2);s(4),H(_(5,7,"PROFILE._name")),s(2),k("formControl",e.attFileName)("ngClass",1==e.attFileName.invalid?"border-red-600":"border-gray-300"),s(2),S(8,""==e.attachToCreate.url?8:9),s(3),k("disabled",!e.attFileName.valid||""==e.attachToCreate.url)("ngClass",e.attFileName.valid&&""!=e.attachToCreate.url?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(13,9,"UPDATE_PROD_SPEC._save_att")," ")}}function W16(c,r){if(1&c){const e=j();o(0,"div",225)(1,"h2",49),f(2),m(3,"translate"),n(),o(4,"div",151),w(),o(5,"svg",152),v(6,"path",153),n()(),O(),o(7,"div",154)(8,"div",155)(9,"h3",156),f(10),m(11,"translate"),n()(),o(12,"div",157)(13,"p",158),f(14),m(15,"translate"),n()(),v(16,"div",160),n()(),o(17,"h4",226),f(18),m(19,"translate"),n(),R(20,P16,5,1,"div",227)(21,B16,12,6),o(22,"h4",226),f(23),m(24,"translate"),n(),R(25,O16,9,3,"div",228)(26,U16,16,9)(27,j16,6,3,"div",183)(28,q16,16,11),o(29,"div",184)(30,"button",148),C("click",function(){return y(e),b(h().toggleRelationship())}),f(31),m(32,"translate"),w(),o(33,"svg",101),v(34,"path",102),n()()()}if(2&c){const e=h();s(2),H(_(3,9,"UPDATE_PROD_SPEC._attachments")),s(8),H(_(11,11,"UPDATE_PROD_SPEC._file_res")),s(4),V("",_(15,13,"UPDATE_PROD_SPEC._restrictions")," "),s(4),H(_(19,15,"UPDATE_PROD_SPEC._add_prod_img")),s(2),S(20,e.showImgPreview?20:21),s(3),H(_(24,17,"UPDATE_PROD_SPEC._add_att")),s(2),S(25,0==e.prodAttachments.length?25:26),s(2),S(27,0==e.showNewAtt?27:28),s(4),V(" ",_(32,19,"UPDATE_PROD_SPEC._next")," ")}}function Z16(c,r){1&c&&(o(0,"div",253)(1,"div",179),w(),o(2,"svg",180),v(3,"path",181),n(),O(),o(4,"span",74),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"UPDATE_PROD_SPEC._no_relatioships")," "))}function K16(c,r){if(1&c&&(o(0,"span",135),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function Q16(c,r){if(1&c&&(o(0,"span",139),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function J16(c,r){if(1&c&&(o(0,"span",140),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function X16(c,r){if(1&c&&(o(0,"span",141),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function e26(c,r){if(1&c){const e=j();o(0,"tr",132)(1,"td",137),f(2),n(),o(3,"td",133),f(4),n(),o(5,"td",134),R(6,K16,2,1,"span",135)(7,Q16,2,1)(8,J16,2,1)(9,X16,2,1),n(),o(10,"td",136),f(11),m(12,"date"),n(),o(13,"td",137)(14,"button",187),C("click",function(){const t=y(e).$implicit;return b(h(3).deleteRel(t))}),w(),o(15,"svg",188),v(16,"path",176),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.relationshipType," "),s(2),V(" ",e.productSpec.name," "),s(2),S(6,"Active"==e.productSpec.lifecycleStatus?6:"Launched"==e.productSpec.lifecycleStatus?7:"Retired"==e.productSpec.lifecycleStatus?8:"Obsolete"==e.productSpec.lifecycleStatus?9:-1),s(5),V(" ",L2(12,4,e.productSpec.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," ")}}function c26(c,r){if(1&c&&(o(0,"div",126)(1,"table",127)(2,"thead",128)(3,"tr")(4,"th",129),f(5),m(6,"translate"),n(),o(7,"th",129),f(8),m(9,"translate"),n(),o(10,"th",130),f(11),m(12,"translate"),n(),o(13,"th",131),f(14),m(15,"translate"),n(),o(16,"th",129),f(17," Actions "),n()()(),o(18,"tbody"),c1(19,e26,17,7,"tr",132,z1),n()()()),2&c){const e=h(2);s(5),V(" ",_(6,4,"UPDATE_PROD_SPEC._relationship_type")," "),s(3),V(" ",_(9,6,"UPDATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(12,8,"UPDATE_PROD_SPEC._type")," "),s(3),V(" ",_(15,10,"UPDATE_PROD_SPEC._last_update")," "),s(5),a1(e.prodRelationships)}}function a26(c,r){if(1&c){const e=j();o(0,"div",183)(1,"button",189),C("click",function(){y(e);const t=h(2);return b(t.showCreateRel=!t.showCreateRel)}),f(2),m(3,"translate"),w(),o(4,"svg",190),v(5,"path",145),n()()()}2&c&&(s(2),V(" ",_(3,1,"UPDATE_PROD_SPEC._add_relationship")," "))}function r26(c,r){1&c&&(o(0,"div",122),w(),o(1,"svg",123),v(2,"path",124)(3,"path",125),n(),O(),o(4,"span",74),f(5,"Loading..."),n()())}function t26(c,r){1&c&&(o(0,"div",182)(1,"div",179),w(),o(2,"svg",180),v(3,"path",181),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_prod_rel")," "))}function i26(c,r){1&c&&(o(0,"span",135),f(1,"Simple"),n())}function o26(c,r){1&c&&(o(0,"span",139),f(1,"Bundle"),n())}function n26(c,r){if(1&c){const e=j();o(0,"tr",261),C("click",function(){const t=y(e).$implicit;return b(h(5).selectRelationship(t))}),o(1,"td",133),f(2),n(),o(3,"td",134),R(4,i26,2,0,"span",135)(5,o26,2,0),n(),o(6,"td",136),f(7),m(8,"date"),n()()}if(2&c){const e=r.$implicit,a=h(5);k("ngClass",e.id==a.selectedProdSpec.id?"bg-gray-300 dark:bg-secondary-200":"bg-white dark:bg-secondary-300"),s(2),V(" ",e.name," "),s(2),S(4,0==e.isBundle?4:5),s(3),V(" ",L2(8,4,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," ")}}function s26(c,r){if(1&c&&(o(0,"div",259)(1,"table",127)(2,"thead",128)(3,"tr")(4,"th",129),f(5),m(6,"translate"),n(),o(7,"th",130),f(8),m(9,"translate"),n(),o(10,"th",131),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,n26,9,7,"tr",260,z1),n()()()),2&c){const e=h(4);s(5),V(" ",_(6,3,"UPDATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(9,5,"UPDATE_PROD_SPEC._type")," "),s(3),V(" ",_(12,7,"UPDATE_PROD_SPEC._last_update")," "),s(3),a1(e.prodSpecRels)}}function l26(c,r){if(1&c){const e=j();o(0,"div",142)(1,"button",143),C("click",function(){return y(e),b(h(5).nextProdSpecsRel())}),f(2),m(3,"translate"),w(),o(4,"svg",144),v(5,"path",145),n()()()}2&c&&(s(2),V(" ",_(3,1,"UPDATE_PROD_SPEC._load_more")," "))}function f26(c,r){1&c&&R(0,l26,6,3,"div",142),2&c&&S(0,h(4).prodSpecRelPageCheck?0:-1)}function d26(c,r){1&c&&(o(0,"div",146),w(),o(1,"svg",123),v(2,"path",124)(3,"path",125),n(),O(),o(4,"span",74),f(5,"Loading..."),n()())}function u26(c,r){if(1&c&&R(0,t26,7,3,"div",182)(1,s26,16,9)(2,f26,1,1)(3,d26,6,0),2&c){const e=h(3);S(0,0==e.prodSpecRels.length?0:1),s(2),S(2,e.loadingprodSpecRel_more?3:2)}}function h26(c,r){if(1&c){const e=j();o(0,"label",193),f(1),m(2,"translate"),n(),o(3,"select",254),C("change",function(t){return y(e),b(h(2).onRelChange(t))}),o(4,"option",255),f(5,"Migration"),n(),o(6,"option",256),f(7,"Dependency"),n(),o(8,"option",257),f(9,"Exclusivity"),n(),o(10,"option",258),f(11,"Substitution"),n()(),R(12,r26,6,0,"div",122)(13,u26,4,2),o(14,"div",204)(15,"button",205),C("click",function(){return y(e),b(h(2).saveRel())}),f(16),m(17,"translate"),w(),o(18,"svg",190),v(19,"path",206),n()()()}if(2&c){const e=h(2);s(),H(_(2,5,"UPDATE_PROD_SPEC._relationship_type")),s(11),S(12,e.loadingprodSpecRel?12:13),s(3),k("disabled",0==e.prodSpecRels.length)("ngClass",0==e.prodSpecRels.length?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(17,7,"UPDATE_PROD_SPEC._save_relationship")," ")}}function m26(c,r){if(1&c){const e=j();o(0,"h2",49),f(1),m(2,"translate"),n(),o(3,"div",201),R(4,Z16,9,3,"div",253)(5,c26,21,12)(6,a26,6,3,"div",183)(7,h26,20,9),n(),o(8,"div",120)(9,"button",148),C("click",function(){return y(e),b(h().showFinish())}),f(10),m(11,"translate"),w(),o(12,"svg",101),v(13,"path",102),n()()()}if(2&c){const e=h();s(),H(_(2,4,"UPDATE_PROD_SPEC._relationships")),s(3),S(4,0===e.prodRelationships.length?4:5),s(2),S(6,0==e.showCreateRel?6:7),s(4),V(" ",_(11,6,"UPDATE_PROD_SPEC._finish")," ")}}function _26(c,r){if(1&c&&(o(0,"label",193),f(1),m(2,"translate"),n(),o(3,"label",264),f(4),n()),2&c){const e=h(2);s(),H(_(2,2,"UPDATE_PROD_SPEC._id_number")),s(3),V(" ",null==e.productSpecToUpdate?null:e.productSpecToUpdate.productNumber," ")}}function p26(c,r){if(1&c&&(o(0,"span",135),f(1),n()),2&c){const e=h(2);s(),H(null==e.productSpecToUpdate?null:e.productSpecToUpdate.lifecycleStatus)}}function g26(c,r){if(1&c&&(o(0,"span",139),f(1),n()),2&c){const e=h(2);s(),H(null==e.productSpecToUpdate?null:e.productSpecToUpdate.lifecycleStatus)}}function v26(c,r){if(1&c&&(o(0,"span",140),f(1),n()),2&c){const e=h(2);s(),H(null==e.productSpecToUpdate?null:e.productSpecToUpdate.lifecycleStatus)}}function H26(c,r){if(1&c&&(o(0,"span",141),f(1),n()),2&c){const e=h(2);s(),H(null==e.productSpecToUpdate?null:e.productSpecToUpdate.lifecycleStatus)}}function C26(c,r){if(1&c&&(o(0,"label",193),f(1),m(2,"translate"),n(),o(3,"div",267),v(4,"markdown",268),n()),2&c){const e=h(2);s(),H(_(2,2,"UPDATE_PROD_SPEC._product_description")),s(3),k("data",null==e.productSpecToUpdate?null:e.productSpecToUpdate.description)}}function z26(c,r){if(1&c&&(o(0,"label",193),f(1),m(2,"translate"),n(),o(3,"div",227),v(4,"img",229),n()),2&c){const e=h(2);s(),H(_(2,2,"UPDATE_PROD_SPEC._profile_pic")),s(3),D1("src",e.imgPreview,h2)}}function V26(c,r){if(1&c&&(o(0,"span",135),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function M26(c,r){if(1&c&&(o(0,"span",139),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function L26(c,r){if(1&c&&(o(0,"span",140),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function y26(c,r){if(1&c&&(o(0,"span",141),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function b26(c,r){if(1&c&&(o(0,"tr",132)(1,"td",133),f(2),n(),o(3,"td",137),R(4,V26,2,1,"span",135)(5,M26,2,1)(6,L26,2,1)(7,y26,2,1),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1)}}function x26(c,r){if(1&c&&(o(0,"label",193),f(1),m(2,"translate"),n(),o(3,"div",269)(4,"table",127)(5,"thead",128)(6,"tr")(7,"th",129),f(8),m(9,"translate"),n(),o(10,"th",129),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,b26,8,2,"tr",132,z1),n()()()),2&c){const e=h(2);s(),H(_(2,3,"UPDATE_PROD_SPEC._bundle")),s(7),V(" ",_(9,5,"UPDATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(12,7,"UPDATE_PROD_SPEC._status")," "),s(3),a1(e.prodSpecsBundle)}}function w26(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function F26(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function k26(c,r){if(1&c&&R(0,w26,4,2)(1,F26,3,2),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function S26(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function N26(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function D26(c,r){if(1&c&&R(0,S26,4,3)(1,N26,3,3),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function T26(c,r){1&c&&R(0,k26,2,1)(1,D26,2,1),2&c&&S(0,r.$implicit.value?0:1)}function E26(c,r){if(1&c&&(o(0,"tr",132)(1,"td",185),f(2),n(),o(3,"td",186),f(4),n(),o(5,"td",133),c1(6,T26,2,1,null,null,z1),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),a1(e.productSpecCharacteristicValue)}}function A26(c,r){if(1&c&&(o(0,"label",193),f(1),m(2,"translate"),n(),o(3,"div",269)(4,"table",127)(5,"thead",128)(6,"tr")(7,"th",129),f(8),m(9,"translate"),n(),o(10,"th",131),f(11),m(12,"translate"),n(),o(13,"th",129),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,E26,8,2,"tr",132,z1),n()()()),2&c){const e=h(2);s(),H(_(2,4,"UPDATE_PROD_SPEC._chars")),s(7),V(" ",_(9,6,"UPDATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(12,8,"UPDATE_PROD_SPEC._product_description")," "),s(3),V(" ",_(15,10,"UPDATE_PROD_SPEC._values")," "),s(3),a1(null==e.productSpecToUpdate?null:e.productSpecToUpdate.productSpecCharacteristic)}}function P26(c,r){if(1&c&&(o(0,"tr",132)(1,"td",133),f(2),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," ")}}function R26(c,r){if(1&c&&(o(0,"label",193),f(1),m(2,"translate"),n(),o(3,"div",269)(4,"table",127)(5,"thead",128)(6,"tr")(7,"th",129),f(8),m(9,"translate"),n()()(),o(10,"tbody"),c1(11,P26,3,1,"tr",132,z1),n()()()),2&c){const e=h(2);s(),H(_(2,2,"UPDATE_PROD_SPEC._resource")),s(7),V(" ",_(9,4,"UPDATE_PROD_SPEC._product_name")," "),s(3),a1(e.selectedResourceSpecs)}}function B26(c,r){if(1&c&&(o(0,"tr",132)(1,"td",133),f(2),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," ")}}function O26(c,r){if(1&c&&(o(0,"label",193),f(1),m(2,"translate"),n(),o(3,"div",269)(4,"table",127)(5,"thead",128)(6,"tr")(7,"th",129),f(8),m(9,"translate"),n()()(),o(10,"tbody"),c1(11,B26,3,1,"tr",132,z1),n()()()),2&c){const e=h(2);s(),H(_(2,2,"UPDATE_PROD_SPEC._service")),s(7),V(" ",_(9,4,"UPDATE_PROD_SPEC._product_name")," "),s(3),a1(e.selectedServiceSpecs)}}function I26(c,r){if(1&c&&(o(0,"tr",132)(1,"td",185),f(2),n(),o(3,"td",133),f(4),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.url," ")}}function U26(c,r){if(1&c&&(o(0,"label",193),f(1),m(2,"translate"),n(),o(3,"div",269)(4,"table",127)(5,"thead",128)(6,"tr")(7,"th",129),f(8),m(9,"translate"),n(),o(10,"th",129),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,I26,5,2,"tr",132,z1),n()()()),2&c){const e=h(2);s(),H(_(2,3,"UPDATE_PROD_SPEC._attachments")),s(7),V(" ",_(9,5,"UPDATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(12,7,"UPDATE_PROD_SPEC._value")," "),s(3),a1(null==e.productSpecToUpdate?null:e.productSpecToUpdate.attachment)}}function j26(c,r){if(1&c&&(o(0,"span",135),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function $26(c,r){if(1&c&&(o(0,"span",139),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function Y26(c,r){if(1&c&&(o(0,"span",140),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function G26(c,r){if(1&c&&(o(0,"span",141),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function q26(c,r){if(1&c&&(o(0,"tr",132)(1,"td",137),f(2),n(),o(3,"td",133),f(4),n(),o(5,"td",134),R(6,j26,2,1,"span",135)(7,$26,2,1)(8,Y26,2,1)(9,G26,2,1),n(),o(10,"td",136),f(11),m(12,"date"),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.relationshipType," "),s(2),V(" ",e.productSpec.name," "),s(2),S(6,"Active"==e.productSpec.lifecycleStatus?6:"Launched"==e.productSpec.lifecycleStatus?7:"Retired"==e.productSpec.lifecycleStatus?8:"Obsolete"==e.productSpec.lifecycleStatus?9:-1),s(5),V(" ",L2(12,4,e.productSpec.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," ")}}function W26(c,r){if(1&c&&(o(0,"label",193),f(1),m(2,"translate"),n(),o(3,"div",269)(4,"table",127)(5,"thead",128)(6,"tr")(7,"th",129),f(8),m(9,"translate"),n(),o(10,"th",129),f(11),m(12,"translate"),n(),o(13,"th",130),f(14),m(15,"translate"),n(),o(16,"th",131),f(17),m(18,"translate"),n()()(),o(19,"tbody"),c1(20,q26,13,7,"tr",132,z1),n()()()),2&c){const e=h(2);s(),H(_(2,5,"UPDATE_PROD_SPEC._relationships")),s(7),V(" ",_(9,7,"UPDATE_PROD_SPEC._relationship_type")," "),s(3),V(" ",_(12,9,"UPDATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(15,11,"UPDATE_PROD_SPEC._type")," "),s(3),V(" ",_(18,13,"UPDATE_PROD_SPEC._last_update")," "),s(3),a1(e.prodRelationships)}}function Z26(c,r){if(1&c){const e=j();o(0,"h2",49),f(1),m(2,"translate"),n(),o(3,"div",262)(4,"div",263)(5,"div")(6,"label",193),f(7),m(8,"translate"),n(),o(9,"label",264),f(10),n(),o(11,"label",53),f(12),m(13,"translate"),n(),o(14,"label",264),f(15),n()(),o(16,"div")(17,"label",193),f(18),m(19,"translate"),n(),o(20,"label",264),f(21),n(),R(22,_26,5,4),n()(),o(23,"div",265)(24,"label",266),f(25),m(26,"translate"),n(),R(27,p26,2,1,"span",135)(28,g26,2,1)(29,v26,2,1)(30,H26,2,1),n(),R(31,C26,5,4)(32,z26,5,4)(33,x26,16,9)(34,A26,19,12)(35,R26,13,6)(36,O26,13,6)(37,U26,16,9)(38,W26,22,15),o(39,"div",120)(40,"button",121),C("click",function(){return y(e),b(h().updateProduct())}),f(41),m(42,"translate"),w(),o(43,"svg",101),v(44,"path",102),n()()()()}if(2&c){const e=h();s(),H(_(2,21,"UPDATE_PROD_SPEC._finish")),s(6),H(_(8,23,"UPDATE_PROD_SPEC._product_name")),s(3),V(" ",null==e.productSpecToUpdate?null:e.productSpecToUpdate.name," "),s(2),H(_(13,25,"UPDATE_PROD_SPEC._product_version")),s(3),V(" ",null==e.productSpecToUpdate?null:e.productSpecToUpdate.version," "),s(3),H(_(19,27,"UPDATE_PROD_SPEC._product_brand")),s(3),V(" ",null==e.productSpecToUpdate?null:e.productSpecToUpdate.brand," "),s(),S(22,""!=(null==e.productSpecToUpdate?null:e.productSpecToUpdate.productNumber)?22:-1),s(3),H(_(26,29,"UPDATE_PROD_SPEC._status")),s(2),S(27,"Active"==(null==e.productSpecToUpdate?null:e.productSpecToUpdate.lifecycleStatus)?27:"Launched"==(null==e.productSpecToUpdate?null:e.productSpecToUpdate.lifecycleStatus)?28:"Retired"==(null==e.productSpecToUpdate?null:e.productSpecToUpdate.lifecycleStatus)?29:"Obsolete"==(null==e.productSpecToUpdate?null:e.productSpecToUpdate.lifecycleStatus)?30:-1),s(4),S(31,""!=(null==e.productSpecToUpdate?null:e.productSpecToUpdate.description)?31:-1),s(),S(32,""!=e.imgPreview?32:-1),s(),S(33,e.prodSpecsBundle.length>0?33:-1),s(),S(34,e.prodChars.length>0?34:-1),s(),S(35,e.selectedResourceSpecs.length>0?35:-1),s(),S(36,e.selectedServiceSpecs.length>0?36:-1),s(),S(37,e.prodAttachments.length>0?37:-1),s(),S(38,e.prodRelationships.length>0?38:-1),s(2),k("disabled",e.isProdValid())("ngClass",e.isProdValid()?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(42,31,"UPDATE_PROD_SPEC._update_prod")," ")}}function K26(c,r){if(1&c){const e=j();w(),o(0,"svg",239),v(1,"path",240),n(),O(),o(2,"p",280),f(3,"Drop files to attatch or "),o(4,"button",243),C("click",function(){return b((0,y(e).openFileSelector)())}),f(5,"select a file."),n()()}}function Q26(c,r){if(1&c){const e=j();o(0,"div",47)(1,"div",270),C("click",function(t){return y(e),b(t.stopPropagation())}),o(2,"div",271)(3,"button",272),C("click",function(t){return y(e),h().showUploadFile=!1,b(t.stopPropagation())}),w(),o(4,"svg",273),v(5,"path",274),n(),O(),o(6,"span",74),f(7,"Close modal"),n()(),o(8,"ngx-file-drop",275),C("onFileDrop",function(t){y(e);const i=h();return b(i.dropped(t,i.selectedISO))})("onFileOver",function(t){return y(e),b(h().fileOver(t))})("onFileLeave",function(t){return y(e),b(h().fileLeave(t))}),R(9,K26,6,0,"ng-template",276),n(),o(10,"div",277)(11,"button",278),C("click",function(t){return y(e),h().showUploadFile=!1,b(t.stopPropagation())}),f(12," Cancel "),n(),o(13,"button",279),C("click",function(){return y(e),b(h().uploadFile())}),f(14," Upload "),n()()()()()}2&c&&k("ngClass",h().showUploadFile?"backdrop-blur-sm":"")}function J26(c,r){1&c&&v(0,"error-message",48),2&c&&k("message",h().errorMessage)}let X26=(()=>{class c{constructor(e,a,t,i,l,d,u,p,z,x,E,P){this.router=e,this.api=a,this.prodSpecService=t,this.cdr=i,this.localStorage=l,this.eventMessage=d,this.elementRef=u,this.attachmentService=p,this.servSpecService=z,this.resSpecService=x,this.qrVerifier=E,this.paginationService=P,this.PROD_SPEC_LIMIT=m1.PROD_SPEC_LIMIT,this.SERV_SPEC_LIMIT=m1.SERV_SPEC_LIMIT,this.RES_SPEC_LIMIT=m1.RES_SPEC_LIMIT,this.DOME_TRUST_LINK=m1.DOME_TRUST_LINK,this.showGeneral=!0,this.showBundle=!1,this.showCompliance=!1,this.showChars=!1,this.showResource=!1,this.showService=!1,this.showAttach=!1,this.showRelationships=!1,this.showSummary=!1,this.stepsElements=["general-info","bundle","compliance","chars","resource","service","attach","relationships","summary"],this.stepsCircles=["general-circle","bundle-circle","compliance-circle","chars-circle","resource-circle","service-circle","attach-circle","relationships-circle","summary-circle"],this.showPreview=!1,this.showEmoji=!1,this.description="",this.partyId="",this.generalForm=new S2({name:new u1("",[O1.required]),brand:new u1("",[O1.required]),version:new u1("0.1",[O1.required,O1.pattern("^-?[0-9]\\d*(\\.\\d*)?$")]),number:new u1(""),description:new u1("")}),this.charsForm=new S2({name:new u1("",[O1.required]),description:new u1("")}),this.stringCharSelected=!0,this.numberCharSelected=!1,this.rangeCharSelected=!1,this.prodChars=[],this.finishChars=[],this.creatingChars=[],this.showCreateChar=!1,this.bundleChecked=!1,this.bundlePage=0,this.bundlePageCheck=!1,this.loadingBundle=!1,this.loadingBundle_more=!1,this.prodSpecs=[],this.nextProdSpecs=[],this.prodSpecsBundle=[],this.buttonISOClicked=!1,this.availableISOS=[],this.selectedISOS=[],this.verifiedISO=[],this.complianceVC=null,this.showUploadFile=!1,this.serviceSpecPage=0,this.serviceSpecPageCheck=!1,this.loadingServiceSpec=!1,this.loadingServiceSpec_more=!1,this.serviceSpecs=[],this.nextServiceSpecs=[],this.selectedServiceSpecs=[],this.resourceSpecPage=0,this.resourceSpecPageCheck=!1,this.loadingResourceSpec=!1,this.loadingResourceSpec_more=!1,this.resourceSpecs=[],this.nextResourceSpecs=[],this.selectedResourceSpecs=[],this.showCreateRel=!1,this.prodSpecRelPage=0,this.prodSpecRelPageCheck=!1,this.loadingprodSpecRel=!1,this.loadingprodSpecRel_more=!1,this.prodSpecRels=[],this.nextProdSpecRels=[],this.selectedProdSpec={id:""},this.selectedRelType="migration",this.prodRelationships=[],this.showImgPreview=!1,this.showNewAtt=!1,this.imgPreview="",this.prodAttachments=[],this.attachToCreate={url:"",attachmentType:""},this.attFileName=new u1("",[O1.required,O1.pattern("[a-zA-Z0-9 _.-]*")]),this.attImageName=new u1("",[O1.required,O1.pattern("^https?:\\/\\/.*\\.(?:png|jpg|jpeg|gif|bmp|webp)$")]),this.errorMessage="",this.showError=!1,this.files=[];for(let Y=0;Y{"ChangedSession"===Y.type&&this.initPartyInfo()})}onClick(){1==this.showEmoji&&(this.showEmoji=!1,this.cdr.detectChanges()),1==this.showUploadFile&&(this.showUploadFile=!1,this.cdr.detectChanges())}ngOnInit(){this.initPartyInfo(),console.log(this.prod),this.populateProductInfo(),S1()}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0)if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}}populateProductInfo(){if(this.generalForm.controls.name.setValue(this.prod.name),this.generalForm.controls.description.setValue(this.prod.description),this.generalForm.controls.brand.setValue(this.prod.brand?this.prod.brand:""),this.generalForm.controls.version.setValue(this.prod.version?this.prod.version:""),this.generalForm.controls.number.setValue(this.prod.productNumber?this.prod.productNumber:""),this.prodStatus=this.prod.lifecycleStatus,1==this.prod.isBundle&&(this.toggleBundleCheck(),this.prodSpecsBundle=this.prod.bundledProductSpecification,console.log("is bundle")),this.prod.productSpecCharacteristic){console.log(Y6),console.log("--"),console.log(this.prod.productSpecCharacteristic);for(let e=0;ed.standard))}}catch(t){console.log(t)}continue}const a=this.availableISOS.findIndex(t=>t.name===this.prod.productSpecCharacteristic[e].name);-1!==a&&(console.log("adding sel iso"),this.selectedISOS.push({name:this.prod.productSpecCharacteristic[e].name,url:this.prod.productSpecCharacteristic[e].productSpecCharacteristicValue[0].value,mandatory:this.availableISOS[a].mandatory,domesupported:this.availableISOS[a].domesupported}),this.availableISOS.splice(a,1))}console.log("selected isos"),console.log(this.selectedISOS),console.log("available"),console.log(this.availableISOS),console.log("API PROD ISOS"),console.log(this.prod.productSpecCharacteristic)}if(this.prod.productSpecCharacteristic)for(let e=0;et.name===this.prod.productSpecCharacteristic[e].name)&&this.prodChars.push({id:"urn:ngsi-ld:characteristic:"+R4(),name:this.prod.productSpecCharacteristic[e].name,description:this.prod.productSpecCharacteristic[e].description?this.prod.productSpecCharacteristic[e].description:"",productSpecCharacteristicValue:this.prod.productSpecCharacteristic[e].productSpecCharacteristicValue});if(this.prod.resourceSpecification&&(this.selectedResourceSpecs=this.prod.resourceSpecification),this.prod.serviceSpecification&&(this.selectedServiceSpecs=this.prod.serviceSpecification),this.prod.attachment){this.prodAttachments=this.prod.attachment;const e=this.prodAttachments.findIndex(a=>"Profile Picture"===a.name);-1!==e&&(this.imgPreview=this.prodAttachments[e].url,this.showImgPreview=!0)}if(this.prod.productSpecificationRelationship)for(let e=0;e{this.prodRelationships.push({id:this.prod.productSpecificationRelationship[e].id,href:this.prod.productSpecificationRelationship[e].id,relationshipType:this.selectedRelType,productSpec:a})})}setProdStatus(e){this.prodStatus=e,this.cdr.detectChanges()}goBack(){this.eventMessage.emitSellerProductSpec(!0)}togglePreview(){this.generalForm.value.description&&(this.description=this.generalForm.value.description)}toggleGeneral(){this.selectStep("general-info","general-circle"),this.showBundle=!1,this.showGeneral=!0,this.showCompliance=!1,this.showChars=!1,this.showResource=!1,this.showService=!1,this.showAttach=!1,this.showRelationships=!1,this.showSummary=!1,this.showPreview=!1,S1()}toggleBundle(){this.selectStep("bundle","bundle-circle"),this.showBundle=!0,this.showGeneral=!1,this.showCompliance=!1,this.showChars=!1,this.showResource=!1,this.showService=!1,this.showAttach=!1,this.showRelationships=!1,this.showSummary=!1,this.showPreview=!1,S1()}toggleBundleCheck(){this.prodSpecs=[],this.bundlePage=0,this.bundleChecked=!this.bundleChecked,1==this.bundleChecked?(this.loadingBundle=!0,this.getProdSpecs(!1)):this.prodSpecsBundle=[]}getProdSpecs(e){var a=this;return M(function*(){0==e&&(a.loadingBundle=!0),a.paginationService.getItemsPaginated(a.bundlePage,a.PROD_SPEC_LIMIT,e,a.prodSpecs,a.nextProdSpecs,{filters:["Active","Launched"],partyId:a.partyId},a.prodSpecService.getProdSpecByUser.bind(a.prodSpecService)).then(i=>{a.bundlePageCheck=i.page_check,a.prodSpecs=i.items,a.nextProdSpecs=i.nextItems,a.bundlePage=i.page,a.loadingBundle=!1,a.loadingBundle_more=!1})})()}nextBundle(){var e=this;return M(function*(){yield e.getProdSpecs(!0)})()}addProdToBundle(e){const a=this.prodSpecsBundle.findIndex(t=>t.id===e.id);-1!==a?(console.log("eliminar"),this.prodSpecsBundle.splice(a,1)):(console.log("a\xf1adir"),this.prodSpecsBundle.push({id:e.id,href:e.href,lifecycleStatus:e.lifecycleStatus,name:e.name})),this.cdr.detectChanges(),console.log(this.prodSpecsBundle)}isProdInBundle(e){return-1!==this.prodSpecsBundle.findIndex(t=>t.id===e.id)}toggleCompliance(){this.selectStep("compliance","compliance-circle"),this.showBundle=!1,this.showGeneral=!1,this.showCompliance=!0,this.showChars=!1,this.showResource=!1,this.showService=!1,this.showAttach=!1,this.showRelationships=!1,this.showSummary=!1,this.showPreview=!1,setTimeout(()=>{S1()},100)}addISO(e){const a=this.availableISOS.findIndex(t=>t.name===e.name);-1!==a&&(console.log("seleccionar"),this.availableISOS.splice(a,1),this.selectedISOS.push({name:e.name,url:"",mandatory:e.mandatory,domesupported:e.domesupported})),this.buttonISOClicked=!this.buttonISOClicked,this.cdr.detectChanges(),console.log(this.availableISOS),console.log(this.selectedISOS)}removeISO(e){const a=this.selectedISOS.findIndex(t=>t.name===e.name);-1!==a&&(console.log("seleccionar"),this.selectedISOS.splice(a,1),this.availableISOS.push({name:e.name,mandatory:e.mandatory,domesupported:e.domesupported})),this.cdr.detectChanges(),console.log(this.prodSpecsBundle)}checkValidISOS(){return!!this.selectedISOS.find(a=>""===a.url)}addISOValue(e){this.selectedISOS.findIndex(i=>i.name===e.name),document.getElementById("iso-"+e.name),console.log(e.url),console.log(this.selectedISOS)}verifyCredential(){console.log("verifing credential");const e=`cert:${R4()}`,a=this.qrVerifier.launchPopup(`${m1.SIOP_INFO.verifierHost}${m1.SIOP_INFO.verifierQRCodePath}?state=${e}&client_callback=${m1.SIOP_INFO.callbackURL}&client_id=${m1.SIOP_INFO.clientID}`,"Scan QR code",500,500);this.qrVerifier.pollCertCredential(a,e).then(t=>{const i=t.subject;i.compliance&&(i.compliance.forEach(l=>{this.verifiedISO.push(l.standard)}),this.complianceVC=t.vc),console.log(`We got the vc: ${t.vc}`)})}isVerified(e){return this.verifiedISO.indexOf(e.name)>-1}dropped(e,a){this.files=e;for(const t of e)t.fileEntry.isFile?t.fileEntry.file(l=>{if(console.log("dropped"),l){const d=new FileReader;d.onload=u=>{const p=u.target.result.split(",")[1];console.log("BASE 64...."),console.log(p);let z="";null!=this.generalForm.value.name&&(z=this.generalForm.value.name.replaceAll(/\s/g,"")+"_");let x={content:{name:z+l.name,data:p},contentType:l.type,isPublic:!0};if(this.showCompliance){const E=this.selectedISOS.findIndex(P=>P.name===a.name);this.attachmentService.uploadFile(x).subscribe({next:P=>{console.log(P),this.selectedISOS[E].url=P.content,this.showUploadFile=!1,this.cdr.detectChanges(),console.log("uploaded")},error:P=>{console.error("There was an error while uploading file!",P),P.error.error?(console.log(P),this.errorMessage="Error: "+P.error.error):this.errorMessage="There was an error while uploading the file!",413===P.status&&(this.errorMessage="File size too large! Must be under 3MB."),this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}this.showAttach&&(console.log(l),this.attachmentService.uploadFile(x).subscribe({next:E=>{console.log(E),"img"==a?l.type.startsWith("image")?(this.showImgPreview=!0,this.imgPreview=E.content,this.prodAttachments.push({name:"Profile Picture",url:this.imgPreview,attachmentType:l.type})):(this.errorMessage="File must have a valid image format!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)):this.attachToCreate={url:E.content,attachmentType:l.type},this.cdr.detectChanges(),console.log("uploaded")},error:E=>{console.error("There was an error while uploading file!",E),E.error.error?(console.log(E),this.errorMessage="Error: "+E.error.error):this.errorMessage="There was an error while uploading the file!",413===E.status&&(this.errorMessage="File size too large! Must be under 3MB."),this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}}))},d.readAsDataURL(l)}}):console.log(t.relativePath,t.fileEntry)}fileOver(e){console.log(e)}fileLeave(e){console.log("leave"),console.log(e)}toggleUploadFile(e){this.showUploadFile=!0,this.selectedISO=e}uploadFile(){console.log("uploading...")}toggleChars(){this.selectStep("chars","chars-circle"),this.showBundle=!1,this.showGeneral=!1,this.showCompliance=!1,this.showChars=!0,this.showResource=!1,this.showService=!1,this.showAttach=!1,this.showRelationships=!1,this.showSummary=!1,this.showCreateChar=!1,this.stringCharSelected=!0,this.numberCharSelected=!1,this.rangeCharSelected=!1,this.showPreview=!1,S1()}toggleResource(){this.loadingResourceSpec=!0,this.resourceSpecs=[],this.resourceSpecPage=0,this.getResSpecs(!1),this.selectStep("resource","resource-circle"),this.showBundle=!1,this.showGeneral=!1,this.showCompliance=!1,this.showChars=!1,this.showResource=!0,this.showService=!1,this.showAttach=!1,this.showRelationships=!1,this.showSummary=!1,this.showPreview=!1,S1()}getResSpecs(e){var a=this;return M(function*(){0==e&&(a.loadingResourceSpec=!0),a.paginationService.getItemsPaginated(a.resourceSpecPage,a.RES_SPEC_LIMIT,e,a.resourceSpecs,a.nextResourceSpecs,{filters:["Active","Launched"],partyId:a.partyId},a.resSpecService.getResourceSpecByUser.bind(a.resSpecService)).then(i=>{a.resourceSpecPageCheck=i.page_check,a.resourceSpecs=i.items,a.nextResourceSpecs=i.nextItems,a.resourceSpecPage=i.page,a.loadingResourceSpec=!1,a.loadingResourceSpec_more=!1})})()}nextRes(){var e=this;return M(function*(){yield e.getResSpecs(!0)})()}addResToSelected(e){const a=this.selectedResourceSpecs.findIndex(t=>t.id===e.id);-1!==a?(console.log("eliminar"),this.selectedResourceSpecs.splice(a,1)):(console.log("a\xf1adir"),this.selectedResourceSpecs.push({id:e.id,href:e.href,name:e.name})),this.cdr.detectChanges(),console.log(this.selectedResourceSpecs)}isResSelected(e){return-1!==this.selectedResourceSpecs.findIndex(t=>t.id===e.id)}toggleService(){this.loadingServiceSpec=!0,this.serviceSpecs=[],this.serviceSpecPage=0,this.getServSpecs(!1),this.selectStep("service","service-circle"),this.showBundle=!1,this.showGeneral=!1,this.showCompliance=!1,this.showChars=!1,this.showResource=!1,this.showService=!0,this.showAttach=!1,this.showRelationships=!1,this.showSummary=!1,this.showPreview=!1,S1()}getServSpecs(e){var a=this;return M(function*(){0==e&&(a.loadingServiceSpec=!0),a.paginationService.getItemsPaginated(a.serviceSpecPage,a.SERV_SPEC_LIMIT,e,a.serviceSpecs,a.nextServiceSpecs,{filters:["Active","Launched"],partyId:a.partyId},a.servSpecService.getServiceSpecByUser.bind(a.servSpecService)).then(i=>{a.serviceSpecPageCheck=i.page_check,a.serviceSpecs=i.items,a.nextServiceSpecs=i.nextItems,a.serviceSpecPage=i.page,a.loadingServiceSpec=!1,a.loadingServiceSpec_more=!1})})()}nextServ(){var e=this;return M(function*(){e.loadingServiceSpec_more=!0,e.serviceSpecPage=e.serviceSpecPage+e.SERV_SPEC_LIMIT,console.log(e.serviceSpecPage),yield e.getServSpecs(!0)})()}addServToSelected(e){const a=this.selectedServiceSpecs.findIndex(t=>t.id===e.id);-1!==a?(console.log("eliminar"),this.selectedServiceSpecs.splice(a,1)):(console.log("a\xf1adir"),this.selectedServiceSpecs.push({id:e.id,href:e.href,name:e.name})),this.cdr.detectChanges(),console.log(this.selectedServiceSpecs)}isServSelected(e){return-1!==this.selectedServiceSpecs.findIndex(t=>t.id===e.id)}toggleAttach(){this.selectStep("attach","attach-circle"),this.showBundle=!1,this.showGeneral=!1,this.showCompliance=!1,this.showChars=!1,this.showResource=!1,this.showService=!1,this.showAttach=!0,this.showRelationships=!1,this.showSummary=!1,this.showPreview=!1,setTimeout(()=>{S1()},100)}removeImg(){this.showImgPreview=!1;const e=this.prodAttachments.findIndex(a=>a.url===this.imgPreview);-1!==e&&(console.log("eliminar"),this.prodAttachments.splice(e,1)),this.imgPreview="",this.cdr.detectChanges()}saveImgFromURL(){this.showImgPreview=!0,this.imgPreview=this.imgURL.nativeElement.value,this.prodAttachments.push({name:"Profile Picture",url:this.imgPreview,attachmentType:"Picture"}),this.attImageName.reset(),this.cdr.detectChanges()}removeAtt(e){const a=this.prodAttachments.findIndex(t=>t.url===e.url);-1!==a&&(console.log("eliminar"),"Profile Picture"==this.prodAttachments[a].name&&(this.showImgPreview=!1,this.imgPreview="",this.cdr.detectChanges()),this.prodAttachments.splice(a,1)),this.cdr.detectChanges()}saveAtt(){console.log("saving"),this.prodAttachments.push({name:this.attachName.nativeElement.value,url:this.attachToCreate.url,attachmentType:this.attachToCreate.attachmentType}),this.attachName.nativeElement.value="",this.attachToCreate={url:"",attachmentType:""},this.showNewAtt=!1,this.attFileName.reset()}clearAtt(){this.attachToCreate={url:"",attachmentType:""}}toggleRelationship(){this.prodSpecRels=[],this.prodSpecRelPage=0,this.showCreateRel=!1,this.loadingprodSpecRel=!0,this.getProdSpecsRel(!1),this.selectStep("relationships","relationships-circle"),this.showBundle=!1,this.showGeneral=!1,this.showCompliance=!1,this.showChars=!1,this.showResource=!1,this.showService=!1,this.showAttach=!1,this.showRelationships=!0,this.showSummary=!1,this.showPreview=!1,S1()}getProdSpecsRel(e){var a=this;return M(function*(){0==e&&(a.loadingprodSpecRel=!0),a.paginationService.getItemsPaginated(a.prodSpecRelPage,a.PROD_SPEC_LIMIT,e,a.prodSpecRels,a.nextProdSpecRels,{filters:["Active","Launched"],partyId:a.partyId},a.prodSpecService.getProdSpecByUser.bind(a.prodSpecService)).then(i=>{a.prodSpecRelPageCheck=i.page_check,a.prodSpecRels=i.items,a.nextProdSpecRels=i.nextItems,a.prodSpecRelPage=i.page,a.loadingprodSpecRel=!1,a.loadingprodSpecRel_more=!1})})()}selectRelationship(e){this.selectedProdSpec=e}nextProdSpecsRel(){var e=this;return M(function*(){yield e.getProdSpecsRel(!0)})()}onRelChange(e){console.log("relation type changed"),this.selectedRelType=e.target.value,this.cdr.detectChanges()}saveRel(){this.showCreateRel=!1,this.prodRelationships.push({id:this.selectedProdSpec.id,href:this.selectedProdSpec.href,relationshipType:this.selectedRelType,productSpec:this.selectedProdSpec}),this.selectedRelType="migration",console.log(this.prodRelationships)}deleteRel(e){const a=this.prodRelationships.findIndex(t=>t.id===e.id);-1!==a&&(console.log("eliminar"),this.prodRelationships.splice(a,1)),this.cdr.detectChanges()}removeClass(e,a){e.className=(" "+e.className+" ").replace(" "+a+" "," ").replace(/^\s+|\s+$/g,"")}addClass(e,a){e.className+=" "+a}unselectMenu(e,a){null!=e&&(e.className.match(a)?this.removeClass(e,a):console.log("already unselected"))}selectMenu(e,a){null!=e&&(e.className.match(a)?console.log("already selected"):this.addClass(e,a))}selectStep(e,a){const t=this.stepsElements.findIndex(l=>l===e);if(-1!==t){this.stepsElements.splice(t,1),this.selectMenu(document.getElementById(e),"text-primary-100 dark:text-primary-50"),this.unselectMenu(document.getElementById(e),"text-gray-500");for(let l=0;ll===a);if(-1!==t){this.stepsCircles.splice(i,1),this.selectMenu(document.getElementById(a),"border-primary-100 dark:border-primary-50"),this.unselectMenu(document.getElementById(a),"border-gray-400");for(let l=0;lt.id===e.id);-1!==a&&(console.log("eliminar"),this.prodChars.splice(a,1)),this.cdr.detectChanges(),console.log(this.prodChars)}checkInput(e){return 0===e.trim().length}showFinish(){for(let e=0;et.name===this.prodChars[e].name)&&this.finishChars.push(this.prodChars[e]);for(let e=0;et.name===this.selectedISOS[e].name)&&this.finishChars.push({id:"urn:ngsi-ld:characteristic:"+R4(),name:this.selectedISOS[e].name,productSpecCharacteristicValue:[{isDefault:!0,value:this.selectedISOS[e].url}]});null!=this.complianceVC&&this.finishChars.push({id:`urn:ngsi-ld:characteristic:${R4()}`,name:"Compliance:VC",productSpecCharacteristicValue:[{isDefault:!0,value:this.complianceVC}]}),null!=this.generalForm.value.name&&null!=this.generalForm.value.version&&null!=this.generalForm.value.brand&&(this.productSpecToUpdate={name:this.generalForm.value.name,description:null!=this.generalForm.value.description?this.generalForm.value.description:"",version:this.generalForm.value.version,brand:this.generalForm.value.brand,productNumber:null!=this.generalForm.value.number?this.generalForm.value.number:"",lifecycleStatus:this.prodStatus,productSpecCharacteristic:this.finishChars,productSpecificationRelationship:this.prodRelationships,attachment:this.prodAttachments,resourceSpecification:this.selectedResourceSpecs,serviceSpecification:this.selectedServiceSpecs}),this.selectStep("summary","summary-circle"),this.showBundle=!1,this.showGeneral=!1,this.showCompliance=!1,this.showChars=!1,this.showResource=!1,this.showService=!1,this.showAttach=!1,this.showRelationships=!1,this.showSummary=!0,this.showPreview=!1,S1()}isProdValid(){return!this.generalForm.valid||!!this.bundleChecked&&this.prodSpecsBundle.length<2}updateProduct(){this.prodSpecService.updateProdSpec(this.productSpecToUpdate,this.prod.id).subscribe({next:e=>{this.goBack(),console.log("actualiado producto")},error:e=>{console.error("There was an error while updating!",e),e.error.error?(console.log(e),this.errorMessage="Error: "+e.error.error):this.errorMessage="There was an error while uploading the product!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}addBold(){this.generalForm.patchValue({description:this.generalForm.value.description+" **bold text** "})}addItalic(){this.generalForm.patchValue({description:this.generalForm.value.description+" _italicized text_ "})}addList(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n- First item\n- Second item"})}addOrderedList(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n1. First item\n2. Second item"})}addCode(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n`code`"})}addCodeBlock(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n```\ncode\n```"})}addBlockquote(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n> blockquote"})}addLink(){this.generalForm.patchValue({description:this.generalForm.value.description+" [title](https://www.example.com) "})}addTable(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"})}addEmoji(e){console.log(e),this.showEmoji=!1,this.generalForm.patchValue({description:this.generalForm.value.description+e.emoji.native})}static#e=this.\u0275fac=function(a){return new(a||c)(B(Q1),B(p1),B(z4),B(B1),B(A1),B(e2),B(C2),B(Q0),B(N4),B(h4),B(VG),B(L3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["update-product-spec"]],viewQuery:function(a,t){if(1&a&&(b1(XJ3,5),b1(eX3,5),b1(cX3,5),b1(aX3,5),b1(rX3,5),b1(tX3,5),b1(iX3,5),b1(oX3,5)),2&a){let i;M1(i=L1())&&(t.charStringValue=i.first),M1(i=L1())&&(t.charNumberValue=i.first),M1(i=L1())&&(t.charNumberUnit=i.first),M1(i=L1())&&(t.charFromValue=i.first),M1(i=L1())&&(t.charToValue=i.first),M1(i=L1())&&(t.charRangeUnit=i.first),M1(i=L1())&&(t.attachName=i.first),M1(i=L1())&&(t.imgURL=i.first)}},hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},inputs:{prod:"prod"},decls:137,vars:77,consts:[["stringValue",""],["numberValue",""],["numberUnit",""],["fromValue",""],["toValue",""],["rangeUnit",""],["imgURL",""],["attachName",""],[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-gray-200","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800","dark:text-white"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"bg-secondary-50","dark:bg-secondary-100","mt-4","p-8","rounded-lg"],[1,"text-3xl","font-bold","text-primary-100","ml-4",".","dark:text-white"],[1,"h-px","m-4","bg-gray-300","dark:bg-gray-200","border-0"],[1,"md:grid","md:grid-cols-25/75","xl:grid-cols-20/80"],[1,"flex","sm:flex-row","md:flex-col","md:mr-4","overflow-x-auto","max-w-[calc(100vw-5rem)]"],[1,"hidden","md:block","text-xl","font-bold","text-black","mb-4","dark:text-white"],["id","general-info",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-primary-100","dark:text-primary-50","justify-items-center","md:justify-items-start",3,"click"],["id","general-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-primary-100","dark:border-primary-50","rounded-full","shrink-0"],[1,"flex","leading-tight","justify-start"],[1,"hidden","xl:flex","text-xs","justify-start"],[1,"h-px","mb-2","bg-gray-300","dark:bg-gray-200","border-0"],["id","bundle",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","bundle-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","compliance",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","compliance-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","chars",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","chars-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","resource",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","resource-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","service",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","service-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","attach",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","attach-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","relationships",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","relationships-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","summary",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","summary-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","upload-file-modal","tabindex","-1","aria-hidden","true",1,"flex","overflow-y-auto","overflow-x-hidden","fixed","top-0","right-0","left-0","z-40","justify-center","items-center","w-full","md:inset-0","h-modal","md:h-full","shadow-2xl",3,"ngClass"],[1,"fixed","w-fit","top-1/2","left-1/2","z-50",3,"message"],[1,"text-3xl","font-bold","text-primary-100","ml-4","dark:text-white"],[1,"m-4","md:grid","md:grid-cols-2","gap-4",3,"formGroup"],["for","prod-name",1,"font-bold","text-lg","dark:text-white"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["for","prod-version",1,"font-bold","text-lg","dark:text-white"],["formControlName","version","type","text","id","prod-version",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["for","prod-brand",1,"font-bold","text-lg","dark:text-white"],["formControlName","brand","type","text","id","prod-brand",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["for","prod-number",1,"font-bold","text-lg","dark:text-white"],["formControlName","number","type","text","id","prod-number",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"font-bold","text-lg","col-span-2","dark:text-white"],[1,"mb-2","col-span-2"],[1,"flex","items-center","w-full","text-sm","font-medium","text-center","text-gray-500","dark:text-gray-200","sm:text-base"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-blue-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-green-700","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-yellow-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","items-center"],["for","prod-name",1,"font-bold","text-lg","col-span-2","dark:text-white"],[1,"w-full","col-span-2","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200"],[1,"flex","items-center","justify-between","px-3","py-2","border-b"],[1,"flex","flex-wrap","items-center","divide-gray-200","dark:divide-secondary-200","sm:divide-x","sm:rtl:divide-x-reverse"],[1,"flex","items-center","space-x-1","rtl:space-x-reverse","sm:pe-4","text-gray-500","dark:text-gray-200"],["type","button",1,"p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 5h4.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0-7H6m2 7h6.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0 0H6"],[1,"sr-only"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8.874 19 6.143-14M6 19h6.33m-.66-14H18"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M9 8h10M9 12h10M9 16h10M4.99 8H5m-.02 4h.01m0 4H5"],["type","button",1,"hidden","lg:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4"],["type","button",1,"hidden","md:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["fill-rule","evenodd","d","M5 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm0 12a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm1.65-9.76A1 1 0 0 0 5 9v6a1 1 0 0 0 1.65.76l3.5-3a1 1 0 0 0 0-1.52l-3.5-3ZM12 10a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Zm0 4a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Z","clip-rule","evenodd"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-width","2","d","M3 11h18m-9 0v8m-8 0h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 3v4a1 1 0 0 1-1 1H5m5 4-2 2 2 2m4-4 2 2-2 2m5-12v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M13.213 9.787a3.391 3.391 0 0 0-4.795 0l-3.425 3.426a3.39 3.39 0 0 0 4.795 4.794l.321-.304m-.321-4.49a3.39 3.39 0 0 0 4.795 0l3.424-3.426a3.39 3.39 0 0 0-4.794-4.795l-1.028.961"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-4","h-4"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM13.5 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm-7 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm3.5 9.5A5.5 5.5 0 0 1 4.6 11h10.81A5.5 5.5 0 0 1 10 15.5Z"],["type","button","data-tooltip-target","tooltip-fullscreen",1,"rounded","cursor-pointer","text-gray-500","dark:text-gray-200","p-2","sm:ms-auto","hover:text-gray-900","dark:hover:text-gray-900","hover:bg-gray-100",3,"click"],["stroke","currentColor","stroke-width","2","d","M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z"],["stroke","currentColor","stroke-width","2","d","M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"],["id","tooltip-fullscreen","role","tooltip",1,"absolute","z-10","invisible","inline-block","px-3","py-2","text-sm","font-medium","text-white","transition-opacity","duration-300","bg-gray-900","rounded-lg","shadow-sm","opacity-0","tooltip"],["data-popper-arrow","",1,"tooltip-arrow"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","rounded-lg","p-4"],["for","editor",1,"sr-only"],[1,"bg-gray-50","dark:bg-secondary-300","dark:text-white","text-gray-900","text-wrap","break-all",3,"data"],[3,"darkMode","style"],[1,"flex","w-full","justify-items-end","justify-end"],["type","button",1,"flex","text-white","justify-end","align-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-blue-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-blue-500"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M8.737 8.737a21.49 21.49 0 0 1 3.308-2.724m0 0c3.063-2.026 5.99-2.641 7.331-1.3 1.827 1.828.026 6.591-4.023 10.64-4.049 4.049-8.812 5.85-10.64 4.023-1.33-1.33-.736-4.218 1.249-7.253m6.083-6.11c-3.063-2.026-5.99-2.641-7.331-1.3-1.827 1.828-.026 6.591 4.023 10.64m3.308-9.34a21.497 21.497 0 0 1 3.308 2.724m2.775 3.386c1.985 3.035 2.579 5.923 1.248 7.253-1.336 1.337-4.245.732-7.295-1.275M14 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-green-700","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-green-700"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-yellow-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-yellow-500"],[1,"cursor-pointer","flex","items-center",3,"click"],[1,"flex","items-center","text-red-800"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-red-800"],["id","editor","formControlName","description","rows","8","placeholder","Add product description...",1,"block","w-full","px-0","text-sm","text-gray-800","dark:text-gray-200","bg-white","dark:bg-secondary-300","border-0"],[3,"click","emojiClick","darkMode"],[1,"col-span-2","flex","align-items-middle","h-fit","m-4"],[1,"inline-flex","items-center","me-5","ml-4"],["type","checkbox","disabled","","value","",1,"sr-only","peer",3,"checked"],[1,"relative","w-11","h-6","bg-gray-400","dark:bg-gray-700","rounded-full","peer","peer-focus:ring-4","peer-focus:ring-primary-100","peer-checked:after:translate-x-full","rtl:peer-checked:after:-translate-x-full","peer-checked:after:border-white","after:content-['']","after:absolute","after:top-0.5","after:start-[2px]","after:bg-white","after:border-gray-300","after:border","after:rounded-full","after:h-5","after:w-5","after:transition-all","peer-checked:bg-primary-100"],[1,"flex","w-full","justify-items-end","justify-end","ml-4"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["role","status",1,"w-full","h-fit","flex","justify-center","align-middle"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","m-4"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"hidden","md:table-cell","px-6","py-3"],["scope","col",1,"hidden","lg:table-cell","px-6","py-3"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"px-6","py-4","text-wrap","break-all"],[1,"hidden","md:table-cell","px-6","py-4"],[1,"bg-blue-100","dark:bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"hidden","lg:table-cell","px-6","py-4"],[1,"px-6","py-4"],["id","select-checkbox","type","checkbox","value","","disabled","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded","focus:ring-blue-500","dark:focus:ring-blue-600","dark:ring-offset-gray-800","focus:ring-2","dark:bg-gray-700","dark:border-gray-600",3,"checked"],[1,"bg-blue-100","dark:bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"flex","pt-6","pb-2","justify-center","align-middle"],[1,"flex","cursor-pointer","shadow-lg","items-center","justify-center","px-3","h-8","text-sm","font-medium","text-gray-500","dark:text-white","bg-white","dark:bg-primary-100","dark:hover:bg-secondary-100","border","border-gray-300","dark:border-secondary-200","rounded-lg","hover:bg-gray-200",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle","mt-2"],[1,"flex","w-full","justify-items-end","justify-end","align-items-middle","ml-4","h-fit"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4","text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 11.917 9.724 16.5 19 7.5"],[1,"ml-4","flex"],["data-popover-target","popover-default","clip-rule","evenodd","aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"flex","self-center","w-6","h-6","text-primary-100"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"],["data-popover","","id","popover-default","role","tooltip",1,"absolute","z-10","invisible","inline-block","w-64","text-sm","text-gray-500","transition-opacity","duration-300","bg-white","border","border-gray-200","rounded-lg","shadow-sm","opacity-0","dark:text-gray-400","dark:border-gray-600","dark:bg-gray-800"],[1,"px-3","py-2","bg-gray-100","border-b","border-gray-200","rounded-t-lg","dark:border-gray-600","dark:bg-gray-700"],[1,"font-semibold","text-gray-900","dark:text-white"],[1,"px-3","py-2","inline-block"],[1,"inline-block"],["target","_blank",1,"font-medium","text-blue-600","dark:text-blue-500","hover:underline",3,"href"],["data-popper-arrow",""],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300","m-4"],[1,"flex","justify-center","w-full","m-4","dark:bg-secondary-300"],["id","dropdownButtonISO","data-dropdown-toggle","dropdownISO","type","button",1,"text-white","w-full","m-4","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center","justify-between",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 10 6",1,"w-2.5","h-2.5","ms-3"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 4 4 4-4"],["id","dropdownISO",1,"z-10","w-full","ml-4","mr-4","bg-secondary-50","dark:bg-secondary-300","divide-y","divide-gray-100","rounded-lg","shadow"],["aria-labelledby","dropdownButtonISO",1,"p-3","space-y-3","text-sm","text-gray-700"],[1,"flex","items-center","justify-between"],["for","checkbox-item-1",1,"ms-2","text-sm",3,"ngClass"],["type","button",1,"text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","18","height","18","fill","none","viewBox","0 0 24 24",1,"w-4","h-4","text-white"],[1,"px-6","py-4","inline-flex"],["type","button",1,"text-white","file-select-button","mr-4","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center",3,"click"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 5v9m-5 0H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2M8 9l4-5 4 5m1 8h.01"],["type","button",1,"text-white","bg-red-600","hover:bg-red-700","focus:ring-4","focus:outline-none","focus:ring-red-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center",3,"click"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M6 18 17.94 6M18 18 6.06 6"],["type","button",1,"text-white","mr-4","bg-green-600","hover:bg-green-800","focus:ring-4","focus:outline-none","focus:ring-green-700","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center"],["type","button",1,"text-white","mr-4","bg-slate-400","hover:bg-slate-500","focus:ring-4","focus:outline-none","focus:ring-green-700","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"flex","justify-center","w-full","m-4"],[1,"flex","w-full","justify-items-center","justify-center"],[1,"flex","w-full","justify-items-end","justify-end","ml-4","mt-4"],[1,"px-6","py-4","max-w-1/6","text-wrap","break-all"],[1,"hidden","lg:table-cell","px-6","py-4","text-wrap","break-all"],[1,"font-bold","text-white","bg-red-500","rounded-3xl",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4","text-white"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],[1,"m-4","grid","grid-cols-2","gap-4",3,"formGroup"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"font-bold","text-lg","dark:text-white"],["id","type",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],["selected","","value","string"],["value","number"],["value","range"],[1,"col-span-2"],["for","description",1,"font-bold","text-lg","dark:text-white"],["id","description","formControlName","description","rows","4",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"m-4"],["for","values",1,"font-bold","text-lg","dark:text-white"],[1,"flex","flex-row","items-center","align-items-middle"],[1,"flex","w-full","justify-items-center","justify-center","mt-4"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M11 16h2m6.707-9.293-2.414-2.414A1 1 0 0 0 16.586 4H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7.414a1 1 0 0 0-.293-.707ZM16 20v-6a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v6h8ZM9 4h6v3a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V4Z"],[1,"flex","flex-col","items-start","pl-4","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","border","border-gray-300","mb-2"],[1,"flex","w-full","justify-between"],[1,"align-items-middle","align-middle"],["id","disabled-checked-checkbox","type","checkbox","value","",1,"align-middle","w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded-full","focus:ring-blue-500","focus:ring-2",3,"click","checked"],["for","disabled-checked-checkbox",1,"ms-2","align-middle","text-sm","font-medium","text-gray-700","dark:text-white","text-wrap","break-all"],[1,"m-2","text-white","bg-red-500","rounded-3xl",3,"click"],["id","disabled-checked-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded-full","focus:ring-blue-500","focus:ring-2",3,"click","checked"],["for","disabled-checked-checkbox",1,"ms-2","text-sm","font-medium","text-gray-700","dark:text-white","text-wrap","break-all"],["type","text","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["type","button",1,"text-white","w-fit","h-full","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-white"],[1,"flex","flex-col","md:flex-row","items-center","align-items-middle"],[1,"flex","w-full","mb-2","md:mb-0"],[1,"inline-flex","items-center","px-3","text-sm","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","bg-gray-200","border","rounded-e-0","border-gray-300","border-e-0","rounded-s-md"],["type","number","pattern","[0-9]*","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["type","text","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"inline-flex","items-center","px-3","text-sm","text-gray-900","bg-gray-200","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","border","rounded-e-0","border-gray-300","border-e-0","rounded-s-md"],["id","select-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded","focus:ring-blue-500","dark:focus:ring-blue-600","dark:ring-offset-gray-800","focus:ring-2","dark:bg-gray-700","dark:border-gray-600",3,"click","checked"],[1,"inline-flex"],[1,"text-lg","font-bold","ml-4","dark:text-white"],[1,"relative","isolate","flex","flex-col","justify-end","overflow-hidden","rounded-2xl","px-8","pb-8","pt-40","max-w-sm","mx-auto","m-4","shadow-lg"],[1,"flex","justify-center","w-full","ml-6","mt-2","mb-2","mr-4"],[1,"absolute","inset-0","h-full","w-full","object-cover",3,"src"],[1,"z-10","absolute","top-2","right-2","p-1","font-bold","text-white","bg-red-500","rounded-3xl",3,"click"],[1,"flex","w-full","justify-center","justify-items-center"],["dropZoneLabel","Drop files here",1,"m-4","p-4","w-full",3,"onFileDrop","onFileOver","onFileLeave"],["ngx-file-drop-content-tmp","",1,"w-full"],[1,"font-bold","ml-6","dark:text-white"],[1,"flex","items-center","h-fit","ml-6","mt-2","mb-2","w-full","justify-between"],["type","text","id","att-name",1,"w-full","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","p-2.5",3,"formControl"],[1,"text-white","bg-primary-100","rounded-3xl","p-1","ml-2","h-fit",3,"click","disabled","ngClass"],[1,"w-full","flex","flex-col","justify-items-center","justify-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-12","h-12","text-primary-100","mx-auto"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M15 17h3a3 3 0 0 0 0-6h-.025a5.56 5.56 0 0 0 .025-.5A5.5 5.5 0 0 0 7.207 9.021C7.137 9.017 7.071 9 7 9a4 4 0 1 0 0 8h2.167M12 19v-9m0 0-2 2m2-2 2 2"],[1,"flex","w-full","justify-center"],[1,"text-gray-500","mr-2","w-fit"],[1,"font-medium","text-blue-600","dark:text-blue-500","hover:underline",3,"click"],[1,"m-4","w-full"],[1,"lg:flex","lg:grid","lg:grid-cols-2","w-full","gap-4","align-items-middle","align-middle","border","border-gray-200","rounded-lg","p-4"],[1,"h-fit"],["for","att-name",1,"font-bold","text-lg","dark:text-white"],["type","text","id","att-name",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"formControl","ngClass"],["dropZoneLabel","Drop files here",1,"p-4","w-full"],["dropZoneLabel","Drop files here",1,"p-4","w-full",3,"onFileDrop","onFileOver","onFileLeave"],["role","alert",1,"relative","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],[1,"text-wrap","break-all"],[1,"flex","justify-center","w-full","mb-4"],["id","type",1,"shadow","bg-white","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],["selected","","value","migration"],["value","dependency"],["value","exclusivity"],["value","substitution"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","mt-4"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200",3,"ngClass"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200",3,"click","ngClass"],[1,"m-8"],[1,"mb-4","md:grid","md:grid-cols-2","gap-4"],[1,"mb-2","bg-gray-50","text-wrap","break-all","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"mb-4"],[1,"font-bold","text-lg","mr-4","dark:text-white"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","border","dark:border-secondary-200","rounded-lg","p-4","mb-4"],[1,"bg-gray-50","text-wrap","break-all","dark:bg-secondary-300","dark:text-white","text-gray-900",3,"data"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","mb-4"],[1,"relative","p-4","w-full","max-w-md","h-full","md:h-auto",3,"click"],[1,"relative","p-4","text-center","bg-secondary-50","rounded-lg","shadow","sm:p-5"],["type","button",1,"text-gray-400","absolute","top-2.5","right-2.5","bg-transparent","hover:bg-gray-200","hover:text-gray-900","rounded-lg","text-sm","p-1.5","ml-auto","inline-flex","items-center",3,"click"],["aria-hidden","true","fill","currentColor","viewBox","0 0 20 20","xmlns","http://www.w3.org/2000/svg",1,"w-5","h-5"],["fill-rule","evenodd","d","M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule","evenodd"],["dropZoneLabel","Drop files here",1,"m-4","p-4",3,"onFileDrop","onFileOver","onFileLeave"],["ngx-file-drop-content-tmp",""],[1,"flex","justify-center","items-center","space-x-4"],["type","button",1,"py-2","px-3","text-sm","font-medium","text-gray-500","bg-white","rounded-lg","border","border-gray-200","hover:bg-gray-100","focus:ring-4","focus:outline-none","focus:ring-primary-300","hover:text-gray-900","focus:z-10",3,"click"],["type","submit",1,"py-2","px-3","text-sm","font-medium","text-center","text-white","bg-primary-100","hover:bg-primary-50","rounded-lg","focus:ring-4","focus:outline-none","focus:ring-primary-50",3,"click"],[1,"text-gray-500","mr-4"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",8)(2,"nav",9)(3,"ol",10)(4,"li",11)(5,"button",12),C("click",function(){return t.goBack()}),w(),o(6,"svg",13),v(7,"path",14),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",15)(11,"div",16),w(),o(12,"svg",17),v(13,"path",18),n(),O(),o(14,"span",19),f(15),m(16,"translate"),n()()()()()(),o(17,"div",20)(18,"h2",21),f(19),m(20,"translate"),n(),v(21,"hr",22),o(22,"div",23)(23,"div",24)(24,"h2",25),f(25),m(26,"translate"),n(),o(27,"button",26),C("click",function(){return t.toggleGeneral()}),o(28,"span",27),f(29," 1 "),n(),o(30,"span")(31,"h3",28),f(32),m(33,"translate"),n(),o(34,"p",29),f(35),m(36,"translate"),n()()(),v(37,"hr",30),o(38,"button",31),C("click",function(){return t.toggleBundle()}),o(39,"span",32),f(40," 2 "),n(),o(41,"span")(42,"h3",28),f(43),m(44,"translate"),n(),o(45,"p",29),f(46),m(47,"translate"),n()()(),v(48,"hr",30),o(49,"button",33),C("click",function(){return t.toggleCompliance()}),o(50,"span",34),f(51," 3 "),n(),o(52,"span")(53,"h3",28),f(54),m(55,"translate"),n(),o(56,"p",29),f(57),m(58,"translate"),n()()(),v(59,"hr",30),o(60,"button",35),C("click",function(){return t.toggleChars()}),o(61,"span",36),f(62," 4 "),n(),o(63,"span")(64,"h3",28),f(65),m(66,"translate"),n(),o(67,"p",29),f(68),m(69,"translate"),n()()(),v(70,"hr",30),o(71,"button",37),C("click",function(){return t.toggleResource()}),o(72,"span",38),f(73," 5 "),n(),o(74,"span")(75,"h3",28),f(76),m(77,"translate"),n(),o(78,"p",29),f(79),m(80,"translate"),n()()(),v(81,"hr",30),o(82,"button",39),C("click",function(){return t.toggleService()}),o(83,"span",40),f(84," 6 "),n(),o(85,"span")(86,"h3",28),f(87),m(88,"translate"),n(),o(89,"p",29),f(90),m(91,"translate"),n()()(),v(92,"hr",30),o(93,"button",41),C("click",function(){return t.toggleAttach()}),o(94,"span",42),f(95," 7 "),n(),o(96,"span")(97,"h3",28),f(98),m(99,"translate"),n(),o(100,"p",29),f(101),m(102,"translate"),n()()(),v(103,"hr",30),o(104,"button",43),C("click",function(){return t.toggleRelationship()}),o(105,"span",44),f(106," 8 "),n(),o(107,"span")(108,"h3",28),f(109),m(110,"translate"),n(),o(111,"p",29),f(112),m(113,"translate"),n()()(),v(114,"hr",30),o(115,"button",45),C("click",function(){return t.showFinish()}),o(116,"span",46),f(117," 9 "),n(),o(118,"span")(119,"h3",28),f(120),m(121,"translate"),n(),o(122,"p",29),f(123),m(124,"translate"),n()()()(),o(125,"div"),R(126,CX3,115,62)(127,TX3,17,13)(128,jX3,49,32)(129,f16,13,8)(130,M16,13,8)(131,A16,13,8)(132,W16,35,21)(133,m26,14,8)(134,Z26,45,33),n()()()(),R(135,Q26,15,1,"div",47)(136,J26,1,1,"error-message",48)),2&a&&(s(8),V(" ",_(9,33,"UPDATE_PROD_SPEC._back")," "),s(7),H(_(16,35,"UPDATE_PROD_SPEC._update")),s(4),H(_(20,37,"UPDATE_PROD_SPEC._update_prod")),s(6),H(_(26,39,"UPDATE_PROD_SPEC._steps")),s(7),H(_(33,41,"UPDATE_PROD_SPEC._general")),s(3),H(_(36,43,"UPDATE_PROD_SPEC._general_info")),s(8),H(_(44,45,"UPDATE_PROD_SPEC._bundle")),s(3),H(_(47,47,"UPDATE_PROD_SPEC._bundle_info")),s(8),H(_(55,49,"UPDATE_PROD_SPEC._comp_profile")),s(3),H(_(58,51,"UPDATE_PROD_SPEC._comp_profile_info")),s(8),H(_(66,53,"UPDATE_PROD_SPEC._chars")),s(3),H(_(69,55,"UPDATE_PROD_SPEC._chars_info")),s(8),H(_(77,57,"UPDATE_PROD_SPEC._resource")),s(3),H(_(80,59,"UPDATE_PROD_SPEC._resource_info")),s(8),H(_(88,61,"UPDATE_PROD_SPEC._service")),s(3),H(_(91,63,"UPDATE_PROD_SPEC._service_info")),s(8),H(_(99,65,"UPDATE_PROD_SPEC._attachments")),s(3),H(_(102,67,"UPDATE_PROD_SPEC._attachments_info")),s(8),H(_(110,69,"UPDATE_PROD_SPEC._relationships")),s(3),H(_(113,71,"UPDATE_PROD_SPEC._relationships_info")),s(8),H(_(121,73,"UPDATE_PROD_SPEC._finish")),s(3),H(_(124,75,"UPDATE_PROD_SPEC._summary")),s(3),S(126,t.showGeneral?126:-1),s(),S(127,t.showBundle?127:-1),s(),S(128,t.showCompliance?128:-1),s(),S(129,t.showChars?129:-1),s(),S(130,t.showResource?130:-1),s(),S(131,t.showService?131:-1),s(),S(132,t.showAttach?132:-1),s(),S(133,t.showRelationships?133:-1),s(),S(134,t.showSummary?134:-1),s(),S(135,t.showUploadFile?135:-1),s(),S(136,t.showError?136:-1))},dependencies:[k2,I4,x6,w6,H4,S4,O4,H5,X4,f3,G3,Yl,$l,_4,C4,Q4,X1]})}return c})();const e46=["stringValue"],c46=["numberValue"],a46=["numberUnit"],r46=["fromValue"],t46=["toValue"],i46=["rangeUnit"],o46=()=>({position:"relative",left:"200px",top:"-500px"});function n46(c,r){if(1&c){const e=j();o(0,"li",80),C("click",function(){return y(e),b(h(2).setResStatus("Active"))}),o(1,"span",14),w(),o(2,"svg",81),v(3,"path",82),n(),f(4," Active "),n()()}}function s46(c,r){if(1&c){const e=j();o(0,"li",83),C("click",function(){return y(e),b(h(2).setResStatus("Active"))}),o(1,"span",14),f(2," Active "),n()()}}function l46(c,r){if(1&c){const e=j();o(0,"li",84),C("click",function(){return y(e),b(h(2).setResStatus("Launched"))}),o(1,"span",14),w(),o(2,"svg",85),v(3,"path",82),n(),f(4," Launched "),n()()}}function f46(c,r){if(1&c){const e=j();o(0,"li",83),C("click",function(){return y(e),b(h(2).setResStatus("Launched"))}),o(1,"span",14),f(2," Launched "),n()()}}function d46(c,r){if(1&c){const e=j();o(0,"li",86),C("click",function(){return y(e),b(h(2).setResStatus("Retired"))}),o(1,"span",14),w(),o(2,"svg",87),v(3,"path",82),n(),f(4," Retired "),n()()}}function u46(c,r){if(1&c){const e=j();o(0,"li",83),C("click",function(){return y(e),b(h(2).setResStatus("Retired"))}),o(1,"span",14),f(2," Retired "),n()()}}function h46(c,r){if(1&c){const e=j();o(0,"li",88),C("click",function(){return y(e),b(h(2).setResStatus("Obsolete"))}),o(1,"span",89),w(),o(2,"svg",90),v(3,"path",82),n(),f(4," Obsolete "),n()()}}function m46(c,r){if(1&c){const e=j();o(0,"li",88),C("click",function(){return y(e),b(h(2).setResStatus("Obsolete"))}),o(1,"span",14),f(2," Obsolete "),n()()}}function _46(c,r){1&c&&v(0,"markdown",74),2&c&&k("data",h(2).description)}function p46(c,r){1&c&&v(0,"textarea",91)}function g46(c,r){if(1&c){const e=j();o(0,"emoji-mart",92),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(2).addEmoji(t))}),n()}2&c&&(Y2(E4(3,o46)),k("darkMode",!1))}function v46(c,r){if(1&c){const e=j();o(0,"h2",19),f(1),m(2,"translate"),n(),o(3,"form",34)(4,"label",35),f(5),m(6,"translate"),n(),v(7,"input",36),o(8,"label",37),f(9),m(10,"translate"),n(),o(11,"div",38)(12,"ol",39),R(13,n46,5,0,"li",40)(14,s46,3,0)(15,l46,5,0,"li",41)(16,f46,3,0)(17,d46,5,0,"li",42)(18,u46,3,0)(19,h46,5,0,"li",43)(20,m46,3,0),n()(),o(21,"label",35),f(22),m(23,"translate"),n(),o(24,"div",44)(25,"div",45)(26,"div",46)(27,"div",47)(28,"button",48),C("click",function(){return y(e),b(h().addBold())}),w(),o(29,"svg",49),v(30,"path",50),n(),O(),o(31,"span",51),f(32,"Bold"),n()(),o(33,"button",48),C("click",function(){return y(e),b(h().addItalic())}),w(),o(34,"svg",49),v(35,"path",52),n(),O(),o(36,"span",51),f(37,"Italic"),n()(),o(38,"button",48),C("click",function(){return y(e),b(h().addList())}),w(),o(39,"svg",53),v(40,"path",54),n(),O(),o(41,"span",51),f(42,"Add list"),n()(),o(43,"button",55),C("click",function(){return y(e),b(h().addOrderedList())}),w(),o(44,"svg",53),v(45,"path",56),n(),O(),o(46,"span",51),f(47,"Add ordered list"),n()(),o(48,"button",57),C("click",function(){return y(e),b(h().addBlockquote())}),w(),o(49,"svg",58),v(50,"path",59),n(),O(),o(51,"span",51),f(52,"Add blockquote"),n()(),o(53,"button",48),C("click",function(){return y(e),b(h().addTable())}),w(),o(54,"svg",60),v(55,"path",61),n(),O(),o(56,"span",51),f(57,"Add table"),n()(),o(58,"button",57),C("click",function(){return y(e),b(h().addCode())}),w(),o(59,"svg",60),v(60,"path",62),n(),O(),o(61,"span",51),f(62,"Add code"),n()(),o(63,"button",57),C("click",function(){return y(e),b(h().addCodeBlock())}),w(),o(64,"svg",60),v(65,"path",63),n(),O(),o(66,"span",51),f(67,"Add code block"),n()(),o(68,"button",57),C("click",function(){return y(e),b(h().addLink())}),w(),o(69,"svg",60),v(70,"path",64),n(),O(),o(71,"span",51),f(72,"Add link"),n()(),o(73,"button",55),C("click",function(t){y(e);const i=h();return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(74,"svg",65),v(75,"path",66),n(),O(),o(76,"span",51),f(77,"Add emoji"),n()()()(),o(78,"button",67),C("click",function(){y(e);const t=h();return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(79,"svg",53),v(80,"path",68)(81,"path",69),n(),O(),o(82,"span",51),f(83),m(84,"translate"),n()(),o(85,"div",70),f(86),m(87,"translate"),v(88,"div",71),n()(),o(89,"div",72)(90,"label",73),f(91,"Publish post"),n(),R(92,_46,1,1,"markdown",74)(93,p46,1,0)(94,g46,1,4,"emoji-mart",75),n()()(),o(95,"div",76)(96,"button",77),C("click",function(){return y(e),b(h().toggleChars())}),f(97),m(98,"translate"),w(),o(99,"svg",78),v(100,"path",79),n()()()}if(2&c){let e;const a=h();s(),H(_(2,37,"UPDATE_RES_SPEC._general")),s(2),k("formGroup",a.generalForm),s(2),H(_(6,39,"UPDATE_RES_SPEC._name")),s(2),k("ngClass",1==(null==(e=a.generalForm.get("name"))?null:e.invalid)&&""!=a.generalForm.value.name?"border-red-600":"border-gray-300"),s(2),H(_(10,41,"UPDATE_RES_SPEC._status")),s(4),S(13,"Active"==a.resStatus?13:14),s(2),S(15,"Launched"==a.resStatus?15:16),s(2),S(17,"Retired"==a.resStatus?17:18),s(2),S(19,"Obsolete"==a.resStatus?19:20),s(3),H(_(23,43,"UPDATE_RES_SPEC._description")),s(6),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(84,45,"CREATE_CATALOG._preview")),s(3),V(" ",_(87,47,"CREATE_CATALOG._show_preview")," "),s(6),S(92,a.showPreview?92:93),s(2),S(94,a.showEmoji?94:-1),s(2),k("disabled",!a.generalForm.valid)("ngClass",a.generalForm.valid?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(98,49,"UPDATE_RES_SPEC._next")," ")}}function H46(c,r){1&c&&(o(0,"div",93)(1,"div",97),w(),o(2,"svg",98),v(3,"path",99),n(),O(),o(4,"span",51),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"UPDATE_RES_SPEC._no_chars")," "))}function C46(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function z46(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function V46(c,r){if(1&c&&R(0,C46,4,2)(1,z46,3,2),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function M46(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function L46(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function y46(c,r){if(1&c&&R(0,M46,4,3)(1,L46,3,3),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function b46(c,r){1&c&&R(0,V46,2,1)(1,y46,2,1),2&c&&S(0,r.$implicit.value?0:1)}function x46(c,r){if(1&c){const e=j();o(0,"tr",105)(1,"td",106),f(2),n(),o(3,"td",107),f(4),n(),o(5,"td",106),c1(6,b46,2,1,null,null,z1),n(),o(8,"td",108)(9,"button",109),C("click",function(){const t=y(e).$implicit;return b(h(3).deleteChar(t))}),w(),o(10,"svg",110),v(11,"path",111),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),a1(e.resourceSpecCharacteristicValue)}}function w46(c,r){if(1&c&&(o(0,"div",100)(1,"table",101)(2,"thead",102)(3,"tr")(4,"th",103),f(5),m(6,"translate"),n(),o(7,"th",104),f(8),m(9,"translate"),n(),o(10,"th",103),f(11),m(12,"translate"),n(),o(13,"th",103),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,x46,12,2,"tr",105,z1),n()()()),2&c){const e=h(2);s(5),V(" ",_(6,4,"UPDATE_RES_SPEC._name")," "),s(3),V(" ",_(9,6,"UPDATE_RES_SPEC._description")," "),s(3),V(" ",_(12,8,"UPDATE_RES_SPEC._values")," "),s(3),V(" ",_(15,10,"UPDATE_RES_SPEC._actions")," "),s(3),a1(e.prodChars)}}function F46(c,r){if(1&c){const e=j();o(0,"div",94)(1,"button",112),C("click",function(){y(e);const t=h(2);return b(t.showCreateChar=!t.showCreateChar)}),f(2),m(3,"translate"),w(),o(4,"svg",113),v(5,"path",114),n()()()}2&c&&(s(2),V(" ",_(3,1,"UPDATE_RES_SPEC._new_char")," "))}function k46(c,r){if(1&c){const e=j();o(0,"div",131)(1,"div",132)(2,"input",133),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).selectDefaultChar(i,l))}),n(),o(3,"label",134),f(4),o(5,"i"),f(6),n()()(),o(7,"button",135),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).removeCharValue(i,l))}),w(),o(8,"svg",110),v(9,"path",111),n()()()}if(2&c){const e=r.$implicit;s(2),k("checked",null==e?null:e.isDefault),s(2),j1("",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function S46(c,r){1&c&&c1(0,k46,10,4,"div",131,z1),2&c&&a1(h(4).creatingChars)}function N46(c,r){if(1&c){const e=j();o(0,"div",131)(1,"div",132)(2,"input",136),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).selectDefaultChar(i,l))}),n(),o(3,"label",137),f(4),o(5,"i"),f(6),n()()(),o(7,"button",135),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).removeCharValue(i,l))}),w(),o(8,"svg",110),v(9,"path",111),n()()()}if(2&c){const e=r.$implicit;s(2),k("checked",null==e?null:e.isDefault),s(2),V("",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function D46(c,r){1&c&&c1(0,N46,10,3,"div",131,z1),2&c&&a1(h(4).creatingChars)}function T46(c,r){if(1&c&&(o(0,"label",125),f(1),m(2,"translate"),n(),o(3,"div",130),R(4,S46,2,0)(5,D46,2,0),n()),2&c){const e=h(3);s(),H(_(2,2,"UPDATE_RES_SPEC._values")),s(3),S(4,e.rangeCharSelected?4:5)}}function E46(c,r){if(1&c){const e=j();o(0,"div",126),v(1,"input",138,0),o(3,"button",139),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(4,"svg",140),v(5,"path",114),n()()()}}function A46(c,r){if(1&c){const e=j();o(0,"div",141)(1,"div",142)(2,"span",143),f(3),m(4,"translate"),n(),v(5,"input",144,1),n(),o(7,"div",142)(8,"span",143),f(9),m(10,"translate"),n(),v(11,"input",145,2),n(),o(13,"button",139),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(14,"svg",140),v(15,"path",114),n()()()}2&c&&(s(3),V(" ",_(4,2,"UPDATE_RES_SPEC._value")," "),s(6),V(" ",_(10,4,"UPDATE_RES_SPEC._unit")," "))}function P46(c,r){if(1&c){const e=j();o(0,"div",141)(1,"div",142)(2,"span",143),f(3),m(4,"translate"),n(),v(5,"input",144,3),n(),o(7,"div",142)(8,"span",143),f(9),m(10,"translate"),n(),v(11,"input",144,4),n(),o(13,"div",142)(14,"span",146),f(15),m(16,"translate"),n(),v(17,"input",145,5),n(),o(19,"button",139),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(20,"svg",140),v(21,"path",114),n()()()}2&c&&(s(3),V(" ",_(4,3,"UPDATE_RES_SPEC._from")," "),s(6),V(" ",_(10,5,"UPDATE_RES_SPEC._to")," "),s(6),V(" ",_(16,7,"UPDATE_RES_SPEC._unit")," "))}function R46(c,r){if(1&c){const e=j();o(0,"form",115)(1,"div")(2,"label",35),f(3),m(4,"translate"),n(),v(5,"input",116),n(),o(6,"div")(7,"label",37),f(8),m(9,"translate"),n(),o(10,"select",117),C("change",function(t){return y(e),b(h(2).onTypeChange(t))}),o(11,"option",118),f(12,"String"),n(),o(13,"option",119),f(14,"Number"),n(),o(15,"option",120),f(16,"Number range"),n()()(),o(17,"div",121)(18,"label",122),f(19),m(20,"translate"),n(),v(21,"textarea",123),n()(),o(22,"div",124),R(23,T46,6,4),o(24,"label",125),f(25),m(26,"translate"),n(),R(27,E46,6,0,"div",126)(28,A46,16,6)(29,P46,22,9),o(30,"div",127)(31,"button",128),C("click",function(){return y(e),b(h(2).saveChar())}),f(32),m(33,"translate"),w(),o(34,"svg",113),v(35,"path",129),n()()()()}if(2&c){const e=h(2);k("formGroup",e.charsForm),s(3),H(_(4,10,"UPDATE_RES_SPEC._name")),s(5),H(_(9,12,"UPDATE_RES_SPEC._type")),s(11),H(_(20,14,"UPDATE_RES_SPEC._description")),s(4),S(23,e.creatingChars.length>0?23:-1),s(2),H(_(26,16,"UPDATE_RES_SPEC._add_values")),s(2),S(27,e.stringCharSelected?27:e.numberCharSelected?28:e.rangeCharSelected?29:-1),s(4),k("disabled",!e.charsForm.valid||0==e.creatingChars.length)("ngClass",e.charsForm.valid&&0!=e.creatingChars.length?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(33,18,"UPDATE_RES_SPEC._save_char")," ")}}function B46(c,r){if(1&c){const e=j();o(0,"h2",19),f(1),m(2,"translate"),n(),R(3,H46,9,3,"div",93)(4,w46,19,12)(5,F46,6,3,"div",94)(6,R46,36,20),o(7,"div",95)(8,"button",96),C("click",function(){return y(e),b(h().showFinish())}),f(9),m(10,"translate"),w(),o(11,"svg",78),v(12,"path",79),n()()()}if(2&c){const e=h();s(),H(_(2,4,"UPDATE_RES_SPEC._chars")),s(2),S(3,0===e.prodChars.length?3:4),s(2),S(5,0==e.showCreateChar?5:6),s(4),V(" ",_(10,6,"UPDATE_RES_SPEC._finish")," ")}}function O46(c,r){if(1&c&&(o(0,"span",151),f(1),n()),2&c){const e=h(2);s(),H(null==e.resourceToUpdate?null:e.resourceToUpdate.lifecycleStatus)}}function I46(c,r){if(1&c&&(o(0,"span",153),f(1),n()),2&c){const e=h(2);s(),H(null==e.resourceToUpdate?null:e.resourceToUpdate.lifecycleStatus)}}function U46(c,r){if(1&c&&(o(0,"span",154),f(1),n()),2&c){const e=h(2);s(),H(null==e.resourceToUpdate?null:e.resourceToUpdate.lifecycleStatus)}}function j46(c,r){if(1&c&&(o(0,"span",155),f(1),n()),2&c){const e=h(2);s(),H(null==e.resourceToUpdate?null:e.resourceToUpdate.lifecycleStatus)}}function $46(c,r){if(1&c&&(o(0,"label",37),f(1),m(2,"translate"),n(),o(3,"div",156),v(4,"markdown",74),n()),2&c){const e=h(2);s(),H(_(2,2,"CREATE_PROD_SPEC._product_description")),s(3),k("data",null==e.resourceToUpdate?null:e.resourceToUpdate.description)}}function Y46(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function G46(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function q46(c,r){if(1&c&&R(0,Y46,4,2)(1,G46,3,2),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function W46(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function Z46(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function K46(c,r){if(1&c&&R(0,W46,4,3)(1,Z46,3,3),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function Q46(c,r){1&c&&R(0,q46,2,1)(1,K46,2,1),2&c&&S(0,r.$implicit.value?0:1)}function J46(c,r){if(1&c&&(o(0,"tr",105)(1,"td",106),f(2),n(),o(3,"td",107),f(4),n(),o(5,"td",106),c1(6,Q46,2,1,null,null,z1),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),a1(e.resourceSpecCharacteristicValue)}}function X46(c,r){if(1&c&&(o(0,"label",37),f(1),m(2,"translate"),n(),o(3,"div",157)(4,"table",101)(5,"thead",102)(6,"tr")(7,"th",103),f(8),m(9,"translate"),n(),o(10,"th",104),f(11),m(12,"translate"),n(),o(13,"th",103),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,J46,8,2,"tr",105,z1),n()()()),2&c){const e=h(2);s(),H(_(2,4,"CREATE_PROD_SPEC._chars")),s(7),V(" ",_(9,6,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(12,8,"CREATE_PROD_SPEC._product_description")," "),s(3),V(" ",_(15,10,"CREATE_PROD_SPEC._values")," "),s(3),a1(null==e.resourceToUpdate?null:e.resourceToUpdate.resourceSpecCharacteristic)}}function e36(c,r){if(1&c){const e=j();o(0,"h2",19),f(1),m(2,"translate"),n(),o(3,"div",147)(4,"div")(5,"label",37),f(6),m(7,"translate"),n(),o(8,"label",148),f(9),n()(),o(10,"div",149)(11,"label",150),f(12),m(13,"translate"),n(),R(14,O46,2,1,"span",151)(15,I46,2,1)(16,U46,2,1)(17,j46,2,1),n(),R(18,$46,5,4)(19,X46,19,12),o(20,"div",152)(21,"button",77),C("click",function(){return y(e),b(h().updateResource())}),f(22),m(23,"translate"),w(),o(24,"svg",78),v(25,"path",79),n()()()()}if(2&c){const e=h();s(),H(_(2,10,"CREATE_PROD_SPEC._finish")),s(5),H(_(7,12,"CREATE_PROD_SPEC._product_name")),s(3),V(" ",null==e.resourceToUpdate?null:e.resourceToUpdate.name," "),s(3),H(_(13,14,"CREATE_PROD_SPEC._status")),s(2),S(14,"Active"==(null==e.resourceToUpdate?null:e.resourceToUpdate.lifecycleStatus)?14:"Launched"==(null==e.resourceToUpdate?null:e.resourceToUpdate.lifecycleStatus)?15:"Retired"==(null==e.resourceToUpdate?null:e.resourceToUpdate.lifecycleStatus)?16:"Obsolete"==(null==e.resourceToUpdate?null:e.resourceToUpdate.lifecycleStatus)?17:-1),s(4),S(18,""!=(null==e.resourceToUpdate?null:e.resourceToUpdate.description)?18:-1),s(),S(19,e.prodChars.length>0?19:-1),s(2),k("disabled",!e.generalForm.valid)("ngClass",e.generalForm.valid?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(23,16,"UPDATE_RES_SPEC._update_res")," ")}}function c36(c,r){1&c&&v(0,"error-message",33),2&c&&k("message",h().errorMessage)}let a36=(()=>{class c{constructor(e,a,t,i,l,d){this.router=e,this.cdr=a,this.localStorage=t,this.eventMessage=i,this.elementRef=l,this.resSpecService=d,this.partyId="",this.stepsElements=["general-info","chars","summary"],this.stepsCircles=["general-circle","chars-circle","summary-circle"],this.showPreview=!1,this.showEmoji=!1,this.description="",this.showGeneral=!0,this.showChars=!1,this.showSummary=!1,this.generalForm=new S2({name:new u1("",[O1.required]),description:new u1("")}),this.charsForm=new S2({name:new u1("",[O1.required]),description:new u1("")}),this.stringCharSelected=!0,this.numberCharSelected=!1,this.rangeCharSelected=!1,this.prodChars=[],this.creatingChars=[],this.showCreateChar=!1,this.errorMessage="",this.showError=!1,this.eventMessage.messages$.subscribe(u=>{"ChangedSession"===u.type&&this.initPartyInfo()})}onClick(){1==this.showEmoji&&(this.showEmoji=!1,this.cdr.detectChanges())}ngOnInit(){this.initPartyInfo(),console.log(this.res),this.populateResInfo()}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0)if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}}populateResInfo(){this.generalForm.controls.name.setValue(this.res.name),this.generalForm.controls.description.setValue(this.res.description),this.resStatus=this.res.lifecycleStatus,this.prodChars=this.res.resourceSpecCharacteristic}goBack(){this.eventMessage.emitSellerResourceSpec(!0)}setResStatus(e){this.resStatus=e,this.cdr.detectChanges()}toggleGeneral(){this.selectStep("general-info","general-circle"),this.showGeneral=!0,this.showChars=!1,this.showSummary=!1,this.showPreview=!1}toggleChars(){this.selectStep("chars","chars-circle"),this.showGeneral=!1,this.showChars=!0,this.showSummary=!1,this.showPreview=!1}onTypeChange(e){"string"==e.target.value?(this.stringCharSelected=!0,this.numberCharSelected=!1,this.rangeCharSelected=!1):"number"==e.target.value?(this.stringCharSelected=!1,this.numberCharSelected=!0,this.rangeCharSelected=!1):(this.stringCharSelected=!1,this.numberCharSelected=!1,this.rangeCharSelected=!0),this.creatingChars=[]}addCharValue(){this.stringCharSelected?(console.log("string"),this.creatingChars.push(0==this.creatingChars.length?{isDefault:!0,value:this.charStringValue.nativeElement.value}:{isDefault:!1,value:this.charStringValue.nativeElement.value})):this.numberCharSelected?(console.log("number"),this.creatingChars.push(0==this.creatingChars.length?{isDefault:!0,value:this.charNumberValue.nativeElement.value,unitOfMeasure:this.charNumberUnit.nativeElement.value}:{isDefault:!1,value:this.charNumberValue.nativeElement.value,unitOfMeasure:this.charNumberUnit.nativeElement.value})):(console.log("range"),this.creatingChars.push(0==this.creatingChars.length?{isDefault:!0,valueFrom:this.charFromValue.nativeElement.value,valueTo:this.charToValue.nativeElement.value,unitOfMeasure:this.charRangeUnit.nativeElement.value}:{isDefault:!1,valueFrom:this.charFromValue.nativeElement.value,valueTo:this.charToValue.nativeElement.value,unitOfMeasure:this.charRangeUnit.nativeElement.value}))}selectDefaultChar(e,a){for(let t=0;tt.id===e.id);-1!==a&&(console.log("eliminar"),this.prodChars.splice(a,1)),this.cdr.detectChanges(),console.log(this.prodChars)}showFinish(){null!=this.generalForm.value.name&&(this.resourceToUpdate={name:this.generalForm.value.name,description:null!=this.generalForm.value.description?this.generalForm.value.description:"",lifecycleStatus:this.resStatus,resourceSpecCharacteristic:this.prodChars},this.showChars=!1,this.showGeneral=!1,this.showSummary=!0,this.selectStep("summary","summary-circle")),this.showPreview=!1}updateResource(){this.resSpecService.updateResSpec(this.resourceToUpdate,this.res.id).subscribe({next:e=>{this.goBack(),console.log("serv updated")},error:e=>{console.error("There was an error while updating!",e),e.error.error?(console.log(e),this.errorMessage="Error: "+e.error.error):this.errorMessage="There was an error while updating the resource!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}removeClass(e,a){e.className=(" "+e.className+" ").replace(" "+a+" "," ").replace(/^\s+|\s+$/g,"")}addClass(e,a){e.className+=" "+a}unselectMenu(e,a){null!=e&&(e.className.match(a)?this.removeClass(e,a):console.log("already unselected"))}selectMenu(e,a){null!=e&&(e.className.match(a)?console.log("already selected"):this.addClass(e,a))}selectStep(e,a){const t=this.stepsElements.findIndex(l=>l===e);if(-1!==t){this.stepsElements.splice(t,1),this.selectMenu(document.getElementById(e),"text-primary-100 dark:text-primary-50"),this.unselectMenu(document.getElementById(e),"text-gray-500");for(let l=0;ll===a);if(-1!==t){this.stepsCircles.splice(i,1),this.selectMenu(document.getElementById(a),"border-primary-100 dark:border-primary-50"),this.unselectMenu(document.getElementById(a),"border-gray-400");for(let l=0;l blockquote"})}addLink(){this.generalForm.patchValue({description:this.generalForm.value.description+" [title](https://www.example.com) "})}addTable(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"})}addEmoji(e){console.log(e),this.showEmoji=!1,this.generalForm.patchValue({description:this.generalForm.value.description+e.emoji.native})}togglePreview(){this.generalForm.value.description&&(this.description=this.generalForm.value.description)}static#e=this.\u0275fac=function(a){return new(a||c)(B(Q1),B(B1),B(A1),B(e2),B(C2),B(h4))};static#c=this.\u0275cmp=V1({type:c,selectors:[["update-resource-spec"]],viewQuery:function(a,t){if(1&a&&(b1(e46,5),b1(c46,5),b1(a46,5),b1(r46,5),b1(t46,5),b1(i46,5)),2&a){let i;M1(i=L1())&&(t.charStringValue=i.first),M1(i=L1())&&(t.charNumberValue=i.first),M1(i=L1())&&(t.charNumberUnit=i.first),M1(i=L1())&&(t.charFromValue=i.first),M1(i=L1())&&(t.charToValue=i.first),M1(i=L1())&&(t.charRangeUnit=i.first)}},hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},inputs:{res:"res"},decls:64,vars:34,consts:[["stringValue",""],["numberValue",""],["numberUnit",""],["fromValue",""],["toValue",""],["rangeUnit",""],[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-gray-200","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800","dark:text-white"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-700","hover:text-blue-600",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","mt-4","p-8","rounded-lg"],[1,"text-3xl","font-bold","text-primary-100","ml-4","dark:text-white"],[1,"h-px","m-4","bg-gray-300","dark:bg-gray-200","border-0"],[1,"md:grid","md:grid-cols-25/75","xl:grid-cols-20/80"],[1,"flex","sm:flex-row","md:flex-col","md:mr-4","w-full","overflow-x-auto","max-w-[calc(100vw-5rem)]"],[1,"hidden","md:block","text-xl","font-bold","text-black","mb-4","dark:text-white"],["id","general-info",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-primary-100","dark:text-primary-50","justify-items-center","md:justify-items-start",3,"click"],["id","general-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-primary-100","dark:border-primary-50","rounded-full","shrink-0"],[1,"flex","leading-tight","justify-start"],[1,"hidden","xl:flex","text-xs","justify-start"],[1,"h-px","mb-2","bg-gray-300","dark:bg-gray-200","border-0"],["id","chars",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","chars-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","summary",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","summary-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],[1,"fixed","w-fit","top-1/2","left-1/2",3,"message"],[1,"m-4","gap-4",3,"formGroup"],["for","prod-name",1,"font-bold","text-lg","dark:text-white"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],[1,"font-bold","text-lg","dark:text-white"],[1,"mb-2"],[1,"flex","items-center","w-full","text-sm","font-medium","text-center","text-gray-500","dark:text-gray-400","sm:text-base"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-blue-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-green-700","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-yellow-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","items-center"],[1,"w-full","col-span-2","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200"],[1,"flex","items-center","justify-between","px-3","py-2","border-b"],[1,"flex","flex-wrap","items-center","divide-gray-200","dark:divide-secondary-200","sm:divide-x","sm:rtl:divide-x-reverse"],[1,"flex","items-center","space-x-1","rtl:space-x-reverse","sm:pe-4","text-gray-500","dark:text-gray-200"],["type","button",1,"p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 5h4.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0-7H6m2 7h6.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0 0H6"],[1,"sr-only"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8.874 19 6.143-14M6 19h6.33m-.66-14H18"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M9 8h10M9 12h10M9 16h10M4.99 8H5m-.02 4h.01m0 4H5"],["type","button",1,"hidden","lg:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4"],["type","button",1,"hidden","md:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["fill-rule","evenodd","d","M5 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm0 12a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm1.65-9.76A1 1 0 0 0 5 9v6a1 1 0 0 0 1.65.76l3.5-3a1 1 0 0 0 0-1.52l-3.5-3ZM12 10a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Zm0 4a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Z","clip-rule","evenodd"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-width","2","d","M3 11h18m-9 0v8m-8 0h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 3v4a1 1 0 0 1-1 1H5m5 4-2 2 2 2m4-4 2 2-2 2m5-12v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M13.213 9.787a3.391 3.391 0 0 0-4.795 0l-3.425 3.426a3.39 3.39 0 0 0 4.795 4.794l.321-.304m-.321-4.49a3.39 3.39 0 0 0 4.795 0l3.424-3.426a3.39 3.39 0 0 0-4.794-4.795l-1.028.961"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-4","h-4"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM13.5 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm-7 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm3.5 9.5A5.5 5.5 0 0 1 4.6 11h10.81A5.5 5.5 0 0 1 10 15.5Z"],["type","button","data-tooltip-target","tooltip-fullscreen",1,"rounded","cursor-pointer","text-gray-500","dark:text-gray-200","p-2","sm:ms-auto","hover:text-gray-900","dark:hover:text-gray-900","hover:bg-gray-100",3,"click"],["stroke","currentColor","stroke-width","2","d","M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z"],["stroke","currentColor","stroke-width","2","d","M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"],["id","tooltip-fullscreen","role","tooltip",1,"absolute","z-10","invisible","inline-block","px-3","py-2","text-sm","font-medium","text-white","transition-opacity","duration-300","bg-gray-900","rounded-lg","shadow-sm","opacity-0","tooltip"],["data-popper-arrow","",1,"tooltip-arrow"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","rounded-b-lg"],["for","editor",1,"sr-only"],[1,"bg-gray-50","dark:bg-secondary-300","dark:text-white","text-gray-900","text-wrap","break-all",3,"data"],[3,"darkMode","style"],[1,"flex","w-full","justify-items-end","justify-end"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-blue-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-blue-500"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M8.737 8.737a21.49 21.49 0 0 1 3.308-2.724m0 0c3.063-2.026 5.99-2.641 7.331-1.3 1.827 1.828.026 6.591-4.023 10.64-4.049 4.049-8.812 5.85-10.64 4.023-1.33-1.33-.736-4.218 1.249-7.253m6.083-6.11c-3.063-2.026-5.99-2.641-7.331-1.3-1.827 1.828-.026 6.591 4.023 10.64m3.308-9.34a21.497 21.497 0 0 1 3.308 2.724m2.775 3.386c1.985 3.035 2.579 5.923 1.248 7.253-1.336 1.337-4.245.732-7.295-1.275M14 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-green-700","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-green-700"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-yellow-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-yellow-500"],[1,"cursor-pointer","flex","items-center",3,"click"],[1,"flex","items-center","text-red-800"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-red-800"],["id","editor","formControlName","description","rows","8","placeholder","Add product description...",1,"block","w-full","px-0","text-sm","text-gray-800","dark:text-gray-200","bg-white","dark:bg-secondary-300","border-0"],[3,"click","emojiClick","darkMode"],[1,"flex","justify-center","w-full","m-4"],[1,"flex","w-full","justify-items-center","justify-center"],[1,"flex","w-full","justify-items-end","justify-end","ml-4","mt-4"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","m-4"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"hidden","lg:table-cell","px-6","py-3"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"px-6","py-4","text-wrap","break-all"],[1,"hidden","lg:table-cell","px-6","py-4","text-wrap","break-all"],[1,"px-6","py-4"],[1,"font-bold","text-white","bg-red-500","rounded-3xl",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4","text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M6 18 17.94 6M18 18 6.06 6"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],[1,"m-4","md:grid","md:grid-cols-2","gap-4",3,"formGroup"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["id","type",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],["selected","","value","string"],["value","number"],["value","range"],[1,"col-span-2"],["for","description",1,"font-bold","text-lg","dark:text-white"],["id","description","formControlName","description","rows","4",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"m-4"],["for","values",1,"font-bold","text-lg","dark:text-white"],[1,"flex","flex-row","items-center","align-items-middle"],[1,"flex","w-full","justify-items-center","justify-center","mt-4"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M11 16h2m6.707-9.293-2.414-2.414A1 1 0 0 0 16.586 4H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7.414a1 1 0 0 0-.293-.707ZM16 20v-6a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v6h8ZM9 4h6v3a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V4Z"],[1,"flex","flex-col","items-start","pl-4","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","border","border-gray-300","mb-2"],[1,"flex","w-full","justify-between"],[1,"align-items-middle","align-middle"],["id","disabled-checked-checkbox","type","checkbox","value","",1,"align-middle","w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded-full","focus:ring-blue-500","focus:ring-2",3,"click","checked"],["for","disabled-checked-checkbox",1,"ms-2","align-middle","text-sm","font-medium","text-gray-700","dark:text-white","text-wrap","break-all"],[1,"m-2","text-white","bg-red-500","rounded-3xl",3,"click"],["id","disabled-checked-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded-full","focus:ring-blue-500","focus:ring-2",3,"click","checked"],["for","disabled-checked-checkbox",1,"ms-2","text-sm","font-medium","text-gray-700","dark:text-white","text-wrap","break-all"],["type","text","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["type","button",1,"text-white","w-fit","h-full","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-white"],[1,"flex","flex-col","md:flex-row","items-center","align-items-middle"],[1,"flex","w-full","mb-2","md:mb-0"],[1,"inline-flex","items-center","px-3","text-sm","text-gray-900","bg-gray-200","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","border","rounded-e-0","border-gray-300","border-e-0","rounded-s-md"],["type","number","pattern","[0-9]*","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["type","text","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"inline-flex","items-center","px-3","text-sm","text-gray-900","bg-gray-200","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","border","rounded-e-0","border-gray-300","border-e-0","rounded-s-md","dark:text-white"],[1,"m-8"],[1,"mb-2","bg-gray-50","text-wrap","break-all","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"mb-4"],[1,"font-bold","text-lg","mr-4","dark:text-white"],[1,"bg-blue-100","dark:bg-secondary-100","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"flex","w-full","justify-items-end","justify-end","ml-4"],[1,"bg-blue-100","dark:bg-secondary-100","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-100","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-100","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","border","dark:border-secondary-200","rounded-lg","p-4","mb-4"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","mb-4"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",6)(2,"nav",7)(3,"ol",8)(4,"li",9)(5,"button",10),C("click",function(){return t.goBack()}),w(),o(6,"svg",11),v(7,"path",12),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",13)(11,"div",14),w(),o(12,"svg",15),v(13,"path",16),n(),O(),o(14,"span",17),f(15),m(16,"translate"),n()()()()()(),o(17,"div",18)(18,"h2",19),f(19),m(20,"translate"),n(),v(21,"hr",20),o(22,"div",21)(23,"div",22)(24,"h2",23),f(25),m(26,"translate"),n(),o(27,"button",24),C("click",function(){return t.toggleGeneral()}),o(28,"span",25),f(29," 1 "),n(),o(30,"span")(31,"h3",26),f(32),m(33,"translate"),n(),o(34,"p",27),f(35),m(36,"translate"),n()()(),v(37,"hr",28),o(38,"button",29),C("click",function(){return t.toggleChars()}),o(39,"span",30),f(40," 2 "),n(),o(41,"span")(42,"h3",26),f(43),m(44,"translate"),n(),o(45,"p",27),f(46),m(47,"translate"),n()()(),v(48,"hr",28),o(49,"button",31),C("click",function(){return t.showFinish()}),o(50,"span",32),f(51," 3 "),n(),o(52,"span")(53,"h3",26),f(54),m(55,"translate"),n(),o(56,"p",27),f(57),m(58,"translate"),n()()()(),o(59,"div"),R(60,v46,101,51)(61,B46,13,8)(62,e36,26,18),n()()()(),R(63,c36,1,1,"error-message",33)),2&a&&(s(8),V(" ",_(9,14,"UPDATE_RES_SPEC._back")," "),s(7),H(_(16,16,"UPDATE_RES_SPEC._update")),s(4),H(_(20,18,"UPDATE_RES_SPEC._update_res")),s(6),H(_(26,20,"UPDATE_RES_SPEC._steps")),s(7),H(_(33,22,"UPDATE_RES_SPEC._general")),s(3),H(_(36,24,"UPDATE_RES_SPEC._general_info")),s(8),H(_(44,26,"UPDATE_RES_SPEC._chars")),s(3),H(_(47,28,"UPDATE_RES_SPEC._chars_info")),s(8),H(_(55,30,"CREATE_PROD_SPEC._finish")),s(3),H(_(58,32,"CREATE_PROD_SPEC._summary")),s(3),S(60,t.showGeneral?60:-1),s(),S(61,t.showChars?61:-1),s(),S(62,t.showSummary?62:-1),s(),S(63,t.showError?63:-1))},dependencies:[k2,I4,x6,w6,H4,S4,O4,X4,f3,G3,_4,C4,X1]})}return c})();const r36=["stringValue"],t36=["numberValue"],i36=["numberUnit"],o36=["fromValue"],n36=["toValue"],s36=["rangeUnit"],l36=()=>({position:"relative",left:"200px",top:"-500px"});function f36(c,r){if(1&c){const e=j();o(0,"li",80),C("click",function(){return y(e),b(h(2).setServStatus("Active"))}),o(1,"span",14),w(),o(2,"svg",81),v(3,"path",82),n(),f(4," Active "),n()()}}function d36(c,r){if(1&c){const e=j();o(0,"li",83),C("click",function(){return y(e),b(h(2).setServStatus("Active"))}),o(1,"span",14),f(2," Active "),n()()}}function u36(c,r){if(1&c){const e=j();o(0,"li",84),C("click",function(){return y(e),b(h(2).setServStatus("Launched"))}),o(1,"span",14),w(),o(2,"svg",85),v(3,"path",82),n(),f(4," Launched "),n()()}}function h36(c,r){if(1&c){const e=j();o(0,"li",83),C("click",function(){return y(e),b(h(2).setServStatus("Launched"))}),o(1,"span",14),f(2," Launched "),n()()}}function m36(c,r){if(1&c){const e=j();o(0,"li",86),C("click",function(){return y(e),b(h(2).setServStatus("Retired"))}),o(1,"span",14),w(),o(2,"svg",87),v(3,"path",82),n(),f(4," Retired "),n()()}}function _36(c,r){if(1&c){const e=j();o(0,"li",83),C("click",function(){return y(e),b(h(2).setServStatus("Retired"))}),o(1,"span",14),f(2," Retired "),n()()}}function p36(c,r){if(1&c){const e=j();o(0,"li",88),C("click",function(){return y(e),b(h(2).setServStatus("Obsolete"))}),o(1,"span",89),w(),o(2,"svg",90),v(3,"path",82),n(),f(4," Obsolete "),n()()}}function g36(c,r){if(1&c){const e=j();o(0,"li",88),C("click",function(){return y(e),b(h(2).setServStatus("Obsolete"))}),o(1,"span",14),f(2," Obsolete "),n()()}}function v36(c,r){1&c&&v(0,"markdown",74),2&c&&k("data",h(2).description)}function H36(c,r){1&c&&v(0,"textarea",91)}function C36(c,r){if(1&c){const e=j();o(0,"emoji-mart",92),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(2).addEmoji(t))}),n()}2&c&&(Y2(E4(3,l36)),k("darkMode",!1))}function z36(c,r){if(1&c){const e=j();o(0,"h2",19),f(1),m(2,"translate"),n(),o(3,"form",34)(4,"label",35),f(5),m(6,"translate"),n(),v(7,"input",36),o(8,"label",37),f(9),m(10,"translate"),n(),o(11,"div",38)(12,"ol",39),R(13,f36,5,0,"li",40)(14,d36,3,0)(15,u36,5,0,"li",41)(16,h36,3,0)(17,m36,5,0,"li",42)(18,_36,3,0)(19,p36,5,0,"li",43)(20,g36,3,0),n()(),o(21,"label",35),f(22),m(23,"translate"),n(),o(24,"div",44)(25,"div",45)(26,"div",46)(27,"div",47)(28,"button",48),C("click",function(){return y(e),b(h().addBold())}),w(),o(29,"svg",49),v(30,"path",50),n(),O(),o(31,"span",51),f(32,"Bold"),n()(),o(33,"button",48),C("click",function(){return y(e),b(h().addItalic())}),w(),o(34,"svg",49),v(35,"path",52),n(),O(),o(36,"span",51),f(37,"Italic"),n()(),o(38,"button",48),C("click",function(){return y(e),b(h().addList())}),w(),o(39,"svg",53),v(40,"path",54),n(),O(),o(41,"span",51),f(42,"Add list"),n()(),o(43,"button",55),C("click",function(){return y(e),b(h().addOrderedList())}),w(),o(44,"svg",53),v(45,"path",56),n(),O(),o(46,"span",51),f(47,"Add ordered list"),n()(),o(48,"button",57),C("click",function(){return y(e),b(h().addBlockquote())}),w(),o(49,"svg",58),v(50,"path",59),n(),O(),o(51,"span",51),f(52,"Add blockquote"),n()(),o(53,"button",48),C("click",function(){return y(e),b(h().addTable())}),w(),o(54,"svg",60),v(55,"path",61),n(),O(),o(56,"span",51),f(57,"Add table"),n()(),o(58,"button",57),C("click",function(){return y(e),b(h().addCode())}),w(),o(59,"svg",60),v(60,"path",62),n(),O(),o(61,"span",51),f(62,"Add code"),n()(),o(63,"button",57),C("click",function(){return y(e),b(h().addCodeBlock())}),w(),o(64,"svg",60),v(65,"path",63),n(),O(),o(66,"span",51),f(67,"Add code block"),n()(),o(68,"button",57),C("click",function(){return y(e),b(h().addLink())}),w(),o(69,"svg",60),v(70,"path",64),n(),O(),o(71,"span",51),f(72,"Add link"),n()(),o(73,"button",55),C("click",function(t){y(e);const i=h();return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(74,"svg",65),v(75,"path",66),n(),O(),o(76,"span",51),f(77,"Add emoji"),n()()()(),o(78,"button",67),C("click",function(){y(e);const t=h();return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(79,"svg",53),v(80,"path",68)(81,"path",69),n(),O(),o(82,"span",51),f(83),m(84,"translate"),n()(),o(85,"div",70),f(86),m(87,"translate"),v(88,"div",71),n()(),o(89,"div",72)(90,"label",73),f(91,"Publish post"),n(),R(92,v36,1,1,"markdown",74)(93,H36,1,0)(94,C36,1,4,"emoji-mart",75),n()()(),o(95,"div",76)(96,"button",77),C("click",function(){return y(e),b(h().toggleChars())}),f(97),m(98,"translate"),w(),o(99,"svg",78),v(100,"path",79),n()()()}if(2&c){let e;const a=h();s(),H(_(2,37,"UPDATE_SERV_SPEC._general")),s(2),k("formGroup",a.generalForm),s(2),H(_(6,39,"UPDATE_SERV_SPEC._name")),s(2),k("ngClass",1==(null==(e=a.generalForm.get("name"))?null:e.invalid)&&""!=a.generalForm.value.name?"border-red-600":"border-gray-300"),s(2),H(_(10,41,"UPDATE_RES_SPEC._status")),s(4),S(13,"Active"==a.servStatus?13:14),s(2),S(15,"Launched"==a.servStatus?15:16),s(2),S(17,"Retired"==a.servStatus?17:18),s(2),S(19,"Obsolete"==a.servStatus?19:20),s(3),H(_(23,43,"UPDATE_SERV_SPEC._description")),s(6),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(84,45,"CREATE_CATALOG._preview")),s(3),V(" ",_(87,47,"CREATE_CATALOG._show_preview")," "),s(6),S(92,a.showPreview?92:93),s(2),S(94,a.showEmoji?94:-1),s(2),k("disabled",!a.generalForm.valid)("ngClass",a.generalForm.valid?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(98,49,"UPDATE_SERV_SPEC._next")," ")}}function V36(c,r){1&c&&(o(0,"div",93)(1,"div",97),w(),o(2,"svg",98),v(3,"path",99),n(),O(),o(4,"span",51),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"UPDATE_SERV_SPEC._no_chars")," "))}function M36(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function L36(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function y36(c,r){if(1&c&&R(0,M36,4,2)(1,L36,3,2),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function b36(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function x36(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function w36(c,r){if(1&c&&R(0,b36,4,3)(1,x36,3,3),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function F36(c,r){1&c&&R(0,y36,2,1)(1,w36,2,1),2&c&&S(0,r.$implicit.value?0:1)}function k36(c,r){if(1&c){const e=j();o(0,"tr",105)(1,"td",106),f(2),n(),o(3,"td",107),f(4),n(),o(5,"td",106),c1(6,F36,2,1,null,null,z1),n(),o(8,"td",108)(9,"button",109),C("click",function(){const t=y(e).$implicit;return b(h(3).deleteChar(t))}),w(),o(10,"svg",110),v(11,"path",111),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),a1(e.characteristicValueSpecification)}}function S36(c,r){if(1&c&&(o(0,"div",100)(1,"table",101)(2,"thead",102)(3,"tr")(4,"th",103),f(5),m(6,"translate"),n(),o(7,"th",104),f(8),m(9,"translate"),n(),o(10,"th",103),f(11),m(12,"translate"),n(),o(13,"th",103),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,k36,12,2,"tr",105,z1),n()()()),2&c){const e=h(2);s(5),V(" ",_(6,4,"UPDATE_SERV_SPEC._name")," "),s(3),V(" ",_(9,6,"UPDATE_SERV_SPEC._description")," "),s(3),V(" ",_(12,8,"UPDATE_SERV_SPEC._values")," "),s(3),V(" ",_(15,10,"UPDATE_SERV_SPEC._actions")," "),s(3),a1(e.prodChars)}}function N36(c,r){if(1&c){const e=j();o(0,"div",94)(1,"button",112),C("click",function(){y(e);const t=h(2);return b(t.showCreateChar=!t.showCreateChar)}),f(2),m(3,"translate"),w(),o(4,"svg",113),v(5,"path",114),n()()()}2&c&&(s(2),V(" ",_(3,1,"UPDATE_SERV_SPEC._new_char")," "))}function D36(c,r){if(1&c){const e=j();o(0,"div",131)(1,"div",132)(2,"input",133),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).selectDefaultChar(i,l))}),n(),o(3,"label",134),f(4),o(5,"i"),f(6),n()()(),o(7,"button",135),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).removeCharValue(i,l))}),w(),o(8,"svg",110),v(9,"path",111),n()()()}if(2&c){const e=r.$implicit;s(2),k("checked",null==e?null:e.isDefault),s(2),j1("",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function T36(c,r){1&c&&c1(0,D36,10,4,"div",131,z1),2&c&&a1(h(4).creatingChars)}function E36(c,r){if(1&c){const e=j();o(0,"div",131)(1,"div",132)(2,"input",136),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).selectDefaultChar(i,l))}),n(),o(3,"label",137),f(4),o(5,"i"),f(6),n()()(),o(7,"button",135),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).removeCharValue(i,l))}),w(),o(8,"svg",110),v(9,"path",111),n()()()}if(2&c){const e=r.$implicit;s(2),k("checked",null==e?null:e.isDefault),s(2),V("",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function A36(c,r){1&c&&c1(0,E36,10,3,"div",131,z1),2&c&&a1(h(4).creatingChars)}function P36(c,r){if(1&c&&(o(0,"label",125),f(1,"Values"),n(),o(2,"div",130),R(3,T36,2,0)(4,A36,2,0),n()),2&c){const e=h(3);s(3),S(3,e.rangeCharSelected?3:4)}}function R36(c,r){if(1&c){const e=j();o(0,"div",126),v(1,"input",138,0),o(3,"button",139),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(4,"svg",140),v(5,"path",114),n()()()}}function B36(c,r){if(1&c){const e=j();o(0,"div",141)(1,"div",142)(2,"span",143),f(3),m(4,"translate"),n(),v(5,"input",144,1),n(),o(7,"div",142)(8,"span",143),f(9),m(10,"translate"),n(),v(11,"input",145,2),n(),o(13,"button",139),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(14,"svg",140),v(15,"path",114),n()()()}2&c&&(s(3),V(" ",_(4,2,"UPDATE_SERV_SPEC._value")," "),s(6),V(" ",_(10,4,"UPDATE_SERV_SPEC._unit")," "))}function O36(c,r){if(1&c){const e=j();o(0,"div",141)(1,"div",142)(2,"span",146),f(3),m(4,"translate"),n(),v(5,"input",144,3),n(),o(7,"div",142)(8,"span",146),f(9),m(10,"translate"),n(),v(11,"input",144,4),n(),o(13,"div",142)(14,"span",146),f(15),m(16,"translate"),n(),v(17,"input",145,5),n(),o(19,"button",139),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(20,"svg",140),v(21,"path",114),n()()()}2&c&&(s(3),V(" ",_(4,3,"UPDATE_SERV_SPEC._from")," "),s(6),V(" ",_(10,5,"UPDATE_SERV_SPEC._to")," "),s(6),V(" ",_(16,7,"UPDATE_SERV_SPEC._unit")," "))}function I36(c,r){if(1&c){const e=j();o(0,"form",115)(1,"div")(2,"label",35),f(3),m(4,"translate"),n(),v(5,"input",116),n(),o(6,"div")(7,"label",37),f(8),m(9,"translate"),n(),o(10,"select",117),C("change",function(t){return y(e),b(h(2).onTypeChange(t))}),o(11,"option",118),f(12,"String"),n(),o(13,"option",119),f(14,"Number"),n(),o(15,"option",120),f(16,"Number range"),n()()(),o(17,"div",121)(18,"label",122),f(19),m(20,"translate"),n(),v(21,"textarea",123),n()(),o(22,"div",124),R(23,P36,5,1),o(24,"label",125),f(25),m(26,"translate"),n(),R(27,R36,6,0,"div",126)(28,B36,16,6)(29,O36,22,9),o(30,"div",127)(31,"button",128),C("click",function(){return y(e),b(h(2).saveChar())}),f(32),m(33,"translate"),w(),o(34,"svg",113),v(35,"path",129),n()()()()}if(2&c){const e=h(2);k("formGroup",e.charsForm),s(3),H(_(4,10,"PROFILE._name")),s(5),H(_(9,12,"UPDATE_SERV_SPEC._type")),s(11),H(_(20,14,"UPDATE_SERV_SPEC._description")),s(4),S(23,e.creatingChars.length>0?23:-1),s(2),H(_(26,16,"UPDATE_SERV_SPEC._add_values")),s(2),S(27,e.stringCharSelected?27:e.numberCharSelected?28:e.rangeCharSelected?29:-1),s(4),k("disabled",!e.charsForm.valid||0==e.creatingChars.length)("ngClass",e.charsForm.valid&&0!=e.creatingChars.length?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(33,18,"UPDATE_SERV_SPEC._save_char")," ")}}function U36(c,r){if(1&c){const e=j();o(0,"h2",19),f(1),m(2,"translate"),n(),R(3,V36,9,3,"div",93)(4,S36,19,12)(5,N36,6,3,"div",94)(6,I36,36,20),o(7,"div",95)(8,"button",96),C("click",function(){return y(e),b(h().showFinish())}),f(9),m(10,"translate"),w(),o(11,"svg",78),v(12,"path",79),n()()()}if(2&c){const e=h();s(),H(_(2,4,"UPDATE_SERV_SPEC._chars")),s(2),S(3,0===e.prodChars.length?3:4),s(2),S(5,0==e.showCreateChar?5:6),s(4),V(" ",_(10,6,"UPDATE_SERV_SPEC._finish")," ")}}function j36(c,r){if(1&c&&(o(0,"span",151),f(1),n()),2&c){const e=h(2);s(),H(null==e.serviceToUpdate?null:e.serviceToUpdate.lifecycleStatus)}}function $36(c,r){if(1&c&&(o(0,"span",153),f(1),n()),2&c){const e=h(2);s(),H(null==e.serviceToUpdate?null:e.serviceToUpdate.lifecycleStatus)}}function Y36(c,r){if(1&c&&(o(0,"span",154),f(1),n()),2&c){const e=h(2);s(),H(null==e.serviceToUpdate?null:e.serviceToUpdate.lifecycleStatus)}}function G36(c,r){if(1&c&&(o(0,"span",155),f(1),n()),2&c){const e=h(2);s(),H(null==e.serviceToUpdate?null:e.serviceToUpdate.lifecycleStatus)}}function q36(c,r){if(1&c&&(o(0,"label",37),f(1),m(2,"translate"),n(),o(3,"div",156),v(4,"markdown",74),n()),2&c){const e=h(2);s(),H(_(2,2,"CREATE_PROD_SPEC._product_description")),s(3),k("data",null==e.serviceToUpdate?null:e.serviceToUpdate.description)}}function W36(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function Z36(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function K36(c,r){if(1&c&&R(0,W36,4,2)(1,Z36,3,2),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function Q36(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function J36(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function X36(c,r){if(1&c&&R(0,Q36,4,3)(1,J36,3,3),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function e66(c,r){1&c&&R(0,K36,2,1)(1,X36,2,1),2&c&&S(0,r.$implicit.value?0:1)}function c66(c,r){if(1&c&&(o(0,"tr",105)(1,"td",106),f(2),n(),o(3,"td",107),f(4),n(),o(5,"td",106),c1(6,e66,2,1,null,null,z1),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),a1(e.characteristicValueSpecification)}}function a66(c,r){if(1&c&&(o(0,"label",37),f(1),m(2,"translate"),n(),o(3,"div",157)(4,"table",101)(5,"thead",102)(6,"tr")(7,"th",103),f(8),m(9,"translate"),n(),o(10,"th",104),f(11),m(12,"translate"),n(),o(13,"th",103),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,c66,8,2,"tr",105,z1),n()()()),2&c){const e=h(2);s(),H(_(2,4,"CREATE_PROD_SPEC._chars")),s(7),V(" ",_(9,6,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(12,8,"CREATE_PROD_SPEC._product_description")," "),s(3),V(" ",_(15,10,"CREATE_PROD_SPEC._values")," "),s(3),a1(null==e.serviceToUpdate?null:e.serviceToUpdate.specCharacteristic)}}function r66(c,r){if(1&c){const e=j();o(0,"h2",19),f(1),m(2,"translate"),n(),o(3,"div",147)(4,"div")(5,"label",37),f(6),m(7,"translate"),n(),o(8,"label",148),f(9),n()(),o(10,"div",149)(11,"label",150),f(12),m(13,"translate"),n(),R(14,j36,2,1,"span",151)(15,$36,2,1)(16,Y36,2,1)(17,G36,2,1),n(),R(18,q36,5,4)(19,a66,19,12),o(20,"div",152)(21,"button",77),C("click",function(){return y(e),b(h().updateService())}),f(22),m(23,"translate"),w(),o(24,"svg",78),v(25,"path",79),n()()()()}if(2&c){const e=h();s(),H(_(2,10,"CREATE_PROD_SPEC._finish")),s(5),H(_(7,12,"CREATE_PROD_SPEC._product_name")),s(3),V(" ",null==e.serviceToUpdate?null:e.serviceToUpdate.name," "),s(3),H(_(13,14,"CREATE_PROD_SPEC._status")),s(2),S(14,"Active"==(null==e.serviceToUpdate?null:e.serviceToUpdate.lifecycleStatus)?14:"Launched"==(null==e.serviceToUpdate?null:e.serviceToUpdate.lifecycleStatus)?15:"Retired"==(null==e.serviceToUpdate?null:e.serviceToUpdate.lifecycleStatus)?16:"Obsolete"==(null==e.serviceToUpdate?null:e.serviceToUpdate.lifecycleStatus)?17:-1),s(4),S(18,""!=(null==e.serviceToUpdate?null:e.serviceToUpdate.description)?18:-1),s(),S(19,e.prodChars.length>0?19:-1),s(2),k("disabled",!e.generalForm.valid)("ngClass",e.generalForm.valid?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(23,16,"UPDATE_SERV_SPEC._update_serv")," ")}}function t66(c,r){1&c&&v(0,"error-message",33),2&c&&k("message",h().errorMessage)}let i66=(()=>{class c{constructor(e,a,t,i,l,d){this.router=e,this.cdr=a,this.localStorage=t,this.eventMessage=i,this.elementRef=l,this.servSpecService=d,this.partyId="",this.stepsElements=["general-info","chars","summary"],this.stepsCircles=["general-circle","chars-circle","summary-circle"],this.showPreview=!1,this.showEmoji=!1,this.description="",this.showGeneral=!0,this.showChars=!1,this.showSummary=!1,this.generalForm=new S2({name:new u1("",[O1.required]),description:new u1("")}),this.charsForm=new S2({name:new u1("",[O1.required]),description:new u1("")}),this.stringCharSelected=!0,this.numberCharSelected=!1,this.rangeCharSelected=!1,this.prodChars=[],this.creatingChars=[],this.showCreateChar=!1,this.errorMessage="",this.showError=!1,this.eventMessage.messages$.subscribe(u=>{"ChangedSession"===u.type&&this.initPartyInfo()})}onClick(){1==this.showEmoji&&(this.showEmoji=!1,this.cdr.detectChanges())}ngOnInit(){this.initPartyInfo(),console.log(this.serv),this.populateResInfo()}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0)if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}}populateResInfo(){this.generalForm.controls.name.setValue(this.serv.name),this.generalForm.controls.description.setValue(this.serv.description),this.servStatus=this.serv.lifecycleStatus,this.prodChars=this.serv.specCharacteristic}goBack(){this.eventMessage.emitSellerServiceSpec(!0)}setServStatus(e){this.servStatus=e,this.cdr.detectChanges()}toggleGeneral(){this.selectStep("general-info","general-circle"),this.showGeneral=!0,this.showChars=!1,this.showSummary=!1,this.showPreview=!1}toggleChars(){this.selectStep("chars","chars-circle"),this.showGeneral=!1,this.showChars=!0,this.showSummary=!1,this.showPreview=!1}onTypeChange(e){"string"==e.target.value?(this.stringCharSelected=!0,this.numberCharSelected=!1,this.rangeCharSelected=!1):"number"==e.target.value?(this.stringCharSelected=!1,this.numberCharSelected=!0,this.rangeCharSelected=!1):(this.stringCharSelected=!1,this.numberCharSelected=!1,this.rangeCharSelected=!0),this.creatingChars=[]}addCharValue(){this.stringCharSelected?(console.log("string"),this.creatingChars.push(0==this.creatingChars.length?{isDefault:!0,value:this.charStringValue.nativeElement.value}:{isDefault:!1,value:this.charStringValue.nativeElement.value})):this.numberCharSelected?(console.log("number"),this.creatingChars.push(0==this.creatingChars.length?{isDefault:!0,value:this.charNumberValue.nativeElement.value,unitOfMeasure:this.charNumberUnit.nativeElement.value}:{isDefault:!1,value:this.charNumberValue.nativeElement.value,unitOfMeasure:this.charNumberUnit.nativeElement.value})):(console.log("range"),this.creatingChars.push(0==this.creatingChars.length?{isDefault:!0,valueFrom:this.charFromValue.nativeElement.value,valueTo:this.charToValue.nativeElement.value,unitOfMeasure:this.charRangeUnit.nativeElement.value}:{isDefault:!1,valueFrom:this.charFromValue.nativeElement.value,valueTo:this.charToValue.nativeElement.value,unitOfMeasure:this.charRangeUnit.nativeElement.value}))}selectDefaultChar(e,a){for(let t=0;tt.id===e.id);-1!==a&&(console.log("eliminar"),this.prodChars.splice(a,1)),this.cdr.detectChanges(),console.log(this.prodChars)}showFinish(){null!=this.generalForm.value.name&&(this.serviceToUpdate={name:this.generalForm.value.name,description:null!=this.generalForm.value.description?this.generalForm.value.description:"",lifecycleStatus:this.servStatus,specCharacteristic:this.prodChars},this.showChars=!1,this.showGeneral=!1,this.showSummary=!0,this.selectStep("summary","summary-circle")),this.showPreview=!1}updateService(){this.servSpecService.updateServSpec(this.serviceToUpdate,this.serv.id).subscribe({next:e=>{this.goBack(),console.log("serv updated")},error:e=>{console.error("There was an error while updating!",e),e.error.error?(console.log(e),this.errorMessage="Error: "+e.error.error):this.errorMessage="There was an error while updating the service!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}removeClass(e,a){e.className=(" "+e.className+" ").replace(" "+a+" "," ").replace(/^\s+|\s+$/g,"")}addClass(e,a){e.className+=" "+a}unselectMenu(e,a){null!=e&&(e.className.match(a)?this.removeClass(e,a):console.log("already unselected"))}selectMenu(e,a){null!=e&&(e.className.match(a)?console.log("already selected"):this.addClass(e,a))}selectStep(e,a){const t=this.stepsElements.findIndex(l=>l===e);if(-1!==t){this.stepsElements.splice(t,1),this.selectMenu(document.getElementById(e),"text-primary-100 dark:text-primary-50"),this.unselectMenu(document.getElementById(e),"text-gray-500");for(let l=0;ll===a);if(-1!==t){this.stepsCircles.splice(i,1),this.selectMenu(document.getElementById(a),"border-primary-100 dark:border-primary-50"),this.unselectMenu(document.getElementById(a),"border-gray-400");for(let l=0;l blockquote"})}addLink(){this.generalForm.patchValue({description:this.generalForm.value.description+" [title](https://www.example.com) "})}addTable(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"})}addEmoji(e){console.log(e),this.showEmoji=!1,this.generalForm.patchValue({description:this.generalForm.value.description+e.emoji.native})}togglePreview(){this.generalForm.value.description&&(this.description=this.generalForm.value.description)}static#e=this.\u0275fac=function(a){return new(a||c)(B(Q1),B(B1),B(A1),B(e2),B(C2),B(N4))};static#c=this.\u0275cmp=V1({type:c,selectors:[["update-service-spec"]],viewQuery:function(a,t){if(1&a&&(b1(r36,5),b1(t36,5),b1(i36,5),b1(o36,5),b1(n36,5),b1(s36,5)),2&a){let i;M1(i=L1())&&(t.charStringValue=i.first),M1(i=L1())&&(t.charNumberValue=i.first),M1(i=L1())&&(t.charNumberUnit=i.first),M1(i=L1())&&(t.charFromValue=i.first),M1(i=L1())&&(t.charToValue=i.first),M1(i=L1())&&(t.charRangeUnit=i.first)}},hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},inputs:{serv:"serv"},decls:64,vars:34,consts:[["stringValue",""],["numberValue",""],["numberUnit",""],["fromValue",""],["toValue",""],["rangeUnit",""],[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-gray-200","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800","dark:text-white"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","mt-4","p-8","rounded-lg"],[1,"text-3xl","font-bold","text-primary-100","ml-4","dark:text-white"],[1,"h-px","m-4","bg-gray-300","dark:bg-gray-200","border-0"],[1,"md:grid","md:grid-cols-25/75","xl:grid-cols-20/80"],[1,"flex","sm:flex-row","md:flex-col","md:mr-4","w-full","overflow-x-auto","max-w-[calc(100vw-5rem)]"],[1,"hidden","md:block","text-xl","font-bold","text-black","mb-4","dark:text-white"],["id","general-info",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-primary-100","dark:text-primary-50","justify-items-center","md:justify-items-start",3,"click"],["id","general-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-primary-100","dark:border-primary-50","rounded-full","shrink-0"],[1,"flex","leading-tight","justify-start"],[1,"hidden","xl:flex","text-xs","justify-start"],[1,"h-px","mb-2","bg-gray-300","dark:bg-gray-200","border-0"],["id","chars",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","chars-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","summary",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","summary-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],[1,"fixed","w-fit","top-1/2","left-1/2",3,"message"],[1,"m-4","gap-4",3,"formGroup"],["for","prod-name",1,"font-bold","text-lg","dark:text-white"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],[1,"font-bold","text-lg","dark:text-white"],[1,"mb-2"],[1,"flex","items-center","w-full","text-sm","font-medium","text-center","text-gray-500","dark:text-gray-400","sm:text-base"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-blue-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-green-700","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-yellow-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","items-center"],[1,"w-full","col-span-2","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200"],[1,"flex","items-center","justify-between","px-3","py-2","border-b"],[1,"flex","flex-wrap","items-center","divide-gray-200","dark:divide-secondary-200","sm:divide-x","sm:rtl:divide-x-reverse"],[1,"flex","items-center","space-x-1","rtl:space-x-reverse","sm:pe-4","text-gray-500","dark:text-gray-200"],["type","button",1,"p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 5h4.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0-7H6m2 7h6.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0 0H6"],[1,"sr-only"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8.874 19 6.143-14M6 19h6.33m-.66-14H18"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M9 8h10M9 12h10M9 16h10M4.99 8H5m-.02 4h.01m0 4H5"],["type","button",1,"hidden","lg:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4"],["type","button",1,"hidden","md:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["fill-rule","evenodd","d","M5 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm0 12a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm1.65-9.76A1 1 0 0 0 5 9v6a1 1 0 0 0 1.65.76l3.5-3a1 1 0 0 0 0-1.52l-3.5-3ZM12 10a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Zm0 4a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Z","clip-rule","evenodd"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-width","2","d","M3 11h18m-9 0v8m-8 0h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 3v4a1 1 0 0 1-1 1H5m5 4-2 2 2 2m4-4 2 2-2 2m5-12v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M13.213 9.787a3.391 3.391 0 0 0-4.795 0l-3.425 3.426a3.39 3.39 0 0 0 4.795 4.794l.321-.304m-.321-4.49a3.39 3.39 0 0 0 4.795 0l3.424-3.426a3.39 3.39 0 0 0-4.794-4.795l-1.028.961"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-4","h-4"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM13.5 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm-7 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm3.5 9.5A5.5 5.5 0 0 1 4.6 11h10.81A5.5 5.5 0 0 1 10 15.5Z"],["type","button","data-tooltip-target","tooltip-fullscreen",1,"rounded","cursor-pointer","text-gray-500","dark:text-gray-200","p-2","sm:ms-auto","hover:text-gray-900","dark:hover:text-gray-900","hover:bg-gray-100",3,"click"],["stroke","currentColor","stroke-width","2","d","M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z"],["stroke","currentColor","stroke-width","2","d","M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"],["id","tooltip-fullscreen","role","tooltip",1,"absolute","z-10","invisible","inline-block","px-3","py-2","text-sm","font-medium","text-white","transition-opacity","duration-300","bg-gray-900","rounded-lg","shadow-sm","opacity-0","tooltip"],["data-popper-arrow","",1,"tooltip-arrow"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","rounded-b-lg"],["for","editor",1,"sr-only"],[1,"bg-gray-50","dark:bg-secondary-300","dark:text-white","text-gray-900","text-wrap","break-all",3,"data"],[3,"darkMode","style"],[1,"flex","w-full","justify-items-end","justify-end"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-blue-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-blue-500"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M8.737 8.737a21.49 21.49 0 0 1 3.308-2.724m0 0c3.063-2.026 5.99-2.641 7.331-1.3 1.827 1.828.026 6.591-4.023 10.64-4.049 4.049-8.812 5.85-10.64 4.023-1.33-1.33-.736-4.218 1.249-7.253m6.083-6.11c-3.063-2.026-5.99-2.641-7.331-1.3-1.827 1.828-.026 6.591 4.023 10.64m3.308-9.34a21.497 21.497 0 0 1 3.308 2.724m2.775 3.386c1.985 3.035 2.579 5.923 1.248 7.253-1.336 1.337-4.245.732-7.295-1.275M14 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-green-700","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-green-700"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-yellow-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-yellow-500"],[1,"cursor-pointer","flex","items-center",3,"click"],[1,"flex","items-center","text-red-800"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-red-800"],["id","editor","formControlName","description","rows","8","placeholder","Add product description...",1,"block","w-full","px-0","text-sm","text-gray-800","dark:text-gray-200","bg-white","dark:bg-secondary-300","border-0"],[3,"click","emojiClick","darkMode"],[1,"flex","justify-center","w-full","m-4"],[1,"flex","w-full","justify-items-center","justify-center"],[1,"flex","w-full","justify-items-end","justify-end","ml-4","mt-4"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","m-4"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"hidden","lg:table-cell","px-6","py-3"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"px-6","py-4","text-wrap","break-all"],[1,"hidden","lg:table-cell","px-6","py-4","text-wrap","break-all"],[1,"px-6","py-4"],[1,"font-bold","text-white","bg-red-500","rounded-3xl",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4","text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M6 18 17.94 6M18 18 6.06 6"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],[1,"m-4","md:grid","md:grid-cols-2","gap-4",3,"formGroup"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["id","type",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],["selected","","value","string"],["value","number"],["value","range"],[1,"col-span-2"],["for","description",1,"font-bold","text-lg","dark:text-white"],["id","description","formControlName","description","rows","4",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"m-4"],["for","values",1,"font-bold","text-lg","dark:text-white"],[1,"flex","flex-row","items-center","align-items-middle"],[1,"flex","w-full","justify-items-center","justify-center","mt-4"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M11 16h2m6.707-9.293-2.414-2.414A1 1 0 0 0 16.586 4H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7.414a1 1 0 0 0-.293-.707ZM16 20v-6a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v6h8ZM9 4h6v3a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V4Z"],[1,"flex","flex-col","items-start","pl-4","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","border","border-gray-300","mb-2"],[1,"flex","w-full","justify-between"],[1,"align-items-middle","align-middle"],["id","disabled-checked-checkbox","type","checkbox","value","",1,"align-middle","w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded-full","focus:ring-blue-500","focus:ring-2",3,"click","checked"],["for","disabled-checked-checkbox",1,"ms-2","align-middle","text-sm","font-medium","text-gray-700","dark:text-white","text-wrap","break-all"],[1,"m-2","text-white","bg-red-500","rounded-3xl",3,"click"],["id","disabled-checked-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded-full","focus:ring-blue-500","focus:ring-2",3,"click","checked"],["for","disabled-checked-checkbox",1,"ms-2","text-sm","font-medium","text-gray-700","dark:text-white","text-wrap","break-all"],["type","text","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["type","button",1,"text-white","w-fit","h-full","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-white"],[1,"flex","flex-col","md:flex-row","items-center","align-items-middle"],[1,"flex","w-full","mb-2","md:mb-0"],[1,"inline-flex","items-center","px-3","text-sm","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","bg-gray-200","border","rounded-e-0","border-gray-300","border-e-0","rounded-s-md"],["type","number","pattern","[0-9]*","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["type","text","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"inline-flex","items-center","px-3","text-sm","text-gray-900","bg-gray-200","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","border","rounded-e-0","border-gray-300","border-e-0","rounded-s-md"],[1,"m-8"],[1,"mb-2","bg-gray-50","text-wrap","break-all","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"mb-4"],[1,"font-bold","text-lg","mr-4","dark:text-white"],[1,"bg-blue-100","dark:bg-secondary-100","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"flex","w-full","justify-items-end","justify-end","ml-4"],[1,"bg-blue-100","dark:bg-secondary-100","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-100","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-100","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","border","dark:border-secondary-200","rounded-lg","p-4","mb-4"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","mb-4"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",6)(2,"nav",7)(3,"ol",8)(4,"li",9)(5,"button",10),C("click",function(){return t.goBack()}),w(),o(6,"svg",11),v(7,"path",12),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",13)(11,"div",14),w(),o(12,"svg",15),v(13,"path",16),n(),O(),o(14,"span",17),f(15),m(16,"translate"),n()()()()()(),o(17,"div",18)(18,"h2",19),f(19),m(20,"translate"),n(),v(21,"hr",20),o(22,"div",21)(23,"div",22)(24,"h2",23),f(25),m(26,"translate"),n(),o(27,"button",24),C("click",function(){return t.toggleGeneral()}),o(28,"span",25),f(29," 1 "),n(),o(30,"span")(31,"h3",26),f(32),m(33,"translate"),n(),o(34,"p",27),f(35),m(36,"translate"),n()()(),v(37,"hr",28),o(38,"button",29),C("click",function(){return t.toggleChars()}),o(39,"span",30),f(40," 2 "),n(),o(41,"span")(42,"h3",26),f(43),m(44,"translate"),n(),o(45,"p",27),f(46),m(47,"translate"),n()()(),v(48,"hr",28),o(49,"button",31),C("click",function(){return t.showFinish()}),o(50,"span",32),f(51," 3 "),n(),o(52,"span")(53,"h3",26),f(54),m(55,"translate"),n(),o(56,"p",27),f(57),m(58,"translate"),n()()()(),o(59,"div"),R(60,z36,101,51)(61,U36,13,8)(62,r66,26,18),n()()()(),R(63,t66,1,1,"error-message",33)),2&a&&(s(8),V(" ",_(9,14,"UPDATE_SERV_SPEC._back")," "),s(7),H(_(16,16,"UPDATE_SERV_SPEC._update")),s(4),H(_(20,18,"UPDATE_SERV_SPEC._update_serv")),s(6),H(_(26,20,"UPDATE_SERV_SPEC._steps")),s(7),H(_(33,22,"UPDATE_SERV_SPEC._general")),s(3),H(_(36,24,"UPDATE_SERV_SPEC._general_info")),s(8),H(_(44,26,"UPDATE_SERV_SPEC._chars")),s(3),H(_(47,28,"UPDATE_SERV_SPEC._chars_info")),s(8),H(_(55,30,"CREATE_PROD_SPEC._finish")),s(3),H(_(58,32,"CREATE_PROD_SPEC._summary")),s(3),S(60,t.showGeneral?60:-1),s(),S(61,t.showChars?61:-1),s(),S(62,t.showSummary?62:-1),s(),S(63,t.showError?63:-1))},dependencies:[k2,I4,x6,w6,H4,S4,O4,X4,f3,G3,_4,C4,X1]})}return c})();const o66=["updatemetric"],n66=["responsemetric"],s66=["delaymetric"],l66=["usageUnit"],f66=["usageUnitUpdate"],d66=["usageUnitAlter"],Xt=(c,r)=>r.id,dm1=(c,r)=>r.code,Wl=()=>({position:"relative",left:"200px",top:"-500px"});function u66(c,r){if(1&c){const e=j();o(0,"li",94),C("click",function(){return y(e),b(h(2).setOfferStatus("Active"))}),o(1,"span",16),w(),o(2,"svg",95),v(3,"path",96),n(),f(4," Active "),n()()}}function h66(c,r){if(1&c){const e=j();o(0,"li",97),C("click",function(){return y(e),b(h(2).setOfferStatus("Active"))}),o(1,"span",16),f(2," Active "),n()()}}function m66(c,r){if(1&c){const e=j();o(0,"li",98),C("click",function(){return y(e),b(h(2).setOfferStatus("Launched"))}),o(1,"span",16),w(),o(2,"svg",99),v(3,"path",96),n(),f(4," Launched "),n()()}}function _66(c,r){if(1&c){const e=j();o(0,"li",97),C("click",function(){return y(e),b(h(2).setOfferStatus("Launched"))}),o(1,"span",16),f(2," Launched "),n()()}}function p66(c,r){if(1&c){const e=j();o(0,"li",100),C("click",function(){return y(e),b(h(2).setOfferStatus("Retired"))}),o(1,"span",16),w(),o(2,"svg",101),v(3,"path",96),n(),f(4," Retired "),n()()}}function g66(c,r){if(1&c){const e=j();o(0,"li",97),C("click",function(){return y(e),b(h(2).setOfferStatus("Retired"))}),o(1,"span",16),f(2," Retired "),n()()}}function v66(c,r){if(1&c){const e=j();o(0,"li",102),C("click",function(){return y(e),b(h(2).setOfferStatus("Obsolete"))}),o(1,"span",103),w(),o(2,"svg",104),v(3,"path",96),n(),f(4," Obsolete "),n()()}}function H66(c,r){if(1&c){const e=j();o(0,"li",102),C("click",function(){return y(e),b(h(2).setOfferStatus("Obsolete"))}),o(1,"span",16),f(2," Obsolete "),n()()}}function C66(c,r){1&c&&v(0,"markdown",88),2&c&&k("data",h(2).description)}function z66(c,r){1&c&&v(0,"textarea",105)}function V66(c,r){if(1&c){const e=j();o(0,"emoji-mart",106),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(2).addEmoji(t))}),n()}2&c&&(Y2(E4(3,Wl)),k("darkMode",!1))}function M66(c,r){if(1&c){const e=j();o(0,"h2",21),f(1),m(2,"translate"),n(),o(3,"form",45)(4,"div")(5,"label",46),f(6),m(7,"translate"),n(),v(8,"input",47),n(),o(9,"label",48),f(10),m(11,"translate"),n(),o(12,"div",49)(13,"ol",50),R(14,u66,5,0,"li",51)(15,h66,3,0)(16,m66,5,0,"li",52)(17,_66,3,0)(18,p66,5,0,"li",53)(19,g66,3,0)(20,v66,5,0,"li",54)(21,H66,3,0),n()(),o(22,"div")(23,"label",55),f(24),m(25,"translate"),n(),v(26,"input",56),n(),o(27,"label",57),f(28),m(29,"translate"),n(),o(30,"div",58)(31,"div",59)(32,"div",60)(33,"div",61)(34,"button",62),C("click",function(){return y(e),b(h().addBold())}),w(),o(35,"svg",63),v(36,"path",64),n(),O(),o(37,"span",65),f(38,"Bold"),n()(),o(39,"button",62),C("click",function(){return y(e),b(h().addItalic())}),w(),o(40,"svg",63),v(41,"path",66),n(),O(),o(42,"span",65),f(43,"Italic"),n()(),o(44,"button",62),C("click",function(){return y(e),b(h().addList())}),w(),o(45,"svg",67),v(46,"path",68),n(),O(),o(47,"span",65),f(48,"Add list"),n()(),o(49,"button",69),C("click",function(){return y(e),b(h().addOrderedList())}),w(),o(50,"svg",67),v(51,"path",70),n(),O(),o(52,"span",65),f(53,"Add ordered list"),n()(),o(54,"button",71),C("click",function(){return y(e),b(h().addBlockquote())}),w(),o(55,"svg",72),v(56,"path",73),n(),O(),o(57,"span",65),f(58,"Add blockquote"),n()(),o(59,"button",62),C("click",function(){return y(e),b(h().addTable())}),w(),o(60,"svg",74),v(61,"path",75),n(),O(),o(62,"span",65),f(63,"Add table"),n()(),o(64,"button",71),C("click",function(){return y(e),b(h().addCode())}),w(),o(65,"svg",74),v(66,"path",76),n(),O(),o(67,"span",65),f(68,"Add code"),n()(),o(69,"button",71),C("click",function(){return y(e),b(h().addCodeBlock())}),w(),o(70,"svg",74),v(71,"path",77),n(),O(),o(72,"span",65),f(73,"Add code block"),n()(),o(74,"button",71),C("click",function(){return y(e),b(h().addLink())}),w(),o(75,"svg",74),v(76,"path",78),n(),O(),o(77,"span",65),f(78,"Add link"),n()(),o(79,"button",69),C("click",function(t){y(e);const i=h();return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(80,"svg",79),v(81,"path",80),n(),O(),o(82,"span",65),f(83,"Add emoji"),n()()()(),o(84,"button",81),C("click",function(){y(e);const t=h();return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(85,"svg",67),v(86,"path",82)(87,"path",83),n(),O(),o(88,"span",65),f(89),m(90,"translate"),n()(),o(91,"div",84),f(92),m(93,"translate"),v(94,"div",85),n()(),o(95,"div",86)(96,"label",87),f(97,"Publish post"),n(),R(98,C66,1,1,"markdown",88)(99,z66,1,0)(100,V66,1,4,"emoji-mart",89),n()()(),o(101,"div",90)(102,"button",91),C("click",function(){return y(e),b(h().toggleBundle())}),f(103),m(104,"translate"),w(),o(105,"svg",92),v(106,"path",93),n()()()}if(2&c){let e,a;const t=h();s(),H(_(2,39,"UPDATE_OFFER._general")),s(2),k("formGroup",t.generalForm),s(3),H(_(7,41,"UPDATE_OFFER._name")),s(2),k("ngClass",1==(null==(e=t.generalForm.get("name"))?null:e.invalid)&&""!=t.generalForm.value.name?"border-red-600":"border-gray-300"),s(2),H(_(11,43,"UPDATE_RES_SPEC._status")),s(4),S(14,"Active"==t.offerStatus?14:15),s(2),S(16,"Launched"==t.offerStatus?16:17),s(2),S(18,"Retired"==t.offerStatus?18:19),s(2),S(20,"Obsolete"==t.offerStatus?20:21),s(4),H(_(25,45,"UPDATE_OFFER._version")),s(2),k("ngClass",1==(null==(a=t.generalForm.get("version"))?null:a.invalid)?"border-red-600":"border-gray-300"),s(2),H(_(29,47,"UPDATE_OFFER._description")),s(6),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(90,49,"CREATE_CATALOG._preview")),s(3),V(" ",_(93,51,"CREATE_CATALOG._show_preview")," "),s(6),S(98,t.showPreview?98:99),s(2),S(100,t.showEmoji?100:-1),s(2),k("disabled",!t.generalForm.valid)("ngClass",t.generalForm.valid?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(104,53,"UPDATE_OFFER._next")," ")}}function L66(c,r){1&c&&(o(0,"div",114),w(),o(1,"svg",115),v(2,"path",116)(3,"path",117),n(),O(),o(4,"span",65),f(5,"Loading..."),n()())}function y66(c,r){if(1&c&&(o(0,"span",126),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function b66(c,r){if(1&c&&(o(0,"span",129),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function x66(c,r){if(1&c&&(o(0,"span",130),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function w66(c,r){if(1&c&&(o(0,"span",131),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function F66(c,r){1&c&&(o(0,"span",126),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"UPDATE_OFFER._simple")))}function k66(c,r){1&c&&(o(0,"span",129),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"UPDATE_OFFER._bundle")))}function S66(c,r){if(1&c&&(o(0,"tr",123)(1,"td",124),f(2),n(),o(3,"td",125),R(4,y66,2,1,"span",126)(5,b66,2,1)(6,x66,2,1)(7,w66,2,1),n(),o(8,"td",125),R(9,F66,3,3,"span",126)(10,k66,3,3),n(),o(11,"td",125),f(12),m(13,"date"),n(),o(14,"td",127),v(15,"input",128),n()()),2&c){const e=r.$implicit,a=h(4);s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1),s(5),S(9,0==e.isBundle?9:10),s(3),V(" ",L2(13,5,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," "),s(3),k("checked",a.isProdInBundle(e))}}function N66(c,r){if(1&c&&(o(0,"div",118)(1,"table",119)(2,"thead",120)(3,"tr")(4,"th",121),f(5),m(6,"translate"),n(),o(7,"th",122),f(8),m(9,"translate"),n(),o(10,"th",122),f(11),m(12,"translate"),n(),o(13,"th",122),f(14),m(15,"translate"),n(),o(16,"th",121),f(17),m(18,"translate"),n()()(),o(19,"tbody"),c1(20,S66,16,8,"tr",123,Xt),n()()()),2&c){const e=h(3);s(5),V(" ",_(6,5,"UPDATE_OFFER._name")," "),s(3),V(" ",_(9,7,"UPDATE_OFFER._status")," "),s(3),V(" ",_(12,9,"UPDATE_OFFER._type")," "),s(3),V(" ",_(15,11,"UPDATE_OFFER._last_update")," "),s(3),V(" ",_(18,13,"UPDATE_OFFER._select")," "),s(3),a1(e.bundledOffers)}}function D66(c,r){if(1&c){const e=j();o(0,"div",132)(1,"button",133),C("click",function(){return y(e),b(h(4).nextBundle())}),f(2),m(3,"translate"),w(),o(4,"svg",134),v(5,"path",135),n()()()}2&c&&(s(2),V(" ",_(3,1,"UPDATE_OFFER._load_more")," "))}function T66(c,r){1&c&&R(0,D66,6,3,"div",132),2&c&&S(0,h(3).bundlePageCheck?0:-1)}function E66(c,r){1&c&&(o(0,"div",136),w(),o(1,"svg",115),v(2,"path",116)(3,"path",117),n(),O(),o(4,"span",65),f(5,"Loading..."),n()())}function A66(c,r){if(1&c&&R(0,L66,6,0,"div",114)(1,N66,22,15)(2,T66,1,1)(3,E66,6,0),2&c){const e=h(2);S(0,e.loadingBundle?0:1),s(2),S(2,e.loadingBundle_more?3:2)}}function P66(c,r){if(1&c){const e=j();o(0,"h2",107),f(1),m(2,"translate"),n(),o(3,"div",108)(4,"label",109),f(5),m(6,"translate"),n(),o(7,"label",110),v(8,"input",111)(9,"div",112),n()(),R(10,A66,4,2),o(11,"div",90)(12,"button",113),C("click",function(){return y(e),b(h().toggleProdSpec())}),f(13),m(14,"translate"),w(),o(15,"svg",92),v(16,"path",93),n()()()}if(2&c){const e=h();s(),H(_(2,6,"UPDATE_OFFER._bundle")),s(4),H(_(6,8,"UPDATE_OFFER._is_bundled")),s(5),S(10,e.bundleChecked?10:-1),s(2),k("disabled",e.offersBundle.length<2&&e.bundleChecked)("ngClass",e.offersBundle.length<2&&e.bundleChecked?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(14,10,"UPDATE_OFFER._next")," ")}}function R66(c,r){1&c&&(o(0,"div",138)(1,"div",139),w(),o(2,"svg",140),v(3,"path",141),n(),O(),o(4,"span",65),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"UPDATE_OFFER._no_prod_spec")," "))}function B66(c,r){1&c&&(o(0,"div",114),w(),o(1,"svg",115),v(2,"path",116)(3,"path",117),n(),O(),o(4,"span",65),f(5,"Loading..."),n()())}function O66(c,r){if(1&c&&(o(0,"span",126),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function I66(c,r){if(1&c&&(o(0,"span",129),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function U66(c,r){if(1&c&&(o(0,"span",130),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function j66(c,r){if(1&c&&(o(0,"span",131),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function $66(c,r){1&c&&(o(0,"span",126),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"OFFERINGS._simple")))}function Y66(c,r){1&c&&(o(0,"span",129),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"OFFERINGS._bundle")))}function G66(c,r){if(1&c&&(o(0,"tr",143)(1,"td",124),f(2),n(),o(3,"td",127),R(4,O66,2,1,"span",126)(5,I66,2,1)(6,U66,2,1)(7,j66,2,1),n(),o(8,"td",125),R(9,$66,3,3,"span",126)(10,Y66,3,3),n(),o(11,"td",125),f(12),m(13,"date"),n()()),2&c){const e=r.$implicit,a=h(4);k("ngClass",e.id==a.selectedProdSpec.id?"bg-gray-300 dark:bg-secondary-200":"bg-white dark:bg-secondary-300"),s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1),s(5),S(9,0==e.isBundle?9:10),s(3),V(" ",L2(13,5,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," ")}}function q66(c,r){if(1&c){const e=j();o(0,"div",132)(1,"button",133),C("click",function(){return y(e),b(h(5).nextProdSpec())}),f(2),m(3,"translate"),w(),o(4,"svg",134),v(5,"path",135),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_PROD_SPEC._load_more")," "))}function W66(c,r){1&c&&R(0,q66,6,3,"div",132),2&c&&S(0,h(4).prodSpecPageCheck?0:-1)}function Z66(c,r){1&c&&(o(0,"div",136),w(),o(1,"svg",115),v(2,"path",116)(3,"path",117),n(),O(),o(4,"span",65),f(5,"Loading..."),n()())}function K66(c,r){if(1&c&&(o(0,"div",142)(1,"table",119)(2,"thead",120)(3,"tr")(4,"th",121),f(5),m(6,"translate"),n(),o(7,"th",121),f(8),m(9,"translate"),n(),o(10,"th",122),f(11),m(12,"translate"),n(),o(13,"th",122),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,G66,14,8,"tr",143,z1),n()()(),R(19,W66,1,1)(20,Z66,6,0)),2&c){const e=h(3);s(5),V(" ",_(6,5,"OFFERINGS._name")," "),s(3),V(" ",_(9,7,"OFFERINGS._status")," "),s(3),V(" ",_(12,9,"OFFERINGS._type")," "),s(3),V(" ",_(15,11,"OFFERINGS._last_update")," "),s(3),a1(e.prodSpecs),s(2),S(19,e.loadingProdSpec_more?20:19)}}function Q66(c,r){1&c&&R(0,B66,6,0,"div",114)(1,K66,21,13),2&c&&S(0,h(2).loadingProdSpec?0:1)}function J66(c,r){if(1&c){const e=j();o(0,"h2",21),f(1),m(2,"translate"),n(),o(3,"div",137),R(4,R66,9,3,"div",138)(5,Q66,2,1),o(6,"div",90)(7,"button",113),C("click",function(){return y(e),b(h().toggleCategories())}),f(8),m(9,"translate"),w(),o(10,"svg",92),v(11,"path",93),n()()()()}if(2&c){const e=h();s(),H(_(2,5,"OFFERINGS._prod_spec")),s(3),S(4,e.bundleChecked?4:5),s(3),k("disabled",""==e.selectedProdSpec.id&&!e.bundleChecked)("ngClass",""!=e.selectedProdSpec.id||e.bundleChecked?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(9,7,"UPDATE_OFFER._next")," ")}}function X66(c,r){1&c&&(o(0,"div",114),w(),o(1,"svg",115),v(2,"path",116)(3,"path",117),n(),O(),o(4,"span",65),f(5,"Loading..."),n()())}function e06(c,r){if(1&c&&(o(0,"span",147),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function c06(c,r){if(1&c&&(o(0,"span",148),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function a06(c,r){if(1&c&&(o(0,"span",149),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function r06(c,r){if(1&c&&(o(0,"span",150),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function t06(c,r){if(1&c){const e=j();o(0,"tr",146),C("click",function(){const t=y(e).$implicit;return b(h(3).selectCatalog(t))}),o(1,"td",124),f(2),n(),o(3,"td",127),R(4,e06,2,1,"span",147)(5,c06,2,1)(6,a06,2,1)(7,r06,2,1),n(),o(8,"td",125),f(9),n()()}if(2&c){let e;const a=r.$implicit,t=h(3);k("ngClass",a.id==t.selectedCatalog.id?"bg-gray-300 dark:bg-secondary-200":"bg-white dark:bg-secondary-300"),s(2),V(" ",a.name," "),s(2),S(4,"Active"==a.lifecycleStatus?4:"Launched"==a.lifecycleStatus?5:"suspended"==a.lifecycleStatus?6:"terminated"==a.lifecycleStatus?7:-1),s(5),V(" ",null==a.relatedParty||null==(e=a.relatedParty.at(0))?null:e.role," ")}}function i06(c,r){if(1&c){const e=j();o(0,"div",132)(1,"button",133),C("click",function(){return y(e),b(h(4).nextCatalog())}),f(2),m(3,"translate"),w(),o(4,"svg",134),v(5,"path",135),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_PROD_SPEC._load_more")," "))}function o06(c,r){1&c&&R(0,i06,6,3,"div",132),2&c&&S(0,h(3).catalogPageCheck?0:-1)}function n06(c,r){1&c&&(o(0,"div",136),w(),o(1,"svg",115),v(2,"path",116)(3,"path",117),n(),O(),o(4,"span",65),f(5,"Loading..."),n()())}function s06(c,r){if(1&c&&(o(0,"div",145)(1,"table",119)(2,"thead",120)(3,"tr")(4,"th",121),f(5),m(6,"translate"),n(),o(7,"th",121),f(8),m(9,"translate"),n(),o(10,"th",122),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,t06,10,4,"tr",143,z1),n()()(),R(16,o06,1,1)(17,n06,6,0)),2&c){const e=h(2);s(5),V(" ",_(6,4,"OFFERINGS._name")," "),s(3),V(" ",_(9,6,"OFFERINGS._status")," "),s(3),V(" ",_(12,8,"OFFERINGS._role")," "),s(3),a1(e.catalogs),s(2),S(16,e.loadingCatalog_more?17:16)}}function l06(c,r){if(1&c){const e=j();o(0,"h2",107),f(1),m(2,"translate"),n(),o(3,"div",137),R(4,X66,6,0,"div",114)(5,s06,18,10),o(6,"div",144)(7,"button",113),C("click",function(){return y(e),b(h().toggleCategories())}),f(8),m(9,"translate"),w(),o(10,"svg",92),v(11,"path",93),n()()()()}if(2&c){const e=h();s(),H(_(2,5,"UPDATE_OFFER._catalog")),s(3),S(4,e.loadingCatalog?4:5),s(3),k("disabled",""==e.selectedCatalog.id)("ngClass",""==e.selectedCatalog.id?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(9,7,"UPDATE_OFFER._next")," ")}}function f06(c,r){1&c&&(o(0,"div",114),w(),o(1,"svg",115),v(2,"path",116)(3,"path",117),n(),O(),o(4,"span",65),f(5,"Loading..."),n()())}function d06(c,r){1&c&&(o(0,"div",138)(1,"div",139),w(),o(2,"svg",140),v(3,"path",141),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_categories")," "))}function u06(c,r){if(1&c&&(o(0,"tr",163)(1,"td",164),v(2,"categories-recursion",165),n()()),2&c){const e=r.$implicit,a=h(2).$implicit,t=h(4);s(2),k("child",e)("parent",a)("selected",t.selectedCategories)("path",a.name)}}function h06(c,r){1&c&&c1(0,u06,3,4,"tr",163,z1),2&c&&a1(h().$implicit.children)}function m06(c,r){if(1&c){const e=j();o(0,"tr",158)(1,"td",159)(2,"b"),f(3),n()(),o(4,"td",160),f(5),m(6,"date"),n(),o(7,"td",161)(8,"input",162),C("click",function(){const t=y(e).$implicit;return b(h(4).addCategory(t))}),n()()(),R(9,h06,2,0)}if(2&c){const e=r.$implicit,a=h(4);s(3),H(e.name),s(2),V(" ",L2(6,4,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," "),s(3),k("checked",a.isCategorySelected(e)),s(),S(9,e.children.length>0?9:-1)}}function _06(c,r){1&c&&(o(0,"div",138)(1,"div",139),w(),o(2,"svg",140),v(3,"path",141),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"UPDATE_OFFER._no_cats")," "))}function p06(c,r){if(1&c&&(o(0,"div",153)(1,"table",119)(2,"thead",120)(3,"tr",154)(4,"th",155),f(5),m(6,"translate"),n(),o(7,"th",156),f(8),m(9,"translate"),n(),o(10,"th",157),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,m06,10,7,null,null,Xt,!1,_06,7,3,"div",138),n()()()),2&c){const e=h(3);s(5),V(" ",_(6,4,"UPDATE_OFFER._name")," "),s(3),V(" ",_(9,6,"UPDATE_OFFER._last_update")," "),s(3),V(" ",_(12,8,"UPDATE_OFFER._select")," "),s(3),a1(e.categories)}}function g06(c,r){1&c&&R(0,d06,7,3,"div",138)(1,p06,17,10),2&c&&S(0,0==h(2).categories.length?0:1)}function v06(c,r){if(1&c){const e=j();o(0,"h2",107),f(1),m(2,"translate"),n(),o(3,"div",137),R(4,f06,6,0,"div",114)(5,g06,2,1),o(6,"div",151)(7,"button",152),C("click",function(){return y(e),b(h().toggleLicense())}),f(8),m(9,"translate"),w(),o(10,"svg",92),v(11,"path",93),n()()()()}if(2&c){const e=h();s(),H(_(2,3,"UPDATE_OFFER._category")),s(3),S(4,e.loadingCategory?4:5),s(4),V(" ",_(9,5,"UPDATE_OFFER._next")," ")}}function H06(c,r){1&c&&v(0,"markdown",172),2&c&&k("data",h(3).licenseDescription)}function C06(c,r){1&c&&v(0,"textarea",105)}function z06(c,r){if(1&c){const e=j();o(0,"emoji-mart",106),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(3).addEmoji(t))}),n()}2&c&&(Y2(E4(3,Wl)),k("darkMode",!1))}function V06(c,r){if(1&c){const e=j();o(0,"div",166)(1,"form",167)(2,"label",168),f(3),m(4,"translate"),n(),v(5,"input",169),o(6,"label",170),f(7),m(8,"translate"),n(),o(9,"div",171)(10,"div",59)(11,"div",60)(12,"div",61)(13,"button",62),C("click",function(){return y(e),b(h(2).addBold())}),w(),o(14,"svg",63),v(15,"path",64),n(),O(),o(16,"span",65),f(17,"Bold"),n()(),o(18,"button",62),C("click",function(){return y(e),b(h(2).addItalic())}),w(),o(19,"svg",63),v(20,"path",66),n(),O(),o(21,"span",65),f(22,"Italic"),n()(),o(23,"button",62),C("click",function(){return y(e),b(h(2).addList())}),w(),o(24,"svg",67),v(25,"path",68),n(),O(),o(26,"span",65),f(27,"Add list"),n()(),o(28,"button",69),C("click",function(){return y(e),b(h(2).addOrderedList())}),w(),o(29,"svg",67),v(30,"path",70),n(),O(),o(31,"span",65),f(32,"Add ordered list"),n()(),o(33,"button",71),C("click",function(){return y(e),b(h(2).addBlockquote())}),w(),o(34,"svg",72),v(35,"path",73),n(),O(),o(36,"span",65),f(37,"Add blockquote"),n()(),o(38,"button",62),C("click",function(){return y(e),b(h(2).addTable())}),w(),o(39,"svg",74),v(40,"path",75),n(),O(),o(41,"span",65),f(42,"Add table"),n()(),o(43,"button",71),C("click",function(){return y(e),b(h(2).addCode())}),w(),o(44,"svg",74),v(45,"path",76),n(),O(),o(46,"span",65),f(47,"Add code"),n()(),o(48,"button",71),C("click",function(){return y(e),b(h(2).addCodeBlock())}),w(),o(49,"svg",74),v(50,"path",77),n(),O(),o(51,"span",65),f(52,"Add code block"),n()(),o(53,"button",71),C("click",function(){return y(e),b(h(2).addLink())}),w(),o(54,"svg",74),v(55,"path",78),n(),O(),o(56,"span",65),f(57,"Add link"),n()(),o(58,"button",69),C("click",function(t){y(e);const i=h(2);return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(59,"svg",79),v(60,"path",80),n(),O(),o(61,"span",65),f(62,"Add emoji"),n()()()(),o(63,"button",81),C("click",function(){y(e);const t=h(2);return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(64,"svg",67),v(65,"path",82)(66,"path",83),n(),O(),o(67,"span",65),f(68),m(69,"translate"),n()(),o(70,"div",84),f(71),m(72,"translate"),v(73,"div",85),n()(),o(74,"div",86)(75,"label",87),f(76,"Publish post"),n(),R(77,H06,1,1,"markdown",172)(78,C06,1,0)(79,z06,1,4,"emoji-mart",89),n()()(),o(80,"div",173)(81,"button",174),C("click",function(){return y(e),b(h(2).clearLicense())}),f(82),m(83,"translate"),n()()()}if(2&c){let e;const a=h(2);s(),k("formGroup",a.licenseForm),s(2),H(_(4,29,"UPDATE_OFFER._treatment")),s(2),k("ngClass",1==(null==(e=a.licenseForm.get("treatment"))?null:e.invalid)&&""!=a.licenseForm.value.treatment?"border-red-600":"border-gray-300"),s(2),H(_(8,31,"UPDATE_OFFER._description")),s(6),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(69,33,"CREATE_CATALOG._preview")),s(3),V(" ",_(72,35,"CREATE_CATALOG._show_preview")," "),s(6),S(77,a.showPreview?77:78),s(2),S(79,a.showEmoji?79:-1),s(3),V(" ",_(83,37,"UPDATE_OFFER._cancel")," ")}}function M06(c,r){if(1&c){const e=j();o(0,"div",175)(1,"button",174),C("click",function(){y(e);const t=h(2);return b(t.freeLicenseSelected=!t.freeLicenseSelected)}),f(2),m(3,"translate"),w(),o(4,"svg",176),v(5,"path",135),n()()()}2&c&&(s(2),V(" ",_(3,1,"UPDATE_OFFER._create_license")," "))}function L06(c,r){if(1&c){const e=j();o(0,"h2",107),f(1),m(2,"translate"),n(),o(3,"div",137),R(4,V06,84,39,"div",166)(5,M06,6,3),o(6,"div",144)(7,"button",113),C("click",function(){return y(e),b(h().togglePrice())}),f(8),m(9,"translate"),w(),o(10,"svg",92),v(11,"path",93),n()()()()}if(2&c){const e=h();s(),H(_(2,5,"UPDATE_OFFER._license")),s(3),S(4,e.freeLicenseSelected?5:4),s(3),k("disabled",!e.licenseForm.valid&&!e.freeLicenseSelected)("ngClass",e.licenseForm.valid||e.freeLicenseSelected?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(9,7,"UPDATE_OFFER._next")," ")}}function y06(c,r){1&c&&(o(0,"div",138)(1,"div",139),w(),o(2,"svg",140),v(3,"path",141),n(),O(),o(4,"span",65),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"UPDATE_OFFER._no_sla")," "))}function b06(c,r){if(1&c){const e=j();o(0,"tr",123)(1,"td",127),f(2),n(),o(3,"td",124),f(4),n(),o(5,"td",127),f(6),n(),o(7,"td",127),f(8),n(),o(9,"td",127)(10,"button",177),C("click",function(){const t=y(e).$implicit;return b(h(3).removeSLA(t))}),w(),o(11,"svg",178),v(12,"path",179),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.type," "),s(2),V(" ",e.description," "),s(2),V(" ",e.threshold," "),s(2),V(" ",e.unitMeasure," ")}}function x06(c,r){if(1&c&&(o(0,"div",118)(1,"table",119)(2,"thead",120)(3,"tr")(4,"th",121),f(5),m(6,"translate"),n(),o(7,"th",121),f(8),m(9,"translate"),n(),o(10,"th",121),f(11),m(12,"translate"),n(),o(13,"th",121),f(14),m(15,"translate"),n(),o(16,"th",121),f(17),m(18,"translate"),n()()(),o(19,"tbody"),c1(20,b06,13,4,"tr",123,z1),n()()()),2&c){const e=h(2);s(5),V(" ",_(6,5,"UPDATE_OFFER._name")," "),s(3),V(" ",_(9,7,"UPDATE_OFFER._description")," "),s(3),V(" ",_(12,9,"UPDATE_OFFER._threshold")," "),s(3),V(" ",_(15,11,"UPDATE_OFFER._unit")," "),s(3),V(" ",_(18,13,"UPDATE_OFFER._actions")," "),s(3),a1(e.createdSLAs)}}function w06(c,r){if(1&c){const e=j();o(0,"div",175)(1,"button",174),C("click",function(){return y(e),b(h(2).showCreateSLAMetric())}),f(2),m(3,"translate"),w(),o(4,"svg",176),v(5,"path",135),n()()()}2&c&&(s(2),V(" ",_(3,1,"UPDATE_OFFER._new_metric")," "))}function F06(c,r){if(1&c&&(o(0,"option",181),f(1),n()),2&c){const e=r.$implicit;D1("value",e),s(),H(e)}}function k06(c,r){if(1&c){const e=j();o(0,"div",182)(1,"div",184),v(2,"input",185,0),o(4,"select",186),C("change",function(t){return y(e),b(h(3).onSLAMetricChange(t))}),o(5,"option",187),f(6,"Day"),n(),o(7,"option",188),f(8,"Week"),n(),o(9,"option",189),f(10,"Month"),n()()()()}}function S06(c,r){if(1&c){const e=j();o(0,"div",182)(1,"div",184),v(2,"input",185,1),o(4,"select",186),C("change",function(t){return y(e),b(h(3).onSLAMetricChange(t))}),o(5,"option",190),f(6,"Ms"),n(),o(7,"option",191),f(8,"S"),n(),o(9,"option",192),f(10,"Min"),n()()()()}}function N06(c,r){if(1&c){const e=j();o(0,"div",182)(1,"div",184),v(2,"input",185,2),o(4,"select",186),C("change",function(t){return y(e),b(h(3).onSLAMetricChange(t))}),o(5,"option",190),f(6,"Ms"),n(),o(7,"option",191),f(8,"S"),n(),o(9,"option",192),f(10,"Min"),n()()()()}}function D06(c,r){if(1&c){const e=j();o(0,"select",180),C("change",function(t){return y(e),b(h(2).onSLAChange(t))}),c1(1,F06,2,2,"option",181,z1),n(),R(3,k06,11,0,"div",182)(4,S06,11,0,"div",182)(5,N06,11,0,"div",182),o(6,"div",175)(7,"button",174),C("click",function(){return y(e),b(h(2).addSLA())}),f(8),m(9,"translate"),w(),o(10,"svg",176),v(11,"path",183),n()()()}if(2&c){const e=h(2);s(),a1(e.availableSLAs),s(2),S(3,e.updatesSelected?3:-1),s(),S(4,e.responseSelected?4:-1),s(),S(5,e.delaySelected?5:-1),s(3),V(" ",_(9,4,"UPDATE_OFFER._add_metric")," ")}}function T06(c,r){if(1&c){const e=j();o(0,"h2",107),f(1),m(2,"translate"),n(),R(3,y06,9,3,"div",138)(4,x06,22,15)(5,w06,6,3,"div",175)(6,D06,12,6),o(7,"div",144)(8,"button",152),C("click",function(){return y(e),b(h().togglePrice())}),f(9),m(10,"translate"),w(),o(11,"svg",92),v(12,"path",93),n()()()}if(2&c){const e=h();s(),H(_(2,5,"UPDATE_OFFER._sla")),s(2),S(3,0===e.createdSLAs.length?3:4),s(2),S(5,0!=e.availableSLAs.length?5:-1),s(),S(6,e.showCreateSLA?6:-1),s(3),V(" ",_(10,7,"UPDATE_OFFER._next")," ")}}function E06(c,r){1&c&&(o(0,"div",138)(1,"div",139),w(),o(2,"svg",140),v(3,"path",141),n(),O(),o(4,"span",65),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"UPDATE_OFFER._no_prices")," "))}function A06(c,r){if(1&c){const e=j();o(0,"tr",123)(1,"td",194),f(2),n(),o(3,"td",195),f(4),n(),o(5,"td",125),f(6),n(),o(7,"td",127),f(8),n(),o(9,"td",125),f(10),n(),o(11,"td",196)(12,"button",177),C("click",function(){const t=y(e).$implicit;return b(h(3).removePrice(t))}),w(),o(13,"svg",178),v(14,"path",179),n()(),O(),o(15,"button",197),C("click",function(t){const i=y(e).$implicit;return h(3).showUpdatePrice(i),b(t.stopPropagation())}),w(),o(16,"svg",198),v(17,"path",199),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),V(" ",e.priceType," "),s(2),V(" ",null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.value," "),s(2),V(" ",null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.unit," ")}}function P06(c,r){if(1&c&&(o(0,"div",118)(1,"table",119)(2,"thead",120)(3,"tr")(4,"th",121),f(5),m(6,"translate"),n(),o(7,"th",193),f(8),m(9,"translate"),n(),o(10,"th",122),f(11),m(12,"translate"),n(),o(13,"th",121),f(14),m(15,"translate"),n(),o(16,"th",122),f(17),m(18,"translate"),n(),o(19,"th",121),f(20),m(21,"translate"),n()()(),o(22,"tbody"),c1(23,A06,18,5,"tr",123,Xt),n()()()),2&c){const e=h(2);s(5),V(" ",_(6,6,"UPDATE_OFFER._name")," "),s(3),V(" ",_(9,8,"UPDATE_OFFER._description")," "),s(3),V(" ",_(12,10,"UPDATE_OFFER._type")," "),s(3),V(" ",_(15,12,"UPDATE_OFFER._price")," "),s(3),V(" ",_(18,14,"UPDATE_OFFER._unit")," "),s(3),V(" ",_(21,16,"UPDATE_OFFER._actions")," "),s(3),a1(e.createdPrices)}}function R06(c,r){if(1&c){const e=j();o(0,"div",175)(1,"button",174),C("click",function(){return y(e),b(h(2).showNewPrice())}),f(2),m(3,"translate"),w(),o(4,"svg",176),v(5,"path",135),n()()()}2&c&&(s(2),V(" ",_(3,1,"UPDATE_OFFER._new_price")," "))}function B06(c,r){1&c&&(o(0,"p",204),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"UPDATE_OFFER._duplicated_price_name")))}function O06(c,r){if(1&c&&(o(0,"option",181),f(1),n()),2&c){const e=r.$implicit;D1("value",e.code),s(),j1("(",e.code,") ",e.name,"")}}function I06(c,r){if(1&c){const e=j();o(0,"label",202),f(1),m(2,"translate"),n(),o(3,"div",210),v(4,"input",211),o(5,"select",212),C("change",function(t){return y(e),b(h(3).onPriceUnitChange(t))}),c1(6,O06,2,3,"option",181,dm1),n()()}if(2&c){let e;const a=h(3);s(),H(_(2,2,"UPDATE_OFFER._price")),s(3),k("ngClass",1==(null==(e=a.priceForm.get("price"))?null:e.invalid)&&""!=a.priceForm.value.price?"border-red-600":"border-gray-300 dark:border-secondary-200"),s(2),a1(a.currencies)}}function U06(c,r){1&c&&(o(0,"option",206),f(1,"CUSTOM"),n())}function j06(c,r){1&c&&(o(0,"option",213),f(1,"ONE TIME"),n(),o(2,"option",214),f(3,"RECURRING"),n(),o(4,"option",215),f(5,"USAGE"),n())}function $06(c,r){if(1&c){const e=j();o(0,"label",202),f(1),m(2,"translate"),n(),o(3,"select",216),C("change",function(t){return y(e),b(h(3).onPricePeriodChange(t))}),o(4,"option",217),f(5,"DAILY"),n(),o(6,"option",218),f(7,"WEEKLY"),n(),o(8,"option",219),f(9,"MONTHLY"),n(),o(10,"option",220),f(11,"QUARTERLY"),n(),o(12,"option",221),f(13,"YEARLY"),n(),o(14,"option",222),f(15,"QUINQUENNIAL"),n()()}2&c&&(s(),H(_(2,1,"UPDATE_OFFER._choose_period")))}function Y06(c,r){if(1&c){const e=j();o(0,"label",202),f(1),m(2,"translate"),n(),o(3,"input",223,3),C("change",function(){return y(e),b(h(3).checkValidPrice())}),n()}2&c&&(s(),H(_(2,1,"UPDATE_OFFER._unit")))}function G06(c,r){1&c&&v(0,"markdown",172),2&c&&k("data",h(3).priceDescription)}function q06(c,r){1&c&&v(0,"textarea",224)}function W06(c,r){if(1&c){const e=j();o(0,"emoji-mart",106),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(3).addEmoji(t))}),n()}2&c&&(Y2(E4(3,Wl)),k("darkMode",!1))}function Z06(c,r){if(1&c){const e=j();o(0,"label",202),f(1),m(2,"translate"),n(),o(3,"select",233),C("change",function(t){return y(e),b(h(5).onPricePeriodAlterChange(t))}),o(4,"option",217),f(5,"DAILY"),n(),o(6,"option",218),f(7,"WEEKLY"),n(),o(8,"option",219),f(9,"MONTHLY"),n(),o(10,"option",220),f(11,"QUARTERLY"),n(),o(12,"option",221),f(13,"YEARLY"),n(),o(14,"option",222),f(15,"QUINQUENNIAL"),n()()}2&c&&(s(),H(_(2,1,"UPDATE_OFFER._choose_period")))}function K06(c,r){1&c&&(o(0,"label",202),f(1),m(2,"translate"),n(),v(3,"input",234,4)),2&c&&(s(),H(_(2,1,"UPDATE_OFFER._unit")))}function Q06(c,r){if(1&c){const e=j();o(0,"div",229)(1,"label",48),f(2),m(3,"translate"),n(),o(4,"select",230),C("change",function(t){return y(e),b(h(4).onPriceTypeAlterSelected(t))}),o(5,"option",213),f(6,"ONE TIME"),n(),o(7,"option",214),f(8,"RECURRING"),n(),o(9,"option",215),f(10,"USAGE"),n()(),o(11,"div")(12,"label",202),f(13),m(14,"translate"),n(),v(15,"input",231),n(),o(16,"div"),R(17,Z06,16,3)(18,K06,5,3),n(),o(19,"label",207),f(20),m(21,"translate"),n(),v(22,"textarea",232),n()}if(2&c){let e;const a=h(4);s(2),H(_(3,6,"UPDATE_OFFER._choose_type")),s(11),H(_(14,8,"UPDATE_OFFER._price_alter")),s(2),k("ngClass",1==(null==(e=a.priceAlterForm.get("price"))?null:e.invalid)&&""!=a.priceAlterForm.value.price?"border-red-600":"border-gray-300"),s(2),S(17,"RECURRING"==a.priceTypeAlter?17:-1),s(),S(18,"USAGE"==a.priceTypeAlter?18:-1),s(2),H(_(21,10,"UPDATE_OFFER._description"))}}function J06(c,r){if(1&c&&(o(0,"div",235)(1,"div")(2,"label",202),f(3),m(4,"translate"),n(),o(5,"select",236,5)(7,"option",228),f(8,"Discount"),n(),o(9,"option",237),f(10,"Fee"),n()()(),o(11,"div")(12,"label",202),f(13),m(14,"translate"),n(),o(15,"div",210),v(16,"input",238),o(17,"select",239)(18,"option",240),f(19,"%"),n(),o(20,"option",241),f(21,"(AUD) Australia Dollar"),n()()()(),o(22,"div",242)(23,"label",202),f(24),m(25,"translate"),n(),o(26,"div",210)(27,"select",243)(28,"option",244),f(29,"(EQ) Equal"),n(),o(30,"option",245),f(31,"(LT) Less than"),n(),o(32,"option",246),f(33,"(LE) Less than or equal"),n(),o(34,"option",247),f(35,"(GT) Greater than"),n(),o(36,"option",247),f(37,"(GE) Greater than or equal"),n()(),v(38,"input",248),n(),o(39,"label",207),f(40),m(41,"translate"),n(),v(42,"textarea",232),n()()),2&c){let e,a;const t=h(4);s(3),H(_(4,6,"UPDATE_OFFER._choose_type")),s(10),H(_(14,8,"UPDATE_OFFER._enter_value")),s(3),k("ngClass",1==(null==(e=t.priceAlterForm.get("price"))?null:e.invalid)&&""!=t.priceAlterForm.value.price?"border-red-600":"border-gray-300"),s(8),H(_(25,10,"UPDATE_OFFER._add_condition")),s(14),k("ngClass",1==(null==(a=t.priceAlterForm.get("condition"))?null:a.invalid)&&""!=t.priceAlterForm.value.condition?"border-red-600":"border-gray-300"),s(2),H(_(41,12,"UPDATE_OFFER._description"))}}function X06(c,r){if(1&c){const e=j();o(0,"form",167)(1,"div",137)(2,"label",202),f(3),m(4,"translate"),n(),o(5,"select",225),C("change",function(t){return y(e),b(h(3).onPriceAlterSelected(t))}),o(6,"option",226),f(7,"None"),n(),o(8,"option",227),f(9,"Price component"),n(),o(10,"option",228),f(11,"Discount or fee"),n()()(),R(12,Q06,23,12,"div",229)(13,J06,43,14),n()}if(2&c){const e=h(3);k("formGroup",e.priceAlterForm),s(3),H(_(4,3,"UPDATE_OFFER._price_alter")),s(9),S(12,e.priceComponentSelected?12:e.discountSelected?13:-1)}}function ee6(c,r){if(1&c){const e=j();o(0,"label",200),f(1),m(2,"translate"),n(),v(3,"hr",22),o(4,"form",201),C("change",function(){return y(e),b(h(2).checkValidPrice())}),o(5,"div")(6,"label",202),f(7),m(8,"translate"),n(),o(9,"input",203),C("change",function(){return y(e),b(h(2).checkValidPrice())}),n(),R(10,B06,3,3,"p",204)(11,I06,8,4),n(),o(12,"div")(13,"label",202),f(14),m(15,"translate"),n(),o(16,"select",205),C("change",function(t){return y(e),b(h(2).onPriceTypeSelected(t))}),R(17,U06,2,0,"option",206)(18,j06,6,0),n(),R(19,$06,16,3)(20,Y06,5,3),n(),o(21,"label",207),f(22),m(23,"translate"),n(),o(24,"div",208)(25,"div",59)(26,"div",60)(27,"div",61)(28,"button",62),C("click",function(){return y(e),b(h(2).addBold())}),w(),o(29,"svg",63),v(30,"path",64),n(),O(),o(31,"span",65),f(32,"Bold"),n()(),o(33,"button",62),C("click",function(){return y(e),b(h(2).addItalic())}),w(),o(34,"svg",63),v(35,"path",66),n(),O(),o(36,"span",65),f(37,"Italic"),n()(),o(38,"button",62),C("click",function(){return y(e),b(h(2).addList())}),w(),o(39,"svg",67),v(40,"path",68),n(),O(),o(41,"span",65),f(42,"Add list"),n()(),o(43,"button",62),C("click",function(){return y(e),b(h(2).addOrderedList())}),w(),o(44,"svg",67),v(45,"path",70),n(),O(),o(46,"span",65),f(47,"Add ordered list"),n()(),o(48,"button",62),C("click",function(){return y(e),b(h(2).addBlockquote())}),w(),o(49,"svg",72),v(50,"path",73),n(),O(),o(51,"span",65),f(52,"Add blockquote"),n()(),o(53,"button",62),C("click",function(){return y(e),b(h(2).addTable())}),w(),o(54,"svg",74),v(55,"path",75),n(),O(),o(56,"span",65),f(57,"Add table"),n()(),o(58,"button",62),C("click",function(){return y(e),b(h(2).addCode())}),w(),o(59,"svg",74),v(60,"path",76),n(),O(),o(61,"span",65),f(62,"Add code"),n()(),o(63,"button",62),C("click",function(){return y(e),b(h(2).addCodeBlock())}),w(),o(64,"svg",74),v(65,"path",77),n(),O(),o(66,"span",65),f(67,"Add code block"),n()(),o(68,"button",62),C("click",function(){return y(e),b(h(2).addLink())}),w(),o(69,"svg",74),v(70,"path",78),n(),O(),o(71,"span",65),f(72,"Add link"),n()(),o(73,"button",62),C("click",function(t){y(e);const i=h(2);return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(74,"svg",79),v(75,"path",80),n(),O(),o(76,"span",65),f(77,"Add emoji"),n()()()(),o(78,"button",81),C("click",function(){y(e);const t=h(2);return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(79,"svg",67),v(80,"path",82)(81,"path",83),n(),O(),o(82,"span",65),f(83),m(84,"translate"),n()(),o(85,"div",84),f(86),m(87,"translate"),v(88,"div",85),n()(),o(89,"div",86)(90,"label",87),f(91,"Publish post"),n(),R(92,G06,1,1,"markdown",172)(93,q06,1,0)(94,W06,1,4,"emoji-mart",89),n()()(),R(95,X06,14,5,"form",167),o(96,"div",175)(97,"button",209),C("click",function(){return y(e),b(h(2).savePrice())}),f(98),m(99,"translate"),w(),o(100,"svg",176),v(101,"path",183),n()()()}if(2&c){const e=h(2);s(),H(_(2,39,"UPDATE_OFFER._new_price")),s(3),k("formGroup",e.priceForm),s(3),H(_(8,41,"UPDATE_OFFER._name")),s(2),k("ngClass",null!=e.priceForm.controls.name.errors&&e.priceForm.controls.name.errors.invalidName?"border-red-600":"border-gray-300 dark:border-secondary-200 mb-2"),s(),S(10,null!=e.priceForm.controls.name.errors&&e.priceForm.controls.name.errors.invalidName?10:-1),s(),S(11,e.customSelected?-1:11),s(3),H(_(15,43,"UPDATE_OFFER._choose_type")),s(3),S(17,e.allowCustom?17:-1),s(),S(18,e.allowOthers?18:-1),s(),S(19,e.recurringSelected?19:e.usageSelected?20:-1),s(3),H(_(23,45,"UPDATE_OFFER._description")),s(6),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(84,47,"CREATE_CATALOG._preview")),s(3),V(" ",_(87,49,"CREATE_CATALOG._show_preview")," "),s(6),S(92,e.showPreview?92:93),s(2),S(94,e.showEmoji?94:-1),s(),S(95,e.customSelected?-1:95),s(2),k("disabled",e.validPriceCheck)("ngClass",e.validPriceCheck?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(99,51,"UPDATE_OFFER._save_price")," ")}}function ce6(c,r){if(1&c){const e=j();o(0,"h2",107),f(1),m(2,"translate"),n(),R(3,E06,9,3,"div",138)(4,P06,25,18)(5,R06,6,3,"div",175)(6,ee6,102,53),o(7,"div",144)(8,"button",152),C("click",function(){return y(e),b(h().showFinish())}),f(9),m(10,"translate"),w(),o(11,"svg",92),v(12,"path",93),n()()()}if(2&c){const e=h();s(),H(_(2,4,"UPDATE_OFFER._price_plans")),s(2),S(3,0==e.createdPrices.length?3:4),s(2),S(5,e.showCreatePrice?6:5),s(4),V(" ",_(10,6,"UPDATE_OFFER._next")," ")}}function ae6(c,r){if(1&c&&(o(0,"span",126),f(1),n()),2&c){const e=h(2);s(),H(null==e.offerToUpdate?null:e.offerToUpdate.lifecycleStatus)}}function re6(c,r){if(1&c&&(o(0,"span",129),f(1),n()),2&c){const e=h(2);s(),H(null==e.offerToUpdate?null:e.offerToUpdate.lifecycleStatus)}}function te6(c,r){if(1&c&&(o(0,"span",130),f(1),n()),2&c){const e=h(2);s(),H(null==e.offerToUpdate?null:e.offerToUpdate.lifecycleStatus)}}function ie6(c,r){if(1&c&&(o(0,"span",131),f(1),n()),2&c){const e=h(2);s(),H(null==e.offerToUpdate?null:e.offerToUpdate.lifecycleStatus)}}function oe6(c,r){if(1&c&&(o(0,"label",202),f(1),m(2,"translate"),n(),o(3,"div",255),v(4,"markdown",172),n()),2&c){const e=h(2);s(),H(_(2,2,"UPDATE_OFFER._description")),s(3),k("data",null==e.offerToUpdate?null:e.offerToUpdate.description)}}function ne6(c,r){if(1&c&&(o(0,"span",126),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function se6(c,r){if(1&c&&(o(0,"span",129),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function le6(c,r){if(1&c&&(o(0,"span",130),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function fe6(c,r){if(1&c&&(o(0,"span",131),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function de6(c,r){if(1&c&&(o(0,"tr",123)(1,"td",124),f(2),n(),o(3,"td",127),R(4,ne6,2,1,"span",126)(5,se6,2,1)(6,le6,2,1)(7,fe6,2,1),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1)}}function ue6(c,r){if(1&c&&(o(0,"label",202),f(1),m(2,"translate"),n(),o(3,"div",256)(4,"table",119)(5,"thead",120)(6,"tr")(7,"th",121),f(8),m(9,"translate"),n(),o(10,"th",121),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,de6,8,2,"tr",123,z1),n()()()),2&c){const e=h(2);s(),H(_(2,3,"UPDATE_OFFER._bundle")),s(7),V(" ",_(9,5,"UPDATE_OFFER._name")," "),s(3),V(" ",_(12,7,"UPDATE_OFFER._status")," "),s(3),a1(e.offersBundle)}}function he6(c,r){if(1&c&&(o(0,"tr",123)(1,"td",124),f(2),n(),o(3,"td",125),f(4),m(5,"date"),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",L2(5,2,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," ")}}function me6(c,r){if(1&c&&(o(0,"h2",202),f(1),m(2,"translate"),n(),o(3,"div",256)(4,"table",119)(5,"thead",120)(6,"tr")(7,"th",121),f(8),m(9,"translate"),n(),o(10,"th",122),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,he6,6,5,"tr",123,Xt),n()()()),2&c){const e=h(2);s(),H(_(2,3,"UPDATE_OFFER._category")),s(7),V(" ",_(9,5,"UPDATE_OFFER._name")," "),s(3),V(" ",_(12,7,"UPDATE_OFFER._last_update")," "),s(3),a1(e.selectedCategories)}}function _e6(c,r){if(1&c&&(o(0,"tr",123)(1,"td",194),f(2),n(),o(3,"td",195),f(4),n(),o(5,"td",125),f(6),n(),o(7,"td",127),f(8),n(),o(9,"td",125),f(10),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),V(" ",e.priceType," "),s(2),V(" ",null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.value," "),s(2),V(" ",null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.unit," ")}}function pe6(c,r){if(1&c&&(o(0,"h2",202),f(1),m(2,"translate"),n(),o(3,"div",256)(4,"table",119)(5,"thead",120)(6,"tr")(7,"th",121),f(8),m(9,"translate"),n(),o(10,"th",193),f(11),m(12,"translate"),n(),o(13,"th",122),f(14),m(15,"translate"),n(),o(16,"th",121),f(17),m(18,"translate"),n(),o(19,"th",122),f(20),m(21,"translate"),n()()(),o(22,"tbody"),c1(23,_e6,11,5,"tr",123,Xt),n()()()),2&c){const e=h(2);s(),H(_(2,6,"UPDATE_OFFER._price_plans")),s(7),V(" ",_(9,8,"UPDATE_OFFER._name")," "),s(3),V(" ",_(12,10,"UPDATE_OFFER._description")," "),s(3),V(" ",_(15,12,"UPDATE_OFFER._type")," "),s(3),V(" ",_(18,14,"UPDATE_OFFER._price")," "),s(3),V(" ",_(21,16,"UPDATE_OFFER._unit")," "),s(3),a1(e.createdPrices)}}function ge6(c,r){if(1&c&&(o(0,"tr",123)(1,"td",127),f(2),n(),o(3,"td",195),f(4),n(),o(5,"td",125),f(6),n(),o(7,"td",127),f(8),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.type," "),s(2),V(" ",e.description," "),s(2),V(" ",e.threshold," "),s(2),V(" ",e.unitMeasure," ")}}function ve6(c,r){if(1&c&&(o(0,"h2",202),f(1),m(2,"translate"),n(),o(3,"div",256)(4,"table",119)(5,"thead",120)(6,"tr")(7,"th",121),f(8),m(9,"translate"),n(),o(10,"th",193),f(11),m(12,"translate"),n(),o(13,"th",122),f(14),m(15,"translate"),n(),o(16,"th",121),f(17),m(18,"translate"),n()()(),o(19,"tbody"),c1(20,ge6,9,4,"tr",123,z1),n()()()),2&c){const e=h(2);s(),H(_(2,5,"UPDATE_OFFER._sla")),s(7),V(" ",_(9,7,"UPDATE_OFFER._name")," "),s(3),V(" ",_(12,9,"UPDATE_OFFER._description")," "),s(3),V(" ",_(15,11,"UPDATE_OFFER._threshold")," "),s(3),V(" ",_(18,13,"UPDATE_OFFER._unit")," "),s(3),a1(e.createdSLAs)}}function He6(c,r){if(1&c&&(o(0,"label",258),f(1),m(2,"translate"),n(),o(3,"div",259),v(4,"markdown",172),n()),2&c){const e=h(3);s(),H(_(2,2,"UPDATE_OFFER._description")),s(3),k("data",e.createdLicense.description)}}function Ce6(c,r){if(1&c&&(o(0,"h2",202),f(1),m(2,"translate"),n(),o(3,"div")(4,"label",257),f(5),m(6,"translate"),n(),o(7,"label",251),f(8),n(),R(9,He6,5,4),n()),2&c){const e=h(2);s(),H(_(2,4,"UPDATE_OFFER._license")),s(4),H(_(6,6,"UPDATE_OFFER._treatment")),s(3),V(" ",e.createdLicense.treatment," "),s(),S(9,""!==e.createdLicense.description?9:-1)}}function ze6(c,r){if(1&c){const e=j();o(0,"h2",107),f(1),m(2,"translate"),n(),o(3,"div",249)(4,"div",250)(5,"div")(6,"label",202),f(7),m(8,"translate"),n(),o(9,"label",251),f(10),n()(),o(11,"div")(12,"label",55),f(13),m(14,"translate"),n(),o(15,"label",252),f(16),n()()(),o(17,"div",253)(18,"label",254),f(19),m(20,"translate"),n(),R(21,ae6,2,1,"span",126)(22,re6,2,1)(23,te6,2,1)(24,ie6,2,1),n(),R(25,oe6,5,4)(26,ue6,16,9)(27,me6,16,9)(28,pe6,25,18)(29,ve6,22,15)(30,Ce6,10,8),o(31,"div",144)(32,"button",152),C("click",function(){return y(e),b(h().updateOffer())}),f(33),m(34,"translate"),w(),o(35,"svg",92),v(36,"path",93),n()()()()}if(2&c){const e=h();s(),H(_(2,14,"UPDATE_OFFER._finish")),s(6),H(_(8,16,"UPDATE_OFFER._name")),s(3),V(" ",null==e.offerToUpdate?null:e.offerToUpdate.name," "),s(3),H(_(14,18,"UPDATE_OFFER._version")),s(3),V(" ",null==e.offerToUpdate?null:e.offerToUpdate.version," "),s(3),H(_(20,20,"UPDATE_OFFER._status")),s(2),S(21,"Active"==(null==e.offerToUpdate?null:e.offerToUpdate.lifecycleStatus)?21:"Launched"==(null==e.offerToUpdate?null:e.offerToUpdate.lifecycleStatus)?22:"Retired"==(null==e.offerToUpdate?null:e.offerToUpdate.lifecycleStatus)?23:"Obsolete"==(null==e.offerToUpdate?null:e.offerToUpdate.lifecycleStatus)?24:-1),s(4),S(25,""!=(null==e.offerToUpdate?null:e.offerToUpdate.description)?25:-1),s(),S(26,e.offersBundle.length>0?26:-1),s(),S(27,e.selectedCategories.length>0?27:-1),s(),S(28,e.createdPrices.length>0?28:-1),s(),S(29,e.createdSLAs.length>0?29:-1),s(),S(30,e.freeLicenseSelected||""===e.createdLicense.treatment?-1:30),s(3),V(" ",_(34,22,"UPDATE_OFFER._finish")," ")}}function Ve6(c,r){1&c&&(o(0,"p",204),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"UPDATE_OFFER._duplicated_price_name")))}function Me6(c,r){if(1&c&&(o(0,"option",271),f(1),n()),2&c){const e=r.$implicit,a=h(3);D1("value",e.code),k("selected",a.selectedPriceUnit==e.code),s(),j1("(",e.code,") ",e.name,"")}}function Le6(c,r){if(1&c){const e=j();o(0,"label",202),f(1),m(2,"translate"),n(),o(3,"div",210),v(4,"input",211),o(5,"select",270),C("change",function(t){return y(e),b(h(2).onPriceUnitChange(t))}),c1(6,Me6,2,4,"option",271,dm1),n()()}if(2&c){let e;const a=h(2);s(),H(_(2,3,"UPDATE_OFFER._price")),s(3),k("ngClass",1==(null==(e=a.priceForm.get("price"))?null:e.invalid)&&""!=a.priceForm.value.price?"border-red-600":"border-gray-300 dark:border-secondary-200"),s(),D1("value",a.selectedPriceUnit),s(),a1(a.currencies)}}function ye6(c,r){if(1&c){const e=j();o(0,"select",272),C("change",function(t){return y(e),b(h(2).onPriceTypeSelected(t))}),o(1,"option",206),f(2,"CUSTOM"),n()()}2&c&&D1("value",h(2).selectedPriceType)}function be6(c,r){if(1&c){const e=j();o(0,"select",272),C("change",function(t){return y(e),b(h(2).onPriceTypeSelected(t))}),o(1,"option",213),f(2,"ONE TIME"),n(),o(3,"option",214),f(4,"RECURRING"),n(),o(5,"option",215),f(6,"USAGE"),n()()}2&c&&D1("value",h(2).selectedPriceType)}function xe6(c,r){if(1&c){const e=j();o(0,"label",202),f(1),m(2,"translate"),n(),o(3,"select",273),C("change",function(t){return y(e),b(h(2).onPricePeriodChange(t))}),o(4,"option",217),f(5,"DAILY"),n(),o(6,"option",218),f(7,"WEEKLY"),n(),o(8,"option",219),f(9,"MONTHLY"),n(),o(10,"option",220),f(11,"QUARTERLY"),n(),o(12,"option",221),f(13,"YEARLY"),n(),o(14,"option",222),f(15,"QUINQUENNIAL"),n()()}if(2&c){const e=h(2);s(),H(_(2,2,"UPDATE_OFFER._choose_period")),s(2),D1("value",e.selectedPeriod)}}function we6(c,r){if(1&c){const e=j();o(0,"label",202),f(1),m(2,"translate"),n(),o(3,"input",274,6),C("change",function(){return y(e),b(h(2).checkValidPrice())}),n()}if(2&c){const e=h(2);s(),H(_(2,2,"UPDATE_OFFER._unit")),s(2),D1("value",null==e.priceToUpdate||null==e.priceToUpdate.unitOfMeasure?null:e.priceToUpdate.unitOfMeasure.units)}}function Fe6(c,r){1&c&&v(0,"markdown",172),2&c&&k("data",h(2).priceDescription)}function ke6(c,r){1&c&&v(0,"textarea",224)}function Se6(c,r){if(1&c){const e=j();o(0,"emoji-mart",106),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(2).addEmoji(t))}),n()}2&c&&(Y2(E4(3,Wl)),k("darkMode",!1))}function Ne6(c,r){if(1&c){const e=j();o(0,"div",43)(1,"div",260),C("click",function(t){return y(e),b(t.stopPropagation())}),o(2,"div",261)(3,"h5",262),f(4),m(5,"translate"),n(),o(6,"button",263),C("click",function(){return y(e),b(h().closeEditPrice())}),w(),o(7,"svg",264),v(8,"path",265),n(),O(),o(9,"span",65),f(10),m(11,"translate"),n()()(),o(12,"div",266)(13,"form",267),C("change",function(){return y(e),b(h().checkValidPrice())}),o(14,"div")(15,"label",202),f(16),m(17,"translate"),n(),o(18,"input",203),C("change",function(){return y(e),b(h().checkValidPrice())}),n(),R(19,Ve6,3,3,"p",204)(20,Le6,8,5),n(),o(21,"div")(22,"label",202),f(23),m(24,"translate"),n(),R(25,ye6,3,1,"select",268)(26,be6,7,1,"select",268)(27,xe6,16,4)(28,we6,5,4),n(),o(29,"label",207),f(30),m(31,"translate"),n(),o(32,"div",208)(33,"div",59)(34,"div",60)(35,"div",61)(36,"button",62),C("click",function(){return y(e),b(h().addBold())}),w(),o(37,"svg",63),v(38,"path",64),n(),O(),o(39,"span",65),f(40,"Bold"),n()(),o(41,"button",62),C("click",function(){return y(e),b(h().addItalic())}),w(),o(42,"svg",63),v(43,"path",66),n(),O(),o(44,"span",65),f(45,"Italic"),n()(),o(46,"button",62),C("click",function(){return y(e),b(h().addList())}),w(),o(47,"svg",67),v(48,"path",68),n(),O(),o(49,"span",65),f(50,"Add list"),n()(),o(51,"button",62),C("click",function(){return y(e),b(h().addOrderedList())}),w(),o(52,"svg",67),v(53,"path",70),n(),O(),o(54,"span",65),f(55,"Add ordered list"),n()(),o(56,"button",62),C("click",function(){return y(e),b(h().addBlockquote())}),w(),o(57,"svg",72),v(58,"path",73),n(),O(),o(59,"span",65),f(60,"Add blockquote"),n()(),o(61,"button",62),C("click",function(){return y(e),b(h().addTable())}),w(),o(62,"svg",74),v(63,"path",75),n(),O(),o(64,"span",65),f(65,"Add table"),n()(),o(66,"button",62),C("click",function(){return y(e),b(h().addCode())}),w(),o(67,"svg",74),v(68,"path",76),n(),O(),o(69,"span",65),f(70,"Add code"),n()(),o(71,"button",62),C("click",function(){return y(e),b(h().addCodeBlock())}),w(),o(72,"svg",74),v(73,"path",77),n(),O(),o(74,"span",65),f(75,"Add code block"),n()(),o(76,"button",62),C("click",function(){return y(e),b(h().addLink())}),w(),o(77,"svg",74),v(78,"path",78),n(),O(),o(79,"span",65),f(80,"Add link"),n()(),o(81,"button",62),C("click",function(t){y(e);const i=h();return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(82,"svg",79),v(83,"path",80),n(),O(),o(84,"span",65),f(85,"Add emoji"),n()()()(),o(86,"button",81),C("click",function(){y(e);const t=h();return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(87,"svg",67),v(88,"path",82)(89,"path",83),n(),O(),o(90,"span",65),f(91),m(92,"translate"),n()(),o(93,"div",84),f(94),m(95,"translate"),v(96,"div",85),n()(),o(97,"div",86)(98,"label",87),f(99,"Publish post"),n(),R(100,Fe6,1,1,"markdown",172)(101,ke6,1,0)(102,Se6,1,4,"emoji-mart",89),n()()(),o(103,"div",269)(104,"button",209),C("click",function(){return y(e),b(h().updatePrice())}),f(105),m(106,"translate"),w(),o(107,"svg",176),v(108,"path",183),n()()()()()()}if(2&c){const e=h();k("ngClass",e.editPrice?"backdrop-blur-sm":""),s(4),H(_(5,40,"UPDATE_OFFER._update")),s(6),H(_(11,42,"CARD._close")),s(3),k("formGroup",e.priceForm),s(3),H(_(17,44,"UPDATE_OFFER._name")),s(2),k("ngClass",null!=e.priceForm.controls.name.errors&&e.priceForm.controls.name.errors.invalidName?"border-red-600":"border-gray-300 dark:border-secondary-200 mb-2"),s(),S(19,null!=e.priceForm.controls.name.errors&&e.priceForm.controls.name.errors.invalidName?19:-1),s(),S(20,e.customSelected?-1:20),s(3),H(_(24,46,"UPDATE_OFFER._choose_type")),s(2),S(25,e.allowCustom?25:-1),s(),S(26,e.allowOthers?26:-1),s(),S(27,e.recurringSelected?27:e.usageSelected?28:-1),s(3),H(_(31,48,"UPDATE_OFFER._description")),s(6),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(92,50,"CREATE_CATALOG._preview")),s(3),V(" ",_(95,52,"CREATE_CATALOG._show_preview")," "),s(6),S(100,e.showPreview?100:101),s(2),S(102,e.showEmoji?102:-1),s(2),k("disabled",e.validPriceCheck)("ngClass",e.validPriceCheck?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(106,54,"UPDATE_OFFER._save_price")," ")}}function De6(c,r){1&c&&v(0,"error-message",44),2&c&&k("message",h().errorMessage)}let Te6=(()=>{class c{constructor(e,a,t,i,l,d,u,p,z,x,E){this.router=e,this.api=a,this.prodSpecService=t,this.cdr=i,this.localStorage=l,this.eventMessage=d,this.elementRef=u,this.attachmentService=p,this.servSpecService=z,this.resSpecService=x,this.paginationService=E,this.PROD_SPEC_LIMIT=m1.PROD_SPEC_LIMIT,this.PRODUCT_LIMIT=m1.PRODUCT_LIMIT,this.CATALOG_LIMIT=m1.CATALOG_LIMIT,this.showGeneral=!0,this.showBundle=!1,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!1,this.showSLA=!1,this.showPrice=!1,this.stepsElements=["general-info","bundle","prodspec","catalog","category","license","sla","price","summary"],this.stepsCircles=["general-circle","bundle-circle","prodspec-circle","catalog-circle","category-circle","license-circle","sla-circle","price-circle","summary-circle"],this.showPreview=!1,this.showEmoji=!1,this.description="",this.partyId="",this.generalForm=new S2({name:new u1("",[O1.required]),version:new u1("0.1",[O1.required,O1.pattern("^-?[0-9]\\d*(\\.\\d*)?$")]),description:new u1("")}),this.offerStatus="Active",this.bundleChecked=!1,this.bundlePage=0,this.bundlePageCheck=!1,this.loadingBundle=!1,this.loadingBundle_more=!1,this.offersBundle=[],this.bundledOffers=[],this.nextBundledOffers=[],this.prodSpecPage=0,this.prodSpecPageCheck=!1,this.loadingProdSpec=!1,this.loadingProdSpec_more=!1,this.selectedProdSpec={id:""},this.prodSpecs=[],this.nextProdSpecs=[],this.catalogPage=0,this.catalogPageCheck=!1,this.loadingCatalog=!1,this.loadingCatalog_more=!1,this.selectedCatalog={id:""},this.catalogs=[],this.nextCatalogs=[],this.loadingCategory=!1,this.selectedCategories=[],this.unformattedCategories=[],this.categories=[],this.freeLicenseSelected=!0,this.licenseDescription="",this.licenseForm=new S2({treatment:new u1("",[O1.required]),description:new u1("")}),this.createdLicense={treatment:"",description:""},this.createdSLAs=[],this.availableSLAs=["UPDATES RATE","RESPONSE TIME","DELAY"],this.showCreateSLA=!1,this.updatesSelected=!0,this.responseSelected=!1,this.delaySelected=!1,this.creatingSLA={type:"UPDATES RATE",description:"Expected number of updates in the given period.",threshold:"",unitMeasure:"day"},this.editPrice=!1,this.selectedPriceType="CUSTOM",this.currencies=Oa.currencies,this.createdPrices=[],this.oldPrices=[],this.priceDescription="",this.showCreatePrice=!1,this.toggleOpenPrice=!1,this.oneTimeSelected=!1,this.recurringSelected=!1,this.selectedPeriod="DAILY",this.selectedPeriodAlter="DAILY",this.usageSelected=!1,this.customSelected=!0,this.validPriceCheck=!0,this.priceForm=new S2({name:new u1("",[O1.required]),price:new u1("",[O1.required]),description:new u1(""),usageUnit:new u1("")},{updateOn:"change"}),this.priceAlterForm=new S2({price:new u1("",[O1.required]),condition:new u1(""),description:new u1("")}),this.selectedPriceUnit=Oa.currencies[0].code,this.priceTypeAlter="ONE TIME",this.priceComponentSelected=!1,this.discountSelected=!1,this.noAlterSelected=!0,this.allowCustom=!0,this.allowOthers=!0,this.errorMessage="",this.showError=!1,this.eventMessage.messages$.subscribe(P=>{"CategoryAdded"===P.type&&this.addCategory(P.value),"ChangedSession"===P.type&&this.initPartyInfo()})}onClick(){1==this.showEmoji&&(this.showEmoji=!1,this.cdr.detectChanges()),1==this.editPrice&&(this.closeEditPrice(),this.cdr.detectChanges())}ngOnInit(){console.log(this.offer),this.initPartyInfo(),this.populateOfferInfo(),this.clearPriceFormInfo()}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0)if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}}populateOfferInfo(){if(this.generalForm.controls.name.setValue(this.offer.name),this.generalForm.controls.description.setValue(this.offer.description),this.generalForm.controls.version.setValue(this.offer.version?this.offer.version:""),this.offerStatus=this.offer.lifecycleStatus,1==this.offer.isBundle&&(this.toggleBundleCheck(),this.offersBundle=this.offer.bundledProductOffering),this.offer.productSpecification&&(this.selectedProdSpec=this.offer.productSpecification),this.offer.category&&(this.selectedCategories=this.offer.category),this.offer.productOfferingTerm&&(this.freeLicenseSelected=!1,this.licenseForm.controls.treatment.setValue(this.offer.productOfferingTerm[0].name),this.licenseForm.controls.description.setValue(this.offer.productOfferingTerm[0].description),this.createdLicense.treatment=this.offer.productOfferingTerm[0].name,this.createdLicense.description=this.offer.productOfferingTerm[0].description),this.offer.productOfferingPrice)for(let e=0;e{console.log("price"),console.log(a);let t={id:a.id,name:a.name,description:a.description,lifecycleStatus:a.lifecycleStatus,priceType:a.priceType,price:{percentage:0,taxRate:20,dutyFreeAmount:{unit:a.price.unit,value:0},taxIncludedAmount:{unit:a.price.unit,value:a.price.value}}};a.recurringChargePeriodType&&(console.log("recurring"),t.recurringChargePeriod=a.recurringChargePeriodType),a.unitOfMeasure&&(console.log("usage"),t.unitOfMeasure=a.unitOfMeasure),this.createdPrices.push(t),this.oldPrices.push(t)})}goBack(){this.eventMessage.emitSellerOffer(!0)}setOfferStatus(e){this.offerStatus=e,this.cdr.detectChanges()}toggleGeneral(){this.selectStep("general-info","general-circle"),this.showBundle=!1,this.showGeneral=!0,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!1,this.showSLA=!1,this.showPrice=!1,this.showPreview=!1,this.clearPriceFormInfo()}toggleBundle(){this.selectStep("bundle","bundle-circle"),this.showBundle=!0,this.showGeneral=!1,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!1,this.showSLA=!1,this.showPrice=!1,this.showPreview=!1,this.clearPriceFormInfo()}toggleBundleCheck(){this.bundledOffers=[],this.bundlePage=0,this.bundleChecked=!this.bundleChecked,1==this.bundleChecked?(this.loadingBundle=!0,this.getSellerOffers(!1)):this.offersBundle=[]}toggleProdSpec(){this.prodSpecs=[],this.prodSpecPage=0,this.loadingProdSpec=!0,this.getSellerProdSpecs(!1),this.selectStep("prodspec","prodspec-circle"),this.showBundle=!1,this.showGeneral=!1,this.showSummary=!1,this.showProdSpec=!0,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!1,this.showSLA=!1,this.showPrice=!1,this.showPreview=!1,this.clearPriceFormInfo()}toggleCatalogs(){this.catalogs=[],this.catalogPage=0,this.loadingCatalog=!0,this.getSellerCatalogs(!1),this.selectStep("catalog","catalog-circle"),this.showBundle=!1,this.showGeneral=!1,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!0,this.showCategory=!1,this.showLicense=!1,this.showSLA=!1,this.showPrice=!1,this.showPreview=!1,this.clearPriceFormInfo()}toggleCategories(){this.categories=[],this.loadingCategory=!0,this.getCategories(),console.log("CATEGORIES FORMATTED"),console.log(this.categories),this.selectStep("category","category-circle"),this.showBundle=!1,this.showGeneral=!1,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!0,this.showLicense=!1,this.showSLA=!1,this.showPrice=!1,this.showPreview=!1,this.clearPriceFormInfo()}toggleLicense(){this.selectStep("license","license-circle"),this.showBundle=!1,this.showGeneral=!1,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!0,this.showSLA=!1,this.showPrice=!1,this.showPreview=!1,this.clearPriceFormInfo()}toggleSLA(){this.selectStep("sla","sla-circle"),this.showBundle=!1,this.showGeneral=!1,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!1,this.showSLA=!0,this.showPrice=!1,this.showPreview=!1,this.clearPriceFormInfo()}togglePrice(){this.selectStep("price","price-circle"),this.showBundle=!1,this.showGeneral=!1,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!1,this.showSLA=!1,this.showPrice=!0,this.showPreview=!1,this.clearPriceFormInfo()}saveLicense(){this.createdLicense=this.licenseForm.value.treatment?{treatment:this.licenseForm.value.treatment,description:this.licenseForm.value.description?this.licenseForm.value.description:""}:{treatment:"",description:""},this.showPreview=!1}clearLicense(){this.freeLicenseSelected=!this.freeLicenseSelected,this.licenseForm.controls.treatment.setValue(""),this.licenseForm.controls.description.setValue(""),this.createdLicense={treatment:"",description:""},console.log(this.createdLicense.treatment)}onPriceTypeSelected(e){"ONE TIME"==e.target.value?(this.oneTimeSelected=!0,this.recurringSelected=!1,this.usageSelected=!1,this.customSelected=!1):"RECURRING"==e.target.value?(this.oneTimeSelected=!1,this.recurringSelected=!0,this.usageSelected=!1,this.customSelected=!1):"USAGE"==e.target.value?(this.oneTimeSelected=!1,this.recurringSelected=!1,this.usageSelected=!0,this.customSelected=!1):"CUSTOM"==e.target.value&&(this.oneTimeSelected=!1,this.recurringSelected=!1,this.usageSelected=!1,this.customSelected=!0),this.checkValidPrice()}onPriceTypeAlterSelected(e){this.priceTypeAlter=e.target.value}onPriceAlterSelected(e){"none"==e.target.value?(this.priceComponentSelected=!1,this.discountSelected=!1,this.noAlterSelected=!0):"price"==e.target.value?(this.priceComponentSelected=!0,this.discountSelected=!1,this.noAlterSelected=!1):"discount"==e.target.value&&(this.priceComponentSelected=!1,this.discountSelected=!0,this.noAlterSelected=!1)}onPricePeriodChange(e){this.selectedPeriod=e.target.value,this.checkValidPrice()}onPricePeriodAlterChange(e){this.selectedPeriodAlter=e.target.value,this.checkValidPrice()}onPriceUnitChange(e){this.selectedPriceUnit=e.target.value,this.checkValidPrice()}checkValidPrice(){const e=this.createdPrices.findIndex(a=>a.name===this.priceForm.value.name);-1!==e?this.editPrice&&this.createdPrices[e].name==this.priceToUpdate.name?(this.priceForm.controls.name.setErrors(null),this.priceForm.controls.name.updateValueAndValidity(),this.validPriceCheck=!(this.customSelected&&""!=this.priceForm.value.name||(this.usageSelected?""!=this.usageUnitUpdate.nativeElement.value:!this.priceForm.invalid))):(this.priceForm.controls.name.setErrors({invalidName:!0}),this.validPriceCheck=!0):(this.priceForm.controls.name.setErrors(null),this.priceForm.controls.name.updateValueAndValidity(),this.validPriceCheck=!(this.customSelected&&""!=this.priceForm.value.name||(this.usageSelected?""!=this.usageUnit.nativeElement.value:!this.priceForm.invalid))),this.cdr.detectChanges()}savePrice(){if(this.priceForm.value.name){let e={id:R4(),name:this.priceForm.value.name,description:this.priceForm.value.description?this.priceForm.value.description:"",lifecycleStatus:"Active",priceType:this.recurringSelected?"recurring":this.usageSelected?"usage":this.oneTimeSelected?"one time":"custom"};!this.customSelected&&this.priceForm.value.price&&(e.price={percentage:0,taxRate:20,dutyFreeAmount:{unit:this.selectedPriceUnit,value:0},taxIncludedAmount:{unit:this.selectedPriceUnit,value:parseFloat(this.priceForm.value.price)}}),this.recurringSelected&&(console.log("recurring"),e.recurringChargePeriod=this.selectedPeriod),this.usageSelected&&(console.log("usage"),e.unitOfMeasure={amount:1,units:this.usageUnit.nativeElement.value}),this.priceComponentSelected&&this.priceAlterForm.value.price&&(e.priceAlteration=[{description:this.priceAlterForm.value.description?this.priceAlterForm.value.description:"",name:"fee",priceType:this.priceComponentSelected?this.priceTypeAlter:this.recurringSelected?"recurring":this.usageSelected?"usage":this.oneTimeSelected?"one time":"custom",priority:0,recurringChargePeriod:this.priceComponentSelected&&"RECURRING"==this.priceTypeAlter?this.selectedPeriodAlter:"",price:{percentage:this.discountSelected?parseFloat(this.priceAlterForm.value.price):0,dutyFreeAmount:{unit:this.selectedPriceUnit,value:0},taxIncludedAmount:{unit:this.selectedPriceUnit,value:this.priceComponentSelected?parseFloat(this.priceAlterForm.value.price):0}},unitOfMeasure:{amount:1,units:this.priceComponentSelected&&"USAGE"==this.priceTypeAlter?this.usageUnitAlter.nativeElement.value:""}}]),this.createdPrices.push(e),console.log("--- price ---"),console.log(this.createdPrices)}this.clearPriceFormInfo()}showUpdatePrice(e){if(this.priceToUpdate=e,console.log(this.priceToUpdate),console.log(this.priceToUpdate),this.priceForm.controls.name.setValue(this.priceToUpdate.name),this.priceForm.controls.description.setValue(this.priceToUpdate.description),"custom"!=this.priceToUpdate.priceType&&(this.priceForm.controls.price.setValue(this.priceToUpdate.price.taxIncludedAmount.value),this.selectedPriceUnit=this.priceToUpdate.price.taxIncludedAmount.unit),this.cdr.detectChanges(),console.log(this.selectedPriceUnit),console.log(this.priceToUpdate.priceType),"one time"==this.priceToUpdate.priceType?(this.selectedPriceType="ONE TIME",this.oneTimeSelected=!0,this.recurringSelected=!1,this.usageSelected=!1,this.customSelected=!1):"recurring"==this.priceToUpdate.priceType?(this.selectedPriceType="RECURRING",this.oneTimeSelected=!1,this.recurringSelected=!0,this.usageSelected=!1,this.customSelected=!1,this.selectedPeriod=this.priceToUpdate.recurringChargePeriod,this.cdr.detectChanges()):"usage"==this.priceToUpdate.priceType?(this.selectedPriceType="USAGE",this.oneTimeSelected=!1,this.recurringSelected=!1,this.usageSelected=!0,this.customSelected=!1,this.cdr.detectChanges()):(console.log("custom"),this.selectedPriceType="CUSTOM",this.oneTimeSelected=!1,this.recurringSelected=!1,this.usageSelected=!1,this.customSelected=!0),console.log("-selected-"),console.log(this.selectedPriceType),0==this.createdPrices.length)this.allowCustom=!0,this.allowOthers=!0;else{let a=!1;for(let t=0;tt.id===this.priceToUpdate.id);-1!==a&&(this.createdPrices[a]=e),console.log("--- price ---"),console.log(this.createdPrices)}this.closeEditPrice()}closeEditPrice(){this.priceForm.reset(),this.priceForm.controls.name.setValue(""),this.priceForm.controls.price.setValue(""),this.clearPriceFormInfo(),this.editPrice=!1}removePrice(e){const a=this.createdPrices.findIndex(t=>t.id===e.id);-1!==a&&this.createdPrices.splice(a,1),this.checkCustom(),this.clearPriceFormInfo()}showNewPrice(){this.checkCustom(),this.showCreatePrice=!this.showCreatePrice}checkCustom(){if(0==this.createdPrices.length)this.allowCustom=!0,this.allowOthers=!0;else{let e=!1;for(let a=0;a{this.priceForm.get(e)?.markAsPristine(),this.priceForm.get(e)?.markAsUntouched(),this.priceForm.get(e)?.updateValueAndValidity()}),this.validPriceCheck=!0}onSLAMetricChange(e){this.creatingSLA.unitMeasure=e.target.value}onSLAChange(e){"UPDATES RATE"==e.target.value?(this.updatesSelected=!0,this.responseSelected=!1,this.delaySelected=!1,this.creatingSLA.type="UPDATES RATE",this.creatingSLA.description="Expected number of updates in the given period.",this.creatingSLA.unitMeasure="day"):"RESPONSE TIME"==e.target.value?(this.updatesSelected=!1,this.responseSelected=!0,this.delaySelected=!1,this.creatingSLA.type="RESPONSE TIME",this.creatingSLA.description="Total amount of time to respond to a data request (GET).",this.creatingSLA.unitMeasure="ms"):"DELAY"==e.target.value&&(this.updatesSelected=!1,this.responseSelected=!1,this.delaySelected=!0,this.creatingSLA.type="DELAY",this.creatingSLA.description="Total amount of time to deliver a new update (SUBSCRIPTION).",this.creatingSLA.unitMeasure="ms")}showCreateSLAMetric(){"UPDATES RATE"==this.availableSLAs[0]?(this.updatesSelected=!0,this.responseSelected=!1,this.delaySelected=!1,this.creatingSLA.type="UPDATES RATE",this.creatingSLA.description="Expected number of updates in the given period.",this.creatingSLA.unitMeasure="day"):"RESPONSE TIME"==this.availableSLAs[0]?(this.updatesSelected=!1,this.responseSelected=!0,this.delaySelected=!1,this.creatingSLA.type="RESPONSE TIME",this.creatingSLA.description="Total amount of time to respond to a data request (GET).",this.creatingSLA.unitMeasure="ms"):"DELAY"==this.availableSLAs[0]&&(this.updatesSelected=!1,this.responseSelected=!1,this.delaySelected=!0,this.creatingSLA.type="DELAY",this.creatingSLA.description="Total amount of time to deliver a new update (SUBSCRIPTION).",this.creatingSLA.unitMeasure="ms"),this.showCreateSLA=!0}addSLA(){const e=this.availableSLAs.findIndex(a=>a===this.creatingSLA.type);1==this.updatesSelected?(this.creatingSLA.threshold=this.updatemetric.nativeElement.value,this.createdSLAs.push({type:this.creatingSLA.type,description:this.creatingSLA.description,threshold:this.creatingSLA.threshold,unitMeasure:this.creatingSLA.unitMeasure}),this.availableSLAs.splice(e,1),this.updatesSelected=!1):1==this.responseSelected?(this.creatingSLA.threshold=this.responsemetric.nativeElement.value,this.createdSLAs.push({type:this.creatingSLA.type,description:this.creatingSLA.description,threshold:this.creatingSLA.threshold,unitMeasure:this.creatingSLA.unitMeasure}),this.availableSLAs.splice(e,1),this.responseSelected=!1):(this.creatingSLA.threshold=this.delaymetric.nativeElement.value,this.createdSLAs.push({type:this.creatingSLA.type,description:this.creatingSLA.description,threshold:this.creatingSLA.threshold,unitMeasure:this.creatingSLA.unitMeasure}),this.availableSLAs.splice(e,1),this.delaySelected=!1),this.showCreateSLA=!1}removeSLA(e){const a=this.createdSLAs.findIndex(t=>t.type===e.type);-1!==a&&this.createdSLAs.splice(a,1),this.availableSLAs.push(e.type)}checkThreshold(){return 1==this.updatesSelected?""==this.updatemetric.nativeElement.value:1==this.responseSelected?""==this.responsemetric.nativeElement.value:""==this.delaymetric.nativeElement.value}getCategories(){console.log("Getting categories..."),this.api.getLaunchedCategories().then(e=>{for(let a=0;ai.parentId===e.id);if(e.children=t,1==e.isRoot?this.categories.push(e):this.saveChildren(this.categories,e),0!=t.length)for(let i=0;i{if(a=t,e.children=a,1==e.isRoot?this.categories.push(e):this.saveChildren(this.categories,e),0!=a.length)for(let i=0;id.id==a.id)){let d=i.findIndex(u=>u.id==a.id);i[d]=a,e[t].children=i}this.saveChildren(i,a)}}}addParent(e){const a=this.unformattedCategories.findIndex(t=>t.id===e);-1!=a&&(0==this.unformattedCategories[a].isRoot?this.addCategory(this.unformattedCategories[a]):this.selectedCategories.push(this.unformattedCategories[a]))}addCategory(e){const a=this.selectedCategories.findIndex(t=>t.id===e.id);if(-1!==a?(console.log("eliminar"),this.selectedCategories.splice(a,1)):(console.log("a\xf1adir"),this.selectedCategories.push(e)),0==e.isRoot){const t=this.selectedCategories.findIndex(i=>i.id===e.parentId);-1==a&&-1==t&&this.addParent(e.parentId)}console.log(this.selectedCategories),this.cdr.detectChanges(),console.log(this.selectedCategories)}isCategorySelected(e){return-1!==this.selectedCategories.findIndex(t=>t.id===e.id)}selectCatalog(e){this.selectedCatalog=e,this.selectedCategories=[]}getSellerCatalogs(e){var a=this;return M(function*(){0==e&&(a.loadingCatalog=!0),a.paginationService.getItemsPaginated(a.catalogPage,a.CATALOG_LIMIT,e,a.catalogs,a.nextCatalogs,{keywords:void 0,filters:["Active","Launched"],partyId:a.partyId},a.api.getCatalogsByUser.bind(a.api)).then(i=>{a.catalogPageCheck=i.page_check,a.catalogs=i.items,a.nextCatalogs=i.nextItems,a.catalogPage=i.page,a.loadingCatalog=!1,a.loadingCatalog_more=!1})})()}nextCatalog(){var e=this;return M(function*(){yield e.getSellerCatalogs(!0)})()}selectProdSpec(e){this.selectedProdSpec=e}getSellerProdSpecs(e){var a=this;return M(function*(){0==e&&(a.loadingProdSpec=!0),a.paginationService.getItemsPaginated(a.prodSpecPage,a.PROD_SPEC_LIMIT,e,a.prodSpecs,a.nextProdSpecs,{filters:["Active","Launched"],partyId:a.partyId},a.prodSpecService.getProdSpecByUser.bind(a.prodSpecService)).then(i=>{a.prodSpecPageCheck=i.page_check,a.prodSpecs=i.items,a.nextProdSpecs=i.nextItems,a.prodSpecPage=i.page,a.loadingProdSpec=!1,a.loadingProdSpec_more=!1})})()}nextProdSpec(){var e=this;return M(function*(){yield e.getSellerProdSpecs(!0)})()}getSellerOffers(e){var a=this;return M(function*(){0==e&&(a.loadingBundle=!0),a.paginationService.getItemsPaginated(a.bundlePage,a.PRODUCT_LIMIT,e,a.bundledOffers,a.nextBundledOffers,{filters:["Active","Launched"],partyId:a.partyId,sort:void 0,isBundle:!1},a.api.getProductOfferByOwner.bind(a.api)).then(i=>{a.bundlePageCheck=i.page_check,a.bundledOffers=i.items,a.nextBundledOffers=i.nextItems,a.bundlePage=i.page,a.loadingBundle=!1,a.loadingBundle_more=!1})})()}nextBundle(){var e=this;return M(function*(){yield e.getSellerOffers(!0)})()}addProdToBundle(e){const a=this.offersBundle.findIndex(t=>t.id===e.id);-1!==a?(console.log("eliminar"),this.offersBundle.splice(a,1)):(console.log("a\xf1adir"),this.offersBundle.push({id:e.id,href:e.href,lifecycleStatus:e.lifecycleStatus,name:e.name})),this.cdr.detectChanges(),console.log(this.offersBundle)}isProdInBundle(e){return-1!==this.offersBundle.findIndex(t=>t.id===e.id)}showFinish(){this.clearPriceFormInfo(),this.saveLicense(),this.generalForm.value.name&&this.generalForm.value.version&&(this.offerToUpdate={name:this.generalForm.value.name,description:null!=this.generalForm.value.description?this.generalForm.value.description:"",version:this.generalForm.value.version,lifecycleStatus:this.offerStatus}),this.selectStep("summary","summary-circle"),this.showBundle=!1,this.showGeneral=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!1,this.showSLA=!1,this.showPrice=!1,this.showSummary=!0,this.showPreview=!1}updateOffer(){var e=this;return M(function*(){if(e.createdPrices.length>0){let a=e.createdPrices.length-1,t=!1,i=!1;for(let l=0;lu.id===e.createdPrices[l].id);-1==d?(t=!0,i=!0):e.oldPrices[d]!=e.createdPrices[l]&&(a=l,t=!1,i=!0)}if(0==i)e.saveOfferInfo();else{console.log(e.oldPrices),console.log(e.createdPrices);for(let l=0;lu.id===e.createdPrices[l].id);if(-1==d){console.log("precio nuevo");let u={description:e.createdPrices[l].description,lifecycleStatus:e.createdPrices[l].lifecycleStatus,name:e.createdPrices[l].name,priceType:e.createdPrices[l].priceType,price:{unit:e.createdPrices[l].price?.taxIncludedAmount?.unit,value:e.createdPrices[l].price?.taxIncludedAmount?.value}};"recurring"==e.createdPrices[l].priceType&&(console.log("recurring"),u.recurringChargePeriodType=e.createdPrices[l].recurringChargePeriod),"usage"==e.createdPrices[l].priceType&&(console.log("usage"),u.unitOfMeasure=e.createdPrices[l].unitOfMeasure),yield e.api.postOfferingPrice(u).subscribe({next:p=>{console.log("precio"),console.log(p),e.createdPrices[l].id=p.id,t&&e.saveOfferInfo()},error:p=>{console.error("There was an error while creating offers price!",p),p.error.error?(console.log(p),e.errorMessage="Error: "+p.error.error):e.errorMessage="There was an error while creating offers price!",e.showError=!0,setTimeout(()=>{e.showError=!1},3e3)}})}else if(console.log("precio existente -update"),e.oldPrices[d]!=e.createdPrices[l]){console.log("diferentes");let u={id:e.createdPrices[l].id,description:e.createdPrices[l].description,lifecycleStatus:e.createdPrices[l].lifecycleStatus,name:e.createdPrices[l].name,priceType:e.createdPrices[l].priceType,price:{unit:e.createdPrices[l].price?.taxIncludedAmount?.unit,value:e.createdPrices[l].price?.taxIncludedAmount?.value}};"recurring"==e.createdPrices[l].priceType&&(console.log("recurring"),u.recurringChargePeriodType=e.createdPrices[l].recurringChargePeriod),"usage"==e.createdPrices[l].priceType&&(console.log("usage"),u.unitOfMeasure=e.createdPrices[l].unitOfMeasure),yield e.api.updateOfferingPrice(u).subscribe({next:p=>{console.log("precio"),console.log(p),e.createdPrices[l].id=p.id,0==t&&l==a&&e.saveOfferInfo()},error:p=>{console.error("There was an error while updating!",p),p.error.error?(console.log(p),e.errorMessage="Error: "+p.error.error):e.errorMessage="There was an error while updating offers price!",e.showError=!0,setTimeout(()=>{e.showError=!1},3e3)}})}}}}else e.createdPrices=[],e.saveOfferInfo();console.log(e.offerToUpdate)})()}saveOfferInfo(){let e=[],a=[];for(let t=0;t{console.log("product offer created:"),console.log(t),this.goBack()},error:t=>{console.error("There was an error while updating!",t),t.error.error?(console.log(t),this.errorMessage="Error: "+t.error.error):this.errorMessage="There was an error while updating the offer!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}selectStep(e,a){const t=this.stepsElements.findIndex(l=>l===e);if(-1!==t){this.stepsElements.splice(t,1),this.selectMenu(document.getElementById(e),"text-primary-100 dark:text-primary-50"),this.unselectMenu(document.getElementById(e),"text-gray-500");for(let l=0;ll===a);if(-1!==t){this.stepsCircles.splice(i,1),this.selectMenu(document.getElementById(a),"border-primary-100 dark:border-primary-50"),this.unselectMenu(document.getElementById(a),"border-gray-400");for(let l=0;l blockquote"}):this.showPrice?this.priceForm.patchValue({description:this.priceForm.value.description+"\n> blockquote"}):this.showLicense&&this.licenseForm.patchValue({description:this.licenseForm.value.description+"\n> blockquote"})}addLink(){this.showGeneral?this.generalForm.patchValue({description:this.generalForm.value.description+" [title](https://www.example.com) "}):this.showPrice?this.priceForm.patchValue({description:this.priceForm.value.description+" [title](https://www.example.com) "}):this.showLicense&&this.licenseForm.patchValue({description:this.licenseForm.value.description+" [title](https://www.example.com) "})}addTable(){this.showGeneral?this.generalForm.patchValue({description:this.generalForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"}):this.showPrice?this.priceForm.patchValue({description:this.priceForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"}):this.showLicense&&this.licenseForm.patchValue({description:this.licenseForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"})}addEmoji(e){this.showGeneral?(this.showEmoji=!1,this.generalForm.patchValue({description:this.generalForm.value.description+e.emoji.native})):this.showPrice?this.priceForm.patchValue({description:this.priceForm.value.description+e.emoji.native}):this.showLicense&&this.licenseForm.patchValue({description:this.licenseForm.value.description+e.emoji.native})}togglePreview(){this.showGeneral?this.generalForm.value.description&&(this.description=this.generalForm.value.description):this.showPrice?this.priceForm.value.description&&(this.priceDescription=this.priceForm.value.description):this.showLicense&&this.licenseForm.value.description&&(this.licenseDescription=this.licenseForm.value.description)}static#e=this.\u0275fac=function(a){return new(a||c)(B(Q1),B(p1),B(z4),B(B1),B(A1),B(e2),B(C2),B(Q0),B(N4),B(h4),B(L3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["update-offer"]],viewQuery:function(a,t){if(1&a&&(b1(o66,5),b1(n66,5),b1(s66,5),b1(l66,5),b1(f66,5),b1(d66,5)),2&a){let i;M1(i=L1())&&(t.updatemetric=i.first),M1(i=L1())&&(t.responsemetric=i.first),M1(i=L1())&&(t.delaymetric=i.first),M1(i=L1())&&(t.usageUnit=i.first),M1(i=L1())&&(t.usageUnitUpdate=i.first),M1(i=L1())&&(t.usageUnitAlter=i.first)}},hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},inputs:{offer:"offer"},decls:115,vars:65,consts:[["updatemetric",""],["responsemetric",""],["delaymetric",""],["usageUnit",""],["usageUnitAlter",""],["discountfee",""],["usageUnitUpdate",""],[1,"w-full"],[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-gray-200","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800","dark:text-white"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","mt-4","p-8","rounded-lg"],[1,"text-3xl","font-bold","text-primary-100","dark:text-white","ml-4"],[1,"h-px","m-4","bg-gray-300","dark:bg-gray-200","border-0"],[1,"md:grid","md:grid-cols-25/75","xl:grid-cols-20/80"],[1,"flex","sm:flex-row","md:flex-col","md:mr-4","overflow-x-auto","max-w-[calc(100vw-5rem)]"],[1,"text-xl","hidden","md:block","font-bold","text-black","mb-4","dark:text-white"],["id","general-info",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-primary-100","dark:text-primary-50","justify-items-center","md:justify-items-start",3,"click"],["id","general-circle",1,"flex","items-center","justify-center","w-6","h-6","lg:w-8","lg:h-8","border","border-2","border-primary-100","dark:border-primary-50","rounded-full","shrink-0"],[1,"flex","text-sm","md:text-base","sm:text-center","md:text-start"],[1,"hidden","xl:flex","text-xs","justify-start"],[1,"h-px","mb-2","bg-gray-300","dark:bg-gray-200","border-0"],["id","bundle",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","bundle-circle",1,"flex","items-center","justify-center","w-6","h-6","lg:w-8","lg:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","prodspec",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","prodspec-circle",1,"flex","items-center","justify-center","w-6","h-6","lg:w-8","lg:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","category",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","category-circle",1,"flex","items-center","justify-center","w-6","h-6","lg:w-8","lg:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","license",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","license-circle",1,"flex","items-center","justify-center","w-6","h-6","lg:w-8","lg:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","price",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","price-circle",1,"flex","items-center","justify-center","w-6","h-6","lg:w-8","lg:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","summary",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","summary-circle",1,"flex","items-center","justify-center","w-6","h-6","lg:w-8","lg:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","edit-price-modal","tabindex","-1","aria-hidden","true",1,"flex","justify-center","overflow-y-auto","overflow-x-hidden","fixed","top-0","right-0","left-0","z-50","justify-center","items-center","w-full","md:inset-0","h-[calc(100%-1rem)]","max-h-full","shadow-2xl",3,"ngClass"],[1,"fixed","w-fit","top-1/2","left-1/2",3,"message"],[1,"m-4","md:grid","md:grid-cols-2","gap-4",3,"formGroup"],["for","prod-name",1,"font-bold","text-lg","dark:text-white"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],[1,"font-bold","text-lg","col-span-2","dark:text-white"],[1,"mb-2","col-span-2"],[1,"flex","items-center","w-full","text-sm","font-medium","text-center","text-gray-500","dark:text-gray-200","sm:text-base"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-blue-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-green-700","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-yellow-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","items-center"],["for","prod-version",1,"font-bold","text-lg","dark:text-white"],["formControlName","version","type","text","id","prod-version",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["for","prod-name",1,"font-bold","text-lg","col-span-2","dark:text-white"],[1,"w-full","col-span-2","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200"],[1,"flex","items-center","justify-between","px-3","py-2","border-b"],[1,"flex","flex-wrap","items-center","divide-gray-200","dark:divide-secondary-200","sm:divide-x","sm:rtl:divide-x-reverse"],[1,"flex","items-center","space-x-1","rtl:space-x-reverse","sm:pe-4","text-gray-500","dark:text-gray-200"],["type","button",1,"p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 5h4.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0-7H6m2 7h6.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0 0H6"],[1,"sr-only"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8.874 19 6.143-14M6 19h6.33m-.66-14H18"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M9 8h10M9 12h10M9 16h10M4.99 8H5m-.02 4h.01m0 4H5"],["type","button",1,"hidden","lg:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4"],["type","button",1,"hidden","md:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["fill-rule","evenodd","d","M5 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm0 12a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm1.65-9.76A1 1 0 0 0 5 9v6a1 1 0 0 0 1.65.76l3.5-3a1 1 0 0 0 0-1.52l-3.5-3ZM12 10a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Zm0 4a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Z","clip-rule","evenodd"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-width","2","d","M3 11h18m-9 0v8m-8 0h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 3v4a1 1 0 0 1-1 1H5m5 4-2 2 2 2m4-4 2 2-2 2m5-12v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M13.213 9.787a3.391 3.391 0 0 0-4.795 0l-3.425 3.426a3.39 3.39 0 0 0 4.795 4.794l.321-.304m-.321-4.49a3.39 3.39 0 0 0 4.795 0l3.424-3.426a3.39 3.39 0 0 0-4.794-4.795l-1.028.961"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-4","h-4"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM13.5 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm-7 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm3.5 9.5A5.5 5.5 0 0 1 4.6 11h10.81A5.5 5.5 0 0 1 10 15.5Z"],["type","button","data-tooltip-target","tooltip-fullscreen",1,"rounded","cursor-pointer","text-gray-500","dark:text-gray-200","p-2","sm:ms-auto","hover:text-gray-900","dark:hover:text-gray-900","hover:bg-gray-100",3,"click"],["stroke","currentColor","stroke-width","2","d","M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z"],["stroke","currentColor","stroke-width","2","d","M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"],["id","tooltip-fullscreen","role","tooltip",1,"absolute","z-10","invisible","inline-block","px-3","py-2","text-sm","font-medium","text-white","transition-opacity","duration-300","bg-gray-900","rounded-lg","shadow-sm","opacity-0","tooltip"],["data-popper-arrow","",1,"tooltip-arrow"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","rounded-b-lg"],["for","editor",1,"sr-only"],[1,"text-gray-800","dark:text-gray-200","text-wrap","break-all",3,"data"],[3,"darkMode","style"],[1,"flex","w-full","justify-items-end","justify-end","ml-4"],["type","button",1,"flex","text-white","justify-end","align-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-blue-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-blue-500"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M8.737 8.737a21.49 21.49 0 0 1 3.308-2.724m0 0c3.063-2.026 5.99-2.641 7.331-1.3 1.827 1.828.026 6.591-4.023 10.64-4.049 4.049-8.812 5.85-10.64 4.023-1.33-1.33-.736-4.218 1.249-7.253m6.083-6.11c-3.063-2.026-5.99-2.641-7.331-1.3-1.827 1.828-.026 6.591 4.023 10.64m3.308-9.34a21.497 21.497 0 0 1 3.308 2.724m2.775 3.386c1.985 3.035 2.579 5.923 1.248 7.253-1.336 1.337-4.245.732-7.295-1.275M14 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-green-700","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-green-700"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-yellow-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-yellow-500"],[1,"cursor-pointer","flex","items-center",3,"click"],[1,"flex","items-center","text-red-800"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-red-800"],["id","editor","formControlName","description","rows","8","placeholder","Add product description...",1,"block","w-full","px-0","text-sm","text-gray-800","dark:text-gray-200","bg-white","dark:bg-secondary-300","border-0"],[3,"click","emojiClick","darkMode"],[1,"text-3xl","font-bold","text-primary-100","ml-4","dark:text-white"],[1,"col-span-2","flex","align-items-middle","h-fit","m-4"],["for","prod-brand",1,"font-bold","text-lg","dark:text-white"],[1,"inline-flex","items-center","me-5","ml-4"],["type","checkbox","value","","disabled","",1,"sr-only","peer"],[1,"relative","w-11","h-6","bg-gray-400","dark:bg-gray-700","rounded-full","peer","peer-focus:ring-4","peer-focus:ring-primary-100","peer-checked:after:translate-x-full","rtl:peer-checked:after:-translate-x-full","peer-checked:after:border-white","after:content-['']","after:absolute","after:top-0.5","after:start-[2px]","after:bg-white","after:border-gray-300","after:border","after:rounded-full","after:h-5","after:w-5","after:transition-all","peer-checked:bg-primary-100"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["role","status",1,"w-full","h-fit","flex","justify-center","align-middle"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","m-4"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"hidden","md:table-cell","px-6","py-3"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"px-6","py-4","text-wrap","break-all"],[1,"hidden","md:table-cell","px-6","py-4"],[1,"bg-blue-100","dark:bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"px-6","py-4"],["id","select-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded","focus:ring-blue-500","dark:focus:ring-blue-600","dark:ring-offset-gray-800","focus:ring-2","dark:bg-gray-700","dark:border-gray-600",3,"checked"],[1,"bg-blue-100","dark:bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"flex","pt-6","pb-2","justify-center","align-middle"],[1,"flex","cursor-pointer","shadow-lg","items-center","justify-center","px-3","h-8","text-sm","font-medium","text-gray-500","dark:text-white","bg-white","dark:bg-primary-100","dark:hover:bg-secondary-100","border","border-gray-300","dark:border-secondary-200","rounded-lg","hover:bg-gray-200",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle","mt-2"],[1,"m-4"],[1,"flex","justify-center","w-full","m-4"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","mt-4","mb-4"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200",3,"ngClass"],[1,"flex","w-full","justify-items-end","justify-end","m-4"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","mt-4"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200",3,"click","ngClass"],[1,"bg-blue-100","bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"bg-blue-100","bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"flex","w-full","justify-items-end","justify-end","ml-4","mt-4"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","mt-4","dark:bg-secondary-300"],[1,"flex","w-full","justify-between"],["scope","col",1,"flex","px-6","py-3","w-3/5"],["scope","col",1,"hidden","md:table-cell","flex","px-6","py-3","w-fit"],["scope","col",1,"flex","px-6","py-3","w-fit"],[1,"flex","border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200","w-full","justify-between"],[1,"flex","px-6","py-4","w-3/5","text-wrap","break-all"],[1,"hidden","md:table-cell","flex","px-6","py-4","w-fit"],[1,"flex","px-6","py-4","w-fit","justify-end"],["id","select-checkbox","type","checkbox","value","",1,"flex","w-4","h-4","justify-end","text-blue-600","bg-gray-100","border-gray-300","rounded","focus:ring-blue-500","dark:focus:ring-blue-600","dark:ring-offset-gray-800","focus:ring-2","dark:bg-gray-700","dark:border-gray-600",3,"click","checked"],[1,"hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],["colspan","3"],[1,"w-full",3,"child","parent","selected","path"],[1,"mt-4"],[3,"formGroup"],["for","treatment",1,"font-bold","text-lg","dark:text-white"],["formControlName","treatment","type","text","id","treatment",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["for","description",1,"font-bold","text-lg","dark:text-white"],[1,"w-full","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200"],[1,"bg-gray-50","dark:bg-secondary-300","dark:text-white","text-gray-900","text-wrap","break-all",3,"data"],[1,"flex","w-full","justify-items-center","justify-center","ml-4","mt-4"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],[1,"flex","w-full","justify-items-center","justify-center","ml-4"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["type","button",1,"text-white","bg-red-600","hover:bg-red-700","focus:ring-4","focus:outline-none","focus:ring-red-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4","text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M6 18 17.94 6M18 18 6.06 6"],["id","type",1,"ml-4","mt-4","shadow","bg-white","border","border-gray-300","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],[3,"value"],[1,"flex","m-4"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M11 16h2m6.707-9.293-2.414-2.414A1 1 0 0 0 16.586 4H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7.414a1 1 0 0 0-.293-.707ZM16 20v-6a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v6h8ZM9 4h6v3a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V4Z"],[1,"flex","flex-row","w-full","ml-4"],["type","number","pattern","[0-9]*.[0-9]*","required","",1,"block","p-2.5","w-3/4","z-20","text-sm","text-gray-900","bg-white","rounded-l-lg","rounded-s-gray-100","rounded-s-2","border-l","border-gray-300","focus:ring-blue-500","focus:border-blue-500"],["id","type",1,"bg-white","border-r","border-gray-300","0text-gray-90","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-1/4","p-2.5",3,"change"],["value","day"],["value","week"],["value","month"],["value","ms"],["value","s"],["value","min"],["scope","col",1,"hidden","xl:table-cell","px-6","py-3"],[1,"px-6","py-4","max-w-1/6","text-wrap","break-all"],[1,"hidden","xl:table-cell","px-6","py-4","text-wrap","break-all"],[1,"px-6","py-4","inline-flex"],["type","button",1,"ml-2","text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center","me-2",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4","text-white"],["fill-rule","evenodd","d","M14 4.182A4.136 4.136 0 0 1 16.9 3c1.087 0 2.13.425 2.899 1.182A4.01 4.01 0 0 1 21 7.037c0 1.068-.43 2.092-1.194 2.849L18.5 11.214l-5.8-5.71 1.287-1.31.012-.012Zm-2.717 2.763L6.186 12.13l2.175 2.141 5.063-5.218-2.141-2.108Zm-6.25 6.886-1.98 5.849a.992.992 0 0 0 .245 1.026 1.03 1.03 0 0 0 1.043.242L10.282 19l-5.25-5.168Zm6.954 4.01 5.096-5.186-2.218-2.183-5.063 5.218 2.185 2.15Z","clip-rule","evenodd"],[1,"font-bold","text-xl","ml-4","dark:text-white"],[1,"xl:grid","xl:grid-cols-80/20","xl:gap-4","m-4",3,"change","formGroup"],[1,"font-bold","text-lg","dark:text-white"],["formControlName","name","type","text","id","name",1,"bg-gray-50","dark:bg-secondary-300","border","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change","ngClass"],[1,"mt-1","mb-2","text-sm","text-red-600","dark:text-red-500"],["id","type",1,"mb-2","shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],["value","CUSTOM"],["for","description",1,"font-bold","text-lg","col-span-2","dark:text-white"],[1,"w-full","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200","col-span-2"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],[1,"flex","flex-row","w-full"],["type","number","pattern","[0-9]*.[0-9]*","formControlName","price",1,"bg-gray-50","dark:bg-secondary-300","border-l","text-gray-900","dark:text-white","text-sm","rounded-l-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["id","type",1,"bg-white","border-r","border-gray-300","dark:bg-secondary-300","text-gray-90","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-1/4","p-2.5",3,"change"],["value","ONE TIME"],["value","RECURRING"],["value","USAGE"],["id","type",1,"shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],["value","DAILY"],["value","WEEKLY"],["value","MONTHLY"],["value","QUARTERLY"],["value","YEARLY"],["value","QUINQUENNIAL"],["type","text",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","text-gray-900","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],["id","editor","formControlName","description","rows","8","placeholder","Add product description...",1,"block","w-full","px-0","text-sm","text-gray-800","border-0","dark:text-gray-200","bg-white","dark:bg-secondary-300"],["id","type",1,"w-full","md:w-1/3","shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","p-2.5",3,"change"],["value","none"],["value","price"],["value","discount"],[1,"ml-4","mb-4","md:grid","md:grid-cols-80/20","gap-4"],["id","type",1,"mb-2","col-span-2","w-1/3","shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],["formControlName","price","type","number","pattern","[0-9]*.[0-9]*","step","0.1",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["id","description","formControlName","description","rows","4",1,"col-span-2","block","p-2.5","w-full","text-sm","text-gray-900","bg-gray-50","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","rounded-lg","border","border-gray-300","focus:ring-blue-500","focus:border-blue-500"],["id","type",1,"shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","text-sm","dark:border-secondary-200","dark:text-white","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],["type","text",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","text-gray-900","text-sm","dark:border-secondary-200","dark:text-white","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"ml-4","mb-4","md:grid","md:grid-cols-20/80"],["id","type",1,"w-full","shadow","bg-white","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","p-2.5"],["value","fee"],["formControlName","price","type","number","pattern","[0-9]*.[0-9]*","step","0.1",1,"bg-gray-50","border-l","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-l-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["id","type",1,"bg-white","border-r","border-gray-300","text-gray-90","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-1/4","p-2.5"],["value","percentage"],["value","AUD"],[1,"col-span-2"],["id","type",1,"bg-white","border-l","border-gray-300","text-gray-90","text-sm","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","rounded-l-lg","focus:ring-blue-500","focus:border-blue-500","block","w-1/4","p-2.5"],["value","EQ"],["value","LT"],["value","LE"],["value","GT"],["type","number","pattern","[0-9]*.[0-9]*","step","0.1",1,"bg-gray-50","border-r","border-gray-300","text-gray-900","text-sm","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],[1,"m-8"],[1,"mb-4","md:grid","md:grid-cols-2","gap-4"],[1,"mb-2","bg-gray-50","text-wrap","break-all","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","border","border-gray-300","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"mb-2","bg-gray-50","text-wrap","break-all","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"mb-4"],[1,"font-bold","text-lg","mr-4","dark:text-white"],[1,"px-4","py-2","bg-white","rounded-lg","p-4","mb-4","dark:bg-secondary-300","border","dark:border-secondary-200","dark:text-white"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","mb-4"],["for","treatment",1,"font-bold","text-base","dark:text-white"],[1,"font-bold","text-base","dark:text-white"],[1,"px-4","py-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","rounded-lg","p-4"],[1,"w-full","lg:w-3/4","xl:w-1/2","relative","bg-secondary-50","dark:bg-secondary-200","rounded-lg","shadow","bg-cover","bg-right-bottom",3,"click"],[1,"flex","items-center","justify-between","pr-2","pt-2","rounded-t","dark:border-gray-600"],[1,"text-xl","ml-4","mr-4","font-semibold","tracking-tight","text-primary-100","dark:text-white"],["type","button","data-modal-hide","edit-price-modal",1,"text-gray-400","bg-transparent","hover:bg-gray-200","hover:text-gray-900","rounded-lg","text-sm","w-8","h-8","ms-auto","inline-flex","justify-center","items-center","dark:hover:bg-gray-600","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-3","h-3"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"],[1,"w-full","max-h-[80vh]","overflow-y-auto","overflow-x-hidden"],[1,"lg:grid","lg:grid-cols-80/20","gap-4","m-4","p-4",3,"change","formGroup"],["id","type",1,"mb-2","shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"value"],[1,"flex","w-full","justify-items-center","justify-center","m-2","p-2"],["id","type",1,"bg-white","border-r","border-gray-300","dark:bg-secondary-300","text-gray-90","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-1/4","p-2.5",3,"change","value"],[3,"value","selected"],["id","type",1,"mb-2","shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change","value"],["id","type",1,"shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change","value"],["type","text",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change","value"]],template:function(a,t){1&a&&(o(0,"div",7)(1,"div",8)(2,"nav",9)(3,"ol",10)(4,"li",11)(5,"button",12),C("click",function(){return t.goBack()}),w(),o(6,"svg",13),v(7,"path",14),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",15)(11,"div",16),w(),o(12,"svg",17),v(13,"path",18),n(),O(),o(14,"span",19),f(15),m(16,"translate"),n()()()()()(),o(17,"div",20)(18,"h2",21),f(19),m(20,"translate"),n(),v(21,"hr",22),o(22,"div",23)(23,"div",24)(24,"h2",25),f(25),m(26,"translate"),n(),o(27,"button",26),C("click",function(){return t.toggleGeneral()}),o(28,"span",27),f(29," 1 "),n(),o(30,"span")(31,"h3",28),f(32),m(33,"translate"),n(),o(34,"p",29),f(35),m(36,"translate"),n()()(),v(37,"hr",30),o(38,"button",31),C("click",function(){return t.toggleBundle()}),o(39,"span",32),f(40," 2 "),n(),o(41,"span")(42,"h3",28),f(43),m(44,"translate"),n(),o(45,"p",29),f(46),m(47,"translate"),n()()(),v(48,"hr",30),o(49,"button",33),C("click",function(){return t.toggleProdSpec()}),o(50,"span",34),f(51," 3 "),n(),o(52,"span")(53,"h3",28),f(54),m(55,"translate"),n(),o(56,"p",29),f(57),m(58,"translate"),n()()(),v(59,"hr",30),o(60,"button",35),C("click",function(){return t.toggleCategories()}),o(61,"span",36),f(62," 4 "),n(),o(63,"span")(64,"h3",28),f(65),m(66,"translate"),n(),o(67,"p",29),f(68),m(69,"translate"),n()()(),v(70,"hr",30),o(71,"button",37),C("click",function(){return t.toggleLicense()}),o(72,"span",38),f(73," 5 "),n(),o(74,"span")(75,"h3",28),f(76),m(77,"translate"),n(),o(78,"p",29),f(79),m(80,"translate"),n()()(),v(81,"hr",30),o(82,"button",39),C("click",function(){return t.togglePrice()}),o(83,"span",40),f(84," 6 "),n(),o(85,"span")(86,"h3",28),f(87),m(88,"translate"),n(),o(89,"p",29),f(90),m(91,"translate"),n()()(),v(92,"hr",30),o(93,"button",41),C("click",function(){return t.showFinish()}),o(94,"span",42),f(95," 7 "),n(),o(96,"span")(97,"h3",28),f(98),m(99,"translate"),n(),o(100,"p",29),f(101),m(102,"translate"),n()()()(),o(103,"div"),R(104,M66,107,55)(105,P66,17,12)(106,J66,12,9)(107,l06,12,9)(108,v06,12,7)(109,L06,12,9)(110,T06,13,9)(111,ce6,13,8)(112,ze6,37,24),n()()(),R(113,Ne6,109,56,"div",43)(114,De6,1,1,"error-message",44),n()),2&a&&(s(8),V(" ",_(9,29,"UPDATE_OFFER._back")," "),s(7),H(_(16,31,"UPDATE_OFFER._update")),s(4),H(_(20,33,"UPDATE_OFFER._update")),s(6),H(_(26,35,"UPDATE_OFFER._steps")),s(7),H(_(33,37,"UPDATE_OFFER._general")),s(3),H(_(36,39,"UPDATE_OFFER._general_info")),s(8),H(_(44,41,"UPDATE_OFFER._bundle")),s(3),H(_(47,43,"UPDATE_OFFER._bundle_info")),s(8),H(_(55,45,"UPDATE_OFFER._prod_spec")),s(3),H(_(58,47,"UPDATE_OFFER._prod_spec_info")),s(8),H(_(66,49,"UPDATE_OFFER._category")),s(3),H(_(69,51,"UPDATE_OFFER._category_info")),s(8),H(_(77,53,"UPDATE_OFFER._license")),s(3),H(_(80,55,"UPDATE_OFFER._license_info")),s(8),H(_(88,57,"UPDATE_OFFER._price_plans")),s(3),H(_(91,59,"UPDATE_OFFER._price_plans_info")),s(8),H(_(99,61,"UPDATE_OFFER._finish")),s(3),H(_(102,63,"UPDATE_OFFER._summary")),s(3),S(104,t.showGeneral?104:-1),s(),S(105,t.showBundle?105:-1),s(),S(106,t.showProdSpec?106:-1),s(),S(107,t.showCatalog?107:-1),s(),S(108,t.showCategory?108:-1),s(),S(109,t.showLicense?109:-1),s(),S(110,t.showSLA?110:-1),s(),S(111,t.showPrice?111:-1),s(),S(112,t.showSummary?112:-1),s(),S(113,t.editPrice?113:-1),s(),S(114,t.showError?114:-1))},dependencies:[k2,I4,x6,w6,H4,Ta,S4,O4,yl,X4,f3,G3,_4,Gl,C4,Q4,X1]})}return c})();const Ee6=()=>({position:"relative",left:"200px",top:"-500px"});function Ae6(c,r){1&c&&v(0,"markdown",61),2&c&&k("data",h(2).description)}function Pe6(c,r){1&c&&v(0,"textarea",67)}function Re6(c,r){if(1&c){const e=j();o(0,"emoji-mart",68),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(2).addEmoji(t))}),n()}2&c&&(Y2(E4(3,Ee6)),k("darkMode",!1))}function Be6(c,r){if(1&c){const e=j();o(0,"h2",13),f(1),m(2,"translate"),n(),o(3,"form",28)(4,"label",29),f(5),m(6,"translate"),n(),v(7,"input",30),o(8,"label",29),f(9),m(10,"translate"),n(),o(11,"div",31)(12,"div",32)(13,"div",33)(14,"div",34)(15,"button",35),C("click",function(){return y(e),b(h().addBold())}),w(),o(16,"svg",36),v(17,"path",37),n(),O(),o(18,"span",38),f(19,"Bold"),n()(),o(20,"button",35),C("click",function(){return y(e),b(h().addItalic())}),w(),o(21,"svg",36),v(22,"path",39),n(),O(),o(23,"span",38),f(24,"Italic"),n()(),o(25,"button",35),C("click",function(){return y(e),b(h().addList())}),w(),o(26,"svg",40),v(27,"path",41),n(),O(),o(28,"span",38),f(29,"Add list"),n()(),o(30,"button",42),C("click",function(){return y(e),b(h().addOrderedList())}),w(),o(31,"svg",40),v(32,"path",43),n(),O(),o(33,"span",38),f(34,"Add ordered list"),n()(),o(35,"button",44),C("click",function(){return y(e),b(h().addBlockquote())}),w(),o(36,"svg",45),v(37,"path",46),n(),O(),o(38,"span",38),f(39,"Add blockquote"),n()(),o(40,"button",35),C("click",function(){return y(e),b(h().addTable())}),w(),o(41,"svg",47),v(42,"path",48),n(),O(),o(43,"span",38),f(44,"Add table"),n()(),o(45,"button",44),C("click",function(){return y(e),b(h().addCode())}),w(),o(46,"svg",47),v(47,"path",49),n(),O(),o(48,"span",38),f(49,"Add code"),n()(),o(50,"button",44),C("click",function(){return y(e),b(h().addCodeBlock())}),w(),o(51,"svg",47),v(52,"path",50),n(),O(),o(53,"span",38),f(54,"Add code block"),n()(),o(55,"button",44),C("click",function(){return y(e),b(h().addLink())}),w(),o(56,"svg",47),v(57,"path",51),n(),O(),o(58,"span",38),f(59,"Add link"),n()(),o(60,"button",42),C("click",function(t){y(e);const i=h();return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(61,"svg",52),v(62,"path",53),n(),O(),o(63,"span",38),f(64,"Add emoji"),n()()()(),o(65,"button",54),C("click",function(){y(e);const t=h();return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(66,"svg",40),v(67,"path",55)(68,"path",56),n(),O(),o(69,"span",38),f(70),m(71,"translate"),n()(),o(72,"div",57),f(73),m(74,"translate"),v(75,"div",58),n()(),o(76,"div",59)(77,"label",60),f(78,"Publish post"),n(),R(79,Ae6,1,1,"markdown",61)(80,Pe6,1,0)(81,Re6,1,4,"emoji-mart",62),n()()(),o(82,"div",63)(83,"button",64),C("click",function(){y(e);const t=h();return t.showFinish(),b(t.generalDone=!0)}),f(84),m(85,"translate"),w(),o(86,"svg",65),v(87,"path",66),n()()()}if(2&c){let e;const a=h();s(),H(_(2,32,"CREATE_CATALOG._general")),s(2),k("formGroup",a.generalForm),s(2),H(_(6,34,"CREATE_CATALOG._name")),s(2),k("ngClass",1==(null==(e=a.generalForm.get("name"))?null:e.invalid)&&""!=a.generalForm.value.name?"border-red-600":"border-gray-300"),s(2),H(_(10,36,"CREATE_CATALOG._description")),s(6),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(71,38,"CREATE_CATALOG._preview")),s(3),V(" ",_(74,40,"CREATE_CATALOG._show_preview")," "),s(6),S(79,a.showPreview?79:80),s(2),S(81,a.showEmoji?81:-1),s(2),k("disabled",!a.generalForm.valid)("ngClass",a.generalForm.valid?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(85,42,"CREATE_CATALOG._next")," ")}}function Oe6(c,r){if(1&c&&(o(0,"span",75),f(1),n()),2&c){const e=h(2);s(),H(null==e.catalogToCreate?null:e.catalogToCreate.lifecycleStatus)}}function Ie6(c,r){if(1&c&&(o(0,"span",78),f(1),n()),2&c){const e=h(2);s(),H(null==e.catalogToCreate?null:e.catalogToCreate.lifecycleStatus)}}function Ue6(c,r){if(1&c&&(o(0,"span",79),f(1),n()),2&c){const e=h(2);s(),H(null==e.catalogToCreate?null:e.catalogToCreate.lifecycleStatus)}}function je6(c,r){if(1&c&&(o(0,"span",80),f(1),n()),2&c){const e=h(2);s(),H(null==e.catalogToCreate?null:e.catalogToCreate.lifecycleStatus)}}function $e6(c,r){if(1&c&&(o(0,"label",71),f(1),m(2,"translate"),n(),o(3,"div",81),v(4,"markdown",82),n()),2&c){const e=h(2);s(),H(_(2,2,"CREATE_CATALOG._description")),s(3),k("data",null==e.catalogToCreate?null:e.catalogToCreate.description)}}function Ye6(c,r){if(1&c){const e=j();o(0,"h2",69),f(1),m(2,"translate"),n(),o(3,"div",70)(4,"div")(5,"label",71),f(6),m(7,"translate"),n(),o(8,"label",72),f(9),n()(),o(10,"div",73)(11,"label",74),f(12),m(13,"translate"),n(),R(14,Oe6,2,1,"span",75)(15,Ie6,2,1)(16,Ue6,2,1)(17,je6,2,1),n(),R(18,$e6,5,4),o(19,"div",76)(20,"button",77),C("click",function(){return y(e),b(h().createCatalog())}),f(21),m(22,"translate"),w(),o(23,"svg",65),v(24,"path",66),n()()()()}if(2&c){const e=h();s(),H(_(2,7,"CREATE_CATALOG._finish")),s(5),H(_(7,9,"CREATE_CATALOG._name")),s(3),V(" ",null==e.catalogToCreate?null:e.catalogToCreate.name," "),s(3),H(_(13,11,"CREATE_CATALOG._status")),s(2),S(14,"Active"==(null==e.catalogToCreate?null:e.catalogToCreate.lifecycleStatus)?14:"Launched"==(null==e.catalogToCreate?null:e.catalogToCreate.lifecycleStatus)?15:"Retired"==(null==e.catalogToCreate?null:e.catalogToCreate.lifecycleStatus)?16:"Obsolete"==(null==e.catalogToCreate?null:e.catalogToCreate.lifecycleStatus)?17:-1),s(4),S(18,""!=(null==e.catalogToCreate?null:e.catalogToCreate.description)?18:-1),s(3),V(" ",_(22,13,"CREATE_CATALOG._create")," ")}}function Ge6(c,r){1&c&&v(0,"error-message",27),2&c&&k("message",h().errorMessage)}let qe6=(()=>{class c{constructor(e,a,t,i,l,d){this.router=e,this.cdr=a,this.localStorage=t,this.eventMessage=i,this.elementRef=l,this.api=d,this.partyId="",this.stepsElements=["general-info","summary"],this.stepsCircles=["general-circle","summary-circle"],this.showPreview=!1,this.showEmoji=!1,this.description="",this.showGeneral=!0,this.showSummary=!1,this.generalDone=!1,this.finishDone=!1,this.generalForm=new S2({name:new u1("",[O1.required]),description:new u1("")}),this.errorMessage="",this.showError=!1,this.eventMessage.messages$.subscribe(u=>{"ChangedSession"===u.type&&this.initPartyInfo()})}onClick(){1==this.showEmoji&&(this.showEmoji=!1,this.cdr.detectChanges())}ngOnInit(){this.initPartyInfo()}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0)if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}}goBack(){this.eventMessage.emitSellerCatalog(!0)}toggleGeneral(){this.selectStep("general-info","general-circle"),this.showGeneral=!0,this.showSummary=!1,this.showPreview=!1}showFinish(){this.finishDone=!0,null!=this.generalForm.value.name&&(this.catalogToCreate={name:this.generalForm.value.name,description:null!=this.generalForm.value.description?this.generalForm.value.description:"",lifecycleStatus:"Active",relatedParty:[{id:this.partyId,role:"Owner","@referredType":""}]},console.log("CATALOG TO CREATE:"),console.log(this.catalogToCreate),this.showGeneral=!1,this.showSummary=!0,this.selectStep("summary","summary-circle")),this.showPreview=!1}createCatalog(){this.api.postCatalog(this.catalogToCreate).subscribe({next:e=>{this.goBack()},error:e=>{console.error("There was an error while updating!",e),e.error.error?(console.log(e),this.errorMessage="Error: "+e.error.error):this.errorMessage="There was an error while creating the catalog!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}removeClass(e,a){e.className=(" "+e.className+" ").replace(" "+a+" "," ").replace(/^\s+|\s+$/g,"")}addClass(e,a){e.className+=" "+a}unselectMenu(e,a){null!=e&&(e.className.match(a)?this.removeClass(e,a):console.log("already unselected"))}selectMenu(e,a){null!=e&&(e.className.match(a)?console.log("already selected"):this.addClass(e,a))}selectStep(e,a){const t=this.stepsElements.findIndex(l=>l===e);if(-1!==t){this.stepsElements.splice(t,1),this.selectMenu(document.getElementById(e),"text-primary-100 dark:text-primary-50"),this.unselectMenu(document.getElementById(e),"text-gray-500");for(let l=0;ll===a);if(-1!==t){this.stepsCircles.splice(i,1),this.selectMenu(document.getElementById(a),"border-primary-100 dark:border-primary-50"),this.unselectMenu(document.getElementById(a),"border-gray-400");for(let l=0;l blockquote"})}addLink(){this.generalForm.patchValue({description:this.generalForm.value.description+" [title](https://www.example.com) "})}addTable(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"})}addEmoji(e){console.log(e),this.showEmoji=!1,this.generalForm.patchValue({description:this.generalForm.value.description+e.emoji.native})}togglePreview(){this.generalForm.value.description&&(this.description=this.generalForm.value.description)}static#e=this.\u0275fac=function(a){return new(a||c)(B(Q1),B(B1),B(A1),B(e2),B(C2),B(p1))};static#c=this.\u0275cmp=V1({type:c,selectors:[["create-catalog"]],hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},decls:52,vars:29,consts:[[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-gray-200","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","mt-4","p-8","rounded-lg"],[1,"text-3xl","font-bold","text-primary-100","dark:text-white","ml-4"],[1,"h-px","m-4","bg-gray-300","dark:bg-gray-200","border-0"],[1,"md:grid","md:grid-cols-25/75","xl:grid-cols-20/80"],[1,"flex","sm:flex-row","md:flex-col","md:mr-4","overflow-x-auto","max-w-[calc(100vw-5rem)]"],[1,"text-xl","hidden","md:block","font-bold","text-black","mb-4","dark:text-white"],["id","general-info",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-primary-100","dark:text-primary-50","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","general-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-primary-100","dark:border-primary-50","rounded-full","shrink-0"],[1,"flex","sm:text-center","md:text-start"],[1,"hidden","xl:flex","text-xs","sm:text-center","md:text-start"],[1,"h-px","mb-2","bg-gray-300","dark:bg-gray-200","border-0"],["id","summary",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","summary-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],[1,"flex","justify-start"],[1,"hidden","xl:flex","text-xs","justify-start","text-start"],[1,"fixed","w-fit","top-1/2","left-1/2",3,"message"],[1,"m-4","gap-4",3,"formGroup"],["for","prod-name",1,"font-bold","text-lg","dark:text-white"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],[1,"w-full","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200"],[1,"flex","items-center","justify-between","px-3","py-2","border-b"],[1,"flex","flex-wrap","items-center","divide-gray-200","dark:divide-secondary-200","sm:divide-x","sm:rtl:divide-x-reverse"],[1,"flex","items-center","space-x-1","rtl:space-x-reverse","sm:pe-4","text-gray-500","dark:text-gray-200"],["type","button",1,"p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 5h4.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0-7H6m2 7h6.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0 0H6"],[1,"sr-only"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8.874 19 6.143-14M6 19h6.33m-.66-14H18"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M9 8h10M9 12h10M9 16h10M4.99 8H5m-.02 4h.01m0 4H5"],["type","button",1,"hidden","lg:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4"],["type","button",1,"hidden","md:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["fill-rule","evenodd","d","M5 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm0 12a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm1.65-9.76A1 1 0 0 0 5 9v6a1 1 0 0 0 1.65.76l3.5-3a1 1 0 0 0 0-1.52l-3.5-3ZM12 10a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Zm0 4a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Z","clip-rule","evenodd"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-width","2","d","M3 11h18m-9 0v8m-8 0h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 3v4a1 1 0 0 1-1 1H5m5 4-2 2 2 2m4-4 2 2-2 2m5-12v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M13.213 9.787a3.391 3.391 0 0 0-4.795 0l-3.425 3.426a3.39 3.39 0 0 0 4.795 4.794l.321-.304m-.321-4.49a3.39 3.39 0 0 0 4.795 0l3.424-3.426a3.39 3.39 0 0 0-4.794-4.795l-1.028.961"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-4","h-4"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM13.5 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm-7 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm3.5 9.5A5.5 5.5 0 0 1 4.6 11h10.81A5.5 5.5 0 0 1 10 15.5Z"],["type","button","data-tooltip-target","tooltip-fullscreen",1,"rounded","cursor-pointer","text-gray-500","dark:text-gray-200","p-2","sm:ms-auto","hover:text-gray-900","dark:hover:text-gray-900","hover:bg-gray-100",3,"click"],["stroke","currentColor","stroke-width","2","d","M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z"],["stroke","currentColor","stroke-width","2","d","M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"],["id","tooltip-fullscreen","role","tooltip",1,"absolute","z-10","invisible","inline-block","px-3","py-2","text-sm","font-medium","text-white","transition-opacity","duration-300","bg-gray-900","rounded-lg","shadow-sm","opacity-0","tooltip"],["data-popper-arrow","",1,"tooltip-arrow"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","rounded-b-lg"],["for","editor",1,"sr-only"],[1,"text-gray-800","dark:text-gray-200","text-wrap","break-all",3,"data"],[3,"darkMode","style"],[1,"flex","w-full","justify-items-end","justify-end"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],["id","editor","formControlName","description","rows","8","placeholder","Add product description...",1,"block","w-full","px-0","text-sm","text-gray-800","dark:text-gray-200","bg-white","dark:bg-secondary-300","border-0"],[3,"click","emojiClick","darkMode"],[1,"text-3xl","font-bold","text-primary-100","ml-4","dark:text-white"],[1,"m-8"],[1,"font-bold","text-lg","dark:text-white"],[1,"mb-2","bg-gray-50","text-wrap","break-all","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"mb-4"],[1,"font-bold","text-lg","mr-4","dark:text-white"],[1,"bg-blue-100","dark:bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"flex","w-full","justify-items-end","justify-end","ml-4"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],[1,"bg-blue-100","dark:bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"px-4","py-2","bg-white","rounded-lg","p-4","mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900"],[1,"bg-gray-50","text-wrap","break-all","dark:bg-secondary-300","dark:text-white","text-gray-900",3,"data"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",0)(2,"nav",1)(3,"ol",2)(4,"li",3)(5,"button",4),C("click",function(){return t.goBack()}),w(),o(6,"svg",5),v(7,"path",6),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",7)(11,"div",8),w(),o(12,"svg",9),v(13,"path",10),n(),O(),o(14,"span",11),f(15),m(16,"translate"),n()()()()()(),o(17,"div",12)(18,"h2",13),f(19),m(20,"translate"),n(),v(21,"hr",14),o(22,"div",15)(23,"div",16)(24,"h2",17),f(25),m(26,"translate"),n(),o(27,"button",18),C("click",function(){return t.toggleGeneral()}),o(28,"span",19),f(29," 1 "),n(),o(30,"span")(31,"h3",20),f(32),m(33,"translate"),n(),o(34,"p",21),f(35),m(36,"translate"),n()()(),v(37,"hr",22),o(38,"button",23),C("click",function(){return t.showFinish()}),o(39,"span",24),f(40," 2 "),n(),o(41,"span")(42,"h3",25),f(43),m(44,"translate"),n(),o(45,"p",26),f(46),m(47,"translate"),n()()()(),o(48,"div"),R(49,Be6,88,44)(50,Ye6,25,15),n()()()(),R(51,Ge6,1,1,"error-message",27)),2&a&&(s(8),V(" ",_(9,13,"CREATE_CATALOG._back")," "),s(7),H(_(16,15,"CREATE_CATALOG._create")),s(4),H(_(20,17,"CREATE_CATALOG._new")),s(6),H(_(26,19,"CREATE_CATALOG._steps")),s(2),k("disabled",!t.generalDone),s(5),H(_(33,21,"UPDATE_CATALOG._general")),s(3),H(_(36,23,"UPDATE_CATALOG._general_info")),s(3),k("disabled",!t.finishDone),s(5),H(_(44,25,"UPDATE_CATALOG._finish")),s(3),H(_(47,27,"UPDATE_CATALOG._summary")),s(3),S(49,t.showGeneral?49:-1),s(),S(50,t.showSummary?50:-1),s(),S(51,t.showError?51:-1))},dependencies:[k2,I4,H4,S4,O4,X4,f3,G3,_4,C4,X1]})}return c})();const We6=()=>({position:"relative",left:"200px",top:"-500px"});function Ze6(c,r){if(1&c){const e=j();o(0,"li",74),C("click",function(){return y(e),b(h(2).setCatStatus("Active"))}),o(1,"span",8),w(),o(2,"svg",75),v(3,"path",76),n(),f(4," Active "),n()()}}function Ke6(c,r){if(1&c){const e=j();o(0,"li",77),C("click",function(){return y(e),b(h(2).setCatStatus("Active"))}),o(1,"span",8),f(2," Active "),n()()}}function Qe6(c,r){if(1&c){const e=j();o(0,"li",78),C("click",function(){return y(e),b(h(2).setCatStatus("Launched"))}),o(1,"span",8),w(),o(2,"svg",79),v(3,"path",76),n(),f(4," Launched "),n()()}}function Je6(c,r){if(1&c){const e=j();o(0,"li",77),C("click",function(){return y(e),b(h(2).setCatStatus("Launched"))}),o(1,"span",8),f(2," Launched "),n()()}}function Xe6(c,r){if(1&c){const e=j();o(0,"li",80),C("click",function(){return y(e),b(h(2).setCatStatus("Retired"))}),o(1,"span",8),w(),o(2,"svg",81),v(3,"path",76),n(),f(4," Retired "),n()()}}function e86(c,r){if(1&c){const e=j();o(0,"li",77),C("click",function(){return y(e),b(h(2).setCatStatus("Retired"))}),o(1,"span",8),f(2," Retired "),n()()}}function c86(c,r){if(1&c){const e=j();o(0,"li",82),C("click",function(){return y(e),b(h(2).setCatStatus("Obsolete"))}),o(1,"span",83),w(),o(2,"svg",84),v(3,"path",76),n(),f(4," Obsolete "),n()()}}function a86(c,r){if(1&c){const e=j();o(0,"li",82),C("click",function(){return y(e),b(h(2).setCatStatus("Obsolete"))}),o(1,"span",8),f(2," Obsolete "),n()()}}function r86(c,r){1&c&&v(0,"markdown",68),2&c&&k("data",h(2).description)}function t86(c,r){1&c&&v(0,"textarea",85)}function i86(c,r){if(1&c){const e=j();o(0,"emoji-mart",86),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(2).addEmoji(t))}),n()}2&c&&(Y2(E4(3,We6)),k("darkMode",!1))}function o86(c,r){if(1&c){const e=j();o(0,"h2",13),f(1),m(2,"translate"),n(),o(3,"form",28)(4,"label",29),f(5),m(6,"translate"),n(),v(7,"input",30),o(8,"label",31),f(9),m(10,"translate"),n(),o(11,"div",32)(12,"ol",33),R(13,Ze6,5,0,"li",34)(14,Ke6,3,0)(15,Qe6,5,0,"li",35)(16,Je6,3,0)(17,Xe6,5,0,"li",36)(18,e86,3,0)(19,c86,5,0,"li",37)(20,a86,3,0),n()(),o(21,"label",29),f(22),m(23,"translate"),n(),o(24,"div",38)(25,"div",39)(26,"div",40)(27,"div",41)(28,"button",42),C("click",function(){return y(e),b(h().addBold())}),w(),o(29,"svg",43),v(30,"path",44),n(),O(),o(31,"span",45),f(32,"Bold"),n()(),o(33,"button",42),C("click",function(){return y(e),b(h().addItalic())}),w(),o(34,"svg",43),v(35,"path",46),n(),O(),o(36,"span",45),f(37,"Italic"),n()(),o(38,"button",42),C("click",function(){return y(e),b(h().addList())}),w(),o(39,"svg",47),v(40,"path",48),n(),O(),o(41,"span",45),f(42,"Add list"),n()(),o(43,"button",49),C("click",function(){return y(e),b(h().addOrderedList())}),w(),o(44,"svg",47),v(45,"path",50),n(),O(),o(46,"span",45),f(47,"Add ordered list"),n()(),o(48,"button",51),C("click",function(){return y(e),b(h().addBlockquote())}),w(),o(49,"svg",52),v(50,"path",53),n(),O(),o(51,"span",45),f(52,"Add blockquote"),n()(),o(53,"button",42),C("click",function(){return y(e),b(h().addTable())}),w(),o(54,"svg",54),v(55,"path",55),n(),O(),o(56,"span",45),f(57,"Add table"),n()(),o(58,"button",51),C("click",function(){return y(e),b(h().addCode())}),w(),o(59,"svg",54),v(60,"path",56),n(),O(),o(61,"span",45),f(62,"Add code"),n()(),o(63,"button",51),C("click",function(){return y(e),b(h().addCodeBlock())}),w(),o(64,"svg",54),v(65,"path",57),n(),O(),o(66,"span",45),f(67,"Add code block"),n()(),o(68,"button",51),C("click",function(){return y(e),b(h().addLink())}),w(),o(69,"svg",54),v(70,"path",58),n(),O(),o(71,"span",45),f(72,"Add link"),n()(),o(73,"button",49),C("click",function(t){y(e);const i=h();return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(74,"svg",59),v(75,"path",60),n(),O(),o(76,"span",45),f(77,"Add emoji"),n()()()(),o(78,"button",61),C("click",function(){y(e);const t=h();return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(79,"svg",47),v(80,"path",62)(81,"path",63),n(),O(),o(82,"span",45),f(83),m(84,"translate"),n()(),o(85,"div",64),f(86),m(87,"translate"),v(88,"div",65),n()(),o(89,"div",66)(90,"label",67),f(91,"Publish post"),n(),R(92,r86,1,1,"markdown",68)(93,t86,1,0)(94,i86,1,4,"emoji-mart",69),n()()(),o(95,"div",70)(96,"button",71),C("click",function(){y(e);const t=h();return t.showFinish(),b(t.generalDone=!0)}),f(97),m(98,"translate"),w(),o(99,"svg",72),v(100,"path",73),n()()()}if(2&c){let e;const a=h();s(),H(_(2,37,"UPDATE_CATALOG._general")),s(2),k("formGroup",a.generalForm),s(2),H(_(6,39,"UPDATE_CATALOG._name")),s(2),k("ngClass",1==(null==(e=a.generalForm.get("name"))?null:e.invalid)&&""!=a.generalForm.value.name?"border-red-600":"border-gray-300"),s(2),H(_(10,41,"UPDATE_CATALOG._status")),s(4),S(13,"Active"==a.catStatus?13:14),s(2),S(15,"Launched"==a.catStatus?15:16),s(2),S(17,"Retired"==a.catStatus?17:18),s(2),S(19,"Obsolete"==a.catStatus?19:20),s(3),H(_(23,43,"UPDATE_CATALOG._description")),s(6),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(84,45,"CREATE_CATALOG._preview")),s(3),V(" ",_(87,47,"CREATE_CATALOG._show_preview")," "),s(6),S(92,a.showPreview?92:93),s(2),S(94,a.showEmoji?94:-1),s(2),k("disabled",!a.generalForm.valid)("ngClass",a.generalForm.valid?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(98,49,"UPDATE_CATALOG._next")," ")}}function n86(c,r){if(1&c&&(o(0,"span",91),f(1),n()),2&c){const e=h(2);s(),H(null==e.catalogToUpdate?null:e.catalogToUpdate.lifecycleStatus)}}function s86(c,r){if(1&c&&(o(0,"span",94),f(1),n()),2&c){const e=h(2);s(),H(null==e.catalogToUpdate?null:e.catalogToUpdate.lifecycleStatus)}}function l86(c,r){if(1&c&&(o(0,"span",95),f(1),n()),2&c){const e=h(2);s(),H(null==e.catalogToUpdate?null:e.catalogToUpdate.lifecycleStatus)}}function f86(c,r){if(1&c&&(o(0,"span",96),f(1),n()),2&c){const e=h(2);s(),H(null==e.catalogToUpdate?null:e.catalogToUpdate.lifecycleStatus)}}function d86(c,r){if(1&c&&(o(0,"label",31),f(1),m(2,"translate"),n(),o(3,"div",97),v(4,"markdown",98),n()),2&c){const e=h(2);s(),H(_(2,2,"UPDATE_CATALOG._description")),s(3),k("data",null==e.catalogToUpdate?null:e.catalogToUpdate.description)}}function u86(c,r){if(1&c){const e=j();o(0,"h2",13),f(1),m(2,"translate"),n(),o(3,"div",87)(4,"div")(5,"label",31),f(6),m(7,"translate"),n(),o(8,"label",88),f(9),n()(),o(10,"div",89)(11,"label",90),f(12),m(13,"translate"),n(),R(14,n86,2,1,"span",91)(15,s86,2,1)(16,l86,2,1)(17,f86,2,1),n(),R(18,d86,5,4),o(19,"div",92)(20,"button",93),C("click",function(){return y(e),b(h().createCatalog())}),f(21),m(22,"translate"),w(),o(23,"svg",72),v(24,"path",73),n()()()()}if(2&c){const e=h();s(),H(_(2,7,"UPDATE_CATALOG._finish")),s(5),H(_(7,9,"UPDATE_CATALOG._name")),s(3),V(" ",e.generalForm.value.name," "),s(3),H(_(13,11,"UPDATE_CATALOG._status")),s(2),S(14,"Active"==(null==e.catalogToUpdate?null:e.catalogToUpdate.lifecycleStatus)?14:"Launched"==(null==e.catalogToUpdate?null:e.catalogToUpdate.lifecycleStatus)?15:"Retired"==(null==e.catalogToUpdate?null:e.catalogToUpdate.lifecycleStatus)?16:"Obsolete"==(null==e.catalogToUpdate?null:e.catalogToUpdate.lifecycleStatus)?17:-1),s(4),S(18,""!=(null==e.catalogToUpdate?null:e.catalogToUpdate.description)?18:-1),s(3),V(" ",_(22,13,"UPDATE_CATALOG._update")," ")}}function h86(c,r){1&c&&v(0,"error-message",27),2&c&&k("message",h().errorMessage)}let m86=(()=>{class c{constructor(e,a,t,i,l,d){this.router=e,this.cdr=a,this.localStorage=t,this.eventMessage=i,this.elementRef=l,this.api=d,this.partyId="",this.stepsElements=["general-info","summary"],this.stepsCircles=["general-circle","summary-circle"],this.showPreview=!1,this.showEmoji=!1,this.description="",this.showGeneral=!0,this.showSummary=!1,this.generalDone=!1,this.generalForm=new S2({name:new u1("",[O1.required]),description:new u1("")}),this.catStatus="Active",this.errorMessage="",this.showError=!1,this.eventMessage.messages$.subscribe(u=>{"ChangedSession"===u.type&&this.initPartyInfo()})}onClick(){1==this.showEmoji&&(this.showEmoji=!1,this.cdr.detectChanges())}ngOnInit(){this.initPartyInfo(),this.populateCatInfo()}populateCatInfo(){this.generalForm.controls.name.setValue(this.cat.name),this.generalForm.controls.description.setValue(this.cat.description),this.catStatus=this.cat.lifecycleStatus}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0)if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}}goBack(){this.eventMessage.emitSellerCatalog(!0)}toggleGeneral(){this.selectStep("general-info","general-circle"),this.showGeneral=!0,this.showSummary=!1,this.showPreview=!1}setCatStatus(e){this.catStatus=e,this.cdr.detectChanges()}showFinish(){null!=this.generalForm.value.name&&(this.catalogToUpdate={description:null!=this.generalForm.value.description?this.generalForm.value.description:"",lifecycleStatus:this.catStatus},this.cat.name!=this.generalForm.value.name&&(this.catalogToUpdate.name=this.generalForm.value.name),console.log("CATALOG TO UPDATE:"),console.log(this.catalogToUpdate),this.showGeneral=!1,this.showSummary=!0,this.selectStep("summary","summary-circle")),this.showPreview=!1}createCatalog(){this.api.updateCatalog(this.catalogToUpdate,this.cat.id).subscribe({next:e=>{this.goBack()},error:e=>{console.error("There was an error while updating!",e),e.error.error?(console.log(e),this.errorMessage="Error: "+e.error.error):this.errorMessage="There was an error while updating the catalog!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}removeClass(e,a){e.className=(" "+e.className+" ").replace(" "+a+" "," ").replace(/^\s+|\s+$/g,"")}addClass(e,a){e.className+=" "+a}unselectMenu(e,a){null!=e&&(e.className.match(a)?this.removeClass(e,a):console.log("already unselected"))}selectMenu(e,a){null!=e&&(e.className.match(a)?console.log("already selected"):this.addClass(e,a))}selectStep(e,a){const t=this.stepsElements.findIndex(l=>l===e);if(-1!==t){this.stepsElements.splice(t,1),this.selectMenu(document.getElementById(e),"text-primary-100 dark:text-primary-50"),this.unselectMenu(document.getElementById(e),"text-gray-500");for(let l=0;ll===a);if(-1!==t){this.stepsCircles.splice(i,1),this.selectMenu(document.getElementById(a),"border-primary-100 dark:border-primary-50"),this.unselectMenu(document.getElementById(a),"border-gray-400");for(let l=0;l blockquote"})}addLink(){this.generalForm.patchValue({description:this.generalForm.value.description+" [title](https://www.example.com) "})}addTable(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"})}addEmoji(e){console.log(e),this.showEmoji=!1,this.generalForm.patchValue({description:this.generalForm.value.description+e.emoji.native})}togglePreview(){this.generalForm.value.description&&(this.description=this.generalForm.value.description)}static#e=this.\u0275fac=function(a){return new(a||c)(B(Q1),B(B1),B(A1),B(e2),B(C2),B(p1))};static#c=this.\u0275cmp=V1({type:c,selectors:[["update-catalog"]],hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},inputs:{cat:"cat"},decls:52,vars:27,consts:[[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-secondary-50","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","mt-4","p-8","rounded-lg"],[1,"text-3xl","font-bold","text-primary-100","dark:text-white","ml-4"],[1,"h-px","m-4","bg-gray-300","dark:bg-gray-200","border-0"],[1,"md:grid","md:grid-cols-25/75","xl:grid-cols-20/80"],[1,"flex","sm:flex-row","md:flex-col","md:mr-4","overflow-x-auto","max-w-[calc(100vw-5rem)]"],[1,"text-xl","hidden","md:block","font-bold","text-black","mb-4","dark:text-white"],["id","general-info",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-primary-100","dark:text-primary-50","justify-items-center","md:justify-items-start",3,"click"],["id","general-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-primary-100","dark:border-primary-50","rounded-full","shrink-0"],[1,"flex","sm:text-center","md:text-start"],[1,"hidden","xl:flex","text-xs","sm:text-center","md:text-start"],[1,"h-px","mb-2","bg-gray-300","dark:bg-gray-200","border-0"],["id","summary",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","summary-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],[1,"flex","justify-start"],[1,"hidden","xl:flex","text-xs","justify-start","text-start"],[1,"fixed","w-fit","top-1/2","left-1/2",3,"message"],[1,"m-4","gap-4",3,"formGroup"],["for","prod-name",1,"font-bold","text-lg","dark:text-white"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],[1,"font-bold","text-lg","dark:text-white"],[1,"mb-2","w-full"],[1,"flex","items-center","w-full","text-sm","font-medium","text-center","text-gray-500","dark:text-gray-200","sm:text-base"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-blue-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-green-700","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-yellow-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","items-center"],[1,"w-full","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200"],[1,"flex","items-center","justify-between","px-3","py-2","border-b"],[1,"flex","flex-wrap","items-center","divide-gray-200","dark:divide-secondary-200","sm:divide-x","sm:rtl:divide-x-reverse"],[1,"flex","items-center","space-x-1","rtl:space-x-reverse","sm:pe-4","text-gray-500","dark:text-gray-200"],["type","button",1,"p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 5h4.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0-7H6m2 7h6.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0 0H6"],[1,"sr-only"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8.874 19 6.143-14M6 19h6.33m-.66-14H18"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M9 8h10M9 12h10M9 16h10M4.99 8H5m-.02 4h.01m0 4H5"],["type","button",1,"hidden","lg:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4"],["type","button",1,"hidden","md:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["fill-rule","evenodd","d","M5 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm0 12a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm1.65-9.76A1 1 0 0 0 5 9v6a1 1 0 0 0 1.65.76l3.5-3a1 1 0 0 0 0-1.52l-3.5-3ZM12 10a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Zm0 4a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Z","clip-rule","evenodd"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-width","2","d","M3 11h18m-9 0v8m-8 0h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 3v4a1 1 0 0 1-1 1H5m5 4-2 2 2 2m4-4 2 2-2 2m5-12v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M13.213 9.787a3.391 3.391 0 0 0-4.795 0l-3.425 3.426a3.39 3.39 0 0 0 4.795 4.794l.321-.304m-.321-4.49a3.39 3.39 0 0 0 4.795 0l3.424-3.426a3.39 3.39 0 0 0-4.794-4.795l-1.028.961"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-4","h-4"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM13.5 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm-7 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm3.5 9.5A5.5 5.5 0 0 1 4.6 11h10.81A5.5 5.5 0 0 1 10 15.5Z"],["type","button","data-tooltip-target","tooltip-fullscreen",1,"rounded","cursor-pointer","text-gray-500","dark:text-gray-200","p-2","sm:ms-auto","hover:text-gray-900","dark:hover:text-gray-900","hover:bg-gray-100",3,"click"],["stroke","currentColor","stroke-width","2","d","M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z"],["stroke","currentColor","stroke-width","2","d","M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"],["id","tooltip-fullscreen","role","tooltip",1,"absolute","z-10","invisible","inline-block","px-3","py-2","text-sm","font-medium","text-white","transition-opacity","duration-300","bg-gray-900","rounded-lg","shadow-sm","opacity-0","tooltip"],["data-popper-arrow","",1,"tooltip-arrow"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","rounded-b-lg"],["for","editor",1,"sr-only"],[1,"text-gray-800","dark:text-gray-200","text-wrap","break-all",3,"data"],[3,"darkMode","style"],[1,"flex","w-full","justify-items-end","justify-end"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-blue-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-blue-500"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M8.737 8.737a21.49 21.49 0 0 1 3.308-2.724m0 0c3.063-2.026 5.99-2.641 7.331-1.3 1.827 1.828.026 6.591-4.023 10.64-4.049 4.049-8.812 5.85-10.64 4.023-1.33-1.33-.736-4.218 1.249-7.253m6.083-6.11c-3.063-2.026-5.99-2.641-7.331-1.3-1.827 1.828-.026 6.591 4.023 10.64m3.308-9.34a21.497 21.497 0 0 1 3.308 2.724m2.775 3.386c1.985 3.035 2.579 5.923 1.248 7.253-1.336 1.337-4.245.732-7.295-1.275M14 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-green-700","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-green-700"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-yellow-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-yellow-500"],[1,"cursor-pointer","flex","items-center",3,"click"],[1,"flex","items-center","text-red-800"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-red-800"],["id","editor","formControlName","description","rows","8","placeholder","Add product description...",1,"block","w-full","px-0","text-sm","text-gray-800","dark:text-gray-200","bg-white","dark:bg-secondary-300","border-0"],[3,"click","emojiClick","darkMode"],[1,"m-8"],[1,"mb-2","bg-gray-50","text-wrap","break-all","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"mb-4"],[1,"font-bold","text-lg","mr-4","dark:text-white"],[1,"bg-blue-100","dark:bg-secondary-100","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"flex","w-full","justify-items-end","justify-end","ml-4"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],[1,"bg-blue-100","dark:bg-secondary-100","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-100","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-100","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"px-4","py-2","bg-white","rounded-lg","p-4","mb-4","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900"],[1,"bg-gray-50","text-wrap","break-all","dark:bg-secondary-300","dark:text-white","text-gray-900",3,"data"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",0)(2,"nav",1)(3,"ol",2)(4,"li",3)(5,"button",4),C("click",function(){return t.goBack()}),w(),o(6,"svg",5),v(7,"path",6),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",7)(11,"div",8),w(),o(12,"svg",9),v(13,"path",10),n(),O(),o(14,"span",11),f(15),m(16,"translate"),n()()()()()(),o(17,"div",12)(18,"h2",13),f(19),m(20,"translate"),n(),v(21,"hr",14),o(22,"div",15)(23,"div",16)(24,"h2",17),f(25),m(26,"translate"),n(),o(27,"button",18),C("click",function(){return t.toggleGeneral()}),o(28,"span",19),f(29," 1 "),n(),o(30,"span")(31,"h3",20),f(32),m(33,"translate"),n(),o(34,"p",21),f(35),m(36,"translate"),n()()(),v(37,"hr",22),o(38,"button",23),C("click",function(){return t.showFinish()}),o(39,"span",24),f(40," 2 "),n(),o(41,"span")(42,"h3",25),f(43),m(44,"translate"),n(),o(45,"p",26),f(46),m(47,"translate"),n()()()(),o(48,"div"),R(49,o86,101,51)(50,u86,25,15),n()()()(),R(51,h86,1,1,"error-message",27)),2&a&&(s(8),V(" ",_(9,11,"UPDATE_CATALOG._back")," "),s(7),H(_(16,13,"UPDATE_CATALOG._update")),s(4),H(_(20,15,"UPDATE_CATALOG._update")),s(6),H(_(26,17,"UPDATE_CATALOG._steps")),s(7),H(_(33,19,"UPDATE_CATALOG._general")),s(3),H(_(36,21,"UPDATE_CATALOG._general_info")),s(8),H(_(44,23,"UPDATE_CATALOG._finish")),s(3),H(_(47,25,"UPDATE_CATALOG._summary")),s(3),S(49,t.showGeneral?49:-1),s(),S(50,t.showSummary?50:-1),s(),S(51,t.showError?51:-1))},dependencies:[k2,I4,H4,S4,O4,X4,f3,G3,_4,C4,X1]})}return c})();function _86(c,r){1&c&&v(0,"seller-catalogs")}function p86(c,r){1&c&&v(0,"seller-product-spec")}function g86(c,r){1&c&&v(0,"seller-service-spec")}function v86(c,r){1&c&&v(0,"seller-resource-spec")}function H86(c,r){1&c&&v(0,"seller-offer")}function C86(c,r){1&c&&v(0,"create-product-spec")}function z86(c,r){1&c&&v(0,"create-service-spec")}function V86(c,r){1&c&&v(0,"create-resource-spec")}function M86(c,r){1&c&&v(0,"create-offer")}function L86(c,r){1&c&&v(0,"create-catalog")}function y86(c,r){1&c&&v(0,"update-product-spec",21),2&c&&k("prod",h().prod_to_update)}function b86(c,r){1&c&&v(0,"update-service-spec",22),2&c&&k("serv",h().serv_to_update)}function x86(c,r){1&c&&v(0,"update-resource-spec",23),2&c&&k("res",h().res_to_update)}function w86(c,r){1&c&&v(0,"update-offer",24),2&c&&k("offer",h().offer_to_update)}function F86(c,r){1&c&&v(0,"update-catalog",25),2&c&&k("cat",h().catalog_to_update)}let k86=(()=>{class c{constructor(e,a,t){this.localStorage=e,this.cdr=a,this.eventMessage=t,this.show_catalogs=!0,this.show_prod_specs=!1,this.show_service_specs=!1,this.show_resource_specs=!1,this.show_offers=!1,this.show_create_prod_spec=!1,this.show_create_res_spec=!1,this.show_create_serv_spec=!1,this.show_create_offer=!1,this.show_create_catalog=!1,this.show_update_prod_spec=!1,this.show_update_serv_spec=!1,this.show_update_res_spec=!1,this.show_update_offer=!1,this.show_update_catalog=!1,this.eventMessage.messages$.subscribe(i=>{"SellerProductSpec"===i.type&&1==i.value&&this.goToProdSpec(),"SellerCreateProductSpec"===i.type&&1==i.value&&this.goToCreateProdSpec(),"SellerServiceSpec"===i.type&&1==i.value&&this.goToServiceSpec(),"SellerCreateServiceSpec"===i.type&&1==i.value&&this.goToCreateServSpec(),"SellerResourceSpec"===i.type&&1==i.value&&this.goToResourceSpec(),"SellerCreateResourceSpec"===i.type&&1==i.value&&this.goToCreateResSpec(),"SellerOffer"===i.type&&1==i.value&&this.goToOffers(),"SellerCatalog"==i.type&&1==i.value&&this.goToCatalogs(),"SellerCreateOffer"===i.type&&1==i.value&&this.goToCreateOffer(),"SellerCatalogCreate"===i.type&&1==i.value&&this.goToCreateCatalog(),"SellerUpdateProductSpec"===i.type&&(this.prod_to_update=i.value,this.goToUpdateProdSpec()),"SellerUpdateServiceSpec"===i.type&&(this.serv_to_update=i.value,this.goToUpdateServiceSpec()),"SellerUpdateResourceSpec"===i.type&&(this.res_to_update=i.value,this.goToUpdateResourceSpec()),"SellerUpdateOffer"===i.type&&(this.offer_to_update=i.value,this.goToUpdateOffer()),"SellerCatalogUpdate"===i.type&&(this.catalog_to_update=i.value,this.goToUpdateCatalog())})}ngOnInit(){console.log("init")}goToCreateProdSpec(){this.show_catalogs=!1,this.show_prod_specs=!1,this.show_service_specs=!1,this.show_resource_specs=!1,this.show_offers=!1,this.show_create_prod_spec=!0,this.show_create_serv_spec=!1,this.show_create_res_spec=!1,this.show_create_offer=!1,this.show_update_prod_spec=!1,this.show_update_res_spec=!1,this.show_update_serv_spec=!1,this.show_update_offer=!1,this.show_create_catalog=!1,this.cdr.detectChanges()}goToUpdateProdSpec(){this.show_catalogs=!1,this.show_prod_specs=!1,this.show_service_specs=!1,this.show_resource_specs=!1,this.show_offers=!1,this.show_create_prod_spec=!1,this.show_create_serv_spec=!1,this.show_create_res_spec=!1,this.show_create_offer=!1,this.show_update_prod_spec=!0,this.show_update_res_spec=!1,this.show_update_serv_spec=!1,this.show_update_offer=!1,this.show_update_catalog=!1,this.show_create_catalog=!1,this.cdr.detectChanges()}goToCreateCatalog(){this.show_catalogs=!1,this.show_prod_specs=!1,this.show_service_specs=!1,this.show_resource_specs=!1,this.show_offers=!1,this.show_create_prod_spec=!1,this.show_create_serv_spec=!1,this.show_create_res_spec=!1,this.show_create_offer=!1,this.show_update_prod_spec=!1,this.show_update_res_spec=!1,this.show_update_serv_spec=!1,this.show_update_offer=!1,this.show_update_catalog=!1,this.show_create_catalog=!0,this.cdr.detectChanges()}goToUpdateCatalog(){this.show_catalogs=!1,this.show_prod_specs=!1,this.show_service_specs=!1,this.show_resource_specs=!1,this.show_offers=!1,this.show_create_prod_spec=!1,this.show_create_serv_spec=!1,this.show_create_res_spec=!1,this.show_create_offer=!1,this.show_update_prod_spec=!1,this.show_update_res_spec=!1,this.show_update_serv_spec=!1,this.show_update_offer=!1,this.show_create_catalog=!1,this.show_update_catalog=!0,this.cdr.detectChanges()}goToUpdateOffer(){this.show_catalogs=!1,this.show_prod_specs=!1,this.show_service_specs=!1,this.show_resource_specs=!1,this.show_offers=!1,this.show_create_prod_spec=!1,this.show_create_serv_spec=!1,this.show_create_res_spec=!1,this.show_create_offer=!1,this.show_update_prod_spec=!1,this.show_update_res_spec=!1,this.show_update_serv_spec=!1,this.show_update_offer=!0,this.show_update_catalog=!1,this.show_create_catalog=!1,this.cdr.detectChanges()}goToUpdateServiceSpec(){this.show_catalogs=!1,this.show_prod_specs=!1,this.show_service_specs=!1,this.show_resource_specs=!1,this.show_offers=!1,this.show_create_prod_spec=!1,this.show_create_serv_spec=!1,this.show_create_res_spec=!1,this.show_create_offer=!1,this.show_update_prod_spec=!1,this.show_update_res_spec=!1,this.show_update_serv_spec=!0,this.show_update_offer=!1,this.show_update_catalog=!1,this.show_create_catalog=!1,this.cdr.detectChanges()}goToUpdateResourceSpec(){this.show_catalogs=!1,this.show_prod_specs=!1,this.show_service_specs=!1,this.show_resource_specs=!1,this.show_offers=!1,this.show_create_prod_spec=!1,this.show_create_serv_spec=!1,this.show_create_res_spec=!1,this.show_create_offer=!1,this.show_update_prod_spec=!1,this.show_update_res_spec=!0,this.show_update_serv_spec=!1,this.show_update_offer=!1,this.show_update_catalog=!1,this.show_create_catalog=!1,this.cdr.detectChanges()}goToCreateServSpec(){this.show_catalogs=!1,this.show_prod_specs=!1,this.show_service_specs=!1,this.show_resource_specs=!1,this.show_offers=!1,this.show_create_serv_spec=!0,this.show_create_prod_spec=!1,this.show_create_res_spec=!1,this.show_create_offer=!1,this.show_update_prod_spec=!1,this.show_update_res_spec=!1,this.show_update_serv_spec=!1,this.show_update_offer=!1,this.show_update_catalog=!1,this.show_create_catalog=!1,this.cdr.detectChanges()}goToCreateResSpec(){this.show_catalogs=!1,this.show_prod_specs=!1,this.show_service_specs=!1,this.show_resource_specs=!1,this.show_offers=!1,this.show_create_serv_spec=!1,this.show_create_prod_spec=!1,this.show_create_res_spec=!0,this.show_create_offer=!1,this.show_update_prod_spec=!1,this.show_update_res_spec=!1,this.show_update_serv_spec=!1,this.show_update_offer=!1,this.show_update_catalog=!1,this.show_create_catalog=!1,this.cdr.detectChanges()}goToCreateOffer(){this.show_catalogs=!1,this.show_prod_specs=!1,this.show_service_specs=!1,this.show_resource_specs=!1,this.show_offers=!1,this.show_create_serv_spec=!1,this.show_create_prod_spec=!1,this.show_create_res_spec=!1,this.show_create_offer=!0,this.show_update_prod_spec=!1,this.show_update_res_spec=!1,this.show_update_serv_spec=!1,this.show_update_offer=!1,this.show_update_catalog=!1,this.show_create_catalog=!1,this.cdr.detectChanges()}goToCatalogs(){this.selectCatalogs(),this.show_catalogs=!0,this.show_prod_specs=!1,this.show_service_specs=!1,this.show_resource_specs=!1,this.show_offers=!1,this.show_create_prod_spec=!1,this.show_create_res_spec=!1,this.show_create_serv_spec=!1,this.show_create_offer=!1,this.show_update_prod_spec=!1,this.show_update_res_spec=!1,this.show_update_serv_spec=!1,this.show_update_offer=!1,this.show_update_catalog=!1,this.show_create_catalog=!1,this.cdr.detectChanges()}selectCatalogs(){let e=document.getElementById("catalogs-button"),a=document.getElementById("prod-spec-button"),t=document.getElementById("sev-spec-button"),i=document.getElementById("res-spec-button"),l=document.getElementById("offers-button");this.selectMenu(e,"text-white bg-primary-100"),this.unselectMenu(a,"text-white bg-primary-100"),this.unselectMenu(t,"text-white bg-primary-100"),this.unselectMenu(i,"text-white bg-primary-100"),this.unselectMenu(l,"text-white bg-primary-100")}goToProdSpec(){this.selectProdSpec(),this.show_catalogs=!1,this.show_prod_specs=!0,this.show_service_specs=!1,this.show_resource_specs=!1,this.show_offers=!1,this.show_create_prod_spec=!1,this.show_create_res_spec=!1,this.show_create_serv_spec=!1,this.show_create_offer=!1,this.show_update_prod_spec=!1,this.show_update_res_spec=!1,this.show_update_serv_spec=!1,this.show_update_offer=!1,this.show_update_catalog=!1,this.show_create_catalog=!1,this.cdr.detectChanges()}selectProdSpec(){let e=document.getElementById("catalogs-button"),a=document.getElementById("prod-spec-button"),t=document.getElementById("sev-spec-button"),i=document.getElementById("res-spec-button"),l=document.getElementById("offers-button");this.selectMenu(a,"text-white bg-primary-100"),this.unselectMenu(e,"text-white bg-primary-100"),this.unselectMenu(t,"text-white bg-primary-100"),this.unselectMenu(i,"text-white bg-primary-100"),this.unselectMenu(l,"text-white bg-primary-100")}goToServiceSpec(){this.selectServiceSpec(),this.show_catalogs=!1,this.show_prod_specs=!1,this.show_service_specs=!0,this.show_resource_specs=!1,this.show_offers=!1,this.show_create_prod_spec=!1,this.show_create_res_spec=!1,this.show_create_serv_spec=!1,this.show_create_offer=!1,this.show_update_prod_spec=!1,this.show_update_res_spec=!1,this.show_update_serv_spec=!1,this.show_update_offer=!1,this.show_update_catalog=!1,this.show_create_catalog=!1,this.cdr.detectChanges()}selectServiceSpec(){let e=document.getElementById("catalogs-button"),a=document.getElementById("prod-spec-button"),t=document.getElementById("sev-spec-button"),i=document.getElementById("res-spec-button"),l=document.getElementById("offers-button");this.selectMenu(t,"text-white bg-primary-100"),this.unselectMenu(e,"text-white bg-primary-100"),this.unselectMenu(a,"text-white bg-primary-100"),this.unselectMenu(i,"text-white bg-primary-100"),this.unselectMenu(l,"text-white bg-primary-100")}goToResourceSpec(){this.selectResourceSpec(),this.show_catalogs=!1,this.show_prod_specs=!1,this.show_service_specs=!1,this.show_resource_specs=!0,this.show_offers=!1,this.show_create_prod_spec=!1,this.show_create_res_spec=!1,this.show_create_serv_spec=!1,this.show_create_offer=!1,this.show_update_prod_spec=!1,this.show_update_res_spec=!1,this.show_update_serv_spec=!1,this.show_update_offer=!1,this.show_update_catalog=!1,this.show_create_catalog=!1,this.cdr.detectChanges()}selectResourceSpec(){let e=document.getElementById("catalogs-button"),a=document.getElementById("prod-spec-button"),t=document.getElementById("sev-spec-button"),i=document.getElementById("res-spec-button"),l=document.getElementById("offers-button");this.selectMenu(i,"text-white bg-primary-100"),this.unselectMenu(e,"text-white bg-primary-100"),this.unselectMenu(a,"text-white bg-primary-100"),this.unselectMenu(t,"text-white bg-primary-100"),this.unselectMenu(l,"text-white bg-primary-100")}goToOffers(){this.selectOffers(),this.show_catalogs=!1,this.show_prod_specs=!1,this.show_service_specs=!1,this.show_resource_specs=!1,this.show_offers=!0,this.show_create_prod_spec=!1,this.show_create_res_spec=!1,this.show_create_serv_spec=!1,this.show_create_offer=!1,this.show_update_prod_spec=!1,this.show_update_res_spec=!1,this.show_update_serv_spec=!1,this.show_update_offer=!1,this.show_update_catalog=!1,this.show_create_catalog=!1,this.cdr.detectChanges()}selectOffers(){let e=document.getElementById("catalogs-button"),a=document.getElementById("prod-spec-button"),t=document.getElementById("sev-spec-button"),i=document.getElementById("res-spec-button"),l=document.getElementById("offers-button");this.selectMenu(l,"text-white bg-primary-100"),this.unselectMenu(e,"text-white bg-primary-100"),this.unselectMenu(a,"text-white bg-primary-100"),this.unselectMenu(t,"text-white bg-primary-100"),this.unselectMenu(i,"text-white bg-primary-100")}removeClass(e,a){e.className=(" "+e.className+" ").replace(" "+a+" "," ").replace(/^\s+|\s+$/g,"")}addClass(e,a){e.className+=" "+a}unselectMenu(e,a){null!=e&&(e.className.match(a)?this.removeClass(e,a):console.log("already unselected"))}selectMenu(e,a){null!=e&&(e.className.match(a)?console.log("already selected"):this.addClass(e,a))}static#e=this.\u0275fac=function(a){return new(a||c)(B(A1),B(B1),B(e2))};static#c=this.\u0275cmp=V1({type:c,selectors:[["app-seller-offerings"]],decls:69,vars:45,consts:[[1,"container","mx-auto","pt-2","pb-8"],[1,"hidden","lg:block","mb-8","mt-4","text-4xl","font-extrabold","leading-none","tracking-tight","text-gray-900","lg:text-4xl","lg:text-5xl","dark:text-white","w-full"],[1,"underline","underline-offset-3","decoration-8","decoration-primary-100","dark:decoration-primary-100"],[1,"flex","flex-cols","mr-2","ml-2","lg:hidden"],[1,"mb-8","mt-4","text-4xl","font-extrabold","leading-none","tracking-tight","text-gray-900","lg:text-4xl","lg:text-5xl","dark:text-white","w-full"],[1,"flex","align-middle","content-center","items-center"],["id","dropdown-nav","data-dropdown-toggle","dropdown-nav-content","type","button",1,"text-black","dark:text-white","h-fit","w-fit","justify-between","shadow","bg-white","dark:bg-secondary-200","hover:bg-gray-100","dark:hover:bg-secondary-300","focus:ring-4","focus:outline-none","focus:ring-primary-100","font-medium","rounded-lg","text-sm","p-2.5","text-center","inline-flex","items-center","shadow-lg"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 17 14",1,"w-4","h-4","mr-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 1h15M1 7h15M1 13h15"],["id","dropdown-nav-content",1,"z-10","hidden","bg-white","divide-y","divide-gray-100","rounded-lg","shadow","w-44","dark:bg-gray-700"],["aria-labelledby","dropdown-nav",1,"py-2","text-sm","text-gray-700","dark:text-gray-200"],[1,"cursor-pointer","block","px-4","py-2","hover:bg-gray-100","dark:hover:bg-gray-600","dark:hover:text-white",3,"click"],[1,"w-full","grid","lg:grid-cols-20/80"],[1,"hidden","lg:block"],[1,"w-48","h-fit","text-sm","font-medium","text-gray-900","bg-white","border","border-gray-200","rounded-lg","dark:bg-gray-700","dark:border-gray-600","dark:text-white","mb-8"],["id","catalogs-button","aria-current","true",1,"block","w-full","px-4","py-2","text-white","bg-primary-100","border-b","border-gray-200","rounded-t-lg","cursor-pointer","dark:border-gray-600","hover:bg-gray-100","hover:text-blue-700","dark:border-gray-600","dark:hover:bg-gray-600","dark:hover:text-white","dark:focus:ring-gray-500","dark:focus:text-white",3,"click"],["id","offers-button",1,"block","w-full","px-4","py-2","border-gray-200","cursor-pointer","hover:bg-gray-100","hover:text-blue-700","dark:border-gray-600","dark:hover:bg-gray-600","dark:hover:text-white","dark:focus:ring-gray-500","dark:focus:text-white",3,"click"],[1,"w-48","h-fit","text-sm","font-medium","text-gray-900","bg-white","border","border-gray-200","rounded-lg","dark:bg-gray-700","dark:border-gray-600","dark:text-white"],["id","prod-spec-button",1,"block","w-full","rounded-t-lg","px-4","py-2","border-b","border-gray-200","cursor-pointer","hover:bg-gray-100","hover:text-blue-700","dark:border-gray-600","dark:hover:bg-gray-600","dark:hover:text-white","dark:focus:ring-gray-500","dark:focus:text-white",3,"click"],["id","sev-spec-button",1,"block","w-full","px-4","py-2","border-b","border-gray-200","cursor-pointer","hover:bg-gray-100","hover:text-blue-700","dark:border-gray-600","dark:hover:bg-gray-600","dark:hover:text-white","dark:focus:ring-gray-500","dark:focus:text-white",3,"click"],["id","res-spec-button",1,"block","w-full","px-4","py-2","border-gray-200","cursor-pointer","hover:bg-gray-100","hover:text-blue-700","dark:border-gray-600","dark:hover:bg-gray-600","dark:hover:text-white","dark:focus:ring-gray-500","dark:focus:text-white",3,"click"],[3,"prod"],[3,"serv"],[3,"res"],[3,"offer"],[3,"cat"]],template:function(a,t){1&a&&(o(0,"div",0)(1,"h1",1)(2,"span",2),f(3,"My offerings"),n()(),o(4,"div",3)(5,"h1",4)(6,"span",2),f(7,"My offerings"),n()(),o(8,"div",5)(9,"button",6),w(),o(10,"svg",7),v(11,"path",8),n(),f(12," Offerings "),n()()(),O(),o(13,"div",9)(14,"ul",10)(15,"li")(16,"a",11),C("click",function(){return t.goToCatalogs()}),f(17),m(18,"translate"),n()(),o(19,"li")(20,"a",11),C("click",function(){return t.goToOffers()}),f(21),m(22,"translate"),n()(),o(23,"li")(24,"a",11),C("click",function(){return t.goToProdSpec()}),f(25),m(26,"translate"),n()(),o(27,"li")(28,"a",11),C("click",function(){return t.goToServiceSpec()}),f(29),m(30,"translate"),n()(),o(31,"li")(32,"a",11),C("click",function(){return t.goToResourceSpec()}),f(33),m(34,"translate"),n()()()(),o(35,"div",12)(36,"div",13)(37,"div",14)(38,"button",15),C("click",function(){return t.goToCatalogs()}),f(39),m(40,"translate"),n(),o(41,"button",16),C("click",function(){return t.goToOffers()}),f(42),m(43,"translate"),n()(),o(44,"div",17)(45,"button",18),C("click",function(){return t.goToProdSpec()}),f(46),m(47,"translate"),n(),o(48,"button",19),C("click",function(){return t.goToServiceSpec()}),f(49),m(50,"translate"),n(),o(51,"button",20),C("click",function(){return t.goToResourceSpec()}),f(52),m(53,"translate"),n()()(),R(54,_86,1,0,"seller-catalogs")(55,p86,1,0,"seller-product-spec")(56,g86,1,0,"seller-service-spec")(57,v86,1,0,"seller-resource-spec")(58,H86,1,0,"seller-offer")(59,C86,1,0,"create-product-spec")(60,z86,1,0,"create-service-spec")(61,V86,1,0,"create-resource-spec")(62,M86,1,0,"create-offer")(63,L86,1,0,"create-catalog")(64,y86,1,1,"update-product-spec",21)(65,b86,1,1,"update-service-spec",22)(66,x86,1,1,"update-resource-spec",23)(67,w86,1,1,"update-offer",24)(68,F86,1,1,"update-catalog",25),n()()),2&a&&(s(17),H(_(18,25,"OFFERINGS._catalogs")),s(4),H(_(22,27,"OFFERINGS._offers")),s(4),H(_(26,29,"OFFERINGS._prod_spec")),s(4),H(_(30,31,"OFFERINGS._serv_spec")),s(4),H(_(34,33,"OFFERINGS._res_spec")),s(6),V(" ",_(40,35,"OFFERINGS._catalogs")," "),s(3),V(" ",_(43,37,"OFFERINGS._offers")," "),s(4),V(" ",_(47,39,"OFFERINGS._prod_spec")," "),s(3),V(" ",_(50,41,"OFFERINGS._serv_spec")," "),s(3),V(" ",_(53,43,"OFFERINGS._res_spec")," "),s(2),S(54,t.show_catalogs?54:-1),s(),S(55,t.show_prod_specs?55:-1),s(),S(56,t.show_service_specs?56:-1),s(),S(57,t.show_resource_specs?57:-1),s(),S(58,t.show_offers?58:-1),s(),S(59,t.show_create_prod_spec?59:-1),s(),S(60,t.show_create_serv_spec?60:-1),s(),S(61,t.show_create_res_spec?61:-1),s(),S(62,t.show_create_offer?62:-1),s(),S(63,t.show_create_catalog?63:-1),s(),S(64,t.show_update_prod_spec?64:-1),s(),S(65,t.show_update_serv_spec?65:-1),s(),S(66,t.show_update_res_spec?66:-1),s(),S(67,t.show_update_offer?67:-1),s(),S(68,t.show_update_catalog?68:-1))},dependencies:[D$3,W$3,nY3,CY3,EY3,xW3,VZ3,gK3,JJ3,X26,a36,i66,Te6,qe6,m86,X1]})}return c})();function S86(c,r){if(1&c&&(o(0,"span",3),f(1),n()),2&c){const e=h();s(),H(e.child.lifecycleStatus)}}function N86(c,r){if(1&c&&(o(0,"span",8),f(1),n()),2&c){const e=h();s(),H(e.child.lifecycleStatus)}}function D86(c,r){if(1&c&&(o(0,"span",9),f(1),n()),2&c){const e=h();s(),H(e.child.lifecycleStatus)}}function T86(c,r){if(1&c&&(o(0,"span",10),f(1),n()),2&c){const e=h();s(),H(e.child.lifecycleStatus)}}function E86(c,r){if(1&c&&v(0,"categories-recursion-list",11),2&c){const e=r.$implicit,a=h(2);k("child",e)("parent",a.child)("path",a.path+" / "+a.child.name)}}function A86(c,r){1&c&&c1(0,E86,1,3,"categories-recursion-list",11,z1),2&c&&a1(h().child.children)}let P86=(()=>{class c{constructor(e,a){this.cdr=e,this.eventMessage=a}addCategory(e){this.eventMessage.emitCategoryAdded(e)}goToUpdate(e){this.eventMessage.emitUpdateCategory(e)}static#e=this.\u0275fac=function(a){return new(a||c)(B(B1),B(e2))};static#c=this.\u0275cmp=V1({type:c,selectors:[["categories-recursion-list"]],inputs:{child:"child",parent:"parent",path:"path"},decls:18,vars:8,consts:[[1,"flex","border-b","hover:bg-gray-200","dark:border-gray-700","dark:bg-secondary-300","dark:hover:bg-secondary-200","w-full","justify-between"],[1,"flex","px-6","py-4","w-2/4"],[1,"hidden","md:flex","px-6","py-4","w-fit"],[1,"h-fit","bg-blue-100","dark:bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"flex","px-6","py-4","w-fit","justify-end"],["type","button",1,"text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-2.5","text-center","inline-flex","items-center","me-2",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-[18px]","h-[18px]","text-white"],["fill-rule","evenodd","d","M14 4.182A4.136 4.136 0 0 1 16.9 3c1.087 0 2.13.425 2.899 1.182A4.01 4.01 0 0 1 21 7.037c0 1.068-.43 2.092-1.194 2.849L18.5 11.214l-5.8-5.71 1.287-1.31.012-.012Zm-2.717 2.763L6.186 12.13l2.175 2.141 5.063-5.218-2.141-2.108Zm-6.25 6.886-1.98 5.849a.992.992 0 0 0 .245 1.026 1.03 1.03 0 0 0 1.043.242L10.282 19l-5.25-5.168Zm6.954 4.01 5.096-5.186-2.218-2.183-5.063 5.218 2.185 2.15Z","clip-rule","evenodd"],[1,"h-fit","bg-blue-100","dark:bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"h-fit","bg-blue-100","dark:bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"h-fit","bg-blue-100","dark:bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"w-full",3,"child","parent","path"]],template:function(a,t){1&a&&(o(0,"tr",0)(1,"td",1),f(2),o(3,"b"),f(4),n()(),o(5,"td",2),R(6,S86,2,1,"span",3)(7,N86,2,1)(8,D86,2,1)(9,T86,2,1),n(),o(10,"td",2),f(11),m(12,"date"),n(),o(13,"td",4)(14,"button",5),C("click",function(){return t.goToUpdate(t.child)}),w(),o(15,"svg",6),v(16,"path",7),n()()()(),R(17,A86,2,0)),2&a&&(s(2),V(" ",t.path," / "),s(2),H(t.child.name),s(2),S(6,"Active"==t.child.lifecycleStatus?6:"Launched"==t.child.lifecycleStatus?7:"Retired"==t.child.lifecycleStatus?8:"Obsolete"==t.child.lifecycleStatus?9:-1),s(5),V(" ",L2(12,5,t.child.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," "),s(6),S(17,t.child.children&&t.child.children.length>0?17:-1))},dependencies:[c,Q4]})}return c})();const R86=(c,r)=>r.id;function B86(c,r){1&c&&(o(0,"div",29),w(),o(1,"svg",30),v(2,"path",31)(3,"path",32),n(),O(),o(4,"span",33),f(5,"Loading..."),n()())}function O86(c,r){if(1&c&&(o(0,"span",47),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function I86(c,r){if(1&c&&(o(0,"span",53),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function U86(c,r){if(1&c&&(o(0,"span",54),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function j86(c,r){if(1&c&&(o(0,"span",55),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function $86(c,r){if(1&c&&(o(0,"tr")(1,"td",56),v(2,"categories-recursion-list",57),n()()),2&c){const e=r.$implicit,a=h(2).$implicit;s(2),k("child",e)("parent",a)("path",a.name)}}function Y86(c,r){1&c&&c1(0,$86,3,3,"tr",null,z1),2&c&&a1(h().$implicit.children)}function G86(c,r){if(1&c){const e=j();o(0,"tr",44)(1,"td",45)(2,"b"),f(3),n()(),o(4,"td",46),R(5,O86,2,1,"span",47)(6,I86,2,1)(7,U86,2,1)(8,j86,2,1),n(),o(9,"td",48),f(10),m(11,"date"),n(),o(12,"td",49)(13,"button",50),C("click",function(){const t=y(e).$implicit;return b(h(2).goToUpdate(t))}),w(),o(14,"svg",51),v(15,"path",52),n()()()(),R(16,Y86,2,0)}if(2&c){const e=r.$implicit;s(3),H(e.name),s(2),S(5,"Active"==e.lifecycleStatus?5:"Launched"==e.lifecycleStatus?6:"Retired"==e.lifecycleStatus?7:"Obsolete"==e.lifecycleStatus?8:-1),s(5),V(" ",L2(11,4,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," "),s(6),S(16,e.children.length>0?16:-1)}}function q86(c,r){1&c&&(o(0,"div",43)(1,"div",58),w(),o(2,"svg",59),v(3,"path",60),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"CATEGORIES._no_cat")," "))}function W86(c,r){if(1&c&&(o(0,"div",34)(1,"div",35)(2,"table",36)(3,"thead",37)(4,"tr",38)(5,"th",39),f(6),m(7,"translate"),n(),o(8,"th",40),f(9),m(10,"translate"),n(),o(11,"th",41),f(12),m(13,"translate"),n(),o(14,"th",42),f(15),m(16,"translate"),n()()(),o(17,"tbody"),c1(18,G86,17,7,null,null,R86,!1,q86,7,3,"div",43),n()()()()),2&c){const e=h();s(6),V(" ",_(7,5,"ADMIN._name")," "),s(3),V(" ",_(10,7,"ADMIN._status")," "),s(3),V(" ",_(13,9,"ADMIN._last_update")," "),s(3),V(" ",_(16,11,"ADMIN._actions")," "),s(3),a1(e.categories)}}let Z86=(()=>{class c{constructor(e,a,t,i,l){this.router=e,this.api=a,this.cdr=t,this.localStorage=i,this.eventMessage=l,this.faIdCard=$6,this.faSort=j6,this.faSwatchbook=_0,this.searchField=new u1,this.categories=[],this.unformattedCategories=[],this.page=0,this.CATEGOY_LIMIT=m1.CATEGORY_LIMIT,this.loading=!1,this.status=["Active","Launched"],this.eventMessage.messages$.subscribe(d=>{"ChangedSession"===d.type&&this.initCatalogs()})}ngOnInit(){this.initCatalogs()}initCatalogs(){this.loading=!0,this.categories=[];let e=this.localStorage.getObject("login_items");if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}this.getCategories(),S1()}createCategory(){this.eventMessage.emitCreateCategory(!0)}goToUpdate(e){this.eventMessage.emitUpdateCategory(e)}getCategories(){console.log("Getting categories..."),this.api.getCategories(this.status).then(e=>{for(let a=0;ai.parentId===e.id);if(e.children=t,1==e.isRoot?this.categories.push(e):this.saveChildren(this.categories,e),0!=t.length)for(let i=0;i{if(a=t,e.children=a,1==e.isRoot?this.categories.push(e):this.saveChildren(this.categories,e),0!=a.length)for(let i=0;id.id==a.id)){let d=i.findIndex(u=>u.id==a.id);i[d]=a,e[t].children=i}this.saveChildren(i,a)}}}onStateFilterChange(e){const a=this.status.findIndex(t=>t===e);-1!==a?(this.status.splice(a,1),console.log("elimina filtro"),console.log(this.status)):(console.log("a\xf1ade filtro"),console.log(this.status),this.status.push(e)),this.loading=!0,this.categories=[],this.getCategories(),console.log("filter")}static#e=this.\u0275fac=function(a){return new(a||c)(B(Q1),B(p1),B(B1),B(A1),B(e2))};static#c=this.\u0275cmp=V1({type:c,selectors:[["admin-categories"]],decls:53,vars:29,consts:[[1,"w-full","h-fit","mb-4","bg-secondary-50","rounded-lg","dark:bg-secondary-100","dark:border-gray-800","border-gray-300","border-secondary-50","border","flex","flex-col","shadow-lg"],[1,"flex","w-full","flex-cols","items-center","md:flex-row","justify-between"],[1,"mb-4","md:mb-0","md:w-1/4","p-8"],[1,"text-2xl","font-bold","mb-4","dark:text-white"],[1,"flex","flex-row","w-full","justify-end"],["type","button",1,"ml-2","mr-8","mb-4","text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-2.5","text-center","inline-flex","items-center","align-middle","me-2",3,"click"],[1,"pl-2","pr-2","dark:text-white"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-[18px]","h-[18px]","text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],[1,"flex","w-full","flex-col","items-center","md:flex-row","justify-between"],[1,"p-8","w-full"],[1,"flex","flex-row","mb-1"],[1,"fa-base","text-primary-100","align-middle","mr-2",3,"icon"],[1,"text-base","font-bold","dark:text-white"],["id","dropdownDefault","data-dropdown-toggle","dropdown","type","button",1,"text-black","dark:text-white","w-full","justify-between","shadow","bg-white","dark:bg-secondary-200","hover:bg-gray-100","dark:hover:bg-secondary-300","focus:ring-4","focus:outline-none","focus:ring-primary-300","font-medium","rounded-lg","text-sm","p-2.5","text-center","inline-flex","items-center"],["aria-hidden","true","fill","none","stroke","currentColor","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg",1,"w-4","h-4","ml-2"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M19 9l-7 7-7-7"],["id","dropdown",1,"z-20","hidden","w-fit","md:w-1/5","p-3","bg-white","rounded-lg","shadow","dark:bg-secondary-200"],[1,"mb-3","text-sm","font-medium","text-gray-900","dark:text-white"],["aria-labelledby","dropdownDefault",1,"space-y-2","text-sm"],[1,"flex","items-center"],["id","active","type","checkbox","value","","checked","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","active",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["id","launched","type","checkbox","value","","checked","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","launched",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["id","retired","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","retired",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["id","obsolete","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","obsolete",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"sr-only"],[1,"bg-secondary-50","dark:bg-secondary-100","border","dark:border-gray-800","mt-8","p-4","rounded-lg"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","dark:bg-secondary-300"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],[1,"flex","w-full","justify-between"],["scope","col",1,"flex","px-6","py-3","w-2/4"],["scope","col",1,"hidden","md:flex","px-6","py-3","w-fit"],["scope","col",1,"hidden","md:table-cell","px-6","py-3","w-fit"],["scope","col",1,"flex","px-6","py-3","w-fit"],[1,"flex","justify-center","m-4"],[1,"flex","border-b","dark:border-gray-700","hover:bg-gray-200","w-full","justify-between","dark:bg-secondary-300","dark:hover:bg-secondary-200"],[1,"flex","px-6","py-4","w-2/4"],[1,"hidden","md:flex","px-6","py-4","w-fit"],[1,"bg-blue-100","dark:bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"hidden","md:table-cell","px-6","py-4","w-fit"],[1,"flex","px-6","py-4","w-fit","justify-end"],["type","button",1,"text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-2.5","text-center","inline-flex","items-center","me-2",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-[18px]","h-[18px]","text-white"],["fill-rule","evenodd","d","M14 4.182A4.136 4.136 0 0 1 16.9 3c1.087 0 2.13.425 2.899 1.182A4.01 4.01 0 0 1 21 7.037c0 1.068-.43 2.092-1.194 2.849L18.5 11.214l-5.8-5.71 1.287-1.31.012-.012Zm-2.717 2.763L6.186 12.13l2.175 2.141 5.063-5.218-2.141-2.108Zm-6.25 6.886-1.98 5.849a.992.992 0 0 0 .245 1.026 1.03 1.03 0 0 0 1.043.242L10.282 19l-5.25-5.168Zm6.954 4.01 5.096-5.186-2.218-2.183-5.063 5.218 2.185 2.15Z","clip-rule","evenodd"],[1,"bg-blue-100","dark:bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],["colspan","3"],[1,"w-full",3,"child","parent","path"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",0)(2,"div",1)(3,"div",2)(4,"h2",3),f(5),m(6,"translate"),n()(),o(7,"div",4)(8,"button",5),C("click",function(){return t.createCategory()}),o(9,"p",6),f(10),m(11,"translate"),n(),w(),o(12,"svg",7),v(13,"path",8),n()()()(),O(),o(14,"div",9)(15,"div",10)(16,"div",11),v(17,"fa-icon",12),o(18,"h2",13),f(19),m(20,"translate"),n()(),o(21,"button",14),f(22),m(23,"translate"),w(),o(24,"svg",15),v(25,"path",16),n()(),O(),o(26,"div",17)(27,"h6",18),f(28),m(29,"translate"),n(),o(30,"ul",19)(31,"li",20)(32,"input",21),C("change",function(){return t.onStateFilterChange("Active")}),n(),o(33,"label",22),f(34),m(35,"translate"),n()(),o(36,"li",20)(37,"input",23),C("change",function(){return t.onStateFilterChange("Launched")}),n(),o(38,"label",24),f(39),m(40,"translate"),n()(),o(41,"li",20)(42,"input",25),C("change",function(){return t.onStateFilterChange("Retired")}),n(),o(43,"label",26),f(44),m(45,"translate"),n()(),o(46,"li",20)(47,"input",27),C("change",function(){return t.onStateFilterChange("Obsolete")}),n(),o(48,"label",28),f(49),m(50,"translate"),n()()()()()()(),R(51,B86,6,0,"div",29)(52,W86,21,13),n()),2&a&&(s(5),H(_(6,11,"CATEGORIES._categories")),s(5),H(_(11,13,"CATEGORIES._add_new_cat")),s(7),k("icon",t.faSwatchbook),s(2),H(_(20,15,"ADMIN._filter_state")),s(3),V(" ",_(23,17,"ADMIN._filter_state")," "),s(6),V(" ",_(29,19,"ADMIN._status")," "),s(6),V(" ",_(35,21,"ADMIN._active")," "),s(5),V(" ",_(40,23,"ADMIN._launched")," "),s(5),V(" ",_(45,25,"ADMIN._retired")," "),s(5),V(" ",_(50,27,"ADMIN._obsolete")," "),s(2),S(51,t.loading?51:52))},dependencies:[B4,P86,Q4,X1]})}return c})();const K86=(c,r)=>r.id,Q86=()=>({position:"relative",left:"200px",top:"-500px"});function J86(c,r){1&c&&v(0,"markdown",61),2&c&&k("data",h(2).description)}function X86(c,r){1&c&&v(0,"textarea",71)}function e56(c,r){if(1&c){const e=j();o(0,"emoji-mart",72),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(2).addEmoji(t))}),n()}2&c&&(Y2(E4(3,Q86)),k("darkMode",!1))}function c56(c,r){1&c&&(o(0,"div",73)(1,"div",74),w(),o(2,"svg",75),v(3,"path",76),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_categories")," "))}function a56(c,r){if(1&c&&(o(0,"tr")(1,"td",89),v(2,"categories-recursion",90),n()()),2&c){const e=r.$implicit,a=h(2).$implicit,t=h(4);s(2),k("child",e)("parent",a)("selected",t.selected)("path",a.name)}}function r56(c,r){1&c&&c1(0,a56,3,4,"tr",null,z1),2&c&&a1(h().$implicit.children)}function t56(c,r){if(1&c){const e=j();o(0,"tr",84)(1,"td",85)(2,"b"),f(3),n()(),o(4,"td",86),f(5),m(6,"date"),n(),o(7,"td",87)(8,"input",88),C("click",function(){const t=y(e).$implicit;return b(h(4).addCategory(t))}),n()()(),R(9,r56,2,0)}if(2&c){const e=r.$implicit,a=h(4);s(3),H(e.name),s(2),V(" ",L2(6,4,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," "),s(3),k("checked",a.isCategorySelected(e)),s(),S(9,e.children.length>0?9:-1)}}function i56(c,r){if(1&c&&(o(0,"div",77)(1,"table",78)(2,"thead",79)(3,"tr",80)(4,"th",81),f(5),m(6,"translate"),n(),o(7,"th",82),f(8),m(9,"translate"),n(),o(10,"th",83),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,t56,10,7,null,null,K86),n()()()),2&c){const e=h(3);s(5),V(" ",_(6,3,"CREATE_OFFER._name")," "),s(3),V(" ",_(9,5,"CREATE_OFFER._last_update")," "),s(3),V(" ",_(12,7,"CREATE_OFFER._select")," "),s(3),a1(e.categories)}}function o56(c,r){1&c&&R(0,c56,7,3,"div",73)(1,i56,16,9),2&c&&S(0,0==h(2).categories.length?0:1)}function n56(c,r){if(1&c){const e=j();o(0,"h2",13),f(1),m(2,"translate"),n(),o(3,"form",28)(4,"label",29),f(5),m(6,"translate"),n(),v(7,"input",30),o(8,"label",29),f(9),m(10,"translate"),n(),o(11,"div",31)(12,"div",32)(13,"div",33)(14,"div",34)(15,"button",35),C("click",function(){return y(e),b(h().addBold())}),w(),o(16,"svg",36),v(17,"path",37),n(),O(),o(18,"span",38),f(19,"Bold"),n()(),o(20,"button",35),C("click",function(){return y(e),b(h().addItalic())}),w(),o(21,"svg",36),v(22,"path",39),n(),O(),o(23,"span",38),f(24,"Italic"),n()(),o(25,"button",35),C("click",function(){return y(e),b(h().addList())}),w(),o(26,"svg",40),v(27,"path",41),n(),O(),o(28,"span",38),f(29,"Add list"),n()(),o(30,"button",42),C("click",function(){return y(e),b(h().addOrderedList())}),w(),o(31,"svg",40),v(32,"path",43),n(),O(),o(33,"span",38),f(34,"Add ordered list"),n()(),o(35,"button",44),C("click",function(){return y(e),b(h().addBlockquote())}),w(),o(36,"svg",45),v(37,"path",46),n(),O(),o(38,"span",38),f(39,"Add blockquote"),n()(),o(40,"button",35),C("click",function(){return y(e),b(h().addTable())}),w(),o(41,"svg",47),v(42,"path",48),n(),O(),o(43,"span",38),f(44,"Add table"),n()(),o(45,"button",44),C("click",function(){return y(e),b(h().addCode())}),w(),o(46,"svg",47),v(47,"path",49),n(),O(),o(48,"span",38),f(49,"Add code"),n()(),o(50,"button",44),C("click",function(){return y(e),b(h().addCodeBlock())}),w(),o(51,"svg",47),v(52,"path",50),n(),O(),o(53,"span",38),f(54,"Add code block"),n()(),o(55,"button",44),C("click",function(){return y(e),b(h().addLink())}),w(),o(56,"svg",47),v(57,"path",51),n(),O(),o(58,"span",38),f(59,"Add link"),n()(),o(60,"button",42),C("click",function(t){y(e);const i=h();return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(61,"svg",52),v(62,"path",53),n(),O(),o(63,"span",38),f(64,"Add emoji"),n()()()(),o(65,"button",54),C("click",function(){y(e);const t=h();return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(66,"svg",40),v(67,"path",55)(68,"path",56),n(),O(),o(69,"span",38),f(70),m(71,"translate"),n()(),o(72,"div",57),f(73),m(74,"translate"),v(75,"div",58),n()(),o(76,"div",59)(77,"label",60),f(78,"Publish post"),n(),R(79,J86,1,1,"markdown",61)(80,X86,1,0)(81,e56,1,4,"emoji-mart",62),n()(),o(82,"label",63),f(83),m(84,"translate"),n(),o(85,"label",64)(86,"input",65),C("change",function(){return y(e),b(h().toggleParent())}),n(),v(87,"div",66),n(),R(88,o56,2,1),n(),o(89,"div",67)(90,"button",68),C("click",function(){y(e);const t=h();return t.showFinish(),b(t.generalDone=!0)}),f(91),m(92,"translate"),w(),o(93,"svg",69),v(94,"path",70),n()()()}if(2&c){let e;const a=h();s(),H(_(2,35,"CREATE_CATEGORIES._general")),s(2),k("formGroup",a.generalForm),s(2),H(_(6,37,"CREATE_CATEGORIES._name")),s(2),k("ngClass",1==(null==(e=a.generalForm.get("name"))?null:e.invalid)&&""!=a.generalForm.value.name?"border-red-600":"border-gray-300"),s(2),H(_(10,39,"CREATE_CATEGORIES._description")),s(6),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(71,41,"CREATE_CATALOG._preview")),s(3),V(" ",_(74,43,"CREATE_CATALOG._show_preview")," "),s(6),S(79,a.showPreview?79:80),s(2),S(81,a.showEmoji?81:-1),s(2),H(_(84,45,"CREATE_CATEGORIES._choose_parent")),s(3),k("checked",a.parentSelectionCheck),s(2),S(88,a.parentSelectionCheck?88:-1),s(2),k("disabled",!a.generalForm.valid||1==a.parentSelectionCheck&&null==a.selectedCategory)("ngClass",!a.generalForm.valid||1==a.parentSelectionCheck&&null==a.selectedCategory?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(92,47,"CREATE_CATEGORIES._next")," ")}}function s56(c,r){if(1&c&&(o(0,"span",95),f(1),n()),2&c){const e=h(2);s(),H(null==e.categoryToCreate?null:e.categoryToCreate.lifecycleStatus)}}function l56(c,r){if(1&c&&(o(0,"span",98),f(1),n()),2&c){const e=h(2);s(),H(null==e.categoryToCreate?null:e.categoryToCreate.lifecycleStatus)}}function f56(c,r){if(1&c&&(o(0,"span",99),f(1),n()),2&c){const e=h(2);s(),H(null==e.categoryToCreate?null:e.categoryToCreate.lifecycleStatus)}}function d56(c,r){if(1&c&&(o(0,"span",100),f(1),n()),2&c){const e=h(2);s(),H(null==e.categoryToCreate?null:e.categoryToCreate.lifecycleStatus)}}function u56(c,r){if(1&c&&(o(0,"label",63),f(1),m(2,"translate"),n(),o(3,"div",101),v(4,"markdown",102),n()),2&c){const e=h(2);s(),H(_(2,2,"CREATE_CATEGORIES._description")),s(3),k("data",null==e.categoryToCreate?null:e.categoryToCreate.description)}}function h56(c,r){if(1&c&&(o(0,"label",63),f(1),m(2,"translate"),n(),o(3,"div",103)(4,"label",104),f(5),n()()),2&c){const e=h(2);s(),H(_(2,2,"CREATE_CATEGORIES._parent")),s(4),H(e.selectedCategory.name)}}function m56(c,r){if(1&c){const e=j();o(0,"h2",13),f(1),m(2,"translate"),n(),o(3,"div",91)(4,"div")(5,"label",63),f(6),m(7,"translate"),n(),o(8,"label",92),f(9),n()(),o(10,"div",93)(11,"label",94),f(12),m(13,"translate"),n(),R(14,s56,2,1,"span",95)(15,l56,2,1)(16,f56,2,1)(17,d56,2,1),n(),R(18,u56,5,4)(19,h56,6,4),o(20,"div",96)(21,"button",97),C("click",function(){return y(e),b(h().createCategory())}),f(22),m(23,"translate"),w(),o(24,"svg",69),v(25,"path",70),n()()()()}if(2&c){const e=h();s(),H(_(2,8,"CREATE_CATEGORIES._finish")),s(5),H(_(7,10,"CREATE_CATEGORIES._name")),s(3),V(" ",null==e.categoryToCreate?null:e.categoryToCreate.name," "),s(3),H(_(13,12,"CREATE_CATEGORIES._status")),s(2),S(14,"Active"==(null==e.categoryToCreate?null:e.categoryToCreate.lifecycleStatus)?14:"Launched"==(null==e.categoryToCreate?null:e.categoryToCreate.lifecycleStatus)?15:"Retired"==(null==e.categoryToCreate?null:e.categoryToCreate.lifecycleStatus)?16:"Obsolete"==(null==e.categoryToCreate?null:e.categoryToCreate.lifecycleStatus)?17:-1),s(4),S(18,""!=(null==e.categoryToCreate?null:e.categoryToCreate.description)?18:-1),s(),S(19,0==e.isParent?19:-1),s(3),V(" ",_(23,14,"CREATE_CATEGORIES._create")," ")}}function _56(c,r){1&c&&v(0,"error-message",27),2&c&&k("message",h().errorMessage)}let p56=(()=>{class c{constructor(e,a,t,i,l,d){this.router=e,this.cdr=a,this.localStorage=t,this.eventMessage=i,this.elementRef=l,this.api=d,this.partyId="",this.categories=[],this.unformattedCategories=[],this.stepsElements=["general-info","summary"],this.stepsCircles=["general-circle","summary-circle"],this.showPreview=!1,this.showEmoji=!1,this.description="",this.showGeneral=!0,this.showSummary=!1,this.generalDone=!1,this.generalForm=new S2({name:new u1("",[O1.required]),description:new u1("")}),this.isParent=!0,this.parentSelectionCheck=!1,this.selectedCategory=void 0,this.loading=!1,this.errorMessage="",this.showError=!1,this.eventMessage.messages$.subscribe(u=>{"ChangedSession"===u.type&&this.initPartyInfo(),"CategoryAdded"===u.type&&this.addCategory(u.value)})}onClick(){1==this.showEmoji&&(this.showEmoji=!1,this.cdr.detectChanges())}ngOnInit(){this.initPartyInfo()}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0)if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}this.getCategories()}goBack(){this.eventMessage.emitAdminCategories(!0)}getCategories(){console.log("Getting categories..."),this.api.getLaunchedCategories().then(e=>{for(let a=0;ai.parentId===e.id);if(e.children=t,1==e.isRoot?this.categories.push(e):this.saveChildren(this.categories,e),0!=t.length)for(let i=0;i{if(a=t,e.children=a,1==e.isRoot?this.categories.push(e):this.saveChildren(this.categories,e),0!=a.length)for(let i=0;id.id==a.id)){let d=i.findIndex(u=>u.id==a.id);i[d]=a,e[t].children=i}this.saveChildren(i,a)}}}toggleGeneral(){this.selectStep("general-info","general-circle"),this.showGeneral=!0,this.showSummary=!1,this.showPreview=!1}toggleParent(){this.isParent=!this.isParent,this.parentSelectionCheck=!this.parentSelectionCheck,this.cdr.detectChanges()}addCategory(e){null==this.selectedCategory?(this.selectedCategory=e,this.selected=[],this.selected.push(e)):-1!==this.selected.findIndex(t=>t.id===e.id)?(this.selected=[],this.selectedCategory=void 0):(this.selectedCategory=e,this.selected=[],this.selected.push(e)),this.cdr.detectChanges()}isCategorySelected(e){return null!=this.selectedCategory&&e.id==this.selectedCategory.id}showFinish(){null!=this.generalForm.value.name&&(this.categoryToCreate={name:this.generalForm.value.name,description:null!=this.generalForm.value.description?this.generalForm.value.description:"",lifecycleStatus:"Active",isRoot:this.isParent},0==this.isParent&&(this.categoryToCreate.parentId=this.selectedCategory.id),console.log("CATEGORY TO CREATE:"),console.log(this.categoryToCreate),this.showGeneral=!1,this.showSummary=!0,this.selectStep("summary","summary-circle")),this.showPreview=!1}createCategory(){this.api.postCategory(this.categoryToCreate).subscribe({next:e=>{this.goBack()},error:e=>{console.error("There was an error while updating!",e),e.error.error?(console.log(e),this.errorMessage="Error: "+e.error.error):this.errorMessage="There was an error while creating the category!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}removeClass(e,a){e.className=(" "+e.className+" ").replace(" "+a+" "," ").replace(/^\s+|\s+$/g,"")}addClass(e,a){e.className+=" "+a}unselectMenu(e,a){null!=e&&(e.className.match(a)?this.removeClass(e,a):console.log("already unselected"))}selectMenu(e,a){null!=e&&(e.className.match(a)?console.log("already selected"):this.addClass(e,a))}selectStep(e,a){const t=this.stepsElements.findIndex(l=>l===e);if(-1!==t){this.stepsElements.splice(t,1),this.selectMenu(document.getElementById(e),"text-primary-100 dark:text-primary-50"),this.unselectMenu(document.getElementById(e),"text-gray-500");for(let l=0;ll===a);if(-1!==t){this.stepsCircles.splice(i,1),this.selectMenu(document.getElementById(a),"border-primary-100 dark:border-primary-50"),this.unselectMenu(document.getElementById(a),"border-gray-400");for(let l=0;l blockquote"})}addLink(){this.generalForm.patchValue({description:this.generalForm.value.description+" [title](https://www.example.com) "})}addTable(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"})}addEmoji(e){console.log(e),this.showEmoji=!1,this.generalForm.patchValue({description:this.generalForm.value.description+e.emoji.native})}togglePreview(){this.generalForm.value.description&&(this.description=this.generalForm.value.description)}static#e=this.\u0275fac=function(a){return new(a||c)(B(Q1),B(B1),B(A1),B(e2),B(C2),B(p1))};static#c=this.\u0275cmp=V1({type:c,selectors:[["create-category"]],hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},decls:52,vars:29,consts:[[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-gray-200","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800","dark:text-white"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","mt-4","p-8","rounded-lg"],[1,"text-3xl","font-bold","text-primary-100","ml-4","dark:text-white"],[1,"h-px","m-4","bg-gray-300","dark:bg-gray-200","border-0"],[1,"md:grid","md:grid-cols-20/80"],[1,"flex","sm:flex-row","md:flex-col","md:mr-4","w-full","md:w-fit","overflow-x-auto"],[1,"hidden","md:block","text-xl","font-bold","text-black","mb-4","dark:text-white"],["id","general-info",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-40/60","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-primary-100","dark:text-primary-50","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","general-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-primary-100","dark:border-primary-50","rounded-full","shrink-0"],[1,"flex","sm:text-center","md:text-start"],[1,"hidden","xl:flex","text-xs","sm:text-center","md:text-start"],[1,"h-px","mb-2","bg-gray-300","dark:bg-gray-200","border-0"],["id","summary",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-40/60","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"disabled"],["id","summary-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],[1,"flex","leading-tight","justify-start"],[1,"hidden","xl:flex","text-xs","justify-start","text-start"],[1,"fixed","w-fit","top-1/2","left-1/2",3,"message"],[1,"m-4","gap-4",3,"formGroup"],["for","prod-name",1,"font-bold","text-lg","dark:text-white"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],[1,"w-full","col-span-2","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200"],[1,"flex","items-center","justify-between","px-3","py-2","border-b"],[1,"flex","flex-wrap","items-center","divide-gray-200","dark:divide-secondary-200","sm:divide-x","sm:rtl:divide-x-reverse"],[1,"flex","items-center","space-x-1","rtl:space-x-reverse","sm:pe-4","text-gray-500","dark:text-gray-200"],["type","button",1,"p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 5h4.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0-7H6m2 7h6.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0 0H6"],[1,"sr-only"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8.874 19 6.143-14M6 19h6.33m-.66-14H18"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M9 8h10M9 12h10M9 16h10M4.99 8H5m-.02 4h.01m0 4H5"],["type","button",1,"hidden","lg:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4"],["type","button",1,"hidden","md:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["fill-rule","evenodd","d","M5 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm0 12a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm1.65-9.76A1 1 0 0 0 5 9v6a1 1 0 0 0 1.65.76l3.5-3a1 1 0 0 0 0-1.52l-3.5-3ZM12 10a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Zm0 4a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Z","clip-rule","evenodd"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-width","2","d","M3 11h18m-9 0v8m-8 0h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 3v4a1 1 0 0 1-1 1H5m5 4-2 2 2 2m4-4 2 2-2 2m5-12v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M13.213 9.787a3.391 3.391 0 0 0-4.795 0l-3.425 3.426a3.39 3.39 0 0 0 4.795 4.794l.321-.304m-.321-4.49a3.39 3.39 0 0 0 4.795 0l3.424-3.426a3.39 3.39 0 0 0-4.794-4.795l-1.028.961"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-4","h-4"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM13.5 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm-7 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm3.5 9.5A5.5 5.5 0 0 1 4.6 11h10.81A5.5 5.5 0 0 1 10 15.5Z"],["type","button","data-tooltip-target","tooltip-fullscreen",1,"rounded","cursor-pointer","text-gray-500","dark:text-gray-200","p-2","sm:ms-auto","hover:text-gray-900","dark:hover:text-gray-900","hover:bg-gray-100",3,"click"],["stroke","currentColor","stroke-width","2","d","M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z"],["stroke","currentColor","stroke-width","2","d","M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"],["id","tooltip-fullscreen","role","tooltip",1,"absolute","z-10","invisible","inline-block","px-3","py-2","text-sm","font-medium","text-white","transition-opacity","duration-300","bg-gray-900","rounded-lg","shadow-sm","opacity-0","tooltip"],["data-popper-arrow","",1,"tooltip-arrow"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","rounded-b-lg"],["for","editor",1,"sr-only"],[1,"bg-gray-50","dark:bg-secondary-300","dark:text-white","text-gray-900","text-wrap","break-all",3,"data"],[3,"darkMode","style"],[1,"font-bold","text-lg","dark:text-white"],[1,"inline-flex","items-center","me-5","cursor-pointer","ml-4"],["type","checkbox",1,"sr-only","peer",3,"change","checked"],[1,"relative","w-11","h-6","bg-gray-400","dark:bg-gray-700","rounded-full","peer","peer-focus:ring-4","peer-focus:ring-primary-100","peer-checked:after:translate-x-full","rtl:peer-checked:after:-translate-x-full","peer-checked:after:border-white","after:content-['']","after:absolute","after:top-0.5","after:start-[2px]","after:bg-white","after:border-gray-300","after:border","after:rounded-full","after:h-5","after:w-5","after:transition-all","peer-checked:bg-primary-100"],[1,"flex","w-full","justify-items-end","justify-end"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],["id","editor","formControlName","description","rows","8","placeholder","Add product description...",1,"block","w-full","px-0","text-sm","text-gray-800","dark:text-gray-200","bg-white","dark:bg-secondary-300","border-0"],[3,"click","emojiClick","darkMode"],[1,"flex","justify-center","w-full","m-4"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","mt-4"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],[1,"flex","w-full","justify-between"],["scope","col",1,"flex","px-6","py-3","w-3/5"],["scope","col",1,"hidden","md:flex","px-6","py-3","w-fit"],["scope","col",1,"flex","px-6","py-3","w-fit"],[1,"flex","border-b","dark:border-gray-700","hover:bg-gray-200","w-full","justify-between","dark:bg-secondary-300","dark:hover:bg-secondary-200"],[1,"flex","px-6","py-4","w-3/5","text-wrap","break-all"],[1,"hidden","md:flex","px-6","py-4","w-fit"],[1,"flex","px-6","py-4","w-fit","justify-end"],["id","select-checkbox","type","checkbox","value","",1,"flex","w-4","h-4","justify-end","text-blue-600","bg-gray-100","border-gray-300","rounded","focus:ring-blue-500","dark:focus:ring-blue-600","dark:ring-offset-gray-800","focus:ring-2","dark:bg-gray-700","dark:border-gray-600",3,"click","checked"],["colspan","3"],[1,"w-full",3,"child","parent","selected","path"],[1,"m-8"],[1,"mb-2","bg-gray-50","text-wrap","break-all","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"mb-4"],[1,"font-bold","text-lg","mr-4","dark:text-white"],[1,"bg-blue-100","dark:bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"flex","w-full","justify-items-end","justify-end","ml-4"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],[1,"bg-blue-100","dark:bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","border","dark:border-secondary-200","rounded-lg","p-4","mb-4"],[1,"bg-gray-50","dark:bg-secondary-100","dark:text-white","text-gray-900","text-wrap","break-all",3,"data"],[1,"px-4","py-2","bg-white","border","border-1","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","rounded-lg","p-4","mb-4"],[1,"text-base","dark:text-white","text-wrap","break-all"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",0)(2,"nav",1)(3,"ol",2)(4,"li",3)(5,"button",4),C("click",function(){return t.goBack()}),w(),o(6,"svg",5),v(7,"path",6),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",7)(11,"div",8),w(),o(12,"svg",9),v(13,"path",10),n(),O(),o(14,"span",11),f(15),m(16,"translate"),n()()()()()(),o(17,"div",12)(18,"h2",13),f(19),m(20,"translate"),n(),v(21,"hr",14),o(22,"div",15)(23,"div",16)(24,"h2",17),f(25),m(26,"translate"),n(),o(27,"button",18),C("click",function(){return t.toggleGeneral()}),o(28,"span",19),f(29," 1 "),n(),o(30,"span")(31,"h3",20),f(32),m(33,"translate"),n(),o(34,"p",21),f(35),m(36,"translate"),n()()(),v(37,"hr",22),o(38,"button",23)(39,"span",24),f(40," 2 "),n(),o(41,"span")(42,"h3",25),f(43),m(44,"translate"),n(),o(45,"p",26),f(46),m(47,"translate"),n()()()(),o(48,"div"),R(49,n56,95,49)(50,m56,26,16),n()()()(),R(51,_56,1,1,"error-message",27)),2&a&&(s(8),V(" ",_(9,13,"CREATE_CATEGORIES._back")," "),s(7),H(_(16,15,"CREATE_CATEGORIES._create")),s(4),H(_(20,17,"CREATE_CATEGORIES._new")),s(6),H(_(26,19,"CREATE_CATEGORIES._steps")),s(2),k("disabled",!t.generalDone),s(5),H(_(33,21,"CREATE_CATEGORIES._general")),s(3),H(_(36,23,"CREATE_CATEGORIES._general_info")),s(3),k("disabled",!0),s(5),H(_(44,25,"CREATE_CATEGORIES._finish")),s(3),H(_(47,27,"CREATE_CATEGORIES._summary")),s(3),S(49,t.showGeneral?49:-1),s(),S(50,t.showSummary?50:-1),s(),S(51,t.showError?51:-1))},dependencies:[k2,I4,H4,S4,O4,X4,f3,G3,_4,Gl,C4,Q4,X1]})}return c})();const g56=(c,r)=>r.id,v56=()=>({position:"relative",left:"200px",top:"-500px"});function H56(c,r){if(1&c){const e=j();o(0,"li",77),C("click",function(){return y(e),b(h(2).setCatStatus("Active"))}),o(1,"span",8),w(),o(2,"svg",78),v(3,"path",79),n(),f(4," Active "),n()()}}function C56(c,r){if(1&c){const e=j();o(0,"li",80),C("click",function(){return y(e),b(h(2).setCatStatus("Active"))}),o(1,"span",8),f(2," Active "),n()()}}function z56(c,r){if(1&c){const e=j();o(0,"li",81),C("click",function(){return y(e),b(h(2).setCatStatus("Launched"))}),o(1,"span",8),w(),o(2,"svg",82),v(3,"path",79),n(),f(4," Launched "),n()()}}function V56(c,r){if(1&c){const e=j();o(0,"li",80),C("click",function(){return y(e),b(h(2).setCatStatus("Launched"))}),o(1,"span",8),f(2," Launched "),n()()}}function M56(c,r){if(1&c){const e=j();o(0,"li",83),C("click",function(){return y(e),b(h(2).setCatStatus("Retired"))}),o(1,"span",8),w(),o(2,"svg",84),v(3,"path",79),n(),f(4," Retired "),n()()}}function L56(c,r){if(1&c){const e=j();o(0,"li",80),C("click",function(){return y(e),b(h(2).setCatStatus("Retired"))}),o(1,"span",8),f(2," Retired "),n()()}}function y56(c,r){if(1&c){const e=j();o(0,"li",85),C("click",function(){return y(e),b(h(2).setCatStatus("Obsolete"))}),o(1,"span",86),w(),o(2,"svg",87),v(3,"path",79),n(),f(4," Obsolete "),n()()}}function b56(c,r){if(1&c){const e=j();o(0,"li",85),C("click",function(){return y(e),b(h(2).setCatStatus("Obsolete"))}),o(1,"span",8),f(2," Obsolete "),n()()}}function x56(c,r){1&c&&v(0,"markdown",68),2&c&&k("data",h(2).description)}function w56(c,r){1&c&&v(0,"textarea",88)}function F56(c,r){if(1&c){const e=j();o(0,"emoji-mart",89),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(2).addEmoji(t))}),n()}2&c&&(Y2(E4(3,v56)),k("darkMode",!1))}function k56(c,r){1&c&&(o(0,"div",90)(1,"div",91),w(),o(2,"svg",92),v(3,"path",93),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_categories")," "))}function S56(c,r){if(1&c&&(o(0,"tr")(1,"td",106),v(2,"categories-recursion",107),n()()),2&c){const e=r.$implicit,a=h(2).$implicit,t=h(4);s(2),k("child",e)("parent",a)("selected",t.selected)("path",a.name)}}function N56(c,r){1&c&&c1(0,S56,3,4,"tr",null,z1),2&c&&a1(h().$implicit.children)}function D56(c,r){if(1&c){const e=j();o(0,"tr",101)(1,"td",102)(2,"b"),f(3),n()(),o(4,"td",103),f(5),m(6,"date"),n(),o(7,"td",104)(8,"input",105),C("click",function(){const t=y(e).$implicit;return b(h(4).addCategory(t))}),n()()(),R(9,N56,2,0)}if(2&c){const e=r.$implicit,a=h(4);s(3),H(e.name),s(2),V(" ",L2(6,4,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," "),s(3),k("checked",a.isCategorySelected(e)),s(),S(9,e.children.length>0?9:-1)}}function T56(c,r){if(1&c&&(o(0,"div",94)(1,"table",95)(2,"thead",96)(3,"tr",97)(4,"th",98),f(5),m(6,"translate"),n(),o(7,"th",99),f(8),m(9,"translate"),n(),o(10,"th",100),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,D56,10,7,null,null,g56),n()()()),2&c){const e=h(3);s(5),V(" ",_(6,3,"CREATE_OFFER._name")," "),s(3),V(" ",_(9,5,"CREATE_OFFER._last_update")," "),s(3),V(" ",_(12,7,"CREATE_OFFER._select")," "),s(3),a1(e.categories)}}function E56(c,r){1&c&&R(0,k56,7,3,"div",90)(1,T56,16,9),2&c&&S(0,0==h(2).categories.length?0:1)}function A56(c,r){if(1&c){const e=j();o(0,"h2",13),f(1),m(2,"translate"),n(),o(3,"form",28)(4,"label",29),f(5),m(6,"translate"),n(),v(7,"input",30),o(8,"label",31),f(9),m(10,"translate"),n(),o(11,"div",32)(12,"ol",33),R(13,H56,5,0,"li",34)(14,C56,3,0)(15,z56,5,0,"li",35)(16,V56,3,0)(17,M56,5,0,"li",36)(18,L56,3,0)(19,y56,5,0,"li",37)(20,b56,3,0),n()(),o(21,"label",29),f(22),m(23,"translate"),n(),o(24,"div",38)(25,"div",39)(26,"div",40)(27,"div",41)(28,"button",42),C("click",function(){return y(e),b(h().addBold())}),w(),o(29,"svg",43),v(30,"path",44),n(),O(),o(31,"span",45),f(32,"Bold"),n()(),o(33,"button",42),C("click",function(){return y(e),b(h().addItalic())}),w(),o(34,"svg",43),v(35,"path",46),n(),O(),o(36,"span",45),f(37,"Italic"),n()(),o(38,"button",42),C("click",function(){return y(e),b(h().addList())}),w(),o(39,"svg",47),v(40,"path",48),n(),O(),o(41,"span",45),f(42,"Add list"),n()(),o(43,"button",49),C("click",function(){return y(e),b(h().addOrderedList())}),w(),o(44,"svg",47),v(45,"path",50),n(),O(),o(46,"span",45),f(47,"Add ordered list"),n()(),o(48,"button",51),C("click",function(){return y(e),b(h().addBlockquote())}),w(),o(49,"svg",52),v(50,"path",53),n(),O(),o(51,"span",45),f(52,"Add blockquote"),n()(),o(53,"button",42),C("click",function(){return y(e),b(h().addTable())}),w(),o(54,"svg",54),v(55,"path",55),n(),O(),o(56,"span",45),f(57,"Add table"),n()(),o(58,"button",51),C("click",function(){return y(e),b(h().addCode())}),w(),o(59,"svg",54),v(60,"path",56),n(),O(),o(61,"span",45),f(62,"Add code"),n()(),o(63,"button",51),C("click",function(){return y(e),b(h().addCodeBlock())}),w(),o(64,"svg",54),v(65,"path",57),n(),O(),o(66,"span",45),f(67,"Add code block"),n()(),o(68,"button",51),C("click",function(){return y(e),b(h().addLink())}),w(),o(69,"svg",54),v(70,"path",58),n(),O(),o(71,"span",45),f(72,"Add link"),n()(),o(73,"button",49),C("click",function(t){y(e);const i=h();return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(74,"svg",59),v(75,"path",60),n(),O(),o(76,"span",45),f(77,"Add emoji"),n()()()(),o(78,"button",61),C("click",function(){y(e);const t=h();return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(79,"svg",47),v(80,"path",62)(81,"path",63),n(),O(),o(82,"span",45),f(83),m(84,"translate"),n()(),o(85,"div",64),f(86),m(87,"translate"),v(88,"div",65),n()(),o(89,"div",66)(90,"label",67),f(91,"Publish post"),n(),R(92,x56,1,1,"markdown",68)(93,w56,1,0)(94,F56,1,4,"emoji-mart",69),n()(),o(95,"label",31),f(96),m(97,"translate"),n(),o(98,"label",70)(99,"input",71),C("change",function(){return y(e),b(h().toggleParent())}),n(),v(100,"div",72),n(),R(101,E56,2,1),n(),o(102,"div",73)(103,"button",74),C("click",function(){y(e);const t=h();return t.showFinish(),b(t.generalDone=!0)}),f(104),m(105,"translate"),w(),o(106,"svg",75),v(107,"path",76),n()()()}if(2&c){let e;const a=h();s(),H(_(2,41,"UPDATE_CATEGORIES._general")),s(2),k("formGroup",a.generalForm),s(2),H(_(6,43,"UPDATE_CATEGORIES._name")),s(2),k("ngClass",1==(null==(e=a.generalForm.get("name"))?null:e.invalid)&&""!=a.generalForm.value.name?"border-red-600":"border-gray-300"),s(2),H(_(10,45,"UPDATE_CATALOG._status")),s(4),S(13,"Active"==a.catStatus?13:14),s(2),S(15,"Launched"==a.catStatus?15:16),s(2),S(17,"Retired"==a.catStatus?17:18),s(2),S(19,"Obsolete"==a.catStatus?19:20),s(3),H(_(23,47,"UPDATE_CATEGORIES._description")),s(6),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(84,49,"CREATE_CATALOG._preview")),s(3),V(" ",_(87,51,"CREATE_CATALOG._show_preview")," "),s(6),S(92,a.showPreview?92:93),s(2),S(94,a.showEmoji?94:-1),s(2),H(_(97,53,"UPDATE_CATEGORIES._choose_parent")),s(3),k("disabled",a.checkDisableParent)("checked",a.parentSelectionCheck),s(2),S(101,a.parentSelectionCheck?101:-1),s(2),k("disabled",!a.generalForm.valid||1==a.parentSelectionCheck&&null==a.selectedCategory)("ngClass",!a.generalForm.valid||1==a.parentSelectionCheck&&null==a.selectedCategory?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(105,55,"UPDATE_CATEGORIES._next")," ")}}function P56(c,r){if(1&c&&(o(0,"span",112),f(1),n()),2&c){const e=h(2);s(),H(null==e.categoryToUpdate?null:e.categoryToUpdate.lifecycleStatus)}}function R56(c,r){if(1&c&&(o(0,"span",115),f(1),n()),2&c){const e=h(2);s(),H(null==e.categoryToUpdate?null:e.categoryToUpdate.lifecycleStatus)}}function B56(c,r){if(1&c&&(o(0,"span",116),f(1),n()),2&c){const e=h(2);s(),H(null==e.categoryToUpdate?null:e.categoryToUpdate.lifecycleStatus)}}function O56(c,r){if(1&c&&(o(0,"span",117),f(1),n()),2&c){const e=h(2);s(),H(null==e.categoryToUpdate?null:e.categoryToUpdate.lifecycleStatus)}}function I56(c,r){if(1&c&&(o(0,"label",31),f(1),m(2,"translate"),n(),o(3,"div",118),v(4,"markdown",119),n()),2&c){const e=h(2);s(),H(_(2,2,"UPDATE_CATEGORIES._description")),s(3),k("data",null==e.categoryToUpdate?null:e.categoryToUpdate.description)}}function U56(c,r){if(1&c&&(o(0,"label",31),f(1),m(2,"translate"),n(),o(3,"div",120)(4,"label",121),f(5),n()()),2&c){const e=h(2);s(),H(_(2,2,"UPDATE_CATEGORIES._parent")),s(4),H(e.selectedCategory.name)}}function j56(c,r){if(1&c){const e=j();o(0,"h2",13),f(1),m(2,"translate"),n(),o(3,"div",108)(4,"div")(5,"label",31),f(6),m(7,"translate"),n(),o(8,"label",109),f(9),n()(),o(10,"div",110)(11,"label",111),f(12),m(13,"translate"),n(),R(14,P56,2,1,"span",112)(15,R56,2,1)(16,B56,2,1)(17,O56,2,1),n(),R(18,I56,5,4)(19,U56,6,4),o(20,"div",113)(21,"button",114),C("click",function(){return y(e),b(h().updateCategory())}),f(22),m(23,"translate"),w(),o(24,"svg",75),v(25,"path",76),n()()()()}if(2&c){const e=h();s(),H(_(2,8,"UPDATE_CATEGORIES._finish")),s(5),H(_(7,10,"UPDATE_CATEGORIES._name")),s(3),V(" ",null==e.categoryToUpdate?null:e.categoryToUpdate.name," "),s(3),H(_(13,12,"UPDATE_CATEGORIES._status")),s(2),S(14,"Active"==(null==e.categoryToUpdate?null:e.categoryToUpdate.lifecycleStatus)?14:"Launched"==(null==e.categoryToUpdate?null:e.categoryToUpdate.lifecycleStatus)?15:"Retired"==(null==e.categoryToUpdate?null:e.categoryToUpdate.lifecycleStatus)?16:"Obsolete"==(null==e.categoryToUpdate?null:e.categoryToUpdate.lifecycleStatus)?17:-1),s(4),S(18,""!=(null==e.categoryToUpdate?null:e.categoryToUpdate.description)?18:-1),s(),S(19,0==e.isParent?19:-1),s(3),V(" ",_(23,14,"UPDATE_CATEGORIES._update")," ")}}function $56(c,r){1&c&&v(0,"error-message",27),2&c&&k("message",h().errorMessage)}let Y56=(()=>{class c{constructor(e,a,t,i,l,d){this.router=e,this.cdr=a,this.localStorage=t,this.eventMessage=i,this.elementRef=l,this.api=d,this.partyId="",this.categories=[],this.unformattedCategories=[],this.stepsElements=["general-info","summary"],this.stepsCircles=["general-circle","summary-circle"],this.showPreview=!1,this.showEmoji=!1,this.description="",this.showGeneral=!0,this.showSummary=!1,this.generalDone=!1,this.generalForm=new S2({name:new u1("",[O1.required]),description:new u1("")}),this.isParent=!0,this.parentSelectionCheck=!1,this.checkDisableParent=!1,this.selectedCategory=void 0,this.loading=!1,this.catStatus="Active",this.errorMessage="",this.showError=!1,this.eventMessage.messages$.subscribe(u=>{"ChangedSession"===u.type&&this.initPartyInfo(),"CategoryAdded"===u.type&&this.addCategory(u.value)})}onClick(){1==this.showEmoji&&(this.showEmoji=!1,this.cdr.detectChanges())}ngOnInit(){this.initPartyInfo()}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0)if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}this.getCategories(),this.populateCatInfo()}populateCatInfo(){this.generalForm.controls.name.setValue(this.category.name),this.generalForm.controls.description.setValue(this.category.description),this.catStatus=this.category.lifecycleStatus,0==this.category.isRoot?(this.isParent=!1,this.parentSelectionCheck=!0,this.checkDisableParent=!0):(this.isParent=!0,this.parentSelectionCheck=!1)}goBack(){this.eventMessage.emitAdminCategories(!0)}getCategories(){console.log("Getting categories..."),this.api.getLaunchedCategories().then(e=>{for(let a=0;at.id===this.category.parentId);-1!==a&&(this.selectedCategory=this.categories[a],this.selected=[],this.selected.push(this.selectedCategory))}this.cdr.detectChanges(),S1()})}findChildren(e,a){let t=a.filter(i=>i.parentId===e.id);if(e.children=t,1==e.isRoot?this.categories.push(e):this.saveChildren(this.categories,e),0!=t.length)for(let i=0;i{if(a=t,e.children=a,1==e.isRoot?this.categories.push(e):this.saveChildren(this.categories,e),0!=a.length)for(let i=0;id.id==a.id)){let d=i.findIndex(u=>u.id==a.id);i[d]=a,e[t].children=i}this.saveChildren(i,a)}}}toggleGeneral(){this.selectStep("general-info","general-circle"),this.showGeneral=!0,this.showSummary=!1,this.showPreview=!1}toggleParent(){this.isParent=!this.isParent,this.parentSelectionCheck=!this.parentSelectionCheck,this.cdr.detectChanges()}addCategory(e){null==this.selectedCategory?(this.selectedCategory=e,this.selected=[],this.selected.push(e)):-1!==this.selected.findIndex(t=>t.id===e.id)?(this.selected=[],this.selectedCategory=void 0):(this.selectedCategory=e,this.selected=[],this.selected.push(e)),this.cdr.detectChanges()}isCategorySelected(e){return null!=this.selectedCategory&&e.id==this.selectedCategory.id}showFinish(){null!=this.generalForm.value.name&&(this.categoryToUpdate={name:this.generalForm.value.name,description:null!=this.generalForm.value.description?this.generalForm.value.description:"",lifecycleStatus:this.catStatus,isRoot:this.isParent},0==this.isParent&&(this.categoryToUpdate.parentId=this.selectedCategory.id),console.log(this.isParent),console.log("CATEGORY TO UPDATE:"),console.log(this.categoryToUpdate),this.showGeneral=!1,this.showSummary=!0,this.selectStep("summary","summary-circle")),this.showPreview=!1}updateCategory(){this.api.updateCategory(this.categoryToUpdate,this.category.id).subscribe({next:e=>{this.goBack()},error:e=>{console.error("There was an error while updating!",e),e.error.error?(console.log(e),this.errorMessage="Error: "+e.error.error):this.errorMessage="There was an error while creating the category!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}setCatStatus(e){this.catStatus=e,this.cdr.detectChanges()}removeClass(e,a){e.className=(" "+e.className+" ").replace(" "+a+" "," ").replace(/^\s+|\s+$/g,"")}addClass(e,a){e.className+=" "+a}unselectMenu(e,a){null!=e&&(e.className.match(a)?this.removeClass(e,a):console.log("already unselected"))}selectMenu(e,a){null!=e&&(e.className.match(a)?console.log("already selected"):this.addClass(e,a))}selectStep(e,a){const t=this.stepsElements.findIndex(l=>l===e);if(-1!==t){this.stepsElements.splice(t,1),this.selectMenu(document.getElementById(e),"text-primary-100 dark:text-primary-50"),this.unselectMenu(document.getElementById(e),"text-gray-500");for(let l=0;ll===a);if(-1!==t){this.stepsCircles.splice(i,1),this.selectMenu(document.getElementById(a),"border-primary-100 dark:border-primary-50"),this.unselectMenu(document.getElementById(a),"border-gray-400");for(let l=0;l blockquote"})}addLink(){this.generalForm.patchValue({description:this.generalForm.value.description+" [title](https://www.example.com) "})}addTable(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"})}addEmoji(e){console.log(e),this.showEmoji=!1,this.generalForm.patchValue({description:this.generalForm.value.description+e.emoji.native})}togglePreview(){this.generalForm.value.description&&(this.description=this.generalForm.value.description)}static#e=this.\u0275fac=function(a){return new(a||c)(B(Q1),B(B1),B(A1),B(e2),B(C2),B(p1))};static#c=this.\u0275cmp=V1({type:c,selectors:[["update-category"]],hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},inputs:{category:"category"},decls:52,vars:27,consts:[[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-gray-200","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800","dark:text-white"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","mt-4","p-8","rounded-lg"],[1,"text-3xl","font-bold","text-primary-100","ml-4","dark:text-white"],[1,"h-px","m-4","bg-gray-300","dark:bg-gray-200","border-0"],[1,"md:grid","md:grid-cols-20/80"],[1,"flex","sm:flex-row","md:flex-col","md:mr-4","w-full","md:w-fit","overflow-x-auto"],[1,"hidden","md:block","text-xl","font-bold","text-black","mb-4","dark:text-white"],["id","general-info",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-40/60","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-primary-100","dark:text-primary-50","justify-items-center","md:justify-items-start",3,"click"],["id","general-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-primary-100","dark:border-primary-50","rounded-full","shrink-0"],[1,"flex","sm:text-center","md:text-start"],[1,"hidden","xl:flex","text-xs","sm:text-center","md:text-start"],[1,"h-px","mb-2","bg-gray-300","dark:bg-gray-200","border-0"],["id","summary",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-40/60","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","summary-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],[1,"flex","leading-tight","justify-start"],[1,"hidden","xl:flex","text-xs","justify-start","text-start"],[1,"fixed","w-fit","top-1/2","left-1/2",3,"message"],[1,"m-4","gap-4",3,"formGroup"],["for","prod-name",1,"font-bold","text-lg","dark:text-white"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],[1,"font-bold","text-lg","dark:text-white"],[1,"mb-2"],[1,"flex","items-center","w-full","text-sm","font-medium","text-center","text-gray-500","dark:text-gray-200","sm:text-base"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-blue-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-green-700","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-yellow-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","items-center"],[1,"w-full","col-span-2","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200"],[1,"flex","items-center","justify-between","px-3","py-2","border-b"],[1,"flex","flex-wrap","items-center","divide-gray-200","dark:divide-secondary-200","sm:divide-x","sm:rtl:divide-x-reverse"],[1,"flex","items-center","space-x-1","rtl:space-x-reverse","sm:pe-4","text-gray-500","dark:text-gray-200"],["type","button",1,"p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 5h4.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0-7H6m2 7h6.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0 0H6"],[1,"sr-only"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8.874 19 6.143-14M6 19h6.33m-.66-14H18"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M9 8h10M9 12h10M9 16h10M4.99 8H5m-.02 4h.01m0 4H5"],["type","button",1,"hidden","lg:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4"],["type","button",1,"hidden","md:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["fill-rule","evenodd","d","M5 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm0 12a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm1.65-9.76A1 1 0 0 0 5 9v6a1 1 0 0 0 1.65.76l3.5-3a1 1 0 0 0 0-1.52l-3.5-3ZM12 10a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Zm0 4a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Z","clip-rule","evenodd"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-width","2","d","M3 11h18m-9 0v8m-8 0h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 3v4a1 1 0 0 1-1 1H5m5 4-2 2 2 2m4-4 2 2-2 2m5-12v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M13.213 9.787a3.391 3.391 0 0 0-4.795 0l-3.425 3.426a3.39 3.39 0 0 0 4.795 4.794l.321-.304m-.321-4.49a3.39 3.39 0 0 0 4.795 0l3.424-3.426a3.39 3.39 0 0 0-4.794-4.795l-1.028.961"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-4","h-4"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM13.5 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm-7 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm3.5 9.5A5.5 5.5 0 0 1 4.6 11h10.81A5.5 5.5 0 0 1 10 15.5Z"],["type","button","data-tooltip-target","tooltip-fullscreen",1,"rounded","cursor-pointer","text-gray-500","dark:text-gray-200","p-2","sm:ms-auto","hover:text-gray-900","dark:hover:text-gray-900","hover:bg-gray-100",3,"click"],["stroke","currentColor","stroke-width","2","d","M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z"],["stroke","currentColor","stroke-width","2","d","M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"],["id","tooltip-fullscreen","role","tooltip",1,"absolute","z-10","invisible","inline-block","px-3","py-2","text-sm","font-medium","text-white","transition-opacity","duration-300","bg-gray-900","rounded-lg","shadow-sm","opacity-0","tooltip"],["data-popper-arrow","",1,"tooltip-arrow"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","rounded-b-lg"],["for","editor",1,"sr-only"],[1,"bg-gray-50","text-wrap","break-all","dark:bg-secondary-300","dark:text-white","text-gray-900",3,"data"],[3,"darkMode","style"],[1,"inline-flex","items-center","me-5","cursor-pointer","ml-4"],["type","checkbox",1,"sr-only","peer",3,"change","disabled","checked"],[1,"relative","w-11","h-6","bg-gray-400","dark:bg-gray-700","rounded-full","peer","peer-focus:ring-4","peer-focus:ring-primary-100","peer-checked:after:translate-x-full","rtl:peer-checked:after:-translate-x-full","peer-checked:after:border-white","after:content-['']","after:absolute","after:top-0.5","after:start-[2px]","after:bg-white","after:border-gray-300","after:border","after:rounded-full","after:h-5","after:w-5","after:transition-all","peer-checked:bg-primary-100"],[1,"flex","w-full","justify-items-end","justify-end"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-blue-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-blue-500"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M8.737 8.737a21.49 21.49 0 0 1 3.308-2.724m0 0c3.063-2.026 5.99-2.641 7.331-1.3 1.827 1.828.026 6.591-4.023 10.64-4.049 4.049-8.812 5.85-10.64 4.023-1.33-1.33-.736-4.218 1.249-7.253m6.083-6.11c-3.063-2.026-5.99-2.641-7.331-1.3-1.827 1.828-.026 6.591 4.023 10.64m3.308-9.34a21.497 21.497 0 0 1 3.308 2.724m2.775 3.386c1.985 3.035 2.579 5.923 1.248 7.253-1.336 1.337-4.245.732-7.295-1.275M14 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-green-700","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-green-700"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-yellow-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-yellow-500"],[1,"cursor-pointer","flex","items-center",3,"click"],[1,"flex","items-center","text-red-800"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-red-800"],["id","editor","formControlName","description","rows","8","placeholder","Add product description...",1,"block","w-full","px-0","text-sm","text-gray-800","dark:text-gray-200","bg-white","dark:bg-secondary-300","border-0"],[3,"click","emojiClick","darkMode"],[1,"flex","justify-center","w-full","m-4"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","mt-4"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],[1,"flex","w-full","justify-between"],["scope","col",1,"flex","px-6","py-3","w-3/5"],["scope","col",1,"hidden","md:flex","px-6","py-3","w-fit"],["scope","col",1,"flex","px-6","py-3","w-fit"],[1,"flex","border-b","dark:border-gray-700","hover:bg-gray-200","w-full","justify-between","dark:bg-secondary-300","dark:hover:bg-secondary-200"],[1,"flex","px-6","py-4","w-3/5","text-wrap","break-all"],[1,"hidden","md:flex","px-6","py-4","w-fit"],[1,"flex","px-6","py-4","w-fit","justify-end"],["id","select-checkbox","type","checkbox","value","",1,"flex","w-4","h-4","justify-end","text-blue-600","bg-gray-100","border-gray-300","rounded","focus:ring-blue-500","dark:focus:ring-blue-600","dark:ring-offset-gray-800","focus:ring-2","dark:bg-gray-700","dark:border-gray-600",3,"click","checked"],["colspan","3"],[1,"w-full",3,"child","parent","selected","path"],[1,"m-8"],[1,"mb-2","bg-gray-50","text-wrap","break-all","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"mb-4"],[1,"font-bold","text-lg","mr-4","dark:text-white"],[1,"bg-blue-100","dark:bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"flex","w-full","justify-items-end","justify-end","ml-4"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],[1,"bg-blue-100","dark:bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","border","dark:border-secondary-200","rounded-lg","p-4","mb-4"],[1,"bg-gray-50","text-wrap","break-all","dark:bg-secondary-100","dark:text-white","text-gray-900",3,"data"],[1,"px-4","py-2","bg-white","border","dark:bg-secondary-300","dark:border-secondary-200","rounded-lg","p-4","mb-4"],[1,"text-base","dark:text-white","text-wrap","break-all"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",0)(2,"nav",1)(3,"ol",2)(4,"li",3)(5,"button",4),C("click",function(){return t.goBack()}),w(),o(6,"svg",5),v(7,"path",6),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",7)(11,"div",8),w(),o(12,"svg",9),v(13,"path",10),n(),O(),o(14,"span",11),f(15),m(16,"translate"),n()()()()()(),o(17,"div",12)(18,"h2",13),f(19),m(20,"translate"),n(),v(21,"hr",14),o(22,"div",15)(23,"div",16)(24,"h2",17),f(25),m(26,"translate"),n(),o(27,"button",18),C("click",function(){return t.toggleGeneral()}),o(28,"span",19),f(29," 1 "),n(),o(30,"span")(31,"h3",20),f(32),m(33,"translate"),n(),o(34,"p",21),f(35),m(36,"translate"),n()()(),v(37,"hr",22),o(38,"button",23),C("click",function(){return t.showFinish()}),o(39,"span",24),f(40," 2 "),n(),o(41,"span")(42,"h3",25),f(43),m(44,"translate"),n(),o(45,"p",26),f(46),m(47,"translate"),n()()()(),o(48,"div"),R(49,A56,108,57)(50,j56,26,16),n()()()(),R(51,$56,1,1,"error-message",27)),2&a&&(s(8),V(" ",_(9,11,"UPDATE_CATEGORIES._back")," "),s(7),H(_(16,13,"UPDATE_CATEGORIES._update")),s(4),H(_(20,15,"UPDATE_CATEGORIES._update")),s(6),H(_(26,17,"UPDATE_CATEGORIES._steps")),s(7),H(_(33,19,"UPDATE_CATEGORIES._general")),s(3),H(_(36,21,"UPDATE_CATEGORIES._general_info")),s(8),H(_(44,23,"UPDATE_CATEGORIES._finish")),s(3),H(_(47,25,"UPDATE_CATEGORIES._summary")),s(3),S(49,t.showGeneral?49:-1),s(),S(50,t.showSummary?50:-1),s(),S(51,t.showError?51:-1))},dependencies:[k2,I4,H4,S4,O4,X4,f3,G3,_4,Gl,C4,Q4,X1]})}return c})();function G56(c,r){1&c&&v(0,"error-message",25),2&c&&k("message",h().errorMessage)}let q56=(()=>{class c{constructor(e,a){this.eventMessage=e,this.http=a,this.showError=!1,this.errorMessage="",this.verificationForm=new S2({productId:new u1("",[O1.required]),vc:new u1("",[O1.required])})}goBack(){this.eventMessage.emitAdminCategories(!0)}verifyCredential(){return this.http.patch(`${m1.BASE_URL}/admin/uploadcertificate/${this.verificationForm.value.productId}`,{vc:this.verificationForm.value.vc}).subscribe({next:t=>{this.goBack()},error:t=>{console.error("There was an error while updating!",t),t.error.error?(console.log(t),this.errorMessage="Error: "+t.error.error):this.errorMessage="There was an error while uploading the product!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}static#e=this.\u0275fac=function(a){return new(a||c)(B(e2),B(V3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["verification"]],decls:40,vars:21,consts:[[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-gray-200","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800","dark:text-white"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","mt-4","p-8","rounded-lg"],[1,"text-3xl","font-bold","text-primary-100","ml-4","dark:text-white"],[1,"h-px","m-4","bg-gray-300","dark:bg-gray-200","border-0"],[1,"md:grid"],[1,"m-4","gap-4",3,"formGroup"],["for","verif-id",1,"font-bold","text-lg","dark:text-white"],["formControlName","productId","type","text","id","verif-id",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["for","vc",1,"font-bold","text-lg","dark:text-white"],["formControlName","vc","rows","8","placeholder","Add credential...",1,"block","w-full","px-0","text-sm","text-gray-800","dark:text-gray-200","bg-white","dark:bg-secondary-300","border-0"],[1,"flex","w-full","justify-items-end","justify-end","ml-4"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],[1,"fixed","w-fit","top-1/2","left-1/2",3,"message"]],template:function(a,t){if(1&a&&(o(0,"div")(1,"div",0)(2,"nav",1)(3,"ol",2)(4,"li",3)(5,"button",4),C("click",function(){return t.goBack()}),w(),o(6,"svg",5),v(7,"path",6),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",7)(11,"div",8),w(),o(12,"svg",9),v(13,"path",10),n(),O(),o(14,"span",11),f(15),m(16,"translate"),n()()()()()(),o(17,"div",12)(18,"h2",13),f(19),m(20,"translate"),n(),v(21,"hr",14),o(22,"div",15)(23,"div")(24,"form",16)(25,"label",17),f(26),m(27,"translate"),n(),v(28,"input",18),o(29,"label",19),f(30),m(31,"translate"),n(),v(32,"textarea",20),n(),o(33,"div",21)(34,"button",22),C("click",function(){return t.verifyCredential()}),f(35),m(36,"translate"),w(),o(37,"svg",23),v(38,"path",24),n()()()()()()(),R(39,G56,1,1,"error-message",25)),2&a){let i;s(8),V(" ",_(9,9,"CREATE_CATEGORIES._back")," "),s(7),H(_(16,11,"ADMIN._verification")),s(4),H(_(20,13,"ADMIN._verification")),s(5),k("formGroup",t.verificationForm),s(2),H(_(27,15,"ADMIN._productId")),s(2),k("ngClass",1==(null==(i=t.verificationForm.get("productId"))?null:i.invalid)&&""!=t.verificationForm.value.productId?"border-red-600":"border-gray-300"),s(2),H(_(31,17,"ADMIN._vc")),s(5),V(" ",_(36,19,"ADMIN._add")," "),s(4),S(39,t.showError?39:-1)}},dependencies:[k2,I4,H4,S4,O4,X4,f3,C4,X1]})}return c})();function W56(c,r){1&c&&v(0,"admin-categories")}function Z56(c,r){1&c&&v(0,"create-category")}function K56(c,r){1&c&&v(0,"update-category",17),2&c&&k("category",h().category_to_update)}function Q56(c,r){1&c&&v(0,"verification")}let J56=(()=>{class c{constructor(e,a,t){this.localStorage=e,this.cdr=a,this.eventMessage=t,this.show_categories=!0,this.show_create_categories=!1,this.show_update_categories=!1,this.show_verification=!1,this.eventMessage.messages$.subscribe(i=>{"AdminCategories"===i.type&&1==i.value&&this.goToCategories(),"CreateCategory"===i.type&&1==i.value&&this.goToCreateCategories(),"UpdateCategory"===i.type&&(this.category_to_update=i.value,this.goToUpdateCategories())})}ngOnInit(){console.log("init")}goToCategories(){this.selectCategories(),this.show_categories=!0,this.show_create_categories=!1,this.show_update_categories=!1,this.show_verification=!1,this.cdr.detectChanges()}goToCreateCategories(){this.show_categories=!1,this.show_create_categories=!0,this.show_update_categories=!1,this.show_verification=!1,this.cdr.detectChanges()}goToUpdateCategories(){this.show_categories=!1,this.show_create_categories=!1,this.show_update_categories=!0,this.show_verification=!1,this.cdr.detectChanges()}goToVerification(){this.selectVerification(),this.show_categories=!1,this.show_create_categories=!1,this.show_update_categories=!1,this.show_verification=!0,this.cdr.detectChanges()}selectCategories(){let e=document.getElementById("categories-button"),a=document.getElementById("verify-button");this.selectMenu(e,"text-white bg-primary-100"),this.unselectMenu(a,"text-white bg-primary-100")}selectVerification(){let e=document.getElementById("categories-button"),a=document.getElementById("verify-button");this.selectMenu(a,"text-white bg-primary-100"),this.unselectMenu(e,"text-white bg-primary-100")}removeClass(e,a){e.className=(" "+e.className+" ").replace(" "+a+" "," ").replace(/^\s+|\s+$/g,"")}addClass(e,a){e.className+=" "+a}unselectMenu(e,a){null!=e&&(e.className.match(a)?this.removeClass(e,a):console.log("already unselected"))}selectMenu(e,a){null!=e&&(e.className.match(a)?console.log("already selected"):this.addClass(e,a))}static#e=this.\u0275fac=function(a){return new(a||c)(B(A1),B(B1),B(e2))};static#c=this.\u0275cmp=V1({type:c,selectors:[["app-admin"]],decls:37,vars:19,consts:[[1,"container","mx-auto","pt-2","pb-8"],[1,"hidden","lg:block","mb-8","mt-4","text-4xl","font-extrabold","leading-none","tracking-tight","text-gray-900","md:text-4xl","lg:text-5xl","dark:text-white","w-full"],[1,"underline","underline-offset-3","decoration-8","decoration-primary-100","dark:decoration-primary-100"],[1,"flex","flex-cols","mr-2","ml-2","lg:hidden"],[1,"mb-8","mt-4","text-4xl","font-extrabold","leading-none","tracking-tight","text-gray-900","lg:text-4xl","lg:text-5xl","dark:text-white","w-full"],[1,"flex","align-middle","content-center","items-center"],["id","dropdown-nav","data-dropdown-toggle","dropdown-nav-content","type","button",1,"text-black","dark:text-white","h-fit","w-fit","justify-between","shadow","bg-white","dark:bg-secondary-200","hover:bg-gray-100","dark:hover:bg-secondary-300","focus:ring-4","focus:outline-none","focus:ring-primary-100","font-medium","rounded-lg","text-sm","p-2.5","text-center","inline-flex","items-center","shadow-lg"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 17 14",1,"w-4","h-4","mr-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 1h15M1 7h15M1 13h15"],["id","dropdown-nav-content",1,"z-10","hidden","bg-white","divide-y","divide-gray-100","rounded-lg","shadow","w-44","dark:bg-gray-700"],["aria-labelledby","dropdown-nav",1,"py-2","text-sm","text-gray-700","dark:text-gray-200"],[1,"cursor-pointer","block","px-4","py-2","hover:bg-gray-100","dark:hover:bg-gray-600","dark:hover:text-white",3,"click"],[1,"w-full","grid","lg:grid-cols-20/80"],[1,"hidden","lg:block"],[1,"w-48","h-fit","text-sm","font-medium","text-gray-900","bg-white","border","border-gray-200","rounded-lg","dark:bg-gray-700","dark:border-gray-600","dark:text-white","mb-8"],["id","categories-button","aria-current","true",1,"block","w-full","px-4","py-2","text-white","bg-primary-100","border-b","border-gray-200","rounded-t-lg","cursor-pointer","dark:border-gray-600","hover:bg-gray-100","hover:text-blue-700","dark:border-gray-600","dark:hover:bg-gray-600","dark:hover:text-white","dark:focus:ring-gray-500","dark:focus:text-white",3,"click"],["id","verify-button",1,"block","w-full","px-4","py-2","border-gray-200","cursor-pointer","hover:bg-gray-100","hover:text-blue-700","dark:border-gray-600","dark:hover:bg-gray-600","dark:hover:text-white","dark:focus:ring-gray-500","dark:focus:text-white",3,"click"],[3,"category"]],template:function(a,t){1&a&&(o(0,"div",0)(1,"h1",1)(2,"span",2),f(3),m(4,"translate"),n()(),o(5,"div",3)(6,"h1",4)(7,"span",2),f(8,"My offerings"),n()(),o(9,"div",5)(10,"button",6),w(),o(11,"svg",7),v(12,"path",8),n(),f(13," Administration "),n()()(),O(),o(14,"div",9)(15,"ul",10)(16,"li")(17,"a",11),C("click",function(){return t.goToCategories()}),f(18),m(19,"translate"),n()(),o(20,"li")(21,"a",11),C("click",function(){return t.goToVerification()}),f(22),m(23,"translate"),n()()()(),o(24,"div",12)(25,"div",13)(26,"div",14)(27,"button",15),C("click",function(){return t.goToCategories()}),f(28),m(29,"translate"),n(),o(30,"button",16),C("click",function(){return t.goToVerification()}),f(31),m(32,"translate"),n()()(),R(33,W56,1,0,"admin-categories")(34,Z56,1,0,"create-category")(35,K56,1,1,"update-category",17)(36,Q56,1,0,"verification"),n()()),2&a&&(s(3),H(_(4,9,"ADMIN._admin")),s(15),H(_(19,11,"ADMIN._categories")),s(4),H(_(23,13,"ADMIN._verification")),s(6),V(" ",_(29,15,"ADMIN._categories")," "),s(3),V(" ",_(32,17,"ADMIN._verification")," "),s(2),S(33,t.show_categories?33:-1),s(),S(34,t.show_create_categories?34:-1),s(),S(35,t.show_update_categories?35:-1),s(),S(36,t.show_verification?36:-1))},dependencies:[Z86,p56,Y56,q56,X1]})}return c})(),nz=(()=>{class c{constructor(e,a){this.localStorage=e,this.router=a}canActivate(e,a){let t=this.localStorage.getObject("login_items");const i=e.data.roles;let l=[];if(!("{}"!=JSON.stringify(t)&&t.expire-s2().unix()-4>0))return this.router.navigate(["/dashboard"]),!1;if(t.logged_as==t.id){l.push("individual");for(let u=0;up.id==t.logged_as);for(let p=0;pl.includes(u))||(this.router.navigate(["/dashboard"]),!1)}static#e=this.\u0275fac=function(a){return new(a||c)(f1(A1),f1(Q1))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function X56(c,r){if(1&c&&(o(0,"a",38),f(1),n()),2&c){const e=h().$implicit;on("href","mailto: ",e.characteristic.emailAddress,"",h2),s(),V(" ",e.characteristic.emailAddress," ")}}function ec6(c,r){if(1&c&&f(0),2&c){const e=h().$implicit;r5(" ",e.characteristic.street1,", ",e.characteristic.postCode," (",e.characteristic.city,") ",e.characteristic.stateOrProvince," ")}}function cc6(c,r){1&c&&f(0),2&c&&V(" ",h().$implicit.characteristic.phoneNumber," ")}function ac6(c,r){if(1&c&&(o(0,"tr",34)(1,"td",36),f(2),n(),o(3,"td",37),R(4,X56,2,3,"a",38)(5,ec6,1,4)(6,cc6,1,1),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.mediumType," "),s(2),S(4,"Email"==e.mediumType?4:"PostalAddress"==e.mediumType?5:6)}}function rc6(c,r){1&c&&(o(0,"div",35)(1,"div",39),w(),o(2,"svg",40),v(3,"path",41),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"PROFILE._no_mediums")," "))}const tc6=[{path:"",redirectTo:"/dashboard",pathMatch:"full"},{path:"dashboard",component:tE3},{path:"search",component:zP3},{path:"search/:id",component:PR3},{path:"org-details/:id",component:(()=>{class c{constructor(e,a,t,i,l,d,u,p){this.cdr=e,this.route=a,this.router=t,this.elementRef=i,this.localStorage=l,this.eventMessage=d,this.accService=u,this.location=p,this.logo=void 0,this.description="https://placehold.co/600x400/svg"}ngOnInit(){this.id=this.route.snapshot.paramMap.get("id"),console.log("--- Details ID:"),console.log(this.id),this.accService.getOrgInfo(this.id).then(e=>{this.orgInfo=e,console.log(this.orgInfo);for(let a=0;a{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275mod=M4({type:c});static#a=this.\u0275inj=g4({imports:[cN.forRoot(tc6),cN]})}return c})();class oc6{http;prefix;suffix;constructor(r,e="/assets/i18n/",a=".json"){this.http=r,this.prefix=e,this.suffix=a}getTranslation(r){return this.http.get(`${this.prefix}${r}${this.suffix}`)}}let nc6=(()=>{class c{constructor(e){this.localStorage=e}intercept(e,a){let t=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(t)&&t.expire-s2().unix()-4>0){if(t.logged_as!=t.id){const i=e.clone({setHeaders:{Authorization:"Bearer "+t.token,"X-Organization":t.logged_as}});return a.handle(i)}{const i=e.clone({setHeaders:{Authorization:"Bearer "+t.token}});return a.handle(i)}}return console.log("not logged"),a.handle(e)}static#e=this.\u0275fac=function(a){return new(a||c)(f1(A1))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();function sz(c,r){const e=r?function sc6(c){return"string"==typeof c?()=>{throw new Error(c)}:c}(r):()=>{};let a=!1;return(...t)=>a?e(...t):(a=!0,c(...t))}function um1(c){return c.endsWith("/")?c:`${c}/`}const lc6=(c,r)=>{const e=r.createElement("script");return e.type="text/javascript",e.defer=!0,e.async=!0,e.src=c,e},hm1=new H1("MATOMO_SCRIPT_FACTORY",{providedIn:"root",factory:()=>lc6});function w8(c,r){if(null==c)throw new Error("Unexpected "+c+" value: "+r);return c}let fc6=(()=>{class c{constructor(){this.scriptFactory=i1(hm1),this.injector=i1(u7),this.document=i1(O3)}injectDOMScript(e){const a=D3(this.injector,()=>this.scriptFactory(e,this.document)),t=w8(this.document.getElementsByTagName("script")[0],"no existing script found");w8(t.parentNode,"no script's parent node found").insertBefore(a,t)}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const fz=new H1("MATOMO_ROUTER_ENABLED",{factory:()=>!1}),dz=new H1("MATOMO_CONFIGURATION"),Ia=new H1("INTERNAL_MATOMO_CONFIGURATION",{factory:()=>({disabled:!1,enableLinkTracking:!0,trackAppInitialLoad:!i1(fz),requireConsent:Zl.NONE,enableJSErrorTracking:!1,runOutsideAngularZone:!1,disableCampaignParameters:!1,acceptDoNotTrack:!1,...w8(i1(dz,{optional:!0}),"No Matomo configuration found! Have you included Matomo module using MatomoModule.forRoot() or provideMatomo()?")})}),mm1=new H1("DEFERRED_INTERNAL_MATOMO_CONFIGURATION",{factory:()=>{const c=i1(Ia);let r;return{configuration:new Promise(a=>r=a),markReady(a){w8(r,"resolveFn")({...c,...a})}}}});new H1("ASYNC_INTERNAL_MATOMO_CONFIGURATION",{factory:()=>i1(mm1).configuration});var uz=function(c){return c[c.AUTO=0]="AUTO",c[c.MANUAL=1]="MANUAL",c[c.AUTO_DEFERRED=2]="AUTO_DEFERRED",c}(uz||{}),Zl=function(c){return c[c.NONE=0]="NONE",c[c.COOKIE=1]="COOKIE",c[c.TRACKING=2]="TRACKING",c}(Zl||{});function pm1(c){return null!=c.siteId&&null!=c.trackerUrl}function vm1(c){return Array.isArray(c.trackers)}function Cm1(){window._paq=window._paq||[]}function zm1(c){const r=[...c];for(;r.length>0&&void 0===r[r.length-1];)r.pop();return r}let Vm1=(()=>{class c{constructor(){this.ngZone=i1(z2),this.config=i1(Ia),Cm1()}get(e){return this.pushFn(a=>a[e]())}pushFn(e){return new Promise(a=>{this.push([function(){a(e(this))}])})}push(e){this.config.runOutsideAngularZone?this.ngZone.runOutsideAngular(()=>{window._paq.push(zm1(e))}):window._paq.push(zm1(e))}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:()=>function mc6(){const c=i1(Ia).disabled,r=t6(i1(m6));return c||!r?new _c6:new Vm1}(),providedIn:"root"})}return c})();class _c6{get(r){return M(function*(){return Promise.reject("MatomoTracker is disabled")})()}push(r){}pushFn(r){return M(function*(){return Promise.reject("MatomoTracker is disabled")})()}}let Kl=(()=>{class c{constructor(){this.delegate=i1(Vm1),this._pageViewTracked=new G2,this.pageViewTracked=this._pageViewTracked.asObservable(),i1(W8).onDestroy(()=>this._pageViewTracked.complete())}trackPageView(e){this.delegate.push(["trackPageView",e]),this._pageViewTracked.next()}trackEvent(e,a,t,i){this.delegate.push(["trackEvent",e,a,t,i])}trackSiteSearch(e,a,t){this.delegate.push(["trackSiteSearch",e,a,t])}trackGoal(e,a){this.delegate.push(["trackGoal",e,a])}trackLink(e,a){this.delegate.push(["trackLink",e,a])}trackAllContentImpressions(){this.delegate.push(["trackAllContentImpressions"])}trackVisibleContentImpressions(e,a){this.delegate.push(["trackVisibleContentImpressions",e,a])}trackContentImpressionsWithinNode(e){this.delegate.push(["trackContentImpressionsWithinNode",e])}trackContentInteractionNode(e,a){this.delegate.push(["trackContentInteractionNode",e,a])}trackContentImpression(e,a,t){this.delegate.push(["trackContentImpression",e,a,t])}trackContentInteraction(e,a,t,i){this.delegate.push(["trackContentInteraction",e,a,t,i])}logAllContentBlocksOnPage(){this.delegate.push(["logAllContentBlocksOnPage"])}ping(){this.delegate.push(["ping"])}enableHeartBeatTimer(e){this.delegate.push(["enableHeartBeatTimer",e])}enableLinkTracking(e=!1){this.delegate.push(["enableLinkTracking",e])}disablePerformanceTracking(){this.delegate.push(["disablePerformanceTracking"])}enableCrossDomainLinking(){this.delegate.push(["enableCrossDomainLinking"])}setCrossDomainLinkingTimeout(e){this.delegate.push(["setCrossDomainLinkingTimeout",e])}getCrossDomainLinkingUrlParameter(){return this.delegate.get("getCrossDomainLinkingUrlParameter")}setDocumentTitle(e){this.delegate.push(["setDocumentTitle",e])}setDomains(e){this.delegate.push(["setDomains",e])}setCustomUrl(e){this.delegate.push(["setCustomUrl",e])}setReferrerUrl(e){this.delegate.push(["setReferrerUrl",e])}setSiteId(e){this.delegate.push(["setSiteId",e])}setApiUrl(e){this.delegate.push(["setApiUrl",e])}setTrackerUrl(e){this.delegate.push(["setTrackerUrl",e])}addTracker(e,a){this.delegate.push(["addTracker",e,a])}getMatomoUrl(){return this.delegate.get("getMatomoUrl")}getPiwikUrl(){return this.delegate.get("getPiwikUrl")}getCurrentUrl(){return this.delegate.get("getCurrentUrl")}setDownloadClasses(e){this.delegate.push(["setDownloadClasses",e])}setDownloadExtensions(e){this.delegate.push(["setDownloadExtensions",e])}addDownloadExtensions(e){this.delegate.push(["addDownloadExtensions",e])}removeDownloadExtensions(e){this.delegate.push(["removeDownloadExtensions",e])}setIgnoreClasses(e){this.delegate.push(["setIgnoreClasses",e])}setLinkClasses(e){this.delegate.push(["setLinkClasses",e])}setLinkTrackingTimer(e){this.delegate.push(["setLinkTrackingTimer",e])}getLinkTrackingTimer(){return this.delegate.get("getLinkTrackingTimer")}discardHashTag(e){this.delegate.push(["discardHashTag",e])}setGenerationTimeMs(e){this.delegate.push(["setGenerationTimeMs",e])}setPagePerformanceTiming(e,a,t,i,l,d){let u;"object"==typeof e&&e?(u=e.networkTimeInMs,a=e.serverTimeInMs,t=e.transferTimeInMs,i=e.domProcessingTimeInMs,l=e.domCompletionTimeInMs,d=e.onloadTimeInMs):u=e,this.delegate.push(["setPagePerformanceTiming",u,a,t,i,l,d])}getCustomPagePerformanceTiming(){return this.delegate.get("getCustomPagePerformanceTiming")}appendToTrackingUrl(e){this.delegate.push(["appendToTrackingUrl",e])}setDoNotTrack(e){this.delegate.push(["setDoNotTrack",e])}killFrame(){this.delegate.push(["killFrame"])}redirectFile(e){this.delegate.push(["redirectFile",e])}setHeartBeatTimer(e,a){this.delegate.push(["setHeartBeatTimer",e,a])}getVisitorId(){return this.delegate.get("getVisitorId")}setVisitorId(e){this.delegate.push(["setVisitorId",e])}getVisitorInfo(){return this.delegate.get("getVisitorInfo")}getAttributionInfo(){return this.delegate.get("getAttributionInfo")}getAttributionCampaignName(){return this.delegate.get("getAttributionCampaignName")}getAttributionCampaignKeyword(){return this.delegate.get("getAttributionCampaignKeyword")}getAttributionReferrerTimestamp(){return this.delegate.get("getAttributionReferrerTimestamp")}getAttributionReferrerUrl(){return this.delegate.get("getAttributionReferrerUrl")}getUserId(){return this.delegate.get("getUserId")}setUserId(e){this.delegate.push(["setUserId",e])}resetUserId(){this.delegate.push(["resetUserId"])}setPageViewId(e){this.delegate.push(["setPageViewId",e])}getPageViewId(){return this.delegate.get("getPageViewId")}setCustomVariable(e,a,t,i){this.delegate.push(["setCustomVariable",e,a,t,i])}deleteCustomVariable(e,a){this.delegate.push(["deleteCustomVariable",e,a])}deleteCustomVariables(e){this.delegate.push(["deleteCustomVariables",e])}getCustomVariable(e,a){return this.delegate.pushFn(t=>t.getCustomVariable(e,a))}storeCustomVariablesInCookie(){this.delegate.push(["storeCustomVariablesInCookie"])}setCustomDimension(e,a){this.delegate.push(["setCustomDimension",e,a])}deleteCustomDimension(e){this.delegate.push(["deleteCustomDimension",e])}getCustomDimension(e){return this.delegate.pushFn(a=>a.getCustomDimension(e))}setCampaignNameKey(e){this.delegate.push(["setCampaignNameKey",e])}setCampaignKeywordKey(e){this.delegate.push(["setCampaignKeywordKey",e])}setConversionAttributionFirstReferrer(e){this.delegate.push(["setConversionAttributionFirstReferrer",e])}setEcommerceView(e,a,t,i){!function vc6(c){return"object"==typeof c&&1===Object.keys(c).length&&null!=c.productCategory}(e)?function Hc6(c){return"object"==typeof c&&"productSKU"in c}(e)?this.delegate.push(["setEcommerceView",e.productSKU,e.productName,e.productCategory,e.price]):this.delegate.push(["setEcommerceView",e,a,t,i]):this.delegate.push(["setEcommerceView",!1,!1,e.productCategory])}addEcommerceItem(e,a,t,i,l){this.delegate.push("string"==typeof e?["addEcommerceItem",e,a,t,i,l]:["addEcommerceItem",e.productSKU,e.productName,e.productCategory,e.price,e.quantity])}removeEcommerceItem(e){this.delegate.push(["removeEcommerceItem",e])}clearEcommerceCart(){this.delegate.push(["clearEcommerceCart"])}getEcommerceItems(){return this.delegate.get("getEcommerceItems")}trackEcommerceCartUpdate(e){this.delegate.push(["trackEcommerceCartUpdate",e])}trackEcommerceOrder(e,a,t,i,l,d){this.delegate.push(["trackEcommerceOrder",e,a,t,i,l,d])}requireConsent(){this.delegate.push(["requireConsent"])}setConsentGiven(){this.delegate.push(["setConsentGiven"])}rememberConsentGiven(e){this.delegate.push(["rememberConsentGiven",e])}forgetConsentGiven(){this.delegate.push(["forgetConsentGiven"])}hasRememberedConsent(){return this.delegate.get("hasRememberedConsent")}getRememberedConsent(){return this.delegate.get("getRememberedConsent")}isConsentRequired(){return this.delegate.get("isConsentRequired")}requireCookieConsent(){this.delegate.push(["requireCookieConsent"])}setCookieConsentGiven(){this.delegate.push(["setCookieConsentGiven"])}rememberCookieConsentGiven(e){this.delegate.push(["rememberCookieConsentGiven",e])}forgetCookieConsentGiven(){this.delegate.push(["forgetCookieConsentGiven"])}getRememberedCookieConsent(){return this.delegate.get("getRememberedCookieConsent")}areCookiesEnabled(){return this.delegate.get("areCookiesEnabled")}optUserOut(){this.delegate.push(["optUserOut"])}forgetUserOptOut(){this.delegate.push(["forgetUserOptOut"])}isUserOptedOut(){return this.delegate.get("isUserOptedOut")}disableCookies(){this.delegate.push(["disableCookies"])}deleteCookies(){this.delegate.push(["deleteCookies"])}hasCookies(){return this.delegate.get("hasCookies")}setCookieNamePrefix(e){this.delegate.push(["setCookieNamePrefix",e])}setCookieDomain(e){this.delegate.push(["setCookieDomain",e])}setCookiePath(e){this.delegate.push(["setCookiePath",e])}setSecureCookie(e){this.delegate.push(["setSecureCookie",e])}setCookieSameSite(e){this.delegate.push(["setCookieSameSite",e])}setVisitorCookieTimeout(e){this.delegate.push(["setVisitorCookieTimeout",e])}setReferralCookieTimeout(e){this.delegate.push(["setReferralCookieTimeout",e])}setSessionCookieTimeout(e){this.delegate.push(["setSessionCookieTimeout",e])}addListener(e){this.delegate.push(["addListener",e])}setRequestMethod(e){this.delegate.push(["setRequestMethod",e])}setCustomRequestProcessing(e){this.delegate.push(["setCustomRequestProcessing",e])}setRequestContentType(e){this.delegate.push(["setRequestContentType",e])}disableQueueRequest(){this.delegate.push(["disableQueueRequest"])}setRequestQueueInterval(e){this.delegate.push(["setRequestQueueInterval",e])}disableAlwaysUseSendBeacon(){this.delegate.push(["disableAlwaysUseSendBeacon"])}alwaysUseSendBeacon(){this.delegate.push(["alwaysUseSendBeacon"])}enableJSErrorTracking(){this.delegate.push(["enableJSErrorTracking"])}enableFileTracking(){this.delegate.push(["enableFileTracking"])}setExcludedReferrers(...e){const a=e.flat();this.delegate.push(["setExcludedReferrers",a])}getExcludedReferrers(){return this.delegate.get("getExcludedReferrers")}disableBrowserFeatureDetection(){this.delegate.push(["disableBrowserFeatureDetection"])}enableBrowserFeatureDetection(){this.delegate.push(["enableBrowserFeatureDetection"])}disableCampaignParameters(){this.delegate.push(["disableCampaignParameters"])}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function Mm1(c){return`${c}`}function Lm1(c,r){return null==r?um1(c)+Cc6:c+r}const Cc6="matomo.php";class Mc6{initialize(){}init(){}initializeTracker(r){}}let hz=(()=>{class c{constructor(){this.config=i1(Ia),this.deferredConfig=i1(mm1),this.tracker=i1(Kl),this.scriptInjector=i1(fc6),this.initialize=sz(()=>{this.runPreInitTasks(),function _m1(c){return null==c.mode||c.mode===uz.AUTO}(this.config)&&this.injectMatomoScript(this.config)},"Matomo has already been initialized"),this.injectMatomoScript=sz(e=>{if(function gm1(c){return pm1(c)||vm1(c)}(e)){const{scriptUrl:a}=e,[t,...i]=function Hm1(c){return vm1(c)?c.trackers:[{trackerUrl:c.trackerUrl,siteId:c.siteId,trackerUrlSuffix:c.trackerUrlSuffix}]}(e),l=a??um1(t.trackerUrl)+"matomo.js";this.registerMainTracker(t),this.registerAdditionalTrackers(i),this.scriptInjector.injectDOMScript(l)}else if(function hc6(c){return null!=c.scriptUrl&&!pm1(c)}(e)){const{scriptUrl:a,trackers:t}={trackers:[],...e};this.registerAdditionalTrackers(t),this.scriptInjector.injectDOMScript(a)}this.deferredConfig.markReady(e)},"Matomo trackers have already been initialized"),Cm1()}init(){this.initialize()}initializeTracker(e){this.injectMatomoScript(e)}registerMainTracker(e){const a=Lm1(e.trackerUrl,e.trackerUrlSuffix),t=Mm1(e.siteId);this.tracker.setTrackerUrl(a),this.tracker.setSiteId(t)}registerAdditionalTrackers(e){e.forEach(({trackerUrl:a,siteId:t,trackerUrlSuffix:i})=>{const l=Lm1(a,i),d=Mm1(t);this.tracker.addTracker(l,d)})}runPreInitTasks(){this.config.acceptDoNotTrack&&this.tracker.setDoNotTrack(!0),this.config.requireConsent===Zl.COOKIE?this.tracker.requireCookieConsent():this.config.requireConsent===Zl.TRACKING&&this.tracker.requireConsent(),this.config.enableJSErrorTracking&&this.tracker.enableJSErrorTracking(),this.config.disableCampaignParameters&&this.tracker.disableCampaignParameters(),this.config.trackAppInitialLoad&&this.tracker.trackPageView(),this.config.enableLinkTracking&&this.tracker.enableLinkTracking("enable-pseudo"===this.config.enableLinkTracking)}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:()=>function Vc6(){const c=i1(Ia).disabled,r=t6(i1(m6));return c||!r?new Mc6:new hz}(),providedIn:"root"})}return c})();const ym1=Symbol("MATOMO_PROVIDERS"),bm1=Symbol("MATOMO_CHECKS");function Ec6(c,r){const e=[];return r&&e.push(function bc6(c){return function Lc6(c,r,e){return{kind:c,[ym1]:r,[bm1]:e}}("ScriptFactory",[{provide:hm1,useValue:c}])}(r)),function yc6(c,...r){const e=[{provide:L0,multi:!0,useValue(){i1(hz).initialize()}}],a=[];e.push("function"==typeof c?{provide:dz,useFactory:c}:{provide:dz,useValue:c});for(const t of r)e.push(...t[ym1]),a.push(t.kind);for(const t of r)t[bm1]?.(a);return J6(e)}(c,...e)}let Ac6=(()=>{class c{static forRoot(e,a){return{ngModule:c,providers:[Ec6(e,a)]}}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275mod=M4({type:c});static#a=this.\u0275inj=g4({})}return c})();function xm1(c,r){return r?e=>sa(r.pipe(M6(1),function Pc6(){return i4((c,r)=>{c.subscribe(_2(r,D8))})}()),e.pipe(xm1(c))):n3((e,a)=>U3(c(e,a)).pipe(M6(1),Hs(e)))}const Ql=new H1("MATOMO_ROUTER_CONFIGURATION"),Bc6={prependBaseHref:!0,trackPageTitle:!0,delay:0,exclude:[],navigationEndComparator:"fullUrl"},wm1=new H1("INTERNAL_ROUTER_CONFIGURATION",{factory:()=>{const{disabled:c,enableLinkTracking:r}=i1(Ia),e=i1(Ql,{optional:!0})||{};return{...Bc6,...e,enableLinkTracking:r,disabled:c}}}),Fm1=new H1("MATOMO_ROUTER_INTERCEPTORS");function km1(c){return{provide:Fm1,multi:!0,useClass:c}}function mz(c){return c?c.map(km1):[]}new H1("MATOMO_ROUTE_DATA_KEY",{providedIn:"root",factory:()=>"matomo"});const Gc6=new H1("MATOMO_PAGE_TITLE_PROVIDER",{factory:()=>new qc6(i1(VF))});class qc6{constructor(r){this.title=r}getCurrentPageTitle(r){return T1(this.title.getTitle())}}const Wc6=new H1("MATOMO_PAGE_URL_PROVIDER",{factory:()=>new Kc6(i1(wm1),i1(Wh,{optional:!0}),i1(r8))});class Kc6{constructor(r,e,a){this.config=r,this.baseHref=e,this.locationStrategy=a}getCurrentPageUrl(r){return T1(this.config.prependBaseHref?this.getBaseHrefWithoutTrailingSlash()+r.urlAfterRedirects:r.urlAfterRedirects)}getBaseHrefWithoutTrailingSlash(){return function Zc6(c){return c.endsWith("/")?c.slice(0,-1):c}(this.baseHref??this.locationStrategy.getBaseHref()??"")}}function Qc6(c){return c instanceof $0}function Nm1(c){return"string"==typeof c?new RegExp(c):c}function Dm1(c){return(r,e)=>c(r)===c(e)}let _z=(()=>{class c{constructor(e,a,t,i,l,d){if(this.router=e,this.config=a,this.pageTitleProvider=t,this.pageUrlProvider=i,this.tracker=l,this.interceptors=d,this.initialize=sz(()=>{if(this.config.disabled)return;const u=-1===this.config.delay?s6:function Rc6(c,r=P_){const e=As(c,r);return xm1(()=>e)}(this.config.delay),p=function ca6(c){switch(c.navigationEndComparator){case"fullUrl":return Dm1(r=>r.urlAfterRedirects);case"ignoreQueryParams":return Dm1(r=>function ea6(c){return c.split("?")[0]}(r.urlAfterRedirects));default:return c.navigationEndComparator}}(this.config);this.router.events.pipe(d0(Qc6),d0(function Xc6(c){const r=function Jc6(c){return c?Array.isArray(c)?c.map(Nm1):[Nm1(c)]:[]}(c);return e=>!r.some(a=>e.urlAfterRedirects.match(a))}(this.config.exclude)),Gu1(p),u,z3(z=>this.presetPageTitleAndUrl(z).pipe(J1(({pageUrl:x})=>({pageUrl:x,event:z})))),o8(({event:z,pageUrl:x})=>this.callInterceptors(z).pipe(s3(()=>this.trackPageView(x))))).subscribe()},"MatomoRouter has already been initialized"),d&&!Array.isArray(d))throw function Yc6(){return new Error('An invalid MATOMO_ROUTER_INTERCEPTORS provider was configured. Did you forget to set "multi: true" ?')}()}init(){this.initialize()}callInterceptors(e){return this.interceptors?Jm(this.interceptors.map(a=>{const t=a.beforePageTrack(e);return(null==t?T1(void 0):k4(t)).pipe(M6(1),fa(void 0))})).pipe(Hs(void 0),fa(void 0)):T1(void 0)}presetPageTitleAndUrl(e){return gs([this.config.trackPageTitle?this.pageTitleProvider.getCurrentPageTitle(e).pipe(s3(i=>this.tracker.setDocumentTitle(i))):T1(void 0),this.pageUrlProvider.getCurrentPageUrl(e).pipe(s3(i=>this.tracker.setCustomUrl(i)))]).pipe(J1(([i,l])=>({pageUrl:l})))}trackPageView(e){this.tracker.trackPageView(),this.config.enableLinkTracking&&this.tracker.enableLinkTracking("enable-pseudo"===this.config.enableLinkTracking),this.tracker.setReferrerUrl(e)}static#e=this.\u0275fac=function(a){return new(a||c)(f1(Q1),f1(wm1),f1(Gc6),f1(Wc6),f1(Kl),f1(Fm1,8))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),Tm1=(()=>{class c{constructor(e,a,t){this.router=e,!a&&!t&&this.router.initialize()}static forRoot(e={}){return{ngModule:c,providers:[{provide:Ql,useValue:e},mz(e.interceptors)]}}static#e=this.\u0275fac=function(a){return new(a||c)(f1(_z),f1(c,12),f1(E2(()=>aa6),12))};static#c=this.\u0275mod=M4({type:c});static#a=this.\u0275inj=g4({providers:[{provide:fz,useValue:!0}]})}return c})(),aa6=(()=>{class c{constructor(e,a,t){this.router=e,!a&&!t&&this.router.initialize()}static forRoot(e={}){return{ngModule:c,providers:[{provide:Ql,useValue:e},mz(e.interceptors)]}}static#e=this.\u0275fac=function(a){return new(a||c)(f1(_z),f1(Tm1,12),f1(E2(()=>c),12))};static#c=this.\u0275mod=M4({type:c});static#a=this.\u0275inj=g4({providers:[{provide:fz,useValue:!0}]})}return c})(),Em1=(()=>{class c{constructor(e){this.http=e}init(){return new Promise((e,a)=>{const t={next:i=>{m1.SIOP_INFO=i.siop,m1.CHAT_API=i.chat,m1.MATOMO_SITE_ID=i.matomoId,m1.MATOMO_TRACKER_URL=i.matomoUrl,m1.KNOWLEDGE_BASE_URL=i.knowledgeBaseUrl,m1.TICKETING_SYSTEM_URL=i.ticketingUrl,m1.SEARCH_ENABLED=i.searchEnabled,m1.DOME_TRUST_LINK=i.domeTrust,m1.DOME_ABOUT_LINK=i.domeAbout,m1.DOME_REGISTER_LINK=i.domeRegister,m1.DOME_PUBLISH_LINK=i.domePublish,e(i)},error:i=>{a(i)},complete:()=>{}};this.http.get(`${m1.BASE_URL}/config`).subscribe(t)})}static#e=this.\u0275fac=function(a){return new(a||c)(f1(V3))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function ra6(c,r){return()=>c.init().then(e=>{r.initializeTracker({siteId:e.matomoId,trackerUrl:e.matomoUrl})})}let ta6=(()=>{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275mod=M4({type:c,bootstrap:[ON3]});static#a=this.\u0275inj=g4({providers:[Em1,{provide:_n,useFactory:ra6,deps:[Em1,hz],multi:!0},{provide:KF,useClass:nc6,multi:!0}],imports:[lx1,xg,TD3,ic6,B4,bl,NC,G3,jU3,nT3.forRoot(),ps.forRoot({defaultLanguage:"en",loader:{provide:Jr,useFactory:ia6,deps:[V3]}}),mC,Ac6.forRoot({mode:uz.AUTO_DEFERRED}),Tm1]})}return c})();function ia6(c){return new oc6(c,"./assets/i18n/")}nx1().bootstrapModule(ta6).catch(c=>console.error(c))},4261:(r1,t1,W)=>{r1.exports={currencies:W(8184)}},1544:function(r1,t1,W){!function(U){"use strict";U.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(D){return/^nm$/i.test(D)},meridiem:function(D,F,N){return D<12?N?"vm":"VM":N?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(D){return D+(1===D||8===D||D>=20?"ste":"de")},week:{dow:1,doy:4}})}(W(7586))},2155:function(r1,t1,W){!function(U){"use strict";var M=function($){return 0===$?0:1===$?1:2===$?2:$%100>=3&&$%100<=10?3:$%100>=11?4:5},D={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},F=function($){return function(q,e1,d1,E1){var K1=M(q),l2=D[$][M(q)];return 2===K1&&(l2=l2[e1?0:1]),l2.replace(/%d/i,q)}},N=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];U.defineLocale("ar-dz",{months:N,monthsShort:N,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function($){return"\u0645"===$},meridiem:function($,q,e1){return $<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:F("s"),ss:F("s"),m:F("m"),mm:F("m"),h:F("h"),hh:F("h"),d:F("d"),dd:F("d"),M:F("M"),MM:F("M"),y:F("y"),yy:F("y")},postformat:function($){return $.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(W(7586))},3583:function(r1,t1,W){!function(U){"use strict";U.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(W(7586))},1638:function(r1,t1,W){!function(U){"use strict";var M={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},D=function(q){return 0===q?0:1===q?1:2===q?2:q%100>=3&&q%100<=10?3:q%100>=11?4:5},F={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},N=function(q){return function(e1,d1,E1,K1){var l2=D(e1),G6=F[q][D(e1)];return 2===l2&&(G6=G6[d1?0:1]),G6.replace(/%d/i,e1)}},I=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];U.defineLocale("ar-ly",{months:I,monthsShort:I,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(q){return"\u0645"===q},meridiem:function(q,e1,d1){return q<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:N("s"),ss:N("s"),m:N("m"),mm:N("m"),h:N("h"),hh:N("h"),d:N("d"),dd:N("d"),M:N("M"),MM:N("M"),y:N("y"),yy:N("y")},preparse:function(q){return q.replace(/\u060c/g,",")},postformat:function(q){return q.replace(/\d/g,function(e1){return M[e1]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(W(7586))},7823:function(r1,t1,W){!function(U){"use strict";U.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(W(7586))},7712:function(r1,t1,W){!function(U){"use strict";var M={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},D={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};U.defineLocale("ar-ps",{months:"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0634\u0631\u064a \u0627\u0644\u0623\u0648\u0651\u0644_\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0651\u0644".split("_"),monthsShort:"\u0643\u0662_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0661_\u062a\u0662_\u0643\u0661".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(N){return"\u0645"===N},meridiem:function(N,I,$){return N<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(N){return N.replace(/[\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(I){return D[I]}).split("").reverse().join("").replace(/[\u0661\u0662](?![\u062a\u0643])/g,function(I){return D[I]}).split("").reverse().join("").replace(/\u060c/g,",")},postformat:function(N){return N.replace(/\d/g,function(I){return M[I]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(W(7586))},8261:function(r1,t1,W){!function(U){"use strict";var M={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},D={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};U.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(N){return"\u0645"===N},meridiem:function(N,I,$){return N<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(N){return N.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(I){return D[I]}).replace(/\u060c/g,",")},postformat:function(N){return N.replace(/\d/g,function(I){return M[I]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(W(7586))},6703:function(r1,t1,W){!function(U){"use strict";U.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(W(7586))},3108:function(r1,t1,W){!function(U){"use strict";var M={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},D={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},F=function(e1){return 0===e1?0:1===e1?1:2===e1?2:e1%100>=3&&e1%100<=10?3:e1%100>=11?4:5},N={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},I=function(e1){return function(d1,E1,K1,l2){var G6=F(d1),y1=N[e1][F(d1)];return 2===G6&&(y1=y1[E1?0:1]),y1.replace(/%d/i,d1)}},$=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];U.defineLocale("ar",{months:$,monthsShort:$,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e1){return"\u0645"===e1},meridiem:function(e1,d1,E1){return e1<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:I("s"),ss:I("s"),m:I("m"),mm:I("m"),h:I("h"),hh:I("h"),d:I("d"),dd:I("d"),M:I("M"),MM:I("M"),y:I("y"),yy:I("y")},preparse:function(e1){return e1.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(d1){return D[d1]}).replace(/\u060c/g,",")},postformat:function(e1){return e1.replace(/\d/g,function(d1){return M[d1]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(W(7586))},6508:function(r1,t1,W){!function(U){"use strict";var M={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};U.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(F){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(F)},meridiem:function(F,N,I){return F<4?"gec\u0259":F<12?"s\u0259h\u0259r":F<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(F){if(0===F)return F+"-\u0131nc\u0131";var N=F%10;return F+(M[N]||M[F%100-N]||M[F>=100?100:null])},week:{dow:1,doy:7}})}(W(7586))},6766:function(r1,t1,W){!function(U){"use strict";function D(N,I,$){return"m"===$?I?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===$?I?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":N+" "+function M(N,I){var $=N.split("_");return I%10==1&&I%100!=11?$[0]:I%10>=2&&I%10<=4&&(I%100<10||I%100>=20)?$[1]:$[2]}({ss:I?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:I?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:I?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[$],+N)}U.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:D,mm:D,h:D,hh:D,d:"\u0434\u0437\u0435\u043d\u044c",dd:D,M:"\u043c\u0435\u0441\u044f\u0446",MM:D,y:"\u0433\u043e\u0434",yy:D},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(N){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(N)},meridiem:function(N,I,$){return N<4?"\u043d\u043e\u0447\u044b":N<12?"\u0440\u0430\u043d\u0456\u0446\u044b":N<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(N,I){switch(I){case"M":case"d":case"DDD":case"w":case"W":return N%10!=2&&N%10!=3||N%100==12||N%100==13?N+"-\u044b":N+"-\u0456";case"D":return N+"-\u0433\u0430";default:return N}},week:{dow:1,doy:7}})}(W(7586))},8564:function(r1,t1,W){!function(U){"use strict";U.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(D){var F=D%10,N=D%100;return 0===D?D+"-\u0435\u0432":0===N?D+"-\u0435\u043d":N>10&&N<20?D+"-\u0442\u0438":1===F?D+"-\u0432\u0438":2===F?D+"-\u0440\u0438":7===F||8===F?D+"-\u043c\u0438":D+"-\u0442\u0438"},week:{dow:1,doy:7}})}(W(7586))},7462:function(r1,t1,W){!function(U){"use strict";U.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(W(7586))},3438:function(r1,t1,W){!function(U){"use strict";var M={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},D={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};U.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(N){return N.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(I){return D[I]})},postformat:function(N){return N.replace(/\d/g,function(I){return M[I]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(N,I){return 12===N&&(N=0),"\u09b0\u09be\u09a4"===I?N<4?N:N+12:"\u09ad\u09cb\u09b0"===I||"\u09b8\u0995\u09be\u09b2"===I?N:"\u09a6\u09c1\u09aa\u09c1\u09b0"===I?N>=3?N:N+12:"\u09ac\u09bf\u0995\u09be\u09b2"===I||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===I?N+12:void 0},meridiem:function(N,I,$){return N<4?"\u09b0\u09be\u09a4":N<6?"\u09ad\u09cb\u09b0":N<12?"\u09b8\u0995\u09be\u09b2":N<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":N<18?"\u09ac\u09bf\u0995\u09be\u09b2":N<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(W(7586))},7107:function(r1,t1,W){!function(U){"use strict";var M={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},D={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};U.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(N){return N.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(I){return D[I]})},postformat:function(N){return N.replace(/\d/g,function(I){return M[I]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(N,I){return 12===N&&(N=0),"\u09b0\u09be\u09a4"===I&&N>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===I&&N<5||"\u09ac\u09bf\u0995\u09be\u09b2"===I?N+12:N},meridiem:function(N,I,$){return N<4?"\u09b0\u09be\u09a4":N<10?"\u09b8\u0995\u09be\u09b2":N<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":N<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(W(7586))},9004:function(r1,t1,W){!function(U){"use strict";var M={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},D={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};U.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(N){return N.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(I){return D[I]})},postformat:function(N){return N.replace(/\d/g,function(I){return M[I]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(N,I){return 12===N&&(N=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===I&&N>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===I&&N<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===I?N+12:N},meridiem:function(N,I,$){return N<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":N<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":N<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":N<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(W(7586))},927:function(r1,t1,W){!function(U){"use strict";function M(y1,x3,J0){return y1+" "+function N(y1,x3){return 2===x3?function I(y1){var x3={m:"v",b:"v",d:"z"};return void 0===x3[y1.charAt(0)]?y1:x3[y1.charAt(0)]+y1.substring(1)}(y1):y1}({mm:"munutenn",MM:"miz",dd:"devezh"}[J0],y1)}function F(y1){return y1>9?F(y1%10):y1}var $=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],q=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,l2=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];U.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:l2,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:l2,monthsRegex:q,monthsShortRegex:q,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:$,longMonthsParse:$,shortMonthsParse:$,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:M,h:"un eur",hh:"%d eur",d:"un devezh",dd:M,M:"ur miz",MM:M,y:"ur bloaz",yy:function D(y1){switch(F(y1)){case 1:case 3:case 4:case 5:case 9:return y1+" bloaz";default:return y1+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(y1){return y1+(1===y1?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(y1){return"g.m."===y1},meridiem:function(y1,x3,J0){return y1<12?"a.m.":"g.m."}})}(W(7586))},7768:function(r1,t1,W){!function(U){"use strict";function D(N,I,$){var q=N+" ";switch($){case"ss":return q+(1===N?"sekunda":2===N||3===N||4===N?"sekunde":"sekundi");case"mm":return q+(1===N?"minuta":2===N||3===N||4===N?"minute":"minuta");case"h":return"jedan sat";case"hh":return q+(1===N?"sat":2===N||3===N||4===N?"sata":"sati");case"dd":return q+(1===N?"dan":"dana");case"MM":return q+(1===N?"mjesec":2===N||3===N||4===N?"mjeseca":"mjeseci");case"yy":return q+(1===N?"godina":2===N||3===N||4===N?"godine":"godina")}}U.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:D,m:function M(N,I,$,q){if("m"===$)return I?"jedna minuta":q?"jednu minutu":"jedne minute"},mm:D,h:D,hh:D,d:"dan",dd:D,M:"mjesec",MM:D,y:"godinu",yy:D},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(W(7586))},6291:function(r1,t1,W){!function(U){"use strict";U.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(D,F){var N=1===D?"r":2===D?"n":3===D?"r":4===D?"t":"\xe8";return("w"===F||"W"===F)&&(N="a"),D+N},week:{dow:1,doy:4}})}(W(7586))},5301:function(r1,t1,W){!function(U){"use strict";var M={standalone:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),format:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},D="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),F=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],N=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function I(e1){return e1>1&&e1<5&&1!=~~(e1/10)}function $(e1,d1,E1,K1){var l2=e1+" ";switch(E1){case"s":return d1||K1?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return d1||K1?l2+(I(e1)?"sekundy":"sekund"):l2+"sekundami";case"m":return d1?"minuta":K1?"minutu":"minutou";case"mm":return d1||K1?l2+(I(e1)?"minuty":"minut"):l2+"minutami";case"h":return d1?"hodina":K1?"hodinu":"hodinou";case"hh":return d1||K1?l2+(I(e1)?"hodiny":"hodin"):l2+"hodinami";case"d":return d1||K1?"den":"dnem";case"dd":return d1||K1?l2+(I(e1)?"dny":"dn\xed"):l2+"dny";case"M":return d1||K1?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return d1||K1?l2+(I(e1)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):l2+"m\u011bs\xedci";case"y":return d1||K1?"rok":"rokem";case"yy":return d1||K1?l2+(I(e1)?"roky":"let"):l2+"lety"}}U.defineLocale("cs",{months:M,monthsShort:D,monthsRegex:N,monthsShortRegex:N,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:F,longMonthsParse:F,shortMonthsParse:F,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:$,ss:$,m:$,mm:$,h:$,hh:$,d:$,dd:$,M:$,MM:$,y:$,yy:$},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},6666:function(r1,t1,W){!function(U){"use strict";U.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(D){return D+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(D)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(D)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(W(7586))},5163:function(r1,t1,W){!function(U){"use strict";U.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(D){var N="";return D>20?N=40===D||50===D||60===D||80===D||100===D?"fed":"ain":D>0&&(N=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][D]),D+N},week:{dow:1,doy:4}})}(W(7586))},7360:function(r1,t1,W){!function(U){"use strict";U.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},3248:function(r1,t1,W){!function(U){"use strict";function M(F,N,I,$){var q={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[F+" Tage",F+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[F+" Monate",F+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[F+" Jahre",F+" Jahren"]};return N?q[I][0]:q[I][1]}U.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:M,mm:"%d Minuten",h:M,hh:"%d Stunden",d:M,dd:M,w:M,ww:"%d Wochen",M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},3222:function(r1,t1,W){!function(U){"use strict";function M(F,N,I,$){var q={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[F+" Tage",F+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[F+" Monate",F+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[F+" Jahre",F+" Jahren"]};return N?q[I][0]:q[I][1]}U.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:M,mm:"%d Minuten",h:M,hh:"%d Stunden",d:M,dd:M,w:M,ww:"%d Wochen",M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},5932:function(r1,t1,W){!function(U){"use strict";function M(F,N,I,$){var q={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[F+" Tage",F+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[F+" Monate",F+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[F+" Jahre",F+" Jahren"]};return N?q[I][0]:q[I][1]}U.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:M,mm:"%d Minuten",h:M,hh:"%d Stunden",d:M,dd:M,w:M,ww:"%d Wochen",M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},6405:function(r1,t1,W){!function(U){"use strict";var M=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],D=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];U.defineLocale("dv",{months:M,monthsShort:M,weekdays:D,weekdaysShort:D,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(N){return"\u0789\u078a"===N},meridiem:function(N,I,$){return N<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(N){return N.replace(/\u060c/g,",")},postformat:function(N){return N.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(W(7586))},718:function(r1,t1,W){!function(U){"use strict";U.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(F,N){return F?"string"==typeof N&&/D/.test(N.substring(0,N.indexOf("MMMM")))?this._monthsGenitiveEl[F.month()]:this._monthsNominativeEl[F.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(F,N,I){return F>11?I?"\u03bc\u03bc":"\u039c\u039c":I?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(F){return"\u03bc"===(F+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(F,N){var I=this._calendarEl[F],$=N&&N.hours();return function M(F){return typeof Function<"u"&&F instanceof Function||"[object Function]"===Object.prototype.toString.call(F)}(I)&&(I=I.apply(N)),I.replace("{}",$%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(W(7586))},6319:function(r1,t1,W){!function(U){"use strict";U.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(D){var F=D%10;return D+(1==~~(D%100/10)?"th":1===F?"st":2===F?"nd":3===F?"rd":"th")},week:{dow:0,doy:4}})}(W(7586))},597:function(r1,t1,W){!function(U){"use strict";U.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(D){var F=D%10;return D+(1==~~(D%100/10)?"th":1===F?"st":2===F?"nd":3===F?"rd":"th")}})}(W(7586))},1800:function(r1,t1,W){!function(U){"use strict";U.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(D){var F=D%10;return D+(1==~~(D%100/10)?"th":1===F?"st":2===F?"nd":3===F?"rd":"th")},week:{dow:1,doy:4}})}(W(7586))},807:function(r1,t1,W){!function(U){"use strict";U.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(D){var F=D%10;return D+(1==~~(D%100/10)?"th":1===F?"st":2===F?"nd":3===F?"rd":"th")},week:{dow:1,doy:4}})}(W(7586))},5960:function(r1,t1,W){!function(U){"use strict";U.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(D){var F=D%10;return D+(1==~~(D%100/10)?"th":1===F?"st":2===F?"nd":3===F?"rd":"th")}})}(W(7586))},4418:function(r1,t1,W){!function(U){"use strict";U.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(D){var F=D%10;return D+(1==~~(D%100/10)?"th":1===F?"st":2===F?"nd":3===F?"rd":"th")},week:{dow:0,doy:6}})}(W(7586))},6865:function(r1,t1,W){!function(U){"use strict";U.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(D){var F=D%10;return D+(1==~~(D%100/10)?"th":1===F?"st":2===F?"nd":3===F?"rd":"th")},week:{dow:1,doy:4}})}(W(7586))},2647:function(r1,t1,W){!function(U){"use strict";U.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(D){var F=D%10;return D+(1==~~(D%100/10)?"th":1===F?"st":2===F?"nd":3===F?"rd":"th")},week:{dow:1,doy:4}})}(W(7586))},1931:function(r1,t1,W){!function(U){"use strict";U.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(D){return"p"===D.charAt(0).toLowerCase()},meridiem:function(D,F,N){return D>11?N?"p.t.m.":"P.T.M.":N?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(W(7586))},1805:function(r1,t1,W){!function(U){"use strict";var M="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),D="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),F=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],N=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;U.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function($,q){return $?/-MMM-/.test(q)?D[$.month()]:M[$.month()]:M},monthsRegex:N,monthsShortRegex:N,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:F,longMonthsParse:F,shortMonthsParse:F,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(W(7586))},3445:function(r1,t1,W){!function(U){"use strict";var M="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),D="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),F=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],N=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;U.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function($,q){return $?/-MMM-/.test(q)?D[$.month()]:M[$.month()]:M},monthsRegex:N,monthsShortRegex:N,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:F,longMonthsParse:F,shortMonthsParse:F,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(W(7586))},1516:function(r1,t1,W){!function(U){"use strict";var M="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),D="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),F=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],N=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;U.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function($,q){return $?/-MMM-/.test(q)?D[$.month()]:M[$.month()]:M},monthsRegex:N,monthsShortRegex:N,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:F,longMonthsParse:F,shortMonthsParse:F,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(W(7586))},6679:function(r1,t1,W){!function(U){"use strict";var M="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),D="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),F=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],N=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;U.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function($,q){return $?/-MMM-/.test(q)?D[$.month()]:M[$.month()]:M},monthsRegex:N,monthsShortRegex:N,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:F,longMonthsParse:F,shortMonthsParse:F,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(W(7586))},8150:function(r1,t1,W){!function(U){"use strict";function M(F,N,I,$){var q={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[F+"sekundi",F+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[F+" minuti",F+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[F+" tunni",F+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[F+" kuu",F+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[F+" aasta",F+" aastat"]};return N?q[I][2]?q[I][2]:q[I][1]:$?q[I][0]:q[I][1]}U.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:"%d p\xe4eva",M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},757:function(r1,t1,W){!function(U){"use strict";U.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(W(7586))},5742:function(r1,t1,W){!function(U){"use strict";var M={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},D={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};U.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(N){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(N)},meridiem:function(N,I,$){return N<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(N){return N.replace(/[\u06f0-\u06f9]/g,function(I){return D[I]}).replace(/\u060c/g,",")},postformat:function(N){return N.replace(/\d/g,function(I){return M[I]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(W(7586))},3958:function(r1,t1,W){!function(U){"use strict";var M="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),D=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",M[7],M[8],M[9]];function F($,q,e1,d1){var E1="";switch(e1){case"s":return d1?"muutaman sekunnin":"muutama sekunti";case"ss":E1=d1?"sekunnin":"sekuntia";break;case"m":return d1?"minuutin":"minuutti";case"mm":E1=d1?"minuutin":"minuuttia";break;case"h":return d1?"tunnin":"tunti";case"hh":E1=d1?"tunnin":"tuntia";break;case"d":return d1?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":E1=d1?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return d1?"kuukauden":"kuukausi";case"MM":E1=d1?"kuukauden":"kuukautta";break;case"y":return d1?"vuoden":"vuosi";case"yy":E1=d1?"vuoden":"vuotta"}return function N($,q){return $<10?q?D[$]:M[$]:$}($,d1)+" "+E1}U.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:F,ss:F,m:F,mm:F,h:F,hh:F,d:F,dd:F,M:F,MM:F,y:F,yy:F},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},6720:function(r1,t1,W){!function(U){"use strict";U.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(D){return D},week:{dow:1,doy:4}})}(W(7586))},8352:function(r1,t1,W){!function(U){"use strict";U.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},2096:function(r1,t1,W){!function(U){"use strict";U.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(D,F){switch(F){default:case"M":case"Q":case"D":case"DDD":case"d":return D+(1===D?"er":"e");case"w":case"W":return D+(1===D?"re":"e")}}})}(W(7586))},5759:function(r1,t1,W){!function(U){"use strict";U.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(D,F){switch(F){default:case"M":case"Q":case"D":case"DDD":case"d":return D+(1===D?"er":"e");case"w":case"W":return D+(1===D?"re":"e")}},week:{dow:1,doy:4}})}(W(7586))},4059:function(r1,t1,W){!function(U){"use strict";var F=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,N=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];U.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:F,monthsShortRegex:F,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:N,longMonthsParse:N,shortMonthsParse:N,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function($,q){switch(q){case"D":return $+(1===$?"er":"");default:case"M":case"Q":case"DDD":case"d":return $+(1===$?"er":"e");case"w":case"W":return $+(1===$?"re":"e")}},week:{dow:1,doy:4}})}(W(7586))},5958:function(r1,t1,W){!function(U){"use strict";var M="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),D="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");U.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(N,I){return N?/-MMM-/.test(I)?D[N.month()]:M[N.month()]:M},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(N){return N+(1===N||8===N||N>=20?"ste":"de")},week:{dow:1,doy:4}})}(W(7586))},4143:function(r1,t1,W){!function(U){"use strict";U.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(q){return q+(1===q?"d":q%10==2?"na":"mh")},week:{dow:1,doy:4}})}(W(7586))},7028:function(r1,t1,W){!function(U){"use strict";U.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(q){return q+(1===q?"d":q%10==2?"na":"mh")},week:{dow:1,doy:4}})}(W(7586))},428:function(r1,t1,W){!function(U){"use strict";U.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(D){return 0===D.indexOf("un")?"n"+D:"en "+D},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(W(7586))},6861:function(r1,t1,W){!function(U){"use strict";function M(F,N,I,$){var q={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[F+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",F+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[F+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",F+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[F+" \u0935\u0930\u093e\u0902\u0928\u0940",F+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[F+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",F+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[F+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",F+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[F+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",F+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return $?q[I][0]:q[I][1]}U.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:M,M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(F,N){return"D"===N?F+"\u0935\u0947\u0930":F},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(F,N){return 12===F&&(F=0),"\u0930\u093e\u0924\u0940"===N?F<4?F:F+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===N?F:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===N?F>12?F:F+12:"\u0938\u093e\u0902\u091c\u0947"===N?F+12:void 0},meridiem:function(F,N,I){return F<4?"\u0930\u093e\u0924\u0940":F<12?"\u0938\u0915\u093e\u0933\u0940\u0902":F<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":F<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(W(7586))},7718:function(r1,t1,W){!function(U){"use strict";function M(F,N,I,$){var q={s:["thoddea sekondamni","thodde sekond"],ss:[F+" sekondamni",F+" sekond"],m:["eka mintan","ek minut"],mm:[F+" mintamni",F+" mintam"],h:["eka voran","ek vor"],hh:[F+" voramni",F+" voram"],d:["eka disan","ek dis"],dd:[F+" disamni",F+" dis"],M:["eka mhoinean","ek mhoino"],MM:[F+" mhoineamni",F+" mhoine"],y:["eka vorsan","ek voros"],yy:[F+" vorsamni",F+" vorsam"]};return $?q[I][0]:q[I][1]}U.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:M,M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(F,N){return"D"===N?F+"er":F},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(F,N){return 12===F&&(F=0),"rati"===N?F<4?F:F+12:"sokallim"===N?F:"donparam"===N?F>12?F:F+12:"sanje"===N?F+12:void 0},meridiem:function(F,N,I){return F<4?"rati":F<12?"sokallim":F<16?"donparam":F<20?"sanje":"rati"}})}(W(7586))},6827:function(r1,t1,W){!function(U){"use strict";var M={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},D={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};U.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(N){return N.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(I){return D[I]})},postformat:function(N){return N.replace(/\d/g,function(I){return M[I]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(N,I){return 12===N&&(N=0),"\u0ab0\u0abe\u0aa4"===I?N<4?N:N+12:"\u0ab8\u0ab5\u0abe\u0ab0"===I?N:"\u0aac\u0aaa\u0acb\u0ab0"===I?N>=10?N:N+12:"\u0ab8\u0abe\u0a82\u0a9c"===I?N+12:void 0},meridiem:function(N,I,$){return N<4?"\u0ab0\u0abe\u0aa4":N<10?"\u0ab8\u0ab5\u0abe\u0ab0":N<17?"\u0aac\u0aaa\u0acb\u0ab0":N<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(W(7586))},1936:function(r1,t1,W){!function(U){"use strict";U.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(D){return 2===D?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":D+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(D){return 2===D?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":D+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(D){return 2===D?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":D+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(D){return 2===D?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":D%10==0&&10!==D?D+" \u05e9\u05e0\u05d4":D+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(D){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(D)},meridiem:function(D,F,N){return D<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":D<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":D<12?N?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":D<18?N?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(W(7586))},1332:function(r1,t1,W){!function(U){"use strict";var M={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},D={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},F=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];U.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:F,longMonthsParse:F,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function($){return $.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(q){return D[q]})},postformat:function($){return $.replace(/\d/g,function(q){return M[q]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function($,q){return 12===$&&($=0),"\u0930\u093e\u0924"===q?$<4?$:$+12:"\u0938\u0941\u092c\u0939"===q?$:"\u0926\u094b\u092a\u0939\u0930"===q?$>=10?$:$+12:"\u0936\u093e\u092e"===q?$+12:void 0},meridiem:function($,q,e1){return $<4?"\u0930\u093e\u0924":$<10?"\u0938\u0941\u092c\u0939":$<17?"\u0926\u094b\u092a\u0939\u0930":$<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(W(7586))},1957:function(r1,t1,W){!function(U){"use strict";function M(F,N,I){var $=F+" ";switch(I){case"ss":return $+(1===F?"sekunda":2===F||3===F||4===F?"sekunde":"sekundi");case"m":return N?"jedna minuta":"jedne minute";case"mm":return $+(1===F?"minuta":2===F||3===F||4===F?"minute":"minuta");case"h":return N?"jedan sat":"jednog sata";case"hh":return $+(1===F?"sat":2===F||3===F||4===F?"sata":"sati");case"dd":return $+(1===F?"dan":"dana");case"MM":return $+(1===F?"mjesec":2===F||3===F||4===F?"mjeseca":"mjeseci");case"yy":return $+(1===F?"godina":2===F||3===F||4===F?"godine":"godina")}}U.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:M,m:M,mm:M,h:M,hh:M,d:"dan",dd:M,M:"mjesec",MM:M,y:"godinu",yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(W(7586))},8928:function(r1,t1,W){!function(U){"use strict";var M="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function D(I,$,q,e1){var d1=I;switch(q){case"s":return e1||$?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return d1+(e1||$)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(e1||$?" perc":" perce");case"mm":return d1+(e1||$?" perc":" perce");case"h":return"egy"+(e1||$?" \xf3ra":" \xf3r\xe1ja");case"hh":return d1+(e1||$?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(e1||$?" nap":" napja");case"dd":return d1+(e1||$?" nap":" napja");case"M":return"egy"+(e1||$?" h\xf3nap":" h\xf3napja");case"MM":return d1+(e1||$?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(e1||$?" \xe9v":" \xe9ve");case"yy":return d1+(e1||$?" \xe9v":" \xe9ve")}return""}function F(I){return(I?"":"[m\xfalt] ")+"["+M[this.day()]+"] LT[-kor]"}U.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(I){return"u"===I.charAt(1).toLowerCase()},meridiem:function(I,$,q){return I<12?!0===q?"de":"DE":!0===q?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return F.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return F.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:D,ss:D,m:D,mm:D,h:D,hh:D,d:D,dd:D,M:D,MM:D,y:D,yy:D},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},6215:function(r1,t1,W){!function(U){"use strict";U.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(D){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(D)},meridiem:function(D){return D<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":D<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":D<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(D,F){switch(F){case"DDD":case"w":case"W":case"DDDo":return 1===D?D+"-\u056b\u0576":D+"-\u0580\u0564";default:return D}},week:{dow:1,doy:7}})}(W(7586))},586:function(r1,t1,W){!function(U){"use strict";U.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(D,F){return 12===D&&(D=0),"pagi"===F?D:"siang"===F?D>=11?D:D+12:"sore"===F||"malam"===F?D+12:void 0},meridiem:function(D,F,N){return D<11?"pagi":D<15?"siang":D<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(W(7586))},211:function(r1,t1,W){!function(U){"use strict";function M(N){return N%100==11||N%10!=1}function D(N,I,$,q){var e1=N+" ";switch($){case"s":return I||q?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return M(N)?e1+(I||q?"sek\xfandur":"sek\xfandum"):e1+"sek\xfanda";case"m":return I?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return M(N)?e1+(I||q?"m\xedn\xfatur":"m\xedn\xfatum"):I?e1+"m\xedn\xfata":e1+"m\xedn\xfatu";case"hh":return M(N)?e1+(I||q?"klukkustundir":"klukkustundum"):e1+"klukkustund";case"d":return I?"dagur":q?"dag":"degi";case"dd":return M(N)?I?e1+"dagar":e1+(q?"daga":"d\xf6gum"):I?e1+"dagur":e1+(q?"dag":"degi");case"M":return I?"m\xe1nu\xf0ur":q?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return M(N)?I?e1+"m\xe1nu\xf0ir":e1+(q?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):I?e1+"m\xe1nu\xf0ur":e1+(q?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return I||q?"\xe1r":"\xe1ri";case"yy":return M(N)?e1+(I||q?"\xe1r":"\xe1rum"):e1+(I||q?"\xe1r":"\xe1ri")}}U.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:D,ss:D,m:D,mm:D,h:"klukkustund",hh:D,d:D,dd:D,M:D,MM:D,y:D,yy:D},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},2340:function(r1,t1,W){!function(U){"use strict";U.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(D){return(/^[0-9].+$/.test(D)?"tra":"in")+" "+D},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(W(7586))},170:function(r1,t1,W){!function(U){"use strict";U.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(W(7586))},9770:function(r1,t1,W){!function(U){"use strict";U.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(D,F){return"\u5143"===F[1]?1:parseInt(F[1]||D,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(D){return"\u5348\u5f8c"===D},meridiem:function(D,F,N){return D<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(D){return D.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(D){return this.week()!==D.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(D,F){switch(F){case"y":return 1===D?"\u5143\u5e74":D+"\u5e74";case"d":case"D":case"DDD":return D+"\u65e5";default:return D}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(W(7586))},3875:function(r1,t1,W){!function(U){"use strict";U.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(D,F){return 12===D&&(D=0),"enjing"===F?D:"siyang"===F?D>=11?D:D+12:"sonten"===F||"ndalu"===F?D+12:void 0},meridiem:function(D,F,N){return D<11?"enjing":D<15?"siyang":D<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(W(7586))},9499:function(r1,t1,W){!function(U){"use strict";U.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(D){return D.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(F,N,I){return"\u10d8"===I?N+"\u10e8\u10d8":N+I+"\u10e8\u10d8"})},past:function(D){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(D)?D.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(D)?D.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):D},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(D){return 0===D?D:1===D?D+"-\u10da\u10d8":D<20||D<=100&&D%20==0||D%100==0?"\u10db\u10d4-"+D:D+"-\u10d4"},week:{dow:1,doy:7}})}(W(7586))},3573:function(r1,t1,W){!function(U){"use strict";var M={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};U.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(F){return F+(M[F]||M[F%10]||M[F>=100?100:null])},week:{dow:1,doy:7}})}(W(7586))},8807:function(r1,t1,W){!function(U){"use strict";var M={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},D={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};U.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(N){return"\u179b\u17d2\u1784\u17b6\u1785"===N},meridiem:function(N,I,$){return N<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(N){return N.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(I){return D[I]})},postformat:function(N){return N.replace(/\d/g,function(I){return M[I]})},week:{dow:1,doy:4}})}(W(7586))},5082:function(r1,t1,W){!function(U){"use strict";var M={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},D={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};U.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(N){return N.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(I){return D[I]})},postformat:function(N){return N.replace(/\d/g,function(I){return M[I]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(N,I){return 12===N&&(N=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===I?N<4?N:N+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===I?N:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===I?N>=10?N:N+12:"\u0cb8\u0c82\u0c9c\u0cc6"===I?N+12:void 0},meridiem:function(N,I,$){return N<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":N<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":N<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":N<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(N){return N+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(W(7586))},137:function(r1,t1,W){!function(U){"use strict";U.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(D,F){switch(F){case"d":case"D":case"DDD":return D+"\uc77c";case"M":return D+"\uc6d4";case"w":case"W":return D+"\uc8fc";default:return D}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(D){return"\uc624\ud6c4"===D},meridiem:function(D,F,N){return D<12?"\uc624\uc804":"\uc624\ud6c4"}})}(W(7586))},3744:function(r1,t1,W){!function(U){"use strict";function M(N,I,$,q){var e1={s:["\xe7end san\xeeye","\xe7end san\xeeyeyan"],ss:[N+" san\xeeye",N+" san\xeeyeyan"],m:["deq\xeeqeyek","deq\xeeqeyek\xea"],mm:[N+" deq\xeeqe",N+" deq\xeeqeyan"],h:["saetek","saetek\xea"],hh:[N+" saet",N+" saetan"],d:["rojek","rojek\xea"],dd:[N+" roj",N+" rojan"],w:["hefteyek","hefteyek\xea"],ww:[N+" hefte",N+" hefteyan"],M:["mehek","mehek\xea"],MM:[N+" meh",N+" mehan"],y:["salek","salek\xea"],yy:[N+" sal",N+" salan"]};return I?e1[$][0]:e1[$][1]}U.defineLocale("ku-kmr",{months:"R\xeabendan_Sibat_Adar_N\xeesan_Gulan_Hez\xeeran_T\xeermeh_Tebax_\xcelon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"R\xeab_Sib_Ada_N\xees_Gul_Hez_T\xeer_Teb_\xcelo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"Yek\u015fem_Du\u015fem_S\xea\u015fem_\xc7ar\u015fem_P\xeanc\u015fem_\xcen_\u015eem\xee".split("_"),weekdaysShort:"Yek_Du_S\xea_\xc7ar_P\xean_\xcen_\u015eem".split("_"),weekdaysMin:"Ye_Du_S\xea_\xc7a_P\xea_\xcen_\u015ee".split("_"),meridiem:function(N,I,$){return N<12?$?"bn":"BN":$?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[\xcero di saet] LT [de]",nextDay:"[Sib\xea di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a bor\xee di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"ber\xee %s",s:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:M,w:M,ww:M,M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}(?:y\xea|\xea|\.)/,ordinal:function(N,I){var $=I.toLowerCase();return $.includes("w")||$.includes("m")?N+".":N+function D(N){var I=(N=""+N).substring(N.length-1),$=N.length>1?N.substring(N.length-2):"";return 12==$||13==$||"2"!=I&&"3"!=I&&"50"!=$&&"70"!=I&&"80"!=I?"\xea":"y\xea"}(N)},week:{dow:1,doy:4}})}(W(7586))},111:function(r1,t1,W){!function(U){"use strict";var M={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},D={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},F=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];U.defineLocale("ku",{months:F,monthsShort:F,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(I){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(I)},meridiem:function(I,$,q){return I<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(I){return I.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function($){return D[$]}).replace(/\u060c/g,",")},postformat:function(I){return I.replace(/\d/g,function($){return M[$]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(W(7586))},9187:function(r1,t1,W){!function(U){"use strict";var M={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};U.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(F){return F+(M[F]||M[F%10]||M[F>=100?100:null])},week:{dow:1,doy:7}})}(W(7586))},5969:function(r1,t1,W){!function(U){"use strict";function M($,q,e1,d1){var E1={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return q?E1[e1][0]:E1[e1][1]}function N($){if($=parseInt($,10),isNaN($))return!1;if($<0)return!0;if($<10)return 4<=$&&$<=7;if($<100){var q=$%10;return N(0===q?$/10:q)}if($<1e4){for(;$>=10;)$/=10;return N($)}return N($/=1e3)}U.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function D($){return N($.substr(0,$.indexOf(" ")))?"a "+$:"an "+$},past:function F($){return N($.substr(0,$.indexOf(" ")))?"viru "+$:"virun "+$},s:"e puer Sekonnen",ss:"%d Sekonnen",m:M,mm:"%d Minutten",h:M,hh:"%d Stonnen",d:M,dd:"%d Deeg",M,MM:"%d M\xe9int",y:M,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},3526:function(r1,t1,W){!function(U){"use strict";U.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(D){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===D},meridiem:function(D,F,N){return D<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(D){return"\u0e97\u0eb5\u0ec8"+D}})}(W(7586))},411:function(r1,t1,W){!function(U){"use strict";var M={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function F(e1,d1,E1,K1){return d1?I(E1)[0]:K1?I(E1)[1]:I(E1)[2]}function N(e1){return e1%10==0||e1>10&&e1<20}function I(e1){return M[e1].split("_")}function $(e1,d1,E1,K1){var l2=e1+" ";return 1===e1?l2+F(0,d1,E1[0],K1):d1?l2+(N(e1)?I(E1)[1]:I(E1)[0]):K1?l2+I(E1)[1]:l2+(N(e1)?I(E1)[1]:I(E1)[2])}U.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function D(e1,d1,E1,K1){return d1?"kelios sekund\u0117s":K1?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:$,m:F,mm:$,h:F,hh:$,d:F,dd:$,M:F,MM:$,y:F,yy:$},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e1){return e1+"-oji"},week:{dow:1,doy:4}})}(W(7586))},2621:function(r1,t1,W){!function(U){"use strict";var M={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function D(q,e1,d1){return d1?e1%10==1&&e1%100!=11?q[2]:q[3]:e1%10==1&&e1%100!=11?q[0]:q[1]}function F(q,e1,d1){return q+" "+D(M[d1],q,e1)}function N(q,e1,d1){return D(M[d1],q,e1)}U.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function I(q,e1){return e1?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:F,m:N,mm:F,h:N,hh:F,d:N,dd:F,M:N,MM:F,y:N,yy:F},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},5869:function(r1,t1,W){!function(U){"use strict";var M={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(F,N){return 1===F?N[0]:F>=2&&F<=4?N[1]:N[2]},translate:function(F,N,I){var $=M.words[I];return 1===I.length?N?$[0]:$[1]:F+" "+M.correctGrammaticalCase(F,$)}};U.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:M.translate,m:M.translate,mm:M.translate,h:M.translate,hh:M.translate,d:"dan",dd:M.translate,M:"mjesec",MM:M.translate,y:"godinu",yy:M.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(W(7586))},5881:function(r1,t1,W){!function(U){"use strict";U.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(W(7586))},2391:function(r1,t1,W){!function(U){"use strict";U.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(D){var F=D%10,N=D%100;return 0===D?D+"-\u0435\u0432":0===N?D+"-\u0435\u043d":N>10&&N<20?D+"-\u0442\u0438":1===F?D+"-\u0432\u0438":2===F?D+"-\u0440\u0438":7===F||8===F?D+"-\u043c\u0438":D+"-\u0442\u0438"},week:{dow:1,doy:7}})}(W(7586))},1126:function(r1,t1,W){!function(U){"use strict";U.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(D,F){return 12===D&&(D=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===F&&D>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===F||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===F?D+12:D},meridiem:function(D,F,N){return D<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":D<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":D<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":D<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(W(7586))},4892:function(r1,t1,W){!function(U){"use strict";function M(F,N,I,$){switch(I){case"s":return N?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return F+(N?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return F+(N?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return F+(N?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return F+(N?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return F+(N?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return F+(N?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return F}}U.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(F){return"\u04ae\u0425"===F},meridiem:function(F,N,I){return F<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:M,M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(F,N){switch(N){case"d":case"D":case"DDD":return F+" \u04e9\u0434\u04e9\u0440";default:return F}}})}(W(7586))},9080:function(r1,t1,W){!function(U){"use strict";var M={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},D={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function F(I,$,q,e1){var d1="";if($)switch(q){case"s":d1="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":d1="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":d1="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":d1="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":d1="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":d1="%d \u0924\u093e\u0938";break;case"d":d1="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":d1="%d \u0926\u093f\u0935\u0938";break;case"M":d1="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":d1="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":d1="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":d1="%d \u0935\u0930\u094d\u0937\u0947"}else switch(q){case"s":d1="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":d1="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":d1="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":d1="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":d1="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":d1="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":d1="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":d1="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":d1="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":d1="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":d1="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":d1="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return d1.replace(/%d/i,I)}U.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:F,ss:F,m:F,mm:F,h:F,hh:F,d:F,dd:F,M:F,MM:F,y:F,yy:F},preparse:function(I){return I.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function($){return D[$]})},postformat:function(I){return I.replace(/\d/g,function($){return M[$]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(I,$){return 12===I&&(I=0),"\u092a\u0939\u093e\u091f\u0947"===$||"\u0938\u0915\u093e\u0933\u0940"===$?I:"\u0926\u0941\u092a\u093e\u0930\u0940"===$||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===$||"\u0930\u093e\u0924\u094d\u0930\u0940"===$?I>=12?I:I+12:void 0},meridiem:function(I,$,q){return I>=0&&I<6?"\u092a\u0939\u093e\u091f\u0947":I<12?"\u0938\u0915\u093e\u0933\u0940":I<17?"\u0926\u0941\u092a\u093e\u0930\u0940":I<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(W(7586))},5950:function(r1,t1,W){!function(U){"use strict";U.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(D,F){return 12===D&&(D=0),"pagi"===F?D:"tengahari"===F?D>=11?D:D+12:"petang"===F||"malam"===F?D+12:void 0},meridiem:function(D,F,N){return D<11?"pagi":D<15?"tengahari":D<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(W(7586))},399:function(r1,t1,W){!function(U){"use strict";U.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(D,F){return 12===D&&(D=0),"pagi"===F?D:"tengahari"===F?D>=11?D:D+12:"petang"===F||"malam"===F?D+12:void 0},meridiem:function(D,F,N){return D<11?"pagi":D<15?"tengahari":D<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(W(7586))},9902:function(r1,t1,W){!function(U){"use strict";U.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(W(7586))},2985:function(r1,t1,W){!function(U){"use strict";var M={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},D={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};U.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(N){return N.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(I){return D[I]})},postformat:function(N){return N.replace(/\d/g,function(I){return M[I]})},week:{dow:1,doy:4}})}(W(7586))},7859:function(r1,t1,W){!function(U){"use strict";U.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"\xe9n time",hh:"%d timer",d:"\xe9n dag",dd:"%d dager",w:"\xe9n uke",ww:"%d uker",M:"\xe9n m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},3642:function(r1,t1,W){!function(U){"use strict";var M={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},D={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};U.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(N){return N.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(I){return D[I]})},postformat:function(N){return N.replace(/\d/g,function(I){return M[I]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(N,I){return 12===N&&(N=0),"\u0930\u093e\u0924\u093f"===I?N<4?N:N+12:"\u092c\u093f\u0939\u093e\u0928"===I?N:"\u0926\u093f\u0909\u0901\u0938\u094b"===I?N>=10?N:N+12:"\u0938\u093e\u0901\u091d"===I?N+12:void 0},meridiem:function(N,I,$){return N<3?"\u0930\u093e\u0924\u093f":N<12?"\u092c\u093f\u0939\u093e\u0928":N<16?"\u0926\u093f\u0909\u0901\u0938\u094b":N<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(W(7586))},9875:function(r1,t1,W){!function(U){"use strict";var M="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),D="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),F=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],N=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;U.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function($,q){return $?/-MMM-/.test(q)?D[$.month()]:M[$.month()]:M},monthsRegex:N,monthsShortRegex:N,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:F,longMonthsParse:F,shortMonthsParse:F,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function($){return $+(1===$||8===$||$>=20?"ste":"de")},week:{dow:1,doy:4}})}(W(7586))},5441:function(r1,t1,W){!function(U){"use strict";var M="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),D="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),F=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],N=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;U.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function($,q){return $?/-MMM-/.test(q)?D[$.month()]:M[$.month()]:M},monthsRegex:N,monthsShortRegex:N,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:F,longMonthsParse:F,shortMonthsParse:F,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function($){return $+(1===$||8===$||$>=20?"ste":"de")},week:{dow:1,doy:4}})}(W(7586))},1311:function(r1,t1,W){!function(U){"use strict";U.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},2567:function(r1,t1,W){!function(U){"use strict";U.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(D,F){var N=1===D?"r":2===D?"n":3===D?"r":4===D?"t":"\xe8";return("w"===F||"W"===F)&&(N="a"),D+N},week:{dow:1,doy:4}})}(W(7586))},6962:function(r1,t1,W){!function(U){"use strict";var M={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},D={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};U.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(N){return N.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(I){return D[I]})},postformat:function(N){return N.replace(/\d/g,function(I){return M[I]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(N,I){return 12===N&&(N=0),"\u0a30\u0a3e\u0a24"===I?N<4?N:N+12:"\u0a38\u0a35\u0a47\u0a30"===I?N:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===I?N>=10?N:N+12:"\u0a38\u0a3c\u0a3e\u0a2e"===I?N+12:void 0},meridiem:function(N,I,$){return N<4?"\u0a30\u0a3e\u0a24":N<10?"\u0a38\u0a35\u0a47\u0a30":N<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":N<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(W(7586))},1063:function(r1,t1,W){!function(U){"use strict";var M="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),D="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),F=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function N(q){return q%10<5&&q%10>1&&~~(q/10)%10!=1}function I(q,e1,d1){var E1=q+" ";switch(d1){case"ss":return E1+(N(q)?"sekundy":"sekund");case"m":return e1?"minuta":"minut\u0119";case"mm":return E1+(N(q)?"minuty":"minut");case"h":return e1?"godzina":"godzin\u0119";case"hh":return E1+(N(q)?"godziny":"godzin");case"ww":return E1+(N(q)?"tygodnie":"tygodni");case"MM":return E1+(N(q)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return E1+(N(q)?"lata":"lat")}}U.defineLocale("pl",{months:function(q,e1){return q?/D MMMM/.test(e1)?D[q.month()]:M[q.month()]:M},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:F,longMonthsParse:F,shortMonthsParse:F,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:I,m:I,mm:I,h:I,hh:I,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:I,M:"miesi\u0105c",MM:I,y:"rok",yy:I},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},7476:function(r1,t1,W){!function(U){"use strict";U.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(W(7586))},8719:function(r1,t1,W){!function(U){"use strict";U.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(W(7586))},1004:function(r1,t1,W){!function(U){"use strict";function M(F,N,I){var q=" ";return(F%100>=20||F>=100&&F%100==0)&&(q=" de "),F+q+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[I]}U.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:M,m:"un minut",mm:M,h:"o or\u0103",hh:M,d:"o zi",dd:M,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:M,M:"o lun\u0103",MM:M,y:"un an",yy:M},week:{dow:1,doy:7}})}(W(7586))},1326:function(r1,t1,W){!function(U){"use strict";function D(I,$,q){return"m"===q?$?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":I+" "+function M(I,$){var q=I.split("_");return $%10==1&&$%100!=11?q[0]:$%10>=2&&$%10<=4&&($%100<10||$%100>=20)?q[1]:q[2]}({ss:$?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:$?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[q],+I)}var F=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];U.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:F,longMonthsParse:F,shortMonthsParse:F,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(I){if(I.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(I){if(I.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:D,m:D,mm:D,h:"\u0447\u0430\u0441",hh:D,d:"\u0434\u0435\u043d\u044c",dd:D,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:D,M:"\u043c\u0435\u0441\u044f\u0446",MM:D,y:"\u0433\u043e\u0434",yy:D},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(I){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(I)},meridiem:function(I,$,q){return I<4?"\u043d\u043e\u0447\u0438":I<12?"\u0443\u0442\u0440\u0430":I<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(I,$){switch($){case"M":case"d":case"DDD":return I+"-\u0439";case"D":return I+"-\u0433\u043e";case"w":case"W":return I+"-\u044f";default:return I}},week:{dow:1,doy:4}})}(W(7586))},2608:function(r1,t1,W){!function(U){"use strict";var M=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],D=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];U.defineLocale("sd",{months:M,monthsShort:M,weekdays:D,weekdaysShort:D,weekdaysMin:D,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(N){return"\u0634\u0627\u0645"===N},meridiem:function(N,I,$){return N<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(N){return N.replace(/\u060c/g,",")},postformat:function(N){return N.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(W(7586))},3911:function(r1,t1,W){!function(U){"use strict";U.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},5147:function(r1,t1,W){!function(U){"use strict";U.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(D){return D+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(D){return"\u0db4.\u0dc0."===D||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===D},meridiem:function(D,F,N){return D>11?N?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":N?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(W(7586))},3741:function(r1,t1,W){!function(U){"use strict";var M="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),D="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function F($){return $>1&&$<5}function N($,q,e1,d1){var E1=$+" ";switch(e1){case"s":return q||d1?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return q||d1?E1+(F($)?"sekundy":"sek\xfand"):E1+"sekundami";case"m":return q?"min\xfata":d1?"min\xfatu":"min\xfatou";case"mm":return q||d1?E1+(F($)?"min\xfaty":"min\xfat"):E1+"min\xfatami";case"h":return q?"hodina":d1?"hodinu":"hodinou";case"hh":return q||d1?E1+(F($)?"hodiny":"hod\xedn"):E1+"hodinami";case"d":return q||d1?"de\u0148":"d\u0148om";case"dd":return q||d1?E1+(F($)?"dni":"dn\xed"):E1+"d\u0148ami";case"M":return q||d1?"mesiac":"mesiacom";case"MM":return q||d1?E1+(F($)?"mesiace":"mesiacov"):E1+"mesiacmi";case"y":return q||d1?"rok":"rokom";case"yy":return q||d1?E1+(F($)?"roky":"rokov"):E1+"rokmi"}}U.defineLocale("sk",{months:M,monthsShort:D,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:N,ss:N,m:N,mm:N,h:N,hh:N,d:N,dd:N,M:N,MM:N,y:N,yy:N},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},3e3:function(r1,t1,W){!function(U){"use strict";function M(F,N,I,$){var q=F+" ";switch(I){case"s":return N||$?"nekaj sekund":"nekaj sekundami";case"ss":return q+(1===F?N?"sekundo":"sekundi":2===F?N||$?"sekundi":"sekundah":F<5?N||$?"sekunde":"sekundah":"sekund");case"m":return N?"ena minuta":"eno minuto";case"mm":return q+(1===F?N?"minuta":"minuto":2===F?N||$?"minuti":"minutama":F<5?N||$?"minute":"minutami":N||$?"minut":"minutami");case"h":return N?"ena ura":"eno uro";case"hh":return q+(1===F?N?"ura":"uro":2===F?N||$?"uri":"urama":F<5?N||$?"ure":"urami":N||$?"ur":"urami");case"d":return N||$?"en dan":"enim dnem";case"dd":return q+(1===F?N||$?"dan":"dnem":2===F?N||$?"dni":"dnevoma":N||$?"dni":"dnevi");case"M":return N||$?"en mesec":"enim mesecem";case"MM":return q+(1===F?N||$?"mesec":"mesecem":2===F?N||$?"meseca":"mesecema":F<5?N||$?"mesece":"meseci":N||$?"mesecev":"meseci");case"y":return N||$?"eno leto":"enim letom";case"yy":return q+(1===F?N||$?"leto":"letom":2===F?N||$?"leti":"letoma":F<5?N||$?"leta":"leti":N||$?"let":"leti")}}U.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:M,M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(W(7586))},451:function(r1,t1,W){!function(U){"use strict";U.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(D){return"M"===D.charAt(0)},meridiem:function(D,F,N){return D<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},905:function(r1,t1,W){!function(U){"use strict";var M={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(F,N){return F%10>=1&&F%10<=4&&(F%100<10||F%100>=20)?F%10==1?N[0]:N[1]:N[2]},translate:function(F,N,I,$){var e1,q=M.words[I];return 1===I.length?"y"===I&&N?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":$||N?q[0]:q[1]:(e1=M.correctGrammaticalCase(F,q),"yy"===I&&N&&"\u0433\u043e\u0434\u0438\u043d\u0443"===e1?F+" \u0433\u043e\u0434\u0438\u043d\u0430":F+" "+e1)}};U.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:M.translate,m:M.translate,mm:M.translate,h:M.translate,hh:M.translate,d:M.translate,dd:M.translate,M:M.translate,MM:M.translate,y:M.translate,yy:M.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(W(7586))},5046:function(r1,t1,W){!function(U){"use strict";var M={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(F,N){return F%10>=1&&F%10<=4&&(F%100<10||F%100>=20)?F%10==1?N[0]:N[1]:N[2]},translate:function(F,N,I,$){var e1,q=M.words[I];return 1===I.length?"y"===I&&N?"jedna godina":$||N?q[0]:q[1]:(e1=M.correctGrammaticalCase(F,q),"yy"===I&&N&&"godinu"===e1?F+" godina":F+" "+e1)}};U.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:M.translate,m:M.translate,mm:M.translate,h:M.translate,hh:M.translate,d:M.translate,dd:M.translate,M:M.translate,MM:M.translate,y:M.translate,yy:M.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(W(7586))},5765:function(r1,t1,W){!function(U){"use strict";U.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(D,F,N){return D<11?"ekuseni":D<15?"emini":D<19?"entsambama":"ebusuku"},meridiemHour:function(D,F){return 12===D&&(D=0),"ekuseni"===F?D:"emini"===F?D>=11?D:D+12:"entsambama"===F||"ebusuku"===F?0===D?0:D+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(W(7586))},9290:function(r1,t1,W){!function(U){"use strict";U.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(D){var F=D%10;return D+(1==~~(D%100/10)?":e":1===F||2===F?":a":":e")},week:{dow:1,doy:4}})}(W(7586))},3449:function(r1,t1,W){!function(U){"use strict";U.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(W(7586))},2688:function(r1,t1,W){!function(U){"use strict";var M={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},D={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};U.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(N){return N+"\u0bb5\u0ba4\u0bc1"},preparse:function(N){return N.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(I){return D[I]})},postformat:function(N){return N.replace(/\d/g,function(I){return M[I]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(N,I,$){return N<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":N<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":N<10?" \u0b95\u0bbe\u0bb2\u0bc8":N<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":N<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":N<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(N,I){return 12===N&&(N=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===I?N<2?N:N+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===I||"\u0b95\u0bbe\u0bb2\u0bc8"===I||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===I&&N>=10?N:N+12},week:{dow:0,doy:6}})}(W(7586))},2060:function(r1,t1,W){!function(U){"use strict";U.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(D,F){return 12===D&&(D=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===F?D<4?D:D+12:"\u0c09\u0c26\u0c2f\u0c02"===F?D:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===F?D>=10?D:D+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===F?D+12:void 0},meridiem:function(D,F,N){return D<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":D<10?"\u0c09\u0c26\u0c2f\u0c02":D<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":D<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(W(7586))},3290:function(r1,t1,W){!function(U){"use strict";U.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(D){var F=D%10;return D+(1==~~(D%100/10)?"th":1===F?"st":2===F?"nd":3===F?"rd":"th")},week:{dow:1,doy:4}})}(W(7586))},8294:function(r1,t1,W){!function(U){"use strict";var M={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};U.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(F,N){return 12===F&&(F=0),"\u0448\u0430\u0431"===N?F<4?F:F+12:"\u0441\u0443\u0431\u04b3"===N?F:"\u0440\u04ef\u0437"===N?F>=11?F:F+12:"\u0431\u0435\u0433\u043e\u04b3"===N?F+12:void 0},meridiem:function(F,N,I){return F<4?"\u0448\u0430\u0431":F<11?"\u0441\u0443\u0431\u04b3":F<16?"\u0440\u04ef\u0437":F<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(F){return F+(M[F]||M[F%10]||M[F>=100?100:null])},week:{dow:1,doy:7}})}(W(7586))},1231:function(r1,t1,W){!function(U){"use strict";U.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(D){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===D},meridiem:function(D,F,N){return D<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(W(7586))},3746:function(r1,t1,W){!function(U){"use strict";var M={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};U.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(F,N){switch(N){case"d":case"D":case"Do":case"DD":return F;default:if(0===F)return F+"'unjy";var I=F%10;return F+(M[I]||M[F%100-I]||M[F>=100?100:null])}},week:{dow:1,doy:7}})}(W(7586))},9040:function(r1,t1,W){!function(U){"use strict";U.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(D){return D},week:{dow:1,doy:4}})}(W(7586))},7187:function(r1,t1,W){!function(U){"use strict";var M="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function N(q,e1,d1,E1){var K1=function I(q){var e1=Math.floor(q%1e3/100),d1=Math.floor(q%100/10),E1=q%10,K1="";return e1>0&&(K1+=M[e1]+"vatlh"),d1>0&&(K1+=(""!==K1?" ":"")+M[d1]+"maH"),E1>0&&(K1+=(""!==K1?" ":"")+M[E1]),""===K1?"pagh":K1}(q);switch(d1){case"ss":return K1+" lup";case"mm":return K1+" tup";case"hh":return K1+" rep";case"dd":return K1+" jaj";case"MM":return K1+" jar";case"yy":return K1+" DIS"}}U.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function D(q){var e1=q;return-1!==q.indexOf("jaj")?e1.slice(0,-3)+"leS":-1!==q.indexOf("jar")?e1.slice(0,-3)+"waQ":-1!==q.indexOf("DIS")?e1.slice(0,-3)+"nem":e1+" pIq"},past:function F(q){var e1=q;return-1!==q.indexOf("jaj")?e1.slice(0,-3)+"Hu\u2019":-1!==q.indexOf("jar")?e1.slice(0,-3)+"wen":-1!==q.indexOf("DIS")?e1.slice(0,-3)+"ben":e1+" ret"},s:"puS lup",ss:N,m:"wa\u2019 tup",mm:N,h:"wa\u2019 rep",hh:N,d:"wa\u2019 jaj",dd:N,M:"wa\u2019 jar",MM:N,y:"wa\u2019 DIS",yy:N},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},153:function(r1,t1,W){!function(U){"use strict";var M={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};U.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(F,N,I){return F<12?I?"\xf6\xf6":"\xd6\xd6":I?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(F){return"\xf6s"===F||"\xd6S"===F},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(F,N){switch(N){case"d":case"D":case"Do":case"DD":return F;default:if(0===F)return F+"'\u0131nc\u0131";var I=F%10;return F+(M[I]||M[F%100-I]||M[F>=100?100:null])}},week:{dow:1,doy:7}})}(W(7586))},8521:function(r1,t1,W){!function(U){"use strict";function D(F,N,I,$){var q={s:["viensas secunds","'iensas secunds"],ss:[F+" secunds",F+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[F+" m\xeduts",F+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[F+" \xfeoras",F+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[F+" ziuas",F+" ziuas"],M:["'n mes","'iens mes"],MM:[F+" mesen",F+" mesen"],y:["'n ar","'iens ar"],yy:[F+" ars",F+" ars"]};return $||N?q[I][0]:q[I][1]}U.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(F){return"d'o"===F.toLowerCase()},meridiem:function(F,N,I){return F>11?I?"d'o":"D'O":I?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:D,ss:D,m:D,mm:D,h:D,hh:D,d:D,dd:D,M:D,MM:D,y:D,yy:D},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},2234:function(r1,t1,W){!function(U){"use strict";U.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(W(7586))},8010:function(r1,t1,W){!function(U){"use strict";U.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(W(7586))},3349:function(r1,t1,W){!function(U){"use strict";U.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(D,F){return 12===D&&(D=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===F||"\u0633\u06d5\u06be\u06d5\u0631"===F||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===F?D:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===F||"\u0643\u06d5\u0686"===F?D+12:D>=11?D:D+12},meridiem:function(D,F,N){var I=100*D+F;return I<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":I<900?"\u0633\u06d5\u06be\u06d5\u0631":I<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":I<1230?"\u0686\u06c8\u0634":I<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(D,F){switch(F){case"d":case"D":case"DDD":return D+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return D+"-\u06be\u06d5\u067e\u062a\u06d5";default:return D}},preparse:function(D){return D.replace(/\u060c/g,",")},postformat:function(D){return D.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(W(7586))},8479:function(r1,t1,W){!function(U){"use strict";function D($,q,e1){return"m"===e1?q?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===e1?q?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":$+" "+function M($,q){var e1=$.split("_");return q%10==1&&q%100!=11?e1[0]:q%10>=2&&q%10<=4&&(q%100<10||q%100>=20)?e1[1]:e1[2]}({ss:q?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:q?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:q?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[e1],+$)}function N($){return function(){return $+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}U.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function F($,q){var e1={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===$?e1.nominative.slice(1,7).concat(e1.nominative.slice(0,1)):$?e1[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(q)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(q)?"genitive":"nominative"][$.day()]:e1.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:N("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:N("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:N("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:N("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return N("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return N("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:D,m:D,mm:D,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:D,d:"\u0434\u0435\u043d\u044c",dd:D,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:D,y:"\u0440\u0456\u043a",yy:D},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function($){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test($)},meridiem:function($,q,e1){return $<4?"\u043d\u043e\u0447\u0456":$<12?"\u0440\u0430\u043d\u043a\u0443":$<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function($,q){switch(q){case"M":case"d":case"DDD":case"w":case"W":return $+"-\u0439";case"D":return $+"-\u0433\u043e";default:return $}},week:{dow:1,doy:7}})}(W(7586))},3024:function(r1,t1,W){!function(U){"use strict";var M=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],D=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];U.defineLocale("ur",{months:M,monthsShort:M,weekdays:D,weekdaysShort:D,weekdaysMin:D,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(N){return"\u0634\u0627\u0645"===N},meridiem:function(N,I,$){return N<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(N){return N.replace(/\u060c/g,",")},postformat:function(N){return N.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(W(7586))},2376:function(r1,t1,W){!function(U){"use strict";U.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(W(7586))},9800:function(r1,t1,W){!function(U){"use strict";U.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(W(7586))},9366:function(r1,t1,W){!function(U){"use strict";U.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(D){return/^ch$/i.test(D)},meridiem:function(D,F,N){return D<12?N?"sa":"SA":N?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(D){return D},week:{dow:1,doy:4}})}(W(7586))},9702:function(r1,t1,W){!function(U){"use strict";U.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(D){var F=D%10;return D+(1==~~(D%100/10)?"th":1===F?"st":2===F?"nd":3===F?"rd":"th")},week:{dow:1,doy:4}})}(W(7586))},2655:function(r1,t1,W){!function(U){"use strict";U.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(W(7586))},575:function(r1,t1,W){!function(U){"use strict";U.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(D,F){return 12===D&&(D=0),"\u51cc\u6668"===F||"\u65e9\u4e0a"===F||"\u4e0a\u5348"===F?D:"\u4e0b\u5348"===F||"\u665a\u4e0a"===F?D+12:D>=11?D:D+12},meridiem:function(D,F,N){var I=100*D+F;return I<600?"\u51cc\u6668":I<900?"\u65e9\u4e0a":I<1130?"\u4e0a\u5348":I<1230?"\u4e2d\u5348":I<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(D){return D.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(D){return this.week()!==D.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(D,F){switch(F){case"d":case"D":case"DDD":return D+"\u65e5";case"M":return D+"\u6708";case"w":case"W":return D+"\u5468";default:return D}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(W(7586))},8351:function(r1,t1,W){!function(U){"use strict";U.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(D,F){return 12===D&&(D=0),"\u51cc\u6668"===F||"\u65e9\u4e0a"===F||"\u4e0a\u5348"===F?D:"\u4e2d\u5348"===F?D>=11?D:D+12:"\u4e0b\u5348"===F||"\u665a\u4e0a"===F?D+12:void 0},meridiem:function(D,F,N){var I=100*D+F;return I<600?"\u51cc\u6668":I<900?"\u65e9\u4e0a":I<1200?"\u4e0a\u5348":1200===I?"\u4e2d\u5348":I<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(D,F){switch(F){case"d":case"D":case"DDD":return D+"\u65e5";case"M":return D+"\u6708";case"w":case"W":return D+"\u9031";default:return D}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(W(7586))},1626:function(r1,t1,W){!function(U){"use strict";U.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(D,F){return 12===D&&(D=0),"\u51cc\u6668"===F||"\u65e9\u4e0a"===F||"\u4e0a\u5348"===F?D:"\u4e2d\u5348"===F?D>=11?D:D+12:"\u4e0b\u5348"===F||"\u665a\u4e0a"===F?D+12:void 0},meridiem:function(D,F,N){var I=100*D+F;return I<600?"\u51cc\u6668":I<900?"\u65e9\u4e0a":I<1130?"\u4e0a\u5348":I<1230?"\u4e2d\u5348":I<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(D,F){switch(F){case"d":case"D":case"DDD":return D+"\u65e5";case"M":return D+"\u6708";case"w":case"W":return D+"\u9031";default:return D}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(W(7586))},8887:function(r1,t1,W){!function(U){"use strict";U.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(D,F){return 12===D&&(D=0),"\u51cc\u6668"===F||"\u65e9\u4e0a"===F||"\u4e0a\u5348"===F?D:"\u4e2d\u5348"===F?D>=11?D:D+12:"\u4e0b\u5348"===F||"\u665a\u4e0a"===F?D+12:void 0},meridiem:function(D,F,N){var I=100*D+F;return I<600?"\u51cc\u6668":I<900?"\u65e9\u4e0a":I<1130?"\u4e0a\u5348":I<1230?"\u4e2d\u5348":I<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(D,F){switch(F){case"d":case"D":case"DDD":return D+"\u65e5";case"M":return D+"\u6708";case"w":case"W":return D+"\u9031";default:return D}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(W(7586))},7586:function(r1,t1,W){(r1=W.nmd(r1)).exports=function(){"use strict";var U,x3;function M(){return U.apply(null,arguments)}function F(g){return g instanceof Array||"[object Array]"===Object.prototype.toString.call(g)}function N(g){return null!=g&&"[object Object]"===Object.prototype.toString.call(g)}function I(g,L){return Object.prototype.hasOwnProperty.call(g,L)}function $(g){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(g).length;var L;for(L in g)if(I(g,L))return!1;return!0}function q(g){return void 0===g}function e1(g){return"number"==typeof g||"[object Number]"===Object.prototype.toString.call(g)}function d1(g){return g instanceof Date||"[object Date]"===Object.prototype.toString.call(g)}function E1(g,L){var A,T=[],G=g.length;for(A=0;A>>0;for(A=0;A0)for(T=0;T=0?T?"+":"":"-")+Math.pow(10,Math.max(0,L-A.length)).toString().substr(1)+A}var qa=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ye=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ti={},N8={};function I1(g,L,T,A){var G=A;"string"==typeof A&&(G=function(){return this[A]()}),g&&(N8[g]=G),L&&(N8[L[0]]=function(){return n6(G.apply(this,arguments),L[1],L[2])}),T&&(N8[T]=function(){return this.localeData().ordinal(G.apply(this,arguments),g)})}function rf(g){return g.match(/\[[\s\S]/)?g.replace(/^\[|\]$/g,""):g.replace(/\\/g,"")}function k5(g,L){return g.isValid()?(L=ii(L,g.localeData()),ti[L]=ti[L]||function Vz(g){var T,A,L=g.match(qa);for(T=0,A=L.length;T=0&&ye.test(g);)g=g.replace(ye,A),ye.lastIndex=0,T-=1;return g}var Ka={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function w3(g){return"string"==typeof g?Ka[g]||Ka[g.toLowerCase()]:void 0}function W6(g){var T,A,L={};for(A in g)I(g,A)&&(T=w3(A))&&(L[T]=g[A]);return L}var N5={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};var E5,D8=/\d/,F3=/\d\d/,li=/\d{3}/,Qa=/\d{4}/,be=/[+-]?\d{6}/,w2=/\d\d?/,T8=/\d\d\d\d?/,fi=/\d\d\d\d\d\d?/,xe=/\d{1,3}/,Ja=/\d{1,4}/,we=/[+-]?\d{1,6}/,Fe=/\d+/,H0=/[+-]?\d+/,D5=/Z|[+-]\d\d:?\d\d/gi,T5=/Z|[+-]\d\d(?::?\d\d)?/gi,E8=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,C0=/^[1-9]\d?/,s6=/^([1-9]\d|\d)/;function k1(g,L,T){E5[g]=q6(L)?L:function(A,G){return A&&T?T:L}}function l4(g,L){return I(E5,g)?E5[g](L._strict,L._locale):new RegExp(function di(g){return Z6(g.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(L,T,A,G,Q){return T||A||G||Q}))}(g))}function Z6(g){return g.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Z3(g){return g<0?Math.ceil(g)||0:Math.floor(g)}function m2(g){var L=+g,T=0;return 0!==L&&isFinite(L)&&(T=Z3(L)),T}E5={};var G2={};function D2(g,L){var T,G,A=L;for("string"==typeof g&&(g=[g]),e1(L)&&(A=function(Q,o1){o1[L]=m2(Q)}),G=g.length,T=0;T68?1900:2e3)};var q2,nf=h3("FullYear",!0);function h3(g,L){return function(T){return null!=T?(ce(this,g,T),M.updateOffset(this,L),this):S6(this,g)}}function S6(g,L){if(!g.isValid())return NaN;var T=g._d,A=g._isUTC;switch(L){case"Milliseconds":return A?T.getUTCMilliseconds():T.getMilliseconds();case"Seconds":return A?T.getUTCSeconds():T.getSeconds();case"Minutes":return A?T.getUTCMinutes():T.getMinutes();case"Hours":return A?T.getUTCHours():T.getHours();case"Date":return A?T.getUTCDate():T.getDate();case"Day":return A?T.getUTCDay():T.getDay();case"Month":return A?T.getUTCMonth():T.getMonth();case"FullYear":return A?T.getUTCFullYear():T.getFullYear();default:return NaN}}function ce(g,L,T){var A,G,Q,o1,F1;if(g.isValid()&&!isNaN(T)){switch(A=g._d,G=g._isUTC,L){case"Milliseconds":return void(G?A.setUTCMilliseconds(T):A.setMilliseconds(T));case"Seconds":return void(G?A.setUTCSeconds(T):A.setSeconds(T));case"Minutes":return void(G?A.setUTCMinutes(T):A.setMinutes(T));case"Hours":return void(G?A.setUTCHours(T):A.setHours(T));case"Date":return void(G?A.setUTCDate(T):A.setDate(T));case"FullYear":break;default:return}Q=T,o1=g.month(),F1=29!==(F1=g.date())||1!==o1||i4(Q)?F1:28,G?A.setUTCFullYear(Q,o1,F1):A.setFullYear(Q,o1,F1)}}function pi(g,L){if(isNaN(g)||isNaN(L))return NaN;var T=function e7(g,L){return(g%L+L)%L}(L,12);return g+=(L-T)/12,1===T?i4(g)?29:28:31-T%7%2}q2=Array.prototype.indexOf?Array.prototype.indexOf:function(g){var L;for(L=0;L=0?(F1=new Date(g+400,L,T,A,G,Q,o1),isFinite(F1.getFullYear())&&F1.setFullYear(g)):F1=new Date(g,L,T,A,G,Q,o1),F1}function J3(g){var L,T;return g<100&&g>=0?((T=Array.prototype.slice.call(arguments))[0]=g+400,L=new Date(Date.UTC.apply(null,T)),isFinite(L.getUTCFullYear())&&L.setUTCFullYear(g)):L=new Date(Date.UTC.apply(null,arguments)),L}function a7(g,L,T){var A=7+L-T;return-(7+J3(g,0,A).getUTCDay()-L)%7+A-1}function uf(g,L,T,A,G){var c2,p2,F1=1+7*(L-1)+(7+T-A)%7+a7(g,A,G);return F1<=0?p2=P5(c2=g-1)+F1:F1>P5(g)?(c2=g+1,p2=F1-P5(g)):(c2=g,p2=F1),{year:c2,dayOfYear:p2}}function B5(g,L,T){var Q,o1,A=a7(g.year(),L,T),G=Math.floor((g.dayOfYear()-A-1)/7)+1;return G<1?Q=G+z0(o1=g.year()-1,L,T):G>z0(g.year(),L,T)?(Q=G-z0(g.year(),L,T),o1=g.year()+1):(o1=g.year(),Q=G),{week:Q,year:o1}}function z0(g,L,T){var A=a7(g,L,T),G=a7(g+1,L,T);return(P5(g)-A+G)/7}I1("w",["ww",2],"wo","week"),I1("W",["WW",2],"Wo","isoWeek"),k1("w",w2,C0),k1("ww",w2,F3),k1("W",w2,C0),k1("WW",w2,F3),a3(["w","ww","W","WW"],function(g,L,T,A){L[A.substr(0,1)]=m2(g)});function vi(g,L){return g.slice(L,7).concat(g.slice(0,L))}I1("d",0,"do","day"),I1("dd",0,0,function(g){return this.localeData().weekdaysMin(this,g)}),I1("ddd",0,0,function(g){return this.localeData().weekdaysShort(this,g)}),I1("dddd",0,0,function(g){return this.localeData().weekdays(this,g)}),I1("e",0,0,"weekday"),I1("E",0,0,"isoWeekday"),k1("d",w2),k1("e",w2),k1("E",w2),k1("dd",function(g,L){return L.weekdaysMinRegex(g)}),k1("ddd",function(g,L){return L.weekdaysShortRegex(g)}),k1("dddd",function(g,L){return L.weekdaysRegex(g)}),a3(["dd","ddd","dddd"],function(g,L,T,A){var G=T._locale.weekdaysParse(g,A,T._strict);null!=G?L.d=G:y1(T).invalidWeekday=g}),a3(["d","e","E"],function(g,L,T,A){L[A]=m2(g)});var Nz="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),_f="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),g1="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Dz=E8,g4=E8,O5=E8;function I5(g,L,T){var A,G,Q,o1=g.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],A=0;A<7;++A)Q=l2([2e3,1]).day(A),this._minWeekdaysParse[A]=this.weekdaysMin(Q,"").toLocaleLowerCase(),this._shortWeekdaysParse[A]=this.weekdaysShort(Q,"").toLocaleLowerCase(),this._weekdaysParse[A]=this.weekdays(Q,"").toLocaleLowerCase();return T?"dddd"===L?-1!==(G=q2.call(this._weekdaysParse,o1))?G:null:"ddd"===L?-1!==(G=q2.call(this._shortWeekdaysParse,o1))?G:null:-1!==(G=q2.call(this._minWeekdaysParse,o1))?G:null:"dddd"===L?-1!==(G=q2.call(this._weekdaysParse,o1))||-1!==(G=q2.call(this._shortWeekdaysParse,o1))||-1!==(G=q2.call(this._minWeekdaysParse,o1))?G:null:"ddd"===L?-1!==(G=q2.call(this._shortWeekdaysParse,o1))||-1!==(G=q2.call(this._weekdaysParse,o1))||-1!==(G=q2.call(this._minWeekdaysParse,o1))?G:null:-1!==(G=q2.call(this._minWeekdaysParse,o1))||-1!==(G=q2.call(this._weekdaysParse,o1))||-1!==(G=q2.call(this._shortWeekdaysParse,o1))?G:null}function j5(){function g(G4,a0){return a0.length-G4.length}var Q,o1,F1,c2,p2,L=[],T=[],A=[],G=[];for(Q=0;Q<7;Q++)o1=l2([2e3,1]).day(Q),F1=Z6(this.weekdaysMin(o1,"")),c2=Z6(this.weekdaysShort(o1,"")),p2=Z6(this.weekdays(o1,"")),L.push(F1),T.push(c2),A.push(p2),G.push(F1),G.push(c2),G.push(p2);L.sort(g),T.sort(g),A.sort(g),G.sort(g),this._weekdaysRegex=new RegExp("^("+G.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+A.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+T.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+L.join("|")+")","i")}function A8(){return this.hours()%12||12}function $5(g,L){I1(g,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),L)})}function Cf(g,L){return L._meridiemParse}I1("H",["HH",2],0,"hour"),I1("h",["hh",2],0,A8),I1("k",["kk",2],0,function Hf(){return this.hours()||24}),I1("hmm",0,0,function(){return""+A8.apply(this)+n6(this.minutes(),2)}),I1("hmmss",0,0,function(){return""+A8.apply(this)+n6(this.minutes(),2)+n6(this.seconds(),2)}),I1("Hmm",0,0,function(){return""+this.hours()+n6(this.minutes(),2)}),I1("Hmmss",0,0,function(){return""+this.hours()+n6(this.minutes(),2)+n6(this.seconds(),2)}),$5("a",!0),$5("A",!1),k1("a",Cf),k1("A",Cf),k1("H",w2,s6),k1("h",w2,C0),k1("k",w2,C0),k1("HH",w2,F3),k1("hh",w2,F3),k1("kk",w2,F3),k1("hmm",T8),k1("hmmss",fi),k1("Hmm",T8),k1("Hmmss",fi),D2(["H","HH"],D4),D2(["k","kk"],function(g,L,T){var A=m2(g);L[D4]=24===A?0:A}),D2(["a","A"],function(g,L,T){T._isPm=T._locale.isPM(g),T._meridiem=g}),D2(["h","hh"],function(g,L,T){L[D4]=m2(g),y1(T).bigHour=!0}),D2("hmm",function(g,L,T){var A=g.length-2;L[D4]=m2(g.substr(0,A)),L[K3]=m2(g.substr(A)),y1(T).bigHour=!0}),D2("hmmss",function(g,L,T){var A=g.length-4,G=g.length-2;L[D4]=m2(g.substr(0,A)),L[K3]=m2(g.substr(A,2)),L[l1]=m2(g.substr(G)),y1(T).bigHour=!0}),D2("Hmm",function(g,L,T){var A=g.length-2;L[D4]=m2(g.substr(0,A)),L[K3]=m2(g.substr(A))}),D2("Hmmss",function(g,L,T){var A=g.length-4,G=g.length-2;L[D4]=m2(g.substr(0,A)),L[K3]=m2(g.substr(A,2)),L[l1]=m2(g.substr(G))});var Az=h3("Hours",!0);var Ne,Se={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:F2,monthsShort:sf,week:{dow:0,doy:6},weekdays:Nz,weekdaysMin:g1,weekdaysShort:_f,meridiemParse:/[ap]\.?m?\.?/i},W2={},ae={};function Q6(g,L){var T,A=Math.min(g.length,L.length);for(T=0;T0;){if(G=H2(Q.slice(0,T).join("-")))return G;if(A&&A.length>=T&&Q6(Q,A)>=T-1)break;T--}L++}return Ne}(g)}function P8(g){var L,T=g._a;return T&&-2===y1(g).overflow&&(L=T[K6]<0||T[K6]>11?K6:T[J1]<1||T[J1]>pi(T[_2],T[K6])?J1:T[D4]<0||T[D4]>24||24===T[D4]&&(0!==T[K3]||0!==T[l1]||0!==T[Q3])?D4:T[K3]<0||T[K3]>59?K3:T[l1]<0||T[l1]>59?l1:T[Q3]<0||T[Q3]>999?Q3:-1,y1(g)._overflowDayOfYear&&(L<_2||L>J1)&&(L=J1),y1(g)._overflowWeeks&&-1===L&&(L=A5),y1(g)._overflowWeekday&&-1===L&&(L=hi),y1(g).overflow=L),g}var u2=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,s7=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Vi=/Z|[+-]\d\d(?::?\d\d)?/,j4=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Y5=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Pz=/^\/?Date\((-?\d+)/i,Rz=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,R8={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function G5(g){var L,T,Q,o1,F1,c2,A=g._i,G=u2.exec(A)||s7.exec(A),p2=j4.length,G4=Y5.length;if(G){for(y1(g).iso=!0,L=0,T=p2;L7)&&(c2=!0)):(Q=g._locale._week.dow,o1=g._locale._week.doy,p2=B5(B2(),Q,o1),T=N3(L.gg,g._a[_2],p2.year),A=N3(L.w,p2.week),null!=L.d?((G=L.d)<0||G>6)&&(c2=!0):null!=L.e?(G=L.e+Q,(L.e<0||L.e>6)&&(c2=!0)):G=Q),A<1||A>z0(T,Q,o1)?y1(g)._overflowWeeks=!0:null!=c2?y1(g)._overflowWeekday=!0:(F1=uf(T,A,G,Q,o1),g._a[_2]=F1.year,g._dayOfYear=F1.dayOfYear)}(g),null!=g._dayOfYear&&(o1=N3(g._a[_2],G[_2]),(g._dayOfYear>P5(o1)||0===g._dayOfYear)&&(y1(g)._overflowDayOfYear=!0),T=J3(o1,0,g._dayOfYear),g._a[K6]=T.getUTCMonth(),g._a[J1]=T.getUTCDate()),L=0;L<3&&null==g._a[L];++L)g._a[L]=A[L]=G[L];for(;L<7;L++)g._a[L]=A[L]=null==g._a[L]?2===L?1:0:g._a[L];24===g._a[D4]&&0===g._a[K3]&&0===g._a[l1]&&0===g._a[Q3]&&(g._nextDay=!0,g._a[D4]=0),g._d=(g._useUTC?J3:xz).apply(null,A),Q=g._useUTC?g._d.getUTCDay():g._d.getDay(),null!=g._tzm&&g._d.setUTCMinutes(g._d.getUTCMinutes()-g._tzm),g._nextDay&&(g._a[D4]=24),g._w&&typeof g._w.d<"u"&&g._w.d!==Q&&(y1(g).weekdayMismatch=!0)}}function i1(g){if(g._f!==M.ISO_8601)if(g._f!==M.RFC_2822){g._a=[],y1(g).empty=!0;var T,A,G,Q,o1,p2,G4,L=""+g._i,F1=L.length,c2=0;for(G4=(G=ii(g._f,g._locale).match(qa)||[]).length,T=0;T0&&y1(g).unusedInput.push(o1),L=L.slice(L.indexOf(A)+A.length),c2+=A.length),N8[Q]?(A?y1(g).empty=!1:y1(g).unusedTokens.push(Q),ui(Q,A,g)):g._strict&&!A&&y1(g).unusedTokens.push(Q);y1(g).charsLeftOver=F1-c2,L.length>0&&y1(g).unusedInput.push(L),g._a[D4]<=12&&!0===y1(g).bigHour&&g._a[D4]>0&&(y1(g).bigHour=void 0),y1(g).parsedDateParts=g._a.slice(0),y1(g).meridiem=g._meridiem,g._a[D4]=function W5(g,L,T){var A;return null==T?L:null!=g.meridiemHour?g.meridiemHour(L,T):(null!=g.isPM&&((A=g.isPM(T))&&L<12&&(L+=12),!A&&12===L&&(L=0)),L)}(g._locale,g._a[D4],g._meridiem),null!==(p2=y1(g).era)&&(g._a[_2]=g._locale.erasConvertYear(p2,g._a[_2])),f1(g),P8(g)}else te(g);else G5(g)}function yi(g){var L=g._i,T=g._f;return g._locale=g._locale||V0(g._l),null===L||void 0===T&&""===L?X0({nullInput:!0}):("string"==typeof L&&(g._i=L=g._locale.preparse(L)),W3(L)?new Le(P8(L)):(d1(L)?g._d=L:F(T)?function l7(g){var L,T,A,G,Q,o1,F1=!1,c2=g._f.length;if(0===c2)return y1(g).invalidFormat=!0,void(g._d=new Date(NaN));for(G=0;Gthis?this:g:X0()});function xi(g,L){var T,A;if(1===L.length&&F(L[0])&&(L=L[0]),!L.length)return B2();for(T=L[0],A=1;A=0?new Date(g+400,L,T)-_7:new Date(g,L,T).valueOf()}function tc(g,L,T){return g<100&&g>=0?Date.UTC(g+400,L,T)-_7:Date.UTC(g,L,T)}function D3(g,L){return L.erasAbbrRegex(g)}function z7(){var G,Q,o1,F1,c2,g=[],L=[],T=[],A=[],p2=this.eras();for(G=0,Q=p2.length;G(Q=z0(g,A,G))&&(L=Q),ad.call(this,g,L,T,A,G))}function ad(g,L,T,A,G){var Q=uf(g,L,T,A,G),o1=J3(Q.year,0,Q.dayOfYear);return this.year(o1.getUTCFullYear()),this.month(o1.getUTCMonth()),this.date(o1.getUTCDate()),this}I1("N",0,0,"eraAbbr"),I1("NN",0,0,"eraAbbr"),I1("NNN",0,0,"eraAbbr"),I1("NNNN",0,0,"eraName"),I1("NNNNN",0,0,"eraNarrow"),I1("y",["y",1],"yo","eraYear"),I1("y",["yy",2],0,"eraYear"),I1("y",["yyy",3],0,"eraYear"),I1("y",["yyyy",4],0,"eraYear"),k1("N",D3),k1("NN",D3),k1("NNN",D3),k1("NNNN",function $i(g,L){return L.erasNameRegex(g)}),k1("NNNNN",function nc(g,L){return L.erasNarrowRegex(g)}),D2(["N","NN","NNN","NNNN","NNNNN"],function(g,L,T,A){var G=T._locale.erasParse(g,A,T._strict);G?y1(T).era=G:y1(T).invalidEra=g}),k1("y",Fe),k1("yy",Fe),k1("yyy",Fe),k1("yyyy",Fe),k1("yo",function Be(g,L){return L._eraYearOrdinalRegex||Fe}),D2(["y","yy","yyy","yyyy"],_2),D2(["yo"],function(g,L,T,A){var G;T._locale._eraYearOrdinalRegex&&(G=g.match(T._locale._eraYearOrdinalRegex)),L[_2]=T._locale.eraYearOrdinalParse?T._locale.eraYearOrdinalParse(g,G):parseInt(g,10)}),I1(0,["gg",2],0,function(){return this.weekYear()%100}),I1(0,["GG",2],0,function(){return this.isoWeekYear()%100}),sc("gggg","weekYear"),sc("ggggg","weekYear"),sc("GGGG","isoWeekYear"),sc("GGGGG","isoWeekYear"),k1("G",H0),k1("g",H0),k1("GG",w2,F3),k1("gg",w2,F3),k1("GGGG",Ja,Qa),k1("gggg",Ja,Qa),k1("GGGGG",we,be),k1("ggggg",we,be),a3(["gggg","ggggg","GGGG","GGGGG"],function(g,L,T,A){L[A.substr(0,2)]=m2(g)}),a3(["gg","GG"],function(g,L,T,A){L[A]=M.parseTwoDigitYear(g)}),I1("Q",0,"Qo","quarter"),k1("Q",D8),D2("Q",function(g,L){L[K6]=3*(m2(g)-1)}),I1("D",["DD",2],"Do","date"),k1("D",w2,C0),k1("DD",w2,F3),k1("Do",function(g,L){return g?L._dayOfMonthOrdinalParse||L._ordinalParse:L._dayOfMonthOrdinalParseLenient}),D2(["D","DD"],J1),D2("Do",function(g,L){L[J1]=m2(g.match(w2)[0])});var qi=h3("Date",!0);I1("DDD",["DDDD",3],"DDDo","dayOfYear"),k1("DDD",xe),k1("DDDD",li),D2(["DDD","DDDD"],function(g,L,T){T._dayOfYear=m2(g)}),I1("m",["mm",2],0,"minute"),k1("m",w2,s6),k1("mm",w2,F3),D2(["m","mm"],K3);var lc=h3("Minutes",!1);I1("s",["ss",2],0,"second"),k1("s",w2,s6),k1("ss",w2,F3),D2(["s","ss"],l1);var v1,R1,e4=h3("Seconds",!1);for(I1("S",0,0,function(){return~~(this.millisecond()/100)}),I1(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),I1(0,["SSS",3],0,"millisecond"),I1(0,["SSSS",4],0,function(){return 10*this.millisecond()}),I1(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),I1(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),I1(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),I1(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),I1(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),k1("S",xe,D8),k1("SS",xe,F3),k1("SSS",xe,li),v1="SSSS";v1.length<=9;v1+="S")k1(v1,Fe);function m4(g,L){L[Q3]=m2(1e3*("0."+g))}for(v1="S";v1.length<=9;v1+="S")D2(v1,m4);R1=h3("Milliseconds",!1),I1("z",0,0,"zoneAbbr"),I1("zz",0,0,"zoneName");var _1=Le.prototype;function T4(g){return g}_1.add=Tf,_1.calendar=function Ei(g,L){1===arguments.length&&(arguments[0]?Ti(arguments[0])?(g=arguments[0],L=void 0):function Pf(g){var G,L=N(g)&&!$(g),T=!1,A=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(G=0;GT.valueOf():T.valueOf()9999?k5(T,L?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):q6(Date.prototype.toISOString)?L?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",k5(T,"Z")):k5(T,L?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},_1.inspect=function L4(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var T,A,g="moment",L="";return this.isLocal()||(g=0===this.utcOffset()?"moment.utc":"moment.parseZone",L="Z"),T="["+g+'("]',A=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(T+A+"-MM-DD[T]HH:mm:ss.SSS"+L+'[")]')},typeof Symbol<"u"&&null!=Symbol.for&&(_1[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),_1.toJSON=function ic(){return this.isValid()?this.toISOString():null},_1.toString=function $4(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},_1.unix=function Ui(){return Math.floor(this.valueOf()/1e3)},_1.valueOf=function Ii(){return this._d.valueOf()-6e4*(this._offset||0)},_1.creationData=function p3(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},_1.eraName=function Zf(){var g,L,T,A=this.localeData().eras();for(g=0,L=A.length;gthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},_1.isLocal=function J2(){return!!this.isValid()&&!this._isUTC},_1.isUtcOffset=function Nf(){return!!this.isValid()&&this._isUTC},_1.isUtc=ac,_1.isUTC=ac,_1.zoneAbbr=function d6(){return this._isUTC?"UTC":""},_1.zoneName=function t3(){return this._isUTC?"Coordinated Universal Time":""},_1.dates=e3("dates accessor is deprecated. Use date instead.",qi),_1.months=e3("months accessor is deprecated. Use month instead",q1),_1.years=e3("years accessor is deprecated. Use year instead",nf),_1.zone=e3("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function V2(g,L){return null!=g?("string"!=typeof g&&(g=-g),this.utcOffset(g,L),this):-this.utcOffset()}),_1.isDSTShifted=e3("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function l6(){if(!q(this._isDSTShifted))return this._isDSTShifted;var L,g={};return k8(g,this),(g=yi(g))._a?(L=g._isUTC?l2(g._a):B2(g._a),this._isDSTShifted=this.isValid()&&function Bz(g,L,T){var o1,A=Math.min(g.length,L.length),G=Math.abs(g.length-L.length),Q=0;for(o1=0;o10):this._isDSTShifted=!1,this._isDSTShifted});var o2=Ya.prototype;function G1(g,L,T,A){var G=V0(),Q=l2().set(A,L);return G[T](Q,g)}function Ie(g,L,T){if(e1(g)&&(L=g,g=void 0),g=g||"",null!=L)return G1(g,L,T,"month");var A,G=[];for(A=0;A<12;A++)G[A]=G1(g,A,T,"month");return G}function fc(g,L,T,A){"boolean"==typeof g?(e1(L)&&(T=L,L=void 0),L=L||""):(T=L=g,g=!1,e1(L)&&(T=L,L=void 0),L=L||"");var o1,G=V0(),Q=g?G._week.dow:0,F1=[];if(null!=T)return G1(L,(T+Q)%7,A,"day");for(o1=0;o1<7;o1++)F1[o1]=G1(L,(o1+Q)%7,A,"day");return F1}o2.calendar=function ri(g,L,T){var A=this._calendar[g]||this._calendar.sameElse;return q6(A)?A.call(L,T):A},o2.longDateFormat=function oi(g){var L=this._longDateFormat[g],T=this._longDateFormat[g.toUpperCase()];return L||!T?L:(this._longDateFormat[g]=T.match(qa).map(function(A){return"MMMM"===A||"MM"===A||"DD"===A||"dddd"===A?A.slice(1):A}).join(""),this._longDateFormat[g])},o2.invalidDate=function Lz(){return this._invalidDate},o2.ordinal=function Za(g){return this._ordinal.replace("%d",g)},o2.preparse=T4,o2.postformat=T4,o2.relativeTime=function c3(g,L,T,A){var G=this._relativeTime[T];return q6(G)?G(g,L,T,A):G.replace(/%d/i,g)},o2.pastFuture=function ni(g,L){var T=this._relativeTime[g>0?"future":"past"];return q6(T)?T(L):T.replace(/%s/i,L)},o2.set=function Cz(g){var L,T;for(T in g)I(g,T)&&(q6(L=g[T])?this[T]=L:this["_"+T]=L);this._config=g,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},o2.eras=function Pe(g,L){var T,A,G,Q=this._eras||V0("en")._eras;for(T=0,A=Q.length;T=0)return Q[A]},o2.erasConvertYear=function Wf(g,L){var T=g.since<=g.until?1:-1;return void 0===L?M(g.since).year():M(g.since).year()+(L-g.offset)*T},o2.erasAbbrRegex=function Jf(g){return I(this,"_erasAbbrRegex")||z7.call(this),g?this._erasAbbrRegex:this._erasRegex},o2.erasNameRegex=function Qf(g){return I(this,"_erasNameRegex")||z7.call(this),g?this._erasNameRegex:this._erasRegex},o2.erasNarrowRegex=function C7(g){return I(this,"_erasNarrowRegex")||z7.call(this),g?this._erasNarrowRegex:this._erasRegex},o2.months=function V4(g,L){return g?F(this._months)?this._months[g.month()]:this._months[(this._months.isFormat||lf).test(L)?"format":"standalone"][g.month()]:F(this._months)?this._months:this._months.standalone},o2.monthsShort=function c7(g,L){return g?F(this._monthsShort)?this._monthsShort[g.month()]:this._monthsShort[lf.test(L)?"format":"standalone"][g.month()]:F(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},o2.monthsParse=function df(g,L,T){var A,G,Q;if(this._monthsParseExact)return yz.call(this,g,L,T);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),A=0;A<12;A++){if(G=l2([2e3,A]),T&&!this._longMonthsParse[A]&&(this._longMonthsParse[A]=new RegExp("^"+this.months(G,"").replace(".","")+"$","i"),this._shortMonthsParse[A]=new RegExp("^"+this.monthsShort(G,"").replace(".","")+"$","i")),!T&&!this._monthsParse[A]&&(Q="^"+this.months(G,"")+"|^"+this.monthsShort(G,""),this._monthsParse[A]=new RegExp(Q.replace(".",""),"i")),T&&"MMMM"===L&&this._longMonthsParse[A].test(g))return A;if(T&&"MMM"===L&&this._shortMonthsParse[A].test(g))return A;if(!T&&this._monthsParse[A].test(g))return A}},o2.monthsRegex=function bz(g){return this._monthsParseExact?(I(this,"_monthsRegex")||gi.call(this),g?this._monthsStrictRegex:this._monthsRegex):(I(this,"_monthsRegex")||(this._monthsRegex=ff),this._monthsStrictRegex&&g?this._monthsStrictRegex:this._monthsRegex)},o2.monthsShortRegex=function k3(g){return this._monthsParseExact?(I(this,"_monthsRegex")||gi.call(this),g?this._monthsShortStrictRegex:this._monthsShortRegex):(I(this,"_monthsShortRegex")||(this._monthsShortRegex=T2),this._monthsShortStrictRegex&&g?this._monthsShortStrictRegex:this._monthsShortRegex)},o2.week=function hf(g){return B5(g,this._week.dow,this._week.doy).week},o2.firstDayOfYear=function Fz(){return this._week.doy},o2.firstDayOfWeek=function mf(){return this._week.dow},o2.weekdays=function pf(g,L){var T=F(this._weekdays)?this._weekdays:this._weekdays[g&&!0!==g&&this._weekdays.isFormat.test(L)?"format":"standalone"];return!0===g?vi(T,this._week.dow):g?T[g.day()]:T},o2.weekdaysMin=function gf(g){return!0===g?vi(this._weekdaysMin,this._week.dow):g?this._weekdaysMin[g.day()]:this._weekdaysMin},o2.weekdaysShort=function Hi(g){return!0===g?vi(this._weekdaysShort,this._week.dow):g?this._weekdaysShort[g.day()]:this._weekdaysShort},o2.weekdaysParse=function U5(g,L,T){var A,G,Q;if(this._weekdaysParseExact)return I5.call(this,g,L,T);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),A=0;A<7;A++){if(G=l2([2e3,1]).day(A),T&&!this._fullWeekdaysParse[A]&&(this._fullWeekdaysParse[A]=new RegExp("^"+this.weekdays(G,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[A]=new RegExp("^"+this.weekdaysShort(G,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[A]=new RegExp("^"+this.weekdaysMin(G,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[A]||(Q="^"+this.weekdays(G,"")+"|^"+this.weekdaysShort(G,"")+"|^"+this.weekdaysMin(G,""),this._weekdaysParse[A]=new RegExp(Q.replace(".",""),"i")),T&&"dddd"===L&&this._fullWeekdaysParse[A].test(g))return A;if(T&&"ddd"===L&&this._shortWeekdaysParse[A].test(g))return A;if(T&&"dd"===L&&this._minWeekdaysParse[A].test(g))return A;if(!T&&this._weekdaysParse[A].test(g))return A}},o2.weekdaysRegex=function H1(g){return this._weekdaysParseExact?(I(this,"_weekdaysRegex")||j5.call(this),g?this._weekdaysStrictRegex:this._weekdaysRegex):(I(this,"_weekdaysRegex")||(this._weekdaysRegex=Dz),this._weekdaysStrictRegex&&g?this._weekdaysStrictRegex:this._weekdaysRegex)},o2.weekdaysShortRegex=function t7(g){return this._weekdaysParseExact?(I(this,"_weekdaysRegex")||j5.call(this),g?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(I(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=g4),this._weekdaysShortStrictRegex&&g?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},o2.weekdaysMinRegex=function i7(g){return this._weekdaysParseExact?(I(this,"_weekdaysRegex")||j5.call(this),g?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(I(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=O5),this._weekdaysMinStrictRegex&&g?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},o2.isPM=function Tz(g){return"p"===(g+"").toLowerCase().charAt(0)},o2.meridiem=function o7(g,L,T){return g>11?T?"pm":"PM":T?"am":"AM"},re("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(g){var L=g%10;return g+(1===m2(g%100/10)?"th":1===L?"st":2===L?"nd":3===L?"rd":"th")}}),M.lang=e3("moment.lang is deprecated. Use moment.locale instead.",re),M.langData=e3("moment.langData is deprecated. Use moment.localeData instead.",V0);var T3=Math.abs;function c0(g,L,T,A){var G=d3(L,T);return g._milliseconds+=A*G._milliseconds,g._days+=A*G._days,g._months+=A*G._months,g._bubble()}function a2(g){return g<0?Math.floor(g):Math.ceil(g)}function $e(g){return 4800*g/146097}function X3(g){return 146097*g/4800}function g3(g){return function(){return this.as(g)}}var f4=g3("ms"),L7=g3("s"),i3=g3("m"),o3=g3("h"),y7=g3("d"),se=g3("w"),hc=g3("M"),u6=g3("Q"),b7=g3("y"),td=f4;function x0(g){return function(){return this.isValid()?this._data[g]:NaN}}var od=x0("milliseconds"),w7=x0("seconds"),Oz=x0("minutes"),Iz=x0("hours"),Uz=x0("days"),jz=x0("months"),$z=x0("years");var w0=Math.round,j8={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Gz(g,L,T,A,G){return G.relativeTime(L||1,!!T,g,A)}var mc=Math.abs;function $8(g){return(g>0)-(g<0)||+g}function F7(){if(!this.isValid())return this.localeData().invalidDate();var A,G,Q,o1,c2,p2,G4,a0,g=mc(this._milliseconds)/1e3,L=mc(this._days),T=mc(this._months),F1=this.asSeconds();return F1?(A=Z3(g/60),G=Z3(A/60),g%=60,A%=60,Q=Z3(T/12),T%=12,o1=g?g.toFixed(3).replace(/\.?0+$/,""):"",c2=F1<0?"-":"",p2=$8(this._months)!==$8(F1)?"-":"",G4=$8(this._days)!==$8(F1)?"-":"",a0=$8(this._milliseconds)!==$8(F1)?"-":"",c2+"P"+(Q?p2+Q+"Y":"")+(T?p2+T+"M":"")+(L?G4+L+"D":"")+(G||A||g?"T":"")+(G?a0+G+"H":"")+(A?a0+A+"M":"")+(g?a0+o1+"S":"")):"P0D"}var M2=Te.prototype;return M2.isValid=function K5(){return this._isValid},M2.abs=function Wi(){var g=this._data;return this._milliseconds=T3(this._milliseconds),this._days=T3(this._days),this._months=T3(this._months),g.milliseconds=T3(g.milliseconds),g.seconds=T3(g.seconds),g.minutes=T3(g.minutes),g.hours=T3(g.hours),g.months=T3(g.months),g.years=T3(g.years),this},M2.add=function dc(g,L){return c0(this,g,L,1)},M2.subtract=function ne(g,L){return c0(this,g,L,-1)},M2.as=function uc(g){if(!this.isValid())return NaN;var L,T,A=this._milliseconds;if("month"===(g=w3(g))||"quarter"===g||"year"===g)switch(L=this._days+A/864e5,T=this._months+$e(L),g){case"month":return T;case"quarter":return T/3;case"year":return T/12}else switch(L=this._days+Math.round(X3(this._months)),g){case"week":return L/7+A/6048e5;case"day":return L+A/864e5;case"hour":return 24*L+A/36e5;case"minute":return 1440*L+A/6e4;case"second":return 86400*L+A/1e3;case"millisecond":return Math.floor(864e5*L)+A;default:throw new Error("Unknown unit "+g)}},M2.asMilliseconds=f4,M2.asSeconds=L7,M2.asMinutes=i3,M2.asHours=o3,M2.asDays=y7,M2.asWeeks=se,M2.asMonths=hc,M2.asQuarters=u6,M2.asYears=b7,M2.valueOf=td,M2._bubble=function M7(){var G,Q,o1,F1,c2,g=this._milliseconds,L=this._days,T=this._months,A=this._data;return g>=0&&L>=0&&T>=0||g<=0&&L<=0&&T<=0||(g+=864e5*a2(X3(T)+L),L=0,T=0),A.milliseconds=g%1e3,G=Z3(g/1e3),A.seconds=G%60,Q=Z3(G/60),A.minutes=Q%60,o1=Z3(Q/60),A.hours=o1%24,L+=Z3(o1/24),T+=c2=Z3($e(L)),L-=a2(X3(c2)),F1=Z3(T/12),T%=12,A.days=L,A.months=T,A.years=F1,this},M2.clone=function id(){return d3(this)},M2.get=function x7(g){return g=w3(g),this.isValid()?this[g+"s"]():NaN},M2.milliseconds=od,M2.seconds=w7,M2.minutes=Oz,M2.hours=Iz,M2.days=Uz,M2.weeks=function Yz(){return Z3(this.days()/7)},M2.months=jz,M2.years=$z,M2.humanize=function Zi(g,L){if(!this.isValid())return this.localeData().invalidDate();var G,Q,T=!1,A=j8;return"object"==typeof g&&(L=g,g=!1),"boolean"==typeof g&&(T=g),"object"==typeof L&&(A=Object.assign({},j8,L),null!=L.s&&null==L.ss&&(A.ss=L.s-1)),Q=function qz(g,L,T,A){var G=d3(g).abs(),Q=w0(G.as("s")),o1=w0(G.as("m")),F1=w0(G.as("h")),c2=w0(G.as("d")),p2=w0(G.as("M")),G4=w0(G.as("w")),a0=w0(G.as("y")),q4=Q<=T.ss&&["s",Q]||Q0,q4[4]=A,Gz.apply(null,q4)}(this,!T,A,G=this.localeData()),T&&(Q=G.pastFuture(+this,Q)),G.postformat(Q)},M2.toISOString=F7,M2.toString=F7,M2.toJSON=F7,M2.locale=O8,M2.localeData=Oi,M2.toIsoString=e3("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",F7),M2.lang=Bi,I1("X",0,0,"unix"),I1("x",0,0,"valueOf"),k1("x",H0),k1("X",/[+-]?\d+(\.\d{1,3})?/),D2("X",function(g,L,T){T._d=new Date(1e3*parseFloat(g))}),D2("x",function(g,L,T){T._d=new Date(m2(g))}),M.version="2.30.1",function D(g){U=g}(B2),M.fn=_1,M.min=function ie(){return xi("isBefore",[].slice.call(arguments,0))},M.max=function Sf(){return xi("isAfter",[].slice.call(arguments,0))},M.now=function(){return Date.now?Date.now():+new Date},M.utc=l2,M.unix=function Oe(g){return B2(1e3*g)},M.months=function Ue(g,L){return Ie(g,L,"months")},M.isDate=d1,M.locale=re,M.invalid=X0,M.duration=d3,M.isMoment=W3,M.weekdays=function U8(g,L,T){return fc(g,L,T,"weekdays")},M.parseZone=function Z2(){return B2.apply(null,arguments).parseZone()},M.localeData=V0,M.isDuration=f7,M.monthsShort=function o4(g,L){return Ie(g,L,"monthsShort")},M.weekdaysMin=function e0(g,L,T){return fc(g,L,T,"weekdaysMin")},M.defineLocale=n7,M.updateLocale=function zf(g,L){if(null!=L){var T,A,G=Se;null!=W2[g]&&null!=W2[g].parentLocale?W2[g].set(ai(W2[g]._config,L)):(null!=(A=H2(g))&&(G=A._config),L=ai(G,L),null==A&&(L.abbr=g),(T=new Ya(L)).parentLocale=W2[g],W2[g]=T),re(g)}else null!=W2[g]&&(null!=W2[g].parentLocale?(W2[g]=W2[g].parentLocale,g===re()&&re(g)):null!=W2[g]&&delete W2[g]);return W2[g]},M.locales=function Vf(){return Ga(W2)},M.weekdaysShort=function je(g,L,T){return fc(g,L,T,"weekdaysShort")},M.normalizeUnits=w3,M.relativeTimeRounding=function Wz(g){return void 0===g?w0:"function"==typeof g&&(w0=g,!0)},M.relativeTimeThreshold=function Zz(g,L){return void 0!==j8[g]&&(void 0===L?j8[g]:(j8[g]=L,"s"===g&&(j8.ss=L-1),!0))},M.calendarFormat=function Rf(g,L){var T=g.diff(L,"days",!0);return T<-6?"sameElse":T<-1?"lastWeek":T<0?"lastDay":T<1?"sameDay":T<2?"nextDay":T<7?"nextWeek":"sameElse"},M.prototype=_1,M.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},M}()},5358:(r1,t1,W)=>{var U={"./af":1544,"./af.js":1544,"./ar":3108,"./ar-dz":2155,"./ar-dz.js":2155,"./ar-kw":3583,"./ar-kw.js":3583,"./ar-ly":1638,"./ar-ly.js":1638,"./ar-ma":7823,"./ar-ma.js":7823,"./ar-ps":7712,"./ar-ps.js":7712,"./ar-sa":8261,"./ar-sa.js":8261,"./ar-tn":6703,"./ar-tn.js":6703,"./ar.js":3108,"./az":6508,"./az.js":6508,"./be":6766,"./be.js":6766,"./bg":8564,"./bg.js":8564,"./bm":7462,"./bm.js":7462,"./bn":7107,"./bn-bd":3438,"./bn-bd.js":3438,"./bn.js":7107,"./bo":9004,"./bo.js":9004,"./br":927,"./br.js":927,"./bs":7768,"./bs.js":7768,"./ca":6291,"./ca.js":6291,"./cs":5301,"./cs.js":5301,"./cv":6666,"./cv.js":6666,"./cy":5163,"./cy.js":5163,"./da":7360,"./da.js":7360,"./de":5932,"./de-at":3248,"./de-at.js":3248,"./de-ch":3222,"./de-ch.js":3222,"./de.js":5932,"./dv":6405,"./dv.js":6405,"./el":718,"./el.js":718,"./en-au":6319,"./en-au.js":6319,"./en-ca":597,"./en-ca.js":597,"./en-gb":1800,"./en-gb.js":1800,"./en-ie":807,"./en-ie.js":807,"./en-il":5960,"./en-il.js":5960,"./en-in":4418,"./en-in.js":4418,"./en-nz":6865,"./en-nz.js":6865,"./en-sg":2647,"./en-sg.js":2647,"./eo":1931,"./eo.js":1931,"./es":6679,"./es-do":1805,"./es-do.js":1805,"./es-mx":3445,"./es-mx.js":3445,"./es-us":1516,"./es-us.js":1516,"./es.js":6679,"./et":8150,"./et.js":8150,"./eu":757,"./eu.js":757,"./fa":5742,"./fa.js":5742,"./fi":3958,"./fi.js":3958,"./fil":6720,"./fil.js":6720,"./fo":8352,"./fo.js":8352,"./fr":4059,"./fr-ca":2096,"./fr-ca.js":2096,"./fr-ch":5759,"./fr-ch.js":5759,"./fr.js":4059,"./fy":5958,"./fy.js":5958,"./ga":4143,"./ga.js":4143,"./gd":7028,"./gd.js":7028,"./gl":428,"./gl.js":428,"./gom-deva":6861,"./gom-deva.js":6861,"./gom-latn":7718,"./gom-latn.js":7718,"./gu":6827,"./gu.js":6827,"./he":1936,"./he.js":1936,"./hi":1332,"./hi.js":1332,"./hr":1957,"./hr.js":1957,"./hu":8928,"./hu.js":8928,"./hy-am":6215,"./hy-am.js":6215,"./id":586,"./id.js":586,"./is":211,"./is.js":211,"./it":170,"./it-ch":2340,"./it-ch.js":2340,"./it.js":170,"./ja":9770,"./ja.js":9770,"./jv":3875,"./jv.js":3875,"./ka":9499,"./ka.js":9499,"./kk":3573,"./kk.js":3573,"./km":8807,"./km.js":8807,"./kn":5082,"./kn.js":5082,"./ko":137,"./ko.js":137,"./ku":111,"./ku-kmr":3744,"./ku-kmr.js":3744,"./ku.js":111,"./ky":9187,"./ky.js":9187,"./lb":5969,"./lb.js":5969,"./lo":3526,"./lo.js":3526,"./lt":411,"./lt.js":411,"./lv":2621,"./lv.js":2621,"./me":5869,"./me.js":5869,"./mi":5881,"./mi.js":5881,"./mk":2391,"./mk.js":2391,"./ml":1126,"./ml.js":1126,"./mn":4892,"./mn.js":4892,"./mr":9080,"./mr.js":9080,"./ms":399,"./ms-my":5950,"./ms-my.js":5950,"./ms.js":399,"./mt":9902,"./mt.js":9902,"./my":2985,"./my.js":2985,"./nb":7859,"./nb.js":7859,"./ne":3642,"./ne.js":3642,"./nl":5441,"./nl-be":9875,"./nl-be.js":9875,"./nl.js":5441,"./nn":1311,"./nn.js":1311,"./oc-lnc":2567,"./oc-lnc.js":2567,"./pa-in":6962,"./pa-in.js":6962,"./pl":1063,"./pl.js":1063,"./pt":8719,"./pt-br":7476,"./pt-br.js":7476,"./pt.js":8719,"./ro":1004,"./ro.js":1004,"./ru":1326,"./ru.js":1326,"./sd":2608,"./sd.js":2608,"./se":3911,"./se.js":3911,"./si":5147,"./si.js":5147,"./sk":3741,"./sk.js":3741,"./sl":3e3,"./sl.js":3e3,"./sq":451,"./sq.js":451,"./sr":5046,"./sr-cyrl":905,"./sr-cyrl.js":905,"./sr.js":5046,"./ss":5765,"./ss.js":5765,"./sv":9290,"./sv.js":9290,"./sw":3449,"./sw.js":3449,"./ta":2688,"./ta.js":2688,"./te":2060,"./te.js":2060,"./tet":3290,"./tet.js":3290,"./tg":8294,"./tg.js":8294,"./th":1231,"./th.js":1231,"./tk":3746,"./tk.js":3746,"./tl-ph":9040,"./tl-ph.js":9040,"./tlh":7187,"./tlh.js":7187,"./tr":153,"./tr.js":153,"./tzl":8521,"./tzl.js":8521,"./tzm":8010,"./tzm-latn":2234,"./tzm-latn.js":2234,"./tzm.js":8010,"./ug-cn":3349,"./ug-cn.js":3349,"./uk":8479,"./uk.js":8479,"./ur":3024,"./ur.js":3024,"./uz":9800,"./uz-latn":2376,"./uz-latn.js":2376,"./uz.js":9800,"./vi":9366,"./vi.js":9366,"./x-pseudo":9702,"./x-pseudo.js":9702,"./yo":2655,"./yo.js":2655,"./zh-cn":575,"./zh-cn.js":575,"./zh-hk":8351,"./zh-hk.js":8351,"./zh-mo":1626,"./zh-mo.js":1626,"./zh-tw":8887,"./zh-tw.js":8887};function M(F){var N=D(F);return W(N)}function D(F){if(!W.o(U,F)){var N=new Error("Cannot find module '"+F+"'");throw N.code="MODULE_NOT_FOUND",N}return U[F]}M.keys=function(){return Object.keys(U)},M.resolve=D,r1.exports=M,M.id=5358},8184:r1=>{"use strict";r1.exports=JSON.parse('[{"name":"US Dollar","symbol":"$","symbolNative":"$","decimalDigits":2,"rounding":0,"code":"USD","namePlural":"US dollars"},{"name":"Canadian Dollar","symbol":"CA$","symbolNative":"$","decimalDigits":2,"rounding":0,"code":"CAD","namePlural":"Canadian dollars"},{"name":"Euro","symbol":"\u20ac","symbolNative":"\u20ac","decimalDigits":2,"rounding":0,"code":"EUR","namePlural":"euros"},{"name":"United Arab Emirates Dirham","symbol":"AED","symbolNative":"\u062f.\u0625.\u200f","decimalDigits":2,"rounding":0,"code":"AED","namePlural":"UAE dirhams"},{"name":"Afghan Afghani","symbol":"Af","symbolNative":"\u060b","decimalDigits":0,"rounding":0,"code":"AFN","namePlural":"Afghan Afghanis"},{"name":"Albanian Lek","symbol":"ALL","symbolNative":"Lek","decimalDigits":0,"rounding":0,"code":"ALL","namePlural":"Albanian lek\xeb"},{"name":"Armenian Dram","symbol":"AMD","symbolNative":"\u0564\u0580.","decimalDigits":0,"rounding":0,"code":"AMD","namePlural":"Armenian drams"},{"name":"Argentine Peso","symbol":"AR$","symbolNative":"$","decimalDigits":2,"rounding":0,"code":"ARS","namePlural":"Argentine pesos"},{"name":"Australian Dollar","symbol":"AU$","symbolNative":"$","decimalDigits":2,"rounding":0,"code":"AUD","namePlural":"Australian dollars"},{"name":"Azerbaijani Manat","symbol":"man.","symbolNative":"\u043c\u0430\u043d.","decimalDigits":2,"rounding":0,"code":"AZN","namePlural":"Azerbaijani manats"},{"name":"Bosnia-Herzegovina Convertible Mark","symbol":"KM","symbolNative":"KM","decimalDigits":2,"rounding":0,"code":"BAM","namePlural":"Bosnia-Herzegovina convertible marks"},{"name":"Bangladeshi Taka","symbol":"Tk","symbolNative":"\u09f3","decimalDigits":2,"rounding":0,"code":"BDT","namePlural":"Bangladeshi takas"},{"name":"Bulgarian Lev","symbol":"BGN","symbolNative":"\u043b\u0432.","decimalDigits":2,"rounding":0,"code":"BGN","namePlural":"Bulgarian leva"},{"name":"Bahraini Dinar","symbol":"BD","symbolNative":"\u062f.\u0628.\u200f","decimalDigits":3,"rounding":0,"code":"BHD","namePlural":"Bahraini dinars"},{"name":"Burundian Franc","symbol":"FBu","symbolNative":"FBu","decimalDigits":0,"rounding":0,"code":"BIF","namePlural":"Burundian francs"},{"name":"Brunei Dollar","symbol":"BN$","symbolNative":"$","decimalDigits":2,"rounding":0,"code":"BND","namePlural":"Brunei dollars"},{"name":"Bolivian Boliviano","symbol":"Bs","symbolNative":"Bs","decimalDigits":2,"rounding":0,"code":"BOB","namePlural":"Bolivian bolivianos"},{"name":"Brazilian Real","symbol":"R$","symbolNative":"R$","decimalDigits":2,"rounding":0,"code":"BRL","namePlural":"Brazilian reals"},{"name":"Botswanan Pula","symbol":"BWP","symbolNative":"P","decimalDigits":2,"rounding":0,"code":"BWP","namePlural":"Botswanan pulas"},{"name":"Belarusian Ruble","symbol":"Br","symbolNative":"\u0440\u0443\u0431.","decimalDigits":2,"rounding":0,"code":"BYN","namePlural":"Belarusian rubles"},{"name":"Belize Dollar","symbol":"BZ$","symbolNative":"$","decimalDigits":2,"rounding":0,"code":"BZD","namePlural":"Belize dollars"},{"name":"Congolese Franc","symbol":"CDF","symbolNative":"FrCD","decimalDigits":2,"rounding":0,"code":"CDF","namePlural":"Congolese francs"},{"name":"Swiss Franc","symbol":"CHF","symbolNative":"CHF","decimalDigits":2,"rounding":0.05,"code":"CHF","namePlural":"Swiss francs"},{"name":"Chilean Peso","symbol":"CL$","symbolNative":"$","decimalDigits":0,"rounding":0,"code":"CLP","namePlural":"Chilean pesos"},{"name":"Chinese Yuan","symbol":"CN\xa5","symbolNative":"CN\xa5","decimalDigits":2,"rounding":0,"code":"CNY","namePlural":"Chinese yuan"},{"name":"Colombian Peso","symbol":"CO$","symbolNative":"$","decimalDigits":0,"rounding":0,"code":"COP","namePlural":"Colombian pesos"},{"name":"Costa Rican Col\xf3n","symbol":"\u20a1","symbolNative":"\u20a1","decimalDigits":0,"rounding":0,"code":"CRC","namePlural":"Costa Rican col\xf3ns"},{"name":"Cape Verdean Escudo","symbol":"CV$","symbolNative":"CV$","decimalDigits":2,"rounding":0,"code":"CVE","namePlural":"Cape Verdean escudos"},{"name":"Czech Republic Koruna","symbol":"K\u010d","symbolNative":"K\u010d","decimalDigits":2,"rounding":0,"code":"CZK","namePlural":"Czech Republic korunas"},{"name":"Djiboutian Franc","symbol":"Fdj","symbolNative":"Fdj","decimalDigits":0,"rounding":0,"code":"DJF","namePlural":"Djiboutian francs"},{"name":"Danish Krone","symbol":"Dkr","symbolNative":"kr","decimalDigits":2,"rounding":0,"code":"DKK","namePlural":"Danish kroner"},{"name":"Dominican Peso","symbol":"RD$","symbolNative":"RD$","decimalDigits":2,"rounding":0,"code":"DOP","namePlural":"Dominican pesos"},{"name":"Algerian Dinar","symbol":"DA","symbolNative":"\u062f.\u062c.\u200f","decimalDigits":2,"rounding":0,"code":"DZD","namePlural":"Algerian dinars"},{"name":"Estonian Kroon","symbol":"Ekr","symbolNative":"kr","decimalDigits":2,"rounding":0,"code":"EEK","namePlural":"Estonian kroons"},{"name":"Egyptian Pound","symbol":"EGP","symbolNative":"\u062c.\u0645.\u200f","decimalDigits":2,"rounding":0,"code":"EGP","namePlural":"Egyptian pounds"},{"name":"Eritrean Nakfa","symbol":"Nfk","symbolNative":"Nfk","decimalDigits":2,"rounding":0,"code":"ERN","namePlural":"Eritrean nakfas"},{"name":"Ethiopian Birr","symbol":"Br","symbolNative":"Br","decimalDigits":2,"rounding":0,"code":"ETB","namePlural":"Ethiopian birrs"},{"name":"British Pound Sterling","symbol":"\xa3","symbolNative":"\xa3","decimalDigits":2,"rounding":0,"code":"GBP","namePlural":"British pounds sterling"},{"name":"Georgian Lari","symbol":"GEL","symbolNative":"GEL","decimalDigits":2,"rounding":0,"code":"GEL","namePlural":"Georgian laris"},{"name":"Ghanaian Cedi","symbol":"GH\u20b5","symbolNative":"GH\u20b5","decimalDigits":2,"rounding":0,"code":"GHS","namePlural":"Ghanaian cedis"},{"name":"Guinean Franc","symbol":"FG","symbolNative":"FG","decimalDigits":0,"rounding":0,"code":"GNF","namePlural":"Guinean francs"},{"name":"Guatemalan Quetzal","symbol":"GTQ","symbolNative":"Q","decimalDigits":2,"rounding":0,"code":"GTQ","namePlural":"Guatemalan quetzals"},{"name":"Hong Kong Dollar","symbol":"HK$","symbolNative":"$","decimalDigits":2,"rounding":0,"code":"HKD","namePlural":"Hong Kong dollars"},{"name":"Honduran Lempira","symbol":"HNL","symbolNative":"L","decimalDigits":2,"rounding":0,"code":"HNL","namePlural":"Honduran lempiras"},{"name":"Croatian Kuna","symbol":"kn","symbolNative":"kn","decimalDigits":2,"rounding":0,"code":"HRK","namePlural":"Croatian kunas"},{"name":"Hungarian Forint","symbol":"Ft","symbolNative":"Ft","decimalDigits":0,"rounding":0,"code":"HUF","namePlural":"Hungarian forints"},{"name":"Indonesian Rupiah","symbol":"Rp","symbolNative":"Rp","decimalDigits":0,"rounding":0,"code":"IDR","namePlural":"Indonesian rupiahs"},{"name":"Israeli New Sheqel","symbol":"\u20aa","symbolNative":"\u20aa","decimalDigits":2,"rounding":0,"code":"ILS","namePlural":"Israeli new sheqels"},{"name":"Indian Rupee","symbol":"Rs","symbolNative":"\u099f\u0995\u09be","decimalDigits":2,"rounding":0,"code":"INR","namePlural":"Indian rupees"},{"name":"Iraqi Dinar","symbol":"IQD","symbolNative":"\u062f.\u0639.\u200f","decimalDigits":0,"rounding":0,"code":"IQD","namePlural":"Iraqi dinars"},{"name":"Iranian Rial","symbol":"IRR","symbolNative":"\ufdfc","decimalDigits":0,"rounding":0,"code":"IRR","namePlural":"Iranian rials"},{"name":"Icelandic Kr\xf3na","symbol":"Ikr","symbolNative":"kr","decimalDigits":0,"rounding":0,"code":"ISK","namePlural":"Icelandic kr\xf3nur"},{"name":"Jamaican Dollar","symbol":"J$","symbolNative":"$","decimalDigits":2,"rounding":0,"code":"JMD","namePlural":"Jamaican dollars"},{"name":"Jordanian Dinar","symbol":"JD","symbolNative":"\u062f.\u0623.\u200f","decimalDigits":3,"rounding":0,"code":"JOD","namePlural":"Jordanian dinars"},{"name":"Japanese Yen","symbol":"\xa5","symbolNative":"\uffe5","decimalDigits":0,"rounding":0,"code":"JPY","namePlural":"Japanese yen"},{"name":"Kenyan Shilling","symbol":"Ksh","symbolNative":"Ksh","decimalDigits":2,"rounding":0,"code":"KES","namePlural":"Kenyan shillings"},{"name":"Cambodian Riel","symbol":"KHR","symbolNative":"\u17db","decimalDigits":2,"rounding":0,"code":"KHR","namePlural":"Cambodian riels"},{"name":"Comorian Franc","symbol":"CF","symbolNative":"FC","decimalDigits":0,"rounding":0,"code":"KMF","namePlural":"Comorian francs"},{"name":"South Korean Won","symbol":"\u20a9","symbolNative":"\u20a9","decimalDigits":0,"rounding":0,"code":"KRW","namePlural":"South Korean won"},{"name":"Kuwaiti Dinar","symbol":"KD","symbolNative":"\u062f.\u0643.\u200f","decimalDigits":3,"rounding":0,"code":"KWD","namePlural":"Kuwaiti dinars"},{"name":"Kazakhstani Tenge","symbol":"KZT","symbolNative":"\u0442\u04a3\u0433.","decimalDigits":2,"rounding":0,"code":"KZT","namePlural":"Kazakhstani tenges"},{"name":"Lebanese Pound","symbol":"LB\xa3","symbolNative":"\u0644.\u0644.\u200f","decimalDigits":0,"rounding":0,"code":"LBP","namePlural":"Lebanese pounds"},{"name":"Sri Lankan Rupee","symbol":"SLRs","symbolNative":"SL Re","decimalDigits":2,"rounding":0,"code":"LKR","namePlural":"Sri Lankan rupees"},{"name":"Lithuanian Litas","symbol":"Lt","symbolNative":"Lt","decimalDigits":2,"rounding":0,"code":"LTL","namePlural":"Lithuanian litai"},{"name":"Latvian Lats","symbol":"Ls","symbolNative":"Ls","decimalDigits":2,"rounding":0,"code":"LVL","namePlural":"Latvian lati"},{"name":"Libyan Dinar","symbol":"LD","symbolNative":"\u062f.\u0644.\u200f","decimalDigits":3,"rounding":0,"code":"LYD","namePlural":"Libyan dinars"},{"name":"Moroccan Dirham","symbol":"MAD","symbolNative":"\u062f.\u0645.\u200f","decimalDigits":2,"rounding":0,"code":"MAD","namePlural":"Moroccan dirhams"},{"name":"Moldovan Leu","symbol":"MDL","symbolNative":"MDL","decimalDigits":2,"rounding":0,"code":"MDL","namePlural":"Moldovan lei"},{"name":"Malagasy Ariary","symbol":"MGA","symbolNative":"MGA","decimalDigits":0,"rounding":0,"code":"MGA","namePlural":"Malagasy Ariaries"},{"name":"Macedonian Denar","symbol":"MKD","symbolNative":"MKD","decimalDigits":2,"rounding":0,"code":"MKD","namePlural":"Macedonian denari"},{"name":"Myanma Kyat","symbol":"MMK","symbolNative":"K","decimalDigits":0,"rounding":0,"code":"MMK","namePlural":"Myanma kyats"},{"name":"Macanese Pataca","symbol":"MOP$","symbolNative":"MOP$","decimalDigits":2,"rounding":0,"code":"MOP","namePlural":"Macanese patacas"},{"name":"Mauritian Rupee","symbol":"MURs","symbolNative":"MURs","decimalDigits":0,"rounding":0,"code":"MUR","namePlural":"Mauritian rupees"},{"name":"Mexican Peso","symbol":"MX$","symbolNative":"$","decimalDigits":2,"rounding":0,"code":"MXN","namePlural":"Mexican pesos"},{"name":"Malaysian Ringgit","symbol":"RM","symbolNative":"RM","decimalDigits":2,"rounding":0,"code":"MYR","namePlural":"Malaysian ringgits"},{"name":"Mozambican Metical","symbol":"MTn","symbolNative":"MTn","decimalDigits":2,"rounding":0,"code":"MZN","namePlural":"Mozambican meticals"},{"name":"Namibian Dollar","symbol":"N$","symbolNative":"N$","decimalDigits":2,"rounding":0,"code":"NAD","namePlural":"Namibian dollars"},{"name":"Nigerian Naira","symbol":"\u20a6","symbolNative":"\u20a6","decimalDigits":2,"rounding":0,"code":"NGN","namePlural":"Nigerian nairas"},{"name":"Nicaraguan C\xf3rdoba","symbol":"C$","symbolNative":"C$","decimalDigits":2,"rounding":0,"code":"NIO","namePlural":"Nicaraguan c\xf3rdobas"},{"name":"Norwegian Krone","symbol":"Nkr","symbolNative":"kr","decimalDigits":2,"rounding":0,"code":"NOK","namePlural":"Norwegian kroner"},{"name":"Nepalese Rupee","symbol":"NPRs","symbolNative":"\u0928\u0947\u0930\u0942","decimalDigits":2,"rounding":0,"code":"NPR","namePlural":"Nepalese rupees"},{"name":"New Zealand Dollar","symbol":"NZ$","symbolNative":"$","decimalDigits":2,"rounding":0,"code":"NZD","namePlural":"New Zealand dollars"},{"name":"Omani Rial","symbol":"OMR","symbolNative":"\u0631.\u0639.\u200f","decimalDigits":3,"rounding":0,"code":"OMR","namePlural":"Omani rials"},{"name":"Panamanian Balboa","symbol":"B/.","symbolNative":"B/.","decimalDigits":2,"rounding":0,"code":"PAB","namePlural":"Panamanian balboas"},{"name":"Peruvian Nuevo Sol","symbol":"S/.","symbolNative":"S/.","decimalDigits":2,"rounding":0,"code":"PEN","namePlural":"Peruvian nuevos soles"},{"name":"Philippine Peso","symbol":"\u20b1","symbolNative":"\u20b1","decimalDigits":2,"rounding":0,"code":"PHP","namePlural":"Philippine pesos"},{"name":"Pakistani Rupee","symbol":"PKRs","symbolNative":"\u20a8","decimalDigits":0,"rounding":0,"code":"PKR","namePlural":"Pakistani rupees"},{"name":"Polish Zloty","symbol":"z\u0142","symbolNative":"z\u0142","decimalDigits":2,"rounding":0,"code":"PLN","namePlural":"Polish zlotys"},{"name":"Paraguayan Guarani","symbol":"\u20b2","symbolNative":"\u20b2","decimalDigits":0,"rounding":0,"code":"PYG","namePlural":"Paraguayan guaranis"},{"name":"Qatari Rial","symbol":"QR","symbolNative":"\u0631.\u0642.\u200f","decimalDigits":2,"rounding":0,"code":"QAR","namePlural":"Qatari rials"},{"name":"Romanian Leu","symbol":"RON","symbolNative":"RON","decimalDigits":2,"rounding":0,"code":"RON","namePlural":"Romanian lei"},{"name":"Serbian Dinar","symbol":"din.","symbolNative":"\u0434\u0438\u043d.","decimalDigits":0,"rounding":0,"code":"RSD","namePlural":"Serbian dinars"},{"name":"Russian Ruble","symbol":"RUB","symbolNative":"\u20bd.","decimalDigits":2,"rounding":0,"code":"RUB","namePlural":"Russian rubles"},{"name":"Rwandan Franc","symbol":"RWF","symbolNative":"FR","decimalDigits":0,"rounding":0,"code":"RWF","namePlural":"Rwandan francs"},{"name":"Saudi Riyal","symbol":"SR","symbolNative":"\u0631.\u0633.\u200f","decimalDigits":2,"rounding":0,"code":"SAR","namePlural":"Saudi riyals"},{"name":"Sudanese Pound","symbol":"SDG","symbolNative":"SDG","decimalDigits":2,"rounding":0,"code":"SDG","namePlural":"Sudanese pounds"},{"name":"Swedish Krona","symbol":"Skr","symbolNative":"kr","decimalDigits":2,"rounding":0,"code":"SEK","namePlural":"Swedish kronor"},{"name":"Singapore Dollar","symbol":"S$","symbolNative":"$","decimalDigits":2,"rounding":0,"code":"SGD","namePlural":"Singapore dollars"},{"name":"Somali Shilling","symbol":"Ssh","symbolNative":"Ssh","decimalDigits":0,"rounding":0,"code":"SOS","namePlural":"Somali shillings"},{"name":"Syrian Pound","symbol":"SY\xa3","symbolNative":"\u0644.\u0633.\u200f","decimalDigits":0,"rounding":0,"code":"SYP","namePlural":"Syrian pounds"},{"name":"Thai Baht","symbol":"\u0e3f","symbolNative":"\u0e3f","decimalDigits":2,"rounding":0,"code":"THB","namePlural":"Thai baht"},{"name":"Tunisian Dinar","symbol":"DT","symbolNative":"\u062f.\u062a.\u200f","decimalDigits":3,"rounding":0,"code":"TND","namePlural":"Tunisian dinars"},{"name":"Tongan Pa\u02bbanga","symbol":"T$","symbolNative":"T$","decimalDigits":2,"rounding":0,"code":"TOP","namePlural":"Tongan pa\u02bbanga"},{"name":"Turkish Lira","symbol":"TL","symbolNative":"TL","decimalDigits":2,"rounding":0,"code":"TRY","namePlural":"Turkish Lira"},{"name":"Trinidad and Tobago Dollar","symbol":"TT$","symbolNative":"$","decimalDigits":2,"rounding":0,"code":"TTD","namePlural":"Trinidad and Tobago dollars"},{"name":"New Taiwan Dollar","symbol":"NT$","symbolNative":"NT$","decimalDigits":2,"rounding":0,"code":"TWD","namePlural":"New Taiwan dollars"},{"name":"Tanzanian Shilling","symbol":"TSh","symbolNative":"TSh","decimalDigits":0,"rounding":0,"code":"TZS","namePlural":"Tanzanian shillings"},{"name":"Ukrainian Hryvnia","symbol":"\u20b4","symbolNative":"\u20b4","decimalDigits":2,"rounding":0,"code":"UAH","namePlural":"Ukrainian hryvnias"},{"name":"Ugandan Shilling","symbol":"USh","symbolNative":"USh","decimalDigits":0,"rounding":0,"code":"UGX","namePlural":"Ugandan shillings"},{"name":"Uruguayan Peso","symbol":"$U","symbolNative":"$","decimalDigits":2,"rounding":0,"code":"UYU","namePlural":"Uruguayan pesos"},{"name":"Uzbekistan Som","symbol":"UZS","symbolNative":"UZS","decimalDigits":0,"rounding":0,"code":"UZS","namePlural":"Uzbekistan som"},{"name":"Venezuelan Bol\xedvar","symbol":"Bs.F.","symbolNative":"Bs.F.","decimalDigits":2,"rounding":0,"code":"VEF","namePlural":"Venezuelan bol\xedvars"},{"name":"Vietnamese Dong","symbol":"\u20ab","symbolNative":"\u20ab","decimalDigits":0,"rounding":0,"code":"VND","namePlural":"Vietnamese dong"},{"name":"CFA Franc BEAC","symbol":"FCFA","symbolNative":"FCFA","decimalDigits":0,"rounding":0,"code":"XAF","namePlural":"CFA francs BEAC"},{"name":"CFA Franc BCEAO","symbol":"CFA","symbolNative":"CFA","decimalDigits":0,"rounding":0,"code":"XOF","namePlural":"CFA francs BCEAO"},{"name":"Yemeni Rial","symbol":"YR","symbolNative":"\u0631.\u064a.\u200f","decimalDigits":0,"rounding":0,"code":"YER","namePlural":"Yemeni rials"},{"name":"South African Rand","symbol":"R","symbolNative":"R","decimalDigits":2,"rounding":0,"code":"ZAR","namePlural":"South African rand"},{"name":"Zambian Kwacha","symbol":"ZK","symbolNative":"ZK","decimalDigits":0,"rounding":0,"code":"ZMK","namePlural":"Zambian kwachas"},{"name":"Zimbabwean Dollar","symbol":"ZWL$","symbolNative":"ZWL$","decimalDigits":0,"rounding":0,"code":"ZWL","namePlural":"Zimbabwean Dollar"}]')}},r1=>{r1(r1.s=7982)}]); \ No newline at end of file diff --git a/portal/bae-frontend/main.b93f580b2f4df552.js b/portal/bae-frontend/main.b93f580b2f4df552.js deleted file mode 100644 index b953e1ae..00000000 --- a/portal/bae-frontend/main.b93f580b2f4df552.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkbae_frontend=self.webpackChunkbae_frontend||[]).push([[792],{2030:(r1,t1,W)=>{"use strict";function U(c,r,e,a,t,i,l){try{var d=c[i](l),u=d.value}catch(p){return void e(p)}d.done?r(u):Promise.resolve(u).then(a,t)}function M(c){return function(){var r=this,e=arguments;return new Promise(function(a,t){var i=c.apply(r,e);function l(u){U(i,a,t,l,d,"next",u)}function d(u){U(i,a,t,l,d,"throw",u)}l(void 0)})}}let F=null,I=1;const $=Symbol("SIGNAL");function q(c){const r=F;return F=c,r}function y1(c){if((!e3(c)||c.dirty)&&(c.dirty||c.lastCleanEpoch!==I)){if(!c.producerMustRecompute(c)&&!k8(c))return c.dirty=!1,void(c.lastCleanEpoch=I);c.producerRecomputeValue(c),c.dirty=!1,c.lastCleanEpoch=I}}function k8(c){ee(c);for(let r=0;r0}function ee(c){c.producerNode??=[],c.producerIndexOfThis??=[],c.producerLastReadVersion??=[]}let ai=null;function b2(c){return"function"==typeof c}function qa(c){const e=c(a=>{Error.call(a),a.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const Wa=qa(c=>function(e){c(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((a,t)=>`${t+1}) ${a.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function S5(c,r){if(c){const e=c.indexOf(r);0<=e&&c.splice(e,1)}}class c3{constructor(r){this.initialTeardown=r,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let r;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const i of e)i.remove(this);else e.remove(this);const{initialTeardown:a}=this;if(b2(a))try{a()}catch(i){r=i instanceof Wa?i.errors:[i]}const{_finalizers:t}=this;if(t){this._finalizers=null;for(const i of t)try{x3(i)}catch(l){r=r??[],l instanceof Wa?r=[...r,...l.errors]:r.push(l)}}if(r)throw new Wa(r)}}add(r){var e;if(r&&r!==this)if(this.closed)x3(r);else{if(r instanceof c3){if(r.closed||r._hasParent(this))return;r._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(r)}}_hasParent(r){const{_parentage:e}=this;return e===r||Array.isArray(e)&&e.includes(r)}_addParent(r){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(r),e):e?[e,r]:r}_removeParent(r){const{_parentage:e}=this;e===r?this._parentage=null:Array.isArray(e)&&S5(e,r)}remove(r){const{_finalizers:e}=this;e&&S5(e,r),r instanceof c3&&r._removeParent(this)}}c3.EMPTY=(()=>{const c=new c3;return c.closed=!0,c})();const oi=c3.EMPTY;function Za(c){return c instanceof c3||c&&"closed"in c&&b2(c.remove)&&b2(c.add)&&b2(c.unsubscribe)}function x3(c){b2(c)?c():c.unsubscribe()}const W6={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},N5={setTimeout(c,r,...e){const{delegate:a}=N5;return a?.setTimeout?a.setTimeout(c,r,...e):setTimeout(c,r,...e)},clearTimeout(c){const{delegate:r}=N5;return(r?.clearTimeout||clearTimeout)(c)},delegate:void 0};function ni(c){N5.setTimeout(()=>{const{onUnhandledError:r}=W6;if(!r)throw c;r(c)})}function D8(){}const w3=be("C",void 0,void 0);function be(c,r,e){return{kind:c,value:r,error:e}}let w2=null;function T8(c){if(W6.useDeprecatedSynchronousErrorHandling){const r=!w2;if(r&&(w2={errorThrown:!1,error:null}),c(),r){const{errorThrown:e,error:a}=w2;if(w2=null,e)throw a}}else c()}class xe extends c3{constructor(r){super(),this.isStopped=!1,r?(this.destination=r,Za(r)&&r.add(this)):this.destination=E8}static create(r,e,a){return new H0(r,e,a)}next(r){this.isStopped?Ja(function Ka(c){return be("N",c,void 0)}(r),this):this._next(r)}error(r){this.isStopped?Ja(function si(c){return be("E",void 0,c)}(r),this):(this.isStopped=!0,this._error(r))}complete(){this.isStopped?Ja(w3,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(r){this.destination.next(r)}_error(r){try{this.destination.error(r)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Qa=Function.prototype.bind;function we(c,r){return Qa.call(c,r)}class Fe{constructor(r){this.partialObserver=r}next(r){const{partialObserver:e}=this;if(e.next)try{e.next(r)}catch(a){D5(a)}}error(r){const{partialObserver:e}=this;if(e.error)try{e.error(r)}catch(a){D5(a)}else D5(r)}complete(){const{partialObserver:r}=this;if(r.complete)try{r.complete()}catch(e){D5(e)}}}class H0 extends xe{constructor(r,e,a){let t;if(super(),b2(r)||!r)t={next:r??void 0,error:e??void 0,complete:a??void 0};else{let i;this&&W6.useDeprecatedNextContext?(i=Object.create(r),i.unsubscribe=()=>this.unsubscribe(),t={next:r.next&&we(r.next,i),error:r.error&&we(r.error,i),complete:r.complete&&we(r.complete,i)}):t=r}this.destination=new Fe(t)}}function D5(c){W6.useDeprecatedSynchronousErrorHandling?function li(c){W6.useDeprecatedSynchronousErrorHandling&&w2&&(w2.errorThrown=!0,w2.error=c)}(c):ni(c)}function Ja(c,r){const{onStoppedNotification:e}=W6;e&&N5.setTimeout(()=>e(c,r))}const E8={closed:!0,next:D8,error:function T5(c){throw c},complete:D8},C0="function"==typeof Symbol&&Symbol.observable||"@@observable";function s6(c){return c}function k1(c){return 0===c.length?s6:1===c.length?c[0]:function(e){return c.reduce((a,t)=>t(a),e)}}let l4=(()=>{class c{constructor(e){e&&(this._subscribe=e)}lift(e){const a=new c;return a.source=this,a.operator=e,a}subscribe(e,a,t){const i=function Z3(c){return c&&c instanceof xe||function Z6(c){return c&&b2(c.next)&&b2(c.error)&&b2(c.complete)}(c)&&Za(c)}(e)?e:new H0(e,a,t);return T8(()=>{const{operator:l,source:d}=this;i.add(l?l.call(i,d):d?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(e){try{return this._subscribe(e)}catch(a){e.error(a)}}forEach(e,a){return new(a=fi(a))((t,i)=>{const l=new H0({next:d=>{try{e(d)}catch(u){i(u),l.unsubscribe()}},error:i,complete:t});this.subscribe(l)})}_subscribe(e){var a;return null===(a=this.source)||void 0===a?void 0:a.subscribe(e)}[C0](){return this}pipe(...e){return k1(e)(this)}toPromise(e){return new(e=fi(e))((a,t)=>{let i;this.subscribe(l=>i=l,l=>t(l),()=>a(i))})}}return c.create=r=>new c(r),c})();function fi(c){var r;return null!==(r=c??W6.Promise)&&void 0!==r?r:Promise}const h2=qa(c=>function(){c(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let G2=(()=>{class c extends l4{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const a=new D2(this,this);return a.operator=e,a}_throwIfClosed(){if(this.closed)throw new h2}next(e){T8(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const a of this.currentObservers)a.next(e)}})}error(e){T8(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:a}=this;for(;a.length;)a.shift().error(e)}})}complete(){T8(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:a,isStopped:t,observers:i}=this;return a||t?oi:(this.currentObservers=null,i.push(e),new c3(()=>{this.currentObservers=null,S5(i,e)}))}_checkFinalizedStatuses(e){const{hasError:a,thrownError:t,isStopped:i}=this;a?e.error(t):i&&e.complete()}asObservable(){const e=new l4;return e.source=this,e}}return c.create=(r,e)=>new D2(r,e),c})();class D2 extends G2{constructor(r,e){super(),this.destination=r,this.source=e}next(r){var e,a;null===(a=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===a||a.call(e,r)}error(r){var e,a;null===(a=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===a||a.call(e,r)}complete(){var r,e;null===(e=null===(r=this.destination)||void 0===r?void 0:r.complete)||void 0===e||e.call(r)}_subscribe(r){var e,a;return null!==(a=null===(e=this.source)||void 0===e?void 0:e.subscribe(r))&&void 0!==a?a:oi}}class a3 extends G2{constructor(r){super(),this._value=r}get value(){return this.getValue()}_subscribe(r){const e=super._subscribe(r);return!e.closed&&r.next(this._value),e}getValue(){const{hasError:r,thrownError:e,_value:a}=this;if(r)throw e;return this._throwIfClosed(),a}next(r){super.next(this._value=r)}}function di(c){return b2(c?.lift)}function i4(c){return r=>{if(di(r))return r.lift(function(e){try{return c(e,this)}catch(a){this.error(a)}});throw new TypeError("Unable to lift unknown Observable type")}}function m2(c,r,e,a,t){return new K6(c,r,e,a,t)}class K6 extends xe{constructor(r,e,a,t,i,l){super(r),this.onFinalize=i,this.shouldUnsubscribe=l,this._next=e?function(d){try{e(d)}catch(u){r.error(u)}}:super._next,this._error=t?function(d){try{t(d)}catch(u){r.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=a?function(){try{a()}catch(d){r.error(d)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(r=this.onFinalize)||void 0===r||r.call(this))}}}function X1(c,r){return i4((e,a)=>{let t=0;e.subscribe(m2(a,i=>{a.next(c.call(r,i,t++))}))})}const K3="https://g.co/ng/security#xss";class l1 extends Error{constructor(r,e){super(function Q3(c,r){return`NG0${Math.abs(c)}${r?": "+r:""}`}(r,e)),this.code=r}}function h3(c){return{toString:c}.toString()}const ce="__parameters__";function q2(c,r,e){return h3(()=>{const a=function Xa(c){return function(...e){if(c){const a=c(...e);for(const t in a)this[t]=a[t]}}}(r);function t(...i){if(this instanceof t)return a.apply(this,i),this;const l=new t(...i);return d.annotation=l,d;function d(u,p,z){const x=u.hasOwnProperty(ce)?u[ce]:Object.defineProperty(u,ce,{value:[]})[ce];for(;x.length<=z;)x.push(null);return(x[z]=x[z]||[]).push(l),u}}return e&&(t.prototype=Object.create(e.prototype)),t.prototype.ngMetadataName=c,t.annotationCls=t,t})}const F2=globalThis;function T2(c){for(let r in c)if(c[r]===T2)return r;throw Error("Could not find renamed property on target object.")}function lf(c,r){for(const e in r)r.hasOwnProperty(e)&&!c.hasOwnProperty(e)&&(c[e]=r[e])}function V4(c){if("string"==typeof c)return c;if(Array.isArray(c))return"["+c.map(V4).join(", ")+"]";if(null==c)return""+c;if(c.overriddenName)return`${c.overriddenName}`;if(c.name)return`${c.name}`;const r=c.toString();if(null==r)return""+r;const e=r.indexOf("\n");return-1===e?r:r.substring(0,e)}function e7(c,r){return null==c||""===c?null===r?"":r:null==r||""===r?c:c+" "+r}const ff=T2({__forward_ref__:T2});function E2(c){return c.__forward_ref__=E2,c.toString=function(){return V4(this())},c}function q1(c){return R5(c)?c():c}function R5(c){return"function"==typeof c&&c.hasOwnProperty(ff)&&c.__forward_ref__===E2}function g1(c){return{token:c.token,providedIn:c.providedIn||null,factory:c.factory,value:void 0}}function g4(c){return{providers:c.providers||[],imports:c.imports||[]}}function O5(c){return vi(c,U5)||vi(c,Hi)}function vi(c,r){return c.hasOwnProperty(r)?c[r]:null}function I5(c){return c&&(c.hasOwnProperty(a7)||c.hasOwnProperty(gf))?c[a7]:null}const U5=T2({\u0275prov:T2}),a7=T2({\u0275inj:T2}),Hi=T2({ngInjectableDef:T2}),gf=T2({ngInjectorDef:T2});class H1{constructor(r,e){this._desc=r,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=g1({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function i7(c){return c&&!!c.\u0275providers}const Se=T2({\u0275cmp:T2}),W2=T2({\u0275dir:T2}),ae=T2({\u0275pipe:T2}),Ne=T2({\u0275mod:T2}),Q6=T2({\u0275fac:T2}),De=T2({__NG_ELEMENT_ID__:T2}),Ci=T2({__NG_ENV_ID__:T2});function t2(c){return"string"==typeof c?c:null==c?"":String(c)}function P8(c,r){throw new l1(-201,!1)}var u2=function(c){return c[c.Default=0]="Default",c[c.Host=1]="Host",c[c.Self=2]="Self",c[c.SkipSelf=4]="SkipSelf",c[c.Optional=8]="Optional",c}(u2||{});let n7;function zi(){return n7}function j4(c){const r=n7;return n7=c,r}function Y5(c,r,e){const a=O5(c);return a&&"root"==a.providedIn?void 0===a.value?a.value=a.factory():a.value:e&u2.Optional?null:void 0!==r?r:void P8()}const R8={},G5="__NG_DI_FLAG__",q5="ngTempTokenPath",Mf=/\n/gm,Vi="__source";let te;function S3(c){const r=te;return te=c,r}function bf(c,r=u2.Default){if(void 0===te)throw new l1(-203,!1);return null===te?Y5(c,void 0,r):te.get(c,r&u2.Optional?null:void 0,r)}function d1(c,r=u2.Default){return(zi()||bf)(q1(c),r)}function i1(c,r=u2.Default){return d1(c,W5(r))}function W5(c){return typeof c>"u"||"number"==typeof c?c:(c.optional&&8)|(c.host&&1)|(c.self&&2)|(c.skipSelf&&4)}function s7(c){const r=[];for(let e=0;eArray.isArray(e)?N6(e,r):r(e))}function xi(c,r,e){r>=c.length?c.push(e):c.splice(r,0,e)}function K5(c,r){return r>=c.length-1?c.pop():c.splice(r,1)[0]}function _3(c,r,e){let a=M0(c,r);return a>=0?c[1|a]=e:(a=~a,function J5(c,r,e,a){let t=c.length;if(t==r)c.push(e,a);else if(1===t)c.push(a,c[0]),c[0]=e;else{for(t--,c.push(c[t-1],c[t]);t>r;)c[t]=c[t-2],t--;c[r]=e,c[r+1]=a}}(c,a,r,e)),a}function f7(c,r){const e=M0(c,r);if(e>=0)return c[1|e]}function M0(c,r){return function X5(c,r,e){let a=0,t=c.length>>e;for(;t!==a;){const i=a+(t-a>>1),l=c[i<r?t=i:a=i+1}return~(t<r){l=i-1;break}}}for(;i-1){let i;for(;++ti?"":t[z+1].toLowerCase(),2&a&&p!==x){if(f6(a))return!1;l=!0}}}}else{if(!l&&!f6(a)&&!f6(u))return!1;if(l&&f6(u))continue;l=!1,a=u|1&a}}return f6(a)||l}function f6(c){return!(1&c)}function Ni(c,r,e,a){if(null===r)return-1;let t=0;if(a||!e){let i=!1;for(;t-1)for(e++;e0?'="'+d+'"':"")+"]"}else 8&a?t+="."+l:4&a&&(t+=" "+l);else""!==t&&!f6(l)&&(r+=Ti(i,t),t=""),a=l,i=i||!f6(a);e++}return""!==t&&(r+=Ti(i,t)),r}function V1(c){return h3(()=>{const r=Ai(c),e={...r,decls:c.decls,vars:c.vars,template:c.template,consts:c.consts||null,ngContentSelectors:c.ngContentSelectors,onPush:c.changeDetection===cc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:r.standalone&&c.dependencies||null,getStandaloneInjector:null,signals:c.signals??!1,data:c.data||{},encapsulation:c.encapsulation||l6.Emulated,styles:c.styles||V2,_:null,schemas:c.schemas||null,tView:null,id:""};Pi(e);const a=c.dependencies;return e.directiveDefs=O8(a,!1),e.pipeDefs=O8(a,!0),e.id=function Bi(c){let r=0;const e=[c.selectors,c.ngContentSelectors,c.hostVars,c.hostAttrs,c.consts,c.vars,c.decls,c.encapsulation,c.standalone,c.signals,c.exportAs,JSON.stringify(c.inputs),JSON.stringify(c.outputs),Object.getOwnPropertyNames(c.type.prototype),!!c.contentQueries,!!c.viewQuery].join("|");for(const t of e)r=Math.imul(31,r)+t.charCodeAt(0)|0;return r+=2147483648,"c"+r}(e),e})}function If(c){return f2(c)||L4(c)}function Uf(c){return null!==c}function M4(c){return h3(()=>({type:c.type,bootstrap:c.bootstrap||V2,declarations:c.declarations||V2,imports:c.imports||V2,exports:c.exports||V2,transitiveCompileScopes:null,schemas:c.schemas||null,id:c.id||null}))}function Ei(c,r){if(null==c)return D6;const e={};for(const a in c)if(c.hasOwnProperty(a)){const t=c[a];let i,l,d=J2.None;Array.isArray(t)?(d=t[0],i=t[1],l=t[2]??i):(i=t,l=t),r?(e[i]=d!==J2.None?[a,d]:a,r[i]=l):e[i]=a}return e}function U1(c){return h3(()=>{const r=Ai(c);return Pi(r),r})}function $4(c){return{type:c.type,name:c.name,factory:null,pure:!1!==c.pure,standalone:!0===c.standalone,onDestroy:c.type.prototype.ngOnDestroy||null}}function f2(c){return c[Se]||null}function L4(c){return c[W2]||null}function Y4(c){return c[ae]||null}function r3(c,r){const e=c[Ne]||null;if(!e&&!0===r)throw new Error(`Type ${V4(c)} does not have '\u0275mod' property.`);return e}function Ai(c){const r={};return{type:c.type,providersResolver:null,factory:null,hostBindings:c.hostBindings||null,hostVars:c.hostVars||0,hostAttrs:c.hostAttrs||null,contentQueries:c.contentQueries||null,declaredInputs:r,inputTransforms:null,inputConfig:c.inputs||D6,exportAs:c.exportAs||null,standalone:!0===c.standalone,signals:!0===c.signals,selectors:c.selectors||V2,viewQuery:c.viewQuery||null,features:c.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ei(c.inputs,r),outputs:Ei(c.outputs),debugInfo:null}}function Pi(c){c.features?.forEach(r=>r(c))}function O8(c,r){if(!c)return null;const e=r?Y4:If;return()=>("function"==typeof c?c():c).map(a=>e(a)).filter(Uf)}function J6(c){return{\u0275providers:c}}function Ee(...c){return{\u0275providers:Ae(0,c),\u0275fromNgModule:!0}}function Ae(c,...r){const e=[],a=new Set;let t;const i=l=>{e.push(l)};return N6(r,l=>{const d=l;X6(d,i,[],a)&&(t||=[],t.push(d))}),void 0!==t&&m7(t,i),e}function m7(c,r){for(let e=0;e{r(i,a)})}}function X6(c,r,e,a){if(!(c=q1(c)))return!1;let t=null,i=I5(c);const l=!i&&f2(c);if(i||l){if(l&&!l.standalone)return!1;t=c}else{const u=c.ngModule;if(i=I5(u),!i)return!1;t=u}const d=a.has(t);if(l){if(d)return!1;if(a.add(t),l.dependencies){const u="function"==typeof l.dependencies?l.dependencies():l.dependencies;for(const p of u)X6(p,r,e,a)}}else{if(!i)return!1;{if(null!=i.imports&&!d){let p;a.add(t);try{N6(i.imports,z=>{X6(z,r,e,a)&&(p||=[],p.push(z))})}finally{}void 0!==p&&m7(p,r)}if(!d){const p=ie(t)||(()=>new t);r({provide:t,useFactory:p,deps:V2},t),r({provide:u7,useValue:t,multi:!0},t),r({provide:L0,useValue:()=>d1(t),multi:!0},t)}const u=i.providers;if(null!=u&&!d){const p=c;tc(u,z=>{r(z,p)})}}}return t!==c&&void 0!==c.providers}function tc(c,r){for(let e of c)i7(e)&&(e=e.\u0275providers),Array.isArray(e)?tc(e,r):r(e)}const $f=T2({provide:String,useValue:T2});function _7(c){return null!==c&&"object"==typeof c&&$f in c}function oe(c){return"function"==typeof c}const p7=new H1(""),ic={},Gf={};let g7;function oc(){return void 0===g7&&(g7=new ec),g7}class p3{}class Pe extends p3{get destroyed(){return this._destroyed}constructor(r,e,a,t){super(),this.parent=e,this.source=a,this.scopes=t,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,H7(r,l=>this.processProvider(l)),this.records.set(d7,Re(void 0,this)),t.has("environment")&&this.records.set(p3,Re(void 0,this));const i=this.records.get(p7);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(u7,V2,u2.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const r=q(null);try{for(const a of this._ngOnDestroyHooks)a.ngOnDestroy();const e=this._onDestroyHooks;this._onDestroyHooks=[];for(const a of e)a()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),q(r)}}onDestroy(r){return this.assertNotDestroyed(),this._onDestroyHooks.push(r),()=>this.removeOnDestroy(r)}runInContext(r){this.assertNotDestroyed();const e=S3(this),a=j4(void 0);try{return r()}finally{S3(e),j4(a)}}get(r,e=R8,a=u2.Default){if(this.assertNotDestroyed(),r.hasOwnProperty(Ci))return r[Ci](this);a=W5(a);const i=S3(this),l=j4(void 0);try{if(!(a&u2.SkipSelf)){let u=this.records.get(r);if(void 0===u){const p=function Qf(c){return"function"==typeof c||"object"==typeof c&&c instanceof H1}(r)&&O5(r);u=p&&this.injectableDefInScope(p)?Re(v7(r),ic):null,this.records.set(r,u)}if(null!=u)return this.hydrate(r,u)}return(a&u2.Self?oc():this.parent).get(r,e=a&u2.Optional&&e===R8?null:e)}catch(d){if("NullInjectorError"===d.name){if((d[q5]=d[q5]||[]).unshift(V4(r)),i)throw d;return function Li(c,r,e,a){const t=c[q5];throw r[Vi]&&t.unshift(r[Vi]),c.message=function wf(c,r,e,a=null){c=c&&"\n"===c.charAt(0)&&"\u0275"==c.charAt(1)?c.slice(2):c;let t=V4(r);if(Array.isArray(r))t=r.map(V4).join(" -> ");else if("object"==typeof r){let i=[];for(let l in r)if(r.hasOwnProperty(l)){let d=r[l];i.push(l+":"+("string"==typeof d?JSON.stringify(d):V4(d)))}t=`{${i.join(", ")}}`}return`${e}${a?"("+a+")":""}[${t}]: ${c.replace(Mf,"\n ")}`}("\n"+c.message,t,e,a),c.ngTokenPath=t,c[q5]=null,c}(d,r,"R3InjectorError",this.source)}throw d}finally{j4(l),S3(i)}}resolveInjectorInitializers(){const r=q(null),e=S3(this),a=j4(void 0);try{const i=this.get(L0,V2,u2.Self);for(const l of i)l()}finally{S3(e),j4(a),q(r)}}toString(){const r=[],e=this.records;for(const a of e.keys())r.push(V4(a));return`R3Injector[${r.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new l1(205,!1)}processProvider(r){let e=oe(r=q1(r))?r:q1(r&&r.provide);const a=function Wf(c){return _7(c)?Re(void 0,c.useValue):Re(Ui(c),ic)}(r);if(!oe(r)&&!0===r.multi){let t=this.records.get(e);t||(t=Re(void 0,ic,!0),t.factory=()=>s7(t.multi),this.records.set(e,t)),e=r,t.multi.push(r)}this.records.set(e,a)}hydrate(r,e){const a=q(null);try{return e.value===ic&&(e.value=Gf,e.value=e.factory()),"object"==typeof e.value&&e.value&&function Kf(c){return null!==c&&"object"==typeof c&&"function"==typeof c.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{q(a)}}injectableDefInScope(r){if(!r.providedIn)return!1;const e=q1(r.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(r){const e=this._onDestroyHooks.indexOf(r);-1!==e&&this._onDestroyHooks.splice(e,1)}}function v7(c){const r=O5(c),e=null!==r?r.factory:ie(c);if(null!==e)return e;if(c instanceof H1)throw new l1(204,!1);if(c instanceof Function)return function qf(c){if(c.length>0)throw new l1(204,!1);const e=function pf(c){return c&&(c[U5]||c[Hi])||null}(c);return null!==e?()=>e.factory(c):()=>new c}(c);throw new l1(204,!1)}function Ui(c,r,e){let a;if(oe(c)){const t=q1(c);return ie(t)||v7(t)}if(_7(c))a=()=>q1(c.useValue);else if(function Ii(c){return!(!c||!c.useFactory)}(c))a=()=>c.useFactory(...s7(c.deps||[]));else if(function Oi(c){return!(!c||!c.useExisting)}(c))a=()=>d1(q1(c.useExisting));else{const t=q1(c&&(c.useClass||c.provide));if(!function Zf(c){return!!c.deps}(c))return ie(t)||v7(t);a=()=>new t(...s7(c.deps))}return a}function Re(c,r,e=!1){return{factory:c,value:r,multi:e?[]:void 0}}function H7(c,r){for(const e of c)Array.isArray(e)?H7(e,r):e&&i7(e)?H7(e.\u0275providers,r):r(e)}function N3(c,r){c instanceof Pe&&c.assertNotDestroyed();const a=S3(c),t=j4(void 0);try{return r()}finally{S3(a),j4(t)}}function ji(){return void 0!==zi()||null!=function yf(){return te}()}const e4=0,v1=1,P1=2,m4=3,d6=4,t3=5,m1=6,Oe=7,Z2=8,E4=9,o2=10,G1=11,Ie=12,fc=13,Ue=14,o4=15,U8=16,je=17,e0=18,D3=19,qi=20,c0=21,dc=22,ne=23,a2=25,V7=1,X3=7,g3=9,f4=10;var M7=function(c){return c[c.None=0]="None",c[c.HasTransplantedViews=2]="HasTransplantedViews",c}(M7||{});function i3(c){return Array.isArray(c)&&"object"==typeof c[V7]}function o3(c){return Array.isArray(c)&&!0===c[V7]}function L7(c){return!!(4&c.flags)}function se(c){return c.componentOffset>-1}function hc(c){return!(1&~c.flags)}function u6(c){return!!c.template}function y7(c){return!!(512&c[P1])}class L{constructor(r,e,a){this.previousValue=r,this.currentValue=e,this.firstChange=a}isFirstChange(){return this.firstChange}}function T(c,r,e,a){null!==r?r.applyValueToInputSignal(r,a):c[e]=a}function A(){return G}function G(c){return c.type.prototype.ngOnChanges&&(c.setInput=o1),Q}function Q(){const c=c2(this),r=c?.current;if(r){const e=c.previous;if(e===D6)c.previous=r;else for(let a in r)e[a]=r[a];c.current=null,this.ngOnChanges(r)}}function o1(c,r,e,a,t){const i=this.declaredInputs[a],l=c2(c)||function _2(c,r){return c[F1]=r}(c,{previous:D6,current:null}),d=l.current||(l.current={}),u=l.previous,p=u[i];d[i]=new L(p&&p.currentValue,e,u===D6),T(c,r,t,e)}A.ngInherit=!0;const F1="__ngSimpleChanges__";function c2(c){return c[F1]||null}const q4=function(c,r,e){},qz="svg";let Zz=!1;function K2(c){for(;Array.isArray(c);)c=c[e4];return c}function F7(c,r){return K2(r[c])}function T3(c,r){return K2(r[c.index])}function k7(c,r){return c.data[r]}function _c(c,r){return c[r]}function h6(c,r){const e=r[c];return i3(e)?e:e[e4]}function nd(c){return!(128&~c[P1])}function F0(c,r){return null==r?null:c[r]}function Kz(c){c[je]=0}function Gm1(c){1024&c[P1]||(c[P1]|=1024,nd(c)&&S7(c))}function sd(c){return!!(9216&c[P1]||c[ne]?.dirty)}function ld(c){c[o2].changeDetectionScheduler?.notify(1),sd(c)?S7(c):64&c[P1]&&(function Um1(){return Zz}()?(c[P1]|=1024,S7(c)):c[o2].changeDetectionScheduler?.notify())}function S7(c){c[o2].changeDetectionScheduler?.notify();let r=Y8(c);for(;null!==r&&!(8192&r[P1])&&(r[P1]|=8192,nd(r));)r=Y8(r)}function Zi(c,r){if(!(256&~c[P1]))throw new l1(911,!1);null===c[c0]&&(c[c0]=[]),c[c0].push(r)}function Y8(c){const r=c[m4];return o3(r)?r[m4]:r}const r2={lFrame:oV(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Xz(){return r2.bindingsEnabled}function pc(){return null!==r2.skipHydrationRootTNode}function s1(){return r2.lFrame.lView}function p2(){return r2.lFrame.tView}function y(c){return r2.lFrame.contextLView=c,c[Z2]}function b(c){return r2.lFrame.contextLView=null,c}function j2(){let c=eV();for(;null!==c&&64===c.type;)c=c.parent;return c}function eV(){return r2.lFrame.currentTNode}function k0(c,r){const e=r2.lFrame;e.currentTNode=c,e.isParent=r}function dd(){return r2.lFrame.isParent}function ud(){r2.lFrame.isParent=!1}function E3(){const c=r2.lFrame;let r=c.bindingRootIndex;return-1===r&&(r=c.bindingRootIndex=c.tView.bindingStartIndex),r}function le(){return r2.lFrame.bindingIndex}function r0(){return r2.lFrame.bindingIndex++}function fe(c){const r=r2.lFrame,e=r.bindingIndex;return r.bindingIndex=r.bindingIndex+c,e}function r_1(c,r){const e=r2.lFrame;e.bindingIndex=e.bindingRootIndex=c,hd(r)}function hd(c){r2.lFrame.currentDirectiveIndex=c}function _d(){return r2.lFrame.currentQueryIndex}function Ki(c){r2.lFrame.currentQueryIndex=c}function i_1(c){const r=c[v1];return 2===r.type?r.declTNode:1===r.type?c[t3]:null}function tV(c,r,e){if(e&u2.SkipSelf){let t=r,i=c;for(;!(t=t.parent,null!==t||e&u2.Host||(t=i_1(i),null===t||(i=i[Ue],10&t.type))););if(null===t)return!1;r=t,c=i}const a=r2.lFrame=iV();return a.currentTNode=r,a.lView=c,!0}function pd(c){const r=iV(),e=c[v1];r2.lFrame=r,r.currentTNode=e.firstChild,r.lView=c,r.tView=e,r.contextLView=c,r.bindingIndex=e.bindingStartIndex,r.inI18n=!1}function iV(){const c=r2.lFrame,r=null===c?null:c.child;return null===r?oV(c):r}function oV(c){const r={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:c,child:null,inI18n:!1};return null!==c&&(c.child=r),r}function nV(){const c=r2.lFrame;return r2.lFrame=c.parent,c.currentTNode=null,c.lView=null,c}const sV=nV;function gd(){const c=nV();c.isParent=!0,c.tView=null,c.selectedIndex=-1,c.contextLView=null,c.elementDepthCount=0,c.currentDirectiveIndex=-1,c.currentNamespace=null,c.bindingRootIndex=-1,c.bindingIndex=-1,c.currentQueryIndex=0}function v3(){return r2.lFrame.selectedIndex}function G8(c){r2.lFrame.selectedIndex=c}function c4(){const c=r2.lFrame;return k7(c.tView,c.selectedIndex)}function w(){r2.lFrame.currentNamespace=qz}function O(){!function s_1(){r2.lFrame.currentNamespace=null}()}let fV=!0;function D7(){return fV}function S0(c){fV=c}function Qi(c,r){for(let e=r.directiveStart,a=r.directiveEnd;e=a)break}else r[u]<0&&(c[je]+=65536),(d>14>16&&(3&c[P1])===r&&(c[P1]+=16384,uV(d,i)):uV(d,i)}const gc=-1;class T7{constructor(r,e,a){this.factory=r,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=a}}function Cd(c){return c!==gc}function E7(c){return 32767&c}function A7(c,r){let e=function __1(c){return c>>16}(c),a=r;for(;e>0;)a=a[Ue],e--;return a}let zd=!0;function eo(c){const r=zd;return zd=c,r}const hV=255,mV=5;let p_1=0;const N0={};function co(c,r){const e=_V(c,r);if(-1!==e)return e;const a=r[v1];a.firstCreatePass&&(c.injectorIndex=r.length,Vd(a.data,c),Vd(r,null),Vd(a.blueprint,null));const t=ao(c,r),i=c.injectorIndex;if(Cd(t)){const l=E7(t),d=A7(t,r),u=d[v1].data;for(let p=0;p<8;p++)r[i+p]=d[l+p]|u[l+p]}return r[i+8]=t,i}function Vd(c,r){c.push(0,0,0,0,0,0,0,0,r)}function _V(c,r){return-1===c.injectorIndex||c.parent&&c.parent.injectorIndex===c.injectorIndex||null===r[c.injectorIndex+8]?-1:c.injectorIndex}function ao(c,r){if(c.parent&&-1!==c.parent.injectorIndex)return c.parent.injectorIndex;let e=0,a=null,t=r;for(;null!==t;){if(a=VV(t),null===a)return gc;if(e++,t=t[Ue],-1!==a.injectorIndex)return a.injectorIndex|e<<16}return gc}function Md(c,r,e){!function g_1(c,r,e){let a;"string"==typeof e?a=e.charCodeAt(0)||0:e.hasOwnProperty(De)&&(a=e[De]),null==a&&(a=e[De]=p_1++);const t=a&hV;r.data[c+(t>>mV)]|=1<=0?r&hV:z_1:r}(e);if("function"==typeof i){if(!tV(r,c,a))return a&u2.Host?pV(t,0,a):gV(r,e,a,t);try{let l;if(l=i(a),null!=l||a&u2.Optional)return l;P8()}finally{sV()}}else if("number"==typeof i){let l=null,d=_V(c,r),u=gc,p=a&u2.Host?r[o4][t3]:null;for((-1===d||a&u2.SkipSelf)&&(u=-1===d?ao(c,r):r[d+8],u!==gc&&zV(a,!1)?(l=r[v1],d=E7(u),r=A7(u,r)):d=-1);-1!==d;){const z=r[v1];if(CV(i,d,z.data)){const x=H_1(d,r,e,l,a,p);if(x!==N0)return x}u=r[d+8],u!==gc&&zV(a,r[v1].data[d+8]===p)&&CV(i,d,r)?(l=z,d=E7(u),r=A7(u,r)):d=-1}}return t}function H_1(c,r,e,a,t,i){const l=r[v1],d=l.data[c+8],z=ro(d,l,e,null==a?se(d)&&zd:a!=l&&!!(3&d.type),t&u2.Host&&i===d);return null!==z?q8(r,l,z,d):N0}function ro(c,r,e,a,t){const i=c.providerIndexes,l=r.data,d=1048575&i,u=c.directiveStart,z=i>>20,E=t?d+z:c.directiveEnd;for(let P=a?d:d+z;P=u&&Y.type===e)return P}if(t){const P=l[u];if(P&&u6(P)&&P.type===e)return u}return null}function q8(c,r,e,a){let t=c[e];const i=r.data;if(function d_1(c){return c instanceof T7}(t)){const l=t;l.resolving&&function Cf(c,r){throw r&&r.join(" > "),new l1(-200,c)}(function g2(c){return"function"==typeof c?c.name||c.toString():"object"==typeof c&&null!=c&&"function"==typeof c.type?c.type.name||c.type.toString():t2(c)}(i[e]));const d=eo(l.canSeeViewProviders);l.resolving=!0;const p=l.injectImpl?j4(l.injectImpl):null;tV(c,a,u2.Default);try{t=c[e]=l.factory(void 0,i,c,a),r.firstCreatePass&&e>=a.directiveStart&&function l_1(c,r,e){const{ngOnChanges:a,ngOnInit:t,ngDoCheck:i}=r.type.prototype;if(a){const l=G(r);(e.preOrderHooks??=[]).push(c,l),(e.preOrderCheckHooks??=[]).push(c,l)}t&&(e.preOrderHooks??=[]).push(0-c,t),i&&((e.preOrderHooks??=[]).push(c,i),(e.preOrderCheckHooks??=[]).push(c,i))}(e,i[e],r)}finally{null!==p&&j4(p),eo(d),l.resolving=!1,sV()}}return t}function CV(c,r,e){return!!(e[r+(c>>mV)]&1<{const r=c.prototype.constructor,e=r[Q6]||Ld(r),a=Object.prototype;let t=Object.getPrototypeOf(c.prototype).constructor;for(;t&&t!==a;){const i=t[Q6]||Ld(t);if(i&&i!==e)return i;t=Object.getPrototypeOf(t)}return i=>new i})}function Ld(c){return R5(c)?()=>{const r=Ld(q1(c));return r&&r()}:ie(c)}function VV(c){const r=c[v1],e=r.type;return 2===e?r.declTNode:1===e?c[t3]:null}function xV(c,r=null,e=null,a){const t=wV(c,r,e,a);return t.resolveInjectorInitializers(),t}function wV(c,r=null,e=null,a,t=new Set){const i=[e||V2,Ee(c)];return a=a||("object"==typeof c?void 0:V4(c)),new Pe(i,r||oc(),a||null,t)}let A3=(()=>{class c{static#e=this.THROW_IF_NOT_FOUND=R8;static#c=this.NULL=new ec;static create(e,a){if(Array.isArray(e))return xV({name:""},a,e,"");{const t=e.name??"";return xV({name:t},e.parent,e.providers,t)}}static#a=this.\u0275prov=g1({token:c,providedIn:"any",factory:()=>d1(d7)});static#r=this.__NG_ELEMENT_ID__=-1}return c})();function bd(c){return c.ngOriginalError}class D0{constructor(){this._console=console}handleError(r){const e=this._findOriginalError(r);this._console.error("ERROR",r),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(r){let e=r&&bd(r);for(;e&&bd(e);)e=bd(e);return e||null}}const kV=new H1("",{providedIn:"root",factory:()=>i1(D0).handleError.bind(void 0)});let W8=(()=>{class c{static#e=this.__NG_ELEMENT_ID__=S_1;static#c=this.__NG_ENV_ID__=e=>e}return c})();class k_1 extends W8{constructor(r){super(),this._lView=r}onDestroy(r){return Zi(this._lView,r),()=>function fd(c,r){if(null===c[c0])return;const e=c[c0].indexOf(r);-1!==e&&c[c0].splice(e,1)}(this._lView,r)}}function S_1(){return new k_1(s1())}function N_1(){return Cc(j2(),s1())}function Cc(c,r){return new v2(T3(c,r))}let v2=(()=>{class c{constructor(e){this.nativeElement=e}static#e=this.__NG_ELEMENT_ID__=N_1}return c})();function NV(c){return c instanceof v2?c.nativeElement:c}function xd(c){return r=>{setTimeout(c,void 0,r)}}const Y1=class D_1 extends G2{constructor(r=!1){super(),this.destroyRef=void 0,this.__isAsync=r,ji()&&(this.destroyRef=i1(W8,{optional:!0})??void 0)}emit(r){const e=q(null);try{super.next(r)}finally{q(e)}}subscribe(r,e,a){let t=r,i=e||(()=>null),l=a;if(r&&"object"==typeof r){const u=r;t=u.next?.bind(u),i=u.error?.bind(u),l=u.complete?.bind(u)}this.__isAsync&&(i=xd(i),t&&(t=xd(t)),l&&(l=xd(l)));const d=super.subscribe({next:t,error:i,complete:l});return r instanceof c3&&r.add(d),d}};function T_1(){return this._results[Symbol.iterator]()}class wd{static#e=Symbol.iterator;get changes(){return this._changes??=new Y1}constructor(r=!1){this._emitDistinctChangesOnly=r,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const e=wd.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=T_1)}get(r){return this._results[r]}map(r){return this._results.map(r)}filter(r){return this._results.filter(r)}find(r){return this._results.find(r)}reduce(r,e){return this._results.reduce(r,e)}forEach(r){this._results.forEach(r)}some(r){return this._results.some(r)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(r,e){this.dirty=!1;const a=function m3(c){return c.flat(Number.POSITIVE_INFINITY)}(r);(this._changesDetected=!function kf(c,r,e){if(c.length!==r.length)return!1;for(let a=0;aap1}),ap1="ng",JV=new H1(""),m6=new H1("",{providedIn:"platform",factory:()=>"unknown"}),XV=new H1("",{providedIn:"root",factory:()=>Ye().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let eM=()=>null;function Od(c,r,e=!1){return eM(c,r,e)}const iM=new H1("",{providedIn:"root",factory:()=>!1});let po,go;function Mc(c){return function $d(){if(void 0===po&&(po=null,F2.trustedTypes))try{po=F2.trustedTypes.createPolicy("angular",{createHTML:c=>c,createScript:c=>c,createScriptURL:c=>c})}catch{}return po}()?.createHTML(c)||c}function nM(c){return function Yd(){if(void 0===go&&(go=null,F2.trustedTypes))try{go=F2.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:c=>c,createScript:c=>c,createScriptURL:c=>c})}catch{}return go}()?.createHTML(c)||c}class Z8{constructor(r){this.changingThisBreaksApplicationSecurity=r}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${K3})`}}class pp1 extends Z8{getTypeName(){return"HTML"}}class gp1 extends Z8{getTypeName(){return"Style"}}class vp1 extends Z8{getTypeName(){return"Script"}}class Hp1 extends Z8{getTypeName(){return"URL"}}class Cp1 extends Z8{getTypeName(){return"ResourceURL"}}function _6(c){return c instanceof Z8?c.changingThisBreaksApplicationSecurity:c}function T0(c,r){const e=function zp1(c){return c instanceof Z8&&c.getTypeName()||null}(c);if(null!=e&&e!==r){if("ResourceURL"===e&&"URL"===r)return!0;throw new Error(`Required a safe ${r}, got a ${e} (see ${K3})`)}return e===r}class xp1{constructor(r){this.inertDocumentHelper=r}getInertBodyElement(r){r=""+r;try{const e=(new window.DOMParser).parseFromString(Mc(r),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(r):(e.removeChild(e.firstChild),e)}catch{return null}}}class wp1{constructor(r){this.defaultDoc=r,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(r){const e=this.inertDocument.createElement("template");return e.innerHTML=Mc(r),e}}const kp1=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function vo(c){return(c=String(c)).match(kp1)?c:"unsafe:"+c}function de(c){const r={};for(const e of c.split(","))r[e]=!0;return r}function $7(...c){const r={};for(const e of c)for(const a in e)e.hasOwnProperty(a)&&(r[a]=!0);return r}const dM=de("area,br,col,hr,img,wbr"),uM=de("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),hM=de("rp,rt"),Gd=$7(dM,$7(uM,de("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),$7(hM,de("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),$7(hM,uM)),qd=de("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),mM=$7(qd,de("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),de("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Sp1=de("script,style,template");class Np1{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(r){let e=r.firstChild,a=!0,t=[];for(;e;)if(e.nodeType===Node.ELEMENT_NODE?a=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,a&&e.firstChild)t.push(e),e=Ep1(e);else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let i=Tp1(e);if(i){e=i;break}e=t.pop()}return this.buf.join("")}startElement(r){const e=_M(r).toLowerCase();if(!Gd.hasOwnProperty(e))return this.sanitizedSomething=!0,!Sp1.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const a=r.attributes;for(let t=0;t"),!0}endElement(r){const e=_M(r).toLowerCase();Gd.hasOwnProperty(e)&&!dM.hasOwnProperty(e)&&(this.buf.push(""))}chars(r){this.buf.push(gM(r))}}function Tp1(c){const r=c.nextSibling;if(r&&c!==r.previousSibling)throw pM(r);return r}function Ep1(c){const r=c.firstChild;if(r&&function Dp1(c,r){return(c.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(c,r))throw pM(r);return r}function _M(c){const r=c.nodeName;return"string"==typeof r?r:"FORM"}function pM(c){return new Error(`Failed to sanitize html because the element is clobbered: ${c.outerHTML}`)}const Ap1=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Pp1=/([^\#-~ |!])/g;function gM(c){return c.replace(/&/g,"&").replace(Ap1,function(r){return"&#"+(1024*(r.charCodeAt(0)-55296)+(r.charCodeAt(1)-56320)+65536)+";"}).replace(Pp1,function(r){return"&#"+r.charCodeAt(0)+";"}).replace(//g,">")}let Ho;function vM(c,r){let e=null;try{Ho=Ho||function fM(c){const r=new wp1(c);return function Fp1(){try{return!!(new window.DOMParser).parseFromString(Mc(""),"text/html")}catch{return!1}}()?new xp1(r):r}(c);let a=r?String(r):"";e=Ho.getInertBodyElement(a);let t=5,i=a;do{if(0===t)throw new Error("Failed to sanitize html because the input is unstable");t--,a=i,i=e.innerHTML,e=Ho.getInertBodyElement(a)}while(a!==i);return Mc((new Np1).sanitizeChildren(Wd(e)||e))}finally{if(e){const a=Wd(e)||e;for(;a.firstChild;)a.removeChild(a.firstChild)}}}function Wd(c){return"content"in c&&function Rp1(c){return c.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===c.nodeName}(c)?c.content:null}var c6=function(c){return c[c.NONE=0]="NONE",c[c.HTML=1]="HTML",c[c.STYLE=2]="STYLE",c[c.SCRIPT=3]="SCRIPT",c[c.URL=4]="URL",c[c.RESOURCE_URL=5]="RESOURCE_URL",c}(c6||{});function HM(c){const r=Y7();return r?nM(r.sanitize(c6.HTML,c)||""):T0(c,"HTML")?nM(_6(c)):vM(Ye(),t2(c))}function H2(c){const r=Y7();return r?r.sanitize(c6.URL,c)||"":T0(c,"URL")?_6(c):vo(t2(c))}function Y7(){const c=s1();return c&&c[o2].sanitizer}function Xd(c){return c.ownerDocument.defaultView}function d4(c){return c.ownerDocument}function p6(c){return c instanceof Function?c():c}var qe=function(c){return c[c.Important=1]="Important",c[c.DashCase=2]="DashCase",c}(qe||{});let eu;function cu(c,r){return eu(c,r)}function yc(c,r,e,a,t){if(null!=a){let i,l=!1;o3(a)?i=a:i3(a)&&(l=!0,a=a[e4]);const d=K2(a);0===c&&null!==e?null==t?NM(r,e,d):K8(r,e,d,t||null,!0):1===c&&null!==e?K8(r,e,d,t||null,!0):2===c?function W7(c,r,e){const a=Lo(c,r);a&&function lg1(c,r,e,a){c.removeChild(r,e,a)}(c,a,r,e)}(r,d,l):3===c&&r.destroyNode(d),null!=i&&function ug1(c,r,e,a,t){const i=e[X3];i!==K2(e)&&yc(r,c,a,i,t);for(let d=f4;d0&&(c[e-1][d6]=a[d6]);const i=K5(c,f4+r);!function ag1(c,r){FM(c,r),r[e4]=null,r[t3]=null}(a[v1],a);const l=i[e0];null!==l&&l.detachView(i[v1]),a[m4]=null,a[d6]=null,a[P1]&=-129}return a}function Mo(c,r){if(!(256&r[P1])){const e=r[G1];e.destroyNode&&bo(c,r,e,3,null,null),function tg1(c){let r=c[Ie];if(!r)return tu(c[v1],c);for(;r;){let e=null;if(i3(r))e=r[Ie];else{const a=r[f4];a&&(e=a)}if(!e){for(;r&&!r[d6]&&r!==c;)i3(r)&&tu(r[v1],r),r=r[m4];null===r&&(r=c),i3(r)&&tu(r[v1],r),e=r&&r[d6]}r=e}}(r)}}function tu(c,r){if(256&r[P1])return;const e=q(null);try{r[P1]&=-129,r[P1]|=256,r[ne]&&function Le(c){if(ee(c),e3(c))for(let r=0;r=0?a[l]():a[-l].unsubscribe(),i+=2}else e[i].call(a[e[i+1]]);null!==a&&(r[Oe]=null);const t=r[c0];if(null!==t){r[c0]=null;for(let i=0;i-1){const{encapsulation:i}=c.data[a.directiveStart+t];if(i===l6.None||i===l6.Emulated)return null}return T3(a,e)}}(c,r.parent,e)}function K8(c,r,e,a,t){c.insertBefore(r,e,a,t)}function NM(c,r,e){c.appendChild(r,e)}function DM(c,r,e,a,t){null!==a?K8(c,r,e,a,t):NM(c,r,e)}function Lo(c,r){return c.parentNode(r)}function TM(c,r,e){return AM(c,r,e)}let ou,AM=function EM(c,r,e){return 40&c.type?T3(c,e):null};function yo(c,r,e,a){const t=iu(c,a,r),i=r[G1],d=TM(a.parent||r[t3],a,r);if(null!=t)if(Array.isArray(e))for(let u=0;ua2&&jM(c,r,a2,!1),q4(l?2:0,t),e(a,t)}finally{G8(i),q4(l?3:1,t)}}function fu(c,r,e){if(L7(r)){const a=q(null);try{const i=r.directiveEnd;for(let l=r.directiveStart;lnull;function ZM(c,r,e,a,t){for(let i in r){if(!r.hasOwnProperty(i))continue;const l=r[i];if(void 0===l)continue;a??={};let d,u=J2.None;Array.isArray(l)?(d=l[0],u=l[1]):d=l;let p=i;if(null!==t){if(!t.hasOwnProperty(i))continue;p=t[i]}0===c?KM(a,e,p,d,u):KM(a,e,p,d)}return a}function KM(c,r,e,a,t){let i;c.hasOwnProperty(e)?(i=c[e]).push(r,a):i=c[e]=[r,a],void 0!==t&&i.push(t)}function a6(c,r,e,a,t,i,l,d){const u=T3(r,e);let z,p=r.inputs;!d&&null!=p&&(z=p[a])?(vu(c,e,z,a,t),se(r)&&function yg1(c,r){const e=h6(r,c);16&e[P1]||(e[P1]|=64)}(e,r.index)):3&r.type&&(a=function Lg1(c){return"class"===c?"className":"for"===c?"htmlFor":"formaction"===c?"formAction":"innerHtml"===c?"innerHTML":"readonly"===c?"readOnly":"tabindex"===c?"tabIndex":c}(a),t=null!=l?l(t,r.value||"",a):t,i.setProperty(u,a,t))}function mu(c,r,e,a){if(Xz()){const t=null===a?null:{"":-1},i=function Sg1(c,r){const e=c.directiveRegistry;let a=null,t=null;if(e)for(let i=0;i0;){const e=c[--r];if("number"==typeof e&&e<0)return e}return 0})(l)!=d&&l.push(d),l.push(e,a,i)}}(c,r,a,Z7(c,e,t.hostVars,n2),t)}function E0(c,r,e,a,t,i){const l=T3(c,r);!function pu(c,r,e,a,t,i,l){if(null==i)c.removeAttribute(r,t,e);else{const d=null==l?t2(i):l(i,a||"",t);c.setAttribute(r,t,d,e)}}(r[G1],l,i,c.value,e,a,t)}function Pg1(c,r,e,a,t,i){const l=i[r];if(null!==l)for(let d=0;d0&&(e[t-1][d6]=r),a!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:c=>{S7(c.lView)},consumerOnSignalRead(){this.lView[ne]=this}},nL=100;function ko(c,r=!0,e=0){const a=c[o2],t=a.rendererFactory;t.begin?.();try{!function Gg1(c,r){zu(c,r);let e=0;for(;sd(c);){if(e===nL)throw new l1(103,!1);e++,zu(c,1)}}(c,e)}catch(l){throw r&&Fo(c,l),l}finally{t.end?.(),a.inlineEffectRunner?.flush()}}function qg1(c,r,e,a){const t=r[P1];if(!(256&~t))return;r[o2].inlineEffectRunner?.flush(),pd(r);let l=null,d=null;(function Wg1(c){return 2!==c.type})(c)&&(d=function Ug1(c){return c[ne]??function jg1(c){const r=oL.pop()??Object.create(Yg1);return r.lView=c,r}(c)}(r),l=function Ua(c){return c&&(c.nextProducerIndex=0),q(c)}(d));try{Kz(r),function aV(c){return r2.lFrame.bindingIndex=c}(c.bindingStartIndex),null!==e&&GM(c,r,e,2,a);const u=!(3&~t);if(u){const x=c.preOrderCheckHooks;null!==x&&Ji(r,x,null)}else{const x=c.preOrderHooks;null!==x&&Xi(r,x,0,null),vd(r,0)}if(function Zg1(c){for(let r=UV(c);null!==r;r=jV(r)){if(!(r[P1]&M7.HasTransplantedViews))continue;const e=r[g3];for(let a=0;ac.nextProducerIndex;)c.producerNode.pop(),c.producerLastReadVersion.pop(),c.producerIndexOfThis.pop()}}(d,l),function $g1(c){c.lView[ne]!==c&&(c.lView=null,oL.push(c))}(d)),gd()}}function sL(c,r){for(let e=UV(c);null!==e;e=jV(e))for(let a=f4;a-1&&(G7(r,a),K5(e,a))}this._attachedToViewContainer=!1}Mo(this._lView[v1],this._lView)}onDestroy(r){Zi(this._lView,r)}markForCheck(){X7(this._cdRefInjectingView||this._lView)}detach(){this._lView[P1]&=-129}reattach(){ld(this._lView),this._lView[P1]|=128}detectChanges(){this._lView[P1]|=1024,ko(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new l1(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,FM(this._lView[v1],this._lView)}attachToAppRef(r){if(this._attachedToViewContainer)throw new l1(902,!1);this._appRef=r,ld(this._lView)}}let t0=(()=>{class c{static#e=this.__NG_ELEMENT_ID__=Xg1}return c})();const Qg1=t0,Jg1=class extends Qg1{constructor(r,e,a){super(),this._declarationLView=r,this._declarationTContainer=e,this.elementRef=a}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(r,e){return this.createEmbeddedViewImpl(r,e)}createEmbeddedViewImpl(r,e,a){const t=K7(this._declarationLView,this._declarationTContainer,r,{embeddedViewInjector:e,dehydratedView:a});return new er(t)}};function Xg1(){return So(j2(),s1())}function So(c,r){return 4&c.type?new Jg1(r,c,Cc(c,r)):null}let pL=()=>null;function wc(c,r){return pL(c,r)}class xu{}class Mv1{}class gL{}class yv1{resolveComponentFactory(r){throw function Lv1(c){const r=Error(`No component factory found for ${V4(c)}.`);return r.ngComponent=c,r}(r)}}let Ao=(()=>{class c{static#e=this.NULL=new yv1}return c})();class HL{}let T6=(()=>{class c{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function bv1(){const c=s1(),e=h6(j2().index,c);return(i3(e)?e:c)[G1]}()}return c})(),xv1=(()=>{class c{static#e=this.\u0275prov=g1({token:c,providedIn:"root",factory:()=>null})}return c})();const wu={},CL=new Set;function A0(c){CL.has(c)||(CL.add(c),performance?.mark?.("mark_feature_usage",{detail:{feature:c}}))}function zL(...c){}class C2{constructor({enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:a=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Y1(!1),this.onMicrotaskEmpty=new Y1(!1),this.onStable=new Y1(!1),this.onError=new Y1(!1),typeof Zone>"u")throw new l1(908,!1);Zone.assertZonePatched();const t=this;t._nesting=0,t._outer=t._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(t._inner=t._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(t._inner=t._inner.fork(Zone.longStackTraceZoneSpec)),t.shouldCoalesceEventChangeDetection=!a&&e,t.shouldCoalesceRunChangeDetection=a,t.lastRequestAnimationFrameId=-1,t.nativeRequestAnimationFrame=function wv1(){const c="function"==typeof F2.requestAnimationFrame;let r=F2[c?"requestAnimationFrame":"setTimeout"],e=F2[c?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&r&&e){const a=r[Zone.__symbol__("OriginalDelegate")];a&&(r=a);const t=e[Zone.__symbol__("OriginalDelegate")];t&&(e=t)}return{nativeRequestAnimationFrame:r,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function Sv1(c){const r=()=>{!function kv1(c){c.isCheckStableRunning||-1!==c.lastRequestAnimationFrameId||(c.lastRequestAnimationFrameId=c.nativeRequestAnimationFrame.call(F2,()=>{c.fakeTopEventTask||(c.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{c.lastRequestAnimationFrameId=-1,ku(c),c.isCheckStableRunning=!0,Fu(c),c.isCheckStableRunning=!1},void 0,()=>{},()=>{})),c.fakeTopEventTask.invoke()}),ku(c))}(c)};c._inner=c._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,a,t,i,l,d)=>{if(function Nv1(c){return!(!Array.isArray(c)||1!==c.length)&&!0===c[0].data?.__ignore_ng_zone__}(d))return e.invokeTask(t,i,l,d);try{return VL(c),e.invokeTask(t,i,l,d)}finally{(c.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||c.shouldCoalesceRunChangeDetection)&&r(),ML(c)}},onInvoke:(e,a,t,i,l,d,u)=>{try{return VL(c),e.invoke(t,i,l,d,u)}finally{c.shouldCoalesceRunChangeDetection&&r(),ML(c)}},onHasTask:(e,a,t,i)=>{e.hasTask(t,i),a===t&&("microTask"==i.change?(c._hasPendingMicrotasks=i.microTask,ku(c),Fu(c)):"macroTask"==i.change&&(c.hasPendingMacrotasks=i.macroTask))},onHandleError:(e,a,t,i)=>(e.handleError(t,i),c.runOutsideAngular(()=>c.onError.emit(i)),!1)})}(t)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!C2.isInAngularZone())throw new l1(909,!1)}static assertNotInAngularZone(){if(C2.isInAngularZone())throw new l1(909,!1)}run(r,e,a){return this._inner.run(r,e,a)}runTask(r,e,a,t){const i=this._inner,l=i.scheduleEventTask("NgZoneEvent: "+t,r,Fv1,zL,zL);try{return i.runTask(l,e,a)}finally{i.cancelTask(l)}}runGuarded(r,e,a){return this._inner.runGuarded(r,e,a)}runOutsideAngular(r){return this._outer.run(r)}}const Fv1={};function Fu(c){if(0==c._nesting&&!c.hasPendingMicrotasks&&!c.isStable)try{c._nesting++,c.onMicrotaskEmpty.emit(null)}finally{if(c._nesting--,!c.hasPendingMicrotasks)try{c.runOutsideAngular(()=>c.onStable.emit(null))}finally{c.isStable=!0}}}function ku(c){c.hasPendingMicrotasks=!!(c._hasPendingMicrotasks||(c.shouldCoalesceEventChangeDetection||c.shouldCoalesceRunChangeDetection)&&-1!==c.lastRequestAnimationFrameId)}function VL(c){c._nesting++,c.isStable&&(c.isStable=!1,c.onUnstable.emit(null))}function ML(c){c._nesting--,Fu(c)}class LL{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Y1,this.onMicrotaskEmpty=new Y1,this.onStable=new Y1,this.onError=new Y1}run(r,e,a){return r.apply(e,a)}runGuarded(r,e,a){return r.apply(e,a)}runOutsideAngular(r){return r()}runTask(r,e,a,t){return r.apply(e,a)}}var Q8=function(c){return c[c.EarlyRead=0]="EarlyRead",c[c.Write=1]="Write",c[c.MixedReadWrite=2]="MixedReadWrite",c[c.Read=3]="Read",c}(Q8||{});const yL={destroy(){}};function bL(c,r){!r&&function nc(c){if(!ji())throw new l1(-203,!1)}();const e=r?.injector??i1(A3);if(!function Ge(c){return"browser"===(c??i1(A3)).get(m6)}(e))return yL;A0("NgAfterNextRender");const a=e.get(ir),t=a.handler??=new wL,i=r?.phase??Q8.MixedReadWrite,l=()=>{t.unregister(u),d()},d=e.get(W8).onDestroy(l),u=N3(e,()=>new xL(i,()=>{l(),c()}));return t.register(u),{destroy:l}}class xL{constructor(r,e){this.phase=r,this.callbackFn=e,this.zone=i1(C2),this.errorHandler=i1(D0,{optional:!0}),i1(xu,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(r){this.errorHandler?.handleError(r)}}}class wL{constructor(){this.executingCallbacks=!1,this.buckets={[Q8.EarlyRead]:new Set,[Q8.Write]:new Set,[Q8.MixedReadWrite]:new Set,[Q8.Read]:new Set},this.deferredCallbacks=new Set}register(r){(this.executingCallbacks?this.deferredCallbacks:this.buckets[r.phase]).add(r)}unregister(r){this.buckets[r.phase].delete(r),this.deferredCallbacks.delete(r)}execute(){this.executingCallbacks=!0;for(const r of Object.values(this.buckets))for(const e of r)e.invoke();this.executingCallbacks=!1;for(const r of this.deferredCallbacks)this.buckets[r.phase].add(r);this.deferredCallbacks.clear()}destroy(){for(const r of Object.values(this.buckets))r.clear();this.deferredCallbacks.clear()}}let ir=(()=>{class c{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const e=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const a of e)a()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=g1({token:c,providedIn:"root",factory:()=>new c})}return c})();function Ro(c,r,e){let a=e?c.styles:null,t=e?c.classes:null,i=0;if(null!==r)for(let l=0;l0&&IM(c,e,i.join(" "))}}(P,x1,Z,a),void 0!==e&&function $v1(c,r,e){const a=c.projection=[];for(let t=0;t{class c{static#e=this.__NG_ELEMENT_ID__=Gv1}return c})();function Gv1(){return EL(j2(),s1())}const qv1=g6,DL=class extends qv1{constructor(r,e,a){super(),this._lContainer=r,this._hostTNode=e,this._hostLView=a}get element(){return Cc(this._hostTNode,this._hostLView)}get injector(){return new W4(this._hostTNode,this._hostLView)}get parentInjector(){const r=ao(this._hostTNode,this._hostLView);if(Cd(r)){const e=A7(r,this._hostLView),a=E7(r);return new W4(e[v1].data[a+8],e)}return new W4(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(r){const e=TL(this._lContainer);return null!==e&&e[r]||null}get length(){return this._lContainer.length-f4}createEmbeddedView(r,e,a){let t,i;"number"==typeof a?t=a:null!=a&&(t=a.index,i=a.injector);const l=wc(this._lContainer,r.ssrId),d=r.createEmbeddedViewImpl(e||{},i,l);return this.insertImpl(d,t,xc(this._hostTNode,l)),d}createComponent(r,e,a,t,i){const l=r&&!function I8(c){return"function"==typeof c}(r);let d;if(l)d=e;else{const Y=e||{};d=Y.index,a=Y.injector,t=Y.projectableNodes,i=Y.environmentInjector||Y.ngModuleRef}const u=l?r:new sr(f2(r)),p=a||this.parentInjector;if(!i&&null==u.ngModule){const Z=(l?p:this.parentInjector).get(p3,null);Z&&(i=Z)}const z=f2(u.componentType??{}),x=wc(this._lContainer,z?.id??null),P=u.create(p,t,x?.firstChild??null,i);return this.insertImpl(P.hostView,d,xc(this._hostTNode,x)),P}insert(r,e){return this.insertImpl(r,e,!0)}insertImpl(r,e,a){const t=r._lView;if(function Ym1(c){return o3(c[m4])}(t)){const d=this.indexOf(r);if(-1!==d)this.detach(d);else{const u=t[m4],p=new DL(u,u[t3],u[m4]);p.detach(p.indexOf(r))}}const i=this._adjustIndex(e),l=this._lContainer;return Q7(l,t,i,a),r.attachToViewContainerRef(),xi(Tu(l),i,r),r}move(r,e){return this.insert(r,e)}indexOf(r){const e=TL(this._lContainer);return null!==e?e.indexOf(r):-1}remove(r){const e=this._adjustIndex(r,-1),a=G7(this._lContainer,e);a&&(K5(Tu(this._lContainer),e),Mo(a[v1],a))}detach(r){const e=this._adjustIndex(r,-1),a=G7(this._lContainer,e);return a&&null!=K5(Tu(this._lContainer),e)?new er(a):null}_adjustIndex(r,e=0){return r??this.length+e}};function TL(c){return c[8]}function Tu(c){return c[8]||(c[8]=[])}function EL(c,r){let e;const a=r[c.index];return o3(a)?e=a:(e=XM(a,r,null,c),r[c.index]=e,wo(r,e)),AL(e,r,c,a),new DL(e,c,r)}let AL=function RL(c,r,e,a){if(c[X3])return;let t;t=8&e.type?K2(a):function Wv1(c,r){const e=c[G1],a=e.createComment(""),t=T3(r,c);return K8(e,Lo(e,t),a,function fg1(c,r){return c.nextSibling(r)}(e,t),!1),a}(r,e),c[X3]=t},Eu=()=>!1;class Au{constructor(r){this.queryList=r,this.matches=null}clone(){return new Au(this.queryList)}setDirty(){this.queryList.setDirty()}}class Pu{constructor(r=[]){this.queries=r}createEmbeddedView(r){const e=r.queries;if(null!==e){const a=null!==r.contentQueries?r.contentQueries[0]:e.length,t=[];for(let i=0;ir.trim())}(r):r}}class Ru{constructor(r=[]){this.queries=r}elementStart(r,e){for(let a=0;a0)a.push(l[d/2]);else{const p=i[d+1],z=r[-u];for(let x=f4;x=0;a--){const t=c[a];t.hostVars=r+=t.hostVars,t.hostAttrs=d3(t.hostAttrs,e=d3(e,t.hostAttrs))}}(a)}function mH1(c,r){for(const e in r.inputs){if(!r.inputs.hasOwnProperty(e)||c.inputs.hasOwnProperty(e))continue;const a=r.inputs[e];if(void 0!==a&&(c.inputs[e]=a,c.declaredInputs[e]=r.declaredInputs[e],null!==r.inputTransforms)){const t=Array.isArray(a)?a[0]:a;if(!r.inputTransforms.hasOwnProperty(t))continue;c.inputTransforms??={},c.inputTransforms[t]=r.inputTransforms[t]}}}function Io(c){return c===D6?{}:c===V2?[]:c}function pH1(c,r){const e=c.viewQuery;c.viewQuery=e?(a,t)=>{r(a,t),e(a,t)}:r}function gH1(c,r){const e=c.contentQueries;c.contentQueries=e?(a,t,i)=>{r(a,t,i),e(a,t,i)}:r}function vH1(c,r){const e=c.hostBindings;c.hostBindings=e?(a,t)=>{r(a,t),e(a,t)}:r}class J8{}class fy{}class $u extends J8{constructor(r,e,a){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new SL(this);const t=r3(r);this._bootstrapComponents=p6(t.bootstrap),this._r3Injector=wV(r,e,[{provide:J8,useValue:this},{provide:Ao,useValue:this.componentFactoryResolver},...a],V4(r),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(r)}get injector(){return this._r3Injector}destroy(){const r=this._r3Injector;!r.destroyed&&r.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(r){this.destroyCbs.push(r)}}class Yu extends fy{constructor(r){super(),this.moduleType=r}create(r){return new $u(this.moduleType,r,[])}}class dy extends J8{constructor(r){super(),this.componentFactoryResolver=new SL(this),this.instance=null;const e=new Pe([...r.providers,{provide:J8,useValue:this},{provide:Ao,useValue:this.componentFactoryResolver}],r.parent||oc(),r.debugName,new Set(["environment"]));this.injector=e,r.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(r){this.injector.onDestroy(r)}}function Uo(c,r,e=null){return new dy({providers:c,parent:r,debugName:e,runEnvironmentInitializers:!0}).injector}let Ke=(()=>{class c{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new a3(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const e=this.taskId++;return this.pendingTasks.add(e),e}remove(e){this.pendingTasks.delete(e),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function $o(c){return!!Gu(c)&&(Array.isArray(c)||!(c instanceof Map)&&Symbol.iterator in c)}function Gu(c){return null!==c&&("function"==typeof c||"object"==typeof c)}function P0(c,r,e){return c[r]=e}function x4(c,r,e){return!Object.is(c[r],e)&&(c[r]=e,!0)}function X8(c,r,e,a){const t=x4(c,r,e);return x4(c,r+1,a)||t}function E6(c,r,e,a,t,i){const l=X8(c,r,e,a);return X8(c,r+2,t,i)||l}function R(c,r,e,a,t,i,l,d){const u=s1(),p=p2(),z=c+a2,x=p.firstCreatePass?function SH1(c,r,e,a,t,i,l,d,u){const p=r.consts,z=bc(r,c,4,l||null,F0(p,d));mu(r,e,z,F0(p,u)),Qi(r,z);const x=z.tView=hu(2,z,a,t,i,r.directiveRegistry,r.pipeRegistry,null,r.schemas,p,null);return null!==r.queries&&(r.queries.template(r,z),x.queries=r.queries.embeddedTView(z)),z}(z,p,u,r,e,a,t,i,l):p.data[z];k0(x,!1);const E=uy(p,u,x,c);D7()&&yo(p,u,E,x),H3(E,u);const P=XM(E,u,E,x);return u[z]=P,wo(u,P),function PL(c,r,e){return Eu(c,r,e)}(P,x,u),hc(x)&&du(p,u,x),null!=l&&uu(u,x,d),R}let uy=function hy(c,r,e,a){return S0(!0),r[G1].createComment("")};function A2(c,r,e,a){const t=s1();return x4(t,r0(),r)&&(p2(),E0(c4(),t,c,r,e,a)),A2}function Pc(c,r,e,a){return x4(c,r0(),e)?r+t2(e)+a:n2}function Bc(c,r,e,a,t,i,l,d){const p=function Yo(c,r,e,a,t){const i=X8(c,r,e,a);return x4(c,r+2,t)||i}(c,le(),e,t,l);return fe(3),p?r+t2(e)+a+t2(t)+i+t2(l)+d:n2}function Qo(c,r){return c<<17|r<<2}function Je(c){return c>>17&32767}function ah(c){return 2|c}function c5(c){return(131068&c)>>2}function rh(c,r){return-131069&c|r<<2}function th(c){return 1|c}function $y(c,r,e,a){const t=c[e+1],i=null===r;let l=a?Je(t):c5(t),d=!1;for(;0!==l&&(!1===d||i);){const p=c[l+1];pC1(c[l],r)&&(d=!0,c[l+1]=a?th(p):ah(p)),l=a?Je(p):c5(p)}d&&(c[e+1]=a?ah(t):th(t))}function pC1(c,r){return null===c||null==r||(Array.isArray(c)?c[1]:c)===r||!(!Array.isArray(c)||"string"!=typeof r)&&M0(c,r)>=0}const Z4={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Yy(c){return c.substring(Z4.key,Z4.keyEnd)}function gC1(c){return c.substring(Z4.value,Z4.valueEnd)}function Gy(c,r){const e=Z4.textEnd;return e===r?-1:(r=Z4.keyEnd=function CC1(c,r,e){for(;r32;)r++;return r}(c,Z4.key=r,e),Yc(c,r,e))}function qy(c,r){const e=Z4.textEnd;let a=Z4.key=Yc(c,r,e);return e===a?-1:(a=Z4.keyEnd=function zC1(c,r,e){let a;for(;r=65&&(-33&a)<=90||a>=48&&a<=57);)r++;return r}(c,a,e),a=Zy(c,a,e),a=Z4.value=Yc(c,a,e),a=Z4.valueEnd=function VC1(c,r,e){let a=-1,t=-1,i=-1,l=r,d=l;for(;l32&&(d=l),i=t,t=a,a=-33&u}return d}(c,a,e),Zy(c,a,e))}function Wy(c){Z4.key=0,Z4.keyEnd=0,Z4.value=0,Z4.valueEnd=0,Z4.textEnd=c.length}function Yc(c,r,e){for(;r=0;e=qy(r,e))Xy(c,Yy(r),gC1(r))}function R0(c,r){for(let e=function vC1(c){return Wy(c),Gy(c,Yc(c,0,Z4.textEnd))}(r);e>=0;e=Gy(r,e))_3(c,Yy(r),!0)}function o0(c,r,e,a){const t=s1(),i=p2(),l=fe(2);i.firstUpdatePass&&Jy(i,c,l,a),r!==n2&&x4(t,l,r)&&eb(i,i.data[v3()],t,t[G1],c,t[l+1]=function NC1(c,r){return null==c||""===c||("string"==typeof r?c+=r:"object"==typeof c&&(c=V4(_6(c)))),c}(r,e),a,l)}function n0(c,r,e,a){const t=p2(),i=fe(2);t.firstUpdatePass&&Jy(t,null,i,a);const l=s1();if(e!==n2&&x4(l,i,e)){const d=t.data[v3()];if(ab(d,a)&&!Qy(t,i)){let u=a?d.classesWithoutHost:d.stylesWithoutHost;null!==u&&(e=e7(u,e||"")),ih(t,d,l,e,a)}else!function SC1(c,r,e,a,t,i,l,d){t===n2&&(t=V2);let u=0,p=0,z=0=c.expandoStartIndex}function Jy(c,r,e,a){const t=c.data;if(null===t[e+1]){const i=t[v3()],l=Qy(c,e);ab(i,a)&&null===r&&!l&&(r=!1),r=function yC1(c,r,e,a){const t=function md(c){const r=r2.lFrame.currentDirectiveIndex;return-1===r?null:c[r]}(c);let i=a?r.residualClasses:r.residualStyles;if(null===t)0===(a?r.classBindings:r.styleBindings)&&(e=_r(e=oh(null,c,r,e,a),r.attrs,a),i=null);else{const l=r.directiveStylingLast;if(-1===l||c[l]!==t)if(e=oh(t,c,r,e,a),null===i){let u=function bC1(c,r,e){const a=e?r.classBindings:r.styleBindings;if(0!==c5(a))return c[Je(a)]}(c,r,a);void 0!==u&&Array.isArray(u)&&(u=oh(null,c,r,u[1],a),u=_r(u,r.attrs,a),function xC1(c,r,e,a){c[Je(e?r.classBindings:r.styleBindings)]=a}(c,r,a,u))}else i=function wC1(c,r,e){let a;const t=r.directiveEnd;for(let i=1+r.directiveStylingLast;i0)&&(p=!0)):z=e,t)if(0!==u){const E=Je(c[d+1]);c[a+1]=Qo(E,d),0!==E&&(c[E+1]=rh(c[E+1],a)),c[d+1]=function uC1(c,r){return 131071&c|r<<17}(c[d+1],a)}else c[a+1]=Qo(d,0),0!==d&&(c[d+1]=rh(c[d+1],a)),d=a;else c[a+1]=Qo(u,0),0===d?d=a:c[u+1]=rh(c[u+1],a),u=a;p&&(c[a+1]=ah(c[a+1])),$y(c,z,a,!0),$y(c,z,a,!1),function _C1(c,r,e,a,t){const i=t?c.residualClasses:c.residualStyles;null!=i&&"string"==typeof r&&M0(i,r)>=0&&(e[a+1]=th(e[a+1]))}(r,z,c,a,i),l=Qo(d,u),i?r.classBindings=l:r.styleBindings=l}(t,i,r,e,l,a)}}function oh(c,r,e,a,t){let i=null;const l=e.directiveEnd;let d=e.directiveStylingLast;for(-1===d?d=e.directiveStart:d++;d0;){const u=c[t],p=Array.isArray(u),z=p?u[1]:u,x=null===z;let E=e[t+1];E===n2&&(E=x?V2:void 0);let P=x?f7(E,a):z===a?E:void 0;if(p&&!Jo(P)&&(P=f7(u,a)),Jo(P)&&(d=P,l))return d;const Y=c[t+1];t=l?Je(Y):c5(Y)}if(null!==r){let u=i?r.residualClasses:r.residualStyles;null!=u&&(d=f7(u,a))}return d}function Jo(c){return void 0!==c}function ab(c,r){return!!(c.flags&(r?8:16))}function nh(c,r,e){n0(_3,R0,Pc(s1(),c,r,e),!0)}class UC1{destroy(r){}updateValue(r,e){}swap(r,e){const a=Math.min(r,e),t=Math.max(r,e),i=this.detach(t);if(t-a>1){const l=this.detach(a);this.attach(a,i),this.attach(t,l)}else this.attach(a,i)}move(r,e){this.attach(e,this.detach(r))}}function sh(c,r,e,a,t){return c===e&&Object.is(r,a)?1:Object.is(t(c,r),t(e,a))?-1:0}function lh(c,r,e,a){return!(void 0===r||!r.has(a)||(c.attach(e,r.get(a)),r.delete(a),0))}function rb(c,r,e,a,t){if(lh(c,r,a,e(a,t)))c.updateValue(a,t);else{const i=c.create(a,t);c.attach(a,i)}}function tb(c,r,e,a){const t=new Set;for(let i=r;i<=e;i++)t.add(a(i,c.at(i)));return t}class ib{constructor(){this.kvMap=new Map,this._vMap=void 0}has(r){return this.kvMap.has(r)}delete(r){if(!this.has(r))return!1;const e=this.kvMap.get(r);return void 0!==this._vMap&&this._vMap.has(e)?(this.kvMap.set(r,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(r),!0}get(r){return this.kvMap.get(r)}set(r,e){if(this.kvMap.has(r)){let a=this.kvMap.get(r);void 0===this._vMap&&(this._vMap=new Map);const t=this._vMap;for(;t.has(a);)a=t.get(a);t.set(a,e)}else this.kvMap.set(r,e)}forEach(r){for(let[e,a]of this.kvMap)if(r(a,e),void 0!==this._vMap){const t=this._vMap;for(;t.has(a);)a=t.get(a),r(a,e)}}}function S(c,r,e){A0("NgControlFlow");const a=s1(),t=r0(),i=fh(a,a2+c);if(x4(a,t,r)){const d=q(null);try{if(Cu(i,0),-1!==r){const u=dh(a[v1],a2+r),p=wc(i,u.tView.ssrId);Q7(i,K7(a,u,e,{dehydratedView:p}),0,xc(u,p))}}finally{q(d)}}else{const d=tL(i,0);void 0!==d&&(d[Z2]=e)}}class $C1{constructor(r,e,a){this.lContainer=r,this.$implicit=e,this.$index=a}get $count(){return this.lContainer.length-f4}}function z1(c,r){return r}class GC1{constructor(r,e,a){this.hasEmptyBlock=r,this.trackByFn=e,this.liveCollection=a}}function c1(c,r,e,a,t,i,l,d,u,p,z,x,E){A0("NgControlFlow");const P=void 0!==u,Y=s1(),Z=d?l.bind(Y[o4][Z2]):l,K=new GC1(P,Z);Y[a2+c]=K,R(c+1,r,e,a,t,i),P&&R(c+2,u,p,z,x,E)}class qC1 extends UC1{constructor(r,e,a){super(),this.lContainer=r,this.hostLView=e,this.templateTNode=a,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-f4}at(r){return this.getLView(r)[Z2].$implicit}attach(r,e){const a=e[m1];this.needsIndexUpdate||=r!==this.length,Q7(this.lContainer,e,r,xc(this.templateTNode,a))}detach(r){return this.needsIndexUpdate||=r!==this.length-1,function WC1(c,r){return G7(c,r)}(this.lContainer,r)}create(r,e){const a=wc(this.lContainer,this.templateTNode.tView.ssrId);return K7(this.hostLView,this.templateTNode,new $C1(this.lContainer,e,r),{dehydratedView:a})}destroy(r){Mo(r[v1],r)}updateValue(r,e){this.getLView(r)[Z2].$implicit=e}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let r=0;r{c.destroy(d)})}(l,c,i.trackByFn),l.updateIndexes(),i.hasEmptyBlock){const d=r0(),u=0===l.length;if(x4(a,d,u)){const p=e+2,z=fh(a,p);if(u){const x=dh(t,p),E=wc(z,x.tView.ssrId);Q7(z,K7(a,x,void 0,{dehydratedView:E}),0,xc(x,E))}else Cu(z,0)}}}finally{q(r)}}function fh(c,r){return c[r]}function dh(c,r){return k7(c,r)}function o(c,r,e,a){const t=s1(),i=p2(),l=a2+c,d=t[G1],u=i.firstCreatePass?function KC1(c,r,e,a,t,i){const l=r.consts,u=bc(r,c,2,a,F0(l,t));return mu(r,e,u,F0(l,i)),null!==u.attrs&&Ro(u,u.attrs,!1),null!==u.mergedAttrs&&Ro(u,u.mergedAttrs,!0),null!==r.queries&&r.queries.elementStart(r,u),u}(l,i,t,r,e,a):i.data[l],p=ob(i,t,u,d,r,c);t[l]=p;const z=hc(u);return k0(u,!0),UM(d,p,u),!function dr(c){return!(32&~c.flags)}(u)&&D7()&&yo(i,t,p,u),0===function qm1(){return r2.lFrame.elementDepthCount}()&&H3(p,t),function Wm1(){r2.lFrame.elementDepthCount++}(),z&&(du(i,t,u),fu(i,u,t)),null!==a&&uu(t,u),o}function n(){let c=j2();dd()?ud():(c=c.parent,k0(c,!1));const r=c;(function Km1(c){return r2.skipHydrationRootTNode===c})(r)&&function e_1(){r2.skipHydrationRootTNode=null}(),function Zm1(){r2.lFrame.elementDepthCount--}();const e=p2();return e.firstCreatePass&&(Qi(e,c),L7(c)&&e.queries.elementEnd(c)),null!=r.classesWithoutHost&&function h_1(c){return!!(8&c.flags)}(r)&&ih(e,r,s1(),r.classesWithoutHost,!0),null!=r.stylesWithoutHost&&function m_1(c){return!!(16&c.flags)}(r)&&ih(e,r,s1(),r.stylesWithoutHost,!1),n}function v(c,r,e,a){return o(c,r,e,a),n(),v}let ob=(c,r,e,a,t,i)=>(S0(!0),Vo(a,t,function lV(){return r2.lFrame.currentNamespace}()));function j(){return s1()}function mh(c,r,e){const a=s1();return x4(a,r0(),r)&&a6(p2(),c4(),a,c,r,a[G1],e,!0),mh}const a5=void 0;var rz1=["en",[["a","p"],["AM","PM"],a5],[["AM","PM"],a5,a5],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],a5,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],a5,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",a5,"{1} 'at' {0}",a5],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function az1(c){const e=Math.floor(Math.abs(c)),a=c.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===a?1:5}];let qc={};function P3(c){const r=function tz1(c){return c.toLowerCase().replace(/_/g,"-")}(c);let e=db(r);if(e)return e;const a=r.split("-")[0];if(e=db(a),e)return e;if("en"===a)return rz1;throw new l1(701,!1)}function db(c){return c in qc||(qc[c]=F2.ng&&F2.ng.common&&F2.ng.common.locales&&F2.ng.common.locales[c]),qc[c]}var a4=function(c){return c[c.LocaleId=0]="LocaleId",c[c.DayPeriodsFormat=1]="DayPeriodsFormat",c[c.DayPeriodsStandalone=2]="DayPeriodsStandalone",c[c.DaysFormat=3]="DaysFormat",c[c.DaysStandalone=4]="DaysStandalone",c[c.MonthsFormat=5]="MonthsFormat",c[c.MonthsStandalone=6]="MonthsStandalone",c[c.Eras=7]="Eras",c[c.FirstDayOfWeek=8]="FirstDayOfWeek",c[c.WeekendRange=9]="WeekendRange",c[c.DateFormat=10]="DateFormat",c[c.TimeFormat=11]="TimeFormat",c[c.DateTimeFormat=12]="DateTimeFormat",c[c.NumberSymbols=13]="NumberSymbols",c[c.NumberFormats=14]="NumberFormats",c[c.CurrencyCode=15]="CurrencyCode",c[c.CurrencySymbol=16]="CurrencySymbol",c[c.CurrencyName=17]="CurrencyName",c[c.Currencies=18]="Currencies",c[c.Directionality=19]="Directionality",c[c.PluralCase=20]="PluralCase",c[c.ExtraData=21]="ExtraData",c}(a4||{});const Wc="en-US";let ub=Wc;function C(c,r,e,a){const t=s1(),i=p2(),l=j2();return gh(i,t,t[G1],l,c,r,a),C}function gh(c,r,e,a,t,i,l){const d=hc(a),p=c.firstCreatePass&&aL(c),z=r[Z2],x=cL(r);let E=!0;if(3&a.type||l){const Z=T3(a,r),K=l?l(Z):Z,J=x.length,X=l?h1=>l(K2(h1[a.index])):a.index;let n1=null;if(!l&&d&&(n1=function eV1(c,r,e,a){const t=c.cleanup;if(null!=t)for(let i=0;iu?d[u]:null}"string"==typeof l&&(i+=2)}return null}(c,r,t,a.index)),null!==n1)(n1.__ngLastListenerFn__||n1).__ngNextListenerFn__=i,n1.__ngLastListenerFn__=i,E=!1;else{i=Ob(a,r,z,i,!1);const h1=e.listen(K,t,i);x.push(i,h1),p&&p.push(t,X,J,J+1)}}else i=Ob(a,r,z,i,!1);const P=a.outputs;let Y;if(E&&null!==P&&(Y=P[t])){const Z=Y.length;if(Z)for(let K=0;K-1?h6(c.index,r):r);let u=Bb(r,e,a,l),p=i.__ngNextListenerFn__;for(;p;)u=Bb(r,e,p,l)&&u,p=p.__ngNextListenerFn__;return t&&!1===u&&l.preventDefault(),u}}function h(c=1){return function o_1(c){return(r2.lFrame.contextLView=function Qz(c,r){for(;c>0;)r=r[Ue],c--;return r}(c,r2.lFrame.contextLView))[Z2]}(c)}function cV1(c,r){let e=null;const a=function Tf(c){const r=c.attrs;if(null!=r){const e=r.indexOf(5);if(!(1&e))return r[e+1]}return null}(c);for(let t=0;t(S0(!0),function au(c,r){return c.createText(r)}(r[G1],a));function H(c){return V("",c,""),H}function V(c,r,e){const a=s1(),t=Pc(a,c,r,e);return t!==n2&&ue(a,v3(),t),V}function j1(c,r,e,a,t){const i=s1(),l=function Rc(c,r,e,a,t,i){const d=X8(c,le(),e,t);return fe(2),d?r+t2(e)+a+t2(t)+i:n2}(i,c,r,e,a,t);return l!==n2&&ue(i,v3(),l),j1}function H6(c,r,e,a,t,i,l){const d=s1(),u=Bc(d,c,r,e,a,t,i,l);return u!==n2&&ue(d,v3(),u),H6}function r5(c,r,e,a,t,i,l,d,u){const p=s1(),z=function Oc(c,r,e,a,t,i,l,d,u,p){const x=E6(c,le(),e,t,l,u);return fe(4),x?r+t2(e)+a+t2(t)+i+t2(l)+d+t2(u)+p:n2}(p,c,r,e,a,t,i,l,d,u);return z!==n2&&ue(p,v3(),z),r5}function Hh(c,r,e,a,t,i,l,d,u,p,z){const x=s1(),E=function Ic(c,r,e,a,t,i,l,d,u,p,z,x){const E=le();let P=E6(c,E,e,t,l,u);return P=x4(c,E+4,z)||P,fe(5),P?r+t2(e)+a+t2(t)+i+t2(l)+d+t2(u)+p+t2(z)+x:n2}(x,c,r,e,a,t,i,l,d,u,p,z);return E!==n2&&ue(x,v3(),E),Hh}function on(c,r,e){WL(r)&&(r=r());const a=s1();return x4(a,r0(),r)&&a6(p2(),c4(),a,c,r,a[G1],e,!1),on}function Ch(c,r){const e=WL(c);return e&&c.set(r),e}function nn(c,r){const e=s1(),a=p2(),t=j2();return gh(a,e,e[G1],t,c,r),nn}function zh(c,r,e,a,t){if(c=q1(c),Array.isArray(c))for(let i=0;i>20;if(oe(c)||!c.multi){const P=new T7(p,t,B),Y=Mh(u,r,t?z:z+E,x);-1===Y?(Md(co(d,l),i,u),Vh(i,c,r.length),r.push(u),d.directiveStart++,d.directiveEnd++,t&&(d.providerIndexes+=1048576),e.push(P),l.push(P)):(e[Y]=P,l[Y]=P)}else{const P=Mh(u,r,z+E,x),Y=Mh(u,r,z,z+E),K=Y>=0&&e[Y];if(t&&!K||!t&&!(P>=0&&e[P])){Md(co(d,l),i,u);const J=function HV1(c,r,e,a,t){const i=new T7(c,e,B);return i.multi=[],i.index=r,i.componentProviders=0,lx(i,t,a&&!e),i}(t?vV1:gV1,e.length,t,a,p);!t&&K&&(e[Y].providerFactory=J),Vh(i,c,r.length,0),r.push(u),d.directiveStart++,d.directiveEnd++,t&&(d.providerIndexes+=1048576),e.push(J),l.push(J)}else Vh(i,c,P>-1?P:Y,lx(e[t?Y:P],p,!t&&a));!t&&a&&K&&e[Y].componentProviders++}}}function Vh(c,r,e,a){const t=oe(r),i=function Yf(c){return!!c.useClass}(r);if(t||i){const u=(i?q1(r.useClass):r).prototype.ngOnDestroy;if(u){const p=c.destroyHooks||(c.destroyHooks=[]);if(!t&&r.multi){const z=p.indexOf(e);-1===z?p.push(e,[a,u]):p[z+1].push(a,u)}else p.push(e,u)}}}function lx(c,r,e){return e&&c.componentProviders++,c.multi.push(r)-1}function Mh(c,r,e,a){for(let t=e;t{e.providersResolver=(a,t)=>function pV1(c,r,e){const a=p2();if(a.firstCreatePass){const t=u6(c);zh(e,a.data,a.blueprint,t,!0),zh(r,a.data,a.blueprint,t,!1)}}(a,t?t(c):c,r)}}let CV1=(()=>{class c{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){const a=Ae(0,e.type),t=a.length>0?Uo([a],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,t)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=g1({token:c,providedIn:"environment",factory:()=>new c(d1(p3))})}return c})();function C3(c){A0("NgStandalone"),c.getStandaloneInjector=r=>r.get(CV1).getOrCreateStandaloneInjector(c)}function A4(c,r,e){const a=E3()+c,t=s1();return t[a]===n2?P0(t,a,e?r.call(e):r()):function fr(c,r){return c[r]}(t,a)}function Lr(c,r){const e=c[r];return e===n2?void 0:e}function ux(c,r,e,a,t,i){const l=r+e;return x4(c,l,t)?P0(c,l+1,i?a.call(i,t):a(t)):Lr(c,l+1)}function m(c,r){const e=p2();let a;const t=c+a2;e.firstCreatePass?(a=function SV1(c,r){if(r)for(let e=r.length-1;e>=0;e--){const a=r[e];if(c===a.name)return a}}(r,e.pipeRegistry),e.data[t]=a,a.onDestroy&&(e.destroyHooks??=[]).push(t,a.onDestroy)):a=e.data[t];const i=a.factory||(a.factory=ie(a.type)),d=j4(B);try{const u=eo(!1),p=i();return eo(u),function iV1(c,r,e,a){e>=c.data.length&&(c.data[e]=null,c.blueprint[e]=null),r[e]=a}(e,s1(),t,p),p}finally{j4(d)}}function _(c,r,e){const a=c+a2,t=s1(),i=_c(t,a);return yr(t,a)?ux(t,E3(),r,i.transform,e,i):i.transform(e)}function L2(c,r,e,a){const t=c+a2,i=s1(),l=_c(i,t);return yr(i,t)?function hx(c,r,e,a,t,i,l){const d=r+e;return X8(c,d,t,i)?P0(c,d+2,l?a.call(l,t,i):a(t,i)):Lr(c,d+2)}(i,E3(),r,l.transform,e,a,l):l.transform(e,a)}function yr(c,r){return c[v1].data[r].pure}function ln(c,r){return So(c,r)}let Nx=(()=>{class c{log(e){console.log(e)}warn(e){console.warn(e)}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"platform"})}return c})();const Px=new H1(""),un=new H1("");let Nh,kh=(()=>{class c{constructor(e,a,t){this._ngZone=e,this.registry=a,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Nh||(function xM1(c){Nh=c}(t),t.addToWindow(a)),this._watchAngularEvents(),e.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:()=>{C2.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(a=>!a.updateCb||!a.updateCb(e)||(clearTimeout(a.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,a,t){let i=-1;a&&a>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(l=>l.timeoutId!==i),e()},a)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:t})}whenStable(e,a,t){if(t&&!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(e,a,t),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,a,t){return[]}static#e=this.\u0275fac=function(a){return new(a||c)(d1(C2),d1(Sh),d1(un))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})(),Sh=(()=>{class c{constructor(){this._applications=new Map}registerApplication(e,a){this._applications.set(e,a)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,a=!0){return Nh?.findTestabilityInTree(this,e,a)??null}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"platform"})}return c})();function Fr(c){return!!c&&"function"==typeof c.then}function Rx(c){return!!c&&"function"==typeof c.subscribe}const hn=new H1("");let Dh=(()=>{class c{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,a)=>{this.resolve=e,this.reject=a}),this.appInits=i1(hn,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const e=[];for(const t of this.appInits){const i=t();if(Fr(i))e.push(i);else if(Rx(i)){const l=new Promise((d,u)=>{i.subscribe({complete:d,error:u})});e.push(l)}}const a=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{a()}).catch(t=>{this.reject(t)}),0===e.length&&a(),this.initialized=!0}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const Th=new H1("");function Ix(c,r){return Array.isArray(r)?r.reduce(Ix,c):{...c,...r}}let e8=(()=>{class c{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=i1(kV),this.afterRenderEffectManager=i1(ir),this.externalTestViews=new Set,this.beforeRender=new G2,this.afterTick=new G2,this.componentTypes=[],this.components=[],this.isStable=i1(Ke).hasPendingTasks.pipe(X1(e=>!e)),this._injector=i1(p3)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,a){const t=e instanceof gL;if(!this._injector.get(Dh).done)throw!t&&function b0(c){const r=f2(c)||L4(c)||Y4(c);return null!==r&&r.standalone}(e),new l1(405,!1);let l;l=t?e:this._injector.get(Ao).resolveComponentFactory(e),this.componentTypes.push(l.componentType);const d=function wM1(c){return c.isBoundToModule}(l)?void 0:this._injector.get(J8),p=l.create(A3.NULL,[],a||l.selector,d),z=p.location.nativeElement,x=p.injector.get(Px,null);return x?.registerApplication(z),p.onDestroy(()=>{this.detachView(p.hostView),mn(this.components,p),x?.unregisterApplication(z)}),this._loadComponent(p),p}tick(){this._tick(!0)}_tick(e){if(this._runningTick)throw new l1(101,!1);const a=q(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(e)}catch(t){this.internalErrorHandler(t)}finally{this.afterTick.next(),this._runningTick=!1,q(a)}}detectChangesInAttachedViews(e){let a=0;const t=this.afterRenderEffectManager;for(;;){if(a===nL)throw new l1(103,!1);if(e){const i=0===a;this.beforeRender.next(i);for(let{_lView:l,notifyErrorHandler:d}of this._views)kM1(l,i,d)}if(a++,t.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:i})=>Eh(i))&&(t.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:i})=>Eh(i))))break}}attachView(e){const a=e;this._views.push(a),a.attachToAppRef(this)}detachView(e){const a=e;mn(this._views,a),a.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const a=this._injector.get(Th,[]);[...this._bootstrapListeners,...a].forEach(t=>t(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>mn(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new l1(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function mn(c,r){const e=c.indexOf(r);e>-1&&c.splice(e,1)}function kM1(c,r,e){!r&&!Eh(c)||function SM1(c,r,e){let a;e?(a=0,c[P1]|=1024):a=64&c[P1]?0:1,ko(c,r,a)}(c,e,r)}function Eh(c){return sd(c)}class NM1{constructor(r,e){this.ngModuleFactory=r,this.componentFactories=e}}let Ux=(()=>{class c{compileModuleSync(e){return new Yu(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const a=this.compileModuleSync(e),i=p6(r3(e).declarations).reduce((l,d)=>{const u=f2(d);return u&&l.push(new sr(u)),l},[]);return new NM1(a,i)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),EM1=(()=>{class c{constructor(){this.zone=i1(C2),this.applicationRef=i1(e8)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function AM1(){const c=i1(C2),r=i1(D0);return e=>c.runOutsideAngular(()=>r.handleError(e))}let RM1=(()=>{class c{constructor(){this.subscription=new c3,this.initialized=!1,this.zone=i1(C2),this.pendingTasks=i1(Ke)}initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{C2.assertNotInAngularZone(),queueMicrotask(()=>{null!==e&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{C2.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const B0=new H1("",{providedIn:"root",factory:()=>i1(B0,u2.Optional|u2.SkipSelf)||function BM1(){return typeof $localize<"u"&&$localize.locale||Wc}()}),Ah=new H1("");let Gx=(()=>{class c{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,a){const t=function Dv1(c="zone.js",r){return"noop"===c?new LL:"zone.js"===c?new C2(r):c}(a?.ngZone,function Yx(c){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:c?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:c?.runCoalescing??!1}}({eventCoalescing:a?.ngZoneEventCoalescing,runCoalescing:a?.ngZoneRunCoalescing}));return t.run(()=>{const i=function yH1(c,r,e){return new $u(c,r,e)}(e.moduleType,this.injector,function $x(c){return[{provide:C2,useFactory:c},{provide:L0,multi:!0,useFactory:()=>{const r=i1(EM1,{optional:!0});return()=>r.initialize()}},{provide:L0,multi:!0,useFactory:()=>{const r=i1(RM1);return()=>{r.initialize()}}},{provide:kV,useFactory:AM1}]}(()=>t)),l=i.injector.get(D0,null);return t.runOutsideAngular(()=>{const d=t.onError.subscribe({next:u=>{l.handleError(u)}});i.onDestroy(()=>{mn(this._modules,i),d.unsubscribe()})}),function Ox(c,r,e){try{const a=e();return Fr(a)?a.catch(t=>{throw r.runOutsideAngular(()=>c.handleError(t)),t}):a}catch(a){throw r.runOutsideAngular(()=>c.handleError(a)),a}}(l,t,()=>{const d=i.injector.get(Dh);return d.runInitializers(),d.donePromise.then(()=>(function hb(c){"string"==typeof c&&(ub=c.toLowerCase().replace(/_/g,"-"))}(i.injector.get(B0,Wc)||Wc),this._moduleDoBootstrap(i),i))})})}bootstrapModule(e,a=[]){const t=Ix({},a);return function TM1(c,r,e){const a=new Yu(e);return Promise.resolve(a)}(0,0,e).then(i=>this.bootstrapModuleFactory(i,t))}_moduleDoBootstrap(e){const a=e.injector.get(e8);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(t=>a.bootstrap(t));else{if(!e.instance.ngDoBootstrap)throw new l1(-403,!1);e.instance.ngDoBootstrap(a)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new l1(404,!1);this._modules.slice().forEach(a=>a.destroy()),this._destroyListeners.forEach(a=>a());const e=this._injector.get(Ah,null);e&&(e.forEach(a=>a()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(a){return new(a||c)(d1(A3))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"platform"})}return c})(),c8=null;const qx=new H1("");function Wx(c,r,e=[]){const a=`Platform: ${r}`,t=new H1(a);return(i=[])=>{let l=Ph();if(!l||l.injector.get(qx,!1)){const d=[...e,...i,{provide:t,useValue:!0}];c?c(d):function UM1(c){if(c8&&!c8.get(qx,!1))throw new l1(400,!1);(function Bx(){!function Ga(c){ai=c}(()=>{throw new l1(600,!1)})})(),c8=c;const r=c.get(Gx);(function Kx(c){c.get(JV,null)?.forEach(e=>e())})(c)}(function Zx(c=[],r){return A3.create({name:r,providers:[{provide:p7,useValue:"platform"},{provide:Ah,useValue:new Set([()=>c8=null])},...c]})}(d,a))}return function jM1(c){const r=Ph();if(!r)throw new l1(401,!1);return r}()}}function Ph(){return c8?.get(Gx)??null}let B1=(()=>{class c{static#e=this.__NG_ELEMENT_ID__=YM1}return c})();function YM1(c){return function GM1(c,r,e){if(se(c)&&!e){const a=h6(c.index,r);return new er(a,a)}return 47&c.type?new er(r[o4],r):null}(j2(),s1(),!(16&~c))}class cw{constructor(){}supports(r){return $o(r)}create(r){return new QM1(r)}}const KM1=(c,r)=>r;class QM1{constructor(r){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=r||KM1}forEachItem(r){let e;for(e=this._itHead;null!==e;e=e._next)r(e)}forEachOperation(r){let e=this._itHead,a=this._removalsHead,t=0,i=null;for(;e||a;){const l=!a||e&&e.currentIndex{l=this._trackByFn(t,d),null!==e&&Object.is(e.trackById,l)?(a&&(e=this._verifyReinsertion(e,d,l,t)),Object.is(e.item,d)||this._addIdentityChange(e,d)):(e=this._mismatch(e,d,l,t),a=!0),e=e._next,t++}),this.length=t;return this._truncate(e),this.collection=r,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let r;for(r=this._previousItHead=this._itHead;null!==r;r=r._next)r._nextPrevious=r._next;for(r=this._additionsHead;null!==r;r=r._nextAdded)r.previousIndex=r.currentIndex;for(this._additionsHead=this._additionsTail=null,r=this._movesHead;null!==r;r=r._nextMoved)r.previousIndex=r.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(r,e,a,t){let i;return null===r?i=this._itTail:(i=r._prev,this._remove(r)),null!==(r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(a,null))?(Object.is(r.item,e)||this._addIdentityChange(r,e),this._reinsertAfter(r,i,t)):null!==(r=null===this._linkedRecords?null:this._linkedRecords.get(a,t))?(Object.is(r.item,e)||this._addIdentityChange(r,e),this._moveAfter(r,i,t)):r=this._addAfter(new JM1(e,a),i,t),r}_verifyReinsertion(r,e,a,t){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(a,null);return null!==i?r=this._reinsertAfter(i,r._prev,t):r.currentIndex!=t&&(r.currentIndex=t,this._addToMoves(r,t)),r}_truncate(r){for(;null!==r;){const e=r._next;this._addToRemovals(this._unlink(r)),r=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(r,e,a){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(r);const t=r._prevRemoved,i=r._nextRemoved;return null===t?this._removalsHead=i:t._nextRemoved=i,null===i?this._removalsTail=t:i._prevRemoved=t,this._insertAfter(r,e,a),this._addToMoves(r,a),r}_moveAfter(r,e,a){return this._unlink(r),this._insertAfter(r,e,a),this._addToMoves(r,a),r}_addAfter(r,e,a){return this._insertAfter(r,e,a),this._additionsTail=null===this._additionsTail?this._additionsHead=r:this._additionsTail._nextAdded=r,r}_insertAfter(r,e,a){const t=null===e?this._itHead:e._next;return r._next=t,r._prev=e,null===t?this._itTail=r:t._prev=r,null===e?this._itHead=r:e._next=r,null===this._linkedRecords&&(this._linkedRecords=new aw),this._linkedRecords.put(r),r.currentIndex=a,r}_remove(r){return this._addToRemovals(this._unlink(r))}_unlink(r){null!==this._linkedRecords&&this._linkedRecords.remove(r);const e=r._prev,a=r._next;return null===e?this._itHead=a:e._next=a,null===a?this._itTail=e:a._prev=e,r}_addToMoves(r,e){return r.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=r:this._movesTail._nextMoved=r),r}_addToRemovals(r){return null===this._unlinkedRecords&&(this._unlinkedRecords=new aw),this._unlinkedRecords.put(r),r.currentIndex=null,r._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=r,r._prevRemoved=null):(r._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=r),r}_addIdentityChange(r,e){return r.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=r:this._identityChangesTail._nextIdentityChange=r,r}}class JM1{constructor(r,e){this.item=r,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class XM1{constructor(){this._head=null,this._tail=null}add(r){null===this._head?(this._head=this._tail=r,r._nextDup=null,r._prevDup=null):(this._tail._nextDup=r,r._prevDup=this._tail,r._nextDup=null,this._tail=r)}get(r,e){let a;for(a=this._head;null!==a;a=a._nextDup)if((null===e||e<=a.currentIndex)&&Object.is(a.trackById,r))return a;return null}remove(r){const e=r._prevDup,a=r._nextDup;return null===e?this._head=a:e._nextDup=a,null===a?this._tail=e:a._prevDup=e,null===this._head}}class aw{constructor(){this.map=new Map}put(r){const e=r.trackById;let a=this.map.get(e);a||(a=new XM1,this.map.set(e,a)),a.add(r)}get(r,e){const t=this.map.get(r);return t?t.get(r,e):null}remove(r){const e=r.trackById;return this.map.get(e).remove(r)&&this.map.delete(e),r}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function rw(c,r,e){const a=c.previousIndex;if(null===a)return a;let t=0;return e&&a{if(e&&e.key===t)this._maybeAddToChanges(e,a),this._appendAfter=e,e=e._next;else{const i=this._getOrCreateRecordForKey(t,a);e=this._insertBeforeOrAppend(e,i)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let a=e;null!==a;a=a._nextRemoved)a===this._mapHead&&(this._mapHead=null),this._records.delete(a.key),a._nextRemoved=a._next,a.previousValue=a.currentValue,a.currentValue=null,a._prev=null,a._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(r,e){if(r){const a=r._prev;return e._next=r,e._prev=a,r._prev=e,a&&(a._next=e),r===this._mapHead&&(this._mapHead=e),this._appendAfter=r,r}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(r,e){if(this._records.has(r)){const t=this._records.get(r);this._maybeAddToChanges(t,e);const i=t._prev,l=t._next;return i&&(i._next=l),l&&(l._prev=i),t._next=null,t._prev=null,t}const a=new cL1(r);return this._records.set(r,a),a.currentValue=e,this._addToAdditions(a),a}_reset(){if(this.isDirty){let r;for(this._previousMapHead=this._mapHead,r=this._previousMapHead;null!==r;r=r._next)r._nextPrevious=r._next;for(r=this._changesHead;null!==r;r=r._nextChanged)r.previousValue=r.currentValue;for(r=this._additionsHead;null!=r;r=r._nextAdded)r.previousValue=r.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(r,e){Object.is(e,r.currentValue)||(r.previousValue=r.currentValue,r.currentValue=e,this._addToChanges(r))}_addToAdditions(r){null===this._additionsHead?this._additionsHead=this._additionsTail=r:(this._additionsTail._nextAdded=r,this._additionsTail=r)}_addToChanges(r){null===this._changesHead?this._changesHead=this._changesTail=r:(this._changesTail._nextChanged=r,this._changesTail=r)}_forEach(r,e){r instanceof Map?r.forEach(e):Object.keys(r).forEach(a=>e(r[a],a))}}class cL1{constructor(r){this.key=r,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function iw(){return new Uh([new cw])}let Uh=(()=>{class c{static#e=this.\u0275prov=g1({token:c,providedIn:"root",factory:iw});constructor(e){this.factories=e}static create(e,a){if(null!=a){const t=a.factories.slice();e=e.concat(t)}return new c(e)}static extend(e){return{provide:c,useFactory:a=>c.create(e,a||iw()),deps:[[c,new Z5,new B2]]}}find(e){const a=this.factories.find(t=>t.supports(e));if(null!=a)return a;throw new l1(901,!1)}}return c})();function ow(){return new vn([new tw])}let vn=(()=>{class c{static#e=this.\u0275prov=g1({token:c,providedIn:"root",factory:ow});constructor(e){this.factories=e}static create(e,a){if(a){const t=a.factories.slice();e=e.concat(t)}return new c(e)}static extend(e){return{provide:c,useFactory:a=>c.create(e,a||ow()),deps:[[c,new Z5,new B2]]}}find(e){const a=this.factories.find(t=>t.supports(e));if(a)return a;throw new l1(901,!1)}}return c})();const tL1=Wx(null,"core",[]);let iL1=(()=>{class c{constructor(e){}static#e=this.\u0275fac=function(a){return new(a||c)(d1(e8))};static#c=this.\u0275mod=M4({type:c});static#a=this.\u0275inj=g4({})}return c})();function Jc(c){return"boolean"==typeof c?c:null!=c&&"false"!==c}function ww(c){const r=q(null);try{return c()}finally{q(r)}}let Fw=null;function a8(){return Fw}class UL1{}const B3=new H1("");let Yh=(()=>{class c{historyGo(e){throw new Error("")}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:()=>i1($L1),providedIn:"platform"})}return c})();const jL1=new H1("");let $L1=(()=>{class c extends Yh{constructor(){super(),this._doc=i1(B3),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return a8().getBaseHref(this._doc)}onPopState(e){const a=a8().getGlobalEventTarget(this._doc,"window");return a.addEventListener("popstate",e,!1),()=>a.removeEventListener("popstate",e)}onHashChange(e){const a=a8().getGlobalEventTarget(this._doc,"window");return a.addEventListener("hashchange",e,!1),()=>a.removeEventListener("hashchange",e)}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(e){this._location.pathname=e}pushState(e,a,t){this._history.pushState(e,a,t)}replaceState(e,a,t){this._history.replaceState(e,a,t)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:()=>new c,providedIn:"platform"})}return c})();function Gh(c,r){if(0==c.length)return r;if(0==r.length)return c;let e=0;return c.endsWith("/")&&e++,r.startsWith("/")&&e++,2==e?c+r.substring(1):1==e?c+r:c+"/"+r}function kw(c){const r=c.match(/#|\?|$/),e=r&&r.index||c.length;return c.slice(0,e-("/"===c[e-1]?1:0))+c.slice(e)}function he(c){return c&&"?"!==c[0]?"?"+c:c}let r8=(()=>{class c{historyGo(e){throw new Error("")}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:()=>i1(Sw),providedIn:"root"})}return c})();const qh=new H1("");let Sw=(()=>{class c extends r8{constructor(e,a){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=a??this._platformLocation.getBaseHrefFromDOM()??i1(B3).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Gh(this._baseHref,e)}path(e=!1){const a=this._platformLocation.pathname+he(this._platformLocation.search),t=this._platformLocation.hash;return t&&e?`${a}${t}`:a}pushState(e,a,t,i){const l=this.prepareExternalUrl(t+he(i));this._platformLocation.pushState(e,a,l)}replaceState(e,a,t,i){const l=this.prepareExternalUrl(t+he(i));this._platformLocation.replaceState(e,a,l)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static#e=this.\u0275fac=function(a){return new(a||c)(d1(Yh),d1(qh,8))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),YL1=(()=>{class c extends r8{constructor(e,a){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=a&&(this._baseHref=a)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){const a=this._platformLocation.hash??"#";return a.length>0?a.substring(1):a}prepareExternalUrl(e){const a=Gh(this._baseHref,e);return a.length>0?"#"+a:a}pushState(e,a,t,i){let l=this.prepareExternalUrl(t+he(i));0==l.length&&(l=this._platformLocation.pathname),this._platformLocation.pushState(e,a,l)}replaceState(e,a,t,i){let l=this.prepareExternalUrl(t+he(i));0==l.length&&(l=this._platformLocation.pathname),this._platformLocation.replaceState(e,a,l)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static#e=this.\u0275fac=function(a){return new(a||c)(d1(Yh),d1(qh,8))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})(),t8=(()=>{class c{constructor(e){this._subject=new Y1,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const a=this._locationStrategy.getBaseHref();this._basePath=function WL1(c){if(new RegExp("^(https?:)?//").test(c)){const[,e]=c.split(/\/\/[^\/]+/);return e}return c}(kw(Nw(a))),this._locationStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,a=""){return this.path()==this.normalize(e+he(a))}normalize(e){return c.stripTrailingSlash(function qL1(c,r){if(!c||!r.startsWith(c))return r;const e=r.substring(c.length);return""===e||["/",";","?","#"].includes(e[0])?e:r}(this._basePath,Nw(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,a="",t=null){this._locationStrategy.pushState(t,"",e,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+he(a)),t)}replaceState(e,a="",t=null){this._locationStrategy.replaceState(t,"",e,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+he(a)),t)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(a=>{this._notifyUrlChangeListeners(a.url,a.state)}),()=>{const a=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(a,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",a){this._urlChangeListeners.forEach(t=>t(e,a))}subscribe(e,a,t){return this._subject.subscribe({next:e,error:a,complete:t})}static#e=this.normalizeQueryParams=he;static#c=this.joinWithSlash=Gh;static#a=this.stripTrailingSlash=kw;static#r=this.\u0275fac=function(a){return new(a||c)(d1(r8))};static#t=this.\u0275prov=g1({token:c,factory:()=>function GL1(){return new t8(d1(r8))}(),providedIn:"root"})}return c})();function Nw(c){return c.replace(/\/index.html$/,"")}var O3=function(c){return c[c.Format=0]="Format",c[c.Standalone=1]="Standalone",c}(O3||{}),X2=function(c){return c[c.Narrow=0]="Narrow",c[c.Abbreviated=1]="Abbreviated",c[c.Wide=2]="Wide",c[c.Short=3]="Short",c}(X2||{}),C6=function(c){return c[c.Short=0]="Short",c[c.Medium=1]="Medium",c[c.Long=2]="Long",c[c.Full=3]="Full",c}(C6||{});const P4={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function yn(c,r){return R6(P3(c)[a4.DateFormat],r)}function bn(c,r){return R6(P3(c)[a4.TimeFormat],r)}function xn(c,r){return R6(P3(c)[a4.DateTimeFormat],r)}function P6(c,r){const e=P3(c),a=e[a4.NumberSymbols][r];if(typeof a>"u"){if(r===P4.CurrencyDecimal)return e[a4.NumberSymbols][P4.Decimal];if(r===P4.CurrencyGroup)return e[a4.NumberSymbols][P4.Group]}return a}function Ew(c){if(!c[a4.ExtraData])throw new Error(`Missing extra locale data for the locale "${c[a4.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function R6(c,r){for(let e=r;e>-1;e--)if(typeof c[e]<"u")return c[e];throw new Error("Locale data API: locale data undefined")}function Zh(c){const[r,e]=c.split(":");return{hours:+r,minutes:+e}}const ny1=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,wn={},sy1=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var me=function(c){return c[c.Short=0]="Short",c[c.ShortGMT=1]="ShortGMT",c[c.Long=2]="Long",c[c.Extended=3]="Extended",c}(me||{}),P2=function(c){return c[c.FullYear=0]="FullYear",c[c.Month=1]="Month",c[c.Date=2]="Date",c[c.Hours=3]="Hours",c[c.Minutes=4]="Minutes",c[c.Seconds=5]="Seconds",c[c.FractionalSeconds=6]="FractionalSeconds",c[c.Day=7]="Day",c}(P2||{}),R2=function(c){return c[c.DayPeriods=0]="DayPeriods",c[c.Days=1]="Days",c[c.Months=2]="Months",c[c.Eras=3]="Eras",c}(R2||{});function ly1(c,r,e,a){let t=function vy1(c){if(Rw(c))return c;if("number"==typeof c&&!isNaN(c))return new Date(c);if("string"==typeof c){if(c=c.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(c)){const[t,i=1,l=1]=c.split("-").map(d=>+d);return Fn(t,i-1,l)}const e=parseFloat(c);if(!isNaN(c-e))return new Date(e);let a;if(a=c.match(ny1))return function Hy1(c){const r=new Date(0);let e=0,a=0;const t=c[8]?r.setUTCFullYear:r.setFullYear,i=c[8]?r.setUTCHours:r.setHours;c[9]&&(e=Number(c[9]+c[10]),a=Number(c[9]+c[11])),t.call(r,Number(c[1]),Number(c[2])-1,Number(c[3]));const l=Number(c[4]||0)-e,d=Number(c[5]||0)-a,u=Number(c[6]||0),p=Math.floor(1e3*parseFloat("0."+(c[7]||0)));return i.call(r,l,d,u,p),r}(a)}const r=new Date(c);if(!Rw(r))throw new Error(`Unable to convert "${c}" into a date`);return r}(c);r=_e(e,r)||r;let d,l=[];for(;r;){if(d=sy1.exec(r),!d){l.push(r);break}{l=l.concat(d.slice(1));const z=l.pop();if(!z)break;r=z}}let u=t.getTimezoneOffset();a&&(u=Pw(a,u),t=function gy1(c,r,e){const a=e?-1:1,t=c.getTimezoneOffset();return function py1(c,r){return(c=new Date(c.getTime())).setMinutes(c.getMinutes()+r),c}(c,a*(Pw(r,t)-t))}(t,a,!0));let p="";return l.forEach(z=>{const x=function _y1(c){if(Qh[c])return Qh[c];let r;switch(c){case"G":case"GG":case"GGG":r=r4(R2.Eras,X2.Abbreviated);break;case"GGGG":r=r4(R2.Eras,X2.Wide);break;case"GGGGG":r=r4(R2.Eras,X2.Narrow);break;case"y":r=R4(P2.FullYear,1,0,!1,!0);break;case"yy":r=R4(P2.FullYear,2,0,!0,!0);break;case"yyy":r=R4(P2.FullYear,3,0,!1,!0);break;case"yyyy":r=R4(P2.FullYear,4,0,!1,!0);break;case"Y":r=Dn(1);break;case"YY":r=Dn(2,!0);break;case"YYY":r=Dn(3);break;case"YYYY":r=Dn(4);break;case"M":case"L":r=R4(P2.Month,1,1);break;case"MM":case"LL":r=R4(P2.Month,2,1);break;case"MMM":r=r4(R2.Months,X2.Abbreviated);break;case"MMMM":r=r4(R2.Months,X2.Wide);break;case"MMMMM":r=r4(R2.Months,X2.Narrow);break;case"LLL":r=r4(R2.Months,X2.Abbreviated,O3.Standalone);break;case"LLLL":r=r4(R2.Months,X2.Wide,O3.Standalone);break;case"LLLLL":r=r4(R2.Months,X2.Narrow,O3.Standalone);break;case"w":r=Kh(1);break;case"ww":r=Kh(2);break;case"W":r=Kh(1,!0);break;case"d":r=R4(P2.Date,1);break;case"dd":r=R4(P2.Date,2);break;case"c":case"cc":r=R4(P2.Day,1);break;case"ccc":r=r4(R2.Days,X2.Abbreviated,O3.Standalone);break;case"cccc":r=r4(R2.Days,X2.Wide,O3.Standalone);break;case"ccccc":r=r4(R2.Days,X2.Narrow,O3.Standalone);break;case"cccccc":r=r4(R2.Days,X2.Short,O3.Standalone);break;case"E":case"EE":case"EEE":r=r4(R2.Days,X2.Abbreviated);break;case"EEEE":r=r4(R2.Days,X2.Wide);break;case"EEEEE":r=r4(R2.Days,X2.Narrow);break;case"EEEEEE":r=r4(R2.Days,X2.Short);break;case"a":case"aa":case"aaa":r=r4(R2.DayPeriods,X2.Abbreviated);break;case"aaaa":r=r4(R2.DayPeriods,X2.Wide);break;case"aaaaa":r=r4(R2.DayPeriods,X2.Narrow);break;case"b":case"bb":case"bbb":r=r4(R2.DayPeriods,X2.Abbreviated,O3.Standalone,!0);break;case"bbbb":r=r4(R2.DayPeriods,X2.Wide,O3.Standalone,!0);break;case"bbbbb":r=r4(R2.DayPeriods,X2.Narrow,O3.Standalone,!0);break;case"B":case"BB":case"BBB":r=r4(R2.DayPeriods,X2.Abbreviated,O3.Format,!0);break;case"BBBB":r=r4(R2.DayPeriods,X2.Wide,O3.Format,!0);break;case"BBBBB":r=r4(R2.DayPeriods,X2.Narrow,O3.Format,!0);break;case"h":r=R4(P2.Hours,1,-12);break;case"hh":r=R4(P2.Hours,2,-12);break;case"H":r=R4(P2.Hours,1);break;case"HH":r=R4(P2.Hours,2);break;case"m":r=R4(P2.Minutes,1);break;case"mm":r=R4(P2.Minutes,2);break;case"s":r=R4(P2.Seconds,1);break;case"ss":r=R4(P2.Seconds,2);break;case"S":r=R4(P2.FractionalSeconds,1);break;case"SS":r=R4(P2.FractionalSeconds,2);break;case"SSS":r=R4(P2.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":r=Sn(me.Short);break;case"ZZZZZ":r=Sn(me.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":r=Sn(me.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":r=Sn(me.Long);break;default:return null}return Qh[c]=r,r}(z);p+=x?x(t,e,u):"''"===z?"'":z.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),p}function Fn(c,r,e){const a=new Date(0);return a.setFullYear(c,r,e),a.setHours(0,0,0),a}function _e(c,r){const e=function Tw(c){return P3(c)[a4.LocaleId]}(c);if(wn[e]??={},wn[e][r])return wn[e][r];let a="";switch(r){case"shortDate":a=yn(c,C6.Short);break;case"mediumDate":a=yn(c,C6.Medium);break;case"longDate":a=yn(c,C6.Long);break;case"fullDate":a=yn(c,C6.Full);break;case"shortTime":a=bn(c,C6.Short);break;case"mediumTime":a=bn(c,C6.Medium);break;case"longTime":a=bn(c,C6.Long);break;case"fullTime":a=bn(c,C6.Full);break;case"short":const t=_e(c,"shortTime"),i=_e(c,"shortDate");a=kn(xn(c,C6.Short),[t,i]);break;case"medium":const l=_e(c,"mediumTime"),d=_e(c,"mediumDate");a=kn(xn(c,C6.Medium),[l,d]);break;case"long":const u=_e(c,"longTime"),p=_e(c,"longDate");a=kn(xn(c,C6.Long),[u,p]);break;case"full":const z=_e(c,"fullTime"),x=_e(c,"fullDate");a=kn(xn(c,C6.Full),[z,x])}return a&&(wn[e][r]=a),a}function kn(c,r){return r&&(c=c.replace(/\{([^}]+)}/g,function(e,a){return null!=r&&a in r?r[a]:e})),c}function s0(c,r,e="-",a,t){let i="";(c<0||t&&c<=0)&&(t?c=1-c:(c=-c,i=e));let l=String(c);for(;l.length0||d>-e)&&(d+=e),c===P2.Hours)0===d&&-12===e&&(d=12);else if(c===P2.FractionalSeconds)return function fy1(c,r){return s0(c,3).substring(0,r)}(d,r);const u=P6(l,P4.MinusSign);return s0(d,r,u,a,t)}}function r4(c,r,e=O3.Format,a=!1){return function(t,i){return function uy1(c,r,e,a,t,i){switch(e){case R2.Months:return function JL1(c,r,e){const a=P3(c),i=R6([a[a4.MonthsFormat],a[a4.MonthsStandalone]],r);return R6(i,e)}(r,t,a)[c.getMonth()];case R2.Days:return function QL1(c,r,e){const a=P3(c),i=R6([a[a4.DaysFormat],a[a4.DaysStandalone]],r);return R6(i,e)}(r,t,a)[c.getDay()];case R2.DayPeriods:const l=c.getHours(),d=c.getMinutes();if(i){const p=function ay1(c){const r=P3(c);return Ew(r),(r[a4.ExtraData][2]||[]).map(a=>"string"==typeof a?Zh(a):[Zh(a[0]),Zh(a[1])])}(r),z=function ry1(c,r,e){const a=P3(c);Ew(a);const i=R6([a[a4.ExtraData][0],a[a4.ExtraData][1]],r)||[];return R6(i,e)||[]}(r,t,a),x=p.findIndex(E=>{if(Array.isArray(E)){const[P,Y]=E,Z=l>=P.hours&&d>=P.minutes,K=l0?Math.floor(t/60):Math.ceil(t/60);switch(c){case me.Short:return(t>=0?"+":"")+s0(l,2,i)+s0(Math.abs(t%60),2,i);case me.ShortGMT:return"GMT"+(t>=0?"+":"")+s0(l,1,i);case me.Long:return"GMT"+(t>=0?"+":"")+s0(l,2,i)+":"+s0(Math.abs(t%60),2,i);case me.Extended:return 0===a?"Z":(t>=0?"+":"")+s0(l,2,i)+":"+s0(Math.abs(t%60),2,i);default:throw new Error(`Unknown zone width "${c}"`)}}}const hy1=0,Nn=4;function Aw(c){const r=c.getDay(),e=0===r?-3:Nn-r;return Fn(c.getFullYear(),c.getMonth(),c.getDate()+e)}function Kh(c,r=!1){return function(e,a){let t;if(r){const i=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,l=e.getDate();t=1+Math.floor((l+i)/7)}else{const i=Aw(e),l=function my1(c){const r=Fn(c,hy1,1).getDay();return Fn(c,0,1+(r<=Nn?Nn:Nn+7)-r)}(i.getFullYear()),d=i.getTime()-l.getTime();t=1+Math.round(d/6048e5)}return s0(t,c,P6(a,P4.MinusSign))}}function Dn(c,r=!1){return function(e,a){return s0(Aw(e).getFullYear(),c,P6(a,P4.MinusSign),r)}}const Qh={};function Pw(c,r){c=c.replace(/:/g,"");const e=Date.parse("Jan 01, 1970 00:00:00 "+c)/6e4;return isNaN(e)?r:e}function Rw(c){return c instanceof Date&&!isNaN(c.valueOf())}function Uw(c,r){r=encodeURIComponent(r);for(const e of c.split(";")){const a=e.indexOf("="),[t,i]=-1==a?[e,""]:[e.slice(0,a),e.slice(a+1)];if(t.trim()===r)return decodeURIComponent(i)}return null}const rm=/\s+/,jw=[];let k2=(()=>{class c{constructor(e,a){this._ngEl=e,this._renderer=a,this.initialClasses=jw,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(rm):jw}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(rm):e}ngDoCheck(){for(const a of this.initialClasses)this._updateState(a,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const a of e)this._updateState(a,!0);else if(null!=e)for(const a of Object.keys(e))this._updateState(a,!!e[a]);this._applyStateDiff()}_updateState(e,a){const t=this.stateMap.get(e);void 0!==t?(t.enabled!==a&&(t.changed=!0,t.enabled=a),t.touched=!0):this.stateMap.set(e,{enabled:a,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const a=e[0],t=e[1];t.changed?(this._toggleClass(a,t.enabled),t.changed=!1):t.touched||(t.enabled&&this._toggleClass(a,!1),this.stateMap.delete(a)),t.touched=!1}}_toggleClass(e,a){(e=e.trim()).length>0&&e.split(rm).forEach(t=>{a?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}static#e=this.\u0275fac=function(a){return new(a||c)(B(v2),B(T6))};static#c=this.\u0275dir=U1({type:c,selectors:[["","ngClass",""]],inputs:{klass:[J2.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return c})();class Ny1{constructor(r,e,a,t){this.$implicit=r,this.ngForOf=e,this.index=a,this.count=t}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let ea=(()=>{class c{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,a,t){this._viewContainer=e,this._template=a,this._differs=t,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const a=this._viewContainer;e.forEachOperation((t,i,l)=>{if(null==t.previousIndex)a.createEmbeddedView(this._template,new Ny1(t.item,this._ngForOf,-1,-1),null===l?void 0:l);else if(null==l)a.remove(null===i?void 0:i);else if(null!==i){const d=a.get(i);a.move(d,l),Yw(d,t)}});for(let t=0,i=a.length;t{Yw(a.get(t.currentIndex),t)})}static ngTemplateContextGuard(e,a){return!0}static#e=this.\u0275fac=function(a){return new(a||c)(B(g6),B(t0),B(Uh))};static#c=this.\u0275dir=U1({type:c,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return c})();function Yw(c,r){c.context.$implicit=r.item}let i5=(()=>{class c{constructor(e,a){this._viewContainer=e,this._context=new Dy1,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=a}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){Gw("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Gw("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,a){return!0}static#e=this.\u0275fac=function(a){return new(a||c)(B(g6),B(t0))};static#c=this.\u0275dir=U1({type:c,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return c})();class Dy1{constructor(){this.$implicit=null,this.ngIf=null}}function Gw(c,r){if(r&&!r.createEmbeddedView)throw new Error(`${c} must be a TemplateRef, but received '${V4(r)}'.`)}let En=(()=>{class c{constructor(e,a,t){this._ngEl=e,this._differs=a,this._renderer=t,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,a){const[t,i]=e.split("."),l=-1===t.indexOf("-")?void 0:qe.DashCase;null!=a?this._renderer.setStyle(this._ngEl.nativeElement,t,i?`${a}${i}`:a,l):this._renderer.removeStyle(this._ngEl.nativeElement,t,l)}_applyChanges(e){e.forEachRemovedItem(a=>this._setStyle(a.key,null)),e.forEachAddedItem(a=>this._setStyle(a.key,a.currentValue)),e.forEachChangedItem(a=>this._setStyle(a.key,a.currentValue))}static#e=this.\u0275fac=function(a){return new(a||c)(B(v2),B(vn),B(T6))};static#c=this.\u0275dir=U1({type:c,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return c})(),Ww=(()=>{class c{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(this._shouldRecreateView(e)){const a=this._viewContainerRef;if(this._viewRef&&a.remove(a.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const t=this._createContextForwardProxy();this._viewRef=a.createEmbeddedView(this.ngTemplateOutlet,t,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,a,t)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,a,t),get:(e,a,t)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,a,t)}})}static#e=this.\u0275fac=function(a){return new(a||c)(B(g6))};static#c=this.\u0275dir=U1({type:c,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[A]})}return c})();function l0(c,r){return new l1(2100,!1)}class Ry1{createSubscription(r,e){return ww(()=>r.subscribe({next:e,error:a=>{throw a}}))}dispose(r){ww(()=>r.unsubscribe())}}class By1{createSubscription(r,e){return r.then(e,a=>{throw a})}dispose(r){}}const Oy1=new By1,Iy1=new Ry1;let om=(()=>{class c{constructor(e){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,a=>this._updateLatestValue(e,a))}_selectStrategy(e){if(Fr(e))return Oy1;if(Rx(e))return Iy1;throw l0()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,a){e===this._obj&&(this._latestValue=a,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(a){return new(a||c)(B(B1,16))};static#c=this.\u0275pipe=$4({name:"async",type:c,pure:!1,standalone:!0})}return c})();const qy1=new H1(""),Wy1=new H1("");let Q4=(()=>{class c{constructor(e,a,t){this.locale=e,this.defaultTimezone=a,this.defaultOptions=t}transform(e,a,t,i){if(null==e||""===e||e!=e)return null;try{return ly1(e,a??this.defaultOptions?.dateFormat??"mediumDate",i||this.locale,t??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(l){throw l0()}}static#e=this.\u0275fac=function(a){return new(a||c)(B(B0,16),B(qy1,24),B(Wy1,24))};static#c=this.\u0275pipe=$4({name:"date",type:c,pure:!0,standalone:!0})}return c})(),f0=(()=>{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275mod=M4({type:c});static#a=this.\u0275inj=g4({})}return c})();const Kw="browser";function t6(c){return c===Kw}function Qw(c){return"server"===c}let nb1=(()=>{class c{static#e=this.\u0275prov=g1({token:c,providedIn:"root",factory:()=>t6(i1(m6))?new sb1(i1(B3),window):new fb1})}return c})();class sb1{constructor(r,e){this.document=r,this.window=e,this.offset=()=>[0,0]}setOffset(r){this.offset=Array.isArray(r)?()=>r:r}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(r){this.window.scrollTo(r[0],r[1])}scrollToAnchor(r){const e=function lb1(c,r){const e=c.getElementById(r)||c.getElementsByName(r)[0];if(e)return e;if("function"==typeof c.createTreeWalker&&c.body&&"function"==typeof c.body.attachShadow){const a=c.createTreeWalker(c.body,NodeFilter.SHOW_ELEMENT);let t=a.currentNode;for(;t;){const i=t.shadowRoot;if(i){const l=i.getElementById(r)||i.querySelector(`[name="${r}"]`);if(l)return l}t=a.nextNode()}}return null}(this.document,r);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(r){this.window.history.scrollRestoration=r}scrollToElement(r){const e=r.getBoundingClientRect(),a=e.left+this.window.pageXOffset,t=e.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(a-i[0],t-i[1])}}class fb1{setOffset(r){}getScrollPosition(){return[0,0]}scrollToPosition(r){}scrollToAnchor(r){}setHistoryScrollRestoration(r){}}class Jw{}class Rb1 extends UL1{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class fm extends Rb1{static makeCurrent(){!function IL1(c){Fw??=c}(new fm)}onAndCancel(r,e,a){return r.addEventListener(e,a),()=>{r.removeEventListener(e,a)}}dispatchEvent(r,e){r.dispatchEvent(e)}remove(r){r.parentNode&&r.parentNode.removeChild(r)}createElement(r,e){return(e=e||this.getDefaultDocument()).createElement(r)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(r){return r.nodeType===Node.ELEMENT_NODE}isShadowRoot(r){return r instanceof DocumentFragment}getGlobalEventTarget(r,e){return"window"===e?window:"document"===e?r:"body"===e?r.body:null}getBaseHref(r){const e=function Bb1(){return Er=Er||document.querySelector("base"),Er?Er.getAttribute("href"):null}();return null==e?null:function Ob1(c){return new URL(c,document.baseURI).pathname}(e)}resetBaseElement(){Er=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return Uw(document.cookie,r)}}let Er=null,Ub1=(()=>{class c{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();const dm=new H1("");let nF=(()=>{class c{constructor(e,a){this._zone=a,this._eventNameToPlugin=new Map,e.forEach(t=>{t.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,a,t){return this._findPluginFor(a).addEventListener(e,a,t)}getZone(){return this._zone}_findPluginFor(e){let a=this._eventNameToPlugin.get(e);if(a)return a;if(a=this._plugins.find(i=>i.supports(e)),!a)throw new l1(5101,!1);return this._eventNameToPlugin.set(e,a),a}static#e=this.\u0275fac=function(a){return new(a||c)(d1(dm),d1(C2))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();class sF{constructor(r){this._doc=r}}const um="ng-app-id";let lF=(()=>{class c{constructor(e,a,t,i={}){this.doc=e,this.appId=a,this.nonce=t,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Qw(i),this.resetHostNodes()}addStyles(e){for(const a of e)1===this.changeUsageCount(a,1)&&this.onStyleAdded(a)}removeStyles(e){for(const a of e)this.changeUsageCount(a,-1)<=0&&this.onStyleRemoved(a)}ngOnDestroy(){const e=this.styleNodesInDOM;e&&(e.forEach(a=>a.remove()),e.clear());for(const a of this.getAllStyles())this.onStyleRemoved(a);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const a of this.getAllStyles())this.addStyleToHost(e,a)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(const a of this.hostNodes)this.addStyleToHost(a,e)}onStyleRemoved(e){const a=this.styleRef;a.get(e)?.elements?.forEach(t=>t.remove()),a.delete(e)}collectServerRenderedStyles(){const e=this.doc.head?.querySelectorAll(`style[${um}="${this.appId}"]`);if(e?.length){const a=new Map;return e.forEach(t=>{null!=t.textContent&&a.set(t.textContent,t)}),a}return null}changeUsageCount(e,a){const t=this.styleRef;if(t.has(e)){const i=t.get(e);return i.usage+=a,i.usage}return t.set(e,{usage:a,elements:[]}),a}getStyleElement(e,a){const t=this.styleNodesInDOM,i=t?.get(a);if(i?.parentNode===e)return t.delete(a),i.removeAttribute(um),i;{const l=this.doc.createElement("style");return this.nonce&&l.setAttribute("nonce",this.nonce),l.textContent=a,this.platformIsServer&&l.setAttribute(um,this.appId),e.appendChild(l),l}}addStyleToHost(e,a){const t=this.getStyleElement(e,a),i=this.styleRef,l=i.get(a)?.elements;l?l.push(t):i.set(a,{elements:[t],usage:1})}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}static#e=this.\u0275fac=function(a){return new(a||c)(d1(B3),d1(so),d1(XV,8),d1(m6))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();const hm={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/MathML/"},mm=/%COMP%/g,Gb1=new H1("",{providedIn:"root",factory:()=>!0});function dF(c,r){return r.map(e=>e.replace(mm,c))}let uF=(()=>{class c{constructor(e,a,t,i,l,d,u,p=null){this.eventManager=e,this.sharedStylesHost=a,this.appId=t,this.removeStylesOnCompDestroy=i,this.doc=l,this.platformId=d,this.ngZone=u,this.nonce=p,this.rendererByCompId=new Map,this.platformIsServer=Qw(d),this.defaultRenderer=new _m(e,l,u,this.platformIsServer)}createRenderer(e,a){if(!e||!a)return this.defaultRenderer;this.platformIsServer&&a.encapsulation===l6.ShadowDom&&(a={...a,encapsulation:l6.Emulated});const t=this.getOrCreateRenderer(e,a);return t instanceof mF?t.applyToHost(e):t instanceof pm&&t.applyStyles(),t}getOrCreateRenderer(e,a){const t=this.rendererByCompId;let i=t.get(a.id);if(!i){const l=this.doc,d=this.ngZone,u=this.eventManager,p=this.sharedStylesHost,z=this.removeStylesOnCompDestroy,x=this.platformIsServer;switch(a.encapsulation){case l6.Emulated:i=new mF(u,p,a,this.appId,z,l,d,x);break;case l6.ShadowDom:return new Kb1(u,p,e,a,l,d,this.nonce,x);default:i=new pm(u,p,a,z,l,d,x)}t.set(a.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(a){return new(a||c)(d1(nF),d1(lF),d1(so),d1(Gb1),d1(B3),d1(m6),d1(C2),d1(XV))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();class _m{constructor(r,e,a,t){this.eventManager=r,this.doc=e,this.ngZone=a,this.platformIsServer=t,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(r,e){return e?this.doc.createElementNS(hm[e]||e,r):this.doc.createElement(r)}createComment(r){return this.doc.createComment(r)}createText(r){return this.doc.createTextNode(r)}appendChild(r,e){(hF(r)?r.content:r).appendChild(e)}insertBefore(r,e,a){r&&(hF(r)?r.content:r).insertBefore(e,a)}removeChild(r,e){r&&r.removeChild(e)}selectRootElement(r,e){let a="string"==typeof r?this.doc.querySelector(r):r;if(!a)throw new l1(-5104,!1);return e||(a.textContent=""),a}parentNode(r){return r.parentNode}nextSibling(r){return r.nextSibling}setAttribute(r,e,a,t){if(t){e=t+":"+e;const i=hm[t];i?r.setAttributeNS(i,e,a):r.setAttribute(e,a)}else r.setAttribute(e,a)}removeAttribute(r,e,a){if(a){const t=hm[a];t?r.removeAttributeNS(t,e):r.removeAttribute(`${a}:${e}`)}else r.removeAttribute(e)}addClass(r,e){r.classList.add(e)}removeClass(r,e){r.classList.remove(e)}setStyle(r,e,a,t){t&(qe.DashCase|qe.Important)?r.style.setProperty(e,a,t&qe.Important?"important":""):r.style[e]=a}removeStyle(r,e,a){a&qe.DashCase?r.style.removeProperty(e):r.style[e]=""}setProperty(r,e,a){null!=r&&(r[e]=a)}setValue(r,e){r.nodeValue=e}listen(r,e,a){if("string"==typeof r&&!(r=a8().getGlobalEventTarget(this.doc,r)))throw new Error(`Unsupported event target ${r} for event ${e}`);return this.eventManager.addEventListener(r,e,this.decoratePreventDefault(a))}decoratePreventDefault(r){return e=>{if("__ngUnwrap__"===e)return r;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>r(e)):r(e))&&e.preventDefault()}}}function hF(c){return"TEMPLATE"===c.tagName&&void 0!==c.content}class Kb1 extends _m{constructor(r,e,a,t,i,l,d,u){super(r,i,l,u),this.sharedStylesHost=e,this.hostEl=a,this.shadowRoot=a.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const p=dF(t.id,t.styles);for(const z of p){const x=document.createElement("style");d&&x.setAttribute("nonce",d),x.textContent=z,this.shadowRoot.appendChild(x)}}nodeOrShadowRoot(r){return r===this.hostEl?this.shadowRoot:r}appendChild(r,e){return super.appendChild(this.nodeOrShadowRoot(r),e)}insertBefore(r,e,a){return super.insertBefore(this.nodeOrShadowRoot(r),e,a)}removeChild(r,e){return super.removeChild(this.nodeOrShadowRoot(r),e)}parentNode(r){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(r)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class pm extends _m{constructor(r,e,a,t,i,l,d,u){super(r,i,l,d),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=t,this.styles=u?dF(u,a.styles):a.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class mF extends pm{constructor(r,e,a,t,i,l,d,u){const p=t+"-"+a.id;super(r,e,a,i,l,d,u,p),this.contentAttr=function qb1(c){return"_ngcontent-%COMP%".replace(mm,c)}(p),this.hostAttr=function Wb1(c){return"_nghost-%COMP%".replace(mm,c)}(p)}applyToHost(r){this.applyStyles(),this.setAttribute(r,this.hostAttr,"")}createElement(r,e){const a=super.createElement(r,e);return super.setAttribute(a,this.contentAttr,""),a}}let Qb1=(()=>{class c extends sF{constructor(e){super(e)}supports(e){return!0}addEventListener(e,a,t){return e.addEventListener(a,t,!1),()=>this.removeEventListener(e,a,t)}removeEventListener(e,a,t){return e.removeEventListener(a,t)}static#e=this.\u0275fac=function(a){return new(a||c)(d1(B3))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();const _F=["alt","control","meta","shift"],Jb1={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Xb1={alt:c=>c.altKey,control:c=>c.ctrlKey,meta:c=>c.metaKey,shift:c=>c.shiftKey};let ex1=(()=>{class c extends sF{constructor(e){super(e)}supports(e){return null!=c.parseEventName(e)}addEventListener(e,a,t){const i=c.parseEventName(a),l=c.eventCallback(i.fullKey,t,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>a8().onAndCancel(e,i.domEventName,l))}static parseEventName(e){const a=e.toLowerCase().split("."),t=a.shift();if(0===a.length||"keydown"!==t&&"keyup"!==t)return null;const i=c._normalizeKey(a.pop());let l="",d=a.indexOf("code");if(d>-1&&(a.splice(d,1),l="code."),_F.forEach(p=>{const z=a.indexOf(p);z>-1&&(a.splice(z,1),l+=p+".")}),l+=i,0!=a.length||0===i.length)return null;const u={};return u.domEventName=t,u.fullKey=l,u}static matchEventFullKeyCode(e,a){let t=Jb1[e.key]||e.key,i="";return a.indexOf("code.")>-1&&(t=e.code,i="code."),!(null==t||!t)&&(t=t.toLowerCase()," "===t?t="space":"."===t&&(t="dot"),_F.forEach(l=>{l!==t&&(0,Xb1[l])(e)&&(i+=l+".")}),i+=t,i===a)}static eventCallback(e,a,t){return i=>{c.matchEventFullKeyCode(i,e)&&t.runGuarded(()=>a(i))}}static _normalizeKey(e){return"esc"===e?"escape":e}static#e=this.\u0275fac=function(a){return new(a||c)(d1(B3))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();const tx1=Wx(tL1,"browser",[{provide:m6,useValue:Kw},{provide:JV,useValue:function cx1(){fm.makeCurrent()},multi:!0},{provide:B3,useFactory:function rx1(){return function cp1(c){Nd=c}(document),document},deps:[]}]),ix1=new H1(""),vF=[{provide:un,useClass:class Ib1{addToWindow(r){F2.getAngularTestability=(a,t=!0)=>{const i=r.findTestabilityInTree(a,t);if(null==i)throw new l1(5103,!1);return i},F2.getAllAngularTestabilities=()=>r.getAllTestabilities(),F2.getAllAngularRootElements=()=>r.getAllRootElements(),F2.frameworkStabilizers||(F2.frameworkStabilizers=[]),F2.frameworkStabilizers.push(a=>{const t=F2.getAllAngularTestabilities();let i=t.length;const l=function(){i--,0==i&&a()};t.forEach(d=>{d.whenStable(l)})})}findTestabilityInTree(r,e,a){return null==e?null:r.getTestability(e)??(a?a8().isShadowRoot(e)?this.findTestabilityInTree(r,e.host,!0):this.findTestabilityInTree(r,e.parentElement,!0):null)}},deps:[]},{provide:Px,useClass:kh,deps:[C2,Sh,un]},{provide:kh,useClass:kh,deps:[C2,Sh,un]}],HF=[{provide:p7,useValue:"root"},{provide:D0,useFactory:function ax1(){return new D0},deps:[]},{provide:dm,useClass:Qb1,multi:!0,deps:[B3,C2,m6]},{provide:dm,useClass:ex1,multi:!0,deps:[B3]},uF,lF,nF,{provide:HL,useExisting:uF},{provide:Jw,useClass:Ub1,deps:[]},[]];let ox1=(()=>{class c{constructor(e){}static withServerTransition(e){return{ngModule:c,providers:[{provide:so,useValue:e.appId}]}}static#e=this.\u0275fac=function(a){return new(a||c)(d1(ix1,12))};static#c=this.\u0275mod=M4({type:c});static#a=this.\u0275inj=g4({providers:[...HF,...vF],imports:[f0,iL1]})}return c})(),CF=(()=>{class c{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static#e=this.\u0275fac=function(a){return new(a||c)(d1(B3))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),Ar=(()=>{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:function(a){let t=null;return t=a?new(a||c):d1(fx1),t},providedIn:"root"})}return c})(),fx1=(()=>{class c extends Ar{constructor(e){super(),this._doc=e}sanitize(e,a){if(null==a)return null;switch(e){case c6.NONE:return a;case c6.HTML:return T0(a,"HTML")?_6(a):vM(this._doc,String(a)).toString();case c6.STYLE:return T0(a,"Style")?_6(a):a;case c6.SCRIPT:if(T0(a,"Script"))return _6(a);throw new l1(5200,!1);case c6.URL:return T0(a,"URL")?_6(a):vo(String(a));case c6.RESOURCE_URL:if(T0(a,"ResourceURL"))return _6(a);throw new l1(5201,!1);default:throw new l1(5202,!1)}}bypassSecurityTrustHtml(e){return function Vp1(c){return new pp1(c)}(e)}bypassSecurityTrustStyle(e){return function Mp1(c){return new gp1(c)}(e)}bypassSecurityTrustScript(e){return function Lp1(c){return new vp1(c)}(e)}bypassSecurityTrustUrl(e){return function yp1(c){return new Hp1(c)}(e)}bypassSecurityTrustResourceUrl(e){return function bp1(c){return new Cp1(c)}(e)}static#e=this.\u0275fac=function(a){return new(a||c)(d1(B3))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function LF(c){return c&&b2(c.schedule)}function gm(c){return c[c.length-1]}function yF(c){return b2(gm(c))?c.pop():void 0}function Rr(c){return LF(gm(c))?c.pop():void 0}function i8(c){return this instanceof i8?(this.v=c,this):new i8(c)}function FF(c){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,r=c[Symbol.asyncIterator];return r?r.call(c):(c=function zm(c){var r="function"==typeof Symbol&&Symbol.iterator,e=r&&c[r],a=0;if(e)return e.call(c);if(c&&"number"==typeof c.length)return{next:function(){return c&&a>=c.length&&(c=void 0),{value:c&&c[a++],done:!c}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}(c),e={},a("next"),a("throw"),a("return"),e[Symbol.asyncIterator]=function(){return this},e);function a(i){e[i]=c[i]&&function(l){return new Promise(function(d,u){!function t(i,l,d,u){Promise.resolve(u).then(function(p){i({value:p,done:d})},l)}(d,u,(l=c[i](l)).done,l.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Vm=c=>c&&"number"==typeof c.length&&"function"!=typeof c;function kF(c){return b2(c?.then)}function SF(c){return b2(c[C0])}function NF(c){return Symbol.asyncIterator&&b2(c?.[Symbol.asyncIterator])}function DF(c){return new TypeError(`You provided ${null!==c&&"object"==typeof c?"an invalid object":`'${c}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const TF=function Dx1(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function EF(c){return b2(c?.[TF])}function AF(c){return function wF(c,r,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,a=e.apply(c,r||[]),i=[];return t={},l("next"),l("throw"),l("return"),t[Symbol.asyncIterator]=function(){return this},t;function l(E){a[E]&&(t[E]=function(P){return new Promise(function(Y,Z){i.push([E,P,Y,Z])>1||d(E,P)})})}function d(E,P){try{!function u(E){E.value instanceof i8?Promise.resolve(E.value.v).then(p,z):x(i[0][2],E)}(a[E](P))}catch(Y){x(i[0][3],Y)}}function p(E){d("next",E)}function z(E){d("throw",E)}function x(E,P){E(P),i.shift(),i.length&&d(i[0][0],i[0][1])}}(this,arguments,function*(){const e=c.getReader();try{for(;;){const{value:a,done:t}=yield i8(e.read());if(t)return yield i8(void 0);yield yield i8(a)}}finally{e.releaseLock()}})}function PF(c){return b2(c?.getReader)}function I3(c){if(c instanceof l4)return c;if(null!=c){if(SF(c))return function Tx1(c){return new l4(r=>{const e=c[C0]();if(b2(e.subscribe))return e.subscribe(r);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(c);if(Vm(c))return function Ex1(c){return new l4(r=>{for(let e=0;e{c.then(e=>{r.closed||(r.next(e),r.complete())},e=>r.error(e)).then(null,ni)})}(c);if(NF(c))return RF(c);if(EF(c))return function Px1(c){return new l4(r=>{for(const e of c)if(r.next(e),r.closed)return;r.complete()})}(c);if(PF(c))return function Rx1(c){return RF(AF(c))}(c)}throw DF(c)}function RF(c){return new l4(r=>{(function Bx1(c,r){var e,a,t,i;return function bF(c,r,e,a){return new(e||(e=Promise))(function(i,l){function d(z){try{p(a.next(z))}catch(x){l(x)}}function u(z){try{p(a.throw(z))}catch(x){l(x)}}function p(z){z.done?i(z.value):function t(i){return i instanceof e?i:new e(function(l){l(i)})}(z.value).then(d,u)}p((a=a.apply(c,r||[])).next())})}(this,void 0,void 0,function*(){try{for(e=FF(c);!(a=yield e.next()).done;)if(r.next(a.value),r.closed)return}catch(l){t={error:l}}finally{try{a&&!a.done&&(i=e.return)&&(yield i.call(e))}finally{if(t)throw t.error}}r.complete()})})(c,r).catch(e=>r.error(e))})}function pe(c,r,e,a=0,t=!1){const i=r.schedule(function(){e(),t?c.add(this.schedule(null,a)):this.unsubscribe()},a);if(c.add(i),!t)return i}function BF(c,r=0){return i4((e,a)=>{e.subscribe(m2(a,t=>pe(a,c,()=>a.next(t),r),()=>pe(a,c,()=>a.complete(),r),t=>pe(a,c,()=>a.error(t),r)))})}function OF(c,r=0){return i4((e,a)=>{a.add(c.schedule(()=>e.subscribe(a),r))})}function IF(c,r){if(!c)throw new Error("Iterable cannot be null");return new l4(e=>{pe(e,r,()=>{const a=c[Symbol.asyncIterator]();pe(e,r,()=>{a.next().then(t=>{t.done?e.complete():e.next(t.value)})},0,!0)})})}function k4(c,r){return r?function Yx1(c,r){if(null!=c){if(SF(c))return function Ox1(c,r){return I3(c).pipe(OF(r),BF(r))}(c,r);if(Vm(c))return function Ux1(c,r){return new l4(e=>{let a=0;return r.schedule(function(){a===c.length?e.complete():(e.next(c[a++]),e.closed||this.schedule())})})}(c,r);if(kF(c))return function Ix1(c,r){return I3(c).pipe(OF(r),BF(r))}(c,r);if(NF(c))return IF(c,r);if(EF(c))return function jx1(c,r){return new l4(e=>{let a;return pe(e,r,()=>{a=c[TF](),pe(e,r,()=>{let t,i;try{({value:t,done:i}=a.next())}catch(l){return void e.error(l)}i?e.complete():e.next(t)},0,!0)}),()=>b2(a?.return)&&a.return()})}(c,r);if(PF(c))return function $x1(c,r){return IF(AF(c),r)}(c,r)}throw DF(c)}(c,r):I3(c)}function D1(...c){return k4(c,Rr(c))}function n3(c,r,e=1/0){return b2(r)?n3((a,t)=>X1((i,l)=>r(a,i,t,l))(I3(c(a,t))),e):("number"==typeof r&&(e=r),i4((a,t)=>function Gx1(c,r,e,a,t,i,l,d){const u=[];let p=0,z=0,x=!1;const E=()=>{x&&!u.length&&!p&&r.complete()},P=Z=>p{i&&r.next(Z),p++;let K=!1;I3(e(Z,z++)).subscribe(m2(r,J=>{t?.(J),i?P(J):r.next(J)},()=>{K=!0},void 0,()=>{if(K)try{for(p--;u.length&&pY(J)):Y(J)}E()}catch(J){r.error(J)}}))};return c.subscribe(m2(r,P,()=>{x=!0,E()})),()=>{d?.()}}(a,t,c,e)))}function o8(c,r){return b2(r)?n3(c,r,1):n3(c,1)}function d0(c,r){return i4((e,a)=>{let t=0;e.subscribe(m2(a,i=>c.call(r,i,t++)&&a.next(i)))})}function Br(c){return i4((r,e)=>{try{r.subscribe(e)}finally{e.add(c)}})}function z3(c,r){return i4((e,a)=>{let t=null,i=0,l=!1;const d=()=>l&&!t&&a.complete();e.subscribe(m2(a,u=>{t?.unsubscribe();let p=0;const z=i++;I3(c(u,z)).subscribe(t=m2(a,x=>a.next(r?r(u,x,z,p++):x),()=>{t=null,d()}))},()=>{l=!0,d()}))})}class Bn{}class On{}class z6{constructor(r){this.normalizedNames=new Map,this.lazyUpdate=null,r?"string"==typeof r?this.lazyInit=()=>{this.headers=new Map,r.split("\n").forEach(e=>{const a=e.indexOf(":");if(a>0){const t=e.slice(0,a),i=t.toLowerCase(),l=e.slice(a+1).trim();this.maybeSetNormalizedName(t,i),this.headers.has(i)?this.headers.get(i).push(l):this.headers.set(i,[l])}})}:typeof Headers<"u"&&r instanceof Headers?(this.headers=new Map,r.forEach((e,a)=>{this.setHeaderEntries(a,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(r).forEach(([e,a])=>{this.setHeaderEntries(e,a)})}:this.headers=new Map}has(r){return this.init(),this.headers.has(r.toLowerCase())}get(r){this.init();const e=this.headers.get(r.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(r){return this.init(),this.headers.get(r.toLowerCase())||null}append(r,e){return this.clone({name:r,value:e,op:"a"})}set(r,e){return this.clone({name:r,value:e,op:"s"})}delete(r,e){return this.clone({name:r,value:e,op:"d"})}maybeSetNormalizedName(r,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,r)}init(){this.lazyInit&&(this.lazyInit instanceof z6?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(r=>this.applyUpdate(r)),this.lazyUpdate=null))}copyFrom(r){r.init(),Array.from(r.headers.keys()).forEach(e=>{this.headers.set(e,r.headers.get(e)),this.normalizedNames.set(e,r.normalizedNames.get(e))})}clone(r){const e=new z6;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof z6?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([r]),e}applyUpdate(r){const e=r.name.toLowerCase();switch(r.op){case"a":case"s":let a=r.value;if("string"==typeof a&&(a=[a]),0===a.length)return;this.maybeSetNormalizedName(r.name,e);const t=("a"===r.op?this.headers.get(e):void 0)||[];t.push(...a),this.headers.set(e,t);break;case"d":const i=r.value;if(i){let l=this.headers.get(e);if(!l)return;l=l.filter(d=>-1===i.indexOf(d)),0===l.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,l)}else this.headers.delete(e),this.normalizedNames.delete(e)}}setHeaderEntries(r,e){const a=(Array.isArray(e)?e:[e]).map(i=>i.toString()),t=r.toLowerCase();this.headers.set(t,a),this.maybeSetNormalizedName(r,t)}forEach(r){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>r(this.normalizedNames.get(e),this.headers.get(e)))}}class qx1{encodeKey(r){return UF(r)}encodeValue(r){return UF(r)}decodeKey(r){return decodeURIComponent(r)}decodeValue(r){return decodeURIComponent(r)}}const Zx1=/%(\d[a-f0-9])/gi,Kx1={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function UF(c){return encodeURIComponent(c).replace(Zx1,(r,e)=>Kx1[e]??r)}function In(c){return`${c}`}class n8{constructor(r={}){if(this.updates=null,this.cloneFrom=null,this.encoder=r.encoder||new qx1,r.fromString){if(r.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Wx1(c,r){const e=new Map;return c.length>0&&c.replace(/^\?/,"").split("&").forEach(t=>{const i=t.indexOf("="),[l,d]=-1==i?[r.decodeKey(t),""]:[r.decodeKey(t.slice(0,i)),r.decodeValue(t.slice(i+1))],u=e.get(l)||[];u.push(d),e.set(l,u)}),e}(r.fromString,this.encoder)}else r.fromObject?(this.map=new Map,Object.keys(r.fromObject).forEach(e=>{const a=r.fromObject[e],t=Array.isArray(a)?a.map(In):[In(a)];this.map.set(e,t)})):this.map=null}has(r){return this.init(),this.map.has(r)}get(r){this.init();const e=this.map.get(r);return e?e[0]:null}getAll(r){return this.init(),this.map.get(r)||null}keys(){return this.init(),Array.from(this.map.keys())}append(r,e){return this.clone({param:r,value:e,op:"a"})}appendAll(r){const e=[];return Object.keys(r).forEach(a=>{const t=r[a];Array.isArray(t)?t.forEach(i=>{e.push({param:a,value:i,op:"a"})}):e.push({param:a,value:t,op:"a"})}),this.clone(e)}set(r,e){return this.clone({param:r,value:e,op:"s"})}delete(r,e){return this.clone({param:r,value:e,op:"d"})}toString(){return this.init(),this.keys().map(r=>{const e=this.encoder.encodeKey(r);return this.map.get(r).map(a=>e+"="+this.encoder.encodeValue(a)).join("&")}).filter(r=>""!==r).join("&")}clone(r){const e=new n8({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(r),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(r=>this.map.set(r,this.cloneFrom.map.get(r))),this.updates.forEach(r=>{switch(r.op){case"a":case"s":const e=("a"===r.op?this.map.get(r.param):void 0)||[];e.push(In(r.value)),this.map.set(r.param,e);break;case"d":if(void 0===r.value){this.map.delete(r.param);break}{let a=this.map.get(r.param)||[];const t=a.indexOf(In(r.value));-1!==t&&a.splice(t,1),a.length>0?this.map.set(r.param,a):this.map.delete(r.param)}}}),this.cloneFrom=this.updates=null)}}class Qx1{constructor(){this.map=new Map}set(r,e){return this.map.set(r,e),this}get(r){return this.map.has(r)||this.map.set(r,r.defaultValue()),this.map.get(r)}delete(r){return this.map.delete(r),this}has(r){return this.map.has(r)}keys(){return this.map.keys()}}function jF(c){return typeof ArrayBuffer<"u"&&c instanceof ArrayBuffer}function $F(c){return typeof Blob<"u"&&c instanceof Blob}function YF(c){return typeof FormData<"u"&&c instanceof FormData}class Or{constructor(r,e,a,t){let i;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=r.toUpperCase(),function Jx1(c){switch(c){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||t?(this.body=void 0!==a?a:null,i=t):i=a,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new z6,this.context??=new Qx1,this.params){const l=this.params.toString();if(0===l.length)this.urlWithParams=e;else{const d=e.indexOf("?");this.urlWithParams=e+(-1===d?"?":dE.set(P,r.setHeaders[P]),p)),r.setParams&&(z=Object.keys(r.setParams).reduce((E,P)=>E.set(P,r.setParams[P]),z)),new Or(e,a,l,{params:z,headers:p,context:x,reportProgress:u,responseType:t,withCredentials:d,transferCache:i})}}var s8=function(c){return c[c.Sent=0]="Sent",c[c.UploadProgress=1]="UploadProgress",c[c.ResponseHeader=2]="ResponseHeader",c[c.DownloadProgress=3]="DownloadProgress",c[c.Response=4]="Response",c[c.User=5]="User",c}(s8||{});class Mm{constructor(r,e=Ir.Ok,a="OK"){this.headers=r.headers||new z6,this.status=void 0!==r.status?r.status:e,this.statusText=r.statusText||a,this.url=r.url||null,this.ok=this.status>=200&&this.status<300}}class Un extends Mm{constructor(r={}){super(r),this.type=s8.ResponseHeader}clone(r={}){return new Un({headers:r.headers||this.headers,status:void 0!==r.status?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}}class o5 extends Mm{constructor(r={}){super(r),this.type=s8.Response,this.body=void 0!==r.body?r.body:null}clone(r={}){return new o5({body:void 0!==r.body?r.body:this.body,headers:r.headers||this.headers,status:void 0!==r.status?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}}class ca extends Mm{constructor(r){super(r,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${r.url||"(unknown url)"}`:`Http failure response for ${r.url||"(unknown url)"}: ${r.status} ${r.statusText}`,this.error=r.error||null}}var Ir=function(c){return c[c.Continue=100]="Continue",c[c.SwitchingProtocols=101]="SwitchingProtocols",c[c.Processing=102]="Processing",c[c.EarlyHints=103]="EarlyHints",c[c.Ok=200]="Ok",c[c.Created=201]="Created",c[c.Accepted=202]="Accepted",c[c.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",c[c.NoContent=204]="NoContent",c[c.ResetContent=205]="ResetContent",c[c.PartialContent=206]="PartialContent",c[c.MultiStatus=207]="MultiStatus",c[c.AlreadyReported=208]="AlreadyReported",c[c.ImUsed=226]="ImUsed",c[c.MultipleChoices=300]="MultipleChoices",c[c.MovedPermanently=301]="MovedPermanently",c[c.Found=302]="Found",c[c.SeeOther=303]="SeeOther",c[c.NotModified=304]="NotModified",c[c.UseProxy=305]="UseProxy",c[c.Unused=306]="Unused",c[c.TemporaryRedirect=307]="TemporaryRedirect",c[c.PermanentRedirect=308]="PermanentRedirect",c[c.BadRequest=400]="BadRequest",c[c.Unauthorized=401]="Unauthorized",c[c.PaymentRequired=402]="PaymentRequired",c[c.Forbidden=403]="Forbidden",c[c.NotFound=404]="NotFound",c[c.MethodNotAllowed=405]="MethodNotAllowed",c[c.NotAcceptable=406]="NotAcceptable",c[c.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",c[c.RequestTimeout=408]="RequestTimeout",c[c.Conflict=409]="Conflict",c[c.Gone=410]="Gone",c[c.LengthRequired=411]="LengthRequired",c[c.PreconditionFailed=412]="PreconditionFailed",c[c.PayloadTooLarge=413]="PayloadTooLarge",c[c.UriTooLong=414]="UriTooLong",c[c.UnsupportedMediaType=415]="UnsupportedMediaType",c[c.RangeNotSatisfiable=416]="RangeNotSatisfiable",c[c.ExpectationFailed=417]="ExpectationFailed",c[c.ImATeapot=418]="ImATeapot",c[c.MisdirectedRequest=421]="MisdirectedRequest",c[c.UnprocessableEntity=422]="UnprocessableEntity",c[c.Locked=423]="Locked",c[c.FailedDependency=424]="FailedDependency",c[c.TooEarly=425]="TooEarly",c[c.UpgradeRequired=426]="UpgradeRequired",c[c.PreconditionRequired=428]="PreconditionRequired",c[c.TooManyRequests=429]="TooManyRequests",c[c.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",c[c.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",c[c.InternalServerError=500]="InternalServerError",c[c.NotImplemented=501]="NotImplemented",c[c.BadGateway=502]="BadGateway",c[c.ServiceUnavailable=503]="ServiceUnavailable",c[c.GatewayTimeout=504]="GatewayTimeout",c[c.HttpVersionNotSupported=505]="HttpVersionNotSupported",c[c.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",c[c.InsufficientStorage=507]="InsufficientStorage",c[c.LoopDetected=508]="LoopDetected",c[c.NotExtended=510]="NotExtended",c[c.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",c}(Ir||{});function Lm(c,r){return{body:r,headers:c.headers,context:c.context,observe:c.observe,params:c.params,reportProgress:c.reportProgress,responseType:c.responseType,withCredentials:c.withCredentials,transferCache:c.transferCache}}let U3=(()=>{class c{constructor(e){this.handler=e}request(e,a,t={}){let i;if(e instanceof Or)i=e;else{let u,p;u=t.headers instanceof z6?t.headers:new z6(t.headers),t.params&&(p=t.params instanceof n8?t.params:new n8({fromObject:t.params})),i=new Or(e,a,void 0!==t.body?t.body:null,{headers:u,context:t.context,params:p,reportProgress:t.reportProgress,responseType:t.responseType||"json",withCredentials:t.withCredentials,transferCache:t.transferCache})}const l=D1(i).pipe(o8(u=>this.handler.handle(u)));if(e instanceof Or||"events"===t.observe)return l;const d=l.pipe(d0(u=>u instanceof o5));switch(t.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return d.pipe(X1(u=>{if(null!==u.body&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return d.pipe(X1(u=>{if(null!==u.body&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return d.pipe(X1(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return d.pipe(X1(u=>u.body))}case"response":return d;default:throw new Error(`Unreachable: unhandled observe type ${t.observe}}`)}}delete(e,a={}){return this.request("DELETE",e,a)}get(e,a={}){return this.request("GET",e,a)}head(e,a={}){return this.request("HEAD",e,a)}jsonp(e,a){return this.request("JSONP",e,{params:(new n8).append(a,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,a={}){return this.request("OPTIONS",e,a)}patch(e,a,t={}){return this.request("PATCH",e,Lm(t,a))}post(e,a,t={}){return this.request("POST",e,Lm(t,a))}put(e,a,t={}){return this.request("PUT",e,Lm(t,a))}static#e=this.\u0275fac=function(a){return new(a||c)(d1(Bn))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();function qF(c,r){return r(c)}function tw1(c,r){return(e,a)=>r.intercept(e,{handle:t=>c(t,a)})}const WF=new H1(""),Ur=new H1(""),ZF=new H1(""),KF=new H1("");function ow1(){let c=null;return(r,e)=>{null===c&&(c=(i1(WF,{optional:!0})??[]).reduceRight(tw1,qF));const a=i1(Ke),t=a.add();return c(r,e).pipe(Br(()=>a.remove(t)))}}let QF=(()=>{class c extends Bn{constructor(e,a){super(),this.backend=e,this.injector=a,this.chain=null,this.pendingTasks=i1(Ke);const t=i1(KF,{optional:!0});this.backend=t??e}handle(e){if(null===this.chain){const t=Array.from(new Set([...this.injector.get(Ur),...this.injector.get(ZF,[])]));this.chain=t.reduceRight((i,l)=>function iw1(c,r,e){return(a,t)=>N3(e,()=>r(a,i=>c(i,t)))}(i,l,this.injector),qF)}const a=this.pendingTasks.add();return this.chain(e,t=>this.backend.handle(t)).pipe(Br(()=>this.pendingTasks.remove(a)))}static#e=this.\u0275fac=function(a){return new(a||c)(d1(On),d1(p3))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();const dw1=/^\)\]\}',?\n/;let XF=(()=>{class c{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new l1(-2800,!1);const a=this.xhrFactory;return(a.\u0275loadImpl?k4(a.\u0275loadImpl()):D1(null)).pipe(z3(()=>new l4(i=>{const l=a.build();if(l.open(e.method,e.urlWithParams),e.withCredentials&&(l.withCredentials=!0),e.headers.forEach((Z,K)=>l.setRequestHeader(Z,K.join(","))),e.headers.has("Accept")||l.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const Z=e.detectContentTypeHeader();null!==Z&&l.setRequestHeader("Content-Type",Z)}if(e.responseType){const Z=e.responseType.toLowerCase();l.responseType="json"!==Z?Z:"text"}const d=e.serializeBody();let u=null;const p=()=>{if(null!==u)return u;const Z=l.statusText||"OK",K=new z6(l.getAllResponseHeaders()),J=function uw1(c){return"responseURL"in c&&c.responseURL?c.responseURL:/^X-Request-URL:/m.test(c.getAllResponseHeaders())?c.getResponseHeader("X-Request-URL"):null}(l)||e.url;return u=new Un({headers:K,status:l.status,statusText:Z,url:J}),u},z=()=>{let{headers:Z,status:K,statusText:J,url:X}=p(),n1=null;K!==Ir.NoContent&&(n1=typeof l.response>"u"?l.responseText:l.response),0===K&&(K=n1?Ir.Ok:0);let h1=K>=200&&K<300;if("json"===e.responseType&&"string"==typeof n1){const C1=n1;n1=n1.replace(dw1,"");try{n1=""!==n1?JSON.parse(n1):null}catch(x1){n1=C1,h1&&(h1=!1,n1={error:x1,text:n1})}}h1?(i.next(new o5({body:n1,headers:Z,status:K,statusText:J,url:X||void 0})),i.complete()):i.error(new ca({error:n1,headers:Z,status:K,statusText:J,url:X||void 0}))},x=Z=>{const{url:K}=p(),J=new ca({error:Z,status:l.status||0,statusText:l.statusText||"Unknown Error",url:K||void 0});i.error(J)};let E=!1;const P=Z=>{E||(i.next(p()),E=!0);let K={type:s8.DownloadProgress,loaded:Z.loaded};Z.lengthComputable&&(K.total=Z.total),"text"===e.responseType&&l.responseText&&(K.partialText=l.responseText),i.next(K)},Y=Z=>{let K={type:s8.UploadProgress,loaded:Z.loaded};Z.lengthComputable&&(K.total=Z.total),i.next(K)};return l.addEventListener("load",z),l.addEventListener("error",x),l.addEventListener("timeout",x),l.addEventListener("abort",x),e.reportProgress&&(l.addEventListener("progress",P),null!==d&&l.upload&&l.upload.addEventListener("progress",Y)),l.send(d),i.next({type:s8.Sent}),()=>{l.removeEventListener("error",x),l.removeEventListener("abort",x),l.removeEventListener("load",z),l.removeEventListener("timeout",x),e.reportProgress&&(l.removeEventListener("progress",P),null!==d&&l.upload&&l.upload.removeEventListener("progress",Y)),l.readyState!==l.DONE&&l.abort()}})))}static#e=this.\u0275fac=function(a){return new(a||c)(d1(Jw))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();const xm=new H1(""),ek=new H1("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),ck=new H1("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class ak{}let _w1=(()=>{class c{constructor(e,a,t){this.doc=e,this.platform=a,this.cookieName=t,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Uw(e,this.cookieName),this.lastCookieString=e),this.lastToken}static#e=this.\u0275fac=function(a){return new(a||c)(d1(B3),d1(m6),d1(ek))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();function pw1(c,r){const e=c.url.toLowerCase();if(!i1(xm)||"GET"===c.method||"HEAD"===c.method||e.startsWith("http://")||e.startsWith("https://"))return r(c);const a=i1(ak).getToken(),t=i1(ck);return null!=a&&!c.headers.has(t)&&(c=c.clone({headers:c.headers.set(t,a)})),r(c)}var l8=function(c){return c[c.Interceptors=0]="Interceptors",c[c.LegacyInterceptors=1]="LegacyInterceptors",c[c.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",c[c.NoXsrfProtection=3]="NoXsrfProtection",c[c.JsonpSupport=4]="JsonpSupport",c[c.RequestsMadeViaParent=5]="RequestsMadeViaParent",c[c.Fetch=6]="Fetch",c}(l8||{});function gw1(...c){const r=[U3,XF,QF,{provide:Bn,useExisting:QF},{provide:On,useExisting:XF},{provide:Ur,useValue:pw1,multi:!0},{provide:xm,useValue:!0},{provide:ak,useClass:_w1}];for(const e of c)r.push(...e.\u0275providers);return J6(r)}const rk=new H1("");function vw1(){return function n5(c,r){return{\u0275kind:c,\u0275providers:r}}(l8.LegacyInterceptors,[{provide:rk,useFactory:ow1},{provide:Ur,useExisting:rk,multi:!0}])}let tk=(()=>{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275mod=M4({type:c});static#a=this.\u0275inj=g4({providers:[gw1(vw1())]})}return c})();const yw1=function(){function c(r,e){void 0===e&&(e=[]),this._eventType=r,this._eventFunctions=e}return c.prototype.init=function(){var r=this;this._eventFunctions.forEach(function(e){typeof window<"u"&&window.addEventListener(r._eventType,e)})},c}();var $n=function(){return $n=Object.assign||function(c){for(var r,e=1,a=arguments.length;e"u")&&(c instanceof V6(c).ShadowRoot||c instanceof ShadowRoot)}typeof window<"u"&&(window.Dismiss=gk,window.initDismisses=Sm);var f5=Math.max,Zn=Math.min,aa=Math.round;function Dm(){var c=navigator.userAgentData;return null!=c&&c.brands&&Array.isArray(c.brands)?c.brands.map(function(r){return r.brand+"/"+r.version}).join(" "):navigator.userAgent}function vk(){return!/^((?!chrome|android).)*safari/i.test(Dm())}function ra(c,r,e){void 0===r&&(r=!1),void 0===e&&(e=!1);var a=c.getBoundingClientRect(),t=1,i=1;r&&B6(c)&&(t=c.offsetWidth>0&&aa(a.width)/c.offsetWidth||1,i=c.offsetHeight>0&&aa(a.height)/c.offsetHeight||1);var d=(l5(c)?V6(c):window).visualViewport,u=!vk()&&e,p=(a.left+(u&&d?d.offsetLeft:0))/t,z=(a.top+(u&&d?d.offsetTop:0))/i,x=a.width/t,E=a.height/i;return{width:x,height:E,top:z,right:p+x,bottom:z+E,left:p,x:p,y:z}}function Tm(c){var r=V6(c);return{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function O0(c){return c?(c.nodeName||"").toLowerCase():null}function f8(c){return((l5(c)?c.ownerDocument:c.document)||window.document).documentElement}function Em(c){return ra(f8(c)).left+Tm(c).scrollLeft}function ge(c){return V6(c).getComputedStyle(c)}function Am(c){var r=ge(c);return/auto|scroll|overlay|hidden/.test(r.overflow+r.overflowY+r.overflowX)}function Fw1(c,r,e){void 0===e&&(e=!1);var a=B6(r),t=B6(r)&&function ww1(c){var r=c.getBoundingClientRect(),e=aa(r.width)/c.offsetWidth||1,a=aa(r.height)/c.offsetHeight||1;return 1!==e||1!==a}(r),i=f8(r),l=ra(c,t,e),d={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(a||!a&&!e)&&(("body"!==O0(r)||Am(i))&&(d=function xw1(c){return c!==V6(c)&&B6(c)?function bw1(c){return{scrollLeft:c.scrollLeft,scrollTop:c.scrollTop}}(c):Tm(c)}(r)),B6(r)?((u=ra(r,!0)).x+=r.clientLeft,u.y+=r.clientTop):i&&(u.x=Em(i))),{x:l.left+d.scrollLeft-u.x,y:l.top+d.scrollTop-u.y,width:l.width,height:l.height}}function Pm(c){var r=ra(c),e=c.offsetWidth,a=c.offsetHeight;return Math.abs(r.width-e)<=1&&(e=r.width),Math.abs(r.height-a)<=1&&(a=r.height),{x:c.offsetLeft,y:c.offsetTop,width:e,height:a}}function Kn(c){return"html"===O0(c)?c:c.assignedSlot||c.parentNode||(Nm(c)?c.host:null)||f8(c)}function Hk(c){return["html","body","#document"].indexOf(O0(c))>=0?c.ownerDocument.body:B6(c)&&Am(c)?c:Hk(Kn(c))}function jr(c,r){var e;void 0===r&&(r=[]);var a=Hk(c),t=a===(null==(e=c.ownerDocument)?void 0:e.body),i=V6(a),l=t?[i].concat(i.visualViewport||[],Am(a)?a:[]):a,d=r.concat(l);return t?d:d.concat(jr(Kn(l)))}function kw1(c){return["table","td","th"].indexOf(O0(c))>=0}function Ck(c){return B6(c)&&"fixed"!==ge(c).position?c.offsetParent:null}function $r(c){for(var r=V6(c),e=Ck(c);e&&kw1(e)&&"static"===ge(e).position;)e=Ck(e);return e&&("html"===O0(e)||"body"===O0(e)&&"static"===ge(e).position)?r:e||function Sw1(c){var r=/firefox/i.test(Dm());if(/Trident/i.test(Dm())&&B6(c)&&"fixed"===ge(c).position)return null;var t=Kn(c);for(Nm(t)&&(t=t.host);B6(t)&&["html","body"].indexOf(O0(t))<0;){var i=ge(t);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||r&&"filter"===i.willChange||r&&i.filter&&"none"!==i.filter)return t;t=t.parentNode}return null}(c)||r}var i6="top",O6="bottom",I6="right",o6="left",Rm="auto",Yr=[i6,O6,I6,o6],ta="start",Gr="end",zk="viewport",qr="popper",Vk=Yr.reduce(function(c,r){return c.concat([r+"-"+ta,r+"-"+Gr])},[]),Mk=[].concat(Yr,[Rm]).reduce(function(c,r){return c.concat([r,r+"-"+ta,r+"-"+Gr])},[]),jw1=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function $w1(c){var r=new Map,e=new Set,a=[];function t(i){e.add(i.name),[].concat(i.requires||[],i.requiresIfExists||[]).forEach(function(d){if(!e.has(d)){var u=r.get(d);u&&t(u)}}),a.push(i)}return c.forEach(function(i){r.set(i.name,i)}),c.forEach(function(i){e.has(i.name)||t(i)}),a}function Gw1(c){var r;return function(){return r||(r=new Promise(function(e){Promise.resolve().then(function(){r=void 0,e(c())})})),r}}var Lk={placement:"bottom",modifiers:[],strategy:"absolute"};function yk(){for(var c=arguments.length,r=new Array(c),e=0;e=0?"x":"y"}function bk(c){var u,r=c.reference,e=c.element,a=c.placement,t=a?I0(a):null,i=a?ia(a):null,l=r.x+r.width/2-e.width/2,d=r.y+r.height/2-e.height/2;switch(t){case i6:u={x:l,y:r.y-e.height};break;case O6:u={x:l,y:r.y+r.height};break;case I6:u={x:r.x+r.width,y:d};break;case o6:u={x:r.x-e.width,y:d};break;default:u={x:r.x,y:r.y}}var p=t?Bm(t):null;if(null!=p){var z="y"===p?"height":"width";switch(i){case ta:u[p]=u[p]-(r[z]/2-e[z]/2);break;case Gr:u[p]=u[p]+(r[z]/2-e[z]/2)}}return u}var Xw1={top:"auto",right:"auto",bottom:"auto",left:"auto"};function xk(c){var r,e=c.popper,a=c.popperRect,t=c.placement,i=c.variation,l=c.offsets,d=c.position,u=c.gpuAcceleration,p=c.adaptive,z=c.roundOffsets,x=c.isFixed,E=l.x,P=void 0===E?0:E,Y=l.y,Z=void 0===Y?0:Y,K="function"==typeof z?z({x:P,y:Z}):{x:P,y:Z};P=K.x,Z=K.y;var J=l.hasOwnProperty("x"),X=l.hasOwnProperty("y"),n1=o6,h1=i6,C1=window;if(p){var x1=$r(e),K1="clientHeight",x2="clientWidth";x1===V6(e)&&"static"!==ge(x1=f8(e)).position&&"absolute"===d&&(K1="scrollHeight",x2="scrollWidth"),(t===i6||(t===o6||t===I6)&&i===Gr)&&(h1=O6,Z-=(x&&x1===C1&&C1.visualViewport?C1.visualViewport.height:x1[K1])-a.height,Z*=u?1:-1),t!==o6&&(t!==i6&&t!==O6||i!==Gr)||(n1=I6,P-=(x&&x1===C1&&C1.visualViewport?C1.visualViewport.width:x1[x2])-a.width,P*=u?1:-1)}var q3,y3=Object.assign({position:d},p&&Xw1),g0=!0===z?function eF1(c,r){var a=c.y,t=r.devicePixelRatio||1;return{x:aa(c.x*t)/t||0,y:aa(a*t)/t||0}}({x:P,y:Z},V6(e)):{x:P,y:Z};return P=g0.x,Z=g0.y,Object.assign({},y3,u?((q3={})[h1]=X?"0":"",q3[n1]=J?"0":"",q3.transform=(C1.devicePixelRatio||1)<=1?"translate("+P+"px, "+Z+"px)":"translate3d("+P+"px, "+Z+"px, 0)",q3):((r={})[h1]=X?Z+"px":"",r[n1]=J?P+"px":"",r.transform="",r))}var lF1={left:"right",right:"left",bottom:"top",top:"bottom"};function Jn(c){return c.replace(/left|right|bottom|top/g,function(r){return lF1[r]})}var fF1={start:"end",end:"start"};function wk(c){return c.replace(/start|end/g,function(r){return fF1[r]})}function Fk(c,r){var e=r.getRootNode&&r.getRootNode();if(c.contains(r))return!0;if(e&&Nm(e)){var a=r;do{if(a&&c.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}function Om(c){return Object.assign({},c,{left:c.x,top:c.y,right:c.x+c.width,bottom:c.y+c.height})}function kk(c,r,e){return r===zk?Om(function dF1(c,r){var e=V6(c),a=f8(c),t=e.visualViewport,i=a.clientWidth,l=a.clientHeight,d=0,u=0;if(t){i=t.width,l=t.height;var p=vk();(p||!p&&"fixed"===r)&&(d=t.offsetLeft,u=t.offsetTop)}return{width:i,height:l,x:d+Em(c),y:u}}(c,e)):l5(r)?function hF1(c,r){var e=ra(c,!1,"fixed"===r);return e.top=e.top+c.clientTop,e.left=e.left+c.clientLeft,e.bottom=e.top+c.clientHeight,e.right=e.left+c.clientWidth,e.width=c.clientWidth,e.height=c.clientHeight,e.x=e.left,e.y=e.top,e}(r,e):Om(function uF1(c){var r,e=f8(c),a=Tm(c),t=null==(r=c.ownerDocument)?void 0:r.body,i=f5(e.scrollWidth,e.clientWidth,t?t.scrollWidth:0,t?t.clientWidth:0),l=f5(e.scrollHeight,e.clientHeight,t?t.scrollHeight:0,t?t.clientHeight:0),d=-a.scrollLeft+Em(c),u=-a.scrollTop;return"rtl"===ge(t||e).direction&&(d+=f5(e.clientWidth,t?t.clientWidth:0)-i),{width:i,height:l,x:d,y:u}}(f8(c)))}function Nk(c){return Object.assign({},{top:0,right:0,bottom:0,left:0},c)}function Dk(c,r){return r.reduce(function(e,a){return e[a]=c,e},{})}function Wr(c,r){void 0===r&&(r={});var a=r.placement,t=void 0===a?c.placement:a,i=r.strategy,l=void 0===i?c.strategy:i,d=r.boundary,u=void 0===d?"clippingParents":d,p=r.rootBoundary,z=void 0===p?zk:p,x=r.elementContext,E=void 0===x?qr:x,P=r.altBoundary,Y=void 0!==P&&P,Z=r.padding,K=void 0===Z?0:Z,J=Nk("number"!=typeof K?K:Dk(K,Yr)),n1=c.rects.popper,h1=c.elements[Y?E===qr?"reference":qr:E],C1=function _F1(c,r,e,a){var t="clippingParents"===r?function mF1(c){var r=jr(Kn(c)),a=["absolute","fixed"].indexOf(ge(c).position)>=0&&B6(c)?$r(c):c;return l5(a)?r.filter(function(t){return l5(t)&&Fk(t,a)&&"body"!==O0(t)}):[]}(c):[].concat(r),i=[].concat(t,[e]),d=i.reduce(function(u,p){var z=kk(c,p,a);return u.top=f5(z.top,u.top),u.right=Zn(z.right,u.right),u.bottom=Zn(z.bottom,u.bottom),u.left=f5(z.left,u.left),u},kk(c,i[0],a));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}(l5(h1)?h1:h1.contextElement||f8(c.elements.popper),u,z,l),x1=ra(c.elements.reference),K1=bk({reference:x1,element:n1,strategy:"absolute",placement:t}),x2=Om(Object.assign({},n1,K1)),U2=E===qr?x2:x1,p4={top:C1.top-U2.top+J.top,bottom:U2.bottom-C1.bottom+J.bottom,left:C1.left-U2.left+J.left,right:U2.right-C1.right+J.right},y3=c.modifiersData.offset;if(E===qr&&y3){var g0=y3[t];Object.keys(p4).forEach(function(q3){var L5=[I6,O6].indexOf(q3)>=0?1:-1,y5=[i6,O6].indexOf(q3)>=0?"y":"x";p4[q3]+=g0[y5]*L5})}return p4}function Zr(c,r,e){return f5(c,Zn(r,e))}function Tk(c,r,e){return void 0===e&&(e={x:0,y:0}),{top:c.top-r.height-e.y,right:c.right-r.width+e.x,bottom:c.bottom-r.height+e.y,left:c.left-r.width-e.x}}function Ek(c){return[i6,I6,O6,o6].some(function(r){return c[r]>=0})}var Im=Ww1({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function Zw1(c){var r=c.state,e=c.instance,a=c.options,t=a.scroll,i=void 0===t||t,l=a.resize,d=void 0===l||l,u=V6(r.elements.popper),p=[].concat(r.scrollParents.reference,r.scrollParents.popper);return i&&p.forEach(function(z){z.addEventListener("scroll",e.update,Qn)}),d&&u.addEventListener("resize",e.update,Qn),function(){i&&p.forEach(function(z){z.removeEventListener("scroll",e.update,Qn)}),d&&u.removeEventListener("resize",e.update,Qn)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function Qw1(c){var r=c.state;r.modifiersData[c.name]=bk({reference:r.rects.reference,element:r.rects.popper,strategy:"absolute",placement:r.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function cF1(c){var r=c.state,e=c.options,a=e.gpuAcceleration,t=void 0===a||a,i=e.adaptive,l=void 0===i||i,d=e.roundOffsets,u=void 0===d||d,p={placement:I0(r.placement),variation:ia(r.placement),popper:r.elements.popper,popperRect:r.rects.popper,gpuAcceleration:t,isFixed:"fixed"===r.options.strategy};null!=r.modifiersData.popperOffsets&&(r.styles.popper=Object.assign({},r.styles.popper,xk(Object.assign({},p,{offsets:r.modifiersData.popperOffsets,position:r.options.strategy,adaptive:l,roundOffsets:u})))),null!=r.modifiersData.arrow&&(r.styles.arrow=Object.assign({},r.styles.arrow,xk(Object.assign({},p,{offsets:r.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-placement":r.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function rF1(c){var r=c.state;Object.keys(r.elements).forEach(function(e){var a=r.styles[e]||{},t=r.attributes[e]||{},i=r.elements[e];!B6(i)||!O0(i)||(Object.assign(i.style,a),Object.keys(t).forEach(function(l){var d=t[l];!1===d?i.removeAttribute(l):i.setAttribute(l,!0===d?"":d)}))})},effect:function tF1(c){var r=c.state,e={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(r.elements.popper.style,e.popper),r.styles=e,r.elements.arrow&&Object.assign(r.elements.arrow.style,e.arrow),function(){Object.keys(r.elements).forEach(function(a){var t=r.elements[a],i=r.attributes[a]||{},d=Object.keys(r.styles.hasOwnProperty(a)?r.styles[a]:e[a]).reduce(function(u,p){return u[p]="",u},{});!B6(t)||!O0(t)||(Object.assign(t.style,d),Object.keys(i).forEach(function(u){t.removeAttribute(u)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function nF1(c){var r=c.state,a=c.name,t=c.options.offset,i=void 0===t?[0,0]:t,l=Mk.reduce(function(z,x){return z[x]=function oF1(c,r,e){var a=I0(c),t=[o6,i6].indexOf(a)>=0?-1:1,i="function"==typeof e?e(Object.assign({},r,{placement:c})):e,l=i[0],d=i[1];return l=l||0,d=(d||0)*t,[o6,I6].indexOf(a)>=0?{x:d,y:l}:{x:l,y:d}}(x,r.rects,i),z},{}),d=l[r.placement],p=d.y;null!=r.modifiersData.popperOffsets&&(r.modifiersData.popperOffsets.x+=d.x,r.modifiersData.popperOffsets.y+=p),r.modifiersData[a]=l}},{name:"flip",enabled:!0,phase:"main",fn:function vF1(c){var r=c.state,e=c.options,a=c.name;if(!r.modifiersData[a]._skip){for(var t=e.mainAxis,i=void 0===t||t,l=e.altAxis,d=void 0===l||l,u=e.fallbackPlacements,p=e.padding,z=e.boundary,x=e.rootBoundary,E=e.altBoundary,P=e.flipVariations,Y=void 0===P||P,Z=e.allowedAutoPlacements,K=r.options.placement,J=I0(K),n1=u||(J!==K&&Y?function gF1(c){if(I0(c)===Rm)return[];var r=Jn(c);return[wk(c),r,wk(r)]}(K):[Jn(K)]),h1=[K].concat(n1).reduce(function(Ia,F8){return Ia.concat(I0(F8)===Rm?function pF1(c,r){void 0===r&&(r={});var t=r.boundary,i=r.rootBoundary,l=r.padding,d=r.flipVariations,u=r.allowedAutoPlacements,p=void 0===u?Mk:u,z=ia(r.placement),x=z?d?Vk:Vk.filter(function(Y){return ia(Y)===z}):Yr,E=x.filter(function(Y){return p.indexOf(Y)>=0});0===E.length&&(E=x);var P=E.reduce(function(Y,Z){return Y[Z]=Wr(c,{placement:Z,boundary:t,rootBoundary:i,padding:l})[I0(Z)],Y},{});return Object.keys(P).sort(function(Y,Z){return P[Y]-P[Z]})}(r,{placement:F8,boundary:z,rootBoundary:x,padding:p,flipVariations:Y,allowedAutoPlacements:Z}):F8)},[]),C1=r.rects.reference,x1=r.rects.popper,K1=new Map,x2=!0,U2=h1[0],p4=0;p4=0,y5=L5?"width":"height",k6=Wr(r,{placement:y3,boundary:z,rootBoundary:x,altBoundary:E,padding:p}),v0=L5?q3?I6:o6:q3?O6:i6;C1[y5]>x1[y5]&&(v0=Jn(v0));var Ql=Jn(v0),b5=[];if(i&&b5.push(k6[g0]<=0),d&&b5.push(k6[v0]<=0,k6[Ql]<=0),b5.every(function(Ia){return Ia})){U2=y3,x2=!1;break}K1.set(y3,b5)}if(x2)for(var hz=function(F8){var ei=h1.find(function(ef){var x5=K1.get(ef);if(x5)return x5.slice(0,F8).every(function(mz){return mz})});if(ei)return U2=ei,"break"},Xt=Y?3:1;Xt>0&&"break"!==hz(Xt);Xt--);r.placement!==U2&&(r.modifiersData[a]._skip=!0,r.placement=U2,r.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function VF1(c){var r=c.state,e=c.options,a=c.name,t=e.mainAxis,i=void 0===t||t,l=e.altAxis,d=void 0!==l&&l,E=e.tether,P=void 0===E||E,Y=e.tetherOffset,Z=void 0===Y?0:Y,K=Wr(r,{boundary:e.boundary,rootBoundary:e.rootBoundary,padding:e.padding,altBoundary:e.altBoundary}),J=I0(r.placement),X=ia(r.placement),n1=!X,h1=Bm(J),C1=function CF1(c){return"x"===c?"y":"x"}(h1),x1=r.modifiersData.popperOffsets,K1=r.rects.reference,x2=r.rects.popper,U2="function"==typeof Z?Z(Object.assign({},r.rects,{placement:r.placement})):Z,p4="number"==typeof U2?{mainAxis:U2,altAxis:U2}:Object.assign({mainAxis:0,altAxis:0},U2),y3=r.modifiersData.offset?r.modifiersData.offset[r.placement]:null,g0={x:0,y:0};if(x1){if(i){var q3,L5="y"===h1?i6:o6,y5="y"===h1?O6:I6,k6="y"===h1?"height":"width",v0=x1[h1],Ql=v0+K[L5],b5=v0-K[y5],Jl=P?-x2[k6]/2:0,hz=X===ta?K1[k6]:x2[k6],Xt=X===ta?-x2[k6]:-K1[k6],Xl=r.elements.arrow,Ia=P&&Xl?Pm(Xl):{width:0,height:0},F8=r.modifiersData["arrow#persistent"]?r.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ei=F8[L5],ef=F8[y5],x5=Zr(0,K1[k6],Ia[k6]),mz=n1?K1[k6]/2-Jl-x5-ei-p4.mainAxis:hz-x5-ei-p4.mainAxis,ta6=n1?-K1[k6]/2+Jl+x5+ef+p4.mainAxis:Xt+x5+ef+p4.mainAxis,_z=r.elements.arrow&&$r(r.elements.arrow),ia6=_z?"y"===h1?_z.clientTop||0:_z.clientLeft||0:0,Dm1=null!=(q3=y3?.[h1])?q3:0,na6=v0+ta6-Dm1,Tm1=Zr(P?Zn(Ql,v0+mz-Dm1-ia6):Ql,v0,P?f5(b5,na6):b5);x1[h1]=Tm1,g0[h1]=Tm1-v0}if(d){var Em1,w5=x1[C1],cf="y"===C1?"height":"width",Am1=w5+K["x"===h1?i6:o6],Pm1=w5-K["x"===h1?O6:I6],pz=-1!==[i6,o6].indexOf(J),Rm1=null!=(Em1=y3?.[C1])?Em1:0,Bm1=pz?Am1:w5-K1[cf]-x2[cf]-Rm1+p4.altAxis,Om1=pz?w5+K1[cf]+x2[cf]-Rm1-p4.altAxis:Pm1,Im1=P&&pz?function zF1(c,r,e){var a=Zr(c,r,e);return a>e?e:a}(Bm1,w5,Om1):Zr(P?Bm1:Am1,w5,P?Om1:Pm1);x1[C1]=Im1,g0[C1]=Im1-w5}r.modifiersData[a]=g0}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function yF1(c){var r,e=c.state,a=c.name,t=c.options,i=e.elements.arrow,l=e.modifiersData.popperOffsets,d=I0(e.placement),u=Bm(d),z=[o6,I6].indexOf(d)>=0?"height":"width";if(i&&l){var x=function(r,e){return Nk("number"!=typeof(r="function"==typeof r?r(Object.assign({},e.rects,{placement:e.placement})):r)?r:Dk(r,Yr))}(t.padding,e),E=Pm(i),P="y"===u?i6:o6,Y="y"===u?O6:I6,Z=e.rects.reference[z]+e.rects.reference[u]-l[u]-e.rects.popper[z],K=l[u]-e.rects.reference[u],J=$r(i),X=J?"y"===u?J.clientHeight||0:J.clientWidth||0:0,x1=X/2-E[z]/2+(Z/2-K/2),K1=Zr(x[P],x1,X-E[z]-x[Y]);e.modifiersData[a]=((r={})[u]=K1,r.centerOffset=K1-x1,r)}},effect:function bF1(c){var r=c.state,a=c.options.element,t=void 0===a?"[data-popper-arrow]":a;null!=t&&("string"==typeof t&&!(t=r.elements.popper.querySelector(t))||Fk(r.elements.popper,t)&&(r.elements.arrow=t))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function wF1(c){var r=c.state,e=c.name,a=r.rects.reference,t=r.rects.popper,i=r.modifiersData.preventOverflow,l=Wr(r,{elementContext:"reference"}),d=Wr(r,{altBoundary:!0}),u=Tk(l,a),p=Tk(d,t,i),z=Ek(u),x=Ek(p);r.modifiersData[e]={referenceClippingOffsets:u,popperEscapeOffsets:p,isReferenceHidden:z,hasPopperEscaped:x},r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-reference-hidden":z,"data-popper-escaped":x})}}]}),d8=function(){return d8=Object.assign||function(c){for(var r,e=1,a=arguments.length;er[a]),keys:e}}}return{args:c,keys:null}}const{isArray:PF1}=Array;function Km(c){return X1(r=>function RF1(c,r){return PF1(r)?c(...r):c(r)}(c,r))}function $k(c,r){return c.reduce((e,a,t)=>(e[a]=r[t],e),{})}function Qm(...c){const r=yF(c),{args:e,keys:a}=jk(c),t=new l4(i=>{const{length:l}=e;if(!l)return void i.complete();const d=new Array(l);let u=l,p=l;for(let z=0;z{x||(x=!0,p--),d[z]=E},()=>u--,void 0,()=>{(!u||!x)&&(p||i.next(a?$k(a,d):d),i.complete())}))}});return r?t.pipe(Km(r)):t}function na(c=1/0){return n3(s6,c)}function sa(...c){return function BF1(){return na(1)}()(k4(c,Rr(c)))}function fs(c){return new l4(r=>{I3(c()).subscribe(r)})}const U6=new l4(c=>c.complete());function M6(c){return c<=0?()=>U6:i4((r,e)=>{let a=0;r.subscribe(m2(e,t=>{++a<=c&&(e.next(t),c<=a&&e.complete())}))})}const Jm={now:()=>(Jm.delegate||Date).now(),delegate:void 0};class IF1 extends G2{constructor(r=1/0,e=1/0,a=Jm){super(),this._bufferSize=r,this._windowTime=e,this._timestampProvider=a,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,r),this._windowTime=Math.max(1,e)}next(r){const{isStopped:e,_buffer:a,_infiniteTimeWindow:t,_timestampProvider:i,_windowTime:l}=this;e||(a.push(r),!t&&a.push(i.now()+l)),this._trimBuffer(),super.next(r)}_subscribe(r){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(r),{_infiniteTimeWindow:a,_buffer:t}=this,i=t.slice();for(let l=0;l{a.unsubscribe(),c()}});return I3(r(...e)).subscribe(a)}function e_(c,r,e){let a,t=!1;return c&&"object"==typeof c?({bufferSize:a=1/0,windowTime:r=1/0,refCount:t=!1,scheduler:e}=c):a=c??1/0,function UF1(c={}){const{connector:r=(()=>new G2),resetOnError:e=!0,resetOnComplete:a=!0,resetOnRefCountZero:t=!0}=c;return i=>{let l,d,u,p=0,z=!1,x=!1;const E=()=>{d?.unsubscribe(),d=void 0},P=()=>{E(),l=u=void 0,z=x=!1},Y=()=>{const Z=l;P(),Z?.unsubscribe()};return i4((Z,K)=>{p++,!x&&!z&&E();const J=u=u??r();K.add(()=>{p--,0===p&&!x&&!z&&(d=Xm(Y,t))}),J.subscribe(K),!l&&p>0&&(l=new H0({next:X=>J.next(X),error:X=>{x=!0,E(),d=Xm(P,e,X),J.error(X)},complete:()=>{z=!0,E(),d=Xm(P,a),J.complete()}}),I3(Z).subscribe(l))})(i)}}({connector:()=>new IF1(a,r,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:t})}class Qr{}let Yk=(()=>{class c extends Qr{getTranslation(e){return D1({})}static \u0275fac=(()=>{let e;return function(t){return(e||(e=b4(c)))(t||c)}})();static \u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();class c_{}let Gk=(()=>{class c{handle(e){return e.key}static \u0275fac=function(a){return new(a||c)};static \u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();function ds(c,r){if(c===r)return!0;if(null===c||null===r)return!1;if(c!=c&&r!=r)return!0;let t,i,l,e=typeof c;if(e==typeof r&&"object"==e){if(!Array.isArray(c)){if(Array.isArray(r))return!1;for(i in l=Object.create(null),c){if(!ds(c[i],r[i]))return!1;l[i]=!0}for(i in r)if(!(i in l)&&typeof r[i]<"u")return!1;return!0}if(!Array.isArray(r))return!1;if((t=c.length)==r.length){for(i=0;i{a_(r[a])?a in c?e[a]=qk(c[a],r[a]):Object.assign(e,{[a]:r[a]}):Object.assign(e,{[a]:r[a]})}),e}class us{}let Wk=(()=>{class c extends us{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,a){let t;return t="string"==typeof e?this.interpolateString(e,a):"function"==typeof e?this.interpolateFunction(e,a):e,t}getValue(e,a){let t="string"==typeof a?a.split("."):[a];a="";do{a+=t.shift(),!p8(e)||!p8(e[a])||"object"!=typeof e[a]&&t.length?t.length?a+=".":e=void 0:(e=e[a],a="")}while(t.length);return e}interpolateFunction(e,a){return e(a)}interpolateString(e,a){return a?e.replace(this.templateMatcher,(t,i)=>{let l=this.getValue(a,i);return p8(l)?l:t}):e}static \u0275fac=(()=>{let e;return function(t){return(e||(e=b4(c)))(t||c)}})();static \u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();class hs{}let Zk=(()=>{class c extends hs{compile(e,a){return e}compileTranslations(e,a){return e}static \u0275fac=(()=>{let e;return function(t){return(e||(e=b4(c)))(t||c)}})();static \u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();class Kk{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new Y1;onLangChange=new Y1;onDefaultLangChange=new Y1}const r_=new H1("USE_STORE"),t_=new H1("USE_DEFAULT_LANG"),i_=new H1("DEFAULT_LANGUAGE"),o_=new H1("USE_EXTEND");let la=(()=>{class c{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new Y1;_onLangChange=new Y1;_onDefaultLangChange=new Y1;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}constructor(e,a,t,i,l,d=!0,u=!1,p=!1,z){this.store=e,this.currentLoader=a,this.compiler=t,this.parser=i,this.missingTranslationHandler=l,this.useDefaultLang=d,this.isolate=u,this.extend=p,z&&this.setDefaultLang(z)}setDefaultLang(e){if(e===this.defaultLang)return;let a=this.retrieveTranslations(e);typeof a<"u"?(null==this.defaultLang&&(this.defaultLang=e),a.pipe(M6(1)).subscribe(t=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return D1(this.translations[e]);let a=this.retrieveTranslations(e);return typeof a<"u"?(this.currentLang||(this.currentLang=e),a.pipe(M6(1)).subscribe(t=>{this.changeLang(e)}),a):(this.changeLang(e),D1(this.translations[e]))}retrieveTranslations(e){let a;return(typeof this.translations[e]>"u"||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),a=this._translationRequests[e]),a}getTranslation(e){this.pending=!0;const a=this.currentLoader.getTranslation(e).pipe(e_(1),M6(1));return this.loadingTranslations=a.pipe(X1(t=>this.compiler.compileTranslations(t,e)),e_(1),M6(1)),this.loadingTranslations.subscribe({next:t=>{this.translations[e]=this.extend&&this.translations[e]?{...t,...this.translations[e]}:t,this.updateLangs(),this.pending=!1},error:t=>{this.pending=!1}}),a}setTranslation(e,a,t=!1){a=this.compiler.compileTranslations(a,e),this.translations[e]=(t||this.extend)&&this.translations[e]?qk(this.translations[e],a):a,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(a=>{-1===this.langs.indexOf(a)&&this.langs.push(a)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,a,t){let i;if(a instanceof Array){let l={},d=!1;for(let u of a)l[u]=this.getParsedResult(e,u,t),_8(l[u])&&(d=!0);return d?Qm(a.map(p=>_8(l[p])?l[p]:D1(l[p]))).pipe(X1(p=>{let z={};return p.forEach((x,E)=>{z[a[E]]=x}),z})):l}if(e&&(i=this.parser.interpolate(this.parser.getValue(e,a),t)),typeof i>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(i=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],a),t)),typeof i>"u"){let l={key:a,translateService:this};typeof t<"u"&&(l.interpolateParams=t),i=this.missingTranslationHandler.handle(l)}return typeof i<"u"?i:a}get(e,a){if(!p8(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(o8(t=>_8(t=this.getParsedResult(t,e,a))?t:D1(t)));{let t=this.getParsedResult(this.translations[this.currentLang],e,a);return _8(t)?t:D1(t)}}getStreamOnTranslationChange(e,a){if(!p8(e)||!e.length)throw new Error('Parameter "key" required');return sa(fs(()=>this.get(e,a)),this.onTranslationChange.pipe(z3(t=>{const i=this.getParsedResult(t.translations,e,a);return"function"==typeof i.subscribe?i:D1(i)})))}stream(e,a){if(!p8(e)||!e.length)throw new Error('Parameter "key" required');return sa(fs(()=>this.get(e,a)),this.onLangChange.pipe(z3(t=>{const i=this.getParsedResult(t.translations,e,a);return _8(i)?i:D1(i)})))}instant(e,a){if(!p8(e)||!e.length)throw new Error('Parameter "key" required');let t=this.getParsedResult(this.translations[this.currentLang],e,a);if(_8(t)){if(e instanceof Array){let i={};return e.forEach((l,d)=>{i[e[d]]=e[d]}),i}return e}return t}set(e,a,t=this.currentLang){this.translations[t][e]=this.compiler.compile(a,t),this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof e>"u"?void 0:(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}static \u0275fac=function(a){return new(a||c)(d1(Kk),d1(Qr),d1(hs),d1(us),d1(c_),d1(t_),d1(r_),d1(o_),d1(i_))};static \u0275prov=g1({token:c,factory:c.\u0275fac})}return c})(),J1=(()=>{class c{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(e,a){this.translate=e,this._ref=a}updateValue(e,a,t){let i=l=>{this.value=void 0!==l?l:e,this.lastKey=e,this._ref.markForCheck()};if(t){let l=this.translate.getParsedResult(t,e,a);_8(l.subscribe)?l.subscribe(i):i(l)}this.translate.get(e,a).subscribe(i)}transform(e,...a){if(!e||!e.length)return e;if(ds(e,this.lastKey)&&ds(a,this.lastParams))return this.value;let t;if(p8(a[0])&&a.length)if("string"==typeof a[0]&&a[0].length){let i=a[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{t=JSON.parse(i)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${a[0]}`)}}else"object"==typeof a[0]&&!Array.isArray(a[0])&&(t=a[0]);return this.lastKey=e,this.lastParams=a,this.updateValue(e,t),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(i=>{this.lastKey&&i.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,t,i.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(i=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,t,i.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,t))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(a){return new(a||c)(B(la,16),B(B1,16))};static \u0275pipe=$4({name:"translate",type:c,pure:!1});static \u0275prov=g1({token:c,factory:c.\u0275fac})}return c})(),ms=(()=>{class c{static forRoot(e={}){return{ngModule:c,providers:[e.loader||{provide:Qr,useClass:Yk},e.compiler||{provide:hs,useClass:Zk},e.parser||{provide:us,useClass:Wk},e.missingTranslationHandler||{provide:c_,useClass:Gk},Kk,{provide:r_,useValue:e.isolate},{provide:t_,useValue:e.useDefaultLang},{provide:o_,useValue:e.extend},{provide:i_,useValue:e.defaultLanguage},la]}}static forChild(e={}){return{ngModule:c,providers:[e.loader||{provide:Qr,useClass:Yk},e.compiler||{provide:hs,useClass:Zk},e.parser||{provide:us,useClass:Wk},e.missingTranslationHandler||{provide:c_,useClass:Gk},{provide:r_,useValue:e.isolate},{provide:t_,useValue:e.useDefaultLang},{provide:o_,useValue:e.extend},{provide:i_,useValue:e.defaultLanguage},la]}}static \u0275fac=function(a){return new(a||c)};static \u0275mod=M4({type:c});static \u0275inj=g4({})}return c})(),R1=(()=>{class c{constructor(){}setItem(e,a){localStorage.setItem(e,a)}getItem(e){return localStorage.getItem(e)}setObject(e,a){localStorage.setItem(e,JSON.stringify(a))}getObject(e){return JSON.parse(localStorage.getItem(e)||"{}")}removeItem(e){localStorage.removeItem(e)}clear(){localStorage.clear()}addCategoryFilter(e){const a=JSON.parse(localStorage.getItem("selected_categories")||"[]");-1===a.findIndex(i=>i.id===e.id)&&(a.push(e),localStorage.setItem("selected_categories",JSON.stringify(a)))}removeCategoryFilter(e){const a=JSON.parse(localStorage.getItem("selected_categories")||"[]"),t=a.findIndex(i=>i.id===e.id);t>-1&&(a.splice(t,1),localStorage.setItem("selected_categories",JSON.stringify(a)))}addCartItem(e){const a=JSON.parse(localStorage.getItem("cart_items")||"[]");-1===a.findIndex(i=>i.id===e.id)&&(a.push(e),localStorage.setItem("cart_items",JSON.stringify(a)))}removeCartItem(e){const a=JSON.parse(localStorage.getItem("cart_items")||"[]"),t=a.findIndex(i=>i.id===e.id);t>-1&&(a.splice(t,1),localStorage.setItem("cart_items",JSON.stringify(a)))}addLoginInfo(e){localStorage.setItem("login_items",JSON.stringify(e))}removeLoginInfo(){localStorage.setItem("login_items",JSON.stringify({}))}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),e2=(()=>{class c{constructor(){this.eventMessageSubject=new G2,this.messages$=this.eventMessageSubject.asObservable()}emitAddedFilter(e){this.eventMessageSubject.next({type:"AddedFilter",value:e})}emitRemovedFilter(e){this.eventMessageSubject.next({type:"RemovedFilter",value:e})}emitAddedCartItem(e){this.eventMessageSubject.next({type:"AddedCartItem",value:e})}emitRemovedCartItem(e){this.eventMessageSubject.next({type:"RemovedCartItem",value:e})}emitFilterShown(e){this.eventMessageSubject.next({type:"FilterShown",value:e})}emitToggleDrawer(e){this.eventMessageSubject.next({type:"ToggleCartDrawer",value:e})}emitLogin(e){this.eventMessageSubject.next({type:"LoginProcess",value:e})}emitBillAccChange(e){this.eventMessageSubject.next({type:"BillAccChanged",value:e})}emitSellerProductSpec(e){this.eventMessageSubject.next({type:"SellerProductSpec",value:e})}emitSellerCreateProductSpec(e){this.eventMessageSubject.next({type:"SellerCreateProductSpec",value:e})}emitSellerUpdateProductSpec(e){this.eventMessageSubject.next({type:"SellerUpdateProductSpec",value:e})}emitSellerServiceSpec(e){this.eventMessageSubject.next({type:"SellerServiceSpec",value:e})}emitSellerCreateServiceSpec(e){this.eventMessageSubject.next({type:"SellerCreateServiceSpec",value:e})}emitSellerUpdateServiceSpec(e){this.eventMessageSubject.next({type:"SellerUpdateServiceSpec",value:e})}emitSellerResourceSpec(e){this.eventMessageSubject.next({type:"SellerResourceSpec",value:e})}emitSellerCreateResourceSpec(e){this.eventMessageSubject.next({type:"SellerCreateResourceSpec",value:e})}emitSellerUpdateResourceSpec(e){this.eventMessageSubject.next({type:"SellerUpdateResourceSpec",value:e})}emitSellerOffer(e){this.eventMessageSubject.next({type:"SellerOffer",value:e})}emitSellerCreateOffer(e){this.eventMessageSubject.next({type:"SellerCreateOffer",value:e})}emitSellerUpdateOffer(e){this.eventMessageSubject.next({type:"SellerUpdateOffer",value:e})}emitSellerCatalog(e){this.eventMessageSubject.next({type:"SellerCatalog",value:e})}emitSellerUpdateCatalog(e){this.eventMessageSubject.next({type:"SellerCatalogUpdate",value:e})}emitSellerCreateCatalog(e){this.eventMessageSubject.next({type:"SellerCatalogCreate",value:e})}emitCategoryAdded(e){console.log("event emitter category"),console.log(e),this.eventMessageSubject.next({type:"CategoryAdded",value:e})}emitChangedSession(e){console.log("event eChangedSession"),console.log(e),this.eventMessageSubject.next({type:"ChangedSession",value:e})}emitCloseCartCard(e){this.eventMessageSubject.next({type:"CloseCartCard",value:e})}emitShowCartToast(e){this.eventMessageSubject.next({type:"ShowCartToast",value:e})}emitHideCartToast(e){this.eventMessageSubject.next({type:"HideCartToast",value:e})}emitAdminCategories(e){this.eventMessageSubject.next({type:"AdminCategories",value:e})}emitCreateCategory(e){this.eventMessageSubject.next({type:"CreateCategory",value:e})}emitUpdateCategory(e){this.eventMessageSubject.next({type:"UpdateCategory",value:e})}emitCloseContact(e){this.eventMessageSubject.next({type:"CloseContact",value:e})}emitOpenServiceDetails(e){this.eventMessageSubject.next({type:"OpenServiceDetails",value:e})}emitOpenResourceDetails(e){this.eventMessageSubject.next({type:"OpenResourceDetails",value:e})}emitOpenProductInvDetails(e){this.eventMessageSubject.next({type:"OpenProductInvDetails",value:e})}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function _s(...c){const r=Rr(c),e=yF(c),{args:a,keys:t}=jk(c);if(0===a.length)return k4([],r);const i=new l4(function jF1(c,r,e=s6){return a=>{Qk(r,()=>{const{length:t}=c,i=new Array(t);let l=t,d=t;for(let u=0;u{const p=k4(c[u],r);let z=!1;p.subscribe(m2(a,x=>{i[u]=x,z||(z=!0,d--),d||a.next(e(i.slice()))},()=>{--l||a.complete()}))},a)},a)}}(a,r,t?l=>$k(t,l):s6));return e?i.pipe(Km(e)):i}function Qk(c,r,e){c?pe(e,c,r):r()}const Jr=qa(c=>function(){c(this),this.name="EmptyError",this.message="no elements in sequence"});function ps(c,r){const e=b2(c)?c:()=>c,a=t=>t.error(e());return new l4(r?t=>r.schedule(a,0,t):a)}function n_(){return i4((c,r)=>{let e=null;c._refCount++;const a=m2(r,void 0,void 0,void 0,()=>{if(!c||c._refCount<=0||0<--c._refCount)return void(e=null);const t=c._connection,i=e;e=null,t&&(!i||t===i)&&t.unsubscribe(),r.unsubscribe()});c.subscribe(a),a.closed||(e=c.connect())})}class Jk extends l4{constructor(r,e){super(),this.source=r,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,di(r)&&(this.lift=r.lift)}_subscribe(r){return this.getSubject().subscribe(r)}getSubject(){const r=this._subject;return(!r||r.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:r}=this;this._subject=this._connection=null,r?.unsubscribe()}connect(){let r=this._connection;if(!r){r=this._connection=new c3;const e=this.getSubject();r.add(this.source.subscribe(m2(e,void 0,()=>{this._teardown(),e.complete()},a=>{this._teardown(),e.error(a)},()=>this._teardown()))),r.closed&&(this._connection=null,r=c3.EMPTY)}return r}refCount(){return n_()(this)}}function Xk(...c){const r=Rr(c);return i4((e,a)=>{(r?sa(c,e,r):sa(c,e)).subscribe(a)})}function fa(c){return i4((r,e)=>{let a=!1;r.subscribe(m2(e,t=>{a=!0,e.next(t)},()=>{a||e.next(c),e.complete()}))})}function eS(c=$F1){return i4((r,e)=>{let a=!1;r.subscribe(m2(e,t=>{a=!0,e.next(t)},()=>a?e.complete():e.error(c())))})}function $F1(){return new Jr}function g8(c,r){const e=arguments.length>=2;return a=>a.pipe(c?d0((t,i)=>c(t,i,a)):s6,M6(1),e?fa(r):eS(()=>new Jr))}function s3(c,r,e){const a=b2(c)||r||e?{next:c,error:r,complete:e}:c;return a?i4((t,i)=>{var l;null===(l=a.subscribe)||void 0===l||l.call(a);let d=!0;t.subscribe(m2(i,u=>{var p;null===(p=a.next)||void 0===p||p.call(a,u),i.next(u)},()=>{var u;d=!1,null===(u=a.complete)||void 0===u||u.call(a),i.complete()},u=>{var p;d=!1,null===(p=a.error)||void 0===p||p.call(a,u),i.error(u)},()=>{var u,p;d&&(null===(u=a.unsubscribe)||void 0===u||u.call(a)),null===(p=a.finalize)||void 0===p||p.call(a)}))}):s6}function da(c){return i4((r,e)=>{let i,a=null,t=!1;a=r.subscribe(m2(e,void 0,void 0,l=>{i=I3(c(l,da(c)(r))),a?(a.unsubscribe(),a=null,i.subscribe(e)):t=!0})),t&&(a.unsubscribe(),a=null,i.subscribe(e))})}function s_(c){return c<=0?()=>U6:i4((r,e)=>{let a=[];r.subscribe(m2(e,t=>{a.push(t),c{for(const t of a)e.next(t);e.complete()},void 0,()=>{a=null}))})}function gs(c){return X1(()=>c)}function vs(c){return i4((r,e)=>{I3(c).subscribe(m2(e,()=>e.complete(),D8)),!e.closed&&r.subscribe(e)})}const d2="primary",Xr=Symbol("RouteTitle");class WF1{constructor(r){this.params=r||{}}has(r){return Object.prototype.hasOwnProperty.call(this.params,r)}get(r){if(this.has(r)){const e=this.params[r];return Array.isArray(e)?e[0]:e}return null}getAll(r){if(this.has(r)){const e=this.params[r];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function ua(c){return new WF1(c)}function ZF1(c,r,e){const a=e.path.split("/");if(a.length>c.length||"full"===e.pathMatch&&(r.hasChildren()||a.lengtha[i]===t)}return c===r}function aS(c){return c.length>0?c[c.length-1]:null}function v8(c){return _8(c)?c:Fr(c)?k4(Promise.resolve(c)):D1(c)}const QF1={exact:function iS(c,r,e){if(!u5(c.segments,r.segments)||!Hs(c.segments,r.segments,e)||c.numberOfChildren!==r.numberOfChildren)return!1;for(const a in r.children)if(!c.children[a]||!iS(c.children[a],r.children[a],e))return!1;return!0},subset:oS},rS={exact:function JF1(c,r){return U0(c,r)},subset:function XF1(c,r){return Object.keys(r).length<=Object.keys(c).length&&Object.keys(r).every(e=>cS(c[e],r[e]))},ignored:()=>!0};function tS(c,r,e){return QF1[e.paths](c.root,r.root,e.matrixParams)&&rS[e.queryParams](c.queryParams,r.queryParams)&&!("exact"===e.fragment&&c.fragment!==r.fragment)}function oS(c,r,e){return nS(c,r,r.segments,e)}function nS(c,r,e,a){if(c.segments.length>e.length){const t=c.segments.slice(0,e.length);return!(!u5(t,e)||r.hasChildren()||!Hs(t,e,a))}if(c.segments.length===e.length){if(!u5(c.segments,e)||!Hs(c.segments,e,a))return!1;for(const t in r.children)if(!c.children[t]||!oS(c.children[t],r.children[t],a))return!1;return!0}{const t=e.slice(0,c.segments.length),i=e.slice(c.segments.length);return!!(u5(c.segments,t)&&Hs(c.segments,t,a)&&c.children[d2])&&nS(c.children[d2],r,i,a)}}function Hs(c,r,e){return r.every((a,t)=>rS[e](c[t].parameters,a.parameters))}class ha{constructor(r=new Q2([],{}),e={},a=null){this.root=r,this.queryParams=e,this.fragment=a}get queryParamMap(){return this._queryParamMap??=ua(this.queryParams),this._queryParamMap}toString(){return ak1.serialize(this)}}class Q2{constructor(r,e){this.segments=r,this.children=e,this.parent=null,Object.values(e).forEach(a=>a.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Cs(this)}}class et{constructor(r,e){this.path=r,this.parameters=e}get parameterMap(){return this._parameterMap??=ua(this.parameters),this._parameterMap}toString(){return fS(this)}}function u5(c,r){return c.length===r.length&&c.every((e,a)=>e.path===r[a].path)}let ma=(()=>{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:()=>new f_,providedIn:"root"})}return c})();class f_{parse(r){const e=new hk1(r);return new ha(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(r){const e=`/${ct(r.root,!0)}`,a=function ik1(c){const r=Object.entries(c).map(([e,a])=>Array.isArray(a)?a.map(t=>`${zs(e)}=${zs(t)}`).join("&"):`${zs(e)}=${zs(a)}`).filter(e=>e);return r.length?`?${r.join("&")}`:""}(r.queryParams);return`${e}${a}${"string"==typeof r.fragment?`#${function rk1(c){return encodeURI(c)}(r.fragment)}`:""}`}}const ak1=new f_;function Cs(c){return c.segments.map(r=>fS(r)).join("/")}function ct(c,r){if(!c.hasChildren())return Cs(c);if(r){const e=c.children[d2]?ct(c.children[d2],!1):"",a=[];return Object.entries(c.children).forEach(([t,i])=>{t!==d2&&a.push(`${t}:${ct(i,!1)}`)}),a.length>0?`${e}(${a.join("//")})`:e}{const e=function ck1(c,r){let e=[];return Object.entries(c.children).forEach(([a,t])=>{a===d2&&(e=e.concat(r(t,a)))}),Object.entries(c.children).forEach(([a,t])=>{a!==d2&&(e=e.concat(r(t,a)))}),e}(c,(a,t)=>t===d2?[ct(c.children[d2],!1)]:[`${t}:${ct(a,!1)}`]);return 1===Object.keys(c.children).length&&null!=c.children[d2]?`${Cs(c)}/${e[0]}`:`${Cs(c)}/(${e.join("//")})`}}function sS(c){return encodeURIComponent(c).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function zs(c){return sS(c).replace(/%3B/gi,";")}function d_(c){return sS(c).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Vs(c){return decodeURIComponent(c)}function lS(c){return Vs(c.replace(/\+/g,"%20"))}function fS(c){return`${d_(c.path)}${function tk1(c){return Object.entries(c).map(([r,e])=>`;${d_(r)}=${d_(e)}`).join("")}(c.parameters)}`}const ok1=/^[^\/()?;#]+/;function u_(c){const r=c.match(ok1);return r?r[0]:""}const nk1=/^[^\/()?;=#]+/,lk1=/^[^=?&#]+/,dk1=/^[^&#]+/;class hk1{constructor(r){this.url=r,this.remaining=r}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Q2([],{}):new Q2([],this.parseChildren())}parseQueryParams(){const r={};if(this.consumeOptional("?"))do{this.parseQueryParam(r)}while(this.consumeOptional("&"));return r}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const r=[];for(this.peekStartsWith("(")||r.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),r.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let a={};return this.peekStartsWith("(")&&(a=this.parseParens(!1)),(r.length>0||Object.keys(e).length>0)&&(a[d2]=new Q2(r,e)),a}parseSegment(){const r=u_(this.remaining);if(""===r&&this.peekStartsWith(";"))throw new l1(4009,!1);return this.capture(r),new et(Vs(r),this.parseMatrixParams())}parseMatrixParams(){const r={};for(;this.consumeOptional(";");)this.parseParam(r);return r}parseParam(r){const e=function sk1(c){const r=c.match(nk1);return r?r[0]:""}(this.remaining);if(!e)return;this.capture(e);let a="";if(this.consumeOptional("=")){const t=u_(this.remaining);t&&(a=t,this.capture(a))}r[Vs(e)]=Vs(a)}parseQueryParam(r){const e=function fk1(c){const r=c.match(lk1);return r?r[0]:""}(this.remaining);if(!e)return;this.capture(e);let a="";if(this.consumeOptional("=")){const l=function uk1(c){const r=c.match(dk1);return r?r[0]:""}(this.remaining);l&&(a=l,this.capture(a))}const t=lS(e),i=lS(a);if(r.hasOwnProperty(t)){let l=r[t];Array.isArray(l)||(l=[l],r[t]=l),l.push(i)}else r[t]=i}parseParens(r){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const a=u_(this.remaining),t=this.remaining[a.length];if("/"!==t&&")"!==t&&";"!==t)throw new l1(4010,!1);let i;a.indexOf(":")>-1?(i=a.slice(0,a.indexOf(":")),this.capture(i),this.capture(":")):r&&(i=d2);const l=this.parseChildren();e[i]=1===Object.keys(l).length?l[d2]:new Q2([],l),this.consumeOptional("//")}return e}peekStartsWith(r){return this.remaining.startsWith(r)}consumeOptional(r){return!!this.peekStartsWith(r)&&(this.remaining=this.remaining.substring(r.length),!0)}capture(r){if(!this.consumeOptional(r))throw new l1(4011,!1)}}function dS(c){return c.segments.length>0?new Q2([],{[d2]:c}):c}function uS(c){const r={};for(const[a,t]of Object.entries(c.children)){const i=uS(t);if(a===d2&&0===i.segments.length&&i.hasChildren())for(const[l,d]of Object.entries(i.children))r[l]=d;else(i.segments.length>0||i.hasChildren())&&(r[a]=i)}return function mk1(c){if(1===c.numberOfChildren&&c.children[d2]){const r=c.children[d2];return new Q2(c.segments.concat(r.segments),r.children)}return c}(new Q2(c.segments,r))}function _a(c){return c instanceof ha}function hS(c){let r;const t=dS(function e(i){const l={};for(const u of i.children){const p=e(u);l[u.outlet]=p}const d=new Q2(i.url,l);return i===c&&(r=d),d}(c.root));return r??t}function mS(c,r,e,a){let t=c;for(;t.parent;)t=t.parent;if(0===r.length)return h_(t,t,t,e,a);const i=function pk1(c){if("string"==typeof c[0]&&1===c.length&&"/"===c[0])return new pS(!0,0,c);let r=0,e=!1;const a=c.reduce((t,i,l)=>{if("object"==typeof i&&null!=i){if(i.outlets){const d={};return Object.entries(i.outlets).forEach(([u,p])=>{d[u]="string"==typeof p?p.split("/"):p}),[...t,{outlets:d}]}if(i.segmentPath)return[...t,i.segmentPath]}return"string"!=typeof i?[...t,i]:0===l?(i.split("/").forEach((d,u)=>{0==u&&"."===d||(0==u&&""===d?e=!0:".."===d?r++:""!=d&&t.push(d))}),t):[...t,i]},[]);return new pS(e,r,a)}(r);if(i.toRoot())return h_(t,t,new Q2([],{}),e,a);const l=function gk1(c,r,e){if(c.isAbsolute)return new Ls(r,!0,0);if(!e)return new Ls(r,!1,NaN);if(null===e.parent)return new Ls(e,!0,0);const a=Ms(c.commands[0])?0:1;return function vk1(c,r,e){let a=c,t=r,i=e;for(;i>t;){if(i-=t,a=a.parent,!a)throw new l1(4005,!1);t=a.segments.length}return new Ls(a,!1,t-i)}(e,e.segments.length-1+a,c.numberOfDoubleDots)}(i,t,c),d=l.processChildren?rt(l.segmentGroup,l.index,i.commands):gS(l.segmentGroup,l.index,i.commands);return h_(t,l.segmentGroup,d,e,a)}function Ms(c){return"object"==typeof c&&null!=c&&!c.outlets&&!c.segmentPath}function at(c){return"object"==typeof c&&null!=c&&c.outlets}function h_(c,r,e,a,t){let l,i={};a&&Object.entries(a).forEach(([u,p])=>{i[u]=Array.isArray(p)?p.map(z=>`${z}`):`${p}`}),l=c===r?e:_S(c,r,e);const d=dS(uS(l));return new ha(d,i,t)}function _S(c,r,e){const a={};return Object.entries(c.children).forEach(([t,i])=>{a[t]=i===r?e:_S(i,r,e)}),new Q2(c.segments,a)}class pS{constructor(r,e,a){if(this.isAbsolute=r,this.numberOfDoubleDots=e,this.commands=a,r&&a.length>0&&Ms(a[0]))throw new l1(4003,!1);const t=a.find(at);if(t&&t!==aS(a))throw new l1(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ls{constructor(r,e,a){this.segmentGroup=r,this.processChildren=e,this.index=a}}function gS(c,r,e){if(c??=new Q2([],{}),0===c.segments.length&&c.hasChildren())return rt(c,r,e);const a=function Ck1(c,r,e){let a=0,t=r;const i={match:!1,pathIndex:0,commandIndex:0};for(;t=e.length)return i;const l=c.segments[t],d=e[a];if(at(d))break;const u=`${d}`,p=a0&&void 0===u)break;if(u&&p&&"object"==typeof p&&void 0===p.outlets){if(!HS(u,p,l))return i;a+=2}else{if(!HS(u,{},l))return i;a++}t++}return{match:!0,pathIndex:t,commandIndex:a}}(c,r,e),t=e.slice(a.commandIndex);if(a.match&&a.pathIndexi!==d2)&&c.children[d2]&&1===c.numberOfChildren&&0===c.children[d2].segments.length){const i=rt(c.children[d2],r,e);return new Q2(c.segments,i.children)}return Object.entries(a).forEach(([i,l])=>{"string"==typeof l&&(l=[l]),null!==l&&(t[i]=gS(c.children[i],r,l))}),Object.entries(c.children).forEach(([i,l])=>{void 0===a[i]&&(t[i]=l)}),new Q2(c.segments,t)}}function m_(c,r,e){const a=c.segments.slice(0,r);let t=0;for(;t{"string"==typeof a&&(a=[a]),null!==a&&(r[e]=m_(new Q2([],{}),0,a))}),r}function vS(c){const r={};return Object.entries(c).forEach(([e,a])=>r[e]=`${a}`),r}function HS(c,r,e){return c==e.path&&U0(r,e.parameters)}const tt="imperative";var y2=function(c){return c[c.NavigationStart=0]="NavigationStart",c[c.NavigationEnd=1]="NavigationEnd",c[c.NavigationCancel=2]="NavigationCancel",c[c.NavigationError=3]="NavigationError",c[c.RoutesRecognized=4]="RoutesRecognized",c[c.ResolveStart=5]="ResolveStart",c[c.ResolveEnd=6]="ResolveEnd",c[c.GuardsCheckStart=7]="GuardsCheckStart",c[c.GuardsCheckEnd=8]="GuardsCheckEnd",c[c.RouteConfigLoadStart=9]="RouteConfigLoadStart",c[c.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",c[c.ChildActivationStart=11]="ChildActivationStart",c[c.ChildActivationEnd=12]="ChildActivationEnd",c[c.ActivationStart=13]="ActivationStart",c[c.ActivationEnd=14]="ActivationEnd",c[c.Scroll=15]="Scroll",c[c.NavigationSkipped=16]="NavigationSkipped",c}(y2||{});class j0{constructor(r,e){this.id=r,this.url=e}}class ys extends j0{constructor(r,e,a="imperative",t=null){super(r,e),this.type=y2.NavigationStart,this.navigationTrigger=a,this.restoredState=t}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class $0 extends j0{constructor(r,e,a){super(r,e),this.urlAfterRedirects=a,this.type=y2.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var L6=function(c){return c[c.Redirect=0]="Redirect",c[c.SupersededByNewNavigation=1]="SupersededByNewNavigation",c[c.NoDataFromResolver=2]="NoDataFromResolver",c[c.GuardRejected=3]="GuardRejected",c}(L6||{}),bs=function(c){return c[c.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",c[c.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",c}(bs||{});class pa extends j0{constructor(r,e,a,t){super(r,e),this.reason=a,this.code=t,this.type=y2.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ga extends j0{constructor(r,e,a,t){super(r,e),this.reason=a,this.code=t,this.type=y2.NavigationSkipped}}class xs extends j0{constructor(r,e,a,t){super(r,e),this.error=a,this.target=t,this.type=y2.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class CS extends j0{constructor(r,e,a,t){super(r,e),this.urlAfterRedirects=a,this.state=t,this.type=y2.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Vk1 extends j0{constructor(r,e,a,t){super(r,e),this.urlAfterRedirects=a,this.state=t,this.type=y2.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Mk1 extends j0{constructor(r,e,a,t,i){super(r,e),this.urlAfterRedirects=a,this.state=t,this.shouldActivate=i,this.type=y2.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Lk1 extends j0{constructor(r,e,a,t){super(r,e),this.urlAfterRedirects=a,this.state=t,this.type=y2.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class yk1 extends j0{constructor(r,e,a,t){super(r,e),this.urlAfterRedirects=a,this.state=t,this.type=y2.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class bk1{constructor(r){this.route=r,this.type=y2.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class xk1{constructor(r){this.route=r,this.type=y2.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class wk1{constructor(r){this.snapshot=r,this.type=y2.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Fk1{constructor(r){this.snapshot=r,this.type=y2.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class kk1{constructor(r){this.snapshot=r,this.type=y2.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Sk1{constructor(r){this.snapshot=r,this.type=y2.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class zS{constructor(r,e,a){this.routerEvent=r,this.position=e,this.anchor=a,this.type=y2.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class __{}class p_{constructor(r){this.url=r}}class Nk1{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new it,this.attachRef=null}}let it=(()=>{class c{constructor(){this.contexts=new Map}onChildOutletCreated(e,a){const t=this.getOrCreateContext(e);t.outlet=a,this.contexts.set(e,t)}onChildOutletDestroyed(e){const a=this.getContext(e);a&&(a.outlet=null,a.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let a=this.getContext(e);return a||(a=new Nk1,this.contexts.set(e,a)),a}getContext(e){return this.contexts.get(e)||null}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();class VS{constructor(r){this._root=r}get root(){return this._root.value}parent(r){const e=this.pathFromRoot(r);return e.length>1?e[e.length-2]:null}children(r){const e=g_(r,this._root);return e?e.children.map(a=>a.value):[]}firstChild(r){const e=g_(r,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(r){const e=v_(r,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(t=>t!==r)}pathFromRoot(r){return v_(r,this._root).map(e=>e.value)}}function g_(c,r){if(c===r.value)return r;for(const e of r.children){const a=g_(c,e);if(a)return a}return null}function v_(c,r){if(c===r.value)return[r];for(const e of r.children){const a=v_(c,e);if(a.length)return a.unshift(r),a}return[]}class u0{constructor(r,e){this.value=r,this.children=e}toString(){return`TreeNode(${this.value})`}}function va(c){const r={};return c&&c.children.forEach(e=>r[e.value.outlet]=e),r}class MS extends VS{constructor(r,e){super(r),this.snapshot=e,z_(this,r)}toString(){return this.snapshot.toString()}}function LS(c){const r=function Dk1(c){const i=new C_([],{},{},"",{},d2,c,null,{});return new yS("",new u0(i,[]))}(c),e=new a3([new et("",{})]),a=new a3({}),t=new a3({}),i=new a3({}),l=new a3(""),d=new j3(e,a,i,l,t,d2,c,r.root);return d.snapshot=r.root,new MS(new u0(d,[]),r)}class j3{constructor(r,e,a,t,i,l,d,u){this.urlSubject=r,this.paramsSubject=e,this.queryParamsSubject=a,this.fragmentSubject=t,this.dataSubject=i,this.outlet=l,this.component=d,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(X1(p=>p[Xr]))??D1(void 0),this.url=r,this.params=e,this.queryParams=a,this.fragment=t,this.data=i}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(X1(r=>ua(r))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(X1(r=>ua(r))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function H_(c,r,e="emptyOnly"){let a;const{routeConfig:t}=c;return a=null===r||"always"!==e&&""!==t?.path&&(r.component||r.routeConfig?.loadComponent)?{params:{...c.params},data:{...c.data},resolve:{...c.data,...c._resolvedData??{}}}:{params:{...r.params,...c.params},data:{...r.data,...c.data},resolve:{...c.data,...r.data,...t?.data,...c._resolvedData}},t&&xS(t)&&(a.resolve[Xr]=t.title),a}class C_{get title(){return this.data?.[Xr]}constructor(r,e,a,t,i,l,d,u,p){this.url=r,this.params=e,this.queryParams=a,this.fragment=t,this.data=i,this.outlet=l,this.component=d,this.routeConfig=u,this._resolve=p}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??=ua(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ua(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(a=>a.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class yS extends VS{constructor(r,e){super(e),this.url=r,z_(this,e)}toString(){return bS(this._root)}}function z_(c,r){r.value._routerState=c,r.children.forEach(e=>z_(c,e))}function bS(c){const r=c.children.length>0?` { ${c.children.map(bS).join(", ")} } `:"";return`${c.value}${r}`}function V_(c){if(c.snapshot){const r=c.snapshot,e=c._futureSnapshot;c.snapshot=e,U0(r.queryParams,e.queryParams)||c.queryParamsSubject.next(e.queryParams),r.fragment!==e.fragment&&c.fragmentSubject.next(e.fragment),U0(r.params,e.params)||c.paramsSubject.next(e.params),function KF1(c,r){if(c.length!==r.length)return!1;for(let e=0;eU0(e.parameters,r[a].parameters))}(c.url,r.url);return e&&!(!c.parent!=!r.parent)&&(!c.parent||M_(c.parent,r.parent))}function xS(c){return"string"==typeof c.title||null===c.title}let L_=(()=>{class c{constructor(){this.activated=null,this._activatedRoute=null,this.name=d2,this.activateEvents=new Y1,this.deactivateEvents=new Y1,this.attachEvents=new Y1,this.detachEvents=new Y1,this.parentContexts=i1(it),this.location=i1(g6),this.changeDetector=i1(B1),this.environmentInjector=i1(p3),this.inputBinder=i1(ws,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){const{firstChange:a,previousValue:t}=e.name;if(a)return;this.isTrackedInParentContexts(t)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(t)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new l1(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new l1(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new l1(4012,!1);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,a){this.activated=e,this._activatedRoute=a,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,a){if(this.isActivated)throw new l1(4013,!1);this._activatedRoute=e;const t=this.location,l=e.snapshot.component,d=this.parentContexts.getOrCreateContext(this.name).children,u=new Tk1(e,d,t.injector);this.activated=t.createComponent(l,{index:t.length,injector:u,environmentInjector:a??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275dir=U1({type:c,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[A]})}return c})();class Tk1{constructor(r,e,a){this.route=r,this.childContexts=e,this.parent=a,this.__ngOutletInjector=!0}get(r,e){return r===j3?this.route:r===it?this.childContexts:this.parent.get(r,e)}}const ws=new H1("");let wS=(()=>{class c{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){const{activatedRoute:a}=e,t=_s([a.queryParams,a.params,a.data]).pipe(z3(([i,l,d],u)=>(d={...i,...l,...d},0===u?D1(d):Promise.resolve(d)))).subscribe(i=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==a||null===a.component)return void this.unsubscribeFromRouteData(e);const l=function OL1(c){const r=f2(c);if(!r)return null;const e=new sr(r);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return r.standalone},get isSignal(){return r.signals}}}(a.component);if(l)for(const{templateName:d}of l.inputs)e.activatedComponentRef.setInput(d,i[d]);else this.unsubscribeFromRouteData(e)});this.outletDataSubscriptions.set(e,t)}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();function ot(c,r,e){if(e&&c.shouldReuseRoute(r.value,e.value.snapshot)){const a=e.value;a._futureSnapshot=r.value;const t=function Ak1(c,r,e){return r.children.map(a=>{for(const t of e.children)if(c.shouldReuseRoute(a.value,t.value.snapshot))return ot(c,a,t);return ot(c,a)})}(c,r,e);return new u0(a,t)}{if(c.shouldAttach(r.value)){const i=c.retrieve(r.value);if(null!==i){const l=i.route;return l.value._futureSnapshot=r.value,l.children=r.children.map(d=>ot(c,d)),l}}const a=function Pk1(c){return new j3(new a3(c.url),new a3(c.params),new a3(c.queryParams),new a3(c.fragment),new a3(c.data),c.outlet,c.component,c)}(r.value),t=r.children.map(i=>ot(c,i));return new u0(a,t)}}const FS="ngNavigationCancelingError";function kS(c,r){const{redirectTo:e,navigationBehaviorOptions:a}=_a(r)?{redirectTo:r,navigationBehaviorOptions:void 0}:r,t=SS(!1,L6.Redirect);return t.url=e,t.navigationBehaviorOptions=a,t}function SS(c,r){const e=new Error(`NavigationCancelingError: ${c||""}`);return e[FS]=!0,e.cancellationCode=r,e}function NS(c){return!!c&&c[FS]}let DS=(()=>{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275cmp=V1({type:c,selectors:[["ng-component"]],standalone:!0,features:[C3],decls:1,vars:0,template:function(a,t){1&a&&v(0,"router-outlet")},dependencies:[L_],encapsulation:2})}return c})();function y_(c){const r=c.children&&c.children.map(y_),e=r?{...c,children:r}:{...c};return!e.component&&!e.loadComponent&&(r||e.loadChildren)&&e.outlet&&e.outlet!==d2&&(e.component=DS),e}function Y0(c){return c.outlet||d2}function nt(c){if(!c)return null;if(c.routeConfig?._injector)return c.routeConfig._injector;for(let r=c.parent;r;r=r.parent){const e=r.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class Yk1{constructor(r,e,a,t,i){this.routeReuseStrategy=r,this.futureState=e,this.currState=a,this.forwardEvent=t,this.inputBindingEnabled=i}activate(r){const e=this.futureState._root,a=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,a,r),V_(this.futureState.root),this.activateChildRoutes(e,a,r)}deactivateChildRoutes(r,e,a){const t=va(e);r.children.forEach(i=>{const l=i.value.outlet;this.deactivateRoutes(i,t[l],a),delete t[l]}),Object.values(t).forEach(i=>{this.deactivateRouteAndItsChildren(i,a)})}deactivateRoutes(r,e,a){const t=r.value,i=e?e.value:null;if(t===i)if(t.component){const l=a.getContext(t.outlet);l&&this.deactivateChildRoutes(r,e,l.children)}else this.deactivateChildRoutes(r,e,a);else i&&this.deactivateRouteAndItsChildren(e,a)}deactivateRouteAndItsChildren(r,e){r.value.component&&this.routeReuseStrategy.shouldDetach(r.value.snapshot)?this.detachAndStoreRouteSubtree(r,e):this.deactivateRouteAndOutlet(r,e)}detachAndStoreRouteSubtree(r,e){const a=e.getContext(r.value.outlet),t=a&&r.value.component?a.children:e,i=va(r);for(const l of Object.values(i))this.deactivateRouteAndItsChildren(l,t);if(a&&a.outlet){const l=a.outlet.detach(),d=a.children.onOutletDeactivated();this.routeReuseStrategy.store(r.value.snapshot,{componentRef:l,route:r,contexts:d})}}deactivateRouteAndOutlet(r,e){const a=e.getContext(r.value.outlet),t=a&&r.value.component?a.children:e,i=va(r);for(const l of Object.values(i))this.deactivateRouteAndItsChildren(l,t);a&&(a.outlet&&(a.outlet.deactivate(),a.children.onOutletDeactivated()),a.attachRef=null,a.route=null)}activateChildRoutes(r,e,a){const t=va(e);r.children.forEach(i=>{this.activateRoutes(i,t[i.value.outlet],a),this.forwardEvent(new Sk1(i.value.snapshot))}),r.children.length&&this.forwardEvent(new Fk1(r.value.snapshot))}activateRoutes(r,e,a){const t=r.value,i=e?e.value:null;if(V_(t),t===i)if(t.component){const l=a.getOrCreateContext(t.outlet);this.activateChildRoutes(r,e,l.children)}else this.activateChildRoutes(r,e,a);else if(t.component){const l=a.getOrCreateContext(t.outlet);if(this.routeReuseStrategy.shouldAttach(t.snapshot)){const d=this.routeReuseStrategy.retrieve(t.snapshot);this.routeReuseStrategy.store(t.snapshot,null),l.children.onOutletReAttached(d.contexts),l.attachRef=d.componentRef,l.route=d.route.value,l.outlet&&l.outlet.attach(d.componentRef,d.route.value),V_(d.route.value),this.activateChildRoutes(r,null,l.children)}else{const d=nt(t.snapshot);l.attachRef=null,l.route=t,l.injector=d,l.outlet&&l.outlet.activateWith(t,l.injector),this.activateChildRoutes(r,null,l.children)}}else this.activateChildRoutes(r,null,a)}}class TS{constructor(r){this.path=r,this.route=this.path[this.path.length-1]}}class Fs{constructor(r,e){this.component=r,this.route=e}}function Gk1(c,r,e){const a=c._root;return st(a,r?r._root:null,e,[a.value])}function Ha(c,r){const e=Symbol(),a=r.get(c,e);return a===e?"function"!=typeof c||function _f(c){return null!==O5(c)}(c)?r.get(c):c:a}function st(c,r,e,a,t={canDeactivateChecks:[],canActivateChecks:[]}){const i=va(r);return c.children.forEach(l=>{(function Wk1(c,r,e,a,t={canDeactivateChecks:[],canActivateChecks:[]}){const i=c.value,l=r?r.value:null,d=e?e.getContext(c.value.outlet):null;if(l&&i.routeConfig===l.routeConfig){const u=function Zk1(c,r,e){if("function"==typeof e)return e(c,r);switch(e){case"pathParamsChange":return!u5(c.url,r.url);case"pathParamsOrQueryParamsChange":return!u5(c.url,r.url)||!U0(c.queryParams,r.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!M_(c,r)||!U0(c.queryParams,r.queryParams);default:return!M_(c,r)}}(l,i,i.routeConfig.runGuardsAndResolvers);u?t.canActivateChecks.push(new TS(a)):(i.data=l.data,i._resolvedData=l._resolvedData),st(c,r,i.component?d?d.children:null:e,a,t),u&&d&&d.outlet&&d.outlet.isActivated&&t.canDeactivateChecks.push(new Fs(d.outlet.component,l))}else l&<(r,d,t),t.canActivateChecks.push(new TS(a)),st(c,null,i.component?d?d.children:null:e,a,t)})(l,i[l.value.outlet],e,a.concat([l.value]),t),delete i[l.value.outlet]}),Object.entries(i).forEach(([l,d])=>lt(d,e.getContext(l),t)),t}function lt(c,r,e){const a=va(c),t=c.value;Object.entries(a).forEach(([i,l])=>{lt(l,t.component?r?r.children.getContext(i):null:r,e)}),e.canDeactivateChecks.push(new Fs(t.component&&r&&r.outlet&&r.outlet.isActivated?r.outlet.component:null,t))}function ft(c){return"function"==typeof c}function ES(c){return c instanceof Jr||"EmptyError"===c?.name}const ks=Symbol("INITIAL_VALUE");function Ca(){return z3(c=>_s(c.map(r=>r.pipe(M6(1),Xk(ks)))).pipe(X1(r=>{for(const e of r)if(!0!==e){if(e===ks)return ks;if(!1===e||e instanceof ha)return e}return!0}),d0(r=>r!==ks),M6(1)))}function AS(c){return function E5(...c){return k1(c)}(s3(r=>{if(_a(r))throw kS(0,r)}),X1(r=>!0===r))}class b_{constructor(r){this.segmentGroup=r||null}}class x_ extends Error{constructor(r){super(),this.urlTree=r}}function za(c){return ps(new b_(c))}class mS1{constructor(r,e){this.urlSerializer=r,this.urlTree=e}lineralizeSegments(r,e){let a=[],t=e.root;for(;;){if(a=a.concat(t.segments),0===t.numberOfChildren)return D1(a);if(t.numberOfChildren>1||!t.children[d2])return ps(new l1(4e3,!1));t=t.children[d2]}}applyRedirectCommands(r,e,a){const t=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),r,a);if(e.startsWith("/"))throw new x_(t);return t}applyRedirectCreateUrlTree(r,e,a,t){const i=this.createSegmentGroup(r,e.root,a,t);return new ha(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(r,e){const a={};return Object.entries(r).forEach(([t,i])=>{if("string"==typeof i&&i.startsWith(":")){const d=i.substring(1);a[t]=e[d]}else a[t]=i}),a}createSegmentGroup(r,e,a,t){const i=this.createSegments(r,e.segments,a,t);let l={};return Object.entries(e.children).forEach(([d,u])=>{l[d]=this.createSegmentGroup(r,u,a,t)}),new Q2(i,l)}createSegments(r,e,a,t){return e.map(i=>i.path.startsWith(":")?this.findPosParam(r,i,t):this.findOrReturn(i,a))}findPosParam(r,e,a){const t=a[e.path.substring(1)];if(!t)throw new l1(4001,!1);return t}findOrReturn(r,e){let a=0;for(const t of e){if(t.path===r.path)return e.splice(a),t;a++}return r}}const w_={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function _S1(c,r,e,a,t){const i=F_(c,r,e);return i.matched?(a=function Bk1(c,r){return c.providers&&!c._injector&&(c._injector=Uo(c.providers,r,`Route: ${c.path}`)),c._injector??r}(r,a),function dS1(c,r,e,a){const t=r.canMatch;return t&&0!==t.length?D1(t.map(l=>{const d=Ha(l,c);return v8(function cS1(c){return c&&ft(c.canMatch)}(d)?d.canMatch(r,e):N3(c,()=>d(r,e)))})).pipe(Ca(),AS()):D1(!0)}(a,r,e).pipe(X1(l=>!0===l?i:{...w_}))):D1(i)}function F_(c,r,e){if("**"===r.path)return function pS1(c){return{matched:!0,parameters:c.length>0?aS(c).parameters:{},consumedSegments:c,remainingSegments:[],positionalParamSegments:{}}}(e);if(""===r.path)return"full"===r.pathMatch&&(c.hasChildren()||e.length>0)?{...w_}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const t=(r.matcher||ZF1)(e,c,r);if(!t)return{...w_};const i={};Object.entries(t.posParams??{}).forEach(([d,u])=>{i[d]=u.path});const l=t.consumed.length>0?{...i,...t.consumed[t.consumed.length-1].parameters}:i;return{matched:!0,consumedSegments:t.consumed,remainingSegments:e.slice(t.consumed.length),parameters:l,positionalParamSegments:t.posParams??{}}}function PS(c,r,e,a){return e.length>0&&function HS1(c,r,e){return e.some(a=>Ss(c,r,a)&&Y0(a)!==d2)}(c,e,a)?{segmentGroup:new Q2(r,vS1(a,new Q2(e,c.children))),slicedSegments:[]}:0===e.length&&function CS1(c,r,e){return e.some(a=>Ss(c,r,a))}(c,e,a)?{segmentGroup:new Q2(c.segments,gS1(c,e,a,c.children)),slicedSegments:e}:{segmentGroup:new Q2(c.segments,c.children),slicedSegments:e}}function gS1(c,r,e,a){const t={};for(const i of e)if(Ss(c,r,i)&&!a[Y0(i)]){const l=new Q2([],{});t[Y0(i)]=l}return{...a,...t}}function vS1(c,r){const e={};e[d2]=r;for(const a of c)if(""===a.path&&Y0(a)!==d2){const t=new Q2([],{});e[Y0(a)]=t}return e}function Ss(c,r,e){return(!(c.hasChildren()||r.length>0)||"full"!==e.pathMatch)&&""===e.path}class MS1{}class bS1{constructor(r,e,a,t,i,l,d){this.injector=r,this.configLoader=e,this.rootComponentType=a,this.config=t,this.urlTree=i,this.paramsInheritanceStrategy=l,this.urlSerializer=d,this.applyRedirects=new mS1(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(r){return new l1(4002,`'${r.segmentGroup}'`)}recognize(){const r=PS(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(r).pipe(X1(e=>{const a=new C_([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},d2,this.rootComponentType,null,{}),t=new u0(a,e),i=new yS("",t),l=function _k1(c,r,e=null,a=null){return mS(hS(c),r,e,a)}(a,[],this.urlTree.queryParams,this.urlTree.fragment);return l.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(l),this.inheritParamsAndData(i._root,null),{state:i,tree:l}}))}match(r){return this.processSegmentGroup(this.injector,this.config,r,d2).pipe(da(a=>{if(a instanceof x_)return this.urlTree=a.urlTree,this.match(a.urlTree.root);throw a instanceof b_?this.noMatchError(a):a}))}inheritParamsAndData(r,e){const a=r.value,t=H_(a,e,this.paramsInheritanceStrategy);a.params=Object.freeze(t.params),a.data=Object.freeze(t.data),r.children.forEach(i=>this.inheritParamsAndData(i,a))}processSegmentGroup(r,e,a,t){return 0===a.segments.length&&a.hasChildren()?this.processChildren(r,e,a):this.processSegment(r,e,a,a.segments,t,!0).pipe(X1(i=>i instanceof u0?[i]:[]))}processChildren(r,e,a){const t=[];for(const i of Object.keys(a.children))"primary"===i?t.unshift(i):t.push(i);return k4(t).pipe(o8(i=>{const l=a.children[i],d=function jk1(c,r){const e=c.filter(a=>Y0(a)===r);return e.push(...c.filter(a=>Y0(a)!==r)),e}(e,i);return this.processSegmentGroup(r,d,l,i)}),function GF1(c,r){return i4(function YF1(c,r,e,a,t){return(i,l)=>{let d=e,u=r,p=0;i.subscribe(m2(l,z=>{const x=p++;u=d?c(u,z,x):(d=!0,z),a&&l.next(u)},t&&(()=>{d&&l.next(u),l.complete()})))}}(c,r,arguments.length>=2,!0))}((i,l)=>(i.push(...l),i)),fa(null),function qF1(c,r){const e=arguments.length>=2;return a=>a.pipe(c?d0((t,i)=>c(t,i,a)):s6,s_(1),e?fa(r):eS(()=>new Jr))}(),n3(i=>{if(null===i)return za(a);const l=RS(i);return function xS1(c){c.sort((r,e)=>r.value.outlet===d2?-1:e.value.outlet===d2?1:r.value.outlet.localeCompare(e.value.outlet))}(l),D1(l)}))}processSegment(r,e,a,t,i,l){return k4(e).pipe(o8(d=>this.processSegmentAgainstRoute(d._injector??r,e,d,a,t,i,l).pipe(da(u=>{if(u instanceof b_)return D1(null);throw u}))),g8(d=>!!d),da(d=>{if(ES(d))return function VS1(c,r,e){return 0===r.length&&!c.children[e]}(a,t,i)?D1(new MS1):za(a);throw d}))}processSegmentAgainstRoute(r,e,a,t,i,l,d){return function zS1(c,r,e,a){return!!(Y0(c)===a||a!==d2&&Ss(r,e,c))&&F_(r,c,e).matched}(a,t,i,l)?void 0===a.redirectTo?this.matchSegmentAgainstRoute(r,t,a,i,l):this.allowRedirects&&d?this.expandSegmentAgainstRouteUsingRedirect(r,t,e,a,i,l):za(t):za(t)}expandSegmentAgainstRouteUsingRedirect(r,e,a,t,i,l){const{matched:d,consumedSegments:u,positionalParamSegments:p,remainingSegments:z}=F_(e,t,i);if(!d)return za(e);t.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const x=this.applyRedirects.applyRedirectCommands(u,t.redirectTo,p);return this.applyRedirects.lineralizeSegments(t,x).pipe(n3(E=>this.processSegment(r,a,e,E.concat(z),l,!1)))}matchSegmentAgainstRoute(r,e,a,t,i){const l=_S1(e,a,t,r);return"**"===a.path&&(e.children={}),l.pipe(z3(d=>d.matched?this.getChildConfig(r=a._injector??r,a,t).pipe(z3(({routes:u})=>{const p=a._loadedInjector??r,{consumedSegments:z,remainingSegments:x,parameters:E}=d,P=new C_(z,E,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function FS1(c){return c.data||{}}(a),Y0(a),a.component??a._loadedComponent??null,a,function kS1(c){return c.resolve||{}}(a)),{segmentGroup:Y,slicedSegments:Z}=PS(e,z,x,u);if(0===Z.length&&Y.hasChildren())return this.processChildren(p,u,Y).pipe(X1(J=>null===J?null:new u0(P,J)));if(0===u.length&&0===Z.length)return D1(new u0(P,[]));const K=Y0(a)===i;return this.processSegment(p,u,Y,Z,K?d2:i,!0).pipe(X1(J=>new u0(P,J instanceof u0?[J]:[])))})):za(e)))}getChildConfig(r,e,a){return e.children?D1({routes:e.children,injector:r}):e.loadChildren?void 0!==e._loadedRoutes?D1({routes:e._loadedRoutes,injector:e._loadedInjector}):function fS1(c,r,e,a){const t=r.canLoad;return void 0===t||0===t.length?D1(!0):D1(t.map(l=>{const d=Ha(l,c);return v8(function Qk1(c){return c&&ft(c.canLoad)}(d)?d.canLoad(r,e):N3(c,()=>d(r,e)))})).pipe(Ca(),AS())}(r,e,a).pipe(n3(t=>t?this.configLoader.loadChildren(r,e).pipe(s3(i=>{e._loadedRoutes=i.routes,e._loadedInjector=i.injector})):function hS1(c){return ps(SS(!1,L6.GuardRejected))}())):D1({routes:[],injector:r})}}function wS1(c){const r=c.value.routeConfig;return r&&""===r.path}function RS(c){const r=[],e=new Set;for(const a of c){if(!wS1(a)){r.push(a);continue}const t=r.find(i=>a.value.routeConfig===i.value.routeConfig);void 0!==t?(t.children.push(...a.children),e.add(t)):r.push(a)}for(const a of e){const t=RS(a.children);r.push(new u0(a.value,t))}return r.filter(a=>!e.has(a))}function BS(c){const r=c.children.map(e=>BS(e)).flat();return[c,...r]}function k_(c){return z3(r=>{const e=c(r);return e?k4(e).pipe(X1(()=>r)):D1(r)})}let OS=(()=>{class c{buildTitle(e){let a,t=e.root;for(;void 0!==t;)a=this.getResolvedTitleForRoute(t)??a,t=t.children.find(i=>i.outlet===d2);return a}getResolvedTitleForRoute(e){return e.data[Xr]}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:()=>i1(AS1),providedIn:"root"})}return c})(),AS1=(()=>{class c extends OS{constructor(e){super(),this.title=e}updateTitle(e){const a=this.buildTitle(e);void 0!==a&&this.title.setTitle(a)}static#e=this.\u0275fac=function(a){return new(a||c)(d1(CF))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const Va=new H1("",{providedIn:"root",factory:()=>({})}),Ma=new H1("");let S_=(()=>{class c{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=i1(Ux)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return D1(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const a=v8(e.loadComponent()).pipe(X1(IS),s3(i=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=i}),Br(()=>{this.componentLoaders.delete(e)})),t=new Jk(a,()=>new G2).pipe(n_());return this.componentLoaders.set(e,t),t}loadChildren(e,a){if(this.childrenLoaders.get(a))return this.childrenLoaders.get(a);if(a._loadedRoutes)return D1({routes:a._loadedRoutes,injector:a._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(a);const i=function PS1(c,r,e,a){return v8(c.loadChildren()).pipe(X1(IS),n3(t=>t instanceof fy||Array.isArray(t)?D1(t):k4(r.compileModuleAsync(t))),X1(t=>{a&&a(c);let i,l,d=!1;return Array.isArray(t)?(l=t,!0):(i=t.create(e).injector,l=i.get(Ma,[],{optional:!0,self:!0}).flat()),{routes:l.map(y_),injector:i}}))}(a,this.compiler,e,this.onLoadEndListener).pipe(Br(()=>{this.childrenLoaders.delete(a)})),l=new Jk(i,()=>new G2).pipe(n_());return this.childrenLoaders.set(a,l),l}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function IS(c){return function RS1(c){return c&&"object"==typeof c&&"default"in c}(c)?c.default:c}let N_=(()=>{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:()=>i1(BS1),providedIn:"root"})}return c})(),BS1=(()=>{class c{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,a){return e}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const US=new H1(""),jS=new H1("");function OS1(c,r,e){const a=c.get(jS),t=c.get(B3);return c.get(C2).runOutsideAngular(()=>{if(!t.startViewTransition||a.skipNextTransition)return a.skipNextTransition=!1,Promise.resolve();let i;const l=new Promise(p=>{i=p}),d=t.startViewTransition(()=>(i(),function IS1(c){return new Promise(r=>{bL(r,{injector:c})})}(c))),{onViewTransitionCreated:u}=a;return u&&N3(c,()=>u({transition:d,from:r,to:e})),l})}let Ns=(()=>{class c{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new G2,this.transitionAbortSubject=new G2,this.configLoader=i1(S_),this.environmentInjector=i1(p3),this.urlSerializer=i1(ma),this.rootContexts=i1(it),this.location=i1(t8),this.inputBindingEnabled=null!==i1(ws,{optional:!0}),this.titleStrategy=i1(OS),this.options=i1(Va,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=i1(N_),this.createViewTransition=i1(US,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>D1(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=t=>this.events.next(new xk1(t)),this.configLoader.onLoadStartListener=t=>this.events.next(new bk1(t))}complete(){this.transitions?.complete()}handleNavigationRequest(e){const a=++this.navigationId;this.transitions?.next({...this.transitions.value,...e,id:a})}setupNavigations(e,a,t){return this.transitions=new a3({id:0,currentUrlTree:a,currentRawUrl:a,extractedUrl:this.urlHandlingStrategy.extract(a),urlAfterRedirects:this.urlHandlingStrategy.extract(a),rawUrl:a,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:tt,restoredState:null,currentSnapshot:t.snapshot,targetSnapshot:null,currentRouterState:t,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(d0(i=>0!==i.id),X1(i=>({...i,extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),z3(i=>{let l=!1,d=!1;return D1(i).pipe(z3(u=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",L6.SupersededByNewNavigation),U6;this.currentTransition=i,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const p=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!p&&"reload"!==(u.extras.onSameUrlNavigation??e.onSameUrlNavigation)){const x="";return this.events.next(new ga(u.id,this.urlSerializer.serialize(u.rawUrl),x,bs.IgnoredSameUrlNavigation)),u.resolve(null),U6}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return D1(u).pipe(z3(x=>{const E=this.transitions?.getValue();return this.events.next(new ys(x.id,this.urlSerializer.serialize(x.extractedUrl),x.source,x.restoredState)),E!==this.transitions?.getValue()?U6:Promise.resolve(x)}),function SS1(c,r,e,a,t,i){return n3(l=>function LS1(c,r,e,a,t,i,l="emptyOnly"){return new bS1(c,r,e,a,t,l,i).recognize()}(c,r,e,a,l.extractedUrl,t,i).pipe(X1(({state:d,tree:u})=>({...l,targetSnapshot:d,urlAfterRedirects:u}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),s3(x=>{i.targetSnapshot=x.targetSnapshot,i.urlAfterRedirects=x.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:x.urlAfterRedirects};const E=new CS(x.id,this.urlSerializer.serialize(x.extractedUrl),this.urlSerializer.serialize(x.urlAfterRedirects),x.targetSnapshot);this.events.next(E)}));if(p&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){const{id:x,extractedUrl:E,source:P,restoredState:Y,extras:Z}=u,K=new ys(x,this.urlSerializer.serialize(E),P,Y);this.events.next(K);const J=LS(this.rootComponentType).snapshot;return this.currentTransition=i={...u,targetSnapshot:J,urlAfterRedirects:E,extras:{...Z,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=E,D1(i)}{const x="";return this.events.next(new ga(u.id,this.urlSerializer.serialize(u.extractedUrl),x,bs.IgnoredByUrlHandlingStrategy)),u.resolve(null),U6}}),s3(u=>{const p=new Vk1(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(p)}),X1(u=>(this.currentTransition=i={...u,guards:Gk1(u.targetSnapshot,u.currentSnapshot,this.rootContexts)},i)),function aS1(c,r){return n3(e=>{const{targetSnapshot:a,currentSnapshot:t,guards:{canActivateChecks:i,canDeactivateChecks:l}}=e;return 0===l.length&&0===i.length?D1({...e,guardsResult:!0}):function rS1(c,r,e,a){return k4(c).pipe(n3(t=>function lS1(c,r,e,a,t){const i=r&&r.routeConfig?r.routeConfig.canDeactivate:null;return i&&0!==i.length?D1(i.map(d=>{const u=nt(r)??t,p=Ha(d,u);return v8(function eS1(c){return c&&ft(c.canDeactivate)}(p)?p.canDeactivate(c,r,e,a):N3(u,()=>p(c,r,e,a))).pipe(g8())})).pipe(Ca()):D1(!0)}(t.component,t.route,e,r,a)),g8(t=>!0!==t,!0))}(l,a,t,c).pipe(n3(d=>d&&function Kk1(c){return"boolean"==typeof c}(d)?function tS1(c,r,e,a){return k4(r).pipe(o8(t=>sa(function oS1(c,r){return null!==c&&r&&r(new wk1(c)),D1(!0)}(t.route.parent,a),function iS1(c,r){return null!==c&&r&&r(new kk1(c)),D1(!0)}(t.route,a),function sS1(c,r,e){const a=r[r.length-1],i=r.slice(0,r.length-1).reverse().map(l=>function qk1(c){const r=c.routeConfig?c.routeConfig.canActivateChild:null;return r&&0!==r.length?{node:c,guards:r}:null}(l)).filter(l=>null!==l).map(l=>fs(()=>D1(l.guards.map(u=>{const p=nt(l.node)??e,z=Ha(u,p);return v8(function Xk1(c){return c&&ft(c.canActivateChild)}(z)?z.canActivateChild(a,c):N3(p,()=>z(a,c))).pipe(g8())})).pipe(Ca())));return D1(i).pipe(Ca())}(c,t.path,e),function nS1(c,r,e){const a=r.routeConfig?r.routeConfig.canActivate:null;if(!a||0===a.length)return D1(!0);const t=a.map(i=>fs(()=>{const l=nt(r)??e,d=Ha(i,l);return v8(function Jk1(c){return c&&ft(c.canActivate)}(d)?d.canActivate(r,c):N3(l,()=>d(r,c))).pipe(g8())}));return D1(t).pipe(Ca())}(c,t.route,e))),g8(t=>!0!==t,!0))}(a,i,c,r):D1(d)),X1(d=>({...e,guardsResult:d})))})}(this.environmentInjector,u=>this.events.next(u)),s3(u=>{if(i.guardsResult=u.guardsResult,_a(u.guardsResult))throw kS(0,u.guardsResult);const p=new Mk1(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(p)}),d0(u=>!!u.guardsResult||(this.cancelNavigationTransition(u,"",L6.GuardRejected),!1)),k_(u=>{if(u.guards.canActivateChecks.length)return D1(u).pipe(s3(p=>{const z=new Lk1(p.id,this.urlSerializer.serialize(p.extractedUrl),this.urlSerializer.serialize(p.urlAfterRedirects),p.targetSnapshot);this.events.next(z)}),z3(p=>{let z=!1;return D1(p).pipe(function NS1(c,r){return n3(e=>{const{targetSnapshot:a,guards:{canActivateChecks:t}}=e;if(!t.length)return D1(e);const i=new Set(t.map(u=>u.route)),l=new Set;for(const u of i)if(!l.has(u))for(const p of BS(u))l.add(p);let d=0;return k4(l).pipe(o8(u=>i.has(u)?function DS1(c,r,e,a){const t=c.routeConfig,i=c._resolve;return void 0!==t?.title&&!xS(t)&&(i[Xr]=t.title),function TS1(c,r,e,a){const t=l_(c);if(0===t.length)return D1({});const i={};return k4(t).pipe(n3(l=>function ES1(c,r,e,a){const t=nt(r)??a,i=Ha(c,t);return v8(i.resolve?i.resolve(r,e):N3(t,()=>i(r,e)))}(c[l],r,e,a).pipe(g8(),s3(d=>{i[l]=d}))),s_(1),gs(i),da(l=>ES(l)?U6:ps(l)))}(i,c,r,a).pipe(X1(l=>(c._resolvedData=l,c.data=H_(c,c.parent,e).resolve,null)))}(u,a,c,r):(u.data=H_(u,u.parent,c).resolve,D1(void 0))),s3(()=>d++),s_(1),n3(u=>d===l.size?D1(e):U6))})}(this.paramsInheritanceStrategy,this.environmentInjector),s3({next:()=>z=!0,complete:()=>{z||this.cancelNavigationTransition(p,"",L6.NoDataFromResolver)}}))}),s3(p=>{const z=new yk1(p.id,this.urlSerializer.serialize(p.extractedUrl),this.urlSerializer.serialize(p.urlAfterRedirects),p.targetSnapshot);this.events.next(z)}))}),k_(u=>{const p=z=>{const x=[];z.routeConfig?.loadComponent&&!z.routeConfig._loadedComponent&&x.push(this.configLoader.loadComponent(z.routeConfig).pipe(s3(E=>{z.component=E}),X1(()=>{})));for(const E of z.children)x.push(...p(E));return x};return _s(p(u.targetSnapshot.root)).pipe(fa(null),M6(1))}),k_(()=>this.afterPreactivation()),z3(()=>{const{currentSnapshot:u,targetSnapshot:p}=i,z=this.createViewTransition?.(this.environmentInjector,u.root,p.root);return z?k4(z).pipe(X1(()=>i)):D1(i)}),X1(u=>{const p=function Ek1(c,r,e){const a=ot(c,r._root,e?e._root:void 0);return new MS(a,r)}(e.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=i={...u,targetRouterState:p},this.currentNavigation.targetRouterState=p,i}),s3(()=>{this.events.next(new __)}),((c,r,e,a)=>X1(t=>(new Yk1(r,t.targetRouterState,t.currentRouterState,e,a).activate(c),t)))(this.rootContexts,e.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),M6(1),s3({next:u=>{l=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new $0(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{l=!0}}),vs(this.transitionAbortSubject.pipe(s3(u=>{throw u}))),Br(()=>{!l&&!d&&this.cancelNavigationTransition(i,"",L6.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation=null,this.currentTransition=null)}),da(u=>{if(d=!0,NS(u))this.events.next(new pa(i.id,this.urlSerializer.serialize(i.extractedUrl),u.message,u.cancellationCode)),function Rk1(c){return NS(c)&&_a(c.url)}(u)?this.events.next(new p_(u.url)):i.resolve(!1);else{this.events.next(new xs(i.id,this.urlSerializer.serialize(i.extractedUrl),u,i.targetSnapshot??void 0));try{i.resolve(e.errorHandler(u))}catch(p){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(p)}}return U6}))}))}cancelNavigationTransition(e,a,t){const i=new pa(e.id,this.urlSerializer.serialize(e.extractedUrl),a,t);this.events.next(i),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function US1(c){return c!==tt}let jS1=(()=>{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:()=>i1(YS1),providedIn:"root"})}return c})();class $S1{shouldDetach(r){return!1}store(r,e){}shouldAttach(r){return!1}retrieve(r){return null}shouldReuseRoute(r,e){return r.routeConfig===e.routeConfig}}let YS1=(()=>{class c extends $S1{static#e=this.\u0275fac=(()=>{let e;return function(t){return(e||(e=b4(c)))(t||c)}})();static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),$S=(()=>{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:()=>i1(GS1),providedIn:"root"})}return c})(),GS1=(()=>{class c extends $S{constructor(){super(...arguments),this.location=i1(t8),this.urlSerializer=i1(ma),this.options=i1(Va,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=i1(N_),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new ha,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=LS(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(a=>{"popstate"===a.type&&e(a.url,a.state)})}handleRouterEvent(e,a){if(e instanceof ys)this.stateMemento=this.createStateMemento();else if(e instanceof ga)this.rawUrlTree=a.initialUrl;else if(e instanceof CS){if("eager"===this.urlUpdateStrategy&&!a.extras.skipLocationChange){const t=this.urlHandlingStrategy.merge(a.finalUrl,a.initialUrl);this.setBrowserUrl(t,a)}}else e instanceof __?(this.currentUrlTree=a.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(a.finalUrl,a.initialUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a))):e instanceof pa&&(e.code===L6.GuardRejected||e.code===L6.NoDataFromResolver)?this.restoreHistory(a):e instanceof xs?this.restoreHistory(a,!0):e instanceof $0&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,a){const t=this.urlSerializer.serialize(e);if(this.location.isCurrentPathEqualTo(t)||a.extras.replaceUrl){const l={...a.extras.state,...this.generateNgRouterState(a.id,this.browserPageId)};this.location.replaceState(t,"",l)}else{const i={...a.extras.state,...this.generateNgRouterState(a.id,this.browserPageId+1)};this.location.go(t,"",i)}}restoreHistory(e,a=!1){if("computed"===this.canceledNavigationResolution){const i=this.currentPageId-this.browserPageId;0!==i?this.location.historyGo(i):this.currentUrlTree===e.finalUrl&&0===i&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(a&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,a){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:a}:{navigationId:e}}static#e=this.\u0275fac=(()=>{let e;return function(t){return(e||(e=b4(c)))(t||c)}})();static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();var dt=function(c){return c[c.COMPLETE=0]="COMPLETE",c[c.FAILED=1]="FAILED",c[c.REDIRECTING=2]="REDIRECTING",c}(dt||{});function YS(c,r){c.events.pipe(d0(e=>e instanceof $0||e instanceof pa||e instanceof xs||e instanceof ga),X1(e=>e instanceof $0||e instanceof ga?dt.COMPLETE:e instanceof pa&&(e.code===L6.Redirect||e.code===L6.SupersededByNewNavigation)?dt.REDIRECTING:dt.FAILED),d0(e=>e!==dt.REDIRECTING),M6(1)).subscribe(()=>{r()})}function qS1(c){throw c}const WS1={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ZS1={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Z1=(()=>{class c{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.isNgZoneEnabled=!1,this.console=i1(Nx),this.stateManager=i1($S),this.options=i1(Va,{optional:!0})||{},this.pendingTasks=i1(Ke),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=i1(Ns),this.urlSerializer=i1(ma),this.location=i1(t8),this.urlHandlingStrategy=i1(N_),this._events=new G2,this.errorHandler=this.options.errorHandler||qS1,this.navigated=!1,this.routeReuseStrategy=i1(jS1),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=i1(Ma,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!i1(ws,{optional:!0}),this.eventsSubscription=new c3,this.isNgZoneEnabled=i1(C2)instanceof C2&&C2.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const e=this.navigationTransitions.events.subscribe(a=>{try{const t=this.navigationTransitions.currentTransition,i=this.navigationTransitions.currentNavigation;if(null!==t&&null!==i)if(this.stateManager.handleRouterEvent(a,i),a instanceof pa&&a.code!==L6.Redirect&&a.code!==L6.SupersededByNewNavigation)this.navigated=!0;else if(a instanceof $0)this.navigated=!0;else if(a instanceof p_){const l=this.urlHandlingStrategy.merge(a.url,t.currentRawUrl),d={info:t.extras.info,skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||US1(t.source)};this.scheduleNavigation(l,tt,null,d,{resolve:t.resolve,reject:t.reject,promise:t.promise})}(function QS1(c){return!(c instanceof __||c instanceof p_)})(a)&&this._events.next(a)}catch(t){this.navigationTransitions.transitionAbortSubject.next(t)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),tt,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,a)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",a)},0)})}navigateToSyncWithBrowser(e,a,t){const i={replaceUrl:!0},l=t?.navigationId?t:null;if(t){const u={...t};delete u.navigationId,delete u.\u0275routerPageId,0!==Object.keys(u).length&&(i.state=u)}const d=this.parseUrl(e);this.scheduleNavigation(d,a,l,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(y_),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(e,a={}){const{relativeTo:t,queryParams:i,fragment:l,queryParamsHandling:d,preserveFragment:u}=a,p=u?this.currentUrlTree.fragment:l;let x,z=null;switch(d){case"merge":z={...this.currentUrlTree.queryParams,...i};break;case"preserve":z=this.currentUrlTree.queryParams;break;default:z=i||null}null!==z&&(z=this.removeEmptyProps(z));try{x=hS(t?t.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof e[0]||!e[0].startsWith("/"))&&(e=[]),x=this.currentUrlTree.root}return mS(x,e,z,p??null)}navigateByUrl(e,a={skipLocationChange:!1}){const t=_a(e)?e:this.parseUrl(e),i=this.urlHandlingStrategy.merge(t,this.rawUrlTree);return this.scheduleNavigation(i,tt,null,a)}navigate(e,a={skipLocationChange:!1}){return function KS1(c){for(let r=0;r(null!=i&&(a[t]=i),a),{})}scheduleNavigation(e,a,t,i,l){if(this.disposed)return Promise.resolve(!1);let d,u,p;l?(d=l.resolve,u=l.reject,p=l.promise):p=new Promise((x,E)=>{d=x,u=E});const z=this.pendingTasks.add();return YS(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(z))}),this.navigationTransitions.handleNavigationRequest({source:a,restoredState:t,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:i,resolve:d,reject:u,promise:p,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),p.catch(x=>Promise.reject(x))}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();class GS{}let eN1=(()=>{class c{constructor(e,a,t,i,l){this.router=e,this.injector=t,this.preloadingStrategy=i,this.loader=l}setUpPreloading(){this.subscription=this.router.events.pipe(d0(e=>e instanceof $0),o8(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,a){const t=[];for(const i of a){i.providers&&!i._injector&&(i._injector=Uo(i.providers,e,`Route: ${i.path}`));const l=i._injector??e,d=i._loadedInjector??l;(i.loadChildren&&!i._loadedRoutes&&void 0===i.canLoad||i.loadComponent&&!i._loadedComponent)&&t.push(this.preloadConfig(l,i)),(i.children||i._loadedRoutes)&&t.push(this.processRoutes(d,i.children??i._loadedRoutes))}return k4(t).pipe(na())}preloadConfig(e,a){return this.preloadingStrategy.preload(a,()=>{let t;t=a.loadChildren&&void 0===a.canLoad?this.loader.loadChildren(e,a):D1(null);const i=t.pipe(n3(l=>null===l?D1(void 0):(a._loadedRoutes=l.routes,a._loadedInjector=l.injector,this.processRoutes(l.injector??e,l.routes))));return a.loadComponent&&!a._loadedComponent?k4([i,this.loader.loadComponent(a)]).pipe(na()):i})}static#e=this.\u0275fac=function(a){return new(a||c)(d1(Z1),d1(Ux),d1(p3),d1(GS),d1(S_))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const T_=new H1("");let qS=(()=>{class c{constructor(e,a,t,i,l={}){this.urlSerializer=e,this.transitions=a,this.viewportScroller=t,this.zone=i,this.options=l,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},l.scrollPositionRestoration||="disabled",l.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof ys?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof $0?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof ga&&e.code===bs.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof zS&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,a){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new zS(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,a))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(a){!function $M(){throw new Error("invalid")}()};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();function G0(c,r){return{\u0275kind:c,\u0275providers:r}}function ZS(){const c=i1(A3);return r=>{const e=c.get(e8);if(r!==e.components[0])return;const a=c.get(Z1),t=c.get(KS);1===c.get(E_)&&a.initialNavigation(),c.get(QS,null,u2.Optional)?.setUpPreloading(),c.get(T_,null,u2.Optional)?.init(),a.resetRootComponentType(e.componentTypes[0]),t.closed||(t.next(),t.complete(),t.unsubscribe())}}const KS=new H1("",{factory:()=>new G2}),E_=new H1("",{providedIn:"root",factory:()=>1}),QS=new H1("");function tN1(c){return G0(0,[{provide:QS,useExisting:eN1},{provide:GS,useExisting:c}])}function oN1(c){return G0(9,[{provide:US,useValue:OS1},{provide:jS,useValue:{skipNextTransition:!!c?.skipInitialTransition,...c}}])}const JS=new H1("ROUTER_FORROOT_GUARD"),nN1=[t8,{provide:ma,useClass:f_},Z1,it,{provide:j3,useFactory:function WS(c){return c.routerState.root},deps:[Z1]},S_,[]];let XS=(()=>{class c{constructor(e){}static forRoot(e,a){return{ngModule:c,providers:[nN1,[],{provide:Ma,multi:!0,useValue:e},{provide:JS,useFactory:dN1,deps:[[Z1,new B2,new Z5]]},{provide:Va,useValue:a||{}},a?.useHash?{provide:r8,useClass:YL1}:{provide:r8,useClass:Sw},{provide:T_,useFactory:()=>{const c=i1(nb1),r=i1(C2),e=i1(Va),a=i1(Ns),t=i1(ma);return e.scrollOffset&&c.setOffset(e.scrollOffset),new qS(t,a,c,r,e)}},a?.preloadingStrategy?tN1(a.preloadingStrategy).\u0275providers:[],a?.initialNavigation?uN1(a):[],a?.bindToComponentInputs?G0(8,[wS,{provide:ws,useExisting:wS}]).\u0275providers:[],a?.enableViewTransitions?oN1().\u0275providers:[],[{provide:eN,useFactory:ZS},{provide:Th,multi:!0,useExisting:eN}]]}}static forChild(e){return{ngModule:c,providers:[{provide:Ma,multi:!0,useValue:e}]}}static#e=this.\u0275fac=function(a){return new(a||c)(d1(JS,8))};static#c=this.\u0275mod=M4({type:c});static#a=this.\u0275inj=g4({})}return c})();function dN1(c){return"guarded"}function uN1(c){return["disabled"===c.initialNavigation?G0(3,[{provide:hn,multi:!0,useFactory:()=>{const r=i1(Z1);return()=>{r.setUpLocationChangeListener()}}},{provide:E_,useValue:2}]).\u0275providers:[],"enabledBlocking"===c.initialNavigation?G0(2,[{provide:E_,useValue:0},{provide:hn,multi:!0,deps:[A3],useFactory:r=>{const e=r.get(jL1,Promise.resolve());return()=>e.then(()=>new Promise(a=>{const t=r.get(Z1),i=r.get(KS);YS(t,()=>{a(!0)}),r.get(Ns).afterPreactivation=()=>(a(!0),i.closed?D1(void 0):i),t.initialNavigation()}))}}]).\u0275providers:[]]}const eN=new H1("");function z2(c,r){const e="object"==typeof r;return new Promise((a,t)=>{let l,i=!1;c.subscribe({next:d=>{l=d,i=!0},error:t,complete:()=>{i?a(l):e?a(r.defaultValue):t(new Jr)}})})}const _1={BASE_URL:"",LEGACY_PREFIX:"/ux",PRODUCT_CATALOG:"/catalog",SERVICE:"/service",RESOURCE:"/resource",PRODUCT_SPEC:"/productSpecification",SERVICE_SPEC:"/serviceSpecification",RESOURCE_SPEC:"/resourceSpecification",ACCOUNT:"/account",SHOPPING_CART:"/shoppingCart",INVENTORY:"/inventory",PRODUCT_ORDER:"/ordering",PRODUCT_LIMIT:6,CATALOG_LIMIT:8,INVENTORY_LIMIT:6,INVENTORY_RES_LIMIT:8,INVENTORY_SERV_LIMIT:8,PROD_SPEC_LIMIT:6,SERV_SPEC_LIMIT:6,RES_SPEC_LIMIT:6,ORDER_LIMIT:6,CATEGORY_LIMIT:100,SIOP:!0,TAX_RATE:20,CHAT_API:"https://eng-gpt.dome-marketplace-dev.org/predict",SIOP_INFO:{enabled:!1,isRedirection:!1,pollPath:"",pollCertPath:"",clientID:"",callbackURL:"",verifierHost:"",verifierQRCodePath:"",requestUri:""},MATOMO_TRACKER_URL:"",MATOMO_SITE_ID:"",TICKETING_SYSTEM_URL:"",KNOWLEDGE_BASE_URL:"",SEARCH_ENABLED:!0,PURCHASE_ENABLED:!1,DOME_TRUST_LINK:"https://dome-certification.dome-marketplace.org",DOME_ABOUT_LINK:"",DOME_REGISTER_LINK:"",DOME_PUBLISH_LINK:""};class p1{static#e=this.BASE_URL=_1.BASE_URL;static#c=this.API_PRODUCT=_1.PRODUCT_CATALOG;static#a=this.PRODUCT_LIMIT=_1.PRODUCT_LIMIT;static#r=this.CATALOG_LIMIT=_1.CATALOG_LIMIT;static#t=this.CATEGORY_LIMIT=_1.CATEGORY_LIMIT;constructor(r,e){this.http=r,this.localStorage=e}getProducts(r,e){let a=`${p1.BASE_URL}${p1.API_PRODUCT}/productOffering?limit=${p1.PRODUCT_LIMIT}&offset=${r}&lifecycleStatus=Launched`;return null!=e&&(a=a+"&keyword="+e),z2(this.http.get(a))}getProductsByCategory(r,e,a){let t="";for(let u=0;u0){for(let u=0;u0){for(let t=0;t0){for(let d=0;d{let i=function vN1(c){return c instanceof Date&&!isNaN(c)}(c)?+c-e.now():c;i<0&&(i=0);let l=0;return e.schedule(function(){t.closed||(t.next(l++),0<=a?this.schedule(void 0,a):t.complete())},i)})}class h0{static#e=this.BASE_URL=_1.BASE_URL;constructor(r,e){this.http=r,this.localStorage=e}getLogin(r){let e=`${h0.BASE_URL}/logintoken`,a={};return"local"!=r&&(a={headers:(new z6).set("Authorization","Bearer "+r)}),z2(this.http.get(e,a))}doLogin(){let r=`${h0.BASE_URL}/login`;console.log("-- login --"),this.http.get(r,{observe:"response"}).subscribe({next:e=>console.log(e),error:e=>console.error(e),complete:()=>console.info("complete")})}logout(){let r=`${h0.BASE_URL}/logout`;return console.log("-- logout --"),z2(this.http.get(r))}static#c=this.\u0275fac=function(e){return new(e||h0)(d1(U3),d1(R1))};static#a=this.\u0275prov=g1({token:h0,factory:h0.\u0275fac,providedIn:"root"})}let cN=(()=>{class c{constructor(e,a,t){this.localStorage=e,this.api=a,this.router=t}startInterval(e,a){this.intervalObservable=function HN1(c=0,r=A_){return c<0&&(c=0),Ts(c,c,r)}(e),console.log("start interval"),console.log(e),this.intervalSubscription=this.intervalObservable.subscribe(()=>{console.log("login subscription"),console.log(a.expire-s2().unix()),console.log(a.expire-s2().unix()<=5),console.log(a.expire-s2().unix()-5);let t=this.localStorage.getObject("login_items");console.log("usuario antes"),console.log(t),0==_1.SIOP_INFO.enabled?this.api.getLogin(t.token).then(i=>{this.stopInterval(),this.localStorage.setObject("login_items",{id:i.id,user:i.username,email:i.email,token:i.accessToken,expire:i.expire,partyId:t.partyId,roles:i.roles,organizations:t.organizations,logged_as:t.logged_as}),console.log("usuario despues"),console.log(this.localStorage.getObject("login_items")),this.startInterval(1e3*(i.expire-s2().unix()-4),i)}):(this.stopInterval(),this.localStorage.setObject("login_items",{}),this.api.logout().catch(i=>{console.log("Something happened"),console.log(i)}),this.router.navigate(["/dashboard"]).then(()=>{console.log("LOGOUT MADE"),window.location.reload()}).catch(i=>{console.log("Something happened router"),console.log(i)}))})}stopInterval(){this.intervalSubscription&&(console.log("stop interval"),this.intervalSubscription.unsubscribe())}static#e=this.\u0275fac=function(a){return new(a||c)(d1(R1),d1(h0),d1(Z1))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();var j_={prefix:"fass",iconName:"arrow-right-from-bracket",icon:[512,512,["sign-out"],"f08b","M502.6 278.6L525.3 256l-22.6-22.6-128-128L352 82.7 306.7 128l22.6 22.6L402.7 224 192 224l-32 0 0 64 32 0 210.7 0-73.4 73.4L306.7 384 352 429.3l22.6-22.6 128-128zM160 96l32 0 0-64-32 0L32 32 0 32 0 64 0 448l0 32 32 0 128 0 32 0 0-64-32 0-96 0L64 96l96 0z"]},uT={prefix:"fass",iconName:"users",icon:[640,512,[],"f0c0","M144 0a80 80 0 1 1 0 160A80 80 0 1 1 144 0zM512 0a80 80 0 1 1 0 160A80 80 0 1 1 512 0zM48 192H196c-2.6 10.2-4 21-4 32c0 38.2 16.8 72.5 43.3 96H0L48 192zM640 320H404.7c26.6-23.5 43.3-57.8 43.3-96c0-11-1.4-21.8-4-32H592l48 128zM224 224a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zM464 352l48 160H128l48-160H464z"]},eE={prefix:"fass",iconName:"user",icon:[448,512,[128100,62144],"f007","M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zM448 512L384 304H64L0 512H448z"]},La={prefix:"fass",iconName:"address-card",icon:[576,512,[62140,"contact-card","vcard"],"f2bb","M576 32H0V480H576V32zM256 288l32 96H64l32-96H256zM112 192a64 64 0 1 1 128 0 64 64 0 1 1 -128 0zm256-32H496h16v32H496 368 352V160h16zm0 64H496h16v32H496 368 352V224h16zm0 64H496h16v32H496 368 352V288h16z"]},IR={prefix:"fass",iconName:"clipboard-check",icon:[384,512,[],"f46c","M192 0c-41.8 0-77.4 26.7-90.5 64H0V512H384V64H282.5C269.4 26.7 233.8 0 192 0zm0 64a32 32 0 1 1 0 64 32 32 0 1 1 0-64zM297 273L185 385l-17 17-17-17L87 321l-17-17L104 270.1l17 17 47 47 95-95 17-17L313.9 256l-17 17z"]},ya={prefix:"fass",iconName:"cart-shopping",icon:[576,512,[128722,"shopping-cart"],"f07a","M24 0H0V48H24 76.1l60.3 316.5 3.7 19.5H160 488h24V336H488 179.9l-9.1-48H496L576 32H122l-2.4-12.5L115.9 0H96 24zM176 512a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm336-48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0z"]},Js={prefix:"fass",iconName:"boxes-stacked",icon:[576,512,[62625,"boxes","boxes-alt"],"f468","M248 0H160V224H416V0H328V96H248V0zM104 256H0V512H288V256H184v96H104V256zM576 512V256H472v96H392V256H320V512H576z"]},_$={prefix:"fass",iconName:"gears",icon:[640,512,["cogs"],"f085","M125 8h70l10 48.1c13.8 5.2 26.5 12.7 37.5 22L285.6 64 320 123.4l-33.9 30.3c1.3 7.3 1.9 14.7 1.9 22.3s-.7 15.1-1.9 22.3L320 228.6 285.6 288l-43.1-14.2c-11.1 9.3-23.7 16.8-37.5 22L195 344H125l-10-48.1c-13.8-5.2-26.5-12.7-37.5-22L34.4 288 0 228.6l33.9-30.3C32.7 191.1 32 183.6 32 176s.7-15.1 1.9-22.3L0 123.4 34.4 64 77.5 78.2c11.1-9.3 23.7-16.8 37.5-22L125 8zm83 168a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM632 386.4l-47.8 9.8c-4.9 13.4-12 25.8-20.9 36.7l15 44.8L517.7 512l-30.9-34c-7.4 1.3-15 2-22.7 2s-15.4-.7-22.7-2l-30.9 34-60.6-34.4 15-44.8c-8.9-10.9-16-23.3-20.9-36.7L296 386.4V317.6l47.8-9.8c4.9-13.4 12-25.8 20.9-36.7l-15-44.8L410.3 192l30.9 34c7.4-1.3 15-2 22.7-2s15.4 .7 22.7 2l30.9-34 60.6 34.4-15 44.8c8.9 10.9 16 23.3 20.9 36.7l47.8 9.8v68.7zM464 400a48 48 0 1 0 0-96 48 48 0 1 0 0 96z"]},jp={prefix:"fass",iconName:"angles-left",icon:[512,512,[171,"angle-double-left"],"f100","M41.4 278.6L18.7 256l22.6-22.6 160-160L224 50.7 269.3 96l-22.6 22.6L109.3 256 246.6 393.4 269.3 416 224 461.3l-22.6-22.6-160-160zm192 0L210.7 256l22.6-22.6 160-160L416 50.7 461.3 96l-22.6 22.6L301.3 256 438.6 393.4 461.3 416 416 461.3l-22.6-22.6-160-160z"]},bY={prefix:"fass",iconName:"hand-holding-box",icon:[576,512,[],"f47b","M224 128V0H96V256H480V0H352V128L288 96l-64 32zM140 327L68.8 384H0V512H32 224 384h12.4l10.2-7 128-88 33-22.7-45.3-65.9-33 22.7-94.5 65H256V384h32 64 32V320H352 288 224 160 148.8l-8.8 7z"]},RY={prefix:"fass",iconName:"brain",icon:[512,512,[129504],"f5dc","M240 0V56 456v56H184c-28.9 0-52.7-21.9-55.7-50.1c-5.2 1.4-10.7 2.1-16.3 2.1c-35.3 0-64-28.7-64-64c0-7.4 1.3-14.6 3.6-21.2C21.4 367.4 0 338.2 0 304c0-31.9 18.7-59.5 45.8-72.3C37.1 220.8 32 207 32 192c0-30.7 21.6-56.3 50.4-62.6C80.8 123.9 80 118 80 112c0-29.9 20.6-55.1 48.3-62.1C131.3 21.9 155.1 0 184 0h56zm32 0h56c28.9 0 52.6 21.9 55.7 49.9c27.8 7 48.3 32.1 48.3 62.1c0 6-.8 11.9-2.4 17.4c28.8 6.2 50.4 31.9 50.4 62.6c0 15-5.1 28.8-13.8 39.7C493.3 244.5 512 272.1 512 304c0 34.2-21.4 63.4-51.6 74.8c2.3 6.6 3.6 13.8 3.6 21.2c0 35.3-28.7 64-64 64c-5.6 0-11.1-.7-16.3-2.1c-3 28.2-26.8 50.1-55.7 50.1H272V456 56 0z"]};const vG={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let a9;const PS2=new Uint8Array(16);function RS2(){if(!a9&&(a9=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!a9))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return a9(PS2)}const u3=[];for(let c=0;c<256;++c)u3.push((c+256).toString(16).slice(1));const B4=function BS2(c,r,e){if(vG.randomUUID&&!r&&!c)return vG.randomUUID();const a=(c=c||{}).random||(c.rng||RS2)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,r){e=e||0;for(let t=0;t<16;++t)r[e+t]=a[t];return r}return function HG(c,r=0){return u3[c[r+0]]+u3[c[r+1]]+u3[c[r+2]]+u3[c[r+3]]+"-"+u3[c[r+4]]+u3[c[r+5]]+"-"+u3[c[r+6]]+u3[c[r+7]]+"-"+u3[c[r+8]]+u3[c[r+9]]+"-"+u3[c[r+10]]+u3[c[r+11]]+u3[c[r+12]]+u3[c[r+13]]+u3[c[r+14]]+u3[c[r+15]]}(a)};let CG=(()=>{class c{constructor(){}get intervalId(){return this._intervalId}set intervalId(e){this._intervalId=e}fetchServer(e,a,t,i){let d=new URL(window.location.href).origin;fetch(`${_1.BASE_URL}${t}?state=${a}&callback_url=${d}`).then(u=>{400!==u.status&&500!==u.status?401!==u.status&&(this.stopChecking(e),e.close(),i(u)):this.stopChecking(e)}).catch(u=>{this.stopChecking(e)})}poll(e,a,t,i){null!=e&&(this.intervalId=window.setInterval(()=>{this.fetchServer(e,a,t,i)},1e3,e,a),window.setTimeout(d=>{this.stopChecking(d)},45e3,e))}launchPopup(e,a,t,i){window,window,window,window;window.innerWidth?window:document.documentElement.clientWidth?document:screen;const P=(window.innerHeight?window:document.documentElement.clientHeight?document:screen,window,window.open(e,"_blank"));return P?.focus(),P}pollCertCredential(e,a){return new Promise((t,i)=>{this.poll(e,a,_1.SIOP_INFO.pollCertPath,function(){var l=M(function*(d){let u=yield d.json();t(u)});return function(d){return l.apply(this,arguments)}}())})}pollServer(e,a){this.poll(e,a,_1.SIOP_INFO.pollPath,()=>{window.location.replace("/dashboard?token=local")})}stopChecking(e){null!=this.intervalId&&(e.closed||e.close(),clearInterval(this.intervalId),this.intervalId=void 0)}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function zG(c,r){var e=Object.keys(c);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(c);r&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(c,t).enumerable})),e.push.apply(e,a)}return e}function N1(c){for(var r=1;rc.length)&&(r=c.length);for(var e=0,a=new Array(r);e0;)r+=dN2[62*Math.random()|0];return r}function xa(c){for(var r=[],e=(c||[]).length>>>0;e--;)r[e]=c[e];return r}function og(c){return c.classList?xa(c.classList):(c.getAttribute("class")||"").split(" ").filter(function(r){return r})}function BG(c){return"".concat(c).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function d9(c){return Object.keys(c||{}).reduce(function(r,e){return r+"".concat(e,": ").concat(c[e].trim(),";")},"")}function ng(c){return c.size!==q0.size||c.x!==q0.x||c.y!==q0.y||c.rotate!==q0.rotate||c.flipX||c.flipY}var _N2=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, 0));\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function OG(){var c=NG,r=DG,e=A1.cssPrefix,a=A1.replacementClass,t=_N2;if(e!==c||a!==r){var i=new RegExp("\\.".concat(c,"\\-"),"g"),l=new RegExp("\\--".concat(c,"\\-"),"g"),d=new RegExp("\\.".concat(r),"g");t=t.replace(i,".".concat(e,"-")).replace(l,"--".concat(e,"-")).replace(d,".".concat(a))}return t}var IG=!1;function sg(){A1.autoAddCss&&!IG&&(function fN2(c){if(c&&ve){var r=n4.createElement("style");r.setAttribute("type","text/css"),r.innerHTML=c;for(var e=n4.head.childNodes,a=null,t=e.length-1;t>-1;t--){var i=e[t],l=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(l)>-1&&(a=i)}n4.head.insertBefore(r,a)}}(OG()),IG=!0)}var pN2={mixout:function(){return{dom:{css:OG,insertCss:sg}}},hooks:function(){return{beforeDOMElementCreation:function(){sg()},beforeI2svg:function(){sg()}}}},Ce=H8||{};Ce[He]||(Ce[He]={}),Ce[He].styles||(Ce[He].styles={}),Ce[He].hooks||(Ce[He].hooks={}),Ce[He].shims||(Ce[He].shims=[]);var m0=Ce[He],UG=[],u9=!1;function wt(c){var r=c.tag,e=c.attributes,a=void 0===e?{}:e,t=c.children,i=void 0===t?[]:t;return"string"==typeof c?BG(c):"<".concat(r," ").concat(function uN2(c){return Object.keys(c||{}).reduce(function(r,e){return r+"".concat(e,'="').concat(BG(c[e]),'" ')},"").trim()}(a),">").concat(i.map(wt).join(""),"")}function jG(c,r,e){if(c&&c[r]&&c[r][e])return{prefix:r,iconName:e,icon:c[r][e]}}ve&&((u9=(n4.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(n4.readyState))||n4.addEventListener("DOMContentLoaded",function c(){n4.removeEventListener("DOMContentLoaded",c),u9=1,UG.map(function(r){return r()})}));var lg=function(r,e,a,t){var u,p,z,i=Object.keys(r),l=i.length,d=void 0!==t?function(r,e){return function(a,t,i,l){return r.call(e,a,t,i,l)}}(e,t):e;for(void 0===a?(u=1,z=r[i[0]]):(u=0,z=a);u=55296&&t<=56319&&e2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,t=void 0!==a&&a,i=$G(r);"function"!=typeof m0.hooks.addPack||t?m0.styles[c]=N1(N1({},m0.styles[c]||{}),i):m0.hooks.addPack(c,$G(r)),"fas"===c&&dg("fa",r)}var h9,m9,_9,wa=m0.styles,VN2=m0.shims,MN2=(J4(h9={},s4,Object.values(Mt[s4])),J4(h9,v4,Object.values(Mt[v4])),h9),ug=null,YG={},GG={},qG={},WG={},ZG={},LN2=(J4(m9={},s4,Object.keys(zt[s4])),J4(m9,v4,Object.keys(zt[v4])),m9);var KG=function(){var r=function(i){return lg(wa,function(l,d,u){return l[u]=lg(d,i,{}),l},{})};YG=r(function(t,i,l){return i[3]&&(t[i[3]]=l),i[2]&&i[2].filter(function(u){return"number"==typeof u}).forEach(function(u){t[u.toString(16)]=l}),t}),GG=r(function(t,i,l){return t[l]=l,i[2]&&i[2].filter(function(u){return"string"==typeof u}).forEach(function(u){t[u]=l}),t}),ZG=r(function(t,i,l){var d=i[2];return t[l]=l,d.forEach(function(u){t[u]=l}),t});var e="far"in wa||A1.autoFetchSvg,a=lg(VN2,function(t,i){var l=i[0],d=i[1],u=i[2];return"far"===d&&!e&&(d="fas"),"string"==typeof l&&(t.names[l]={prefix:d,iconName:u}),"number"==typeof l&&(t.unicodes[l.toString(16)]={prefix:d,iconName:u}),t},{names:{},unicodes:{}});qG=a.names,WG=a.unicodes,ug=p9(A1.styleDefault,{family:A1.familyDefault})};function hg(c,r){return(YG[c]||{})[r]}function _5(c,r){return(ZG[c]||{})[r]}function QG(c){return qG[c]||{prefix:null,iconName:null}}function z8(){return ug}(function lN2(c){bt.push(c)})(function(c){ug=p9(c.styleDefault,{family:A1.familyDefault})}),KG();var mg=function(){return{prefix:null,iconName:null,rest:[]}};function p9(c){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,a=void 0===e?s4:e;return Vt[a][c]||Vt[a][zt[a][c]]||(c in m0.styles?c:null)||null}var JG=(J4(_9={},s4,Object.keys(Mt[s4])),J4(_9,v4,Object.keys(Mt[v4])),_9);function g9(c){var r,a=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,t=void 0!==a&&a,i=(J4(r={},s4,"".concat(A1.cssPrefix,"-").concat(s4)),J4(r,v4,"".concat(A1.cssPrefix,"-").concat(v4)),r),l=null,d=s4;(c.includes(i[s4])||c.some(function(p){return JG[s4].includes(p)}))&&(d=s4),(c.includes(i[v4])||c.some(function(p){return JG[v4].includes(p)}))&&(d=v4);var u=c.reduce(function(p,z){var x=function bN2(c,r){var e=r.split("-"),a=e[0],t=e.slice(1).join("-");return a!==c||""===t||function yN2(c){return~iN2.indexOf(c)}(t)?null:t}(A1.cssPrefix,z);if(wa[z]?(z=MN2[d].includes(z)?XS2[d][z]:z,l=z,p.prefix=z):LN2[d].indexOf(z)>-1?(l=z,p.prefix=p9(z,{family:d})):x?p.iconName=x:z!==A1.replacementClass&&z!==i[s4]&&z!==i[v4]&&p.rest.push(z),!t&&p.prefix&&p.iconName){var E="fa"===l?QG(p.iconName):{},P=_5(p.prefix,p.iconName);E.prefix&&(l=null),p.iconName=E.iconName||P||p.iconName,p.prefix=E.prefix||p.prefix,"far"===p.prefix&&!wa.far&&wa.fas&&!A1.autoFetchSvg&&(p.prefix="fas")}return p},mg());return(c.includes("fa-brands")||c.includes("fab"))&&(u.prefix="fab"),(c.includes("fa-duotone")||c.includes("fad"))&&(u.prefix="fad"),!u.prefix&&d===v4&&(wa.fass||A1.autoFetchSvg)&&(u.prefix="fass",u.iconName=_5(u.prefix,u.iconName)||u.iconName),("fa"===u.prefix||"fa"===l)&&(u.prefix=z8()||"fas"),u}var FN2=function(){function c(){(function OS2(c,r){if(!(c instanceof r))throw new TypeError("Cannot call a class as a function")})(this,c),this.definitions={}}return function IS2(c,r,e){r&&VG(c.prototype,r),e&&VG(c,e),Object.defineProperty(c,"prototype",{writable:!1})}(c,[{key:"add",value:function(){for(var e=this,a=arguments.length,t=new Array(a),i=0;i0&&z.forEach(function(x){"string"==typeof x&&(e[d][x]=p)}),e[d][u]=p}),e}}]),c}(),XG=[],Fa={},ka={},kN2=Object.keys(ka);function _g(c,r){for(var e=arguments.length,a=new Array(e>2?e-2:0),t=2;t1?r-1:0),a=1;a0&&void 0!==arguments[0]?arguments[0]:{};return ve?(p5("beforeI2svg",r),ze("pseudoElements2svg",r),ze("i2svg",r)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=r.autoReplaceSvgRoot;!1===A1.autoReplaceSvg&&(A1.autoReplaceSvg=!0),A1.observeMutations=!0,function vN2(c){ve&&(u9?setTimeout(c,0):UG.push(c))}(function(){EN2({autoReplaceSvgRoot:e}),p5("watch",r)})}},y6={noAuto:function(){A1.autoReplaceSvg=!1,A1.observeMutations=!1,p5("noAuto")},config:A1,dom:DN2,parse:{icon:function(r){if(null===r)return null;if("object"===r9(r)&&r.prefix&&r.iconName)return{prefix:r.prefix,iconName:_5(r.prefix,r.iconName)||r.iconName};if(Array.isArray(r)&&2===r.length){var e=0===r[1].indexOf("fa-")?r[1].slice(3):r[1],a=p9(r[0]);return{prefix:a,iconName:_5(a,e)||e}}if("string"==typeof r&&(r.indexOf("".concat(A1.cssPrefix,"-"))>-1||r.match(eN2))){var t=g9(r.split(" "),{skipLookups:!0});return{prefix:t.prefix||z8(),iconName:_5(t.prefix,t.iconName)||t.iconName}}if("string"==typeof r){var i=z8();return{prefix:i,iconName:_5(i,r)||r}}}},library:eq,findIconDefinition:pg,toHtml:wt},EN2=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,a=void 0===e?n4:e;(Object.keys(m0.styles).length>0||A1.autoFetchSvg)&&ve&&A1.autoReplaceSvg&&y6.dom.i2svg({node:a})};function v9(c,r){return Object.defineProperty(c,"abstract",{get:r}),Object.defineProperty(c,"html",{get:function(){return c.abstract.map(function(a){return wt(a)})}}),Object.defineProperty(c,"node",{get:function(){if(ve){var a=n4.createElement("div");return a.innerHTML=c.html,a.children}}}),c}function gg(c){var r=c.icons,e=r.main,a=r.mask,t=c.prefix,i=c.iconName,l=c.transform,d=c.symbol,u=c.title,p=c.maskId,z=c.titleId,x=c.extra,E=c.watchable,P=void 0!==E&&E,Y=a.found?a:e,Z=Y.width,K=Y.height,J="fak"===t,X=[A1.replacementClass,i?"".concat(A1.cssPrefix,"-").concat(i):""].filter(function(U2){return-1===x.classes.indexOf(U2)}).filter(function(U2){return""!==U2||!!U2}).concat(x.classes).join(" "),n1={children:[],attributes:N1(N1({},x.attributes),{},{"data-prefix":t,"data-icon":i,class:X,role:x.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(Z," ").concat(K)})},h1=J&&!~x.classes.indexOf("fa-fw")?{width:"".concat(Z/K*16*.0625,"em")}:{};P&&(n1.attributes[h5]=""),u&&(n1.children.push({tag:"title",attributes:{id:n1.attributes["aria-labelledby"]||"title-".concat(z||xt())},children:[u]}),delete n1.attributes.title);var C1=N1(N1({},n1),{},{prefix:t,iconName:i,main:e,mask:a,maskId:p,transform:l,symbol:d,styles:N1(N1({},h1),x.styles)}),x1=a.found&&e.found?ze("generateAbstractMask",C1)||{children:[],attributes:{}}:ze("generateAbstractIcon",C1)||{children:[],attributes:{}},x2=x1.attributes;return C1.children=x1.children,C1.attributes=x2,d?function PN2(c){var e=c.iconName,a=c.children,t=c.attributes,i=c.symbol,l=!0===i?"".concat(c.prefix,"-").concat(A1.cssPrefix,"-").concat(e):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:N1(N1({},t),{},{id:l}),children:a}]}]}(C1):function AN2(c){var r=c.children,e=c.main,a=c.mask,t=c.attributes,i=c.styles,l=c.transform;if(ng(l)&&e.found&&!a.found){var p={x:e.width/e.height/2,y:.5};t.style=d9(N1(N1({},i),{},{"transform-origin":"".concat(p.x+l.x/16,"em ").concat(p.y+l.y/16,"em")}))}return[{tag:"svg",attributes:t,children:r}]}(C1)}function cq(c){var r=c.content,e=c.width,a=c.height,t=c.transform,i=c.title,l=c.extra,d=c.watchable,u=void 0!==d&&d,p=N1(N1(N1({},l.attributes),i?{title:i}:{}),{},{class:l.classes.join(" ")});u&&(p[h5]="");var z=N1({},l.styles);ng(t)&&(z.transform=function mN2(c){var r=c.transform,e=c.width,t=c.height,i=void 0===t?16:t,l=c.startCentered,d=void 0!==l&&l,u="";return u+=d&&SG?"translate(".concat(r.x/16-(void 0===e?16:e)/2,"em, ").concat(r.y/16-i/2,"em) "):d?"translate(calc(-50% + ".concat(r.x/16,"em), calc(-50% + ").concat(r.y/16,"em)) "):"translate(".concat(r.x/16,"em, ").concat(r.y/16,"em) "),(u+="scale(".concat(r.size/16*(r.flipX?-1:1),", ").concat(r.size/16*(r.flipY?-1:1),") "))+"rotate(".concat(r.rotate,"deg) ")}({transform:t,startCentered:!0,width:e,height:a}),z["-webkit-transform"]=z.transform);var x=d9(z);x.length>0&&(p.style=x);var E=[];return E.push({tag:"span",attributes:p,children:[r]}),i&&E.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),E}var vg=m0.styles;function Hg(c){var r=c[0],e=c[1],i=Jp(c.slice(4),1)[0];return{found:!0,width:r,height:e,icon:Array.isArray(i)?{tag:"g",attributes:{class:"".concat(A1.cssPrefix,"-").concat(m5.GROUP)},children:[{tag:"path",attributes:{class:"".concat(A1.cssPrefix,"-").concat(m5.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(A1.cssPrefix,"-").concat(m5.PRIMARY),fill:"currentColor",d:i[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:i}}}}var BN2={found:!1,width:512,height:512};function Cg(c,r){var e=r;return"fa"===r&&null!==A1.styleDefault&&(r=z8()),new Promise(function(a,t){if(ze("missingIconAbstract"),"fa"===e){var l=QG(c)||{};c=l.iconName||c,r=l.prefix||r}if(c&&r&&vg[r]&&vg[r][c])return a(Hg(vg[r][c]));(function ON2(c,r){!EG&&!A1.showMissingIcons&&c&&console.error('Icon with name "'.concat(c,'" and prefix "').concat(r,'" is missing.'))})(c,r),a(N1(N1({},BN2),{},{icon:A1.showMissingIcons&&c&&ze("missingIconAbstract")||{}}))})}var aq=function(){},zg=A1.measurePerformance&&i9&&i9.mark&&i9.measure?i9:{mark:aq,measure:aq},Ft='FA "6.5.2"',rq=function(r){zg.mark("".concat(Ft," ").concat(r," ends")),zg.measure("".concat(Ft," ").concat(r),"".concat(Ft," ").concat(r," begins"),"".concat(Ft," ").concat(r," ends"))},Vg={begin:function(r){return zg.mark("".concat(Ft," ").concat(r," begins")),function(){return rq(r)}},end:rq},H9=function(){};function tq(c){return"string"==typeof(c.getAttribute?c.getAttribute(h5):null)}function YN2(c){return n4.createElementNS("http://www.w3.org/2000/svg",c)}function GN2(c){return n4.createElement(c)}function iq(c){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,a=void 0===e?"svg"===c.tag?YN2:GN2:e;if("string"==typeof c)return n4.createTextNode(c);var t=a(c.tag);return Object.keys(c.attributes||[]).forEach(function(l){t.setAttribute(l,c.attributes[l])}),(c.children||[]).forEach(function(l){t.appendChild(iq(l,{ceFn:a}))}),t}var C9={replace:function(r){var e=r[0];if(e.parentNode)if(r[1].forEach(function(t){e.parentNode.insertBefore(iq(t),e)}),null===e.getAttribute(h5)&&A1.keepOriginalSource){var a=n4.createComment(function qN2(c){var r=" ".concat(c.outerHTML," ");return"".concat(r,"Font Awesome fontawesome.com ")}(e));e.parentNode.replaceChild(a,e)}else e.remove()},nest:function(r){var e=r[0],a=r[1];if(~og(e).indexOf(A1.replacementClass))return C9.replace(r);var t=new RegExp("".concat(A1.cssPrefix,"-.*"));if(delete a[0].attributes.id,a[0].attributes.class){var i=a[0].attributes.class.split(" ").reduce(function(d,u){return u===A1.replacementClass||u.match(t)?d.toSvg.push(u):d.toNode.push(u),d},{toNode:[],toSvg:[]});a[0].attributes.class=i.toSvg.join(" "),0===i.toNode.length?e.removeAttribute("class"):e.setAttribute("class",i.toNode.join(" "))}var l=a.map(function(d){return wt(d)}).join("\n");e.setAttribute(h5,""),e.innerHTML=l}};function oq(c){c()}function nq(c,r){var e="function"==typeof r?r:H9;if(0===c.length)e();else{var a=oq;A1.mutateApproach===QS2&&(a=H8.requestAnimationFrame||oq),a(function(){var t=function $N2(){return!0===A1.autoReplaceSvg?C9.replace:C9[A1.autoReplaceSvg]||C9.replace}(),i=Vg.begin("mutate");c.map(t),i(),e()})}}var Mg=!1;function sq(){Mg=!0}function Lg(){Mg=!1}var z9=null;function lq(c){if(kG&&A1.observeMutations){var r=c.treeCallback,e=void 0===r?H9:r,a=c.nodeCallback,t=void 0===a?H9:a,i=c.pseudoElementsCallback,l=void 0===i?H9:i,d=c.observeMutationsRoot,u=void 0===d?n4:d;z9=new kG(function(p){if(!Mg){var z=z8();xa(p).forEach(function(x){if("childList"===x.type&&x.addedNodes.length>0&&!tq(x.addedNodes[0])&&(A1.searchPseudoElements&&l(x.target),e(x.target)),"attributes"===x.type&&x.target.parentNode&&A1.searchPseudoElements&&l(x.target.parentNode),"attributes"===x.type&&tq(x.target)&&~tN2.indexOf(x.attributeName))if("class"===x.attributeName&&function UN2(c){var r=c.getAttribute?c.getAttribute(rg):null,e=c.getAttribute?c.getAttribute(tg):null;return r&&e}(x.target)){var E=g9(og(x.target)),Y=E.iconName;x.target.setAttribute(rg,E.prefix||z),Y&&x.target.setAttribute(tg,Y)}else(function jN2(c){return c&&c.classList&&c.classList.contains&&c.classList.contains(A1.replacementClass)})(x.target)&&t(x.target)})}}),ve&&z9.observe(u,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function fq(c){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},e=function KN2(c){var r=c.getAttribute("data-prefix"),e=c.getAttribute("data-icon"),a=void 0!==c.innerText?c.innerText.trim():"",t=g9(og(c));return t.prefix||(t.prefix=z8()),r&&e&&(t.prefix=r,t.iconName=e),t.iconName&&t.prefix||(t.prefix&&a.length>0&&(t.iconName=function xN2(c,r){return(GG[c]||{})[r]}(t.prefix,c.innerText)||hg(t.prefix,fg(c.innerText))),!t.iconName&&A1.autoFetchSvg&&c.firstChild&&c.firstChild.nodeType===Node.TEXT_NODE&&(t.iconName=c.firstChild.data)),t}(c),a=e.iconName,t=e.prefix,i=e.rest,l=function QN2(c){var r=xa(c.attributes).reduce(function(t,i){return"class"!==t.name&&"style"!==t.name&&(t[i.name]=i.value),t},{}),e=c.getAttribute("title"),a=c.getAttribute("data-fa-title-id");return A1.autoA11y&&(e?r["aria-labelledby"]="".concat(A1.replacementClass,"-title-").concat(a||xt()):(r["aria-hidden"]="true",r.focusable="false")),r}(c),d=_g("parseNodeAttributes",{},c),u=r.styleParser?function ZN2(c){var r=c.getAttribute("style"),e=[];return r&&(e=r.split(";").reduce(function(a,t){var i=t.split(":"),l=i[0],d=i.slice(1);return l&&d.length>0&&(a[l]=d.join(":").trim()),a},{})),e}(c):[];return N1({iconName:a,title:c.getAttribute("title"),titleId:c.getAttribute("data-fa-title-id"),prefix:t,transform:q0,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:u,attributes:l}},d)}var XN2=m0.styles;function dq(c){var r="nest"===A1.autoReplaceSvg?fq(c,{styleParser:!1}):fq(c);return~r.extra.classes.indexOf(AG)?ze("generateLayersText",c,r):ze("generateSvgReplacementMutation",c,r)}var V8=new Set;function uq(c){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!ve)return Promise.resolve();var e=n4.documentElement.classList,a=function(x){return e.add("".concat(TG,"-").concat(x))},t=function(x){return e.remove("".concat(TG,"-").concat(x))},i=A1.autoFetchSvg?V8:ig.map(function(z){return"fa-".concat(z)}).concat(Object.keys(XN2));i.includes("fa")||i.push("fa");var l=[".".concat(AG,":not([").concat(h5,"])")].concat(i.map(function(z){return".".concat(z,":not([").concat(h5,"])")})).join(", ");if(0===l.length)return Promise.resolve();var d=[];try{d=xa(c.querySelectorAll(l))}catch{}if(!(d.length>0))return Promise.resolve();a("pending"),t("complete");var u=Vg.begin("onTree"),p=d.reduce(function(z,x){try{var E=dq(x);E&&z.push(E)}catch(P){EG||"MissingIcon"===P.name&&console.error(P)}return z},[]);return new Promise(function(z,x){Promise.all(p).then(function(E){nq(E,function(){a("active"),a("complete"),t("pending"),"function"==typeof r&&r(),u(),z()})}).catch(function(E){u(),x(E)})})}function eD2(c){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;dq(c).then(function(e){e&&nq([e],r)})}ig.map(function(c){V8.add("fa-".concat(c))}),Object.keys(zt[s4]).map(V8.add.bind(V8)),Object.keys(zt[v4]).map(V8.add.bind(V8)),V8=Ht(V8);var aD2=function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=e.transform,t=void 0===a?q0:a,i=e.symbol,l=void 0!==i&&i,d=e.mask,u=void 0===d?null:d,p=e.maskId,z=void 0===p?null:p,x=e.title,E=void 0===x?null:x,P=e.titleId,Y=void 0===P?null:P,Z=e.classes,K=void 0===Z?[]:Z,J=e.attributes,X=void 0===J?{}:J,n1=e.styles,h1=void 0===n1?{}:n1;if(r){var C1=r.prefix,x1=r.iconName,K1=r.icon;return v9(N1({type:"icon"},r),function(){return p5("beforeDOMElementCreation",{iconDefinition:r,params:e}),A1.autoA11y&&(E?X["aria-labelledby"]="".concat(A1.replacementClass,"-title-").concat(Y||xt()):(X["aria-hidden"]="true",X.focusable="false")),gg({icons:{main:Hg(K1),mask:u?Hg(u.icon):{found:!1,width:null,height:null,icon:{}}},prefix:C1,iconName:x1,transform:N1(N1({},q0),t),symbol:l,title:E,maskId:z,titleId:Y,extra:{attributes:X,styles:h1,classes:K}})})}},rD2={mixout:function(){return{icon:(c=aD2,function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=(r||{}).icon?r:pg(r||{}),t=e.mask;return t&&(t=(t||{}).icon?t:pg(t||{})),c(a,N1(N1({},e),{},{mask:t}))})};var c},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=uq,e.nodeCallback=eD2,e}}},provides:function(r){r.i2svg=function(e){var a=e.node,i=e.callback;return uq(void 0===a?n4:a,void 0===i?function(){}:i)},r.generateSvgReplacementMutation=function(e,a){var t=a.iconName,i=a.title,l=a.titleId,d=a.prefix,u=a.transform,p=a.symbol,z=a.mask,x=a.maskId,E=a.extra;return new Promise(function(P,Y){Promise.all([Cg(t,d),z.iconName?Cg(z.iconName,z.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(Z){var K=Jp(Z,2);P([e,gg({icons:{main:K[0],mask:K[1]},prefix:d,iconName:t,transform:u,symbol:p,maskId:x,title:i,titleId:l,extra:E,watchable:!0})])}).catch(Y)})},r.generateAbstractIcon=function(e){var p,a=e.children,t=e.attributes,i=e.main,l=e.transform,u=d9(e.styles);return u.length>0&&(t.style=u),ng(l)&&(p=ze("generateAbstractTransformGrouping",{main:i,transform:l,containerWidth:i.width,iconWidth:i.width})),a.push(p||i.icon),{children:a,attributes:t}}}},tD2={mixout:function(){return{layer:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=a.classes,i=void 0===t?[]:t;return v9({type:"layer"},function(){p5("beforeDOMElementCreation",{assembler:e,params:a});var l=[];return e(function(d){Array.isArray(d)?d.map(function(u){l=l.concat(u.abstract)}):l=l.concat(d.abstract)}),[{tag:"span",attributes:{class:["".concat(A1.cssPrefix,"-layers")].concat(Ht(i)).join(" ")},children:l}]})}}}},iD2={mixout:function(){return{counter:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=a.title,i=void 0===t?null:t,l=a.classes,d=void 0===l?[]:l,u=a.attributes,p=void 0===u?{}:u,z=a.styles,x=void 0===z?{}:z;return v9({type:"counter",content:e},function(){return p5("beforeDOMElementCreation",{content:e,params:a}),function RN2(c){var r=c.content,e=c.title,a=c.extra,t=N1(N1(N1({},a.attributes),e?{title:e}:{}),{},{class:a.classes.join(" ")}),i=d9(a.styles);i.length>0&&(t.style=i);var l=[];return l.push({tag:"span",attributes:t,children:[r]}),e&&l.push({tag:"span",attributes:{class:"sr-only"},children:[e]}),l}({content:e.toString(),title:i,extra:{attributes:p,styles:x,classes:["".concat(A1.cssPrefix,"-layers-counter")].concat(Ht(d))}})})}}}},oD2={mixout:function(){return{text:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=a.transform,i=void 0===t?q0:t,l=a.title,d=void 0===l?null:l,u=a.classes,p=void 0===u?[]:u,z=a.attributes,x=void 0===z?{}:z,E=a.styles,P=void 0===E?{}:E;return v9({type:"text",content:e},function(){return p5("beforeDOMElementCreation",{content:e,params:a}),cq({content:e,transform:N1(N1({},q0),i),title:d,extra:{attributes:x,styles:P,classes:["".concat(A1.cssPrefix,"-layers-text")].concat(Ht(p))}})})}}},provides:function(r){r.generateLayersText=function(e,a){var t=a.title,i=a.transform,l=a.extra,d=null,u=null;if(SG){var p=parseInt(getComputedStyle(e).fontSize,10),z=e.getBoundingClientRect();d=z.width/p,u=z.height/p}return A1.autoA11y&&!t&&(l.attributes["aria-hidden"]="true"),Promise.resolve([e,cq({content:e.innerHTML,width:d,height:u,transform:i,title:t,extra:l,watchable:!0})])}}},nD2=new RegExp('"',"ug"),hq=[1105920,1112319];function mq(c,r){var e="".concat(KS2).concat(r.replace(":","-"));return new Promise(function(a,t){if(null!==c.getAttribute(e))return a();var l=xa(c.children).filter(function(K1){return K1.getAttribute(ag)===r})[0],d=H8.getComputedStyle(c,r),u=d.getPropertyValue("font-family").match(cN2),p=d.getPropertyValue("font-weight"),z=d.getPropertyValue("content");if(l&&!u)return c.removeChild(l),a();if(u&&"none"!==z&&""!==z){var x=d.getPropertyValue("content"),E=~["Sharp"].indexOf(u[2])?v4:s4,P=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(u[2])?Vt[E][u[2].toLowerCase()]:aN2[E][p],Y=function sD2(c){var r=c.replace(nD2,""),e=function zN2(c,r){var t,e=c.length,a=c.charCodeAt(r);return a>=55296&&a<=56319&&e>r+1&&(t=c.charCodeAt(r+1))>=56320&&t<=57343?1024*(a-55296)+t-56320+65536:a}(r,0),a=e>=hq[0]&&e<=hq[1],t=2===r.length&&r[0]===r[1];return{value:fg(t?r[0]:r),isSecondary:a||t}}(x),Z=Y.value,K=Y.isSecondary,J=u[0].startsWith("FontAwesome"),X=hg(P,Z),n1=X;if(J){var h1=function wN2(c){var r=WG[c],e=hg("fas",c);return r||(e?{prefix:"fas",iconName:e}:null)||{prefix:null,iconName:null}}(Z);h1.iconName&&h1.prefix&&(X=h1.iconName,P=h1.prefix)}if(!X||K||l&&l.getAttribute(rg)===P&&l.getAttribute(tg)===n1)a();else{c.setAttribute(e,n1),l&&c.removeChild(l);var C1=function JN2(){return{iconName:null,title:null,titleId:null,prefix:null,transform:q0,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),x1=C1.extra;x1.attributes[ag]=r,Cg(X,P).then(function(K1){var x2=gg(N1(N1({},C1),{},{icons:{main:K1,mask:mg()},prefix:P,iconName:n1,extra:x1,watchable:!0})),U2=n4.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===r?c.insertBefore(U2,c.firstChild):c.appendChild(U2),U2.outerHTML=x2.map(function(p4){return wt(p4)}).join("\n"),c.removeAttribute(e),a()}).catch(t)}}else a()})}function lD2(c){return Promise.all([mq(c,"::before"),mq(c,"::after")])}function fD2(c){return!(c.parentNode===document.head||~JS2.indexOf(c.tagName.toUpperCase())||c.getAttribute(ag)||c.parentNode&&"svg"===c.parentNode.tagName)}function _q(c){if(ve)return new Promise(function(r,e){var a=xa(c.querySelectorAll("*")).filter(fD2).map(lD2),t=Vg.begin("searchPseudoElements");sq(),Promise.all(a).then(function(){t(),Lg(),r()}).catch(function(){t(),Lg(),e()})})}var pq=!1,gq=function(r){return r.toLowerCase().split(" ").reduce(function(a,t){var i=t.toLowerCase().split("-"),l=i[0],d=i.slice(1).join("-");if(l&&"h"===d)return a.flipX=!0,a;if(l&&"v"===d)return a.flipY=!0,a;if(d=parseFloat(d),isNaN(d))return a;switch(l){case"grow":a.size=a.size+d;break;case"shrink":a.size=a.size-d;break;case"left":a.x=a.x-d;break;case"right":a.x=a.x+d;break;case"up":a.y=a.y-d;break;case"down":a.y=a.y+d;break;case"rotate":a.rotate=a.rotate+d}return a},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},yg={x:0,y:0,width:"100%",height:"100%"};function vq(c){return c.attributes&&(c.attributes.fill||!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(c.attributes.fill="black"),c}!function SN2(c,r){var e=r.mixoutsTo;XG=c,Fa={},Object.keys(ka).forEach(function(a){-1===kN2.indexOf(a)&&delete ka[a]}),XG.forEach(function(a){var t=a.mixout?a.mixout():{};if(Object.keys(t).forEach(function(l){"function"==typeof t[l]&&(e[l]=t[l]),"object"===r9(t[l])&&Object.keys(t[l]).forEach(function(d){e[l]||(e[l]={}),e[l][d]=t[l][d]})}),a.hooks){var i=a.hooks();Object.keys(i).forEach(function(l){Fa[l]||(Fa[l]=[]),Fa[l].push(i[l])})}a.provides&&a.provides(ka)})}([pN2,rD2,tD2,iD2,oD2,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=_q,e}}},provides:function(r){r.pseudoElements2svg=function(e){var a=e.node;A1.searchPseudoElements&&_q(void 0===a?n4:a)}}},{mixout:function(){return{dom:{unwatch:function(){sq(),pq=!0}}}},hooks:function(){return{bootstrap:function(){lq(_g("mutationObserverCallbacks",{}))},noAuto:function(){!function WN2(){z9&&z9.disconnect()}()},watch:function(e){var a=e.observeMutationsRoot;pq?Lg():lq(_g("mutationObserverCallbacks",{observeMutationsRoot:a}))}}}},{mixout:function(){return{parse:{transform:function(e){return gq(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,a){var t=a.getAttribute("data-fa-transform");return t&&(e.transform=gq(t)),e}}},provides:function(r){r.generateAbstractTransformGrouping=function(e){var a=e.main,t=e.transform,l=e.iconWidth,d={transform:"translate(".concat(e.containerWidth/2," 256)")},u="translate(".concat(32*t.x,", ").concat(32*t.y,") "),p="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),z="rotate(".concat(t.rotate," 0 0)"),P={outer:d,inner:{transform:"".concat(u," ").concat(p," ").concat(z)},path:{transform:"translate(".concat(l/2*-1," -256)")}};return{tag:"g",attributes:N1({},P.outer),children:[{tag:"g",attributes:N1({},P.inner),children:[{tag:a.icon.tag,children:a.icon.children,attributes:N1(N1({},a.icon.attributes),P.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(e,a){var t=a.getAttribute("data-fa-mask"),i=t?g9(t.split(" ").map(function(l){return l.trim()})):mg();return i.prefix||(i.prefix=z8()),e.mask=i,e.maskId=a.getAttribute("data-fa-mask-id"),e}}},provides:function(r){r.generateAbstractMask=function(e){var c,a=e.children,t=e.attributes,i=e.main,l=e.mask,d=e.maskId,z=i.icon,E=l.icon,P=function hN2(c){var r=c.transform,a=c.iconWidth,t={transform:"translate(".concat(c.containerWidth/2," 256)")},i="translate(".concat(32*r.x,", ").concat(32*r.y,") "),l="scale(".concat(r.size/16*(r.flipX?-1:1),", ").concat(r.size/16*(r.flipY?-1:1),") "),d="rotate(".concat(r.rotate," 0 0)");return{outer:t,inner:{transform:"".concat(i," ").concat(l," ").concat(d)},path:{transform:"translate(".concat(a/2*-1," -256)")}}}({transform:e.transform,containerWidth:l.width,iconWidth:i.width}),Y={tag:"rect",attributes:N1(N1({},yg),{},{fill:"white"})},Z=z.children?{children:z.children.map(vq)}:{},K={tag:"g",attributes:N1({},P.inner),children:[vq(N1({tag:z.tag,attributes:N1(N1({},z.attributes),P.path)},Z))]},J={tag:"g",attributes:N1({},P.outer),children:[K]},X="mask-".concat(d||xt()),n1="clip-".concat(d||xt()),h1={tag:"mask",attributes:N1(N1({},yg),{},{id:X,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[Y,J]},C1={tag:"defs",children:[{tag:"clipPath",attributes:{id:n1},children:(c=E,"g"===c.tag?c.children:[c])},h1]};return a.push(C1,{tag:"rect",attributes:N1({fill:"currentColor","clip-path":"url(#".concat(n1,")"),mask:"url(#".concat(X,")")},yg)}),{children:a,attributes:t}}}},{provides:function(r){var e=!1;H8.matchMedia&&(e=H8.matchMedia("(prefers-reduced-motion: reduce)").matches),r.missingIconAbstract=function(){var a=[],t={fill:"currentColor"},i={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};a.push({tag:"path",attributes:N1(N1({},t),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var l=N1(N1({},i),{},{attributeName:"opacity"}),d={tag:"circle",attributes:N1(N1({},t),{},{cx:"256",cy:"364",r:"28"}),children:[]};return e||d.children.push({tag:"animate",attributes:N1(N1({},i),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:N1(N1({},l),{},{values:"1;0;1;1;0;1;"})}),a.push(d),a.push({tag:"path",attributes:N1(N1({},t),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:e?[]:[{tag:"animate",attributes:N1(N1({},l),{},{values:"1;0;0;0;0;1;"})}]}),e||a.push({tag:"path",attributes:N1(N1({},t),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:N1(N1({},l),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:a}}}},{hooks:function(){return{parseNodeAttributes:function(e,a){var t=a.getAttribute("data-fa-symbol");return e.symbol=null!==t&&(""===t||t),e}}}}],{mixoutsTo:y6});var HD2=y6.parse,CD2=y6.icon;const zD2=["*"],LD2=c=>{const r={[`fa-${c.animation}`]:null!=c.animation&&!c.animation.startsWith("spin"),"fa-spin":"spin"===c.animation||"spin-reverse"===c.animation,"fa-spin-pulse":"spin-pulse"===c.animation||"spin-pulse-reverse"===c.animation,"fa-spin-reverse":"spin-reverse"===c.animation||"spin-pulse-reverse"===c.animation,"fa-pulse":"spin-pulse"===c.animation||"spin-pulse-reverse"===c.animation,"fa-fw":c.fixedWidth,"fa-border":c.border,"fa-inverse":c.inverse,"fa-layers-counter":c.counter,"fa-flip-horizontal":"horizontal"===c.flip||"both"===c.flip,"fa-flip-vertical":"vertical"===c.flip||"both"===c.flip,[`fa-${c.size}`]:null!==c.size,[`fa-rotate-${c.rotate}`]:null!==c.rotate,[`fa-pull-${c.pull}`]:null!==c.pull,[`fa-stack-${c.stackItemSize}`]:null!=c.stackItemSize};return Object.keys(r).map(e=>r[e]?e:null).filter(e=>e)};let xD2=(()=>{class c{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),wD2=(()=>{class c{constructor(){this.definitions={}}addIcons(...e){for(const a of e){a.prefix in this.definitions||(this.definitions[a.prefix]={}),this.definitions[a.prefix][a.iconName]=a;for(const t of a.icon[2])"string"==typeof t&&(this.definitions[a.prefix][t]=a)}}addIconPacks(...e){for(const a of e){const t=Object.keys(a).map(i=>a[i]);this.addIcons(...t)}}getIconDefinition(e,a){return e in this.definitions&&a in this.definitions[e]?this.definitions[e][a]:null}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),FD2=(()=>{class c{constructor(){this.stackItemSize="1x"}ngOnChanges(e){if("size"in e)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: ....')}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275dir=U1({type:c,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},standalone:!0,features:[A]})}return c})(),kD2=(()=>{class c{constructor(e,a){this.renderer=e,this.elementRef=a}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(e){"size"in e&&(null!=e.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${e.size.currentValue}`),null!=e.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${e.size.previousValue}`))}static#e=this.\u0275fac=function(a){return new(a||c)(B(T6),B(v2))};static#c=this.\u0275cmp=V1({type:c,selectors:[["fa-stack"]],inputs:{size:"size"},standalone:!0,features:[A,C3],ngContentSelectors:zD2,decls:1,vars:0,template:function(a,t){1&a&&(rn(),Vr(0))},encapsulation:2})}return c})(),S4=(()=>{class c{set spin(e){this.animation=e?"spin":void 0}set pulse(e){this.animation=e?"spin-pulse":void 0}constructor(e,a,t,i,l){this.sanitizer=e,this.config=a,this.iconLibrary=t,this.stackItem=i,this.classes=[],null!=l&&null==i&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: .')}ngOnChanges(e){if(null!=this.icon||null!=this.config.fallbackIcon){if(e){const t=this.findIconDefinition(null!=this.icon?this.icon:this.config.fallbackIcon);if(null!=t){const i=this.buildParams();this.renderIcon(t,i)}}}else(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})()}render(){this.ngOnChanges({})}findIconDefinition(e){const a=((c,r)=>(c=>void 0!==c.prefix&&void 0!==c.iconName)(c)?c:"string"==typeof c?{prefix:r,iconName:c}:{prefix:c[0],iconName:c[1]})(e,this.config.defaultPrefix);return"icon"in a?a:this.iconLibrary.getIconDefinition(a.prefix,a.iconName)??((c=>{throw new Error(`Could not find icon with iconName=${c.iconName} and prefix=${c.prefix} in the icon library.`)})(a),null)}buildParams(){const e={flip:this.flip,animation:this.animation,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},a="string"==typeof this.transform?HD2.transform(this.transform):this.transform;return{title:this.title,transform:a,classes:[...LD2(e),...this.classes],mask:null!=this.mask?this.findIconDefinition(this.mask):null,styles:null!=this.styles?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}renderIcon(e,a){const t=CD2(e,a);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(t.html.join("\n"))}static#e=this.\u0275fac=function(a){return new(a||c)(B(Ar),B(xD2),B(wD2),B(FD2,8),B(kD2,8))};static#c=this.\u0275cmp=V1({type:c,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(a,t){2&a&&(mh("innerHTML",t.renderedIconHTML,HM),A2("title",t.title))},inputs:{icon:"icon",title:"title",animation:"animation",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",classes:"classes",transform:"transform",a11yRole:"a11yRole"},standalone:!0,features:[A,C3],decls:0,vars:0,template:function(a,t){},encapsulation:2})}return c})(),bg=(()=>{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275mod=M4({type:c});static#a=this.\u0275inj=g4({})}return c})();const b6={PRICE:{ONE_TIME:"one time",RECURRING:"recurring",USAGE:"usage"},PRICE_ALTERATION:{DISCOUNT:{code:"discount",name:"Discount"},FEE:{code:"fee",name:"Fee"}},PRICE_ALTERATION_SUPPORTED:{PRICE_COMPONENT:"Price component",DISCOUNT_OR_FEE:"Discount or fee",NOTHING:"None"},PRICE_CONDITION:{EQ:{code:"eq",name:"Equal"},LT:{code:"lt",name:"Less than"},LE:{code:"le",name:"Less than or equal"},GT:{code:"gt",name:"Greater than"},GE:{code:"ge",name:"Greater than or equal"}},LICENSE:{NONE:"None",STANDARD:"Standard open data license",WIZARD:"Custom license (wizard)",FREETEXT:"Custom license (free-text)"},SLA:{NONE:"None",SPEC:"Spec"},METRICS:{UPDATES:"Updates rate",RESPTIME:"Response time",DELAY:"Delay"},MEASURESDESC:{UPDATES:"Expected number of updates in the given period.",RESPTIME:"Total amount of time to respond to a data request (GET).",DELAY:"Total amount of time to deliver a new update (SUBSCRIPTION)."},TIMERANGE:{DAY:"day",WEEK:"week",MONTH:"month"},UNITS:{MSEC:"ms",SEC:"s",MIN:"min"}};let M8=(()=>{class c{constructor(){}formatCheapestPricePlan(e){var a={},t=null,i=[];if(null!=e&&e.productOfferingPrice){if(1==e.productOfferingPrice.length&&"open"==e.productOfferingPrice[0].name?.toLocaleLowerCase()&&0==e.productOfferingPrice[0].price?.value)return{priceType:e.productOfferingPrice[0].priceType,price:e.productOfferingPrice?.at(0)?.price?.value,unit:e.productOfferingPrice?.at(0)?.price?.unit,text:"open"};if(e.productOfferingPrice.length>0)if((i=e.productOfferingPrice.filter(d=>d.priceType===b6.PRICE.ONE_TIME)).length>0){for(var l=0;lNumber(i[l].price?.value))&&(t=e.productOfferingPrice[l]);a={priceType:t?.priceType,price:t?.price?.value,unit:t?.price?.unit,text:"one time"}}else i=e.productOfferingPrice.filter(function(d){return void 0!==d.priceType?-1!==[b6.PRICE.RECURRING,b6.PRICE.USAGE].indexOf(d.priceType?.toLocaleLowerCase()):""}),a={priceType:i[0]?.priceType,price:i[0]?.price?.value,unit:i[0]?.price?.unit,text:i[0]?.priceType?.toLocaleLowerCase()==b6.PRICE.RECURRING?i[0]?.recurringChargePeriodType:i[0]?.priceType?.toLocaleLowerCase()==b6.PRICE.USAGE?"/ "+i[0]?.unitOfMeasure?.units:""};else a={priceType:"Free",price:0,unit:"",text:""}}return a}getFormattedPriceList(e){let a=[];if(null!=e&&null!=e.productOfferingPrice)for(let t=0;t{class c{constructor(e,a,t,i,l,d,u){this.localStorage=e,this.eventMessage=a,this.priceService=t,this.cartService=i,this.api=l,this.cdr=d,this.router=u,this.faCartShopping=ya,this.items=[],this.showBackDrop=!0,this.check_custom=!1}ngOnInit(){this.showBackDrop=!0,this.cartService.getShoppingCart().then(e=>{console.log("---CARRITO API---"),console.log(e),this.items=e,this.cdr.detectChanges(),this.getTotalPrice(),console.log("------------------")}),this.eventMessage.messages$.subscribe(e=>{"AddedCartItem"===e.type?(console.log("Elemento a\xf1adido"),this.cartService.getShoppingCart().then(a=>{console.log("---CARRITO API---"),console.log(a),this.items=a,this.cdr.detectChanges(),this.getTotalPrice(),console.log("------------------")})):"RemovedCartItem"===e.type&&this.cartService.getShoppingCart().then(a=>{console.log("---CARRITO API---"),console.log(a),this.items=a,this.cdr.detectChanges(),this.getTotalPrice(),console.log("------------------")})}),console.log("Elementos en el carrito...."),console.log(this.items)}getPrice(e){return null!=e.options.pricing?"custom"==e.options.pricing.priceType?(this.check_custom=!0,null):{priceType:e.options.pricing.priceType,price:e.options.pricing.price?.value,unit:e.options.pricing.price?.unit,text:e.options.pricing.priceType?.toLocaleLowerCase()==b6.PRICE.RECURRING?e.options.pricing.recurringChargePeriodType:e.options.pricing.priceType?.toLocaleLowerCase()==b6.PRICE.USAGE?"/ "+e.options.pricing?.unitOfMeasure?.units:""}:null}getTotalPrice(){this.totalPrice=[];let e=!1;this.check_custom=!1,this.cdr.detectChanges();let a={};for(let t=0;tconsole.log("deleted")),this.eventMessage.emitRemovedCartItem(e)}hideCart(){this.eventMessage.emitToggleDrawer(!1)}goToShoppingCart(){this.hideCart(),this.router.navigate(["/checkout"])}static#e=this.\u0275fac=function(a){return new(a||c)(B(R1),B(e2),B(M8),B(l3),B(p1),B(B1),B(Z1))};static#c=this.\u0275cmp=V1({type:c,selectors:[["app-cart-drawer"]],decls:30,vars:15,consts:[["id","cart-drawer","tabindex","-1","aria-labelledby","cart-drawer-label","aria-hidden","true",1,"h-full",3,"click"],[1,"mr-2","text-gray-500","dark:text-gray-400",3,"icon"],["id","cart-drawer-label","aria-hidden","true",1,"inline-flex","items-center","text-base","font-semibold","text-gray-500","dark:text-gray-400","text-xl"],[1,"h-px","my-2","bg-gray-200","border-0","dark:bg-gray-700"],["type","button","aria-controls","cart-drawer",1,"text-gray-400","bg-transparent","hover:bg-gray-200","hover:text-gray-900","rounded-lg","text-sm","w-8","h-8","absolute","top-2.5","end-2.5","inline-flex","items-center","justify-center","dark:hover:bg-gray-600","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-3","h-3"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"],[1,"sr-only"],[1,"h-3/4","grid","grid-flow-row","auto-rows-max","overflow-y-auto","p-2"],[1,"flex","block"],[1,"flex","float-left","w-1/2","ml-2","text-sm","text-gray-500","dark:text-gray-400"],[1,"flex","grid","grid-cols-1","grid-flow-row","w-1/2"],[1,"flex","block","justify-end","mr-2","text-sm","text-gray-500","dark:text-gray-400"],["type","button",1,"mt-2","w-full","flex","items-center","justify-start","text-white","bg-blue-700","hover:bg-blue-800","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","py-2.5","text-center","inline-flex","items-center","me-2","dark:bg-blue-600","dark:hover:bg-blue-700","dark:focus:ring-blue-800",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"rtl:rotate-180","w-3.5","h-3.5","mr-2","ml-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],[1,"flex","justify-between","w-full","mt-2","mb-2","rounded-lg","bg-secondary-50/95","dark:bg-gray-700","dark:border-gray-800","border-secondary-50","border"],[1,"text-gray-700","dark:text-gray-400"],["type","button",1,"flex","p-2","box-decoration-clone",3,"click"],["alt","",1,"rounded-t-lg","w-fit","h-[100px]",3,"src"],[1,"p-2","flex","items-center"],[1,"text-lg","text-gray-700","dark:text-gray-400"],[1,"flex","place-content-center","flex-col"],["type","button",1,"h-fit","text-blue-700","hover:bg-gray-300","hover:text-white","focus:ring-4","font-medium","rounded-full","text-sm","p-2.5","text-center","inline-flex","items-center","dark:text-blue-500","dark:hover:text-white","dark:hover:bg-gray-600",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-[12px]","h-[12px]","text-gray-700","dark:text-gray-400"],["src","https://placehold.co/600x400/svg","alt","",1,"rounded-t-lg","w-fit","h-[100px]"],[1,"text-3xl","font-bold","text-gray-900","dark:text-primary-50","mr-3"],[1,"text-xs","dark:text-primary-50"]],template:function(a,t){1&a&&(o(0,"div",0),C("click",function(l){return l.stopPropagation()}),v(1,"fa-icon",1),o(2,"h3",2),f(3),m(4,"translate"),n(),v(5,"hr",3),o(6,"button",4),C("click",function(){return t.hideCart()}),w(),o(7,"svg",5),v(8,"path",6),n(),O(),o(9,"span",7),f(10),m(11,"translate"),n()(),o(12,"div",8),R(13,AD2,3,1)(14,PD2,3,3),n(),v(15,"hr",3),o(16,"div",9)(17,"p",10),f(18),m(19,"translate"),n(),v(20,"hr",3),o(21,"div",11),c1(22,RD2,2,3,"p",12,z1,!1,ID2,2,1),n()(),o(25,"button",13),C("click",function(){return t.goToShoppingCart()}),w(),o(26,"svg",14),v(27,"path",15),n(),f(28),m(29,"translate"),n()()),2&a&&(s(),k("icon",t.faCartShopping),s(2),V(" ",_(4,7,"CART_DRAWER._title")," "),s(7),H(_(11,9,"CART_DRAWER._close")),s(3),S(13,t.items.length>0?13:14),s(5),V("",_(19,11,"CART_DRAWER._subtotal"),":"),s(4),a1(t.totalPrice),s(6),V(" ",_(29,13,"CART_DRAWER._purchase")," "))},dependencies:[S4,J1],styles:["[_ngcontent-%COMP%]::-webkit-scrollbar{width:10px!important}[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#0003}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#888!important;border-radius:5px!important}"]})}return c})();const UD2=["theme_toggle_dark_icon"],jD2=["theme_toggle_light_icon"],$D2=["navbarbutton"],YD2=(c,r)=>r.id;function GD2(c,r){if(1&c){const e=j();o(0,"button",37),C("click",function(t){return y(e),h().toggleCartDrawer(),b(t.stopPropagation())}),v(1,"fa-icon",38),n()}if(2&c){const e=h();s(),k("icon",e.faCartShopping)}}function qD2(c,r){if(1&c&&(o(0,"div",24)(1,"span",39),f(2),n()()),2&c){const e=h();s(2),H(e.usercharacters)}}function WD2(c,r){if(1&c){const e=j();o(0,"a",40),f(1),m(2,"translate"),n(),o(3,"button",41),C("click",function(){return y(e),b(h().onLoginClick())}),f(4," Login "),n()}2&c&&(E1("href",h().domeRegister,H2),s(),H(_(2,2,"HEADER._register")))}function ZD2(c,r){if(1&c){const e=j();o(0,"div",29)(1,"ul",10)(2,"li")(3,"a",42),C("click",function(){return y(e),b(h().goTo("/search"))}),f(4),m(5,"translate"),n()(),o(6,"li")(7,"a",42),C("click",function(){return y(e),b(h().goTo("/catalogues"))}),f(8),m(9,"translate"),n()(),o(10,"li")(11,"a",12),f(12),m(13,"translate"),n()(),o(14,"li")(15,"a",12),f(16),m(17,"translate"),n()(),o(18,"li")(19,"a",12),f(20),m(21,"translate"),n()(),o(22,"li")(23,"a",43),f(24),m(25,"translate"),n()()()()}if(2&c){const e=h();s(4),H(_(5,10,"HEADER._search")),s(4),H(_(9,12,"HEADER._catalogs")),s(3),E1("href",e.domeAbout,H2),s(),H(_(13,14,"HEADER._about")),s(3),E1("href",e.domePublish,H2),s(),H(_(17,16,"HEADER._publish")),s(3),E1("href",e.knowledge,H2),s(),H(_(21,18,"HEADER._info")),s(3),E1("href",e.domeRegister,H2),s(),H(_(25,20,"HEADER._register"))}}function KD2(c,r){if(1&c){const e=j();o(0,"li")(1,"button",46),C("click",function(){return y(e),b(h(2).goTo("/profile"))}),v(2,"fa-icon",34),f(3),m(4,"translate"),n()()}if(2&c){const e=h(2);s(2),k("icon",e.faAddressCard),s(),H(_(4,2,"HEADER._profile"))}}function QD2(c,r){if(1&c){const e=j();o(0,"li")(1,"button",46),C("click",function(){return y(e),b(h(2).goTo("/my-offerings"))}),v(2,"fa-icon",34),f(3),m(4,"translate"),n()()}if(2&c){const e=h(2);s(2),k("icon",e.faHandHoldingBox),s(),H(_(4,2,"HEADER._offerings"))}}function JD2(c,r){if(1&c){const e=j();o(0,"li")(1,"button",46),C("click",function(){return y(e),b(h(2).goTo("/admin"))}),v(2,"fa-icon",34),f(3),m(4,"translate"),n()()}if(2&c){const e=h(2);s(2),k("icon",e.faCogs),s(),H(_(4,2,"HEADER._admin"))}}function XD2(c,r){if(1&c&&(o(0,"button",48),v(1,"fa-icon",34),f(2),m(3,"translate"),n()),2&c){const e=h(2);s(),k("icon",e.faAnglesLeft),s(),H(_(3,2,"HEADER._change_session"))}}function eT2(c,r){if(1&c){const e=j();o(0,"div",30)(1,"div",44)(2,"div"),f(3),n(),o(4,"div",45),f(5),n()(),o(6,"ul",32),R(7,KD2,5,4,"li")(8,QD2,5,4,"li")(9,JD2,5,4,"li"),o(10,"li")(11,"button",46),C("click",function(){return y(e),b(h().goTo("/product-inventory"))}),v(12,"fa-icon",34),f(13),m(14,"translate"),n()(),o(15,"li")(16,"button",46),C("click",function(){return y(e),b(h().goTo("/checkout"))}),v(17,"fa-icon",34),f(18),m(19,"translate"),n()()(),o(20,"div",47),R(21,XD2,4,4,"button",48),o(22,"button",49),C("click",function(){return y(e),b(h().logout())}),v(23,"fa-icon",34),f(24),m(25,"translate"),n()()()}if(2&c){const e=h();s(3),H(e.username),s(2),H(e.email),s(2),S(7,0==e.loggedAsOrg||e.roles.includes("orgAdmin")?7:-1),s(),S(8,e.roles.includes("seller")?8:-1),s(),S(9,e.isAdmin&&0==e.loggedAsOrg||e.roles.includes("certifier")?9:-1),s(3),k("icon",e.faBoxesStacked),s(),H(_(14,12,"HEADER._inventory")),s(4),k("icon",e.faCartShopping),s(),H(_(19,14,"HEADER._cart")),s(3),S(21,e.orgs.length>0&&e.isAdmin?21:-1),s(2),k("icon",e.faArrowRightFromBracket),s(),H(_(25,16,"HEADER._sign_out"))}}function cT2(c,r){if(1&c){const e=j();o(0,"li")(1,"button",46),C("click",function(){y(e);const t=h().$index,i=h();return i.changeSession(t,!1),b(i.hideDropdown("orgs-dropdown"))}),v(2,"fa-icon",34),f(3),n()()}if(2&c){const e=h().$implicit,a=h();s(2),k("icon",a.faUsers),s(),H(e.name)}}function aT2(c,r){if(1&c&&R(0,cT2,4,2,"li"),2&c){const e=r.$implicit,a=h();S(0,e.id!=a.loginInfo.logged_as||a.loginInfo.logged_as==a.loginInfo.id?0:-1)}}function rT2(c,r){if(1&c){const e=j();o(0,"li")(1,"button",46),C("click",function(){y(e);const t=h();return t.changeSession(0,!0),b(t.hideDropdown("orgs-dropdown"))}),v(2,"fa-icon",34),f(3),n()()}if(2&c){const e=h();s(2),k("icon",e.faUser),s(),H(e.loginInfo.user)}}function tT2(c,r){if(1&c){const e=j();o(0,"div",36)(1,"app-cart-drawer",50),C("click",function(t){return y(e),b(t.stopPropagation())}),n()()}}class Sa{constructor(r,e,a,t,i,l,d,u,p,z,x){this.translate=a,this.localStorage=t,this.api=i,this.loginService=l,this.cdr=d,this.route=u,this.eventMessage=p,this.router=z,this.qrVerifier=x,this.qrWindow=null,this.catalogs=[],this.langs=[],this.showCart=!1,this.is_logged=!1,this.showLogin=!1,this.loggedAsOrg=!1,this.orgs=[],this.username="",this.email="",this.usercharacters="",this.loginSubscription=new c3,this.roles=[],this.knowledge=_1.KNOWLEDGE_BASE_URL,this.ticketing=_1.TICKETING_SYSTEM_URL,this.domeAbout=_1.DOME_ABOUT_LINK,this.domeRegister=_1.DOME_REGISTER_LINK,this.domePublish=_1.DOME_PUBLISH_LINK,this.isNavBarOpen=!1,this.flagDropdownOpen=!1,this.faCartShopping=ya,this.faHandHoldingBox=bY,this.faAddressCard=La,this.faArrowRightFromBracket=j_,this.faBoxesStacked=Js,this.faClipboardCheck=IR,this.faBrain=RY,this.faAnglesLeft=jp,this.faUser=eE,this.faUsers=uT,this.faCogs=_$,this.themeToggleDarkIcon=r,this.themeToggleLightIcon=e}static#e=this.BASE_URL=_1.BASE_URL;ngOnDestroy(){this.qrWindow?.close(),this.qrWindow=null}ngDoCheck(){null!=this.qrWindow&&this.qrWindow.closed&&(this.qrVerifier.stopChecking(this.qrWindow),this.qrWindow=null)}onClick(){1==this.showCart&&(this.showCart=!1,this.cdr.detectChanges()),this.isNavBarOpen&&(this.isNavBarOpen=!1)}onResize(r){this.isNavBarOpen&&(this.navbarbutton.nativeElement.blur(),this.isNavBarOpen=!1)}ngOnInit(){var r=this;return M(function*(){r.langs=r.translate.getLangs(),console.log("langs"),console.log(r.langs);let e=r.localStorage.getItem("current_language");r.defaultLang=e&&null!=e?e:r.translate.getDefaultLang(),console.log("default"),console.log(r.defaultLang);let a=r.localStorage.getObject("login_items");if(console.log(a),"{}"!=JSON.stringify(a)&&a.expire-s2().unix()-4>0){r.loginInfo=a,r.is_logged=!0,r.orgs=a.organizations,console.log("--roles"),console.log(a.roles);for(let t=0;ti.id==a.logged_as);console.log("loggedOrg"),console.log(t),r.loggedAsOrg=!0,r.username=t.name,r.usercharacters=t.name.slice(0,2).toUpperCase(),r.email=t.description;for(let i=0;i{"ToggleCartDrawer"===t.type&&(r.showCart=!1,r.cdr.detectChanges())}),r.eventMessage.messages$.subscribe(t=>{if("LoginProcess"===t.type){let i=r.localStorage.getObject("login_items");if("{}"!=JSON.stringify(i)&&i.expire-s2().unix()-4>0){r.loginInfo=i,r.is_logged=!0,r.cdr.detectChanges(),r.orgs=i.organizations;for(let l=0;ld.id==i.logged_as);console.log("loggedOrg"),console.log(l),r.loggedAsOrg=!0,r.username=l.name,r.usercharacters=l.name.slice(0,2).toUpperCase(),r.email=l.description;for(let d=0;d{class c{constructor(){}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275cmp=V1({type:c,selectors:[["bae-footer"]],decls:18,vars:12,consts:[[1,"fixed","bottom-0","left-0","z-10","h-[25px]","w-full","p-4","bg-white","border-t","border-gray-200","shadow","md:flex","md:items-center","md:justify-end","md:p-6","dark:bg-gray-800","dark:border-gray-600"],[1,"flex","flex-wrap","items-center","mt-3","text-sm","font-medium","text-gray-500","dark:text-gray-400","sm:mt-0"],["href","../assets/documents/privacy.pdf","target","_blank",1,"mr-4","hover:underline","md:mr-6"],["href","../assets/documents/cookies.pdf","target","_blank",1,"mr-4","hover:underline","md:mr-6"],["href","../assets/documents/terms.pdf","target","_blank",1,"mr-4","hover:underline","md:mr-6"],["href","https://app.getonepass.eu/invite/8Zw5HETsNr","target","_blank",1,"hover:underline"]],template:function(a,t){1&a&&(o(0,"footer",0)(1,"ul",1)(2,"li")(3,"a",2),f(4),m(5,"translate"),n()(),o(6,"li")(7,"a",3),f(8),m(9,"translate"),n()(),o(10,"li")(11,"a",4),f(12),m(13,"translate"),n()(),o(14,"li")(15,"a",5),f(16),m(17,"translate"),n()()()()),2&a&&(s(4),H(_(5,4,"FOOTER._privacy")),s(4),H(_(9,6,"FOOTER._cookies")),s(4),H(_(13,8,"FOOTER._licensing")),s(4),H(_(17,10,"FOOTER._contact")))},dependencies:[J1]})}return c})();function iT2(c,r){if(1&c){const e=j();o(0,"div",2)(1,"div",5)(2,"div",6),v(3,"img",7),n(),o(4,"div",8)(5,"h4",9),f(6,"DOME support"),n(),o(7,"p",10),f(8,"Hi. My name is DomeGPT. How can I help you?"),n()()(),v(9,"div",11),o(10,"div",12)(11,"input",13),C("keyup",function(t){return y(e),b(h().onKeyUp(t))}),n(),o(12,"button",14),C("click",function(){return y(e),b(h().onSendButton())}),f(13,"Send"),n()()()}2&c&&k("ngClass",h().state?"chatbox__support chatbox--active":"")}let oT2=(()=>{class c{constructor(e,a,t){this.cdr=e,this.el=a,this.localStorage=t}ngOnInit(){this.chatbox=this.el.nativeElement.querySelector(".chatbox__support"),this.state=!1,this.messages=[]}onKeyUp(e){"Enter"===e.key&&this.onSendButton()}toggleState(){this.state=!this.state,this.cdr.detectChanges(),this.chatbox=this.el.nativeElement.querySelector(".chatbox__support")}onSendButton(){const e=this.chatbox.querySelector("input");let a=e.value;if(""===a)return;let t="guest",i="Customer";const l=this.localStorage.getObject("login_items");if(l.id){let u=[];i="Customer",t=l.username,u=l.logged_as!==l.id?l.organizations.find(z=>z.id==l.logged_as).roles.map(z=>z.name):l.roles.map(p=>p.name),u.includes("seller")&&(i="Provider")}this.messages.push({name:t,message:a,role:i}),this.updateChatText(),e.value="",fetch(_1.CHAT_API,{method:"POST",body:JSON.stringify({message:a,role:i}),mode:"cors",headers:{"Content-Type":"application/json"}}).then(u=>u.json()).then(u=>{this.messages.push({name:"DomeGPT",message:u.answer}),this.updateChatText()}).catch(u=>{console.error("Error:",u),this.updateChatText()})}updateChatText(){var e="";this.messages.slice().reverse().forEach(function(t,i){e+="DomeGPT"===t.name?'
    '+t.message+"
    ":'
    '+t.message+"
    "}),this.chatbox.querySelector(".chatbox__messages").innerHTML=e,this.cdr.detectChanges()}static#e=this.\u0275fac=function(a){return new(a||c)(B(B1),B(v2),B(R1))};static#c=this.\u0275cmp=V1({type:c,selectors:[["app-chatbot-widget"]],standalone:!0,features:[C3],decls:6,vars:1,consts:[[1,"container","chatbot-widget","fixed","z-20",2,"bottom","30px","right","0"],[1,"chatbox"],[1,"chatbox__support",3,"ngClass"],[1,"chatbox__button",3,"click"],["src","assets/chatbot/images/chatbox-icon.svg"],[1,"chatbox__header"],[1,"chatbox__image--header"],["src","assets/chatbot/images/dome_logo.PNG","alt","image"],[1,"chatbox__content--header"],[1,"chatbox__heading--header"],[1,"chatbox__description--header"],[1,"chatbox__messages"],[1,"chatbox__footer"],["type","text","placeholder","Write a message...",3,"keyup"],[1,"chatbox__send--footer","chatbox-send__button",3,"click"]],template:function(a,t){1&a&&(o(0,"div",0)(1,"div",1),R(2,iT2,14,1,"div",2),o(3,"div",3),C("click",function(){return t.toggleState()}),o(4,"button"),v(5,"img",4),n()()()()),2&a&&(s(2),S(2,t.state?2:-1))},dependencies:[k2],styles:[".chatbot-widget,.chatbot-widget *{box-sizing:border-box;margin:0;padding:0}.chatbot-widget{font-family:Nunito,sans-serif;font-weight:400;font-size:100%;background:#f1f1f1}.chatbot-widget *{--primaryGradient: linear-gradient(93.12deg, #581B98 .52%, #9C1DE7 100%);--secondaryGradient: linear-gradient(268.91deg, #581B98 -2.14%, #9C1DE7 99.69%);--primaryBoxShadow: 0px 10px 15px rgba(0, 0, 0, .1);--secondaryBoxShadow: 0px -10px 15px rgba(0, 0, 0, .1);--primary: #581B98}@media screen and (max-width: 768px){.chatbox{position:fixed;bottom:2%;right:2%}}@media screen and (min-width: 768px){.chatbox{position:fixed;bottom:calc(2% + 50px);right:2%}}.chatbox__support{display:flex;flex-direction:column;background:#eee;width:80vw;max-width:400px;height:70vh;max-height:600px;z-index:-123456;opacity:0;transition:all .5s ease-in-out;border-radius:20px}.chatbox--active{transform:translateY(0);z-index:123456;opacity:1}.chatbox__button{text-align:right}.send__button{padding:6px;background:transparent;border:none;outline:none;cursor:pointer}.chatbox__header{position:sticky;top:0;background:orange}.chatbox__messages{margin-top:auto;display:flex;overflow-y:scroll;flex-direction:column-reverse}.messages__item{background:orange;max-width:85%;width:-moz-fit-content;width:fit-content}.messages__item--operator{margin-left:auto}.messages__item--visitor{margin-right:auto}.chatbox__footer{position:sticky;bottom:0}.chatbox__support{background:#f9f9f9;box-shadow:0 0 15px #0000001a;border-top-left-radius:20px;border-top-right-radius:20px}.chatbox__header{background:var(--primaryGradient);display:flex;flex-direction:row;align-items:center;justify-content:center;padding:15px 20px;border-radius:20px 20px 0 0;box-shadow:var(--primaryBoxShadow)}.chatbox__image--header{margin-right:10px}.chatbox__heading--header{font-size:1.2rem;color:#fff}.chatbox__description--header{font-size:.9rem;color:#fff}.chatbox__messages{padding:0 20px}.messages__item{margin-top:10px;background:#e0e0e0;padding:8px 12px;max-width:85%}.messages__item--visitor,.messages__item--typing{border-top-left-radius:20px;border-top-right-radius:20px;border-bottom-right-radius:20px}.messages__item--operator{border-top-left-radius:20px;border-top-right-radius:20px;border-bottom-left-radius:20px;background:var(--primary);color:#fff}.chatbox__footer{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:20px;background:var(--secondaryGradient);box-shadow:var(--secondaryBoxShadow);border-bottom-right-radius:10px;border-bottom-left-radius:10px;margin-top:20px}.chatbox__footer input{width:80%;border:none;padding:10px;border-radius:30px;text-align:left}.chatbox__send--footer{color:#fff}.chatbox__button button,.chatbox__button button:focus,.chatbox__button button:visited{padding:10px;background:#fff;border:none;outline:none;border-top-left-radius:50px;border-top-right-radius:50px;border-bottom-left-radius:50px;box-shadow:0 10px 15px #0000001a;cursor:pointer}.question-container{margin:50px 0 50px 20px;padding:20px;width:50%;background:#fff;border-radius:10px;box-shadow:0 10px 15px #0000001a;font-family:Nunito,sans-serif;display:flex;flex-direction:column;align-items:center;text-align:center}.question-container label{font-size:1.5rem;color:#333;margin-bottom:20px}.question-container select{padding:10px 15px;border-radius:5px;border:1px solid #ccc;font-size:1.2rem;font-family:Nunito,sans-serif;margin-bottom:20px}.question-container .question-image{max-width:80%;height:auto;border-radius:10px}@media (max-width: 600px){.chatbox__support{width:100vw;height:50vh;bottom:0;right:0;border-top-left-radius:0;border-top-right-radius:0}.question-container{width:90%}}\n"],encapsulation:2})}return c})();var JZ={prefix:"far",iconName:"shield-check",icon:[512,512,[],"f2f7","M73 127L256 49.4 439 127c5.9 2.5 9.1 7.8 9 12.8c-.4 91.4-38.4 249.3-186.3 320.1c-3.6 1.7-7.8 1.7-11.3 0C102.4 389 64.5 231.2 64 139.7c0-5 3.1-10.2 9-12.8zM457.7 82.8L269.4 2.9C265.2 1 260.7 0 256 0s-9.2 1-13.4 2.9L54.3 82.8c-22 9.3-38.4 31-38.3 57.2c.5 99.2 41.3 280.7 213.6 363.2c16.7 8 36.1 8 52.8 0C454.8 420.7 495.5 239.2 496 140c.1-26.2-16.3-47.9-38.3-57.2zM369 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-111 111-47-47c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l64 64c9.4 9.4 24.6 9.4 33.9 0L369 209z"]},k9={prefix:"far",iconName:"cloud-arrow-down",icon:[640,512,[62337,"cloud-download","cloud-download-alt"],"f0ed","M354.9 121.7c13.8 16 36.5 21.1 55.9 12.5c8.9-3.9 18.7-6.2 29.2-6.2c39.8 0 72 32.2 72 72c0 4-.3 7.9-.9 11.7c-3.5 21.6 8.1 42.9 28.1 51.7C570.4 276.9 592 308 592 344c0 46.8-36.6 85.2-82.8 87.8c-.6 0-1.3 .1-1.9 .2H504 144c-53 0-96-43-96-96c0-41.7 26.6-77.3 64-90.5c19.2-6.8 32-24.9 32-45.3l0-.2v0 0c0-66.3 53.7-120 120-120c36.3 0 68.8 16.1 90.9 41.7zM512 480v-.2c71.4-4.1 128-63.3 128-135.8c0-55.7-33.5-103.7-81.5-124.7c1-6.3 1.5-12.8 1.5-19.3c0-66.3-53.7-120-120-120c-17.4 0-33.8 3.7-48.7 10.3C360.4 54.6 314.9 32 264 32C171.2 32 96 107.2 96 200l0 .2C40.1 220 0 273.3 0 336c0 79.5 64.5 144 144 144H464h40 8zM223 313l80 80c9.4 9.4 24.6 9.4 33.9 0l80-80c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-39 39V184c0-13.3-10.7-24-24-24s-24 10.7-24 24V318.1l-39-39c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9z"]},JX={prefix:"far",iconName:"lock-open",icon:[576,512,[],"f3c1","M352 128c0-44.2 35.8-80 80-80s80 35.8 80 80v72c0 13.3 10.7 24 24 24s24-10.7 24-24V128C560 57.3 502.7 0 432 0S304 57.3 304 128v64H64c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V256c0-35.3-28.7-64-64-64H352V128zM64 240H384c8.8 0 16 7.2 16 16V448c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16V256c0-8.8 7.2-16 16-16z"]},ev={prefix:"far",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"]},Z41={prefix:"far",iconName:"filter-list",icon:[512,512,[],"e17c","M41.2 64C18.5 64 0 82.5 0 105.2c0 10.4 3.9 20.4 11 28.1l93 100.1v126c0 13.4 6.7 26 18 33.4l75.5 49.8c5.3 3.5 11.6 5.4 18 5.4c18 0 32.6-14.6 32.6-32.6v-182l93-100.1c7.1-7.6 11-17.6 11-28.1C352 82.5 333.5 64 310.8 64H41.2zM145.6 207.7L56.8 112H295.2l-88.8 95.7c-4.1 4.4-6.4 10.3-6.4 16.3V386.8l-48-31.7V224c0-6.1-2.3-11.9-6.4-16.3zM344 392c-13.3 0-24 10.7-24 24s10.7 24 24 24H488c13.3 0 24-10.7 24-24s-10.7-24-24-24H344zM320 256c0 13.3 10.7 24 24 24H488c13.3 0 24-10.7 24-24s-10.7-24-24-24H344c-13.3 0-24 10.7-24 24zM408 72c-13.3 0-24 10.7-24 24s10.7 24 24 24h80c13.3 0 24-10.7 24-24s-10.7-24-24-24H408z"]},j9={prefix:"fas",iconName:"atom",icon:[512,512,[9883],"f5d2","M256 398.8c-11.8 5.1-23.4 9.7-34.9 13.5c16.7 33.8 31 35.7 34.9 35.7s18.1-1.9 34.9-35.7c-11.4-3.9-23.1-8.4-34.9-13.5zM446 256c33 45.2 44.3 90.9 23.6 128c-20.2 36.3-62.5 49.3-115.2 43.2c-22 52.1-55.6 84.8-98.4 84.8s-76.4-32.7-98.4-84.8c-52.7 6.1-95-6.8-115.2-43.2C21.7 346.9 33 301.2 66 256c-33-45.2-44.3-90.9-23.6-128c20.2-36.3 62.5-49.3 115.2-43.2C179.6 32.7 213.2 0 256 0s76.4 32.7 98.4 84.8c52.7-6.1 95 6.8 115.2 43.2c20.7 37.1 9.4 82.8-23.6 128zm-65.8 67.4c-1.7 14.2-3.9 28-6.7 41.2c31.8 1.4 38.6-8.7 40.2-11.7c2.3-4.2 7-17.9-11.9-48.1c-6.8 6.3-14 12.5-21.6 18.6zm-6.7-175.9c2.8 13.1 5 26.9 6.7 41.2c7.6 6.1 14.8 12.3 21.6 18.6c18.9-30.2 14.2-44 11.9-48.1c-1.6-2.9-8.4-13-40.2-11.7zM290.9 99.7C274.1 65.9 259.9 64 256 64s-18.1 1.9-34.9 35.7c11.4 3.9 23.1 8.4 34.9 13.5c11.8-5.1 23.4-9.7 34.9-13.5zm-159 88.9c1.7-14.3 3.9-28 6.7-41.2c-31.8-1.4-38.6 8.7-40.2 11.7c-2.3 4.2-7 17.9 11.9 48.1c6.8-6.3 14-12.5 21.6-18.6zM110.2 304.8C91.4 335 96 348.7 98.3 352.9c1.6 2.9 8.4 13 40.2 11.7c-2.8-13.1-5-26.9-6.7-41.2c-7.6-6.1-14.8-12.3-21.6-18.6zM336 256a80 80 0 1 0 -160 0 80 80 0 1 0 160 0zm-80-32a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},j51={prefix:"fas",iconName:"cloud",icon:[640,512,[9729],"f0c2","M0 336c0 79.5 64.5 144 144 144H512c70.7 0 128-57.3 128-128c0-61.9-44-113.6-102.4-125.4c4.1-10.7 6.4-22.4 6.4-34.6c0-53-43-96-96-96c-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32C167.6 32 96 103.6 96 192c0 2.7 .1 5.4 .2 8.1C40.2 219.8 0 273.2 0 336z"]},Wv={prefix:"fas",iconName:"arrow-progress",icon:[512,512,[],"e5df","M448 128A64 64 0 1 0 448 0a64 64 0 1 0 0 128zM128 32C57.3 32 0 89.3 0 160s57.3 128 128 128H384c35.3 0 64 28.7 64 64c0 27.9-17.9 51.7-42.8 60.4c-11.5-17.1-31-28.4-53.2-28.4c-35.3 0-64 28.7-64 64s28.7 64 64 64c24.7 0 46.1-14 56.8-34.4C467.6 466.1 512 414.2 512 352c0-70.7-57.3-128-128-128H128c-35.3 0-64-28.7-64-64s28.7-64 64-64H256v14.1c0 9.9 8 17.9 17.9 17.9c4 0 7.8-1.3 11-3.8l60.8-47.3c4-3.1 6.3-7.9 6.3-12.9s-2.3-9.8-6.3-12.9L284.8 3.8c-3.1-2.4-7-3.8-11-3.8C264 0 256 8 256 17.9V32H128zm-8.6 384c-11.1-19.1-31.7-32-55.4-32c-35.3 0-64 28.7-64 64s28.7 64 64 64c23.7 0 44.4-12.9 55.4-32H160v14.1c0 9.9 8 17.9 17.9 17.9c4 0 7.8-1.3 11-3.8l60.8-47.3c4-3.1 6.3-7.9 6.3-12.9s-2.3-9.8-6.3-12.9l-60.8-47.3c-3.1-2.4-7-3.8-11-3.8c-9.9 0-17.9 8-17.9 17.9V416H119.4z"]},_0={prefix:"fas",iconName:"swatchbook",icon:[512,512,[],"f5c3","M0 32C0 14.3 14.3 0 32 0H160c17.7 0 32 14.3 32 32V416c0 53-43 96-96 96s-96-43-96-96V32zM223.6 425.9c.3-3.3 .4-6.6 .4-9.9V154l75.4-75.4c12.5-12.5 32.8-12.5 45.3 0l90.5 90.5c12.5 12.5 12.5 32.8 0 45.3L223.6 425.9zM182.8 512l192-192H480c17.7 0 32 14.3 32 32V480c0 17.7-14.3 32-32 32H182.8zM128 64H64v64h64V64zM64 192v64h64V192H64zM96 440a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},eH={prefix:"fas",iconName:"sparkles",icon:[512,512,[10024],"f890","M327.5 85.2c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L384 128l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L448 128l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L448 64 426.8 7.5C425.1 3 420.8 0 416 0s-9.1 3-10.8 7.5L384 64 327.5 85.2zM205.1 73.3c-2.6-5.7-8.3-9.3-14.5-9.3s-11.9 3.6-14.5 9.3L123.3 187.3 9.3 240C3.6 242.6 0 248.3 0 254.6s3.6 11.9 9.3 14.5l114.1 52.7L176 435.8c2.6 5.7 8.3 9.3 14.5 9.3s11.9-3.6 14.5-9.3l52.7-114.1 114.1-52.7c5.7-2.6 9.3-8.3 9.3-14.5s-3.6-11.9-9.3-14.5L257.8 187.4 205.1 73.3zM384 384l-56.5 21.2c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L384 448l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L448 448l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L448 384l-21.2-56.5c-1.7-4.5-6-7.5-10.8-7.5s-9.1 3-10.8 7.5L384 384z"]},cH={prefix:"fas",iconName:"globe",icon:[512,512,[127760],"f0ac","M352 256c0 22.2-1.2 43.6-3.3 64H163.3c-2.2-20.4-3.3-41.8-3.3-64s1.2-43.6 3.3-64H348.7c2.2 20.4 3.3 41.8 3.3 64zm28.8-64H503.9c5.3 20.5 8.1 41.9 8.1 64s-2.8 43.5-8.1 64H380.8c2.1-20.6 3.2-42 3.2-64s-1.1-43.4-3.2-64zm112.6-32H376.7c-10-63.9-29.8-117.4-55.3-151.6c78.3 20.7 142 77.5 171.9 151.6zm-149.1 0H167.7c6.1-36.4 15.5-68.6 27-94.7c10.5-23.6 22.2-40.7 33.5-51.5C239.4 3.2 248.7 0 256 0s16.6 3.2 27.8 13.8c11.3 10.8 23 27.9 33.5 51.5c11.6 26 20.9 58.2 27 94.7zm-209 0H18.6C48.6 85.9 112.2 29.1 190.6 8.4C165.1 42.6 145.3 96.1 135.3 160zM8.1 192H131.2c-2.1 20.6-3.2 42-3.2 64s1.1 43.4 3.2 64H8.1C2.8 299.5 0 278.1 0 256s2.8-43.5 8.1-64zM194.7 446.6c-11.6-26-20.9-58.2-27-94.6H344.3c-6.1 36.4-15.5 68.6-27 94.6c-10.5 23.6-22.2 40.7-33.5 51.5C272.6 508.8 263.3 512 256 512s-16.6-3.2-27.8-13.8c-11.3-10.8-23-27.9-33.5-51.5zM135.3 352c10 63.9 29.8 117.4 55.3 151.6C112.2 482.9 48.6 426.1 18.6 352H135.3zm358.1 0c-30 74.1-93.6 130.9-171.9 151.6c25.5-34.2 45.2-87.7 55.3-151.6H493.4z"]},Q9={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},X9={prefix:"fas",iconName:"shield-halved",icon:[512,512,["shield-alt"],"f3ed","M256 0c4.6 0 9.2 1 13.4 2.9L457.7 82.8c22 9.3 38.4 31 38.3 57.2c-.5 99.2-41.3 280.7-213.6 363.2c-16.7 8-36.1 8-52.8 0C57.3 420.7 16.5 239.2 16 140c-.1-26.2 16.3-47.9 38.3-57.2L242.7 2.9C246.8 1 251.4 0 256 0zm0 66.8V444.8C394 378 431.1 230.1 432 141.4L256 66.8l0 0z"]},j6={prefix:"fas",iconName:"sort",icon:[320,512,["unsorted"],"f0dc","M137.4 41.4c12.5-12.5 32.8-12.5 45.3 0l128 128c9.2 9.2 11.9 22.9 6.9 34.9s-16.6 19.8-29.6 19.8H32c-12.9 0-24.6-7.8-29.6-19.8s-2.2-25.7 6.9-34.9l128-128zm0 429.3l-128-128c-9.2-9.2-11.9-22.9-6.9-34.9s16.6-19.8 29.6-19.8H288c12.9 0 24.6 7.8 29.6 19.8s2.2 25.7-6.9 34.9l-128 128c-12.5 12.5-32.8 12.5-45.3 0z"]},Et1={prefix:"fas",iconName:"leaf",icon:[512,512,[],"f06c","M272 96c-78.6 0-145.1 51.5-167.7 122.5c33.6-17 71.5-26.5 111.7-26.5h88c8.8 0 16 7.2 16 16s-7.2 16-16 16H288 216s0 0 0 0c-16.6 0-32.7 1.9-48.3 5.4c-25.9 5.9-49.9 16.4-71.4 30.7c0 0 0 0 0 0C38.3 298.8 0 364.9 0 440v16c0 13.3 10.7 24 24 24s24-10.7 24-24V440c0-48.7 20.7-92.5 53.8-123.2C121.6 392.3 190.3 448 272 448l1 0c132.1-.7 239-130.9 239-291.4c0-42.6-7.5-83.1-21.1-119.6c-2.6-6.9-12.7-6.6-16.2-.1C455.9 72.1 418.7 96 376 96L272 96z"]},vH={prefix:"fas",iconName:"object-exclude",icon:[512,512,[],"e49c","M0 64C0 28.7 28.7 0 64 0H288c35.3 0 64 28.7 64 64v96h96c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H224c-35.3 0-64-28.7-64-64V352H64c-35.3 0-64-28.7-64-64V64zM320 192H192V320H320V192z"]},Uo1={prefix:"fas",iconName:"tag",icon:[448,512,[127991],"f02b","M0 80V229.5c0 17 6.7 33.3 18.7 45.3l176 176c25 25 65.5 25 90.5 0L418.7 317.3c25-25 25-65.5 0-90.5l-176-176c-12-12-28.3-18.7-45.3-18.7H48C21.5 32 0 53.5 0 80zm112 32a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},xH={prefix:"fas",iconName:"circle-nodes",icon:[512,512,[],"e4e2","M418.4 157.9c35.3-8.3 61.6-40 61.6-77.9c0-44.2-35.8-80-80-80c-43.4 0-78.7 34.5-80 77.5L136.2 151.1C121.7 136.8 101.9 128 80 128c-44.2 0-80 35.8-80 80s35.8 80 80 80c12.2 0 23.8-2.7 34.1-7.6L259.7 407.8c-2.4 7.6-3.7 15.8-3.7 24.2c0 44.2 35.8 80 80 80s80-35.8 80-80c0-27.7-14-52.1-35.4-66.4l37.8-207.7zM156.3 232.2c2.2-6.9 3.5-14.2 3.7-21.7l183.8-73.5c3.6 3.5 7.4 6.7 11.6 9.5L317.6 354.1c-5.5 1.3-10.8 3.1-15.8 5.5L156.3 232.2z"]},TH={prefix:"fas",iconName:"swap",icon:[640,512,[],"e609","M237 141.6c-5.3 11.2-16.6 18.4-29 18.4H160V352c0 35.3 28.7 64 64 64s64-28.7 64-64V160c0-70.7 57.3-128 128-128s128 57.3 128 128V352h48c12.4 0 23.7 7.2 29 18.4s3.6 24.5-4.4 34.1l-80 96c-6.1 7.3-15.1 11.5-24.6 11.5s-18.5-4.2-24.6-11.5l-80-96c-7.9-9.5-9.7-22.8-4.4-34.1s16.6-18.4 29-18.4h48V160c0-35.3-28.7-64-64-64s-64 28.7-64 64V352c0 70.7-57.3 128-128 128s-128-57.3-128-128V160l-48 0c-12.4 0-23.7-7.2-29-18.4s-3.6-24.5 4.4-34.1l80-96C109.5 4.2 118.5 0 128 0s18.5 4.2 24.6 11.5l80 96c7.9 9.5 9.7 22.8 4.4 34.1z"]},EH={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},$6={prefix:"fas",iconName:"id-card",icon:[576,512,[62147,"drivers-license"],"f2c2","M0 96l576 0c0-35.3-28.7-64-64-64H64C28.7 32 0 60.7 0 96zm0 32V416c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V128H0zM64 405.3c0-29.5 23.9-53.3 53.3-53.3H234.7c29.5 0 53.3 23.9 53.3 53.3c0 5.9-4.8 10.7-10.7 10.7H74.7c-5.9 0-10.7-4.8-10.7-10.7zM176 192a64 64 0 1 1 0 128 64 64 0 1 1 0-128zm176 16c0-8.8 7.2-16 16-16H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16zm0 64c0-8.8 7.2-16 16-16H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16zm0 64c0-8.8 7.2-16 16-16H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16z"]},il={prefix:"fas",iconName:"arrow-right-arrow-left",icon:[448,512,[8644,"exchange"],"f0ec","M438.6 150.6c12.5-12.5 12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.7 96 32 96C14.3 96 0 110.3 0 128s14.3 32 32 32l306.7 0-41.4 41.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l96-96zm-333.3 352c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 416 416 416c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0 41.4-41.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3l96 96z"]},qH={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},Ol1={prefix:"fas",iconName:"hammer",icon:[576,512,[128296],"f6e3","M413.5 237.5c-28.2 4.8-58.2-3.6-80-25.4l-38.1-38.1C280.4 159 272 138.8 272 117.6V105.5L192.3 62c-5.3-2.9-8.6-8.6-8.3-14.7s3.9-11.5 9.5-14l47.2-21C259.1 4.2 279 0 299.2 0h18.1c36.7 0 72 14 98.7 39.1l44.6 42c24.2 22.8 33.2 55.7 26.6 86L503 183l8-8c9.4-9.4 24.6-9.4 33.9 0l24 24c9.4 9.4 9.4 24.6 0 33.9l-88 88c-9.4 9.4-24.6 9.4-33.9 0l-24-24c-9.4-9.4-9.4-24.6 0-33.9l8-8-17.5-17.5zM27.4 377.1L260.9 182.6c3.5 4.9 7.5 9.6 11.8 14l38.1 38.1c6 6 12.4 11.2 19.2 15.7L134.9 484.6c-14.5 17.4-36 27.4-58.6 27.4C34.1 512 0 477.8 0 435.7c0-22.6 10.1-44.1 27.4-58.6z"]},ul={prefix:"fas",iconName:"scale-balanced",icon:[640,512,[9878,"balance-scale"],"f24e","M384 32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H398.4c-5.2 25.8-22.9 47.1-46.4 57.3V448H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H320 128c-17.7 0-32-14.3-32-32s14.3-32 32-32H288V153.3c-23.5-10.3-41.2-31.6-46.4-57.3H128c-17.7 0-32-14.3-32-32s14.3-32 32-32H256c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32zm55.6 288H584.4L512 195.8 439.6 320zM512 416c-62.9 0-115.2-34-126-78.9c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C627.2 382 574.9 416 512 416zM126.8 195.8L54.4 320H199.3L126.8 195.8zM.9 337.1c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C242 382 189.7 416 126.8 416S11.7 382 .9 337.1z"]},iC={prefix:"fas",iconName:"book",icon:[448,512,[128212],"f02d","M96 0C43 0 0 43 0 96V416c0 53 43 96 96 96H384h32c17.7 0 32-14.3 32-32s-14.3-32-32-32V384c17.7 0 32-14.3 32-32V32c0-17.7-14.3-32-32-32H384 96zm0 384H352v64H96c-17.7 0-32-14.3-32-32s14.3-32 32-32zm32-240c0-8.8 7.2-16 16-16H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16zm16 48H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]};const EN3=(c,r)=>r.id;function AN3(c,r){if(1&c){const e=j();o(0,"span",5)(1,"span",6),v(2,"fa-icon",3),f(3),n(),o(4,"button",7),C("click",function(){const t=y(e).$implicit;return b(h(2).notifyDismiss(t))}),w(),o(5,"svg",8),v(6,"path",9),n(),O(),o(7,"span",10),f(8),m(9,"translate"),n()()()}if(2&c){const e=r.$implicit,a=r.$index,t=h(2);E1("title",null==e?null:e.name),k("id","badge-dismiss-"+a),s(2),k("icon",t.faTag),s(),H(null==e?null:e.name),s(),A2("data-dismiss-target","#badge-dismiss-"+a),s(4),H(_(9,6,"CATEGORIES_FILTER._remove_badge"))}}function PN3(c,r){1&c&&c1(0,AN3,10,8,"span",5,EN3),2&c&&a1(h().selected)}let uC=(()=>{class c{constructor(e,a){this.localStorage=e,this.eventMessage=a,this.selected=[],this.faAddressCard=La,this.faFilterList=Z41,this.faTag=Uo1,this.selected=[],this.eventMessage.messages$.subscribe(t=>{if("AddedFilter"===t.type){const i=t.value;-1==this.selected.findIndex(d=>d.id===i.id)&&this.selected.push(t.value)}else if("RemovedFilter"===t.type){const i=t.value,l=this.selected.findIndex(d=>d.id===i.id);l>-1&&this.selected.splice(l,1)}})}ngOnInit(){const e=this.localStorage.getObject("selected_categories");this.selected=Array.isArray(e)?e:[]}notifyDismiss(e){console.log("Category dismissed: "+JSON.stringify(e)),this.localStorage.removeCategoryFilter(e),this.eventMessage.emitRemovedFilter(e)}static#e=this.\u0275fac=function(a){return new(a||c)(B(R1),B(e2))};static#c=this.\u0275cmp=V1({type:c,selectors:[["bae-categories-panel"]],standalone:!0,features:[C3],decls:8,vars:5,consts:[[1,"bg-indigo-300"],["id","chips",1,"flex","justify-center","items-center","min-h-[58px]","p-2"],[1,"mr-4","ml-2","min-w-fit"],[1,"mr-2",3,"icon"],[1,"overflow-x-auto","max-h-[46px]","inline-flex"],[1,"inline-flex","min-w-fit","mb-1","justify-between","items-center","px-2","py-1","me-2","text-xs","font-medium","text-primary-100","border","border-1","border-primary-100","bg-secondary-50","rounded","dark:bg-secondary-100","dark:text-secondary-50",3,"id","title"],[1,"line-clamp-1","min-w-fit"],["type","button","aria-label","Remove",1,"inline-flex","items-center","p-1","ms-2","text-sm","text-primary-100","dark:text-secondary-50","bg-transparent","rounded-sm","hover:bg-primary-100","hover:text-secondary-50","dark:hover:bg-primary-50","dark:hover:text-primary-100",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-2","h-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"],[1,"sr-only"]],template:function(a,t){1&a&&(o(0,"div",0)(1,"div",1)(2,"span",2),v(3,"fa-icon",3),f(4),m(5,"translate"),n(),o(6,"div",4),R(7,PN3,2,0),n()()()),2&a&&(s(3),k("icon",t.faFilterList),s(),H(_(5,3,"CATEGORIES_FILTER._applied_filters")),s(3),S(7,t.selected.length>0?7:-1))},dependencies:[ms,J1,S4]})}return c})(),RN3=(()=>{class c{constructor(e,a,t,i,l,d,u){this.translate=e,this.localStorage=a,this.eventMessage=t,this.route=i,this.router=l,this.api=d,this.refreshApi=u,this.title="DOME Marketplace",this.showPanel=!1,this.translate.addLangs(["en","es"]),this.translate.setDefaultLang("es");let p=this.localStorage.getItem("current_language");p&&null!=p?this.translate.use(p):(this.localStorage.setItem("current_language",""),this.translate.use("es")),this.localStorage.getObject("selected_categories")||this.localStorage.setObject("selected_categories",[]),this.eventMessage.messages$.subscribe(z=>{("AddedFilter"===z.type||"RemovedFilter"===z.type)&&this.checkPanel()})}ngOnInit(){S1(),this.localStorage.getObject("selected_categories")||this.localStorage.setObject("selected_categories",[]),this.localStorage.getObject("cart_items")||this.localStorage.setObject("cart_items",[]),this.localStorage.getObject("login_items")||this.localStorage.setObject("login_items",{}),this.checkPanel(),this.eventMessage.messages$.subscribe(a=>{if("LoginProcess"===a.type){this.refreshApi.stopInterval();let t=a.value;console.log("STARTING INTERVAL"),console.log(t.expire),console.log(t.expire-s2().unix()-4),this.refreshApi.startInterval(1e3*(t.expire-s2().unix()-4),a)}});let e=this.localStorage.getObject("login_items");"{}"===JSON.stringify(e)||e.expire-s2().unix()-4>0&&(this.refreshApi.stopInterval(),this.refreshApi.startInterval(1e3*(e.expire-s2().unix()-4),e),console.log("token"),console.log(e.token))}checkPanel(){const e=this.localStorage.getObject("selected_categories")||[],a=this.showPanel;this.showPanel=e.length>0,this.showPanel!=a&&(this.eventMessage.emitFilterShown(this.showPanel),this.localStorage.setItem("is_filter_panel_shown",this.showPanel.toString()))}static#e=this.\u0275fac=function(a){return new(a||c)(B(la),B(R1),B(e2),B(j3),B(Z1),B(p1),B(cN))};static#c=this.\u0275cmp=V1({type:c,selectors:[["app-root"]],decls:6,vars:2,consts:[[1,"fixed","w-full","z-50","top-0","start-0"],[1,"fixed","z-30","w-full","top-[72px]","transition","transform","opacity-0","duration-200",3,"ngClass"],[1,"bg-fixed","bg-no-repeat","bg-right","pb-[25px]",3,"ngClass"],[1,"relative"],[1,"hidden","md:block"]],template:function(a,t){1&a&&(v(0,"bae-header",0)(1,"bae-categories-panel",1),o(2,"main",2),v(3,"router-outlet"),n(),v(4,"app-chatbot-widget",3)(5,"bae-footer",4)),2&a&&(s(),k("ngClass",t.showPanel?"opacity-100":"hidden"),s(),k("ngClass",t.showPanel?"pt-[130px]":"pt-[75px]"))},dependencies:[k2,Sa,Cq,L_,oT2,uC],styles:[".bae-content[_ngcontent-%COMP%]{width:100%;min-height:calc(100vh - 100px)!important;padding-top:75px!important;padding-bottom:25px!important}"]})}return c})(),qd1=(()=>{class c{constructor(e,a){this._renderer=e,this._elementRef=a,this.onChange=t=>{},this.onTouched=()=>{}}setProperty(e,a){this._renderer.setProperty(this._elementRef.nativeElement,e,a)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static#e=this.\u0275fac=function(a){return new(a||c)(B(T6),B(v2))};static#c=this.\u0275dir=U1({type:c})}return c})(),g5=(()=>{class c extends qd1{static#e=this.\u0275fac=(()=>{let e;return function(t){return(e||(e=b4(c)))(t||c)}})();static#c=this.\u0275dir=U1({type:c,features:[$2]})}return c})();const W0=new H1(""),BN3={provide:W0,useExisting:E2(()=>hC),multi:!0};let hC=(()=>{class c extends g5{writeValue(e){this.setProperty("checked",e)}static#e=this.\u0275fac=(()=>{let e;return function(t){return(e||(e=b4(c)))(t||c)}})();static#c=this.\u0275dir=U1({type:c,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(a,t){1&a&&C("change",function(l){return t.onChange(l.target.checked)})("blur",function(){return t.onTouched()})},features:[u4([BN3]),$2]})}return c})();const ON3={provide:W0,useExisting:E2(()=>H4),multi:!0},UN3=new H1("");let H4=(()=>{class c extends qd1{constructor(e,a,t){super(e,a),this._compositionMode=t,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function IN3(){const c=a8()?a8().getUserAgent():"";return/android (\d+)/.test(c.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static#e=this.\u0275fac=function(a){return new(a||c)(B(T6),B(v2),B(UN3,8))};static#c=this.\u0275dir=U1({type:c,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(a,t){1&a&&C("input",function(l){return t._handleInput(l.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(l){return t._compositionEnd(l.target.value)})},features:[u4([ON3]),$2]})}return c})();function L8(c){return null==c||("string"==typeof c||Array.isArray(c))&&0===c.length}function Wd1(c){return null!=c&&"number"==typeof c.length}const V3=new H1(""),y8=new H1(""),jN3=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class O1{static min(r){return function Zd1(c){return r=>{if(L8(r.value)||L8(c))return null;const e=parseFloat(r.value);return!isNaN(e)&&e{if(L8(r.value)||L8(c))return null;const e=parseFloat(r.value);return!isNaN(e)&&e>c?{max:{max:c,actual:r.value}}:null}}(r)}static required(r){return Qd1(r)}static requiredTrue(r){return function Jd1(c){return!0===c.value?null:{required:!0}}(r)}static email(r){return function Xd1(c){return L8(c.value)||jN3.test(c.value)?null:{email:!0}}(r)}static minLength(r){return function eu1(c){return r=>L8(r.value)||!Wd1(r.value)?null:r.value.lengthWd1(r.value)&&r.value.length>c?{maxlength:{requiredLength:c,actualLength:r.value.length}}:null}(r)}static pattern(r){return au1(r)}static nullValidator(r){return null}static compose(r){return su1(r)}static composeAsync(r){return lu1(r)}}function Qd1(c){return L8(c.value)?{required:!0}:null}function au1(c){if(!c)return ml;let r,e;return"string"==typeof c?(e="","^"!==c.charAt(0)&&(e+="^"),e+=c,"$"!==c.charAt(c.length-1)&&(e+="$"),r=new RegExp(e)):(e=c.toString(),r=c),a=>{if(L8(a.value))return null;const t=a.value;return r.test(t)?null:{pattern:{requiredPattern:e,actualValue:t}}}}function ml(c){return null}function ru1(c){return null!=c}function tu1(c){return Fr(c)?k4(c):c}function iu1(c){let r={};return c.forEach(e=>{r=null!=e?{...r,...e}:r}),0===Object.keys(r).length?null:r}function ou1(c,r){return r.map(e=>e(c))}function nu1(c){return c.map(r=>function $N3(c){return!c.validate}(r)?r:e=>r.validate(e))}function su1(c){if(!c)return null;const r=c.filter(ru1);return 0==r.length?null:function(e){return iu1(ou1(e,r))}}function mC(c){return null!=c?su1(nu1(c)):null}function lu1(c){if(!c)return null;const r=c.filter(ru1);return 0==r.length?null:function(e){return Qm(ou1(e,r).map(tu1)).pipe(X1(iu1))}}function _C(c){return null!=c?lu1(nu1(c)):null}function fu1(c,r){return null===c?[r]:Array.isArray(c)?[...c,r]:[c,r]}function du1(c){return c._rawValidators}function uu1(c){return c._rawAsyncValidators}function pC(c){return c?Array.isArray(c)?c:[c]:[]}function _l(c,r){return Array.isArray(c)?c.includes(r):c===r}function hu1(c,r){const e=pC(r);return pC(c).forEach(t=>{_l(e,t)||e.push(t)}),e}function mu1(c,r){return pC(r).filter(e=>!_l(c,e))}class _u1{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(r){this._rawValidators=r||[],this._composedValidatorFn=mC(this._rawValidators)}_setAsyncValidators(r){this._rawAsyncValidators=r||[],this._composedAsyncValidatorFn=_C(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(r){this._onDestroyCallbacks.push(r)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(r=>r()),this._onDestroyCallbacks=[]}reset(r=void 0){this.control&&this.control.reset(r)}hasError(r,e){return!!this.control&&this.control.hasError(r,e)}getError(r,e){return this.control?this.control.getError(r,e):null}}class $3 extends _u1{get formDirective(){return null}get path(){return null}}class b8 extends _u1{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class pu1{constructor(r){this._cd=r}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let N4=(()=>{class c extends pu1{constructor(e){super(e)}static#e=this.\u0275fac=function(a){return new(a||c)(B(b8,2))};static#c=this.\u0275dir=U1({type:c,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(a,t){2&a&&A6("ng-untouched",t.isUntouched)("ng-touched",t.isTouched)("ng-pristine",t.isPristine)("ng-dirty",t.isDirty)("ng-valid",t.isValid)("ng-invalid",t.isInvalid)("ng-pending",t.isPending)},features:[$2]})}return c})(),O4=(()=>{class c extends pu1{constructor(e){super(e)}static#e=this.\u0275fac=function(a){return new(a||c)(B($3,10))};static#c=this.\u0275dir=U1({type:c,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(a,t){2&a&&A6("ng-untouched",t.isUntouched)("ng-touched",t.isTouched)("ng-pristine",t.isPristine)("ng-dirty",t.isDirty)("ng-valid",t.isValid)("ng-invalid",t.isInvalid)("ng-pending",t.isPending)("ng-submitted",t.isSubmitted)},features:[$2]})}return c})();const Ot="VALID",gl="INVALID",Na="PENDING",It="DISABLED";function HC(c){return(vl(c)?c.validators:c)||null}function CC(c,r){return(vl(r)?r.asyncValidators:c)||null}function vl(c){return null!=c&&!Array.isArray(c)&&"object"==typeof c}class zC{constructor(r,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(r),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(r){this._rawValidators=this._composedValidatorFn=r}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(r){this._rawAsyncValidators=this._composedAsyncValidatorFn=r}get parent(){return this._parent}get valid(){return this.status===Ot}get invalid(){return this.status===gl}get pending(){return this.status==Na}get disabled(){return this.status===It}get enabled(){return this.status!==It}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(r){this._assignValidators(r)}setAsyncValidators(r){this._assignAsyncValidators(r)}addValidators(r){this.setValidators(hu1(r,this._rawValidators))}addAsyncValidators(r){this.setAsyncValidators(hu1(r,this._rawAsyncValidators))}removeValidators(r){this.setValidators(mu1(r,this._rawValidators))}removeAsyncValidators(r){this.setAsyncValidators(mu1(r,this._rawAsyncValidators))}hasValidator(r){return _l(this._rawValidators,r)}hasAsyncValidator(r){return _l(this._rawAsyncValidators,r)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(r={}){this.touched=!0,this._parent&&!r.onlySelf&&this._parent.markAsTouched(r)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(r=>r.markAllAsTouched())}markAsUntouched(r={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!r.onlySelf&&this._parent._updateTouched(r)}markAsDirty(r={}){this.pristine=!1,this._parent&&!r.onlySelf&&this._parent.markAsDirty(r)}markAsPristine(r={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!r.onlySelf&&this._parent._updatePristine(r)}markAsPending(r={}){this.status=Na,!1!==r.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!r.onlySelf&&this._parent.markAsPending(r)}disable(r={}){const e=this._parentMarkedDirty(r.onlySelf);this.status=It,this.errors=null,this._forEachChild(a=>{a.disable({...r,onlySelf:!0})}),this._updateValue(),!1!==r.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...r,skipPristineCheck:e}),this._onDisabledChange.forEach(a=>a(!0))}enable(r={}){const e=this._parentMarkedDirty(r.onlySelf);this.status=Ot,this._forEachChild(a=>{a.enable({...r,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:r.emitEvent}),this._updateAncestors({...r,skipPristineCheck:e}),this._onDisabledChange.forEach(a=>a(!1))}_updateAncestors(r){this._parent&&!r.onlySelf&&(this._parent.updateValueAndValidity(r),r.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(r){this._parent=r}getRawValue(){return this.value}updateValueAndValidity(r={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ot||this.status===Na)&&this._runAsyncValidator(r.emitEvent)),!1!==r.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!r.onlySelf&&this._parent.updateValueAndValidity(r)}_updateTreeValidity(r={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(r)),this.updateValueAndValidity({onlySelf:!0,emitEvent:r.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?It:Ot}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(r){if(this.asyncValidator){this.status=Na,this._hasOwnPendingAsyncValidator=!0;const e=tu1(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(a=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(a,{emitEvent:r})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(r,e={}){this.errors=r,this._updateControlsErrors(!1!==e.emitEvent)}get(r){let e=r;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((a,t)=>a&&a._find(t),this)}getError(r,e){const a=e?this.get(e):this;return a&&a.errors?a.errors[r]:null}hasError(r,e){return!!this.getError(r,e)}get root(){let r=this;for(;r._parent;)r=r._parent;return r}_updateControlsErrors(r){this.status=this._calculateStatus(),r&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(r)}_initObservables(){this.valueChanges=new Y1,this.statusChanges=new Y1}_calculateStatus(){return this._allControlsDisabled()?It:this.errors?gl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Na)?Na:this._anyControlsHaveStatus(gl)?gl:Ot}_anyControlsHaveStatus(r){return this._anyControls(e=>e.status===r)}_anyControlsDirty(){return this._anyControls(r=>r.dirty)}_anyControlsTouched(){return this._anyControls(r=>r.touched)}_updatePristine(r={}){this.pristine=!this._anyControlsDirty(),this._parent&&!r.onlySelf&&this._parent._updatePristine(r)}_updateTouched(r={}){this.touched=this._anyControlsTouched(),this._parent&&!r.onlySelf&&this._parent._updateTouched(r)}_registerOnCollectionChange(r){this._onCollectionChange=r}_setUpdateStrategy(r){vl(r)&&null!=r.updateOn&&(this._updateOn=r.updateOn)}_parentMarkedDirty(r){return!r&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(r){return null}_assignValidators(r){this._rawValidators=Array.isArray(r)?r.slice():r,this._composedValidatorFn=function WN3(c){return Array.isArray(c)?mC(c):c||null}(this._rawValidators)}_assignAsyncValidators(r){this._rawAsyncValidators=Array.isArray(r)?r.slice():r,this._composedAsyncValidatorFn=function ZN3(c){return Array.isArray(c)?_C(c):c||null}(this._rawAsyncValidators)}}class S2 extends zC{constructor(r,e,a){super(HC(e),CC(a,e)),this.controls=r,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(r,e){return this.controls[r]?this.controls[r]:(this.controls[r]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(r,e,a={}){this.registerControl(r,e),this.updateValueAndValidity({emitEvent:a.emitEvent}),this._onCollectionChange()}removeControl(r,e={}){this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),delete this.controls[r],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(r,e,a={}){this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),delete this.controls[r],e&&this.registerControl(r,e),this.updateValueAndValidity({emitEvent:a.emitEvent}),this._onCollectionChange()}contains(r){return this.controls.hasOwnProperty(r)&&this.controls[r].enabled}setValue(r,e={}){(function Hu1(c,r,e){c._forEachChild((a,t)=>{if(void 0===e[t])throw new l1(1002,"")})})(this,0,r),Object.keys(r).forEach(a=>{(function vu1(c,r,e){const a=c.controls;if(!(r?Object.keys(a):a).length)throw new l1(1e3,"");if(!a[e])throw new l1(1001,"")})(this,!0,a),this.controls[a].setValue(r[a],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(r,e={}){null!=r&&(Object.keys(r).forEach(a=>{const t=this.controls[a];t&&t.patchValue(r[a],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(r={},e={}){this._forEachChild((a,t)=>{a.reset(r?r[t]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(r,e,a)=>(r[a]=e.getRawValue(),r))}_syncPendingControls(){let r=this._reduceChildren(!1,(e,a)=>!!a._syncPendingControls()||e);return r&&this.updateValueAndValidity({onlySelf:!0}),r}_forEachChild(r){Object.keys(this.controls).forEach(e=>{const a=this.controls[e];a&&r(a,e)})}_setUpControls(){this._forEachChild(r=>{r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(r){for(const[e,a]of Object.entries(this.controls))if(this.contains(e)&&r(a))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,a,t)=>((a.enabled||this.disabled)&&(e[t]=a.value),e))}_reduceChildren(r,e){let a=r;return this._forEachChild((t,i)=>{a=e(a,t,i)}),a}_allControlsDisabled(){for(const r of Object.keys(this.controls))if(this.controls[r].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(r){return this.controls.hasOwnProperty(r)?this.controls[r]:null}}const v5=new H1("CallSetDisabledState",{providedIn:"root",factory:()=>Ut}),Ut="always";function Hl(c,r){return[...r.path,c]}function jt(c,r,e=Ut){VC(c,r),r.valueAccessor.writeValue(c.value),(c.disabled||"always"===e)&&r.valueAccessor.setDisabledState?.(c.disabled),function JN3(c,r){r.valueAccessor.registerOnChange(e=>{c._pendingValue=e,c._pendingChange=!0,c._pendingDirty=!0,"change"===c.updateOn&&Cu1(c,r)})}(c,r),function eD3(c,r){const e=(a,t)=>{r.valueAccessor.writeValue(a),t&&r.viewToModelUpdate(a)};c.registerOnChange(e),r._registerOnDestroy(()=>{c._unregisterOnChange(e)})}(c,r),function XN3(c,r){r.valueAccessor.registerOnTouched(()=>{c._pendingTouched=!0,"blur"===c.updateOn&&c._pendingChange&&Cu1(c,r),"submit"!==c.updateOn&&c.markAsTouched()})}(c,r),function QN3(c,r){if(r.valueAccessor.setDisabledState){const e=a=>{r.valueAccessor.setDisabledState(a)};c.registerOnDisabledChange(e),r._registerOnDestroy(()=>{c._unregisterOnDisabledChange(e)})}}(c,r)}function Cl(c,r,e=!0){const a=()=>{};r.valueAccessor&&(r.valueAccessor.registerOnChange(a),r.valueAccessor.registerOnTouched(a)),Vl(c,r),c&&(r._invokeOnDestroyCallbacks(),c._registerOnCollectionChange(()=>{}))}function zl(c,r){c.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(r)})}function VC(c,r){const e=du1(c);null!==r.validator?c.setValidators(fu1(e,r.validator)):"function"==typeof e&&c.setValidators([e]);const a=uu1(c);null!==r.asyncValidator?c.setAsyncValidators(fu1(a,r.asyncValidator)):"function"==typeof a&&c.setAsyncValidators([a]);const t=()=>c.updateValueAndValidity();zl(r._rawValidators,t),zl(r._rawAsyncValidators,t)}function Vl(c,r){let e=!1;if(null!==c){if(null!==r.validator){const t=du1(c);if(Array.isArray(t)&&t.length>0){const i=t.filter(l=>l!==r.validator);i.length!==t.length&&(e=!0,c.setValidators(i))}}if(null!==r.asyncValidator){const t=uu1(c);if(Array.isArray(t)&&t.length>0){const i=t.filter(l=>l!==r.asyncValidator);i.length!==t.length&&(e=!0,c.setAsyncValidators(i))}}}const a=()=>{};return zl(r._rawValidators,a),zl(r._rawAsyncValidators,a),e}function Cu1(c,r){c._pendingDirty&&c.markAsDirty(),c.setValue(c._pendingValue,{emitModelToViewChange:!1}),r.viewToModelUpdate(c._pendingValue),c._pendingChange=!1}function zu1(c,r){VC(c,r)}function LC(c,r){if(!c.hasOwnProperty("model"))return!1;const e=c.model;return!!e.isFirstChange()||!Object.is(r,e.currentValue)}function Vu1(c,r){c._syncPendingControls(),r.forEach(e=>{const a=e.control;"submit"===a.updateOn&&a._pendingChange&&(e.viewToModelUpdate(a._pendingValue),a._pendingChange=!1)})}function yC(c,r){if(!r)return null;let e,a,t;return Array.isArray(r),r.forEach(i=>{i.constructor===H4?e=i:function rD3(c){return Object.getPrototypeOf(c.constructor)===g5}(i)?a=i:t=i}),t||a||e||null}const iD3={provide:$3,useExisting:E2(()=>Da)},$t=Promise.resolve();let Da=(()=>{class c extends $3{constructor(e,a,t){super(),this.callSetDisabledState=t,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Y1,this.form=new S2({},mC(e),_C(a))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){$t.then(()=>{const a=this._findContainer(e.path);e.control=a.registerControl(e.name,e.control),jt(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){$t.then(()=>{const a=this._findContainer(e.path);a&&a.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){$t.then(()=>{const a=this._findContainer(e.path),t=new S2({});zu1(t,e),a.registerControl(e.name,t),t.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){$t.then(()=>{const a=this._findContainer(e.path);a&&a.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,a){$t.then(()=>{this.form.get(e.path).setValue(a)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,Vu1(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static#e=this.\u0275fac=function(a){return new(a||c)(B(V3,10),B(y8,10),B(v5,8))};static#c=this.\u0275dir=U1({type:c,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(a,t){1&a&&C("submit",function(l){return t.onSubmit(l)})("reset",function(){return t.onReset()})},inputs:{options:[J2.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[u4([iD3]),$2]})}return c})();function Mu1(c,r){const e=c.indexOf(r);e>-1&&c.splice(e,1)}function Lu1(c){return"object"==typeof c&&null!==c&&2===Object.keys(c).length&&"value"in c&&"disabled"in c}const u1=class extends zC{constructor(r=null,e,a){super(HC(e),CC(a,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(r),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),vl(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=Lu1(r)?r.value:r)}setValue(r,e={}){this.value=this._pendingValue=r,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(a=>a(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(r,e={}){this.setValue(r,e)}reset(r=this.defaultValue,e={}){this._applyFormState(r),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(r){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(r){this._onChange.push(r)}_unregisterOnChange(r){Mu1(this._onChange,r)}registerOnDisabledChange(r){this._onDisabledChange.push(r)}_unregisterOnDisabledChange(r){Mu1(this._onDisabledChange,r)}_forEachChild(r){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(r){Lu1(r)?(this.value=this._pendingValue=r.value,r.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=r}},sD3={provide:b8,useExisting:E2(()=>Ml)},xu1=Promise.resolve();let Ml=(()=>{class c extends b8{constructor(e,a,t,i,l,d){super(),this._changeDetectorRef=l,this.callSetDisabledState=d,this.control=new u1,this._registered=!1,this.name="",this.update=new Y1,this._parent=e,this._setValidators(a),this._setAsyncValidators(t),this.valueAccessor=yC(0,i)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const a=e.name.previousValue;this.formDirective.removeControl({name:a,path:this._getPath(a)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),LC(e,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(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){jt(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()}_updateValue(e){xu1.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const a=e.isDisabled.currentValue,t=0!==a&&Jc(a);xu1.then(()=>{t&&!this.control.disabled?this.control.disable():!t&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?Hl(e,this._parent):[e]}static#e=this.\u0275fac=function(a){return new(a||c)(B($3,9),B(V3,10),B(y8,10),B(W0,10),B(B1,8),B(v5,8))};static#c=this.\u0275dir=U1({type:c,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[J2.None,"disabled","isDisabled"],model:[J2.None,"ngModel","model"],options:[J2.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[u4([sD3]),$2,A]})}return c})(),I4=(()=>{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275dir=U1({type:c,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return c})();const lD3={provide:W0,useExisting:E2(()=>Ta),multi:!0};let Ta=(()=>{class c extends g5{writeValue(e){this.setProperty("value",e??"")}registerOnChange(e){this.onChange=a=>{e(""==a?null:parseFloat(a))}}static#e=this.\u0275fac=(()=>{let e;return function(t){return(e||(e=b4(c)))(t||c)}})();static#c=this.\u0275dir=U1({type:c,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(a,t){1&a&&C("input",function(l){return t.onChange(l.target.value)})("blur",function(){return t.onTouched()})},features:[u4([lD3]),$2]})}return c})();const bC=new H1(""),hD3={provide:b8,useExisting:E2(()=>H5)};let H5=(()=>{class c extends b8{set isDisabled(e){}static#e=this._ngModelWarningSentOnce=!1;constructor(e,a,t,i,l){super(),this._ngModelWarningConfig=i,this.callSetDisabledState=l,this.update=new Y1,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(a),this.valueAccessor=yC(0,t)}ngOnChanges(e){if(this._isControlChanged(e)){const a=e.form.previousValue;a&&Cl(a,this,!1),jt(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}LC(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Cl(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static#c=this.\u0275fac=function(a){return new(a||c)(B(V3,10),B(y8,10),B(W0,10),B(bC,8),B(v5,8))};static#a=this.\u0275dir=U1({type:c,selectors:[["","formControl",""]],inputs:{form:[J2.None,"formControl","form"],isDisabled:[J2.None,"disabled","isDisabled"],model:[J2.None,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[u4([hD3]),$2,A]})}return c})();const mD3={provide:$3,useExisting:E2(()=>X4)};let X4=(()=>{class c extends $3{constructor(e,a,t){super(),this.callSetDisabledState=t,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Y1,this._setValidators(e),this._setAsyncValidators(a)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Vl(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const a=this.form.get(e.path);return jt(a,e,this.callSetDisabledState),a.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),a}getControl(e){return this.form.get(e.path)}removeControl(e){Cl(e.control||null,e,!1),function tD3(c,r){const e=c.indexOf(r);e>-1&&c.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,a){this.form.get(e.path).setValue(a)}onSubmit(e){return this.submitted=!0,Vu1(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const a=e.control,t=this.form.get(e.path);a!==t&&(Cl(a||null,e),(c=>c instanceof u1)(t)&&(jt(t,e,this.callSetDisabledState),e.control=t))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const a=this.form.get(e.path);zu1(a,e),a.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const a=this.form.get(e.path);a&&function cD3(c,r){return Vl(c,r)}(a,e)&&a.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){VC(this.form,this),this._oldForm&&Vl(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(a){return new(a||c)(B(V3,10),B(y8,10),B(v5,8))};static#c=this.\u0275dir=U1({type:c,selectors:[["","formGroup",""]],hostBindings:function(a,t){1&a&&C("submit",function(l){return t.onSubmit(l)})("reset",function(){return t.onReset()})},inputs:{form:[J2.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[u4([mD3]),$2,A]})}return c})();const gD3={provide:b8,useExisting:E2(()=>f3)};let f3=(()=>{class c extends b8{set isDisabled(e){}static#e=this._ngModelWarningSentOnce=!1;constructor(e,a,t,i,l){super(),this._ngModelWarningConfig=l,this._added=!1,this.name=null,this.update=new Y1,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(a),this._setAsyncValidators(t),this.valueAccessor=yC(0,i)}ngOnChanges(e){this._added||this._setUpControl(),LC(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return Hl(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#c=this.\u0275fac=function(a){return new(a||c)(B($3,13),B(V3,10),B(y8,10),B(W0,10),B(bC,8))};static#a=this.\u0275dir=U1({type:c,selectors:[["","formControlName",""]],inputs:{name:[J2.None,"formControlName","name"],isDisabled:[J2.None,"disabled","isDisabled"],model:[J2.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[u4([gD3]),$2,A]})}return c})();const vD3={provide:W0,useExisting:E2(()=>Ea),multi:!0};function Su1(c,r){return null==c?`${r}`:(r&&"object"==typeof r&&(r="Object"),`${c}: ${r}`.slice(0,50))}let Ea=(()=>{class c extends g5{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){this.value=e;const t=Su1(this._getOptionId(e),e);this.setProperty("value",t)}registerOnChange(e){this.onChange=a=>{this.value=this._getOptionValue(a),e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const a of this._optionMap.keys())if(this._compareWith(this._optionMap.get(a),e))return a;return null}_getOptionValue(e){const a=function HD3(c){return c.split(":")[0]}(e);return this._optionMap.has(a)?this._optionMap.get(a):e}static#e=this.\u0275fac=(()=>{let e;return function(t){return(e||(e=b4(c)))(t||c)}})();static#c=this.\u0275dir=U1({type:c,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(a,t){1&a&&C("change",function(l){return t.onChange(l.target.value)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[u4([vD3]),$2]})}return c})(),x6=(()=>{class c{constructor(e,a,t){this._element=e,this._renderer=a,this._select=t,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(Su1(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(a){return new(a||c)(B(v2),B(T6),B(Ea,9))};static#c=this.\u0275dir=U1({type:c,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return c})();const CD3={provide:W0,useExisting:E2(()=>FC),multi:!0};function Nu1(c,r){return null==c?`${r}`:("string"==typeof r&&(r=`'${r}'`),r&&"object"==typeof r&&(r="Object"),`${c}: ${r}`.slice(0,50))}let FC=(()=>{class c extends g5{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){let a;if(this.value=e,Array.isArray(e)){const t=e.map(i=>this._getOptionId(i));a=(i,l)=>{i._setSelected(t.indexOf(l.toString())>-1)}}else a=(t,i)=>{t._setSelected(!1)};this._optionMap.forEach(a)}registerOnChange(e){this.onChange=a=>{const t=[],i=a.selectedOptions;if(void 0!==i){const l=i;for(let d=0;d{let e;return function(t){return(e||(e=b4(c)))(t||c)}})();static#c=this.\u0275dir=U1({type:c,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(a,t){1&a&&C("change",function(l){return t.onChange(l.target)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[u4([CD3]),$2]})}return c})(),w6=(()=>{class c{constructor(e,a,t){this._element=e,this._renderer=a,this._select=t,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(Nu1(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(Nu1(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(a){return new(a||c)(B(v2),B(T6),B(FC,9))};static#c=this.\u0275dir=U1({type:c,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return c})(),C5=(()=>{class c{constructor(){this._validator=ml}ngOnChanges(e){if(this.inputName in e){const a=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(a),this._validator=this._enabled?this.createValidator(a):ml,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275dir=U1({type:c,features:[A]})}return c})();const LD3={provide:V3,useExisting:E2(()=>Yt),multi:!0};let Yt=(()=>{class c extends C5{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Jc,this.createValidator=e=>Qd1}enabled(e){return e}static#e=this.\u0275fac=(()=>{let e;return function(t){return(e||(e=b4(c)))(t||c)}})();static#c=this.\u0275dir=U1({type:c,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(a,t){2&a&&A2("required",t._enabled?"":null)},inputs:{required:"required"},features:[u4([LD3]),$2]})}return c})();const FD3={provide:V3,useExisting:E2(()=>Ll),multi:!0};let Ll=(()=>{class c extends C5{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=e=>e,this.createValidator=e=>au1(e)}static#e=this.\u0275fac=(()=>{let e;return function(t){return(e||(e=b4(c)))(t||c)}})();static#c=this.\u0275dir=U1({type:c,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(a,t){2&a&&A2("pattern",t._enabled?t.pattern:null)},inputs:{pattern:"pattern"},features:[u4([FD3]),$2]})}return c})(),Iu1=(()=>{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275mod=M4({type:c});static#a=this.\u0275inj=g4({})}return c})(),yl=(()=>{class c{static withConfig(e){return{ngModule:c,providers:[{provide:v5,useValue:e.callSetDisabledState??Ut}]}}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275mod=M4({type:c});static#a=this.\u0275inj=g4({imports:[Iu1]})}return c})(),kC=(()=>{class c{static withConfig(e){return{ngModule:c,providers:[{provide:bC,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:v5,useValue:e.callSetDisabledState??Ut}]}}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275mod=M4({type:c});static#a=this.\u0275inj=g4({imports:[Iu1]})}return c})();const SD3=[f0,tk,yl,kC,bg,ms];let ND3=(()=>{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275mod=M4({type:c});static#a=this.\u0275inj=g4({providers:[Q4,la],imports:[SD3,uC,f0,tk,yl,kC,bg,ms]})}return c})();const Y6=[{id:1,name:"ISO 22301:2019",mandatory:!1,domesupported:!0},{id:2,name:"ISO/IEC 27000:2018",mandatory:!1,domesupported:!0},{id:3,name:"ISO/IEC 27001:2022",mandatory:!1,domesupported:!0},{id:4,name:"ISO/IEC 27002:2022",mandatory:!1,domesupported:!0},{id:5,name:"ISO/IEC 27701:2019",mandatory:!1,domesupported:!0},{id:6,name:"ISO/IEC 27017:2015",mandatory:!1,domesupported:!0},{id:7,name:"Payment Card Industry Data Security Standard (PCI DSS) v4.0",mandatory:!1,domesupported:!1},{id:8,name:"ISO/IEC 22123-1:2021",mandatory:!1,domesupported:!1},{id:9,name:"ISO/IEC 20000-1:2018",mandatory:!1,domesupported:!1},{id:10,name:"ISO/IEC 20000-2:2019",mandatory:!1,domesupported:!1},{id:11,name:"ISO/IEC 19944-1:2020",mandatory:!1,domesupported:!1},{id:12,name:"ISO/IEC 17826:2022",mandatory:!1,domesupported:!1},{id:13,name:"ISO/IEC 17788:2014",mandatory:!1,domesupported:!1},{id:14,name:"ISO/IEC 19941:2017",mandatory:!1,domesupported:!1},{id:15,name:"ISO/IEC 29100:2011",mandatory:!1,domesupported:!1},{id:16,name:"ISO/IEC 29101:2018",mandatory:!1,domesupported:!1},{id:17,name:"ISO/IEC 19086-4:2019",mandatory:!1,domesupported:!1},{name:"ISO/IEC 27018:2019",mandatory:!1,domesupported:!1},{id:18,name:"ISO/IEC 19086-1:201",mandatory:!1,domesupported:!1},{id:19,name:"ISO/IEC 19086-2:2018",mandatory:!1,domesupported:!1},{id:20,name:"ISO/IEC 19086-3:2017",mandatory:!1,domesupported:!1}];class Gt extends Error{}function SC(c,r){if("string"!=typeof c)throw new Gt("Invalid token specified: must be a string");r||(r={});const e=!0===r.header?0:1,a=c.split(".")[e];if("string"!=typeof a)throw new Gt(`Invalid token specified: missing part #${e+1}`);let t;try{t=function TD3(c){let r=c.replace(/-/g,"+").replace(/_/g,"/");switch(r.length%4){case 0:break;case 2:r+="==";break;case 3:r+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return function DD3(c){return decodeURIComponent(atob(c).replace(/(.)/g,(r,e)=>{let a=e.charCodeAt(0).toString(16).toUpperCase();return a.length<2&&(a="0"+a),"%"+a}))}(r)}catch{return atob(r)}}(a)}catch(i){throw new Gt(`Invalid token specified: invalid base64 for part #${e+1} (${i.message})`)}try{return JSON.parse(t)}catch(i){throw new Gt(`Invalid token specified: invalid json for part #${e+1} (${i.message})`)}}Gt.prototype.name="InvalidTokenError";class O2{static#e=this.BASE_URL=_1.BASE_URL;static#c=this.API_ACCOUNT=_1.ACCOUNT;constructor(r,e){this.http=r,this.localStorage=e}getBillingAccount(){return z2(this.http.get(`${O2.BASE_URL}${O2.API_ACCOUNT}/billingAccount/`))}getBillingAccountById(r){return z2(this.http.get(`${O2.BASE_URL}${O2.API_ACCOUNT}/billingAccount/${r}`))}postBillingAccount(r){return this.http.post(`${O2.BASE_URL}${O2.API_ACCOUNT}/billingAccount/`,r)}updateBillingAccount(r,e){return this.http.patch(`${O2.BASE_URL}${O2.API_ACCOUNT}/billingAccount/${r}`,e)}deleteBillingAccount(r){return this.http.delete(`${O2.BASE_URL}${O2.API_ACCOUNT}/billingAccount/${r}`)}getUserInfo(r){return z2(this.http.get(`${O2.BASE_URL}/party/individual/${r}`))}getOrgInfo(r){return z2(this.http.get(`${O2.BASE_URL}/party/organization/${r}`))}updateUserInfo(r,e){return this.http.patch(`${O2.BASE_URL}/party/individual/${r}`,e)}updateOrgInfo(r,e){return this.http.patch(`${O2.BASE_URL}/party/organization/${r}`,e)}static#a=this.\u0275fac=function(e){return new(e||O2)(d1(U3),d1(R1))};static#r=this.\u0275prov=g1({token:O2,factory:O2.\u0275fac,providedIn:"root"})}function ju1(c,r=s6){return c=c??ED3,i4((e,a)=>{let t,i=!0;e.subscribe(m2(a,l=>{const d=r(l);(i||!c(t,d))&&(i=!1,t=d,a.next(l))}))})}function ED3(c,r){return c===r}let z5={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function $u1(c){z5=c}const Yu1=/[&<>"']/,AD3=new RegExp(Yu1.source,"g"),Gu1=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,PD3=new RegExp(Gu1.source,"g"),RD3={"&":"&","<":"<",">":">",'"':""","'":"'"},qu1=c=>RD3[c];function F6(c,r){if(r){if(Yu1.test(c))return c.replace(AD3,qu1)}else if(Gu1.test(c))return c.replace(PD3,qu1);return c}const BD3=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,ID3=/(^|[^\[])\^/g;function I2(c,r){c="string"==typeof c?c:c.source,r=r||"";const e={replace:(a,t)=>(t=(t="object"==typeof t&&"source"in t?t.source:t).replace(ID3,"$1"),c=c.replace(a,t),e),getRegex:()=>new RegExp(c,r)};return e}function Wu1(c){try{c=encodeURI(c).replace(/%25/g,"%")}catch{return null}return c}const bl={exec:()=>null};function Zu1(c,r){const a=c.replace(/\|/g,(i,l,d)=>{let u=!1,p=l;for(;--p>=0&&"\\"===d[p];)u=!u;return u?"|":" |"}).split(/ \|/);let t=0;if(a[0].trim()||a.shift(),a.length>0&&!a[a.length-1].trim()&&a.pop(),r)if(a.length>r)a.splice(r);else for(;a.length0)return{type:"space",raw:e[0]}}code(r){const e=this.rules.block.code.exec(r);if(e){const a=e[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?a:xl(a,"\n")}}}fences(r){const e=this.rules.block.fences.exec(r);if(e){const a=e[0],t=function jD3(c,r){const e=c.match(/^(\s+)(?:```)/);if(null===e)return r;const a=e[1];return r.split("\n").map(t=>{const i=t.match(/^\s+/);if(null===i)return t;const[l]=i;return l.length>=a.length?t.slice(a.length):t}).join("\n")}(a,e[3]||"");return{type:"code",raw:a,lang:e[2]?e[2].trim().replace(this.rules.inline._escapes,"$1"):e[2],text:t}}}heading(r){const e=this.rules.block.heading.exec(r);if(e){let a=e[2].trim();if(/#$/.test(a)){const t=xl(a,"#");(this.options.pedantic||!t||/ $/.test(t))&&(a=t.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:a,tokens:this.lexer.inline(a)}}}hr(r){const e=this.rules.block.hr.exec(r);if(e)return{type:"hr",raw:e[0]}}blockquote(r){const e=this.rules.block.blockquote.exec(r);if(e){const a=xl(e[0].replace(/^ *>[ \t]?/gm,""),"\n"),t=this.lexer.state.top;this.lexer.state.top=!0;const i=this.lexer.blockTokens(a);return this.lexer.state.top=t,{type:"blockquote",raw:e[0],tokens:i,text:a}}}list(r){let e=this.rules.block.list.exec(r);if(e){let a=e[1].trim();const t=a.length>1,i={type:"list",raw:"",ordered:t,start:t?+a.slice(0,-1):"",loose:!1,items:[]};a=t?`\\d{1,9}\\${a.slice(-1)}`:`\\${a}`,this.options.pedantic&&(a=t?a:"[*+-]");const l=new RegExp(`^( {0,3}${a})((?:[\t ][^\\n]*)?(?:\\n|$))`);let d="",u="",p=!1;for(;r;){let z=!1;if(!(e=l.exec(r))||this.rules.block.hr.test(r))break;d=e[0],r=r.substring(d.length);let x=e[2].split("\n",1)[0].replace(/^\t+/,J=>" ".repeat(3*J.length)),E=r.split("\n",1)[0],P=0;this.options.pedantic?(P=2,u=x.trimStart()):(P=e[2].search(/[^ ]/),P=P>4?1:P,u=x.slice(P),P+=e[1].length);let Y=!1;if(!x&&/^ *$/.test(E)&&(d+=E+"\n",r=r.substring(E.length+1),z=!0),!z){const J=new RegExp(`^ {0,${Math.min(3,P-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),X=new RegExp(`^ {0,${Math.min(3,P-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),n1=new RegExp(`^ {0,${Math.min(3,P-1)}}(?:\`\`\`|~~~)`),h1=new RegExp(`^ {0,${Math.min(3,P-1)}}#`);for(;r;){const C1=r.split("\n",1)[0];if(E=C1,this.options.pedantic&&(E=E.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),n1.test(E)||h1.test(E)||J.test(E)||X.test(r))break;if(E.search(/[^ ]/)>=P||!E.trim())u+="\n"+E.slice(P);else{if(Y||x.search(/[^ ]/)>=4||n1.test(x)||h1.test(x)||X.test(x))break;u+="\n"+E}!Y&&!E.trim()&&(Y=!0),d+=C1+"\n",r=r.substring(C1.length+1),x=E.slice(P)}}i.loose||(p?i.loose=!0:/\n *\n *$/.test(d)&&(p=!0));let K,Z=null;this.options.gfm&&(Z=/^\[[ xX]\] /.exec(u),Z&&(K="[ ] "!==Z[0],u=u.replace(/^\[[ xX]\] +/,""))),i.items.push({type:"list_item",raw:d,task:!!Z,checked:K,loose:!1,text:u,tokens:[]}),i.raw+=d}i.items[i.items.length-1].raw=d.trimEnd(),i.items[i.items.length-1].text=u.trimEnd(),i.raw=i.raw.trimEnd();for(let z=0;z"space"===P.type),E=x.length>0&&x.some(P=>/\n.*\n/.test(P.raw));i.loose=E}if(i.loose)for(let z=0;z$/,"$1").replace(this.rules.inline._escapes,"$1"):"",i=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline._escapes,"$1"):e[3];return{type:"def",tag:a,raw:e[0],href:t,title:i}}}table(r){const e=this.rules.block.table.exec(r);if(e){if(!/[:|]/.test(e[2]))return;const a={type:"table",raw:e[0],header:Zu1(e[1]).map(t=>({text:t,tokens:[]})),align:e[2].replace(/^\||\| *$/g,"").split("|"),rows:e[3]&&e[3].trim()?e[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(a.header.length===a.align.length){let i,l,d,u,t=a.align.length;for(i=0;i({text:p,tokens:[]}));for(t=a.header.length,l=0;l/i.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(r){const e=this.rules.inline.link.exec(r);if(e){const a=e[2].trim();if(!this.options.pedantic&&/^$/.test(a))return;const l=xl(a.slice(0,-1),"\\");if((a.length-l.length)%2==0)return}else{const l=function UD3(c,r){if(-1===c.indexOf(r[1]))return-1;let e=0;for(let a=0;a-1){const u=(0===e[0].indexOf("!")?5:4)+e[1].length+l;e[2]=e[2].substring(0,l),e[0]=e[0].substring(0,u).trim(),e[3]=""}}let t=e[2],i="";if(this.options.pedantic){const l=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(t);l&&(t=l[1],i=l[3])}else i=e[3]?e[3].slice(1,-1):"";return t=t.trim(),/^$/.test(a)?t.slice(1):t.slice(1,-1)),Ku1(e,{href:t&&t.replace(this.rules.inline._escapes,"$1"),title:i&&i.replace(this.rules.inline._escapes,"$1")},e[0],this.lexer)}}reflink(r,e){let a;if((a=this.rules.inline.reflink.exec(r))||(a=this.rules.inline.nolink.exec(r))){let t=(a[2]||a[1]).replace(/\s+/g," ");if(t=e[t.toLowerCase()],!t){const i=a[0].charAt(0);return{type:"text",raw:i,text:i}}return Ku1(a,t,a[0],this.lexer)}}emStrong(r,e,a=""){let t=this.rules.inline.emStrong.lDelim.exec(r);if(!(!t||t[3]&&a.match(/[\p{L}\p{N}]/u))&&(!t[1]&&!t[2]||!a||this.rules.inline.punctuation.exec(a))){const l=[...t[0]].length-1;let d,u,p=l,z=0;const x="*"===t[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(x.lastIndex=0,e=e.slice(-1*r.length+l);null!=(t=x.exec(e));){if(d=t[1]||t[2]||t[3]||t[4]||t[5]||t[6],!d)continue;if(u=[...d].length,t[3]||t[4]){p+=u;continue}if((t[5]||t[6])&&l%3&&!((l+u)%3)){z+=u;continue}if(p-=u,p>0)continue;u=Math.min(u,u+p+z);const E=[...t[0]][0].length,P=r.slice(0,l+t.index+E+u);if(Math.min(l,u)%2){const Z=P.slice(1,-1);return{type:"em",raw:P,text:Z,tokens:this.lexer.inlineTokens(Z)}}const Y=P.slice(2,-2);return{type:"strong",raw:P,text:Y,tokens:this.lexer.inlineTokens(Y)}}}}codespan(r){const e=this.rules.inline.code.exec(r);if(e){let a=e[2].replace(/\n/g," ");const t=/[^ ]/.test(a),i=/^ /.test(a)&&/ $/.test(a);return t&&i&&(a=a.substring(1,a.length-1)),a=F6(a,!0),{type:"codespan",raw:e[0],text:a}}}br(r){const e=this.rules.inline.br.exec(r);if(e)return{type:"br",raw:e[0]}}del(r){const e=this.rules.inline.del.exec(r);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(r){const e=this.rules.inline.autolink.exec(r);if(e){let a,t;return"@"===e[2]?(a=F6(e[1]),t="mailto:"+a):(a=F6(e[1]),t=a),{type:"link",raw:e[0],text:a,href:t,tokens:[{type:"text",raw:a,text:a}]}}}url(r){let e;if(e=this.rules.inline.url.exec(r)){let a,t;if("@"===e[2])a=F6(e[0]),t="mailto:"+a;else{let i;do{i=e[0],e[0]=this.rules.inline._backpedal.exec(e[0])[0]}while(i!==e[0]);a=F6(e[0]),t="www."===e[1]?"http://"+e[0]:e[0]}return{type:"link",raw:e[0],text:a,href:t,tokens:[{type:"text",raw:a,text:a}]}}}inlineText(r){const e=this.rules.inline.text.exec(r);if(e){let a;return a=this.lexer.state.inRawBlock?e[0]:F6(e[0]),{type:"text",raw:e[0],text:a}}}}const $1={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:bl,lheading:/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};$1.def=I2($1.def).replace("label",$1._label).replace("title",$1._title).getRegex(),$1.bullet=/(?:[*+-]|\d{1,9}[.)])/,$1.listItemStart=I2(/^( *)(bull) */).replace("bull",$1.bullet).getRegex(),$1.list=I2($1.list).replace(/bull/g,$1.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+$1.def.source+")").getRegex(),$1._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",$1._comment=/|$)/,$1.html=I2($1.html,"i").replace("comment",$1._comment).replace("tag",$1._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),$1.lheading=I2($1.lheading).replace(/bull/g,$1.bullet).getRegex(),$1.paragraph=I2($1._paragraph).replace("hr",$1.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",$1._tag).getRegex(),$1.blockquote=I2($1.blockquote).replace("paragraph",$1.paragraph).getRegex(),$1.normal={...$1},$1.gfm={...$1.normal,table:"^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"},$1.gfm.table=I2($1.gfm.table).replace("hr",$1.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",$1._tag).getRegex(),$1.gfm.paragraph=I2($1._paragraph).replace("hr",$1.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",$1.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",$1._tag).getRegex(),$1.pedantic={...$1.normal,html:I2("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",$1._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:bl,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:I2($1.normal._paragraph).replace("hr",$1.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",$1.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const w1={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:bl,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,rDelimAst:/^[^_*]*?__[^_*]*?\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\*)[punct](\*+)(?=[\s]|$)|[^punct\s](\*+)(?!\*)(?=[punct\s]|$)|(?!\*)[punct\s](\*+)(?=[^punct\s])|[\s](\*+)(?!\*)(?=[punct])|(?!\*)[punct](\*+)(?!\*)(?=[punct])|[^punct\s](\*+)(?=[^punct\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\s]|$)|[^punct\s](_+)(?!_)(?=[punct\s]|$)|(?!_)[punct\s](_+)(?=[^punct\s])|[\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:bl,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\`^|~"};w1.punctuation=I2(w1.punctuation,"u").replace(/punctuation/g,w1._punctuation).getRegex(),w1.blockSkip=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,w1.anyPunctuation=/\\[punct]/g,w1._escapes=/\\([punct])/g,w1._comment=I2($1._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),w1.emStrong.lDelim=I2(w1.emStrong.lDelim,"u").replace(/punct/g,w1._punctuation).getRegex(),w1.emStrong.rDelimAst=I2(w1.emStrong.rDelimAst,"gu").replace(/punct/g,w1._punctuation).getRegex(),w1.emStrong.rDelimUnd=I2(w1.emStrong.rDelimUnd,"gu").replace(/punct/g,w1._punctuation).getRegex(),w1.anyPunctuation=I2(w1.anyPunctuation,"gu").replace(/punct/g,w1._punctuation).getRegex(),w1._escapes=I2(w1._escapes,"gu").replace(/punct/g,w1._punctuation).getRegex(),w1._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,w1._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,w1.autolink=I2(w1.autolink).replace("scheme",w1._scheme).replace("email",w1._email).getRegex(),w1._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,w1.tag=I2(w1.tag).replace("comment",w1._comment).replace("attribute",w1._attribute).getRegex(),w1._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,w1._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,w1._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,w1.link=I2(w1.link).replace("label",w1._label).replace("href",w1._href).replace("title",w1._title).getRegex(),w1.reflink=I2(w1.reflink).replace("label",w1._label).replace("ref",$1._label).getRegex(),w1.nolink=I2(w1.nolink).replace("ref",$1._label).getRegex(),w1.reflinkSearch=I2(w1.reflinkSearch,"g").replace("reflink",w1.reflink).replace("nolink",w1.nolink).getRegex(),w1.normal={...w1},w1.pedantic={...w1.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:I2(/^!?\[(label)\]\((.*?)\)/).replace("label",w1._label).getRegex(),reflink:I2(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",w1._label).getRegex()},w1.gfm={...w1.normal,escape:I2(w1.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\u+" ".repeat(p.length));r;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(d=>!!(a=d.call({lexer:this},r,e))&&(r=r.substring(a.raw.length),e.push(a),!0)))){if(a=this.tokenizer.space(r)){r=r.substring(a.raw.length),1===a.raw.length&&e.length>0?e[e.length-1].raw+="\n":e.push(a);continue}if(a=this.tokenizer.code(r)){r=r.substring(a.raw.length),t=e[e.length-1],!t||"paragraph"!==t.type&&"text"!==t.type?e.push(a):(t.raw+="\n"+a.raw,t.text+="\n"+a.text,this.inlineQueue[this.inlineQueue.length-1].src=t.text);continue}if(a=this.tokenizer.fences(r)){r=r.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.heading(r)){r=r.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.hr(r)){r=r.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.blockquote(r)){r=r.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.list(r)){r=r.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.html(r)){r=r.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.def(r)){r=r.substring(a.raw.length),t=e[e.length-1],!t||"paragraph"!==t.type&&"text"!==t.type?this.tokens.links[a.tag]||(this.tokens.links[a.tag]={href:a.href,title:a.title}):(t.raw+="\n"+a.raw,t.text+="\n"+a.raw,this.inlineQueue[this.inlineQueue.length-1].src=t.text);continue}if(a=this.tokenizer.table(r)){r=r.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.lheading(r)){r=r.substring(a.raw.length),e.push(a);continue}if(i=r,this.options.extensions&&this.options.extensions.startBlock){let d=1/0;const u=r.slice(1);let p;this.options.extensions.startBlock.forEach(z=>{p=z.call({lexer:this},u),"number"==typeof p&&p>=0&&(d=Math.min(d,p))}),d<1/0&&d>=0&&(i=r.substring(0,d+1))}if(this.state.top&&(a=this.tokenizer.paragraph(i))){t=e[e.length-1],l&&"paragraph"===t.type?(t.raw+="\n"+a.raw,t.text+="\n"+a.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=t.text):e.push(a),l=i.length!==r.length,r=r.substring(a.raw.length);continue}if(a=this.tokenizer.text(r)){r=r.substring(a.raw.length),t=e[e.length-1],t&&"text"===t.type?(t.raw+="\n"+a.raw,t.text+="\n"+a.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=t.text):e.push(a);continue}if(r){const d="Infinite loop on byte: "+r.charCodeAt(0);if(this.options.silent){console.error(d);break}throw new Error(d)}}return this.state.top=!0,e}inline(r,e=[]){return this.inlineQueue.push({src:r,tokens:e}),e}inlineTokens(r,e=[]){let a,t,i,d,u,p,l=r;if(this.tokens.links){const z=Object.keys(this.tokens.links);if(z.length>0)for(;null!=(d=this.tokenizer.rules.inline.reflinkSearch.exec(l));)z.includes(d[0].slice(d[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,d.index)+"["+"a".repeat(d[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(d=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,d.index)+"["+"a".repeat(d[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(d=this.tokenizer.rules.inline.anyPunctuation.exec(l));)l=l.slice(0,d.index)+"++"+l.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;r;)if(u||(p=""),u=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(z=>!!(a=z.call({lexer:this},r,e))&&(r=r.substring(a.raw.length),e.push(a),!0)))){if(a=this.tokenizer.escape(r)){r=r.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.tag(r)){r=r.substring(a.raw.length),t=e[e.length-1],t&&"text"===a.type&&"text"===t.type?(t.raw+=a.raw,t.text+=a.text):e.push(a);continue}if(a=this.tokenizer.link(r)){r=r.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.reflink(r,this.tokens.links)){r=r.substring(a.raw.length),t=e[e.length-1],t&&"text"===a.type&&"text"===t.type?(t.raw+=a.raw,t.text+=a.text):e.push(a);continue}if(a=this.tokenizer.emStrong(r,l,p)){r=r.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.codespan(r)){r=r.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.br(r)){r=r.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.del(r)){r=r.substring(a.raw.length),e.push(a);continue}if(a=this.tokenizer.autolink(r)){r=r.substring(a.raw.length),e.push(a);continue}if(!this.state.inLink&&(a=this.tokenizer.url(r))){r=r.substring(a.raw.length),e.push(a);continue}if(i=r,this.options.extensions&&this.options.extensions.startInline){let z=1/0;const x=r.slice(1);let E;this.options.extensions.startInline.forEach(P=>{E=P.call({lexer:this},x),"number"==typeof E&&E>=0&&(z=Math.min(z,E))}),z<1/0&&z>=0&&(i=r.substring(0,z+1))}if(a=this.tokenizer.inlineText(i)){r=r.substring(a.raw.length),"_"!==a.raw.slice(-1)&&(p=a.raw.slice(-1)),u=!0,t=e[e.length-1],t&&"text"===t.type?(t.raw+=a.raw,t.text+=a.text):e.push(a);continue}if(r){const z="Infinite loop on byte: "+r.charCodeAt(0);if(this.options.silent){console.error(z);break}throw new Error(z)}}return e}}class V5{options;constructor(r){this.options=r||z5}code(r,e,a){const t=(e||"").match(/^\S*/)?.[0];return r=r.replace(/\n$/,"")+"\n",t?'
    '+(a?r:F6(r,!0))+"
    \n":"
    "+(a?r:F6(r,!0))+"
    \n"}blockquote(r){return`
    \n${r}
    \n`}html(r,e){return r}heading(r,e,a){return`${r}\n`}hr(){return"
    \n"}list(r,e,a){const t=e?"ol":"ul";return"<"+t+(e&&1!==a?' start="'+a+'"':"")+">\n"+r+"\n"}listitem(r,e,a){return`
  • ${r}
  • \n`}checkbox(r){return"'}paragraph(r){return`

    ${r}

    \n`}table(r,e){return e&&(e=`${e}`),"\n\n"+r+"\n"+e+"
    \n"}tablerow(r){return`\n${r}\n`}tablecell(r,e){const a=e.header?"th":"td";return(e.align?`<${a} align="${e.align}">`:`<${a}>`)+r+`\n`}strong(r){return`${r}`}em(r){return`${r}`}codespan(r){return`${r}`}br(){return"
    "}del(r){return`${r}`}link(r,e,a){const t=Wu1(r);if(null===t)return a;let i='
    ",i}image(r,e,a){const t=Wu1(r);if(null===t)return a;let i=`${a}"colon"===(e=e.toLowerCase())?":":"#"===e.charAt(0)?"x"===e.charAt(1)?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""));continue}case"code":a+=this.renderer.code(i.text,i.lang,!!i.escaped);continue;case"table":{const l=i;let d="",u="";for(let z=0;z0&&"paragraph"===E.tokens[0].type?(E.tokens[0].text=K+" "+E.tokens[0].text,E.tokens[0].tokens&&E.tokens[0].tokens.length>0&&"text"===E.tokens[0].tokens[0].type&&(E.tokens[0].tokens[0].text=K+" "+E.tokens[0].tokens[0].text)):E.tokens.unshift({type:"text",text:K+" "}):Z+=K+" "}Z+=this.parse(E.tokens,p),z+=this.renderer.listitem(Z,Y,!!P)}a+=this.renderer.list(z,d,u);continue}case"html":a+=this.renderer.html(i.text,i.block);continue;case"paragraph":a+=this.renderer.paragraph(this.parseInline(i.tokens));continue;case"text":{let l=i,d=l.tokens?this.parseInline(l.tokens):l.text;for(;t+1{a=a.concat(this.walkTokens(i[l],e))}):i.tokens&&(a=a.concat(this.walkTokens(i.tokens,e)))}}return a}use(...r){const e=this.defaults.extensions||{renderers:{},childTokens:{}};return r.forEach(a=>{const t={...a};if(t.async=this.defaults.async||t.async||!1,a.extensions&&(a.extensions.forEach(i=>{if(!i.name)throw new Error("extension name required");if("renderer"in i){const l=e.renderers[i.name];e.renderers[i.name]=l?function(...d){let u=i.renderer.apply(this,d);return!1===u&&(u=l.apply(this,d)),u}:i.renderer}if("tokenizer"in i){if(!i.level||"block"!==i.level&&"inline"!==i.level)throw new Error("extension level must be 'block' or 'inline'");const l=e[i.level];l?l.unshift(i.tokenizer):e[i.level]=[i.tokenizer],i.start&&("block"===i.level?e.startBlock?e.startBlock.push(i.start):e.startBlock=[i.start]:"inline"===i.level&&(e.startInline?e.startInline.push(i.start):e.startInline=[i.start]))}"childTokens"in i&&i.childTokens&&(e.childTokens[i.name]=i.childTokens)}),t.extensions=e),a.renderer){const i=this.defaults.renderer||new V5(this.defaults);for(const l in a.renderer){const d=a.renderer[l],p=i[l];i[l]=(...z)=>{let x=d.apply(i,z);return!1===x&&(x=p.apply(i,z)),x||""}}t.renderer=i}if(a.tokenizer){const i=this.defaults.tokenizer||new wl(this.defaults);for(const l in a.tokenizer){const d=a.tokenizer[l],p=i[l];i[l]=(...z)=>{let x=d.apply(i,z);return!1===x&&(x=p.apply(i,z)),x}}t.tokenizer=i}if(a.hooks){const i=this.defaults.hooks||new Fl;for(const l in a.hooks){const d=a.hooks[l],p=i[l];i[l]=Fl.passThroughHooks.has(l)?z=>{if(this.defaults.async)return Promise.resolve(d.call(i,z)).then(E=>p.call(i,E));const x=d.call(i,z);return p.call(i,x)}:(...z)=>{let x=d.apply(i,z);return!1===x&&(x=p.apply(i,z)),x}}t.hooks=i}if(a.walkTokens){const i=this.defaults.walkTokens,l=a.walkTokens;t.walkTokens=function(d){let u=[];return u.push(l.call(this,d)),i&&(u=u.concat(i.call(this,d))),u}}this.defaults={...this.defaults,...t}}),this}setOptions(r){return this.defaults={...this.defaults,...r},this}lexer(r,e){return Z0.lex(r,e??this.defaults)}parser(r,e){return K0.parse(r,e??this.defaults)}#e(r,e){return(a,t)=>{const i={...t},l={...this.defaults,...i};!0===this.defaults.async&&!1===i.async&&(l.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),l.async=!0);const d=this.#c(!!l.silent,!!l.async);if(typeof a>"u"||null===a)return d(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof a)return d(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(a)+", string expected"));if(l.hooks&&(l.hooks.options=l),l.async)return Promise.resolve(l.hooks?l.hooks.preprocess(a):a).then(u=>r(u,l)).then(u=>l.walkTokens?Promise.all(this.walkTokens(u,l.walkTokens)).then(()=>u):u).then(u=>e(u,l)).then(u=>l.hooks?l.hooks.postprocess(u):u).catch(d);try{l.hooks&&(a=l.hooks.preprocess(a));const u=r(a,l);l.walkTokens&&this.walkTokens(u,l.walkTokens);let p=e(u,l);return l.hooks&&(p=l.hooks.postprocess(p)),p}catch(u){return d(u)}}}#c(r,e){return a=>{if(a.message+="\nPlease report this to https://github.com/markedjs/marked.",r){const t="

    An error occurred:

    "+F6(a.message+"",!0)+"
    ";return e?Promise.resolve(t):t}if(e)return Promise.reject(a);throw a}}};function N2(c,r){return M5.parse(c,r)}N2.options=N2.setOptions=function(c){return M5.setOptions(c),$u1(N2.defaults=M5.defaults),N2},N2.getDefaults=function NC(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}},N2.defaults=z5,N2.use=function(...c){return M5.use(...c),$u1(N2.defaults=M5.defaults),N2},N2.walkTokens=function(c,r){return M5.walkTokens(c,r)},N2.parseInline=M5.parseInline,N2.Parser=K0,N2.parser=K0.parse,N2.Renderer=V5,N2.TextRenderer=DC,N2.Lexer=Z0,N2.lexer=Z0.lex,N2.Tokenizer=wl,N2.Hooks=Fl,N2.parse=N2;const YD3=["*"];let Qu1=(()=>{class c{constructor(){this._buttonClick$=new G2,this.copied$=this._buttonClick$.pipe(z3(()=>function Uu1(...c){const r=Rr(c),e=function dx1(c,r){return"number"==typeof gm(c)?c.pop():r}(c,1/0),a=c;return a.length?1===a.length?I3(a[0]):na(e)(k4(a,r)):U6}(D1(!0),Ts(3e3).pipe(gs(!1)))),ju1(),e_(1)),this.copiedText$=this.copied$.pipe(Xk(!1),X1(e=>e?"Copied":"Copy"))}onCopyToClipboardClick(){this._buttonClick$.next()}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275cmp=V1({type:c,selectors:[["markdown-clipboard"]],standalone:!0,features:[C3],decls:4,vars:7,consts:[[1,"markdown-clipboard-button",3,"click"]],template:function(a,t){1&a&&(o(0,"button",0),m(1,"async"),C("click",function(){return t.onCopyToClipboardClick()}),f(2),m(3,"async"),n()),2&a&&(A6("copied",_(1,3,t.copied$)),s(2),H(_(3,5,t.copiedText$)))},dependencies:[om],encapsulation:2,changeDetection:0})}return c})();const WD3=new H1("CLIPBOARD_OPTIONS");var TC=function(c){return c.CommandLine="command-line",c.LineHighlight="line-highlight",c.LineNumbers="line-numbers",c}(TC||{});const Ju1=new H1("MARKED_EXTENSIONS"),KD3=new H1("MARKED_OPTIONS"),Xu1=new H1("SECURITY_CONTEXT");let EC=(()=>{class c{get options(){return this._options}set options(e){this._options={...this.DEFAULT_MARKED_OPTIONS,...e}}get renderer(){return this.options.renderer}set renderer(e){this.options.renderer=e}constructor(e,a,t,i,l,d,u){this.clipboardOptions=e,this.extensions=a,this.platform=i,this.securityContext=l,this.http=d,this.sanitizer=u,this.DEFAULT_MARKED_OPTIONS={renderer:new V5},this.DEFAULT_KATEX_OPTIONS={delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\[",right:"\\]",display:!0}]},this.DEFAULT_MERMAID_OPTIONS={startOnLoad:!1},this.DEFAULT_CLIPBOARD_OPTIONS={buttonComponent:void 0},this.DEFAULT_PARSE_OPTIONS={decodeHtml:!1,inline:!1,emoji:!1,mermaid:!1,markedOptions:void 0,disableSanitizer:!1},this.DEFAULT_RENDER_OPTIONS={clipboard:!1,clipboardOptions:void 0,katex:!1,katexOptions:void 0,mermaid:!1,mermaidOptions:void 0},this._reload$=new G2,this.reload$=this._reload$.asObservable(),this.options=t}parse(e,a=this.DEFAULT_PARSE_OPTIONS){const{decodeHtml:t,inline:i,emoji:l,mermaid:d,disableSanitizer:u}=a,p={...this.options,...a.markedOptions},z=p.renderer||this.renderer||new V5;this.extensions&&(this.renderer=this.extendsRendererForExtensions(z)),d&&(this.renderer=this.extendsRendererForMermaid(z));const x=this.trimIndentation(e),E=t?this.decodeHtml(x):x,P=l?this.parseEmoji(E):E,Y=this.parseMarked(P,p,i);return(u?Y:this.sanitizer.sanitize(this.securityContext,Y))||""}render(e,a=this.DEFAULT_RENDER_OPTIONS,t){const{clipboard:i,clipboardOptions:l,katex:d,katexOptions:u,mermaid:p,mermaidOptions:z}=a;d&&this.renderKatex(e,{...this.DEFAULT_KATEX_OPTIONS,...u}),p&&this.renderMermaid(e,{...this.DEFAULT_MERMAID_OPTIONS,...z}),i&&this.renderClipboard(e,t,{...this.DEFAULT_CLIPBOARD_OPTIONS,...this.clipboardOptions,...l}),this.highlight(e)}reload(){this._reload$.next()}getSource(e){if(!this.http)throw new Error("[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information");return this.http.get(e,{responseType:"text"}).pipe(X1(a=>this.handleExtension(e,a)))}highlight(e){if(!t6(this.platform)||typeof Prism>"u"||typeof Prism.highlightAllUnder>"u")return;e||(e=document);const a=e.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(a,t=>t.classList.add("language-none")),Prism.highlightAllUnder(e)}decodeHtml(e){if(!t6(this.platform))return e;const a=document.createElement("textarea");return a.innerHTML=e,a.value}extendsRendererForExtensions(e){const a=e;return!0===a.\u0275NgxMarkdownRendererExtendedForExtensions||(this.extensions?.length>0&&N2.use(...this.extensions),a.\u0275NgxMarkdownRendererExtendedForExtensions=!0),e}extendsRendererForMermaid(e){const a=e;if(!0===a.\u0275NgxMarkdownRendererExtendedForMermaid)return e;const t=e.code;return e.code=function(i,l,d){return"mermaid"===l?`
    ${i}
    `:t.call(this,i,l,d)},a.\u0275NgxMarkdownRendererExtendedForMermaid=!0,e}handleExtension(e,a){const t=e.lastIndexOf("://"),i=t>-1?e.substring(t+4):e,l=i.lastIndexOf("/"),d=l>-1?i.substring(l+1).split("?")[0]:"",u=d.lastIndexOf("."),p=u>-1?d.substring(u+1):"";return p&&"md"!==p?"```"+p+"\n"+a+"\n```":a}parseMarked(e,a,t=!1){if(a.renderer){const i={...a.renderer};delete i.\u0275NgxMarkdownRendererExtendedForExtensions,delete i.\u0275NgxMarkdownRendererExtendedForMermaid,delete a.renderer,N2.use({renderer:i})}return t?N2.parseInline(e,a):N2.parse(e,a)}parseEmoji(e){if(!t6(this.platform))return e;if(typeof joypixels>"u"||typeof joypixels.shortnameToUnicode>"u")throw new Error("[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information");return joypixels.shortnameToUnicode(e)}renderKatex(e,a){if(t6(this.platform)){if(typeof katex>"u"||typeof renderMathInElement>"u")throw new Error("[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information");renderMathInElement(e,a)}}renderClipboard(e,a,t){if(!t6(this.platform))return;if(typeof ClipboardJS>"u")throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* include Clipboard files to `angular.json` or use imports. See README for more information");if(!a)throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* provide the `viewContainerRef` parameter to `MarkdownService.render()` function");const{buttonComponent:i,buttonTemplate:l}=t,d=e.querySelectorAll("pre");for(let u=0;ux.style.opacity="1",p.onmouseout=()=>x.style.opacity="0",i){const Y=a.createComponent(i);E=Y.hostView,Y.changeDetectorRef.markForCheck()}else if(l)E=a.createEmbeddedView(l);else{const Y=a.createComponent(Qu1);E=Y.hostView,Y.changeDetectorRef.markForCheck()}E.rootNodes.forEach(Y=>{Y.onmouseover=()=>x.style.opacity="1",x.appendChild(Y),P=new ClipboardJS(Y,{text:()=>p.innerText})}),E.onDestroy(()=>P.destroy())}}renderMermaid(e,a=this.DEFAULT_MERMAID_OPTIONS){if(!t6(this.platform))return;if(typeof mermaid>"u"||typeof mermaid.initialize>"u")throw new Error("[ngx-markdown] When using the `mermaid` attribute you *have to* include Mermaid files to `angular.json` or use imports. See README for more information");const t=e.querySelectorAll(".mermaid");0!==t.length&&(mermaid.initialize(a),mermaid.run({nodes:t}))}trimIndentation(e){if(!e)return"";let a;return e.split("\n").map(t=>{let i=a;return t.length>0&&(i=isNaN(i)?t.search(/\S|$/):Math.min(t.search(/\S|$/),i)),isNaN(a)&&(a=i),i?t.substring(i):t}).join("\n")}static#e=this.\u0275fac=function(a){return new(a||c)(d1(WD3,8),d1(Ju1,8),d1(KD3,8),d1(m6),d1(Xu1),d1(U3,8),d1(Ar))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})(),_4=(()=>{class c{get disableSanitizer(){return this._disableSanitizer}set disableSanitizer(e){this._disableSanitizer=this.coerceBooleanProperty(e)}get inline(){return this._inline}set inline(e){this._inline=this.coerceBooleanProperty(e)}get clipboard(){return this._clipboard}set clipboard(e){this._clipboard=this.coerceBooleanProperty(e)}get emoji(){return this._emoji}set emoji(e){this._emoji=this.coerceBooleanProperty(e)}get katex(){return this._katex}set katex(e){this._katex=this.coerceBooleanProperty(e)}get mermaid(){return this._mermaid}set mermaid(e){this._mermaid=this.coerceBooleanProperty(e)}get lineHighlight(){return this._lineHighlight}set lineHighlight(e){this._lineHighlight=this.coerceBooleanProperty(e)}get lineNumbers(){return this._lineNumbers}set lineNumbers(e){this._lineNumbers=this.coerceBooleanProperty(e)}get commandLine(){return this._commandLine}set commandLine(e){this._commandLine=this.coerceBooleanProperty(e)}constructor(e,a,t){this.element=e,this.markdownService=a,this.viewContainerRef=t,this.error=new Y1,this.load=new Y1,this.ready=new Y1,this._clipboard=!1,this._commandLine=!1,this._disableSanitizer=!1,this._emoji=!1,this._inline=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1,this._mermaid=!1,this.destroyed$=new G2}ngOnChanges(){this.loadContent()}loadContent(){null==this.data?null==this.src||this.handleSrc():this.handleData()}ngAfterViewInit(){!this.data&&!this.src&&this.handleTransclusion(),this.markdownService.reload$.pipe(vs(this.destroyed$)).subscribe(()=>this.loadContent())}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}render(e,a=!1){var t=this;return M(function*(){const i={decodeHtml:a,inline:t.inline,emoji:t.emoji,mermaid:t.mermaid,disableSanitizer:t.disableSanitizer},l={clipboard:t.clipboard,clipboardOptions:{buttonComponent:t.clipboardButtonComponent,buttonTemplate:t.clipboardButtonTemplate},katex:t.katex,katexOptions:t.katexOptions,mermaid:t.mermaid,mermaidOptions:t.mermaidOptions},d=yield t.markdownService.parse(e,i);t.element.nativeElement.innerHTML=d,t.handlePlugins(),t.markdownService.render(t.element.nativeElement,l,t.viewContainerRef),t.ready.emit()})()}coerceBooleanProperty(e){return null!=e&&"false"!=`${String(e)}`}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe({next:e=>{this.render(e).then(()=>{this.load.emit(e)})},error:e=>this.error.emit(e)})}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,TC.CommandLine),this.setPluginOptions(this.element.nativeElement,{dataFilterOutput:this.filterOutput,dataHost:this.host,dataPrompt:this.prompt,dataOutput:this.output,dataUser:this.user})),this.lineHighlight&&this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset}),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,TC.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(e,a){const t=e.querySelectorAll("pre");for(let i=0;i{const d=a[l];if(d){const u=this.toLispCase(l);t.item(i).setAttribute(u,d.toString())}})}toLispCase(e){const a=e.match(/([A-Z])/g);if(!a)return e;let t=e.toString();for(let i=0,l=a.length;i{class c{static forRoot(e){return{ngModule:c,providers:[tT3(e)]}}static forChild(){return{ngModule:c}}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275mod=M4({type:c});static#a=this.\u0275inj=g4({imports:[f0]})}return c})();var eh1;!function(c){let r;var t;let e,a;(t=r=c.SecurityLevel||(c.SecurityLevel={})).Strict="strict",t.Loose="loose",t.Antiscript="antiscript",t.Sandbox="sandbox",function(t){t.Base="base",t.Forest="forest",t.Dark="dark",t.Default="default",t.Neutral="neutral"}(e=c.Theme||(c.Theme={})),function(t){t[t.Debug=1]="Debug",t[t.Info=2]="Info",t[t.Warn=3]="Warn",t[t.Error=4]="Error",t[t.Fatal=5]="Fatal"}(a=c.LogLevel||(c.LogLevel={}))}(eh1||(eh1={}));let AC=(()=>{class c{constructor(){this.category={name:"Default"},this.faAddressCard=La,this.faCloud=j51}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275cmp=V1({type:c,selectors:[["bae-badge"]],inputs:{category:"category"},decls:3,vars:2,consts:[[1,"text-xs","font-medium","inline-flex","items-center","px-2.5","py-0.5","rounded-md","text-secondary-50","bg-primary-100","dark:bg-secondary-50","dark:text-primary-100","mb-2"],[1,"text-primary-50","mr-2",3,"icon"]],template:function(a,t){1&a&&(o(0,"a",0),v(1,"fa-icon",1),f(2),n()),2&a&&(s(),k("icon",t.faCloud),s(),V(" ",t.category.name,"\n"))},dependencies:[S4]})}return c})(),C4=(()=>{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275cmp=V1({type:c,selectors:[["error-message"]],inputs:{message:"message"},decls:8,vars:1,consts:[["id","alert-additional-content-2","role","alert",1,"p-4","mb-4","text-red-800","border","border-red-300","rounded-lg","bg-red-50","dark:bg-red-900","dark:border-red-900","dark:text-white"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","w-4","h-4","me-2"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"text-lg","font-medium"],[1,"mt-2","mb-4","text-sm"]],template:function(a,t){1&a&&(o(0,"div",0)(1,"div",1),w(),o(2,"svg",2),v(3,"path",3),n(),O(),o(4,"h3",4),f(5,"Error"),n()(),o(6,"div",5),f(7),n()()),2&a&&(s(7),V(" ",t.message," "))}})}return c})();const ch1=(c,r)=>r.id,oT3=(c,r)=>r.value,nT3=(c,r)=>r.name;function sT3(c,r){if(1&c){const e=j();o(0,"div",35)(1,"input",36),C("change",function(){y(e);const t=h().$implicit;return b(h(2).onPriceChange(t))}),n(),o(2,"label",37)(3,"div",38)(4,"div",39)(5,"h5",40),f(6),n()(),o(7,"p",41)(8,"b",42),f(9),n(),f(10),n(),o(11,"p",41),f(12),n(),o(13,"p",43),f(14),n()()()()}if(2&c){const e=h(),a=e.$implicit,t=e.$index;s(),k("id","price-radio-"+t),s(),k("for","price-radio-"+t),s(4),H(a.name),s(3),H(null==a.price?null:a.price.value),s(),V(" ",null==a.price?null:a.price.unit,""),s(2),V("/",a.recurringChargePeriodType,""),s(2),H(a.description)}}function lT3(c,r){if(1&c){const e=j();o(0,"div",35)(1,"input",44),C("change",function(){y(e);const t=h().$implicit;return b(h(2).onPriceChange(t))}),n(),o(2,"label",37)(3,"div",38)(4,"div",45)(5,"h5",46),f(6),n()(),o(7,"p",41)(8,"b",42),f(9),n(),f(10),n(),o(11,"p",41),f(12),n(),o(13,"p",43),f(14),n()()()()}if(2&c){const e=h(),a=e.$implicit,t=e.$index;s(),k("id","price-radio-"+t),s(),k("for","price-radio-"+t),s(4),H(a.name),s(3),H(null==a.price?null:a.price.value),s(),V(" ",null==a.price?null:a.price.unit,""),s(2),V("/",null==a.unitOfMeasure?null:a.unitOfMeasure.units,""),s(2),H(a.description)}}function fT3(c,r){if(1&c){const e=j();o(0,"div",35)(1,"input",44),C("change",function(){y(e);const t=h().$implicit;return b(h(2).onPriceChange(t))}),n(),o(2,"label",37)(3,"div",47)(4,"div",48)(5,"h2",49),f(6),n()(),v(7,"markdown",50),n()()()}if(2&c){const e=h(),a=e.$implicit,t=e.$index;s(),k("id","price-radio-"+t),s(),k("for","price-radio-"+t),s(4),H(a.name),s(),k("data",null==a?null:a.description)}}function dT3(c,r){if(1&c){const e=j();o(0,"div",35)(1,"input",36),C("change",function(){y(e);const t=h().$implicit;return b(h(2).onPriceChange(t))}),n(),o(2,"label",37)(3,"div",51)(4,"div",52)(5,"h5",46),f(6),n()(),o(7,"p",41)(8,"b",42),f(9),n(),f(10),n(),o(11,"p",43),f(12),n()()()()}if(2&c){const e=h(),a=e.$implicit,t=e.$index;s(),k("id","price-radio-"+t),s(),k("for","price-radio-"+t),s(4),H(a.name),s(3),H(null==a.price?null:a.price.value),s(),V(" ",null==a.price?null:a.price.unit,""),s(2),H(a.description)}}function uT3(c,r){if(1&c&&R(0,sT3,15,7,"div",35)(1,lT3,15,7)(2,fT3,8,4)(3,dT3,13,6),2&c){const e=r.$implicit;S(0,"recurring"==e.priceType?0:"usage"==e.priceType?1:"custom"===e.priceType?2:3)}}function hT3(c,r){if(1&c&&(o(0,"h5",33),f(1),m(2,"translate"),n(),o(3,"div",34),c1(4,uT3,4,1,null,null,ch1),n()),2&c){const e=h();s(),V("",_(2,1,"CARD._select_price"),":"),s(3),a1(null==e.productOff?null:e.productOff.productOfferingPrice)}}function mT3(c,r){1&c&&(o(0,"div",53)(1,"div",38)(2,"div",52)(3,"h5",46),f(4),m(5,"translate"),n()(),o(6,"p",54),f(7),m(8,"translate"),n()()()),2&c&&(s(4),H(_(5,2,"SHOPPING_CART._free")),s(3),H(_(8,4,"SHOPPING_CART._free_desc")))}function _T3(c,r){if(1&c){const e=j();o(0,"div",58)(1,"input",59),C("change",function(){y(e);const t=h(),i=t.$implicit,l=t.$index,d=h().$index;return b(h(2).onCharChange(d,l,i))}),n(),o(2,"label",60),f(3),n()()}if(2&c){const e=h(),a=e.$implicit,t=e.$index,i=h().$index;s(),k("id","char-radio-"+i+t)("name","char-radio-"+i),s(),k("for","char-radio-"+i+t),s(),H(a.value)}}function pT3(c,r){if(1&c){const e=j();o(0,"div",58)(1,"input",61),C("change",function(){y(e);const t=h(),i=t.$implicit,l=t.$index,d=h().$index;return b(h(2).onCharChange(d,l,i))}),n(),o(2,"label",60),f(3),n()()}if(2&c){const e=h(),a=e.$implicit,t=e.$index,i=h().$index;s(),k("id","char-radio-"+i+t)("name","char-radio-"+i),s(),k("for","char-radio-"+i+t),s(),H(a.value)}}function gT3(c,r){if(1&c&&(o(0,"div",57),R(1,_T3,4,4,"div",58)(2,pT3,4,4),n()),2&c){const e=r.$implicit;s(),S(1,1==(null==e?null:e.isDefault)?1:2)}}function vT3(c,r){if(1&c&&(o(0,"div",55)(1,"h5",56),f(2),n(),c1(3,gT3,3,1,"div",57,oT3),n()),2&c){const e=r.$implicit;s(2),V("",e.name,":"),s(),a1(null==e?null:e.productSpecCharacteristicValue)}}function HT3(c,r){if(1&c&&(o(0,"h5",33),f(1),m(2,"translate"),n(),c1(3,vT3,5,1,"div",55,ch1)),2&c){const e=h();s(),V("",_(2,1,"CARD._select_char"),":"),s(2),a1(e.prodSpec.productSpecCharacteristic)}}function CT3(c,r){1&c&&(o(0,"div",62)(1,"div",63),w(),o(2,"svg",64),v(3,"path",65),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"CARD._no_chars")," "))}function zT3(c,r){if(1&c&&(o(0,"p",69)(1,"span",70),f(2),n()(),o(3,"div",71),v(4,"markdown",72),n()),2&c){const e=r.$implicit;s(2),V("",e.name,":"),s(2),k("data",e.description)}}function VT3(c,r){if(1&c){const e=j();o(0,"h5",33),f(1),m(2,"translate"),n(),c1(3,zT3,5,2,null,null,nT3),o(5,"div",58)(6,"input",66),C("change",function(){y(e);const t=h();return b(t.selected_terms=!t.selected_terms)}),n(),o(7,"label",67),f(8),m(9,"translate"),n()(),o(10,"div",26)(11,"button",68),C("click",function(){y(e);const t=h();return b(t.addProductToCart(t.productOff,!0))}),f(12),m(13,"translate"),w(),o(14,"svg",28),v(15,"path",29),n()()()}if(2&c){const e=h();s(),V("",_(2,5,"CARD._terms"),":"),s(2),a1(null==e.productOff?null:e.productOff.productOfferingTerm),s(5),H(_(9,7,"CARD._accept_terms")),s(3),k("disabled",!e.selected_terms)("ngClass",e.selected_terms?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(13,9,"CARD._checkout")," ")}}function MT3(c,r){if(1&c){const e=j();o(0,"div",62)(1,"div",63),w(),o(2,"svg",64),v(3,"path",65),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()(),o(7,"div",26)(8,"button",73),C("click",function(){y(e);const t=h();return b(t.addProductToCart(t.productOff,!0))}),f(9),m(10,"translate"),w(),o(11,"svg",28),v(12,"path",29),n()()()}2&c&&(s(5),V(" ",_(6,2,"CARD._no_terms")," "),s(4),V(" ",_(10,4,"CARD._checkout")," "))}function LT3(c,r){1&c&&v(0,"error-message",32),2&c&&k("message",h().errorMessage)}let ah1=(()=>{class c{constructor(e,a,t,i,l,d,u,p,z){this.cdr=e,this.route=a,this.api=t,this.priceService=i,this.router=l,this.elementRef=d,this.localStorage=u,this.cartService=p,this.eventMessage=z,this.images=[],this.cartSelection=!0,this.check_prices=!1,this.check_char=!1,this.check_terms=!1,this.selected_terms=!1,this.selected_chars=[],this.formattedPrices=[],this.errorMessage="",this.showError=!1}onClick(){this.hideCartSelection()}ngOnInit(){this.toggleCartSelection()}toggleCartSelection(){if(console.log("Add to cart..."),console.log(this.productOff),null!=this.productOff?.productOfferingPrice&&(this.productOff?.productOfferingPrice.length>1?(this.check_prices=!0,this.selected_price=this.productOff?.productOfferingPrice[this.productOff?.productOfferingPrice.length-1]):1==this.productOff?.productOfferingPrice.length&&(this.check_prices=!0,this.selected_price=this.productOff?.productOfferingPrice[0]),this.cdr.detectChanges()),null!=this.productOff?.productOfferingTerm&&(console.log("terms"),console.log(this.productOff?.productOfferingTerm),this.check_terms=!0,this.cdr.detectChanges()),null!=this.prodSpec.productSpecCharacteristic){for(let e=0;e1&&(this.check_char=!0);for(let t=0;t{console.log(l),console.log("Update successful")},error:l=>{console.error("There was an error while updating!",l),l.error.error?(console.log(l),t.errorMessage="Error: "+l.error.error):t.errorMessage="There was an error while adding item to the cart!",t.showError=!0,setTimeout(()=>{t.showError=!1},3e3)}})}}else if(null!=e&&null!=e?.productOfferingPrice){let i={id:e?.id,name:e?.name,image:t.getProductImage(),href:e.href,options:{characteristics:t.selected_chars,pricing:t.selected_price},termsAccepted:!0};t.lastAddedProd=i,yield t.cartService.addItemShoppingCart(i).subscribe({next:l=>{console.log(l),console.log("Update successful")},error:l=>{console.error("There was an error while updating!",l),l.error.error?(console.log(l),t.errorMessage="Error: "+l.error.error):t.errorMessage="There was an error while adding item to the cart!",t.showError=!0,setTimeout(()=>{t.showError=!1},3e3)}})}void 0!==e&&(t.eventMessage.emitAddedCartItem(e),t.eventMessage.emitCloseCartCard(e),t.check_char=!1,t.check_terms=!1,t.check_prices=!1,t.selected_chars=[],t.selected_price={},t.selected_terms=!1,t.cdr.detectChanges()),t.cdr.detectChanges()})()}hideCartSelection(){this.eventMessage.emitCloseCartCard(void 0),this.cartSelection=!1,this.check_char=!1,this.check_terms=!1,this.check_prices=!1,this.formattedPrices=[],this.selected_chars=[],this.selected_price={},this.selected_terms=!1,this.cdr.detectChanges()}getProductImage(){return this.images.length>0?this.images?.at(0)?.url:"https://placehold.co/600x400/svg"}onPriceChange(e){this.selected_price=e,console.log("change price"),console.log(this.selected_price)}onCharChange(e,a,t){this.selected_chars[e].value={isDefault:!0,value:t.value};let l=this.selected_chars[e].characteristic.productSpecCharacteristicValue;if(null!=l)for(let d=0;dr.id;function bT3(c,r){1&c&&v(0,"bae-badge",8),2&c&&k("category",r.$implicit)}function xT3(c,r){1&c&&f(0," Level 1 ")}function wT3(c,r){1&c&&f(0," Level 2 ")}function FT3(c,r){1&c&&f(0," Level 3 ")}function kT3(c,r){if(1&c){const e=j();o(0,"button",25),C("click",function(t){return y(e),h().toggleCartSelection(),b(t.stopPropagation())}),f(1),m(2,"translate"),n()}if(2&c){const e=h();k("disabled",!e.PURCHASE_ENABLED)("ngClass",e.PURCHASE_ENABLED?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(2,3,"CARD._add_cart")," ")}}function ST3(c,r){1&c&&v(0,"bae-badge",8),2&c&&k("category",r.$implicit)}function NT3(c,r){1&c&&f(0," Level 1 ")}function DT3(c,r){1&c&&f(0," Level 2 ")}function TT3(c,r){1&c&&f(0," Level 3 ")}function ET3(c,r){if(1&c){const e=j();o(0,"li",41),f(1),m(2,"translate"),o(3,"a",49),C("click",function(){y(e);const t=h(2);return b(t.goToOrgDetails(t.orgInfo.id))}),f(4),n()()}if(2&c){const e=h(2);s(),V("",_(2,2,"CARD._owner"),": "),s(3),H(e.orgInfo.tradingName)}}function AT3(c,r){if(1&c){const e=j();o(0,"button",50),C("click",function(t){return y(e),h(2).toggleCartSelection(),b(t.stopPropagation())}),w(),o(1,"svg",51),v(2,"path",52),n(),f(3),m(4,"translate"),n()}if(2&c){const e=h(2);k("disabled",!e.PURCHASE_ENABLED)("ngClass",e.PURCHASE_ENABLED?"hover:bg-primary-50":"opacity-50"),s(3),V(" ",_(4,3,"CARD._add_cart")," ")}}function PT3(c,r){if(1&c){const e=j();o(0,"div",21)(1,"div",26)(2,"div",27),C("click",function(t){return y(e),b(t.stopPropagation())}),o(3,"div",28)(4,"div",29)(5,"h5",30),f(6),n(),o(7,"div",31)(8,"div",32),f(9),n()(),v(10,"div"),o(11,"div"),c1(12,ST3,1,1,"bae-badge",8,rh1),o(14,"a",9),v(15,"fa-icon",10),R(16,NT3,1,0)(17,DT3,1,0)(18,TT3,1,0),n()()(),o(19,"div",33),v(20,"div",3)(21,"img",34),n(),v(22,"hr",35),n(),o(23,"div",36)(24,"div",37)(25,"h5",38),f(26),m(27,"translate"),n(),v(28,"markdown",39),n(),o(29,"div",37)(30,"h5",38),f(31),m(32,"translate"),n(),o(33,"ul",40)(34,"li",41),f(35),m(36,"translate"),n(),o(37,"li",42),f(38),m(39,"translate"),n(),o(40,"li",41),f(41),m(42,"translate"),n(),o(43,"li",41),f(44),m(45,"translate"),m(46,"date"),n(),o(47,"li",41),f(48),m(49,"translate"),n(),o(50,"li",41),f(51),m(52,"translate"),n(),R(53,ET3,5,4,"li",41),n()()(),v(54,"hr",43),o(55,"div",44),R(56,AT3,5,5,"button",45),o(57,"button",46),C("click",function(){y(e);const t=h();return b(t.goToProductDetails(t.productOff))}),f(58),m(59,"translate"),w(),o(60,"svg",47),v(61,"path",48),n()()()()()()}if(2&c){const e=h();k("ngClass",e.showModal?"backdrop-blur-sm":""),s(6),H(null==e.productOff?null:e.productOff.name),s(3),V("V: ",(null==e.productOff?null:e.productOff.version)||"latest",""),s(3),a1(e.categories),s(2),k("ngClass",1==e.complianceLevel?"bg-red-200 text-red-700":2==e.complianceLevel?"bg-yellow-200 text-yellow-700":"bg-green-200 text-green-700"),s(),k("icon",e.faAtom)("ngClass",1==e.complianceLevel?"text-red-700":2==e.complianceLevel?"text-yellow-700":"text-green-700"),s(),S(16,1==e.complianceLevel?16:2==e.complianceLevel?17:18),s(4),Xe("background-image: url(",e.getProductImage(),");filter: blur(20px);"),s(),E1("src",e.getProductImage(),H2),s(5),V("",_(27,28,"CARD._prod_details"),":"),s(2),k("data",null==e.productOff?null:e.productOff.description),s(3),V("",_(32,30,"CARD._extra_info"),":"),s(4),j1("",_(36,32,"CARD._offer_version"),": v",null==e.productOff?null:e.productOff.version,""),s(3),j1("",_(39,34,"CARD._product_name"),": ",e.prodSpec.name,""),s(3),j1("",_(42,36,"CARD._brand"),": ",e.prodSpec.brand,""),s(3),j1("",_(45,38,"CARD._last_update"),": ",L2(46,40,null==e.productOff?null:e.productOff.lastUpdate,"dd/MM/yy, HH:mm"),""),s(4),j1("",_(49,43,"CARD._product_version"),": v",e.prodSpec.version,""),s(3),V("",_(52,45,"CARD._id_number"),": XX"),s(2),S(53,null!=e.orgInfo?53:-1),s(3),S(56,e.check_logged?56:-1),s(2),V(" ",_(59,47,"CARD._details")," ")}}function RT3(c,r){if(1&c){const e=j();o(0,"div",22)(1,"div",53),w(),o(2,"svg",54),v(3,"path",55),n(),O(),o(4,"div",56),f(5),m(6,"translate"),n(),o(7,"div",57)(8,"button",58),C("click",function(){y(e);const t=h();return b(t.deleteProduct(t.lastAddedProd))}),f(9),m(10,"translate"),n(),o(11,"button",59),C("click",function(){return y(e),b(h().toastVisibility=!1)}),o(12,"span",60),f(13),m(14,"translate"),n(),w(),o(15,"svg",61),v(16,"path",62),n()()()(),O(),o(17,"div",63),v(18,"div",64),n()()}2&c&&(s(5),V(" ",_(6,3,"CARD._added_card"),". "),s(4),H(_(10,5,"CARD._undo")),s(4),H(_(14,7,"CARD._close_toast")))}function BT3(c,r){if(1&c&&v(0,"cart-card",23),2&c){const e=h();k("productOff",e.productOff)("prodSpec",e.prodSpec)("images",e.images)("cartSelection",e.cartSelection)}}function OT3(c,r){1&c&&v(0,"error-message",24),2&c&&k("message",h().errorMessage)}let PC=(()=>{class c{constructor(e,a,t,i,l,d,u,p){this.cdr=e,this.localStorage=a,this.eventMessage=t,this.api=i,this.priceService=l,this.cartService=d,this.accService=u,this.router=p,this.category="none",this.categories=[],this.price={price:0,priceType:"X"},this.images=[],this.bgColor="",this.toastVisibility=!1,this.detailsModalVisibility=!1,this.prodSpec={},this.complianceProf=Y6,this.complianceLevel=1,this.showModal=!1,this.cartSelection=!1,this.check_prices=!1,this.check_char=!1,this.check_terms=!1,this.selected_terms=!1,this.selected_chars=[],this.formattedPrices=[],this.check_logged=!1,this.faAtom=j9,this.PURCHASE_ENABLED=_1.PURCHASE_ENABLED,this.errorMessage="",this.showError=!1,this.orgInfo=void 0,this.targetModal=document.getElementById("details-modal"),this.modal=new kF1(this.targetModal),this.eventMessage.messages$.subscribe(z=>{if("CloseCartCard"===z.type){if(this.hideCartSelection(),null!=z.value){this.lastAddedProd=z.value,this.toastVisibility=!0,this.cdr.detectChanges();let x=document.getElementById("progress-bar"),E=document.getElementById("toast-add-cart");null!=x&&null!=E&&(x.style.width="0%",x.style.width="100%",setTimeout(()=>{this.toastVisibility=!1},3500))}this.cdr.detectChanges()}})}onClick(){1==this.showModal&&(this.showModal=!1,this.cdr.detectChanges()),1==this.cartSelection&&(this.cartSelection=!1,this.check_char=!1,this.check_terms=!1,this.check_prices=!1,this.selected_chars=[],this.selected_price={},this.selected_terms=!1,this.cdr.detectChanges())}ngOnInit(){let e=this.localStorage.getObject("login_items");"{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0?(this.check_logged=!0,this.cdr.detectChanges()):(this.check_logged=!1,this.cdr.detectChanges()),this.category=this.productOff?.category?.at(0)?.name??"none",this.categories=this.productOff?.category;let a=this.productOff?.attachment?.filter(l=>"Profile Picture"===l.name)??[];this.images=0==a.length?this.productOff?.attachment?.filter(l=>"Picture"===l.attachmentType)??[]:a;let t=this.productOff?.productSpecification?.id;null!=t&&this.api.getProductSpecification(t).then(l=>{let d=0,u=0,p=[];if(this.prodSpec=l,console.log("prod spec"),console.log(this.prodSpec),this.getOwner(),null!=this.prodSpec.productSpecCharacteristic){let z=this.prodSpec.productSpecCharacteristic.find(x=>"Compliance:VC"===x.name);if(z){const x=z.productSpecCharacteristicValue?.at(0)?.value,E=SC(x);if("verifiableCredential"in E){const Y=E.verifiableCredential.credentialSubject;"compliance"in Y&&(p=Y.compliance.map(Z=>Z.standard))}}}for(let z=0;z-1&&(d+=1);d>0&&(this.complianceLevel=2,d==u&&(this.complianceLevel=3))});let i=this.priceService.formatCheapestPricePlan(this.productOff);this.price={price:i.price,unit:i.unit,priceType:i.priceType,text:i.text},this.cdr.detectChanges()}getProductImage(){return this.images.length>0?this.images?.at(0)?.url:"https://placehold.co/600x400/svg"}ngAfterViewInit(){S1()}addProductToCart(e,a){var t=this;return M(function*(){if(1==a){if(console.log("termschecked:"),console.log(t.selected_terms),null!=e&&null!=e?.productOfferingPrice){let i={id:e?.id,name:e?.name,image:t.getProductImage(),href:e.href,options:{characteristics:t.selected_chars,pricing:t.selected_price},termsAccepted:t.selected_terms};t.lastAddedProd=i,yield t.cartService.addItemShoppingCart(i).subscribe({next:l=>{console.log(l),console.log("Update successful"),t.toastVisibility=!0,t.cdr.detectChanges();let d=document.getElementById("progress-bar"),u=document.getElementById("toast-add-cart");null!=d&&null!=u&&(d.style.width="0%",d.style.width="100%",setTimeout(()=>{t.toastVisibility=!1},3500))},error:l=>{console.error("There was an error while updating!",l),l.error.error?(console.log(l),t.errorMessage="Error: "+l.error.error):t.errorMessage="There was an error while adding item to the cart!",t.showError=!0,setTimeout(()=>{t.showError=!1},3e3)}})}}else if(null!=e&&null!=e?.productOfferingPrice){let i={id:e?.id,name:e?.name,image:t.getProductImage(),href:e.href,options:{characteristics:t.selected_chars,pricing:t.selected_price},termsAccepted:!0};t.lastAddedProd=i,yield t.cartService.addItemShoppingCart(i).subscribe({next:l=>{console.log(l),console.log("Update successful"),t.toastVisibility=!0,t.cdr.detectChanges();let d=document.getElementById("progress-bar"),u=document.getElementById("toast-add-cart");null!=d&&null!=u&&(d.style.width="0%",d.style.width="100%",setTimeout(()=>{t.toastVisibility=!1},3500))},error:l=>{console.error("There was an error while updating!",l),l.error.error?(console.log(l),t.errorMessage="Error: "+l.error.error):t.errorMessage="There was an error while adding item to the cart!",t.showError=!0,setTimeout(()=>{t.showError=!1},3e3)}})}void 0!==e&&t.eventMessage.emitAddedCartItem(e),1==t.cartSelection&&(t.cartSelection=!1,t.check_char=!1,t.check_terms=!1,t.check_prices=!1,t.selected_chars=[],t.selected_price={},t.selected_terms=!1,t.cdr.detectChanges()),t.cdr.detectChanges()})()}deleteProduct(e){void 0!==e&&(this.cartService.removeItemShoppingCart(e.id).subscribe(()=>console.log("removed")),this.eventMessage.emitRemovedCartItem(e)),this.toastVisibility=!1}toggleDetailsModal(){this.showModal=!0,this.cdr.detectChanges()}toggleCartSelection(){if(console.log("Add to cart..."),null!=this.productOff?.productOfferingPrice&&(this.productOff?.productOfferingPrice.length>1?(this.check_prices=!0,this.selected_price=this.productOff?.productOfferingPrice[this.productOff?.productOfferingPrice.length-1]):this.selected_price=this.productOff?.productOfferingPrice[0],this.cdr.detectChanges()),null!=this.productOff?.productOfferingTerm&&(this.check_terms=1!=this.productOff.productOfferingTerm.length||null!=this.productOff.productOfferingTerm[0].name),null!=this.prodSpec.productSpecCharacteristic){for(let e=0;e1&&(this.check_char=!0);for(let t=0;t div[modal-backdrop]")?.remove(),this.router.navigate(["/search",e?.id])}goToOrgDetails(e){document.querySelector("body > div[modal-backdrop]")?.remove(),this.router.navigate(["/org-details",e])}getOwner(){let e=this.prodSpec?.relatedParty;if(e)for(let a=0;a{this.orgInfo=t,console.log("orginfo"),console.log(this.orgInfo)})}static#e=this.\u0275fac=function(a){return new(a||c)(B(B1),B(R1),B(e2),B(p1),B(M8),B(l3),B(O2),B(Z1))};static#c=this.\u0275cmp=V1({type:c,selectors:[["bae-off-card"]],viewQuery:function(a,t){if(1&a&&b1(yT3,5),2&a){let i;M1(i=L1())&&(t.myProdImage=i.first)}},hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},inputs:{productOff:"productOff"},decls:32,vars:18,consts:[[1,"flex","flex-col","w-full","h-full","bg-secondary-50","dark:bg-secondary-100","rounded-lg","dark:border-secondary-100","border-secondary-50","border"],[1,"rounded","overflow-hidden","cursor-pointer",3,"click"],[1,"relative","h-48","flex","justify-center","items-center"],[1,"absolute","inset-0","bg-cover","bg-center","opacity-75"],["alt","Descripci\xf3n de la imagen",1,"h-5/6","w-5/6","object-contain","z-10",3,"src"],[1,"flex-1","h-full","bg-cover","bg-right-bottom","bg-opacity-25","rounded-lg",2,"background-image","url(assets/logos/dome-logo-element-colour.png)"],[1,"flex-1","h-full","px-5","py-5","bg-secondary-50/95","dark:bg-secondary-100/95","rounded-lg"],[1,"overflow-y-hidden"],[1,"mr-2",3,"category"],[1,"text-xs","font-medium","inline-flex","items-center","px-2.5","py-0.5","rounded-md","mb-2",3,"ngClass"],[1,"mr-2",3,"icon","ngClass"],[1,"cursor-pointer",3,"click"],[1,"text-xl","font-semibold","tracking-tight","text-primary-100","dark:text-white","text-wrap","break-all"],[1,"min-h-19","h-19","line-clamp-2","text-gray-600","dark:text-gray-400",3,"data"],[1,"flex","sticky","top-[100vh]","items-center","justify-center","align-items-bottom","rounded-lg","mt-4"],["type","button",1,"flex","items-center","align-items-bottom","text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","dark:bg-primary-100","dark:hover:bg-primary-50","dark:focus:ring-primary-100","mr-1",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 20 14",1,"w-[18px]","h-[18px]","text-white","mr-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2"],["d","M10 10a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z"],["d","M10 13c4.97 0 9-2.686 9-6s-4.03-6-9-6-9 2.686-9 6 4.03 6 9 6Z"],["id","add-to-cart",1,"flex","align-items-bottom","text-white","cursor-pointer","bg-green-700","hover:bg-green-900","focus:ring-4","focus:outline-none","focus:ring-green-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","dark:bg-green-600","dark:hover:bg-green-700","dark:focus:ring-green-800",3,"disabled","ngClass"],["id","details-modal","tabindex","-1","aria-hidden","true",1,"flex","justify-center","overflow-y-auto","overflow-x-hidden","fixed","top-0","right-0","left-0","z-40","justify-center","items-center","w-full","md:inset-0","h-[calc(100%-1rem)]","max-h-full","rounded-lg","shadow-2xl",3,"ngClass"],["id","toast-add-cart","role","alert",1,"flex","grid","grid-flow-row","mr-2","items-center","w-auto","max-w-xs","p-4","text-gray-500","bg-white","rounded-lg","shadow","dark:text-gray-400","dark:bg-gray-800","fixed","top-1/2","right-0","z-50","justify-center"],[3,"productOff","prodSpec","images","cartSelection"],[1,"fixed","w-fit","top-1/2","left-1/2","z-50",3,"message"],["id","add-to-cart",1,"flex","align-items-bottom","text-white","cursor-pointer","bg-green-700","hover:bg-green-900","focus:ring-4","focus:outline-none","focus:ring-green-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","dark:bg-green-600","dark:hover:bg-green-700","dark:focus:ring-green-800",3,"click","disabled","ngClass"],[1,"relative","w-full","max-w-7xl","max-h-full","rounded-t-lg"],[1,"relative","sm:m-8","bg-white","rounded-lg","shadow","dark:border-gray-600","dark:bg-secondary-100","bg-cover","bg-right-bottom","rounded-lg",3,"click"],[1,"w-full","h-[200px]","mb-4","rounded-t-lg","grid","grid-cols-80/20","lg:grid-cols-60/40"],[1,"grid","grid-rows-4","p-4","h-[200px]"],[1,"md:text-3xl","lg:text-4xl","font-semibold","tracking-tight","text-primary-100","dark:text-primary-50","text-wrap","break-all"],[1,"grid","grid-cols-2"],[1,"min-h-19","pt-2","text-gray-500","dark:text-gray-400"],[1,"relative","overflow-hidden","flex","justify-center","items-center","border","border-1","border-gray-200","dark:border-gray-700","rounded-tr-lg"],["alt","product image",1,"rounded-r-lg","h-5/6","w-5/6","object-contain","z-10",3,"src"],[1,"h-px","border-gray-200","border-1","dark:border-gray-700"],[1,"p-4","lg:p-5","grid","grid-cols-1","lg:grid-cols-2","gap-4"],[1,"justify-start"],[1,"font-semibold","tracking-tight","text-lg","text-primary-100","dark:text-primary-50"],[1,"min-h-19","h-19","dark:text-secondary-50","line-clamp-6","text-wrap","break-all",3,"data"],[1,"max-w-md","space-y-1","list-disc","list-inside","dark:text-secondary-50","text-wrap","break-all","line-clamp-8"],[1,"text-wrap","break-all","line-clamp-1"],[1,"text-wrap","break-all","line-clamp-2"],[1,"h-px","bg-gray-200","border-0","dark:bg-gray-700"],[1,"flex"],["type","button",1,"m-4","w-fit","flex","items-center","justify-start","text-white","bg-blue-700","hover:bg-blue-800","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center","me-2","dark:bg-blue-600","dark:hover:bg-blue-700","dark:focus:ring-blue-800",3,"disabled","ngClass"],["type","button",1,"m-4","w-fit","flex","items-center","justify-start","text-white","bg-blue-700","hover:bg-blue-800","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center","me-2","dark:bg-blue-600","dark:hover:bg-blue-700","dark:focus:ring-blue-800",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],["target","_blank",1,"cursor-pointer","font-medium","text-primary-100","dark:text-primary-50","hover:underline",3,"click"],["type","button",1,"m-4","w-fit","flex","items-center","justify-start","text-white","bg-blue-700","hover:bg-blue-800","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center","me-2","dark:bg-blue-600","dark:hover:bg-blue-700","dark:focus:ring-blue-800",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 18 21",1,"w-3.5","h-3.5","me-2"],["d","M15 12a1 1 0 0 0 .962-.726l2-7A1 1 0 0 0 17 3H3.77L3.175.745A1 1 0 0 0 2.208 0H1a1 1 0 0 0 0 2h.438l.6 2.255v.019l2 7 .746 2.986A3 3 0 1 0 9 17a2.966 2.966 0 0 0-.184-1h2.368c-.118.32-.18.659-.184 1a3 3 0 1 0 3-3H6.78l-.5-2H15Z"],[1,"flex","items-center","justify-center"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 18 20",1,"w-[18px]","h-[18px]","text-gray-800","dark:text-white","mr-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M6 15a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm0 0h8m-8 0-1-4m9 4a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-9-4h10l2-7H3m2 7L3 4m0 0-.792-3H1"],[1,"text-sm","font-normal"],[1,"flex","items-center","ms-auto","space-x-2","rtl:space-x-reverse","p-1.5"],["type","button",1,"px-3","py-2","text-xs","font-medium","text-center","text-gray-400","hover:text-gray-900","rounded-lg","focus:ring-2","focus:ring-gray-300","p-1.5","hover:bg-gray-100","dark:bg-gray-800","dark:text-white","dark:border-gray-600","dark:hover:bg-gray-700","dark:hover:border-gray-600","dark:focus:ring-gray-700",3,"click"],["type","button","data-dismiss-target","#toast-add-cart","aria-label","Close",1,"ms-auto","-mx-1.5","-my-1.5","bg-white","text-gray-400","hover:text-gray-900","rounded-lg","focus:ring-2","focus:ring-gray-300","p-1.5","hover:bg-gray-100","inline-flex","items-center","justify-center","h-8","w-8","dark:text-gray-500","dark:hover:text-white","dark:bg-gray-800","dark:hover:bg-gray-700",3,"click"],[1,"sr-only"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-3","h-3"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"],[1,"flex","w-full","mt-2","rounded-full","h-2.5","dark:bg-gray-700"],["id","progress-bar",1,"z-10","flex","bg-green-600","h-2.5","rounded-full","dark:bg-green-500","transition-width","delay-200","duration-3000","ease-out",2,"width","0px"]],template:function(a,t){1&a&&(o(0,"div",0)(1,"div",1),C("click",function(){return t.goToProductDetails(t.productOff)}),o(2,"div",2),v(3,"div",3)(4,"img",4),n()(),o(5,"div",5)(6,"div",6)(7,"div",7),c1(8,bT3,1,1,"bae-badge",8,rh1),o(10,"a",9),v(11,"fa-icon",10),R(12,xT3,1,0)(13,wT3,1,0)(14,FT3,1,0),n()(),o(15,"a",11),C("click",function(){return t.goToProductDetails(t.productOff)}),o(16,"h5",12),f(17),n()(),v(18,"markdown",13),o(19,"div",14)(20,"button",15),C("click",function(l){return t.toggleDetailsModal(),l.stopPropagation()}),w(),o(21,"svg",16)(22,"g",17),v(23,"path",18)(24,"path",19),n()(),f(25),m(26,"translate"),n(),R(27,kT3,3,5,"button",20),n()()()(),R(28,PT3,62,49,"div",21)(29,RT3,19,9,"div",22)(30,BT3,1,4,"cart-card",23)(31,OT3,1,1,"error-message",24)),2&a&&(s(3),Xe("background-image: url(",t.getProductImage(),");filter: blur(20px);"),s(),E1("src",t.getProductImage(),H2),s(4),a1(t.categories),s(2),k("ngClass",1==t.complianceLevel?"bg-red-200 text-red-700":2==t.complianceLevel?"bg-yellow-200 text-yellow-700":"bg-green-200 text-green-700"),s(),k("icon",t.faAtom)("ngClass",1==t.complianceLevel?"text-red-700":2==t.complianceLevel?"text-yellow-700":"text-green-700"),s(),S(12,1==t.complianceLevel?12:2==t.complianceLevel?13:14),s(5),H(null==t.productOff?null:t.productOff.name),s(),k("data",null==t.productOff?null:t.productOff.description),s(7),V(" ",_(26,16,"CARD._details")," "),s(2),S(27,t.check_logged?27:-1),s(),S(28,t.showModal?28:-1),s(),S(29,t.toastVisibility?29:-1),s(),S(30,t.cartSelection?30:-1),s(),S(31,t.showError?31:-1))},dependencies:[k2,S4,_4,AC,C4,ah1,Q4,J1],styles:[".fade[_ngcontent-%COMP%]{transition:all linear .5s;opacity:1}"]})}return c})();const IT3=(c,r)=>r.id;function UT3(c,r){1&c&&v(0,"bae-off-card",2),2&c&&k("productOff",r.$implicit)}function jT3(c,r){}function $T3(c,r){1&c&&(o(0,"div",3)(1,"div",4),w(),o(2,"svg",5),v(3,"path",6),n(),O(),o(4,"span",7),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"GALLERY._no_products")," "))}let YT3=(()=>{class c{constructor(e,a){this.api=e,this.cdr=a,this.products=[],this.gallery_limit=4}ngOnInit(){console.log("API RESPONSE:"),this.api.getProducts(0,void 0).then(e=>{for(let a=0;a{t=i.attachment;let l=e[a].productOfferingPrice,d=[];if(void 0!==l)if(l.length>0)for(let u=0;u{d.push(p),u+1==l?.length&&(this.products.push({id:e[a].id,name:e[a].name,category:e[a].category,description:e[a].description,lastUpdate:e[a].lastUpdate,attachment:t,productOfferingPrice:d,productSpecification:e[a].productSpecification,productOfferingTerm:e[a].productOfferingTerm,version:e[a].version}),this.cdr.detectChanges())});else this.products.push({id:e[a].id,name:e[a].name,category:e[a].category,description:e[a].description,lastUpdate:e[a].lastUpdate,attachment:t,productOfferingPrice:d,productSpecification:e[a].productSpecification,productOfferingTerm:e[a].productOfferingTerm,version:e[a].version});else this.products.push({id:e[a].id,name:e[a].name,category:e[a].category,description:e[a].description,lastUpdate:e[a].lastUpdate,attachment:t,productOfferingPrice:d,productSpecification:e[a].productSpecification,productOfferingTerm:e[a].productOfferingTerm,version:e[a].version})})}}),console.log("Productos..."),console.log(this.products)}static#e=this.\u0275fac=function(a){return new(a||c)(B(p1),B(B1))};static#c=this.\u0275cmp=V1({type:c,selectors:[["bae-off-gallery"]],decls:8,vars:5,consts:[[1,"text-4xl","mt-4","font-extrabold","text-primary-100","text-center","dark:text-primary-50"],[1,"pt-8","pb-2","px-4","mx-auto","max-w-screen-xl","w-full","grid","gap-2","grid-cols-1","place-items-center","sm:grid-cols-2","xl:grid-cols-4"],[1,"w-full","h-full",3,"productOff"],[1,"flex","justify-center","w-full"],["role","alert",1,"flex","items-center","p-4","mb-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"sr-only"]],template:function(a,t){1&a&&(o(0,"h2",0),f(1),m(2,"translate"),n(),o(3,"div",1),c1(4,UT3,1,1,"bae-off-card",2,IT3,!1,jT3,0,0),n(),R(7,$T3,9,3,"div",3)),2&a&&(s(),H(_(2,3,"GALLERY._title")),s(3),a1(t.products),s(3),S(7,0===t.products.length?7:-1))},dependencies:[PC,J1]})}return c})(),GT3=(()=>{class c{constructor(){this.faLeaf=Et1,this.faHammer=Ol1,this.faCircleNodes=xH,this.faMagnifyingGlass=qH,this.faLockOpen=JX,this.faShieldCheck=JZ}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275cmp=V1({type:c,selectors:[["app-platform-benefits"]],decls:74,vars:48,consts:[[1,"py-8","px-4","mx-auto","max-w-screen-xl","lg:py-16"],[1,"pb-2","text-4xl","font-extrabold","text-primary-100","mb-4","text-center","dark:text-primary-50"],[1,"mb-8","text-lg","font-normal","text-gray-500","lg:text-xl","sm:px-16","xl:px-48","dark:text-secondary-50","text-center"],[1,"grid","grid-cols-1","md:grid-cols-2","lg:grid-cols-3","gap-8"],[1,"border","border-primary-100","dark:border-primary-50","rounded-lg","p-8","md:p-12"],[1,"grid","grid-cols-80/20","pb-4","h-1/4"],[1,"flex","justify-start"],[1,"text-gray-900","dark:text-white","text-3xl","font-extrabold","mb-2"],[1,"flex","justify-end"],[1,"fa-2xl","text-primary-100","dark:text-primary-50","align-middle",3,"icon"],[1,"h-2/4","text-lg","font-normal","text-gray-500","dark:text-gray-400","mb-4"]],template:function(a,t){1&a&&(o(0,"div",0)(1,"h2",1),f(2),m(3,"translate"),n(),o(4,"p",2),f(5),m(6,"translate"),n(),o(7,"div",3)(8,"div",4)(9,"div",5)(10,"div",6)(11,"h2",7),f(12),m(13,"translate"),n()(),o(14,"div",8),v(15,"fa-icon",9),n()(),o(16,"p",10),f(17),m(18,"translate"),n()(),o(19,"div",4)(20,"div",5)(21,"div",6)(22,"h2",7),f(23),m(24,"translate"),n()(),o(25,"div",8),v(26,"fa-icon",9),n()(),o(27,"p",10),f(28),m(29,"translate"),n()(),o(30,"div",4)(31,"div",5)(32,"div",6)(33,"h2",7),f(34),m(35,"translate"),n()(),o(36,"div",8),v(37,"fa-icon",9),n()(),o(38,"p",10),f(39),m(40,"translate"),n()(),o(41,"div",4)(42,"div",5)(43,"div",6)(44,"h2",7),f(45),m(46,"translate"),n()(),o(47,"div",8),v(48,"fa-icon",9),n()(),o(49,"p",10),f(50),m(51,"translate"),n()(),o(52,"div",4)(53,"div",5)(54,"div",6)(55,"h2",7),f(56),m(57,"translate"),n()(),o(58,"div",8),v(59,"fa-icon",9),n()(),o(60,"p",10),f(61),m(62,"translate"),n()(),o(63,"div",4)(64,"div",5)(65,"div",6)(66,"h2",7),f(67),m(68,"translate"),n()(),o(69,"div",8),v(70,"fa-icon",9),n()(),o(71,"p",10),f(72),m(73,"translate"),n()()()()),2&a&&(s(2),H(_(3,20,"PLATFORM._title")),s(3),H(_(6,22,"PLATFORM._subtitle")),s(7),H(_(13,24,"PLATFORM.OPEN._title")),s(3),k("icon",t.faLockOpen),s(2),H(_(18,26,"PLATFORM.OPEN._desc")),s(6),H(_(24,28,"PLATFORM.INTEROPERABLE._title")),s(3),k("icon",t.faCircleNodes),s(2),H(_(29,30,"PLATFORM.INTEROPERABLE._desc")),s(6),H(_(35,32,"PLATFORM.TRUSTWORTHY._title")),s(3),k("icon",t.faShieldCheck),s(2),H(_(40,34,"PLATFORM.TRUSTWORTHY._desc")),s(6),H(_(46,36,"PLATFORM.COMPLIANT._title")),s(3),k("icon",t.faHammer),s(2),H(_(51,38,"PLATFORM.COMPLIANT._desc")),s(6),H(_(57,40,"PLATFORM.SUSTAINABLE._title")),s(3),k("icon",t.faLeaf),s(2),H(_(62,42,"PLATFORM.SUSTAINABLE._desc")),s(6),H(_(68,44,"PLATFORM.TRANSPARENT._title")),s(3),k("icon",t.faMagnifyingGlass),s(2),H(_(73,46,"PLATFORM.TRANSPARENT._desc")))},dependencies:[S4,J1]})}return c})(),qT3=(()=>{class c{constructor(e){this.router=e,this.faCircleNodes=xH,this.faCloudArrowDown=k9}contact(){window.open("https://app.getonepass.eu/invite/8Zw5HETsNr","_blank")}goTo(e){this.router.navigate([e])}static#e=this.\u0275fac=function(a){return new(a||c)(B(Z1))};static#c=this.\u0275cmp=V1({type:c,selectors:[["app-how-it-works"]],decls:43,vars:32,consts:[[1,"mx-auto","max-w-screen-xl"],[1,"pb-2","text-4xl","font-extrabold","text-primary-100","mb-4","text-center","dark:text-primary-50"],[1,"mb-8","text-lg","font-normal","text-gray-500","lg:text-xl","sm:px-16","xl:px-48","dark:text-secondary-50","text-center"],[1,"grid","lg:grid-cols-2","gap-8","sm:grid-cols-1"],[1,"border","border-primary-100","dark:border-primary-50","rounded-lg","p-4","md:p-8"],[1,"grid","grid-cols-80/20"],[1,"flex","justify-start","grid","grid-rows-20/80"],[1,"text-gray-900","dark:text-white","text-xl","font-normal","mb-2"],[1,"text-gray-900","dark:text-white","text-3xl","font-extrabold"],[1,"flex","justify-end"],[1,"fa-2xl","text-primary-100","dark:text-primary-50","align-middle",3,"icon"],[1,"text-lg","font-normal","text-gray-500","dark:text-gray-400"],["href","https://knowledgebase.dome-marketplace.org/shelves/company-onboarding-process","target","_blank",1,"font-medium","mr-1","text-blue-600","dark:text-blue-500","hover:underline"]],template:function(a,t){1&a&&(o(0,"div",0)(1,"h2",1),f(2),m(3,"translate"),n(),o(4,"p",2),f(5),m(6,"translate"),n(),o(7,"div",3)(8,"div",4)(9,"div",5)(10,"div",6)(11,"h2",7),f(12),m(13,"translate"),n(),o(14,"h2",8),f(15),m(16,"translate"),n()(),o(17,"div",9),v(18,"fa-icon",10),n()(),o(19,"div",11)(20,"p"),f(21),m(22,"translate"),n()()(),o(23,"div",4)(24,"div",5)(25,"div",6)(26,"h2",7),f(27),m(28,"translate"),n(),o(29,"h2",8),f(30),m(31,"translate"),n()(),o(32,"div",9),v(33,"fa-icon",10),n()(),o(34,"div",11)(35,"p"),f(36),m(37,"translate"),o(38,"a",12),f(39),m(40,"translate"),n(),f(41),m(42,"translate"),n()()()()()),2&a&&(s(2),H(_(3,12,"HOWITWORKS._title")),s(3),H(_(6,14,"HOWITWORKS._subtitle")),s(7),H(_(13,16,"HOWITWORKS.CUSTOMERS._title")),s(3),H(_(16,18,"HOWITWORKS.CUSTOMERS._subtitle")),s(3),k("icon",t.faCloudArrowDown),s(3),V(" ",_(22,20,"HOWITWORKS.CUSTOMERS._description")," "),s(6),H(_(28,22,"HOWITWORKS.PROVIDERS._title")),s(3),H(_(31,24,"HOWITWORKS.PROVIDERS._subtitle")),s(3),k("icon",t.faCircleNodes),s(3),V(" ",_(37,26,"HOWITWORKS.PROVIDERS._description_start")," "),s(3),V(" ",_(40,28,"HOWITWORKS.PROVIDERS._link")," "),s(2),V(" ",_(42,30,"HOWITWORKS.PROVIDERS._description_end")," "))},dependencies:[S4,J1]})}return c})(),WT3=(()=>{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275cmp=V1({type:c,selectors:[["app-explore-dome"]],decls:31,vars:24,consts:[[1,"py-8","px-4","mx-auto","max-w-screen-xl","lg:py-16"],[1,"bg-cover","bg-right-bottom","bg-opacity-25","rounded-lg",2,"background-image","url(assets/images/bg_2_shadow.png)"],[1,"px-5","py-5","bg-blue-900/20","rounded-lg"],[1,"pb-2","text-5xl","font-extrabold","text-white","mb-4","text-center","pt-8"],[1,"mb-8","text-lg","font-normal","text-gray-300","lg:text-xl","sm:px-16","xl:px-48","text-center"],[1,"grid","grid-cols-1","lg:grid-cols-3","gap-4","pt-4","pb-4","pl-8","pr-8","lg:pl-16","lg:pr-16"],[1,"m-2"],[1,"pb-2","text-xl","font-extrabold","text-white","mb-4","text-start"],[1,"mb-8","text-base","font-normal","text-gray-300","text-start"]],template:function(a,t){1&a&&(o(0,"div",0)(1,"div",1)(2,"div",2)(3,"h2",3),f(4),m(5,"translate"),n(),o(6,"p",4),f(7),m(8,"translate"),n(),o(9,"div",5)(10,"div",6)(11,"h2",7),f(12),m(13,"translate"),n(),o(14,"p",8),f(15),m(16,"translate"),n()(),o(17,"div",6)(18,"h2",7),f(19),m(20,"translate"),n(),o(21,"p",8),f(22),m(23,"translate"),n()(),o(24,"div",6)(25,"h2",7),f(26),m(27,"translate"),n(),o(28,"p",8),f(29),m(30,"translate"),n()()()()()()),2&a&&(s(4),H(_(5,8,"EXPLORE._title")),s(3),H(_(8,10,"EXPLORE._subtitle")),s(5),H(_(13,12,"EXPLORE._events_title")),s(3),H(_(16,14,"EXPLORE._events_desc")),s(4),H(_(20,16,"EXPLORE._updates_title")),s(3),H(_(23,18,"EXPLORE._updates_desc")),s(4),H(_(27,20,"EXPLORE._resources_title")),s(3),H(_(30,22,"EXPLORE._resources_desc")))},dependencies:[J1]})}return c})();function ZT3(c,r){if(1&c){const e=j();o(0,"section",12)(1,"form",13)(2,"div",14)(3,"div",15)(4,"input",16),m(5,"translate"),C("keydown.enter",function(t){return y(e),b(h().filterSearch(t))}),n(),o(6,"button",17),C("click",function(t){return y(e),b(h().filterSearch(t))}),w(),o(7,"svg",18),v(8,"path",19),n(),O(),o(9,"span",20),f(10),m(11,"translate"),n()()()()()()}if(2&c){const e=h();k("ngClass",e.isFilterPanelShown?"sticky top-[118px] backdrop-blur-sm z-20":"sticky top-[72px] backdrop-blur-sm z-20"),s(4),E1("placeholder",_(5,4,"DASHBOARD._search_ph")),k("formControl",e.searchField),s(6),H(_(11,6,"DASHBOARD._search"))}}let KT3=(()=>{class c{constructor(e,a,t,i,l,d,u,p){this.localStorage=e,this.eventMessage=a,this.route=t,this.router=i,this.api=l,this.loginService=d,this.cdr=u,this.refreshApi=p,this.isFilterPanelShown=!1,this.showContact=!1,this.searchField=new u1,this.searchEnabled=_1.SEARCH_ENABLED,this.categories=[],this.eventMessage.messages$.subscribe(z=>{"FilterShown"===z.type&&(this.isFilterPanelShown=z.value),"CloseContact"==z.type&&(this.showContact=!1,this.cdr.detectChanges())})}onClick(){1==this.showContact&&(this.showContact=!1,this.cdr.detectChanges())}ngOnInit(){var e=this;return M(function*(){if(e.isFilterPanelShown=JSON.parse(e.localStorage.getItem("is_filter_panel_shown")),console.log("--- route data"),console.log(e.route.queryParams),console.log(e.route.snapshot.queryParamMap.get("token")),null!=e.route.snapshot.queryParamMap.get("token"))e.loginService.getLogin(e.route.snapshot.queryParamMap.get("token")).then(a=>{console.log("---- loginangular response ----"),console.log(a),console.log(a.username);let t={id:a.id,user:a.username,email:a.email,token:a.accessToken,expire:a.expire,partyId:a.partyId,roles:a.roles,organizations:a.organizations,logged_as:a.id};null!=t.organizations&&t.organizations.length>0&&(t.logged_as=t.organizations[0].id),e.localStorage.addLoginInfo(t),e.eventMessage.emitLogin(t),console.log("----")}),e.router.navigate(["/dashboard"]);else{console.log("sin token");let a=e.localStorage.getObject("login_items");"{}"!=JSON.stringify(a)&&(console.log(a),console.log("moment"),console.log(a.expire),console.log(s2().unix()),console.log(a.expire-s2().unix()),console.log(a.expire-s2().unix()<=5))}e.api.getLaunchedCategories().then(a=>{for(let t=0;t0){for(let d=0;d0){for(let l=0;l0){for(let l=0;l0){for(let u=0;u"+t),z2(this.http.get(l))}static#r=this.\u0275fac=function(e){return new(e||Y3)(d1(U3),d1(R1))};static#t=this.\u0275prov=g1({token:Y3,factory:Y3.\u0275fac,providedIn:"root"})}let M3=(()=>{class c{constructor(e,a,t,i){this.api=e,this.accountService=a,this.orderService=t,this.inventoryService=i,this.PRODUCT_LIMIT=_1.PRODUCT_LIMIT,this.CATALOG_LIMIT=_1.CATALOG_LIMIT}getItemsPaginated(e,a,t,i,l,d,u){return M(function*(){console.log("options"),console.log(d);try{let p=[e];if("keywords"in d&&p.push(d.keywords),"filters"in d&&p.push(d.filters),"partyId"in d&&p.push(d.partyId.toString()),"catalogId"in d&&p.push(d.catalogId.toString()),"sort"in d&&p.push(d.sort),"isBundle"in d&&p.push(d.isBundle),"selectedDate"in d&&p.push(d.selectedDate),"orders"in d&&p.push(d.orders),"role"in d&&p.push(d.role),0==t)i=[],l=[],p[0]=e=0,console.log(p),i=yield u(...p),e+=a;else for(let x=0;x0,{page:e,items:i,nextItems:l,page_check:p}}})()}getProducts(e,a,t){var i=this;return M(function*(){let l=[];try{if(t)if(0==t.length){let d=yield i.api.getProducts(e,a);for(let u=0;u0)for(let P=0;P0)for(let P=0;P0)for(let Y=0;Y0)for(let Y=0;Y0)e[t].price={price:e[t].productPrice[0].price.taxIncludedAmount.value,unit:e[t].productPrice[0].price.taxIncludedAmount.unit,priceType:e[t].productPrice[0].priceType,text:null!=e[t].productPrice[0].unitOfMeasure?"/"+e[t].productPrice[0].unitOfMeasure:e[t].productPrice[0].recurringChargePeriodType};else if(i.productOfferingPrice&&1==i.productOfferingPrice.length){let u=yield a.api.getProductPrice(i.productOfferingPrice[0].id);console.log(u),e[t].price={price:"",unit:"",priceType:u.priceType,text:""}}}}finally{return e}})()}getInventory(e,a,t,i){var l=this;return M(function*(){let d=[];try{let u=yield l.inventoryService.getInventory(e,i,t,a);console.log("inv request"),console.log(u),d=yield l.getOffers(u)}finally{return d}})()}static#e=this.\u0275fac=function(a){return new(a||c)(d1(p1),d1(O2),d1(Y3),d1(U4))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const Aa=(c,r)=>r.id;function QT3(c,r){1&c&&(o(0,"div",29),w(),o(1,"svg",30),v(2,"path",31)(3,"path",32),n(),O(),o(4,"span",33),f(5,"Loading..."),n()())}function JT3(c,r){1&c&&v(0,"bae-badge",44),2&c&&k("category",r.$implicit)}function XT3(c,r){if(1&c){const e=j();o(0,"button",52),C("click",function(t){y(e);const i=h().$implicit;return h(3).showUnsubscribeModal(i),b(t.stopPropagation())}),w(),o(1,"svg",53),v(2,"path",54),n(),O(),o(3,"span",33),f(4,"Unsubscribe"),n()(),o(5,"div",55),f(6," Unsubscribe "),v(7,"div",56),n()}}function eE3(c,r){if(1&c&&(o(0,"span",51),f(1),n()),2&c){const e=h().$implicit;s(),H(e.status)}}function cE3(c,r){if(1&c&&(o(0,"span",57),f(1),n()),2&c){const e=h().$implicit;s(),H(e.status)}}function aE3(c,r){if(1&c&&(o(0,"span",58),f(1),n()),2&c){const e=h().$implicit;s(),H(e.status)}}function rE3(c,r){if(1&c&&(o(0,"span",59),f(1),n()),2&c){const e=h().$implicit;s(),H(e.status)}}function tE3(c,r){1&c&&(o(0,"div",60)(1,"div",61)(2,"span",62),f(3,"Custom"),n()()())}function iE3(c,r){if(1&c&&(o(0,"div",60)(1,"div",61)(2,"span",62),f(3),n(),o(4,"span",63),f(5),n()()()),2&c){const e=h(2).$implicit;s(3),j1("",null==e.price?null:e.price.price," ",null==e.price?null:e.price.unit,""),s(2),H(null==e.price?null:e.price.text)}}function oE3(c,r){1&c&&R(0,tE3,4,0,"div",60)(1,iE3,6,3),2&c&&S(0,"custom"==h().$implicit.price.priceType?0:1)}function nE3(c,r){1&c&&(o(0,"div",60)(1,"div",61)(2,"span",62),f(3),m(4,"translate"),n()()()),2&c&&(s(3),H(_(4,1,"SHOPPING_CART._free")))}function sE3(c,r){if(1&c){const e=j();o(0,"div",35)(1,"div",37),C("click",function(){const t=y(e).$implicit;return b(h(3).selectProduct(t))}),o(2,"div",38),v(3,"div",39)(4,"img",40),n()(),o(5,"div",41)(6,"div",42)(7,"div",43),c1(8,JT3,1,1,"bae-badge",44,Aa),n(),o(10,"div",45)(11,"a",46),C("click",function(){const t=y(e).$implicit;return b(h(3).goToProductDetails(t.product))}),o(12,"h5",47),f(13),n()(),R(14,XT3,8,0),n(),v(15,"markdown",48),o(16,"div",49)(17,"div"),f(18),n(),o(19,"div",50),R(20,eE3,2,1,"span",51)(21,cE3,2,1)(22,aE3,2,1)(23,rE3,2,1),n()(),R(24,oE3,2,1)(25,nE3,5,3),n()()()}if(2&c){const e=r.$implicit,a=r.$index,t=h(3);s(3),Xe("background-image: url(",t.getProductImage(e.product),");filter: blur(20px);"),s(),E1("src",t.getProductImage(e.product),H2),k("id","img-"+a),s(4),a1(null==e.product?null:e.product.category),s(5),H(null==e.product?null:e.product.name),s(),S(14,"active"==e.status?14:-1),s(),k("data",null==e.product?null:e.product.description),s(3),V("V: ",(null==e.product?null:e.product.version)||"latest",""),s(2),S(20,"active"==e.status?20:"created"==e.status?21:"suspended"==e.status?22:"terminated"==e.status?23:-1),s(4),S(24,e.price?24:25)}}function lE3(c,r){1&c&&(o(0,"div",36),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"PRODUCT_INVENTORY._not_found")))}function fE3(c,r){if(1&c){const e=j();o(0,"div",64)(1,"button",65),C("click",function(){return y(e),b(h(4).next())}),f(2," Load more "),w(),o(3,"svg",66),v(4,"path",67),n()()()}}function dE3(c,r){1&c&&R(0,fE3,5,0,"div",64),2&c&&S(0,h(3).page_check?0:-1)}function uE3(c,r){1&c&&(o(0,"div",68),w(),o(1,"svg",30),v(2,"path",31)(3,"path",32),n(),O(),o(4,"span",33),f(5,"Loading..."),n()())}function hE3(c,r){if(1&c&&(o(0,"div",34),c1(1,sE3,26,11,"div",35,Aa,!1,lE3,3,3,"div",36),n(),R(4,dE3,1,1)(5,uE3,6,0)),2&c){const e=h(2);s(),a1(e.inventory),s(3),S(4,e.loading_more?5:4)}}function mE3(c,r){if(1&c){const e=j();o(0,"div",5)(1,"div",6)(2,"div",7)(3,"h2",8),f(4),m(5,"translate"),n()()(),o(6,"div",9)(7,"div",10)(8,"div",11),v(9,"fa-icon",12),o(10,"h2",13),f(11),m(12,"translate"),n()(),o(13,"button",14),f(14),m(15,"translate"),w(),o(16,"svg",15),v(17,"path",16),n()(),O(),o(18,"div",17)(19,"h6",18),f(20),m(21,"translate"),n(),o(22,"ul",19)(23,"li",20)(24,"input",21),C("change",function(){return y(e),b(h().onStateFilterChange("created"))}),n(),o(25,"label",22),f(26," Created "),n()(),o(27,"li",20)(28,"input",23),C("change",function(){return y(e),b(h().onStateFilterChange("active"))}),n(),o(29,"label",24),f(30," Active "),n()(),o(31,"li",20)(32,"input",25),C("change",function(){return y(e),b(h().onStateFilterChange("suspended"))}),n(),o(33,"label",26),f(34," Suspended "),n()(),o(35,"li",20)(36,"input",27),C("change",function(){return y(e),b(h().onStateFilterChange("terminated"))}),n(),o(37,"label",28),f(38," Terminated "),n()()()()()()(),R(39,QT3,6,0,"div",29)(40,hE3,6,2)}if(2&c){const e=h();s(4),H(_(5,6,"PRODUCT_INVENTORY._search_criteria")),s(5),k("icon",e.faSwatchbook),s(2),H(_(12,8,"OFFERINGS._filter_state")),s(3),V(" ",_(15,10,"OFFERINGS._filter_state")," "),s(6),V(" ",_(21,12,"OFFERINGS._status")," "),s(19),S(39,e.loading?39:40)}}function _E3(c,r){if(1&c&&(o(0,"div",105)(1,"div",106)(2,"h2",107),f(3),n()(),v(4,"markdown",108),n()),2&c){const e=h().$implicit;s(3),H(e.name),s(),k("data",null==e?null:e.description)}}function pE3(c,r){1&c&&R(0,_E3,5,2,"div",105),2&c&&S(0,"custom"==r.$implicit.priceType?0:-1)}function gE3(c,r){1&c&&(o(0,"div",104)(1,"div",109)(2,"div",110)(3,"h5",111),f(4),m(5,"translate"),n()(),o(6,"p",112),f(7),m(8,"translate"),n()()()),2&c&&(s(4),H(_(5,2,"SHOPPING_CART._free")),s(3),H(_(8,4,"SHOPPING_CART._free_desc")))}function vE3(c,r){if(1&c&&(o(0,"div",103),c1(1,pE3,1,1,null,null,Aa),R(3,gE3,9,6,"div",104),n()),2&c){const e=h(3);s(),a1(null==e.selectedProduct?null:e.selectedProduct.productPrice),s(2),S(3,0==(null==e.selectedProduct||null==e.selectedProduct.productPrice?null:e.selectedProduct.productPrice.length)?3:-1)}}function HE3(c,r){if(1&c&&(o(0,"div",115)(1,"div",116)(2,"h5",117),f(3),n()(),o(4,"p",118)(5,"b",119),f(6),n(),f(7),n(),o(8,"p",118),f(9),n(),o(10,"p",120),f(11),n()()),2&c){const e=h().$implicit;s(3),H(e.name),s(3),H(null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.value),s(),V(" ",null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.unit,""),s(2),V("/",e.recurringChargePeriodType,""),s(2),H(null==e?null:e.description)}}function CE3(c,r){if(1&c&&(o(0,"div",114)(1,"div",121)(2,"h5",122),f(3),n()(),o(4,"p",118)(5,"b",119),f(6),n(),f(7),n(),o(8,"p",118),f(9),n(),o(10,"p",120),f(11),n()()),2&c){const e=h().$implicit;s(3),H(e.name),s(3),H(null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.value),s(),V(" ",null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.unit,""),s(2),V("/",e.unitOfMeasure,""),s(2),H(null==e?null:e.description)}}function zE3(c,r){if(1&c&&(o(0,"div",114)(1,"div",110)(2,"h5",123),f(3),n()(),o(4,"p",118)(5,"b",119),f(6),n(),f(7),n(),o(8,"p",120),f(9),n()()),2&c){const e=h().$implicit;s(3),H(e.name),s(3),H(null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.value),s(),V(" ",null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.unit,""),s(2),H(null==e?null:e.description)}}function VE3(c,r){if(1&c&&R(0,HE3,12,5,"div",115)(1,CE3,12,5)(2,zE3,10,4),2&c){const e=r.$implicit;S(0,"recurring"==e.priceType?0:"usage"==e.priceType?1:2)}}function ME3(c,r){1&c&&(o(0,"div",114)(1,"div",110)(2,"h5",111),f(3),m(4,"translate"),n()(),o(5,"p",124),f(6),m(7,"translate"),n()()),2&c&&(s(3),H(_(4,2,"SHOPPING_CART._free")),s(3),H(_(7,4,"SHOPPING_CART._free_desc")))}function LE3(c,r){if(1&c&&(o(0,"div",113),c1(1,VE3,3,1,null,null,z1),R(3,ME3,8,6,"div",114),n()),2&c){const e=h(3);s(),a1(null==e.selectedProduct?null:e.selectedProduct.productPrice),s(2),S(3,0==(null==e.selectedProduct||null==e.selectedProduct.productPrice?null:e.selectedProduct.productPrice.length)?3:-1)}}function yE3(c,r){1&c&&R(0,vE3,4,1,"div",103)(1,LE3,4,1),2&c&&S(0,h(2).checkCustom?0:1)}function bE3(c,r){if(1&c){const e=j();o(0,"tr",100)(1,"td",125)(2,"a",126),C("click",function(){const t=y(e).$implicit;return b(h(2).selectService(t.id))}),f(3),n()(),o(4,"td",125),f(5),n(),o(6,"td",127),f(7),n()()}if(2&c){const e=r.$implicit;s(3),H(e.id),s(2),V(" ",e.name," "),s(2),V(" ",e.lifecycleStatus," ")}}function xE3(c,r){1&c&&(o(0,"div",101)(1,"div",128),w(),o(2,"svg",129),v(3,"path",130),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"PRODUCT_INVENTORY._no_services")," "))}function wE3(c,r){if(1&c){const e=j();o(0,"tr",100)(1,"td",125)(2,"a",126),C("click",function(){const t=y(e).$implicit;return b(h(2).selectResource(t.id))}),f(3),n()(),o(4,"td",125),f(5),n(),o(6,"td",127),f(7),n()()}if(2&c){const e=r.$implicit;s(3),H(e.id),s(2),V(" ",e.name," "),s(2),V(" ",e.lifecycleStatus," ")}}function FE3(c,r){1&c&&(o(0,"div",101)(1,"div",128),w(),o(2,"svg",129),v(3,"path",130),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"PRODUCT_INVENTORY._no_resources")," "))}function kE3(c,r){if(1&c&&(o(0,"label",140),f(1),n()),2&c){const e=h().$implicit;s(),j1("",e.value," ",e.unitOfMeasure,"")}}function SE3(c,r){if(1&c&&(o(0,"label",140),f(1),n()),2&c){const e=h().$implicit;s(),H6("",e.valueFrom," - ",e.valueTo," ",null==e?null:e.unitOfMeasure,"")}}function NE3(c,r){if(1&c&&(o(0,"div",134)(1,"div",136)(2,"h3",137),f(3),n(),o(4,"div",138),v(5,"input",139),R(6,kE3,2,2,"label",140)(7,SE3,2,3),n()()()),2&c){const e=r.$implicit;s(3),H(e.name),s(3),S(6,e.value?6:7)}}function DE3(c,r){1&c&&(o(0,"div",135)(1,"div",141),w(),o(2,"svg",129),v(3,"path",130),n(),O(),o(4,"span",33),f(5,"Info"),n(),o(6,"p",142),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"PRODUCT_DETAILS._no_chars")," "))}function TE3(c,r){if(1&c&&(o(0,"div",102,1)(2,"h2",131),f(3),m(4,"translate"),n(),o(5,"div",132)(6,"div",133),c1(7,NE3,8,2,"div",134,Aa,!1,DE3,9,3,"div",135),n()()()),2&c){const e=h(2);s(3),H(_(4,2,"PRODUCT_INVENTORY._chars")),s(4),a1(e.selectedProduct.productCharacteristic)}}function EE3(c,r){if(1&c){const e=j();o(0,"div",5)(1,"div",69)(2,"nav",70)(3,"ol",71)(4,"li",72)(5,"button",73),C("click",function(){return y(e),b(h().back())}),w(),o(6,"svg",74),v(7,"path",75),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",76)(11,"div",20),w(),o(12,"svg",77),v(13,"path",78),n(),O(),o(14,"span",79),f(15),m(16,"translate"),n()()()()()(),o(17,"div",80)(18,"div",81)(19,"div",82)(20,"h5",83),f(21),n()()(),o(22,"div",84)(23,"div",85),v(24,"div",86)(25,"img",87),n()()(),o(26,"div",88)(27,"div",89)(28,"div",90)(29,"h2",91,0),f(31),m(32,"translate"),n(),v(33,"markdown",92),o(34,"h2",93),f(35),m(36,"translate"),n(),R(37,yE3,2,1),n(),o(38,"div")(39,"h2",93),f(40),m(41,"translate"),n(),o(42,"div",94)(43,"div",95)(44,"table",96)(45,"thead",97)(46,"tr")(47,"th",98),f(48," Id "),n(),o(49,"th",98),f(50),m(51,"translate"),n(),o(52,"th",99),f(53),m(54,"translate"),n()()(),o(55,"tbody"),c1(56,bE3,8,3,"tr",100,Aa,!1,xE3,7,3,"div",101),n()()()()(),o(59,"div")(60,"h2",93),f(61),m(62,"translate"),n(),o(63,"div",94)(64,"div",95)(65,"table",96)(66,"thead",97)(67,"tr")(68,"th",98),f(69," Id "),n(),o(70,"th",98),f(71),m(72,"translate"),n(),o(73,"th",99),f(74),m(75,"translate"),n()()(),o(76,"tbody"),c1(77,wE3,8,3,"tr",100,Aa,!1,FE3,7,3,"div",101),n()()()()(),R(80,TE3,10,4,"div",102),n()()()}if(2&c){const e=h();s(8),V(" ",_(9,20,"PRODUCT_DETAILS._back")," "),s(7),H(_(16,22,"PRODUCT_INVENTORY._prod_details")),s(6),H(null==e.selectedProduct.product?null:e.selectedProduct.product.name),s(3),Xe("background-image: url(",e.getProductImage(e.selectedProduct.product),");filter: blur(20px);"),s(),E1("src",e.getProductImage(e.selectedProduct.product),H2),s(6),H(_(32,24,"PRODUCT_INVENTORY._description")),s(2),k("data",null==e.selectedProduct.product?null:e.selectedProduct.product.description),s(2),H(_(36,26,"PRODUCT_INVENTORY._pricing")),s(2),S(37,null!=(null==e.selectedProduct?null:e.selectedProduct.productPrice)?37:-1),s(3),H(_(41,28,"PRODUCT_INVENTORY._services")),s(10),V(" ",_(51,30,"OFFERINGS._name")," "),s(3),V(" ",_(54,32,"OFFERINGS._status")," "),s(3),a1(e.selectedServices),s(5),H(_(62,34,"PRODUCT_INVENTORY._resources")),s(10),V(" ",_(72,36,"OFFERINGS._name")," "),s(3),V(" ",_(75,38,"OFFERINGS._status")," "),s(3),a1(e.selectedResources),s(3),S(80,null!=e.selectedProduct.productCharacteristic&&e.selectedProduct.productCharacteristic.length>0?80:-1)}}function AE3(c,r){if(1&c){const e=j();o(0,"div",3)(1,"div",143),C("click",function(t){return y(e),b(t.stopPropagation())}),o(2,"div",144)(3,"button",145),C("click",function(t){return y(e),h().unsubscribeModal=!1,b(t.stopPropagation())}),w(),o(4,"svg",146),v(5,"path",147),n(),O(),o(6,"span",33),f(7,"Close modal"),n()(),w(),o(8,"svg",148),v(9,"path",149),n(),O(),o(10,"p",150),f(11),n(),o(12,"div",151)(13,"button",152),C("click",function(t){return y(e),h().unsubscribeModal=!1,b(t.stopPropagation())}),f(14," No, cancel "),n(),o(15,"button",153),C("click",function(){y(e);const t=h();return b(t.unsubscribeProduct(t.prodToUnsubscribe.id))}),f(16," Yes, I'm sure "),n()()()()()}if(2&c){const e=h();k("ngClass",e.unsubscribeModal?"backdrop-blur-sm":""),s(11),V("Are you sure you want to cancel this subscription? (",e.prodToUnsubscribe.product.name,")")}}function PE3(c,r){if(1&c){const e=j();o(0,"div",3)(1,"div",143),C("click",function(t){return y(e),b(t.stopPropagation())}),o(2,"div",144)(3,"button",145),C("click",function(t){return y(e),h().renewModal=!1,b(t.stopPropagation())}),w(),o(4,"svg",146),v(5,"path",147),n(),O(),o(6,"span",33),f(7,"Close modal"),n()(),w(),o(8,"svg",148),v(9,"path",154),n(),O(),o(10,"p",150),f(11),n(),o(12,"div",151)(13,"button",152),C("click",function(t){return y(e),h().renewModal=!1,b(t.stopPropagation())}),f(14," No, cancel "),n(),o(15,"button",155),C("click",function(){y(e);const t=h();return b(t.renewProduct(t.prodToRenew.id))}),f(16," Yes, I'm sure "),n()()()()()}if(2&c){const e=h();k("ngClass",e.renewModal?"backdrop-blur-sm":""),s(11),V("Are you sure you want to renew this subscription? (",e.prodToRenew.product.name,")")}}function RE3(c,r){1&c&&v(0,"error-message",4),2&c&&k("message",h().errorMessage)}let BE3=(()=>{class c{constructor(e,a,t,i,l,d,u,p,z){this.inventoryService=e,this.localStorage=a,this.api=t,this.cdr=i,this.priceService=l,this.router=d,this.orderService=u,this.eventMessage=p,this.paginationService=z,this.faIdCard=$6,this.faSort=j6,this.faSwatchbook=_0,this.prodId=void 0,this.inventory=[],this.nextInventory=[],this.partyId="",this.loading=!1,this.bgColor=[],this.products=[],this.unsubscribeModal=!1,this.renewModal=!1,this.prices=[],this.filters=["active","created"],this.loading_more=!1,this.page_check=!0,this.page=0,this.INVENTORY_LIMIT=_1.INVENTORY_LIMIT,this.searchField=new u1,this.keywordFilter=void 0,this.selectedResources=[],this.selectedServices=[],this.errorMessage="",this.showError=!1,this.showDetails=!1,this.checkCustom=!1,this.checkFrom=!0,this.eventMessage.messages$.subscribe(x=>{"ChangedSession"===x.type&&this.initInventory()})}ngOnInit(){null==this.prodId&&(this.checkFrom=!1),this.initInventory()}initInventory(){this.loading=!0;let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0){if(e.logged_as==e.id)this.partyId=e.partyId;else{let t=e.organizations.find(i=>i.id==e.logged_as);this.partyId=t.partyId}this.getInventory(!1)}let a=document.querySelector("[type=search]");a?.addEventListener("input",t=>{console.log("Input updated"),""==this.searchField.value&&(this.keywordFilter=void 0,this.getInventory(!1))}),S1()}onClick(){1==this.unsubscribeModal&&(this.unsubscribeModal=!1,this.cdr.detectChanges()),1==this.prodToRenew&&(this.prodToRenew=!1,this.cdr.detectChanges())}getProductImage(e){let a=[];if(e?.attachment){let t=e?.attachment?.filter(i=>"Profile Picture"===i.name)??[];a=e.attachment?.filter(i=>"Picture"===i.attachmentType)??[],0!=t.length&&(a=t)}return a.length>0?a?.at(0)?.url:"https://placehold.co/600x400/svg"}goToProductDetails(e){document.querySelector("body > div[modal-backdrop]")?.remove(),console.log("info"),console.log(e),this.router.navigate(["product-inventory",e?.id])}getInventory(e){var a=this;return M(function*(){0==e&&(a.loading=!0);let t={keywords:a.keywordFilter,filters:a.filters,partyId:a.partyId};yield a.paginationService.getItemsPaginated(a.page,a.INVENTORY_LIMIT,e,a.inventory,a.nextInventory,t,a.paginationService.getInventory.bind(a.paginationService)).then(i=>{if(a.page_check=i.page_check,a.inventory=i.items,a.nextInventory=i.nextItems,a.page=i.page,a.loading=!1,a.loading_more=!1,S1(),null!=a.prodId&&a.checkFrom){let l=a.inventory.findIndex(d=>d.id==a.prodId);a.selectProduct(a.inventory[l]),a.checkFrom=!1}})})()}onStateFilterChange(e){const a=this.filters.findIndex(t=>t===e);-1!==a?(this.filters.splice(a,1),console.log("elimina filtro"),console.log(this.filters)):(console.log("a\xf1ade filtro"),console.log(this.filters),this.filters.push(e)),this.getInventory(!1)}next(){var e=this;return M(function*(){yield e.getInventory(!0)})()}filterInventoryByKeywords(){this.keywordFilter=this.searchField.value,this.getInventory(!1)}unsubscribeProduct(e){this.inventoryService.updateProduct({status:"suspended"},e).subscribe({next:a=>{this.unsubscribeModal=!1,this.getInventory(!1)},error:a=>{console.error("There was an error while updating!",a),a.error.error?(console.log(a),this.errorMessage="Error: "+a.error.error):this.errorMessage="There was an error while unsubscribing!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}showUnsubscribeModal(e){this.unsubscribeModal=!0,this.prodToUnsubscribe=e}showRenewModal(e){this.renewModal=!0,this.prodToRenew=e}renewProduct(e){console.log(e)}selectProduct(e){this.selectedProduct=e,console.log("selecting prod"),console.log(this.selectedProduct),this.selectedResources=[],this.selectedServices=[];for(let a=0;a{if(null!=a.serviceSpecification)for(let t=0;t{this.selectedServices.push(i),console.log(i)});if(null!=a.resourceSpecification)for(let t=0;t{this.selectedResources.push(i),console.log(i)})}),this.showDetails=!0,console.log(this.selectedProduct)}back(){this.showDetails=!1}selectService(e){this.eventMessage.emitOpenServiceDetails({serviceId:e,prodId:this.selectedProduct.id})}selectResource(e){this.eventMessage.emitOpenResourceDetails({resourceId:e,prodId:this.selectedProduct.id})}static#e=this.\u0275fac=function(a){return new(a||c)(B(U4),B(R1),B(p1),B(B1),B(M8),B(Z1),B(Y3),B(e2),B(M3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["inventory-products"]],hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},inputs:{prodId:"prodId"},decls:6,vars:4,consts:[["detailsContent",""],["charsContent",""],[1,"flex","flex-col","p-4","justify-end"],["tabindex","-1","aria-hidden","true",1,"flex","overflow-y-auto","overflow-x-hidden","fixed","top-0","right-0","left-0","z-50","justify-center","items-center","w-full","md:inset-0","h-modal","md:h-full","shadow-2xl",3,"ngClass"],[1,"fixed","w-fit","top-1/2","left-1/2","z-50",3,"message"],[1,"w-full","h-fit","mb-4","bg-secondary-50","rounded-lg","dark:bg-secondary-100","dark:border-gray-800","border-secondary-50","border","flex","flex-col","shadow-lg"],[1,"flex","w-full","flex-cols","items-center","justify-between"],[1,"mb-4","lg:mb-0","lg:w-1/4","p-8","justify-start"],[1,"text-xl","font-bold","dark:text-white"],[1,"flex","w-full","flex-col","items-center","lg:flex-row","justify-between"],[1,"p-8","w-full"],[1,"flex","flex-row","mb-1"],[1,"fa-base","text-primary-100","align-middle","mr-2",3,"icon"],[1,"text-base","dark:text-white","font-bold"],["id","dropdownDefault","data-dropdown-toggle","dropdown","type","button",1,"text-black","dark:text-white","w-full","justify-between","shadow","bg-white","dark:bg-secondary-200","hover:bg-gray-100","dark:hover:bg-secondary-300","focus:ring-4","focus:outline-none","focus:ring-primary-100","font-medium","rounded-lg","text-sm","p-2.5","text-center","inline-flex","items-center","shadow-lg"],["aria-hidden","true","fill","none","stroke","currentColor","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg",1,"w-4","h-4","ml-2"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M19 9l-7 7-7-7"],["id","dropdown",1,"z-20","hidden","w-fit","md:w-1/5","p-3","bg-white","rounded-lg","shadow","dark:bg-secondary-200"],[1,"mb-3","text-sm","font-medium","text-gray-900","dark:text-white"],["aria-labelledby","dropdownDefault",1,"space-y-2","text-sm"],[1,"flex","items-center"],["id","created","type","checkbox","value","","checked","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500","dark:focus:ring-primary-600","dark:ring-offset-gray-700","focus:ring-2","dark:bg-gray-600","dark:border-gray-500",3,"change"],["for","created",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-100"],["id","active","type","checkbox","value","","checked","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500","dark:focus:ring-primary-600","dark:ring-offset-gray-700","focus:ring-2","dark:bg-gray-600","dark:border-gray-500",3,"change"],["for","active",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-100"],["id","suspended","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500","dark:focus:ring-primary-600","dark:ring-offset-gray-700","focus:ring-2","dark:bg-gray-600","dark:border-gray-500",3,"change"],["for","suspended",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-100"],["id","terminated","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500","dark:focus:ring-primary-600","dark:ring-offset-gray-700","focus:ring-2","dark:bg-gray-600","dark:border-gray-500",3,"change"],["for","terminated",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-100"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"sr-only"],[1,"grid","grid-cols-1","place-items-center","sm:grid-cols-2","lg:grid-cols-3","gap-4"],[1,"w-full","h-full","bg-secondary-50","dark:bg-secondary-100","dark:border-secondary-100","rounded-lg","border-secondary-50","border"],[1,"min-h-19","dark:text-gray-600","text-center","dark:text-gray-400"],[1,"rounded","overflow-hidden","cursor-pointer",3,"click"],[1,"relative","h-48","flex","justify-center","items-center"],[1,"absolute","inset-0","bg-cover","bg-center","opacity-75"],["alt","Descripci\xf3n de la imagen",1,"h-5/6","w-5/6","object-contain","z-10",3,"id","src"],[1,"bg-cover","bg-right-bottom","bg-opacity-25","rounded-lg",2,"background-image","url(assets/logos/dome-logo-element-colour.png)"],[1,"px-5","py-5","bg-secondary-50/95","dark:bg-secondary-100/95","rounded-lg"],[1,"h-[30px]","overflow-y-hidden"],[1,"ml-2",3,"category"],[1,"flex","flex-row","justify-between"],[1,"flex","cursor-pointer",3,"click"],[1,"text-xl","font-semibold","tracking-tight","text-primary-100","dark:text-white"],[1,"min-h-19","h-19","line-clamp-2","text-gray-600","dark:text-gray-400",3,"data"],[1,"flex","w-full","justify-between","mt-2.5","mb-5","text-gray-500","font-mono"],[1,"flex","items-center","justify-center","rounded-lg"],[1,"bg-blue-100","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],["type","button","data-tooltip-target","unsubscribe-default",1,"flex","text-red-600","border","border-red-600","hover:bg-red-600","hover:text-white","focus:ring-4","focus:outline-none","focus:ring-red-400","font-medium","rounded-full","text-sm","p-2","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M6 18 17.94 6M18 18 6.06 6"],["id","unsubscribe-default","role","tooltip",1,"absolute","z-10","invisible","inline-block","px-3","py-2","text-sm","font-medium","text-white","transition-opacity","duration-300","rounded-lg","shadow-sm","opacity-0","tooltip","bg-primary-100"],["data-popper-arrow","",1,"tooltip-arrow"],[1,"bg-blue-100","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"flex","flex-col","place-content-center","items-baseline","mb-5","w-full"],[1,"flex","place-content-center","items-baseline","w-full"],[1,"text-2xl","font-bold","text-gray-900","mr-1","dark:text-white"],[1,"text-xs","font-bold","text-gray-900","dark:text-white"],[1,"flex","pt-6","pb-6","justify-center","align-middle"],[1,"flex","cursor-pointer","items-center","justify-center","px-3","h-8","text-sm","font-medium","text-gray-500","bg-white","border","border-gray-300","rounded-lg","hover:bg-gray-100","hover:text-gray-700","dark:bg-gray-800","dark:border-gray-700","dark:text-gray-400","dark:hover:bg-gray-700","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle","mt-2"],[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-secondary-50","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"w-full","lg:h-fit","bg-secondary-50","rounded-lg","dark:bg-secondary-100","lg:grid","lg:grid-cols-80/20"],[1,"grid","grid-rows-auto","p-4","md:p-8","h-fit"],[1,"mt-2","h-fit"],[1,"text-2xl","md:text-3xl","lg:text-4xl","font-semibold","tracking-tight","text-primary-100","dark:text-white"],[1,"hidden","lg:block","overflow-hidden","rounded-lg","mr-4"],[1,"hidden","lg:flex","relative","justify-center","items-center","w-full","h-full"],[1,"object-contain","overflow-hidden","absolute","inset-0","bg-cover","bg-center","opacity-75"],["alt","Descripci\xf3n de la imagen",1,"object-contain","max-h-[350px]","z-10","p-8",3,"src"],[1,"p-4"],["id","desc-container",1,"w-full","bg-secondary-50/95","dark:bg-secondary-100/95","rounded-lg","p-8","lg:p-12"],["id","details-container"],[1,"text-2xl","md:text-3xl","lg:text-4xl","font-extrabold","text-primary-100","dark:text-primary-50","text-center","pb-4"],[1,"dark:text-gray-200","text-wrap","break-all",3,"data"],[1,"text-2xl","md:text-3xl","lg:text-4xl","font-extrabold","text-primary-100","dark:text-primary-50","text-center","pb-8","pt-12"],[1,"bg-secondary-50","dark:bg-secondary-100","p-4","rounded-lg"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"hidden","md:table-cell","px-6","py-3"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"flex","justify-center","w-full","m-4"],["id","chars-container"],[1,"grid","grid-flow-row","gap-4","lg:grid-cols-2","lg:auto-cols-auto","justify-items-center","p-2"],[1,"inline-flex","items-center","justify-center","w-full"],[1,"mx-auto","bg-white","border","border-gray-200","dark:bg-secondary-200","dark:border-gray-800","rounded-lg","shadow","w-full","p-4"],[1,"flex","justify-start","mb-2"],[1,"text-gray-900","dark:text-white","text-3xl","font-extrabold","mb-2"],[1,"dark:text-gray-200","w-full","p-4","text-wrap","break-all",3,"data"],[1,"max-w-sm","bg-white","border","border-gray-200","rounded-lg","shadow","w-full"],[1,"bg-blue-500","rounded-t-lg","w-full"],[1,"flex","justify-center","mb-2","p-6","text-2xl","font-bold","tracking-tight","text-gray-900"],[1,"flex","justify-center","mb-2","p-4","font-normal","text-gray-700"],[1,"grid","grid-flow-row","gap-4","lg:grid-cols-3","lg:auto-cols-auto","justify-items-center","p-2"],[1,"max-w-sm","bg-white","border","border-gray-200","dark:bg-secondary-200","dark:border-gray-800","rounded-lg","shadow","w-full"],[1,"max-w-sm","bg-white","dark:bg-secondary-200","dark:border-gray-800","border","border-gray-200","rounded-lg","shadow","w-full"],[1,"bg-green-500","rounded-t-lg","w-full","text-wrap","break-all"],[1,"flex","justify-center","mb-2","p-6","text-2xl","font-bold","tracking-tight","text-gray-900","w-full"],[1,"flex","justify-center","font-normal","text-gray-700","dark:text-white"],[1,"text-xl","mr-2"],[1,"flex","justify-center","mb-2","p-4","font-normal","text-gray-700","dark:text-white","text-wrap","break-all"],[1,"bg-yellow-300","rounded-t-lg","w-full"],[1,"flex","justify-center","mb-2","p-6","text-2xl","font-bold","tracking-tight","text-gray-900","text-wrap","break-all"],[1,"flex","justify-center","mb-4","p-6","text-2xl","font-bold","tracking-tight","text-gray-900","text-wrap","break-all"],[1,"flex","justify-center","mb-2","font-normal","text-gray-700","dark:text-white"],[1,"px-6","py-4","text-wrap","break-all","w-1/2","md:w-1/4"],[1,"cursor-pointer","font-medium","text-primary-100","dark:text-primary-50","hover:underline",3,"click"],[1,"hidden","md:table-cell","px-6","py-4","md:w-1/4"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"text-2xl","md:text-3xl","lg:text-4xl","font-extrabold","text-primary-100","text-center","pb-8","pt-12","dark:text-primary-50"],[1,"container","mx-auto","px-4"],[1,"flex","flex-wrap","-mx-4"],[1,"w-full","md:w-1/2","lg:w-1/3","px-4","mb-8"],[1,"flex","justify-center","items-center","w-full"],[1,"border","border-gray-200","rounded-lg","shadow","bg-white","dark:bg-secondary-200","dark:border-gray-800","shadow-md","p-8","h-full"],[1,"text-2xl","font-bold","mb-4","dark:text-white"],[1,"flex","items-center","pl-4"],["disabled","","checked","","id","disabled-checked-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","dark:bg-gray-600","dark:border-gray-800","rounded-full","focus:ring-blue-500","focus:ring-2"],["for","disabled-checked-checkbox",1,"ms-2","text-sm","font-medium","text-gray-700","dark:text-gray-200","dark:bg-secondary-200","dark:border-gray-800","text-wrap","break-all"],["role","alert",1,"flex","items-center","w-1/2","p-4","mb-4","text-sm","text-primary-100","rounded-lg","bg-white","border","border-gray-200","shadow-md","dark:bg-secondary-200","dark:text-primary-50"],[1,"text-center"],[1,"relative","p-4","w-full","max-w-md","h-full","md:h-auto",3,"click"],[1,"relative","p-4","text-center","bg-white","rounded-lg","shadow","dark:bg-gray-800","sm:p-5"],["type","button",1,"text-gray-400","absolute","top-2.5","right-2.5","bg-transparent","hover:bg-gray-200","hover:text-gray-900","rounded-lg","text-sm","p-1.5","ml-auto","inline-flex","items-center","dark:hover:bg-gray-600","dark:hover:text-white",3,"click"],["aria-hidden","true","fill","currentColor","viewBox","0 0 20 20","xmlns","http://www.w3.org/2000/svg",1,"w-5","h-5"],["fill-rule","evenodd","d","M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule","evenodd"],["aria-hidden","true","fill","currentColor","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg",1,"text-gray-400","dark:text-gray-500","w-12","h-12","mb-3.5","mx-auto"],["fill-rule","evenodd","d","M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm7.707-3.707a1 1 0 0 0-1.414 1.414L10.586 12l-2.293 2.293a1 1 0 1 0 1.414 1.414L12 13.414l2.293 2.293a1 1 0 0 0 1.414-1.414L13.414 12l2.293-2.293a1 1 0 0 0-1.414-1.414L12 10.586 9.707 8.293Z","clip-rule","evenodd"],[1,"mb-4","text-gray-500","dark:text-gray-300"],[1,"flex","justify-center","items-center","space-x-4"],["type","button",1,"py-2","px-3","text-sm","font-medium","text-gray-500","bg-white","rounded-lg","border","border-gray-200","hover:bg-gray-100","focus:ring-4","focus:outline-none","focus:ring-primary-300","hover:text-gray-900","focus:z-10","dark:bg-gray-700","dark:text-gray-300","dark:border-gray-500","dark:hover:text-white","dark:hover:bg-gray-600","dark:focus:ring-gray-600",3,"click"],["type","submit",1,"py-2","px-3","text-sm","font-medium","text-center","text-white","bg-red-600","rounded-lg","hover:bg-red-700","focus:ring-4","focus:outline-none","focus:ring-red-300","dark:bg-red-500","dark:hover:bg-red-600","dark:focus:ring-red-900",3,"click"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m16 10 3-3m0 0-3-3m3 3H5v3m3 4-3 3m0 0 3 3m-3-3h14v-3"],["type","submit",1,"py-2","px-3","text-sm","font-medium","text-center","text-white","bg-blue-600","rounded-lg","hover:bg-blue-700","focus:ring-4","focus:outline-none","focus:ring-blue-300","dark:bg-blue-500","dark:hover:bg-blue-600","dark:focus:ring-blue-900",3,"click"]],template:function(a,t){1&a&&(o(0,"div",2),R(1,mE3,41,14)(2,EE3,81,40)(3,AE3,17,2,"div",3)(4,PE3,17,2,"div",3)(5,RE3,1,1,"error-message",4),n()),2&a&&(s(),S(1,t.showDetails?2:1),s(2),S(3,t.unsubscribeModal?3:-1),s(),S(4,t.renewModal?4:-1),s(),S(5,t.showError?5:-1))},dependencies:[k2,S4,_4,AC,C4,J1]})}return c})();const th1=(c,r)=>r.id;function OE3(c,r){1&c&&(o(0,"div",30),w(),o(1,"svg",31),v(2,"path",32)(3,"path",33),n(),O(),o(4,"span",34),f(5,"Loading..."),n()())}function IE3(c,r){if(1&c){const e=j();o(0,"tr",41)(1,"td",43)(2,"a",44),C("click",function(){const t=y(e).$implicit;return b(h(3).selectResource(t))}),f(3),n()(),o(4,"td",43),f(5),n(),o(6,"td",45),f(7),n(),o(8,"td",45),f(9),m(10,"date"),n()()}if(2&c){const e=r.$implicit;s(3),H(e.id),s(2),V(" ",e.name," "),s(2),V(" ",e.resourceStatus," "),s(2),V(" ",L2(10,4,e.startOperatingDate,"EEEE, dd/MM/yy, HH:mm")," ")}}function UE3(c,r){1&c&&(o(0,"div",42)(1,"div",46),w(),o(2,"svg",47),v(3,"path",48),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"PRODUCT_INVENTORY._no_resources")," "))}function jE3(c,r){if(1&c){const e=j();o(0,"div",49)(1,"button",50),C("click",function(){return y(e),b(h(4).next())}),f(2," Load more "),w(),o(3,"svg",51),v(4,"path",52),n()()()}}function $E3(c,r){1&c&&R(0,jE3,5,0,"div",49),2&c&&S(0,h(3).page_check?0:-1)}function YE3(c,r){1&c&&(o(0,"div",53),w(),o(1,"svg",31),v(2,"path",32)(3,"path",33),n(),O(),o(4,"span",34),f(5,"Loading..."),n()())}function GE3(c,r){if(1&c&&(o(0,"div",35)(1,"div",36)(2,"table",37)(3,"thead",38)(4,"tr")(5,"th",39),f(6," Id "),n(),o(7,"th",39),f(8),m(9,"translate"),n(),o(10,"th",40),f(11),m(12,"translate"),n(),o(13,"th",40),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,IE3,11,7,"tr",41,th1,!1,UE3,7,3,"div",42),n()()(),o(20,"div"),R(21,$E3,1,1)(22,YE3,6,0),n()()),2&c){const e=h(2);s(8),V(" ",_(9,5,"OFFERINGS._name")," "),s(3),V(" ",_(12,7,"OFFERINGS._status")," "),s(3),V(" ",_(15,9,"PRODUCT_INVENTORY._start_date")," "),s(3),a1(e.resources),s(4),S(21,e.loading_more?22:21)}}function qE3(c,r){if(1&c){const e=j();o(0,"div",2)(1,"div",3)(2,"div",4)(3,"h2",5),f(4),m(5,"translate"),n()()(),o(6,"div",6)(7,"div",7)(8,"div",8),v(9,"fa-icon",9),o(10,"h2",10),f(11),m(12,"translate"),n()(),o(13,"button",11),f(14),m(15,"translate"),w(),o(16,"svg",12),v(17,"path",13),n()(),O(),o(18,"div",14)(19,"h6",15),f(20),m(21,"translate"),n(),o(22,"ul",16)(23,"li",17)(24,"input",18),C("change",function(){return y(e),b(h().onStateFilterChange("standby"))}),n(),o(25,"label",19),f(26," Standby "),n()(),o(27,"li",17)(28,"input",20),C("change",function(){return y(e),b(h().onStateFilterChange("alarm"))}),n(),o(29,"label",21),f(30," Alarm "),n()(),o(31,"li",17)(32,"input",22),C("change",function(){return y(e),b(h().onStateFilterChange("available"))}),n(),o(33,"label",23),f(34," Available "),n()(),o(35,"li",17)(36,"input",24),C("change",function(){return y(e),b(h().onStateFilterChange("reserved"))}),n(),o(37,"label",25),f(38," Reserved "),n()(),o(39,"li",17)(40,"input",26),C("change",function(){return y(e),b(h().onStateFilterChange("suspended"))}),n(),o(41,"label",27),f(42," Suspended "),n()(),o(43,"li",17)(44,"input",28),C("change",function(){return y(e),b(h().onStateFilterChange("unknown"))}),n(),o(45,"label",29),f(46," Unknown "),n()()()()()()(),R(47,OE3,6,0,"div",30)(48,GE3,23,11)}if(2&c){const e=h();s(4),H(_(5,6,"PRODUCT_INVENTORY._search_criteria")),s(5),k("icon",e.faSwatchbook),s(2),H(_(12,8,"OFFERINGS._filter_state")),s(3),V(" ",_(15,10,"OFFERINGS._filter_state")," "),s(6),V(" ",_(21,12,"OFFERINGS._status")," "),s(27),S(47,e.loading?47:48)}}function WE3(c,r){if(1&c&&(o(0,"label",78),f(1),n()),2&c){const e=h().$implicit;s(),j1("",e.value," ",e.unitOfMeasure,"")}}function ZE3(c,r){if(1&c&&(o(0,"label",78),f(1),n()),2&c){const e=h().$implicit;s(),H6("",e.valueFrom," - ",e.valueTo," ",null==e?null:e.unitOfMeasure,"")}}function KE3(c,r){if(1&c&&(o(0,"div",72)(1,"div",74)(2,"h3",75),f(3),n(),o(4,"div",76),v(5,"input",77),R(6,WE3,2,2,"label",78)(7,ZE3,2,3),n()()()),2&c){const e=r.$implicit;s(3),H(e.name),s(3),S(6,e.value?6:7)}}function QE3(c,r){1&c&&(o(0,"div",73)(1,"div",79),w(),o(2,"svg",47),v(3,"path",48),n(),O(),o(4,"span",34),f(5,"Info"),n(),o(6,"p",80),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"PRODUCT_DETAILS._no_chars")," "))}function JE3(c,r){if(1&c&&(o(0,"div",68,0)(2,"h2",69),f(3),m(4,"translate"),n(),o(5,"div",70)(6,"div",71),c1(7,KE3,8,2,"div",72,th1,!1,QE3,9,3,"div",73),n()()()),2&c){const e=h(2);s(3),H(_(4,2,"PRODUCT_INVENTORY._res_details")),s(4),a1(e.selectedRes.resourceCharacteristic)}}function XE3(c,r){if(1&c){const e=j();o(0,"div",2)(1,"div",54)(2,"nav",55)(3,"ol",56)(4,"li",57)(5,"button",58),C("click",function(){return y(e),b(h().back())}),w(),o(6,"svg",59),v(7,"path",60),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",61)(11,"div",17),w(),o(12,"svg",62),v(13,"path",63),n(),O(),o(14,"span",64),f(15),m(16,"translate"),n()()()()()(),o(17,"div",65)(18,"h2",66),f(19),n(),v(20,"markdown",67),m(21,"translate"),R(22,JE3,10,4,"div",68),n()()}if(2&c){const e=h();s(8),V(" ",_(9,5,"PRODUCT_DETAILS._back")," "),s(7),H(_(16,7,"PRODUCT_INVENTORY._res_details")),s(4),H(e.selectedRes.name),s(),k("data",e.selectedRes.description?e.selectedRes.description:_(21,9,"CATALOGS._no_desc")),s(2),S(22,null!=e.selectedRes.resourceCharacteristic&&e.selectedRes.resourceCharacteristic.length>0?22:-1)}}let eA3=(()=>{class c{constructor(e,a,t,i,l,d,u){this.inventoryService=e,this.localStorage=a,this.api=t,this.cdr=i,this.router=l,this.eventMessage=d,this.paginationService=u,this.faIdCard=$6,this.faSort=j6,this.faSwatchbook=_0,this.resourceId=void 0,this.prodId=void 0,this.partyId="",this.loading=!1,this.resources=[],this.nextResources=[],this.status=[],this.loading_more=!1,this.page_check=!0,this.page=0,this.INVENTORY_LIMIT=_1.INVENTORY_RES_LIMIT,this.showDetails=!1,this.eventMessage.messages$.subscribe(p=>{"ChangedSession"===p.type&&this.initInventory()})}ngOnInit(){null!=this.resourceId&&this.api.getResourceSpec(this.resourceId).then(e=>{this.selectResource(e),console.log("entre"),console.log(e)}),this.initInventory()}initInventory(){this.loading=!0;let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0){if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}this.getInventory(!1)}S1()}getInventory(e){var a=this;return M(function*(){0==e&&(a.loading=!0),a.paginationService.getItemsPaginated(a.page,a.INVENTORY_LIMIT,e,a.resources,a.nextResources,{partyId:a.partyId,filters:a.status},a.inventoryService.getResourceInventory.bind(a.inventoryService)).then(i=>{a.page_check=i.page_check,a.resources=i.items,a.nextResources=i.nextItems,a.page=i.page,a.loading=!1,a.loading_more=!1,console.log(a.resources)})})()}next(){var e=this;return M(function*(){yield e.getInventory(!0)})()}selectResource(e){this.selectedRes=e,this.showDetails=!0}back(){null!=this.prodId?(this.eventMessage.emitOpenProductInvDetails(this.prodId),this.showDetails=!1):this.showDetails=!1}onStateFilterChange(e){const a=this.status.findIndex(t=>t===e);-1!==a?(this.status.splice(a,1),console.log("elimina filtro"),console.log(this.status)):(console.log("a\xf1ade filtro"),console.log(this.status),this.status.push(e)),this.getInventory(!1)}static#e=this.\u0275fac=function(a){return new(a||c)(B(U4),B(R1),B(p1),B(B1),B(Z1),B(e2),B(M3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["inventory-resources"]],inputs:{resourceId:"resourceId",prodId:"prodId"},decls:3,vars:1,consts:[["charsContent",""],[1,"flex","flex-col","p-4","justify-end"],[1,"w-full","h-fit","mb-4","bg-secondary-50","rounded-lg","dark:bg-secondary-100","dark:border-gray-800","border-secondary-50","border","flex","flex-col","shadow-lg"],[1,"flex","w-full","flex-cols","items-center","justify-between"],[1,"mb-4","lg:mb-0","lg:w-1/4","p-8","justify-start"],[1,"text-xl","font-bold","dark:text-white"],[1,"flex","w-full","flex-col","items-center","lg:flex-row","justify-between"],[1,"p-8","w-full"],[1,"flex","flex-row","mb-1"],[1,"fa-base","text-primary-100","align-middle","mr-2",3,"icon"],[1,"text-base","dark:text-white","font-bold"],["id","dropdownDefault","data-dropdown-toggle","dropdown","type","button",1,"text-black","dark:text-white","w-full","justify-between","shadow","bg-white","dark:bg-secondary-200","hover:bg-gray-100","dark:hover:bg-secondary-300","focus:ring-4","focus:outline-none","focus:ring-primary-100","font-medium","rounded-lg","text-sm","p-2.5","text-center","inline-flex","items-center","shadow-lg"],["aria-hidden","true","fill","none","stroke","currentColor","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg",1,"w-4","h-4","ml-2"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M19 9l-7 7-7-7"],["id","dropdown",1,"z-20","hidden","w-fit","md:w-1/5","p-3","bg-white","rounded-lg","shadow","dark:bg-secondary-200"],[1,"mb-3","text-sm","font-medium","text-gray-900","dark:text-white"],["aria-labelledby","dropdownDefault",1,"space-y-2","text-sm"],[1,"flex","items-center"],["id","standby","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","standby",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","alarm","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","alarm",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","available","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","available",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","reserved","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","reserved",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","suspended","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","suspended",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","unknown","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","unknown",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"sr-only"],[1,"bg-secondary-50","dark:bg-secondary-100","border","dark:border-gray-800","mt-8","p-4","rounded-lg"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"hidden","md:table-cell","px-6","py-3"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"flex","justify-center","w-full","m-4"],[1,"px-6","py-4","text-wrap","break-all","w-1/2","md:w-1/4"],[1,"cursor-pointer","font-medium","text-primary-100","dark:text-primary-50","hover:underline",3,"click"],[1,"hidden","md:table-cell","px-6","py-4","md:w-1/4"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"flex","pt-4","justify-center","align-middle"],[1,"flex","cursor-pointer","items-center","justify-center","px-3","h-8","text-sm","font-medium","text-gray-500","bg-white","border","border-gray-300","rounded-lg","hover:bg-gray-100","hover:text-gray-700","dark:bg-gray-800","dark:border-gray-700","dark:text-gray-400","dark:hover:bg-gray-700","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle","mt-2"],[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-secondary-50","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"p-4"],[1,"text-2xl","font-extrabold","text-primary-100","text-center","dark:text-primary-50","pb-4"],[1,"bg-gray-50","text-wrap","break-all","dark:bg-secondary-300","dark:text-white","text-gray-900","pb-4","text-center",3,"data"],["id","chars-container"],[1,"text-xl","font-bold","dark:text-white","pb-4","px-4"],[1,"container","mx-auto","px-4"],[1,"flex","flex-wrap","-mx-4"],[1,"w-full","md:w-1/2","lg:w-1/3","px-4","mb-8"],[1,"flex","justify-center","items-center","w-full"],[1,"border","border-gray-200","rounded-lg","shadow","bg-white","dark:bg-secondary-200","dark:border-gray-800","shadow-md","p-8","h-full"],[1,"text-2xl","font-bold","mb-4","dark:text-white"],[1,"flex","items-center","pl-4"],["disabled","","checked","","id","disabled-checked-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","dark:bg-gray-600","dark:border-gray-800","rounded-full","focus:ring-blue-500","focus:ring-2"],["for","disabled-checked-checkbox",1,"ms-2","text-sm","font-medium","text-gray-700","dark:text-gray-200","dark:bg-secondary-200","dark:border-gray-800","text-wrap","break-all"],["role","alert",1,"flex","items-center","w-1/2","p-4","mb-4","text-sm","text-primary-100","rounded-lg","bg-white","border","border-gray-200","shadow-md","dark:bg-secondary-200","dark:text-primary-50"],[1,"text-center"]],template:function(a,t){1&a&&(o(0,"div",1),R(1,qE3,49,14)(2,XE3,23,11),n()),2&a&&(s(),S(1,t.showDetails?2:1))},dependencies:[S4,_4,Q4,J1]})}return c})();const ih1=(c,r)=>r.id;function cA3(c,r){1&c&&(o(0,"div",30),w(),o(1,"svg",31),v(2,"path",32)(3,"path",33),n(),O(),o(4,"span",34),f(5,"Loading..."),n()())}function aA3(c,r){if(1&c){const e=j();o(0,"tr",41)(1,"td",43)(2,"a",44),C("click",function(){const t=y(e).$implicit;return b(h(3).selectService(t))}),f(3),n()(),o(4,"td",43),f(5),n(),o(6,"td",45),f(7),n(),o(8,"td",45),f(9),m(10,"date"),n()()}if(2&c){const e=r.$implicit;s(3),H(e.id),s(2),V(" ",e.name," "),s(2),V(" ",e.state," "),s(2),V(" ",L2(10,4,e.startDate,"EEEE, dd/MM/yy, HH:mm")," ")}}function rA3(c,r){1&c&&(o(0,"div",42)(1,"div",46),w(),o(2,"svg",47),v(3,"path",48),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"PRODUCT_INVENTORY._no_services")," "))}function tA3(c,r){if(1&c){const e=j();o(0,"div",49)(1,"button",50),C("click",function(){return y(e),b(h(4).next())}),f(2," Load more "),w(),o(3,"svg",51),v(4,"path",52),n()()()}}function iA3(c,r){1&c&&R(0,tA3,5,0,"div",49),2&c&&S(0,h(3).page_check?0:-1)}function oA3(c,r){1&c&&(o(0,"div",53),w(),o(1,"svg",31),v(2,"path",32)(3,"path",33),n(),O(),o(4,"span",34),f(5,"Loading..."),n()())}function nA3(c,r){if(1&c&&(o(0,"div",35)(1,"div",36)(2,"table",37)(3,"thead",38)(4,"tr")(5,"th",39),f(6," Id "),n(),o(7,"th",39),f(8),m(9,"translate"),n(),o(10,"th",40),f(11),m(12,"translate"),n(),o(13,"th",40),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,aA3,11,7,"tr",41,ih1,!1,rA3,7,3,"div",42),n()()(),o(20,"div"),R(21,iA3,1,1)(22,oA3,6,0),n()()),2&c){const e=h(2);s(8),V(" ",_(9,5,"OFFERINGS._name")," "),s(3),V(" ",_(12,7,"OFFERINGS._status")," "),s(3),V(" ",_(15,9,"PRODUCT_INVENTORY._start_date")," "),s(3),a1(e.services),s(4),S(21,e.loading_more?22:21)}}function sA3(c,r){if(1&c){const e=j();o(0,"div",2)(1,"div",3)(2,"div",4)(3,"h2",5),f(4),m(5,"translate"),n()()(),o(6,"div",6)(7,"div",7)(8,"div",8),v(9,"fa-icon",9),o(10,"h2",10),f(11),m(12,"translate"),n()(),o(13,"button",11),f(14),m(15,"translate"),w(),o(16,"svg",12),v(17,"path",13),n()(),O(),o(18,"div",14)(19,"h6",15),f(20),m(21,"translate"),n(),o(22,"ul",16)(23,"li",17)(24,"input",18),C("change",function(){return y(e),b(h().onStateFilterChange("feasibilityChecked"))}),n(),o(25,"label",19),f(26," Feasibility Checked "),n()(),o(27,"li",17)(28,"input",20),C("change",function(){return y(e),b(h().onStateFilterChange("designed"))}),n(),o(29,"label",21),f(30," Designed "),n()(),o(31,"li",17)(32,"input",22),C("change",function(){return y(e),b(h().onStateFilterChange("reserved"))}),n(),o(33,"label",23),f(34," Reserved "),n()(),o(35,"li",17)(36,"input",24),C("change",function(){return y(e),b(h().onStateFilterChange("inactive"))}),n(),o(37,"label",25),f(38," Inactive "),n()(),o(39,"li",17)(40,"input",26),C("change",function(){return y(e),b(h().onStateFilterChange("active"))}),n(),o(41,"label",27),f(42," Active "),n()(),o(43,"li",17)(44,"input",28),C("change",function(){return y(e),b(h().onStateFilterChange("terminated"))}),n(),o(45,"label",29),f(46," Terminated "),n()()()()()()(),R(47,cA3,6,0,"div",30)(48,nA3,23,11)}if(2&c){const e=h();s(4),H(_(5,6,"PRODUCT_INVENTORY._search_criteria")),s(5),k("icon",e.faSwatchbook),s(2),H(_(12,8,"OFFERINGS._filter_state")),s(3),V(" ",_(15,10,"OFFERINGS._filter_state")," "),s(6),V(" ",_(21,12,"OFFERINGS._status")," "),s(27),S(47,e.loading?47:48)}}function lA3(c,r){if(1&c&&(o(0,"label",78),f(1),n()),2&c){const e=h().$implicit;s(),j1("",e.value," ",e.unitOfMeasure,"")}}function fA3(c,r){if(1&c&&(o(0,"label",78),f(1),n()),2&c){const e=h().$implicit;s(),H6("",e.valueFrom," - ",e.valueTo," ",null==e?null:e.unitOfMeasure,"")}}function dA3(c,r){if(1&c&&(o(0,"div",72)(1,"div",74)(2,"h3",75),f(3),n(),o(4,"div",76),v(5,"input",77),R(6,lA3,2,2,"label",78)(7,fA3,2,3),n()()()),2&c){const e=r.$implicit;s(3),H(e.name),s(3),S(6,e.value?6:7)}}function uA3(c,r){1&c&&(o(0,"div",73)(1,"div",79),w(),o(2,"svg",47),v(3,"path",48),n(),O(),o(4,"span",34),f(5,"Info"),n(),o(6,"p",80),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"PRODUCT_DETAILS._no_chars")," "))}function hA3(c,r){if(1&c&&(o(0,"div",68,0)(2,"h2",69),f(3),m(4,"translate"),n(),o(5,"div",70)(6,"div",71),c1(7,dA3,8,2,"div",72,ih1,!1,uA3,9,3,"div",73),n()()()),2&c){const e=h(2);s(3),H(_(4,2,"PRODUCT_INVENTORY._serv_chars")),s(4),a1(e.selectedServ.serviceCharacteristic)}}function mA3(c,r){if(1&c){const e=j();o(0,"div",2)(1,"div",54)(2,"nav",55)(3,"ol",56)(4,"li",57)(5,"button",58),C("click",function(){return y(e),b(h().back())}),w(),o(6,"svg",59),v(7,"path",60),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",61)(11,"div",17),w(),o(12,"svg",62),v(13,"path",63),n(),O(),o(14,"span",64),f(15),m(16,"translate"),n()()()()()(),o(17,"div",65)(18,"h2",66),f(19),n(),v(20,"markdown",67),m(21,"translate"),R(22,hA3,10,4,"div",68),n()()}if(2&c){const e=h();s(8),V(" ",_(9,5,"PRODUCT_DETAILS._back")," "),s(7),H(_(16,7,"PRODUCT_INVENTORY._serv_details")),s(4),H(e.selectedServ.name),s(),k("data",e.selectedServ.description?e.selectedServ.description:_(21,9,"CATALOGS._no_desc")),s(2),S(22,null!=e.selectedServ.serviceCharacteristic&&e.selectedServ.serviceCharacteristic.length>0?22:-1)}}let _A3=(()=>{class c{constructor(e,a,t,i,l,d,u){this.inventoryService=e,this.localStorage=a,this.api=t,this.cdr=i,this.router=l,this.eventMessage=d,this.paginationService=u,this.faIdCard=$6,this.faSort=j6,this.faSwatchbook=_0,this.serviceId=void 0,this.prodId=void 0,this.partyId="",this.loading=!1,this.services=[],this.nextServices=[],this.status=[],this.loading_more=!1,this.page_check=!0,this.page=0,this.INVENTORY_LIMIT=_1.INVENTORY_SERV_LIMIT,this.showDetails=!1,this.eventMessage.messages$.subscribe(p=>{"ChangedSession"===p.type&&this.initInventory()})}ngOnInit(){null!=this.serviceId&&this.api.getServiceSpec(this.serviceId).then(e=>{this.selectService(e)}),this.initInventory()}initInventory(){this.loading=!0;let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0){if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}this.getInventory(!1)}S1()}getInventory(e){var a=this;return M(function*(){0==e&&(a.loading=!0),a.paginationService.getItemsPaginated(a.page,a.INVENTORY_LIMIT,e,a.services,a.nextServices,{partyId:a.partyId,filters:a.status},a.inventoryService.getServiceInventory.bind(a.inventoryService)).then(i=>{a.page_check=i.page_check,a.services=i.items,a.nextServices=i.nextItems,a.page=i.page,a.loading=!1,a.loading_more=!1})})()}next(){var e=this;return M(function*(){yield e.getInventory(!0)})()}selectService(e){this.selectedServ=e,this.showDetails=!0}back(){null!=this.prodId?(this.eventMessage.emitOpenProductInvDetails(this.prodId),this.showDetails=!1):this.showDetails=!1}onStateFilterChange(e){const a=this.status.findIndex(t=>t===e);-1!==a?(this.status.splice(a,1),console.log("elimina filtro"),console.log(this.status)):(console.log("a\xf1ade filtro"),console.log(this.status),this.status.push(e)),this.getInventory(!1)}static#e=this.\u0275fac=function(a){return new(a||c)(B(U4),B(R1),B(p1),B(B1),B(Z1),B(e2),B(M3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["inventory-services"]],inputs:{serviceId:"serviceId",prodId:"prodId"},decls:3,vars:1,consts:[["charsContent",""],[1,"flex","flex-col","p-4","justify-end"],[1,"w-full","h-fit","mb-4","bg-secondary-50","rounded-lg","dark:bg-secondary-100","dark:border-gray-800","border-secondary-50","border","flex","flex-col","shadow-lg"],[1,"flex","w-full","flex-cols","items-center","justify-between"],[1,"mb-4","lg:mb-0","lg:w-1/4","p-8","justify-start"],[1,"text-xl","font-bold","dark:text-white"],[1,"flex","w-full","flex-col","items-center","lg:flex-row","justify-between"],[1,"p-8","w-full"],[1,"flex","flex-row","mb-1"],[1,"fa-base","text-primary-100","align-middle","mr-2",3,"icon"],[1,"text-base","dark:text-white","font-bold"],["id","dropdownDefault","data-dropdown-toggle","dropdown","type","button",1,"text-black","dark:text-white","w-full","justify-between","shadow","bg-white","dark:bg-secondary-200","hover:bg-gray-100","dark:hover:bg-secondary-300","focus:ring-4","focus:outline-none","focus:ring-primary-100","font-medium","rounded-lg","text-sm","p-2.5","text-center","inline-flex","items-center","shadow-lg"],["aria-hidden","true","fill","none","stroke","currentColor","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg",1,"w-4","h-4","ml-2"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M19 9l-7 7-7-7"],["id","dropdown",1,"z-20","hidden","w-fit","md:w-1/5","p-3","bg-white","rounded-lg","shadow","dark:bg-secondary-200"],[1,"mb-3","text-sm","font-medium","text-gray-900","dark:text-white"],["aria-labelledby","dropdownDefault",1,"space-y-2","text-sm"],[1,"flex","items-center"],["id","feasibilityChecked","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","feasibilityChecked",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","designed","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","designed",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","reserved","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","reserved",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","inactive","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","inactive",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","active","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","active",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","terminated","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","terminated",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"sr-only"],[1,"bg-secondary-50","dark:bg-secondary-100","border","dark:border-gray-800","mt-8","p-4","rounded-lg"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"hidden","md:table-cell","px-6","py-3"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"flex","justify-center","w-full","m-4"],[1,"px-6","py-4","text-wrap","break-all","w-1/2","md:w-1/4"],[1,"cursor-pointer","font-medium","text-primary-100","dark:text-primary-50","hover:underline",3,"click"],[1,"hidden","md:table-cell","px-6","py-4","md:w-1/4"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"flex","pt-4","justify-center","align-middle"],[1,"flex","cursor-pointer","items-center","justify-center","px-3","h-8","text-sm","font-medium","text-gray-500","bg-white","border","border-gray-300","rounded-lg","hover:bg-gray-100","hover:text-gray-700","dark:bg-gray-800","dark:border-gray-700","dark:text-gray-400","dark:hover:bg-gray-700","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle","mt-2"],[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-secondary-50","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"p-4"],[1,"text-2xl","font-extrabold","text-primary-100","text-center","dark:text-primary-50","pb-4"],[1,"bg-gray-50","text-wrap","break-all","dark:bg-secondary-300","dark:text-white","text-gray-900","pb-4","text-center",3,"data"],["id","chars-container"],[1,"text-xl","font-bold","dark:text-white","pb-4","px-4"],[1,"container","mx-auto","px-4"],[1,"flex","flex-wrap","-mx-4"],[1,"w-full","md:w-1/2","lg:w-1/3","px-4","mb-8"],[1,"flex","justify-center","items-center","w-full"],[1,"border","border-gray-200","rounded-lg","shadow","bg-white","dark:bg-secondary-200","dark:border-gray-800","shadow-md","p-8","h-full"],[1,"text-2xl","font-bold","mb-4","dark:text-white"],[1,"flex","items-center","pl-4"],["disabled","","checked","","id","disabled-checked-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","dark:bg-gray-600","dark:border-gray-800","rounded-full","focus:ring-blue-500","focus:ring-2"],["for","disabled-checked-checkbox",1,"ms-2","text-sm","font-medium","text-gray-700","dark:text-gray-200","dark:bg-secondary-200","dark:border-gray-800","text-wrap","break-all"],["role","alert",1,"flex","items-center","w-1/2","p-4","mb-4","text-sm","text-primary-100","rounded-lg","bg-white","border","border-gray-200","shadow-md","dark:bg-secondary-200","dark:text-primary-50"],[1,"text-center"]],template:function(a,t){1&a&&(o(0,"div",1),R(1,sA3,49,14)(2,mA3,23,11),n()),2&a&&(s(),S(1,t.showDetails?2:1))},dependencies:[S4,_4,Q4,J1]})}return c})();function pA3(c,r){1&c&&v(0,"inventory-products",18),2&c&&k("prodId",h().openProdId)}function gA3(c,r){if(1&c&&v(0,"inventory-services",19),2&c){const e=h();k("serviceId",e.openServiceId)("prodId",e.openProdId)}}function vA3(c,r){if(1&c&&v(0,"inventory-resources",20),2&c){const e=h();k("resourceId",e.openResourceId)("prodId",e.openProdId)}}let HA3=(()=>{class c{constructor(e,a){this.cdr=e,this.eventMessage=a,this.show_prods=!0,this.show_serv=!1,this.show_res=!1,this.show_orders=!1,this.openServiceId=void 0,this.openResourceId=void 0,this.openProdId=void 0,this.eventMessage.messages$.subscribe(t=>{"OpenServiceDetails"===t.type&&(this.openServiceId=t.value?.serviceId,this.openProdId=t.value?.prodId,this.getServices()),"OpenResourceDetails"===t.type&&(this.openResourceId=t.value?.resourceId,this.openProdId=t.value?.prodId,this.getResources()),"OpenProductInvDetails"===t.type&&(this.openProdId=t.value,this.goToOffers())})}ngOnInit(){S1()}ngAfterViewInit(){S1()}goToOffers(){S1(),this.selectProd(),this.show_serv=!1,this.show_res=!1,this.show_orders=!1,this.show_prods=!0}getServices(){this.selectServ(),this.show_orders=!1,this.show_prods=!1,this.show_res=!1,this.show_serv=!0,this.cdr.detectChanges(),S1()}getResources(){this.selectRes(),this.show_orders=!1,this.show_prods=!1,this.show_serv=!1,this.show_res=!0,this.cdr.detectChanges(),S1()}removeClass(e,a){e.className=(" "+e.className+" ").replace(" "+a+" "," ").replace(/^\s+|\s+$/g,"")}addClass(e,a){e.className+=" "+a}unselectMenu(e,a){null!=e&&(e.className.match(a)?this.removeClass(e,a):console.log("already unselected"))}selectMenu(e,a){null!=e&&(e.className.match(a)?console.log("already selected"):this.addClass(e,a))}selectProd(){let e=document.getElementById("prod-button"),a=document.getElementById("serv-button"),t=document.getElementById("res-button"),i=document.getElementById("order-button");this.selectMenu(e,"text-white bg-primary-100"),this.unselectMenu(a,"text-white bg-primary-100"),this.unselectMenu(t,"text-white bg-primary-100"),this.unselectMenu(i,"text-white bg-primary-100")}selectServ(){let e=document.getElementById("prod-button"),a=document.getElementById("serv-button"),t=document.getElementById("res-button"),i=document.getElementById("order-button");this.selectMenu(a,"text-white bg-primary-100"),this.unselectMenu(e,"text-white bg-primary-100"),this.unselectMenu(t,"text-white bg-primary-100"),this.unselectMenu(i,"text-white bg-primary-100")}selectRes(){let e=document.getElementById("prod-button"),a=document.getElementById("serv-button"),t=document.getElementById("res-button"),i=document.getElementById("order-button");this.selectMenu(t,"text-white bg-primary-100"),this.unselectMenu(e,"text-white bg-primary-100"),this.unselectMenu(a,"text-white bg-primary-100"),this.unselectMenu(i,"text-white bg-primary-100")}static#e=this.\u0275fac=function(a){return new(a||c)(B(B1),B(e2))};static#c=this.\u0275cmp=V1({type:c,selectors:[["app-product-inventory"]],decls:43,vars:21,consts:[[1,"container","mx-auto","pt-2","pb-8"],[1,"hidden","lg:block","mb-8","mt-4","text-4xl","font-extrabold","leading-none","tracking-tight","text-gray-900","md:text-4xl","lg:text-5xl","dark:text-white","w-full"],[1,"underline","underline-offset-3","decoration-8","decoration-primary-100","dark:decoration-primary-100"],[1,"flex","flex-cols","mr-2","ml-2","lg:hidden"],[1,"mb-8","mt-4","text-4xl","font-extrabold","leading-none","tracking-tight","text-gray-900","lg:text-4xl","lg:text-5xl","dark:text-white","w-full"],[1,"flex","align-middle","content-center","items-center"],["id","dropdown-nav","data-dropdown-toggle","dropdown-nav-content","type","button",1,"text-black","dark:text-white","h-fit","w-fit","justify-between","shadow","bg-white","dark:bg-secondary-200","hover:bg-gray-100","dark:hover:bg-secondary-300","focus:ring-4","focus:outline-none","focus:ring-primary-100","font-medium","rounded-lg","text-sm","p-2.5","text-center","inline-flex","items-center","shadow-lg"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 17 14",1,"w-4","h-4","mr-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 1h15M1 7h15M1 13h15"],["id","dropdown-nav-content",1,"z-10","hidden","bg-white","divide-y","divide-gray-100","rounded-lg","shadow","w-44","dark:bg-gray-700"],["aria-labelledby","dropdown-nav",1,"py-2","text-sm","text-gray-700","dark:text-gray-200"],[1,"cursor-pointer","block","px-4","py-2","hover:bg-gray-100","dark:hover:bg-gray-600","dark:hover:text-white",3,"click"],[1,"w-full","grid","lg:grid-cols-20/80"],[1,"hidden","lg:block"],[1,"w-48","h-fit","text-sm","font-medium","text-gray-900","bg-white","border","border-gray-200","rounded-lg","dark:bg-gray-700","dark:border-gray-600","dark:text-white"],["id","prod-button","aria-current","true",1,"block","w-full","px-4","py-2","text-white","bg-primary-100","border-b","border-gray-200","rounded-t-lg","cursor-pointer","dark:border-gray-600","hover:bg-gray-100","hover:text-blue-700","dark:border-gray-600","dark:hover:bg-gray-600","dark:hover:text-white","dark:focus:ring-gray-500","dark:focus:text-white",3,"click"],["id","serv-button",1,"block","w-full","px-4","py-2","border-b","border-gray-200","cursor-pointer","hover:bg-gray-100","hover:text-blue-700","dark:border-gray-600","dark:hover:bg-gray-600","dark:hover:text-white","dark:focus:ring-gray-500","dark:focus:text-white",3,"click"],["id","res-button",1,"block","w-full","px-4","py-2","border-b","border-gray-200","cursor-pointer","hover:bg-gray-100","hover:text-blue-700","dark:border-gray-600","dark:hover:bg-gray-600","dark:hover:text-white","dark:focus:ring-gray-500","dark:focus:text-white",3,"click"],[3,"prodId"],[3,"serviceId","prodId"],[3,"resourceId","prodId"]],template:function(a,t){1&a&&(o(0,"div",0)(1,"h1",1)(2,"span",2),f(3,"My inventory"),n()(),o(4,"div",3)(5,"h1",4)(6,"span",2),f(7,"My inventory"),n()(),o(8,"div",5)(9,"button",6),w(),o(10,"svg",7),v(11,"path",8),n(),f(12," Inventory "),n()()(),O(),o(13,"div",9)(14,"ul",10)(15,"li")(16,"a",11),C("click",function(){return t.goToOffers()}),f(17),m(18,"translate"),n()(),o(19,"li")(20,"a",11),C("click",function(){return t.getServices()}),f(21),m(22,"translate"),n()(),o(23,"li")(24,"a",11),C("click",function(){return t.getResources()}),f(25),m(26,"translate"),n()()()(),o(27,"div",12)(28,"div",13)(29,"div",14)(30,"button",15),C("click",function(){return t.goToOffers()}),f(31),m(32,"translate"),n(),o(33,"button",16),C("click",function(){return t.getServices()}),f(34),m(35,"translate"),n(),o(36,"button",17),C("click",function(){return t.getResources()}),f(37),m(38,"translate"),n()()(),o(39,"div"),R(40,pA3,1,1,"inventory-products",18)(41,gA3,1,2,"inventory-services",19)(42,vA3,1,2,"inventory-resources",20),n()()()),2&a&&(s(17),H(_(18,9,"PRODUCT_INVENTORY._products")),s(4),H(_(22,11,"PRODUCT_INVENTORY._services")),s(4),H(_(26,13,"PRODUCT_INVENTORY._resources")),s(6),V(" ",_(32,15,"PRODUCT_INVENTORY._products")," "),s(3),V(" ",_(35,17,"PRODUCT_INVENTORY._services")," "),s(3),V(" ",_(38,19,"PRODUCT_INVENTORY._resources")," "),s(3),S(40,t.show_prods?40:-1),s(),S(41,t.show_serv?41:-1),s(),S(42,t.show_res?42:-1))},dependencies:[BE3,eA3,_A3,J1]})}return c})();const kl=(c,r)=>r.id;function CA3(c,r){if(1&c&&(o(0,"p",35)(1,"b"),f(2),n(),f(3,": "),v(4,"markdown",36),n()),2&c){const e=r.$implicit;s(2),H(e.name),s(2),k("data",e.description)}}function zA3(c,r){if(1&c&&(o(0,"div",31)(1,"h5",34),f(2),m(3,"translate"),n(),c1(4,CA3,5,2,"p",35,kl),n()),2&c){const e=h();s(2),V("",_(3,1,"PRODUCT_DETAILS._service_spec"),":"),s(2),a1(e.serviceSpecs)}}function VA3(c,r){if(1&c&&(o(0,"p",35)(1,"b"),f(2),n(),f(3,": "),v(4,"markdown",36),n()),2&c){const e=r.$implicit;s(2),H(e.name),s(2),k("data",e.description)}}function MA3(c,r){if(1&c&&(o(0,"div",31)(1,"h5",34),f(2),m(3,"translate"),n(),c1(4,VA3,5,2,"p",35,kl),n()),2&c){const e=h();s(2),V("",_(3,1,"PRODUCT_DETAILS._resource_spec"),":"),s(2),a1(e.resourceSpecs)}}function LA3(c,r){if(1&c&&(o(0,"div",39)(1,"div",40)(2,"h2",41),f(3),n()(),v(4,"markdown",42),n()),2&c){const e=h().$implicit;s(3),H(e.name),s(),k("data",null==e?null:e.description)}}function yA3(c,r){1&c&&R(0,LA3,5,2,"div",39),2&c&&S(0,"custom"==r.$implicit.priceType?0:-1)}function bA3(c,r){1&c&&(o(0,"div",38)(1,"div",43)(2,"div",44)(3,"h5",45),f(4),m(5,"translate"),n()(),o(6,"p",46),f(7),m(8,"translate"),n()()()),2&c&&(s(4),H(_(5,2,"SHOPPING_CART._free")),s(3),H(_(8,4,"SHOPPING_CART._free_desc")))}function xA3(c,r){if(1&c&&(o(0,"div",37),c1(1,yA3,1,1,null,null,kl),R(3,bA3,9,6,"div",38),n()),2&c){const e=h(2);s(),a1(null==e.prod?null:e.prod.productPrice),s(2),S(3,0==(null==e.prod||null==e.prod.productPrice?null:e.prod.productPrice.length)?3:-1)}}function wA3(c,r){if(1&c&&(o(0,"div",49)(1,"div",50)(2,"h5",51),f(3),n()(),o(4,"p",52)(5,"b",53),f(6),n(),f(7),n(),o(8,"p",52),f(9),n(),o(10,"p",54),f(11),n()()),2&c){const e=h().$implicit;s(3),H(e.name),s(3),H(null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.value),s(),V(" ",null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.unit,""),s(2),V("/",e.recurringChargePeriodType,""),s(2),H(null==e?null:e.description)}}function FA3(c,r){if(1&c&&(o(0,"div",48)(1,"div",55)(2,"h5",56),f(3),n()(),o(4,"p",52)(5,"b",53),f(6),n(),f(7),n(),o(8,"p",52),f(9),n(),o(10,"p",54),f(11),n()()),2&c){const e=h().$implicit;s(3),H(e.name),s(3),H(null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.value),s(),V(" ",null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.unit,""),s(2),V("/",e.unitOfMeasure,""),s(2),H(null==e?null:e.description)}}function kA3(c,r){if(1&c&&(o(0,"div",48)(1,"div",44)(2,"h5",57),f(3),n()(),o(4,"p",52)(5,"b",53),f(6),n(),f(7),n(),o(8,"p",54),f(9),n()()),2&c){const e=h().$implicit;s(3),H(e.name),s(3),H(null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.value),s(),V(" ",null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.unit,""),s(2),H(null==e?null:e.description)}}function SA3(c,r){if(1&c&&R(0,wA3,12,5,"div",49)(1,FA3,12,5)(2,kA3,10,4),2&c){const e=r.$implicit;S(0,"recurring"==e.priceType?0:"usage"==e.priceType?1:2)}}function NA3(c,r){1&c&&(o(0,"div",48)(1,"div",44)(2,"h5",45),f(3),m(4,"translate"),n()(),o(5,"p",58),f(6),m(7,"translate"),n()()),2&c&&(s(3),H(_(4,2,"SHOPPING_CART._free")),s(3),H(_(7,4,"SHOPPING_CART._free_desc")))}function DA3(c,r){if(1&c&&(o(0,"div",47),c1(1,SA3,3,1,null,null,z1),R(3,NA3,8,6,"div",48),n()),2&c){const e=h(2);s(),a1(null==e.prod?null:e.prod.productPrice),s(2),S(3,0==(null==e.prod||null==e.prod.productPrice?null:e.prod.productPrice.length)?3:-1)}}function TA3(c,r){1&c&&R(0,xA3,4,1,"div",37)(1,DA3,4,1),2&c&&S(0,h().checkCustom?0:1)}function EA3(c,r){if(1&c&&(o(0,"label",68),f(1),n()),2&c){const e=h().$implicit;s(),j1("",e.value," ",e.unitOfMeasure,"")}}function AA3(c,r){if(1&c&&(o(0,"label",68),f(1),n()),2&c){const e=h().$implicit;s(),H6("",e.valueFrom," - ",e.valueTo," ",null==e?null:e.unitOfMeasure,"")}}function PA3(c,r){if(1&c&&(o(0,"div",62)(1,"div",64)(2,"h3",65),f(3),n(),o(4,"div",66),v(5,"input",67),R(6,EA3,2,2,"label",68)(7,AA3,2,3),n()()()),2&c){const e=r.$implicit;s(3),H(e.name),s(3),S(6,e.value?6:7)}}function RA3(c,r){1&c&&(o(0,"div",63)(1,"div",69),w(),o(2,"svg",70),v(3,"path",71),n(),O(),o(4,"span",72),f(5,"Info"),n(),o(6,"p",73),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"PRODUCT_DETAILS._no_chars")," "))}function BA3(c,r){if(1&c&&(o(0,"div",33,1)(2,"h2",59),f(3,"Product characteristics"),n(),o(4,"div",60)(5,"div",61),c1(6,PA3,8,2,"div",62,kl,!1,RA3,9,3,"div",63),n()()()),2&c){const e=h();s(6),a1(e.prod.productCharacteristic)}}let OA3=(()=>{class c{constructor(e,a,t,i,l,d,u,p,z,x){this.cdr=e,this.route=a,this.api=t,this.priceService=i,this.router=l,this.elementRef=d,this.localStorage=u,this.eventMessage=p,this.inventoryServ=z,this.location=x,this.check_logged=!1,this.images=[],this.attatchments=[],this.serviceSpecs=[],this.resourceSpecs=[],this.prod={},this.prodSpec={},this.checkCustom=!1,this.faScaleBalanced=ul,this.faArrowProgress=Wv,this.faArrowRightArrowLeft=il,this.faObjectExclude=vH,this.faSwap=TH,this.faGlobe=cH,this.faBook=iC,this.faShieldHalved=X9,this.faAtom=j9,this.faDownload=EH}ngOnInit(){S1();let e=this.localStorage.getObject("login_items");"{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0?(this.check_logged=!0,this.cdr.detectChanges()):(this.check_logged=!1,this.cdr.detectChanges()),this.id=this.route.snapshot.paramMap.get("id"),this.inventoryServ.getProduct(this.id).then(a=>{console.log(a),this.prod=a;for(let t=0;t{this.api.getProductSpecification(t.productSpecification.id).then(i=>{this.prodSpec=i,this.productOff={id:t.id,name:t.name,category:t.category,description:t.description,lastUpdate:t.lastUpdate,attachment:i.attachment,productOfferingPrice:this.prod.productPrice,productSpecification:t.productSpecification,productOfferingTerm:t.productOfferingTerm,serviceLevelAgreement:t.serviceLevelAgreement,version:t.version};let d=this.productOff?.attachment?.filter(u=>"Profile Picture"===u.name)??[];if(0==d.length?(this.images=this.productOff?.attachment?.filter(u=>"Picture"===u.attachmentType)??[],this.attatchments=this.productOff?.attachment?.filter(u=>"Picture"!=u.attachmentType)??[]):(this.images=d,this.attatchments=this.productOff?.attachment?.filter(u=>"Profile Picture"!=u.name)??[]),null!=i.serviceSpecification)for(let u=0;u{this.serviceSpecs.push(p)});if(null!=i.resourceSpecification)for(let u=0;u{this.resourceSpecs.push(p)})})})}),this.cdr.detectChanges()}back(){this.location.back()}getProductImage(){return this.images.length>0?this.images?.at(0)?.url:"https://placehold.co/600x400/svg"}static#e=this.\u0275fac=function(a){return new(a||c)(B(B1),B(j3),B(p1),B(M8),B(Z1),B(v2),B(R1),B(e2),B(U4),B(t8))};static#c=this.\u0275cmp=V1({type:c,selectors:[["app-product-inv-detail"]],decls:43,vars:18,consts:[["detailsContent",""],["charsContent",""],[1,"container","mx-auto","pt-2","pb-8"],[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-secondary-50","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"w-full","lg:h-fit","mb-4","bg-secondary-50","rounded-lg","dark:bg-secondary-100","dark:border-gray-800","border-secondary-50","border","lg:grid","lg:grid-cols-60/40"],[1,"flex","lg:hidden","overflow-hidden","justify-center","items-center","bg-white","rounded-t-lg","w-full"],["alt","product image",1,"rounded-t-lg","h-5/6","w-5/6","object-contain",3,"src"],[1,"grid","grid-rows-auto","p-4","md:p-8","h-fit"],[1,"mt-2","h-fit"],[1,"md:text-3xl","lg:text-4xl","font-semibold","tracking-tight","text-primary-100","dark:text-white"],[1,"pt-2","line-clamp-5","h-fit"],[1,"dark:text-gray-200","text-wrap","break-all",3,"data"],[1,"hidden","lg:block","overflow-hidden","rounded-r-lg"],[1,"hidden","lg:flex","relative","justify-center","items-center","w-full","h-full"],[1,"object-contain","overflow-hidden","absolute","inset-0","bg-cover","bg-center","opacity-75"],["alt","Descripci\xf3n de la imagen",1,"object-contain","h-5/6","w-5/6","max-h-[350px]","z-10","p-8",3,"src"],[1,"w-full","h-full","bg-secondary-50","rounded-b-lg","p-4","dark:bg-secondary-100","dark:border-gray-800","border-secondary-50","border-b"],["id","desc-container",1,"w-full","bg-secondary-50/95","dark:bg-secondary-100/95","rounded-lg","p-8","lg:p-12"],["id","details-container"],[1,"text-4xl","font-extrabold","text-primary-100","dark:text-primary-50","text-center","pb-4"],[1,"pb-2"],[1,"text-4xl","font-extrabold","text-primary-100","dark:text-primary-50","text-center","pb-8","pt-12"],["id","chars-container"],[1,"text-xl","font-semibold","tracking-tight","text-primary-100","dark:text-primary-50"],[1,"pl-4","dark:text-gray-200"],[1,"text-gray-800","dark:text-gray-200","text-wrap","break-all",3,"data"],[1,"grid","grid-flow-row","gap-4","lg:grid-cols-2","lg:auto-cols-auto","justify-items-center","p-2"],[1,"inline-flex","items-center","justify-center","w-full"],[1,"mx-auto","bg-white","border","border-gray-200","dark:bg-secondary-200","dark:border-gray-800","rounded-lg","shadow","w-full","p-4"],[1,"flex","justify-start","mb-2"],[1,"text-gray-900","dark:text-white","text-3xl","font-extrabold","mb-2"],[1,"dark:text-gray-200","w-full","p-4","text-wrap","break-all",3,"data"],[1,"max-w-sm","bg-white","border","border-gray-200","rounded-lg","shadow","w-full"],[1,"bg-blue-500","rounded-t-lg","w-full"],[1,"flex","justify-center","mb-2","p-6","text-2xl","font-bold","tracking-tight","text-gray-900"],[1,"flex","justify-center","mb-2","p-4","font-normal","text-gray-700"],[1,"grid","grid-flow-row","gap-4","lg:grid-cols-3","lg:auto-cols-auto","justify-items-center","p-2"],[1,"max-w-sm","bg-white","border","border-gray-200","dark:bg-secondary-200","dark:border-gray-800","rounded-lg","shadow","w-full"],[1,"max-w-sm","bg-white","dark:bg-secondary-200","dark:border-gray-800","border","border-gray-200","rounded-lg","shadow","w-full"],[1,"bg-green-500","rounded-t-lg","w-full","text-wrap","break-all"],[1,"flex","justify-center","mb-2","p-6","text-2xl","font-bold","tracking-tight","text-gray-900","w-full"],[1,"flex","justify-center","font-normal","text-gray-700","dark:text-white"],[1,"text-xl","mr-2"],[1,"flex","justify-center","mb-2","p-4","font-normal","text-gray-700","dark:text-white","text-wrap","break-all"],[1,"bg-yellow-300","rounded-t-lg","w-full"],[1,"flex","justify-center","mb-2","p-6","text-2xl","font-bold","tracking-tight","text-gray-900","text-wrap","break-all"],[1,"flex","justify-center","mb-4","p-6","text-2xl","font-bold","tracking-tight","text-gray-900","text-wrap","break-all"],[1,"flex","justify-center","mb-2","font-normal","text-gray-700","dark:text-white"],[1,"text-4xl","font-extrabold","text-primary-100","text-center","pb-8","pt-12","dark:text-primary-50"],[1,"container","mx-auto","px-4"],[1,"flex","flex-wrap","-mx-4"],[1,"w-full","md:w-1/2","lg:w-1/3","px-4","mb-8"],[1,"flex","justify-center","items-center","w-full"],[1,"border","border-gray-200","rounded-lg","shadow","bg-white","dark:bg-secondary-200","dark:border-gray-800","shadow-md","p-8","h-full"],[1,"text-2xl","font-bold","mb-4","dark:text-white"],[1,"flex","items-center","pl-4"],["disabled","","checked","","id","disabled-checked-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","dark:bg-gray-600","dark:border-gray-800","rounded-full","focus:ring-blue-500","focus:ring-2"],["for","disabled-checked-checkbox",1,"ms-2","text-sm","font-medium","text-gray-700","dark:text-gray-200","dark:bg-secondary-200","dark:border-gray-800","text-wrap","break-all"],["role","alert",1,"flex","items-center","w-1/2","p-4","mb-4","text-sm","text-primary-100","rounded-lg","bg-white","border","border-gray-200","shadow-md","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"sr-only"],[1,"text-center"]],template:function(a,t){if(1&a){const i=j();o(0,"div",2)(1,"div",3)(2,"nav",4)(3,"ol",5)(4,"li",6)(5,"button",7),C("click",function(){return y(i),b(t.back())}),w(),o(6,"svg",8),v(7,"path",9),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",10)(11,"div",11),w(),o(12,"svg",12),v(13,"path",13),n(),O(),o(14,"span",14),f(15),m(16,"translate"),n()()()()()(),o(17,"div",15)(18,"div",16),v(19,"img",17),n(),o(20,"div",18)(21,"div",19)(22,"h5",20),f(23),n()(),o(24,"div",21),v(25,"markdown",22),n()(),o(26,"div",23)(27,"div",24),v(28,"div",25)(29,"img",26),n()()(),o(30,"div",27)(31,"div",28)(32,"div",29)(33,"h2",30,0),f(35,"Description"),n(),v(36,"markdown",22),R(37,zA3,6,3,"div",31)(38,MA3,6,3,"div",31),o(39,"h2",32),f(40,"Product pricing"),n(),R(41,TA3,2,1),n(),R(42,BA3,9,1,"div",33),n()()()}2&a&&(s(8),V(" ",_(9,14,"PRODUCT_DETAILS._back")," "),s(7),H(_(16,16,"PRODUCT_DETAILS._details")),s(4),E1("src",t.getProductImage(),H2),s(4),H(null==t.productOff?null:t.productOff.name),s(2),k("data",t.prodSpec.description),s(3),Xe("background-image: url(",t.getProductImage(),");filter: blur(20px);"),s(),E1("src",t.getProductImage(),H2),s(7),k("data",t.prodSpec.description),s(),S(37,t.serviceSpecs.length>0?37:-1),s(),S(38,t.resourceSpecs.length>0?38:-1),s(3),S(41,null!=(null==t.prod?null:t.prod.productPrice)?41:-1),s(),S(42,null!=t.prod.productCharacteristic&&t.prod.productCharacteristic.length>0?42:-1))},dependencies:[_4,J1]})}return c})();const IA3=(c,r)=>r.id;function UA3(c,r){if(1&c){const e=j();o(0,"input",1,0),nn("ngModelChange",function(t){y(e);const i=h(2);return Ch(i.checked,t)||(i.checked=t),b(t)}),n(),o(2,"label",2),C("click",function(){y(e);const t=Mr(1);return b(h(2).onClick(t.checked))}),o(3,"div",3)(4,"div",4),f(5),n(),v(6,"fa-icon",5),n()()}if(2&c){const e=h(2);on("ngModel",e.checked),k("id",e.option),s(2),k("for",e.option)("ngClass",e.isParent&&e.isFirst?e.labelClassParentFirst:e.isParent&&e.isLast?e.labelClassParentLast:e.isParent?e.labelClassParent:e.labelClass),s(3),H(null==e.data?null:e.data.name),s(),k("icon",e.checked?e.faCircleCheck:e.faCircle)}}function jA3(c,r){if(1&c&&(o(0,"li"),v(1,"bae-category-item",19),n()),2&c){const e=r.$implicit;s(),k("data",e)}}function $A3(c,r){if(1&c){const e=j();o(0,"h2",6)(1,"div",7)(2,"span",8),f(3),n(),o(4,"div",9)(5,"div",10),C("click",function(){y(e);const t=h(3);return b(t.onClickCategory(t.data))}),v(6,"input",11)(7,"fa-icon",12),n(),o(8,"button",13),w(),o(9,"svg",14),v(10,"path",15),n()()()()(),O(),o(11,"div",16)(12,"div",17)(13,"ul",18),c1(14,jA3,2,1,"li",null,IA3),n()()()}if(2&c){const e=h(3);k("id","accordion-heading-"+e.simplifiedId),s(),k("ngClass",e.checkClasses(e.isFirst,e.isLast,e.data)),s(2),H(e.data.name),s(3),k("checked",e.isCheckedCategory(e.data)),s(),k("icon",e.isCheckedCategory(e.data)?e.faCircleCheck:e.faCircle),s(),A2("data-accordion-target","#accordion-body-"+e.simplifiedId)("aria-controls","accordion-body-"+e.simplifiedId),s(3),k("id","accordion-body-"+e.simplifiedId),A2("aria-labelledby","accordion-heading-"+e.simplifiedId),s(3),a1(e.data.children)}}function YA3(c,r){1&c&&R(0,$A3,16,9),2&c&&S(0,h(2).data?0:-1)}function GA3(c,r){if(1&c&&R(0,UA3,7,6)(1,YA3,1,1),2&c){const e=h();S(0,0==(null==e.data||null==e.data.children?null:e.data.children.length)?0:1)}}let qA3=(()=>{class c{constructor(e,a,t){this.localStorage=e,this.eventMessage=a,this.cdr=t,this.faCircleCheck=Q9,this.faCircle=ev,this.checked=!1,this.checkedCategories=[],this.labelClass="inline-flex items-center justify-between w-full px-5 py-3 text-gray-500 bg-white border-2 rounded-lg cursor-pointer dark:hover:text-gray-300 dark:border-gray-700 peer-checked:border-primary-50 hover:text-gray-600 dark:peer-checked:bg-primary-50 dark:peer-checked:text-secondary-100 peer-checked:text-gray-600 hover:bg-gray-50 dark:text-gray-400 dark:bg-gray-800 dark:hover:bg-primary-50",this.labelClassParentFirst="flex items-center justify-between w-full px-5 py-3 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 rounded-t-xl focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3 peer-checked:border-primary-50 dark:peer-checked:bg-primary-50 dark:peer-checked:text-secondary-100 peer-checked:text-gray-600",this.labelClassParentLast="flex items-center justify-between w-full px-5 py-3 font-medium rtl:text-right text-gray-500 border border-gray-200 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3 peer-checked:border-primary-50 dark:peer-checked:bg-primary-50 dark:peer-checked:text-secondary-100 peer-checked:text-gray-600",this.labelClassParent="flex items-center justify-between w-full px-5 py-3 font-medium rtl:text-right text-gray-500 border-t border-r border-l border-gray-200 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3 peer-checked:border peer-checked:border-primary-50 dark:peer-checked:bg-primary-50 dark:peer-checked:text-secondary-100 peer-checked:text-gray-600",this.classListFirst="flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 rounded-t-xl focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3",this.classListLast="flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-gray-200 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3",this.classList="flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-gray-200 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3",this.classListFirstChecked="flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-2 border-primary-50 rounded-t-xl focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-primary-50 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3",this.classListLastChecked="flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-2 border-primary-50 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-primary-50 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3",this.classListChecked="flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-2 border-primary-50 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-primary-50 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3",this.isParent=!1,this.isFirst=!1,this.isLast=!1,this.eventMessage.messages$.subscribe(i=>{const l=i.value;if("AddedFilter"===i.type&&l?.id===this.data?.id?this.checked=!0:"RemovedFilter"===i.type&&l?.id===this.data?.id&&(this.checked=!1),"AddedFilter"!==i.type||this.isCheckedCategory(l)){if("RemovedFilter"===i.type&&this.isCheckedCategory(l)){const d=this.checkedCategories.findIndex(u=>u===l.id);-1!==d&&(this.checkedCategories.splice(d,1),this.cdr.detectChanges()),console.log(this.isCheckedCategory(l))}}else this.checkedCategories.push(l.id),this.cdr.detectChanges()})}ngOnInit(){console.log(this.data),console.log(this.isParent),this.data?.id&&(this.simplifiedId=this.data.id.split(":").pop());const e=this.localStorage.getObject("selected_categories")||[];e.length>0&&e.findIndex(t=>t.id===this.data?.id)>-1&&(this.checked=!0),this.option=this.data?.id,this.isParent&&this.isFirst?this.labelClass="flex items-center justify-between w-full px-5 py-3 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 rounded-t-xl focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3 peer-checked:border-primary-50 dark:peer-checked:bg-primary-50 dark:peer-checked:text-secondary-100 peer-checked:text-gray-600":this.isParent&&this.isLast&&(this.labelClass="flex items-center justify-between w-full px-5 py-3 font-medium rtl:text-right text-gray-500 border border-gray-200 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3 peer-checked:border-primary-50 dark:peer-checked:bg-primary-50 dark:peer-checked:text-secondary-100 peer-checked:text-gray-600")}onClick(e){if(e){this.localStorage.removeCategoryFilter(this.data),this.eventMessage.emitRemovedFilter(this.data);const a=this.checkedCategories.findIndex(t=>t===this.data.id);-1!==a&&this.checkedCategories.splice(a,1)}else this.checkedCategories.push(this.data.id),this.localStorage.addCategoryFilter(this.data),this.eventMessage.emitAddedFilter(this.data);this.checked=!this.checked}onClickCategory(e){if(this.isCheckedCategory(e)){this.localStorage.removeCategoryFilter(e),this.eventMessage.emitRemovedFilter(e);const a=this.checkedCategories.findIndex(t=>t===e.id);-1!==a&&this.checkedCategories.splice(a,1)}else this.checkedCategories.push(e.id),this.localStorage.addCategoryFilter(e),this.eventMessage.emitAddedFilter(e)}isCheckedCategory(e){return-1!==this.checkedCategories.findIndex(t=>t===e.id)}isChildsChecked(e){let a=!1;if(null!=e)for(let t=0;tr.id;function WA3(c,r){if(1&c){const e=j();o(0,"div",3)(1,"span",4),f(2),n(),o(3,"div",5)(4,"div",6),C("click",function(){y(e);const t=h(2).$implicit;return b(h().onClick(t))}),v(5,"input",7)(6,"fa-icon",8),n(),o(7,"button",9),w(),o(8,"svg",10),v(9,"path",11),n()()()()}if(2&c){const e=h(2),a=e.$implicit,t=e.$index,i=e.$index,l=e.$count,d=h();k("ngClass",d.checkClasses(0===i,i===l-1,a)),s(2),H(null==a?null:a.name),s(3),k("checked",d.isCheckedCategory(a)),s(),k("icon",d.isCheckedCategory(a)?d.faCircleCheck:d.faCircle),s(),A2("data-accordion-target","#accordion-body-"+t)("aria-controls","accordion-body-"+t)}}function ZA3(c,r){if(1&c&&v(0,"bae-category-item",12),2&c){const e=h(2),t=e.$index,i=e.$count;k("data",e.$implicit)("isParent",!0)("isFirst",0===t)("isLast",t===i-1)}}function KA3(c,r){1&c&&R(0,WA3,10,6,"div",3)(1,ZA3,1,4),2&c&&S(0,0!=h().$implicit.children.length?0:1)}function QA3(c,r){if(1&c&&(o(0,"li"),v(1,"bae-category-item",16),n()),2&c){const e=r.$implicit;s(),k("data",e)}}function JA3(c,r){if(1&c&&(o(0,"div",13)(1,"div",14)(2,"ul",15),c1(3,QA3,2,1,"li",null,oh1),n()()()),2&c){const e=h(2),a=e.$implicit,t=e.$index;k("id","accordion-body-"+t),A2("aria-labelledby","accordion-heading-"+t),s(3),a1(a.children)}}function XA3(c,r){1&c&&R(0,JA3,5,2,"div",13),2&c&&S(0,0!=h().$implicit.children.length?0:-1)}function eP3(c,r){if(1&c&&(o(0,"h2",2),R(1,KA3,2,1),n(),R(2,XA3,1,1)),2&c){const e=r.$implicit;k("id","accordion-heading-"+r.$index),s(),S(1,e.children?1:-1),s(),S(2,e.children?2:-1)}}function cP3(c,r){}let nh1=(()=>{class c{constructor(e,a,t,i){this.localStorage=e,this.eventMessage=a,this.api=t,this.cdr=i,this.classListFirst="flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 rounded-t-xl focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3",this.classListLast="flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-gray-200 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3",this.classList="flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3",this.classListFirstChecked="flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-2 border-primary-50 rounded-t-xl focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-primary-50 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3",this.classListLastChecked="flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-2 border-primary-50 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-primary-50 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3",this.classListChecked="flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-2 border-primary-50 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-primary-50 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3",this.labelClass="text-gray-500 bg-white border-2 rounded-lg cursor-pointer dark:hover:text-gray-300 dark:border-gray-700 peer-checked:border-primary-50 hover:text-gray-600 dark:peer-checked:bg-primary-50 dark:peer-checked:text-secondary-100 peer-checked:text-gray-600 hover:bg-gray-50 dark:text-gray-400 dark:bg-gray-800 dark:hover:bg-primary-50",this.categories=[],this.checkedCategories=[],this.selected=[],this.dismissSubject=new G2,this.cs=[],this.selectedCategories=new Y1,this.catalogId=void 0,this.faCircleCheck=Q9,this.faCircle=ev,this.categories=[],this.eventMessage.messages$.subscribe(l=>{const d=l.value;if("AddedFilter"!==l.type||this.isCheckedCategory(d)){if("RemovedFilter"===l.type&&this.isCheckedCategory(d)){const u=this.checkedCategories.findIndex(p=>p===d.id);-1!==u&&(this.checkedCategories.splice(u,1),this.cdr.detectChanges()),console.log(this.isCheckedCategory(d))}}else this.checkedCategories.push(d.id),this.cdr.detectChanges()})}ngOnInit(){var e=this;return M(function*(){e.selected=e.localStorage.getObject("selected_categories")||[];for(let a=0;a{if(a.category){for(let t=0;t{e.findChildrenByParent(i)});S1()}else e.api.getLaunchedCategories().then(t=>{for(let i=0;i{for(let t=0;ti.parentId===e.id);if(e.children=t,1==e.isRoot?this.categories.push(e):this.saveChildren(this.categories,e),0!=t.length)for(let i=0;i{if(a=t,e.children=a,1==e.isRoot?this.categories.push(e):this.saveChildren(this.categories,e),0!=a.length)for(let i=0;id.id==a.id)){let d=i.findIndex(u=>u.id==a.id);i[d]=a,e[t].children=i}this.saveChildren(i,a)}}}notifyDismiss(e){this.dismissSubject.next(e),this.removeCategory(e)}addCategory(e){-1==this.selected.indexOf(e,0)&&(this.selected.push(e),this.checkedCategories.push(e.id),this.selectedCategories.emit(this.selected),this.localStorage.setObject("selected_categories",this.selected),this.eventMessage.emitAddedFilter(e))}removeCategory(e){const a=this.selected.indexOf(e,0);if(a>-1){this.selected.splice(a,1),this.selectedCategories.emit(this.selected),this.localStorage.setObject("selected_categories",this.selected),this.eventMessage.emitRemovedFilter(e);const t=this.checkedCategories.findIndex(i=>i===e.id);-1!==t&&this.checkedCategories.splice(t,1)}}isRoot(e,a){const t=this.categories.indexOf(e,0);let i=this.categories[t].children;return document.getElementById("accordion-collapse"),null!=i&&i.length>0?(console.log("Es padre"),i):[]}onClick(e){if(this.isCheckedCategory(e)){this.localStorage.removeCategoryFilter(e),this.eventMessage.emitRemovedFilter(e);const a=this.checkedCategories.findIndex(t=>t===e.id);-1!==a&&this.checkedCategories.splice(a,1)}else this.checkedCategories.push(e.id),this.localStorage.addCategoryFilter(e),this.eventMessage.emitAddedFilter(e)}isCheckedCategory(e){return-1!==this.checkedCategories.findIndex(t=>t===e.id)}isChildsChecked(e){let a=!1;if(null!=e)for(let t=0;tr.id;function rP3(c,r){if(1&c){const e=j();o(0,"div",9),C("click",function(t){return y(e),b(t.stopPropagation())}),o(1,"button",10),C("click",function(){y(e);const t=h();return b(t.showDrawer=!t.showDrawer)}),w(),o(2,"svg",11),v(3,"path",12),n(),O(),o(4,"span",13),f(5,"Close menu"),n()(),v(6,"bae-categories-filter"),n()}2&c&&k("ngClass",h().showDrawer?"backdrop-blur-sm":"")}function tP3(c,r){1&c&&v(0,"bae-categories-filter",14)}function iP3(c,r){if(1&c){const e=j();o(0,"form",7)(1,"div",15)(2,"div",16)(3,"input",17),m(4,"translate"),C("keydown.enter",function(t){return y(e),b(h().filterSearch(t))}),n(),o(5,"button",18),C("click",function(t){return y(e),b(h().filterSearch(t))}),w(),o(6,"svg",19),v(7,"path",20),n(),O(),o(8,"span",13),f(9),m(10,"translate"),n()()()()()}if(2&c){const e=h();s(3),E1("placeholder",_(4,3,"DASHBOARD._search_ph")),k("formControl",e.searchField),s(6),H(_(10,5,"DASHBOARD._search"))}}function oP3(c,r){1&c&&(o(0,"div",8),w(),o(1,"svg",21),v(2,"path",22)(3,"path",23),n(),O(),o(4,"span",13),f(5,"Loading..."),n()())}function nP3(c,r){1&c&&v(0,"bae-off-card",25),2&c&&k("productOff",r.$implicit)}function sP3(c,r){1&c&&(o(0,"div",26),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"DASHBOARD._not_found")))}function lP3(c,r){if(1&c){const e=j();o(0,"div",27)(1,"button",28),C("click",function(){return y(e),b(h(3).next())}),f(2," Load more "),w(),o(3,"svg",29),v(4,"path",30),n()()()}}function fP3(c,r){1&c&&R(0,lP3,5,0,"div",27),2&c&&S(0,h(2).page_check?0:-1)}function dP3(c,r){1&c&&(o(0,"div",31),w(),o(1,"svg",21),v(2,"path",22)(3,"path",23),n(),O(),o(4,"span",13),f(5,"Loading..."),n()())}function uP3(c,r){if(1&c&&(o(0,"div",24),c1(1,nP3,1,1,"bae-off-card",25,aP3,!1,sP3,3,3,"div",26),n(),R(4,fP3,1,1)(5,dP3,6,0)),2&c){const e=h();s(),a1(e.products),s(3),S(4,e.loading_more?5:4)}}let hP3=(()=>{class c{constructor(e,a,t,i,l,d,u,p){this.api=e,this.cdr=a,this.route=t,this.router=i,this.localStorage=l,this.eventMessage=d,this.loginService=u,this.paginationService=p,this.products=[],this.nextProducts=[],this.loading=!1,this.loading_more=!1,this.page_check=!0,this.page=0,this.PRODUCT_LIMIT=_1.PRODUCT_LIMIT,this.showDrawer=!1,this.searchEnabled=_1.SEARCH_ENABLED,this.keywords=void 0,this.searchField=new u1}ngOnInit(){var e=this;return M(function*(){e.products=[],e.nextProducts=[],e.route.snapshot.paramMap.get("keywords")&&(e.keywords=e.route.snapshot.paramMap.get("keywords"),e.searchField.setValue(e.keywords)),console.log("INIT"),yield e.getProducts(!1),yield e.eventMessage.messages$.subscribe(function(){var t=M(function*(i){("AddedFilter"===i.type||"RemovedFilter"===i.type)&&(console.log("event filter"),yield e.getProducts(!1))});return function(i){return t.apply(this,arguments)}}());let a=document.querySelector("[type=search]");a?.addEventListener("input",function(){var t=M(function*(i){console.log("Input updated"),""==e.searchField.value&&(e.keywords=void 0,console.log("EVENT CLEAR"),yield e.getProducts(!1))});return function(i){return t.apply(this,arguments)}}())})()}onClick(){1==this.showDrawer&&(this.showDrawer=!1,this.cdr.detectChanges())}getProducts(e){var a=this;return M(function*(){let t=a.localStorage.getObject("selected_categories")||[];0==e&&(a.loading=!0),a.paginationService.getItemsPaginated(a.page,a.PRODUCT_LIMIT,e,a.products,a.nextProducts,{keywords:a.keywords,filters:t},a.paginationService.getProducts.bind(a.paginationService)).then(l=>{a.page_check=l.page_check,a.products=l.items,a.nextProducts=l.nextItems,a.page=l.page,a.loading=!1,a.loading_more=!1})})()}next(){var e=this;return M(function*(){yield e.getProducts(!0)})()}filterSearch(e){var a=this;return M(function*(){e.preventDefault(),""!=a.searchField.value&&null!=a.searchField.value?(console.log("FILTER KEYWORDS"),a.keywords=a.searchField.value,yield a.getProducts(!1)):(console.log("EMPTY FILTER KEYWORDS"),a.keywords=void 0,yield a.getProducts(!1))})()}static#e=this.\u0275fac=function(a){return new(a||c)(B(p1),B(B1),B(j3),B(Z1),B(R1),B(e2),B(h0),B(M3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["bae-search"]],hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},decls:12,vars:3,consts:[[1,"flex","p-5"],["tabindex","-1","aria-labelledby","drawer-label",1,"fixed","h-screen","w-3/4","top-0","left-0","z-40","p-4","overflow-y-auto","bg-white","dark:bg-gray-800",3,"ngClass"],[1,"flex","flex-col","w-full","md:w-4/5","lg:w-3/4"],[1,"md:pl-5","content","pb-5","px-4","flex","items-center"],["type","button",1,"md:hidden","px-2","w-fit","h-fit","py-2","text-sm","font-medium","text-center","inline-flex","items-center","dark:text-white","bg-white","text-primary-100","border","border-primary-100","rounded-lg","dark:bg-primary-100","dark:border-secondary-200",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 17 14",1,"w-4","h-4","mr-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 1h15M1 7h15M1 13h15"],[1,"mx-5","w-full"],["role","status",1,"h-full","flex","justify-center","align-middle"],["tabindex","-1","aria-labelledby","drawer-label",1,"fixed","h-screen","w-3/4","top-0","left-0","z-40","p-4","overflow-y-auto","bg-white","dark:bg-gray-800",3,"click","ngClass"],["type","button","aria-controls","drawer-example",1,"text-gray-400","bg-transparent","hover:bg-gray-200","hover:text-gray-900","rounded-lg","text-sm","w-8","h-8","absolute","top-2.5","end-2.5","flex","items-center","justify-center","dark:hover:bg-gray-600","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-3","h-3"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"],[1,"sr-only"],[1,"hidden","md:block","w-1/5","md:w-2/4","lg:w-1/4"],[1,"flex"],[1,"relative","w-full"],["type","search","id","search","required","",1,"block","p-2.5","w-full","text-sm","text-gray-900","bg-gray-50","rounded-lg","border","border-gray-300","focus:ring-blue-500","focus:border-blue-500","dark:bg-gray-700","dark:border-s-gray-700","dark:border-gray-600","dark:placeholder-gray-400","dark:text-white","dark:focus:border-blue-500",3,"keydown.enter","formControl","placeholder"],["type","submit",1,"absolute","top-0","end-0","p-2.5","text-sm","font-medium","h-full","text-white","bg-blue-700","rounded-e-lg","border","border-blue-700","hover:bg-blue-800","focus:ring-4","focus:outline-none","focus:ring-blue-300","dark:bg-blue-600","dark:hover:bg-blue-700","dark:focus:ring-blue-800",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 20 20",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"md:pl-5","grid","grid-cols-1","place-items-center","lg:grid-cols-2","xl:grid-cols-3"],[1,"w-full","h-full","p-2",3,"productOff"],[1,"min-h-19","dark:text-gray-600","text-center"],[1,"flex","pb-12","justify-center","align-middle"],[1,"flex","cursor-pointer","items-center","justify-center","px-3","h-8","text-sm","font-medium","text-gray-500","bg-white","border","border-gray-300","rounded-lg","hover:bg-gray-100","hover:text-gray-700","dark:bg-gray-800","dark:border-gray-700","dark:text-gray-400","dark:hover:bg-gray-700","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle"]],template:function(a,t){1&a&&(o(0,"section",0),R(1,rP3,7,1,"div",1)(2,tP3,1,0),o(3,"div",2)(4,"section",3)(5,"button",4),C("click",function(l){return t.showDrawer=!t.showDrawer,l.stopPropagation()}),w(),o(6,"svg",5),v(7,"path",6),n(),f(8," Categories "),n(),R(9,iP3,11,7,"form",7),n(),R(10,oP3,6,0,"div",8)(11,uP3,6,2),n()()),2&a&&(s(),S(1,t.showDrawer?1:2),s(8),S(9,t.searchEnabled?9:-1),s(),S(10,t.loading?10:11))},dependencies:[k2,I4,H4,N4,O4,Yt,Da,H5,nh1,PC,J1]})}return c})();const mP3=["relationshipsContent"],_P3=["detailsContent"],pP3=["charsContent"],gP3=["attachContent"],vP3=["agreementsContent"],HP3=["textDiv"],Ve=(c,r)=>r.id,CP3=(c,r)=>r.value;function zP3(c,r){if(1&c){const e=j();o(0,"div",27),f(1),m(2,"translate"),o(3,"a",58),C("click",function(){y(e);const t=h();return b(t.goToOrgDetails(t.orgInfo.id))}),f(4),n()()}if(2&c){const e=h();s(),V(" ",_(2,2,"CARD._owner"),": "),s(3),H(e.orgInfo.tradingName)}}function VP3(c,r){1&c&&v(0,"bae-badge",30),2&c&&k("category",r.$implicit)}function MP3(c,r){1&c&&f(0," Level 1 ")}function LP3(c,r){1&c&&f(0," Level 2 ")}function yP3(c,r){1&c&&f(0," Level 3 ")}function bP3(c,r){if(1&c){const e=j();o(0,"li",40)(1,"button",59),C("click",function(){return y(e),b(h().goToChars(!0))}),f(2),m(3,"translate"),n()()}2&c&&(s(2),V(" ",_(3,1,"PRODUCT_DETAILS._chars")," "))}function xP3(c,r){if(1&c){const e=j();o(0,"li",40)(1,"button",60),C("click",function(){return y(e),b(h().goToAttach(!0))}),f(2),m(3,"translate"),n()()}2&c&&(s(2),V(" ",_(3,1,"PRODUCT_DETAILS._attach")," "))}function wP3(c,r){if(1&c){const e=j();o(0,"li",40)(1,"button",61),C("click",function(){return y(e),b(h().goToAgreements(!0))}),f(2),m(3,"translate"),n()()}2&c&&(s(2),V(" ",_(3,1,"PRODUCT_DETAILS._agreements")," "))}function FP3(c,r){if(1&c){const e=j();o(0,"li",40)(1,"button",62),C("click",function(){return y(e),b(h().goToRelationships(!0))}),f(2),m(3,"translate"),n()()}2&c&&(s(2),V(" ",_(3,1,"PRODUCT_DETAILS._relationships")," "))}function kP3(c,r){if(1&c){const e=j();o(0,"button",63),C("click",function(t){return y(e),h().toggleCartSelection(),b(t.stopPropagation())}),w(),o(1,"svg",64),v(2,"path",65),n(),f(3),m(4,"translate"),n()}if(2&c){const e=h();k("disabled",!e.PURCHASE_ENABLED)("ngClass",e.PURCHASE_ENABLED?"hover:bg-primary-50":"opacity-50"),s(3),V(" ",_(4,3,"CARD._add_cart")," ")}}function SP3(c,r){if(1&c){const e=j();o(0,"button",66),C("click",function(t){return y(e),h().toggleCartSelection(),b(t.stopPropagation())}),w(),o(1,"svg",64),v(2,"path",65),n(),f(3),m(4,"translate"),n()}if(2&c){const e=h();k("disabled",!e.PURCHASE_ENABLED)("ngClass",e.PURCHASE_ENABLED?"hover:bg-primary-50":"opacity-50"),s(3),V(" ",_(4,3,"CARD._add_cart")," ")}}function NP3(c,r){if(1&c&&(o(0,"p",68)(1,"b"),f(2),n(),f(3,": "),v(4,"markdown",69),n()),2&c){const e=r.$implicit;s(2),H(e.name),s(2),k("data",e.description)}}function DP3(c,r){if(1&c&&(o(0,"div",48)(1,"h5",67),f(2),m(3,"translate"),n(),c1(4,NP3,5,2,"p",68,Ve),n()),2&c){const e=h();s(2),V("",_(3,1,"PRODUCT_DETAILS._service_spec"),":"),s(2),a1(e.serviceSpecs)}}function TP3(c,r){if(1&c&&(o(0,"p",68)(1,"b"),f(2),n(),f(3,": "),v(4,"markdown",69),n()),2&c){const e=r.$implicit;s(2),H(e.name),s(2),k("data",e.description)}}function EP3(c,r){if(1&c&&(o(0,"div",48)(1,"h5",67),f(2),m(3,"translate"),n(),c1(4,TP3,5,2,"p",68,Ve),n()),2&c){const e=h();s(2),V("",_(3,1,"PRODUCT_DETAILS._resource_spec"),":"),s(2),a1(e.resourceSpecs)}}function AP3(c,r){1&c&&(o(0,"a",73),f(1," Not required "),n())}function PP3(c,r){1&c&&(o(0,"a",76),f(1," Self declared "),n())}function RP3(c,r){1&c&&(o(0,"a",76),f(1," In validation "),n())}function BP3(c,r){1&c&&(o(0,"a",77),f(1," Dome verified "),n())}function OP3(c,r){if(1&c&&(o(0,"a",75),f(1),n(),R(2,PP3,2,0,"a",76)(3,RP3,2,0,"a",76)(4,BP3,2,0,"a",77)),2&c){const e=h().$implicit,a=h();E1("href",e.href,H2),s(),V(" ",e.value," "),s(),S(2,e.domesupported?-1:2),s(),S(3,1!=e.domesupported||a.isVerified(e)?-1:3),s(),S(4,1==e.domesupported&&a.isVerified(e)?4:-1)}}function IP3(c,r){1&c&&v(0,"fa-icon",74),2&c&&k("icon",h(2).faAtom)}function UP3(c,r){1&c&&v(0,"fa-icon",78),2&c&&k("icon",h(2).faAtom)}function jP3(c,r){if(1&c&&(o(0,"div",52)(1,"div",70)(2,"h3",71),f(3),n(),o(4,"div",72),R(5,AP3,2,0,"a",73)(6,OP3,5,5)(7,IP3,1,1,"fa-icon",74)(8,UP3,1,1),n()()()),2&c){const e=r.$implicit,a=h();s(),k("ngClass","#"==e.href?"border-gray-400":a.isVerified(e)&&1==e.domesupported?"border-green-500":"border-green-300"),s(2),H(e.name),s(2),S(5,"#"==e.href?5:6),s(2),S(7,1==e.domesupported?7:8)}}function $P3(c,r){if(1&c&&(o(0,"div",81)(1,"div",82)(2,"h2",83),f(3),n()(),v(4,"markdown",84),n()),2&c){const e=h().$implicit;s(3),H(e.name),s(),k("data",null==e?null:e.description)}}function YP3(c,r){1&c&&R(0,$P3,5,2,"div",81),2&c&&S(0,"custom"==r.$implicit.priceType?0:-1)}function GP3(c,r){1&c&&(o(0,"div",80)(1,"div",85)(2,"div",86)(3,"h5",87),f(4),m(5,"translate"),n()(),o(6,"p",88),f(7),m(8,"translate"),n()()()),2&c&&(s(4),H(_(5,2,"SHOPPING_CART._free")),s(3),H(_(8,4,"SHOPPING_CART._free_desc")))}function qP3(c,r){if(1&c&&(o(0,"div",79),c1(1,YP3,1,1,null,null,Ve),R(3,GP3,9,6,"div",80),n()),2&c){const e=h(2);s(),a1(null==e.productOff?null:e.productOff.productOfferingPrice),s(2),S(3,0==(null==e.productOff||null==e.productOff.productOfferingPrice?null:e.productOff.productOfferingPrice.length)?3:-1)}}function WP3(c,r){if(1&c&&(o(0,"div",91)(1,"div",92)(2,"h5",93),f(3),n()(),o(4,"p",94)(5,"b",95),f(6),n(),f(7),n(),o(8,"p",94),f(9),n(),o(10,"p",96),f(11),n()()),2&c){const e=h().$implicit;s(3),H(e.name),s(3),H(null==e.price?null:e.price.value),s(),V(" ",null==e.price?null:e.price.unit,""),s(2),V("/",e.recurringChargePeriodType,""),s(2),H(e.description)}}function ZP3(c,r){if(1&c&&(o(0,"div",90)(1,"div",97)(2,"h5",98),f(3),n()(),o(4,"p",94)(5,"b",95),f(6),n(),f(7),n(),o(8,"p",94),f(9),n(),o(10,"p",96),f(11),n()()),2&c){const e=h().$implicit;s(3),H(e.name),s(3),H(null==e.price?null:e.price.value),s(),V(" ",null==e.price?null:e.price.unit,""),s(2),V("/",null==e.unitOfMeasure?null:e.unitOfMeasure.units,""),s(2),H(e.description)}}function KP3(c,r){if(1&c&&(o(0,"div",90)(1,"div",86)(2,"h5",99),f(3),n()(),o(4,"p",94)(5,"b",95),f(6),n(),f(7),n(),o(8,"p",96),f(9),n()()),2&c){const e=h().$implicit;s(3),H(e.name),s(3),H(null==e.price?null:e.price.value),s(),V(" ",null==e.price?null:e.price.unit,""),s(2),H(e.description)}}function QP3(c,r){if(1&c&&R(0,WP3,12,5,"div",91)(1,ZP3,12,5)(2,KP3,10,4),2&c){const e=r.$implicit;S(0,"recurring"==e.priceType?0:"usage"==e.priceType?1:2)}}function JP3(c,r){1&c&&(o(0,"div",90)(1,"div",86)(2,"h5",87),f(3),m(4,"translate"),n()(),o(5,"p",100),f(6),m(7,"translate"),n()()),2&c&&(s(3),H(_(4,2,"SHOPPING_CART._free")),s(3),H(_(7,4,"SHOPPING_CART._free_desc")))}function XP3(c,r){if(1&c&&(o(0,"div",89),c1(1,QP3,3,1,null,null,Ve),R(3,JP3,8,6,"div",90),n()),2&c){const e=h(2);s(),a1(null==e.productOff?null:e.productOff.productOfferingPrice),s(2),S(3,0==(null==e.productOff||null==e.productOff.productOfferingPrice?null:e.productOff.productOfferingPrice.length)?3:-1)}}function eR3(c,r){1&c&&R(0,qP3,4,1,"div",79)(1,XP3,4,1),2&c&&S(0,h().checkCustom?0:1)}function cR3(c,r){if(1&c&&(o(0,"label",106),f(1),n()),2&c){const e=h(2).$implicit;s(),j1("",e.value," ",e.unitOfMeasure,"")}}function aR3(c,r){if(1&c&&(o(0,"label",106),f(1),n()),2&c){const e=h(2).$implicit;s(),H6("",e.valueFrom," - ",e.valueTo," ",null==e?null:e.unitOfMeasure,"")}}function rR3(c,r){if(1&c&&(o(0,"div",104),v(1,"input",105),R(2,cR3,2,2,"label",106)(3,aR3,2,3),n()),2&c){const e=h().$implicit;s(2),S(2,e.value?2:3)}}function tR3(c,r){if(1&c&&(o(0,"label",108),f(1),n()),2&c){const e=h(2).$implicit;s(),j1("",e.value," ",e.unitOfMeasure,"")}}function iR3(c,r){if(1&c&&(o(0,"label",108),f(1),n()),2&c){const e=h(2).$implicit;s(),H6("",e.valueFrom," - ",e.valueTo," ",null==e?null:e.unitOfMeasure,"")}}function oR3(c,r){if(1&c&&(o(0,"div",104),v(1,"input",107),R(2,tR3,2,2,"label",108)(3,iR3,2,3),n()),2&c){const e=h().$implicit;s(2),S(2,e.value?2:3)}}function nR3(c,r){if(1&c&&R(0,rR3,4,1,"div",104)(1,oR3,4,1),2&c){const e=r.$implicit;S(0,1==(null==e?null:e.isDefault)?0:1)}}function sR3(c,r){if(1&c&&(o(0,"div",52)(1,"div",103)(2,"h3",71),f(3),n(),c1(4,nR3,2,1,null,null,CP3),n()()),2&c){const e=r.$implicit;s(3),H(e.name),s(),a1(null==e?null:e.productSpecCharacteristicValue)}}function lR3(c,r){1&c&&(o(0,"div",102)(1,"div",109),w(),o(2,"svg",110),v(3,"path",111),n(),O(),o(4,"span",112),f(5,"Info"),n(),o(6,"p",113),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"PRODUCT_DETAILS._no_chars")," "))}function fR3(c,r){if(1&c&&(o(0,"div",53,1)(2,"h2",101),f(3,"Product characteristics"),n(),o(4,"div",50)(5,"div",51),c1(6,sR3,6,1,"div",52,Ve,!1,lR3,9,3,"div",102),n()()()),2&c){const e=h();s(6),a1(e.prodChars)}}function dR3(c,r){if(1&c){const e=j();o(0,"div",52)(1,"div",115)(2,"div",116)(3,"h3",71),f(4),n()(),o(5,"div",117)(6,"fa-icon",118),C("click",function(){const t=y(e).$implicit;return b(h(2).goToLink(t.url))}),n()()()()}if(2&c){const e=r.$implicit,a=h(2);s(4),H(e.name),s(2),k("icon",a.faDownload)}}function uR3(c,r){1&c&&(o(0,"div",102)(1,"div",119),w(),o(2,"svg",110),v(3,"path",111),n(),O(),o(4,"span",112),f(5,"Info"),n(),o(6,"p",113),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"PRODUCT_DETAILS._no_attach")," "))}function hR3(c,r){if(1&c&&(o(0,"h2",49,2),f(2,"Product attachments"),n(),o(3,"div",114)(4,"div",51),c1(5,dR3,7,2,"div",52,Ve,!1,uR3,9,3,"div",102),n()()),2&c){const e=h();s(5),a1(e.attatchments)}}function mR3(c,r){if(1&c){const e=j();o(0,"button",125),C("click",function(){return y(e),b(h(4).toggleTermsReadMore())}),f(1,"Read more"),n()}}function _R3(c,r){if(1&c){const e=j();o(0,"button",125),C("click",function(){return y(e),b(h(4).toggleTermsReadMore())}),f(1,"Read less"),n()}}function pR3(c,r){1&c&&R(0,mR3,2,0,"button",124)(1,_R3,2,0),2&c&&S(0,0==h(3).showTermsMore?0:1)}function gR3(c,r){if(1&c&&(o(0,"h2",101),f(1),m(2,"translate"),n(),o(3,"div",50)(4,"div",120)(5,"div",121)(6,"div",116)(7,"h2",83),f(8),n()(),o(9,"div",117),v(10,"fa-icon",74),n()(),o(11,"div",122),v(12,"markdown",123),n(),R(13,pR3,2,1),n()()),2&c){let e,a,t;const i=h(2);s(),H(_(2,5,"PRODUCT_DETAILS._license")),s(7),H(null==i.productOff||null==i.productOff.productOfferingTerm||null==(e=i.productOff.productOfferingTerm.at(0))?null:e.name),s(2),k("icon",i.faScaleBalanced),s(2),k("data",null==i.productOff||null==i.productOff.productOfferingTerm||null==(a=i.productOff.productOfferingTerm.at(0))?null:a.description),s(),S(13,null!=i.productOff&&null!=i.productOff.productOfferingTerm&&null!=(t=i.productOff.productOfferingTerm.at(0))&&t.description?13:-1)}}function vR3(c,r){if(1&c&&(o(0,"h2",126),f(1),m(2,"translate"),n(),o(3,"p",127),f(4),n()),2&c){const e=h(2);s(),H(_(2,2,"PRODUCT_DETAILS._sla")),s(3),V("",null==e.productOff||null==e.productOff.serviceLevelAgreement?null:e.productOff.serviceLevelAgreement.name,".")}}function HR3(c,r){if(1&c&&(o(0,"div",54,3),R(2,gR3,14,7)(3,vR3,5,4),n()),2&c){let e;const a=h();s(2),S(2,null!=a.productOff&&null!=a.productOff.productOfferingTerm&&null!=(e=a.productOff.productOfferingTerm.at(0))&&e.name?2:-1),s(),S(3,null!=a.productOff&&a.productOff.serviceLevelAgreement?3:-1)}}function CR3(c,r){1&c&&v(0,"fa-icon",74),2&c&&k("icon",h(3).faArrowProgress)}function zR3(c,r){1&c&&v(0,"fa-icon",74),2&c&&k("icon",h(3).faArrowRightArrowLeft)}function VR3(c,r){1&c&&v(0,"fa-icon",74),2&c&&k("icon",h(3).faObjectExclude)}function MR3(c,r){1&c&&v(0,"fa-icon",74),2&c&&k("icon",h(3).faSwap)}function LR3(c,r){if(1&c&&(o(0,"div",52)(1,"div",103)(2,"h3",71),f(3),n(),o(4,"div",72)(5,"p",129),f(6),n(),R(7,CR3,1,1,"fa-icon",74)(8,zR3,1,1)(9,VR3,1,1)(10,MR3,1,1),n()()()),2&c){const e=r.$implicit;s(3),H(e.name),s(3),H(e.relationshipType),s(),S(7,"dependency"==e.relationshipType?7:"migration"==e.relationshipType?8:"exclusivity"==e.relationshipType?9:"substitution"==e.relationshipType?10:-1)}}function yR3(c,r){if(1&c&&(o(0,"h2",101,4),f(2,"Product relationships"),n(),o(3,"div",128)(4,"div",51),c1(5,LR3,11,3,"div",52,Ve),n()()),2&c){const e=h();s(5),a1(e.prodSpec.productSpecificationRelationship)}}function bR3(c,r){if(1&c){const e=j();o(0,"div",55)(1,"div",130),w(),o(2,"svg",131),v(3,"path",132),n(),O(),o(4,"div",133),f(5),m(6,"translate"),n(),o(7,"div",134)(8,"button",135),C("click",function(){y(e);const t=h();return b(t.deleteProduct(t.lastAddedProd))}),f(9),m(10,"translate"),n(),o(11,"button",136),C("click",function(){return y(e),b(h().toastVisibility=!1)}),o(12,"span",112),f(13),m(14,"translate"),n(),w(),o(15,"svg",137),v(16,"path",138),n()()()(),O(),o(17,"div",139),v(18,"div",140),n()()}2&c&&(s(5),V(" ",_(6,3,"CARD._added_card"),". "),s(4),H(_(10,5,"CARD._undo")),s(4),H(_(14,7,"CARD._close_toast")))}function xR3(c,r){if(1&c&&v(0,"cart-card",56),2&c){const e=h();k("productOff",e.productOff)("prodSpec",e.prodSpec)("images",e.images)("cartSelection",e.cartSelection)}}function wR3(c,r){1&c&&v(0,"error-message",57),2&c&&k("message",h().errorMessage)}let FR3=(()=>{class c{constructor(e,a,t,i,l,d,u,p,z,x,E){this.cdr=e,this.route=a,this.api=t,this.priceService=i,this.router=l,this.elementRef=d,this.localStorage=u,this.cartService=p,this.eventMessage=z,this.accService=x,this.location=E,this.category="none",this.categories=[],this.price="",this.images=[],this.attatchments=[],this.prodSpec={},this.complianceProf=[],this.complianceLevel=1,this.serviceSpecs=[],this.resourceSpecs=[],this.check_logged=!1,this.cartSelection=!1,this.check_prices=!1,this.check_char=!1,this.check_terms=!1,this.selected_terms=!1,this.selected_chars=[],this.toastVisibility=!1,this.checkCustom=!1,this.prodChars=[],this.errorMessage="",this.showError=!1,this.showTermsMore=!1,this.PURCHASE_ENABLED=_1.PURCHASE_ENABLED,this.orgInfo=void 0,this.faScaleBalanced=ul,this.faArrowProgress=Wv,this.faArrowRightArrowLeft=il,this.faObjectExclude=vH,this.faSwap=TH,this.faGlobe=cH,this.faBook=iC,this.faShieldHalved=X9,this.faAtom=j9,this.faDownload=EH,this.stepsElements=["step-chars","step-price","step-terms","step-checkout"],this.stepsText=["text-chars","text-price","text-terms","text-checkout"],this.stepsCircles=["circle-chars","circle-price","circle-terms","circle-checkout"],this.showTermsMore=!1,this.eventMessage.messages$.subscribe(P=>{if("CloseCartCard"===P.type){if(this.hideCartSelection(),null!=P.value){this.lastAddedProd=P.value,this.toastVisibility=!0,this.cdr.detectChanges();let Y=document.getElementById("progress-bar"),Z=document.getElementById("toast-add-cart");null!=Y&&null!=Z&&(Y.style.width="0%",Y.style.width="100%",setTimeout(()=>{this.toastVisibility=!1},3500))}this.cdr.detectChanges()}})}updateTabs(e){let a=document.getElementById("tabs-container"),t=0;a&&(t=a.offsetHeight);let i=document.getElementById("details-container"),l=document.getElementById("chars-container"),d=document.getElementById("attach-container"),u=document.getElementById("agreements-container"),p=document.getElementById("agreements-container"),z=t;i&&i.getBoundingClientRect().bottom<=window.innerHeight&&(this.goToDetails(!1),z=i.getBoundingClientRect().bottom);let x=z;null!=this.charsContent&&l&&l.getBoundingClientRect().top>=z&&l.getBoundingClientRect().bottom<=window.innerHeight&&(this.goToChars(!1),x=l.getBoundingClientRect().bottom);let E=x;null!=this.attachContent&&d&&d.getBoundingClientRect().top>=x&&d.getBoundingClientRect().bottom<=window.innerHeight&&(this.goToAttach(!1),E=d.getBoundingClientRect().bottom);let P=E;null!=this.agreementsContent&&u&&u.getBoundingClientRect().top>=E&&u.getBoundingClientRect().bottom<=window.innerHeight&&(this.goToAgreements(!1),P=u.offsetHeight),null!=this.relationshipsContent&&p&&p.getBoundingClientRect().top>=P&&p.getBoundingClientRect().bottom<=window.innerHeight&&this.goToRelationships(!1)}ngOnInit(){S1();let e=this.localStorage.getObject("login_items");"{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0?(this.check_logged=!0,this.cdr.detectChanges()):(this.check_logged=!1,this.cdr.detectChanges()),window.scrollTo(0,0),this.id=this.route.snapshot.paramMap.get("id"),console.log("--- Details ID:"),console.log(this.id),this.api.getProductById(this.id).then(a=>{console.log("prod"),console.log(a),this.api.getProductSpecification(a.productSpecification.id).then(t=>{this.prodSpec=t,this.getOwner();let i=t.attachment;console.log(t.attachment);let l=a.productOfferingPrice,d=[];if(void 0!==l)for(let E=0;E{d.push(P),console.log(P),"custom"==P.priceType&&(this.checkCustom=!0)});if(null!=this.prodSpec.productSpecCharacteristic){this.prodSpec.productSpecCharacteristic.forEach(E=>{this.prodChars.push(E)}),console.log("-- prod spec"),console.log(this.prodSpec.productSpecCharacteristic);for(let E=0;EZ.name===Y6[E].name))&&this.complianceProf.push(Y6[E]);const P=this.prodChars.findIndex(Y=>Y.name===Y6[E].name);-1!==P&&this.prodChars.splice(P,1)}}if(null!=this.prodSpec.serviceSpecification)for(let E=0;E{this.serviceSpecs.push(P)});if(null!=this.prodSpec.resourceSpecification)for(let E=0;E{this.resourceSpecs.push(P)});console.log("serv specs"),console.log(this.serviceSpecs),this.productOff={id:a.id,name:a.name,category:a.category,description:a.description,lastUpdate:a.lastUpdate,attachment:i,productOfferingPrice:d,productSpecification:a.productSpecification,productOfferingTerm:a.productOfferingTerm,serviceLevelAgreement:a.serviceLevelAgreement,version:a.version},this.category=this.productOff?.category?.at(0)?.name??"none",this.categories=this.productOff?.category,this.price=this.productOff?.productOfferingPrice?.at(0)?.price?.value+" "+this.productOff?.productOfferingPrice?.at(0)?.price?.unit;let u=this.productOff?.attachment?.filter(E=>"Profile Picture"===E.name)??[];console.log("profile..."),console.log(u),0==u.length?(this.images=this.productOff?.attachment?.filter(E=>"Picture"===E.attachmentType)??[],this.attatchments=this.productOff?.attachment?.filter(E=>"Picture"!=E.attachmentType)??[]):(this.images=u,this.attatchments=this.productOff?.attachment?.filter(E=>"Profile Picture"!=E.name)??[]);let p=0,z=0,x=[];if(null!=this.prodSpec.productSpecCharacteristic){let E=this.prodSpec.productSpecCharacteristic.find(P=>"Compliance:VC"===P.name);if(E){const P=E.productSpecCharacteristicValue?.at(0)?.value,Y=SC(P);if("verifiableCredential"in Y){const K=Y.verifiableCredential.credentialSubject;"compliance"in K&&(x=K.compliance.map(J=>J.standard))}}}for(let E=0;EY.name===this.complianceProf[E].name);P?(this.complianceProf[E].href=P.productSpecCharacteristicValue?.at(0)?.value,this.complianceProf[E].value="Certification included"):(this.complianceProf[E].href="#",this.complianceProf[E].value="Not provided yet"),x.indexOf(this.complianceProf[E].name)>-1&&(this.complianceProf[E].verified=!0,p+=1)}p>0&&(this.complianceLevel=2,p==z&&(this.complianceLevel=3))})})}isVerified(e){return 1==e.verified}ngAfterViewInit(){this.setImageHeight()}setImageHeight(){this.textDivHeight=this.textDiv.nativeElement.offsetHeight}toggleCartSelection(){if(console.log("Add to cart..."),null!=this.productOff?.productOfferingPrice&&(this.productOff?.productOfferingPrice.length>1?(this.check_prices=!0,this.selected_price=this.productOff?.productOfferingPrice[this.productOff?.productOfferingPrice.length-1]):this.selected_price=this.productOff?.productOfferingPrice[0],this.cdr.detectChanges()),null!=this.productOff?.productOfferingTerm&&(this.check_terms=1!=this.productOff.productOfferingTerm.length||null!=this.productOff.productOfferingTerm[0].name),null!=this.prodSpec.productSpecCharacteristic){for(let e=0;e1&&(this.check_char=!0);for(let t=0;t{console.log(l),console.log("Update successful"),t.toastVisibility=!0,t.cdr.detectChanges();let d=document.getElementById("progress-bar"),u=document.getElementById("toast-add-cart");null!=d&&null!=u&&(d.style.width="0%",d.style.width="100%",setTimeout(()=>{t.toastVisibility=!1},3500))},error:l=>{console.error("There was an error while updating!",l),l.error.error?(console.log(l),t.errorMessage="Error: "+l.error.error):t.errorMessage="There was an error while adding item to the cart!",t.showError=!0,setTimeout(()=>{t.showError=!1},3e3)}})}}else if(null!=e&&null!=e?.productOfferingPrice){let i={id:e?.id,name:e?.name,image:t.getProductImage(),href:e.href,options:{characteristics:t.selected_chars,pricing:t.selected_price},termsAccepted:!0};t.lastAddedProd=i,yield t.cartService.addItemShoppingCart(i).subscribe({next:l=>{console.log(l),console.log("Update successful"),t.toastVisibility=!0,t.cdr.detectChanges();let d=document.getElementById("progress-bar"),u=document.getElementById("toast-add-cart");null!=d&&null!=u&&(d.style.width="0%",d.style.width="100%",setTimeout(()=>{t.toastVisibility=!1},3500))},error:l=>{console.error("There was an error while updating!",l),t.errorMessage="There was an error while adding item to the cart!",t.showError=!0,setTimeout(()=>{t.showError=!1},3e3)}})}void 0!==e&&t.eventMessage.emitAddedCartItem(e),1==t.cartSelection&&(t.cartSelection=!1,t.check_char=!1,t.check_terms=!1,t.check_prices=!1,t.selected_chars=[],t.selected_price={},t.selected_terms=!1,t.cdr.detectChanges()),t.cdr.detectChanges()})()}deleteProduct(e){void 0!==e&&(this.cartService.removeItemShoppingCart(e.id).subscribe(()=>console.log("removed")),this.eventMessage.emitRemovedCartItem(e)),this.toastVisibility=!1}hideCartSelection(){this.cartSelection=!1,this.check_char=!1,this.check_terms=!1,this.check_prices=!1,this.selected_chars=[],this.selected_price={},this.selected_terms=!1,this.cdr.detectChanges()}goTo(e){this.router.navigate([e])}back(){this.location.back()}getProductImage(){return this.images.length>0?this.images?.at(0)?.url:"https://placehold.co/600x400/svg"}removeClass(e,a){e.className=(" "+e.className+" ").replace(" "+a+" "," ").replace(/^\s+|\s+$/g,"")}addClass(e,a){e.className+=" "+a}goToDetails(e){null!=this.detailsContent&&e&&this.detailsContent.nativeElement.scrollIntoView({behavior:"smooth",block:"center"});let a=document.getElementById("details-button"),t=document.getElementById("chars-button"),i=document.getElementById("attach-button"),l=document.getElementById("agreements-button"),d=document.getElementById("relationships-button");this.selectTag(a,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(t,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(i,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(l,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(d,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100")}goToChars(e){null!=this.charsContent&&e&&this.charsContent.nativeElement.scrollIntoView({behavior:"smooth",block:"center"});let a=document.getElementById("details-button"),t=document.getElementById("chars-button"),i=document.getElementById("attach-button"),l=document.getElementById("agreements-button"),d=document.getElementById("relationships-button");this.unselectTag(a,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.selectTag(t,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(i,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(l,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(d,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100")}goToAttach(e){null!=this.attachContent&&e&&this.attachContent.nativeElement.scrollIntoView({behavior:"smooth",block:"center"});let a=document.getElementById("details-button"),t=document.getElementById("chars-button"),i=document.getElementById("attach-button"),l=document.getElementById("agreements-button"),d=document.getElementById("relationships-button");this.unselectTag(a,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(t,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.selectTag(i,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(l,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(d,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100")}goToAgreements(e){null!=this.agreementsContent&&e&&this.agreementsContent.nativeElement.scrollIntoView({behavior:"smooth",block:"center"});let a=document.getElementById("details-button"),t=document.getElementById("chars-button"),i=document.getElementById("attach-button"),l=document.getElementById("agreements-button"),d=document.getElementById("relationships-button");this.unselectTag(a,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(t,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(i,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.selectTag(l,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(d,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100")}goToRelationships(e){null!=this.relationshipsContent&&e&&this.relationshipsContent.nativeElement.scrollIntoView({behavior:"smooth",block:"center"});let a=document.getElementById("details-button"),t=document.getElementById("chars-button"),i=document.getElementById("attach-button"),l=document.getElementById("agreements-button"),d=document.getElementById("relationships-button");this.unselectTag(a,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(t,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(i,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.unselectTag(l,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100"),this.selectTag(d,"text-primary-100 dark:text-primary-50 dark:border-primary-50 border-b-2 border-primary-100")}unselectTag(e,a){null!=e&&(e.className.match(a)?this.removeClass(e,a):console.log("already unselected"))}selectTag(e,a){null!=e&&(e.className.match(a)?console.log("already selected"):this.addClass(e,a))}toggleTermsReadMore(){0==this.showTermsMore?document?.getElementById("terms-markdown")?.classList.remove("line-clamp-5"):document?.getElementById("terms-markdown")?.classList.add("line-clamp-5"),this.showTermsMore=!this.showTermsMore}goToLink(e){window.open(e,"_blank")}getOwner(){let e=this.prodSpec?.relatedParty;if(e)for(let a=0;a{this.orgInfo=t,console.log(this.orgInfo)})}goToOrgDetails(e){this.router.navigate(["/org-details",e])}static#e=this.\u0275fac=function(a){return new(a||c)(B(B1),B(j3),B(p1),B(M8),B(Z1),B(v2),B(R1),B(l3),B(e2),B(O2),B(t8))};static#c=this.\u0275cmp=V1({type:c,selectors:[["app-product-details"]],viewQuery:function(a,t){if(1&a&&(b1(mP3,5),b1(_P3,5),b1(pP3,5),b1(gP3,5),b1(vP3,5),b1(HP3,5)),2&a){let i;M1(i=L1())&&(t.relationshipsContent=i.first),M1(i=L1())&&(t.detailsContent=i.first),M1(i=L1())&&(t.charsContent=i.first),M1(i=L1())&&(t.attachContent=i.first),M1(i=L1())&&(t.agreementsContent=i.first),M1(i=L1())&&(t.textDiv=i.first)}},hostBindings:function(a,t){1&a&&C("scroll",function(l){return t.updateTabs(l)},0,Xd)},decls:81,vars:42,consts:[["detailsContent",""],["charsContent",""],["attachContent",""],["agreementsContent",""],["relationshipsContent",""],[1,"container","mx-auto","pt-2","pb-8"],[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-secondary-50","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"w-full","lg:h-fit","mb-4","bg-secondary-50","rounded-lg","dark:bg-secondary-100","dark:border-gray-800","border-secondary-50","border","lg:grid","lg:grid-cols-60/40"],[1,"flex","lg:hidden","overflow-hidden","justify-center","items-center","bg-white","rounded-t-lg","w-full"],["alt","product image",1,"rounded-t-lg","h-5/6","w-5/6","object-contain",3,"src"],[1,"grid","grid-rows-auto","p-4","md:p-8","h-fit"],[1,"mt-2","h-fit"],[1,"md:text-3xl","lg:text-4xl","font-semibold","tracking-tight","text-primary-100","dark:text-white"],[1,"pt-2","line-clamp-5","h-fit"],[1,"dark:text-gray-200","text-wrap","break-all",3,"data"],[1,"flex","flex-row","justify-between","h-fit"],[1,"dark:text-gray-200"],[1,"h-fit","pt-2","dark:text-gray-300"],[1,"h-fit"],[1,"mr-2",3,"category"],[1,"text-xs","font-medium","inline-flex","items-center","px-2.5","py-0.5","rounded-md","mb-2",3,"ngClass"],[1,"mr-2",3,"icon","ngClass"],[1,"hidden","lg:block","overflow-hidden","rounded-r-lg"],[1,"hidden","lg:flex","relative","justify-center","items-center","w-full","h-full"],[1,"object-contain","overflow-hidden","absolute","inset-0","bg-cover","bg-center","opacity-75"],["alt","Descripci\xf3n de la imagen",1,"object-contain","h-5/6","w-5/6","max-h-[350px]","z-10","p-8",3,"src"],["id","tabs-container",1,"sticky","top-[72px]","z-10","w-full","h-full","bg-secondary-50","rounded-t-lg","pt-4","pr-4","pl-4","dark:bg-secondary-100","dark:border-gray-800","border-secondary-50","border-t"],[1,"inline-flex","overflow-x-auto","overflow-y-hidden","w-full","text-sm","font-medium","text-center","text-gray-600","dark:text-white","border-b","border-gray-300","dark:border-white","justify-between"],[1,"flex","flex-wrap","-mb-px"],[1,"mr-2"],["id","details-button",1,"inline-block","p-4","text-primary-100","dark:text-primary-50","dark:border-primary-50","border-b-2","border-primary-100","rounded-t-lg","hover:text-primary-50","hover:border-primary-50",3,"click"],["type","button",1,"hidden","md:flex","w-fit","m-2","text-white","bg-blue-700","hover:bg-blue-800","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center","dark:bg-blue-600","dark:hover:bg-blue-700","dark:focus:ring-blue-800",3,"disabled","ngClass"],["type","button",1,"flex","md:hidden","justify-end","w-fit","m-2","text-white","bg-blue-700","hover:bg-blue-800","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center","dark:bg-blue-600","dark:hover:bg-blue-700","dark:focus:ring-blue-800",3,"disabled","ngClass"],[1,"w-full","h-full","bg-secondary-50","rounded-b-lg","p-4","dark:bg-secondary-100","dark:border-gray-800","border-secondary-50","border-b"],["id","desc-container",1,"w-full","bg-secondary-50/95","dark:bg-secondary-100/95","rounded-lg","p-8","lg:p-12"],["id","details-container"],[1,"text-4xl","font-extrabold","text-primary-100","dark:text-primary-50","text-center","pb-4"],[1,"pb-2"],[1,"text-4xl","font-extrabold","text-primary-100","dark:text-primary-50","text-center","pb-8","pt-12"],[1,"container","mx-auto","px-4"],[1,"flex","flex-wrap","-mx-4"],[1,"w-full","md:w-1/2","lg:w-1/3","px-4","mb-8"],["id","chars-container"],["id","agreements-container"],["id","toast-add-cart","role","alert",1,"flex","grid","grid-flow-row","mr-2","items-center","w-auto","max-w-xs","p-4","text-gray-500","bg-white","rounded-lg","shadow","dark:text-gray-400","dark:bg-gray-800","fixed","top-1/2","right-0","z-50","justify-center"],[3,"productOff","prodSpec","images","cartSelection"],[1,"fixed","w-fit","top-1/2","left-1/2","z-50",3,"message"],["target","_blank",1,"cursor-pointer","font-medium","text-primary-100","dark:text-primary-50","hover:underline",3,"click"],["id","chars-button","aria-current","page",1,"inline-block","p-4","rounded-t-lg","hover:text-primary-50","hover:border-primary-50",3,"click"],["id","attach-button",1,"inline-block","p-4","rounded-t-lg","hover:text-primary-50","hover:border-primary-50",3,"click"],["id","agreements-button",1,"inline-block","p-4","rounded-t-lg","hover:text-primary-50","hover:border-primary-50",3,"click"],["id","relationships-button",1,"inline-block","p-4","rounded-t-lg","hover:text-primary-50","hover:border-primary-50",3,"click"],["type","button",1,"hidden","md:flex","w-fit","m-2","text-white","bg-blue-700","hover:bg-blue-800","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center","dark:bg-blue-600","dark:hover:bg-blue-700","dark:focus:ring-blue-800",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 18 21",1,"w-3.5","h-3.5","me-2"],["d","M15 12a1 1 0 0 0 .962-.726l2-7A1 1 0 0 0 17 3H3.77L3.175.745A1 1 0 0 0 2.208 0H1a1 1 0 0 0 0 2h.438l.6 2.255v.019l2 7 .746 2.986A3 3 0 1 0 9 17a2.966 2.966 0 0 0-.184-1h2.368c-.118.32-.18.659-.184 1a3 3 0 1 0 3-3H6.78l-.5-2H15Z"],["type","button",1,"flex","md:hidden","justify-end","w-fit","m-2","text-white","bg-blue-700","hover:bg-blue-800","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center","dark:bg-blue-600","dark:hover:bg-blue-700","dark:focus:ring-blue-800",3,"click","disabled","ngClass"],[1,"text-xl","font-semibold","tracking-tight","text-primary-100","dark:text-primary-50"],[1,"pl-4","dark:text-gray-200"],[1,"text-gray-800","dark:text-gray-200","text-wrap","break-all",3,"data"],[1,"border","border-2","rounded-lg","shadow","bg-white","dark:bg-secondary-200","shadow-md","p-8","h-full",3,"ngClass"],[1,"text-2xl","font-bold","mb-4","dark:text-white"],[1,"flex","justify-between"],[1,"text-xs","font-small","md:font-medium","inline-flex","items-center","px-2.5","py-0.5","rounded-md","mb-2","bg-gray-400","dark:bg-gray-700","dark:text-white","text-gray-900"],[1,"fa-2xl","text-primary-100","align-middle",3,"icon"],["target","_blank",1,"mb-2","font-small","md:font-medium","pl-4","text-primary-100",3,"href"],[1,"text-xs","font-small","md:font-medium","inline-flex","items-center","px-2.5","py-0.5","rounded-md","mb-2","bg-green-300","text-green-700"],[1,"text-xs","font-small","md:font-medium","inline-flex","items-center","px-2.5","py-0.5","rounded-md","mb-2","bg-green-500","text-white"],[1,"fa-2xl","text-gray-600","align-middle",3,"icon"],[1,"grid","grid-flow-row","gap-4","lg:grid-cols-2","lg:auto-cols-auto","justify-items-center","p-2"],[1,"inline-flex","items-center","justify-center","w-full"],[1,"mx-auto","bg-white","border","border-gray-200","dark:bg-secondary-200","dark:border-gray-800","rounded-lg","shadow","w-full","p-4"],[1,"flex","justify-start","mb-2"],[1,"text-gray-900","dark:text-white","text-3xl","font-extrabold","mb-2"],[1,"dark:text-gray-200","w-full","p-4","text-wrap","break-all",3,"data"],[1,"max-w-sm","bg-white","border","border-gray-200","rounded-lg","shadow","w-full"],[1,"bg-blue-500","rounded-t-lg","w-full"],[1,"flex","justify-center","mb-2","p-6","text-2xl","font-bold","tracking-tight","text-gray-900"],[1,"flex","justify-center","mb-2","p-4","font-normal","text-gray-700"],[1,"grid","grid-flow-row","gap-4","lg:grid-cols-3","lg:auto-cols-auto","justify-items-center","p-2"],[1,"max-w-sm","bg-white","border","border-gray-200","dark:bg-secondary-200","dark:border-gray-800","rounded-lg","shadow","w-full"],[1,"max-w-sm","bg-white","dark:bg-secondary-200","dark:border-gray-800","border","border-gray-200","rounded-lg","shadow","w-full"],[1,"bg-green-500","rounded-t-lg","w-full","text-wrap","break-all"],[1,"flex","justify-center","mb-2","p-6","text-2xl","font-bold","tracking-tight","text-gray-900","w-full"],[1,"flex","justify-center","font-normal","text-gray-700","dark:text-white"],[1,"text-xl","mr-2"],[1,"flex","justify-center","mb-2","p-4","font-normal","text-gray-700","dark:text-white","text-wrap","break-all"],[1,"bg-yellow-300","rounded-t-lg","w-full"],[1,"flex","justify-center","mb-2","p-6","text-2xl","font-bold","tracking-tight","text-gray-900","text-wrap","break-all"],[1,"flex","justify-center","mb-4","p-6","text-2xl","font-bold","tracking-tight","text-gray-900","text-wrap","break-all"],[1,"flex","justify-center","mb-2","font-normal","text-gray-700","dark:text-white"],[1,"text-4xl","font-extrabold","text-primary-100","text-center","pb-8","pt-12","dark:text-primary-50"],[1,"flex","justify-center","items-center","w-full"],[1,"border","border-gray-200","rounded-lg","shadow","bg-white","dark:bg-secondary-200","dark:border-gray-800","shadow-md","p-8","h-full"],[1,"flex","items-center","pl-4"],["disabled","","checked","","id","disabled-checked-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","dark:bg-gray-600","dark:border-gray-800","rounded-full","focus:ring-blue-500","focus:ring-2"],["for","disabled-checked-checkbox",1,"ms-2","text-sm","font-medium","text-gray-700","dark:text-gray-200","dark:bg-secondary-200","dark:border-gray-800","text-wrap","break-all"],["disabled","","id","disabled-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","dark:bg-gray-600","dark:border-gray-800","border-gray-300","rounded-full","focus:ring-blue-500","focus:ring-2"],["for","disabled-checked-checkbox",1,"ms-2","text-sm","font-medium","text-gray-700","dark:text-gray-200","text-wrap","break-all"],["role","alert",1,"flex","items-center","w-1/2","p-4","mb-4","text-sm","text-primary-100","rounded-lg","bg-white","border","border-gray-200","shadow-md","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"sr-only"],[1,"text-center"],["id","attach-container",1,"container","mx-auto","px-4"],[1,"border","border-gray-200","rounded-lg","shadow","bg-white","dark:bg-secondary-200","dark:border-gray-800","shadow-md","p-8","h-full","grid","grid-cols-80/20","pb-4","h-1/4"],[1,"flex","justify-start"],[1,"flex","justify-end"],[1,"fa-xl","cursor-pointer","text-primary-100","align-middle",3,"click","icon"],["role","alert",1,"flex","items-center","w-full","md:w-1/2","p-4","mb-4","text-sm","text-primary-100","rounded-lg","bg-white","border","border-gray-200","shadow-md","dark:bg-secondary-200","dark:text-primary-50"],[1,"border","border-gray-200","rounded-lg","shadow","bg-white","dark:bg-secondary-200","dark:border-gray-800","p-8"],[1,"grid","grid-cols-80/20","pb-4","h-1/4"],["id","terms-markdown",1,"line-clamp-5"],[1,"text-lg","font-normal","text-gray-700","dark:text-gray-200","mb-4","text-wrap","break-all",3,"data"],[1,"mt-4","text-blue-500","focus:outline-none"],[1,"mt-4","text-blue-500","focus:outline-none",3,"click"],[1,"text-4xl","font-extrabold","text-primary-100","text-center","pb-8","pt-12"],[1,"mb-2","pl-4","font-normal","text-gray-700"],["id","relationships-container",1,"container","mx-auto","px-4"],[1,"mb-2","font-normal","pl-4","text-gray-700","dark:text-gray-200"],[1,"flex","items-center","justify-center"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 18 20",1,"w-[18px]","h-[18px]","text-gray-800","dark:text-white","mr-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M6 15a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm0 0h8m-8 0-1-4m9 4a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-9-4h10l2-7H3m2 7L3 4m0 0-.792-3H1"],[1,"text-sm","font-normal"],[1,"flex","items-center","ms-auto","space-x-2","rtl:space-x-reverse","p-1.5"],["type","button",1,"px-3","py-2","text-xs","font-medium","text-center","text-gray-400","hover:text-gray-900","rounded-lg","focus:ring-2","focus:ring-gray-300","p-1.5","hover:bg-gray-100","dark:bg-gray-800","dark:text-white","dark:border-gray-600","dark:hover:bg-gray-700","dark:hover:border-gray-600","dark:focus:ring-gray-700",3,"click"],["type","button","data-dismiss-target","#toast-add-cart","aria-label","Close",1,"ms-auto","-mx-1.5","-my-1.5","bg-white","text-gray-400","hover:text-gray-900","rounded-lg","focus:ring-2","focus:ring-gray-300","p-1.5","hover:bg-gray-100","inline-flex","items-center","justify-center","h-8","w-8","dark:text-gray-500","dark:hover:text-white","dark:bg-gray-800","dark:hover:bg-gray-700",3,"click"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-3","h-3"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"],[1,"flex","w-full","mt-2","rounded-full","h-2.5","dark:bg-gray-700"],["id","progress-bar",1,"flex","bg-green-600","h-2.5","rounded-full","dark:bg-green-500","transition-width","delay-200","duration-3000","ease-out",2,"width","0px"]],template:function(a,t){if(1&a){const i=j();o(0,"div",5)(1,"div",6)(2,"nav",7)(3,"ol",8)(4,"li",9)(5,"button",10),C("click",function(){return y(i),b(t.back())}),w(),o(6,"svg",11),v(7,"path",12),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",13)(11,"div",14),w(),o(12,"svg",15),v(13,"path",16),n(),O(),o(14,"span",17),f(15),m(16,"translate"),n()()()()()(),o(17,"div",18)(18,"div",19),v(19,"img",20),n(),o(20,"div",21)(21,"div",22)(22,"h5",23),f(23),n()(),o(24,"div",24),v(25,"markdown",25),n(),o(26,"div",26),R(27,zP3,5,4,"div",27),o(28,"div",28),f(29),n()(),o(30,"div",29),c1(31,VP3,1,1,"bae-badge",30,Ve),o(33,"a",31),v(34,"fa-icon",32),R(35,MP3,1,0)(36,LP3,1,0)(37,yP3,1,0),n()()(),o(38,"div",33)(39,"div",34),v(40,"div",35)(41,"img",36),n()()(),o(42,"div",37)(43,"div",38)(44,"ul",39)(45,"li",40)(46,"button",41),C("click",function(){return y(i),b(t.goToDetails(!0))}),f(47),m(48,"translate"),n()(),R(49,bP3,4,3,"li",40)(50,xP3,4,3,"li",40)(51,wP3,4,3,"li",40)(52,FP3,4,3,"li",40),n(),R(53,kP3,5,5,"button",42),n(),R(54,SP3,5,5,"button",43),n(),o(55,"div",44)(56,"div",45)(57,"div",46)(58,"h2",47,0),f(60,"Description"),n(),v(61,"markdown",25),R(62,DP3,6,3,"div",48)(63,EP3,6,3,"div",48),o(64,"h2",49),f(65),m(66,"translate"),n(),o(67,"div",50)(68,"div",51),c1(69,jP3,9,4,"div",52,Ve),n()(),o(71,"h2",49),f(72,"Product pricing"),n(),R(73,eR3,2,1),n(),R(74,fR3,9,1,"div",53)(75,hR3,8,1)(76,HR3,4,2,"div",54)(77,yR3,7,0),n()(),R(78,bR3,19,9,"div",55)(79,xR3,1,4,"cart-card",56)(80,wR3,1,1,"error-message",57),n()}if(2&a){let i,l;s(8),V(" ",_(9,34,"PRODUCT_DETAILS._back")," "),s(7),H(_(16,36,"PRODUCT_DETAILS._details")),s(4),E1("src",t.getProductImage(),H2),s(4),H(null==t.productOff?null:t.productOff.name),s(2),k("data",null==t.productOff?null:t.productOff.description),s(2),S(27,null!=t.orgInfo?27:-1),s(2),V("V: ",(null==t.productOff?null:t.productOff.version)||"latest",""),s(2),a1(t.categories),s(2),k("ngClass",1==t.complianceLevel?"bg-red-200 text-red-700":2==t.complianceLevel?"bg-yellow-200 text-yellow-700":"bg-green-200 text-green-700"),s(),k("icon",t.faAtom)("ngClass",1==t.complianceLevel?"text-red-700":2==t.complianceLevel?"text-yellow-700":"text-green-700"),s(),S(35,1==t.complianceLevel?35:2==t.complianceLevel?36:37),s(5),Xe("background-image: url(",t.getProductImage(),");filter: blur(20px);"),s(),E1("src",t.getProductImage(),H2),s(6),V(" ",_(48,38,"PRODUCT_DETAILS._details")," "),s(2),S(49,null!=t.prodSpec.productSpecCharacteristic&&t.prodSpec.productSpecCharacteristic.length>0?49:-1),s(),S(50,t.attatchments.length>0?50:-1),s(),S(51,null!=t.productOff&&null!=t.productOff.productOfferingTerm&&null!=(i=t.productOff.productOfferingTerm.at(0))&&i.name||null!=t.productOff&&t.productOff.serviceLevelAgreement?51:-1),s(),S(52,null!=t.prodSpec.productSpecificationRelationship&&t.prodSpec.productSpecificationRelationship.length>0?52:-1),s(),S(53,t.check_logged?53:-1),s(),S(54,t.check_logged?54:-1),s(7),k("data",t.prodSpec.description),s(),S(62,t.serviceSpecs.length>0?62:-1),s(),S(63,t.resourceSpecs.length>0?63:-1),s(2),H(_(66,40,"CARD._comp_profile")),s(4),a1(t.complianceProf),s(4),S(73,null!=(null==t.productOff?null:t.productOff.productOfferingPrice)?73:-1),s(),S(74,null!=t.prodSpec.productSpecCharacteristic&&t.prodChars.length>0?74:-1),s(),S(75,t.attatchments.length>0?75:-1),s(),S(76,null!=t.productOff&&null!=t.productOff.productOfferingTerm&&null!=(l=t.productOff.productOfferingTerm.at(0))&&l.name||null!=t.productOff&&t.productOff.serviceLevelAgreement?76:-1),s(),S(77,null!=t.prodSpec.productSpecificationRelationship&&t.prodSpec.productSpecificationRelationship.length>0?77:-1),s(),S(78,t.toastVisibility?78:-1),s(),S(79,t.cartSelection?79:-1),s(),S(80,t.showError?80:-1)}},dependencies:[k2,S4,_4,AC,C4,ah1,J1],styles:[".container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:auto;background-size:cover;background-repeat:no-repeat;background-position:center}"]})}return c})();const kR3=(c,r)=>r.id;function SR3(c,r){if(1&c){const e=j();o(0,"div",21),C("click",function(t){return y(e),b(t.stopPropagation())}),o(1,"button",22),C("click",function(){y(e);const t=h();return b(t.showDrawer=!t.showDrawer)}),w(),o(2,"svg",23),v(3,"path",24),n(),O(),o(4,"span",25),f(5,"Close menu"),n()(),v(6,"bae-categories-filter",26),n()}if(2&c){const e=h();k("ngClass",e.showDrawer?"backdrop-blur-sm":""),s(6),k("catalogId",e.catalog.id)}}function NR3(c,r){1&c&&v(0,"bae-categories-filter",27),2&c&&k("catalogId",h().catalog.id)}function DR3(c,r){1&c&&(o(0,"div",20),w(),o(1,"svg",28),v(2,"path",29)(3,"path",30),n(),O(),o(4,"span",25),f(5,"Loading..."),n()())}function TR3(c,r){1&c&&v(0,"bae-off-card",32),2&c&&k("productOff",r.$implicit)}function ER3(c,r){1&c&&(o(0,"div",33),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"DASHBOARD._not_found")))}function AR3(c,r){if(1&c){const e=j();o(0,"div",34)(1,"button",35),C("click",function(){return y(e),b(h(3).next())}),f(2," Load more "),w(),o(3,"svg",36),v(4,"path",37),n()()()}}function PR3(c,r){1&c&&R(0,AR3,5,0,"div",34),2&c&&S(0,h(2).page_check?0:-1)}function RR3(c,r){1&c&&(o(0,"div",38),w(),o(1,"svg",28),v(2,"path",29)(3,"path",30),n(),O(),o(4,"span",25),f(5,"Loading..."),n()())}function BR3(c,r){if(1&c&&(o(0,"div",31),c1(1,TR3,1,1,"bae-off-card",32,kR3,!1,ER3,3,3,"div",33),n(),R(4,PR3,1,1)(5,RR3,6,0)),2&c){const e=h();s(),a1(e.products),s(3),S(4,e.loading_more?5:4)}}let OR3=(()=>{class c{constructor(e,a,t,i,l,d,u,p){this.route=e,this.api=a,this.priceService=t,this.cdr=i,this.eventMessage=l,this.localStorage=d,this.router=u,this.paginationService=p,this.products=[],this.nextProducts=[],this.loading=!1,this.loading_more=!1,this.page_check=!0,this.page=0,this.PRODUCT_LIMIT=_1.PRODUCT_LIMIT,this.showDrawer=!1,this.searchEnabled=_1.SEARCH_ENABLED}ngOnInit(){var e=this;return M(function*(){S1(),e.id=e.route.snapshot.paramMap.get("id"),e.api.getCatalog(e.id).then(a=>{e.catalog=a,e.cdr.detectChanges()}),yield e.getProducts(!1),e.eventMessage.messages$.subscribe(a=>{("AddedFilter"===a.type||"RemovedFilter"===a.type)&&e.getProducts(!1)}),console.log("Productos:"),console.log(e.products)})()}onClick(){1==this.showDrawer&&(this.showDrawer=!1,this.cdr.detectChanges())}goTo(e){this.router.navigate([e])}getProducts(e){var a=this;return M(function*(){let t=a.localStorage.getObject("selected_categories")||[];0==e&&(a.loading=!0),a.paginationService.getItemsPaginated(a.page,a.PRODUCT_LIMIT,e,a.products,a.nextProducts,{keywords:void 0,filters:t,catalogId:a.id},a.paginationService.getProductsByCatalog.bind(a.paginationService)).then(l=>{a.page_check=l.page_check,a.products=l.items,a.nextProducts=l.nextItems,a.page=l.page,a.loading=!1,a.loading_more=!1})})()}next(){var e=this;return M(function*(){yield e.getProducts(!0)})()}static#e=this.\u0275fac=function(a){return new(a||c)(B(j3),B(p1),B(M8),B(B1),B(e2),B(R1),B(Z1),B(M3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["app-search-catalog"]],hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},decls:26,vars:3,consts:[[1,"pr-8","pl-8","pb-8","pt-2"],[1,"pb-2"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-gray-800","dark:border-gray-700"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-700","hover:text-blue-600","dark:text-gray-400","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","md:ms-2","dark:text-gray-400"],[1,"flex"],["tabindex","-1","aria-labelledby","drawer-label",1,"fixed","h-screen","w-3/4","top-0","left-0","z-40","p-4","overflow-y-auto","bg-white","dark:bg-gray-800",3,"ngClass"],[1,"flex","flex-col","w-full","md:w-4/5","lg:w-3/4"],[1,"md:pl-5","content","pb-5","px-4","flex","items-center"],["type","button",1,"md:hidden","px-2","w-fit","h-fit","py-2","text-sm","font-medium","text-center","inline-flex","items-center","dark:text-white","bg-white","text-primary-100","border","border-primary-100","rounded-lg","dark:bg-primary-100","dark:border-secondary-200",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 17 14",1,"w-4","h-4","mr-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 1h15M1 7h15M1 13h15"],["role","status",1,"h-full","flex","justify-center","align-middle"],["tabindex","-1","aria-labelledby","drawer-label",1,"fixed","h-screen","w-3/4","top-0","left-0","z-40","p-4","overflow-y-auto","bg-white","dark:bg-gray-800",3,"click","ngClass"],["type","button","aria-controls","drawer-example",1,"text-gray-400","bg-transparent","hover:bg-gray-200","hover:text-gray-900","rounded-lg","text-sm","w-8","h-8","absolute","top-2.5","end-2.5","flex","items-center","justify-center","dark:hover:bg-gray-600","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-3","h-3"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"],[1,"sr-only"],[3,"catalogId"],[1,"hidden","md:block","w-1/2","md:2/5","lg:w-1/3","xl:1/4",3,"catalogId"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"md:pl-5","grid","grid-cols-1","place-items-center","lg:grid-cols-2","xl:grid-cols-3"],[1,"w-full","h-full","p-2",3,"productOff"],[1,"min-h-19","dark:text-gray-600","text-center"],[1,"flex","pb-12","justify-center","align-middle"],[1,"flex","cursor-pointer","items-center","justify-center","px-3","h-8","text-sm","font-medium","text-gray-500","bg-white","border","border-gray-300","rounded-lg","hover:bg-gray-100","hover:text-gray-700","dark:bg-gray-800","dark:border-gray-700","dark:text-gray-400","dark:hover:bg-gray-700","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle"]],template:function(a,t){1&a&&(o(0,"div",0)(1,"div",1)(2,"nav",2)(3,"ol",3)(4,"li",4)(5,"button",5),C("click",function(){return t.goTo("/catalogues")}),w(),o(6,"svg",6),v(7,"path",7),n(),f(8," All catalogues "),n()(),O(),o(9,"li",8)(10,"div",9),w(),o(11,"svg",10),v(12,"path",11),n(),O(),o(13,"span",12),f(14),n()()()()()(),o(15,"section",13),R(16,SR3,7,2,"div",14)(17,NR3,1,1),o(18,"div",15)(19,"section",16)(20,"button",17),C("click",function(l){return t.showDrawer=!t.showDrawer,l.stopPropagation()}),w(),o(21,"svg",18),v(22,"path",19),n(),f(23," Categories "),n()(),R(24,DR3,6,0,"div",20)(25,BR3,6,2),n()()()),2&a&&(s(14),H(t.catalog.name),s(2),S(16,t.showDrawer?16:17),s(8),S(24,t.loading?24:25))},dependencies:[k2,nh1,PC,J1]})}return c})();const sh1=(c,r)=>r.id;function IR3(c,r){1&c&&(o(0,"div",4),w(),o(1,"svg",5),v(2,"path",6)(3,"path",7),n(),O(),o(4,"span",8),f(5,"Loading..."),n()())}function UR3(c,r){if(1&c&&(o(0,"span",17),f(1),n()),2&c){const e=r.$implicit;s(),H(e.name)}}function jR3(c,r){1&c&&(o(0,"span",17),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"CATALOGS._no_cat")))}function $R3(c,r){if(1&c){const e=j();o(0,"div",11),C("click",function(){const t=y(e).$implicit;return b(h(2).goToCatalogSearch(t.id))}),o(1,"div",12)(2,"h5",13),f(3),n(),v(4,"markdown",14),m(5,"translate"),v(6,"hr",15),o(7,"div",16),c1(8,UR3,2,1,"span",17,sh1,!1,jR3,3,3,"span",17),n()()()}if(2&c){const e=r.$implicit;s(3),H(e.name),s(),k("data",e.description?e.description:_(5,3,"CATALOGS._no_desc")),s(4),a1(e.category)}}function YR3(c,r){if(1&c&&(o(0,"div",9),c1(1,$R3,11,5,"div",10,sh1),n()),2&c){const e=h();s(),a1(e.catalogs)}}function GR3(c,r){if(1&c){const e=j();o(0,"div",18)(1,"button",19),C("click",function(){return y(e),b(h(2).next())}),f(2," Load more "),w(),o(3,"svg",20),v(4,"path",21),n()()()}}function qR3(c,r){1&c&&R(0,GR3,5,0,"div",18),2&c&&S(0,h().page_check?0:-1)}function WR3(c,r){1&c&&(o(0,"div",22),w(),o(1,"svg",5),v(2,"path",6)(3,"path",7),n(),O(),o(4,"span",8),f(5,"Loading..."),n()())}let ZR3=(()=>{class c{constructor(e,a,t,i){this.router=e,this.api=a,this.cdr=t,this.paginationService=i,this.catalogs=[],this.nextCatalogs=[],this.page=0,this.CATALOG_LIMIT=_1.CATALOG_LIMIT,this.loading=!1,this.loading_more=!1,this.page_check=!0,this.filter=void 0,this.searchField=new u1}ngOnInit(){this.loading=!0,this.getCatalogs(!1);let e=document.querySelector("[type=search]");e?.addEventListener("input",a=>{console.log("Input updated"),""==this.searchField.value&&(this.filter=void 0,this.getCatalogs(!1))})}getCatalogs(e){var a=this;return M(function*(){0==e&&(a.loading=!0),a.paginationService.getItemsPaginated(a.page,a.CATALOG_LIMIT,e,a.catalogs,a.nextCatalogs,{keywords:a.filter},a.api.getCatalogs.bind(a.api)).then(i=>{a.page_check=i.page_check,a.catalogs=i.items,a.nextCatalogs=i.nextItems,a.page=i.page,a.loading=!1,a.loading_more=!1})})()}filterCatalogs(){this.filter=this.searchField.value,this.page=0,this.getCatalogs(!1)}goToCatalogSearch(e){this.router.navigate(["/search/catalogue",e])}next(){var e=this;return M(function*(){yield e.getCatalogs(!0)})()}static#e=this.\u0275fac=function(a){return new(a||c)(B(Z1),B(p1),B(B1),B(M3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["app-catalogs"]],decls:11,vars:5,consts:[[1,"container","mx-auto","pt-2","mb-8"],[1,"mb-2","text-center","mt-4","text-4xl","font-extrabold","leading-none","tracking-tight","text-gray-900","md:text-4xl","lg:text-5xl","dark:text-white","w-full"],[1,"underline","underline-offset-3","decoration-8","decoration-primary-100","dark:decoration-primary-100"],[1,"mb-8","text-lg","font-normal","text-gray-500","lg:text-xl","sm:px-16","xl:px-48","dark:text-secondary-50","text-center"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"sr-only"],[1,"w-full","grid","grid-cols-2","gap-4","sm:grid-cols-3","lg:grid-cols-4"],[1,"block","cursor-pointer","rounded-lg","bg-cover",2,"background-image","url(assets/logos/dome-logo-element-colour.png)"],[1,"block","cursor-pointer","rounded-lg","bg-cover",2,"background-image","url(assets/logos/dome-logo-element-colour.png)",3,"click"],[1,"block","w-full","h-full","p-6","bg-opacity-100","bg-secondary-50","rounded-lg","dark:bg-secondary-100","bg-secondary-50/90","dark:bg-secondary-100/90","bg-cover"],[1,"text-2xl","font-bold","tracking-tight","text-primary-100","dark:text-white","text-wrap","break-all"],[1,"bg-gray-50","text-wrap","break-all","dark:bg-secondary-300","dark:text-white","text-gray-900",3,"data"],[1,"h-px","my-1","bg-primary-100","border-0","dark:bg-primary-100"],[1,""],[1,"inline-block","bg-blue-300","text-primary-100","text-xs","font-bold","me-2","px-2.5","py-0.5","rounded-full","w-fit","text-wrap","break-all"],[1,"flex","pt-8","justify-center","align-middle"],[1,"flex","cursor-pointer","items-center","justify-center","px-3","h-8","text-sm","font-medium","text-gray-500","bg-white","border","border-gray-300","rounded-lg","hover:bg-gray-100","hover:text-gray-700","dark:bg-gray-800","dark:border-gray-700","dark:text-gray-400","dark:hover:bg-gray-700","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],["role","status",1,"w-full","h-full","pt-8","flex","justify-center","align-middle"]],template:function(a,t){1&a&&(o(0,"div",0)(1,"h1",1)(2,"span",2),f(3),m(4,"translate"),n()(),o(5,"p",3),f(6,"Choose between our Catalogues"),n(),R(7,IR3,6,0,"div",4)(8,YR3,3,0)(9,qR3,1,1)(10,WR3,6,0),n()),2&a&&(s(3),H(_(4,3,"CATALOGS._all_catalogs")),s(4),S(7,t.loading?7:8),s(2),S(9,t.loading_more?10:9))},dependencies:[_4,J1]})}return c})();const lh1=(c,r)=>r.id,KR3=(c,r)=>r.value;function QR3(c,r){1&c&&(o(0,"div",21),w(),o(1,"svg",26),v(2,"path",27)(3,"path",28),n(),O(),o(4,"span",29),f(5,"Loading..."),n()())}function JR3(c,r){if(1&c){const e=j();o(0,"tr",35),C("click",function(){const t=y(e).$index;return b(h(3).selectBill(t))}),o(1,"td",36),f(2),n(),o(3,"td",36),f(4),n(),o(5,"td",36),f(6),n()()}if(2&c){const e=r.$implicit;k("ngClass",1==e.selected?"bg-primary-30":"bg-white"),s(2),V(" ",e.email," "),s(2),r5(" ",e.postalAddress.street,", ",e.postalAddress.postCode," (",e.postalAddress.city,") ",e.postalAddress.stateOrProvince," "),s(2),V(" ",e.telephoneNumber," ")}}function XR3(c,r){if(1&c&&(o(0,"div",30)(1,"table",31)(2,"thead",32)(3,"tr")(4,"th",33),f(5),m(6,"translate"),n(),o(7,"th",33),f(8),m(9,"translate"),n(),o(10,"th",33),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,JR3,7,7,"tr",34,lh1),n()()()),2&c){const e=h(2);s(5),V(" ",_(6,3,"SHOPPING_CART._email")," "),s(3),V(" ",_(9,5,"SHOPPING_CART._postalAddress")," "),s(3),V(" ",_(12,7,"SHOPPING_CART._phone")," "),s(3),a1(e.billing_accounts)}}function eB3(c,r){1&c&&(o(0,"div",37)(1,"p",38),f(2),m(3,"translate"),o(4,"a",39),f(5),m(6,"translate"),w(),o(7,"svg",40),v(8,"path",41),n()()()()),2&c&&(s(2),V("",_(3,2,"SHOPPING_CART._billing_check")," "),s(3),V(" ",_(6,4,"SHOPPING_CART._click_here")," "))}function cB3(c,r){1&c&&R(0,XR3,16,9,"div",30)(1,eB3,9,6),2&c&&S(0,h().billing_accounts.length>0?0:1)}function aB3(c,r){if(1&c&&(o(0,"div",52)(1,"div",53)(2,"h5",54),f(3),n()(),o(4,"p",55)(5,"b",56),f(6),n(),f(7),n(),o(8,"p",55),f(9),n(),o(10,"p",57),f(11),n()()),2&c){const e=h().$implicit;s(3),H(null==e.options.pricing?null:e.options.pricing.name),s(3),H(null==e.options.pricing||null==e.options.pricing.price?null:e.options.pricing.price.value),s(),V(" ",null==e.options.pricing||null==e.options.pricing.price?null:e.options.pricing.price.unit,""),s(2),V("/",null==e.options.pricing?null:e.options.pricing.recurringChargePeriodType,""),s(2),H(null==e.options.pricing?null:e.options.pricing.description)}}function rB3(c,r){if(1&c&&(o(0,"div",52)(1,"div",58)(2,"h5",59),f(3),n()(),o(4,"p",55)(5,"b",56),f(6),n(),f(7),n(),o(8,"p",55),f(9),n(),o(10,"p",57),f(11),n()()),2&c){const e=h().$implicit;s(3),H(null==e.options.pricing?null:e.options.pricing.name),s(3),H(null==e.options.pricing||null==e.options.pricing.price?null:e.options.pricing.price.value),s(),V(" ",null==e.options.pricing||null==e.options.pricing.price?null:e.options.pricing.price.unit,""),s(2),V("/",null==e.options.pricing||null==e.options.pricing.unitOfMeasure?null:e.options.pricing.unitOfMeasure.units,""),s(2),H(null==e.options.pricing?null:e.options.pricing.description)}}function tB3(c,r){if(1&c&&(o(0,"div",52)(1,"div",60)(2,"h5",59),f(3),n()(),o(4,"p",55)(5,"b",56),f(6),n(),f(7),n(),o(8,"p",57),f(9),n()()),2&c){const e=h().$implicit;s(3),H(null==e.options.pricing?null:e.options.pricing.name),s(3),H(null==e.options.pricing||null==e.options.pricing.price?null:e.options.pricing.price.value),s(),V(" ",null==e.options.pricing||null==e.options.pricing.price?null:e.options.pricing.price.unit,""),s(2),H(null==e.options.pricing?null:e.options.pricing.description)}}function iB3(c,r){if(1&c&&(o(0,"div",63)(1,"h5",20),f(2),n(),o(3,"div",64),v(4,"input",65),o(5,"label",66),f(6),n()()()),2&c){const e=r.$implicit;s(2),V("",e.characteristic.name,":"),s(4),H(null==e.value?null:e.value.value)}}function oB3(c,r){if(1&c&&(o(0,"h5",50),f(1,"Selected characteristics:"),n(),o(2,"div",61)(3,"div",62),c1(4,iB3,7,2,"div",63,KR3),n()()),2&c){const e=h().$implicit;s(4),a1(e.options.characteristics)}}function nB3(c,r){if(1&c){const e=j();o(0,"button",42),C("click",function(){const t=y(e).$implicit;return b(h().clickDropdown(t.id))}),f(1),w(),o(2,"svg",43),v(3,"path",44),n()(),O(),o(4,"div",45)(5,"div",46)(6,"h5",47),f(7),n(),o(8,"div",48),v(9,"img",49),n()(),v(10,"hr",15),o(11,"h5",50),f(12,"Selected price plan:"),n(),o(13,"div",51),R(14,aB3,12,5,"div",52)(15,rB3,12,5)(16,tB3,10,4),n(),R(17,oB3,6,0),n()}if(2&c){const e=r.$implicit;s(),V(" ",e.name," "),s(3),k("id",e.id),s(3),H(e.name),s(2),E1("src",e.image,H2),s(5),S(14,"recurring"==(null==e.options.pricing?null:e.options.pricing.priceType)?14:"usage"==(null==e.options.pricing?null:e.options.pricing.priceType)?15:16),s(3),S(17,e.options.characteristics&&e.options.characteristics.length>0?17:-1)}}class Sl{static#e=this.BASE_URL=_1.BASE_URL;constructor(r,e,a,t,i,l,d,u){this.eventMessage=r,this.api=e,this.account=a,this.cartService=t,this.cdr=i,this.localStorage=l,this.orderService=d,this.router=u,this.faCartShopping=ya,this.TAX_RATE=_1.TAX_RATE,this.items=[],this.showBackDrop=!0,this.billing_accounts=[],this.loading=!1,this.relatedParty=""}ngOnInit(){let r=this.localStorage.getObject("login_items");if(r.logged_as==r.id)this.relatedParty=r.partyId;else{let e=r.organizations.find(a=>a.id==r.logged_as);console.log("loggedorg"),console.log(e),this.relatedParty=e.partyId}this.loading=!0,this.showBackDrop=!0,this.cartService.getShoppingCart().then(e=>{console.log("---CARRITO API---"),console.log(e),this.items=e,this.cdr.detectChanges(),this.getTotalPrice(),console.log("------------------"),S1()}),this.account.getBillingAccount().then(e=>{for(let a=0;aconsole.log("deleted")),this.eventMessage.emitRemovedCartItem(r)}removeClass(r,e){r.className=(" "+r.className+" ").replace(" "+e+" "," ").replace(/^\s+|\s+$/g,"")}addClass(r,e){r.className+=" "+e}clickDropdown(r){let e=document.getElementById(r);null!=e&&(e.className.match("hidden")?this.removeClass(e,"hidden"):this.addClass(e,"hidden"))}selectBill(r){for(let e=0;e{console.log(t),console.log("PROD ORDER DONE"),r.cartService.emptyShoppingCart().subscribe({next:i=>{console.log(i),console.log("EMPTY")},error:i=>{console.error("There was an error while updating!",i)}}),r.goToInventory()},error:t=>{console.error("There was an error while updating!",t)}})})()}goToInventory(){this.router.navigate(["/product-inventory"])}static#c=this.\u0275fac=function(e){return new(e||Sl)(B(e2),B(p1),B(O2),B(l3),B(B1),B(R1),B(Y3),B(Z1))};static#a=this.\u0275cmp=V1({type:Sl,selectors:[["app-shopping-cart"]],decls:46,vars:22,consts:[[1,"container","mx-auto","pt-2"],[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-gray-800","dark:border-gray-700"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-700","hover:text-blue-600","dark:text-gray-400","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","md:ms-2","dark:text-gray-400"],[1,"w-full","h-fit","bg-secondary-50","rounded-lg","dark:border-gray-700","border-secondary-50","border"],[1,"md:text-3xl","lg:text-4xl","m-4","font-semibold","tracking-tight","text-primary-100","dark:text-primary-100"],[1,"h-px","mr-4","ml-4","bg-primary-100","border-0"],[1,"mt-4","m-4"],[1,"mb-5","w-full","justify-start"],["for","large-input",1,"w-full","md:text-lg","lg:text-xl","font-semibold","tracking-tight","text-primary-100","dark:text-primary-100","m-2"],["type","text","id","large-input",1,"w-full","p-4","text-gray-900","border","border-primary-100","rounded-lg","bg-gray-50","text-base","focus:border-primary-50","shadow-lg"],[1,"md:text-lg","lg:text-xl","font-semibold","tracking-tight","text-primary-100","dark:text-primary-100","m-2"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle"],[1,"flex","w-full","justify-end"],["type","button","href","https://dome-marketplace.eu/","target","_blank",1,"m-2","flex","w-fit","justify-center","items-center","py-3","px-5","text-base","font-medium","text-center","text-white","rounded-lg","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:ring-primary-300","dark:focus:ring-primary-900",3,"click"],["fill","currentColor","viewBox","0 0 20 20","xmlns","http://www.w3.org/2000/svg",1,"ml-2","-mr-1","w-5","h-5"],["fill-rule","evenodd","d","M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z","clip-rule","evenodd"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"sr-only"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500"],[1,"text-xs","text-gray-700","uppercase","bg-gray-50"],["scope","col",1,"px-6","py-3"],[1,"border-b","hover:bg-gray-200",3,"ngClass"],[1,"border-b","hover:bg-gray-200",3,"click","ngClass"],[1,"px-6","py-4"],[1,"z-10","mt-2","text-red-900","border","border-primary-100","rounded-lg","bg-gray-50","text-base","shadow-lg"],[1,"text-red-800","m-2"],["href","#",1,"ml-2","inline-flex","items-center","font-medium","text-primary-50","hover:underline"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"w-4","h-4","ms-2","rtl:rotate-180"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],["id","'dropButton'+idx","type","button",1,"w-full","mt-2","text-white","bg-primary-100","hover:bg-primary-100","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 10 6",1,"w-2.5","h-2.5","ms-3"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 4 4 4-4"],[1,"z-10","hidden","mt-2","text-gray-900","border","border-primary-100","rounded-lg","bg-gray-50","text-base","shadow-lg",3,"id"],[1,"grid","grid-cols-80/20","items-center","align-items-center","m-2"],[1,"md:text-xl","lg:text-2xl","font-semibold","tracking-tight","text-primary-100","dark:text-primary-100"],[1,"h-[50px]"],["alt","product image",1,"rounded-r-lg","h-[50px]",3,"src"],[1,"md:text-lg","lg:text-xl","font-semibold","tracking-tight","text-primary-100","dark:text-primary-100","m-2","mb-4"],[1,"flex","justify-center","m-2"],[1,"max-w-sm","bg-white","border","border-gray-200","rounded-lg","shadow","w-full"],[1,"bg-green-500","rounded-t-lg","w-full"],[1,"flex","justify-center","mb-2","p-6","text-2xl","font-bold","tracking-tight","text-gray-900","w-full"],[1,"flex","justify-center","font-normal","text-gray-700"],[1,"text-xl","mr-2"],[1,"flex","justify-center","mb-2","font-normal","text-gray-700"],[1,"bg-yellow-300","rounded-t-lg","w-full"],[1,"flex","justify-center","mb-2","p-6","text-2xl","font-bold","tracking-tight","text-gray-900"],[1,"bg-blue-500","rounded-t-lg","w-full"],[1,"flex","justify-center","mb-2"],[1,"grid","grid-flow-row","grid-cols-3","gap-4","w-3/4"],[1,"justify-start","bg-white","border","border-primary-100","rounded-lg","w-full"],[1,"flex","items-center","ml-8","mr-2","mb-2"],["disabled","","checked","","id","disabled-checked-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded-full","focus:ring-blue-500","dark:focus:ring-blue-600","dark:ring-offset-gray-800","focus:ring-2","dark:bg-gray-700","dark:border-gray-600"],["for","disabled-checked-checkbox",1,"ms-2","text-sm","font-medium","dark:text-gray-600"]],template:function(e,a){1&e&&(o(0,"div",0)(1,"div",1)(2,"nav",2)(3,"ol",3)(4,"li",4)(5,"a",5),C("click",function(){return a.goTo("/search")}),w(),o(6,"svg",6),v(7,"path",7),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",8)(11,"div",9),w(),o(12,"svg",10),v(13,"path",11),n(),O(),o(14,"span",12),f(15),m(16,"translate"),n()()()()()(),o(17,"div",13)(18,"h5",14),f(19),m(20,"translate"),n(),v(21,"hr",15),o(22,"form",16)(23,"div",17)(24,"label",18),f(25),m(26,"translate"),n(),v(27,"input",19),n(),o(28,"div",17)(29,"h5",20),f(30),m(31,"translate"),n(),R(32,QR3,6,0,"div",21)(33,cB3,2,1),n(),o(34,"div",17)(35,"h5",20),f(36),m(37,"translate"),n(),c1(38,nB3,18,6,null,null,lh1),n()(),o(40,"div",22)(41,"button",23),C("click",function(){return a.orderProduct()}),f(42),m(43,"translate"),w(),o(44,"svg",24),v(45,"path",25),n()()()()()),2&e&&(s(8),V(" ",_(9,8,"SHOPPING_CART._back")," "),s(7),H(_(16,10,"SHOPPING_CART._buy")),s(4),V("",_(20,12,"SHOPPING_CART._confirm"),":"),s(6),V("",_(26,14,"SHOPPING_CART._note"),":"),s(5),V("",_(31,16,"SHOPPING_CART._choose_bill"),":"),s(2),S(32,a.loading?32:33),s(4),V("",_(37,18,"SHOPPING_CART._cart"),":"),s(2),a1(a.items),s(4),V(" ",_(43,20,"SHOPPING_CART._buy")," "))},dependencies:[k2,I4,O4,Da,J1]})}const Nl=[{text:"\u{1f1fa}\u{1f1f8} +1 United States",code:"+1",flag:"\u{1f1fa}\u{1f1f8}",country:"US"},{text:"\u{1f1e8}\u{1f1e6} +1 Canada",code:"+1",flag:"\u{1f1e8}\u{1f1e6}",country:"CA"},{text:"\u{1f1f7}\u{1f1fa} +7 Russia",code:"+7",flag:"\u{1f1f7}\u{1f1fa}",country:"RU"},{text:"\u{1f1ea}\u{1f1ec} +20 Egypt",code:"+20",flag:"\u{1f1ea}\u{1f1ec}",country:"EG"},{text:"\u{1f1ff}\u{1f1e6} +27 South Africa",code:"+27",flag:"\u{1f1ff}\u{1f1e6}",country:"ZA"},{text:"\u{1f1ec}\u{1f1f7} +30 Greece",code:"+30",flag:"\u{1f1ec}\u{1f1f7}",country:"GR"},{text:"\u{1f1f3}\u{1f1f1} +31 Netherlands",code:"+31",flag:"\u{1f1f3}\u{1f1f1}",country:"NL"},{text:"\u{1f1e7}\u{1f1ea} +32 Belgium",code:"+32",flag:"\u{1f1e7}\u{1f1ea}",country:"BE"},{text:"\u{1f1eb}\u{1f1f7} +33 France",code:"+33",flag:"\u{1f1eb}\u{1f1f7}",country:"FR"},{text:"\u{1f1ea}\u{1f1f8} +34 Spain",code:"+34",flag:"\u{1f1ea}\u{1f1f8}",country:"ES"},{text:"\u{1f1ed}\u{1f1fa} +36 Hungary",code:"+36",flag:"\u{1f1ed}\u{1f1fa}",country:"HU"},{text:"\u{1f1ee}\u{1f1f9} +39 Italy",code:"+39",flag:"\u{1f1ee}\u{1f1f9}",country:"IT"},{text:"\u{1f1f7}\u{1f1f4} +40 Romania",code:"+40",flag:"\u{1f1f7}\u{1f1f4}",country:"RO"},{text:"\u{1f1e8}\u{1f1ed} +41 Switzerland",code:"+41",flag:"\u{1f1e8}\u{1f1ed}",country:"CH"},{text:"\u{1f1e6}\u{1f1f9} +43 Austria",code:"+43",flag:"\u{1f1e6}\u{1f1f9}",country:"AT"},{text:"\u{1f1ec}\u{1f1e7} +44 United Kingdom",code:"+44",flag:"\u{1f1ec}\u{1f1e7}",country:"GB"},{text:"\u{1f1e9}\u{1f1f0} +45 Denmark",code:"+45",flag:"\u{1f1e9}\u{1f1f0}",country:"DK"},{text:"\u{1f1f8}\u{1f1ea} +46 Sweden",code:"+46",flag:"\u{1f1f8}\u{1f1ea}",country:"SE"},{text:"\u{1f1f3}\u{1f1f4} +47 Norway",code:"+47",flag:"\u{1f1f3}\u{1f1f4}",country:"NO"},{text:"\u{1f1f5}\u{1f1f1} +48 Poland",code:"+48",flag:"\u{1f1f5}\u{1f1f1}",country:"PL"},{text:"\u{1f1e9}\u{1f1ea} +49 Germany",code:"+49",flag:"\u{1f1e9}\u{1f1ea}",country:"DE"},{text:"\u{1f1f5}\u{1f1ea} +51 Peru",code:"+51",flag:"\u{1f1f5}\u{1f1ea}",country:"PE"},{text:"\u{1f1f2}\u{1f1fd} +52 Mexico",code:"+52",flag:"\u{1f1f2}\u{1f1fd}",country:"MX"},{text:"\u{1f1e8}\u{1f1fa} +53 Cuba",code:"+53",flag:"\u{1f1e8}\u{1f1fa}",country:"CU"},{text:"\u{1f1e6}\u{1f1f7} +54 Argentina",code:"+54",flag:"\u{1f1e6}\u{1f1f7}",country:"AR"},{text:"\u{1f1e7}\u{1f1f7} +55 Brazil",code:"+55",flag:"\u{1f1e7}\u{1f1f7}",country:"BR"},{text:"\u{1f1e8}\u{1f1f1} +56 Chile",code:"+56",flag:"\u{1f1e8}\u{1f1f1}",country:"CL"},{text:"\u{1f1e8}\u{1f1f4} +57 Colombia",code:"+57",flag:"\u{1f1e8}\u{1f1f4}",country:"CO"},{text:"\u{1f1fb}\u{1f1ea} +58 Venezuela",code:"+58",flag:"\u{1f1fb}\u{1f1ea}",country:"VE"},{text:"\u{1f1f2}\u{1f1fe} +60 Malaysia",code:"+60",flag:"\u{1f1f2}\u{1f1fe}",country:"MY"},{text:"\u{1f1e6}\u{1f1fa} +61 Australia",code:"+61",flag:"\u{1f1e6}\u{1f1fa}",country:"AU"},{text:"\u{1f1ee}\u{1f1e9} +62 Indonesia",code:"+62",flag:"\u{1f1ee}\u{1f1e9}",country:"ID"},{text:"\u{1f1f5}\u{1f1ed} +63 Philippines",code:"+63",flag:"\u{1f1f5}\u{1f1ed}",country:"PH"},{text:"\u{1f1f3}\u{1f1ff} +64 New Zealand",code:"+64",flag:"\u{1f1f3}\u{1f1ff}",country:"NZ"},{text:"\u{1f1f8}\u{1f1ec} +65 Singapore",code:"+65",flag:"\u{1f1f8}\u{1f1ec}",country:"SG"},{text:"\u{1f1f9}\u{1f1ed} +66 Thailand",code:"+66",flag:"\u{1f1f9}\u{1f1ed}",country:"TH"},{text:"\u{1f1ef}\u{1f1f5} +81 Japan",code:"+81",flag:"\u{1f1ef}\u{1f1f5}",country:"JP"},{text:"\u{1f1f0}\u{1f1f7} +82 South Korea",code:"+82",flag:"\u{1f1f0}\u{1f1f7}",country:"KR"},{text:"\u{1f1fb}\u{1f1f3} +84 Vietnam",code:"+84",flag:"\u{1f1fb}\u{1f1f3}",country:"VN"},{text:"\u{1f1e8}\u{1f1f3} +86 China",code:"+86",flag:"\u{1f1e8}\u{1f1f3}",country:"CN"},{text:"\u{1f1f9}\u{1f1f7} +90 Turkey",code:"+90",flag:"\u{1f1f9}\u{1f1f7}",country:"TR"},{text:"\u{1f1ee}\u{1f1f3} +91 India",code:"+91",flag:"\u{1f1ee}\u{1f1f3}",country:"IN"},{text:"\u{1f1f5}\u{1f1f0} +92 Pakistan",code:"+92",flag:"\u{1f1f5}\u{1f1f0}",country:"PK"},{text:"\u{1f1e6}\u{1f1eb} +93 Afghanistan",code:"+93",flag:"\u{1f1e6}\u{1f1eb}",country:"AF"},{text:"\u{1f1f1}\u{1f1f0} +94 Sri Lanka",code:"+94",flag:"\u{1f1f1}\u{1f1f0}",country:"LK"},{text:"\u{1f1f2}\u{1f1f2} +95 Myanmar",code:"+95",flag:"\u{1f1f2}\u{1f1f2}",country:"MM"},{text:"\u{1f1ee}\u{1f1f7} +98 Iran",code:"+98",flag:"\u{1f1ee}\u{1f1f7}",country:"IR"},{text:"\u{1f1f2}\u{1f1e6} +212 Morocco",code:"+212",flag:"\u{1f1f2}\u{1f1e6}",country:"MA"},{text:"\u{1f1e9}\u{1f1ff} +213 Algeria",code:"+213",flag:"\u{1f1e9}\u{1f1ff}",country:"DZ"},{text:"\u{1f1f9}\u{1f1f3} +216 Tunisia",code:"+216",flag:"\u{1f1f9}\u{1f1f3}",country:"TN"},{text:"\u{1f1f1}\u{1f1fe} +218 Libya",code:"+218",flag:"\u{1f1f1}\u{1f1fe}",country:"LY"},{text:"\u{1f1ec}\u{1f1f2} +220 Gambia",code:"+220",flag:"\u{1f1ec}\u{1f1f2}",country:"GM"},{text:"\u{1f1f8}\u{1f1f3} +221 Senegal",code:"+221",flag:"\u{1f1f8}\u{1f1f3}",country:"SN"},{text:"\u{1f1f2}\u{1f1f7} +222 Mauritania",code:"+222",flag:"\u{1f1f2}\u{1f1f7}",country:"MR"},{text:"\u{1f1f2}\u{1f1f1} +223 Mali",code:"+223",flag:"\u{1f1f2}\u{1f1f1}",country:"ML"},{text:"\u{1f1ec}\u{1f1f3} +224 Guinea",code:"+224",flag:"\u{1f1ec}\u{1f1f3}",country:"GN"},{text:"\u{1f1e8}\u{1f1ee} +225 Ivory Coast",code:"+225",flag:"\u{1f1e8}\u{1f1ee}",country:"CI"},{text:"\u{1f1e7}\u{1f1eb} +226 Burkina Faso",code:"+226",flag:"\u{1f1e7}\u{1f1eb}",country:"BF"},{text:"\u{1f1f3}\u{1f1ea} +227 Niger",code:"+227",flag:"\u{1f1f3}\u{1f1ea}",country:"NE"},{text:"\u{1f1f9}\u{1f1ec} +228 Togo",code:"+228",flag:"\u{1f1f9}\u{1f1ec}",country:"TG"},{text:"\u{1f1e7}\u{1f1ef} +229 Benin",code:"+229",flag:"\u{1f1e7}\u{1f1ef}",country:"BJ"},{text:"\u{1f1f2}\u{1f1fa} +230 Mauritius",code:"+230",flag:"\u{1f1f2}\u{1f1fa}",country:"MU"},{text:"\u{1f1f1}\u{1f1f7} +231 Liberia",code:"+231",flag:"\u{1f1f1}\u{1f1f7}",country:"LR"},{text:"\u{1f1f8}\u{1f1f1} +232 Sierra Leone",code:"+232",flag:"\u{1f1f8}\u{1f1f1}",country:"SL"},{text:"\u{1f1ec}\u{1f1ed} +233 Ghana",code:"+233",flag:"\u{1f1ec}\u{1f1ed}",country:"GH"},{text:"\u{1f1f3}\u{1f1ec} +234 Nigeria",code:"+234",flag:"\u{1f1f3}\u{1f1ec}",country:"NG"},{text:"\u{1f1f9}\u{1f1e9} +235 Chad",code:"+235",flag:"\u{1f1f9}\u{1f1e9}",country:"TD"},{text:"\u{1f1e8}\u{1f1eb} +236 Central African Republic",code:"+236",flag:"\u{1f1e8}\u{1f1eb}",country:"CF"},{text:"\u{1f1e8}\u{1f1f2} +237 Cameroon",code:"+237",flag:"\u{1f1e8}\u{1f1f2}",country:"CM"},{text:"\u{1f1e8}\u{1f1fb} +238 Cape Verde",code:"+238",flag:"\u{1f1e8}\u{1f1fb}",country:"CV"},{text:"\u{1f1f8}\u{1f1f9} +239 Sao Tome and Principe",code:"+239",flag:"\u{1f1f8}\u{1f1f9}",country:"ST"},{text:"\u{1f1ec}\u{1f1f6} +240 Equatorial Guinea",code:"+240",flag:"\u{1f1ec}\u{1f1f6}",country:"GQ"},{text:"\u{1f1ec}\u{1f1e6} +241 Gabon",code:"+241",flag:"\u{1f1ec}\u{1f1e6}",country:"GA"},{text:"\u{1f1e8}\u{1f1ec} +242 Republic of the Congo",code:"+242",flag:"\u{1f1e8}\u{1f1ec}",country:"CG"},{text:"\u{1f1e8}\u{1f1e9} +243 Democratic Republic of the Congo",code:"+243",flag:"\u{1f1e8}\u{1f1e9}",country:"CD"},{text:"\u{1f1e6}\u{1f1f4} +244 Angola",code:"+244",flag:"\u{1f1e6}\u{1f1f4}",country:"AO"},{text:"\u{1f1ec}\u{1f1fc} +245 Guinea-Bissau",code:"+245",flag:"\u{1f1ec}\u{1f1fc}",country:"GW"},{text:"\u{1f1ee}\u{1f1f4} +246 British Indian Ocean Territory",code:"+246",flag:"\u{1f1ee}\u{1f1f4}",country:"IO"},{text:"\u{1f1f8}\u{1f1e8} +248 Seychelles",code:"+248",flag:"\u{1f1f8}\u{1f1e8}",country:"SC"},{text:"\u{1f1f8}\u{1f1e9} +249 Sudan",code:"+249",flag:"\u{1f1f8}\u{1f1e9}",country:"SD"},{text:"\u{1f1f7}\u{1f1fc} +250 Rwanda",code:"+250",flag:"\u{1f1f7}\u{1f1fc}",country:"RW"},{text:"\u{1f1ea}\u{1f1f9} +251 Ethiopia",code:"+251",flag:"\u{1f1ea}\u{1f1f9}",country:"ET"},{text:"\u{1f1f8}\u{1f1f4} +252 Somalia",code:"+252",flag:"\u{1f1f8}\u{1f1f4}",country:"SO"},{text:"\u{1f1e9}\u{1f1ef} +253 Djibouti",code:"+253",flag:"\u{1f1e9}\u{1f1ef}",country:"DJ"},{text:"\u{1f1f0}\u{1f1ea} +254 Kenya",code:"+254",flag:"\u{1f1f0}\u{1f1ea}",country:"KE"},{text:"\u{1f1f9}\u{1f1ff} +255 Tanzania",code:"+255",flag:"\u{1f1f9}\u{1f1ff}",country:"TZ"},{text:"\u{1f1fa}\u{1f1ec} +256 Uganda",code:"+256",flag:"\u{1f1fa}\u{1f1ec}",country:"UG"},{text:"\u{1f1e7}\u{1f1ee} +257 Burundi",code:"+257",flag:"\u{1f1e7}\u{1f1ee}",country:"BI"},{text:"\u{1f1f2}\u{1f1ff} +258 Mozambique",code:"+258",flag:"\u{1f1f2}\u{1f1ff}",country:"MZ"},{text:"\u{1f1ff}\u{1f1f2} +260 Zambia",code:"+260",flag:"\u{1f1ff}\u{1f1f2}",country:"ZM"},{text:"\u{1f1f2}\u{1f1ec} +261 Madagascar",code:"+261",flag:"\u{1f1f2}\u{1f1ec}",country:"MG"},{text:"\u{1f1f7}\u{1f1ea} +262 Reunion",code:"+262",flag:"\u{1f1f7}\u{1f1ea}",country:"RE"},{text:"\u{1f1ff}\u{1f1fc} +263 Zimbabwe",code:"+263",flag:"\u{1f1ff}\u{1f1fc}",country:"ZW"},{text:"\u{1f1f3}\u{1f1e6} +264 Namibia",code:"+264",flag:"\u{1f1f3}\u{1f1e6}",country:"NA"},{text:"\u{1f1f2}\u{1f1fc} +265 Malawi",code:"+265",flag:"\u{1f1f2}\u{1f1fc}",country:"MW"},{text:"\u{1f1f1}\u{1f1f8} +266 Lesotho",code:"+266",flag:"\u{1f1f1}\u{1f1f8}",country:"LS"},{text:"\u{1f1e7}\u{1f1fc} +267 Botswana",code:"+267",flag:"\u{1f1e7}\u{1f1fc}",country:"BW"},{text:"\u{1f1f8}\u{1f1ff} +268 Eswatini",code:"+268",flag:"\u{1f1f8}\u{1f1ff}",country:"SZ"},{text:"\u{1f1f0}\u{1f1f2} +269 Comoros",code:"+269",flag:"\u{1f1f0}\u{1f1f2}",country:"KM"},{text:"\u{1f1f8}\u{1f1ed} +290 Saint Helena",code:"+290",flag:"\u{1f1f8}\u{1f1ed}",country:"SH"},{text:"\u{1f1ea}\u{1f1f7} +291 Eritrea",code:"+291",flag:"\u{1f1ea}\u{1f1f7}",country:"ER"},{text:"\u{1f1e6}\u{1f1fc} +297 Aruba",code:"+297",flag:"\u{1f1e6}\u{1f1fc}",country:"AW"},{text:"\u{1f1eb}\u{1f1f4} +298 Faroe Islands",code:"+298",flag:"\u{1f1eb}\u{1f1f4}",country:"FO"},{text:"\u{1f1ec}\u{1f1f1} +299 Greenland",code:"+299",flag:"\u{1f1ec}\u{1f1f1}",country:"GL"},{text:"\u{1f1ec}\u{1f1ee} +350 Gibraltar",code:"+350",flag:"\u{1f1ec}\u{1f1ee}",country:"GI"},{text:"\u{1f1f5}\u{1f1f9} +351 Portugal",code:"+351",flag:"\u{1f1f5}\u{1f1f9}",country:"PT"},{text:"\u{1f1f1}\u{1f1fa} +352 Luxembourg",code:"+352",flag:"\u{1f1f1}\u{1f1fa}",country:"LU"},{text:"\u{1f1ee}\u{1f1ea} +353 Ireland",code:"+353",flag:"\u{1f1ee}\u{1f1ea}",country:"IE"},{text:"\u{1f1ee}\u{1f1f8} +354 Iceland",code:"+354",flag:"\u{1f1ee}\u{1f1f8}",country:"IS"},{text:"\u{1f1e6}\u{1f1f1} +355 Albania",code:"+355",flag:"\u{1f1e6}\u{1f1f1}",country:"AL"},{text:"\u{1f1f2}\u{1f1f9} +356 Malta",code:"+356",flag:"\u{1f1f2}\u{1f1f9}",country:"MT"},{text:"\u{1f1e8}\u{1f1fe} +357 Cyprus",code:"+357",flag:"\u{1f1e8}\u{1f1fe}",country:"CY"},{text:"\u{1f1eb}\u{1f1ee} +358 Finland",code:"+358",flag:"\u{1f1eb}\u{1f1ee}",country:"FI"},{text:"\u{1f1e7}\u{1f1ec} +359 Bulgaria",code:"+359",flag:"\u{1f1e7}\u{1f1ec}",country:"BG"},{text:"\u{1f1f1}\u{1f1f9} +370 Lithuania",code:"+370",flag:"\u{1f1f1}\u{1f1f9}",country:"LT"},{text:"\u{1f1f1}\u{1f1fb} +371 Latvia",code:"+371",flag:"\u{1f1f1}\u{1f1fb}",country:"LV"},{text:"\u{1f1ea}\u{1f1ea} +372 Estonia",code:"+372",flag:"\u{1f1ea}\u{1f1ea}",country:"EE"},{text:"\u{1f1f2}\u{1f1e9} +373 Moldova",code:"+373",flag:"\u{1f1f2}\u{1f1e9}",country:"MD"},{text:"\u{1f1e6}\u{1f1f2} +374 Armenia",code:"+374",flag:"\u{1f1e6}\u{1f1f2}",country:"AM"},{text:"\u{1f1e7}\u{1f1fe} +375 Belarus",code:"+375",flag:"\u{1f1e7}\u{1f1fe}",country:"BY"},{text:"\u{1f1e6}\u{1f1e9} +376 Andorra",code:"+376",flag:"\u{1f1e6}\u{1f1e9}",country:"AD"},{text:"\u{1f1f2}\u{1f1e8} +377 Monaco",code:"+377",flag:"\u{1f1f2}\u{1f1e8}",country:"MC"},{text:"\u{1f1f8}\u{1f1f2} +378 San Marino",code:"+378",flag:"\u{1f1f8}\u{1f1f2}",country:"SM"},{text:"\u{1f1fa}\u{1f1e6} +380 Ukraine",code:"+380",flag:"\u{1f1fa}\u{1f1e6}",country:"UA"},{text:"\u{1f1f7}\u{1f1f8} +381 Serbia",code:"+381",flag:"\u{1f1f7}\u{1f1f8}",country:"RS"},{text:"\u{1f1f2}\u{1f1ea} +382 Montenegro",code:"+382",flag:"\u{1f1f2}\u{1f1ea}",country:"ME"},{text:"\u{1f1ed}\u{1f1f7} +385 Croatia",code:"+385",flag:"\u{1f1ed}\u{1f1f7}",country:"HR"},{text:"\u{1f1f8}\u{1f1ee} +386 Slovenia",code:"+386",flag:"\u{1f1f8}\u{1f1ee}",country:"SI"},{text:"\u{1f1e7}\u{1f1e6} +387 Bosnia and Herzegovina",code:"+387",flag:"\u{1f1e7}\u{1f1e6}",country:"BA"},{text:"\u{1f1f2}\u{1f1f0} +389 North Macedonia",code:"+389",flag:"\u{1f1f2}\u{1f1f0}",country:"MK"},{text:"\u{1f1e8}\u{1f1ff} +420 Czech Republic",code:"+420",flag:"\u{1f1e8}\u{1f1ff}",country:"CZ"},{text:"\u{1f1f8}\u{1f1f0} +421 Slovakia",code:"+421",flag:"\u{1f1f8}\u{1f1f0}",country:"SK"},{text:"\u{1f1f1}\u{1f1ee} +423 Liechtenstein",code:"+423",flag:"\u{1f1f1}\u{1f1ee}",country:"LI"},{text:"\u{1f1eb}\u{1f1f0} +500 Falkland Islands",code:"+500",flag:"\u{1f1eb}\u{1f1f0}",country:"FK"},{text:"\u{1f1e7}\u{1f1ff} +501 Belize",code:"+501",flag:"\u{1f1e7}\u{1f1ff}",country:"BZ"},{text:"\u{1f1ec}\u{1f1f9} +502 Guatemala",code:"+502",flag:"\u{1f1ec}\u{1f1f9}",country:"GT"},{text:"\u{1f1f8}\u{1f1fb} +503 El Salvador",code:"+503",flag:"\u{1f1f8}\u{1f1fb}",country:"SV"},{text:"\u{1f1ed}\u{1f1f3} +504 Honduras",code:"+504",flag:"\u{1f1ed}\u{1f1f3}",country:"HN"},{text:"\u{1f1f3}\u{1f1ee} +505 Nicaragua",code:"+505",flag:"\u{1f1f3}\u{1f1ee}",country:"NI"},{text:"\u{1f1e8}\u{1f1f7} +506 Costa Rica",code:"+506",flag:"\u{1f1e8}\u{1f1f7}",country:"CR"},{text:"\u{1f1f5}\u{1f1e6} +507 Panama",code:"+507",flag:"\u{1f1f5}\u{1f1e6}",country:"PA"},{text:"\u{1f1f5}\u{1f1f2} +508 Saint Pierre and Miquelon",code:"+508",flag:"\u{1f1f5}\u{1f1f2}",country:"PM"},{text:"\u{1f1ed}\u{1f1f9} +509 Haiti",code:"+509",flag:"\u{1f1ed}\u{1f1f9}",country:"HT"},{text:"\u{1f1ec}\u{1f1f5} +590 Guadeloupe",code:"+590",flag:"\u{1f1ec}\u{1f1f5}",country:"GP"},{text:"\u{1f1e7}\u{1f1f4} +591 Bolivia",code:"+591",flag:"\u{1f1e7}\u{1f1f4}",country:"BO"},{text:"\u{1f1ec}\u{1f1fe} +592 Guyana",code:"+592",flag:"\u{1f1ec}\u{1f1fe}",country:"GY"},{text:"\u{1f1ea}\u{1f1e8} +593 Ecuador",code:"+593",flag:"\u{1f1ea}\u{1f1e8}",country:"EC"},{text:"\u{1f1ec}\u{1f1eb} +594 French Guiana",code:"+594",flag:"\u{1f1ec}\u{1f1eb}",country:"GF"},{text:"\u{1f1f5}\u{1f1fe} +595 Paraguay",code:"+595",flag:"\u{1f1f5}\u{1f1fe}",country:"PY"},{text:"\u{1f1f2}\u{1f1f6} +596 Martinique",code:"+596",flag:"\u{1f1f2}\u{1f1f6}",country:"MQ"},{text:"\u{1f1f8}\u{1f1f7} +597 Suriname",code:"+597",flag:"\u{1f1f8}\u{1f1f7}",country:"SR"},{text:"\u{1f1fa}\u{1f1fe} +598 Uruguay",code:"+598",flag:"\u{1f1fa}\u{1f1fe}",country:"UY"},{text:"\u{1f1e8}\u{1f1fc} +599 Cura\xe7ao",code:"+599",flag:"\u{1f1e8}\u{1f1fc}",country:"CW"},{text:"\u{1f1f9}\u{1f1f1} +670 Timor-Leste",code:"+670",flag:"\u{1f1f9}\u{1f1f1}",country:"TL"},{text:"\u{1f1e6}\u{1f1f6} +672 Antarctica",code:"+672",flag:"\u{1f1e6}\u{1f1f6}",country:"AQ"},{text:"\u{1f1e7}\u{1f1f3} +673 Brunei",code:"+673",flag:"\u{1f1e7}\u{1f1f3}",country:"BN"},{text:"\u{1f1f3}\u{1f1f7} +674 Nauru",code:"+674",flag:"\u{1f1f3}\u{1f1f7}",country:"NR"},{text:"\u{1f1f5}\u{1f1ec} +675 Papua New Guinea",code:"+675",flag:"\u{1f1f5}\u{1f1ec}",country:"PG"},{text:"\u{1f1f9}\u{1f1f4} +676 Tonga",code:"+676",flag:"\u{1f1f9}\u{1f1f4}",country:"TO"},{text:"\u{1f1f8}\u{1f1e7} +677 Solomon Islands",code:"+677",flag:"\u{1f1f8}\u{1f1e7}",country:"SB"},{text:"\u{1f1fb}\u{1f1fa} +678 Vanuatu",code:"+678",flag:"\u{1f1fb}\u{1f1fa}",country:"VU"},{text:"\u{1f1eb}\u{1f1ef} +679 Fiji",code:"+679",flag:"\u{1f1eb}\u{1f1ef}",country:"FJ"},{text:"\u{1f1f5}\u{1f1fc} +680 Palau",code:"+680",flag:"\u{1f1f5}\u{1f1fc}",country:"PW"},{text:"\u{1f1fc}\u{1f1eb} +681 Wallis and Futuna",code:"+681",flag:"\u{1f1fc}\u{1f1eb}",country:"WF"},{text:"\u{1f1e8}\u{1f1f0} +682 Cook Islands",code:"+682",flag:"\u{1f1e8}\u{1f1f0}",country:"CK"},{text:"\u{1f1f3}\u{1f1fa} +683 Niue",code:"+683",flag:"\u{1f1f3}\u{1f1fa}",country:"NU"},{text:"\u{1f1fc}\u{1f1f8} +685 Samoa",code:"+685",flag:"\u{1f1fc}\u{1f1f8}",country:"WS"},{text:"\u{1f1f0}\u{1f1ee} +686 Kiribati",code:"+686",flag:"\u{1f1f0}\u{1f1ee}",country:"KI"},{text:"\u{1f1f3}\u{1f1e8} +687 New Caledonia",code:"+687",flag:"\u{1f1f3}\u{1f1e8}",country:"NC"},{text:"\u{1f1f9}\u{1f1fb} +688 Tuvalu",code:"+688",flag:"\u{1f1f9}\u{1f1fb}",country:"TV"},{text:"\u{1f1f5}\u{1f1eb} +689 French Polynesia",code:"+689",flag:"\u{1f1f5}\u{1f1eb}",country:"PF"},{text:"\u{1f1f9}\u{1f1f0} +690 Tokelau",code:"+690",flag:"\u{1f1f9}\u{1f1f0}",country:"TK"},{text:"\u{1f1eb}\u{1f1f2} +691 Federated States of Micronesia",code:"+691",flag:"\u{1f1eb}\u{1f1f2}",country:"FM"},{text:"\u{1f1f2}\u{1f1ed} +692 Marshall Islands",code:"+692",flag:"\u{1f1f2}\u{1f1ed}",country:"MH"},{text:"\u{1f1f0}\u{1f1f5} +850 North Korea",code:"+850",flag:"\u{1f1f0}\u{1f1f5}",country:"KP"},{text:"\u{1f1ed}\u{1f1f0} +852 Hong Kong",code:"+852",flag:"\u{1f1ed}\u{1f1f0}",country:"HK"},{text:"\u{1f1f2}\u{1f1f4} +853 Macau",code:"+853",flag:"\u{1f1f2}\u{1f1f4}",country:"MO"},{text:"\u{1f1f0}\u{1f1ed} +855 Cambodia",code:"+855",flag:"\u{1f1f0}\u{1f1ed}",country:"KH"},{text:"\u{1f1f1}\u{1f1e6} +856 Laos",code:"+856",flag:"\u{1f1f1}\u{1f1e6}",country:"LA"},{text:"\u{1f1e7}\u{1f1e9} +880 Bangladesh",code:"+880",flag:"\u{1f1e7}\u{1f1e9}",country:"BD"},{text:"\u{1f1f9}\u{1f1fc} +886 Taiwan",code:"+886",flag:"\u{1f1f9}\u{1f1fc}",country:"TW"},{text:"\u{1f1f2}\u{1f1fb} +960 Maldives",code:"+960",flag:"\u{1f1f2}\u{1f1fb}",country:"MV"},{text:"\u{1f1f1}\u{1f1e7} +961 Lebanon",code:"+961",flag:"\u{1f1f1}\u{1f1e7}",country:"LB"},{text:"\u{1f1ef}\u{1f1f4} +962 Jordan",code:"+962",flag:"\u{1f1ef}\u{1f1f4}",country:"JO"},{text:"\u{1f1f8}\u{1f1fe} +963 Syria",code:"+963",flag:"\u{1f1f8}\u{1f1fe}",country:"SY"},{text:"\u{1f1ee}\u{1f1f6} +964 Iraq",code:"+964",flag:"\u{1f1ee}\u{1f1f6}",country:"IQ"},{text:"\u{1f1f0}\u{1f1fc} +965 Kuwait",code:"+965",flag:"\u{1f1f0}\u{1f1fc}",country:"KW"},{text:"\u{1f1f8}\u{1f1e6} +966 Saudi Arabia",code:"+966",flag:"\u{1f1f8}\u{1f1e6}",country:"SA"},{text:"\u{1f1fe}\u{1f1ea} +967 Yemen",code:"+967",flag:"\u{1f1fe}\u{1f1ea}",country:"YE"},{text:"\u{1f1f4}\u{1f1f2} +968 Oman",code:"+968",flag:"\u{1f1f4}\u{1f1f2}",country:"OM"},{text:"\u{1f1f5}\u{1f1f8} +970 Palestine",code:"+970",flag:"\u{1f1f5}\u{1f1f8}",country:"PS"},{text:"\u{1f1e6}\u{1f1ea} +971 United Arab Emirates",code:"+971",flag:"\u{1f1e6}\u{1f1ea}",country:"AE"},{text:"\u{1f1ee}\u{1f1f1} +972 Israel",code:"+972",flag:"\u{1f1ee}\u{1f1f1}",country:"IL"},{text:"\u{1f1e7}\u{1f1ed} +973 Bahrain",code:"+973",flag:"\u{1f1e7}\u{1f1ed}",country:"BH"},{text:"\u{1f1f6}\u{1f1e6} +974 Qatar",code:"+974",flag:"\u{1f1f6}\u{1f1e6}",country:"QA"},{text:"\u{1f1e7}\u{1f1f9} +975 Bhutan",code:"+975",flag:"\u{1f1e7}\u{1f1f9}",country:"BT"},{text:"\u{1f1f2}\u{1f1f3} +976 Mongolia",code:"+976",flag:"\u{1f1f2}\u{1f1f3}",country:"MN"},{text:"\u{1f1f3}\u{1f1f5} +977 Nepal",code:"+977",flag:"\u{1f1f3}\u{1f1f5}",country:"NP"},{text:"\u{1f1f9}\u{1f1ef} +992 Tajikistan",code:"+992",flag:"\u{1f1f9}\u{1f1ef}",country:"TJ"},{text:"\u{1f1f9}\u{1f1f2} +993 Turkmenistan",code:"+993",flag:"\u{1f1f9}\u{1f1f2}",country:"TM"},{text:"\u{1f1e6}\u{1f1ff} +994 Azerbaijan",code:"+994",flag:"\u{1f1e6}\u{1f1ff}",country:"AZ"},{text:"\u{1f1ec}\u{1f1ea} +995 Georgia",code:"+995",flag:"\u{1f1ec}\u{1f1ea}",country:"GE"},{text:"\u{1f1f0}\u{1f1ec} +996 Kyrgyzstan",code:"+996",flag:"\u{1f1f0}\u{1f1ec}",country:"KG"},{text:"\u{1f1fa}\u{1f1ff} +998 Uzbekistan",code:"+998",flag:"\u{1f1fa}\u{1f1ff}",country:"UZ"}],qt=[{name:"Afghanistan",code:"AF"},{name:"\xc5land Islands",code:"AX"},{name:"Albania",code:"AL"},{name:"Algeria",code:"DZ"},{name:"American Samoa",code:"AS"},{name:"AndorrA",code:"AD"},{name:"Angola",code:"AO"},{name:"Anguilla",code:"AI"},{name:"Antarctica",code:"AQ"},{name:"Antigua and Barbuda",code:"AG"},{name:"Argentina",code:"AR"},{name:"Armenia",code:"AM"},{name:"Aruba",code:"AW"},{name:"Australia",code:"AU"},{name:"Austria",code:"AT"},{name:"Azerbaijan",code:"AZ"},{name:"Bahamas",code:"BS"},{name:"Bahrain",code:"BH"},{name:"Bangladesh",code:"BD"},{name:"Barbados",code:"BB"},{name:"Belarus",code:"BY"},{name:"Belgium",code:"BE"},{name:"Belize",code:"BZ"},{name:"Benin",code:"BJ"},{name:"Bermuda",code:"BM"},{name:"Bhutan",code:"BT"},{name:"Bolivia",code:"BO"},{name:"Bosnia and Herzegovina",code:"BA"},{name:"Botswana",code:"BW"},{name:"Bouvet Island",code:"BV"},{name:"Brazil",code:"BR"},{name:"British Indian Ocean Territory",code:"IO"},{name:"Brunei Darussalam",code:"BN"},{name:"Bulgaria",code:"BG"},{name:"Burkina Faso",code:"BF"},{name:"Burundi",code:"BI"},{name:"Cambodia",code:"KH"},{name:"Cameroon",code:"CM"},{name:"Canada",code:"CA"},{name:"Cape Verde",code:"CV"},{name:"Cayman Islands",code:"KY"},{name:"Central African Republic",code:"CF"},{name:"Chad",code:"TD"},{name:"Chile",code:"CL"},{name:"China",code:"CN"},{name:"Christmas Island",code:"CX"},{name:"Cocos (Keeling) Islands",code:"CC"},{name:"Colombia",code:"CO"},{name:"Comoros",code:"KM"},{name:"Congo",code:"CG"},{name:"Congo, The Democratic Republic of the",code:"CD"},{name:"Cook Islands",code:"CK"},{name:"Costa Rica",code:"CR"},{name:'Cote D"Ivoire',code:"CI"},{name:"Croatia",code:"HR"},{name:"Cuba",code:"CU"},{name:"Cyprus",code:"CY"},{name:"Czech Republic",code:"CZ"},{name:"Denmark",code:"DK"},{name:"Djibouti",code:"DJ"},{name:"Dominica",code:"DM"},{name:"Dominican Republic",code:"DO"},{name:"Ecuador",code:"EC"},{name:"Egypt",code:"EG"},{name:"El Salvador",code:"SV"},{name:"Equatorial Guinea",code:"GQ"},{name:"Eritrea",code:"ER"},{name:"Estonia",code:"EE"},{name:"Ethiopia",code:"ET"},{name:"Falkland Islands (Malvinas)",code:"FK"},{name:"Faroe Islands",code:"FO"},{name:"Fiji",code:"FJ"},{name:"Finland",code:"FI"},{name:"France",code:"FR"},{name:"French Guiana",code:"GF"},{name:"French Polynesia",code:"PF"},{name:"French Southern Territories",code:"TF"},{name:"Gabon",code:"GA"},{name:"Gambia",code:"GM"},{name:"Georgia",code:"GE"},{name:"Germany",code:"DE"},{name:"Ghana",code:"GH"},{name:"Gibraltar",code:"GI"},{name:"Greece",code:"GR"},{name:"Greenland",code:"GL"},{name:"Grenada",code:"GD"},{name:"Guadeloupe",code:"GP"},{name:"Guam",code:"GU"},{name:"Guatemala",code:"GT"},{name:"Guernsey",code:"GG"},{name:"Guinea",code:"GN"},{name:"Guinea-Bissau",code:"GW"},{name:"Guyana",code:"GY"},{name:"Haiti",code:"HT"},{name:"Heard Island and Mcdonald Islands",code:"HM"},{name:"Holy See (Vatican City State)",code:"VA"},{name:"Honduras",code:"HN"},{name:"Hong Kong",code:"HK"},{name:"Hungary",code:"HU"},{name:"Iceland",code:"IS"},{name:"India",code:"IN"},{name:"Indonesia",code:"ID"},{name:"Iran, Islamic Republic Of",code:"IR"},{name:"Iraq",code:"IQ"},{name:"Ireland",code:"IE"},{name:"Isle of Man",code:"IM"},{name:"Israel",code:"IL"},{name:"Italy",code:"IT"},{name:"Jamaica",code:"JM"},{name:"Japan",code:"JP"},{name:"Jersey",code:"JE"},{name:"Jordan",code:"JO"},{name:"Kazakhstan",code:"KZ"},{name:"Kenya",code:"KE"},{name:"Kiribati",code:"KI"},{name:'Korea, Democratic People"S Republic of',code:"KP"},{name:"Korea, Republic of",code:"KR"},{name:"Kuwait",code:"KW"},{name:"Kyrgyzstan",code:"KG"},{name:'Lao People"S Democratic Republic',code:"LA"},{name:"Latvia",code:"LV"},{name:"Lebanon",code:"LB"},{name:"Lesotho",code:"LS"},{name:"Liberia",code:"LR"},{name:"Libyan Arab Jamahiriya",code:"LY"},{name:"Liechtenstein",code:"LI"},{name:"Lithuania",code:"LT"},{name:"Luxembourg",code:"LU"},{name:"Macao",code:"MO"},{name:"Macedonia, The Former Yugoslav Republic of",code:"MK"},{name:"Madagascar",code:"MG"},{name:"Malawi",code:"MW"},{name:"Malaysia",code:"MY"},{name:"Maldives",code:"MV"},{name:"Mali",code:"ML"},{name:"Malta",code:"MT"},{name:"Marshall Islands",code:"MH"},{name:"Martinique",code:"MQ"},{name:"Mauritania",code:"MR"},{name:"Mauritius",code:"MU"},{name:"Mayotte",code:"YT"},{name:"Mexico",code:"MX"},{name:"Micronesia, Federated States of",code:"FM"},{name:"Moldova, Republic of",code:"MD"},{name:"Monaco",code:"MC"},{name:"Mongolia",code:"MN"},{name:"Montserrat",code:"MS"},{name:"Morocco",code:"MA"},{name:"Mozambique",code:"MZ"},{name:"Myanmar",code:"MM"},{name:"Namibia",code:"NA"},{name:"Nauru",code:"NR"},{name:"Nepal",code:"NP"},{name:"Netherlands",code:"NL"},{name:"Netherlands Antilles",code:"AN"},{name:"New Caledonia",code:"NC"},{name:"New Zealand",code:"NZ"},{name:"Nicaragua",code:"NI"},{name:"Niger",code:"NE"},{name:"Nigeria",code:"NG"},{name:"Niue",code:"NU"},{name:"Norfolk Island",code:"NF"},{name:"Northern Mariana Islands",code:"MP"},{name:"Norway",code:"NO"},{name:"Oman",code:"OM"},{name:"Pakistan",code:"PK"},{name:"Palau",code:"PW"},{name:"Palestinian Territory, Occupied",code:"PS"},{name:"Panama",code:"PA"},{name:"Papua New Guinea",code:"PG"},{name:"Paraguay",code:"PY"},{name:"Peru",code:"PE"},{name:"Philippines",code:"PH"},{name:"Pitcairn",code:"PN"},{name:"Poland",code:"PL"},{name:"Portugal",code:"PT"},{name:"Puerto Rico",code:"PR"},{name:"Qatar",code:"QA"},{name:"Reunion",code:"RE"},{name:"Romania",code:"RO"},{name:"Russian Federation",code:"RU"},{name:"RWANDA",code:"RW"},{name:"Saint Helena",code:"SH"},{name:"Saint Kitts and Nevis",code:"KN"},{name:"Saint Lucia",code:"LC"},{name:"Saint Pierre and Miquelon",code:"PM"},{name:"Saint Vincent and the Grenadines",code:"VC"},{name:"Samoa",code:"WS"},{name:"San Marino",code:"SM"},{name:"Sao Tome and Principe",code:"ST"},{name:"Saudi Arabia",code:"SA"},{name:"Senegal",code:"SN"},{name:"Serbia and Montenegro",code:"CS"},{name:"Seychelles",code:"SC"},{name:"Sierra Leone",code:"SL"},{name:"Singapore",code:"SG"},{name:"Slovakia",code:"SK"},{name:"Slovenia",code:"SI"},{name:"Solomon Islands",code:"SB"},{name:"Somalia",code:"SO"},{name:"South Africa",code:"ZA"},{name:"South Georgia and the South Sandwich Islands",code:"GS"},{name:"Spain",code:"ES"},{name:"Sri Lanka",code:"LK"},{name:"Sudan",code:"SD"},{name:"Suriname",code:"SR"},{name:"Svalbard and Jan Mayen",code:"SJ"},{name:"Swaziland",code:"SZ"},{name:"Sweden",code:"SE"},{name:"Switzerland",code:"CH"},{name:"Syrian Arab Republic",code:"SY"},{name:"Taiwan",code:"TW"},{name:"Tajikistan",code:"TJ"},{name:"Tanzania, United Republic of",code:"TZ"},{name:"Thailand",code:"TH"},{name:"Timor-Leste",code:"TL"},{name:"Togo",code:"TG"},{name:"Tokelau",code:"TK"},{name:"Tonga",code:"TO"},{name:"Trinidad and Tobago",code:"TT"},{name:"Tunisia",code:"TN"},{name:"Turkey",code:"TR"},{name:"Turkmenistan",code:"TM"},{name:"Turks and Caicos Islands",code:"TC"},{name:"Tuvalu",code:"TV"},{name:"Uganda",code:"UG"},{name:"Ukraine",code:"UA"},{name:"United Arab Emirates",code:"AE"},{name:"United Kingdom",code:"GB"},{name:"United States",code:"US"},{name:"United States Minor Outlying Islands",code:"UM"},{name:"Uruguay",code:"UY"},{name:"Uzbekistan",code:"UZ"},{name:"Vanuatu",code:"VU"},{name:"Venezuela",code:"VE"},{name:"Viet Nam",code:"VN"},{name:"Virgin Islands, British",code:"VG"},{name:"Virgin Islands, U.S.",code:"VI"},{name:"Wallis and Futuna",code:"WF"},{name:"Western Sahara",code:"EH"},{name:"Yemen",code:"YE"},{name:"Zambia",code:"ZM"},{name:"Zimbabwe",code:"ZW"}],sB3={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",[9]],["4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-36-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|22"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","[025-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","[24-689]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]]]],BL:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","(?:[2-467]\\d\\d|8001)\\d{5}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[23]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[17]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","(?:[2-8]\\d|90)\\d{8}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|90[25])[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|622)[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-36-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","[189]\\d{8}|[1-68]\\d{6}",[7,9],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"]],"0"],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","1[127]\\d{8,9}|2\\d{9}(?:\\d{2})?|[12]\\d{6,7}|86\\d{6}|(?:1[03-689]\\d|6)\\d{7,9}|(?:[3-579]\\d|8[0-57-9])\\d{6,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","10(?:10|9[56])|2[0-57-9](?:100|9[56])"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:60\\d\\d|9101)\\d{6}|(?:1\\d|3)\\d{9}",[10,11],[["(\\d{3})(\\d{7})","$1 $2",["6"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-36-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|31)"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]"],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:1[3-79]|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0235])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-2]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","[56]94\\d{6}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[56]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",[6,7,8,9],[["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","(?:[2-489]\\d|55)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","(?:(?:00[1-9]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],0,0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],"0",0,"(000[259]\\d{6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33|7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[013-9]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-4]|5[01]|8[0-3]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],MC:["377","00","(?:[3489]|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","596\\d{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","1(?:(?:22|44|7[27]|87|9[69])[1-9]|65[0-689])\\d{7}|(?:1(?:[01]\\d|2[13-9]|[35][1-9]|4[0-35-9]|6[0-46-9]|7[013-689]|8[1-69]|9[1-578])|[2-9]\\d)\\d{8}",[10,11],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"],0,1],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 $3 $4",["1(?:33|5[56]|81)"],0,1],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 $3 $4",["1"],0,1]],"01",0,"0(?:[12]|4[45])|1",0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[047]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","2[0-24-9]\\d{8}|[78]\\d{10,13}|[7-9]\\d{9}|[1-9]\\d{7}|[124-7]\\d{6}",[7,8,10,11,12,13,14],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["78"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-6]|7(?:0[0-689]|[1-79])|8[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:444|(?:55|8\\d)\\d|666)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[45]\\d{5}|(?:708|80\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[16]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"],["69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-5]|76(?:2[27]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"3[04-689]|[489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","92\\d{7}|(?:[15]|8\\d)\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","(?:[1-6]|[7-9]\\d\\d)\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","800\\d{4}|(?:[249]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|77|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|68|[78]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[267]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-39]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|[69]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2679]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","[0-57-9]\\d{8}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3[1-5]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:5056(?:[0-35-9]\\d|4[468])|7302[0-4]\\d)\\d{4}|(?:472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",[6,7,8,9,10,11,12,13],[["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","810","(?:20|33|[5-79]\\d|88)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72)\\d{4}|8\\d{5}(?:\\d{3})?",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[478]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"],["639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|63|[79]\\d)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[35-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[35-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,0,0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function fh1(c,r){var e=Array.prototype.slice.call(r);return e.push(sB3),c.apply(this,e)}var RC=2,lB3=17,fB3=3,p0="0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9",Dl="".concat("-\u2010-\u2015\u2212\u30fc\uff0d").concat("\uff0f/").concat("\uff0e.").concat(" \xa0\xad\u200b\u2060\u3000").concat("()\uff08\uff09\uff3b\uff3d\\[\\]").concat("~\u2053\u223c\uff5e");function OC(c){return(OC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r})(c)}function dh1(c,r){for(var e=0;e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Wt(c,r){return(Wt=Object.setPrototypeOf||function(a,t){return a.__proto__=t,a})(c,r)}function Zt(c){return(Zt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(c)}var x8=function(c){!function HB3(c,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");c.prototype=Object.create(r&&r.prototype,{constructor:{value:c,writable:!0,configurable:!0}}),Object.defineProperty(c,"prototype",{writable:!1}),r&&Wt(c,r)}(e,c);var r=function CB3(c){var r=hh1();return function(){var t,a=Zt(c);if(r){var i=Zt(this).constructor;t=Reflect.construct(a,arguments,i)}else t=a.apply(this,arguments);return function zB3(c,r){if(r&&("object"===OC(r)||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return uh1(c)}(this,t)}}(e);function e(a){var t;return function vB3(c,r){if(!(c instanceof r))throw new TypeError("Cannot call a class as a function")}(this,e),t=r.call(this,a),Object.setPrototypeOf(uh1(t),e.prototype),t.name=t.constructor.name,t}return function gB3(c,r,e){return r&&dh1(c.prototype,r),e&&dh1(c,e),Object.defineProperty(c,"prototype",{writable:!1}),c}(e)}(IC(Error));function mh1(c,r){c=c.split("-"),r=r.split("-");for(var e=c[0].split("."),a=r[0].split("."),t=0;t<3;t++){var i=Number(e[t]),l=Number(a[t]);if(i>l)return 1;if(l>i)return-1;if(!isNaN(i)&&isNaN(l))return 1;if(isNaN(i)&&!isNaN(l))return-1}return c[1]&&r[1]?c[1]>r[1]?1:c[1]c.length)&&(r=c.length);for(var e=0,a=new Array(r);e=c.length?{done:!0}:{done:!1,value:c[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(c.split(""));!(a=e()).done;)r+=GB3(a.value,r)||"";return r}function GB3(c,r,e){return"+"===c?r?void("function"==typeof e&&e("end")):"+":function Vh1(c){return jB3[c]}(c)}function yh1(c,r){(null==r||r>c.length)&&(r=c.length);for(var e=0,a=new Array(r);e=c.length?{done:!0}:{done:!1,value:c[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(r);!(t=a()).done;){var i=t.value;c.indexOf(i)<0&&e.push(i)}return e.sort(function(l,d){return l-d})}(t,i.possibleLengths()))}else if(r&&!a)return"INVALID_LENGTH";var l=c.length,d=t[0];return d===l?"IS_POSSIBLE":d>l?"TOO_SHORT":t[t.length-1]=0?"IS_POSSIBLE":"INVALID_LENGTH"}function xh1(c,r){return"IS_POSSIBLE"===$C(c,r)}function Me(c,r){return c=c||"",new RegExp("^(?:"+r+")$").test(c)}function wh1(c,r){(null==r||r>c.length)&&(r=c.length);for(var e=0,a=new Array(r);e=c.length?{done:!0}:{done:!1,value:c[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(XB3);!(i=t()).done;){var l=i.value;if(GC(a,l,e))return l}}}}function GC(c,r,e){return!(!(r=e.type(r))||!r.pattern()||r.possibleLengths()&&r.possibleLengths().indexOf(c.length)<0)&&Me(c,r.pattern())}var tO3=/(\$\d)/;var oO3=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function Sh1(c,r){(null==r||r>c.length)&&(r=c.length);for(var e=0,a=new Array(r);e=c.length?{done:!0}:{done:!1,value:c[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(c);!(a=e()).done;){var t=a.value;if(t.leadingDigitsPatterns().length>0){var i=t.leadingDigitsPatterns()[t.leadingDigitsPatterns().length-1];if(0!==r.search(i))continue}if(Me(r,t.pattern()))return t}}(a.formats(),c);return i?function iO3(c,r,e){var a=e.useInternationalFormat,t=e.withNationalPrefix,d=c.replace(new RegExp(r.pattern()),a?r.internationalFormat():t&&r.nationalPrefixFormattingRule()?r.format().replace(tO3,r.nationalPrefixFormattingRule()):r.format());return a?function rO3(c){return c.replace(new RegExp("[".concat(Dl,"]+"),"g")," ").trim()}(d):d}(c,i,{useInternationalFormat:"INTERNATIONAL"===e,withNationalPrefix:!(i.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&t&&!1===t.nationalPrefix),carrierCode:r,metadata:a}):c}function qC(c,r,e,a){return r?a(c,r,e):c}function Eh1(c,r){var e=Object.keys(c);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(c);r&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(c,t).enumerable})),e.push.apply(e,a)}return e}function Ah1(c){for(var r=1;r=0}(r,i,e)}):[]}(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return function KB3(c,r,e){if(void 0===r&&(r={}),e=new L3(e),r.v2){if(!c.countryCallingCode)throw new Error("Invalid phone number object passed");e.selectNumberingPlan(c.countryCallingCode)}else{if(!c.phone)return!1;if(c.country){if(!e.hasCountry(c.country))throw new Error("Unknown country: ".concat(c.country));e.country(c.country)}else{if(!c.countryCallingCode)throw new Error("Invalid phone number object passed");e.selectNumberingPlan(c.countryCallingCode)}}if(e.possibleLengths())return xh1(c.phone||c.nationalNumber,e);if(c.countryCallingCode&&e.isNonGeographicCallingCode(c.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return function eO3(c,r,e){return r=r||{},(e=new L3(e)).selectNumberingPlan(c.country,c.countryCallingCode),e.hasTypes()?void 0!==YC(c,r,e.metadata):Me(r.v2?c.nationalNumber:c.phone,e.nationalNumberPattern())}(this,{v2:!0},this.getMetadata())}},{key:"isNonGeographic",value:function(){return new L3(this.getMetadata()).isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(e){return this.number===e.number&&this.ext===e.ext}},{key:"getType",value:function(){return YC(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(e,a){return function gO3(c,r,e,a){if(e=e?Dh1(Dh1({},Th1),e):Th1,a=new L3(a),c.country&&"001"!==c.country){if(!a.hasCountry(c.country))throw new Error("Unknown country: ".concat(c.country));a.country(c.country)}else{if(!c.countryCallingCode)return c.phone||"";a.selectNumberingPlan(c.countryCallingCode)}var l,t=a.countryCallingCode(),i=e.v2?c.nationalNumber:c.phone;switch(r){case"NATIONAL":return i?qC(l=Bl(i,c.carrierCode,"NATIONAL",a,e),c.ext,a,e.formatExtension):"";case"INTERNATIONAL":return i?(l=Bl(i,null,"INTERNATIONAL",a,e),qC(l="+".concat(t," ").concat(l),c.ext,a,e.formatExtension)):"+".concat(t);case"E.164":return"+".concat(t).concat(i);case"RFC3966":return function hO3(c){var r=c.number,e=c.ext;if(!r)return"";if("+"!==r[0])throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(r).concat(e?";ext="+e:"")}({number:"+".concat(t).concat(i),ext:c.ext});case"IDD":if(!e.fromCountry)return;var d=function HO3(c,r,e,a,t){if(Rl(a,t.metadata)===e){var l=Bl(c,r,"NATIONAL",t);return"1"===e?e+" "+l:l}var d=function nO3(c,r,e){var a=new L3(e);return a.selectNumberingPlan(c,r),a.defaultIDDPrefix()?a.defaultIDDPrefix():oO3.test(a.IDDPrefix())?a.IDDPrefix():void 0}(a,void 0,t.metadata);if(d)return"".concat(d," ").concat(e," ").concat(Bl(c,null,"INTERNATIONAL",t))}(i,c.carrierCode,t,e.fromCountry,a);return qC(d,c.ext,a,e.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(r,'"'))}}(this,e,a?Ah1(Ah1({},a),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(e){return this.format("NATIONAL",e)}},{key:"formatInternational",value:function(e){return this.format("INTERNATIONAL",e)}},{key:"getURI",value:function(e){return this.format("RFC3966",e)}}]),c}(),yO3=function(r){return/^[A-Z]{2}$/.test(r)},xO3=new RegExp("(["+p0+"])");function WC(c,r){var e=function FO3(c,r){if(c&&r.numberingPlan.nationalPrefixForParsing()){var e=new RegExp("^(?:"+r.numberingPlan.nationalPrefixForParsing()+")"),a=e.exec(c);if(a){var t,i,p,l=a.length-1,d=l>0&&a[l];if(r.nationalPrefixTransformRule()&&d?(t=c.replace(e,r.nationalPrefixTransformRule()),l>1&&(i=a[1])):(t=c.slice(a[0].length),d&&(i=a[1])),d){var z=c.indexOf(a[1]);c.slice(0,z)===r.numberingPlan.nationalPrefix()&&(p=r.numberingPlan.nationalPrefix())}else p=a[0];return{nationalNumber:t,nationalPrefix:p,carrierCode:i}}}return{nationalNumber:c}}(c,r),a=e.carrierCode,t=e.nationalNumber;if(t!==c){if(!function kO3(c,r,e){return!(Me(c,e.nationalNumberPattern())&&!Me(r,e.nationalNumberPattern()))}(c,t,r))return{nationalNumber:c};if(r.possibleLengths()&&!function SO3(c,r){switch($C(c,r)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}(t,r))return{nationalNumber:c}}return{nationalNumber:t,carrierCode:a}}function Rh1(c,r){(null==r||r>c.length)&&(r=c.length);for(var e=0,a=new Array(r);e=c.length?{done:!0}:{done:!1,value:c[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e);!(d=l()).done;){var u=d.value;if(t.country(u),t.leadingDigits()){if(c&&0===c.search(t.leadingDigits()))return u}else if(YC({phone:c,country:u},void 0,t.metadata)){if(!a)return u;if(u===a)return u;i.push(u)}}if(i.length>0)return i[0]}(e,{countries:i,defaultCountry:a,metadata:t.metadata}):void 0}var Bh1="+",Oh1="(["+p0+"]|[\\-\\.\\(\\)]?)",IO3=new RegExp("^\\"+Bh1+Oh1+"*["+p0+"]"+Oh1+"*$","g"),GO3=new RegExp("^(["+p0+"]+((\\-)*["+p0+"])*\\.)*[a-zA-Z]+((\\-)*["+p0+"])*\\.?$","g"),Ih1="tel:",KC=";phone-context=",qO3=";isub=";var QO3=250,JO3=new RegExp("[+\uff0b"+p0+"]"),XO3=new RegExp("[^"+p0+"#]+$"),eI3=!1;function cI3(c,r,e){if(r=r||{},e=new L3(e),r.defaultCountry&&!e.hasCountry(r.defaultCountry))throw r.v2?new x8("INVALID_COUNTRY"):new Error("Unknown country: ".concat(r.defaultCountry));var a=function rI3(c,r,e){var a=function KO3(c,r){var t,e=r.extractFormattedPhoneNumber,a=function WO3(c){var r=c.indexOf(KC);if(r<0)return null;var e=r+KC.length;if(e>=c.length)return"";var a=c.indexOf(";",e);return a>=0?c.substring(e,a):c.substring(e)}(c);if(!function ZO3(c){return null===c||0!==c.length&&(IO3.test(c)||GO3.test(c))}(a))throw new x8("NOT_A_NUMBER");if(null===a)t=e(c)||"";else{t="",a.charAt(0)===Bh1&&(t+=a);var l,i=c.indexOf(Ih1);l=i>=0?i+Ih1.length:0;var d=c.indexOf(KC);t+=c.substring(l,d)}var u=t.indexOf(qO3);if(u>0&&(t=t.substring(0,u)),""!==t)return t}(c,{extractFormattedPhoneNumber:function(l){return function aI3(c,r,e){if(c){if(c.length>QO3){if(e)throw new x8("TOO_LONG");return}if(!1===r)return c;var a=c.search(JO3);if(!(a<0))return c.slice(a).replace(XO3,"")}}(l,e,r)}});if(!a)return{};if(!function RB3(c){return c.length>=RC&&PB3.test(c)}(a))return function BB3(c){return EB3.test(c)}(a)?{error:"TOO_SHORT"}:{};var t=function OB3(c){var r=c.search(Ch1);if(r<0)return{};for(var e=c.slice(0,r),a=c.match(Ch1),t=1;t0&&"0"===l[1]))return c}}}(c,r,e,a);if(!i||i===c){if(r||e){var l=function NO3(c,r,e,a){var t=r?Rl(r,a):e;if(0===c.indexOf(t)){(a=new L3(a)).selectNumberingPlan(r,e);var i=c.slice(t.length),d=WC(i,a).nationalNumber,p=WC(c,a).nationalNumber;if(!Me(p,a.nationalNumberPattern())&&Me(d,a.nationalNumberPattern())||"TOO_LONG"===$C(p,a))return{countryCallingCode:t,number:i}}return{number:c}}(c,r,e,a),d=l.countryCallingCode;if(d)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:d,number:l.number}}return{number:c}}t=!0,c="+"+i}if("0"===c[1])return{};a=new L3(a);for(var p=2;p-1<=fB3&&p<=c.length;){var z=c.slice(1,p);if(a.hasCallingCode(z))return a.selectNumberingPlan(z),{countryCallingCodeSource:t?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:z,number:c.slice(p)};p++}return{}}(Lh1(c),r,e,a.metadata),i=t.countryCallingCodeSource,l=t.countryCallingCode,d=t.number;if(l)a.selectNumberingPlan(l);else{if(!d||!r&&!e)return{};a.selectNumberingPlan(r,e),r?u=r:eI3&&a.isNonGeographicCallingCode(e)&&(u="001"),l=e||Rl(r,a.metadata)}if(!d)return{countryCallingCodeSource:i,countryCallingCode:l};var p=WC(Lh1(d),a),z=p.nationalNumber,x=p.carrierCode,E=RO3(l,{nationalNumber:z,defaultCountry:r,metadata:a});return E&&(u=E,"001"===E||a.country(u)),{country:u,countryCallingCode:l,countryCallingCodeSource:i,nationalNumber:z,carrierCode:x}}(t,r.defaultCountry,r.defaultCallingCode,e),u=d.country,p=d.nationalNumber,z=d.countryCallingCode,x=d.countryCallingCodeSource,E=d.carrierCode;if(!e.hasSelectedNumberingPlan()){if(r.v2)throw new x8("INVALID_COUNTRY");return{}}if(!p||p.lengthlB3){if(r.v2)throw new x8("TOO_LONG");return{}}if(r.v2){var P=new LO3(z,p,e.metadata);return u&&(P.country=u),E&&(P.carrierCode=E),i&&(P.ext=i),P.__countryCallingCodeSource=x,P}var Y=!!(r.extended?e.hasSelectedNumberingPlan():u)&&Me(p,e.nationalNumberPattern());return r.extended?{country:u,countryCallingCode:z,carrierCode:E,valid:Y,possible:!!Y||!(!0!==r.extended||!e.possibleLengths()||!xh1(p,e)),phone:p,ext:i}:Y?function tI3(c,r,e){var a={country:c,phone:r};return e&&(a.ext=e),a}(u,p,i):{}}function Uh1(c,r){var e=Object.keys(c);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(c);r&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(c,t).enumerable})),e.push.apply(e,a)}return e}function jh1(c){for(var r=1;rc.length)&&(r=c.length);for(var e=0,a=new Array(r);er.code;function HI3(c,r){if(1&c){const e=j();o(0,"button",38),C("click",function(){const t=y(e).$implicit;return b(h(2).selectPrefix(t))}),o(1,"div",39),f(2),n()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.text," ")}}function CI3(c,r){if(1&c&&(o(0,"div",30)(1,"ul",36)(2,"li"),c1(3,HI3,3,1,"button",37,vI3),n()()()),2&c){const e=h();s(3),a1(e.prefixes)}}function zI3(c,r){if(1&c){const e=j();o(0,"button",40),C("click",function(){return y(e),b(h().createBilling())}),f(1),m(2,"translate"),n()}if(2&c){const e=h();k("disabled",!e.billingForm.valid)("ngClass",e.billingForm.valid?"hover:bg-primary-50 dark:hover:bg-primary-200":"opacity-50"),s(),V(" ",_(2,3,"BILLING._add")," ")}}function VI3(c,r){if(1&c){const e=j();o(0,"button",41),C("click",function(){return y(e),b(h().updateBilling())}),f(1),m(2,"translate"),n()}if(2&c){const e=h();k("disabled",!e.billingForm.valid)("ngClass",e.billingForm.valid?"hover:bg-primary-50 dark:hover:bg-primary-200":"opacity-50"),s(),V(" ",_(2,3,"BILLING._update")," ")}}function MI3(c,r){1&c&&(o(0,"div",45),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"BILLING._invalid_phone")))}function LI3(c,r){1&c&&(o(0,"div",45),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"BILLING._invalid_email")))}function yI3(c,r){if(1&c&&(o(0,"div",34)(1,"div",42),w(),o(2,"svg",43),v(3,"path",44),n()(),O(),o(4,"div"),R(5,MI3,3,3,"div",45)(6,LI3,3,3,"div",45),n(),o(7,"button",46)(8,"span",47),f(9,"Close"),n(),w(),o(10,"svg",48),v(11,"path",49),n()()()),2&c){let e,a;const t=h();s(5),S(5,1==(null==(e=t.billingForm.get("telephoneNumber"))||null==e.errors?null:e.errors.invalidPhoneNumber)?5:-1),s(),S(6,1==(null==(a=t.billingForm.get("email"))?null:a.invalid)?6:-1)}}function bI3(c,r){1&c&&v(0,"error-message",35),2&c&&k("message",h().errorMessage)}let QC=(()=>{class c{constructor(e,a,t,i,l){this.localStorage=e,this.cdr=a,this.router=t,this.accountService=i,this.eventMessage=l,this.billingForm=new S2({name:new u1("",[O1.required]),email:new u1("",[O1.required,O1.email,O1.pattern("^[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$")]),country:new u1(""),city:new u1(""),stateOrProvince:new u1(""),postCode:new u1(""),street:new u1(""),telephoneNumber:new u1("",[O1.required]),telephoneType:new u1("")}),this.prefixes=Nl,this.countries=qt,this.phonePrefix=Nl[0],this.prefixCheck=!1,this.toastVisibility=!1,this.loading=!1,this.is_create=!1,this.errorMessage="",this.showError=!1,this.eventMessage.messages$.subscribe(d=>{"ChangedSession"===d.type&&this.initUserData()})}ngOnInit(){this.loading=!0,this.is_create=null==this.billAcc,this.initUserData(),0==this.is_create?this.setDefaultValues():this.detectCountry()}initUserData(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0)if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}}setDefaultValues(){if(null!=this.billAcc){const e=Ra(this.billAcc.telephoneNumber);if(e){let a=this.prefixes.filter(t=>t.code==="+"+e.countryCallingCode);a.length>0&&(this.phonePrefix=a[0]),this.billingForm.controls.telephoneNumber.setValue(e.nationalNumber)}this.billingForm.controls.name.setValue(this.billAcc.name),this.billingForm.controls.email.setValue(this.billAcc.email),this.billingForm.controls.country.setValue(this.billAcc.postalAddress.country),this.billingForm.controls.city.setValue(this.billAcc.postalAddress.city),this.billingForm.controls.stateOrProvince.setValue(this.billAcc.postalAddress.stateOrProvince),this.billingForm.controls.street.setValue(this.billAcc.postalAddress.street),this.billingForm.controls.postCode.setValue(this.billAcc.postalAddress.postCode),this.billingForm.controls.telephoneType.setValue(this.billAcc.telephoneType)}this.cdr.detectChanges()}createBilling(){this.localStorage.getObject("login_items");const a=Ra(this.phonePrefix.code+this.billingForm.value.telephoneNumber);if(a){if(!a.isValid())return console.log("NUMERO INVALIDO"),this.billingForm.controls.telephoneNumber.setErrors({invalidPhoneNumber:!0}),this.toastVisibility=!0,void setTimeout(()=>{this.toastVisibility=!1},2e3);this.billingForm.controls.telephoneNumber.setErrors(null),this.toastVisibility=!1}if(this.billingForm.invalid)return this.toastVisibility=!0,void setTimeout(()=>{this.toastVisibility=!1},2e3);this.accountService.postBillingAccount({name:this.billingForm.value.name,contact:[{contactMedium:[{mediumType:"Email",preferred:this.preferred,characteristic:{contactType:"Email",emailAddress:this.billingForm.value.email}},{mediumType:"PostalAddress",preferred:this.preferred,characteristic:{contactType:"PostalAddress",city:this.billingForm.value.city,country:this.billingForm.value.country,postCode:this.billingForm.value.postCode,stateOrProvince:this.billingForm.value.stateOrProvince,street1:this.billingForm.value.street}},{mediumType:"TelephoneNumber",preferred:this.preferred,characteristic:{contactType:this.billingForm.value.telephoneType,phoneNumber:this.phonePrefix.code+this.billingForm.value.telephoneNumber}}]}],relatedParty:[{href:this.partyId,id:this.partyId,role:"Owner"}],state:"Defined"}).subscribe({next:i=>{this.eventMessage.emitBillAccChange(!0),this.billingForm.reset()},error:i=>{console.error("There was an error while creating!",i),i.error.error?(console.log(i),this.errorMessage="Error: "+i.error.error):this.errorMessage="There was an error while creating billing account!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}updateBilling(){this.localStorage.getObject("login_items");const a=Ra(this.phonePrefix.code+this.billingForm.value.telephoneNumber);if(a){if(!a.isValid())return console.log("NUMERO INVALIDO"),this.billingForm.controls.telephoneNumber.setErrors({invalidPhoneNumber:!0}),this.toastVisibility=!0,void setTimeout(()=>{this.toastVisibility=!1},2e3);this.billingForm.controls.telephoneNumber.setErrors(null),this.toastVisibility=!1}if(this.billingForm.invalid)return 1==this.billingForm.get("email")?.invalid?this.billingForm.controls.email.setErrors({invalidEmail:!0}):this.billingForm.controls.email.setErrors(null),this.toastVisibility=!0,void setTimeout(()=>{this.toastVisibility=!1},2e3);null!=this.billAcc&&this.accountService.updateBillingAccount(this.billAcc.id,{name:this.billingForm.value.name,contact:[{contactMedium:[{mediumType:"Email",preferred:this.billAcc.selected,characteristic:{contactType:"Email",emailAddress:this.billingForm.value.email}},{mediumType:"PostalAddress",preferred:this.billAcc.selected,characteristic:{contactType:"PostalAddress",city:this.billingForm.value.city,country:this.billingForm.value.country,postCode:this.billingForm.value.postCode,stateOrProvince:this.billingForm.value.stateOrProvince,street1:this.billingForm.value.street}},{mediumType:"TelephoneNumber",preferred:this.billAcc.selected,characteristic:{contactType:this.billingForm.value.telephoneType,phoneNumber:this.phonePrefix.code+this.billingForm.value.telephoneNumber}}]}],relatedParty:[{href:this.partyId,id:this.partyId,role:"Owner"}],state:"Defined"}).subscribe({next:i=>{this.eventMessage.emitBillAccChange(!1),this.billingForm.reset()},error:i=>{console.error("There was an error while updating!",i),i.error.error?(console.log(i),this.errorMessage="Error: "+i.error.error):this.errorMessage="There was an error while updating billing account!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}selectPrefix(e){console.log(e),this.prefixCheck=!1,this.phonePrefix=e}detectCountry(){let i=function gI3(){return fh1(Rl,arguments)}(navigator.language.split("-")[1].toUpperCase());if(i){let l=this.prefixes.filter(d=>d.code==="+"+i);l.length>0&&(this.phonePrefix=l[0])}}static#e=this.\u0275fac=function(a){return new(a||c)(B(R1),B(B1),B(Z1),B(O2),B(e2))};static#c=this.\u0275cmp=V1({type:c,selectors:[["app-billing-account-form"]],inputs:{billAcc:"billAcc",preferred:"preferred"},decls:68,vars:36,consts:[["novalidate","",1,"grid","h-full","grid-cols-2","gap-5","m-4",3,"formGroup"],[1,"col-span-2"],["for","title",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],["id","title","formControlName","name","name","title","type","text",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","address.country",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],["id","address.country","formControlName","country","name","address.country","type","text",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","address.city",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],["id","address.city","formControlName","city","name","address.city","type","text",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","address.state",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],["id","address.state","formControlName","stateOrProvince","name","address.state","type","text",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","address.zip",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],["id","address.zip","formControlName","postCode","name","address.zip","type","text",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","address.street_address",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],["id","address.street_address","formControlName","street","name","address.street_address","rows","4",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","email",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],["id","email","formControlName","email","name","email","type","text",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],[1,"col-span-2","lg:col-span-1"],["for","phoneType",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],["id","phoneType","formControlName","telephoneType",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["value","Mobile"],["value","Landline"],["value","Office"],["value","Home"],["value","Other"],["for","phoneNumber",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],[1,"w-full"],[1,"relative","flex","items-center"],["type","button",1,"mb-2","flex-shrink-0","z-10","inline-flex","items-center","py-2.5","px-4","text-sm","font-medium","text-center","text-gray-900","bg-gray-100","border","border-gray-300","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","rounded-s-lg","hover:bg-gray-200","dark:hover:bg-primary-200","focus:ring-4","focus:outline-none","focus:ring-gray-100",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 10 6",1,"w-2.5","h-2.5","ms-2.5"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 4 4 4-4"],[1,"absolute","bottom-12","right-0","z-20","max-h-48","w-full","bg-white","divide-y","divide-gray-100","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","rounded-lg","shadow","overflow-y-auto"],["id","phoneNumber","formControlName","telephoneNumber","name","phoneNumber","type","number",1,"mb-2","bg-gray-50","border","text-gray-900","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5","dark:bg-secondary-300","dark:text-white",3,"ngClass"],[1,"flex","w-full","justify-end","col-span-2"],["type","button",1,"m-2","flex","w-fit","justify-center","items-center","py-3","px-5","text-base","font-medium","text-center","text-white","rounded-lg","bg-primary-100","focus:ring-4","focus:ring-primary-300","dark:focus:ring-primary-900",3,"disabled","ngClass"],["id","toast-warning","role","alert",1,"flex","m-2","items-center","w-fit","max-w-xs","p-4","text-gray-500","bg-white","rounded-lg","shadow","dark:text-gray-400","dark:bg-gray-800","fixed","top-1/2","right-0","z-50","justify-center"],[1,"fixed","w-fit","top-1/2","left-1/2","z-50",3,"message"],["aria-labelledby","dropdown-phone-button",1,"py-2","text-sm","text-gray-700"],["type","button","role","menuitem",1,"inline-flex","w-full","px-4","py-2","text-sm","text-gray-700","dark:text-white","hover:bg-gray-100","dark:hover:bg-secondary-200"],["type","button","role","menuitem",1,"inline-flex","w-full","px-4","py-2","text-sm","text-gray-700","dark:text-white","hover:bg-gray-100","dark:hover:bg-secondary-200",3,"click"],[1,"inline-flex","items-center"],["type","button",1,"m-2","flex","w-fit","justify-center","items-center","py-3","px-5","text-base","font-medium","text-center","text-white","rounded-lg","bg-primary-100","focus:ring-4","focus:ring-primary-300","dark:focus:ring-primary-900",3,"click","disabled","ngClass"],[1,"m-2","flex","w-fit","justify-center","items-center","py-3","px-5","text-base","font-medium","text-center","text-white","rounded-lg","bg-primary-100","focus:ring-4","focus:ring-primary-300","dark:focus:ring-primary-900",3,"click","disabled","ngClass"],[1,"inline-flex","items-center","justify-center","flex-shrink-0","w-8","h-8","bg-red-700","text-red-200","rounded-lg"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-5","h-5"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM10 15a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm1-4a1 1 0 0 1-2 0V6a1 1 0 0 1 2 0v5Z"],[1,"block","ms-3","text-sm","font-normal"],["type","button","data-dismiss-target","#toast-warning","aria-label","Close",1,"ms-auto","-mx-1.5","-my-1.5","bg-white","text-gray-400","hover:text-gray-900","rounded-lg","focus:ring-2","focus:ring-gray-300","p-1.5","hover:bg-gray-100","inline-flex","items-center","justify-center","h-8","w-8","dark:text-gray-500","dark:hover:text-white","dark:bg-gray-800","dark:hover:bg-gray-700"],[1,"sr-only"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-3","h-3"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"]],template:function(a,t){if(1&a&&(o(0,"form",0)(1,"div",1)(2,"label",2),f(3),m(4,"translate"),n(),v(5,"input",3),n(),o(6,"div")(7,"label",4),f(8),m(9,"translate"),n(),v(10,"input",5),n(),o(11,"div")(12,"label",6),f(13),m(14,"translate"),n(),v(15,"input",7),n(),o(16,"div")(17,"label",8),f(18),m(19,"translate"),n(),v(20,"input",9),n(),o(21,"div")(22,"label",10),f(23),m(24,"translate"),n(),v(25,"input",11),n(),o(26,"div",1)(27,"label",12),f(28),m(29,"translate"),n(),v(30,"textarea",13),n(),o(31,"div",1)(32,"label",14),f(33),m(34,"translate"),n(),v(35,"input",15),n(),o(36,"div",16)(37,"label",17),f(38),m(39,"translate"),n(),o(40,"select",18)(41,"option",19),f(42,"Mobile"),n(),o(43,"option",20),f(44,"Landline"),n(),o(45,"option",21),f(46,"Office"),n(),o(47,"option",22),f(48,"Home"),n(),o(49,"option",23),f(50,"Other"),n()()(),o(51,"div",16)(52,"label",24),f(53),m(54,"translate"),n(),o(55,"div",25)(56,"div",26)(57,"button",27),C("click",function(){return t.prefixCheck=!t.prefixCheck}),f(58),w(),o(59,"svg",28),v(60,"path",29),n()(),R(61,CI3,5,0,"div",30),O(),v(62,"input",31),n()()(),o(63,"div",32),R(64,zI3,3,5,"button",33)(65,VI3,3,5),n()(),R(66,yI3,12,2,"div",34)(67,bI3,1,1,"error-message",35)),2&a){let i,l;k("formGroup",t.billingForm),s(3),H(_(4,18,"BILLING._title")),s(5),H(_(9,20,"BILLING._country")),s(5),H(_(14,22,"BILLING._city")),s(5),H(_(19,24,"BILLING._state")),s(5),H(_(24,26,"BILLING._post_code")),s(5),H(_(29,28,"BILLING._street")),s(5),H(_(34,30,"BILLING._email")),s(2),k("ngClass",1==(null==(i=t.billingForm.get("email"))?null:i.invalid)&&""!=t.billingForm.value.email?"border-red-600":"border-gray-300"),s(3),H(_(39,32,"BILLING._phone_type")),s(15),H(_(54,34,"BILLING._phone")),s(5),j1(" ",t.phonePrefix.flag," ",t.phonePrefix.code," "),s(3),S(61,1==t.prefixCheck?61:-1),s(),k("ngClass",1==(null==(l=t.billingForm.get("telephoneNumber"))||null==l.errors?null:l.errors.invalidPhoneNumber)?"border-red-600":"border-gray-300 dark:border-secondary-200"),s(2),S(64,t.is_create?64:65),s(2),S(66,t.toastVisibility?66:-1),s(),S(67,t.showError?67:-1)}},dependencies:[k2,I4,x6,w6,H4,Ta,Ea,N4,O4,X4,f3,C4,J1]})}return c})();function xI3(c,r){if(1&c){const e=j();o(0,"div",11)(1,"div",25),C("click",function(t){return y(e),b(t.stopPropagation())}),o(2,"div",26)(3,"h5",27),f(4),m(5,"translate"),n(),o(6,"button",28),C("click",function(){return y(e),b(h().editBill=!1)}),w(),o(7,"svg",17),v(8,"path",18),n(),O(),o(9,"span",6),f(10),m(11,"translate"),n()()(),o(12,"div",29),v(13,"app-billing-account-form",30),n()()()}if(2&c){const e=h();k("ngClass",e.editBill?"backdrop-blur-sm":""),s(4),V("",_(5,4,"BILLING._edit"),":"),s(6),H(_(11,6,"CARD._close")),s(3),k("billAcc",e.data)}}function wI3(c,r){if(1&c){const e=j();o(0,"div",12)(1,"div",31),C("click",function(t){return y(e),b(t.stopPropagation())}),o(2,"div",32)(3,"button",33),C("click",function(t){return y(e),h().deleteBill=!1,b(t.stopPropagation())}),w(),o(4,"svg",34),v(5,"path",10),n(),O(),o(6,"span",6),f(7,"Close modal"),n()(),w(),o(8,"svg",35),v(9,"path",36),n(),O(),o(10,"p",37),f(11),m(12,"translate"),n(),o(13,"p",38)(14,"b"),f(15),n(),f(16),n(),o(17,"div",39)(18,"button",40),C("click",function(t){return y(e),h().deleteBill=!1,b(t.stopPropagation())}),f(19),m(20,"translate"),n(),o(21,"button",41),C("click",function(){y(e);const t=h();return b(t.onDeletedBill(t.data))}),f(22),m(23,"translate"),n()()()()()}if(2&c){const e=h();k("ngClass",e.deleteBill?"backdrop-blur-sm":""),s(11),H(_(12,8,"BILLING._confirm_delete")),s(4),H(e.data.name),s(),H6(": ",e.data.postalAddress.street,", ",e.data.postalAddress.city,", ",e.data.postalAddress.country,"."),s(3),V(" ",_(20,10,"BILLING._cancel")," "),s(3),V(" ",_(23,12,"BILLING._delete")," ")}}let FI3=(()=>{class c{constructor(e,a,t){this.localStorage=e,this.accountService=a,this.eventMessage=t,this.position=0,this.data={id:"",href:"",name:"",email:"",postalAddress:{city:"",country:"",postCode:"",stateOrProvince:"",street:""},telephoneNumber:"",telephoneType:"",selected:!1},this.selectedEvent=new Y1,this.deletedEvent=new Y1,this.editBill=!1,this.deleteBill=!1,this.eventMessage.messages$.subscribe(i=>{0==i.value&&(this.editBill=!1)})}onClick(){1==this.editBill&&(this.editBill=!1),1==this.deleteBill&&(this.deleteBill=!1)}selectBillingAddress(e){this.selectedEvent.emit(this.data),this.data.selected=!0}deleteBAddr(){console.log("deleting "+this.data.id),this.deletedEvent.emit(this.data)}onDeletedBill(e){console.log("--- DELETE BILLING ADDRESS ---"),this.deleteBill=!1}static#e=this.\u0275fac=function(a){return new(a||c)(B(R1),B(O2),B(e2))};static#c=this.\u0275cmp=V1({type:c,selectors:[["app-billing-address"]],hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},inputs:{position:"position",data:"data"},outputs:{selectedEvent:"selectedEvent",deletedEvent:"deletedEvent"},decls:36,vars:13,consts:[["role","radio","aria-checked","true","tabindex","0"],[1,"group","relative","cursor-pointer","rounded","border","p-4","hover:border-primary-50","border-primary-100","shadow-sm",3,"click","ngClass"],[1,"mb-3","text-sm","font-semibold","capitalize","text-heading","dark:text-white"],[1,"text-sm","text-sub-heading","dark:text-gray-200","text-wrap","break-all"],[1,"absolute","top-4","flex","space-x-2","opacity-0","group-hover:opacity-100","right-4"],[1,"flex","h-5","w-5","items-center","justify-center","rounded-full","bg-accent","text-light","dark:text-white",3,"click"],[1,"sr-only"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 20 20","fill","currentColor",1,"h-3","w-3"],["d","M13.586 3.586a2 2 0 112.828 2.828l-.793.793-2.828-2.828.793-.793zM11.379 5.793L3 14.172V17h2.828l8.38-8.379-2.83-2.828z"],[1,"flex","h-5","w-5","items-center","justify-center","rounded-full","bg-red-600","text-light",3,"click"],["fill-rule","evenodd","d","M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule","evenodd"],["id","edit-bill-modal","tabindex","-1","aria-hidden","true",1,"flex","justify-center","overflow-y-auto","overflow-x-hidden","fixed","top-0","right-0","left-0","z-50","justify-center","items-center","w-full","md:inset-0","h-[calc(100%-1rem)]","max-h-full","shadow-2xl",3,"ngClass"],["id","delete-bill-modal","tabindex","-1","aria-hidden","true",1,"flex","overflow-y-auto","overflow-x-hidden","fixed","top-0","right-0","left-0","z-50","justify-center","items-center","w-full","md:inset-0","h-modal","md:h-full","shadow-2xl",3,"ngClass"],["tabindex","-1",1,"hidden","overflow-y-auto","overflow-x-hidden","fixed","top-0","right-0","left-0","z-50","justify-center","items-center","w-full","md:inset-0","h-[calc(100%-1rem)]","max-h-full"],[1,"relative","p-4","w-full","max-w-md","max-h-full"],[1,"relative","bg-white","rounded-lg","shadow","dark:bg-gray-700"],["type","button","data-modal-hide","popup-modal",1,"absolute","top-3","end-2.5","text-gray-400","bg-transparent","hover:bg-gray-200","hover:text-gray-900","rounded-lg","text-sm","w-8","h-8","ms-auto","inline-flex","justify-center","items-center","dark:hover:bg-gray-600","dark:hover:text-white"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-3","h-3"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"],[1,"p-4","md:p-5","text-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 20 20",1,"mx-auto","mb-4","text-gray-400","w-12","h-12","dark:text-gray-200"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 11V6m0 8h.01M19 10a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"],[1,"mb-5","text-lg","font-normal","text-gray-500","dark:text-gray-400"],["type","button",1,"text-white","bg-red-600","hover:bg-red-800","focus:ring-4","focus:outline-none","focus:ring-red-300","dark:focus:ring-red-800","font-medium","rounded-lg","text-sm","inline-flex","items-center","px-5","py-2.5","text-center",3,"click"],["type","button",1,"py-2.5","px-5","ms-3","text-sm","font-medium","text-gray-900","focus:outline-none","bg-white","rounded-lg","border","border-gray-200","hover:bg-gray-100","hover:text-blue-700","focus:z-10","focus:ring-4","focus:ring-gray-100","dark:focus:ring-gray-700","dark:bg-gray-800","dark:text-gray-400","dark:border-gray-600","dark:hover:text-white","dark:hover:bg-gray-700"],[1,"w-1/2","relative","bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","rounded-lg","shadow","bg-cover","bg-right-bottom",3,"click"],[1,"flex","items-center","justify-between","pr-2","pt-2","rounded-t","dark:border-gray-600"],[1,"text-xl","ml-4","mr-4","font-semibold","tracking-tight","text-primary-100","dark:text-primary-100"],["type","button","data-modal-hide","edit-bill-modal",1,"text-gray-400","bg-transparent","hover:bg-gray-200","hover:text-gray-900","rounded-lg","text-sm","w-8","h-8","ms-auto","inline-flex","justify-center","items-center","dark:hover:bg-gray-600","dark:hover:text-white",3,"click"],[1,"w-full","h-full"],[3,"billAcc"],[1,"relative","p-4","w-full","max-w-md","h-full","md:h-auto",3,"click"],[1,"relative","p-4","text-center","bg-secondary-50","dark:bg-secondary-100","rounded-lg","shadow","sm:p-5"],["type","button",1,"text-gray-400","absolute","top-2.5","right-2.5","bg-transparent","hover:bg-gray-200","hover:text-gray-900","rounded-lg","text-sm","p-1.5","ml-auto","inline-flex","items-center",3,"click"],["aria-hidden","true","fill","currentColor","viewBox","0 0 20 20","xmlns","http://www.w3.org/2000/svg",1,"w-5","h-5"],["aria-hidden","true","fill","currentColor","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg",1,"text-gray-400","w-12","h-12","mb-3.5","mx-auto"],["fill-rule","evenodd","d","M9 2a1 1 0 00-.894.553L7.382 4H4a1 1 0 000 2v10a2 2 0 002 2h8a2 2 0 002-2V6a1 1 0 100-2h-3.382l-.724-1.447A1 1 0 0011 2H9zM7 8a1 1 0 012 0v6a1 1 0 11-2 0V8zm5-1a1 1 0 00-1 1v6a1 1 0 102 0V8a1 1 0 00-1-1z","clip-rule","evenodd"],[1,"mb-4","text-gray-500","dark:text-white"],[1,"mb-4","text-gray-500","dark:text-white","text-wrap","break-all"],[1,"flex","justify-center","items-center","space-x-4"],["type","button",1,"py-2","px-3","text-sm","font-medium","text-gray-500","dark:text-white","bg-white","dark:bg-primary-100","rounded-lg","border","border-gray-200","dark:border-secondary-300","hover:bg-gray-100","dark:hover:bg-secondary-200","focus:ring-4","focus:outline-none","focus:ring-primary-300","hover:text-gray-900","focus:z-10",3,"click"],["type","submit",1,"py-2","px-3","text-sm","font-medium","text-center","text-white","bg-red-800","hover:bg-red-900","rounded-lg","focus:ring-4","focus:outline-none","focus:ring-red-300",3,"click"]],template:function(a,t){1&a&&(o(0,"div",0)(1,"div",1),C("click",function(l){return t.selectBillingAddress(l)}),o(2,"p",2),f(3),n(),o(4,"p",3),f(5),n(),o(6,"div",4)(7,"button",5),C("click",function(l){return t.editBill=!0,l.stopPropagation()}),o(8,"span",6),f(9,"Edit"),n(),w(),o(10,"svg",7),v(11,"path",8),n()(),O(),o(12,"button",9),C("click",function(l){return t.deleteBill=!0,l.stopPropagation()}),o(13,"span",6),f(14,"Delete"),n(),w(),o(15,"svg",7),v(16,"path",10),n()()()()(),R(17,xI3,14,8,"div",11)(18,wI3,24,14,"div",12),O(),o(19,"div",13)(20,"div",14)(21,"div",15)(22,"button",16),w(),o(23,"svg",17),v(24,"path",18),n(),O(),o(25,"span",6),f(26,"Close modal"),n()(),o(27,"div",19),w(),o(28,"svg",20),v(29,"path",21),n(),O(),o(30,"h3",22),f(31),n(),o(32,"button",23),C("click",function(){return t.deleteBAddr()}),f(33," Yes, I'm sure "),n(),o(34,"button",24),f(35,"No, cancel"),n()()()()()),2&a&&(s(),k("ngClass",t.data.selected?"bg-primary-50/50 dark:bg-primary-100":"bg-gray-100 dark:bg-secondary-300"),s(2),H(t.data.name),s(2),Hh("",t.data.postalAddress.street,", ",t.data.postalAddress.postCode,", ",t.data.postalAddress.city,", ",t.data.postalAddress.stateOrProvince,", ",t.data.postalAddress.country,""),s(12),S(17,t.editBill?17:-1),s(),S(18,t.deleteBill?18:-1),s(),A2("id","popup-modal_"+t.position),s(12),V("Are you sure you want to delete the billing address called ",t.data.name,"?"),s(),A2("data-modal-hide","popup-modal_"+t.position),s(2),A2("data-modal-hide","popup-modal_"+t.position))},dependencies:[k2,QC,J1]})}return c})();const Gh1=(c,r)=>r.id;function kI3(c,r){1&c&&(o(0,"div",0)(1,"div",36)(2,"span",37),f(3),m(4,"translate"),n(),w(),o(5,"svg",38),v(6,"circle",39)(7,"path",40),n()()()),2&c&&(s(3),H(_(4,1,"SHOPPING_CART._loading_purchase")))}function SI3(c,r){if(1&c){const e=j();o(0,"app-billing-address",42),C("selectedEvent",function(t){return y(e),b(h(2).onSelected(t))})("deletedEvent",function(t){return y(e),b(h(2).onDeleted(t))}),n()}if(2&c){const a=r.$index;k("data",r.$implicit)("position",a)}}function NI3(c,r){if(1&c&&(o(0,"div",20),c1(1,SI3,1,2,"app-billing-address",41,Gh1),n()),2&c){const e=h();s(),a1(e.billingAddresses)}}function DI3(c,r){1&c&&v(0,"app-billing-account-form",43),2&c&&k("preferred",!0)}function TI3(c,r){1&c&&v(0,"img",45),2&c&&E1("src",h().$implicit.image,H2)}function EI3(c,r){1&c&&v(0,"img",52)}function AI3(c,r){if(1&c&&(o(0,"div",48)(1,"span",53),f(2),n(),o(3,"span",54),f(4),n()()),2&c){let e,a;const t=h().$implicit,i=h();s(2),j1("",null==(e=i.getPrice(t))?null:e.price," ",null==(e=i.getPrice(t))?null:e.unit,""),s(2),H(null==(a=i.getPrice(t))?null:a.text)}}function PI3(c,r){if(1&c){const e=j();o(0,"div",27)(1,"button",44),C("click",function(){const t=y(e).$implicit;return b(h().deleteProduct(t))}),R(2,TI3,1,1,"img",45)(3,EI3,1,0),n(),o(4,"div",46)(5,"p",47),f(6),n()(),o(7,"div",46),R(8,AI3,5,3,"div",48),n(),o(9,"div",46)(10,"button",49),C("click",function(){const t=y(e).$implicit;return b(h().deleteProduct(t))}),w(),o(11,"svg",50),v(12,"path",51),n()()()()}if(2&c){const e=r.$implicit;s(2),S(2,e.image?2:3),s(4),H(e.name),s(2),S(8,e.options.pricing?8:-1)}}function RI3(c,r){if(1&c&&(o(0,"p",30),f(1),n()),2&c){const e=r.$implicit,a=h();s(),j1("",a.formatter.format(e.price)," ",e.text?e.text:"single","")}}function BI3(c,r){1&c&&(o(0,"span",30),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"SHOPPING_CART._calculated")))}function OI3(c,r){1&c&&(o(0,"span",30),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"SHOPPING_CART._free")))}function II3(c,r){1&c&&R(0,BI3,3,3,"span",30)(1,OI3,3,3),2&c&&S(0,h().check_custom?0:1)}function UI3(c,r){if(1&c){const e=j();o(0,"div",34)(1,"div",55),C("click",function(t){return y(e),b(t.stopPropagation())}),o(2,"div",56)(3,"h2",57),f(4),m(5,"translate"),n(),o(6,"button",58),C("click",function(){return y(e),b(h().addBill=!1)}),w(),o(7,"svg",59),v(8,"path",51),n(),O(),o(9,"span",60),f(10),m(11,"translate"),n()()(),o(12,"div",61),v(13,"app-billing-account-form",43),n()()()}if(2&c){const e=h();k("ngClass",e.addBill?"backdrop-blur-sm":""),s(4),V("",_(5,4,"BILLING._add"),":"),s(6),H(_(11,6,"CARD._close")),s(3),k("preferred",e.preferred)}}function jI3(c,r){1&c&&v(0,"error-message",35),2&c&&k("message",h().errorMessage)}class Ol{static#e=this.BASE_URL=_1.BASE_URL;constructor(r,e,a,t,i,l,d,u,p){this.localStorage=r,this.account=e,this.orderService=a,this.eventMessage=t,this.priceService=i,this.cartService=l,this.api=d,this.cdr=u,this.router=p,this.faCartShopping=ya,this.PURCHASE_ENABLED=_1.PURCHASE_ENABLED,this.TAX_RATE=_1.TAX_RATE,this.items=[],this.showBackDrop=!0,this.billingAddresses=[],this.loading=!1,this.loading_baddrs=!1,this.addBill=!1,this.relatedParty="",this.contact={email:"",username:""},this.preferred=!1,this.loading_purchase=!1,this.check_custom=!1,this.errorMessage="",this.showError=!1,this.eventMessage.messages$.subscribe(z=>{"BillAccChanged"===z.type&&this.getBilling(),1==z.value&&(this.addBill=!1),"ChangedSession"===z.type&&this.initCheckoutData()})}onClick(){1==this.addBill&&(this.addBill=!1,this.cdr.detectChanges())}getPrice(r){return null!=r.options.pricing?"custom"==r.options.pricing.priceType?(this.check_custom=!0,null):{priceType:r.options.pricing.priceType,price:r.options.pricing.price?.value,unit:r.options.pricing.price?.unit,text:r.options.pricing.priceType?.toLocaleLowerCase()==b6.PRICE.RECURRING?r.options.pricing.recurringChargePeriodType:r.options.pricing.priceType?.toLocaleLowerCase()==b6.PRICE.USAGE?"/ "+r.options.pricing?.unitOfMeasure?.units:""}:null}getTotalPrice(){this.totalPrice=[];let r=!1;this.check_custom=!1,this.cdr.detectChanges();let e={};for(let a=0;a{console.log(t),console.log("PROD ORDER DONE"),r.cartService.emptyShoppingCart().subscribe({next:i=>{console.log(i),console.log("EMPTY")},error:i=>{r.loading_purchase=!1,r.cdr.detectChanges(),console.error("There was an error while updating!",i.error),i.error.error?(console.log(i),r.errorMessage="Error: "+i.error.error):r.errorMessage="There was an error while purchasing!",r.showError=!0,setTimeout(()=>{r.showError=!1},3e3)}}),r.loading_purchase=!1,r.goToInventory()},error:t=>{r.loading_purchase=!1,r.cdr.detectChanges(),console.error("There was an error during purchase!",t),t.error.error?(console.log(t),r.errorMessage="Error: "+t.error.error):r.errorMessage="There was an error while purchasing!",r.showError=!0,setTimeout(()=>{r.showError=!1},3e3)}})})()}ngOnInit(){this.formatter=new Intl.NumberFormat("es-ES",{style:"currency",currency:"EUR"}),this.initCheckoutData()}initCheckoutData(){let r=this.localStorage.getObject("login_items");if(r&&(this.contact.email=r.email,this.contact.username=r.username),r.logged_as==r.id)this.relatedParty=r.partyId;else{let e=r.organizations.find(a=>a.id==r.logged_as);this.relatedParty=e.partyId}console.log("--- Login Info ---"),console.log(r),this.cartService.getShoppingCart().then(e=>{console.log("---CARRITO API---"),console.log(e),this.items=e,this.cdr.detectChanges(),this.getTotalPrice(),console.log("------------------")}),console.log("--- ITEMS ---"),console.log(this.items),this.loading_baddrs=!0,this.getBilling()}getBilling(){let r=!1;this.billingAddresses=[],this.account.getBillingAccount().then(e=>{for(let a=0;a0)})}onSelected(r){for(let e of this.billingAddresses)e.selected=!1;this.selectedBillingAddress=r}onDeleted(r){console.log("Deleting billing account")}deleteProduct(r){this.cartService.removeItemShoppingCart(r.id).subscribe(()=>console.log("deleted")),this.eventMessage.emitRemovedCartItem(r),this.cartService.getShoppingCart().then(e=>{console.log("---CARRITO API---"),console.log(e),this.items=e,this.cdr.detectChanges(),this.getTotalPrice(),console.log("------------------")})}static#c=this.\u0275fac=function(e){return new(e||Ol)(B(R1),B(O2),B(Y3),B(e2),B(M8),B(l3),B(p1),B(B1),B(Z1))};static#a=this.\u0275cmp=V1({type:Ol,selectors:[["app-checkout"]],hostBindings:function(e,a){1&e&&C("click",function(){return a.onClick()},0,d4)},decls:89,vars:44,consts:[[1,"absolute","bg-white","dark:bg-gray-400","dark:bg-opacity-60","bg-opacity-60","z-10","h-full","w-full","flex","items-center","justify-center"],[1,"container","mx-auto","px-4","py-8","lg:py-10","lg:px-8","xl:py-14","xl:px-16","2xl:px-20"],[1,"mb-4","pb-2","mt-4","text-4xl","font-extrabold","leading-none","tracking-tight","text-gray-900","md:text-4xl","lg:text-5xl","dark:text-white","w-full"],[1,"underline","underline-offset-3","decoration-8","decoration-primary-100","dark:decoration-primary-100"],[1,"m-auto","flex","w-full","flex-col","items-center","rtl:space-x-reverse","lg:flex-row","lg:items-start","lg:space-x-8"],[1,"w-full","space-y-6"],[1,"bg-secondary-50","dark:bg-secondary-100","p-5","shadow-700","md:p-8","rounded","rounded-lg"],[1,"mb-5","flex","items-center","justify-between","md:mb-8"],[1,"flex","items-center","space-x-3","rtl:space-x-reverse","md:space-x-4"],[1,"flex","h-8","w-8","items-center","justify-center","rounded-full","bg-primary-100","text-base","text-white","lg:text-xl"],[1,"text-lg","capitalize","text-heading","lg:text-xl","dark:text-white"],[1,"w-full"],[1,""],[1,"special-label","dark:text-white"],[1,"text-lg","text-heading","lg:text-xl","dark:text-white"],[1,"flex","items-center","text-sm","font-semibold","text-accent","dark:text-white","transition-colors","duration-200","hover:text-accent-hover","focus:text-accent-hover","focus:outline-0",3,"click"],["fill","none","viewBox","0 0 24 24","stroke","currentColor",1,"h-4","w-4","stroke-2","ltr:mr-0.5","rtl:ml-0.5"],["stroke-linecap","round","stroke-linejoin","round","d","M12 6v6m0 0v6m0-6h6m-6 0H6"],["id","billing-addresses","role","radiogroup","aria-labelledby","billing-addresses"],["id","billing-addresses-label","role","none",1,"sr-only"],["role","none",1,"grid","grid-cols-1","gap-4","sm:grid-cols-2","md:grid-cols-3"],[1,"block"],["id","large-input","name","orderNote","autocomplete","off","autocorrect","off","autocapitalize","off","spellcheck","false","rows","4",1,"flex","w-full","dark:text-white","dark:bg-secondary-300","dark:border-secondary-200","dark:focus:border-primary-100","items-center","rounded","px-4","py-3","text-sm","text-heading","transition","duration-300","ease-in-out","focus:outline-0","focus:ring-0","border","border-border-base","focus:border-accent"],[1,"w-full","lg:w-3/4","rounded","rounded-lg","bg-secondary-50","dark:bg-secondary-100","p-4","mt-8","lg:mt-0"],[1,"mb-4","flex","flex-col","items-center","space-x-4","rtl:space-x-reverse"],[1,"text-2xl","text-start","font-bold","dark:text-white"],[1,"flex","flex-col","border-b","border-border-200","py-3"],[1,"flex","justify-between","w-full","mt-2","mb-2","rounded-lg","bg-white","border-secondary-50","dark:bg-primary-100","dark:border-secondary-200","border","shadow-lg"],[1,"mt-4","space-y-2"],[1,"flex","justify-between","text-primary-100","font-bold"],[1,"text-sm","text-body","dark:text-gray-200"],[1,"flex","flex-col","items-end"],[1,"flex","justify-between"],[1,"inline-flex","items-center","justify-center","shrink-0","font-semibold","leading-none","rounded","outline-none","transition","duration-300","ease-in-out","focus:outline-0","focus:shadow","focus:ring-1","focus:ring-accent-700","bg-primary-50","dark:bg-primary-100","text-white","border","border-transparent","hover:bg-secondary-100","dark:hover:bg-primary-50","px-5","py-0","h-12","mt-5","w-full",3,"click","disabled"],["id","add-bill-modal","tabindex","-1","aria-hidden","true",1,"flex","justify-center","overflow-y-auto","overflow-x-hidden","fixed","top-0","right-0","left-0","z-50","justify-center","items-center","w-full","md:inset-0","h-fit","lg:h-[calc(100%-1rem)]","max-h-full","shadow-2xl",3,"ngClass"],[1,"fixed","w-fit","top-1/2","left-1/2","z-50",3,"message"],[1,"flex","items-center"],[1,"text-3xl","text-bold","mr-4","text-primary-100"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"animate-spin","h-8","w-8","text-primary-100"],["cx","12","cy","12","r","10","stroke","currentColor","stroke-width","4",1,"opacity-25"],["fill","currentColor","d","M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",1,"opacity-75"],[3,"data","position"],[3,"selectedEvent","deletedEvent","data","position"],[3,"preferred"],["type","button",1,"flex","p-2","box-decoration-clone",3,"click"],["alt","",1,"rounded-lg","w-fit","h-[100px]",3,"src"],[1,"p-2","flex","items-center"],[1,"text-lg","text-gray-700","dark:text-gray-200"],[1,"flex","place-content-center","flex-col"],["type","button",1,"h-fit","text-gray-700","dark:text-white","hover:bg-gray-300","hover:text-white","dark:hover:text-blue-700","focus:ring-4","font-medium","rounded-full","text-sm","p-2.5","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-[12px]","h-[12px]"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"],["src","https://placehold.co/600x400/svg","alt","",1,"rounded-lg","w-fit","h-[100px]"],[1,"text-3xl","font-bold","text-primary-100","dark:text-white","mr-3"],[1,"text-xs","text-primary-100","dark:text-white"],[1,"w-4/5","lg:w-1/2","relative","bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","rounded-lg","shadow","bg-cover","bg-right-bottom",3,"click"],[1,"flex","items-center","justify-between","pr-2","pt-2","rounded-t","dark:border-gray-600"],[1,"md:text-3xl","lg:text-4xl","font-bold","text-primary-100","ml-4","dark:text-white","m-4"],["type","button","data-modal-hide","edit-bill-modal",1,"text-gray-400","bg-transparent","hover:bg-gray-200","hover:text-gray-900","rounded-lg","text-sm","w-8","h-8","ms-auto","inline-flex","justify-center","items-center","dark:hover:bg-gray-600","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-3","h-3"],[1,"sr-only"],[1,"w-full","h-full"]],template:function(e,a){1&e&&(R(0,kI3,8,3,"div",0),o(1,"div",1)(2,"h1",2)(3,"span",3),f(4),m(5,"translate"),n()(),o(6,"div",4)(7,"div",5)(8,"div",6)(9,"div",7)(10,"div",8)(11,"span",9),f(12,"1"),n(),o(13,"p",10),f(14),m(15,"translate"),n()()(),o(16,"div",11)(17,"div",12)(18,"div",13),f(19),m(20,"translate"),n(),o(21,"p",14),f(22),n()()()(),o(23,"div",6)(24,"div",7)(25,"div",8)(26,"span",9),f(27,"2"),n(),o(28,"p",10),f(29),m(30,"translate"),n()(),o(31,"button",15),C("click",function(i){return a.addBill=!0,i.stopPropagation()}),w(),o(32,"svg",16),v(33,"path",17),n(),f(34," Add "),n()(),O(),o(35,"div",18)(36,"label",19),f(37),m(38,"translate"),n(),R(39,NI3,3,0,"div",20)(40,DI3,1,1),n()(),o(41,"div",6)(42,"div",7)(43,"div",8)(44,"span",9),f(45,"3"),n(),o(46,"p",10),f(47),m(48,"translate"),n()()(),o(49,"div",21)(50,"div")(51,"textarea",22),f(52," "),n()()()()(),o(53,"div",23)(54,"div",11)(55,"div",24)(56,"span",25),f(57),m(58,"translate"),n()(),o(59,"div",26),c1(60,PI3,13,3,"div",27,Gh1),n(),o(62,"div",28)(63,"div",29)(64,"p",30),f(65),m(66,"translate"),n(),o(67,"div",31),c1(68,RI3,2,2,"p",30,z1,!1,II3,2,1),n()(),o(71,"div",32)(72,"p",30),f(73,"Tax"),n(),o(74,"span",30),f(75),m(76,"translate"),n()(),o(77,"div",32)(78,"p",30),f(79),m(80,"translate"),n(),o(81,"span",30),f(82),m(83,"translate"),n()()(),o(84,"button",33),C("click",function(){return a.orderProduct()}),f(85),m(86,"translate"),n()()()()(),R(87,UI3,14,8,"div",34)(88,jI3,1,1,"error-message",35)),2&e&&(S(0,a.loading_purchase?0:-1),s(4),H(_(5,20,"SHOPPING_CART._checkout")),s(10),H(_(15,22,"SHOPPING_CART._contact")),s(5),H(_(20,24,"SHOPPING_CART._contact_person")),s(3),j1("",a.contact.username," ",a.contact.email,""),s(7),H(_(30,26,"SHOPPING_CART._billingAddress")),s(8),H(_(38,28,"SHOPPING_CART._billingAddress")),s(2),S(39,a.billingAddresses.length>0?39:40),s(8),H(_(48,30,"SHOPPING_CART._order_note")),s(10),H(_(58,32,"SHOPPING_CART._your_order")),s(3),a1(a.items),s(5),H(_(66,34,"SHOPPING_CART._subtotal")),s(3),a1(a.totalPrice),s(7),H(_(76,36,"SHOPPING_CART._calculated")),s(4),H(_(80,38,"SHOPPING_CART._fee")),s(3),H(_(83,40,"SHOPPING_CART._calculated")),s(2),k("disabled",!a.PURCHASE_ENABLED),s(),V(" ",_(86,42,"SHOPPING_CART._checkout")," "),s(2),S(87,a.addBill?87:-1),s(),S(88,a.showError?88:-1))},dependencies:[k2,FI3,QC,C4,J1]})}class Q0{static#e=this.BASE_URL=_1.BASE_URL;constructor(r){this.http=r}uploadFile(r){return this.http.post(`${Q0.BASE_URL}/charging/api/assetManagement/assets/uploadJob`,r)}static#c=this.\u0275fac=function(e){return new(e||Q0)(d1(U3))};static#a=this.\u0275prov=g1({token:Q0,factory:Q0.\u0275fac,providedIn:"root"})}const $I3=["addListener","removeListener"],YI3=["addEventListener","removeEventListener"],GI3=["on","off"];function Kt(c,r,e,a){if(b2(e)&&(a=e,e=void 0),a)return Kt(c,r,e).pipe(Km(a));const[t,i]=function ZI3(c){return b2(c.addEventListener)&&b2(c.removeEventListener)}(c)?YI3.map(l=>d=>c[l](r,d,e)):function qI3(c){return b2(c.addListener)&&b2(c.removeListener)}(c)?$I3.map(qh1(c,r)):function WI3(c){return b2(c.on)&&b2(c.off)}(c)?GI3.map(qh1(c,r)):[];if(!t&&Vm(c))return n3(l=>Kt(l,r,e))(I3(c));if(!t)throw new TypeError("Invalid event target");return new l4(l=>{const d=(...u)=>l.next(1i(d)})}function qh1(c,r){return e=>a=>c[e](r,a)}const KI3=["button"],Wh1=["*","*"];function QI3(c,r){1&c&&f(0),2&c&&H(h(3).unified)}function JI3(c,r){if(1&c&&(o(0,"button",4,1)(2,"span",5),R(3,QI3,1,1,"ng-template",2),Vr(4),n()()),2&c){const e=h(2);A6("emoji-mart-emoji-native",e.isNative)("emoji-mart-emoji-custom",e.custom),A2("title",e.title)("aria-label",e.label),s(2),k("ngStyle",e.style),s(),k("ngIf",e.isNative)}}function XI3(c,r){if(1&c&&R(0,JI3,5,8,"button",3),2&c){const e=h(),a=Mr(2);k("ngIf",e.useButton)("ngIfElse",a)}}function eU3(c,r){1&c&&f(0),2&c&&H(h(2).unified)}function cU3(c,r){if(1&c&&(o(0,"span",6,1)(2,"span",5),R(3,eU3,1,1,"ng-template",2),Vr(4,1),n()()),2&c){const e=h();A6("emoji-mart-emoji-native",e.isNative)("emoji-mart-emoji-custom",e.custom),A2("title",e.title)("aria-label",e.label),s(2),k("ngStyle",e.style),s(),k("ngIf",e.isNative)}}const Zh1=[{id:"people",name:"Smileys & People",emojis:["1F600","1F603","1F604","1F601","1F606","1F605","1F923","1F602","1F642","1F643","1FAE0","1F609","1F60A","1F607","1F970","1F60D","1F929","1F618","1F617","263A-FE0F","1F61A","1F619","1F972","1F60B","1F61B","1F61C","1F92A","1F61D","1F911","1F917","1F92D","1FAE2","1FAE3","1F92B","1F914","1FAE1","1F910","1F928","1F610","1F611","1F636","1FAE5","1F636-200D-1F32B-FE0F","1F60F","1F612","1F644","1F62C","1F62E-200D-1F4A8","1F925","1F60C","1F614","1F62A","1F924","1F634","1F637","1F912","1F915","1F922","1F92E","1F927","1F975","1F976","1F974","1F635","1F635-200D-1F4AB","1F92F","1F920","1F973","1F978","1F60E","1F913","1F9D0","1F615","1FAE4","1F61F","1F641","2639-FE0F","1F62E","1F62F","1F632","1F633","1F97A","1F979","1F626","1F627","1F628","1F630","1F625","1F622","1F62D","1F631","1F616","1F623","1F61E","1F613","1F629","1F62B","1F971","1F624","1F621","1F620","1F92C","1F608","1F47F","1F480","2620-FE0F","1F4A9","1F921","1F479","1F47A","1F47B","1F47D","1F47E","1F916","1F44B","1F91A","1F590-FE0F","270B","1F596","1FAF1","1FAF2","1FAF3","1FAF4","1F44C","1F90C","1F90F","270C-FE0F","1F91E","1FAF0","1F91F","1F918","1F919","1F448","1F449","1F446","1F595","1F447","261D-FE0F","1FAF5","1F44D","1F44E","270A","1F44A","1F91B","1F91C","1F44F","1F64C","1FAF6","1F450","1F932","1F91D","1F64F","270D-FE0F","1F485","1F933","1F4AA","1F9BE","1F9BF","1F9B5","1F9B6","1F442","1F9BB","1F443","1F9E0","1FAC0","1FAC1","1F9B7","1F9B4","1F440","1F441-FE0F","1F445","1F444","1FAE6","1F476","1F9D2","1F466","1F467","1F9D1","1F471","1F468","1F9D4","1F9D4-200D-2642-FE0F","1F9D4-200D-2640-FE0F","1F468-200D-1F9B0","1F468-200D-1F9B1","1F468-200D-1F9B3","1F468-200D-1F9B2","1F469","1F469-200D-1F9B0","1F9D1-200D-1F9B0","1F469-200D-1F9B1","1F9D1-200D-1F9B1","1F469-200D-1F9B3","1F9D1-200D-1F9B3","1F469-200D-1F9B2","1F9D1-200D-1F9B2","1F471-200D-2640-FE0F","1F471-200D-2642-FE0F","1F9D3","1F474","1F475","1F64D","1F64D-200D-2642-FE0F","1F64D-200D-2640-FE0F","1F64E","1F64E-200D-2642-FE0F","1F64E-200D-2640-FE0F","1F645","1F645-200D-2642-FE0F","1F645-200D-2640-FE0F","1F646","1F646-200D-2642-FE0F","1F646-200D-2640-FE0F","1F481","1F481-200D-2642-FE0F","1F481-200D-2640-FE0F","1F64B","1F64B-200D-2642-FE0F","1F64B-200D-2640-FE0F","1F9CF","1F9CF-200D-2642-FE0F","1F9CF-200D-2640-FE0F","1F647","1F647-200D-2642-FE0F","1F647-200D-2640-FE0F","1F926","1F926-200D-2642-FE0F","1F926-200D-2640-FE0F","1F937","1F937-200D-2642-FE0F","1F937-200D-2640-FE0F","1F9D1-200D-2695-FE0F","1F468-200D-2695-FE0F","1F469-200D-2695-FE0F","1F9D1-200D-1F393","1F468-200D-1F393","1F469-200D-1F393","1F9D1-200D-1F3EB","1F468-200D-1F3EB","1F469-200D-1F3EB","1F9D1-200D-2696-FE0F","1F468-200D-2696-FE0F","1F469-200D-2696-FE0F","1F9D1-200D-1F33E","1F468-200D-1F33E","1F469-200D-1F33E","1F9D1-200D-1F373","1F468-200D-1F373","1F469-200D-1F373","1F9D1-200D-1F527","1F468-200D-1F527","1F469-200D-1F527","1F9D1-200D-1F3ED","1F468-200D-1F3ED","1F469-200D-1F3ED","1F9D1-200D-1F4BC","1F468-200D-1F4BC","1F469-200D-1F4BC","1F9D1-200D-1F52C","1F468-200D-1F52C","1F469-200D-1F52C","1F9D1-200D-1F4BB","1F468-200D-1F4BB","1F469-200D-1F4BB","1F9D1-200D-1F3A4","1F468-200D-1F3A4","1F469-200D-1F3A4","1F9D1-200D-1F3A8","1F468-200D-1F3A8","1F469-200D-1F3A8","1F9D1-200D-2708-FE0F","1F468-200D-2708-FE0F","1F469-200D-2708-FE0F","1F9D1-200D-1F680","1F468-200D-1F680","1F469-200D-1F680","1F9D1-200D-1F692","1F468-200D-1F692","1F469-200D-1F692","1F46E","1F46E-200D-2642-FE0F","1F46E-200D-2640-FE0F","1F575-FE0F","1F575-FE0F-200D-2642-FE0F","1F575-FE0F-200D-2640-FE0F","1F482","1F482-200D-2642-FE0F","1F482-200D-2640-FE0F","1F977","1F477","1F477-200D-2642-FE0F","1F477-200D-2640-FE0F","1FAC5","1F934","1F478","1F473","1F473-200D-2642-FE0F","1F473-200D-2640-FE0F","1F472","1F9D5","1F935","1F935-200D-2642-FE0F","1F935-200D-2640-FE0F","1F470","1F470-200D-2642-FE0F","1F470-200D-2640-FE0F","1F930","1FAC3","1FAC4","1F931","1F469-200D-1F37C","1F468-200D-1F37C","1F9D1-200D-1F37C","1F47C","1F385","1F936","1F9D1-200D-1F384","1F9B8","1F9B8-200D-2642-FE0F","1F9B8-200D-2640-FE0F","1F9B9","1F9B9-200D-2642-FE0F","1F9B9-200D-2640-FE0F","1F9D9","1F9D9-200D-2642-FE0F","1F9D9-200D-2640-FE0F","1F9DA","1F9DA-200D-2642-FE0F","1F9DA-200D-2640-FE0F","1F9DB","1F9DB-200D-2642-FE0F","1F9DB-200D-2640-FE0F","1F9DC","1F9DC-200D-2642-FE0F","1F9DC-200D-2640-FE0F","1F9DD","1F9DD-200D-2642-FE0F","1F9DD-200D-2640-FE0F","1F9DE","1F9DE-200D-2642-FE0F","1F9DE-200D-2640-FE0F","1F9DF","1F9DF-200D-2642-FE0F","1F9DF-200D-2640-FE0F","1F9CC","1F486","1F486-200D-2642-FE0F","1F486-200D-2640-FE0F","1F487","1F487-200D-2642-FE0F","1F487-200D-2640-FE0F","1F6B6","1F6B6-200D-2642-FE0F","1F6B6-200D-2640-FE0F","1F9CD","1F9CD-200D-2642-FE0F","1F9CD-200D-2640-FE0F","1F9CE","1F9CE-200D-2642-FE0F","1F9CE-200D-2640-FE0F","1F9D1-200D-1F9AF","1F468-200D-1F9AF","1F469-200D-1F9AF","1F9D1-200D-1F9BC","1F468-200D-1F9BC","1F469-200D-1F9BC","1F9D1-200D-1F9BD","1F468-200D-1F9BD","1F469-200D-1F9BD","1F3C3","1F3C3-200D-2642-FE0F","1F3C3-200D-2640-FE0F","1F483","1F57A","1F574-FE0F","1F46F","1F46F-200D-2642-FE0F","1F46F-200D-2640-FE0F","1F9D6","1F9D6-200D-2642-FE0F","1F9D6-200D-2640-FE0F","1F9D7","1F9D7-200D-2642-FE0F","1F9D7-200D-2640-FE0F","1F93A","1F3C7","26F7-FE0F","1F3C2","1F3CC-FE0F","1F3CC-FE0F-200D-2642-FE0F","1F3CC-FE0F-200D-2640-FE0F","1F3C4","1F3C4-200D-2642-FE0F","1F3C4-200D-2640-FE0F","1F6A3","1F6A3-200D-2642-FE0F","1F6A3-200D-2640-FE0F","1F3CA","1F3CA-200D-2642-FE0F","1F3CA-200D-2640-FE0F","26F9-FE0F","26F9-FE0F-200D-2642-FE0F","26F9-FE0F-200D-2640-FE0F","1F3CB-FE0F","1F3CB-FE0F-200D-2642-FE0F","1F3CB-FE0F-200D-2640-FE0F","1F6B4","1F6B4-200D-2642-FE0F","1F6B4-200D-2640-FE0F","1F6B5","1F6B5-200D-2642-FE0F","1F6B5-200D-2640-FE0F","1F938","1F938-200D-2642-FE0F","1F938-200D-2640-FE0F","1F93C","1F93C-200D-2642-FE0F","1F93C-200D-2640-FE0F","1F93D","1F93D-200D-2642-FE0F","1F93D-200D-2640-FE0F","1F93E","1F93E-200D-2642-FE0F","1F93E-200D-2640-FE0F","1F939","1F939-200D-2642-FE0F","1F939-200D-2640-FE0F","1F9D8","1F9D8-200D-2642-FE0F","1F9D8-200D-2640-FE0F","1F6C0","1F6CC","1F9D1-200D-1F91D-200D-1F9D1","1F46D","1F46B","1F46C","1F48F","1F469-200D-2764-FE0F-200D-1F48B-200D-1F468","1F468-200D-2764-FE0F-200D-1F48B-200D-1F468","1F469-200D-2764-FE0F-200D-1F48B-200D-1F469","1F491","1F469-200D-2764-FE0F-200D-1F468","1F468-200D-2764-FE0F-200D-1F468","1F469-200D-2764-FE0F-200D-1F469","1F46A","1F468-200D-1F469-200D-1F466","1F468-200D-1F469-200D-1F467","1F468-200D-1F469-200D-1F467-200D-1F466","1F468-200D-1F469-200D-1F466-200D-1F466","1F468-200D-1F469-200D-1F467-200D-1F467","1F468-200D-1F468-200D-1F466","1F468-200D-1F468-200D-1F467","1F468-200D-1F468-200D-1F467-200D-1F466","1F468-200D-1F468-200D-1F466-200D-1F466","1F468-200D-1F468-200D-1F467-200D-1F467","1F469-200D-1F469-200D-1F466","1F469-200D-1F469-200D-1F467","1F469-200D-1F469-200D-1F467-200D-1F466","1F469-200D-1F469-200D-1F466-200D-1F466","1F469-200D-1F469-200D-1F467-200D-1F467","1F468-200D-1F466","1F468-200D-1F466-200D-1F466","1F468-200D-1F467","1F468-200D-1F467-200D-1F466","1F468-200D-1F467-200D-1F467","1F469-200D-1F466","1F469-200D-1F466-200D-1F466","1F469-200D-1F467","1F469-200D-1F467-200D-1F466","1F469-200D-1F467-200D-1F467","1F5E3-FE0F","1F464","1F465","1FAC2","1F463","1F63A","1F638","1F639","1F63B","1F63C","1F63D","1F640","1F63F","1F63E","1F648","1F649","1F64A","1F48B","1F48C","1F498","1F49D","1F496","1F497","1F493","1F49E","1F495","1F49F","2763-FE0F","1F494","2764-FE0F-200D-1F525","2764-FE0F-200D-1FA79","2764-FE0F","1F9E1","1F49B","1F49A","1F499","1F49C","1F90E","1F5A4","1F90D","1F4AF","1F4A2","1F4A5","1F4AB","1F4A6","1F4A8","1F573-FE0F","1F4A3","1F4AC","1F441-FE0F-200D-1F5E8-FE0F","1F5E8-FE0F","1F5EF-FE0F","1F4AD","1F4A4"]},{id:"nature",name:"Animals & Nature",emojis:["1F435","1F412","1F98D","1F9A7","1F436","1F415","1F9AE","1F415-200D-1F9BA","1F429","1F43A","1F98A","1F99D","1F431","1F408","1F408-200D-2B1B","1F981","1F42F","1F405","1F406","1F434","1F40E","1F984","1F993","1F98C","1F9AC","1F42E","1F402","1F403","1F404","1F437","1F416","1F417","1F43D","1F40F","1F411","1F410","1F42A","1F42B","1F999","1F992","1F418","1F9A3","1F98F","1F99B","1F42D","1F401","1F400","1F439","1F430","1F407","1F43F-FE0F","1F9AB","1F994","1F987","1F43B","1F43B-200D-2744-FE0F","1F428","1F43C","1F9A5","1F9A6","1F9A8","1F998","1F9A1","1F43E","1F983","1F414","1F413","1F423","1F424","1F425","1F426","1F427","1F54A-FE0F","1F985","1F986","1F9A2","1F989","1F9A4","1FAB6","1F9A9","1F99A","1F99C","1F438","1F40A","1F422","1F98E","1F40D","1F432","1F409","1F995","1F996","1F433","1F40B","1F42C","1F9AD","1F41F","1F420","1F421","1F988","1F419","1F41A","1FAB8","1F40C","1F98B","1F41B","1F41C","1F41D","1FAB2","1F41E","1F997","1FAB3","1F577-FE0F","1F578-FE0F","1F982","1F99F","1FAB0","1FAB1","1F9A0","1F490","1F338","1F4AE","1FAB7","1F3F5-FE0F","1F339","1F940","1F33A","1F33B","1F33C","1F337","1F331","1FAB4","1F332","1F333","1F334","1F335","1F33E","1F33F","2618-FE0F","1F340","1F341","1F342","1F343","1FAB9","1FABA"]},{id:"foods",name:"Food & Drink",emojis:["1F347","1F348","1F349","1F34A","1F34B","1F34C","1F34D","1F96D","1F34E","1F34F","1F350","1F351","1F352","1F353","1FAD0","1F95D","1F345","1FAD2","1F965","1F951","1F346","1F954","1F955","1F33D","1F336-FE0F","1FAD1","1F952","1F96C","1F966","1F9C4","1F9C5","1F344","1F95C","1FAD8","1F330","1F35E","1F950","1F956","1FAD3","1F968","1F96F","1F95E","1F9C7","1F9C0","1F356","1F357","1F969","1F953","1F354","1F35F","1F355","1F32D","1F96A","1F32E","1F32F","1FAD4","1F959","1F9C6","1F95A","1F373","1F958","1F372","1FAD5","1F963","1F957","1F37F","1F9C8","1F9C2","1F96B","1F371","1F358","1F359","1F35A","1F35B","1F35C","1F35D","1F360","1F362","1F363","1F364","1F365","1F96E","1F361","1F95F","1F960","1F961","1F980","1F99E","1F990","1F991","1F9AA","1F366","1F367","1F368","1F369","1F36A","1F382","1F370","1F9C1","1F967","1F36B","1F36C","1F36D","1F36E","1F36F","1F37C","1F95B","2615","1FAD6","1F375","1F376","1F37E","1F377","1F378","1F379","1F37A","1F37B","1F942","1F943","1FAD7","1F964","1F9CB","1F9C3","1F9C9","1F9CA","1F962","1F37D-FE0F","1F374","1F944","1F52A","1FAD9","1F3FA"]},{id:"activity",name:"Activities",emojis:["1F383","1F384","1F386","1F387","1F9E8","2728","1F388","1F389","1F38A","1F38B","1F38D","1F38E","1F38F","1F390","1F391","1F9E7","1F380","1F381","1F397-FE0F","1F39F-FE0F","1F3AB","1F396-FE0F","1F3C6","1F3C5","1F947","1F948","1F949","26BD","26BE","1F94E","1F3C0","1F3D0","1F3C8","1F3C9","1F3BE","1F94F","1F3B3","1F3CF","1F3D1","1F3D2","1F94D","1F3D3","1F3F8","1F94A","1F94B","1F945","26F3","26F8-FE0F","1F3A3","1F93F","1F3BD","1F3BF","1F6F7","1F94C","1F3AF","1FA80","1FA81","1F3B1","1F52E","1FA84","1F9FF","1FAAC","1F3AE","1F579-FE0F","1F3B0","1F3B2","1F9E9","1F9F8","1FA85","1FAA9","1FA86","2660-FE0F","2665-FE0F","2666-FE0F","2663-FE0F","265F-FE0F","1F0CF","1F004","1F3B4","1F3AD","1F5BC-FE0F","1F3A8","1F9F5","1FAA1","1F9F6","1FAA2"]},{id:"places",name:"Travel & Places",emojis:["1F30D","1F30E","1F30F","1F310","1F5FA-FE0F","1F5FE","1F9ED","1F3D4-FE0F","26F0-FE0F","1F30B","1F5FB","1F3D5-FE0F","1F3D6-FE0F","1F3DC-FE0F","1F3DD-FE0F","1F3DE-FE0F","1F3DF-FE0F","1F3DB-FE0F","1F3D7-FE0F","1F9F1","1FAA8","1FAB5","1F6D6","1F3D8-FE0F","1F3DA-FE0F","1F3E0","1F3E1","1F3E2","1F3E3","1F3E4","1F3E5","1F3E6","1F3E8","1F3E9","1F3EA","1F3EB","1F3EC","1F3ED","1F3EF","1F3F0","1F492","1F5FC","1F5FD","26EA","1F54C","1F6D5","1F54D","26E9-FE0F","1F54B","26F2","26FA","1F301","1F303","1F3D9-FE0F","1F304","1F305","1F306","1F307","1F309","2668-FE0F","1F3A0","1F6DD","1F3A1","1F3A2","1F488","1F3AA","1F682","1F683","1F684","1F685","1F686","1F687","1F688","1F689","1F68A","1F69D","1F69E","1F68B","1F68C","1F68D","1F68E","1F690","1F691","1F692","1F693","1F694","1F695","1F696","1F697","1F698","1F699","1F6FB","1F69A","1F69B","1F69C","1F3CE-FE0F","1F3CD-FE0F","1F6F5","1F9BD","1F9BC","1F6FA","1F6B2","1F6F4","1F6F9","1F6FC","1F68F","1F6E3-FE0F","1F6E4-FE0F","1F6E2-FE0F","26FD","1F6DE","1F6A8","1F6A5","1F6A6","1F6D1","1F6A7","2693","1F6DF","26F5","1F6F6","1F6A4","1F6F3-FE0F","26F4-FE0F","1F6E5-FE0F","1F6A2","2708-FE0F","1F6E9-FE0F","1F6EB","1F6EC","1FA82","1F4BA","1F681","1F69F","1F6A0","1F6A1","1F6F0-FE0F","1F680","1F6F8","1F6CE-FE0F","1F9F3","231B","23F3","231A","23F0","23F1-FE0F","23F2-FE0F","1F570-FE0F","1F55B","1F567","1F550","1F55C","1F551","1F55D","1F552","1F55E","1F553","1F55F","1F554","1F560","1F555","1F561","1F556","1F562","1F557","1F563","1F558","1F564","1F559","1F565","1F55A","1F566","1F311","1F312","1F313","1F314","1F315","1F316","1F317","1F318","1F319","1F31A","1F31B","1F31C","1F321-FE0F","2600-FE0F","1F31D","1F31E","1FA90","2B50","1F31F","1F320","1F30C","2601-FE0F","26C5","26C8-FE0F","1F324-FE0F","1F325-FE0F","1F326-FE0F","1F327-FE0F","1F328-FE0F","1F329-FE0F","1F32A-FE0F","1F32B-FE0F","1F32C-FE0F","1F300","1F308","1F302","2602-FE0F","2614","26F1-FE0F","26A1","2744-FE0F","2603-FE0F","26C4","2604-FE0F","1F525","1F4A7","1F30A"]},{id:"objects",name:"Objects",emojis:["1F453","1F576-FE0F","1F97D","1F97C","1F9BA","1F454","1F455","1F456","1F9E3","1F9E4","1F9E5","1F9E6","1F457","1F458","1F97B","1FA71","1FA72","1FA73","1F459","1F45A","1F45B","1F45C","1F45D","1F6CD-FE0F","1F392","1FA74","1F45E","1F45F","1F97E","1F97F","1F460","1F461","1FA70","1F462","1F451","1F452","1F3A9","1F393","1F9E2","1FA96","26D1-FE0F","1F4FF","1F484","1F48D","1F48E","1F507","1F508","1F509","1F50A","1F4E2","1F4E3","1F4EF","1F514","1F515","1F3BC","1F3B5","1F3B6","1F399-FE0F","1F39A-FE0F","1F39B-FE0F","1F3A4","1F3A7","1F4FB","1F3B7","1FA97","1F3B8","1F3B9","1F3BA","1F3BB","1FA95","1F941","1FA98","1F4F1","1F4F2","260E-FE0F","1F4DE","1F4DF","1F4E0","1F50B","1FAAB","1F50C","1F4BB","1F5A5-FE0F","1F5A8-FE0F","2328-FE0F","1F5B1-FE0F","1F5B2-FE0F","1F4BD","1F4BE","1F4BF","1F4C0","1F9EE","1F3A5","1F39E-FE0F","1F4FD-FE0F","1F3AC","1F4FA","1F4F7","1F4F8","1F4F9","1F4FC","1F50D","1F50E","1F56F-FE0F","1F4A1","1F526","1F3EE","1FA94","1F4D4","1F4D5","1F4D6","1F4D7","1F4D8","1F4D9","1F4DA","1F4D3","1F4D2","1F4C3","1F4DC","1F4C4","1F4F0","1F5DE-FE0F","1F4D1","1F516","1F3F7-FE0F","1F4B0","1FA99","1F4B4","1F4B5","1F4B6","1F4B7","1F4B8","1F4B3","1F9FE","1F4B9","2709-FE0F","1F4E7","1F4E8","1F4E9","1F4E4","1F4E5","1F4E6","1F4EB","1F4EA","1F4EC","1F4ED","1F4EE","1F5F3-FE0F","270F-FE0F","2712-FE0F","1F58B-FE0F","1F58A-FE0F","1F58C-FE0F","1F58D-FE0F","1F4DD","1F4BC","1F4C1","1F4C2","1F5C2-FE0F","1F4C5","1F4C6","1F5D2-FE0F","1F5D3-FE0F","1F4C7","1F4C8","1F4C9","1F4CA","1F4CB","1F4CC","1F4CD","1F4CE","1F587-FE0F","1F4CF","1F4D0","2702-FE0F","1F5C3-FE0F","1F5C4-FE0F","1F5D1-FE0F","1F512","1F513","1F50F","1F510","1F511","1F5DD-FE0F","1F528","1FA93","26CF-FE0F","2692-FE0F","1F6E0-FE0F","1F5E1-FE0F","2694-FE0F","1F52B","1FA83","1F3F9","1F6E1-FE0F","1FA9A","1F527","1FA9B","1F529","2699-FE0F","1F5DC-FE0F","2696-FE0F","1F9AF","1F517","26D3-FE0F","1FA9D","1F9F0","1F9F2","1FA9C","2697-FE0F","1F9EA","1F9EB","1F9EC","1F52C","1F52D","1F4E1","1F489","1FA78","1F48A","1FA79","1FA7C","1FA7A","1FA7B","1F6AA","1F6D7","1FA9E","1FA9F","1F6CF-FE0F","1F6CB-FE0F","1FA91","1F6BD","1FAA0","1F6BF","1F6C1","1FAA4","1FA92","1F9F4","1F9F7","1F9F9","1F9FA","1F9FB","1FAA3","1F9FC","1FAE7","1FAA5","1F9FD","1F9EF","1F6D2","1F6AC","26B0-FE0F","1FAA6","26B1-FE0F","1F5FF","1FAA7","1FAAA"]},{id:"symbols",name:"Symbols",emojis:["1F3E7","1F6AE","1F6B0","267F","1F6B9","1F6BA","1F6BB","1F6BC","1F6BE","1F6C2","1F6C3","1F6C4","1F6C5","26A0-FE0F","1F6B8","26D4","1F6AB","1F6B3","1F6AD","1F6AF","1F6B1","1F6B7","1F4F5","1F51E","2622-FE0F","2623-FE0F","2B06-FE0F","2197-FE0F","27A1-FE0F","2198-FE0F","2B07-FE0F","2199-FE0F","2B05-FE0F","2196-FE0F","2195-FE0F","2194-FE0F","21A9-FE0F","21AA-FE0F","2934-FE0F","2935-FE0F","1F503","1F504","1F519","1F51A","1F51B","1F51C","1F51D","1F6D0","269B-FE0F","1F549-FE0F","2721-FE0F","2638-FE0F","262F-FE0F","271D-FE0F","2626-FE0F","262A-FE0F","262E-FE0F","1F54E","1F52F","2648","2649","264A","264B","264C","264D","264E","264F","2650","2651","2652","2653","26CE","1F500","1F501","1F502","25B6-FE0F","23E9","23ED-FE0F","23EF-FE0F","25C0-FE0F","23EA","23EE-FE0F","1F53C","23EB","1F53D","23EC","23F8-FE0F","23F9-FE0F","23FA-FE0F","23CF-FE0F","1F3A6","1F505","1F506","1F4F6","1F4F3","1F4F4","2640-FE0F","2642-FE0F","26A7-FE0F","2716-FE0F","2795","2796","2797","1F7F0","267E-FE0F","203C-FE0F","2049-FE0F","2753","2754","2755","2757","3030-FE0F","1F4B1","1F4B2","2695-FE0F","267B-FE0F","269C-FE0F","1F531","1F4DB","1F530","2B55","2705","2611-FE0F","2714-FE0F","274C","274E","27B0","27BF","303D-FE0F","2733-FE0F","2734-FE0F","2747-FE0F","00A9-FE0F","00AE-FE0F","2122-FE0F","0023-FE0F-20E3","002A-FE0F-20E3","0030-FE0F-20E3","0031-FE0F-20E3","0032-FE0F-20E3","0033-FE0F-20E3","0034-FE0F-20E3","0035-FE0F-20E3","0036-FE0F-20E3","0037-FE0F-20E3","0038-FE0F-20E3","0039-FE0F-20E3","1F51F","1F520","1F521","1F522","1F523","1F524","1F170-FE0F","1F18E","1F171-FE0F","1F191","1F192","1F193","2139-FE0F","1F194","24C2-FE0F","1F195","1F196","1F17E-FE0F","1F197","1F17F-FE0F","1F198","1F199","1F19A","1F201","1F202-FE0F","1F237-FE0F","1F236","1F22F","1F250","1F239","1F21A","1F232","1F251","1F238","1F234","1F233","3297-FE0F","3299-FE0F","1F23A","1F235","1F534","1F7E0","1F7E1","1F7E2","1F535","1F7E3","1F7E4","26AB","26AA","1F7E5","1F7E7","1F7E8","1F7E9","1F7E6","1F7EA","1F7EB","2B1B","2B1C","25FC-FE0F","25FB-FE0F","25FE","25FD","25AA-FE0F","25AB-FE0F","1F536","1F537","1F538","1F539","1F53A","1F53B","1F4A0","1F518","1F533","1F532"]},{id:"flags",name:"Flags",emojis:["1F1E6-1F1E8","1F1E6-1F1E9","1F1E6-1F1EA","1F1E6-1F1EB","1F1E6-1F1EC","1F1E6-1F1EE","1F1E6-1F1F1","1F1E6-1F1F2","1F1E6-1F1F4","1F1E6-1F1F6","1F1E6-1F1F7","1F1E6-1F1F8","1F1E6-1F1F9","1F1E6-1F1FA","1F1E6-1F1FC","1F1E6-1F1FD","1F1E6-1F1FF","1F1E7-1F1E6","1F1E7-1F1E7","1F1E7-1F1E9","1F1E7-1F1EA","1F1E7-1F1EB","1F1E7-1F1EC","1F1E7-1F1ED","1F1E7-1F1EE","1F1E7-1F1EF","1F1E7-1F1F1","1F1E7-1F1F2","1F1E7-1F1F3","1F1E7-1F1F4","1F1E7-1F1F6","1F1E7-1F1F7","1F1E7-1F1F8","1F1E7-1F1F9","1F1E7-1F1FB","1F1E7-1F1FC","1F1E7-1F1FE","1F1E7-1F1FF","1F1E8-1F1E6","1F1E8-1F1E8","1F1E8-1F1E9","1F1E8-1F1EB","1F1E8-1F1EC","1F1E8-1F1ED","1F1E8-1F1EE","1F1E8-1F1F0","1F1E8-1F1F1","1F1E8-1F1F2","1F1E8-1F1F3","1F1E8-1F1F4","1F1E8-1F1F5","1F1E8-1F1F7","1F1E8-1F1FA","1F1E8-1F1FB","1F1E8-1F1FC","1F1E8-1F1FD","1F1E8-1F1FE","1F1E8-1F1FF","1F1E9-1F1EA","1F1E9-1F1EC","1F1E9-1F1EF","1F1E9-1F1F0","1F1E9-1F1F2","1F1E9-1F1F4","1F1E9-1F1FF","1F1EA-1F1E6","1F1EA-1F1E8","1F1EA-1F1EA","1F1EA-1F1EC","1F1EA-1F1ED","1F1EA-1F1F7","1F1EA-1F1F8","1F1EA-1F1F9","1F1EA-1F1FA","1F1EB-1F1EE","1F1EB-1F1EF","1F1EB-1F1F0","1F1EB-1F1F2","1F1EB-1F1F4","1F1EB-1F1F7","1F1EC-1F1E6","1F1EC-1F1E7","1F1EC-1F1E9","1F1EC-1F1EA","1F1EC-1F1EB","1F1EC-1F1EC","1F1EC-1F1ED","1F1EC-1F1EE","1F1EC-1F1F1","1F1EC-1F1F2","1F1EC-1F1F3","1F1EC-1F1F5","1F1EC-1F1F6","1F1EC-1F1F7","1F1EC-1F1F8","1F1EC-1F1F9","1F1EC-1F1FA","1F1EC-1F1FC","1F1EC-1F1FE","1F1ED-1F1F0","1F1ED-1F1F2","1F1ED-1F1F3","1F1ED-1F1F7","1F1ED-1F1F9","1F1ED-1F1FA","1F1EE-1F1E8","1F1EE-1F1E9","1F1EE-1F1EA","1F1EE-1F1F1","1F1EE-1F1F2","1F1EE-1F1F3","1F1EE-1F1F4","1F1EE-1F1F6","1F1EE-1F1F7","1F1EE-1F1F8","1F1EE-1F1F9","1F1EF-1F1EA","1F1EF-1F1F2","1F1EF-1F1F4","1F1EF-1F1F5","1F1F0-1F1EA","1F1F0-1F1EC","1F1F0-1F1ED","1F1F0-1F1EE","1F1F0-1F1F2","1F1F0-1F1F3","1F1F0-1F1F5","1F1F0-1F1F7","1F1F0-1F1FC","1F1F0-1F1FE","1F1F0-1F1FF","1F1F1-1F1E6","1F1F1-1F1E7","1F1F1-1F1E8","1F1F1-1F1EE","1F1F1-1F1F0","1F1F1-1F1F7","1F1F1-1F1F8","1F1F1-1F1F9","1F1F1-1F1FA","1F1F1-1F1FB","1F1F1-1F1FE","1F1F2-1F1E6","1F1F2-1F1E8","1F1F2-1F1E9","1F1F2-1F1EA","1F1F2-1F1EB","1F1F2-1F1EC","1F1F2-1F1ED","1F1F2-1F1F0","1F1F2-1F1F1","1F1F2-1F1F2","1F1F2-1F1F3","1F1F2-1F1F4","1F1F2-1F1F5","1F1F2-1F1F6","1F1F2-1F1F7","1F1F2-1F1F8","1F1F2-1F1F9","1F1F2-1F1FA","1F1F2-1F1FB","1F1F2-1F1FC","1F1F2-1F1FD","1F1F2-1F1FE","1F1F2-1F1FF","1F1F3-1F1E6","1F1F3-1F1E8","1F1F3-1F1EA","1F1F3-1F1EB","1F1F3-1F1EC","1F1F3-1F1EE","1F1F3-1F1F1","1F1F3-1F1F4","1F1F3-1F1F5","1F1F3-1F1F7","1F1F3-1F1FA","1F1F3-1F1FF","1F1F4-1F1F2","1F1F5-1F1E6","1F1F5-1F1EA","1F1F5-1F1EB","1F1F5-1F1EC","1F1F5-1F1ED","1F1F5-1F1F0","1F1F5-1F1F1","1F1F5-1F1F2","1F1F5-1F1F3","1F1F5-1F1F7","1F1F5-1F1F8","1F1F5-1F1F9","1F1F5-1F1FC","1F1F5-1F1FE","1F1F6-1F1E6","1F1F7-1F1EA","1F1F7-1F1F4","1F1F7-1F1F8","1F1F7-1F1FA","1F1F7-1F1FC","1F1F8-1F1E6","1F1F8-1F1E7","1F1F8-1F1E8","1F1F8-1F1E9","1F1F8-1F1EA","1F1F8-1F1EC","1F1F8-1F1ED","1F1F8-1F1EE","1F1F8-1F1EF","1F1F8-1F1F0","1F1F8-1F1F1","1F1F8-1F1F2","1F1F8-1F1F3","1F1F8-1F1F4","1F1F8-1F1F7","1F1F8-1F1F8","1F1F8-1F1F9","1F1F8-1F1FB","1F1F8-1F1FD","1F1F8-1F1FE","1F1F8-1F1FF","1F1F9-1F1E6","1F1F9-1F1E8","1F1F9-1F1E9","1F1F9-1F1EB","1F1F9-1F1EC","1F1F9-1F1ED","1F1F9-1F1EF","1F1F9-1F1F0","1F1F9-1F1F1","1F1F9-1F1F2","1F1F9-1F1F3","1F1F9-1F1F4","1F1F9-1F1F7","1F1F9-1F1F9","1F1F9-1F1FB","1F1F9-1F1FC","1F1F9-1F1FF","1F1FA-1F1E6","1F1FA-1F1EC","1F1FA-1F1F2","1F1FA-1F1F3","1F1FA-1F1F8","1F1FA-1F1FE","1F1FA-1F1FF","1F1FB-1F1E6","1F1FB-1F1E8","1F1FB-1F1EA","1F1FB-1F1EC","1F1FB-1F1EE","1F1FB-1F1F3","1F1FB-1F1FA","1F1FC-1F1EB","1F1FC-1F1F8","1F1FD-1F1F0","1F1FE-1F1EA","1F1FE-1F1F9","1F1FF-1F1E6","1F1FF-1F1F2","1F1FF-1F1FC","1F38C","1F3C1","1F3F3-FE0F","1F3F3-FE0F-200D-1F308","1F3F3-FE0F-200D-26A7-FE0F","1F3F4","1F3F4-200D-2620-FE0F","1F3F4-E0067-E0062-E0065-E006E-E0067-E007F","1F3F4-E0067-E0062-E0073-E0063-E0074-E007F","1F3F4-E0067-E0062-E0077-E006C-E0073-E007F","1F6A9"]}],aU3=[{name:"Grinning Face",unified:"1F600",text:":D",keywords:["grinning_face","face","smile","happy","joy",":D","grin"],sheet:[32,20],shortName:"grinning"},{name:"Smiling Face with Open Mouth",unified:"1F603",text:":)",emoticons:["=)","=-)"],keywords:["grinning_face_with_big_eyes","face","happy","joy","haha",":D",":)","smile","funny"],sheet:[32,23],shortName:"smiley"},{name:"Smiling Face with Open Mouth and Smiling Eyes",unified:"1F604",text:":)",emoticons:["C:","c:",":D",":-D"],keywords:["grinning_face_with_smiling_eyes","face","happy","joy","funny","haha","laugh","like",":D",":)","smile"],sheet:[32,24],shortName:"smile"},{name:"Grinning Face with Smiling Eyes",unified:"1F601",keywords:["beaming_face_with_smiling_eyes","face","happy","smile","joy","kawaii"],sheet:[32,21],shortName:"grin"},{name:"Smiling Face with Open Mouth and Tightly-Closed Eyes",unified:"1F606",emoticons:[":>",":->"],keywords:["grinning_squinting_face","happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],sheet:[32,26],shortNames:["satisfied"],shortName:"laughing"},{name:"Smiling Face with Open Mouth and Cold Sweat",unified:"1F605",keywords:["grinning_face_with_sweat","face","hot","happy","laugh","sweat","smile","relief"],sheet:[32,25],shortName:"sweat_smile"},{name:"Rolling on the Floor Laughing",unified:"1F923",keywords:["rolling_on_the_floor_laughing","face","rolling","floor","laughing","lol","haha","rofl"],sheet:[40,15],shortName:"rolling_on_the_floor_laughing"},{name:"Face with Tears of Joy",unified:"1F602",keywords:["face_with_tears_of_joy","face","cry","tears","weep","happy","happytears","haha"],sheet:[32,22],shortName:"joy"},{name:"Slightly Smiling Face",unified:"1F642",emoticons:[":)","(:",":-)"],keywords:["slightly_smiling_face","face","smile"],sheet:[33,28],shortName:"slightly_smiling_face"},{name:"Upside-Down Face",unified:"1F643",keywords:["upside_down_face","face","flipped","silly","smile"],sheet:[33,29],shortName:"upside_down_face"},{name:"Melting Face",unified:"1FAE0",keywords:["melting face","hot","heat"],sheet:[55,12],hidden:["facebook"],shortName:"melting_face"},{name:"Winking Face",unified:"1F609",text:";)",emoticons:[";)",";-)"],keywords:["winking_face","face","happy","mischievous","secret",";)","smile","eye"],sheet:[32,29],shortName:"wink"},{name:"Smiling Face with Smiling Eyes",unified:"1F60A",text:":)",keywords:["smiling_face_with_smiling_eyes","face","smile","happy","flushed","crush","embarrassed","shy","joy"],sheet:[32,30],shortName:"blush"},{name:"Smiling Face with Halo",unified:"1F607",keywords:["smiling_face_with_halo","face","angel","heaven","halo","innocent"],sheet:[32,27],shortName:"innocent"},{name:"Smiling Face with Smiling Eyes and Three Hearts",unified:"1F970",keywords:["smiling_face_with_hearts","face","love","like","affection","valentines","infatuation","crush","hearts","adore"],sheet:[43,58],shortName:"smiling_face_with_3_hearts"},{name:"Smiling Face with Heart-Shaped Eyes",unified:"1F60D",keywords:["smiling_face_with_heart_eyes","face","love","like","affection","valentines","infatuation","crush","heart"],sheet:[32,33],shortName:"heart_eyes"},{name:"Grinning Face with Star Eyes",unified:"1F929",keywords:["star_struck","face","smile","starry","eyes","grinning"],sheet:[40,38],shortNames:["grinning_face_with_star_eyes"],shortName:"star-struck"},{name:"Face Throwing a Kiss",unified:"1F618",emoticons:[":*",":-*"],keywords:["face_blowing_a_kiss","face","love","like","affection","valentines","infatuation","kiss"],sheet:[32,44],shortName:"kissing_heart"},{name:"Kissing Face",unified:"1F617",keywords:["kissing_face","love","like","face","3","valentines","infatuation","kiss"],sheet:[32,43],shortName:"kissing"},{name:"White Smiling Face",unified:"263A-FE0F",keywords:["smiling_face","face","blush","massage","happiness"],sheet:[57,4],shortName:"relaxed"},{name:"Kissing Face with Closed Eyes",unified:"1F61A",keywords:["kissing_face_with_closed_eyes","face","love","like","affection","valentines","infatuation","kiss"],sheet:[32,46],shortName:"kissing_closed_eyes"},{name:"Kissing Face with Smiling Eyes",unified:"1F619",keywords:["kissing_face_with_smiling_eyes","face","affection","valentines","infatuation","kiss"],sheet:[32,45],shortName:"kissing_smiling_eyes"},{name:"Smiling Face with Tear",unified:"1F972",keywords:["smiling face with tear","sad","cry","pretend"],sheet:[43,60],shortName:"smiling_face_with_tear"},{name:"Face Savouring Delicious Food",unified:"1F60B",keywords:["face_savoring_food","happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],sheet:[32,31],shortName:"yum"},{name:"Face with Stuck-out Tongue",unified:"1F61B",text:":p",emoticons:[":p",":-p",":P",":-P",":b",":-b"],keywords:["face_with_tongue","face","prank","childish","playful","mischievous","smile","tongue"],sheet:[32,47],shortName:"stuck_out_tongue"},{name:"Face with Stuck-out Tongue and Winking Eye",unified:"1F61C",text:";p",emoticons:[";p",";-p",";b",";-b",";P",";-P"],keywords:["winking_face_with_tongue","face","prank","childish","playful","mischievous","smile","wink","tongue"],sheet:[32,48],shortName:"stuck_out_tongue_winking_eye"},{name:"Grinning Face with One Large and One Small Eye",unified:"1F92A",keywords:["zany_face","face","goofy","crazy"],sheet:[40,39],shortNames:["grinning_face_with_one_large_and_one_small_eye"],shortName:"zany_face"},{name:"Face with Stuck-out Tongue and Tightly-Closed Eyes",unified:"1F61D",keywords:["squinting_face_with_tongue","face","prank","playful","mischievous","smile","tongue"],sheet:[32,49],shortName:"stuck_out_tongue_closed_eyes"},{name:"Money-Mouth Face",unified:"1F911",keywords:["money_mouth_face","face","rich","dollar","money"],sheet:[38,59],shortName:"money_mouth_face"},{name:"Hugging Face",unified:"1F917",keywords:["hugging_face","face","smile","hug"],sheet:[39,4],shortName:"hugging_face"},{name:"Smiling Face with Smiling Eyes and Hand Covering Mouth",unified:"1F92D",keywords:["face_with_hand_over_mouth","face","whoops","shock","surprise"],sheet:[40,42],shortNames:["smiling_face_with_smiling_eyes_and_hand_covering_mouth"],shortName:"face_with_hand_over_mouth"},{name:"Face with Open Eyes and Hand over Mouth",unified:"1FAE2",keywords:["face with open eyes and hand over mouth","silence","secret","shock","surprise"],sheet:[55,14],hidden:["facebook"],shortName:"face_with_open_eyes_and_hand_over_mouth"},{name:"Face with Peeking Eye",unified:"1FAE3",keywords:["face with peeking eye","scared","frightening","embarrassing","shy"],sheet:[55,15],hidden:["facebook"],shortName:"face_with_peeking_eye"},{name:"Face with Finger Covering Closed Lips",unified:"1F92B",keywords:["shushing_face","face","quiet","shhh"],sheet:[40,40],shortNames:["face_with_finger_covering_closed_lips"],shortName:"shushing_face"},{name:"Thinking Face",unified:"1F914",keywords:["thinking_face","face","hmmm","think","consider"],sheet:[39,1],shortName:"thinking_face"},{name:"Saluting Face",unified:"1FAE1",keywords:["saluting face","respect","salute"],sheet:[55,13],hidden:["facebook"],shortName:"saluting_face"},{name:"Zipper-Mouth Face",unified:"1F910",keywords:["zipper_mouth_face","face","sealed","zipper","secret"],sheet:[38,58],shortName:"zipper_mouth_face"},{name:"Face with One Eyebrow Raised",unified:"1F928",keywords:["face_with_raised_eyebrow","face","distrust","scepticism","disapproval","disbelief","surprise"],sheet:[40,37],shortNames:["face_with_one_eyebrow_raised"],shortName:"face_with_raised_eyebrow"},{name:"Neutral Face",unified:"1F610",emoticons:[":|",":-|"],keywords:["neutral_face","indifference","meh",":|","neutral"],sheet:[32,36],shortName:"neutral_face"},{name:"Expressionless Face",unified:"1F611",keywords:["expressionless_face","face","indifferent","-_-","meh","deadpan"],sheet:[32,37],shortName:"expressionless"},{name:"Face Without Mouth",unified:"1F636",keywords:["face_without_mouth","face","hellokitty"],sheet:[33,16],shortName:"no_mouth"},{name:"Dotted Line Face",unified:"1FAE5",keywords:["dotted line face","invisible","lonely","isolation","depression"],sheet:[55,17],hidden:["facebook"],shortName:"dotted_line_face"},{name:"Face in Clouds",unified:"1F636-200D-1F32B-FE0F",keywords:["face in clouds","shower","steam","dream"],sheet:[33,15],hidden:["facebook"],shortName:"face_in_clouds"},{name:"Smirking Face",unified:"1F60F",keywords:["smirking_face","face","smile","mean","prank","smug","sarcasm"],sheet:[32,35],shortName:"smirk"},{name:"Unamused Face",unified:"1F612",text:":(",keywords:["unamused_face","indifference","bored","straight face","serious","sarcasm","unimpressed","skeptical","dubious","side_eye"],sheet:[32,38],shortName:"unamused"},{name:"Face with Rolling Eyes",unified:"1F644",keywords:["face_with_rolling_eyes","face","eyeroll","frustrated"],sheet:[33,30],shortName:"face_with_rolling_eyes"},{name:"Grimacing Face",unified:"1F62C",keywords:["grimacing_face","face","grimace","teeth"],sheet:[33,3],shortName:"grimacing"},{name:"Face Exhaling",unified:"1F62E-200D-1F4A8",keywords:["face exhaling","relieve","relief","tired","sigh"],sheet:[33,5],hidden:["facebook"],shortName:"face_exhaling"},{name:"Lying Face",unified:"1F925",keywords:["lying_face","face","lie","pinocchio"],sheet:[40,17],shortName:"lying_face"},{name:"Relieved Face",unified:"1F60C",keywords:["relieved_face","face","relaxed","phew","massage","happiness"],sheet:[32,32],shortName:"relieved"},{name:"Pensive Face",unified:"1F614",keywords:["pensive_face","face","sad","depressed","upset"],sheet:[32,40],shortName:"pensive"},{name:"Sleepy Face",unified:"1F62A",keywords:["sleepy_face","face","tired","rest","nap"],sheet:[33,1],shortName:"sleepy"},{name:"Drooling Face",unified:"1F924",keywords:["drooling_face","face"],sheet:[40,16],shortName:"drooling_face"},{name:"Sleeping Face",unified:"1F634",keywords:["sleeping_face","face","tired","sleepy","night","zzz"],sheet:[33,12],shortName:"sleeping"},{name:"Face with Medical Mask",unified:"1F637",keywords:["face_with_medical_mask","face","sick","ill","disease","covid"],sheet:[33,17],shortName:"mask"},{name:"Face with Thermometer",unified:"1F912",keywords:["face_with_thermometer","sick","temperature","thermometer","cold","fever","covid"],sheet:[38,60],shortName:"face_with_thermometer"},{name:"Face with Head-Bandage",unified:"1F915",keywords:["face_with_head_bandage","injured","clumsy","bandage","hurt"],sheet:[39,2],shortName:"face_with_head_bandage"},{name:"Nauseated Face",unified:"1F922",keywords:["nauseated_face","face","vomit","gross","green","sick","throw up","ill"],sheet:[40,14],shortName:"nauseated_face"},{name:"Face with Open Mouth Vomiting",unified:"1F92E",keywords:["face_vomiting","face","sick"],sheet:[40,43],shortNames:["face_with_open_mouth_vomiting"],shortName:"face_vomiting"},{name:"Sneezing Face",unified:"1F927",keywords:["sneezing_face","face","gesundheit","sneeze","sick","allergy"],sheet:[40,36],shortName:"sneezing_face"},{name:"Overheated Face",unified:"1F975",keywords:["hot_face","face","feverish","heat","red","sweating"],sheet:[44,2],shortName:"hot_face"},{name:"Freezing Face",unified:"1F976",keywords:["cold_face","face","blue","freezing","frozen","frostbite","icicles"],sheet:[44,3],shortName:"cold_face"},{name:"Face with Uneven Eyes and Wavy Mouth",unified:"1F974",keywords:["woozy_face","face","dizzy","intoxicated","tipsy","wavy"],sheet:[44,1],shortName:"woozy_face"},{name:"Dizzy Face",unified:"1F635",keywords:["dizzy_face","spent","unconscious","xox","dizzy"],sheet:[33,14],shortName:"dizzy_face"},{name:"Face with Spiral Eyes",unified:"1F635-200D-1F4AB",keywords:["face with spiral eyes","sick","ill","confused","nauseous","nausea"],sheet:[33,13],hidden:["facebook"],shortName:"face_with_spiral_eyes"},{name:"Shocked Face with Exploding Head",unified:"1F92F",keywords:["exploding_head","face","shocked","mind","blown"],sheet:[40,44],shortNames:["shocked_face_with_exploding_head"],shortName:"exploding_head"},{name:"Face with Cowboy Hat",unified:"1F920",keywords:["cowboy_hat_face","face","cowgirl","hat"],sheet:[40,12],shortName:"face_with_cowboy_hat"},{name:"Face with Party Horn and Party Hat",unified:"1F973",keywords:["partying_face","face","celebration","woohoo"],sheet:[44,0],shortName:"partying_face"},{name:"Disguised Face",unified:"1F978",keywords:["disguised face","pretent","brows","glasses","moustache"],sheet:[44,10],shortName:"disguised_face"},{name:"Smiling Face with Sunglasses",unified:"1F60E",emoticons:["8)"],keywords:["smiling_face_with_sunglasses","face","cool","smile","summer","beach","sunglass"],sheet:[32,34],shortName:"sunglasses"},{name:"Nerd Face",unified:"1F913",keywords:["nerd_face","face","nerdy","geek","dork"],sheet:[39,0],shortName:"nerd_face"},{name:"Face with Monocle",unified:"1F9D0",keywords:["face_with_monocle","face","stuffy","wealthy"],sheet:[47,11],shortName:"face_with_monocle"},{name:"Confused Face",unified:"1F615",emoticons:[":\\\\",":-\\\\",":/",":-/"],keywords:["confused_face","face","indifference","huh","weird","hmmm",":/"],sheet:[32,41],shortName:"confused"},{name:"Face with Diagonal Mouth",unified:"1FAE4",keywords:["face with diagonal mouth","skeptic","confuse","frustrated","indifferent"],sheet:[55,16],hidden:["facebook"],shortName:"face_with_diagonal_mouth"},{name:"Worried Face",unified:"1F61F",keywords:["worried_face","face","concern","nervous",":("],sheet:[32,51],shortName:"worried"},{name:"Slightly Frowning Face",unified:"1F641",keywords:["slightly_frowning_face","face","frowning","disappointed","sad","upset"],sheet:[33,27],shortName:"slightly_frowning_face"},{name:"Frowning Face",unified:"2639-FE0F",keywords:["frowning_face","face","sad","upset","frown"],sheet:[57,3],shortName:"white_frowning_face"},{name:"Face with Open Mouth",unified:"1F62E",emoticons:[":o",":-o",":O",":-O"],keywords:["face_with_open_mouth","face","surprise","impressed","wow","whoa",":O"],sheet:[33,6],shortName:"open_mouth"},{name:"Hushed Face",unified:"1F62F",keywords:["hushed_face","face","woo","shh"],sheet:[33,7],shortName:"hushed"},{name:"Astonished Face",unified:"1F632",keywords:["astonished_face","face","xox","surprised","poisoned"],sheet:[33,10],shortName:"astonished"},{name:"Flushed Face",unified:"1F633",keywords:["flushed_face","face","blush","shy","flattered"],sheet:[33,11],shortName:"flushed"},{name:"Face with Pleading Eyes",unified:"1F97A",keywords:["pleading_face","face","begging","mercy","cry","tears","sad","grievance"],sheet:[44,12],shortName:"pleading_face"},{name:"Face Holding Back Tears",unified:"1F979",keywords:["face holding back tears","touched","gratitude","cry"],sheet:[44,11],hidden:["facebook"],shortName:"face_holding_back_tears"},{name:"Frowning Face with Open Mouth",unified:"1F626",keywords:["frowning_face_with_open_mouth","face","aw","what"],sheet:[32,58],shortName:"frowning"},{name:"Anguished Face",unified:"1F627",emoticons:["D:"],keywords:["anguished_face","face","stunned","nervous"],sheet:[32,59],shortName:"anguished"},{name:"Fearful Face",unified:"1F628",keywords:["fearful_face","face","scared","terrified","nervous"],sheet:[32,60],shortName:"fearful"},{name:"Face with Open Mouth and Cold Sweat",unified:"1F630",keywords:["anxious_face_with_sweat","face","nervous","sweat"],sheet:[33,8],shortName:"cold_sweat"},{name:"Disappointed but Relieved Face",unified:"1F625",keywords:["sad_but_relieved_face","face","phew","sweat","nervous"],sheet:[32,57],shortName:"disappointed_relieved"},{name:"Crying Face",unified:"1F622",text:":'(",emoticons:[":'("],keywords:["crying_face","face","tears","sad","depressed","upset",":'("],sheet:[32,54],shortName:"cry"},{name:"Loudly Crying Face",unified:"1F62D",text:":'(",keywords:["loudly_crying_face","face","cry","tears","sad","upset","depressed"],sheet:[33,4],shortName:"sob"},{name:"Face Screaming in Fear",unified:"1F631",keywords:["face_screaming_in_fear","face","munch","scared","omg"],sheet:[33,9],shortName:"scream"},{name:"Confounded Face",unified:"1F616",keywords:["confounded_face","face","confused","sick","unwell","oops",":S"],sheet:[32,42],shortName:"confounded"},{name:"Persevering Face",unified:"1F623",keywords:["persevering_face","face","sick","no","upset","oops"],sheet:[32,55],shortName:"persevere"},{name:"Disappointed Face",unified:"1F61E",text:":(",emoticons:["):",":(",":-("],keywords:["disappointed_face","face","sad","upset","depressed",":("],sheet:[32,50],shortName:"disappointed"},{name:"Face with Cold Sweat",unified:"1F613",keywords:["downcast_face_with_sweat","face","hot","sad","tired","exercise"],sheet:[32,39],shortName:"sweat"},{name:"Weary Face",unified:"1F629",keywords:["weary_face","face","tired","sleepy","sad","frustrated","upset"],sheet:[33,0],shortName:"weary"},{name:"Tired Face",unified:"1F62B",keywords:["tired_face","sick","whine","upset","frustrated"],sheet:[33,2],shortName:"tired_face"},{name:"Yawning Face",unified:"1F971",keywords:["yawning_face","tired","sleepy"],sheet:[43,59],shortName:"yawning_face"},{name:"Face with Look of Triumph",unified:"1F624",keywords:["face_with_steam_from_nose","face","gas","phew","proud","pride"],sheet:[32,56],shortName:"triumph"},{name:"Pouting Face",unified:"1F621",keywords:["pouting_face","angry","mad","hate","despise"],sheet:[32,53],shortName:"rage"},{name:"Angry Face",unified:"1F620",emoticons:[">:(",">:-("],keywords:["angry_face","mad","face","annoyed","frustrated"],sheet:[32,52],shortName:"angry"},{name:"Serious Face with Symbols Covering Mouth",unified:"1F92C",keywords:["face_with_symbols_on_mouth","face","swearing","cursing","cussing","profanity","expletive"],sheet:[40,41],shortNames:["serious_face_with_symbols_covering_mouth"],shortName:"face_with_symbols_on_mouth"},{name:"Smiling Face with Horns",unified:"1F608",keywords:["smiling_face_with_horns","devil","horns"],sheet:[32,28],shortName:"smiling_imp"},{name:"Imp",unified:"1F47F",keywords:["angry_face_with_horns","devil","angry","horns"],sheet:[25,8],shortName:"imp"},{name:"Skull",unified:"1F480",keywords:["skull","dead","skeleton","creepy","death"],sheet:[25,9],shortName:"skull"},{name:"Skull and Crossbones",unified:"2620-FE0F",keywords:["skull_and_crossbones","poison","danger","deadly","scary","death","pirate","evil"],sheet:[56,56],shortName:"skull_and_crossbones"},{name:"Pile of Poo",unified:"1F4A9",keywords:["pile_of_poo","hankey","shitface","fail","turd","shit"],sheet:[27,56],shortNames:["poop","shit"],shortName:"hankey"},{name:"Clown Face",unified:"1F921",keywords:["clown_face","face"],sheet:[40,13],shortName:"clown_face"},{name:"Japanese Ogre",unified:"1F479",keywords:["ogre","monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],sheet:[24,58],shortName:"japanese_ogre"},{name:"Japanese Goblin",unified:"1F47A",keywords:["goblin","red","evil","mask","monster","scary","creepy","japanese","goblin"],sheet:[24,59],shortName:"japanese_goblin"},{name:"Ghost",unified:"1F47B",keywords:["ghost","halloween","spooky","scary"],sheet:[24,60],shortName:"ghost"},{name:"Extraterrestrial Alien",unified:"1F47D",keywords:["alien","UFO","paul","weird","outer_space"],sheet:[25,6],shortName:"alien"},{name:"Alien Monster",unified:"1F47E",keywords:["alien_monster","game","arcade","play"],sheet:[25,7],shortName:"space_invader"},{name:"Robot Face",unified:"1F916",keywords:["robot","computer","machine","bot"],sheet:[39,3],shortName:"robot_face"},{name:"Smiling Cat Face with Open Mouth",unified:"1F63A",keywords:["grinning_cat","animal","cats","happy","smile"],sheet:[33,20],shortName:"smiley_cat"},{name:"Grinning Cat Face with Smiling Eyes",unified:"1F638",keywords:["grinning_cat_with_smiling_eyes","animal","cats","smile"],sheet:[33,18],shortName:"smile_cat"},{name:"Cat Face with Tears of Joy",unified:"1F639",keywords:["cat_with_tears_of_joy","animal","cats","haha","happy","tears"],sheet:[33,19],shortName:"joy_cat"},{name:"Smiling Cat Face with Heart-Shaped Eyes",unified:"1F63B",keywords:["smiling_cat_with_heart_eyes","animal","love","like","affection","cats","valentines","heart"],sheet:[33,21],shortName:"heart_eyes_cat"},{name:"Cat Face with Wry Smile",unified:"1F63C",keywords:["cat_with_wry_smile","animal","cats","smirk"],sheet:[33,22],shortName:"smirk_cat"},{name:"Kissing Cat Face with Closed Eyes",unified:"1F63D",keywords:["kissing_cat","animal","cats","kiss"],sheet:[33,23],shortName:"kissing_cat"},{name:"Weary Cat Face",unified:"1F640",keywords:["weary_cat","animal","cats","munch","scared","scream"],sheet:[33,26],shortName:"scream_cat"},{name:"Crying Cat Face",unified:"1F63F",keywords:["crying_cat","animal","tears","weep","sad","cats","upset","cry"],sheet:[33,25],shortName:"crying_cat_face"},{name:"Pouting Cat Face",unified:"1F63E",keywords:["pouting_cat","animal","cats"],sheet:[33,24],shortName:"pouting_cat"},{name:"See-No-Evil Monkey",unified:"1F648",keywords:["see_no_evil_monkey","monkey","animal","nature","haha"],sheet:[34,24],shortName:"see_no_evil"},{name:"Hear-No-Evil Monkey",unified:"1F649",keywords:["hear_no_evil_monkey","animal","monkey","nature"],sheet:[34,25],shortName:"hear_no_evil"},{name:"Speak-No-Evil Monkey",unified:"1F64A",keywords:["speak_no_evil_monkey","monkey","animal","nature","omg"],sheet:[34,26],shortName:"speak_no_evil"},{name:"Kiss Mark",unified:"1F48B",keywords:["kiss_mark","face","lips","love","like","affection","valentines"],sheet:[26,37],shortName:"kiss"},{name:"Love Letter",unified:"1F48C",keywords:["love_letter","email","like","affection","envelope","valentines"],sheet:[26,38],shortName:"love_letter"},{name:"Heart with Arrow",unified:"1F498",keywords:["heart_with_arrow","love","like","heart","affection","valentines"],sheet:[27,39],shortName:"cupid"},{name:"Heart with Ribbon",unified:"1F49D",keywords:["heart_with_ribbon","love","valentines"],sheet:[27,44],shortName:"gift_heart"},{name:"Sparkling Heart",unified:"1F496",keywords:["sparkling_heart","love","like","affection","valentines"],sheet:[27,37],shortName:"sparkling_heart"},{name:"Growing Heart",unified:"1F497",keywords:["growing_heart","like","love","affection","valentines","pink"],sheet:[27,38],shortName:"heartpulse"},{name:"Beating Heart",unified:"1F493",keywords:["beating_heart","love","like","affection","valentines","pink","heart"],sheet:[27,34],shortName:"heartbeat"},{name:"Revolving Hearts",unified:"1F49E",keywords:["revolving_hearts","love","like","affection","valentines"],sheet:[27,45],shortName:"revolving_hearts"},{name:"Two Hearts",unified:"1F495",keywords:["two_hearts","love","like","affection","valentines","heart"],sheet:[27,36],shortName:"two_hearts"},{name:"Heart Decoration",unified:"1F49F",keywords:["heart_decoration","purple-square","love","like"],sheet:[27,46],shortName:"heart_decoration"},{name:"Heart Exclamation",unified:"2763-FE0F",keywords:["heart_exclamation","decoration","love"],sheet:[59,7],shortName:"heavy_heart_exclamation_mark_ornament"},{name:"Broken Heart",unified:"1F494",text:"`https://cdn.jsdelivr.net/npm/emoji-datasource-${c}@14.0.0/img/${c}/sheets-256/${r}.png`;let Il=(()=>{class c{uncompressed=!1;names={};emojis=[];constructor(){this.uncompressed||(this.uncompress(aU3),this.uncompressed=!0)}uncompress(e){this.emojis=e.map(a=>{const t={...a};if(t.shortNames||(t.shortNames=[]),t.shortNames.unshift(t.shortName),t.id=t.shortName,t.native=this.unifiedToNative(t.unified),t.skinVariations||(t.skinVariations=[]),t.keywords||(t.keywords=[]),t.emoticons||(t.emoticons=[]),t.hidden||(t.hidden=[]),t.text||(t.text=""),t.obsoletes){const i=e.find(l=>l.unified===t.obsoletes);i&&(t.keywords=i.keywords?[...t.keywords,...i.keywords,i.shortName]:[...t.keywords,i.shortName])}this.names[t.unified]=t;for(const i of t.shortNames)this.names[i]=t;return t})}getData(e,a,t){let i;if("string"==typeof e){const d=e.match(rU3);if(d&&(e=d[1],d[2]&&(a=parseInt(d[2],10))),!this.names.hasOwnProperty(e))return null;i=this.names[e]}else e.id?i=this.names[e.id]:e.unified&&(i=this.names[e.unified.toUpperCase()]);if(i||(i=e,i.custom=!0),i.skinVariations&&i.skinVariations.length&&a&&a>1&&t){i={...i};const d=tU3[a-1],u=i.skinVariations.find(p=>p.unified.includes(d));(!u.hidden||!u.hidden.includes(t))&&(i.skinTone=a,i={...i,...u}),i.native=this.unifiedToNative(i.unified)}return i.set=t||"",i}unifiedToNative(e){const a=e.split("-").map(t=>parseInt(`0x${t}`,16));return String.fromCodePoint(...a)}emojiSpriteStyles(e,a="apple",t=24,i=64,l=60,d=Kh1,u=61,p){const z=!!p;return{width:`${t}px`,height:`${t}px`,display:"inline-block","background-image":`url(${p=p||d(a,i)})`,"background-size":z?"100% 100%":`${100*u}% ${100*l}%`,"background-position":z?void 0:this.getSpritePosition(e,u)}}getSpritePosition(e,a){const[t,i]=e,l=100/(a-1);return`${l*t}% ${l*i}%`}sanitize(e){if(null===e)return null;let t=`:${e.id||e.shortNames[0]}:`;return e.skinTone&&(t+=`:skin-tone-${e.skinTone}:`),e.colons=t,{...e}}getSanitizedData(e,a,t){return this.sanitize(this.getData(e,a,t))}static \u0275fac=function(a){return new(a||c)};static \u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),Qh1=(()=>{class c{skin=1;set="apple";sheetSize=64;isNative=!1;forceSize=!1;tooltip=!1;size=24;emoji="";fallback;hideObsolete=!1;sheetRows;sheetColumns;useButton;emojiOver=new Y1;emojiOverOutsideAngular=new Y1;emojiLeave=new Y1;emojiLeaveOutsideAngular=new Y1;emojiClick=new Y1;emojiClickOutsideAngular=new Y1;style;title=void 0;label="";unified;custom=!1;isVisible=!0;backgroundImageFn=Kh1;imageUrlFn;set button(e){this.ngZone.runOutsideAngular(()=>this.button$.next(e?.nativeElement))}button$=new G2;destroy$=new G2;ngZone=i1(C2);emojiService=i1(Il);constructor(){this.setupMouseListeners()}ngOnChanges(){if(!this.emoji)return this.isVisible=!1;const e=this.getData();if(!e)return this.isVisible=!1;if(this.unified=e.native||null,e.custom&&(this.custom=e.custom),!e.unified&&!e.custom)return this.isVisible=!1;if(this.tooltip&&(this.title=e.shortNames[0]),e.obsoletedBy&&this.hideObsolete)return this.isVisible=!1;if(this.label=[e.native].concat(e.shortNames).filter(Boolean).join(", "),this.isNative&&e.unified&&e.native)this.style={fontSize:`${this.size}px`},this.forceSize&&(this.style.display="inline-block",this.style.width=`${this.size}px`,this.style.height=`${this.size}px`,this.style["word-break"]="keep-all");else if(e.custom)this.style={width:`${this.size}px`,height:`${this.size}px`,display:"inline-block"},this.style=e.spriteUrl&&this.sheetRows&&this.sheetColumns?{...this.style,backgroundImage:`url(${e.spriteUrl})`,backgroundSize:`${100*this.sheetColumns}% ${100*this.sheetRows}%`,backgroundPosition:this.emojiService.getSpritePosition(e.sheet,this.sheetColumns)}:{...this.style,backgroundImage:`url(${e.imageUrl})`,backgroundSize:"contain"};else if(e.hidden.length&&e.hidden.includes(this.set)){if(!this.fallback)return this.isVisible=!1;this.style={fontSize:`${this.size}px`},this.unified=this.fallback(e,this)}else this.style=this.emojiService.emojiSpriteStyles(e.sheet,this.set,this.size,this.sheetSize,this.sheetRows,this.backgroundImageFn,this.sheetColumns,this.imageUrlFn?.(this.getData()));return this.isVisible=!0}ngOnDestroy(){this.destroy$.next()}getData(){return this.emojiService.getData(this.emoji,this.skin,this.set)}getSanitizedData(){return this.emojiService.getSanitizedData(this.emoji,this.skin,this.set)}setupMouseListeners(){const e=a=>this.button$.pipe(z3(t=>t?Kt(t,a):U6),vs(this.destroy$));e("click").subscribe(a=>{const t=this.getSanitizedData();this.emojiClickOutsideAngular.emit({emoji:t,$event:a}),this.emojiClick.observed&&this.ngZone.run(()=>this.emojiClick.emit({emoji:t,$event:a}))}),e("mouseenter").subscribe(a=>{const t=this.getSanitizedData();this.emojiOverOutsideAngular.emit({emoji:t,$event:a}),this.emojiOver.observed&&this.ngZone.run(()=>this.emojiOver.emit({emoji:t,$event:a}))}),e("mouseleave").subscribe(a=>{const t=this.getSanitizedData();this.emojiLeaveOutsideAngular.emit({emoji:t,$event:a}),this.emojiLeave.observed&&this.ngZone.run(()=>this.emojiLeave.emit({emoji:t,$event:a}))})}static \u0275fac=function(a){return new(a||c)};static \u0275cmp=V1({type:c,selectors:[["ngx-emoji"]],viewQuery:function(a,t){if(1&a&&b1(KI3,5),2&a){let i;M1(i=L1())&&(t.button=i.first)}},inputs:{skin:"skin",set:"set",sheetSize:"sheetSize",isNative:"isNative",forceSize:"forceSize",tooltip:"tooltip",size:"size",emoji:"emoji",fallback:"fallback",hideObsolete:"hideObsolete",sheetRows:"sheetRows",sheetColumns:"sheetColumns",useButton:"useButton",backgroundImageFn:"backgroundImageFn",imageUrlFn:"imageUrlFn"},outputs:{emojiOver:"emojiOver",emojiOverOutsideAngular:"emojiOverOutsideAngular",emojiLeave:"emojiLeave",emojiLeaveOutsideAngular:"emojiLeaveOutsideAngular",emojiClick:"emojiClick",emojiClickOutsideAngular:"emojiClickOutsideAngular"},standalone:!0,features:[A,C3],ngContentSelectors:Wh1,decls:3,vars:1,consts:[["spanTpl",""],["button",""],[3,"ngIf"],["type","button","class","emoji-mart-emoji",3,"emoji-mart-emoji-native","emoji-mart-emoji-custom",4,"ngIf","ngIfElse"],["type","button",1,"emoji-mart-emoji"],[3,"ngStyle"],[1,"emoji-mart-emoji"]],template:function(a,t){1&a&&(rn(Wh1),R(0,XI3,1,2,"ng-template",2)(1,cU3,5,8,"ng-template",null,0,ln)),2&a&&k("ngIf",t.isVisible)},dependencies:[f0,i5,En],encapsulation:2,changeDetection:0})}return c})();function iU3(c,r){if(1&c){const e=j();o(0,"span",3),C("click",function(t){y(e);const i=h().index;return b(h().handleClick(t,i))}),o(1,"div"),w(),o(2,"svg",4),v(3,"path"),n()(),O(),v(4,"span",5),n()}if(2&c){const e=h().$implicit,a=h();Gc("color",e.name===a.selected?a.color:null),A6("emoji-mart-anchor-selected",e.name===a.selected),A2("title",a.i18n.categories[e.id]),s(3),A2("d",a.icons[e.id]),s(),Gc("background-color",a.color)}}function oU3(c,r){1&c&&R(0,iU3,5,8,"span",2),2&c&&k("ngIf",!1!==r.$implicit.anchor)}const nU3=["container"],sU3=["label"];function lU3(c,r){if(1&c){const e=j();o(0,"ngx-emoji",9),C("emojiOverOutsideAngular",function(t){return y(e),b(h(3).emojiOverOutsideAngular.emit(t))})("emojiLeaveOutsideAngular",function(t){return y(e),b(h(3).emojiLeaveOutsideAngular.emit(t))})("emojiClickOutsideAngular",function(t){return y(e),b(h(3).emojiClickOutsideAngular.emit(t))}),n()}if(2&c){const e=r.$implicit,a=h(3);k("emoji",e)("size",a.emojiSize)("skin",a.emojiSkin)("isNative",a.emojiIsNative)("set",a.emojiSet)("sheetSize",a.emojiSheetSize)("forceSize",a.emojiForceSize)("tooltip",a.emojiTooltip)("backgroundImageFn",a.emojiBackgroundImageFn)("imageUrlFn",a.emojiImageUrlFn)("hideObsolete",a.hideObsolete)("useButton",a.emojiUseButton)}}function fU3(c,r){if(1&c&&(o(0,"div"),R(1,lU3,1,12,"ngx-emoji",8),n()),2&c){const e=r.ngIf,a=h(2);s(),k("ngForOf",e)("ngForTrackBy",a.trackById)}}function dU3(c,r){if(1&c&&(o(0,"div"),R(1,fU3,2,2,"div",7),m(2,"async"),n()),2&c){const e=h();s(),k("ngIf",_(2,1,e.filteredEmojis$))}}function uU3(c,r){if(1&c&&(o(0,"div")(1,"div"),v(2,"ngx-emoji",10),n(),o(3,"div",11),f(4),n()()),2&c){const e=h();s(2),k("emoji",e.notFoundEmoji)("size",38)("skin",e.emojiSkin)("isNative",e.emojiIsNative)("set",e.emojiSet)("sheetSize",e.emojiSheetSize)("forceSize",e.emojiForceSize)("tooltip",e.emojiTooltip)("backgroundImageFn",e.emojiBackgroundImageFn)("useButton",e.emojiUseButton),s(2),V(" ",e.i18n.notfound," ")}}function hU3(c,r){if(1&c){const e=j();o(0,"ngx-emoji",9),C("emojiOverOutsideAngular",function(t){return y(e),b(h(2).emojiOverOutsideAngular.emit(t))})("emojiLeaveOutsideAngular",function(t){return y(e),b(h(2).emojiLeaveOutsideAngular.emit(t))})("emojiClickOutsideAngular",function(t){return y(e),b(h(2).emojiClickOutsideAngular.emit(t))}),n()}if(2&c){const e=r.$implicit,a=h(2);k("emoji",e)("size",a.emojiSize)("skin",a.emojiSkin)("isNative",a.emojiIsNative)("set",a.emojiSet)("sheetSize",a.emojiSheetSize)("forceSize",a.emojiForceSize)("tooltip",a.emojiTooltip)("backgroundImageFn",a.emojiBackgroundImageFn)("imageUrlFn",a.emojiImageUrlFn)("hideObsolete",a.hideObsolete)("useButton",a.emojiUseButton)}}function mU3(c,r){if(1&c&&R(0,hU3,1,12,"ngx-emoji",8),2&c){const e=h();k("ngForOf",e.emojisToDisplay)("ngForTrackBy",e.trackById)}}function _U3(c,r){if(1&c){const e=j();o(0,"span",2)(1,"span",3),C("click",function(){const t=y(e).$implicit;return b(h().handleClick(t))})("keyup.enter",function(){const t=y(e).$implicit;return b(h().handleClick(t))})("keyup.space",function(){const t=y(e).$implicit;return b(h().handleClick(t))}),n()()}if(2&c){const e=r.$implicit,a=h();A6("selected",e===a.skin),s(),nh("emoji-mart-skin emoji-mart-skin-tone-",e,""),k("tabIndex",a.tabIndex(e)),A2("aria-hidden",!a.isVisible(e))("aria-pressed",a.pressed(e))("aria-haspopup",!!a.isSelected(e))("aria-expanded",a.expanded(e))("aria-label",a.i18n.skintones[e])("title",a.i18n.skintones[e])}}function pU3(c,r){if(1&c&&(o(0,"span",11),f(1),n()),2&c){const e=r.$implicit;s(),V(" :",e,": ")}}function gU3(c,r){if(1&c&&(o(0,"span",15),f(1),n()),2&c){const e=r.$implicit;s(),V(" ",e," ")}}function vU3(c,r){if(1&c&&(o(0,"div",8)(1,"div",2),v(2,"ngx-emoji",9),n(),o(3,"div",4)(4,"div",10),f(5),n(),o(6,"div",11),R(7,pU3,2,1,"span",12),n(),o(8,"div",13),R(9,gU3,2,1,"span",14),n()()()),2&c){const e=h();s(2),k("emoji",e.emoji)("size",38)("isNative",e.emojiIsNative)("skin",e.emojiSkin)("size",e.emojiSize)("set",e.emojiSet)("sheetSize",e.emojiSheetSize)("backgroundImageFn",e.emojiBackgroundImageFn)("imageUrlFn",e.emojiImageUrlFn),s(3),H(e.emojiData.name),s(2),k("ngForOf",e.emojiData.shortNames),s(2),k("ngForOf",e.listedEmoticons)}}function HU3(c,r){if(1&c&&v(0,"ngx-emoji",16),2&c){const e=h();k("isNative",e.emojiIsNative)("skin",e.emojiSkin)("set",e.emojiSet)("emoji",e.idleEmoji)("backgroundImageFn",e.emojiBackgroundImageFn)("size",38)("imageUrlFn",e.emojiImageUrlFn)}}const CU3=["inputRef"],zU3=["scrollRef"];function VU3(c,r){if(1&c){const e=j();o(0,"emoji-search",8),C("searchResults",function(t){return y(e),b(h().handleSearch(t))})("enterKeyOutsideAngular",function(t){return y(e),b(h().handleEnterKey(t))}),n()}if(2&c){const e=h();k("i18n",e.i18n)("include",e.include)("exclude",e.exclude)("custom",e.custom)("autoFocus",e.autoFocus)("icons",e.searchIcons)("emojisToShowFilter",e.emojisToShowFilter)}}function MU3(c,r){if(1&c){const e=j();o(0,"emoji-category",9),C("emojiOverOutsideAngular",function(t){return y(e),b(h().handleEmojiOver(t))})("emojiLeaveOutsideAngular",function(){return y(e),b(h().handleEmojiLeave())})("emojiClickOutsideAngular",function(t){return y(e),b(h().handleEmojiClick(t))}),n()}if(2&c){const e=r.$implicit,a=h();k("id",e.id)("name",e.name)("emojis",e.emojis)("perLine",a.perLine)("totalFrequentLines",a.totalFrequentLines)("hasStickyPosition",a.isNative)("i18n",a.i18n)("hideObsolete",a.hideObsolete)("notFoundEmoji",a.notFoundEmoji)("custom",e.id===a.RECENT_CATEGORY.id?a.CUSTOM_CATEGORY.emojis:void 0)("recent",e.id===a.RECENT_CATEGORY.id?a.recent:void 0)("virtualize",a.virtualize)("virtualizeOffset",a.virtualizeOffset)("emojiIsNative",a.isNative)("emojiSkin",a.skin)("emojiSize",a.emojiSize)("emojiSet",a.set)("emojiSheetSize",a.sheetSize)("emojiForceSize",a.isNative)("emojiTooltip",a.emojiTooltip)("emojiBackgroundImageFn",a.backgroundImageFn)("emojiImageUrlFn",a.imageUrlFn)("emojiUseButton",a.useButton)}}function LU3(c,r){if(1&c){const e=j();o(0,"div",2)(1,"emoji-preview",10),C("skinChange",function(t){return y(e),b(h().handleSkinChange(t))}),n()()}if(2&c){const e=h();s(),k("emoji",e.previewEmoji)("idleEmoji",e.emoji)("emojiIsNative",e.isNative)("emojiSize",38)("emojiSkin",e.skin)("emojiSet",e.set)("i18n",e.i18n)("emojiSheetSize",e.sheetSize)("emojiBackgroundImageFn",e.backgroundImageFn)("emojiImageUrlFn",e.imageUrlFn),A2("title",e.title)}}let Jh1=(()=>{class c{categories=[];color;selected;i18n;icons={};anchorClick=new Y1;trackByFn(e,a){return a.id}handleClick(e,a){this.anchorClick.emit({category:this.categories[a],index:a})}static \u0275fac=function(a){return new(a||c)};static \u0275cmp=V1({type:c,selectors:[["emoji-mart-anchors"]],inputs:{categories:"categories",color:"color",selected:"selected",i18n:"i18n",icons:"icons"},outputs:{anchorClick:"anchorClick"},standalone:!0,features:[C3],decls:2,vars:2,consts:[[1,"emoji-mart-anchors"],["ngFor","",3,"ngForOf","ngForTrackBy"],["class","emoji-mart-anchor",3,"emoji-mart-anchor-selected","color","click",4,"ngIf"],[1,"emoji-mart-anchor",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","width","24","height","24"],[1,"emoji-mart-anchor-bar"]],template:function(a,t){1&a&&(o(0,"div",0),R(1,oU3,1,1,"ng-template",1),n()),2&a&&(s(),k("ngForOf",t.categories)("ngForTrackBy",t.trackByFn))},dependencies:[f0,ea,i5],encapsulation:2,changeDetection:0})}return c})(),Xh1=(()=>{class c{platformId;NAMESPACE="emoji-mart";frequently=null;defaults={};initialized=!1;DEFAULTS=["+1","grinning","kissing_heart","heart_eyes","laughing","stuck_out_tongue_winking_eye","sweat_smile","joy","scream","disappointed","unamused","weary","sob","sunglasses","heart","poop"];constructor(e){this.platformId=e}init(){this.frequently=JSON.parse(t6(this.platformId)&&localStorage.getItem(`${this.NAMESPACE}.frequently`)||"null"),this.initialized=!0}add(e){this.initialized||this.init(),this.frequently||(this.frequently=this.defaults),this.frequently[e.id]||(this.frequently[e.id]=0),this.frequently[e.id]+=1,t6(this.platformId)&&(localStorage.setItem(`${this.NAMESPACE}.last`,e.id),localStorage.setItem(`${this.NAMESPACE}.frequently`,JSON.stringify(this.frequently)))}get(e,a){if(this.initialized||this.init(),null===this.frequently){this.defaults={};const p=[];for(let z=0;zthis.frequently[p]-this.frequently[z]).reverse().slice(0,t),u=t6(this.platformId)&&localStorage.getItem(`${this.NAMESPACE}.last`);return u&&!d.includes(u)&&(d.pop(),d.push(u)),d}static \u0275fac=function(a){return new(a||c)(d1(m6))};static \u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),JC=(()=>{class c{ref;emojiService;frequently;emojis=null;hasStickyPosition=!0;name="";perLine=9;totalFrequentLines=4;recent=[];custom=[];i18n;id;hideObsolete=!0;notFoundEmoji;virtualize=!1;virtualizeOffset=0;emojiIsNative;emojiSkin;emojiSize;emojiSet;emojiSheetSize;emojiForceSize;emojiTooltip;emojiBackgroundImageFn;emojiImageUrlFn;emojiUseButton;emojiOverOutsideAngular=new Y1;emojiLeaveOutsideAngular=new Y1;emojiClickOutsideAngular=new Y1;container;label;containerStyles={};emojisToDisplay=[];filteredEmojisSubject=new G2;filteredEmojis$=this.filteredEmojisSubject.asObservable();labelStyles={};labelSpanStyles={};margin=0;minMargin=0;maxMargin=0;top=0;rows=0;constructor(e,a,t){this.ref=e,this.emojiService=a,this.frequently=t}ngOnInit(){this.updateRecentEmojis(),this.emojisToDisplay=this.filterEmojis(),this.noEmojiToDisplay&&(this.containerStyles={display:"none"}),this.hasStickyPosition||(this.labelStyles={height:28})}ngOnChanges(e){e.emojis?.currentValue?.length!==e.emojis?.previousValue?.length&&(this.emojisToDisplay=this.filterEmojis(),this.ngAfterViewInit())}ngAfterViewInit(){if(!this.virtualize)return;const{width:e}=this.container.nativeElement.getBoundingClientRect(),a=Math.floor(e/(this.emojiSize+12));this.rows=Math.ceil(this.emojisToDisplay.length/a),this.containerStyles={...this.containerStyles,minHeight:this.rows*(this.emojiSize+12)+28+"px"},this.ref.detectChanges(),this.handleScroll(this.container.nativeElement.parentNode.parentNode.scrollTop)}get noEmojiToDisplay(){return 0===this.emojisToDisplay.length}memoizeSize(){const e=this.container.nativeElement.parentNode.parentNode,{top:a,height:t}=this.container.nativeElement.getBoundingClientRect(),i=e.getBoundingClientRect().top,l=this.label.nativeElement.getBoundingClientRect().height;this.top=a-i+e.scrollTop,this.maxMargin=0===t?0:t-l}handleScroll(e){let a=e-this.top;if(a=athis.maxMargin?this.maxMargin:a,this.virtualize){const{top:t,height:i}=this.container.nativeElement.getBoundingClientRect(),l=this.container.nativeElement.parentNode.parentNode.clientHeight;this.filteredEmojisSubject.next(l+(l+this.virtualizeOffset)>=t&&-i-(l+this.virtualizeOffset)<=t?this.emojisToDisplay:[])}return a===this.margin?(this.ref.detectChanges(),!1):(this.hasStickyPosition||(this.label.nativeElement.style.top=`${a}px`),this.margin=a,this.ref.detectChanges(),!0)}updateRecentEmojis(){if("Recent"!==this.name)return;let e=this.recent||this.frequently.get(this.perLine,this.totalFrequentLines);(!e||!e.length)&&(e=this.frequently.get(this.perLine,this.totalFrequentLines)),e.length&&(this.emojis=e.map(a=>this.custom.filter(i=>i.id===a)[0]||a).filter(a=>!!this.emojiService.getData(a)))}updateDisplay(e){this.containerStyles.display=e,this.updateRecentEmojis(),this.ref.detectChanges()}trackById(e,a){return a}filterEmojis(){const e=[];for(const a of this.emojis||[]){if(!a)continue;const t=this.emojiService.getData(a);!t||t.obsoletedBy&&this.hideObsolete||!t.unified&&!t.custom||e.push(a)}return e}static \u0275fac=function(a){return new(a||c)(B(B1),B(Il),B(Xh1))};static \u0275cmp=V1({type:c,selectors:[["emoji-category"]],viewQuery:function(a,t){if(1&a&&(b1(nU3,7),b1(sU3,7)),2&a){let i;M1(i=L1())&&(t.container=i.first),M1(i=L1())&&(t.label=i.first)}},inputs:{emojis:"emojis",hasStickyPosition:"hasStickyPosition",name:"name",perLine:"perLine",totalFrequentLines:"totalFrequentLines",recent:"recent",custom:"custom",i18n:"i18n",id:"id",hideObsolete:"hideObsolete",notFoundEmoji:"notFoundEmoji",virtualize:"virtualize",virtualizeOffset:"virtualizeOffset",emojiIsNative:"emojiIsNative",emojiSkin:"emojiSkin",emojiSize:"emojiSize",emojiSet:"emojiSet",emojiSheetSize:"emojiSheetSize",emojiForceSize:"emojiForceSize",emojiTooltip:"emojiTooltip",emojiBackgroundImageFn:"emojiBackgroundImageFn",emojiImageUrlFn:"emojiImageUrlFn",emojiUseButton:"emojiUseButton"},outputs:{emojiOverOutsideAngular:"emojiOverOutsideAngular",emojiLeaveOutsideAngular:"emojiLeaveOutsideAngular",emojiClickOutsideAngular:"emojiClickOutsideAngular"},standalone:!0,features:[A,C3],decls:10,vars:11,consts:[["container",""],["label",""],["normalRenderTemplate",""],[1,"emoji-mart-category",3,"ngStyle"],[1,"emoji-mart-category-label",3,"ngStyle"],["aria-hidden","true",3,"ngStyle"],[4,"ngIf","ngIfElse"],[4,"ngIf"],[3,"emoji","size","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","imageUrlFn","hideObsolete","useButton","emojiOverOutsideAngular","emojiLeaveOutsideAngular","emojiClickOutsideAngular",4,"ngFor","ngForOf","ngForTrackBy"],[3,"emojiOverOutsideAngular","emojiLeaveOutsideAngular","emojiClickOutsideAngular","emoji","size","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","imageUrlFn","hideObsolete","useButton"],[3,"emoji","size","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","useButton"],[1,"emoji-mart-no-results-label"]],template:function(a,t){if(1&a&&(o(0,"section",3,0)(2,"div",4)(3,"span",5,1),f(5),n()(),R(6,dU3,3,3,"div",6)(7,uU3,5,11,"div",7),n(),R(8,mU3,1,2,"ng-template",null,2,ln)),2&a){const i=Mr(9);A6("emoji-mart-no-results",t.noEmojiToDisplay),k("ngStyle",t.containerStyles),A2("aria-label",t.i18n.categories[t.id]),s(2),k("ngStyle",t.labelStyles),A2("data-name",t.name),s(),k("ngStyle",t.labelSpanStyles),s(2),V(" ",t.i18n.categories[t.id]," "),s(),k("ngIf",t.virtualize)("ngIfElse",i),s(),k("ngIf",t.noEmojiToDisplay)}},dependencies:[f0,ea,i5,En,om,Qh1],encapsulation:2,changeDetection:0})}return c})();function em1(c){return c.reduce((r,e)=>(r.includes(e)||r.push(e),r),[])}function yU3(c,r){const e=em1(c),a=em1(r);return e.filter(t=>a.indexOf(t)>=0)}let xU3=(()=>{class c{emojiService;originalPool={};index={};emojisList={};emoticonsList={};emojiSearch={};constructor(e){this.emojiService=e;for(const a of this.emojiService.emojis){const{shortNames:t,emoticons:i}=a,l=t[0];for(const d of i)this.emoticonsList[d]||(this.emoticonsList[d]=l);this.emojisList[l]=this.emojiService.getSanitizedData(l),this.originalPool[l]=a}}addCustomToPool(e,a){for(const t of e){const i=t.id||t.shortNames[0];i&&!a[i]&&(a[i]=this.emojiService.getData(t),this.emojisList[i]=this.emojiService.getSanitizedData(t))}}search(e,a,t=75,i=[],l=[],d=[]){this.addCustomToPool(d,this.originalPool);let u,p=this.originalPool;if(e.length){if("-"===e||"-1"===e)return[this.emojisList[-1]];if("+"===e||"+1"===e)return[this.emojisList["+1"]];let z=e.toLowerCase().split(/[\s|,|\-|_]+/),x=[];if(z.length>2&&(z=[z[0],z[1]]),i.length||l.length){p={};for(const E of Zh1||[]){const P=!i||!i.length||i.indexOf(E.id)>-1,Y=!(!l||!l.length)&&l.indexOf(E.id)>-1;if(P&&!Y)for(const Z of E.emojis||[]){const K=this.emojiService.getData(Z);p[K?.id??""]=K}}if(d.length){const E=!i||!i.length||i.indexOf("custom")>-1,P=!(!l||!l.length)&&l.indexOf("custom")>-1;E&&!P&&this.addCustomToPool(d,p)}}x=z.map(E=>{let P=p,Y=this.index,Z=0;for(let K=0;KX[n1.id]-X[h1.id])}P=Y.pool}return Y.results}).filter(E=>E),u=x.length>1?yU3.apply(null,x):x.length?x[0]:[]}return u&&(a&&(u=u.filter(z=>!(!z||!z.id)&&a(this.emojiService.names[z.id]))),u&&u.length>t&&(u=u.slice(0,t))),u||null}buildSearch(e,a,t,i,l){const d=[],u=(p,z)=>{if(!p)return;const x=Array.isArray(p)?p:[p];for(const E of x){const P=z?E.split(/[-|_|\s]+/):[E];for(let Y of P)Y=Y.toLowerCase(),d.includes(Y)||d.push(Y)}};return u(e,!0),u(a,!0),u(t,!0),u(i,!0),u(l,!1),d.join(",")}static \u0275fac=function(a){return new(a||c)(d1(Il))};static \u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),cm1=(()=>{class c{skin;i18n;changeSkin=new Y1;opened=!1;skinTones=[1,2,3,4,5,6];toggleOpen(){this.opened=!this.opened}isSelected(e){return e===this.skin}isVisible(e){return this.opened||this.isSelected(e)}pressed(e){return this.opened?!!this.isSelected(e):""}tabIndex(e){return this.isVisible(e)?"0":""}expanded(e){return this.isSelected(e)?this.opened:""}handleClick(e){this.opened?(this.opened=!1,e!==this.skin&&this.changeSkin.emit(e)):this.opened=!0}static \u0275fac=function(a){return new(a||c)};static \u0275cmp=V1({type:c,selectors:[["emoji-skins"]],inputs:{skin:"skin",i18n:"i18n"},outputs:{changeSkin:"changeSkin"},standalone:!0,features:[C3],decls:2,vars:3,consts:[[1,"emoji-mart-skin-swatches"],["class","emoji-mart-skin-swatch",3,"selected",4,"ngFor","ngForOf"],[1,"emoji-mart-skin-swatch"],["role","button",3,"click","keyup.enter","keyup.space","tabIndex"]],template:function(a,t){1&a&&(o(0,"section",0),R(1,_U3,2,12,"span",1),n()),2&a&&(A6("opened",t.opened),s(),k("ngForOf",t.skinTones))},dependencies:[f0,ea],encapsulation:2,changeDetection:0})}return c})(),XC=(()=>{class c{ref;emojiService;title;emoji;idleEmoji;i18n;emojiIsNative;emojiSkin;emojiSize;emojiSet;emojiSheetSize;emojiBackgroundImageFn;emojiImageUrlFn;skinChange=new Y1;emojiData={};listedEmoticons;constructor(e,a){this.ref=e,this.emojiService=a}ngOnChanges(){if(!this.emoji)return;this.emojiData=this.emojiService.getData(this.emoji,this.emojiSkin,this.emojiSet);const e=[],a=[];(this.emojiData.emoticons||[]).forEach(i=>{e.indexOf(i.toLowerCase())>=0||(e.push(i.toLowerCase()),a.push(i))}),this.listedEmoticons=a,this.ref?.detectChanges()}static \u0275fac=function(a){return new(a||c)(B(B1),B(Il))};static \u0275cmp=V1({type:c,selectors:[["emoji-preview"]],inputs:{title:"title",emoji:"emoji",idleEmoji:"idleEmoji",i18n:"i18n",emojiIsNative:"emojiIsNative",emojiSkin:"emojiSkin",emojiSize:"emojiSize",emojiSet:"emojiSet",emojiSheetSize:"emojiSheetSize",emojiBackgroundImageFn:"emojiBackgroundImageFn",emojiImageUrlFn:"emojiImageUrlFn"},outputs:{skinChange:"skinChange"},standalone:!0,features:[A,C3],decls:9,vars:6,consts:[["class","emoji-mart-preview",4,"ngIf"],[1,"emoji-mart-preview",3,"hidden"],[1,"emoji-mart-preview-emoji"],[3,"isNative","skin","set","emoji","backgroundImageFn","size","imageUrlFn",4,"ngIf"],[1,"emoji-mart-preview-data"],[1,"emoji-mart-title-label"],[1,"emoji-mart-preview-skins"],[3,"changeSkin","skin","i18n"],[1,"emoji-mart-preview"],[3,"emoji","size","isNative","skin","set","sheetSize","backgroundImageFn","imageUrlFn"],[1,"emoji-mart-preview-name"],[1,"emoji-mart-preview-shortname"],["class","emoji-mart-preview-shortname",4,"ngFor","ngForOf"],[1,"emoji-mart-preview-emoticons"],["class","emoji-mart-preview-emoticon",4,"ngFor","ngForOf"],[1,"emoji-mart-preview-emoticon"],[3,"isNative","skin","set","emoji","backgroundImageFn","size","imageUrlFn"]],template:function(a,t){1&a&&(R(0,vU3,10,12,"div",0),o(1,"div",1)(2,"div",2),R(3,HU3,1,7,"ngx-emoji",3),n(),o(4,"div",4)(5,"span",5),f(6),n()(),o(7,"div",6)(8,"emoji-skins",7),C("changeSkin",function(l){return t.skinChange.emit(l)}),n()()()),2&a&&(k("ngIf",t.emoji&&t.emojiData),s(),k("hidden",t.emoji),s(2),k("ngIf",t.idleEmoji&&t.idleEmoji.length),s(3),H(t.title),s(2),k("skin",t.emojiSkin)("i18n",t.i18n))},dependencies:[f0,ea,i5,Qh1,cm1],encapsulation:2,changeDetection:0})}return c})(),wU3=0,ez=(()=>{class c{ngZone;emojiSearch;maxResults=75;autoFocus=!1;i18n;include=[];exclude=[];custom=[];icons;emojisToShowFilter;searchResults=new Y1;enterKeyOutsideAngular=new Y1;inputRef;isSearching=!1;icon;query="";inputId="emoji-mart-search-"+ ++wU3;destroy$=new G2;constructor(e,a){this.ngZone=e,this.emojiSearch=a}ngOnInit(){this.icon=this.icons.search,this.setupKeyupListener()}ngAfterViewInit(){this.autoFocus&&this.inputRef.nativeElement.focus()}ngOnDestroy(){this.destroy$.next()}clear(){this.query="",this.handleSearch(""),this.inputRef.nativeElement.focus()}handleSearch(e){""===e?(this.icon=this.icons.search,this.isSearching=!1):(this.icon=this.icons.delete,this.isSearching=!0);const a=this.emojiSearch.search(this.query,this.emojisToShowFilter,this.maxResults,this.include,this.exclude,this.custom);this.searchResults.emit(a)}handleChange(){this.handleSearch(this.query)}setupKeyupListener(){this.ngZone.runOutsideAngular(()=>Kt(this.inputRef.nativeElement,"keyup").pipe(vs(this.destroy$)).subscribe(e=>{!this.query||"Enter"!==e.key||(this.enterKeyOutsideAngular.emit(e),e.preventDefault())}))}static \u0275fac=function(a){return new(a||c)(B(C2),B(xU3))};static \u0275cmp=V1({type:c,selectors:[["emoji-search"]],viewQuery:function(a,t){if(1&a&&b1(CU3,7),2&a){let i;M1(i=L1())&&(t.inputRef=i.first)}},inputs:{maxResults:"maxResults",autoFocus:"autoFocus",i18n:"i18n",include:"include",exclude:"exclude",custom:"custom",icons:"icons",emojisToShowFilter:"emojisToShowFilter"},outputs:{searchResults:"searchResults",enterKeyOutsideAngular:"enterKeyOutsideAngular"},standalone:!0,features:[C3],decls:8,vars:9,consts:[["inputRef",""],[1,"emoji-mart-search"],["type","search",3,"ngModelChange","id","placeholder","autofocus","ngModel"],[1,"emoji-mart-sr-only",3,"htmlFor"],["type","button",1,"emoji-mart-search-icon",3,"click","keyup.enter","disabled"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 20 20","width","13","height","13","opacity","0.5"]],template:function(a,t){if(1&a){const i=j();o(0,"div",1)(1,"input",2,0),nn("ngModelChange",function(d){return y(i),Ch(t.query,d)||(t.query=d),b(d)}),C("ngModelChange",function(){return y(i),b(t.handleChange())}),n(),o(3,"label",3),f(4),n(),o(5,"button",4),C("click",function(){return y(i),b(t.clear())})("keyup.enter",function(){return y(i),b(t.clear())}),w(),o(6,"svg",5),v(7,"path"),n()()()}2&a&&(s(),k("id",t.inputId)("placeholder",t.i18n.search)("autofocus",t.autoFocus),on("ngModel",t.query),s(2),k("htmlFor",t.inputId),s(),V(" ",t.i18n.search," "),s(),k("disabled",!t.isSearching),A2("aria-label",t.i18n.clear),s(2),A2("d",t.icon))},dependencies:[yl,H4,N4,Ml],encapsulation:2})}return c})();const am1={activity:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24m10 11h-5c.3-2.5 1.3-4.8 2-6.1a10 10 0 0 1 3 6.1m-9 0V2a10 10 0 0 1 4.4 1.6A18 18 0 0 0 15 11h-2zm-2 0H9a18 18 0 0 0-2.4-7.4A10 10 0 0 1 11 2.1V11zm0 2v9a10 10 0 0 1-4.4-1.6A18 18 0 0 0 9 13h2zm4 0a18 18 0 0 0 2.4 7.4 10 10 0 0 1-4.4 1.5V13h2zM5 4.9c.7 1.3 1.7 3.6 2 6.1H2a10 10 0 0 1 3-6.1M2 13h5c-.3 2.5-1.3 4.8-2 6.1A10 10 0 0 1 2 13m17 6.1c-.7-1.3-1.7-3.6-2-6.1h5a10 10 0 0 1-3 6.1",custom:"M10 1h3v21h-3zm10.186 4l1.5 2.598L3.5 18.098 2 15.5zM2 7.598L3.5 5l18.186 10.5-1.5 2.598z",flags:"M0 0l6 24h2L2 0zm21 5h-4l-1-4H4l3 12h3l1 4h13L21 5zM6.6 3h7.8l2 8H8.6l-2-8zm8.8 10l-2.9 1.9-.4-1.9h3.3zm3.6 0l-1.5-6h2l2 8H16l3-2z",foods:"M17 5c-1.8 0-2.9.4-3.7 1 .5-1.3 1.8-3 4.7-3a1 1 0 0 0 0-2c-3 0-4.6 1.3-5.5 2.5l-.2.2c-.6-1.9-1.5-3.7-3-3.7C8.5 0 7.7.3 7 1c-2 1.5-1.7 2.9-.5 4C3.6 5.2 0 7.4 0 13c0 4.6 5 11 9 11 2 0 2.4-.5 3-1 .6.5 1 1 3 1 4 0 9-6.4 9-11 0-6-4-8-7-8M8.2 2.5c.7-.5 1-.5 1-.5.4.2 1 1.4 1.4 3-1.6-.6-2.8-1.3-3-1.8l.6-.7M15 22c-1 0-1.2-.1-1.6-.4l-.1-.2a2 2 0 0 0-2.6 0l-.1.2c-.4.3-.5.4-1.6.4-2.8 0-7-5.4-7-9 0-6 4.5-6 5-6 2 0 2.5.4 3.4 1.2l.3.3a2 2 0 0 0 2.6 0l.3-.3c1-.8 1.5-1.2 3.4-1.2.5 0 5 .1 5 6 0 3.6-4.2 9-7 9",nature:"M15.5 8a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m-7 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m10.43-8h-.02c-.97 0-2.14.79-3.02 1.5A13.88 13.88 0 0 0 12 .99c-1.28 0-2.62.13-3.87.51C7.24.8 6.07 0 5.09 0h-.02C3.35 0 .07 2.67 0 7.03c-.04 2.47.28 4.23 1.04 5 .26.27.88.69 1.3.9.19 3.17.92 5.23 2.53 6.37.9.64 2.19.95 3.2 1.1-.03.2-.07.4-.07.6 0 1.77 2.35 3 4 3s4-1.23 4-3c0-.2-.04-.4-.07-.59 2.57-.38 5.43-1.87 5.92-7.58.4-.22.89-.57 1.1-.8.77-.76 1.09-2.52 1.05-5C23.93 2.67 20.65 0 18.93 0M3.23 9.13c-.24.29-.84 1.16-.9 1.24A9.67 9.67 0 0 1 2 7.08c.05-3.28 2.48-4.97 3.1-5.03.25.02.72.27 1.26.65A7.95 7.95 0 0 0 4 7.82c-.14.55-.4.86-.79 1.31M12 22c-.9 0-1.95-.7-2-1 0-.65.47-1.24 1-1.6v.6a1 1 0 1 0 2 0v-.6c.52.36 1 .95 1 1.6-.05.3-1.1 1-2 1m3-3.48v.02a4.75 4.75 0 0 0-1.26-1.02c1.09-.52 2.24-1.33 2.24-2.22 0-1.84-1.78-2.2-3.98-2.2s-3.98.36-3.98 2.2c0 .89 1.15 1.7 2.24 2.22A4.8 4.8 0 0 0 9 18.54v-.03a6.1 6.1 0 0 1-2.97-.84c-1.3-.92-1.84-3.04-1.86-6.48l.03-.04c.5-.82 1.49-1.45 1.8-3.1C6 6 7.36 4.42 8.36 3.53c1.01-.35 2.2-.53 3.59-.53 1.45 0 2.68.2 3.73.57 1 .9 2.32 2.46 2.32 4.48.31 1.65 1.3 2.27 1.8 3.1l.1.18c-.06 5.97-1.95 7.01-4.9 7.19m6.63-8.2l-.11-.2a7.59 7.59 0 0 0-.74-.98 3.02 3.02 0 0 1-.79-1.32 7.93 7.93 0 0 0-2.35-5.12c.53-.38 1-.63 1.26-.65.64.07 3.05 1.77 3.1 5.03.02 1.81-.35 3.22-.37 3.24",objects:"M12 0a9 9 0 0 0-5 16.5V21s2 3 5 3 5-3 5-3v-4.5A9 9 0 0 0 12 0zm0 2a7 7 0 1 1 0 14 7 7 0 0 1 0-14zM9 17.5a9 9 0 0 0 6 0v.8a7 7 0 0 1-3 .7 7 7 0 0 1-3-.7v-.8zm.2 3a8.9 8.9 0 0 0 2.8.5c1 0 1.9-.2 2.8-.5-.6.7-1.6 1.5-2.8 1.5-1.1 0-2.1-.8-2.8-1.5zm5.5-8.1c-.8 0-1.1-.8-1.5-1.8-.5-1-.7-1.5-1.2-1.5s-.8.5-1.3 1.5c-.4 1-.8 1.8-1.6 1.8h-.3c-.5-.2-.8-.7-1.3-1.8l-.2-1A3 3 0 0 0 7 9a1 1 0 0 1 0-2c1.7 0 2 1.4 2.2 2.1.5-1 1.3-2 2.8-2 1.5 0 2.3 1.1 2.7 2.1.2-.8.6-2.2 2.3-2.2a1 1 0 1 1 0 2c-.2 0-.3.5-.3.7a6.5 6.5 0 0 1-.3 1c-.5 1-.8 1.7-1.7 1.7",people:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24m0 22a10 10 0 1 1 0-20 10 10 0 0 1 0 20M8 7a2 2 0 1 0 0 4 2 2 0 0 0 0-4m8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4m-.8 8c-.7 1.2-1.8 2-3.3 2-1.5 0-2.7-.8-3.4-2H15m3-2H6a6 6 0 1 0 12 0",places:"M6.5 12a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 3c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5m11-3a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 3c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5m5-5.5l-1-.4-.1-.1h.6c.6 0 1-.4 1-1 0-1-.9-2-2-2h-.6l-.8-1.7A3 3 0 0 0 16.8 2H7.2a3 3 0 0 0-2.8 2.3L3.6 6H3a2 2 0 0 0-2 2c0 .6.4 1 1 1h.6v.1l-1 .4a2 2 0 0 0-1.4 2l.7 7.6a1 1 0 0 0 1 .9H3v1c0 1.1.9 2 2 2h2a2 2 0 0 0 2-2v-1h6v1c0 1.1.9 2 2 2h2a2 2 0 0 0 2-2v-1h1.1a1 1 0 0 0 1-.9l.7-7.5a2 2 0 0 0-1.3-2.1M6.3 4.9c.1-.5.5-.9 1-.9h9.5c.4 0 .8.4 1 .9L19.2 9H4.7l1.6-4.1zM7 21H5v-1h2v1zm12 0h-2v-1h2v1zm2.2-3H2.8l-.7-6.6.9-.4h18l.9.4-.7 6.6z",recent:"M13 4h-2v7H9v2h2v2h2v-2h4v-2h-4zm-1-4a12 12 0 1 0 0 24 12 12 0 0 0 0-24m0 22a10 10 0 1 1 0-20 10 10 0 0 1 0 20",symbols:"M0 0h11v2H0zm4 11h3V6h4V4H0v2h4zm11.5 6a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5m0-2.99a.5.5 0 0 1 0 .99c-.28 0-.5-.22-.5-.5s.22-.49.5-.49m6 5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 2.99a.5.5 0 0 1-.5-.5.5.5 0 0 1 1 .01.5.5 0 0 1-.5.49m.5-9l-9 9 1.51 1.5 9-9zm-5-2c2.2 0 4-1.12 4-2.5V2s.98-.16 1.5.95C23 4.05 23 6 23 6s1-1.12 1-3.13C24-.02 21 0 21 0h-2v6.35A5.85 5.85 0 0 0 17 6c-2.2 0-4 1.12-4 2.5s1.8 2.5 4 2.5m-6.7 9.48L8.82 18.9a47.54 47.54 0 0 1-1.44 1.13c-.3-.3-.99-1.02-2.04-2.19.9-.83 1.47-1.46 1.72-1.89s.38-.87.38-1.33c0-.6-.27-1.18-.82-1.76-.54-.58-1.33-.87-2.35-.87-1 0-1.79.29-2.34.87-.56.6-.83 1.18-.83 1.79 0 .81.42 1.75 1.25 2.8a6.57 6.57 0 0 0-1.8 1.79 3.46 3.46 0 0 0-.51 1.83c0 .86.3 1.56.92 2.1a3.5 3.5 0 0 0 2.42.83c1.17 0 2.44-.38 3.81-1.14L8.23 24h2.82l-2.09-2.38 1.34-1.14zM3.56 14.1a1.02 1.02 0 0 1 .73-.28c.31 0 .56.08.75.25a.85.85 0 0 1 .28.66c0 .52-.42 1.11-1.26 1.78-.53-.65-.8-1.23-.8-1.74a.9.9 0 0 1 .3-.67m.18 7.9c-.43 0-.78-.12-1.06-.35-.28-.23-.41-.49-.41-.76 0-.6.5-1.3 1.52-2.09a31.23 31.23 0 0 0 2.25 2.44c-.92.5-1.69.76-2.3.76"},rm1={search:"M12.9 14.32a8 8 0 1 1 1.41-1.41l5.35 5.33-1.42 1.42-5.33-5.34zM8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12z",delete:"M10 8.586L2.929 1.515 1.515 2.929 8.586 10l-7.071 7.071 1.414 1.414L10 11.414l7.071 7.071 1.414-1.414L11.414 10l7.071-7.071-1.414-1.414L10 8.586z"},tm1={search:"Search",emojilist:"List of emoji",notfound:"No Emoji Found",clear:"Clear",categories:{search:"Search Results",recent:"Frequently Used",people:"Smileys & People",nature:"Animals & Nature",foods:"Food & Drink",activity:"Activity",places:"Travel & Places",objects:"Objects",symbols:"Symbols",flags:"Flags",custom:"Custom"},skintones:{1:"Default Skin Tone",2:"Light Skin Tone",3:"Medium-Light Skin Tone",4:"Medium Skin Tone",5:"Medium-Dark Skin Tone",6:"Dark Skin Tone"}};let G3=(()=>{class c{ngZone;renderer;ref;frequently;platformId;perLine=9;totalFrequentLines=4;i18n={};style={};title="Emoji Mart\u2122";emoji="department_store";darkMode=!("function"!=typeof matchMedia||!matchMedia("(prefers-color-scheme: dark)").matches);color="#ae65c5";hideObsolete=!0;categories=[];activeCategories=[];set="apple";skin=1;isNative=!1;emojiSize=24;sheetSize=64;emojisToShowFilter;showPreview=!0;emojiTooltip=!1;autoFocus=!1;custom=[];hideRecent=!0;imageUrlFn;include;exclude;notFoundEmoji="sleuth_or_spy";categoriesIcons=am1;searchIcons=rm1;useButton=!1;enableFrequentEmojiSort=!1;enableSearch=!0;showSingleCategory=!1;virtualize=!1;virtualizeOffset=0;recent;emojiClick=new Y1;emojiSelect=new Y1;skinChange=new Y1;scrollRef;previewRef;searchRef;categoryRefs;scrollHeight=0;clientHeight=0;clientWidth=0;selected;nextScroll;scrollTop;firstRender=!0;previewEmoji=null;animationFrameRequestId=null;NAMESPACE="emoji-mart";measureScrollbar=0;RECENT_CATEGORY={id:"recent",name:"Recent",emojis:null};SEARCH_CATEGORY={id:"search",name:"Search",emojis:null,anchor:!1};CUSTOM_CATEGORY={id:"custom",name:"Custom",emojis:[]};scrollListener;backgroundImageFn=(e,a)=>`https://cdn.jsdelivr.net/npm/emoji-datasource-${e}@14.0.0/img/${e}/sheets-256/${a}.png`;constructor(e,a,t,i,l){this.ngZone=e,this.renderer=a,this.ref=t,this.frequently=i,this.platformId=l}ngOnInit(){this.measureScrollbar=function bU3(){if(typeof document>"u")return 0;const c=document.createElement("div");c.style.width="100px",c.style.height="100px",c.style.overflow="scroll",c.style.position="absolute",c.style.top="-9999px",document.body.appendChild(c);const r=c.offsetWidth-c.clientWidth;return document.body.removeChild(c),r}(),this.i18n={...tm1,...this.i18n},this.i18n.categories={...tm1.categories,...this.i18n.categories},this.skin=JSON.parse(t6(this.platformId)&&localStorage.getItem(`${this.NAMESPACE}.skin`)||"null")||this.skin;const e=[...Zh1];this.custom.length>0&&(this.CUSTOM_CATEGORY.emojis=this.custom.map(d=>({...d,id:d.shortNames[0],custom:!0})),e.push(this.CUSTOM_CATEGORY)),void 0!==this.include&&e.sort((d,u)=>this.include.indexOf(d.id)>this.include.indexOf(u.id)?1:-1);for(const d of e){const u=!this.include||!this.include.length||this.include.indexOf(d.id)>-1,p=!(!this.exclude||!this.exclude.length)&&this.exclude.indexOf(d.id)>-1;if(u&&!p){if(this.emojisToShowFilter){const z=[],{emojis:x}=d;for(let E=0;E-1,t=!(!this.exclude||!this.exclude.length)&&this.exclude.indexOf(this.RECENT_CATEGORY.id)>-1;a&&!t&&(this.hideRecent=!1,this.categories.unshift(this.RECENT_CATEGORY)),this.categories[0]&&(this.categories[0].first=!0),this.categories.unshift(this.SEARCH_CATEGORY),this.selected=this.categories.filter(d=>d.first)[0].name;const i=Math.min(this.categories.length,3);this.setActiveCategories(this.activeCategories=this.categories.slice(0,i));const l=this.categories[i-1].emojis.slice();this.categories[i-1].emojis=l.slice(0,60),setTimeout(()=>{this.categories[i-1].emojis=l,this.setActiveCategories(this.categories),this.ref.detectChanges(),t6(this.platformId)&&this.ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this.updateCategoriesSize()})})}),this.ngZone.runOutsideAngular(()=>{this.scrollListener=this.renderer.listen(this.scrollRef.nativeElement,"scroll",()=>{this.handleScroll()})})}ngOnDestroy(){this.scrollListener?.(),this.cancelAnimationFrame()}setActiveCategories(e){this.activeCategories=this.showSingleCategory?e.filter(a=>a.name===this.selected||a===this.SEARCH_CATEGORY):e}updateCategoriesSize(){if(this.categoryRefs.forEach(e=>e.memoizeSize()),this.scrollRef){const e=this.scrollRef.nativeElement;this.scrollHeight=e.scrollHeight,this.clientHeight=e.clientHeight,this.clientWidth=e.clientWidth}}handleAnchorClick(e){if(this.updateCategoriesSize(),this.selected=e.category.name,this.setActiveCategories(this.categories),this.SEARCH_CATEGORY.emojis)return this.handleSearch(null),this.searchRef?.clear(),void this.handleAnchorClick(e);const a=this.categoryRefs.find(t=>t.id===e.category.id);if(a){let{top:t}=a;e.category.first?t=0:t+=1,this.scrollRef.nativeElement.scrollTop=t}this.nextScroll=e.category.name;for(const t of this.categories)this.categoryRefs.find(({id:l})=>l===t.id)?.handleScroll(this.scrollRef.nativeElement.scrollTop)}categoryTrack(e,a){return a.id}handleScroll(e=!1){if(this.nextScroll)return this.selected=this.nextScroll,this.nextScroll=void 0,void this.ref.detectChanges();if(!this.scrollRef||this.showSingleCategory)return;let a;if(this.SEARCH_CATEGORY.emojis)a=this.SEARCH_CATEGORY;else{const t=this.scrollRef.nativeElement;if(0===t.scrollTop)a=this.categories.find(i=>!0===i.first);else if(t.scrollHeight-t.scrollTop===this.clientHeight)a=this.categories[this.categories.length-1];else for(const i of this.categories)this.categoryRefs.find(({id:u})=>u===i.id)?.handleScroll(t.scrollTop)&&(a=i);this.scrollTop=t.scrollTop}!e&&a&&a.name!==this.selected?(this.selected=a.name,this.ref.detectChanges()):e&&this.ref.detectChanges()}handleSearch(e){this.SEARCH_CATEGORY.emojis=e;for(const a of this.categoryRefs.toArray())"Search"===a.name?(a.emojis=e,a.updateDisplay(e?"block":"none")):a.updateDisplay(e?"none":"block");this.scrollRef.nativeElement.scrollTop=0,this.handleScroll()}handleEnterKey(e,a){if(!a&&null!==this.SEARCH_CATEGORY.emojis&&this.SEARCH_CATEGORY.emojis.length){if(!(a=this.SEARCH_CATEGORY.emojis[0]))return;cz(this.emojiSelect,this.ngZone,{$event:e,emoji:a})}!this.hideRecent&&!this.recent&&a&&this.frequently.add(a);const t=this.categoryRefs.toArray()[1];t&&this.enableFrequentEmojiSort&&this.ngZone.run(()=>{t.updateRecentEmojis(),t.ref.markForCheck()})}handleEmojiOver(e){if(!this.showPreview||!this.previewRef)return;const a=this.CUSTOM_CATEGORY.emojis.find(t=>t.id===e.emoji.id);a&&(e.emoji={...a}),this.previewEmoji=e.emoji,this.cancelAnimationFrame(),this.ref.detectChanges()}handleEmojiLeave(){!this.showPreview||!this.previewRef||(this.animationFrameRequestId=requestAnimationFrame(()=>{this.previewEmoji=null,this.ref.detectChanges()}))}handleEmojiClick(e){cz(this.emojiClick,this.ngZone,e),cz(this.emojiSelect,this.ngZone,e),this.handleEnterKey(e.$event,e.emoji)}handleSkinChange(e){this.skin=e,localStorage.setItem(`${this.NAMESPACE}.skin`,String(e)),this.skinChange.emit(e)}getWidth(){return this.style&&this.style.width?this.style.width:this.perLine*(this.emojiSize+12)+12+2+this.measureScrollbar+"px"}cancelAnimationFrame(){null!==this.animationFrameRequestId&&(cancelAnimationFrame(this.animationFrameRequestId),this.animationFrameRequestId=null)}static \u0275fac=function(a){return new(a||c)(B(C2),B(T6),B(B1),B(Xh1),B(m6))};static \u0275cmp=V1({type:c,selectors:[["emoji-mart"]],viewQuery:function(a,t){if(1&a&&(b1(zU3,7),b1(XC,5),b1(ez,5),b1(JC,5)),2&a){let i;M1(i=L1())&&(t.scrollRef=i.first),M1(i=L1())&&(t.previewRef=i.first),M1(i=L1())&&(t.searchRef=i.first),M1(i=L1())&&(t.categoryRefs=i)}},inputs:{perLine:"perLine",totalFrequentLines:"totalFrequentLines",i18n:"i18n",style:"style",title:"title",emoji:"emoji",darkMode:"darkMode",color:"color",hideObsolete:"hideObsolete",categories:"categories",activeCategories:"activeCategories",set:"set",skin:"skin",isNative:"isNative",emojiSize:"emojiSize",sheetSize:"sheetSize",emojisToShowFilter:"emojisToShowFilter",showPreview:"showPreview",emojiTooltip:"emojiTooltip",autoFocus:"autoFocus",custom:"custom",hideRecent:"hideRecent",imageUrlFn:"imageUrlFn",include:"include",exclude:"exclude",notFoundEmoji:"notFoundEmoji",categoriesIcons:"categoriesIcons",searchIcons:"searchIcons",useButton:"useButton",enableFrequentEmojiSort:"enableFrequentEmojiSort",enableSearch:"enableSearch",showSingleCategory:"showSingleCategory",virtualize:"virtualize",virtualizeOffset:"virtualizeOffset",recent:"recent",backgroundImageFn:"backgroundImageFn"},outputs:{emojiClick:"emojiClick",emojiSelect:"emojiSelect",skinChange:"skinChange"},standalone:!0,features:[C3],decls:8,vars:16,consts:[["scrollRef",""],[3,"ngStyle"],[1,"emoji-mart-bar"],[3,"anchorClick","categories","color","selected","i18n","icons"],[3,"i18n","include","exclude","custom","autoFocus","icons","emojisToShowFilter","searchResults","enterKeyOutsideAngular",4,"ngIf"],[1,"emoji-mart-scroll"],[3,"id","name","emojis","perLine","totalFrequentLines","hasStickyPosition","i18n","hideObsolete","notFoundEmoji","custom","recent","virtualize","virtualizeOffset","emojiIsNative","emojiSkin","emojiSize","emojiSet","emojiSheetSize","emojiForceSize","emojiTooltip","emojiBackgroundImageFn","emojiImageUrlFn","emojiUseButton","emojiOverOutsideAngular","emojiLeaveOutsideAngular","emojiClickOutsideAngular",4,"ngFor","ngForOf","ngForTrackBy"],["class","emoji-mart-bar",4,"ngIf"],[3,"searchResults","enterKeyOutsideAngular","i18n","include","exclude","custom","autoFocus","icons","emojisToShowFilter"],[3,"emojiOverOutsideAngular","emojiLeaveOutsideAngular","emojiClickOutsideAngular","id","name","emojis","perLine","totalFrequentLines","hasStickyPosition","i18n","hideObsolete","notFoundEmoji","custom","recent","virtualize","virtualizeOffset","emojiIsNative","emojiSkin","emojiSize","emojiSet","emojiSheetSize","emojiForceSize","emojiTooltip","emojiBackgroundImageFn","emojiImageUrlFn","emojiUseButton"],[3,"skinChange","emoji","idleEmoji","emojiIsNative","emojiSize","emojiSkin","emojiSet","i18n","emojiSheetSize","emojiBackgroundImageFn","emojiImageUrlFn"]],template:function(a,t){if(1&a){const i=j();o(0,"section",1)(1,"div",2)(2,"emoji-mart-anchors",3),C("anchorClick",function(d){return y(i),b(t.handleAnchorClick(d))}),n()(),R(3,VU3,1,7,"emoji-search",4),o(4,"section",5,0),R(6,MU3,1,23,"emoji-category",6),n(),R(7,LU3,2,11,"div",7),n()}2&a&&(nh("emoji-mart ",t.darkMode?"emoji-mart-dark":"",""),Gc("width",t.getWidth()),k("ngStyle",t.style),s(2),k("categories",t.categories)("color",t.color)("selected",t.selected)("i18n",t.i18n)("icons",t.categoriesIcons),s(),k("ngIf",t.enableSearch),s(),A2("aria-label",t.i18n.emojilist),s(2),k("ngForOf",t.activeCategories)("ngForTrackBy",t.categoryTrack),s(),k("ngIf",t.showPreview))},dependencies:[f0,ea,i5,En,Jh1,ez,XC,JC],encapsulation:2,changeDetection:0})}return c})();function cz(c,r,e){c.observed&&r.run(()=>c.emit(e))}const FU3=["fileSelector"],kU3=c=>({openFileSelector:c});function SU3(c,r){if(1&c&&(o(0,"div",8),f(1),n()),2&c){const e=h(2);s(),H(e.dropZoneLabel)}}function NU3(c,r){if(1&c){const e=j();o(0,"div")(1,"input",9),C("click",function(t){return y(e),b(h(2).openFileSelector(t))}),n()()}if(2&c){const e=h(2);s(),E1("value",e.browseBtnLabel),k("className",e.browseBtnClassName)}}function DU3(c,r){if(1&c&&R(0,SU3,2,1,"div",6)(1,NU3,2,2,"div",7),2&c){const e=h();k("ngIf",e.dropZoneLabel),s(),k("ngIf",e.showBrowseBtn)}}function TU3(c,r){}class Ul{constructor(r,e){this.relativePath=r,this.fileEntry=e}}let jl=(()=>{class c{constructor(e){this.template=e}static#e=this.\u0275fac=function(a){return new(a||c)(B(t0))};static#c=this.\u0275dir=U1({type:c,selectors:[["","ngx-file-drop-content-tmp",""]]})}return c})(),$l=(()=>{class c{get disabled(){return this._disabled}set disabled(e){this._disabled=null!=e&&"false"!=`${e}`}constructor(e,a){this.zone=e,this.renderer=a,this.accept="*",this.directory=!1,this.multiple=!0,this.dropZoneLabel="",this.dropZoneClassName="ngx-file-drop__drop-zone",this.useDragEnter=!1,this.contentClassName="ngx-file-drop__content",this.showBrowseBtn=!1,this.browseBtnClassName="btn btn-primary btn-xs ngx-file-drop__browse-btn",this.browseBtnLabel="Browse files",this.onFileDrop=new Y1,this.onFileOver=new Y1,this.onFileLeave=new Y1,this.isDraggingOverDropZone=!1,this.globalDraggingInProgress=!1,this.files=[],this.numOfActiveReadEntries=0,this.helperFormEl=null,this.fileInputPlaceholderEl=null,this.dropEventTimerSubscription=null,this._disabled=!1,this.openFileSelector=t=>{this.fileSelector&&this.fileSelector.nativeElement&&this.fileSelector.nativeElement.click()},this.globalDragStartListener=this.renderer.listen("document","dragstart",t=>{this.globalDraggingInProgress=!0}),this.globalDragEndListener=this.renderer.listen("document","dragend",t=>{this.globalDraggingInProgress=!1})}ngOnDestroy(){this.dropEventTimerSubscription&&(this.dropEventTimerSubscription.unsubscribe(),this.dropEventTimerSubscription=null),this.globalDragStartListener(),this.globalDragEndListener(),this.files=[],this.helperFormEl=null,this.fileInputPlaceholderEl=null}onDragOver(e){this.useDragEnter?(this.preventAndStop(e),e.dataTransfer&&(e.dataTransfer.dropEffect="copy")):!this.isDropzoneDisabled()&&!this.useDragEnter&&e.dataTransfer&&(this.isDraggingOverDropZone||(this.isDraggingOverDropZone=!0,this.onFileOver.emit(e)),this.preventAndStop(e),e.dataTransfer.dropEffect="copy")}onDragEnter(e){!this.isDropzoneDisabled()&&this.useDragEnter&&(this.isDraggingOverDropZone||(this.isDraggingOverDropZone=!0,this.onFileOver.emit(e)),this.preventAndStop(e))}onDragLeave(e){this.isDropzoneDisabled()||(this.isDraggingOverDropZone&&(this.isDraggingOverDropZone=!1,this.onFileLeave.emit(e)),this.preventAndStop(e))}dropFiles(e){if(!this.isDropzoneDisabled()&&(this.isDraggingOverDropZone=!1,e.dataTransfer)){let a;a=e.dataTransfer.items?e.dataTransfer.items:e.dataTransfer.files,this.preventAndStop(e),this.checkFiles(a)}}uploadFiles(e){!this.isDropzoneDisabled()&&e.target&&(this.checkFiles(e.target.files||[]),this.resetFileInput())}getFakeDropEntry(e){const a={name:e.name,isDirectory:!1,isFile:!0,file:t=>t(e)};return new Ul(a.name,a)}checkFile(e){if(e){if("webkitGetAsEntry"in e){let a=e.webkitGetAsEntry();if(a){if(a.isFile){const t=new Ul(a.name,a);this.addToQueue(t)}else a.isDirectory&&this.traverseFileTree(a,a.name);return}}this.addToQueue(this.getFakeDropEntry(e))}}checkFiles(e){for(let a=0;a{if(this.files.length>0&&0===this.numOfActiveReadEntries){const a=this.files;this.files=[],this.onFileDrop.emit(a)}})}traverseFileTree(e,a){if(e.isFile){const t=new Ul(a,e);this.files.push(t)}else{a+="/";const t=e.createReader();let i=[];const l=()=>{this.numOfActiveReadEntries++,t.readEntries(d=>{if(d.length)i=i.concat(d),l();else if(0===i.length){const u=new Ul(a,e);this.zone.run(()=>{this.addToQueue(u)})}else for(let u=0;u{this.traverseFileTree(i[u],a+i[u].name)});this.numOfActiveReadEntries--})};l()}}resetFileInput(){if(this.fileSelector&&this.fileSelector.nativeElement){const e=this.fileSelector.nativeElement,a=e.parentElement,t=this.getHelperFormElement(),i=this.getFileInputPlaceholderElement();a!==t&&(this.renderer.insertBefore(a,i,e),this.renderer.appendChild(t,e),t.reset(),this.renderer.insertBefore(a,e,i),this.renderer.removeChild(a,i))}}getHelperFormElement(){return this.helperFormEl||(this.helperFormEl=this.renderer.createElement("form")),this.helperFormEl}getFileInputPlaceholderElement(){return this.fileInputPlaceholderEl||(this.fileInputPlaceholderEl=this.renderer.createElement("div")),this.fileInputPlaceholderEl}isDropzoneDisabled(){return this.globalDraggingInProgress||this.disabled}addToQueue(e){this.files.push(e)}preventAndStop(e){e.stopPropagation(),e.preventDefault()}static#e=this.\u0275fac=function(a){return new(a||c)(B(C2),B(T6))};static#c=this.\u0275cmp=V1({type:c,selectors:[["ngx-file-drop"]],contentQueries:function(a,t,i){if(1&a&&vh(i,jl,5,t0),2&a){let l;M1(l=L1())&&(t.contentTemplate=l.first)}},viewQuery:function(a,t){if(1&a&&b1(FU3,7),2&a){let i;M1(i=L1())&&(t.fileSelector=i.first)}},inputs:{accept:"accept",directory:"directory",multiple:"multiple",dropZoneLabel:"dropZoneLabel",dropZoneClassName:"dropZoneClassName",useDragEnter:"useDragEnter",contentClassName:"contentClassName",showBrowseBtn:"showBrowseBtn",browseBtnClassName:"browseBtnClassName",browseBtnLabel:"browseBtnLabel",disabled:"disabled"},outputs:{onFileDrop:"onFileDrop",onFileOver:"onFileOver",onFileLeave:"onFileLeave"},decls:7,vars:15,consts:[["fileSelector",""],["defaultContentTemplate",""],[3,"drop","dragover","dragenter","dragleave","className"],[3,"className"],["type","file",1,"ngx-file-drop__file-input",3,"change","accept","multiple"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","ngx-file-drop__drop-zone-label",4,"ngIf"],[4,"ngIf"],[1,"ngx-file-drop__drop-zone-label"],["type","button",3,"click","className","value"]],template:function(a,t){if(1&a){const i=j();o(0,"div",2),C("drop",function(d){return y(i),b(t.dropFiles(d))})("dragover",function(d){return y(i),b(t.onDragOver(d))})("dragenter",function(d){return y(i),b(t.onDragEnter(d))})("dragleave",function(d){return y(i),b(t.onDragLeave(d))}),o(1,"div",3)(2,"input",4,0),C("change",function(d){return y(i),b(t.uploadFiles(d))}),n(),R(4,DU3,2,2,"ng-template",null,1,ln)(6,TU3,0,0,"ng-template",5),n()()}if(2&a){const i=Mr(5);A6("ngx-file-drop__drop-zone--over",t.isDraggingOverDropZone),k("className",t.dropZoneClassName),s(),k("className",t.contentClassName),s(),k("accept",t.accept)("multiple",t.multiple),A2("directory",t.directory||void 0)("webkitdirectory",t.directory||void 0)("mozdirectory",t.directory||void 0)("msdirectory",t.directory||void 0)("odirectory",t.directory||void 0),s(4),k("ngTemplateOutlet",t.contentTemplate||i)("ngTemplateOutletContext",function dx(c,r,e,a){return ux(s1(),E3(),c,r,e,a)}(13,kU3,t.openFileSelector))}},dependencies:[i5,Ww],styles:[".ngx-file-drop__drop-zone[_ngcontent-%COMP%]{height:100px;margin:auto;border:2px dotted #0782d0;border-radius:30px}.ngx-file-drop__drop-zone--over[_ngcontent-%COMP%]{background-color:#93939380}.ngx-file-drop__content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;height:100px;color:#0782d0}.ngx-file-drop__drop-zone-label[_ngcontent-%COMP%]{text-align:center}.ngx-file-drop__file-input[_ngcontent-%COMP%]{display:none}"]})}return c})(),EU3=(()=>{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275mod=M4({type:c,bootstrap:[$l]});static#a=this.\u0275inj=g4({imports:[f0]})}return c})();const AU3=["imgURL"],im1=(c,r)=>r.code,PU3=()=>({position:"relative",left:"200px",top:"-500px"});function RU3(c,r){1&c&&(o(0,"div",1),w(),o(1,"svg",6),v(2,"path",7)(3,"path",8),n(),O(),o(4,"span",9),f(5,"Loading..."),n()())}function BU3(c,r){1&c&&v(0,"markdown",47),2&c&&k("data",h(2).description)}function OU3(c,r){1&c&&v(0,"textarea",70)}function IU3(c,r){if(1&c){const e=j();o(0,"emoji-mart",71),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(2).addEmoji(t))}),n()}2&c&&(Y2(A4(3,PU3)),k("darkMode",!1))}function UU3(c,r){if(1&c){const e=j();o(0,"div",49),v(1,"img",72),o(2,"button",73),C("click",function(){return y(e),b(h(2).removeImg())}),w(),o(3,"svg",74),v(4,"path",75),n()()()}if(2&c){const e=h(2);s(),E1("src",e.imgPreview,H2)}}function jU3(c,r){if(1&c){const e=j();o(0,"div",84),w(),o(1,"svg",85),v(2,"path",86),n(),O(),o(3,"div",87)(4,"p",88),f(5),m(6,"translate"),o(7,"button",89),C("click",function(){return b((0,y(e).openFileSelector)())}),f(8),m(9,"translate"),n()()()()}2&c&&(s(5),V("",_(6,2,"CREATE_PROD_SPEC._drop_files")," "),s(3),H(_(9,4,"CREATE_PROD_SPEC._select_files")))}function $U3(c,r){if(1&c){const e=j();o(0,"div",76)(1,"ngx-file-drop",77),C("onFileDrop",function(t){return y(e),b(h(2).dropped(t,"img"))})("onFileOver",function(t){return y(e),b(h(2).fileOver(t))})("onFileLeave",function(t){return y(e),b(h(2).fileLeave(t))}),R(2,jU3,10,6,"ng-template",78),n()(),o(3,"label",79),f(4),m(5,"translate"),n(),o(6,"div",80),v(7,"input",81,0),o(9,"button",82),C("click",function(){return y(e),b(h(2).saveImgFromURL())}),w(),o(10,"svg",74),v(11,"path",83),n()()()}if(2&c){const e=h(2);s(4),H(_(5,4,"PROFILE._add_logo_url")),s(3),k("formControl",e.attImageName),s(2),k("disabled",!e.attImageName.valid)("ngClass",e.attImageName.valid?"hover:bg-primary-50":"opacity-50")}}function YU3(c,r){1&c&&f(0),2&c&&V(" ",h().$implicit.characteristic.emailAddress," ")}function GU3(c,r){if(1&c&&f(0),2&c){const e=h().$implicit;r5(" ",e.characteristic.street1,", ",e.characteristic.postCode," (",e.characteristic.city,") ",e.characteristic.stateOrProvince," ")}}function qU3(c,r){1&c&&f(0),2&c&&V(" ",h().$implicit.characteristic.phoneNumber," ")}function WU3(c,r){if(1&c){const e=j();o(0,"tr",55)(1,"td",90),f(2),n(),o(3,"td",91),R(4,YU3,1,1)(5,GU3,1,4)(6,qU3,1,1),n(),o(7,"td",92)(8,"button",93),C("click",function(){const t=y(e).$implicit;return b(h(2).showEdit(t))}),w(),o(9,"svg",94),v(10,"path",95),n()(),O(),o(11,"button",96),C("click",function(){const t=y(e).$implicit;return b(h(2).removeMedium(t))}),w(),o(12,"svg",94),v(13,"path",97),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.mediumType," "),s(2),S(4,"Email"==e.mediumType?4:"PostalAddress"==e.mediumType?5:6)}}function ZU3(c,r){1&c&&(o(0,"div",56)(1,"div",98),w(),o(2,"svg",99),v(3,"path",100),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"PROFILE._no_mediums")," "))}function KU3(c,r){if(1&c&&(o(0,"div",63)(1,"label",101),f(2),m(3,"translate"),n(),v(4,"input",102),n()),2&c){let e;const a=h(2);s(2),H(_(3,2,"PROFILE._email")),s(2),k("ngClass",1==(null==(e=a.mediumForm.get("email"))?null:e.invalid)&&""!=a.mediumForm.value.email?"border-red-600":"border-gray-300")}}function QU3(c,r){1&c&&(o(0,"div")(1,"label",103),f(2),m(3,"translate"),n(),v(4,"input",104),n(),o(5,"div")(6,"label",105),f(7),m(8,"translate"),n(),v(9,"input",106),n(),o(10,"div")(11,"label",107),f(12),m(13,"translate"),n(),v(14,"input",108),n(),o(15,"div")(16,"label",109),f(17),m(18,"translate"),n(),v(19,"input",110),n(),o(20,"div",63)(21,"label",111),f(22),m(23,"translate"),n(),v(24,"textarea",112),n()),2&c&&(s(2),H(_(3,5,"PROFILE._country")),s(5),H(_(8,7,"PROFILE._city")),s(5),H(_(13,9,"PROFILE._state")),s(5),H(_(18,11,"PROFILE._post_code")),s(5),H(_(23,13,"PROFILE._street")))}function JU3(c,r){if(1&c){const e=j();o(0,"button",131),C("click",function(){const t=y(e).$implicit;return b(h(4).selectPrefix(t))}),o(1,"div",132),f(2),n()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.text," ")}}function XU3(c,r){if(1&c&&(o(0,"div",127)(1,"ul",129)(2,"li"),c1(3,JU3,3,1,"button",130,im1),n()()()),2&c){const e=h(3);s(3),a1(e.prefixes)}}function ej3(c,r){if(1&c){const e=j();o(0,"div",113)(1,"label",114),f(2),m(3,"translate"),n(),o(4,"select",115)(5,"option",116),f(6,"Mobile"),n(),o(7,"option",117),f(8,"Landline"),n(),o(9,"option",118),f(10,"Office"),n(),o(11,"option",119),f(12,"Home"),n(),o(13,"option",120),f(14,"Other"),n()()(),o(15,"div",113)(16,"label",121),f(17),m(18,"translate"),n(),o(19,"div",122)(20,"div",123)(21,"button",124),C("click",function(){y(e);const t=h(2);return b(t.prefixCheck=!t.prefixCheck)}),f(22),w(),o(23,"svg",125),v(24,"path",126),n()(),R(25,XU3,5,0,"div",127),O(),v(26,"input",128),n()()()}if(2&c){let e;const a=h(2);s(2),H(_(3,6,"PROFILE._phone_type")),s(15),H(_(18,8,"PROFILE._phone")),s(5),j1(" ",a.phonePrefix.flag," ",a.phonePrefix.code," "),s(3),S(25,1==a.prefixCheck?25:-1),s(),k("ngClass",1==(null==(e=a.mediumForm.get("telephoneNumber"))||null==e.errors?null:e.errors.invalidPhoneNumber)?"border-red-600":"border-gray-300 dark:border-secondary-200")}}function cj3(c,r){if(1&c){const e=j();o(0,"div",10)(1,"h2",11),f(2),m(3,"translate"),n(),v(4,"hr",12),o(5,"form",13)(6,"div")(7,"span",14),f(8),m(9,"translate"),n(),v(10,"input",15),n(),o(11,"div")(12,"span",14),f(13),m(14,"translate"),n(),v(15,"input",16),n(),o(16,"label",17),f(17),m(18,"translate"),n(),o(19,"div",18)(20,"div",19)(21,"div",20)(22,"div",21)(23,"button",22),C("click",function(){return y(e),b(h().addBold())}),w(),o(24,"svg",23),v(25,"path",24),n(),O(),o(26,"span",9),f(27,"Bold"),n()(),o(28,"button",22),C("click",function(){return y(e),b(h().addItalic())}),w(),o(29,"svg",23),v(30,"path",25),n(),O(),o(31,"span",9),f(32,"Italic"),n()(),o(33,"button",22),C("click",function(){return y(e),b(h().addList())}),w(),o(34,"svg",26),v(35,"path",27),n(),O(),o(36,"span",9),f(37,"Add list"),n()(),o(38,"button",28),C("click",function(){return y(e),b(h().addOrderedList())}),w(),o(39,"svg",26),v(40,"path",29),n(),O(),o(41,"span",9),f(42,"Add ordered list"),n()(),o(43,"button",30),C("click",function(){return y(e),b(h().addBlockquote())}),w(),o(44,"svg",31),v(45,"path",32),n(),O(),o(46,"span",9),f(47,"Add blockquote"),n()(),o(48,"button",22),C("click",function(){return y(e),b(h().addTable())}),w(),o(49,"svg",33),v(50,"path",34),n(),O(),o(51,"span",9),f(52,"Add table"),n()(),o(53,"button",30),C("click",function(){return y(e),b(h().addCode())}),w(),o(54,"svg",33),v(55,"path",35),n(),O(),o(56,"span",9),f(57,"Add code"),n()(),o(58,"button",30),C("click",function(){return y(e),b(h().addCodeBlock())}),w(),o(59,"svg",33),v(60,"path",36),n(),O(),o(61,"span",9),f(62,"Add code block"),n()(),o(63,"button",30),C("click",function(){return y(e),b(h().addLink())}),w(),o(64,"svg",33),v(65,"path",37),n(),O(),o(66,"span",9),f(67,"Add link"),n()(),o(68,"button",28),C("click",function(t){y(e);const i=h();return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(69,"svg",38),v(70,"path",39),n(),O(),o(71,"span",9),f(72,"Add emoji"),n()()()(),o(73,"button",40),C("click",function(){y(e);const t=h();return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(74,"svg",26),v(75,"path",41)(76,"path",42),n(),O(),o(77,"span",9),f(78),m(79,"translate"),n()(),o(80,"div",43),f(81),m(82,"translate"),v(83,"div",44),n()(),o(84,"div",45)(85,"label",46),f(86,"Publish post"),n(),R(87,BU3,1,1,"markdown",47)(88,OU3,1,0)(89,IU3,1,4,"emoji-mart",48),n()()(),o(90,"h2",11),f(91),m(92,"translate"),n(),v(93,"hr",12),R(94,UU3,5,1,"div",49)(95,$U3,12,6),o(96,"h2",11),f(97),m(98,"translate"),n(),v(99,"hr",12),o(100,"div",50)(101,"table",51)(102,"thead",52)(103,"tr")(104,"th",53),f(105),m(106,"translate"),n(),o(107,"th",54),f(108),m(109,"translate"),n(),o(110,"th",53),f(111),m(112,"translate"),n()()(),o(113,"tbody"),c1(114,WU3,14,2,"tr",55,z1,!1,ZU3,7,3,"div",56),n()()(),o(117,"h2",11),f(118),m(119,"translate"),n(),v(120,"hr",12),o(121,"div",57)(122,"select",58),C("change",function(t){return y(e),b(h().onTypeChange(t))}),o(123,"option",59),f(124,"Email"),n(),o(125,"option",60),f(126,"Postal Address"),n(),o(127,"option",61),f(128,"Phone Number"),n()()(),o(129,"form",62),R(130,KU3,5,4,"div",63)(131,QU3,25,15)(132,ej3,27,10),n(),o(133,"div",64)(134,"button",65),C("click",function(){return y(e),b(h().saveMedium())}),f(135),m(136,"translate"),w(),o(137,"svg",66),v(138,"path",67),n()()(),O(),o(139,"div",68)(140,"button",69),C("click",function(){return y(e),b(h().updateProfile())}),f(141),m(142,"translate"),n()()()}if(2&c){const e=h();s(2),H(_(3,41,"PROFILE._organization")),s(3),k("formGroup",e.profileForm),s(3),H(_(9,43,"PROFILE._name")),s(5),H(_(14,45,"PROFILE._website")),s(4),H(_(18,47,"UPDATE_OFFER._description")),s(6),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(79,49,"CREATE_CATALOG._preview")),s(3),V(" ",_(82,51,"CREATE_CATALOG._show_preview")," "),s(6),S(87,e.showPreview?87:88),s(2),S(89,e.showEmoji?89:-1),s(2),H(_(92,53,"PROFILE._add_logo")),s(3),S(94,e.showImgPreview?94:95),s(3),H(_(98,55,"PROFILE._contact_info")),s(8),V(" ",_(106,57,"PROFILE._medium_type")," "),s(3),V(" ",_(109,59,"PROFILE._info")," "),s(3),V(" ",_(112,61,"PROFILE._actions")," "),s(3),a1(e.contactmediums),s(4),H(_(119,63,"PROFILE._add_new_contact")),s(11),k("formGroup",e.mediumForm),s(),S(130,e.emailSelected?130:e.addressSelected?131:132),s(5),V(" ",_(136,65,"PROFILE._save")," "),s(6),V(" ",_(142,67,"PROFILE._update")," ")}}function aj3(c,r){1&c&&v(0,"error-message",2),2&c&&k("message",h().errorMessage)}function rj3(c,r){if(1&c&&(o(0,"div",63)(1,"label",101),f(2,"Email"),n(),v(3,"input",102),n()),2&c){let e;const a=h(2);s(3),k("ngClass",1==(null==(e=a.mediumForm.get("email"))?null:e.invalid)&&""!=a.mediumForm.value.email?"border-red-600":"border-gray-300")}}function tj3(c,r){1&c&&(o(0,"div")(1,"label",103),f(2),m(3,"translate"),n(),v(4,"input",104),n(),o(5,"div")(6,"label",105),f(7),m(8,"translate"),n(),v(9,"input",106),n(),o(10,"div")(11,"label",107),f(12),m(13,"translate"),n(),v(14,"input",108),n(),o(15,"div")(16,"label",109),f(17),m(18,"translate"),n(),v(19,"input",110),n(),o(20,"div",63)(21,"label",111),f(22),m(23,"translate"),n(),v(24,"textarea",112),n()),2&c&&(s(2),H(_(3,5,"PROFILE._country")),s(5),H(_(8,7,"PROFILE._city")),s(5),H(_(13,9,"PROFILE._state")),s(5),H(_(18,11,"PROFILE._post_code")),s(5),H(_(23,13,"PROFILE._street")))}function ij3(c,r){if(1&c){const e=j();o(0,"button",131),C("click",function(){const t=y(e).$implicit;return b(h(4).selectPrefix(t))}),o(1,"div",132),f(2),n()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.text," ")}}function oj3(c,r){if(1&c&&(o(0,"div",127)(1,"ul",129)(2,"li"),c1(3,ij3,3,1,"button",130,im1),n()()()),2&c){const e=h(3);s(3),a1(e.prefixes)}}function nj3(c,r){if(1&c){const e=j();o(0,"div",113)(1,"label",114),f(2),m(3,"translate"),n(),o(4,"select",115)(5,"option",116),f(6,"Mobile"),n(),o(7,"option",117),f(8,"Landline"),n(),o(9,"option",118),f(10,"Office"),n(),o(11,"option",119),f(12,"Home"),n(),o(13,"option",120),f(14,"Other"),n()()(),o(15,"div",113)(16,"label",121),f(17),m(18,"translate"),n(),o(19,"div",122)(20,"div",123)(21,"button",124),C("click",function(){y(e);const t=h(2);return b(t.prefixCheck=!t.prefixCheck)}),f(22),w(),o(23,"svg",125),v(24,"path",126),n()(),R(25,oj3,5,0,"div",127),O(),v(26,"input",128),n()()()}if(2&c){let e;const a=h(2);s(2),H(_(3,6,"PROFILE._phone_type")),s(15),H(_(18,8,"PROFILE._phone")),s(5),j1(" ",a.phonePrefix.flag," ",a.phonePrefix.code," "),s(3),S(25,1==a.prefixCheck?25:-1),s(),k("ngClass",1==(null==(e=a.mediumForm.get("telephoneNumber"))||null==e.errors?null:e.errors.invalidPhoneNumber)?"border-red-600":"border-gray-300 dark:border-secondary-200")}}function sj3(c,r){if(1&c){const e=j();o(0,"div",3)(1,"div",133),C("click",function(t){return y(e),b(t.stopPropagation())}),o(2,"div",134)(3,"h2",11),f(4),m(5,"translate"),n(),o(6,"button",135),C("click",function(){return y(e),b(h().showEditMedium=!1)}),w(),o(7,"svg",136),v(8,"path",137),n(),O(),o(9,"span",9),f(10),m(11,"translate"),n()()(),o(12,"div",138)(13,"div",57)(14,"select",139),C("change",function(t){return y(e),b(h().onTypeChange(t))}),o(15,"option",59),f(16,"Email"),n(),o(17,"option",60),f(18,"Postal Address"),n(),o(19,"option",61),f(20,"Phone Number"),n()()(),o(21,"form",62),R(22,rj3,4,1,"div",63)(23,tj3,25,15)(24,nj3,27,10),n(),o(25,"div",64)(26,"button",65),C("click",function(){return y(e),b(h().editMedium())}),f(27),m(28,"translate"),w(),o(29,"svg",66),v(30,"path",67),n()()()()()()}if(2&c){const e=h();k("ngClass",e.showEditMedium?"backdrop-blur-sm":""),s(4),H(_(5,7,"PROFILE._edit")),s(6),H(_(11,9,"CARD._close")),s(4),E1("value",e.selectedMediumType),s(7),k("formGroup",e.mediumForm),s(),S(22,e.emailSelected?22:e.addressSelected?23:24),s(5),V(" ",_(28,11,"PROFILE._save")," ")}}function lj3(c,r){1&c&&(o(0,"div",143),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"PROFILE._invalid_phone")))}function fj3(c,r){1&c&&(o(0,"div",143),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"PROFILE._invalid_email")))}function dj3(c,r){if(1&c&&(o(0,"div",4)(1,"div",140),w(),o(2,"svg",141),v(3,"path",142),n()(),O(),o(4,"div"),R(5,lj3,3,3,"div",143)(6,fj3,3,3,"div",143),n(),o(7,"button",144)(8,"span",9),f(9,"Close"),n(),w(),o(10,"svg",136),v(11,"path",137),n()()()),2&c){let e,a;const t=h();s(5),S(5,1==(null==(e=t.mediumForm.get("telephoneNumber"))||null==e.errors?null:e.errors.invalidPhoneNumber)?5:-1),s(),S(6,1==(null==(a=t.mediumForm.get("email"))?null:a.invalid)?6:-1)}}function uj3(c,r){if(1&c){const e=j();o(0,"div",5)(1,"div",145)(2,"div",146),f(3),m(4,"translate"),n(),o(5,"div",147)(6,"button",148),C("click",function(){return y(e),b(h().successVisibility=!1)}),o(7,"span",9),f(8),m(9,"translate"),n(),w(),o(10,"svg",149),v(11,"path",137),n()()()()()}2&c&&(s(3),V(" ",_(4,2,"PROFILE._success"),". "),s(5),H(_(9,4,"CARD._close_toast")))}let hj3=(()=>{class c{constructor(e,a,t,i,l,d){this.localStorage=e,this.api=a,this.cdr=t,this.accountService=i,this.eventMessage=l,this.attachmentService=d,this.loading=!1,this.orders=[],this.partyId="",this.token="",this.email="",this.profileForm=new S2({name:new u1(""),website:new u1(""),description:new u1("")}),this.mediumForm=new S2({email:new u1("",[O1.email,O1.pattern("^[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$")]),country:new u1(""),city:new u1(""),stateOrProvince:new u1(""),postCode:new u1(""),street:new u1(""),telephoneNumber:new u1(""),telephoneType:new u1("")}),this.contactmediums=[],this.emailSelected=!0,this.addressSelected=!1,this.phoneSelected=!1,this.prefixes=Nl,this.countries=qt,this.phonePrefix=Nl[0],this.prefixCheck=!1,this.showEditMedium=!1,this.toastVisibility=!1,this.successVisibility=!1,this.errorMessage="",this.showError=!1,this.showPreview=!1,this.showEmoji=!1,this.description="",this.showImgPreview=!1,this.imgPreview="",this.attFileName=new u1("",[O1.required,O1.pattern("[a-zA-Z0-9 _.-]*")]),this.attImageName=new u1("",[O1.required,O1.pattern("^https?:\\/\\/.*\\.(?:png|jpg|jpeg|gif|bmp|webp)$")]),this.files=[],this.eventMessage.messages$.subscribe(u=>{"ChangedSession"===u.type&&this.initPartyInfo()})}ngOnInit(){this.loading=!0;let e=new Date;e.setMonth(e.getMonth()-1),this.selectedDate=e.toISOString(),this.initPartyInfo()}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0){let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId,this.token=e.token,this.email=e.email,this.getProfile()}S1()}getProfile(){this.contactmediums=[],this.accountService.getOrgInfo(this.partyId).then(e=>{console.log("--org info--"),console.log(e),this.profile=e,this.loadProfileData(this.profile),this.loading=!1,this.cdr.detectChanges()}),this.cdr.detectChanges(),S1()}updateProfile(){let e=[],a=[];""!=this.imgPreview&&a.push({name:"logo",value:this.imgPreview}),""!=this.profileForm.value.description&&a.push({name:"description",value:this.profileForm.value.description}),""!=this.profileForm.value.website&&a.push({name:"website",value:this.profileForm.value.website});for(let i=0;i{this.profileForm.reset(),this.getProfile(),this.successVisibility=!0,setTimeout(()=>{this.successVisibility=!1},2e3)},error:i=>{console.error("There was an error while updating!",i),i.error.error?(console.log(i),this.errorMessage="Error: "+i.error.error):this.errorMessage="There was an error while updating profile!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}loadProfileData(e){if(this.profileForm.controls.name.setValue(e.tradingName),e.contactMedium)for(let a=0;a{this.toastVisibility=!1},2e3);this.mediumForm.controls.telephoneNumber.setErrors(null),this.toastVisibility=!1}}if(this.mediumForm.invalid)return this.toastVisibility=!0,void setTimeout(()=>{this.toastVisibility=!1},2e3);this.contactmediums.push(this.emailSelected?{id:B4(),mediumType:"Email",preferred:!1,characteristic:{contactType:"Email",emailAddress:this.mediumForm.value.email}}:this.addressSelected?{id:B4(),mediumType:"PostalAddress",preferred:!1,characteristic:{contactType:"PostalAddress",city:this.mediumForm.value.city,country:this.mediumForm.value.country,postCode:this.mediumForm.value.postCode,stateOrProvince:this.mediumForm.value.stateOrProvince,street1:this.mediumForm.value.street}}:{id:B4(),mediumType:"TelephoneNumber",preferred:!1,characteristic:{contactType:this.mediumForm.value.telephoneType,phoneNumber:this.phonePrefix.code+this.mediumForm.value.telephoneNumber}}),this.mediumForm.reset(),console.log(this.contactmediums)}removeMedium(e){const a=this.contactmediums.findIndex(t=>t.id===e.id);-1!==a&&this.contactmediums.splice(a,1)}editMedium(){if(console.log(this.phoneSelected),this.phoneSelected){const e=Ra(this.phonePrefix.code+this.mediumForm.value.telephoneNumber);if(e){if(!e.isValid())return console.log("NUMERO INVALIDO"),this.mediumForm.controls.telephoneNumber.setErrors({invalidPhoneNumber:!0}),this.toastVisibility=!0,void setTimeout(()=>{this.toastVisibility=!1},2e3);this.mediumForm.controls.telephoneNumber.setErrors(null),this.toastVisibility=!1}}if(this.mediumForm.invalid)return this.toastVisibility=!0,void setTimeout(()=>{this.toastVisibility=!1},2e3);{const e=this.contactmediums.findIndex(a=>a.id===this.selectedMedium.id);-1!==e&&(this.contactmediums[e]=this.emailSelected?{id:this.contactmediums[e].id,mediumType:"Email",preferred:!1,characteristic:{contactType:"Email",emailAddress:this.mediumForm.value.email}}:this.addressSelected?{id:this.contactmediums[e].id,mediumType:"PostalAddress",preferred:!1,characteristic:{contactType:"PostalAddress",city:this.mediumForm.value.city,country:this.mediumForm.value.country,postCode:this.mediumForm.value.postCode,stateOrProvince:this.mediumForm.value.stateOrProvince,street1:this.mediumForm.value.street}}:{id:this.contactmediums[e].id,mediumType:"TelephoneNumber",preferred:!1,characteristic:{contactType:this.mediumForm.value.telephoneType,phoneNumber:this.phonePrefix.code+this.mediumForm.value.telephoneNumber}},this.mediumForm.reset(),this.showEditMedium=!1)}}showEdit(e){if(this.selectedMedium=e,"Email"==this.selectedMedium.mediumType)this.selectedMediumType="email",this.mediumForm.controls.email.setValue(this.selectedMedium.characteristic.emailAddress),this.emailSelected=!0,this.addressSelected=!1,this.phoneSelected=!1;else if("PostalAddress"==this.selectedMedium.mediumType)this.selectedMediumType="address",this.mediumForm.controls.country.setValue(this.selectedMedium.characteristic.country),this.mediumForm.controls.city.setValue(this.selectedMedium.characteristic.city),this.mediumForm.controls.stateOrProvince.setValue(this.selectedMedium.characteristic.stateOrProvince),this.mediumForm.controls.postCode.setValue(this.selectedMedium.characteristic.postCode),this.mediumForm.controls.street.setValue(this.selectedMedium.characteristic.street1),this.emailSelected=!1,this.addressSelected=!0,this.phoneSelected=!1;else{this.selectedMediumType="phone";const a=Ra(this.selectedMedium.characteristic.phoneNumber);if(a){let t=this.prefixes.filter(i=>i.code==="+"+a.countryCallingCode);t.length>0&&(this.phonePrefix=t[0]),this.mediumForm.controls.telephoneNumber.setValue(a.nationalNumber)}this.mediumForm.controls.telephoneType.setValue(this.selectedMedium.characteristic.contactType),this.emailSelected=!1,this.addressSelected=!1,this.phoneSelected=!0}this.showEditMedium=!0}selectPrefix(e){console.log(e),this.prefixCheck=!1,this.phonePrefix=e}onTypeChange(e){"email"==e.target.value?(this.emailSelected=!0,this.addressSelected=!1,this.phoneSelected=!1):"address"==e.target.value?(this.emailSelected=!1,this.addressSelected=!0,this.phoneSelected=!1):(this.emailSelected=!1,this.addressSelected=!1,this.phoneSelected=!0),this.mediumForm.reset()}dropped(e,a){this.files=e;for(const t of e)t.fileEntry.isFile?t.fileEntry.file(l=>{if(console.log("dropped"),l){const d=new FileReader;d.onload=u=>{const p=u.target.result.split(",")[1];console.log("BASE 64...."),console.log(p),this.attachmentService.uploadFile({content:{name:"orglogo"+l.name,data:p},contentType:l.type,isPublic:!0}).subscribe({next:x=>{console.log(x),"img"==a&&(l.type.startsWith("image")?(this.showImgPreview=!0,this.imgPreview=x.content):(this.errorMessage="File must have a valid image format!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3))),this.cdr.detectChanges(),console.log("uploaded")},error:x=>{console.error("There was an error while uploading!",x),x.error.error?(console.log(x),this.errorMessage="Error: "+x.error.error):this.errorMessage="There was an error while uploading the file!",413===x.status&&(this.errorMessage="File size too large! Must be under 3MB."),this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})},d.readAsDataURL(l)}}):console.log(t.relativePath,t.fileEntry)}fileOver(e){console.log(e)}fileLeave(e){console.log("leave"),console.log(e)}saveImgFromURL(){this.showImgPreview=!0,this.imgPreview=this.imgURL.nativeElement.value,this.attImageName.reset(),this.cdr.detectChanges()}removeImg(){this.showImgPreview=!1,this.imgPreview="",this.cdr.detectChanges()}addBold(){this.profileForm.patchValue({description:this.profileForm.value.description+" **bold text** "})}addItalic(){this.profileForm.patchValue({description:this.profileForm.value.description+" _italicized text_ "})}addList(){this.profileForm.patchValue({description:this.profileForm.value.description+"\n- First item\n- Second item"})}addOrderedList(){this.profileForm.patchValue({description:this.profileForm.value.description+"\n1. First item\n2. Second item"})}addCode(){this.profileForm.patchValue({description:this.profileForm.value.description+"\n`code`"})}addCodeBlock(){this.profileForm.patchValue({description:this.profileForm.value.description+"\n```\ncode\n```"})}addBlockquote(){this.profileForm.patchValue({description:this.profileForm.value.description+"\n> blockquote"})}addLink(){this.profileForm.patchValue({description:this.profileForm.value.description+" [title](https://www.example.com) "})}addTable(){this.profileForm.patchValue({description:this.profileForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"})}addEmoji(e){this.showEmoji=!1,this.profileForm.patchValue({description:this.profileForm.value.description+e.emoji.native})}togglePreview(){this.profileForm.value.description&&(this.description=this.profileForm.value.description)}static#e=this.\u0275fac=function(a){return new(a||c)(B(R1),B(p1),B(B1),B(O2),B(e2),B(Q0))};static#c=this.\u0275cmp=V1({type:c,selectors:[["org-info"]],viewQuery:function(a,t){if(1&a&&b1(AU3,5),2&a){let i;M1(i=L1())&&(t.imgURL=i.first)}},decls:6,vars:5,consts:[["imgURL",""],["role","status",1,"w-3/4","md:w-4/5","h-full","flex","justify-center","align-middle"],[1,"fixed","w-fit","top-1/2","left-1/2","z-50",3,"message"],["id","edit-medium-modal","tabindex","-1","aria-hidden","true",1,"flex","justify-center","overflow-y-auto","overflow-x-hidden","fixed","top-0","right-0","left-0","z-40","justify-center","items-center","w-full","md:inset-0","h-fit","lg:h-[calc(100%-1rem)]","max-h-full","shadow-2xl",3,"ngClass"],["id","toast-warning","role","alert",1,"flex","m-2","items-center","w-fit","max-w-xs","p-4","text-gray-500","bg-white","rounded-lg","shadow","dark:text-gray-400","dark:bg-gray-800","fixed","top-1/2","right-0","z-50","justify-center"],["id","toast-success","role","alert",1,"flex","grid","grid-flow-row","mr-2","items-center","w-auto","max-w-xs","p-4","text-gray-500","bg-white","rounded-lg","shadow","dark:text-gray-400","dark:bg-gray-800","fixed","top-1/2","right-0","z-50","justify-center"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"sr-only"],[1,"bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","p-8","rounded-lg"],[1,"md:text-3xl","lg:text-4xl","font-bold","text-primary-100","ml-4","dark:text-white","m-4"],[1,"h-px","mr-4","ml-4","bg-primary-100","dark:bg-white","border-0"],[1,"m-4","grid","md:grid-cols-2","gap-4",3,"formGroup"],[1,"font-bold","dark:text-white"],["type","text","formControlName","name","id","name",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["type","text","formControlName","website","id","website",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","prod-name",1,"font-bold","text-lg","col-span-2","dark:text-white"],[1,"w-full","col-span-2","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200"],[1,"flex","items-center","justify-between","px-3","py-2","border-b"],[1,"flex","flex-wrap","items-center","divide-gray-200","dark:divide-secondary-200","sm:divide-x","sm:rtl:divide-x-reverse"],[1,"flex","items-center","space-x-1","rtl:space-x-reverse","sm:pe-4","text-gray-500","dark:text-gray-200"],["type","button",1,"p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 5h4.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0-7H6m2 7h6.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0 0H6"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8.874 19 6.143-14M6 19h6.33m-.66-14H18"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M9 8h10M9 12h10M9 16h10M4.99 8H5m-.02 4h.01m0 4H5"],["type","button",1,"hidden","lg:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4"],["type","button",1,"hidden","md:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["fill-rule","evenodd","d","M5 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm0 12a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm1.65-9.76A1 1 0 0 0 5 9v6a1 1 0 0 0 1.65.76l3.5-3a1 1 0 0 0 0-1.52l-3.5-3ZM12 10a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Zm0 4a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Z","clip-rule","evenodd"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-width","2","d","M3 11h18m-9 0v8m-8 0h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 3v4a1 1 0 0 1-1 1H5m5 4-2 2 2 2m4-4 2 2-2 2m5-12v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M13.213 9.787a3.391 3.391 0 0 0-4.795 0l-3.425 3.426a3.39 3.39 0 0 0 4.795 4.794l.321-.304m-.321-4.49a3.39 3.39 0 0 0 4.795 0l3.424-3.426a3.39 3.39 0 0 0-4.794-4.795l-1.028.961"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-4","h-4"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM13.5 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm-7 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm3.5 9.5A5.5 5.5 0 0 1 4.6 11h10.81A5.5 5.5 0 0 1 10 15.5Z"],["type","button","data-tooltip-target","tooltip-fullscreen",1,"rounded","cursor-pointer","text-gray-500","dark:text-gray-200","p-2","sm:ms-auto","hover:text-gray-900","dark:hover:text-gray-900","hover:bg-gray-100",3,"click"],["stroke","currentColor","stroke-width","2","d","M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z"],["stroke","currentColor","stroke-width","2","d","M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"],["id","tooltip-fullscreen","role","tooltip",1,"absolute","z-10","invisible","inline-block","px-3","py-2","text-sm","font-medium","text-white","transition-opacity","duration-300","bg-gray-900","rounded-lg","shadow-sm","opacity-0","tooltip"],["data-popper-arrow","",1,"tooltip-arrow"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","rounded-b-lg"],["for","editor",1,"sr-only"],[1,"text-gray-800","dark:text-gray-200","text-wrap","break-all",3,"data"],[3,"darkMode","style"],[1,"relative","isolate","flex","flex-col","justify-end","overflow-hidden","rounded-2xl","px-8","pb-8","pt-40","max-w-sm","mx-auto","m-4","shadow-lg"],[1,"m-4","relative","overflow-x-auto","shadow-md","sm:rounded-lg"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"px-6","py-3","hidden","md:table-cell"],[1,"border-b","hover:bg-gray-200","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"flex","justify-center","w-full","m-4"],[1,"mr-8"],["id","type",1,"m-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full",3,"change"],["value","email"],["value","address"],["value","phone"],[1,"grid","h-full","grid-cols-2","gap-5","m-4",3,"formGroup"],[1,"col-span-2"],[1,"flex","w-full","justify-items-center","justify-center","m-2","p-2"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M11 16h2m6.707-9.293-2.414-2.414A1 1 0 0 0 16.586 4H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7.414a1 1 0 0 0-.293-.707ZM16 20v-6a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v6h8ZM9 4h6v3a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V4Z"],[1,"flex","w-full","justify-end"],["type","button",1,"m-2","flex","w-fit","justify-center","items-center","py-3","px-5","text-base","font-medium","text-center","text-white","rounded-lg","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:ring-primary-300","dark:focus:ring-primary-900",3,"click"],["id","editor","formControlName","description","rows","8","placeholder","Add product description...",1,"block","w-full","px-0","text-sm","text-gray-800","dark:text-gray-200","bg-white","dark:bg-secondary-300","border-0"],[3,"click","emojiClick","darkMode"],[1,"absolute","inset-0","h-full","w-full","object-cover",3,"src"],[1,"z-10","absolute","top-2","right-2","p-1","font-bold","text-white","bg-red-500","rounded-3xl",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4","text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M6 18 17.94 6M18 18 6.06 6"],[1,"flex","w-full","justify-center","justify-items-center"],["dropZoneLabel","Drop files here",1,"m-4","p-4","w-full",3,"onFileDrop","onFileOver","onFileLeave"],["ngx-file-drop-content-tmp","",1,"w-full"],[1,"font-bold","ml-6","dark:text-white"],[1,"flex","items-center","h-fit","ml-6","mt-2","mb-2","w-full","justify-between"],["type","text","id","att-name",1,"w-full","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","p-2.5",3,"formControl"],[1,"text-white","bg-primary-100","rounded-3xl","p-1","ml-2","h-fit",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 11.917 9.724 16.5 19 7.5"],[1,"w-full","flex","flex-col","justify-items-center","justify-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-12","h-12","text-primary-100","mx-auto"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M15 17h3a3 3 0 0 0 0-6h-.025a5.56 5.56 0 0 0 .025-.5A5.5 5.5 0 0 0 7.207 9.021C7.137 9.017 7.071 9 7 9a4 4 0 1 0 0 8h2.167M12 19v-9m0 0-2 2m2-2 2 2"],[1,"flex","w-full","justify-center"],[1,"text-gray-500","mr-2","w-fit"],[1,"font-medium","text-blue-600","dark:text-blue-500","hover:underline",3,"click"],[1,"px-6","py-4"],[1,"px-6","py-4","hidden","md:table-cell"],[1,"px-6","py-4","inline-flex"],["type","button",1,"text-white","bg-primary-100","hover:bg-blue-800","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","lg:p-2.5","text-center","inline-flex","items-center","me-2",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-[18px]","h-[18px]","text-white"],["fill-rule","evenodd","d","M14 4.182A4.136 4.136 0 0 1 16.9 3c1.087 0 2.13.425 2.899 1.182A4.01 4.01 0 0 1 21 7.037c0 1.068-.43 2.092-1.194 2.849L18.5 11.214l-5.8-5.71 1.287-1.31.012-.012Zm-2.717 2.763L6.186 12.13l2.175 2.141 5.063-5.218-2.141-2.108Zm-6.25 6.886-1.98 5.849a.992.992 0 0 0 .245 1.026 1.03 1.03 0 0 0 1.043.242L10.282 19l-5.25-5.168Zm6.954 4.01 5.096-5.186-2.218-2.183-5.063 5.218 2.185 2.15Z","clip-rule","evenodd"],["type","button",1,"text-white","bg-red-800","hover:bg-red-900","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","lg:p-2.5","text-center","inline-flex","items-center","me-2",3,"click"],["fill-rule","evenodd","d","M8.586 2.586A2 2 0 0 1 10 2h4a2 2 0 0 1 2 2v2h3a1 1 0 1 1 0 2v12a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V8a1 1 0 0 1 0-2h3V4a2 2 0 0 1 .586-1.414ZM10 6h4V4h-4v2Zm1 4a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Zm4 0a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Z","clip-rule","evenodd"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"font-bold","text-lg","dark:text-white"],["formControlName","email","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["for","address.country",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],["id","address.country","formControlName","country","name","address.country","type","text",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","address.city",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],["id","address.city","formControlName","city","name","address.city","type","text",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","address.state",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],["id","address.state","formControlName","stateOrProvince","name","address.state","type","text",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","address.zip",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],["id","address.zip","formControlName","postCode","name","address.zip","type","text",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","address.street_address",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],["id","address.street_address","formControlName","street","name","address.street_address","rows","4",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"col-span-2","lg:col-span-1"],["for","phoneType",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],["id","phoneType","formControlName","telephoneType",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["value","Mobile"],["value","Landline"],["value","Office"],["value","Home"],["value","Other"],["for","phoneNumber",1,"mb-3","block","text-sm","font-semibold","leading-none","text-body-dark","dark:text-white"],[1,"w-full"],[1,"relative","flex","items-center"],["type","button",1,"mb-2","flex-shrink-0","z-10","inline-flex","items-center","py-2.5","px-4","text-sm","font-medium","text-center","text-gray-900","bg-gray-100","border","border-gray-300","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","rounded-s-lg","hover:bg-gray-200","dark:hover:bg-primary-200","focus:ring-4","focus:outline-none","focus:ring-gray-100",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 10 6",1,"w-2.5","h-2.5","ms-2.5"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 4 4 4-4"],[1,"absolute","bottom-12","right-0","z-20","max-h-48","w-full","bg-white","divide-y","divide-gray-100","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","rounded-lg","shadow","overflow-y-auto"],["id","phoneNumber","formControlName","telephoneNumber","name","phoneNumber","type","number",1,"mb-2","bg-gray-50","border","text-gray-900","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5","dark:bg-secondary-300","dark:text-white",3,"ngClass"],["aria-labelledby","dropdown-phone-button",1,"py-2","text-sm","text-gray-700"],["type","button","role","menuitem",1,"inline-flex","w-full","px-4","py-2","text-sm","text-gray-700","dark:text-white","hover:bg-gray-100","dark:hover:bg-secondary-200"],["type","button","role","menuitem",1,"inline-flex","w-full","px-4","py-2","text-sm","text-gray-700","dark:text-white","hover:bg-gray-100","dark:hover:bg-secondary-200",3,"click"],[1,"inline-flex","items-center"],[1,"w-4/5","lg:w-1/2","relative","bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","rounded-lg","shadow","bg-cover","bg-right-bottom",3,"click"],[1,"flex","items-center","justify-between","pr-2","pt-2","rounded-t","dark:border-gray-600"],["type","button","data-modal-hide","edit-medium-modal",1,"text-gray-400","bg-transparent","hover:bg-gray-200","hover:text-gray-900","rounded-lg","text-sm","w-8","h-8","ms-auto","inline-flex","justify-center","items-center","dark:hover:bg-gray-600","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-3","h-3"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"],[1,"w-full","h-full"],["id","type",1,"m-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full",3,"change","value"],[1,"inline-flex","items-center","justify-center","flex-shrink-0","w-8","h-8","bg-red-700","text-red-200","rounded-lg"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-5","h-5"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM10 15a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm1-4a1 1 0 0 1-2 0V6a1 1 0 0 1 2 0v5Z"],[1,"block","ms-3","text-sm","font-normal"],["type","button","data-dismiss-target","#toast-warning","aria-label","Close",1,"ms-auto","-mx-1.5","-my-1.5","bg-white","text-gray-400","hover:text-gray-900","rounded-lg","focus:ring-2","focus:ring-gray-300","p-1.5","hover:bg-gray-100","inline-flex","items-center","justify-center","h-8","w-8","dark:text-gray-500","dark:hover:text-white","dark:bg-gray-800","dark:hover:bg-gray-700"],[1,"flex","items-center","justify-center"],[1,"text-sm","font-normal"],[1,"flex","items-center","ms-auto","space-x-2","rtl:space-x-reverse","p-1.5"],["type","button","data-dismiss-target","#toast-success","aria-label","Close",1,"ms-auto","-mx-1.5","-my-1.5","bg-white","text-gray-400","hover:text-gray-900","rounded-lg","focus:ring-2","focus:ring-gray-300","p-1.5","hover:bg-gray-100","inline-flex","items-center","justify-center","h-8","w-8","dark:text-gray-500","dark:hover:text-white","dark:bg-gray-800","dark:hover:bg-gray-700",3,"click"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-3","h-3"]],template:function(a,t){1&a&&R(0,RU3,6,0,"div",1)(1,cj3,143,69)(2,aj3,1,1,"error-message",2)(3,sj3,31,13,"div",3)(4,dj3,12,2,"div",4)(5,uj3,12,6,"div",5),2&a&&(S(0,t.loading?0:1),s(2),S(2,t.showError?2:-1),s(),S(3,t.showEditMedium?3:-1),s(),S(4,t.toastVisibility?4:-1),s(),S(5,t.successVisibility?5:-1))},dependencies:[k2,I4,x6,w6,H4,Ta,Ea,N4,O4,H5,X4,f3,G3,$l,jl,_4,C4,J1]})}return c})();const mj3=(c,r)=>r.code;function _j3(c,r){1&c&&(o(0,"div",0),w(),o(1,"svg",2),v(2,"path",3)(3,"path",4),n(),O(),o(4,"span",5),f(5,"Loading..."),n()())}function pj3(c,r){if(1&c&&(o(0,"option",47),f(1),n()),2&c){const e=r.$implicit;E1("value",e.code),s(),H(e.name)}}function gj3(c,r){if(1&c){const e=j();o(0,"div",6)(1,"h2",7),f(2),m(3,"translate"),n(),v(4,"hr",8),o(5,"div",9)(6,"div")(7,"span",10),f(8),m(9,"translate"),n(),v(10,"input",11),o(11,"span",10),f(12),m(13,"translate"),n(),v(14,"input",12),n(),o(15,"div")(16,"span",10),f(17),m(18,"translate"),n(),v(19,"input",13),n()(),o(20,"h2",7),f(21),m(22,"translate"),n(),v(23,"hr",8),o(24,"form",14)(25,"div")(26,"label",15),f(27),m(28,"translate"),n(),v(29,"input",16),o(30,"label",17),f(31),m(32,"translate"),n(),o(33,"select",18)(34,"option",19),f(35,"I'd rather not say"),n(),o(36,"option",20),f(37,"Miss"),n(),o(38,"option",21),f(39,"Mrs"),n(),o(40,"option",22),f(41,"Mr"),n(),o(42,"option",23),f(43,"Ms"),n()(),o(44,"label",24),f(45),m(46,"translate"),n(),o(47,"select",25)(48,"option",19),f(49,"I'd rather not say"),n(),o(50,"option",26),f(51,"Female"),n(),o(52,"option",27),f(53,"Male"),n(),o(54,"option",28),f(55,"Other"),n()()(),o(56,"div")(57,"label",29),f(58),m(59,"translate"),n(),v(60,"input",30),o(61,"label",31),f(62),m(63,"translate"),n(),o(64,"select",32)(65,"option",19),f(66,"I'd rather not say"),n(),o(67,"option",33),f(68,"Divorced"),n(),o(69,"option",34),f(70,"Married"),n(),o(71,"option",35),f(72,"Separated"),n(),o(73,"option",36),f(74,"Single"),n(),o(75,"option",37),f(76,"Widowed"),n()(),o(77,"label",38),f(78),m(79,"translate"),n(),v(80,"input",39),n()(),o(81,"h2",7),f(82),m(83,"translate"),n(),v(84,"hr",8),o(85,"form",14)(86,"div")(87,"label",40),f(88),m(89,"translate"),n(),v(90,"input",41),o(91,"label",42),f(92),m(93,"translate"),n(),v(94,"input",43),n(),o(95,"div",44)(96,"label",45),f(97),m(98,"translate"),n(),o(99,"select",46)(100,"option",19),f(101,"Select country"),n(),c1(102,pj3,2,2,"option",47,mj3),n()()(),o(104,"div",48)(105,"button",49),C("click",function(){return y(e),b(h().updateProfile())}),f(106),m(107,"translate"),n()()()}if(2&c){const e=h();s(2),H(_(3,21,"PROFILE._account")),s(6),H(_(9,23,"PROFILE._user_id")),s(2),E1("value",e.profile.externalReference[0].name),s(2),H(_(13,25,"PROFILE._email")),s(2),E1("value",e.email),s(3),H(_(18,27,"PROFILE._token")),s(2),E1("value",e.token),s(2),H(_(22,29,"PROFILE._profile")),s(3),k("formGroup",e.userProfileForm),s(3),H(_(28,31,"PROFILE._name")),s(4),H(_(32,33,"PROFILE._treatment")),s(14),H(_(46,35,"PROFILE._gender")),s(13),H(_(59,37,"PROFILE._lastname")),s(4),H(_(63,39,"PROFILE._marital_status")),s(16),H(_(79,41,"PROFILE._nacionality")),s(4),H(_(83,43,"PROFILE._birthdate")),s(3),k("formGroup",e.userProfileForm),s(3),H(_(89,45,"PROFILE._date")),s(4),H(_(93,47,"PROFILE._city")),s(5),H(_(98,49,"PROFILE._country")),s(5),a1(e.countries),s(4),V(" ",_(107,51,"PROFILE._update")," ")}}function vj3(c,r){1&c&&v(0,"error-message",1),2&c&&k("message",h().errorMessage)}let Hj3=(()=>{class c{constructor(e,a,t,i,l){this.localStorage=e,this.api=a,this.cdr=t,this.accountService=i,this.eventMessage=l,this.loading=!1,this.orders=[],this.partyId="",this.token="",this.email="",this.userProfileForm=new S2({name:new u1(""),lastname:new u1(""),treatment:new u1(""),maritalstatus:new u1(""),gender:new u1(""),nacionality:new u1(""),birthdate:new u1(""),city:new u1(""),country:new u1("")}),this.dateRange=new u1,this.countries=qt,this.preferred=!1,this.errorMessage="",this.showError=!1,this.eventMessage.messages$.subscribe(d=>{"ChangedSession"===d.type&&this.initPartyInfo()})}ngOnInit(){this.loading=!0;let e=new Date;e.setMonth(e.getMonth()-1),this.selectedDate=e.toISOString(),this.initPartyInfo()}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0){if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId,console.log(e.organizations),this.accountService.getOrgInfo(this.partyId).then(t=>{console.log("org"),console.log(t)})}this.token=e.token,this.email=e.email,this.getProfile()}S1()}getProfile(){this.accountService.getUserInfo(this.partyId).then(e=>{console.log(e),this.profile=e,this.loadProfileData(this.profile),this.loading=!1,this.cdr.detectChanges()}),this.cdr.detectChanges(),S1()}updateProfile(){let e={id:this.partyId,href:this.partyId,countryOfBirth:this.userProfileForm.value.country,familyName:this.userProfileForm.value.lastname,gender:this.userProfileForm.value.gender,givenName:this.userProfileForm.value.name,maritalStatus:this.userProfileForm.value.maritalstatus,nationality:this.userProfileForm.value.nacionality,placeOfBirth:this.userProfileForm.value.city,title:this.userProfileForm.value.treatment,birthDate:this.userProfileForm.value.birthdate};console.log(e),this.accountService.updateUserInfo(this.partyId,e).subscribe({next:a=>{this.userProfileForm.reset(),this.getProfile()},error:a=>{console.error("There was an error while updating!",a),a.error.error?(console.log(a),this.errorMessage="Error: "+a.error.error):this.errorMessage="There was an error while updating profile!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}loadProfileData(e){this.userProfileForm.controls.name.setValue(e.givenName),this.userProfileForm.controls.lastname.setValue(e.familyName),this.userProfileForm.controls.maritalstatus.setValue(e.maritalStatus),this.userProfileForm.controls.gender.setValue(e.gender),this.userProfileForm.controls.nacionality.setValue(e.nacionality),this.userProfileForm.controls.city.setValue(e.placeOfBirth),this.userProfileForm.controls.country.setValue(e.countryOfBirth)}static#e=this.\u0275fac=function(a){return new(a||c)(B(R1),B(p1),B(B1),B(O2),B(e2))};static#c=this.\u0275cmp=V1({type:c,selectors:[["user-info"]],decls:3,vars:2,consts:[["role","status",1,"w-3/4","md:w-4/5","h-full","flex","justify-center","align-middle"],[1,"fixed","w-fit","top-1/2","left-1/2","z-50",3,"message"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"sr-only"],[1,"bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","p-8","rounded-lg"],[1,"md:text-3xl","lg:text-4xl","font-bold","text-primary-100","ml-4","dark:text-white","m-4"],[1,"h-px","mr-4","ml-4","bg-primary-100","dark:bg-white","border-0"],[1,"m-4","grid","grid-cols-2","gap-4"],[1,"font-bold","dark:text-white"],["type","text","id","username","disabled","","readonly","",1,"mb-2","bg-gray-300","border","border-gray-400","text-primary-100","dark:bg-secondary-200","dark:border-secondary-300","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5","cursor-not-allowed",3,"value"],["type","text","id","email","disabled","","readonly","",1,"mb-2","bg-gray-300","border","border-gray-400","text-primary-100","dark:bg-secondary-200","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5","cursor-not-allowed",3,"value"],["type","text","id","token","disabled","","readonly","",1,"mb-2","bg-gray-300","border","border-gray-400","text-primary-100","dark:bg-secondary-200","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5","cursor-not-allowed",3,"value"],[1,"m-4","grid","grid-cols-2","gap-4",3,"formGroup"],["for","user-name",1,"font-bold","dark:text-white"],["formControlName","name","type","text","id","user-name",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","treatment",1,"font-bold","dark:text-white"],["id","treatment","formControlName","treatment",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["value",""],["value","Miss"],["value","Mrs"],["value","Mr"],["value","Ms"],["for","gender",1,"font-bold","dark:text-white"],["id","gender","formControlName","gender",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["value","Female"],["value","Male"],["value","Other"],["for","lastname",1,"font-bold","dark:text-white"],["type","text","formControlName","lastname","id","lastname",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","marital-status",1,"font-bold","dark:text-white"],["id","marital-status","formControlName","maritalstatus",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["value","Divorced"],["value","Married"],["value","Separated"],["value","Single"],["value","Widowed"],["for","nacionality",1,"font-bold","dark:text-white"],["type","text","formControlName","nacionality","id","nacionality",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","birthdate",1,"font-bold","dark:text-white"],["datepicker","","type","date","placeholder","Select date","formControlName","birthdate","id","birthdate",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","city",1,"font-bold","dark:text-white"],["type","text","formControlName","city","id","city",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"align-items-bottom","align-bottom"],["for","country",1,"font-bold","dark:text-white"],["id","country","formControlName","country",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[3,"value"],[1,"flex","w-full","justify-end"],["type","button",1,"m-2","flex","w-fit","justify-center","items-center","py-3","px-5","text-base","font-medium","text-center","text-white","rounded-lg","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:ring-primary-300","dark:focus:ring-primary-900",3,"click"]],template:function(a,t){1&a&&R(0,_j3,6,0,"div",0)(1,gj3,108,53)(2,vj3,1,1,"error-message",1),2&a&&(S(0,t.loading?0:1),s(2),S(2,t.showError?2:-1))},dependencies:[I4,x6,w6,H4,Ea,N4,O4,X4,f3,C4,J1]})}return c})();const Cj3=(c,r)=>r.id;function zj3(c,r){1&c&&(o(0,"div",0),w(),o(1,"svg",4),v(2,"path",5)(3,"path",6),n(),O(),o(4,"span",7),f(5,"Loading..."),n()())}function Vj3(c,r){if(1&c){const e=j();o(0,"tr",20),C("click",function(){const t=y(e).$implicit;return b(h(2).selectBill(t))}),o(1,"td",21),f(2),n(),o(3,"td",22),f(4),n(),o(5,"td",23),f(6),n(),o(7,"td",24),f(8),n(),o(9,"td",25)(10,"button",26),C("click",function(t){const i=y(e).$implicit;return h(2).toggleEditBill(i),b(t.stopPropagation())}),w(),o(11,"svg",27),v(12,"path",28),n()(),O(),o(13,"button",29),C("click",function(t){const i=y(e).$implicit;return h(2).toggleDeleteBill(i),b(t.stopPropagation())}),w(),o(14,"svg",27),v(15,"path",30),n()()()()}if(2&c){const e=r.$implicit;k("ngClass",1==e.selected?"bg-primary-30 dark:bg-secondary-200":"bg-white dark:bg-secondary-300"),s(2),V(" ",e.name," "),s(2),V(" ",e.email," "),s(2),r5(" ",e.postalAddress.street,", ",e.postalAddress.postCode," (",e.postalAddress.city,") ",e.postalAddress.stateOrProvince," "),s(2),V(" ",e.telephoneNumber," ")}}function Mj3(c,r){1&c&&(o(0,"div",18)(1,"div",31),w(),o(2,"svg",32),v(3,"path",33),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"BILLING._no_billing")," "))}function Lj3(c,r){if(1&c&&(o(0,"div",8)(1,"h2",9),f(2),m(3,"translate"),n(),v(4,"hr",10),o(5,"div",11)(6,"table",12)(7,"thead",13)(8,"tr")(9,"th",14),f(10),m(11,"translate"),n(),o(12,"th",15),f(13),m(14,"translate"),n(),o(15,"th",16),f(16),m(17,"translate"),n(),o(18,"th",15),f(19),m(20,"translate"),n(),o(21,"th",14),f(22),m(23,"translate"),n()()(),o(24,"tbody"),c1(25,Vj3,16,8,"tr",17,Cj3,!1,Mj3,7,3,"div",18),n()()(),o(28,"h2",9),f(29),m(30,"translate"),n(),v(31,"hr",10)(32,"app-billing-account-form",19),n()),2&c){const e=h();s(2),H(_(3,9,"PROFILE._mybills")),s(8),V(" ",_(11,11,"BILLING._title")," "),s(3),V(" ",_(14,13,"BILLING._email")," "),s(3),V(" ",_(17,15,"BILLING._postalAddress")," "),s(3),V(" ",_(20,17,"BILLING._phone")," "),s(3),V(" ",_(23,19,"BILLING._action")," "),s(3),a1(e.billing_accounts),s(4),H(_(30,21,"BILLING._add")),s(3),k("preferred",e.preferred)}}function yj3(c,r){if(1&c){const e=j();o(0,"div",1)(1,"div",34),C("click",function(t){return y(e),b(t.stopPropagation())}),o(2,"div",35)(3,"h2",9),f(4),m(5,"translate"),n(),o(6,"button",36),C("click",function(){return y(e),b(h().editBill=!1)}),w(),o(7,"svg",37),v(8,"path",38),n(),O(),o(9,"span",7),f(10),m(11,"translate"),n()()(),o(12,"div",39),v(13,"app-billing-account-form",40),n()()()}if(2&c){const e=h();k("ngClass",e.editBill?"backdrop-blur-sm":""),s(4),H(_(5,4,"BILLING._edit")),s(6),H(_(11,6,"CARD._close")),s(3),k("billAcc",e.billToUpdate)}}function bj3(c,r){if(1&c){const e=j();o(0,"div",2)(1,"div",41),C("click",function(t){return y(e),b(t.stopPropagation())}),o(2,"div",42)(3,"button",43),C("click",function(t){return y(e),h().deleteBill=!1,b(t.stopPropagation())}),w(),o(4,"svg",44),v(5,"path",45),n(),O(),o(6,"span",7),f(7,"Close modal"),n()(),w(),o(8,"svg",46),v(9,"path",47),n(),O(),o(10,"p",48),f(11),m(12,"translate"),n(),o(13,"p",49)(14,"b"),f(15),n(),f(16),n(),o(17,"div",50)(18,"button",51),C("click",function(t){return y(e),h().deleteBill=!1,b(t.stopPropagation())}),f(19),m(20,"translate"),n(),o(21,"button",52),C("click",function(){y(e);const t=h();return b(t.onDeletedBill(t.billToDelete))}),f(22),m(23,"translate"),n()()()()()}if(2&c){const e=h();k("ngClass",e.deleteBill?"backdrop-blur-sm":""),s(11),H(_(12,8,"BILLING._confirm_delete")),s(4),H(e.billToDelete.name),s(),H6(": ",e.billToDelete.postalAddress.street,", ",e.billToDelete.postalAddress.city,", ",e.billToDelete.postalAddress.country,"."),s(3),V(" ",_(20,10,"BILLING._cancel")," "),s(3),V(" ",_(23,12,"BILLING._delete")," ")}}function xj3(c,r){1&c&&v(0,"error-message",3),2&c&&k("message",h().errorMessage)}let wj3=(()=>{class c{constructor(e,a,t,i,l,d,u){this.localStorage=e,this.api=a,this.cdr=t,this.router=i,this.accountService=l,this.orderService=d,this.eventMessage=u,this.loading=!1,this.orders=[],this.partyId="",this.billing_accounts=[],this.editBill=!1,this.deleteBill=!1,this.showOrderDetails=!1,this.dateRange=new u1,this.countries=qt,this.preferred=!1,this.errorMessage="",this.showError=!1,this.eventMessage.messages$.subscribe(p=>{"BillAccChanged"===p.type&&this.getBilling(),0==p.value&&(this.editBill=!1),"ChangedSession"===p.type&&this.initPartyInfo()})}onClick(){1==this.editBill&&(this.editBill=!1,this.cdr.detectChanges()),1==this.deleteBill&&(this.deleteBill=!1,this.cdr.detectChanges()),1==this.showOrderDetails&&(this.showOrderDetails=!1,this.cdr.detectChanges())}ngOnInit(){this.loading=!0;let e=new Date;e.setMonth(e.getMonth()-1),this.selectedDate=e.toISOString(),this.initPartyInfo()}initPartyInfo(){let e=this.localStorage.getObject("login_items");"{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0&&(this.partyId=e.partyId,this.getBilling()),S1()}getBilling(){let e=!1;this.accountService.getBillingAccount().then(a=>{this.billing_accounts=[];for(let t=0;t0),console.log(this.billing_accounts),this.cdr.detectChanges()}),this.cdr.detectChanges(),S1()}selectBill(e){const a=this.billing_accounts.findIndex(t=>t.id===e.id);for(let t=0;t{this.eventMessage.emitBillAccChange(!1)},error:t=>{console.error("There was an error while updating!",t),t.error.error?(console.log(t),this.errorMessage="Error: "+t.error.error):this.errorMessage="There was an error while updating billing account!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}onDeletedBill(e){console.log("--- DELETE BILLING ADDRESS ---"),this.deleteBill=!1,this.cdr.detectChanges()}toggleEditBill(e){this.billToUpdate=e,this.editBill=!0,this.cdr.detectChanges()}toggleDeleteBill(e){this.deleteBill=!0,this.billToDelete=e}static#e=this.\u0275fac=function(a){return new(a||c)(B(R1),B(p1),B(B1),B(Z1),B(O2),B(Y3),B(e2))};static#c=this.\u0275cmp=V1({type:c,selectors:[["billing-info"]],hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},decls:5,vars:4,consts:[["role","status",1,"w-3/4","md:w-4/5","h-full","flex","justify-center","align-middle"],["id","edit-bill-modal","tabindex","-1","aria-hidden","true",1,"flex","fixed","top-0","mt-4","justify-center","overflow-x-hidden","z-40","justify-center","items-center","w-full","md:inset-0","h-full","max-h-screen","shadow-2xl",3,"ngClass"],["id","delete-bill-modal","tabindex","-1","aria-hidden","true",1,"flex","overflow-y-auto","overflow-x-hidden","fixed","top-0","right-0","left-0","z-50","justify-center","items-center","w-full","md:inset-0","h-modal","md:h-full","shadow-2xl",3,"ngClass"],[1,"fixed","w-fit","top-1/2","left-1/2","z-50",3,"message"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"sr-only"],[1,"bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","p-8","rounded-lg"],[1,"md:text-3xl","lg:text-4xl","font-bold","text-primary-100","ml-4","dark:text-white","m-4"],[1,"h-px","mr-4","ml-4","bg-primary-100","dark:bg-white","border-0"],[1,"m-4","relative","overflow-x-auto","shadow-md","sm:rounded-lg"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"px-6","py-3","hidden","lg:table-cell"],["scope","col",1,"px-6","py-3","hidden","md:table-cell"],[1,"border-b","hover:bg-gray-200","dark:border-gray-700","dark:hover:bg-secondary-200",3,"ngClass"],[1,"flex","justify-center","w-full","m-4"],[3,"preferred"],[1,"border-b","hover:bg-gray-200","dark:border-gray-700","dark:hover:bg-secondary-200",3,"click","ngClass"],[1,"px-6","py-4","text-wrap","break-all"],[1,"px-6","py-4","hidden","lg:table-cell","text-wrap","break-all"],[1,"px-6","py-4","hidden","md:table-cell","text-wrap","break-all"],[1,"px-6","py-4","hidden","lg:table-cell"],[1,"px-6","py-4","inline-flex"],["type","button",1,"text-white","bg-primary-100","hover:bg-blue-800","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","lg:p-2.5","text-center","inline-flex","items-center","me-2",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-[18px]","h-[18px]","text-white"],["fill-rule","evenodd","d","M14 4.182A4.136 4.136 0 0 1 16.9 3c1.087 0 2.13.425 2.899 1.182A4.01 4.01 0 0 1 21 7.037c0 1.068-.43 2.092-1.194 2.849L18.5 11.214l-5.8-5.71 1.287-1.31.012-.012Zm-2.717 2.763L6.186 12.13l2.175 2.141 5.063-5.218-2.141-2.108Zm-6.25 6.886-1.98 5.849a.992.992 0 0 0 .245 1.026 1.03 1.03 0 0 0 1.043.242L10.282 19l-5.25-5.168Zm6.954 4.01 5.096-5.186-2.218-2.183-5.063 5.218 2.185 2.15Z","clip-rule","evenodd"],["type","button",1,"text-white","bg-red-800","hover:bg-red-900","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","lg:p-2.5","text-center","inline-flex","items-center","me-2",3,"click"],["fill-rule","evenodd","d","M8.586 2.586A2 2 0 0 1 10 2h4a2 2 0 0 1 2 2v2h3a1 1 0 1 1 0 2v12a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V8a1 1 0 0 1 0-2h3V4a2 2 0 0 1 .586-1.414ZM10 6h4V4h-4v2Zm1 4a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Zm4 0a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Z","clip-rule","evenodd"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"w-4/5","lg:w-1/2","relative","bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","rounded-lg","shadow","bg-cover","bg-right-bottom",3,"click"],[1,"flex","items-center","justify-between","pr-2","pt-2","rounded-t","dark:border-gray-600"],["type","button","data-modal-hide","edit-bill-modal",1,"text-gray-400","bg-transparent","hover:bg-gray-200","hover:text-gray-900","rounded-lg","text-sm","w-8","h-8","ms-auto","inline-flex","justify-center","items-center","dark:hover:bg-gray-600","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-3","h-3"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"],[1,"w-full","max-h-[80vh]","overflow-y-auto"],[3,"billAcc"],[1,"relative","p-4","w-full","max-w-md","h-full","md:h-auto",3,"click"],[1,"relative","p-4","text-center","bg-secondary-50","dark:bg-secondary-100","rounded-lg","shadow","sm:p-5"],["type","button",1,"text-gray-400","absolute","top-2.5","right-2.5","bg-transparent","hover:bg-gray-200","hover:text-gray-900","rounded-lg","text-sm","p-1.5","ml-auto","inline-flex","items-center",3,"click"],["aria-hidden","true","fill","currentColor","viewBox","0 0 20 20","xmlns","http://www.w3.org/2000/svg",1,"w-5","h-5"],["fill-rule","evenodd","d","M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule","evenodd"],["aria-hidden","true","fill","currentColor","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg",1,"text-gray-400","w-12","h-12","mb-3.5","mx-auto"],["fill-rule","evenodd","d","M9 2a1 1 0 00-.894.553L7.382 4H4a1 1 0 000 2v10a2 2 0 002 2h8a2 2 0 002-2V6a1 1 0 100-2h-3.382l-.724-1.447A1 1 0 0011 2H9zM7 8a1 1 0 012 0v6a1 1 0 11-2 0V8zm5-1a1 1 0 00-1 1v6a1 1 0 102 0V8a1 1 0 00-1-1z","clip-rule","evenodd"],[1,"mb-4","text-gray-500","dark:text-white"],[1,"mb-4","text-gray-500","dark:text-white","text-wrap","break-all"],[1,"flex","justify-center","items-center","space-x-4"],["type","button",1,"py-2","px-3","text-sm","font-medium","text-gray-500","dark:text-white","bg-white","dark:bg-primary-100","rounded-lg","border","border-gray-200","dark:border-secondary-300","hover:bg-gray-100","dark:hover:bg-secondary-200","focus:ring-4","focus:outline-none","focus:ring-primary-300","hover:text-gray-900","focus:z-10",3,"click"],["type","submit",1,"py-2","px-3","text-sm","font-medium","text-center","text-white","bg-red-800","hover:bg-red-900","rounded-lg","focus:ring-4","focus:outline-none","focus:ring-red-300",3,"click"]],template:function(a,t){1&a&&R(0,zj3,6,0,"div",0)(1,Lj3,33,23)(2,yj3,14,8,"div",1)(3,bj3,24,14,"div",2)(4,xj3,1,1,"error-message",3),2&a&&(S(0,t.loading?0:1),s(2),S(2,t.editBill?2:-1),s(),S(3,t.deleteBill?3:-1),s(),S(4,t.showError?4:-1))},dependencies:[k2,QC,C4,J1]})}return c})();const om1=(c,r)=>r.id;function Fj3(c,r){if(1&c){const e=j();o(0,"div",5)(1,"div",6),v(2,"fa-icon",7),o(3,"h2",8),f(4),m(5,"translate"),n()(),o(6,"select",30),C("change",function(t){return y(e),b(h().onRoleChange(t))}),o(7,"option",31),f(8),m(9,"translate"),n(),o(10,"option",32),f(11),m(12,"translate"),n()()()}if(2&c){const e=h();s(2),k("icon",e.faIdCard),s(2),H(_(5,4,"OFFERINGS._filter_role")),s(4),H(_(9,6,"OFFERINGS._customer")),s(3),H(_(12,8,"OFFERINGS._seller"))}}function kj3(c,r){1&c&&(o(0,"div",28),w(),o(1,"svg",33),v(2,"path",34)(3,"path",35),n(),O(),o(4,"span",36),f(5,"Loading..."),n()())}function Sj3(c,r){if(1&c&&(o(0,"span",48),f(1),n()),2&c){const e=h().$implicit;s(),H(e.state)}}function Nj3(c,r){if(1&c&&(o(0,"span",54),f(1),n()),2&c){const e=h().$implicit;s(),H(e.state)}}function Dj3(c,r){if(1&c&&(o(0,"span",55),f(1),n()),2&c){const e=h().$implicit;s(),H(e.state)}}function Tj3(c,r){if(1&c&&(o(0,"span",56),f(1),n()),2&c){const e=h().$implicit;s(),H(e.state)}}function Ej3(c,r){if(1&c&&(o(0,"span",48),f(1),n()),2&c){const e=h().$implicit;s(),H(e.state)}}function Aj3(c,r){if(1&c&&(o(0,"span",55),f(1),n()),2&c){const e=h().$implicit;s(),H(e.state)}}function Pj3(c,r){if(1&c){const e=j();o(0,"tr",44)(1,"td",46),f(2),n(),o(3,"td",47),R(4,Sj3,2,1,"span",48)(5,Nj3,2,1)(6,Dj3,2,1)(7,Tj3,2,1)(8,Ej3,2,1)(9,Aj3,2,1),n(),o(10,"td",46),f(11),n(),o(12,"td",46),f(13),n(),o(14,"td",47),f(15),m(16,"date"),n(),o(17,"td",47)(18,"button",49),C("click",function(t){const i=y(e).$implicit;return h(2).toggleShowDetails(i),b(t.stopPropagation())}),w(),o(19,"svg",50)(20,"g",51),v(21,"path",52)(22,"path",53),n()()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.id," "),s(2),S(4,"inProgress"==e.state?4:"completed"==e.state?5:"failed"==e.state?6:"pending"==e.state?7:"acknowledged"==e.state?8:"cancelled"==e.state?9:-1),s(7),V(" ",e.priority," "),s(2),V(" ",e.billingAccount.name," "),s(2),V(" ",L2(16,5,null==e?null:e.orderDate,"EEEE, dd/MM/yy, HH:mm")," ")}}function Rj3(c,r){1&c&&(o(0,"div",45)(1,"span",57),f(2),m(3,"translate"),n()()),2&c&&(s(2),H(_(3,1,"PROFILE._no_orders")))}function Bj3(c,r){if(1&c){const e=j();o(0,"div",58)(1,"button",59),C("click",function(){return y(e),b(h(3).next())}),f(2," Load more "),w(),o(3,"svg",60),v(4,"path",61),n()()()}}function Oj3(c,r){1&c&&R(0,Bj3,5,0,"div",58),2&c&&S(0,h(2).page_check?0:-1)}function Ij3(c,r){1&c&&(o(0,"div",62),w(),o(1,"svg",33),v(2,"path",34)(3,"path",35),n(),O(),o(4,"span",36),f(5,"Loading..."),n()())}function Uj3(c,r){if(1&c&&(o(0,"div",37)(1,"div",38)(2,"table",39)(3,"thead",40)(4,"tr")(5,"th",41),f(6),m(7,"translate"),n(),o(8,"th",42),f(9),m(10,"translate"),n(),o(11,"th",41),f(12),m(13,"translate"),n(),o(14,"th",41),f(15),m(16,"translate"),n(),o(17,"th",42),f(18," Date "),n(),o(19,"th",43),f(20," Actions "),n()()(),o(21,"tbody"),c1(22,Pj3,23,8,"tr",44,om1),n()(),R(24,Rj3,4,3,"div",45),n(),R(25,Oj3,1,1)(26,Ij3,6,0),n()),2&c){const e=h();s(6),V(" ",_(7,6,"PRODUCT_INVENTORY._order_id")," "),s(3),V(" ",_(10,8,"PRODUCT_INVENTORY._state")," "),s(3),V(" ",_(13,10,"PRODUCT_INVENTORY._priority")," "),s(3),V(" ",_(16,12,"PRODUCT_INVENTORY._bill")," "),s(7),a1(e.orders),s(2),S(24,0==e.orders.length?24:-1),s(),S(25,e.loading_more?26:25)}}function jj3(c,r){if(1&c&&(o(0,"span",74),f(1),n()),2&c){const e=h(2);s(),H(e.orderToShow.state)}}function $j3(c,r){if(1&c&&(o(0,"span",83),f(1),n()),2&c){const e=h(2);s(),H(e.orderToShow.state)}}function Yj3(c,r){if(1&c&&(o(0,"span",84),f(1),n()),2&c){const e=h(2);s(),H(e.orderToShow.state)}}function Gj3(c,r){if(1&c&&(o(0,"span",85),f(1),n()),2&c){const e=h(2);s(),H(e.orderToShow.state)}}function qj3(c,r){if(1&c&&(o(0,"span",86),f(1),n()),2&c){const e=h(2);s(),H(e.orderToShow.state)}}function Wj3(c,r){if(1&c&&(o(0,"span",84),f(1),n()),2&c){const e=h(2);s(),H(e.orderToShow.state)}}function Zj3(c,r){1&c&&(o(0,"td",47),f(1," Custom "),n())}function Kj3(c,r){if(1&c&&(o(0,"td",47),f(1),n()),2&c){const e=h(2).$implicit;s(),H6(" ",null==e||null==e.productOfferingPrice?null:e.productOfferingPrice.price," ",null==e||null==e.productOfferingPrice?null:e.productOfferingPrice.unit," ",null==e||null==e.productOfferingPrice?null:e.productOfferingPrice.text," ")}}function Qj3(c,r){1&c&&R(0,Zj3,2,0,"td",47)(1,Kj3,2,3),2&c&&S(0,"custom"==h().$implicit.productOfferingPrice.priceType?0:1)}function Jj3(c,r){1&c&&(o(0,"td",47),f(1),m(2,"translate"),n()),2&c&&(s(),V(" ",_(2,1,"SHOPPING_CART._free")," "))}function Xj3(c,r){if(1&c&&(o(0,"tr",76)(1,"td",87),v(2,"img",88),n(),o(3,"td",47),f(4),n(),R(5,Qj3,2,1)(6,Jj3,3,3),n()),2&c){const e=r.$implicit,a=h(2);s(2),E1("src",a.getProductImage(e),H2),s(2),V(" ",e.name," "),s(),S(5,e.productOfferingPrice?5:6)}}function e$3(c,r){if(1&c&&(o(0,"p",82),f(1),n()),2&c){const e=r.$implicit;s(),H6("",e.price," ",e.unit," ",e.text,"")}}function c$3(c,r){1&c&&(o(0,"p",89),f(1,"Custom"),n())}function a$3(c,r){1&c&&(o(0,"p",89),f(1,"Free"),n())}function r$3(c,r){1&c&&R(0,c$3,2,0,"p",89)(1,a$3,2,0),2&c&&S(0,1==h(2).check_custom?0:1)}function t$3(c,r){if(1&c){const e=j();o(0,"div",29)(1,"div",63),C("click",function(t){return y(e),b(t.stopPropagation())}),o(2,"div",64)(3,"h2",65),f(4,"Order details:"),n(),o(5,"button",66),C("click",function(){return y(e),b(h().showOrderDetails=!1)}),w(),o(6,"svg",67),v(7,"path",68),n(),O(),o(8,"span",36),f(9),m(10,"translate"),n()()(),o(11,"div",69)(12,"div",70)(13,"div",71)(14,"p",72),f(15),m(16,"translate"),n(),o(17,"h3",73),f(18),n()(),o(19,"div",71)(20,"p",72),f(21),m(22,"translate"),n(),R(23,jj3,2,1,"span",74)(24,$j3,2,1)(25,Yj3,2,1)(26,Gj3,2,1)(27,qj3,2,1)(28,Wj3,2,1),n(),o(29,"div",71)(30,"p",72),f(31),m(32,"translate"),n(),o(33,"h3",73),f(34),n()(),o(35,"div",71)(36,"p",72),f(37," Billing address "),n(),o(38,"h3",73),f(39),n()(),o(40,"div",71)(41,"p",72),f(42," Email "),n(),o(43,"h3",73),f(44),n()(),o(45,"div",71)(46,"p",72),f(47," Date "),n(),o(48,"h3",73),f(49),m(50,"date"),n()(),o(51,"table",75)(52,"thead",40)(53,"tr")(54,"th",42),f(55," Img "),n(),o(56,"th",42),f(57," Name "),n(),o(58,"th",42),f(59," Price "),n()()(),o(60,"tbody"),c1(61,Xj3,7,3,"tr",76,om1),n()(),v(63,"hr",77),o(64,"div",78)(65,"p",79),f(66),m(67,"translate"),n(),v(68,"hr",80),o(69,"div",81),c1(70,e$3,2,3,"p",82,z1,!1,r$3,2,1),n()()()()()()}if(2&c){const e=h();k("ngClass",e.showOrderDetails?"backdrop-blur-sm":""),s(9),H(_(10,16,"CARD._close")),s(6),V(" ",_(16,18,"PRODUCT_INVENTORY._order_id")," "),s(3),V(" ",e.orderToShow.id," "),s(3),V(" ",_(22,20,"PRODUCT_INVENTORY._state")," "),s(2),S(23,"inProgress"==e.orderToShow.state?23:"completed"==e.orderToShow.state?24:"failed"==e.orderToShow.state?25:"pending"==e.orderToShow.state?26:"acknowledged"==e.orderToShow.state?27:"cancelled"==e.orderToShow.state?28:-1),s(8),V(" ",_(32,22,"PRODUCT_INVENTORY._priority")," "),s(3),V(" ",e.orderToShow.priority," "),s(5),r5(" ",e.orderToShow.billingAccount.contact[0].contactMedium[1].characteristic.city,", ",e.orderToShow.billingAccount.contact[0].contactMedium[1].characteristic.street1,", ",e.orderToShow.billingAccount.contact[0].contactMedium[1].characteristic.country," (",e.orderToShow.billingAccount.name,") "),s(5),V(" ",e.orderToShow.billingAccount.contact[0].contactMedium[0].characteristic.emailAddress," "),s(5),V(" ",L2(50,24,null==e.orderToShow?null:e.orderToShow.orderDate,"EEEE, dd/MM/yy, HH:mm")," "),s(12),a1(e.orderToShow.productOrderItem),s(5),V("",_(67,27,"CART_DRAWER._subtotal"),":"),s(4),a1(e.getTotalPrice(e.orderToShow.productOrderItem))}}let i$3=(()=>{class c{constructor(e,a,t,i,l,d,u){this.localStorage=e,this.api=a,this.cdr=t,this.accountService=i,this.orderService=l,this.eventMessage=d,this.paginationService=u,this.loading=!1,this.orders=[],this.nextOrders=[],this.partyId="",this.showOrderDetails=!1,this.dateRange=new u1,this.countries=qt,this.preferred=!1,this.loading_more=!1,this.page_check=!0,this.page=0,this.ORDER_LIMIT=_1.ORDER_LIMIT,this.filters=[],this.check_custom=!1,this.isSeller=!1,this.role="Customer",this.faIdCard=$6,this.faSort=j6,this.faSwatchbook=_0,this.eventMessage.messages$.subscribe(p=>{"ChangedSession"===p.type&&this.initPartyInfo()})}onClick(){1==this.showOrderDetails&&(this.showOrderDetails=!1,this.cdr.detectChanges()),S1()}ngOnInit(){this.loading=!0;let e=new Date;e.setMonth(e.getMonth()-1),this.selectedDate=e.toISOString(),this.dateRange.setValue("month"),this.initPartyInfo()}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0){if(e.logged_as==e.id)this.partyId=e.partyId,e.roles.map(t=>t.name).includes("seller")&&(this.isSeller=!0);else{let a=e.organizations.find(i=>i.id==e.logged_as);this.partyId=a.partyId,a.roles.map(i=>i.name).includes("seller")&&(this.isSeller=!0)}this.page=0,this.orders=[],this.getOrders(!1)}S1()}ngAfterViewInit(){S1()}getProductImage(e){let a=e?.attachment?.filter(i=>"Profile Picture"===i.name)??[],t=e.attachment?.filter(i=>"Picture"===i.attachmentType)??[];return 0!=a.length&&(t=a),t.length>0?t?.at(0)?.url:"https://placehold.co/600x400/svg"}getOrders(e){var a=this;return M(function*(){0==e&&(a.loading=!0),a.paginationService.getItemsPaginated(a.page,a.ORDER_LIMIT,e,a.orders,a.nextOrders,{filters:a.filters,partyId:a.partyId,selectedDate:a.selectedDate,orders:a.orders,role:a.role},a.paginationService.getOrders.bind(a.paginationService)).then(i=>{console.log("--pag"),console.log(i),console.log(a.orders),a.page_check=i.page_check,a.orders=i.items,a.nextOrders=i.nextItems,a.page=i.page,a.loading=!1,a.loading_more=!1})})()}next(){var e=this;return M(function*(){yield e.getOrders(!0)})()}onStateFilterChange(e){const a=this.filters.findIndex(t=>t===e);-1!==a?(this.filters.splice(a,1),console.log("elimina filtro"),console.log(this.filters)):(console.log("a\xf1ade filtro"),this.filters.push(e),console.log(this.filters)),this.getOrders(!1)}isFilterSelected(e){return-1!==this.filters.findIndex(t=>t===e)}filterOrdersByDate(){if("month"==this.dateRange.value){let e=new Date;e.setDate(1),e.setMonth(e.getMonth()-1),this.selectedDate=e.toISOString()}else if("months"==this.dateRange.value){let e=new Date;e.setDate(1),e.setMonth(e.getMonth()-3),this.selectedDate=e.toISOString()}else if("year"==this.dateRange.value){let e=new Date;e.setDate(1),e.setMonth(0),e.setFullYear(e.getFullYear()-1),this.selectedDate=e.toISOString()}else this.selectedDate=void 0;this.getOrders(!1)}getTotalPrice(e){let a=[],t=!1;this.check_custom=!1;for(let i=0;i{class c{constructor(e,a,t){this.localStorage=e,this.cdr=a,this.eventMessage=t,this.show_profile=!0,this.show_org_profile=!1,this.show_orders=!1,this.show_billing=!1,this.loggedAsUser=!0,this.partyId="",this.token="",this.email="",this.eventMessage.messages$.subscribe(i=>{"ChangedSession"===i.type&&this.initPartyInfo()})}ngOnInit(){let e=new Date;e.setMonth(e.getMonth()-1),this.initPartyInfo()}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0)if(this.token=e.token,this.email=e.email,e.logged_as==e.id)this.partyId=e.partyId,this.loggedAsUser=!0,this.show_profile=!0,this.show_org_profile=!1,this.getProfile();else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId,this.loggedAsUser=!1,this.show_profile=!1,this.show_org_profile=!0,this.getOrgProfile()}S1()}getProfile(){this.show_billing=!1,this.show_profile=!0,this.show_orders=!1,this.show_org_profile=!1,this.selectGeneral()}getOrgProfile(){this.show_billing=!1,this.show_profile=!1,this.show_orders=!1,this.show_org_profile=!0,this.selectGeneral()}getBilling(){this.selectBilling(),this.show_billing=!0,this.show_profile=!1,this.show_orders=!1,this.show_org_profile=!1,this.cdr.detectChanges(),S1()}goToOrders(){this.selectOrder(),this.show_billing=!1,this.show_profile=!1,this.show_orders=!0,this.show_org_profile=!1,this.cdr.detectChanges()}selectGeneral(){let e=document.getElementById("bill-button"),a=document.getElementById("general-button"),t=document.getElementById("order-button");this.selectMenu(a,"text-white bg-primary-100"),this.unselectMenu(e,"text-white bg-primary-100"),this.unselectMenu(t,"text-white bg-primary-100")}selectBilling(){let e=document.getElementById("bill-button"),a=document.getElementById("general-button"),t=document.getElementById("order-button");this.selectMenu(e,"text-white bg-primary-100"),this.unselectMenu(a,"text-white bg-primary-100"),this.unselectMenu(t,"text-white bg-primary-100")}selectOrder(){let e=document.getElementById("bill-button"),a=document.getElementById("general-button"),t=document.getElementById("order-button");this.selectMenu(t,"text-white bg-primary-100"),this.unselectMenu(e,"text-white bg-primary-100"),this.unselectMenu(a,"text-white bg-primary-100")}removeClass(e,a){e.className=(" "+e.className+" ").replace(" "+a+" "," ").replace(/^\s+|\s+$/g,"")}addClass(e,a){e.className+=" "+a}unselectMenu(e,a){null!=e&&(e.className.match(a)?this.removeClass(e,a):console.log("already unselected"))}selectMenu(e,a){null!=e&&(e.className.match(a)?console.log("already selected"):this.addClass(e,a))}static#e=this.\u0275fac=function(a){return new(a||c)(B(R1),B(B1),B(e2))};static#c=this.\u0275cmp=V1({type:c,selectors:[["app-user-profile"]],decls:45,vars:26,consts:[[1,"container","mx-auto","pt-2","pb-8"],[1,"hidden","lg:block","mb-8","mt-4","text-4xl","font-extrabold","leading-none","tracking-tight","text-gray-900","md:text-4xl","lg:text-5xl","dark:text-white","w-full"],[1,"underline","underline-offset-3","decoration-8","decoration-primary-100","dark:decoration-primary-100"],[1,"flex","flex-cols","mr-2","ml-2","lg:hidden"],[1,"mb-8","mt-4","text-4xl","font-extrabold","leading-none","tracking-tight","text-gray-900","lg:text-4xl","lg:text-5xl","dark:text-white","w-full"],[1,"flex","align-middle","content-center","items-center"],["id","dropdown-nav","data-dropdown-toggle","dropdown-nav-content","type","button",1,"text-black","dark:text-white","h-fit","w-fit","justify-between","shadow","bg-white","dark:bg-secondary-200","hover:bg-gray-100","dark:hover:bg-secondary-300","focus:ring-4","focus:outline-none","focus:ring-primary-100","font-medium","rounded-lg","text-sm","p-2.5","text-center","inline-flex","items-center","shadow-lg"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 17 14",1,"w-4","h-4","mr-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 1h15M1 7h15M1 13h15"],["id","dropdown-nav-content",1,"z-10","hidden","bg-white","divide-y","divide-gray-100","rounded-lg","shadow","w-44","dark:bg-gray-700"],["aria-labelledby","dropdown-nav",1,"py-2","text-sm","text-gray-700","dark:text-gray-200"],[1,"cursor-pointer","block","px-4","py-2","hover:bg-gray-100","dark:hover:bg-gray-600","dark:hover:text-white",3,"click"],[1,"w-full","grid","lg:grid-cols-20/80"],[1,"hidden","lg:block"],[1,"w-48","h-fit","text-sm","font-medium","text-gray-900","bg-white","border","border-gray-200","rounded-lg","dark:bg-gray-700","dark:border-gray-600","dark:text-white"],["id","general-button","aria-current","true",1,"block","w-full","px-4","py-2","text-white","bg-primary-100","border-b","border-gray-200","rounded-t-lg","cursor-pointer","dark:border-gray-600","hover:bg-gray-100","hover:text-blue-700","dark:border-gray-600","dark:hover:bg-gray-600","dark:hover:text-white","dark:focus:ring-gray-500","dark:focus:text-white"],["id","bill-button",1,"block","w-full","px-4","py-2","border-b","border-gray-200","cursor-pointer","hover:bg-gray-100","hover:text-blue-700","dark:border-gray-600","dark:hover:bg-gray-600","dark:hover:text-white","dark:focus:ring-gray-500","dark:focus:text-white",3,"click"],["id","order-button",1,"block","w-full","px-4","py-2","border-b","border-gray-200","cursor-pointer","hover:bg-gray-100","hover:text-blue-700","dark:border-gray-600","dark:hover:bg-gray-600","dark:hover:text-white","dark:focus:ring-gray-500","dark:focus:text-white",3,"click"],["id","general-button","aria-current","true",1,"block","w-full","px-4","py-2","text-white","bg-primary-100","border-b","border-gray-200","rounded-t-lg","cursor-pointer","dark:border-gray-600","hover:bg-gray-100","hover:text-blue-700","dark:border-gray-600","dark:hover:bg-gray-600","dark:hover:text-white","dark:focus:ring-gray-500","dark:focus:text-white",3,"click"]],template:function(a,t){1&a&&(o(0,"div",0)(1,"h1",1)(2,"span",2),f(3),m(4,"translate"),n()(),o(5,"div",3)(6,"h1",4)(7,"span",2),f(8),m(9,"translate"),n()(),o(10,"div",5)(11,"button",6),w(),o(12,"svg",7),v(13,"path",8),n(),f(14," Profile "),n()()(),O(),o(15,"div",9)(16,"ul",10)(17,"li")(18,"a",11),C("click",function(){return t.getProfile()}),f(19),m(20,"translate"),n()(),o(21,"li")(22,"a",11),C("click",function(){return t.getBilling()}),f(23),m(24,"translate"),n()(),o(25,"li")(26,"a",11),C("click",function(){return t.goToOrders()}),f(27),m(28,"translate"),n()()()(),o(29,"div",12)(30,"div",13)(31,"div",14),R(32,o$3,3,3,"button",15)(33,n$3,3,3),o(34,"button",16),C("click",function(){return t.getBilling()}),f(35),m(36,"translate"),n(),o(37,"button",17),C("click",function(){return t.goToOrders()}),f(38),m(39,"translate"),n()()(),o(40,"div"),R(41,s$3,1,0,"user-info")(42,l$3,1,0,"org-info")(43,f$3,1,0,"order-info")(44,d$3,1,0,"billing-info"),n()()()),2&a&&(s(3),H(_(4,12,"PROFILE._profile")),s(5),H(_(9,14,"PROFILE._profile")),s(11),H(_(20,16,"PROFILE._general")),s(4),H(_(24,18,"PROFILE._bill")),s(4),H(_(28,20,"PROFILE._orders")),s(5),S(32,t.loggedAsUser?32:33),s(3),V(" ",_(36,22,"PROFILE._bill")," "),s(3),V(" ",_(39,24,"PROFILE._orders")," "),s(3),S(41,t.show_profile?41:-1),s(),S(42,t.show_org_profile?42:-1),s(),S(43,t.show_orders?43:-1),s(),S(44,t.show_billing?44:-1))},dependencies:[hj3,Hj3,wj3,i$3,J1]})}return c})();const h$3=(c,r)=>r.id;function m$3(c,r){1&c&&(o(0,"div",29),w(),o(1,"svg",30),v(2,"path",31)(3,"path",32),n(),O(),o(4,"span",33),f(5,"Loading..."),n()())}function _$3(c,r){if(1&c&&(o(0,"span",44),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function p$3(c,r){if(1&c&&(o(0,"span",49),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function g$3(c,r){if(1&c&&(o(0,"span",50),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function v$3(c,r){if(1&c&&(o(0,"span",51),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function H$3(c,r){if(1&c){const e=j();o(0,"tr",40)(1,"td",42),f(2),n(),o(3,"td",43),R(4,_$3,2,1,"span",44)(5,p$3,2,1)(6,g$3,2,1)(7,v$3,2,1),n(),o(8,"td",45),f(9),n(),o(10,"td",43)(11,"button",46),C("click",function(){const t=y(e).$implicit;return b(h(2).goToUpdate(t))}),w(),o(12,"svg",47),v(13,"path",48),n()()()()}if(2&c){let e;const a=r.$implicit;s(2),V(" ",a.name," "),s(2),S(4,"Active"==a.lifecycleStatus?4:"Launched"==a.lifecycleStatus?5:"Retired"==a.lifecycleStatus?6:"Obsolete"==a.lifecycleStatus?7:-1),s(5),V(" ",null==a.relatedParty||null==(e=a.relatedParty.at(0))?null:e.role," ")}}function C$3(c,r){1&c&&(o(0,"div",41)(1,"div",52),w(),o(2,"svg",53),v(3,"path",54),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_cat")," "))}function z$3(c,r){if(1&c){const e=j();o(0,"div",55)(1,"button",56),C("click",function(){return y(e),b(h(3).next())}),f(2),m(3,"translate"),w(),o(4,"svg",57),v(5,"path",8),n()()()}2&c&&(s(2),V(" ",_(3,1,"OFFERINGS._load_more")," "))}function V$3(c,r){1&c&&R(0,z$3,6,3,"div",55),2&c&&S(0,h(2).page_check?0:-1)}function M$3(c,r){1&c&&(o(0,"div",58),w(),o(1,"svg",30),v(2,"path",31)(3,"path",32),n(),O(),o(4,"span",33),f(5,"Loading..."),n()())}function L$3(c,r){if(1&c&&(o(0,"div",34)(1,"div",35)(2,"table",36)(3,"thead",37)(4,"tr")(5,"th",38),f(6),m(7,"translate"),n(),o(8,"th",38),f(9),m(10,"translate"),n(),o(11,"th",39),f(12),m(13,"translate"),n(),o(14,"th",38),f(15),m(16,"translate"),n()()(),o(17,"tbody"),c1(18,H$3,14,3,"tr",40,h$3,!1,C$3,7,3,"div",41),n()()(),R(21,V$3,1,1)(22,M$3,6,0),n()),2&c){const e=h();s(6),V(" ",_(7,6,"OFFERINGS._name")," "),s(3),V(" ",_(10,8,"OFFERINGS._status")," "),s(3),V(" ",_(13,10,"OFFERINGS._role")," "),s(3),V(" ",_(16,12,"OFFERINGS._actions")," "),s(3),a1(e.catalogs),s(3),S(21,e.loading_more?22:21)}}let y$3=(()=>{class c{constructor(e,a,t,i,l,d){this.router=e,this.api=a,this.cdr=t,this.localStorage=i,this.eventMessage=l,this.paginationService=d,this.faIdCard=$6,this.faSort=j6,this.faSwatchbook=_0,this.searchField=new u1,this.catalogs=[],this.nextCatalogs=[],this.page=0,this.CATALOG_LIMIT=_1.CATALOG_LIMIT,this.loading=!1,this.loading_more=!1,this.page_check=!0,this.filter=void 0,this.status=["Active","Launched"],this.eventMessage.messages$.subscribe(u=>{"ChangedSession"===u.type&&this.initCatalogs()})}ngOnInit(){this.initCatalogs()}goToCreate(){this.eventMessage.emitSellerCreateCatalog(!0)}goToUpdate(e){this.eventMessage.emitSellerUpdateCatalog(e)}initCatalogs(){this.loading=!0,this.catalogs=[],this.nextCatalogs=[];let e=this.localStorage.getObject("login_items");if(e.logged_as==e.id)this.partyId=e.partyId;else{let t=e.organizations.find(i=>i.id==e.logged_as);this.partyId=t.partyId}this.getCatalogs(!1);let a=document.querySelector("[type=search]");a?.addEventListener("input",t=>{console.log("Input updated"),""==this.searchField.value&&(this.filter=void 0,this.getCatalogs(!1))}),S1()}ngAfterViewInit(){S1()}getCatalogs(e){var a=this;return M(function*(){0==e&&(a.loading=!0),a.paginationService.getItemsPaginated(a.page,a.CATALOG_LIMIT,e,a.catalogs,a.nextCatalogs,{keywords:a.filter,filters:a.status,partyId:a.partyId},a.api.getCatalogsByUser.bind(a.api)).then(i=>{a.page_check=i.page_check,a.catalogs=i.items,a.nextCatalogs=i.nextItems,a.page=i.page,a.loading=!1,a.loading_more=!1})})()}next(){var e=this;return M(function*(){e.page=e.page+e.CATALOG_LIMIT,console.log(e.page),yield e.getCatalogs(!0)})()}filterInventoryByKeywords(){}onStateFilterChange(e){const a=this.status.findIndex(t=>t===e);-1!==a?(this.status.splice(a,1),console.log("elimina filtro"),console.log(this.status)):(console.log("a\xf1ade filtro"),console.log(this.status),this.status.push(e)),this.loading=!0,this.page=0,this.catalogs=[],this.nextCatalogs=[],this.getCatalogs(!1)}static#e=this.\u0275fac=function(a){return new(a||c)(B(Z1),B(p1),B(B1),B(R1),B(e2),B(M3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["seller-catalogs"]],decls:53,vars:29,consts:[[1,"w-full","h-fit","mb-4","bg-secondary-50","rounded-lg","dark:bg-secondary-100","dark:border-gray-800","border-secondary-50","border","flex","flex-col","shadow-lg"],[1,"flex","w-full","flex-cols","items-center","justify-between"],[1,"mb-4","lg:mb-0","lg:w-1/4","p-8","justify-start"],[1,"text-2xl","font-bold","mb-4","dark:text-white"],[1,"flex","flex-row","w-full","justify-end"],["type","button",1,"ml-2","mr-8","mb-4","text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-2.5","text-center","inline-flex","items-center","align-middle","me-2",3,"click"],[1,"pl-2","pr-2"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-[18px]","h-[18px]","text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],[1,"flex","w-full","flex-col","items-center","lg:flex-row","justify-between"],[1,"p-8","w-full"],[1,"flex","flex-row","mb-1"],[1,"fa-base","text-primary-100","align-middle","mr-2",3,"icon"],[1,"text-base","dark:text-white","font-bold"],["id","dropdownDefault","data-dropdown-toggle","dropdown","type","button",1,"text-black","dark:text-white","w-full","justify-between","shadow","bg-white","dark:bg-secondary-200","hover:bg-gray-100","dark:hover:bg-secondary-300","focus:ring-4","focus:outline-none","focus:ring-primary-100","font-medium","rounded-lg","text-sm","p-2.5","text-center","inline-flex","items-center","shadow-lg"],["aria-hidden","true","fill","none","stroke","currentColor","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg",1,"w-4","h-4","ml-2"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M19 9l-7 7-7-7"],["id","dropdown",1,"z-20","hidden","w-fit","md:w-1/5","p-3","bg-white","rounded-lg","shadow","dark:bg-secondary-200"],[1,"mb-3","text-sm","font-medium","text-gray-900","dark:text-white"],["aria-labelledby","dropdownDefault",1,"space-y-2","text-sm"],[1,"flex","items-center"],["id","active","type","checkbox","value","","checked","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","active",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","launched","type","checkbox","value","","checked","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","launched",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","retired","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","retired",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","obsolete","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","obsolete",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"sr-only"],[1,"bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800","border-secondary-50","border","mt-8","p-4","rounded-lg","shadow-lg"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","dark:text-gray-100","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"hidden","md:table-cell","px-6","py-3"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"flex","justify-center","w-full","m-4"],[1,"px-6","py-4","text-wrap","break-all"],[1,"px-6","py-4"],[1,"bg-blue-100","dark:bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"px-6","py-4","hidden","md:table-cell"],["type","button",1,"text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-2.5","text-center","inline-flex","items-center","me-2",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-[18px]","h-[18px]","text-white"],["fill-rule","evenodd","d","M14 4.182A4.136 4.136 0 0 1 16.9 3c1.087 0 2.13.425 2.899 1.182A4.01 4.01 0 0 1 21 7.037c0 1.068-.43 2.092-1.194 2.849L18.5 11.214l-5.8-5.71 1.287-1.31.012-.012Zm-2.717 2.763L6.186 12.13l2.175 2.141 5.063-5.218-2.141-2.108Zm-6.25 6.886-1.98 5.849a.992.992 0 0 0 .245 1.026 1.03 1.03 0 0 0 1.043.242L10.282 19l-5.25-5.168Zm6.954 4.01 5.096-5.186-2.218-2.183-5.063 5.218 2.185 2.15Z","clip-rule","evenodd"],[1,"bg-blue-100","dark:bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"flex","pt-6","pb-2","justify-center","align-middle"],[1,"flex","cursor-pointer","shadow-lg","items-center","justify-center","px-3","h-8","text-sm","font-medium","text-gray-500","dark:text-white","bg-white","dark:bg-primary-100","dark:hover:bg-secondary-100","border","border-gray-300","dark:border-secondary-200","rounded-lg","hover:bg-gray-200",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-3.5","h-3.5","ms-2"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle","mt-2"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",0)(2,"div",1)(3,"div",2)(4,"h2",3),f(5),m(6,"translate"),n()(),o(7,"div",4)(8,"button",5),C("click",function(){return t.goToCreate()}),o(9,"p",6),f(10),m(11,"translate"),n(),w(),o(12,"svg",7),v(13,"path",8),n()()()(),O(),o(14,"div",9)(15,"div",10)(16,"div",11),v(17,"fa-icon",12),o(18,"h2",13),f(19),m(20,"translate"),n()(),o(21,"button",14),f(22),m(23,"translate"),w(),o(24,"svg",15),v(25,"path",16),n()(),O(),o(26,"div",17)(27,"h6",18),f(28),m(29,"translate"),n(),o(30,"ul",19)(31,"li",20)(32,"input",21),C("change",function(){return t.onStateFilterChange("Active")}),n(),o(33,"label",22),f(34),m(35,"translate"),n()(),o(36,"li",20)(37,"input",23),C("change",function(){return t.onStateFilterChange("Launched")}),n(),o(38,"label",24),f(39),m(40,"translate"),n()(),o(41,"li",20)(42,"input",25),C("change",function(){return t.onStateFilterChange("Retired")}),n(),o(43,"label",26),f(44),m(45,"translate"),n()(),o(46,"li",20)(47,"input",27),C("change",function(){return t.onStateFilterChange("Obsolete")}),n(),o(48,"label",28),f(49),m(50,"translate"),n()()()()()()(),R(51,m$3,6,0,"div",29)(52,L$3,23,14),n()),2&a&&(s(5),H(_(6,11,"OFFERINGS._catalogs")),s(5),H(_(11,13,"OFFERINGS._add_new_catalog")),s(7),k("icon",t.faSwatchbook),s(2),H(_(20,15,"OFFERINGS._filter_state")),s(3),V(" ",_(23,17,"OFFERINGS._filter_state")," "),s(6),V(" ",_(29,19,"OFFERINGS._status")," "),s(6),V(" ",_(35,21,"OFFERINGS._active")," "),s(5),V(" ",_(40,23,"OFFERINGS._launched")," "),s(5),V(" ",_(45,25,"OFFERINGS._retired")," "),s(5),V(" ",_(50,27,"OFFERINGS._obsolete")," "),s(2),S(51,t.loading?51:52))},dependencies:[S4,J1]})}return c})();class z4{static#e=this.BASE_URL=_1.BASE_URL;static#c=this.API_PRODUCT_CATALOG=_1.PRODUCT_CATALOG;static#a=this.API_PRODUCT_SPEC=_1.PRODUCT_SPEC;static#r=this.PROD_SPEC_LIMIT=_1.PROD_SPEC_LIMIT;constructor(r,e){this.http=r,this.localStorage=e}getProdSpecByUser(r,e,a,t,i){let l=`${z4.BASE_URL}${z4.API_PRODUCT_CATALOG}${z4.API_PRODUCT_SPEC}?limit=${z4.PROD_SPEC_LIMIT}&offset=${r}&relatedParty.id=${a}`;null!=t&&(l=l+"&sort="+t),null!=i&&(l=l+"&isBundle="+i);let d="";if(e&&e.length>0){for(let u=0;ur.id;function x$3(c,r){1&c&&(o(0,"div",30),w(),o(1,"svg",31),v(2,"path",32)(3,"path",33),n(),O(),o(4,"span",34),f(5,"Loading..."),n()())}function w$3(c,r){if(1&c&&(o(0,"span",46),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function F$3(c,r){if(1&c&&(o(0,"span",52),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function k$3(c,r){if(1&c&&(o(0,"span",53),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function S$3(c,r){if(1&c&&(o(0,"span",54),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function N$3(c,r){1&c&&(o(0,"span",46),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"OFFERINGS._simple")))}function D$3(c,r){1&c&&(o(0,"span",52),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"OFFERINGS._bundle")))}function T$3(c,r){if(1&c){const e=j();o(0,"tr",42)(1,"td",44),f(2),n(),o(3,"td",45),R(4,w$3,2,1,"span",46)(5,F$3,2,1)(6,k$3,2,1)(7,S$3,2,1),n(),o(8,"td",47),R(9,N$3,3,3,"span",46)(10,D$3,3,3),n(),o(11,"td",48),f(12),m(13,"date"),n(),o(14,"td",45)(15,"button",49),C("click",function(){const t=y(e).$implicit;return b(h(2).goToUpdate(t))}),w(),o(16,"svg",50),v(17,"path",51),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1),s(5),S(9,0==e.isBundle?9:10),s(3),V(" ",L2(13,4,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," ")}}function E$3(c,r){1&c&&(o(0,"div",43)(1,"div",55),w(),o(2,"svg",56),v(3,"path",57),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_prod")," "))}function A$3(c,r){if(1&c){const e=j();o(0,"div",58)(1,"button",59),C("click",function(){return y(e),b(h(3).next())}),f(2),m(3,"translate"),w(),o(4,"svg",60),v(5,"path",9),n()()()}2&c&&(s(2),V(" ",_(3,1,"OFFERINGS._load_more")," "))}function P$3(c,r){1&c&&R(0,A$3,6,3,"div",58),2&c&&S(0,h(2).page_check?0:-1)}function R$3(c,r){1&c&&(o(0,"div",61),w(),o(1,"svg",31),v(2,"path",32)(3,"path",33),n(),O(),o(4,"span",34),f(5,"Loading..."),n()())}function B$3(c,r){if(1&c&&(o(0,"div",35)(1,"div",36)(2,"table",37)(3,"thead",38)(4,"tr")(5,"th",39),f(6),m(7,"translate"),n(),o(8,"th",39),f(9),m(10,"translate"),n(),o(11,"th",40),f(12),m(13,"translate"),n(),o(14,"th",41),f(15),m(16,"translate"),n(),o(17,"th",39),f(18),m(19,"translate"),n()()(),o(20,"tbody"),c1(21,T$3,18,7,"tr",42,b$3,!1,E$3,7,3,"div",43),n()()(),R(24,P$3,1,1)(25,R$3,6,0),n()),2&c){const e=h();s(6),V(" ",_(7,7,"OFFERINGS._name")," "),s(3),V(" ",_(10,9,"OFFERINGS._status")," "),s(3),V(" ",_(13,11,"OFFERINGS._type")," "),s(3),V(" ",_(16,13,"OFFERINGS._last_update")," "),s(3),V(" ",_(19,15,"OFFERINGS._actions")," "),s(3),a1(e.prodSpecs),s(3),S(24,e.loading_more?25:24)}}let O$3=(()=>{class c{constructor(e,a,t,i,l,d,u){this.router=e,this.api=a,this.prodSpecService=t,this.cdr=i,this.localStorage=l,this.eventMessage=d,this.paginationService=u,this.faIdCard=$6,this.faSort=j6,this.faSwatchbook=_0,this.faSparkles=eH,this.searchField=new u1,this.prodSpecs=[],this.nextProdSpecs=[],this.page=0,this.PROD_SPEC_LIMIT=_1.PROD_SPEC_LIMIT,this.loading=!1,this.loading_more=!1,this.page_check=!0,this.filter=void 0,this.status=["Active","Launched"],this.sort=void 0,this.isBundle=void 0,this.eventMessage.messages$.subscribe(p=>{"ChangedSession"===p.type&&this.initProdSpecs()})}ngOnInit(){this.initProdSpecs()}initProdSpecs(){this.loading=!0,this.prodSpecs=[];let e=this.localStorage.getObject("login_items");if(e.logged_as==e.id)this.partyId=e.partyId;else{let t=e.organizations.find(i=>i.id==e.logged_as);this.partyId=t.partyId}this.getProdSpecs(!1);let a=document.querySelector("[type=search]");a?.addEventListener("input",t=>{console.log("Input updated"),""==this.searchField.value&&(this.filter=void 0,this.getProdSpecs(!1))}),S1()}ngAfterViewInit(){S1()}goToCreate(){this.eventMessage.emitSellerCreateProductSpec(!0)}goToUpdate(e){this.eventMessage.emitSellerUpdateProductSpec(e)}getProdSpecs(e){var a=this;return M(function*(){0==e&&(a.loading=!0),a.paginationService.getItemsPaginated(a.page,a.PROD_SPEC_LIMIT,e,a.prodSpecs,a.nextProdSpecs,{filters:a.status,partyId:a.partyId,sort:a.sort,isBundle:a.isBundle},a.prodSpecService.getProdSpecByUser.bind(a.prodSpecService)).then(i=>{a.page_check=i.page_check,a.prodSpecs=i.items,a.nextProdSpecs=i.nextItems,a.page=i.page,a.loading=!1,a.loading_more=!1})})()}next(){var e=this;return M(function*(){yield e.getProdSpecs(!0)})()}filterInventoryByKeywords(){}onStateFilterChange(e){const a=this.status.findIndex(t=>t===e);-1!==a?(this.status.splice(a,1),console.log("elimina filtro"),console.log(this.status)):(console.log("a\xf1ade filtro"),console.log(this.status),this.status.push(e)),this.getProdSpecs(!1)}onSortChange(e){this.sort="name"==e.target.value?"name":void 0,this.getProdSpecs(!1)}onTypeChange(e){this.isBundle="simple"!=e.target.value&&("bundle"==e.target.value||void 0),this.getProdSpecs(!1)}static#e=this.\u0275fac=function(a){return new(a||c)(B(Z1),B(p1),B(z4),B(B1),B(R1),B(e2),B(M3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["seller-product-spec"]],decls:55,vars:29,consts:[[1,"w-full","h-fit","mb-4","bg-secondary-50","rounded-lg","dark:bg-secondary-100","dark:border-gray-800","border-gray-300","border-secondary-50","border","flex","flex-col","shadow-lg"],[1,"flex","w-full","flex-cols","items-center","md:flex-row","justify-between"],[1,"mb-4","lg:mb-0","lg:w-1/4","p-8"],[1,"text-2xl","font-bold","mb-4","dark:text-white"],[1,"flex","flex-row","w-full","justify-end"],["type","button",1,"ml-2","mr-8","mb-4","text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-2.5","text-center","inline-flex","items-center","align-middle","me-2",3,"click"],[1,"hidden","lg:block","pl-2","pr-2"],[1,"block","lg:hidden","pl-2","pr-2"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-[18px]","h-[18px]","text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],[1,"flex","w-full","flex-col","items-center","md:flex-row","justify-between"],[1,"p-8","w-full"],[1,"flex","flex-row","mb-1"],[1,"fa-base","text-primary-100","align-middle","mr-2",3,"icon"],[1,"text-base","font-bold","dark:text-white"],["id","dropdownDefault","data-dropdown-toggle","dropdown","type","button",1,"text-black","dark:text-white","w-full","justify-between","shadow","bg-white","dark:bg-secondary-200","hover:bg-gray-100","dark:hover:bg-secondary-300","focus:ring-4","focus:outline-none","focus:ring-primary-100","font-medium","rounded-lg","text-sm","p-2.5","text-center","inline-flex","items-center","shadow-lg"],["aria-hidden","true","fill","none","stroke","currentColor","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg",1,"w-4","h-4","ml-2"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M19 9l-7 7-7-7"],["id","dropdown",1,"z-20","hidden","w-fit","md:w-1/5","p-3","bg-white","rounded-lg","shadow","dark:bg-secondary-200"],[1,"mb-3","text-sm","font-medium","text-gray-900","dark:text-white"],["aria-labelledby","dropdownDefault",1,"space-y-2","text-sm"],[1,"flex","items-center"],["id","active","type","checkbox","value","","checked","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","active",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["id","launched","type","checkbox","value","","checked","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","launched",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["id","retired","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","retired",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["id","obsolete","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","obsolete",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"sr-only"],[1,"bg-secondary-50","dark:bg-secondary-100","border","dark:border-gray-800","mt-8","p-4","rounded-lg"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"px-6","py-3","hidden","md:table-cell"],["scope","col",1,"px-6","py-3","hidden","lg:table-cell"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"flex","justify-center","w-full","m-4"],[1,"px-6","py-4","text-wrap","break-all"],[1,"px-6","py-4"],[1,"bg-blue-100","dark:bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"px-6","py-4","hidden","md:table-cell"],[1,"px-6","py-4","hidden","lg:table-cell"],["type","button",1,"text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-2.5","text-center","inline-flex","items-center","me-2",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-[18px]","h-[18px]","text-white"],["fill-rule","evenodd","d","M14 4.182A4.136 4.136 0 0 1 16.9 3c1.087 0 2.13.425 2.899 1.182A4.01 4.01 0 0 1 21 7.037c0 1.068-.43 2.092-1.194 2.849L18.5 11.214l-5.8-5.71 1.287-1.31.012-.012Zm-2.717 2.763L6.186 12.13l2.175 2.141 5.063-5.218-2.141-2.108Zm-6.25 6.886-1.98 5.849a.992.992 0 0 0 .245 1.026 1.03 1.03 0 0 0 1.043.242L10.282 19l-5.25-5.168Zm6.954 4.01 5.096-5.186-2.218-2.183-5.063 5.218 2.185 2.15Z","clip-rule","evenodd"],[1,"bg-blue-100","dark:bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"flex","pt-6","pb-2","justify-center","align-middle"],[1,"flex","cursor-pointer","shadow-lg","items-center","justify-center","px-3","h-8","text-sm","font-medium","text-gray-500","dark:text-white","bg-white","dark:bg-primary-100","dark:hover:bg-secondary-100","border","border-gray-300","dark:border-secondary-200","rounded-lg","hover:bg-gray-200",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-3.5","h-3.5","ms-2"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle","mt-2"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",0)(2,"div",1)(3,"div",2)(4,"h2",3),f(5),m(6,"translate"),n()(),o(7,"div",4)(8,"button",5),C("click",function(){return t.goToCreate()}),o(9,"p",6),f(10),m(11,"translate"),n(),o(12,"p",7),f(13,"Add new product spec"),n(),w(),o(14,"svg",8),v(15,"path",9),n()()()(),O(),o(16,"div",10)(17,"div",11)(18,"div",12),v(19,"fa-icon",13),o(20,"h2",14),f(21),m(22,"translate"),n()(),o(23,"button",15),f(24),m(25,"translate"),w(),o(26,"svg",16),v(27,"path",17),n()(),O(),o(28,"div",18)(29,"h6",19),f(30),m(31,"translate"),n(),o(32,"ul",20)(33,"li",21)(34,"input",22),C("change",function(){return t.onStateFilterChange("Active")}),n(),o(35,"label",23),f(36),m(37,"translate"),n()(),o(38,"li",21)(39,"input",24),C("change",function(){return t.onStateFilterChange("Launched")}),n(),o(40,"label",25),f(41),m(42,"translate"),n()(),o(43,"li",21)(44,"input",26),C("change",function(){return t.onStateFilterChange("Retired")}),n(),o(45,"label",27),f(46),m(47,"translate"),n()(),o(48,"li",21)(49,"input",28),C("change",function(){return t.onStateFilterChange("Obsolete")}),n(),o(50,"label",29),f(51),m(52,"translate"),n()()()()()()(),R(53,x$3,6,0,"div",30)(54,B$3,26,17),n()),2&a&&(s(5),H(_(6,11,"OFFERINGS._prod_spec")),s(5),H(_(11,13,"OFFERINGS._add_new_prod")),s(9),k("icon",t.faSwatchbook),s(2),H(_(22,15,"OFFERINGS._filter_state")),s(3),V(" ",_(25,17,"OFFERINGS._filter_state")," "),s(6),V(" ",_(31,19,"OFFERINGS._status")," "),s(6),V(" ",_(37,21,"OFFERINGS._active")," "),s(5),V(" ",_(42,23,"OFFERINGS._launched")," "),s(5),V(" ",_(47,25,"OFFERINGS._retired")," "),s(5),V(" ",_(52,27,"OFFERINGS._obsolete")," "),s(2),S(53,t.loading?53:54))},dependencies:[S4,Q4,J1]})}return c})();class D4{static#e=this.BASE_URL=_1.BASE_URL;static#c=this.SERVICE=_1.SERVICE;static#a=this.API_SERVICE_SPEC=_1.SERVICE_SPEC;static#r=this.SERV_SPEC_LIMIT=_1.SERV_SPEC_LIMIT;constructor(r,e){this.http=r,this.localStorage=e}getServiceSpecByUser(r,e,a,t){let i=`${D4.BASE_URL}${D4.SERVICE}${D4.API_SERVICE_SPEC}?limit=${D4.SERV_SPEC_LIMIT}&offset=${r}&relatedParty.id=${a}`;null!=t&&(i=i+"&sort="+t);let l="";if(e.length>0){for(let d=0;dr.id;function U$3(c,r){1&c&&(o(0,"div",29),w(),o(1,"svg",30),v(2,"path",31)(3,"path",32),n(),O(),o(4,"span",33),f(5,"Loading..."),n()())}function j$3(c,r){if(1&c&&(o(0,"span",44),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function $$3(c,r){if(1&c&&(o(0,"span",49),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function Y$3(c,r){if(1&c&&(o(0,"span",50),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function G$3(c,r){if(1&c&&(o(0,"span",51),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function q$3(c,r){if(1&c){const e=j();o(0,"tr",40)(1,"td",42),f(2),n(),o(3,"td",43),R(4,j$3,2,1,"span",44)(5,$$3,2,1)(6,Y$3,2,1)(7,G$3,2,1),n(),o(8,"td",45),f(9),m(10,"date"),n(),o(11,"td",43)(12,"button",46),C("click",function(){const t=y(e).$implicit;return b(h(2).goToUpdate(t))}),w(),o(13,"svg",47),v(14,"path",48),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1),s(5),V(" ",L2(10,3,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," ")}}function W$3(c,r){1&c&&(o(0,"div",41)(1,"div",52),w(),o(2,"svg",53),v(3,"path",54),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_serv")," "))}function Z$3(c,r){if(1&c){const e=j();o(0,"div",55)(1,"button",56),C("click",function(){return y(e),b(h(3).next())}),f(2),m(3,"translate"),w(),o(4,"svg",57),v(5,"path",8),n()()()}2&c&&(s(2),V(" ",_(3,1,"OFFERINGS._load_more")," "))}function K$3(c,r){1&c&&R(0,Z$3,6,3,"div",55),2&c&&S(0,h(2).page_check?0:-1)}function Q$3(c,r){1&c&&(o(0,"div",58),w(),o(1,"svg",30),v(2,"path",31)(3,"path",32),n(),O(),o(4,"span",33),f(5,"Loading..."),n()())}function J$3(c,r){if(1&c&&(o(0,"div",34)(1,"div",35)(2,"table",36)(3,"thead",37)(4,"tr")(5,"th",38),f(6),m(7,"translate"),n(),o(8,"th",38),f(9),m(10,"translate"),n(),o(11,"th",39),f(12),m(13,"translate"),n(),o(14,"th",38),f(15),m(16,"translate"),n()()(),o(17,"tbody"),c1(18,q$3,15,6,"tr",40,I$3,!1,W$3,7,3,"div",41),n()()(),R(21,K$3,1,1)(22,Q$3,6,0),n()),2&c){const e=h();s(6),V(" ",_(7,6,"OFFERINGS._name")," "),s(3),V(" ",_(10,8,"OFFERINGS._status")," "),s(3),V(" ",_(13,10,"OFFERINGS._last_update")," "),s(3),V(" ",_(16,12,"OFFERINGS._actions")," "),s(3),a1(e.servSpecs),s(3),S(21,e.loading_more?22:21)}}let X$3=(()=>{class c{constructor(e,a,t,i,l,d,u){this.router=e,this.api=a,this.servSpecService=t,this.cdr=i,this.localStorage=l,this.eventMessage=d,this.paginationService=u,this.faIdCard=$6,this.faSort=j6,this.faSwatchbook=_0,this.searchField=new u1,this.servSpecs=[],this.nextServSpecs=[],this.page=0,this.SERV_SPEC_LIMIT=_1.SERV_SPEC_LIMIT,this.loading=!1,this.loading_more=!1,this.page_check=!0,this.filter=void 0,this.status=["Active","Launched"],this.sort=void 0,this.eventMessage.messages$.subscribe(p=>{"ChangedSession"===p.type&&this.initServices()})}ngOnInit(){this.initServices()}initServices(){this.loading=!0,this.servSpecs=[];let e=this.localStorage.getObject("login_items");if(e.logged_as==e.id)this.partyId=e.partyId;else{let t=e.organizations.find(i=>i.id==e.logged_as);this.partyId=t.partyId}this.getServSpecs(!1);let a=document.querySelector("[type=search]");a?.addEventListener("input",t=>{console.log("Input updated"),""==this.searchField.value&&(this.filter=void 0,this.getServSpecs(!1))}),S1()}ngAfterViewInit(){S1()}goToCreate(){this.eventMessage.emitSellerCreateServiceSpec(!0)}goToUpdate(e){this.eventMessage.emitSellerUpdateServiceSpec(e)}getServSpecs(e){var a=this;return M(function*(){0==e&&(a.loading=!0),a.paginationService.getItemsPaginated(a.page,a.SERV_SPEC_LIMIT,e,a.servSpecs,a.nextServSpecs,{filters:a.status,partyId:a.partyId,sort:a.sort},a.servSpecService.getServiceSpecByUser.bind(a.servSpecService)).then(i=>{a.page_check=i.page_check,a.servSpecs=i.items,a.nextServSpecs=i.nextItems,a.page=i.page,a.loading=!1,a.loading_more=!1})})()}filterInventoryByKeywords(){}onStateFilterChange(e){const a=this.status.findIndex(t=>t===e);-1!==a?(this.status.splice(a,1),console.log("elimina filtro"),console.log(this.status)):(console.log("a\xf1ade filtro"),console.log(this.status),this.status.push(e)),this.getServSpecs(!1)}next(){var e=this;return M(function*(){yield e.getServSpecs(!0)})()}onSortChange(e){this.sort="name"==e.target.value?"name":void 0,this.getServSpecs(!1)}static#e=this.\u0275fac=function(a){return new(a||c)(B(Z1),B(p1),B(D4),B(B1),B(R1),B(e2),B(M3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["seller-service-spec"]],decls:53,vars:29,consts:[[1,"w-full","h-fit","mb-4","bg-secondary-50","rounded-lg","dark:bg-secondary-100","dark:border-gray-800","border-gray-300","border-secondary-50","border","flex","flex-col","shadow-lg"],[1,"flex","w-full","flex-cols","items-center","md:flex-row","justify-between"],[1,"mb-4","md:mb-0","md:w-1/4","p-8"],[1,"text-2xl","font-bold","mb-4","dark:text-white"],[1,"flex","flex-row","w-full","justify-end"],["type","button",1,"ml-2","mr-8","mb-4","text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-2.5","text-center","inline-flex","items-center","align-middle","me-2",3,"click"],[1,"pl-2","pr-2"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-[18px]","h-[18px]","text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],[1,"flex","w-full","flex-col","items-center","md:flex-row","justify-between"],[1,"p-8","w-full"],[1,"flex","flex-row","mb-1"],[1,"fa-base","text-primary-100","align-middle","mr-2",3,"icon"],[1,"text-base","font-bold","dark:text-white"],["id","dropdownDefault","data-dropdown-toggle","dropdown","type","button",1,"text-black","dark:text-white","w-full","justify-between","shadow","bg-white","dark:bg-secondary-200","hover:bg-gray-100","dark:hover:bg-secondary-300","focus:ring-4","focus:outline-none","focus:ring-primary-100","font-medium","rounded-lg","text-sm","p-2.5","text-center","inline-flex","items-center","shadow-lg"],["aria-hidden","true","fill","none","stroke","currentColor","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg",1,"w-4","h-4","ml-2"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M19 9l-7 7-7-7"],["id","dropdown",1,"z-20","hidden","w-fit","md:w-1/5","p-3","bg-white","rounded-lg","shadow","dark:bg-secondary-200"],[1,"mb-3","text-sm","font-medium","text-gray-900","dark:text-white"],["aria-labelledby","dropdownDefault",1,"space-y-2","text-sm"],[1,"flex","items-center"],["id","active","type","checkbox","value","","checked","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","active",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["id","launched","type","checkbox","value","","checked","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","launched",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["id","retired","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","retired",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["id","obsolete","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","obsolete",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"sr-only"],[1,"bg-secondary-50","dark:bg-secondary-100","border","dark:border-gray-800","mt-8","p-4","rounded-lg"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"hidden","md:table-cell","px-6","py-3"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"flex","justify-center","w-full","m-4"],[1,"px-6","py-4","text-wrap","break-all"],[1,"px-6","py-4"],[1,"bg-blue-100","dark:bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"hidden","md:table-cell","px-6","py-4"],["type","button",1,"text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-2.5","text-center","inline-flex","items-center","me-2",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-[18px]","h-[18px]","text-white"],["fill-rule","evenodd","d","M14 4.182A4.136 4.136 0 0 1 16.9 3c1.087 0 2.13.425 2.899 1.182A4.01 4.01 0 0 1 21 7.037c0 1.068-.43 2.092-1.194 2.849L18.5 11.214l-5.8-5.71 1.287-1.31.012-.012Zm-2.717 2.763L6.186 12.13l2.175 2.141 5.063-5.218-2.141-2.108Zm-6.25 6.886-1.98 5.849a.992.992 0 0 0 .245 1.026 1.03 1.03 0 0 0 1.043.242L10.282 19l-5.25-5.168Zm6.954 4.01 5.096-5.186-2.218-2.183-5.063 5.218 2.185 2.15Z","clip-rule","evenodd"],[1,"bg-blue-100","dark:bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"flex","pt-6","pb-2","justify-center","align-middle"],[1,"flex","cursor-pointer","shadow-lg","items-center","justify-center","px-3","h-8","text-sm","font-medium","text-gray-500","dark:text-white","bg-white","dark:bg-primary-100","dark:hover:bg-secondary-100","border","border-gray-300","dark:border-secondary-200","rounded-lg","hover:bg-gray-200",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-3.5","h-3.5","ms-2"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle","mt-2"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",0)(2,"div",1)(3,"div",2)(4,"h2",3),f(5),m(6,"translate"),n()(),o(7,"div",4)(8,"button",5),C("click",function(){return t.goToCreate()}),o(9,"p",6),f(10),m(11,"translate"),n(),w(),o(12,"svg",7),v(13,"path",8),n()()()(),O(),o(14,"div",9)(15,"div",10)(16,"div",11),v(17,"fa-icon",12),o(18,"h2",13),f(19),m(20,"translate"),n()(),o(21,"button",14),f(22),m(23,"translate"),w(),o(24,"svg",15),v(25,"path",16),n()(),O(),o(26,"div",17)(27,"h6",18),f(28),m(29,"translate"),n(),o(30,"ul",19)(31,"li",20)(32,"input",21),C("change",function(){return t.onStateFilterChange("Active")}),n(),o(33,"label",22),f(34),m(35,"translate"),n()(),o(36,"li",20)(37,"input",23),C("change",function(){return t.onStateFilterChange("Launched")}),n(),o(38,"label",24),f(39),m(40,"translate"),n()(),o(41,"li",20)(42,"input",25),C("change",function(){return t.onStateFilterChange("Retired")}),n(),o(43,"label",26),f(44),m(45,"translate"),n()(),o(46,"li",20)(47,"input",27),C("change",function(){return t.onStateFilterChange("Obsolete")}),n(),o(48,"label",28),f(49),m(50,"translate"),n()()()()()()(),R(51,U$3,6,0,"div",29)(52,J$3,23,14),n()),2&a&&(s(5),H(_(6,11,"OFFERINGS._serv_spec")),s(5),H(_(11,13,"OFFERINGS._add_new_serv")),s(7),k("icon",t.faSwatchbook),s(2),H(_(20,15,"OFFERINGS._filter_state")),s(3),V(" ",_(23,17,"OFFERINGS._filter_state")," "),s(6),V(" ",_(29,19,"OFFERINGS._status")," "),s(6),V(" ",_(35,21,"OFFERINGS._active")," "),s(5),V(" ",_(40,23,"OFFERINGS._launched")," "),s(5),V(" ",_(45,25,"OFFERINGS._retired")," "),s(5),V(" ",_(50,27,"OFFERINGS._obsolete")," "),s(2),S(51,t.loading?51:52))},dependencies:[S4,Q4,J1]})}return c})();class h4{static#e=this.BASE_URL=_1.BASE_URL;static#c=this.RESOURCE=_1.RESOURCE;static#a=this.API_RESOURCE_SPEC=_1.RESOURCE_SPEC;static#r=this.RES_SPEC_LIMIT=_1.RES_SPEC_LIMIT;constructor(r,e){this.http=r,this.localStorage=e}getResourceSpecByUser(r,e,a,t){let i=`${h4.BASE_URL}${h4.RESOURCE}${h4.API_RESOURCE_SPEC}?limit=${h4.RES_SPEC_LIMIT}&offset=${r}&relatedParty.id=${a}`;null!=t&&(i=i+"&sort="+t);let l="";if(e.length>0){for(let d=0;dr.id;function cY3(c,r){1&c&&(o(0,"div",29),w(),o(1,"svg",30),v(2,"path",31)(3,"path",32),n(),O(),o(4,"span",33),f(5,"Loading..."),n()())}function aY3(c,r){if(1&c&&(o(0,"span",44),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function rY3(c,r){if(1&c&&(o(0,"span",49),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function tY3(c,r){if(1&c&&(o(0,"span",50),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function iY3(c,r){if(1&c&&(o(0,"span",51),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function oY3(c,r){if(1&c){const e=j();o(0,"tr",40)(1,"td",42),f(2),n(),o(3,"td",43),R(4,aY3,2,1,"span",44)(5,rY3,2,1)(6,tY3,2,1)(7,iY3,2,1),n(),o(8,"td",45),f(9),m(10,"date"),n(),o(11,"td",43)(12,"button",46),C("click",function(){const t=y(e).$implicit;return b(h(2).goToUpdate(t))}),w(),o(13,"svg",47),v(14,"path",48),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1),s(5),V(" ",L2(10,3,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," ")}}function nY3(c,r){1&c&&(o(0,"div",41)(1,"div",52),w(),o(2,"svg",53),v(3,"path",54),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_res")," "))}function sY3(c,r){if(1&c){const e=j();o(0,"div",55)(1,"button",56),C("click",function(){return y(e),b(h(3).next())}),f(2," Load more "),w(),o(3,"svg",57),v(4,"path",8),n()()()}}function lY3(c,r){1&c&&R(0,sY3,5,0,"div",55),2&c&&S(0,h(2).page_check?0:-1)}function fY3(c,r){1&c&&(o(0,"div",58),w(),o(1,"svg",30),v(2,"path",31)(3,"path",32),n(),O(),o(4,"span",33),f(5,"Loading..."),n()())}function dY3(c,r){if(1&c&&(o(0,"div",34)(1,"div",35)(2,"table",36)(3,"thead",37)(4,"tr")(5,"th",38),f(6),m(7,"translate"),n(),o(8,"th",38),f(9),m(10,"translate"),n(),o(11,"th",39),f(12),m(13,"translate"),n(),o(14,"th",38),f(15),m(16,"translate"),n()()(),o(17,"tbody"),c1(18,oY3,15,6,"tr",40,eY3,!1,nY3,7,3,"div",41),n()()(),R(21,lY3,1,1)(22,fY3,6,0),n()),2&c){const e=h();s(6),V(" ",_(7,6,"OFFERINGS._name")," "),s(3),V(" ",_(10,8,"OFFERINGS._status")," "),s(3),V(" ",_(13,10,"OFFERINGS._last_update")," "),s(3),V(" ",_(16,12,"OFFERINGS._actions")," "),s(3),a1(e.resSpecs),s(3),S(21,e.loading_more?22:21)}}let uY3=(()=>{class c{constructor(e,a,t,i,l,d,u){this.router=e,this.api=a,this.resSpecService=t,this.cdr=i,this.localStorage=l,this.eventMessage=d,this.paginationService=u,this.faIdCard=$6,this.faSort=j6,this.faSwatchbook=_0,this.searchField=new u1,this.resSpecs=[],this.nextResSpecs=[],this.page=0,this.RES_SPEC_LIMIT=_1.RES_SPEC_LIMIT,this.loading=!1,this.loading_more=!1,this.page_check=!0,this.filter=void 0,this.status=["Active","Launched"],this.sort=void 0,this.eventMessage.messages$.subscribe(p=>{"ChangedSession"===p.type&&this.initResources()})}ngOnInit(){this.initResources()}initResources(){this.loading=!0,this.resSpecs=[];let e=this.localStorage.getObject("login_items");if(e.logged_as==e.id)this.partyId=e.partyId;else{let t=e.organizations.find(i=>i.id==e.logged_as);this.partyId=t.partyId}this.getResSpecs(!1);let a=document.querySelector("[type=search]");a?.addEventListener("input",t=>{console.log("Input updated"),""==this.searchField.value&&(this.filter=void 0,this.getResSpecs(!1))}),S1()}ngAfterViewInit(){S1()}goToCreate(){this.eventMessage.emitSellerCreateResourceSpec(!0)}goToUpdate(e){this.eventMessage.emitSellerUpdateResourceSpec(e)}getResSpecs(e){var a=this;return M(function*(){0==e&&(a.loading=!0),a.paginationService.getItemsPaginated(a.page,a.RES_SPEC_LIMIT,e,a.resSpecs,a.nextResSpecs,{filters:a.status,partyId:a.partyId,sort:a.sort},a.resSpecService.getResourceSpecByUser.bind(a.resSpecService)).then(i=>{a.page_check=i.page_check,a.resSpecs=i.items,a.nextResSpecs=i.nextItems,a.page=i.page,a.loading=!1,a.loading_more=!1})})()}next(){var e=this;return M(function*(){yield e.getResSpecs(!0)})()}filterInventoryByKeywords(){}onStateFilterChange(e){const a=this.status.findIndex(t=>t===e);-1!==a?(this.status.splice(a,1),console.log("elimina filtro"),console.log(this.status)):(console.log("a\xf1ade filtro"),console.log(this.status),this.status.push(e)),this.getResSpecs(!1)}onSortChange(e){this.sort="name"==e.target.value?"name":void 0,this.getResSpecs(!1)}static#e=this.\u0275fac=function(a){return new(a||c)(B(Z1),B(p1),B(h4),B(B1),B(R1),B(e2),B(M3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["seller-resource-spec"]],decls:53,vars:29,consts:[[1,"w-full","h-fit","mb-4","bg-secondary-50","rounded-lg","dark:bg-secondary-100","dark:border-gray-800","border-gray-300","border-secondary-50","border","flex","flex-col","shadow-lg"],[1,"flex","w-full","flex-cols","items-center","md:flex-row","justify-between"],[1,"mb-4","md:mb-0","md:w-1/4","p-8"],[1,"text-2xl","font-bold","mb-4","dark:text-white"],[1,"flex","flex-row","w-full","justify-end"],["type","button",1,"ml-2","mr-8","mb-4","text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-2.5","text-center","inline-flex","items-center","align-middle","me-2",3,"click"],[1,"pl-2","pr-2"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-[18px]","h-[18px]","text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],[1,"flex","w-full","flex-col","items-center","md:flex-row","justify-between"],[1,"p-8","w-full"],[1,"flex","flex-row","mb-1"],[1,"fa-base","text-primary-100","align-middle","mr-2",3,"icon"],[1,"text-base","font-bold","dark:text-white"],["id","dropdownDefault","data-dropdown-toggle","dropdown","type","button",1,"text-black","dark:text-white","w-full","justify-between","shadow","bg-white","dark:bg-secondary-200","hover:bg-gray-100","dark:hover:bg-secondary-300","focus:ring-4","focus:outline-none","focus:ring-primary-100","font-medium","rounded-lg","text-sm","p-2.5","text-center","inline-flex","items-center","shadow-lg"],["aria-hidden","true","fill","none","stroke","currentColor","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg",1,"w-4","h-4","ml-2"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M19 9l-7 7-7-7"],["id","dropdown",1,"z-20","hidden","w-fit","md:w-1/5","p-3","bg-white","rounded-lg","shadow","dark:bg-secondary-200"],[1,"mb-3","text-sm","font-medium","text-gray-900","dark:text-white"],["aria-labelledby","dropdownDefault",1,"space-y-2","text-sm"],[1,"flex","items-center"],["id","active","type","checkbox","value","","checked","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","active",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["id","launched","type","checkbox","value","","checked","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","launched",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["id","retired","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","retired",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["id","obsolete","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","obsolete",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"sr-only"],[1,"bg-secondary-50","dark:bg-secondary-100","border","dark:border-gray-800","mt-8","p-4","rounded-lg"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"hidden","md:table-cell","px-6","py-3"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"flex","justify-center","w-full","m-4"],[1,"px-6","py-4","text-wrap","break-all"],[1,"px-6","py-4"],[1,"bg-blue-100","dark:bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"hidden","md:table-cell","px-6","py-4"],["type","button",1,"text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-2.5","text-center","inline-flex","items-center","me-2",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-[18px]","h-[18px]","text-white"],["fill-rule","evenodd","d","M14 4.182A4.136 4.136 0 0 1 16.9 3c1.087 0 2.13.425 2.899 1.182A4.01 4.01 0 0 1 21 7.037c0 1.068-.43 2.092-1.194 2.849L18.5 11.214l-5.8-5.71 1.287-1.31.012-.012Zm-2.717 2.763L6.186 12.13l2.175 2.141 5.063-5.218-2.141-2.108Zm-6.25 6.886-1.98 5.849a.992.992 0 0 0 .245 1.026 1.03 1.03 0 0 0 1.043.242L10.282 19l-5.25-5.168Zm6.954 4.01 5.096-5.186-2.218-2.183-5.063 5.218 2.185 2.15Z","clip-rule","evenodd"],[1,"bg-blue-100","dark:bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"flex","pt-6","pb-2","justify-center","align-middle"],[1,"flex","cursor-pointer","shadow-lg","items-center","justify-center","px-3","h-8","text-sm","font-medium","text-gray-500","dark:text-white","bg-white","dark:bg-primary-100","dark:hover:bg-secondary-100","border","border-gray-300","dark:border-secondary-200","rounded-lg","hover:bg-gray-200",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-3.5","h-3.5","ms-2"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle","mt-2"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",0)(2,"div",1)(3,"div",2)(4,"h2",3),f(5),m(6,"translate"),n()(),o(7,"div",4)(8,"button",5),C("click",function(){return t.goToCreate()}),o(9,"p",6),f(10),m(11,"translate"),n(),w(),o(12,"svg",7),v(13,"path",8),n()()()(),O(),o(14,"div",9)(15,"div",10)(16,"div",11),v(17,"fa-icon",12),o(18,"h2",13),f(19),m(20,"translate"),n()(),o(21,"button",14),f(22),m(23,"translate"),w(),o(24,"svg",15),v(25,"path",16),n()(),O(),o(26,"div",17)(27,"h6",18),f(28),m(29,"translate"),n(),o(30,"ul",19)(31,"li",20)(32,"input",21),C("change",function(){return t.onStateFilterChange("Active")}),n(),o(33,"label",22),f(34),m(35,"translate"),n()(),o(36,"li",20)(37,"input",23),C("change",function(){return t.onStateFilterChange("Launched")}),n(),o(38,"label",24),f(39),m(40,"translate"),n()(),o(41,"li",20)(42,"input",25),C("change",function(){return t.onStateFilterChange("Retired")}),n(),o(43,"label",26),f(44),m(45,"translate"),n()(),o(46,"li",20)(47,"input",27),C("change",function(){return t.onStateFilterChange("Obsolete")}),n(),o(48,"label",28),f(49),m(50,"translate"),n()()()()()()(),R(51,cY3,6,0,"div",29)(52,dY3,23,14),n()),2&a&&(s(5),H(_(6,11,"OFFERINGS._res_spec")),s(5),H(_(11,13,"OFFERINGS._add_new_res")),s(7),k("icon",t.faSwatchbook),s(2),H(_(20,15,"OFFERINGS._filter_state")),s(3),V(" ",_(23,17,"OFFERINGS._filter_state")," "),s(6),V(" ",_(29,19,"OFFERINGS._status")," "),s(6),V(" ",_(35,21,"OFFERINGS._active")," "),s(5),V(" ",_(40,23,"OFFERINGS._launched")," "),s(5),V(" ",_(45,25,"OFFERINGS._retired")," "),s(5),V(" ",_(50,27,"OFFERINGS._obsolete")," "),s(2),S(51,t.loading?51:52))},dependencies:[S4,Q4,J1]})}return c})();const hY3=(c,r)=>r.id;function mY3(c,r){1&c&&(o(0,"div",29),w(),o(1,"svg",30),v(2,"path",31)(3,"path",32),n(),O(),o(4,"span",33),f(5,"Loading..."),n()())}function _Y3(c,r){if(1&c&&(o(0,"span",44),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function pY3(c,r){if(1&c&&(o(0,"span",49),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function gY3(c,r){if(1&c&&(o(0,"span",50),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function vY3(c,r){if(1&c&&(o(0,"span",51),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function HY3(c,r){1&c&&(o(0,"span",44),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"OFFERINGS._simple")))}function CY3(c,r){1&c&&(o(0,"span",49),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"OFFERINGS._bundle")))}function zY3(c,r){if(1&c){const e=j();o(0,"tr",40)(1,"td",42),f(2),n(),o(3,"td",43),R(4,_Y3,2,1,"span",44)(5,pY3,2,1)(6,gY3,2,1)(7,vY3,2,1),n(),o(8,"td",45),R(9,HY3,3,3,"span",44)(10,CY3,3,3),n(),o(11,"td",45),f(12),m(13,"date"),n(),o(14,"td",43)(15,"button",46),C("click",function(){const t=y(e).$implicit;return b(h(2).goToUpdate(t))}),w(),o(16,"svg",47),v(17,"path",48),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1),s(5),S(9,0==e.isBundle?9:10),s(3),V(" ",L2(13,4,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," ")}}function VY3(c,r){1&c&&(o(0,"div",41)(1,"div",52),w(),o(2,"svg",53),v(3,"path",54),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_offerings")," "))}function MY3(c,r){if(1&c){const e=j();o(0,"div",55)(1,"button",56),C("click",function(){return y(e),b(h(3).next())}),f(2),m(3,"translate"),w(),o(4,"svg",57),v(5,"path",8),n()()()}2&c&&(s(2),V(" ",_(3,1,"OFFERINGS._load_more")," "))}function LY3(c,r){1&c&&R(0,MY3,6,3,"div",55),2&c&&S(0,h(2).page_check?0:-1)}function yY3(c,r){1&c&&(o(0,"div",58),w(),o(1,"svg",30),v(2,"path",31)(3,"path",32),n(),O(),o(4,"span",33),f(5,"Loading..."),n()())}function bY3(c,r){if(1&c&&(o(0,"div",34)(1,"div",35)(2,"table",36)(3,"thead",37)(4,"tr")(5,"th",38),f(6),m(7,"translate"),n(),o(8,"th",38),f(9),m(10,"translate"),n(),o(11,"th",39),f(12),m(13,"translate"),n(),o(14,"th",39),f(15),m(16,"translate"),n(),o(17,"th",38),f(18),m(19,"translate"),n()()(),o(20,"tbody"),c1(21,zY3,18,7,"tr",40,hY3,!1,VY3,7,3,"div",41),n()()(),R(24,LY3,1,1)(25,yY3,6,0),n()),2&c){const e=h();s(6),V(" ",_(7,7,"OFFERINGS._name")," "),s(3),V(" ",_(10,9,"OFFERINGS._status")," "),s(3),V(" ",_(13,11,"OFFERINGS._type")," "),s(3),V(" ",_(16,13,"OFFERINGS._last_update")," "),s(3),V(" ",_(19,15,"OFFERINGS._actions")," "),s(3),a1(e.offers),s(3),S(24,e.loading_more?25:24)}}let xY3=(()=>{class c{constructor(e,a,t,i,l,d){this.router=e,this.api=a,this.cdr=t,this.localStorage=i,this.eventMessage=l,this.paginationService=d,this.faIdCard=$6,this.faSort=j6,this.faSwatchbook=_0,this.faSparkles=eH,this.searchField=new u1,this.offers=[],this.nextOffers=[],this.page=0,this.PROD_SPEC_LIMIT=_1.PROD_SPEC_LIMIT,this.loading=!1,this.loading_more=!1,this.page_check=!0,this.filter=void 0,this.status=["Active","Launched"],this.sort=void 0,this.isBundle=void 0,this.eventMessage.messages$.subscribe(u=>{"ChangedSession"===u.type&&this.initOffers()})}ngOnInit(){this.initOffers()}initOffers(){this.loading=!0;let e=this.localStorage.getObject("login_items");if(e.logged_as==e.id)this.partyId=e.partyId;else{let t=e.organizations.find(i=>i.id==e.logged_as);this.partyId=t.partyId}this.offers=[],this.nextOffers=[],this.getOffers(!1);let a=document.querySelector("[type=search]");a?.addEventListener("input",t=>{console.log("Input updated"),""==this.searchField.value&&(this.filter=void 0,this.getOffers(!1))}),S1()}ngAfterViewInit(){S1()}goToCreate(){this.eventMessage.emitSellerCreateOffer(!0)}goToUpdate(e){this.eventMessage.emitSellerUpdateOffer(e)}getOffers(e){var a=this;return M(function*(){0==e&&(a.loading=!0),a.paginationService.getItemsPaginated(a.page,a.PROD_SPEC_LIMIT,e,a.offers,a.nextOffers,{filters:a.status,partyId:a.partyId,sort:a.sort,isBundle:a.isBundle},a.api.getProductOfferByOwner.bind(a.api)).then(i=>{a.page_check=i.page_check,a.offers=i.items,a.nextOffers=i.nextItems,a.page=i.page,a.loading=!1,a.loading_more=!1})})()}next(){var e=this;return M(function*(){yield e.getOffers(!0)})()}onStateFilterChange(e){const a=this.status.findIndex(t=>t===e);-1!==a?(this.status.splice(a,1),console.log("elimina filtro"),console.log(this.status)):(console.log("a\xf1ade filtro"),console.log(this.status),this.status.push(e)),this.getOffers(!1)}onSortChange(e){this.sort="name"==e.target.value?"name":void 0,this.getOffers(!1)}onTypeChange(e){this.isBundle="simple"!=e.target.value&&("bundle"==e.target.value||void 0),this.getOffers(!1)}filterInventoryByKeywords(){}static#e=this.\u0275fac=function(a){return new(a||c)(B(Z1),B(p1),B(B1),B(R1),B(e2),B(M3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["seller-offer"]],decls:53,vars:29,consts:[[1,"w-full","h-fit","mb-4","bg-secondary-50","rounded-lg","dark:bg-secondary-100","dark:border-gray-800","border-gray-300","border-secondary-50","border","flex","flex-col","shadow-lg"],[1,"flex","w-full","flex-cols","items-center","justify-between"],[1,"mb-4","lg:mb-0","lg:w-1/4","p-8"],[1,"text-2xl","font-bold","mb-4","dark:text-white"],[1,"flex","flex-row","w-full","justify-end"],["type","button",1,"ml-2","mr-8","mb-4","text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-2.5","text-center","inline-flex","items-center","align-middle","me-2",3,"click"],[1,"pl-2","pr-2"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-[18px]","h-[18px]","text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],[1,"flex","w-full","flex-col","items-center","md:flex-row","justify-between"],[1,"p-8","w-full"],[1,"flex","flex-row","mb-1"],[1,"fa-base","text-primary-100","align-middle","mr-2",3,"icon"],[1,"text-base","font-bold","dark:text-white"],["id","dropdownDefault","data-dropdown-toggle","dropdown","type","button",1,"text-black","dark:text-white","w-full","justify-between","shadow","bg-white","dark:bg-secondary-200","hover:bg-gray-100","dark:hover:bg-secondary-300","focus:ring-4","focus:outline-none","focus:ring-primary-100","font-medium","rounded-lg","text-sm","p-2.5","text-center","inline-flex","items-center","shadow-lg"],["aria-hidden","true","fill","none","stroke","currentColor","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg",1,"w-4","h-4","ml-2"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M19 9l-7 7-7-7"],["id","dropdown",1,"z-20","hidden","w-fit","md:w-1/5","p-3","bg-white","rounded-lg","shadow","dark:bg-secondary-200"],[1,"mb-3","text-sm","font-medium","text-gray-900","dark:text-white"],["aria-labelledby","dropdownDefault",1,"space-y-2","text-sm"],[1,"flex","items-center"],["id","active","type","checkbox","value","","checked","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","active",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","launched","type","checkbox","value","","checked","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","launched",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","retired","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","retired",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["id","obsolete","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","obsolete",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-gray-200"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"sr-only"],[1,"bg-secondary-50","dark:bg-secondary-100","border","dark:border-gray-800","mt-8","p-4","rounded-lg"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"hidden","md:table-cell","px-6","py-3"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"flex","justify-center","w-full","m-4"],[1,"px-6","py-4","text-wrap","break-all"],[1,"px-6","py-4"],[1,"bg-blue-100","dark:bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"px-6","py-4","hidden","md:table-cell"],["type","button",1,"text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-2.5","text-center","inline-flex","items-center","me-2",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-[18px]","h-[18px]","text-white"],["fill-rule","evenodd","d","M14 4.182A4.136 4.136 0 0 1 16.9 3c1.087 0 2.13.425 2.899 1.182A4.01 4.01 0 0 1 21 7.037c0 1.068-.43 2.092-1.194 2.849L18.5 11.214l-5.8-5.71 1.287-1.31.012-.012Zm-2.717 2.763L6.186 12.13l2.175 2.141 5.063-5.218-2.141-2.108Zm-6.25 6.886-1.98 5.849a.992.992 0 0 0 .245 1.026 1.03 1.03 0 0 0 1.043.242L10.282 19l-5.25-5.168Zm6.954 4.01 5.096-5.186-2.218-2.183-5.063 5.218 2.185 2.15Z","clip-rule","evenodd"],[1,"bg-blue-100","dark:bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"flex","pt-6","pb-2","justify-center","align-middle"],[1,"flex","cursor-pointer","shadow-lg","items-center","justify-center","px-3","h-8","text-sm","font-medium","text-gray-500","dark:text-white","bg-white","dark:bg-primary-100","dark:hover:bg-secondary-100","border","border-gray-300","dark:border-secondary-200","rounded-lg","hover:bg-gray-200",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-3.5","h-3.5","ms-2"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle","mt-2"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",0)(2,"div",1)(3,"div",2)(4,"h2",3),f(5),m(6,"translate"),n()(),o(7,"div",4)(8,"button",5),C("click",function(){return t.goToCreate()}),o(9,"p",6),f(10),m(11,"translate"),n(),w(),o(12,"svg",7),v(13,"path",8),n()()()(),O(),o(14,"div",9)(15,"div",10)(16,"div",11),v(17,"fa-icon",12),o(18,"h2",13),f(19),m(20,"translate"),n()(),o(21,"button",14),f(22),m(23,"translate"),w(),o(24,"svg",15),v(25,"path",16),n()(),O(),o(26,"div",17)(27,"h6",18),f(28),m(29,"translate"),n(),o(30,"ul",19)(31,"li",20)(32,"input",21),C("change",function(){return t.onStateFilterChange("Active")}),n(),o(33,"label",22),f(34),m(35,"translate"),n()(),o(36,"li",20)(37,"input",23),C("change",function(){return t.onStateFilterChange("Launched")}),n(),o(38,"label",24),f(39),m(40,"translate"),n()(),o(41,"li",20)(42,"input",25),C("change",function(){return t.onStateFilterChange("Retired")}),n(),o(43,"label",26),f(44),m(45,"translate"),n()(),o(46,"li",20)(47,"input",27),C("change",function(){return t.onStateFilterChange("Obsolete")}),n(),o(48,"label",28),f(49),m(50,"translate"),n()()()()()()(),R(51,mY3,6,0,"div",29)(52,bY3,26,17),n()),2&a&&(s(5),H(_(6,11,"OFFERINGS._prod_offer")),s(5),H(_(11,13,"OFFERINGS._add_new_offer")),s(7),k("icon",t.faSwatchbook),s(2),H(_(20,15,"OFFERINGS._filter_state")),s(3),V(" ",_(23,17,"OFFERINGS._filter_state")," "),s(6),V(" ",_(29,19,"OFFERINGS._status")," "),s(6),V(" ",_(35,21,"OFFERINGS._active")," "),s(5),V(" ",_(40,23,"OFFERINGS._launched")," "),s(5),V(" ",_(45,25,"OFFERINGS._retired")," "),s(5),V(" ",_(50,27,"OFFERINGS._obsolete")," "),s(2),S(51,t.loading?51:52))},dependencies:[S4,Q4,J1]})}return c})();const wY3=["stringValue"],FY3=["numberValue"],kY3=["numberUnit"],SY3=["fromValue"],NY3=["toValue"],DY3=["rangeUnit"],TY3=["attachName"],EY3=["imgURL"],az=(c,r)=>r.id,AY3=(c,r)=>r.name,PY3=()=>({position:"relative",left:"200px",top:"-500px"});function RY3(c,r){1&c&&v(0,"markdown",89),2&c&&k("data",h(2).description)}function BY3(c,r){1&c&&v(0,"textarea",95)}function OY3(c,r){if(1&c){const e=j();o(0,"emoji-mart",96),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(2).addEmoji(t))}),n()}2&c&&(Y2(A4(3,PY3)),k("darkMode",!1))}function IY3(c,r){if(1&c){const e=j();o(0,"h2",21),f(1),m(2,"translate"),n(),o(3,"form",49)(4,"div")(5,"label",50),f(6),m(7,"translate"),n(),v(8,"input",51),o(9,"label",52),f(10),m(11,"translate"),n(),v(12,"input",53),n(),o(13,"div")(14,"label",54),f(15),m(16,"translate"),n(),v(17,"input",55),o(18,"label",56),f(19),m(20,"translate"),n(),v(21,"input",57),n(),o(22,"label",58),f(23),m(24,"translate"),n(),o(25,"div",59)(26,"div",60)(27,"div",61)(28,"div",62)(29,"button",63),C("click",function(){return y(e),b(h().addBold())}),w(),o(30,"svg",64),v(31,"path",65),n(),O(),o(32,"span",66),f(33,"Bold"),n()(),o(34,"button",63),C("click",function(){return y(e),b(h().addItalic())}),w(),o(35,"svg",64),v(36,"path",67),n(),O(),o(37,"span",66),f(38,"Italic"),n()(),o(39,"button",63),C("click",function(){return y(e),b(h().addList())}),w(),o(40,"svg",68),v(41,"path",69),n(),O(),o(42,"span",66),f(43,"Add list"),n()(),o(44,"button",70),C("click",function(){return y(e),b(h().addOrderedList())}),w(),o(45,"svg",68),v(46,"path",71),n(),O(),o(47,"span",66),f(48,"Add ordered list"),n()(),o(49,"button",72),C("click",function(){return y(e),b(h().addBlockquote())}),w(),o(50,"svg",73),v(51,"path",74),n(),O(),o(52,"span",66),f(53,"Add blockquote"),n()(),o(54,"button",63),C("click",function(){return y(e),b(h().addTable())}),w(),o(55,"svg",75),v(56,"path",76),n(),O(),o(57,"span",66),f(58,"Add table"),n()(),o(59,"button",72),C("click",function(){return y(e),b(h().addCode())}),w(),o(60,"svg",75),v(61,"path",77),n(),O(),o(62,"span",66),f(63,"Add code"),n()(),o(64,"button",72),C("click",function(){return y(e),b(h().addCodeBlock())}),w(),o(65,"svg",75),v(66,"path",78),n(),O(),o(67,"span",66),f(68,"Add code block"),n()(),o(69,"button",72),C("click",function(){return y(e),b(h().addLink())}),w(),o(70,"svg",75),v(71,"path",79),n(),O(),o(72,"span",66),f(73,"Add link"),n()(),o(74,"button",70),C("click",function(t){y(e);const i=h();return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(75,"svg",80),v(76,"path",81),n(),O(),o(77,"span",66),f(78,"Add emoji"),n()()()(),o(79,"button",82),C("click",function(){y(e);const t=h();return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(80,"svg",68),v(81,"path",83)(82,"path",84),n(),O(),o(83,"span",66),f(84),m(85,"translate"),n()(),o(86,"div",85),f(87),m(88,"translate"),v(89,"div",86),n()(),o(90,"div",87)(91,"label",88),f(92,"Publish post"),n(),R(93,RY3,1,1,"markdown",89)(94,BY3,1,0)(95,OY3,1,4,"emoji-mart",90),n()()(),o(96,"div",91)(97,"button",92),C("click",function(){y(e);const t=h();return t.toggleBundle(),b(t.generalDone=!0)}),f(98),m(99,"translate"),w(),o(100,"svg",93),v(101,"path",94),n()()()}if(2&c){let e,a,t;const i=h();s(),H(_(2,37,"CREATE_PROD_SPEC._general")),s(2),k("formGroup",i.generalForm),s(3),H(_(7,39,"CREATE_PROD_SPEC._product_name")),s(2),k("ngClass",1==(null==(e=i.generalForm.get("name"))?null:e.invalid)&&""!=i.generalForm.value.name?"border-red-600":"border-gray-300"),s(2),H(_(11,41,"CREATE_PROD_SPEC._product_version")),s(2),k("ngClass",1==(null==(a=i.generalForm.get("version"))?null:a.invalid)?"border-red-600":"border-gray-300"),s(3),H(_(16,43,"CREATE_PROD_SPEC._product_brand")),s(2),k("ngClass",1==(null==(t=i.generalForm.get("brand"))?null:t.invalid)&&""!=i.generalForm.value.brand?"border-red-600":"border-gray-300"),s(2),H(_(20,45,"CREATE_PROD_SPEC._id_number")),s(4),H(_(24,47,"CREATE_PROD_SPEC._product_description")),s(6),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(85,49,"CREATE_CATALOG._preview")),s(3),V(" ",_(88,51,"CREATE_CATALOG._show_preview")," "),s(6),S(93,i.showPreview?93:94),s(2),S(95,i.showEmoji?95:-1),s(2),k("disabled",!i.generalForm.valid)("ngClass",i.generalForm.valid?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(99,53,"CREATE_PROD_SPEC._next")," ")}}function UY3(c,r){1&c&&(o(0,"div",103),w(),o(1,"svg",104),v(2,"path",105)(3,"path",106),n(),O(),o(4,"span",66),f(5,"Loading..."),n()())}function jY3(c,r){1&c&&(o(0,"div",107)(1,"div",108),w(),o(2,"svg",109),v(3,"path",110),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_prod")," "))}function $Y3(c,r){if(1&c&&(o(0,"span",120),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function YY3(c,r){if(1&c&&(o(0,"span",124),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function GY3(c,r){if(1&c&&(o(0,"span",125),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function qY3(c,r){if(1&c&&(o(0,"span",126),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function WY3(c,r){1&c&&(o(0,"span",120),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"CREATE_PROD_SPEC._simple")))}function ZY3(c,r){1&c&&(o(0,"span",124),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"CREATE_PROD_SPEC._bundle")))}function KY3(c,r){if(1&c){const e=j();o(0,"tr",117)(1,"td",118),f(2),n(),o(3,"td",119),R(4,$Y3,2,1,"span",120)(5,YY3,2,1)(6,GY3,2,1)(7,qY3,2,1),n(),o(8,"td",119),R(9,WY3,3,3,"span",120)(10,ZY3,3,3),n(),o(11,"td",121),f(12),m(13,"date"),n(),o(14,"td",122)(15,"input",123),C("click",function(){const t=y(e).$implicit;return b(h(5).addProdToBundle(t))}),n()()()}if(2&c){const e=r.$implicit,a=h(5);s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1),s(5),S(9,0==e.isBundle?9:10),s(3),V(" ",L2(13,5,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," "),s(3),k("checked",a.isProdInBundle(e))}}function QY3(c,r){if(1&c&&(o(0,"div",111)(1,"table",112)(2,"thead",113)(3,"tr")(4,"th",114),f(5),m(6,"translate"),n(),o(7,"th",115),f(8),m(9,"translate"),n(),o(10,"th",115),f(11),m(12,"translate"),n(),o(13,"th",116),f(14),m(15,"translate"),n(),o(16,"th",114),f(17),m(18,"translate"),n()()(),o(19,"tbody"),c1(20,KY3,16,8,"tr",117,az),n()()()),2&c){const e=h(4);s(5),V(" ",_(6,5,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(9,7,"CREATE_PROD_SPEC._status")," "),s(3),V(" ",_(12,9,"CREATE_PROD_SPEC._type")," "),s(3),V(" ",_(15,11,"CREATE_PROD_SPEC._last_update")," "),s(3),V(" ",_(18,13,"CREATE_PROD_SPEC._select")," "),s(3),a1(e.prodSpecs)}}function JY3(c,r){1&c&&R(0,jY3,7,3,"div",107)(1,QY3,22,15),2&c&&S(0,0==h(3).prodSpecs.length?0:1)}function XY3(c,r){if(1&c){const e=j();o(0,"div",127)(1,"button",128),C("click",function(){return y(e),b(h(4).nextBundle())}),f(2),m(3,"translate"),w(),o(4,"svg",129),v(5,"path",130),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_PROD_SPEC._load_more")," "))}function eG3(c,r){1&c&&R(0,XY3,6,3,"div",127),2&c&&S(0,h(3).bundlePageCheck?0:-1)}function cG3(c,r){1&c&&(o(0,"div",131),w(),o(1,"svg",104),v(2,"path",105)(3,"path",106),n(),O(),o(4,"span",66),f(5,"Loading..."),n()())}function aG3(c,r){if(1&c&&R(0,UY3,6,0,"div",103)(1,JY3,2,1)(2,eG3,1,1)(3,cG3,6,0),2&c){const e=h(2);S(0,e.loadingBundle?0:1),s(2),S(2,e.loadingBundle_more?3:2)}}function rG3(c,r){if(1&c){const e=j();o(0,"h2",21),f(1),m(2,"translate"),n(),o(3,"div",97)(4,"label",54),f(5),m(6,"translate"),n(),o(7,"label",98)(8,"input",99),C("change",function(){return y(e),b(h().toggleBundleCheck())}),n(),v(9,"div",100),n()(),R(10,aG3,4,2),o(11,"div",101)(12,"button",102),C("click",function(){y(e);const t=h();return t.toggleCompliance(),b(t.bundleDone=!0)}),f(13),m(14,"translate"),w(),o(15,"svg",93),v(16,"path",94),n()()()}if(2&c){const e=h();s(),H(_(2,7,"CREATE_PROD_SPEC._bundle")),s(4),H(_(6,9,"CREATE_PROD_SPEC._is_bundled")),s(3),k("checked",e.bundleChecked),s(2),S(10,e.bundleChecked?10:-1),s(2),k("disabled",e.prodSpecsBundle.length<2&&e.bundleChecked)("ngClass",e.prodSpecsBundle.length<2&&e.bundleChecked?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(14,11,"CREATE_PROD_SPEC._next")," ")}}function tG3(c,r){if(1&c){const e=j();o(0,"li")(1,"div",139)(2,"label",140),f(3),n(),o(4,"button",141),C("click",function(){const t=y(e).$implicit;return b(h(4).addISO(t))}),w(),o(5,"svg",142),v(6,"path",130),n()()()()}if(2&c){const e=r.$implicit;s(2),k("ngClass",1==e.domesupported?"text-primary-100 font-bold":"text-gray-900 dark:text-white font-medium"),s(),V(" ",e.name," ")}}function iG3(c,r){if(1&c&&(o(0,"div",137)(1,"ul",138),c1(2,tG3,7,2,"li",null,z1),n()()),2&c){const e=h(3);s(2),a1(e.availableISOS)}}function oG3(c,r){if(1&c){const e=j();o(0,"button",134),C("click",function(){y(e);const t=h(2);return b(t.buttonISOClicked=!t.buttonISOClicked)}),f(1),m(2,"translate"),w(),o(3,"svg",135),v(4,"path",136),n()(),R(5,iG3,4,0,"div",137)}if(2&c){const e=h(2);s(),V(" ",_(2,2,"CREATE_PROD_SPEC._add_comp")," "),s(4),S(5,e.buttonISOClicked?5:-1)}}function nG3(c,r){if(1&c){const e=j();o(0,"tr",117)(1,"td",118),f(2),n(),o(3,"td",118),f(4),n(),o(5,"td",143)(6,"button",144),C("click",function(t){const i=y(e).$implicit;return h(2).toggleUploadFile(i),b(t.stopPropagation())}),w(),o(7,"svg",145),v(8,"path",146),n()(),O(),o(9,"button",147),C("click",function(){const t=y(e).$implicit;return b(h(2).removeISO(t))}),w(),o(10,"svg",145),v(11,"path",148),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.url," ")}}function sG3(c,r){1&c&&(o(0,"div",133)(1,"div",108),w(),o(2,"svg",109),v(3,"path",110),n(),O(),o(4,"span",66),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"CREATE_PROD_SPEC._no_comp_profile")," "))}function lG3(c,r){if(1&c){const e=j();o(0,"h2",21),f(1),m(2,"translate"),n(),R(3,oG3,6,4),o(4,"div",132)(5,"table",112)(6,"thead",113)(7,"tr")(8,"th",114),f(9),m(10,"translate"),n(),o(11,"th",114),f(12),m(13,"translate"),n(),o(14,"th",114),f(15),m(16,"translate"),n()()(),o(17,"tbody"),c1(18,nG3,12,2,"tr",117,AY3,!1,sG3,9,3,"div",133),n()()(),o(21,"div",101)(22,"button",102),C("click",function(){y(e);const t=h();return t.toggleChars(),b(t.complianceDone=!0)}),f(23),m(24,"translate"),w(),o(25,"svg",93),v(26,"path",94),n()()()}if(2&c){const e=h();s(),H(_(2,9,"CREATE_PROD_SPEC._comp_profile")),s(2),S(3,e.availableISOS.length>0?3:-1),s(6),V(" ",_(10,11,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(13,13,"CREATE_PROD_SPEC._value")," "),s(3),V(" ",_(16,15,"CREATE_PROD_SPEC._actions")," "),s(3),a1(e.selectedISOS),s(4),k("disabled",e.checkValidISOS())("ngClass",e.checkValidISOS()?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(24,17,"CREATE_PROD_SPEC._next")," ")}}function fG3(c,r){1&c&&(o(0,"div",107)(1,"div",108),w(),o(2,"svg",109),v(3,"path",110),n(),O(),o(4,"span",66),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"CREATE_PROD_SPEC._no_chars")," "))}function dG3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function uG3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function hG3(c,r){if(1&c&&R(0,dG3,4,2)(1,uG3,3,2),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function mG3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function _G3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function pG3(c,r){if(1&c&&R(0,mG3,4,3)(1,_G3,3,3),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function gG3(c,r){1&c&&R(0,hG3,2,1)(1,pG3,2,1),2&c&&S(0,r.$implicit.value?0:1)}function vG3(c,r){if(1&c){const e=j();o(0,"tr",117)(1,"td",152),f(2),n(),o(3,"td",153),f(4),n(),o(5,"td",118),c1(6,gG3,2,1,null,null,z1),n(),o(8,"td",122)(9,"button",154),C("click",function(){const t=y(e).$implicit;return b(h(3).deleteChar(t))}),w(),o(10,"svg",155),v(11,"path",148),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),a1(e.productSpecCharacteristicValue)}}function HG3(c,r){if(1&c&&(o(0,"div",111)(1,"table",112)(2,"thead",113)(3,"tr")(4,"th",114),f(5),m(6,"translate"),n(),o(7,"th",116),f(8),m(9,"translate"),n(),o(10,"th",114),f(11),m(12,"translate"),n(),o(13,"th",114),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,vG3,12,2,"tr",117,z1),n()()()),2&c){const e=h(2);s(5),V(" ",_(6,4,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(9,6,"CREATE_PROD_SPEC._product_description")," "),s(3),V(" ",_(12,8,"CREATE_PROD_SPEC._values")," "),s(3),V(" ",_(15,10,"CREATE_PROD_SPEC._actions")," "),s(3),a1(e.prodChars)}}function CG3(c,r){if(1&c){const e=j();o(0,"div",149)(1,"button",156),C("click",function(){y(e);const t=h(2);return b(t.showCreateChar=!t.showCreateChar)}),f(2),m(3,"translate"),w(),o(4,"svg",157),v(5,"path",130),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_PROD_SPEC._new_char")," "))}function zG3(c,r){if(1&c){const e=j();o(0,"div",175)(1,"div",176)(2,"input",177),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).selectDefaultChar(i,l))}),n(),o(3,"label",178),f(4),o(5,"i"),f(6),n()()(),o(7,"button",179),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).removeCharValue(i,l))}),w(),o(8,"svg",155),v(9,"path",148),n()()()}if(2&c){const e=r.$implicit;s(2),k("checked",null==e?null:e.isDefault),s(2),j1("",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function VG3(c,r){1&c&&c1(0,zG3,10,4,"div",175,z1),2&c&&a1(h(4).creatingChars)}function MG3(c,r){if(1&c){const e=j();o(0,"div",175)(1,"div",176)(2,"input",180),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).selectDefaultChar(i,l))}),n(),o(3,"label",181),f(4),o(5,"i"),f(6),n()()(),o(7,"button",179),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).removeCharValue(i,l))}),w(),o(8,"svg",155),v(9,"path",148),n()()()}if(2&c){const e=r.$implicit;s(2),k("checked",null==e?null:e.isDefault),s(2),V("",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function LG3(c,r){1&c&&c1(0,MG3,10,3,"div",175,z1),2&c&&a1(h(4).creatingChars)}function yG3(c,r){if(1&c&&(o(0,"label",169),f(1,"Values"),n(),o(2,"div",174),R(3,VG3,2,0)(4,LG3,2,0),n()),2&c){const e=h(3);s(3),S(3,e.rangeCharSelected?3:4)}}function bG3(c,r){if(1&c){const e=j();o(0,"div",170),v(1,"input",182,0),o(3,"button",183),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(4,"svg",184),v(5,"path",130),n()()()}}function xG3(c,r){if(1&c){const e=j();o(0,"div",185)(1,"div",186)(2,"span",187),f(3),m(4,"translate"),n(),v(5,"input",188,1),n(),o(7,"div",186)(8,"span",187),f(9),m(10,"translate"),n(),v(11,"input",189,2),n(),o(13,"button",183),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(14,"svg",184),v(15,"path",130),n()()()}2&c&&(s(3),V(" ",_(4,2,"CREATE_PROD_SPEC._value")," "),s(6),V(" ",_(10,4,"CREATE_PROD_SPEC._unit")," "))}function wG3(c,r){if(1&c){const e=j();o(0,"div",185)(1,"div",186)(2,"span",187),f(3),m(4,"translate"),n(),v(5,"input",188,3),n(),o(7,"div",186)(8,"span",187),f(9),m(10,"translate"),n(),v(11,"input",188,4),n(),o(13,"div",186)(14,"span",187),f(15),m(16,"translate"),n(),v(17,"input",189,5),n(),o(19,"button",183),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(20,"svg",184),v(21,"path",130),n()()()}2&c&&(s(3),V(" ",_(4,3,"CREATE_PROD_SPEC._from")," "),s(6),V(" ",_(10,5,"CREATE_PROD_SPEC._to")," "),s(6),V(" ",_(16,7,"CREATE_PROD_SPEC._unit")," "))}function FG3(c,r){if(1&c){const e=j();o(0,"form",158)(1,"div")(2,"label",50),f(3),m(4,"translate"),n(),v(5,"input",159),n(),o(6,"div")(7,"label",160),f(8),m(9,"translate"),n(),o(10,"select",161),C("change",function(t){return y(e),b(h(2).onTypeChange(t))}),o(11,"option",162),f(12,"String"),n(),o(13,"option",163),f(14,"Number"),n(),o(15,"option",164),f(16,"Number range"),n()()(),o(17,"div",165)(18,"label",166),f(19),m(20,"translate"),n(),v(21,"textarea",167),n()(),o(22,"div",168),R(23,yG3,5,1),o(24,"label",169),f(25),m(26,"translate"),n(),R(27,bG3,6,0,"div",170)(28,xG3,16,6)(29,wG3,22,9),o(30,"div",171)(31,"button",172),C("click",function(){return y(e),b(h(2).saveChar())}),f(32),m(33,"translate"),w(),o(34,"svg",157),v(35,"path",173),n()()()()}if(2&c){const e=h(2);k("formGroup",e.charsForm),s(3),H(_(4,10,"CREATE_PROD_SPEC._product_name")),s(5),H(_(9,12,"CREATE_PROD_SPEC._type")),s(11),H(_(20,14,"CREATE_PROD_SPEC._product_description")),s(4),S(23,e.creatingChars.length>0?23:-1),s(2),H(_(26,16,"CREATE_PROD_SPEC._add_values")),s(2),S(27,e.stringCharSelected?27:e.numberCharSelected?28:e.rangeCharSelected?29:-1),s(4),k("disabled",!e.charsForm.valid||0==e.creatingChars.length)("ngClass",e.charsForm.valid&&0!=e.creatingChars.length?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(33,18,"CREATE_PROD_SPEC._save_char")," ")}}function kG3(c,r){if(1&c){const e=j();o(0,"h2",21),f(1),m(2,"translate"),n(),R(3,fG3,9,3,"div",107)(4,HG3,19,12)(5,CG3,6,3,"div",149)(6,FG3,36,20),o(7,"div",150)(8,"button",151),C("click",function(){y(e);const t=h();return t.toggleResource(),b(t.charsDone=!0)}),f(9),m(10,"translate"),w(),o(11,"svg",93),v(12,"path",94),n()()()}if(2&c){const e=h();s(),H(_(2,4,"CREATE_PROD_SPEC._chars")),s(2),S(3,0===e.prodChars.length?3:4),s(2),S(5,0==e.showCreateChar?5:6),s(4),V(" ",_(10,6,"CREATE_PROD_SPEC._next")," ")}}function SG3(c,r){1&c&&(o(0,"div",103),w(),o(1,"svg",104),v(2,"path",105)(3,"path",106),n(),O(),o(4,"span",66),f(5,"Loading..."),n()())}function NG3(c,r){1&c&&(o(0,"div",107)(1,"div",108),w(),o(2,"svg",109),v(3,"path",110),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_res")," "))}function DG3(c,r){if(1&c&&(o(0,"span",120),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function TG3(c,r){if(1&c&&(o(0,"span",124),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function EG3(c,r){if(1&c&&(o(0,"span",125),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function AG3(c,r){if(1&c&&(o(0,"span",126),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function PG3(c,r){if(1&c){const e=j();o(0,"tr",117)(1,"td",118),f(2),n(),o(3,"td",119),R(4,DG3,2,1,"span",120)(5,TG3,2,1)(6,EG3,2,1)(7,AG3,2,1),n(),o(8,"td",121),f(9),m(10,"date"),n(),o(11,"td",122)(12,"input",123),C("click",function(){const t=y(e).$implicit;return b(h(4).addResToSelected(t))}),n()()()}if(2&c){const e=r.$implicit,a=h(4);s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1),s(5),V(" ",L2(10,4,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," "),s(3),k("checked",a.isResSelected(e))}}function RG3(c,r){if(1&c&&(o(0,"div",111)(1,"table",112)(2,"thead",113)(3,"tr")(4,"th",114),f(5),m(6,"translate"),n(),o(7,"th",115),f(8),m(9,"translate"),n(),o(10,"th",116),f(11),m(12,"translate"),n(),o(13,"th",114),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,PG3,13,7,"tr",117,az),n()()()),2&c){const e=h(3);s(5),V(" ",_(6,4,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(9,6,"CREATE_PROD_SPEC._status")," "),s(3),V(" ",_(12,8,"CREATE_PROD_SPEC._last_update")," "),s(3),V(" ",_(15,10,"CREATE_PROD_SPEC._select")," "),s(3),a1(e.resourceSpecs)}}function BG3(c,r){1&c&&R(0,NG3,7,3,"div",107)(1,RG3,19,12),2&c&&S(0,0==h(2).resourceSpecs.length?0:1)}function OG3(c,r){if(1&c){const e=j();o(0,"div",127)(1,"button",128),C("click",function(){return y(e),b(h(3).nextRes())}),f(2),m(3,"translate"),w(),o(4,"svg",129),v(5,"path",130),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_PROD_SPEC._load_more")," "))}function IG3(c,r){1&c&&R(0,OG3,6,3,"div",127),2&c&&S(0,h(2).resourceSpecPageCheck?0:-1)}function UG3(c,r){1&c&&(o(0,"div",131),w(),o(1,"svg",104),v(2,"path",105)(3,"path",106),n(),O(),o(4,"span",66),f(5,"Loading..."),n()())}function jG3(c,r){if(1&c){const e=j();o(0,"h2",21),f(1),m(2,"translate"),n(),R(3,SG3,6,0,"div",103)(4,BG3,2,1)(5,IG3,1,1)(6,UG3,6,0),o(7,"div",101)(8,"button",151),C("click",function(){y(e);const t=h();return t.toggleService(),b(t.resourceDone=!0)}),f(9),m(10,"translate"),w(),o(11,"svg",93),v(12,"path",94),n()()()}if(2&c){const e=h();s(),H(_(2,4,"CREATE_PROD_SPEC._resource_specs")),s(2),S(3,e.loadingResourceSpec?3:4),s(2),S(5,e.loadingResourceSpec_more?6:5),s(4),V(" ",_(10,6,"CREATE_PROD_SPEC._next")," ")}}function $G3(c,r){1&c&&(o(0,"div",103),w(),o(1,"svg",104),v(2,"path",105)(3,"path",106),n(),O(),o(4,"span",66),f(5,"Loading..."),n()())}function YG3(c,r){1&c&&(o(0,"div",107)(1,"div",108),w(),o(2,"svg",109),v(3,"path",110),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_serv")," "))}function GG3(c,r){if(1&c&&(o(0,"span",120),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function qG3(c,r){if(1&c&&(o(0,"span",124),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function WG3(c,r){if(1&c&&(o(0,"span",125),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function ZG3(c,r){if(1&c&&(o(0,"span",126),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function KG3(c,r){if(1&c){const e=j();o(0,"tr",117)(1,"td",118),f(2),n(),o(3,"td",119),R(4,GG3,2,1,"span",120)(5,qG3,2,1)(6,WG3,2,1)(7,ZG3,2,1),n(),o(8,"td",121),f(9),m(10,"date"),n(),o(11,"td",122)(12,"input",123),C("click",function(){const t=y(e).$implicit;return b(h(4).addServToSelected(t))}),n()()()}if(2&c){const e=r.$implicit,a=h(4);s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1),s(5),V(" ",L2(10,4,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," "),s(3),k("checked",a.isServSelected(e))}}function QG3(c,r){if(1&c&&(o(0,"div",111)(1,"table",112)(2,"thead",113)(3,"tr")(4,"th",114),f(5),m(6,"translate"),n(),o(7,"th",115),f(8),m(9,"translate"),n(),o(10,"th",116),f(11),m(12,"translate"),n(),o(13,"th",114),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,KG3,13,7,"tr",117,az),n()()()),2&c){const e=h(3);s(5),V(" ",_(6,4,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(9,6,"CREATE_PROD_SPEC._status")," "),s(3),V(" ",_(12,8,"CREATE_PROD_SPEC._last_update")," "),s(3),V(" ",_(15,10,"CREATE_PROD_SPEC._select")," "),s(3),a1(e.serviceSpecs)}}function JG3(c,r){1&c&&R(0,YG3,7,3,"div",107)(1,QG3,19,12),2&c&&S(0,0==h(2).serviceSpecs.length?0:1)}function XG3(c,r){if(1&c){const e=j();o(0,"div",127)(1,"button",128),C("click",function(){return y(e),b(h(3).nextServ())}),f(2),m(3,"translate"),w(),o(4,"svg",129),v(5,"path",130),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_PROD_SPEC._load_more")," "))}function eq3(c,r){1&c&&R(0,XG3,6,3,"div",127),2&c&&S(0,h(2).serviceSpecPageCheck?0:-1)}function cq3(c,r){1&c&&(o(0,"div",131),w(),o(1,"svg",104),v(2,"path",105)(3,"path",106),n(),O(),o(4,"span",66),f(5,"Loading..."),n()())}function aq3(c,r){if(1&c){const e=j();o(0,"h2",21),f(1),m(2,"translate"),n(),R(3,$G3,6,0,"div",103)(4,JG3,2,1)(5,eq3,1,1)(6,cq3,6,0),o(7,"div",150)(8,"button",151),C("click",function(){y(e);const t=h();return t.toggleAttach(),b(t.serviceDone=!0)}),f(9),m(10,"translate"),w(),o(11,"svg",93),v(12,"path",94),n()()()}if(2&c){const e=h();s(),H(_(2,4,"CREATE_PROD_SPEC._service_specs")),s(2),S(3,e.loadingServiceSpec?3:4),s(2),S(5,e.loadingServiceSpec_more?6:5),s(4),V(" ",_(10,6,"CREATE_PROD_SPEC._next")," ")}}function rq3(c,r){if(1&c){const e=j();o(0,"div",201),v(1,"img",203),o(2,"button",204),C("click",function(){return y(e),b(h(2).removeImg())}),w(),o(3,"svg",155),v(4,"path",148),n()()()}if(2&c){const e=h(2);s(),E1("src",e.imgPreview,H2)}}function tq3(c,r){if(1&c){const e=j();o(0,"div",213),w(),o(1,"svg",214),v(2,"path",215),n(),O(),o(3,"div",216)(4,"p",217),f(5),m(6,"translate"),o(7,"button",218),C("click",function(){return b((0,y(e).openFileSelector)())}),f(8),m(9,"translate"),n()()()()}2&c&&(s(5),V("",_(6,2,"CREATE_PROD_SPEC._drop_files")," "),s(3),H(_(9,4,"CREATE_PROD_SPEC._select_files")))}function iq3(c,r){if(1&c){const e=j();o(0,"div",205)(1,"ngx-file-drop",206),C("onFileDrop",function(t){return y(e),b(h(2).dropped(t,"img"))})("onFileOver",function(t){return y(e),b(h(2).fileOver(t))})("onFileLeave",function(t){return y(e),b(h(2).fileLeave(t))}),R(2,tq3,10,6,"ng-template",207),n()(),o(3,"label",208),f(4),m(5,"translate"),n(),o(6,"div",209),v(7,"input",210,6),o(9,"button",211),C("click",function(){return y(e),b(h(2).saveImgFromURL())}),w(),o(10,"svg",155),v(11,"path",212),n()()()}if(2&c){const e=h(2);s(4),H(_(5,4,"CREATE_PROD_SPEC._add_prod_img_url")),s(3),k("formControl",e.attImageName),s(2),k("disabled",!e.attImageName.valid)("ngClass",e.attImageName.valid?"hover:bg-primary-50":"opacity-50")}}function oq3(c,r){1&c&&(o(0,"div",202)(1,"div",108),w(),o(2,"svg",109),v(3,"path",110),n(),O(),o(4,"span",66),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"CREATE_PROD_SPEC._no_att")," "))}function nq3(c,r){if(1&c){const e=j();o(0,"tr",117)(1,"td",118),f(2),n(),o(3,"td",118),f(4),n(),o(5,"td",122)(6,"button",154),C("click",function(){const t=y(e).$implicit;return b(h(3).removeAtt(t))}),w(),o(7,"svg",155),v(8,"path",148),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.url," ")}}function sq3(c,r){if(1&c&&(o(0,"div",111)(1,"table",112)(2,"thead",113)(3,"tr")(4,"th",114),f(5),m(6,"translate"),n(),o(7,"th",114),f(8),m(9,"translate"),n(),o(10,"th",114),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,nq3,9,2,"tr",117,z1),n()()()),2&c){const e=h(2);s(5),V(" ",_(6,3,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(9,5,"CREATE_PROD_SPEC._value")," "),s(3),V(" ",_(12,7,"CREATE_PROD_SPEC._actions")," "),s(3),a1(e.prodAttachments)}}function lq3(c,r){if(1&c){const e=j();o(0,"div",149)(1,"button",156),C("click",function(){y(e);const t=h(2);return b(t.showNewAtt=!t.showNewAtt)}),f(2),m(3,"translate"),w(),o(4,"svg",157),v(5,"path",130),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_PROD_SPEC._new_att")," "))}function fq3(c,r){if(1&c){const e=j();o(0,"div",213),w(),o(1,"svg",214),v(2,"path",215),n(),O(),o(3,"div",216)(4,"p",217),f(5),m(6,"translate"),o(7,"button",218),C("click",function(){return b((0,y(e).openFileSelector)())}),f(8),m(9,"translate"),n()()()()}2&c&&(s(5),V("",_(6,2,"CREATE_PROD_SPEC._drop_files")," "),s(3),H(_(9,4,"CREATE_PROD_SPEC._select_files")))}function dq3(c,r){if(1&c){const e=j();o(0,"ngx-file-drop",225),C("onFileDrop",function(t){return y(e),b(h(3).dropped(t,"attach"))})("onFileOver",function(t){return y(e),b(h(3).fileOver(t))})("onFileLeave",function(t){return y(e),b(h(3).fileLeave(t))}),R(1,fq3,10,6,"ng-template",207),n()}}function uq3(c,r){if(1&c){const e=j();o(0,"div",226)(1,"span",66),f(2,"Info"),n(),o(3,"label",227),f(4),n(),o(5,"button",204),C("click",function(){return y(e),b(h(3).clearAtt())}),w(),o(6,"svg",155),v(7,"path",148),n()()()}if(2&c){const e=h(3);s(4),V(" ",e.attachToCreate.url," ")}}function hq3(c,r){if(1&c){const e=j();o(0,"div",219)(1,"div",220)(2,"div",221)(3,"label",222),f(4),m(5,"translate"),n(),v(6,"input",223,7),n(),R(8,dq3,2,0,"ngx-file-drop",224)(9,uq3,8,1),n(),o(10,"div",171)(11,"button",172),C("click",function(){return y(e),b(h(2).saveAtt())}),f(12),m(13,"translate"),w(),o(14,"svg",157),v(15,"path",173),n()()()()}if(2&c){const e=h(2);s(4),H(_(5,7,"PROFILE._name")),s(2),k("formControl",e.attFileName)("ngClass",1==e.attFileName.invalid?"border-red-600":"border-gray-300"),s(2),S(8,""==e.attachToCreate.url?8:9),s(3),k("disabled",!e.attFileName.valid||""==e.attachToCreate.url)("ngClass",e.attFileName.valid&&""!=e.attachToCreate.url?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(13,9,"CREATE_PROD_SPEC._save_att")," ")}}function mq3(c,r){if(1&c){const e=j();o(0,"div",190)(1,"h2",21),f(2),m(3,"translate"),n(),o(4,"div",191),w(),o(5,"svg",192),v(6,"path",193),n()(),O(),o(7,"div",194)(8,"div",195)(9,"h3",196),f(10),m(11,"translate"),n()(),o(12,"div",197)(13,"p",198),f(14),m(15,"translate"),n()(),v(16,"div",199),n()(),o(17,"h4",200),f(18),m(19,"translate"),n(),R(20,rq3,5,1,"div",201)(21,iq3,12,6),o(22,"h4",200),f(23),m(24,"translate"),n(),R(25,oq3,9,3,"div",202)(26,sq3,16,9)(27,lq3,6,3,"div",149)(28,hq3,16,11),o(29,"div",150)(30,"button",151),C("click",function(){y(e);const t=h();return t.toggleRelationship(),b(t.attachDone=!0)}),f(31),m(32,"translate"),w(),o(33,"svg",93),v(34,"path",94),n()()()}if(2&c){const e=h();s(2),H(_(3,9,"CREATE_PROD_SPEC._attachments")),s(8),H(_(11,11,"CREATE_PROD_SPEC._file_res")),s(4),V("",_(15,13,"CREATE_PROD_SPEC._restrictions")," "),s(4),H(_(19,15,"CREATE_PROD_SPEC._add_prod_img")),s(2),S(20,e.showImgPreview?20:21),s(3),H(_(24,17,"CREATE_PROD_SPEC._add_att")),s(2),S(25,0==e.prodAttachments.length?25:26),s(2),S(27,0==e.showNewAtt?27:28),s(4),V(" ",_(32,19,"CREATE_PROD_SPEC._next")," ")}}function _q3(c,r){1&c&&(o(0,"div",228)(1,"div",108),w(),o(2,"svg",109),v(3,"path",110),n(),O(),o(4,"span",66),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"CREATE_PROD_SPEC._no_relatioships")," "))}function pq3(c,r){if(1&c&&(o(0,"span",229),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function gq3(c,r){if(1&c&&(o(0,"span",230),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function vq3(c,r){if(1&c&&(o(0,"span",231),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function Hq3(c,r){if(1&c&&(o(0,"span",232),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function Cq3(c,r){if(1&c){const e=j();o(0,"tr",117)(1,"td",122),f(2),n(),o(3,"td",118),f(4),n(),o(5,"td",119),R(6,pq3,2,1,"span",229)(7,gq3,2,1)(8,vq3,2,1)(9,Hq3,2,1),n(),o(10,"td",121),f(11),m(12,"date"),n(),o(13,"td",122)(14,"button",154),C("click",function(){const t=y(e).$implicit;return b(h(3).deleteRel(t))}),w(),o(15,"svg",155),v(16,"path",148),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.relationshipType," "),s(2),V(" ",e.productSpec.name," "),s(2),S(6,"Active"==e.productSpec.lifecycleStatus?6:"Launched"==e.productSpec.lifecycleStatus?7:"Retired"==e.productSpec.lifecycleStatus?8:"Obsolete"==e.productSpec.lifecycleStatus?9:-1),s(5),V(" ",L2(12,4,e.productSpec.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," ")}}function zq3(c,r){if(1&c&&(o(0,"div",111)(1,"table",112)(2,"thead",113)(3,"tr")(4,"th",114),f(5),m(6,"translate"),n(),o(7,"th",114),f(8),m(9,"translate"),n(),o(10,"th",115),f(11),m(12,"translate"),n(),o(13,"th",116),f(14),m(15,"translate"),n(),o(16,"th",114),f(17),m(18,"translate"),n()()(),o(19,"tbody"),c1(20,Cq3,17,7,"tr",117,z1),n()()()),2&c){const e=h(2);s(5),V(" ",_(6,5,"CREATE_PROD_SPEC._relationship_type")," "),s(3),V(" ",_(9,7,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(12,9,"CREATE_PROD_SPEC._type")," "),s(3),V(" ",_(15,11,"CREATE_PROD_SPEC._last_update")," "),s(3),V(" ",_(18,13,"CREATE_PROD_SPEC._actions")," "),s(3),a1(e.prodRelationships)}}function Vq3(c,r){if(1&c){const e=j();o(0,"div",149)(1,"button",156),C("click",function(){y(e);const t=h(2);return b(t.showCreateRel=!t.showCreateRel)}),f(2),m(3,"translate"),w(),o(4,"svg",157),v(5,"path",130),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_PROD_SPEC._add_relationship")," "))}function Mq3(c,r){1&c&&(o(0,"div",103),w(),o(1,"svg",104),v(2,"path",105)(3,"path",106),n(),O(),o(4,"span",66),f(5,"Loading..."),n()())}function Lq3(c,r){1&c&&(o(0,"div",107)(1,"div",108),w(),o(2,"svg",109),v(3,"path",110),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_prod_rel")," "))}function yq3(c,r){1&c&&(o(0,"span",120),f(1,"Simple"),n())}function bq3(c,r){1&c&&(o(0,"span",124),f(1,"Bundle"),n())}function xq3(c,r){if(1&c){const e=j();o(0,"tr",240),C("click",function(){const t=y(e).$implicit;return b(h(5).selectRelationship(t))}),o(1,"td",118),f(2),n(),o(3,"td",122),R(4,yq3,2,0,"span",120)(5,bq3,2,0),n(),o(6,"td",241),f(7),m(8,"date"),n()()}if(2&c){const e=r.$implicit,a=h(5);k("ngClass",e.id==a.selectedProdSpec.id?"bg-gray-300 dark:bg-secondary-200":"bg-white dark:bg-secondary-300"),s(2),V(" ",e.name," "),s(2),S(4,0==e.isBundle?4:5),s(3),V(" ",L2(8,4,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," ")}}function wq3(c,r){if(1&c&&(o(0,"div",237)(1,"table",112)(2,"thead",113)(3,"tr")(4,"th",114),f(5),m(6,"translate"),n(),o(7,"th",114),f(8),m(9,"translate"),n(),o(10,"th",238),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,xq3,9,7,"tr",239,z1),n()()()),2&c){const e=h(4);s(5),V(" ",_(6,3,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(9,5,"CREATE_PROD_SPEC._type")," "),s(3),V(" ",_(12,7,"CREATE_PROD_SPEC._last_update")," "),s(3),a1(e.prodSpecRels)}}function Fq3(c,r){if(1&c){const e=j();o(0,"div",127)(1,"button",128),C("click",function(){return y(e),b(h(5).nextProdSpecsRel())}),f(2),m(3,"translate"),w(),o(4,"svg",129),v(5,"path",130),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_PROD_SPEC._load_more")," "))}function kq3(c,r){1&c&&R(0,Fq3,6,3,"div",127),2&c&&S(0,h(4).prodSpecRelPageCheck?0:-1)}function Sq3(c,r){1&c&&(o(0,"div",131),w(),o(1,"svg",104),v(2,"path",105)(3,"path",106),n(),O(),o(4,"span",66),f(5,"Loading..."),n()())}function Nq3(c,r){if(1&c&&R(0,Lq3,7,3,"div",107)(1,wq3,16,9)(2,kq3,1,1)(3,Sq3,6,0),2&c){const e=h(3);S(0,0==e.prodSpecRels.length?0:1),s(2),S(2,e.loadingprodSpecRel_more?3:2)}}function Dq3(c,r){if(1&c){const e=j();o(0,"label",160),f(1),m(2,"translate"),n(),o(3,"select",161),C("change",function(t){return y(e),b(h(2).onRelChange(t))}),o(4,"option",233),f(5,"Migration"),n(),o(6,"option",234),f(7,"Dependency"),n(),o(8,"option",235),f(9,"Exclusivity"),n(),o(10,"option",236),f(11,"Substitution"),n()(),R(12,Mq3,6,0,"div",103)(13,Nq3,4,2),o(14,"div",171)(15,"button",172),C("click",function(){return y(e),b(h(2).saveRel())}),f(16),m(17,"translate"),w(),o(18,"svg",157),v(19,"path",173),n()()()}if(2&c){const e=h(2);s(),H(_(2,5,"CREATE_PROD_SPEC._relationship_type")),s(11),S(12,e.loadingprodSpecRel?12:13),s(3),k("disabled",0==e.prodSpecRels.length)("ngClass",0==e.prodSpecRels.length?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(17,7,"CREATE_PROD_SPEC._save_relationship")," ")}}function Tq3(c,r){if(1&c){const e=j();o(0,"h2",21),f(1),m(2,"translate"),n(),o(3,"div",168),R(4,_q3,9,3,"div",228)(5,zq3,22,15)(6,Vq3,6,3,"div",149)(7,Dq3,20,9),n(),o(8,"div",101)(9,"button",151),C("click",function(){y(e);const t=h();return t.showFinish(),b(t.relationshipDone=!0)}),f(10),m(11,"translate"),w(),o(12,"svg",93),v(13,"path",94),n()()()}if(2&c){const e=h();s(),H(_(2,4,"CREATE_PROD_SPEC._relationships")),s(3),S(4,0===e.prodRelationships.length?4:5),s(2),S(6,0==e.showCreateRel?6:7),s(4),V(" ",_(11,6,"CREATE_PROD_SPEC._finish")," ")}}function Eq3(c,r){if(1&c&&(o(0,"label",160),f(1),m(2,"translate"),n(),o(3,"label",244),f(4),n()),2&c){const e=h(2);s(),H(_(2,2,"CREATE_PROD_SPEC._id_number")),s(3),V(" ",null==e.productSpecToCreate?null:e.productSpecToCreate.productNumber," ")}}function Aq3(c,r){if(1&c&&(o(0,"span",247),f(1),n()),2&c){const e=h(2);s(),H(null==e.productSpecToCreate?null:e.productSpecToCreate.lifecycleStatus)}}function Pq3(c,r){if(1&c&&(o(0,"span",248),f(1),n()),2&c){const e=h(2);s(),H(null==e.productSpecToCreate?null:e.productSpecToCreate.lifecycleStatus)}}function Rq3(c,r){if(1&c&&(o(0,"span",249),f(1),n()),2&c){const e=h(2);s(),H(null==e.productSpecToCreate?null:e.productSpecToCreate.lifecycleStatus)}}function Bq3(c,r){if(1&c&&(o(0,"span",250),f(1),n()),2&c){const e=h(2);s(),H(null==e.productSpecToCreate?null:e.productSpecToCreate.lifecycleStatus)}}function Oq3(c,r){if(1&c&&(o(0,"label",160),f(1),m(2,"translate"),n(),o(3,"div",251),v(4,"markdown",252),n()),2&c){const e=h(2);s(),H(_(2,2,"UPDATE_PROD_SPEC._product_description")),s(3),k("data",null==e.productSpecToCreate?null:e.productSpecToCreate.description)}}function Iq3(c,r){if(1&c&&(o(0,"label",160),f(1),m(2,"translate"),n(),o(3,"div",201),v(4,"img",203),n()),2&c){const e=h(2);s(),H(_(2,2,"CREATE_PROD_SPEC._profile_pic")),s(3),E1("src",e.imgPreview,H2)}}function Uq3(c,r){if(1&c&&(o(0,"span",229),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function jq3(c,r){if(1&c&&(o(0,"span",230),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function $q3(c,r){if(1&c&&(o(0,"span",231),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function Yq3(c,r){if(1&c&&(o(0,"span",232),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function Gq3(c,r){if(1&c&&(o(0,"tr",117)(1,"td",118),f(2),n(),o(3,"td",122),R(4,Uq3,2,1,"span",229)(5,jq3,2,1)(6,$q3,2,1)(7,Yq3,2,1),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1)}}function qq3(c,r){if(1&c&&(o(0,"label",160),f(1),m(2,"translate"),n(),o(3,"div",253)(4,"table",112)(5,"thead",113)(6,"tr")(7,"th",114),f(8),m(9,"translate"),n(),o(10,"th",114),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,Gq3,8,2,"tr",117,z1),n()()()),2&c){const e=h(2);s(),H(_(2,3,"CREATE_PROD_SPEC._bundle")),s(7),V(" ",_(9,5,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(12,7,"CREATE_PROD_SPEC._status")," "),s(3),a1(e.prodSpecsBundle)}}function Wq3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function Zq3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function Kq3(c,r){if(1&c&&R(0,Wq3,4,2)(1,Zq3,3,2),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function Qq3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function Jq3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function Xq3(c,r){if(1&c&&R(0,Qq3,4,3)(1,Jq3,3,3),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function eW3(c,r){1&c&&R(0,Kq3,2,1)(1,Xq3,2,1),2&c&&S(0,r.$implicit.value?0:1)}function cW3(c,r){if(1&c&&(o(0,"tr",117)(1,"td",118),f(2),n(),o(3,"td",153),f(4),n(),o(5,"td",118),c1(6,eW3,2,1,null,null,z1),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),a1(e.productSpecCharacteristicValue)}}function aW3(c,r){if(1&c&&(o(0,"label",160),f(1),m(2,"translate"),n(),o(3,"div",253)(4,"table",112)(5,"thead",113)(6,"tr")(7,"th",114),f(8),m(9,"translate"),n(),o(10,"th",116),f(11),m(12,"translate"),n(),o(13,"th",114),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,cW3,8,2,"tr",117,z1),n()()()),2&c){const e=h(2);s(),H(_(2,4,"CREATE_PROD_SPEC._chars")),s(7),V(" ",_(9,6,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(12,8,"CREATE_PROD_SPEC._product_description")," "),s(3),V(" ",_(15,10,"CREATE_PROD_SPEC._values")," "),s(3),a1(null==e.productSpecToCreate?null:e.productSpecToCreate.productSpecCharacteristic)}}function rW3(c,r){if(1&c&&(o(0,"tr",117)(1,"td",118),f(2),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," ")}}function tW3(c,r){if(1&c&&(o(0,"label",160),f(1),m(2,"translate"),n(),o(3,"div",253)(4,"table",112)(5,"thead",113)(6,"tr")(7,"th",114),f(8),m(9,"translate"),n()()(),o(10,"tbody"),c1(11,rW3,3,1,"tr",117,z1),n()()()),2&c){const e=h(2);s(),H(_(2,2,"CREATE_PROD_SPEC._resource")),s(7),V(" ",_(9,4,"CREATE_PROD_SPEC._product_name")," "),s(3),a1(e.selectedResourceSpecs)}}function iW3(c,r){if(1&c&&(o(0,"tr",117)(1,"td",118),f(2),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," ")}}function oW3(c,r){if(1&c&&(o(0,"label",160),f(1),m(2,"translate"),n(),o(3,"div",253)(4,"table",112)(5,"thead",113)(6,"tr")(7,"th",114),f(8),m(9,"translate"),n()()(),o(10,"tbody"),c1(11,iW3,3,1,"tr",117,z1),n()()()),2&c){const e=h(2);s(),H(_(2,2,"CREATE_PROD_SPEC._service")),s(7),V(" ",_(9,4,"CREATE_PROD_SPEC._product_name")," "),s(3),a1(e.selectedServiceSpecs)}}function nW3(c,r){if(1&c&&(o(0,"tr",117)(1,"td",118),f(2),n(),o(3,"td",118),f(4),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.url," ")}}function sW3(c,r){if(1&c&&(o(0,"label",160),f(1),m(2,"translate"),n(),o(3,"div",253)(4,"table",112)(5,"thead",113)(6,"tr")(7,"th",114),f(8),m(9,"translate"),n(),o(10,"th",114),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,nW3,5,2,"tr",117,z1),n()()()),2&c){const e=h(2);s(),H(_(2,3,"CREATE_PROD_SPEC._attachments")),s(7),V(" ",_(9,5,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(12,7,"CREATE_PROD_SPEC._value")," "),s(3),a1(null==e.productSpecToCreate?null:e.productSpecToCreate.attachment)}}function lW3(c,r){if(1&c&&(o(0,"span",254),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function fW3(c,r){if(1&c&&(o(0,"span",255),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function dW3(c,r){if(1&c&&(o(0,"span",256),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function uW3(c,r){if(1&c&&(o(0,"span",257),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function hW3(c,r){if(1&c&&(o(0,"tr",117)(1,"td",122),f(2),n(),o(3,"td",118),f(4),n(),o(5,"td",119),R(6,lW3,2,1,"span",254)(7,fW3,2,1)(8,dW3,2,1)(9,uW3,2,1),n(),o(10,"td",121),f(11),m(12,"date"),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.relationshipType," "),s(2),V(" ",e.productSpec.name," "),s(2),S(6,"Active"==e.productSpec.lifecycleStatus?6:"Launched"==e.productSpec.lifecycleStatus?7:"Retired"==e.productSpec.lifecycleStatus?8:"Obsolete"==e.productSpec.lifecycleStatus?9:-1),s(5),V(" ",L2(12,4,e.productSpec.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," ")}}function mW3(c,r){if(1&c&&(o(0,"label",160),f(1),m(2,"translate"),n(),o(3,"div",253)(4,"table",112)(5,"thead",113)(6,"tr")(7,"th",114),f(8),m(9,"translate"),n(),o(10,"th",114),f(11),m(12,"translate"),n(),o(13,"th",115),f(14),m(15,"translate"),n(),o(16,"th",116),f(17),m(18,"translate"),n()()(),o(19,"tbody"),c1(20,hW3,13,7,"tr",117,z1),n()()()),2&c){const e=h(2);s(),H(_(2,5,"CREATE_PROD_SPEC._relationships")),s(7),V(" ",_(9,7,"CREATE_PROD_SPEC._relationship_type")," "),s(3),V(" ",_(12,9,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(15,11,"CREATE_PROD_SPEC._type")," "),s(3),V(" ",_(18,13,"CREATE_PROD_SPEC._last_update")," "),s(3),a1(e.prodRelationships)}}function _W3(c,r){if(1&c){const e=j();o(0,"h2",21),f(1),m(2,"translate"),n(),o(3,"div",242)(4,"div",243)(5,"div")(6,"label",160),f(7),m(8,"translate"),n(),o(9,"label",244),f(10),n(),o(11,"label",52),f(12),m(13,"translate"),n(),o(14,"label",244),f(15),n()(),o(16,"div")(17,"label",160),f(18),m(19,"translate"),n(),o(20,"label",244),f(21),n(),R(22,Eq3,5,4),n()(),o(23,"div",245)(24,"label",246),f(25),m(26,"translate"),n(),R(27,Aq3,2,1,"span",247)(28,Pq3,2,1)(29,Rq3,2,1)(30,Bq3,2,1),n(),R(31,Oq3,5,4)(32,Iq3,5,4)(33,qq3,16,9)(34,aW3,19,12)(35,tW3,13,6)(36,oW3,13,6)(37,sW3,16,9)(38,mW3,22,15),o(39,"div",150)(40,"button",151),C("click",function(){return y(e),b(h().createProduct())}),f(41),m(42,"translate"),w(),o(43,"svg",93),v(44,"path",94),n()()()()}if(2&c){const e=h();s(),H(_(2,19,"CREATE_PROD_SPEC._finish")),s(6),H(_(8,21,"CREATE_PROD_SPEC._product_name")),s(3),V(" ",null==e.productSpecToCreate?null:e.productSpecToCreate.name," "),s(2),H(_(13,23,"CREATE_PROD_SPEC._product_version")),s(3),V(" ",null==e.productSpecToCreate?null:e.productSpecToCreate.version," "),s(3),H(_(19,25,"CREATE_PROD_SPEC._product_brand")),s(3),V(" ",null==e.productSpecToCreate?null:e.productSpecToCreate.brand," "),s(),S(22,""!=(null==e.productSpecToCreate?null:e.productSpecToCreate.productNumber)?22:-1),s(3),H(_(26,27,"CREATE_PROD_SPEC._status")),s(2),S(27,"Active"==(null==e.productSpecToCreate?null:e.productSpecToCreate.lifecycleStatus)?27:"Launched"==(null==e.productSpecToCreate?null:e.productSpecToCreate.lifecycleStatus)?28:"Retired"==(null==e.productSpecToCreate?null:e.productSpecToCreate.lifecycleStatus)?29:"Obsolete"==(null==e.productSpecToCreate?null:e.productSpecToCreate.lifecycleStatus)?30:-1),s(4),S(31,""!=(null==e.productSpecToCreate?null:e.productSpecToCreate.description)?31:-1),s(),S(32,""!=e.imgPreview?32:-1),s(),S(33,e.prodSpecsBundle.length>0?33:-1),s(),S(34,e.prodChars.length>0?34:-1),s(),S(35,e.selectedResourceSpecs.length>0?35:-1),s(),S(36,e.selectedServiceSpecs.length>0?36:-1),s(),S(37,e.prodAttachments.length>0?37:-1),s(),S(38,e.prodRelationships.length>0?38:-1),s(3),V(" ",_(42,29,"CREATE_PROD_SPEC._create_prod")," ")}}function pW3(c,r){if(1&c){const e=j();w(),o(0,"svg",214),v(1,"path",215),n(),O(),o(2,"p",268),f(3,"Drop files to attatch or "),o(4,"button",218),C("click",function(){return b((0,y(e).openFileSelector)())}),f(5,"select a file."),n()()}}function gW3(c,r){if(1&c){const e=j();o(0,"div",47)(1,"div",258),C("click",function(t){return y(e),b(t.stopPropagation())}),o(2,"div",259)(3,"button",260),C("click",function(t){return y(e),h().showUploadFile=!1,b(t.stopPropagation())}),w(),o(4,"svg",261),v(5,"path",262),n(),O(),o(6,"span",66),f(7,"Close modal"),n()(),o(8,"ngx-file-drop",263),C("onFileDrop",function(t){y(e);const i=h();return b(i.dropped(t,i.selectedISO))})("onFileOver",function(t){return y(e),b(h().fileOver(t))})("onFileLeave",function(t){return y(e),b(h().fileLeave(t))}),R(9,pW3,6,0,"ng-template",264),n(),o(10,"div",265)(11,"button",266),C("click",function(t){return y(e),h().showUploadFile=!1,b(t.stopPropagation())}),f(12," Cancel "),n(),o(13,"button",267),C("click",function(){return y(e),b(h().uploadFile())}),f(14," Upload "),n()()()()()}2&c&&k("ngClass",h().showUploadFile?"backdrop-blur-sm":"")}function vW3(c,r){1&c&&v(0,"error-message",48),2&c&&k("message",h().errorMessage)}let HW3=(()=>{class c{constructor(e,a,t,i,l,d,u,p,z,x,E){this.router=e,this.api=a,this.prodSpecService=t,this.cdr=i,this.localStorage=l,this.eventMessage=d,this.elementRef=u,this.attachmentService=p,this.servSpecService=z,this.resSpecService=x,this.paginationService=E,this.PROD_SPEC_LIMIT=_1.PROD_SPEC_LIMIT,this.SERV_SPEC_LIMIT=_1.SERV_SPEC_LIMIT,this.RES_SPEC_LIMIT=_1.RES_SPEC_LIMIT,this.showGeneral=!0,this.showBundle=!1,this.showCompliance=!1,this.showChars=!1,this.showResource=!1,this.showService=!1,this.showAttach=!1,this.showRelationships=!1,this.showSummary=!1,this.generalDone=!1,this.bundleDone=!1,this.complianceDone=!1,this.charsDone=!1,this.resourceDone=!1,this.serviceDone=!1,this.attachDone=!1,this.relationshipDone=!1,this.finishDone=!1,this.stepsElements=["general-info","bundle","compliance","chars","resource","service","attach","relationships","summary"],this.stepsCircles=["general-circle","bundle-circle","compliance-circle","chars-circle","resource-circle","service-circle","attach-circle","relationships-circle","summary-circle"],this.showPreview=!1,this.showEmoji=!1,this.description="",this.partyId="",this.generalForm=new S2({name:new u1("",[O1.required]),brand:new u1("",[O1.required]),version:new u1("0.1",[O1.required,O1.pattern("^-?[0-9]\\d*(\\.\\d*)?$")]),number:new u1(""),description:new u1("")}),this.charsForm=new S2({name:new u1("",[O1.required]),description:new u1("")}),this.stringCharSelected=!0,this.numberCharSelected=!1,this.rangeCharSelected=!1,this.prodChars=[],this.finishChars=[],this.creatingChars=[],this.showCreateChar=!1,this.bundleChecked=!1,this.bundlePage=0,this.bundlePageCheck=!1,this.loadingBundle=!1,this.loadingBundle_more=!1,this.prodSpecs=[],this.nextProdSpecs=[],this.prodSpecsBundle=[],this.buttonISOClicked=!1,this.availableISOS=[],this.selectedISOS=[],this.showUploadFile=!1,this.disableCompNext=!0,this.serviceSpecPage=0,this.serviceSpecPageCheck=!1,this.loadingServiceSpec=!1,this.loadingServiceSpec_more=!1,this.serviceSpecs=[],this.nextServiceSpecs=[],this.selectedServiceSpecs=[],this.resourceSpecPage=0,this.resourceSpecPageCheck=!1,this.loadingResourceSpec=!1,this.loadingResourceSpec_more=!1,this.resourceSpecs=[],this.nextResourceSpecs=[],this.selectedResourceSpecs=[],this.prodRelationships=[],this.showCreateRel=!1,this.prodSpecRelPage=0,this.prodSpecRelPageCheck=!1,this.loadingprodSpecRel=!1,this.loadingprodSpecRel_more=!1,this.prodSpecRels=[],this.nextProdSpecRels=[],this.selectedProdSpec={id:""},this.selectedRelType="migration",this.showImgPreview=!1,this.showNewAtt=!1,this.imgPreview="",this.prodAttachments=[],this.attachToCreate={url:"",attachmentType:""},this.attFileName=new u1("",[O1.required,O1.pattern("[a-zA-Z0-9 _.-]*")]),this.attImageName=new u1("",[O1.required,O1.pattern("^https?:\\/\\/.*\\.(?:png|jpg|jpeg|gif|bmp|webp)$")]),this.errorMessage="",this.showError=!1,this.files=[];for(let P=0;P{"ChangedSession"===P.type&&this.initPartyInfo()})}onClick(){1==this.showEmoji&&(this.showEmoji=!1,this.cdr.detectChanges()),1==this.showUploadFile&&(this.showUploadFile=!1,this.cdr.detectChanges())}ngOnInit(){this.initPartyInfo()}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0)if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}}goBack(){this.eventMessage.emitSellerProductSpec(!0)}togglePreview(){this.generalForm.value.description&&(this.description=this.generalForm.value.description)}toggleGeneral(){this.selectStep("general-info","general-circle"),this.showBundle=!1,this.showGeneral=!0,this.showCompliance=!1,this.showChars=!1,this.showResource=!1,this.showService=!1,this.showAttach=!1,this.showRelationships=!1,this.showSummary=!1,this.showPreview=!1}toggleBundle(){this.selectStep("bundle","bundle-circle"),this.showBundle=!0,this.showGeneral=!1,this.showCompliance=!1,this.showChars=!1,this.showResource=!1,this.showService=!1,this.showAttach=!1,this.showRelationships=!1,this.showSummary=!1,this.showPreview=!1}toggleBundleCheck(){this.prodSpecs=[],this.bundlePage=0,this.bundleChecked=!this.bundleChecked,1==this.bundleChecked?(this.loadingBundle=!0,this.getProdSpecs(!1)):this.prodSpecsBundle=[]}getProdSpecs(e){var a=this;return M(function*(){0==e&&(a.loadingBundle=!0),a.paginationService.getItemsPaginated(a.bundlePage,a.PROD_SPEC_LIMIT,e,a.prodSpecs,a.nextProdSpecs,{filters:["Active","Launched"],partyId:a.partyId},a.prodSpecService.getProdSpecByUser.bind(a.prodSpecService)).then(i=>{a.bundlePageCheck=i.page_check,a.prodSpecs=i.items,a.nextProdSpecs=i.nextItems,a.bundlePage=i.page,a.loadingBundle=!1,a.loadingBundle_more=!1})})()}nextBundle(){var e=this;return M(function*(){yield e.getProdSpecs(!0)})()}addProdToBundle(e){const a=this.prodSpecsBundle.findIndex(t=>t.id===e.id);-1!==a?(console.log("eliminar"),this.prodSpecsBundle.splice(a,1)):(console.log("a\xf1adir"),this.prodSpecsBundle.push({id:e.id,href:e.href,lifecycleStatus:e.lifecycleStatus,name:e.name})),this.cdr.detectChanges(),console.log(this.prodSpecsBundle)}isProdInBundle(e){return-1!==this.prodSpecsBundle.findIndex(t=>t.id===e.id)}toggleCompliance(){this.selectStep("compliance","compliance-circle"),this.showBundle=!1,this.showGeneral=!1,this.showCompliance=!0,this.showChars=!1,this.showResource=!1,this.showService=!1,this.showAttach=!1,this.showRelationships=!1,this.showSummary=!1,this.showPreview=!1}addISO(e){const a=this.availableISOS.findIndex(t=>t.name===e.name);-1!==a&&(console.log("seleccionar"),this.availableISOS.splice(a,1),this.selectedISOS.push({name:e.name,url:"",mandatory:e.mandatory,domesupported:e.domesupported})),this.buttonISOClicked=!this.buttonISOClicked,this.cdr.detectChanges(),console.log(this.availableISOS),console.log(this.selectedISOS)}removeISO(e){const a=this.selectedISOS.findIndex(t=>t.name===e.name);-1!==a&&(console.log("seleccionar"),this.selectedISOS.splice(a,1),this.availableISOS.push({name:e.name,mandatory:e.mandatory,domesupported:e.domesupported})),this.cdr.detectChanges(),console.log(this.prodSpecsBundle)}checkValidISOS(){return!!this.selectedISOS.find(a=>""===a.url)}dropped(e,a){this.files=e;for(const t of e)t.fileEntry.isFile?t.fileEntry.file(l=>{if(console.log("dropped"),l){const d=new FileReader;d.onload=u=>{const p=u.target.result.split(",")[1];console.log("BASE 64...."),console.log(p);let z="";null!=this.generalForm.value.name&&(z=this.generalForm.value.name.replaceAll(/\s/g,"")+"_");let x={content:{name:z+l.name,data:p},contentType:l.type,isPublic:!0};if(this.showCompliance){const E=this.selectedISOS.findIndex(P=>P.name===a.name);this.attachmentService.uploadFile(x).subscribe({next:P=>{console.log(P),this.selectedISOS[E].url=P.content,this.showUploadFile=!1,this.cdr.detectChanges(),console.log("uploaded")},error:P=>{console.error("There was an error while uploading the file!",P),P.error.error?(console.log(P),this.errorMessage="Error: "+P.error.error):this.errorMessage="There was an error while uploading the file!",413===P.status&&(this.errorMessage="File size too large! Must be under 3MB."),this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}this.showAttach&&(console.log(l),this.attachmentService.uploadFile(x).subscribe({next:E=>{console.log(E),"img"==a?l.type.startsWith("image")?(this.showImgPreview=!0,this.imgPreview=E.content,this.prodAttachments.push({name:"Profile Picture",url:this.imgPreview,attachmentType:l.type})):(this.errorMessage="File must have a valid image format!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)):this.attachToCreate={url:E.content,attachmentType:l.type},this.cdr.detectChanges(),console.log("uploaded")},error:E=>{console.error("There was an error while uploading!",E),E.error.error?(console.log(E),this.errorMessage="Error: "+E.error.error):this.errorMessage="There was an error while uploading the file!",413===E.status&&(this.errorMessage="File size too large! Must be under 3MB."),this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}}))},d.readAsDataURL(l)}}):console.log(t.relativePath,t.fileEntry)}fileOver(e){console.log(e)}fileLeave(e){console.log("leave"),console.log(e)}toggleUploadFile(e){this.showUploadFile=!0,this.selectedISO=e}uploadFile(){console.log("uploading...")}toggleChars(){this.selectStep("chars","chars-circle"),this.showBundle=!1,this.showGeneral=!1,this.showCompliance=!1,this.showChars=!0,this.showResource=!1,this.showService=!1,this.showAttach=!1,this.showRelationships=!1,this.showSummary=!1,this.showCreateChar=!1,this.stringCharSelected=!0,this.numberCharSelected=!1,this.rangeCharSelected=!1,this.showPreview=!1}toggleResource(){this.loadingResourceSpec=!0,this.resourceSpecs=[],this.resourceSpecPage=0,this.getResSpecs(!1),this.selectStep("resource","resource-circle"),this.showBundle=!1,this.showGeneral=!1,this.showCompliance=!1,this.showChars=!1,this.showResource=!0,this.showService=!1,this.showAttach=!1,this.showRelationships=!1,this.showSummary=!1,this.showPreview=!1}getResSpecs(e){var a=this;return M(function*(){0==e&&(a.loadingResourceSpec=!0),a.paginationService.getItemsPaginated(a.resourceSpecPage,a.RES_SPEC_LIMIT,e,a.resourceSpecs,a.nextResourceSpecs,{filters:["Active","Launched"],partyId:a.partyId},a.resSpecService.getResourceSpecByUser.bind(a.resSpecService)).then(i=>{a.resourceSpecPageCheck=i.page_check,a.resourceSpecs=i.items,a.nextResourceSpecs=i.nextItems,a.resourceSpecPage=i.page,a.loadingResourceSpec=!1,a.loadingResourceSpec_more=!1})})()}nextRes(){var e=this;return M(function*(){yield e.getResSpecs(!0)})()}addResToSelected(e){const a=this.selectedResourceSpecs.findIndex(t=>t.id===e.id);-1!==a?(console.log("eliminar"),this.selectedResourceSpecs.splice(a,1)):(console.log("a\xf1adir"),this.selectedResourceSpecs.push({id:e.id,href:e.href,name:e.name})),this.cdr.detectChanges(),console.log(this.selectedResourceSpecs)}isResSelected(e){return-1!==this.selectedResourceSpecs.findIndex(t=>t.id===e.id)}toggleService(){this.loadingServiceSpec=!0,this.serviceSpecs=[],this.serviceSpecPage=0,this.getServSpecs(!1),this.selectStep("service","service-circle"),this.showBundle=!1,this.showGeneral=!1,this.showCompliance=!1,this.showChars=!1,this.showResource=!1,this.showService=!0,this.showAttach=!1,this.showRelationships=!1,this.showSummary=!1,this.showPreview=!1}getServSpecs(e){var a=this;return M(function*(){0==e&&(a.loadingServiceSpec=!0),a.paginationService.getItemsPaginated(a.serviceSpecPage,a.SERV_SPEC_LIMIT,e,a.serviceSpecs,a.nextServiceSpecs,{filters:["Active","Launched"],partyId:a.partyId},a.servSpecService.getServiceSpecByUser.bind(a.servSpecService)).then(i=>{a.serviceSpecPageCheck=i.page_check,a.serviceSpecs=i.items,a.nextServiceSpecs=i.nextItems,a.serviceSpecPage=i.page,a.loadingServiceSpec=!1,a.loadingServiceSpec_more=!1})})()}nextServ(){var e=this;return M(function*(){yield e.getServSpecs(!0)})()}addServToSelected(e){const a=this.selectedServiceSpecs.findIndex(t=>t.id===e.id);-1!==a?(console.log("eliminar"),this.selectedServiceSpecs.splice(a,1)):(console.log("a\xf1adir"),this.selectedServiceSpecs.push({id:e.id,href:e.href,name:e.name})),this.cdr.detectChanges(),console.log(this.selectedServiceSpecs)}isServSelected(e){return-1!==this.selectedServiceSpecs.findIndex(t=>t.id===e.id)}toggleAttach(){this.selectStep("attach","attach-circle"),this.showBundle=!1,this.showGeneral=!1,this.showCompliance=!1,this.showChars=!1,this.showResource=!1,this.showService=!1,this.showAttach=!0,this.showRelationships=!1,this.showSummary=!1,this.showPreview=!1,setTimeout(()=>{S1()},100)}removeImg(){this.showImgPreview=!1;const e=this.prodAttachments.findIndex(a=>a.url===this.imgPreview);-1!==e&&(console.log("eliminar"),this.prodAttachments.splice(e,1)),this.imgPreview="",this.cdr.detectChanges()}saveImgFromURL(){this.showImgPreview=!0,this.imgPreview=this.imgURL.nativeElement.value,this.prodAttachments.push({name:"Profile Picture",url:this.imgPreview,attachmentType:"Picture"}),this.attImageName.reset(),this.cdr.detectChanges()}removeAtt(e){const a=this.prodAttachments.findIndex(t=>t.url===e.url);-1!==a&&(console.log("eliminar"),"Profile Picture"==this.prodAttachments[a].name&&(this.showImgPreview=!1,this.imgPreview="",this.cdr.detectChanges()),this.prodAttachments.splice(a,1)),this.cdr.detectChanges()}saveAtt(){console.log("saving"),this.prodAttachments.push({name:this.attachName.nativeElement.value,url:this.attachToCreate.url,attachmentType:this.attachToCreate.attachmentType}),this.attachName.nativeElement.value="",this.attachToCreate={url:"",attachmentType:""},this.showNewAtt=!1,this.attFileName.reset()}clearAtt(){this.attachToCreate={url:"",attachmentType:""}}toggleRelationship(){this.prodSpecRels=[],this.prodSpecRelPage=0,this.showCreateRel=!1,this.loadingprodSpecRel=!0,this.getProdSpecsRel(!1),this.selectStep("relationships","relationships-circle"),this.showBundle=!1,this.showGeneral=!1,this.showCompliance=!1,this.showChars=!1,this.showResource=!1,this.showService=!1,this.showAttach=!1,this.showRelationships=!0,this.showSummary=!1,this.showPreview=!1}getProdSpecsRel(e){var a=this;return M(function*(){0==e&&(a.loadingprodSpecRel=!0),a.paginationService.getItemsPaginated(a.prodSpecRelPage,a.PROD_SPEC_LIMIT,e,a.prodSpecRels,a.nextProdSpecRels,{filters:["Active","Launched"],partyId:a.partyId},a.prodSpecService.getProdSpecByUser.bind(a.prodSpecService)).then(i=>{a.prodSpecRelPageCheck=i.page_check,a.prodSpecRels=i.items,a.nextProdSpecRels=i.nextItems,a.prodSpecRelPage=i.page,a.loadingprodSpecRel=!1,a.loadingprodSpecRel_more=!1})})()}selectRelationship(e){this.selectedProdSpec=e}nextProdSpecsRel(){var e=this;return M(function*(){yield e.getProdSpecsRel(!0)})()}onRelChange(e){console.log("relation type changed"),this.selectedRelType=e.target.value}saveRel(){this.showCreateRel=!1,this.prodRelationships.push({id:this.selectedProdSpec.id,href:this.selectedProdSpec.href,relationshipType:this.selectedRelType,productSpec:this.selectedProdSpec}),this.selectedRelType="migration",console.log(this.prodRelationships)}deleteRel(e){const a=this.prodRelationships.findIndex(t=>t.id===e.id);-1!==a&&(console.log("eliminar"),this.prodRelationships.splice(a,1)),this.cdr.detectChanges()}removeClass(e,a){e.className=(" "+e.className+" ").replace(" "+a+" "," ").replace(/^\s+|\s+$/g,"")}addClass(e,a){e.className+=" "+a}unselectMenu(e,a){null!=e&&(e.className.match(a)?this.removeClass(e,a):console.log("already unselected"))}selectMenu(e,a){null!=e&&(e.className.match(a)?console.log("already selected"):this.addClass(e,a))}selectStep(e,a){const t=this.stepsElements.findIndex(l=>l===e);if(-1!==t){this.stepsElements.splice(t,1),this.selectMenu(document.getElementById(e),"text-primary-100 dark:text-primary-50"),this.unselectMenu(document.getElementById(e),"text-gray-500");for(let l=0;ll===a);if(-1!==t){this.stepsCircles.splice(i,1),this.selectMenu(document.getElementById(a),"border-primary-100 dark:border-primary-50"),this.unselectMenu(document.getElementById(a),"border-gray-400");for(let l=0;lt.id===e.id);-1!==a&&(console.log("eliminar"),this.prodChars.splice(a,1)),this.cdr.detectChanges(),console.log(this.prodChars)}checkInput(e){return 0===e.trim().length}showFinish(){this.relationshipDone=!0,this.finishDone=!0;for(let a=0;ai.name===this.prodChars[a].name)&&this.finishChars.push(this.prodChars[a]);for(let a=0;ai.name===this.selectedISOS[a].name)&&this.finishChars.push({id:"urn:ngsi-ld:characteristic:"+B4(),name:this.selectedISOS[a].name,productSpecCharacteristicValue:[{isDefault:!0,value:this.selectedISOS[a].url}]});let e=[];for(let a=0;a{this.goBack()},error:e=>{console.error("There was an error while creating!",e),e.error.error?(console.log(e),this.errorMessage="Error: "+e.error.error):this.errorMessage="There was an error while creating the product!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}addBold(){this.generalForm.patchValue({description:this.generalForm.value.description+" **bold text** "})}addItalic(){this.generalForm.patchValue({description:this.generalForm.value.description+" _italicized text_ "})}addList(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n- First item\n- Second item"})}addOrderedList(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n1. First item\n2. Second item"})}addCode(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n`code`"})}addCodeBlock(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n```\ncode\n```"})}addBlockquote(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n> blockquote"})}addLink(){this.generalForm.patchValue({description:this.generalForm.value.description+" [title](https://www.example.com) "})}addTable(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"})}addEmoji(e){console.log(e),this.showEmoji=!1,this.generalForm.patchValue({description:this.generalForm.value.description+e.emoji.native})}static#e=this.\u0275fac=function(a){return new(a||c)(B(Z1),B(p1),B(z4),B(B1),B(R1),B(e2),B(v2),B(Q0),B(D4),B(h4),B(M3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["create-product-spec"]],viewQuery:function(a,t){if(1&a&&(b1(wY3,5),b1(FY3,5),b1(kY3,5),b1(SY3,5),b1(NY3,5),b1(DY3,5),b1(TY3,5),b1(EY3,5)),2&a){let i;M1(i=L1())&&(t.charStringValue=i.first),M1(i=L1())&&(t.charNumberValue=i.first),M1(i=L1())&&(t.charNumberUnit=i.first),M1(i=L1())&&(t.charFromValue=i.first),M1(i=L1())&&(t.charToValue=i.first),M1(i=L1())&&(t.charRangeUnit=i.first),M1(i=L1())&&(t.attachName=i.first),M1(i=L1())&&(t.imgURL=i.first)}},hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},decls:137,vars:86,consts:[["stringValue",""],["numberValue",""],["numberUnit",""],["fromValue",""],["toValue",""],["rangeUnit",""],["imgURL",""],["attachName",""],[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-gray-200","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800","dark:text-white"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","mt-4","p-8","rounded-lg"],[1,"text-3xl","font-bold","text-primary-100","ml-4","dark:text-white"],[1,"h-px","m-4","bg-gray-300","dark:bg-gray-200","border-0"],[1,"md:grid","md:grid-cols-25/75","xl:grid-cols-20/80"],[1,"flex","sm:flex-row","md:flex-col","md:mr-4","overflow-x-auto","max-w-[calc(100vw-5rem)]"],[1,"hidden","md:block","text-xl","font-bold","text-black","mb-4","dark:text-white"],["id","general-info",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-primary-100","dark:text-primary-50","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","general-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-primary-100","dark:border-primary-50","rounded-full","shrink-0"],[1,"flex","leading-tight","justify-start"],[1,"hidden","xl:flex","text-xs","justify-start"],[1,"h-px","mb-2","bg-gray-300","dark:bg-gray-200","border-0"],["id","bundle",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","bundle-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","compliance",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","compliance-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","chars",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","chars-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","resource",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","resource-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","service",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","service-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","attach",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","attach-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","relationships",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","relationships-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","summary",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","summary-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","upload-file-modal","tabindex","-1","aria-hidden","true",1,"flex","overflow-y-auto","overflow-x-hidden","fixed","top-0","right-0","left-0","z-40","justify-center","items-center","w-full","md:inset-0","h-modal","md:h-full","shadow-2xl",3,"ngClass"],[1,"fixed","w-fit","top-1/2","left-1/2","z-50",3,"message"],[1,"m-4","md:grid","md:grid-cols-2","gap-4",3,"formGroup"],["for","prod-name",1,"font-bold","text-lg","dark:text-white"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["for","prod-version",1,"font-bold","text-lg","dark:text-white"],["formControlName","version","type","text","id","prod-version",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["for","prod-brand",1,"font-bold","text-lg","dark:text-white"],["formControlName","brand","type","text","id","prod-brand",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["for","prod-number",1,"font-bold","text-lg","dark:text-white"],["formControlName","number","type","text","id","prod-number",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["for","prod-name",1,"font-bold","text-lg","col-span-2","dark:text-white"],[1,"w-full","col-span-2","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200"],[1,"flex","items-center","justify-between","px-3","py-2","border-b"],[1,"flex","flex-wrap","items-center","divide-gray-200","dark:divide-secondary-200","sm:divide-x","sm:rtl:divide-x-reverse"],[1,"flex","items-center","space-x-1","rtl:space-x-reverse","sm:pe-4","text-gray-500","dark:text-gray-200"],["type","button",1,"p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 5h4.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0-7H6m2 7h6.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0 0H6"],[1,"sr-only"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8.874 19 6.143-14M6 19h6.33m-.66-14H18"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M9 8h10M9 12h10M9 16h10M4.99 8H5m-.02 4h.01m0 4H5"],["type","button",1,"hidden","lg:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4"],["type","button",1,"hidden","md:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["fill-rule","evenodd","d","M5 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm0 12a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm1.65-9.76A1 1 0 0 0 5 9v6a1 1 0 0 0 1.65.76l3.5-3a1 1 0 0 0 0-1.52l-3.5-3ZM12 10a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Zm0 4a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Z","clip-rule","evenodd"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-width","2","d","M3 11h18m-9 0v8m-8 0h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 3v4a1 1 0 0 1-1 1H5m5 4-2 2 2 2m4-4 2 2-2 2m5-12v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M13.213 9.787a3.391 3.391 0 0 0-4.795 0l-3.425 3.426a3.39 3.39 0 0 0 4.795 4.794l.321-.304m-.321-4.49a3.39 3.39 0 0 0 4.795 0l3.424-3.426a3.39 3.39 0 0 0-4.794-4.795l-1.028.961"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-4","h-4"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM13.5 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm-7 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm3.5 9.5A5.5 5.5 0 0 1 4.6 11h10.81A5.5 5.5 0 0 1 10 15.5Z"],["type","button","data-tooltip-target","tooltip-fullscreen",1,"rounded","cursor-pointer","text-gray-500","dark:text-gray-200","p-2","sm:ms-auto","hover:text-gray-900","dark:hover:text-gray-900","hover:bg-gray-100",3,"click"],["stroke","currentColor","stroke-width","2","d","M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z"],["stroke","currentColor","stroke-width","2","d","M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"],["id","tooltip-fullscreen","role","tooltip",1,"absolute","z-10","invisible","inline-block","px-3","py-2","text-sm","font-medium","text-white","transition-opacity","duration-300","bg-gray-900","rounded-lg","shadow-sm","opacity-0","tooltip"],["data-popper-arrow","",1,"tooltip-arrow"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","rounded-b-lg"],["for","editor",1,"sr-only"],[1,"bg-gray-50","dark:bg-secondary-300","dark:text-white","text-gray-900","text-wrap","break-all",3,"data"],[3,"darkMode","style"],[1,"flex","w-full","justify-items-end","justify-end"],["type","button",1,"flex","text-white","justify-end","align-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],["id","editor","formControlName","description","rows","8","placeholder","Add product description...",1,"block","w-full","px-0","text-sm","text-gray-800","dark:text-gray-200","bg-white","dark:bg-secondary-300","border-0"],[3,"click","emojiClick","darkMode"],[1,"col-span-2","flex","align-items-middle","h-fit","m-4"],[1,"inline-flex","items-center","me-5","cursor-pointer","ml-4"],["type","checkbox",1,"sr-only","peer",3,"change","checked"],[1,"relative","w-11","h-6","bg-gray-400","dark:bg-gray-700","rounded-full","peer","peer-focus:ring-4","peer-focus:ring-primary-100","peer-checked:after:translate-x-full","rtl:peer-checked:after:-translate-x-full","peer-checked:after:border-white","after:content-['']","after:absolute","after:top-0.5","after:start-[2px]","after:bg-white","after:border-gray-300","after:border","after:rounded-full","after:h-5","after:w-5","after:transition-all","peer-checked:bg-primary-100"],[1,"flex","w-full","justify-items-end","justify-end","ml-4"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["role","status",1,"w-full","h-fit","flex","justify-center","align-middle"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"flex","justify-center","w-full","m-4"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","m-4"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"hidden","md:table-cell","px-6","py-3"],["scope","col",1,"hidden","lg:table-cell","px-6","py-3"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"px-6","py-4","text-wrap","break-all"],[1,"hidden","md:table-cell","px-6","py-4"],[1,"bg-blue-100","dark:bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"hidden","lg:table-cell","px-6","py-4"],[1,"px-6","py-4"],["id","select-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded","focus:ring-blue-500","dark:focus:ring-blue-600","dark:ring-offset-gray-800","focus:ring-2","dark:bg-gray-700","dark:border-gray-600",3,"click","checked"],[1,"bg-blue-100","dark:bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"flex","pt-6","pb-2","justify-center","align-middle"],[1,"flex","cursor-pointer","shadow-lg","items-center","justify-center","px-3","h-8","text-sm","font-medium","text-gray-500","dark:text-white","bg-white","dark:bg-primary-100","dark:hover:bg-secondary-100","border","border-gray-300","dark:border-secondary-200","rounded-lg","hover:bg-gray-200",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle","mt-2"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300","m-4"],[1,"flex","justify-center","w-full","m-4","dark:bg-secondary-300"],["id","dropdownButtonISO","data-dropdown-toggle","dropdownISO","type","button",1,"text-white","w-full","m-4","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center","justify-between",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 10 6",1,"w-2.5","h-2.5","ms-3"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 4 4 4-4"],["id","dropdownISO",1,"z-10","w-full","ml-4","mr-4","bg-secondary-50","dark:bg-secondary-300","divide-y","divide-gray-100","rounded-lg","shadow"],["aria-labelledby","dropdownButtonISO",1,"p-3","space-y-3","text-sm","text-gray-700"],[1,"flex","items-center","justify-between"],["for","checkbox-item-1",1,"ms-2","text-sm",3,"ngClass"],["type","button",1,"text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","18","height","18","fill","none","viewBox","0 0 24 24",1,"w-4","h-4","text-white"],[1,"px-6","py-4","inline-flex"],["type","button",1,"text-white","file-select-button","mr-4","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4","text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 5v9m-5 0H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2M8 9l4-5 4 5m1 8h.01"],["type","button",1,"text-white","bg-red-600","hover:bg-red-700","focus:ring-4","focus:outline-none","focus:ring-red-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center",3,"click"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M6 18 17.94 6M18 18 6.06 6"],[1,"flex","w-full","justify-items-center","justify-center"],[1,"flex","w-full","justify-items-end","justify-end","ml-4","mt-4"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],[1,"px-6","py-4","max-w-1/6","text-wrap","break-all"],[1,"hidden","lg:table-cell","px-6","py-4","text-wrap","break-all"],[1,"font-bold","text-white","bg-red-500","rounded-3xl",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4","text-white"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],[1,"m-4","grid","grid-cols-2","gap-4",3,"formGroup"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"font-bold","text-lg","dark:text-white"],["id","type",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],["selected","","value","string"],["value","number"],["value","range"],[1,"col-span-2"],["for","description",1,"font-bold","text-lg","dark:text-white"],["id","description","formControlName","description","rows","4",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"m-4"],["for","values",1,"font-bold","text-lg","dark:text-white"],[1,"flex","flex-row","items-center","align-items-middle"],[1,"flex","w-full","justify-items-center","justify-center","mt-4"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M11 16h2m6.707-9.293-2.414-2.414A1 1 0 0 0 16.586 4H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7.414a1 1 0 0 0-.293-.707ZM16 20v-6a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v6h8ZM9 4h6v3a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V4Z"],[1,"flex","flex-col","items-start","pl-4","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","border","border-gray-300","mb-2"],[1,"flex","w-full","justify-between"],[1,"align-items-middle","align-middle"],["id","disabled-checked-checkbox","type","checkbox","value","",1,"align-middle","w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded-full","focus:ring-blue-500","focus:ring-2",3,"click","checked"],["for","disabled-checked-checkbox",1,"ms-2","align-middle","text-sm","font-medium","text-gray-700","dark:text-white","text-wrap","break-all"],[1,"m-2","text-white","bg-red-500","rounded-3xl",3,"click"],["id","disabled-checked-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded-full","focus:ring-blue-500","focus:ring-2",3,"click","checked"],["for","disabled-checked-checkbox",1,"ms-2","text-sm","font-medium","text-gray-700","dark:text-white","text-wrap","break-all"],["type","text","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["type","button",1,"text-white","w-fit","h-full","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-white"],[1,"flex","flex-col","md:flex-row","items-center","align-items-middle"],[1,"flex","w-full","mb-2","md:mb-0"],[1,"inline-flex","items-center","px-3","text-sm","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","bg-gray-200","border","rounded-e-0","border-gray-300","border-e-0","rounded-s-md"],["type","number","pattern","[0-9]*","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["type","text","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"inline-flex"],[1,"ml-4","flex"],["data-popover-target","popover-default","clip-rule","evenodd","aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"flex","self-center","w-6","h-6","text-primary-100"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"],["data-popover","","id","popover-default","role","tooltip",1,"absolute","z-10","invisible","inline-block","w-64","text-sm","text-gray-500","transition-opacity","duration-300","bg-white","border","border-gray-200","rounded-lg","shadow-sm","opacity-0","dark:text-gray-400","dark:border-gray-600","dark:bg-gray-800"],[1,"px-3","py-2","bg-gray-100","border-b","border-gray-200","rounded-t-lg","dark:border-gray-600","dark:bg-gray-700"],[1,"font-semibold","text-gray-900","dark:text-white"],[1,"px-3","py-2","inline-block"],[1,"inline-block"],["data-popper-arrow",""],[1,"text-lg","font-bold","ml-4","dark:text-white"],[1,"relative","isolate","flex","flex-col","justify-end","overflow-hidden","rounded-2xl","px-8","pb-8","pt-40","max-w-sm","mx-auto","m-4","shadow-lg"],[1,"flex","justify-center","w-full","ml-6","mt-2","mb-2","mr-4"],[1,"absolute","inset-0","h-full","w-full","object-cover",3,"src"],[1,"z-10","absolute","top-2","right-2","p-1","font-bold","text-white","bg-red-500","rounded-3xl",3,"click"],[1,"flex","w-full","justify-center","justify-items-center"],["dropZoneLabel","Drop files here",1,"m-4","p-4","w-full",3,"onFileDrop","onFileOver","onFileLeave"],["ngx-file-drop-content-tmp","",1,"w-full"],[1,"font-bold","ml-6","dark:text-white"],[1,"flex","items-center","h-fit","ml-6","mt-2","mb-2","w-full","justify-between"],["type","text","id","att-name",1,"w-full","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","p-2.5",3,"formControl"],[1,"text-white","bg-primary-100","rounded-3xl","p-1","ml-2","h-fit",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 11.917 9.724 16.5 19 7.5"],[1,"w-full","flex","flex-col","justify-items-center","justify-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-12","h-12","text-primary-100","mx-auto"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M15 17h3a3 3 0 0 0 0-6h-.025a5.56 5.56 0 0 0 .025-.5A5.5 5.5 0 0 0 7.207 9.021C7.137 9.017 7.071 9 7 9a4 4 0 1 0 0 8h2.167M12 19v-9m0 0-2 2m2-2 2 2"],[1,"flex","w-full","justify-center"],[1,"text-gray-500","mr-2","w-fit"],[1,"font-medium","text-blue-600","dark:text-blue-500","hover:underline",3,"click"],[1,"m-4","w-full"],[1,"lg:flex","lg:grid","lg:grid-cols-2","w-full","gap-4","align-items-middle","align-middle","border","border-gray-200","dark:border-secondary-200","rounded-lg","p-4"],[1,"h-fit"],["for","att-name",1,"font-bold","text-lg","dark:text-white"],["type","text","id","att-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"formControl","ngClass"],["dropZoneLabel","Drop files here",1,"p-4","w-full"],["dropZoneLabel","Drop files here",1,"p-4","w-full",3,"onFileDrop","onFileOver","onFileLeave"],["role","alert",1,"relative","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],[1,"text-wrap","break-all"],[1,"flex","justify-center","w-full","mb-4"],[1,"bg-blue-100","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"bg-blue-100","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],["selected","","value","migration"],["value","dependency"],["value","exclusivity"],["value","substitution"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","mt-4"],["scope","col",1,"px-6","py-3","hidden","md:table-cell"],[1,"border-b","hover:bg-gray-200","dark:border-gray-700","dark:hover:bg-secondary-200",3,"ngClass"],[1,"border-b","hover:bg-gray-200","dark:border-gray-700","dark:hover:bg-secondary-200",3,"click","ngClass"],[1,"px-6","py-4","hidden","md:table-cell"],[1,"m-8"],[1,"mb-4","md:grid","md:grid-cols-2","gap-4"],[1,"mb-2","bg-gray-50","text-wrap","break-all","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"mb-4"],[1,"font-bold","text-lg","mr-4","dark:text-white"],[1,"bg-blue-100","dark:bg-secondary-100","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"bg-blue-100","dark:bg-secondary-100","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-100","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-100","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"px-4","py-2","bg-white","rounded-lg","p-4","dark:bg-secondary-300","border","dark:border-secondary-200"],[1,"bg-gray-50","text-wrap","break-all","dark:bg-secondary-300","dark:text-white","text-gray-900",3,"data"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","mb-4"],[1,"bg-blue-100","dark:bg-secondary-200","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"bg-blue-100","dark:bg-secondary-200","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-200","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-200","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"relative","p-4","w-full","max-w-md","h-full","md:h-auto",3,"click"],[1,"relative","p-4","text-center","bg-secondary-50","rounded-lg","shadow","sm:p-5"],["type","button",1,"text-gray-400","absolute","top-2.5","right-2.5","bg-transparent","hover:bg-gray-200","hover:text-gray-900","rounded-lg","text-sm","p-1.5","ml-auto","inline-flex","items-center",3,"click"],["aria-hidden","true","fill","currentColor","viewBox","0 0 20 20","xmlns","http://www.w3.org/2000/svg",1,"w-5","h-5"],["fill-rule","evenodd","d","M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule","evenodd"],["dropZoneLabel","Drop files here",1,"m-4","p-4",3,"onFileDrop","onFileOver","onFileLeave"],["ngx-file-drop-content-tmp",""],[1,"flex","justify-center","items-center","space-x-4"],["type","button",1,"py-2","px-3","text-sm","font-medium","text-gray-500","bg-white","rounded-lg","border","border-gray-200","hover:bg-gray-100","focus:ring-4","focus:outline-none","focus:ring-primary-300","hover:text-gray-900","focus:z-10",3,"click"],["type","submit",1,"py-2","px-3","text-sm","font-medium","text-center","text-white","bg-primary-100","hover:bg-primary-50","rounded-lg","focus:ring-4","focus:outline-none","focus:ring-primary-50",3,"click"],[1,"text-gray-500","mr-4"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",8)(2,"nav",9)(3,"ol",10)(4,"li",11)(5,"button",12),C("click",function(){return t.goBack()}),w(),o(6,"svg",13),v(7,"path",14),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",15)(11,"div",16),w(),o(12,"svg",17),v(13,"path",18),n(),O(),o(14,"span",19),f(15),m(16,"translate"),n()()()()()(),o(17,"div",20)(18,"h2",21),f(19),m(20,"translate"),n(),v(21,"hr",22),o(22,"div",23)(23,"div",24)(24,"h2",25),f(25),m(26,"translate"),n(),o(27,"button",26),C("click",function(){return t.toggleGeneral()}),o(28,"span",27),f(29," 1 "),n(),o(30,"span")(31,"h3",28),f(32),m(33,"translate"),n(),o(34,"p",29),f(35),m(36,"translate"),n()()(),v(37,"hr",30),o(38,"button",31),C("click",function(){return t.toggleBundle()}),o(39,"span",32),f(40," 2 "),n(),o(41,"span")(42,"h3",28),f(43),m(44,"translate"),n(),o(45,"p",29),f(46),m(47,"translate"),n()()(),v(48,"hr",30),o(49,"button",33),C("click",function(){return t.toggleCompliance()}),o(50,"span",34),f(51," 3 "),n(),o(52,"span")(53,"h3",28),f(54),m(55,"translate"),n(),o(56,"p",29),f(57),m(58,"translate"),n()()(),v(59,"hr",30),o(60,"button",35),C("click",function(){return t.toggleChars()}),o(61,"span",36),f(62," 4 "),n(),o(63,"span")(64,"h3",28),f(65),m(66,"translate"),n(),o(67,"p",29),f(68),m(69,"translate"),n()()(),v(70,"hr",30),o(71,"button",37),C("click",function(){return t.toggleResource()}),o(72,"span",38),f(73," 5 "),n(),o(74,"span")(75,"h3",28),f(76),m(77,"translate"),n(),o(78,"p",29),f(79),m(80,"translate"),n()()(),v(81,"hr",30),o(82,"button",39),C("click",function(){return t.toggleService()}),o(83,"span",40),f(84," 6 "),n(),o(85,"span")(86,"h3",28),f(87),m(88,"translate"),n(),o(89,"p",29),f(90),m(91,"translate"),n()()(),v(92,"hr",30),o(93,"button",41),C("click",function(){return t.toggleAttach()}),o(94,"span",42),f(95," 7 "),n(),o(96,"span")(97,"h3",28),f(98),m(99,"translate"),n(),o(100,"p",29),f(101),m(102,"translate"),n()()(),v(103,"hr",30),o(104,"button",43),C("click",function(){return t.toggleRelationship()}),o(105,"span",44),f(106," 8 "),n(),o(107,"span")(108,"h3",28),f(109),m(110,"translate"),n(),o(111,"p",29),f(112),m(113,"translate"),n()()(),v(114,"hr",30),o(115,"button",45),C("click",function(){return t.showFinish()}),o(116,"span",46),f(117," 9 "),n(),o(118,"span")(119,"h3",28),f(120),m(121,"translate"),n(),o(122,"p",29),f(123),m(124,"translate"),n()()()(),o(125,"div"),R(126,IY3,102,55)(127,rG3,17,13)(128,lG3,27,19)(129,kG3,13,8)(130,jG3,13,8)(131,aq3,13,8)(132,mq3,35,21)(133,Tq3,14,8)(134,_W3,45,31),n()()()(),R(135,gW3,15,1,"div",47)(136,vW3,1,1,"error-message",48)),2&a&&(s(8),V(" ",_(9,42,"CREATE_PROD_SPEC._back")," "),s(7),H(_(16,44,"CREATE_PROD_SPEC._create")),s(4),H(_(20,46,"CREATE_PROD_SPEC._new")),s(6),H(_(26,48,"CREATE_PROD_SPEC._steps")),s(2),k("disabled",!t.generalDone),s(5),H(_(33,50,"CREATE_PROD_SPEC._general")),s(3),H(_(36,52,"CREATE_PROD_SPEC._general_info")),s(3),k("disabled",!t.bundleDone),s(5),H(_(44,54,"CREATE_PROD_SPEC._bundle")),s(3),H(_(47,56,"CREATE_PROD_SPEC._bundle_info")),s(3),k("disabled",!t.complianceDone),s(5),H(_(55,58,"CREATE_PROD_SPEC._comp_profile")),s(3),H(_(58,60,"CREATE_PROD_SPEC._comp_profile_info")),s(3),k("disabled",!t.charsDone),s(5),H(_(66,62,"CREATE_PROD_SPEC._chars")),s(3),H(_(69,64,"CREATE_PROD_SPEC._chars_info")),s(3),k("disabled",!t.resourceDone),s(5),H(_(77,66,"CREATE_PROD_SPEC._resource")),s(3),H(_(80,68,"CREATE_PROD_SPEC._resource_info")),s(3),k("disabled",!t.serviceDone),s(5),H(_(88,70,"CREATE_PROD_SPEC._service")),s(3),H(_(91,72,"CREATE_PROD_SPEC._service_info")),s(3),k("disabled",!t.attachDone),s(5),H(_(99,74,"CREATE_PROD_SPEC._attachments")),s(3),H(_(102,76,"CREATE_PROD_SPEC._attachments_info")),s(3),k("disabled",!t.relationshipDone),s(5),H(_(110,78,"CREATE_PROD_SPEC._relationships")),s(3),H(_(113,80,"CREATE_PROD_SPEC._relationships_info")),s(3),k("disabled",!t.finishDone),s(5),H(_(121,82,"CREATE_PROD_SPEC._finish")),s(3),H(_(124,84,"CREATE_PROD_SPEC._summary")),s(3),S(126,t.showGeneral?126:-1),s(),S(127,t.showBundle?127:-1),s(),S(128,t.showCompliance?128:-1),s(),S(129,t.showChars?129:-1),s(),S(130,t.showResource?130:-1),s(),S(131,t.showService?131:-1),s(),S(132,t.showAttach?132:-1),s(),S(133,t.showRelationships?133:-1),s(),S(134,t.showSummary?134:-1),s(),S(135,t.showUploadFile?135:-1),s(),S(136,t.showError?136:-1))},dependencies:[k2,I4,x6,w6,H4,N4,O4,H5,X4,f3,G3,$l,jl,_4,C4,Q4,J1],styles:[".floating-div[_ngcontent-%COMP%]{position:relative;top:-50px;left:50%;transform:translate(-50%);padding:10px;border-radius:5px}.disabled[_ngcontent-%COMP%]{cursor:not-allowed}"]})}return c})();const CW3=["stringValue"],zW3=["numberValue"],VW3=["numberUnit"],MW3=["fromValue"],LW3=["toValue"],yW3=["rangeUnit"],bW3=()=>({position:"relative",left:"200px",top:"-500px"});function xW3(c,r){1&c&&v(0,"markdown",67),2&c&&k("data",h(2).description)}function wW3(c,r){1&c&&v(0,"textarea",73)}function FW3(c,r){if(1&c){const e=j();o(0,"emoji-mart",74),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(2).addEmoji(t))}),n()}2&c&&(Y2(A4(3,bW3)),k("darkMode",!1))}function kW3(c,r){if(1&c){const e=j();o(0,"h2",19),f(1),m(2,"translate"),n(),o(3,"form",34)(4,"label",35),f(5),m(6,"translate"),n(),v(7,"input",36),o(8,"label",35),f(9),m(10,"translate"),n(),o(11,"div",37)(12,"div",38)(13,"div",39)(14,"div",40)(15,"button",41),C("click",function(){return y(e),b(h().addBold())}),w(),o(16,"svg",42),v(17,"path",43),n(),O(),o(18,"span",44),f(19,"Bold"),n()(),o(20,"button",41),C("click",function(){return y(e),b(h().addItalic())}),w(),o(21,"svg",42),v(22,"path",45),n(),O(),o(23,"span",44),f(24,"Italic"),n()(),o(25,"button",41),C("click",function(){return y(e),b(h().addList())}),w(),o(26,"svg",46),v(27,"path",47),n(),O(),o(28,"span",44),f(29,"Add list"),n()(),o(30,"button",48),C("click",function(){return y(e),b(h().addOrderedList())}),w(),o(31,"svg",46),v(32,"path",49),n(),O(),o(33,"span",44),f(34,"Add ordered list"),n()(),o(35,"button",50),C("click",function(){return y(e),b(h().addBlockquote())}),w(),o(36,"svg",51),v(37,"path",52),n(),O(),o(38,"span",44),f(39,"Add blockquote"),n()(),o(40,"button",50),C("click",function(){return y(e),b(h().addTable())}),w(),o(41,"svg",53),v(42,"path",54),n(),O(),o(43,"span",44),f(44,"Add table"),n()(),o(45,"button",41),C("click",function(){return y(e),b(h().addCode())}),w(),o(46,"svg",53),v(47,"path",55),n(),O(),o(48,"span",44),f(49,"Add code"),n()(),o(50,"button",50),C("click",function(){return y(e),b(h().addCodeBlock())}),w(),o(51,"svg",53),v(52,"path",56),n(),O(),o(53,"span",44),f(54,"Add code block"),n()(),o(55,"button",50),C("click",function(){return y(e),b(h().addLink())}),w(),o(56,"svg",53),v(57,"path",57),n(),O(),o(58,"span",44),f(59,"Add link"),n()(),o(60,"button",48),C("click",function(t){y(e);const i=h();return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(61,"svg",58),v(62,"path",59),n(),O(),o(63,"span",44),f(64,"Add emoji"),n()()()(),o(65,"button",60),C("click",function(){y(e);const t=h();return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(66,"svg",46),v(67,"path",61)(68,"path",62),n(),O(),o(69,"span",44),f(70),m(71,"translate"),n()(),o(72,"div",63),f(73),m(74,"translate"),v(75,"div",64),n()(),o(76,"div",65)(77,"label",66),f(78,"Publish post"),n(),R(79,xW3,1,1,"markdown",67)(80,wW3,1,0)(81,FW3,1,4,"emoji-mart",68),n()()(),o(82,"div",69)(83,"button",70),C("click",function(){y(e);const t=h();return t.toggleChars(),b(t.generalDone=!0)}),f(84),m(85,"translate"),w(),o(86,"svg",71),v(87,"path",72),n()()()}if(2&c){let e;const a=h();s(),H(_(2,32,"CREATE_SERV_SPEC._general")),s(2),k("formGroup",a.generalForm),s(2),H(_(6,34,"CREATE_SERV_SPEC._name")),s(2),k("ngClass",1==(null==(e=a.generalForm.get("name"))?null:e.invalid)&&""!=a.generalForm.value.name?"border-red-600":"border-gray-300"),s(2),H(_(10,36,"CREATE_SERV_SPEC._description")),s(6),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(71,38,"CREATE_CATALOG._preview")),s(3),V(" ",_(74,40,"CREATE_CATALOG._show_preview")," "),s(6),S(79,a.showPreview?79:80),s(2),S(81,a.showEmoji?81:-1),s(2),k("disabled",!a.generalForm.valid)("ngClass",a.generalForm.valid?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(85,42,"CREATE_SERV_SPEC._next")," ")}}function SW3(c,r){1&c&&(o(0,"div",75)(1,"div",79),w(),o(2,"svg",80),v(3,"path",81),n(),O(),o(4,"span",44),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"CREATE_SERV_SPEC._no_chars")," "))}function NW3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function DW3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function TW3(c,r){if(1&c&&R(0,NW3,4,2)(1,DW3,3,2),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function EW3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function AW3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function PW3(c,r){if(1&c&&R(0,EW3,4,3)(1,AW3,3,3),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function RW3(c,r){1&c&&R(0,TW3,2,1)(1,PW3,2,1),2&c&&S(0,r.$implicit.value?0:1)}function BW3(c,r){if(1&c){const e=j();o(0,"tr",87)(1,"td",88),f(2),n(),o(3,"td",88),f(4),n(),o(5,"td",88),c1(6,RW3,2,1,null,null,z1),n(),o(8,"td",89)(9,"button",90),C("click",function(){const t=y(e).$implicit;return b(h(3).deleteChar(t))}),w(),o(10,"svg",91),v(11,"path",92),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),a1(e.characteristicValueSpecification)}}function OW3(c,r){if(1&c&&(o(0,"div",82)(1,"table",83)(2,"thead",84)(3,"tr")(4,"th",85),f(5),m(6,"translate"),n(),o(7,"th",86),f(8),m(9,"translate"),n(),o(10,"th",85),f(11),m(12,"translate"),n(),o(13,"th",85),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,BW3,12,2,"tr",87,z1),n()()()),2&c){const e=h(2);s(5),V(" ",_(6,4,"CREATE_SERV_SPEC._name")," "),s(3),V(" ",_(9,6,"CREATE_SERV_SPEC._description")," "),s(3),V(" ",_(12,8,"CREATE_SERV_SPEC._values")," "),s(3),V(" ",_(15,10,"CREATE_SERV_SPEC._actions")," "),s(3),a1(e.prodChars)}}function IW3(c,r){if(1&c){const e=j();o(0,"div",76)(1,"button",93),C("click",function(){y(e);const t=h(2);return b(t.showCreateChar=!t.showCreateChar)}),f(2),m(3,"translate"),w(),o(4,"svg",94),v(5,"path",95),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_SERV_SPEC._new_char")," "))}function UW3(c,r){if(1&c){const e=j();o(0,"div",113)(1,"div",114)(2,"input",115),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).selectDefaultChar(i,l))}),n(),o(3,"label",116),f(4),o(5,"i"),f(6),n()()(),o(7,"button",117),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).removeCharValue(i,l))}),w(),o(8,"svg",91),v(9,"path",92),n()()()}if(2&c){const e=r.$implicit;s(2),k("checked",null==e?null:e.isDefault),s(2),j1("",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function jW3(c,r){1&c&&c1(0,UW3,10,4,"div",113,z1),2&c&&a1(h(4).creatingChars)}function $W3(c,r){if(1&c){const e=j();o(0,"div",113)(1,"div",114)(2,"input",118),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).selectDefaultChar(i,l))}),n(),o(3,"label",119),f(4),o(5,"i"),f(6),n()()(),o(7,"button",117),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).removeCharValue(i,l))}),w(),o(8,"svg",91),v(9,"path",92),n()()()}if(2&c){const e=r.$implicit;s(2),k("checked",null==e?null:e.isDefault),s(2),V("",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function YW3(c,r){1&c&&c1(0,$W3,10,3,"div",113,z1),2&c&&a1(h(4).creatingChars)}function GW3(c,r){if(1&c&&(o(0,"label",107),f(1,"Values"),n(),o(2,"div",112),R(3,jW3,2,0)(4,YW3,2,0),n()),2&c){const e=h(3);s(3),S(3,e.rangeCharSelected?3:4)}}function qW3(c,r){if(1&c){const e=j();o(0,"div",108),v(1,"input",120,0),o(3,"button",121),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(4,"svg",122),v(5,"path",95),n()()()}}function WW3(c,r){if(1&c){const e=j();o(0,"div",123)(1,"div",124)(2,"span",125),f(3),m(4,"translate"),n(),v(5,"input",126,1),n(),o(7,"div",124)(8,"span",125),f(9),m(10,"translate"),n(),v(11,"input",127,2),n(),o(13,"button",121),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(14,"svg",122),v(15,"path",95),n()()()}2&c&&(s(3),V(" ",_(4,2,"CREATE_SERV_SPEC._value")," "),s(6),V(" ",_(10,4,"CREATE_SERV_SPEC._unit")," "))}function ZW3(c,r){if(1&c){const e=j();o(0,"div",128)(1,"div",124)(2,"span",129),f(3),m(4,"translate"),n(),v(5,"input",126,3),n(),o(7,"div",124)(8,"span",129),f(9),m(10,"translate"),n(),v(11,"input",126,4),n(),o(13,"div",124)(14,"span",129),f(15),m(16,"translate"),n(),v(17,"input",127,5),n(),o(19,"button",121),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(20,"svg",122),v(21,"path",95),n()()()}2&c&&(s(3),V(" ",_(4,3,"CREATE_SERV_SPEC._from")," "),s(6),V(" ",_(10,5,"CREATE_SERV_SPEC._to")," "),s(6),V(" ",_(16,7,"CREATE_SERV_SPEC._unit")," "))}function KW3(c,r){if(1&c){const e=j();o(0,"form",96)(1,"div")(2,"label",35),f(3),m(4,"translate"),n(),v(5,"input",97),n(),o(6,"div")(7,"label",98),f(8),m(9,"translate"),n(),o(10,"select",99),C("change",function(t){return y(e),b(h(2).onTypeChange(t))}),o(11,"option",100),f(12,"String"),n(),o(13,"option",101),f(14,"Number"),n(),o(15,"option",102),f(16,"Number range"),n()()(),o(17,"div",103)(18,"label",104),f(19),m(20,"translate"),n(),v(21,"textarea",105),n()(),o(22,"div",106),R(23,GW3,5,1),o(24,"label",107),f(25),m(26,"translate"),n(),R(27,qW3,6,0,"div",108)(28,WW3,16,6)(29,ZW3,22,9),o(30,"div",109)(31,"button",110),C("click",function(){return y(e),b(h(2).saveChar())}),f(32),m(33,"translate"),w(),o(34,"svg",94),v(35,"path",111),n()()()()}if(2&c){const e=h(2);k("formGroup",e.charsForm),s(3),H(_(4,10,"PROFILE._name")),s(5),H(_(9,12,"CREATE_SERV_SPEC._type")),s(11),H(_(20,14,"CREATE_SERV_SPEC._description")),s(4),S(23,e.creatingChars.length>0?23:-1),s(2),H(_(26,16,"CREATE_SERV_SPEC._add_values")),s(2),S(27,e.stringCharSelected?27:e.numberCharSelected?28:e.rangeCharSelected?29:-1),s(4),k("disabled",!e.charsForm.valid||0==e.creatingChars.length)("ngClass",e.charsForm.valid&&0!=e.creatingChars.length?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(33,18,"CREATE_SERV_SPEC._save_char")," ")}}function QW3(c,r){if(1&c){const e=j();o(0,"h2",19),f(1),m(2,"translate"),n(),R(3,SW3,9,3,"div",75)(4,OW3,19,12)(5,IW3,6,3,"div",76)(6,KW3,36,20),o(7,"div",77)(8,"button",78),C("click",function(){y(e);const t=h();return t.showFinish(),b(t.charsDone=!0)}),f(9),m(10,"translate"),w(),o(11,"svg",71),v(12,"path",72),n()()()}if(2&c){const e=h();s(),H(_(2,4,"CREATE_SERV_SPEC._chars")),s(2),S(3,0===e.prodChars.length?3:4),s(2),S(5,0==e.showCreateChar?5:6),s(4),V(" ",_(10,6,"CREATE_SERV_SPEC._finish")," ")}}function JW3(c,r){if(1&c&&(o(0,"span",134),f(1),n()),2&c){const e=h(2);s(),H(null==e.serviceToCreate?null:e.serviceToCreate.lifecycleStatus)}}function XW3(c,r){if(1&c&&(o(0,"span",136),f(1),n()),2&c){const e=h(2);s(),H(null==e.serviceToCreate?null:e.serviceToCreate.lifecycleStatus)}}function eZ3(c,r){if(1&c&&(o(0,"span",137),f(1),n()),2&c){const e=h(2);s(),H(null==e.serviceToCreate?null:e.serviceToCreate.lifecycleStatus)}}function cZ3(c,r){if(1&c&&(o(0,"span",138),f(1),n()),2&c){const e=h(2);s(),H(null==e.serviceToCreate?null:e.serviceToCreate.lifecycleStatus)}}function aZ3(c,r){if(1&c&&(o(0,"label",98),f(1),m(2,"translate"),n(),o(3,"div",139),v(4,"markdown",140),n()),2&c){const e=h(2);s(),H(_(2,2,"CREATE_PROD_SPEC._product_description")),s(3),k("data",null==e.serviceToCreate?null:e.serviceToCreate.description)}}function rZ3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function tZ3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function iZ3(c,r){if(1&c&&R(0,rZ3,4,2)(1,tZ3,3,2),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function oZ3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function nZ3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function sZ3(c,r){if(1&c&&R(0,oZ3,4,3)(1,nZ3,3,3),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function lZ3(c,r){1&c&&R(0,iZ3,2,1)(1,sZ3,2,1),2&c&&S(0,r.$implicit.value?0:1)}function fZ3(c,r){if(1&c&&(o(0,"tr",87)(1,"td",88),f(2),n(),o(3,"td",142),f(4),n(),o(5,"td",88),c1(6,lZ3,2,1,null,null,z1),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),a1(e.characteristicValueSpecification)}}function dZ3(c,r){if(1&c&&(o(0,"label",98),f(1),m(2,"translate"),n(),o(3,"div",141)(4,"table",83)(5,"thead",84)(6,"tr")(7,"th",85),f(8),m(9,"translate"),n(),o(10,"th",86),f(11),m(12,"translate"),n(),o(13,"th",85),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,fZ3,8,2,"tr",87,z1),n()()()),2&c){const e=h(2);s(),H(_(2,4,"CREATE_PROD_SPEC._chars")),s(7),V(" ",_(9,6,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(12,8,"CREATE_PROD_SPEC._product_description")," "),s(3),V(" ",_(15,10,"CREATE_PROD_SPEC._values")," "),s(3),a1(null==e.serviceToCreate?null:e.serviceToCreate.specCharacteristic)}}function uZ3(c,r){if(1&c){const e=j();o(0,"h2",19),f(1),m(2,"translate"),n(),o(3,"div",130)(4,"div")(5,"label",98),f(6),m(7,"translate"),n(),o(8,"label",131),f(9),n()(),o(10,"div",132)(11,"label",133),f(12),m(13,"translate"),n(),R(14,JW3,2,1,"span",134)(15,XW3,2,1)(16,eZ3,2,1)(17,cZ3,2,1),n(),R(18,aZ3,5,4)(19,dZ3,19,12),o(20,"div",135)(21,"button",78),C("click",function(){return y(e),b(h().createService())}),f(22),m(23,"translate"),w(),o(24,"svg",71),v(25,"path",72),n()()()()}if(2&c){const e=h();s(),H(_(2,8,"CREATE_PROD_SPEC._finish")),s(5),H(_(7,10,"CREATE_PROD_SPEC._product_name")),s(3),V(" ",null==e.serviceToCreate?null:e.serviceToCreate.name," "),s(3),H(_(13,12,"CREATE_PROD_SPEC._status")),s(2),S(14,"Active"==(null==e.serviceToCreate?null:e.serviceToCreate.lifecycleStatus)?14:"Launched"==(null==e.serviceToCreate?null:e.serviceToCreate.lifecycleStatus)?15:"Retired"==(null==e.serviceToCreate?null:e.serviceToCreate.lifecycleStatus)?16:"Obsolete"==(null==e.serviceToCreate?null:e.serviceToCreate.lifecycleStatus)?17:-1),s(4),S(18,""!=(null==e.serviceToCreate?null:e.serviceToCreate.description)?18:-1),s(),S(19,e.prodChars.length>0?19:-1),s(3),V(" ",_(23,14,"CREATE_SERV_SPEC._create_serv")," ")}}function hZ3(c,r){1&c&&v(0,"error-message",33),2&c&&k("message",h().errorMessage)}let mZ3=(()=>{class c{constructor(e,a,t,i,l,d){this.router=e,this.cdr=a,this.localStorage=t,this.eventMessage=i,this.elementRef=l,this.servSpecService=d,this.partyId="",this.stepsElements=["general-info","chars","summary"],this.stepsCircles=["general-circle","chars-circle","summary-circle"],this.showPreview=!1,this.showEmoji=!1,this.description="",this.showGeneral=!0,this.showChars=!1,this.showSummary=!1,this.generalDone=!1,this.charsDone=!1,this.finishDone=!1,this.generalForm=new S2({name:new u1("",[O1.required]),description:new u1("")}),this.charsForm=new S2({name:new u1("",[O1.required]),description:new u1("")}),this.stringCharSelected=!0,this.numberCharSelected=!1,this.rangeCharSelected=!1,this.prodChars=[],this.creatingChars=[],this.showCreateChar=!1,this.errorMessage="",this.showError=!1,this.eventMessage.messages$.subscribe(u=>{"ChangedSession"===u.type&&this.initPartyInfo()})}onClick(){1==this.showEmoji&&(this.showEmoji=!1,this.cdr.detectChanges())}ngOnInit(){this.initPartyInfo()}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0)if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}}goBack(){this.eventMessage.emitSellerServiceSpec(!0)}toggleGeneral(){this.selectStep("general-info","general-circle"),this.showGeneral=!0,this.showChars=!1,this.showSummary=!1,this.showPreview=!1}toggleChars(){this.selectStep("chars","chars-circle"),this.showGeneral=!1,this.showChars=!0,this.showSummary=!1,this.showPreview=!1}onTypeChange(e){"string"==e.target.value?(this.stringCharSelected=!0,this.numberCharSelected=!1,this.rangeCharSelected=!1):"number"==e.target.value?(this.stringCharSelected=!1,this.numberCharSelected=!0,this.rangeCharSelected=!1):(this.stringCharSelected=!1,this.numberCharSelected=!1,this.rangeCharSelected=!0),this.creatingChars=[]}addCharValue(){this.stringCharSelected?(console.log("string"),this.creatingChars.push(0==this.creatingChars.length?{isDefault:!0,value:this.charStringValue.nativeElement.value}:{isDefault:!1,value:this.charStringValue.nativeElement.value})):this.numberCharSelected?(console.log("number"),this.creatingChars.push(0==this.creatingChars.length?{isDefault:!0,value:this.charNumberValue.nativeElement.value,unitOfMeasure:this.charNumberUnit.nativeElement.value}:{isDefault:!1,value:this.charNumberValue.nativeElement.value,unitOfMeasure:this.charNumberUnit.nativeElement.value})):(console.log("range"),this.creatingChars.push(0==this.creatingChars.length?{isDefault:!0,valueFrom:this.charFromValue.nativeElement.value,valueTo:this.charToValue.nativeElement.value,unitOfMeasure:this.charRangeUnit.nativeElement.value}:{isDefault:!1,valueFrom:this.charFromValue.nativeElement.value,valueTo:this.charToValue.nativeElement.value,unitOfMeasure:this.charRangeUnit.nativeElement.value}))}selectDefaultChar(e,a){for(let t=0;tt.id===e.id);-1!==a&&(console.log("eliminar"),this.prodChars.splice(a,1)),this.cdr.detectChanges(),console.log(this.prodChars)}showFinish(){this.charsDone=!0,this.finishDone=!0,null!=this.generalForm.value.name&&(this.serviceToCreate={name:this.generalForm.value.name,description:null!=this.generalForm.value.description?this.generalForm.value.description:"",lifecycleStatus:"Active",specCharacteristic:this.prodChars,relatedParty:[{id:this.partyId,role:"Owner","@referredType":""}]},console.log("SERVICE TO CREATE:"),console.log(this.serviceToCreate),this.showChars=!1,this.showGeneral=!1,this.showSummary=!0,this.selectStep("summary","summary-circle")),this.showPreview=!1}createService(){this.servSpecService.postServSpec(this.serviceToCreate).subscribe({next:e=>{this.goBack(),console.log("serv created")},error:e=>{console.error("There was an error while creating!",e),e.error.error?(console.log(e),this.errorMessage="Error: "+e.error.error):this.errorMessage="There was an error while creating the service!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}removeClass(e,a){e.className=(" "+e.className+" ").replace(" "+a+" "," ").replace(/^\s+|\s+$/g,"")}addClass(e,a){e.className+=" "+a}unselectMenu(e,a){null!=e&&(e.className.match(a)?this.removeClass(e,a):console.log("already unselected"))}selectMenu(e,a){null!=e&&(e.className.match(a)?console.log("already selected"):this.addClass(e,a))}selectStep(e,a){const t=this.stepsElements.findIndex(l=>l===e);if(-1!==t){this.stepsElements.splice(t,1),this.selectMenu(document.getElementById(e),"text-primary-100 dark:text-primary-50"),this.unselectMenu(document.getElementById(e),"text-gray-500");for(let l=0;ll===a);if(-1!==t){this.stepsCircles.splice(i,1),this.selectMenu(document.getElementById(a),"border-primary-100 dark:border-primary-50"),this.unselectMenu(document.getElementById(a),"border-gray-400");for(let l=0;l blockquote"})}addLink(){this.generalForm.patchValue({description:this.generalForm.value.description+" [title](https://www.example.com) "})}addTable(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"})}addEmoji(e){console.log(e),this.showEmoji=!1,this.generalForm.patchValue({description:this.generalForm.value.description+e.emoji.native})}togglePreview(){this.generalForm.value.description&&(this.description=this.generalForm.value.description)}static#e=this.\u0275fac=function(a){return new(a||c)(B(Z1),B(B1),B(R1),B(e2),B(v2),B(D4))};static#c=this.\u0275cmp=V1({type:c,selectors:[["create-service-spec"]],viewQuery:function(a,t){if(1&a&&(b1(CW3,5),b1(zW3,5),b1(VW3,5),b1(MW3,5),b1(LW3,5),b1(yW3,5)),2&a){let i;M1(i=L1())&&(t.charStringValue=i.first),M1(i=L1())&&(t.charNumberValue=i.first),M1(i=L1())&&(t.charNumberUnit=i.first),M1(i=L1())&&(t.charFromValue=i.first),M1(i=L1())&&(t.charToValue=i.first),M1(i=L1())&&(t.charRangeUnit=i.first)}},hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},decls:64,vars:37,consts:[["stringValue",""],["numberValue",""],["numberUnit",""],["fromValue",""],["toValue",""],["rangeUnit",""],[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-gray-200","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800","dark:text-white"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","mt-4","p-8","rounded-lg"],[1,"text-3xl","font-bold","text-primary-100","ml-4","dark:text-white"],[1,"h-px","m-4","bg-gray-300","dark:bg-gray-200","border-0"],[1,"md:grid","md:grid-cols-25/75","xl:grid-cols-20/80"],[1,"flex","sm:flex-row","md:flex-col","md:mr-4","w-full","overflow-x-auto","max-w-[calc(100vw-5rem)]"],[1,"hidden","md:block","text-xl","font-bold","text-black","mb-4","dark:text-white"],["id","general-info",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-primary-100","dark:text-primary-50","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","general-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-primary-100","dark:border-primary-50","rounded-full","shrink-0"],[1,"flex","leading-tight","justify-start"],[1,"hidden","xl:flex","text-xs","justify-start"],[1,"h-px","mb-2","bg-gray-300","dark:bg-gray-200","border-0"],["id","chars",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","chars-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","summary",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","summary-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],[1,"fixed","w-fit","top-1/2","left-1/2",3,"message"],[1,"m-4","gap-4",3,"formGroup"],["for","prod-name",1,"font-bold","text-lg","dark:text-white"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],[1,"w-full","col-span-2","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200"],[1,"flex","items-center","justify-between","px-3","py-2","border-b"],[1,"flex","flex-wrap","items-center","divide-gray-200","dark:divide-secondary-200","sm:divide-x","sm:rtl:divide-x-reverse"],[1,"flex","items-center","space-x-1","rtl:space-x-reverse","sm:pe-4","text-gray-500","dark:text-gray-200"],["type","button",1,"p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 5h4.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0-7H6m2 7h6.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0 0H6"],[1,"sr-only"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8.874 19 6.143-14M6 19h6.33m-.66-14H18"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M9 8h10M9 12h10M9 16h10M4.99 8H5m-.02 4h.01m0 4H5"],["type","button",1,"hidden","lg:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4"],["type","button",1,"hidden","md:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["fill-rule","evenodd","d","M5 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm0 12a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm1.65-9.76A1 1 0 0 0 5 9v6a1 1 0 0 0 1.65.76l3.5-3a1 1 0 0 0 0-1.52l-3.5-3ZM12 10a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Zm0 4a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Z","clip-rule","evenodd"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-width","2","d","M3 11h18m-9 0v8m-8 0h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 3v4a1 1 0 0 1-1 1H5m5 4-2 2 2 2m4-4 2 2-2 2m5-12v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M13.213 9.787a3.391 3.391 0 0 0-4.795 0l-3.425 3.426a3.39 3.39 0 0 0 4.795 4.794l.321-.304m-.321-4.49a3.39 3.39 0 0 0 4.795 0l3.424-3.426a3.39 3.39 0 0 0-4.794-4.795l-1.028.961"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-4","h-4"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM13.5 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm-7 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm3.5 9.5A5.5 5.5 0 0 1 4.6 11h10.81A5.5 5.5 0 0 1 10 15.5Z"],["type","button","data-tooltip-target","tooltip-fullscreen",1,"rounded","cursor-pointer","text-gray-500","dark:text-gray-200","p-2","sm:ms-auto","hover:text-gray-900","dark:hover:text-gray-900","hover:bg-gray-100",3,"click"],["stroke","currentColor","stroke-width","2","d","M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z"],["stroke","currentColor","stroke-width","2","d","M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"],["id","tooltip-fullscreen","role","tooltip",1,"absolute","z-10","invisible","inline-block","px-3","py-2","text-sm","font-medium","text-white","transition-opacity","duration-300","bg-gray-900","rounded-lg","shadow-sm","opacity-0","tooltip"],["data-popper-arrow","",1,"tooltip-arrow"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","rounded-b-lg"],["for","editor",1,"sr-only"],[1,"bg-gray-50","dark:bg-secondary-300","dark:text-white","text-gray-900","text-wrap","break-all",3,"data"],[3,"darkMode","style"],[1,"flex","w-full","justify-items-end","justify-end"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],["id","editor","formControlName","description","rows","8","placeholder","Add product description...",1,"block","w-full","px-0","text-sm","text-gray-800","dark:text-gray-200","bg-white","dark:bg-secondary-300","border-0"],[3,"click","emojiClick","darkMode"],[1,"flex","justify-center","w-full","m-4"],[1,"flex","w-full","justify-items-center","justify-center"],[1,"flex","w-full","justify-items-end","justify-end","ml-4","mt-4"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","m-4"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"hidden","lg:table-cell","px-6","py-3"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"px-6","py-4","text-wrap","break-all"],[1,"px-6","py-4"],[1,"font-bold","text-white","bg-red-500","rounded-3xl",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4","text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M6 18 17.94 6M18 18 6.06 6"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],[1,"m-4","md:grid","md:grid-cols-2","gap-4",3,"formGroup"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"font-bold","text-lg","dark:text-white"],["id","type",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],["selected","","value","string"],["value","number"],["value","range"],[1,"col-span-2"],["for","description",1,"font-bold","text-lg","dark:text-white"],["id","description","formControlName","description","rows","4",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"m-4"],["for","values",1,"font-bold","text-lg","dark:text-white"],[1,"flex","flex-row","items-center","align-items-middle"],[1,"flex","w-full","justify-items-center","justify-center","mt-4"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M11 16h2m6.707-9.293-2.414-2.414A1 1 0 0 0 16.586 4H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7.414a1 1 0 0 0-.293-.707ZM16 20v-6a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v6h8ZM9 4h6v3a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V4Z"],[1,"flex","flex-col","items-start","pl-4","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","border","border-gray-300","mb-2"],[1,"flex","w-full","justify-between"],[1,"align-items-middle","align-middle"],["id","disabled-checked-checkbox","type","checkbox","value","",1,"align-middle","w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded-full","focus:ring-blue-500","focus:ring-2",3,"click","checked"],["for","disabled-checked-checkbox",1,"ms-2","align-middle","text-sm","font-medium","text-gray-700","dark:text-white","text-wrap","break-all"],[1,"m-2","text-white","bg-red-500","rounded-3xl",3,"click"],["id","disabled-checked-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded-full","focus:ring-blue-500","focus:ring-2",3,"click","checked"],["for","disabled-checked-checkbox",1,"ms-2","text-sm","font-medium","text-gray-700","dark:text-white","text-wrap","break-all"],["type","text","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["type","button",1,"text-white","w-fit","h-full","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-white"],[1,"flex","flex-col","md:flex-row","items-center","items-center","align-items-middle"],[1,"flex","w-full","mb-2","md:mb-0"],[1,"inline-flex","items-center","px-3","text-sm","text-gray-900","bg-gray-200","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","border","rounded-e-0","border-gray-300","border-e-0","rounded-s-md"],["type","number","pattern","[0-9]*","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["type","text","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"flex","flex-col","md:flex-row","items-center","align-items-middle"],[1,"inline-flex","items-center","px-3","text-sm","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","bg-gray-200","border","rounded-e-0","border-gray-300","border-e-0","rounded-s-md"],[1,"m-8"],[1,"mb-2","bg-gray-50","text-wrap","break-all","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"mb-4"],[1,"font-bold","text-lg","mr-4","dark:text-white"],[1,"bg-blue-100","dark:bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"flex","w-full","justify-items-end","justify-end","ml-4"],[1,"bg-blue-100","dark:bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","border","dark:border-secondary-200","rounded-lg","p-4","mb-2"],[1,"bg-gray-50","text-wrap","break-all","dark:bg-secondary-100","dark:text-white","text-gray-900","text-wrap","break-all",3,"data"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","mb-4"],[1,"hidden","lg:table-cell","px-6","py-4","text-wrap","break-all"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",6)(2,"nav",7)(3,"ol",8)(4,"li",9)(5,"button",10),C("click",function(){return t.goBack()}),w(),o(6,"svg",11),v(7,"path",12),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",13)(11,"div",14),w(),o(12,"svg",15),v(13,"path",16),n(),O(),o(14,"span",17),f(15),m(16,"translate"),n()()()()()(),o(17,"div",18)(18,"h2",19),f(19),m(20,"translate"),n(),v(21,"hr",20),o(22,"div",21)(23,"div",22)(24,"h2",23),f(25),m(26,"translate"),n(),o(27,"button",24),C("click",function(){return t.toggleGeneral()}),o(28,"span",25),f(29," 1 "),n(),o(30,"span")(31,"h3",26),f(32),m(33,"translate"),n(),o(34,"p",27),f(35),m(36,"translate"),n()()(),v(37,"hr",28),o(38,"button",29),C("click",function(){return t.toggleChars()}),o(39,"span",30),f(40," 2 "),n(),o(41,"span")(42,"h3",26),f(43),m(44,"translate"),n(),o(45,"p",27),f(46),m(47,"translate"),n()()(),v(48,"hr",28),o(49,"button",31),C("click",function(){return t.showFinish()}),o(50,"span",32),f(51," 3 "),n(),o(52,"span")(53,"h3",26),f(54),m(55,"translate"),n(),o(56,"p",27),f(57),m(58,"translate"),n()()()(),o(59,"div"),R(60,kW3,88,44)(61,QW3,13,8)(62,uZ3,26,16),n()()()(),R(63,hZ3,1,1,"error-message",33)),2&a&&(s(8),V(" ",_(9,17,"CREATE_SERV_SPEC._back")," "),s(7),H(_(16,19,"CREATE_SERV_SPEC._create")),s(4),H(_(20,21,"CREATE_SERV_SPEC._new")),s(6),H(_(26,23,"CREATE_SERV_SPEC._steps")),s(2),k("disabled",!t.generalDone),s(5),H(_(33,25,"CREATE_SERV_SPEC._general")),s(3),H(_(36,27,"CREATE_SERV_SPEC._general_info")),s(3),k("disabled",!t.charsDone),s(5),H(_(44,29,"CREATE_SERV_SPEC._chars")),s(3),H(_(47,31,"CREATE_SERV_SPEC._chars_info")),s(3),k("disabled",!t.finishDone),s(5),H(_(55,33,"CREATE_PROD_SPEC._finish")),s(3),H(_(58,35,"CREATE_PROD_SPEC._summary")),s(3),S(60,t.showGeneral?60:-1),s(),S(61,t.showChars?61:-1),s(),S(62,t.showSummary?62:-1),s(),S(63,t.showError?63:-1))},dependencies:[k2,I4,x6,w6,H4,N4,O4,X4,f3,G3,_4,C4,J1]})}return c})();const _Z3=["stringValue"],pZ3=["numberValue"],gZ3=["numberUnit"],vZ3=["fromValue"],HZ3=["toValue"],CZ3=["rangeUnit"],zZ3=()=>({position:"relative",left:"200px",top:"-500px"});function VZ3(c,r){1&c&&v(0,"markdown",67),2&c&&k("data",h(2).description)}function MZ3(c,r){1&c&&v(0,"textarea",73)}function LZ3(c,r){if(1&c){const e=j();o(0,"emoji-mart",74),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(2).addEmoji(t))}),n()}2&c&&(Y2(A4(3,zZ3)),k("darkMode",!1))}function yZ3(c,r){if(1&c){const e=j();o(0,"h2",19),f(1),m(2,"translate"),n(),o(3,"form",34)(4,"label",35),f(5),m(6,"translate"),n(),v(7,"input",36),o(8,"label",35),f(9),m(10,"translate"),n(),o(11,"div",37)(12,"div",38)(13,"div",39)(14,"div",40)(15,"button",41),C("click",function(){return y(e),b(h().addBold())}),w(),o(16,"svg",42),v(17,"path",43),n(),O(),o(18,"span",44),f(19,"Bold"),n()(),o(20,"button",41),C("click",function(){return y(e),b(h().addItalic())}),w(),o(21,"svg",42),v(22,"path",45),n(),O(),o(23,"span",44),f(24,"Italic"),n()(),o(25,"button",41),C("click",function(){return y(e),b(h().addList())}),w(),o(26,"svg",46),v(27,"path",47),n(),O(),o(28,"span",44),f(29,"Add list"),n()(),o(30,"button",48),C("click",function(){return y(e),b(h().addOrderedList())}),w(),o(31,"svg",46),v(32,"path",49),n(),O(),o(33,"span",44),f(34,"Add ordered list"),n()(),o(35,"button",50),C("click",function(){return y(e),b(h().addBlockquote())}),w(),o(36,"svg",51),v(37,"path",52),n(),O(),o(38,"span",44),f(39,"Add blockquote"),n()(),o(40,"button",41),C("click",function(){return y(e),b(h().addTable())}),w(),o(41,"svg",53),v(42,"path",54),n(),O(),o(43,"span",44),f(44,"Add table"),n()(),o(45,"button",50),C("click",function(){return y(e),b(h().addCode())}),w(),o(46,"svg",53),v(47,"path",55),n(),O(),o(48,"span",44),f(49,"Add code"),n()(),o(50,"button",50),C("click",function(){return y(e),b(h().addCodeBlock())}),w(),o(51,"svg",53),v(52,"path",56),n(),O(),o(53,"span",44),f(54,"Add code block"),n()(),o(55,"button",50),C("click",function(){return y(e),b(h().addLink())}),w(),o(56,"svg",53),v(57,"path",57),n(),O(),o(58,"span",44),f(59,"Add link"),n()(),o(60,"button",48),C("click",function(t){y(e);const i=h();return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(61,"svg",58),v(62,"path",59),n(),O(),o(63,"span",44),f(64,"Add emoji"),n()()()(),o(65,"button",60),C("click",function(){y(e);const t=h();return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(66,"svg",46),v(67,"path",61)(68,"path",62),n(),O(),o(69,"span",44),f(70),m(71,"translate"),n()(),o(72,"div",63),f(73),m(74,"translate"),v(75,"div",64),n()(),o(76,"div",65)(77,"label",66),f(78,"Publish post"),n(),R(79,VZ3,1,1,"markdown",67)(80,MZ3,1,0)(81,LZ3,1,4,"emoji-mart",68),n()()(),o(82,"div",69)(83,"button",70),C("click",function(){y(e);const t=h();return t.toggleChars(),b(t.generalDone=!0)}),f(84),m(85,"translate"),w(),o(86,"svg",71),v(87,"path",72),n()()()}if(2&c){let e;const a=h();s(),H(_(2,32,"CREATE_RES_SPEC._general")),s(2),k("formGroup",a.generalForm),s(2),H(_(6,34,"CREATE_RES_SPEC._name")),s(2),k("ngClass",1==(null==(e=a.generalForm.get("name"))?null:e.invalid)&&""!=a.generalForm.value.name?"border-red-600":"border-gray-300"),s(2),H(_(10,36,"CREATE_RES_SPEC._description")),s(6),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(71,38,"CREATE_CATALOG._preview")),s(3),V(" ",_(74,40,"CREATE_CATALOG._show_preview")," "),s(6),S(79,a.showPreview?79:80),s(2),S(81,a.showEmoji?81:-1),s(2),k("disabled",!a.generalForm.valid)("ngClass",a.generalForm.valid?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(85,42,"CREATE_RES_SPEC._next")," ")}}function bZ3(c,r){1&c&&(o(0,"div",75)(1,"div",79),w(),o(2,"svg",80),v(3,"path",81),n(),O(),o(4,"span",44),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"CREATE_RES_SPEC._no_chars")," "))}function xZ3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function wZ3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function FZ3(c,r){if(1&c&&R(0,xZ3,4,2)(1,wZ3,3,2),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function kZ3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function SZ3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function NZ3(c,r){if(1&c&&R(0,kZ3,4,3)(1,SZ3,3,3),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function DZ3(c,r){1&c&&R(0,FZ3,2,1)(1,NZ3,2,1),2&c&&S(0,r.$implicit.value?0:1)}function TZ3(c,r){if(1&c){const e=j();o(0,"tr",87)(1,"td",88),f(2),n(),o(3,"td",89),f(4),n(),o(5,"td",88),c1(6,DZ3,2,1,null,null,z1),n(),o(8,"td",90)(9,"button",91),C("click",function(){const t=y(e).$implicit;return b(h(3).deleteChar(t))}),w(),o(10,"svg",92),v(11,"path",93),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),a1(e.resourceSpecCharacteristicValue)}}function EZ3(c,r){if(1&c&&(o(0,"div",82)(1,"table",83)(2,"thead",84)(3,"tr")(4,"th",85),f(5),m(6,"translate"),n(),o(7,"th",86),f(8),m(9,"translate"),n(),o(10,"th",85),f(11),m(12,"translate"),n(),o(13,"th",85),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,TZ3,12,2,"tr",87,z1),n()()()),2&c){const e=h(2);s(5),V(" ",_(6,4,"CREATE_RES_SPEC._name")," "),s(3),V(" ",_(9,6,"CREATE_RES_SPEC._description")," "),s(3),V(" ",_(12,8,"CREATE_RES_SPEC._values")," "),s(3),V(" ",_(15,10,"CREATE_RES_SPEC._actions")," "),s(3),a1(e.prodChars)}}function AZ3(c,r){if(1&c){const e=j();o(0,"div",76)(1,"button",94),C("click",function(){y(e);const t=h(2);return b(t.showCreateChar=!t.showCreateChar)}),f(2),m(3,"translate"),w(),o(4,"svg",95),v(5,"path",96),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_RES_SPEC._new_char")," "))}function PZ3(c,r){if(1&c){const e=j();o(0,"div",114)(1,"div",115)(2,"input",116),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).selectDefaultChar(i,l))}),n(),o(3,"label",117),f(4),o(5,"i"),f(6),n()()(),o(7,"button",118),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).removeCharValue(i,l))}),w(),o(8,"svg",92),v(9,"path",93),n()()()}if(2&c){const e=r.$implicit;s(2),k("checked",null==e?null:e.isDefault),s(2),j1("",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function RZ3(c,r){1&c&&c1(0,PZ3,10,4,"div",114,z1),2&c&&a1(h(4).creatingChars)}function BZ3(c,r){if(1&c){const e=j();o(0,"div",114)(1,"div",115)(2,"input",119),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).selectDefaultChar(i,l))}),n(),o(3,"label",120),f(4),o(5,"i"),f(6),n()()(),o(7,"button",118),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).removeCharValue(i,l))}),w(),o(8,"svg",92),v(9,"path",93),n()()()}if(2&c){const e=r.$implicit;s(2),k("checked",null==e?null:e.isDefault),s(2),V("",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function OZ3(c,r){1&c&&c1(0,BZ3,10,3,"div",114,z1),2&c&&a1(h(4).creatingChars)}function IZ3(c,r){if(1&c&&(o(0,"label",108),f(1),m(2,"translate"),n(),o(3,"div",113),R(4,RZ3,2,0)(5,OZ3,2,0),n()),2&c){const e=h(3);s(),H(_(2,2,"CREATE_RES_SPEC._values")),s(3),S(4,e.rangeCharSelected?4:5)}}function UZ3(c,r){if(1&c){const e=j();o(0,"div",109),v(1,"input",121,0),o(3,"button",122),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(4,"svg",123),v(5,"path",96),n()()()}}function jZ3(c,r){if(1&c){const e=j();o(0,"div",124)(1,"div",125)(2,"span",126),f(3),m(4,"translate"),n(),v(5,"input",127,1),n(),o(7,"div",125)(8,"span",126),f(9),m(10,"translate"),n(),v(11,"input",128,2),n(),o(13,"button",122),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(14,"svg",123),v(15,"path",96),n()()()}2&c&&(s(3),V(" ",_(4,2,"CREATE_RES_SPEC._value")," "),s(6),V(" ",_(10,4,"CREATE_RES_SPEC._unit")," "))}function $Z3(c,r){if(1&c){const e=j();o(0,"div",124)(1,"div",125)(2,"span",126),f(3),m(4,"translate"),n(),v(5,"input",127,3),n(),o(7,"div",125)(8,"span",126),f(9),m(10,"translate"),n(),v(11,"input",127,4),n(),o(13,"div",125)(14,"span",126),f(15),m(16,"translate"),n(),v(17,"input",128,5),n(),o(19,"button",122),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(20,"svg",123),v(21,"path",96),n()()()}2&c&&(s(3),V(" ",_(4,3,"CREATE_RES_SPEC._from")," "),s(6),V(" ",_(10,5,"CREATE_RES_SPEC._to")," "),s(6),V(" ",_(16,7,"CREATE_RES_SPEC._unit")," "))}function YZ3(c,r){if(1&c){const e=j();o(0,"form",97)(1,"div")(2,"label",35),f(3),m(4,"translate"),n(),v(5,"input",98),n(),o(6,"div")(7,"label",99),f(8),m(9,"translate"),n(),o(10,"select",100),C("change",function(t){return y(e),b(h(2).onTypeChange(t))}),o(11,"option",101),f(12,"String"),n(),o(13,"option",102),f(14,"Number"),n(),o(15,"option",103),f(16,"Number range"),n()()(),o(17,"div",104)(18,"label",105),f(19),m(20,"translate"),n(),v(21,"textarea",106),n()(),o(22,"div",107),R(23,IZ3,6,4),o(24,"label",108),f(25),m(26,"translate"),n(),R(27,UZ3,6,0,"div",109)(28,jZ3,16,6)(29,$Z3,22,9),o(30,"div",110)(31,"button",111),C("click",function(){return y(e),b(h(2).saveChar())}),f(32),m(33,"translate"),w(),o(34,"svg",95),v(35,"path",112),n()()()()}if(2&c){const e=h(2);k("formGroup",e.charsForm),s(3),H(_(4,10,"CREATE_RES_SPEC._name")),s(5),H(_(9,12,"CREATE_RES_SPEC._type")),s(11),H(_(20,14,"CREATE_RES_SPEC._description")),s(4),S(23,e.creatingChars.length>0?23:-1),s(2),H(_(26,16,"CREATE_RES_SPEC._add_values")),s(2),S(27,e.stringCharSelected?27:e.numberCharSelected?28:e.rangeCharSelected?29:-1),s(4),k("disabled",!e.charsForm.valid||0==e.creatingChars.length)("ngClass",e.charsForm.valid&&0!=e.creatingChars.length?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(33,18,"CREATE_RES_SPEC._save_char")," ")}}function GZ3(c,r){if(1&c){const e=j();o(0,"h2",19),f(1),m(2,"translate"),n(),R(3,bZ3,9,3,"div",75)(4,EZ3,19,12)(5,AZ3,6,3,"div",76)(6,YZ3,36,20),o(7,"div",77)(8,"button",78),C("click",function(){y(e);const t=h();return t.showFinish(),b(t.charsDone=!0)}),f(9),m(10,"translate"),w(),o(11,"svg",71),v(12,"path",72),n()()()}if(2&c){const e=h();s(),H(_(2,4,"CREATE_RES_SPEC._chars")),s(2),S(3,0===e.prodChars.length?3:4),s(2),S(5,0==e.showCreateChar?5:6),s(4),V(" ",_(10,6,"CREATE_RES_SPEC._finish")," ")}}function qZ3(c,r){if(1&c&&(o(0,"span",133),f(1),n()),2&c){const e=h(2);s(),H(null==e.resourceToCreate?null:e.resourceToCreate.lifecycleStatus)}}function WZ3(c,r){if(1&c&&(o(0,"span",135),f(1),n()),2&c){const e=h(2);s(),H(null==e.resourceToCreate?null:e.resourceToCreate.lifecycleStatus)}}function ZZ3(c,r){if(1&c&&(o(0,"span",136),f(1),n()),2&c){const e=h(2);s(),H(null==e.resourceToCreate?null:e.resourceToCreate.lifecycleStatus)}}function KZ3(c,r){if(1&c&&(o(0,"span",137),f(1),n()),2&c){const e=h(2);s(),H(null==e.resourceToCreate?null:e.resourceToCreate.lifecycleStatus)}}function QZ3(c,r){if(1&c&&(o(0,"label",99),f(1),m(2,"translate"),n(),o(3,"div",138),v(4,"markdown",139),n()),2&c){const e=h(2);s(),H(_(2,2,"CREATE_PROD_SPEC._product_description")),s(3),k("data",null==e.resourceToCreate?null:e.resourceToCreate.description)}}function JZ3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function XZ3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function eK3(c,r){if(1&c&&R(0,JZ3,4,2)(1,XZ3,3,2),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function cK3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function aK3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function rK3(c,r){if(1&c&&R(0,cK3,4,3)(1,aK3,3,3),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function tK3(c,r){1&c&&R(0,eK3,2,1)(1,rK3,2,1),2&c&&S(0,r.$implicit.value?0:1)}function iK3(c,r){if(1&c&&(o(0,"tr",87)(1,"td",88),f(2),n(),o(3,"td",88),f(4),n(),o(5,"td",88),c1(6,tK3,2,1,null,null,z1),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),a1(e.resourceSpecCharacteristicValue)}}function oK3(c,r){if(1&c&&(o(0,"label",99),f(1),m(2,"translate"),n(),o(3,"div",140)(4,"table",83)(5,"thead",84)(6,"tr")(7,"th",85),f(8),m(9,"translate"),n(),o(10,"th",85),f(11),m(12,"translate"),n(),o(13,"th",85),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,iK3,8,2,"tr",87,z1),n()()()),2&c){const e=h(2);s(),H(_(2,4,"CREATE_PROD_SPEC._chars")),s(7),V(" ",_(9,6,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(12,8,"CREATE_PROD_SPEC._product_description")," "),s(3),V(" ",_(15,10,"CREATE_PROD_SPEC._values")," "),s(3),a1(null==e.resourceToCreate?null:e.resourceToCreate.resourceSpecCharacteristic)}}function nK3(c,r){if(1&c){const e=j();o(0,"h2",19),f(1),m(2,"translate"),n(),o(3,"div",129)(4,"div")(5,"label",99),f(6),m(7,"translate"),n(),o(8,"label",130),f(9),n()(),o(10,"div",131)(11,"label",132),f(12),m(13,"translate"),n(),R(14,qZ3,2,1,"span",133)(15,WZ3,2,1)(16,ZZ3,2,1)(17,KZ3,2,1),n(),R(18,QZ3,5,4)(19,oK3,19,12),o(20,"div",134)(21,"button",78),C("click",function(){return y(e),b(h().createResource())}),f(22),m(23,"translate"),w(),o(24,"svg",71),v(25,"path",72),n()()()()}if(2&c){const e=h();s(),H(_(2,8,"CREATE_PROD_SPEC._finish")),s(5),H(_(7,10,"CREATE_PROD_SPEC._product_name")),s(3),V(" ",null==e.resourceToCreate?null:e.resourceToCreate.name," "),s(3),H(_(13,12,"CREATE_PROD_SPEC._status")),s(2),S(14,"Active"==(null==e.resourceToCreate?null:e.resourceToCreate.lifecycleStatus)?14:"Launched"==(null==e.resourceToCreate?null:e.resourceToCreate.lifecycleStatus)?15:"Retired"==(null==e.resourceToCreate?null:e.resourceToCreate.lifecycleStatus)?16:"Obsolete"==(null==e.resourceToCreate?null:e.resourceToCreate.lifecycleStatus)?17:-1),s(4),S(18,""!=(null==e.resourceToCreate?null:e.resourceToCreate.description)?18:-1),s(),S(19,e.prodChars.length>0?19:-1),s(3),V(" ",_(23,14,"CREATE_RES_SPEC._create_res")," ")}}function sK3(c,r){1&c&&v(0,"error-message",33),2&c&&k("message",h().errorMessage)}let lK3=(()=>{class c{constructor(e,a,t,i,l,d){this.router=e,this.cdr=a,this.localStorage=t,this.eventMessage=i,this.elementRef=l,this.resSpecService=d,this.partyId="",this.stepsElements=["general-info","chars","summary"],this.stepsCircles=["general-circle","chars-circle","summary-circle"],this.showPreview=!1,this.showEmoji=!1,this.description="",this.showGeneral=!0,this.showChars=!1,this.showSummary=!1,this.generalDone=!1,this.charsDone=!1,this.finishDone=!1,this.generalForm=new S2({name:new u1("",[O1.required]),description:new u1("")}),this.charsForm=new S2({name:new u1("",[O1.required]),description:new u1("")}),this.stringCharSelected=!0,this.numberCharSelected=!1,this.rangeCharSelected=!1,this.prodChars=[],this.creatingChars=[],this.showCreateChar=!1,this.errorMessage="",this.showError=!1,this.eventMessage.messages$.subscribe(u=>{"ChangedSession"===u.type&&this.initPartyInfo()})}onClick(){1==this.showEmoji&&(this.showEmoji=!1,this.cdr.detectChanges())}ngOnInit(){this.initPartyInfo()}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0)if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}}goBack(){this.eventMessage.emitSellerResourceSpec(!0)}toggleGeneral(){this.selectStep("general-info","general-circle"),this.showGeneral=!0,this.showChars=!1,this.showSummary=!1,this.showPreview=!1}toggleChars(){this.selectStep("chars","chars-circle"),this.showGeneral=!1,this.showChars=!0,this.showSummary=!1,this.showPreview=!1}onTypeChange(e){"string"==e.target.value?(this.stringCharSelected=!0,this.numberCharSelected=!1,this.rangeCharSelected=!1):"number"==e.target.value?(this.stringCharSelected=!1,this.numberCharSelected=!0,this.rangeCharSelected=!1):(this.stringCharSelected=!1,this.numberCharSelected=!1,this.rangeCharSelected=!0),this.creatingChars=[]}addCharValue(){this.stringCharSelected?(console.log("string"),this.creatingChars.push(0==this.creatingChars.length?{isDefault:!0,value:this.charStringValue.nativeElement.value}:{isDefault:!1,value:this.charStringValue.nativeElement.value})):this.numberCharSelected?(console.log("number"),this.creatingChars.push(0==this.creatingChars.length?{isDefault:!0,value:this.charNumberValue.nativeElement.value,unitOfMeasure:this.charNumberUnit.nativeElement.value}:{isDefault:!1,value:this.charNumberValue.nativeElement.value,unitOfMeasure:this.charNumberUnit.nativeElement.value})):(console.log("range"),this.creatingChars.push(0==this.creatingChars.length?{isDefault:!0,valueFrom:this.charFromValue.nativeElement.value,valueTo:this.charToValue.nativeElement.value,unitOfMeasure:this.charRangeUnit.nativeElement.value}:{isDefault:!1,valueFrom:this.charFromValue.nativeElement.value,valueTo:this.charToValue.nativeElement.value,unitOfMeasure:this.charRangeUnit.nativeElement.value}))}selectDefaultChar(e,a){for(let t=0;tt.id===e.id);-1!==a&&(console.log("eliminar"),this.prodChars.splice(a,1)),this.cdr.detectChanges(),console.log(this.prodChars)}showFinish(){this.charsDone=!0,this.finishDone=!0,null!=this.generalForm.value.name&&(this.resourceToCreate={name:this.generalForm.value.name,description:null!=this.generalForm.value.description?this.generalForm.value.description:"",lifecycleStatus:"Active",resourceSpecCharacteristic:this.prodChars,relatedParty:[{id:this.partyId,role:"Owner","@referredType":""}]},console.log("SERVICE TO CREATE:"),console.log(this.resourceToCreate),this.showChars=!1,this.showGeneral=!1,this.showSummary=!0,this.selectStep("summary","summary-circle")),this.showPreview=!1}createResource(){this.resSpecService.postResSpec(this.resourceToCreate).subscribe({next:e=>{this.goBack(),console.log("serv created")},error:e=>{console.error("There was an error while creating!",e),e.error.error?(console.log(e),this.errorMessage="Error: "+e.error.error):this.errorMessage="There was an error while creating the resource!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}removeClass(e,a){e.className=(" "+e.className+" ").replace(" "+a+" "," ").replace(/^\s+|\s+$/g,"")}addClass(e,a){e.className+=" "+a}unselectMenu(e,a){null!=e&&(e.className.match(a)?this.removeClass(e,a):console.log("already unselected"))}selectMenu(e,a){null!=e&&(e.className.match(a)?console.log("already selected"):this.addClass(e,a))}selectStep(e,a){const t=this.stepsElements.findIndex(l=>l===e);if(-1!==t){this.stepsElements.splice(t,1),this.selectMenu(document.getElementById(e),"text-primary-100 dark:text-primary-50"),this.unselectMenu(document.getElementById(e),"text-gray-500");for(let l=0;ll===a);if(-1!==t){this.stepsCircles.splice(i,1),this.selectMenu(document.getElementById(a),"border-primary-100 dark:border-primary-50"),this.unselectMenu(document.getElementById(a),"border-gray-400");for(let l=0;l blockquote"})}addLink(){this.generalForm.patchValue({description:this.generalForm.value.description+" [title](https://www.example.com) "})}addTable(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"})}addEmoji(e){console.log(e),this.showEmoji=!1,this.generalForm.patchValue({description:this.generalForm.value.description+e.emoji.native})}togglePreview(){this.generalForm.value.description&&(this.description=this.generalForm.value.description)}static#e=this.\u0275fac=function(a){return new(a||c)(B(Z1),B(B1),B(R1),B(e2),B(v2),B(h4))};static#c=this.\u0275cmp=V1({type:c,selectors:[["create-resource-spec"]],viewQuery:function(a,t){if(1&a&&(b1(_Z3,5),b1(pZ3,5),b1(gZ3,5),b1(vZ3,5),b1(HZ3,5),b1(CZ3,5)),2&a){let i;M1(i=L1())&&(t.charStringValue=i.first),M1(i=L1())&&(t.charNumberValue=i.first),M1(i=L1())&&(t.charNumberUnit=i.first),M1(i=L1())&&(t.charFromValue=i.first),M1(i=L1())&&(t.charToValue=i.first),M1(i=L1())&&(t.charRangeUnit=i.first)}},hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},decls:64,vars:37,consts:[["stringValue",""],["numberValue",""],["numberUnit",""],["fromValue",""],["toValue",""],["rangeUnit",""],[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-gray-200","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800","dark:text-white"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","mt-4","p-8","rounded-lg"],[1,"text-3xl","font-bold","text-primary-100","ml-4","dark:text-white"],[1,"h-px","m-4","bg-gray-300","dark:bg-gray-200","border-0"],[1,"md:grid","md:grid-cols-25/75","xl:grid-cols-20/80"],[1,"flex","sm:flex-row","md:flex-col","md:mr-4","w-full","overflow-x-auto","max-w-[calc(100vw-5rem)]"],[1,"hidden","md:block","text-xl","font-bold","text-black","mb-4","dark:text-white"],["id","general-info",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-primary-100","dark:text-primary-50","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","general-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-primary-100","dark:border-primary-50","rounded-full","shrink-0"],[1,"flex","leading-tight","justify-start"],[1,"hidden","xl:flex","text-xs","justify-start"],[1,"h-px","mb-2","bg-gray-300","dark:bg-gray-200","border-0"],["id","chars",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","chars-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","summary",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","summary-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],[1,"fixed","w-fit","top-1/2","left-1/2",3,"message"],[1,"m-4","gap-4",3,"formGroup"],["for","prod-name",1,"font-bold","text-lg","dark:text-white"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],[1,"w-full","col-span-2","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200"],[1,"flex","items-center","justify-between","px-3","py-2","border-b"],[1,"flex","flex-wrap","items-center","divide-gray-200","dark:divide-secondary-200","sm:divide-x","sm:rtl:divide-x-reverse"],[1,"flex","items-center","space-x-1","rtl:space-x-reverse","sm:pe-4","text-gray-500","dark:text-gray-200"],["type","button",1,"p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 5h4.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0-7H6m2 7h6.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0 0H6"],[1,"sr-only"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8.874 19 6.143-14M6 19h6.33m-.66-14H18"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M9 8h10M9 12h10M9 16h10M4.99 8H5m-.02 4h.01m0 4H5"],["type","button",1,"hidden","lg:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4"],["type","button",1,"hidden","md:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["fill-rule","evenodd","d","M5 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm0 12a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm1.65-9.76A1 1 0 0 0 5 9v6a1 1 0 0 0 1.65.76l3.5-3a1 1 0 0 0 0-1.52l-3.5-3ZM12 10a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Zm0 4a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Z","clip-rule","evenodd"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-width","2","d","M3 11h18m-9 0v8m-8 0h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 3v4a1 1 0 0 1-1 1H5m5 4-2 2 2 2m4-4 2 2-2 2m5-12v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M13.213 9.787a3.391 3.391 0 0 0-4.795 0l-3.425 3.426a3.39 3.39 0 0 0 4.795 4.794l.321-.304m-.321-4.49a3.39 3.39 0 0 0 4.795 0l3.424-3.426a3.39 3.39 0 0 0-4.794-4.795l-1.028.961"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-4","h-4"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM13.5 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm-7 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm3.5 9.5A5.5 5.5 0 0 1 4.6 11h10.81A5.5 5.5 0 0 1 10 15.5Z"],["type","button","data-tooltip-target","tooltip-fullscreen",1,"rounded","cursor-pointer","text-gray-500","dark:text-gray-200","p-2","sm:ms-auto","hover:text-gray-900","dark:hover:text-gray-900","hover:bg-gray-100",3,"click"],["stroke","currentColor","stroke-width","2","d","M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z"],["stroke","currentColor","stroke-width","2","d","M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"],["id","tooltip-fullscreen","role","tooltip",1,"absolute","z-10","invisible","inline-block","px-3","py-2","text-sm","font-medium","text-white","transition-opacity","duration-300","bg-gray-900","rounded-lg","shadow-sm","opacity-0","tooltip"],["data-popper-arrow","",1,"tooltip-arrow"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","rounded-b-lg"],["for","editor",1,"sr-only"],[1,"bg-gray-50","dark:bg-secondary-300","dark:text-white","text-gray-900","text-wrap","break-all",3,"data"],[3,"darkMode","style"],[1,"flex","w-full","justify-items-end","justify-end"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],["id","editor","formControlName","description","rows","8","placeholder","Add product description...",1,"block","w-full","px-0","text-sm","text-gray-800","dark:text-gray-200","bg-white","dark:bg-secondary-300","border-0"],[3,"click","emojiClick","darkMode"],[1,"flex","justify-center","w-full","m-4"],[1,"flex","w-full","justify-items-center","justify-center"],[1,"flex","w-full","justify-items-end","justify-end","ml-4","mt-4"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","m-4"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"hidden","lg:table-cell","px-6","py-3"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"px-6","py-4","text-wrap","break-all"],[1,"hidden","lg:table-cell","px-6","py-4","text-wrap","break-all"],[1,"px-6","py-4"],[1,"font-bold","text-white","bg-red-500","rounded-3xl",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4","text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M6 18 17.94 6M18 18 6.06 6"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],[1,"m-4","md:grid","md:grid-cols-2","gap-4",3,"formGroup"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"font-bold","text-lg","dark:text-white"],["id","type",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],["selected","","value","string"],["value","number"],["value","range"],[1,"col-span-2"],["for","description",1,"font-bold","text-lg","dark:text-white"],["id","description","formControlName","description","rows","4",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"m-4"],["for","values",1,"font-bold","text-lg","dark:text-white"],[1,"flex","flex-row","items-center","align-items-middle"],[1,"flex","w-full","justify-items-center","justify-center","mt-4"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M11 16h2m6.707-9.293-2.414-2.414A1 1 0 0 0 16.586 4H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7.414a1 1 0 0 0-.293-.707ZM16 20v-6a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v6h8ZM9 4h6v3a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V4Z"],[1,"flex","flex-col","items-start","pl-4","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","border","border-gray-300","mb-2"],[1,"flex","w-full","justify-between"],[1,"align-items-middle","align-middle"],["id","disabled-checked-checkbox","type","checkbox","value","",1,"align-middle","w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded-full","focus:ring-blue-500","focus:ring-2",3,"click","checked"],["for","disabled-checked-checkbox",1,"ms-2","align-middle","text-sm","font-medium","text-gray-700","dark:text-white","text-wrap","break-all"],[1,"m-2","text-white","bg-red-500","rounded-3xl",3,"click"],["id","disabled-checked-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded-full","focus:ring-blue-500","focus:ring-2",3,"click","checked"],["for","disabled-checked-checkbox",1,"ms-2","text-sm","font-medium","text-gray-700","dark:text-white","text-wrap","break-all"],["type","text","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["type","button",1,"text-white","w-fit","h-full","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-white"],[1,"flex","flex-col","md:flex-row","items-center","align-items-middle"],[1,"flex","w-full","mb-2","md:mb-0"],[1,"inline-flex","items-center","px-3","text-sm","text-gray-900","bg-gray-200","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","border","rounded-e-0","border-gray-300","border-e-0","rounded-s-md","dark:text-white"],["type","number","pattern","[0-9]*","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["type","text","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"m-8"],[1,"mb-2","bg-gray-50","text-wrap","break-all","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"mb-4"],[1,"font-bold","text-lg","mr-4","dark:text-white"],[1,"bg-blue-100","dark:bg-secondary-100","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"flex","w-full","justify-items-end","justify-end","ml-4"],[1,"bg-blue-100","dark:bg-secondary-100","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-100","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-100","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","border","dark:border-secondary-200","rounded-lg","p-4","mb-4"],[1,"bg-gray-50","dark:bg-secondary-100","dark:text-white","text-gray-900","text-wrap","break-all",3,"data"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","mb-4"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",6)(2,"nav",7)(3,"ol",8)(4,"li",9)(5,"button",10),C("click",function(){return t.goBack()}),w(),o(6,"svg",11),v(7,"path",12),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",13)(11,"div",14),w(),o(12,"svg",15),v(13,"path",16),n(),O(),o(14,"span",17),f(15),m(16,"translate"),n()()()()()(),o(17,"div",18)(18,"h2",19),f(19),m(20,"translate"),n(),v(21,"hr",20),o(22,"div",21)(23,"div",22)(24,"h2",23),f(25),m(26,"translate"),n(),o(27,"button",24),C("click",function(){return t.toggleGeneral()}),o(28,"span",25),f(29," 1 "),n(),o(30,"span")(31,"h3",26),f(32),m(33,"translate"),n(),o(34,"p",27),f(35),m(36,"translate"),n()()(),v(37,"hr",28),o(38,"button",29),C("click",function(){return t.toggleChars()}),o(39,"span",30),f(40," 2 "),n(),o(41,"span")(42,"h3",26),f(43),m(44,"translate"),n(),o(45,"p",27),f(46),m(47,"translate"),n()()(),v(48,"hr",28),o(49,"button",31),C("click",function(){return t.showFinish()}),o(50,"span",32),f(51," 3 "),n(),o(52,"span")(53,"h3",26),f(54),m(55,"translate"),n(),o(56,"p",27),f(57),m(58,"translate"),n()()()(),o(59,"div"),R(60,yZ3,88,44)(61,GZ3,13,8)(62,nK3,26,16),n()()()(),R(63,sK3,1,1,"error-message",33)),2&a&&(s(8),V(" ",_(9,17,"CREATE_RES_SPEC._back")," "),s(7),H(_(16,19,"CREATE_RES_SPEC._create")),s(4),H(_(20,21,"CREATE_RES_SPEC._new")),s(6),H(_(26,23,"CREATE_RES_SPEC._steps")),s(2),k("disabled",!t.generalDone),s(5),H(_(33,25,"CREATE_RES_SPEC._general")),s(3),H(_(36,27,"CREATE_RES_SPEC._general_info")),s(3),k("disabled",!t.charsDone),s(5),H(_(44,29,"CREATE_RES_SPEC._chars")),s(3),H(_(47,31,"CREATE_RES_SPEC._chars_info")),s(3),k("disabled",!t.finishDone),s(5),H(_(55,33,"CREATE_PROD_SPEC._finish")),s(3),H(_(58,35,"CREATE_PROD_SPEC._summary")),s(3),S(60,t.showGeneral?60:-1),s(),S(61,t.showChars?61:-1),s(),S(62,t.showSummary?62:-1),s(),S(63,t.showError?63:-1))},dependencies:[k2,I4,x6,w6,H4,N4,O4,X4,f3,G3,_4,C4,J1]})}return c})();var Ba=W(4261);function fK3(c,r){if(1&c&&v(0,"categories-recursion",5),2&c){const e=r.$implicit,a=h(2);k("child",e)("selected",a.selected)("parent",a.child)("path",a.path+" / "+a.child.name)}}function dK3(c,r){1&c&&c1(0,fK3,1,4,"categories-recursion",5,z1),2&c&&a1(h().child.children)}let Yl=(()=>{class c{constructor(e,a){this.cdr=e,this.eventMessage=a}isCategorySelected(e){return null!=this.selected&&-1!==this.selected.findIndex(t=>t.id===e.id)}addCategory(e){this.eventMessage.emitCategoryAdded(e)}static#e=this.\u0275fac=function(a){return new(a||c)(B(B1),B(e2))};static#c=this.\u0275cmp=V1({type:c,selectors:[["categories-recursion"]],inputs:{child:"child",parent:"parent",selected:"selected",path:"path"},decls:11,vars:8,consts:[[1,"flex","border-b","hover:bg-gray-200","dark:border-gray-700","dark:bg-secondary-300","dark:hover:bg-secondary-200","w-full","justify-between"],[1,"flex","px-6","py-4","w-3/5"],[1,"hidden","md:flex","px-6","py-4","w-fit"],[1,"flex","px-6","py-4","w-fit","justify-end"],["id","select-checkbox","type","checkbox","value","",1,"flex","w-4","h-4","justify-end","text-blue-600","bg-gray-100","border-gray-300","rounded","focus:ring-blue-500","dark:focus:ring-blue-600","dark:ring-offset-gray-800","focus:ring-2","dark:bg-gray-700","dark:border-gray-600",3,"click","checked"],[1,"w-full",3,"child","selected","parent","path"]],template:function(a,t){1&a&&(o(0,"tr",0)(1,"td",1),f(2),o(3,"b"),f(4),n()(),o(5,"td",2),f(6),m(7,"date"),n(),o(8,"td",3)(9,"input",4),C("click",function(){return t.addCategory(t.child)}),n()()(),R(10,dK3,2,0)),2&a&&(s(2),V(" ",t.path," / "),s(2),H(t.child.name),s(2),V(" ",L2(7,5,t.child.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," "),s(3),k("checked",t.isCategorySelected(t.child)),s(),S(10,t.child.children&&t.child.children.length>0?10:-1))},dependencies:[c,Q4]})}return c})();const uK3=["updatemetric"],hK3=["responsemetric"],mK3=["delaymetric"],_K3=["usageUnit"],pK3=["usageUnitAlter"],gK3=["usageUnitUpdate"],Qt=(c,r)=>r.id,nm1=(c,r)=>r.code,Gl=()=>({position:"relative",left:"200px",top:"-500px"});function vK3(c,r){1&c&&v(0,"markdown",83),2&c&&k("data",h(2).description)}function HK3(c,r){1&c&&v(0,"textarea",89)}function CK3(c,r){if(1&c){const e=j();o(0,"emoji-mart",90),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(2).addEmoji(t))}),n()}2&c&&(Y2(A4(3,Gl)),k("darkMode",!1))}function zK3(c,r){if(1&c){const e=j();o(0,"h2",20),f(1),m(2,"translate"),n(),o(3,"form",47)(4,"div")(5,"label",48),f(6),m(7,"translate"),n(),v(8,"input",49),n(),o(9,"div")(10,"label",50),f(11),m(12,"translate"),n(),v(13,"input",51),n(),o(14,"label",52),f(15),m(16,"translate"),n(),o(17,"div",53)(18,"div",54)(19,"div",55)(20,"div",56)(21,"button",57),C("click",function(){return y(e),b(h().addBold())}),w(),o(22,"svg",58),v(23,"path",59),n(),O(),o(24,"span",60),f(25,"Bold"),n()(),o(26,"button",57),C("click",function(){return y(e),b(h().addItalic())}),w(),o(27,"svg",58),v(28,"path",61),n(),O(),o(29,"span",60),f(30,"Italic"),n()(),o(31,"button",57),C("click",function(){return y(e),b(h().addList())}),w(),o(32,"svg",62),v(33,"path",63),n(),O(),o(34,"span",60),f(35,"Add list"),n()(),o(36,"button",64),C("click",function(){return y(e),b(h().addOrderedList())}),w(),o(37,"svg",62),v(38,"path",65),n(),O(),o(39,"span",60),f(40,"Add ordered list"),n()(),o(41,"button",66),C("click",function(){return y(e),b(h().addBlockquote())}),w(),o(42,"svg",67),v(43,"path",68),n(),O(),o(44,"span",60),f(45,"Add blockquote"),n()(),o(46,"button",57),C("click",function(){return y(e),b(h().addTable())}),w(),o(47,"svg",69),v(48,"path",70),n(),O(),o(49,"span",60),f(50,"Add table"),n()(),o(51,"button",66),C("click",function(){return y(e),b(h().addCode())}),w(),o(52,"svg",69),v(53,"path",71),n(),O(),o(54,"span",60),f(55,"Add code"),n()(),o(56,"button",66),C("click",function(){return y(e),b(h().addCodeBlock())}),w(),o(57,"svg",69),v(58,"path",72),n(),O(),o(59,"span",60),f(60,"Add code block"),n()(),o(61,"button",66),C("click",function(){return y(e),b(h().addLink())}),w(),o(62,"svg",69),v(63,"path",73),n(),O(),o(64,"span",60),f(65,"Add link"),n()(),o(66,"button",66),C("click",function(t){y(e);const i=h();return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(67,"svg",74),v(68,"path",75),n(),O(),o(69,"span",60),f(70,"Add emoji"),n()()()(),o(71,"button",76),C("click",function(){y(e);const t=h();return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(72,"svg",62),v(73,"path",77)(74,"path",78),n(),O(),o(75,"span",60),f(76),m(77,"translate"),n()(),o(78,"div",79),f(79),m(80,"translate"),v(81,"div",80),n()(),o(82,"div",81)(83,"label",82),f(84,"Publish post"),n(),R(85,vK3,1,1,"markdown",83)(86,HK3,1,0)(87,CK3,1,4,"emoji-mart",84),n()()(),o(88,"div",85)(89,"button",86),C("click",function(){y(e);const t=h();return t.toggleBundle(),b(t.generalDone=!0)}),f(90),m(91,"translate"),w(),o(92,"svg",87),v(93,"path",88),n()()()}if(2&c){let e,a;const t=h();s(),H(_(2,34,"CREATE_OFFER._general")),s(2),k("formGroup",t.generalForm),s(3),H(_(7,36,"CREATE_OFFER._name")),s(2),k("ngClass",1==(null==(e=t.generalForm.get("name"))?null:e.invalid)&&""!=t.generalForm.value.name?"border-red-600":"border-gray-300"),s(3),H(_(12,38,"CREATE_OFFER._version")),s(2),k("ngClass",1==(null==(a=t.generalForm.get("version"))?null:a.invalid)?"border-red-600":"border-gray-300"),s(2),H(_(16,40,"CREATE_OFFER._description")),s(6),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(77,42,"CREATE_CATALOG._preview")),s(3),V(" ",_(80,44,"CREATE_CATALOG._show_preview")," "),s(6),S(85,t.showPreview?85:86),s(2),S(87,t.showEmoji?87:-1),s(2),k("disabled",!t.generalForm.valid)("ngClass",t.generalForm.valid?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(91,46,"CREATE_OFFER._next")," ")}}function VK3(c,r){1&c&&(o(0,"div",98),w(),o(1,"svg",99),v(2,"path",100)(3,"path",101),n(),O(),o(4,"span",60),f(5,"Loading..."),n()())}function MK3(c,r){1&c&&(o(0,"div",102)(1,"div",103),w(),o(2,"svg",104),v(3,"path",105),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_offerings")," "))}function LK3(c,r){if(1&c&&(o(0,"span",115),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function yK3(c,r){if(1&c&&(o(0,"span",119),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function bK3(c,r){if(1&c&&(o(0,"span",120),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function xK3(c,r){if(1&c&&(o(0,"span",121),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function wK3(c,r){1&c&&(o(0,"span",115),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"CREATE_OFFER._simple")))}function FK3(c,r){1&c&&(o(0,"span",119),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"CREATE_OFFER._bundle")))}function kK3(c,r){if(1&c){const e=j();o(0,"tr",112)(1,"td",113),f(2),n(),o(3,"td",114),R(4,LK3,2,1,"span",115)(5,yK3,2,1)(6,bK3,2,1)(7,xK3,2,1),n(),o(8,"td",114),R(9,wK3,3,3,"span",115)(10,FK3,3,3),n(),o(11,"td",116),f(12),m(13,"date"),n(),o(14,"td",117)(15,"input",118),C("click",function(){const t=y(e).$implicit;return b(h(5).addProdToBundle(t))}),n()()()}if(2&c){const e=r.$implicit,a=h(5);s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1),s(5),S(9,0==e.isBundle?9:10),s(3),V(" ",L2(13,5,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," "),s(3),k("checked",a.isProdInBundle(e))}}function SK3(c,r){1&c&&(o(0,"div",102)(1,"div",103),w(),o(2,"svg",104),v(3,"path",105),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"CREATE_OFFER._no_offer")," "))}function NK3(c,r){if(1&c&&(o(0,"div",106)(1,"table",107)(2,"thead",108)(3,"tr")(4,"th",109),f(5),m(6,"translate"),n(),o(7,"th",110),f(8),m(9,"translate"),n(),o(10,"th",110),f(11),m(12,"translate"),n(),o(13,"th",111),f(14),m(15,"translate"),n(),o(16,"th",109),f(17),m(18,"translate"),n()()(),o(19,"tbody"),c1(20,kK3,16,8,"tr",112,Qt,!1,SK3,7,3,"div",102),n()()()),2&c){const e=h(4);s(5),V(" ",_(6,6,"CREATE_OFFER._name")," "),s(3),V(" ",_(9,8,"CREATE_OFFER._status")," "),s(3),V(" ",_(12,10,"CREATE_OFFER._type")," "),s(3),V(" ",_(15,12,"CREATE_OFFER._last_update")," "),s(3),V(" ",_(18,14,"CREATE_OFFER._select")," "),s(3),a1(e.bundledOffers)}}function DK3(c,r){1&c&&R(0,MK3,7,3,"div",102)(1,NK3,23,16),2&c&&S(0,0==h(3).bundledOffers.length?0:1)}function TK3(c,r){if(1&c){const e=j();o(0,"div",122)(1,"button",123),C("click",function(){return y(e),b(h(4).nextBundle())}),f(2),m(3,"translate"),w(),o(4,"svg",124),v(5,"path",125),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_OFFER._load_more")," "))}function EK3(c,r){1&c&&R(0,TK3,6,3,"div",122),2&c&&S(0,h(3).bundlePageCheck?0:-1)}function AK3(c,r){1&c&&(o(0,"div",126),w(),o(1,"svg",99),v(2,"path",100)(3,"path",101),n(),O(),o(4,"span",60),f(5,"Loading..."),n()())}function PK3(c,r){if(1&c&&R(0,VK3,6,0,"div",98)(1,DK3,2,1)(2,EK3,1,1)(3,AK3,6,0),2&c){const e=h(2);S(0,e.loadingBundle?0:1),s(2),S(2,e.loadingBundle_more?3:2)}}function RK3(c,r){if(1&c){const e=j();o(0,"h2",91),f(1),m(2,"translate"),n(),o(3,"div",92)(4,"label",93),f(5),m(6,"translate"),n(),o(7,"label",94)(8,"input",95),C("change",function(){return y(e),b(h().toggleBundleCheck())}),n(),v(9,"div",96),n()(),R(10,PK3,4,2),o(11,"div",85)(12,"button",97),C("click",function(){y(e);const t=h();return t.toggleProdSpec(),b(t.bundleDone=!0)}),f(13),m(14,"translate"),w(),o(15,"svg",87),v(16,"path",88),n()()()}if(2&c){const e=h();s(),H(_(2,7,"CREATE_OFFER._bundle")),s(4),H(_(6,9,"CREATE_OFFER._is_bundled")),s(3),k("checked",e.bundleChecked),s(2),S(10,e.bundleChecked?10:-1),s(2),k("disabled",e.offersBundle.length<2&&e.bundleChecked)("ngClass",e.offersBundle.length<2&&e.bundleChecked?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(14,11,"CREATE_OFFER._next")," ")}}function BK3(c,r){1&c&&(o(0,"div",102)(1,"div",103),w(),o(2,"svg",104),v(3,"path",105),n(),O(),o(4,"span",60),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"CREATE_OFFER._no_prod_spec")," "))}function OK3(c,r){1&c&&(o(0,"div",98),w(),o(1,"svg",99),v(2,"path",100)(3,"path",101),n(),O(),o(4,"span",60),f(5,"Loading..."),n()())}function IK3(c,r){1&c&&(o(0,"div",102)(1,"div",103),w(),o(2,"svg",104),v(3,"path",105),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_prod")," "))}function UK3(c,r){if(1&c&&(o(0,"span",115),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function jK3(c,r){if(1&c&&(o(0,"span",119),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function $K3(c,r){if(1&c&&(o(0,"span",120),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function YK3(c,r){if(1&c&&(o(0,"span",121),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function GK3(c,r){1&c&&(o(0,"span",115),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"OFFERINGS._simple")))}function qK3(c,r){1&c&&(o(0,"span",119),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"OFFERINGS._bundle")))}function WK3(c,r){if(1&c){const e=j();o(0,"tr",130),C("click",function(){const t=y(e).$implicit;return b(h(5).selectProdSpec(t))}),o(1,"td",113),f(2),n(),o(3,"td",114),R(4,UK3,2,1,"span",115)(5,jK3,2,1)(6,$K3,2,1)(7,YK3,2,1),n(),o(8,"td",114),R(9,GK3,3,3,"span",115)(10,qK3,3,3),n(),o(11,"td",114),f(12),m(13,"date"),n()()}if(2&c){const e=r.$implicit,a=h(5);k("ngClass",e.id==a.selectedProdSpec.id?"bg-gray-300 dark:bg-secondary-200":"bg-white dark:bg-secondary-300"),s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1),s(5),S(9,0==e.isBundle?9:10),s(3),V(" ",L2(13,5,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," ")}}function ZK3(c,r){if(1&c&&(o(0,"div",128)(1,"table",107)(2,"thead",108)(3,"tr")(4,"th",109),f(5),m(6,"translate"),n(),o(7,"th",110),f(8),m(9,"translate"),n(),o(10,"th",110),f(11),m(12,"translate"),n(),o(13,"th",110),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,WK3,14,8,"tr",129,z1),n()()()),2&c){const e=h(4);s(5),V(" ",_(6,4,"OFFERINGS._name")," "),s(3),V(" ",_(9,6,"OFFERINGS._status")," "),s(3),V(" ",_(12,8,"OFFERINGS._type")," "),s(3),V(" ",_(15,10,"OFFERINGS._last_update")," "),s(3),a1(e.prodSpecs)}}function KK3(c,r){if(1&c){const e=j();o(0,"div",122)(1,"button",123),C("click",function(){return y(e),b(h(5).nextProdSpec())}),f(2),m(3,"translate"),w(),o(4,"svg",124),v(5,"path",125),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_PROD_SPEC._load_more")," "))}function QK3(c,r){1&c&&R(0,KK3,6,3,"div",122),2&c&&S(0,h(4).prodSpecPageCheck?0:-1)}function JK3(c,r){1&c&&(o(0,"div",126),w(),o(1,"svg",99),v(2,"path",100)(3,"path",101),n(),O(),o(4,"span",60),f(5,"Loading..."),n()())}function XK3(c,r){if(1&c&&R(0,IK3,7,3,"div",102)(1,ZK3,19,12)(2,QK3,1,1)(3,JK3,6,0),2&c){const e=h(3);S(0,0==e.prodSpecs.length?0:1),s(2),S(2,e.loadingProdSpec_more?3:2)}}function eQ3(c,r){1&c&&R(0,OK3,6,0,"div",98)(1,XK3,4,2),2&c&&S(0,h(2).loadingProdSpec?0:1)}function cQ3(c,r){if(1&c){const e=j();o(0,"h2",91),f(1),m(2,"translate"),n(),o(3,"div",127),R(4,BK3,9,3,"div",102)(5,eQ3,2,1),o(6,"div",85)(7,"button",97),C("click",function(){y(e);const t=h();return t.toggleCatalogs(),b(t.prodSpecDone=!0)}),f(8),m(9,"translate"),w(),o(10,"svg",87),v(11,"path",88),n()()()()}if(2&c){const e=h();s(),H(_(2,5,"OFFERINGS._prod_spec")),s(3),S(4,e.bundleChecked?4:5),s(3),k("disabled",""==e.selectedProdSpec.id&&!e.bundleChecked)("ngClass",""!=e.selectedProdSpec.id||e.bundleChecked?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(9,7,"CREATE_OFFER._next")," ")}}function aQ3(c,r){1&c&&(o(0,"div",98),w(),o(1,"svg",99),v(2,"path",100)(3,"path",101),n(),O(),o(4,"span",60),f(5,"Loading..."),n()())}function rQ3(c,r){1&c&&(o(0,"div",102)(1,"div",103),w(),o(2,"svg",104),v(3,"path",105),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_cat")," "))}function tQ3(c,r){if(1&c&&(o(0,"span",115),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function iQ3(c,r){if(1&c&&(o(0,"span",119),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function oQ3(c,r){if(1&c&&(o(0,"span",120),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function nQ3(c,r){if(1&c&&(o(0,"span",121),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function sQ3(c,r){if(1&c){const e=j();o(0,"tr",130),C("click",function(){const t=y(e).$implicit;return b(h(4).selectCatalog(t))}),o(1,"td",113),f(2),n(),o(3,"td",114),R(4,tQ3,2,1,"span",115)(5,iQ3,2,1)(6,oQ3,2,1)(7,nQ3,2,1),n(),o(8,"td",114),f(9),n()()}if(2&c){let e;const a=r.$implicit,t=h(4);k("ngClass",a.id==t.selectedCatalog.id?"bg-gray-300 dark:bg-secondary-200":"bg-white dark:bg-secondary-300"),s(2),V(" ",a.name," "),s(2),S(4,"Active"==a.lifecycleStatus?4:"Launched"==a.lifecycleStatus?5:"suspended"==a.lifecycleStatus?6:"terminated"==a.lifecycleStatus?7:-1),s(5),V(" ",null==a.relatedParty||null==(e=a.relatedParty.at(0))?null:e.role," ")}}function lQ3(c,r){if(1&c&&(o(0,"div",132)(1,"table",107)(2,"thead",108)(3,"tr")(4,"th",109),f(5),m(6,"translate"),n(),o(7,"th",110),f(8),m(9,"translate"),n(),o(10,"th",110),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,sQ3,10,4,"tr",129,z1),n()()()),2&c){const e=h(3);s(5),V(" ",_(6,3,"OFFERINGS._name")," "),s(3),V(" ",_(9,5,"OFFERINGS._status")," "),s(3),V(" ",_(12,7,"OFFERINGS._role")," "),s(3),a1(e.catalogs)}}function fQ3(c,r){if(1&c){const e=j();o(0,"div",122)(1,"button",123),C("click",function(){return y(e),b(h(4).nextCatalog())}),f(2),m(3,"translate"),w(),o(4,"svg",124),v(5,"path",125),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_PROD_SPEC._load_more")," "))}function dQ3(c,r){1&c&&R(0,fQ3,6,3,"div",122),2&c&&S(0,h(3).catalogPageCheck?0:-1)}function uQ3(c,r){1&c&&(o(0,"div",126),w(),o(1,"svg",99),v(2,"path",100)(3,"path",101),n(),O(),o(4,"span",60),f(5,"Loading..."),n()())}function hQ3(c,r){if(1&c&&R(0,rQ3,7,3,"div",102)(1,lQ3,16,9)(2,dQ3,1,1)(3,uQ3,6,0),2&c){const e=h(2);S(0,0==e.catalogs.length?0:1),s(2),S(2,e.loadingCatalog_more?3:2)}}function mQ3(c,r){if(1&c){const e=j();o(0,"h2",91),f(1),m(2,"translate"),n(),o(3,"div",127),R(4,aQ3,6,0,"div",98)(5,hQ3,4,2),o(6,"div",131)(7,"button",97),C("click",function(){y(e);const t=h();return t.toggleCategories(),b(t.catalogsDone=!0)}),f(8),m(9,"translate"),w(),o(10,"svg",87),v(11,"path",88),n()()()()}if(2&c){const e=h();s(),H(_(2,5,"CREATE_OFFER._catalog")),s(3),S(4,e.loadingCatalog?4:5),s(3),k("disabled",""==e.selectedCatalog.id)("ngClass",""==e.selectedCatalog.id?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(9,7,"CREATE_OFFER._next")," ")}}function _Q3(c,r){1&c&&(o(0,"div",98),w(),o(1,"svg",99),v(2,"path",100)(3,"path",101),n(),O(),o(4,"span",60),f(5,"Loading..."),n()())}function pQ3(c,r){1&c&&(o(0,"div",102)(1,"div",103),w(),o(2,"svg",104),v(3,"path",105),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_categories")," "))}function gQ3(c,r){if(1&c&&(o(0,"tr",144)(1,"td",145),v(2,"categories-recursion",146),n()()),2&c){const e=r.$implicit,a=h(2).$implicit,t=h(4);s(2),k("child",e)("parent",a)("selected",t.selectedCategories)("path",a.name)}}function vQ3(c,r){1&c&&c1(0,gQ3,3,4,"tr",144,z1),2&c&&a1(h().$implicit.children)}function HQ3(c,r){if(1&c){const e=j();o(0,"tr",139)(1,"td",140)(2,"b"),f(3),n()(),o(4,"td",141),f(5),m(6,"date"),n(),o(7,"td",142)(8,"input",143),C("click",function(){const t=y(e).$implicit;return b(h(4).addCategory(t))}),n()()(),R(9,vQ3,2,0)}if(2&c){const e=r.$implicit,a=h(4);s(3),H(e.name),s(2),V(" ",L2(6,4,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," "),s(3),k("checked",a.isCategorySelected(e)),s(),S(9,e.children.length>0?9:-1)}}function CQ3(c,r){if(1&c&&(o(0,"div",132)(1,"table",107)(2,"thead",108)(3,"tr",135)(4,"th",136),f(5),m(6,"translate"),n(),o(7,"th",137),f(8),m(9,"translate"),n(),o(10,"th",138),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,HQ3,10,7,null,null,Qt),n()()()),2&c){const e=h(3);s(5),V(" ",_(6,3,"CREATE_OFFER._name")," "),s(3),V(" ",_(9,5,"CREATE_OFFER._last_update")," "),s(3),V(" ",_(12,7,"CREATE_OFFER._select")," "),s(3),a1(e.categories)}}function zQ3(c,r){1&c&&R(0,pQ3,7,3,"div",102)(1,CQ3,16,9),2&c&&S(0,0==h(2).categories.length?0:1)}function VQ3(c,r){if(1&c){const e=j();o(0,"h2",91),f(1),m(2,"translate"),n(),o(3,"div",127),R(4,_Q3,6,0,"div",98)(5,zQ3,2,1),o(6,"div",133)(7,"button",134),C("click",function(){y(e);const t=h();return t.toggleLicense(),b(t.categoriesDone=!0)}),f(8),m(9,"translate"),w(),o(10,"svg",87),v(11,"path",88),n()()()()}if(2&c){const e=h();s(),H(_(2,3,"CREATE_OFFER._category")),s(3),S(4,e.loadingCategory?4:5),s(4),V(" ",_(9,5,"CREATE_OFFER._next")," ")}}function MQ3(c,r){1&c&&v(0,"markdown",83),2&c&&k("data",h(3).licenseDescription)}function LQ3(c,r){1&c&&v(0,"textarea",89)}function yQ3(c,r){if(1&c){const e=j();o(0,"emoji-mart",90),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(3).addEmoji(t))}),n()}2&c&&(Y2(A4(3,Gl)),k("darkMode",!1))}function bQ3(c,r){if(1&c){const e=j();o(0,"div",147)(1,"form",148)(2,"label",149),f(3),m(4,"translate"),n(),v(5,"input",150),o(6,"label",151),f(7),m(8,"translate"),n(),o(9,"div",152)(10,"div",54)(11,"div",55)(12,"div",56)(13,"button",57),C("click",function(){return y(e),b(h(2).addBold())}),w(),o(14,"svg",58),v(15,"path",59),n(),O(),o(16,"span",60),f(17,"Bold"),n()(),o(18,"button",57),C("click",function(){return y(e),b(h(2).addItalic())}),w(),o(19,"svg",58),v(20,"path",61),n(),O(),o(21,"span",60),f(22,"Italic"),n()(),o(23,"button",57),C("click",function(){return y(e),b(h(2).addList())}),w(),o(24,"svg",62),v(25,"path",63),n(),O(),o(26,"span",60),f(27,"Add list"),n()(),o(28,"button",64),C("click",function(){return y(e),b(h(2).addOrderedList())}),w(),o(29,"svg",62),v(30,"path",65),n(),O(),o(31,"span",60),f(32,"Add ordered list"),n()(),o(33,"button",66),C("click",function(){return y(e),b(h(2).addBlockquote())}),w(),o(34,"svg",67),v(35,"path",68),n(),O(),o(36,"span",60),f(37,"Add blockquote"),n()(),o(38,"button",57),C("click",function(){return y(e),b(h(2).addTable())}),w(),o(39,"svg",69),v(40,"path",70),n(),O(),o(41,"span",60),f(42,"Add table"),n()(),o(43,"button",66),C("click",function(){return y(e),b(h(2).addCode())}),w(),o(44,"svg",69),v(45,"path",71),n(),O(),o(46,"span",60),f(47,"Add code"),n()(),o(48,"button",66),C("click",function(){return y(e),b(h(2).addCodeBlock())}),w(),o(49,"svg",69),v(50,"path",72),n(),O(),o(51,"span",60),f(52,"Add code block"),n()(),o(53,"button",66),C("click",function(){return y(e),b(h(2).addLink())}),w(),o(54,"svg",69),v(55,"path",73),n(),O(),o(56,"span",60),f(57,"Add link"),n()(),o(58,"button",64),C("click",function(t){y(e);const i=h(2);return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(59,"svg",74),v(60,"path",75),n(),O(),o(61,"span",60),f(62,"Add emoji"),n()()()(),o(63,"button",76),C("click",function(){y(e);const t=h(2);return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(64,"svg",62),v(65,"path",77)(66,"path",78),n(),O(),o(67,"span",60),f(68),m(69,"translate"),n()(),o(70,"div",79),f(71),m(72,"translate"),v(73,"div",80),n()(),o(74,"div",81)(75,"label",82),f(76,"Publish post"),n(),R(77,MQ3,1,1,"markdown",83)(78,LQ3,1,0)(79,yQ3,1,4,"emoji-mart",84),n()()(),o(80,"div",153)(81,"button",154),C("click",function(){return y(e),b(h(2).clearLicense())}),f(82),m(83,"translate"),n()()()}if(2&c){let e;const a=h(2);s(),k("formGroup",a.licenseForm),s(2),H(_(4,29,"CREATE_OFFER._treatment")),s(2),k("ngClass",1==(null==(e=a.licenseForm.get("treatment"))?null:e.invalid)&&""!=a.licenseForm.value.treatment?"border-red-600":"border-gray-300"),s(2),H(_(8,31,"CREATE_OFFER._description")),s(6),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(69,33,"CREATE_CATALOG._preview")),s(3),V(" ",_(72,35,"CREATE_CATALOG._show_preview")," "),s(6),S(77,a.showPreview?77:78),s(2),S(79,a.showEmoji?79:-1),s(3),V(" ",_(83,37,"CREATE_OFFER._cancel")," ")}}function xQ3(c,r){if(1&c){const e=j();o(0,"div",155)(1,"button",154),C("click",function(){y(e);const t=h(2);return b(t.freeLicenseSelected=!t.freeLicenseSelected)}),f(2),m(3,"translate"),w(),o(4,"svg",156),v(5,"path",125),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_OFFER._create_license")," "))}function wQ3(c,r){if(1&c){const e=j();o(0,"h2",91),f(1),m(2,"translate"),n(),o(3,"div",127),R(4,bQ3,84,39,"div",147)(5,xQ3,6,3),o(6,"div",131)(7,"button",97),C("click",function(){y(e);const t=h();return t.togglePrice(),b(t.licenseDone=!0)}),f(8),m(9,"translate"),w(),o(10,"svg",87),v(11,"path",88),n()()()()}if(2&c){const e=h();s(),H(_(2,5,"CREATE_OFFER._license")),s(3),S(4,e.freeLicenseSelected?5:4),s(3),k("disabled",!e.licenseForm.valid&&!e.freeLicenseSelected)("ngClass",e.licenseForm.valid||e.freeLicenseSelected?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(9,7,"CREATE_OFFER._next")," ")}}function FQ3(c,r){1&c&&(o(0,"div",102)(1,"div",103),w(),o(2,"svg",104),v(3,"path",105),n(),O(),o(4,"span",60),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"CREATE_OFFER._no_sla")," "))}function kQ3(c,r){if(1&c){const e=j();o(0,"tr",160)(1,"td",117),f(2),n(),o(3,"td",113),f(4),n(),o(5,"td",117),f(6),n(),o(7,"td",117),f(8),n(),o(9,"td",117)(10,"button",161),C("click",function(){const t=y(e).$implicit;return b(h(3).removeSLA(t))}),w(),o(11,"svg",162),v(12,"path",163),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.type," "),s(2),V(" ",e.description," "),s(2),V(" ",e.threshold," "),s(2),V(" ",e.unitMeasure," ")}}function SQ3(c,r){if(1&c&&(o(0,"div",157)(1,"table",158)(2,"thead",159)(3,"tr")(4,"th",109),f(5),m(6,"translate"),n(),o(7,"th",109),f(8),m(9,"translate"),n(),o(10,"th",109),f(11),m(12,"translate"),n(),o(13,"th",109),f(14),m(15,"translate"),n(),o(16,"th",109),f(17),m(18,"translate"),n()()(),o(19,"tbody"),c1(20,kQ3,13,4,"tr",160,z1),n()()()),2&c){const e=h(2);s(5),V(" ",_(6,5,"CREATE_OFFER._name")," "),s(3),V(" ",_(9,7,"CREATE_OFFER._description")," "),s(3),V(" ",_(12,9,"CREATE_OFFER._threshold")," "),s(3),V(" ",_(15,11,"CREATE_OFFER._unit")," "),s(3),V(" ",_(18,13,"CREATE_OFFER._actions")," "),s(3),a1(e.createdSLAs)}}function NQ3(c,r){if(1&c){const e=j();o(0,"div",155)(1,"button",154),C("click",function(){return y(e),b(h(2).showCreateSLAMetric())}),f(2),m(3,"translate"),w(),o(4,"svg",156),v(5,"path",125),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_OFFER._new_metric")," "))}function DQ3(c,r){if(1&c&&(o(0,"option",165),f(1),n()),2&c){const e=r.$implicit;E1("value",e),s(),H(e)}}function TQ3(c,r){if(1&c){const e=j();o(0,"div",166)(1,"div",168),v(2,"input",169,0),o(4,"select",170),C("change",function(t){return y(e),b(h(3).onSLAMetricChange(t))}),o(5,"option",171),f(6,"Day"),n(),o(7,"option",172),f(8,"Week"),n(),o(9,"option",173),f(10,"Month"),n()()()()}}function EQ3(c,r){if(1&c){const e=j();o(0,"div",166)(1,"div",168),v(2,"input",169,1),o(4,"select",170),C("change",function(t){return y(e),b(h(3).onSLAMetricChange(t))}),o(5,"option",174),f(6,"Ms"),n(),o(7,"option",175),f(8,"S"),n(),o(9,"option",176),f(10,"Min"),n()()()()}}function AQ3(c,r){if(1&c){const e=j();o(0,"div",166)(1,"div",168),v(2,"input",169,2),o(4,"select",170),C("change",function(t){return y(e),b(h(3).onSLAMetricChange(t))}),o(5,"option",174),f(6,"Ms"),n(),o(7,"option",175),f(8,"S"),n(),o(9,"option",176),f(10,"Min"),n()()()()}}function PQ3(c,r){if(1&c){const e=j();o(0,"select",164),C("change",function(t){return y(e),b(h(2).onSLAChange(t))}),c1(1,DQ3,2,2,"option",165,z1),n(),R(3,TQ3,11,0,"div",166)(4,EQ3,11,0,"div",166)(5,AQ3,11,0,"div",166),o(6,"div",155)(7,"button",154),C("click",function(){return y(e),b(h(2).addSLA())}),f(8),m(9,"translate"),w(),o(10,"svg",156),v(11,"path",167),n()()()}if(2&c){const e=h(2);s(),a1(e.availableSLAs),s(2),S(3,e.updatesSelected?3:-1),s(),S(4,e.responseSelected?4:-1),s(),S(5,e.delaySelected?5:-1),s(3),V(" ",_(9,4,"CREATE_OFFER._add_metric")," ")}}function RQ3(c,r){if(1&c){const e=j();o(0,"h2",91),f(1),m(2,"translate"),n(),R(3,FQ3,9,3,"div",102)(4,SQ3,22,15)(5,NQ3,6,3,"div",155)(6,PQ3,12,6),o(7,"div",131)(8,"button",134),C("click",function(){y(e);const t=h();return t.togglePrice(),b(t.slaDone=!0)}),f(9),m(10,"translate"),w(),o(11,"svg",87),v(12,"path",88),n()()()}if(2&c){const e=h();s(),H(_(2,5,"CREATE_OFFER._sla")),s(2),S(3,0===e.createdSLAs.length?3:4),s(2),S(5,0!=e.availableSLAs.length?5:-1),s(),S(6,e.showCreateSLA?6:-1),s(3),V(" ",_(10,7,"CREATE_OFFER._next")," ")}}function BQ3(c,r){1&c&&(o(0,"div",102)(1,"div",103),w(),o(2,"svg",104),v(3,"path",105),n(),O(),o(4,"span",60),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"CREATE_OFFER._no_prices")," "))}function OQ3(c,r){if(1&c){const e=j();o(0,"tr",112)(1,"td",178),f(2),n(),o(3,"td",179),f(4),n(),o(5,"td",114),f(6),n(),o(7,"td",117),f(8),n(),o(9,"td",117),f(10),n(),o(11,"td",180)(12,"button",161),C("click",function(){const t=y(e).$implicit;return b(h(3).removePrice(t))}),w(),o(13,"svg",162),v(14,"path",163),n()(),O(),o(15,"button",181),C("click",function(t){const i=y(e).$implicit;return h(3).showUpdatePrice(i),b(t.stopPropagation())}),w(),o(16,"svg",182),v(17,"path",183),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),V(" ",e.priceType," "),s(2),V(" ",null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.value," "),s(2),V(" ",null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.unit," ")}}function IQ3(c,r){if(1&c&&(o(0,"div",157)(1,"table",107)(2,"thead",108)(3,"tr")(4,"th",109),f(5),m(6,"translate"),n(),o(7,"th",177),f(8),m(9,"translate"),n(),o(10,"th",110),f(11),m(12,"translate"),n(),o(13,"th",109),f(14),m(15,"translate"),n(),o(16,"th",109),f(17),m(18,"translate"),n(),o(19,"th",109),f(20),m(21,"translate"),n()()(),o(22,"tbody"),c1(23,OQ3,18,5,"tr",112,Qt),n()()()),2&c){const e=h(2);s(5),V(" ",_(6,6,"CREATE_OFFER._name")," "),s(3),V(" ",_(9,8,"CREATE_OFFER._description")," "),s(3),V(" ",_(12,10,"CREATE_OFFER._type")," "),s(3),V(" ",_(15,12,"CREATE_OFFER._price")," "),s(3),V(" ",_(18,14,"CREATE_OFFER._unit")," "),s(3),V(" ",_(21,16,"CREATE_OFFER._actions")," "),s(3),a1(e.createdPrices)}}function UQ3(c,r){if(1&c){const e=j();o(0,"div",155)(1,"button",154),C("click",function(){return y(e),b(h(2).showNewPrice())}),f(2),m(3,"translate"),w(),o(4,"svg",156),v(5,"path",125),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_OFFER._new_price")," "))}function jQ3(c,r){1&c&&(o(0,"p",188),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"UPDATE_OFFER._duplicated_price_name")))}function $Q3(c,r){if(1&c&&(o(0,"option",165),f(1),n()),2&c){const e=r.$implicit;E1("value",e.code),s(),j1("(",e.code,") ",e.name,"")}}function YQ3(c,r){if(1&c){const e=j();o(0,"label",186),f(1),m(2,"translate"),n(),o(3,"div",194)(4,"input",195),C("change",function(){return y(e),b(h(3).checkValidPrice())}),n(),o(5,"select",196),C("change",function(t){return y(e),b(h(3).onPriceUnitChange(t))}),c1(6,$Q3,2,3,"option",165,nm1),n()()}if(2&c){let e;const a=h(3);s(),H(_(2,2,"CREATE_OFFER._price")),s(3),k("ngClass",1==(null==(e=a.priceForm.get("price"))?null:e.invalid)&&""!=a.priceForm.value.price?"border-red-600":"border-gray-300 dark:border-secondary-200"),s(2),a1(a.currencies)}}function GQ3(c,r){1&c&&(o(0,"option",190),f(1,"CUSTOM"),n())}function qQ3(c,r){1&c&&(o(0,"option",197),f(1,"ONE TIME"),n(),o(2,"option",198),f(3,"RECURRING"),n(),o(4,"option",199),f(5,"USAGE"),n())}function WQ3(c,r){if(1&c){const e=j();o(0,"label",186),f(1),m(2,"translate"),n(),o(3,"select",200),C("change",function(t){return y(e),b(h(3).onPricePeriodChange(t))}),o(4,"option",201),f(5,"DAILY"),n(),o(6,"option",202),f(7,"WEEKLY"),n(),o(8,"option",203),f(9,"MONTHLY"),n(),o(10,"option",204),f(11,"QUARTERLY"),n(),o(12,"option",205),f(13,"YEARLY"),n(),o(14,"option",206),f(15,"QUINQUENNIAL"),n()()}2&c&&(s(),H(_(2,1,"CREATE_OFFER._choose_period")))}function ZQ3(c,r){1&c&&(o(0,"label",186),f(1),m(2,"translate"),n(),v(3,"input",207,3)),2&c&&(s(),H(_(2,1,"CREATE_OFFER._unit")))}function KQ3(c,r){1&c&&v(0,"textarea",192)}function QQ3(c,r){1&c&&v(0,"markdown",83),2&c&&k("data",h(4).priceDescription)}function JQ3(c,r){1&c&&v(0,"textarea",209)}function XQ3(c,r){if(1&c){const e=j();o(0,"emoji-mart",90),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(4).addEmoji(t))}),n()}2&c&&(Y2(A4(3,Gl)),k("darkMode",!1))}function eJ3(c,r){if(1&c){const e=j();o(0,"div",208)(1,"div",54)(2,"div",55)(3,"div",56)(4,"button",57),C("click",function(){return y(e),b(h(3).addBold())}),w(),o(5,"svg",58),v(6,"path",59),n(),O(),o(7,"span",60),f(8,"Bold"),n()(),o(9,"button",57),C("click",function(){return y(e),b(h(3).addItalic())}),w(),o(10,"svg",58),v(11,"path",61),n(),O(),o(12,"span",60),f(13,"Italic"),n()(),o(14,"button",57),C("click",function(){return y(e),b(h(3).addList())}),w(),o(15,"svg",62),v(16,"path",63),n(),O(),o(17,"span",60),f(18,"Add list"),n()(),o(19,"button",57),C("click",function(){return y(e),b(h(3).addOrderedList())}),w(),o(20,"svg",62),v(21,"path",65),n(),O(),o(22,"span",60),f(23,"Add ordered list"),n()(),o(24,"button",57),C("click",function(){return y(e),b(h(3).addBlockquote())}),w(),o(25,"svg",67),v(26,"path",68),n(),O(),o(27,"span",60),f(28,"Add blockquote"),n()(),o(29,"button",57),C("click",function(){return y(e),b(h(3).addTable())}),w(),o(30,"svg",69),v(31,"path",70),n(),O(),o(32,"span",60),f(33,"Add table"),n()(),o(34,"button",57),C("click",function(){return y(e),b(h(3).addCode())}),w(),o(35,"svg",69),v(36,"path",71),n(),O(),o(37,"span",60),f(38,"Add code"),n()(),o(39,"button",57),C("click",function(){return y(e),b(h(3).addCodeBlock())}),w(),o(40,"svg",69),v(41,"path",72),n(),O(),o(42,"span",60),f(43,"Add code block"),n()(),o(44,"button",57),C("click",function(){return y(e),b(h(3).addLink())}),w(),o(45,"svg",69),v(46,"path",73),n(),O(),o(47,"span",60),f(48,"Add link"),n()(),o(49,"button",57),C("click",function(t){y(e);const i=h(3);return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(50,"svg",74),v(51,"path",75),n(),O(),o(52,"span",60),f(53,"Add emoji"),n()()()(),o(54,"button",76),C("click",function(){y(e);const t=h(3);return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(55,"svg",62),v(56,"path",77)(57,"path",78),n(),O(),o(58,"span",60),f(59),m(60,"translate"),n()(),o(61,"div",79),f(62),m(63,"translate"),v(64,"div",80),n()(),o(65,"div",81)(66,"label",82),f(67,"Publish post"),n(),R(68,QQ3,1,1,"markdown",83)(69,JQ3,1,0)(70,XQ3,1,4,"emoji-mart",84),n()()}if(2&c){const e=h(3);s(4),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(60,24,"CREATE_CATALOG._preview")),s(3),V(" ",_(63,26,"CREATE_CATALOG._show_preview")," "),s(6),S(68,e.showPreview?68:69),s(2),S(70,e.showEmoji?70:-1)}}function cJ3(c,r){if(1&c){const e=j();o(0,"label",186),f(1),m(2,"translate"),n(),o(3,"select",218),C("change",function(t){return y(e),b(h(5).onPricePeriodAlterChange(t))}),o(4,"option",201),f(5,"DAILY"),n(),o(6,"option",202),f(7,"WEEKLY"),n(),o(8,"option",203),f(9,"MONTHLY"),n(),o(10,"option",204),f(11,"QUARTERLY"),n(),o(12,"option",205),f(13,"YEARLY"),n(),o(14,"option",206),f(15,"QUINQUENNIAL"),n()()}2&c&&(s(),H(_(2,1,"CREATE_OFFER._choose_period")))}function aJ3(c,r){1&c&&(o(0,"label",186),f(1),m(2,"translate"),n(),v(3,"input",219,4)),2&c&&(s(),H(_(2,1,"CREATE_OFFER._unit")))}function rJ3(c,r){if(1&c){const e=j();o(0,"div",214)(1,"label",215),f(2),m(3,"translate"),n(),o(4,"select",216),C("change",function(t){return y(e),b(h(4).onPriceTypeAlterSelected(t))}),o(5,"option",197),f(6,"ONE TIME"),n(),o(7,"option",198),f(8,"RECURRING"),n(),o(9,"option",199),f(10,"USAGE"),n()(),o(11,"div")(12,"label",186),f(13),m(14,"translate"),n(),v(15,"input",217),n(),o(16,"div"),R(17,cJ3,16,3)(18,aJ3,5,3),n(),o(19,"label",191),f(20),m(21,"translate"),n(),v(22,"textarea",192),n()}if(2&c){let e;const a=h(4);s(2),H(_(3,6,"CREATE_OFFER._choose_type")),s(11),H(_(14,8,"CREATE_OFFER._price_alter")),s(2),k("ngClass",1==(null==(e=a.priceAlterForm.get("price"))?null:e.invalid)&&""!=a.priceAlterForm.value.price?"border-red-600":"border-gray-300"),s(2),S(17,"RECURRING"==a.priceTypeAlter?17:-1),s(),S(18,"USAGE"==a.priceTypeAlter?18:-1),s(2),H(_(21,10,"CREATE_OFFER._description"))}}function tJ3(c,r){if(1&c&&(o(0,"div",220)(1,"div")(2,"label",186),f(3),m(4,"translate"),n(),o(5,"select",221,5)(7,"option",213),f(8,"Discount"),n(),o(9,"option",222),f(10,"Fee"),n()()(),o(11,"div")(12,"label",186),f(13),m(14,"translate"),n(),o(15,"div",194),v(16,"input",223),o(17,"select",224)(18,"option",225),f(19,"%"),n(),o(20,"option",226),f(21,"(AUD) Australia Dollar"),n()()()(),o(22,"div",227)(23,"label",186),f(24),m(25,"translate"),n(),o(26,"div",194)(27,"select",228)(28,"option",229),f(29,"(EQ) Equal"),n(),o(30,"option",230),f(31,"(LT) Less than"),n(),o(32,"option",231),f(33,"(LE) Less than or equal"),n(),o(34,"option",232),f(35,"(GT) Greater than"),n(),o(36,"option",232),f(37,"(GE) Greater than or equal"),n()(),v(38,"input",233),n(),o(39,"label",191),f(40),m(41,"translate"),n(),v(42,"textarea",192),n()()),2&c){let e,a;const t=h(4);s(3),H(_(4,6,"CREATE_OFFER._choose_type")),s(10),H(_(14,8,"CREATE_OFFER._enter_value")),s(3),k("ngClass",1==(null==(e=t.priceAlterForm.get("price"))?null:e.invalid)&&""!=t.priceAlterForm.value.price?"border-red-600":"border-gray-300"),s(8),H(_(25,10,"CREATE_OFFER._add_condition")),s(14),k("ngClass",1==(null==(a=t.priceAlterForm.get("condition"))?null:a.invalid)&&""!=t.priceAlterForm.value.condition?"border-red-600":"border-gray-300"),s(2),H(_(41,12,"CREATE_OFFER._description"))}}function iJ3(c,r){if(1&c){const e=j();o(0,"form",148)(1,"div",127)(2,"label",186),f(3),m(4,"translate"),n(),o(5,"select",210),C("change",function(t){return y(e),b(h(3).onPriceAlterSelected(t))}),o(6,"option",211),f(7,"None"),n(),o(8,"option",212),f(9,"Price component"),n(),o(10,"option",213),f(11,"Discount or fee"),n()()(),R(12,rJ3,23,12,"div",214)(13,tJ3,43,14),n()}if(2&c){const e=h(3);k("formGroup",e.priceAlterForm),s(3),H(_(4,3,"CREATE_OFFER._price_alter")),s(9),S(12,e.priceComponentSelected?12:e.discountSelected?13:-1)}}function oJ3(c,r){if(1&c){const e=j();o(0,"label",184),f(1),m(2,"translate"),n(),v(3,"hr",21),o(4,"form",185),C("change",function(){return y(e),b(h(2).checkValidPrice())}),o(5,"div")(6,"label",186),f(7),m(8,"translate"),n(),o(9,"input",187),C("change",function(){return y(e),b(h(2).checkValidPrice())}),n(),R(10,jQ3,3,3,"p",188)(11,YQ3,8,4),n(),o(12,"div")(13,"label",186),f(14),m(15,"translate"),n(),o(16,"select",189),C("change",function(t){return y(e),b(h(2).onPriceTypeSelected(t))}),R(17,GQ3,2,0,"option",190)(18,qQ3,6,0),n(),R(19,WQ3,16,3)(20,ZQ3,5,3),n(),o(21,"label",191),f(22),m(23,"translate"),n(),R(24,KQ3,1,0,"textarea",192)(25,eJ3,71,28),n(),R(26,iJ3,14,5,"form",148),o(27,"div",155)(28,"button",193),C("click",function(){return y(e),b(h(2).savePrice())}),f(29),m(30,"translate"),w(),o(31,"svg",156),v(32,"path",167),n()()()}if(2&c){const e=h(2);s(),H(_(2,16,"CREATE_OFFER._new_price")),s(3),k("formGroup",e.priceForm),s(3),H(_(8,18,"CREATE_OFFER._name")),s(2),k("ngClass",null!=e.priceForm.controls.name.errors&&e.priceForm.controls.name.errors.invalidName?"border-red-600":"border-gray-300 dark:border-secondary-200 mb-2"),s(),S(10,null!=e.priceForm.controls.name.errors&&e.priceForm.controls.name.errors.invalidName?10:-1),s(),S(11,e.customSelected?-1:11),s(3),H(_(15,20,"CREATE_OFFER._choose_type")),s(3),S(17,e.allowCustom?17:-1),s(),S(18,e.allowOthers?18:-1),s(),S(19,e.recurringSelected?19:e.usageSelected?20:-1),s(3),H(_(23,22,"CREATE_OFFER._description")),s(2),S(24,e.customSelected?25:24),s(2),S(26,e.customSelected?-1:26),s(2),k("disabled",e.validPriceCheck)("ngClass",e.validPriceCheck?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(30,24,"CREATE_OFFER._save_price")," ")}}function nJ3(c,r){if(1&c){const e=j();o(0,"h2",91),f(1),m(2,"translate"),n(),R(3,BQ3,9,3,"div",102)(4,IQ3,25,18)(5,UQ3,6,3,"div",155)(6,oJ3,33,26),o(7,"div",131)(8,"button",134),C("click",function(){return y(e),b(h().showFinish())}),f(9),m(10,"translate"),w(),o(11,"svg",87),v(12,"path",88),n()()()}if(2&c){const e=h();s(),H(_(2,4,"CREATE_OFFER._price_plans")),s(2),S(3,0==e.createdPrices.length?3:4),s(2),S(5,e.showCreatePrice?6:5),s(4),V(" ",_(10,6,"CREATE_OFFER._next")," ")}}function sJ3(c,r){if(1&c&&(o(0,"span",115),f(1),n()),2&c){const e=h(2);s(),H(null==e.offerToCreate?null:e.offerToCreate.lifecycleStatus)}}function lJ3(c,r){if(1&c&&(o(0,"span",119),f(1),n()),2&c){const e=h(2);s(),H(null==e.offerToCreate?null:e.offerToCreate.lifecycleStatus)}}function fJ3(c,r){if(1&c&&(o(0,"span",120),f(1),n()),2&c){const e=h(2);s(),H(null==e.offerToCreate?null:e.offerToCreate.lifecycleStatus)}}function dJ3(c,r){if(1&c&&(o(0,"span",121),f(1),n()),2&c){const e=h(2);s(),H(null==e.offerToCreate?null:e.offerToCreate.lifecycleStatus)}}function uJ3(c,r){if(1&c&&(o(0,"label",186),f(1),m(2,"translate"),n(),o(3,"div",241),v(4,"markdown",242),n()),2&c){const e=h(2);s(),H(_(2,2,"CREATE_OFFER._description")),s(3),k("data",null==e.offerToCreate?null:e.offerToCreate.description)}}function hJ3(c,r){if(1&c&&(o(0,"span",115),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function mJ3(c,r){if(1&c&&(o(0,"span",119),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function _J3(c,r){if(1&c&&(o(0,"span",120),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function pJ3(c,r){if(1&c&&(o(0,"span",121),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function gJ3(c,r){if(1&c&&(o(0,"tr",112)(1,"td",113),f(2),n(),o(3,"td",117),R(4,hJ3,2,1,"span",115)(5,mJ3,2,1)(6,_J3,2,1)(7,pJ3,2,1),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1)}}function vJ3(c,r){if(1&c&&(o(0,"label",186),f(1),m(2,"translate"),n(),o(3,"div",240)(4,"table",107)(5,"thead",108)(6,"tr")(7,"th",109),f(8),m(9,"translate"),n(),o(10,"th",109),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,gJ3,8,2,"tr",112,z1),n()()()),2&c){const e=h(2);s(),H(_(2,3,"CREATE_OFFER._bundle")),s(7),V(" ",_(9,5,"CREATE_OFFER._name")," "),s(3),V(" ",_(12,7,"CREATE_OFFER._status")," "),s(3),a1(e.offersBundle)}}function HJ3(c,r){if(1&c&&(o(0,"span",115),f(1),n()),2&c){const e=h(2);s(),H(e.selectedCatalog.lifecycleStatus)}}function CJ3(c,r){if(1&c&&(o(0,"span",119),f(1),n()),2&c){const e=h(2);s(),H(e.selectedCatalog.lifecycleStatus)}}function zJ3(c,r){if(1&c&&(o(0,"span",120),f(1),n()),2&c){const e=h(2);s(),H(e.selectedCatalog.lifecycleStatus)}}function VJ3(c,r){if(1&c&&(o(0,"span",121),f(1),n()),2&c){const e=h(2);s(),H(e.selectedCatalog.lifecycleStatus)}}function MJ3(c,r){if(1&c&&(o(0,"tr",112)(1,"td",113),f(2),n(),o(3,"td",114),f(4),m(5,"date"),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",L2(5,2,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," ")}}function LJ3(c,r){if(1&c&&(o(0,"h2",186),f(1),m(2,"translate"),n(),o(3,"div",240)(4,"table",107)(5,"thead",108)(6,"tr")(7,"th",109),f(8),m(9,"translate"),n(),o(10,"th",110),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,MJ3,6,5,"tr",112,Qt),n()()()),2&c){const e=h(2);s(),H(_(2,3,"CREATE_OFFER._category")),s(7),V(" ",_(9,5,"CREATE_OFFER._name")," "),s(3),V(" ",_(12,7,"CREATE_OFFER._last_update")," "),s(3),a1(e.selectedCategories)}}function yJ3(c,r){if(1&c&&(o(0,"tr",112)(1,"td",178),f(2),n(),o(3,"td",243),f(4),n(),o(5,"td",114),f(6),n(),o(7,"td",117),f(8),n(),o(9,"td",114),f(10),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),V(" ",e.priceType," "),s(2),V(" ",null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.value," "),s(2),V(" ",null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.unit," ")}}function bJ3(c,r){if(1&c&&(o(0,"h2",186),f(1),m(2,"translate"),n(),o(3,"div",240)(4,"table",107)(5,"thead",108)(6,"tr")(7,"th",109),f(8),m(9,"translate"),n(),o(10,"th",110),f(11),m(12,"translate"),n(),o(13,"th",110),f(14),m(15,"translate"),n(),o(16,"th",109),f(17),m(18,"translate"),n(),o(19,"th",110),f(20),m(21,"translate"),n()()(),o(22,"tbody"),c1(23,yJ3,11,5,"tr",112,Qt),n()()()),2&c){const e=h(2);s(),H(_(2,6,"CREATE_OFFER._price_plans")),s(7),V(" ",_(9,8,"CREATE_OFFER._name")," "),s(3),V(" ",_(12,10,"CREATE_OFFER._description")," "),s(3),V(" ",_(15,12,"CREATE_OFFER._type")," "),s(3),V(" ",_(18,14,"CREATE_OFFER._price")," "),s(3),V(" ",_(21,16,"CREATE_OFFER._unit")," "),s(3),a1(e.createdPrices)}}function xJ3(c,r){if(1&c&&(o(0,"tr",112)(1,"td",117),f(2),n(),o(3,"td",243),f(4),n(),o(5,"td",114),f(6),n(),o(7,"td",114),f(8),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.type," "),s(2),V(" ",e.description," "),s(2),V(" ",e.threshold," "),s(2),V(" ",e.unitMeasure," ")}}function wJ3(c,r){if(1&c&&(o(0,"h2",244),f(1),m(2,"translate"),n(),o(3,"div",240)(4,"table",107)(5,"thead",108)(6,"tr")(7,"th",109),f(8),m(9,"translate"),n(),o(10,"th",110),f(11),m(12,"translate"),n(),o(13,"th",110),f(14),m(15,"translate"),n(),o(16,"th",110),f(17),m(18,"translate"),n()()(),o(19,"tbody"),c1(20,xJ3,9,4,"tr",112,z1),n()()()),2&c){const e=h(2);s(),H(_(2,5,"CREATE_OFFER._sla")),s(7),V(" ",_(9,7,"CREATE_OFFER._name")," "),s(3),V(" ",_(12,9,"CREATE_OFFER._description")," "),s(3),V(" ",_(15,11,"CREATE_OFFER._threshold")," "),s(3),V(" ",_(18,13,"CREATE_OFFER._unit")," "),s(3),a1(e.createdSLAs)}}function FJ3(c,r){if(1&c&&(o(0,"label",246),f(1),m(2,"translate"),n(),o(3,"div",247),v(4,"markdown",242),n()),2&c){const e=h(3);s(),H(_(2,2,"CREATE_OFFER._description")),s(3),k("data",e.createdLicense.description)}}function kJ3(c,r){if(1&c&&(o(0,"h2",186),f(1),m(2,"translate"),n(),o(3,"div")(4,"label",245),f(5),m(6,"translate"),n(),o(7,"label",236),f(8),n(),R(9,FJ3,5,4),n()),2&c){const e=h(2);s(),H(_(2,4,"CREATE_OFFER._license")),s(4),H(_(6,6,"CREATE_OFFER._treatment")),s(3),V(" ",e.createdLicense.treatment," "),s(),S(9,""!==e.createdLicense.description?9:-1)}}function SJ3(c,r){if(1&c){const e=j();o(0,"h2",91),f(1),m(2,"translate"),n(),o(3,"div",234)(4,"div",235)(5,"div")(6,"label",186),f(7),m(8,"translate"),n(),o(9,"label",236),f(10),n()(),o(11,"div")(12,"label",50),f(13),m(14,"translate"),n(),o(15,"label",237),f(16),n()()(),o(17,"div",238)(18,"label",239),f(19),m(20,"translate"),n(),R(21,sJ3,2,1,"span",115)(22,lJ3,2,1)(23,fJ3,2,1)(24,dJ3,2,1),n(),R(25,uJ3,5,4)(26,vJ3,16,9),o(27,"label",186),f(28),m(29,"translate"),n(),o(30,"div",240)(31,"table",107)(32,"thead",108)(33,"tr")(34,"th",109),f(35),m(36,"translate"),n(),o(37,"th",109),f(38),m(39,"translate"),n(),o(40,"th",110),f(41),m(42,"translate"),n()()(),o(43,"tbody")(44,"tr",112)(45,"td",113),f(46),n(),o(47,"td",117),R(48,HJ3,2,1,"span",115)(49,CJ3,2,1)(50,zJ3,2,1)(51,VJ3,2,1),n(),o(52,"td",114),f(53),n()()()()(),R(54,LJ3,16,9)(55,bJ3,25,18)(56,wJ3,22,15)(57,kJ3,10,8),o(58,"div",131)(59,"button",134),C("click",function(){return y(e),b(h().createOffer())}),f(60),m(61,"translate"),w(),o(62,"svg",87),v(63,"path",88),n()()()()}if(2&c){let e;const a=h();s(),H(_(2,21,"CREATE_OFFER._finish")),s(6),H(_(8,23,"CREATE_OFFER._name")),s(3),V(" ",null==a.offerToCreate?null:a.offerToCreate.name," "),s(3),H(_(14,25,"CREATE_OFFER._version")),s(3),V(" ",null==a.offerToCreate?null:a.offerToCreate.version," "),s(3),H(_(20,27,"CREATE_OFFER._status")),s(2),S(21,"Active"==(null==a.offerToCreate?null:a.offerToCreate.lifecycleStatus)?21:"Launched"==(null==a.offerToCreate?null:a.offerToCreate.lifecycleStatus)?22:"Retired"==(null==a.offerToCreate?null:a.offerToCreate.lifecycleStatus)?23:"Obsolete"==(null==a.offerToCreate?null:a.offerToCreate.lifecycleStatus)?24:-1),s(4),S(25,""!=(null==a.offerToCreate?null:a.offerToCreate.description)?25:-1),s(),S(26,a.offersBundle.length>0?26:-1),s(2),H(_(29,29,"CREATE_OFFER._catalog")),s(7),V(" ",_(36,31,"OFFERINGS._name")," "),s(3),V(" ",_(39,33,"OFFERINGS._status")," "),s(3),V(" ",_(42,35,"OFFERINGS._role")," "),s(5),V(" ",a.selectedCatalog.name," "),s(2),S(48,"active"==a.selectedCatalog.lifecycleStatus?48:"Launched"==a.selectedCatalog.lifecycleStatus?49:"suspended"==a.selectedCatalog.lifecycleStatus?50:"terminated"==a.selectedCatalog.lifecycleStatus?51:-1),s(5),V(" ",null==a.selectedCatalog.relatedParty||null==(e=a.selectedCatalog.relatedParty.at(0))?null:e.role," "),s(),S(54,a.selectedCategories.length>0?54:-1),s(),S(55,a.createdPrices.length>0?55:-1),s(),S(56,a.createdSLAs.length>0?56:-1),s(),S(57,a.freeLicenseSelected||""===a.createdLicense.treatment?-1:57),s(3),V(" ",_(61,37,"CREATE_OFFER._finish")," ")}}function NJ3(c,r){1&c&&(o(0,"p",188),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"UPDATE_OFFER._duplicated_price_name")))}function DJ3(c,r){if(1&c&&(o(0,"option",260),f(1),n()),2&c){const e=r.$implicit,a=h(3);E1("value",e.code),k("selected",a.selectedPriceUnit==e.code),s(),j1("(",e.code,") ",e.name,"")}}function TJ3(c,r){if(1&c){const e=j();o(0,"label",186),f(1),m(2,"translate"),n(),o(3,"div",194)(4,"input",195),C("change",function(){return y(e),b(h(2).checkValidPrice())}),n(),o(5,"select",259),C("change",function(t){return y(e),b(h(2).onPriceUnitChange(t))}),c1(6,DJ3,2,4,"option",260,nm1),n()()}if(2&c){let e;const a=h(2);s(),H(_(2,3,"UPDATE_OFFER._price")),s(3),k("ngClass",1==(null==(e=a.priceForm.get("price"))?null:e.invalid)&&""!=a.priceForm.value.price?"border-red-600":"border-gray-300 dark:border-secondary-200"),s(),E1("value",a.selectedPriceUnit),s(),a1(a.currencies)}}function EJ3(c,r){if(1&c){const e=j();o(0,"select",261),C("change",function(t){return y(e),b(h(2).onPriceTypeSelected(t))}),o(1,"option",190),f(2,"CUSTOM"),n()()}2&c&&E1("value",h(2).selectedPriceType)}function AJ3(c,r){if(1&c){const e=j();o(0,"select",261),C("change",function(t){return y(e),b(h(2).onPriceTypeSelected(t))}),o(1,"option",197),f(2,"ONE TIME"),n(),o(3,"option",198),f(4,"RECURRING"),n(),o(5,"option",199),f(6,"USAGE"),n()()}2&c&&E1("value",h(2).selectedPriceType)}function PJ3(c,r){if(1&c){const e=j();o(0,"label",186),f(1),m(2,"translate"),n(),o(3,"select",262),C("change",function(t){return y(e),b(h(2).onPricePeriodChange(t))}),o(4,"option",201),f(5,"DAILY"),n(),o(6,"option",202),f(7,"WEEKLY"),n(),o(8,"option",203),f(9,"MONTHLY"),n(),o(10,"option",204),f(11,"QUARTERLY"),n(),o(12,"option",205),f(13,"YEARLY"),n(),o(14,"option",206),f(15,"QUINQUENNIAL"),n()()}if(2&c){const e=h(2);s(),H(_(2,2,"UPDATE_OFFER._choose_period")),s(2),E1("value",e.selectedPeriod)}}function RJ3(c,r){if(1&c&&(o(0,"label",186),f(1),m(2,"translate"),n(),v(3,"input",263,6)),2&c){const e=h(2);s(),H(_(2,2,"UPDATE_OFFER._unit")),s(2),E1("value",null==e.priceToUpdate||null==e.priceToUpdate.unitOfMeasure?null:e.priceToUpdate.unitOfMeasure.units)}}function BJ3(c,r){1&c&&v(0,"textarea",192)}function OJ3(c,r){1&c&&v(0,"markdown",83),2&c&&k("data",h(3).priceDescription)}function IJ3(c,r){1&c&&v(0,"textarea",209)}function UJ3(c,r){if(1&c){const e=j();o(0,"emoji-mart",90),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(3).addEmoji(t))}),n()}2&c&&(Y2(A4(3,Gl)),k("darkMode",!1))}function jJ3(c,r){if(1&c){const e=j();o(0,"div",208)(1,"div",54)(2,"div",55)(3,"div",56)(4,"button",264),C("click",function(){return y(e),b(h(2).addBold())}),w(),o(5,"svg",58),v(6,"path",59),n(),O(),o(7,"span",60),f(8,"Bold"),n()(),o(9,"button",264),C("click",function(){return y(e),b(h(2).addItalic())}),w(),o(10,"svg",58),v(11,"path",61),n(),O(),o(12,"span",60),f(13,"Italic"),n()(),o(14,"button",264),C("click",function(){return y(e),b(h(2).addList())}),w(),o(15,"svg",62),v(16,"path",63),n(),O(),o(17,"span",60),f(18,"Add list"),n()(),o(19,"button",264),C("click",function(){return y(e),b(h(2).addOrderedList())}),w(),o(20,"svg",62),v(21,"path",65),n(),O(),o(22,"span",60),f(23,"Add ordered list"),n()(),o(24,"button",264),C("click",function(){return y(e),b(h(2).addBlockquote())}),w(),o(25,"svg",67),v(26,"path",68),n(),O(),o(27,"span",60),f(28,"Add blockquote"),n()(),o(29,"button",264),C("click",function(){return y(e),b(h(2).addTable())}),w(),o(30,"svg",69),v(31,"path",70),n(),O(),o(32,"span",60),f(33,"Add table"),n()(),o(34,"button",264),C("click",function(){return y(e),b(h(2).addCode())}),w(),o(35,"svg",69),v(36,"path",71),n(),O(),o(37,"span",60),f(38,"Add code"),n()(),o(39,"button",264),C("click",function(){return y(e),b(h(2).addCodeBlock())}),w(),o(40,"svg",69),v(41,"path",72),n(),O(),o(42,"span",60),f(43,"Add code block"),n()(),o(44,"button",264),C("click",function(){return y(e),b(h(2).addLink())}),w(),o(45,"svg",69),v(46,"path",73),n(),O(),o(47,"span",60),f(48,"Add link"),n()(),o(49,"button",264),C("click",function(t){y(e);const i=h(2);return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(50,"svg",74),v(51,"path",75),n(),O(),o(52,"span",60),f(53,"Add emoji"),n()()()(),o(54,"button",76),C("click",function(){y(e);const t=h(2);return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(55,"svg",62),v(56,"path",77)(57,"path",78),n(),O(),o(58,"span",60),f(59),m(60,"translate"),n()(),o(61,"div",79),f(62),m(63,"translate"),v(64,"div",80),n()(),o(65,"div",81)(66,"label",82),f(67,"Publish post"),n(),R(68,OJ3,1,1,"markdown",83)(69,IJ3,1,0)(70,UJ3,1,4,"emoji-mart",84),n()()}if(2&c){const e=h(2);s(59),H(_(60,4,"CREATE_CATALOG._preview")),s(3),V(" ",_(63,6,"CREATE_CATALOG._show_preview")," "),s(6),S(68,e.showPreview?68:69),s(2),S(70,e.showEmoji?70:-1)}}function $J3(c,r){if(1&c){const e=j();o(0,"div",45)(1,"div",248),C("click",function(t){return y(e),b(t.stopPropagation())}),o(2,"div",249)(3,"h5",250),f(4),m(5,"translate"),n(),o(6,"button",251),C("click",function(){return y(e),b(h().closeEditPrice())}),w(),o(7,"svg",252),v(8,"path",253),n(),O(),o(9,"span",60),f(10),m(11,"translate"),n()()(),o(12,"div",254)(13,"form",255),C("change",function(){return y(e),b(h().checkValidPrice())}),o(14,"div")(15,"label",186),f(16),m(17,"translate"),n(),o(18,"input",256),C("change",function(){return y(e),b(h().checkValidPrice())}),n(),R(19,NJ3,3,3,"p",188)(20,TJ3,8,5),n(),o(21,"div")(22,"label",186),f(23),m(24,"translate"),n(),R(25,EJ3,3,1,"select",257)(26,AJ3,7,1,"select",257)(27,PJ3,16,4)(28,RJ3,5,4),n(),o(29,"label",191),f(30),m(31,"translate"),n(),R(32,BJ3,1,0,"textarea",192)(33,jJ3,71,8),n(),o(34,"div",258)(35,"button",193),C("click",function(){return y(e),b(h().updatePrice())}),f(36),m(37,"translate"),w(),o(38,"svg",156),v(39,"path",167),n()()()()()()}if(2&c){let e;const a=h();k("ngClass",a.editPrice?"backdrop-blur-sm":""),s(4),H(_(5,17,"UPDATE_OFFER._update")),s(6),H(_(11,19,"CARD._close")),s(3),k("formGroup",a.priceForm),s(3),H(_(17,21,"UPDATE_OFFER._name")),s(2),k("ngClass",null!=(e=a.priceForm.get("name"))&&e.invalid?"border-red-600":"border-gray-300 dark:border-secondary-200 mb-2"),s(),S(19,null!=a.priceForm.controls.name.errors&&a.priceForm.controls.name.errors.invalidName?19:-1),s(),S(20,a.customSelected?-1:20),s(3),H(_(24,23,"UPDATE_OFFER._choose_type")),s(2),S(25,a.allowCustom?25:-1),s(),S(26,a.allowOthers?26:-1),s(),S(27,a.recurringSelected?27:a.usageSelected?28:-1),s(3),H(_(31,25,"UPDATE_OFFER._description")),s(2),S(32,a.customSelected?33:32),s(3),k("disabled",a.validPriceCheck)("ngClass",a.validPriceCheck?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(37,27,"UPDATE_OFFER._save_price")," ")}}function YJ3(c,r){1&c&&v(0,"error-message",46),2&c&&k("message",h().errorMessage)}let GJ3=(()=>{class c{constructor(e,a,t,i,l,d,u,p,z,x,E){this.router=e,this.api=a,this.prodSpecService=t,this.cdr=i,this.localStorage=l,this.eventMessage=d,this.elementRef=u,this.attachmentService=p,this.servSpecService=z,this.resSpecService=x,this.paginationService=E,this.PROD_SPEC_LIMIT=_1.PROD_SPEC_LIMIT,this.PRODUCT_LIMIT=_1.PRODUCT_LIMIT,this.CATALOG_LIMIT=_1.CATALOG_LIMIT,this.showGeneral=!0,this.showBundle=!1,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!1,this.showSLA=!1,this.showPrice=!1,this.generalDone=!1,this.bundleDone=!1,this.prodSpecDone=!1,this.catalogsDone=!1,this.categoriesDone=!1,this.licenseDone=!1,this.slaDone=!1,this.priceDone=!1,this.finishDone=!1,this.stepsElements=["general-info","bundle","prodspec","catalog","category","license","sla","price","summary"],this.stepsCircles=["general-circle","bundle-circle","prodspec-circle","catalog-circle","category-circle","license-circle","sla-circle","price-circle","summary-circle"],this.showPreview=!1,this.showEmoji=!1,this.description="",this.partyId="",this.generalForm=new S2({name:new u1("",[O1.required]),version:new u1("0.1",[O1.required,O1.pattern("^-?[0-9]\\d*(\\.\\d*)?$")]),description:new u1("")}),this.bundleChecked=!1,this.bundlePage=0,this.bundlePageCheck=!1,this.loadingBundle=!1,this.loadingBundle_more=!1,this.bundledOffers=[],this.nextBundledOffers=[],this.offersBundle=[],this.prodSpecPage=0,this.prodSpecPageCheck=!1,this.loadingProdSpec=!1,this.loadingProdSpec_more=!1,this.selectedProdSpec={id:""},this.prodSpecs=[],this.nextProdSpecs=[],this.catalogPage=0,this.catalogPageCheck=!1,this.loadingCatalog=!1,this.loadingCatalog_more=!1,this.selectedCatalog={id:""},this.catalogs=[],this.nextCatalogs=[],this.loadingCategory=!1,this.selectedCategories=[],this.unformattedCategories=[],this.categories=[],this.freeLicenseSelected=!0,this.licenseForm=new S2({treatment:new u1("",[O1.required]),description:new u1("")}),this.licenseDescription="",this.createdLicense={treatment:"",description:""},this.createdSLAs=[],this.availableSLAs=["UPDATES RATE","RESPONSE TIME","DELAY"],this.showCreateSLA=!1,this.updatesSelected=!0,this.responseSelected=!1,this.delaySelected=!1,this.creatingSLA={type:"UPDATES RATE",description:"Expected number of updates in the given period.",threshold:"",unitMeasure:"day"},this.currencies=Ba.currencies,this.createdPrices=[],this.postedPrices=[],this.priceDescription="",this.showCreatePrice=!1,this.toggleOpenPrice=!1,this.oneTimeSelected=!0,this.recurringSelected=!1,this.selectedPeriod="DAILY",this.selectedPeriodAlter="DAILY",this.usageSelected=!1,this.customSelected=!1,this.priceForm=new S2({name:new u1("",[O1.required]),price:new u1("",[O1.required]),description:new u1("")}),this.priceAlterForm=new S2({price:new u1("",[O1.required]),condition:new u1(""),description:new u1("")}),this.validPriceCheck=!0,this.selectedPriceUnit=Ba.currencies[0].code,this.priceTypeAlter="ONE TIME",this.priceComponentSelected=!1,this.discountSelected=!1,this.noAlterSelected=!0,this.allowCustom=!0,this.allowOthers=!0,this.selectedPriceType="CUSTOM",this.editPrice=!1,this.errorMessage="",this.showError=!1,this.eventMessage.messages$.subscribe(P=>{"CategoryAdded"===P.type&&this.addCategory(P.value),"ChangedSession"===P.type&&this.initPartyInfo()})}onClick(){1==this.showEmoji&&(this.showEmoji=!1,this.cdr.detectChanges())}ngOnInit(){this.initPartyInfo()}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0)if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}}goBack(){this.eventMessage.emitSellerOffer(!0)}toggleGeneral(){this.selectStep("general-info","general-circle"),this.showBundle=!1,this.showGeneral=!0,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!1,this.showSLA=!1,this.showPrice=!1,this.showPreview=!1,this.clearPriceFormInfo()}toggleBundle(){this.selectStep("bundle","bundle-circle"),this.showBundle=!0,this.showGeneral=!1,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!1,this.showSLA=!1,this.showPrice=!1,this.showPreview=!1,this.clearPriceFormInfo()}toggleBundleCheck(){this.bundledOffers=[],this.bundlePage=0,this.bundleChecked=!this.bundleChecked,1==this.bundleChecked?(this.loadingBundle=!0,this.getSellerOffers(!1)):this.offersBundle=[]}toggleProdSpec(){this.prodSpecs=[],this.prodSpecPage=0,this.loadingProdSpec=!0,this.getSellerProdSpecs(!1),this.selectStep("prodspec","prodspec-circle"),this.showBundle=!1,this.showGeneral=!1,this.showSummary=!1,this.showProdSpec=!0,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!1,this.showSLA=!1,this.showPrice=!1,this.showPreview=!1,this.clearPriceFormInfo()}toggleCatalogs(){this.catalogs=[],this.catalogPage=0,this.loadingCatalog=!0,this.getSellerCatalogs(!1),this.selectStep("catalog","catalog-circle"),this.showBundle=!1,this.showGeneral=!1,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!0,this.showCategory=!1,this.showLicense=!1,this.showSLA=!1,this.showPrice=!1,this.showPreview=!1,this.clearPriceFormInfo()}toggleCategories(){this.categories=[],this.loadingCategory=!0,this.getCategories(),console.log("CATEGORIES FORMATTED"),console.log(this.categories),this.selectStep("category","category-circle"),this.showBundle=!1,this.showGeneral=!1,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!0,this.showLicense=!1,this.showSLA=!1,this.showPrice=!1,this.showPreview=!1,this.clearPriceFormInfo()}toggleLicense(){this.selectStep("license","license-circle"),this.showBundle=!1,this.showGeneral=!1,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!0,this.showSLA=!1,this.showPrice=!1,this.showPreview=!1,this.clearPriceFormInfo()}toggleSLA(){this.saveLicense(),this.selectStep("sla","sla-circle"),this.showBundle=!1,this.showGeneral=!1,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!1,this.showSLA=!0,this.showPrice=!1,this.showPreview=!1,this.clearPriceFormInfo()}togglePrice(){this.saveLicense(),this.selectStep("price","price-circle"),this.showBundle=!1,this.showGeneral=!1,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!1,this.showSLA=!1,this.showPrice=!0,this.showPreview=!1,this.clearPriceFormInfo()}saveLicense(){this.createdLicense=this.licenseForm.value.treatment?{treatment:this.licenseForm.value.treatment,description:this.licenseForm.value.description?this.licenseForm.value.description:""}:{treatment:"",description:""},this.showPreview=!1}clearLicense(){this.freeLicenseSelected=!this.freeLicenseSelected,this.licenseForm.controls.treatment.setValue(""),this.licenseForm.controls.description.setValue(""),this.createdLicense={treatment:"",description:""},console.log(this.createdLicense.treatment)}onPriceTypeSelected(e){"ONE TIME"==e.target.value?(this.oneTimeSelected=!0,this.recurringSelected=!1,this.usageSelected=!1,this.customSelected=!1):"RECURRING"==e.target.value?(this.oneTimeSelected=!1,this.recurringSelected=!0,this.usageSelected=!1,this.customSelected=!1):"USAGE"==e.target.value?(this.oneTimeSelected=!1,this.recurringSelected=!1,this.usageSelected=!0,this.customSelected=!1):"CUSTOM"==e.target.value&&(this.oneTimeSelected=!1,this.recurringSelected=!1,this.usageSelected=!1,this.customSelected=!0),this.checkValidPrice()}onPriceTypeAlterSelected(e){this.priceTypeAlter=e.target.value}onPriceAlterSelected(e){"none"==e.target.value?(this.priceComponentSelected=!1,this.discountSelected=!1,this.noAlterSelected=!0):"price"==e.target.value?(this.priceComponentSelected=!0,this.discountSelected=!1,this.noAlterSelected=!1):"discount"==e.target.value&&(this.priceComponentSelected=!1,this.discountSelected=!0,this.noAlterSelected=!1)}onPricePeriodChange(e){this.selectedPeriod=e.target.value,this.checkValidPrice()}onPricePeriodAlterChange(e){this.selectedPeriodAlter=e.target.value,this.checkValidPrice()}onPriceUnitChange(e){this.selectedPriceUnit=e.target.value,this.checkValidPrice()}checkValidPrice(){const e=this.createdPrices.findIndex(a=>a.name===this.priceForm.value.name);-1!==e?this.editPrice&&this.createdPrices[e].name==this.priceToUpdate.name?(this.priceForm.controls.name.setErrors(null),this.priceForm.controls.name.updateValueAndValidity(),this.validPriceCheck=!(this.customSelected&&""!=this.priceForm.value.name||(this.usageSelected?""!=this.usageUnitUpdate.nativeElement.value:!this.priceForm.invalid))):(this.priceForm.controls.name.setErrors({invalidName:!0}),this.validPriceCheck=!0):(this.priceForm.controls.name.setErrors(null),this.priceForm.controls.name.updateValueAndValidity(),this.validPriceCheck=!(this.customSelected&&""!=this.priceForm.value.name||(this.usageSelected?""!=this.usageUnit.nativeElement.value:!this.priceForm.invalid))),this.cdr.detectChanges()}savePrice(){if(this.priceForm.value.name){let e={id:B4(),name:this.priceForm.value.name,description:this.priceForm.value.description?this.priceForm.value.description:"",lifecycleStatus:"Active",priceType:this.recurringSelected?"recurring":this.usageSelected?"usage":this.oneTimeSelected?"one time":"custom"};!this.customSelected&&this.priceForm.value.price&&(e.price={percentage:0,taxRate:20,dutyFreeAmount:{unit:this.selectedPriceUnit,value:0},taxIncludedAmount:{unit:this.selectedPriceUnit,value:parseFloat(this.priceForm.value.price)}}),this.recurringSelected&&(console.log("recurring"),e.recurringChargePeriod=this.selectedPeriod),this.usageSelected&&(console.log("usage"),e.unitOfMeasure={amount:1,units:this.usageUnit.nativeElement.value}),this.priceComponentSelected&&this.priceAlterForm.value.price&&(e.priceAlteration=[{description:this.priceAlterForm.value.description?this.priceAlterForm.value.description:"",name:"fee",priceType:this.priceComponentSelected?this.priceTypeAlter:this.recurringSelected?"recurring":this.usageSelected?"usage":this.oneTimeSelected?"one time":"custom",priority:0,recurringChargePeriod:this.priceComponentSelected&&"RECURRING"==this.priceTypeAlter?this.selectedPeriodAlter:"",price:{percentage:this.discountSelected?parseFloat(this.priceAlterForm.value.price):0,dutyFreeAmount:{unit:this.selectedPriceUnit,value:0},taxIncludedAmount:{unit:this.selectedPriceUnit,value:this.priceComponentSelected?parseFloat(this.priceAlterForm.value.price):0}},unitOfMeasure:{amount:1,units:this.priceComponentSelected&&"USAGE"==this.priceTypeAlter?this.usageUnitAlter.nativeElement.value:""}}]),this.createdPrices.push(e),console.log("--- price ---"),console.log(this.createdPrices)}this.clearPriceFormInfo()}removePrice(e){const a=this.createdPrices.findIndex(t=>t.id===e.id);-1!==a&&this.createdPrices.splice(a,1),this.checkCustom(),this.clearPriceFormInfo()}showUpdatePrice(e){if(this.priceToUpdate=e,console.log(this.priceToUpdate),this.priceForm.controls.name.setValue(this.priceToUpdate.name),this.priceForm.controls.description.setValue(this.priceToUpdate.description),"custom"!=this.priceToUpdate.priceType&&(this.priceForm.controls.price.setValue(this.priceToUpdate.price.taxIncludedAmount.value),this.selectedPriceUnit=this.priceToUpdate.price.taxIncludedAmount.unit),this.cdr.detectChanges(),console.log(this.selectedPriceUnit),"one time"==this.priceToUpdate.priceType?(this.selectedPriceType="ONE TIME",this.oneTimeSelected=!0,this.recurringSelected=!1,this.usageSelected=!1,this.customSelected=!1):"recurring"==this.priceToUpdate.priceType?(this.selectedPriceType="RECURRING",this.oneTimeSelected=!1,this.recurringSelected=!0,this.usageSelected=!1,this.customSelected=!1,this.selectedPeriod=this.priceToUpdate.recurringChargePeriod,this.cdr.detectChanges()):"usage"==this.priceToUpdate.priceType?(this.selectedPriceType="USAGE",this.oneTimeSelected=!1,this.recurringSelected=!1,this.usageSelected=!0,this.customSelected=!1,this.cdr.detectChanges()):(this.selectedPriceType="CUSTOM",this.oneTimeSelected=!1,this.recurringSelected=!1,this.usageSelected=!1,this.customSelected=!0),0==this.createdPrices.length)this.allowCustom=!0,this.allowOthers=!0;else{let a=!1;for(let t=0;tt.id===this.priceToUpdate.id);-1!==a&&(this.createdPrices[a]=e),console.log("--- price ---"),console.log(this.createdPrices)}this.closeEditPrice()}closeEditPrice(){this.clearPriceFormInfo(),this.editPrice=!1}showNewPrice(){this.checkCustom(),this.showCreatePrice=!this.showCreatePrice}checkCustom(){if(0==this.createdPrices.length)this.allowCustom=!0,this.allowOthers=!0;else{let e=!1;for(let a=0;a{this.priceForm.get(e)?.markAsPristine(),this.priceForm.get(e)?.markAsUntouched(),this.priceForm.get(e)?.updateValueAndValidity()}),this.validPriceCheck=!0}onSLAMetricChange(e){this.creatingSLA.unitMeasure=e.target.value}onSLAChange(e){"UPDATES RATE"==e.target.value?(this.updatesSelected=!0,this.responseSelected=!1,this.delaySelected=!1,this.creatingSLA.type="UPDATES RATE",this.creatingSLA.description="Expected number of updates in the given period.",this.creatingSLA.unitMeasure="day"):"RESPONSE TIME"==e.target.value?(this.updatesSelected=!1,this.responseSelected=!0,this.delaySelected=!1,this.creatingSLA.type="RESPONSE TIME",this.creatingSLA.description="Total amount of time to respond to a data request (GET).",this.creatingSLA.unitMeasure="ms"):"DELAY"==e.target.value&&(this.updatesSelected=!1,this.responseSelected=!1,this.delaySelected=!0,this.creatingSLA.type="DELAY",this.creatingSLA.description="Total amount of time to deliver a new update (SUBSCRIPTION).",this.creatingSLA.unitMeasure="ms")}showCreateSLAMetric(){"UPDATES RATE"==this.availableSLAs[0]?(this.updatesSelected=!0,this.responseSelected=!1,this.delaySelected=!1,this.creatingSLA.type="UPDATES RATE",this.creatingSLA.description="Expected number of updates in the given period.",this.creatingSLA.unitMeasure="day"):"RESPONSE TIME"==this.availableSLAs[0]?(this.updatesSelected=!1,this.responseSelected=!0,this.delaySelected=!1,this.creatingSLA.type="RESPONSE TIME",this.creatingSLA.description="Total amount of time to respond to a data request (GET).",this.creatingSLA.unitMeasure="ms"):"DELAY"==this.availableSLAs[0]&&(this.updatesSelected=!1,this.responseSelected=!1,this.delaySelected=!0,this.creatingSLA.type="DELAY",this.creatingSLA.description="Total amount of time to deliver a new update (SUBSCRIPTION).",this.creatingSLA.unitMeasure="ms"),this.showCreateSLA=!0}addSLA(){const e=this.availableSLAs.findIndex(a=>a===this.creatingSLA.type);1==this.updatesSelected?(this.creatingSLA.threshold=this.updatemetric.nativeElement.value,this.createdSLAs.push({type:this.creatingSLA.type,description:this.creatingSLA.description,threshold:this.creatingSLA.threshold,unitMeasure:this.creatingSLA.unitMeasure}),this.availableSLAs.splice(e,1),this.updatesSelected=!1):1==this.responseSelected?(this.creatingSLA.threshold=this.responsemetric.nativeElement.value,this.createdSLAs.push({type:this.creatingSLA.type,description:this.creatingSLA.description,threshold:this.creatingSLA.threshold,unitMeasure:this.creatingSLA.unitMeasure}),this.availableSLAs.splice(e,1),this.responseSelected=!1):(this.creatingSLA.threshold=this.delaymetric.nativeElement.value,this.createdSLAs.push({type:this.creatingSLA.type,description:this.creatingSLA.description,threshold:this.creatingSLA.threshold,unitMeasure:this.creatingSLA.unitMeasure}),this.availableSLAs.splice(e,1),this.delaySelected=!1),this.showCreateSLA=!1}removeSLA(e){const a=this.createdSLAs.findIndex(t=>t.type===e.type);-1!==a&&this.createdSLAs.splice(a,1),this.availableSLAs.push(e.type)}checkThreshold(){return 1==this.updatesSelected?""==this.updatemetric.nativeElement.value:1==this.responseSelected?""==this.responsemetric.nativeElement.value:""==this.delaymetric.nativeElement.value}getCategories(){console.log("Getting categories..."),this.api.getLaunchedCategories().then(e=>{for(let a=0;ai.parentId===e.id);if(e.children=t,1==e.isRoot?this.categories.push(e):this.saveChildren(this.categories,e),0!=t.length)for(let i=0;i{if(a=t,e.children=a,1==e.isRoot?this.categories.push(e):this.saveChildren(this.categories,e),0!=a.length)for(let i=0;id.id==a.id)){let d=i.findIndex(u=>u.id==a.id);i[d]=a,e[t].children=i}this.saveChildren(i,a)}}}addParent(e){const a=this.unformattedCategories.findIndex(t=>t.id===e);-1!=a&&(0==this.unformattedCategories[a].isRoot?this.addCategory(this.unformattedCategories[a]):this.selectedCategories.push(this.unformattedCategories[a]))}addCategory(e){const a=this.selectedCategories.findIndex(t=>t.id===e.id);if(-1!==a?(console.log("eliminar"),this.selectedCategories.splice(a,1)):(console.log("a\xf1adir"),this.selectedCategories.push(e)),0==e.isRoot){const t=this.selectedCategories.findIndex(i=>i.id===e.parentId);-1==a&&-1==t&&this.addParent(e.parentId)}console.log(this.selectedCategories),this.cdr.detectChanges(),console.log(this.selectedCategories)}isCategorySelected(e){return-1!==this.selectedCategories.findIndex(t=>t.id===e.id)}selectCatalog(e){this.selectedCatalog=e,this.selectedCategories=[]}getSellerCatalogs(e){var a=this;return M(function*(){0==e&&(a.loadingCatalog=!0),a.paginationService.getItemsPaginated(a.catalogPage,a.CATALOG_LIMIT,e,a.catalogs,a.nextCatalogs,{keywords:void 0,filters:["Active","Launched"],partyId:a.partyId},a.api.getCatalogsByUser.bind(a.api)).then(i=>{a.catalogPageCheck=i.page_check,a.catalogs=i.items,a.nextCatalogs=i.nextItems,a.catalogPage=i.page,a.loadingCatalog=!1,a.loadingCatalog_more=!1})})()}nextCatalog(){var e=this;return M(function*(){yield e.getSellerCatalogs(!0)})()}selectProdSpec(e){this.selectedProdSpec=e}getSellerProdSpecs(e){var a=this;return M(function*(){0==e&&(a.loadingProdSpec=!0),a.paginationService.getItemsPaginated(a.prodSpecPage,a.PROD_SPEC_LIMIT,e,a.prodSpecs,a.nextProdSpecs,{filters:["Active","Launched"],partyId:a.partyId},a.prodSpecService.getProdSpecByUser.bind(a.prodSpecService)).then(i=>{a.prodSpecPageCheck=i.page_check,a.prodSpecs=i.items,a.nextProdSpecs=i.nextItems,a.prodSpecPage=i.page,a.loadingProdSpec=!1,a.loadingProdSpec_more=!1})})()}nextProdSpec(){var e=this;return M(function*(){yield e.getSellerProdSpecs(!0)})()}getSellerOffers(e){var a=this;return M(function*(){0==e&&(a.loadingBundle=!0),a.paginationService.getItemsPaginated(a.bundlePage,a.PRODUCT_LIMIT,e,a.bundledOffers,a.nextBundledOffers,{filters:["Active","Launched"],partyId:a.partyId,sort:void 0,isBundle:!1},a.api.getProductOfferByOwner.bind(a.api)).then(i=>{a.bundlePageCheck=i.page_check,a.bundledOffers=i.items,a.nextBundledOffers=i.nextItems,a.bundlePage=i.page,a.loadingBundle=!1,a.loadingBundle_more=!1})})()}nextBundle(){var e=this;return M(function*(){yield e.getSellerOffers(!0)})()}addProdToBundle(e){const a=this.offersBundle.findIndex(t=>t.id===e.id);-1!==a?(console.log("eliminar"),this.offersBundle.splice(a,1)):(console.log("a\xf1adir"),this.offersBundle.push({id:e.id,href:e.href,lifecycleStatus:e.lifecycleStatus,name:e.name})),this.cdr.detectChanges(),console.log(this.offersBundle)}isProdInBundle(e){return-1!==this.offersBundle.findIndex(t=>t.id===e.id)}showFinish(){this.priceDone=!0,this.finishDone=!0,this.clearPriceFormInfo(),this.saveLicense(),this.generalForm.value.name&&this.generalForm.value.version&&(this.offerToCreate={name:this.generalForm.value.name,description:null!=this.generalForm.value.description?this.generalForm.value.description:"",version:this.generalForm.value.version,lifecycleStatus:"Active"}),this.selectStep("summary","summary-circle"),this.showBundle=!1,this.showGeneral=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!1,this.showSLA=!1,this.showPrice=!1,this.showSummary=!0,this.showPreview=!1}createOffer(){var e=this;return M(function*(){if(e.postedPrices=[],e.createdPrices.length>0)for(let a=0;a{console.log("precio"),console.log(i),e.createdPrices[a].id=i.id,a==e.createdPrices.length-1&&e.saveOfferInfo()},error:i=>{console.error("There was an error while creating offers price!",i),i.error.error?(console.log(i),e.errorMessage="Error: "+i.error.error):e.errorMessage="There was an error while creating offers price!",e.showError=!0,setTimeout(()=>{e.showError=!1},3e3)}})}else e.createdPrices=[],e.saveOfferInfo();console.log(e.offerToCreate)})()}saveOfferInfo(){let e=[],a=[];for(let t=0;t{console.log("product offer created:"),console.log(t),this.goBack()},error:t=>{console.error("There was an error while creating the offer!",t),t.error.error?(console.log(t),this.errorMessage="Error: "+t.error.error):this.errorMessage="There was an error while creating the offer!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}selectStep(e,a){const t=this.stepsElements.findIndex(l=>l===e);if(-1!==t){this.stepsElements.splice(t,1),this.selectMenu(document.getElementById(e),"text-primary-100 dark:text-primary-50"),this.unselectMenu(document.getElementById(e),"text-gray-500");for(let l=0;ll===a);if(-1!==t){this.stepsCircles.splice(i,1),this.selectMenu(document.getElementById(a),"border-primary-100 dark:border-primary-50"),this.unselectMenu(document.getElementById(a),"border-gray-400");for(let l=0;l blockquote"}):this.showPrice?this.priceForm.patchValue({description:this.priceForm.value.description+"\n> blockquote"}):this.showLicense&&this.licenseForm.patchValue({description:this.licenseForm.value.description+"\n> blockquote"})}addLink(){this.showGeneral?this.generalForm.patchValue({description:this.generalForm.value.description+" [title](https://www.example.com) "}):this.showPrice?this.priceForm.patchValue({description:this.priceForm.value.description+" [title](https://www.example.com) "}):this.showLicense&&this.licenseForm.patchValue({description:this.licenseForm.value.description+" [title](https://www.example.com) "})}addTable(){this.showGeneral?this.generalForm.patchValue({description:this.generalForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"}):this.showPrice?this.priceForm.patchValue({description:this.priceForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"}):this.showLicense&&this.licenseForm.patchValue({description:this.licenseForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"})}addEmoji(e){this.showGeneral?(this.showEmoji=!1,this.generalForm.patchValue({description:this.generalForm.value.description+e.emoji.native})):this.showPrice?this.priceForm.patchValue({description:this.priceForm.value.description+e.emoji.native}):this.showLicense&&this.licenseForm.patchValue({description:this.licenseForm.value.description+e.emoji.native})}togglePreview(){this.showGeneral?this.generalForm.value.description&&(this.description=this.generalForm.value.description):this.showPrice?this.priceForm.value.description&&(this.priceDescription=this.priceForm.value.description):this.showLicense&&this.licenseForm.value.description&&(this.licenseDescription=this.licenseForm.value.description)}static#e=this.\u0275fac=function(a){return new(a||c)(B(Z1),B(p1),B(z4),B(B1),B(R1),B(e2),B(v2),B(Q0),B(D4),B(h4),B(M3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["create-offer"]],viewQuery:function(a,t){if(1&a&&(b1(uK3,5),b1(hK3,5),b1(mK3,5),b1(_K3,5),b1(pK3,5),b1(gK3,5)),2&a){let i;M1(i=L1())&&(t.updatemetric=i.first),M1(i=L1())&&(t.responsemetric=i.first),M1(i=L1())&&(t.delaymetric=i.first),M1(i=L1())&&(t.usageUnit=i.first),M1(i=L1())&&(t.usageUnitAlter=i.first),M1(i=L1())&&(t.usageUnitUpdate=i.first)}},hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},decls:126,vars:79,consts:[["updatemetric",""],["responsemetric",""],["delaymetric",""],["usageUnit",""],["usageUnitAlter",""],["discountfee",""],["usageUnitUpdate",""],[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-gray-200","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800","dark:text-white"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","mt-4","p-8","rounded-lg"],[1,"text-3xl","font-bold","text-primary-100","dark:text-white","ml-4"],[1,"h-px","m-4","bg-gray-300","dark:bg-gray-200","border-0"],[1,"md:grid","md:grid-cols-25/75","xl:grid-cols-20/80"],[1,"flex","sm:flex-row","md:flex-col","md:mr-4","overflow-x-auto","max-w-[calc(100vw-5rem)]"],[1,"text-xl","hidden","md:block","font-bold","text-black","mb-4","dark:text-white"],["id","general-info",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-primary-100","dark:text-primary-50","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","general-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-primary-100","dark:border-primary-50","rounded-full","shrink-0"],[1,"flex","text-sm","md:text-base","sm:text-center","md:text-start"],[1,"hidden","xl:flex","text-xs","sm:text-center","md:text-start"],[1,"h-px","mb-2","bg-gray-300","dark:bg-gray-200","border-0"],["id","bundle",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","bundle-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","prodspec",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","prodspec-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],[1,"flex","sm:text-center","md:text-start"],["id","catalog",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","catalog-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","category",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","category-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","license",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","license-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","price",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","price-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","summary",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","summary-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","edit-price-modal","tabindex","-1","aria-hidden","true",1,"flex","justify-center","overflow-y-auto","overflow-x-hidden","fixed","top-0","right-0","left-0","z-50","justify-center","items-center","w-full","md:inset-0","h-[calc(100%-1rem)]","max-h-full","shadow-2xl",3,"ngClass"],[1,"fixed","w-fit","top-1/2","left-1/2",3,"message"],[1,"m-4","md:grid","md:grid-cols-2","gap-4",3,"formGroup"],["for","prod-name",1,"font-bold","text-lg","dark:text-white"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["for","prod-version",1,"font-bold","text-lg","dark:text-white"],["formControlName","version","type","text","id","prod-version",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["for","prod-name",1,"font-bold","text-lg","col-span-2","dark:text-white"],[1,"w-full","col-span-2","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200"],[1,"flex","items-center","justify-between","px-3","py-2","border-b"],[1,"flex","flex-wrap","items-center","divide-gray-200","dark:divide-secondary-200","sm:divide-x","sm:rtl:divide-x-reverse"],[1,"flex","items-center","space-x-1","rtl:space-x-reverse","sm:pe-4","text-gray-500","dark:text-gray-200"],["type","button",1,"p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 5h4.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0-7H6m2 7h6.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0 0H6"],[1,"sr-only"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8.874 19 6.143-14M6 19h6.33m-.66-14H18"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M9 8h10M9 12h10M9 16h10M4.99 8H5m-.02 4h.01m0 4H5"],["type","button",1,"hidden","lg:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4"],["type","button",1,"hidden","md:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["fill-rule","evenodd","d","M5 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm0 12a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm1.65-9.76A1 1 0 0 0 5 9v6a1 1 0 0 0 1.65.76l3.5-3a1 1 0 0 0 0-1.52l-3.5-3ZM12 10a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Zm0 4a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Z","clip-rule","evenodd"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-width","2","d","M3 11h18m-9 0v8m-8 0h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 3v4a1 1 0 0 1-1 1H5m5 4-2 2 2 2m4-4 2 2-2 2m5-12v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M13.213 9.787a3.391 3.391 0 0 0-4.795 0l-3.425 3.426a3.39 3.39 0 0 0 4.795 4.794l.321-.304m-.321-4.49a3.39 3.39 0 0 0 4.795 0l3.424-3.426a3.39 3.39 0 0 0-4.794-4.795l-1.028.961"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-4","h-4"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM13.5 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm-7 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm3.5 9.5A5.5 5.5 0 0 1 4.6 11h10.81A5.5 5.5 0 0 1 10 15.5Z"],["type","button","data-tooltip-target","tooltip-fullscreen",1,"rounded","cursor-pointer","text-gray-500","dark:text-gray-200","p-2","sm:ms-auto","hover:text-gray-900","dark:hover:text-gray-900","hover:bg-gray-100",3,"click"],["stroke","currentColor","stroke-width","2","d","M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z"],["stroke","currentColor","stroke-width","2","d","M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"],["id","tooltip-fullscreen","role","tooltip",1,"absolute","z-10","invisible","inline-block","px-3","py-2","text-sm","font-medium","text-white","transition-opacity","duration-300","bg-gray-900","rounded-lg","shadow-sm","opacity-0","tooltip"],["data-popper-arrow","",1,"tooltip-arrow"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","rounded-b-lg"],["for","editor",1,"sr-only"],[1,"bg-gray-50","text-wrap","break-all","dark:bg-secondary-300","dark:text-white","text-gray-900",3,"data"],[3,"darkMode","style"],[1,"flex","w-full","justify-items-end","justify-end","ml-4"],["type","button",1,"flex","text-white","justify-end","align-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],["id","editor","formControlName","description","rows","8","placeholder","Add product description...",1,"block","w-full","px-0","text-sm","text-gray-800","dark:text-gray-200","bg-white","dark:bg-secondary-300","border-0"],[3,"click","emojiClick","darkMode"],[1,"text-3xl","font-bold","text-primary-100","ml-4","dark:text-white"],[1,"col-span-2","flex","align-items-middle","h-fit","m-4"],["for","prod-brand",1,"font-bold","text-lg","dark:text-white"],[1,"inline-flex","items-center","me-5","cursor-pointer","ml-4"],["type","checkbox",1,"sr-only","peer",3,"change","checked"],[1,"relative","w-11","h-6","bg-gray-400","dark:bg-gray-700","rounded-full","peer","peer-focus:ring-4","peer-focus:ring-primary-100","peer-checked:after:translate-x-full","rtl:peer-checked:after:-translate-x-full","peer-checked:after:border-white","after:content-['']","after:absolute","after:top-0.5","after:start-[2px]","after:bg-white","after:border-gray-300","after:border","after:rounded-full","after:h-5","after:w-5","after:transition-all","peer-checked:bg-primary-100"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["role","status",1,"w-full","h-fit","flex","justify-center","align-middle"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"flex","justify-center","w-full","m-4"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","m-4","dark:bg-secondary-300"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"hidden","md:table-cell","px-6","py-3"],["scope","col",1,"hidden","lg:table-cell","px-6","py-3"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"px-6","py-4","text-wrap","break-all"],[1,"hidden","md:table-cell","px-6","py-4"],[1,"bg-blue-100","dark:bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"hidden","lg:table-cell","px-6","py-4"],[1,"px-6","py-4"],["id","select-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded","focus:ring-blue-500","dark:focus:ring-blue-600","dark:ring-offset-gray-800","focus:ring-2","dark:bg-gray-700","dark:border-gray-600",3,"click","checked"],[1,"bg-blue-100","dark:bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"flex","pt-6","pb-2","justify-center","align-middle"],[1,"flex","cursor-pointer","shadow-lg","items-center","justify-center","px-3","h-8","text-sm","font-medium","text-gray-500","dark:text-white","bg-white","dark:bg-primary-100","dark:hover:bg-secondary-100","border","border-gray-300","dark:border-secondary-200","rounded-lg","hover:bg-gray-200",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle","mt-2"],[1,"m-4"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","mt-4","mb-4"],[1,"border-b","hover:bg-gray-200","dark:border-gray-700","dark:hover:bg-secondary-200",3,"ngClass"],[1,"border-b","hover:bg-gray-200","dark:border-gray-700","dark:hover:bg-secondary-200",3,"click","ngClass"],[1,"flex","w-full","justify-items-end","justify-end","m-4"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","mt-4"],[1,"flex","w-full","justify-items-end","justify-end","ml-4","mt-4"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],[1,"flex","w-full","justify-between"],["scope","col",1,"flex","px-6","py-3","w-3/5"],["scope","col",1,"hidden","md:flex","px-6","py-3","w-fit"],["scope","col",1,"flex","px-6","py-3","w-fit"],[1,"flex","border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200","w-full","justify-between"],[1,"flex","px-6","py-4","w-3/5","text-wrap","break-all"],[1,"hidden","md:flex","px-6","py-4","w-fit"],[1,"flex","px-6","py-4","w-fit","justify-end"],["id","select-checkbox","type","checkbox","value","",1,"flex","w-4","h-4","justify-end","text-blue-600","bg-gray-100","border-gray-300","rounded","focus:ring-blue-500","dark:focus:ring-blue-600","dark:ring-offset-gray-800","focus:ring-2","dark:bg-gray-700","dark:border-gray-600",3,"click","checked"],[1,"hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],["colspan","3"],[1,"w-full",3,"child","parent","selected","path"],[1,"mt-4"],[3,"formGroup"],["for","treatment",1,"font-bold","text-lg","dark:text-white"],["formControlName","treatment","type","text","id","treatment",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["for","description",1,"font-bold","text-lg","dark:text-white"],[1,"w-full","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200"],[1,"flex","w-full","justify-items-center","justify-center","ml-4","mt-4"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],[1,"flex","w-full","justify-items-center","justify-center","ml-4"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","m-4"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100"],[1,"border-b","hover:bg-gray-200"],["type","button",1,"text-white","bg-red-600","hover:bg-red-700","focus:ring-4","focus:outline-none","focus:ring-red-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4","text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M6 18 17.94 6M18 18 6.06 6"],["id","type",1,"ml-4","mt-4","shadow","bg-white","border","border-gray-300","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],[3,"value"],[1,"flex","m-4"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M11 16h2m6.707-9.293-2.414-2.414A1 1 0 0 0 16.586 4H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7.414a1 1 0 0 0-.293-.707ZM16 20v-6a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v6h8ZM9 4h6v3a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V4Z"],[1,"flex","flex-row","w-full","ml-4"],["type","number","pattern","[0-9]*.[0-9]*","required","",1,"block","p-2.5","w-3/4","z-20","text-sm","text-gray-900","bg-white","rounded-l-lg","rounded-s-gray-100","rounded-s-2","border-l","border-gray-300","focus:ring-blue-500","focus:border-blue-500"],["id","type",1,"bg-white","border-r","border-gray-300","0text-gray-90","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-1/4","p-2.5",3,"change"],["value","day"],["value","week"],["value","month"],["value","ms"],["value","s"],["value","min"],["scope","col",1,"hidden","xl:table-cell","px-6","py-3"],[1,"px-6","py-4","max-w-1/6","text-wrap","break-all"],[1,"hidden","xl:table-cell","px-6","py-4","text-wrap","break-all"],[1,"px-6","py-4","inline-flex"],["type","button",1,"ml-2","text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center","me-2",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4","text-white"],["fill-rule","evenodd","d","M14 4.182A4.136 4.136 0 0 1 16.9 3c1.087 0 2.13.425 2.899 1.182A4.01 4.01 0 0 1 21 7.037c0 1.068-.43 2.092-1.194 2.849L18.5 11.214l-5.8-5.71 1.287-1.31.012-.012Zm-2.717 2.763L6.186 12.13l2.175 2.141 5.063-5.218-2.141-2.108Zm-6.25 6.886-1.98 5.849a.992.992 0 0 0 .245 1.026 1.03 1.03 0 0 0 1.043.242L10.282 19l-5.25-5.168Zm6.954 4.01 5.096-5.186-2.218-2.183-5.063 5.218 2.185 2.15Z","clip-rule","evenodd"],[1,"font-bold","text-xl","ml-4","dark:text-white"],[1,"xl:grid","xl:grid-cols-80/20","xl:gap-4","m-4",3,"change","formGroup"],[1,"font-bold","text-lg","dark:text-white"],["formControlName","name","type","text","id","name",1,"bg-gray-50","dark:bg-secondary-300","border","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change","ngClass"],[1,"mt-1","mb-2","text-sm","text-red-600","dark:text-red-500"],["id","type",1,"mb-2","shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],["value","CUSTOM"],["for","description",1,"font-bold","text-lg","col-span-2","dark:text-white"],["id","description","formControlName","description","rows","4",1,"col-span-2","block","p-2.5","w-full","text-sm","text-gray-900","bg-gray-50","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","rounded-lg","border","border-gray-300","focus:ring-blue-500","focus:border-blue-500"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],[1,"flex","flex-row","w-full"],["type","number","pattern","[0-9]*.[0-9]*","formControlName","price",1,"bg-gray-50","dark:bg-secondary-300","border-l","text-gray-900","dark:text-white","text-sm","rounded-l-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change","ngClass"],["id","type",1,"w-full","lg:1/2","xl:w-1/4","bg-white","border-r","border-gray-300","dark:bg-secondary-300","text-gray-90","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","p-2.5",3,"change"],["value","ONE TIME"],["value","RECURRING"],["value","USAGE"],["id","type",1,"shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],["value","DAILY"],["value","WEEKLY"],["value","MONTHLY"],["value","QUARTERLY"],["value","YEARLY"],["value","QUINQUENNIAL"],["type","text",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"w-full","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200","col-span-2"],["id","editor","formControlName","description","rows","8","placeholder","Add product description...",1,"block","w-full","px-0","text-sm","text-gray-800","border-0","dark:text-gray-200","bg-white","dark:bg-secondary-300"],["id","type",1,"w-full","md:w-1/3","shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","p-2.5",3,"change"],["value","none"],["value","price"],["value","discount"],[1,"ml-4","mb-4","md:grid","md:grid-cols-80/20","gap-4"],[1,"font-bold","text-lg","col-span-2","dark:text-white"],["id","type",1,"mb-2","col-span-2","w-1/3","shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],["formControlName","price","type","number","pattern","[0-9]*.[0-9]*","step","0.1",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["id","type",1,"shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","text-sm","dark:border-secondary-200","dark:text-white","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],["type","text",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","text-gray-900","text-sm","dark:border-secondary-200","dark:text-white","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"ml-4","mb-4","md:grid","md:grid-cols-20/80"],["id","type",1,"shadow","bg-white","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","p-2.5"],["value","fee"],["formControlName","price","type","number","pattern","[0-9]*.[0-9]*","step","0.1",1,"bg-gray-50","border-l","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-l-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["id","type",1,"bg-white","border-r","border-gray-300","text-gray-90","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-1/4","p-2.5"],["value","percentage"],["value","AUD"],[1,"col-span-2"],["id","type",1,"bg-white","border-l","border-gray-300","text-gray-90","text-sm","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","rounded-l-lg","focus:ring-blue-500","focus:border-blue-500","block","w-1/4","p-2.5"],["value","EQ"],["value","LT"],["value","LE"],["value","GT"],["type","number","pattern","[0-9]*.[0-9]*","step","0.1",1,"bg-gray-50","border-r","border-gray-300","text-gray-900","text-sm","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],[1,"m-8"],[1,"mb-4","grid","grid-cols-2","gap-4"],[1,"mb-2","bg-gray-50","text-wrap","break-all","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","border","border-gray-300","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"mb-2","bg-gray-50","text-wrap","break-all","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"mb-4"],[1,"font-bold","text-lg","mr-4","dark:text-white"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","mb-4"],[1,"px-4","py-2","bg-white","rounded-lg","p-4","mb-4","dark:bg-secondary-300","dark:text-white","border","dark:border-secondary-200"],[1,"bg-gray-50","dark:bg-secondary-300","dark:text-white","text-gray-900","text-wrap","break-all",3,"data"],[1,"hidden","md:table-cell","px-6","py-4","text-wrap","break-all"],[1,"font-bold","text-lg"],["for","treatment",1,"font-bold","text-base","dark:text-white"],[1,"font-bold","text-base","dark:text-white"],[1,"px-4","py-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","rounded-lg","p-4"],[1,"w-full","lg:w-3/4","xl:w-1/2","relative","bg-secondary-50","dark:bg-secondary-200","rounded-lg","shadow","bg-cover","bg-right-bottom",3,"click"],[1,"flex","items-center","justify-between","pr-2","pt-2","rounded-t","dark:border-gray-600"],[1,"text-xl","ml-4","mr-4","font-semibold","tracking-tight","text-primary-100","dark:text-white"],["type","button","data-modal-hide","edit-price-modal",1,"text-gray-400","bg-transparent","hover:bg-gray-200","hover:text-gray-900","rounded-lg","text-sm","w-8","h-8","ms-auto","inline-flex","justify-center","items-center","dark:hover:bg-gray-600","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-3","h-3"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"],[1,"w-full","max-h-[80vh]","overflow-y-auto","overflow-x-hidden"],[1,"lg:grid","lg:grid-cols-80/20","gap-4","m-4","p-4",3,"change","formGroup"],["formControlName","name","type","text","id","name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change","ngClass"],["id","type",1,"mb-2","shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"value"],[1,"flex","w-full","justify-items-center","justify-center","m-2","p-2"],["id","type",1,"bg-white","border-r","border-gray-300","dark:bg-secondary-300","text-gray-90","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-1/4","p-2.5",3,"change","value"],[3,"value","selected"],["id","type",1,"mb-2","shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change","value"],["id","type",1,"shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change","value"],["type","text",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"value"],["type","button",1,"p-2","rounded","cursor-pointer","hover:text-gray-900","hover:bg-gray-100",3,"click"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",7)(2,"nav",8)(3,"ol",9)(4,"li",10)(5,"button",11),C("click",function(){return t.goBack()}),w(),o(6,"svg",12),v(7,"path",13),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",14)(11,"div",15),w(),o(12,"svg",16),v(13,"path",17),n(),O(),o(14,"span",18),f(15),m(16,"translate"),n()()()()()(),o(17,"div",19)(18,"h2",20),f(19),m(20,"translate"),n(),v(21,"hr",21),o(22,"div",22)(23,"div",23)(24,"h2",24),f(25),m(26,"translate"),n(),o(27,"button",25),C("click",function(){return t.toggleGeneral()}),o(28,"span",26),f(29," 1 "),n(),o(30,"span")(31,"h3",27),f(32),m(33,"translate"),n(),o(34,"p",28),f(35),m(36,"translate"),n()()(),v(37,"hr",29),o(38,"button",30),C("click",function(){return t.toggleBundle()}),o(39,"span",31),f(40," 2 "),n(),o(41,"span")(42,"h3",27),f(43),m(44,"translate"),n(),o(45,"p",28),f(46),m(47,"translate"),n()()(),v(48,"hr",29),o(49,"button",32),C("click",function(){return t.toggleProdSpec()}),o(50,"span",33),f(51," 3 "),n(),o(52,"span")(53,"h3",34),f(54),m(55,"translate"),n(),o(56,"p",28),f(57),m(58,"translate"),n()()(),v(59,"hr",29),o(60,"button",35),C("click",function(){return t.toggleCatalogs()}),o(61,"span",36),f(62," 4 "),n(),o(63,"span")(64,"h3",27),f(65),m(66,"translate"),n(),o(67,"p",28),f(68),m(69,"translate"),n()()(),v(70,"hr",29),o(71,"button",37),C("click",function(){return t.toggleCategories()}),o(72,"span",38),f(73," 5 "),n(),o(74,"span")(75,"h3",27),f(76),m(77,"translate"),n(),o(78,"p",28),f(79),m(80,"translate"),n()()(),v(81,"hr",29),o(82,"button",39),C("click",function(){return t.toggleLicense()}),o(83,"span",40),f(84," 6 "),n(),o(85,"span")(86,"h3",27),f(87),m(88,"translate"),n(),o(89,"p",28),f(90),m(91,"translate"),n()()(),v(92,"hr",29),o(93,"button",41),C("click",function(){return t.togglePrice()}),o(94,"span",42),f(95," 7 "),n(),o(96,"span")(97,"h3",27),f(98),m(99,"translate"),n(),o(100,"p",28),f(101),m(102,"translate"),n()()(),v(103,"hr",29),o(104,"button",43),C("click",function(){return t.showFinish()}),o(105,"span",44),f(106," 8 "),n(),o(107,"span")(108,"h3",27),f(109),m(110,"translate"),n(),o(111,"p",28),f(112),m(113,"translate"),n()()()(),o(114,"div"),R(115,zK3,94,48)(116,RK3,17,13)(117,cQ3,12,9)(118,mQ3,12,9)(119,VQ3,12,7)(120,wQ3,12,9)(121,RQ3,13,9)(122,nJ3,13,8)(123,SJ3,64,39),n()()(),R(124,$J3,40,29,"div",45)(125,YJ3,1,1,"error-message",46),n()),2&a&&(s(8),V(" ",_(9,39,"CREATE_OFFER._back")," "),s(7),H(_(16,41,"CREATE_OFFER._create")),s(4),H(_(20,43,"CREATE_OFFER._new")),s(6),H(_(26,45,"CREATE_OFFER._steps")),s(2),k("disabled",!t.generalDone),s(5),H(_(33,47,"CREATE_OFFER._general")),s(3),H(_(36,49,"CREATE_OFFER._general_info")),s(3),k("disabled",!t.bundleDone),s(5),H(_(44,51,"CREATE_OFFER._bundle")),s(3),H(_(47,53,"CREATE_OFFER._bundle_info")),s(3),k("disabled",!t.prodSpecDone),s(5),H(_(55,55,"CREATE_OFFER._prod_spec")),s(3),H(_(58,57,"CREATE_OFFER._prod_spec_info")),s(3),k("disabled",!t.catalogsDone),s(5),H(_(66,59,"CREATE_OFFER._catalog")),s(3),H(_(69,61,"CREATE_OFFER._catalog_info")),s(3),k("disabled",!t.categoriesDone),s(5),H(_(77,63,"CREATE_OFFER._category")),s(3),H(_(80,65,"CREATE_OFFER._category_info")),s(3),k("disabled",!t.licenseDone),s(5),H(_(88,67,"CREATE_OFFER._license")),s(3),H(_(91,69,"CREATE_OFFER._license_info")),s(3),k("disabled",!t.priceDone),s(5),H(_(99,71,"CREATE_OFFER._price_plans")),s(3),H(_(102,73,"CREATE_OFFER._price_plans_info")),s(3),k("disabled",!t.finishDone),s(5),H(_(110,75,"CREATE_OFFER._finish")),s(3),H(_(113,77,"CREATE_OFFER._summary")),s(3),S(115,t.showGeneral?115:-1),s(),S(116,t.showBundle?116:-1),s(),S(117,t.showProdSpec?117:-1),s(),S(118,t.showCatalog?118:-1),s(),S(119,t.showCategory?119:-1),s(),S(120,t.showLicense?120:-1),s(),S(121,t.showSLA?121:-1),s(),S(122,t.showPrice?122:-1),s(),S(123,t.showSummary?123:-1),s(),S(124,t.editPrice?124:-1),s(),S(125,t.showError?125:-1))},dependencies:[k2,I4,x6,w6,H4,Ta,N4,O4,Ll,X4,f3,G3,_4,Yl,C4,Q4,J1]})}return c})();const qJ3=["stringValue"],WJ3=["numberValue"],ZJ3=["numberUnit"],KJ3=["fromValue"],QJ3=["toValue"],JJ3=["rangeUnit"],XJ3=["attachName"],eX3=["imgURL"],rz=(c,r)=>r.id,cX3=(c,r)=>r.name,aX3=()=>({position:"relative",left:"200px",top:"-500px"});function rX3(c,r){if(1&c){const e=j();o(0,"li",103),C("click",function(){return y(e),b(h(2).setProdStatus("Active"))}),o(1,"span",16),w(),o(2,"svg",104),v(3,"path",105),n(),f(4," Active "),n()()}}function tX3(c,r){if(1&c){const e=j();o(0,"li",106),C("click",function(){return y(e),b(h(2).setProdStatus("Active"))}),o(1,"span",16),f(2," Active "),n()()}}function iX3(c,r){if(1&c){const e=j();o(0,"li",107),C("click",function(){return y(e),b(h(2).setProdStatus("Launched"))}),o(1,"span",16),w(),o(2,"svg",108),v(3,"path",105),n(),f(4," Launched "),n()()}}function oX3(c,r){if(1&c){const e=j();o(0,"li",106),C("click",function(){return y(e),b(h(2).setProdStatus("Launched"))}),o(1,"span",16),f(2," Launched "),n()()}}function nX3(c,r){if(1&c){const e=j();o(0,"li",109),C("click",function(){return y(e),b(h(2).setProdStatus("Retired"))}),o(1,"span",16),w(),o(2,"svg",110),v(3,"path",105),n(),f(4," Retired "),n()()}}function sX3(c,r){if(1&c){const e=j();o(0,"li",106),C("click",function(){return y(e),b(h(2).setProdStatus("Retired"))}),o(1,"span",16),f(2," Retired "),n()()}}function lX3(c,r){if(1&c){const e=j();o(0,"li",111),C("click",function(){return y(e),b(h(2).setProdStatus("Obsolete"))}),o(1,"span",112),w(),o(2,"svg",113),v(3,"path",105),n(),f(4," Obsolete "),n()()}}function fX3(c,r){if(1&c){const e=j();o(0,"li",111),C("click",function(){return y(e),b(h(2).setProdStatus("Obsolete"))}),o(1,"span",16),f(2," Obsolete "),n()()}}function dX3(c,r){1&c&&v(0,"markdown",97),2&c&&k("data",h(2).description)}function uX3(c,r){1&c&&v(0,"textarea",114)}function hX3(c,r){if(1&c){const e=j();o(0,"emoji-mart",115),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(2).addEmoji(t))}),n()}2&c&&(Y2(A4(3,aX3)),k("darkMode",!1))}function mX3(c,r){if(1&c){const e=j();o(0,"h2",49),f(1),m(2,"translate"),n(),o(3,"form",50)(4,"div")(5,"label",51),f(6),m(7,"translate"),n(),v(8,"input",52),o(9,"label",53),f(10),m(11,"translate"),n(),v(12,"input",54),n(),o(13,"div")(14,"label",55),f(15),m(16,"translate"),n(),v(17,"input",56),o(18,"label",57),f(19),m(20,"translate"),n(),v(21,"input",58),n(),o(22,"label",59),f(23),m(24,"translate"),n(),o(25,"div",60)(26,"ol",61),R(27,rX3,5,0,"li",62)(28,tX3,3,0)(29,iX3,5,0,"li",63)(30,oX3,3,0)(31,nX3,5,0,"li",64)(32,sX3,3,0)(33,lX3,5,0,"li",65)(34,fX3,3,0),n()(),o(35,"label",66),f(36),m(37,"translate"),n(),o(38,"div",67)(39,"div",68)(40,"div",69)(41,"div",70)(42,"button",71),C("click",function(){return y(e),b(h().addBold())}),w(),o(43,"svg",72),v(44,"path",73),n(),O(),o(45,"span",74),f(46,"Bold"),n()(),o(47,"button",71),C("click",function(){return y(e),b(h().addItalic())}),w(),o(48,"svg",72),v(49,"path",75),n(),O(),o(50,"span",74),f(51,"Italic"),n()(),o(52,"button",71),C("click",function(){return y(e),b(h().addList())}),w(),o(53,"svg",76),v(54,"path",77),n(),O(),o(55,"span",74),f(56,"Add list"),n()(),o(57,"button",78),C("click",function(){return y(e),b(h().addOrderedList())}),w(),o(58,"svg",76),v(59,"path",79),n(),O(),o(60,"span",74),f(61,"Add ordered list"),n()(),o(62,"button",80),C("click",function(){return y(e),b(h().addBlockquote())}),w(),o(63,"svg",81),v(64,"path",82),n(),O(),o(65,"span",74),f(66,"Add blockquote"),n()(),o(67,"button",71),C("click",function(){return y(e),b(h().addTable())}),w(),o(68,"svg",83),v(69,"path",84),n(),O(),o(70,"span",74),f(71,"Add table"),n()(),o(72,"button",80),C("click",function(){return y(e),b(h().addCode())}),w(),o(73,"svg",83),v(74,"path",85),n(),O(),o(75,"span",74),f(76,"Add code"),n()(),o(77,"button",80),C("click",function(){return y(e),b(h().addCodeBlock())}),w(),o(78,"svg",83),v(79,"path",86),n(),O(),o(80,"span",74),f(81,"Add code block"),n()(),o(82,"button",80),C("click",function(){return y(e),b(h().addLink())}),w(),o(83,"svg",83),v(84,"path",87),n(),O(),o(85,"span",74),f(86,"Add link"),n()(),o(87,"button",78),C("click",function(t){y(e);const i=h();return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(88,"svg",88),v(89,"path",89),n(),O(),o(90,"span",74),f(91,"Add emoji"),n()()()(),o(92,"button",90),C("click",function(){y(e);const t=h();return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(93,"svg",76),v(94,"path",91)(95,"path",92),n(),O(),o(96,"span",74),f(97),m(98,"translate"),n()(),o(99,"div",93),f(100),m(101,"translate"),v(102,"div",94),n()(),o(103,"div",95)(104,"label",96),f(105,"Publish post"),n(),R(106,dX3,1,1,"markdown",97)(107,uX3,1,0)(108,hX3,1,4,"emoji-mart",98),n()()(),o(109,"div",99)(110,"button",100),C("click",function(){return y(e),b(h().toggleBundle())}),f(111),m(112,"translate"),w(),o(113,"svg",101),v(114,"path",102),n()()()}if(2&c){let e,a,t;const i=h();s(),H(_(2,42,"UPDATE_PROD_SPEC._general")),s(2),k("formGroup",i.generalForm),s(3),H(_(7,44,"UPDATE_PROD_SPEC._product_name")),s(2),k("ngClass",1==(null==(e=i.generalForm.get("name"))?null:e.invalid)&&""!=i.generalForm.value.name?"border-red-600":"border-gray-300"),s(2),H(_(11,46,"UPDATE_PROD_SPEC._product_version")),s(2),k("ngClass",1==(null==(a=i.generalForm.get("version"))?null:a.invalid)?"border-red-600":"border-gray-300"),s(3),H(_(16,48,"UPDATE_PROD_SPEC._product_brand")),s(2),k("ngClass",1==(null==(t=i.generalForm.get("brand"))?null:t.invalid)&&""!=i.generalForm.value.brand?"border-red-600":"border-gray-300"),s(2),H(_(20,50,"UPDATE_PROD_SPEC._id_number")),s(4),H(_(24,52,"UPDATE_RES_SPEC._status")),s(4),S(27,"Active"==i.prodStatus?27:28),s(2),S(29,"Launched"==i.prodStatus?29:30),s(2),S(31,"Retired"==i.prodStatus?31:32),s(2),S(33,"Obsolete"==i.prodStatus?33:34),s(3),H(_(37,54,"UPDATE_PROD_SPEC._product_description")),s(6),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",i.showPreview)("ngClass",i.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(98,56,"CREATE_CATALOG._preview")),s(3),V(" ",_(101,58,"CREATE_CATALOG._show_preview")," "),s(6),S(106,i.showPreview?106:107),s(2),S(108,i.showEmoji?108:-1),s(2),k("disabled",!i.generalForm.valid)("ngClass",i.generalForm.valid?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(112,60,"UPDATE_PROD_SPEC._next")," ")}}function _X3(c,r){1&c&&(o(0,"div",122),w(),o(1,"svg",123),v(2,"path",124)(3,"path",125),n(),O(),o(4,"span",74),f(5,"Loading..."),n()())}function pX3(c,r){if(1&c&&(o(0,"span",135),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function gX3(c,r){if(1&c&&(o(0,"span",139),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function vX3(c,r){if(1&c&&(o(0,"span",140),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function HX3(c,r){if(1&c&&(o(0,"span",141),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function CX3(c,r){1&c&&(o(0,"span",135),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"UPDATE_PROD_SPEC._simple")))}function zX3(c,r){1&c&&(o(0,"span",139),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"UPDATE_PROD_SPEC._bundle")))}function VX3(c,r){if(1&c&&(o(0,"tr",132)(1,"td",133),f(2),n(),o(3,"td",134),R(4,pX3,2,1,"span",135)(5,gX3,2,1)(6,vX3,2,1)(7,HX3,2,1),n(),o(8,"td",134),R(9,CX3,3,3,"span",135)(10,zX3,3,3),n(),o(11,"td",136),f(12),m(13,"date"),n(),o(14,"td",137),v(15,"input",138),n()()),2&c){const e=r.$implicit,a=h(4);s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1),s(5),S(9,0==e.isBundle?9:10),s(3),V(" ",L2(13,5,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," "),s(3),k("checked",a.isProdInBundle(e))}}function MX3(c,r){if(1&c&&(o(0,"div",126)(1,"table",127)(2,"thead",128)(3,"tr")(4,"th",129),f(5),m(6,"translate"),n(),o(7,"th",130),f(8),m(9,"translate"),n(),o(10,"th",130),f(11),m(12,"translate"),n(),o(13,"th",131),f(14),m(15,"translate"),n(),o(16,"th",129),f(17),m(18,"translate"),n()()(),o(19,"tbody"),c1(20,VX3,16,8,"tr",132,rz),n()()()),2&c){const e=h(3);s(5),V(" ",_(6,5,"UPDATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(9,7,"UPDATE_PROD_SPEC._status")," "),s(3),V(" ",_(12,9,"UPDATE_PROD_SPEC._type")," "),s(3),V(" ",_(15,11,"UPDATE_PROD_SPEC._last_update")," "),s(3),V(" ",_(18,13,"UPDATE_PROD_SPEC._select")," "),s(3),a1(e.prodSpecs)}}function LX3(c,r){if(1&c){const e=j();o(0,"div",142)(1,"button",143),C("click",function(){return y(e),b(h(4).nextBundle())}),f(2),m(3,"translate"),w(),o(4,"svg",144),v(5,"path",145),n()()()}2&c&&(s(2),V(" ",_(3,1,"UPDATE_PROD_SPEC._load_more")," "))}function yX3(c,r){1&c&&R(0,LX3,6,3,"div",142),2&c&&S(0,h(3).bundlePageCheck?0:-1)}function bX3(c,r){1&c&&(o(0,"div",146),w(),o(1,"svg",123),v(2,"path",124)(3,"path",125),n(),O(),o(4,"span",74),f(5,"Loading..."),n()())}function xX3(c,r){if(1&c&&R(0,_X3,6,0,"div",122)(1,MX3,22,15)(2,yX3,1,1)(3,bX3,6,0),2&c){const e=h(2);S(0,e.loadingBundle?0:1),s(2),S(2,e.loadingBundle_more?3:2)}}function wX3(c,r){if(1&c){const e=j();o(0,"h2",49),f(1),m(2,"translate"),n(),o(3,"div",116)(4,"label",55),f(5),m(6,"translate"),n(),o(7,"label",117),v(8,"input",118)(9,"div",119),n()(),R(10,xX3,4,2),o(11,"div",120)(12,"button",121),C("click",function(){return y(e),b(h().toggleCompliance())}),f(13),m(14,"translate"),w(),o(15,"svg",101),v(16,"path",102),n()()()}if(2&c){const e=h();s(),H(_(2,7,"UPDATE_PROD_SPEC._bundle")),s(4),H(_(6,9,"UPDATE_PROD_SPEC._is_bundled")),s(3),k("checked",e.bundleChecked),s(2),S(10,e.bundleChecked?10:-1),s(2),k("disabled",e.prodSpecsBundle.length<2&&e.bundleChecked)("ngClass",e.prodSpecsBundle.length<2&&e.bundleChecked?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(14,11,"UPDATE_PROD_SPEC._next")," ")}}function FX3(c,r){if(1&c){const e=j();o(0,"li")(1,"div",168)(2,"label",169),f(3),n(),o(4,"button",170),C("click",function(){const t=y(e).$implicit;return b(h(4).addISO(t))}),w(),o(5,"svg",171),v(6,"path",145),n()()()()}if(2&c){const e=r.$implicit;s(2),k("ngClass",1==e.domesupported?"text-primary-100 font-bold":"text-gray-900 font-medium"),s(),V(" ",e.name," ")}}function kX3(c,r){if(1&c&&(o(0,"div",166)(1,"ul",167),c1(2,FX3,7,2,"li",null,z1),n()()),2&c){const e=h(3);s(2),a1(e.availableISOS)}}function SX3(c,r){if(1&c){const e=j();o(0,"button",163),C("click",function(){y(e);const t=h(2);return b(t.buttonISOClicked=!t.buttonISOClicked)}),f(1),m(2,"translate"),w(),o(3,"svg",164),v(4,"path",165),n()(),R(5,kX3,4,0,"div",166)}if(2&c){const e=h(2);s(),V(" ",_(2,2,"UPDATE_PROD_SPEC._add_comp")," "),s(4),S(5,e.buttonISOClicked?5:-1)}}function NX3(c,r){1&c&&(o(0,"button",177),w(),o(1,"svg",149),v(2,"path",150),n()())}function DX3(c,r){1&c&&(o(0,"button",178),w(),o(1,"svg",149),v(2,"path",150),n()())}function TX3(c,r){if(1&c&&R(0,NX3,3,0,"button",177)(1,DX3,3,0),2&c){const e=h().$implicit;S(0,h(2).isVerified(e)?0:1)}}function EX3(c,r){if(1&c){const e=j();o(0,"tr",132)(1,"td",133),f(2),n(),o(3,"td",133),f(4),n(),o(5,"td",172)(6,"button",173),C("click",function(t){const i=y(e).$implicit;return h(2).toggleUploadFile(i),b(t.stopPropagation())}),w(),o(7,"svg",149),v(8,"path",174),n()(),R(9,TX3,2,1),O(),o(10,"button",175),C("click",function(){const t=y(e).$implicit;return b(h(2).removeISO(t))}),w(),o(11,"svg",149),v(12,"path",176),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.url," "),s(5),S(9,1==e.domesupported?9:-1)}}function AX3(c,r){1&c&&(o(0,"div",162)(1,"div",179),w(),o(2,"svg",180),v(3,"path",181),n(),O(),o(4,"span",74),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"UPDATE_PROD_SPEC._no_comp_profile")," "))}function PX3(c,r){if(1&c){const e=j();o(0,"h2",49),f(1),m(2,"translate"),n(),R(3,SX3,6,4),o(4,"div",147)(5,"button",148),C("click",function(){return y(e),b(h().verifyCredential())}),f(6),m(7,"translate"),w(),o(8,"svg",149),v(9,"path",150),n()(),O(),o(10,"div",151),w(),o(11,"svg",152),v(12,"path",153),n()()(),O(),o(13,"div",154)(14,"div",155)(15,"h3",156),f(16),m(17,"translate"),n()(),o(18,"div",157)(19,"p",158),f(20),m(21,"translate"),o(22,"a",159),f(23),m(24,"translate"),n()()(),v(25,"div",160),n(),o(26,"div",161)(27,"table",127)(28,"thead",128)(29,"tr")(30,"th",129),f(31),m(32,"translate"),n(),o(33,"th",129),f(34),m(35,"translate"),n(),o(36,"th",129),f(37),m(38,"translate"),n()()(),o(39,"tbody"),c1(40,EX3,13,3,"tr",132,cX3,!1,AX3,9,3,"div",162),n()()(),o(43,"div",120)(44,"button",121),C("click",function(){return y(e),b(h().toggleChars())}),f(45),m(46,"translate"),w(),o(47,"svg",101),v(48,"path",102),n()()()}if(2&c){const e=h();s(),H(_(2,14,"UPDATE_PROD_SPEC._comp_profile")),s(2),S(3,e.availableISOS.length>0?3:-1),s(3),V(" ",_(7,16,"UPDATE_PROD_SPEC._verify")," "),s(10),H(_(17,18,"UPDATE_PROD_SPEC._how_to_verify")),s(4),V("",_(21,20,"UPDATE_PROD_SPEC._verify_text")," "),s(2),E1("href",e.DOME_TRUST_LINK,H2),s(),V(" ",_(24,22,"UPDATE_PROD_SPEC._dome_trust"),"."),s(8),V(" ",_(32,24,"UPDATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(35,26,"UPDATE_PROD_SPEC._value")," "),s(3),V(" ",_(38,28,"UPDATE_PROD_SPEC._actions")," "),s(3),a1(e.selectedISOS),s(4),k("disabled",e.checkValidISOS())("ngClass",e.checkValidISOS()?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(46,30,"UPDATE_PROD_SPEC._next")," ")}}function RX3(c,r){1&c&&(o(0,"div",182)(1,"div",179),w(),o(2,"svg",180),v(3,"path",181),n(),O(),o(4,"span",74),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"UPDATE_PROD_SPEC._no_chars")," "))}function BX3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function OX3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function IX3(c,r){if(1&c&&R(0,BX3,4,2)(1,OX3,3,2),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function UX3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function jX3(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function $X3(c,r){if(1&c&&R(0,UX3,4,3)(1,jX3,3,3),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function YX3(c,r){1&c&&R(0,IX3,2,1)(1,$X3,2,1),2&c&&S(0,r.$implicit.value?0:1)}function GX3(c,r){if(1&c){const e=j();o(0,"tr",132)(1,"td",185),f(2),n(),o(3,"td",186),f(4),n(),o(5,"td",133),c1(6,YX3,2,1,null,null,z1),n(),o(8,"td",137)(9,"button",187),C("click",function(){const t=y(e).$implicit;return b(h(3).deleteChar(t))}),w(),o(10,"svg",188),v(11,"path",176),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),a1(e.productSpecCharacteristicValue)}}function qX3(c,r){if(1&c&&(o(0,"div",126)(1,"table",127)(2,"thead",128)(3,"tr")(4,"th",129),f(5),m(6,"translate"),n(),o(7,"th",131),f(8),m(9,"translate"),n(),o(10,"th",129),f(11),m(12,"translate"),n(),o(13,"th",129),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,GX3,12,2,"tr",132,z1),n()()()),2&c){const e=h(2);s(5),V(" ",_(6,4,"UPDATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(9,6,"UPDATE_PROD_SPEC._product_description")," "),s(3),V(" ",_(12,8,"UPDATE_PROD_SPEC._values")," "),s(3),V(" ",_(15,10,"UPDATE_PROD_SPEC._actions")," "),s(3),a1(e.prodChars)}}function WX3(c,r){if(1&c){const e=j();o(0,"div",183)(1,"button",189),C("click",function(){y(e);const t=h(2);return b(t.showCreateChar=!t.showCreateChar)}),f(2),m(3,"translate"),w(),o(4,"svg",190),v(5,"path",145),n()()()}2&c&&(s(2),V(" ",_(3,1,"UPDATE_PROD_SPEC._new_char")," "))}function ZX3(c,r){if(1&c){const e=j();o(0,"div",208)(1,"div",209)(2,"input",210),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).selectDefaultChar(i,l))}),n(),o(3,"label",211),f(4),o(5,"i"),f(6),n()()(),o(7,"button",212),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).removeCharValue(i,l))}),w(),o(8,"svg",188),v(9,"path",176),n()()()}if(2&c){const e=r.$implicit;s(2),k("checked",null==e?null:e.isDefault),s(2),j1("",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function KX3(c,r){1&c&&c1(0,ZX3,10,4,"div",208,z1),2&c&&a1(h(4).creatingChars)}function QX3(c,r){if(1&c){const e=j();o(0,"div",208)(1,"div",209)(2,"input",213),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).selectDefaultChar(i,l))}),n(),o(3,"label",214),f(4),o(5,"i"),f(6),n()()(),o(7,"button",212),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).removeCharValue(i,l))}),w(),o(8,"svg",188),v(9,"path",176),n()()()}if(2&c){const e=r.$implicit;s(2),k("checked",null==e?null:e.isDefault),s(2),V("",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function JX3(c,r){1&c&&c1(0,QX3,10,3,"div",208,z1),2&c&&a1(h(4).creatingChars)}function XX3(c,r){if(1&c&&(o(0,"label",202),f(1,"Values"),n(),o(2,"div",207),R(3,KX3,2,0)(4,JX3,2,0),n()),2&c){const e=h(3);s(3),S(3,e.rangeCharSelected?3:4)}}function e16(c,r){if(1&c){const e=j();o(0,"div",203),v(1,"input",215,0),o(3,"button",216),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(4,"svg",217),v(5,"path",145),n()()()}}function c16(c,r){if(1&c){const e=j();o(0,"div",218)(1,"div",219)(2,"span",220),f(3),m(4,"translate"),n(),v(5,"input",221,1),n(),o(7,"div",219)(8,"span",220),f(9),m(10,"translate"),n(),v(11,"input",222,2),n(),o(13,"button",216),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(14,"svg",217),v(15,"path",145),n()()()}2&c&&(s(3),V(" ",_(4,2,"UPDATE_PROD_SPEC._value")," "),s(6),V(" ",_(10,4,"UPDATE_PROD_SPEC._unit")," "))}function a16(c,r){if(1&c){const e=j();o(0,"div",218)(1,"div",219)(2,"span",223),f(3),m(4,"translate"),n(),v(5,"input",221,3),n(),o(7,"div",219)(8,"span",223),f(9),m(10,"translate"),n(),v(11,"input",221,4),n(),o(13,"div",219)(14,"span",223),f(15),m(16,"translate"),n(),v(17,"input",222,5),n(),o(19,"button",216),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(20,"svg",217),v(21,"path",145),n()()()}2&c&&(s(3),V(" ",_(4,3,"UPDATE_PROD_SPEC._from")," "),s(6),V(" ",_(10,5,"UPDATE_PROD_SPEC._to")," "),s(6),V(" ",_(16,7,"UPDATE_PROD_SPEC._unit")," "))}function r16(c,r){if(1&c){const e=j();o(0,"form",191)(1,"div")(2,"label",51),f(3),m(4,"translate"),n(),v(5,"input",192),n(),o(6,"div")(7,"label",193),f(8),m(9,"translate"),n(),o(10,"select",194),C("change",function(t){return y(e),b(h(2).onTypeChange(t))}),o(11,"option",195),f(12,"String"),n(),o(13,"option",196),f(14,"Number"),n(),o(15,"option",197),f(16,"Number range"),n()()(),o(17,"div",198)(18,"label",199),f(19),m(20,"translate"),n(),v(21,"textarea",200),n()(),o(22,"div",201),R(23,XX3,5,1),o(24,"label",202),f(25),m(26,"translate"),n(),R(27,e16,6,0,"div",203)(28,c16,16,6)(29,a16,22,9),o(30,"div",204)(31,"button",205),C("click",function(){return y(e),b(h(2).saveChar())}),f(32),m(33,"translate"),w(),o(34,"svg",190),v(35,"path",206),n()()()()}if(2&c){const e=h(2);k("formGroup",e.charsForm),s(3),H(_(4,10,"UPDATE_PROD_SPEC._product_name")),s(5),H(_(9,12,"UPDATE_PROD_SPEC._type")),s(11),H(_(20,14,"UPDATE_PROD_SPEC._product_description")),s(4),S(23,e.creatingChars.length>0?23:-1),s(2),H(_(26,16,"UPDATE_PROD_SPEC._add_values")),s(2),S(27,e.stringCharSelected?27:e.numberCharSelected?28:e.rangeCharSelected?29:-1),s(4),k("disabled",!e.charsForm.valid||0==e.creatingChars.length)("ngClass",e.charsForm.valid&&0!=e.creatingChars.length?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(33,18,"UPDATE_PROD_SPEC._save_char")," ")}}function t16(c,r){if(1&c){const e=j();o(0,"h2",49),f(1),m(2,"translate"),n(),R(3,RX3,9,3,"div",182)(4,qX3,19,12)(5,WX3,6,3,"div",183)(6,r16,36,20),o(7,"div",184)(8,"button",148),C("click",function(){return y(e),b(h().toggleResource())}),f(9),m(10,"translate"),w(),o(11,"svg",101),v(12,"path",102),n()()()}if(2&c){const e=h();s(),H(_(2,4,"UPDATE_PROD_SPEC._chars")),s(2),S(3,0===e.prodChars.length?3:4),s(2),S(5,0==e.showCreateChar?5:6),s(4),V(" ",_(10,6,"UPDATE_PROD_SPEC._next")," ")}}function i16(c,r){1&c&&(o(0,"div",122),w(),o(1,"svg",123),v(2,"path",124)(3,"path",125),n(),O(),o(4,"span",74),f(5,"Loading..."),n()())}function o16(c,r){1&c&&(o(0,"div",182)(1,"div",179),w(),o(2,"svg",180),v(3,"path",181),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_res")," "))}function n16(c,r){if(1&c&&(o(0,"span",135),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function s16(c,r){if(1&c&&(o(0,"span",139),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function l16(c,r){if(1&c&&(o(0,"span",140),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function f16(c,r){if(1&c&&(o(0,"span",141),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function d16(c,r){if(1&c){const e=j();o(0,"tr",132)(1,"td",133),f(2),n(),o(3,"td",134),R(4,n16,2,1,"span",135)(5,s16,2,1)(6,l16,2,1)(7,f16,2,1),n(),o(8,"td",136),f(9),m(10,"date"),n(),o(11,"td",137)(12,"input",224),C("click",function(){const t=y(e).$implicit;return b(h(4).addResToSelected(t))}),n()()()}if(2&c){const e=r.$implicit,a=h(4);s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1),s(5),V(" ",L2(10,4,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," "),s(3),k("checked",a.isResSelected(e))}}function u16(c,r){if(1&c&&(o(0,"div",126)(1,"table",127)(2,"thead",128)(3,"tr")(4,"th",129),f(5),m(6,"translate"),n(),o(7,"th",130),f(8),m(9,"translate"),n(),o(10,"th",131),f(11),m(12,"translate"),n(),o(13,"th",129),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,d16,13,7,"tr",132,rz),n()()()),2&c){const e=h(3);s(5),V(" ",_(6,4,"UPDATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(9,6,"UPDATE_PROD_SPEC._status")," "),s(3),V(" ",_(12,8,"UPDATE_PROD_SPEC._last_update")," "),s(3),V(" ",_(15,10,"UPDATE_PROD_SPEC._select")," "),s(3),a1(e.resourceSpecs)}}function h16(c,r){1&c&&R(0,o16,7,3,"div",182)(1,u16,19,12),2&c&&S(0,0==h(2).resourceSpecs.length?0:1)}function m16(c,r){if(1&c){const e=j();o(0,"div",142)(1,"button",143),C("click",function(){return y(e),b(h(3).nextRes())}),f(2),m(3,"translate"),w(),o(4,"svg",144),v(5,"path",145),n()()()}2&c&&(s(2),V(" ",_(3,1,"UPDATE_PROD_SPEC._load_more")," "))}function _16(c,r){1&c&&R(0,m16,6,3,"div",142),2&c&&S(0,h(2).resourceSpecPageCheck?0:-1)}function p16(c,r){1&c&&(o(0,"div",146),w(),o(1,"svg",123),v(2,"path",124)(3,"path",125),n(),O(),o(4,"span",74),f(5,"Loading..."),n()())}function g16(c,r){if(1&c){const e=j();o(0,"h2",49),f(1),m(2,"translate"),n(),R(3,i16,6,0,"div",122)(4,h16,2,1)(5,_16,1,1)(6,p16,6,0),o(7,"div",120)(8,"button",148),C("click",function(){return y(e),b(h().toggleService())}),f(9),m(10,"translate"),w(),o(11,"svg",101),v(12,"path",102),n()()()}if(2&c){const e=h();s(),H(_(2,4,"UPDATE_PROD_SPEC._resource_specs")),s(2),S(3,e.loadingResourceSpec?3:4),s(2),S(5,e.loadingResourceSpec_more?6:5),s(4),V(" ",_(10,6,"UPDATE_PROD_SPEC._next")," ")}}function v16(c,r){1&c&&(o(0,"div",122),w(),o(1,"svg",123),v(2,"path",124)(3,"path",125),n(),O(),o(4,"span",74),f(5,"Loading..."),n()())}function H16(c,r){1&c&&(o(0,"div",182)(1,"div",179),w(),o(2,"svg",180),v(3,"path",181),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_serv")," "))}function C16(c,r){if(1&c&&(o(0,"span",135),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function z16(c,r){if(1&c&&(o(0,"span",139),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function V16(c,r){if(1&c&&(o(0,"span",140),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function M16(c,r){if(1&c&&(o(0,"span",141),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function L16(c,r){if(1&c){const e=j();o(0,"tr",132)(1,"td",133),f(2),n(),o(3,"td",134),R(4,C16,2,1,"span",135)(5,z16,2,1)(6,V16,2,1)(7,M16,2,1),n(),o(8,"td",136),f(9),m(10,"date"),n(),o(11,"td",137)(12,"input",224),C("click",function(){const t=y(e).$implicit;return b(h(4).addServToSelected(t))}),n()()()}if(2&c){const e=r.$implicit,a=h(4);s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1),s(5),V(" ",L2(10,4,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," "),s(3),k("checked",a.isServSelected(e))}}function y16(c,r){if(1&c&&(o(0,"div",126)(1,"table",127)(2,"thead",128)(3,"tr")(4,"th",129),f(5),m(6,"translate"),n(),o(7,"th",130),f(8),m(9,"translate"),n(),o(10,"th",131),f(11),m(12,"translate"),n(),o(13,"th",129),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,L16,13,7,"tr",132,rz),n()()()),2&c){const e=h(3);s(5),V(" ",_(6,4,"UPDATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(9,6,"UPDATE_PROD_SPEC._status")," "),s(3),V(" ",_(12,8,"UPDATE_PROD_SPEC._last_update")," "),s(3),V(" ",_(15,10,"UPDATE_PROD_SPEC._select")," "),s(3),a1(e.serviceSpecs)}}function b16(c,r){1&c&&R(0,H16,7,3,"div",182)(1,y16,19,12),2&c&&S(0,0==h(2).serviceSpecs.length?0:1)}function x16(c,r){if(1&c){const e=j();o(0,"div",142)(1,"button",143),C("click",function(){return y(e),b(h(3).nextServ())}),f(2),m(3,"translate"),w(),o(4,"svg",144),v(5,"path",145),n()()()}2&c&&(s(2),V(" ",_(3,1,"UPDATE_PROD_SPEC._load_more")," "))}function w16(c,r){1&c&&R(0,x16,6,3,"div",142),2&c&&S(0,h(2).serviceSpecPageCheck?0:-1)}function F16(c,r){1&c&&(o(0,"div",146),w(),o(1,"svg",123),v(2,"path",124)(3,"path",125),n(),O(),o(4,"span",74),f(5,"Loading..."),n()())}function k16(c,r){if(1&c){const e=j();o(0,"h2",49),f(1),m(2,"translate"),n(),R(3,v16,6,0,"div",122)(4,b16,2,1)(5,w16,1,1)(6,F16,6,0),o(7,"div",120)(8,"button",148),C("click",function(){return y(e),b(h().toggleAttach())}),f(9),m(10,"translate"),w(),o(11,"svg",101),v(12,"path",102),n()()()}if(2&c){const e=h();s(),H(_(2,4,"UPDATE_PROD_SPEC._service_specs")),s(2),S(3,e.loadingServiceSpec?3:4),s(2),S(5,e.loadingServiceSpec_more?6:5),s(4),V(" ",_(10,6,"UPDATE_PROD_SPEC._next")," ")}}function S16(c,r){if(1&c){const e=j();o(0,"div",227),v(1,"img",229),o(2,"button",230),C("click",function(){return y(e),b(h(2).removeImg())}),w(),o(3,"svg",188),v(4,"path",176),n()()()}if(2&c){const e=h(2);s(),E1("src",e.imgPreview,H2)}}function N16(c,r){if(1&c){const e=j();o(0,"div",238),w(),o(1,"svg",239),v(2,"path",240),n(),O(),o(3,"div",241)(4,"p",242),f(5),m(6,"translate"),o(7,"button",243),C("click",function(){return b((0,y(e).openFileSelector)())}),f(8),m(9,"translate"),n()()()()}2&c&&(s(5),V("",_(6,2,"UPDATE_PROD_SPEC._drop_files")," "),s(3),H(_(9,4,"UPDATE_PROD_SPEC._select_files")))}function D16(c,r){if(1&c){const e=j();o(0,"div",231)(1,"ngx-file-drop",232),C("onFileDrop",function(t){return y(e),b(h(2).dropped(t,"img"))})("onFileOver",function(t){return y(e),b(h(2).fileOver(t))})("onFileLeave",function(t){return y(e),b(h(2).fileLeave(t))}),R(2,N16,10,6,"ng-template",233),n()(),o(3,"label",234),f(4),m(5,"translate"),n(),o(6,"div",235),v(7,"input",236,6),o(9,"button",237),C("click",function(){return y(e),b(h(2).saveImgFromURL())}),w(),o(10,"svg",188),v(11,"path",150),n()()()}if(2&c){const e=h(2);s(4),H(_(5,4,"UPDATE_PROD_SPEC._add_prod_img_url")),s(3),k("formControl",e.attImageName),s(2),k("disabled",!e.attImageName.valid)("ngClass",e.attImageName.valid?"hover:bg-primary-50":"opacity-50")}}function T16(c,r){1&c&&(o(0,"div",228)(1,"div",179),w(),o(2,"svg",180),v(3,"path",181),n(),O(),o(4,"span",74),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"UPDATE_PROD_SPEC._no_att")," "))}function E16(c,r){if(1&c){const e=j();o(0,"tr",132)(1,"td",185),f(2),n(),o(3,"td",133),f(4),n(),o(5,"td",137)(6,"button",187),C("click",function(){const t=y(e).$implicit;return b(h(3).removeAtt(t))}),w(),o(7,"svg",188),v(8,"path",176),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.url," ")}}function A16(c,r){if(1&c&&(o(0,"div",126)(1,"table",127)(2,"thead",128)(3,"tr")(4,"th",129),f(5),m(6,"translate"),n(),o(7,"th",129),f(8),m(9,"translate"),n(),o(10,"th",129),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,E16,9,2,"tr",132,z1),n()()()),2&c){const e=h(2);s(5),V(" ",_(6,3,"UPDATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(9,5,"UPDATE_PROD_SPEC._value")," "),s(3),V(" ",_(12,7,"UPDATE_PROD_SPEC._actions")," "),s(3),a1(e.prodAttachments)}}function P16(c,r){if(1&c){const e=j();o(0,"div",183)(1,"button",189),C("click",function(){y(e);const t=h(2);return b(t.showNewAtt=!t.showNewAtt)}),f(2),m(3,"translate"),w(),o(4,"svg",190),v(5,"path",145),n()()()}2&c&&(s(2),V(" ",_(3,1,"UPDATE_PROD_SPEC._new_att")," "))}function R16(c,r){if(1&c){const e=j();o(0,"div",238),w(),o(1,"svg",239),v(2,"path",240),n(),O(),o(3,"div",241)(4,"p",242),f(5),m(6,"translate"),o(7,"button",243),C("click",function(){return b((0,y(e).openFileSelector)())}),f(8),m(9,"translate"),n()()()()}2&c&&(s(5),V("",_(6,2,"UPDATE_PROD_SPEC._drop_files")," "),s(3),H(_(9,4,"UPDATE_PROD_SPEC._select_files")))}function B16(c,r){if(1&c){const e=j();o(0,"ngx-file-drop",250),C("onFileDrop",function(t){return y(e),b(h(3).dropped(t,"attach"))})("onFileOver",function(t){return y(e),b(h(3).fileOver(t))})("onFileLeave",function(t){return y(e),b(h(3).fileLeave(t))}),R(1,R16,10,6,"ng-template",233),n()}}function O16(c,r){if(1&c){const e=j();o(0,"div",251)(1,"span",74),f(2,"Info"),n(),o(3,"label",252),f(4),n(),o(5,"button",230),C("click",function(){return y(e),b(h(3).clearAtt())}),w(),o(6,"svg",188),v(7,"path",176),n()()()}if(2&c){const e=h(3);s(4),V(" ",e.attachToCreate.url," ")}}function I16(c,r){if(1&c){const e=j();o(0,"div",244)(1,"div",245)(2,"div",246)(3,"label",247),f(4),m(5,"translate"),n(),v(6,"input",248,7),n(),R(8,B16,2,0,"ngx-file-drop",249)(9,O16,8,1),n(),o(10,"div",204)(11,"button",205),C("click",function(){return y(e),b(h(2).saveAtt())}),f(12),m(13,"translate"),w(),o(14,"svg",190),v(15,"path",206),n()()()()}if(2&c){const e=h(2);s(4),H(_(5,7,"PROFILE._name")),s(2),k("formControl",e.attFileName)("ngClass",1==e.attFileName.invalid?"border-red-600":"border-gray-300"),s(2),S(8,""==e.attachToCreate.url?8:9),s(3),k("disabled",!e.attFileName.valid||""==e.attachToCreate.url)("ngClass",e.attFileName.valid&&""!=e.attachToCreate.url?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(13,9,"UPDATE_PROD_SPEC._save_att")," ")}}function U16(c,r){if(1&c){const e=j();o(0,"div",225)(1,"h2",49),f(2),m(3,"translate"),n(),o(4,"div",151),w(),o(5,"svg",152),v(6,"path",153),n()(),O(),o(7,"div",154)(8,"div",155)(9,"h3",156),f(10),m(11,"translate"),n()(),o(12,"div",157)(13,"p",158),f(14),m(15,"translate"),n()(),v(16,"div",160),n()(),o(17,"h4",226),f(18),m(19,"translate"),n(),R(20,S16,5,1,"div",227)(21,D16,12,6),o(22,"h4",226),f(23),m(24,"translate"),n(),R(25,T16,9,3,"div",228)(26,A16,16,9)(27,P16,6,3,"div",183)(28,I16,16,11),o(29,"div",184)(30,"button",148),C("click",function(){return y(e),b(h().toggleRelationship())}),f(31),m(32,"translate"),w(),o(33,"svg",101),v(34,"path",102),n()()()}if(2&c){const e=h();s(2),H(_(3,9,"UPDATE_PROD_SPEC._attachments")),s(8),H(_(11,11,"UPDATE_PROD_SPEC._file_res")),s(4),V("",_(15,13,"UPDATE_PROD_SPEC._restrictions")," "),s(4),H(_(19,15,"UPDATE_PROD_SPEC._add_prod_img")),s(2),S(20,e.showImgPreview?20:21),s(3),H(_(24,17,"UPDATE_PROD_SPEC._add_att")),s(2),S(25,0==e.prodAttachments.length?25:26),s(2),S(27,0==e.showNewAtt?27:28),s(4),V(" ",_(32,19,"UPDATE_PROD_SPEC._next")," ")}}function j16(c,r){1&c&&(o(0,"div",253)(1,"div",179),w(),o(2,"svg",180),v(3,"path",181),n(),O(),o(4,"span",74),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"UPDATE_PROD_SPEC._no_relatioships")," "))}function $16(c,r){if(1&c&&(o(0,"span",135),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function Y16(c,r){if(1&c&&(o(0,"span",139),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function G16(c,r){if(1&c&&(o(0,"span",140),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function q16(c,r){if(1&c&&(o(0,"span",141),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function W16(c,r){if(1&c){const e=j();o(0,"tr",132)(1,"td",137),f(2),n(),o(3,"td",133),f(4),n(),o(5,"td",134),R(6,$16,2,1,"span",135)(7,Y16,2,1)(8,G16,2,1)(9,q16,2,1),n(),o(10,"td",136),f(11),m(12,"date"),n(),o(13,"td",137)(14,"button",187),C("click",function(){const t=y(e).$implicit;return b(h(3).deleteRel(t))}),w(),o(15,"svg",188),v(16,"path",176),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.relationshipType," "),s(2),V(" ",e.productSpec.name," "),s(2),S(6,"Active"==e.productSpec.lifecycleStatus?6:"Launched"==e.productSpec.lifecycleStatus?7:"Retired"==e.productSpec.lifecycleStatus?8:"Obsolete"==e.productSpec.lifecycleStatus?9:-1),s(5),V(" ",L2(12,4,e.productSpec.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," ")}}function Z16(c,r){if(1&c&&(o(0,"div",126)(1,"table",127)(2,"thead",128)(3,"tr")(4,"th",129),f(5),m(6,"translate"),n(),o(7,"th",129),f(8),m(9,"translate"),n(),o(10,"th",130),f(11),m(12,"translate"),n(),o(13,"th",131),f(14),m(15,"translate"),n(),o(16,"th",129),f(17," Actions "),n()()(),o(18,"tbody"),c1(19,W16,17,7,"tr",132,z1),n()()()),2&c){const e=h(2);s(5),V(" ",_(6,4,"UPDATE_PROD_SPEC._relationship_type")," "),s(3),V(" ",_(9,6,"UPDATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(12,8,"UPDATE_PROD_SPEC._type")," "),s(3),V(" ",_(15,10,"UPDATE_PROD_SPEC._last_update")," "),s(5),a1(e.prodRelationships)}}function K16(c,r){if(1&c){const e=j();o(0,"div",183)(1,"button",189),C("click",function(){y(e);const t=h(2);return b(t.showCreateRel=!t.showCreateRel)}),f(2),m(3,"translate"),w(),o(4,"svg",190),v(5,"path",145),n()()()}2&c&&(s(2),V(" ",_(3,1,"UPDATE_PROD_SPEC._add_relationship")," "))}function Q16(c,r){1&c&&(o(0,"div",122),w(),o(1,"svg",123),v(2,"path",124)(3,"path",125),n(),O(),o(4,"span",74),f(5,"Loading..."),n()())}function J16(c,r){1&c&&(o(0,"div",182)(1,"div",179),w(),o(2,"svg",180),v(3,"path",181),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_prod_rel")," "))}function X16(c,r){1&c&&(o(0,"span",135),f(1,"Simple"),n())}function e26(c,r){1&c&&(o(0,"span",139),f(1,"Bundle"),n())}function c26(c,r){if(1&c){const e=j();o(0,"tr",261),C("click",function(){const t=y(e).$implicit;return b(h(5).selectRelationship(t))}),o(1,"td",133),f(2),n(),o(3,"td",134),R(4,X16,2,0,"span",135)(5,e26,2,0),n(),o(6,"td",136),f(7),m(8,"date"),n()()}if(2&c){const e=r.$implicit,a=h(5);k("ngClass",e.id==a.selectedProdSpec.id?"bg-gray-300 dark:bg-secondary-200":"bg-white dark:bg-secondary-300"),s(2),V(" ",e.name," "),s(2),S(4,0==e.isBundle?4:5),s(3),V(" ",L2(8,4,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," ")}}function a26(c,r){if(1&c&&(o(0,"div",259)(1,"table",127)(2,"thead",128)(3,"tr")(4,"th",129),f(5),m(6,"translate"),n(),o(7,"th",130),f(8),m(9,"translate"),n(),o(10,"th",131),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,c26,9,7,"tr",260,z1),n()()()),2&c){const e=h(4);s(5),V(" ",_(6,3,"UPDATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(9,5,"UPDATE_PROD_SPEC._type")," "),s(3),V(" ",_(12,7,"UPDATE_PROD_SPEC._last_update")," "),s(3),a1(e.prodSpecRels)}}function r26(c,r){if(1&c){const e=j();o(0,"div",142)(1,"button",143),C("click",function(){return y(e),b(h(5).nextProdSpecsRel())}),f(2),m(3,"translate"),w(),o(4,"svg",144),v(5,"path",145),n()()()}2&c&&(s(2),V(" ",_(3,1,"UPDATE_PROD_SPEC._load_more")," "))}function t26(c,r){1&c&&R(0,r26,6,3,"div",142),2&c&&S(0,h(4).prodSpecRelPageCheck?0:-1)}function i26(c,r){1&c&&(o(0,"div",146),w(),o(1,"svg",123),v(2,"path",124)(3,"path",125),n(),O(),o(4,"span",74),f(5,"Loading..."),n()())}function o26(c,r){if(1&c&&R(0,J16,7,3,"div",182)(1,a26,16,9)(2,t26,1,1)(3,i26,6,0),2&c){const e=h(3);S(0,0==e.prodSpecRels.length?0:1),s(2),S(2,e.loadingprodSpecRel_more?3:2)}}function n26(c,r){if(1&c){const e=j();o(0,"label",193),f(1),m(2,"translate"),n(),o(3,"select",254),C("change",function(t){return y(e),b(h(2).onRelChange(t))}),o(4,"option",255),f(5,"Migration"),n(),o(6,"option",256),f(7,"Dependency"),n(),o(8,"option",257),f(9,"Exclusivity"),n(),o(10,"option",258),f(11,"Substitution"),n()(),R(12,Q16,6,0,"div",122)(13,o26,4,2),o(14,"div",204)(15,"button",205),C("click",function(){return y(e),b(h(2).saveRel())}),f(16),m(17,"translate"),w(),o(18,"svg",190),v(19,"path",206),n()()()}if(2&c){const e=h(2);s(),H(_(2,5,"UPDATE_PROD_SPEC._relationship_type")),s(11),S(12,e.loadingprodSpecRel?12:13),s(3),k("disabled",0==e.prodSpecRels.length)("ngClass",0==e.prodSpecRels.length?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(17,7,"UPDATE_PROD_SPEC._save_relationship")," ")}}function s26(c,r){if(1&c){const e=j();o(0,"h2",49),f(1),m(2,"translate"),n(),o(3,"div",201),R(4,j16,9,3,"div",253)(5,Z16,21,12)(6,K16,6,3,"div",183)(7,n26,20,9),n(),o(8,"div",120)(9,"button",148),C("click",function(){return y(e),b(h().showFinish())}),f(10),m(11,"translate"),w(),o(12,"svg",101),v(13,"path",102),n()()()}if(2&c){const e=h();s(),H(_(2,4,"UPDATE_PROD_SPEC._relationships")),s(3),S(4,0===e.prodRelationships.length?4:5),s(2),S(6,0==e.showCreateRel?6:7),s(4),V(" ",_(11,6,"UPDATE_PROD_SPEC._finish")," ")}}function l26(c,r){if(1&c&&(o(0,"label",193),f(1),m(2,"translate"),n(),o(3,"label",264),f(4),n()),2&c){const e=h(2);s(),H(_(2,2,"UPDATE_PROD_SPEC._id_number")),s(3),V(" ",null==e.productSpecToUpdate?null:e.productSpecToUpdate.productNumber," ")}}function f26(c,r){if(1&c&&(o(0,"span",135),f(1),n()),2&c){const e=h(2);s(),H(null==e.productSpecToUpdate?null:e.productSpecToUpdate.lifecycleStatus)}}function d26(c,r){if(1&c&&(o(0,"span",139),f(1),n()),2&c){const e=h(2);s(),H(null==e.productSpecToUpdate?null:e.productSpecToUpdate.lifecycleStatus)}}function u26(c,r){if(1&c&&(o(0,"span",140),f(1),n()),2&c){const e=h(2);s(),H(null==e.productSpecToUpdate?null:e.productSpecToUpdate.lifecycleStatus)}}function h26(c,r){if(1&c&&(o(0,"span",141),f(1),n()),2&c){const e=h(2);s(),H(null==e.productSpecToUpdate?null:e.productSpecToUpdate.lifecycleStatus)}}function m26(c,r){if(1&c&&(o(0,"label",193),f(1),m(2,"translate"),n(),o(3,"div",267),v(4,"markdown",268),n()),2&c){const e=h(2);s(),H(_(2,2,"UPDATE_PROD_SPEC._product_description")),s(3),k("data",null==e.productSpecToUpdate?null:e.productSpecToUpdate.description)}}function _26(c,r){if(1&c&&(o(0,"label",193),f(1),m(2,"translate"),n(),o(3,"div",227),v(4,"img",229),n()),2&c){const e=h(2);s(),H(_(2,2,"UPDATE_PROD_SPEC._profile_pic")),s(3),E1("src",e.imgPreview,H2)}}function p26(c,r){if(1&c&&(o(0,"span",135),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function g26(c,r){if(1&c&&(o(0,"span",139),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function v26(c,r){if(1&c&&(o(0,"span",140),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function H26(c,r){if(1&c&&(o(0,"span",141),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function C26(c,r){if(1&c&&(o(0,"tr",132)(1,"td",133),f(2),n(),o(3,"td",137),R(4,p26,2,1,"span",135)(5,g26,2,1)(6,v26,2,1)(7,H26,2,1),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1)}}function z26(c,r){if(1&c&&(o(0,"label",193),f(1),m(2,"translate"),n(),o(3,"div",269)(4,"table",127)(5,"thead",128)(6,"tr")(7,"th",129),f(8),m(9,"translate"),n(),o(10,"th",129),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,C26,8,2,"tr",132,z1),n()()()),2&c){const e=h(2);s(),H(_(2,3,"UPDATE_PROD_SPEC._bundle")),s(7),V(" ",_(9,5,"UPDATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(12,7,"UPDATE_PROD_SPEC._status")," "),s(3),a1(e.prodSpecsBundle)}}function V26(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function M26(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function L26(c,r){if(1&c&&R(0,V26,4,2)(1,M26,3,2),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function y26(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function b26(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function x26(c,r){if(1&c&&R(0,y26,4,3)(1,b26,3,3),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function w26(c,r){1&c&&R(0,L26,2,1)(1,x26,2,1),2&c&&S(0,r.$implicit.value?0:1)}function F26(c,r){if(1&c&&(o(0,"tr",132)(1,"td",185),f(2),n(),o(3,"td",186),f(4),n(),o(5,"td",133),c1(6,w26,2,1,null,null,z1),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),a1(e.productSpecCharacteristicValue)}}function k26(c,r){if(1&c&&(o(0,"label",193),f(1),m(2,"translate"),n(),o(3,"div",269)(4,"table",127)(5,"thead",128)(6,"tr")(7,"th",129),f(8),m(9,"translate"),n(),o(10,"th",131),f(11),m(12,"translate"),n(),o(13,"th",129),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,F26,8,2,"tr",132,z1),n()()()),2&c){const e=h(2);s(),H(_(2,4,"UPDATE_PROD_SPEC._chars")),s(7),V(" ",_(9,6,"UPDATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(12,8,"UPDATE_PROD_SPEC._product_description")," "),s(3),V(" ",_(15,10,"UPDATE_PROD_SPEC._values")," "),s(3),a1(null==e.productSpecToUpdate?null:e.productSpecToUpdate.productSpecCharacteristic)}}function S26(c,r){if(1&c&&(o(0,"tr",132)(1,"td",133),f(2),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," ")}}function N26(c,r){if(1&c&&(o(0,"label",193),f(1),m(2,"translate"),n(),o(3,"div",269)(4,"table",127)(5,"thead",128)(6,"tr")(7,"th",129),f(8),m(9,"translate"),n()()(),o(10,"tbody"),c1(11,S26,3,1,"tr",132,z1),n()()()),2&c){const e=h(2);s(),H(_(2,2,"UPDATE_PROD_SPEC._resource")),s(7),V(" ",_(9,4,"UPDATE_PROD_SPEC._product_name")," "),s(3),a1(e.selectedResourceSpecs)}}function D26(c,r){if(1&c&&(o(0,"tr",132)(1,"td",133),f(2),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," ")}}function T26(c,r){if(1&c&&(o(0,"label",193),f(1),m(2,"translate"),n(),o(3,"div",269)(4,"table",127)(5,"thead",128)(6,"tr")(7,"th",129),f(8),m(9,"translate"),n()()(),o(10,"tbody"),c1(11,D26,3,1,"tr",132,z1),n()()()),2&c){const e=h(2);s(),H(_(2,2,"UPDATE_PROD_SPEC._service")),s(7),V(" ",_(9,4,"UPDATE_PROD_SPEC._product_name")," "),s(3),a1(e.selectedServiceSpecs)}}function E26(c,r){if(1&c&&(o(0,"tr",132)(1,"td",185),f(2),n(),o(3,"td",133),f(4),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.url," ")}}function A26(c,r){if(1&c&&(o(0,"label",193),f(1),m(2,"translate"),n(),o(3,"div",269)(4,"table",127)(5,"thead",128)(6,"tr")(7,"th",129),f(8),m(9,"translate"),n(),o(10,"th",129),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,E26,5,2,"tr",132,z1),n()()()),2&c){const e=h(2);s(),H(_(2,3,"UPDATE_PROD_SPEC._attachments")),s(7),V(" ",_(9,5,"UPDATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(12,7,"UPDATE_PROD_SPEC._value")," "),s(3),a1(null==e.productSpecToUpdate?null:e.productSpecToUpdate.attachment)}}function P26(c,r){if(1&c&&(o(0,"span",135),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function R26(c,r){if(1&c&&(o(0,"span",139),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function B26(c,r){if(1&c&&(o(0,"span",140),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function O26(c,r){if(1&c&&(o(0,"span",141),f(1),n()),2&c){const e=h().$implicit;s(),H(e.productSpec.lifecycleStatus)}}function I26(c,r){if(1&c&&(o(0,"tr",132)(1,"td",137),f(2),n(),o(3,"td",133),f(4),n(),o(5,"td",134),R(6,P26,2,1,"span",135)(7,R26,2,1)(8,B26,2,1)(9,O26,2,1),n(),o(10,"td",136),f(11),m(12,"date"),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.relationshipType," "),s(2),V(" ",e.productSpec.name," "),s(2),S(6,"Active"==e.productSpec.lifecycleStatus?6:"Launched"==e.productSpec.lifecycleStatus?7:"Retired"==e.productSpec.lifecycleStatus?8:"Obsolete"==e.productSpec.lifecycleStatus?9:-1),s(5),V(" ",L2(12,4,e.productSpec.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," ")}}function U26(c,r){if(1&c&&(o(0,"label",193),f(1),m(2,"translate"),n(),o(3,"div",269)(4,"table",127)(5,"thead",128)(6,"tr")(7,"th",129),f(8),m(9,"translate"),n(),o(10,"th",129),f(11),m(12,"translate"),n(),o(13,"th",130),f(14),m(15,"translate"),n(),o(16,"th",131),f(17),m(18,"translate"),n()()(),o(19,"tbody"),c1(20,I26,13,7,"tr",132,z1),n()()()),2&c){const e=h(2);s(),H(_(2,5,"UPDATE_PROD_SPEC._relationships")),s(7),V(" ",_(9,7,"UPDATE_PROD_SPEC._relationship_type")," "),s(3),V(" ",_(12,9,"UPDATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(15,11,"UPDATE_PROD_SPEC._type")," "),s(3),V(" ",_(18,13,"UPDATE_PROD_SPEC._last_update")," "),s(3),a1(e.prodRelationships)}}function j26(c,r){if(1&c){const e=j();o(0,"h2",49),f(1),m(2,"translate"),n(),o(3,"div",262)(4,"div",263)(5,"div")(6,"label",193),f(7),m(8,"translate"),n(),o(9,"label",264),f(10),n(),o(11,"label",53),f(12),m(13,"translate"),n(),o(14,"label",264),f(15),n()(),o(16,"div")(17,"label",193),f(18),m(19,"translate"),n(),o(20,"label",264),f(21),n(),R(22,l26,5,4),n()(),o(23,"div",265)(24,"label",266),f(25),m(26,"translate"),n(),R(27,f26,2,1,"span",135)(28,d26,2,1)(29,u26,2,1)(30,h26,2,1),n(),R(31,m26,5,4)(32,_26,5,4)(33,z26,16,9)(34,k26,19,12)(35,N26,13,6)(36,T26,13,6)(37,A26,16,9)(38,U26,22,15),o(39,"div",120)(40,"button",121),C("click",function(){return y(e),b(h().updateProduct())}),f(41),m(42,"translate"),w(),o(43,"svg",101),v(44,"path",102),n()()()()}if(2&c){const e=h();s(),H(_(2,21,"UPDATE_PROD_SPEC._finish")),s(6),H(_(8,23,"UPDATE_PROD_SPEC._product_name")),s(3),V(" ",null==e.productSpecToUpdate?null:e.productSpecToUpdate.name," "),s(2),H(_(13,25,"UPDATE_PROD_SPEC._product_version")),s(3),V(" ",null==e.productSpecToUpdate?null:e.productSpecToUpdate.version," "),s(3),H(_(19,27,"UPDATE_PROD_SPEC._product_brand")),s(3),V(" ",null==e.productSpecToUpdate?null:e.productSpecToUpdate.brand," "),s(),S(22,""!=(null==e.productSpecToUpdate?null:e.productSpecToUpdate.productNumber)?22:-1),s(3),H(_(26,29,"UPDATE_PROD_SPEC._status")),s(2),S(27,"Active"==(null==e.productSpecToUpdate?null:e.productSpecToUpdate.lifecycleStatus)?27:"Launched"==(null==e.productSpecToUpdate?null:e.productSpecToUpdate.lifecycleStatus)?28:"Retired"==(null==e.productSpecToUpdate?null:e.productSpecToUpdate.lifecycleStatus)?29:"Obsolete"==(null==e.productSpecToUpdate?null:e.productSpecToUpdate.lifecycleStatus)?30:-1),s(4),S(31,""!=(null==e.productSpecToUpdate?null:e.productSpecToUpdate.description)?31:-1),s(),S(32,""!=e.imgPreview?32:-1),s(),S(33,e.prodSpecsBundle.length>0?33:-1),s(),S(34,e.prodChars.length>0?34:-1),s(),S(35,e.selectedResourceSpecs.length>0?35:-1),s(),S(36,e.selectedServiceSpecs.length>0?36:-1),s(),S(37,e.prodAttachments.length>0?37:-1),s(),S(38,e.prodRelationships.length>0?38:-1),s(2),k("disabled",e.isProdValid())("ngClass",e.isProdValid()?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(42,31,"UPDATE_PROD_SPEC._update_prod")," ")}}function $26(c,r){if(1&c){const e=j();w(),o(0,"svg",239),v(1,"path",240),n(),O(),o(2,"p",280),f(3,"Drop files to attatch or "),o(4,"button",243),C("click",function(){return b((0,y(e).openFileSelector)())}),f(5,"select a file."),n()()}}function Y26(c,r){if(1&c){const e=j();o(0,"div",47)(1,"div",270),C("click",function(t){return y(e),b(t.stopPropagation())}),o(2,"div",271)(3,"button",272),C("click",function(t){return y(e),h().showUploadFile=!1,b(t.stopPropagation())}),w(),o(4,"svg",273),v(5,"path",274),n(),O(),o(6,"span",74),f(7,"Close modal"),n()(),o(8,"ngx-file-drop",275),C("onFileDrop",function(t){y(e);const i=h();return b(i.dropped(t,i.selectedISO))})("onFileOver",function(t){return y(e),b(h().fileOver(t))})("onFileLeave",function(t){return y(e),b(h().fileLeave(t))}),R(9,$26,6,0,"ng-template",276),n(),o(10,"div",277)(11,"button",278),C("click",function(t){return y(e),h().showUploadFile=!1,b(t.stopPropagation())}),f(12," Cancel "),n(),o(13,"button",279),C("click",function(){return y(e),b(h().uploadFile())}),f(14," Upload "),n()()()()()}2&c&&k("ngClass",h().showUploadFile?"backdrop-blur-sm":"")}function G26(c,r){1&c&&v(0,"error-message",48),2&c&&k("message",h().errorMessage)}let q26=(()=>{class c{constructor(e,a,t,i,l,d,u,p,z,x,E,P){this.router=e,this.api=a,this.prodSpecService=t,this.cdr=i,this.localStorage=l,this.eventMessage=d,this.elementRef=u,this.attachmentService=p,this.servSpecService=z,this.resSpecService=x,this.qrVerifier=E,this.paginationService=P,this.PROD_SPEC_LIMIT=_1.PROD_SPEC_LIMIT,this.SERV_SPEC_LIMIT=_1.SERV_SPEC_LIMIT,this.RES_SPEC_LIMIT=_1.RES_SPEC_LIMIT,this.DOME_TRUST_LINK=_1.DOME_TRUST_LINK,this.showGeneral=!0,this.showBundle=!1,this.showCompliance=!1,this.showChars=!1,this.showResource=!1,this.showService=!1,this.showAttach=!1,this.showRelationships=!1,this.showSummary=!1,this.stepsElements=["general-info","bundle","compliance","chars","resource","service","attach","relationships","summary"],this.stepsCircles=["general-circle","bundle-circle","compliance-circle","chars-circle","resource-circle","service-circle","attach-circle","relationships-circle","summary-circle"],this.showPreview=!1,this.showEmoji=!1,this.description="",this.partyId="",this.generalForm=new S2({name:new u1("",[O1.required]),brand:new u1("",[O1.required]),version:new u1("0.1",[O1.required,O1.pattern("^-?[0-9]\\d*(\\.\\d*)?$")]),number:new u1(""),description:new u1("")}),this.charsForm=new S2({name:new u1("",[O1.required]),description:new u1("")}),this.stringCharSelected=!0,this.numberCharSelected=!1,this.rangeCharSelected=!1,this.prodChars=[],this.finishChars=[],this.creatingChars=[],this.showCreateChar=!1,this.bundleChecked=!1,this.bundlePage=0,this.bundlePageCheck=!1,this.loadingBundle=!1,this.loadingBundle_more=!1,this.prodSpecs=[],this.nextProdSpecs=[],this.prodSpecsBundle=[],this.buttonISOClicked=!1,this.availableISOS=[],this.selectedISOS=[],this.verifiedISO=[],this.complianceVC=null,this.showUploadFile=!1,this.serviceSpecPage=0,this.serviceSpecPageCheck=!1,this.loadingServiceSpec=!1,this.loadingServiceSpec_more=!1,this.serviceSpecs=[],this.nextServiceSpecs=[],this.selectedServiceSpecs=[],this.resourceSpecPage=0,this.resourceSpecPageCheck=!1,this.loadingResourceSpec=!1,this.loadingResourceSpec_more=!1,this.resourceSpecs=[],this.nextResourceSpecs=[],this.selectedResourceSpecs=[],this.showCreateRel=!1,this.prodSpecRelPage=0,this.prodSpecRelPageCheck=!1,this.loadingprodSpecRel=!1,this.loadingprodSpecRel_more=!1,this.prodSpecRels=[],this.nextProdSpecRels=[],this.selectedProdSpec={id:""},this.selectedRelType="migration",this.prodRelationships=[],this.showImgPreview=!1,this.showNewAtt=!1,this.imgPreview="",this.prodAttachments=[],this.attachToCreate={url:"",attachmentType:""},this.attFileName=new u1("",[O1.required,O1.pattern("[a-zA-Z0-9 _.-]*")]),this.attImageName=new u1("",[O1.required,O1.pattern("^https?:\\/\\/.*\\.(?:png|jpg|jpeg|gif|bmp|webp)$")]),this.errorMessage="",this.showError=!1,this.files=[];for(let Y=0;Y{"ChangedSession"===Y.type&&this.initPartyInfo()})}onClick(){1==this.showEmoji&&(this.showEmoji=!1,this.cdr.detectChanges()),1==this.showUploadFile&&(this.showUploadFile=!1,this.cdr.detectChanges())}ngOnInit(){this.initPartyInfo(),console.log(this.prod),this.populateProductInfo(),S1()}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0)if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}}populateProductInfo(){if(this.generalForm.controls.name.setValue(this.prod.name),this.generalForm.controls.description.setValue(this.prod.description),this.generalForm.controls.brand.setValue(this.prod.brand?this.prod.brand:""),this.generalForm.controls.version.setValue(this.prod.version?this.prod.version:""),this.generalForm.controls.number.setValue(this.prod.productNumber?this.prod.productNumber:""),this.prodStatus=this.prod.lifecycleStatus,1==this.prod.isBundle&&(this.toggleBundleCheck(),this.prodSpecsBundle=this.prod.bundledProductSpecification,console.log("is bundle")),this.prod.productSpecCharacteristic){console.log(Y6),console.log("--"),console.log(this.prod.productSpecCharacteristic);for(let e=0;ed.standard))}}catch(t){console.log(t)}continue}const a=this.availableISOS.findIndex(t=>t.name===this.prod.productSpecCharacteristic[e].name);-1!==a&&(console.log("adding sel iso"),this.selectedISOS.push({name:this.prod.productSpecCharacteristic[e].name,url:this.prod.productSpecCharacteristic[e].productSpecCharacteristicValue[0].value,mandatory:this.availableISOS[a].mandatory,domesupported:this.availableISOS[a].domesupported}),this.availableISOS.splice(a,1))}console.log("selected isos"),console.log(this.selectedISOS),console.log("available"),console.log(this.availableISOS),console.log("API PROD ISOS"),console.log(this.prod.productSpecCharacteristic)}if(this.prod.productSpecCharacteristic)for(let e=0;et.name===this.prod.productSpecCharacteristic[e].name)&&this.prodChars.push({id:"urn:ngsi-ld:characteristic:"+B4(),name:this.prod.productSpecCharacteristic[e].name,description:this.prod.productSpecCharacteristic[e].description?this.prod.productSpecCharacteristic[e].description:"",productSpecCharacteristicValue:this.prod.productSpecCharacteristic[e].productSpecCharacteristicValue});if(this.prod.resourceSpecification&&(this.selectedResourceSpecs=this.prod.resourceSpecification),this.prod.serviceSpecification&&(this.selectedServiceSpecs=this.prod.serviceSpecification),this.prod.attachment){this.prodAttachments=this.prod.attachment;const e=this.prodAttachments.findIndex(a=>"Profile Picture"===a.name);-1!==e&&(this.imgPreview=this.prodAttachments[e].url,this.showImgPreview=!0)}if(this.prod.productSpecificationRelationship)for(let e=0;e{this.prodRelationships.push({id:this.prod.productSpecificationRelationship[e].id,href:this.prod.productSpecificationRelationship[e].id,relationshipType:this.selectedRelType,productSpec:a})})}setProdStatus(e){this.prodStatus=e,this.cdr.detectChanges()}goBack(){this.eventMessage.emitSellerProductSpec(!0)}togglePreview(){this.generalForm.value.description&&(this.description=this.generalForm.value.description)}toggleGeneral(){this.selectStep("general-info","general-circle"),this.showBundle=!1,this.showGeneral=!0,this.showCompliance=!1,this.showChars=!1,this.showResource=!1,this.showService=!1,this.showAttach=!1,this.showRelationships=!1,this.showSummary=!1,this.showPreview=!1,S1()}toggleBundle(){this.selectStep("bundle","bundle-circle"),this.showBundle=!0,this.showGeneral=!1,this.showCompliance=!1,this.showChars=!1,this.showResource=!1,this.showService=!1,this.showAttach=!1,this.showRelationships=!1,this.showSummary=!1,this.showPreview=!1,S1()}toggleBundleCheck(){this.prodSpecs=[],this.bundlePage=0,this.bundleChecked=!this.bundleChecked,1==this.bundleChecked?(this.loadingBundle=!0,this.getProdSpecs(!1)):this.prodSpecsBundle=[]}getProdSpecs(e){var a=this;return M(function*(){0==e&&(a.loadingBundle=!0),a.paginationService.getItemsPaginated(a.bundlePage,a.PROD_SPEC_LIMIT,e,a.prodSpecs,a.nextProdSpecs,{filters:["Active","Launched"],partyId:a.partyId},a.prodSpecService.getProdSpecByUser.bind(a.prodSpecService)).then(i=>{a.bundlePageCheck=i.page_check,a.prodSpecs=i.items,a.nextProdSpecs=i.nextItems,a.bundlePage=i.page,a.loadingBundle=!1,a.loadingBundle_more=!1})})()}nextBundle(){var e=this;return M(function*(){yield e.getProdSpecs(!0)})()}addProdToBundle(e){const a=this.prodSpecsBundle.findIndex(t=>t.id===e.id);-1!==a?(console.log("eliminar"),this.prodSpecsBundle.splice(a,1)):(console.log("a\xf1adir"),this.prodSpecsBundle.push({id:e.id,href:e.href,lifecycleStatus:e.lifecycleStatus,name:e.name})),this.cdr.detectChanges(),console.log(this.prodSpecsBundle)}isProdInBundle(e){return-1!==this.prodSpecsBundle.findIndex(t=>t.id===e.id)}toggleCompliance(){this.selectStep("compliance","compliance-circle"),this.showBundle=!1,this.showGeneral=!1,this.showCompliance=!0,this.showChars=!1,this.showResource=!1,this.showService=!1,this.showAttach=!1,this.showRelationships=!1,this.showSummary=!1,this.showPreview=!1,setTimeout(()=>{S1()},100)}addISO(e){const a=this.availableISOS.findIndex(t=>t.name===e.name);-1!==a&&(console.log("seleccionar"),this.availableISOS.splice(a,1),this.selectedISOS.push({name:e.name,url:"",mandatory:e.mandatory,domesupported:e.domesupported})),this.buttonISOClicked=!this.buttonISOClicked,this.cdr.detectChanges(),console.log(this.availableISOS),console.log(this.selectedISOS)}removeISO(e){const a=this.selectedISOS.findIndex(t=>t.name===e.name);-1!==a&&(console.log("seleccionar"),this.selectedISOS.splice(a,1),this.availableISOS.push({name:e.name,mandatory:e.mandatory,domesupported:e.domesupported})),this.cdr.detectChanges(),console.log(this.prodSpecsBundle)}checkValidISOS(){return!!this.selectedISOS.find(a=>""===a.url)}addISOValue(e){this.selectedISOS.findIndex(i=>i.name===e.name),document.getElementById("iso-"+e.name),console.log(e.url),console.log(this.selectedISOS)}verifyCredential(){console.log("verifing credential");const e=`cert:${B4()}`,a=this.qrVerifier.launchPopup(`${_1.SIOP_INFO.verifierHost}${_1.SIOP_INFO.verifierQRCodePath}?state=${e}&client_callback=${_1.SIOP_INFO.callbackURL}&client_id=${_1.SIOP_INFO.clientID}`,"Scan QR code",500,500);this.qrVerifier.pollCertCredential(a,e).then(t=>{const i=t.subject;i.compliance&&(i.compliance.forEach(l=>{this.verifiedISO.push(l.standard)}),this.complianceVC=t.vc),console.log(`We got the vc: ${t.vc}`)})}isVerified(e){return this.verifiedISO.indexOf(e.name)>-1}dropped(e,a){this.files=e;for(const t of e)t.fileEntry.isFile?t.fileEntry.file(l=>{if(console.log("dropped"),l){const d=new FileReader;d.onload=u=>{const p=u.target.result.split(",")[1];console.log("BASE 64...."),console.log(p);let z="";null!=this.generalForm.value.name&&(z=this.generalForm.value.name.replaceAll(/\s/g,"")+"_");let x={content:{name:z+l.name,data:p},contentType:l.type,isPublic:!0};if(this.showCompliance){const E=this.selectedISOS.findIndex(P=>P.name===a.name);this.attachmentService.uploadFile(x).subscribe({next:P=>{console.log(P),this.selectedISOS[E].url=P.content,this.showUploadFile=!1,this.cdr.detectChanges(),console.log("uploaded")},error:P=>{console.error("There was an error while uploading file!",P),P.error.error?(console.log(P),this.errorMessage="Error: "+P.error.error):this.errorMessage="There was an error while uploading the file!",413===P.status&&(this.errorMessage="File size too large! Must be under 3MB."),this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}this.showAttach&&(console.log(l),this.attachmentService.uploadFile(x).subscribe({next:E=>{console.log(E),"img"==a?l.type.startsWith("image")?(this.showImgPreview=!0,this.imgPreview=E.content,this.prodAttachments.push({name:"Profile Picture",url:this.imgPreview,attachmentType:l.type})):(this.errorMessage="File must have a valid image format!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)):this.attachToCreate={url:E.content,attachmentType:l.type},this.cdr.detectChanges(),console.log("uploaded")},error:E=>{console.error("There was an error while uploading file!",E),E.error.error?(console.log(E),this.errorMessage="Error: "+E.error.error):this.errorMessage="There was an error while uploading the file!",413===E.status&&(this.errorMessage="File size too large! Must be under 3MB."),this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}}))},d.readAsDataURL(l)}}):console.log(t.relativePath,t.fileEntry)}fileOver(e){console.log(e)}fileLeave(e){console.log("leave"),console.log(e)}toggleUploadFile(e){this.showUploadFile=!0,this.selectedISO=e}uploadFile(){console.log("uploading...")}toggleChars(){this.selectStep("chars","chars-circle"),this.showBundle=!1,this.showGeneral=!1,this.showCompliance=!1,this.showChars=!0,this.showResource=!1,this.showService=!1,this.showAttach=!1,this.showRelationships=!1,this.showSummary=!1,this.showCreateChar=!1,this.stringCharSelected=!0,this.numberCharSelected=!1,this.rangeCharSelected=!1,this.showPreview=!1,S1()}toggleResource(){this.loadingResourceSpec=!0,this.resourceSpecs=[],this.resourceSpecPage=0,this.getResSpecs(!1),this.selectStep("resource","resource-circle"),this.showBundle=!1,this.showGeneral=!1,this.showCompliance=!1,this.showChars=!1,this.showResource=!0,this.showService=!1,this.showAttach=!1,this.showRelationships=!1,this.showSummary=!1,this.showPreview=!1,S1()}getResSpecs(e){var a=this;return M(function*(){0==e&&(a.loadingResourceSpec=!0),a.paginationService.getItemsPaginated(a.resourceSpecPage,a.RES_SPEC_LIMIT,e,a.resourceSpecs,a.nextResourceSpecs,{filters:["Active","Launched"],partyId:a.partyId},a.resSpecService.getResourceSpecByUser.bind(a.resSpecService)).then(i=>{a.resourceSpecPageCheck=i.page_check,a.resourceSpecs=i.items,a.nextResourceSpecs=i.nextItems,a.resourceSpecPage=i.page,a.loadingResourceSpec=!1,a.loadingResourceSpec_more=!1})})()}nextRes(){var e=this;return M(function*(){yield e.getResSpecs(!0)})()}addResToSelected(e){const a=this.selectedResourceSpecs.findIndex(t=>t.id===e.id);-1!==a?(console.log("eliminar"),this.selectedResourceSpecs.splice(a,1)):(console.log("a\xf1adir"),this.selectedResourceSpecs.push({id:e.id,href:e.href,name:e.name})),this.cdr.detectChanges(),console.log(this.selectedResourceSpecs)}isResSelected(e){return-1!==this.selectedResourceSpecs.findIndex(t=>t.id===e.id)}toggleService(){this.loadingServiceSpec=!0,this.serviceSpecs=[],this.serviceSpecPage=0,this.getServSpecs(!1),this.selectStep("service","service-circle"),this.showBundle=!1,this.showGeneral=!1,this.showCompliance=!1,this.showChars=!1,this.showResource=!1,this.showService=!0,this.showAttach=!1,this.showRelationships=!1,this.showSummary=!1,this.showPreview=!1,S1()}getServSpecs(e){var a=this;return M(function*(){0==e&&(a.loadingServiceSpec=!0),a.paginationService.getItemsPaginated(a.serviceSpecPage,a.SERV_SPEC_LIMIT,e,a.serviceSpecs,a.nextServiceSpecs,{filters:["Active","Launched"],partyId:a.partyId},a.servSpecService.getServiceSpecByUser.bind(a.servSpecService)).then(i=>{a.serviceSpecPageCheck=i.page_check,a.serviceSpecs=i.items,a.nextServiceSpecs=i.nextItems,a.serviceSpecPage=i.page,a.loadingServiceSpec=!1,a.loadingServiceSpec_more=!1})})()}nextServ(){var e=this;return M(function*(){e.loadingServiceSpec_more=!0,e.serviceSpecPage=e.serviceSpecPage+e.SERV_SPEC_LIMIT,console.log(e.serviceSpecPage),yield e.getServSpecs(!0)})()}addServToSelected(e){const a=this.selectedServiceSpecs.findIndex(t=>t.id===e.id);-1!==a?(console.log("eliminar"),this.selectedServiceSpecs.splice(a,1)):(console.log("a\xf1adir"),this.selectedServiceSpecs.push({id:e.id,href:e.href,name:e.name})),this.cdr.detectChanges(),console.log(this.selectedServiceSpecs)}isServSelected(e){return-1!==this.selectedServiceSpecs.findIndex(t=>t.id===e.id)}toggleAttach(){this.selectStep("attach","attach-circle"),this.showBundle=!1,this.showGeneral=!1,this.showCompliance=!1,this.showChars=!1,this.showResource=!1,this.showService=!1,this.showAttach=!0,this.showRelationships=!1,this.showSummary=!1,this.showPreview=!1,setTimeout(()=>{S1()},100)}removeImg(){this.showImgPreview=!1;const e=this.prodAttachments.findIndex(a=>a.url===this.imgPreview);-1!==e&&(console.log("eliminar"),this.prodAttachments.splice(e,1)),this.imgPreview="",this.cdr.detectChanges()}saveImgFromURL(){this.showImgPreview=!0,this.imgPreview=this.imgURL.nativeElement.value,this.prodAttachments.push({name:"Profile Picture",url:this.imgPreview,attachmentType:"Picture"}),this.attImageName.reset(),this.cdr.detectChanges()}removeAtt(e){const a=this.prodAttachments.findIndex(t=>t.url===e.url);-1!==a&&(console.log("eliminar"),"Profile Picture"==this.prodAttachments[a].name&&(this.showImgPreview=!1,this.imgPreview="",this.cdr.detectChanges()),this.prodAttachments.splice(a,1)),this.cdr.detectChanges()}saveAtt(){console.log("saving"),this.prodAttachments.push({name:this.attachName.nativeElement.value,url:this.attachToCreate.url,attachmentType:this.attachToCreate.attachmentType}),this.attachName.nativeElement.value="",this.attachToCreate={url:"",attachmentType:""},this.showNewAtt=!1,this.attFileName.reset()}clearAtt(){this.attachToCreate={url:"",attachmentType:""}}toggleRelationship(){this.prodSpecRels=[],this.prodSpecRelPage=0,this.showCreateRel=!1,this.loadingprodSpecRel=!0,this.getProdSpecsRel(!1),this.selectStep("relationships","relationships-circle"),this.showBundle=!1,this.showGeneral=!1,this.showCompliance=!1,this.showChars=!1,this.showResource=!1,this.showService=!1,this.showAttach=!1,this.showRelationships=!0,this.showSummary=!1,this.showPreview=!1,S1()}getProdSpecsRel(e){var a=this;return M(function*(){0==e&&(a.loadingprodSpecRel=!0),a.paginationService.getItemsPaginated(a.prodSpecRelPage,a.PROD_SPEC_LIMIT,e,a.prodSpecRels,a.nextProdSpecRels,{filters:["Active","Launched"],partyId:a.partyId},a.prodSpecService.getProdSpecByUser.bind(a.prodSpecService)).then(i=>{a.prodSpecRelPageCheck=i.page_check,a.prodSpecRels=i.items,a.nextProdSpecRels=i.nextItems,a.prodSpecRelPage=i.page,a.loadingprodSpecRel=!1,a.loadingprodSpecRel_more=!1})})()}selectRelationship(e){this.selectedProdSpec=e}nextProdSpecsRel(){var e=this;return M(function*(){yield e.getProdSpecsRel(!0)})()}onRelChange(e){console.log("relation type changed"),this.selectedRelType=e.target.value,this.cdr.detectChanges()}saveRel(){this.showCreateRel=!1,this.prodRelationships.push({id:this.selectedProdSpec.id,href:this.selectedProdSpec.href,relationshipType:this.selectedRelType,productSpec:this.selectedProdSpec}),this.selectedRelType="migration",console.log(this.prodRelationships)}deleteRel(e){const a=this.prodRelationships.findIndex(t=>t.id===e.id);-1!==a&&(console.log("eliminar"),this.prodRelationships.splice(a,1)),this.cdr.detectChanges()}removeClass(e,a){e.className=(" "+e.className+" ").replace(" "+a+" "," ").replace(/^\s+|\s+$/g,"")}addClass(e,a){e.className+=" "+a}unselectMenu(e,a){null!=e&&(e.className.match(a)?this.removeClass(e,a):console.log("already unselected"))}selectMenu(e,a){null!=e&&(e.className.match(a)?console.log("already selected"):this.addClass(e,a))}selectStep(e,a){const t=this.stepsElements.findIndex(l=>l===e);if(-1!==t){this.stepsElements.splice(t,1),this.selectMenu(document.getElementById(e),"text-primary-100 dark:text-primary-50"),this.unselectMenu(document.getElementById(e),"text-gray-500");for(let l=0;ll===a);if(-1!==t){this.stepsCircles.splice(i,1),this.selectMenu(document.getElementById(a),"border-primary-100 dark:border-primary-50"),this.unselectMenu(document.getElementById(a),"border-gray-400");for(let l=0;lt.id===e.id);-1!==a&&(console.log("eliminar"),this.prodChars.splice(a,1)),this.cdr.detectChanges(),console.log(this.prodChars)}checkInput(e){return 0===e.trim().length}showFinish(){for(let e=0;et.name===this.prodChars[e].name)&&this.finishChars.push(this.prodChars[e]);for(let e=0;et.name===this.selectedISOS[e].name)&&this.finishChars.push({id:"urn:ngsi-ld:characteristic:"+B4(),name:this.selectedISOS[e].name,productSpecCharacteristicValue:[{isDefault:!0,value:this.selectedISOS[e].url}]});null!=this.complianceVC&&this.finishChars.push({id:`urn:ngsi-ld:characteristic:${B4()}`,name:"Compliance:VC",productSpecCharacteristicValue:[{isDefault:!0,value:this.complianceVC}]}),null!=this.generalForm.value.name&&null!=this.generalForm.value.version&&null!=this.generalForm.value.brand&&(this.productSpecToUpdate={name:this.generalForm.value.name,description:null!=this.generalForm.value.description?this.generalForm.value.description:"",version:this.generalForm.value.version,brand:this.generalForm.value.brand,productNumber:null!=this.generalForm.value.number?this.generalForm.value.number:"",lifecycleStatus:this.prodStatus,productSpecCharacteristic:this.finishChars,productSpecificationRelationship:this.prodRelationships,attachment:this.prodAttachments,resourceSpecification:this.selectedResourceSpecs,serviceSpecification:this.selectedServiceSpecs}),this.selectStep("summary","summary-circle"),this.showBundle=!1,this.showGeneral=!1,this.showCompliance=!1,this.showChars=!1,this.showResource=!1,this.showService=!1,this.showAttach=!1,this.showRelationships=!1,this.showSummary=!0,this.showPreview=!1,S1()}isProdValid(){return!this.generalForm.valid||!!this.bundleChecked&&this.prodSpecsBundle.length<2}updateProduct(){this.prodSpecService.updateProdSpec(this.productSpecToUpdate,this.prod.id).subscribe({next:e=>{this.goBack(),console.log("actualiado producto")},error:e=>{console.error("There was an error while updating!",e),e.error.error?(console.log(e),this.errorMessage="Error: "+e.error.error):this.errorMessage="There was an error while uploading the product!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}addBold(){this.generalForm.patchValue({description:this.generalForm.value.description+" **bold text** "})}addItalic(){this.generalForm.patchValue({description:this.generalForm.value.description+" _italicized text_ "})}addList(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n- First item\n- Second item"})}addOrderedList(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n1. First item\n2. Second item"})}addCode(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n`code`"})}addCodeBlock(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n```\ncode\n```"})}addBlockquote(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n> blockquote"})}addLink(){this.generalForm.patchValue({description:this.generalForm.value.description+" [title](https://www.example.com) "})}addTable(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"})}addEmoji(e){console.log(e),this.showEmoji=!1,this.generalForm.patchValue({description:this.generalForm.value.description+e.emoji.native})}static#e=this.\u0275fac=function(a){return new(a||c)(B(Z1),B(p1),B(z4),B(B1),B(R1),B(e2),B(v2),B(Q0),B(D4),B(h4),B(CG),B(M3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["update-product-spec"]],viewQuery:function(a,t){if(1&a&&(b1(qJ3,5),b1(WJ3,5),b1(ZJ3,5),b1(KJ3,5),b1(QJ3,5),b1(JJ3,5),b1(XJ3,5),b1(eX3,5)),2&a){let i;M1(i=L1())&&(t.charStringValue=i.first),M1(i=L1())&&(t.charNumberValue=i.first),M1(i=L1())&&(t.charNumberUnit=i.first),M1(i=L1())&&(t.charFromValue=i.first),M1(i=L1())&&(t.charToValue=i.first),M1(i=L1())&&(t.charRangeUnit=i.first),M1(i=L1())&&(t.attachName=i.first),M1(i=L1())&&(t.imgURL=i.first)}},hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},inputs:{prod:"prod"},decls:137,vars:77,consts:[["stringValue",""],["numberValue",""],["numberUnit",""],["fromValue",""],["toValue",""],["rangeUnit",""],["imgURL",""],["attachName",""],[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-gray-200","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800","dark:text-white"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"bg-secondary-50","dark:bg-secondary-100","mt-4","p-8","rounded-lg"],[1,"text-3xl","font-bold","text-primary-100","ml-4",".","dark:text-white"],[1,"h-px","m-4","bg-gray-300","dark:bg-gray-200","border-0"],[1,"md:grid","md:grid-cols-25/75","xl:grid-cols-20/80"],[1,"flex","sm:flex-row","md:flex-col","md:mr-4","overflow-x-auto","max-w-[calc(100vw-5rem)]"],[1,"hidden","md:block","text-xl","font-bold","text-black","mb-4","dark:text-white"],["id","general-info",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-primary-100","dark:text-primary-50","justify-items-center","md:justify-items-start",3,"click"],["id","general-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-primary-100","dark:border-primary-50","rounded-full","shrink-0"],[1,"flex","leading-tight","justify-start"],[1,"hidden","xl:flex","text-xs","justify-start"],[1,"h-px","mb-2","bg-gray-300","dark:bg-gray-200","border-0"],["id","bundle",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","bundle-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","compliance",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","compliance-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","chars",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","chars-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","resource",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","resource-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","service",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","service-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","attach",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","attach-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","relationships",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","relationships-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","summary",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","summary-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","upload-file-modal","tabindex","-1","aria-hidden","true",1,"flex","overflow-y-auto","overflow-x-hidden","fixed","top-0","right-0","left-0","z-40","justify-center","items-center","w-full","md:inset-0","h-modal","md:h-full","shadow-2xl",3,"ngClass"],[1,"fixed","w-fit","top-1/2","left-1/2","z-50",3,"message"],[1,"text-3xl","font-bold","text-primary-100","ml-4","dark:text-white"],[1,"m-4","md:grid","md:grid-cols-2","gap-4",3,"formGroup"],["for","prod-name",1,"font-bold","text-lg","dark:text-white"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["for","prod-version",1,"font-bold","text-lg","dark:text-white"],["formControlName","version","type","text","id","prod-version",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["for","prod-brand",1,"font-bold","text-lg","dark:text-white"],["formControlName","brand","type","text","id","prod-brand",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["for","prod-number",1,"font-bold","text-lg","dark:text-white"],["formControlName","number","type","text","id","prod-number",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"font-bold","text-lg","col-span-2","dark:text-white"],[1,"mb-2","col-span-2"],[1,"flex","items-center","w-full","text-sm","font-medium","text-center","text-gray-500","dark:text-gray-200","sm:text-base"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-blue-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-green-700","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-yellow-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","items-center"],["for","prod-name",1,"font-bold","text-lg","col-span-2","dark:text-white"],[1,"w-full","col-span-2","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200"],[1,"flex","items-center","justify-between","px-3","py-2","border-b"],[1,"flex","flex-wrap","items-center","divide-gray-200","dark:divide-secondary-200","sm:divide-x","sm:rtl:divide-x-reverse"],[1,"flex","items-center","space-x-1","rtl:space-x-reverse","sm:pe-4","text-gray-500","dark:text-gray-200"],["type","button",1,"p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 5h4.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0-7H6m2 7h6.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0 0H6"],[1,"sr-only"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8.874 19 6.143-14M6 19h6.33m-.66-14H18"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M9 8h10M9 12h10M9 16h10M4.99 8H5m-.02 4h.01m0 4H5"],["type","button",1,"hidden","lg:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4"],["type","button",1,"hidden","md:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["fill-rule","evenodd","d","M5 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm0 12a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm1.65-9.76A1 1 0 0 0 5 9v6a1 1 0 0 0 1.65.76l3.5-3a1 1 0 0 0 0-1.52l-3.5-3ZM12 10a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Zm0 4a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Z","clip-rule","evenodd"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-width","2","d","M3 11h18m-9 0v8m-8 0h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 3v4a1 1 0 0 1-1 1H5m5 4-2 2 2 2m4-4 2 2-2 2m5-12v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M13.213 9.787a3.391 3.391 0 0 0-4.795 0l-3.425 3.426a3.39 3.39 0 0 0 4.795 4.794l.321-.304m-.321-4.49a3.39 3.39 0 0 0 4.795 0l3.424-3.426a3.39 3.39 0 0 0-4.794-4.795l-1.028.961"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-4","h-4"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM13.5 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm-7 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm3.5 9.5A5.5 5.5 0 0 1 4.6 11h10.81A5.5 5.5 0 0 1 10 15.5Z"],["type","button","data-tooltip-target","tooltip-fullscreen",1,"rounded","cursor-pointer","text-gray-500","dark:text-gray-200","p-2","sm:ms-auto","hover:text-gray-900","dark:hover:text-gray-900","hover:bg-gray-100",3,"click"],["stroke","currentColor","stroke-width","2","d","M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z"],["stroke","currentColor","stroke-width","2","d","M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"],["id","tooltip-fullscreen","role","tooltip",1,"absolute","z-10","invisible","inline-block","px-3","py-2","text-sm","font-medium","text-white","transition-opacity","duration-300","bg-gray-900","rounded-lg","shadow-sm","opacity-0","tooltip"],["data-popper-arrow","",1,"tooltip-arrow"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","rounded-lg","p-4"],["for","editor",1,"sr-only"],[1,"bg-gray-50","dark:bg-secondary-300","dark:text-white","text-gray-900","text-wrap","break-all",3,"data"],[3,"darkMode","style"],[1,"flex","w-full","justify-items-end","justify-end"],["type","button",1,"flex","text-white","justify-end","align-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-blue-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-blue-500"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M8.737 8.737a21.49 21.49 0 0 1 3.308-2.724m0 0c3.063-2.026 5.99-2.641 7.331-1.3 1.827 1.828.026 6.591-4.023 10.64-4.049 4.049-8.812 5.85-10.64 4.023-1.33-1.33-.736-4.218 1.249-7.253m6.083-6.11c-3.063-2.026-5.99-2.641-7.331-1.3-1.827 1.828-.026 6.591 4.023 10.64m3.308-9.34a21.497 21.497 0 0 1 3.308 2.724m2.775 3.386c1.985 3.035 2.579 5.923 1.248 7.253-1.336 1.337-4.245.732-7.295-1.275M14 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-green-700","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-green-700"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-yellow-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-yellow-500"],[1,"cursor-pointer","flex","items-center",3,"click"],[1,"flex","items-center","text-red-800"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-red-800"],["id","editor","formControlName","description","rows","8","placeholder","Add product description...",1,"block","w-full","px-0","text-sm","text-gray-800","dark:text-gray-200","bg-white","dark:bg-secondary-300","border-0"],[3,"click","emojiClick","darkMode"],[1,"col-span-2","flex","align-items-middle","h-fit","m-4"],[1,"inline-flex","items-center","me-5","ml-4"],["type","checkbox","disabled","","value","",1,"sr-only","peer",3,"checked"],[1,"relative","w-11","h-6","bg-gray-400","dark:bg-gray-700","rounded-full","peer","peer-focus:ring-4","peer-focus:ring-primary-100","peer-checked:after:translate-x-full","rtl:peer-checked:after:-translate-x-full","peer-checked:after:border-white","after:content-['']","after:absolute","after:top-0.5","after:start-[2px]","after:bg-white","after:border-gray-300","after:border","after:rounded-full","after:h-5","after:w-5","after:transition-all","peer-checked:bg-primary-100"],[1,"flex","w-full","justify-items-end","justify-end","ml-4"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["role","status",1,"w-full","h-fit","flex","justify-center","align-middle"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","m-4"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"hidden","md:table-cell","px-6","py-3"],["scope","col",1,"hidden","lg:table-cell","px-6","py-3"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"px-6","py-4","text-wrap","break-all"],[1,"hidden","md:table-cell","px-6","py-4"],[1,"bg-blue-100","dark:bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"hidden","lg:table-cell","px-6","py-4"],[1,"px-6","py-4"],["id","select-checkbox","type","checkbox","value","","disabled","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded","focus:ring-blue-500","dark:focus:ring-blue-600","dark:ring-offset-gray-800","focus:ring-2","dark:bg-gray-700","dark:border-gray-600",3,"checked"],[1,"bg-blue-100","dark:bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"flex","pt-6","pb-2","justify-center","align-middle"],[1,"flex","cursor-pointer","shadow-lg","items-center","justify-center","px-3","h-8","text-sm","font-medium","text-gray-500","dark:text-white","bg-white","dark:bg-primary-100","dark:hover:bg-secondary-100","border","border-gray-300","dark:border-secondary-200","rounded-lg","hover:bg-gray-200",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle","mt-2"],[1,"flex","w-full","justify-items-end","justify-end","align-items-middle","ml-4","h-fit"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4","text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 11.917 9.724 16.5 19 7.5"],[1,"ml-4","flex"],["data-popover-target","popover-default","clip-rule","evenodd","aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"flex","self-center","w-6","h-6","text-primary-100"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"],["data-popover","","id","popover-default","role","tooltip",1,"absolute","z-10","invisible","inline-block","w-64","text-sm","text-gray-500","transition-opacity","duration-300","bg-white","border","border-gray-200","rounded-lg","shadow-sm","opacity-0","dark:text-gray-400","dark:border-gray-600","dark:bg-gray-800"],[1,"px-3","py-2","bg-gray-100","border-b","border-gray-200","rounded-t-lg","dark:border-gray-600","dark:bg-gray-700"],[1,"font-semibold","text-gray-900","dark:text-white"],[1,"px-3","py-2","inline-block"],[1,"inline-block"],["target","_blank",1,"font-medium","text-blue-600","dark:text-blue-500","hover:underline",3,"href"],["data-popper-arrow",""],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300","m-4"],[1,"flex","justify-center","w-full","m-4","dark:bg-secondary-300"],["id","dropdownButtonISO","data-dropdown-toggle","dropdownISO","type","button",1,"text-white","w-full","m-4","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center","justify-between",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 10 6",1,"w-2.5","h-2.5","ms-3"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 4 4 4-4"],["id","dropdownISO",1,"z-10","w-full","ml-4","mr-4","bg-secondary-50","dark:bg-secondary-300","divide-y","divide-gray-100","rounded-lg","shadow"],["aria-labelledby","dropdownButtonISO",1,"p-3","space-y-3","text-sm","text-gray-700"],[1,"flex","items-center","justify-between"],["for","checkbox-item-1",1,"ms-2","text-sm",3,"ngClass"],["type","button",1,"text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","18","height","18","fill","none","viewBox","0 0 24 24",1,"w-4","h-4","text-white"],[1,"px-6","py-4","inline-flex"],["type","button",1,"text-white","file-select-button","mr-4","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center",3,"click"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 5v9m-5 0H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2M8 9l4-5 4 5m1 8h.01"],["type","button",1,"text-white","bg-red-600","hover:bg-red-700","focus:ring-4","focus:outline-none","focus:ring-red-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center",3,"click"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M6 18 17.94 6M18 18 6.06 6"],["type","button",1,"text-white","mr-4","bg-green-600","hover:bg-green-800","focus:ring-4","focus:outline-none","focus:ring-green-700","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center"],["type","button",1,"text-white","mr-4","bg-slate-400","hover:bg-slate-500","focus:ring-4","focus:outline-none","focus:ring-green-700","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"flex","justify-center","w-full","m-4"],[1,"flex","w-full","justify-items-center","justify-center"],[1,"flex","w-full","justify-items-end","justify-end","ml-4","mt-4"],[1,"px-6","py-4","max-w-1/6","text-wrap","break-all"],[1,"hidden","lg:table-cell","px-6","py-4","text-wrap","break-all"],[1,"font-bold","text-white","bg-red-500","rounded-3xl",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4","text-white"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],[1,"m-4","grid","grid-cols-2","gap-4",3,"formGroup"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"font-bold","text-lg","dark:text-white"],["id","type",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],["selected","","value","string"],["value","number"],["value","range"],[1,"col-span-2"],["for","description",1,"font-bold","text-lg","dark:text-white"],["id","description","formControlName","description","rows","4",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"m-4"],["for","values",1,"font-bold","text-lg","dark:text-white"],[1,"flex","flex-row","items-center","align-items-middle"],[1,"flex","w-full","justify-items-center","justify-center","mt-4"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M11 16h2m6.707-9.293-2.414-2.414A1 1 0 0 0 16.586 4H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7.414a1 1 0 0 0-.293-.707ZM16 20v-6a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v6h8ZM9 4h6v3a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V4Z"],[1,"flex","flex-col","items-start","pl-4","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","border","border-gray-300","mb-2"],[1,"flex","w-full","justify-between"],[1,"align-items-middle","align-middle"],["id","disabled-checked-checkbox","type","checkbox","value","",1,"align-middle","w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded-full","focus:ring-blue-500","focus:ring-2",3,"click","checked"],["for","disabled-checked-checkbox",1,"ms-2","align-middle","text-sm","font-medium","text-gray-700","dark:text-white","text-wrap","break-all"],[1,"m-2","text-white","bg-red-500","rounded-3xl",3,"click"],["id","disabled-checked-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded-full","focus:ring-blue-500","focus:ring-2",3,"click","checked"],["for","disabled-checked-checkbox",1,"ms-2","text-sm","font-medium","text-gray-700","dark:text-white","text-wrap","break-all"],["type","text","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["type","button",1,"text-white","w-fit","h-full","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-white"],[1,"flex","flex-col","md:flex-row","items-center","align-items-middle"],[1,"flex","w-full","mb-2","md:mb-0"],[1,"inline-flex","items-center","px-3","text-sm","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","bg-gray-200","border","rounded-e-0","border-gray-300","border-e-0","rounded-s-md"],["type","number","pattern","[0-9]*","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["type","text","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"inline-flex","items-center","px-3","text-sm","text-gray-900","bg-gray-200","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","border","rounded-e-0","border-gray-300","border-e-0","rounded-s-md"],["id","select-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded","focus:ring-blue-500","dark:focus:ring-blue-600","dark:ring-offset-gray-800","focus:ring-2","dark:bg-gray-700","dark:border-gray-600",3,"click","checked"],[1,"inline-flex"],[1,"text-lg","font-bold","ml-4","dark:text-white"],[1,"relative","isolate","flex","flex-col","justify-end","overflow-hidden","rounded-2xl","px-8","pb-8","pt-40","max-w-sm","mx-auto","m-4","shadow-lg"],[1,"flex","justify-center","w-full","ml-6","mt-2","mb-2","mr-4"],[1,"absolute","inset-0","h-full","w-full","object-cover",3,"src"],[1,"z-10","absolute","top-2","right-2","p-1","font-bold","text-white","bg-red-500","rounded-3xl",3,"click"],[1,"flex","w-full","justify-center","justify-items-center"],["dropZoneLabel","Drop files here",1,"m-4","p-4","w-full",3,"onFileDrop","onFileOver","onFileLeave"],["ngx-file-drop-content-tmp","",1,"w-full"],[1,"font-bold","ml-6","dark:text-white"],[1,"flex","items-center","h-fit","ml-6","mt-2","mb-2","w-full","justify-between"],["type","text","id","att-name",1,"w-full","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","p-2.5",3,"formControl"],[1,"text-white","bg-primary-100","rounded-3xl","p-1","ml-2","h-fit",3,"click","disabled","ngClass"],[1,"w-full","flex","flex-col","justify-items-center","justify-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-12","h-12","text-primary-100","mx-auto"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M15 17h3a3 3 0 0 0 0-6h-.025a5.56 5.56 0 0 0 .025-.5A5.5 5.5 0 0 0 7.207 9.021C7.137 9.017 7.071 9 7 9a4 4 0 1 0 0 8h2.167M12 19v-9m0 0-2 2m2-2 2 2"],[1,"flex","w-full","justify-center"],[1,"text-gray-500","mr-2","w-fit"],[1,"font-medium","text-blue-600","dark:text-blue-500","hover:underline",3,"click"],[1,"m-4","w-full"],[1,"lg:flex","lg:grid","lg:grid-cols-2","w-full","gap-4","align-items-middle","align-middle","border","border-gray-200","rounded-lg","p-4"],[1,"h-fit"],["for","att-name",1,"font-bold","text-lg","dark:text-white"],["type","text","id","att-name",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"formControl","ngClass"],["dropZoneLabel","Drop files here",1,"p-4","w-full"],["dropZoneLabel","Drop files here",1,"p-4","w-full",3,"onFileDrop","onFileOver","onFileLeave"],["role","alert",1,"relative","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],[1,"text-wrap","break-all"],[1,"flex","justify-center","w-full","mb-4"],["id","type",1,"shadow","bg-white","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],["selected","","value","migration"],["value","dependency"],["value","exclusivity"],["value","substitution"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","mt-4"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200",3,"ngClass"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200",3,"click","ngClass"],[1,"m-8"],[1,"mb-4","md:grid","md:grid-cols-2","gap-4"],[1,"mb-2","bg-gray-50","text-wrap","break-all","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"mb-4"],[1,"font-bold","text-lg","mr-4","dark:text-white"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","border","dark:border-secondary-200","rounded-lg","p-4","mb-4"],[1,"bg-gray-50","text-wrap","break-all","dark:bg-secondary-300","dark:text-white","text-gray-900",3,"data"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","mb-4"],[1,"relative","p-4","w-full","max-w-md","h-full","md:h-auto",3,"click"],[1,"relative","p-4","text-center","bg-secondary-50","rounded-lg","shadow","sm:p-5"],["type","button",1,"text-gray-400","absolute","top-2.5","right-2.5","bg-transparent","hover:bg-gray-200","hover:text-gray-900","rounded-lg","text-sm","p-1.5","ml-auto","inline-flex","items-center",3,"click"],["aria-hidden","true","fill","currentColor","viewBox","0 0 20 20","xmlns","http://www.w3.org/2000/svg",1,"w-5","h-5"],["fill-rule","evenodd","d","M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule","evenodd"],["dropZoneLabel","Drop files here",1,"m-4","p-4",3,"onFileDrop","onFileOver","onFileLeave"],["ngx-file-drop-content-tmp",""],[1,"flex","justify-center","items-center","space-x-4"],["type","button",1,"py-2","px-3","text-sm","font-medium","text-gray-500","bg-white","rounded-lg","border","border-gray-200","hover:bg-gray-100","focus:ring-4","focus:outline-none","focus:ring-primary-300","hover:text-gray-900","focus:z-10",3,"click"],["type","submit",1,"py-2","px-3","text-sm","font-medium","text-center","text-white","bg-primary-100","hover:bg-primary-50","rounded-lg","focus:ring-4","focus:outline-none","focus:ring-primary-50",3,"click"],[1,"text-gray-500","mr-4"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",8)(2,"nav",9)(3,"ol",10)(4,"li",11)(5,"button",12),C("click",function(){return t.goBack()}),w(),o(6,"svg",13),v(7,"path",14),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",15)(11,"div",16),w(),o(12,"svg",17),v(13,"path",18),n(),O(),o(14,"span",19),f(15),m(16,"translate"),n()()()()()(),o(17,"div",20)(18,"h2",21),f(19),m(20,"translate"),n(),v(21,"hr",22),o(22,"div",23)(23,"div",24)(24,"h2",25),f(25),m(26,"translate"),n(),o(27,"button",26),C("click",function(){return t.toggleGeneral()}),o(28,"span",27),f(29," 1 "),n(),o(30,"span")(31,"h3",28),f(32),m(33,"translate"),n(),o(34,"p",29),f(35),m(36,"translate"),n()()(),v(37,"hr",30),o(38,"button",31),C("click",function(){return t.toggleBundle()}),o(39,"span",32),f(40," 2 "),n(),o(41,"span")(42,"h3",28),f(43),m(44,"translate"),n(),o(45,"p",29),f(46),m(47,"translate"),n()()(),v(48,"hr",30),o(49,"button",33),C("click",function(){return t.toggleCompliance()}),o(50,"span",34),f(51," 3 "),n(),o(52,"span")(53,"h3",28),f(54),m(55,"translate"),n(),o(56,"p",29),f(57),m(58,"translate"),n()()(),v(59,"hr",30),o(60,"button",35),C("click",function(){return t.toggleChars()}),o(61,"span",36),f(62," 4 "),n(),o(63,"span")(64,"h3",28),f(65),m(66,"translate"),n(),o(67,"p",29),f(68),m(69,"translate"),n()()(),v(70,"hr",30),o(71,"button",37),C("click",function(){return t.toggleResource()}),o(72,"span",38),f(73," 5 "),n(),o(74,"span")(75,"h3",28),f(76),m(77,"translate"),n(),o(78,"p",29),f(79),m(80,"translate"),n()()(),v(81,"hr",30),o(82,"button",39),C("click",function(){return t.toggleService()}),o(83,"span",40),f(84," 6 "),n(),o(85,"span")(86,"h3",28),f(87),m(88,"translate"),n(),o(89,"p",29),f(90),m(91,"translate"),n()()(),v(92,"hr",30),o(93,"button",41),C("click",function(){return t.toggleAttach()}),o(94,"span",42),f(95," 7 "),n(),o(96,"span")(97,"h3",28),f(98),m(99,"translate"),n(),o(100,"p",29),f(101),m(102,"translate"),n()()(),v(103,"hr",30),o(104,"button",43),C("click",function(){return t.toggleRelationship()}),o(105,"span",44),f(106," 8 "),n(),o(107,"span")(108,"h3",28),f(109),m(110,"translate"),n(),o(111,"p",29),f(112),m(113,"translate"),n()()(),v(114,"hr",30),o(115,"button",45),C("click",function(){return t.showFinish()}),o(116,"span",46),f(117," 9 "),n(),o(118,"span")(119,"h3",28),f(120),m(121,"translate"),n(),o(122,"p",29),f(123),m(124,"translate"),n()()()(),o(125,"div"),R(126,mX3,115,62)(127,wX3,17,13)(128,PX3,49,32)(129,t16,13,8)(130,g16,13,8)(131,k16,13,8)(132,U16,35,21)(133,s26,14,8)(134,j26,45,33),n()()()(),R(135,Y26,15,1,"div",47)(136,G26,1,1,"error-message",48)),2&a&&(s(8),V(" ",_(9,33,"UPDATE_PROD_SPEC._back")," "),s(7),H(_(16,35,"UPDATE_PROD_SPEC._update")),s(4),H(_(20,37,"UPDATE_PROD_SPEC._update_prod")),s(6),H(_(26,39,"UPDATE_PROD_SPEC._steps")),s(7),H(_(33,41,"UPDATE_PROD_SPEC._general")),s(3),H(_(36,43,"UPDATE_PROD_SPEC._general_info")),s(8),H(_(44,45,"UPDATE_PROD_SPEC._bundle")),s(3),H(_(47,47,"UPDATE_PROD_SPEC._bundle_info")),s(8),H(_(55,49,"UPDATE_PROD_SPEC._comp_profile")),s(3),H(_(58,51,"UPDATE_PROD_SPEC._comp_profile_info")),s(8),H(_(66,53,"UPDATE_PROD_SPEC._chars")),s(3),H(_(69,55,"UPDATE_PROD_SPEC._chars_info")),s(8),H(_(77,57,"UPDATE_PROD_SPEC._resource")),s(3),H(_(80,59,"UPDATE_PROD_SPEC._resource_info")),s(8),H(_(88,61,"UPDATE_PROD_SPEC._service")),s(3),H(_(91,63,"UPDATE_PROD_SPEC._service_info")),s(8),H(_(99,65,"UPDATE_PROD_SPEC._attachments")),s(3),H(_(102,67,"UPDATE_PROD_SPEC._attachments_info")),s(8),H(_(110,69,"UPDATE_PROD_SPEC._relationships")),s(3),H(_(113,71,"UPDATE_PROD_SPEC._relationships_info")),s(8),H(_(121,73,"UPDATE_PROD_SPEC._finish")),s(3),H(_(124,75,"UPDATE_PROD_SPEC._summary")),s(3),S(126,t.showGeneral?126:-1),s(),S(127,t.showBundle?127:-1),s(),S(128,t.showCompliance?128:-1),s(),S(129,t.showChars?129:-1),s(),S(130,t.showResource?130:-1),s(),S(131,t.showService?131:-1),s(),S(132,t.showAttach?132:-1),s(),S(133,t.showRelationships?133:-1),s(),S(134,t.showSummary?134:-1),s(),S(135,t.showUploadFile?135:-1),s(),S(136,t.showError?136:-1))},dependencies:[k2,I4,x6,w6,H4,N4,O4,H5,X4,f3,G3,$l,jl,_4,C4,Q4,J1]})}return c})();const W26=["stringValue"],Z26=["numberValue"],K26=["numberUnit"],Q26=["fromValue"],J26=["toValue"],X26=["rangeUnit"],e46=()=>({position:"relative",left:"200px",top:"-500px"});function c46(c,r){if(1&c){const e=j();o(0,"li",80),C("click",function(){return y(e),b(h(2).setResStatus("Active"))}),o(1,"span",14),w(),o(2,"svg",81),v(3,"path",82),n(),f(4," Active "),n()()}}function a46(c,r){if(1&c){const e=j();o(0,"li",83),C("click",function(){return y(e),b(h(2).setResStatus("Active"))}),o(1,"span",14),f(2," Active "),n()()}}function r46(c,r){if(1&c){const e=j();o(0,"li",84),C("click",function(){return y(e),b(h(2).setResStatus("Launched"))}),o(1,"span",14),w(),o(2,"svg",85),v(3,"path",82),n(),f(4," Launched "),n()()}}function t46(c,r){if(1&c){const e=j();o(0,"li",83),C("click",function(){return y(e),b(h(2).setResStatus("Launched"))}),o(1,"span",14),f(2," Launched "),n()()}}function i46(c,r){if(1&c){const e=j();o(0,"li",86),C("click",function(){return y(e),b(h(2).setResStatus("Retired"))}),o(1,"span",14),w(),o(2,"svg",87),v(3,"path",82),n(),f(4," Retired "),n()()}}function o46(c,r){if(1&c){const e=j();o(0,"li",83),C("click",function(){return y(e),b(h(2).setResStatus("Retired"))}),o(1,"span",14),f(2," Retired "),n()()}}function n46(c,r){if(1&c){const e=j();o(0,"li",88),C("click",function(){return y(e),b(h(2).setResStatus("Obsolete"))}),o(1,"span",89),w(),o(2,"svg",90),v(3,"path",82),n(),f(4," Obsolete "),n()()}}function s46(c,r){if(1&c){const e=j();o(0,"li",88),C("click",function(){return y(e),b(h(2).setResStatus("Obsolete"))}),o(1,"span",14),f(2," Obsolete "),n()()}}function l46(c,r){1&c&&v(0,"markdown",74),2&c&&k("data",h(2).description)}function f46(c,r){1&c&&v(0,"textarea",91)}function d46(c,r){if(1&c){const e=j();o(0,"emoji-mart",92),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(2).addEmoji(t))}),n()}2&c&&(Y2(A4(3,e46)),k("darkMode",!1))}function u46(c,r){if(1&c){const e=j();o(0,"h2",19),f(1),m(2,"translate"),n(),o(3,"form",34)(4,"label",35),f(5),m(6,"translate"),n(),v(7,"input",36),o(8,"label",37),f(9),m(10,"translate"),n(),o(11,"div",38)(12,"ol",39),R(13,c46,5,0,"li",40)(14,a46,3,0)(15,r46,5,0,"li",41)(16,t46,3,0)(17,i46,5,0,"li",42)(18,o46,3,0)(19,n46,5,0,"li",43)(20,s46,3,0),n()(),o(21,"label",35),f(22),m(23,"translate"),n(),o(24,"div",44)(25,"div",45)(26,"div",46)(27,"div",47)(28,"button",48),C("click",function(){return y(e),b(h().addBold())}),w(),o(29,"svg",49),v(30,"path",50),n(),O(),o(31,"span",51),f(32,"Bold"),n()(),o(33,"button",48),C("click",function(){return y(e),b(h().addItalic())}),w(),o(34,"svg",49),v(35,"path",52),n(),O(),o(36,"span",51),f(37,"Italic"),n()(),o(38,"button",48),C("click",function(){return y(e),b(h().addList())}),w(),o(39,"svg",53),v(40,"path",54),n(),O(),o(41,"span",51),f(42,"Add list"),n()(),o(43,"button",55),C("click",function(){return y(e),b(h().addOrderedList())}),w(),o(44,"svg",53),v(45,"path",56),n(),O(),o(46,"span",51),f(47,"Add ordered list"),n()(),o(48,"button",57),C("click",function(){return y(e),b(h().addBlockquote())}),w(),o(49,"svg",58),v(50,"path",59),n(),O(),o(51,"span",51),f(52,"Add blockquote"),n()(),o(53,"button",48),C("click",function(){return y(e),b(h().addTable())}),w(),o(54,"svg",60),v(55,"path",61),n(),O(),o(56,"span",51),f(57,"Add table"),n()(),o(58,"button",57),C("click",function(){return y(e),b(h().addCode())}),w(),o(59,"svg",60),v(60,"path",62),n(),O(),o(61,"span",51),f(62,"Add code"),n()(),o(63,"button",57),C("click",function(){return y(e),b(h().addCodeBlock())}),w(),o(64,"svg",60),v(65,"path",63),n(),O(),o(66,"span",51),f(67,"Add code block"),n()(),o(68,"button",57),C("click",function(){return y(e),b(h().addLink())}),w(),o(69,"svg",60),v(70,"path",64),n(),O(),o(71,"span",51),f(72,"Add link"),n()(),o(73,"button",55),C("click",function(t){y(e);const i=h();return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(74,"svg",65),v(75,"path",66),n(),O(),o(76,"span",51),f(77,"Add emoji"),n()()()(),o(78,"button",67),C("click",function(){y(e);const t=h();return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(79,"svg",53),v(80,"path",68)(81,"path",69),n(),O(),o(82,"span",51),f(83),m(84,"translate"),n()(),o(85,"div",70),f(86),m(87,"translate"),v(88,"div",71),n()(),o(89,"div",72)(90,"label",73),f(91,"Publish post"),n(),R(92,l46,1,1,"markdown",74)(93,f46,1,0)(94,d46,1,4,"emoji-mart",75),n()()(),o(95,"div",76)(96,"button",77),C("click",function(){return y(e),b(h().toggleChars())}),f(97),m(98,"translate"),w(),o(99,"svg",78),v(100,"path",79),n()()()}if(2&c){let e;const a=h();s(),H(_(2,37,"UPDATE_RES_SPEC._general")),s(2),k("formGroup",a.generalForm),s(2),H(_(6,39,"UPDATE_RES_SPEC._name")),s(2),k("ngClass",1==(null==(e=a.generalForm.get("name"))?null:e.invalid)&&""!=a.generalForm.value.name?"border-red-600":"border-gray-300"),s(2),H(_(10,41,"UPDATE_RES_SPEC._status")),s(4),S(13,"Active"==a.resStatus?13:14),s(2),S(15,"Launched"==a.resStatus?15:16),s(2),S(17,"Retired"==a.resStatus?17:18),s(2),S(19,"Obsolete"==a.resStatus?19:20),s(3),H(_(23,43,"UPDATE_RES_SPEC._description")),s(6),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(84,45,"CREATE_CATALOG._preview")),s(3),V(" ",_(87,47,"CREATE_CATALOG._show_preview")," "),s(6),S(92,a.showPreview?92:93),s(2),S(94,a.showEmoji?94:-1),s(2),k("disabled",!a.generalForm.valid)("ngClass",a.generalForm.valid?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(98,49,"UPDATE_RES_SPEC._next")," ")}}function h46(c,r){1&c&&(o(0,"div",93)(1,"div",97),w(),o(2,"svg",98),v(3,"path",99),n(),O(),o(4,"span",51),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"UPDATE_RES_SPEC._no_chars")," "))}function m46(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function _46(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function p46(c,r){if(1&c&&R(0,m46,4,2)(1,_46,3,2),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function g46(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function v46(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function H46(c,r){if(1&c&&R(0,g46,4,3)(1,v46,3,3),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function C46(c,r){1&c&&R(0,p46,2,1)(1,H46,2,1),2&c&&S(0,r.$implicit.value?0:1)}function z46(c,r){if(1&c){const e=j();o(0,"tr",105)(1,"td",106),f(2),n(),o(3,"td",107),f(4),n(),o(5,"td",106),c1(6,C46,2,1,null,null,z1),n(),o(8,"td",108)(9,"button",109),C("click",function(){const t=y(e).$implicit;return b(h(3).deleteChar(t))}),w(),o(10,"svg",110),v(11,"path",111),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),a1(e.resourceSpecCharacteristicValue)}}function V46(c,r){if(1&c&&(o(0,"div",100)(1,"table",101)(2,"thead",102)(3,"tr")(4,"th",103),f(5),m(6,"translate"),n(),o(7,"th",104),f(8),m(9,"translate"),n(),o(10,"th",103),f(11),m(12,"translate"),n(),o(13,"th",103),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,z46,12,2,"tr",105,z1),n()()()),2&c){const e=h(2);s(5),V(" ",_(6,4,"UPDATE_RES_SPEC._name")," "),s(3),V(" ",_(9,6,"UPDATE_RES_SPEC._description")," "),s(3),V(" ",_(12,8,"UPDATE_RES_SPEC._values")," "),s(3),V(" ",_(15,10,"UPDATE_RES_SPEC._actions")," "),s(3),a1(e.prodChars)}}function M46(c,r){if(1&c){const e=j();o(0,"div",94)(1,"button",112),C("click",function(){y(e);const t=h(2);return b(t.showCreateChar=!t.showCreateChar)}),f(2),m(3,"translate"),w(),o(4,"svg",113),v(5,"path",114),n()()()}2&c&&(s(2),V(" ",_(3,1,"UPDATE_RES_SPEC._new_char")," "))}function L46(c,r){if(1&c){const e=j();o(0,"div",131)(1,"div",132)(2,"input",133),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).selectDefaultChar(i,l))}),n(),o(3,"label",134),f(4),o(5,"i"),f(6),n()()(),o(7,"button",135),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).removeCharValue(i,l))}),w(),o(8,"svg",110),v(9,"path",111),n()()()}if(2&c){const e=r.$implicit;s(2),k("checked",null==e?null:e.isDefault),s(2),j1("",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function y46(c,r){1&c&&c1(0,L46,10,4,"div",131,z1),2&c&&a1(h(4).creatingChars)}function b46(c,r){if(1&c){const e=j();o(0,"div",131)(1,"div",132)(2,"input",136),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).selectDefaultChar(i,l))}),n(),o(3,"label",137),f(4),o(5,"i"),f(6),n()()(),o(7,"button",135),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).removeCharValue(i,l))}),w(),o(8,"svg",110),v(9,"path",111),n()()()}if(2&c){const e=r.$implicit;s(2),k("checked",null==e?null:e.isDefault),s(2),V("",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function x46(c,r){1&c&&c1(0,b46,10,3,"div",131,z1),2&c&&a1(h(4).creatingChars)}function w46(c,r){if(1&c&&(o(0,"label",125),f(1),m(2,"translate"),n(),o(3,"div",130),R(4,y46,2,0)(5,x46,2,0),n()),2&c){const e=h(3);s(),H(_(2,2,"UPDATE_RES_SPEC._values")),s(3),S(4,e.rangeCharSelected?4:5)}}function F46(c,r){if(1&c){const e=j();o(0,"div",126),v(1,"input",138,0),o(3,"button",139),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(4,"svg",140),v(5,"path",114),n()()()}}function k46(c,r){if(1&c){const e=j();o(0,"div",141)(1,"div",142)(2,"span",143),f(3),m(4,"translate"),n(),v(5,"input",144,1),n(),o(7,"div",142)(8,"span",143),f(9),m(10,"translate"),n(),v(11,"input",145,2),n(),o(13,"button",139),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(14,"svg",140),v(15,"path",114),n()()()}2&c&&(s(3),V(" ",_(4,2,"UPDATE_RES_SPEC._value")," "),s(6),V(" ",_(10,4,"UPDATE_RES_SPEC._unit")," "))}function S46(c,r){if(1&c){const e=j();o(0,"div",141)(1,"div",142)(2,"span",143),f(3),m(4,"translate"),n(),v(5,"input",144,3),n(),o(7,"div",142)(8,"span",143),f(9),m(10,"translate"),n(),v(11,"input",144,4),n(),o(13,"div",142)(14,"span",146),f(15),m(16,"translate"),n(),v(17,"input",145,5),n(),o(19,"button",139),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(20,"svg",140),v(21,"path",114),n()()()}2&c&&(s(3),V(" ",_(4,3,"UPDATE_RES_SPEC._from")," "),s(6),V(" ",_(10,5,"UPDATE_RES_SPEC._to")," "),s(6),V(" ",_(16,7,"UPDATE_RES_SPEC._unit")," "))}function N46(c,r){if(1&c){const e=j();o(0,"form",115)(1,"div")(2,"label",35),f(3),m(4,"translate"),n(),v(5,"input",116),n(),o(6,"div")(7,"label",37),f(8),m(9,"translate"),n(),o(10,"select",117),C("change",function(t){return y(e),b(h(2).onTypeChange(t))}),o(11,"option",118),f(12,"String"),n(),o(13,"option",119),f(14,"Number"),n(),o(15,"option",120),f(16,"Number range"),n()()(),o(17,"div",121)(18,"label",122),f(19),m(20,"translate"),n(),v(21,"textarea",123),n()(),o(22,"div",124),R(23,w46,6,4),o(24,"label",125),f(25),m(26,"translate"),n(),R(27,F46,6,0,"div",126)(28,k46,16,6)(29,S46,22,9),o(30,"div",127)(31,"button",128),C("click",function(){return y(e),b(h(2).saveChar())}),f(32),m(33,"translate"),w(),o(34,"svg",113),v(35,"path",129),n()()()()}if(2&c){const e=h(2);k("formGroup",e.charsForm),s(3),H(_(4,10,"UPDATE_RES_SPEC._name")),s(5),H(_(9,12,"UPDATE_RES_SPEC._type")),s(11),H(_(20,14,"UPDATE_RES_SPEC._description")),s(4),S(23,e.creatingChars.length>0?23:-1),s(2),H(_(26,16,"UPDATE_RES_SPEC._add_values")),s(2),S(27,e.stringCharSelected?27:e.numberCharSelected?28:e.rangeCharSelected?29:-1),s(4),k("disabled",!e.charsForm.valid||0==e.creatingChars.length)("ngClass",e.charsForm.valid&&0!=e.creatingChars.length?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(33,18,"UPDATE_RES_SPEC._save_char")," ")}}function D46(c,r){if(1&c){const e=j();o(0,"h2",19),f(1),m(2,"translate"),n(),R(3,h46,9,3,"div",93)(4,V46,19,12)(5,M46,6,3,"div",94)(6,N46,36,20),o(7,"div",95)(8,"button",96),C("click",function(){return y(e),b(h().showFinish())}),f(9),m(10,"translate"),w(),o(11,"svg",78),v(12,"path",79),n()()()}if(2&c){const e=h();s(),H(_(2,4,"UPDATE_RES_SPEC._chars")),s(2),S(3,0===e.prodChars.length?3:4),s(2),S(5,0==e.showCreateChar?5:6),s(4),V(" ",_(10,6,"UPDATE_RES_SPEC._finish")," ")}}function T46(c,r){if(1&c&&(o(0,"span",151),f(1),n()),2&c){const e=h(2);s(),H(null==e.resourceToUpdate?null:e.resourceToUpdate.lifecycleStatus)}}function E46(c,r){if(1&c&&(o(0,"span",153),f(1),n()),2&c){const e=h(2);s(),H(null==e.resourceToUpdate?null:e.resourceToUpdate.lifecycleStatus)}}function A46(c,r){if(1&c&&(o(0,"span",154),f(1),n()),2&c){const e=h(2);s(),H(null==e.resourceToUpdate?null:e.resourceToUpdate.lifecycleStatus)}}function P46(c,r){if(1&c&&(o(0,"span",155),f(1),n()),2&c){const e=h(2);s(),H(null==e.resourceToUpdate?null:e.resourceToUpdate.lifecycleStatus)}}function R46(c,r){if(1&c&&(o(0,"label",37),f(1),m(2,"translate"),n(),o(3,"div",156),v(4,"markdown",74),n()),2&c){const e=h(2);s(),H(_(2,2,"CREATE_PROD_SPEC._product_description")),s(3),k("data",null==e.resourceToUpdate?null:e.resourceToUpdate.description)}}function B46(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function O46(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function I46(c,r){if(1&c&&R(0,B46,4,2)(1,O46,3,2),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function U46(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function j46(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function $46(c,r){if(1&c&&R(0,U46,4,3)(1,j46,3,3),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function Y46(c,r){1&c&&R(0,I46,2,1)(1,$46,2,1),2&c&&S(0,r.$implicit.value?0:1)}function G46(c,r){if(1&c&&(o(0,"tr",105)(1,"td",106),f(2),n(),o(3,"td",107),f(4),n(),o(5,"td",106),c1(6,Y46,2,1,null,null,z1),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),a1(e.resourceSpecCharacteristicValue)}}function q46(c,r){if(1&c&&(o(0,"label",37),f(1),m(2,"translate"),n(),o(3,"div",157)(4,"table",101)(5,"thead",102)(6,"tr")(7,"th",103),f(8),m(9,"translate"),n(),o(10,"th",104),f(11),m(12,"translate"),n(),o(13,"th",103),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,G46,8,2,"tr",105,z1),n()()()),2&c){const e=h(2);s(),H(_(2,4,"CREATE_PROD_SPEC._chars")),s(7),V(" ",_(9,6,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(12,8,"CREATE_PROD_SPEC._product_description")," "),s(3),V(" ",_(15,10,"CREATE_PROD_SPEC._values")," "),s(3),a1(null==e.resourceToUpdate?null:e.resourceToUpdate.resourceSpecCharacteristic)}}function W46(c,r){if(1&c){const e=j();o(0,"h2",19),f(1),m(2,"translate"),n(),o(3,"div",147)(4,"div")(5,"label",37),f(6),m(7,"translate"),n(),o(8,"label",148),f(9),n()(),o(10,"div",149)(11,"label",150),f(12),m(13,"translate"),n(),R(14,T46,2,1,"span",151)(15,E46,2,1)(16,A46,2,1)(17,P46,2,1),n(),R(18,R46,5,4)(19,q46,19,12),o(20,"div",152)(21,"button",77),C("click",function(){return y(e),b(h().updateResource())}),f(22),m(23,"translate"),w(),o(24,"svg",78),v(25,"path",79),n()()()()}if(2&c){const e=h();s(),H(_(2,10,"CREATE_PROD_SPEC._finish")),s(5),H(_(7,12,"CREATE_PROD_SPEC._product_name")),s(3),V(" ",null==e.resourceToUpdate?null:e.resourceToUpdate.name," "),s(3),H(_(13,14,"CREATE_PROD_SPEC._status")),s(2),S(14,"Active"==(null==e.resourceToUpdate?null:e.resourceToUpdate.lifecycleStatus)?14:"Launched"==(null==e.resourceToUpdate?null:e.resourceToUpdate.lifecycleStatus)?15:"Retired"==(null==e.resourceToUpdate?null:e.resourceToUpdate.lifecycleStatus)?16:"Obsolete"==(null==e.resourceToUpdate?null:e.resourceToUpdate.lifecycleStatus)?17:-1),s(4),S(18,""!=(null==e.resourceToUpdate?null:e.resourceToUpdate.description)?18:-1),s(),S(19,e.prodChars.length>0?19:-1),s(2),k("disabled",!e.generalForm.valid)("ngClass",e.generalForm.valid?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(23,16,"UPDATE_RES_SPEC._update_res")," ")}}function Z46(c,r){1&c&&v(0,"error-message",33),2&c&&k("message",h().errorMessage)}let K46=(()=>{class c{constructor(e,a,t,i,l,d){this.router=e,this.cdr=a,this.localStorage=t,this.eventMessage=i,this.elementRef=l,this.resSpecService=d,this.partyId="",this.stepsElements=["general-info","chars","summary"],this.stepsCircles=["general-circle","chars-circle","summary-circle"],this.showPreview=!1,this.showEmoji=!1,this.description="",this.showGeneral=!0,this.showChars=!1,this.showSummary=!1,this.generalForm=new S2({name:new u1("",[O1.required]),description:new u1("")}),this.charsForm=new S2({name:new u1("",[O1.required]),description:new u1("")}),this.stringCharSelected=!0,this.numberCharSelected=!1,this.rangeCharSelected=!1,this.prodChars=[],this.creatingChars=[],this.showCreateChar=!1,this.errorMessage="",this.showError=!1,this.eventMessage.messages$.subscribe(u=>{"ChangedSession"===u.type&&this.initPartyInfo()})}onClick(){1==this.showEmoji&&(this.showEmoji=!1,this.cdr.detectChanges())}ngOnInit(){this.initPartyInfo(),console.log(this.res),this.populateResInfo()}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0)if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}}populateResInfo(){this.generalForm.controls.name.setValue(this.res.name),this.generalForm.controls.description.setValue(this.res.description),this.resStatus=this.res.lifecycleStatus,this.prodChars=this.res.resourceSpecCharacteristic}goBack(){this.eventMessage.emitSellerResourceSpec(!0)}setResStatus(e){this.resStatus=e,this.cdr.detectChanges()}toggleGeneral(){this.selectStep("general-info","general-circle"),this.showGeneral=!0,this.showChars=!1,this.showSummary=!1,this.showPreview=!1}toggleChars(){this.selectStep("chars","chars-circle"),this.showGeneral=!1,this.showChars=!0,this.showSummary=!1,this.showPreview=!1}onTypeChange(e){"string"==e.target.value?(this.stringCharSelected=!0,this.numberCharSelected=!1,this.rangeCharSelected=!1):"number"==e.target.value?(this.stringCharSelected=!1,this.numberCharSelected=!0,this.rangeCharSelected=!1):(this.stringCharSelected=!1,this.numberCharSelected=!1,this.rangeCharSelected=!0),this.creatingChars=[]}addCharValue(){this.stringCharSelected?(console.log("string"),this.creatingChars.push(0==this.creatingChars.length?{isDefault:!0,value:this.charStringValue.nativeElement.value}:{isDefault:!1,value:this.charStringValue.nativeElement.value})):this.numberCharSelected?(console.log("number"),this.creatingChars.push(0==this.creatingChars.length?{isDefault:!0,value:this.charNumberValue.nativeElement.value,unitOfMeasure:this.charNumberUnit.nativeElement.value}:{isDefault:!1,value:this.charNumberValue.nativeElement.value,unitOfMeasure:this.charNumberUnit.nativeElement.value})):(console.log("range"),this.creatingChars.push(0==this.creatingChars.length?{isDefault:!0,valueFrom:this.charFromValue.nativeElement.value,valueTo:this.charToValue.nativeElement.value,unitOfMeasure:this.charRangeUnit.nativeElement.value}:{isDefault:!1,valueFrom:this.charFromValue.nativeElement.value,valueTo:this.charToValue.nativeElement.value,unitOfMeasure:this.charRangeUnit.nativeElement.value}))}selectDefaultChar(e,a){for(let t=0;tt.id===e.id);-1!==a&&(console.log("eliminar"),this.prodChars.splice(a,1)),this.cdr.detectChanges(),console.log(this.prodChars)}showFinish(){null!=this.generalForm.value.name&&(this.resourceToUpdate={name:this.generalForm.value.name,description:null!=this.generalForm.value.description?this.generalForm.value.description:"",lifecycleStatus:this.resStatus,resourceSpecCharacteristic:this.prodChars},this.showChars=!1,this.showGeneral=!1,this.showSummary=!0,this.selectStep("summary","summary-circle")),this.showPreview=!1}updateResource(){this.resSpecService.updateResSpec(this.resourceToUpdate,this.res.id).subscribe({next:e=>{this.goBack(),console.log("serv updated")},error:e=>{console.error("There was an error while updating!",e),e.error.error?(console.log(e),this.errorMessage="Error: "+e.error.error):this.errorMessage="There was an error while updating the resource!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}removeClass(e,a){e.className=(" "+e.className+" ").replace(" "+a+" "," ").replace(/^\s+|\s+$/g,"")}addClass(e,a){e.className+=" "+a}unselectMenu(e,a){null!=e&&(e.className.match(a)?this.removeClass(e,a):console.log("already unselected"))}selectMenu(e,a){null!=e&&(e.className.match(a)?console.log("already selected"):this.addClass(e,a))}selectStep(e,a){const t=this.stepsElements.findIndex(l=>l===e);if(-1!==t){this.stepsElements.splice(t,1),this.selectMenu(document.getElementById(e),"text-primary-100 dark:text-primary-50"),this.unselectMenu(document.getElementById(e),"text-gray-500");for(let l=0;ll===a);if(-1!==t){this.stepsCircles.splice(i,1),this.selectMenu(document.getElementById(a),"border-primary-100 dark:border-primary-50"),this.unselectMenu(document.getElementById(a),"border-gray-400");for(let l=0;l blockquote"})}addLink(){this.generalForm.patchValue({description:this.generalForm.value.description+" [title](https://www.example.com) "})}addTable(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"})}addEmoji(e){console.log(e),this.showEmoji=!1,this.generalForm.patchValue({description:this.generalForm.value.description+e.emoji.native})}togglePreview(){this.generalForm.value.description&&(this.description=this.generalForm.value.description)}static#e=this.\u0275fac=function(a){return new(a||c)(B(Z1),B(B1),B(R1),B(e2),B(v2),B(h4))};static#c=this.\u0275cmp=V1({type:c,selectors:[["update-resource-spec"]],viewQuery:function(a,t){if(1&a&&(b1(W26,5),b1(Z26,5),b1(K26,5),b1(Q26,5),b1(J26,5),b1(X26,5)),2&a){let i;M1(i=L1())&&(t.charStringValue=i.first),M1(i=L1())&&(t.charNumberValue=i.first),M1(i=L1())&&(t.charNumberUnit=i.first),M1(i=L1())&&(t.charFromValue=i.first),M1(i=L1())&&(t.charToValue=i.first),M1(i=L1())&&(t.charRangeUnit=i.first)}},hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},inputs:{res:"res"},decls:64,vars:34,consts:[["stringValue",""],["numberValue",""],["numberUnit",""],["fromValue",""],["toValue",""],["rangeUnit",""],[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-gray-200","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800","dark:text-white"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-700","hover:text-blue-600",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","mt-4","p-8","rounded-lg"],[1,"text-3xl","font-bold","text-primary-100","ml-4","dark:text-white"],[1,"h-px","m-4","bg-gray-300","dark:bg-gray-200","border-0"],[1,"md:grid","md:grid-cols-25/75","xl:grid-cols-20/80"],[1,"flex","sm:flex-row","md:flex-col","md:mr-4","w-full","overflow-x-auto","max-w-[calc(100vw-5rem)]"],[1,"hidden","md:block","text-xl","font-bold","text-black","mb-4","dark:text-white"],["id","general-info",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-primary-100","dark:text-primary-50","justify-items-center","md:justify-items-start",3,"click"],["id","general-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-primary-100","dark:border-primary-50","rounded-full","shrink-0"],[1,"flex","leading-tight","justify-start"],[1,"hidden","xl:flex","text-xs","justify-start"],[1,"h-px","mb-2","bg-gray-300","dark:bg-gray-200","border-0"],["id","chars",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","chars-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","summary",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","summary-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],[1,"fixed","w-fit","top-1/2","left-1/2",3,"message"],[1,"m-4","gap-4",3,"formGroup"],["for","prod-name",1,"font-bold","text-lg","dark:text-white"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],[1,"font-bold","text-lg","dark:text-white"],[1,"mb-2"],[1,"flex","items-center","w-full","text-sm","font-medium","text-center","text-gray-500","dark:text-gray-400","sm:text-base"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-blue-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-green-700","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-yellow-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","items-center"],[1,"w-full","col-span-2","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200"],[1,"flex","items-center","justify-between","px-3","py-2","border-b"],[1,"flex","flex-wrap","items-center","divide-gray-200","dark:divide-secondary-200","sm:divide-x","sm:rtl:divide-x-reverse"],[1,"flex","items-center","space-x-1","rtl:space-x-reverse","sm:pe-4","text-gray-500","dark:text-gray-200"],["type","button",1,"p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 5h4.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0-7H6m2 7h6.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0 0H6"],[1,"sr-only"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8.874 19 6.143-14M6 19h6.33m-.66-14H18"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M9 8h10M9 12h10M9 16h10M4.99 8H5m-.02 4h.01m0 4H5"],["type","button",1,"hidden","lg:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4"],["type","button",1,"hidden","md:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["fill-rule","evenodd","d","M5 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm0 12a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm1.65-9.76A1 1 0 0 0 5 9v6a1 1 0 0 0 1.65.76l3.5-3a1 1 0 0 0 0-1.52l-3.5-3ZM12 10a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Zm0 4a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Z","clip-rule","evenodd"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-width","2","d","M3 11h18m-9 0v8m-8 0h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 3v4a1 1 0 0 1-1 1H5m5 4-2 2 2 2m4-4 2 2-2 2m5-12v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M13.213 9.787a3.391 3.391 0 0 0-4.795 0l-3.425 3.426a3.39 3.39 0 0 0 4.795 4.794l.321-.304m-.321-4.49a3.39 3.39 0 0 0 4.795 0l3.424-3.426a3.39 3.39 0 0 0-4.794-4.795l-1.028.961"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-4","h-4"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM13.5 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm-7 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm3.5 9.5A5.5 5.5 0 0 1 4.6 11h10.81A5.5 5.5 0 0 1 10 15.5Z"],["type","button","data-tooltip-target","tooltip-fullscreen",1,"rounded","cursor-pointer","text-gray-500","dark:text-gray-200","p-2","sm:ms-auto","hover:text-gray-900","dark:hover:text-gray-900","hover:bg-gray-100",3,"click"],["stroke","currentColor","stroke-width","2","d","M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z"],["stroke","currentColor","stroke-width","2","d","M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"],["id","tooltip-fullscreen","role","tooltip",1,"absolute","z-10","invisible","inline-block","px-3","py-2","text-sm","font-medium","text-white","transition-opacity","duration-300","bg-gray-900","rounded-lg","shadow-sm","opacity-0","tooltip"],["data-popper-arrow","",1,"tooltip-arrow"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","rounded-b-lg"],["for","editor",1,"sr-only"],[1,"bg-gray-50","dark:bg-secondary-300","dark:text-white","text-gray-900","text-wrap","break-all",3,"data"],[3,"darkMode","style"],[1,"flex","w-full","justify-items-end","justify-end"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-blue-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-blue-500"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M8.737 8.737a21.49 21.49 0 0 1 3.308-2.724m0 0c3.063-2.026 5.99-2.641 7.331-1.3 1.827 1.828.026 6.591-4.023 10.64-4.049 4.049-8.812 5.85-10.64 4.023-1.33-1.33-.736-4.218 1.249-7.253m6.083-6.11c-3.063-2.026-5.99-2.641-7.331-1.3-1.827 1.828-.026 6.591 4.023 10.64m3.308-9.34a21.497 21.497 0 0 1 3.308 2.724m2.775 3.386c1.985 3.035 2.579 5.923 1.248 7.253-1.336 1.337-4.245.732-7.295-1.275M14 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-green-700","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-green-700"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-yellow-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-yellow-500"],[1,"cursor-pointer","flex","items-center",3,"click"],[1,"flex","items-center","text-red-800"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-red-800"],["id","editor","formControlName","description","rows","8","placeholder","Add product description...",1,"block","w-full","px-0","text-sm","text-gray-800","dark:text-gray-200","bg-white","dark:bg-secondary-300","border-0"],[3,"click","emojiClick","darkMode"],[1,"flex","justify-center","w-full","m-4"],[1,"flex","w-full","justify-items-center","justify-center"],[1,"flex","w-full","justify-items-end","justify-end","ml-4","mt-4"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","m-4"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"hidden","lg:table-cell","px-6","py-3"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"px-6","py-4","text-wrap","break-all"],[1,"hidden","lg:table-cell","px-6","py-4","text-wrap","break-all"],[1,"px-6","py-4"],[1,"font-bold","text-white","bg-red-500","rounded-3xl",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4","text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M6 18 17.94 6M18 18 6.06 6"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],[1,"m-4","md:grid","md:grid-cols-2","gap-4",3,"formGroup"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["id","type",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],["selected","","value","string"],["value","number"],["value","range"],[1,"col-span-2"],["for","description",1,"font-bold","text-lg","dark:text-white"],["id","description","formControlName","description","rows","4",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"m-4"],["for","values",1,"font-bold","text-lg","dark:text-white"],[1,"flex","flex-row","items-center","align-items-middle"],[1,"flex","w-full","justify-items-center","justify-center","mt-4"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M11 16h2m6.707-9.293-2.414-2.414A1 1 0 0 0 16.586 4H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7.414a1 1 0 0 0-.293-.707ZM16 20v-6a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v6h8ZM9 4h6v3a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V4Z"],[1,"flex","flex-col","items-start","pl-4","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","border","border-gray-300","mb-2"],[1,"flex","w-full","justify-between"],[1,"align-items-middle","align-middle"],["id","disabled-checked-checkbox","type","checkbox","value","",1,"align-middle","w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded-full","focus:ring-blue-500","focus:ring-2",3,"click","checked"],["for","disabled-checked-checkbox",1,"ms-2","align-middle","text-sm","font-medium","text-gray-700","dark:text-white","text-wrap","break-all"],[1,"m-2","text-white","bg-red-500","rounded-3xl",3,"click"],["id","disabled-checked-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded-full","focus:ring-blue-500","focus:ring-2",3,"click","checked"],["for","disabled-checked-checkbox",1,"ms-2","text-sm","font-medium","text-gray-700","dark:text-white","text-wrap","break-all"],["type","text","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["type","button",1,"text-white","w-fit","h-full","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-white"],[1,"flex","flex-col","md:flex-row","items-center","align-items-middle"],[1,"flex","w-full","mb-2","md:mb-0"],[1,"inline-flex","items-center","px-3","text-sm","text-gray-900","bg-gray-200","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","border","rounded-e-0","border-gray-300","border-e-0","rounded-s-md"],["type","number","pattern","[0-9]*","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["type","text","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"inline-flex","items-center","px-3","text-sm","text-gray-900","bg-gray-200","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","border","rounded-e-0","border-gray-300","border-e-0","rounded-s-md","dark:text-white"],[1,"m-8"],[1,"mb-2","bg-gray-50","text-wrap","break-all","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"mb-4"],[1,"font-bold","text-lg","mr-4","dark:text-white"],[1,"bg-blue-100","dark:bg-secondary-100","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"flex","w-full","justify-items-end","justify-end","ml-4"],[1,"bg-blue-100","dark:bg-secondary-100","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-100","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-100","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","border","dark:border-secondary-200","rounded-lg","p-4","mb-4"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","mb-4"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",6)(2,"nav",7)(3,"ol",8)(4,"li",9)(5,"button",10),C("click",function(){return t.goBack()}),w(),o(6,"svg",11),v(7,"path",12),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",13)(11,"div",14),w(),o(12,"svg",15),v(13,"path",16),n(),O(),o(14,"span",17),f(15),m(16,"translate"),n()()()()()(),o(17,"div",18)(18,"h2",19),f(19),m(20,"translate"),n(),v(21,"hr",20),o(22,"div",21)(23,"div",22)(24,"h2",23),f(25),m(26,"translate"),n(),o(27,"button",24),C("click",function(){return t.toggleGeneral()}),o(28,"span",25),f(29," 1 "),n(),o(30,"span")(31,"h3",26),f(32),m(33,"translate"),n(),o(34,"p",27),f(35),m(36,"translate"),n()()(),v(37,"hr",28),o(38,"button",29),C("click",function(){return t.toggleChars()}),o(39,"span",30),f(40," 2 "),n(),o(41,"span")(42,"h3",26),f(43),m(44,"translate"),n(),o(45,"p",27),f(46),m(47,"translate"),n()()(),v(48,"hr",28),o(49,"button",31),C("click",function(){return t.showFinish()}),o(50,"span",32),f(51," 3 "),n(),o(52,"span")(53,"h3",26),f(54),m(55,"translate"),n(),o(56,"p",27),f(57),m(58,"translate"),n()()()(),o(59,"div"),R(60,u46,101,51)(61,D46,13,8)(62,W46,26,18),n()()()(),R(63,Z46,1,1,"error-message",33)),2&a&&(s(8),V(" ",_(9,14,"UPDATE_RES_SPEC._back")," "),s(7),H(_(16,16,"UPDATE_RES_SPEC._update")),s(4),H(_(20,18,"UPDATE_RES_SPEC._update_res")),s(6),H(_(26,20,"UPDATE_RES_SPEC._steps")),s(7),H(_(33,22,"UPDATE_RES_SPEC._general")),s(3),H(_(36,24,"UPDATE_RES_SPEC._general_info")),s(8),H(_(44,26,"UPDATE_RES_SPEC._chars")),s(3),H(_(47,28,"UPDATE_RES_SPEC._chars_info")),s(8),H(_(55,30,"CREATE_PROD_SPEC._finish")),s(3),H(_(58,32,"CREATE_PROD_SPEC._summary")),s(3),S(60,t.showGeneral?60:-1),s(),S(61,t.showChars?61:-1),s(),S(62,t.showSummary?62:-1),s(),S(63,t.showError?63:-1))},dependencies:[k2,I4,x6,w6,H4,N4,O4,X4,f3,G3,_4,C4,J1]})}return c})();const Q46=["stringValue"],J46=["numberValue"],X46=["numberUnit"],e36=["fromValue"],c36=["toValue"],a36=["rangeUnit"],r36=()=>({position:"relative",left:"200px",top:"-500px"});function t36(c,r){if(1&c){const e=j();o(0,"li",80),C("click",function(){return y(e),b(h(2).setServStatus("Active"))}),o(1,"span",14),w(),o(2,"svg",81),v(3,"path",82),n(),f(4," Active "),n()()}}function i36(c,r){if(1&c){const e=j();o(0,"li",83),C("click",function(){return y(e),b(h(2).setServStatus("Active"))}),o(1,"span",14),f(2," Active "),n()()}}function o36(c,r){if(1&c){const e=j();o(0,"li",84),C("click",function(){return y(e),b(h(2).setServStatus("Launched"))}),o(1,"span",14),w(),o(2,"svg",85),v(3,"path",82),n(),f(4," Launched "),n()()}}function n36(c,r){if(1&c){const e=j();o(0,"li",83),C("click",function(){return y(e),b(h(2).setServStatus("Launched"))}),o(1,"span",14),f(2," Launched "),n()()}}function s36(c,r){if(1&c){const e=j();o(0,"li",86),C("click",function(){return y(e),b(h(2).setServStatus("Retired"))}),o(1,"span",14),w(),o(2,"svg",87),v(3,"path",82),n(),f(4," Retired "),n()()}}function l36(c,r){if(1&c){const e=j();o(0,"li",83),C("click",function(){return y(e),b(h(2).setServStatus("Retired"))}),o(1,"span",14),f(2," Retired "),n()()}}function f36(c,r){if(1&c){const e=j();o(0,"li",88),C("click",function(){return y(e),b(h(2).setServStatus("Obsolete"))}),o(1,"span",89),w(),o(2,"svg",90),v(3,"path",82),n(),f(4," Obsolete "),n()()}}function d36(c,r){if(1&c){const e=j();o(0,"li",88),C("click",function(){return y(e),b(h(2).setServStatus("Obsolete"))}),o(1,"span",14),f(2," Obsolete "),n()()}}function u36(c,r){1&c&&v(0,"markdown",74),2&c&&k("data",h(2).description)}function h36(c,r){1&c&&v(0,"textarea",91)}function m36(c,r){if(1&c){const e=j();o(0,"emoji-mart",92),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(2).addEmoji(t))}),n()}2&c&&(Y2(A4(3,r36)),k("darkMode",!1))}function _36(c,r){if(1&c){const e=j();o(0,"h2",19),f(1),m(2,"translate"),n(),o(3,"form",34)(4,"label",35),f(5),m(6,"translate"),n(),v(7,"input",36),o(8,"label",37),f(9),m(10,"translate"),n(),o(11,"div",38)(12,"ol",39),R(13,t36,5,0,"li",40)(14,i36,3,0)(15,o36,5,0,"li",41)(16,n36,3,0)(17,s36,5,0,"li",42)(18,l36,3,0)(19,f36,5,0,"li",43)(20,d36,3,0),n()(),o(21,"label",35),f(22),m(23,"translate"),n(),o(24,"div",44)(25,"div",45)(26,"div",46)(27,"div",47)(28,"button",48),C("click",function(){return y(e),b(h().addBold())}),w(),o(29,"svg",49),v(30,"path",50),n(),O(),o(31,"span",51),f(32,"Bold"),n()(),o(33,"button",48),C("click",function(){return y(e),b(h().addItalic())}),w(),o(34,"svg",49),v(35,"path",52),n(),O(),o(36,"span",51),f(37,"Italic"),n()(),o(38,"button",48),C("click",function(){return y(e),b(h().addList())}),w(),o(39,"svg",53),v(40,"path",54),n(),O(),o(41,"span",51),f(42,"Add list"),n()(),o(43,"button",55),C("click",function(){return y(e),b(h().addOrderedList())}),w(),o(44,"svg",53),v(45,"path",56),n(),O(),o(46,"span",51),f(47,"Add ordered list"),n()(),o(48,"button",57),C("click",function(){return y(e),b(h().addBlockquote())}),w(),o(49,"svg",58),v(50,"path",59),n(),O(),o(51,"span",51),f(52,"Add blockquote"),n()(),o(53,"button",48),C("click",function(){return y(e),b(h().addTable())}),w(),o(54,"svg",60),v(55,"path",61),n(),O(),o(56,"span",51),f(57,"Add table"),n()(),o(58,"button",57),C("click",function(){return y(e),b(h().addCode())}),w(),o(59,"svg",60),v(60,"path",62),n(),O(),o(61,"span",51),f(62,"Add code"),n()(),o(63,"button",57),C("click",function(){return y(e),b(h().addCodeBlock())}),w(),o(64,"svg",60),v(65,"path",63),n(),O(),o(66,"span",51),f(67,"Add code block"),n()(),o(68,"button",57),C("click",function(){return y(e),b(h().addLink())}),w(),o(69,"svg",60),v(70,"path",64),n(),O(),o(71,"span",51),f(72,"Add link"),n()(),o(73,"button",55),C("click",function(t){y(e);const i=h();return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(74,"svg",65),v(75,"path",66),n(),O(),o(76,"span",51),f(77,"Add emoji"),n()()()(),o(78,"button",67),C("click",function(){y(e);const t=h();return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(79,"svg",53),v(80,"path",68)(81,"path",69),n(),O(),o(82,"span",51),f(83),m(84,"translate"),n()(),o(85,"div",70),f(86),m(87,"translate"),v(88,"div",71),n()(),o(89,"div",72)(90,"label",73),f(91,"Publish post"),n(),R(92,u36,1,1,"markdown",74)(93,h36,1,0)(94,m36,1,4,"emoji-mart",75),n()()(),o(95,"div",76)(96,"button",77),C("click",function(){return y(e),b(h().toggleChars())}),f(97),m(98,"translate"),w(),o(99,"svg",78),v(100,"path",79),n()()()}if(2&c){let e;const a=h();s(),H(_(2,37,"UPDATE_SERV_SPEC._general")),s(2),k("formGroup",a.generalForm),s(2),H(_(6,39,"UPDATE_SERV_SPEC._name")),s(2),k("ngClass",1==(null==(e=a.generalForm.get("name"))?null:e.invalid)&&""!=a.generalForm.value.name?"border-red-600":"border-gray-300"),s(2),H(_(10,41,"UPDATE_RES_SPEC._status")),s(4),S(13,"Active"==a.servStatus?13:14),s(2),S(15,"Launched"==a.servStatus?15:16),s(2),S(17,"Retired"==a.servStatus?17:18),s(2),S(19,"Obsolete"==a.servStatus?19:20),s(3),H(_(23,43,"UPDATE_SERV_SPEC._description")),s(6),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(84,45,"CREATE_CATALOG._preview")),s(3),V(" ",_(87,47,"CREATE_CATALOG._show_preview")," "),s(6),S(92,a.showPreview?92:93),s(2),S(94,a.showEmoji?94:-1),s(2),k("disabled",!a.generalForm.valid)("ngClass",a.generalForm.valid?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(98,49,"UPDATE_SERV_SPEC._next")," ")}}function p36(c,r){1&c&&(o(0,"div",93)(1,"div",97),w(),o(2,"svg",98),v(3,"path",99),n(),O(),o(4,"span",51),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"UPDATE_SERV_SPEC._no_chars")," "))}function g36(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function v36(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function H36(c,r){if(1&c&&R(0,g36,4,2)(1,v36,3,2),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function C36(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function z36(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function V36(c,r){if(1&c&&R(0,C36,4,3)(1,z36,3,3),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function M36(c,r){1&c&&R(0,H36,2,1)(1,V36,2,1),2&c&&S(0,r.$implicit.value?0:1)}function L36(c,r){if(1&c){const e=j();o(0,"tr",105)(1,"td",106),f(2),n(),o(3,"td",107),f(4),n(),o(5,"td",106),c1(6,M36,2,1,null,null,z1),n(),o(8,"td",108)(9,"button",109),C("click",function(){const t=y(e).$implicit;return b(h(3).deleteChar(t))}),w(),o(10,"svg",110),v(11,"path",111),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),a1(e.characteristicValueSpecification)}}function y36(c,r){if(1&c&&(o(0,"div",100)(1,"table",101)(2,"thead",102)(3,"tr")(4,"th",103),f(5),m(6,"translate"),n(),o(7,"th",104),f(8),m(9,"translate"),n(),o(10,"th",103),f(11),m(12,"translate"),n(),o(13,"th",103),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,L36,12,2,"tr",105,z1),n()()()),2&c){const e=h(2);s(5),V(" ",_(6,4,"UPDATE_SERV_SPEC._name")," "),s(3),V(" ",_(9,6,"UPDATE_SERV_SPEC._description")," "),s(3),V(" ",_(12,8,"UPDATE_SERV_SPEC._values")," "),s(3),V(" ",_(15,10,"UPDATE_SERV_SPEC._actions")," "),s(3),a1(e.prodChars)}}function b36(c,r){if(1&c){const e=j();o(0,"div",94)(1,"button",112),C("click",function(){y(e);const t=h(2);return b(t.showCreateChar=!t.showCreateChar)}),f(2),m(3,"translate"),w(),o(4,"svg",113),v(5,"path",114),n()()()}2&c&&(s(2),V(" ",_(3,1,"UPDATE_SERV_SPEC._new_char")," "))}function x36(c,r){if(1&c){const e=j();o(0,"div",131)(1,"div",132)(2,"input",133),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).selectDefaultChar(i,l))}),n(),o(3,"label",134),f(4),o(5,"i"),f(6),n()()(),o(7,"button",135),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).removeCharValue(i,l))}),w(),o(8,"svg",110),v(9,"path",111),n()()()}if(2&c){const e=r.$implicit;s(2),k("checked",null==e?null:e.isDefault),s(2),j1("",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function w36(c,r){1&c&&c1(0,x36,10,4,"div",131,z1),2&c&&a1(h(4).creatingChars)}function F36(c,r){if(1&c){const e=j();o(0,"div",131)(1,"div",132)(2,"input",136),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).selectDefaultChar(i,l))}),n(),o(3,"label",137),f(4),o(5,"i"),f(6),n()()(),o(7,"button",135),C("click",function(){const t=y(e),i=t.$implicit,l=t.$index;return b(h(5).removeCharValue(i,l))}),w(),o(8,"svg",110),v(9,"path",111),n()()()}if(2&c){const e=r.$implicit;s(2),k("checked",null==e?null:e.isDefault),s(2),V("",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function k36(c,r){1&c&&c1(0,F36,10,3,"div",131,z1),2&c&&a1(h(4).creatingChars)}function S36(c,r){if(1&c&&(o(0,"label",125),f(1,"Values"),n(),o(2,"div",130),R(3,w36,2,0)(4,k36,2,0),n()),2&c){const e=h(3);s(3),S(3,e.rangeCharSelected?3:4)}}function N36(c,r){if(1&c){const e=j();o(0,"div",126),v(1,"input",138,0),o(3,"button",139),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(4,"svg",140),v(5,"path",114),n()()()}}function D36(c,r){if(1&c){const e=j();o(0,"div",141)(1,"div",142)(2,"span",143),f(3),m(4,"translate"),n(),v(5,"input",144,1),n(),o(7,"div",142)(8,"span",143),f(9),m(10,"translate"),n(),v(11,"input",145,2),n(),o(13,"button",139),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(14,"svg",140),v(15,"path",114),n()()()}2&c&&(s(3),V(" ",_(4,2,"UPDATE_SERV_SPEC._value")," "),s(6),V(" ",_(10,4,"UPDATE_SERV_SPEC._unit")," "))}function T36(c,r){if(1&c){const e=j();o(0,"div",141)(1,"div",142)(2,"span",146),f(3),m(4,"translate"),n(),v(5,"input",144,3),n(),o(7,"div",142)(8,"span",146),f(9),m(10,"translate"),n(),v(11,"input",144,4),n(),o(13,"div",142)(14,"span",146),f(15),m(16,"translate"),n(),v(17,"input",145,5),n(),o(19,"button",139),C("click",function(){return y(e),b(h(3).addCharValue())}),w(),o(20,"svg",140),v(21,"path",114),n()()()}2&c&&(s(3),V(" ",_(4,3,"UPDATE_SERV_SPEC._from")," "),s(6),V(" ",_(10,5,"UPDATE_SERV_SPEC._to")," "),s(6),V(" ",_(16,7,"UPDATE_SERV_SPEC._unit")," "))}function E36(c,r){if(1&c){const e=j();o(0,"form",115)(1,"div")(2,"label",35),f(3),m(4,"translate"),n(),v(5,"input",116),n(),o(6,"div")(7,"label",37),f(8),m(9,"translate"),n(),o(10,"select",117),C("change",function(t){return y(e),b(h(2).onTypeChange(t))}),o(11,"option",118),f(12,"String"),n(),o(13,"option",119),f(14,"Number"),n(),o(15,"option",120),f(16,"Number range"),n()()(),o(17,"div",121)(18,"label",122),f(19),m(20,"translate"),n(),v(21,"textarea",123),n()(),o(22,"div",124),R(23,S36,5,1),o(24,"label",125),f(25),m(26,"translate"),n(),R(27,N36,6,0,"div",126)(28,D36,16,6)(29,T36,22,9),o(30,"div",127)(31,"button",128),C("click",function(){return y(e),b(h(2).saveChar())}),f(32),m(33,"translate"),w(),o(34,"svg",113),v(35,"path",129),n()()()()}if(2&c){const e=h(2);k("formGroup",e.charsForm),s(3),H(_(4,10,"PROFILE._name")),s(5),H(_(9,12,"UPDATE_SERV_SPEC._type")),s(11),H(_(20,14,"UPDATE_SERV_SPEC._description")),s(4),S(23,e.creatingChars.length>0?23:-1),s(2),H(_(26,16,"UPDATE_SERV_SPEC._add_values")),s(2),S(27,e.stringCharSelected?27:e.numberCharSelected?28:e.rangeCharSelected?29:-1),s(4),k("disabled",!e.charsForm.valid||0==e.creatingChars.length)("ngClass",e.charsForm.valid&&0!=e.creatingChars.length?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(33,18,"UPDATE_SERV_SPEC._save_char")," ")}}function A36(c,r){if(1&c){const e=j();o(0,"h2",19),f(1),m(2,"translate"),n(),R(3,p36,9,3,"div",93)(4,y36,19,12)(5,b36,6,3,"div",94)(6,E36,36,20),o(7,"div",95)(8,"button",96),C("click",function(){return y(e),b(h().showFinish())}),f(9),m(10,"translate"),w(),o(11,"svg",78),v(12,"path",79),n()()()}if(2&c){const e=h();s(),H(_(2,4,"UPDATE_SERV_SPEC._chars")),s(2),S(3,0===e.prodChars.length?3:4),s(2),S(5,0==e.showCreateChar?5:6),s(4),V(" ",_(10,6,"UPDATE_SERV_SPEC._finish")," ")}}function P36(c,r){if(1&c&&(o(0,"span",151),f(1),n()),2&c){const e=h(2);s(),H(null==e.serviceToUpdate?null:e.serviceToUpdate.lifecycleStatus)}}function R36(c,r){if(1&c&&(o(0,"span",153),f(1),n()),2&c){const e=h(2);s(),H(null==e.serviceToUpdate?null:e.serviceToUpdate.lifecycleStatus)}}function B36(c,r){if(1&c&&(o(0,"span",154),f(1),n()),2&c){const e=h(2);s(),H(null==e.serviceToUpdate?null:e.serviceToUpdate.lifecycleStatus)}}function O36(c,r){if(1&c&&(o(0,"span",155),f(1),n()),2&c){const e=h(2);s(),H(null==e.serviceToUpdate?null:e.serviceToUpdate.lifecycleStatus)}}function I36(c,r){if(1&c&&(o(0,"label",37),f(1),m(2,"translate"),n(),o(3,"div",156),v(4,"markdown",74),n()),2&c){const e=h(2);s(),H(_(2,2,"CREATE_PROD_SPEC._product_description")),s(3),k("data",null==e.serviceToUpdate?null:e.serviceToUpdate.description)}}function U36(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function j36(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;V(" ",e.value," "),s(2),H(null==e?null:e.unitOfMeasure)}}function $36(c,r){if(1&c&&R(0,U36,4,2)(1,j36,3,2),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function Y36(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n(),f(3,", ")),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function G36(c,r){if(1&c&&(f(0),o(1,"i"),f(2),n()),2&c){const e=h(2).$implicit;j1(" ",e.valueFrom," - ",e.valueTo," "),s(2),H(null==e?null:e.unitOfMeasure)}}function q36(c,r){if(1&c&&R(0,Y36,4,3)(1,G36,3,3),2&c){const e=h();S(0,e.$index!==e.$count-1?0:1)}}function W36(c,r){1&c&&R(0,$36,2,1)(1,q36,2,1),2&c&&S(0,r.$implicit.value?0:1)}function Z36(c,r){if(1&c&&(o(0,"tr",105)(1,"td",106),f(2),n(),o(3,"td",107),f(4),n(),o(5,"td",106),c1(6,W36,2,1,null,null,z1),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),a1(e.characteristicValueSpecification)}}function K36(c,r){if(1&c&&(o(0,"label",37),f(1),m(2,"translate"),n(),o(3,"div",157)(4,"table",101)(5,"thead",102)(6,"tr")(7,"th",103),f(8),m(9,"translate"),n(),o(10,"th",104),f(11),m(12,"translate"),n(),o(13,"th",103),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,Z36,8,2,"tr",105,z1),n()()()),2&c){const e=h(2);s(),H(_(2,4,"CREATE_PROD_SPEC._chars")),s(7),V(" ",_(9,6,"CREATE_PROD_SPEC._product_name")," "),s(3),V(" ",_(12,8,"CREATE_PROD_SPEC._product_description")," "),s(3),V(" ",_(15,10,"CREATE_PROD_SPEC._values")," "),s(3),a1(null==e.serviceToUpdate?null:e.serviceToUpdate.specCharacteristic)}}function Q36(c,r){if(1&c){const e=j();o(0,"h2",19),f(1),m(2,"translate"),n(),o(3,"div",147)(4,"div")(5,"label",37),f(6),m(7,"translate"),n(),o(8,"label",148),f(9),n()(),o(10,"div",149)(11,"label",150),f(12),m(13,"translate"),n(),R(14,P36,2,1,"span",151)(15,R36,2,1)(16,B36,2,1)(17,O36,2,1),n(),R(18,I36,5,4)(19,K36,19,12),o(20,"div",152)(21,"button",77),C("click",function(){return y(e),b(h().updateService())}),f(22),m(23,"translate"),w(),o(24,"svg",78),v(25,"path",79),n()()()()}if(2&c){const e=h();s(),H(_(2,10,"CREATE_PROD_SPEC._finish")),s(5),H(_(7,12,"CREATE_PROD_SPEC._product_name")),s(3),V(" ",null==e.serviceToUpdate?null:e.serviceToUpdate.name," "),s(3),H(_(13,14,"CREATE_PROD_SPEC._status")),s(2),S(14,"Active"==(null==e.serviceToUpdate?null:e.serviceToUpdate.lifecycleStatus)?14:"Launched"==(null==e.serviceToUpdate?null:e.serviceToUpdate.lifecycleStatus)?15:"Retired"==(null==e.serviceToUpdate?null:e.serviceToUpdate.lifecycleStatus)?16:"Obsolete"==(null==e.serviceToUpdate?null:e.serviceToUpdate.lifecycleStatus)?17:-1),s(4),S(18,""!=(null==e.serviceToUpdate?null:e.serviceToUpdate.description)?18:-1),s(),S(19,e.prodChars.length>0?19:-1),s(2),k("disabled",!e.generalForm.valid)("ngClass",e.generalForm.valid?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(23,16,"UPDATE_SERV_SPEC._update_serv")," ")}}function J36(c,r){1&c&&v(0,"error-message",33),2&c&&k("message",h().errorMessage)}let X36=(()=>{class c{constructor(e,a,t,i,l,d){this.router=e,this.cdr=a,this.localStorage=t,this.eventMessage=i,this.elementRef=l,this.servSpecService=d,this.partyId="",this.stepsElements=["general-info","chars","summary"],this.stepsCircles=["general-circle","chars-circle","summary-circle"],this.showPreview=!1,this.showEmoji=!1,this.description="",this.showGeneral=!0,this.showChars=!1,this.showSummary=!1,this.generalForm=new S2({name:new u1("",[O1.required]),description:new u1("")}),this.charsForm=new S2({name:new u1("",[O1.required]),description:new u1("")}),this.stringCharSelected=!0,this.numberCharSelected=!1,this.rangeCharSelected=!1,this.prodChars=[],this.creatingChars=[],this.showCreateChar=!1,this.errorMessage="",this.showError=!1,this.eventMessage.messages$.subscribe(u=>{"ChangedSession"===u.type&&this.initPartyInfo()})}onClick(){1==this.showEmoji&&(this.showEmoji=!1,this.cdr.detectChanges())}ngOnInit(){this.initPartyInfo(),console.log(this.serv),this.populateResInfo()}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0)if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}}populateResInfo(){this.generalForm.controls.name.setValue(this.serv.name),this.generalForm.controls.description.setValue(this.serv.description),this.servStatus=this.serv.lifecycleStatus,this.prodChars=this.serv.specCharacteristic}goBack(){this.eventMessage.emitSellerServiceSpec(!0)}setServStatus(e){this.servStatus=e,this.cdr.detectChanges()}toggleGeneral(){this.selectStep("general-info","general-circle"),this.showGeneral=!0,this.showChars=!1,this.showSummary=!1,this.showPreview=!1}toggleChars(){this.selectStep("chars","chars-circle"),this.showGeneral=!1,this.showChars=!0,this.showSummary=!1,this.showPreview=!1}onTypeChange(e){"string"==e.target.value?(this.stringCharSelected=!0,this.numberCharSelected=!1,this.rangeCharSelected=!1):"number"==e.target.value?(this.stringCharSelected=!1,this.numberCharSelected=!0,this.rangeCharSelected=!1):(this.stringCharSelected=!1,this.numberCharSelected=!1,this.rangeCharSelected=!0),this.creatingChars=[]}addCharValue(){this.stringCharSelected?(console.log("string"),this.creatingChars.push(0==this.creatingChars.length?{isDefault:!0,value:this.charStringValue.nativeElement.value}:{isDefault:!1,value:this.charStringValue.nativeElement.value})):this.numberCharSelected?(console.log("number"),this.creatingChars.push(0==this.creatingChars.length?{isDefault:!0,value:this.charNumberValue.nativeElement.value,unitOfMeasure:this.charNumberUnit.nativeElement.value}:{isDefault:!1,value:this.charNumberValue.nativeElement.value,unitOfMeasure:this.charNumberUnit.nativeElement.value})):(console.log("range"),this.creatingChars.push(0==this.creatingChars.length?{isDefault:!0,valueFrom:this.charFromValue.nativeElement.value,valueTo:this.charToValue.nativeElement.value,unitOfMeasure:this.charRangeUnit.nativeElement.value}:{isDefault:!1,valueFrom:this.charFromValue.nativeElement.value,valueTo:this.charToValue.nativeElement.value,unitOfMeasure:this.charRangeUnit.nativeElement.value}))}selectDefaultChar(e,a){for(let t=0;tt.id===e.id);-1!==a&&(console.log("eliminar"),this.prodChars.splice(a,1)),this.cdr.detectChanges(),console.log(this.prodChars)}showFinish(){null!=this.generalForm.value.name&&(this.serviceToUpdate={name:this.generalForm.value.name,description:null!=this.generalForm.value.description?this.generalForm.value.description:"",lifecycleStatus:this.servStatus,specCharacteristic:this.prodChars},this.showChars=!1,this.showGeneral=!1,this.showSummary=!0,this.selectStep("summary","summary-circle")),this.showPreview=!1}updateService(){this.servSpecService.updateServSpec(this.serviceToUpdate,this.serv.id).subscribe({next:e=>{this.goBack(),console.log("serv updated")},error:e=>{console.error("There was an error while updating!",e),e.error.error?(console.log(e),this.errorMessage="Error: "+e.error.error):this.errorMessage="There was an error while updating the service!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}removeClass(e,a){e.className=(" "+e.className+" ").replace(" "+a+" "," ").replace(/^\s+|\s+$/g,"")}addClass(e,a){e.className+=" "+a}unselectMenu(e,a){null!=e&&(e.className.match(a)?this.removeClass(e,a):console.log("already unselected"))}selectMenu(e,a){null!=e&&(e.className.match(a)?console.log("already selected"):this.addClass(e,a))}selectStep(e,a){const t=this.stepsElements.findIndex(l=>l===e);if(-1!==t){this.stepsElements.splice(t,1),this.selectMenu(document.getElementById(e),"text-primary-100 dark:text-primary-50"),this.unselectMenu(document.getElementById(e),"text-gray-500");for(let l=0;ll===a);if(-1!==t){this.stepsCircles.splice(i,1),this.selectMenu(document.getElementById(a),"border-primary-100 dark:border-primary-50"),this.unselectMenu(document.getElementById(a),"border-gray-400");for(let l=0;l blockquote"})}addLink(){this.generalForm.patchValue({description:this.generalForm.value.description+" [title](https://www.example.com) "})}addTable(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"})}addEmoji(e){console.log(e),this.showEmoji=!1,this.generalForm.patchValue({description:this.generalForm.value.description+e.emoji.native})}togglePreview(){this.generalForm.value.description&&(this.description=this.generalForm.value.description)}static#e=this.\u0275fac=function(a){return new(a||c)(B(Z1),B(B1),B(R1),B(e2),B(v2),B(D4))};static#c=this.\u0275cmp=V1({type:c,selectors:[["update-service-spec"]],viewQuery:function(a,t){if(1&a&&(b1(Q46,5),b1(J46,5),b1(X46,5),b1(e36,5),b1(c36,5),b1(a36,5)),2&a){let i;M1(i=L1())&&(t.charStringValue=i.first),M1(i=L1())&&(t.charNumberValue=i.first),M1(i=L1())&&(t.charNumberUnit=i.first),M1(i=L1())&&(t.charFromValue=i.first),M1(i=L1())&&(t.charToValue=i.first),M1(i=L1())&&(t.charRangeUnit=i.first)}},hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},inputs:{serv:"serv"},decls:64,vars:34,consts:[["stringValue",""],["numberValue",""],["numberUnit",""],["fromValue",""],["toValue",""],["rangeUnit",""],[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-gray-200","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800","dark:text-white"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","mt-4","p-8","rounded-lg"],[1,"text-3xl","font-bold","text-primary-100","ml-4","dark:text-white"],[1,"h-px","m-4","bg-gray-300","dark:bg-gray-200","border-0"],[1,"md:grid","md:grid-cols-25/75","xl:grid-cols-20/80"],[1,"flex","sm:flex-row","md:flex-col","md:mr-4","w-full","overflow-x-auto","max-w-[calc(100vw-5rem)]"],[1,"hidden","md:block","text-xl","font-bold","text-black","mb-4","dark:text-white"],["id","general-info",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-primary-100","dark:text-primary-50","justify-items-center","md:justify-items-start",3,"click"],["id","general-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-primary-100","dark:border-primary-50","rounded-full","shrink-0"],[1,"flex","leading-tight","justify-start"],[1,"hidden","xl:flex","text-xs","justify-start"],[1,"h-px","mb-2","bg-gray-300","dark:bg-gray-200","border-0"],["id","chars",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","chars-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","summary",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","summary-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],[1,"fixed","w-fit","top-1/2","left-1/2",3,"message"],[1,"m-4","gap-4",3,"formGroup"],["for","prod-name",1,"font-bold","text-lg","dark:text-white"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],[1,"font-bold","text-lg","dark:text-white"],[1,"mb-2"],[1,"flex","items-center","w-full","text-sm","font-medium","text-center","text-gray-500","dark:text-gray-400","sm:text-base"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-blue-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-green-700","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-yellow-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","items-center"],[1,"w-full","col-span-2","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200"],[1,"flex","items-center","justify-between","px-3","py-2","border-b"],[1,"flex","flex-wrap","items-center","divide-gray-200","dark:divide-secondary-200","sm:divide-x","sm:rtl:divide-x-reverse"],[1,"flex","items-center","space-x-1","rtl:space-x-reverse","sm:pe-4","text-gray-500","dark:text-gray-200"],["type","button",1,"p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 5h4.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0-7H6m2 7h6.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0 0H6"],[1,"sr-only"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8.874 19 6.143-14M6 19h6.33m-.66-14H18"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M9 8h10M9 12h10M9 16h10M4.99 8H5m-.02 4h.01m0 4H5"],["type","button",1,"hidden","lg:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4"],["type","button",1,"hidden","md:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["fill-rule","evenodd","d","M5 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm0 12a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm1.65-9.76A1 1 0 0 0 5 9v6a1 1 0 0 0 1.65.76l3.5-3a1 1 0 0 0 0-1.52l-3.5-3ZM12 10a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Zm0 4a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Z","clip-rule","evenodd"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-width","2","d","M3 11h18m-9 0v8m-8 0h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 3v4a1 1 0 0 1-1 1H5m5 4-2 2 2 2m4-4 2 2-2 2m5-12v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M13.213 9.787a3.391 3.391 0 0 0-4.795 0l-3.425 3.426a3.39 3.39 0 0 0 4.795 4.794l.321-.304m-.321-4.49a3.39 3.39 0 0 0 4.795 0l3.424-3.426a3.39 3.39 0 0 0-4.794-4.795l-1.028.961"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-4","h-4"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM13.5 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm-7 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm3.5 9.5A5.5 5.5 0 0 1 4.6 11h10.81A5.5 5.5 0 0 1 10 15.5Z"],["type","button","data-tooltip-target","tooltip-fullscreen",1,"rounded","cursor-pointer","text-gray-500","dark:text-gray-200","p-2","sm:ms-auto","hover:text-gray-900","dark:hover:text-gray-900","hover:bg-gray-100",3,"click"],["stroke","currentColor","stroke-width","2","d","M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z"],["stroke","currentColor","stroke-width","2","d","M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"],["id","tooltip-fullscreen","role","tooltip",1,"absolute","z-10","invisible","inline-block","px-3","py-2","text-sm","font-medium","text-white","transition-opacity","duration-300","bg-gray-900","rounded-lg","shadow-sm","opacity-0","tooltip"],["data-popper-arrow","",1,"tooltip-arrow"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","rounded-b-lg"],["for","editor",1,"sr-only"],[1,"bg-gray-50","dark:bg-secondary-300","dark:text-white","text-gray-900","text-wrap","break-all",3,"data"],[3,"darkMode","style"],[1,"flex","w-full","justify-items-end","justify-end"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-blue-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-blue-500"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M8.737 8.737a21.49 21.49 0 0 1 3.308-2.724m0 0c3.063-2.026 5.99-2.641 7.331-1.3 1.827 1.828.026 6.591-4.023 10.64-4.049 4.049-8.812 5.85-10.64 4.023-1.33-1.33-.736-4.218 1.249-7.253m6.083-6.11c-3.063-2.026-5.99-2.641-7.331-1.3-1.827 1.828-.026 6.591 4.023 10.64m3.308-9.34a21.497 21.497 0 0 1 3.308 2.724m2.775 3.386c1.985 3.035 2.579 5.923 1.248 7.253-1.336 1.337-4.245.732-7.295-1.275M14 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-green-700","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-green-700"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-yellow-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-yellow-500"],[1,"cursor-pointer","flex","items-center",3,"click"],[1,"flex","items-center","text-red-800"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-red-800"],["id","editor","formControlName","description","rows","8","placeholder","Add product description...",1,"block","w-full","px-0","text-sm","text-gray-800","dark:text-gray-200","bg-white","dark:bg-secondary-300","border-0"],[3,"click","emojiClick","darkMode"],[1,"flex","justify-center","w-full","m-4"],[1,"flex","w-full","justify-items-center","justify-center"],[1,"flex","w-full","justify-items-end","justify-end","ml-4","mt-4"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","m-4"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"hidden","lg:table-cell","px-6","py-3"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"px-6","py-4","text-wrap","break-all"],[1,"hidden","lg:table-cell","px-6","py-4","text-wrap","break-all"],[1,"px-6","py-4"],[1,"font-bold","text-white","bg-red-500","rounded-3xl",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4","text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M6 18 17.94 6M18 18 6.06 6"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],[1,"m-4","md:grid","md:grid-cols-2","gap-4",3,"formGroup"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["id","type",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],["selected","","value","string"],["value","number"],["value","range"],[1,"col-span-2"],["for","description",1,"font-bold","text-lg","dark:text-white"],["id","description","formControlName","description","rows","4",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"m-4"],["for","values",1,"font-bold","text-lg","dark:text-white"],[1,"flex","flex-row","items-center","align-items-middle"],[1,"flex","w-full","justify-items-center","justify-center","mt-4"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M11 16h2m6.707-9.293-2.414-2.414A1 1 0 0 0 16.586 4H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7.414a1 1 0 0 0-.293-.707ZM16 20v-6a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v6h8ZM9 4h6v3a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V4Z"],[1,"flex","flex-col","items-start","pl-4","shadow-md","sm:rounded-lg","w-full","bg-white","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","border","border-gray-300","mb-2"],[1,"flex","w-full","justify-between"],[1,"align-items-middle","align-middle"],["id","disabled-checked-checkbox","type","checkbox","value","",1,"align-middle","w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded-full","focus:ring-blue-500","focus:ring-2",3,"click","checked"],["for","disabled-checked-checkbox",1,"ms-2","align-middle","text-sm","font-medium","text-gray-700","dark:text-white","text-wrap","break-all"],[1,"m-2","text-white","bg-red-500","rounded-3xl",3,"click"],["id","disabled-checked-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded-full","focus:ring-blue-500","focus:ring-2",3,"click","checked"],["for","disabled-checked-checkbox",1,"ms-2","text-sm","font-medium","text-gray-700","dark:text-white","text-wrap","break-all"],["type","text","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["type","button",1,"text-white","w-fit","h-full","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-white"],[1,"flex","flex-col","md:flex-row","items-center","align-items-middle"],[1,"flex","w-full","mb-2","md:mb-0"],[1,"inline-flex","items-center","px-3","text-sm","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","bg-gray-200","border","rounded-e-0","border-gray-300","border-e-0","rounded-s-md"],["type","number","pattern","[0-9]*","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],["type","text","id","value",1,"mr-4","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"inline-flex","items-center","px-3","text-sm","text-gray-900","bg-gray-200","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","border","rounded-e-0","border-gray-300","border-e-0","rounded-s-md"],[1,"m-8"],[1,"mb-2","bg-gray-50","text-wrap","break-all","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"mb-4"],[1,"font-bold","text-lg","mr-4","dark:text-white"],[1,"bg-blue-100","dark:bg-secondary-100","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"flex","w-full","justify-items-end","justify-end","ml-4"],[1,"bg-blue-100","dark:bg-secondary-100","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-100","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-100","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","border","dark:border-secondary-200","rounded-lg","p-4","mb-4"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","mb-4"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",6)(2,"nav",7)(3,"ol",8)(4,"li",9)(5,"button",10),C("click",function(){return t.goBack()}),w(),o(6,"svg",11),v(7,"path",12),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",13)(11,"div",14),w(),o(12,"svg",15),v(13,"path",16),n(),O(),o(14,"span",17),f(15),m(16,"translate"),n()()()()()(),o(17,"div",18)(18,"h2",19),f(19),m(20,"translate"),n(),v(21,"hr",20),o(22,"div",21)(23,"div",22)(24,"h2",23),f(25),m(26,"translate"),n(),o(27,"button",24),C("click",function(){return t.toggleGeneral()}),o(28,"span",25),f(29," 1 "),n(),o(30,"span")(31,"h3",26),f(32),m(33,"translate"),n(),o(34,"p",27),f(35),m(36,"translate"),n()()(),v(37,"hr",28),o(38,"button",29),C("click",function(){return t.toggleChars()}),o(39,"span",30),f(40," 2 "),n(),o(41,"span")(42,"h3",26),f(43),m(44,"translate"),n(),o(45,"p",27),f(46),m(47,"translate"),n()()(),v(48,"hr",28),o(49,"button",31),C("click",function(){return t.showFinish()}),o(50,"span",32),f(51," 3 "),n(),o(52,"span")(53,"h3",26),f(54),m(55,"translate"),n(),o(56,"p",27),f(57),m(58,"translate"),n()()()(),o(59,"div"),R(60,_36,101,51)(61,A36,13,8)(62,Q36,26,18),n()()()(),R(63,J36,1,1,"error-message",33)),2&a&&(s(8),V(" ",_(9,14,"UPDATE_SERV_SPEC._back")," "),s(7),H(_(16,16,"UPDATE_SERV_SPEC._update")),s(4),H(_(20,18,"UPDATE_SERV_SPEC._update_serv")),s(6),H(_(26,20,"UPDATE_SERV_SPEC._steps")),s(7),H(_(33,22,"UPDATE_SERV_SPEC._general")),s(3),H(_(36,24,"UPDATE_SERV_SPEC._general_info")),s(8),H(_(44,26,"UPDATE_SERV_SPEC._chars")),s(3),H(_(47,28,"UPDATE_SERV_SPEC._chars_info")),s(8),H(_(55,30,"CREATE_PROD_SPEC._finish")),s(3),H(_(58,32,"CREATE_PROD_SPEC._summary")),s(3),S(60,t.showGeneral?60:-1),s(),S(61,t.showChars?61:-1),s(),S(62,t.showSummary?62:-1),s(),S(63,t.showError?63:-1))},dependencies:[k2,I4,x6,w6,H4,N4,O4,X4,f3,G3,_4,C4,J1]})}return c})();const e66=["updatemetric"],c66=["responsemetric"],a66=["delaymetric"],r66=["usageUnit"],t66=["usageUnitUpdate"],i66=["usageUnitAlter"],Jt=(c,r)=>r.id,sm1=(c,r)=>r.code,ql=()=>({position:"relative",left:"200px",top:"-500px"});function o66(c,r){if(1&c){const e=j();o(0,"li",94),C("click",function(){return y(e),b(h(2).setOfferStatus("Active"))}),o(1,"span",16),w(),o(2,"svg",95),v(3,"path",96),n(),f(4," Active "),n()()}}function n66(c,r){if(1&c){const e=j();o(0,"li",97),C("click",function(){return y(e),b(h(2).setOfferStatus("Active"))}),o(1,"span",16),f(2," Active "),n()()}}function s66(c,r){if(1&c){const e=j();o(0,"li",98),C("click",function(){return y(e),b(h(2).setOfferStatus("Launched"))}),o(1,"span",16),w(),o(2,"svg",99),v(3,"path",96),n(),f(4," Launched "),n()()}}function l66(c,r){if(1&c){const e=j();o(0,"li",97),C("click",function(){return y(e),b(h(2).setOfferStatus("Launched"))}),o(1,"span",16),f(2," Launched "),n()()}}function f66(c,r){if(1&c){const e=j();o(0,"li",100),C("click",function(){return y(e),b(h(2).setOfferStatus("Retired"))}),o(1,"span",16),w(),o(2,"svg",101),v(3,"path",96),n(),f(4," Retired "),n()()}}function d66(c,r){if(1&c){const e=j();o(0,"li",97),C("click",function(){return y(e),b(h(2).setOfferStatus("Retired"))}),o(1,"span",16),f(2," Retired "),n()()}}function u66(c,r){if(1&c){const e=j();o(0,"li",102),C("click",function(){return y(e),b(h(2).setOfferStatus("Obsolete"))}),o(1,"span",103),w(),o(2,"svg",104),v(3,"path",96),n(),f(4," Obsolete "),n()()}}function h66(c,r){if(1&c){const e=j();o(0,"li",102),C("click",function(){return y(e),b(h(2).setOfferStatus("Obsolete"))}),o(1,"span",16),f(2," Obsolete "),n()()}}function m66(c,r){1&c&&v(0,"markdown",88),2&c&&k("data",h(2).description)}function _66(c,r){1&c&&v(0,"textarea",105)}function p66(c,r){if(1&c){const e=j();o(0,"emoji-mart",106),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(2).addEmoji(t))}),n()}2&c&&(Y2(A4(3,ql)),k("darkMode",!1))}function g66(c,r){if(1&c){const e=j();o(0,"h2",21),f(1),m(2,"translate"),n(),o(3,"form",45)(4,"div")(5,"label",46),f(6),m(7,"translate"),n(),v(8,"input",47),n(),o(9,"label",48),f(10),m(11,"translate"),n(),o(12,"div",49)(13,"ol",50),R(14,o66,5,0,"li",51)(15,n66,3,0)(16,s66,5,0,"li",52)(17,l66,3,0)(18,f66,5,0,"li",53)(19,d66,3,0)(20,u66,5,0,"li",54)(21,h66,3,0),n()(),o(22,"div")(23,"label",55),f(24),m(25,"translate"),n(),v(26,"input",56),n(),o(27,"label",57),f(28),m(29,"translate"),n(),o(30,"div",58)(31,"div",59)(32,"div",60)(33,"div",61)(34,"button",62),C("click",function(){return y(e),b(h().addBold())}),w(),o(35,"svg",63),v(36,"path",64),n(),O(),o(37,"span",65),f(38,"Bold"),n()(),o(39,"button",62),C("click",function(){return y(e),b(h().addItalic())}),w(),o(40,"svg",63),v(41,"path",66),n(),O(),o(42,"span",65),f(43,"Italic"),n()(),o(44,"button",62),C("click",function(){return y(e),b(h().addList())}),w(),o(45,"svg",67),v(46,"path",68),n(),O(),o(47,"span",65),f(48,"Add list"),n()(),o(49,"button",69),C("click",function(){return y(e),b(h().addOrderedList())}),w(),o(50,"svg",67),v(51,"path",70),n(),O(),o(52,"span",65),f(53,"Add ordered list"),n()(),o(54,"button",71),C("click",function(){return y(e),b(h().addBlockquote())}),w(),o(55,"svg",72),v(56,"path",73),n(),O(),o(57,"span",65),f(58,"Add blockquote"),n()(),o(59,"button",62),C("click",function(){return y(e),b(h().addTable())}),w(),o(60,"svg",74),v(61,"path",75),n(),O(),o(62,"span",65),f(63,"Add table"),n()(),o(64,"button",71),C("click",function(){return y(e),b(h().addCode())}),w(),o(65,"svg",74),v(66,"path",76),n(),O(),o(67,"span",65),f(68,"Add code"),n()(),o(69,"button",71),C("click",function(){return y(e),b(h().addCodeBlock())}),w(),o(70,"svg",74),v(71,"path",77),n(),O(),o(72,"span",65),f(73,"Add code block"),n()(),o(74,"button",71),C("click",function(){return y(e),b(h().addLink())}),w(),o(75,"svg",74),v(76,"path",78),n(),O(),o(77,"span",65),f(78,"Add link"),n()(),o(79,"button",69),C("click",function(t){y(e);const i=h();return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(80,"svg",79),v(81,"path",80),n(),O(),o(82,"span",65),f(83,"Add emoji"),n()()()(),o(84,"button",81),C("click",function(){y(e);const t=h();return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(85,"svg",67),v(86,"path",82)(87,"path",83),n(),O(),o(88,"span",65),f(89),m(90,"translate"),n()(),o(91,"div",84),f(92),m(93,"translate"),v(94,"div",85),n()(),o(95,"div",86)(96,"label",87),f(97,"Publish post"),n(),R(98,m66,1,1,"markdown",88)(99,_66,1,0)(100,p66,1,4,"emoji-mart",89),n()()(),o(101,"div",90)(102,"button",91),C("click",function(){return y(e),b(h().toggleBundle())}),f(103),m(104,"translate"),w(),o(105,"svg",92),v(106,"path",93),n()()()}if(2&c){let e,a;const t=h();s(),H(_(2,39,"UPDATE_OFFER._general")),s(2),k("formGroup",t.generalForm),s(3),H(_(7,41,"UPDATE_OFFER._name")),s(2),k("ngClass",1==(null==(e=t.generalForm.get("name"))?null:e.invalid)&&""!=t.generalForm.value.name?"border-red-600":"border-gray-300"),s(2),H(_(11,43,"UPDATE_RES_SPEC._status")),s(4),S(14,"Active"==t.offerStatus?14:15),s(2),S(16,"Launched"==t.offerStatus?16:17),s(2),S(18,"Retired"==t.offerStatus?18:19),s(2),S(20,"Obsolete"==t.offerStatus?20:21),s(4),H(_(25,45,"UPDATE_OFFER._version")),s(2),k("ngClass",1==(null==(a=t.generalForm.get("version"))?null:a.invalid)?"border-red-600":"border-gray-300"),s(2),H(_(29,47,"UPDATE_OFFER._description")),s(6),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",t.showPreview)("ngClass",t.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(90,49,"CREATE_CATALOG._preview")),s(3),V(" ",_(93,51,"CREATE_CATALOG._show_preview")," "),s(6),S(98,t.showPreview?98:99),s(2),S(100,t.showEmoji?100:-1),s(2),k("disabled",!t.generalForm.valid)("ngClass",t.generalForm.valid?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(104,53,"UPDATE_OFFER._next")," ")}}function v66(c,r){1&c&&(o(0,"div",114),w(),o(1,"svg",115),v(2,"path",116)(3,"path",117),n(),O(),o(4,"span",65),f(5,"Loading..."),n()())}function H66(c,r){if(1&c&&(o(0,"span",126),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function C66(c,r){if(1&c&&(o(0,"span",129),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function z66(c,r){if(1&c&&(o(0,"span",130),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function V66(c,r){if(1&c&&(o(0,"span",131),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function M66(c,r){1&c&&(o(0,"span",126),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"UPDATE_OFFER._simple")))}function L66(c,r){1&c&&(o(0,"span",129),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"UPDATE_OFFER._bundle")))}function y66(c,r){if(1&c&&(o(0,"tr",123)(1,"td",124),f(2),n(),o(3,"td",125),R(4,H66,2,1,"span",126)(5,C66,2,1)(6,z66,2,1)(7,V66,2,1),n(),o(8,"td",125),R(9,M66,3,3,"span",126)(10,L66,3,3),n(),o(11,"td",125),f(12),m(13,"date"),n(),o(14,"td",127),v(15,"input",128),n()()),2&c){const e=r.$implicit,a=h(4);s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1),s(5),S(9,0==e.isBundle?9:10),s(3),V(" ",L2(13,5,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," "),s(3),k("checked",a.isProdInBundle(e))}}function b66(c,r){if(1&c&&(o(0,"div",118)(1,"table",119)(2,"thead",120)(3,"tr")(4,"th",121),f(5),m(6,"translate"),n(),o(7,"th",122),f(8),m(9,"translate"),n(),o(10,"th",122),f(11),m(12,"translate"),n(),o(13,"th",122),f(14),m(15,"translate"),n(),o(16,"th",121),f(17),m(18,"translate"),n()()(),o(19,"tbody"),c1(20,y66,16,8,"tr",123,Jt),n()()()),2&c){const e=h(3);s(5),V(" ",_(6,5,"UPDATE_OFFER._name")," "),s(3),V(" ",_(9,7,"UPDATE_OFFER._status")," "),s(3),V(" ",_(12,9,"UPDATE_OFFER._type")," "),s(3),V(" ",_(15,11,"UPDATE_OFFER._last_update")," "),s(3),V(" ",_(18,13,"UPDATE_OFFER._select")," "),s(3),a1(e.bundledOffers)}}function x66(c,r){if(1&c){const e=j();o(0,"div",132)(1,"button",133),C("click",function(){return y(e),b(h(4).nextBundle())}),f(2),m(3,"translate"),w(),o(4,"svg",134),v(5,"path",135),n()()()}2&c&&(s(2),V(" ",_(3,1,"UPDATE_OFFER._load_more")," "))}function w66(c,r){1&c&&R(0,x66,6,3,"div",132),2&c&&S(0,h(3).bundlePageCheck?0:-1)}function F66(c,r){1&c&&(o(0,"div",136),w(),o(1,"svg",115),v(2,"path",116)(3,"path",117),n(),O(),o(4,"span",65),f(5,"Loading..."),n()())}function k66(c,r){if(1&c&&R(0,v66,6,0,"div",114)(1,b66,22,15)(2,w66,1,1)(3,F66,6,0),2&c){const e=h(2);S(0,e.loadingBundle?0:1),s(2),S(2,e.loadingBundle_more?3:2)}}function S66(c,r){if(1&c){const e=j();o(0,"h2",107),f(1),m(2,"translate"),n(),o(3,"div",108)(4,"label",109),f(5),m(6,"translate"),n(),o(7,"label",110),v(8,"input",111)(9,"div",112),n()(),R(10,k66,4,2),o(11,"div",90)(12,"button",113),C("click",function(){return y(e),b(h().toggleProdSpec())}),f(13),m(14,"translate"),w(),o(15,"svg",92),v(16,"path",93),n()()()}if(2&c){const e=h();s(),H(_(2,6,"UPDATE_OFFER._bundle")),s(4),H(_(6,8,"UPDATE_OFFER._is_bundled")),s(5),S(10,e.bundleChecked?10:-1),s(2),k("disabled",e.offersBundle.length<2&&e.bundleChecked)("ngClass",e.offersBundle.length<2&&e.bundleChecked?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(14,10,"UPDATE_OFFER._next")," ")}}function N66(c,r){1&c&&(o(0,"div",138)(1,"div",139),w(),o(2,"svg",140),v(3,"path",141),n(),O(),o(4,"span",65),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"UPDATE_OFFER._no_prod_spec")," "))}function D66(c,r){1&c&&(o(0,"div",114),w(),o(1,"svg",115),v(2,"path",116)(3,"path",117),n(),O(),o(4,"span",65),f(5,"Loading..."),n()())}function T66(c,r){if(1&c&&(o(0,"span",126),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function E66(c,r){if(1&c&&(o(0,"span",129),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function A66(c,r){if(1&c&&(o(0,"span",130),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function P66(c,r){if(1&c&&(o(0,"span",131),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function R66(c,r){1&c&&(o(0,"span",126),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"OFFERINGS._simple")))}function B66(c,r){1&c&&(o(0,"span",129),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"OFFERINGS._bundle")))}function O66(c,r){if(1&c&&(o(0,"tr",143)(1,"td",124),f(2),n(),o(3,"td",127),R(4,T66,2,1,"span",126)(5,E66,2,1)(6,A66,2,1)(7,P66,2,1),n(),o(8,"td",125),R(9,R66,3,3,"span",126)(10,B66,3,3),n(),o(11,"td",125),f(12),m(13,"date"),n()()),2&c){const e=r.$implicit,a=h(4);k("ngClass",e.id==a.selectedProdSpec.id?"bg-gray-300 dark:bg-secondary-200":"bg-white dark:bg-secondary-300"),s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1),s(5),S(9,0==e.isBundle?9:10),s(3),V(" ",L2(13,5,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," ")}}function I66(c,r){if(1&c){const e=j();o(0,"div",132)(1,"button",133),C("click",function(){return y(e),b(h(5).nextProdSpec())}),f(2),m(3,"translate"),w(),o(4,"svg",134),v(5,"path",135),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_PROD_SPEC._load_more")," "))}function U66(c,r){1&c&&R(0,I66,6,3,"div",132),2&c&&S(0,h(4).prodSpecPageCheck?0:-1)}function j66(c,r){1&c&&(o(0,"div",136),w(),o(1,"svg",115),v(2,"path",116)(3,"path",117),n(),O(),o(4,"span",65),f(5,"Loading..."),n()())}function $66(c,r){if(1&c&&(o(0,"div",142)(1,"table",119)(2,"thead",120)(3,"tr")(4,"th",121),f(5),m(6,"translate"),n(),o(7,"th",121),f(8),m(9,"translate"),n(),o(10,"th",122),f(11),m(12,"translate"),n(),o(13,"th",122),f(14),m(15,"translate"),n()()(),o(16,"tbody"),c1(17,O66,14,8,"tr",143,z1),n()()(),R(19,U66,1,1)(20,j66,6,0)),2&c){const e=h(3);s(5),V(" ",_(6,5,"OFFERINGS._name")," "),s(3),V(" ",_(9,7,"OFFERINGS._status")," "),s(3),V(" ",_(12,9,"OFFERINGS._type")," "),s(3),V(" ",_(15,11,"OFFERINGS._last_update")," "),s(3),a1(e.prodSpecs),s(2),S(19,e.loadingProdSpec_more?20:19)}}function Y66(c,r){1&c&&R(0,D66,6,0,"div",114)(1,$66,21,13),2&c&&S(0,h(2).loadingProdSpec?0:1)}function G66(c,r){if(1&c){const e=j();o(0,"h2",21),f(1),m(2,"translate"),n(),o(3,"div",137),R(4,N66,9,3,"div",138)(5,Y66,2,1),o(6,"div",90)(7,"button",113),C("click",function(){return y(e),b(h().toggleCategories())}),f(8),m(9,"translate"),w(),o(10,"svg",92),v(11,"path",93),n()()()()}if(2&c){const e=h();s(),H(_(2,5,"OFFERINGS._prod_spec")),s(3),S(4,e.bundleChecked?4:5),s(3),k("disabled",""==e.selectedProdSpec.id&&!e.bundleChecked)("ngClass",""!=e.selectedProdSpec.id||e.bundleChecked?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(9,7,"UPDATE_OFFER._next")," ")}}function q66(c,r){1&c&&(o(0,"div",114),w(),o(1,"svg",115),v(2,"path",116)(3,"path",117),n(),O(),o(4,"span",65),f(5,"Loading..."),n()())}function W66(c,r){if(1&c&&(o(0,"span",147),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function Z66(c,r){if(1&c&&(o(0,"span",148),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function K66(c,r){if(1&c&&(o(0,"span",149),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function Q66(c,r){if(1&c&&(o(0,"span",150),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function J66(c,r){if(1&c){const e=j();o(0,"tr",146),C("click",function(){const t=y(e).$implicit;return b(h(3).selectCatalog(t))}),o(1,"td",124),f(2),n(),o(3,"td",127),R(4,W66,2,1,"span",147)(5,Z66,2,1)(6,K66,2,1)(7,Q66,2,1),n(),o(8,"td",125),f(9),n()()}if(2&c){let e;const a=r.$implicit,t=h(3);k("ngClass",a.id==t.selectedCatalog.id?"bg-gray-300 dark:bg-secondary-200":"bg-white dark:bg-secondary-300"),s(2),V(" ",a.name," "),s(2),S(4,"Active"==a.lifecycleStatus?4:"Launched"==a.lifecycleStatus?5:"suspended"==a.lifecycleStatus?6:"terminated"==a.lifecycleStatus?7:-1),s(5),V(" ",null==a.relatedParty||null==(e=a.relatedParty.at(0))?null:e.role," ")}}function X66(c,r){if(1&c){const e=j();o(0,"div",132)(1,"button",133),C("click",function(){return y(e),b(h(4).nextCatalog())}),f(2),m(3,"translate"),w(),o(4,"svg",134),v(5,"path",135),n()()()}2&c&&(s(2),V(" ",_(3,1,"CREATE_PROD_SPEC._load_more")," "))}function e06(c,r){1&c&&R(0,X66,6,3,"div",132),2&c&&S(0,h(3).catalogPageCheck?0:-1)}function c06(c,r){1&c&&(o(0,"div",136),w(),o(1,"svg",115),v(2,"path",116)(3,"path",117),n(),O(),o(4,"span",65),f(5,"Loading..."),n()())}function a06(c,r){if(1&c&&(o(0,"div",145)(1,"table",119)(2,"thead",120)(3,"tr")(4,"th",121),f(5),m(6,"translate"),n(),o(7,"th",121),f(8),m(9,"translate"),n(),o(10,"th",122),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,J66,10,4,"tr",143,z1),n()()(),R(16,e06,1,1)(17,c06,6,0)),2&c){const e=h(2);s(5),V(" ",_(6,4,"OFFERINGS._name")," "),s(3),V(" ",_(9,6,"OFFERINGS._status")," "),s(3),V(" ",_(12,8,"OFFERINGS._role")," "),s(3),a1(e.catalogs),s(2),S(16,e.loadingCatalog_more?17:16)}}function r06(c,r){if(1&c){const e=j();o(0,"h2",107),f(1),m(2,"translate"),n(),o(3,"div",137),R(4,q66,6,0,"div",114)(5,a06,18,10),o(6,"div",144)(7,"button",113),C("click",function(){return y(e),b(h().toggleCategories())}),f(8),m(9,"translate"),w(),o(10,"svg",92),v(11,"path",93),n()()()()}if(2&c){const e=h();s(),H(_(2,5,"UPDATE_OFFER._catalog")),s(3),S(4,e.loadingCatalog?4:5),s(3),k("disabled",""==e.selectedCatalog.id)("ngClass",""==e.selectedCatalog.id?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(9,7,"UPDATE_OFFER._next")," ")}}function t06(c,r){1&c&&(o(0,"div",114),w(),o(1,"svg",115),v(2,"path",116)(3,"path",117),n(),O(),o(4,"span",65),f(5,"Loading..."),n()())}function i06(c,r){1&c&&(o(0,"div",138)(1,"div",139),w(),o(2,"svg",140),v(3,"path",141),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_categories")," "))}function o06(c,r){if(1&c&&(o(0,"tr",163)(1,"td",164),v(2,"categories-recursion",165),n()()),2&c){const e=r.$implicit,a=h(2).$implicit,t=h(4);s(2),k("child",e)("parent",a)("selected",t.selectedCategories)("path",a.name)}}function n06(c,r){1&c&&c1(0,o06,3,4,"tr",163,z1),2&c&&a1(h().$implicit.children)}function s06(c,r){if(1&c){const e=j();o(0,"tr",158)(1,"td",159)(2,"b"),f(3),n()(),o(4,"td",160),f(5),m(6,"date"),n(),o(7,"td",161)(8,"input",162),C("click",function(){const t=y(e).$implicit;return b(h(4).addCategory(t))}),n()()(),R(9,n06,2,0)}if(2&c){const e=r.$implicit,a=h(4);s(3),H(e.name),s(2),V(" ",L2(6,4,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," "),s(3),k("checked",a.isCategorySelected(e)),s(),S(9,e.children.length>0?9:-1)}}function l06(c,r){1&c&&(o(0,"div",138)(1,"div",139),w(),o(2,"svg",140),v(3,"path",141),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"UPDATE_OFFER._no_cats")," "))}function f06(c,r){if(1&c&&(o(0,"div",153)(1,"table",119)(2,"thead",120)(3,"tr",154)(4,"th",155),f(5),m(6,"translate"),n(),o(7,"th",156),f(8),m(9,"translate"),n(),o(10,"th",157),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,s06,10,7,null,null,Jt,!1,l06,7,3,"div",138),n()()()),2&c){const e=h(3);s(5),V(" ",_(6,4,"UPDATE_OFFER._name")," "),s(3),V(" ",_(9,6,"UPDATE_OFFER._last_update")," "),s(3),V(" ",_(12,8,"UPDATE_OFFER._select")," "),s(3),a1(e.categories)}}function d06(c,r){1&c&&R(0,i06,7,3,"div",138)(1,f06,17,10),2&c&&S(0,0==h(2).categories.length?0:1)}function u06(c,r){if(1&c){const e=j();o(0,"h2",107),f(1),m(2,"translate"),n(),o(3,"div",137),R(4,t06,6,0,"div",114)(5,d06,2,1),o(6,"div",151)(7,"button",152),C("click",function(){return y(e),b(h().toggleLicense())}),f(8),m(9,"translate"),w(),o(10,"svg",92),v(11,"path",93),n()()()()}if(2&c){const e=h();s(),H(_(2,3,"UPDATE_OFFER._category")),s(3),S(4,e.loadingCategory?4:5),s(4),V(" ",_(9,5,"UPDATE_OFFER._next")," ")}}function h06(c,r){1&c&&v(0,"markdown",172),2&c&&k("data",h(3).licenseDescription)}function m06(c,r){1&c&&v(0,"textarea",105)}function _06(c,r){if(1&c){const e=j();o(0,"emoji-mart",106),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(3).addEmoji(t))}),n()}2&c&&(Y2(A4(3,ql)),k("darkMode",!1))}function p06(c,r){if(1&c){const e=j();o(0,"div",166)(1,"form",167)(2,"label",168),f(3),m(4,"translate"),n(),v(5,"input",169),o(6,"label",170),f(7),m(8,"translate"),n(),o(9,"div",171)(10,"div",59)(11,"div",60)(12,"div",61)(13,"button",62),C("click",function(){return y(e),b(h(2).addBold())}),w(),o(14,"svg",63),v(15,"path",64),n(),O(),o(16,"span",65),f(17,"Bold"),n()(),o(18,"button",62),C("click",function(){return y(e),b(h(2).addItalic())}),w(),o(19,"svg",63),v(20,"path",66),n(),O(),o(21,"span",65),f(22,"Italic"),n()(),o(23,"button",62),C("click",function(){return y(e),b(h(2).addList())}),w(),o(24,"svg",67),v(25,"path",68),n(),O(),o(26,"span",65),f(27,"Add list"),n()(),o(28,"button",69),C("click",function(){return y(e),b(h(2).addOrderedList())}),w(),o(29,"svg",67),v(30,"path",70),n(),O(),o(31,"span",65),f(32,"Add ordered list"),n()(),o(33,"button",71),C("click",function(){return y(e),b(h(2).addBlockquote())}),w(),o(34,"svg",72),v(35,"path",73),n(),O(),o(36,"span",65),f(37,"Add blockquote"),n()(),o(38,"button",62),C("click",function(){return y(e),b(h(2).addTable())}),w(),o(39,"svg",74),v(40,"path",75),n(),O(),o(41,"span",65),f(42,"Add table"),n()(),o(43,"button",71),C("click",function(){return y(e),b(h(2).addCode())}),w(),o(44,"svg",74),v(45,"path",76),n(),O(),o(46,"span",65),f(47,"Add code"),n()(),o(48,"button",71),C("click",function(){return y(e),b(h(2).addCodeBlock())}),w(),o(49,"svg",74),v(50,"path",77),n(),O(),o(51,"span",65),f(52,"Add code block"),n()(),o(53,"button",71),C("click",function(){return y(e),b(h(2).addLink())}),w(),o(54,"svg",74),v(55,"path",78),n(),O(),o(56,"span",65),f(57,"Add link"),n()(),o(58,"button",69),C("click",function(t){y(e);const i=h(2);return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(59,"svg",79),v(60,"path",80),n(),O(),o(61,"span",65),f(62,"Add emoji"),n()()()(),o(63,"button",81),C("click",function(){y(e);const t=h(2);return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(64,"svg",67),v(65,"path",82)(66,"path",83),n(),O(),o(67,"span",65),f(68),m(69,"translate"),n()(),o(70,"div",84),f(71),m(72,"translate"),v(73,"div",85),n()(),o(74,"div",86)(75,"label",87),f(76,"Publish post"),n(),R(77,h06,1,1,"markdown",172)(78,m06,1,0)(79,_06,1,4,"emoji-mart",89),n()()(),o(80,"div",173)(81,"button",174),C("click",function(){return y(e),b(h(2).clearLicense())}),f(82),m(83,"translate"),n()()()}if(2&c){let e;const a=h(2);s(),k("formGroup",a.licenseForm),s(2),H(_(4,29,"UPDATE_OFFER._treatment")),s(2),k("ngClass",1==(null==(e=a.licenseForm.get("treatment"))?null:e.invalid)&&""!=a.licenseForm.value.treatment?"border-red-600":"border-gray-300"),s(2),H(_(8,31,"UPDATE_OFFER._description")),s(6),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(69,33,"CREATE_CATALOG._preview")),s(3),V(" ",_(72,35,"CREATE_CATALOG._show_preview")," "),s(6),S(77,a.showPreview?77:78),s(2),S(79,a.showEmoji?79:-1),s(3),V(" ",_(83,37,"UPDATE_OFFER._cancel")," ")}}function g06(c,r){if(1&c){const e=j();o(0,"div",175)(1,"button",174),C("click",function(){y(e);const t=h(2);return b(t.freeLicenseSelected=!t.freeLicenseSelected)}),f(2),m(3,"translate"),w(),o(4,"svg",176),v(5,"path",135),n()()()}2&c&&(s(2),V(" ",_(3,1,"UPDATE_OFFER._create_license")," "))}function v06(c,r){if(1&c){const e=j();o(0,"h2",107),f(1),m(2,"translate"),n(),o(3,"div",137),R(4,p06,84,39,"div",166)(5,g06,6,3),o(6,"div",144)(7,"button",113),C("click",function(){return y(e),b(h().togglePrice())}),f(8),m(9,"translate"),w(),o(10,"svg",92),v(11,"path",93),n()()()()}if(2&c){const e=h();s(),H(_(2,5,"UPDATE_OFFER._license")),s(3),S(4,e.freeLicenseSelected?5:4),s(3),k("disabled",!e.licenseForm.valid&&!e.freeLicenseSelected)("ngClass",e.licenseForm.valid||e.freeLicenseSelected?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(9,7,"UPDATE_OFFER._next")," ")}}function H06(c,r){1&c&&(o(0,"div",138)(1,"div",139),w(),o(2,"svg",140),v(3,"path",141),n(),O(),o(4,"span",65),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"UPDATE_OFFER._no_sla")," "))}function C06(c,r){if(1&c){const e=j();o(0,"tr",123)(1,"td",127),f(2),n(),o(3,"td",124),f(4),n(),o(5,"td",127),f(6),n(),o(7,"td",127),f(8),n(),o(9,"td",127)(10,"button",177),C("click",function(){const t=y(e).$implicit;return b(h(3).removeSLA(t))}),w(),o(11,"svg",178),v(12,"path",179),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.type," "),s(2),V(" ",e.description," "),s(2),V(" ",e.threshold," "),s(2),V(" ",e.unitMeasure," ")}}function z06(c,r){if(1&c&&(o(0,"div",118)(1,"table",119)(2,"thead",120)(3,"tr")(4,"th",121),f(5),m(6,"translate"),n(),o(7,"th",121),f(8),m(9,"translate"),n(),o(10,"th",121),f(11),m(12,"translate"),n(),o(13,"th",121),f(14),m(15,"translate"),n(),o(16,"th",121),f(17),m(18,"translate"),n()()(),o(19,"tbody"),c1(20,C06,13,4,"tr",123,z1),n()()()),2&c){const e=h(2);s(5),V(" ",_(6,5,"UPDATE_OFFER._name")," "),s(3),V(" ",_(9,7,"UPDATE_OFFER._description")," "),s(3),V(" ",_(12,9,"UPDATE_OFFER._threshold")," "),s(3),V(" ",_(15,11,"UPDATE_OFFER._unit")," "),s(3),V(" ",_(18,13,"UPDATE_OFFER._actions")," "),s(3),a1(e.createdSLAs)}}function V06(c,r){if(1&c){const e=j();o(0,"div",175)(1,"button",174),C("click",function(){return y(e),b(h(2).showCreateSLAMetric())}),f(2),m(3,"translate"),w(),o(4,"svg",176),v(5,"path",135),n()()()}2&c&&(s(2),V(" ",_(3,1,"UPDATE_OFFER._new_metric")," "))}function M06(c,r){if(1&c&&(o(0,"option",181),f(1),n()),2&c){const e=r.$implicit;E1("value",e),s(),H(e)}}function L06(c,r){if(1&c){const e=j();o(0,"div",182)(1,"div",184),v(2,"input",185,0),o(4,"select",186),C("change",function(t){return y(e),b(h(3).onSLAMetricChange(t))}),o(5,"option",187),f(6,"Day"),n(),o(7,"option",188),f(8,"Week"),n(),o(9,"option",189),f(10,"Month"),n()()()()}}function y06(c,r){if(1&c){const e=j();o(0,"div",182)(1,"div",184),v(2,"input",185,1),o(4,"select",186),C("change",function(t){return y(e),b(h(3).onSLAMetricChange(t))}),o(5,"option",190),f(6,"Ms"),n(),o(7,"option",191),f(8,"S"),n(),o(9,"option",192),f(10,"Min"),n()()()()}}function b06(c,r){if(1&c){const e=j();o(0,"div",182)(1,"div",184),v(2,"input",185,2),o(4,"select",186),C("change",function(t){return y(e),b(h(3).onSLAMetricChange(t))}),o(5,"option",190),f(6,"Ms"),n(),o(7,"option",191),f(8,"S"),n(),o(9,"option",192),f(10,"Min"),n()()()()}}function x06(c,r){if(1&c){const e=j();o(0,"select",180),C("change",function(t){return y(e),b(h(2).onSLAChange(t))}),c1(1,M06,2,2,"option",181,z1),n(),R(3,L06,11,0,"div",182)(4,y06,11,0,"div",182)(5,b06,11,0,"div",182),o(6,"div",175)(7,"button",174),C("click",function(){return y(e),b(h(2).addSLA())}),f(8),m(9,"translate"),w(),o(10,"svg",176),v(11,"path",183),n()()()}if(2&c){const e=h(2);s(),a1(e.availableSLAs),s(2),S(3,e.updatesSelected?3:-1),s(),S(4,e.responseSelected?4:-1),s(),S(5,e.delaySelected?5:-1),s(3),V(" ",_(9,4,"UPDATE_OFFER._add_metric")," ")}}function w06(c,r){if(1&c){const e=j();o(0,"h2",107),f(1),m(2,"translate"),n(),R(3,H06,9,3,"div",138)(4,z06,22,15)(5,V06,6,3,"div",175)(6,x06,12,6),o(7,"div",144)(8,"button",152),C("click",function(){return y(e),b(h().togglePrice())}),f(9),m(10,"translate"),w(),o(11,"svg",92),v(12,"path",93),n()()()}if(2&c){const e=h();s(),H(_(2,5,"UPDATE_OFFER._sla")),s(2),S(3,0===e.createdSLAs.length?3:4),s(2),S(5,0!=e.availableSLAs.length?5:-1),s(),S(6,e.showCreateSLA?6:-1),s(3),V(" ",_(10,7,"UPDATE_OFFER._next")," ")}}function F06(c,r){1&c&&(o(0,"div",138)(1,"div",139),w(),o(2,"svg",140),v(3,"path",141),n(),O(),o(4,"span",65),f(5,"Info"),n(),o(6,"div"),f(7),m(8,"translate"),n()()()),2&c&&(s(7),V(" ",_(8,1,"UPDATE_OFFER._no_prices")," "))}function k06(c,r){if(1&c){const e=j();o(0,"tr",123)(1,"td",194),f(2),n(),o(3,"td",195),f(4),n(),o(5,"td",125),f(6),n(),o(7,"td",127),f(8),n(),o(9,"td",125),f(10),n(),o(11,"td",196)(12,"button",177),C("click",function(){const t=y(e).$implicit;return b(h(3).removePrice(t))}),w(),o(13,"svg",178),v(14,"path",179),n()(),O(),o(15,"button",197),C("click",function(t){const i=y(e).$implicit;return h(3).showUpdatePrice(i),b(t.stopPropagation())}),w(),o(16,"svg",198),v(17,"path",199),n()()()()}if(2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),V(" ",e.priceType," "),s(2),V(" ",null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.value," "),s(2),V(" ",null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.unit," ")}}function S06(c,r){if(1&c&&(o(0,"div",118)(1,"table",119)(2,"thead",120)(3,"tr")(4,"th",121),f(5),m(6,"translate"),n(),o(7,"th",193),f(8),m(9,"translate"),n(),o(10,"th",122),f(11),m(12,"translate"),n(),o(13,"th",121),f(14),m(15,"translate"),n(),o(16,"th",122),f(17),m(18,"translate"),n(),o(19,"th",121),f(20),m(21,"translate"),n()()(),o(22,"tbody"),c1(23,k06,18,5,"tr",123,Jt),n()()()),2&c){const e=h(2);s(5),V(" ",_(6,6,"UPDATE_OFFER._name")," "),s(3),V(" ",_(9,8,"UPDATE_OFFER._description")," "),s(3),V(" ",_(12,10,"UPDATE_OFFER._type")," "),s(3),V(" ",_(15,12,"UPDATE_OFFER._price")," "),s(3),V(" ",_(18,14,"UPDATE_OFFER._unit")," "),s(3),V(" ",_(21,16,"UPDATE_OFFER._actions")," "),s(3),a1(e.createdPrices)}}function N06(c,r){if(1&c){const e=j();o(0,"div",175)(1,"button",174),C("click",function(){return y(e),b(h(2).showNewPrice())}),f(2),m(3,"translate"),w(),o(4,"svg",176),v(5,"path",135),n()()()}2&c&&(s(2),V(" ",_(3,1,"UPDATE_OFFER._new_price")," "))}function D06(c,r){1&c&&(o(0,"p",204),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"UPDATE_OFFER._duplicated_price_name")))}function T06(c,r){if(1&c&&(o(0,"option",181),f(1),n()),2&c){const e=r.$implicit;E1("value",e.code),s(),j1("(",e.code,") ",e.name,"")}}function E06(c,r){if(1&c){const e=j();o(0,"label",202),f(1),m(2,"translate"),n(),o(3,"div",210),v(4,"input",211),o(5,"select",212),C("change",function(t){return y(e),b(h(3).onPriceUnitChange(t))}),c1(6,T06,2,3,"option",181,sm1),n()()}if(2&c){let e;const a=h(3);s(),H(_(2,2,"UPDATE_OFFER._price")),s(3),k("ngClass",1==(null==(e=a.priceForm.get("price"))?null:e.invalid)&&""!=a.priceForm.value.price?"border-red-600":"border-gray-300 dark:border-secondary-200"),s(2),a1(a.currencies)}}function A06(c,r){1&c&&(o(0,"option",206),f(1,"CUSTOM"),n())}function P06(c,r){1&c&&(o(0,"option",213),f(1,"ONE TIME"),n(),o(2,"option",214),f(3,"RECURRING"),n(),o(4,"option",215),f(5,"USAGE"),n())}function R06(c,r){if(1&c){const e=j();o(0,"label",202),f(1),m(2,"translate"),n(),o(3,"select",216),C("change",function(t){return y(e),b(h(3).onPricePeriodChange(t))}),o(4,"option",217),f(5,"DAILY"),n(),o(6,"option",218),f(7,"WEEKLY"),n(),o(8,"option",219),f(9,"MONTHLY"),n(),o(10,"option",220),f(11,"QUARTERLY"),n(),o(12,"option",221),f(13,"YEARLY"),n(),o(14,"option",222),f(15,"QUINQUENNIAL"),n()()}2&c&&(s(),H(_(2,1,"UPDATE_OFFER._choose_period")))}function B06(c,r){if(1&c){const e=j();o(0,"label",202),f(1),m(2,"translate"),n(),o(3,"input",223,3),C("change",function(){return y(e),b(h(3).checkValidPrice())}),n()}2&c&&(s(),H(_(2,1,"UPDATE_OFFER._unit")))}function O06(c,r){1&c&&v(0,"textarea",208)}function I06(c,r){1&c&&v(0,"markdown",172),2&c&&k("data",h(4).priceDescription)}function U06(c,r){1&c&&v(0,"textarea",225)}function j06(c,r){if(1&c){const e=j();o(0,"emoji-mart",106),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(4).addEmoji(t))}),n()}2&c&&(Y2(A4(3,ql)),k("darkMode",!1))}function $06(c,r){if(1&c){const e=j();o(0,"div",224)(1,"div",59)(2,"div",60)(3,"div",61)(4,"button",62),C("click",function(){return y(e),b(h(3).addBold())}),w(),o(5,"svg",63),v(6,"path",64),n(),O(),o(7,"span",65),f(8,"Bold"),n()(),o(9,"button",62),C("click",function(){return y(e),b(h(3).addItalic())}),w(),o(10,"svg",63),v(11,"path",66),n(),O(),o(12,"span",65),f(13,"Italic"),n()(),o(14,"button",62),C("click",function(){return y(e),b(h(3).addList())}),w(),o(15,"svg",67),v(16,"path",68),n(),O(),o(17,"span",65),f(18,"Add list"),n()(),o(19,"button",62),C("click",function(){return y(e),b(h(3).addOrderedList())}),w(),o(20,"svg",67),v(21,"path",70),n(),O(),o(22,"span",65),f(23,"Add ordered list"),n()(),o(24,"button",62),C("click",function(){return y(e),b(h(3).addBlockquote())}),w(),o(25,"svg",72),v(26,"path",73),n(),O(),o(27,"span",65),f(28,"Add blockquote"),n()(),o(29,"button",62),C("click",function(){return y(e),b(h(3).addTable())}),w(),o(30,"svg",74),v(31,"path",75),n(),O(),o(32,"span",65),f(33,"Add table"),n()(),o(34,"button",62),C("click",function(){return y(e),b(h(3).addCode())}),w(),o(35,"svg",74),v(36,"path",76),n(),O(),o(37,"span",65),f(38,"Add code"),n()(),o(39,"button",62),C("click",function(){return y(e),b(h(3).addCodeBlock())}),w(),o(40,"svg",74),v(41,"path",77),n(),O(),o(42,"span",65),f(43,"Add code block"),n()(),o(44,"button",62),C("click",function(){return y(e),b(h(3).addLink())}),w(),o(45,"svg",74),v(46,"path",78),n(),O(),o(47,"span",65),f(48,"Add link"),n()(),o(49,"button",62),C("click",function(t){y(e);const i=h(3);return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(50,"svg",79),v(51,"path",80),n(),O(),o(52,"span",65),f(53,"Add emoji"),n()()()(),o(54,"button",81),C("click",function(){y(e);const t=h(3);return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(55,"svg",67),v(56,"path",82)(57,"path",83),n(),O(),o(58,"span",65),f(59),m(60,"translate"),n()(),o(61,"div",84),f(62),m(63,"translate"),v(64,"div",85),n()(),o(65,"div",86)(66,"label",87),f(67,"Publish post"),n(),R(68,I06,1,1,"markdown",172)(69,U06,1,0)(70,j06,1,4,"emoji-mart",89),n()()}if(2&c){const e=h(3);s(4),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(60,24,"CREATE_CATALOG._preview")),s(3),V(" ",_(63,26,"CREATE_CATALOG._show_preview")," "),s(6),S(68,e.showPreview?68:69),s(2),S(70,e.showEmoji?70:-1)}}function Y06(c,r){if(1&c){const e=j();o(0,"label",202),f(1),m(2,"translate"),n(),o(3,"select",233),C("change",function(t){return y(e),b(h(5).onPricePeriodAlterChange(t))}),o(4,"option",217),f(5,"DAILY"),n(),o(6,"option",218),f(7,"WEEKLY"),n(),o(8,"option",219),f(9,"MONTHLY"),n(),o(10,"option",220),f(11,"QUARTERLY"),n(),o(12,"option",221),f(13,"YEARLY"),n(),o(14,"option",222),f(15,"QUINQUENNIAL"),n()()}2&c&&(s(),H(_(2,1,"UPDATE_OFFER._choose_period")))}function G06(c,r){1&c&&(o(0,"label",202),f(1),m(2,"translate"),n(),v(3,"input",234,4)),2&c&&(s(),H(_(2,1,"UPDATE_OFFER._unit")))}function q06(c,r){if(1&c){const e=j();o(0,"div",230)(1,"label",48),f(2),m(3,"translate"),n(),o(4,"select",231),C("change",function(t){return y(e),b(h(4).onPriceTypeAlterSelected(t))}),o(5,"option",213),f(6,"ONE TIME"),n(),o(7,"option",214),f(8,"RECURRING"),n(),o(9,"option",215),f(10,"USAGE"),n()(),o(11,"div")(12,"label",202),f(13),m(14,"translate"),n(),v(15,"input",232),n(),o(16,"div"),R(17,Y06,16,3)(18,G06,5,3),n(),o(19,"label",207),f(20),m(21,"translate"),n(),v(22,"textarea",208),n()}if(2&c){let e;const a=h(4);s(2),H(_(3,6,"UPDATE_OFFER._choose_type")),s(11),H(_(14,8,"UPDATE_OFFER._price_alter")),s(2),k("ngClass",1==(null==(e=a.priceAlterForm.get("price"))?null:e.invalid)&&""!=a.priceAlterForm.value.price?"border-red-600":"border-gray-300"),s(2),S(17,"RECURRING"==a.priceTypeAlter?17:-1),s(),S(18,"USAGE"==a.priceTypeAlter?18:-1),s(2),H(_(21,10,"UPDATE_OFFER._description"))}}function W06(c,r){if(1&c&&(o(0,"div",235)(1,"div")(2,"label",202),f(3),m(4,"translate"),n(),o(5,"select",236,5)(7,"option",229),f(8,"Discount"),n(),o(9,"option",237),f(10,"Fee"),n()()(),o(11,"div")(12,"label",202),f(13),m(14,"translate"),n(),o(15,"div",210),v(16,"input",238),o(17,"select",239)(18,"option",240),f(19,"%"),n(),o(20,"option",241),f(21,"(AUD) Australia Dollar"),n()()()(),o(22,"div",242)(23,"label",202),f(24),m(25,"translate"),n(),o(26,"div",210)(27,"select",243)(28,"option",244),f(29,"(EQ) Equal"),n(),o(30,"option",245),f(31,"(LT) Less than"),n(),o(32,"option",246),f(33,"(LE) Less than or equal"),n(),o(34,"option",247),f(35,"(GT) Greater than"),n(),o(36,"option",247),f(37,"(GE) Greater than or equal"),n()(),v(38,"input",248),n(),o(39,"label",207),f(40),m(41,"translate"),n(),v(42,"textarea",208),n()()),2&c){let e,a;const t=h(4);s(3),H(_(4,6,"UPDATE_OFFER._choose_type")),s(10),H(_(14,8,"UPDATE_OFFER._enter_value")),s(3),k("ngClass",1==(null==(e=t.priceAlterForm.get("price"))?null:e.invalid)&&""!=t.priceAlterForm.value.price?"border-red-600":"border-gray-300"),s(8),H(_(25,10,"UPDATE_OFFER._add_condition")),s(14),k("ngClass",1==(null==(a=t.priceAlterForm.get("condition"))?null:a.invalid)&&""!=t.priceAlterForm.value.condition?"border-red-600":"border-gray-300"),s(2),H(_(41,12,"UPDATE_OFFER._description"))}}function Z06(c,r){if(1&c){const e=j();o(0,"form",167)(1,"div",137)(2,"label",202),f(3),m(4,"translate"),n(),o(5,"select",226),C("change",function(t){return y(e),b(h(3).onPriceAlterSelected(t))}),o(6,"option",227),f(7,"None"),n(),o(8,"option",228),f(9,"Price component"),n(),o(10,"option",229),f(11,"Discount or fee"),n()()(),R(12,q06,23,12,"div",230)(13,W06,43,14),n()}if(2&c){const e=h(3);k("formGroup",e.priceAlterForm),s(3),H(_(4,3,"UPDATE_OFFER._price_alter")),s(9),S(12,e.priceComponentSelected?12:e.discountSelected?13:-1)}}function K06(c,r){if(1&c){const e=j();o(0,"label",200),f(1),m(2,"translate"),n(),v(3,"hr",22),o(4,"form",201),C("change",function(){return y(e),b(h(2).checkValidPrice())}),o(5,"div")(6,"label",202),f(7),m(8,"translate"),n(),o(9,"input",203),C("change",function(){return y(e),b(h(2).checkValidPrice())}),n(),R(10,D06,3,3,"p",204)(11,E06,8,4),n(),o(12,"div")(13,"label",202),f(14),m(15,"translate"),n(),o(16,"select",205),C("change",function(t){return y(e),b(h(2).onPriceTypeSelected(t))}),R(17,A06,2,0,"option",206)(18,P06,6,0),n(),R(19,R06,16,3)(20,B06,5,3),n(),o(21,"label",207),f(22),m(23,"translate"),n(),R(24,O06,1,0,"textarea",208)(25,$06,71,28),n(),R(26,Z06,14,5,"form",167),o(27,"div",175)(28,"button",209),C("click",function(){return y(e),b(h(2).savePrice())}),f(29),m(30,"translate"),w(),o(31,"svg",176),v(32,"path",183),n()()()}if(2&c){const e=h(2);s(),H(_(2,16,"UPDATE_OFFER._new_price")),s(3),k("formGroup",e.priceForm),s(3),H(_(8,18,"UPDATE_OFFER._name")),s(2),k("ngClass",null!=e.priceForm.controls.name.errors&&e.priceForm.controls.name.errors.invalidName?"border-red-600":"border-gray-300 dark:border-secondary-200 mb-2"),s(),S(10,null!=e.priceForm.controls.name.errors&&e.priceForm.controls.name.errors.invalidName?10:-1),s(),S(11,e.customSelected?-1:11),s(3),H(_(15,20,"UPDATE_OFFER._choose_type")),s(3),S(17,e.allowCustom?17:-1),s(),S(18,e.allowOthers?18:-1),s(),S(19,e.recurringSelected?19:e.usageSelected?20:-1),s(3),H(_(23,22,"UPDATE_OFFER._description")),s(2),S(24,e.customSelected?25:24),s(2),S(26,e.customSelected?-1:26),s(2),k("disabled",e.validPriceCheck)("ngClass",e.validPriceCheck?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(30,24,"UPDATE_OFFER._save_price")," ")}}function Q06(c,r){if(1&c){const e=j();o(0,"h2",107),f(1),m(2,"translate"),n(),R(3,F06,9,3,"div",138)(4,S06,25,18)(5,N06,6,3,"div",175)(6,K06,33,26),o(7,"div",144)(8,"button",152),C("click",function(){return y(e),b(h().showFinish())}),f(9),m(10,"translate"),w(),o(11,"svg",92),v(12,"path",93),n()()()}if(2&c){const e=h();s(),H(_(2,4,"UPDATE_OFFER._price_plans")),s(2),S(3,0==e.createdPrices.length?3:4),s(2),S(5,e.showCreatePrice?6:5),s(4),V(" ",_(10,6,"UPDATE_OFFER._next")," ")}}function J06(c,r){if(1&c&&(o(0,"span",126),f(1),n()),2&c){const e=h(2);s(),H(null==e.offerToUpdate?null:e.offerToUpdate.lifecycleStatus)}}function X06(c,r){if(1&c&&(o(0,"span",129),f(1),n()),2&c){const e=h(2);s(),H(null==e.offerToUpdate?null:e.offerToUpdate.lifecycleStatus)}}function ee6(c,r){if(1&c&&(o(0,"span",130),f(1),n()),2&c){const e=h(2);s(),H(null==e.offerToUpdate?null:e.offerToUpdate.lifecycleStatus)}}function ce6(c,r){if(1&c&&(o(0,"span",131),f(1),n()),2&c){const e=h(2);s(),H(null==e.offerToUpdate?null:e.offerToUpdate.lifecycleStatus)}}function ae6(c,r){if(1&c&&(o(0,"label",202),f(1),m(2,"translate"),n(),o(3,"div",255),v(4,"markdown",172),n()),2&c){const e=h(2);s(),H(_(2,2,"UPDATE_OFFER._description")),s(3),k("data",null==e.offerToUpdate?null:e.offerToUpdate.description)}}function re6(c,r){if(1&c&&(o(0,"span",126),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function te6(c,r){if(1&c&&(o(0,"span",129),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function ie6(c,r){if(1&c&&(o(0,"span",130),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function oe6(c,r){if(1&c&&(o(0,"span",131),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function ne6(c,r){if(1&c&&(o(0,"tr",123)(1,"td",124),f(2),n(),o(3,"td",127),R(4,re6,2,1,"span",126)(5,te6,2,1)(6,ie6,2,1)(7,oe6,2,1),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),S(4,"Active"==e.lifecycleStatus?4:"Launched"==e.lifecycleStatus?5:"Retired"==e.lifecycleStatus?6:"Obsolete"==e.lifecycleStatus?7:-1)}}function se6(c,r){if(1&c&&(o(0,"label",202),f(1),m(2,"translate"),n(),o(3,"div",256)(4,"table",119)(5,"thead",120)(6,"tr")(7,"th",121),f(8),m(9,"translate"),n(),o(10,"th",121),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,ne6,8,2,"tr",123,z1),n()()()),2&c){const e=h(2);s(),H(_(2,3,"UPDATE_OFFER._bundle")),s(7),V(" ",_(9,5,"UPDATE_OFFER._name")," "),s(3),V(" ",_(12,7,"UPDATE_OFFER._status")," "),s(3),a1(e.offersBundle)}}function le6(c,r){if(1&c&&(o(0,"tr",123)(1,"td",124),f(2),n(),o(3,"td",125),f(4),m(5,"date"),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",L2(5,2,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," ")}}function fe6(c,r){if(1&c&&(o(0,"h2",202),f(1),m(2,"translate"),n(),o(3,"div",256)(4,"table",119)(5,"thead",120)(6,"tr")(7,"th",121),f(8),m(9,"translate"),n(),o(10,"th",122),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,le6,6,5,"tr",123,Jt),n()()()),2&c){const e=h(2);s(),H(_(2,3,"UPDATE_OFFER._category")),s(7),V(" ",_(9,5,"UPDATE_OFFER._name")," "),s(3),V(" ",_(12,7,"UPDATE_OFFER._last_update")," "),s(3),a1(e.selectedCategories)}}function de6(c,r){if(1&c&&(o(0,"tr",123)(1,"td",194),f(2),n(),o(3,"td",195),f(4),n(),o(5,"td",125),f(6),n(),o(7,"td",127),f(8),n(),o(9,"td",125),f(10),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.name," "),s(2),V(" ",e.description," "),s(2),V(" ",e.priceType," "),s(2),V(" ",null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.value," "),s(2),V(" ",null==e.price||null==e.price.taxIncludedAmount?null:e.price.taxIncludedAmount.unit," ")}}function ue6(c,r){if(1&c&&(o(0,"h2",202),f(1),m(2,"translate"),n(),o(3,"div",256)(4,"table",119)(5,"thead",120)(6,"tr")(7,"th",121),f(8),m(9,"translate"),n(),o(10,"th",193),f(11),m(12,"translate"),n(),o(13,"th",122),f(14),m(15,"translate"),n(),o(16,"th",121),f(17),m(18,"translate"),n(),o(19,"th",122),f(20),m(21,"translate"),n()()(),o(22,"tbody"),c1(23,de6,11,5,"tr",123,Jt),n()()()),2&c){const e=h(2);s(),H(_(2,6,"UPDATE_OFFER._price_plans")),s(7),V(" ",_(9,8,"UPDATE_OFFER._name")," "),s(3),V(" ",_(12,10,"UPDATE_OFFER._description")," "),s(3),V(" ",_(15,12,"UPDATE_OFFER._type")," "),s(3),V(" ",_(18,14,"UPDATE_OFFER._price")," "),s(3),V(" ",_(21,16,"UPDATE_OFFER._unit")," "),s(3),a1(e.createdPrices)}}function he6(c,r){if(1&c&&(o(0,"tr",123)(1,"td",127),f(2),n(),o(3,"td",195),f(4),n(),o(5,"td",125),f(6),n(),o(7,"td",127),f(8),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.type," "),s(2),V(" ",e.description," "),s(2),V(" ",e.threshold," "),s(2),V(" ",e.unitMeasure," ")}}function me6(c,r){if(1&c&&(o(0,"h2",202),f(1),m(2,"translate"),n(),o(3,"div",256)(4,"table",119)(5,"thead",120)(6,"tr")(7,"th",121),f(8),m(9,"translate"),n(),o(10,"th",193),f(11),m(12,"translate"),n(),o(13,"th",122),f(14),m(15,"translate"),n(),o(16,"th",121),f(17),m(18,"translate"),n()()(),o(19,"tbody"),c1(20,he6,9,4,"tr",123,z1),n()()()),2&c){const e=h(2);s(),H(_(2,5,"UPDATE_OFFER._sla")),s(7),V(" ",_(9,7,"UPDATE_OFFER._name")," "),s(3),V(" ",_(12,9,"UPDATE_OFFER._description")," "),s(3),V(" ",_(15,11,"UPDATE_OFFER._threshold")," "),s(3),V(" ",_(18,13,"UPDATE_OFFER._unit")," "),s(3),a1(e.createdSLAs)}}function _e6(c,r){if(1&c&&(o(0,"label",258),f(1),m(2,"translate"),n(),o(3,"div",259),v(4,"markdown",172),n()),2&c){const e=h(3);s(),H(_(2,2,"UPDATE_OFFER._description")),s(3),k("data",e.createdLicense.description)}}function pe6(c,r){if(1&c&&(o(0,"h2",202),f(1),m(2,"translate"),n(),o(3,"div")(4,"label",257),f(5),m(6,"translate"),n(),o(7,"label",251),f(8),n(),R(9,_e6,5,4),n()),2&c){const e=h(2);s(),H(_(2,4,"UPDATE_OFFER._license")),s(4),H(_(6,6,"UPDATE_OFFER._treatment")),s(3),V(" ",e.createdLicense.treatment," "),s(),S(9,""!==e.createdLicense.description?9:-1)}}function ge6(c,r){if(1&c){const e=j();o(0,"h2",107),f(1),m(2,"translate"),n(),o(3,"div",249)(4,"div",250)(5,"div")(6,"label",202),f(7),m(8,"translate"),n(),o(9,"label",251),f(10),n()(),o(11,"div")(12,"label",55),f(13),m(14,"translate"),n(),o(15,"label",252),f(16),n()()(),o(17,"div",253)(18,"label",254),f(19),m(20,"translate"),n(),R(21,J06,2,1,"span",126)(22,X06,2,1)(23,ee6,2,1)(24,ce6,2,1),n(),R(25,ae6,5,4)(26,se6,16,9)(27,fe6,16,9)(28,ue6,25,18)(29,me6,22,15)(30,pe6,10,8),o(31,"div",144)(32,"button",152),C("click",function(){return y(e),b(h().updateOffer())}),f(33),m(34,"translate"),w(),o(35,"svg",92),v(36,"path",93),n()()()()}if(2&c){const e=h();s(),H(_(2,14,"UPDATE_OFFER._finish")),s(6),H(_(8,16,"UPDATE_OFFER._name")),s(3),V(" ",null==e.offerToUpdate?null:e.offerToUpdate.name," "),s(3),H(_(14,18,"UPDATE_OFFER._version")),s(3),V(" ",null==e.offerToUpdate?null:e.offerToUpdate.version," "),s(3),H(_(20,20,"UPDATE_OFFER._status")),s(2),S(21,"Active"==(null==e.offerToUpdate?null:e.offerToUpdate.lifecycleStatus)?21:"Launched"==(null==e.offerToUpdate?null:e.offerToUpdate.lifecycleStatus)?22:"Retired"==(null==e.offerToUpdate?null:e.offerToUpdate.lifecycleStatus)?23:"Obsolete"==(null==e.offerToUpdate?null:e.offerToUpdate.lifecycleStatus)?24:-1),s(4),S(25,""!=(null==e.offerToUpdate?null:e.offerToUpdate.description)?25:-1),s(),S(26,e.offersBundle.length>0?26:-1),s(),S(27,e.selectedCategories.length>0?27:-1),s(),S(28,e.createdPrices.length>0?28:-1),s(),S(29,e.createdSLAs.length>0?29:-1),s(),S(30,e.freeLicenseSelected||""===e.createdLicense.treatment?-1:30),s(3),V(" ",_(34,22,"UPDATE_OFFER._finish")," ")}}function ve6(c,r){1&c&&(o(0,"p",204),f(1),m(2,"translate"),n()),2&c&&(s(),H(_(2,1,"UPDATE_OFFER._duplicated_price_name")))}function He6(c,r){if(1&c&&(o(0,"option",271),f(1),n()),2&c){const e=r.$implicit,a=h(3);E1("value",e.code),k("selected",a.selectedPriceUnit==e.code),s(),j1("(",e.code,") ",e.name,"")}}function Ce6(c,r){if(1&c){const e=j();o(0,"label",202),f(1),m(2,"translate"),n(),o(3,"div",210),v(4,"input",211),o(5,"select",270),C("change",function(t){return y(e),b(h(2).onPriceUnitChange(t))}),c1(6,He6,2,4,"option",271,sm1),n()()}if(2&c){let e;const a=h(2);s(),H(_(2,3,"UPDATE_OFFER._price")),s(3),k("ngClass",1==(null==(e=a.priceForm.get("price"))?null:e.invalid)&&""!=a.priceForm.value.price?"border-red-600":"border-gray-300 dark:border-secondary-200"),s(),E1("value",a.selectedPriceUnit),s(),a1(a.currencies)}}function ze6(c,r){if(1&c){const e=j();o(0,"select",272),C("change",function(t){return y(e),b(h(2).onPriceTypeSelected(t))}),o(1,"option",206),f(2,"CUSTOM"),n()()}2&c&&E1("value",h(2).selectedPriceType)}function Ve6(c,r){if(1&c){const e=j();o(0,"select",272),C("change",function(t){return y(e),b(h(2).onPriceTypeSelected(t))}),o(1,"option",213),f(2,"ONE TIME"),n(),o(3,"option",214),f(4,"RECURRING"),n(),o(5,"option",215),f(6,"USAGE"),n()()}2&c&&E1("value",h(2).selectedPriceType)}function Me6(c,r){if(1&c){const e=j();o(0,"label",202),f(1),m(2,"translate"),n(),o(3,"select",273),C("change",function(t){return y(e),b(h(2).onPricePeriodChange(t))}),o(4,"option",217),f(5,"DAILY"),n(),o(6,"option",218),f(7,"WEEKLY"),n(),o(8,"option",219),f(9,"MONTHLY"),n(),o(10,"option",220),f(11,"QUARTERLY"),n(),o(12,"option",221),f(13,"YEARLY"),n(),o(14,"option",222),f(15,"QUINQUENNIAL"),n()()}if(2&c){const e=h(2);s(),H(_(2,2,"UPDATE_OFFER._choose_period")),s(2),E1("value",e.selectedPeriod)}}function Le6(c,r){if(1&c){const e=j();o(0,"label",202),f(1),m(2,"translate"),n(),o(3,"input",274,6),C("change",function(){return y(e),b(h(2).checkValidPrice())}),n()}if(2&c){const e=h(2);s(),H(_(2,2,"UPDATE_OFFER._unit")),s(2),E1("value",null==e.priceToUpdate||null==e.priceToUpdate.unitOfMeasure?null:e.priceToUpdate.unitOfMeasure.units)}}function ye6(c,r){1&c&&v(0,"textarea",208)}function be6(c,r){1&c&&v(0,"markdown",172),2&c&&k("data",h(3).priceDescription)}function xe6(c,r){1&c&&v(0,"textarea",225)}function we6(c,r){if(1&c){const e=j();o(0,"emoji-mart",106),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(3).addEmoji(t))}),n()}2&c&&(Y2(A4(3,ql)),k("darkMode",!1))}function Fe6(c,r){if(1&c){const e=j();o(0,"div",224)(1,"div",59)(2,"div",60)(3,"div",61)(4,"button",62),C("click",function(){return y(e),b(h(2).addBold())}),w(),o(5,"svg",63),v(6,"path",64),n(),O(),o(7,"span",65),f(8,"Bold"),n()(),o(9,"button",62),C("click",function(){return y(e),b(h(2).addItalic())}),w(),o(10,"svg",63),v(11,"path",66),n(),O(),o(12,"span",65),f(13,"Italic"),n()(),o(14,"button",62),C("click",function(){return y(e),b(h(2).addList())}),w(),o(15,"svg",67),v(16,"path",68),n(),O(),o(17,"span",65),f(18,"Add list"),n()(),o(19,"button",62),C("click",function(){return y(e),b(h(2).addOrderedList())}),w(),o(20,"svg",67),v(21,"path",70),n(),O(),o(22,"span",65),f(23,"Add ordered list"),n()(),o(24,"button",62),C("click",function(){return y(e),b(h(2).addBlockquote())}),w(),o(25,"svg",72),v(26,"path",73),n(),O(),o(27,"span",65),f(28,"Add blockquote"),n()(),o(29,"button",62),C("click",function(){return y(e),b(h(2).addTable())}),w(),o(30,"svg",74),v(31,"path",75),n(),O(),o(32,"span",65),f(33,"Add table"),n()(),o(34,"button",62),C("click",function(){return y(e),b(h(2).addCode())}),w(),o(35,"svg",74),v(36,"path",76),n(),O(),o(37,"span",65),f(38,"Add code"),n()(),o(39,"button",62),C("click",function(){return y(e),b(h(2).addCodeBlock())}),w(),o(40,"svg",74),v(41,"path",77),n(),O(),o(42,"span",65),f(43,"Add code block"),n()(),o(44,"button",62),C("click",function(){return y(e),b(h(2).addLink())}),w(),o(45,"svg",74),v(46,"path",78),n(),O(),o(47,"span",65),f(48,"Add link"),n()(),o(49,"button",62),C("click",function(t){y(e);const i=h(2);return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(50,"svg",79),v(51,"path",80),n(),O(),o(52,"span",65),f(53,"Add emoji"),n()()()(),o(54,"button",81),C("click",function(){y(e);const t=h(2);return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(55,"svg",67),v(56,"path",82)(57,"path",83),n(),O(),o(58,"span",65),f(59),m(60,"translate"),n()(),o(61,"div",84),f(62),m(63,"translate"),v(64,"div",85),n()(),o(65,"div",86)(66,"label",87),f(67,"Publish post"),n(),R(68,be6,1,1,"markdown",172)(69,xe6,1,0)(70,we6,1,4,"emoji-mart",89),n()()}if(2&c){const e=h(2);s(4),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",e.showPreview)("ngClass",e.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(60,24,"CREATE_CATALOG._preview")),s(3),V(" ",_(63,26,"CREATE_CATALOG._show_preview")," "),s(6),S(68,e.showPreview?68:69),s(2),S(70,e.showEmoji?70:-1)}}function ke6(c,r){if(1&c){const e=j();o(0,"div",43)(1,"div",260),C("click",function(t){return y(e),b(t.stopPropagation())}),o(2,"div",261)(3,"h5",262),f(4),m(5,"translate"),n(),o(6,"button",263),C("click",function(){return y(e),b(h().closeEditPrice())}),w(),o(7,"svg",264),v(8,"path",265),n(),O(),o(9,"span",65),f(10),m(11,"translate"),n()()(),o(12,"div",266)(13,"form",267),C("change",function(){return y(e),b(h().checkValidPrice())}),o(14,"div")(15,"label",202),f(16),m(17,"translate"),n(),o(18,"input",203),C("change",function(){return y(e),b(h().checkValidPrice())}),n(),R(19,ve6,3,3,"p",204)(20,Ce6,8,5),n(),o(21,"div")(22,"label",202),f(23),m(24,"translate"),n(),R(25,ze6,3,1,"select",268)(26,Ve6,7,1,"select",268)(27,Me6,16,4)(28,Le6,5,4),n(),o(29,"label",207),f(30),m(31,"translate"),n(),R(32,ye6,1,0,"textarea",208)(33,Fe6,71,28),n(),o(34,"div",269)(35,"button",209),C("click",function(){return y(e),b(h().updatePrice())}),f(36),m(37,"translate"),w(),o(38,"svg",176),v(39,"path",183),n()()()()()()}if(2&c){const e=h();k("ngClass",e.editPrice?"backdrop-blur-sm":""),s(4),H(_(5,17,"UPDATE_OFFER._update")),s(6),H(_(11,19,"CARD._close")),s(3),k("formGroup",e.priceForm),s(3),H(_(17,21,"UPDATE_OFFER._name")),s(2),k("ngClass",null!=e.priceForm.controls.name.errors&&e.priceForm.controls.name.errors.invalidName?"border-red-600":"border-gray-300 dark:border-secondary-200 mb-2"),s(),S(19,null!=e.priceForm.controls.name.errors&&e.priceForm.controls.name.errors.invalidName?19:-1),s(),S(20,e.customSelected?-1:20),s(3),H(_(24,23,"UPDATE_OFFER._choose_type")),s(2),S(25,e.allowCustom?25:-1),s(),S(26,e.allowOthers?26:-1),s(),S(27,e.recurringSelected?27:e.usageSelected?28:-1),s(3),H(_(31,25,"UPDATE_OFFER._description")),s(2),S(32,e.customSelected?33:32),s(3),k("disabled",e.validPriceCheck)("ngClass",e.validPriceCheck?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(37,27,"UPDATE_OFFER._save_price")," ")}}function Se6(c,r){1&c&&v(0,"error-message",44),2&c&&k("message",h().errorMessage)}let Ne6=(()=>{class c{constructor(e,a,t,i,l,d,u,p,z,x,E){this.router=e,this.api=a,this.prodSpecService=t,this.cdr=i,this.localStorage=l,this.eventMessage=d,this.elementRef=u,this.attachmentService=p,this.servSpecService=z,this.resSpecService=x,this.paginationService=E,this.PROD_SPEC_LIMIT=_1.PROD_SPEC_LIMIT,this.PRODUCT_LIMIT=_1.PRODUCT_LIMIT,this.CATALOG_LIMIT=_1.CATALOG_LIMIT,this.showGeneral=!0,this.showBundle=!1,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!1,this.showSLA=!1,this.showPrice=!1,this.stepsElements=["general-info","bundle","prodspec","catalog","category","license","sla","price","summary"],this.stepsCircles=["general-circle","bundle-circle","prodspec-circle","catalog-circle","category-circle","license-circle","sla-circle","price-circle","summary-circle"],this.showPreview=!1,this.showEmoji=!1,this.description="",this.partyId="",this.generalForm=new S2({name:new u1("",[O1.required]),version:new u1("0.1",[O1.required,O1.pattern("^-?[0-9]\\d*(\\.\\d*)?$")]),description:new u1("")}),this.offerStatus="Active",this.bundleChecked=!1,this.bundlePage=0,this.bundlePageCheck=!1,this.loadingBundle=!1,this.loadingBundle_more=!1,this.offersBundle=[],this.bundledOffers=[],this.nextBundledOffers=[],this.prodSpecPage=0,this.prodSpecPageCheck=!1,this.loadingProdSpec=!1,this.loadingProdSpec_more=!1,this.selectedProdSpec={id:""},this.prodSpecs=[],this.nextProdSpecs=[],this.catalogPage=0,this.catalogPageCheck=!1,this.loadingCatalog=!1,this.loadingCatalog_more=!1,this.selectedCatalog={id:""},this.catalogs=[],this.nextCatalogs=[],this.loadingCategory=!1,this.selectedCategories=[],this.unformattedCategories=[],this.categories=[],this.freeLicenseSelected=!0,this.licenseDescription="",this.licenseForm=new S2({treatment:new u1("",[O1.required]),description:new u1("")}),this.createdLicense={treatment:"",description:""},this.createdSLAs=[],this.availableSLAs=["UPDATES RATE","RESPONSE TIME","DELAY"],this.showCreateSLA=!1,this.updatesSelected=!0,this.responseSelected=!1,this.delaySelected=!1,this.creatingSLA={type:"UPDATES RATE",description:"Expected number of updates in the given period.",threshold:"",unitMeasure:"day"},this.editPrice=!1,this.selectedPriceType="CUSTOM",this.currencies=Ba.currencies,this.createdPrices=[],this.oldPrices=[],this.priceDescription="",this.showCreatePrice=!1,this.toggleOpenPrice=!1,this.oneTimeSelected=!1,this.recurringSelected=!1,this.selectedPeriod="DAILY",this.selectedPeriodAlter="DAILY",this.usageSelected=!1,this.customSelected=!0,this.validPriceCheck=!0,this.priceForm=new S2({name:new u1("",[O1.required]),price:new u1("",[O1.required]),description:new u1(""),usageUnit:new u1("")},{updateOn:"change"}),this.priceAlterForm=new S2({price:new u1("",[O1.required]),condition:new u1(""),description:new u1("")}),this.selectedPriceUnit=Ba.currencies[0].code,this.priceTypeAlter="ONE TIME",this.priceComponentSelected=!1,this.discountSelected=!1,this.noAlterSelected=!0,this.allowCustom=!0,this.allowOthers=!0,this.errorMessage="",this.showError=!1,this.eventMessage.messages$.subscribe(P=>{"CategoryAdded"===P.type&&this.addCategory(P.value),"ChangedSession"===P.type&&this.initPartyInfo()})}onClick(){1==this.showEmoji&&(this.showEmoji=!1,this.cdr.detectChanges()),1==this.editPrice&&(this.closeEditPrice(),this.cdr.detectChanges())}ngOnInit(){console.log(this.offer),this.initPartyInfo(),this.populateOfferInfo(),this.clearPriceFormInfo()}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0)if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}}populateOfferInfo(){if(this.generalForm.controls.name.setValue(this.offer.name),this.generalForm.controls.description.setValue(this.offer.description),this.generalForm.controls.version.setValue(this.offer.version?this.offer.version:""),this.offerStatus=this.offer.lifecycleStatus,1==this.offer.isBundle&&(this.toggleBundleCheck(),this.offersBundle=this.offer.bundledProductOffering),this.offer.productSpecification&&(this.selectedProdSpec=this.offer.productSpecification),this.offer.category&&(this.selectedCategories=this.offer.category),this.offer.productOfferingTerm&&(this.freeLicenseSelected=!1,this.licenseForm.controls.treatment.setValue(this.offer.productOfferingTerm[0].name),this.licenseForm.controls.description.setValue(this.offer.productOfferingTerm[0].description),this.createdLicense.treatment=this.offer.productOfferingTerm[0].name,this.createdLicense.description=this.offer.productOfferingTerm[0].description),this.offer.productOfferingPrice)for(let e=0;e{console.log("price"),console.log(a);let t={id:a.id,name:a.name,description:a.description,lifecycleStatus:a.lifecycleStatus,priceType:a.priceType,price:{percentage:0,taxRate:20,dutyFreeAmount:{unit:a.price.unit,value:0},taxIncludedAmount:{unit:a.price.unit,value:a.price.value}}};a.recurringChargePeriodType&&(console.log("recurring"),t.recurringChargePeriod=a.recurringChargePeriodType),a.unitOfMeasure&&(console.log("usage"),t.unitOfMeasure=a.unitOfMeasure),this.createdPrices.push(t),this.oldPrices.push(t)})}goBack(){this.eventMessage.emitSellerOffer(!0)}setOfferStatus(e){this.offerStatus=e,this.cdr.detectChanges()}toggleGeneral(){this.selectStep("general-info","general-circle"),this.showBundle=!1,this.showGeneral=!0,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!1,this.showSLA=!1,this.showPrice=!1,this.showPreview=!1,this.clearPriceFormInfo()}toggleBundle(){this.selectStep("bundle","bundle-circle"),this.showBundle=!0,this.showGeneral=!1,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!1,this.showSLA=!1,this.showPrice=!1,this.showPreview=!1,this.clearPriceFormInfo()}toggleBundleCheck(){this.bundledOffers=[],this.bundlePage=0,this.bundleChecked=!this.bundleChecked,1==this.bundleChecked?(this.loadingBundle=!0,this.getSellerOffers(!1)):this.offersBundle=[]}toggleProdSpec(){this.prodSpecs=[],this.prodSpecPage=0,this.loadingProdSpec=!0,this.getSellerProdSpecs(!1),this.selectStep("prodspec","prodspec-circle"),this.showBundle=!1,this.showGeneral=!1,this.showSummary=!1,this.showProdSpec=!0,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!1,this.showSLA=!1,this.showPrice=!1,this.showPreview=!1,this.clearPriceFormInfo()}toggleCatalogs(){this.catalogs=[],this.catalogPage=0,this.loadingCatalog=!0,this.getSellerCatalogs(!1),this.selectStep("catalog","catalog-circle"),this.showBundle=!1,this.showGeneral=!1,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!0,this.showCategory=!1,this.showLicense=!1,this.showSLA=!1,this.showPrice=!1,this.showPreview=!1,this.clearPriceFormInfo()}toggleCategories(){this.categories=[],this.loadingCategory=!0,this.getCategories(),console.log("CATEGORIES FORMATTED"),console.log(this.categories),this.selectStep("category","category-circle"),this.showBundle=!1,this.showGeneral=!1,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!0,this.showLicense=!1,this.showSLA=!1,this.showPrice=!1,this.showPreview=!1,this.clearPriceFormInfo()}toggleLicense(){this.selectStep("license","license-circle"),this.showBundle=!1,this.showGeneral=!1,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!0,this.showSLA=!1,this.showPrice=!1,this.showPreview=!1,this.clearPriceFormInfo()}toggleSLA(){this.selectStep("sla","sla-circle"),this.showBundle=!1,this.showGeneral=!1,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!1,this.showSLA=!0,this.showPrice=!1,this.showPreview=!1,this.clearPriceFormInfo()}togglePrice(){this.selectStep("price","price-circle"),this.showBundle=!1,this.showGeneral=!1,this.showSummary=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!1,this.showSLA=!1,this.showPrice=!0,this.showPreview=!1,this.clearPriceFormInfo()}saveLicense(){this.createdLicense=this.licenseForm.value.treatment?{treatment:this.licenseForm.value.treatment,description:this.licenseForm.value.description?this.licenseForm.value.description:""}:{treatment:"",description:""},this.showPreview=!1}clearLicense(){this.freeLicenseSelected=!this.freeLicenseSelected,this.licenseForm.controls.treatment.setValue(""),this.licenseForm.controls.description.setValue(""),this.createdLicense={treatment:"",description:""},console.log(this.createdLicense.treatment)}onPriceTypeSelected(e){"ONE TIME"==e.target.value?(this.oneTimeSelected=!0,this.recurringSelected=!1,this.usageSelected=!1,this.customSelected=!1):"RECURRING"==e.target.value?(this.oneTimeSelected=!1,this.recurringSelected=!0,this.usageSelected=!1,this.customSelected=!1):"USAGE"==e.target.value?(this.oneTimeSelected=!1,this.recurringSelected=!1,this.usageSelected=!0,this.customSelected=!1):"CUSTOM"==e.target.value&&(this.oneTimeSelected=!1,this.recurringSelected=!1,this.usageSelected=!1,this.customSelected=!0),this.checkValidPrice()}onPriceTypeAlterSelected(e){this.priceTypeAlter=e.target.value}onPriceAlterSelected(e){"none"==e.target.value?(this.priceComponentSelected=!1,this.discountSelected=!1,this.noAlterSelected=!0):"price"==e.target.value?(this.priceComponentSelected=!0,this.discountSelected=!1,this.noAlterSelected=!1):"discount"==e.target.value&&(this.priceComponentSelected=!1,this.discountSelected=!0,this.noAlterSelected=!1)}onPricePeriodChange(e){this.selectedPeriod=e.target.value,this.checkValidPrice()}onPricePeriodAlterChange(e){this.selectedPeriodAlter=e.target.value,this.checkValidPrice()}onPriceUnitChange(e){this.selectedPriceUnit=e.target.value,this.checkValidPrice()}checkValidPrice(){const e=this.createdPrices.findIndex(a=>a.name===this.priceForm.value.name);-1!==e?this.editPrice&&this.createdPrices[e].name==this.priceToUpdate.name?(this.priceForm.controls.name.setErrors(null),this.priceForm.controls.name.updateValueAndValidity(),this.validPriceCheck=!(this.customSelected&&""!=this.priceForm.value.name||(this.usageSelected?""!=this.usageUnitUpdate.nativeElement.value:!this.priceForm.invalid))):(this.priceForm.controls.name.setErrors({invalidName:!0}),this.validPriceCheck=!0):(this.priceForm.controls.name.setErrors(null),this.priceForm.controls.name.updateValueAndValidity(),this.validPriceCheck=!(this.customSelected&&""!=this.priceForm.value.name||(this.usageSelected?""!=this.usageUnit.nativeElement.value:!this.priceForm.invalid))),this.cdr.detectChanges()}savePrice(){if(this.priceForm.value.name){let e={id:B4(),name:this.priceForm.value.name,description:this.priceForm.value.description?this.priceForm.value.description:"",lifecycleStatus:"Active",priceType:this.recurringSelected?"recurring":this.usageSelected?"usage":this.oneTimeSelected?"one time":"custom"};!this.customSelected&&this.priceForm.value.price&&(e.price={percentage:0,taxRate:20,dutyFreeAmount:{unit:this.selectedPriceUnit,value:0},taxIncludedAmount:{unit:this.selectedPriceUnit,value:parseFloat(this.priceForm.value.price)}}),this.recurringSelected&&(console.log("recurring"),e.recurringChargePeriod=this.selectedPeriod),this.usageSelected&&(console.log("usage"),e.unitOfMeasure={amount:1,units:this.usageUnit.nativeElement.value}),this.priceComponentSelected&&this.priceAlterForm.value.price&&(e.priceAlteration=[{description:this.priceAlterForm.value.description?this.priceAlterForm.value.description:"",name:"fee",priceType:this.priceComponentSelected?this.priceTypeAlter:this.recurringSelected?"recurring":this.usageSelected?"usage":this.oneTimeSelected?"one time":"custom",priority:0,recurringChargePeriod:this.priceComponentSelected&&"RECURRING"==this.priceTypeAlter?this.selectedPeriodAlter:"",price:{percentage:this.discountSelected?parseFloat(this.priceAlterForm.value.price):0,dutyFreeAmount:{unit:this.selectedPriceUnit,value:0},taxIncludedAmount:{unit:this.selectedPriceUnit,value:this.priceComponentSelected?parseFloat(this.priceAlterForm.value.price):0}},unitOfMeasure:{amount:1,units:this.priceComponentSelected&&"USAGE"==this.priceTypeAlter?this.usageUnitAlter.nativeElement.value:""}}]),this.createdPrices.push(e),console.log("--- price ---"),console.log(this.createdPrices)}this.clearPriceFormInfo()}showUpdatePrice(e){if(this.priceToUpdate=e,console.log(this.priceToUpdate),console.log(this.priceToUpdate),this.priceForm.controls.name.setValue(this.priceToUpdate.name),this.priceForm.controls.description.setValue(this.priceToUpdate.description),"custom"!=this.priceToUpdate.priceType&&(this.priceForm.controls.price.setValue(this.priceToUpdate.price.taxIncludedAmount.value),this.selectedPriceUnit=this.priceToUpdate.price.taxIncludedAmount.unit),this.cdr.detectChanges(),console.log(this.selectedPriceUnit),console.log(this.priceToUpdate.priceType),"one time"==this.priceToUpdate.priceType?(this.selectedPriceType="ONE TIME",this.oneTimeSelected=!0,this.recurringSelected=!1,this.usageSelected=!1,this.customSelected=!1):"recurring"==this.priceToUpdate.priceType?(this.selectedPriceType="RECURRING",this.oneTimeSelected=!1,this.recurringSelected=!0,this.usageSelected=!1,this.customSelected=!1,this.selectedPeriod=this.priceToUpdate.recurringChargePeriod,this.cdr.detectChanges()):"usage"==this.priceToUpdate.priceType?(this.selectedPriceType="USAGE",this.oneTimeSelected=!1,this.recurringSelected=!1,this.usageSelected=!0,this.customSelected=!1,this.cdr.detectChanges()):(console.log("custom"),this.selectedPriceType="CUSTOM",this.oneTimeSelected=!1,this.recurringSelected=!1,this.usageSelected=!1,this.customSelected=!0),console.log("-selected-"),console.log(this.selectedPriceType),0==this.createdPrices.length)this.allowCustom=!0,this.allowOthers=!0;else{let a=!1;for(let t=0;tt.id===this.priceToUpdate.id);-1!==a&&(this.createdPrices[a]=e),console.log("--- price ---"),console.log(this.createdPrices)}this.closeEditPrice()}closeEditPrice(){this.priceForm.reset(),this.priceForm.controls.name.setValue(""),this.priceForm.controls.price.setValue(""),this.clearPriceFormInfo(),this.editPrice=!1}removePrice(e){const a=this.createdPrices.findIndex(t=>t.id===e.id);-1!==a&&this.createdPrices.splice(a,1),this.checkCustom(),this.clearPriceFormInfo()}showNewPrice(){this.checkCustom(),this.showCreatePrice=!this.showCreatePrice}checkCustom(){if(0==this.createdPrices.length)this.allowCustom=!0,this.allowOthers=!0;else{let e=!1;for(let a=0;a{this.priceForm.get(e)?.markAsPristine(),this.priceForm.get(e)?.markAsUntouched(),this.priceForm.get(e)?.updateValueAndValidity()}),this.validPriceCheck=!0}onSLAMetricChange(e){this.creatingSLA.unitMeasure=e.target.value}onSLAChange(e){"UPDATES RATE"==e.target.value?(this.updatesSelected=!0,this.responseSelected=!1,this.delaySelected=!1,this.creatingSLA.type="UPDATES RATE",this.creatingSLA.description="Expected number of updates in the given period.",this.creatingSLA.unitMeasure="day"):"RESPONSE TIME"==e.target.value?(this.updatesSelected=!1,this.responseSelected=!0,this.delaySelected=!1,this.creatingSLA.type="RESPONSE TIME",this.creatingSLA.description="Total amount of time to respond to a data request (GET).",this.creatingSLA.unitMeasure="ms"):"DELAY"==e.target.value&&(this.updatesSelected=!1,this.responseSelected=!1,this.delaySelected=!0,this.creatingSLA.type="DELAY",this.creatingSLA.description="Total amount of time to deliver a new update (SUBSCRIPTION).",this.creatingSLA.unitMeasure="ms")}showCreateSLAMetric(){"UPDATES RATE"==this.availableSLAs[0]?(this.updatesSelected=!0,this.responseSelected=!1,this.delaySelected=!1,this.creatingSLA.type="UPDATES RATE",this.creatingSLA.description="Expected number of updates in the given period.",this.creatingSLA.unitMeasure="day"):"RESPONSE TIME"==this.availableSLAs[0]?(this.updatesSelected=!1,this.responseSelected=!0,this.delaySelected=!1,this.creatingSLA.type="RESPONSE TIME",this.creatingSLA.description="Total amount of time to respond to a data request (GET).",this.creatingSLA.unitMeasure="ms"):"DELAY"==this.availableSLAs[0]&&(this.updatesSelected=!1,this.responseSelected=!1,this.delaySelected=!0,this.creatingSLA.type="DELAY",this.creatingSLA.description="Total amount of time to deliver a new update (SUBSCRIPTION).",this.creatingSLA.unitMeasure="ms"),this.showCreateSLA=!0}addSLA(){const e=this.availableSLAs.findIndex(a=>a===this.creatingSLA.type);1==this.updatesSelected?(this.creatingSLA.threshold=this.updatemetric.nativeElement.value,this.createdSLAs.push({type:this.creatingSLA.type,description:this.creatingSLA.description,threshold:this.creatingSLA.threshold,unitMeasure:this.creatingSLA.unitMeasure}),this.availableSLAs.splice(e,1),this.updatesSelected=!1):1==this.responseSelected?(this.creatingSLA.threshold=this.responsemetric.nativeElement.value,this.createdSLAs.push({type:this.creatingSLA.type,description:this.creatingSLA.description,threshold:this.creatingSLA.threshold,unitMeasure:this.creatingSLA.unitMeasure}),this.availableSLAs.splice(e,1),this.responseSelected=!1):(this.creatingSLA.threshold=this.delaymetric.nativeElement.value,this.createdSLAs.push({type:this.creatingSLA.type,description:this.creatingSLA.description,threshold:this.creatingSLA.threshold,unitMeasure:this.creatingSLA.unitMeasure}),this.availableSLAs.splice(e,1),this.delaySelected=!1),this.showCreateSLA=!1}removeSLA(e){const a=this.createdSLAs.findIndex(t=>t.type===e.type);-1!==a&&this.createdSLAs.splice(a,1),this.availableSLAs.push(e.type)}checkThreshold(){return 1==this.updatesSelected?""==this.updatemetric.nativeElement.value:1==this.responseSelected?""==this.responsemetric.nativeElement.value:""==this.delaymetric.nativeElement.value}getCategories(){console.log("Getting categories..."),this.api.getLaunchedCategories().then(e=>{for(let a=0;ai.parentId===e.id);if(e.children=t,1==e.isRoot?this.categories.push(e):this.saveChildren(this.categories,e),0!=t.length)for(let i=0;i{if(a=t,e.children=a,1==e.isRoot?this.categories.push(e):this.saveChildren(this.categories,e),0!=a.length)for(let i=0;id.id==a.id)){let d=i.findIndex(u=>u.id==a.id);i[d]=a,e[t].children=i}this.saveChildren(i,a)}}}addParent(e){const a=this.unformattedCategories.findIndex(t=>t.id===e);-1!=a&&(0==this.unformattedCategories[a].isRoot?this.addCategory(this.unformattedCategories[a]):this.selectedCategories.push(this.unformattedCategories[a]))}addCategory(e){const a=this.selectedCategories.findIndex(t=>t.id===e.id);if(-1!==a?(console.log("eliminar"),this.selectedCategories.splice(a,1)):(console.log("a\xf1adir"),this.selectedCategories.push(e)),0==e.isRoot){const t=this.selectedCategories.findIndex(i=>i.id===e.parentId);-1==a&&-1==t&&this.addParent(e.parentId)}console.log(this.selectedCategories),this.cdr.detectChanges(),console.log(this.selectedCategories)}isCategorySelected(e){return-1!==this.selectedCategories.findIndex(t=>t.id===e.id)}selectCatalog(e){this.selectedCatalog=e,this.selectedCategories=[]}getSellerCatalogs(e){var a=this;return M(function*(){0==e&&(a.loadingCatalog=!0),a.paginationService.getItemsPaginated(a.catalogPage,a.CATALOG_LIMIT,e,a.catalogs,a.nextCatalogs,{keywords:void 0,filters:["Active","Launched"],partyId:a.partyId},a.api.getCatalogsByUser.bind(a.api)).then(i=>{a.catalogPageCheck=i.page_check,a.catalogs=i.items,a.nextCatalogs=i.nextItems,a.catalogPage=i.page,a.loadingCatalog=!1,a.loadingCatalog_more=!1})})()}nextCatalog(){var e=this;return M(function*(){yield e.getSellerCatalogs(!0)})()}selectProdSpec(e){this.selectedProdSpec=e}getSellerProdSpecs(e){var a=this;return M(function*(){0==e&&(a.loadingProdSpec=!0),a.paginationService.getItemsPaginated(a.prodSpecPage,a.PROD_SPEC_LIMIT,e,a.prodSpecs,a.nextProdSpecs,{filters:["Active","Launched"],partyId:a.partyId},a.prodSpecService.getProdSpecByUser.bind(a.prodSpecService)).then(i=>{a.prodSpecPageCheck=i.page_check,a.prodSpecs=i.items,a.nextProdSpecs=i.nextItems,a.prodSpecPage=i.page,a.loadingProdSpec=!1,a.loadingProdSpec_more=!1})})()}nextProdSpec(){var e=this;return M(function*(){yield e.getSellerProdSpecs(!0)})()}getSellerOffers(e){var a=this;return M(function*(){0==e&&(a.loadingBundle=!0),a.paginationService.getItemsPaginated(a.bundlePage,a.PRODUCT_LIMIT,e,a.bundledOffers,a.nextBundledOffers,{filters:["Active","Launched"],partyId:a.partyId,sort:void 0,isBundle:!1},a.api.getProductOfferByOwner.bind(a.api)).then(i=>{a.bundlePageCheck=i.page_check,a.bundledOffers=i.items,a.nextBundledOffers=i.nextItems,a.bundlePage=i.page,a.loadingBundle=!1,a.loadingBundle_more=!1})})()}nextBundle(){var e=this;return M(function*(){yield e.getSellerOffers(!0)})()}addProdToBundle(e){const a=this.offersBundle.findIndex(t=>t.id===e.id);-1!==a?(console.log("eliminar"),this.offersBundle.splice(a,1)):(console.log("a\xf1adir"),this.offersBundle.push({id:e.id,href:e.href,lifecycleStatus:e.lifecycleStatus,name:e.name})),this.cdr.detectChanges(),console.log(this.offersBundle)}isProdInBundle(e){return-1!==this.offersBundle.findIndex(t=>t.id===e.id)}showFinish(){this.clearPriceFormInfo(),this.saveLicense(),this.generalForm.value.name&&this.generalForm.value.version&&(this.offerToUpdate={name:this.generalForm.value.name,description:null!=this.generalForm.value.description?this.generalForm.value.description:"",version:this.generalForm.value.version,lifecycleStatus:this.offerStatus}),this.selectStep("summary","summary-circle"),this.showBundle=!1,this.showGeneral=!1,this.showProdSpec=!1,this.showCatalog=!1,this.showCategory=!1,this.showLicense=!1,this.showSLA=!1,this.showPrice=!1,this.showSummary=!0,this.showPreview=!1}updateOffer(){var e=this;return M(function*(){if(e.createdPrices.length>0){let a=e.createdPrices.length-1,t=!1,i=!1;for(let l=0;lu.id===e.createdPrices[l].id);-1==d?(t=!0,i=!0):e.oldPrices[d]!=e.createdPrices[l]&&(a=l,t=!1,i=!0)}if(0==i)e.saveOfferInfo();else{console.log(e.oldPrices),console.log(e.createdPrices);for(let l=0;lu.id===e.createdPrices[l].id);if(-1==d){console.log("precio nuevo");let u={description:e.createdPrices[l].description,lifecycleStatus:e.createdPrices[l].lifecycleStatus,name:e.createdPrices[l].name,priceType:e.createdPrices[l].priceType,price:{unit:e.createdPrices[l].price?.taxIncludedAmount?.unit,value:e.createdPrices[l].price?.taxIncludedAmount?.value}};"recurring"==e.createdPrices[l].priceType&&(console.log("recurring"),u.recurringChargePeriodType=e.createdPrices[l].recurringChargePeriod),"usage"==e.createdPrices[l].priceType&&(console.log("usage"),u.unitOfMeasure=e.createdPrices[l].unitOfMeasure),yield e.api.postOfferingPrice(u).subscribe({next:p=>{console.log("precio"),console.log(p),e.createdPrices[l].id=p.id,t&&e.saveOfferInfo()},error:p=>{console.error("There was an error while creating offers price!",p),p.error.error?(console.log(p),e.errorMessage="Error: "+p.error.error):e.errorMessage="There was an error while creating offers price!",e.showError=!0,setTimeout(()=>{e.showError=!1},3e3)}})}else if(console.log("precio existente -update"),e.oldPrices[d]!=e.createdPrices[l]){console.log("diferentes");let u={id:e.createdPrices[l].id,description:e.createdPrices[l].description,lifecycleStatus:e.createdPrices[l].lifecycleStatus,name:e.createdPrices[l].name,priceType:e.createdPrices[l].priceType,price:{unit:e.createdPrices[l].price?.taxIncludedAmount?.unit,value:e.createdPrices[l].price?.taxIncludedAmount?.value}};"recurring"==e.createdPrices[l].priceType&&(console.log("recurring"),u.recurringChargePeriodType=e.createdPrices[l].recurringChargePeriod),"usage"==e.createdPrices[l].priceType&&(console.log("usage"),u.unitOfMeasure=e.createdPrices[l].unitOfMeasure),yield e.api.updateOfferingPrice(u).subscribe({next:p=>{console.log("precio"),console.log(p),e.createdPrices[l].id=p.id,0==t&&l==a&&e.saveOfferInfo()},error:p=>{console.error("There was an error while updating!",p),p.error.error?(console.log(p),e.errorMessage="Error: "+p.error.error):e.errorMessage="There was an error while updating offers price!",e.showError=!0,setTimeout(()=>{e.showError=!1},3e3)}})}}}}else e.createdPrices=[],e.saveOfferInfo();console.log(e.offerToUpdate)})()}saveOfferInfo(){let e=[],a=[];for(let t=0;t{console.log("product offer created:"),console.log(t),this.goBack()},error:t=>{console.error("There was an error while updating!",t),t.error.error?(console.log(t),this.errorMessage="Error: "+t.error.error):this.errorMessage="There was an error while updating the offer!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}selectStep(e,a){const t=this.stepsElements.findIndex(l=>l===e);if(-1!==t){this.stepsElements.splice(t,1),this.selectMenu(document.getElementById(e),"text-primary-100 dark:text-primary-50"),this.unselectMenu(document.getElementById(e),"text-gray-500");for(let l=0;ll===a);if(-1!==t){this.stepsCircles.splice(i,1),this.selectMenu(document.getElementById(a),"border-primary-100 dark:border-primary-50"),this.unselectMenu(document.getElementById(a),"border-gray-400");for(let l=0;l blockquote"}):this.showPrice?this.priceForm.patchValue({description:this.priceForm.value.description+"\n> blockquote"}):this.showLicense&&this.licenseForm.patchValue({description:this.licenseForm.value.description+"\n> blockquote"})}addLink(){this.showGeneral?this.generalForm.patchValue({description:this.generalForm.value.description+" [title](https://www.example.com) "}):this.showPrice?this.priceForm.patchValue({description:this.priceForm.value.description+" [title](https://www.example.com) "}):this.showLicense&&this.licenseForm.patchValue({description:this.licenseForm.value.description+" [title](https://www.example.com) "})}addTable(){this.showGeneral?this.generalForm.patchValue({description:this.generalForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"}):this.showPrice?this.priceForm.patchValue({description:this.priceForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"}):this.showLicense&&this.licenseForm.patchValue({description:this.licenseForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"})}addEmoji(e){this.showGeneral?(this.showEmoji=!1,this.generalForm.patchValue({description:this.generalForm.value.description+e.emoji.native})):this.showPrice?this.priceForm.patchValue({description:this.priceForm.value.description+e.emoji.native}):this.showLicense&&this.licenseForm.patchValue({description:this.licenseForm.value.description+e.emoji.native})}togglePreview(){this.showGeneral?this.generalForm.value.description&&(this.description=this.generalForm.value.description):this.showPrice?this.priceForm.value.description&&(this.priceDescription=this.priceForm.value.description):this.showLicense&&this.licenseForm.value.description&&(this.licenseDescription=this.licenseForm.value.description)}static#e=this.\u0275fac=function(a){return new(a||c)(B(Z1),B(p1),B(z4),B(B1),B(R1),B(e2),B(v2),B(Q0),B(D4),B(h4),B(M3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["update-offer"]],viewQuery:function(a,t){if(1&a&&(b1(e66,5),b1(c66,5),b1(a66,5),b1(r66,5),b1(t66,5),b1(i66,5)),2&a){let i;M1(i=L1())&&(t.updatemetric=i.first),M1(i=L1())&&(t.responsemetric=i.first),M1(i=L1())&&(t.delaymetric=i.first),M1(i=L1())&&(t.usageUnit=i.first),M1(i=L1())&&(t.usageUnitUpdate=i.first),M1(i=L1())&&(t.usageUnitAlter=i.first)}},hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},inputs:{offer:"offer"},decls:115,vars:65,consts:[["updatemetric",""],["responsemetric",""],["delaymetric",""],["usageUnit",""],["usageUnitAlter",""],["discountfee",""],["usageUnitUpdate",""],[1,"w-full"],[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-gray-200","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800","dark:text-white"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","mt-4","p-8","rounded-lg"],[1,"text-3xl","font-bold","text-primary-100","dark:text-white","ml-4"],[1,"h-px","m-4","bg-gray-300","dark:bg-gray-200","border-0"],[1,"md:grid","md:grid-cols-25/75","xl:grid-cols-20/80"],[1,"flex","sm:flex-row","md:flex-col","md:mr-4","overflow-x-auto","max-w-[calc(100vw-5rem)]"],[1,"text-xl","hidden","md:block","font-bold","text-black","mb-4","dark:text-white"],["id","general-info",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-primary-100","dark:text-primary-50","justify-items-center","md:justify-items-start",3,"click"],["id","general-circle",1,"flex","items-center","justify-center","w-6","h-6","lg:w-8","lg:h-8","border","border-2","border-primary-100","dark:border-primary-50","rounded-full","shrink-0"],[1,"flex","text-sm","md:text-base","sm:text-center","md:text-start"],[1,"hidden","xl:flex","text-xs","justify-start"],[1,"h-px","mb-2","bg-gray-300","dark:bg-gray-200","border-0"],["id","bundle",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","bundle-circle",1,"flex","items-center","justify-center","w-6","h-6","lg:w-8","lg:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","prodspec",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","prodspec-circle",1,"flex","items-center","justify-center","w-6","h-6","lg:w-8","lg:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","category",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","category-circle",1,"flex","items-center","justify-center","w-6","h-6","lg:w-8","lg:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","license",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","license-circle",1,"flex","items-center","justify-center","w-6","h-6","lg:w-8","lg:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","price",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","price-circle",1,"flex","items-center","justify-center","w-6","h-6","lg:w-8","lg:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","summary",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","summary-circle",1,"flex","items-center","justify-center","w-6","h-6","lg:w-8","lg:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],["id","edit-price-modal","tabindex","-1","aria-hidden","true",1,"flex","justify-center","overflow-y-auto","overflow-x-hidden","fixed","top-0","right-0","left-0","z-50","justify-center","items-center","w-full","md:inset-0","h-[calc(100%-1rem)]","max-h-full","shadow-2xl",3,"ngClass"],[1,"fixed","w-fit","top-1/2","left-1/2",3,"message"],[1,"m-4","md:grid","md:grid-cols-2","gap-4",3,"formGroup"],["for","prod-name",1,"font-bold","text-lg","dark:text-white"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],[1,"font-bold","text-lg","col-span-2","dark:text-white"],[1,"mb-2","col-span-2"],[1,"flex","items-center","w-full","text-sm","font-medium","text-center","text-gray-500","dark:text-gray-200","sm:text-base"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-blue-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-green-700","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-yellow-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","items-center"],["for","prod-version",1,"font-bold","text-lg","dark:text-white"],["formControlName","version","type","text","id","prod-version",1,"mb-2","bg-gray-50","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["for","prod-name",1,"font-bold","text-lg","col-span-2","dark:text-white"],[1,"w-full","col-span-2","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200"],[1,"flex","items-center","justify-between","px-3","py-2","border-b"],[1,"flex","flex-wrap","items-center","divide-gray-200","dark:divide-secondary-200","sm:divide-x","sm:rtl:divide-x-reverse"],[1,"flex","items-center","space-x-1","rtl:space-x-reverse","sm:pe-4","text-gray-500","dark:text-gray-200"],["type","button",1,"p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 5h4.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0-7H6m2 7h6.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0 0H6"],[1,"sr-only"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8.874 19 6.143-14M6 19h6.33m-.66-14H18"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M9 8h10M9 12h10M9 16h10M4.99 8H5m-.02 4h.01m0 4H5"],["type","button",1,"hidden","lg:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4"],["type","button",1,"hidden","md:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["fill-rule","evenodd","d","M5 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm0 12a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm1.65-9.76A1 1 0 0 0 5 9v6a1 1 0 0 0 1.65.76l3.5-3a1 1 0 0 0 0-1.52l-3.5-3ZM12 10a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Zm0 4a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Z","clip-rule","evenodd"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-width","2","d","M3 11h18m-9 0v8m-8 0h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 3v4a1 1 0 0 1-1 1H5m5 4-2 2 2 2m4-4 2 2-2 2m5-12v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M13.213 9.787a3.391 3.391 0 0 0-4.795 0l-3.425 3.426a3.39 3.39 0 0 0 4.795 4.794l.321-.304m-.321-4.49a3.39 3.39 0 0 0 4.795 0l3.424-3.426a3.39 3.39 0 0 0-4.794-4.795l-1.028.961"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-4","h-4"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM13.5 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm-7 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm3.5 9.5A5.5 5.5 0 0 1 4.6 11h10.81A5.5 5.5 0 0 1 10 15.5Z"],["type","button","data-tooltip-target","tooltip-fullscreen",1,"rounded","cursor-pointer","text-gray-500","dark:text-gray-200","p-2","sm:ms-auto","hover:text-gray-900","dark:hover:text-gray-900","hover:bg-gray-100",3,"click"],["stroke","currentColor","stroke-width","2","d","M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z"],["stroke","currentColor","stroke-width","2","d","M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"],["id","tooltip-fullscreen","role","tooltip",1,"absolute","z-10","invisible","inline-block","px-3","py-2","text-sm","font-medium","text-white","transition-opacity","duration-300","bg-gray-900","rounded-lg","shadow-sm","opacity-0","tooltip"],["data-popper-arrow","",1,"tooltip-arrow"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","rounded-b-lg"],["for","editor",1,"sr-only"],[1,"text-gray-800","dark:text-gray-200","text-wrap","break-all",3,"data"],[3,"darkMode","style"],[1,"flex","w-full","justify-items-end","justify-end","ml-4"],["type","button",1,"flex","text-white","justify-end","align-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-blue-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-blue-500"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M8.737 8.737a21.49 21.49 0 0 1 3.308-2.724m0 0c3.063-2.026 5.99-2.641 7.331-1.3 1.827 1.828.026 6.591-4.023 10.64-4.049 4.049-8.812 5.85-10.64 4.023-1.33-1.33-.736-4.218 1.249-7.253m6.083-6.11c-3.063-2.026-5.99-2.641-7.331-1.3-1.827 1.828-.026 6.591 4.023 10.64m3.308-9.34a21.497 21.497 0 0 1 3.308 2.724m2.775 3.386c1.985 3.035 2.579 5.923 1.248 7.253-1.336 1.337-4.245.732-7.295-1.275M14 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-green-700","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-green-700"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-yellow-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-yellow-500"],[1,"cursor-pointer","flex","items-center",3,"click"],[1,"flex","items-center","text-red-800"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-red-800"],["id","editor","formControlName","description","rows","8","placeholder","Add product description...",1,"block","w-full","px-0","text-sm","text-gray-800","dark:text-gray-200","bg-white","dark:bg-secondary-300","border-0"],[3,"click","emojiClick","darkMode"],[1,"text-3xl","font-bold","text-primary-100","ml-4","dark:text-white"],[1,"col-span-2","flex","align-items-middle","h-fit","m-4"],["for","prod-brand",1,"font-bold","text-lg","dark:text-white"],[1,"inline-flex","items-center","me-5","ml-4"],["type","checkbox","value","","disabled","",1,"sr-only","peer"],[1,"relative","w-11","h-6","bg-gray-400","dark:bg-gray-700","rounded-full","peer","peer-focus:ring-4","peer-focus:ring-primary-100","peer-checked:after:translate-x-full","rtl:peer-checked:after:-translate-x-full","peer-checked:after:border-white","after:content-['']","after:absolute","after:top-0.5","after:start-[2px]","after:bg-white","after:border-gray-300","after:border","after:rounded-full","after:h-5","after:w-5","after:transition-all","peer-checked:bg-primary-100"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["role","status",1,"w-full","h-fit","flex","justify-center","align-middle"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","m-4"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],["scope","col",1,"px-6","py-3"],["scope","col",1,"hidden","md:table-cell","px-6","py-3"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],[1,"px-6","py-4","text-wrap","break-all"],[1,"hidden","md:table-cell","px-6","py-4"],[1,"bg-blue-100","dark:bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"px-6","py-4"],["id","select-checkbox","type","checkbox","value","",1,"w-4","h-4","text-blue-600","bg-gray-100","border-gray-300","rounded","focus:ring-blue-500","dark:focus:ring-blue-600","dark:ring-offset-gray-800","focus:ring-2","dark:bg-gray-700","dark:border-gray-600",3,"checked"],[1,"bg-blue-100","dark:bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"flex","pt-6","pb-2","justify-center","align-middle"],[1,"flex","cursor-pointer","shadow-lg","items-center","justify-center","px-3","h-8","text-sm","font-medium","text-gray-500","dark:text-white","bg-white","dark:bg-primary-100","dark:hover:bg-secondary-100","border","border-gray-300","dark:border-secondary-200","rounded-lg","hover:bg-gray-200",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle","mt-2"],[1,"m-4"],[1,"flex","justify-center","w-full","m-4"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","mt-4","mb-4"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200",3,"ngClass"],[1,"flex","w-full","justify-items-end","justify-end","m-4"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","mt-4"],[1,"border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200",3,"click","ngClass"],[1,"bg-blue-100","bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"bg-blue-100","bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"flex","w-full","justify-items-end","justify-end","ml-4","mt-4"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","mt-4","dark:bg-secondary-300"],[1,"flex","w-full","justify-between"],["scope","col",1,"flex","px-6","py-3","w-3/5"],["scope","col",1,"hidden","md:table-cell","flex","px-6","py-3","w-fit"],["scope","col",1,"flex","px-6","py-3","w-fit"],[1,"flex","border-b","hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200","w-full","justify-between"],[1,"flex","px-6","py-4","w-3/5","text-wrap","break-all"],[1,"hidden","md:table-cell","flex","px-6","py-4","w-fit"],[1,"flex","px-6","py-4","w-fit","justify-end"],["id","select-checkbox","type","checkbox","value","",1,"flex","w-4","h-4","justify-end","text-blue-600","bg-gray-100","border-gray-300","rounded","focus:ring-blue-500","dark:focus:ring-blue-600","dark:ring-offset-gray-800","focus:ring-2","dark:bg-gray-700","dark:border-gray-600",3,"click","checked"],[1,"hover:bg-gray-200","dark:bg-secondary-300","dark:border-gray-700","dark:hover:bg-secondary-200"],["colspan","3"],[1,"w-full",3,"child","parent","selected","path"],[1,"mt-4"],[3,"formGroup"],["for","treatment",1,"font-bold","text-lg","dark:text-white"],["formControlName","treatment","type","text","id","treatment",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["for","description",1,"font-bold","text-lg","dark:text-white"],[1,"w-full","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200"],[1,"bg-gray-50","dark:bg-secondary-300","dark:text-white","text-gray-900","text-wrap","break-all",3,"data"],[1,"flex","w-full","justify-items-center","justify-center","ml-4","mt-4"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],[1,"flex","w-full","justify-items-center","justify-center","ml-4"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["type","button",1,"text-white","bg-red-600","hover:bg-red-700","focus:ring-4","focus:outline-none","focus:ring-red-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4","text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M6 18 17.94 6M18 18 6.06 6"],["id","type",1,"ml-4","mt-4","shadow","bg-white","border","border-gray-300","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],[3,"value"],[1,"flex","m-4"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M11 16h2m6.707-9.293-2.414-2.414A1 1 0 0 0 16.586 4H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7.414a1 1 0 0 0-.293-.707ZM16 20v-6a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v6h8ZM9 4h6v3a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V4Z"],[1,"flex","flex-row","w-full","ml-4"],["type","number","pattern","[0-9]*.[0-9]*","required","",1,"block","p-2.5","w-3/4","z-20","text-sm","text-gray-900","bg-white","rounded-l-lg","rounded-s-gray-100","rounded-s-2","border-l","border-gray-300","focus:ring-blue-500","focus:border-blue-500"],["id","type",1,"bg-white","border-r","border-gray-300","0text-gray-90","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-1/4","p-2.5",3,"change"],["value","day"],["value","week"],["value","month"],["value","ms"],["value","s"],["value","min"],["scope","col",1,"hidden","xl:table-cell","px-6","py-3"],[1,"px-6","py-4","max-w-1/6","text-wrap","break-all"],[1,"hidden","xl:table-cell","px-6","py-4","text-wrap","break-all"],[1,"px-6","py-4","inline-flex"],["type","button",1,"ml-2","text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-1","text-center","inline-flex","items-center","me-2",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4","text-white"],["fill-rule","evenodd","d","M14 4.182A4.136 4.136 0 0 1 16.9 3c1.087 0 2.13.425 2.899 1.182A4.01 4.01 0 0 1 21 7.037c0 1.068-.43 2.092-1.194 2.849L18.5 11.214l-5.8-5.71 1.287-1.31.012-.012Zm-2.717 2.763L6.186 12.13l2.175 2.141 5.063-5.218-2.141-2.108Zm-6.25 6.886-1.98 5.849a.992.992 0 0 0 .245 1.026 1.03 1.03 0 0 0 1.043.242L10.282 19l-5.25-5.168Zm6.954 4.01 5.096-5.186-2.218-2.183-5.063 5.218 2.185 2.15Z","clip-rule","evenodd"],[1,"font-bold","text-xl","ml-4","dark:text-white"],[1,"xl:grid","xl:grid-cols-80/20","xl:gap-4","m-4",3,"change","formGroup"],[1,"font-bold","text-lg","dark:text-white"],["formControlName","name","type","text","id","name",1,"bg-gray-50","dark:bg-secondary-300","border","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change","ngClass"],[1,"mt-1","mb-2","text-sm","text-red-600","dark:text-red-500"],["id","type",1,"mb-2","shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],["value","CUSTOM"],["for","description",1,"font-bold","text-lg","col-span-2","dark:text-white"],["id","description","formControlName","description","rows","4",1,"col-span-2","block","p-2.5","w-full","text-sm","text-gray-900","bg-gray-50","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","rounded-lg","border","border-gray-300","focus:ring-blue-500","focus:border-blue-500"],["type","button",1,"flex","text-white","justify-center","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],[1,"flex","flex-row","w-full"],["type","number","pattern","[0-9]*.[0-9]*","formControlName","price",1,"bg-gray-50","dark:bg-secondary-300","border-l","text-gray-900","dark:text-white","text-sm","rounded-l-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["id","type",1,"bg-white","border-r","border-gray-300","dark:bg-secondary-300","text-gray-90","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-1/4","p-2.5",3,"change"],["value","ONE TIME"],["value","RECURRING"],["value","USAGE"],["id","type",1,"shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],["value","DAILY"],["value","WEEKLY"],["value","MONTHLY"],["value","QUARTERLY"],["value","YEARLY"],["value","QUINQUENNIAL"],["type","text",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","text-gray-900","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],[1,"w-full","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200","col-span-2"],["id","editor","formControlName","description","rows","8","placeholder","Add product description...",1,"block","w-full","px-0","text-sm","text-gray-800","border-0","dark:text-gray-200","bg-white","dark:bg-secondary-300"],["id","type",1,"w-full","md:w-1/3","shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","p-2.5",3,"change"],["value","none"],["value","price"],["value","discount"],[1,"ml-4","mb-4","md:grid","md:grid-cols-80/20","gap-4"],["id","type",1,"mb-2","col-span-2","w-1/3","shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],["formControlName","price","type","number","pattern","[0-9]*.[0-9]*","step","0.1",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["id","type",1,"shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","text-sm","dark:border-secondary-200","dark:text-white","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change"],["type","text",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","text-gray-900","text-sm","dark:border-secondary-200","dark:text-white","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"ml-4","mb-4","md:grid","md:grid-cols-20/80"],["id","type",1,"w-full","shadow","bg-white","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","p-2.5"],["value","fee"],["formControlName","price","type","number","pattern","[0-9]*.[0-9]*","step","0.1",1,"bg-gray-50","border-l","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-l-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["id","type",1,"bg-white","border-r","border-gray-300","text-gray-90","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-1/4","p-2.5"],["value","percentage"],["value","AUD"],[1,"col-span-2"],["id","type",1,"bg-white","border-l","border-gray-300","text-gray-90","text-sm","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","rounded-l-lg","focus:ring-blue-500","focus:border-blue-500","block","w-1/4","p-2.5"],["value","EQ"],["value","LT"],["value","LE"],["value","GT"],["type","number","pattern","[0-9]*.[0-9]*","step","0.1",1,"bg-gray-50","border-r","border-gray-300","text-gray-900","text-sm","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],[1,"m-8"],[1,"mb-4","md:grid","md:grid-cols-2","gap-4"],[1,"mb-2","bg-gray-50","text-wrap","break-all","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","border","border-gray-300","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"mb-2","bg-gray-50","text-wrap","break-all","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"mb-4"],[1,"font-bold","text-lg","mr-4","dark:text-white"],[1,"px-4","py-2","bg-white","rounded-lg","p-4","mb-4","dark:bg-secondary-300","border","dark:border-secondary-200","dark:text-white"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","bg-white","mb-4"],["for","treatment",1,"font-bold","text-base","dark:text-white"],[1,"font-bold","text-base","dark:text-white"],[1,"px-4","py-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","rounded-lg","p-4"],[1,"w-full","lg:w-3/4","xl:w-1/2","relative","bg-secondary-50","dark:bg-secondary-200","rounded-lg","shadow","bg-cover","bg-right-bottom",3,"click"],[1,"flex","items-center","justify-between","pr-2","pt-2","rounded-t","dark:border-gray-600"],[1,"text-xl","ml-4","mr-4","font-semibold","tracking-tight","text-primary-100","dark:text-white"],["type","button","data-modal-hide","edit-price-modal",1,"text-gray-400","bg-transparent","hover:bg-gray-200","hover:text-gray-900","rounded-lg","text-sm","w-8","h-8","ms-auto","inline-flex","justify-center","items-center","dark:hover:bg-gray-600","dark:hover:text-white",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 14",1,"w-3","h-3"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"],[1,"w-full","max-h-[80vh]","overflow-y-auto","overflow-x-hidden"],[1,"lg:grid","lg:grid-cols-80/20","gap-4","m-4","p-4",3,"change","formGroup"],["id","type",1,"mb-2","shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"value"],[1,"flex","w-full","justify-items-center","justify-center","m-2","p-2"],["id","type",1,"bg-white","border-r","border-gray-300","dark:bg-secondary-300","text-gray-90","dark:border-secondary-200","dark:text-white","text-sm","rounded-r-lg","focus:ring-blue-500","focus:border-blue-500","block","w-1/4","p-2.5",3,"change","value"],[3,"value","selected"],["id","type",1,"mb-2","shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change","value"],["id","type",1,"shadow","bg-white","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change","value"],["type","text",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","text-gray-900","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"change","value"]],template:function(a,t){1&a&&(o(0,"div",7)(1,"div",8)(2,"nav",9)(3,"ol",10)(4,"li",11)(5,"button",12),C("click",function(){return t.goBack()}),w(),o(6,"svg",13),v(7,"path",14),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",15)(11,"div",16),w(),o(12,"svg",17),v(13,"path",18),n(),O(),o(14,"span",19),f(15),m(16,"translate"),n()()()()()(),o(17,"div",20)(18,"h2",21),f(19),m(20,"translate"),n(),v(21,"hr",22),o(22,"div",23)(23,"div",24)(24,"h2",25),f(25),m(26,"translate"),n(),o(27,"button",26),C("click",function(){return t.toggleGeneral()}),o(28,"span",27),f(29," 1 "),n(),o(30,"span")(31,"h3",28),f(32),m(33,"translate"),n(),o(34,"p",29),f(35),m(36,"translate"),n()()(),v(37,"hr",30),o(38,"button",31),C("click",function(){return t.toggleBundle()}),o(39,"span",32),f(40," 2 "),n(),o(41,"span")(42,"h3",28),f(43),m(44,"translate"),n(),o(45,"p",29),f(46),m(47,"translate"),n()()(),v(48,"hr",30),o(49,"button",33),C("click",function(){return t.toggleProdSpec()}),o(50,"span",34),f(51," 3 "),n(),o(52,"span")(53,"h3",28),f(54),m(55,"translate"),n(),o(56,"p",29),f(57),m(58,"translate"),n()()(),v(59,"hr",30),o(60,"button",35),C("click",function(){return t.toggleCategories()}),o(61,"span",36),f(62," 4 "),n(),o(63,"span")(64,"h3",28),f(65),m(66,"translate"),n(),o(67,"p",29),f(68),m(69,"translate"),n()()(),v(70,"hr",30),o(71,"button",37),C("click",function(){return t.toggleLicense()}),o(72,"span",38),f(73," 5 "),n(),o(74,"span")(75,"h3",28),f(76),m(77,"translate"),n(),o(78,"p",29),f(79),m(80,"translate"),n()()(),v(81,"hr",30),o(82,"button",39),C("click",function(){return t.togglePrice()}),o(83,"span",40),f(84," 6 "),n(),o(85,"span")(86,"h3",28),f(87),m(88,"translate"),n(),o(89,"p",29),f(90),m(91,"translate"),n()()(),v(92,"hr",30),o(93,"button",41),C("click",function(){return t.showFinish()}),o(94,"span",42),f(95," 7 "),n(),o(96,"span")(97,"h3",28),f(98),m(99,"translate"),n(),o(100,"p",29),f(101),m(102,"translate"),n()()()(),o(103,"div"),R(104,g66,107,55)(105,S66,17,12)(106,G66,12,9)(107,r06,12,9)(108,u06,12,7)(109,v06,12,9)(110,w06,13,9)(111,Q06,13,8)(112,ge6,37,24),n()()(),R(113,ke6,40,29,"div",43)(114,Se6,1,1,"error-message",44),n()),2&a&&(s(8),V(" ",_(9,29,"UPDATE_OFFER._back")," "),s(7),H(_(16,31,"UPDATE_OFFER._update")),s(4),H(_(20,33,"UPDATE_OFFER._update")),s(6),H(_(26,35,"UPDATE_OFFER._steps")),s(7),H(_(33,37,"UPDATE_OFFER._general")),s(3),H(_(36,39,"UPDATE_OFFER._general_info")),s(8),H(_(44,41,"UPDATE_OFFER._bundle")),s(3),H(_(47,43,"UPDATE_OFFER._bundle_info")),s(8),H(_(55,45,"UPDATE_OFFER._prod_spec")),s(3),H(_(58,47,"UPDATE_OFFER._prod_spec_info")),s(8),H(_(66,49,"UPDATE_OFFER._category")),s(3),H(_(69,51,"UPDATE_OFFER._category_info")),s(8),H(_(77,53,"UPDATE_OFFER._license")),s(3),H(_(80,55,"UPDATE_OFFER._license_info")),s(8),H(_(88,57,"UPDATE_OFFER._price_plans")),s(3),H(_(91,59,"UPDATE_OFFER._price_plans_info")),s(8),H(_(99,61,"UPDATE_OFFER._finish")),s(3),H(_(102,63,"UPDATE_OFFER._summary")),s(3),S(104,t.showGeneral?104:-1),s(),S(105,t.showBundle?105:-1),s(),S(106,t.showProdSpec?106:-1),s(),S(107,t.showCatalog?107:-1),s(),S(108,t.showCategory?108:-1),s(),S(109,t.showLicense?109:-1),s(),S(110,t.showSLA?110:-1),s(),S(111,t.showPrice?111:-1),s(),S(112,t.showSummary?112:-1),s(),S(113,t.editPrice?113:-1),s(),S(114,t.showError?114:-1))},dependencies:[k2,I4,x6,w6,H4,Ta,N4,O4,Ll,X4,f3,G3,_4,Yl,C4,Q4,J1]})}return c})();const De6=()=>({position:"relative",left:"200px",top:"-500px"});function Te6(c,r){1&c&&v(0,"markdown",61),2&c&&k("data",h(2).description)}function Ee6(c,r){1&c&&v(0,"textarea",67)}function Ae6(c,r){if(1&c){const e=j();o(0,"emoji-mart",68),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(2).addEmoji(t))}),n()}2&c&&(Y2(A4(3,De6)),k("darkMode",!1))}function Pe6(c,r){if(1&c){const e=j();o(0,"h2",13),f(1),m(2,"translate"),n(),o(3,"form",28)(4,"label",29),f(5),m(6,"translate"),n(),v(7,"input",30),o(8,"label",29),f(9),m(10,"translate"),n(),o(11,"div",31)(12,"div",32)(13,"div",33)(14,"div",34)(15,"button",35),C("click",function(){return y(e),b(h().addBold())}),w(),o(16,"svg",36),v(17,"path",37),n(),O(),o(18,"span",38),f(19,"Bold"),n()(),o(20,"button",35),C("click",function(){return y(e),b(h().addItalic())}),w(),o(21,"svg",36),v(22,"path",39),n(),O(),o(23,"span",38),f(24,"Italic"),n()(),o(25,"button",35),C("click",function(){return y(e),b(h().addList())}),w(),o(26,"svg",40),v(27,"path",41),n(),O(),o(28,"span",38),f(29,"Add list"),n()(),o(30,"button",42),C("click",function(){return y(e),b(h().addOrderedList())}),w(),o(31,"svg",40),v(32,"path",43),n(),O(),o(33,"span",38),f(34,"Add ordered list"),n()(),o(35,"button",44),C("click",function(){return y(e),b(h().addBlockquote())}),w(),o(36,"svg",45),v(37,"path",46),n(),O(),o(38,"span",38),f(39,"Add blockquote"),n()(),o(40,"button",35),C("click",function(){return y(e),b(h().addTable())}),w(),o(41,"svg",47),v(42,"path",48),n(),O(),o(43,"span",38),f(44,"Add table"),n()(),o(45,"button",44),C("click",function(){return y(e),b(h().addCode())}),w(),o(46,"svg",47),v(47,"path",49),n(),O(),o(48,"span",38),f(49,"Add code"),n()(),o(50,"button",44),C("click",function(){return y(e),b(h().addCodeBlock())}),w(),o(51,"svg",47),v(52,"path",50),n(),O(),o(53,"span",38),f(54,"Add code block"),n()(),o(55,"button",44),C("click",function(){return y(e),b(h().addLink())}),w(),o(56,"svg",47),v(57,"path",51),n(),O(),o(58,"span",38),f(59,"Add link"),n()(),o(60,"button",42),C("click",function(t){y(e);const i=h();return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(61,"svg",52),v(62,"path",53),n(),O(),o(63,"span",38),f(64,"Add emoji"),n()()()(),o(65,"button",54),C("click",function(){y(e);const t=h();return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(66,"svg",40),v(67,"path",55)(68,"path",56),n(),O(),o(69,"span",38),f(70),m(71,"translate"),n()(),o(72,"div",57),f(73),m(74,"translate"),v(75,"div",58),n()(),o(76,"div",59)(77,"label",60),f(78,"Publish post"),n(),R(79,Te6,1,1,"markdown",61)(80,Ee6,1,0)(81,Ae6,1,4,"emoji-mart",62),n()()(),o(82,"div",63)(83,"button",64),C("click",function(){y(e);const t=h();return t.showFinish(),b(t.generalDone=!0)}),f(84),m(85,"translate"),w(),o(86,"svg",65),v(87,"path",66),n()()()}if(2&c){let e;const a=h();s(),H(_(2,32,"CREATE_CATALOG._general")),s(2),k("formGroup",a.generalForm),s(2),H(_(6,34,"CREATE_CATALOG._name")),s(2),k("ngClass",1==(null==(e=a.generalForm.get("name"))?null:e.invalid)&&""!=a.generalForm.value.name?"border-red-600":"border-gray-300"),s(2),H(_(10,36,"CREATE_CATALOG._description")),s(6),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(71,38,"CREATE_CATALOG._preview")),s(3),V(" ",_(74,40,"CREATE_CATALOG._show_preview")," "),s(6),S(79,a.showPreview?79:80),s(2),S(81,a.showEmoji?81:-1),s(2),k("disabled",!a.generalForm.valid)("ngClass",a.generalForm.valid?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(85,42,"CREATE_CATALOG._next")," ")}}function Re6(c,r){if(1&c&&(o(0,"span",75),f(1),n()),2&c){const e=h(2);s(),H(null==e.catalogToCreate?null:e.catalogToCreate.lifecycleStatus)}}function Be6(c,r){if(1&c&&(o(0,"span",78),f(1),n()),2&c){const e=h(2);s(),H(null==e.catalogToCreate?null:e.catalogToCreate.lifecycleStatus)}}function Oe6(c,r){if(1&c&&(o(0,"span",79),f(1),n()),2&c){const e=h(2);s(),H(null==e.catalogToCreate?null:e.catalogToCreate.lifecycleStatus)}}function Ie6(c,r){if(1&c&&(o(0,"span",80),f(1),n()),2&c){const e=h(2);s(),H(null==e.catalogToCreate?null:e.catalogToCreate.lifecycleStatus)}}function Ue6(c,r){if(1&c&&(o(0,"label",71),f(1),m(2,"translate"),n(),o(3,"div",81),v(4,"markdown",82),n()),2&c){const e=h(2);s(),H(_(2,2,"CREATE_CATALOG._description")),s(3),k("data",null==e.catalogToCreate?null:e.catalogToCreate.description)}}function je6(c,r){if(1&c){const e=j();o(0,"h2",69),f(1),m(2,"translate"),n(),o(3,"div",70)(4,"div")(5,"label",71),f(6),m(7,"translate"),n(),o(8,"label",72),f(9),n()(),o(10,"div",73)(11,"label",74),f(12),m(13,"translate"),n(),R(14,Re6,2,1,"span",75)(15,Be6,2,1)(16,Oe6,2,1)(17,Ie6,2,1),n(),R(18,Ue6,5,4),o(19,"div",76)(20,"button",77),C("click",function(){return y(e),b(h().createCatalog())}),f(21),m(22,"translate"),w(),o(23,"svg",65),v(24,"path",66),n()()()()}if(2&c){const e=h();s(),H(_(2,7,"CREATE_CATALOG._finish")),s(5),H(_(7,9,"CREATE_CATALOG._name")),s(3),V(" ",null==e.catalogToCreate?null:e.catalogToCreate.name," "),s(3),H(_(13,11,"CREATE_CATALOG._status")),s(2),S(14,"Active"==(null==e.catalogToCreate?null:e.catalogToCreate.lifecycleStatus)?14:"Launched"==(null==e.catalogToCreate?null:e.catalogToCreate.lifecycleStatus)?15:"Retired"==(null==e.catalogToCreate?null:e.catalogToCreate.lifecycleStatus)?16:"Obsolete"==(null==e.catalogToCreate?null:e.catalogToCreate.lifecycleStatus)?17:-1),s(4),S(18,""!=(null==e.catalogToCreate?null:e.catalogToCreate.description)?18:-1),s(3),V(" ",_(22,13,"CREATE_CATALOG._create")," ")}}function $e6(c,r){1&c&&v(0,"error-message",27),2&c&&k("message",h().errorMessage)}let Ye6=(()=>{class c{constructor(e,a,t,i,l,d){this.router=e,this.cdr=a,this.localStorage=t,this.eventMessage=i,this.elementRef=l,this.api=d,this.partyId="",this.stepsElements=["general-info","summary"],this.stepsCircles=["general-circle","summary-circle"],this.showPreview=!1,this.showEmoji=!1,this.description="",this.showGeneral=!0,this.showSummary=!1,this.generalDone=!1,this.finishDone=!1,this.generalForm=new S2({name:new u1("",[O1.required]),description:new u1("")}),this.errorMessage="",this.showError=!1,this.eventMessage.messages$.subscribe(u=>{"ChangedSession"===u.type&&this.initPartyInfo()})}onClick(){1==this.showEmoji&&(this.showEmoji=!1,this.cdr.detectChanges())}ngOnInit(){this.initPartyInfo()}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0)if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}}goBack(){this.eventMessage.emitSellerCatalog(!0)}toggleGeneral(){this.selectStep("general-info","general-circle"),this.showGeneral=!0,this.showSummary=!1,this.showPreview=!1}showFinish(){this.finishDone=!0,null!=this.generalForm.value.name&&(this.catalogToCreate={name:this.generalForm.value.name,description:null!=this.generalForm.value.description?this.generalForm.value.description:"",lifecycleStatus:"Active",relatedParty:[{id:this.partyId,role:"Owner","@referredType":""}]},console.log("CATALOG TO CREATE:"),console.log(this.catalogToCreate),this.showGeneral=!1,this.showSummary=!0,this.selectStep("summary","summary-circle")),this.showPreview=!1}createCatalog(){this.api.postCatalog(this.catalogToCreate).subscribe({next:e=>{this.goBack()},error:e=>{console.error("There was an error while updating!",e),e.error.error?(console.log(e),this.errorMessage="Error: "+e.error.error):this.errorMessage="There was an error while creating the catalog!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}removeClass(e,a){e.className=(" "+e.className+" ").replace(" "+a+" "," ").replace(/^\s+|\s+$/g,"")}addClass(e,a){e.className+=" "+a}unselectMenu(e,a){null!=e&&(e.className.match(a)?this.removeClass(e,a):console.log("already unselected"))}selectMenu(e,a){null!=e&&(e.className.match(a)?console.log("already selected"):this.addClass(e,a))}selectStep(e,a){const t=this.stepsElements.findIndex(l=>l===e);if(-1!==t){this.stepsElements.splice(t,1),this.selectMenu(document.getElementById(e),"text-primary-100 dark:text-primary-50"),this.unselectMenu(document.getElementById(e),"text-gray-500");for(let l=0;ll===a);if(-1!==t){this.stepsCircles.splice(i,1),this.selectMenu(document.getElementById(a),"border-primary-100 dark:border-primary-50"),this.unselectMenu(document.getElementById(a),"border-gray-400");for(let l=0;l blockquote"})}addLink(){this.generalForm.patchValue({description:this.generalForm.value.description+" [title](https://www.example.com) "})}addTable(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"})}addEmoji(e){console.log(e),this.showEmoji=!1,this.generalForm.patchValue({description:this.generalForm.value.description+e.emoji.native})}togglePreview(){this.generalForm.value.description&&(this.description=this.generalForm.value.description)}static#e=this.\u0275fac=function(a){return new(a||c)(B(Z1),B(B1),B(R1),B(e2),B(v2),B(p1))};static#c=this.\u0275cmp=V1({type:c,selectors:[["create-catalog"]],hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},decls:52,vars:29,consts:[[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-gray-200","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","mt-4","p-8","rounded-lg"],[1,"text-3xl","font-bold","text-primary-100","dark:text-white","ml-4"],[1,"h-px","m-4","bg-gray-300","dark:bg-gray-200","border-0"],[1,"md:grid","md:grid-cols-25/75","xl:grid-cols-20/80"],[1,"flex","sm:flex-row","md:flex-col","md:mr-4","overflow-x-auto","max-w-[calc(100vw-5rem)]"],[1,"text-xl","hidden","md:block","font-bold","text-black","mb-4","dark:text-white"],["id","general-info",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-primary-100","dark:text-primary-50","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","general-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-primary-100","dark:border-primary-50","rounded-full","shrink-0"],[1,"flex","sm:text-center","md:text-start"],[1,"hidden","xl:flex","text-xs","sm:text-center","md:text-start"],[1,"h-px","mb-2","bg-gray-300","dark:bg-gray-200","border-0"],["id","summary",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","summary-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],[1,"flex","justify-start"],[1,"hidden","xl:flex","text-xs","justify-start","text-start"],[1,"fixed","w-fit","top-1/2","left-1/2",3,"message"],[1,"m-4","gap-4",3,"formGroup"],["for","prod-name",1,"font-bold","text-lg","dark:text-white"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],[1,"w-full","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200"],[1,"flex","items-center","justify-between","px-3","py-2","border-b"],[1,"flex","flex-wrap","items-center","divide-gray-200","dark:divide-secondary-200","sm:divide-x","sm:rtl:divide-x-reverse"],[1,"flex","items-center","space-x-1","rtl:space-x-reverse","sm:pe-4","text-gray-500","dark:text-gray-200"],["type","button",1,"p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 5h4.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0-7H6m2 7h6.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0 0H6"],[1,"sr-only"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8.874 19 6.143-14M6 19h6.33m-.66-14H18"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M9 8h10M9 12h10M9 16h10M4.99 8H5m-.02 4h.01m0 4H5"],["type","button",1,"hidden","lg:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4"],["type","button",1,"hidden","md:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["fill-rule","evenodd","d","M5 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm0 12a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm1.65-9.76A1 1 0 0 0 5 9v6a1 1 0 0 0 1.65.76l3.5-3a1 1 0 0 0 0-1.52l-3.5-3ZM12 10a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Zm0 4a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Z","clip-rule","evenodd"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-width","2","d","M3 11h18m-9 0v8m-8 0h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 3v4a1 1 0 0 1-1 1H5m5 4-2 2 2 2m4-4 2 2-2 2m5-12v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M13.213 9.787a3.391 3.391 0 0 0-4.795 0l-3.425 3.426a3.39 3.39 0 0 0 4.795 4.794l.321-.304m-.321-4.49a3.39 3.39 0 0 0 4.795 0l3.424-3.426a3.39 3.39 0 0 0-4.794-4.795l-1.028.961"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-4","h-4"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM13.5 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm-7 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm3.5 9.5A5.5 5.5 0 0 1 4.6 11h10.81A5.5 5.5 0 0 1 10 15.5Z"],["type","button","data-tooltip-target","tooltip-fullscreen",1,"rounded","cursor-pointer","text-gray-500","dark:text-gray-200","p-2","sm:ms-auto","hover:text-gray-900","dark:hover:text-gray-900","hover:bg-gray-100",3,"click"],["stroke","currentColor","stroke-width","2","d","M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z"],["stroke","currentColor","stroke-width","2","d","M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"],["id","tooltip-fullscreen","role","tooltip",1,"absolute","z-10","invisible","inline-block","px-3","py-2","text-sm","font-medium","text-white","transition-opacity","duration-300","bg-gray-900","rounded-lg","shadow-sm","opacity-0","tooltip"],["data-popper-arrow","",1,"tooltip-arrow"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","rounded-b-lg"],["for","editor",1,"sr-only"],[1,"text-gray-800","dark:text-gray-200","text-wrap","break-all",3,"data"],[3,"darkMode","style"],[1,"flex","w-full","justify-items-end","justify-end"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],["id","editor","formControlName","description","rows","8","placeholder","Add product description...",1,"block","w-full","px-0","text-sm","text-gray-800","dark:text-gray-200","bg-white","dark:bg-secondary-300","border-0"],[3,"click","emojiClick","darkMode"],[1,"text-3xl","font-bold","text-primary-100","ml-4","dark:text-white"],[1,"m-8"],[1,"font-bold","text-lg","dark:text-white"],[1,"mb-2","bg-gray-50","text-wrap","break-all","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"mb-4"],[1,"font-bold","text-lg","mr-4","dark:text-white"],[1,"bg-blue-100","dark:bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"flex","w-full","justify-items-end","justify-end","ml-4"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],[1,"bg-blue-100","dark:bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"px-4","py-2","bg-white","rounded-lg","p-4","mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900"],[1,"bg-gray-50","text-wrap","break-all","dark:bg-secondary-300","dark:text-white","text-gray-900",3,"data"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",0)(2,"nav",1)(3,"ol",2)(4,"li",3)(5,"button",4),C("click",function(){return t.goBack()}),w(),o(6,"svg",5),v(7,"path",6),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",7)(11,"div",8),w(),o(12,"svg",9),v(13,"path",10),n(),O(),o(14,"span",11),f(15),m(16,"translate"),n()()()()()(),o(17,"div",12)(18,"h2",13),f(19),m(20,"translate"),n(),v(21,"hr",14),o(22,"div",15)(23,"div",16)(24,"h2",17),f(25),m(26,"translate"),n(),o(27,"button",18),C("click",function(){return t.toggleGeneral()}),o(28,"span",19),f(29," 1 "),n(),o(30,"span")(31,"h3",20),f(32),m(33,"translate"),n(),o(34,"p",21),f(35),m(36,"translate"),n()()(),v(37,"hr",22),o(38,"button",23),C("click",function(){return t.showFinish()}),o(39,"span",24),f(40," 2 "),n(),o(41,"span")(42,"h3",25),f(43),m(44,"translate"),n(),o(45,"p",26),f(46),m(47,"translate"),n()()()(),o(48,"div"),R(49,Pe6,88,44)(50,je6,25,15),n()()()(),R(51,$e6,1,1,"error-message",27)),2&a&&(s(8),V(" ",_(9,13,"CREATE_CATALOG._back")," "),s(7),H(_(16,15,"CREATE_CATALOG._create")),s(4),H(_(20,17,"CREATE_CATALOG._new")),s(6),H(_(26,19,"CREATE_CATALOG._steps")),s(2),k("disabled",!t.generalDone),s(5),H(_(33,21,"UPDATE_CATALOG._general")),s(3),H(_(36,23,"UPDATE_CATALOG._general_info")),s(3),k("disabled",!t.finishDone),s(5),H(_(44,25,"UPDATE_CATALOG._finish")),s(3),H(_(47,27,"UPDATE_CATALOG._summary")),s(3),S(49,t.showGeneral?49:-1),s(),S(50,t.showSummary?50:-1),s(),S(51,t.showError?51:-1))},dependencies:[k2,I4,H4,N4,O4,X4,f3,G3,_4,C4,J1]})}return c})();const Ge6=()=>({position:"relative",left:"200px",top:"-500px"});function qe6(c,r){if(1&c){const e=j();o(0,"li",74),C("click",function(){return y(e),b(h(2).setCatStatus("Active"))}),o(1,"span",8),w(),o(2,"svg",75),v(3,"path",76),n(),f(4," Active "),n()()}}function We6(c,r){if(1&c){const e=j();o(0,"li",77),C("click",function(){return y(e),b(h(2).setCatStatus("Active"))}),o(1,"span",8),f(2," Active "),n()()}}function Ze6(c,r){if(1&c){const e=j();o(0,"li",78),C("click",function(){return y(e),b(h(2).setCatStatus("Launched"))}),o(1,"span",8),w(),o(2,"svg",79),v(3,"path",76),n(),f(4," Launched "),n()()}}function Ke6(c,r){if(1&c){const e=j();o(0,"li",77),C("click",function(){return y(e),b(h(2).setCatStatus("Launched"))}),o(1,"span",8),f(2," Launched "),n()()}}function Qe6(c,r){if(1&c){const e=j();o(0,"li",80),C("click",function(){return y(e),b(h(2).setCatStatus("Retired"))}),o(1,"span",8),w(),o(2,"svg",81),v(3,"path",76),n(),f(4," Retired "),n()()}}function Je6(c,r){if(1&c){const e=j();o(0,"li",77),C("click",function(){return y(e),b(h(2).setCatStatus("Retired"))}),o(1,"span",8),f(2," Retired "),n()()}}function Xe6(c,r){if(1&c){const e=j();o(0,"li",82),C("click",function(){return y(e),b(h(2).setCatStatus("Obsolete"))}),o(1,"span",83),w(),o(2,"svg",84),v(3,"path",76),n(),f(4," Obsolete "),n()()}}function e86(c,r){if(1&c){const e=j();o(0,"li",82),C("click",function(){return y(e),b(h(2).setCatStatus("Obsolete"))}),o(1,"span",8),f(2," Obsolete "),n()()}}function c86(c,r){1&c&&v(0,"markdown",68),2&c&&k("data",h(2).description)}function a86(c,r){1&c&&v(0,"textarea",85)}function r86(c,r){if(1&c){const e=j();o(0,"emoji-mart",86),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(2).addEmoji(t))}),n()}2&c&&(Y2(A4(3,Ge6)),k("darkMode",!1))}function t86(c,r){if(1&c){const e=j();o(0,"h2",13),f(1),m(2,"translate"),n(),o(3,"form",28)(4,"label",29),f(5),m(6,"translate"),n(),v(7,"input",30),o(8,"label",31),f(9),m(10,"translate"),n(),o(11,"div",32)(12,"ol",33),R(13,qe6,5,0,"li",34)(14,We6,3,0)(15,Ze6,5,0,"li",35)(16,Ke6,3,0)(17,Qe6,5,0,"li",36)(18,Je6,3,0)(19,Xe6,5,0,"li",37)(20,e86,3,0),n()(),o(21,"label",29),f(22),m(23,"translate"),n(),o(24,"div",38)(25,"div",39)(26,"div",40)(27,"div",41)(28,"button",42),C("click",function(){return y(e),b(h().addBold())}),w(),o(29,"svg",43),v(30,"path",44),n(),O(),o(31,"span",45),f(32,"Bold"),n()(),o(33,"button",42),C("click",function(){return y(e),b(h().addItalic())}),w(),o(34,"svg",43),v(35,"path",46),n(),O(),o(36,"span",45),f(37,"Italic"),n()(),o(38,"button",42),C("click",function(){return y(e),b(h().addList())}),w(),o(39,"svg",47),v(40,"path",48),n(),O(),o(41,"span",45),f(42,"Add list"),n()(),o(43,"button",49),C("click",function(){return y(e),b(h().addOrderedList())}),w(),o(44,"svg",47),v(45,"path",50),n(),O(),o(46,"span",45),f(47,"Add ordered list"),n()(),o(48,"button",51),C("click",function(){return y(e),b(h().addBlockquote())}),w(),o(49,"svg",52),v(50,"path",53),n(),O(),o(51,"span",45),f(52,"Add blockquote"),n()(),o(53,"button",42),C("click",function(){return y(e),b(h().addTable())}),w(),o(54,"svg",54),v(55,"path",55),n(),O(),o(56,"span",45),f(57,"Add table"),n()(),o(58,"button",51),C("click",function(){return y(e),b(h().addCode())}),w(),o(59,"svg",54),v(60,"path",56),n(),O(),o(61,"span",45),f(62,"Add code"),n()(),o(63,"button",51),C("click",function(){return y(e),b(h().addCodeBlock())}),w(),o(64,"svg",54),v(65,"path",57),n(),O(),o(66,"span",45),f(67,"Add code block"),n()(),o(68,"button",51),C("click",function(){return y(e),b(h().addLink())}),w(),o(69,"svg",54),v(70,"path",58),n(),O(),o(71,"span",45),f(72,"Add link"),n()(),o(73,"button",49),C("click",function(t){y(e);const i=h();return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(74,"svg",59),v(75,"path",60),n(),O(),o(76,"span",45),f(77,"Add emoji"),n()()()(),o(78,"button",61),C("click",function(){y(e);const t=h();return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(79,"svg",47),v(80,"path",62)(81,"path",63),n(),O(),o(82,"span",45),f(83),m(84,"translate"),n()(),o(85,"div",64),f(86),m(87,"translate"),v(88,"div",65),n()(),o(89,"div",66)(90,"label",67),f(91,"Publish post"),n(),R(92,c86,1,1,"markdown",68)(93,a86,1,0)(94,r86,1,4,"emoji-mart",69),n()()(),o(95,"div",70)(96,"button",71),C("click",function(){y(e);const t=h();return t.showFinish(),b(t.generalDone=!0)}),f(97),m(98,"translate"),w(),o(99,"svg",72),v(100,"path",73),n()()()}if(2&c){let e;const a=h();s(),H(_(2,37,"UPDATE_CATALOG._general")),s(2),k("formGroup",a.generalForm),s(2),H(_(6,39,"UPDATE_CATALOG._name")),s(2),k("ngClass",1==(null==(e=a.generalForm.get("name"))?null:e.invalid)&&""!=a.generalForm.value.name?"border-red-600":"border-gray-300"),s(2),H(_(10,41,"UPDATE_CATALOG._status")),s(4),S(13,"Active"==a.catStatus?13:14),s(2),S(15,"Launched"==a.catStatus?15:16),s(2),S(17,"Retired"==a.catStatus?17:18),s(2),S(19,"Obsolete"==a.catStatus?19:20),s(3),H(_(23,43,"UPDATE_CATALOG._description")),s(6),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(84,45,"CREATE_CATALOG._preview")),s(3),V(" ",_(87,47,"CREATE_CATALOG._show_preview")," "),s(6),S(92,a.showPreview?92:93),s(2),S(94,a.showEmoji?94:-1),s(2),k("disabled",!a.generalForm.valid)("ngClass",a.generalForm.valid?"hover:bg-primary-50":"opacity-50"),s(),V(" ",_(98,49,"UPDATE_CATALOG._next")," ")}}function i86(c,r){if(1&c&&(o(0,"span",91),f(1),n()),2&c){const e=h(2);s(),H(null==e.catalogToUpdate?null:e.catalogToUpdate.lifecycleStatus)}}function o86(c,r){if(1&c&&(o(0,"span",94),f(1),n()),2&c){const e=h(2);s(),H(null==e.catalogToUpdate?null:e.catalogToUpdate.lifecycleStatus)}}function n86(c,r){if(1&c&&(o(0,"span",95),f(1),n()),2&c){const e=h(2);s(),H(null==e.catalogToUpdate?null:e.catalogToUpdate.lifecycleStatus)}}function s86(c,r){if(1&c&&(o(0,"span",96),f(1),n()),2&c){const e=h(2);s(),H(null==e.catalogToUpdate?null:e.catalogToUpdate.lifecycleStatus)}}function l86(c,r){if(1&c&&(o(0,"label",31),f(1),m(2,"translate"),n(),o(3,"div",97),v(4,"markdown",98),n()),2&c){const e=h(2);s(),H(_(2,2,"UPDATE_CATALOG._description")),s(3),k("data",null==e.catalogToUpdate?null:e.catalogToUpdate.description)}}function f86(c,r){if(1&c){const e=j();o(0,"h2",13),f(1),m(2,"translate"),n(),o(3,"div",87)(4,"div")(5,"label",31),f(6),m(7,"translate"),n(),o(8,"label",88),f(9),n()(),o(10,"div",89)(11,"label",90),f(12),m(13,"translate"),n(),R(14,i86,2,1,"span",91)(15,o86,2,1)(16,n86,2,1)(17,s86,2,1),n(),R(18,l86,5,4),o(19,"div",92)(20,"button",93),C("click",function(){return y(e),b(h().createCatalog())}),f(21),m(22,"translate"),w(),o(23,"svg",72),v(24,"path",73),n()()()()}if(2&c){const e=h();s(),H(_(2,7,"UPDATE_CATALOG._finish")),s(5),H(_(7,9,"UPDATE_CATALOG._name")),s(3),V(" ",e.generalForm.value.name," "),s(3),H(_(13,11,"UPDATE_CATALOG._status")),s(2),S(14,"Active"==(null==e.catalogToUpdate?null:e.catalogToUpdate.lifecycleStatus)?14:"Launched"==(null==e.catalogToUpdate?null:e.catalogToUpdate.lifecycleStatus)?15:"Retired"==(null==e.catalogToUpdate?null:e.catalogToUpdate.lifecycleStatus)?16:"Obsolete"==(null==e.catalogToUpdate?null:e.catalogToUpdate.lifecycleStatus)?17:-1),s(4),S(18,""!=(null==e.catalogToUpdate?null:e.catalogToUpdate.description)?18:-1),s(3),V(" ",_(22,13,"UPDATE_CATALOG._update")," ")}}function d86(c,r){1&c&&v(0,"error-message",27),2&c&&k("message",h().errorMessage)}let u86=(()=>{class c{constructor(e,a,t,i,l,d){this.router=e,this.cdr=a,this.localStorage=t,this.eventMessage=i,this.elementRef=l,this.api=d,this.partyId="",this.stepsElements=["general-info","summary"],this.stepsCircles=["general-circle","summary-circle"],this.showPreview=!1,this.showEmoji=!1,this.description="",this.showGeneral=!0,this.showSummary=!1,this.generalDone=!1,this.generalForm=new S2({name:new u1("",[O1.required]),description:new u1("")}),this.catStatus="Active",this.errorMessage="",this.showError=!1,this.eventMessage.messages$.subscribe(u=>{"ChangedSession"===u.type&&this.initPartyInfo()})}onClick(){1==this.showEmoji&&(this.showEmoji=!1,this.cdr.detectChanges())}ngOnInit(){this.initPartyInfo(),this.populateCatInfo()}populateCatInfo(){this.generalForm.controls.name.setValue(this.cat.name),this.generalForm.controls.description.setValue(this.cat.description),this.catStatus=this.cat.lifecycleStatus}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0)if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}}goBack(){this.eventMessage.emitSellerCatalog(!0)}toggleGeneral(){this.selectStep("general-info","general-circle"),this.showGeneral=!0,this.showSummary=!1,this.showPreview=!1}setCatStatus(e){this.catStatus=e,this.cdr.detectChanges()}showFinish(){null!=this.generalForm.value.name&&(this.catalogToUpdate={description:null!=this.generalForm.value.description?this.generalForm.value.description:"",lifecycleStatus:this.catStatus},this.cat.name!=this.generalForm.value.name&&(this.catalogToUpdate.name=this.generalForm.value.name),console.log("CATALOG TO UPDATE:"),console.log(this.catalogToUpdate),this.showGeneral=!1,this.showSummary=!0,this.selectStep("summary","summary-circle")),this.showPreview=!1}createCatalog(){this.api.updateCatalog(this.catalogToUpdate,this.cat.id).subscribe({next:e=>{this.goBack()},error:e=>{console.error("There was an error while updating!",e),e.error.error?(console.log(e),this.errorMessage="Error: "+e.error.error):this.errorMessage="There was an error while updating the catalog!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}removeClass(e,a){e.className=(" "+e.className+" ").replace(" "+a+" "," ").replace(/^\s+|\s+$/g,"")}addClass(e,a){e.className+=" "+a}unselectMenu(e,a){null!=e&&(e.className.match(a)?this.removeClass(e,a):console.log("already unselected"))}selectMenu(e,a){null!=e&&(e.className.match(a)?console.log("already selected"):this.addClass(e,a))}selectStep(e,a){const t=this.stepsElements.findIndex(l=>l===e);if(-1!==t){this.stepsElements.splice(t,1),this.selectMenu(document.getElementById(e),"text-primary-100 dark:text-primary-50"),this.unselectMenu(document.getElementById(e),"text-gray-500");for(let l=0;ll===a);if(-1!==t){this.stepsCircles.splice(i,1),this.selectMenu(document.getElementById(a),"border-primary-100 dark:border-primary-50"),this.unselectMenu(document.getElementById(a),"border-gray-400");for(let l=0;l blockquote"})}addLink(){this.generalForm.patchValue({description:this.generalForm.value.description+" [title](https://www.example.com) "})}addTable(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"})}addEmoji(e){console.log(e),this.showEmoji=!1,this.generalForm.patchValue({description:this.generalForm.value.description+e.emoji.native})}togglePreview(){this.generalForm.value.description&&(this.description=this.generalForm.value.description)}static#e=this.\u0275fac=function(a){return new(a||c)(B(Z1),B(B1),B(R1),B(e2),B(v2),B(p1))};static#c=this.\u0275cmp=V1({type:c,selectors:[["update-catalog"]],hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},inputs:{cat:"cat"},decls:52,vars:27,consts:[[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-secondary-50","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","mt-4","p-8","rounded-lg"],[1,"text-3xl","font-bold","text-primary-100","dark:text-white","ml-4"],[1,"h-px","m-4","bg-gray-300","dark:bg-gray-200","border-0"],[1,"md:grid","md:grid-cols-25/75","xl:grid-cols-20/80"],[1,"flex","sm:flex-row","md:flex-col","md:mr-4","overflow-x-auto","max-w-[calc(100vw-5rem)]"],[1,"text-xl","hidden","md:block","font-bold","text-black","mb-4","dark:text-white"],["id","general-info",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-primary-100","dark:text-primary-50","justify-items-center","md:justify-items-start",3,"click"],["id","general-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-primary-100","dark:border-primary-50","rounded-full","shrink-0"],[1,"flex","sm:text-center","md:text-start"],[1,"hidden","xl:flex","text-xs","sm:text-center","md:text-start"],[1,"h-px","mb-2","bg-gray-300","dark:bg-gray-200","border-0"],["id","summary",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-25/75","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","summary-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],[1,"flex","justify-start"],[1,"hidden","xl:flex","text-xs","justify-start","text-start"],[1,"fixed","w-fit","top-1/2","left-1/2",3,"message"],[1,"m-4","gap-4",3,"formGroup"],["for","prod-name",1,"font-bold","text-lg","dark:text-white"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],[1,"font-bold","text-lg","dark:text-white"],[1,"mb-2","w-full"],[1,"flex","items-center","w-full","text-sm","font-medium","text-center","text-gray-500","dark:text-gray-200","sm:text-base"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-blue-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-green-700","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-yellow-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","items-center"],[1,"w-full","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200"],[1,"flex","items-center","justify-between","px-3","py-2","border-b"],[1,"flex","flex-wrap","items-center","divide-gray-200","dark:divide-secondary-200","sm:divide-x","sm:rtl:divide-x-reverse"],[1,"flex","items-center","space-x-1","rtl:space-x-reverse","sm:pe-4","text-gray-500","dark:text-gray-200"],["type","button",1,"p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 5h4.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0-7H6m2 7h6.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0 0H6"],[1,"sr-only"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8.874 19 6.143-14M6 19h6.33m-.66-14H18"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M9 8h10M9 12h10M9 16h10M4.99 8H5m-.02 4h.01m0 4H5"],["type","button",1,"hidden","lg:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4"],["type","button",1,"hidden","md:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["fill-rule","evenodd","d","M5 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm0 12a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm1.65-9.76A1 1 0 0 0 5 9v6a1 1 0 0 0 1.65.76l3.5-3a1 1 0 0 0 0-1.52l-3.5-3ZM12 10a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Zm0 4a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Z","clip-rule","evenodd"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-width","2","d","M3 11h18m-9 0v8m-8 0h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 3v4a1 1 0 0 1-1 1H5m5 4-2 2 2 2m4-4 2 2-2 2m5-12v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M13.213 9.787a3.391 3.391 0 0 0-4.795 0l-3.425 3.426a3.39 3.39 0 0 0 4.795 4.794l.321-.304m-.321-4.49a3.39 3.39 0 0 0 4.795 0l3.424-3.426a3.39 3.39 0 0 0-4.794-4.795l-1.028.961"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-4","h-4"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM13.5 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm-7 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm3.5 9.5A5.5 5.5 0 0 1 4.6 11h10.81A5.5 5.5 0 0 1 10 15.5Z"],["type","button","data-tooltip-target","tooltip-fullscreen",1,"rounded","cursor-pointer","text-gray-500","dark:text-gray-200","p-2","sm:ms-auto","hover:text-gray-900","dark:hover:text-gray-900","hover:bg-gray-100",3,"click"],["stroke","currentColor","stroke-width","2","d","M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z"],["stroke","currentColor","stroke-width","2","d","M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"],["id","tooltip-fullscreen","role","tooltip",1,"absolute","z-10","invisible","inline-block","px-3","py-2","text-sm","font-medium","text-white","transition-opacity","duration-300","bg-gray-900","rounded-lg","shadow-sm","opacity-0","tooltip"],["data-popper-arrow","",1,"tooltip-arrow"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","rounded-b-lg"],["for","editor",1,"sr-only"],[1,"text-gray-800","dark:text-gray-200","text-wrap","break-all",3,"data"],[3,"darkMode","style"],[1,"flex","w-full","justify-items-end","justify-end"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-blue-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-blue-500"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M8.737 8.737a21.49 21.49 0 0 1 3.308-2.724m0 0c3.063-2.026 5.99-2.641 7.331-1.3 1.827 1.828.026 6.591-4.023 10.64-4.049 4.049-8.812 5.85-10.64 4.023-1.33-1.33-.736-4.218 1.249-7.253m6.083-6.11c-3.063-2.026-5.99-2.641-7.331-1.3-1.827 1.828-.026 6.591 4.023 10.64m3.308-9.34a21.497 21.497 0 0 1 3.308 2.724m2.775 3.386c1.985 3.035 2.579 5.923 1.248 7.253-1.336 1.337-4.245.732-7.295-1.275M14 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-green-700","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-green-700"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-yellow-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-yellow-500"],[1,"cursor-pointer","flex","items-center",3,"click"],[1,"flex","items-center","text-red-800"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-red-800"],["id","editor","formControlName","description","rows","8","placeholder","Add product description...",1,"block","w-full","px-0","text-sm","text-gray-800","dark:text-gray-200","bg-white","dark:bg-secondary-300","border-0"],[3,"click","emojiClick","darkMode"],[1,"m-8"],[1,"mb-2","bg-gray-50","text-wrap","break-all","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"mb-4"],[1,"font-bold","text-lg","mr-4","dark:text-white"],[1,"bg-blue-100","dark:bg-secondary-100","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"flex","w-full","justify-items-end","justify-end","ml-4"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],[1,"bg-blue-100","dark:bg-secondary-100","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-100","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-100","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"px-4","py-2","bg-white","rounded-lg","p-4","mb-4","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900"],[1,"bg-gray-50","text-wrap","break-all","dark:bg-secondary-300","dark:text-white","text-gray-900",3,"data"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",0)(2,"nav",1)(3,"ol",2)(4,"li",3)(5,"button",4),C("click",function(){return t.goBack()}),w(),o(6,"svg",5),v(7,"path",6),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",7)(11,"div",8),w(),o(12,"svg",9),v(13,"path",10),n(),O(),o(14,"span",11),f(15),m(16,"translate"),n()()()()()(),o(17,"div",12)(18,"h2",13),f(19),m(20,"translate"),n(),v(21,"hr",14),o(22,"div",15)(23,"div",16)(24,"h2",17),f(25),m(26,"translate"),n(),o(27,"button",18),C("click",function(){return t.toggleGeneral()}),o(28,"span",19),f(29," 1 "),n(),o(30,"span")(31,"h3",20),f(32),m(33,"translate"),n(),o(34,"p",21),f(35),m(36,"translate"),n()()(),v(37,"hr",22),o(38,"button",23),C("click",function(){return t.showFinish()}),o(39,"span",24),f(40," 2 "),n(),o(41,"span")(42,"h3",25),f(43),m(44,"translate"),n(),o(45,"p",26),f(46),m(47,"translate"),n()()()(),o(48,"div"),R(49,t86,101,51)(50,f86,25,15),n()()()(),R(51,d86,1,1,"error-message",27)),2&a&&(s(8),V(" ",_(9,11,"UPDATE_CATALOG._back")," "),s(7),H(_(16,13,"UPDATE_CATALOG._update")),s(4),H(_(20,15,"UPDATE_CATALOG._update")),s(6),H(_(26,17,"UPDATE_CATALOG._steps")),s(7),H(_(33,19,"UPDATE_CATALOG._general")),s(3),H(_(36,21,"UPDATE_CATALOG._general_info")),s(8),H(_(44,23,"UPDATE_CATALOG._finish")),s(3),H(_(47,25,"UPDATE_CATALOG._summary")),s(3),S(49,t.showGeneral?49:-1),s(),S(50,t.showSummary?50:-1),s(),S(51,t.showError?51:-1))},dependencies:[k2,I4,H4,N4,O4,X4,f3,G3,_4,C4,J1]})}return c})();function h86(c,r){1&c&&v(0,"seller-catalogs")}function m86(c,r){1&c&&v(0,"seller-product-spec")}function _86(c,r){1&c&&v(0,"seller-service-spec")}function p86(c,r){1&c&&v(0,"seller-resource-spec")}function g86(c,r){1&c&&v(0,"seller-offer")}function v86(c,r){1&c&&v(0,"create-product-spec")}function H86(c,r){1&c&&v(0,"create-service-spec")}function C86(c,r){1&c&&v(0,"create-resource-spec")}function z86(c,r){1&c&&v(0,"create-offer")}function V86(c,r){1&c&&v(0,"create-catalog")}function M86(c,r){1&c&&v(0,"update-product-spec",21),2&c&&k("prod",h().prod_to_update)}function L86(c,r){1&c&&v(0,"update-service-spec",22),2&c&&k("serv",h().serv_to_update)}function y86(c,r){1&c&&v(0,"update-resource-spec",23),2&c&&k("res",h().res_to_update)}function b86(c,r){1&c&&v(0,"update-offer",24),2&c&&k("offer",h().offer_to_update)}function x86(c,r){1&c&&v(0,"update-catalog",25),2&c&&k("cat",h().catalog_to_update)}let w86=(()=>{class c{constructor(e,a,t){this.localStorage=e,this.cdr=a,this.eventMessage=t,this.show_catalogs=!0,this.show_prod_specs=!1,this.show_service_specs=!1,this.show_resource_specs=!1,this.show_offers=!1,this.show_create_prod_spec=!1,this.show_create_res_spec=!1,this.show_create_serv_spec=!1,this.show_create_offer=!1,this.show_create_catalog=!1,this.show_update_prod_spec=!1,this.show_update_serv_spec=!1,this.show_update_res_spec=!1,this.show_update_offer=!1,this.show_update_catalog=!1,this.eventMessage.messages$.subscribe(i=>{"SellerProductSpec"===i.type&&1==i.value&&this.goToProdSpec(),"SellerCreateProductSpec"===i.type&&1==i.value&&this.goToCreateProdSpec(),"SellerServiceSpec"===i.type&&1==i.value&&this.goToServiceSpec(),"SellerCreateServiceSpec"===i.type&&1==i.value&&this.goToCreateServSpec(),"SellerResourceSpec"===i.type&&1==i.value&&this.goToResourceSpec(),"SellerCreateResourceSpec"===i.type&&1==i.value&&this.goToCreateResSpec(),"SellerOffer"===i.type&&1==i.value&&this.goToOffers(),"SellerCatalog"==i.type&&1==i.value&&this.goToCatalogs(),"SellerCreateOffer"===i.type&&1==i.value&&this.goToCreateOffer(),"SellerCatalogCreate"===i.type&&1==i.value&&this.goToCreateCatalog(),"SellerUpdateProductSpec"===i.type&&(this.prod_to_update=i.value,this.goToUpdateProdSpec()),"SellerUpdateServiceSpec"===i.type&&(this.serv_to_update=i.value,this.goToUpdateServiceSpec()),"SellerUpdateResourceSpec"===i.type&&(this.res_to_update=i.value,this.goToUpdateResourceSpec()),"SellerUpdateOffer"===i.type&&(this.offer_to_update=i.value,this.goToUpdateOffer()),"SellerCatalogUpdate"===i.type&&(this.catalog_to_update=i.value,this.goToUpdateCatalog())})}ngOnInit(){console.log("init")}goToCreateProdSpec(){this.show_catalogs=!1,this.show_prod_specs=!1,this.show_service_specs=!1,this.show_resource_specs=!1,this.show_offers=!1,this.show_create_prod_spec=!0,this.show_create_serv_spec=!1,this.show_create_res_spec=!1,this.show_create_offer=!1,this.show_update_prod_spec=!1,this.show_update_res_spec=!1,this.show_update_serv_spec=!1,this.show_update_offer=!1,this.show_create_catalog=!1,this.cdr.detectChanges()}goToUpdateProdSpec(){this.show_catalogs=!1,this.show_prod_specs=!1,this.show_service_specs=!1,this.show_resource_specs=!1,this.show_offers=!1,this.show_create_prod_spec=!1,this.show_create_serv_spec=!1,this.show_create_res_spec=!1,this.show_create_offer=!1,this.show_update_prod_spec=!0,this.show_update_res_spec=!1,this.show_update_serv_spec=!1,this.show_update_offer=!1,this.show_update_catalog=!1,this.show_create_catalog=!1,this.cdr.detectChanges()}goToCreateCatalog(){this.show_catalogs=!1,this.show_prod_specs=!1,this.show_service_specs=!1,this.show_resource_specs=!1,this.show_offers=!1,this.show_create_prod_spec=!1,this.show_create_serv_spec=!1,this.show_create_res_spec=!1,this.show_create_offer=!1,this.show_update_prod_spec=!1,this.show_update_res_spec=!1,this.show_update_serv_spec=!1,this.show_update_offer=!1,this.show_update_catalog=!1,this.show_create_catalog=!0,this.cdr.detectChanges()}goToUpdateCatalog(){this.show_catalogs=!1,this.show_prod_specs=!1,this.show_service_specs=!1,this.show_resource_specs=!1,this.show_offers=!1,this.show_create_prod_spec=!1,this.show_create_serv_spec=!1,this.show_create_res_spec=!1,this.show_create_offer=!1,this.show_update_prod_spec=!1,this.show_update_res_spec=!1,this.show_update_serv_spec=!1,this.show_update_offer=!1,this.show_create_catalog=!1,this.show_update_catalog=!0,this.cdr.detectChanges()}goToUpdateOffer(){this.show_catalogs=!1,this.show_prod_specs=!1,this.show_service_specs=!1,this.show_resource_specs=!1,this.show_offers=!1,this.show_create_prod_spec=!1,this.show_create_serv_spec=!1,this.show_create_res_spec=!1,this.show_create_offer=!1,this.show_update_prod_spec=!1,this.show_update_res_spec=!1,this.show_update_serv_spec=!1,this.show_update_offer=!0,this.show_update_catalog=!1,this.show_create_catalog=!1,this.cdr.detectChanges()}goToUpdateServiceSpec(){this.show_catalogs=!1,this.show_prod_specs=!1,this.show_service_specs=!1,this.show_resource_specs=!1,this.show_offers=!1,this.show_create_prod_spec=!1,this.show_create_serv_spec=!1,this.show_create_res_spec=!1,this.show_create_offer=!1,this.show_update_prod_spec=!1,this.show_update_res_spec=!1,this.show_update_serv_spec=!0,this.show_update_offer=!1,this.show_update_catalog=!1,this.show_create_catalog=!1,this.cdr.detectChanges()}goToUpdateResourceSpec(){this.show_catalogs=!1,this.show_prod_specs=!1,this.show_service_specs=!1,this.show_resource_specs=!1,this.show_offers=!1,this.show_create_prod_spec=!1,this.show_create_serv_spec=!1,this.show_create_res_spec=!1,this.show_create_offer=!1,this.show_update_prod_spec=!1,this.show_update_res_spec=!0,this.show_update_serv_spec=!1,this.show_update_offer=!1,this.show_update_catalog=!1,this.show_create_catalog=!1,this.cdr.detectChanges()}goToCreateServSpec(){this.show_catalogs=!1,this.show_prod_specs=!1,this.show_service_specs=!1,this.show_resource_specs=!1,this.show_offers=!1,this.show_create_serv_spec=!0,this.show_create_prod_spec=!1,this.show_create_res_spec=!1,this.show_create_offer=!1,this.show_update_prod_spec=!1,this.show_update_res_spec=!1,this.show_update_serv_spec=!1,this.show_update_offer=!1,this.show_update_catalog=!1,this.show_create_catalog=!1,this.cdr.detectChanges()}goToCreateResSpec(){this.show_catalogs=!1,this.show_prod_specs=!1,this.show_service_specs=!1,this.show_resource_specs=!1,this.show_offers=!1,this.show_create_serv_spec=!1,this.show_create_prod_spec=!1,this.show_create_res_spec=!0,this.show_create_offer=!1,this.show_update_prod_spec=!1,this.show_update_res_spec=!1,this.show_update_serv_spec=!1,this.show_update_offer=!1,this.show_update_catalog=!1,this.show_create_catalog=!1,this.cdr.detectChanges()}goToCreateOffer(){this.show_catalogs=!1,this.show_prod_specs=!1,this.show_service_specs=!1,this.show_resource_specs=!1,this.show_offers=!1,this.show_create_serv_spec=!1,this.show_create_prod_spec=!1,this.show_create_res_spec=!1,this.show_create_offer=!0,this.show_update_prod_spec=!1,this.show_update_res_spec=!1,this.show_update_serv_spec=!1,this.show_update_offer=!1,this.show_update_catalog=!1,this.show_create_catalog=!1,this.cdr.detectChanges()}goToCatalogs(){this.selectCatalogs(),this.show_catalogs=!0,this.show_prod_specs=!1,this.show_service_specs=!1,this.show_resource_specs=!1,this.show_offers=!1,this.show_create_prod_spec=!1,this.show_create_res_spec=!1,this.show_create_serv_spec=!1,this.show_create_offer=!1,this.show_update_prod_spec=!1,this.show_update_res_spec=!1,this.show_update_serv_spec=!1,this.show_update_offer=!1,this.show_update_catalog=!1,this.show_create_catalog=!1,this.cdr.detectChanges()}selectCatalogs(){let e=document.getElementById("catalogs-button"),a=document.getElementById("prod-spec-button"),t=document.getElementById("sev-spec-button"),i=document.getElementById("res-spec-button"),l=document.getElementById("offers-button");this.selectMenu(e,"text-white bg-primary-100"),this.unselectMenu(a,"text-white bg-primary-100"),this.unselectMenu(t,"text-white bg-primary-100"),this.unselectMenu(i,"text-white bg-primary-100"),this.unselectMenu(l,"text-white bg-primary-100")}goToProdSpec(){this.selectProdSpec(),this.show_catalogs=!1,this.show_prod_specs=!0,this.show_service_specs=!1,this.show_resource_specs=!1,this.show_offers=!1,this.show_create_prod_spec=!1,this.show_create_res_spec=!1,this.show_create_serv_spec=!1,this.show_create_offer=!1,this.show_update_prod_spec=!1,this.show_update_res_spec=!1,this.show_update_serv_spec=!1,this.show_update_offer=!1,this.show_update_catalog=!1,this.show_create_catalog=!1,this.cdr.detectChanges()}selectProdSpec(){let e=document.getElementById("catalogs-button"),a=document.getElementById("prod-spec-button"),t=document.getElementById("sev-spec-button"),i=document.getElementById("res-spec-button"),l=document.getElementById("offers-button");this.selectMenu(a,"text-white bg-primary-100"),this.unselectMenu(e,"text-white bg-primary-100"),this.unselectMenu(t,"text-white bg-primary-100"),this.unselectMenu(i,"text-white bg-primary-100"),this.unselectMenu(l,"text-white bg-primary-100")}goToServiceSpec(){this.selectServiceSpec(),this.show_catalogs=!1,this.show_prod_specs=!1,this.show_service_specs=!0,this.show_resource_specs=!1,this.show_offers=!1,this.show_create_prod_spec=!1,this.show_create_res_spec=!1,this.show_create_serv_spec=!1,this.show_create_offer=!1,this.show_update_prod_spec=!1,this.show_update_res_spec=!1,this.show_update_serv_spec=!1,this.show_update_offer=!1,this.show_update_catalog=!1,this.show_create_catalog=!1,this.cdr.detectChanges()}selectServiceSpec(){let e=document.getElementById("catalogs-button"),a=document.getElementById("prod-spec-button"),t=document.getElementById("sev-spec-button"),i=document.getElementById("res-spec-button"),l=document.getElementById("offers-button");this.selectMenu(t,"text-white bg-primary-100"),this.unselectMenu(e,"text-white bg-primary-100"),this.unselectMenu(a,"text-white bg-primary-100"),this.unselectMenu(i,"text-white bg-primary-100"),this.unselectMenu(l,"text-white bg-primary-100")}goToResourceSpec(){this.selectResourceSpec(),this.show_catalogs=!1,this.show_prod_specs=!1,this.show_service_specs=!1,this.show_resource_specs=!0,this.show_offers=!1,this.show_create_prod_spec=!1,this.show_create_res_spec=!1,this.show_create_serv_spec=!1,this.show_create_offer=!1,this.show_update_prod_spec=!1,this.show_update_res_spec=!1,this.show_update_serv_spec=!1,this.show_update_offer=!1,this.show_update_catalog=!1,this.show_create_catalog=!1,this.cdr.detectChanges()}selectResourceSpec(){let e=document.getElementById("catalogs-button"),a=document.getElementById("prod-spec-button"),t=document.getElementById("sev-spec-button"),i=document.getElementById("res-spec-button"),l=document.getElementById("offers-button");this.selectMenu(i,"text-white bg-primary-100"),this.unselectMenu(e,"text-white bg-primary-100"),this.unselectMenu(a,"text-white bg-primary-100"),this.unselectMenu(t,"text-white bg-primary-100"),this.unselectMenu(l,"text-white bg-primary-100")}goToOffers(){this.selectOffers(),this.show_catalogs=!1,this.show_prod_specs=!1,this.show_service_specs=!1,this.show_resource_specs=!1,this.show_offers=!0,this.show_create_prod_spec=!1,this.show_create_res_spec=!1,this.show_create_serv_spec=!1,this.show_create_offer=!1,this.show_update_prod_spec=!1,this.show_update_res_spec=!1,this.show_update_serv_spec=!1,this.show_update_offer=!1,this.show_update_catalog=!1,this.show_create_catalog=!1,this.cdr.detectChanges()}selectOffers(){let e=document.getElementById("catalogs-button"),a=document.getElementById("prod-spec-button"),t=document.getElementById("sev-spec-button"),i=document.getElementById("res-spec-button"),l=document.getElementById("offers-button");this.selectMenu(l,"text-white bg-primary-100"),this.unselectMenu(e,"text-white bg-primary-100"),this.unselectMenu(a,"text-white bg-primary-100"),this.unselectMenu(t,"text-white bg-primary-100"),this.unselectMenu(i,"text-white bg-primary-100")}removeClass(e,a){e.className=(" "+e.className+" ").replace(" "+a+" "," ").replace(/^\s+|\s+$/g,"")}addClass(e,a){e.className+=" "+a}unselectMenu(e,a){null!=e&&(e.className.match(a)?this.removeClass(e,a):console.log("already unselected"))}selectMenu(e,a){null!=e&&(e.className.match(a)?console.log("already selected"):this.addClass(e,a))}static#e=this.\u0275fac=function(a){return new(a||c)(B(R1),B(B1),B(e2))};static#c=this.\u0275cmp=V1({type:c,selectors:[["app-seller-offerings"]],decls:69,vars:45,consts:[[1,"container","mx-auto","pt-2","pb-8"],[1,"hidden","lg:block","mb-8","mt-4","text-4xl","font-extrabold","leading-none","tracking-tight","text-gray-900","lg:text-4xl","lg:text-5xl","dark:text-white","w-full"],[1,"underline","underline-offset-3","decoration-8","decoration-primary-100","dark:decoration-primary-100"],[1,"flex","flex-cols","mr-2","ml-2","lg:hidden"],[1,"mb-8","mt-4","text-4xl","font-extrabold","leading-none","tracking-tight","text-gray-900","lg:text-4xl","lg:text-5xl","dark:text-white","w-full"],[1,"flex","align-middle","content-center","items-center"],["id","dropdown-nav","data-dropdown-toggle","dropdown-nav-content","type","button",1,"text-black","dark:text-white","h-fit","w-fit","justify-between","shadow","bg-white","dark:bg-secondary-200","hover:bg-gray-100","dark:hover:bg-secondary-300","focus:ring-4","focus:outline-none","focus:ring-primary-100","font-medium","rounded-lg","text-sm","p-2.5","text-center","inline-flex","items-center","shadow-lg"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 17 14",1,"w-4","h-4","mr-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 1h15M1 7h15M1 13h15"],["id","dropdown-nav-content",1,"z-10","hidden","bg-white","divide-y","divide-gray-100","rounded-lg","shadow","w-44","dark:bg-gray-700"],["aria-labelledby","dropdown-nav",1,"py-2","text-sm","text-gray-700","dark:text-gray-200"],[1,"cursor-pointer","block","px-4","py-2","hover:bg-gray-100","dark:hover:bg-gray-600","dark:hover:text-white",3,"click"],[1,"w-full","grid","lg:grid-cols-20/80"],[1,"hidden","lg:block"],[1,"w-48","h-fit","text-sm","font-medium","text-gray-900","bg-white","border","border-gray-200","rounded-lg","dark:bg-gray-700","dark:border-gray-600","dark:text-white","mb-8"],["id","catalogs-button","aria-current","true",1,"block","w-full","px-4","py-2","text-white","bg-primary-100","border-b","border-gray-200","rounded-t-lg","cursor-pointer","dark:border-gray-600","hover:bg-gray-100","hover:text-blue-700","dark:border-gray-600","dark:hover:bg-gray-600","dark:hover:text-white","dark:focus:ring-gray-500","dark:focus:text-white",3,"click"],["id","offers-button",1,"block","w-full","px-4","py-2","border-gray-200","cursor-pointer","hover:bg-gray-100","hover:text-blue-700","dark:border-gray-600","dark:hover:bg-gray-600","dark:hover:text-white","dark:focus:ring-gray-500","dark:focus:text-white",3,"click"],[1,"w-48","h-fit","text-sm","font-medium","text-gray-900","bg-white","border","border-gray-200","rounded-lg","dark:bg-gray-700","dark:border-gray-600","dark:text-white"],["id","prod-spec-button",1,"block","w-full","rounded-t-lg","px-4","py-2","border-b","border-gray-200","cursor-pointer","hover:bg-gray-100","hover:text-blue-700","dark:border-gray-600","dark:hover:bg-gray-600","dark:hover:text-white","dark:focus:ring-gray-500","dark:focus:text-white",3,"click"],["id","sev-spec-button",1,"block","w-full","px-4","py-2","border-b","border-gray-200","cursor-pointer","hover:bg-gray-100","hover:text-blue-700","dark:border-gray-600","dark:hover:bg-gray-600","dark:hover:text-white","dark:focus:ring-gray-500","dark:focus:text-white",3,"click"],["id","res-spec-button",1,"block","w-full","px-4","py-2","border-gray-200","cursor-pointer","hover:bg-gray-100","hover:text-blue-700","dark:border-gray-600","dark:hover:bg-gray-600","dark:hover:text-white","dark:focus:ring-gray-500","dark:focus:text-white",3,"click"],[3,"prod"],[3,"serv"],[3,"res"],[3,"offer"],[3,"cat"]],template:function(a,t){1&a&&(o(0,"div",0)(1,"h1",1)(2,"span",2),f(3,"My offerings"),n()(),o(4,"div",3)(5,"h1",4)(6,"span",2),f(7,"My offerings"),n()(),o(8,"div",5)(9,"button",6),w(),o(10,"svg",7),v(11,"path",8),n(),f(12," Offerings "),n()()(),O(),o(13,"div",9)(14,"ul",10)(15,"li")(16,"a",11),C("click",function(){return t.goToCatalogs()}),f(17),m(18,"translate"),n()(),o(19,"li")(20,"a",11),C("click",function(){return t.goToOffers()}),f(21),m(22,"translate"),n()(),o(23,"li")(24,"a",11),C("click",function(){return t.goToProdSpec()}),f(25),m(26,"translate"),n()(),o(27,"li")(28,"a",11),C("click",function(){return t.goToServiceSpec()}),f(29),m(30,"translate"),n()(),o(31,"li")(32,"a",11),C("click",function(){return t.goToResourceSpec()}),f(33),m(34,"translate"),n()()()(),o(35,"div",12)(36,"div",13)(37,"div",14)(38,"button",15),C("click",function(){return t.goToCatalogs()}),f(39),m(40,"translate"),n(),o(41,"button",16),C("click",function(){return t.goToOffers()}),f(42),m(43,"translate"),n()(),o(44,"div",17)(45,"button",18),C("click",function(){return t.goToProdSpec()}),f(46),m(47,"translate"),n(),o(48,"button",19),C("click",function(){return t.goToServiceSpec()}),f(49),m(50,"translate"),n(),o(51,"button",20),C("click",function(){return t.goToResourceSpec()}),f(52),m(53,"translate"),n()()(),R(54,h86,1,0,"seller-catalogs")(55,m86,1,0,"seller-product-spec")(56,_86,1,0,"seller-service-spec")(57,p86,1,0,"seller-resource-spec")(58,g86,1,0,"seller-offer")(59,v86,1,0,"create-product-spec")(60,H86,1,0,"create-service-spec")(61,C86,1,0,"create-resource-spec")(62,z86,1,0,"create-offer")(63,V86,1,0,"create-catalog")(64,M86,1,1,"update-product-spec",21)(65,L86,1,1,"update-service-spec",22)(66,y86,1,1,"update-resource-spec",23)(67,b86,1,1,"update-offer",24)(68,x86,1,1,"update-catalog",25),n()()),2&a&&(s(17),H(_(18,25,"OFFERINGS._catalogs")),s(4),H(_(22,27,"OFFERINGS._offers")),s(4),H(_(26,29,"OFFERINGS._prod_spec")),s(4),H(_(30,31,"OFFERINGS._serv_spec")),s(4),H(_(34,33,"OFFERINGS._res_spec")),s(6),V(" ",_(40,35,"OFFERINGS._catalogs")," "),s(3),V(" ",_(43,37,"OFFERINGS._offers")," "),s(4),V(" ",_(47,39,"OFFERINGS._prod_spec")," "),s(3),V(" ",_(50,41,"OFFERINGS._serv_spec")," "),s(3),V(" ",_(53,43,"OFFERINGS._res_spec")," "),s(2),S(54,t.show_catalogs?54:-1),s(),S(55,t.show_prod_specs?55:-1),s(),S(56,t.show_service_specs?56:-1),s(),S(57,t.show_resource_specs?57:-1),s(),S(58,t.show_offers?58:-1),s(),S(59,t.show_create_prod_spec?59:-1),s(),S(60,t.show_create_serv_spec?60:-1),s(),S(61,t.show_create_res_spec?61:-1),s(),S(62,t.show_create_offer?62:-1),s(),S(63,t.show_create_catalog?63:-1),s(),S(64,t.show_update_prod_spec?64:-1),s(),S(65,t.show_update_serv_spec?65:-1),s(),S(66,t.show_update_res_spec?66:-1),s(),S(67,t.show_update_offer?67:-1),s(),S(68,t.show_update_catalog?68:-1))},dependencies:[y$3,O$3,X$3,uY3,xY3,HW3,mZ3,lK3,GJ3,q26,K46,X36,Ne6,Ye6,u86,J1]})}return c})();function F86(c,r){if(1&c&&(o(0,"span",3),f(1),n()),2&c){const e=h();s(),H(e.child.lifecycleStatus)}}function k86(c,r){if(1&c&&(o(0,"span",8),f(1),n()),2&c){const e=h();s(),H(e.child.lifecycleStatus)}}function S86(c,r){if(1&c&&(o(0,"span",9),f(1),n()),2&c){const e=h();s(),H(e.child.lifecycleStatus)}}function N86(c,r){if(1&c&&(o(0,"span",10),f(1),n()),2&c){const e=h();s(),H(e.child.lifecycleStatus)}}function D86(c,r){if(1&c&&v(0,"categories-recursion-list",11),2&c){const e=r.$implicit,a=h(2);k("child",e)("parent",a.child)("path",a.path+" / "+a.child.name)}}function T86(c,r){1&c&&c1(0,D86,1,3,"categories-recursion-list",11,z1),2&c&&a1(h().child.children)}let E86=(()=>{class c{constructor(e,a){this.cdr=e,this.eventMessage=a}addCategory(e){this.eventMessage.emitCategoryAdded(e)}goToUpdate(e){this.eventMessage.emitUpdateCategory(e)}static#e=this.\u0275fac=function(a){return new(a||c)(B(B1),B(e2))};static#c=this.\u0275cmp=V1({type:c,selectors:[["categories-recursion-list"]],inputs:{child:"child",parent:"parent",path:"path"},decls:18,vars:8,consts:[[1,"flex","border-b","hover:bg-gray-200","dark:border-gray-700","dark:bg-secondary-300","dark:hover:bg-secondary-200","w-full","justify-between"],[1,"flex","px-6","py-4","w-2/4"],[1,"hidden","md:flex","px-6","py-4","w-fit"],[1,"h-fit","bg-blue-100","dark:bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"flex","px-6","py-4","w-fit","justify-end"],["type","button",1,"text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-2.5","text-center","inline-flex","items-center","me-2",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-[18px]","h-[18px]","text-white"],["fill-rule","evenodd","d","M14 4.182A4.136 4.136 0 0 1 16.9 3c1.087 0 2.13.425 2.899 1.182A4.01 4.01 0 0 1 21 7.037c0 1.068-.43 2.092-1.194 2.849L18.5 11.214l-5.8-5.71 1.287-1.31.012-.012Zm-2.717 2.763L6.186 12.13l2.175 2.141 5.063-5.218-2.141-2.108Zm-6.25 6.886-1.98 5.849a.992.992 0 0 0 .245 1.026 1.03 1.03 0 0 0 1.043.242L10.282 19l-5.25-5.168Zm6.954 4.01 5.096-5.186-2.218-2.183-5.063 5.218 2.185 2.15Z","clip-rule","evenodd"],[1,"h-fit","bg-blue-100","dark:bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"h-fit","bg-blue-100","dark:bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"h-fit","bg-blue-100","dark:bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"w-full",3,"child","parent","path"]],template:function(a,t){1&a&&(o(0,"tr",0)(1,"td",1),f(2),o(3,"b"),f(4),n()(),o(5,"td",2),R(6,F86,2,1,"span",3)(7,k86,2,1)(8,S86,2,1)(9,N86,2,1),n(),o(10,"td",2),f(11),m(12,"date"),n(),o(13,"td",4)(14,"button",5),C("click",function(){return t.goToUpdate(t.child)}),w(),o(15,"svg",6),v(16,"path",7),n()()()(),R(17,T86,2,0)),2&a&&(s(2),V(" ",t.path," / "),s(2),H(t.child.name),s(2),S(6,"Active"==t.child.lifecycleStatus?6:"Launched"==t.child.lifecycleStatus?7:"Retired"==t.child.lifecycleStatus?8:"Obsolete"==t.child.lifecycleStatus?9:-1),s(5),V(" ",L2(12,5,t.child.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," "),s(6),S(17,t.child.children&&t.child.children.length>0?17:-1))},dependencies:[c,Q4]})}return c})();const A86=(c,r)=>r.id;function P86(c,r){1&c&&(o(0,"div",29),w(),o(1,"svg",30),v(2,"path",31)(3,"path",32),n(),O(),o(4,"span",33),f(5,"Loading..."),n()())}function R86(c,r){if(1&c&&(o(0,"span",47),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function B86(c,r){if(1&c&&(o(0,"span",53),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function O86(c,r){if(1&c&&(o(0,"span",54),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function I86(c,r){if(1&c&&(o(0,"span",55),f(1),n()),2&c){const e=h().$implicit;s(),H(e.lifecycleStatus)}}function U86(c,r){if(1&c&&(o(0,"tr")(1,"td",56),v(2,"categories-recursion-list",57),n()()),2&c){const e=r.$implicit,a=h(2).$implicit;s(2),k("child",e)("parent",a)("path",a.name)}}function j86(c,r){1&c&&c1(0,U86,3,3,"tr",null,z1),2&c&&a1(h().$implicit.children)}function $86(c,r){if(1&c){const e=j();o(0,"tr",44)(1,"td",45)(2,"b"),f(3),n()(),o(4,"td",46),R(5,R86,2,1,"span",47)(6,B86,2,1)(7,O86,2,1)(8,I86,2,1),n(),o(9,"td",48),f(10),m(11,"date"),n(),o(12,"td",49)(13,"button",50),C("click",function(){const t=y(e).$implicit;return b(h(2).goToUpdate(t))}),w(),o(14,"svg",51),v(15,"path",52),n()()()(),R(16,j86,2,0)}if(2&c){const e=r.$implicit;s(3),H(e.name),s(2),S(5,"Active"==e.lifecycleStatus?5:"Launched"==e.lifecycleStatus?6:"Retired"==e.lifecycleStatus?7:"Obsolete"==e.lifecycleStatus?8:-1),s(5),V(" ",L2(11,4,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," "),s(6),S(16,e.children.length>0?16:-1)}}function Y86(c,r){1&c&&(o(0,"div",43)(1,"div",58),w(),o(2,"svg",59),v(3,"path",60),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"CATEGORIES._no_cat")," "))}function G86(c,r){if(1&c&&(o(0,"div",34)(1,"div",35)(2,"table",36)(3,"thead",37)(4,"tr",38)(5,"th",39),f(6),m(7,"translate"),n(),o(8,"th",40),f(9),m(10,"translate"),n(),o(11,"th",41),f(12),m(13,"translate"),n(),o(14,"th",42),f(15),m(16,"translate"),n()()(),o(17,"tbody"),c1(18,$86,17,7,null,null,A86,!1,Y86,7,3,"div",43),n()()()()),2&c){const e=h();s(6),V(" ",_(7,5,"ADMIN._name")," "),s(3),V(" ",_(10,7,"ADMIN._status")," "),s(3),V(" ",_(13,9,"ADMIN._last_update")," "),s(3),V(" ",_(16,11,"ADMIN._actions")," "),s(3),a1(e.categories)}}let q86=(()=>{class c{constructor(e,a,t,i,l){this.router=e,this.api=a,this.cdr=t,this.localStorage=i,this.eventMessage=l,this.faIdCard=$6,this.faSort=j6,this.faSwatchbook=_0,this.searchField=new u1,this.categories=[],this.unformattedCategories=[],this.page=0,this.CATEGOY_LIMIT=_1.CATEGORY_LIMIT,this.loading=!1,this.status=["Active","Launched"],this.eventMessage.messages$.subscribe(d=>{"ChangedSession"===d.type&&this.initCatalogs()})}ngOnInit(){this.initCatalogs()}initCatalogs(){this.loading=!0,this.categories=[];let e=this.localStorage.getObject("login_items");if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}this.getCategories(),S1()}createCategory(){this.eventMessage.emitCreateCategory(!0)}goToUpdate(e){this.eventMessage.emitUpdateCategory(e)}getCategories(){console.log("Getting categories..."),this.api.getCategories(this.status).then(e=>{for(let a=0;ai.parentId===e.id);if(e.children=t,1==e.isRoot?this.categories.push(e):this.saveChildren(this.categories,e),0!=t.length)for(let i=0;i{if(a=t,e.children=a,1==e.isRoot?this.categories.push(e):this.saveChildren(this.categories,e),0!=a.length)for(let i=0;id.id==a.id)){let d=i.findIndex(u=>u.id==a.id);i[d]=a,e[t].children=i}this.saveChildren(i,a)}}}onStateFilterChange(e){const a=this.status.findIndex(t=>t===e);-1!==a?(this.status.splice(a,1),console.log("elimina filtro"),console.log(this.status)):(console.log("a\xf1ade filtro"),console.log(this.status),this.status.push(e)),this.loading=!0,this.categories=[],this.getCategories(),console.log("filter")}static#e=this.\u0275fac=function(a){return new(a||c)(B(Z1),B(p1),B(B1),B(R1),B(e2))};static#c=this.\u0275cmp=V1({type:c,selectors:[["admin-categories"]],decls:53,vars:29,consts:[[1,"w-full","h-fit","mb-4","bg-secondary-50","rounded-lg","dark:bg-secondary-100","dark:border-gray-800","border-gray-300","border-secondary-50","border","flex","flex-col","shadow-lg"],[1,"flex","w-full","flex-cols","items-center","md:flex-row","justify-between"],[1,"mb-4","md:mb-0","md:w-1/4","p-8"],[1,"text-2xl","font-bold","mb-4","dark:text-white"],[1,"flex","flex-row","w-full","justify-end"],["type","button",1,"ml-2","mr-8","mb-4","text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-2.5","text-center","inline-flex","items-center","align-middle","me-2",3,"click"],[1,"pl-2","pr-2","dark:text-white"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-[18px]","h-[18px]","text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 12h14m-7 7V5"],[1,"flex","w-full","flex-col","items-center","md:flex-row","justify-between"],[1,"p-8","w-full"],[1,"flex","flex-row","mb-1"],[1,"fa-base","text-primary-100","align-middle","mr-2",3,"icon"],[1,"text-base","font-bold","dark:text-white"],["id","dropdownDefault","data-dropdown-toggle","dropdown","type","button",1,"text-black","dark:text-white","w-full","justify-between","shadow","bg-white","dark:bg-secondary-200","hover:bg-gray-100","dark:hover:bg-secondary-300","focus:ring-4","focus:outline-none","focus:ring-primary-300","font-medium","rounded-lg","text-sm","p-2.5","text-center","inline-flex","items-center"],["aria-hidden","true","fill","none","stroke","currentColor","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg",1,"w-4","h-4","ml-2"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M19 9l-7 7-7-7"],["id","dropdown",1,"z-20","hidden","w-fit","md:w-1/5","p-3","bg-white","rounded-lg","shadow","dark:bg-secondary-200"],[1,"mb-3","text-sm","font-medium","text-gray-900","dark:text-white"],["aria-labelledby","dropdownDefault",1,"space-y-2","text-sm"],[1,"flex","items-center"],["id","active","type","checkbox","value","","checked","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","active",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["id","launched","type","checkbox","value","","checked","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","launched",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["id","retired","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","retired",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["id","obsolete","type","checkbox","value","",1,"w-4","h-4","bg-gray-100","border-gray-300","rounded","text-primary-600","focus:ring-primary-500",3,"change"],["for","obsolete",1,"ml-2","text-sm","font-medium","text-gray-900","dark:text-white"],["role","status",1,"w-full","h-full","flex","justify-center","align-middle"],["aria-hidden","true","viewBox","0 0 100 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-12","h-12","text-gray-200","animate-spin","dark:text-gray-600","fill-blue-600"],["d","M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z","fill","currentColor"],["d","M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z","fill","currentFill"],[1,"sr-only"],[1,"bg-secondary-50","dark:bg-secondary-100","border","dark:border-gray-800","mt-8","p-4","rounded-lg"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","dark:bg-secondary-300"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],[1,"flex","w-full","justify-between"],["scope","col",1,"flex","px-6","py-3","w-2/4"],["scope","col",1,"hidden","md:flex","px-6","py-3","w-fit"],["scope","col",1,"hidden","md:table-cell","px-6","py-3","w-fit"],["scope","col",1,"flex","px-6","py-3","w-fit"],[1,"flex","justify-center","m-4"],[1,"flex","border-b","dark:border-gray-700","hover:bg-gray-200","w-full","justify-between","dark:bg-secondary-300","dark:hover:bg-secondary-200"],[1,"flex","px-6","py-4","w-2/4"],[1,"hidden","md:flex","px-6","py-4","w-fit"],[1,"bg-blue-100","dark:bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"hidden","md:table-cell","px-6","py-4","w-fit"],[1,"flex","px-6","py-4","w-fit","justify-end"],["type","button",1,"text-white","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-full","text-sm","p-2.5","text-center","inline-flex","items-center","me-2",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-[18px]","h-[18px]","text-white"],["fill-rule","evenodd","d","M14 4.182A4.136 4.136 0 0 1 16.9 3c1.087 0 2.13.425 2.899 1.182A4.01 4.01 0 0 1 21 7.037c0 1.068-.43 2.092-1.194 2.849L18.5 11.214l-5.8-5.71 1.287-1.31.012-.012Zm-2.717 2.763L6.186 12.13l2.175 2.141 5.063-5.218-2.141-2.108Zm-6.25 6.886-1.98 5.849a.992.992 0 0 0 .245 1.026 1.03 1.03 0 0 0 1.043.242L10.282 19l-5.25-5.168Zm6.954 4.01 5.096-5.186-2.218-2.183-5.063 5.218 2.185 2.15Z","clip-rule","evenodd"],[1,"bg-blue-100","dark:bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],["colspan","3"],[1,"w-full",3,"child","parent","path"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",0)(2,"div",1)(3,"div",2)(4,"h2",3),f(5),m(6,"translate"),n()(),o(7,"div",4)(8,"button",5),C("click",function(){return t.createCategory()}),o(9,"p",6),f(10),m(11,"translate"),n(),w(),o(12,"svg",7),v(13,"path",8),n()()()(),O(),o(14,"div",9)(15,"div",10)(16,"div",11),v(17,"fa-icon",12),o(18,"h2",13),f(19),m(20,"translate"),n()(),o(21,"button",14),f(22),m(23,"translate"),w(),o(24,"svg",15),v(25,"path",16),n()(),O(),o(26,"div",17)(27,"h6",18),f(28),m(29,"translate"),n(),o(30,"ul",19)(31,"li",20)(32,"input",21),C("change",function(){return t.onStateFilterChange("Active")}),n(),o(33,"label",22),f(34),m(35,"translate"),n()(),o(36,"li",20)(37,"input",23),C("change",function(){return t.onStateFilterChange("Launched")}),n(),o(38,"label",24),f(39),m(40,"translate"),n()(),o(41,"li",20)(42,"input",25),C("change",function(){return t.onStateFilterChange("Retired")}),n(),o(43,"label",26),f(44),m(45,"translate"),n()(),o(46,"li",20)(47,"input",27),C("change",function(){return t.onStateFilterChange("Obsolete")}),n(),o(48,"label",28),f(49),m(50,"translate"),n()()()()()()(),R(51,P86,6,0,"div",29)(52,G86,21,13),n()),2&a&&(s(5),H(_(6,11,"CATEGORIES._categories")),s(5),H(_(11,13,"CATEGORIES._add_new_cat")),s(7),k("icon",t.faSwatchbook),s(2),H(_(20,15,"ADMIN._filter_state")),s(3),V(" ",_(23,17,"ADMIN._filter_state")," "),s(6),V(" ",_(29,19,"ADMIN._status")," "),s(6),V(" ",_(35,21,"ADMIN._active")," "),s(5),V(" ",_(40,23,"ADMIN._launched")," "),s(5),V(" ",_(45,25,"ADMIN._retired")," "),s(5),V(" ",_(50,27,"ADMIN._obsolete")," "),s(2),S(51,t.loading?51:52))},dependencies:[S4,E86,Q4,J1]})}return c})();const W86=(c,r)=>r.id,Z86=()=>({position:"relative",left:"200px",top:"-500px"});function K86(c,r){1&c&&v(0,"markdown",61),2&c&&k("data",h(2).description)}function Q86(c,r){1&c&&v(0,"textarea",71)}function J86(c,r){if(1&c){const e=j();o(0,"emoji-mart",72),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(2).addEmoji(t))}),n()}2&c&&(Y2(A4(3,Z86)),k("darkMode",!1))}function X86(c,r){1&c&&(o(0,"div",73)(1,"div",74),w(),o(2,"svg",75),v(3,"path",76),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_categories")," "))}function e56(c,r){if(1&c&&(o(0,"tr")(1,"td",89),v(2,"categories-recursion",90),n()()),2&c){const e=r.$implicit,a=h(2).$implicit,t=h(4);s(2),k("child",e)("parent",a)("selected",t.selected)("path",a.name)}}function c56(c,r){1&c&&c1(0,e56,3,4,"tr",null,z1),2&c&&a1(h().$implicit.children)}function a56(c,r){if(1&c){const e=j();o(0,"tr",84)(1,"td",85)(2,"b"),f(3),n()(),o(4,"td",86),f(5),m(6,"date"),n(),o(7,"td",87)(8,"input",88),C("click",function(){const t=y(e).$implicit;return b(h(4).addCategory(t))}),n()()(),R(9,c56,2,0)}if(2&c){const e=r.$implicit,a=h(4);s(3),H(e.name),s(2),V(" ",L2(6,4,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," "),s(3),k("checked",a.isCategorySelected(e)),s(),S(9,e.children.length>0?9:-1)}}function r56(c,r){if(1&c&&(o(0,"div",77)(1,"table",78)(2,"thead",79)(3,"tr",80)(4,"th",81),f(5),m(6,"translate"),n(),o(7,"th",82),f(8),m(9,"translate"),n(),o(10,"th",83),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,a56,10,7,null,null,W86),n()()()),2&c){const e=h(3);s(5),V(" ",_(6,3,"CREATE_OFFER._name")," "),s(3),V(" ",_(9,5,"CREATE_OFFER._last_update")," "),s(3),V(" ",_(12,7,"CREATE_OFFER._select")," "),s(3),a1(e.categories)}}function t56(c,r){1&c&&R(0,X86,7,3,"div",73)(1,r56,16,9),2&c&&S(0,0==h(2).categories.length?0:1)}function i56(c,r){if(1&c){const e=j();o(0,"h2",13),f(1),m(2,"translate"),n(),o(3,"form",28)(4,"label",29),f(5),m(6,"translate"),n(),v(7,"input",30),o(8,"label",29),f(9),m(10,"translate"),n(),o(11,"div",31)(12,"div",32)(13,"div",33)(14,"div",34)(15,"button",35),C("click",function(){return y(e),b(h().addBold())}),w(),o(16,"svg",36),v(17,"path",37),n(),O(),o(18,"span",38),f(19,"Bold"),n()(),o(20,"button",35),C("click",function(){return y(e),b(h().addItalic())}),w(),o(21,"svg",36),v(22,"path",39),n(),O(),o(23,"span",38),f(24,"Italic"),n()(),o(25,"button",35),C("click",function(){return y(e),b(h().addList())}),w(),o(26,"svg",40),v(27,"path",41),n(),O(),o(28,"span",38),f(29,"Add list"),n()(),o(30,"button",42),C("click",function(){return y(e),b(h().addOrderedList())}),w(),o(31,"svg",40),v(32,"path",43),n(),O(),o(33,"span",38),f(34,"Add ordered list"),n()(),o(35,"button",44),C("click",function(){return y(e),b(h().addBlockquote())}),w(),o(36,"svg",45),v(37,"path",46),n(),O(),o(38,"span",38),f(39,"Add blockquote"),n()(),o(40,"button",35),C("click",function(){return y(e),b(h().addTable())}),w(),o(41,"svg",47),v(42,"path",48),n(),O(),o(43,"span",38),f(44,"Add table"),n()(),o(45,"button",44),C("click",function(){return y(e),b(h().addCode())}),w(),o(46,"svg",47),v(47,"path",49),n(),O(),o(48,"span",38),f(49,"Add code"),n()(),o(50,"button",44),C("click",function(){return y(e),b(h().addCodeBlock())}),w(),o(51,"svg",47),v(52,"path",50),n(),O(),o(53,"span",38),f(54,"Add code block"),n()(),o(55,"button",44),C("click",function(){return y(e),b(h().addLink())}),w(),o(56,"svg",47),v(57,"path",51),n(),O(),o(58,"span",38),f(59,"Add link"),n()(),o(60,"button",42),C("click",function(t){y(e);const i=h();return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(61,"svg",52),v(62,"path",53),n(),O(),o(63,"span",38),f(64,"Add emoji"),n()()()(),o(65,"button",54),C("click",function(){y(e);const t=h();return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(66,"svg",40),v(67,"path",55)(68,"path",56),n(),O(),o(69,"span",38),f(70),m(71,"translate"),n()(),o(72,"div",57),f(73),m(74,"translate"),v(75,"div",58),n()(),o(76,"div",59)(77,"label",60),f(78,"Publish post"),n(),R(79,K86,1,1,"markdown",61)(80,Q86,1,0)(81,J86,1,4,"emoji-mart",62),n()(),o(82,"label",63),f(83),m(84,"translate"),n(),o(85,"label",64)(86,"input",65),C("change",function(){return y(e),b(h().toggleParent())}),n(),v(87,"div",66),n(),R(88,t56,2,1),n(),o(89,"div",67)(90,"button",68),C("click",function(){y(e);const t=h();return t.showFinish(),b(t.generalDone=!0)}),f(91),m(92,"translate"),w(),o(93,"svg",69),v(94,"path",70),n()()()}if(2&c){let e;const a=h();s(),H(_(2,35,"CREATE_CATEGORIES._general")),s(2),k("formGroup",a.generalForm),s(2),H(_(6,37,"CREATE_CATEGORIES._name")),s(2),k("ngClass",1==(null==(e=a.generalForm.get("name"))?null:e.invalid)&&""!=a.generalForm.value.name?"border-red-600":"border-gray-300"),s(2),H(_(10,39,"CREATE_CATEGORIES._description")),s(6),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(71,41,"CREATE_CATALOG._preview")),s(3),V(" ",_(74,43,"CREATE_CATALOG._show_preview")," "),s(6),S(79,a.showPreview?79:80),s(2),S(81,a.showEmoji?81:-1),s(2),H(_(84,45,"CREATE_CATEGORIES._choose_parent")),s(3),k("checked",a.parentSelectionCheck),s(2),S(88,a.parentSelectionCheck?88:-1),s(2),k("disabled",!a.generalForm.valid||1==a.parentSelectionCheck&&null==a.selectedCategory)("ngClass",!a.generalForm.valid||1==a.parentSelectionCheck&&null==a.selectedCategory?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(92,47,"CREATE_CATEGORIES._next")," ")}}function o56(c,r){if(1&c&&(o(0,"span",95),f(1),n()),2&c){const e=h(2);s(),H(null==e.categoryToCreate?null:e.categoryToCreate.lifecycleStatus)}}function n56(c,r){if(1&c&&(o(0,"span",98),f(1),n()),2&c){const e=h(2);s(),H(null==e.categoryToCreate?null:e.categoryToCreate.lifecycleStatus)}}function s56(c,r){if(1&c&&(o(0,"span",99),f(1),n()),2&c){const e=h(2);s(),H(null==e.categoryToCreate?null:e.categoryToCreate.lifecycleStatus)}}function l56(c,r){if(1&c&&(o(0,"span",100),f(1),n()),2&c){const e=h(2);s(),H(null==e.categoryToCreate?null:e.categoryToCreate.lifecycleStatus)}}function f56(c,r){if(1&c&&(o(0,"label",63),f(1),m(2,"translate"),n(),o(3,"div",101),v(4,"markdown",102),n()),2&c){const e=h(2);s(),H(_(2,2,"CREATE_CATEGORIES._description")),s(3),k("data",null==e.categoryToCreate?null:e.categoryToCreate.description)}}function d56(c,r){if(1&c&&(o(0,"label",63),f(1),m(2,"translate"),n(),o(3,"div",103)(4,"label",104),f(5),n()()),2&c){const e=h(2);s(),H(_(2,2,"CREATE_CATEGORIES._parent")),s(4),H(e.selectedCategory.name)}}function u56(c,r){if(1&c){const e=j();o(0,"h2",13),f(1),m(2,"translate"),n(),o(3,"div",91)(4,"div")(5,"label",63),f(6),m(7,"translate"),n(),o(8,"label",92),f(9),n()(),o(10,"div",93)(11,"label",94),f(12),m(13,"translate"),n(),R(14,o56,2,1,"span",95)(15,n56,2,1)(16,s56,2,1)(17,l56,2,1),n(),R(18,f56,5,4)(19,d56,6,4),o(20,"div",96)(21,"button",97),C("click",function(){return y(e),b(h().createCategory())}),f(22),m(23,"translate"),w(),o(24,"svg",69),v(25,"path",70),n()()()()}if(2&c){const e=h();s(),H(_(2,8,"CREATE_CATEGORIES._finish")),s(5),H(_(7,10,"CREATE_CATEGORIES._name")),s(3),V(" ",null==e.categoryToCreate?null:e.categoryToCreate.name," "),s(3),H(_(13,12,"CREATE_CATEGORIES._status")),s(2),S(14,"Active"==(null==e.categoryToCreate?null:e.categoryToCreate.lifecycleStatus)?14:"Launched"==(null==e.categoryToCreate?null:e.categoryToCreate.lifecycleStatus)?15:"Retired"==(null==e.categoryToCreate?null:e.categoryToCreate.lifecycleStatus)?16:"Obsolete"==(null==e.categoryToCreate?null:e.categoryToCreate.lifecycleStatus)?17:-1),s(4),S(18,""!=(null==e.categoryToCreate?null:e.categoryToCreate.description)?18:-1),s(),S(19,0==e.isParent?19:-1),s(3),V(" ",_(23,14,"CREATE_CATEGORIES._create")," ")}}function h56(c,r){1&c&&v(0,"error-message",27),2&c&&k("message",h().errorMessage)}let m56=(()=>{class c{constructor(e,a,t,i,l,d){this.router=e,this.cdr=a,this.localStorage=t,this.eventMessage=i,this.elementRef=l,this.api=d,this.partyId="",this.categories=[],this.unformattedCategories=[],this.stepsElements=["general-info","summary"],this.stepsCircles=["general-circle","summary-circle"],this.showPreview=!1,this.showEmoji=!1,this.description="",this.showGeneral=!0,this.showSummary=!1,this.generalDone=!1,this.generalForm=new S2({name:new u1("",[O1.required]),description:new u1("")}),this.isParent=!0,this.parentSelectionCheck=!1,this.selectedCategory=void 0,this.loading=!1,this.errorMessage="",this.showError=!1,this.eventMessage.messages$.subscribe(u=>{"ChangedSession"===u.type&&this.initPartyInfo(),"CategoryAdded"===u.type&&this.addCategory(u.value)})}onClick(){1==this.showEmoji&&(this.showEmoji=!1,this.cdr.detectChanges())}ngOnInit(){this.initPartyInfo()}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0)if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}this.getCategories()}goBack(){this.eventMessage.emitAdminCategories(!0)}getCategories(){console.log("Getting categories..."),this.api.getLaunchedCategories().then(e=>{for(let a=0;ai.parentId===e.id);if(e.children=t,1==e.isRoot?this.categories.push(e):this.saveChildren(this.categories,e),0!=t.length)for(let i=0;i{if(a=t,e.children=a,1==e.isRoot?this.categories.push(e):this.saveChildren(this.categories,e),0!=a.length)for(let i=0;id.id==a.id)){let d=i.findIndex(u=>u.id==a.id);i[d]=a,e[t].children=i}this.saveChildren(i,a)}}}toggleGeneral(){this.selectStep("general-info","general-circle"),this.showGeneral=!0,this.showSummary=!1,this.showPreview=!1}toggleParent(){this.isParent=!this.isParent,this.parentSelectionCheck=!this.parentSelectionCheck,this.cdr.detectChanges()}addCategory(e){null==this.selectedCategory?(this.selectedCategory=e,this.selected=[],this.selected.push(e)):-1!==this.selected.findIndex(t=>t.id===e.id)?(this.selected=[],this.selectedCategory=void 0):(this.selectedCategory=e,this.selected=[],this.selected.push(e)),this.cdr.detectChanges()}isCategorySelected(e){return null!=this.selectedCategory&&e.id==this.selectedCategory.id}showFinish(){null!=this.generalForm.value.name&&(this.categoryToCreate={name:this.generalForm.value.name,description:null!=this.generalForm.value.description?this.generalForm.value.description:"",lifecycleStatus:"Active",isRoot:this.isParent},0==this.isParent&&(this.categoryToCreate.parentId=this.selectedCategory.id),console.log("CATEGORY TO CREATE:"),console.log(this.categoryToCreate),this.showGeneral=!1,this.showSummary=!0,this.selectStep("summary","summary-circle")),this.showPreview=!1}createCategory(){this.api.postCategory(this.categoryToCreate).subscribe({next:e=>{this.goBack()},error:e=>{console.error("There was an error while updating!",e),e.error.error?(console.log(e),this.errorMessage="Error: "+e.error.error):this.errorMessage="There was an error while creating the category!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}removeClass(e,a){e.className=(" "+e.className+" ").replace(" "+a+" "," ").replace(/^\s+|\s+$/g,"")}addClass(e,a){e.className+=" "+a}unselectMenu(e,a){null!=e&&(e.className.match(a)?this.removeClass(e,a):console.log("already unselected"))}selectMenu(e,a){null!=e&&(e.className.match(a)?console.log("already selected"):this.addClass(e,a))}selectStep(e,a){const t=this.stepsElements.findIndex(l=>l===e);if(-1!==t){this.stepsElements.splice(t,1),this.selectMenu(document.getElementById(e),"text-primary-100 dark:text-primary-50"),this.unselectMenu(document.getElementById(e),"text-gray-500");for(let l=0;ll===a);if(-1!==t){this.stepsCircles.splice(i,1),this.selectMenu(document.getElementById(a),"border-primary-100 dark:border-primary-50"),this.unselectMenu(document.getElementById(a),"border-gray-400");for(let l=0;l blockquote"})}addLink(){this.generalForm.patchValue({description:this.generalForm.value.description+" [title](https://www.example.com) "})}addTable(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"})}addEmoji(e){console.log(e),this.showEmoji=!1,this.generalForm.patchValue({description:this.generalForm.value.description+e.emoji.native})}togglePreview(){this.generalForm.value.description&&(this.description=this.generalForm.value.description)}static#e=this.\u0275fac=function(a){return new(a||c)(B(Z1),B(B1),B(R1),B(e2),B(v2),B(p1))};static#c=this.\u0275cmp=V1({type:c,selectors:[["create-category"]],hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},decls:52,vars:29,consts:[[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-gray-200","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800","dark:text-white"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","mt-4","p-8","rounded-lg"],[1,"text-3xl","font-bold","text-primary-100","ml-4","dark:text-white"],[1,"h-px","m-4","bg-gray-300","dark:bg-gray-200","border-0"],[1,"md:grid","md:grid-cols-20/80"],[1,"flex","sm:flex-row","md:flex-col","md:mr-4","w-full","md:w-fit","overflow-x-auto"],[1,"hidden","md:block","text-xl","font-bold","text-black","mb-4","dark:text-white"],["id","general-info",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-40/60","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-primary-100","dark:text-primary-50","justify-items-center","md:justify-items-start",3,"click","disabled"],["id","general-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-primary-100","dark:border-primary-50","rounded-full","shrink-0"],[1,"flex","sm:text-center","md:text-start"],[1,"hidden","xl:flex","text-xs","sm:text-center","md:text-start"],[1,"h-px","mb-2","bg-gray-300","dark:bg-gray-200","border-0"],["id","summary",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-40/60","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"disabled"],["id","summary-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],[1,"flex","leading-tight","justify-start"],[1,"hidden","xl:flex","text-xs","justify-start","text-start"],[1,"fixed","w-fit","top-1/2","left-1/2",3,"message"],[1,"m-4","gap-4",3,"formGroup"],["for","prod-name",1,"font-bold","text-lg","dark:text-white"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],[1,"w-full","col-span-2","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200"],[1,"flex","items-center","justify-between","px-3","py-2","border-b"],[1,"flex","flex-wrap","items-center","divide-gray-200","dark:divide-secondary-200","sm:divide-x","sm:rtl:divide-x-reverse"],[1,"flex","items-center","space-x-1","rtl:space-x-reverse","sm:pe-4","text-gray-500","dark:text-gray-200"],["type","button",1,"p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 5h4.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0-7H6m2 7h6.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0 0H6"],[1,"sr-only"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8.874 19 6.143-14M6 19h6.33m-.66-14H18"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M9 8h10M9 12h10M9 16h10M4.99 8H5m-.02 4h.01m0 4H5"],["type","button",1,"hidden","lg:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4"],["type","button",1,"hidden","md:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["fill-rule","evenodd","d","M5 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm0 12a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm1.65-9.76A1 1 0 0 0 5 9v6a1 1 0 0 0 1.65.76l3.5-3a1 1 0 0 0 0-1.52l-3.5-3ZM12 10a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Zm0 4a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Z","clip-rule","evenodd"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-width","2","d","M3 11h18m-9 0v8m-8 0h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 3v4a1 1 0 0 1-1 1H5m5 4-2 2 2 2m4-4 2 2-2 2m5-12v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M13.213 9.787a3.391 3.391 0 0 0-4.795 0l-3.425 3.426a3.39 3.39 0 0 0 4.795 4.794l.321-.304m-.321-4.49a3.39 3.39 0 0 0 4.795 0l3.424-3.426a3.39 3.39 0 0 0-4.794-4.795l-1.028.961"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-4","h-4"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM13.5 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm-7 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm3.5 9.5A5.5 5.5 0 0 1 4.6 11h10.81A5.5 5.5 0 0 1 10 15.5Z"],["type","button","data-tooltip-target","tooltip-fullscreen",1,"rounded","cursor-pointer","text-gray-500","dark:text-gray-200","p-2","sm:ms-auto","hover:text-gray-900","dark:hover:text-gray-900","hover:bg-gray-100",3,"click"],["stroke","currentColor","stroke-width","2","d","M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z"],["stroke","currentColor","stroke-width","2","d","M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"],["id","tooltip-fullscreen","role","tooltip",1,"absolute","z-10","invisible","inline-block","px-3","py-2","text-sm","font-medium","text-white","transition-opacity","duration-300","bg-gray-900","rounded-lg","shadow-sm","opacity-0","tooltip"],["data-popper-arrow","",1,"tooltip-arrow"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","rounded-b-lg"],["for","editor",1,"sr-only"],[1,"bg-gray-50","dark:bg-secondary-300","dark:text-white","text-gray-900","text-wrap","break-all",3,"data"],[3,"darkMode","style"],[1,"font-bold","text-lg","dark:text-white"],[1,"inline-flex","items-center","me-5","cursor-pointer","ml-4"],["type","checkbox",1,"sr-only","peer",3,"change","checked"],[1,"relative","w-11","h-6","bg-gray-400","dark:bg-gray-700","rounded-full","peer","peer-focus:ring-4","peer-focus:ring-primary-100","peer-checked:after:translate-x-full","rtl:peer-checked:after:-translate-x-full","peer-checked:after:border-white","after:content-['']","after:absolute","after:top-0.5","after:start-[2px]","after:bg-white","after:border-gray-300","after:border","after:rounded-full","after:h-5","after:w-5","after:transition-all","peer-checked:bg-primary-100"],[1,"flex","w-full","justify-items-end","justify-end"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],["id","editor","formControlName","description","rows","8","placeholder","Add product description...",1,"block","w-full","px-0","text-sm","text-gray-800","dark:text-gray-200","bg-white","dark:bg-secondary-300","border-0"],[3,"click","emojiClick","darkMode"],[1,"flex","justify-center","w-full","m-4"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","mt-4"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],[1,"flex","w-full","justify-between"],["scope","col",1,"flex","px-6","py-3","w-3/5"],["scope","col",1,"hidden","md:flex","px-6","py-3","w-fit"],["scope","col",1,"flex","px-6","py-3","w-fit"],[1,"flex","border-b","dark:border-gray-700","hover:bg-gray-200","w-full","justify-between","dark:bg-secondary-300","dark:hover:bg-secondary-200"],[1,"flex","px-6","py-4","w-3/5","text-wrap","break-all"],[1,"hidden","md:flex","px-6","py-4","w-fit"],[1,"flex","px-6","py-4","w-fit","justify-end"],["id","select-checkbox","type","checkbox","value","",1,"flex","w-4","h-4","justify-end","text-blue-600","bg-gray-100","border-gray-300","rounded","focus:ring-blue-500","dark:focus:ring-blue-600","dark:ring-offset-gray-800","focus:ring-2","dark:bg-gray-700","dark:border-gray-600",3,"click","checked"],["colspan","3"],[1,"w-full",3,"child","parent","selected","path"],[1,"m-8"],[1,"mb-2","bg-gray-50","text-wrap","break-all","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"mb-4"],[1,"font-bold","text-lg","mr-4","dark:text-white"],[1,"bg-blue-100","dark:bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"flex","w-full","justify-items-end","justify-end","ml-4"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],[1,"bg-blue-100","dark:bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","border","dark:border-secondary-200","rounded-lg","p-4","mb-4"],[1,"bg-gray-50","dark:bg-secondary-100","dark:text-white","text-gray-900","text-wrap","break-all",3,"data"],[1,"px-4","py-2","bg-white","border","border-1","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","rounded-lg","p-4","mb-4"],[1,"text-base","dark:text-white","text-wrap","break-all"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",0)(2,"nav",1)(3,"ol",2)(4,"li",3)(5,"button",4),C("click",function(){return t.goBack()}),w(),o(6,"svg",5),v(7,"path",6),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",7)(11,"div",8),w(),o(12,"svg",9),v(13,"path",10),n(),O(),o(14,"span",11),f(15),m(16,"translate"),n()()()()()(),o(17,"div",12)(18,"h2",13),f(19),m(20,"translate"),n(),v(21,"hr",14),o(22,"div",15)(23,"div",16)(24,"h2",17),f(25),m(26,"translate"),n(),o(27,"button",18),C("click",function(){return t.toggleGeneral()}),o(28,"span",19),f(29," 1 "),n(),o(30,"span")(31,"h3",20),f(32),m(33,"translate"),n(),o(34,"p",21),f(35),m(36,"translate"),n()()(),v(37,"hr",22),o(38,"button",23)(39,"span",24),f(40," 2 "),n(),o(41,"span")(42,"h3",25),f(43),m(44,"translate"),n(),o(45,"p",26),f(46),m(47,"translate"),n()()()(),o(48,"div"),R(49,i56,95,49)(50,u56,26,16),n()()()(),R(51,h56,1,1,"error-message",27)),2&a&&(s(8),V(" ",_(9,13,"CREATE_CATEGORIES._back")," "),s(7),H(_(16,15,"CREATE_CATEGORIES._create")),s(4),H(_(20,17,"CREATE_CATEGORIES._new")),s(6),H(_(26,19,"CREATE_CATEGORIES._steps")),s(2),k("disabled",!t.generalDone),s(5),H(_(33,21,"CREATE_CATEGORIES._general")),s(3),H(_(36,23,"CREATE_CATEGORIES._general_info")),s(3),k("disabled",!0),s(5),H(_(44,25,"CREATE_CATEGORIES._finish")),s(3),H(_(47,27,"CREATE_CATEGORIES._summary")),s(3),S(49,t.showGeneral?49:-1),s(),S(50,t.showSummary?50:-1),s(),S(51,t.showError?51:-1))},dependencies:[k2,I4,H4,N4,O4,X4,f3,G3,_4,Yl,C4,Q4,J1]})}return c})();const _56=(c,r)=>r.id,p56=()=>({position:"relative",left:"200px",top:"-500px"});function g56(c,r){if(1&c){const e=j();o(0,"li",77),C("click",function(){return y(e),b(h(2).setCatStatus("Active"))}),o(1,"span",8),w(),o(2,"svg",78),v(3,"path",79),n(),f(4," Active "),n()()}}function v56(c,r){if(1&c){const e=j();o(0,"li",80),C("click",function(){return y(e),b(h(2).setCatStatus("Active"))}),o(1,"span",8),f(2," Active "),n()()}}function H56(c,r){if(1&c){const e=j();o(0,"li",81),C("click",function(){return y(e),b(h(2).setCatStatus("Launched"))}),o(1,"span",8),w(),o(2,"svg",82),v(3,"path",79),n(),f(4," Launched "),n()()}}function C56(c,r){if(1&c){const e=j();o(0,"li",80),C("click",function(){return y(e),b(h(2).setCatStatus("Launched"))}),o(1,"span",8),f(2," Launched "),n()()}}function z56(c,r){if(1&c){const e=j();o(0,"li",83),C("click",function(){return y(e),b(h(2).setCatStatus("Retired"))}),o(1,"span",8),w(),o(2,"svg",84),v(3,"path",79),n(),f(4," Retired "),n()()}}function V56(c,r){if(1&c){const e=j();o(0,"li",80),C("click",function(){return y(e),b(h(2).setCatStatus("Retired"))}),o(1,"span",8),f(2," Retired "),n()()}}function M56(c,r){if(1&c){const e=j();o(0,"li",85),C("click",function(){return y(e),b(h(2).setCatStatus("Obsolete"))}),o(1,"span",86),w(),o(2,"svg",87),v(3,"path",79),n(),f(4," Obsolete "),n()()}}function L56(c,r){if(1&c){const e=j();o(0,"li",85),C("click",function(){return y(e),b(h(2).setCatStatus("Obsolete"))}),o(1,"span",8),f(2," Obsolete "),n()()}}function y56(c,r){1&c&&v(0,"markdown",68),2&c&&k("data",h(2).description)}function b56(c,r){1&c&&v(0,"textarea",88)}function x56(c,r){if(1&c){const e=j();o(0,"emoji-mart",89),C("click",function(t){return y(e),b(t.stopPropagation())})("emojiClick",function(t){return y(e),b(h(2).addEmoji(t))}),n()}2&c&&(Y2(A4(3,p56)),k("darkMode",!1))}function w56(c,r){1&c&&(o(0,"div",90)(1,"div",91),w(),o(2,"svg",92),v(3,"path",93),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"OFFERINGS._no_categories")," "))}function F56(c,r){if(1&c&&(o(0,"tr")(1,"td",106),v(2,"categories-recursion",107),n()()),2&c){const e=r.$implicit,a=h(2).$implicit,t=h(4);s(2),k("child",e)("parent",a)("selected",t.selected)("path",a.name)}}function k56(c,r){1&c&&c1(0,F56,3,4,"tr",null,z1),2&c&&a1(h().$implicit.children)}function S56(c,r){if(1&c){const e=j();o(0,"tr",101)(1,"td",102)(2,"b"),f(3),n()(),o(4,"td",103),f(5),m(6,"date"),n(),o(7,"td",104)(8,"input",105),C("click",function(){const t=y(e).$implicit;return b(h(4).addCategory(t))}),n()()(),R(9,k56,2,0)}if(2&c){const e=r.$implicit,a=h(4);s(3),H(e.name),s(2),V(" ",L2(6,4,e.lastUpdate,"EEEE, dd/MM/yy, HH:mm")," "),s(3),k("checked",a.isCategorySelected(e)),s(),S(9,e.children.length>0?9:-1)}}function N56(c,r){if(1&c&&(o(0,"div",94)(1,"table",95)(2,"thead",96)(3,"tr",97)(4,"th",98),f(5),m(6,"translate"),n(),o(7,"th",99),f(8),m(9,"translate"),n(),o(10,"th",100),f(11),m(12,"translate"),n()()(),o(13,"tbody"),c1(14,S56,10,7,null,null,_56),n()()()),2&c){const e=h(3);s(5),V(" ",_(6,3,"CREATE_OFFER._name")," "),s(3),V(" ",_(9,5,"CREATE_OFFER._last_update")," "),s(3),V(" ",_(12,7,"CREATE_OFFER._select")," "),s(3),a1(e.categories)}}function D56(c,r){1&c&&R(0,w56,7,3,"div",90)(1,N56,16,9),2&c&&S(0,0==h(2).categories.length?0:1)}function T56(c,r){if(1&c){const e=j();o(0,"h2",13),f(1),m(2,"translate"),n(),o(3,"form",28)(4,"label",29),f(5),m(6,"translate"),n(),v(7,"input",30),o(8,"label",31),f(9),m(10,"translate"),n(),o(11,"div",32)(12,"ol",33),R(13,g56,5,0,"li",34)(14,v56,3,0)(15,H56,5,0,"li",35)(16,C56,3,0)(17,z56,5,0,"li",36)(18,V56,3,0)(19,M56,5,0,"li",37)(20,L56,3,0),n()(),o(21,"label",29),f(22),m(23,"translate"),n(),o(24,"div",38)(25,"div",39)(26,"div",40)(27,"div",41)(28,"button",42),C("click",function(){return y(e),b(h().addBold())}),w(),o(29,"svg",43),v(30,"path",44),n(),O(),o(31,"span",45),f(32,"Bold"),n()(),o(33,"button",42),C("click",function(){return y(e),b(h().addItalic())}),w(),o(34,"svg",43),v(35,"path",46),n(),O(),o(36,"span",45),f(37,"Italic"),n()(),o(38,"button",42),C("click",function(){return y(e),b(h().addList())}),w(),o(39,"svg",47),v(40,"path",48),n(),O(),o(41,"span",45),f(42,"Add list"),n()(),o(43,"button",49),C("click",function(){return y(e),b(h().addOrderedList())}),w(),o(44,"svg",47),v(45,"path",50),n(),O(),o(46,"span",45),f(47,"Add ordered list"),n()(),o(48,"button",51),C("click",function(){return y(e),b(h().addBlockquote())}),w(),o(49,"svg",52),v(50,"path",53),n(),O(),o(51,"span",45),f(52,"Add blockquote"),n()(),o(53,"button",42),C("click",function(){return y(e),b(h().addTable())}),w(),o(54,"svg",54),v(55,"path",55),n(),O(),o(56,"span",45),f(57,"Add table"),n()(),o(58,"button",51),C("click",function(){return y(e),b(h().addCode())}),w(),o(59,"svg",54),v(60,"path",56),n(),O(),o(61,"span",45),f(62,"Add code"),n()(),o(63,"button",51),C("click",function(){return y(e),b(h().addCodeBlock())}),w(),o(64,"svg",54),v(65,"path",57),n(),O(),o(66,"span",45),f(67,"Add code block"),n()(),o(68,"button",51),C("click",function(){return y(e),b(h().addLink())}),w(),o(69,"svg",54),v(70,"path",58),n(),O(),o(71,"span",45),f(72,"Add link"),n()(),o(73,"button",49),C("click",function(t){y(e);const i=h();return i.showEmoji=!i.showEmoji,b(t.stopPropagation())}),w(),o(74,"svg",59),v(75,"path",60),n(),O(),o(76,"span",45),f(77,"Add emoji"),n()()()(),o(78,"button",61),C("click",function(){y(e);const t=h();return t.showPreview=!t.showPreview,b(t.togglePreview())}),w(),o(79,"svg",47),v(80,"path",62)(81,"path",63),n(),O(),o(82,"span",45),f(83),m(84,"translate"),n()(),o(85,"div",64),f(86),m(87,"translate"),v(88,"div",65),n()(),o(89,"div",66)(90,"label",67),f(91,"Publish post"),n(),R(92,y56,1,1,"markdown",68)(93,b56,1,0)(94,x56,1,4,"emoji-mart",69),n()(),o(95,"label",31),f(96),m(97,"translate"),n(),o(98,"label",70)(99,"input",71),C("change",function(){return y(e),b(h().toggleParent())}),n(),v(100,"div",72),n(),R(101,D56,2,1),n(),o(102,"div",73)(103,"button",74),C("click",function(){y(e);const t=h();return t.showFinish(),b(t.generalDone=!0)}),f(104),m(105,"translate"),w(),o(106,"svg",75),v(107,"path",76),n()()()}if(2&c){let e;const a=h();s(),H(_(2,41,"UPDATE_CATEGORIES._general")),s(2),k("formGroup",a.generalForm),s(2),H(_(6,43,"UPDATE_CATEGORIES._name")),s(2),k("ngClass",1==(null==(e=a.generalForm.get("name"))?null:e.invalid)&&""!=a.generalForm.value.name?"border-red-600":"border-gray-300"),s(2),H(_(10,45,"UPDATE_CATALOG._status")),s(4),S(13,"Active"==a.catStatus?13:14),s(2),S(15,"Launched"==a.catStatus?15:16),s(2),S(17,"Retired"==a.catStatus?17:18),s(2),S(19,"Obsolete"==a.catStatus?19:20),s(3),H(_(23,47,"UPDATE_CATEGORIES._description")),s(6),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(5),k("disabled",a.showPreview)("ngClass",a.showPreview?"opacity-50 cursor-not-allowed":"cursor-pointer"),s(10),H(_(84,49,"CREATE_CATALOG._preview")),s(3),V(" ",_(87,51,"CREATE_CATALOG._show_preview")," "),s(6),S(92,a.showPreview?92:93),s(2),S(94,a.showEmoji?94:-1),s(2),H(_(97,53,"UPDATE_CATEGORIES._choose_parent")),s(3),k("disabled",a.checkDisableParent)("checked",a.parentSelectionCheck),s(2),S(101,a.parentSelectionCheck?101:-1),s(2),k("disabled",!a.generalForm.valid||1==a.parentSelectionCheck&&null==a.selectedCategory)("ngClass",!a.generalForm.valid||1==a.parentSelectionCheck&&null==a.selectedCategory?"opacity-50":"hover:bg-primary-50"),s(),V(" ",_(105,55,"UPDATE_CATEGORIES._next")," ")}}function E56(c,r){if(1&c&&(o(0,"span",112),f(1),n()),2&c){const e=h(2);s(),H(null==e.categoryToUpdate?null:e.categoryToUpdate.lifecycleStatus)}}function A56(c,r){if(1&c&&(o(0,"span",115),f(1),n()),2&c){const e=h(2);s(),H(null==e.categoryToUpdate?null:e.categoryToUpdate.lifecycleStatus)}}function P56(c,r){if(1&c&&(o(0,"span",116),f(1),n()),2&c){const e=h(2);s(),H(null==e.categoryToUpdate?null:e.categoryToUpdate.lifecycleStatus)}}function R56(c,r){if(1&c&&(o(0,"span",117),f(1),n()),2&c){const e=h(2);s(),H(null==e.categoryToUpdate?null:e.categoryToUpdate.lifecycleStatus)}}function B56(c,r){if(1&c&&(o(0,"label",31),f(1),m(2,"translate"),n(),o(3,"div",118),v(4,"markdown",119),n()),2&c){const e=h(2);s(),H(_(2,2,"UPDATE_CATEGORIES._description")),s(3),k("data",null==e.categoryToUpdate?null:e.categoryToUpdate.description)}}function O56(c,r){if(1&c&&(o(0,"label",31),f(1),m(2,"translate"),n(),o(3,"div",120)(4,"label",121),f(5),n()()),2&c){const e=h(2);s(),H(_(2,2,"UPDATE_CATEGORIES._parent")),s(4),H(e.selectedCategory.name)}}function I56(c,r){if(1&c){const e=j();o(0,"h2",13),f(1),m(2,"translate"),n(),o(3,"div",108)(4,"div")(5,"label",31),f(6),m(7,"translate"),n(),o(8,"label",109),f(9),n()(),o(10,"div",110)(11,"label",111),f(12),m(13,"translate"),n(),R(14,E56,2,1,"span",112)(15,A56,2,1)(16,P56,2,1)(17,R56,2,1),n(),R(18,B56,5,4)(19,O56,6,4),o(20,"div",113)(21,"button",114),C("click",function(){return y(e),b(h().updateCategory())}),f(22),m(23,"translate"),w(),o(24,"svg",75),v(25,"path",76),n()()()()}if(2&c){const e=h();s(),H(_(2,8,"UPDATE_CATEGORIES._finish")),s(5),H(_(7,10,"UPDATE_CATEGORIES._name")),s(3),V(" ",null==e.categoryToUpdate?null:e.categoryToUpdate.name," "),s(3),H(_(13,12,"UPDATE_CATEGORIES._status")),s(2),S(14,"Active"==(null==e.categoryToUpdate?null:e.categoryToUpdate.lifecycleStatus)?14:"Launched"==(null==e.categoryToUpdate?null:e.categoryToUpdate.lifecycleStatus)?15:"Retired"==(null==e.categoryToUpdate?null:e.categoryToUpdate.lifecycleStatus)?16:"Obsolete"==(null==e.categoryToUpdate?null:e.categoryToUpdate.lifecycleStatus)?17:-1),s(4),S(18,""!=(null==e.categoryToUpdate?null:e.categoryToUpdate.description)?18:-1),s(),S(19,0==e.isParent?19:-1),s(3),V(" ",_(23,14,"UPDATE_CATEGORIES._update")," ")}}function U56(c,r){1&c&&v(0,"error-message",27),2&c&&k("message",h().errorMessage)}let j56=(()=>{class c{constructor(e,a,t,i,l,d){this.router=e,this.cdr=a,this.localStorage=t,this.eventMessage=i,this.elementRef=l,this.api=d,this.partyId="",this.categories=[],this.unformattedCategories=[],this.stepsElements=["general-info","summary"],this.stepsCircles=["general-circle","summary-circle"],this.showPreview=!1,this.showEmoji=!1,this.description="",this.showGeneral=!0,this.showSummary=!1,this.generalDone=!1,this.generalForm=new S2({name:new u1("",[O1.required]),description:new u1("")}),this.isParent=!0,this.parentSelectionCheck=!1,this.checkDisableParent=!1,this.selectedCategory=void 0,this.loading=!1,this.catStatus="Active",this.errorMessage="",this.showError=!1,this.eventMessage.messages$.subscribe(u=>{"ChangedSession"===u.type&&this.initPartyInfo(),"CategoryAdded"===u.type&&this.addCategory(u.value)})}onClick(){1==this.showEmoji&&(this.showEmoji=!1,this.cdr.detectChanges())}ngOnInit(){this.initPartyInfo()}initPartyInfo(){let e=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(e)&&e.expire-s2().unix()-4>0)if(e.logged_as==e.id)this.partyId=e.partyId;else{let a=e.organizations.find(t=>t.id==e.logged_as);this.partyId=a.partyId}this.getCategories(),this.populateCatInfo()}populateCatInfo(){this.generalForm.controls.name.setValue(this.category.name),this.generalForm.controls.description.setValue(this.category.description),this.catStatus=this.category.lifecycleStatus,0==this.category.isRoot?(this.isParent=!1,this.parentSelectionCheck=!0,this.checkDisableParent=!0):(this.isParent=!0,this.parentSelectionCheck=!1)}goBack(){this.eventMessage.emitAdminCategories(!0)}getCategories(){console.log("Getting categories..."),this.api.getLaunchedCategories().then(e=>{for(let a=0;at.id===this.category.parentId);-1!==a&&(this.selectedCategory=this.categories[a],this.selected=[],this.selected.push(this.selectedCategory))}this.cdr.detectChanges(),S1()})}findChildren(e,a){let t=a.filter(i=>i.parentId===e.id);if(e.children=t,1==e.isRoot?this.categories.push(e):this.saveChildren(this.categories,e),0!=t.length)for(let i=0;i{if(a=t,e.children=a,1==e.isRoot?this.categories.push(e):this.saveChildren(this.categories,e),0!=a.length)for(let i=0;id.id==a.id)){let d=i.findIndex(u=>u.id==a.id);i[d]=a,e[t].children=i}this.saveChildren(i,a)}}}toggleGeneral(){this.selectStep("general-info","general-circle"),this.showGeneral=!0,this.showSummary=!1,this.showPreview=!1}toggleParent(){this.isParent=!this.isParent,this.parentSelectionCheck=!this.parentSelectionCheck,this.cdr.detectChanges()}addCategory(e){null==this.selectedCategory?(this.selectedCategory=e,this.selected=[],this.selected.push(e)):-1!==this.selected.findIndex(t=>t.id===e.id)?(this.selected=[],this.selectedCategory=void 0):(this.selectedCategory=e,this.selected=[],this.selected.push(e)),this.cdr.detectChanges()}isCategorySelected(e){return null!=this.selectedCategory&&e.id==this.selectedCategory.id}showFinish(){null!=this.generalForm.value.name&&(this.categoryToUpdate={name:this.generalForm.value.name,description:null!=this.generalForm.value.description?this.generalForm.value.description:"",lifecycleStatus:this.catStatus,isRoot:this.isParent},0==this.isParent&&(this.categoryToUpdate.parentId=this.selectedCategory.id),console.log(this.isParent),console.log("CATEGORY TO UPDATE:"),console.log(this.categoryToUpdate),this.showGeneral=!1,this.showSummary=!0,this.selectStep("summary","summary-circle")),this.showPreview=!1}updateCategory(){this.api.updateCategory(this.categoryToUpdate,this.category.id).subscribe({next:e=>{this.goBack()},error:e=>{console.error("There was an error while updating!",e),e.error.error?(console.log(e),this.errorMessage="Error: "+e.error.error):this.errorMessage="There was an error while creating the category!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}setCatStatus(e){this.catStatus=e,this.cdr.detectChanges()}removeClass(e,a){e.className=(" "+e.className+" ").replace(" "+a+" "," ").replace(/^\s+|\s+$/g,"")}addClass(e,a){e.className+=" "+a}unselectMenu(e,a){null!=e&&(e.className.match(a)?this.removeClass(e,a):console.log("already unselected"))}selectMenu(e,a){null!=e&&(e.className.match(a)?console.log("already selected"):this.addClass(e,a))}selectStep(e,a){const t=this.stepsElements.findIndex(l=>l===e);if(-1!==t){this.stepsElements.splice(t,1),this.selectMenu(document.getElementById(e),"text-primary-100 dark:text-primary-50"),this.unselectMenu(document.getElementById(e),"text-gray-500");for(let l=0;ll===a);if(-1!==t){this.stepsCircles.splice(i,1),this.selectMenu(document.getElementById(a),"border-primary-100 dark:border-primary-50"),this.unselectMenu(document.getElementById(a),"border-gray-400");for(let l=0;l blockquote"})}addLink(){this.generalForm.patchValue({description:this.generalForm.value.description+" [title](https://www.example.com) "})}addTable(){this.generalForm.patchValue({description:this.generalForm.value.description+"\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |"})}addEmoji(e){console.log(e),this.showEmoji=!1,this.generalForm.patchValue({description:this.generalForm.value.description+e.emoji.native})}togglePreview(){this.generalForm.value.description&&(this.description=this.generalForm.value.description)}static#e=this.\u0275fac=function(a){return new(a||c)(B(Z1),B(B1),B(R1),B(e2),B(v2),B(p1))};static#c=this.\u0275cmp=V1({type:c,selectors:[["update-category"]],hostBindings:function(a,t){1&a&&C("click",function(){return t.onClick()},0,d4)},inputs:{category:"category"},decls:52,vars:27,consts:[[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-gray-200","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800","dark:text-white"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","mt-4","p-8","rounded-lg"],[1,"text-3xl","font-bold","text-primary-100","ml-4","dark:text-white"],[1,"h-px","m-4","bg-gray-300","dark:bg-gray-200","border-0"],[1,"md:grid","md:grid-cols-20/80"],[1,"flex","sm:flex-row","md:flex-col","md:mr-4","w-full","md:w-fit","overflow-x-auto"],[1,"hidden","md:block","text-xl","font-bold","text-black","mb-4","dark:text-white"],["id","general-info",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-40/60","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-primary-100","dark:text-primary-50","justify-items-center","md:justify-items-start",3,"click"],["id","general-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-primary-100","dark:border-primary-50","rounded-full","shrink-0"],[1,"flex","sm:text-center","md:text-start"],[1,"hidden","xl:flex","text-xs","sm:text-center","md:text-start"],[1,"h-px","mb-2","bg-gray-300","dark:bg-gray-200","border-0"],["id","summary",1,"grid","sm:grid-rows-2","md:grid-rows-1","md:grid-cols-40/60","xl:grid-cols-20/80","mb-2","mr-2","md:mr-0","text-gray-500","justify-items-center","md:justify-items-start",3,"click"],["id","summary-circle",1,"flex","items-center","justify-center","w-6","h-6","md:w-8","md:h-8","border","border-2","border-gray-400","rounded-full","shrink-0"],[1,"flex","leading-tight","justify-start"],[1,"hidden","xl:flex","text-xs","justify-start","text-start"],[1,"fixed","w-fit","top-1/2","left-1/2",3,"message"],[1,"m-4","gap-4",3,"formGroup"],["for","prod-name",1,"font-bold","text-lg","dark:text-white"],["formControlName","name","type","text","id","prod-name",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],[1,"font-bold","text-lg","dark:text-white"],[1,"mb-2"],[1,"flex","items-center","w-full","text-sm","font-medium","text-center","text-gray-500","dark:text-gray-200","sm:text-base"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-blue-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-green-700","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-yellow-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10"],[1,"cursor-pointer","flex","items-center"],[1,"w-full","col-span-2","mb-4","border","border-gray-200","rounded-lg","bg-gray-50","dark:bg-secondary-200","dark:border-secondary-200"],[1,"flex","items-center","justify-between","px-3","py-2","border-b"],[1,"flex","flex-wrap","items-center","divide-gray-200","dark:divide-secondary-200","sm:divide-x","sm:rtl:divide-x-reverse"],[1,"flex","items-center","space-x-1","rtl:space-x-reverse","sm:pe-4","text-gray-500","dark:text-gray-200"],["type","button",1,"p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 5h4.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0-7H6m2 7h6.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0 0H6"],[1,"sr-only"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8.874 19 6.143-14M6 19h6.33m-.66-14H18"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M9 8h10M9 12h10M9 16h10M4.99 8H5m-.02 4h.01m0 4H5"],["type","button",1,"hidden","lg:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4"],["type","button",1,"hidden","md:block","p-2","rounded","hover:text-gray-900","hover:bg-gray-100",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["fill-rule","evenodd","d","M5 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm0 12a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm1.65-9.76A1 1 0 0 0 5 9v6a1 1 0 0 0 1.65.76l3.5-3a1 1 0 0 0 0-1.52l-3.5-3ZM12 10a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Zm0 4a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1Z","clip-rule","evenodd"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke","currentColor","stroke-width","2","d","M3 11h18m-9 0v8m-8 0h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 3v4a1 1 0 0 1-1 1H5m5 4-2 2 2 2m4-4 2 2-2 2m5-12v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M13.213 9.787a3.391 3.391 0 0 0-4.795 0l-3.425 3.426a3.39 3.39 0 0 0 4.795 4.794l.321-.304m-.321-4.49a3.39 3.39 0 0 0 4.795 0l3.424-3.426a3.39 3.39 0 0 0-4.794-4.795l-1.028.961"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"w-4","h-4"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM13.5 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm-7 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm3.5 9.5A5.5 5.5 0 0 1 4.6 11h10.81A5.5 5.5 0 0 1 10 15.5Z"],["type","button","data-tooltip-target","tooltip-fullscreen",1,"rounded","cursor-pointer","text-gray-500","dark:text-gray-200","p-2","sm:ms-auto","hover:text-gray-900","dark:hover:text-gray-900","hover:bg-gray-100",3,"click"],["stroke","currentColor","stroke-width","2","d","M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z"],["stroke","currentColor","stroke-width","2","d","M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"],["id","tooltip-fullscreen","role","tooltip",1,"absolute","z-10","invisible","inline-block","px-3","py-2","text-sm","font-medium","text-white","transition-opacity","duration-300","bg-gray-900","rounded-lg","shadow-sm","opacity-0","tooltip"],["data-popper-arrow","",1,"tooltip-arrow"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","rounded-b-lg"],["for","editor",1,"sr-only"],[1,"bg-gray-50","text-wrap","break-all","dark:bg-secondary-300","dark:text-white","text-gray-900",3,"data"],[3,"darkMode","style"],[1,"inline-flex","items-center","me-5","cursor-pointer","ml-4"],["type","checkbox",1,"sr-only","peer",3,"change","disabled","checked"],[1,"relative","w-11","h-6","bg-gray-400","dark:bg-gray-700","rounded-full","peer","peer-focus:ring-4","peer-focus:ring-primary-100","peer-checked:after:translate-x-full","rtl:peer-checked:after:-translate-x-full","peer-checked:after:border-white","after:content-['']","after:absolute","after:top-0.5","after:start-[2px]","after:bg-white","after:border-gray-300","after:border","after:rounded-full","after:h-5","after:w-5","after:transition-all","peer-checked:bg-primary-100"],[1,"flex","w-full","justify-items-end","justify-end"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click","disabled","ngClass"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-blue-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-blue-500"],["stroke","currentColor","stroke-linecap","round","stroke-width","2","d","M8.737 8.737a21.49 21.49 0 0 1 3.308-2.724m0 0c3.063-2.026 5.99-2.641 7.331-1.3 1.827 1.828.026 6.591-4.023 10.64-4.049 4.049-8.812 5.85-10.64 4.023-1.33-1.33-.736-4.218 1.249-7.253m6.083-6.11c-3.063-2.026-5.99-2.641-7.331-1.3-1.827 1.828-.026 6.591 4.023 10.64m3.308-9.34a21.497 21.497 0 0 1 3.308 2.724m2.775 3.386c1.985 3.035 2.579 5.923 1.248 7.253-1.336 1.337-4.245.732-7.295-1.275M14 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-green-700","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-green-700"],[1,"cursor-pointer","flex","w-fit","md:w-full","items-center","text-yellow-500","after:w-full","after:h-1","after:border-b","after:border-gray-700","dark:after:border-gray-400","after:border-1","after:mx-2","md:after:mx-6","xl:after:mx-10",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-yellow-500"],[1,"cursor-pointer","flex","items-center",3,"click"],[1,"flex","items-center","text-red-800"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","width","24","height","24","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","text-red-800"],["id","editor","formControlName","description","rows","8","placeholder","Add product description...",1,"block","w-full","px-0","text-sm","text-gray-800","dark:text-gray-200","bg-white","dark:bg-secondary-300","border-0"],[3,"click","emojiClick","darkMode"],[1,"flex","justify-center","w-full","m-4"],["role","alert",1,"flex","w-full","items-center","p-4","text-sm","text-primary-100","rounded-lg","bg-blue-50","dark:bg-secondary-200","dark:text-primary-50"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 20 20",1,"flex-shrink-0","inline","w-4","h-4","me-3"],["d","M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"],[1,"relative","overflow-x-auto","shadow-md","sm:rounded-lg","w-full","mt-4"],[1,"w-full","text-sm","text-left","rtl:text-right","text-gray-500","dark:text-gray-200"],[1,"text-xs","text-gray-700","uppercase","bg-gray-100","dark:bg-secondary-200","dark:text-white"],[1,"flex","w-full","justify-between"],["scope","col",1,"flex","px-6","py-3","w-3/5"],["scope","col",1,"hidden","md:flex","px-6","py-3","w-fit"],["scope","col",1,"flex","px-6","py-3","w-fit"],[1,"flex","border-b","dark:border-gray-700","hover:bg-gray-200","w-full","justify-between","dark:bg-secondary-300","dark:hover:bg-secondary-200"],[1,"flex","px-6","py-4","w-3/5","text-wrap","break-all"],[1,"hidden","md:flex","px-6","py-4","w-fit"],[1,"flex","px-6","py-4","w-fit","justify-end"],["id","select-checkbox","type","checkbox","value","",1,"flex","w-4","h-4","justify-end","text-blue-600","bg-gray-100","border-gray-300","rounded","focus:ring-blue-500","dark:focus:ring-blue-600","dark:ring-offset-gray-800","focus:ring-2","dark:bg-gray-700","dark:border-gray-600",3,"click","checked"],["colspan","3"],[1,"w-full",3,"child","parent","selected","path"],[1,"m-8"],[1,"mb-2","bg-gray-50","text-wrap","break-all","border","border-gray-300","text-gray-900","dark:bg-secondary-300","dark:border-secondary-200","dark:text-white","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5"],[1,"mb-4"],[1,"font-bold","text-lg","mr-4","dark:text-white"],[1,"bg-blue-100","dark:bg-secondary-300","text-blue-600","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-blue-400"],[1,"flex","w-full","justify-items-end","justify-end","ml-4"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],[1,"bg-blue-100","dark:bg-secondary-300","text-green-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-green-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-yellow-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-yellow-500"],[1,"bg-blue-100","dark:bg-secondary-300","text-red-500","text-xs","font-medium","me-2","px-2.5","py-0.5","rounded","border","border-red-500"],[1,"px-4","py-2","bg-white","dark:bg-secondary-300","border","dark:border-secondary-200","rounded-lg","p-4","mb-4"],[1,"bg-gray-50","text-wrap","break-all","dark:bg-secondary-100","dark:text-white","text-gray-900",3,"data"],[1,"px-4","py-2","bg-white","border","dark:bg-secondary-300","dark:border-secondary-200","rounded-lg","p-4","mb-4"],[1,"text-base","dark:text-white","text-wrap","break-all"]],template:function(a,t){1&a&&(o(0,"div")(1,"div",0)(2,"nav",1)(3,"ol",2)(4,"li",3)(5,"button",4),C("click",function(){return t.goBack()}),w(),o(6,"svg",5),v(7,"path",6),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",7)(11,"div",8),w(),o(12,"svg",9),v(13,"path",10),n(),O(),o(14,"span",11),f(15),m(16,"translate"),n()()()()()(),o(17,"div",12)(18,"h2",13),f(19),m(20,"translate"),n(),v(21,"hr",14),o(22,"div",15)(23,"div",16)(24,"h2",17),f(25),m(26,"translate"),n(),o(27,"button",18),C("click",function(){return t.toggleGeneral()}),o(28,"span",19),f(29," 1 "),n(),o(30,"span")(31,"h3",20),f(32),m(33,"translate"),n(),o(34,"p",21),f(35),m(36,"translate"),n()()(),v(37,"hr",22),o(38,"button",23),C("click",function(){return t.showFinish()}),o(39,"span",24),f(40," 2 "),n(),o(41,"span")(42,"h3",25),f(43),m(44,"translate"),n(),o(45,"p",26),f(46),m(47,"translate"),n()()()(),o(48,"div"),R(49,T56,108,57)(50,I56,26,16),n()()()(),R(51,U56,1,1,"error-message",27)),2&a&&(s(8),V(" ",_(9,11,"UPDATE_CATEGORIES._back")," "),s(7),H(_(16,13,"UPDATE_CATEGORIES._update")),s(4),H(_(20,15,"UPDATE_CATEGORIES._update")),s(6),H(_(26,17,"UPDATE_CATEGORIES._steps")),s(7),H(_(33,19,"UPDATE_CATEGORIES._general")),s(3),H(_(36,21,"UPDATE_CATEGORIES._general_info")),s(8),H(_(44,23,"UPDATE_CATEGORIES._finish")),s(3),H(_(47,25,"UPDATE_CATEGORIES._summary")),s(3),S(49,t.showGeneral?49:-1),s(),S(50,t.showSummary?50:-1),s(),S(51,t.showError?51:-1))},dependencies:[k2,I4,H4,N4,O4,X4,f3,G3,_4,Yl,C4,Q4,J1]})}return c})();function $56(c,r){1&c&&v(0,"error-message",25),2&c&&k("message",h().errorMessage)}let Y56=(()=>{class c{constructor(e,a){this.eventMessage=e,this.http=a,this.showError=!1,this.errorMessage="",this.verificationForm=new S2({productId:new u1("",[O1.required]),vc:new u1("",[O1.required])})}goBack(){this.eventMessage.emitAdminCategories(!0)}verifyCredential(){return this.http.patch(`${_1.BASE_URL}/admin/uploadcertificate/${this.verificationForm.value.productId}`,{vc:this.verificationForm.value.vc}).subscribe({next:t=>{this.goBack()},error:t=>{console.error("There was an error while updating!",t),t.error.error?(console.log(t),this.errorMessage="Error: "+t.error.error):this.errorMessage="There was an error while uploading the product!",this.showError=!0,setTimeout(()=>{this.showError=!1},3e3)}})}static#e=this.\u0275fac=function(a){return new(a||c)(B(e2),B(U3))};static#c=this.\u0275cmp=V1({type:c,selectors:[["verification"]],decls:40,vars:21,consts:[[1,"pb-4"],["aria-label","Breadcrumb",1,"flex","px-5","py-3","text-gray-700","border","border-gray-200","rounded-lg","bg-secondary-50","dark:bg-secondary-100","dark:border-gray-800","dark:text-white"],[1,"inline-flex","items-center","space-x-1","md:space-x-2","rtl:space-x-reverse"],[1,"inline-flex","items-center"],[1,"inline-flex","items-center","text-sm","font-medium","text-gray-500","dark:text-white","hover:text-primary-100","dark:hover:text-primary-50",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 12 10",1,"w-3","h-3","mr-2","text-gray-400"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2.5","d","M5 1 1 5l4 4m6-8L7 5l4 4"],["aria-current","page"],[1,"flex","items-center"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 6 10",1,"rtl:rotate-180","w-3","h-3","mx-1","text-gray-400","dark:text-white"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","m1 9 4-4-4-4"],[1,"ms-1","text-sm","font-medium","text-gray-500","dark:text-white","md:ms-2"],[1,"bg-secondary-50","dark:bg-secondary-100","border","border-secondary-50","dark:border-gray-800","mt-4","p-8","rounded-lg"],[1,"text-3xl","font-bold","text-primary-100","ml-4","dark:text-white"],[1,"h-px","m-4","bg-gray-300","dark:bg-gray-200","border-0"],[1,"md:grid"],[1,"m-4","gap-4",3,"formGroup"],["for","verif-id",1,"font-bold","text-lg","dark:text-white"],["formControlName","productId","type","text","id","verif-id",1,"mb-2","bg-gray-50","dark:bg-secondary-300","border","border-gray-300","dark:border-secondary-200","dark:text-white","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","block","w-full","p-2.5",3,"ngClass"],["for","vc",1,"font-bold","text-lg","dark:text-white"],["formControlName","vc","rows","8","placeholder","Add credential...",1,"block","w-full","px-0","text-sm","text-gray-800","dark:text-gray-200","bg-white","dark:bg-secondary-300","border-0"],[1,"flex","w-full","justify-items-end","justify-end","ml-4"],["type","button",1,"flex","text-white","justify-end","bg-primary-100","hover:bg-primary-50","focus:ring-4","focus:outline-none","focus:ring-blue-300","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","inline-flex","items-center",3,"click"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 14 10",1,"rtl:rotate-180","w-3.5","h-3.5","ms-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 5h12m0 0L9 1m4 4L9 9"],[1,"fixed","w-fit","top-1/2","left-1/2",3,"message"]],template:function(a,t){if(1&a&&(o(0,"div")(1,"div",0)(2,"nav",1)(3,"ol",2)(4,"li",3)(5,"button",4),C("click",function(){return t.goBack()}),w(),o(6,"svg",5),v(7,"path",6),n(),f(8),m(9,"translate"),n()(),O(),o(10,"li",7)(11,"div",8),w(),o(12,"svg",9),v(13,"path",10),n(),O(),o(14,"span",11),f(15),m(16,"translate"),n()()()()()(),o(17,"div",12)(18,"h2",13),f(19),m(20,"translate"),n(),v(21,"hr",14),o(22,"div",15)(23,"div")(24,"form",16)(25,"label",17),f(26),m(27,"translate"),n(),v(28,"input",18),o(29,"label",19),f(30),m(31,"translate"),n(),v(32,"textarea",20),n(),o(33,"div",21)(34,"button",22),C("click",function(){return t.verifyCredential()}),f(35),m(36,"translate"),w(),o(37,"svg",23),v(38,"path",24),n()()()()()()(),R(39,$56,1,1,"error-message",25)),2&a){let i;s(8),V(" ",_(9,9,"CREATE_CATEGORIES._back")," "),s(7),H(_(16,11,"ADMIN._verification")),s(4),H(_(20,13,"ADMIN._verification")),s(5),k("formGroup",t.verificationForm),s(2),H(_(27,15,"ADMIN._productId")),s(2),k("ngClass",1==(null==(i=t.verificationForm.get("productId"))?null:i.invalid)&&""!=t.verificationForm.value.productId?"border-red-600":"border-gray-300"),s(2),H(_(31,17,"ADMIN._vc")),s(5),V(" ",_(36,19,"ADMIN._add")," "),s(4),S(39,t.showError?39:-1)}},dependencies:[k2,I4,H4,N4,O4,X4,f3,C4,J1]})}return c})();function G56(c,r){1&c&&v(0,"admin-categories")}function q56(c,r){1&c&&v(0,"create-category")}function W56(c,r){1&c&&v(0,"update-category",17),2&c&&k("category",h().category_to_update)}function Z56(c,r){1&c&&v(0,"verification")}let K56=(()=>{class c{constructor(e,a,t){this.localStorage=e,this.cdr=a,this.eventMessage=t,this.show_categories=!0,this.show_create_categories=!1,this.show_update_categories=!1,this.show_verification=!1,this.eventMessage.messages$.subscribe(i=>{"AdminCategories"===i.type&&1==i.value&&this.goToCategories(),"CreateCategory"===i.type&&1==i.value&&this.goToCreateCategories(),"UpdateCategory"===i.type&&(this.category_to_update=i.value,this.goToUpdateCategories())})}ngOnInit(){console.log("init")}goToCategories(){this.selectCategories(),this.show_categories=!0,this.show_create_categories=!1,this.show_update_categories=!1,this.show_verification=!1,this.cdr.detectChanges()}goToCreateCategories(){this.show_categories=!1,this.show_create_categories=!0,this.show_update_categories=!1,this.show_verification=!1,this.cdr.detectChanges()}goToUpdateCategories(){this.show_categories=!1,this.show_create_categories=!1,this.show_update_categories=!0,this.show_verification=!1,this.cdr.detectChanges()}goToVerification(){this.selectVerification(),this.show_categories=!1,this.show_create_categories=!1,this.show_update_categories=!1,this.show_verification=!0,this.cdr.detectChanges()}selectCategories(){let e=document.getElementById("categories-button"),a=document.getElementById("verify-button");this.selectMenu(e,"text-white bg-primary-100"),this.unselectMenu(a,"text-white bg-primary-100")}selectVerification(){let e=document.getElementById("categories-button"),a=document.getElementById("verify-button");this.selectMenu(a,"text-white bg-primary-100"),this.unselectMenu(e,"text-white bg-primary-100")}removeClass(e,a){e.className=(" "+e.className+" ").replace(" "+a+" "," ").replace(/^\s+|\s+$/g,"")}addClass(e,a){e.className+=" "+a}unselectMenu(e,a){null!=e&&(e.className.match(a)?this.removeClass(e,a):console.log("already unselected"))}selectMenu(e,a){null!=e&&(e.className.match(a)?console.log("already selected"):this.addClass(e,a))}static#e=this.\u0275fac=function(a){return new(a||c)(B(R1),B(B1),B(e2))};static#c=this.\u0275cmp=V1({type:c,selectors:[["app-admin"]],decls:37,vars:19,consts:[[1,"container","mx-auto","pt-2","pb-8"],[1,"hidden","lg:block","mb-8","mt-4","text-4xl","font-extrabold","leading-none","tracking-tight","text-gray-900","md:text-4xl","lg:text-5xl","dark:text-white","w-full"],[1,"underline","underline-offset-3","decoration-8","decoration-primary-100","dark:decoration-primary-100"],[1,"flex","flex-cols","mr-2","ml-2","lg:hidden"],[1,"mb-8","mt-4","text-4xl","font-extrabold","leading-none","tracking-tight","text-gray-900","lg:text-4xl","lg:text-5xl","dark:text-white","w-full"],[1,"flex","align-middle","content-center","items-center"],["id","dropdown-nav","data-dropdown-toggle","dropdown-nav-content","type","button",1,"text-black","dark:text-white","h-fit","w-fit","justify-between","shadow","bg-white","dark:bg-secondary-200","hover:bg-gray-100","dark:hover:bg-secondary-300","focus:ring-4","focus:outline-none","focus:ring-primary-100","font-medium","rounded-lg","text-sm","p-2.5","text-center","inline-flex","items-center","shadow-lg"],["aria-hidden","true","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 17 14",1,"w-4","h-4","mr-2"],["stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M1 1h15M1 7h15M1 13h15"],["id","dropdown-nav-content",1,"z-10","hidden","bg-white","divide-y","divide-gray-100","rounded-lg","shadow","w-44","dark:bg-gray-700"],["aria-labelledby","dropdown-nav",1,"py-2","text-sm","text-gray-700","dark:text-gray-200"],[1,"cursor-pointer","block","px-4","py-2","hover:bg-gray-100","dark:hover:bg-gray-600","dark:hover:text-white",3,"click"],[1,"w-full","grid","lg:grid-cols-20/80"],[1,"hidden","lg:block"],[1,"w-48","h-fit","text-sm","font-medium","text-gray-900","bg-white","border","border-gray-200","rounded-lg","dark:bg-gray-700","dark:border-gray-600","dark:text-white","mb-8"],["id","categories-button","aria-current","true",1,"block","w-full","px-4","py-2","text-white","bg-primary-100","border-b","border-gray-200","rounded-t-lg","cursor-pointer","dark:border-gray-600","hover:bg-gray-100","hover:text-blue-700","dark:border-gray-600","dark:hover:bg-gray-600","dark:hover:text-white","dark:focus:ring-gray-500","dark:focus:text-white",3,"click"],["id","verify-button",1,"block","w-full","px-4","py-2","border-gray-200","cursor-pointer","hover:bg-gray-100","hover:text-blue-700","dark:border-gray-600","dark:hover:bg-gray-600","dark:hover:text-white","dark:focus:ring-gray-500","dark:focus:text-white",3,"click"],[3,"category"]],template:function(a,t){1&a&&(o(0,"div",0)(1,"h1",1)(2,"span",2),f(3),m(4,"translate"),n()(),o(5,"div",3)(6,"h1",4)(7,"span",2),f(8,"My offerings"),n()(),o(9,"div",5)(10,"button",6),w(),o(11,"svg",7),v(12,"path",8),n(),f(13," Administration "),n()()(),O(),o(14,"div",9)(15,"ul",10)(16,"li")(17,"a",11),C("click",function(){return t.goToCategories()}),f(18),m(19,"translate"),n()(),o(20,"li")(21,"a",11),C("click",function(){return t.goToVerification()}),f(22),m(23,"translate"),n()()()(),o(24,"div",12)(25,"div",13)(26,"div",14)(27,"button",15),C("click",function(){return t.goToCategories()}),f(28),m(29,"translate"),n(),o(30,"button",16),C("click",function(){return t.goToVerification()}),f(31),m(32,"translate"),n()()(),R(33,G56,1,0,"admin-categories")(34,q56,1,0,"create-category")(35,W56,1,1,"update-category",17)(36,Z56,1,0,"verification"),n()()),2&a&&(s(3),H(_(4,9,"ADMIN._admin")),s(15),H(_(19,11,"ADMIN._categories")),s(4),H(_(23,13,"ADMIN._verification")),s(6),V(" ",_(29,15,"ADMIN._categories")," "),s(3),V(" ",_(32,17,"ADMIN._verification")," "),s(2),S(33,t.show_categories?33:-1),s(),S(34,t.show_create_categories?34:-1),s(),S(35,t.show_update_categories?35:-1),s(),S(36,t.show_verification?36:-1))},dependencies:[q86,m56,j56,Y56,J1]})}return c})(),tz=(()=>{class c{constructor(e,a){this.localStorage=e,this.router=a}canActivate(e,a){let t=this.localStorage.getObject("login_items");const i=e.data.roles;let l=[];if(!("{}"!=JSON.stringify(t)&&t.expire-s2().unix()-4>0))return this.router.navigate(["/dashboard"]),!1;if(t.logged_as==t.id){l.push("individual");for(let u=0;up.id==t.logged_as);for(let p=0;pl.includes(u))||(this.router.navigate(["/dashboard"]),!1)}static#e=this.\u0275fac=function(a){return new(a||c)(d1(R1),d1(Z1))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function Q56(c,r){if(1&c&&(o(0,"a",38),f(1),n()),2&c){const e=h().$implicit;tn("href","mailto: ",e.characteristic.emailAddress,"",H2),s(),V(" ",e.characteristic.emailAddress," ")}}function J56(c,r){if(1&c&&f(0),2&c){const e=h().$implicit;r5(" ",e.characteristic.street1,", ",e.characteristic.postCode," (",e.characteristic.city,") ",e.characteristic.stateOrProvince," ")}}function X56(c,r){1&c&&f(0),2&c&&V(" ",h().$implicit.characteristic.phoneNumber," ")}function ec6(c,r){if(1&c&&(o(0,"tr",34)(1,"td",36),f(2),n(),o(3,"td",37),R(4,Q56,2,3,"a",38)(5,J56,1,4)(6,X56,1,1),n()()),2&c){const e=r.$implicit;s(2),V(" ",e.mediumType," "),s(2),S(4,"Email"==e.mediumType?4:"PostalAddress"==e.mediumType?5:6)}}function cc6(c,r){1&c&&(o(0,"div",35)(1,"div",39),w(),o(2,"svg",40),v(3,"path",41),n(),O(),o(4,"div"),f(5),m(6,"translate"),n()()()),2&c&&(s(5),V(" ",_(6,1,"PROFILE._no_mediums")," "))}const ac6=[{path:"",redirectTo:"/dashboard",pathMatch:"full"},{path:"dashboard",component:KT3},{path:"search",component:hP3},{path:"search/:id",component:FR3},{path:"org-details/:id",component:(()=>{class c{constructor(e,a,t,i,l,d,u,p){this.cdr=e,this.route=a,this.router=t,this.elementRef=i,this.localStorage=l,this.eventMessage=d,this.accService=u,this.location=p,this.logo=void 0,this.description="https://placehold.co/600x400/svg"}ngOnInit(){this.id=this.route.snapshot.paramMap.get("id"),console.log("--- Details ID:"),console.log(this.id),this.accService.getOrgInfo(this.id).then(e=>{this.orgInfo=e,console.log(this.orgInfo);for(let a=0;a{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275mod=M4({type:c});static#a=this.\u0275inj=g4({imports:[XS.forRoot(ac6),XS]})}return c})();class tc6{http;prefix;suffix;constructor(r,e="/assets/i18n/",a=".json"){this.http=r,this.prefix=e,this.suffix=a}getTranslation(r){return this.http.get(`${this.prefix}${r}${this.suffix}`)}}let ic6=(()=>{class c{constructor(e){this.localStorage=e}intercept(e,a){let t=this.localStorage.getObject("login_items");if("{}"!=JSON.stringify(t)&&t.expire-s2().unix()-4>0){if(t.logged_as!=t.id){const i=e.clone({setHeaders:{Authorization:"Bearer "+t.token,"X-Organization":t.logged_as}});return a.handle(i)}{const i=e.clone({setHeaders:{Authorization:"Bearer "+t.token}});return a.handle(i)}}return console.log("not logged"),a.handle(e)}static#e=this.\u0275fac=function(a){return new(a||c)(d1(R1))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac})}return c})();function iz(c,r){const e=r?function oc6(c){return"string"==typeof c?()=>{throw new Error(c)}:c}(r):()=>{};let a=!1;return(...t)=>a?e(...t):(a=!0,c(...t))}function lm1(c){return c.endsWith("/")?c:`${c}/`}const nc6=(c,r)=>{const e=r.createElement("script");return e.type="text/javascript",e.defer=!0,e.async=!0,e.src=c,e},fm1=new H1("MATOMO_SCRIPT_FACTORY",{providedIn:"root",factory:()=>nc6});function w8(c,r){if(null==c)throw new Error("Unexpected "+c+" value: "+r);return c}let sc6=(()=>{class c{constructor(){this.scriptFactory=i1(fm1),this.injector=i1(d7),this.document=i1(B3)}injectDOMScript(e){const a=N3(this.injector,()=>this.scriptFactory(e,this.document)),t=w8(this.document.getElementsByTagName("script")[0],"no existing script found");w8(t.parentNode,"no script's parent node found").insertBefore(a,t)}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const nz=new H1("MATOMO_ROUTER_ENABLED",{factory:()=>!1}),sz=new H1("MATOMO_CONFIGURATION"),Oa=new H1("INTERNAL_MATOMO_CONFIGURATION",{factory:()=>({disabled:!1,enableLinkTracking:!0,trackAppInitialLoad:!i1(nz),requireConsent:Wl.NONE,enableJSErrorTracking:!1,runOutsideAngularZone:!1,disableCampaignParameters:!1,acceptDoNotTrack:!1,...w8(i1(sz,{optional:!0}),"No Matomo configuration found! Have you included Matomo module using MatomoModule.forRoot() or provideMatomo()?")})}),dm1=new H1("DEFERRED_INTERNAL_MATOMO_CONFIGURATION",{factory:()=>{const c=i1(Oa);let r;return{configuration:new Promise(a=>r=a),markReady(a){w8(r,"resolveFn")({...c,...a})}}}});new H1("ASYNC_INTERNAL_MATOMO_CONFIGURATION",{factory:()=>i1(dm1).configuration});var lz=function(c){return c[c.AUTO=0]="AUTO",c[c.MANUAL=1]="MANUAL",c[c.AUTO_DEFERRED=2]="AUTO_DEFERRED",c}(lz||{}),Wl=function(c){return c[c.NONE=0]="NONE",c[c.COOKIE=1]="COOKIE",c[c.TRACKING=2]="TRACKING",c}(Wl||{});function hm1(c){return null!=c.siteId&&null!=c.trackerUrl}function _m1(c){return Array.isArray(c.trackers)}function gm1(){window._paq=window._paq||[]}function vm1(c){const r=[...c];for(;r.length>0&&void 0===r[r.length-1];)r.pop();return r}let Hm1=(()=>{class c{constructor(){this.ngZone=i1(C2),this.config=i1(Oa),gm1()}get(e){return this.pushFn(a=>a[e]())}pushFn(e){return new Promise(a=>{this.push([function(){a(e(this))}])})}push(e){this.config.runOutsideAngularZone?this.ngZone.runOutsideAngular(()=>{window._paq.push(vm1(e))}):window._paq.push(vm1(e))}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:()=>function uc6(){const c=i1(Oa).disabled,r=t6(i1(m6));return c||!r?new hc6:new Hm1}(),providedIn:"root"})}return c})();class hc6{get(r){return M(function*(){return Promise.reject("MatomoTracker is disabled")})()}push(r){}pushFn(r){return M(function*(){return Promise.reject("MatomoTracker is disabled")})()}}let Zl=(()=>{class c{constructor(){this.delegate=i1(Hm1),this._pageViewTracked=new G2,this.pageViewTracked=this._pageViewTracked.asObservable(),i1(W8).onDestroy(()=>this._pageViewTracked.complete())}trackPageView(e){this.delegate.push(["trackPageView",e]),this._pageViewTracked.next()}trackEvent(e,a,t,i){this.delegate.push(["trackEvent",e,a,t,i])}trackSiteSearch(e,a,t){this.delegate.push(["trackSiteSearch",e,a,t])}trackGoal(e,a){this.delegate.push(["trackGoal",e,a])}trackLink(e,a){this.delegate.push(["trackLink",e,a])}trackAllContentImpressions(){this.delegate.push(["trackAllContentImpressions"])}trackVisibleContentImpressions(e,a){this.delegate.push(["trackVisibleContentImpressions",e,a])}trackContentImpressionsWithinNode(e){this.delegate.push(["trackContentImpressionsWithinNode",e])}trackContentInteractionNode(e,a){this.delegate.push(["trackContentInteractionNode",e,a])}trackContentImpression(e,a,t){this.delegate.push(["trackContentImpression",e,a,t])}trackContentInteraction(e,a,t,i){this.delegate.push(["trackContentInteraction",e,a,t,i])}logAllContentBlocksOnPage(){this.delegate.push(["logAllContentBlocksOnPage"])}ping(){this.delegate.push(["ping"])}enableHeartBeatTimer(e){this.delegate.push(["enableHeartBeatTimer",e])}enableLinkTracking(e=!1){this.delegate.push(["enableLinkTracking",e])}disablePerformanceTracking(){this.delegate.push(["disablePerformanceTracking"])}enableCrossDomainLinking(){this.delegate.push(["enableCrossDomainLinking"])}setCrossDomainLinkingTimeout(e){this.delegate.push(["setCrossDomainLinkingTimeout",e])}getCrossDomainLinkingUrlParameter(){return this.delegate.get("getCrossDomainLinkingUrlParameter")}setDocumentTitle(e){this.delegate.push(["setDocumentTitle",e])}setDomains(e){this.delegate.push(["setDomains",e])}setCustomUrl(e){this.delegate.push(["setCustomUrl",e])}setReferrerUrl(e){this.delegate.push(["setReferrerUrl",e])}setSiteId(e){this.delegate.push(["setSiteId",e])}setApiUrl(e){this.delegate.push(["setApiUrl",e])}setTrackerUrl(e){this.delegate.push(["setTrackerUrl",e])}addTracker(e,a){this.delegate.push(["addTracker",e,a])}getMatomoUrl(){return this.delegate.get("getMatomoUrl")}getPiwikUrl(){return this.delegate.get("getPiwikUrl")}getCurrentUrl(){return this.delegate.get("getCurrentUrl")}setDownloadClasses(e){this.delegate.push(["setDownloadClasses",e])}setDownloadExtensions(e){this.delegate.push(["setDownloadExtensions",e])}addDownloadExtensions(e){this.delegate.push(["addDownloadExtensions",e])}removeDownloadExtensions(e){this.delegate.push(["removeDownloadExtensions",e])}setIgnoreClasses(e){this.delegate.push(["setIgnoreClasses",e])}setLinkClasses(e){this.delegate.push(["setLinkClasses",e])}setLinkTrackingTimer(e){this.delegate.push(["setLinkTrackingTimer",e])}getLinkTrackingTimer(){return this.delegate.get("getLinkTrackingTimer")}discardHashTag(e){this.delegate.push(["discardHashTag",e])}setGenerationTimeMs(e){this.delegate.push(["setGenerationTimeMs",e])}setPagePerformanceTiming(e,a,t,i,l,d){let u;"object"==typeof e&&e?(u=e.networkTimeInMs,a=e.serverTimeInMs,t=e.transferTimeInMs,i=e.domProcessingTimeInMs,l=e.domCompletionTimeInMs,d=e.onloadTimeInMs):u=e,this.delegate.push(["setPagePerformanceTiming",u,a,t,i,l,d])}getCustomPagePerformanceTiming(){return this.delegate.get("getCustomPagePerformanceTiming")}appendToTrackingUrl(e){this.delegate.push(["appendToTrackingUrl",e])}setDoNotTrack(e){this.delegate.push(["setDoNotTrack",e])}killFrame(){this.delegate.push(["killFrame"])}redirectFile(e){this.delegate.push(["redirectFile",e])}setHeartBeatTimer(e,a){this.delegate.push(["setHeartBeatTimer",e,a])}getVisitorId(){return this.delegate.get("getVisitorId")}setVisitorId(e){this.delegate.push(["setVisitorId",e])}getVisitorInfo(){return this.delegate.get("getVisitorInfo")}getAttributionInfo(){return this.delegate.get("getAttributionInfo")}getAttributionCampaignName(){return this.delegate.get("getAttributionCampaignName")}getAttributionCampaignKeyword(){return this.delegate.get("getAttributionCampaignKeyword")}getAttributionReferrerTimestamp(){return this.delegate.get("getAttributionReferrerTimestamp")}getAttributionReferrerUrl(){return this.delegate.get("getAttributionReferrerUrl")}getUserId(){return this.delegate.get("getUserId")}setUserId(e){this.delegate.push(["setUserId",e])}resetUserId(){this.delegate.push(["resetUserId"])}setPageViewId(e){this.delegate.push(["setPageViewId",e])}getPageViewId(){return this.delegate.get("getPageViewId")}setCustomVariable(e,a,t,i){this.delegate.push(["setCustomVariable",e,a,t,i])}deleteCustomVariable(e,a){this.delegate.push(["deleteCustomVariable",e,a])}deleteCustomVariables(e){this.delegate.push(["deleteCustomVariables",e])}getCustomVariable(e,a){return this.delegate.pushFn(t=>t.getCustomVariable(e,a))}storeCustomVariablesInCookie(){this.delegate.push(["storeCustomVariablesInCookie"])}setCustomDimension(e,a){this.delegate.push(["setCustomDimension",e,a])}deleteCustomDimension(e){this.delegate.push(["deleteCustomDimension",e])}getCustomDimension(e){return this.delegate.pushFn(a=>a.getCustomDimension(e))}setCampaignNameKey(e){this.delegate.push(["setCampaignNameKey",e])}setCampaignKeywordKey(e){this.delegate.push(["setCampaignKeywordKey",e])}setConversionAttributionFirstReferrer(e){this.delegate.push(["setConversionAttributionFirstReferrer",e])}setEcommerceView(e,a,t,i){!function pc6(c){return"object"==typeof c&&1===Object.keys(c).length&&null!=c.productCategory}(e)?function gc6(c){return"object"==typeof c&&"productSKU"in c}(e)?this.delegate.push(["setEcommerceView",e.productSKU,e.productName,e.productCategory,e.price]):this.delegate.push(["setEcommerceView",e,a,t,i]):this.delegate.push(["setEcommerceView",!1,!1,e.productCategory])}addEcommerceItem(e,a,t,i,l){this.delegate.push("string"==typeof e?["addEcommerceItem",e,a,t,i,l]:["addEcommerceItem",e.productSKU,e.productName,e.productCategory,e.price,e.quantity])}removeEcommerceItem(e){this.delegate.push(["removeEcommerceItem",e])}clearEcommerceCart(){this.delegate.push(["clearEcommerceCart"])}getEcommerceItems(){return this.delegate.get("getEcommerceItems")}trackEcommerceCartUpdate(e){this.delegate.push(["trackEcommerceCartUpdate",e])}trackEcommerceOrder(e,a,t,i,l,d){this.delegate.push(["trackEcommerceOrder",e,a,t,i,l,d])}requireConsent(){this.delegate.push(["requireConsent"])}setConsentGiven(){this.delegate.push(["setConsentGiven"])}rememberConsentGiven(e){this.delegate.push(["rememberConsentGiven",e])}forgetConsentGiven(){this.delegate.push(["forgetConsentGiven"])}hasRememberedConsent(){return this.delegate.get("hasRememberedConsent")}getRememberedConsent(){return this.delegate.get("getRememberedConsent")}isConsentRequired(){return this.delegate.get("isConsentRequired")}requireCookieConsent(){this.delegate.push(["requireCookieConsent"])}setCookieConsentGiven(){this.delegate.push(["setCookieConsentGiven"])}rememberCookieConsentGiven(e){this.delegate.push(["rememberCookieConsentGiven",e])}forgetCookieConsentGiven(){this.delegate.push(["forgetCookieConsentGiven"])}getRememberedCookieConsent(){return this.delegate.get("getRememberedCookieConsent")}areCookiesEnabled(){return this.delegate.get("areCookiesEnabled")}optUserOut(){this.delegate.push(["optUserOut"])}forgetUserOptOut(){this.delegate.push(["forgetUserOptOut"])}isUserOptedOut(){return this.delegate.get("isUserOptedOut")}disableCookies(){this.delegate.push(["disableCookies"])}deleteCookies(){this.delegate.push(["deleteCookies"])}hasCookies(){return this.delegate.get("hasCookies")}setCookieNamePrefix(e){this.delegate.push(["setCookieNamePrefix",e])}setCookieDomain(e){this.delegate.push(["setCookieDomain",e])}setCookiePath(e){this.delegate.push(["setCookiePath",e])}setSecureCookie(e){this.delegate.push(["setSecureCookie",e])}setCookieSameSite(e){this.delegate.push(["setCookieSameSite",e])}setVisitorCookieTimeout(e){this.delegate.push(["setVisitorCookieTimeout",e])}setReferralCookieTimeout(e){this.delegate.push(["setReferralCookieTimeout",e])}setSessionCookieTimeout(e){this.delegate.push(["setSessionCookieTimeout",e])}addListener(e){this.delegate.push(["addListener",e])}setRequestMethod(e){this.delegate.push(["setRequestMethod",e])}setCustomRequestProcessing(e){this.delegate.push(["setCustomRequestProcessing",e])}setRequestContentType(e){this.delegate.push(["setRequestContentType",e])}disableQueueRequest(){this.delegate.push(["disableQueueRequest"])}setRequestQueueInterval(e){this.delegate.push(["setRequestQueueInterval",e])}disableAlwaysUseSendBeacon(){this.delegate.push(["disableAlwaysUseSendBeacon"])}alwaysUseSendBeacon(){this.delegate.push(["alwaysUseSendBeacon"])}enableJSErrorTracking(){this.delegate.push(["enableJSErrorTracking"])}enableFileTracking(){this.delegate.push(["enableFileTracking"])}setExcludedReferrers(...e){const a=e.flat();this.delegate.push(["setExcludedReferrers",a])}getExcludedReferrers(){return this.delegate.get("getExcludedReferrers")}disableBrowserFeatureDetection(){this.delegate.push(["disableBrowserFeatureDetection"])}enableBrowserFeatureDetection(){this.delegate.push(["enableBrowserFeatureDetection"])}disableCampaignParameters(){this.delegate.push(["disableCampaignParameters"])}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function Cm1(c){return`${c}`}function zm1(c,r){return null==r?lm1(c)+vc6:c+r}const vc6="matomo.php";class zc6{initialize(){}init(){}initializeTracker(r){}}let fz=(()=>{class c{constructor(){this.config=i1(Oa),this.deferredConfig=i1(dm1),this.tracker=i1(Zl),this.scriptInjector=i1(sc6),this.initialize=iz(()=>{this.runPreInitTasks(),function um1(c){return null==c.mode||c.mode===lz.AUTO}(this.config)&&this.injectMatomoScript(this.config)},"Matomo has already been initialized"),this.injectMatomoScript=iz(e=>{if(function mm1(c){return hm1(c)||_m1(c)}(e)){const{scriptUrl:a}=e,[t,...i]=function pm1(c){return _m1(c)?c.trackers:[{trackerUrl:c.trackerUrl,siteId:c.siteId,trackerUrlSuffix:c.trackerUrlSuffix}]}(e),l=a??lm1(t.trackerUrl)+"matomo.js";this.registerMainTracker(t),this.registerAdditionalTrackers(i),this.scriptInjector.injectDOMScript(l)}else if(function dc6(c){return null!=c.scriptUrl&&!hm1(c)}(e)){const{scriptUrl:a,trackers:t}={trackers:[],...e};this.registerAdditionalTrackers(t),this.scriptInjector.injectDOMScript(a)}this.deferredConfig.markReady(e)},"Matomo trackers have already been initialized"),gm1()}init(){this.initialize()}initializeTracker(e){this.injectMatomoScript(e)}registerMainTracker(e){const a=zm1(e.trackerUrl,e.trackerUrlSuffix),t=Cm1(e.siteId);this.tracker.setTrackerUrl(a),this.tracker.setSiteId(t)}registerAdditionalTrackers(e){e.forEach(({trackerUrl:a,siteId:t,trackerUrlSuffix:i})=>{const l=zm1(a,i),d=Cm1(t);this.tracker.addTracker(l,d)})}runPreInitTasks(){this.config.acceptDoNotTrack&&this.tracker.setDoNotTrack(!0),this.config.requireConsent===Wl.COOKIE?this.tracker.requireCookieConsent():this.config.requireConsent===Wl.TRACKING&&this.tracker.requireConsent(),this.config.enableJSErrorTracking&&this.tracker.enableJSErrorTracking(),this.config.disableCampaignParameters&&this.tracker.disableCampaignParameters(),this.config.trackAppInitialLoad&&this.tracker.trackPageView(),this.config.enableLinkTracking&&this.tracker.enableLinkTracking("enable-pseudo"===this.config.enableLinkTracking)}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275prov=g1({token:c,factory:()=>function Cc6(){const c=i1(Oa).disabled,r=t6(i1(m6));return c||!r?new zc6:new fz}(),providedIn:"root"})}return c})();const Vm1=Symbol("MATOMO_PROVIDERS"),Mm1=Symbol("MATOMO_CHECKS");function Dc6(c,r){const e=[];return r&&e.push(function Lc6(c){return function Vc6(c,r,e){return{kind:c,[Vm1]:r,[Mm1]:e}}("ScriptFactory",[{provide:fm1,useValue:c}])}(r)),function Mc6(c,...r){const e=[{provide:L0,multi:!0,useValue(){i1(fz).initialize()}}],a=[];e.push("function"==typeof c?{provide:sz,useFactory:c}:{provide:sz,useValue:c});for(const t of r)e.push(...t[Vm1]),a.push(t.kind);for(const t of r)t[Mm1]?.(a);return J6(e)}(c,...e)}let Tc6=(()=>{class c{static forRoot(e,a){return{ngModule:c,providers:[Dc6(e,a)]}}static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275mod=M4({type:c});static#a=this.\u0275inj=g4({})}return c})();function Lm1(c,r){return r?e=>sa(r.pipe(M6(1),function Ec6(){return i4((c,r)=>{c.subscribe(m2(r,D8))})}()),e.pipe(Lm1(c))):n3((e,a)=>I3(c(e,a)).pipe(M6(1),gs(e)))}const Kl=new H1("MATOMO_ROUTER_CONFIGURATION"),Pc6={prependBaseHref:!0,trackPageTitle:!0,delay:0,exclude:[],navigationEndComparator:"fullUrl"},ym1=new H1("INTERNAL_ROUTER_CONFIGURATION",{factory:()=>{const{disabled:c,enableLinkTracking:r}=i1(Oa),e=i1(Kl,{optional:!0})||{};return{...Pc6,...e,enableLinkTracking:r,disabled:c}}}),bm1=new H1("MATOMO_ROUTER_INTERCEPTORS");function xm1(c){return{provide:bm1,multi:!0,useClass:c}}function dz(c){return c?c.map(xm1):[]}new H1("MATOMO_ROUTE_DATA_KEY",{providedIn:"root",factory:()=>"matomo"});const $c6=new H1("MATOMO_PAGE_TITLE_PROVIDER",{factory:()=>new Yc6(i1(CF))});class Yc6{constructor(r){this.title=r}getCurrentPageTitle(r){return D1(this.title.getTitle())}}const Gc6=new H1("MATOMO_PAGE_URL_PROVIDER",{factory:()=>new Wc6(i1(ym1),i1(qh,{optional:!0}),i1(r8))});class Wc6{constructor(r,e,a){this.config=r,this.baseHref=e,this.locationStrategy=a}getCurrentPageUrl(r){return D1(this.config.prependBaseHref?this.getBaseHrefWithoutTrailingSlash()+r.urlAfterRedirects:r.urlAfterRedirects)}getBaseHrefWithoutTrailingSlash(){return function qc6(c){return c.endsWith("/")?c.slice(0,-1):c}(this.baseHref??this.locationStrategy.getBaseHref()??"")}}function Zc6(c){return c instanceof $0}function Fm1(c){return"string"==typeof c?new RegExp(c):c}function km1(c){return(r,e)=>c(r)===c(e)}let uz=(()=>{class c{constructor(e,a,t,i,l,d){if(this.router=e,this.config=a,this.pageTitleProvider=t,this.pageUrlProvider=i,this.tracker=l,this.interceptors=d,this.initialize=iz(()=>{if(this.config.disabled)return;const u=-1===this.config.delay?s6:function Ac6(c,r=A_){const e=Ts(c,r);return Lm1(()=>e)}(this.config.delay),p=function Xc6(c){switch(c.navigationEndComparator){case"fullUrl":return km1(r=>r.urlAfterRedirects);case"ignoreQueryParams":return km1(r=>function Jc6(c){return c.split("?")[0]}(r.urlAfterRedirects));default:return c.navigationEndComparator}}(this.config);this.router.events.pipe(d0(Zc6),d0(function Qc6(c){const r=function Kc6(c){return c?Array.isArray(c)?c.map(Fm1):[Fm1(c)]:[]}(c);return e=>!r.some(a=>e.urlAfterRedirects.match(a))}(this.config.exclude)),ju1(p),u,z3(z=>this.presetPageTitleAndUrl(z).pipe(X1(({pageUrl:x})=>({pageUrl:x,event:z})))),o8(({event:z,pageUrl:x})=>this.callInterceptors(z).pipe(s3(()=>this.trackPageView(x))))).subscribe()},"MatomoRouter has already been initialized"),d&&!Array.isArray(d))throw function jc6(){return new Error('An invalid MATOMO_ROUTER_INTERCEPTORS provider was configured. Did you forget to set "multi: true" ?')}()}init(){this.initialize()}callInterceptors(e){return this.interceptors?Qm(this.interceptors.map(a=>{const t=a.beforePageTrack(e);return(null==t?D1(void 0):k4(t)).pipe(M6(1),fa(void 0))})).pipe(gs(void 0),fa(void 0)):D1(void 0)}presetPageTitleAndUrl(e){return _s([this.config.trackPageTitle?this.pageTitleProvider.getCurrentPageTitle(e).pipe(s3(i=>this.tracker.setDocumentTitle(i))):D1(void 0),this.pageUrlProvider.getCurrentPageUrl(e).pipe(s3(i=>this.tracker.setCustomUrl(i)))]).pipe(X1(([i,l])=>({pageUrl:l})))}trackPageView(e){this.tracker.trackPageView(),this.config.enableLinkTracking&&this.tracker.enableLinkTracking("enable-pseudo"===this.config.enableLinkTracking),this.tracker.setReferrerUrl(e)}static#e=this.\u0275fac=function(a){return new(a||c)(d1(Z1),d1(ym1),d1($c6),d1(Gc6),d1(Zl),d1(bm1,8))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),Sm1=(()=>{class c{constructor(e,a,t){this.router=e,!a&&!t&&this.router.initialize()}static forRoot(e={}){return{ngModule:c,providers:[{provide:Kl,useValue:e},dz(e.interceptors)]}}static#e=this.\u0275fac=function(a){return new(a||c)(d1(uz),d1(c,12),d1(E2(()=>ea6),12))};static#c=this.\u0275mod=M4({type:c});static#a=this.\u0275inj=g4({providers:[{provide:nz,useValue:!0}]})}return c})(),ea6=(()=>{class c{constructor(e,a,t){this.router=e,!a&&!t&&this.router.initialize()}static forRoot(e={}){return{ngModule:c,providers:[{provide:Kl,useValue:e},dz(e.interceptors)]}}static#e=this.\u0275fac=function(a){return new(a||c)(d1(uz),d1(Sm1,12),d1(E2(()=>c),12))};static#c=this.\u0275mod=M4({type:c});static#a=this.\u0275inj=g4({providers:[{provide:nz,useValue:!0}]})}return c})(),Nm1=(()=>{class c{constructor(e){this.http=e}init(){return new Promise((e,a)=>{const t={next:i=>{_1.SIOP_INFO=i.siop,_1.CHAT_API=i.chat,_1.MATOMO_SITE_ID=i.matomoId,_1.MATOMO_TRACKER_URL=i.matomoUrl,_1.KNOWLEDGE_BASE_URL=i.knowledgeBaseUrl,_1.TICKETING_SYSTEM_URL=i.ticketingUrl,_1.SEARCH_ENABLED=i.searchEnabled,_1.DOME_TRUST_LINK=i.domeTrust,_1.DOME_ABOUT_LINK=i.domeAbout,_1.DOME_REGISTER_LINK=i.domeRegister,_1.DOME_PUBLISH_LINK=i.domePublish,e(i)},error:i=>{a(i)},complete:()=>{}};this.http.get(`${_1.BASE_URL}/config`).subscribe(t)})}static#e=this.\u0275fac=function(a){return new(a||c)(d1(U3))};static#c=this.\u0275prov=g1({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function ca6(c,r){return()=>c.init().then(e=>{r.initializeTracker({siteId:e.matomoId,trackerUrl:e.matomoUrl})})}let aa6=(()=>{class c{static#e=this.\u0275fac=function(a){return new(a||c)};static#c=this.\u0275mod=M4({type:c,bootstrap:[RN3]});static#a=this.\u0275inj=g4({providers:[Nm1,{provide:hn,useFactory:ca6,deps:[Nm1,fz],multi:!0},{provide:WF,useClass:ic6,multi:!0}],imports:[ox1,bg,ND3,rc6,S4,yl,kC,G3,EU3,iT3.forRoot(),ms.forRoot({defaultLanguage:"en",loader:{provide:Qr,useFactory:ra6,deps:[U3]}}),uC,Tc6.forRoot({mode:lz.AUTO_DEFERRED}),Sm1]})}return c})();function ra6(c){return new tc6(c,"./assets/i18n/")}tx1().bootstrapModule(aa6).catch(c=>console.error(c))},4261:(r1,t1,W)=>{r1.exports={currencies:W(8184)}},1544:function(r1,t1,W){!function(U){"use strict";U.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(D){return/^nm$/i.test(D)},meridiem:function(D,F,N){return D<12?N?"vm":"VM":N?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(D){return D+(1===D||8===D||D>=20?"ste":"de")},week:{dow:1,doy:4}})}(W(7586))},2155:function(r1,t1,W){!function(U){"use strict";var M=function($){return 0===$?0:1===$?1:2===$?2:$%100>=3&&$%100<=10?3:$%100>=11?4:5},D={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},F=function($){return function(q,e1,f1,T1){var Q1=M(q),l2=D[$][M(q)];return 2===Q1&&(l2=l2[e1?0:1]),l2.replace(/%d/i,q)}},N=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];U.defineLocale("ar-dz",{months:N,monthsShort:N,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function($){return"\u0645"===$},meridiem:function($,q,e1){return $<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:F("s"),ss:F("s"),m:F("m"),mm:F("m"),h:F("h"),hh:F("h"),d:F("d"),dd:F("d"),M:F("M"),MM:F("M"),y:F("y"),yy:F("y")},postformat:function($){return $.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(W(7586))},3583:function(r1,t1,W){!function(U){"use strict";U.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(W(7586))},1638:function(r1,t1,W){!function(U){"use strict";var M={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},D=function(q){return 0===q?0:1===q?1:2===q?2:q%100>=3&&q%100<=10?3:q%100>=11?4:5},F={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},N=function(q){return function(e1,f1,T1,Q1){var l2=D(e1),G6=F[q][D(e1)];return 2===l2&&(G6=G6[f1?0:1]),G6.replace(/%d/i,e1)}},I=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];U.defineLocale("ar-ly",{months:I,monthsShort:I,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(q){return"\u0645"===q},meridiem:function(q,e1,f1){return q<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:N("s"),ss:N("s"),m:N("m"),mm:N("m"),h:N("h"),hh:N("h"),d:N("d"),dd:N("d"),M:N("M"),MM:N("M"),y:N("y"),yy:N("y")},preparse:function(q){return q.replace(/\u060c/g,",")},postformat:function(q){return q.replace(/\d/g,function(e1){return M[e1]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(W(7586))},7823:function(r1,t1,W){!function(U){"use strict";U.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(W(7586))},7712:function(r1,t1,W){!function(U){"use strict";var M={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},D={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};U.defineLocale("ar-ps",{months:"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0634\u0631\u064a \u0627\u0644\u0623\u0648\u0651\u0644_\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0651\u0644".split("_"),monthsShort:"\u0643\u0662_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0661_\u062a\u0662_\u0643\u0661".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(N){return"\u0645"===N},meridiem:function(N,I,$){return N<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(N){return N.replace(/[\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(I){return D[I]}).split("").reverse().join("").replace(/[\u0661\u0662](?![\u062a\u0643])/g,function(I){return D[I]}).split("").reverse().join("").replace(/\u060c/g,",")},postformat:function(N){return N.replace(/\d/g,function(I){return M[I]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(W(7586))},8261:function(r1,t1,W){!function(U){"use strict";var M={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},D={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};U.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(N){return"\u0645"===N},meridiem:function(N,I,$){return N<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(N){return N.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(I){return D[I]}).replace(/\u060c/g,",")},postformat:function(N){return N.replace(/\d/g,function(I){return M[I]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(W(7586))},6703:function(r1,t1,W){!function(U){"use strict";U.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(W(7586))},3108:function(r1,t1,W){!function(U){"use strict";var M={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},D={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},F=function(e1){return 0===e1?0:1===e1?1:2===e1?2:e1%100>=3&&e1%100<=10?3:e1%100>=11?4:5},N={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},I=function(e1){return function(f1,T1,Q1,l2){var G6=F(f1),y1=N[e1][F(f1)];return 2===G6&&(y1=y1[T1?0:1]),y1.replace(/%d/i,f1)}},$=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];U.defineLocale("ar",{months:$,monthsShort:$,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e1){return"\u0645"===e1},meridiem:function(e1,f1,T1){return e1<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:I("s"),ss:I("s"),m:I("m"),mm:I("m"),h:I("h"),hh:I("h"),d:I("d"),dd:I("d"),M:I("M"),MM:I("M"),y:I("y"),yy:I("y")},preparse:function(e1){return e1.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(f1){return D[f1]}).replace(/\u060c/g,",")},postformat:function(e1){return e1.replace(/\d/g,function(f1){return M[f1]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(W(7586))},6508:function(r1,t1,W){!function(U){"use strict";var M={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};U.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(F){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(F)},meridiem:function(F,N,I){return F<4?"gec\u0259":F<12?"s\u0259h\u0259r":F<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(F){if(0===F)return F+"-\u0131nc\u0131";var N=F%10;return F+(M[N]||M[F%100-N]||M[F>=100?100:null])},week:{dow:1,doy:7}})}(W(7586))},6766:function(r1,t1,W){!function(U){"use strict";function D(N,I,$){return"m"===$?I?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===$?I?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":N+" "+function M(N,I){var $=N.split("_");return I%10==1&&I%100!=11?$[0]:I%10>=2&&I%10<=4&&(I%100<10||I%100>=20)?$[1]:$[2]}({ss:I?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:I?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:I?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[$],+N)}U.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:D,mm:D,h:D,hh:D,d:"\u0434\u0437\u0435\u043d\u044c",dd:D,M:"\u043c\u0435\u0441\u044f\u0446",MM:D,y:"\u0433\u043e\u0434",yy:D},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(N){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(N)},meridiem:function(N,I,$){return N<4?"\u043d\u043e\u0447\u044b":N<12?"\u0440\u0430\u043d\u0456\u0446\u044b":N<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(N,I){switch(I){case"M":case"d":case"DDD":case"w":case"W":return N%10!=2&&N%10!=3||N%100==12||N%100==13?N+"-\u044b":N+"-\u0456";case"D":return N+"-\u0433\u0430";default:return N}},week:{dow:1,doy:7}})}(W(7586))},8564:function(r1,t1,W){!function(U){"use strict";U.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(D){var F=D%10,N=D%100;return 0===D?D+"-\u0435\u0432":0===N?D+"-\u0435\u043d":N>10&&N<20?D+"-\u0442\u0438":1===F?D+"-\u0432\u0438":2===F?D+"-\u0440\u0438":7===F||8===F?D+"-\u043c\u0438":D+"-\u0442\u0438"},week:{dow:1,doy:7}})}(W(7586))},7462:function(r1,t1,W){!function(U){"use strict";U.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(W(7586))},3438:function(r1,t1,W){!function(U){"use strict";var M={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},D={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};U.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(N){return N.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(I){return D[I]})},postformat:function(N){return N.replace(/\d/g,function(I){return M[I]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(N,I){return 12===N&&(N=0),"\u09b0\u09be\u09a4"===I?N<4?N:N+12:"\u09ad\u09cb\u09b0"===I||"\u09b8\u0995\u09be\u09b2"===I?N:"\u09a6\u09c1\u09aa\u09c1\u09b0"===I?N>=3?N:N+12:"\u09ac\u09bf\u0995\u09be\u09b2"===I||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===I?N+12:void 0},meridiem:function(N,I,$){return N<4?"\u09b0\u09be\u09a4":N<6?"\u09ad\u09cb\u09b0":N<12?"\u09b8\u0995\u09be\u09b2":N<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":N<18?"\u09ac\u09bf\u0995\u09be\u09b2":N<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(W(7586))},7107:function(r1,t1,W){!function(U){"use strict";var M={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},D={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};U.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(N){return N.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(I){return D[I]})},postformat:function(N){return N.replace(/\d/g,function(I){return M[I]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(N,I){return 12===N&&(N=0),"\u09b0\u09be\u09a4"===I&&N>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===I&&N<5||"\u09ac\u09bf\u0995\u09be\u09b2"===I?N+12:N},meridiem:function(N,I,$){return N<4?"\u09b0\u09be\u09a4":N<10?"\u09b8\u0995\u09be\u09b2":N<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":N<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(W(7586))},9004:function(r1,t1,W){!function(U){"use strict";var M={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},D={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};U.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(N){return N.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(I){return D[I]})},postformat:function(N){return N.replace(/\d/g,function(I){return M[I]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(N,I){return 12===N&&(N=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===I&&N>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===I&&N<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===I?N+12:N},meridiem:function(N,I,$){return N<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":N<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":N<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":N<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(W(7586))},927:function(r1,t1,W){!function(U){"use strict";function M(y1,b3,J0){return y1+" "+function N(y1,b3){return 2===b3?function I(y1){var b3={m:"v",b:"v",d:"z"};return void 0===b3[y1.charAt(0)]?y1:b3[y1.charAt(0)]+y1.substring(1)}(y1):y1}({mm:"munutenn",MM:"miz",dd:"devezh"}[J0],y1)}function F(y1){return y1>9?F(y1%10):y1}var $=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],q=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,l2=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];U.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:l2,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:l2,monthsRegex:q,monthsShortRegex:q,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:$,longMonthsParse:$,shortMonthsParse:$,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:M,h:"un eur",hh:"%d eur",d:"un devezh",dd:M,M:"ur miz",MM:M,y:"ur bloaz",yy:function D(y1){switch(F(y1)){case 1:case 3:case 4:case 5:case 9:return y1+" bloaz";default:return y1+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(y1){return y1+(1===y1?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(y1){return"g.m."===y1},meridiem:function(y1,b3,J0){return y1<12?"a.m.":"g.m."}})}(W(7586))},7768:function(r1,t1,W){!function(U){"use strict";function D(N,I,$){var q=N+" ";switch($){case"ss":return q+(1===N?"sekunda":2===N||3===N||4===N?"sekunde":"sekundi");case"mm":return q+(1===N?"minuta":2===N||3===N||4===N?"minute":"minuta");case"h":return"jedan sat";case"hh":return q+(1===N?"sat":2===N||3===N||4===N?"sata":"sati");case"dd":return q+(1===N?"dan":"dana");case"MM":return q+(1===N?"mjesec":2===N||3===N||4===N?"mjeseca":"mjeseci");case"yy":return q+(1===N?"godina":2===N||3===N||4===N?"godine":"godina")}}U.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:D,m:function M(N,I,$,q){if("m"===$)return I?"jedna minuta":q?"jednu minutu":"jedne minute"},mm:D,h:D,hh:D,d:"dan",dd:D,M:"mjesec",MM:D,y:"godinu",yy:D},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(W(7586))},6291:function(r1,t1,W){!function(U){"use strict";U.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(D,F){var N=1===D?"r":2===D?"n":3===D?"r":4===D?"t":"\xe8";return("w"===F||"W"===F)&&(N="a"),D+N},week:{dow:1,doy:4}})}(W(7586))},5301:function(r1,t1,W){!function(U){"use strict";var M={standalone:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),format:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},D="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),F=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],N=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function I(e1){return e1>1&&e1<5&&1!=~~(e1/10)}function $(e1,f1,T1,Q1){var l2=e1+" ";switch(T1){case"s":return f1||Q1?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return f1||Q1?l2+(I(e1)?"sekundy":"sekund"):l2+"sekundami";case"m":return f1?"minuta":Q1?"minutu":"minutou";case"mm":return f1||Q1?l2+(I(e1)?"minuty":"minut"):l2+"minutami";case"h":return f1?"hodina":Q1?"hodinu":"hodinou";case"hh":return f1||Q1?l2+(I(e1)?"hodiny":"hodin"):l2+"hodinami";case"d":return f1||Q1?"den":"dnem";case"dd":return f1||Q1?l2+(I(e1)?"dny":"dn\xed"):l2+"dny";case"M":return f1||Q1?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return f1||Q1?l2+(I(e1)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):l2+"m\u011bs\xedci";case"y":return f1||Q1?"rok":"rokem";case"yy":return f1||Q1?l2+(I(e1)?"roky":"let"):l2+"lety"}}U.defineLocale("cs",{months:M,monthsShort:D,monthsRegex:N,monthsShortRegex:N,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:F,longMonthsParse:F,shortMonthsParse:F,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:$,ss:$,m:$,mm:$,h:$,hh:$,d:$,dd:$,M:$,MM:$,y:$,yy:$},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},6666:function(r1,t1,W){!function(U){"use strict";U.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(D){return D+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(D)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(D)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(W(7586))},5163:function(r1,t1,W){!function(U){"use strict";U.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(D){var N="";return D>20?N=40===D||50===D||60===D||80===D||100===D?"fed":"ain":D>0&&(N=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][D]),D+N},week:{dow:1,doy:4}})}(W(7586))},7360:function(r1,t1,W){!function(U){"use strict";U.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},3248:function(r1,t1,W){!function(U){"use strict";function M(F,N,I,$){var q={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[F+" Tage",F+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[F+" Monate",F+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[F+" Jahre",F+" Jahren"]};return N?q[I][0]:q[I][1]}U.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:M,mm:"%d Minuten",h:M,hh:"%d Stunden",d:M,dd:M,w:M,ww:"%d Wochen",M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},3222:function(r1,t1,W){!function(U){"use strict";function M(F,N,I,$){var q={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[F+" Tage",F+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[F+" Monate",F+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[F+" Jahre",F+" Jahren"]};return N?q[I][0]:q[I][1]}U.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:M,mm:"%d Minuten",h:M,hh:"%d Stunden",d:M,dd:M,w:M,ww:"%d Wochen",M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},5932:function(r1,t1,W){!function(U){"use strict";function M(F,N,I,$){var q={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[F+" Tage",F+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[F+" Monate",F+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[F+" Jahre",F+" Jahren"]};return N?q[I][0]:q[I][1]}U.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:M,mm:"%d Minuten",h:M,hh:"%d Stunden",d:M,dd:M,w:M,ww:"%d Wochen",M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},6405:function(r1,t1,W){!function(U){"use strict";var M=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],D=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];U.defineLocale("dv",{months:M,monthsShort:M,weekdays:D,weekdaysShort:D,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(N){return"\u0789\u078a"===N},meridiem:function(N,I,$){return N<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(N){return N.replace(/\u060c/g,",")},postformat:function(N){return N.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(W(7586))},718:function(r1,t1,W){!function(U){"use strict";U.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(F,N){return F?"string"==typeof N&&/D/.test(N.substring(0,N.indexOf("MMMM")))?this._monthsGenitiveEl[F.month()]:this._monthsNominativeEl[F.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(F,N,I){return F>11?I?"\u03bc\u03bc":"\u039c\u039c":I?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(F){return"\u03bc"===(F+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(F,N){var I=this._calendarEl[F],$=N&&N.hours();return function M(F){return typeof Function<"u"&&F instanceof Function||"[object Function]"===Object.prototype.toString.call(F)}(I)&&(I=I.apply(N)),I.replace("{}",$%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(W(7586))},6319:function(r1,t1,W){!function(U){"use strict";U.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(D){var F=D%10;return D+(1==~~(D%100/10)?"th":1===F?"st":2===F?"nd":3===F?"rd":"th")},week:{dow:0,doy:4}})}(W(7586))},597:function(r1,t1,W){!function(U){"use strict";U.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(D){var F=D%10;return D+(1==~~(D%100/10)?"th":1===F?"st":2===F?"nd":3===F?"rd":"th")}})}(W(7586))},1800:function(r1,t1,W){!function(U){"use strict";U.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(D){var F=D%10;return D+(1==~~(D%100/10)?"th":1===F?"st":2===F?"nd":3===F?"rd":"th")},week:{dow:1,doy:4}})}(W(7586))},807:function(r1,t1,W){!function(U){"use strict";U.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(D){var F=D%10;return D+(1==~~(D%100/10)?"th":1===F?"st":2===F?"nd":3===F?"rd":"th")},week:{dow:1,doy:4}})}(W(7586))},5960:function(r1,t1,W){!function(U){"use strict";U.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(D){var F=D%10;return D+(1==~~(D%100/10)?"th":1===F?"st":2===F?"nd":3===F?"rd":"th")}})}(W(7586))},4418:function(r1,t1,W){!function(U){"use strict";U.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(D){var F=D%10;return D+(1==~~(D%100/10)?"th":1===F?"st":2===F?"nd":3===F?"rd":"th")},week:{dow:0,doy:6}})}(W(7586))},6865:function(r1,t1,W){!function(U){"use strict";U.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(D){var F=D%10;return D+(1==~~(D%100/10)?"th":1===F?"st":2===F?"nd":3===F?"rd":"th")},week:{dow:1,doy:4}})}(W(7586))},2647:function(r1,t1,W){!function(U){"use strict";U.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(D){var F=D%10;return D+(1==~~(D%100/10)?"th":1===F?"st":2===F?"nd":3===F?"rd":"th")},week:{dow:1,doy:4}})}(W(7586))},1931:function(r1,t1,W){!function(U){"use strict";U.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(D){return"p"===D.charAt(0).toLowerCase()},meridiem:function(D,F,N){return D>11?N?"p.t.m.":"P.T.M.":N?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(W(7586))},1805:function(r1,t1,W){!function(U){"use strict";var M="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),D="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),F=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],N=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;U.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function($,q){return $?/-MMM-/.test(q)?D[$.month()]:M[$.month()]:M},monthsRegex:N,monthsShortRegex:N,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:F,longMonthsParse:F,shortMonthsParse:F,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(W(7586))},3445:function(r1,t1,W){!function(U){"use strict";var M="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),D="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),F=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],N=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;U.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function($,q){return $?/-MMM-/.test(q)?D[$.month()]:M[$.month()]:M},monthsRegex:N,monthsShortRegex:N,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:F,longMonthsParse:F,shortMonthsParse:F,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(W(7586))},1516:function(r1,t1,W){!function(U){"use strict";var M="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),D="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),F=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],N=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;U.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function($,q){return $?/-MMM-/.test(q)?D[$.month()]:M[$.month()]:M},monthsRegex:N,monthsShortRegex:N,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:F,longMonthsParse:F,shortMonthsParse:F,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(W(7586))},6679:function(r1,t1,W){!function(U){"use strict";var M="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),D="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),F=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],N=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;U.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function($,q){return $?/-MMM-/.test(q)?D[$.month()]:M[$.month()]:M},monthsRegex:N,monthsShortRegex:N,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:F,longMonthsParse:F,shortMonthsParse:F,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(W(7586))},8150:function(r1,t1,W){!function(U){"use strict";function M(F,N,I,$){var q={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[F+"sekundi",F+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[F+" minuti",F+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[F+" tunni",F+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[F+" kuu",F+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[F+" aasta",F+" aastat"]};return N?q[I][2]?q[I][2]:q[I][1]:$?q[I][0]:q[I][1]}U.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:"%d p\xe4eva",M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},757:function(r1,t1,W){!function(U){"use strict";U.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(W(7586))},5742:function(r1,t1,W){!function(U){"use strict";var M={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},D={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};U.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(N){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(N)},meridiem:function(N,I,$){return N<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(N){return N.replace(/[\u06f0-\u06f9]/g,function(I){return D[I]}).replace(/\u060c/g,",")},postformat:function(N){return N.replace(/\d/g,function(I){return M[I]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(W(7586))},3958:function(r1,t1,W){!function(U){"use strict";var M="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),D=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",M[7],M[8],M[9]];function F($,q,e1,f1){var T1="";switch(e1){case"s":return f1?"muutaman sekunnin":"muutama sekunti";case"ss":T1=f1?"sekunnin":"sekuntia";break;case"m":return f1?"minuutin":"minuutti";case"mm":T1=f1?"minuutin":"minuuttia";break;case"h":return f1?"tunnin":"tunti";case"hh":T1=f1?"tunnin":"tuntia";break;case"d":return f1?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":T1=f1?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return f1?"kuukauden":"kuukausi";case"MM":T1=f1?"kuukauden":"kuukautta";break;case"y":return f1?"vuoden":"vuosi";case"yy":T1=f1?"vuoden":"vuotta"}return function N($,q){return $<10?q?D[$]:M[$]:$}($,f1)+" "+T1}U.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:F,ss:F,m:F,mm:F,h:F,hh:F,d:F,dd:F,M:F,MM:F,y:F,yy:F},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},6720:function(r1,t1,W){!function(U){"use strict";U.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(D){return D},week:{dow:1,doy:4}})}(W(7586))},8352:function(r1,t1,W){!function(U){"use strict";U.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},2096:function(r1,t1,W){!function(U){"use strict";U.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(D,F){switch(F){default:case"M":case"Q":case"D":case"DDD":case"d":return D+(1===D?"er":"e");case"w":case"W":return D+(1===D?"re":"e")}}})}(W(7586))},5759:function(r1,t1,W){!function(U){"use strict";U.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(D,F){switch(F){default:case"M":case"Q":case"D":case"DDD":case"d":return D+(1===D?"er":"e");case"w":case"W":return D+(1===D?"re":"e")}},week:{dow:1,doy:4}})}(W(7586))},4059:function(r1,t1,W){!function(U){"use strict";var F=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,N=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];U.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:F,monthsShortRegex:F,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:N,longMonthsParse:N,shortMonthsParse:N,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function($,q){switch(q){case"D":return $+(1===$?"er":"");default:case"M":case"Q":case"DDD":case"d":return $+(1===$?"er":"e");case"w":case"W":return $+(1===$?"re":"e")}},week:{dow:1,doy:4}})}(W(7586))},5958:function(r1,t1,W){!function(U){"use strict";var M="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),D="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");U.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(N,I){return N?/-MMM-/.test(I)?D[N.month()]:M[N.month()]:M},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(N){return N+(1===N||8===N||N>=20?"ste":"de")},week:{dow:1,doy:4}})}(W(7586))},4143:function(r1,t1,W){!function(U){"use strict";U.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(q){return q+(1===q?"d":q%10==2?"na":"mh")},week:{dow:1,doy:4}})}(W(7586))},7028:function(r1,t1,W){!function(U){"use strict";U.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(q){return q+(1===q?"d":q%10==2?"na":"mh")},week:{dow:1,doy:4}})}(W(7586))},428:function(r1,t1,W){!function(U){"use strict";U.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(D){return 0===D.indexOf("un")?"n"+D:"en "+D},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(W(7586))},6861:function(r1,t1,W){!function(U){"use strict";function M(F,N,I,$){var q={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[F+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",F+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[F+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",F+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[F+" \u0935\u0930\u093e\u0902\u0928\u0940",F+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[F+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",F+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[F+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",F+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[F+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",F+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return $?q[I][0]:q[I][1]}U.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:M,M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(F,N){return"D"===N?F+"\u0935\u0947\u0930":F},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(F,N){return 12===F&&(F=0),"\u0930\u093e\u0924\u0940"===N?F<4?F:F+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===N?F:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===N?F>12?F:F+12:"\u0938\u093e\u0902\u091c\u0947"===N?F+12:void 0},meridiem:function(F,N,I){return F<4?"\u0930\u093e\u0924\u0940":F<12?"\u0938\u0915\u093e\u0933\u0940\u0902":F<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":F<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(W(7586))},7718:function(r1,t1,W){!function(U){"use strict";function M(F,N,I,$){var q={s:["thoddea sekondamni","thodde sekond"],ss:[F+" sekondamni",F+" sekond"],m:["eka mintan","ek minut"],mm:[F+" mintamni",F+" mintam"],h:["eka voran","ek vor"],hh:[F+" voramni",F+" voram"],d:["eka disan","ek dis"],dd:[F+" disamni",F+" dis"],M:["eka mhoinean","ek mhoino"],MM:[F+" mhoineamni",F+" mhoine"],y:["eka vorsan","ek voros"],yy:[F+" vorsamni",F+" vorsam"]};return $?q[I][0]:q[I][1]}U.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:M,M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(F,N){return"D"===N?F+"er":F},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(F,N){return 12===F&&(F=0),"rati"===N?F<4?F:F+12:"sokallim"===N?F:"donparam"===N?F>12?F:F+12:"sanje"===N?F+12:void 0},meridiem:function(F,N,I){return F<4?"rati":F<12?"sokallim":F<16?"donparam":F<20?"sanje":"rati"}})}(W(7586))},6827:function(r1,t1,W){!function(U){"use strict";var M={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},D={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};U.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(N){return N.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(I){return D[I]})},postformat:function(N){return N.replace(/\d/g,function(I){return M[I]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(N,I){return 12===N&&(N=0),"\u0ab0\u0abe\u0aa4"===I?N<4?N:N+12:"\u0ab8\u0ab5\u0abe\u0ab0"===I?N:"\u0aac\u0aaa\u0acb\u0ab0"===I?N>=10?N:N+12:"\u0ab8\u0abe\u0a82\u0a9c"===I?N+12:void 0},meridiem:function(N,I,$){return N<4?"\u0ab0\u0abe\u0aa4":N<10?"\u0ab8\u0ab5\u0abe\u0ab0":N<17?"\u0aac\u0aaa\u0acb\u0ab0":N<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(W(7586))},1936:function(r1,t1,W){!function(U){"use strict";U.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(D){return 2===D?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":D+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(D){return 2===D?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":D+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(D){return 2===D?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":D+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(D){return 2===D?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":D%10==0&&10!==D?D+" \u05e9\u05e0\u05d4":D+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(D){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(D)},meridiem:function(D,F,N){return D<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":D<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":D<12?N?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":D<18?N?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(W(7586))},1332:function(r1,t1,W){!function(U){"use strict";var M={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},D={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},F=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];U.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:F,longMonthsParse:F,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function($){return $.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(q){return D[q]})},postformat:function($){return $.replace(/\d/g,function(q){return M[q]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function($,q){return 12===$&&($=0),"\u0930\u093e\u0924"===q?$<4?$:$+12:"\u0938\u0941\u092c\u0939"===q?$:"\u0926\u094b\u092a\u0939\u0930"===q?$>=10?$:$+12:"\u0936\u093e\u092e"===q?$+12:void 0},meridiem:function($,q,e1){return $<4?"\u0930\u093e\u0924":$<10?"\u0938\u0941\u092c\u0939":$<17?"\u0926\u094b\u092a\u0939\u0930":$<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(W(7586))},1957:function(r1,t1,W){!function(U){"use strict";function M(F,N,I){var $=F+" ";switch(I){case"ss":return $+(1===F?"sekunda":2===F||3===F||4===F?"sekunde":"sekundi");case"m":return N?"jedna minuta":"jedne minute";case"mm":return $+(1===F?"minuta":2===F||3===F||4===F?"minute":"minuta");case"h":return N?"jedan sat":"jednog sata";case"hh":return $+(1===F?"sat":2===F||3===F||4===F?"sata":"sati");case"dd":return $+(1===F?"dan":"dana");case"MM":return $+(1===F?"mjesec":2===F||3===F||4===F?"mjeseca":"mjeseci");case"yy":return $+(1===F?"godina":2===F||3===F||4===F?"godine":"godina")}}U.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:M,m:M,mm:M,h:M,hh:M,d:"dan",dd:M,M:"mjesec",MM:M,y:"godinu",yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(W(7586))},8928:function(r1,t1,W){!function(U){"use strict";var M="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function D(I,$,q,e1){var f1=I;switch(q){case"s":return e1||$?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return f1+(e1||$)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(e1||$?" perc":" perce");case"mm":return f1+(e1||$?" perc":" perce");case"h":return"egy"+(e1||$?" \xf3ra":" \xf3r\xe1ja");case"hh":return f1+(e1||$?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(e1||$?" nap":" napja");case"dd":return f1+(e1||$?" nap":" napja");case"M":return"egy"+(e1||$?" h\xf3nap":" h\xf3napja");case"MM":return f1+(e1||$?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(e1||$?" \xe9v":" \xe9ve");case"yy":return f1+(e1||$?" \xe9v":" \xe9ve")}return""}function F(I){return(I?"":"[m\xfalt] ")+"["+M[this.day()]+"] LT[-kor]"}U.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(I){return"u"===I.charAt(1).toLowerCase()},meridiem:function(I,$,q){return I<12?!0===q?"de":"DE":!0===q?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return F.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return F.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:D,ss:D,m:D,mm:D,h:D,hh:D,d:D,dd:D,M:D,MM:D,y:D,yy:D},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},6215:function(r1,t1,W){!function(U){"use strict";U.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(D){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(D)},meridiem:function(D){return D<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":D<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":D<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(D,F){switch(F){case"DDD":case"w":case"W":case"DDDo":return 1===D?D+"-\u056b\u0576":D+"-\u0580\u0564";default:return D}},week:{dow:1,doy:7}})}(W(7586))},586:function(r1,t1,W){!function(U){"use strict";U.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(D,F){return 12===D&&(D=0),"pagi"===F?D:"siang"===F?D>=11?D:D+12:"sore"===F||"malam"===F?D+12:void 0},meridiem:function(D,F,N){return D<11?"pagi":D<15?"siang":D<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(W(7586))},211:function(r1,t1,W){!function(U){"use strict";function M(N){return N%100==11||N%10!=1}function D(N,I,$,q){var e1=N+" ";switch($){case"s":return I||q?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return M(N)?e1+(I||q?"sek\xfandur":"sek\xfandum"):e1+"sek\xfanda";case"m":return I?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return M(N)?e1+(I||q?"m\xedn\xfatur":"m\xedn\xfatum"):I?e1+"m\xedn\xfata":e1+"m\xedn\xfatu";case"hh":return M(N)?e1+(I||q?"klukkustundir":"klukkustundum"):e1+"klukkustund";case"d":return I?"dagur":q?"dag":"degi";case"dd":return M(N)?I?e1+"dagar":e1+(q?"daga":"d\xf6gum"):I?e1+"dagur":e1+(q?"dag":"degi");case"M":return I?"m\xe1nu\xf0ur":q?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return M(N)?I?e1+"m\xe1nu\xf0ir":e1+(q?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):I?e1+"m\xe1nu\xf0ur":e1+(q?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return I||q?"\xe1r":"\xe1ri";case"yy":return M(N)?e1+(I||q?"\xe1r":"\xe1rum"):e1+(I||q?"\xe1r":"\xe1ri")}}U.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:D,ss:D,m:D,mm:D,h:"klukkustund",hh:D,d:D,dd:D,M:D,MM:D,y:D,yy:D},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},2340:function(r1,t1,W){!function(U){"use strict";U.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(D){return(/^[0-9].+$/.test(D)?"tra":"in")+" "+D},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(W(7586))},170:function(r1,t1,W){!function(U){"use strict";U.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(W(7586))},9770:function(r1,t1,W){!function(U){"use strict";U.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(D,F){return"\u5143"===F[1]?1:parseInt(F[1]||D,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(D){return"\u5348\u5f8c"===D},meridiem:function(D,F,N){return D<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(D){return D.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(D){return this.week()!==D.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(D,F){switch(F){case"y":return 1===D?"\u5143\u5e74":D+"\u5e74";case"d":case"D":case"DDD":return D+"\u65e5";default:return D}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(W(7586))},3875:function(r1,t1,W){!function(U){"use strict";U.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(D,F){return 12===D&&(D=0),"enjing"===F?D:"siyang"===F?D>=11?D:D+12:"sonten"===F||"ndalu"===F?D+12:void 0},meridiem:function(D,F,N){return D<11?"enjing":D<15?"siyang":D<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(W(7586))},9499:function(r1,t1,W){!function(U){"use strict";U.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(D){return D.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(F,N,I){return"\u10d8"===I?N+"\u10e8\u10d8":N+I+"\u10e8\u10d8"})},past:function(D){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(D)?D.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(D)?D.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):D},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(D){return 0===D?D:1===D?D+"-\u10da\u10d8":D<20||D<=100&&D%20==0||D%100==0?"\u10db\u10d4-"+D:D+"-\u10d4"},week:{dow:1,doy:7}})}(W(7586))},3573:function(r1,t1,W){!function(U){"use strict";var M={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};U.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(F){return F+(M[F]||M[F%10]||M[F>=100?100:null])},week:{dow:1,doy:7}})}(W(7586))},8807:function(r1,t1,W){!function(U){"use strict";var M={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},D={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};U.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(N){return"\u179b\u17d2\u1784\u17b6\u1785"===N},meridiem:function(N,I,$){return N<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(N){return N.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(I){return D[I]})},postformat:function(N){return N.replace(/\d/g,function(I){return M[I]})},week:{dow:1,doy:4}})}(W(7586))},5082:function(r1,t1,W){!function(U){"use strict";var M={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},D={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};U.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(N){return N.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(I){return D[I]})},postformat:function(N){return N.replace(/\d/g,function(I){return M[I]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(N,I){return 12===N&&(N=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===I?N<4?N:N+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===I?N:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===I?N>=10?N:N+12:"\u0cb8\u0c82\u0c9c\u0cc6"===I?N+12:void 0},meridiem:function(N,I,$){return N<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":N<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":N<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":N<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(N){return N+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(W(7586))},137:function(r1,t1,W){!function(U){"use strict";U.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(D,F){switch(F){case"d":case"D":case"DDD":return D+"\uc77c";case"M":return D+"\uc6d4";case"w":case"W":return D+"\uc8fc";default:return D}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(D){return"\uc624\ud6c4"===D},meridiem:function(D,F,N){return D<12?"\uc624\uc804":"\uc624\ud6c4"}})}(W(7586))},3744:function(r1,t1,W){!function(U){"use strict";function M(N,I,$,q){var e1={s:["\xe7end san\xeeye","\xe7end san\xeeyeyan"],ss:[N+" san\xeeye",N+" san\xeeyeyan"],m:["deq\xeeqeyek","deq\xeeqeyek\xea"],mm:[N+" deq\xeeqe",N+" deq\xeeqeyan"],h:["saetek","saetek\xea"],hh:[N+" saet",N+" saetan"],d:["rojek","rojek\xea"],dd:[N+" roj",N+" rojan"],w:["hefteyek","hefteyek\xea"],ww:[N+" hefte",N+" hefteyan"],M:["mehek","mehek\xea"],MM:[N+" meh",N+" mehan"],y:["salek","salek\xea"],yy:[N+" sal",N+" salan"]};return I?e1[$][0]:e1[$][1]}U.defineLocale("ku-kmr",{months:"R\xeabendan_Sibat_Adar_N\xeesan_Gulan_Hez\xeeran_T\xeermeh_Tebax_\xcelon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"R\xeab_Sib_Ada_N\xees_Gul_Hez_T\xeer_Teb_\xcelo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"Yek\u015fem_Du\u015fem_S\xea\u015fem_\xc7ar\u015fem_P\xeanc\u015fem_\xcen_\u015eem\xee".split("_"),weekdaysShort:"Yek_Du_S\xea_\xc7ar_P\xean_\xcen_\u015eem".split("_"),weekdaysMin:"Ye_Du_S\xea_\xc7a_P\xea_\xcen_\u015ee".split("_"),meridiem:function(N,I,$){return N<12?$?"bn":"BN":$?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[\xcero di saet] LT [de]",nextDay:"[Sib\xea di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a bor\xee di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"ber\xee %s",s:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:M,w:M,ww:M,M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}(?:y\xea|\xea|\.)/,ordinal:function(N,I){var $=I.toLowerCase();return $.includes("w")||$.includes("m")?N+".":N+function D(N){var I=(N=""+N).substring(N.length-1),$=N.length>1?N.substring(N.length-2):"";return 12==$||13==$||"2"!=I&&"3"!=I&&"50"!=$&&"70"!=I&&"80"!=I?"\xea":"y\xea"}(N)},week:{dow:1,doy:4}})}(W(7586))},111:function(r1,t1,W){!function(U){"use strict";var M={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},D={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},F=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];U.defineLocale("ku",{months:F,monthsShort:F,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(I){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(I)},meridiem:function(I,$,q){return I<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(I){return I.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function($){return D[$]}).replace(/\u060c/g,",")},postformat:function(I){return I.replace(/\d/g,function($){return M[$]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(W(7586))},9187:function(r1,t1,W){!function(U){"use strict";var M={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};U.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(F){return F+(M[F]||M[F%10]||M[F>=100?100:null])},week:{dow:1,doy:7}})}(W(7586))},5969:function(r1,t1,W){!function(U){"use strict";function M($,q,e1,f1){var T1={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return q?T1[e1][0]:T1[e1][1]}function N($){if($=parseInt($,10),isNaN($))return!1;if($<0)return!0;if($<10)return 4<=$&&$<=7;if($<100){var q=$%10;return N(0===q?$/10:q)}if($<1e4){for(;$>=10;)$/=10;return N($)}return N($/=1e3)}U.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function D($){return N($.substr(0,$.indexOf(" ")))?"a "+$:"an "+$},past:function F($){return N($.substr(0,$.indexOf(" ")))?"viru "+$:"virun "+$},s:"e puer Sekonnen",ss:"%d Sekonnen",m:M,mm:"%d Minutten",h:M,hh:"%d Stonnen",d:M,dd:"%d Deeg",M,MM:"%d M\xe9int",y:M,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},3526:function(r1,t1,W){!function(U){"use strict";U.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(D){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===D},meridiem:function(D,F,N){return D<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(D){return"\u0e97\u0eb5\u0ec8"+D}})}(W(7586))},411:function(r1,t1,W){!function(U){"use strict";var M={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function F(e1,f1,T1,Q1){return f1?I(T1)[0]:Q1?I(T1)[1]:I(T1)[2]}function N(e1){return e1%10==0||e1>10&&e1<20}function I(e1){return M[e1].split("_")}function $(e1,f1,T1,Q1){var l2=e1+" ";return 1===e1?l2+F(0,f1,T1[0],Q1):f1?l2+(N(e1)?I(T1)[1]:I(T1)[0]):Q1?l2+I(T1)[1]:l2+(N(e1)?I(T1)[1]:I(T1)[2])}U.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function D(e1,f1,T1,Q1){return f1?"kelios sekund\u0117s":Q1?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:$,m:F,mm:$,h:F,hh:$,d:F,dd:$,M:F,MM:$,y:F,yy:$},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e1){return e1+"-oji"},week:{dow:1,doy:4}})}(W(7586))},2621:function(r1,t1,W){!function(U){"use strict";var M={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function D(q,e1,f1){return f1?e1%10==1&&e1%100!=11?q[2]:q[3]:e1%10==1&&e1%100!=11?q[0]:q[1]}function F(q,e1,f1){return q+" "+D(M[f1],q,e1)}function N(q,e1,f1){return D(M[f1],q,e1)}U.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function I(q,e1){return e1?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:F,m:N,mm:F,h:N,hh:F,d:N,dd:F,M:N,MM:F,y:N,yy:F},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},5869:function(r1,t1,W){!function(U){"use strict";var M={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(F,N){return 1===F?N[0]:F>=2&&F<=4?N[1]:N[2]},translate:function(F,N,I){var $=M.words[I];return 1===I.length?N?$[0]:$[1]:F+" "+M.correctGrammaticalCase(F,$)}};U.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:M.translate,m:M.translate,mm:M.translate,h:M.translate,hh:M.translate,d:"dan",dd:M.translate,M:"mjesec",MM:M.translate,y:"godinu",yy:M.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(W(7586))},5881:function(r1,t1,W){!function(U){"use strict";U.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(W(7586))},2391:function(r1,t1,W){!function(U){"use strict";U.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(D){var F=D%10,N=D%100;return 0===D?D+"-\u0435\u0432":0===N?D+"-\u0435\u043d":N>10&&N<20?D+"-\u0442\u0438":1===F?D+"-\u0432\u0438":2===F?D+"-\u0440\u0438":7===F||8===F?D+"-\u043c\u0438":D+"-\u0442\u0438"},week:{dow:1,doy:7}})}(W(7586))},1126:function(r1,t1,W){!function(U){"use strict";U.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(D,F){return 12===D&&(D=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===F&&D>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===F||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===F?D+12:D},meridiem:function(D,F,N){return D<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":D<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":D<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":D<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(W(7586))},4892:function(r1,t1,W){!function(U){"use strict";function M(F,N,I,$){switch(I){case"s":return N?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return F+(N?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return F+(N?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return F+(N?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return F+(N?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return F+(N?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return F+(N?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return F}}U.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(F){return"\u04ae\u0425"===F},meridiem:function(F,N,I){return F<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:M,M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(F,N){switch(N){case"d":case"D":case"DDD":return F+" \u04e9\u0434\u04e9\u0440";default:return F}}})}(W(7586))},9080:function(r1,t1,W){!function(U){"use strict";var M={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},D={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function F(I,$,q,e1){var f1="";if($)switch(q){case"s":f1="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":f1="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":f1="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":f1="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":f1="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":f1="%d \u0924\u093e\u0938";break;case"d":f1="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":f1="%d \u0926\u093f\u0935\u0938";break;case"M":f1="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":f1="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":f1="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":f1="%d \u0935\u0930\u094d\u0937\u0947"}else switch(q){case"s":f1="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":f1="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":f1="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":f1="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":f1="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":f1="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":f1="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":f1="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":f1="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":f1="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":f1="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":f1="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return f1.replace(/%d/i,I)}U.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:F,ss:F,m:F,mm:F,h:F,hh:F,d:F,dd:F,M:F,MM:F,y:F,yy:F},preparse:function(I){return I.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function($){return D[$]})},postformat:function(I){return I.replace(/\d/g,function($){return M[$]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(I,$){return 12===I&&(I=0),"\u092a\u0939\u093e\u091f\u0947"===$||"\u0938\u0915\u093e\u0933\u0940"===$?I:"\u0926\u0941\u092a\u093e\u0930\u0940"===$||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===$||"\u0930\u093e\u0924\u094d\u0930\u0940"===$?I>=12?I:I+12:void 0},meridiem:function(I,$,q){return I>=0&&I<6?"\u092a\u0939\u093e\u091f\u0947":I<12?"\u0938\u0915\u093e\u0933\u0940":I<17?"\u0926\u0941\u092a\u093e\u0930\u0940":I<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(W(7586))},5950:function(r1,t1,W){!function(U){"use strict";U.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(D,F){return 12===D&&(D=0),"pagi"===F?D:"tengahari"===F?D>=11?D:D+12:"petang"===F||"malam"===F?D+12:void 0},meridiem:function(D,F,N){return D<11?"pagi":D<15?"tengahari":D<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(W(7586))},399:function(r1,t1,W){!function(U){"use strict";U.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(D,F){return 12===D&&(D=0),"pagi"===F?D:"tengahari"===F?D>=11?D:D+12:"petang"===F||"malam"===F?D+12:void 0},meridiem:function(D,F,N){return D<11?"pagi":D<15?"tengahari":D<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(W(7586))},9902:function(r1,t1,W){!function(U){"use strict";U.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(W(7586))},2985:function(r1,t1,W){!function(U){"use strict";var M={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},D={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};U.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(N){return N.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(I){return D[I]})},postformat:function(N){return N.replace(/\d/g,function(I){return M[I]})},week:{dow:1,doy:4}})}(W(7586))},7859:function(r1,t1,W){!function(U){"use strict";U.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"\xe9n time",hh:"%d timer",d:"\xe9n dag",dd:"%d dager",w:"\xe9n uke",ww:"%d uker",M:"\xe9n m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},3642:function(r1,t1,W){!function(U){"use strict";var M={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},D={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};U.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(N){return N.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(I){return D[I]})},postformat:function(N){return N.replace(/\d/g,function(I){return M[I]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(N,I){return 12===N&&(N=0),"\u0930\u093e\u0924\u093f"===I?N<4?N:N+12:"\u092c\u093f\u0939\u093e\u0928"===I?N:"\u0926\u093f\u0909\u0901\u0938\u094b"===I?N>=10?N:N+12:"\u0938\u093e\u0901\u091d"===I?N+12:void 0},meridiem:function(N,I,$){return N<3?"\u0930\u093e\u0924\u093f":N<12?"\u092c\u093f\u0939\u093e\u0928":N<16?"\u0926\u093f\u0909\u0901\u0938\u094b":N<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(W(7586))},9875:function(r1,t1,W){!function(U){"use strict";var M="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),D="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),F=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],N=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;U.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function($,q){return $?/-MMM-/.test(q)?D[$.month()]:M[$.month()]:M},monthsRegex:N,monthsShortRegex:N,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:F,longMonthsParse:F,shortMonthsParse:F,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function($){return $+(1===$||8===$||$>=20?"ste":"de")},week:{dow:1,doy:4}})}(W(7586))},5441:function(r1,t1,W){!function(U){"use strict";var M="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),D="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),F=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],N=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;U.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function($,q){return $?/-MMM-/.test(q)?D[$.month()]:M[$.month()]:M},monthsRegex:N,monthsShortRegex:N,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:F,longMonthsParse:F,shortMonthsParse:F,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function($){return $+(1===$||8===$||$>=20?"ste":"de")},week:{dow:1,doy:4}})}(W(7586))},1311:function(r1,t1,W){!function(U){"use strict";U.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},2567:function(r1,t1,W){!function(U){"use strict";U.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(D,F){var N=1===D?"r":2===D?"n":3===D?"r":4===D?"t":"\xe8";return("w"===F||"W"===F)&&(N="a"),D+N},week:{dow:1,doy:4}})}(W(7586))},6962:function(r1,t1,W){!function(U){"use strict";var M={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},D={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};U.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(N){return N.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(I){return D[I]})},postformat:function(N){return N.replace(/\d/g,function(I){return M[I]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(N,I){return 12===N&&(N=0),"\u0a30\u0a3e\u0a24"===I?N<4?N:N+12:"\u0a38\u0a35\u0a47\u0a30"===I?N:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===I?N>=10?N:N+12:"\u0a38\u0a3c\u0a3e\u0a2e"===I?N+12:void 0},meridiem:function(N,I,$){return N<4?"\u0a30\u0a3e\u0a24":N<10?"\u0a38\u0a35\u0a47\u0a30":N<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":N<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(W(7586))},1063:function(r1,t1,W){!function(U){"use strict";var M="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),D="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),F=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function N(q){return q%10<5&&q%10>1&&~~(q/10)%10!=1}function I(q,e1,f1){var T1=q+" ";switch(f1){case"ss":return T1+(N(q)?"sekundy":"sekund");case"m":return e1?"minuta":"minut\u0119";case"mm":return T1+(N(q)?"minuty":"minut");case"h":return e1?"godzina":"godzin\u0119";case"hh":return T1+(N(q)?"godziny":"godzin");case"ww":return T1+(N(q)?"tygodnie":"tygodni");case"MM":return T1+(N(q)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return T1+(N(q)?"lata":"lat")}}U.defineLocale("pl",{months:function(q,e1){return q?/D MMMM/.test(e1)?D[q.month()]:M[q.month()]:M},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:F,longMonthsParse:F,shortMonthsParse:F,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:I,m:I,mm:I,h:I,hh:I,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:I,M:"miesi\u0105c",MM:I,y:"rok",yy:I},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},7476:function(r1,t1,W){!function(U){"use strict";U.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(W(7586))},8719:function(r1,t1,W){!function(U){"use strict";U.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(W(7586))},1004:function(r1,t1,W){!function(U){"use strict";function M(F,N,I){var q=" ";return(F%100>=20||F>=100&&F%100==0)&&(q=" de "),F+q+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[I]}U.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:M,m:"un minut",mm:M,h:"o or\u0103",hh:M,d:"o zi",dd:M,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:M,M:"o lun\u0103",MM:M,y:"un an",yy:M},week:{dow:1,doy:7}})}(W(7586))},1326:function(r1,t1,W){!function(U){"use strict";function D(I,$,q){return"m"===q?$?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":I+" "+function M(I,$){var q=I.split("_");return $%10==1&&$%100!=11?q[0]:$%10>=2&&$%10<=4&&($%100<10||$%100>=20)?q[1]:q[2]}({ss:$?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:$?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[q],+I)}var F=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];U.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:F,longMonthsParse:F,shortMonthsParse:F,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(I){if(I.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(I){if(I.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:D,m:D,mm:D,h:"\u0447\u0430\u0441",hh:D,d:"\u0434\u0435\u043d\u044c",dd:D,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:D,M:"\u043c\u0435\u0441\u044f\u0446",MM:D,y:"\u0433\u043e\u0434",yy:D},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(I){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(I)},meridiem:function(I,$,q){return I<4?"\u043d\u043e\u0447\u0438":I<12?"\u0443\u0442\u0440\u0430":I<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(I,$){switch($){case"M":case"d":case"DDD":return I+"-\u0439";case"D":return I+"-\u0433\u043e";case"w":case"W":return I+"-\u044f";default:return I}},week:{dow:1,doy:4}})}(W(7586))},2608:function(r1,t1,W){!function(U){"use strict";var M=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],D=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];U.defineLocale("sd",{months:M,monthsShort:M,weekdays:D,weekdaysShort:D,weekdaysMin:D,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(N){return"\u0634\u0627\u0645"===N},meridiem:function(N,I,$){return N<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(N){return N.replace(/\u060c/g,",")},postformat:function(N){return N.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(W(7586))},3911:function(r1,t1,W){!function(U){"use strict";U.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},5147:function(r1,t1,W){!function(U){"use strict";U.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(D){return D+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(D){return"\u0db4.\u0dc0."===D||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===D},meridiem:function(D,F,N){return D>11?N?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":N?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(W(7586))},3741:function(r1,t1,W){!function(U){"use strict";var M="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),D="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function F($){return $>1&&$<5}function N($,q,e1,f1){var T1=$+" ";switch(e1){case"s":return q||f1?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return q||f1?T1+(F($)?"sekundy":"sek\xfand"):T1+"sekundami";case"m":return q?"min\xfata":f1?"min\xfatu":"min\xfatou";case"mm":return q||f1?T1+(F($)?"min\xfaty":"min\xfat"):T1+"min\xfatami";case"h":return q?"hodina":f1?"hodinu":"hodinou";case"hh":return q||f1?T1+(F($)?"hodiny":"hod\xedn"):T1+"hodinami";case"d":return q||f1?"de\u0148":"d\u0148om";case"dd":return q||f1?T1+(F($)?"dni":"dn\xed"):T1+"d\u0148ami";case"M":return q||f1?"mesiac":"mesiacom";case"MM":return q||f1?T1+(F($)?"mesiace":"mesiacov"):T1+"mesiacmi";case"y":return q||f1?"rok":"rokom";case"yy":return q||f1?T1+(F($)?"roky":"rokov"):T1+"rokmi"}}U.defineLocale("sk",{months:M,monthsShort:D,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:N,ss:N,m:N,mm:N,h:N,hh:N,d:N,dd:N,M:N,MM:N,y:N,yy:N},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},3e3:function(r1,t1,W){!function(U){"use strict";function M(F,N,I,$){var q=F+" ";switch(I){case"s":return N||$?"nekaj sekund":"nekaj sekundami";case"ss":return q+(1===F?N?"sekundo":"sekundi":2===F?N||$?"sekundi":"sekundah":F<5?N||$?"sekunde":"sekundah":"sekund");case"m":return N?"ena minuta":"eno minuto";case"mm":return q+(1===F?N?"minuta":"minuto":2===F?N||$?"minuti":"minutama":F<5?N||$?"minute":"minutami":N||$?"minut":"minutami");case"h":return N?"ena ura":"eno uro";case"hh":return q+(1===F?N?"ura":"uro":2===F?N||$?"uri":"urama":F<5?N||$?"ure":"urami":N||$?"ur":"urami");case"d":return N||$?"en dan":"enim dnem";case"dd":return q+(1===F?N||$?"dan":"dnem":2===F?N||$?"dni":"dnevoma":N||$?"dni":"dnevi");case"M":return N||$?"en mesec":"enim mesecem";case"MM":return q+(1===F?N||$?"mesec":"mesecem":2===F?N||$?"meseca":"mesecema":F<5?N||$?"mesece":"meseci":N||$?"mesecev":"meseci");case"y":return N||$?"eno leto":"enim letom";case"yy":return q+(1===F?N||$?"leto":"letom":2===F?N||$?"leti":"letoma":F<5?N||$?"leta":"leti":N||$?"let":"leti")}}U.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:M,M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(W(7586))},451:function(r1,t1,W){!function(U){"use strict";U.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(D){return"M"===D.charAt(0)},meridiem:function(D,F,N){return D<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},905:function(r1,t1,W){!function(U){"use strict";var M={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(F,N){return F%10>=1&&F%10<=4&&(F%100<10||F%100>=20)?F%10==1?N[0]:N[1]:N[2]},translate:function(F,N,I,$){var e1,q=M.words[I];return 1===I.length?"y"===I&&N?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":$||N?q[0]:q[1]:(e1=M.correctGrammaticalCase(F,q),"yy"===I&&N&&"\u0433\u043e\u0434\u0438\u043d\u0443"===e1?F+" \u0433\u043e\u0434\u0438\u043d\u0430":F+" "+e1)}};U.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:M.translate,m:M.translate,mm:M.translate,h:M.translate,hh:M.translate,d:M.translate,dd:M.translate,M:M.translate,MM:M.translate,y:M.translate,yy:M.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(W(7586))},5046:function(r1,t1,W){!function(U){"use strict";var M={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(F,N){return F%10>=1&&F%10<=4&&(F%100<10||F%100>=20)?F%10==1?N[0]:N[1]:N[2]},translate:function(F,N,I,$){var e1,q=M.words[I];return 1===I.length?"y"===I&&N?"jedna godina":$||N?q[0]:q[1]:(e1=M.correctGrammaticalCase(F,q),"yy"===I&&N&&"godinu"===e1?F+" godina":F+" "+e1)}};U.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:M.translate,m:M.translate,mm:M.translate,h:M.translate,hh:M.translate,d:M.translate,dd:M.translate,M:M.translate,MM:M.translate,y:M.translate,yy:M.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(W(7586))},5765:function(r1,t1,W){!function(U){"use strict";U.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(D,F,N){return D<11?"ekuseni":D<15?"emini":D<19?"entsambama":"ebusuku"},meridiemHour:function(D,F){return 12===D&&(D=0),"ekuseni"===F?D:"emini"===F?D>=11?D:D+12:"entsambama"===F||"ebusuku"===F?0===D?0:D+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(W(7586))},9290:function(r1,t1,W){!function(U){"use strict";U.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(D){var F=D%10;return D+(1==~~(D%100/10)?":e":1===F||2===F?":a":":e")},week:{dow:1,doy:4}})}(W(7586))},3449:function(r1,t1,W){!function(U){"use strict";U.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(W(7586))},2688:function(r1,t1,W){!function(U){"use strict";var M={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},D={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};U.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(N){return N+"\u0bb5\u0ba4\u0bc1"},preparse:function(N){return N.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(I){return D[I]})},postformat:function(N){return N.replace(/\d/g,function(I){return M[I]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(N,I,$){return N<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":N<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":N<10?" \u0b95\u0bbe\u0bb2\u0bc8":N<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":N<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":N<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(N,I){return 12===N&&(N=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===I?N<2?N:N+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===I||"\u0b95\u0bbe\u0bb2\u0bc8"===I||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===I&&N>=10?N:N+12},week:{dow:0,doy:6}})}(W(7586))},2060:function(r1,t1,W){!function(U){"use strict";U.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(D,F){return 12===D&&(D=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===F?D<4?D:D+12:"\u0c09\u0c26\u0c2f\u0c02"===F?D:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===F?D>=10?D:D+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===F?D+12:void 0},meridiem:function(D,F,N){return D<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":D<10?"\u0c09\u0c26\u0c2f\u0c02":D<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":D<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(W(7586))},3290:function(r1,t1,W){!function(U){"use strict";U.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(D){var F=D%10;return D+(1==~~(D%100/10)?"th":1===F?"st":2===F?"nd":3===F?"rd":"th")},week:{dow:1,doy:4}})}(W(7586))},8294:function(r1,t1,W){!function(U){"use strict";var M={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};U.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(F,N){return 12===F&&(F=0),"\u0448\u0430\u0431"===N?F<4?F:F+12:"\u0441\u0443\u0431\u04b3"===N?F:"\u0440\u04ef\u0437"===N?F>=11?F:F+12:"\u0431\u0435\u0433\u043e\u04b3"===N?F+12:void 0},meridiem:function(F,N,I){return F<4?"\u0448\u0430\u0431":F<11?"\u0441\u0443\u0431\u04b3":F<16?"\u0440\u04ef\u0437":F<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(F){return F+(M[F]||M[F%10]||M[F>=100?100:null])},week:{dow:1,doy:7}})}(W(7586))},1231:function(r1,t1,W){!function(U){"use strict";U.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(D){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===D},meridiem:function(D,F,N){return D<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(W(7586))},3746:function(r1,t1,W){!function(U){"use strict";var M={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};U.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(F,N){switch(N){case"d":case"D":case"Do":case"DD":return F;default:if(0===F)return F+"'unjy";var I=F%10;return F+(M[I]||M[F%100-I]||M[F>=100?100:null])}},week:{dow:1,doy:7}})}(W(7586))},9040:function(r1,t1,W){!function(U){"use strict";U.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(D){return D},week:{dow:1,doy:4}})}(W(7586))},7187:function(r1,t1,W){!function(U){"use strict";var M="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function N(q,e1,f1,T1){var Q1=function I(q){var e1=Math.floor(q%1e3/100),f1=Math.floor(q%100/10),T1=q%10,Q1="";return e1>0&&(Q1+=M[e1]+"vatlh"),f1>0&&(Q1+=(""!==Q1?" ":"")+M[f1]+"maH"),T1>0&&(Q1+=(""!==Q1?" ":"")+M[T1]),""===Q1?"pagh":Q1}(q);switch(f1){case"ss":return Q1+" lup";case"mm":return Q1+" tup";case"hh":return Q1+" rep";case"dd":return Q1+" jaj";case"MM":return Q1+" jar";case"yy":return Q1+" DIS"}}U.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function D(q){var e1=q;return-1!==q.indexOf("jaj")?e1.slice(0,-3)+"leS":-1!==q.indexOf("jar")?e1.slice(0,-3)+"waQ":-1!==q.indexOf("DIS")?e1.slice(0,-3)+"nem":e1+" pIq"},past:function F(q){var e1=q;return-1!==q.indexOf("jaj")?e1.slice(0,-3)+"Hu\u2019":-1!==q.indexOf("jar")?e1.slice(0,-3)+"wen":-1!==q.indexOf("DIS")?e1.slice(0,-3)+"ben":e1+" ret"},s:"puS lup",ss:N,m:"wa\u2019 tup",mm:N,h:"wa\u2019 rep",hh:N,d:"wa\u2019 jaj",dd:N,M:"wa\u2019 jar",MM:N,y:"wa\u2019 DIS",yy:N},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},153:function(r1,t1,W){!function(U){"use strict";var M={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};U.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(F,N,I){return F<12?I?"\xf6\xf6":"\xd6\xd6":I?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(F){return"\xf6s"===F||"\xd6S"===F},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(F,N){switch(N){case"d":case"D":case"Do":case"DD":return F;default:if(0===F)return F+"'\u0131nc\u0131";var I=F%10;return F+(M[I]||M[F%100-I]||M[F>=100?100:null])}},week:{dow:1,doy:7}})}(W(7586))},8521:function(r1,t1,W){!function(U){"use strict";function D(F,N,I,$){var q={s:["viensas secunds","'iensas secunds"],ss:[F+" secunds",F+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[F+" m\xeduts",F+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[F+" \xfeoras",F+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[F+" ziuas",F+" ziuas"],M:["'n mes","'iens mes"],MM:[F+" mesen",F+" mesen"],y:["'n ar","'iens ar"],yy:[F+" ars",F+" ars"]};return $||N?q[I][0]:q[I][1]}U.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(F){return"d'o"===F.toLowerCase()},meridiem:function(F,N,I){return F>11?I?"d'o":"D'O":I?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:D,ss:D,m:D,mm:D,h:D,hh:D,d:D,dd:D,M:D,MM:D,y:D,yy:D},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(7586))},2234:function(r1,t1,W){!function(U){"use strict";U.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(W(7586))},8010:function(r1,t1,W){!function(U){"use strict";U.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(W(7586))},3349:function(r1,t1,W){!function(U){"use strict";U.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(D,F){return 12===D&&(D=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===F||"\u0633\u06d5\u06be\u06d5\u0631"===F||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===F?D:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===F||"\u0643\u06d5\u0686"===F?D+12:D>=11?D:D+12},meridiem:function(D,F,N){var I=100*D+F;return I<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":I<900?"\u0633\u06d5\u06be\u06d5\u0631":I<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":I<1230?"\u0686\u06c8\u0634":I<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(D,F){switch(F){case"d":case"D":case"DDD":return D+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return D+"-\u06be\u06d5\u067e\u062a\u06d5";default:return D}},preparse:function(D){return D.replace(/\u060c/g,",")},postformat:function(D){return D.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(W(7586))},8479:function(r1,t1,W){!function(U){"use strict";function D($,q,e1){return"m"===e1?q?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===e1?q?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":$+" "+function M($,q){var e1=$.split("_");return q%10==1&&q%100!=11?e1[0]:q%10>=2&&q%10<=4&&(q%100<10||q%100>=20)?e1[1]:e1[2]}({ss:q?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:q?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:q?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[e1],+$)}function N($){return function(){return $+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}U.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function F($,q){var e1={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===$?e1.nominative.slice(1,7).concat(e1.nominative.slice(0,1)):$?e1[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(q)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(q)?"genitive":"nominative"][$.day()]:e1.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:N("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:N("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:N("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:N("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return N("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return N("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:D,m:D,mm:D,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:D,d:"\u0434\u0435\u043d\u044c",dd:D,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:D,y:"\u0440\u0456\u043a",yy:D},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function($){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test($)},meridiem:function($,q,e1){return $<4?"\u043d\u043e\u0447\u0456":$<12?"\u0440\u0430\u043d\u043a\u0443":$<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function($,q){switch(q){case"M":case"d":case"DDD":case"w":case"W":return $+"-\u0439";case"D":return $+"-\u0433\u043e";default:return $}},week:{dow:1,doy:7}})}(W(7586))},3024:function(r1,t1,W){!function(U){"use strict";var M=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],D=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];U.defineLocale("ur",{months:M,monthsShort:M,weekdays:D,weekdaysShort:D,weekdaysMin:D,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(N){return"\u0634\u0627\u0645"===N},meridiem:function(N,I,$){return N<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(N){return N.replace(/\u060c/g,",")},postformat:function(N){return N.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(W(7586))},2376:function(r1,t1,W){!function(U){"use strict";U.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(W(7586))},9800:function(r1,t1,W){!function(U){"use strict";U.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(W(7586))},9366:function(r1,t1,W){!function(U){"use strict";U.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(D){return/^ch$/i.test(D)},meridiem:function(D,F,N){return D<12?N?"sa":"SA":N?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(D){return D},week:{dow:1,doy:4}})}(W(7586))},9702:function(r1,t1,W){!function(U){"use strict";U.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(D){var F=D%10;return D+(1==~~(D%100/10)?"th":1===F?"st":2===F?"nd":3===F?"rd":"th")},week:{dow:1,doy:4}})}(W(7586))},2655:function(r1,t1,W){!function(U){"use strict";U.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(W(7586))},575:function(r1,t1,W){!function(U){"use strict";U.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(D,F){return 12===D&&(D=0),"\u51cc\u6668"===F||"\u65e9\u4e0a"===F||"\u4e0a\u5348"===F?D:"\u4e0b\u5348"===F||"\u665a\u4e0a"===F?D+12:D>=11?D:D+12},meridiem:function(D,F,N){var I=100*D+F;return I<600?"\u51cc\u6668":I<900?"\u65e9\u4e0a":I<1130?"\u4e0a\u5348":I<1230?"\u4e2d\u5348":I<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(D){return D.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(D){return this.week()!==D.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(D,F){switch(F){case"d":case"D":case"DDD":return D+"\u65e5";case"M":return D+"\u6708";case"w":case"W":return D+"\u5468";default:return D}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(W(7586))},8351:function(r1,t1,W){!function(U){"use strict";U.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(D,F){return 12===D&&(D=0),"\u51cc\u6668"===F||"\u65e9\u4e0a"===F||"\u4e0a\u5348"===F?D:"\u4e2d\u5348"===F?D>=11?D:D+12:"\u4e0b\u5348"===F||"\u665a\u4e0a"===F?D+12:void 0},meridiem:function(D,F,N){var I=100*D+F;return I<600?"\u51cc\u6668":I<900?"\u65e9\u4e0a":I<1200?"\u4e0a\u5348":1200===I?"\u4e2d\u5348":I<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(D,F){switch(F){case"d":case"D":case"DDD":return D+"\u65e5";case"M":return D+"\u6708";case"w":case"W":return D+"\u9031";default:return D}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(W(7586))},1626:function(r1,t1,W){!function(U){"use strict";U.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(D,F){return 12===D&&(D=0),"\u51cc\u6668"===F||"\u65e9\u4e0a"===F||"\u4e0a\u5348"===F?D:"\u4e2d\u5348"===F?D>=11?D:D+12:"\u4e0b\u5348"===F||"\u665a\u4e0a"===F?D+12:void 0},meridiem:function(D,F,N){var I=100*D+F;return I<600?"\u51cc\u6668":I<900?"\u65e9\u4e0a":I<1130?"\u4e0a\u5348":I<1230?"\u4e2d\u5348":I<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(D,F){switch(F){case"d":case"D":case"DDD":return D+"\u65e5";case"M":return D+"\u6708";case"w":case"W":return D+"\u9031";default:return D}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(W(7586))},8887:function(r1,t1,W){!function(U){"use strict";U.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(D,F){return 12===D&&(D=0),"\u51cc\u6668"===F||"\u65e9\u4e0a"===F||"\u4e0a\u5348"===F?D:"\u4e2d\u5348"===F?D>=11?D:D+12:"\u4e0b\u5348"===F||"\u665a\u4e0a"===F?D+12:void 0},meridiem:function(D,F,N){var I=100*D+F;return I<600?"\u51cc\u6668":I<900?"\u65e9\u4e0a":I<1130?"\u4e0a\u5348":I<1230?"\u4e2d\u5348":I<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(D,F){switch(F){case"d":case"D":case"DDD":return D+"\u65e5";case"M":return D+"\u6708";case"w":case"W":return D+"\u9031";default:return D}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(W(7586))},7586:function(r1,t1,W){(r1=W.nmd(r1)).exports=function(){"use strict";var U,b3;function M(){return U.apply(null,arguments)}function F(g){return g instanceof Array||"[object Array]"===Object.prototype.toString.call(g)}function N(g){return null!=g&&"[object Object]"===Object.prototype.toString.call(g)}function I(g,L){return Object.prototype.hasOwnProperty.call(g,L)}function $(g){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(g).length;var L;for(L in g)if(I(g,L))return!1;return!0}function q(g){return void 0===g}function e1(g){return"number"==typeof g||"[object Number]"===Object.prototype.toString.call(g)}function f1(g){return g instanceof Date||"[object Date]"===Object.prototype.toString.call(g)}function T1(g,L){var A,T=[],G=g.length;for(A=0;A>>0;for(A=0;A0)for(T=0;T=0?T?"+":"":"-")+Math.pow(10,Math.max(0,L-A.length)).toString().substr(1)+A}var Ga=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ye=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ri={},N8={};function I1(g,L,T,A){var G=A;"string"==typeof A&&(G=function(){return this[A]()}),g&&(N8[g]=G),L&&(N8[L[0]]=function(){return n6(G.apply(this,arguments),L[1],L[2])}),T&&(N8[T]=function(){return this.localeData().ordinal(G.apply(this,arguments),g)})}function af(g){return g.match(/\[[\s\S]/)?g.replace(/^\[|\]$/g,""):g.replace(/\\/g,"")}function k5(g,L){return g.isValid()?(L=ti(L,g.localeData()),ri[L]=ri[L]||function Hz(g){var T,A,L=g.match(Ga);for(T=0,A=L.length;T=0&&ye.test(g);)g=g.replace(ye,A),ye.lastIndex=0,T-=1;return g}var Za={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function x3(g){return"string"==typeof g?Za[g]||Za[g.toLowerCase()]:void 0}function W6(g){var T,A,L={};for(A in g)I(g,A)&&(T=x3(A))&&(L[T]=g[A]);return L}var N5={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};var E5,D8=/\d/,w3=/\d\d/,si=/\d{3}/,Ka=/\d{4}/,be=/[+-]?\d{6}/,w2=/\d\d?/,T8=/\d\d\d\d?/,li=/\d\d\d\d\d\d?/,xe=/\d{1,3}/,Qa=/\d{1,4}/,we=/[+-]?\d{1,6}/,Fe=/\d+/,H0=/[+-]?\d+/,D5=/Z|[+-]\d\d:?\d\d/gi,T5=/Z|[+-]\d\d(?::?\d\d)?/gi,E8=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,C0=/^[1-9]\d?/,s6=/^([1-9]\d|\d)/;function k1(g,L,T){E5[g]=q6(L)?L:function(A,G){return A&&T?T:L}}function l4(g,L){return I(E5,g)?E5[g](L._strict,L._locale):new RegExp(function fi(g){return Z6(g.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(L,T,A,G,Q){return T||A||G||Q}))}(g))}function Z6(g){return g.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Z3(g){return g<0?Math.ceil(g)||0:Math.floor(g)}function h2(g){var L=+g,T=0;return 0!==L&&isFinite(L)&&(T=Z3(L)),T}E5={};var G2={};function D2(g,L){var T,G,A=L;for("string"==typeof g&&(g=[g]),e1(L)&&(A=function(Q,o1){o1[L]=h2(Q)}),G=g.length,T=0;T68?1900:2e3)};var q2,tf=h3("FullYear",!0);function h3(g,L){return function(T){return null!=T?(ce(this,g,T),M.updateOffset(this,L),this):S6(this,g)}}function S6(g,L){if(!g.isValid())return NaN;var T=g._d,A=g._isUTC;switch(L){case"Milliseconds":return A?T.getUTCMilliseconds():T.getMilliseconds();case"Seconds":return A?T.getUTCSeconds():T.getSeconds();case"Minutes":return A?T.getUTCMinutes():T.getMinutes();case"Hours":return A?T.getUTCHours():T.getHours();case"Date":return A?T.getUTCDate():T.getDate();case"Day":return A?T.getUTCDay():T.getDay();case"Month":return A?T.getUTCMonth():T.getMonth();case"FullYear":return A?T.getUTCFullYear():T.getFullYear();default:return NaN}}function ce(g,L,T){var A,G,Q,o1,F1;if(g.isValid()&&!isNaN(T)){switch(A=g._d,G=g._isUTC,L){case"Milliseconds":return void(G?A.setUTCMilliseconds(T):A.setMilliseconds(T));case"Seconds":return void(G?A.setUTCSeconds(T):A.setSeconds(T));case"Minutes":return void(G?A.setUTCMinutes(T):A.setMinutes(T));case"Hours":return void(G?A.setUTCHours(T):A.setHours(T));case"Date":return void(G?A.setUTCDate(T):A.setDate(T));case"FullYear":break;default:return}Q=T,o1=g.month(),F1=29!==(F1=g.date())||1!==o1||i4(Q)?F1:28,G?A.setUTCFullYear(Q,o1,F1):A.setFullYear(Q,o1,F1)}}function _i(g,L){if(isNaN(g)||isNaN(L))return NaN;var T=function Xa(g,L){return(g%L+L)%L}(L,12);return g+=(L-T)/12,1===T?i4(g)?29:28:31-T%7%2}q2=Array.prototype.indexOf?Array.prototype.indexOf:function(g){var L;for(L=0;L=0?(F1=new Date(g+400,L,T,A,G,Q,o1),isFinite(F1.getFullYear())&&F1.setFullYear(g)):F1=new Date(g,L,T,A,G,Q,o1),F1}function J3(g){var L,T;return g<100&&g>=0?((T=Array.prototype.slice.call(arguments))[0]=g+400,L=new Date(Date.UTC.apply(null,T)),isFinite(L.getUTCFullYear())&&L.setUTCFullYear(g)):L=new Date(Date.UTC.apply(null,arguments)),L}function c7(g,L,T){var A=7+L-T;return-(7+J3(g,0,A).getUTCDay()-L)%7+A-1}function df(g,L,T,A,G){var c2,_2,F1=1+7*(L-1)+(7+T-A)%7+c7(g,A,G);return F1<=0?_2=P5(c2=g-1)+F1:F1>P5(g)?(c2=g+1,_2=F1-P5(g)):(c2=g,_2=F1),{year:c2,dayOfYear:_2}}function B5(g,L,T){var Q,o1,A=c7(g.year(),L,T),G=Math.floor((g.dayOfYear()-A-1)/7)+1;return G<1?Q=G+z0(o1=g.year()-1,L,T):G>z0(g.year(),L,T)?(Q=G-z0(g.year(),L,T),o1=g.year()+1):(o1=g.year(),Q=G),{week:Q,year:o1}}function z0(g,L,T){var A=c7(g,L,T),G=c7(g+1,L,T);return(P5(g)-A+G)/7}I1("w",["ww",2],"wo","week"),I1("W",["WW",2],"Wo","isoWeek"),k1("w",w2,C0),k1("ww",w2,w3),k1("W",w2,C0),k1("WW",w2,w3),a3(["w","ww","W","WW"],function(g,L,T,A){L[A.substr(0,1)]=h2(g)});function gi(g,L){return g.slice(L,7).concat(g.slice(0,L))}I1("d",0,"do","day"),I1("dd",0,0,function(g){return this.localeData().weekdaysMin(this,g)}),I1("ddd",0,0,function(g){return this.localeData().weekdaysShort(this,g)}),I1("dddd",0,0,function(g){return this.localeData().weekdays(this,g)}),I1("e",0,0,"weekday"),I1("E",0,0,"isoWeekday"),k1("d",w2),k1("e",w2),k1("E",w2),k1("dd",function(g,L){return L.weekdaysMinRegex(g)}),k1("ddd",function(g,L){return L.weekdaysShortRegex(g)}),k1("dddd",function(g,L){return L.weekdaysRegex(g)}),a3(["dd","ddd","dddd"],function(g,L,T,A){var G=T._locale.weekdaysParse(g,A,T._strict);null!=G?L.d=G:y1(T).invalidWeekday=g}),a3(["d","e","E"],function(g,L,T,A){L[A]=h2(g)});var Fz="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),mf="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),g1="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),kz=E8,g4=E8,O5=E8;function I5(g,L,T){var A,G,Q,o1=g.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],A=0;A<7;++A)Q=l2([2e3,1]).day(A),this._minWeekdaysParse[A]=this.weekdaysMin(Q,"").toLocaleLowerCase(),this._shortWeekdaysParse[A]=this.weekdaysShort(Q,"").toLocaleLowerCase(),this._weekdaysParse[A]=this.weekdays(Q,"").toLocaleLowerCase();return T?"dddd"===L?-1!==(G=q2.call(this._weekdaysParse,o1))?G:null:"ddd"===L?-1!==(G=q2.call(this._shortWeekdaysParse,o1))?G:null:-1!==(G=q2.call(this._minWeekdaysParse,o1))?G:null:"dddd"===L?-1!==(G=q2.call(this._weekdaysParse,o1))||-1!==(G=q2.call(this._shortWeekdaysParse,o1))||-1!==(G=q2.call(this._minWeekdaysParse,o1))?G:null:"ddd"===L?-1!==(G=q2.call(this._shortWeekdaysParse,o1))||-1!==(G=q2.call(this._weekdaysParse,o1))||-1!==(G=q2.call(this._minWeekdaysParse,o1))?G:null:-1!==(G=q2.call(this._minWeekdaysParse,o1))||-1!==(G=q2.call(this._weekdaysParse,o1))||-1!==(G=q2.call(this._shortWeekdaysParse,o1))?G:null}function j5(){function g(G4,a0){return a0.length-G4.length}var Q,o1,F1,c2,_2,L=[],T=[],A=[],G=[];for(Q=0;Q<7;Q++)o1=l2([2e3,1]).day(Q),F1=Z6(this.weekdaysMin(o1,"")),c2=Z6(this.weekdaysShort(o1,"")),_2=Z6(this.weekdays(o1,"")),L.push(F1),T.push(c2),A.push(_2),G.push(F1),G.push(c2),G.push(_2);L.sort(g),T.sort(g),A.sort(g),G.sort(g),this._weekdaysRegex=new RegExp("^("+G.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+A.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+T.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+L.join("|")+")","i")}function A8(){return this.hours()%12||12}function $5(g,L){I1(g,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),L)})}function Hf(g,L){return L._meridiemParse}I1("H",["HH",2],0,"hour"),I1("h",["hh",2],0,A8),I1("k",["kk",2],0,function vf(){return this.hours()||24}),I1("hmm",0,0,function(){return""+A8.apply(this)+n6(this.minutes(),2)}),I1("hmmss",0,0,function(){return""+A8.apply(this)+n6(this.minutes(),2)+n6(this.seconds(),2)}),I1("Hmm",0,0,function(){return""+this.hours()+n6(this.minutes(),2)}),I1("Hmmss",0,0,function(){return""+this.hours()+n6(this.minutes(),2)+n6(this.seconds(),2)}),$5("a",!0),$5("A",!1),k1("a",Hf),k1("A",Hf),k1("H",w2,s6),k1("h",w2,C0),k1("k",w2,C0),k1("HH",w2,w3),k1("hh",w2,w3),k1("kk",w2,w3),k1("hmm",T8),k1("hmmss",li),k1("Hmm",T8),k1("Hmmss",li),D2(["H","HH"],T4),D2(["k","kk"],function(g,L,T){var A=h2(g);L[T4]=24===A?0:A}),D2(["a","A"],function(g,L,T){T._isPm=T._locale.isPM(g),T._meridiem=g}),D2(["h","hh"],function(g,L,T){L[T4]=h2(g),y1(T).bigHour=!0}),D2("hmm",function(g,L,T){var A=g.length-2;L[T4]=h2(g.substr(0,A)),L[K3]=h2(g.substr(A)),y1(T).bigHour=!0}),D2("hmmss",function(g,L,T){var A=g.length-4,G=g.length-2;L[T4]=h2(g.substr(0,A)),L[K3]=h2(g.substr(A,2)),L[l1]=h2(g.substr(G)),y1(T).bigHour=!0}),D2("Hmm",function(g,L,T){var A=g.length-2;L[T4]=h2(g.substr(0,A)),L[K3]=h2(g.substr(A))}),D2("Hmmss",function(g,L,T){var A=g.length-4,G=g.length-2;L[T4]=h2(g.substr(0,A)),L[K3]=h2(g.substr(A,2)),L[l1]=h2(g.substr(G))});var Dz=h3("Hours",!0);var Ne,Se={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:F2,monthsShort:nf,week:{dow:0,doy:6},weekdays:Fz,weekdaysMin:g1,weekdaysShort:mf,meridiemParse:/[ap]\.?m?\.?/i},W2={},ae={};function Q6(g,L){var T,A=Math.min(g.length,L.length);for(T=0;T0;){if(G=g2(Q.slice(0,T).join("-")))return G;if(A&&A.length>=T&&Q6(Q,A)>=T-1)break;T--}L++}return Ne}(g)}function P8(g){var L,T=g._a;return T&&-2===y1(g).overflow&&(L=T[K6]<0||T[K6]>11?K6:T[X1]<1||T[X1]>_i(T[m2],T[K6])?X1:T[T4]<0||T[T4]>24||24===T[T4]&&(0!==T[K3]||0!==T[l1]||0!==T[Q3])?T4:T[K3]<0||T[K3]>59?K3:T[l1]<0||T[l1]>59?l1:T[Q3]<0||T[Q3]>999?Q3:-1,y1(g)._overflowDayOfYear&&(LX1)&&(L=X1),y1(g)._overflowWeeks&&-1===L&&(L=A5),y1(g)._overflowWeekday&&-1===L&&(L=ui),y1(g).overflow=L),g}var u2=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,n7=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,zi=/Z|[+-]\d\d(?::?\d\d)?/,j4=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Y5=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Tz=/^\/?Date\((-?\d+)/i,Ez=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,R8={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function G5(g){var L,T,Q,o1,F1,c2,A=g._i,G=u2.exec(A)||n7.exec(A),_2=j4.length,G4=Y5.length;if(G){for(y1(g).iso=!0,L=0,T=_2;L7)&&(c2=!0)):(Q=g._locale._week.dow,o1=g._locale._week.doy,_2=B5(B2(),Q,o1),T=S3(L.gg,g._a[m2],_2.year),A=S3(L.w,_2.week),null!=L.d?((G=L.d)<0||G>6)&&(c2=!0):null!=L.e?(G=L.e+Q,(L.e<0||L.e>6)&&(c2=!0)):G=Q),A<1||A>z0(T,Q,o1)?y1(g)._overflowWeeks=!0:null!=c2?y1(g)._overflowWeekday=!0:(F1=df(T,A,G,Q,o1),g._a[m2]=F1.year,g._dayOfYear=F1.dayOfYear)}(g),null!=g._dayOfYear&&(o1=S3(g._a[m2],G[m2]),(g._dayOfYear>P5(o1)||0===g._dayOfYear)&&(y1(g)._overflowDayOfYear=!0),T=J3(o1,0,g._dayOfYear),g._a[K6]=T.getUTCMonth(),g._a[X1]=T.getUTCDate()),L=0;L<3&&null==g._a[L];++L)g._a[L]=A[L]=G[L];for(;L<7;L++)g._a[L]=A[L]=null==g._a[L]?2===L?1:0:g._a[L];24===g._a[T4]&&0===g._a[K3]&&0===g._a[l1]&&0===g._a[Q3]&&(g._nextDay=!0,g._a[T4]=0),g._d=(g._useUTC?J3:Lz).apply(null,A),Q=g._useUTC?g._d.getUTCDay():g._d.getDay(),null!=g._tzm&&g._d.setUTCMinutes(g._d.getUTCMinutes()-g._tzm),g._nextDay&&(g._a[T4]=24),g._w&&typeof g._w.d<"u"&&g._w.d!==Q&&(y1(g).weekdayMismatch=!0)}}function i1(g){if(g._f!==M.ISO_8601)if(g._f!==M.RFC_2822){g._a=[],y1(g).empty=!0;var T,A,G,Q,o1,_2,G4,L=""+g._i,F1=L.length,c2=0;for(G4=(G=ti(g._f,g._locale).match(Ga)||[]).length,T=0;T0&&y1(g).unusedInput.push(o1),L=L.slice(L.indexOf(A)+A.length),c2+=A.length),N8[Q]?(A?y1(g).empty=!1:y1(g).unusedTokens.push(Q),di(Q,A,g)):g._strict&&!A&&y1(g).unusedTokens.push(Q);y1(g).charsLeftOver=F1-c2,L.length>0&&y1(g).unusedInput.push(L),g._a[T4]<=12&&!0===y1(g).bigHour&&g._a[T4]>0&&(y1(g).bigHour=void 0),y1(g).parsedDateParts=g._a.slice(0),y1(g).meridiem=g._meridiem,g._a[T4]=function W5(g,L,T){var A;return null==T?L:null!=g.meridiemHour?g.meridiemHour(L,T):(null!=g.isPM&&((A=g.isPM(T))&&L<12&&(L+=12),!A&&12===L&&(L=0)),L)}(g._locale,g._a[T4],g._meridiem),null!==(_2=y1(g).era)&&(g._a[m2]=g._locale.erasConvertYear(_2,g._a[m2])),d1(g),P8(g)}else te(g);else G5(g)}function Li(g){var L=g._i,T=g._f;return g._locale=g._locale||V0(g._l),null===L||void 0===T&&""===L?X0({nullInput:!0}):("string"==typeof L&&(g._i=L=g._locale.preparse(L)),W3(L)?new Le(P8(L)):(f1(L)?g._d=L:F(T)?function s7(g){var L,T,A,G,Q,o1,F1=!1,c2=g._f.length;if(0===c2)return y1(g).invalidFormat=!0,void(g._d=new Date(NaN));for(G=0;Gthis?this:g:X0()});function bi(g,L){var T,A;if(1===L.length&&F(L[0])&&(L=L[0]),!L.length)return B2();for(T=L[0],A=1;A=0?new Date(g+400,L,T)-m7:new Date(g,L,T).valueOf()}function tc(g,L,T){return g<100&&g>=0?Date.UTC(g+400,L,T)-m7:Date.UTC(g,L,T)}function N3(g,L){return L.erasAbbrRegex(g)}function C7(){var G,Q,o1,F1,c2,g=[],L=[],T=[],A=[],_2=this.eras();for(G=0,Q=_2.length;G(Q=z0(g,A,G))&&(L=Q),cd.call(this,g,L,T,A,G))}function cd(g,L,T,A,G){var Q=df(g,L,T,A,G),o1=J3(Q.year,0,Q.dayOfYear);return this.year(o1.getUTCFullYear()),this.month(o1.getUTCMonth()),this.date(o1.getUTCDate()),this}I1("N",0,0,"eraAbbr"),I1("NN",0,0,"eraAbbr"),I1("NNN",0,0,"eraAbbr"),I1("NNNN",0,0,"eraName"),I1("NNNNN",0,0,"eraNarrow"),I1("y",["y",1],"yo","eraYear"),I1("y",["yy",2],0,"eraYear"),I1("y",["yyy",3],0,"eraYear"),I1("y",["yyyy",4],0,"eraYear"),k1("N",N3),k1("NN",N3),k1("NNN",N3),k1("NNNN",function ji(g,L){return L.erasNameRegex(g)}),k1("NNNNN",function nc(g,L){return L.erasNarrowRegex(g)}),D2(["N","NN","NNN","NNNN","NNNNN"],function(g,L,T,A){var G=T._locale.erasParse(g,A,T._strict);G?y1(T).era=G:y1(T).invalidEra=g}),k1("y",Fe),k1("yy",Fe),k1("yyy",Fe),k1("yyyy",Fe),k1("yo",function Be(g,L){return L._eraYearOrdinalRegex||Fe}),D2(["y","yy","yyy","yyyy"],m2),D2(["yo"],function(g,L,T,A){var G;T._locale._eraYearOrdinalRegex&&(G=g.match(T._locale._eraYearOrdinalRegex)),L[m2]=T._locale.eraYearOrdinalParse?T._locale.eraYearOrdinalParse(g,G):parseInt(g,10)}),I1(0,["gg",2],0,function(){return this.weekYear()%100}),I1(0,["GG",2],0,function(){return this.isoWeekYear()%100}),sc("gggg","weekYear"),sc("ggggg","weekYear"),sc("GGGG","isoWeekYear"),sc("GGGGG","isoWeekYear"),k1("G",H0),k1("g",H0),k1("GG",w2,w3),k1("gg",w2,w3),k1("GGGG",Qa,Ka),k1("gggg",Qa,Ka),k1("GGGGG",we,be),k1("ggggg",we,be),a3(["gggg","ggggg","GGGG","GGGGG"],function(g,L,T,A){L[A.substr(0,2)]=h2(g)}),a3(["gg","GG"],function(g,L,T,A){L[A]=M.parseTwoDigitYear(g)}),I1("Q",0,"Qo","quarter"),k1("Q",D8),D2("Q",function(g,L){L[K6]=3*(h2(g)-1)}),I1("D",["DD",2],"Do","date"),k1("D",w2,C0),k1("DD",w2,w3),k1("Do",function(g,L){return g?L._dayOfMonthOrdinalParse||L._ordinalParse:L._dayOfMonthOrdinalParseLenient}),D2(["D","DD"],X1),D2("Do",function(g,L){L[X1]=h2(g.match(w2)[0])});var Gi=h3("Date",!0);I1("DDD",["DDDD",3],"DDDo","dayOfYear"),k1("DDD",xe),k1("DDDD",si),D2(["DDD","DDDD"],function(g,L,T){T._dayOfYear=h2(g)}),I1("m",["mm",2],0,"minute"),k1("m",w2,s6),k1("mm",w2,w3),D2(["m","mm"],K3);var lc=h3("Minutes",!1);I1("s",["ss",2],0,"second"),k1("s",w2,s6),k1("ss",w2,w3),D2(["s","ss"],l1);var v1,P1,e4=h3("Seconds",!1);for(I1("S",0,0,function(){return~~(this.millisecond()/100)}),I1(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),I1(0,["SSS",3],0,"millisecond"),I1(0,["SSSS",4],0,function(){return 10*this.millisecond()}),I1(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),I1(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),I1(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),I1(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),I1(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),k1("S",xe,D8),k1("SS",xe,w3),k1("SSS",xe,si),v1="SSSS";v1.length<=9;v1+="S")k1(v1,Fe);function m4(g,L){L[Q3]=h2(1e3*("0."+g))}for(v1="S";v1.length<=9;v1+="S")D2(v1,m4);P1=h3("Milliseconds",!1),I1("z",0,0,"zoneAbbr"),I1("zz",0,0,"zoneName");var m1=Le.prototype;function E4(g){return g}m1.add=Df,m1.calendar=function Ti(g,L){1===arguments.length&&(arguments[0]?Di(arguments[0])?(g=arguments[0],L=void 0):function Af(g){var G,L=N(g)&&!$(g),T=!1,A=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(G=0;GT.valueOf():T.valueOf()9999?k5(T,L?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):q6(Date.prototype.toISOString)?L?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",k5(T,"Z")):k5(T,L?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},m1.inspect=function L4(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var T,A,g="moment",L="";return this.isLocal()||(g=0===this.utcOffset()?"moment.utc":"moment.parseZone",L="Z"),T="["+g+'("]',A=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(T+A+"-MM-DD[T]HH:mm:ss.SSS"+L+'[")]')},typeof Symbol<"u"&&null!=Symbol.for&&(m1[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),m1.toJSON=function ic(){return this.isValid()?this.toISOString():null},m1.toString=function $4(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},m1.unix=function Ii(){return Math.floor(this.valueOf()/1e3)},m1.valueOf=function Oi(){return this._d.valueOf()-6e4*(this._offset||0)},m1.creationData=function p3(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},m1.eraName=function Wf(){var g,L,T,A=this.localeData().eras();for(g=0,L=A.length;gthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},m1.isLocal=function J2(){return!!this.isValid()&&!this._isUTC},m1.isUtcOffset=function Sf(){return!!this.isValid()&&this._isUTC},m1.isUtc=ac,m1.isUTC=ac,m1.zoneAbbr=function d6(){return this._isUTC?"UTC":""},m1.zoneName=function t3(){return this._isUTC?"Coordinated Universal Time":""},m1.dates=e3("dates accessor is deprecated. Use date instead.",Gi),m1.months=e3("months accessor is deprecated. Use month instead",q1),m1.years=e3("years accessor is deprecated. Use year instead",tf),m1.zone=e3("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function V2(g,L){return null!=g?("string"!=typeof g&&(g=-g),this.utcOffset(g,L),this):-this.utcOffset()}),m1.isDSTShifted=e3("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function l6(){if(!q(this._isDSTShifted))return this._isDSTShifted;var L,g={};return k8(g,this),(g=Li(g))._a?(L=g._isUTC?l2(g._a):B2(g._a),this._isDSTShifted=this.isValid()&&function Az(g,L,T){var o1,A=Math.min(g.length,L.length),G=Math.abs(g.length-L.length),Q=0;for(o1=0;o10):this._isDSTShifted=!1,this._isDSTShifted});var o2=$a.prototype;function G1(g,L,T,A){var G=V0(),Q=l2().set(A,L);return G[T](Q,g)}function Ie(g,L,T){if(e1(g)&&(L=g,g=void 0),g=g||"",null!=L)return G1(g,L,T,"month");var A,G=[];for(A=0;A<12;A++)G[A]=G1(g,A,T,"month");return G}function fc(g,L,T,A){"boolean"==typeof g?(e1(L)&&(T=L,L=void 0),L=L||""):(T=L=g,g=!1,e1(L)&&(T=L,L=void 0),L=L||"");var o1,G=V0(),Q=g?G._week.dow:0,F1=[];if(null!=T)return G1(L,(T+Q)%7,A,"day");for(o1=0;o1<7;o1++)F1[o1]=G1(L,(o1+Q)%7,A,"day");return F1}o2.calendar=function ai(g,L,T){var A=this._calendar[g]||this._calendar.sameElse;return q6(A)?A.call(L,T):A},o2.longDateFormat=function ii(g){var L=this._longDateFormat[g],T=this._longDateFormat[g.toUpperCase()];return L||!T?L:(this._longDateFormat[g]=T.match(Ga).map(function(A){return"MMMM"===A||"MM"===A||"DD"===A||"dddd"===A?A.slice(1):A}).join(""),this._longDateFormat[g])},o2.invalidDate=function zz(){return this._invalidDate},o2.ordinal=function Wa(g){return this._ordinal.replace("%d",g)},o2.preparse=E4,o2.postformat=E4,o2.relativeTime=function c3(g,L,T,A){var G=this._relativeTime[T];return q6(G)?G(g,L,T,A):G.replace(/%d/i,g)},o2.pastFuture=function oi(g,L){var T=this._relativeTime[g>0?"future":"past"];return q6(T)?T(L):T.replace(/%s/i,L)},o2.set=function gz(g){var L,T;for(T in g)I(g,T)&&(q6(L=g[T])?this[T]=L:this["_"+T]=L);this._config=g,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},o2.eras=function Pe(g,L){var T,A,G,Q=this._eras||V0("en")._eras;for(T=0,A=Q.length;T=0)return Q[A]},o2.erasConvertYear=function qf(g,L){var T=g.since<=g.until?1:-1;return void 0===L?M(g.since).year():M(g.since).year()+(L-g.offset)*T},o2.erasAbbrRegex=function Qf(g){return I(this,"_erasAbbrRegex")||C7.call(this),g?this._erasAbbrRegex:this._erasRegex},o2.erasNameRegex=function Kf(g){return I(this,"_erasNameRegex")||C7.call(this),g?this._erasNameRegex:this._erasRegex},o2.erasNarrowRegex=function H7(g){return I(this,"_erasNarrowRegex")||C7.call(this),g?this._erasNarrowRegex:this._erasRegex},o2.months=function V4(g,L){return g?F(this._months)?this._months[g.month()]:this._months[(this._months.isFormat||sf).test(L)?"format":"standalone"][g.month()]:F(this._months)?this._months:this._months.standalone},o2.monthsShort=function e7(g,L){return g?F(this._monthsShort)?this._monthsShort[g.month()]:this._monthsShort[sf.test(L)?"format":"standalone"][g.month()]:F(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},o2.monthsParse=function ff(g,L,T){var A,G,Q;if(this._monthsParseExact)return Vz.call(this,g,L,T);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),A=0;A<12;A++){if(G=l2([2e3,A]),T&&!this._longMonthsParse[A]&&(this._longMonthsParse[A]=new RegExp("^"+this.months(G,"").replace(".","")+"$","i"),this._shortMonthsParse[A]=new RegExp("^"+this.monthsShort(G,"").replace(".","")+"$","i")),!T&&!this._monthsParse[A]&&(Q="^"+this.months(G,"")+"|^"+this.monthsShort(G,""),this._monthsParse[A]=new RegExp(Q.replace(".",""),"i")),T&&"MMMM"===L&&this._longMonthsParse[A].test(g))return A;if(T&&"MMM"===L&&this._shortMonthsParse[A].test(g))return A;if(!T&&this._monthsParse[A].test(g))return A}},o2.monthsRegex=function Mz(g){return this._monthsParseExact?(I(this,"_monthsRegex")||pi.call(this),g?this._monthsStrictRegex:this._monthsRegex):(I(this,"_monthsRegex")||(this._monthsRegex=lf),this._monthsStrictRegex&&g?this._monthsStrictRegex:this._monthsRegex)},o2.monthsShortRegex=function F3(g){return this._monthsParseExact?(I(this,"_monthsRegex")||pi.call(this),g?this._monthsShortStrictRegex:this._monthsShortRegex):(I(this,"_monthsShortRegex")||(this._monthsShortRegex=T2),this._monthsShortStrictRegex&&g?this._monthsShortStrictRegex:this._monthsShortRegex)},o2.week=function uf(g){return B5(g,this._week.dow,this._week.doy).week},o2.firstDayOfYear=function bz(){return this._week.doy},o2.firstDayOfWeek=function hf(){return this._week.dow},o2.weekdays=function _f(g,L){var T=F(this._weekdays)?this._weekdays:this._weekdays[g&&!0!==g&&this._weekdays.isFormat.test(L)?"format":"standalone"];return!0===g?gi(T,this._week.dow):g?T[g.day()]:T},o2.weekdaysMin=function pf(g){return!0===g?gi(this._weekdaysMin,this._week.dow):g?this._weekdaysMin[g.day()]:this._weekdaysMin},o2.weekdaysShort=function vi(g){return!0===g?gi(this._weekdaysShort,this._week.dow):g?this._weekdaysShort[g.day()]:this._weekdaysShort},o2.weekdaysParse=function U5(g,L,T){var A,G,Q;if(this._weekdaysParseExact)return I5.call(this,g,L,T);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),A=0;A<7;A++){if(G=l2([2e3,1]).day(A),T&&!this._fullWeekdaysParse[A]&&(this._fullWeekdaysParse[A]=new RegExp("^"+this.weekdays(G,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[A]=new RegExp("^"+this.weekdaysShort(G,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[A]=new RegExp("^"+this.weekdaysMin(G,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[A]||(Q="^"+this.weekdays(G,"")+"|^"+this.weekdaysShort(G,"")+"|^"+this.weekdaysMin(G,""),this._weekdaysParse[A]=new RegExp(Q.replace(".",""),"i")),T&&"dddd"===L&&this._fullWeekdaysParse[A].test(g))return A;if(T&&"ddd"===L&&this._shortWeekdaysParse[A].test(g))return A;if(T&&"dd"===L&&this._minWeekdaysParse[A].test(g))return A;if(!T&&this._weekdaysParse[A].test(g))return A}},o2.weekdaysRegex=function H1(g){return this._weekdaysParseExact?(I(this,"_weekdaysRegex")||j5.call(this),g?this._weekdaysStrictRegex:this._weekdaysRegex):(I(this,"_weekdaysRegex")||(this._weekdaysRegex=kz),this._weekdaysStrictRegex&&g?this._weekdaysStrictRegex:this._weekdaysRegex)},o2.weekdaysShortRegex=function r7(g){return this._weekdaysParseExact?(I(this,"_weekdaysRegex")||j5.call(this),g?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(I(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=g4),this._weekdaysShortStrictRegex&&g?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},o2.weekdaysMinRegex=function t7(g){return this._weekdaysParseExact?(I(this,"_weekdaysRegex")||j5.call(this),g?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(I(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=O5),this._weekdaysMinStrictRegex&&g?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},o2.isPM=function Sz(g){return"p"===(g+"").toLowerCase().charAt(0)},o2.meridiem=function i7(g,L,T){return g>11?T?"pm":"PM":T?"am":"AM"},re("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(g){var L=g%10;return g+(1===h2(g%100/10)?"th":1===L?"st":2===L?"nd":3===L?"rd":"th")}}),M.lang=e3("moment.lang is deprecated. Use moment.locale instead.",re),M.langData=e3("moment.langData is deprecated. Use moment.localeData instead.",V0);var D3=Math.abs;function c0(g,L,T,A){var G=d3(L,T);return g._milliseconds+=A*G._milliseconds,g._days+=A*G._days,g._months+=A*G._months,g._bubble()}function a2(g){return g<0?Math.floor(g):Math.ceil(g)}function $e(g){return 4800*g/146097}function X3(g){return 146097*g/4800}function g3(g){return function(){return this.as(g)}}var f4=g3("ms"),M7=g3("s"),i3=g3("m"),o3=g3("h"),L7=g3("d"),se=g3("w"),hc=g3("M"),u6=g3("Q"),y7=g3("y"),rd=f4;function x0(g){return function(){return this.isValid()?this._data[g]:NaN}}var id=x0("milliseconds"),x7=x0("seconds"),Pz=x0("minutes"),Rz=x0("hours"),Bz=x0("days"),Oz=x0("months"),Iz=x0("years");var w0=Math.round,j8={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function jz(g,L,T,A,G){return G.relativeTime(L||1,!!T,g,A)}var mc=Math.abs;function $8(g){return(g>0)-(g<0)||+g}function w7(){if(!this.isValid())return this.localeData().invalidDate();var A,G,Q,o1,c2,_2,G4,a0,g=mc(this._milliseconds)/1e3,L=mc(this._days),T=mc(this._months),F1=this.asSeconds();return F1?(A=Z3(g/60),G=Z3(A/60),g%=60,A%=60,Q=Z3(T/12),T%=12,o1=g?g.toFixed(3).replace(/\.?0+$/,""):"",c2=F1<0?"-":"",_2=$8(this._months)!==$8(F1)?"-":"",G4=$8(this._days)!==$8(F1)?"-":"",a0=$8(this._milliseconds)!==$8(F1)?"-":"",c2+"P"+(Q?_2+Q+"Y":"")+(T?_2+T+"M":"")+(L?G4+L+"D":"")+(G||A||g?"T":"")+(G?a0+G+"H":"")+(A?a0+A+"M":"")+(g?a0+o1+"S":"")):"P0D"}var M2=Te.prototype;return M2.isValid=function K5(){return this._isValid},M2.abs=function qi(){var g=this._data;return this._milliseconds=D3(this._milliseconds),this._days=D3(this._days),this._months=D3(this._months),g.milliseconds=D3(g.milliseconds),g.seconds=D3(g.seconds),g.minutes=D3(g.minutes),g.hours=D3(g.hours),g.months=D3(g.months),g.years=D3(g.years),this},M2.add=function dc(g,L){return c0(this,g,L,1)},M2.subtract=function ne(g,L){return c0(this,g,L,-1)},M2.as=function uc(g){if(!this.isValid())return NaN;var L,T,A=this._milliseconds;if("month"===(g=x3(g))||"quarter"===g||"year"===g)switch(L=this._days+A/864e5,T=this._months+$e(L),g){case"month":return T;case"quarter":return T/3;case"year":return T/12}else switch(L=this._days+Math.round(X3(this._months)),g){case"week":return L/7+A/6048e5;case"day":return L+A/864e5;case"hour":return 24*L+A/36e5;case"minute":return 1440*L+A/6e4;case"second":return 86400*L+A/1e3;case"millisecond":return Math.floor(864e5*L)+A;default:throw new Error("Unknown unit "+g)}},M2.asMilliseconds=f4,M2.asSeconds=M7,M2.asMinutes=i3,M2.asHours=o3,M2.asDays=L7,M2.asWeeks=se,M2.asMonths=hc,M2.asQuarters=u6,M2.asYears=y7,M2.valueOf=rd,M2._bubble=function V7(){var G,Q,o1,F1,c2,g=this._milliseconds,L=this._days,T=this._months,A=this._data;return g>=0&&L>=0&&T>=0||g<=0&&L<=0&&T<=0||(g+=864e5*a2(X3(T)+L),L=0,T=0),A.milliseconds=g%1e3,G=Z3(g/1e3),A.seconds=G%60,Q=Z3(G/60),A.minutes=Q%60,o1=Z3(Q/60),A.hours=o1%24,L+=Z3(o1/24),T+=c2=Z3($e(L)),L-=a2(X3(c2)),F1=Z3(T/12),T%=12,A.days=L,A.months=T,A.years=F1,this},M2.clone=function td(){return d3(this)},M2.get=function b7(g){return g=x3(g),this.isValid()?this[g+"s"]():NaN},M2.milliseconds=id,M2.seconds=x7,M2.minutes=Pz,M2.hours=Rz,M2.days=Bz,M2.weeks=function Uz(){return Z3(this.days()/7)},M2.months=Oz,M2.years=Iz,M2.humanize=function Wi(g,L){if(!this.isValid())return this.localeData().invalidDate();var G,Q,T=!1,A=j8;return"object"==typeof g&&(L=g,g=!1),"boolean"==typeof g&&(T=g),"object"==typeof L&&(A=Object.assign({},j8,L),null!=L.s&&null==L.ss&&(A.ss=L.s-1)),Q=function $z(g,L,T,A){var G=d3(g).abs(),Q=w0(G.as("s")),o1=w0(G.as("m")),F1=w0(G.as("h")),c2=w0(G.as("d")),_2=w0(G.as("M")),G4=w0(G.as("w")),a0=w0(G.as("y")),q4=Q<=T.ss&&["s",Q]||Q0,q4[4]=A,jz.apply(null,q4)}(this,!T,A,G=this.localeData()),T&&(Q=G.pastFuture(+this,Q)),G.postformat(Q)},M2.toISOString=w7,M2.toString=w7,M2.toJSON=w7,M2.locale=O8,M2.localeData=Bi,M2.toIsoString=e3("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",w7),M2.lang=Ri,I1("X",0,0,"unix"),I1("x",0,0,"valueOf"),k1("x",H0),k1("X",/[+-]?\d+(\.\d{1,3})?/),D2("X",function(g,L,T){T._d=new Date(1e3*parseFloat(g))}),D2("x",function(g,L,T){T._d=new Date(h2(g))}),M.version="2.30.1",function D(g){U=g}(B2),M.fn=m1,M.min=function ie(){return bi("isBefore",[].slice.call(arguments,0))},M.max=function kf(){return bi("isAfter",[].slice.call(arguments,0))},M.now=function(){return Date.now?Date.now():+new Date},M.utc=l2,M.unix=function Oe(g){return B2(1e3*g)},M.months=function Ue(g,L){return Ie(g,L,"months")},M.isDate=f1,M.locale=re,M.invalid=X0,M.duration=d3,M.isMoment=W3,M.weekdays=function U8(g,L,T){return fc(g,L,T,"weekdays")},M.parseZone=function Z2(){return B2.apply(null,arguments).parseZone()},M.localeData=V0,M.isDuration=l7,M.monthsShort=function o4(g,L){return Ie(g,L,"monthsShort")},M.weekdaysMin=function e0(g,L,T){return fc(g,L,T,"weekdaysMin")},M.defineLocale=o7,M.updateLocale=function Cf(g,L){if(null!=L){var T,A,G=Se;null!=W2[g]&&null!=W2[g].parentLocale?W2[g].set(ci(W2[g]._config,L)):(null!=(A=g2(g))&&(G=A._config),L=ci(G,L),null==A&&(L.abbr=g),(T=new $a(L)).parentLocale=W2[g],W2[g]=T),re(g)}else null!=W2[g]&&(null!=W2[g].parentLocale?(W2[g]=W2[g].parentLocale,g===re()&&re(g)):null!=W2[g]&&delete W2[g]);return W2[g]},M.locales=function zf(){return Ya(W2)},M.weekdaysShort=function je(g,L,T){return fc(g,L,T,"weekdaysShort")},M.normalizeUnits=x3,M.relativeTimeRounding=function Yz(g){return void 0===g?w0:"function"==typeof g&&(w0=g,!0)},M.relativeTimeThreshold=function Gz(g,L){return void 0!==j8[g]&&(void 0===L?j8[g]:(j8[g]=L,"s"===g&&(j8.ss=L-1),!0))},M.calendarFormat=function Pf(g,L){var T=g.diff(L,"days",!0);return T<-6?"sameElse":T<-1?"lastWeek":T<0?"lastDay":T<1?"sameDay":T<2?"nextDay":T<7?"nextWeek":"sameElse"},M.prototype=m1,M.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},M}()},5358:(r1,t1,W)=>{var U={"./af":1544,"./af.js":1544,"./ar":3108,"./ar-dz":2155,"./ar-dz.js":2155,"./ar-kw":3583,"./ar-kw.js":3583,"./ar-ly":1638,"./ar-ly.js":1638,"./ar-ma":7823,"./ar-ma.js":7823,"./ar-ps":7712,"./ar-ps.js":7712,"./ar-sa":8261,"./ar-sa.js":8261,"./ar-tn":6703,"./ar-tn.js":6703,"./ar.js":3108,"./az":6508,"./az.js":6508,"./be":6766,"./be.js":6766,"./bg":8564,"./bg.js":8564,"./bm":7462,"./bm.js":7462,"./bn":7107,"./bn-bd":3438,"./bn-bd.js":3438,"./bn.js":7107,"./bo":9004,"./bo.js":9004,"./br":927,"./br.js":927,"./bs":7768,"./bs.js":7768,"./ca":6291,"./ca.js":6291,"./cs":5301,"./cs.js":5301,"./cv":6666,"./cv.js":6666,"./cy":5163,"./cy.js":5163,"./da":7360,"./da.js":7360,"./de":5932,"./de-at":3248,"./de-at.js":3248,"./de-ch":3222,"./de-ch.js":3222,"./de.js":5932,"./dv":6405,"./dv.js":6405,"./el":718,"./el.js":718,"./en-au":6319,"./en-au.js":6319,"./en-ca":597,"./en-ca.js":597,"./en-gb":1800,"./en-gb.js":1800,"./en-ie":807,"./en-ie.js":807,"./en-il":5960,"./en-il.js":5960,"./en-in":4418,"./en-in.js":4418,"./en-nz":6865,"./en-nz.js":6865,"./en-sg":2647,"./en-sg.js":2647,"./eo":1931,"./eo.js":1931,"./es":6679,"./es-do":1805,"./es-do.js":1805,"./es-mx":3445,"./es-mx.js":3445,"./es-us":1516,"./es-us.js":1516,"./es.js":6679,"./et":8150,"./et.js":8150,"./eu":757,"./eu.js":757,"./fa":5742,"./fa.js":5742,"./fi":3958,"./fi.js":3958,"./fil":6720,"./fil.js":6720,"./fo":8352,"./fo.js":8352,"./fr":4059,"./fr-ca":2096,"./fr-ca.js":2096,"./fr-ch":5759,"./fr-ch.js":5759,"./fr.js":4059,"./fy":5958,"./fy.js":5958,"./ga":4143,"./ga.js":4143,"./gd":7028,"./gd.js":7028,"./gl":428,"./gl.js":428,"./gom-deva":6861,"./gom-deva.js":6861,"./gom-latn":7718,"./gom-latn.js":7718,"./gu":6827,"./gu.js":6827,"./he":1936,"./he.js":1936,"./hi":1332,"./hi.js":1332,"./hr":1957,"./hr.js":1957,"./hu":8928,"./hu.js":8928,"./hy-am":6215,"./hy-am.js":6215,"./id":586,"./id.js":586,"./is":211,"./is.js":211,"./it":170,"./it-ch":2340,"./it-ch.js":2340,"./it.js":170,"./ja":9770,"./ja.js":9770,"./jv":3875,"./jv.js":3875,"./ka":9499,"./ka.js":9499,"./kk":3573,"./kk.js":3573,"./km":8807,"./km.js":8807,"./kn":5082,"./kn.js":5082,"./ko":137,"./ko.js":137,"./ku":111,"./ku-kmr":3744,"./ku-kmr.js":3744,"./ku.js":111,"./ky":9187,"./ky.js":9187,"./lb":5969,"./lb.js":5969,"./lo":3526,"./lo.js":3526,"./lt":411,"./lt.js":411,"./lv":2621,"./lv.js":2621,"./me":5869,"./me.js":5869,"./mi":5881,"./mi.js":5881,"./mk":2391,"./mk.js":2391,"./ml":1126,"./ml.js":1126,"./mn":4892,"./mn.js":4892,"./mr":9080,"./mr.js":9080,"./ms":399,"./ms-my":5950,"./ms-my.js":5950,"./ms.js":399,"./mt":9902,"./mt.js":9902,"./my":2985,"./my.js":2985,"./nb":7859,"./nb.js":7859,"./ne":3642,"./ne.js":3642,"./nl":5441,"./nl-be":9875,"./nl-be.js":9875,"./nl.js":5441,"./nn":1311,"./nn.js":1311,"./oc-lnc":2567,"./oc-lnc.js":2567,"./pa-in":6962,"./pa-in.js":6962,"./pl":1063,"./pl.js":1063,"./pt":8719,"./pt-br":7476,"./pt-br.js":7476,"./pt.js":8719,"./ro":1004,"./ro.js":1004,"./ru":1326,"./ru.js":1326,"./sd":2608,"./sd.js":2608,"./se":3911,"./se.js":3911,"./si":5147,"./si.js":5147,"./sk":3741,"./sk.js":3741,"./sl":3e3,"./sl.js":3e3,"./sq":451,"./sq.js":451,"./sr":5046,"./sr-cyrl":905,"./sr-cyrl.js":905,"./sr.js":5046,"./ss":5765,"./ss.js":5765,"./sv":9290,"./sv.js":9290,"./sw":3449,"./sw.js":3449,"./ta":2688,"./ta.js":2688,"./te":2060,"./te.js":2060,"./tet":3290,"./tet.js":3290,"./tg":8294,"./tg.js":8294,"./th":1231,"./th.js":1231,"./tk":3746,"./tk.js":3746,"./tl-ph":9040,"./tl-ph.js":9040,"./tlh":7187,"./tlh.js":7187,"./tr":153,"./tr.js":153,"./tzl":8521,"./tzl.js":8521,"./tzm":8010,"./tzm-latn":2234,"./tzm-latn.js":2234,"./tzm.js":8010,"./ug-cn":3349,"./ug-cn.js":3349,"./uk":8479,"./uk.js":8479,"./ur":3024,"./ur.js":3024,"./uz":9800,"./uz-latn":2376,"./uz-latn.js":2376,"./uz.js":9800,"./vi":9366,"./vi.js":9366,"./x-pseudo":9702,"./x-pseudo.js":9702,"./yo":2655,"./yo.js":2655,"./zh-cn":575,"./zh-cn.js":575,"./zh-hk":8351,"./zh-hk.js":8351,"./zh-mo":1626,"./zh-mo.js":1626,"./zh-tw":8887,"./zh-tw.js":8887};function M(F){var N=D(F);return W(N)}function D(F){if(!W.o(U,F)){var N=new Error("Cannot find module '"+F+"'");throw N.code="MODULE_NOT_FOUND",N}return U[F]}M.keys=function(){return Object.keys(U)},M.resolve=D,r1.exports=M,M.id=5358},8184:r1=>{"use strict";r1.exports=JSON.parse('[{"name":"US Dollar","symbol":"$","symbolNative":"$","decimalDigits":2,"rounding":0,"code":"USD","namePlural":"US dollars"},{"name":"Canadian Dollar","symbol":"CA$","symbolNative":"$","decimalDigits":2,"rounding":0,"code":"CAD","namePlural":"Canadian dollars"},{"name":"Euro","symbol":"\u20ac","symbolNative":"\u20ac","decimalDigits":2,"rounding":0,"code":"EUR","namePlural":"euros"},{"name":"United Arab Emirates Dirham","symbol":"AED","symbolNative":"\u062f.\u0625.\u200f","decimalDigits":2,"rounding":0,"code":"AED","namePlural":"UAE dirhams"},{"name":"Afghan Afghani","symbol":"Af","symbolNative":"\u060b","decimalDigits":0,"rounding":0,"code":"AFN","namePlural":"Afghan Afghanis"},{"name":"Albanian Lek","symbol":"ALL","symbolNative":"Lek","decimalDigits":0,"rounding":0,"code":"ALL","namePlural":"Albanian lek\xeb"},{"name":"Armenian Dram","symbol":"AMD","symbolNative":"\u0564\u0580.","decimalDigits":0,"rounding":0,"code":"AMD","namePlural":"Armenian drams"},{"name":"Argentine Peso","symbol":"AR$","symbolNative":"$","decimalDigits":2,"rounding":0,"code":"ARS","namePlural":"Argentine pesos"},{"name":"Australian Dollar","symbol":"AU$","symbolNative":"$","decimalDigits":2,"rounding":0,"code":"AUD","namePlural":"Australian dollars"},{"name":"Azerbaijani Manat","symbol":"man.","symbolNative":"\u043c\u0430\u043d.","decimalDigits":2,"rounding":0,"code":"AZN","namePlural":"Azerbaijani manats"},{"name":"Bosnia-Herzegovina Convertible Mark","symbol":"KM","symbolNative":"KM","decimalDigits":2,"rounding":0,"code":"BAM","namePlural":"Bosnia-Herzegovina convertible marks"},{"name":"Bangladeshi Taka","symbol":"Tk","symbolNative":"\u09f3","decimalDigits":2,"rounding":0,"code":"BDT","namePlural":"Bangladeshi takas"},{"name":"Bulgarian Lev","symbol":"BGN","symbolNative":"\u043b\u0432.","decimalDigits":2,"rounding":0,"code":"BGN","namePlural":"Bulgarian leva"},{"name":"Bahraini Dinar","symbol":"BD","symbolNative":"\u062f.\u0628.\u200f","decimalDigits":3,"rounding":0,"code":"BHD","namePlural":"Bahraini dinars"},{"name":"Burundian Franc","symbol":"FBu","symbolNative":"FBu","decimalDigits":0,"rounding":0,"code":"BIF","namePlural":"Burundian francs"},{"name":"Brunei Dollar","symbol":"BN$","symbolNative":"$","decimalDigits":2,"rounding":0,"code":"BND","namePlural":"Brunei dollars"},{"name":"Bolivian Boliviano","symbol":"Bs","symbolNative":"Bs","decimalDigits":2,"rounding":0,"code":"BOB","namePlural":"Bolivian bolivianos"},{"name":"Brazilian Real","symbol":"R$","symbolNative":"R$","decimalDigits":2,"rounding":0,"code":"BRL","namePlural":"Brazilian reals"},{"name":"Botswanan Pula","symbol":"BWP","symbolNative":"P","decimalDigits":2,"rounding":0,"code":"BWP","namePlural":"Botswanan pulas"},{"name":"Belarusian Ruble","symbol":"Br","symbolNative":"\u0440\u0443\u0431.","decimalDigits":2,"rounding":0,"code":"BYN","namePlural":"Belarusian rubles"},{"name":"Belize Dollar","symbol":"BZ$","symbolNative":"$","decimalDigits":2,"rounding":0,"code":"BZD","namePlural":"Belize dollars"},{"name":"Congolese Franc","symbol":"CDF","symbolNative":"FrCD","decimalDigits":2,"rounding":0,"code":"CDF","namePlural":"Congolese francs"},{"name":"Swiss Franc","symbol":"CHF","symbolNative":"CHF","decimalDigits":2,"rounding":0.05,"code":"CHF","namePlural":"Swiss francs"},{"name":"Chilean Peso","symbol":"CL$","symbolNative":"$","decimalDigits":0,"rounding":0,"code":"CLP","namePlural":"Chilean pesos"},{"name":"Chinese Yuan","symbol":"CN\xa5","symbolNative":"CN\xa5","decimalDigits":2,"rounding":0,"code":"CNY","namePlural":"Chinese yuan"},{"name":"Colombian Peso","symbol":"CO$","symbolNative":"$","decimalDigits":0,"rounding":0,"code":"COP","namePlural":"Colombian pesos"},{"name":"Costa Rican Col\xf3n","symbol":"\u20a1","symbolNative":"\u20a1","decimalDigits":0,"rounding":0,"code":"CRC","namePlural":"Costa Rican col\xf3ns"},{"name":"Cape Verdean Escudo","symbol":"CV$","symbolNative":"CV$","decimalDigits":2,"rounding":0,"code":"CVE","namePlural":"Cape Verdean escudos"},{"name":"Czech Republic Koruna","symbol":"K\u010d","symbolNative":"K\u010d","decimalDigits":2,"rounding":0,"code":"CZK","namePlural":"Czech Republic korunas"},{"name":"Djiboutian Franc","symbol":"Fdj","symbolNative":"Fdj","decimalDigits":0,"rounding":0,"code":"DJF","namePlural":"Djiboutian francs"},{"name":"Danish Krone","symbol":"Dkr","symbolNative":"kr","decimalDigits":2,"rounding":0,"code":"DKK","namePlural":"Danish kroner"},{"name":"Dominican Peso","symbol":"RD$","symbolNative":"RD$","decimalDigits":2,"rounding":0,"code":"DOP","namePlural":"Dominican pesos"},{"name":"Algerian Dinar","symbol":"DA","symbolNative":"\u062f.\u062c.\u200f","decimalDigits":2,"rounding":0,"code":"DZD","namePlural":"Algerian dinars"},{"name":"Estonian Kroon","symbol":"Ekr","symbolNative":"kr","decimalDigits":2,"rounding":0,"code":"EEK","namePlural":"Estonian kroons"},{"name":"Egyptian Pound","symbol":"EGP","symbolNative":"\u062c.\u0645.\u200f","decimalDigits":2,"rounding":0,"code":"EGP","namePlural":"Egyptian pounds"},{"name":"Eritrean Nakfa","symbol":"Nfk","symbolNative":"Nfk","decimalDigits":2,"rounding":0,"code":"ERN","namePlural":"Eritrean nakfas"},{"name":"Ethiopian Birr","symbol":"Br","symbolNative":"Br","decimalDigits":2,"rounding":0,"code":"ETB","namePlural":"Ethiopian birrs"},{"name":"British Pound Sterling","symbol":"\xa3","symbolNative":"\xa3","decimalDigits":2,"rounding":0,"code":"GBP","namePlural":"British pounds sterling"},{"name":"Georgian Lari","symbol":"GEL","symbolNative":"GEL","decimalDigits":2,"rounding":0,"code":"GEL","namePlural":"Georgian laris"},{"name":"Ghanaian Cedi","symbol":"GH\u20b5","symbolNative":"GH\u20b5","decimalDigits":2,"rounding":0,"code":"GHS","namePlural":"Ghanaian cedis"},{"name":"Guinean Franc","symbol":"FG","symbolNative":"FG","decimalDigits":0,"rounding":0,"code":"GNF","namePlural":"Guinean francs"},{"name":"Guatemalan Quetzal","symbol":"GTQ","symbolNative":"Q","decimalDigits":2,"rounding":0,"code":"GTQ","namePlural":"Guatemalan quetzals"},{"name":"Hong Kong Dollar","symbol":"HK$","symbolNative":"$","decimalDigits":2,"rounding":0,"code":"HKD","namePlural":"Hong Kong dollars"},{"name":"Honduran Lempira","symbol":"HNL","symbolNative":"L","decimalDigits":2,"rounding":0,"code":"HNL","namePlural":"Honduran lempiras"},{"name":"Croatian Kuna","symbol":"kn","symbolNative":"kn","decimalDigits":2,"rounding":0,"code":"HRK","namePlural":"Croatian kunas"},{"name":"Hungarian Forint","symbol":"Ft","symbolNative":"Ft","decimalDigits":0,"rounding":0,"code":"HUF","namePlural":"Hungarian forints"},{"name":"Indonesian Rupiah","symbol":"Rp","symbolNative":"Rp","decimalDigits":0,"rounding":0,"code":"IDR","namePlural":"Indonesian rupiahs"},{"name":"Israeli New Sheqel","symbol":"\u20aa","symbolNative":"\u20aa","decimalDigits":2,"rounding":0,"code":"ILS","namePlural":"Israeli new sheqels"},{"name":"Indian Rupee","symbol":"Rs","symbolNative":"\u099f\u0995\u09be","decimalDigits":2,"rounding":0,"code":"INR","namePlural":"Indian rupees"},{"name":"Iraqi Dinar","symbol":"IQD","symbolNative":"\u062f.\u0639.\u200f","decimalDigits":0,"rounding":0,"code":"IQD","namePlural":"Iraqi dinars"},{"name":"Iranian Rial","symbol":"IRR","symbolNative":"\ufdfc","decimalDigits":0,"rounding":0,"code":"IRR","namePlural":"Iranian rials"},{"name":"Icelandic Kr\xf3na","symbol":"Ikr","symbolNative":"kr","decimalDigits":0,"rounding":0,"code":"ISK","namePlural":"Icelandic kr\xf3nur"},{"name":"Jamaican Dollar","symbol":"J$","symbolNative":"$","decimalDigits":2,"rounding":0,"code":"JMD","namePlural":"Jamaican dollars"},{"name":"Jordanian Dinar","symbol":"JD","symbolNative":"\u062f.\u0623.\u200f","decimalDigits":3,"rounding":0,"code":"JOD","namePlural":"Jordanian dinars"},{"name":"Japanese Yen","symbol":"\xa5","symbolNative":"\uffe5","decimalDigits":0,"rounding":0,"code":"JPY","namePlural":"Japanese yen"},{"name":"Kenyan Shilling","symbol":"Ksh","symbolNative":"Ksh","decimalDigits":2,"rounding":0,"code":"KES","namePlural":"Kenyan shillings"},{"name":"Cambodian Riel","symbol":"KHR","symbolNative":"\u17db","decimalDigits":2,"rounding":0,"code":"KHR","namePlural":"Cambodian riels"},{"name":"Comorian Franc","symbol":"CF","symbolNative":"FC","decimalDigits":0,"rounding":0,"code":"KMF","namePlural":"Comorian francs"},{"name":"South Korean Won","symbol":"\u20a9","symbolNative":"\u20a9","decimalDigits":0,"rounding":0,"code":"KRW","namePlural":"South Korean won"},{"name":"Kuwaiti Dinar","symbol":"KD","symbolNative":"\u062f.\u0643.\u200f","decimalDigits":3,"rounding":0,"code":"KWD","namePlural":"Kuwaiti dinars"},{"name":"Kazakhstani Tenge","symbol":"KZT","symbolNative":"\u0442\u04a3\u0433.","decimalDigits":2,"rounding":0,"code":"KZT","namePlural":"Kazakhstani tenges"},{"name":"Lebanese Pound","symbol":"LB\xa3","symbolNative":"\u0644.\u0644.\u200f","decimalDigits":0,"rounding":0,"code":"LBP","namePlural":"Lebanese pounds"},{"name":"Sri Lankan Rupee","symbol":"SLRs","symbolNative":"SL Re","decimalDigits":2,"rounding":0,"code":"LKR","namePlural":"Sri Lankan rupees"},{"name":"Lithuanian Litas","symbol":"Lt","symbolNative":"Lt","decimalDigits":2,"rounding":0,"code":"LTL","namePlural":"Lithuanian litai"},{"name":"Latvian Lats","symbol":"Ls","symbolNative":"Ls","decimalDigits":2,"rounding":0,"code":"LVL","namePlural":"Latvian lati"},{"name":"Libyan Dinar","symbol":"LD","symbolNative":"\u062f.\u0644.\u200f","decimalDigits":3,"rounding":0,"code":"LYD","namePlural":"Libyan dinars"},{"name":"Moroccan Dirham","symbol":"MAD","symbolNative":"\u062f.\u0645.\u200f","decimalDigits":2,"rounding":0,"code":"MAD","namePlural":"Moroccan dirhams"},{"name":"Moldovan Leu","symbol":"MDL","symbolNative":"MDL","decimalDigits":2,"rounding":0,"code":"MDL","namePlural":"Moldovan lei"},{"name":"Malagasy Ariary","symbol":"MGA","symbolNative":"MGA","decimalDigits":0,"rounding":0,"code":"MGA","namePlural":"Malagasy Ariaries"},{"name":"Macedonian Denar","symbol":"MKD","symbolNative":"MKD","decimalDigits":2,"rounding":0,"code":"MKD","namePlural":"Macedonian denari"},{"name":"Myanma Kyat","symbol":"MMK","symbolNative":"K","decimalDigits":0,"rounding":0,"code":"MMK","namePlural":"Myanma kyats"},{"name":"Macanese Pataca","symbol":"MOP$","symbolNative":"MOP$","decimalDigits":2,"rounding":0,"code":"MOP","namePlural":"Macanese patacas"},{"name":"Mauritian Rupee","symbol":"MURs","symbolNative":"MURs","decimalDigits":0,"rounding":0,"code":"MUR","namePlural":"Mauritian rupees"},{"name":"Mexican Peso","symbol":"MX$","symbolNative":"$","decimalDigits":2,"rounding":0,"code":"MXN","namePlural":"Mexican pesos"},{"name":"Malaysian Ringgit","symbol":"RM","symbolNative":"RM","decimalDigits":2,"rounding":0,"code":"MYR","namePlural":"Malaysian ringgits"},{"name":"Mozambican Metical","symbol":"MTn","symbolNative":"MTn","decimalDigits":2,"rounding":0,"code":"MZN","namePlural":"Mozambican meticals"},{"name":"Namibian Dollar","symbol":"N$","symbolNative":"N$","decimalDigits":2,"rounding":0,"code":"NAD","namePlural":"Namibian dollars"},{"name":"Nigerian Naira","symbol":"\u20a6","symbolNative":"\u20a6","decimalDigits":2,"rounding":0,"code":"NGN","namePlural":"Nigerian nairas"},{"name":"Nicaraguan C\xf3rdoba","symbol":"C$","symbolNative":"C$","decimalDigits":2,"rounding":0,"code":"NIO","namePlural":"Nicaraguan c\xf3rdobas"},{"name":"Norwegian Krone","symbol":"Nkr","symbolNative":"kr","decimalDigits":2,"rounding":0,"code":"NOK","namePlural":"Norwegian kroner"},{"name":"Nepalese Rupee","symbol":"NPRs","symbolNative":"\u0928\u0947\u0930\u0942","decimalDigits":2,"rounding":0,"code":"NPR","namePlural":"Nepalese rupees"},{"name":"New Zealand Dollar","symbol":"NZ$","symbolNative":"$","decimalDigits":2,"rounding":0,"code":"NZD","namePlural":"New Zealand dollars"},{"name":"Omani Rial","symbol":"OMR","symbolNative":"\u0631.\u0639.\u200f","decimalDigits":3,"rounding":0,"code":"OMR","namePlural":"Omani rials"},{"name":"Panamanian Balboa","symbol":"B/.","symbolNative":"B/.","decimalDigits":2,"rounding":0,"code":"PAB","namePlural":"Panamanian balboas"},{"name":"Peruvian Nuevo Sol","symbol":"S/.","symbolNative":"S/.","decimalDigits":2,"rounding":0,"code":"PEN","namePlural":"Peruvian nuevos soles"},{"name":"Philippine Peso","symbol":"\u20b1","symbolNative":"\u20b1","decimalDigits":2,"rounding":0,"code":"PHP","namePlural":"Philippine pesos"},{"name":"Pakistani Rupee","symbol":"PKRs","symbolNative":"\u20a8","decimalDigits":0,"rounding":0,"code":"PKR","namePlural":"Pakistani rupees"},{"name":"Polish Zloty","symbol":"z\u0142","symbolNative":"z\u0142","decimalDigits":2,"rounding":0,"code":"PLN","namePlural":"Polish zlotys"},{"name":"Paraguayan Guarani","symbol":"\u20b2","symbolNative":"\u20b2","decimalDigits":0,"rounding":0,"code":"PYG","namePlural":"Paraguayan guaranis"},{"name":"Qatari Rial","symbol":"QR","symbolNative":"\u0631.\u0642.\u200f","decimalDigits":2,"rounding":0,"code":"QAR","namePlural":"Qatari rials"},{"name":"Romanian Leu","symbol":"RON","symbolNative":"RON","decimalDigits":2,"rounding":0,"code":"RON","namePlural":"Romanian lei"},{"name":"Serbian Dinar","symbol":"din.","symbolNative":"\u0434\u0438\u043d.","decimalDigits":0,"rounding":0,"code":"RSD","namePlural":"Serbian dinars"},{"name":"Russian Ruble","symbol":"RUB","symbolNative":"\u20bd.","decimalDigits":2,"rounding":0,"code":"RUB","namePlural":"Russian rubles"},{"name":"Rwandan Franc","symbol":"RWF","symbolNative":"FR","decimalDigits":0,"rounding":0,"code":"RWF","namePlural":"Rwandan francs"},{"name":"Saudi Riyal","symbol":"SR","symbolNative":"\u0631.\u0633.\u200f","decimalDigits":2,"rounding":0,"code":"SAR","namePlural":"Saudi riyals"},{"name":"Sudanese Pound","symbol":"SDG","symbolNative":"SDG","decimalDigits":2,"rounding":0,"code":"SDG","namePlural":"Sudanese pounds"},{"name":"Swedish Krona","symbol":"Skr","symbolNative":"kr","decimalDigits":2,"rounding":0,"code":"SEK","namePlural":"Swedish kronor"},{"name":"Singapore Dollar","symbol":"S$","symbolNative":"$","decimalDigits":2,"rounding":0,"code":"SGD","namePlural":"Singapore dollars"},{"name":"Somali Shilling","symbol":"Ssh","symbolNative":"Ssh","decimalDigits":0,"rounding":0,"code":"SOS","namePlural":"Somali shillings"},{"name":"Syrian Pound","symbol":"SY\xa3","symbolNative":"\u0644.\u0633.\u200f","decimalDigits":0,"rounding":0,"code":"SYP","namePlural":"Syrian pounds"},{"name":"Thai Baht","symbol":"\u0e3f","symbolNative":"\u0e3f","decimalDigits":2,"rounding":0,"code":"THB","namePlural":"Thai baht"},{"name":"Tunisian Dinar","symbol":"DT","symbolNative":"\u062f.\u062a.\u200f","decimalDigits":3,"rounding":0,"code":"TND","namePlural":"Tunisian dinars"},{"name":"Tongan Pa\u02bbanga","symbol":"T$","symbolNative":"T$","decimalDigits":2,"rounding":0,"code":"TOP","namePlural":"Tongan pa\u02bbanga"},{"name":"Turkish Lira","symbol":"TL","symbolNative":"TL","decimalDigits":2,"rounding":0,"code":"TRY","namePlural":"Turkish Lira"},{"name":"Trinidad and Tobago Dollar","symbol":"TT$","symbolNative":"$","decimalDigits":2,"rounding":0,"code":"TTD","namePlural":"Trinidad and Tobago dollars"},{"name":"New Taiwan Dollar","symbol":"NT$","symbolNative":"NT$","decimalDigits":2,"rounding":0,"code":"TWD","namePlural":"New Taiwan dollars"},{"name":"Tanzanian Shilling","symbol":"TSh","symbolNative":"TSh","decimalDigits":0,"rounding":0,"code":"TZS","namePlural":"Tanzanian shillings"},{"name":"Ukrainian Hryvnia","symbol":"\u20b4","symbolNative":"\u20b4","decimalDigits":2,"rounding":0,"code":"UAH","namePlural":"Ukrainian hryvnias"},{"name":"Ugandan Shilling","symbol":"USh","symbolNative":"USh","decimalDigits":0,"rounding":0,"code":"UGX","namePlural":"Ugandan shillings"},{"name":"Uruguayan Peso","symbol":"$U","symbolNative":"$","decimalDigits":2,"rounding":0,"code":"UYU","namePlural":"Uruguayan pesos"},{"name":"Uzbekistan Som","symbol":"UZS","symbolNative":"UZS","decimalDigits":0,"rounding":0,"code":"UZS","namePlural":"Uzbekistan som"},{"name":"Venezuelan Bol\xedvar","symbol":"Bs.F.","symbolNative":"Bs.F.","decimalDigits":2,"rounding":0,"code":"VEF","namePlural":"Venezuelan bol\xedvars"},{"name":"Vietnamese Dong","symbol":"\u20ab","symbolNative":"\u20ab","decimalDigits":0,"rounding":0,"code":"VND","namePlural":"Vietnamese dong"},{"name":"CFA Franc BEAC","symbol":"FCFA","symbolNative":"FCFA","decimalDigits":0,"rounding":0,"code":"XAF","namePlural":"CFA francs BEAC"},{"name":"CFA Franc BCEAO","symbol":"CFA","symbolNative":"CFA","decimalDigits":0,"rounding":0,"code":"XOF","namePlural":"CFA francs BCEAO"},{"name":"Yemeni Rial","symbol":"YR","symbolNative":"\u0631.\u064a.\u200f","decimalDigits":0,"rounding":0,"code":"YER","namePlural":"Yemeni rials"},{"name":"South African Rand","symbol":"R","symbolNative":"R","decimalDigits":2,"rounding":0,"code":"ZAR","namePlural":"South African rand"},{"name":"Zambian Kwacha","symbol":"ZK","symbolNative":"ZK","decimalDigits":0,"rounding":0,"code":"ZMK","namePlural":"Zambian kwachas"},{"name":"Zimbabwean Dollar","symbol":"ZWL$","symbolNative":"ZWL$","decimalDigits":0,"rounding":0,"code":"ZWL","namePlural":"Zimbabwean Dollar"}]')}},r1=>{r1(r1.s=2030)}]); \ No newline at end of file diff --git a/portal/bae-frontend/styles.0db97be566ccda0e.css b/portal/bae-frontend/styles.0db97be566ccda0e.css new file mode 100644 index 00000000..2ade8d8e --- /dev/null +++ b/portal/bae-frontend/styles.0db97be566ccda0e.css @@ -0,0 +1 @@ +.emoji-mart,.emoji-mart *{box-sizing:border-box;line-height:1.15}.emoji-mart{font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,sans-serif;font-size:16px;display:inline-block;color:#222427;border:1px solid #d9d9d9;border-radius:5px;background:#fff}.emoji-mart .emoji-mart-emoji{padding:6px}.emoji-mart-bar{border:0 solid #d9d9d9}.emoji-mart-bar:first-child{border-bottom-width:1px;border-top-left-radius:5px;border-top-right-radius:5px}.emoji-mart-bar:last-child{border-top-width:1px;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.emoji-mart-anchors{display:flex;flex-direction:row;justify-content:space-between;padding:0 6px;line-height:0}.emoji-mart-anchor{position:relative;display:block;flex:1 1 auto;color:#858585;text-align:center;padding:12px 4px;overflow:hidden;transition:color .1s ease-out;margin:0;box-shadow:none;background:none;border:none}.emoji-mart-anchor:focus{outline:0}.emoji-mart-anchor:hover,.emoji-mart-anchor:focus,.emoji-mart-anchor-selected{color:#464646}.emoji-mart-anchor-selected .emoji-mart-anchor-bar{bottom:0}.emoji-mart-anchor-bar{position:absolute;bottom:-3px;left:0;width:100%;height:3px;background-color:#464646}.emoji-mart-anchors i{display:inline-block;width:100%;max-width:22px}.emoji-mart-anchors svg,.emoji-mart-anchors img{fill:currentColor;height:18px}.emoji-mart-scroll{overflow-y:scroll;height:270px;padding:0 6px 6px;will-change:transform}.emoji-mart-search{margin-top:6px;padding:0 6px;position:relative}.emoji-mart-search input{font-size:16px;display:block;width:100%;padding:5px 25px 6px 10px;border-radius:5px;border:1px solid #d9d9d9;outline:0}.emoji-mart-search input,.emoji-mart-search input::-webkit-search-decoration,.emoji-mart-search input::-webkit-search-cancel-button,.emoji-mart-search input::-webkit-search-results-button,.emoji-mart-search input::-webkit-search-results-decoration{-webkit-appearance:none}.emoji-mart-search-icon{position:absolute;top:3px;right:11px;z-index:2;padding:2px 5px 1px;border:none;background:none}.emoji-mart-category .emoji-mart-emoji span{z-index:1;position:relative;text-align:center;cursor:default}.emoji-mart-category .emoji-mart-emoji:hover:before{z-index:0;content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:#f4f4f4;border-radius:100%}.emoji-mart-category-label{z-index:2;position:relative;position:sticky;top:0}.emoji-mart-category-label span{display:block;width:100%;font-weight:500;padding:5px 6px;background-color:#fff;background-color:#fffffff2}.emoji-mart-category-list{margin:0;padding:0}.emoji-mart-category-list li{list-style:none;margin:0;padding:0;display:inline-block}.emoji-mart-emoji{position:relative;display:inline-block;font-size:0;margin:0;padding:0;border:none;background:none;box-shadow:none}.emoji-mart-emoji-native{font-family:"Segoe UI Emoji",Segoe UI Symbol,Segoe UI,"Apple Color Emoji",Twemoji Mozilla,"Noto Color Emoji","Android Emoji"}.emoji-mart-no-results{font-size:14px;text-align:center;padding-top:70px;color:#858585}.emoji-mart-no-results .emoji-mart-category-label{display:none}.emoji-mart-no-results .emoji-mart-no-results-label{margin-top:.2em}.emoji-mart-no-results .emoji-mart-emoji:hover:before{content:none}.emoji-mart-preview{position:relative;height:70px}.emoji-mart-preview-emoji,.emoji-mart-preview-data,.emoji-mart-preview-skins{position:absolute;top:50%;transform:translateY(-50%)}.emoji-mart-preview-emoji{left:12px}.emoji-mart-preview-data{left:68px;right:12px;word-break:break-all}.emoji-mart-preview-skins{right:30px;text-align:right}.emoji-mart-preview-skins.custom{right:10px;text-align:right}.emoji-mart-preview-name{font-size:14px}.emoji-mart-preview-shortname{font-size:12px;color:#888}.emoji-mart-preview-shortname+.emoji-mart-preview-shortname,.emoji-mart-preview-shortname+.emoji-mart-preview-emoticon,.emoji-mart-preview-emoticon+.emoji-mart-preview-emoticon{margin-left:.5em}.emoji-mart-preview-emoticon{font-size:11px;color:#bbb}.emoji-mart-title span{display:inline-block;vertical-align:middle}.emoji-mart-title .emoji-mart-emoji{padding:0}.emoji-mart-title-label{color:#999a9c;font-size:26px;font-weight:300}.emoji-mart-skin-swatches{font-size:0;padding:2px 0;border:1px solid #d9d9d9;border-radius:12px;background-color:#fff}.emoji-mart-skin-swatches.custom{font-size:0;border:none;background-color:#fff}.emoji-mart-skin-swatches.opened .emoji-mart-skin-swatch{width:16px;padding:0 2px}.emoji-mart-skin-swatches.opened .emoji-mart-skin-swatch.selected:after{opacity:.75}.emoji-mart-skin-swatch{display:inline-block;width:0;vertical-align:middle;transition-property:width,padding;transition-duration:.125s;transition-timing-function:ease-out}.emoji-mart-skin-swatch:nth-child(1){transition-delay:0s}.emoji-mart-skin-swatch:nth-child(2){transition-delay:.03s}.emoji-mart-skin-swatch:nth-child(3){transition-delay:.06s}.emoji-mart-skin-swatch:nth-child(4){transition-delay:.09s}.emoji-mart-skin-swatch:nth-child(5){transition-delay:.12s}.emoji-mart-skin-swatch:nth-child(6){transition-delay:.15s}.emoji-mart-skin-swatch.selected{position:relative;width:16px;padding:0 2px}.emoji-mart-skin-swatch.selected:after{content:"";position:absolute;top:50%;left:50%;width:4px;height:4px;margin:-2px 0 0 -2px;background-color:#fff;border-radius:100%;pointer-events:none;opacity:0;transition:opacity .2s ease-out}.emoji-mart-skin-swatch.custom{display:inline-block;width:0;height:38px;overflow:hidden;vertical-align:middle;transition-property:width,height;transition-duration:.125s;transition-timing-function:ease-out;cursor:default}.emoji-mart-skin-swatch.custom.selected{position:relative;width:36px;height:38px;padding:0 2px 0 0}.emoji-mart-skin-swatch.custom.selected:after{content:"";width:0;height:0}.emoji-mart-skin-swatches.custom .emoji-mart-skin-swatch.custom:hover{background-color:#f4f4f4;border-radius:10%}.emoji-mart-skin-swatches.custom.opened .emoji-mart-skin-swatch.custom{width:36px;height:38px;padding:0 2px 0 0}.emoji-mart-skin-swatches.custom.opened .emoji-mart-skin-swatch.custom.selected:after{opacity:.75}.emoji-mart-skin-text.opened{display:inline-block;vertical-align:middle;text-align:left;color:#888;font-size:11px;padding:5px 2px;width:95px;height:40px;border-radius:10%;background-color:#fff}.emoji-mart-skin{display:inline-block;width:100%;padding-top:100%;max-width:12px;border-radius:100%}.emoji-mart-skin-tone-1{background-color:#ffc93a}.emoji-mart-skin-tone-2{background-color:#fadcbc}.emoji-mart-skin-tone-3{background-color:#e0bb95}.emoji-mart-skin-tone-4{background-color:#bf8f68}.emoji-mart-skin-tone-5{background-color:#9b643d}.emoji-mart-skin-tone-6{background-color:#594539}.emoji-mart-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.emoji-mart-dark{color:#fff;border-color:#555453;background-color:#222}.emoji-mart-dark .emoji-mart-bar{border-color:#555453}.emoji-mart-dark .emoji-mart-search input{color:#fff;border-color:#555453;background-color:#2f2f2f}.emoji-mart-dark .emoji-mart-search-icon svg{fill:#fff}.emoji-mart-dark .emoji-mart-category .emoji-mart-emoji:hover:before{background-color:#444}.emoji-mart-dark .emoji-mart-category-label span{background-color:#222;color:#fff}.emoji-mart-dark .emoji-mart-skin-swatches{border-color:#555453;background-color:#222}.emoji-mart-dark .emoji-mart-anchor:hover,.emoji-mart-dark .emoji-mart-anchor:focus,.emoji-mart-dark .emoji-mart-anchor-selected{color:#bfbfbf}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}.tooltip-arrow,.tooltip-arrow:before{position:absolute;width:8px;height:8px;background:inherit}.tooltip-arrow{visibility:hidden}.tooltip-arrow:before{content:"";visibility:visible;transform:rotate(45deg)}[data-tooltip-style^=light]+.tooltip>.tooltip-arrow:before{border-style:solid;border-color:#e5e7eb}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=top]>.tooltip-arrow:before{border-bottom-width:1px;border-right-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=right]>.tooltip-arrow:before{border-bottom-width:1px;border-left-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=bottom]>.tooltip-arrow:before{border-top-width:1px;border-left-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=left]>.tooltip-arrow:before{border-top-width:1px;border-right-width:1px}.tooltip[data-popper-placement^=top]>.tooltip-arrow{bottom:-4px}.tooltip[data-popper-placement^=bottom]>.tooltip-arrow{top:-4px}.tooltip[data-popper-placement^=left]>.tooltip-arrow{right:-4px}.tooltip[data-popper-placement^=right]>.tooltip-arrow{left:-4px}.tooltip.invisible>.tooltip-arrow:before{visibility:hidden}[data-popper-arrow],[data-popper-arrow]:before{position:absolute;width:8px;height:8px;background:inherit}[data-popper-arrow]{visibility:hidden}[data-popper-arrow]:before{content:"";visibility:visible;transform:rotate(45deg)}[data-popper-arrow]:after{content:"";visibility:visible;transform:rotate(45deg);position:absolute;width:9px;height:9px;background:inherit}[role=tooltip]>[data-popper-arrow]:before{border-style:solid;border-color:#e5e7eb}.dark [role=tooltip]>[data-popper-arrow]:before{border-style:solid;border-color:#4b5563}[role=tooltip]>[data-popper-arrow]:after{border-style:solid;border-color:#e5e7eb}.dark [role=tooltip]>[data-popper-arrow]:after{border-style:solid;border-color:#4b5563}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]:before{border-bottom-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]:after{border-bottom-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]:before{border-bottom-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]:after{border-bottom-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]:before{border-top-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]:after{border-top-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]:before{border-top-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]:after{border-top-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]{bottom:-5px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]{top:-5px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]{right:-5px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]{left:-5px}[role=tooltip].invisible>[data-popper-arrow]:before{visibility:hidden}[role=tooltip].invisible>[data-popper-arrow]:after{visibility:hidden}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #1C64F2;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#1c64f2}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}select:not([size]){background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 10 6'%3e %3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 1 4 4 4-4'/%3e %3c/svg%3e");background-position:right .75rem center;background-repeat:no-repeat;background-size:.75em .75em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#1c64f2;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #1C64F2;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked,.dark [type=checkbox]:checked,.dark [type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:.55em .55em;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 12'%3e %3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M1 5.917 5.724 10.5 15 1.5'/%3e %3c/svg%3e");background-repeat:no-repeat;background-size:.55em .55em;-webkit-print-color-adjust:exact;print-color-adjust:exact}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");background-size:1em 1em}.dark [type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");background-size:1em 1em}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 12'%3e %3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M1 5.917 5.724 10.5 15 1.5'/%3e %3c/svg%3e");background-color:currentColor;border-color:transparent;background-position:center;background-repeat:no-repeat;background-size:.55em .55em;-webkit-print-color-adjust:exact;print-color-adjust:exact}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px auto inherit}input[type=file]::file-selector-button{color:#fff;background:#1f2937;border:0;font-weight:500;font-size:.875rem;cursor:pointer;padding:.625rem 1rem .625rem 2rem;margin-inline-start:-1rem;margin-inline-end:1rem}input[type=file]::file-selector-button:hover{background:#374151}.dark input[type=file]::file-selector-button{color:#fff;background:#4b5563}.dark input[type=file]::file-selector-button:hover{background:#6b7280}input[type=range]::-webkit-slider-thumb{height:1.25rem;width:1.25rem;background:#1c64f2;border-radius:9999px;border:0;appearance:none;-moz-appearance:none;-webkit-appearance:none;cursor:pointer}input[type=range]:disabled::-webkit-slider-thumb{background:#9ca3af}.dark input[type=range]:disabled::-webkit-slider-thumb{background:#6b7280}input[type=range]:focus::-webkit-slider-thumb{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1px;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}input[type=range]::-moz-range-thumb{height:1.25rem;width:1.25rem;background:#1c64f2;border-radius:9999px;border:0;appearance:none;-moz-appearance:none;-webkit-appearance:none;cursor:pointer}input[type=range]:disabled::-moz-range-thumb{background:#9ca3af}.dark input[type=range]:disabled::-moz-range-thumb{background:#6b7280}input[type=range]::-moz-range-progress{background:#3f83f8}input[type=range]::-ms-fill-lower{background:#3f83f8}.toggle-bg:after{content:"";position:absolute;top:.125rem;left:.125rem;background:#fff;border-color:#d1d5db;border-width:1px;border-radius:9999px;height:1.25rem;width:1.25rem;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;box-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)}input:checked+.toggle-bg:after{transform:translate(100%);border-color:#fff}input:checked+.toggle-bg{background:#1c64f2;border-color:#1c64f2}html{font-family:Blinker,system-ui,sans-serif}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(63 131 248 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(63 131 248 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.bottom-0{bottom:0}.bottom-12{bottom:3rem}.bottom-\[60px\]{bottom:60px}.end-0{inset-inline-end:0px}.end-2{inset-inline-end:.5rem}.end-2\.5{inset-inline-end:.625rem}.left-0{left:0}.left-1\/2{left:50%}.right-0{right:0}.right-2{right:.5rem}.right-2\.5{right:.625rem}.right-4{right:1rem}.start-0{inset-inline-start:0px}.top-0{top:0}.top-1\/2{top:50%}.top-2{top:.5rem}.top-2\.5{top:.625rem}.top-3{top:.75rem}.top-4{top:1rem}.top-\[100vh\]{top:100vh}.top-\[118px\]{top:118px}.top-\[72px\]{top:72px}.isolate{isolation:isolate}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.col-span-2{grid-column:span 2 / span 2}.float-left{float:left}.m-2{margin:.5rem}.m-4{margin:1rem}.m-8{margin:2rem}.m-auto{margin:auto}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-1\.5{margin-left:-.375rem;margin-right:-.375rem}.-mx-4{margin-left:-1rem;margin-right:-1rem}.-my-1{margin-top:-.25rem;margin-bottom:-.25rem}.-my-1\.5{margin-top:-.375rem;margin-bottom:-.375rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-5{margin-left:1.25rem;margin-right:1.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.-mb-px{margin-bottom:-1px}.-mr-1{margin-right:-.25rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-3\.5{margin-bottom:.875rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-7{margin-bottom:1.75rem}.mb-8{margin-bottom:2rem}.me-2{margin-inline-end:.5rem}.me-3{margin-inline-end:.75rem}.me-5{margin-inline-end:1.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-6{margin-left:1.5rem}.ml-8{margin-left:2rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-1\.5{margin-right:.375rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mr-7{margin-right:1.75rem}.mr-8{margin-right:2rem}.ms-1{margin-inline-start:.25rem}.ms-2{margin-inline-start:.5rem}.ms-2\.5{margin-inline-start:.625rem}.ms-3{margin-inline-start:.75rem}.ms-auto{margin-inline-start:auto}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-2\.5{margin-top:.625rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-8{margin-top:2rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-5{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5}.line-clamp-6{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-1\/4{height:25%}.h-10{height:2.5rem}.h-12{height:3rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-2\/4{height:50%}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-3\/4{height:75%}.h-4{height:1rem}.h-48{height:12rem}.h-5{height:1.25rem}.h-5\/6{height:83.333333%}.h-6{height:1.5rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[100px\]{height:100px}.h-\[12px\]{height:12px}.h-\[18px\]{height:18px}.h-\[200px\]{height:200px}.h-\[25px\]{height:25px}.h-\[30px\]{height:30px}.h-\[50px\]{height:50px}.h-\[75px\]{height:75px}.h-\[calc\(100\%-1rem\)\]{height:calc(100% - 1rem)}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.h-modal{height:calc(100% - 2rem)}.h-px{height:1px}.h-screen{height:100vh}.max-h-48{max-height:12rem}.max-h-\[300px\]{max-height:300px}.max-h-\[350px\]{max-height:350px}.max-h-\[46px\]{max-height:46px}.max-h-\[80vh\]{max-height:80vh}.max-h-full{max-height:100%}.max-h-screen{max-height:100vh}.min-h-10{min-height:2.5rem}.min-h-\[200px\]{min-height:200px}.min-h-\[58px\]{min-height:58px}.w-1\/2{width:50%}.w-1\/3{width:33.333333%}.w-1\/4{width:25%}.w-1\/5{width:20%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-2\/3{width:66.666667%}.w-2\/4{width:50%}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-3\/5{width:60%}.w-4{width:1rem}.w-4\/5{width:80%}.w-44{width:11rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-5\/6{width:83.333333%}.w-6{width:1.5rem}.w-64{width:16rem}.w-8{width:2rem}.w-\[12px\]{width:12px}.w-\[18px\]{width:18px}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-10{min-width:2.5rem}.min-w-fit{min-width:-moz-fit-content;min-width:fit-content}.max-w-7xl{max-width:80rem}.max-w-\[calc\(100vw-5rem\)\]{max-width:calc(100vw - 5rem)}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-screen-xl{max-width:1280px}.max-w-sm{max-width:24rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink{flex-shrink:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-full{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-full{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform-none{transform:none}@keyframes fadeInOut{0%,to{opacity:0}50%{opacity:1}}.animate-fadeInOut{animation:fadeInOut 5s ease-in-out infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-inside{list-style-position:inside}.list-disc{list-style-type:disc}.grid-flow-row{grid-auto-flow:row}.auto-rows-max{grid-auto-rows:max-content}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-20\/80{grid-template-columns:20% 80%}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.grid-cols-80\/20{grid-template-columns:80% 20%}.grid-rows-20\/80{grid-template-rows:20% 80%}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-content-center{place-content:center}.place-items-center{place-items:center}.content-center{align-content:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-items-end{justify-items:end}.justify-items-center{justify-items:center}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-8{gap:2rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(243 244 246 / var(--tw-divide-opacity))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity))}.divide-primary-100\/50>:not([hidden])~:not([hidden]){border-color:#2d58a780}.self-center{align-self:center}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.text-wrap{text-wrap:wrap}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-b-lg{border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-e-lg{border-start-end-radius:.5rem;border-end-end-radius:.5rem}.rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-r-lg{border-top-right-radius:.5rem;border-bottom-right-radius:.5rem}.rounded-s-lg{border-start-start-radius:.5rem;border-end-start-radius:.5rem}.rounded-s-md{border-start-start-radius:.375rem;border-end-start-radius:.375rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.rounded-tr-lg{border-top-right-radius:.5rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0px}.border-b-2{border-bottom-width:2px}.border-e-0{border-inline-end-width:0px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-s-2{border-inline-start-width:2px}.border-t{border-top-width:1px}.border-blue-400{--tw-border-opacity: 1;border-color:rgb(118 169 250 / var(--tw-border-opacity))}.border-blue-600{--tw-border-opacity: 1;border-color:rgb(28 100 242 / var(--tw-border-opacity))}.border-blue-700{--tw-border-opacity: 1;border-color:rgb(26 86 219 / var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.border-green-300{--tw-border-opacity: 1;border-color:rgb(132 225 188 / var(--tw-border-opacity))}.border-green-500{--tw-border-opacity: 1;border-color:rgb(14 159 110 / var(--tw-border-opacity))}.border-primary-100{--tw-border-opacity: 1;border-color:rgb(45 88 167 / var(--tw-border-opacity))}.border-primary-50{--tw-border-opacity: 1;border-color:rgb(0 173 211 / var(--tw-border-opacity))}.border-red-300{--tw-border-opacity: 1;border-color:rgb(248 180 180 / var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(240 82 82 / var(--tw-border-opacity))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(224 36 36 / var(--tw-border-opacity))}.border-secondary-50{--tw-border-opacity: 1;border-color:rgb(221 230 246 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.border-yellow-500{--tw-border-opacity: 1;border-color:rgb(194 120 3 / var(--tw-border-opacity))}.border-s-gray-50{--tw-border-opacity: 1;border-inline-start-color:rgb(249 250 251 / var(--tw-border-opacity))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}.bg-blue-300{--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(235 245 255 / var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.bg-blue-900\/20{background-color:#23387633}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-gray-900\/50{background-color:#11182780}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(222 247 236 / var(--tw-bg-opacity))}.bg-green-200{--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}.bg-green-300{--tw-bg-opacity: 1;background-color:rgb(132 225 188 / var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(14 159 110 / var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}.bg-green-700{--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}.bg-indigo-300{--tw-bg-opacity: 1;background-color:rgb(180 198 252 / var(--tw-bg-opacity))}.bg-primary-100{--tw-bg-opacity: 1;background-color:rgb(45 88 167 / var(--tw-bg-opacity))}.bg-primary-50{--tw-bg-opacity: 1;background-color:rgb(0 173 211 / var(--tw-bg-opacity))}.bg-primary-50\/50{background-color:#00add380}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(237 235 254 / var(--tw-bg-opacity))}.bg-red-200{--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(253 242 242 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(240 82 82 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}.bg-red-800{--tw-bg-opacity: 1;background-color:rgb(155 28 28 / var(--tw-bg-opacity))}.bg-secondary-300{--tw-bg-opacity: 1;background-color:rgb(24 39 64 / var(--tw-bg-opacity))}.bg-secondary-50{--tw-bg-opacity: 1;background-color:rgb(221 230 246 / var(--tw-bg-opacity))}.bg-secondary-50\/90{background-color:#dde6f6e6}.bg-secondary-50\/95{background-color:#dde6f6f2}.bg-slate-400{--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-white\/50{background-color:#ffffff80}.bg-yellow-200{--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}.bg-yellow-300{--tw-bg-opacity: 1;background-color:rgb(250 202 21 / var(--tw-bg-opacity))}.bg-opacity-100{--tw-bg-opacity: 1}.bg-opacity-25{--tw-bg-opacity: .25}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-60{--tw-bg-opacity: .6}.box-decoration-clone{-webkit-box-decoration-break:clone;box-decoration-break:clone}.bg-cover{background-size:cover}.bg-fixed{background-attachment:fixed}.bg-center{background-position:center}.bg-right{background-position:right}.bg-right-bottom{background-position:right bottom}.bg-no-repeat{background-repeat:no-repeat}.fill-blue-600{fill:#1c64f2}.stroke-2{stroke-width:2}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-12{padding-bottom:3rem}.pb-2{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pb-5{padding-bottom:1.25rem}.pb-6{padding-bottom:1.5rem}.pb-8{padding-bottom:2rem}.pb-\[25px\]{padding-bottom:25px}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.pr-8{padding-right:2rem}.ps-5{padding-inline-start:1.25rem}.pt-12{padding-top:3rem}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.pt-40{padding-top:10rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.pt-\[130px\]{padding-top:130px}.pt-\[75px\]{padding-top:75px}.text-left{text-align:left}.text-center{text-align:center}.text-start{text-align:start}.align-middle{vertical-align:middle}.align-bottom{vertical-align:bottom}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.leading-6{line-height:1.5rem}.leading-9{line-height:2.25rem}.leading-none{line-height:1}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}.text-green-700{--tw-text-opacity: 1;color:rgb(4 108 78 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(3 84 63 / var(--tw-text-opacity))}.text-primary-100{--tw-text-opacity: 1;color:rgb(45 88 167 / var(--tw-text-opacity))}.text-primary-50{--tw-text-opacity: 1;color:rgb(0 173 211 / var(--tw-text-opacity))}.text-purple-800{--tw-text-opacity: 1;color:rgb(85 33 181 / var(--tw-text-opacity))}.text-red-200{--tw-text-opacity: 1;color:rgb(251 213 213 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(224 36 36 / var(--tw-text-opacity))}.text-red-700{--tw-text-opacity: 1;color:rgb(200 30 30 / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(155 28 28 / var(--tw-text-opacity))}.text-red-900{--tw-text-opacity: 1;color:rgb(119 29 29 / var(--tw-text-opacity))}.text-secondary-50{--tw-text-opacity: 1;color:rgb(221 230 246 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-300{--tw-text-opacity: 1;color:rgb(250 202 21 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(194 120 3 / var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(142 75 16 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.decoration-primary-100{text-decoration-color:#2d58a7}.decoration-8{text-decoration-thickness:8px}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-25{opacity:.25}.opacity-50{opacity:.5}.opacity-75{opacity:.75}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-width{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.delay-200{transition-delay:.2s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-3000{transition-duration:3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}:root{--blockquote-border-color: #ccc;--blockquote-bg-color: #dde6f6;--blockquote-text-color: black}@media (prefers-color-scheme: dark){:root{--blockquote-border-color: #171717;--blockquote-bg-color: #0c1c38;--blockquote-text-color: #eee}}markdown{font-family:Blinker,system-ui,sans-serif;line-height:1.6;font-style:var(--blockquote-text-color)}markdown h1{font-size:2em;margin-bottom:.5em}markdown h2{font-size:1.5em;margin-bottom:.5em}markdown h3{font-size:1.17em;margin-bottom:.5em}markdown h4{font-size:1em;margin-bottom:.5em}markdown h5{font-size:.83em;margin-bottom:.5em}markdown h6{font-size:.67em;margin-bottom:.5em}markdown p{margin-bottom:1em}markdown p:last-child{margin-bottom:0}markdown ul,markdown ol{margin-bottom:1em}markdown ul ul,markdown ul ol,markdown ol ul,markdown ol ol{margin-top:.5em;margin-left:1.5em}markdown ul li,markdown ol li{margin-bottom:.5em;margin-left:1.5em}markdown ul li{list-style-type:disc}markdown ol li{list-style-type:decimal}markdown blockquote{margin-left:0;padding-left:1em;border-left:2px solid var(--blockquote-border-color)}markdown code{font-family:monospace;background-color:#2d58a7;padding:.2em .4em;border-radius:3px}markdown pre{font-family:monospace;background-color:#2d58a7;padding:.5em;border-radius:3px;overflow:auto}markdown table{border-collapse:collapse;width:100%}markdown table th,markdown table td{border:1px solid var(--blockquote-border-color);padding:8px}markdown table th{background-color:#2d58a7}markdown body.dark table th{background-color:#2d58a7}markdown img{max-width:100%;height:auto}markdown a{color:#007bff;text-decoration:none}markdown a:hover{text-decoration:underline}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:start-\[2px\]:after{content:var(--tw-content);inset-inline-start:2px}.after\:top-0:after{content:var(--tw-content);top:0}.after\:top-0\.5:after{content:var(--tw-content);top:.125rem}.after\:mx-2:after{content:var(--tw-content);margin-left:.5rem;margin-right:.5rem}.after\:inline-block:after{content:var(--tw-content);display:inline-block}.after\:h-1:after{content:var(--tw-content);height:.25rem}.after\:h-5:after{content:var(--tw-content);height:1.25rem}.after\:w-5:after{content:var(--tw-content);width:1.25rem}.after\:w-full:after{content:var(--tw-content);width:100%}.after\:rounded-full:after{content:var(--tw-content);border-radius:9999px}.after\:border:after{content:var(--tw-content);border-width:1px}.after\:border-4:after{content:var(--tw-content);border-width:4px}.after\:border-b:after{content:var(--tw-content);border-bottom-width:1px}.after\:border-gray-300:after{content:var(--tw-content);--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.after\:border-gray-400:after{content:var(--tw-content);--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.after\:border-gray-700:after{content:var(--tw-content);--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.after\:border-primary-100:after{content:var(--tw-content);--tw-border-opacity: 1;border-color:rgb(45 88 167 / var(--tw-border-opacity))}.after\:bg-white:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.after\:transition-all:after{content:var(--tw-content);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.after\:content-\[\'\'\]:after{--tw-content: "";content:var(--tw-content)}.hover\:border-gray-300:hover{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.hover\:border-primary-50:hover{--tw-border-opacity: 1;border-color:rgb(0 173 211 / var(--tw-border-opacity))}.hover\:bg-blue-600:hover{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.hover\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.hover\:bg-blue-800:hover{--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-300:hover{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.hover\:bg-green-800:hover{--tw-bg-opacity: 1;background-color:rgb(3 84 63 / var(--tw-bg-opacity))}.hover\:bg-green-900:hover{--tw-bg-opacity: 1;background-color:rgb(1 71 55 / var(--tw-bg-opacity))}.hover\:bg-primary-100:hover{--tw-bg-opacity: 1;background-color:rgb(45 88 167 / var(--tw-bg-opacity))}.hover\:bg-primary-50:hover{--tw-bg-opacity: 1;background-color:rgb(0 173 211 / var(--tw-bg-opacity))}.hover\:bg-red-600:hover{--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}.hover\:bg-red-800:hover{--tw-bg-opacity: 1;background-color:rgb(155 28 28 / var(--tw-bg-opacity))}.hover\:bg-red-900:hover{--tw-bg-opacity: 1;background-color:rgb(119 29 29 / var(--tw-bg-opacity))}.hover\:bg-secondary-100:hover{--tw-bg-opacity: 1;background-color:rgb(20 39 74 / var(--tw-bg-opacity))}.hover\:bg-secondary-50:hover{--tw-bg-opacity: 1;background-color:rgb(221 230 246 / var(--tw-bg-opacity))}.hover\:bg-slate-500:hover{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.hover\:text-primary-100:hover{--tw-text-opacity: 1;color:rgb(45 88 167 / var(--tw-text-opacity))}.hover\:text-primary-50:hover{--tw-text-opacity: 1;color:rgb(0 173 211 / var(--tw-text-opacity))}.hover\:text-secondary-50:hover{--tw-text-opacity: 1;color:rgb(221 230 246 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.focus\:z-10:focus{z-index:10}.focus\:border-blue-500:focus{--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.focus\:border-primary-50:focus{--tw-border-opacity: 1;border-color:rgb(0 173 211 / var(--tw-border-opacity))}.focus\:shadow:focus{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:outline-0:focus{outline-width:0px}.focus\:ring-0:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-1:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-4:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}.focus\:ring-blue-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(118 169 250 / var(--tw-ring-opacity))}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity))}.focus\:ring-gray-100:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(243 244 246 / var(--tw-ring-opacity))}.focus\:ring-gray-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(229 231 235 / var(--tw-ring-opacity))}.focus\:ring-gray-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.focus\:ring-green-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(132 225 188 / var(--tw-ring-opacity))}.focus\:ring-green-700:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(4 108 78 / var(--tw-ring-opacity))}.focus\:ring-primary-100:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(45 88 167 / var(--tw-ring-opacity))}.focus\:ring-primary-50:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 173 211 / var(--tw-ring-opacity))}.focus\:ring-red-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 180 180 / var(--tw-ring-opacity))}.focus\:ring-red-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}.group:hover .group-hover\:opacity-100{opacity:1}.peer:checked~.peer-checked\:border{border-width:1px}.peer:checked~.peer-checked\:border-primary-100{--tw-border-opacity: 1;border-color:rgb(45 88 167 / var(--tw-border-opacity))}.peer:checked~.peer-checked\:border-primary-50{--tw-border-opacity: 1;border-color:rgb(0 173 211 / var(--tw-border-opacity))}.peer:checked~.peer-checked\:bg-primary-100{--tw-bg-opacity: 1;background-color:rgb(45 88 167 / var(--tw-bg-opacity))}.peer:checked~.peer-checked\:text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.peer:checked~.peer-checked\:after\:translate-x-full:after{content:var(--tw-content);--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:checked~.peer-checked\:after\:border-white:after{content:var(--tw-content);--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.peer:focus~.peer-focus\:ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.peer:focus~.peer-focus\:ring-primary-100{--tw-ring-opacity: 1;--tw-ring-color: rgb(45 88 167 / var(--tw-ring-opacity))}.dark\:divide-gray-600:is(.dark *)>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(75 85 99 / var(--tw-divide-opacity))}.dark\:divide-secondary-200:is(.dark *)>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(12 28 56 / var(--tw-divide-opacity))}.dark\:border-blue-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.dark\:border-gray-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.dark\:border-gray-600:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.dark\:border-gray-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.dark\:border-gray-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.dark\:border-primary-50:is(.dark *){--tw-border-opacity: 1;border-color:rgb(0 173 211 / var(--tw-border-opacity))}.dark\:border-red-900:is(.dark *){--tw-border-opacity: 1;border-color:rgb(119 29 29 / var(--tw-border-opacity))}.dark\:border-secondary-100:is(.dark *){--tw-border-opacity: 1;border-color:rgb(20 39 74 / var(--tw-border-opacity))}.dark\:border-secondary-200:is(.dark *){--tw-border-opacity: 1;border-color:rgb(12 28 56 / var(--tw-border-opacity))}.dark\:border-secondary-300:is(.dark *){--tw-border-opacity: 1;border-color:rgb(24 39 64 / var(--tw-border-opacity))}.dark\:border-transparent:is(.dark *){border-color:transparent}.dark\:border-white:is(.dark *){--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.dark\:border-s-gray-700:is(.dark *){--tw-border-opacity: 1;border-inline-start-color:rgb(55 65 81 / var(--tw-border-opacity))}.dark\:bg-blue-200:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.dark\:bg-blue-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.dark\:bg-blue-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.dark\:bg-gray-200:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.dark\:bg-gray-400:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.dark\:bg-gray-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.dark\:bg-gray-700:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.dark\:bg-gray-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.dark\:bg-gray-800\/50:is(.dark *){background-color:#1f293780}.dark\:bg-gray-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.dark\:bg-gray-900\/80:is(.dark *){background-color:#111827cc}.dark\:bg-green-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(14 159 110 / var(--tw-bg-opacity))}.dark\:bg-green-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}.dark\:bg-primary-100:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(45 88 167 / var(--tw-bg-opacity))}.dark\:bg-red-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(240 82 82 / var(--tw-bg-opacity))}.dark\:bg-red-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(119 29 29 / var(--tw-bg-opacity))}.dark\:bg-secondary-100:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(20 39 74 / var(--tw-bg-opacity))}.dark\:bg-secondary-100\/90:is(.dark *){background-color:#14274ae6}.dark\:bg-secondary-100\/95:is(.dark *){background-color:#14274af2}.dark\:bg-secondary-200:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(12 28 56 / var(--tw-bg-opacity))}.dark\:bg-secondary-300:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(24 39 64 / var(--tw-bg-opacity))}.dark\:bg-secondary-50:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(221 230 246 / var(--tw-bg-opacity))}.dark\:bg-white:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.dark\:bg-opacity-60:is(.dark *){--tw-bg-opacity: .6}.dark\:bg-opacity-80:is(.dark *){--tw-bg-opacity: .8}.dark\:text-blue-400:is(.dark *){--tw-text-opacity: 1;color:rgb(118 169 250 / var(--tw-text-opacity))}.dark\:text-blue-500:is(.dark *){--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.dark\:text-blue-800:is(.dark *){--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}.dark\:text-gray-100:is(.dark *){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}.dark\:text-gray-200:is(.dark *){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.dark\:text-gray-300:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.dark\:text-gray-400:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.dark\:text-gray-500:is(.dark *){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.dark\:text-gray-600:is(.dark *){--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.dark\:text-green-400:is(.dark *){--tw-text-opacity: 1;color:rgb(49 196 141 / var(--tw-text-opacity))}.dark\:text-primary-100:is(.dark *){--tw-text-opacity: 1;color:rgb(45 88 167 / var(--tw-text-opacity))}.dark\:text-primary-50:is(.dark *){--tw-text-opacity: 1;color:rgb(0 173 211 / var(--tw-text-opacity))}.dark\:text-purple-400:is(.dark *){--tw-text-opacity: 1;color:rgb(172 148 250 / var(--tw-text-opacity))}.dark\:text-red-500:is(.dark *){--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.dark\:text-secondary-50:is(.dark *){--tw-text-opacity: 1;color:rgb(221 230 246 / var(--tw-text-opacity))}.dark\:text-white:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dark\:decoration-primary-100:is(.dark *){text-decoration-color:#2d58a7}.dark\:placeholder-gray-400:is(.dark *)::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.dark\:ring-offset-gray-700:is(.dark *){--tw-ring-offset-color: #374151}.dark\:ring-offset-gray-800:is(.dark *){--tw-ring-offset-color: #1F2937}.dark\:after\:border-gray-400:is(.dark *):after{content:var(--tw-content);--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.dark\:hover\:border-gray-600:hover:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.dark\:hover\:bg-blue-600:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.dark\:hover\:bg-blue-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.dark\:hover\:bg-gray-600:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.dark\:hover\:bg-gray-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.dark\:hover\:bg-gray-800:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.dark\:hover\:bg-green-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}.dark\:hover\:bg-primary-50:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(0 173 211 / var(--tw-bg-opacity))}.dark\:hover\:bg-red-600:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.dark\:hover\:bg-secondary-100:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(20 39 74 / var(--tw-bg-opacity))}.dark\:hover\:bg-secondary-200:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(12 28 56 / var(--tw-bg-opacity))}.dark\:hover\:bg-secondary-300:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(24 39 64 / var(--tw-bg-opacity))}.dark\:hover\:text-blue-500:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.dark\:hover\:text-blue-700:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.dark\:hover\:text-gray-300:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.dark\:hover\:text-gray-900:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.dark\:hover\:text-primary-100:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(45 88 167 / var(--tw-text-opacity))}.dark\:hover\:text-primary-50:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(0 173 211 / var(--tw-text-opacity))}.dark\:hover\:text-white:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dark\:focus\:border-blue-500:focus:is(.dark *){--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.dark\:focus\:border-primary-100:focus:is(.dark *){--tw-border-opacity: 1;border-color:rgb(45 88 167 / var(--tw-border-opacity))}.dark\:focus\:text-white:focus:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dark\:focus\:ring-blue-600:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(28 100 242 / var(--tw-ring-opacity))}.dark\:focus\:ring-blue-800:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(30 66 159 / var(--tw-ring-opacity))}.dark\:focus\:ring-blue-900:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(35 56 118 / var(--tw-ring-opacity))}.dark\:focus\:ring-gray-500:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}.dark\:focus\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}.dark\:focus\:ring-gray-700:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(55 65 81 / var(--tw-ring-opacity))}.dark\:focus\:ring-gray-800:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}.dark\:focus\:ring-green-800:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(3 84 63 / var(--tw-ring-opacity))}.dark\:focus\:ring-primary-100:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(45 88 167 / var(--tw-ring-opacity))}.dark\:focus\:ring-red-800:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(155 28 28 / var(--tw-ring-opacity))}.dark\:focus\:ring-red-900:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(119 29 29 / var(--tw-ring-opacity))}.peer:checked~.dark\:peer-checked\:bg-primary-50:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(0 173 211 / var(--tw-bg-opacity))}.peer:checked~.dark\:peer-checked\:text-secondary-100:is(.dark *){--tw-text-opacity: 1;color:rgb(20 39 74 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\:m-8{margin:2rem}.sm\:ms-auto{margin-inline-start:auto}.sm\:mt-0{margin-top:0}.sm\:block{display:block}.sm\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:divide-x>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 0;border-right-width:calc(1px * var(--tw-divide-x-reverse));border-left-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}.sm\:rounded-lg{border-radius:.5rem}.sm\:p-5{padding:1.25rem}.sm\:px-16{padding-left:4rem;padding-right:4rem}.sm\:pe-4{padding-inline-end:1rem}.sm\:text-center{text-align:center}.sm\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width: 768px){.md\:inset-0{inset:0}.md\:mb-0{margin-bottom:0}.md\:mb-8{margin-bottom:2rem}.md\:mr-0{margin-right:0}.md\:mr-4{margin-right:1rem}.md\:mr-6{margin-right:1.5rem}.md\:ms-2{margin-inline-start:.5rem}.md\:mt-0{margin-top:0}.md\:block{display:block}.md\:flex{display:flex}.md\:table-cell{display:table-cell}.md\:grid{display:grid}.md\:hidden{display:none}.md\:h-8{height:2rem}.md\:h-auto{height:auto}.md\:h-full{height:100%}.md\:w-1\/2{width:50%}.md\:w-1\/3{width:33.333333%}.md\:w-1\/4{width:25%}.md\:w-1\/5{width:20%}.md\:w-2\/4{width:50%}.md\:w-3\/4{width:75%}.md\:w-4\/5{width:80%}.md\:w-8{width:2rem}.md\:w-fit{width:-moz-fit-content;width:fit-content}.md\:w-full{width:100%}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-20\/80{grid-template-columns:20% 80%}.md\:grid-cols-25\/75{grid-template-columns:25% 75%}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-40\/60{grid-template-columns:40% 60%}.md\:grid-cols-80\/20{grid-template-columns:80% 20%}.md\:grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:flex-col{flex-direction:column}.md\:items-center{align-items:center}.md\:justify-end{justify-content:flex-end}.md\:justify-items-start{justify-items:start}.md\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.md\:p-12{padding:3rem}.md\:p-5{padding:1.25rem}.md\:p-6{padding:1.5rem}.md\:p-8{padding:2rem}.md\:pb-4{padding-bottom:1rem}.md\:pl-5{padding-left:1.25rem}.md\:pl-8{padding-left:2rem}.md\:pt-4{padding-top:1rem}.md\:text-start{text-align:start}.md\:text-3xl{font-size:1.875rem;line-height:2.25rem}.md\:text-4xl{font-size:2.25rem;line-height:2.5rem}.md\:text-5xl{font-size:3rem;line-height:1}.md\:text-base{font-size:1rem;line-height:1.5rem}.md\:text-lg{font-size:1.125rem;line-height:1.75rem}.md\:text-xl{font-size:1.25rem;line-height:1.75rem}.md\:font-medium{font-weight:500}.md\:after\:mx-6:after{content:var(--tw-content);margin-left:1.5rem;margin-right:1.5rem}}@media (min-width: 1024px){.lg\:col-span-1{grid-column:span 1 / span 1}.lg\:mb-0{margin-bottom:0}.lg\:mt-0{margin-top:0}.lg\:block{display:block}.lg\:flex{display:flex}.lg\:table-cell{display:table-cell}.lg\:grid{display:grid}.lg\:hidden{display:none}.lg\:h-8{height:2rem}.lg\:h-\[calc\(100\%-1rem\)\]{height:calc(100% - 1rem)}.lg\:h-fit{height:-moz-fit-content;height:fit-content}.lg\:w-1\/2{width:50%}.lg\:w-1\/3{width:33.333333%}.lg\:w-1\/4{width:25%}.lg\:w-3\/4{width:75%}.lg\:w-8{width:2rem}.lg\:w-auto{width:auto}.lg\:auto-cols-auto{grid-auto-columns:auto}.lg\:grid-flow-col{grid-auto-flow:column}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-20\/80{grid-template-columns:20% 80%}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-60\/40{grid-template-columns:60% 40%}.lg\:grid-cols-80\/20{grid-template-columns:80% 20%}.lg\:flex-row{flex-direction:row}.lg\:items-start{align-items:flex-start}.lg\:space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.lg\:border-0{border-width:0px}.lg\:p-0{padding:0}.lg\:p-12{padding:3rem}.lg\:p-2{padding:.5rem}.lg\:p-2\.5{padding:.625rem}.lg\:p-5{padding:1.25rem}.lg\:px-12{padding-left:3rem;padding-right:3rem}.lg\:px-8{padding-left:2rem;padding-right:2rem}.lg\:py-10{padding-top:2.5rem;padding-bottom:2.5rem}.lg\:py-16{padding-top:4rem;padding-bottom:4rem}.lg\:pb-16{padding-bottom:4rem}.lg\:pb-5{padding-bottom:1.25rem}.lg\:pl-16{padding-left:4rem}.lg\:pr-16{padding-right:4rem}.lg\:pt-16{padding-top:4rem}.lg\:text-2xl{font-size:1.5rem;line-height:2rem}.lg\:text-4xl{font-size:2.25rem;line-height:2.5rem}.lg\:text-5xl{font-size:3rem;line-height:1}.lg\:text-6xl{font-size:3.75rem;line-height:1}.lg\:text-xl{font-size:1.25rem;line-height:1.75rem}.lg\:text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.lg\:hover\:bg-transparent:hover{background-color:transparent}.lg\:hover\:text-secondary-50:hover{--tw-text-opacity: 1;color:rgb(221 230 246 / var(--tw-text-opacity))}.lg\:dark\:hover\:bg-transparent:hover:is(.dark *){background-color:transparent}.lg\:dark\:hover\:text-blue-500:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}}@media (min-width: 1280px){.xl\:flex{display:flex}.xl\:table-cell{display:table-cell}.xl\:grid{display:grid}.xl\:w-1\/2{width:50%}.xl\:w-1\/4{width:25%}.xl\:grid-cols-20\/80{grid-template-columns:20% 80%}.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.xl\:grid-cols-80\/20{grid-template-columns:80% 20%}.xl\:gap-4{gap:1rem}.xl\:px-16{padding-left:4rem;padding-right:4rem}.xl\:px-48{padding-left:12rem;padding-right:12rem}.xl\:py-14{padding-top:3.5rem;padding-bottom:3.5rem}.xl\:after\:mx-10:after{content:var(--tw-content);margin-left:2.5rem;margin-right:2.5rem}}@media (min-width: 1536px){.\32xl\:px-20{padding-left:5rem;padding-right:5rem}}.ltr\:mr-0:where([dir=ltr],[dir=ltr] *){margin-right:0}.ltr\:mr-0\.5:where([dir=ltr],[dir=ltr] *){margin-right:.125rem}.rtl\:ml-0:where([dir=rtl],[dir=rtl] *){margin-left:0}.rtl\:ml-0\.5:where([dir=rtl],[dir=rtl] *){margin-left:.125rem}.rtl\:rotate-180:where([dir=rtl],[dir=rtl] *){--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rtl\:space-x-reverse:where([dir=rtl],[dir=rtl] *)>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 1}.rtl\:text-right:where([dir=rtl],[dir=rtl] *){text-align:right}.peer:checked~.rtl\:peer-checked\:after\:-translate-x-full:where([dir=rtl],[dir=rtl] *):after{content:var(--tw-content);--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (min-width: 640px){.sm\:rtl\:divide-x-reverse:where([dir=rtl],[dir=rtl] *)>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 1}} diff --git a/portal/bae-frontend/styles.1ed4cd4165fa09e2.css b/portal/bae-frontend/styles.1ed4cd4165fa09e2.css deleted file mode 100644 index cb68cc32..00000000 --- a/portal/bae-frontend/styles.1ed4cd4165fa09e2.css +++ /dev/null @@ -1 +0,0 @@ -.emoji-mart,.emoji-mart *{box-sizing:border-box;line-height:1.15}.emoji-mart{font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,sans-serif;font-size:16px;display:inline-block;color:#222427;border:1px solid #d9d9d9;border-radius:5px;background:#fff}.emoji-mart .emoji-mart-emoji{padding:6px}.emoji-mart-bar{border:0 solid #d9d9d9}.emoji-mart-bar:first-child{border-bottom-width:1px;border-top-left-radius:5px;border-top-right-radius:5px}.emoji-mart-bar:last-child{border-top-width:1px;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.emoji-mart-anchors{display:flex;flex-direction:row;justify-content:space-between;padding:0 6px;line-height:0}.emoji-mart-anchor{position:relative;display:block;flex:1 1 auto;color:#858585;text-align:center;padding:12px 4px;overflow:hidden;transition:color .1s ease-out;margin:0;box-shadow:none;background:none;border:none}.emoji-mart-anchor:focus{outline:0}.emoji-mart-anchor:hover,.emoji-mart-anchor:focus,.emoji-mart-anchor-selected{color:#464646}.emoji-mart-anchor-selected .emoji-mart-anchor-bar{bottom:0}.emoji-mart-anchor-bar{position:absolute;bottom:-3px;left:0;width:100%;height:3px;background-color:#464646}.emoji-mart-anchors i{display:inline-block;width:100%;max-width:22px}.emoji-mart-anchors svg,.emoji-mart-anchors img{fill:currentColor;height:18px}.emoji-mart-scroll{overflow-y:scroll;height:270px;padding:0 6px 6px;will-change:transform}.emoji-mart-search{margin-top:6px;padding:0 6px;position:relative}.emoji-mart-search input{font-size:16px;display:block;width:100%;padding:5px 25px 6px 10px;border-radius:5px;border:1px solid #d9d9d9;outline:0}.emoji-mart-search input,.emoji-mart-search input::-webkit-search-decoration,.emoji-mart-search input::-webkit-search-cancel-button,.emoji-mart-search input::-webkit-search-results-button,.emoji-mart-search input::-webkit-search-results-decoration{-webkit-appearance:none}.emoji-mart-search-icon{position:absolute;top:3px;right:11px;z-index:2;padding:2px 5px 1px;border:none;background:none}.emoji-mart-category .emoji-mart-emoji span{z-index:1;position:relative;text-align:center;cursor:default}.emoji-mart-category .emoji-mart-emoji:hover:before{z-index:0;content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:#f4f4f4;border-radius:100%}.emoji-mart-category-label{z-index:2;position:relative;position:sticky;top:0}.emoji-mart-category-label span{display:block;width:100%;font-weight:500;padding:5px 6px;background-color:#fff;background-color:#fffffff2}.emoji-mart-category-list{margin:0;padding:0}.emoji-mart-category-list li{list-style:none;margin:0;padding:0;display:inline-block}.emoji-mart-emoji{position:relative;display:inline-block;font-size:0;margin:0;padding:0;border:none;background:none;box-shadow:none}.emoji-mart-emoji-native{font-family:"Segoe UI Emoji",Segoe UI Symbol,Segoe UI,"Apple Color Emoji",Twemoji Mozilla,"Noto Color Emoji","Android Emoji"}.emoji-mart-no-results{font-size:14px;text-align:center;padding-top:70px;color:#858585}.emoji-mart-no-results .emoji-mart-category-label{display:none}.emoji-mart-no-results .emoji-mart-no-results-label{margin-top:.2em}.emoji-mart-no-results .emoji-mart-emoji:hover:before{content:none}.emoji-mart-preview{position:relative;height:70px}.emoji-mart-preview-emoji,.emoji-mart-preview-data,.emoji-mart-preview-skins{position:absolute;top:50%;transform:translateY(-50%)}.emoji-mart-preview-emoji{left:12px}.emoji-mart-preview-data{left:68px;right:12px;word-break:break-all}.emoji-mart-preview-skins{right:30px;text-align:right}.emoji-mart-preview-skins.custom{right:10px;text-align:right}.emoji-mart-preview-name{font-size:14px}.emoji-mart-preview-shortname{font-size:12px;color:#888}.emoji-mart-preview-shortname+.emoji-mart-preview-shortname,.emoji-mart-preview-shortname+.emoji-mart-preview-emoticon,.emoji-mart-preview-emoticon+.emoji-mart-preview-emoticon{margin-left:.5em}.emoji-mart-preview-emoticon{font-size:11px;color:#bbb}.emoji-mart-title span{display:inline-block;vertical-align:middle}.emoji-mart-title .emoji-mart-emoji{padding:0}.emoji-mart-title-label{color:#999a9c;font-size:26px;font-weight:300}.emoji-mart-skin-swatches{font-size:0;padding:2px 0;border:1px solid #d9d9d9;border-radius:12px;background-color:#fff}.emoji-mart-skin-swatches.custom{font-size:0;border:none;background-color:#fff}.emoji-mart-skin-swatches.opened .emoji-mart-skin-swatch{width:16px;padding:0 2px}.emoji-mart-skin-swatches.opened .emoji-mart-skin-swatch.selected:after{opacity:.75}.emoji-mart-skin-swatch{display:inline-block;width:0;vertical-align:middle;transition-property:width,padding;transition-duration:.125s;transition-timing-function:ease-out}.emoji-mart-skin-swatch:nth-child(1){transition-delay:0s}.emoji-mart-skin-swatch:nth-child(2){transition-delay:.03s}.emoji-mart-skin-swatch:nth-child(3){transition-delay:.06s}.emoji-mart-skin-swatch:nth-child(4){transition-delay:.09s}.emoji-mart-skin-swatch:nth-child(5){transition-delay:.12s}.emoji-mart-skin-swatch:nth-child(6){transition-delay:.15s}.emoji-mart-skin-swatch.selected{position:relative;width:16px;padding:0 2px}.emoji-mart-skin-swatch.selected:after{content:"";position:absolute;top:50%;left:50%;width:4px;height:4px;margin:-2px 0 0 -2px;background-color:#fff;border-radius:100%;pointer-events:none;opacity:0;transition:opacity .2s ease-out}.emoji-mart-skin-swatch.custom{display:inline-block;width:0;height:38px;overflow:hidden;vertical-align:middle;transition-property:width,height;transition-duration:.125s;transition-timing-function:ease-out;cursor:default}.emoji-mart-skin-swatch.custom.selected{position:relative;width:36px;height:38px;padding:0 2px 0 0}.emoji-mart-skin-swatch.custom.selected:after{content:"";width:0;height:0}.emoji-mart-skin-swatches.custom .emoji-mart-skin-swatch.custom:hover{background-color:#f4f4f4;border-radius:10%}.emoji-mart-skin-swatches.custom.opened .emoji-mart-skin-swatch.custom{width:36px;height:38px;padding:0 2px 0 0}.emoji-mart-skin-swatches.custom.opened .emoji-mart-skin-swatch.custom.selected:after{opacity:.75}.emoji-mart-skin-text.opened{display:inline-block;vertical-align:middle;text-align:left;color:#888;font-size:11px;padding:5px 2px;width:95px;height:40px;border-radius:10%;background-color:#fff}.emoji-mart-skin{display:inline-block;width:100%;padding-top:100%;max-width:12px;border-radius:100%}.emoji-mart-skin-tone-1{background-color:#ffc93a}.emoji-mart-skin-tone-2{background-color:#fadcbc}.emoji-mart-skin-tone-3{background-color:#e0bb95}.emoji-mart-skin-tone-4{background-color:#bf8f68}.emoji-mart-skin-tone-5{background-color:#9b643d}.emoji-mart-skin-tone-6{background-color:#594539}.emoji-mart-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.emoji-mart-dark{color:#fff;border-color:#555453;background-color:#222}.emoji-mart-dark .emoji-mart-bar{border-color:#555453}.emoji-mart-dark .emoji-mart-search input{color:#fff;border-color:#555453;background-color:#2f2f2f}.emoji-mart-dark .emoji-mart-search-icon svg{fill:#fff}.emoji-mart-dark .emoji-mart-category .emoji-mart-emoji:hover:before{background-color:#444}.emoji-mart-dark .emoji-mart-category-label span{background-color:#222;color:#fff}.emoji-mart-dark .emoji-mart-skin-swatches{border-color:#555453;background-color:#222}.emoji-mart-dark .emoji-mart-anchor:hover,.emoji-mart-dark .emoji-mart-anchor:focus,.emoji-mart-dark .emoji-mart-anchor-selected{color:#bfbfbf}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}.tooltip-arrow,.tooltip-arrow:before{position:absolute;width:8px;height:8px;background:inherit}.tooltip-arrow{visibility:hidden}.tooltip-arrow:before{content:"";visibility:visible;transform:rotate(45deg)}[data-tooltip-style^=light]+.tooltip>.tooltip-arrow:before{border-style:solid;border-color:#e5e7eb}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=top]>.tooltip-arrow:before{border-bottom-width:1px;border-right-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=right]>.tooltip-arrow:before{border-bottom-width:1px;border-left-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=bottom]>.tooltip-arrow:before{border-top-width:1px;border-left-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=left]>.tooltip-arrow:before{border-top-width:1px;border-right-width:1px}.tooltip[data-popper-placement^=top]>.tooltip-arrow{bottom:-4px}.tooltip[data-popper-placement^=bottom]>.tooltip-arrow{top:-4px}.tooltip[data-popper-placement^=left]>.tooltip-arrow{right:-4px}.tooltip[data-popper-placement^=right]>.tooltip-arrow{left:-4px}.tooltip.invisible>.tooltip-arrow:before{visibility:hidden}[data-popper-arrow],[data-popper-arrow]:before{position:absolute;width:8px;height:8px;background:inherit}[data-popper-arrow]{visibility:hidden}[data-popper-arrow]:before{content:"";visibility:visible;transform:rotate(45deg)}[data-popper-arrow]:after{content:"";visibility:visible;transform:rotate(45deg);position:absolute;width:9px;height:9px;background:inherit}[role=tooltip]>[data-popper-arrow]:before{border-style:solid;border-color:#e5e7eb}.dark [role=tooltip]>[data-popper-arrow]:before{border-style:solid;border-color:#4b5563}[role=tooltip]>[data-popper-arrow]:after{border-style:solid;border-color:#e5e7eb}.dark [role=tooltip]>[data-popper-arrow]:after{border-style:solid;border-color:#4b5563}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]:before{border-bottom-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]:after{border-bottom-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]:before{border-bottom-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]:after{border-bottom-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]:before{border-top-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]:after{border-top-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]:before{border-top-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]:after{border-top-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]{bottom:-5px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]{top:-5px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]{right:-5px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]{left:-5px}[role=tooltip].invisible>[data-popper-arrow]:before{visibility:hidden}[role=tooltip].invisible>[data-popper-arrow]:after{visibility:hidden}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #1C64F2;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#1c64f2}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}select:not([size]){background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 10 6'%3e %3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 1 4 4 4-4'/%3e %3c/svg%3e");background-position:right .75rem center;background-repeat:no-repeat;background-size:.75em .75em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#1c64f2;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #1C64F2;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked,.dark [type=checkbox]:checked,.dark [type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:.55em .55em;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 12'%3e %3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M1 5.917 5.724 10.5 15 1.5'/%3e %3c/svg%3e");background-repeat:no-repeat;background-size:.55em .55em;-webkit-print-color-adjust:exact;print-color-adjust:exact}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");background-size:1em 1em}.dark [type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");background-size:1em 1em}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 12'%3e %3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M1 5.917 5.724 10.5 15 1.5'/%3e %3c/svg%3e");background-color:currentColor;border-color:transparent;background-position:center;background-repeat:no-repeat;background-size:.55em .55em;-webkit-print-color-adjust:exact;print-color-adjust:exact}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px auto inherit}input[type=file]::file-selector-button{color:#fff;background:#1f2937;border:0;font-weight:500;font-size:.875rem;cursor:pointer;padding:.625rem 1rem .625rem 2rem;margin-inline-start:-1rem;margin-inline-end:1rem}input[type=file]::file-selector-button:hover{background:#374151}.dark input[type=file]::file-selector-button{color:#fff;background:#4b5563}.dark input[type=file]::file-selector-button:hover{background:#6b7280}input[type=range]::-webkit-slider-thumb{height:1.25rem;width:1.25rem;background:#1c64f2;border-radius:9999px;border:0;appearance:none;-moz-appearance:none;-webkit-appearance:none;cursor:pointer}input[type=range]:disabled::-webkit-slider-thumb{background:#9ca3af}.dark input[type=range]:disabled::-webkit-slider-thumb{background:#6b7280}input[type=range]:focus::-webkit-slider-thumb{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1px;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}input[type=range]::-moz-range-thumb{height:1.25rem;width:1.25rem;background:#1c64f2;border-radius:9999px;border:0;appearance:none;-moz-appearance:none;-webkit-appearance:none;cursor:pointer}input[type=range]:disabled::-moz-range-thumb{background:#9ca3af}.dark input[type=range]:disabled::-moz-range-thumb{background:#6b7280}input[type=range]::-moz-range-progress{background:#3f83f8}input[type=range]::-ms-fill-lower{background:#3f83f8}.toggle-bg:after{content:"";position:absolute;top:.125rem;left:.125rem;background:#fff;border-color:#d1d5db;border-width:1px;border-radius:9999px;height:1.25rem;width:1.25rem;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;box-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)}input:checked+.toggle-bg:after{transform:translate(100%);border-color:#fff}input:checked+.toggle-bg{background:#1c64f2;border-color:#1c64f2}html{font-family:Blinker,system-ui,sans-serif}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(63 131 248 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(63 131 248 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.bottom-0{bottom:0}.bottom-12{bottom:3rem}.bottom-\[60px\]{bottom:60px}.end-0{inset-inline-end:0px}.end-2{inset-inline-end:.5rem}.end-2\.5{inset-inline-end:.625rem}.left-0{left:0}.left-1\/2{left:50%}.right-0{right:0}.right-2{right:.5rem}.right-2\.5{right:.625rem}.right-4{right:1rem}.start-0{inset-inline-start:0px}.top-0{top:0}.top-1\/2{top:50%}.top-2{top:.5rem}.top-2\.5{top:.625rem}.top-3{top:.75rem}.top-4{top:1rem}.top-\[100vh\]{top:100vh}.top-\[118px\]{top:118px}.top-\[72px\]{top:72px}.isolate{isolation:isolate}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.col-span-2{grid-column:span 2 / span 2}.float-left{float:left}.m-2{margin:.5rem}.m-4{margin:1rem}.m-8{margin:2rem}.m-auto{margin:auto}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-1\.5{margin-left:-.375rem;margin-right:-.375rem}.-mx-4{margin-left:-1rem;margin-right:-1rem}.-my-1{margin-top:-.25rem;margin-bottom:-.25rem}.-my-1\.5{margin-top:-.375rem;margin-bottom:-.375rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-5{margin-left:1.25rem;margin-right:1.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.-mb-px{margin-bottom:-1px}.-ml-1{margin-left:-.25rem}.-mr-1{margin-right:-.25rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-3\.5{margin-bottom:.875rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-7{margin-bottom:1.75rem}.mb-8{margin-bottom:2rem}.me-2{margin-inline-end:.5rem}.me-3{margin-inline-end:.75rem}.me-5{margin-inline-end:1.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-6{margin-left:1.5rem}.ml-8{margin-left:2rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-1\.5{margin-right:.375rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mr-7{margin-right:1.75rem}.mr-8{margin-right:2rem}.ms-1{margin-inline-start:.25rem}.ms-2{margin-inline-start:.5rem}.ms-2\.5{margin-inline-start:.625rem}.ms-3{margin-inline-start:.75rem}.ms-auto{margin-inline-start:auto}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-2\.5{margin-top:.625rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-8{margin-top:2rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-5{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5}.line-clamp-6{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-1\/4{height:25%}.h-10{height:2.5rem}.h-12{height:3rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-2\/4{height:50%}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-3\/4{height:75%}.h-4{height:1rem}.h-48{height:12rem}.h-5{height:1.25rem}.h-5\/6{height:83.333333%}.h-6{height:1.5rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[100px\]{height:100px}.h-\[12px\]{height:12px}.h-\[18px\]{height:18px}.h-\[200px\]{height:200px}.h-\[25px\]{height:25px}.h-\[30px\]{height:30px}.h-\[50px\]{height:50px}.h-\[75px\]{height:75px}.h-\[calc\(100\%-1rem\)\]{height:calc(100% - 1rem)}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.h-modal{height:calc(100% - 2rem)}.h-px{height:1px}.h-screen{height:100vh}.max-h-48{max-height:12rem}.max-h-\[300px\]{max-height:300px}.max-h-\[350px\]{max-height:350px}.max-h-\[46px\]{max-height:46px}.max-h-\[80vh\]{max-height:80vh}.max-h-full{max-height:100%}.max-h-screen{max-height:100vh}.min-h-10{min-height:2.5rem}.min-h-\[58px\]{min-height:58px}.w-1\/2{width:50%}.w-1\/3{width:33.333333%}.w-1\/4{width:25%}.w-1\/5{width:20%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-2\/3{width:66.666667%}.w-2\/4{width:50%}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-3\/5{width:60%}.w-4{width:1rem}.w-4\/5{width:80%}.w-44{width:11rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-5\/6{width:83.333333%}.w-6{width:1.5rem}.w-64{width:16rem}.w-8{width:2rem}.w-\[12px\]{width:12px}.w-\[18px\]{width:18px}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-10{min-width:2.5rem}.min-w-fit{min-width:-moz-fit-content;min-width:fit-content}.max-w-7xl{max-width:80rem}.max-w-\[calc\(100vw-5rem\)\]{max-width:calc(100vw - 5rem)}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-screen-xl{max-width:1280px}.max-w-sm{max-width:24rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink{flex-shrink:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-full{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-full{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform-none{transform:none}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-inside{list-style-position:inside}.list-disc{list-style-type:disc}.grid-flow-row{grid-auto-flow:row}.auto-rows-max{grid-auto-rows:max-content}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-20\/80{grid-template-columns:20% 80%}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.grid-cols-80\/20{grid-template-columns:80% 20%}.grid-rows-20\/80{grid-template-rows:20% 80%}.grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-content-center{place-content:center}.place-items-center{place-items:center}.content-center{align-content:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-items-end{justify-items:end}.justify-items-center{justify-items:center}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-8{gap:2rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(243 244 246 / var(--tw-divide-opacity))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity))}.divide-primary-100\/50>:not([hidden])~:not([hidden]){border-color:#2d58a780}.self-center{align-self:center}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.text-wrap{text-wrap:wrap}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-b-lg{border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-e-lg{border-start-end-radius:.5rem;border-end-end-radius:.5rem}.rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-r-lg{border-top-right-radius:.5rem;border-bottom-right-radius:.5rem}.rounded-s-lg{border-start-start-radius:.5rem;border-end-start-radius:.5rem}.rounded-s-md{border-start-start-radius:.375rem;border-end-start-radius:.375rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.rounded-tr-lg{border-top-right-radius:.5rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0px}.border-b-2{border-bottom-width:2px}.border-e-0{border-inline-end-width:0px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-s-2{border-inline-start-width:2px}.border-t{border-top-width:1px}.border-blue-400{--tw-border-opacity: 1;border-color:rgb(118 169 250 / var(--tw-border-opacity))}.border-blue-600{--tw-border-opacity: 1;border-color:rgb(28 100 242 / var(--tw-border-opacity))}.border-blue-700{--tw-border-opacity: 1;border-color:rgb(26 86 219 / var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.border-green-300{--tw-border-opacity: 1;border-color:rgb(132 225 188 / var(--tw-border-opacity))}.border-green-500{--tw-border-opacity: 1;border-color:rgb(14 159 110 / var(--tw-border-opacity))}.border-primary-100{--tw-border-opacity: 1;border-color:rgb(45 88 167 / var(--tw-border-opacity))}.border-primary-50{--tw-border-opacity: 1;border-color:rgb(0 173 211 / var(--tw-border-opacity))}.border-red-300{--tw-border-opacity: 1;border-color:rgb(248 180 180 / var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(240 82 82 / var(--tw-border-opacity))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(224 36 36 / var(--tw-border-opacity))}.border-secondary-50{--tw-border-opacity: 1;border-color:rgb(221 230 246 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.border-yellow-500{--tw-border-opacity: 1;border-color:rgb(194 120 3 / var(--tw-border-opacity))}.border-s-gray-50{--tw-border-opacity: 1;border-inline-start-color:rgb(249 250 251 / var(--tw-border-opacity))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}.bg-blue-300{--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(235 245 255 / var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.bg-blue-900\/20{background-color:#23387633}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-gray-900\/50{background-color:#11182780}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(222 247 236 / var(--tw-bg-opacity))}.bg-green-200{--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}.bg-green-300{--tw-bg-opacity: 1;background-color:rgb(132 225 188 / var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(14 159 110 / var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}.bg-green-700{--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}.bg-indigo-300{--tw-bg-opacity: 1;background-color:rgb(180 198 252 / var(--tw-bg-opacity))}.bg-primary-100{--tw-bg-opacity: 1;background-color:rgb(45 88 167 / var(--tw-bg-opacity))}.bg-primary-50{--tw-bg-opacity: 1;background-color:rgb(0 173 211 / var(--tw-bg-opacity))}.bg-primary-50\/50{background-color:#00add380}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(237 235 254 / var(--tw-bg-opacity))}.bg-red-200{--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(253 242 242 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(240 82 82 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}.bg-red-800{--tw-bg-opacity: 1;background-color:rgb(155 28 28 / var(--tw-bg-opacity))}.bg-secondary-300{--tw-bg-opacity: 1;background-color:rgb(24 39 64 / var(--tw-bg-opacity))}.bg-secondary-50{--tw-bg-opacity: 1;background-color:rgb(221 230 246 / var(--tw-bg-opacity))}.bg-secondary-50\/90{background-color:#dde6f6e6}.bg-secondary-50\/95{background-color:#dde6f6f2}.bg-slate-400{--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-white\/50{background-color:#ffffff80}.bg-yellow-200{--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}.bg-yellow-300{--tw-bg-opacity: 1;background-color:rgb(250 202 21 / var(--tw-bg-opacity))}.bg-opacity-100{--tw-bg-opacity: 1}.bg-opacity-25{--tw-bg-opacity: .25}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-60{--tw-bg-opacity: .6}.box-decoration-clone{-webkit-box-decoration-break:clone;box-decoration-break:clone}.bg-cover{background-size:cover}.bg-fixed{background-attachment:fixed}.bg-center{background-position:center}.bg-right{background-position:right}.bg-right-bottom{background-position:right bottom}.bg-no-repeat{background-repeat:no-repeat}.fill-blue-600{fill:#1c64f2}.stroke-2{stroke-width:2}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-12{padding-bottom:3rem}.pb-2{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pb-5{padding-bottom:1.25rem}.pb-6{padding-bottom:1.5rem}.pb-8{padding-bottom:2rem}.pb-\[25px\]{padding-bottom:25px}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.pr-8{padding-right:2rem}.pt-12{padding-top:3rem}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.pt-40{padding-top:10rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.pt-\[130px\]{padding-top:130px}.pt-\[75px\]{padding-top:75px}.text-left{text-align:left}.text-center{text-align:center}.text-start{text-align:start}.align-middle{vertical-align:middle}.align-bottom{vertical-align:bottom}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.leading-6{line-height:1.5rem}.leading-9{line-height:2.25rem}.leading-none{line-height:1}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}.text-green-700{--tw-text-opacity: 1;color:rgb(4 108 78 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(3 84 63 / var(--tw-text-opacity))}.text-primary-100{--tw-text-opacity: 1;color:rgb(45 88 167 / var(--tw-text-opacity))}.text-primary-50{--tw-text-opacity: 1;color:rgb(0 173 211 / var(--tw-text-opacity))}.text-purple-800{--tw-text-opacity: 1;color:rgb(85 33 181 / var(--tw-text-opacity))}.text-red-200{--tw-text-opacity: 1;color:rgb(251 213 213 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(224 36 36 / var(--tw-text-opacity))}.text-red-700{--tw-text-opacity: 1;color:rgb(200 30 30 / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(155 28 28 / var(--tw-text-opacity))}.text-red-900{--tw-text-opacity: 1;color:rgb(119 29 29 / var(--tw-text-opacity))}.text-secondary-50{--tw-text-opacity: 1;color:rgb(221 230 246 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-300{--tw-text-opacity: 1;color:rgb(250 202 21 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(194 120 3 / var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(142 75 16 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.decoration-primary-100{text-decoration-color:#2d58a7}.decoration-8{text-decoration-thickness:8px}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-25{opacity:.25}.opacity-50{opacity:.5}.opacity-75{opacity:.75}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-width{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.delay-200{transition-delay:.2s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-3000{transition-duration:3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}:root{--blockquote-border-color: #ccc;--blockquote-bg-color: #dde6f6;--blockquote-text-color: black}@media (prefers-color-scheme: dark){:root{--blockquote-border-color: #171717;--blockquote-bg-color: #0c1c38;--blockquote-text-color: #eee}}markdown{font-family:Blinker,system-ui,sans-serif;line-height:1.6;font-style:var(--blockquote-text-color)}markdown h1{font-size:2em;margin-bottom:.5em}markdown h2{font-size:1.5em;margin-bottom:.5em}markdown h3{font-size:1.17em;margin-bottom:.5em}markdown h4{font-size:1em;margin-bottom:.5em}markdown h5{font-size:.83em;margin-bottom:.5em}markdown h6{font-size:.67em;margin-bottom:.5em}markdown p{margin-bottom:1em}markdown p:last-child{margin-bottom:0}markdown ul,markdown ol{margin-bottom:1em}markdown ul ul,markdown ul ol,markdown ol ul,markdown ol ol{margin-top:.5em;margin-left:1.5em}markdown ul li,markdown ol li{margin-bottom:.5em;margin-left:1.5em}markdown ul li{list-style-type:disc}markdown ol li{list-style-type:decimal}markdown blockquote{margin-left:0;padding-left:1em;border-left:2px solid var(--blockquote-border-color)}markdown code{font-family:monospace;background-color:#2d58a7;padding:.2em .4em;border-radius:3px}markdown pre{font-family:monospace;background-color:#2d58a7;padding:.5em;border-radius:3px;overflow:auto}markdown table{border-collapse:collapse;width:100%}markdown table th,markdown table td{border:1px solid var(--blockquote-border-color);padding:8px}markdown table th{background-color:#2d58a7}markdown body.dark table th{background-color:#2d58a7}markdown img{max-width:100%;height:auto}markdown a{color:#007bff;text-decoration:none}markdown a:hover{text-decoration:underline}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:start-\[2px\]:after{content:var(--tw-content);inset-inline-start:2px}.after\:top-0:after{content:var(--tw-content);top:0}.after\:top-0\.5:after{content:var(--tw-content);top:.125rem}.after\:mx-2:after{content:var(--tw-content);margin-left:.5rem;margin-right:.5rem}.after\:inline-block:after{content:var(--tw-content);display:inline-block}.after\:h-1:after{content:var(--tw-content);height:.25rem}.after\:h-5:after{content:var(--tw-content);height:1.25rem}.after\:w-5:after{content:var(--tw-content);width:1.25rem}.after\:w-full:after{content:var(--tw-content);width:100%}.after\:rounded-full:after{content:var(--tw-content);border-radius:9999px}.after\:border:after{content:var(--tw-content);border-width:1px}.after\:border-4:after{content:var(--tw-content);border-width:4px}.after\:border-b:after{content:var(--tw-content);border-bottom-width:1px}.after\:border-gray-300:after{content:var(--tw-content);--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.after\:border-gray-400:after{content:var(--tw-content);--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.after\:border-gray-700:after{content:var(--tw-content);--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.after\:border-primary-100:after{content:var(--tw-content);--tw-border-opacity: 1;border-color:rgb(45 88 167 / var(--tw-border-opacity))}.after\:bg-white:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.after\:transition-all:after{content:var(--tw-content);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.after\:content-\[\'\'\]:after{--tw-content: "";content:var(--tw-content)}.hover\:border-gray-300:hover{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.hover\:border-primary-50:hover{--tw-border-opacity: 1;border-color:rgb(0 173 211 / var(--tw-border-opacity))}.hover\:bg-blue-600:hover{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.hover\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.hover\:bg-blue-800:hover{--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-300:hover{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.hover\:bg-green-800:hover{--tw-bg-opacity: 1;background-color:rgb(3 84 63 / var(--tw-bg-opacity))}.hover\:bg-green-900:hover{--tw-bg-opacity: 1;background-color:rgb(1 71 55 / var(--tw-bg-opacity))}.hover\:bg-primary-100:hover{--tw-bg-opacity: 1;background-color:rgb(45 88 167 / var(--tw-bg-opacity))}.hover\:bg-primary-50:hover{--tw-bg-opacity: 1;background-color:rgb(0 173 211 / var(--tw-bg-opacity))}.hover\:bg-red-600:hover{--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}.hover\:bg-red-800:hover{--tw-bg-opacity: 1;background-color:rgb(155 28 28 / var(--tw-bg-opacity))}.hover\:bg-red-900:hover{--tw-bg-opacity: 1;background-color:rgb(119 29 29 / var(--tw-bg-opacity))}.hover\:bg-secondary-100:hover{--tw-bg-opacity: 1;background-color:rgb(20 39 74 / var(--tw-bg-opacity))}.hover\:bg-secondary-50:hover{--tw-bg-opacity: 1;background-color:rgb(221 230 246 / var(--tw-bg-opacity))}.hover\:bg-slate-500:hover{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.hover\:text-primary-100:hover{--tw-text-opacity: 1;color:rgb(45 88 167 / var(--tw-text-opacity))}.hover\:text-primary-50:hover{--tw-text-opacity: 1;color:rgb(0 173 211 / var(--tw-text-opacity))}.hover\:text-secondary-50:hover{--tw-text-opacity: 1;color:rgb(221 230 246 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.focus\:z-10:focus{z-index:10}.focus\:border-blue-500:focus{--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.focus\:border-primary-50:focus{--tw-border-opacity: 1;border-color:rgb(0 173 211 / var(--tw-border-opacity))}.focus\:shadow:focus{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:outline-0:focus{outline-width:0px}.focus\:ring-0:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-1:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-4:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}.focus\:ring-blue-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(118 169 250 / var(--tw-ring-opacity))}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity))}.focus\:ring-gray-100:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(243 244 246 / var(--tw-ring-opacity))}.focus\:ring-gray-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(229 231 235 / var(--tw-ring-opacity))}.focus\:ring-gray-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.focus\:ring-gray-800:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}.focus\:ring-green-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(132 225 188 / var(--tw-ring-opacity))}.focus\:ring-green-700:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(4 108 78 / var(--tw-ring-opacity))}.focus\:ring-primary-100:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(45 88 167 / var(--tw-ring-opacity))}.focus\:ring-primary-50:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 173 211 / var(--tw-ring-opacity))}.focus\:ring-red-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 180 180 / var(--tw-ring-opacity))}.focus\:ring-red-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}.group:hover .group-hover\:opacity-100{opacity:1}.peer:checked~.peer-checked\:border{border-width:1px}.peer:checked~.peer-checked\:border-primary-100{--tw-border-opacity: 1;border-color:rgb(45 88 167 / var(--tw-border-opacity))}.peer:checked~.peer-checked\:border-primary-50{--tw-border-opacity: 1;border-color:rgb(0 173 211 / var(--tw-border-opacity))}.peer:checked~.peer-checked\:bg-primary-100{--tw-bg-opacity: 1;background-color:rgb(45 88 167 / var(--tw-bg-opacity))}.peer:checked~.peer-checked\:text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.peer:checked~.peer-checked\:after\:translate-x-full:after{content:var(--tw-content);--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:checked~.peer-checked\:after\:border-white:after{content:var(--tw-content);--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.peer:focus~.peer-focus\:ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.peer:focus~.peer-focus\:ring-primary-100{--tw-ring-opacity: 1;--tw-ring-color: rgb(45 88 167 / var(--tw-ring-opacity))}.dark\:divide-gray-600:is(.dark *)>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(75 85 99 / var(--tw-divide-opacity))}.dark\:divide-secondary-200:is(.dark *)>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(12 28 56 / var(--tw-divide-opacity))}.dark\:border-blue-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.dark\:border-gray-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.dark\:border-gray-600:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.dark\:border-gray-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.dark\:border-gray-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.dark\:border-primary-50:is(.dark *){--tw-border-opacity: 1;border-color:rgb(0 173 211 / var(--tw-border-opacity))}.dark\:border-red-900:is(.dark *){--tw-border-opacity: 1;border-color:rgb(119 29 29 / var(--tw-border-opacity))}.dark\:border-secondary-100:is(.dark *){--tw-border-opacity: 1;border-color:rgb(20 39 74 / var(--tw-border-opacity))}.dark\:border-secondary-200:is(.dark *){--tw-border-opacity: 1;border-color:rgb(12 28 56 / var(--tw-border-opacity))}.dark\:border-secondary-300:is(.dark *){--tw-border-opacity: 1;border-color:rgb(24 39 64 / var(--tw-border-opacity))}.dark\:border-transparent:is(.dark *){border-color:transparent}.dark\:border-white:is(.dark *){--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.dark\:border-s-gray-700:is(.dark *){--tw-border-opacity: 1;border-inline-start-color:rgb(55 65 81 / var(--tw-border-opacity))}.dark\:bg-blue-200:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.dark\:bg-blue-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.dark\:bg-blue-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.dark\:bg-gray-200:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.dark\:bg-gray-400:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.dark\:bg-gray-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.dark\:bg-gray-700:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.dark\:bg-gray-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.dark\:bg-gray-800\/50:is(.dark *){background-color:#1f293780}.dark\:bg-gray-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.dark\:bg-gray-900\/80:is(.dark *){background-color:#111827cc}.dark\:bg-green-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(14 159 110 / var(--tw-bg-opacity))}.dark\:bg-green-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}.dark\:bg-primary-100:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(45 88 167 / var(--tw-bg-opacity))}.dark\:bg-red-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(240 82 82 / var(--tw-bg-opacity))}.dark\:bg-red-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(119 29 29 / var(--tw-bg-opacity))}.dark\:bg-secondary-100:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(20 39 74 / var(--tw-bg-opacity))}.dark\:bg-secondary-100\/90:is(.dark *){background-color:#14274ae6}.dark\:bg-secondary-100\/95:is(.dark *){background-color:#14274af2}.dark\:bg-secondary-200:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(12 28 56 / var(--tw-bg-opacity))}.dark\:bg-secondary-300:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(24 39 64 / var(--tw-bg-opacity))}.dark\:bg-secondary-50:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(221 230 246 / var(--tw-bg-opacity))}.dark\:bg-white:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.dark\:bg-opacity-60:is(.dark *){--tw-bg-opacity: .6}.dark\:bg-opacity-80:is(.dark *){--tw-bg-opacity: .8}.dark\:text-blue-400:is(.dark *){--tw-text-opacity: 1;color:rgb(118 169 250 / var(--tw-text-opacity))}.dark\:text-blue-500:is(.dark *){--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.dark\:text-blue-800:is(.dark *){--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}.dark\:text-gray-100:is(.dark *){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}.dark\:text-gray-200:is(.dark *){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.dark\:text-gray-300:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.dark\:text-gray-400:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.dark\:text-gray-500:is(.dark *){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.dark\:text-gray-600:is(.dark *){--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.dark\:text-green-400:is(.dark *){--tw-text-opacity: 1;color:rgb(49 196 141 / var(--tw-text-opacity))}.dark\:text-primary-100:is(.dark *){--tw-text-opacity: 1;color:rgb(45 88 167 / var(--tw-text-opacity))}.dark\:text-primary-50:is(.dark *){--tw-text-opacity: 1;color:rgb(0 173 211 / var(--tw-text-opacity))}.dark\:text-purple-400:is(.dark *){--tw-text-opacity: 1;color:rgb(172 148 250 / var(--tw-text-opacity))}.dark\:text-red-500:is(.dark *){--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.dark\:text-secondary-50:is(.dark *){--tw-text-opacity: 1;color:rgb(221 230 246 / var(--tw-text-opacity))}.dark\:text-white:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dark\:decoration-primary-100:is(.dark *){text-decoration-color:#2d58a7}.dark\:placeholder-gray-400:is(.dark *)::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.dark\:ring-offset-gray-700:is(.dark *){--tw-ring-offset-color: #374151}.dark\:ring-offset-gray-800:is(.dark *){--tw-ring-offset-color: #1F2937}.dark\:after\:border-gray-400:is(.dark *):after{content:var(--tw-content);--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.dark\:hover\:border-gray-600:hover:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.dark\:hover\:bg-blue-600:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.dark\:hover\:bg-blue-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.dark\:hover\:bg-gray-600:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.dark\:hover\:bg-gray-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.dark\:hover\:bg-gray-800:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.dark\:hover\:bg-green-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}.dark\:hover\:bg-primary-50:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(0 173 211 / var(--tw-bg-opacity))}.dark\:hover\:bg-red-600:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.dark\:hover\:bg-secondary-100:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(20 39 74 / var(--tw-bg-opacity))}.dark\:hover\:bg-secondary-200:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(12 28 56 / var(--tw-bg-opacity))}.dark\:hover\:bg-secondary-300:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(24 39 64 / var(--tw-bg-opacity))}.dark\:hover\:text-blue-500:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.dark\:hover\:text-blue-700:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.dark\:hover\:text-gray-300:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.dark\:hover\:text-gray-900:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.dark\:hover\:text-primary-100:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(45 88 167 / var(--tw-text-opacity))}.dark\:hover\:text-primary-50:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(0 173 211 / var(--tw-text-opacity))}.dark\:hover\:text-white:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dark\:focus\:border-blue-500:focus:is(.dark *){--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.dark\:focus\:border-primary-100:focus:is(.dark *){--tw-border-opacity: 1;border-color:rgb(45 88 167 / var(--tw-border-opacity))}.dark\:focus\:text-white:focus:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dark\:focus\:ring-blue-600:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(28 100 242 / var(--tw-ring-opacity))}.dark\:focus\:ring-blue-800:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(30 66 159 / var(--tw-ring-opacity))}.dark\:focus\:ring-blue-900:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(35 56 118 / var(--tw-ring-opacity))}.dark\:focus\:ring-gray-500:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}.dark\:focus\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}.dark\:focus\:ring-gray-700:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(55 65 81 / var(--tw-ring-opacity))}.dark\:focus\:ring-gray-800:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}.dark\:focus\:ring-green-800:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(3 84 63 / var(--tw-ring-opacity))}.dark\:focus\:ring-primary-100:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(45 88 167 / var(--tw-ring-opacity))}.dark\:focus\:ring-red-800:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(155 28 28 / var(--tw-ring-opacity))}.dark\:focus\:ring-red-900:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(119 29 29 / var(--tw-ring-opacity))}.peer:checked~.dark\:peer-checked\:bg-primary-50:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(0 173 211 / var(--tw-bg-opacity))}.peer:checked~.dark\:peer-checked\:text-secondary-100:is(.dark *){--tw-text-opacity: 1;color:rgb(20 39 74 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\:m-8{margin:2rem}.sm\:ms-auto{margin-inline-start:auto}.sm\:mt-0{margin-top:0}.sm\:block{display:block}.sm\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:justify-center{justify-content:center}.sm\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.sm\:divide-x>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 0;border-right-width:calc(1px * var(--tw-divide-x-reverse));border-left-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}.sm\:rounded-lg{border-radius:.5rem}.sm\:p-5{padding:1.25rem}.sm\:px-16{padding-left:4rem;padding-right:4rem}.sm\:pe-4{padding-inline-end:1rem}.sm\:text-center{text-align:center}.sm\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width: 768px){.md\:inset-0{inset:0}.md\:mb-0{margin-bottom:0}.md\:mb-8{margin-bottom:2rem}.md\:mr-0{margin-right:0}.md\:mr-4{margin-right:1rem}.md\:mr-6{margin-right:1.5rem}.md\:ms-2{margin-inline-start:.5rem}.md\:block{display:block}.md\:flex{display:flex}.md\:table-cell{display:table-cell}.md\:grid{display:grid}.md\:hidden{display:none}.md\:h-8{height:2rem}.md\:h-auto{height:auto}.md\:h-full{height:100%}.md\:w-1\/2{width:50%}.md\:w-1\/3{width:33.333333%}.md\:w-1\/4{width:25%}.md\:w-1\/5{width:20%}.md\:w-2\/4{width:50%}.md\:w-3\/4{width:75%}.md\:w-4\/5{width:80%}.md\:w-8{width:2rem}.md\:w-fit{width:-moz-fit-content;width:fit-content}.md\:w-full{width:100%}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-20\/80{grid-template-columns:20% 80%}.md\:grid-cols-25\/75{grid-template-columns:25% 75%}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-40\/60{grid-template-columns:40% 60%}.md\:grid-cols-80\/20{grid-template-columns:80% 20%}.md\:grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:flex-col{flex-direction:column}.md\:items-center{align-items:center}.md\:justify-end{justify-content:flex-end}.md\:justify-items-start{justify-items:start}.md\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.md\:p-12{padding:3rem}.md\:p-5{padding:1.25rem}.md\:p-6{padding:1.5rem}.md\:p-8{padding:2rem}.md\:pb-4{padding-bottom:1rem}.md\:pl-5{padding-left:1.25rem}.md\:pl-8{padding-left:2rem}.md\:pt-4{padding-top:1rem}.md\:text-start{text-align:start}.md\:text-3xl{font-size:1.875rem;line-height:2.25rem}.md\:text-4xl{font-size:2.25rem;line-height:2.5rem}.md\:text-5xl{font-size:3rem;line-height:1}.md\:text-base{font-size:1rem;line-height:1.5rem}.md\:text-lg{font-size:1.125rem;line-height:1.75rem}.md\:text-xl{font-size:1.25rem;line-height:1.75rem}.md\:font-medium{font-weight:500}.md\:after\:mx-6:after{content:var(--tw-content);margin-left:1.5rem;margin-right:1.5rem}}@media (min-width: 1024px){.lg\:col-span-1{grid-column:span 1 / span 1}.lg\:mb-0{margin-bottom:0}.lg\:mt-0{margin-top:0}.lg\:block{display:block}.lg\:flex{display:flex}.lg\:table-cell{display:table-cell}.lg\:grid{display:grid}.lg\:hidden{display:none}.lg\:h-8{height:2rem}.lg\:h-\[calc\(100\%-1rem\)\]{height:calc(100% - 1rem)}.lg\:h-fit{height:-moz-fit-content;height:fit-content}.lg\:w-1\/2{width:50%}.lg\:w-1\/3{width:33.333333%}.lg\:w-1\/4{width:25%}.lg\:w-3\/4{width:75%}.lg\:w-8{width:2rem}.lg\:w-auto{width:auto}.lg\:auto-cols-auto{grid-auto-columns:auto}.lg\:grid-flow-col{grid-auto-flow:column}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-20\/80{grid-template-columns:20% 80%}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-60\/40{grid-template-columns:60% 40%}.lg\:grid-cols-80\/20{grid-template-columns:80% 20%}.lg\:flex-row{flex-direction:row}.lg\:items-start{align-items:flex-start}.lg\:space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.lg\:border-0{border-width:0px}.lg\:p-0{padding:0}.lg\:p-12{padding:3rem}.lg\:p-2{padding:.5rem}.lg\:p-2\.5{padding:.625rem}.lg\:p-5{padding:1.25rem}.lg\:px-12{padding-left:3rem;padding-right:3rem}.lg\:px-8{padding-left:2rem;padding-right:2rem}.lg\:py-10{padding-top:2.5rem;padding-bottom:2.5rem}.lg\:py-16{padding-top:4rem;padding-bottom:4rem}.lg\:pb-16{padding-bottom:4rem}.lg\:pb-5{padding-bottom:1.25rem}.lg\:pl-16{padding-left:4rem}.lg\:pr-16{padding-right:4rem}.lg\:pt-16{padding-top:4rem}.lg\:text-2xl{font-size:1.5rem;line-height:2rem}.lg\:text-4xl{font-size:2.25rem;line-height:2.5rem}.lg\:text-5xl{font-size:3rem;line-height:1}.lg\:text-6xl{font-size:3.75rem;line-height:1}.lg\:text-xl{font-size:1.25rem;line-height:1.75rem}.lg\:text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.lg\:hover\:bg-transparent:hover{background-color:transparent}.lg\:hover\:text-secondary-50:hover{--tw-text-opacity: 1;color:rgb(221 230 246 / var(--tw-text-opacity))}.lg\:dark\:hover\:bg-transparent:hover:is(.dark *){background-color:transparent}.lg\:dark\:hover\:text-blue-500:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}}@media (min-width: 1280px){.xl\:flex{display:flex}.xl\:table-cell{display:table-cell}.xl\:grid{display:grid}.xl\:w-1\/2{width:50%}.xl\:w-1\/4{width:25%}.xl\:grid-cols-20\/80{grid-template-columns:20% 80%}.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.xl\:grid-cols-80\/20{grid-template-columns:80% 20%}.xl\:gap-4{gap:1rem}.xl\:px-16{padding-left:4rem;padding-right:4rem}.xl\:px-48{padding-left:12rem;padding-right:12rem}.xl\:py-14{padding-top:3.5rem;padding-bottom:3.5rem}.xl\:after\:mx-10:after{content:var(--tw-content);margin-left:2.5rem;margin-right:2.5rem}}@media (min-width: 1536px){.\32xl\:px-20{padding-left:5rem;padding-right:5rem}}.ltr\:mr-0:where([dir=ltr],[dir=ltr] *){margin-right:0}.ltr\:mr-0\.5:where([dir=ltr],[dir=ltr] *){margin-right:.125rem}.rtl\:ml-0:where([dir=rtl],[dir=rtl] *){margin-left:0}.rtl\:ml-0\.5:where([dir=rtl],[dir=rtl] *){margin-left:.125rem}.rtl\:rotate-180:where([dir=rtl],[dir=rtl] *){--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rtl\:space-x-reverse:where([dir=rtl],[dir=rtl] *)>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 1}.rtl\:text-right:where([dir=rtl],[dir=rtl] *){text-align:right}.peer:checked~.rtl\:peer-checked\:after\:-translate-x-full:where([dir=rtl],[dir=rtl] *):after{content:var(--tw-content);--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (min-width: 640px){.sm\:rtl\:divide-x-reverse:where([dir=rtl],[dir=rtl] *)>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 1}} diff --git a/server.js b/server.js index 4fc16ef0..416df62f 100755 --- a/server.js +++ b/server.js @@ -24,6 +24,7 @@ const shoppingCart = require('./controllers/shoppingCart').shoppingCart; const management = require('./controllers/management').management; const tmf = require('./controllers/tmf').tmf(); const admin = require('./controllers/admin').admin(); +const stats = require('./controllers/stats').stats(); const trycatch = require('trycatch'); const url = require('url'); const utils = require('./lib/utils'); @@ -394,6 +395,8 @@ app.get('/config', (_, res) => { }) }) +app.get('/stats', stats.getStats) + ///////////////////////////////////////////////////////////////////// /////////////////////////// SHOPPING CART /////////////////////////// ///////////////////////////////////////////////////////////////////// @@ -725,5 +728,9 @@ function onlistening() { logger.error("Cannot connect to the charging backend"); setTimeout(onlistening, 5000); }); + + stats.init().then(() => { + logger.info("Stats info loaded") + }) } })();