@qaecy/cue-ui 0.0.50 → 0.0.52

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 (108) hide show
  1. package/1138.js +1 -0
  2. package/1153.js +1 -0
  3. package/{247.js → 1247.js} +1 -1
  4. package/1338.js +1 -0
  5. package/1359.js +1 -0
  6. package/1520.js +1 -0
  7. package/1573.js +1 -0
  8. package/1931.js +1 -0
  9. package/1985.js +1 -0
  10. package/2245.js +1 -0
  11. package/2269.js +1 -0
  12. package/2312.js +1 -0
  13. package/2399.js +1 -0
  14. package/2724.js +1 -0
  15. package/2839.js +1 -0
  16. package/29.js +1 -0
  17. package/3036.js +1 -0
  18. package/3039.js +1 -0
  19. package/{418.js → 3418.js} +1 -1
  20. package/3523.js +1 -0
  21. package/4283.js +1 -0
  22. package/4284.js +1 -0
  23. package/4311.js +1 -0
  24. package/4613.js +1 -0
  25. package/4687.js +1 -0
  26. package/4879.js +1 -0
  27. package/503.js +1 -0
  28. package/5137.js +1 -0
  29. package/5187.js +1 -0
  30. package/5500.js +1 -0
  31. package/5559.js +1 -0
  32. package/5649.js +1 -0
  33. package/5738.js +1 -0
  34. package/5740.js +1 -0
  35. package/5872.js +1 -0
  36. package/617.js +1 -0
  37. package/63.js +1 -0
  38. package/6376.js +1 -0
  39. package/640.js +1 -0
  40. package/6419.js +1 -0
  41. package/6423.js +1 -0
  42. package/6586.js +1 -0
  43. package/6911.js +1 -0
  44. package/6947.js +1 -0
  45. package/7056.js +1 -0
  46. package/7247.js +1 -0
  47. package/7284.js +1 -0
  48. package/7441.js +1 -0
  49. package/7598.js +1 -0
  50. package/7719.js +1 -0
  51. package/804.js +1 -0
  52. package/8336.js +1 -0
  53. package/836.js +1 -1
  54. package/8560.js +1 -0
  55. package/8855.js +1 -0
  56. package/8957.js +1 -0
  57. package/9004.js +1 -0
  58. package/928.js +1 -1
  59. package/9396.js +1 -0
  60. package/9417.js +1 -0
  61. package/9443.js +1 -0
  62. package/9495.js +1 -0
  63. package/9695.js +1 -0
  64. package/9769.js +1 -0
  65. package/README.md +183 -0
  66. package/common.js +1 -1
  67. package/index.js +1 -1
  68. package/main.js +1 -1
  69. package/package.json +1 -1
  70. package/runtime.js +1 -1
  71. package/149.js +0 -1
  72. package/153.js +0 -1
  73. package/245.js +0 -1
  74. package/269.js +0 -1
  75. package/284.js +0 -1
  76. package/311.js +0 -1
  77. package/336.js +0 -1
  78. package/36.js +0 -1
  79. package/376.js +0 -1
  80. package/393.js +0 -1
  81. package/396.js +0 -1
  82. package/399.js +0 -1
  83. package/4.js +0 -1
  84. package/41.js +0 -1
  85. package/419.js +0 -1
  86. package/423.js +0 -1
  87. package/494.js +0 -1
  88. package/523.js +0 -1
  89. package/560.js +0 -1
  90. package/586.js +0 -1
  91. package/598.js +0 -1
  92. package/613.js +0 -1
  93. package/628.js +0 -1
  94. package/7.js +0 -1
  95. package/719.js +0 -1
  96. package/724.js +0 -1
  97. package/740.js +0 -1
  98. package/773.js +0 -1
  99. package/791.js +0 -1
  100. package/799.js +0 -1
  101. package/802.js +0 -1
  102. package/839.js +0 -1
  103. package/855.js +0 -1
  104. package/872.js +0 -1
  105. package/879.js +0 -1
  106. package/903.js +0 -1
  107. package/911.js +0 -1
  108. package/931.js +0 -1
package/41.js DELETED
@@ -1 +0,0 @@
1
- (self.webpackChunkcue_ui=self.webpackChunkcue_ui||[]).push([[41],{5448(A,B,g){"use strict";g.d(B,{L:()=>D});var h=g(7705),O=g(2245),a=g(5547);const e=["*"];let D=(()=>{class b{fontSize=(0,h.hFB)("m");italic=(0,h.hFB)(!1);noWrap=(0,h.hFB)(!0);static \u0275fac=function($){return new($||b)};static \u0275cmp=a.VBU({type:b,selectors:[["cue-button-label"]],inputs:{fontSize:[1,"fontSize"],italic:[1,"italic"],noWrap:[1,"noWrap"]},ngContentSelectors:e,decls:3,vars:3,consts:[[3,"size","italic","noWrap"]],template:function($,f){1&$&&(a.NAR(),a.j41(0,"div")(1,"cue-typography",0),a.SdG(2),a.k0s()()),2&$&&(a.R7$(),a.Y8G("size",f.fontSize())("italic",f.italic())("noWrap",f.noWrap()))},dependencies:[O.Typography],styles:["div[_ngcontent-%COMP%]{transform:translateY(.05em)}"]})}return b})()},9695(A,B,g){"use strict";g.d(B,{d:()=>b});var h=g(7705),O=g(29),a=g(5547);function e(w,C){if(1&w&&a.nrm(0,"cue-svg-icon",2),2&w){const $=a.XpG();a.Y8G("name",$.iconChecked())}}function D(w,C){if(1&w&&a.nrm(0,"cue-svg-icon",2),2&w){const $=a.XpG();a.Y8G("name",$.icon())}}let b=(()=>{class w{size=(0,h.hFB)("m");icon=(0,h.hFB)(void 0);iconChecked=(0,h.hFB)(void 0);disabled=(0,h.hFB)(!1);checked=(0,h.geq)(!1);toggleChange=(0,h.CGW)();toggle(){this.checked.set(!this.checked()),this.toggleChange.emit(this.checked())}static \u0275fac=function(f){return new(f||w)};static \u0275cmp=a.VBU({type:w,selectors:[["cue-input-switch"]],hostVars:5,hostBindings:function(f,v){2&f&&(a.BMQ("size",v.size()),a.AVh("checked",v.checked())("disabled",v.disabled()))},inputs:{size:[1,"size"],icon:[1,"icon"],iconChecked:[1,"iconChecked"],disabled:[1,"disabled"],checked:[1,"checked"]},outputs:{checked:"checkedChange",toggleChange:"toggleChange"},decls:4,vars:3,consts:[["type","checkbox",3,"click","checked","disabled"],[1,"indicator"],[3,"name"]],template:function(f,v){1&f&&(a.j41(0,"input",0),a.bIt("click",function(){return v.toggle()}),a.k0s(),a.j41(1,"div",1),a.nVh(2,e,1,1,"cue-svg-icon",2)(3,D,1,1,"cue-svg-icon",2),a.k0s()),2&f&&(a.Y8G("checked",v.checked())("disabled",v.disabled()),a.R7$(2),a.vxM(v.checked()&&v.iconChecked()?2:v.icon()?3:-1))},dependencies:[O.A],styles:["[_nghost-%COMP%]{--cue-input-switch-height: 18px;--cue-input-switch-width: calc(var(--cue-input-switch-height) * 1.7);--cue-input-switch-inset: 2px;--cue-input-switch-indicator-width: calc( var(--cue-input-switch-height) - (2 * var(--cue-input-switch-inset)) );--cue-input-switch-icon-width: calc( var(--cue-input-switch-indicator-width) - (2 * var(--cue-input-switch-inset)) );display:block;flex-shrink:0;position:relative;height:var(--cue-input-switch-height);width:var(--cue-input-switch-width);border-radius:var(--cue-input-switch-height);--cue-icon-width: var(--cue-input-switch-icon-width);background:var(--cue-input-switch-background);transition:background-color .4s ease}[size=xs][_nghost-%COMP%]{--cue-input-switch-height: 12px;--cue-input-switch-inset: 1px}[size=s][_nghost-%COMP%]{--cue-input-switch-height: 14px;--cue-input-switch-inset: 1px}[size=m][_nghost-%COMP%]{--cue-input-switch-height: 18px;--cue-input-switch-inset: 2px}[size=l][_nghost-%COMP%]{--cue-input-switch-height: 22px;--cue-input-switch-inset: 3px}[size=xl][_nghost-%COMP%]{--cue-input-switch-height: 28px;--cue-input-switch-inset: 3px}@container cue-container (width < 20em){[_nghost-%COMP%]{--cue-input-switch-height: 16px}[size=xs][_nghost-%COMP%]{--cue-input-switch-height: 10px}[size=s][_nghost-%COMP%]{--cue-input-switch-height: 12px}[size=m][_nghost-%COMP%]{--cue-input-switch-height: 16px}[size=l][_nghost-%COMP%]{--cue-input-switch-height: 18px}[size=xl][_nghost-%COMP%]{--cue-input-switch-height: 20px}}.checked[_nghost-%COMP%]{background:var(--cue-input-switch-checked-background)}.disabled[_nghost-%COMP%]{background:var(--cue-input-switch-disabled-background);cursor:default}[_nghost-%COMP%] .indicator[_ngcontent-%COMP%]{pointer-events:none;position:absolute;left:var(--cue-input-switch-inset);top:var(--cue-input-switch-inset);width:var(--cue-input-switch-indicator-width);aspect-ratio:1;border-radius:50%;display:flex;align-items:center;justify-content:center;background-color:var(--cue-input-switch-indicator-background);color:var(--cue-input-switch-indicator-foreground);transition:left .4s ease,background-color .4s ease,color .4s ease}.checked[_nghost-%COMP%] .indicator[_ngcontent-%COMP%]{left:calc(var(--cue-input-switch-width) - var(--cue-input-switch-inset) - var( --cue-input-switch-indicator-width ));background:var(--cue-input-switch-checked-indicator-background);color:var(--cue-input-switch-checked-indicator-foreground)}.disabled[_nghost-%COMP%] .indicator[_ngcontent-%COMP%]{background:var(--cue-input-switch-disabled-indicator-background);color:var(--cue-input-switch-disabled-indicator-foreground)}input[_ngcontent-%COMP%]{all:unset;position:absolute;inset:0;cursor:pointer;border-radius:var(--cue-input-switch-height)}input[_ngcontent-%COMP%]:focus-visible:not(:disabled) + .indicator[_ngcontent-%COMP%]{outline:1px solid var(--cue-input-switch-focus-color);outline-offset:2px}"]})}return w})()},5745(A,B,g){"use strict";g.d(B,{a:()=>I});var h=g(7705),O=g(5802),a=g(2271),e=g(5547);const D=["dialog"],b=["*",[["","modal-footer",""]]],w=["*","[modal-footer]"];function C(_,L){if(1&_&&(e.rj2(0,"h2",7),e.EFF(1),e.eux()),2&_){const u=e.XpG(3);e.R7$(),e.JRh(u.effectiveTitle())}}function $(_,L){if(1&_&&(e.rj2(0,"p",8),e.EFF(1),e.eux()),2&_){const u=e.XpG(3);e.R7$(),e.JRh(u.subtitle())}}function f(_,L){if(1&_){const u=e.RV6();e.rj2(0,"button",10),e.VwU("click",function(){O.eBV(u);const y=e.XpG(3);return O.Njj(y.onClose())}),O.qSk(),e.rj2(1,"svg",11),e.Hgh(2,"path",12),e.eux()()}}function v(_,L){if(1&_&&(e.rj2(0,"div",4)(1,"div",6),e.nVh(2,C,2,1,"h2",7),e.nVh(3,$,2,1,"p",8),e.eux(),e.nVh(4,f,3,0,"button",9),e.eux()),2&_){const u=e.XpG(2);e.R7$(2),e.vxM(u.effectiveTitle()?2:-1),e.R7$(),e.vxM(u.subtitle()?3:-1),e.R7$(),e.vxM(u.displayCloseBtn()?4:-1)}}function N(_,L){if(1&_&&(e.rj2(0,"div",3),e.VwU("click",function(P){return P.stopPropagation()}),e.nVh(1,v,5,3,"div",4),e.rj2(2,"div",5),e.SdG(3),e.eux(),e.SdG(4,1),e.eux()),2&_){const u=e.XpG();e.xc7("min-width",u.minWidth()),e.AVh("has-header",u.effectiveTitle()||u.displayCloseBtn()),e.R7$(),e.vxM(u.effectiveTitle()||u.displayCloseBtn()?1:-1)}}let I=(()=>{class _{visible=(0,h.geq)(!0);closeOnBackgroundClick=(0,h.hFB)(!0);displayCloseBtn=(0,h.hFB)(!0);label=(0,h.hFB)("");title=(0,h.hFB)("");subtitle=(0,h.hFB)("");minWidth=(0,h.hFB)();close=(0,h.CGW)();dialogRef=h.ebz.required("dialog");effectiveTitle=(0,a.EW)(()=>this.title()||this.label());constructor(){(0,O.QZP)(()=>{const u=this.dialogRef().nativeElement;this.visible()?u.open||u.showModal():u.open&&u.close()})}onBackdropClick(){this.closeOnBackgroundClick()&&this.onClose()}onClose(){this.visible.set(!1),this.close.emit()}static \u0275fac=function(P){return new(P||_)};static \u0275cmp=e.VBU({type:_,selectors:[["cue-modal"]],viewQuery:function(P,y){1&P&&e.wEZ(y.dialogRef,D,5),2&P&&e.NyB()},inputs:{visible:[1,"visible"],closeOnBackgroundClick:[1,"closeOnBackgroundClick"],displayCloseBtn:[1,"displayCloseBtn"],label:[1,"label"],title:[1,"title"],subtitle:[1,"subtitle"],minWidth:[1,"minWidth"]},outputs:{visible:"visibleChange",close:"close"},ngContentSelectors:w,decls:3,vars:1,consts:[["dialog",""],[1,"modal-dialog",3,"cancel","click"],[1,"panel",3,"has-header","minWidth"],[1,"panel",3,"click"],[1,"header"],[1,"body"],[1,"header-text"],[1,"modal-title"],[1,"modal-subtitle"],["type","button","aria-label","Close",1,"close-btn"],["type","button","aria-label","Close",1,"close-btn",3,"click"],["viewBox","0 0 256 256","xmlns","http://www.w3.org/2000/svg"],["fill","currentColor","d","M205.66 194.34a8 8 0 0 1-11.32 11.32L128 139.31l-66.34 66.35a8 8 0 0 1-11.32-11.32L116.69 128L61.34 72.66a8 8 0 0 1 11.32-11.32L128 116.69l66.34-66.35a8 8 0 0 1 11.32 11.32L139.31 128Z"]],template:function(P,y){1&P&&(e.NAR(b),e.rj2(0,"dialog",1,0),e.VwU("cancel",function(){return y.onClose()})("click",function(){return y.onBackdropClick()}),e.nVh(2,N,5,5,"div",2),e.eux()),2&P&&(e.R7$(2),e.vxM(y.visible()?2:-1))},styles:[".modal-dialog[_ngcontent-%COMP%]{padding:0;border:none;background:transparent;overflow:visible;margin:auto;outline:none;max-width:min(calc(100vw - 32px),80vw)}.modal-dialog[_ngcontent-%COMP%]::backdrop{background-color:var(--cue-modal-overlay-color, rgba(14, 24, 39, .55));-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.panel[_ngcontent-%COMP%]{background:var(--cue-default);color:var(--cue-defaultContrast);border-radius:24px;border:1px solid var(--cue-border-color);box-shadow:0 12px 48px #00000047;max-height:88vh;overflow-y:auto;overflow-x:hidden;box-sizing:border-box;scrollbar-width:thin}.header[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:12px;padding:26px 26px 0;margin-bottom:20px}.header-text[_ngcontent-%COMP%]{flex:1}.modal-title[_ngcontent-%COMP%]{margin:0;font-size:20px;font-weight:700;letter-spacing:-.01em;font-family:var(--cue-font-family);color:var(--cue-defaultContrast)}.modal-subtitle[_ngcontent-%COMP%]{margin:5px 0 0;font-size:13px;color:var(--cue-color-midgray);letter-spacing:.02em;line-height:1.5}.close-btn[_ngcontent-%COMP%]{flex:none;width:34px;height:34px;border-radius:50%;border:none;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--cue-color-midgray);padding:0;margin-top:-4px;transition:background .15s,color .15s}.close-btn[_ngcontent-%COMP%]:hover{background:var(--cue-main-background);color:var(--cue-main-foreground)}.close-btn[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:18px;height:18px;display:block}.body[_ngcontent-%COMP%]{padding:26px}.has-header[_ngcontent-%COMP%] .body[_ngcontent-%COMP%]{padding-top:0}"]})}return _})()},7374(A){A.exports=function(){"use strict";var g=6e4,h=36e5,O="millisecond",a="second",e="minute",D="hour",b="day",w="week",C="month",$="quarter",f="year",v="date",N="Invalid Date",I=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,_=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,L={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(c){var i=["th","st","nd","rd"],t=c%100;return"["+c+(i[(t-20)%10]||i[t]||i[0])+"]"}},u=function(c,i,t){var o=String(c);return!o||o.length>=i?c:""+Array(i+1-o.length).join(t)+c},P={s:u,z:function(c){var i=-c.utcOffset(),t=Math.abs(i),o=Math.floor(t/60),n=t%60;return(i<=0?"+":"-")+u(o,2,"0")+":"+u(n,2,"0")},m:function c(i,t){if(i.date()<t.date())return-c(t,i);var o=12*(t.year()-i.year())+(t.month()-i.month()),n=i.clone().add(o,C),s=t-n<0,r=i.clone().add(o+(s?-1:1),C);return+(-(o+(t-n)/(s?n-r:r-n))||0)},a:function(c){return c<0?Math.ceil(c)||0:Math.floor(c)},p:function(c){return{M:C,y:f,w,d:b,D:v,h:D,m:e,s:a,ms:O,Q:$}[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(c){return void 0===c}},y="en",T={};T[y]=L;var H="$isDayjsObject",G=function(c){return c instanceof j||!(!c||!c[H])},U=function c(i,t,o){var n;if(!i)return y;if("string"==typeof i){var s=i.toLowerCase();T[s]&&(n=s),t&&(T[s]=t,n=s);var r=i.split("-");if(!n&&r.length>1)return c(r[0])}else{var d=i.name;T[d]=i,n=d}return!o&&n&&(y=n),n||!o&&y},M=function(c,i){if(G(c))return c.clone();var t="object"==typeof i?i:{};return t.date=c,t.args=arguments,new j(t)},l=P;l.l=U,l.i=G,l.w=function(c,i){return M(c,{locale:i.$L,utc:i.$u,x:i.$x,$offset:i.$offset})};var j=function(){function c(t){this.$L=U(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[H]=!0}var i=c.prototype;return i.parse=function(t){this.$d=function(o){var n=o.date,s=o.utc;if(null===n)return new Date(NaN);if(l.u(n))return new Date;if(n instanceof Date)return new Date(n);if("string"==typeof n&&!/Z$/i.test(n)){var r=n.match(I);if(r){var d=r[2]-1||0,p=(r[7]||"0").substring(0,3);return s?new Date(Date.UTC(r[1],d,r[3]||1,r[4]||0,r[5]||0,r[6]||0,p)):new Date(r[1],d,r[3]||1,r[4]||0,r[5]||0,r[6]||0,p)}}return new Date(n)}(t),this.init()},i.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},i.$utils=function(){return l},i.isValid=function(){return this.$d.toString()!==N},i.isSame=function(t,o){var n=M(t);return this.startOf(o)<=n&&n<=this.endOf(o)},i.isAfter=function(t,o){return M(t)<this.startOf(o)},i.isBefore=function(t,o){return this.endOf(o)<M(t)},i.$g=function(t,o,n){return l.u(t)?this[o]:this.set(n,t)},i.unix=function(){return Math.floor(this.valueOf()/1e3)},i.valueOf=function(){return this.$d.getTime()},i.startOf=function(t,o){var n=this,s=!!l.u(o)||o,r=l.p(t),d=function(z,x){var E=l.w(n.$u?Date.UTC(n.$y,x,z):new Date(n.$y,x,z),n);return s?E:E.endOf(b)},p=function(z,x){return l.w(n.toDate()[z].apply(n.toDate("s"),(s?[0,0,0,0]:[23,59,59,999]).slice(x)),n)},m=this.$W,k=this.$M,S=this.$D,R="set"+(this.$u?"UTC":"");switch(r){case f:return s?d(1,0):d(31,11);case C:return s?d(1,k):d(0,k+1);case w:var W=this.$locale().weekStart||0,F=(m<W?m+7:m)-W;return d(s?S-F:S+(6-F),k);case b:case v:return p(R+"Hours",0);case D:return p(R+"Minutes",1);case e:return p(R+"Seconds",2);case a:return p(R+"Milliseconds",3);default:return this.clone()}},i.endOf=function(t){return this.startOf(t,!1)},i.$set=function(t,o){var n,s=l.p(t),r="set"+(this.$u?"UTC":""),d=(n={},n[b]=r+"Date",n[v]=r+"Date",n[C]=r+"Month",n[f]=r+"FullYear",n[D]=r+"Hours",n[e]=r+"Minutes",n[a]=r+"Seconds",n[O]=r+"Milliseconds",n)[s],p=s===b?this.$D+(o-this.$W):o;if(s===C||s===f){var m=this.clone().set(v,1);m.$d[d](p),m.init(),this.$d=m.set(v,Math.min(this.$D,m.daysInMonth())).$d}else d&&this.$d[d](p);return this.init(),this},i.set=function(t,o){return this.clone().$set(t,o)},i.get=function(t){return this[l.p(t)]()},i.add=function(t,o){var n,s=this;t=Number(t);var r=l.p(o),d=function(k){var S=M(s);return l.w(S.date(S.date()+Math.round(k*t)),s)};if(r===C)return this.set(C,this.$M+t);if(r===f)return this.set(f,this.$y+t);if(r===b)return d(1);if(r===w)return d(7);var p=(n={},n[e]=g,n[D]=h,n[a]=1e3,n)[r]||1,m=this.$d.getTime()+t*p;return l.w(m,this)},i.subtract=function(t,o){return this.add(-1*t,o)},i.format=function(t){var o=this,n=this.$locale();if(!this.isValid())return n.invalidDate||N;var s=t||"YYYY-MM-DDTHH:mm:ssZ",r=l.z(this),d=this.$H,p=this.$m,m=this.$M,k=n.weekdays,S=n.months,W=function(x,E,Y,V){return x&&(x[E]||x(o,s))||Y[E].slice(0,V)},F=function(x){return l.s(d%12||12,x,"0")},z=n.meridiem||function(x,E,Y){var V=x<12?"AM":"PM";return Y?V.toLowerCase():V};return s.replace(_,function(x,E){return E||function(Y){switch(Y){case"YY":return String(o.$y).slice(-2);case"YYYY":return l.s(o.$y,4,"0");case"M":return m+1;case"MM":return l.s(m+1,2,"0");case"MMM":return W(n.monthsShort,m,S,3);case"MMMM":return W(S,m);case"D":return o.$D;case"DD":return l.s(o.$D,2,"0");case"d":return String(o.$W);case"dd":return W(n.weekdaysMin,o.$W,k,2);case"ddd":return W(n.weekdaysShort,o.$W,k,3);case"dddd":return k[o.$W];case"H":return String(d);case"HH":return l.s(d,2,"0");case"h":return F(1);case"hh":return F(2);case"a":return z(d,p,!0);case"A":return z(d,p,!1);case"m":return String(p);case"mm":return l.s(p,2,"0");case"s":return String(o.$s);case"ss":return l.s(o.$s,2,"0");case"SSS":return l.s(o.$ms,3,"0");case"Z":return r}return null}(x)||r.replace(":","")})},i.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},i.diff=function(t,o,n){var s,r=this,d=l.p(o),p=M(t),m=(p.utcOffset()-this.utcOffset())*g,k=this-p,S=function(){return l.m(r,p)};switch(d){case f:s=S()/12;break;case C:s=S();break;case $:s=S()/3;break;case w:s=(k-m)/6048e5;break;case b:s=(k-m)/864e5;break;case D:s=k/h;break;case e:s=k/g;break;case a:s=k/1e3;break;default:s=k}return n?s:l.a(s)},i.daysInMonth=function(){return this.endOf(C).$D},i.$locale=function(){return T[this.$L]},i.locale=function(t,o){if(!t)return this.$L;var n=this.clone(),s=U(t,o,!0);return s&&(n.$L=s),n},i.clone=function(){return l.w(this.$d,this)},i.toDate=function(){return new Date(this.valueOf())},i.toJSON=function(){return this.isValid()?this.toISOString():null},i.toISOString=function(){return this.$d.toISOString()},i.toString=function(){return this.$d.toUTCString()},c}(),K=j.prototype;return M.prototype=K,[["$ms",O],["$s",a],["$m",e],["$H",D],["$W",b],["$M",C],["$y",f],["$D",v]].forEach(function(c){K[c[1]]=function(i){return this.$g(i,c[0],c[1])}}),M.extend=function(c,i){return c.$i||(c(i,j,M),c.$i=!0),M},M.locale=U,M.isDayjs=G,M.unix=function(c){return M(1e3*c)},M.en=T[y],M.Ls=T,M.p={},M}()}}]);