marketplacepos 3.11.9 → 3.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/Marketplace/3rdpartylicenses.txt +10 -5
  2. package/Marketplace/chunk-27IRFADU.js +1 -0
  3. package/Marketplace/chunk-2GZOVNPU.js +1 -0
  4. package/Marketplace/chunk-2KLUGZKI.js +1 -0
  5. package/Marketplace/chunk-2UXFUEON.js +1 -0
  6. package/Marketplace/chunk-2Y4N4NSS.js +2 -0
  7. package/Marketplace/chunk-3LRKHZJF.js +1 -0
  8. package/Marketplace/chunk-43TMSPFC.js +1 -0
  9. package/Marketplace/chunk-4TYJR476.js +1 -0
  10. package/Marketplace/chunk-52ZJ2S2T.js +1 -0
  11. package/Marketplace/chunk-5US3733H.js +1 -0
  12. package/Marketplace/chunk-5WVUQE43.js +6 -0
  13. package/Marketplace/chunk-77JORVC2.js +8 -0
  14. package/Marketplace/{chunk-SRYGE2HW.js → chunk-7CEWM7GE.js} +1 -1
  15. package/Marketplace/chunk-7GNI4BOW.js +3 -0
  16. package/Marketplace/{chunk-MK34PW5S.js → chunk-7NHG2S26.js} +1 -1
  17. package/Marketplace/chunk-7NWB2VB2.js +1 -0
  18. package/Marketplace/{chunk-UCO4GNIH.js → chunk-7OJNNBCN.js} +1 -1
  19. package/Marketplace/chunk-AAIK6JQ3.js +4 -0
  20. package/Marketplace/{chunk-KJJM4QBN.js → chunk-AKIUNZCW.js} +1 -1
  21. package/Marketplace/chunk-AZMGWQHI.js +1 -0
  22. package/Marketplace/chunk-B6W4BWFY.js +1 -0
  23. package/Marketplace/chunk-BMPACBBM.js +5 -0
  24. package/Marketplace/chunk-BRTVFFDI.js +1 -0
  25. package/Marketplace/chunk-BSBYMQ7J.js +1 -0
  26. package/Marketplace/chunk-CP7VAKTQ.js +1 -0
  27. package/Marketplace/chunk-CRRJCY55.js +1 -0
  28. package/Marketplace/{chunk-BD2QQPDK.js → chunk-CVLA5R75.js} +1 -1
  29. package/Marketplace/chunk-CW5KDBLU.js +1 -0
  30. package/Marketplace/chunk-DXJFMERC.js +1 -0
  31. package/Marketplace/chunk-DZHNXVSW.js +1 -0
  32. package/Marketplace/chunk-ENYT723T.js +5 -0
  33. package/Marketplace/chunk-F2CKDRNC.js +1 -0
  34. package/Marketplace/chunk-F5YRASNU.js +1 -0
  35. package/Marketplace/{chunk-NRVXDIHY.js → chunk-FCVAME75.js} +1 -1
  36. package/Marketplace/chunk-FX43R2N5.js +5 -0
  37. package/Marketplace/chunk-G6CZHXQI.js +1 -0
  38. package/Marketplace/chunk-GP3CFNYA.js +1 -0
  39. package/Marketplace/chunk-GY7H2DNW.js +1 -0
  40. package/Marketplace/chunk-H6JEFAAC.js +2 -0
  41. package/Marketplace/{chunk-JM3LERUP.js → chunk-HBHGO2RV.js} +1 -1
  42. package/Marketplace/chunk-HMAXDG3A.js +1 -0
  43. package/Marketplace/chunk-HW7H3ISH.js +3 -0
  44. package/Marketplace/chunk-HYSXRUQ5.js +1 -0
  45. package/Marketplace/chunk-II3E425T.js +1 -0
  46. package/Marketplace/chunk-IP2WADIR.js +1 -0
  47. package/Marketplace/chunk-IPX66YIX.js +1 -0
  48. package/Marketplace/chunk-L536HOP7.js +1 -0
  49. package/Marketplace/chunk-LIS3LB3F.js +1 -0
  50. package/Marketplace/{chunk-JDGPUKXR.js → chunk-M3P5OJ7T.js} +1 -1
  51. package/Marketplace/chunk-M4VGME5L.js +1 -0
  52. package/Marketplace/chunk-MEGPKKGI.js +1 -0
  53. package/Marketplace/{chunk-PZOGC5DT.js → chunk-N23ZYP7G.js} +1 -1
  54. package/Marketplace/chunk-NNPT3RN6.js +11 -0
  55. package/Marketplace/chunk-OFRBPREK.js +1 -0
  56. package/Marketplace/chunk-PIDUM6XT.js +2 -0
  57. package/Marketplace/chunk-PVQ2T5XH.js +4 -0
  58. package/Marketplace/chunk-RSTDY3BK.js +1 -0
  59. package/Marketplace/chunk-RUBFBYVI.js +1 -0
  60. package/Marketplace/{chunk-5LCXVQBT.js → chunk-TX43EE6N.js} +1 -1
  61. package/Marketplace/{chunk-NSM4JDXS.js → chunk-VPYKYYBH.js} +1 -1
  62. package/Marketplace/chunk-VW2YGC3V.js +1 -0
  63. package/Marketplace/{chunk-WQ7LUTQ2.js → chunk-WJI6JIBR.js} +1 -1
  64. package/Marketplace/chunk-WLSW7EOC.js +2 -0
  65. package/Marketplace/chunk-XT632VDA.js +47 -0
  66. package/Marketplace/{chunk-MSAVOLLA.js → chunk-Y4SOX2BE.js} +1 -1
  67. package/Marketplace/chunk-ZIAISN44.js +1 -0
  68. package/Marketplace/chunk-ZIWIIY7R.js +1 -0
  69. package/Marketplace/index.html +2 -3
  70. package/Marketplace/main-NPVQUDS5.js +1 -0
  71. package/Marketplace/polyfills-KTKZVV2N.js +2 -0
  72. package/Marketplace/styles-4NMVKKKY.css +1 -0
  73. package/package.json +1 -1
  74. package/Marketplace/chunk-2ANKQQV3.js +0 -1
  75. package/Marketplace/chunk-33GGGAPS.js +0 -1
  76. package/Marketplace/chunk-5ZUWMFL5.js +0 -1
  77. package/Marketplace/chunk-6B64VOO7.js +0 -1
  78. package/Marketplace/chunk-6DRNAUKE.js +0 -8
  79. package/Marketplace/chunk-6F6NSBIF.js +0 -1
  80. package/Marketplace/chunk-AL67KXJV.js +0 -2
  81. package/Marketplace/chunk-BMZAGAK3.js +0 -1
  82. package/Marketplace/chunk-BP2CJXCZ.js +0 -47
  83. package/Marketplace/chunk-CDTB3FEI.js +0 -2
  84. package/Marketplace/chunk-DEH6NGKQ.js +0 -1
  85. package/Marketplace/chunk-DT3B54LD.js +0 -4
  86. package/Marketplace/chunk-FNAAZA3R.js +0 -1
  87. package/Marketplace/chunk-G4YKNFZZ.js +0 -1
  88. package/Marketplace/chunk-G5LCLRIW.js +0 -1
  89. package/Marketplace/chunk-GRMIXZTT.js +0 -1
  90. package/Marketplace/chunk-GSSZWMCP.js +0 -5
  91. package/Marketplace/chunk-INNTQ5YN.js +0 -1
  92. package/Marketplace/chunk-K3G6FMDF.js +0 -1
  93. package/Marketplace/chunk-KBYAFLE5.js +0 -1
  94. package/Marketplace/chunk-KUVW5SH2.js +0 -1
  95. package/Marketplace/chunk-MSGMWJHN.js +0 -1
  96. package/Marketplace/chunk-MYMGWQRE.js +0 -6
  97. package/Marketplace/chunk-N4S3Q3EC.js +0 -1
  98. package/Marketplace/chunk-OFMNMKMG.js +0 -3
  99. package/Marketplace/chunk-PRYDCJG5.js +0 -1
  100. package/Marketplace/chunk-QKSDQVPL.js +0 -5
  101. package/Marketplace/chunk-QWNDYA65.js +0 -1
  102. package/Marketplace/chunk-RKJINSSM.js +0 -1
  103. package/Marketplace/chunk-RZKKTX4V.js +0 -5
  104. package/Marketplace/chunk-SMRE36YG.js +0 -1
  105. package/Marketplace/chunk-SP6QPE3M.js +0 -1
  106. package/Marketplace/chunk-TCC7PQV3.js +0 -1
  107. package/Marketplace/chunk-TDHJ34QP.js +0 -1
  108. package/Marketplace/chunk-TDK2QBFI.js +0 -1
  109. package/Marketplace/chunk-U5YOE633.js +0 -5
  110. package/Marketplace/chunk-UILE7H6I.js +0 -1
  111. package/Marketplace/chunk-W3EAYQL3.js +0 -1
  112. package/Marketplace/chunk-XDNW2F3I.js +0 -3
  113. package/Marketplace/chunk-YHEEVSLX.js +0 -1
  114. package/Marketplace/chunk-YNKSRONN.js +0 -2
  115. package/Marketplace/chunk-YZ67XPSX.js +0 -1
  116. package/Marketplace/chunk-ZHG47R5T.js +0 -1
  117. package/Marketplace/chunk-ZKBLXGXT.js +0 -2
  118. package/Marketplace/chunk-ZLBTBS3M.js +0 -4
  119. package/Marketplace/main-YOSC4DEC.js +0 -1
  120. package/Marketplace/polyfills-Y3W47ZLP.js +0 -2
  121. package/Marketplace/styles-STRQ65W6.css +0 -1
@@ -1,5 +0,0 @@
1
- import{a as ss,b as as,c as ns,k as Vt}from"./chunk-XDNW2F3I.js";import{b as ts,c as rs}from"./chunk-INNTQ5YN.js";import{c as Xr,g as Kr,h as es}from"./chunk-DT3B54LD.js";import{K as et,L as tt,M as Ht,N as Qr}from"./chunk-6B64VOO7.js";import{$ as Hr,Hb as Br,Ia as Ct,Ib as Jr,Ya as It,Za as zr,ba as Vr,ca as Ft,fb as At,gb as Lt,ha as Gr,hb as $r,lb as Zr,ob as Et,pa as be,qa as xe,tb as qr,za as jr,zb as Ut}from"./chunk-6DRNAUKE.js";import{c as Ur,e as lo,g as Ke}from"./chunk-GRMIXZTT.js";var Ne=lo((Gt,ye)=>{(function(N,o){typeof Gt=="object"&&typeof ye<"u"?ye.exports=o():typeof define=="function"&&define.amd?define(o):N.moment=o()})(Gt,function(){"use strict";var N;function o(){return N.apply(null,arguments)}function We(e){N=e}function u(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function c(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function m(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function b(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(m(e,t))return!1;return!0}function O(e){return e===void 0}function P(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function pe(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function jt(e,t){var r=[],s,a=e.length;for(s=0;s<a;++s)r.push(t(e[s],s));return r}function K(e,t){for(var r in t)m(t,r)&&(e[r]=t[r]);return m(t,"toString")&&(e.toString=t.toString),m(t,"valueOf")&&(e.valueOf=t.valueOf),e}function U(e,t,r,s){return pr(e,t,r,s,!0).utc()}function ls(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function y(e){return e._pf==null&&(e._pf=ls()),e._pf}var rt;Array.prototype.some?rt=Array.prototype.some:rt=function(e){var t=Object(this),r=t.length>>>0,s;for(s=0;s<r;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1};function st(e){var t=null,r=!1,s=e._d&&!isNaN(e._d.getTime());if(s&&(t=y(e),r=rt.call(t.parsedDateParts,function(a){return a!=null}),s=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r),e._strict&&(s=s&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=s;else return s;return e._isValid}function Pe(e){var t=U(NaN);return e!=null?K(y(t),e):y(t).userInvalidated=!0,t}var zt=o.momentProperties=[],at=!1;function nt(e,t){var r,s,a,n=zt.length;if(O(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),O(t._i)||(e._i=t._i),O(t._f)||(e._f=t._f),O(t._l)||(e._l=t._l),O(t._strict)||(e._strict=t._strict),O(t._tzm)||(e._tzm=t._tzm),O(t._isUTC)||(e._isUTC=t._isUTC),O(t._offset)||(e._offset=t._offset),O(t._pf)||(e._pf=y(t)),O(t._locale)||(e._locale=t._locale),n>0)for(r=0;r<n;r++)s=zt[r],a=t[s],O(a)||(e[s]=a);return e}function we(e){nt(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),at===!1&&(at=!0,o.updateOffset(this),at=!1)}function A(e){return e instanceof we||e!=null&&e._isAMomentObject!=null}function $t(e){o.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function F(e,t){var r=!0;return K(function(){if(o.deprecationHandler!=null&&o.deprecationHandler(null,e),r){var s=[],a,n,i,d=arguments.length;for(n=0;n<d;n++){if(a="",typeof arguments[n]=="object"){a+=`
2
- [`+n+"] ";for(i in arguments[0])m(arguments[0],i)&&(a+=i+": "+arguments[0][i]+", ");a=a.slice(0,-2)}else a=arguments[n];s.push(a)}$t(e+`
3
- Arguments: `+Array.prototype.slice.call(s).join("")+`
4
- `+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var Zt={};function qt(e,t){o.deprecationHandler!=null&&o.deprecationHandler(e,t),Zt[e]||($t(t),Zt[e]=!0)}o.suppressDeprecationWarnings=!1,o.deprecationHandler=null;function H(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function us(e){var t,r;for(r in e)m(e,r)&&(t=e[r],H(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function it(e,t){var r=K({},e),s;for(s in t)m(t,s)&&(c(e[s])&&c(t[s])?(r[s]={},K(r[s],e[s]),K(r[s],t[s])):t[s]!=null?r[s]=t[s]:delete r[s]);for(s in e)m(e,s)&&!m(t,s)&&c(e[s])&&(r[s]=K({},r[s]));return r}function ot(e){e!=null&&this.set(e)}var lt;Object.keys?lt=Object.keys:lt=function(e){var t,r=[];for(t in e)m(e,t)&&r.push(t);return r};var ds={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function hs(e,t,r){var s=this._calendar[e]||this._calendar.sameElse;return H(s)?s.call(t,r):s}function V(e,t,r){var s=""+Math.abs(e),a=t-s.length,n=e>=0;return(n?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+s}var ut=/(\[[^\[]*\])|(\\)?([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,Re=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,dt={},oe={};function f(e,t,r,s){var a=s;typeof s=="string"&&(a=function(){return this[s]()}),e&&(oe[e]=a),t&&(oe[t[0]]=function(){return V(a.apply(this,arguments),t[1],t[2])}),r&&(oe[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function fs(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function cs(e){var t=e.match(ut),r,s;for(r=0,s=t.length;r<s;r++)oe[t[r]]?t[r]=oe[t[r]]:t[r]=fs(t[r]);return function(a){var n="",i;for(i=0;i<s;i++)n+=H(t[i])?t[i].call(a,e):t[i];return n}}function Fe(e,t){return e.isValid()?(t=Bt(t,e.localeData()),dt[t]=dt[t]||cs(t),dt[t](e)):e.localeData().invalidDate()}function Bt(e,t){var r=5;function s(a){return t.longDateFormat(a)||a}for(Re.lastIndex=0;r>=0&&Re.test(e);)e=e.replace(Re,s),Re.lastIndex=0,r-=1;return e}var ms={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"};function _s(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(ut).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[e])}var ys="Invalid date";function ps(){return this._invalidDate}var ws="%d",Ms=/\d{1,2}/;function Ds(e){return this._ordinal.replace("%d",e)}var gs={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"};function ks(e,t,r,s){var a=this._relativeTime[r];return H(a)?a(e,t,r,s):a.replace(/%d/i,e)}function Ss(e,t){var r=this._relativeTime[e>0?"future":"past"];return H(r)?r(t):r.replace(/%s/i,t)}var Jt={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 C(e){return typeof e=="string"?Jt[e]||Jt[e.toLowerCase()]:void 0}function ht(e){var t={},r,s;for(s in e)m(e,s)&&(r=C(s),r&&(t[r]=e[s]));return t}var vs={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};function Ys(e){var t=[],r;for(r in e)m(e,r)&&t.push({unit:r,priority:vs[r]});return t.sort(function(s,a){return s.priority-a.priority}),t}var Qt=/\d/,R=/\d\d/,Xt=/\d{3}/,ft=/\d{4}/,Ce=/[+-]?\d{6}/,k=/\d\d?/,Kt=/\d\d\d\d?/,er=/\d\d\d\d\d\d?/,Ie=/\d{1,3}/,ct=/\d{1,4}/,Ae=/[+-]?\d{1,6}/,le=/\d+/,Le=/[+-]?\d+/,Os=/Z|[+-]\d\d:?\d\d/gi,Ee=/Z|[+-]\d\d(?::?\d\d)?/gi,Ts=/[+-]?\d+(\.\d{1,3})?/,Me=/[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,ue=/^[1-9]\d?/,mt=/^([1-9]\d|\d)/,Ue;Ue={};function h(e,t,r){Ue[e]=H(t)?t:function(s,a){return s&&r?r:t}}function bs(e,t){return m(Ue,e)?Ue[e](t._strict,t._locale):new RegExp(xs(e))}function xs(e){return j(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,s,a,n){return r||s||a||n}))}function j(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function I(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function p(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=I(t)),r}var _t={};function g(e,t){var r,s=t,a;for(typeof e=="string"&&(e=[e]),P(t)&&(s=function(n,i){i[t]=p(n)}),a=e.length,r=0;r<a;r++)_t[e[r]]=s}function De(e,t){g(e,function(r,s,a,n){a._w=a._w||{},t(r,a._w,a,n)})}function Ns(e,t,r){t!=null&&m(_t,e)&&_t[e](t,r._a,r,e)}function He(e){return e%4===0&&e%100!==0||e%400===0}var x=0,z=1,G=2,T=3,L=4,$=5,se=6,Ws=7,Ps=8;f("Y",0,0,function(){var e=this.year();return e<=9999?V(e,4):"+"+e}),f(0,["YY",2],0,function(){return this.year()%100}),f(0,["YYYY",4],0,"year"),f(0,["YYYYY",5],0,"year"),f(0,["YYYYYY",6,!0],0,"year"),h("Y",Le),h("YY",k,R),h("YYYY",ct,ft),h("YYYYY",Ae,Ce),h("YYYYYY",Ae,Ce),g(["YYYYY","YYYYYY"],x),g("YYYY",function(e,t){t[x]=e.length===2?o.parseTwoDigitYear(e):p(e)}),g("YY",function(e,t){t[x]=o.parseTwoDigitYear(e)}),g("Y",function(e,t){t[x]=parseInt(e,10)});function ge(e){return He(e)?366:365}o.parseTwoDigitYear=function(e){return p(e)+(p(e)>68?1900:2e3)};var tr=de("FullYear",!0);function Rs(){return He(this.year())}function de(e,t){return function(r){return r!=null?(rr(this,e,r),o.updateOffset(this,t),this):ke(this,e)}}function ke(e,t){if(!e.isValid())return NaN;var r=e._d,s=e._isUTC;switch(t){case"Milliseconds":return s?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return s?r.getUTCSeconds():r.getSeconds();case"Minutes":return s?r.getUTCMinutes():r.getMinutes();case"Hours":return s?r.getUTCHours():r.getHours();case"Date":return s?r.getUTCDate():r.getDate();case"Day":return s?r.getUTCDay():r.getDay();case"Month":return s?r.getUTCMonth():r.getMonth();case"FullYear":return s?r.getUTCFullYear():r.getFullYear();default:return NaN}}function rr(e,t,r){var s,a,n,i,d;if(!(!e.isValid()||isNaN(r))){switch(s=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?s.setUTCMilliseconds(r):s.setMilliseconds(r));case"Seconds":return void(a?s.setUTCSeconds(r):s.setSeconds(r));case"Minutes":return void(a?s.setUTCMinutes(r):s.setMinutes(r));case"Hours":return void(a?s.setUTCHours(r):s.setHours(r));case"Date":return void(a?s.setUTCDate(r):s.setDate(r));case"FullYear":break;default:return}n=r,i=e.month(),d=e.date(),d=d===29&&i===1&&!He(n)?28:d,a?s.setUTCFullYear(n,i,d):s.setFullYear(n,i,d)}}function Fs(e){return e=C(e),H(this[e])?this[e]():this}function Cs(e,t){if(typeof e=="object"){e=ht(e);var r=Ys(e),s,a=r.length;for(s=0;s<a;s++)this[r[s].unit](e[r[s].unit])}else if(e=C(e),H(this[e]))return this[e](t);return this}function Is(e,t){return(e%t+t)%t}var Y;Array.prototype.indexOf?Y=Array.prototype.indexOf:Y=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function yt(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=Is(t,12);return e+=(t-r)/12,r===1?He(e)?29:28:31-r%7%2}f("M",["MM",2],"Mo",function(){return this.month()+1}),f("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),f("MMMM",0,0,function(e){return this.localeData().months(this,e)}),h("M",k,ue),h("MM",k,R),h("MMM",function(e,t){return t.monthsShortRegex(e)}),h("MMMM",function(e,t){return t.monthsRegex(e)}),g(["M","MM"],function(e,t){t[z]=p(e)-1}),g(["MMM","MMMM"],function(e,t,r,s){var a=r._locale.monthsParse(e,s,r._strict);a!=null?t[z]=a:y(r).invalidMonth=e});var As="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),sr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ar=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ls=Me,Es=Me;function Us(e,t){return e?u(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ar).test(t)?"format":"standalone"][e.month()]:u(this._months)?this._months:this._months.standalone}function Hs(e,t){return e?u(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ar.test(t)?"format":"standalone"][e.month()]:u(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Vs(e,t,r){var s,a,n,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)n=U([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(n,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(n,"").toLocaleLowerCase();return r?t==="MMM"?(a=Y.call(this._shortMonthsParse,i),a!==-1?a:null):(a=Y.call(this._longMonthsParse,i),a!==-1?a:null):t==="MMM"?(a=Y.call(this._shortMonthsParse,i),a!==-1?a:(a=Y.call(this._longMonthsParse,i),a!==-1?a:null)):(a=Y.call(this._longMonthsParse,i),a!==-1?a:(a=Y.call(this._shortMonthsParse,i),a!==-1?a:null))}function Gs(e,t,r){var s,a,n;if(this._monthsParseExact)return Vs.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(a=U([2e3,s]),r&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[s]&&(n="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[s]=new RegExp(n.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[s].test(e))return s;if(r&&t==="MMM"&&this._shortMonthsParse[s].test(e))return s;if(!r&&this._monthsParse[s].test(e))return s}}function nr(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=p(t);else if(t=e.localeData().monthsParse(t),!P(t))return e}var r=t,s=e.date();return s=s<29?s:Math.min(s,yt(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,s):e._d.setMonth(r,s),e}function ir(e){return e!=null?(nr(this,e),o.updateOffset(this,!0),this):ke(this,"Month")}function js(){return yt(this.year(),this.month())}function zs(e){return this._monthsParseExact?(m(this,"_monthsRegex")||or.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(m(this,"_monthsShortRegex")||(this._monthsShortRegex=Ls),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function $s(e){return this._monthsParseExact?(m(this,"_monthsRegex")||or.call(this),e?this._monthsStrictRegex:this._monthsRegex):(m(this,"_monthsRegex")||(this._monthsRegex=Es),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function or(){function e(_,w){return w.length-_.length}var t=[],r=[],s=[],a,n,i,d;for(a=0;a<12;a++)n=U([2e3,a]),i=j(this.monthsShort(n,"")),d=j(this.months(n,"")),t.push(i),r.push(d),s.push(d),s.push(i);t.sort(e),r.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Zs(e,t,r,s,a,n,i){var d;return e<100&&e>=0?(d=new Date(e+400,t,r,s,a,n,i),isFinite(d.getFullYear())&&d.setFullYear(e)):d=new Date(e,t,r,s,a,n,i),d}function Se(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ve(e,t,r){var s=7+t-r,a=(7+Se(e,0,s).getUTCDay()-t)%7;return-a+s-1}function lr(e,t,r,s,a){var n=(7+r-s)%7,i=Ve(e,s,a),d=1+7*(t-1)+n+i,_,w;return d<=0?(_=e-1,w=ge(_)+d):d>ge(e)?(_=e+1,w=d-ge(e)):(_=e,w=d),{year:_,dayOfYear:w}}function ve(e,t,r){var s=Ve(e.year(),t,r),a=Math.floor((e.dayOfYear()-s-1)/7)+1,n,i;return a<1?(i=e.year()-1,n=a+Z(i,t,r)):a>Z(e.year(),t,r)?(n=a-Z(e.year(),t,r),i=e.year()+1):(i=e.year(),n=a),{week:n,year:i}}function Z(e,t,r){var s=Ve(e,t,r),a=Ve(e+1,t,r);return(ge(e)-s+a)/7}f("w",["ww",2],"wo","week"),f("W",["WW",2],"Wo","isoWeek"),h("w",k,ue),h("ww",k,R),h("W",k,ue),h("WW",k,R),De(["w","ww","W","WW"],function(e,t,r,s){t[s.substr(0,1)]=p(e)});function qs(e){return ve(e,this._week.dow,this._week.doy).week}var Bs={dow:0,doy:6};function Js(){return this._week.dow}function Qs(){return this._week.doy}function Xs(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Ks(e){var t=ve(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}f("d",0,"do","day"),f("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),f("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),f("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),f("e",0,0,"weekday"),f("E",0,0,"isoWeekday"),h("d",k),h("e",k),h("E",k),h("dd",function(e,t){return t.weekdaysMinRegex(e)}),h("ddd",function(e,t){return t.weekdaysShortRegex(e)}),h("dddd",function(e,t){return t.weekdaysRegex(e)}),De(["dd","ddd","dddd"],function(e,t,r,s){var a=r._locale.weekdaysParse(e,s,r._strict);a!=null?t.d=a:y(r).invalidWeekday=e}),De(["d","e","E"],function(e,t,r,s){t[s]=p(e)});function ea(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function ta(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function pt(e,t){return e.slice(t,7).concat(e.slice(0,t))}var ra="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ur="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),sa="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),aa=Me,na=Me,ia=Me;function oa(e,t){var r=u(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?pt(r,this._week.dow):e?r[e.day()]:r}function la(e){return e===!0?pt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function ua(e){return e===!0?pt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function da(e,t,r){var s,a,n,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)n=U([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(n,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(n,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(n,"").toLocaleLowerCase();return r?t==="dddd"?(a=Y.call(this._weekdaysParse,i),a!==-1?a:null):t==="ddd"?(a=Y.call(this._shortWeekdaysParse,i),a!==-1?a:null):(a=Y.call(this._minWeekdaysParse,i),a!==-1?a:null):t==="dddd"?(a=Y.call(this._weekdaysParse,i),a!==-1||(a=Y.call(this._shortWeekdaysParse,i),a!==-1)?a:(a=Y.call(this._minWeekdaysParse,i),a!==-1?a:null)):t==="ddd"?(a=Y.call(this._shortWeekdaysParse,i),a!==-1||(a=Y.call(this._weekdaysParse,i),a!==-1)?a:(a=Y.call(this._minWeekdaysParse,i),a!==-1?a:null)):(a=Y.call(this._minWeekdaysParse,i),a!==-1||(a=Y.call(this._weekdaysParse,i),a!==-1)?a:(a=Y.call(this._shortWeekdaysParse,i),a!==-1?a:null))}function ha(e,t,r){var s,a,n;if(this._weekdaysParseExact)return da.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(a=U([2e3,1]).day(s),r&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(n="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[s]=new RegExp(n.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[s].test(e))return s;if(r&&t==="ddd"&&this._shortWeekdaysParse[s].test(e))return s;if(r&&t==="dd"&&this._minWeekdaysParse[s].test(e))return s;if(!r&&this._weekdaysParse[s].test(e))return s}}function fa(e){if(!this.isValid())return e!=null?this:NaN;var t=ke(this,"Day");return e!=null?(e=ea(e,this.localeData()),this.add(e-t,"d")):t}function ca(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function ma(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=ta(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function _a(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||wt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(m(this,"_weekdaysRegex")||(this._weekdaysRegex=aa),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function ya(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||wt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(m(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=na),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function pa(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||wt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(m(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ia),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function wt(){function e(W,X){return X.length-W.length}var t=[],r=[],s=[],a=[],n,i,d,_,w;for(n=0;n<7;n++)i=U([2e3,1]).day(n),d=j(this.weekdaysMin(i,"")),_=j(this.weekdaysShort(i,"")),w=j(this.weekdays(i,"")),t.push(d),r.push(_),s.push(w),a.push(d),a.push(_),a.push(w);t.sort(e),r.sort(e),s.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Mt(){return this.hours()%12||12}function wa(){return this.hours()||24}f("H",["HH",2],0,"hour"),f("h",["hh",2],0,Mt),f("k",["kk",2],0,wa),f("hmm",0,0,function(){return""+Mt.apply(this)+V(this.minutes(),2)}),f("hmmss",0,0,function(){return""+Mt.apply(this)+V(this.minutes(),2)+V(this.seconds(),2)}),f("Hmm",0,0,function(){return""+this.hours()+V(this.minutes(),2)}),f("Hmmss",0,0,function(){return""+this.hours()+V(this.minutes(),2)+V(this.seconds(),2)});function dr(e,t){f(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}dr("a",!0),dr("A",!1);function hr(e,t){return t._meridiemParse}h("a",hr),h("A",hr),h("H",k,mt),h("h",k,ue),h("k",k,ue),h("HH",k,R),h("hh",k,R),h("kk",k,R),h("hmm",Kt),h("hmmss",er),h("Hmm",Kt),h("Hmmss",er),g(["H","HH"],T),g(["k","kk"],function(e,t,r){var s=p(e);t[T]=s===24?0:s}),g(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),g(["h","hh"],function(e,t,r){t[T]=p(e),y(r).bigHour=!0}),g("hmm",function(e,t,r){var s=e.length-2;t[T]=p(e.substr(0,s)),t[L]=p(e.substr(s)),y(r).bigHour=!0}),g("hmmss",function(e,t,r){var s=e.length-4,a=e.length-2;t[T]=p(e.substr(0,s)),t[L]=p(e.substr(s,2)),t[$]=p(e.substr(a)),y(r).bigHour=!0}),g("Hmm",function(e,t,r){var s=e.length-2;t[T]=p(e.substr(0,s)),t[L]=p(e.substr(s))}),g("Hmmss",function(e,t,r){var s=e.length-4,a=e.length-2;t[T]=p(e.substr(0,s)),t[L]=p(e.substr(s,2)),t[$]=p(e.substr(a))});function Ma(e){return(e+"").toLowerCase().charAt(0)==="p"}var Da=/[ap]\.?m?\.?/i,ga=de("Hours",!0);function ka(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var fr={calendar:ds,longDateFormat:ms,invalidDate:ys,ordinal:ws,dayOfMonthOrdinalParse:Ms,relativeTime:gs,months:As,monthsShort:sr,week:Bs,weekdays:ra,weekdaysMin:sa,weekdaysShort:ur,meridiemParse:Da},v={},Ye={},Oe;function Sa(e,t){var r,s=Math.min(e.length,t.length);for(r=0;r<s;r+=1)if(e[r]!==t[r])return r;return s}function cr(e){return e&&e.toLowerCase().replace("_","-")}function va(e){for(var t=0,r,s,a,n;t<e.length;){for(n=cr(e[t]).split("-"),r=n.length,s=cr(e[t+1]),s=s?s.split("-"):null;r>0;){if(a=Ge(n.slice(0,r).join("-")),a)return a;if(s&&s.length>=r&&Sa(n,s)>=r-1)break;r--}t++}return Oe}function Ya(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Ge(e){var t=null,r;if(v[e]===void 0&&typeof ye<"u"&&ye&&ye.exports&&Ya(e))try{t=Oe._abbr,r=Ur,r("./locale/"+e),ee(t)}catch{v[e]=null}return v[e]}function ee(e,t){var r;return e&&(O(t)?r=q(e):r=Dt(e,t),r?Oe=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Oe._abbr}function Dt(e,t){if(t!==null){var r,s=fr;if(t.abbr=e,v[e]!=null)qt("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=v[e]._config;else if(t.parentLocale!=null)if(v[t.parentLocale]!=null)s=v[t.parentLocale]._config;else if(r=Ge(t.parentLocale),r!=null)s=r._config;else return Ye[t.parentLocale]||(Ye[t.parentLocale]=[]),Ye[t.parentLocale].push({name:e,config:t}),null;return v[e]=new ot(it(s,t)),Ye[e]&&Ye[e].forEach(function(a){Dt(a.name,a.config)}),ee(e),v[e]}else return delete v[e],null}function Oa(e,t){if(t!=null){var r,s,a=fr;v[e]!=null&&v[e].parentLocale!=null?v[e].set(it(v[e]._config,t)):(s=Ge(e),s!=null&&(a=s._config),t=it(a,t),s==null&&(t.abbr=e),r=new ot(t),r.parentLocale=v[e],v[e]=r),ee(e)}else v[e]!=null&&(v[e].parentLocale!=null?(v[e]=v[e].parentLocale,e===ee()&&ee(e)):v[e]!=null&&delete v[e]);return v[e]}function q(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Oe;if(!u(e)){if(t=Ge(e),t)return t;e=[e]}return va(e)}function Ta(){return lt(v)}function gt(e){var t,r=e._a;return r&&y(e).overflow===-2&&(t=r[z]<0||r[z]>11?z:r[G]<1||r[G]>yt(r[x],r[z])?G:r[T]<0||r[T]>24||r[T]===24&&(r[L]!==0||r[$]!==0||r[se]!==0)?T:r[L]<0||r[L]>59?L:r[$]<0||r[$]>59?$:r[se]<0||r[se]>999?se:-1,y(e)._overflowDayOfYear&&(t<x||t>G)&&(t=G),y(e)._overflowWeeks&&t===-1&&(t=Ws),y(e)._overflowWeekday&&t===-1&&(t=Ps),y(e).overflow=t),e}var ba=/^\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)?)?$/,xa=/^\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)?)?$/,Na=/Z|[+-]\d\d(?::?\d\d)?/,je=[["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]],kt=[["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/]],Wa=/^\/?Date\((-?\d+)/i,Pa=/^(?:(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}))$/,Ra={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function mr(e){var t,r,s=e._i,a=ba.exec(s)||xa.exec(s),n,i,d,_,w=je.length,W=kt.length;if(a){for(y(e).iso=!0,t=0,r=w;t<r;t++)if(je[t][1].exec(a[1])){i=je[t][0],n=je[t][2]!==!1;break}if(i==null){e._isValid=!1;return}if(a[3]){for(t=0,r=W;t<r;t++)if(kt[t][1].exec(a[3])){d=(a[2]||" ")+kt[t][0];break}if(d==null){e._isValid=!1;return}}if(!n&&d!=null){e._isValid=!1;return}if(a[4])if(Na.exec(a[4]))_="Z";else{e._isValid=!1;return}e._f=i+(d||"")+(_||""),vt(e)}else e._isValid=!1}function Fa(e,t,r,s,a,n){var i=[Ca(e),sr.indexOf(t),parseInt(r,10),parseInt(s,10),parseInt(a,10)];return n&&i.push(parseInt(n,10)),i}function Ca(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Ia(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Aa(e,t,r){if(e){var s=ur.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(s!==a)return y(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function La(e,t,r){if(e)return Ra[e];if(t)return 0;var s=parseInt(r,10),a=s%100,n=(s-a)/100;return n*60+a}function _r(e){var t=Pa.exec(Ia(e._i)),r;if(t){if(r=Fa(t[4],t[3],t[2],t[5],t[6],t[7]),!Aa(t[1],r,e))return;e._a=r,e._tzm=La(t[8],t[9],t[10]),e._d=Se.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),y(e).rfc2822=!0}else e._isValid=!1}function Ea(e){var t=Wa.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(mr(e),e._isValid===!1)delete e._isValid;else return;if(_r(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:o.createFromInputFallback(e)}o.createFromInputFallback=F("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function he(e,t,r){return e??t??r}function Ua(e){var t=new Date(o.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function St(e){var t,r,s=[],a,n,i;if(!e._d){for(a=Ua(e),e._w&&e._a[G]==null&&e._a[z]==null&&Ha(e),e._dayOfYear!=null&&(i=he(e._a[x],a[x]),(e._dayOfYear>ge(i)||e._dayOfYear===0)&&(y(e)._overflowDayOfYear=!0),r=Se(i,0,e._dayOfYear),e._a[z]=r.getUTCMonth(),e._a[G]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=s[t]=a[t];for(;t<7;t++)e._a[t]=s[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[T]===24&&e._a[L]===0&&e._a[$]===0&&e._a[se]===0&&(e._nextDay=!0,e._a[T]=0),e._d=(e._useUTC?Se:Zs).apply(null,s),n=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[T]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==n&&(y(e).weekdayMismatch=!0)}}function Ha(e){var t,r,s,a,n,i,d,_,w;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(n=1,i=4,r=he(t.GG,e._a[x],ve(S(),1,4).year),s=he(t.W,1),a=he(t.E,1),(a<1||a>7)&&(_=!0)):(n=e._locale._week.dow,i=e._locale._week.doy,w=ve(S(),n,i),r=he(t.gg,e._a[x],w.year),s=he(t.w,w.week),t.d!=null?(a=t.d,(a<0||a>6)&&(_=!0)):t.e!=null?(a=t.e+n,(t.e<0||t.e>6)&&(_=!0)):a=n),s<1||s>Z(r,n,i)?y(e)._overflowWeeks=!0:_!=null?y(e)._overflowWeekday=!0:(d=lr(r,s,a,n,i),e._a[x]=d.year,e._dayOfYear=d.dayOfYear)}o.ISO_8601=function(){},o.RFC_2822=function(){};function vt(e){if(e._f===o.ISO_8601){mr(e);return}if(e._f===o.RFC_2822){_r(e);return}e._a=[],y(e).empty=!0;var t=""+e._i,r,s,a,n,i,d=t.length,_=0,w,W;for(a=Bt(e._f,e._locale).match(ut)||[],W=a.length,r=0;r<W;r++)n=a[r],s=(t.match(bs(n,e))||[])[0],s&&(i=t.substr(0,t.indexOf(s)),i.length>0&&y(e).unusedInput.push(i),t=t.slice(t.indexOf(s)+s.length),_+=s.length),oe[n]?(s?y(e).empty=!1:y(e).unusedTokens.push(n),Ns(n,s,e)):e._strict&&!s&&y(e).unusedTokens.push(n);y(e).charsLeftOver=d-_,t.length>0&&y(e).unusedInput.push(t),e._a[T]<=12&&y(e).bigHour===!0&&e._a[T]>0&&(y(e).bigHour=void 0),y(e).parsedDateParts=e._a.slice(0),y(e).meridiem=e._meridiem,e._a[T]=Va(e._locale,e._a[T],e._meridiem),w=y(e).era,w!==null&&(e._a[x]=e._locale.erasConvertYear(w,e._a[x])),St(e),gt(e)}function Va(e,t,r){var s;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(s=e.isPM(r),s&&t<12&&(t+=12),!s&&t===12&&(t=0)),t)}function Ga(e){var t,r,s,a,n,i,d=!1,_=e._f.length;if(_===0){y(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<_;a++)n=0,i=!1,t=nt({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],vt(t),st(t)&&(i=!0),n+=y(t).charsLeftOver,n+=y(t).unusedTokens.length*10,y(t).score=n,d?n<s&&(s=n,r=t):(s==null||n<s||i)&&(s=n,r=t,i&&(d=!0));K(e,r||t)}function ja(e){if(!e._d){var t=ht(e._i),r=t.day===void 0?t.date:t.day;e._a=jt([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(s){return s&&parseInt(s,10)}),St(e)}}function za(e){var t=new we(gt(yr(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function yr(e){var t=e._i,r=e._f;return e._locale=e._locale||q(e._l),t===null||r===void 0&&t===""?Pe({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),A(t)?new we(gt(t)):(pe(t)?e._d=t:u(r)?Ga(e):r?vt(e):$a(e),st(e)||(e._d=null),e))}function $a(e){var t=e._i;O(t)?e._d=new Date(o.now()):pe(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Ea(e):u(t)?(e._a=jt(t.slice(0),function(r){return parseInt(r,10)}),St(e)):c(t)?ja(e):P(t)?e._d=new Date(t):o.createFromInputFallback(e)}function pr(e,t,r,s,a){var n={};return(t===!0||t===!1)&&(s=t,t=void 0),(r===!0||r===!1)&&(s=r,r=void 0),(c(e)&&b(e)||u(e)&&e.length===0)&&(e=void 0),n._isAMomentObject=!0,n._useUTC=n._isUTC=a,n._l=r,n._i=e,n._f=t,n._strict=s,za(n)}function S(e,t,r,s){return pr(e,t,r,s,!1)}var Za=F("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=S.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Pe()}),qa=F("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=S.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Pe()});function wr(e,t){var r,s;if(t.length===1&&u(t[0])&&(t=t[0]),!t.length)return S();for(r=t[0],s=1;s<t.length;++s)(!t[s].isValid()||t[s][e](r))&&(r=t[s]);return r}function Ba(){var e=[].slice.call(arguments,0);return wr("isBefore",e)}function Ja(){var e=[].slice.call(arguments,0);return wr("isAfter",e)}var Qa=function(){return Date.now?Date.now():+new Date},Te=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Xa(e){var t,r=!1,s,a=Te.length;for(t in e)if(m(e,t)&&!(Y.call(Te,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(s=0;s<a;++s)if(e[Te[s]]){if(r)return!1;parseFloat(e[Te[s]])!==p(e[Te[s]])&&(r=!0)}return!0}function Ka(){return this._isValid}function en(){return E(NaN)}function ze(e){var t=ht(e),r=t.year||0,s=t.quarter||0,a=t.month||0,n=t.week||t.isoWeek||0,i=t.day||0,d=t.hour||0,_=t.minute||0,w=t.second||0,W=t.millisecond||0;this._isValid=Xa(t),this._milliseconds=+W+w*1e3+_*6e4+d*1e3*60*60,this._days=+i+n*7,this._months=+a+s*3+r*12,this._data={},this._locale=q(),this._bubble()}function $e(e){return e instanceof ze}function Yt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function tn(e,t,r){var s=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),n=0,i;for(i=0;i<s;i++)(r&&e[i]!==t[i]||!r&&p(e[i])!==p(t[i]))&&n++;return n+a}function Mr(e,t){f(e,0,0,function(){var r=this.utcOffset(),s="+";return r<0&&(r=-r,s="-"),s+V(~~(r/60),2)+t+V(~~r%60,2)})}Mr("Z",":"),Mr("ZZ",""),h("Z",Ee),h("ZZ",Ee),g(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Ot(Ee,e)});var rn=/([\+\-]|\d\d)/gi;function Ot(e,t){var r=(t||"").match(e),s,a,n;return r===null?null:(s=r[r.length-1]||[],a=(s+"").match(rn)||["-",0,0],n=+(a[1]*60)+p(a[2]),n===0?0:a[0]==="+"?n:-n)}function Tt(e,t){var r,s;return t._isUTC?(r=t.clone(),s=(A(e)||pe(e)?e.valueOf():S(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+s),o.updateOffset(r,!1),r):S(e).local()}function bt(e){return-Math.round(e._d.getTimezoneOffset())}o.updateOffset=function(){};function sn(e,t,r){var s=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Ot(Ee,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(a=bt(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),s!==e&&(!t||this._changeInProgress?Sr(this,E(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,o.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?s:bt(this)}function an(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function nn(e){return this.utcOffset(0,e)}function on(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(bt(this),"m")),this}function ln(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Ot(Os,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function un(e){return this.isValid()?(e=e?S(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function dn(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function hn(){if(!O(this._isDSTShifted))return this._isDSTShifted;var e={},t;return nt(e,this),e=yr(e),e._a?(t=e._isUTC?U(e._a):S(e._a),this._isDSTShifted=this.isValid()&&tn(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function fn(){return this.isValid()?!this._isUTC:!1}function cn(){return this.isValid()?this._isUTC:!1}function Dr(){return this.isValid()?this._isUTC&&this._offset===0:!1}var mn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,_n=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function E(e,t){var r=e,s=null,a,n,i;return $e(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:P(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(s=mn.exec(e))?(a=s[1]==="-"?-1:1,r={y:0,d:p(s[G])*a,h:p(s[T])*a,m:p(s[L])*a,s:p(s[$])*a,ms:p(Yt(s[se]*1e3))*a}):(s=_n.exec(e))?(a=s[1]==="-"?-1:1,r={y:ae(s[2],a),M:ae(s[3],a),w:ae(s[4],a),d:ae(s[5],a),h:ae(s[6],a),m:ae(s[7],a),s:ae(s[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(i=yn(S(r.from),S(r.to)),r={},r.ms=i.milliseconds,r.M=i.months),n=new ze(r),$e(e)&&m(e,"_locale")&&(n._locale=e._locale),$e(e)&&m(e,"_isValid")&&(n._isValid=e._isValid),n}E.fn=ze.prototype,E.invalid=en;function ae(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function gr(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function yn(e,t){var r;return e.isValid()&&t.isValid()?(t=Tt(t,e),e.isBefore(t)?r=gr(e,t):(r=gr(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function kr(e,t){return function(r,s){var a,n;return s!==null&&!isNaN(+s)&&(qt(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=r,r=s,s=n),a=E(r,s),Sr(this,a,e),this}}function Sr(e,t,r,s){var a=t._milliseconds,n=Yt(t._days),i=Yt(t._months);e.isValid()&&(s=s??!0,i&&nr(e,ke(e,"Month")+i*r),n&&rr(e,"Date",ke(e,"Date")+n*r),a&&e._d.setTime(e._d.valueOf()+a*r),s&&o.updateOffset(e,n||i))}var pn=kr(1,"add"),wn=kr(-1,"subtract");function vr(e){return typeof e=="string"||e instanceof String}function Mn(e){return A(e)||pe(e)||vr(e)||P(e)||gn(e)||Dn(e)||e===null||e===void 0}function Dn(e){var t=c(e)&&!b(e),r=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,n,i=s.length;for(a=0;a<i;a+=1)n=s[a],r=r||m(e,n);return t&&r}function gn(e){var t=u(e),r=!1;return t&&(r=e.filter(function(s){return!P(s)&&vr(e)}).length===0),t&&r}function kn(e){var t=c(e)&&!b(e),r=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,n;for(a=0;a<s.length;a+=1)n=s[a],r=r||m(e,n);return t&&r}function Sn(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function vn(e,t){arguments.length===1&&(arguments[0]?Mn(arguments[0])?(e=arguments[0],t=void 0):kn(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||S(),s=Tt(r,this).startOf("day"),a=o.calendarFormat(this,s)||"sameElse",n=t&&(H(t[a])?t[a].call(this,r):t[a]);return this.format(n||this.localeData().calendar(a,this,S(r)))}function Yn(){return new we(this)}function On(e,t){var r=A(e)?e:S(e);return this.isValid()&&r.isValid()?(t=C(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function Tn(e,t){var r=A(e)?e:S(e);return this.isValid()&&r.isValid()?(t=C(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function bn(e,t,r,s){var a=A(e)?e:S(e),n=A(t)?t:S(t);return this.isValid()&&a.isValid()&&n.isValid()?(s=s||"()",(s[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(s[1]===")"?this.isBefore(n,r):!this.isAfter(n,r))):!1}function xn(e,t){var r=A(e)?e:S(e),s;return this.isValid()&&r.isValid()?(t=C(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(s=r.valueOf(),this.clone().startOf(t).valueOf()<=s&&s<=this.clone().endOf(t).valueOf())):!1}function Nn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Wn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Pn(e,t,r){var s,a,n;if(!this.isValid())return NaN;if(s=Tt(e,this),!s.isValid())return NaN;switch(a=(s.utcOffset()-this.utcOffset())*6e4,t=C(t),t){case"year":n=Ze(this,s)/12;break;case"month":n=Ze(this,s);break;case"quarter":n=Ze(this,s)/3;break;case"second":n=(this-s)/1e3;break;case"minute":n=(this-s)/6e4;break;case"hour":n=(this-s)/36e5;break;case"day":n=(this-s-a)/864e5;break;case"week":n=(this-s-a)/6048e5;break;default:n=this-s}return r?n:I(n)}function Ze(e,t){if(e.date()<t.date())return-Ze(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),s=e.clone().add(r,"months"),a,n;return t-s<0?(a=e.clone().add(r-1,"months"),n=(t-s)/(s-a)):(a=e.clone().add(r+1,"months"),n=(t-s)/(a-s)),-(r+n)||0}o.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",o.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Rn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Fn(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Fe(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):H(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Fe(r,"Z")):Fe(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Cn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,s,a,n;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",n=t+'[")]',this.format(r+s+a+n)}function In(e){e||(e=this.isUtc()?o.defaultFormatUtc:o.defaultFormat);var t=Fe(this,e);return this.localeData().postformat(t)}function An(e,t){return this.isValid()&&(A(e)&&e.isValid()||S(e).isValid())?E({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Ln(e){return this.from(S(),e)}function En(e,t){return this.isValid()&&(A(e)&&e.isValid()||S(e).isValid())?E({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Un(e){return this.to(S(),e)}function Yr(e){var t;return e===void 0?this._locale._abbr:(t=q(e),t!=null&&(this._locale=t),this)}var Or=F("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Tr(){return this._locale}var qe=1e3,fe=60*qe,Be=60*fe,br=(365*400+97)*24*Be;function ce(e,t){return(e%t+t)%t}function xr(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-br:new Date(e,t,r).valueOf()}function Nr(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-br:Date.UTC(e,t,r)}function Hn(e){var t,r;if(e=C(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Nr:xr,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=ce(t+(this._isUTC?0:this.utcOffset()*fe),Be);break;case"minute":t=this._d.valueOf(),t-=ce(t,fe);break;case"second":t=this._d.valueOf(),t-=ce(t,qe);break}return this._d.setTime(t),o.updateOffset(this,!0),this}function Vn(e){var t,r;if(e=C(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Nr:xr,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Be-ce(t+(this._isUTC?0:this.utcOffset()*fe),Be)-1;break;case"minute":t=this._d.valueOf(),t+=fe-ce(t,fe)-1;break;case"second":t=this._d.valueOf(),t+=qe-ce(t,qe)-1;break}return this._d.setTime(t),o.updateOffset(this,!0),this}function Gn(){return this._d.valueOf()-(this._offset||0)*6e4}function jn(){return Math.floor(this.valueOf()/1e3)}function zn(){return new Date(this.valueOf())}function $n(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Zn(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function qn(){return this.isValid()?this.toISOString():null}function Bn(){return st(this)}function Jn(){return K({},y(this))}function Qn(){return y(this).overflow}function Xn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}f("N",0,0,"eraAbbr"),f("NN",0,0,"eraAbbr"),f("NNN",0,0,"eraAbbr"),f("NNNN",0,0,"eraName"),f("NNNNN",0,0,"eraNarrow"),f("y",["y",1],"yo","eraYear"),f("y",["yy",2],0,"eraYear"),f("y",["yyy",3],0,"eraYear"),f("y",["yyyy",4],0,"eraYear"),h("N",xt),h("NN",xt),h("NNN",xt),h("NNNN",ui),h("NNNNN",di),g(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,s){var a=r._locale.erasParse(e,s,r._strict);a?y(r).era=a:y(r).invalidEra=e}),h("y",le),h("yy",le),h("yyy",le),h("yyyy",le),h("yo",hi),g(["y","yy","yyy","yyyy"],x),g(["yo"],function(e,t,r,s){var a;r._locale._eraYearOrdinalRegex&&(a=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[x]=r._locale.eraYearOrdinalParse(e,a):t[x]=parseInt(e,10)});function Kn(e,t){var r,s,a,n=this._eras||q("en")._eras;for(r=0,s=n.length;r<s;++r){switch(typeof n[r].since){case"string":a=o(n[r].since).startOf("day"),n[r].since=a.valueOf();break}switch(typeof n[r].until){case"undefined":n[r].until=1/0;break;case"string":a=o(n[r].until).startOf("day").valueOf(),n[r].until=a.valueOf();break}}return n}function ei(e,t,r){var s,a,n=this.eras(),i,d,_;for(e=e.toUpperCase(),s=0,a=n.length;s<a;++s)if(i=n[s].name.toUpperCase(),d=n[s].abbr.toUpperCase(),_=n[s].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(d===e)return n[s];break;case"NNNN":if(i===e)return n[s];break;case"NNNNN":if(_===e)return n[s];break}else if([i,d,_].indexOf(e)>=0)return n[s]}function ti(e,t){var r=e.since<=e.until?1:-1;return t===void 0?o(e.since).year():o(e.since).year()+(t-e.offset)*r}function ri(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].name;return""}function si(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].narrow;return""}function ai(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].abbr;return""}function ni(){var e,t,r,s,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(r=a[e].since<=a[e].until?1:-1,s=this.clone().startOf("day").valueOf(),a[e].since<=s&&s<=a[e].until||a[e].until<=s&&s<=a[e].since)return(this.year()-o(a[e].since).year())*r+a[e].offset;return this.year()}function ii(e){return m(this,"_erasNameRegex")||Nt.call(this),e?this._erasNameRegex:this._erasRegex}function oi(e){return m(this,"_erasAbbrRegex")||Nt.call(this),e?this._erasAbbrRegex:this._erasRegex}function li(e){return m(this,"_erasNarrowRegex")||Nt.call(this),e?this._erasNarrowRegex:this._erasRegex}function xt(e,t){return t.erasAbbrRegex(e)}function ui(e,t){return t.erasNameRegex(e)}function di(e,t){return t.erasNarrowRegex(e)}function hi(e,t){return t._eraYearOrdinalRegex||le}function Nt(){var e=[],t=[],r=[],s=[],a,n,i,d,_,w=this.eras();for(a=0,n=w.length;a<n;++a)i=j(w[a].name),d=j(w[a].abbr),_=j(w[a].narrow),t.push(i),e.push(d),r.push(_),s.push(i),s.push(d),s.push(_);this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}f(0,["gg",2],0,function(){return this.weekYear()%100}),f(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Je(e,t){f(0,[e,e.length],0,t)}Je("gggg","weekYear"),Je("ggggg","weekYear"),Je("GGGG","isoWeekYear"),Je("GGGGG","isoWeekYear"),h("G",Le),h("g",Le),h("GG",k,R),h("gg",k,R),h("GGGG",ct,ft),h("gggg",ct,ft),h("GGGGG",Ae,Ce),h("ggggg",Ae,Ce),De(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,s){t[s.substr(0,2)]=p(e)}),De(["gg","GG"],function(e,t,r,s){t[s]=o.parseTwoDigitYear(e)});function fi(e){return Wr.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function ci(e){return Wr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function mi(){return Z(this.year(),1,4)}function _i(){return Z(this.isoWeekYear(),1,4)}function yi(){var e=this.localeData()._week;return Z(this.year(),e.dow,e.doy)}function pi(){var e=this.localeData()._week;return Z(this.weekYear(),e.dow,e.doy)}function Wr(e,t,r,s,a){var n;return e==null?ve(this,s,a).year:(n=Z(e,s,a),t>n&&(t=n),wi.call(this,e,t,r,s,a))}function wi(e,t,r,s,a){var n=lr(e,t,r,s,a),i=Se(n.year,0,n.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}f("Q",0,"Qo","quarter"),h("Q",Qt),g("Q",function(e,t){t[z]=(p(e)-1)*3});function Mi(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}f("D",["DD",2],"Do","date"),h("D",k,ue),h("DD",k,R),h("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),g(["D","DD"],G),g("Do",function(e,t){t[G]=p(e.match(k)[0])});var Pr=de("Date",!0);f("DDD",["DDDD",3],"DDDo","dayOfYear"),h("DDD",Ie),h("DDDD",Xt),g(["DDD","DDDD"],function(e,t,r){r._dayOfYear=p(e)});function Di(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}f("m",["mm",2],0,"minute"),h("m",k,mt),h("mm",k,R),g(["m","mm"],L);var gi=de("Minutes",!1);f("s",["ss",2],0,"second"),h("s",k,mt),h("ss",k,R),g(["s","ss"],$);var ki=de("Seconds",!1);f("S",0,0,function(){return~~(this.millisecond()/100)}),f(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),f(0,["SSS",3],0,"millisecond"),f(0,["SSSS",4],0,function(){return this.millisecond()*10}),f(0,["SSSSS",5],0,function(){return this.millisecond()*100}),f(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),f(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),f(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),f(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),h("S",Ie,Qt),h("SS",Ie,R),h("SSS",Ie,Xt);var te,Rr;for(te="SSSS";te.length<=9;te+="S")h(te,le);function Si(e,t){t[se]=p(("0."+e)*1e3)}for(te="S";te.length<=9;te+="S")g(te,Si);Rr=de("Milliseconds",!1),f("z",0,0,"zoneAbbr"),f("zz",0,0,"zoneName");function vi(){return this._isUTC?"UTC":""}function Yi(){return this._isUTC?"Coordinated Universal Time":""}var l=we.prototype;l.add=pn,l.calendar=vn,l.clone=Yn,l.diff=Pn,l.endOf=Vn,l.format=In,l.from=An,l.fromNow=Ln,l.to=En,l.toNow=Un,l.get=Fs,l.invalidAt=Qn,l.isAfter=On,l.isBefore=Tn,l.isBetween=bn,l.isSame=xn,l.isSameOrAfter=Nn,l.isSameOrBefore=Wn,l.isValid=Bn,l.lang=Or,l.locale=Yr,l.localeData=Tr,l.max=qa,l.min=Za,l.parsingFlags=Jn,l.set=Cs,l.startOf=Hn,l.subtract=wn,l.toArray=$n,l.toObject=Zn,l.toDate=zn,l.toISOString=Fn,l.inspect=Cn,typeof Symbol<"u"&&Symbol.for!=null&&(l[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),l.toJSON=qn,l.toString=Rn,l.unix=jn,l.valueOf=Gn,l.creationData=Xn,l.eraName=ri,l.eraNarrow=si,l.eraAbbr=ai,l.eraYear=ni,l.year=tr,l.isLeapYear=Rs,l.weekYear=fi,l.isoWeekYear=ci,l.quarter=l.quarters=Mi,l.month=ir,l.daysInMonth=js,l.week=l.weeks=Xs,l.isoWeek=l.isoWeeks=Ks,l.weeksInYear=yi,l.weeksInWeekYear=pi,l.isoWeeksInYear=mi,l.isoWeeksInISOWeekYear=_i,l.date=Pr,l.day=l.days=fa,l.weekday=ca,l.isoWeekday=ma,l.dayOfYear=Di,l.hour=l.hours=ga,l.minute=l.minutes=gi,l.second=l.seconds=ki,l.millisecond=l.milliseconds=Rr,l.utcOffset=sn,l.utc=nn,l.local=on,l.parseZone=ln,l.hasAlignedHourOffset=un,l.isDST=dn,l.isLocal=fn,l.isUtcOffset=cn,l.isUtc=Dr,l.isUTC=Dr,l.zoneAbbr=vi,l.zoneName=Yi,l.dates=F("dates accessor is deprecated. Use date instead.",Pr),l.months=F("months accessor is deprecated. Use month instead",ir),l.years=F("years accessor is deprecated. Use year instead",tr),l.zone=F("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",an),l.isDSTShifted=F("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",hn);function Oi(e){return S(e*1e3)}function Ti(){return S.apply(null,arguments).parseZone()}function Fr(e){return e}var D=ot.prototype;D.calendar=hs,D.longDateFormat=_s,D.invalidDate=ps,D.ordinal=Ds,D.preparse=Fr,D.postformat=Fr,D.relativeTime=ks,D.pastFuture=Ss,D.set=us,D.eras=Kn,D.erasParse=ei,D.erasConvertYear=ti,D.erasAbbrRegex=oi,D.erasNameRegex=ii,D.erasNarrowRegex=li,D.months=Us,D.monthsShort=Hs,D.monthsParse=Gs,D.monthsRegex=$s,D.monthsShortRegex=zs,D.week=qs,D.firstDayOfYear=Qs,D.firstDayOfWeek=Js,D.weekdays=oa,D.weekdaysMin=ua,D.weekdaysShort=la,D.weekdaysParse=ha,D.weekdaysRegex=_a,D.weekdaysShortRegex=ya,D.weekdaysMinRegex=pa,D.isPM=Ma,D.meridiem=ka;function Qe(e,t,r,s){var a=q(),n=U().set(s,t);return a[r](n,e)}function Cr(e,t,r){if(P(e)&&(t=e,e=void 0),e=e||"",t!=null)return Qe(e,t,r,"month");var s,a=[];for(s=0;s<12;s++)a[s]=Qe(e,s,r,"month");return a}function Wt(e,t,r,s){typeof e=="boolean"?(P(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,P(t)&&(r=t,t=void 0),t=t||"");var a=q(),n=e?a._week.dow:0,i,d=[];if(r!=null)return Qe(t,(r+n)%7,s,"day");for(i=0;i<7;i++)d[i]=Qe(t,(i+n)%7,s,"day");return d}function bi(e,t){return Cr(e,t,"months")}function xi(e,t){return Cr(e,t,"monthsShort")}function Ni(e,t,r){return Wt(e,t,r,"weekdays")}function Wi(e,t,r){return Wt(e,t,r,"weekdaysShort")}function Pi(e,t,r){return Wt(e,t,r,"weekdaysMin")}ee("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(e){var t=e%10,r=p(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}}),o.lang=F("moment.lang is deprecated. Use moment.locale instead.",ee),o.langData=F("moment.langData is deprecated. Use moment.localeData instead.",q);var B=Math.abs;function Ri(){var e=this._data;return this._milliseconds=B(this._milliseconds),this._days=B(this._days),this._months=B(this._months),e.milliseconds=B(e.milliseconds),e.seconds=B(e.seconds),e.minutes=B(e.minutes),e.hours=B(e.hours),e.months=B(e.months),e.years=B(e.years),this}function Ir(e,t,r,s){var a=E(t,r);return e._milliseconds+=s*a._milliseconds,e._days+=s*a._days,e._months+=s*a._months,e._bubble()}function Fi(e,t){return Ir(this,e,t,1)}function Ci(e,t){return Ir(this,e,t,-1)}function Ar(e){return e<0?Math.floor(e):Math.ceil(e)}function Ii(){var e=this._milliseconds,t=this._days,r=this._months,s=this._data,a,n,i,d,_;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=Ar(Pt(r)+t)*864e5,t=0,r=0),s.milliseconds=e%1e3,a=I(e/1e3),s.seconds=a%60,n=I(a/60),s.minutes=n%60,i=I(n/60),s.hours=i%24,t+=I(i/24),_=I(Lr(t)),r+=_,t-=Ar(Pt(_)),d=I(r/12),r%=12,s.days=t,s.months=r,s.years=d,this}function Lr(e){return e*4800/146097}function Pt(e){return e*146097/4800}function Ai(e){if(!this.isValid())return NaN;var t,r,s=this._milliseconds;if(e=C(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+s/864e5,r=this._months+Lr(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Pt(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return t*24+s/36e5;case"minute":return t*1440+s/6e4;case"second":return t*86400+s/1e3;case"millisecond":return Math.floor(t*864e5)+s;default:throw new Error("Unknown unit "+e)}}function J(e){return function(){return this.as(e)}}var Er=J("ms"),Li=J("s"),Ei=J("m"),Ui=J("h"),Hi=J("d"),Vi=J("w"),Gi=J("M"),ji=J("Q"),zi=J("y"),$i=Er;function Zi(){return E(this)}function qi(e){return e=C(e),this.isValid()?this[e+"s"]():NaN}function ne(e){return function(){return this.isValid()?this._data[e]:NaN}}var Bi=ne("milliseconds"),Ji=ne("seconds"),Qi=ne("minutes"),Xi=ne("hours"),Ki=ne("days"),eo=ne("months"),to=ne("years");function ro(){return I(this.days()/7)}var Q=Math.round,me={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function so(e,t,r,s,a){return a.relativeTime(t||1,!!r,e,s)}function ao(e,t,r,s){var a=E(e).abs(),n=Q(a.as("s")),i=Q(a.as("m")),d=Q(a.as("h")),_=Q(a.as("d")),w=Q(a.as("M")),W=Q(a.as("w")),X=Q(a.as("y")),re=n<=r.ss&&["s",n]||n<r.s&&["ss",n]||i<=1&&["m"]||i<r.m&&["mm",i]||d<=1&&["h"]||d<r.h&&["hh",d]||_<=1&&["d"]||_<r.d&&["dd",_];return r.w!=null&&(re=re||W<=1&&["w"]||W<r.w&&["ww",W]),re=re||w<=1&&["M"]||w<r.M&&["MM",w]||X<=1&&["y"]||["yy",X],re[2]=t,re[3]=+e>0,re[4]=s,so.apply(null,re)}function no(e){return e===void 0?Q:typeof e=="function"?(Q=e,!0):!1}function io(e,t){return me[e]===void 0?!1:t===void 0?me[e]:(me[e]=t,e==="s"&&(me.ss=t-1),!0)}function oo(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,s=me,a,n;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(s=Object.assign({},me,t),t.s!=null&&t.ss==null&&(s.ss=t.s-1)),a=this.localeData(),n=ao(this,!r,s,a),r&&(n=a.pastFuture(+this,n)),a.postformat(n)}var Rt=Math.abs;function _e(e){return(e>0)-(e<0)||+e}function Xe(){if(!this.isValid())return this.localeData().invalidDate();var e=Rt(this._milliseconds)/1e3,t=Rt(this._days),r=Rt(this._months),s,a,n,i,d=this.asSeconds(),_,w,W,X;return d?(s=I(e/60),a=I(s/60),e%=60,s%=60,n=I(r/12),r%=12,i=e?e.toFixed(3).replace(/\.?0+$/,""):"",_=d<0?"-":"",w=_e(this._months)!==_e(d)?"-":"",W=_e(this._days)!==_e(d)?"-":"",X=_e(this._milliseconds)!==_e(d)?"-":"",_+"P"+(n?w+n+"Y":"")+(r?w+r+"M":"")+(t?W+t+"D":"")+(a||s||e?"T":"")+(a?X+a+"H":"")+(s?X+s+"M":"")+(e?X+i+"S":"")):"P0D"}var M=ze.prototype;M.isValid=Ka,M.abs=Ri,M.add=Fi,M.subtract=Ci,M.as=Ai,M.asMilliseconds=Er,M.asSeconds=Li,M.asMinutes=Ei,M.asHours=Ui,M.asDays=Hi,M.asWeeks=Vi,M.asMonths=Gi,M.asQuarters=ji,M.asYears=zi,M.valueOf=$i,M._bubble=Ii,M.clone=Zi,M.get=qi,M.milliseconds=Bi,M.seconds=Ji,M.minutes=Qi,M.hours=Xi,M.days=Ki,M.weeks=ro,M.months=eo,M.years=to,M.humanize=oo,M.toISOString=Xe,M.toString=Xe,M.toJSON=Xe,M.locale=Yr,M.localeData=Tr,M.toIsoString=F("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Xe),M.lang=Or,f("X",0,0,"unix"),f("x",0,0,"valueOf"),h("x",Le),h("X",Ts),g("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)}),g("x",function(e,t,r){r._d=new Date(p(e))});return o.version="2.30.1",We(S),o.fn=l,o.min=Ba,o.max=Ja,o.now=Qa,o.utc=U,o.unix=Oi,o.months=bi,o.isDate=pe,o.locale=ee,o.invalid=Pe,o.duration=E,o.isMoment=A,o.weekdays=Ni,o.parseZone=Ti,o.localeData=q,o.isDuration=$e,o.monthsShort=xi,o.weekdaysMin=Pi,o.defineLocale=Dt,o.updateLocale=Oa,o.locales=Ta,o.weekdaysShort=Wi,o.normalizeUnits=C,o.relativeTimeRounding=no,o.relativeTimeThreshold=io,o.calendarFormat=Sn,o.prototype=l,o.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"},o})});var ho=Ke(Ne(),1),is=Ke(Ne(),1),ie=is.default||ho,fo=new Vr("MAT_MOMENT_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:co});function co(){return{useUtc:!1}}function mo(N,o){let We=Array(N);for(let u=0;u<N;u++)We[u]=o(u);return We}var os=(()=>{let o=class o extends tt{constructor(u,c){super(),this._options=c,this.setLocale(u||ie.locale())}setLocale(u){super.setLocale(u);let c=ie.localeData(u);this._localeData={firstDayOfWeek:c.firstDayOfWeek(),longMonths:c.months(),shortMonths:c.monthsShort(),dates:mo(31,m=>this.createDate(2017,0,m+1).format("D")),longDaysOfWeek:c.weekdays(),shortDaysOfWeek:c.weekdaysShort(),narrowDaysOfWeek:c.weekdaysMin()}}getYear(u){return this.clone(u).year()}getMonth(u){return this.clone(u).month()}getDate(u){return this.clone(u).date()}getDayOfWeek(u){return this.clone(u).day()}getMonthNames(u){return u=="long"?this._localeData.longMonths:this._localeData.shortMonths}getDateNames(){return this._localeData.dates}getDayOfWeekNames(u){return u=="long"?this._localeData.longDaysOfWeek:u=="short"?this._localeData.shortDaysOfWeek:this._localeData.narrowDaysOfWeek}getYearName(u){return this.clone(u).format("YYYY")}getFirstDayOfWeek(){return this._localeData.firstDayOfWeek}getNumDaysInMonth(u){return this.clone(u).daysInMonth()}clone(u){return u.clone().locale(this.locale)}createDate(u,c,m){let b=this._createMoment({year:u,month:c,date:m}).locale(this.locale);return b.isValid(),b}today(){return this._createMoment().locale(this.locale)}parse(u,c){return u&&typeof u=="string"?this._createMoment(u,c,this.locale):u?this._createMoment(u).locale(this.locale):null}format(u,c){return u=this.clone(u),this.isValid(u),u.format(c)}addCalendarYears(u,c){return this.clone(u).add({years:c})}addCalendarMonths(u,c){return this.clone(u).add({months:c})}addCalendarDays(u,c){return this.clone(u).add({days:c})}toIso8601(u){return this.clone(u).format()}deserialize(u){let c;if(u instanceof Date)c=this._createMoment(u).locale(this.locale);else if(this.isDateInstance(u))return this.clone(u);if(typeof u=="string"){if(!u)return null;c=this._createMoment(u,ie.ISO_8601).locale(this.locale)}return c&&this.isValid(c)?this._createMoment(c).locale(this.locale):super.deserialize(u)}isDateInstance(u){return ie.isMoment(u)}isValid(u){return this.clone(u).isValid()}invalid(){return ie.invalid()}_createMoment(u,c,m){let{strict:b,useUtc:O}=this._options||{};return O?ie.utc(u,c,m,b):ie(u,c,m,b)}};o.\u0275fac=function(c){return new(c||o)(Ft(et,8),Ft(fo,8))},o.\u0275prov=Hr({token:o,factory:o.\u0275fac});let N=o;return N})();var Ho=Ke(Ne()),_o=Ke(Ne());var yo={parse:{dateInput:"DD MMM YYYY"},display:{dateInput:"DD MMM YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}},Vo=(()=>{let o=class o{ngAfterViewInit(){}change(u){console.log(u);let c=u.toDate();console.log(c),this.dateChange.emit(c)}constructor(){this.disabled=!1,this.dateChange=new jr,this.width="100%",this.displayToggle=!0}onOpenDatepicker(){var u=new bootstrap.Dropdown(document.getElementById("dropdown-filter"));u&&(u._config.autoClose="inside")}onCloseDatepicker(){var u=new bootstrap.Dropdown(document.getElementById("dropdown-filter"));u&&(u._config.autoClose="outside")}};o.\u0275fac=function(c){return new(c||o)},o.\u0275cmp=Gr({type:o,selectors:[["datepicker"]],inputs:{placeholder:"placeholder",displayToggle:"displayToggle",date:"date",disabled:"disabled",width:"width"},outputs:{dateChange:"dateChange"},standalone:!0,features:[Br([Vt,{provide:tt,useClass:os,deps:[et]},{provide:Ht,useValue:yo}]),Jr],decls:5,vars:6,consts:[["picker1",""],[1,"date-picker"],["matInput","",3,"dateChange","click","matDatepicker","placeholder","value"],["matSuffix","",3,"for"],[3,"opened","closed"]],template:function(c,m){if(c&1){let b=Zr();At(0,"mat-form-field",1)(1,"input",2),Et("dateChange",function(P){return be(b),xe(m.change(P.value))})("click",function(){be(b);let P=Ut(4);return xe(P.open())}),Lt(),$r(2,"mat-datepicker-toggle",3),At(3,"mat-datepicker",4,0),Et("opened",function(){return be(b),xe(m.onOpenDatepicker())})("closed",function(){return be(b),xe(m.onCloseDatepicker())}),Lt()()}if(c&2){let b=Ut(4);zr("width",m.width),Ct(),qr("placeholder",m.placeholder||""),It("matDatepicker",b)("value",m.date),Ct(),It("for",b)}},dependencies:[Qr,Vt,ss,as,ns,es,Kr,Xr,rs,ts],styles:[`mat-form-field.date-picker.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{background-color:#fff!important;height:45px!important;font-size:14px;padding-left:4px}
5
- `],encapsulation:2});let N=o;return N})();export{os as a,Vo as b};
@@ -1 +0,0 @@
1
- import{d as Z,e as $,h as C}from"./chunk-DT3B54LD.js";import{I as H,J as q,O as U,a as _,e as M,h as p,i as w,j as z}from"./chunk-6B64VOO7.js";import{e as P,g as O,j as B,n as V}from"./chunk-SP6QPE3M.js";import{$ as F,Hb as j,Ja as r,Qa as f,Xa as N,_a as L,aa as u,ba as A,c,ca as y,ga as E,ia as m,j as T,ja as x,mb as D,oa as k,ob as b,ya as I}from"./chunk-6DRNAUKE.js";var K=z({passive:!0}),W=(()=>{let i=class i{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return T;let t=M(e),s=this._monitoredElements.get(t);if(s)return s.subject;let o=new c,a="cdk-text-field-autofilled",d=l=>{l.animationName==="cdk-text-field-autofill-start"&&!t.classList.contains(a)?(t.classList.add(a),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!0}))):l.animationName==="cdk-text-field-autofill-end"&&t.classList.contains(a)&&(t.classList.remove(a),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",d,K),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:o,unlisten:()=>{t.removeEventListener("animationstart",d,K)}}),o}stopMonitoring(e){let t=M(e),s=this._monitoredElements.get(t);s&&(s.unlisten(),s.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}};i.\u0275fac=function(t){return new(t||i)(y(p),y(f))},i.\u0275prov=F({token:i,factory:i.\u0275fac,providedIn:"root"});let n=i;return n})();var Y=(()=>{let i=class i{};i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=m({type:i}),i.\u0275inj=u({});let n=i;return n})();var te=new A("MAT_INPUT_VALUE_ACCESSOR"),ie=["button","checkbox","file","hidden","image","radio","range","reset","submit"],se=0,He=(()=>{let i=class i{get disabled(){return this._disabled}set disabled(e){this._disabled=_(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(P.required)??!1}set required(e){this._required=_(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&w().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=_(e)}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,t,s,o,a,d,l,G,X,R){this._elementRef=e,this._platform=t,this.ngControl=s,this._autofillMonitor=G,this._formField=R,this._uid=`mat-input-${se++}`,this.focused=!1,this.stateChanges=new c,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(v=>w().has(v)),this._iOSKeyupListener=v=>{let h=v.target;!h.value&&h.selectionStart===0&&h.selectionEnd===0&&(h.setSelectionRange(1,1),h.setSelectionRange(0,0))};let g=this._elementRef.nativeElement,S=g.nodeName.toLowerCase();this._inputValueAccessor=l||g,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&X.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new q(d,s,a,o,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=S==="select",this._isTextarea=S==="textarea",this._isInFormField=!!R,this._isNativeSelect&&(this.controlType=g.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let t=this._elementRef.nativeElement;this._previousPlaceholder=e,e?t.setAttribute("placeholder",e):t.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){ie.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}else return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}};i.\u0275fac=function(t){return new(t||i)(r(I),r(p),r(O,10),r(B,8),r(V,8),r(U),r(te,10),r(W),r(f),r($,8))},i.\u0275dir=x({type:i,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(t,s){t&1&&b("focus",function(){return s._focusChanged(!0)})("blur",function(){return s._focusChanged(!1)})("input",function(){return s._onInput()}),t&2&&(D("id",s.id)("disabled",s.disabled)("required",s.required),N("name",s.name||null)("readonly",s.readonly&&!s._isNativeSelect||null)("aria-invalid",s.empty&&s.required?null:s.errorState)("aria-required",s.required)("id",s.id),L("mat-input-server",s._isServer)("mat-mdc-form-field-textarea-control",s._isInFormField&&s._isTextarea)("mat-mdc-form-field-input-control",s._isInFormField)("mdc-text-field__input",s._isInFormField)("mat-mdc-native-select-inline",s._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[E.None,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[j([{provide:Z,useExisting:i}]),k]});let n=i;return n})(),Ce=(()=>{let i=class i{};i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=m({type:i}),i.\u0275inj=u({imports:[H,C,C,Y,H]});let n=i;return n})();export{te as a,He as b,Ce as c};
@@ -1 +0,0 @@
1
- import{$ as w,$a as f,Ab as g,Cb as y,E as ut,Ec as Ct,Fa as ft,Ga as $,Hc as bt,Ia as a,Ib as K,Ic as X,Ja as b,Lc as S,Mc as B,Na as vt,Oc as tt,Qa as U,Wa as A,Xa as H,Ya as l,Za as M,Zb as N,aa as ht,b as lt,ba as dt,c as C,ca as m,da as x,fb as d,gb as v,gc as Q,ha as Z,hb as E,ia as pt,ib as Y,j as ct,jb as q,la as mt,lb as J,lc as W,nb as gt,ob as R,p as z,pa as L,qa as G,qb as c,va as j,wc as Tt,xc as _t}from"./chunk-6DRNAUKE.js";import{a as u,b as I}from"./chunk-GRMIXZTT.js";var yt=["toast-component",""];function Ot(s,n){if(s&1){let e=J();d(0,"button",5),R("click",function(){L(e);let i=c();return G(i.remove())}),d(1,"span",6),g(2,"\xD7"),v()()}}function Dt(s,n){if(s&1&&(Y(0),g(1),q()),s&2){let e=c(2);a(),y("[",e.duplicatesCount+1,"]")}}function At(s,n){if(s&1&&(d(0,"div"),g(1),A(2,Dt,2,1,"ng-container",4),v()),s&2){let e=c();f(e.options.titleClass),H("aria-label",e.title),a(),y(" ",e.title," "),a(),l("ngIf",e.duplicatesCount)}}function Ht(s,n){if(s&1&&E(0,"div",7),s&2){let e=c();f(e.options.messageClass),l("innerHTML",e.message,$)}}function Mt(s,n){if(s&1&&(d(0,"div",8),g(1),v()),s&2){let e=c();f(e.options.messageClass),H("aria-label",e.message),a(),y(" ",e.message," ")}}function Et(s,n){if(s&1&&(d(0,"div"),E(1,"div",9),v()),s&2){let e=c();a(),M("width",e.width+"%")}}function Rt(s,n){if(s&1){let e=J();d(0,"button",5),R("click",function(){L(e);let i=c();return G(i.remove())}),d(1,"span",6),g(2,"\xD7"),v()()}}function jt(s,n){if(s&1&&(Y(0),g(1),q()),s&2){let e=c(2);a(),y("[",e.duplicatesCount+1,"]")}}function Nt(s,n){if(s&1&&(d(0,"div"),g(1),A(2,jt,2,1,"ng-container",4),v()),s&2){let e=c();f(e.options.titleClass),H("aria-label",e.title),a(),y(" ",e.title," "),a(),l("ngIf",e.duplicatesCount)}}function St(s,n){if(s&1&&E(0,"div",7),s&2){let e=c();f(e.options.messageClass),l("innerHTML",e.message,$)}}function Bt(s,n){if(s&1&&(d(0,"div",8),g(1),v()),s&2){let e=c();f(e.options.messageClass),H("aria-label",e.message),a(),y(" ",e.message," ")}}function Ft(s,n){if(s&1&&(d(0,"div"),E(1,"div",9),v()),s&2){let e=c();a(),M("width",e.width+"%")}}var et=class{_attachedHost;component;viewContainerRef;injector;constructor(n,e){this.component=n,this.injector=e}attach(n,e){return this._attachedHost=n,n.attach(this,e)}detach(){let n=this._attachedHost;if(n)return this._attachedHost=void 0,n.detach()}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},it=class{_attachedPortal;_disposeFn;attach(n,e){return this._attachedPortal=n,this.attachComponentPortal(n,e)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(n){this._disposeFn=n}},st=class{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new C;_activate=new C;_manualClose=new C;_resetTimeout=new C;_countDuplicate=new C;constructor(n){this._overlayRef=n}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(n,e){n&&this._resetTimeout.next(),e&&this._countDuplicate.next(++this.duplicatesCount)}},O=class{toastId;config;message;title;toastType;toastRef;_onTap=new C;_onAction=new C;constructor(n,e,t,i,o,r){this.toastId=n,this.config=e,this.message=t,this.title=i,this.toastType=o,this.toastRef=r,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(n){this._onAction.next(n)}onAction(){return this._onAction.asObservable()}},It={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},wt=new dt("ToastConfig"),nt=class extends it{_hostDomElement;_componentFactoryResolver;_appRef;constructor(n,e,t){super(),this._hostDomElement=n,this._componentFactoryResolver=e,this._appRef=t}attachComponentPortal(n,e){let t=this._componentFactoryResolver.resolveComponentFactory(n.component),i;return i=t.create(n.injector),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.detachView(i.hostView),i.destroy()}),e?this._hostDomElement.insertBefore(this._getComponentRootNode(i),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(i)),i}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},kt=(()=>{class s{_document=x(Q);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e=this._document.createElement("div");e.classList.add("overlay-container"),e.setAttribute("aria-live","polite"),this._document.body.appendChild(e),this._containerElement=e}static \u0275fac=function(t){return new(t||s)};static \u0275prov=w({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),ot=class{_portalHost;constructor(n){this._portalHost=n}attach(n,e=!0){return this._portalHost.attach(n,e)}detach(){return this._portalHost.detach()}},Pt=(()=>{class s{_overlayContainer=x(kt);_componentFactoryResolver=x(vt);_appRef=x(N);_document=x(Q);_paneElements=new Map;create(e,t){return this._createOverlayRef(this.getPaneElement(e,t))}getPaneElement(e="",t){return this._paneElements.get(t)||this._paneElements.set(t,{}),this._paneElements.get(t)[e]||(this._paneElements.get(t)[e]=this._createPaneElement(e,t)),this._paneElements.get(t)[e]}_createPaneElement(e,t){let i=this._document.createElement("div");return i.id="toast-container",i.classList.add(e),i.classList.add("toast-container"),t?t.getContainerElement().appendChild(i):this._overlayContainer.getContainerElement().appendChild(i),i}_createPortalHost(e){return new nt(e,this._componentFactoryResolver,this._appRef)}_createOverlayRef(e){return new ot(this._createPortalHost(e))}static \u0275fac=function(t){return new(t||s)};static \u0275prov=w({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),F=(()=>{class s{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(e,t,i,o,r){this.overlay=t,this._injector=i,this.sanitizer=o,this.ngZone=r,this.toastrConfig=u(u({},e.default),e.config),e.config.iconClasses&&(this.toastrConfig.iconClasses=u(u({},e.default.iconClasses),e.config.iconClasses))}show(e,t,i={},o=""){return this._preBuildNotification(o,e,t,this.applyConfig(i))}success(e,t,i={}){let o=this.toastrConfig.iconClasses.success||"";return this._preBuildNotification(o,e,t,this.applyConfig(i))}error(e,t,i={}){let o=this.toastrConfig.iconClasses.error||"";return this._preBuildNotification(o,e,t,this.applyConfig(i))}info(e,t,i={}){let o=this.toastrConfig.iconClasses.info||"";return this._preBuildNotification(o,e,t,this.applyConfig(i))}warning(e,t,i={}){let o=this.toastrConfig.iconClasses.warning||"";return this._preBuildNotification(o,e,t,this.applyConfig(i))}clear(e){for(let t of this.toasts)if(e!==void 0){if(t.toastId===e){t.toastRef.manualClose();return}}else t.toastRef.manualClose()}remove(e){let t=this._findToast(e);if(!t||(t.activeToast.toastRef.close(),this.toasts.splice(t.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){let i=this.toasts[this.currentlyActive].toastRef;i.isInactive()||(this.currentlyActive=this.currentlyActive+1,i.activate())}return!0}findDuplicate(e="",t="",i,o){let{includeTitleDuplicates:r}=this.toastrConfig;for(let p of this.toasts){let T=r&&p.title===e;if((!r||T)&&p.message===t)return p.toastRef.onDuplicate(i,o),p}return null}applyConfig(e={}){return u(u({},this.toastrConfig),e)}_findToast(e){for(let t=0;t<this.toasts.length;t++)if(this.toasts[t].toastId===e)return{index:t,activeToast:this.toasts[t]};return null}_preBuildNotification(e,t,i,o){return o.onActivateTick?this.ngZone.run(()=>this._buildNotification(e,t,i,o)):this._buildNotification(e,t,i,o)}_buildNotification(e,t,i,o){if(!o.toastComponent)throw new Error("toastComponent required");let r=this.findDuplicate(i,t,this.toastrConfig.resetTimeoutOnDuplicate&&o.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&i||t)&&this.toastrConfig.preventDuplicates&&r!==null)return r;this.previousToastMessage=t;let p=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(p=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));let T=this.overlay.create(o.positionClass,this.overlayContainer);this.index=this.index+1;let h=t;t&&o.enableHtml&&(h=this.sanitizer.sanitize(ft.HTML,t));let _=new st(T),D=new O(this.index,o,h,i,e,_),k=[{provide:O,useValue:D}],at=j.create({providers:k,parent:this._injector}),P=new et(o.toastComponent,at),rt=T.attach(P,o.newestOnTop);_.componentInstance=rt.instance;let V={toastId:this.index,title:i||"",message:t||"",toastRef:_,onShown:_.afterActivate(),onHidden:_.afterClosed(),onTap:D.onTap(),onAction:D.onAction(),portal:rt};return p||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{V.toastRef.activate()})),this.toasts.push(V),V}static \u0275fac=function(t){return new(t||s)(m(wt),m(Pt),m(j),m(Ct),m(U))};static \u0275prov=w({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),Vt=(()=>{class s{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=-1;toastClasses="";state;get displayStyle(){if(this.state.value==="inactive")return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(e,t,i){this.toastrService=e,this.toastPackage=t,this.ngZone=i,this.message=t.message,this.title=t.title,this.options=t.config,this.originalTimeout=t.config.timeOut,this.toastClasses=`${t.toastType} ${t.config.toastClass}`,this.sub=t.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=t.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=t.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=t.toastRef.countDuplicate().subscribe(o=>{this.duplicatesCount=o}),this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}}}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state=I(u({},this.state),{value:"active"}),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(this.width===0||this.width===100||!this.options.timeOut)return;let e=new Date().getTime(),t=this.hideTime-e;this.width=t/this.options.timeOut*100,this.options.progressAnimation==="increasing"&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state=I(u({},this.state),{value:"active"}),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){this.state.value!=="removed"&&(clearTimeout(this.timeout),this.state=I(u({},this.state),{value:"removed"}),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){this.state.value!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state.value!=="removed"&&this.options.disableTimeOut!=="extendedTimeOut"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state.value==="removed"||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(e,t){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(e),t)):this.timeout=setTimeout(()=>e(),t)}outsideInterval(e,t){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(e),t)):this.intervalId=setInterval(()=>e(),t)}runInsideAngular(e){this.ngZone?this.ngZone.run(()=>e()):e()}static \u0275fac=function(t){return new(t||s)(b(F),b(O),b(U))};static \u0275cmp=Z({type:s,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(t,i){t&1&&R("click",function(){return i.tapToast()})("mouseenter",function(){return i.stickAround()})("mouseleave",function(){return i.delayedHideToast()}),t&2&&(gt("@flyInOut",i.state),f(i.toastClasses),M("display",i.displayStyle))},standalone:!0,features:[K],attrs:yt,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(t,i){t&1&&A(0,Ot,3,0,"button",0)(1,At,3,5,"div",1)(2,Ht,1,3,"div",2)(3,Mt,2,4,"div",3)(4,Et,2,2,"div",4),t&2&&(l("ngIf",i.options.closeButton),a(),l("ngIf",i.title),a(),l("ngIf",i.message&&i.options.enableHtml),a(),l("ngIf",i.message&&!i.options.enableHtml),a(),l("ngIf",i.options.progressBar))},dependencies:[W],encapsulation:2,data:{animation:[bt("flyInOut",[B("inactive",S({opacity:0})),B("active",S({opacity:1})),B("removed",S({opacity:0})),tt("inactive => active",X("{{ easeTime }}ms {{ easing }}")),tt("active => removed",X("{{ easeTime }}ms {{ easing }}"))])]}})}return s})(),zt=I(u({},It),{toastComponent:Vt}),Zt=(s={})=>mt([{provide:wt,useValue:{default:zt,config:s}}]),oe=(()=>{class s{static forRoot(e={}){return{ngModule:s,providers:[Zt(e)]}}static \u0275fac=function(t){return new(t||s)};static \u0275mod=pt({type:s});static \u0275inj=ht({})}return s})();var Lt=(()=>{class s{toastrService;toastPackage;appRef;message;title;options;duplicatesCount;originalTimeout;width=-1;toastClasses="";get displayStyle(){return this.state==="inactive"?"none":null}state="inactive";timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(e,t,i){this.toastrService=e,this.toastPackage=t,this.appRef=i,this.message=t.message,this.title=t.title,this.options=t.config,this.originalTimeout=t.config.timeOut,this.toastClasses=`${t.toastType} ${t.config.toastClass}`,this.sub=t.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=t.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=t.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=t.toastRef.countDuplicate().subscribe(o=>{this.duplicatesCount=o})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state="active",!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(this.width===0||this.width===100||!this.options.timeOut)return;let e=new Date().getTime(),t=this.hideTime-e;this.width=t/this.options.timeOut*100,this.options.progressAnimation==="increasing"&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state="active",this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=new Date().getTime()+(this.originalTimeout||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){this.state!=="removed"&&(clearTimeout(this.timeout),this.state="removed",this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){this.state!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state!=="removed"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state==="removed"||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}static \u0275fac=function(t){return new(t||s)(b(F),b(O),b(N))};static \u0275cmp=Z({type:s,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(t,i){t&1&&R("click",function(){return i.tapToast()})("mouseenter",function(){return i.stickAround()})("mouseleave",function(){return i.delayedHideToast()}),t&2&&(f(i.toastClasses),M("display",i.displayStyle))},standalone:!0,features:[K],attrs:yt,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(t,i){t&1&&A(0,Rt,3,0,"button",0)(1,Nt,3,5,"div",1)(2,St,1,3,"div",2)(3,Bt,2,4,"div",3)(4,Ft,2,2,"div",4),t&2&&(l("ngIf",i.options.closeButton),a(),l("ngIf",i.title),a(),l("ngIf",i.message&&i.options.enableHtml),a(),l("ngIf",i.message&&!i.options.enableHtml),a(),l("ngIf",i.options.progressBar))},dependencies:[W],encapsulation:2})}return s})(),ae=I(u({},It),{toastComponent:Lt});var de=(()=>{let n=class n{constructor(t,i){this.http=t,this.toastr=i}get(t){return this.http.get(t).pipe(ut(i=>ct))}post(t,i,o={},r=1e5){return this.http.post(t,i,o).pipe(z(r))}postFile(t,i,o=1e5){return new lt(r=>{let p=localStorage.getItem("Token"),T=new Tt({"Content-Type":"application/json","Cache-Control":"no-cache"});p&&(T=T.append("Authorization","Bearer "+p)),this.http.post(t,i,{headers:T,observe:"response",responseType:"blob"}).pipe(z(o)).subscribe({next:h=>{r.next({title:h.headers.get("Content-Disposition"),file:h.body}),r.complete()},error:h=>{if(h.headers.get("Content-Type")==="application/json; charset=utf-8"){let _=new FileReader;_.addEventListener("loadend",D=>{let k=JSON.parse(D.srcElement.result)?.Message;if(!this.unauthorizedErrorHandling(h)){let P=this.errorMessageHandling(h);this.toastr.error(k??"An unknown error has occured!",P.header,{enableHtml:!0})}}),_.readAsText(h.error)}r.error(h)}})})}unauthorizedErrorHandling(t){let i=!1;return(t.status==401||t.status==403)&&(localStorage.getItem("Token")?this.toastr.error("Your session has expired. Please login again.","Unauthorized",{enableHtml:!0}):window.location.href="/",i=!0),i}errorMessageHandling(t){let i="API Error",o="Exception Message";return t.error?(i="API Error - "+t.status,t.status==451&&(i="Error"),t.error&&(o=t.error.Message)):t.Message&&(i="API Error - "+t.name,o=t.Message),{header:i,Message:o}}};n.\u0275fac=function(i){return new(i||n)(m(_t),m(F))},n.\u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"});let s=n;return s})();export{O as a,F as b,Vt as c,oe as d,de as e};
@@ -1 +0,0 @@
1
- import{e as $}from"./chunk-K3G6FMDF.js";import{c as d}from"./chunk-6F6NSBIF.js";import{$ as b,B as h,F as p,O as c,Q as l,V as g,X as m,Y as f,c as u,ca as P,d as n,q as s}from"./chunk-6DRNAUKE.js";var j=(()=>{let i=class i{constructor(t){this.http=t,this.pagination$=new n(null),this.destroy$=new u,this.data$=this.paginationFunction()}onNextPage(t){t.PageNumber+=1,this.pagination$.next(t)}setPageNumberFooter(t){this.footerPageNumber=t.PageNumber}setPaginationButtonState(t,e){e==0?this.disableNextButton=!0:this.disableNextButton=!(e<t.RowCount*t.PageNumber)}reloadPagination(t){d.IsEmpty(t.PageNumber)&&(t.PageNumber=1),this.pagination$.next(t),this.hideCount=!0,this.goToLastPage=!1}getAllData(t,e){t.RowCount=e,this.pagination$.next(t),this.goToLastPage=!0}destroy(){this.destroy$.next(!0),this.destroy$.complete(),this.pagination$=null,this.pagination$=new n(null),this.data$=this.paginationFunction()}paginationFunction(){return this.pagination$.pipe(g(this.destroy$),h(t=>t!=null),p(t=>this.http.post(`/API/${this.fetchDataEndpoint}`,JSON.stringify(t)).pipe(s(e=>e.Data))),f(this.pagination$),c((t,e)=>{let[N,o]=t,[r]=e;return o.PageNumber==1?[r,o]:[N.concat(r),o]}),m(([t,e])=>{this.setPageNumberFooter(e),this.setPaginationButtonState(e,t.length)}),s(([t])=>t),l())}};i.\u0275fac=function(e){return new(e||i)(P($))},i.\u0275prov=b({token:i,factory:i.\u0275fac,providedIn:"root"});let a=i;return a})();export{j as a};
@@ -1 +0,0 @@
1
- import{a as P}from"./chunk-NSM4JDXS.js";import"./chunk-K3G6FMDF.js";import{C,D as B}from"./chunk-ZKBLXGXT.js";import"./chunk-6B64VOO7.js";import"./chunk-SP6QPE3M.js";import{Ab as n,Bb as p,Cb as S,Ia as a,Ib as I,Ja as c,Q as f,Rb as s,Sb as m,Tb as v,Vc as M,Wa as g,Ya as u,Yc as L,_c as A,fb as t,gb as i,ha as h,lc as x,oc as E,pc as _,q as y,qc as D,rc as R,sc as b}from"./chunk-6DRNAUKE.js";import"./chunk-GRMIXZTT.js";function j(d,l){if(d&1&&(t(0,"div",3)(1,"div",4)(2,"div",5)(3,"div",6)(4,"div",7)(5,"h5"),n(6,"General"),i()(),t(7,"div",8)(8,"div",9)(9,"div",10)(10,"div",11)(11,"label"),n(12,"Created"),i(),t(13,"div")(14,"span"),n(15),s(16,"date"),i()()()(),t(17,"div",10)(18,"div",11)(19,"label"),n(20,"Duration"),i(),t(21,"div")(22,"span"),n(23),s(24,"number"),i()()()(),t(25,"div",10)(26,"div",11)(27,"label"),n(28,"Response Code"),i(),t(29,"div")(30,"span"),n(31),i()()()()()()()()(),t(32,"div",4)(33,"div",10)(34,"div",6)(35,"div",7)(36,"h5"),n(37,"Request"),i()(),t(38,"div",8)(39,"div",12)(40,"div",13)(41,"pre"),n(42),s(43,"json"),i()()()()()(),t(44,"div",10)(45,"div",6)(46,"div",7)(47,"h5"),n(48,"Response"),i()(),t(49,"div",8)(50,"div",14)(51,"div",13)(52,"pre"),n(53),s(54,"json"),i()()()()()()()()),d&2){let e=l.ngIf;a(15),p(v(16,5,e==null?null:e._source["@timestamp"],"dd MMM yyyy HH:mm:ss")),a(8),S("",v(24,8,e==null?null:e.DurationInSecond,"1.1-1")," s"),a(8),p(e==null||e._source==null||e._source.log==null?null:e._source.log.respCode),a(11),p(m(43,11,e==null||e._source==null||e._source.log==null?null:e._source.log.req)),a(11),p(m(54,13,e==null||e._source==null||e._source.log==null?null:e._source.log.res))}}var J=(()=>{let l=class l{constructor(r,o){this.inventoryAsyncServiceLog=r,this.activatedRoute=o}ngOnInit(){let r=this.activatedRoute.snapshot.queryParams;this.initInventoryLog(r?.ID)}initInventoryLog(r){this.inventoryLog$=this.inventoryAsyncServiceLog.getInventoryAsyncLogDetail(r).pipe(y(o=>(o.hits[0].DurationInSecond=parseInt(o.hits[0]._source?.Duration)/1e3,o?.hits[0])),f(1))}};l.\u0275fac=function(o){return new(o||l)(c(P),c(M))},l.\u0275cmp=h({type:l,selectors:[["app-inventory-async-detail"]],standalone:!0,features:[I],decls:7,vars:6,consts:[[3,"headerTitle","hideSearchBox","hideSearchDropdown"],["role","button","routerLink","/menu/log/inventory-async",1,"btn","btn-secondary","btn-fill","btn-lg","me-3"],["class","container-fluid mt-3",4,"ngIf"],[1,"container-fluid","mt-3"],[1,"row"],[1,"col-12"],[1,"card"],[1,"card-header"],[1,"card-body"],[1,"row","mt-7"],[1,"col-sm-6"],[1,"info-label-group"],[1,"col-sm-12"],[1,"form-group"],[1,"col-sm-12","mt-2"]],template:function(o,w){o&1&&(t(0,"mainpanel",0)(1,"actions")(2,"a",1),n(3,"Back"),i()(),t(4,"content"),g(5,j,55,15,"div",2),s(6,"async"),i()()),o&2&&(u("headerTitle","Sync Inventory Async")("hideSearchBox",!0)("hideSearchDropdown",!0),a(5),u("ngIf",m(6,4,w.inventoryLog$)))},dependencies:[b,x,E,D,R,_,B,C,A,L]});let d=l;return d})();export{J as InventoryAsyncDetailComponent};
@@ -1 +0,0 @@
1
- import{a as Xe,b as et}from"./chunk-PRYDCJG5.js";import{h as Ke,i as We,j as Ye}from"./chunk-ZKBLXGXT.js";import{B as qe,E as ie,F as Ge,I as ve,O as G,Q as Ze,R as Je,g as Qe,h as Be,m as $e,u as Ue}from"./chunk-6B64VOO7.js";import{$ as we,$a as Le,Aa as N,Ab as C,Bb as S,Hb as pe,Hc as he,Ia as s,Ib as F,Ic as me,Ja as l,Jc as ue,K as Te,Kb as ce,La as M,Lb as U,Lc as E,Mc as w,Oc as fe,Pc as _e,Qc as ge,Ra as Ae,S as k,T as Ee,Ua as j,Ub as Ne,V as D,Va as oe,Wa as f,Xa as V,Ya as m,_ as K,_a as I,a as Se,aa as W,ab as He,ac as q,ba as ke,bb as v,bc as P,c as A,cb as Z,cc as je,da as Oe,db as J,ea as Re,eb as X,fa as ze,fb as d,ga as u,gb as h,ha as O,hb as se,ia as Y,ja as x,kb as T,lb as ee,n as De,nc as de,oa as Fe,ob as Q,pa as L,q as Me,qa as H,qb as p,rb as B,sb as $,sc as Ve,ta as Pe,vb as b,wb as te,xb as _,ya as R,yb as g,za as z,zb as le}from"./chunk-6DRNAUKE.js";var ft=["*"];function _t(n,i){n&1&&$(0)}var be=(()=>{let i=class i{constructor(e){this._elementRef=e}focus(){this._elementRef.nativeElement.focus()}};i.\u0275fac=function(t){return new(t||i)(l(R))},i.\u0275dir=x({type:i,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"],standalone:!0});let n=i;return n})(),ye=(()=>{let i=class i{constructor(e){this.template=e}};i.\u0275fac=function(t){return new(t||i)(l(M))},i.\u0275dir=x({type:i,selectors:[["","cdkStepLabel",""]],standalone:!0});let n=i;return n})(),gt=0;var y={NUMBER:"number",EDIT:"edit",DONE:"done",ERROR:"error"},xe=new ke("STEPPER_GLOBAL_OPTIONS"),ne=(()=>{let i=class i{get completed(){return this._completedOverride==null?this._getDefaultCompleted():this._completedOverride}set completed(e){this._completedOverride=e}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return this._customError==null?this._getDefaultError():this._customError}set hasError(e){this._customError=e}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor(e,t){this._stepper=e,this.interacted=!1,this.interactedStream=new z,this.editable=!0,this.optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=t||{},this._displayDefaultIndicatorType=this._stepperOptions.displayDefaultIndicatorType!==!1}select(){this._stepper.selected=this}reset(){this.interacted=!1,this._completedOverride!=null&&(this._completedOverride=!1),this._customError!=null&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??this._customError!=null}};i.\u0275fac=function(t){return new(t||i)(l(K(()=>re)),l(xe,8))},i.\u0275cmp=O({type:i,selectors:[["cdk-step"]],contentQueries:function(t,r,o){if(t&1&&b(o,ye,5),t&2){let c;_(c=g())&&(r.stepLabel=c.first)}},viewQuery:function(t,r){if(t&1&&te(M,7),t&2){let o;_(o=g())&&(r.content=o.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:[u.None,"aria-label","ariaLabel"],ariaLabelledby:[u.None,"aria-labelledby","ariaLabelledby"],state:"state",editable:[u.HasDecoratorInputTransform,"editable","editable",P],optional:[u.HasDecoratorInputTransform,"optional","optional",P],completed:[u.HasDecoratorInputTransform,"completed","completed",P],hasError:[u.HasDecoratorInputTransform,"hasError","hasError",P]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],standalone:!0,features:[oe,Fe,F],ngContentSelectors:ft,decls:1,vars:0,template:function(t,r){t&1&&(B(),f(0,_t,1,0,"ng-template"))},encapsulation:2,changeDetection:0});let n=i;return n})(),re=(()=>{let i=class i{get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this.steps&&this._steps?(this._isValidIndex(e),this.selected?._markAsInteracted(),this._selectedIndex!==e&&!this._anyControlsInvalidOrPending(e)&&(e>=this._selectedIndex||this.steps.toArray()[e].editable)&&this._updateSelectedItemIndex(e)):this._selectedIndex=e}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(e){this.selectedIndex=e&&this.steps?this.steps.toArray().indexOf(e):-1}get orientation(){return this._orientation}set orientation(e){this._orientation=e,this._keyManager&&this._keyManager.withVerticalOrientation(e==="vertical")}constructor(e,t,r){this._dir=e,this._changeDetectorRef=t,this._elementRef=r,this._destroyed=new A,this.steps=new N,this._sortedHeaders=new N,this.linear=!1,this._selectedIndex=0,this.selectionChange=new z,this.selectedIndexChange=new z,this._orientation="horizontal",this._groupId=gt++}ngAfterContentInit(){this._steps.changes.pipe(k(this._steps),D(this._destroyed)).subscribe(e=>{this.steps.reset(e.filter(t=>t._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe(k(this._stepHeader),D(this._destroyed)).subscribe(e=>{this._sortedHeaders.reset(e.toArray().sort((t,r)=>t._elementRef.nativeElement.compareDocumentPosition(r._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new Ue(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation(this._orientation==="vertical"),(this._dir?this._dir.change:De()).pipe(k(this._layoutDirection()),D(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(e=>e.reset()),this._stateChanged()}_getStepLabelId(e){return`cdk-step-label-${this._groupId}-${e}`}_getStepContentId(e){return`cdk-step-content-${this._groupId}-${e}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(e){let t=e-this._selectedIndex;return t<0?this._layoutDirection()==="rtl"?"next":"previous":t>0?this._layoutDirection()==="rtl"?"previous":"next":"current"}_getIndicatorType(e,t=y.NUMBER){let r=this.steps.toArray()[e],o=this._isCurrentStep(e);return r._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(r,o):this._getGuidelineLogic(r,o,t)}_getDefaultIndicatorLogic(e,t){return e._showError()&&e.hasError&&!t?y.ERROR:!e.completed||t?y.NUMBER:e.editable?y.EDIT:y.DONE}_getGuidelineLogic(e,t,r=y.NUMBER){return e._showError()&&e.hasError&&!t?y.ERROR:e.completed&&!t?y.DONE:e.completed&&t?r:e.editable&&t?y.EDIT:r}_isCurrentStep(e){return this._selectedIndex===e}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(e){let t=this.steps.toArray();this.selectionChange.emit({selectedIndex:e,previouslySelectedIndex:this._selectedIndex,selectedStep:t[e],previouslySelectedStep:t[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(e):this._keyManager.updateActiveItem(e),this._selectedIndex=e,this.selectedIndexChange.emit(this._selectedIndex),this._stateChanged()}_onKeydown(e){let t=Qe(e),r=e.keyCode,o=this._keyManager;o.activeItemIndex!=null&&!t&&(r===32||r===13)?(this.selectedIndex=o.activeItemIndex,e.preventDefault()):o.setFocusOrigin("keyboard").onKeydown(e)}_anyControlsInvalidOrPending(e){return this.linear&&e>=0?this.steps.toArray().slice(0,e).some(t=>{let r=t.stepControl;return(r?r.invalid||r.pending||!t.interacted:!t.completed)&&!t.optional&&!t._completedOverride}):!1}_layoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_containsFocus(){let e=this._elementRef.nativeElement,t=$e();return e===t||e.contains(t)}_isValidIndex(e){return e>-1&&(!this.steps||e<this.steps.length)}};i.\u0275fac=function(t){return new(t||i)(l(ie,8),l(q),l(R))},i.\u0275dir=x({type:i,selectors:[["","cdkStepper",""]],contentQueries:function(t,r,o){if(t&1&&(b(o,ne,5),b(o,be,5)),t&2){let c;_(c=g())&&(r._steps=c),_(c=g())&&(r._stepHeader=c)}},inputs:{linear:[u.HasDecoratorInputTransform,"linear","linear",P],selectedIndex:[u.HasDecoratorInputTransform,"selectedIndex","selectedIndex",je],selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"],standalone:!0,features:[oe]});let n=i;return n})();var tt=(()=>{let i=class i{};i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({imports:[Ge]});let n=i;return n})();function vt(n,i){if(n&1&&T(0,2),n&2){let a=p();m("ngTemplateOutlet",a.iconOverrides[a.state])("ngTemplateOutletContext",a._getIconContext())}}function bt(n,i){if(n&1&&(d(0,"span",7),C(1),h()),n&2){let a=p(2);s(),S(a._getDefaultTextForState(a.state))}}function yt(n,i){if(n&1&&(d(0,"span",8),C(1),h()),n&2){let a=p(3);s(),S(a._intl.completedLabel)}}function xt(n,i){if(n&1&&(d(0,"span",8),C(1),h()),n&2){let a=p(3);s(),S(a._intl.editableLabel)}}function It(n,i){if(n&1&&(f(0,yt,2,1,"span",8)(1,xt,2,1),d(2,"mat-icon",7),C(3),h()),n&2){let a=p(2);v(0,a.state==="done"?0:a.state==="edit"?1:-1),s(3),S(a._getDefaultTextForState(a.state))}}function Ct(n,i){if(n&1&&f(0,bt,2,1)(1,It,4,2),n&2){let a,e=p();v(0,(a=e.state)==="number"?0:1)}}function St(n,i){n&1&&(d(0,"div",4),T(1,9),h()),n&2&&(s(),m("ngTemplateOutlet",i.template))}function Dt(n,i){if(n&1&&(d(0,"div",4),C(1),h()),n&2){let a=p();s(),S(a.label)}}function Mt(n,i){if(n&1&&(d(0,"div",5),C(1),h()),n&2){let a=p();s(),S(a._intl.optionalLabel)}}function Tt(n,i){if(n&1&&(d(0,"div",6),C(1),h()),n&2){let a=p();s(),S(a.errorMessage)}}var nt=["*"];function Et(n,i){}function wt(n,i){if(n&1&&($(0),f(1,Et,0,0,"ng-template",0)),n&2){let a=p();s(),m("cdkPortalOutlet",a._portal)}}var rt=(n,i)=>({step:n,i}),at=n=>({animationDuration:n}),ot=(n,i)=>({value:n,params:i});function kt(n,i){n&1&&$(0)}function Ot(n,i){n&1&&se(0,"div",6)}function Rt(n,i){if(n&1&&(T(0,5),f(1,Ot,1,0,"div",6)),n&2){let a=i.$implicit,e=i.$index,t=i.$index,r=i.$count;p(2);let o=le(4);m("ngTemplateOutlet",o)("ngTemplateOutletContext",U(3,rt,a,e)),s(),v(1,t!==r-1?1:-1)}}function zt(n,i){if(n&1){let a=ee();d(0,"div",7),Q("@horizontalStepTransition.done",function(t){L(a);let r=p(2);return H(r._animationDone.next(t))}),T(1,8),h()}if(n&2){let a=i.$implicit,e=i.$index,t=p(2);I("mat-horizontal-stepper-content-inactive",t.selectedIndex!==e),m("@horizontalStepTransition",U(8,ot,t._getAnimationDirection(e),ce(6,at,t._getAnimationDuration())))("id",t._getStepContentId(e)),V("aria-labelledby",t._getStepLabelId(e)),s(),m("ngTemplateOutlet",a.content)}}function Ft(n,i){if(n&1&&(d(0,"div",1)(1,"div",2),J(2,Rt,2,6,null,null,Z),h(),d(4,"div",3),J(5,zt,2,11,"div",4,Z),h()()),n&2){let a=p();s(2),X(a.steps),s(3),X(a.steps)}}function Pt(n,i){if(n&1){let a=ee();d(0,"div",9),T(1,5),d(2,"div",10)(3,"div",11),Q("@verticalStepTransition.done",function(t){L(a);let r=p(2);return H(r._animationDone.next(t))}),d(4,"div",12),T(5,8),h()()()()}if(n&2){let a=i.$implicit,e=i.$index,t=i.$index,r=i.$count,o=p(2),c=le(4);s(),m("ngTemplateOutlet",c)("ngTemplateOutletContext",U(10,rt,a,e)),s(),I("mat-stepper-vertical-line",t!==r-1),s(),I("mat-vertical-stepper-content-inactive",o.selectedIndex!==e),m("@verticalStepTransition",U(15,ot,o._getAnimationDirection(e),ce(13,at,o._getAnimationDuration())))("id",o._getStepContentId(e)),V("aria-labelledby",o._getStepLabelId(e)),s(2),m("ngTemplateOutlet",a.content)}}function At(n,i){if(n&1&&J(0,Pt,6,18,"div",9,Z),n&2){let a=p();X(a.steps)}}function Lt(n,i){if(n&1){let a=ee();d(0,"mat-step-header",13),Q("click",function(){let t=L(a).step;return H(t.select())})("keydown",function(t){L(a);let r=p();return H(r._onKeydown(t))}),h()}if(n&2){let a=i.step,e=i.i,t=p();I("mat-horizontal-stepper-header",t.orientation==="horizontal")("mat-vertical-stepper-header",t.orientation==="vertical"),m("tabIndex",t._getFocusIndex()===e?0:-1)("id",t._getStepLabelId(e))("index",e)("state",t._getIndicatorType(e,a.state))("label",a.stepLabel||a.label)("selected",t.selectedIndex===e)("active",t._stepIsNavigable(e,a))("optional",a.optional)("errorMessage",a.errorMessage)("iconOverrides",t._iconOverrides)("disableRipple",t.disableRipple||!t._stepIsNavigable(e,a))("color",a.color||t.color),V("aria-posinset",e+1)("aria-setsize",t.steps.length)("aria-controls",t._getStepContentId(e))("aria-selected",t.selectedIndex==e)("aria-label",a.ariaLabel||null)("aria-labelledby",!a.ariaLabel&&a.ariaLabelledby?a.ariaLabelledby:null)("aria-disabled",t._stepIsNavigable(e,a)?null:!0)}}var Ie=(()=>{let i=class i extends ye{};i.\u0275fac=(()=>{let e;return function(r){return(e||(e=Pe(i)))(r||i)}})(),i.\u0275dir=x({type:i,selectors:[["","matStepLabel",""]],standalone:!0,features:[j]});let n=i;return n})(),ae=(()=>{let i=class i{constructor(){this.changes=new A,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}};i.\u0275fac=function(t){return new(t||i)},i.\u0275prov=we({token:i,factory:i.\u0275fac,providedIn:"root"});let n=i;return n})();function Ht(n){return n||new ae}var Nt={provide:ae,deps:[[new Re,new ze,ae]],useFactory:Ht},Ce=(()=>{let i=class i extends be{constructor(e,t,r,o){super(r),this._intl=e,this._focusMonitor=t,this._intlSubscription=e.changes.subscribe(()=>o.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,t){e?this._focusMonitor.focusVia(this._elementRef,e,t):this._elementRef.nativeElement.focus(t)}_stringLabel(){return this.label instanceof Ie?null:this.label}_templateLabel(){return this.label instanceof Ie?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(e){return e=="number"?`${this.index+1}`:e=="edit"?"create":e=="error"?"warning":e}};i.\u0275fac=function(t){return new(t||i)(l(ae),l(qe),l(R),l(q))},i.\u0275cmp=O({type:i,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:2,hostBindings:function(t,r){t&2&&Le("mat-"+(r.color||"primary"))},inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple",color:"color"},standalone:!0,features:[j,F],decls:10,vars:17,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-step-label"],[1,"mat-step-text-label"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[3,"ngTemplateOutlet"]],template:function(t,r){if(t&1&&(se(0,"div",0),d(1,"div")(2,"div",1),f(3,vt,1,2,"ng-container",2)(4,Ct,2,1),h()(),d(5,"div",3),f(6,St,2,1,"div",4)(7,Dt,2,1)(8,Mt,2,1,"div",5)(9,Tt,2,1,"div",6),h()),t&2){let o;m("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disableRipple),s(),He("mat-step-icon-state-",r.state," mat-step-icon"),I("mat-step-icon-selected",r.selected),s(2),v(3,r.iconOverrides&&r.iconOverrides[r.state]?3:4),s(2),I("mat-step-label-active",r.active)("mat-step-label-selected",r.selected)("mat-step-label-error",r.state=="error"),s(),v(6,(o=r._templateLabel())?6:r._stringLabel()?7:-1,o),s(2),v(8,r.optional&&r.state!="error"?8:-1),s(),v(9,r.state==="error"?9:-1)}},dependencies:[Ze,de,Xe],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color);border-radius:var(--mat-stepper-header-hover-state-layer-shape)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color);border-radius:var(--mat-stepper-header-focus-state-layer-shape)}@media(hover: none){.mat-step-header:hover{background:none}}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color)}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color);background-color:var(--mat-stepper-header-icon-background-color)}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color);color:var(--mat-stepper-header-error-state-icon-foreground-color)}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font);font-size:var(--mat-stepper-header-label-text-size);font-weight:var(--mat-stepper-header-label-text-weight);color:var(--mat-stepper-header-label-text-color)}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color)}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color);font-size:var(--mat-stepper-header-error-state-label-text-size)}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size);font-weight:var(--mat-stepper-header-selected-state-label-text-weight)}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color);color:var(--mat-stepper-header-selected-state-icon-foreground-color)}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color);color:var(--mat-stepper-header-done-state-icon-foreground-color)}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color);color:var(--mat-stepper-header-edit-state-icon-foreground-color)}'],encapsulation:2,changeDetection:0});let n=i;return n})(),st="500ms",lt="225ms",it={horizontalStepTransition:he("horizontalStepTransition",[w("previous",E({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),w("current",E({transform:"none",visibility:"inherit"})),w("next",E({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),fe("* => *",ue([me("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),ge("@*",_e(),{optional:!0})]),{params:{animationDuration:st}})]),verticalStepTransition:he("verticalStepTransition",[w("previous",E({height:"0px",visibility:"hidden"})),w("next",E({height:"0px",visibility:"hidden"})),w("current",E({height:"*",visibility:"inherit"})),fe("* <=> current",ue([me("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),ge("@*",_e(),{optional:!0})]),{params:{animationDuration:lt}})])},jt=(()=>{let i=class i{constructor(e){this.templateRef=e}};i.\u0275fac=function(t){return new(t||i)(l(M))},i.\u0275dir=x({type:i,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[u.None,"matStepperIcon","name"]},standalone:!0});let n=i;return n})(),Vt=(()=>{let i=class i{constructor(e){this._template=e}};i.\u0275fac=function(t){return new(t||i)(l(M))},i.\u0275dir=x({type:i,selectors:[["ng-template","matStepContent",""]],standalone:!0});let n=i;return n})(),Qt=(()=>{let i=class i extends ne{constructor(e,t,r,o){super(e,o),this._errorStateMatcher=t,this._viewContainerRef=r,this._isSelected=Se.EMPTY,this.stepLabel=void 0}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe(Ee(()=>this._stepper.selectionChange.pipe(Me(e=>e.selectedStep===this),k(this._stepper.selected===this)))).subscribe(e=>{e&&this._lazyContent&&!this._portal&&(this._portal=new Ke(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(e,t){let r=this._errorStateMatcher.isErrorState(e,t),o=!!(e&&e.invalid&&this.interacted);return r||o}};i.\u0275fac=function(t){return new(t||i)(l(K(()=>pt)),l(G,4),l(Ae),l(xe,8))},i.\u0275cmp=O({type:i,selectors:[["mat-step"]],contentQueries:function(t,r,o){if(t&1&&(b(o,Ie,5),b(o,Vt,5)),t&2){let c;_(c=g())&&(r.stepLabel=c.first),_(c=g())&&(r._lazyContent=c.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],standalone:!0,features:[pe([{provide:G,useExisting:i},{provide:ne,useExisting:i}]),j,F],ngContentSelectors:nt,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(t,r){t&1&&(B(),f(0,wt,2,1,"ng-template"))},dependencies:[We],encapsulation:2,changeDetection:0});let n=i;return n})(),pt=(()=>{let i=class i extends re{get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e)?e+"ms":e}constructor(e,t,r){super(e,t,r),this._stepHeader=void 0,this._steps=void 0,this.steps=new N,this.animationDone=new z,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new A,this._animationDuration="",this._isServer=!Oe(Be).isBrowser;let o=r.nativeElement.nodeName.toLowerCase();this.orientation=o==="mat-vertical-stepper"?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:e,templateRef:t})=>this._iconOverrides[e]=t),this.steps.changes.pipe(D(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe(Te((e,t)=>e.fromState===t.fromState&&e.toState===t.toState),D(this._destroyed)).subscribe(e=>{e.toState==="current"&&this.animationDone.emit()})}_stepIsNavigable(e,t){return t.completed||this.selectedIndex===e||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:this.orientation==="horizontal"?st:lt}};i.\u0275fac=function(t){return new(t||i)(l(ie,8),l(q),l(R))},i.\u0275cmp=O({type:i,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(t,r,o){if(t&1&&(b(o,Qt,5),b(o,jt,5)),t&2){let c;_(c=g())&&(r._steps=c),_(c=g())&&(r._icons=c)}},viewQuery:function(t,r){if(t&1&&te(Ce,5),t&2){let o;_(o=g())&&(r._stepHeader=o)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(t,r){t&2&&(V("aria-orientation",r.orientation),I("mat-stepper-horizontal",r.orientation==="horizontal")("mat-stepper-vertical",r.orientation==="vertical")("mat-stepper-label-position-end",r.orientation==="horizontal"&&r.labelPosition=="end")("mat-stepper-label-position-bottom",r.orientation==="horizontal"&&r.labelPosition=="bottom")("mat-stepper-header-position-bottom",r.headerPosition==="bottom"))},inputs:{disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],standalone:!0,features:[pe([{provide:re,useExisting:i}]),j,F],ngContentSelectors:nt,decls:5,vars:2,consts:[["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[1,"mat-horizontal-content-container"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id","mat-horizontal-stepper-content-inactive"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"click","keydown","tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color"]],template:function(t,r){if(t&1&&(B(),f(0,kt,1,0)(1,Ft,7,0)(2,At,2,0)(3,Lt,1,23,"ng-template",null,0,Ne)),t&2){let o;v(0,r._isServer?0:-1),s(),v(1,(o=r.orientation)==="horizontal"?1:o==="vertical"?2:-1)}},dependencies:[de,Ce],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font);background:var(--mat-stepper-container-color)}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color);top:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}'],encapsulation:2,data:{animation:[it.horizontalStepTransition,it.verticalStepTransition]},changeDetection:0});let n=i;return n})();var Pi=(()=>{let i=class i{};i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=W({providers:[Nt,G],imports:[ve,Ve,Ye,tt,et,Je,pt,Ce,ve]});let n=i;return n})();export{xe as a,Ie as b,jt as c,Vt as d,Qt as e,pt as f,Pi as g};
@@ -1,6 +0,0 @@
1
- import{c as pt}from"./chunk-6F6NSBIF.js";import{$ as dt}from"./chunk-6DRNAUKE.js";import{a as He,b as ut,i as at}from"./chunk-GRMIXZTT.js";function L(){}var Ge=e=>e;function mt(e,t){for(let n in t)e[n]=t[n];return e}function Mt(e){return e()}function Y(e){e.forEach(Mt)}function Xe(e){return typeof e=="function"}function se(e,t){return e!=e?t==t:e!==t}function Ot(e){return Object.keys(e).length===0}function Lt(e,...t){if(e==null)return L;let n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function me(e,t,n){e.$$.on_destroy.push(Lt(t,n))}function De(e){return e&&Xe(e.destroy)?e.destroy:L}var Qe=()=>globalThis.performance.now(),xe=e=>requestAnimationFrame(e),ge=new Set;function Ct(e){ge.forEach(t=>{t.c(e)||(ge.delete(t),t.f())}),ge.size!==0&&xe(Ct)}function et(e){let t;return ge.size===0&&xe(Ct),{promise:new Promise(n=>{ge.add(t={c:e,f:n})}),abort(){ge.delete(t)}}}function G(e,t){e.appendChild(t)}function E(e,t,n){e.insertBefore(t,n||null)}function A(e){e.parentNode.removeChild(e)}function M(e){return document.createElement(e)}function Rt(e){return document.createTextNode(e)}function Me(){return Rt("")}function O(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function T(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function D(e,t,n,i){n===null?e.style.removeProperty(t):e.style.setProperty(t,n)}function N(e,t,n){e.classList[n?"add":"remove"](t)}function Nt(e,t,n=!1){let i=document.createEvent("CustomEvent");return i.initCustomEvent(e,n,!1,t),i}var he,tt=0,qe={};function Dt(e,t,n,i,r,o,s,c=0){let l=16.666/i,f=`{
2
- `;for(let a=0;a<=1;a+=l){let m=t+(n-t)*o(a);f+=a*100+`%{${s(m,1-m)}}
3
- `}let d=f+`100% {${s(n,1-n)}}
4
- }`,u=`_bp_${Math.round(Math.random()*1e9)}_${c}`;if(!qe[u]){if(!he){let a=M("style");document.head.appendChild(a),he=a.sheet}qe[u]=!0,he.insertRule(`@keyframes ${u} ${d}`,he.cssRules.length)}let h=e.style.animation||"";return e.style.animation=`${h?`${h}, `:""}${u} ${i}ms linear ${r}ms 1 both`,tt+=1,u}function Be(e,t){e.style.animation=(e.style.animation||"").split(", ").filter(t?n=>n.indexOf(t)<0:n=>n.indexOf("_bp")===-1).join(", "),t&&!--tt&&Yt()}function Yt(){xe(()=>{if(tt)return;let e=he.cssRules.length;for(;e--;)he.deleteRule(e);qe={}})}var nt;function Te(e){nt=e}var ze=[],ht=[],Le=[],gt=[],Xt=Promise.resolve(),Ke=!1;function Wt(){Ke||(Ke=!0,Xt.then(Pt))}function ne(e){Le.push(e)}var Fe=new Set,Oe=0;function Pt(){let e=nt;do{for(;Oe<ze.length;){let t=ze[Oe];Oe++,Te(t),Ft(t.$$)}for(Te(null),ze.length=0,Oe=0;ht.length;)ht.pop()();for(let t=0;t<Le.length;t+=1){let n=Le[t];Fe.has(n)||(Fe.add(n),n())}Le.length=0}while(ze.length);for(;gt.length;)gt.pop()();Ke=!1,Fe.clear(),Te(e)}function Ft(e){if(e.fragment!==null){e.update(),Y(e.before_update);let t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(ne)}}var ve;function St(){return ve||(ve=Promise.resolve(),ve.then(()=>{ve=null})),ve}function Ne(e,t,n){e.dispatchEvent(Nt(`${t?"intro":"outro"}${n}`))}var Re=new Set,V;function ie(){V={r:0,c:[],p:V}}function re(){V.r||Y(V.c),V=V.p}function v(e,t){e&&e.i&&(Re.delete(e),e.i(t))}function P(e,t,n,i){if(e&&e.o){if(Re.has(e))return;Re.add(e),V.c.push(()=>{Re.delete(e),i&&(n&&e.d(1),i())}),e.o(t)}}var $t={duration:0};function Et(e,t,n){let i=t(e,n),r=!1,o,s,c=0;function l(){o&&Be(e,o)}function f(){let{delay:u=0,duration:h=300,easing:a=Ge,tick:m=L,css:g}=i||$t;g&&(o=Dt(e,0,1,h,u,a,g,c++)),m(0,1);let k=Qe()+u,H=k+h;s&&s.abort(),r=!0,ne(()=>Ne(e,!0,"start")),s=et(X=>{if(r){if(X>=H)return m(1,0),Ne(e,!0,"end"),l(),r=!1;if(X>=k){let y=a((X-k)/h);m(y,1-y)}}return r})}let d=!1;return{start(){d||(d=!0,Be(e),Xe(i)?(i=i(),St().then(f)):f())},invalidate(){d=!1},end(){r&&(l(),r=!1)}}}function _e(e,t,n){let i=t(e,n),r=!0,o,s=V;s.r+=1;function c(){let{delay:l=0,duration:f=300,easing:d=Ge,tick:u=L,css:h}=i||$t;h&&(o=Dt(e,1,0,f,l,d,h));let a=Qe()+l,m=a+f;ne(()=>Ne(e,!1,"start")),et(g=>{if(r){if(g>=m)return u(0,1),Ne(e,!1,"end"),--s.r||Y(s.c),!1;if(g>=a){let k=d((g-a)/f);u(1-k,k)}}return r})}return Xe(i)?St().then(()=>{i=i(),c()}):c(),{end(l){l&&i.tick&&i.tick(1,0),r&&(o&&Be(e,o),r=!1)}}}function ke(e){e&&e.c()}function le(e,t,n,i){let{fragment:r,on_mount:o,on_destroy:s,after_update:c}=e.$$;r&&r.m(t,n),i||ne(()=>{let l=o.map(Mt).filter(Xe);s?s.push(...l):Y(l),e.$$.on_mount=[]}),c.forEach(ne)}function ce(e,t){let n=e.$$;n.fragment!==null&&(Y(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Zt(e,t){e.$$.dirty[0]===-1&&(ze.push(e),Wt(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Pe(e,t,n,i,r,o,s,c=[-1]){let l=nt;Te(e);let f=e.$$={fragment:null,ctx:null,props:o,update:L,not_equal:r,bound:{},on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:{},dirty:c,skip_bound:!1,root:t.target||l.$$.root};s&&s(f.root);let d=!1;f.ctx=n?n(e,t.props||{},(u,h,...a)=>{let m=a.length?a[0]:h;return f.ctx&&r(f.ctx[u],f.ctx[u]=m)&&(!f.skip_bound&&f.bound[u]&&f.bound[u](m),d&&Zt(e,u)),h}):[],f.update(),d=!0,Y(f.before_update),f.fragment=i?i(f.ctx):!1,t.target&&(f.fragment&&f.fragment.c(),le(e,t.target,t.anchor,t.customElement),Pt()),Te(l)}var oe=class{$destroy(){ce(this,1),this.$destroy=L}$on(t,n){let i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(n),()=>{let r=i.indexOf(n);r!==-1&&i.splice(r,1)}}$set(t){this.$$set&&!Ot(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}};function it(e){let t=e-1;return t*t*t+1}function Q(e,{delay:t=0,duration:n=400,easing:i=it,x:r=0,y:o=0,opacity:s=0}={}){let c=getComputedStyle(e),l=+c.opacity,f=c.transform==="none"?"":c.transform,d=l*(1-s);return{delay:t,duration:n,easing:i,css:(u,h)=>`
5
- transform: ${f} translate(${(1-u)*r}px, ${(1-u)*o}px);
6
- opacity: ${l-d*h}`}}var pe=[];function rt(e,t=L){let n,i=new Set;function r(c){if(se(e,c)&&(e=c,n)){let l=!pe.length;for(let f of i)f[1](),pe.push(f,e);if(l){for(let f=0;f<pe.length;f+=2)pe[f][0](pe[f+1]);pe.length=0}}}function o(c){r(c(e))}function s(c,l=L){let f=[c,l];return i.add(f),i.size===1&&(n=t(r)||L),c(e),()=>{i.delete(f),i.size===0&&(n(),n=null)}}return{set:r,update:o,subscribe:s}}function At(e,t){if(e===t||e!==e)return()=>e;let n=typeof e;if(Array.isArray(e)){let i=t.map((r,o)=>At(e[o],r));return r=>i.map(o=>o(r))}if(n==="number"){let i=t-e;return r=>e+r*i}}function _t(e,t={}){let n=rt(e),i,r=e;function o(s,c){if(e==null)return n.set(e=s),Promise.resolve();r=s;let l=i,f=!1,{delay:d=0,duration:u=400,easing:h=Ge,interpolate:a=At}=mt(mt({},t),c);if(u===0)return l&&(l.abort(),l=null),n.set(e=r),Promise.resolve();let m=Qe()+d,g;return i=et(k=>{if(k<m)return!0;f||(g=a(e,s),typeof u=="function"&&(u=u(e,s)),f=!0),l&&(l.abort(),l=null);let H=k-m;return H>u?(n.set(e=s),!1):(n.set(e=g(h(H/u))),!0)}),i.promise}return{set:o,update:(s,c)=>o(s(r,e),c),subscribe:n.subscribe}}var Ye=rt(0),qt=globalThis.matchMedia?.("(prefers-reduced-motion: reduce)").matches,Ze=e=>({easing:it,duration:qt?0:e}),be=e=>!e.thumb||`url(${e.thumb})`,Ie=(e,t)=>{if(t){typeof t=="string"&&(t=JSON.parse(t));for(let n in t)e.setAttribute(n,t[n])}};function bt(e){let t,n,i;return{c(){t=M("div"),t.innerHTML='<span class="bp-bar"></span><span class="bp-o"></span>',T(t,"class","bp-load"),D(t,"background-image",be(e[0]))},m(r,o){E(r,t,o),i=!0},p(r,o){o&1&&D(t,"background-image",be(r[0]))},i(r){i||(n&&n.end(1),i=!0)},o(r){r&&(n=_e(t,Q,{duration:480})),i=!1},d(r){r&&A(t),r&&n&&n.end()}}}function kt(e){let t,n;return{c(){t=M("div"),T(t,"class","bp-load"),D(t,"background-image",be(e[0]))},m(i,r){E(i,t,r)},p(i,r){r&1&&D(t,"background-image",be(i[0]))},i(i){n||ne(()=>{n=Et(t,Q,{duration:480}),n.start()})},o:L,d(i){i&&A(t)}}}function Bt(e){let t,n,i=!e[1]&&bt(e),r=e[2]&&kt(e);return{c(){i&&i.c(),t=Me(),r&&r.c(),n=Me()},m(o,s){i&&i.m(o,s),E(o,t,s),r&&r.m(o,s),E(o,n,s)},p(o,[s]){o[1]?i&&(ie(),P(i,1,1,()=>{i=null}),re()):i?(i.p(o,s),s&2&&v(i,1)):(i=bt(o),i.c(),v(i,1),i.m(t.parentNode,t)),o[2]?r?(r.p(o,s),s&4&&v(r,1)):(r=kt(o),r.c(),v(r,1),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},i(o){v(i),v(r)},o(o){P(i)},d(o){i&&i.d(o),o&&A(t),r&&r.d(o),o&&A(n)}}}function Kt(e,t,n){let i;me(e,Ye,s=>n(2,i=s));let{activeItem:r}=t,{loaded:o}=t;return e.$$set=s=>{"activeItem"in s&&n(0,r=s.activeItem),"loaded"in s&&n(1,o=s.loaded)},[r,o,i]}var Ce=class extends oe{constructor(t){super(),Pe(this,t,Kt,Bt,se,{activeItem:0,loaded:1})}};function yt(e){let t,n,i,r,o,s;return{c(){t=M("img"),T(t,"sizes",n=e[8].sizes||`${e[1]}px`),T(t,"alt",e[7].alt)},m(c,l){E(c,t,l),r=!0,o||(s=[De(e[21].call(null,t)),O(t,"error",e[27])],o=!0)},p(c,l){(!r||l[0]&2&&n!==(n=c[8].sizes||`${c[1]}px`))&&T(t,"sizes",n)},i(c){r||(i&&i.end(1),r=!0)},o(c){i=_e(t,Q,{}),r=!1},d(c){c&&A(t),c&&i&&i.end(),o=!1,Y(s)}}}function wt(e){let t,n;return t=new Ce({props:{activeItem:e[7],loaded:e[2]}}),{c(){ke(t.$$.fragment)},m(i,r){le(t,i,r),n=!0},p(i,r){let o={};r[0]&4&&(o.loaded=i[2]),t.$set(o)},i(i){n||(v(t.$$.fragment,i),n=!0)},o(i){P(t.$$.fragment,i),n=!1},d(i){ce(t,i)}}}function jt(e){let t,n,i,r=`translate3d(${e[0][0]/-2+e[6][0]}px, ${e[0][1]/-2+e[6][1]}px, 0)`,o,s,c,l=e[2]&&yt(e),f=e[3]&&wt(e);return{c(){t=M("div"),n=M("div"),l&&l.c(),i=Me(),f&&f.c(),T(n,"class","bp-img"),D(n,"width",e[0][0]+"px"),D(n,"height",e[0][1]+"px"),N(n,"bp-drag",e[4]),N(n,"bp-canzoom",e[11]>1&&e[0][0]<e[12]),D(n,"background-image",be(e[7])),D(n,"transform",r),T(t,"class","bp-img-wrap"),N(t,"bp-close",e[5])},m(d,u){E(d,t,u),G(t,n),l&&l.m(n,null),G(n,i),f&&f.m(n,null),o=!0,s||(c=[De(e[20].call(null,n)),O(t,"wheel",e[15]),O(t,"pointerdown",e[16]),O(t,"pointermove",e[17]),O(t,"pointerup",e[19]),O(t,"pointercancel",e[18])],s=!0)},p(d,u){d[2]?l?(l.p(d,u),u[0]&4&&v(l,1)):(l=yt(d),l.c(),v(l,1),l.m(n,i)):l&&(ie(),P(l,1,1,()=>{l=null}),re()),d[3]?f?(f.p(d,u),u[0]&8&&v(f,1)):(f=wt(d),f.c(),v(f,1),f.m(n,null)):f&&(ie(),P(f,1,1,()=>{f=null}),re()),(!o||u[0]&1)&&D(n,"width",d[0][0]+"px"),(!o||u[0]&1)&&D(n,"height",d[0][1]+"px"),(!o||u[0]&16)&&N(n,"bp-drag",d[4]),(!o||u[0]&6145)&&N(n,"bp-canzoom",d[11]>1&&d[0][0]<d[12]),u[0]&65&&r!==(r=`translate3d(${d[0][0]/-2+d[6][0]}px, ${d[0][1]/-2+d[6][1]}px, 0)`)&&D(n,"transform",r),(!o||u[0]&32)&&N(t,"bp-close",d[5])},i(d){o||(v(l),v(f),o=!0)},o(d){P(l),P(f),o=!1},d(d){d&&A(t),l&&l.d(),f&&f.d(),s=!1,Y(c)}}}function Jt(e,t,n){let i,r,o,s;me(e,Ye,p=>n(26,o=p));let{props:c}=t,{smallScreen:l}=t,{activeItem:f,opts:d,prev:u,next:h,zoomed:a,container:m}=c;me(e,a,p=>n(25,i=p));let g=f.maxZoom||d.maxZoom||10,k=c.calculateDimensions(f),H=k[0],X,y,W,Se,j=0,S,J,fe,ue,$e,ae,Ee,x=+f.width,ye=[],ee=new Map,U=_t(k,Ze(400));me(e,U,p=>n(0,s=p));let F=_t([0,0],Ze(400));me(e,F,p=>n(6,r=p));let we=([p,z],C=s)=>{let w=(C[0]-m.w)/2,R=(C[1]-m.h)/2;return w<0?p=0:p>w?l?(p=S?w+(p-w)/10:w,p>w+20&&n(4,S=u())):p=w:p<-w&&(l?(p=S?-w-(-w-p)/10:-w,p<-w-20&&n(4,S=h())):p=-w),R<0?z=0:z>R?z=R:z<-R&&(z=-R),[p,z]};function de(p=g,z){if(o)return;let C=k[0]*g,w=s[0]+s[0]*p,R=s[1]+s[1]*p;if(p>0)w>C&&(w=C,R=k[1]*g),w>x&&(w=x,R=+f.height);else if(w<k[0])return U.set(k),F.set([0,0]);let{x:K,y:We,width:ot,height:st}=Se.getBoundingClientRect(),lt=z?z.clientX-K-ot/2:0,ct=z?z.clientY-We-st/2:0;K=-lt*(w/ot)+lt,We=-ct*(R/st)+ct;let ft=[w,R];U.set(ft).then(()=>{n(1,H=Math.round(Math.max(H,w)))}),F.set(we([r[0]+K,r[1]+We],ft))}Object.defineProperty(f,"zoom",{configurable:!0,get:()=>i,set:p=>de(p?g:-g)});let _=p=>{d.inline&&!i||(p.preventDefault(),de(p.deltaY/-300,p))},b=p=>{p.button!==2&&(p.preventDefault(),n(4,S=!0),ee.set(p.pointerId,p),fe=p.clientX,ue=p.clientY,$e=r[0],ae=r[1])},I=p=>{if(ee.size>1)return n(4,S=!1),d.noPinch?.(m.el)||$(p);if(!S)return;let z=p.clientX,C=p.clientY;J=ye.push({x:z,y:C})>2,z=z-fe,C=C-ue,i||(C<-90&&n(4,S=!d.noClose&&c.close()),Math.abs(C)<30&&(z>40&&n(4,S=u()),z<-40&&n(4,S=h()))),i&&J&&!o&&F.set(we([$e+z,ae+C]),{duration:0})},$=p=>{let[z,C]=ee.set(p.pointerId,p).values(),w=z.clientX-C.clientX,R=z.clientY-C.clientY,K=Math.hypot(w,R);W=W||{clientX:(z.clientX+C.clientX)/2,clientY:(z.clientY+C.clientY)/2},de(((j||K)-K)/-35,W),j=K},Z=p=>ee.delete(p.pointerId);function q(p){if(Z(p),W&&(n(4,S=j=0),W=ee.size?W:null),!!S){if(n(4,S=!1),p.target===this&&!d.noClose)return c.close();if(J){let[z,C,w]=ye.slice(-3),R=C.x-w.x,K=C.y-w.y;Math.hypot(R,K)>5&&F.set(we([r[0]-(z.x-w.x)*5,r[1]-(z.y-w.y)*5]))}else d.onImageClick?.(m.el,f)||de(i?-g:g,p);J=!1,ye.length=0}}let te=p=>{Se=p,c.setResizeFunc(()=>{n(24,k=c.calculateDimensions(f)),(d.inline||!l)&&(U.set(k),F.set([0,0]))}),c.loadImage(f).then(()=>{n(2,X=!0),c.preloadNext()}),setTimeout(()=>{n(3,y=!X)},250)},B=p=>{Ie(p,f.attr),p.srcset=f.img},Ae=p=>d.onError?.(m,f,p);return e.$$set=p=>{"smallScreen"in p&&n(23,l=p.smallScreen)},e.$$.update=()=>{if(e.$$.dirty[0]&16777217&&a.set(s[0]-10>k[0]),e.$$.dirty[0]&117440512&&o&&i&&!d.intro){let p=Ze(480);F.set([0,0],p),U.set(k,p),n(5,Ee=!0)}},[s,H,X,y,S,Ee,r,f,d,a,m,g,x,U,F,_,b,I,Z,q,te,B,c,l,k,i,o,Ae]}var je=class extends oe{constructor(t){super(),Pe(this,t,Jt,jt,se,{props:22,smallScreen:23},null,[-1,-1])}};function Ut(e){let t,n,i,r,o,s;return i=new Ce({props:{activeItem:e[2],loaded:e[0]}}),{c(){t=M("div"),n=M("iframe"),ke(i.$$.fragment),T(n,"allow","autoplay; fullscreen"),T(n,"title",e[2].title),T(t,"class","bp-if"),D(t,"width",e[1][0]+"px"),D(t,"height",e[1][1]+"px")},m(c,l){E(c,t,l),G(t,n),le(i,t,null),r=!0,o||(s=[De(e[3].call(null,n)),O(n,"load",e[5])],o=!0)},p(c,[l]){let f={};l&1&&(f.loaded=c[0]),i.$set(f),(!r||l&2)&&D(t,"width",c[1][0]+"px"),(!r||l&2)&&D(t,"height",c[1][1]+"px")},i(c){r||(v(i.$$.fragment,c),r=!0)},o(c){P(i.$$.fragment,c),r=!1},d(c){c&&A(t),ce(i),o=!1,Y(s)}}}function Vt(e,t,n){let{props:i}=t,r,o,{activeItem:s}=i,c=()=>n(1,o=i.calculateDimensions(s));return c(),i.setResizeFunc(c),[r,o,s,d=>{Ie(d,s.attr),d.src=s.iframe},i,()=>n(0,r=!0)]}var Je=class extends oe{constructor(t){super(),Pe(this,t,Vt,Ut,se,{props:4})}};function Gt(e){let t,n,i,r,o;return n=new Ce({props:{activeItem:e[2],loaded:e[0]}}),{c(){t=M("div"),ke(n.$$.fragment),T(t,"class","bp-vid"),D(t,"width",e[1][0]+"px"),D(t,"height",e[1][1]+"px"),D(t,"background-image",be(e[2]))},m(s,c){E(s,t,c),le(n,t,null),i=!0,r||(o=De(e[3].call(null,t)),r=!0)},p(s,[c]){let l={};c&1&&(l.loaded=s[0]),n.$set(l),(!i||c&2)&&D(t,"width",s[1][0]+"px"),(!i||c&2)&&D(t,"height",s[1][1]+"px")},i(s){i||(v(n.$$.fragment,s),i=!0)},o(s){P(n.$$.fragment,s),i=!1},d(s){s&&A(t),ce(n),r=!1,o()}}}function Qt(e,t,n){let{props:i}=t,r,o,{activeItem:s,opts:c,container:l}=i,f=()=>n(1,o=i.calculateDimensions(s));return f(),i.setResizeFunc(f),[r,o,s,u=>{let h,a=(m,g)=>{Array.isArray(g)||(g=JSON.parse(g));for(let k of g){h||(h=M(k.type?.includes("audio")?"audio":"video"),Ie(h,{controls:!0,autoplay:!0,playsinline:!0,tabindex:"0"}),Ie(h,s.attr));let H=M(m);Ie(H,k),m=="source"&&O(H,"error",X=>c.onError?.(l,s,X)),G(h,H)}};a("source",s.sources),a("track",s.tracks||[]),O(h,"canplay",()=>n(0,r=!0)),G(u,h)},i]}var Ue=class extends oe{constructor(t){super(),Pe(this,t,Qt,Gt,se,{props:4})}};function vt(e){let t,n,i,r=e[6].i,o,s,c,l,f,d,u=Tt(e),h=e[0].length>1&&It(e);return{c(){t=M("div"),n=M("div"),u.c(),o=M("div"),s=M("button"),h&&h.c(),T(s,"class","bp-x"),T(s,"title","Close"),T(s,"aria-label","Close"),T(o,"class","bp-controls"),T(t,"class","bp-wrap"),N(t,"bp-zoomed",e[10]),N(t,"bp-inline",e[8]),N(t,"bp-small",e[7]),N(t,"bp-noclose",e[5].noClose)},m(a,m){E(a,t,m),G(t,n),u.m(t,null),G(t,o),G(o,s),h&&h.m(o,null),l=!0,f||(d=[O(s,"click",e[1]),De(e[14].call(null,t))],f=!0)},p(a,m){m[0]&64&&se(r,r=a[6].i)?(ie(),P(u,1,1,L),re(),u=Tt(a),u.c(),v(u,1),u.m(t,o)):u.p(a,m),a[0].length>1?h?h.p(a,m):(h=It(a),h.c(),h.m(o,null)):h&&(h.d(1),h=null),(!l||m[0]&1024)&&N(t,"bp-zoomed",a[10]),(!l||m[0]&256)&&N(t,"bp-inline",a[8]),(!l||m[0]&128)&&N(t,"bp-small",a[7]),(!l||m[0]&32)&&N(t,"bp-noclose",a[5].noClose)},i(a){l||(i&&i.end(1),v(u),c&&c.end(1),l=!0)},o(a){a&&(i=_e(n,Q,{duration:480})),P(u),a&&(c=_e(o,Q,{})),l=!1},d(a){a&&A(t),a&&i&&i.end(),u.d(a),h&&h.d(),a&&c&&c.end(),f=!1,Y(d)}}}function xt(e){let t,n=(e[6].html??e[6].element.outerHTML)+"";return{c(){t=M("div"),T(t,"class","bp-html")},m(i,r){E(i,t,r),t.innerHTML=n},p(i,r){r[0]&64&&n!==(n=(i[6].html??i[6].element.outerHTML)+"")&&(t.innerHTML=n)},i:L,o:L,d(i){i&&A(t)}}}function en(e){let t,n;return t=new Je({props:{props:e[13]()}}),{c(){ke(t.$$.fragment)},m(i,r){le(t,i,r),n=!0},p:L,i(i){n||(v(t.$$.fragment,i),n=!0)},o(i){P(t.$$.fragment,i),n=!1},d(i){ce(t,i)}}}function tn(e){let t,n;return t=new Ue({props:{props:e[13]()}}),{c(){ke(t.$$.fragment)},m(i,r){le(t,i,r),n=!0},p:L,i(i){n||(v(t.$$.fragment,i),n=!0)},o(i){P(t.$$.fragment,i),n=!1},d(i){ce(t,i)}}}function nn(e){let t,n;return t=new je({props:{props:e[13](),smallScreen:e[7]}}),{c(){ke(t.$$.fragment)},m(i,r){le(t,i,r),n=!0},p(i,r){let o={};r[0]&128&&(o.smallScreen=i[7]),t.$set(o)},i(i){n||(v(t.$$.fragment,i),n=!0)},o(i){P(t.$$.fragment,i),n=!1},d(i){ce(t,i)}}}function zt(e){let t,n=e[6].caption+"",i,r;return{c(){t=M("div"),T(t,"class","bp-cap")},m(o,s){E(o,t,s),t.innerHTML=n,r=!0},p(o,s){(!r||s[0]&64)&&n!==(n=o[6].caption+"")&&(t.innerHTML=n)},i(o){r||(i&&i.end(1),r=!0)},o(o){i=_e(t,Q,{duration:200}),r=!1},d(o){o&&A(t),o&&i&&i.end()}}}function Tt(e){let t,n,i,r,o,s,c,l,f,d=[nn,tn,en,xt],u=[];function h(m,g){return m[6].img?0:m[6].sources?1:m[6].iframe?2:3}n=h(e),i=u[n]=d[n](e);let a=e[6].caption&&zt(e);return{c(){t=M("div"),i.c(),a&&a.c(),s=Me(),T(t,"class","bp-inner")},m(m,g){E(m,t,g),u[n].m(t,null),a&&a.m(m,g),E(m,s,g),c=!0,l||(f=[O(t,"pointerdown",e[20]),O(t,"pointerup",e[21])],l=!0)},p(m,g){let k=n;n=h(m),n===k?u[n].p(m,g):(ie(),P(u[k],1,1,()=>{u[k]=null}),re(),i=u[n],i?i.p(m,g):(i=u[n]=d[n](m),i.c()),v(i,1),i.m(t,null)),m[6].caption?a?(a.p(m,g),g[0]&64&&v(a,1)):(a=zt(m),a.c(),v(a,1),a.m(s.parentNode,s)):a&&(ie(),P(a,1,1,()=>{a=null}),re())},i(m){c||(v(i),ne(()=>{o&&o.end(1),r=Et(t,e[12],!0),r.start()}),v(a),c=!0)},o(m){P(i),r&&r.invalidate(),o=_e(t,e[12],!1),P(a),c=!1},d(m){m&&A(t),u[n].d(),m&&o&&o.end(),a&&a.d(m),m&&A(s),l=!1,Y(f)}}}function It(e){let t,n=`${e[4]+1} / ${e[0].length}`,i,r,o,s;return{c(){t=M("div"),i=M("button"),r=M("button"),T(t,"class","bp-count"),T(i,"class","bp-prev"),T(i,"title","Previous"),T(i,"aria-label","Previous"),T(r,"class","bp-next"),T(r,"title","Next"),T(r,"aria-label","Next")},m(c,l){E(c,t,l),t.innerHTML=n,E(c,i,l),E(c,r,l),o||(s=[O(i,"click",e[2]),O(r,"click",e[3])],o=!0)},p(c,l){l[0]&17&&n!==(n=`${c[4]+1} / ${c[0].length}`)&&(t.innerHTML=n)},d(c){c&&A(t),c&&A(i),c&&A(r),o=!1,Y(s)}}}function rn(e){let t,n,i=e[0]&&vt(e);return{c(){i&&i.c(),t=Me()},m(r,o){i&&i.m(r,o),E(r,t,o),n=!0},p(r,o){r[0]?i?(i.p(r,o),o[0]&1&&v(i,1)):(i=vt(r),i.c(),v(i,1),i.m(t.parentNode,t)):i&&(ie(),P(i,1,1,()=>{i=null}),re())},i(r){n||(v(i),n=!0)},o(r){P(i),n=!1},d(r){i&&i.d(r),r&&A(t)}}}function on(e,t,n){let i,{items:r=void 0}=t,{target:o=void 0}=t,s=document.documentElement,c,l,f,d,u,h,a,m,g,k=()=>!g.img&&!g.sources&&!g.iframe,H,X=_=>H=_,y={},W=rt(0);me(e,W,_=>n(10,i=_));let Se=_=>{n(5,l=_),n(8,h=l.inline);let b=l.items;!h&&s.scrollHeight>s.clientHeight&&s.classList.add("bp-lock"),d=document.activeElement,n(19,y.w=o.offsetWidth,y),n(19,y.h=o===document.body?globalThis.innerHeight:o.clientHeight,y),n(7,u=y.w<769),n(4,c=l.position||0),Array.isArray(b)?n(0,r=b.map((I,$)=>(l.el&&l.el===I.element&&n(4,c=$),He({i:$},I)))):n(0,r=(b.length?[...b]:[b]).map((I,$)=>(l.el===I&&n(4,c=$),He({element:I,i:$},I.dataset))))},j=()=>{l.onClose?.(y.el,g),Ye.set(!0),n(0,r=null),d?.focus({preventScroll:!0})},S=()=>fe(c-1),J=()=>fe(c+1),fe=_=>{a=_-c,n(4,c=ue(_))},ue=_=>(_+r.length)%r.length,$e=_=>{let{key:b,shiftKey:I}=_;if(b==="Escape")!l.noClose&&j();else if(b==="ArrowRight")J();else if(b==="ArrowLeft")S();else if(b==="Tab"){let{activeElement:$}=document;if(I||!$.controls){_.preventDefault();let{focusWrap:Z=y.el}=l,q=[...Z.querySelectorAll("*")].filter(B=>B.tabIndex>=0),te=q.indexOf($);te+=q.length+(I?-1:1),q[te%q.length].focus()}}},ae=({width:_=1920,height:b=1080})=>{let{scale:I=.99}=l,$=Math.min(1,y.w/_*I,y.h/b*I);return[Math.round(_*$),Math.round(b*$)]},Ee=()=>{if(r){let _=r[ue(c+1)],b=r[ue(c-1)];!_.preload&&x(_),!b.preload&&x(b)}},x=_=>{if(_.img){let b=M("img");return b.sizes=l.sizes||`${ae(_)[0]}px`,b.srcset=_.img,_.preload=!0,b.decode().catch(I=>{})}},ye=(_,b)=>!f||!r?(n(18,f=b),l.intro?Q(_,{y:b?10:-10}):ee(_)):Q(_,{x:(a>0?20:-20)*(b?1:-1),duration:250}),ee=_=>{let b;if(k()){let B=_.firstChild.firstChild;b=[B.clientWidth,B.clientHeight]}else b=ae(g);let I=(g.element||d).getBoundingClientRect(),$=I.left-(y.w-I.width)/2,Z=I.top-(y.h-I.height)/2,q=I.width/b[0],te=I.height/b[1];return{duration:480,easing:it,css:(B,Ae)=>`transform:translate3d(${$*Ae}px, ${Z*Ae}px, 0) scale3d(${q+B*(1-q)}, ${te+B*(1-te)}, 1)`}},U=()=>({activeItem:g,calculateDimensions:ae,loadImage:x,preloadNext:Ee,opts:l,prev:S,next:J,close:j,setResizeFunc:X,zoomed:W,container:y}),F=_=>{n(19,y.el=_,y);let b,I;l.onOpen?.(y.el,g),h||(b=O(globalThis,"keydown",$e));let $=new ResizeObserver(Z=>{I&&(n(19,y.w=Z[0].contentRect.width,y),n(19,y.h=Z[0].contentRect.height,y),n(7,u=y.w<769),k()||H?.(),l.onResize?.(y.el,g)),I=!0});return $.observe(_),{destroy(){$.disconnect(),b?.(),Ye.set(!1),s.classList.remove("bp-lock"),l.onClosed?.()}}},we=_=>n(9,m=_.target),de=function(_){_.button!==2&&_.target===this&&m===this&&!l.noClose&&j()};return e.$$set=_=>{"items"in _&&n(0,r=_.items),"target"in _&&n(15,o=_.target)},e.$$.update=()=>{e.$$.dirty[0]&786545&&r&&(n(6,g=r[c]),f&&l.onUpdate?.(y.el,g))},[r,j,S,J,c,l,g,u,h,m,i,W,ye,U,F,o,Se,fe,f,y,we,de]}var Ve=class extends oe{constructor(t){super(),Pe(this,t,on,rn,se,{items:0,target:15,open:16,close:1,prev:2,next:3,setPosition:17},null,[-1,-1])}get items(){return this.$$.ctx[0]}get target(){return this.$$.ctx[15]}get open(){return this.$$.ctx[16]}get close(){return this.$$.ctx[1]}get prev(){return this.$$.ctx[2]}get next(){return this.$$.ctx[3]}get setPosition(){return this.$$.ctx[17]}};function Ht(e){return new Ve(ut(He({},e),{props:e}))}var sn=Ht({target:document.body}),dn=(()=>{let t=class t{constructor(){}openBiggerPicture(i,r){return at(this,null,function*(){i.preventDefault();try{let o=yield pt.getImageInfo(r);sn.open({items:[o],intro:"fadeup"})}catch(o){alert(o)}})}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();export{dn as a};
@@ -1 +0,0 @@
1
- import{B as K,I,Q as W,Z as ee}from"./chunk-6B64VOO7.js";import{a as Z,d as J}from"./chunk-SP6QPE3M.js";import{$a as q,Da as M,Hb as U,Ia as w,Ib as Q,Ja as n,Va as S,Wa as O,Xa as u,Ya as _,_ as C,_a as k,aa as z,ac as $,ba as D,bb as V,bc as h,cc as Y,fb as r,ga as s,gb as o,ha as E,hb as l,ia as T,lb as P,mb as j,oa as F,ob as y,pa as g,qa as f,ra as R,rb as N,sb as x,ua as L,wb as G,xb as X,ya as A,yb as H,za as v,zb as B}from"./chunk-6DRNAUKE.js";var ie=["switch"],de=["*"];function se(d,c){d&1&&(r(0,"div",10),R(),r(1,"svg",12),l(2,"path",13),o(),r(3,"svg",14),l(4,"path",15),o()())}var ae=new D("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),re={provide:Z,useExisting:C(()=>te),multi:!0},b=class{constructor(c,ce){this.source=c,this.checked=ce}},oe=0,te=(()=>{let c=class c{_createChangeEvent(t){return new b(this,t)}get buttonId(){return`${this.id||this._uniqueId}-button`}focus(){this._switchElement.nativeElement.focus()}get checked(){return this._checked}set checked(t){this._checked=t,this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(t,i,e,a,m,p){this._elementRef=t,this._focusMonitor=i,this._changeDetectorRef=e,this.defaults=m,this._onChange=ne=>{},this._onTouched=()=>{},this._validatorOnChange=()=>{},this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.change=new v,this.toggleChange=new v,this.tabIndex=parseInt(a)||0,this.color=m.color||"accent",this._noopAnimations=p==="NoopAnimations",this.id=this._uniqueId=`mat-mdc-slide-toggle-${++oe}`,this.hideIcon=m.hideIcon??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t==="keyboard"||t==="program"?(this._focused=!0,this._changeDetectorRef.markForCheck()):t||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(t){t.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(t){this.checked=!!t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}validate(t){return this.required&&t.value!==!0?{required:!0}:null}registerOnValidatorChange(t){this._validatorOnChange=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new b(this,this.checked)))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}};c.\u0275fac=function(i){return new(i||c)(n(A),n(K),n($),L("tabindex"),n(ae),n(M,8))},c.\u0275cmp=E({type:c,selectors:[["mat-slide-toggle"]],viewQuery:function(i,e){if(i&1&&G(ie,5),i&2){let a;X(a=H())&&(e._switchElement=a.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(i,e){i&2&&(j("id",e.id),u("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),q(e.color?"mat-"+e.color:""),k("mat-mdc-slide-toggle-focused",e._focused)("mat-mdc-slide-toggle-checked",e.checked)("_mat-animation-noopable",e._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[s.None,"aria-label","ariaLabel"],ariaLabelledby:[s.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[s.None,"aria-describedby","ariaDescribedby"],required:[s.HasDecoratorInputTransform,"required","required",h],color:"color",disabled:[s.HasDecoratorInputTransform,"disabled","disabled",h],disableRipple:[s.HasDecoratorInputTransform,"disableRipple","disableRipple",h],tabIndex:[s.HasDecoratorInputTransform,"tabIndex","tabIndex",t=>t==null?0:Y(t)],checked:[s.HasDecoratorInputTransform,"checked","checked",h],hideIcon:[s.HasDecoratorInputTransform,"hideIcon","hideIcon",h]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],standalone:!0,features:[U([re,{provide:J,useExisting:c,multi:!0}]),S,F,Q],ngContentSelectors:de,decls:13,vars:24,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(i,e){if(i&1){let a=P();N(),r(0,"div",1)(1,"button",2,0),y("click",function(){return g(a),f(e._handleClick())}),l(3,"div",3),r(4,"div",4)(5,"div",5)(6,"div",6),l(7,"div",7),o(),r(8,"div",8),l(9,"div",9),o(),O(10,se,5,0,"div",10),o()()(),r(11,"label",11),y("click",function(p){return g(a),f(p.stopPropagation())}),x(12),o()()}if(i&2){let a=B(2);_("labelPosition",e.labelPosition),w(),k("mdc-switch--selected",e.checked)("mdc-switch--unselected",!e.checked)("mdc-switch--checked",e.checked)("mdc-switch--disabled",e.disabled),_("tabIndex",e.disabled?-1:e.tabIndex)("disabled",e.disabled),u("id",e.buttonId)("name",e.name)("aria-label",e.ariaLabel)("aria-labelledby",e._getAriaLabelledBy())("aria-describedby",e.ariaDescribedby)("aria-required",e.required||null)("aria-checked",e.checked),w(8),_("matRippleTrigger",a)("matRippleDisabled",e.disableRipple||e.disabled)("matRippleCentered",!0),w(),V(10,e.hideIcon?-1:10),w(),_("for",e.buttonId),u("id",e._labelId)}},dependencies:[W,ee],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)}.mdc-switch{width:var(--mdc-switch-track-width)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color)}.mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation)}.mdc-switch .mdc-switch__focus-ring-wrapper,.mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height)}.mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape)}.mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size);height:var(--mdc-switch-selected-icon-size)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size);height:var(--mdc-switch-unselected-icon-size)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size);width:var(--mdc-switch-state-layer-size)}.mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height)}.mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity)}.mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color)}.mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color)}.mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mdc-switch__handle{transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size);height:var(--mat-switch-unselected-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size);height:var(--mat-switch-selected-handle-size)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size);height:var(--mat-switch-with-icon-handle-size)}.mat-mdc-slide-toggle:active .mdc-switch:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size);height:var(--mat-switch-pressed-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{margin:var(--mat-switch-selected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{margin:var(--mat-switch-unselected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--selected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--unselected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin)}.mdc-switch__track::after,.mdc-switch__track::before{border-width:var(--mat-switch-track-outline-width);border-color:var(--mat-switch-track-outline-color)}.mdc-switch--selected .mdc-switch__track::after,.mdc-switch--selected .mdc-switch__track::before{border-width:var(--mat-switch-selected-track-outline-width)}.mdc-switch--disabled .mdc-switch__track::after,.mdc-switch--disabled .mdc-switch__track::before{border-width:var(--mat-switch-disabled-unselected-track-outline-width);border-color:var(--mat-switch-disabled-unselected-track-outline-color)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity)}'],encapsulation:2,changeDetection:0});let d=c;return d})();var Re=(()=>{let c=class c{};c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=T({type:c}),c.\u0275inj=z({imports:[te,I,I]});let d=c;return d})();export{te as a,Re as b};