streamlit 1.52.0__py3-none-any.whl → 1.52.2__py3-none-any.whl

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 (98) hide show
  1. streamlit/elements/widgets/data_editor.py +7 -1
  2. streamlit/static/index.html +1 -1
  3. streamlit/static/manifest.json +279 -279
  4. streamlit/static/static/js/{ErrorOutline.esm.ZJDbmVTx.js → ErrorOutline.esm.LtBTGAgi.js} +1 -1
  5. streamlit/static/static/js/{FileDownload.esm.Dx0vI3vH.js → FileDownload.esm.DllwCvQc.js} +1 -1
  6. streamlit/static/static/js/{FileHelper.B7Ero7qQ.js → FileHelper.DgwA_xYF.js} +1 -1
  7. streamlit/static/static/js/{FormClearHelper.CG2XN1_g.js → FormClearHelper.DyYuMYyM.js} +1 -1
  8. streamlit/static/static/js/{InputInstructions.Cj5-1zf6.js → InputInstructions.ikAdmYQR.js} +1 -1
  9. streamlit/static/static/js/{Particles.BfWfv0Aw.js → Particles.Cg5ey-rW.js} +1 -1
  10. streamlit/static/static/js/{ProgressBar.CGQ8OgfO.js → ProgressBar.D1rDn4Rn.js} +1 -1
  11. streamlit/static/static/js/{StreamlitSyntaxHighlighter.DTKLpwhl.js → StreamlitSyntaxHighlighter.DU42g8NY.js} +1 -1
  12. streamlit/static/static/js/{Toolbar.B2qFUmd9.js → Toolbar.0YdWjZhn.js} +1 -1
  13. streamlit/static/static/js/{base-input.o9tL8MDP.js → base-input.DYzkAUR7.js} +1 -1
  14. streamlit/static/static/js/{checkbox.0BeV1IBL.js → checkbox.YeQ8t-PZ.js} +1 -1
  15. streamlit/static/static/js/{createSuper.RBO59fEm.js → createSuper.CXzRWZIx.js} +1 -1
  16. streamlit/static/static/js/{data-grid-overlay-editor.CiTkUy0t.js → data-grid-overlay-editor.vnwILR0p.js} +1 -1
  17. streamlit/static/static/js/{downloader.DwNZg3Mw.js → downloader.BdNzicWj.js} +1 -1
  18. streamlit/static/static/js/{embed.XT9xNd3F.js → embed.C_8wI7Q8.js} +1 -1
  19. streamlit/static/static/js/{es6.x9KsYQg-.js → es6.D6UMoOIM.js} +2 -2
  20. streamlit/static/static/js/{iframeResizer.contentWindow.ZVXpMPi0.js → iframeResizer.contentWindow.DM7vAi8H.js} +1 -1
  21. streamlit/static/static/js/{index.x_QRaLMd.js → index.0CGAg_-3.js} +1 -1
  22. streamlit/static/static/js/{index.BWB_91TA.js → index.19XigCCW.js} +1 -1
  23. streamlit/static/static/js/{index.DMxc2XFp.js → index.3bHSf9gi.js} +9 -9
  24. streamlit/static/static/js/{index.DXxnU5ej.js → index.B1br6-J8.js} +1 -1
  25. streamlit/static/static/js/{index.DsgAU5lc.js → index.BDyX78eQ.js} +1 -1
  26. streamlit/static/static/js/{index.CLmq_z9K.js → index.BEiPXRiB.js} +1 -1
  27. streamlit/static/static/js/{index.CjozwSzS.js → index.BGGsxMsK.js} +1 -1
  28. streamlit/static/static/js/{index.DB_w_CZQ.js → index.BK8LGuo5.js} +1 -1
  29. streamlit/static/static/js/{index.Dr9HIhQw.js → index.BNH1O6vW.js} +1 -1
  30. streamlit/static/static/js/{index.DpNTZz82.js → index.BNJ18Gvk.js} +1 -1
  31. streamlit/static/static/js/{index.B527JZdO.js → index.BSC_e7mC.js} +1 -1
  32. streamlit/static/static/js/{index.DK0RFJUG.js → index.BSsyTGMU.js} +1 -1
  33. streamlit/static/static/js/{index.BuCx76ZV.js → index.BTeFWqxT.js} +1 -1
  34. streamlit/static/static/js/index.BVQ-x0jB.js +2 -0
  35. streamlit/static/static/js/{index.BHgV-yW4.js → index.BtT26h8D.js} +1 -1
  36. streamlit/static/static/js/{index.CkGVt6-G.js → index.BuO127Fv.js} +1 -1
  37. streamlit/static/static/js/{index.rORSX6IW.js → index.C4SaLgc9.js} +1 -1
  38. streamlit/static/static/js/{index.CyUHWoCC.js → index.C6PG_WI2.js} +1 -1
  39. streamlit/static/static/js/{index.q5hIQwAY.js → index.C9ZwaDT3.js} +1 -1
  40. streamlit/static/static/js/{index.Bu5JWpT_.js → index.CCH6P_Oz.js} +1 -1
  41. streamlit/static/static/js/{index.BfEKaEmw.js → index.CJdAAsMS.js} +1 -1
  42. streamlit/static/static/js/{index.BxjzhVUb.js → index.CLw67zQa.js} +1 -1
  43. streamlit/static/static/js/{index.BQr-XwGV.js → index.COYdue8P.js} +1 -1
  44. streamlit/static/static/js/index.CPVPS6MS.js +1 -0
  45. streamlit/static/static/js/{index.DWexTVLY.js → index.CQRv0Buu.js} +1 -1
  46. streamlit/static/static/js/{index.RJZuWCGA.js → index.CTssS8CY.js} +1 -1
  47. streamlit/static/static/js/{index.CF5MxTbK.js → index.CV56Xzvw.js} +1 -1
  48. streamlit/static/static/js/{index.PaidgjCs.js → index.CVgZcb-2.js} +1 -1
  49. streamlit/static/static/js/{index.CyroQtI4.js → index.CaMDX02c.js} +1 -1
  50. streamlit/static/static/js/{index.KfXqjDYy.js → index.Cc0FyOvj.js} +1 -1
  51. streamlit/static/static/js/{index.BTtmaLDB.js → index.CccNGpyY.js} +1 -1
  52. streamlit/static/static/js/{index.By55VdPY.js → index.CinPJsaI.js} +1 -1
  53. streamlit/static/static/js/{index.DBalctjj.js → index.Cys-qREe.js} +1 -1
  54. streamlit/static/static/js/{index.CTgm_-jO.js → index.DATGLwZn.js} +1 -1
  55. streamlit/static/static/js/{index.C_rK-Swb.js → index.DDuPBAVu.js} +5 -5
  56. streamlit/static/static/js/{index.B1fRb5wF.js → index.DN77pJCq.js} +1 -1
  57. streamlit/static/static/js/{index.DO5utP74.js → index.DRgFBrOW.js} +1 -1
  58. streamlit/static/static/js/{index.DlltaH7J.js → index.Dc27IuI8.js} +1 -1
  59. streamlit/static/static/js/{index.BfXjTO8b.js → index.DdjNqo0t.js} +1 -1
  60. streamlit/static/static/js/{index.CuvXOyER.js → index.DmQGepo0.js} +1 -1
  61. streamlit/static/static/js/{index.hbeqcRTn.js → index.DmaExHyk.js} +1 -1
  62. streamlit/static/static/js/{index.D6HmkoDm.js → index.Dou8UoAD.js} +1 -1
  63. streamlit/static/static/js/{index.DAqCNvsO.js → index.Dt4MKWrN.js} +1 -1
  64. streamlit/static/static/js/{index.5VPOamri.js → index.M-iumICI.js} +1 -1
  65. streamlit/static/static/js/{index.CNH4rdSz.js → index.NjN0yaAC.js} +1 -1
  66. streamlit/static/static/js/{index.DS7lf09n.js → index.OW6D7CJ5.js} +1 -1
  67. streamlit/static/static/js/{index.Bjy4NRu9.js → index.SnIe8o_F.js} +1 -1
  68. streamlit/static/static/js/{index.AnXMIBz3.js → index.xg87JKI8.js} +1 -1
  69. streamlit/static/static/js/{input.D5oh9-aB.js → input.-I2c-pPm.js} +1 -1
  70. streamlit/static/static/js/{main.q9oGOg0H.js → main.zgyqwsPV.js} +1 -1
  71. streamlit/static/static/js/{memory.5kCSFUJS.js → memory.BTaCc67b.js} +1 -1
  72. streamlit/static/static/js/{number-overlay-editor.Cn_LsK8N.js → number-overlay-editor.Bp2-OIVN.js} +1 -1
  73. streamlit/static/static/js/{pandasStylerUtils.BqhXt51_.js → pandasStylerUtils.PlmC_Sod.js} +1 -1
  74. streamlit/static/static/js/{possibleConstructorReturn.DD9NK1Z8.js → possibleConstructorReturn.D2vivPxX.js} +1 -1
  75. streamlit/static/static/js/{sandbox.DACSyz29.js → sandbox.C-NkJg85.js} +1 -1
  76. streamlit/static/static/js/{styled-components.C3R090At.js → styled-components.-ywQNIcz.js} +1 -1
  77. streamlit/static/static/js/{throttle.B0GR3Iyz.js → throttle.SbSFuU2P.js} +1 -1
  78. streamlit/static/static/js/{timepicker.BdhzPxrv.js → timepicker.BRg2LlYz.js} +1 -1
  79. streamlit/static/static/js/{toConsumableArray.Db2pdqM2.js → toConsumableArray.DmYuqCFN.js} +1 -1
  80. streamlit/static/static/js/uniqueId.DDLECwS_.js +1 -0
  81. streamlit/static/static/js/{useBasicWidgetState.Bfp6TnSw.js → useBasicWidgetState.CSKMY_WY.js} +1 -1
  82. streamlit/static/static/js/{useIntlLocale.hRV75Xgj.js → useIntlLocale.DrzrdT6m.js} +1 -1
  83. streamlit/static/static/js/{useTextInputAutoExpand.QepX7n8Y.js → useTextInputAutoExpand.BZ_dM91Q.js} +1 -1
  84. streamlit/static/static/js/{useUpdateUiValue.DHx8TzX6.js → useUpdateUiValue.y-s71G-M.js} +1 -1
  85. streamlit/static/static/js/{useWaveformController.WxVzpzEX.js → useWaveformController.Bumwfqnl.js} +1 -1
  86. streamlit/static/static/js/{withCalculatedWidth.DcKeRSWJ.js → withCalculatedWidth.Dl_TDMaA.js} +1 -1
  87. streamlit/static/static/js/{withFullScreenWrapper.CrHddARq.js → withFullScreenWrapper.CWEBbO_P.js} +1 -1
  88. streamlit/web/server/authlib_tornado_integration.py +60 -0
  89. streamlit/web/server/oidc_mixin.py +14 -3
  90. {streamlit-1.52.0.dist-info → streamlit-1.52.2.dist-info}/METADATA +1 -1
  91. {streamlit-1.52.0.dist-info → streamlit-1.52.2.dist-info}/RECORD +95 -95
  92. streamlit/static/static/js/index.DcU3uDvB.js +0 -2
  93. streamlit/static/static/js/index.uSX757_v.js +0 -1
  94. streamlit/static/static/js/uniqueId.CtqIr-Yh.js +0 -1
  95. {streamlit-1.52.0.data → streamlit-1.52.2.data}/scripts/streamlit.cmd +0 -0
  96. {streamlit-1.52.0.dist-info → streamlit-1.52.2.dist-info}/WHEEL +0 -0
  97. {streamlit-1.52.0.dist-info → streamlit-1.52.2.dist-info}/entry_points.txt +0 -0
  98. {streamlit-1.52.0.dist-info → streamlit-1.52.2.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
1
- import{w as Ye,s as Ca,h as qa}from"./index.CLmq_z9K.js";import{bg as Ea,bh as Ia,bi as Ra}from"./index.DMxc2XFp.js";function Oa(r,e){return Tr(r,{})||{type:"root",children:[]}}function Tr(r,e){const t=Fa(r,e);return t&&e.afterTransform&&e.afterTransform(r,t),t}function Fa(r,e){switch(r.nodeType){case 1:return Va(r,e);case 3:return Ha(r);case 8:return Pa(r);case 9:return Pt(r,e);case 10:return La();case 11:return Pt(r,e);default:return}}function Pt(r,e){return{type:"root",children:Br(r,e)}}function La(){return{type:"doctype"}}function Ha(r){return{type:"text",value:r.nodeValue||""}}function Pa(r){return{type:"comment",value:r.nodeValue||""}}function Va(r,e){const t=r.namespaceURI,a=t===Ye.svg?Ca:qa,n=t===Ye.html?r.tagName.toLowerCase():r.tagName,s=t===Ye.html&&n==="template"?r.content:r,o=r.getAttributeNames(),h={};let m=-1;for(;++m<o.length;)h[o[m]]=r.getAttribute(o[m])||"";return a(n,h,Br(s,e))}function Br(r,e){const t=r.childNodes,a=[];let n=-1;for(;++n<t.length;){const s=Tr(t[n],e);s!==void 0&&a.push(s)}return a}new DOMParser;function Ga(r,e){const t=Ua(r);return Oa(t)}function Ua(r){const e=document.createElement("template");return e.innerHTML=r,e.content}const Vt=function(r,e,t){const a=Ea(t);if(!r||!r.type||!r.children)throw new Error("Expected parent node");if(typeof e=="number"){if(e<0||e===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(e=r.children.indexOf(e),e<0)throw new Error("Expected child node or index");for(;++e<r.children.length;)if(a(r.children[e],e,r))return r.children[e]},W0=function(r){if(r==null)return Xa;if(typeof r=="string")return $a(r);if(typeof r=="object")return Ya(r);if(typeof r=="function")return vt(r);throw new Error("Expected function, string, or array as `test`")};function Ya(r){const e=[];let t=-1;for(;++t<r.length;)e[t]=W0(r[t]);return vt(a);function a(...n){let s=-1;for(;++s<e.length;)if(e[s].apply(this,n))return!0;return!1}}function $a(r){return vt(e);function e(t){return t.tagName===r}}function vt(r){return e;function e(t,a,n){return!!(Wa(t)&&r.call(this,t,typeof a=="number"?a:void 0,n||void 0))}}function Xa(r){return!!(r&&typeof r=="object"&&"type"in r&&r.type==="element"&&"tagName"in r&&typeof r.tagName=="string")}function Wa(r){return r!==null&&typeof r=="object"&&"type"in r&&"tagName"in r}const Gt=/\n/g,Ut=/[\t ]+/g,st=W0("br"),Yt=W0(t1),ja=W0("p"),$t=W0("tr"),Za=W0(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",e1,r1]),Nr=W0(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function Ka(r,e){const t=e||{},a="children"in r?r.children:[],n=Nr(r),s=qr(r,{whitespace:t.whitespace||"normal"}),o=[];(r.type==="text"||r.type==="comment")&&o.push(...Cr(r,{breakBefore:!0,breakAfter:!0}));let h=-1;for(;++h<a.length;)o.push(...Dr(a[h],r,{whitespace:s,breakBefore:h?void 0:n,breakAfter:h<a.length-1?st(a[h+1]):n}));const m=[];let p;for(h=-1;++h<o.length;){const g=o[h];typeof g=="number"?p!==void 0&&g>p&&(p=g):g&&(p!==void 0&&p>-1&&m.push(`
1
+ import{w as Ye,s as Ca,h as qa}from"./index.BEiPXRiB.js";import{bg as Ea,bh as Ia,bi as Ra}from"./index.3bHSf9gi.js";function Oa(r,e){return Tr(r,{})||{type:"root",children:[]}}function Tr(r,e){const t=Fa(r,e);return t&&e.afterTransform&&e.afterTransform(r,t),t}function Fa(r,e){switch(r.nodeType){case 1:return Va(r,e);case 3:return Ha(r);case 8:return Pa(r);case 9:return Pt(r,e);case 10:return La();case 11:return Pt(r,e);default:return}}function Pt(r,e){return{type:"root",children:Br(r,e)}}function La(){return{type:"doctype"}}function Ha(r){return{type:"text",value:r.nodeValue||""}}function Pa(r){return{type:"comment",value:r.nodeValue||""}}function Va(r,e){const t=r.namespaceURI,a=t===Ye.svg?Ca:qa,n=t===Ye.html?r.tagName.toLowerCase():r.tagName,s=t===Ye.html&&n==="template"?r.content:r,o=r.getAttributeNames(),h={};let m=-1;for(;++m<o.length;)h[o[m]]=r.getAttribute(o[m])||"";return a(n,h,Br(s,e))}function Br(r,e){const t=r.childNodes,a=[];let n=-1;for(;++n<t.length;){const s=Tr(t[n],e);s!==void 0&&a.push(s)}return a}new DOMParser;function Ga(r,e){const t=Ua(r);return Oa(t)}function Ua(r){const e=document.createElement("template");return e.innerHTML=r,e.content}const Vt=function(r,e,t){const a=Ea(t);if(!r||!r.type||!r.children)throw new Error("Expected parent node");if(typeof e=="number"){if(e<0||e===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(e=r.children.indexOf(e),e<0)throw new Error("Expected child node or index");for(;++e<r.children.length;)if(a(r.children[e],e,r))return r.children[e]},W0=function(r){if(r==null)return Xa;if(typeof r=="string")return $a(r);if(typeof r=="object")return Ya(r);if(typeof r=="function")return vt(r);throw new Error("Expected function, string, or array as `test`")};function Ya(r){const e=[];let t=-1;for(;++t<r.length;)e[t]=W0(r[t]);return vt(a);function a(...n){let s=-1;for(;++s<e.length;)if(e[s].apply(this,n))return!0;return!1}}function $a(r){return vt(e);function e(t){return t.tagName===r}}function vt(r){return e;function e(t,a,n){return!!(Wa(t)&&r.call(this,t,typeof a=="number"?a:void 0,n||void 0))}}function Xa(r){return!!(r&&typeof r=="object"&&"type"in r&&r.type==="element"&&"tagName"in r&&typeof r.tagName=="string")}function Wa(r){return r!==null&&typeof r=="object"&&"type"in r&&"tagName"in r}const Gt=/\n/g,Ut=/[\t ]+/g,st=W0("br"),Yt=W0(t1),ja=W0("p"),$t=W0("tr"),Za=W0(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",e1,r1]),Nr=W0(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function Ka(r,e){const t=e||{},a="children"in r?r.children:[],n=Nr(r),s=qr(r,{whitespace:t.whitespace||"normal"}),o=[];(r.type==="text"||r.type==="comment")&&o.push(...Cr(r,{breakBefore:!0,breakAfter:!0}));let h=-1;for(;++h<a.length;)o.push(...Dr(a[h],r,{whitespace:s,breakBefore:h?void 0:n,breakAfter:h<a.length-1?st(a[h+1]):n}));const m=[];let p;for(h=-1;++h<o.length;){const g=o[h];typeof g=="number"?p!==void 0&&g>p&&(p=g):g&&(p!==void 0&&p>-1&&m.push(`
2
2
  `.repeat(p)||" "),p=-1,m.push(g))}return m.join("")}function Dr(r,e,t){return r.type==="element"?Ja(r,e,t):r.type==="text"?t.whitespace==="normal"?Cr(r,t):Qa(r):[]}function Ja(r,e,t){const a=qr(r,t),n=r.children||[];let s=-1,o=[];if(Za(r))return o;let h,m;for(st(r)||$t(r)&&Vt(e,r,$t)?m=`
3
3
  `:ja(r)?(h=2,m=2):Nr(r)&&(h=1,m=1);++s<n.length;)o=o.concat(Dr(n[s],r,{whitespace:a,breakBefore:s?void 0:h,breakAfter:s<n.length-1?st(n[s+1]):m}));return Yt(r)&&Vt(e,r,Yt)&&o.push(" "),h&&o.unshift(h),m&&o.push(m),o}function Cr(r,e){const t=String(r.value),a=[],n=[];let s=0;for(;s<=t.length;){Gt.lastIndex=s;const m=Gt.exec(t),p=m&&"index"in m?m.index:t.length;a.push(_a(t.slice(s,p).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),s===0?e.breakBefore:!0,p===t.length?e.breakAfter:!0)),s=p+1}let o=-1,h;for(;++o<a.length;)a[o].charCodeAt(a[o].length-1)===8203||o<a.length-1&&a[o+1].charCodeAt(0)===8203?(n.push(a[o]),h=void 0):a[o]?(typeof h=="number"&&n.push(h),n.push(a[o]),h=0):(o===0||o===a.length-1)&&n.push(0);return n}function Qa(r){return[String(r.value)]}function _a(r,e,t){const a=[];let n=0,s;for(;n<r.length;){Ut.lastIndex=n;const o=Ut.exec(r);s=o?o.index:r.length,!n&&!s&&o&&!e&&a.push(""),n!==s&&a.push(r.slice(n,s)),n=o?s+o[0].length:s}return n!==s&&!t&&a.push(""),a.join(" ")}function qr(r,e){if(r.type==="element"){const t=r.properties||{};switch(r.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return t.wrap?"pre-wrap":"pre";case"td":case"th":return t.noWrap?"nowrap":e.whitespace;case"textarea":return"pre-wrap"}}return e.whitespace}function e1(r){return!!(r.properties||{}).hidden}function t1(r){return r.tagName==="td"||r.tagName==="th"}function r1(r){return r.tagName==="dialog"&&!(r.properties||{}).open}class u0{constructor(e,t,a){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=a}static range(e,t){return t?!e||!e.loc||!t.loc||e.loc.lexer!==t.loc.lexer?null:new u0(e.loc.lexer,e.loc.start,t.loc.end):e&&e.loc}}class f0{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(e,t){return new f0(t,u0.range(this,e))}}class M{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var a="KaTeX parse error: "+e,n,s,o=t&&t.loc;if(o&&o.start<=o.end){var h=o.lexer.input;n=o.start,s=o.end,n===h.length?a+=" at end of input: ":a+=" at position "+(n+1)+": ";var m=h.slice(n,s).replace(/[^]/g,"$&̲"),p;n>15?p="…"+h.slice(n-15,n):p=h.slice(0,n);var g;s+15<h.length?g=h.slice(s,s+15)+"…":g=h.slice(s),a+=p+m+g}var b=new Error(a);return b.name="ParseError",b.__proto__=M.prototype,b.position=n,n!=null&&s!=null&&(b.length=s-n),b.rawMessage=e,b}}M.prototype.__proto__=Error.prototype;var a1=function(e,t){return e.indexOf(t)!==-1},n1=function(e,t){return e===void 0?t:e},i1=/([A-Z])/g,s1=function(e){return e.replace(i1,"-$1").toLowerCase()},l1={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},o1=/[&><"']/g;function u1(r){return String(r).replace(o1,e=>l1[e])}var Er=function r(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?r(e.body[0]):e:e.type==="font"?r(e.body):e},h1=function(e){var t=Er(e);return t.type==="mathord"||t.type==="textord"||t.type==="atom"},m1=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},c1=function(e){var t=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(e);return t?t[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():"_relative"},q={contains:a1,deflt:n1,escape:u1,hyphenate:s1,getBaseElem:Er,isCharacterBox:h1,protocolFromUrl:c1},Ae={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:r=>"#"+r},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(r,e)=>(e.push(r),e)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:r=>Math.max(0,r),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:r=>Math.max(0,r),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:r=>Math.max(0,r),cli:"-e, --max-expand <n>",cliProcessor:r=>r==="Infinity"?1/0:parseInt(r)},globalGroup:{type:"boolean",cli:!1}};function d1(r){if(r.default)return r.default;var e=r.type,t=Array.isArray(e)?e[0]:e;if(typeof t!="string")return t.enum[0];switch(t){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class gt{constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{};for(var t in Ae)if(Ae.hasOwnProperty(t)){var a=Ae[t];this[t]=e[t]!==void 0?a.processor?a.processor(e[t]):e[t]:d1(a)}}reportNonstrict(e,t,a){var n=this.strict;if(typeof n=="function"&&(n=n(e,t,a)),!(!n||n==="ignore")){if(n===!0||n==="error")throw new M("LaTeX-incompatible input and strict mode is set to 'error': "+(t+" ["+e+"]"),a);n==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+n+"': "+t+" ["+e+"]"))}}useStrictBehavior(e,t,a){var n=this.strict;if(typeof n=="function")try{n=n(e,t,a)}catch{n="error"}return!n||n==="ignore"?!1:n===!0||n==="error"?!0:n==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+n+"': "+t+" ["+e+"]")),!1)}isTrusted(e){if(e.url&&!e.protocol){var t=q.protocolFromUrl(e.url);if(t==null)return!1;e.protocol=t}var a=typeof this.trust=="function"?this.trust(e):this.trust;return!!a}}class F0{constructor(e,t,a){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=a}sup(){return y0[f1[this.id]]}sub(){return y0[p1[this.id]]}fracNum(){return y0[v1[this.id]]}fracDen(){return y0[g1[this.id]]}cramp(){return y0[b1[this.id]]}text(){return y0[y1[this.id]]}isTight(){return this.size>=2}}var bt=0,Be=1,te=2,B0=3,oe=4,d0=5,re=6,n0=7,y0=[new F0(bt,0,!1),new F0(Be,0,!0),new F0(te,1,!1),new F0(B0,1,!0),new F0(oe,2,!1),new F0(d0,2,!0),new F0(re,3,!1),new F0(n0,3,!0)],f1=[oe,d0,oe,d0,re,n0,re,n0],p1=[d0,d0,d0,d0,n0,n0,n0,n0],v1=[te,B0,oe,d0,re,n0,re,n0],g1=[B0,B0,d0,d0,n0,n0,n0,n0],b1=[Be,Be,B0,B0,d0,d0,n0,n0],y1=[bt,Be,te,B0,te,B0,te,B0],I={DISPLAY:y0[bt],TEXT:y0[te],SCRIPT:y0[oe],SCRIPTSCRIPT:y0[re]},lt=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function x1(r){for(var e=0;e<lt.length;e++)for(var t=lt[e],a=0;a<t.blocks.length;a++){var n=t.blocks[a];if(r>=n[0]&&r<=n[1])return t.name}return null}var Te=[];lt.forEach(r=>r.blocks.forEach(e=>Te.push(...e)));function Ir(r){for(var e=0;e<Te.length;e+=2)if(r>=Te[e]&&r<=Te[e+1])return!0;return!1}var ee=80,w1=function(e,t){return"M95,"+(622+e+t)+`
4
4
  c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
@@ -1 +1 @@
1
- import{r as s,E as G,_ as P,g as Q,e as I,N as K,M as Y,bj as L,bk as M,bl as Z,bm as q,n as H,bn as j,Q as U,R as ee,f as te,b3 as ne,bo as re,j as A,l as se,aG as oe}from"./index.DMxc2XFp.js";import{w as ae,E as ie}from"./withFullScreenWrapper.CrHddARq.js";import{a as k,S as _,T as ce}from"./Toolbar.B2qFUmd9.js";import{R as le}from"./index.C_rK-Swb.js";import{a as J,c as ue,b as fe,e as de,t as me,S as he,d as pe}from"./embed.XT9xNd3F.js";import{u as ge}from"./FormClearHelper.CG2XN1_g.js";import"./moment.C3j7ZXd7.js";import"./pandasStylerUtils.BqhXt51_.js";import"./_baseIndexOf.BTknn6Gb.js";import"./sprintf.D7DtBTRn.js";import"./index.8HslT92O.js";import"./main.q9oGOg0H.js";import"./throttle.B0GR3Iyz.js";import"./checkbox.0BeV1IBL.js";import"./createDownloadLinkElement.ZaXNnPK4.js";import"./toConsumableArray.Db2pdqM2.js";import"./possibleConstructorReturn.DD9NK1Z8.js";import"./createSuper.RBO59fEm.js";import"./FileDownload.esm.Dx0vI3vH.js";import"./_arrayIncludes.B19Iyn2B.js";import"./threshold.Q1mXg5rX.js";import"./value.B4vHRSi7.js";import"./timer.C2hYhUse.js";var B=s.forwardRef(function(n,t){var o={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return s.createElement(G,P({iconAttrs:o,iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},n,{ref:t}),s.createElement("path",{fill:"none",d:"M0 0h24v24H0V0z"}),s.createElement("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM7 10h2v7H7zm4-3h2v10h-2zm4 6h2v4h-2z"}))});B.displayName="InsertChart";var $=s.forwardRef(function(n,t){var o={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return s.createElement(G,P({iconAttrs:o,iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},n,{ref:t}),s.createElement("path",{fill:"none",d:"M0 0h24v24H0V0z"}),s.createElement("path",{d:"M20 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 2v3H5V5h15zm-5 14h-5v-9h5v9zM5 10h3v9H5v-9zm12 9v-9h3v9h-3z"}))});$.displayName="TableChart";const Se=20;function ye(n){"params"in n&&"encoding"in n&&n.params.forEach(t=>{"select"in t&&(["interval","point"].includes(t.select)&&(t.select={type:t.select}),"type"in t.select&&t.select.type==="point"&&!("encodings"in t.select)&&I(t.select.encodings)&&(t.select.encodings=Object.keys(n.encoding)))})}const be=(n,t,o,r,u,c,l,h)=>{const e=JSON.parse(n);if(r==="streamlit"?e.config=J(e.config,c):e.usermeta?.embedOptions?.theme==="streamlit"?(e.config=J(e.config,c),e.usermeta.embedOptions.theme=void 0):e.config=ue(e.config,c),e.title&&(typeof e.title=="string"&&(e.title={text:e.title}),e.title.limit=e.title.limit??Math.max(l-40,0)),o&&(e.height=h),t&&(e.width=l,"vconcat"in e&&e.vconcat.forEach(f=>{f.width=l})),e.padding||(e.padding={}),I(e.padding.bottom)&&(e.padding.bottom=Se),e.datasets)throw new Error("Datasets should not be passed as part of the spec");return u.length>0&&ye(e),e},we=(n,t,o,r,u)=>{const c=Q(),{id:l,formId:h,spec:e,data:f,datasets:a,vegaLiteTheme:d,selectionMode:i}=n,p=s.useMemo(()=>i,[JSON.stringify(i)]),S=s.useMemo(()=>be(e,r,u,d,p,c,t,o),[e,r,u,d,p,c,t,o]);return{id:l,formId:h,vegaLiteTheme:d,spec:S,selectionMode:p,data:f,datasets:a,useContainerWidth:r}},Ce={DATAFRAME_INDEX:"(index)"};function Ee(n){return!n||n.dimensions.numDataRows===0?null:z(n)}function Ve(n){const t=F(n);if(I(t))return null;const o={};for(const[r,u]of Object.entries(t))o[r]=z(u);return o}function F(n){if(n?.length===0)return null;const t={};return n.forEach(o=>{if(!o)return;const r=o.hasName?o.name:null;t[r]=o.data}),t}function z(n,t=0){if(n.dimensions.numDataRows===0)return[];const o=[],{numDataRows:r,numDataColumns:u,numIndexColumns:c}=n.dimensions,l=n.columnTypes[0]??void 0,h=l&&l.type===K.INDEX&&(Y(l)||L(l)||M(l));for(let e=t;e<r;e++){const f={};if(h){const{content:a}=n.getCell(e,0);f[Ce.DATAFRAME_INDEX]=typeof a=="bigint"?Number(a):a}for(let a=0;a<u;a++){const d=a+c,{content:i,contentType:p}=n.getCell(e,d);if((i instanceof Date||typeof i=="number"&&Number.isFinite(i))&&(L(p)||M(p))&&!Z(p)){const S=new Date(i).getTimezoneOffset()*60*1e3;f[n.columnNames[0][d]]=i.valueOf()+S}else f[n.columnNames[0][d]]=typeof i=="bigint"?Number(i):i}o.push(f)}return o}const ve=150,De=U.getLogger("useVegaLiteSelections"),Ne=(n,t,o)=>{const{id:r,formId:u,selectionMode:c}=n,l=s.useCallback(e=>{c.forEach(a=>{e.addSignalListener(a,q(ve,(d,i)=>{const p=e.getState({data:(C,O)=>c.some(g=>`${g}_store`===C),recurse:!1});H(p)&&t.setElementState(r,"viewState",p);let S=i;"vlPoint"in i&&"or"in i.vlPoint&&(S=i.vlPoint.or);const D={id:r,formId:u},V=JSON.parse(t.getStringValue(D)||"{}"),v={selection:{...V?.selection||{},[d]:S||{}}};j(V,v)||t.setStringValue(D,JSON.stringify(v),{fromUi:!0},o)}))});const f=t.getElementState(r,"viewState");if(H(f))try{return e.setState(f)}catch(a){De.warn("Failed to restore view state",a)}return e},[r,c,t,u,o]),h=s.useCallback(()=>{const e={selection:{}};c.forEach(i=>{e.selection[i]={}});const f={id:r,formId:u},a=t.getStringValue(f),d=a?JSON.parse(a):e;j(d,e)||t.setStringValue(f,JSON.stringify(e),{fromUi:!0},o)},[r,u,o,c,t]);return{maybeConfigureSelections:l,onFormCleared:h}},W="source",Te=U.getLogger("useVegaEmbed");function Oe(n,t,o){const r=s.useRef(null),u=s.useRef(null),c=s.useRef(W),l=s.useRef(null),h=s.useRef([]),e=s.useRef(null),f=s.useRef([]),[a,d]=s.useState(!1),{maybeConfigureSelections:i,onFormCleared:p}=Ne(n,t,o);ge({widgetMgr:t,element:n,onFormCleared:p});const{data:S,datasets:D}=n;s.useEffect(()=>{e.current=S,f.current=D,r.current===null&&(l.current=S,h.current=D)},[S,D]);const V=s.useCallback(()=>{u.current&&u.current(),u.current=null,r.current=null},[]),v=s.useCallback(async(g,y)=>{if(g.current===null)throw new Error("Element missing.");d(!0);try{V();const b={ast:!0,expr:fe,tooltip:{disableDefaultStyle:!0},defaultStyle:!1,forceActionsMenu:!0},{vgSpec:w,view:T,finalize:E}=await de(g.current,y,b);r.current=i(T),u.current=E;const m=Ve(f.current),N=m?Object.keys(m):[];if(N.length===1){const[x]=N;c.current=x}else N.length===0&&w.data&&(c.current=W);const R=Ee(e.current);if(R&&r.current.insert(c.current,R),m)for(const[x,X]of Object.entries(m))r.current.insert(x,X);return await r.current.runAsync(),await r.current.resize().runAsync(),l.current=e.current,h.current=f.current,r.current}finally{d(!1)}},[V,i]),C=s.useCallback((g,y,b,w)=>{if(!w||w.dimensions.numDataRows===0){try{g.remove(y,me)}catch{}return}if(!b||b.dimensions.numDataRows===0){g.insert(y,z(w));return}w.hash!==b.hash&&(g.data(y,z(w)),Te.info(`Had to clear the ${y} dataset before inserting data through Vega view.`))},[]),O=s.useCallback(async(g,y)=>{if(r.current===null||a)return null;const b=l.current,w=h.current;(b||g)&&C(r.current,c.current,b,g);const T=F(w)??{},E=F(y)??{};for(const[m,N]of Object.entries(E)){const R=m||c.current,x=T[R];C(r.current,R,x,N)}for(const m of Object.keys(T))!Object.hasOwn(E,m)&&m!==c.current&&C(r.current,m,null,null);return await r.current?.resize().runAsync(),l.current=g,h.current=y,r.current},[C,a]);return{createView:v,updateView:O,finalizeView:V}}function Ae(n){try{const t=typeof n=="string"?JSON.parse(n):n;return!!(t.facet||t.encoding?.row||t.encoding?.column||t.encoding?.facet)}catch{return!1}}const Re=({disableFullscreenMode:n,element:t,fragmentId:o,widgetMgr:r,widthConfig:u,heightConfig:c})=>{const[l,h]=s.useState(!1),[e,f]=s.useState(!1),{expanded:a,height:d,width:i,expand:p,collapse:S}=ee(ie),{width:D,height:V,elementRef:v}=te([l],0),C=ne(u)||t.useContainerWidth,O=re(c),g=Ae(t.spec),y=we(t,g?i??0:D,(a?d:V)??0,a?!0:C,a?!0:O),{createView:b,updateView:w,finalizeView:T}=Oe(y,r,o),{data:E,datasets:m,spec:N}=y;return s.useLayoutEffect(()=>(v.current!==null&&b(v,N),T),[b,T,N,i,d,l,v]),s.useEffect(()=>{w(E,m)},[E,m]),s.useEffect(()=>{E||m?.[0]?.data?f(!0):f(!1)},[E,m]),l?A(le,{data:E??m[0]?.data,height:d??V??void 0,width:u??void 0,customToolbarActions:[A(k,{label:"Show chart",icon:B,onClick:()=>{h(!1)}},"show-chart")]}):se(_,{height:O?a?d:"100%":d,useContainerWidth:a?!0:C,children:[A(ce,{target:_,isFullScreen:a,onExpand:p,onCollapse:S,disableFullscreenMode:n,children:e&&A(k,{label:"Show data",icon:$,onClick:()=>{h(!0)}})}),A(oe,{styles:[he]}),A(pe,{"data-testid":"stVegaLiteChart",className:"stVegaLiteChart",useContainerWidth:C,useContainerHeight:O,ref:v})]})},xe=ae(Re),tt=s.memo(xe);export{he as StyledVegaLiteChartTooltips,J as applyStreamlitTheme,tt as default};
1
+ import{r as s,E as G,_ as P,g as Q,e as I,N as K,M as Y,bj as L,bk as M,bl as Z,bm as q,n as H,bn as j,Q as U,R as ee,f as te,b3 as ne,bo as re,j as A,l as se,aG as oe}from"./index.3bHSf9gi.js";import{w as ae,E as ie}from"./withFullScreenWrapper.CWEBbO_P.js";import{a as k,S as _,T as ce}from"./Toolbar.0YdWjZhn.js";import{R as le}from"./index.DDuPBAVu.js";import{a as J,c as ue,b as fe,e as de,t as me,S as he,d as pe}from"./embed.C_8wI7Q8.js";import{u as ge}from"./FormClearHelper.DyYuMYyM.js";import"./moment.C3j7ZXd7.js";import"./pandasStylerUtils.PlmC_Sod.js";import"./_baseIndexOf.BTknn6Gb.js";import"./sprintf.D7DtBTRn.js";import"./index.8HslT92O.js";import"./main.zgyqwsPV.js";import"./throttle.SbSFuU2P.js";import"./checkbox.YeQ8t-PZ.js";import"./createDownloadLinkElement.ZaXNnPK4.js";import"./toConsumableArray.DmYuqCFN.js";import"./possibleConstructorReturn.D2vivPxX.js";import"./createSuper.CXzRWZIx.js";import"./FileDownload.esm.DllwCvQc.js";import"./_arrayIncludes.B19Iyn2B.js";import"./threshold.Q1mXg5rX.js";import"./value.B4vHRSi7.js";import"./timer.C2hYhUse.js";var B=s.forwardRef(function(n,t){var o={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return s.createElement(G,P({iconAttrs:o,iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},n,{ref:t}),s.createElement("path",{fill:"none",d:"M0 0h24v24H0V0z"}),s.createElement("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM7 10h2v7H7zm4-3h2v10h-2zm4 6h2v4h-2z"}))});B.displayName="InsertChart";var $=s.forwardRef(function(n,t){var o={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return s.createElement(G,P({iconAttrs:o,iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},n,{ref:t}),s.createElement("path",{fill:"none",d:"M0 0h24v24H0V0z"}),s.createElement("path",{d:"M20 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 2v3H5V5h15zm-5 14h-5v-9h5v9zM5 10h3v9H5v-9zm12 9v-9h3v9h-3z"}))});$.displayName="TableChart";const Se=20;function ye(n){"params"in n&&"encoding"in n&&n.params.forEach(t=>{"select"in t&&(["interval","point"].includes(t.select)&&(t.select={type:t.select}),"type"in t.select&&t.select.type==="point"&&!("encodings"in t.select)&&I(t.select.encodings)&&(t.select.encodings=Object.keys(n.encoding)))})}const be=(n,t,o,r,u,c,l,h)=>{const e=JSON.parse(n);if(r==="streamlit"?e.config=J(e.config,c):e.usermeta?.embedOptions?.theme==="streamlit"?(e.config=J(e.config,c),e.usermeta.embedOptions.theme=void 0):e.config=ue(e.config,c),e.title&&(typeof e.title=="string"&&(e.title={text:e.title}),e.title.limit=e.title.limit??Math.max(l-40,0)),o&&(e.height=h),t&&(e.width=l,"vconcat"in e&&e.vconcat.forEach(f=>{f.width=l})),e.padding||(e.padding={}),I(e.padding.bottom)&&(e.padding.bottom=Se),e.datasets)throw new Error("Datasets should not be passed as part of the spec");return u.length>0&&ye(e),e},we=(n,t,o,r,u)=>{const c=Q(),{id:l,formId:h,spec:e,data:f,datasets:a,vegaLiteTheme:d,selectionMode:i}=n,p=s.useMemo(()=>i,[JSON.stringify(i)]),S=s.useMemo(()=>be(e,r,u,d,p,c,t,o),[e,r,u,d,p,c,t,o]);return{id:l,formId:h,vegaLiteTheme:d,spec:S,selectionMode:p,data:f,datasets:a,useContainerWidth:r}},Ce={DATAFRAME_INDEX:"(index)"};function Ee(n){return!n||n.dimensions.numDataRows===0?null:z(n)}function Ve(n){const t=F(n);if(I(t))return null;const o={};for(const[r,u]of Object.entries(t))o[r]=z(u);return o}function F(n){if(n?.length===0)return null;const t={};return n.forEach(o=>{if(!o)return;const r=o.hasName?o.name:null;t[r]=o.data}),t}function z(n,t=0){if(n.dimensions.numDataRows===0)return[];const o=[],{numDataRows:r,numDataColumns:u,numIndexColumns:c}=n.dimensions,l=n.columnTypes[0]??void 0,h=l&&l.type===K.INDEX&&(Y(l)||L(l)||M(l));for(let e=t;e<r;e++){const f={};if(h){const{content:a}=n.getCell(e,0);f[Ce.DATAFRAME_INDEX]=typeof a=="bigint"?Number(a):a}for(let a=0;a<u;a++){const d=a+c,{content:i,contentType:p}=n.getCell(e,d);if((i instanceof Date||typeof i=="number"&&Number.isFinite(i))&&(L(p)||M(p))&&!Z(p)){const S=new Date(i).getTimezoneOffset()*60*1e3;f[n.columnNames[0][d]]=i.valueOf()+S}else f[n.columnNames[0][d]]=typeof i=="bigint"?Number(i):i}o.push(f)}return o}const ve=150,De=U.getLogger("useVegaLiteSelections"),Ne=(n,t,o)=>{const{id:r,formId:u,selectionMode:c}=n,l=s.useCallback(e=>{c.forEach(a=>{e.addSignalListener(a,q(ve,(d,i)=>{const p=e.getState({data:(C,O)=>c.some(g=>`${g}_store`===C),recurse:!1});H(p)&&t.setElementState(r,"viewState",p);let S=i;"vlPoint"in i&&"or"in i.vlPoint&&(S=i.vlPoint.or);const D={id:r,formId:u},V=JSON.parse(t.getStringValue(D)||"{}"),v={selection:{...V?.selection||{},[d]:S||{}}};j(V,v)||t.setStringValue(D,JSON.stringify(v),{fromUi:!0},o)}))});const f=t.getElementState(r,"viewState");if(H(f))try{return e.setState(f)}catch(a){De.warn("Failed to restore view state",a)}return e},[r,c,t,u,o]),h=s.useCallback(()=>{const e={selection:{}};c.forEach(i=>{e.selection[i]={}});const f={id:r,formId:u},a=t.getStringValue(f),d=a?JSON.parse(a):e;j(d,e)||t.setStringValue(f,JSON.stringify(e),{fromUi:!0},o)},[r,u,o,c,t]);return{maybeConfigureSelections:l,onFormCleared:h}},W="source",Te=U.getLogger("useVegaEmbed");function Oe(n,t,o){const r=s.useRef(null),u=s.useRef(null),c=s.useRef(W),l=s.useRef(null),h=s.useRef([]),e=s.useRef(null),f=s.useRef([]),[a,d]=s.useState(!1),{maybeConfigureSelections:i,onFormCleared:p}=Ne(n,t,o);ge({widgetMgr:t,element:n,onFormCleared:p});const{data:S,datasets:D}=n;s.useEffect(()=>{e.current=S,f.current=D,r.current===null&&(l.current=S,h.current=D)},[S,D]);const V=s.useCallback(()=>{u.current&&u.current(),u.current=null,r.current=null},[]),v=s.useCallback(async(g,y)=>{if(g.current===null)throw new Error("Element missing.");d(!0);try{V();const b={ast:!0,expr:fe,tooltip:{disableDefaultStyle:!0},defaultStyle:!1,forceActionsMenu:!0},{vgSpec:w,view:T,finalize:E}=await de(g.current,y,b);r.current=i(T),u.current=E;const m=Ve(f.current),N=m?Object.keys(m):[];if(N.length===1){const[x]=N;c.current=x}else N.length===0&&w.data&&(c.current=W);const R=Ee(e.current);if(R&&r.current.insert(c.current,R),m)for(const[x,X]of Object.entries(m))r.current.insert(x,X);return await r.current.runAsync(),await r.current.resize().runAsync(),l.current=e.current,h.current=f.current,r.current}finally{d(!1)}},[V,i]),C=s.useCallback((g,y,b,w)=>{if(!w||w.dimensions.numDataRows===0){try{g.remove(y,me)}catch{}return}if(!b||b.dimensions.numDataRows===0){g.insert(y,z(w));return}w.hash!==b.hash&&(g.data(y,z(w)),Te.info(`Had to clear the ${y} dataset before inserting data through Vega view.`))},[]),O=s.useCallback(async(g,y)=>{if(r.current===null||a)return null;const b=l.current,w=h.current;(b||g)&&C(r.current,c.current,b,g);const T=F(w)??{},E=F(y)??{};for(const[m,N]of Object.entries(E)){const R=m||c.current,x=T[R];C(r.current,R,x,N)}for(const m of Object.keys(T))!Object.hasOwn(E,m)&&m!==c.current&&C(r.current,m,null,null);return await r.current?.resize().runAsync(),l.current=g,h.current=y,r.current},[C,a]);return{createView:v,updateView:O,finalizeView:V}}function Ae(n){try{const t=typeof n=="string"?JSON.parse(n):n;return!!(t.facet||t.encoding?.row||t.encoding?.column||t.encoding?.facet)}catch{return!1}}const Re=({disableFullscreenMode:n,element:t,fragmentId:o,widgetMgr:r,widthConfig:u,heightConfig:c})=>{const[l,h]=s.useState(!1),[e,f]=s.useState(!1),{expanded:a,height:d,width:i,expand:p,collapse:S}=ee(ie),{width:D,height:V,elementRef:v}=te([l],0),C=ne(u)||t.useContainerWidth,O=re(c),g=Ae(t.spec),y=we(t,g?i??0:D,(a?d:V)??0,a?!0:C,a?!0:O),{createView:b,updateView:w,finalizeView:T}=Oe(y,r,o),{data:E,datasets:m,spec:N}=y;return s.useLayoutEffect(()=>(v.current!==null&&b(v,N),T),[b,T,N,i,d,l,v]),s.useEffect(()=>{w(E,m)},[E,m]),s.useEffect(()=>{E||m?.[0]?.data?f(!0):f(!1)},[E,m]),l?A(le,{data:E??m[0]?.data,height:d??V??void 0,width:u??void 0,customToolbarActions:[A(k,{label:"Show chart",icon:B,onClick:()=>{h(!1)}},"show-chart")]}):se(_,{height:O?a?d:"100%":d,useContainerWidth:a?!0:C,children:[A(ce,{target:_,isFullScreen:a,onExpand:p,onCollapse:S,disableFullscreenMode:n,children:e&&A(k,{label:"Show data",icon:$,onClick:()=>{h(!0)}})}),A(oe,{styles:[he]}),A(pe,{"data-testid":"stVegaLiteChart",className:"stVegaLiteChart",useContainerWidth:C,useContainerHeight:O,ref:v})]})},xe=ae(Re),tt=s.memo(xe);export{he as StyledVegaLiteChartTooltips,J as applyStreamlitTheme,tt as default};
@@ -1 +1 @@
1
- import{x as T,r as i,O as b,a3 as L,j as p,Q as N}from"./index.DMxc2XFp.js";const U=T("iframe",{target:"eymnmwl0"})(({theme:r})=>({colorScheme:"normal",border:"none",padding:r.spacing.none,margin:r.spacing.none,width:"100%",aspectRatio:"16 / 9"})),O=N.getLogger("Video"),R={width:"100%"};function A({element:r,endpoints:s,elementMgr:f}){const n=i.useRef(null),{type:g,url:c,startTime:a,subtitles:l,endTime:o,loop:d,autoplay:m,muted:E}=r;let v=b(c);const S=i.useMemo(()=>{if(!r.id)return!0;const e=f.getElementState(r.id,"preventAutoplay");return e||f.setElementState(r.id,"preventAutoplay",!0),e??!1},[r.id,f]),y=i.useMemo(()=>JSON.stringify(l?l.map(e=>s.buildMediaURL(`${e.url}`)):[]),[l,s]);i.useEffect(()=>{const e=JSON.parse(y);e.length!==0&&e.forEach(t=>{s.checkSourceUrlResponse(t,"Video Subtitle")})},[y,s]),i.useEffect(()=>{n.current&&(n.current.currentTime=a)},[a]),i.useEffect(()=>{const e=n.current,t=()=>{e&&(e.currentTime=r.startTime)};return e&&e.addEventListener("loadedmetadata",t),()=>{e&&e.removeEventListener("loadedmetadata",t)}},[r]),i.useEffect(()=>{const e=n.current;if(!e)return;let t=!1;const u=()=>{o>0&&e.currentTime>=o&&(d?(e.currentTime=a||0,e.play()):t||(t=!0,e.pause()))};return o>0&&e.addEventListener("timeupdate",u),()=>{e&&o>0&&e.removeEventListener("timeupdate",u)}},[o,d,a]),i.useEffect(()=>{const e=n.current;if(!e)return;const t=()=>{d&&(e.currentTime=a||0,e.play())};return e.addEventListener("ended",t),()=>{e&&e.removeEventListener("ended",t)}},[d,a]);const V=e=>{const t=new URL(e);if(a&&!isNaN(a)&&t.searchParams.append("start",a.toString()),o&&!isNaN(o)&&t.searchParams.append("end",o.toString()),d){t.searchParams.append("loop","1");const u=t.pathname.split("/").pop();u&&t.searchParams.append("playlist",u)}return m&&t.searchParams.append("autoplay","1"),E&&t.searchParams.append("mute","1"),t.toString()};if(g===L.Type.YOUTUBE_IFRAME)return p(U,{className:"stVideo","data-testid":"stVideo",title:c,src:V(c),allow:"autoplay; encrypted-media",allowFullScreen:!0});const h=e=>{const t=e.currentTarget.src;O.error(`Client Error: Video source error - ${t}`),s.sendClientErrorToHost("Video","Video source failed to load","onerror triggered",t)};return p("video",{className:"stVideo","data-testid":"stVideo",ref:n,controls:!0,muted:E,autoPlay:m&&!S,src:s.buildMediaURL(c),style:R,crossOrigin:v,onError:h,children:l?.map((e,t)=>p("track",{kind:"captions",src:s.buildMediaURL(`${e.url}`),label:`${e.label}`,default:t===0,"data-testid":"stVideoSubtitle"},t))})}const w=i.memo(A);export{w as default};
1
+ import{x as T,r as i,O as b,a3 as L,j as p,Q as N}from"./index.3bHSf9gi.js";const U=T("iframe",{target:"eymnmwl0"})(({theme:r})=>({colorScheme:"normal",border:"none",padding:r.spacing.none,margin:r.spacing.none,width:"100%",aspectRatio:"16 / 9"})),O=N.getLogger("Video"),R={width:"100%"};function A({element:r,endpoints:s,elementMgr:f}){const n=i.useRef(null),{type:g,url:c,startTime:a,subtitles:l,endTime:o,loop:d,autoplay:m,muted:E}=r;let v=b(c);const S=i.useMemo(()=>{if(!r.id)return!0;const e=f.getElementState(r.id,"preventAutoplay");return e||f.setElementState(r.id,"preventAutoplay",!0),e??!1},[r.id,f]),y=i.useMemo(()=>JSON.stringify(l?l.map(e=>s.buildMediaURL(`${e.url}`)):[]),[l,s]);i.useEffect(()=>{const e=JSON.parse(y);e.length!==0&&e.forEach(t=>{s.checkSourceUrlResponse(t,"Video Subtitle")})},[y,s]),i.useEffect(()=>{n.current&&(n.current.currentTime=a)},[a]),i.useEffect(()=>{const e=n.current,t=()=>{e&&(e.currentTime=r.startTime)};return e&&e.addEventListener("loadedmetadata",t),()=>{e&&e.removeEventListener("loadedmetadata",t)}},[r]),i.useEffect(()=>{const e=n.current;if(!e)return;let t=!1;const u=()=>{o>0&&e.currentTime>=o&&(d?(e.currentTime=a||0,e.play()):t||(t=!0,e.pause()))};return o>0&&e.addEventListener("timeupdate",u),()=>{e&&o>0&&e.removeEventListener("timeupdate",u)}},[o,d,a]),i.useEffect(()=>{const e=n.current;if(!e)return;const t=()=>{d&&(e.currentTime=a||0,e.play())};return e.addEventListener("ended",t),()=>{e&&e.removeEventListener("ended",t)}},[d,a]);const V=e=>{const t=new URL(e);if(a&&!isNaN(a)&&t.searchParams.append("start",a.toString()),o&&!isNaN(o)&&t.searchParams.append("end",o.toString()),d){t.searchParams.append("loop","1");const u=t.pathname.split("/").pop();u&&t.searchParams.append("playlist",u)}return m&&t.searchParams.append("autoplay","1"),E&&t.searchParams.append("mute","1"),t.toString()};if(g===L.Type.YOUTUBE_IFRAME)return p(U,{className:"stVideo","data-testid":"stVideo",title:c,src:V(c),allow:"autoplay; encrypted-media",allowFullScreen:!0});const h=e=>{const t=e.currentTarget.src;O.error(`Client Error: Video source error - ${t}`),s.sendClientErrorToHost("Video","Video source failed to load","onerror triggered",t)};return p("video",{className:"stVideo","data-testid":"stVideo",ref:n,controls:!0,muted:E,autoPlay:m&&!S,src:s.buildMediaURL(c),style:R,crossOrigin:v,onError:h,children:l?.map((e,t)=>p("track",{kind:"captions",src:s.buildMediaURL(`${e.url}`),label:`${e.label}`,default:t===0,"data-testid":"stVideoSubtitle"},t))})}const w=i.memo(A);export{w as default};
@@ -1 +1 @@
1
- import{av as U,j as u,aw as _,ae as z,P as h,ax as $,S as G,ay as X,k as Z,e as q,r as s,g as J,az as K,L as Q,l as oo,m as to,ab as ro,T as eo,ac as no}from"./index.DMxc2XFp.js";import{h as x}from"./moment.C3j7ZXd7.js";import{u as ao,D as so,a as io}from"./useIntlLocale.hRV75Xgj.js";import{u as lo}from"./useBasicWidgetState.Bfp6TnSw.js";import{S as co}from"./styled-components.C3R090At.js";import{E as po}from"./ErrorOutline.esm.ZJDbmVTx.js";import"./timepicker.BdhzPxrv.js";import"./possibleConstructorReturn.DD9NK1Z8.js";import"./createSuper.RBO59fEm.js";import"./input.D5oh9-aB.js";import"./base-input.o9tL8MDP.js";import"./FormClearHelper.CG2XN1_g.js";const go=({theme:o,isInSidebar:t,step:r,minTime:c,maxTime:f,disabled:p,clearable:g,error:e})=>({Popover:{props:{ignoreBoundary:t,placement:_.bottomLeft,overrides:{Body:{style:{marginTop:o.spacing.px}}}}},CalendarContainer:{style:{fontSize:o.fontSizes.sm,paddingRight:o.spacing.sm,paddingLeft:o.spacing.sm,paddingBottom:o.spacing.none,paddingTop:o.spacing.sm}},Week:{style:{fontSize:o.fontSizes.sm}},Day:{style:({$pseudoHighlighted:i,$pseudoSelected:a,$selected:C,$isHovered:y})=>({fontSize:o.fontSizes.sm,lineHeight:o.lineHeights.base,"::before":{backgroundColor:C||a||i||y?`${o.colors.darkenedBgMix15} !important`:o.colors.transparent},"::after":{borderColor:o.colors.transparent},...Z(o)&&y&&a&&!C?{color:o.colors.secondaryBg}:{}})},PrevButton:{style:()=>({display:"flex",alignItems:"center",justifyContent:"center",":active":{backgroundColor:o.colors.transparent},":focus":{backgroundColor:o.colors.transparent,outline:0}})},NextButton:{style:()=>({display:"flex",alignItems:"center",justifyContent:"center",":active":{backgroundColor:o.colors.transparent},":focus":{backgroundColor:o.colors.transparent,outline:0}})},Input:{props:{maskChar:null,endEnhancer:e&&u(X,{content:u(G,{source:e,allowHTML:!1}),placement:h.TOP_RIGHT,error:!0,children:u($,{content:po,size:"lg"})}),overrides:{EndEnhancer:{style:{color:e?o.colors.redTextColor:o.colors.grayTextColor,backgroundColor:o.colors.transparent}},Root:{style:({$isFocused:i})=>{const a=z(o.colors,i);return{borderLeftWidth:o.sizes.borderWidth,borderRightWidth:o.sizes.borderWidth,borderTopWidth:o.sizes.borderWidth,borderBottomWidth:o.sizes.borderWidth,paddingRight:o.spacing.twoXS,borderTopColor:a,borderRightColor:a,borderBottomColor:a,borderLeftColor:a,...e&&{backgroundColor:o.colors.redBackgroundColor}}}},ClearIcon:{props:{overrides:{Svg:{style:{color:o.colors.grayTextColor,padding:o.spacing.threeXS,height:o.sizes.clearIconSize,width:o.sizes.clearIconSize,":hover":{fill:o.colors.bodyText}}}}}},InputContainer:{style:{backgroundColor:"transparent"}},Input:{style:{fontWeight:o.fontWeights.normal,paddingRight:o.spacing.sm,paddingLeft:o.spacing.md,paddingBottom:o.spacing.sm,paddingTop:o.spacing.sm,lineHeight:o.lineHeights.inputWidget,"::placeholder":{color:o.colors.fadedText60},...e&&{color:o.colors.redTextColor}},props:{"data-testid":"stDateTimeInputField"}}}}},TimeSelectContainer:{style:{paddingTop:o.spacing.none,paddingBottom:o.spacing.none}},TimeSelectFormControl:{style:{marginBottom:o.spacing.none},props:{overrides:{Label:{component:()=>null}}}},TimeSelect:{props:{step:r,format:"24",disabled:p,nullable:g,minTime:c,maxTime:f,overrides:{Select:{props:{disabled:p,overrides:{ControlContainer:{style:({$isFocused:i})=>{const a=z(o.colors,i);return{height:o.sizes.minElementHeight,borderLeftWidth:o.sizes.borderWidth,borderRightWidth:o.sizes.borderWidth,borderTopWidth:o.sizes.borderWidth,borderBottomWidth:o.sizes.borderWidth,borderTopColor:a,borderRightColor:a,borderBottomColor:a,borderLeftColor:a}}},IconsContainer:{style:()=>({paddingRight:o.spacing.sm})},ValueContainer:{style:()=>({lineHeight:o.lineHeights.inputWidget,paddingRight:o.spacing.sm,paddingLeft:o.spacing.md,paddingBottom:o.spacing.sm,paddingTop:o.spacing.sm})},SingleValue:{style:{fontWeight:o.fontWeights.normal},props:{"data-testid":"stDateTimeInputTimeDisplay"}},Dropdown:{style:()=>({paddingTop:o.spacing.none,paddingBottom:o.spacing.none,boxShadow:"none",maxHeight:o.sizes.maxDropdownHeight})},DropdownListItem:{component:co},Popover:{props:{ignoreBoundary:t,overrides:{Body:{style:()=>({marginTop:o.spacing.px})}}}},Placeholder:{style:()=>({color:o.colors.fadedText60})},SelectArrow:{component:U,props:{overrides:{Svg:{style:()=>({width:o.iconSizes.xl,height:o.iconSizes.xl})}}}}}}}}}}}),k="YYYY/MM/DD, HH:mm",uo=(o,t)=>{const r=o.getStringArrayValue(t);return r&&r.length>0?r[0]:null},fo=o=>o.default?.length?o.default[0]:null,mo=o=>o.value?.length?o.value[0]:null,M=o=>{let t;if(Array.isArray(o)?t=o.find(c=>c instanceof Date):t=o,!t||Number.isNaN(t.getTime()))return null;const r=new Date(t.getTime());return r.setSeconds(0,0),r},b=o=>{if(q(o)||o==="")return null;const t=x(o,k,!0);return t.isValid()?M(t.toDate()):null},I=(o,t)=>o.getFullYear()===t.getFullYear()&&o.getMonth()===t.getMonth()&&o.getDate()===t.getDate(),B=(o,t)=>{const r=new Date(o.getTime());return r.setHours(t.getHours(),t.getMinutes(),0,0),r},bo=(o,t,r,c)=>{const f=b(o.min),p=b(o.max),g=e=>{t.setStringArrayValue(o,e?[e]:[],{fromUi:r.fromUi},c)};if(r.value){const e=b(r.value);if(e){f&&e<f||p&&e>p||g(r.value);return}}g(r.value)};function To({disabled:o,element:t,widgetMgr:r,fragmentId:c}){const f=J(),p=s.useContext(K),g=s.useRef(null),[e,i]=lo({getStateFromWidgetMgr:uo,getDefaultStateFromProto:fo,getCurrStateFromProto:mo,updateWidgetMgrState:bo,element:t,widgetMgr:r,fragmentId:c}),{locale:a}=s.useContext(Q),C=ao(a),y=t.step?Number(t.step):900,l=s.useMemo(()=>b(t.min),[t.min]),d=s.useMemo(()=>b(t.max),[t.max]),T=s.useMemo(()=>b(e),[e]),[n,v]=s.useState(T),[H,L]=s.useState(T);T!==H&&(v(T),L(T));const P=l??void 0,V=d??void 0,E=s.useMemo(()=>{if(!(!n||!l))return I(n,l)?B(n,l):void 0},[n,l]),R=s.useMemo(()=>{if(!(!n||!d))return I(n,d)?B(n,d):void 0},[n,d]),w=t.format.replaceAll(/[a-zA-Z]/g,"9"),D=`${t.format.replaceAll("Y","y").replaceAll("D","d")}, HH:mm`,A=`${w}, 99:99`,F=`${t.format}, HH:MM`,W=(t.default&&t.default.length>0?t.default[0]:"").length===0&&!o,O=s.useMemo(()=>{if(!n)return null;if(l&&n<l||d&&n>d){const m=x(l).format(D),S=x(d).format(D);return`**Error**: Date and time set outside allowed range. Please select a date and time between ${m} and ${S}.`}return null},[n,l,d,D]),N=s.useCallback(({date:m})=>{const S=M(m);v(S),g.current?.open?.()},[]),Y=s.useCallback(()=>{const m=n?x(n).format(k):null;m!==e&&i({value:m,fromUi:!0})},[n,e,i]),j=go({theme:f,isInSidebar:p,step:y,minTime:E,maxTime:R,disabled:o,clearable:W,error:O});return oo("div",{className:"stDateTimeInput","data-testid":"stDateTimeInput",children:[u(no,{label:t.label,disabled:o,labelVisibility:to(t.labelVisibility?.value),children:t.help&&u(ro,{children:u(eo,{content:t.help,placement:h.TOP_RIGHT})})}),u(io,{ref:g,locale:C,density:so.high,value:n,onChange:N,onClose:Y,minDate:P,maxDate:V,disabled:o,timeSelectStart:!0,formatString:D,mask:A,placeholder:F,clearable:W,overrides:j,"aria-label":t.label})]})}const Lo=s.memo(To);export{Lo as default};
1
+ import{av as U,j as u,aw as _,ae as z,P as h,ax as $,S as G,ay as X,k as Z,e as q,r as s,g as J,az as K,L as Q,l as oo,m as to,ab as ro,T as eo,ac as no}from"./index.3bHSf9gi.js";import{h as x}from"./moment.C3j7ZXd7.js";import{u as ao,D as so,a as io}from"./useIntlLocale.DrzrdT6m.js";import{u as lo}from"./useBasicWidgetState.CSKMY_WY.js";import{S as co}from"./styled-components.-ywQNIcz.js";import{E as po}from"./ErrorOutline.esm.LtBTGAgi.js";import"./timepicker.BRg2LlYz.js";import"./possibleConstructorReturn.D2vivPxX.js";import"./createSuper.CXzRWZIx.js";import"./input.-I2c-pPm.js";import"./base-input.DYzkAUR7.js";import"./FormClearHelper.DyYuMYyM.js";const go=({theme:o,isInSidebar:t,step:r,minTime:c,maxTime:f,disabled:p,clearable:g,error:e})=>({Popover:{props:{ignoreBoundary:t,placement:_.bottomLeft,overrides:{Body:{style:{marginTop:o.spacing.px}}}}},CalendarContainer:{style:{fontSize:o.fontSizes.sm,paddingRight:o.spacing.sm,paddingLeft:o.spacing.sm,paddingBottom:o.spacing.none,paddingTop:o.spacing.sm}},Week:{style:{fontSize:o.fontSizes.sm}},Day:{style:({$pseudoHighlighted:i,$pseudoSelected:a,$selected:C,$isHovered:y})=>({fontSize:o.fontSizes.sm,lineHeight:o.lineHeights.base,"::before":{backgroundColor:C||a||i||y?`${o.colors.darkenedBgMix15} !important`:o.colors.transparent},"::after":{borderColor:o.colors.transparent},...Z(o)&&y&&a&&!C?{color:o.colors.secondaryBg}:{}})},PrevButton:{style:()=>({display:"flex",alignItems:"center",justifyContent:"center",":active":{backgroundColor:o.colors.transparent},":focus":{backgroundColor:o.colors.transparent,outline:0}})},NextButton:{style:()=>({display:"flex",alignItems:"center",justifyContent:"center",":active":{backgroundColor:o.colors.transparent},":focus":{backgroundColor:o.colors.transparent,outline:0}})},Input:{props:{maskChar:null,endEnhancer:e&&u(X,{content:u(G,{source:e,allowHTML:!1}),placement:h.TOP_RIGHT,error:!0,children:u($,{content:po,size:"lg"})}),overrides:{EndEnhancer:{style:{color:e?o.colors.redTextColor:o.colors.grayTextColor,backgroundColor:o.colors.transparent}},Root:{style:({$isFocused:i})=>{const a=z(o.colors,i);return{borderLeftWidth:o.sizes.borderWidth,borderRightWidth:o.sizes.borderWidth,borderTopWidth:o.sizes.borderWidth,borderBottomWidth:o.sizes.borderWidth,paddingRight:o.spacing.twoXS,borderTopColor:a,borderRightColor:a,borderBottomColor:a,borderLeftColor:a,...e&&{backgroundColor:o.colors.redBackgroundColor}}}},ClearIcon:{props:{overrides:{Svg:{style:{color:o.colors.grayTextColor,padding:o.spacing.threeXS,height:o.sizes.clearIconSize,width:o.sizes.clearIconSize,":hover":{fill:o.colors.bodyText}}}}}},InputContainer:{style:{backgroundColor:"transparent"}},Input:{style:{fontWeight:o.fontWeights.normal,paddingRight:o.spacing.sm,paddingLeft:o.spacing.md,paddingBottom:o.spacing.sm,paddingTop:o.spacing.sm,lineHeight:o.lineHeights.inputWidget,"::placeholder":{color:o.colors.fadedText60},...e&&{color:o.colors.redTextColor}},props:{"data-testid":"stDateTimeInputField"}}}}},TimeSelectContainer:{style:{paddingTop:o.spacing.none,paddingBottom:o.spacing.none}},TimeSelectFormControl:{style:{marginBottom:o.spacing.none},props:{overrides:{Label:{component:()=>null}}}},TimeSelect:{props:{step:r,format:"24",disabled:p,nullable:g,minTime:c,maxTime:f,overrides:{Select:{props:{disabled:p,overrides:{ControlContainer:{style:({$isFocused:i})=>{const a=z(o.colors,i);return{height:o.sizes.minElementHeight,borderLeftWidth:o.sizes.borderWidth,borderRightWidth:o.sizes.borderWidth,borderTopWidth:o.sizes.borderWidth,borderBottomWidth:o.sizes.borderWidth,borderTopColor:a,borderRightColor:a,borderBottomColor:a,borderLeftColor:a}}},IconsContainer:{style:()=>({paddingRight:o.spacing.sm})},ValueContainer:{style:()=>({lineHeight:o.lineHeights.inputWidget,paddingRight:o.spacing.sm,paddingLeft:o.spacing.md,paddingBottom:o.spacing.sm,paddingTop:o.spacing.sm})},SingleValue:{style:{fontWeight:o.fontWeights.normal},props:{"data-testid":"stDateTimeInputTimeDisplay"}},Dropdown:{style:()=>({paddingTop:o.spacing.none,paddingBottom:o.spacing.none,boxShadow:"none",maxHeight:o.sizes.maxDropdownHeight})},DropdownListItem:{component:co},Popover:{props:{ignoreBoundary:t,overrides:{Body:{style:()=>({marginTop:o.spacing.px})}}}},Placeholder:{style:()=>({color:o.colors.fadedText60})},SelectArrow:{component:U,props:{overrides:{Svg:{style:()=>({width:o.iconSizes.xl,height:o.iconSizes.xl})}}}}}}}}}}}),k="YYYY/MM/DD, HH:mm",uo=(o,t)=>{const r=o.getStringArrayValue(t);return r&&r.length>0?r[0]:null},fo=o=>o.default?.length?o.default[0]:null,mo=o=>o.value?.length?o.value[0]:null,M=o=>{let t;if(Array.isArray(o)?t=o.find(c=>c instanceof Date):t=o,!t||Number.isNaN(t.getTime()))return null;const r=new Date(t.getTime());return r.setSeconds(0,0),r},b=o=>{if(q(o)||o==="")return null;const t=x(o,k,!0);return t.isValid()?M(t.toDate()):null},I=(o,t)=>o.getFullYear()===t.getFullYear()&&o.getMonth()===t.getMonth()&&o.getDate()===t.getDate(),B=(o,t)=>{const r=new Date(o.getTime());return r.setHours(t.getHours(),t.getMinutes(),0,0),r},bo=(o,t,r,c)=>{const f=b(o.min),p=b(o.max),g=e=>{t.setStringArrayValue(o,e?[e]:[],{fromUi:r.fromUi},c)};if(r.value){const e=b(r.value);if(e){f&&e<f||p&&e>p||g(r.value);return}}g(r.value)};function To({disabled:o,element:t,widgetMgr:r,fragmentId:c}){const f=J(),p=s.useContext(K),g=s.useRef(null),[e,i]=lo({getStateFromWidgetMgr:uo,getDefaultStateFromProto:fo,getCurrStateFromProto:mo,updateWidgetMgrState:bo,element:t,widgetMgr:r,fragmentId:c}),{locale:a}=s.useContext(Q),C=ao(a),y=t.step?Number(t.step):900,l=s.useMemo(()=>b(t.min),[t.min]),d=s.useMemo(()=>b(t.max),[t.max]),T=s.useMemo(()=>b(e),[e]),[n,v]=s.useState(T),[H,L]=s.useState(T);T!==H&&(v(T),L(T));const P=l??void 0,V=d??void 0,E=s.useMemo(()=>{if(!(!n||!l))return I(n,l)?B(n,l):void 0},[n,l]),R=s.useMemo(()=>{if(!(!n||!d))return I(n,d)?B(n,d):void 0},[n,d]),w=t.format.replaceAll(/[a-zA-Z]/g,"9"),D=`${t.format.replaceAll("Y","y").replaceAll("D","d")}, HH:mm`,A=`${w}, 99:99`,F=`${t.format}, HH:MM`,W=(t.default&&t.default.length>0?t.default[0]:"").length===0&&!o,O=s.useMemo(()=>{if(!n)return null;if(l&&n<l||d&&n>d){const m=x(l).format(D),S=x(d).format(D);return`**Error**: Date and time set outside allowed range. Please select a date and time between ${m} and ${S}.`}return null},[n,l,d,D]),N=s.useCallback(({date:m})=>{const S=M(m);v(S),g.current?.open?.()},[]),Y=s.useCallback(()=>{const m=n?x(n).format(k):null;m!==e&&i({value:m,fromUi:!0})},[n,e,i]),j=go({theme:f,isInSidebar:p,step:y,minTime:E,maxTime:R,disabled:o,clearable:W,error:O});return oo("div",{className:"stDateTimeInput","data-testid":"stDateTimeInput",children:[u(no,{label:t.label,disabled:o,labelVisibility:to(t.labelVisibility?.value),children:t.help&&u(ro,{children:u(eo,{content:t.help,placement:h.TOP_RIGHT})})}),u(io,{ref:g,locale:C,density:so.high,value:n,onChange:N,onClose:Y,minDate:P,maxDate:V,disabled:o,timeSelectStart:!0,formatString:D,mask:A,placeholder:F,clearable:W,overrides:j,"aria-label":t.label})]})}const Lo=s.memo(To);export{Lo as default};
@@ -1 +1 @@
1
- import{x as e,r as a,l as t,j as r,S as o}from"./index.DMxc2XFp.js";import{P as l}from"./ProgressBar.CGQ8OgfO.js";const i=e("div",{target:"e1675qd10"})(({theme:s})=>({paddingBottom:s.spacing.sm,lineHeight:"normal"}));function d({element:s}){return t("div",{className:"stProgress","data-testid":"stProgress",children:[r(i,{children:r(o,{source:s.text,allowHTML:!1,isLabel:!0})}),r(l,{value:s.value})]})}const m=a.memo(d);export{m as default};
1
+ import{x as e,r as a,l as t,j as r,S as o}from"./index.3bHSf9gi.js";import{P as l}from"./ProgressBar.D1rDn4Rn.js";const i=e("div",{target:"e1675qd10"})(({theme:s})=>({paddingBottom:s.spacing.sm,lineHeight:"normal"}));function d({element:s}){return t("div",{className:"stProgress","data-testid":"stProgress",children:[r(i,{children:r(o,{source:s.text,allowHTML:!1,isLabel:!0})}),r(l,{value:s.value})]})}const m=a.memo(d);export{m as default};
@@ -1,3 +1,3 @@
1
- import{bR as de,cm as ce,cn as pe,co as fe,cp as ge,cq as ye,aJ as me,am as ve,b8 as be,cr as he,aK as Se,c7 as Oe,al as K,cs as Ce,r as k,az as Ie,e as J,g as Pe,l as $e,j as z,m as _e,ab as Te,T as Ee,P as Re,ac as we,av as De,ae as xe}from"./index.DMxc2XFp.js";import{u as Ae}from"./useBasicWidgetState.Bfp6TnSw.js";import{S as We,a as Be}from"./styled-components.C3R090At.js";import{T as Ne}from"./timepicker.BdhzPxrv.js";import"./FormClearHelper.CG2XN1_g.js";import"./possibleConstructorReturn.DD9NK1Z8.js";import"./createSuper.RBO59fEm.js";var Me=de.Consumer;const Le=Object.freeze(Object.defineProperty({__proto__:null,ThemeConsumer:Me,ThemeProvider:ce,createThemedStyled:pe,createThemedUseStyletron:fe,createThemedWithStyle:ge,expandBorderStyles:ye,hexToRgb:me,styled:ve,useStyletron:be,withStyle:he,withWrapper:Se},Symbol.toStringTag,{value:"Module"}));var C={};const Y=Oe(Le);var D={},X;function Fe(){if(X)return D;X=1,Object.defineProperty(D,"__esModule",{value:!0}),D.STATE_CHANGE_TYPE=D.SIZE=D.ENHANCER_POSITION=D.CUSTOM_INPUT_TYPE=D.ADJOINED=void 0;var g={change:"change"};D.STATE_CHANGE_TYPE=g;var c={textarea:"textarea"};D.CUSTOM_INPUT_TYPE=c;var h={none:"none",left:"left",right:"right",both:"both"};D.ADJOINED=h;var m={mini:"mini",default:"default",compact:"compact",large:"large"};D.SIZE=m;var b={start:"start",end:"end"};return D.ENHANCER_POSITION=b,D}var q={},A={},H={},Q;function ze(){if(Q)return H;Q=1,Object.defineProperty(H,"__esModule",{value:!0}),H.default=c;function g(m){"@babel/helpers - typeof";return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(b){return typeof b}:function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},g(m)}function c(m){m=m||{};for(var b=arguments.length<=1?0:arguments.length-1,v,y,S=0;S<b;S++){v=(S+1<1||arguments.length<=S+1?void 0:arguments[S+1])||{};for(var f in v)g(v[f])!==void 0&&(y=v[f],h(y)?m[f]=c(m[f]||Array.isArray(y)&&[]||{},y):m[f]=y)}return m}function h(m){return Array.isArray(m)||{}.toString.call(m)=="[object Object]"}return H}var ee;function ae(){if(ee)return A;ee=1,Object.defineProperty(A,"__esModule",{value:!0}),A.getOverride=R,A.getOverrideProps=$,A.getOverrides=L,A.mergeConfigurationOverrides=M,A.mergeOverride=x,A.mergeOverrides=N,A.toObjectOverride=_,A.useOverrides=F;var g=v(K()),c=Ce(),h=m(ze());function m(i){return i&&i.__esModule?i:{default:i}}function b(i){if(typeof WeakMap!="function")return null;var t=new WeakMap,u=new WeakMap;return(b=function(r){return r?u:t})(i)}function v(i,t){if(i&&i.__esModule)return i;if(i===null||P(i)!=="object"&&typeof i!="function")return{default:i};var u=b(t);if(u&&u.has(i))return u.get(i);var s={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in i)if(a!=="default"&&Object.prototype.hasOwnProperty.call(i,a)){var l=r?Object.getOwnPropertyDescriptor(i,a):null;l&&(l.get||l.set)?Object.defineProperty(s,a,l):s[a]=i[a]}return s.default=i,u&&u.set(i,s),s}function y(){return y=Object.assign?Object.assign.bind():function(i){for(var t=1;t<arguments.length;t++){var u=arguments[t];for(var s in u)Object.prototype.hasOwnProperty.call(u,s)&&(i[s]=u[s])}return i},y.apply(this,arguments)}function S(i,t){var u=Object.keys(i);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(i);t&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(i,r).enumerable})),u.push.apply(u,s)}return u}function f(i){for(var t=1;t<arguments.length;t++){var u=arguments[t]!=null?arguments[t]:{};t%2?S(Object(u),!0).forEach(function(s){T(i,s,u[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(u)):S(Object(u)).forEach(function(s){Object.defineProperty(i,s,Object.getOwnPropertyDescriptor(u,s))})}return i}function T(i,t,u){return t in i?Object.defineProperty(i,t,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[t]=u,i}function P(i){"@babel/helpers - typeof";return P=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},P(i)}function R(i){return(0,c.isValidElementType)(i)?i:i&&P(i)==="object"?i.component:i}function $(i){return i&&P(i)==="object"?P(i.props)==="object"?f(f({},i.props),{},{$style:i.style}):{$style:i.style}:{}}function _(i){return(0,c.isValidElementType)(i)?{component:i}:i||{}}function L(i,t){var u=R(i)||t;if(i&&P(i)==="object"&&typeof i.props=="function"){var s=g.forwardRef(function(a,l){var n=i.props(a),e=$(f(f({},i),{},{props:n}));return g.createElement(u,y({ref:l},e))});return s.displayName=u.displayName,[s,{}]}var r=$(i);return[u,r]}function N(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=Object.assign({},i,t),s=Object.keys(u);return s.reduce(function(r,a){return r[a]=x(_(i[a]),_(t[a])),r},{})}function x(i,t){var u=f(f({},i),t);return i.props&&t.props&&(u.props=M(i.props,t.props)),i.style&&t.style&&(u.style=M(i.style,t.style)),u}function M(i,t){return P(i)==="object"&&P(t)==="object"?(0,h.default)({},i,t):function(){return(0,h.default)({},typeof i=="function"?i.apply(void 0,arguments):i,typeof t=="function"?t.apply(void 0,arguments):t)}}function F(i){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return g.useMemo(function(){return Object.keys(i).reduce(function(u,s){return u[s]=L(t[s],i[s]),u},{})},[t])}return A}var j={},Z={},te;function Ze(){if(te)return Z;te=1,Object.defineProperty(Z,"__esModule",{value:!0}),Z.Svg=void 0,Z.getSvgStyles=c;var g=Y;function c(m){var b=m.$theme,v=m.$size,y=m.$color,S=b.sizing.scale600;v&&(b.sizing[v]?S=b.sizing[v]:typeof v=="number"?S="".concat(v,"px"):S=v);var f="currentColor";return y&&(b.colors[y]?f=b.colors[y]:f=y),{display:"inline-block",fill:f,color:f,height:S,width:S}}var h=(0,g.styled)("svg",c);return Z.Svg=h,h.displayName="Svg",h.displayName="Svg",Z}var V={},re;function qe(){if(re)return V;re=1,Object.defineProperty(V,"__esModule",{value:!0}),V.default=g;function g(c){var h={};for(var m in c)m[0]!=="$"&&(h[m]=c[m]);return h}return V}var ne;function je(){if(ne)return j;ne=1;function g(r){"@babel/helpers - typeof";return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},g(r)}Object.defineProperty(j,"__esModule",{value:!0}),j.default=void 0;var c=f(K()),h=ae(),m=Ze(),b=y(qe()),v=["children","title","size","color","overrides"];function y(r){return r&&r.__esModule?r:{default:r}}function S(r){if(typeof WeakMap!="function")return null;var a=new WeakMap,l=new WeakMap;return(S=function(e){return e?l:a})(r)}function f(r,a){if(r&&r.__esModule)return r;if(r===null||g(r)!=="object"&&typeof r!="function")return{default:r};var l=S(a);if(l&&l.has(r))return l.get(r);var n={},e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in r)if(o!=="default"&&Object.prototype.hasOwnProperty.call(r,o)){var p=e?Object.getOwnPropertyDescriptor(r,o):null;p&&(p.get||p.set)?Object.defineProperty(n,o,p):n[o]=r[o]}return n.default=r,l&&l.set(r,n),n}function T(){return T=Object.assign?Object.assign.bind():function(r){for(var a=1;a<arguments.length;a++){var l=arguments[a];for(var n in l)Object.prototype.hasOwnProperty.call(l,n)&&(r[n]=l[n])}return r},T.apply(this,arguments)}function P(r,a){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);a&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})),l.push.apply(l,n)}return l}function R(r){for(var a=1;a<arguments.length;a++){var l=arguments[a]!=null?arguments[a]:{};a%2?P(Object(l),!0).forEach(function(n){$(r,n,l[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(l)):P(Object(l)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(l,n))})}return r}function $(r,a,l){return a in r?Object.defineProperty(r,a,{value:l,enumerable:!0,configurable:!0,writable:!0}):r[a]=l,r}function _(r,a){return F(r)||M(r,a)||N(r,a)||L()}function L(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1
+ import{bR as de,cm as ce,cn as pe,co as fe,cp as ge,cq as ye,aJ as me,am as ve,b8 as be,cr as he,aK as Se,c7 as Oe,al as K,cs as Ce,r as k,az as Ie,e as J,g as Pe,l as $e,j as z,m as _e,ab as Te,T as Ee,P as Re,ac as we,av as De,ae as xe}from"./index.3bHSf9gi.js";import{u as Ae}from"./useBasicWidgetState.CSKMY_WY.js";import{S as We,a as Be}from"./styled-components.-ywQNIcz.js";import{T as Ne}from"./timepicker.BRg2LlYz.js";import"./FormClearHelper.DyYuMYyM.js";import"./possibleConstructorReturn.D2vivPxX.js";import"./createSuper.CXzRWZIx.js";var Me=de.Consumer;const Le=Object.freeze(Object.defineProperty({__proto__:null,ThemeConsumer:Me,ThemeProvider:ce,createThemedStyled:pe,createThemedUseStyletron:fe,createThemedWithStyle:ge,expandBorderStyles:ye,hexToRgb:me,styled:ve,useStyletron:be,withStyle:he,withWrapper:Se},Symbol.toStringTag,{value:"Module"}));var C={};const Y=Oe(Le);var D={},X;function Fe(){if(X)return D;X=1,Object.defineProperty(D,"__esModule",{value:!0}),D.STATE_CHANGE_TYPE=D.SIZE=D.ENHANCER_POSITION=D.CUSTOM_INPUT_TYPE=D.ADJOINED=void 0;var g={change:"change"};D.STATE_CHANGE_TYPE=g;var c={textarea:"textarea"};D.CUSTOM_INPUT_TYPE=c;var h={none:"none",left:"left",right:"right",both:"both"};D.ADJOINED=h;var m={mini:"mini",default:"default",compact:"compact",large:"large"};D.SIZE=m;var b={start:"start",end:"end"};return D.ENHANCER_POSITION=b,D}var q={},A={},H={},Q;function ze(){if(Q)return H;Q=1,Object.defineProperty(H,"__esModule",{value:!0}),H.default=c;function g(m){"@babel/helpers - typeof";return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(b){return typeof b}:function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},g(m)}function c(m){m=m||{};for(var b=arguments.length<=1?0:arguments.length-1,v,y,S=0;S<b;S++){v=(S+1<1||arguments.length<=S+1?void 0:arguments[S+1])||{};for(var f in v)g(v[f])!==void 0&&(y=v[f],h(y)?m[f]=c(m[f]||Array.isArray(y)&&[]||{},y):m[f]=y)}return m}function h(m){return Array.isArray(m)||{}.toString.call(m)=="[object Object]"}return H}var ee;function ae(){if(ee)return A;ee=1,Object.defineProperty(A,"__esModule",{value:!0}),A.getOverride=R,A.getOverrideProps=$,A.getOverrides=L,A.mergeConfigurationOverrides=M,A.mergeOverride=x,A.mergeOverrides=N,A.toObjectOverride=_,A.useOverrides=F;var g=v(K()),c=Ce(),h=m(ze());function m(i){return i&&i.__esModule?i:{default:i}}function b(i){if(typeof WeakMap!="function")return null;var t=new WeakMap,u=new WeakMap;return(b=function(r){return r?u:t})(i)}function v(i,t){if(i&&i.__esModule)return i;if(i===null||P(i)!=="object"&&typeof i!="function")return{default:i};var u=b(t);if(u&&u.has(i))return u.get(i);var s={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in i)if(a!=="default"&&Object.prototype.hasOwnProperty.call(i,a)){var l=r?Object.getOwnPropertyDescriptor(i,a):null;l&&(l.get||l.set)?Object.defineProperty(s,a,l):s[a]=i[a]}return s.default=i,u&&u.set(i,s),s}function y(){return y=Object.assign?Object.assign.bind():function(i){for(var t=1;t<arguments.length;t++){var u=arguments[t];for(var s in u)Object.prototype.hasOwnProperty.call(u,s)&&(i[s]=u[s])}return i},y.apply(this,arguments)}function S(i,t){var u=Object.keys(i);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(i);t&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(i,r).enumerable})),u.push.apply(u,s)}return u}function f(i){for(var t=1;t<arguments.length;t++){var u=arguments[t]!=null?arguments[t]:{};t%2?S(Object(u),!0).forEach(function(s){T(i,s,u[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(u)):S(Object(u)).forEach(function(s){Object.defineProperty(i,s,Object.getOwnPropertyDescriptor(u,s))})}return i}function T(i,t,u){return t in i?Object.defineProperty(i,t,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[t]=u,i}function P(i){"@babel/helpers - typeof";return P=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},P(i)}function R(i){return(0,c.isValidElementType)(i)?i:i&&P(i)==="object"?i.component:i}function $(i){return i&&P(i)==="object"?P(i.props)==="object"?f(f({},i.props),{},{$style:i.style}):{$style:i.style}:{}}function _(i){return(0,c.isValidElementType)(i)?{component:i}:i||{}}function L(i,t){var u=R(i)||t;if(i&&P(i)==="object"&&typeof i.props=="function"){var s=g.forwardRef(function(a,l){var n=i.props(a),e=$(f(f({},i),{},{props:n}));return g.createElement(u,y({ref:l},e))});return s.displayName=u.displayName,[s,{}]}var r=$(i);return[u,r]}function N(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=Object.assign({},i,t),s=Object.keys(u);return s.reduce(function(r,a){return r[a]=x(_(i[a]),_(t[a])),r},{})}function x(i,t){var u=f(f({},i),t);return i.props&&t.props&&(u.props=M(i.props,t.props)),i.style&&t.style&&(u.style=M(i.style,t.style)),u}function M(i,t){return P(i)==="object"&&P(t)==="object"?(0,h.default)({},i,t):function(){return(0,h.default)({},typeof i=="function"?i.apply(void 0,arguments):i,typeof t=="function"?t.apply(void 0,arguments):t)}}function F(i){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return g.useMemo(function(){return Object.keys(i).reduce(function(u,s){return u[s]=L(t[s],i[s]),u},{})},[t])}return A}var j={},Z={},te;function Ze(){if(te)return Z;te=1,Object.defineProperty(Z,"__esModule",{value:!0}),Z.Svg=void 0,Z.getSvgStyles=c;var g=Y;function c(m){var b=m.$theme,v=m.$size,y=m.$color,S=b.sizing.scale600;v&&(b.sizing[v]?S=b.sizing[v]:typeof v=="number"?S="".concat(v,"px"):S=v);var f="currentColor";return y&&(b.colors[y]?f=b.colors[y]:f=y),{display:"inline-block",fill:f,color:f,height:S,width:S}}var h=(0,g.styled)("svg",c);return Z.Svg=h,h.displayName="Svg",h.displayName="Svg",Z}var V={},re;function qe(){if(re)return V;re=1,Object.defineProperty(V,"__esModule",{value:!0}),V.default=g;function g(c){var h={};for(var m in c)m[0]!=="$"&&(h[m]=c[m]);return h}return V}var ne;function je(){if(ne)return j;ne=1;function g(r){"@babel/helpers - typeof";return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},g(r)}Object.defineProperty(j,"__esModule",{value:!0}),j.default=void 0;var c=f(K()),h=ae(),m=Ze(),b=y(qe()),v=["children","title","size","color","overrides"];function y(r){return r&&r.__esModule?r:{default:r}}function S(r){if(typeof WeakMap!="function")return null;var a=new WeakMap,l=new WeakMap;return(S=function(e){return e?l:a})(r)}function f(r,a){if(r&&r.__esModule)return r;if(r===null||g(r)!=="object"&&typeof r!="function")return{default:r};var l=S(a);if(l&&l.has(r))return l.get(r);var n={},e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in r)if(o!=="default"&&Object.prototype.hasOwnProperty.call(r,o)){var p=e?Object.getOwnPropertyDescriptor(r,o):null;p&&(p.get||p.set)?Object.defineProperty(n,o,p):n[o]=r[o]}return n.default=r,l&&l.set(r,n),n}function T(){return T=Object.assign?Object.assign.bind():function(r){for(var a=1;a<arguments.length;a++){var l=arguments[a];for(var n in l)Object.prototype.hasOwnProperty.call(l,n)&&(r[n]=l[n])}return r},T.apply(this,arguments)}function P(r,a){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);a&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})),l.push.apply(l,n)}return l}function R(r){for(var a=1;a<arguments.length;a++){var l=arguments[a]!=null?arguments[a]:{};a%2?P(Object(l),!0).forEach(function(n){$(r,n,l[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(l)):P(Object(l)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(l,n))})}return r}function $(r,a,l){return a in r?Object.defineProperty(r,a,{value:l,enumerable:!0,configurable:!0,writable:!0}):r[a]=l,r}function _(r,a){return F(r)||M(r,a)||N(r,a)||L()}function L(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function N(r,a){if(r){if(typeof r=="string")return x(r,a);var l=Object.prototype.toString.call(r).slice(8,-1);if(l==="Object"&&r.constructor&&(l=r.constructor.name),l==="Map"||l==="Set")return Array.from(r);if(l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return x(r,a)}}function x(r,a){(a==null||a>r.length)&&(a=r.length);for(var l=0,n=new Array(a);l<a;l++)n[l]=r[l];return n}function M(r,a){var l=r==null?null:typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(l!=null){var n=[],e=!0,o=!1,p,d;try{for(l=l.call(r);!(e=(p=l.next()).done)&&(n.push(p.value),!(a&&n.length===a));e=!0);}catch(O){o=!0,d=O}finally{try{!e&&l.return!=null&&l.return()}finally{if(o)throw d}}return n}}function F(r){if(Array.isArray(r))return r}function i(r,a){if(r==null)return{};var l=t(r,a),n,e;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(r);for(e=0;e<o.length;e++)n=o[e],!(a.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(r,n)&&(l[n]=r[n])}return l}function t(r,a){if(r==null)return{};var l={},n=Object.keys(r),e,o;for(o=0;o<n.length;o++)e=n[o],!(a.indexOf(e)>=0)&&(l[e]=r[e]);return l}var u=function(a,l){var n=a.children,e=a.title,o=a.size,p=a.color,d=a.overrides,O=d===void 0?{}:d,I=i(a,v),w=(0,h.getOverrides)(O.Svg,m.Svg),W=_(w,2),E=W[0],B=W[1],U=E.__STYLETRON__?R(R({title:e,$color:p,$size:o},I),B):R(R({title:e,color:p,size:o},(0,b.default)(I)),(0,b.default)(B));return c.createElement(E,T({"data-baseweb":"icon",ref:l},U),e?c.createElement("title",null,e):null,n)},s=c.forwardRef(u);return j.default=s,j}var oe;function He(){if(oe)return q;oe=1;function g(t){"@babel/helpers - typeof";return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},g(t)}Object.defineProperty(q,"__esModule",{value:!0}),q.default=void 0;var c=f(K()),h=Y,m=ae(),b=y(je()),v=["title","size","color","overrides"];function y(t){return t&&t.__esModule?t:{default:t}}function S(t){if(typeof WeakMap!="function")return null;var u=new WeakMap,s=new WeakMap;return(S=function(a){return a?s:u})(t)}function f(t,u){if(t&&t.__esModule)return t;if(t===null||g(t)!=="object"&&typeof t!="function")return{default:t};var s=S(u);if(s&&s.has(t))return s.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if(l!=="default"&&Object.prototype.hasOwnProperty.call(t,l)){var n=a?Object.getOwnPropertyDescriptor(t,l):null;n&&(n.get||n.set)?Object.defineProperty(r,l,n):r[l]=t[l]}return r.default=t,s&&s.set(t,r),r}function T(){return T=Object.assign?Object.assign.bind():function(t){for(var u=1;u<arguments.length;u++){var s=arguments[u];for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&(t[r]=s[r])}return t},T.apply(this,arguments)}function P(t,u){if(t==null)return{};var s=R(t,u),r,a;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);for(a=0;a<l.length;a++)r=l[a],!(u.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(s[r]=t[r])}return s}function R(t,u){if(t==null)return{};var s={},r=Object.keys(t),a,l;for(l=0;l<r.length;l++)a=r[l],!(u.indexOf(a)>=0)&&(s[a]=t[a]);return s}function $(t,u){return M(t)||x(t,u)||L(t,u)||_()}function _(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3
3
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function L(t,u){if(t){if(typeof t=="string")return N(t,u);var s=Object.prototype.toString.call(t).slice(8,-1);if(s==="Object"&&t.constructor&&(s=t.constructor.name),s==="Map"||s==="Set")return Array.from(t);if(s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return N(t,u)}}function N(t,u){(u==null||u>t.length)&&(u=t.length);for(var s=0,r=new Array(u);s<u;s++)r[s]=t[s];return r}function x(t,u){var s=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(s!=null){var r=[],a=!0,l=!1,n,e;try{for(s=s.call(t);!(a=(n=s.next()).done)&&(r.push(n.value),!(u&&r.length===u));a=!0);}catch(o){l=!0,e=o}finally{try{!a&&s.return!=null&&s.return()}finally{if(l)throw e}}return r}}function M(t){if(Array.isArray(t))return t}function F(t,u){var s=(0,h.useStyletron)(),r=$(s,2),a=r[1],l=t.title,n=l===void 0?"Delete Alt":l,e=t.size,o=t.color,p=t.overrides,d=p===void 0?{}:p,O=P(t,v),I=(0,m.mergeOverride)({component:a.icons&&a.icons.DeleteAlt?a.icons.DeleteAlt:null},d&&d.Svg?(0,m.toObjectOverride)(d.Svg):{});return c.createElement(b.default,T({viewBox:"0 0 24 24",ref:u,title:n,size:e,color:o,overrides:{Svg:I}},O),c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 20C16.4183 20 20 16.4183 20 12C20 7.58173 16.4183 4 12 4C7.58173 4 4 7.58173 4 12C4 16.4183 7.58173 20 12 20ZM10.0303 8.96967C9.73743 8.67679 9.26257 8.67679 8.96967 8.96967C8.67676 9.26257 8.67676 9.73743 8.96967 10.0303L10.9393 12L8.96967 13.9697C8.67676 14.2626 8.67676 14.7374 8.96967 15.0303C9.26257 15.3232 9.73743 15.3232 10.0303 15.0303L12 13.0607L13.9697 15.0303C14.2626 15.3232 14.7374 15.3232 15.0303 15.0303C15.3232 14.7374 15.3232 14.2626 15.0303 13.9697L13.0607 12L15.0303 10.0303C15.3232 9.73743 15.3232 9.26257 15.0303 8.96967C14.7374 8.67679 14.2626 8.67679 13.9697 8.96967L12 10.9393L10.0303 8.96967Z"}))}var i=c.forwardRef(F);return q.default=i,q}var ie;function Ve(){if(ie)return C;ie=1,Object.defineProperty(C,"__esModule",{value:!0}),C.getRootStyles=C.getInputStyles=C.getInputContainerStyles=C.StyledMaskToggleButton=C.StyledClearIconContainer=C.StyledClearIcon=C.Root=C.InputEnhancer=C.InputContainer=C.Input=void 0;var g=Y,c=Fe(),h=m(He());function m(n){return n&&n.__esModule?n:{default:n}}function b(n,e){var o=Object.keys(n);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(n);e&&(p=p.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),o.push.apply(o,p)}return o}function v(n){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?b(Object(o),!0).forEach(function(p){y(n,p,o[p])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):b(Object(o)).forEach(function(p){Object.defineProperty(n,p,Object.getOwnPropertyDescriptor(o,p))})}return n}function y(n,e,o){return e in n?Object.defineProperty(n,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[e]=o,n}var S=(0,g.styled)("button",function(n){var e,o=n.$theme,p=n.$size,d=n.$isFocusVisible,O=(e={},y(e,c.SIZE.mini,o.sizing.scale400),y(e,c.SIZE.compact,o.sizing.scale400),y(e,c.SIZE.default,o.sizing.scale300),y(e,c.SIZE.large,o.sizing.scale200),e)[p];return{display:"flex",alignItems:"center",borderTopStyle:"none",borderBottomStyle:"none",borderLeftStyle:"none",borderRightStyle:"none",background:"none",paddingLeft:O,paddingRight:O,outline:d?"solid 3px ".concat(o.colors.accent):"none",color:o.colors.contentPrimary}});C.StyledMaskToggleButton=S,S.displayName="StyledMaskToggleButton",S.displayName="StyledMaskToggleButton";var f=(0,g.styled)("div",function(n){var e,o=n.$alignTop,p=o===void 0?!1:o,d=n.$size,O=n.$theme,I=(e={},y(e,c.SIZE.mini,O.sizing.scale200),y(e,c.SIZE.compact,O.sizing.scale200),y(e,c.SIZE.default,O.sizing.scale100),y(e,c.SIZE.large,O.sizing.scale0),e)[d];return{display:"flex",alignItems:p?"flex-start":"center",paddingLeft:I,paddingRight:I,paddingTop:p?O.sizing.scale500:"0px",color:O.colors.contentPrimary}});C.StyledClearIconContainer=f,f.displayName="StyledClearIconContainer",f.displayName="StyledClearIconContainer";var T=(0,g.styled)(h.default,function(n){var e=n.$theme,o=n.$isFocusVisible;return{cursor:"pointer",outline:o?"solid 3px ".concat(e.colors.accent):"none"}});C.StyledClearIcon=T,T.displayName="StyledClearIcon",T.displayName="StyledClearIcon";function P(n,e){var o;return(o={},y(o,c.SIZE.mini,{paddingTop:e.scale100,paddingBottom:e.scale100,paddingLeft:e.scale550,paddingRight:e.scale550}),y(o,c.SIZE.compact,{paddingTop:e.scale200,paddingBottom:e.scale200,paddingLeft:e.scale550,paddingRight:e.scale550}),y(o,c.SIZE.default,{paddingTop:e.scale400,paddingBottom:e.scale400,paddingLeft:e.scale550,paddingRight:e.scale550}),y(o,c.SIZE.large,{paddingTop:e.scale550,paddingBottom:e.scale550,paddingLeft:e.scale550,paddingRight:e.scale550}),o)[n]}function R(n,e,o,p,d){var O=n===c.ADJOINED.both||n===c.ADJOINED.left&&p!=="rtl"||n===c.ADJOINED.right&&p==="rtl"||d&&p==="rtl",I=n===c.ADJOINED.both||n===c.ADJOINED.right&&p!=="rtl"||n===c.ADJOINED.left&&p==="rtl"||d&&p!=="rtl";return{paddingLeft:O?o.scale550:"0px",paddingRight:I?o.scale550:"0px"}}function $(n,e){var o;return(o={},y(o,c.SIZE.mini,e.font100),y(o,c.SIZE.compact,e.font200),y(o,c.SIZE.default,e.font300),y(o,c.SIZE.large,e.font400),o)[n]}function _(n,e,o){var p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,d=arguments.length>4?arguments[4]:void 0;return n?{borderLeftColor:d.inputFillDisabled,borderRightColor:d.inputFillDisabled,borderTopColor:d.inputFillDisabled,borderBottomColor:d.inputFillDisabled,backgroundColor:d.inputFillDisabled}:e?{borderLeftColor:d.borderSelected,borderRightColor:d.borderSelected,borderTopColor:d.borderSelected,borderBottomColor:d.borderSelected,backgroundColor:d.inputFillActive}:o?{borderLeftColor:d.inputBorderError,borderRightColor:d.inputBorderError,borderTopColor:d.inputBorderError,borderBottomColor:d.inputBorderError,backgroundColor:d.inputFillError}:p?{borderLeftColor:d.inputBorderPositive,borderRightColor:d.inputBorderPositive,borderTopColor:d.inputBorderPositive,borderBottomColor:d.inputBorderPositive,backgroundColor:d.inputFillPositive}:{borderLeftColor:d.inputBorder,borderRightColor:d.inputBorder,borderTopColor:d.inputBorder,borderBottomColor:d.inputBorder,backgroundColor:d.inputFill}}function L(n,e){var o=e.inputBorderRadius;return n===c.SIZE.mini&&(o=e.inputBorderRadiusMini),{borderTopLeftRadius:o,borderBottomLeftRadius:o,borderTopRightRadius:o,borderBottomRightRadius:o}}var N=function(e){var o=e.$isFocused,p=e.$adjoined,d=e.$error,O=e.$disabled,I=e.$positive,w=e.$size,W=e.$theme,E=e.$theme,B=E.borders,U=E.colors,le=E.sizing,ue=E.typography,G=E.animation,se=e.$hasIconTrailing;return v(v(v(v({boxSizing:"border-box",display:"flex",overflow:"hidden",width:"100%",borderLeftWidth:"2px",borderRightWidth:"2px",borderTopWidth:"2px",borderBottomWidth:"2px",borderLeftStyle:"solid",borderRightStyle:"solid",borderTopStyle:"solid",borderBottomStyle:"solid",transitionProperty:"border",transitionDuration:G.timing200,transitionTimingFunction:G.easeOutCurve},L(w,B)),$(w,ue)),_(O,o,d,I,U)),R(p,w,le,W.direction,se))};C.getRootStyles=N;var x=(0,g.styled)("div",N);C.Root=x,x.displayName="Root",x.displayName="Root";function M(n,e){var o;return(o={},y(o,c.SIZE.mini,{paddingRight:e.scale400,paddingLeft:e.scale400}),y(o,c.SIZE.compact,{paddingRight:e.scale400,paddingLeft:e.scale400}),y(o,c.SIZE.default,{paddingRight:e.scale300,paddingLeft:e.scale300}),y(o,c.SIZE.large,{paddingRight:e.scale200,paddingLeft:e.scale200}),o)[n]}function F(n,e,o,p,d){return n?{color:d.inputEnhancerTextDisabled,backgroundColor:d.inputFillDisabled}:e?{color:d.contentPrimary,backgroundColor:d.inputFillActive}:o?{color:d.contentPrimary,backgroundColor:d.inputFillError}:p?{color:d.contentPrimary,backgroundColor:d.inputFillPositive}:{color:d.contentPrimary,backgroundColor:d.inputFill}}var i=(0,g.styled)("div",function(n){var e=n.$size,o=n.$disabled,p=n.$isFocused,d=n.$error,O=n.$positive,I=n.$theme,w=I.colors,W=I.sizing,E=I.typography,B=I.animation;return v(v(v({display:"flex",alignItems:"center",justifyContent:"center",transitionProperty:"color, background-color",transitionDuration:B.timing200,transitionTimingFunction:B.easeOutCurve},$(e,E)),M(e,W)),F(o,p,d,O,w))});C.InputEnhancer=i,i.displayName="InputEnhancer",i.displayName="InputEnhancer";function t(n,e,o,p,d){return n?{color:d.inputTextDisabled,backgroundColor:d.inputFillDisabled}:e?{color:d.contentPrimary,backgroundColor:d.inputFillActive}:o?{color:d.contentPrimary,backgroundColor:d.inputFillError}:p?{color:d.contentPrimary,backgroundColor:d.inputFillPositive}:{color:d.contentPrimary,backgroundColor:d.inputFill}}var u=function(e){var o=e.$isFocused,p=e.$error,d=e.$disabled,O=e.$positive,I=e.$size,w=e.$theme,W=w.colors,E=w.typography,B=w.animation;return v(v({display:"flex",width:"100%",transitionProperty:"background-color",transitionDuration:B.timing200,transitionTimingFunction:B.easeOutCurve},$(I,E)),t(d,o,p,O,W))};C.getInputContainerStyles=u;var s=(0,g.styled)("div",u);C.InputContainer=s,s.displayName="InputContainer",s.displayName="InputContainer";function r(n,e,o,p){return n?{color:p.inputTextDisabled,"-webkit-text-fill-color":p.inputTextDisabled,caretColor:p.contentPrimary,"::placeholder":{color:p.inputPlaceholderDisabled}}:{color:p.contentPrimary,caretColor:p.contentPrimary,"::placeholder":{color:p.inputPlaceholder}}}var a=function(e){var o=e.$disabled,p=e.$isFocused,d=e.$error,O=e.$size,I=e.$theme,w=I.colors,W=I.sizing,E=I.typography;return v(v(v({boxSizing:"border-box",backgroundColor:"transparent",borderLeftWidth:0,borderRightWidth:0,borderTopWidth:0,borderBottomWidth:0,borderLeftStyle:"none",borderRightStyle:"none",borderTopStyle:"none",borderBottomStyle:"none",outline:"none",width:"100%",minWidth:0,maxWidth:"100%",cursor:o?"not-allowed":"text",margin:"0",paddingTop:"0",paddingBottom:"0",paddingLeft:"0",paddingRight:"0"},$(O,E)),P(O,W)),r(o,p,d,w))};C.getInputStyles=a;var l=(0,g.styled)("input",a);return C.Input=l,l.displayName="Input",l.displayName="Input",C}var ke=Ve();function Ue({disabled:g,element:c,widgetMgr:h,fragmentId:m}){const[b,v]=Ae({getStateFromWidgetMgr:Je,getDefaultStateFromProto:Ke,getCurrStateFromProto:Ye,updateWidgetMgrState:Ge,element:c,widgetMgr:h,fragmentId:m}),y=k.useContext(Ie),S=J(c.default)&&!g,f=Pe(),T={Select:{props:{disabled:g,overrides:{ControlContainer:{style:({$isFocused:$})=>{const _=xe(f.colors,$);return{height:f.sizes.minElementHeight,borderLeftWidth:f.sizes.borderWidth,borderRightWidth:f.sizes.borderWidth,borderTopWidth:f.sizes.borderWidth,borderBottomWidth:f.sizes.borderWidth,borderTopColor:_,borderRightColor:_,borderBottomColor:_,borderLeftColor:_}}},IconsContainer:{style:()=>({paddingRight:f.spacing.sm})},ValueContainer:{style:()=>({lineHeight:f.lineHeights.inputWidget,paddingRight:f.spacing.sm,paddingLeft:f.spacing.md,paddingBottom:f.spacing.sm,paddingTop:f.spacing.sm})},SingleValue:{style:{fontWeight:f.fontWeights.normal},props:{"data-testid":"stTimeInputTimeDisplay"}},Dropdown:{style:()=>({paddingTop:f.spacing.none,paddingBottom:f.spacing.none,boxShadow:"none",maxHeight:f.sizes.maxDropdownHeight})},DropdownListItem:{component:We},Popover:{props:{ignoreBoundary:y,overrides:{Body:{style:()=>({marginTop:f.spacing.px})}}}},Placeholder:{style:()=>({color:f.colors.fadedText60})},SelectArrow:{component:De,props:{overrides:{Svg:{style:()=>({width:f.iconSizes.xl,height:f.iconSizes.xl})}}}}}}}},P=k.useCallback($=>{const _=$===null?null:Xe($);v({value:_,fromUi:!0})},[v]),R=k.useCallback(()=>{P(null)},[P]);return $e("div",{className:"stTimeInput","data-testid":"stTimeInput",children:[z(we,{label:c.label,disabled:g,labelVisibility:_e(c.labelVisibility?.value),children:c.help&&z(Te,{children:z(Ee,{content:c.help,placement:Re.TOP_RIGHT})})}),z(Ne,{format:"24",step:c.step?Number(c.step):900,value:J(b)?void 0:Qe(b),onChange:P,overrides:T,nullable:S,creatable:!0,"aria-label":c.label}),S&&!J(b)&&z(Be,{onClick:R,"data-testid":"stTimeInputClearButton",children:z(ke.StyledClearIcon,{overrides:{Svg:{style:{color:f.colors.grayTextColor,padding:f.spacing.threeXS,height:f.sizes.clearIconSize,width:f.sizes.clearIconSize,":hover":{fill:f.colors.bodyText}}}},$isFocusVisible:!1})})]})}function Je(g,c){return g.getStringValue(c)??null}function Ke(g){return g.default??null}function Ye(g){return g.value??null}function Ge(g,c,h,m){c.setStringValue(g,h.value,{fromUi:h.fromUi},m)}function Xe(g){const c=g.getHours().toString().padStart(2,"0"),h=g.getMinutes().toString().padStart(2,"0");return`${c}:${h}`}function Qe(g){if(g===null)return null;const[c,h]=g.split(":").map(Number),m=new Date;return m.setHours(c),m.setMinutes(h),m}const lt=k.memo(Ue);export{lt as default};
@@ -1,4 +1,4 @@
1
- import{x as c,a4 as l,r as i,j as e,a$ as p}from"./index.DMxc2XFp.js";import{P as d,R as f}from"./Particles.BfWfv0Aw.js";const g=""+new URL("../media/flake-0.DgWaVvm5.png",import.meta.url).href,u=""+new URL("../media/flake-1.B2r5AHMK.png",import.meta.url).href,x=""+new URL("../media/flake-2.BnWSExPC.png",import.meta.url).href,o=150,s=150,E=10,S=90,_=4e3,a=(t,n=0)=>Math.random()*(t-n)+n,w=()=>l(`from{transform:translateY(0)
1
+ import{x as c,a4 as l,r as i,j as e,a$ as p}from"./index.3bHSf9gi.js";import{P as d,R as f}from"./Particles.Cg5ey-rW.js";const g=""+new URL("../media/flake-0.DgWaVvm5.png",import.meta.url).href,u=""+new URL("../media/flake-1.B2r5AHMK.png",import.meta.url).href,x=""+new URL("../media/flake-2.BnWSExPC.png",import.meta.url).href,o=150,s=150,E=10,S=90,_=4e3,a=(t,n=0)=>Math.random()*(t-n)+n,w=()=>l(`from{transform:translateY(0)
2
2
  rotateX(`,a(360),`deg)
3
3
  rotateY(`,a(360),`deg)
4
4
  rotateZ(`,a(360),"deg);}to{transform:translateY(calc(100vh + ",o,`px))
@@ -1,2 +1,2 @@
1
- import{s as v,r as l,v as q,w,A as p}from"./index.DMxc2XFp.js";import{R as C,I as S,g as J,B as M}from"./base-input.o9tL8MDP.js";function _(e){"@babel/helpers - typeof";return _=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_(e)}var U=["Root","StartEnhancer","EndEnhancer"],Z=["startEnhancer","endEnhancer","overrides"];function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},f.apply(this,arguments)}function O(e,t){return V(e)||Q(e,t)||K(e,t)||G()}function G(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1
+ import{s as v,r as l,v as q,w,A as p}from"./index.3bHSf9gi.js";import{R as C,I as S,g as J,B as M}from"./base-input.DYzkAUR7.js";function _(e){"@babel/helpers - typeof";return _=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_(e)}var U=["Root","StartEnhancer","EndEnhancer"],Z=["startEnhancer","endEnhancer","overrides"];function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},f.apply(this,arguments)}function O(e,t){return V(e)||Q(e,t)||K(e,t)||G()}function G(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function K(e,t){if(e){if(typeof e=="string")return j(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return j(e,t)}}function j(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Q(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,a=!1,i,u;try{for(r=r.call(e);!(o=(i=r.next()).done)&&(n.push(i.value),!(t&&n.length===t));o=!0);}catch(b){a=!0,u=b}finally{try{!o&&r.return!=null&&r.return()}finally{if(a)throw u}}return n}}function V(e){if(Array.isArray(e))return e}function I(e,t){if(e==null)return{};var r=X(e,t),n,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function X(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function Y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ee(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function te(e,t,r){return t&&ee(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function re(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},m(e,t)}function ne(e){var t=ae();return function(){var n=h(e),o;if(t){var a=h(this).constructor;o=Reflect.construct(n,arguments,a)}else o=n.apply(this,arguments);return oe(this,o)}}function oe(e,t){if(t&&(_(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return y(e)}function y(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ae(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},h(e)}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ie=function(e){re(r,e);var t=ne(r);function r(){var n;Y(this,r);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=t.call.apply(t,[this].concat(a)),d(y(n),"state",{isFocused:n.props.autoFocus||!1}),d(y(n),"onFocus",function(u){n.setState({isFocused:!0}),n.props.onFocus(u)}),d(y(n),"onBlur",function(u){n.setState({isFocused:!1}),n.props.onBlur(u)}),n}return te(r,[{key:"render",value:function(){var o=this.props,a=o.startEnhancer,i=o.endEnhancer,u=o.overrides,b=u.Root,A=u.StartEnhancer,B=u.EndEnhancer,F=I(u,U),T=I(o,Z),x=v(b,C),g=O(x,2),$=g[0],N=g[1],D=v(A,S),E=O(D,2),W=E[0],z=E[1],H=v(B,S),P=O(H,2),L=P[0],k=P[1],c=J(this.props,this.state);return l.createElement($,f({"data-baseweb":"input"},c,N,{$adjoined:R(a,i),$hasIconTrailing:this.props.clearable||this.props.type=="password"}),s(a)&&l.createElement(W,f({},c,z,{$position:w.start}),typeof a=="function"?a(c):a),l.createElement(M,f({},T,{overrides:F,adjoined:R(a,i),onFocus:this.onFocus,onBlur:this.onBlur})),s(i)&&l.createElement(L,f({},c,k,{$position:w.end}),typeof i=="function"?i(c):i))}}]),r}(l.Component);d(ie,"defaultProps",{autoComplete:"on",autoFocus:!1,disabled:!1,name:"",onBlur:function(){},onFocus:function(){},overrides:{},required:!1,size:q.default,startEnhancer:null,endEnhancer:null,clearable:!1,type:"text",readOnly:!1});function R(e,t){return s(e)&&s(t)?p.both:s(e)?p.left:s(t)?p.right:p.none}function s(e){return!!(e||e===0)}export{ie as I};
@@ -1,4 +1,4 @@
1
- import{al as Ot,ag as Ct}from"./index.DMxc2XFp.js";var ut={exports:{}},St=ut.exports,yt;function wt(){return yt||(yt=1,function(gt,Mt){(function(ht,i){gt.exports=i(Ot())})(St,function(ht){return function(i){var r={};function e(s){if(r[s])return r[s].exports;var u=r[s]={i:s,l:!1,exports:{}};return i[s].call(u.exports,u,u.exports,e),u.l=!0,u.exports}return e.m=i,e.c=r,e.d=function(s,u,p){e.o(s,u)||Object.defineProperty(s,u,{enumerable:!0,get:p})},e.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},e.t=function(s,u){if(1&u&&(s=e(s)),8&u||4&u&&typeof s=="object"&&s&&s.__esModule)return s;var p=Object.create(null);if(e.r(p),Object.defineProperty(p,"default",{enumerable:!0,value:s}),2&u&&typeof s!="string")for(var f in s)e.d(p,f,(function(d){return s[d]}).bind(null,f));return p},e.n=function(s){var u=s&&s.__esModule?function(){return s.default}:function(){return s};return e.d(u,"a",u),u},e.o=function(s,u){return Object.prototype.hasOwnProperty.call(s,u)},e.p="",e(e.s=48)}([function(i,r){i.exports=ht},function(i,r){var e=i.exports={version:"2.6.12"};typeof __e=="number"&&(__e=e)},function(i,r,e){var s=e(26)("wks"),u=e(17),p=e(3).Symbol,f=typeof p=="function";(i.exports=function(d){return s[d]||(s[d]=f&&p[d]||(f?p:u)("Symbol."+d))}).store=s},function(i,r){var e=i.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=e)},function(i,r,e){i.exports=!e(8)(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},function(i,r){var e={}.hasOwnProperty;i.exports=function(s,u){return e.call(s,u)}},function(i,r,e){var s=e(7),u=e(16);i.exports=e(4)?function(p,f,d){return s.f(p,f,u(1,d))}:function(p,f,d){return p[f]=d,p}},function(i,r,e){var s=e(10),u=e(35),p=e(23),f=Object.defineProperty;r.f=e(4)?Object.defineProperty:function(d,b,E){if(s(d),b=p(b,!0),s(E),u)try{return f(d,b,E)}catch{}if("get"in E||"set"in E)throw TypeError("Accessors not supported!");return"value"in E&&(d[b]=E.value),d}},function(i,r){i.exports=function(e){try{return!!e()}catch{return!0}}},function(i,r,e){var s=e(40),u=e(22);i.exports=function(p){return s(u(p))}},function(i,r,e){var s=e(11);i.exports=function(u){if(!s(u))throw TypeError(u+" is not an object!");return u}},function(i,r){i.exports=function(e){return typeof e=="object"?e!==null:typeof e=="function"}},function(i,r){i.exports={}},function(i,r,e){var s=e(39),u=e(27);i.exports=Object.keys||function(p){return s(p,u)}},function(i,r){i.exports=!0},function(i,r,e){var s=e(3),u=e(1),p=e(53),f=e(6),d=e(5),b=function(E,_,P){var D,V,Q,L=E&b.F,Z=E&b.G,t=E&b.S,F=E&b.P,R=E&b.B,B=E&b.W,N=Z?u:u[_]||(u[_]={}),j=N.prototype,C=Z?s:t?s[_]:(s[_]||{}).prototype;for(D in Z&&(P=_),P)(V=!L&&C&&C[D]!==void 0)&&d(N,D)||(Q=V?C[D]:P[D],N[D]=Z&&typeof C[D]!="function"?P[D]:R&&V?p(Q,s):B&&C[D]==Q?function(M){var z=function(g,$,K){if(this instanceof M){switch(arguments.length){case 0:return new M;case 1:return new M(g);case 2:return new M(g,$)}return new M(g,$,K)}return M.apply(this,arguments)};return z.prototype=M.prototype,z}(Q):F&&typeof Q=="function"?p(Function.call,Q):Q,F&&((N.virtual||(N.virtual={}))[D]=Q,E&b.R&&j&&!j[D]&&f(j,D,Q)))};b.F=1,b.G=2,b.S=4,b.P=8,b.B=16,b.W=32,b.U=64,b.R=128,i.exports=b},function(i,r){i.exports=function(e,s){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:s}}},function(i,r){var e=0,s=Math.random();i.exports=function(u){return"Symbol(".concat(u===void 0?"":u,")_",(++e+s).toString(36))}},function(i,r,e){var s=e(22);i.exports=function(u){return Object(s(u))}},function(i,r){r.f={}.propertyIsEnumerable},function(i,r,e){var s=e(52)(!0);e(34)(String,"String",function(u){this._t=String(u),this._i=0},function(){var u,p=this._t,f=this._i;return f>=p.length?{value:void 0,done:!0}:(u=s(p,f),this._i+=u.length,{value:u,done:!1})})},function(i,r){var e=Math.ceil,s=Math.floor;i.exports=function(u){return isNaN(u=+u)?0:(u>0?s:e)(u)}},function(i,r){i.exports=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e}},function(i,r,e){var s=e(11);i.exports=function(u,p){if(!s(u))return u;var f,d;if(p&&typeof(f=u.toString)=="function"&&!s(d=f.call(u))||typeof(f=u.valueOf)=="function"&&!s(d=f.call(u))||!p&&typeof(f=u.toString)=="function"&&!s(d=f.call(u)))return d;throw TypeError("Can't convert object to primitive value")}},function(i,r){var e={}.toString;i.exports=function(s){return e.call(s).slice(8,-1)}},function(i,r,e){var s=e(26)("keys"),u=e(17);i.exports=function(p){return s[p]||(s[p]=u(p))}},function(i,r,e){var s=e(1),u=e(3),p=u["__core-js_shared__"]||(u["__core-js_shared__"]={});(i.exports=function(f,d){return p[f]||(p[f]=d!==void 0?d:{})})("versions",[]).push({version:s.version,mode:e(14)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(i,r){i.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(i,r,e){var s=e(7).f,u=e(5),p=e(2)("toStringTag");i.exports=function(f,d,b){f&&!u(f=b?f:f.prototype,p)&&s(f,p,{configurable:!0,value:d})}},function(i,r,e){e(62);for(var s=e(3),u=e(6),p=e(12),f=e(2)("toStringTag"),d="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),b=0;b<d.length;b++){var E=d[b],_=s[E],P=_&&_.prototype;P&&!P[f]&&u(P,f,E),p[E]=p.Array}},function(i,r,e){r.f=e(2)},function(i,r,e){var s=e(3),u=e(1),p=e(14),f=e(30),d=e(7).f;i.exports=function(b){var E=u.Symbol||(u.Symbol=p?{}:s.Symbol||{});b.charAt(0)=="_"||b in E||d(E,b,{value:f.f(b)})}},function(i,r){r.f=Object.getOwnPropertySymbols},function(i,r){i.exports=function(e,s,u){return Math.min(Math.max(e,s),u)}},function(i,r,e){var s=e(14),u=e(15),p=e(37),f=e(6),d=e(12),b=e(55),E=e(28),_=e(61),P=e(2)("iterator"),D=!([].keys&&"next"in[].keys()),V=function(){return this};i.exports=function(Q,L,Z,t,F,R,B){b(Z,L,t);var N,j,C,M=function(W){if(!D&&W in K)return K[W];switch(W){case"keys":case"values":return function(){return new Z(this,W)}}return function(){return new Z(this,W)}},z=L+" Iterator",g=F=="values",$=!1,K=Q.prototype,O=K[P]||K["@@iterator"]||F&&K[F],U=O||M(F),le=F?g?M("entries"):U:void 0,ne=L=="Array"&&K.entries||O;if(ne&&(C=_(ne.call(new Q)))!==Object.prototype&&C.next&&(E(C,z,!0),s||typeof C[P]=="function"||f(C,P,V)),g&&O&&O.name!=="values"&&($=!0,U=function(){return O.call(this)}),s&&!B||!D&&!$&&K[P]||f(K,P,U),d[L]=U,d[z]=V,F)if(N={values:g?U:M("values"),keys:R?U:M("keys"),entries:le},B)for(j in N)j in K||p(K,j,N[j]);else u(u.P+u.F*(D||$),L,N);return N}},function(i,r,e){i.exports=!e(4)&&!e(8)(function(){return Object.defineProperty(e(36)("div"),"a",{get:function(){return 7}}).a!=7})},function(i,r,e){var s=e(11),u=e(3).document,p=s(u)&&s(u.createElement);i.exports=function(f){return p?u.createElement(f):{}}},function(i,r,e){i.exports=e(6)},function(i,r,e){var s=e(10),u=e(56),p=e(27),f=e(25)("IE_PROTO"),d=function(){},b=function(){var E,_=e(36)("iframe"),P=p.length;for(_.style.display="none",e(60).appendChild(_),_.src="javascript:",(E=_.contentWindow.document).open(),E.write("<script>document.F=Object<\/script>"),E.close(),b=E.F;P--;)delete b.prototype[p[P]];return b()};i.exports=Object.create||function(E,_){var P;return E!==null?(d.prototype=s(E),P=new d,d.prototype=null,P[f]=E):P=b(),_===void 0?P:u(P,_)}},function(i,r,e){var s=e(5),u=e(9),p=e(57)(!1),f=e(25)("IE_PROTO");i.exports=function(d,b){var E,_=u(d),P=0,D=[];for(E in _)E!=f&&s(_,E)&&D.push(E);for(;b.length>P;)s(_,E=b[P++])&&(~p(D,E)||D.push(E));return D}},function(i,r,e){var s=e(24);i.exports=Object("z").propertyIsEnumerable(0)?Object:function(u){return s(u)=="String"?u.split(""):Object(u)}},function(i,r,e){var s=e(39),u=e(27).concat("length","prototype");r.f=Object.getOwnPropertyNames||function(p){return s(p,u)}},function(i,r,e){var s=e(24),u=e(2)("toStringTag"),p=s(function(){return arguments}())=="Arguments";i.exports=function(f){var d,b,E;return f===void 0?"Undefined":f===null?"Null":typeof(b=function(_,P){try{return _[P]}catch{}}(d=Object(f),u))=="string"?b:p?s(d):(E=s(d))=="Object"&&typeof d.callee=="function"?"Arguments":E}},function(i,r){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch{typeof window=="object"&&(e=window)}i.exports=e},function(i,r){var e=/-?\d+(\.\d+)?%?/g;i.exports=function(s){return s.match(e)}},function(i,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.getBase16Theme=r.createStyling=r.invertTheme=void 0;var s=V(e(49)),u=V(e(76)),p=V(e(81)),f=V(e(89)),d=V(e(93)),b=function(j){if(j&&j.__esModule)return j;var C={};if(j!=null)for(var M in j)Object.prototype.hasOwnProperty.call(j,M)&&(C[M]=j[M]);return C.default=j,C}(e(94)),E=V(e(132)),_=V(e(133)),P=V(e(138)),D=e(139);function V(j){return j&&j.__esModule?j:{default:j}}var Q=b.default,L=(0,f.default)(Q),Z=(0,P.default)(_.default,D.rgb2yuv,function(j){var C,M=(0,p.default)(j,3),z=M[0],g=M[1],$=M[2];return[(C=z,C<.25?1:C<.5?.9-C:1.1-C),g,$]},D.yuv2rgb,E.default),t=function(j){return function(C){return{className:[C.className,j.className].filter(Boolean).join(" "),style:(0,u.default)({},C.style||{},j.style||{})}}},F=function(j,C){var M=(0,f.default)(C);for(var z in j)M.indexOf(z)===-1&&M.push(z);return M.reduce(function(g,$){return g[$]=function(K,O){if(K===void 0)return O;if(O===void 0)return K;var U=K===void 0?"undefined":(0,s.default)(K),le=O===void 0?"undefined":(0,s.default)(O);switch(U){case"string":switch(le){case"string":return[O,K].filter(Boolean).join(" ");case"object":return t({className:K,style:O});case"function":return function(ne){for(var W=arguments.length,re=Array(W>1?W-1:0),G=1;G<W;G++)re[G-1]=arguments[G];return t({className:K})(O.apply(void 0,[ne].concat(re)))}}case"object":switch(le){case"string":return t({className:O,style:K});case"object":return(0,u.default)({},O,K);case"function":return function(ne){for(var W=arguments.length,re=Array(W>1?W-1:0),G=1;G<W;G++)re[G-1]=arguments[G];return t({style:K})(O.apply(void 0,[ne].concat(re)))}}case"function":switch(le){case"string":return function(ne){for(var W=arguments.length,re=Array(W>1?W-1:0),G=1;G<W;G++)re[G-1]=arguments[G];return K.apply(void 0,[t(ne)({className:O})].concat(re))};case"object":return function(ne){for(var W=arguments.length,re=Array(W>1?W-1:0),G=1;G<W;G++)re[G-1]=arguments[G];return K.apply(void 0,[t(ne)({style:O})].concat(re))};case"function":return function(ne){for(var W=arguments.length,re=Array(W>1?W-1:0),G=1;G<W;G++)re[G-1]=arguments[G];return K.apply(void 0,[O.apply(void 0,[ne].concat(re))].concat(re))}}}}(j[$],C[$]),g},{})},R=function(j,C){for(var M=arguments.length,z=Array(M>2?M-2:0),g=2;g<M;g++)z[g-2]=arguments[g];if(C===null)return j;Array.isArray(C)||(C=[C]);var $=C.map(function(O){return j[O]}).filter(Boolean),K=$.reduce(function(O,U){return typeof U=="string"?O.className=[O.className,U].filter(Boolean).join(" "):(U===void 0?"undefined":(0,s.default)(U))==="object"?O.style=(0,u.default)({},O.style,U):typeof U=="function"&&(O=(0,u.default)({},O,U.apply(void 0,[O].concat(z)))),O},{className:"",style:{}});return K.className||delete K.className,(0,f.default)(K.style).length===0&&delete K.style,K},B=r.invertTheme=function(j){return(0,f.default)(j).reduce(function(C,M){return C[M]=/^base/.test(M)?Z(j[M]):M==="scheme"?j[M]+":inverted":j[M],C},{})},N=(r.createStyling=(0,d.default)(function(j){for(var C=arguments.length,M=Array(C>3?C-3:0),z=3;z<C;z++)M[z-3]=arguments[z];var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},K=g.defaultBase16,O=K===void 0?Q:K,U=g.base16Themes,le=U===void 0?null:U,ne=N($,le);ne&&($=(0,u.default)({},ne,$));var W=L.reduce(function(pe,Oe){return pe[Oe]=$[Oe]||O[Oe],pe},{}),re=(0,f.default)($).reduce(function(pe,Oe){return L.indexOf(Oe)===-1&&(pe[Oe]=$[Oe]),pe},{}),G=j(W),ue=F(re,G);return(0,d.default)(R,2).apply(void 0,[ue].concat(M))},3),r.getBase16Theme=function(j,C){if(j&&j.extend&&(j=j.extend),typeof j=="string"){var M=j.split(":"),z=(0,p.default)(M,2),g=z[0],$=z[1];j=(C||{})[g]||b[g],$==="inverted"&&(j=B(j))}return j&&j.hasOwnProperty("base00")?j:void 0})},function(i,r,e){var s,u=typeof Reflect=="object"?Reflect:null,p=u&&typeof u.apply=="function"?u.apply:function(t,F,R){return Function.prototype.apply.call(t,F,R)};s=u&&typeof u.ownKeys=="function"?u.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var f=Number.isNaN||function(t){return t!=t};function d(){d.init.call(this)}i.exports=d,i.exports.once=function(t,F){return new Promise(function(R,B){function N(){j!==void 0&&t.removeListener("error",j),R([].slice.call(arguments))}var j;F!=="error"&&(j=function(C){t.removeListener(F,N),B(C)},t.once("error",j)),t.once(F,N)})},d.EventEmitter=d,d.prototype._events=void 0,d.prototype._eventsCount=0,d.prototype._maxListeners=void 0;var b=10;function E(t){if(typeof t!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function _(t){return t._maxListeners===void 0?d.defaultMaxListeners:t._maxListeners}function P(t,F,R,B){var N,j,C,M;if(E(R),(j=t._events)===void 0?(j=t._events=Object.create(null),t._eventsCount=0):(j.newListener!==void 0&&(t.emit("newListener",F,R.listener?R.listener:R),j=t._events),C=j[F]),C===void 0)C=j[F]=R,++t._eventsCount;else if(typeof C=="function"?C=j[F]=B?[R,C]:[C,R]:B?C.unshift(R):C.push(R),(N=_(t))>0&&C.length>N&&!C.warned){C.warned=!0;var z=new Error("Possible EventEmitter memory leak detected. "+C.length+" "+String(F)+" listeners added. Use emitter.setMaxListeners() to increase limit");z.name="MaxListenersExceededWarning",z.emitter=t,z.type=F,z.count=C.length,M=z,console&&console.warn&&console.warn(M)}return t}function D(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function V(t,F,R){var B={fired:!1,wrapFn:void 0,target:t,type:F,listener:R},N=D.bind(B);return N.listener=R,B.wrapFn=N,N}function Q(t,F,R){var B=t._events;if(B===void 0)return[];var N=B[F];return N===void 0?[]:typeof N=="function"?R?[N.listener||N]:[N]:R?function(j){for(var C=new Array(j.length),M=0;M<C.length;++M)C[M]=j[M].listener||j[M];return C}(N):Z(N,N.length)}function L(t){var F=this._events;if(F!==void 0){var R=F[t];if(typeof R=="function")return 1;if(R!==void 0)return R.length}return 0}function Z(t,F){for(var R=new Array(F),B=0;B<F;++B)R[B]=t[B];return R}Object.defineProperty(d,"defaultMaxListeners",{enumerable:!0,get:function(){return b},set:function(t){if(typeof t!="number"||t<0||f(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");b=t}}),d.init=function(){this._events!==void 0&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},d.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||f(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},d.prototype.getMaxListeners=function(){return _(this)},d.prototype.emit=function(t){for(var F=[],R=1;R<arguments.length;R++)F.push(arguments[R]);var B=t==="error",N=this._events;if(N!==void 0)B=B&&N.error===void 0;else if(!B)return!1;if(B){var j;if(F.length>0&&(j=F[0]),j instanceof Error)throw j;var C=new Error("Unhandled error."+(j?" ("+j.message+")":""));throw C.context=j,C}var M=N[t];if(M===void 0)return!1;if(typeof M=="function")p(M,this,F);else{var z=M.length,g=Z(M,z);for(R=0;R<z;++R)p(g[R],this,F)}return!0},d.prototype.addListener=function(t,F){return P(this,t,F,!1)},d.prototype.on=d.prototype.addListener,d.prototype.prependListener=function(t,F){return P(this,t,F,!0)},d.prototype.once=function(t,F){return E(F),this.on(t,V(this,t,F)),this},d.prototype.prependOnceListener=function(t,F){return E(F),this.prependListener(t,V(this,t,F)),this},d.prototype.removeListener=function(t,F){var R,B,N,j,C;if(E(F),(B=this._events)===void 0)return this;if((R=B[t])===void 0)return this;if(R===F||R.listener===F)--this._eventsCount==0?this._events=Object.create(null):(delete B[t],B.removeListener&&this.emit("removeListener",t,R.listener||F));else if(typeof R!="function"){for(N=-1,j=R.length-1;j>=0;j--)if(R[j]===F||R[j].listener===F){C=R[j].listener,N=j;break}if(N<0)return this;N===0?R.shift():function(M,z){for(;z+1<M.length;z++)M[z]=M[z+1];M.pop()}(R,N),R.length===1&&(B[t]=R[0]),B.removeListener!==void 0&&this.emit("removeListener",t,C||F)}return this},d.prototype.off=d.prototype.removeListener,d.prototype.removeAllListeners=function(t){var F,R,B;if((R=this._events)===void 0)return this;if(R.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):R[t]!==void 0&&(--this._eventsCount==0?this._events=Object.create(null):delete R[t]),this;if(arguments.length===0){var N,j=Object.keys(R);for(B=0;B<j.length;++B)(N=j[B])!=="removeListener"&&this.removeAllListeners(N);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(typeof(F=R[t])=="function")this.removeListener(t,F);else if(F!==void 0)for(B=F.length-1;B>=0;B--)this.removeListener(t,F[B]);return this},d.prototype.listeners=function(t){return Q(this,t,!0)},d.prototype.rawListeners=function(t){return Q(this,t,!1)},d.listenerCount=function(t,F){return typeof t.listenerCount=="function"?t.listenerCount(F):L.call(t,F)},d.prototype.listenerCount=L,d.prototype.eventNames=function(){return this._eventsCount>0?s(this._events):[]}},function(i,r,e){i.exports.Dispatcher=e(140)},function(i,r,e){i.exports=e(142)},function(i,r,e){r.__esModule=!0;var s=f(e(50)),u=f(e(65)),p=typeof u.default=="function"&&typeof s.default=="symbol"?function(d){return typeof d}:function(d){return d&&typeof u.default=="function"&&d.constructor===u.default&&d!==u.default.prototype?"symbol":typeof d};function f(d){return d&&d.__esModule?d:{default:d}}r.default=typeof u.default=="function"&&p(s.default)==="symbol"?function(d){return d===void 0?"undefined":p(d)}:function(d){return d&&typeof u.default=="function"&&d.constructor===u.default&&d!==u.default.prototype?"symbol":d===void 0?"undefined":p(d)}},function(i,r,e){i.exports={default:e(51),__esModule:!0}},function(i,r,e){e(20),e(29),i.exports=e(30).f("iterator")},function(i,r,e){var s=e(21),u=e(22);i.exports=function(p){return function(f,d){var b,E,_=String(u(f)),P=s(d),D=_.length;return P<0||P>=D?p?"":void 0:(b=_.charCodeAt(P))<55296||b>56319||P+1===D||(E=_.charCodeAt(P+1))<56320||E>57343?p?_.charAt(P):b:p?_.slice(P,P+2):E-56320+(b-55296<<10)+65536}}},function(i,r,e){var s=e(54);i.exports=function(u,p,f){if(s(u),p===void 0)return u;switch(f){case 1:return function(d){return u.call(p,d)};case 2:return function(d,b){return u.call(p,d,b)};case 3:return function(d,b,E){return u.call(p,d,b,E)}}return function(){return u.apply(p,arguments)}}},function(i,r){i.exports=function(e){if(typeof e!="function")throw TypeError(e+" is not a function!");return e}},function(i,r,e){var s=e(38),u=e(16),p=e(28),f={};e(6)(f,e(2)("iterator"),function(){return this}),i.exports=function(d,b,E){d.prototype=s(f,{next:u(1,E)}),p(d,b+" Iterator")}},function(i,r,e){var s=e(7),u=e(10),p=e(13);i.exports=e(4)?Object.defineProperties:function(f,d){u(f);for(var b,E=p(d),_=E.length,P=0;_>P;)s.f(f,b=E[P++],d[b]);return f}},function(i,r,e){var s=e(9),u=e(58),p=e(59);i.exports=function(f){return function(d,b,E){var _,P=s(d),D=u(P.length),V=p(E,D);if(f&&b!=b){for(;D>V;)if((_=P[V++])!=_)return!0}else for(;D>V;V++)if((f||V in P)&&P[V]===b)return f||V||0;return!f&&-1}}},function(i,r,e){var s=e(21),u=Math.min;i.exports=function(p){return p>0?u(s(p),9007199254740991):0}},function(i,r,e){var s=e(21),u=Math.max,p=Math.min;i.exports=function(f,d){return(f=s(f))<0?u(f+d,0):p(f,d)}},function(i,r,e){var s=e(3).document;i.exports=s&&s.documentElement},function(i,r,e){var s=e(5),u=e(18),p=e(25)("IE_PROTO"),f=Object.prototype;i.exports=Object.getPrototypeOf||function(d){return d=u(d),s(d,p)?d[p]:typeof d.constructor=="function"&&d instanceof d.constructor?d.constructor.prototype:d instanceof Object?f:null}},function(i,r,e){var s=e(63),u=e(64),p=e(12),f=e(9);i.exports=e(34)(Array,"Array",function(d,b){this._t=f(d),this._i=0,this._k=b},function(){var d=this._t,b=this._k,E=this._i++;return!d||E>=d.length?(this._t=void 0,u(1)):u(0,b=="keys"?E:b=="values"?d[E]:[E,d[E]])},"values"),p.Arguments=p.Array,s("keys"),s("values"),s("entries")},function(i,r){i.exports=function(){}},function(i,r){i.exports=function(e,s){return{value:s,done:!!e}}},function(i,r,e){i.exports={default:e(66),__esModule:!0}},function(i,r,e){e(67),e(73),e(74),e(75),i.exports=e(1).Symbol},function(i,r,e){var s=e(3),u=e(5),p=e(4),f=e(15),d=e(37),b=e(68).KEY,E=e(8),_=e(26),P=e(28),D=e(17),V=e(2),Q=e(30),L=e(31),Z=e(69),t=e(70),F=e(10),R=e(11),B=e(18),N=e(9),j=e(23),C=e(16),M=e(38),z=e(71),g=e(72),$=e(32),K=e(7),O=e(13),U=g.f,le=K.f,ne=z.f,W=s.Symbol,re=s.JSON,G=re&&re.stringify,ue=V("_hidden"),pe=V("toPrimitive"),Oe={}.propertyIsEnumerable,me=_("symbol-registry"),Ee=_("symbols"),ce=_("op-symbols"),de=Object.prototype,we=typeof W=="function"&&!!$.f,Ne=s.QObject,Ke=!Ne||!Ne.prototype||!Ne.prototype.findChild,We=p&&E(function(){return M(le({},"a",{get:function(){return le(this,"a",{value:7}).a}})).a!=7})?function(y,w,I){var T=U(de,w);T&&delete de[w],le(y,w,I),T&&y!==de&&le(de,w,T)}:le,He=function(y){var w=Ee[y]=M(W.prototype);return w._k=y,w},Ue=we&&typeof W.iterator=="symbol"?function(y){return typeof y=="symbol"}:function(y){return y instanceof W},ze=function(y,w,I){return y===de&&ze(ce,w,I),F(y),w=j(w,!0),F(I),u(Ee,w)?(I.enumerable?(u(y,ue)&&y[ue][w]&&(y[ue][w]=!1),I=M(I,{enumerable:C(0,!1)})):(u(y,ue)||le(y,ue,C(1,{})),y[ue][w]=!0),We(y,w,I)):le(y,w,I)},Je=function(y,w){F(y);for(var I,T=Z(w=N(w)),X=0,J=T.length;J>X;)ze(y,I=T[X++],w[I]);return y},Ye=function(y){var w=Oe.call(this,y=j(y,!0));return!(this===de&&u(Ee,y)&&!u(ce,y))&&(!(w||!u(this,y)||!u(Ee,y)||u(this,ue)&&this[ue][y])||w)},Ge=function(y,w){if(y=N(y),w=j(w,!0),y!==de||!u(Ee,w)||u(ce,w)){var I=U(y,w);return!I||!u(Ee,w)||u(y,ue)&&y[ue][w]||(I.enumerable=!0),I}},Qe=function(y){for(var w,I=ne(N(y)),T=[],X=0;I.length>X;)u(Ee,w=I[X++])||w==ue||w==b||T.push(w);return T},Te=function(y){for(var w,I=y===de,T=ne(I?ce:N(y)),X=[],J=0;T.length>J;)!u(Ee,w=T[J++])||I&&!u(de,w)||X.push(Ee[w]);return X};we||(d((W=function(){if(this instanceof W)throw TypeError("Symbol is not a constructor!");var y=D(arguments.length>0?arguments[0]:void 0),w=function(I){this===de&&w.call(ce,I),u(this,ue)&&u(this[ue],y)&&(this[ue][y]=!1),We(this,y,C(1,I))};return p&&Ke&&We(de,y,{configurable:!0,set:w}),He(y)}).prototype,"toString",function(){return this._k}),g.f=Ge,K.f=ze,e(41).f=z.f=Qe,e(19).f=Ye,$.f=Te,p&&!e(14)&&d(de,"propertyIsEnumerable",Ye,!0),Q.f=function(y){return He(V(y))}),f(f.G+f.W+f.F*!we,{Symbol:W});for(var Fe="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),je=0;Fe.length>je;)V(Fe[je++]);for(var $e=O(V.store),S=0;$e.length>S;)L($e[S++]);f(f.S+f.F*!we,"Symbol",{for:function(y){return u(me,y+="")?me[y]:me[y]=W(y)},keyFor:function(y){if(!Ue(y))throw TypeError(y+" is not a symbol!");for(var w in me)if(me[w]===y)return w},useSetter:function(){Ke=!0},useSimple:function(){Ke=!1}}),f(f.S+f.F*!we,"Object",{create:function(y,w){return w===void 0?M(y):Je(M(y),w)},defineProperty:ze,defineProperties:Je,getOwnPropertyDescriptor:Ge,getOwnPropertyNames:Qe,getOwnPropertySymbols:Te});var m=E(function(){$.f(1)});f(f.S+f.F*m,"Object",{getOwnPropertySymbols:function(y){return $.f(B(y))}}),re&&f(f.S+f.F*(!we||E(function(){var y=W();return G([y])!="[null]"||G({a:y})!="{}"||G(Object(y))!="{}"})),"JSON",{stringify:function(y){for(var w,I,T=[y],X=1;arguments.length>X;)T.push(arguments[X++]);if(I=w=T[1],(R(w)||y!==void 0)&&!Ue(y))return t(w)||(w=function(J,oe){if(typeof I=="function"&&(oe=I.call(this,J,oe)),!Ue(oe))return oe}),T[1]=w,G.apply(re,T)}}),W.prototype[pe]||e(6)(W.prototype,pe,W.prototype.valueOf),P(W,"Symbol"),P(Math,"Math",!0),P(s.JSON,"JSON",!0)},function(i,r,e){var s=e(17)("meta"),u=e(11),p=e(5),f=e(7).f,d=0,b=Object.isExtensible||function(){return!0},E=!e(8)(function(){return b(Object.preventExtensions({}))}),_=function(D){f(D,s,{value:{i:"O"+ ++d,w:{}}})},P=i.exports={KEY:s,NEED:!1,fastKey:function(D,V){if(!u(D))return typeof D=="symbol"?D:(typeof D=="string"?"S":"P")+D;if(!p(D,s)){if(!b(D))return"F";if(!V)return"E";_(D)}return D[s].i},getWeak:function(D,V){if(!p(D,s)){if(!b(D))return!0;if(!V)return!1;_(D)}return D[s].w},onFreeze:function(D){return E&&P.NEED&&b(D)&&!p(D,s)&&_(D),D}}},function(i,r,e){var s=e(13),u=e(32),p=e(19);i.exports=function(f){var d=s(f),b=u.f;if(b)for(var E,_=b(f),P=p.f,D=0;_.length>D;)P.call(f,E=_[D++])&&d.push(E);return d}},function(i,r,e){var s=e(24);i.exports=Array.isArray||function(u){return s(u)=="Array"}},function(i,r,e){var s=e(9),u=e(41).f,p={}.toString,f=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];i.exports.f=function(d){return f&&p.call(d)=="[object Window]"?function(b){try{return u(b)}catch{return f.slice()}}(d):u(s(d))}},function(i,r,e){var s=e(19),u=e(16),p=e(9),f=e(23),d=e(5),b=e(35),E=Object.getOwnPropertyDescriptor;r.f=e(4)?E:function(_,P){if(_=p(_),P=f(P,!0),b)try{return E(_,P)}catch{}if(d(_,P))return u(!s.f.call(_,P),_[P])}},function(i,r){},function(i,r,e){e(31)("asyncIterator")},function(i,r,e){e(31)("observable")},function(i,r,e){r.__esModule=!0;var s,u=e(77),p=(s=u)&&s.__esModule?s:{default:s};r.default=p.default||function(f){for(var d=1;d<arguments.length;d++){var b=arguments[d];for(var E in b)Object.prototype.hasOwnProperty.call(b,E)&&(f[E]=b[E])}return f}},function(i,r,e){i.exports={default:e(78),__esModule:!0}},function(i,r,e){e(79),i.exports=e(1).Object.assign},function(i,r,e){var s=e(15);s(s.S+s.F,"Object",{assign:e(80)})},function(i,r,e){var s=e(4),u=e(13),p=e(32),f=e(19),d=e(18),b=e(40),E=Object.assign;i.exports=!E||e(8)(function(){var _={},P={},D=Symbol(),V="abcdefghijklmnopqrst";return _[D]=7,V.split("").forEach(function(Q){P[Q]=Q}),E({},_)[D]!=7||Object.keys(E({},P)).join("")!=V})?function(_,P){for(var D=d(_),V=arguments.length,Q=1,L=p.f,Z=f.f;V>Q;)for(var t,F=b(arguments[Q++]),R=L?u(F).concat(L(F)):u(F),B=R.length,N=0;B>N;)t=R[N++],s&&!Z.call(F,t)||(D[t]=F[t]);return D}:E},function(i,r,e){r.__esModule=!0;var s=p(e(82)),u=p(e(85));function p(f){return f&&f.__esModule?f:{default:f}}r.default=function(f,d){if(Array.isArray(f))return f;if((0,s.default)(Object(f)))return function(b,E){var _=[],P=!0,D=!1,V=void 0;try{for(var Q,L=(0,u.default)(b);!(P=(Q=L.next()).done)&&(_.push(Q.value),!E||_.length!==E);P=!0);}catch(Z){D=!0,V=Z}finally{try{!P&&L.return&&L.return()}finally{if(D)throw V}}return _}(f,d);throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(i,r,e){i.exports={default:e(83),__esModule:!0}},function(i,r,e){e(29),e(20),i.exports=e(84)},function(i,r,e){var s=e(42),u=e(2)("iterator"),p=e(12);i.exports=e(1).isIterable=function(f){var d=Object(f);return d[u]!==void 0||"@@iterator"in d||p.hasOwnProperty(s(d))}},function(i,r,e){i.exports={default:e(86),__esModule:!0}},function(i,r,e){e(29),e(20),i.exports=e(87)},function(i,r,e){var s=e(10),u=e(88);i.exports=e(1).getIterator=function(p){var f=u(p);if(typeof f!="function")throw TypeError(p+" is not iterable!");return s(f.call(p))}},function(i,r,e){var s=e(42),u=e(2)("iterator"),p=e(12);i.exports=e(1).getIteratorMethod=function(f){if(f!=null)return f[u]||f["@@iterator"]||p[s(f)]}},function(i,r,e){i.exports={default:e(90),__esModule:!0}},function(i,r,e){e(91),i.exports=e(1).Object.keys},function(i,r,e){var s=e(18),u=e(13);e(92)("keys",function(){return function(p){return u(s(p))}})},function(i,r,e){var s=e(15),u=e(1),p=e(8);i.exports=function(f,d){var b=(u.Object||{})[f]||Object[f],E={};E[f]=d(b),s(s.S+s.F*p(function(){b(1)}),"Object",E)}},function(i,r,e){(function(s){var u=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],p=/^\s+|\s+$/g,f=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,d=/\{\n\/\* \[wrapped with (.+)\] \*/,b=/,? & /,E=/^[-+]0x[0-9a-f]+$/i,_=/^0b[01]+$/i,P=/^\[object .+?Constructor\]$/,D=/^0o[0-7]+$/i,V=/^(?:0|[1-9]\d*)$/,Q=parseInt,L=typeof s=="object"&&s&&s.Object===Object&&s,Z=typeof self=="object"&&self&&self.Object===Object&&self,t=L||Z||Function("return this")();function F(S,m,y){switch(y.length){case 0:return S.call(m);case 1:return S.call(m,y[0]);case 2:return S.call(m,y[0],y[1]);case 3:return S.call(m,y[0],y[1],y[2])}return S.apply(m,y)}function R(S,m){return!!(S&&S.length)&&function(y,w,I){if(w!=w)return function(J,oe,be,he){for(var xe=J.length,fe=be+-1;++fe<xe;)if(oe(J[fe],fe,J))return fe;return-1}(y,B,I);for(var T=I-1,X=y.length;++T<X;)if(y[T]===w)return T;return-1}(S,m,0)>-1}function B(S){return S!=S}function N(S,m){for(var y=S.length,w=0;y--;)S[y]===m&&w++;return w}function j(S,m){for(var y=-1,w=S.length,I=0,T=[];++y<w;){var X=S[y];X!==m&&X!=="__lodash_placeholder__"||(S[y]="__lodash_placeholder__",T[I++]=y)}return T}var C,M,z,g=Function.prototype,$=Object.prototype,K=t["__core-js_shared__"],O=(C=/[^.]+$/.exec(K&&K.keys&&K.keys.IE_PROTO||""))?"Symbol(src)_1."+C:"",U=g.toString,le=$.hasOwnProperty,ne=$.toString,W=RegExp("^"+U.call(le).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),re=Object.create,G=Math.max,ue=Math.min,pe=(M=He(Object,"defineProperty"),(z=He.name)&&z.length>2?M:void 0);function Oe(S){return Fe(S)?re(S):{}}function me(S){return!(!Fe(S)||function(m){return!!O&&O in m}(S))&&(function(m){var y=Fe(m)?ne.call(m):"";return y=="[object Function]"||y=="[object GeneratorFunction]"}(S)||function(m){var y=!1;if(m!=null&&typeof m.toString!="function")try{y=!!(m+"")}catch{}return y}(S)?W:P).test(function(m){if(m!=null){try{return U.call(m)}catch{}try{return m+""}catch{}}return""}(S))}function Ee(S,m,y,w){for(var I=-1,T=S.length,X=y.length,J=-1,oe=m.length,be=G(T-X,0),he=Array(oe+be),xe=!w;++J<oe;)he[J]=m[J];for(;++I<X;)(xe||I<T)&&(he[y[I]]=S[I]);for(;be--;)he[J++]=S[I++];return he}function ce(S,m,y,w){for(var I=-1,T=S.length,X=-1,J=y.length,oe=-1,be=m.length,he=G(T-J,0),xe=Array(he+be),fe=!w;++I<he;)xe[I]=S[I];for(var Se=I;++oe<be;)xe[Se+oe]=m[oe];for(;++X<J;)(fe||I<T)&&(xe[Se+y[X]]=S[I++]);return xe}function de(S){return function(){var m=arguments;switch(m.length){case 0:return new S;case 1:return new S(m[0]);case 2:return new S(m[0],m[1]);case 3:return new S(m[0],m[1],m[2]);case 4:return new S(m[0],m[1],m[2],m[3]);case 5:return new S(m[0],m[1],m[2],m[3],m[4]);case 6:return new S(m[0],m[1],m[2],m[3],m[4],m[5]);case 7:return new S(m[0],m[1],m[2],m[3],m[4],m[5],m[6])}var y=Oe(S.prototype),w=S.apply(y,m);return Fe(w)?w:y}}function we(S,m,y,w,I,T,X,J,oe,be){var he=128&m,xe=1&m,fe=2&m,Se=24&m,Ae=512&m,Le=fe?void 0:de(S);return function De(){for(var ye=arguments.length,te=Array(ye),_e=ye;_e--;)te[_e]=arguments[_e];if(Se)var Ce=We(De),Be=N(te,Ce);if(w&&(te=Ee(te,w,I,Se)),T&&(te=ce(te,T,X,Se)),ye-=Be,Se&&ye<be){var Ie=j(te,Ce);return Ne(S,m,we,De.placeholder,y,te,Ie,J,oe,be-ye)}var Me=xe?y:this,Re=fe?Me[S]:S;return ye=te.length,J?te=Ye(te,J):Ae&&ye>1&&te.reverse(),he&&oe<ye&&(te.length=oe),this&&this!==t&&this instanceof De&&(Re=Le||de(Re)),Re.apply(Me,te)}}function Ne(S,m,y,w,I,T,X,J,oe,be){var he=8&m;m|=he?32:64,4&(m&=~(he?64:32))||(m&=-4);var xe=y(S,m,I,he?T:void 0,he?X:void 0,he?void 0:T,he?void 0:X,J,oe,be);return xe.placeholder=w,Ge(xe,S,m)}function Ke(S,m,y,w,I,T,X,J){var oe=2&m;if(!oe&&typeof S!="function")throw new TypeError("Expected a function");var be=w?w.length:0;if(be||(m&=-97,w=I=void 0),X=X===void 0?X:G($e(X),0),J=J===void 0?J:$e(J),be-=I?I.length:0,64&m){var he=w,xe=I;w=I=void 0}var fe=[S,m,y,w,I,he,xe,T,X,J];if(S=fe[0],m=fe[1],y=fe[2],w=fe[3],I=fe[4],!(J=fe[9]=fe[9]==null?oe?0:S.length:G(fe[9]-be,0))&&24&m&&(m&=-25),m&&m!=1)Se=m==8||m==16?function(Ae,Le,De){var ye=de(Ae);return function te(){for(var _e=arguments.length,Ce=Array(_e),Be=_e,Ie=We(te);Be--;)Ce[Be]=arguments[Be];var Me=_e<3&&Ce[0]!==Ie&&Ce[_e-1]!==Ie?[]:j(Ce,Ie);if((_e-=Me.length)<De)return Ne(Ae,Le,we,te.placeholder,void 0,Ce,Me,void 0,void 0,De-_e);var Re=this&&this!==t&&this instanceof te?ye:Ae;return F(Re,this,Ce)}}(S,m,J):m!=32&&m!=33||I.length?we.apply(void 0,fe):function(Ae,Le,De,ye){var te=1&Le,_e=de(Ae);return function Ce(){for(var Be=-1,Ie=arguments.length,Me=-1,Re=ye.length,Ze=Array(Re+Ie),rt=this&&this!==t&&this instanceof Ce?_e:Ae;++Me<Re;)Ze[Me]=ye[Me];for(;Ie--;)Ze[Me++]=arguments[++Be];return F(rt,te?De:this,Ze)}}(S,m,y,w);else var Se=function(Ae,Le,De){var ye=1&Le,te=de(Ae);return function _e(){var Ce=this&&this!==t&&this instanceof _e?te:Ae;return Ce.apply(ye?De:this,arguments)}}(S,m,y);return Ge(Se,S,m)}function We(S){return S.placeholder}function He(S,m){var y=function(w,I){return w?.[I]}(S,m);return me(y)?y:void 0}function Ue(S){var m=S.match(d);return m?m[1].split(b):[]}function ze(S,m){var y=m.length,w=y-1;return m[w]=(y>1?"& ":"")+m[w],m=m.join(y>2?", ":" "),S.replace(f,`{
1
+ import{al as Ot,ag as Ct}from"./index.3bHSf9gi.js";var ut={exports:{}},St=ut.exports,yt;function wt(){return yt||(yt=1,function(gt,Mt){(function(ht,i){gt.exports=i(Ot())})(St,function(ht){return function(i){var r={};function e(s){if(r[s])return r[s].exports;var u=r[s]={i:s,l:!1,exports:{}};return i[s].call(u.exports,u,u.exports,e),u.l=!0,u.exports}return e.m=i,e.c=r,e.d=function(s,u,p){e.o(s,u)||Object.defineProperty(s,u,{enumerable:!0,get:p})},e.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},e.t=function(s,u){if(1&u&&(s=e(s)),8&u||4&u&&typeof s=="object"&&s&&s.__esModule)return s;var p=Object.create(null);if(e.r(p),Object.defineProperty(p,"default",{enumerable:!0,value:s}),2&u&&typeof s!="string")for(var f in s)e.d(p,f,(function(d){return s[d]}).bind(null,f));return p},e.n=function(s){var u=s&&s.__esModule?function(){return s.default}:function(){return s};return e.d(u,"a",u),u},e.o=function(s,u){return Object.prototype.hasOwnProperty.call(s,u)},e.p="",e(e.s=48)}([function(i,r){i.exports=ht},function(i,r){var e=i.exports={version:"2.6.12"};typeof __e=="number"&&(__e=e)},function(i,r,e){var s=e(26)("wks"),u=e(17),p=e(3).Symbol,f=typeof p=="function";(i.exports=function(d){return s[d]||(s[d]=f&&p[d]||(f?p:u)("Symbol."+d))}).store=s},function(i,r){var e=i.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=e)},function(i,r,e){i.exports=!e(8)(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},function(i,r){var e={}.hasOwnProperty;i.exports=function(s,u){return e.call(s,u)}},function(i,r,e){var s=e(7),u=e(16);i.exports=e(4)?function(p,f,d){return s.f(p,f,u(1,d))}:function(p,f,d){return p[f]=d,p}},function(i,r,e){var s=e(10),u=e(35),p=e(23),f=Object.defineProperty;r.f=e(4)?Object.defineProperty:function(d,b,E){if(s(d),b=p(b,!0),s(E),u)try{return f(d,b,E)}catch{}if("get"in E||"set"in E)throw TypeError("Accessors not supported!");return"value"in E&&(d[b]=E.value),d}},function(i,r){i.exports=function(e){try{return!!e()}catch{return!0}}},function(i,r,e){var s=e(40),u=e(22);i.exports=function(p){return s(u(p))}},function(i,r,e){var s=e(11);i.exports=function(u){if(!s(u))throw TypeError(u+" is not an object!");return u}},function(i,r){i.exports=function(e){return typeof e=="object"?e!==null:typeof e=="function"}},function(i,r){i.exports={}},function(i,r,e){var s=e(39),u=e(27);i.exports=Object.keys||function(p){return s(p,u)}},function(i,r){i.exports=!0},function(i,r,e){var s=e(3),u=e(1),p=e(53),f=e(6),d=e(5),b=function(E,_,P){var D,V,Q,L=E&b.F,Z=E&b.G,t=E&b.S,F=E&b.P,R=E&b.B,B=E&b.W,N=Z?u:u[_]||(u[_]={}),j=N.prototype,C=Z?s:t?s[_]:(s[_]||{}).prototype;for(D in Z&&(P=_),P)(V=!L&&C&&C[D]!==void 0)&&d(N,D)||(Q=V?C[D]:P[D],N[D]=Z&&typeof C[D]!="function"?P[D]:R&&V?p(Q,s):B&&C[D]==Q?function(M){var z=function(g,$,K){if(this instanceof M){switch(arguments.length){case 0:return new M;case 1:return new M(g);case 2:return new M(g,$)}return new M(g,$,K)}return M.apply(this,arguments)};return z.prototype=M.prototype,z}(Q):F&&typeof Q=="function"?p(Function.call,Q):Q,F&&((N.virtual||(N.virtual={}))[D]=Q,E&b.R&&j&&!j[D]&&f(j,D,Q)))};b.F=1,b.G=2,b.S=4,b.P=8,b.B=16,b.W=32,b.U=64,b.R=128,i.exports=b},function(i,r){i.exports=function(e,s){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:s}}},function(i,r){var e=0,s=Math.random();i.exports=function(u){return"Symbol(".concat(u===void 0?"":u,")_",(++e+s).toString(36))}},function(i,r,e){var s=e(22);i.exports=function(u){return Object(s(u))}},function(i,r){r.f={}.propertyIsEnumerable},function(i,r,e){var s=e(52)(!0);e(34)(String,"String",function(u){this._t=String(u),this._i=0},function(){var u,p=this._t,f=this._i;return f>=p.length?{value:void 0,done:!0}:(u=s(p,f),this._i+=u.length,{value:u,done:!1})})},function(i,r){var e=Math.ceil,s=Math.floor;i.exports=function(u){return isNaN(u=+u)?0:(u>0?s:e)(u)}},function(i,r){i.exports=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e}},function(i,r,e){var s=e(11);i.exports=function(u,p){if(!s(u))return u;var f,d;if(p&&typeof(f=u.toString)=="function"&&!s(d=f.call(u))||typeof(f=u.valueOf)=="function"&&!s(d=f.call(u))||!p&&typeof(f=u.toString)=="function"&&!s(d=f.call(u)))return d;throw TypeError("Can't convert object to primitive value")}},function(i,r){var e={}.toString;i.exports=function(s){return e.call(s).slice(8,-1)}},function(i,r,e){var s=e(26)("keys"),u=e(17);i.exports=function(p){return s[p]||(s[p]=u(p))}},function(i,r,e){var s=e(1),u=e(3),p=u["__core-js_shared__"]||(u["__core-js_shared__"]={});(i.exports=function(f,d){return p[f]||(p[f]=d!==void 0?d:{})})("versions",[]).push({version:s.version,mode:e(14)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(i,r){i.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(i,r,e){var s=e(7).f,u=e(5),p=e(2)("toStringTag");i.exports=function(f,d,b){f&&!u(f=b?f:f.prototype,p)&&s(f,p,{configurable:!0,value:d})}},function(i,r,e){e(62);for(var s=e(3),u=e(6),p=e(12),f=e(2)("toStringTag"),d="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),b=0;b<d.length;b++){var E=d[b],_=s[E],P=_&&_.prototype;P&&!P[f]&&u(P,f,E),p[E]=p.Array}},function(i,r,e){r.f=e(2)},function(i,r,e){var s=e(3),u=e(1),p=e(14),f=e(30),d=e(7).f;i.exports=function(b){var E=u.Symbol||(u.Symbol=p?{}:s.Symbol||{});b.charAt(0)=="_"||b in E||d(E,b,{value:f.f(b)})}},function(i,r){r.f=Object.getOwnPropertySymbols},function(i,r){i.exports=function(e,s,u){return Math.min(Math.max(e,s),u)}},function(i,r,e){var s=e(14),u=e(15),p=e(37),f=e(6),d=e(12),b=e(55),E=e(28),_=e(61),P=e(2)("iterator"),D=!([].keys&&"next"in[].keys()),V=function(){return this};i.exports=function(Q,L,Z,t,F,R,B){b(Z,L,t);var N,j,C,M=function(W){if(!D&&W in K)return K[W];switch(W){case"keys":case"values":return function(){return new Z(this,W)}}return function(){return new Z(this,W)}},z=L+" Iterator",g=F=="values",$=!1,K=Q.prototype,O=K[P]||K["@@iterator"]||F&&K[F],U=O||M(F),le=F?g?M("entries"):U:void 0,ne=L=="Array"&&K.entries||O;if(ne&&(C=_(ne.call(new Q)))!==Object.prototype&&C.next&&(E(C,z,!0),s||typeof C[P]=="function"||f(C,P,V)),g&&O&&O.name!=="values"&&($=!0,U=function(){return O.call(this)}),s&&!B||!D&&!$&&K[P]||f(K,P,U),d[L]=U,d[z]=V,F)if(N={values:g?U:M("values"),keys:R?U:M("keys"),entries:le},B)for(j in N)j in K||p(K,j,N[j]);else u(u.P+u.F*(D||$),L,N);return N}},function(i,r,e){i.exports=!e(4)&&!e(8)(function(){return Object.defineProperty(e(36)("div"),"a",{get:function(){return 7}}).a!=7})},function(i,r,e){var s=e(11),u=e(3).document,p=s(u)&&s(u.createElement);i.exports=function(f){return p?u.createElement(f):{}}},function(i,r,e){i.exports=e(6)},function(i,r,e){var s=e(10),u=e(56),p=e(27),f=e(25)("IE_PROTO"),d=function(){},b=function(){var E,_=e(36)("iframe"),P=p.length;for(_.style.display="none",e(60).appendChild(_),_.src="javascript:",(E=_.contentWindow.document).open(),E.write("<script>document.F=Object<\/script>"),E.close(),b=E.F;P--;)delete b.prototype[p[P]];return b()};i.exports=Object.create||function(E,_){var P;return E!==null?(d.prototype=s(E),P=new d,d.prototype=null,P[f]=E):P=b(),_===void 0?P:u(P,_)}},function(i,r,e){var s=e(5),u=e(9),p=e(57)(!1),f=e(25)("IE_PROTO");i.exports=function(d,b){var E,_=u(d),P=0,D=[];for(E in _)E!=f&&s(_,E)&&D.push(E);for(;b.length>P;)s(_,E=b[P++])&&(~p(D,E)||D.push(E));return D}},function(i,r,e){var s=e(24);i.exports=Object("z").propertyIsEnumerable(0)?Object:function(u){return s(u)=="String"?u.split(""):Object(u)}},function(i,r,e){var s=e(39),u=e(27).concat("length","prototype");r.f=Object.getOwnPropertyNames||function(p){return s(p,u)}},function(i,r,e){var s=e(24),u=e(2)("toStringTag"),p=s(function(){return arguments}())=="Arguments";i.exports=function(f){var d,b,E;return f===void 0?"Undefined":f===null?"Null":typeof(b=function(_,P){try{return _[P]}catch{}}(d=Object(f),u))=="string"?b:p?s(d):(E=s(d))=="Object"&&typeof d.callee=="function"?"Arguments":E}},function(i,r){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch{typeof window=="object"&&(e=window)}i.exports=e},function(i,r){var e=/-?\d+(\.\d+)?%?/g;i.exports=function(s){return s.match(e)}},function(i,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.getBase16Theme=r.createStyling=r.invertTheme=void 0;var s=V(e(49)),u=V(e(76)),p=V(e(81)),f=V(e(89)),d=V(e(93)),b=function(j){if(j&&j.__esModule)return j;var C={};if(j!=null)for(var M in j)Object.prototype.hasOwnProperty.call(j,M)&&(C[M]=j[M]);return C.default=j,C}(e(94)),E=V(e(132)),_=V(e(133)),P=V(e(138)),D=e(139);function V(j){return j&&j.__esModule?j:{default:j}}var Q=b.default,L=(0,f.default)(Q),Z=(0,P.default)(_.default,D.rgb2yuv,function(j){var C,M=(0,p.default)(j,3),z=M[0],g=M[1],$=M[2];return[(C=z,C<.25?1:C<.5?.9-C:1.1-C),g,$]},D.yuv2rgb,E.default),t=function(j){return function(C){return{className:[C.className,j.className].filter(Boolean).join(" "),style:(0,u.default)({},C.style||{},j.style||{})}}},F=function(j,C){var M=(0,f.default)(C);for(var z in j)M.indexOf(z)===-1&&M.push(z);return M.reduce(function(g,$){return g[$]=function(K,O){if(K===void 0)return O;if(O===void 0)return K;var U=K===void 0?"undefined":(0,s.default)(K),le=O===void 0?"undefined":(0,s.default)(O);switch(U){case"string":switch(le){case"string":return[O,K].filter(Boolean).join(" ");case"object":return t({className:K,style:O});case"function":return function(ne){for(var W=arguments.length,re=Array(W>1?W-1:0),G=1;G<W;G++)re[G-1]=arguments[G];return t({className:K})(O.apply(void 0,[ne].concat(re)))}}case"object":switch(le){case"string":return t({className:O,style:K});case"object":return(0,u.default)({},O,K);case"function":return function(ne){for(var W=arguments.length,re=Array(W>1?W-1:0),G=1;G<W;G++)re[G-1]=arguments[G];return t({style:K})(O.apply(void 0,[ne].concat(re)))}}case"function":switch(le){case"string":return function(ne){for(var W=arguments.length,re=Array(W>1?W-1:0),G=1;G<W;G++)re[G-1]=arguments[G];return K.apply(void 0,[t(ne)({className:O})].concat(re))};case"object":return function(ne){for(var W=arguments.length,re=Array(W>1?W-1:0),G=1;G<W;G++)re[G-1]=arguments[G];return K.apply(void 0,[t(ne)({style:O})].concat(re))};case"function":return function(ne){for(var W=arguments.length,re=Array(W>1?W-1:0),G=1;G<W;G++)re[G-1]=arguments[G];return K.apply(void 0,[O.apply(void 0,[ne].concat(re))].concat(re))}}}}(j[$],C[$]),g},{})},R=function(j,C){for(var M=arguments.length,z=Array(M>2?M-2:0),g=2;g<M;g++)z[g-2]=arguments[g];if(C===null)return j;Array.isArray(C)||(C=[C]);var $=C.map(function(O){return j[O]}).filter(Boolean),K=$.reduce(function(O,U){return typeof U=="string"?O.className=[O.className,U].filter(Boolean).join(" "):(U===void 0?"undefined":(0,s.default)(U))==="object"?O.style=(0,u.default)({},O.style,U):typeof U=="function"&&(O=(0,u.default)({},O,U.apply(void 0,[O].concat(z)))),O},{className:"",style:{}});return K.className||delete K.className,(0,f.default)(K.style).length===0&&delete K.style,K},B=r.invertTheme=function(j){return(0,f.default)(j).reduce(function(C,M){return C[M]=/^base/.test(M)?Z(j[M]):M==="scheme"?j[M]+":inverted":j[M],C},{})},N=(r.createStyling=(0,d.default)(function(j){for(var C=arguments.length,M=Array(C>3?C-3:0),z=3;z<C;z++)M[z-3]=arguments[z];var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},K=g.defaultBase16,O=K===void 0?Q:K,U=g.base16Themes,le=U===void 0?null:U,ne=N($,le);ne&&($=(0,u.default)({},ne,$));var W=L.reduce(function(pe,Oe){return pe[Oe]=$[Oe]||O[Oe],pe},{}),re=(0,f.default)($).reduce(function(pe,Oe){return L.indexOf(Oe)===-1&&(pe[Oe]=$[Oe]),pe},{}),G=j(W),ue=F(re,G);return(0,d.default)(R,2).apply(void 0,[ue].concat(M))},3),r.getBase16Theme=function(j,C){if(j&&j.extend&&(j=j.extend),typeof j=="string"){var M=j.split(":"),z=(0,p.default)(M,2),g=z[0],$=z[1];j=(C||{})[g]||b[g],$==="inverted"&&(j=B(j))}return j&&j.hasOwnProperty("base00")?j:void 0})},function(i,r,e){var s,u=typeof Reflect=="object"?Reflect:null,p=u&&typeof u.apply=="function"?u.apply:function(t,F,R){return Function.prototype.apply.call(t,F,R)};s=u&&typeof u.ownKeys=="function"?u.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var f=Number.isNaN||function(t){return t!=t};function d(){d.init.call(this)}i.exports=d,i.exports.once=function(t,F){return new Promise(function(R,B){function N(){j!==void 0&&t.removeListener("error",j),R([].slice.call(arguments))}var j;F!=="error"&&(j=function(C){t.removeListener(F,N),B(C)},t.once("error",j)),t.once(F,N)})},d.EventEmitter=d,d.prototype._events=void 0,d.prototype._eventsCount=0,d.prototype._maxListeners=void 0;var b=10;function E(t){if(typeof t!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function _(t){return t._maxListeners===void 0?d.defaultMaxListeners:t._maxListeners}function P(t,F,R,B){var N,j,C,M;if(E(R),(j=t._events)===void 0?(j=t._events=Object.create(null),t._eventsCount=0):(j.newListener!==void 0&&(t.emit("newListener",F,R.listener?R.listener:R),j=t._events),C=j[F]),C===void 0)C=j[F]=R,++t._eventsCount;else if(typeof C=="function"?C=j[F]=B?[R,C]:[C,R]:B?C.unshift(R):C.push(R),(N=_(t))>0&&C.length>N&&!C.warned){C.warned=!0;var z=new Error("Possible EventEmitter memory leak detected. "+C.length+" "+String(F)+" listeners added. Use emitter.setMaxListeners() to increase limit");z.name="MaxListenersExceededWarning",z.emitter=t,z.type=F,z.count=C.length,M=z,console&&console.warn&&console.warn(M)}return t}function D(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function V(t,F,R){var B={fired:!1,wrapFn:void 0,target:t,type:F,listener:R},N=D.bind(B);return N.listener=R,B.wrapFn=N,N}function Q(t,F,R){var B=t._events;if(B===void 0)return[];var N=B[F];return N===void 0?[]:typeof N=="function"?R?[N.listener||N]:[N]:R?function(j){for(var C=new Array(j.length),M=0;M<C.length;++M)C[M]=j[M].listener||j[M];return C}(N):Z(N,N.length)}function L(t){var F=this._events;if(F!==void 0){var R=F[t];if(typeof R=="function")return 1;if(R!==void 0)return R.length}return 0}function Z(t,F){for(var R=new Array(F),B=0;B<F;++B)R[B]=t[B];return R}Object.defineProperty(d,"defaultMaxListeners",{enumerable:!0,get:function(){return b},set:function(t){if(typeof t!="number"||t<0||f(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");b=t}}),d.init=function(){this._events!==void 0&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},d.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||f(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},d.prototype.getMaxListeners=function(){return _(this)},d.prototype.emit=function(t){for(var F=[],R=1;R<arguments.length;R++)F.push(arguments[R]);var B=t==="error",N=this._events;if(N!==void 0)B=B&&N.error===void 0;else if(!B)return!1;if(B){var j;if(F.length>0&&(j=F[0]),j instanceof Error)throw j;var C=new Error("Unhandled error."+(j?" ("+j.message+")":""));throw C.context=j,C}var M=N[t];if(M===void 0)return!1;if(typeof M=="function")p(M,this,F);else{var z=M.length,g=Z(M,z);for(R=0;R<z;++R)p(g[R],this,F)}return!0},d.prototype.addListener=function(t,F){return P(this,t,F,!1)},d.prototype.on=d.prototype.addListener,d.prototype.prependListener=function(t,F){return P(this,t,F,!0)},d.prototype.once=function(t,F){return E(F),this.on(t,V(this,t,F)),this},d.prototype.prependOnceListener=function(t,F){return E(F),this.prependListener(t,V(this,t,F)),this},d.prototype.removeListener=function(t,F){var R,B,N,j,C;if(E(F),(B=this._events)===void 0)return this;if((R=B[t])===void 0)return this;if(R===F||R.listener===F)--this._eventsCount==0?this._events=Object.create(null):(delete B[t],B.removeListener&&this.emit("removeListener",t,R.listener||F));else if(typeof R!="function"){for(N=-1,j=R.length-1;j>=0;j--)if(R[j]===F||R[j].listener===F){C=R[j].listener,N=j;break}if(N<0)return this;N===0?R.shift():function(M,z){for(;z+1<M.length;z++)M[z]=M[z+1];M.pop()}(R,N),R.length===1&&(B[t]=R[0]),B.removeListener!==void 0&&this.emit("removeListener",t,C||F)}return this},d.prototype.off=d.prototype.removeListener,d.prototype.removeAllListeners=function(t){var F,R,B;if((R=this._events)===void 0)return this;if(R.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):R[t]!==void 0&&(--this._eventsCount==0?this._events=Object.create(null):delete R[t]),this;if(arguments.length===0){var N,j=Object.keys(R);for(B=0;B<j.length;++B)(N=j[B])!=="removeListener"&&this.removeAllListeners(N);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(typeof(F=R[t])=="function")this.removeListener(t,F);else if(F!==void 0)for(B=F.length-1;B>=0;B--)this.removeListener(t,F[B]);return this},d.prototype.listeners=function(t){return Q(this,t,!0)},d.prototype.rawListeners=function(t){return Q(this,t,!1)},d.listenerCount=function(t,F){return typeof t.listenerCount=="function"?t.listenerCount(F):L.call(t,F)},d.prototype.listenerCount=L,d.prototype.eventNames=function(){return this._eventsCount>0?s(this._events):[]}},function(i,r,e){i.exports.Dispatcher=e(140)},function(i,r,e){i.exports=e(142)},function(i,r,e){r.__esModule=!0;var s=f(e(50)),u=f(e(65)),p=typeof u.default=="function"&&typeof s.default=="symbol"?function(d){return typeof d}:function(d){return d&&typeof u.default=="function"&&d.constructor===u.default&&d!==u.default.prototype?"symbol":typeof d};function f(d){return d&&d.__esModule?d:{default:d}}r.default=typeof u.default=="function"&&p(s.default)==="symbol"?function(d){return d===void 0?"undefined":p(d)}:function(d){return d&&typeof u.default=="function"&&d.constructor===u.default&&d!==u.default.prototype?"symbol":d===void 0?"undefined":p(d)}},function(i,r,e){i.exports={default:e(51),__esModule:!0}},function(i,r,e){e(20),e(29),i.exports=e(30).f("iterator")},function(i,r,e){var s=e(21),u=e(22);i.exports=function(p){return function(f,d){var b,E,_=String(u(f)),P=s(d),D=_.length;return P<0||P>=D?p?"":void 0:(b=_.charCodeAt(P))<55296||b>56319||P+1===D||(E=_.charCodeAt(P+1))<56320||E>57343?p?_.charAt(P):b:p?_.slice(P,P+2):E-56320+(b-55296<<10)+65536}}},function(i,r,e){var s=e(54);i.exports=function(u,p,f){if(s(u),p===void 0)return u;switch(f){case 1:return function(d){return u.call(p,d)};case 2:return function(d,b){return u.call(p,d,b)};case 3:return function(d,b,E){return u.call(p,d,b,E)}}return function(){return u.apply(p,arguments)}}},function(i,r){i.exports=function(e){if(typeof e!="function")throw TypeError(e+" is not a function!");return e}},function(i,r,e){var s=e(38),u=e(16),p=e(28),f={};e(6)(f,e(2)("iterator"),function(){return this}),i.exports=function(d,b,E){d.prototype=s(f,{next:u(1,E)}),p(d,b+" Iterator")}},function(i,r,e){var s=e(7),u=e(10),p=e(13);i.exports=e(4)?Object.defineProperties:function(f,d){u(f);for(var b,E=p(d),_=E.length,P=0;_>P;)s.f(f,b=E[P++],d[b]);return f}},function(i,r,e){var s=e(9),u=e(58),p=e(59);i.exports=function(f){return function(d,b,E){var _,P=s(d),D=u(P.length),V=p(E,D);if(f&&b!=b){for(;D>V;)if((_=P[V++])!=_)return!0}else for(;D>V;V++)if((f||V in P)&&P[V]===b)return f||V||0;return!f&&-1}}},function(i,r,e){var s=e(21),u=Math.min;i.exports=function(p){return p>0?u(s(p),9007199254740991):0}},function(i,r,e){var s=e(21),u=Math.max,p=Math.min;i.exports=function(f,d){return(f=s(f))<0?u(f+d,0):p(f,d)}},function(i,r,e){var s=e(3).document;i.exports=s&&s.documentElement},function(i,r,e){var s=e(5),u=e(18),p=e(25)("IE_PROTO"),f=Object.prototype;i.exports=Object.getPrototypeOf||function(d){return d=u(d),s(d,p)?d[p]:typeof d.constructor=="function"&&d instanceof d.constructor?d.constructor.prototype:d instanceof Object?f:null}},function(i,r,e){var s=e(63),u=e(64),p=e(12),f=e(9);i.exports=e(34)(Array,"Array",function(d,b){this._t=f(d),this._i=0,this._k=b},function(){var d=this._t,b=this._k,E=this._i++;return!d||E>=d.length?(this._t=void 0,u(1)):u(0,b=="keys"?E:b=="values"?d[E]:[E,d[E]])},"values"),p.Arguments=p.Array,s("keys"),s("values"),s("entries")},function(i,r){i.exports=function(){}},function(i,r){i.exports=function(e,s){return{value:s,done:!!e}}},function(i,r,e){i.exports={default:e(66),__esModule:!0}},function(i,r,e){e(67),e(73),e(74),e(75),i.exports=e(1).Symbol},function(i,r,e){var s=e(3),u=e(5),p=e(4),f=e(15),d=e(37),b=e(68).KEY,E=e(8),_=e(26),P=e(28),D=e(17),V=e(2),Q=e(30),L=e(31),Z=e(69),t=e(70),F=e(10),R=e(11),B=e(18),N=e(9),j=e(23),C=e(16),M=e(38),z=e(71),g=e(72),$=e(32),K=e(7),O=e(13),U=g.f,le=K.f,ne=z.f,W=s.Symbol,re=s.JSON,G=re&&re.stringify,ue=V("_hidden"),pe=V("toPrimitive"),Oe={}.propertyIsEnumerable,me=_("symbol-registry"),Ee=_("symbols"),ce=_("op-symbols"),de=Object.prototype,we=typeof W=="function"&&!!$.f,Ne=s.QObject,Ke=!Ne||!Ne.prototype||!Ne.prototype.findChild,We=p&&E(function(){return M(le({},"a",{get:function(){return le(this,"a",{value:7}).a}})).a!=7})?function(y,w,I){var T=U(de,w);T&&delete de[w],le(y,w,I),T&&y!==de&&le(de,w,T)}:le,He=function(y){var w=Ee[y]=M(W.prototype);return w._k=y,w},Ue=we&&typeof W.iterator=="symbol"?function(y){return typeof y=="symbol"}:function(y){return y instanceof W},ze=function(y,w,I){return y===de&&ze(ce,w,I),F(y),w=j(w,!0),F(I),u(Ee,w)?(I.enumerable?(u(y,ue)&&y[ue][w]&&(y[ue][w]=!1),I=M(I,{enumerable:C(0,!1)})):(u(y,ue)||le(y,ue,C(1,{})),y[ue][w]=!0),We(y,w,I)):le(y,w,I)},Je=function(y,w){F(y);for(var I,T=Z(w=N(w)),X=0,J=T.length;J>X;)ze(y,I=T[X++],w[I]);return y},Ye=function(y){var w=Oe.call(this,y=j(y,!0));return!(this===de&&u(Ee,y)&&!u(ce,y))&&(!(w||!u(this,y)||!u(Ee,y)||u(this,ue)&&this[ue][y])||w)},Ge=function(y,w){if(y=N(y),w=j(w,!0),y!==de||!u(Ee,w)||u(ce,w)){var I=U(y,w);return!I||!u(Ee,w)||u(y,ue)&&y[ue][w]||(I.enumerable=!0),I}},Qe=function(y){for(var w,I=ne(N(y)),T=[],X=0;I.length>X;)u(Ee,w=I[X++])||w==ue||w==b||T.push(w);return T},Te=function(y){for(var w,I=y===de,T=ne(I?ce:N(y)),X=[],J=0;T.length>J;)!u(Ee,w=T[J++])||I&&!u(de,w)||X.push(Ee[w]);return X};we||(d((W=function(){if(this instanceof W)throw TypeError("Symbol is not a constructor!");var y=D(arguments.length>0?arguments[0]:void 0),w=function(I){this===de&&w.call(ce,I),u(this,ue)&&u(this[ue],y)&&(this[ue][y]=!1),We(this,y,C(1,I))};return p&&Ke&&We(de,y,{configurable:!0,set:w}),He(y)}).prototype,"toString",function(){return this._k}),g.f=Ge,K.f=ze,e(41).f=z.f=Qe,e(19).f=Ye,$.f=Te,p&&!e(14)&&d(de,"propertyIsEnumerable",Ye,!0),Q.f=function(y){return He(V(y))}),f(f.G+f.W+f.F*!we,{Symbol:W});for(var Fe="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),je=0;Fe.length>je;)V(Fe[je++]);for(var $e=O(V.store),S=0;$e.length>S;)L($e[S++]);f(f.S+f.F*!we,"Symbol",{for:function(y){return u(me,y+="")?me[y]:me[y]=W(y)},keyFor:function(y){if(!Ue(y))throw TypeError(y+" is not a symbol!");for(var w in me)if(me[w]===y)return w},useSetter:function(){Ke=!0},useSimple:function(){Ke=!1}}),f(f.S+f.F*!we,"Object",{create:function(y,w){return w===void 0?M(y):Je(M(y),w)},defineProperty:ze,defineProperties:Je,getOwnPropertyDescriptor:Ge,getOwnPropertyNames:Qe,getOwnPropertySymbols:Te});var m=E(function(){$.f(1)});f(f.S+f.F*m,"Object",{getOwnPropertySymbols:function(y){return $.f(B(y))}}),re&&f(f.S+f.F*(!we||E(function(){var y=W();return G([y])!="[null]"||G({a:y})!="{}"||G(Object(y))!="{}"})),"JSON",{stringify:function(y){for(var w,I,T=[y],X=1;arguments.length>X;)T.push(arguments[X++]);if(I=w=T[1],(R(w)||y!==void 0)&&!Ue(y))return t(w)||(w=function(J,oe){if(typeof I=="function"&&(oe=I.call(this,J,oe)),!Ue(oe))return oe}),T[1]=w,G.apply(re,T)}}),W.prototype[pe]||e(6)(W.prototype,pe,W.prototype.valueOf),P(W,"Symbol"),P(Math,"Math",!0),P(s.JSON,"JSON",!0)},function(i,r,e){var s=e(17)("meta"),u=e(11),p=e(5),f=e(7).f,d=0,b=Object.isExtensible||function(){return!0},E=!e(8)(function(){return b(Object.preventExtensions({}))}),_=function(D){f(D,s,{value:{i:"O"+ ++d,w:{}}})},P=i.exports={KEY:s,NEED:!1,fastKey:function(D,V){if(!u(D))return typeof D=="symbol"?D:(typeof D=="string"?"S":"P")+D;if(!p(D,s)){if(!b(D))return"F";if(!V)return"E";_(D)}return D[s].i},getWeak:function(D,V){if(!p(D,s)){if(!b(D))return!0;if(!V)return!1;_(D)}return D[s].w},onFreeze:function(D){return E&&P.NEED&&b(D)&&!p(D,s)&&_(D),D}}},function(i,r,e){var s=e(13),u=e(32),p=e(19);i.exports=function(f){var d=s(f),b=u.f;if(b)for(var E,_=b(f),P=p.f,D=0;_.length>D;)P.call(f,E=_[D++])&&d.push(E);return d}},function(i,r,e){var s=e(24);i.exports=Array.isArray||function(u){return s(u)=="Array"}},function(i,r,e){var s=e(9),u=e(41).f,p={}.toString,f=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];i.exports.f=function(d){return f&&p.call(d)=="[object Window]"?function(b){try{return u(b)}catch{return f.slice()}}(d):u(s(d))}},function(i,r,e){var s=e(19),u=e(16),p=e(9),f=e(23),d=e(5),b=e(35),E=Object.getOwnPropertyDescriptor;r.f=e(4)?E:function(_,P){if(_=p(_),P=f(P,!0),b)try{return E(_,P)}catch{}if(d(_,P))return u(!s.f.call(_,P),_[P])}},function(i,r){},function(i,r,e){e(31)("asyncIterator")},function(i,r,e){e(31)("observable")},function(i,r,e){r.__esModule=!0;var s,u=e(77),p=(s=u)&&s.__esModule?s:{default:s};r.default=p.default||function(f){for(var d=1;d<arguments.length;d++){var b=arguments[d];for(var E in b)Object.prototype.hasOwnProperty.call(b,E)&&(f[E]=b[E])}return f}},function(i,r,e){i.exports={default:e(78),__esModule:!0}},function(i,r,e){e(79),i.exports=e(1).Object.assign},function(i,r,e){var s=e(15);s(s.S+s.F,"Object",{assign:e(80)})},function(i,r,e){var s=e(4),u=e(13),p=e(32),f=e(19),d=e(18),b=e(40),E=Object.assign;i.exports=!E||e(8)(function(){var _={},P={},D=Symbol(),V="abcdefghijklmnopqrst";return _[D]=7,V.split("").forEach(function(Q){P[Q]=Q}),E({},_)[D]!=7||Object.keys(E({},P)).join("")!=V})?function(_,P){for(var D=d(_),V=arguments.length,Q=1,L=p.f,Z=f.f;V>Q;)for(var t,F=b(arguments[Q++]),R=L?u(F).concat(L(F)):u(F),B=R.length,N=0;B>N;)t=R[N++],s&&!Z.call(F,t)||(D[t]=F[t]);return D}:E},function(i,r,e){r.__esModule=!0;var s=p(e(82)),u=p(e(85));function p(f){return f&&f.__esModule?f:{default:f}}r.default=function(f,d){if(Array.isArray(f))return f;if((0,s.default)(Object(f)))return function(b,E){var _=[],P=!0,D=!1,V=void 0;try{for(var Q,L=(0,u.default)(b);!(P=(Q=L.next()).done)&&(_.push(Q.value),!E||_.length!==E);P=!0);}catch(Z){D=!0,V=Z}finally{try{!P&&L.return&&L.return()}finally{if(D)throw V}}return _}(f,d);throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(i,r,e){i.exports={default:e(83),__esModule:!0}},function(i,r,e){e(29),e(20),i.exports=e(84)},function(i,r,e){var s=e(42),u=e(2)("iterator"),p=e(12);i.exports=e(1).isIterable=function(f){var d=Object(f);return d[u]!==void 0||"@@iterator"in d||p.hasOwnProperty(s(d))}},function(i,r,e){i.exports={default:e(86),__esModule:!0}},function(i,r,e){e(29),e(20),i.exports=e(87)},function(i,r,e){var s=e(10),u=e(88);i.exports=e(1).getIterator=function(p){var f=u(p);if(typeof f!="function")throw TypeError(p+" is not iterable!");return s(f.call(p))}},function(i,r,e){var s=e(42),u=e(2)("iterator"),p=e(12);i.exports=e(1).getIteratorMethod=function(f){if(f!=null)return f[u]||f["@@iterator"]||p[s(f)]}},function(i,r,e){i.exports={default:e(90),__esModule:!0}},function(i,r,e){e(91),i.exports=e(1).Object.keys},function(i,r,e){var s=e(18),u=e(13);e(92)("keys",function(){return function(p){return u(s(p))}})},function(i,r,e){var s=e(15),u=e(1),p=e(8);i.exports=function(f,d){var b=(u.Object||{})[f]||Object[f],E={};E[f]=d(b),s(s.S+s.F*p(function(){b(1)}),"Object",E)}},function(i,r,e){(function(s){var u=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],p=/^\s+|\s+$/g,f=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,d=/\{\n\/\* \[wrapped with (.+)\] \*/,b=/,? & /,E=/^[-+]0x[0-9a-f]+$/i,_=/^0b[01]+$/i,P=/^\[object .+?Constructor\]$/,D=/^0o[0-7]+$/i,V=/^(?:0|[1-9]\d*)$/,Q=parseInt,L=typeof s=="object"&&s&&s.Object===Object&&s,Z=typeof self=="object"&&self&&self.Object===Object&&self,t=L||Z||Function("return this")();function F(S,m,y){switch(y.length){case 0:return S.call(m);case 1:return S.call(m,y[0]);case 2:return S.call(m,y[0],y[1]);case 3:return S.call(m,y[0],y[1],y[2])}return S.apply(m,y)}function R(S,m){return!!(S&&S.length)&&function(y,w,I){if(w!=w)return function(J,oe,be,he){for(var xe=J.length,fe=be+-1;++fe<xe;)if(oe(J[fe],fe,J))return fe;return-1}(y,B,I);for(var T=I-1,X=y.length;++T<X;)if(y[T]===w)return T;return-1}(S,m,0)>-1}function B(S){return S!=S}function N(S,m){for(var y=S.length,w=0;y--;)S[y]===m&&w++;return w}function j(S,m){for(var y=-1,w=S.length,I=0,T=[];++y<w;){var X=S[y];X!==m&&X!=="__lodash_placeholder__"||(S[y]="__lodash_placeholder__",T[I++]=y)}return T}var C,M,z,g=Function.prototype,$=Object.prototype,K=t["__core-js_shared__"],O=(C=/[^.]+$/.exec(K&&K.keys&&K.keys.IE_PROTO||""))?"Symbol(src)_1."+C:"",U=g.toString,le=$.hasOwnProperty,ne=$.toString,W=RegExp("^"+U.call(le).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),re=Object.create,G=Math.max,ue=Math.min,pe=(M=He(Object,"defineProperty"),(z=He.name)&&z.length>2?M:void 0);function Oe(S){return Fe(S)?re(S):{}}function me(S){return!(!Fe(S)||function(m){return!!O&&O in m}(S))&&(function(m){var y=Fe(m)?ne.call(m):"";return y=="[object Function]"||y=="[object GeneratorFunction]"}(S)||function(m){var y=!1;if(m!=null&&typeof m.toString!="function")try{y=!!(m+"")}catch{}return y}(S)?W:P).test(function(m){if(m!=null){try{return U.call(m)}catch{}try{return m+""}catch{}}return""}(S))}function Ee(S,m,y,w){for(var I=-1,T=S.length,X=y.length,J=-1,oe=m.length,be=G(T-X,0),he=Array(oe+be),xe=!w;++J<oe;)he[J]=m[J];for(;++I<X;)(xe||I<T)&&(he[y[I]]=S[I]);for(;be--;)he[J++]=S[I++];return he}function ce(S,m,y,w){for(var I=-1,T=S.length,X=-1,J=y.length,oe=-1,be=m.length,he=G(T-J,0),xe=Array(he+be),fe=!w;++I<he;)xe[I]=S[I];for(var Se=I;++oe<be;)xe[Se+oe]=m[oe];for(;++X<J;)(fe||I<T)&&(xe[Se+y[X]]=S[I++]);return xe}function de(S){return function(){var m=arguments;switch(m.length){case 0:return new S;case 1:return new S(m[0]);case 2:return new S(m[0],m[1]);case 3:return new S(m[0],m[1],m[2]);case 4:return new S(m[0],m[1],m[2],m[3]);case 5:return new S(m[0],m[1],m[2],m[3],m[4]);case 6:return new S(m[0],m[1],m[2],m[3],m[4],m[5]);case 7:return new S(m[0],m[1],m[2],m[3],m[4],m[5],m[6])}var y=Oe(S.prototype),w=S.apply(y,m);return Fe(w)?w:y}}function we(S,m,y,w,I,T,X,J,oe,be){var he=128&m,xe=1&m,fe=2&m,Se=24&m,Ae=512&m,Le=fe?void 0:de(S);return function De(){for(var ye=arguments.length,te=Array(ye),_e=ye;_e--;)te[_e]=arguments[_e];if(Se)var Ce=We(De),Be=N(te,Ce);if(w&&(te=Ee(te,w,I,Se)),T&&(te=ce(te,T,X,Se)),ye-=Be,Se&&ye<be){var Ie=j(te,Ce);return Ne(S,m,we,De.placeholder,y,te,Ie,J,oe,be-ye)}var Me=xe?y:this,Re=fe?Me[S]:S;return ye=te.length,J?te=Ye(te,J):Ae&&ye>1&&te.reverse(),he&&oe<ye&&(te.length=oe),this&&this!==t&&this instanceof De&&(Re=Le||de(Re)),Re.apply(Me,te)}}function Ne(S,m,y,w,I,T,X,J,oe,be){var he=8&m;m|=he?32:64,4&(m&=~(he?64:32))||(m&=-4);var xe=y(S,m,I,he?T:void 0,he?X:void 0,he?void 0:T,he?void 0:X,J,oe,be);return xe.placeholder=w,Ge(xe,S,m)}function Ke(S,m,y,w,I,T,X,J){var oe=2&m;if(!oe&&typeof S!="function")throw new TypeError("Expected a function");var be=w?w.length:0;if(be||(m&=-97,w=I=void 0),X=X===void 0?X:G($e(X),0),J=J===void 0?J:$e(J),be-=I?I.length:0,64&m){var he=w,xe=I;w=I=void 0}var fe=[S,m,y,w,I,he,xe,T,X,J];if(S=fe[0],m=fe[1],y=fe[2],w=fe[3],I=fe[4],!(J=fe[9]=fe[9]==null?oe?0:S.length:G(fe[9]-be,0))&&24&m&&(m&=-25),m&&m!=1)Se=m==8||m==16?function(Ae,Le,De){var ye=de(Ae);return function te(){for(var _e=arguments.length,Ce=Array(_e),Be=_e,Ie=We(te);Be--;)Ce[Be]=arguments[Be];var Me=_e<3&&Ce[0]!==Ie&&Ce[_e-1]!==Ie?[]:j(Ce,Ie);if((_e-=Me.length)<De)return Ne(Ae,Le,we,te.placeholder,void 0,Ce,Me,void 0,void 0,De-_e);var Re=this&&this!==t&&this instanceof te?ye:Ae;return F(Re,this,Ce)}}(S,m,J):m!=32&&m!=33||I.length?we.apply(void 0,fe):function(Ae,Le,De,ye){var te=1&Le,_e=de(Ae);return function Ce(){for(var Be=-1,Ie=arguments.length,Me=-1,Re=ye.length,Ze=Array(Re+Ie),rt=this&&this!==t&&this instanceof Ce?_e:Ae;++Me<Re;)Ze[Me]=ye[Me];for(;Ie--;)Ze[Me++]=arguments[++Be];return F(rt,te?De:this,Ze)}}(S,m,y,w);else var Se=function(Ae,Le,De){var ye=1&Le,te=de(Ae);return function _e(){var Ce=this&&this!==t&&this instanceof _e?te:Ae;return Ce.apply(ye?De:this,arguments)}}(S,m,y);return Ge(Se,S,m)}function We(S){return S.placeholder}function He(S,m){var y=function(w,I){return w?.[I]}(S,m);return me(y)?y:void 0}function Ue(S){var m=S.match(d);return m?m[1].split(b):[]}function ze(S,m){var y=m.length,w=y-1;return m[w]=(y>1?"& ":"")+m[w],m=m.join(y>2?", ":" "),S.replace(f,`{
2
2
  /* [wrapped with `+m+`] */
3
3
  `)}function Je(S,m){return!!(m=m??9007199254740991)&&(typeof S=="number"||V.test(S))&&S>-1&&S%1==0&&S<m}function Ye(S,m){for(var y=S.length,w=ue(m.length,y),I=function(X,J){var oe=-1,be=X.length;for(J||(J=Array(be));++oe<be;)J[oe]=X[oe];return J}(S);w--;){var T=m[w];S[w]=Je(T,y)?I[T]:void 0}return S}var Ge=pe?function(S,m,y){var w,I=m+"";return pe(S,"toString",{configurable:!0,enumerable:!1,value:(w=ze(I,Qe(Ue(I),y)),function(){return w})})}:function(S){return S};function Qe(S,m){return function(y,w){for(var I=-1,T=y?y.length:0;++I<T&&w(y[I],I,y)!==!1;);}(u,function(y){var w="_."+y[0];m&y[1]&&!R(S,w)&&S.push(w)}),S.sort()}function Te(S,m,y){var w=Ke(S,8,void 0,void 0,void 0,void 0,void 0,m=y?void 0:m);return w.placeholder=Te.placeholder,w}function Fe(S){var m=typeof S;return!!S&&(m=="object"||m=="function")}function je(S){return S?(S=function(m){if(typeof m=="number")return m;if(function(I){return typeof I=="symbol"||function(T){return!!T&&typeof T=="object"}(I)&&ne.call(I)=="[object Symbol]"}(m))return NaN;if(Fe(m)){var y=typeof m.valueOf=="function"?m.valueOf():m;m=Fe(y)?y+"":y}if(typeof m!="string")return m===0?m:+m;m=m.replace(p,"");var w=_.test(m);return w||D.test(m)?Q(m.slice(2),w?2:8):E.test(m)?NaN:+m}(S))===1/0||S===-1/0?17976931348623157e292*(S<0?-1:1):S==S?S:0:S===0?S:0}function $e(S){var m=je(S),y=m%1;return m==m?y?m-y:m:0}Te.placeholder={},i.exports=Te}).call(this,e(43))},function(i,r,e){function s(ce){return ce&&ce.__esModule?ce.default:ce}r.__esModule=!0;var u=e(95);r.threezerotwofour=s(u);var p=e(96);r.apathy=s(p);var f=e(97);r.ashes=s(f);var d=e(98);r.atelierDune=s(d);var b=e(99);r.atelierForest=s(b);var E=e(100);r.atelierHeath=s(E);var _=e(101);r.atelierLakeside=s(_);var P=e(102);r.atelierSeaside=s(P);var D=e(103);r.bespin=s(D);var V=e(104);r.brewer=s(V);var Q=e(105);r.bright=s(Q);var L=e(106);r.chalk=s(L);var Z=e(107);r.codeschool=s(Z);var t=e(108);r.colors=s(t);var F=e(109);r.default=s(F);var R=e(110);r.eighties=s(R);var B=e(111);r.embers=s(B);var N=e(112);r.flat=s(N);var j=e(113);r.google=s(j);var C=e(114);r.grayscale=s(C);var M=e(115);r.greenscreen=s(M);var z=e(116);r.harmonic=s(z);var g=e(117);r.hopscotch=s(g);var $=e(118);r.isotope=s($);var K=e(119);r.marrakesh=s(K);var O=e(120);r.mocha=s(O);var U=e(121);r.monokai=s(U);var le=e(122);r.ocean=s(le);var ne=e(123);r.paraiso=s(ne);var W=e(124);r.pop=s(W);var re=e(125);r.railscasts=s(re);var G=e(126);r.shapeshifter=s(G);var ue=e(127);r.solarized=s(ue);var pe=e(128);r.summerfruit=s(pe);var Oe=e(129);r.tomorrow=s(Oe);var me=e(130);r.tube=s(me);var Ee=e(131);r.twilight=s(Ee)},function(i,r,e){r.__esModule=!0,r.default={scheme:"threezerotwofour",author:"jan t. sott (http://github.com/idleberg)",base00:"#090300",base01:"#3a3432",base02:"#4a4543",base03:"#5c5855",base04:"#807d7c",base05:"#a5a2a2",base06:"#d6d5d4",base07:"#f7f7f7",base08:"#db2d20",base09:"#e8bbd0",base0A:"#fded02",base0B:"#01a252",base0C:"#b5e4f4",base0D:"#01a0e4",base0E:"#a16a94",base0F:"#cdab53"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"apathy",author:"jannik siebert (https://github.com/janniks)",base00:"#031A16",base01:"#0B342D",base02:"#184E45",base03:"#2B685E",base04:"#5F9C92",base05:"#81B5AC",base06:"#A7CEC8",base07:"#D2E7E4",base08:"#3E9688",base09:"#3E7996",base0A:"#3E4C96",base0B:"#883E96",base0C:"#963E4C",base0D:"#96883E",base0E:"#4C963E",base0F:"#3E965B"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"ashes",author:"jannik siebert (https://github.com/janniks)",base00:"#1C2023",base01:"#393F45",base02:"#565E65",base03:"#747C84",base04:"#ADB3BA",base05:"#C7CCD1",base06:"#DFE2E5",base07:"#F3F4F5",base08:"#C7AE95",base09:"#C7C795",base0A:"#AEC795",base0B:"#95C7AE",base0C:"#95AEC7",base0D:"#AE95C7",base0E:"#C795AE",base0F:"#C79595"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"atelier dune",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune)",base00:"#20201d",base01:"#292824",base02:"#6e6b5e",base03:"#7d7a68",base04:"#999580",base05:"#a6a28c",base06:"#e8e4cf",base07:"#fefbec",base08:"#d73737",base09:"#b65611",base0A:"#cfb017",base0B:"#60ac39",base0C:"#1fad83",base0D:"#6684e1",base0E:"#b854d4",base0F:"#d43552"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"atelier forest",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest)",base00:"#1b1918",base01:"#2c2421",base02:"#68615e",base03:"#766e6b",base04:"#9c9491",base05:"#a8a19f",base06:"#e6e2e0",base07:"#f1efee",base08:"#f22c40",base09:"#df5320",base0A:"#d5911a",base0B:"#5ab738",base0C:"#00ad9c",base0D:"#407ee7",base0E:"#6666ea",base0F:"#c33ff3"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"atelier heath",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath)",base00:"#1b181b",base01:"#292329",base02:"#695d69",base03:"#776977",base04:"#9e8f9e",base05:"#ab9bab",base06:"#d8cad8",base07:"#f7f3f7",base08:"#ca402b",base09:"#a65926",base0A:"#bb8a35",base0B:"#379a37",base0C:"#159393",base0D:"#516aec",base0E:"#7b59c0",base0F:"#cc33cc"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"atelier lakeside",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside/)",base00:"#161b1d",base01:"#1f292e",base02:"#516d7b",base03:"#5a7b8c",base04:"#7195a8",base05:"#7ea2b4",base06:"#c1e4f6",base07:"#ebf8ff",base08:"#d22d72",base09:"#935c25",base0A:"#8a8a0f",base0B:"#568c3b",base0C:"#2d8f6f",base0D:"#257fad",base0E:"#5d5db1",base0F:"#b72dd2"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"atelier seaside",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside/)",base00:"#131513",base01:"#242924",base02:"#5e6e5e",base03:"#687d68",base04:"#809980",base05:"#8ca68c",base06:"#cfe8cf",base07:"#f0fff0",base08:"#e6193c",base09:"#87711d",base0A:"#c3c322",base0B:"#29a329",base0C:"#1999b3",base0D:"#3d62f5",base0E:"#ad2bee",base0F:"#e619c3"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"bespin",author:"jan t. sott",base00:"#28211c",base01:"#36312e",base02:"#5e5d5c",base03:"#666666",base04:"#797977",base05:"#8a8986",base06:"#9d9b97",base07:"#baae9e",base08:"#cf6a4c",base09:"#cf7d34",base0A:"#f9ee98",base0B:"#54be0d",base0C:"#afc4db",base0D:"#5ea6ea",base0E:"#9b859d",base0F:"#937121"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"brewer",author:"timothée poisot (http://github.com/tpoisot)",base00:"#0c0d0e",base01:"#2e2f30",base02:"#515253",base03:"#737475",base04:"#959697",base05:"#b7b8b9",base06:"#dadbdc",base07:"#fcfdfe",base08:"#e31a1c",base09:"#e6550d",base0A:"#dca060",base0B:"#31a354",base0C:"#80b1d3",base0D:"#3182bd",base0E:"#756bb1",base0F:"#b15928"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"bright",author:"chris kempson (http://chriskempson.com)",base00:"#000000",base01:"#303030",base02:"#505050",base03:"#b0b0b0",base04:"#d0d0d0",base05:"#e0e0e0",base06:"#f5f5f5",base07:"#ffffff",base08:"#fb0120",base09:"#fc6d24",base0A:"#fda331",base0B:"#a1c659",base0C:"#76c7b7",base0D:"#6fb3d2",base0E:"#d381c3",base0F:"#be643c"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"chalk",author:"chris kempson (http://chriskempson.com)",base00:"#151515",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#f5f5f5",base08:"#fb9fb1",base09:"#eda987",base0A:"#ddb26f",base0B:"#acc267",base0C:"#12cfc0",base0D:"#6fc2ef",base0E:"#e1a3ee",base0F:"#deaf8f"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"codeschool",author:"brettof86",base00:"#232c31",base01:"#1c3657",base02:"#2a343a",base03:"#3f4944",base04:"#84898c",base05:"#9ea7a6",base06:"#a7cfa3",base07:"#b5d8f6",base08:"#2a5491",base09:"#43820d",base0A:"#a03b1e",base0B:"#237986",base0C:"#b02f30",base0D:"#484d79",base0E:"#c59820",base0F:"#c98344"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"colors",author:"mrmrs (http://clrs.cc)",base00:"#111111",base01:"#333333",base02:"#555555",base03:"#777777",base04:"#999999",base05:"#bbbbbb",base06:"#dddddd",base07:"#ffffff",base08:"#ff4136",base09:"#ff851b",base0A:"#ffdc00",base0B:"#2ecc40",base0C:"#7fdbff",base0D:"#0074d9",base0E:"#b10dc9",base0F:"#85144b"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"default",author:"chris kempson (http://chriskempson.com)",base00:"#181818",base01:"#282828",base02:"#383838",base03:"#585858",base04:"#b8b8b8",base05:"#d8d8d8",base06:"#e8e8e8",base07:"#f8f8f8",base08:"#ab4642",base09:"#dc9656",base0A:"#f7ca88",base0B:"#a1b56c",base0C:"#86c1b9",base0D:"#7cafc2",base0E:"#ba8baf",base0F:"#a16946"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"eighties",author:"chris kempson (http://chriskempson.com)",base00:"#2d2d2d",base01:"#393939",base02:"#515151",base03:"#747369",base04:"#a09f93",base05:"#d3d0c8",base06:"#e8e6df",base07:"#f2f0ec",base08:"#f2777a",base09:"#f99157",base0A:"#ffcc66",base0B:"#99cc99",base0C:"#66cccc",base0D:"#6699cc",base0E:"#cc99cc",base0F:"#d27b53"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"embers",author:"jannik siebert (https://github.com/janniks)",base00:"#16130F",base01:"#2C2620",base02:"#433B32",base03:"#5A5047",base04:"#8A8075",base05:"#A39A90",base06:"#BEB6AE",base07:"#DBD6D1",base08:"#826D57",base09:"#828257",base0A:"#6D8257",base0B:"#57826D",base0C:"#576D82",base0D:"#6D5782",base0E:"#82576D",base0F:"#825757"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"flat",author:"chris kempson (http://chriskempson.com)",base00:"#2C3E50",base01:"#34495E",base02:"#7F8C8D",base03:"#95A5A6",base04:"#BDC3C7",base05:"#e0e0e0",base06:"#f5f5f5",base07:"#ECF0F1",base08:"#E74C3C",base09:"#E67E22",base0A:"#F1C40F",base0B:"#2ECC71",base0C:"#1ABC9C",base0D:"#3498DB",base0E:"#9B59B6",base0F:"#be643c"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"google",author:"seth wright (http://sethawright.com)",base00:"#1d1f21",base01:"#282a2e",base02:"#373b41",base03:"#969896",base04:"#b4b7b4",base05:"#c5c8c6",base06:"#e0e0e0",base07:"#ffffff",base08:"#CC342B",base09:"#F96A38",base0A:"#FBA922",base0B:"#198844",base0C:"#3971ED",base0D:"#3971ED",base0E:"#A36AC7",base0F:"#3971ED"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"grayscale",author:"alexandre gavioli (https://github.com/alexx2/)",base00:"#101010",base01:"#252525",base02:"#464646",base03:"#525252",base04:"#ababab",base05:"#b9b9b9",base06:"#e3e3e3",base07:"#f7f7f7",base08:"#7c7c7c",base09:"#999999",base0A:"#a0a0a0",base0B:"#8e8e8e",base0C:"#868686",base0D:"#686868",base0E:"#747474",base0F:"#5e5e5e"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"green screen",author:"chris kempson (http://chriskempson.com)",base00:"#001100",base01:"#003300",base02:"#005500",base03:"#007700",base04:"#009900",base05:"#00bb00",base06:"#00dd00",base07:"#00ff00",base08:"#007700",base09:"#009900",base0A:"#007700",base0B:"#00bb00",base0C:"#005500",base0D:"#009900",base0E:"#00bb00",base0F:"#005500"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"harmonic16",author:"jannik siebert (https://github.com/janniks)",base00:"#0b1c2c",base01:"#223b54",base02:"#405c79",base03:"#627e99",base04:"#aabcce",base05:"#cbd6e2",base06:"#e5ebf1",base07:"#f7f9fb",base08:"#bf8b56",base09:"#bfbf56",base0A:"#8bbf56",base0B:"#56bf8b",base0C:"#568bbf",base0D:"#8b56bf",base0E:"#bf568b",base0F:"#bf5656"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"hopscotch",author:"jan t. sott",base00:"#322931",base01:"#433b42",base02:"#5c545b",base03:"#797379",base04:"#989498",base05:"#b9b5b8",base06:"#d5d3d5",base07:"#ffffff",base08:"#dd464c",base09:"#fd8b19",base0A:"#fdcc59",base0B:"#8fc13e",base0C:"#149b93",base0D:"#1290bf",base0E:"#c85e7c",base0F:"#b33508"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"isotope",author:"jan t. sott",base00:"#000000",base01:"#404040",base02:"#606060",base03:"#808080",base04:"#c0c0c0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#ffffff",base08:"#ff0000",base09:"#ff9900",base0A:"#ff0099",base0B:"#33ff00",base0C:"#00ffff",base0D:"#0066ff",base0E:"#cc00ff",base0F:"#3300ff"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"marrakesh",author:"alexandre gavioli (http://github.com/alexx2/)",base00:"#201602",base01:"#302e00",base02:"#5f5b17",base03:"#6c6823",base04:"#86813b",base05:"#948e48",base06:"#ccc37a",base07:"#faf0a5",base08:"#c35359",base09:"#b36144",base0A:"#a88339",base0B:"#18974e",base0C:"#75a738",base0D:"#477ca1",base0E:"#8868b3",base0F:"#b3588e"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"mocha",author:"chris kempson (http://chriskempson.com)",base00:"#3B3228",base01:"#534636",base02:"#645240",base03:"#7e705a",base04:"#b8afad",base05:"#d0c8c6",base06:"#e9e1dd",base07:"#f5eeeb",base08:"#cb6077",base09:"#d28b71",base0A:"#f4bc87",base0B:"#beb55b",base0C:"#7bbda4",base0D:"#8ab3b5",base0E:"#a89bb9",base0F:"#bb9584"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"monokai",author:"wimer hazenberg (http://www.monokai.nl)",base00:"#272822",base01:"#383830",base02:"#49483e",base03:"#75715e",base04:"#a59f85",base05:"#f8f8f2",base06:"#f5f4f1",base07:"#f9f8f5",base08:"#f92672",base09:"#fd971f",base0A:"#f4bf75",base0B:"#a6e22e",base0C:"#a1efe4",base0D:"#66d9ef",base0E:"#ae81ff",base0F:"#cc6633"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"ocean",author:"chris kempson (http://chriskempson.com)",base00:"#2b303b",base01:"#343d46",base02:"#4f5b66",base03:"#65737e",base04:"#a7adba",base05:"#c0c5ce",base06:"#dfe1e8",base07:"#eff1f5",base08:"#bf616a",base09:"#d08770",base0A:"#ebcb8b",base0B:"#a3be8c",base0C:"#96b5b4",base0D:"#8fa1b3",base0E:"#b48ead",base0F:"#ab7967"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"paraiso",author:"jan t. sott",base00:"#2f1e2e",base01:"#41323f",base02:"#4f424c",base03:"#776e71",base04:"#8d8687",base05:"#a39e9b",base06:"#b9b6b0",base07:"#e7e9db",base08:"#ef6155",base09:"#f99b15",base0A:"#fec418",base0B:"#48b685",base0C:"#5bc4bf",base0D:"#06b6ef",base0E:"#815ba4",base0F:"#e96ba8"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"pop",author:"chris kempson (http://chriskempson.com)",base00:"#000000",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#ffffff",base08:"#eb008a",base09:"#f29333",base0A:"#f8ca12",base0B:"#37b349",base0C:"#00aabb",base0D:"#0e5a94",base0E:"#b31e8d",base0F:"#7a2d00"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"railscasts",author:"ryan bates (http://railscasts.com)",base00:"#2b2b2b",base01:"#272935",base02:"#3a4055",base03:"#5a647e",base04:"#d4cfc9",base05:"#e6e1dc",base06:"#f4f1ed",base07:"#f9f7f3",base08:"#da4939",base09:"#cc7833",base0A:"#ffc66d",base0B:"#a5c261",base0C:"#519f50",base0D:"#6d9cbe",base0E:"#b6b3eb",base0F:"#bc9458"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"shapeshifter",author:"tyler benziger (http://tybenz.com)",base00:"#000000",base01:"#040404",base02:"#102015",base03:"#343434",base04:"#555555",base05:"#ababab",base06:"#e0e0e0",base07:"#f9f9f9",base08:"#e92f2f",base09:"#e09448",base0A:"#dddd13",base0B:"#0ed839",base0C:"#23edda",base0D:"#3b48e3",base0E:"#f996e2",base0F:"#69542d"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"solarized",author:"ethan schoonover (http://ethanschoonover.com/solarized)",base00:"#002b36",base01:"#073642",base02:"#586e75",base03:"#657b83",base04:"#839496",base05:"#93a1a1",base06:"#eee8d5",base07:"#fdf6e3",base08:"#dc322f",base09:"#cb4b16",base0A:"#b58900",base0B:"#859900",base0C:"#2aa198",base0D:"#268bd2",base0E:"#6c71c4",base0F:"#d33682"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"summerfruit",author:"christopher corley (http://cscorley.github.io/)",base00:"#151515",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#B0B0B0",base05:"#D0D0D0",base06:"#E0E0E0",base07:"#FFFFFF",base08:"#FF0086",base09:"#FD8900",base0A:"#ABA800",base0B:"#00C918",base0C:"#1faaaa",base0D:"#3777E6",base0E:"#AD00A1",base0F:"#cc6633"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"tomorrow",author:"chris kempson (http://chriskempson.com)",base00:"#1d1f21",base01:"#282a2e",base02:"#373b41",base03:"#969896",base04:"#b4b7b4",base05:"#c5c8c6",base06:"#e0e0e0",base07:"#ffffff",base08:"#cc6666",base09:"#de935f",base0A:"#f0c674",base0B:"#b5bd68",base0C:"#8abeb7",base0D:"#81a2be",base0E:"#b294bb",base0F:"#a3685a"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"london tube",author:"jan t. sott",base00:"#231f20",base01:"#1c3f95",base02:"#5a5758",base03:"#737171",base04:"#959ca1",base05:"#d9d8d8",base06:"#e7e7e8",base07:"#ffffff",base08:"#ee2e24",base09:"#f386a1",base0A:"#ffd204",base0B:"#00853e",base0C:"#85cebc",base0D:"#009ddc",base0E:"#98005d",base0F:"#b06110"},i.exports=r.default},function(i,r,e){r.__esModule=!0,r.default={scheme:"twilight",author:"david hart (http://hart-dev.com)",base00:"#1e1e1e",base01:"#323537",base02:"#464b50",base03:"#5f5a60",base04:"#838184",base05:"#a7a7a7",base06:"#c3c3c3",base07:"#ffffff",base08:"#cf6a4c",base09:"#cda869",base0A:"#f9ee98",base0B:"#8f9d6a",base0C:"#afc4db",base0D:"#7587a6",base0E:"#9b859d",base0F:"#9b703f"},i.exports=r.default},function(i,r,e){var s=e(33);function u(p){var f=Math.round(s(p,0,255)).toString(16);return f.length==1?"0"+f:f}i.exports=function(p){var f=p.length===4?u(255*p[3]):"";return"#"+u(p[0])+u(p[1])+u(p[2])+f}},function(i,r,e){var s=e(134),u=e(135),p=e(136),f=e(137),d={"#":u,hsl:function(E){var _=s(E),P=f(_);return _.length===4&&P.push(_[3]),P},rgb:p};function b(E){for(var _ in d)if(E.indexOf(_)===0)return d[_](E)}b.rgb=p,b.hsl=s,b.hex=u,i.exports=b},function(i,r,e){var s=e(44),u=e(33);function p(f,d){switch(f=parseFloat(f),d){case 0:return u(f,0,360);case 1:case 2:return u(f,0,100);case 3:return u(f,0,1)}}i.exports=function(f){return s(f).map(p)}},function(i,r){i.exports=function(e){e.length!==4&&e.length!==5||(e=function(p){for(var f="#",d=1;d<p.length;d++){var b=p.charAt(d);f+=b+b}return f}(e));var s=[parseInt(e.substring(1,3),16),parseInt(e.substring(3,5),16),parseInt(e.substring(5,7),16)];if(e.length===9){var u=parseFloat((parseInt(e.substring(7,9),16)/255).toFixed(2));s.push(u)}return s}},function(i,r,e){var s=e(44),u=e(33);function p(f,d){return d<3?f.indexOf("%")!=-1?Math.round(255*u(parseInt(f,10),0,100)/100):u(parseInt(f,10),0,255):u(parseFloat(f),0,1)}i.exports=function(f){return s(f).map(p)}},function(i,r){i.exports=function(e){var s,u,p,f,d,b=e[0]/360,E=e[1]/100,_=e[2]/100;if(E==0)return[d=255*_,d,d];s=2*_-(u=_<.5?_*(1+E):_+E-_*E),f=[0,0,0];for(var P=0;P<3;P++)(p=b+1/3*-(P-1))<0&&p++,p>1&&p--,d=6*p<1?s+6*(u-s)*p:2*p<1?u:3*p<2?s+(u-s)*(2/3-p)*6:s,f[P]=255*d;return f}},function(i,r,e){(function(s){var u=typeof s=="object"&&s&&s.Object===Object&&s,p=typeof self=="object"&&self&&self.Object===Object&&self,f=u||p||Function("return this")();function d(j,C,M){switch(M.length){case 0:return j.call(C);case 1:return j.call(C,M[0]);case 2:return j.call(C,M[0],M[1]);case 3:return j.call(C,M[0],M[1],M[2])}return j.apply(C,M)}function b(j,C){for(var M=-1,z=C.length,g=j.length;++M<z;)j[g+M]=C[M];return j}var E=Object.prototype,_=E.hasOwnProperty,P=E.toString,D=f.Symbol,V=E.propertyIsEnumerable,Q=D?D.isConcatSpreadable:void 0,L=Math.max;function Z(j){return t(j)||function(C){return function(M){return function(z){return!!z&&typeof z=="object"}(M)&&function(z){return z!=null&&function(g){return typeof g=="number"&&g>-1&&g%1==0&&g<=9007199254740991}(z.length)&&!function(g){var $=function(K){var O=typeof K;return!!K&&(O=="object"||O=="function")}(g)?P.call(g):"";return $=="[object Function]"||$=="[object GeneratorFunction]"}(z)}(M)}(C)&&_.call(C,"callee")&&(!V.call(C,"callee")||P.call(C)=="[object Arguments]")}(j)||!!(Q&&j&&j[Q])}var t=Array.isArray,F,R,B,N=(R=function(j){var C=(j=function(g,$,K,O,U){var le=-1,ne=g.length;for(K||(K=Z),U||(U=[]);++le<ne;){var W=g[le];K(W)?b(U,W):U[U.length]=W}return U}(j)).length,M=C;for(F;M--;)if(typeof j[M]!="function")throw new TypeError("Expected a function");return function(){for(var z=0,g=C?j[z].apply(this,arguments):arguments[0];++z<C;)g=j[z].call(this,g);return g}},B=L(B===void 0?R.length-1:B,0),function(){for(var j=arguments,C=-1,M=L(j.length-B,0),z=Array(M);++C<M;)z[C]=j[B+C];C=-1;for(var g=Array(B+1);++C<B;)g[C]=j[C];return g[B]=z,d(R,this,g)});i.exports=N}).call(this,e(43))},function(i,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.yuv2rgb=function(s){var u,p,f,d=s[0],b=s[1],E=s[2];return u=1*d+0*b+1.13983*E,p=1*d+-.39465*b+-.5806*E,f=1*d+2.02311*b+0*E,u=Math.min(Math.max(0,u),1),p=Math.min(Math.max(0,p),1),f=Math.min(Math.max(0,f),1),[255*u,255*p,255*f]},r.rgb2yuv=function(s){var u=s[0]/255,p=s[1]/255,f=s[2]/255;return[.299*u+.587*p+.114*f,-.14713*u+-.28886*p+.436*f,.615*u+-.51499*p+-.10001*f]}},function(i,r,e){function s(f,d,b){return d in f?Object.defineProperty(f,d,{value:b,enumerable:!0,configurable:!0,writable:!0}):f[d]=b,f}var u=e(141),p=function(){function f(){s(this,"_callbacks",void 0),s(this,"_isDispatching",void 0),s(this,"_isHandled",void 0),s(this,"_isPending",void 0),s(this,"_lastID",void 0),s(this,"_pendingPayload",void 0),this._callbacks={},this._isDispatching=!1,this._isHandled={},this._isPending={},this._lastID=1}var d=f.prototype;return d.register=function(b){var E="ID_"+this._lastID++;return this._callbacks[E]=b,E},d.unregister=function(b){this._callbacks[b]||u(!1),delete this._callbacks[b]},d.waitFor=function(b){this._isDispatching||u(!1);for(var E=0;E<b.length;E++){var _=b[E];this._isPending[_]?this._isHandled[_]||u(!1):(this._callbacks[_]||u(!1),this._invokeCallback(_))}},d.dispatch=function(b){this._isDispatching&&u(!1),this._startDispatching(b);try{for(var E in this._callbacks)this._isPending[E]||this._invokeCallback(E)}finally{this._stopDispatching()}},d.isDispatching=function(){return this._isDispatching},d._invokeCallback=function(b){this._isPending[b]=!0,this._callbacks[b](this._pendingPayload),this._isHandled[b]=!0},d._startDispatching=function(b){for(var E in this._callbacks)this._isPending[E]=!1,this._isHandled[E]=!1;this._pendingPayload=b,this._isDispatching=!0},d._stopDispatching=function(){delete this._pendingPayload,this._isDispatching=!1},f}();i.exports=p},function(i,r,e){i.exports=function(s,u){for(var p=arguments.length,f=new Array(p>2?p-2:0),d=2;d<p;d++)f[d-2]=arguments[d];if(!s){var b;if(u===void 0)b=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var E=0;(b=new Error(u.replace(/%s/g,function(){return String(f[E++])}))).name="Invariant Violation"}throw b.framesToPop=1,b}}},function(i,r,e){function s(c,l,a){return l in c?Object.defineProperty(c,l,{value:a,enumerable:!0,configurable:!0,writable:!0}):c[l]=a,c}function u(c,l){var a=Object.keys(c);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(c);l&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(c,o).enumerable})),a.push.apply(a,n)}return a}function p(c){for(var l=1;l<arguments.length;l++){var a=arguments[l]!=null?arguments[l]:{};l%2?u(Object(a),!0).forEach(function(n){s(c,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(a)):u(Object(a)).forEach(function(n){Object.defineProperty(c,n,Object.getOwnPropertyDescriptor(a,n))})}return c}function f(c,l){if(!(c instanceof l))throw new TypeError("Cannot call a class as a function")}function d(c,l){for(var a=0;a<l.length;a++){var n=l[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(c,n.key,n)}}function b(c,l,a){return l&&d(c.prototype,l),a&&d(c,a),c}function E(c,l){return(E=Object.setPrototypeOf||function(a,n){return a.__proto__=n,a})(c,l)}function _(c,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function");c.prototype=Object.create(l&&l.prototype,{constructor:{value:c,writable:!0,configurable:!0}}),l&&E(c,l)}function P(c){return(P=Object.setPrototypeOf?Object.getPrototypeOf:function(l){return l.__proto__||Object.getPrototypeOf(l)})(c)}function D(c){return(D=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l})(c)}function V(c){if(c===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c}function Q(c,l){return!l||D(l)!=="object"&&typeof l!="function"?V(c):l}function L(c){var l=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}();return function(){var a,n=P(c);if(l){var o=P(this).constructor;a=Reflect.construct(n,arguments,o)}else a=n.apply(this,arguments);return Q(this,a)}}e.r(r);var Z=e(0),t=e.n(Z);function F(){var c=this.constructor.getDerivedStateFromProps(this.props,this.state);c!=null&&this.setState(c)}function R(c){this.setState((function(l){var a=this.constructor.getDerivedStateFromProps(c,l);return a??null}).bind(this))}function B(c,l){try{var a=this.props,n=this.state;this.props=c,this.state=l,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(a,n)}finally{this.props=a,this.state=n}}function N(c){var l=c.prototype;if(!l||!l.isReactComponent)throw new Error("Can only polyfill class components");if(typeof c.getDerivedStateFromProps!="function"&&typeof l.getSnapshotBeforeUpdate!="function")return c;var a=null,n=null,o=null;if(typeof l.componentWillMount=="function"?a="componentWillMount":typeof l.UNSAFE_componentWillMount=="function"&&(a="UNSAFE_componentWillMount"),typeof l.componentWillReceiveProps=="function"?n="componentWillReceiveProps":typeof l.UNSAFE_componentWillReceiveProps=="function"&&(n="UNSAFE_componentWillReceiveProps"),typeof l.componentWillUpdate=="function"?o="componentWillUpdate":typeof l.UNSAFE_componentWillUpdate=="function"&&(o="UNSAFE_componentWillUpdate"),a!==null||n!==null||o!==null){var v=c.displayName||c.name,k=typeof c.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
4
4
 
@@ -1 +1 @@
1
- import{c as p,e as c}from"./es6.x9KsYQg-.js";import"./index.DMxc2XFp.js";const{File:n,Blob:_,DOMException:s}=p,{INVALID:z,GONE:r,MISMATCH:w,MOD_ERR:b,SYNTAX:a,SECURITY:I,DISALLOWED:m}=c;class g{constructor(e,i){this.fileHandle=e,this.file=i,this.size=i.size,this.position=0}write(e){let i=this.file;if(typeof e=="object"){if(e.type==="write"){if(Number.isInteger(e.position)&&e.position>=0&&(this.position=e.position,this.size<e.position&&(this.file=new n([this.file,new ArrayBuffer(e.position-this.size)],this.file.name,this.file))),!("data"in e))throw new s(...a("write requires a data argument"));e=e.data}else if(e.type==="seek")if(Number.isInteger(e.position)&&e.position>=0){if(this.size<e.position)throw new s(...z);this.position=e.position;return}else throw new s(...a("seek requires a position argument"));else if(e.type==="truncate")if(Number.isInteger(e.size)&&e.size>=0){i=e.size<this.size?new n([i.slice(0,e.size)],i.name,i):new n([i,new Uint8Array(e.size-this.size)],i.name),this.size=i.size,this.position>i.size&&(this.position=i.size),this.file=i;return}else throw new s(...a("truncate requires a size argument"))}e=new _([e]);let t=this.file;const o=t.slice(0,this.position),y=t.slice(this.position+e.size);let l=this.position-o.size;l<0&&(l=0),t=new n([o,new Uint8Array(l),e,y],t.name),this.size=t.size,this.position+=e.size,this.file=t}close(){if(this.fileHandle._deleted)throw new s(...r);this.fileHandle._file=this.file,this.file=this.position=this.size=null,this.fileHandle.onclose&&this.fileHandle.onclose(this.fileHandle)}}class f{constructor(e="",i=new n([],e),t=!0){this._file=i,this.name=e,this.kind="file",this._deleted=!1,this.writable=t,this.readable=!0}async getFile(){if(this._deleted)throw new s(...r);return this._file}async createWritable(e){if(!this.writable)throw new s(...m);if(this._deleted)throw new s(...r);const i=e.keepExistingData?await this.getFile():new n([],this.name);return new g(this,i)}async isSameEntry(e){return this===e}async _destroy(){this._deleted=!0,this._file=null}}class h{constructor(e,i=!0){this.name=e,this.kind="directory",this._deleted=!1,this._entries={},this.writable=i,this.readable=!0}async*entries(){if(this._deleted)throw new s(...r);yield*Object.entries(this._entries)}async isSameEntry(e){return this===e}async getDirectoryHandle(e,i){if(this._deleted)throw new s(...r);const t=this._entries[e];if(t){if(t instanceof f)throw new s(...w);return t}else{if(i.create)return this._entries[e]=new h(e);throw new s(...r)}}async getFileHandle(e,i){const t=this._entries[e],o=t instanceof f;if(t&&o)return t;if(t&&!o)throw new s(...w);if(!t&&!i.create)throw new s(...r);if(!t&&i.create)return this._entries[e]=new f(e)}async removeEntry(e,i){const t=this._entries[e];if(!t)throw new s(...r);await t._destroy(i.recursive),delete this._entries[e]}async _destroy(e){for(let i of Object.values(this._entries)){if(!e)throw new s(...b);await i._destroy(e)}this._entries={},this._deleted=!0}}const u=new h(""),A=()=>u;export{f as FileHandle,h as FolderHandle,g as Sink,A as default};
1
+ import{c as p,e as c}from"./es6.D6UMoOIM.js";import"./index.3bHSf9gi.js";const{File:n,Blob:_,DOMException:s}=p,{INVALID:z,GONE:r,MISMATCH:w,MOD_ERR:b,SYNTAX:a,SECURITY:I,DISALLOWED:m}=c;class g{constructor(e,i){this.fileHandle=e,this.file=i,this.size=i.size,this.position=0}write(e){let i=this.file;if(typeof e=="object"){if(e.type==="write"){if(Number.isInteger(e.position)&&e.position>=0&&(this.position=e.position,this.size<e.position&&(this.file=new n([this.file,new ArrayBuffer(e.position-this.size)],this.file.name,this.file))),!("data"in e))throw new s(...a("write requires a data argument"));e=e.data}else if(e.type==="seek")if(Number.isInteger(e.position)&&e.position>=0){if(this.size<e.position)throw new s(...z);this.position=e.position;return}else throw new s(...a("seek requires a position argument"));else if(e.type==="truncate")if(Number.isInteger(e.size)&&e.size>=0){i=e.size<this.size?new n([i.slice(0,e.size)],i.name,i):new n([i,new Uint8Array(e.size-this.size)],i.name),this.size=i.size,this.position>i.size&&(this.position=i.size),this.file=i;return}else throw new s(...a("truncate requires a size argument"))}e=new _([e]);let t=this.file;const o=t.slice(0,this.position),y=t.slice(this.position+e.size);let l=this.position-o.size;l<0&&(l=0),t=new n([o,new Uint8Array(l),e,y],t.name),this.size=t.size,this.position+=e.size,this.file=t}close(){if(this.fileHandle._deleted)throw new s(...r);this.fileHandle._file=this.file,this.file=this.position=this.size=null,this.fileHandle.onclose&&this.fileHandle.onclose(this.fileHandle)}}class f{constructor(e="",i=new n([],e),t=!0){this._file=i,this.name=e,this.kind="file",this._deleted=!1,this.writable=t,this.readable=!0}async getFile(){if(this._deleted)throw new s(...r);return this._file}async createWritable(e){if(!this.writable)throw new s(...m);if(this._deleted)throw new s(...r);const i=e.keepExistingData?await this.getFile():new n([],this.name);return new g(this,i)}async isSameEntry(e){return this===e}async _destroy(){this._deleted=!0,this._file=null}}class h{constructor(e,i=!0){this.name=e,this.kind="directory",this._deleted=!1,this._entries={},this.writable=i,this.readable=!0}async*entries(){if(this._deleted)throw new s(...r);yield*Object.entries(this._entries)}async isSameEntry(e){return this===e}async getDirectoryHandle(e,i){if(this._deleted)throw new s(...r);const t=this._entries[e];if(t){if(t instanceof f)throw new s(...w);return t}else{if(i.create)return this._entries[e]=new h(e);throw new s(...r)}}async getFileHandle(e,i){const t=this._entries[e],o=t instanceof f;if(t&&o)return t;if(t&&!o)throw new s(...w);if(!t&&!i.create)throw new s(...r);if(!t&&i.create)return this._entries[e]=new f(e)}async removeEntry(e,i){const t=this._entries[e];if(!t)throw new s(...r);await t._destroy(i.recursive),delete this._entries[e]}async _destroy(e){for(let i of Object.values(this._entries)){if(!e)throw new s(...b);await i._destroy(e)}this._entries={},this._deleted=!0}}const u=new h(""),A=()=>u;export{f as FileHandle,h as FolderHandle,g as Sink,A as default};