@next-bricks/ai 1.31.13 → 1.31.14

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 (120) hide show
  1. package/dist/bricks.json +1 -1
  2. package/dist/chunks/1045.25d6e587.js +2 -0
  3. package/dist/chunks/1045.25d6e587.js.map +1 -0
  4. package/dist/chunks/1055.b2aa915a.js +2 -0
  5. package/dist/chunks/1055.b2aa915a.js.map +1 -0
  6. package/dist/chunks/1122.bb62eaf7.js +2 -0
  7. package/dist/chunks/1122.bb62eaf7.js.map +1 -0
  8. package/dist/chunks/114.cf808204.js +2 -0
  9. package/dist/chunks/114.cf808204.js.map +1 -0
  10. package/dist/chunks/1370.e8101b88.js.map +1 -1
  11. package/dist/chunks/1438.c8b23e36.js +2 -0
  12. package/dist/chunks/1438.c8b23e36.js.map +1 -0
  13. package/dist/chunks/1599.d486042b.js +3 -0
  14. package/dist/chunks/1599.d486042b.js.map +1 -0
  15. package/dist/chunks/1889.a7cfaf0b.js +2 -0
  16. package/dist/chunks/1889.a7cfaf0b.js.map +1 -0
  17. package/dist/chunks/3144.6f60f9c3.js +3 -0
  18. package/dist/chunks/3144.6f60f9c3.js.map +1 -0
  19. package/dist/chunks/{3171.a308a8aa.js → 3171.9780b511.js} +2 -2
  20. package/dist/chunks/{3171.a308a8aa.js.map → 3171.9780b511.js.map} +1 -1
  21. package/dist/chunks/3426.b119a7ea.js +2 -0
  22. package/dist/chunks/3426.b119a7ea.js.map +1 -0
  23. package/dist/chunks/3497.9f041cc4.js +2 -0
  24. package/dist/chunks/3497.9f041cc4.js.map +1 -0
  25. package/dist/chunks/{3933.801229b6.js → 3933.bf703260.js} +2 -2
  26. package/dist/chunks/{6314.9a049ef4.js.map → 3933.bf703260.js.map} +1 -1
  27. package/dist/chunks/4041.cf1e36c0.js +3 -0
  28. package/dist/chunks/4041.cf1e36c0.js.map +1 -0
  29. package/dist/chunks/4145.f83111fb.js +2 -0
  30. package/dist/chunks/4145.f83111fb.js.map +1 -0
  31. package/dist/chunks/4185.b86e8405.js +3 -0
  32. package/dist/chunks/4185.b86e8405.js.map +1 -0
  33. package/dist/chunks/{4837.ffbfba7c.js → 4837.9a5576e5.js} +2 -2
  34. package/dist/chunks/{4837.ffbfba7c.js.map → 4837.9a5576e5.js.map} +1 -1
  35. package/dist/chunks/5250.3dc75844.js +3 -0
  36. package/dist/chunks/5250.3dc75844.js.map +1 -0
  37. package/dist/chunks/{5552.a42b2a6d.js → 5552.85cb8ee0.js} +2 -2
  38. package/dist/chunks/{5552.a42b2a6d.js.map → 5552.85cb8ee0.js.map} +1 -1
  39. package/dist/chunks/{6314.9a049ef4.js → 6314.4381228e.js} +2 -2
  40. package/dist/chunks/{3933.801229b6.js.map → 6314.4381228e.js.map} +1 -1
  41. package/dist/chunks/6773.a801c466.js +2 -0
  42. package/dist/chunks/6773.a801c466.js.map +1 -0
  43. package/dist/chunks/{7218.ccf02fc8.js → 7218.55a2a2e0.js} +2 -2
  44. package/dist/chunks/{7218.ccf02fc8.js.map → 7218.55a2a2e0.js.map} +1 -1
  45. package/dist/chunks/726.adaaef63.js +2 -0
  46. package/dist/chunks/726.adaaef63.js.map +1 -0
  47. package/dist/chunks/7304.7cb62676.js +2 -0
  48. package/dist/chunks/7304.7cb62676.js.map +1 -0
  49. package/dist/chunks/{7721.cf2c09a3.js → 7721.2b527d9d.js} +3 -3
  50. package/dist/chunks/7721.2b527d9d.js.map +1 -0
  51. package/dist/chunks/7733.52ce71eb.js +2 -0
  52. package/dist/chunks/7733.52ce71eb.js.map +1 -0
  53. package/dist/chunks/8989.dad35fc8.js +2 -0
  54. package/dist/chunks/8989.dad35fc8.js.map +1 -0
  55. package/dist/chunks/9515.ad1df5cd.js +2 -0
  56. package/dist/chunks/9515.ad1df5cd.js.map +1 -0
  57. package/dist/chunks/{9844.1a35968b.js → 9844.112ed919.js} +2 -2
  58. package/dist/chunks/{9844.1a35968b.js.map → 9844.112ed919.js.map} +1 -1
  59. package/dist/chunks/chat-agent.ca88373c.js +2 -0
  60. package/dist/chunks/chat-agent.ca88373c.js.map +1 -0
  61. package/dist/chunks/{chat-view.dcad741f.js → chat-view.bd22497d.js} +2 -2
  62. package/dist/chunks/{chat-view.dcad741f.js.map → chat-view.bd22497d.js.map} +1 -1
  63. package/dist/chunks/main.9f3154d7.js +2 -0
  64. package/dist/chunks/main.9f3154d7.js.map +1 -0
  65. package/dist/index.61f5e9e8.js +2 -0
  66. package/dist/index.61f5e9e8.js.map +1 -0
  67. package/package.json +4 -4
  68. package/dist/chunks/1045.679c9b21.js +0 -2
  69. package/dist/chunks/1045.679c9b21.js.map +0 -1
  70. package/dist/chunks/1055.784eb310.js +0 -2
  71. package/dist/chunks/1055.784eb310.js.map +0 -1
  72. package/dist/chunks/1122.a5411331.js +0 -2
  73. package/dist/chunks/1122.a5411331.js.map +0 -1
  74. package/dist/chunks/114.d084ebb6.js +0 -2
  75. package/dist/chunks/114.d084ebb6.js.map +0 -1
  76. package/dist/chunks/1438.111cff0d.js +0 -2
  77. package/dist/chunks/1438.111cff0d.js.map +0 -1
  78. package/dist/chunks/1599.1092140b.js +0 -3
  79. package/dist/chunks/1599.1092140b.js.map +0 -1
  80. package/dist/chunks/1889.e1dc5796.js +0 -2
  81. package/dist/chunks/1889.e1dc5796.js.map +0 -1
  82. package/dist/chunks/3144.8a65bb7f.js +0 -3
  83. package/dist/chunks/3144.8a65bb7f.js.map +0 -1
  84. package/dist/chunks/3426.7c76971a.js +0 -2
  85. package/dist/chunks/3426.7c76971a.js.map +0 -1
  86. package/dist/chunks/3497.ff260dca.js +0 -2
  87. package/dist/chunks/3497.ff260dca.js.map +0 -1
  88. package/dist/chunks/4041.58453437.js +0 -3
  89. package/dist/chunks/4041.58453437.js.map +0 -1
  90. package/dist/chunks/4145.0f25e5d6.js +0 -2
  91. package/dist/chunks/4145.0f25e5d6.js.map +0 -1
  92. package/dist/chunks/4185.6dc3eeaa.js +0 -3
  93. package/dist/chunks/4185.6dc3eeaa.js.map +0 -1
  94. package/dist/chunks/5250.a6b648ae.js +0 -3
  95. package/dist/chunks/5250.a6b648ae.js.map +0 -1
  96. package/dist/chunks/6773.afce80bd.js +0 -2
  97. package/dist/chunks/6773.afce80bd.js.map +0 -1
  98. package/dist/chunks/726.17480faf.js +0 -2
  99. package/dist/chunks/726.17480faf.js.map +0 -1
  100. package/dist/chunks/7304.5921f13b.js +0 -2
  101. package/dist/chunks/7304.5921f13b.js.map +0 -1
  102. package/dist/chunks/7721.cf2c09a3.js.map +0 -1
  103. package/dist/chunks/7733.86d423ea.js +0 -2
  104. package/dist/chunks/7733.86d423ea.js.map +0 -1
  105. package/dist/chunks/8989.77390174.js +0 -2
  106. package/dist/chunks/8989.77390174.js.map +0 -1
  107. package/dist/chunks/9515.22cd8b3a.js +0 -2
  108. package/dist/chunks/9515.22cd8b3a.js.map +0 -1
  109. package/dist/chunks/chat-agent.05449444.js +0 -2
  110. package/dist/chunks/chat-agent.05449444.js.map +0 -1
  111. package/dist/chunks/main.22aa35ea.js +0 -2
  112. package/dist/chunks/main.22aa35ea.js.map +0 -1
  113. package/dist/index.f79b325c.js +0 -2
  114. package/dist/index.f79b325c.js.map +0 -1
  115. /package/dist/chunks/{1599.1092140b.js.LICENSE.txt → 1599.d486042b.js.LICENSE.txt} +0 -0
  116. /package/dist/chunks/{3144.8a65bb7f.js.LICENSE.txt → 3144.6f60f9c3.js.LICENSE.txt} +0 -0
  117. /package/dist/chunks/{4041.58453437.js.LICENSE.txt → 4041.cf1e36c0.js.LICENSE.txt} +0 -0
  118. /package/dist/chunks/{4185.6dc3eeaa.js.LICENSE.txt → 4185.b86e8405.js.LICENSE.txt} +0 -0
  119. /package/dist/chunks/{5250.a6b648ae.js.LICENSE.txt → 5250.3dc75844.js.LICENSE.txt} +0 -0
  120. /package/dist/chunks/{7721.cf2c09a3.js.LICENSE.txt → 7721.2b527d9d.js.LICENSE.txt} +0 -0
package/dist/bricks.json CHANGED
@@ -22,5 +22,5 @@
22
22
  "eo-input"
23
23
  ]
24
24
  },
25
- "filePath": "bricks/ai/dist/index.f79b325c.js"
25
+ "filePath": "bricks/ai/dist/index.61f5e9e8.js"
26
26
  }
@@ -0,0 +1,2 @@
1
+ "use strict";(globalThis.webpackChunk_next_bricks_ai=globalThis.webpackChunk_next_bricks_ai||[]).push([[1045,3426],{829:(t,e,n)=>{n.d(e,{A:()=>r});var i=n(2559);function r(t,e){return t.get((0,i.A)(t,e))}},918:(t,e,n)=>{n.d(e,{A:()=>r});var i=n(2016);function r(t,e,n){(0,i.A)(t,e),e.set(t,n)}},1045:(t,e,n)=>{n.r(e),n.d(e,{NextElement:()=>A,createDecorators:()=>a,supportsAdoptingStyleSheets:()=>_});const i=Symbol.for("attributeHasBeenSet"),r=Symbol.for("markAttributeHasBeenSet"),o=Symbol.for("stopAttributeChangedCallback"),s={attribute:!0,type:String,converter:{toAttribute:(t,e)=>e===Boolean?t?"":null:t,fromAttribute(t,e){switch(e){case Boolean:return null!==t&&"false"!==t;case Number:return null===t?null:Number(t)}return t}},render:!0,hasChanged:(t,e)=>e!==t&&(e==e||t==t)};function a(){const t=new Map,e=new Set,n=new Set,a=new Set;return{defineElement:function(i){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(o,s)=>{let{kind:d,name:c,addInitializer:h}=s;h((function(){var s,d,c,h,f;const b=Object.getPrototypeOf(this);if(l(this,"observedAttributes",u(null!==(s=b.observedAttributes)&&void 0!==s?s:[],t.keys())),l(this,"__attributeReflections",new Map([...null!==(d=b.__attributeReflections)&&void 0!==d?d:[],...t])),l(this,"styleTexts",r.styleTexts),l(this,"shadowOptions",!1!==r.shadowOptions?{mode:"open",...r.shadowOptions}:null),l(this,"__tagName",i),l(this,"_dev_only_definedProperties",u(null!==(c=b._dev_only_definedProperties)&&void 0!==c?c:[],e)),l(this,"_dev_only_definedMethods",u(null!==(h=b._dev_only_definedMethods)&&void 0!==h?h:[],n)),l(this,"_dev_only_definedEvents",u(null!==(f=b._dev_only_definedEvents)&&void 0!==f?f:[],a)),customElements.define(i,this),Array.isArray(r.alias))for(const t of r.alias){const e=class extends o{};l(e,"__tagName",t),customElements.define(t,e)}}))}},property:function(n){return function(a,l){let{get:u,set:d}=a,{kind:c,name:h,static:f,private:b}=l;e.add(h);const p=Object.assign({},s,n),v=function(t,e){const n=e.attribute;return!1===n?void 0:"string"==typeof n?n:t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}(h,p);return void 0!==v&&t.set(v,{...p,property:h}),{get(){return void 0!==v&&this[i](v)?p.converter.fromAttribute(this.getAttribute(v),p.type):u.call(this)},set(t){const e=u.call(this);if(d.call(this,t),p.hasChanged(t,e)){if(void 0!==v){const e=p.converter.toAttribute(t,p.type);this[o](!0),null==e?this.removeAttribute(v):this.setAttribute(v,e),this[r](v),this[o](!1)}p.render&&this._requestRender()}},init(t){if(void 0!==v&&p.hasChanged(t,void 0)){const e=p.converter.toAttribute(t,p.type);null!=e&&requestAnimationFrame((()=>{this[i](v)||(this[o](!0),this.setAttribute(v,e),this[o](!1))}))}return t}}}},method:function(t){return function(e,i){let{kind:r,name:o,static:s,private:a,addInitializer:l}=i;null!=t&&t.bound&&l((function(){this[o]=this[o].bind(this)})),n.add(o)}},event:function(t){return function(e,n){let{get:i}=e,{kind:r,name:o,static:s,private:l}=n;const{type:u,...d}=t;return a.add(u),{get(){return i.call(this)},set(){throw new Error("Decorated events are readonly")},init(t){return Object.freeze({emit:t=>this.dispatchEvent(new CustomEvent(u,{...d,detail:t}))})}}}}}}function l(t,e,n){Object.defineProperty(t,e,{get:()=>n,configurable:!0})}function u(t,e){const n=new Set(t);for(const t of e)n.add(t);return[...n]}new Set(["prefix"]);var d=n(918),c=n(4586),h=n(829),f=n(6121),b=new WeakMap,p=new WeakMap,v=new WeakMap,y=new WeakMap;class A extends HTMLElement{constructor(){super(...arguments),(0,d.A)(this,b,!1),(0,d.A)(this,p,!1),(0,d.A)(this,v,!1),(0,d.A)(this,y,new Set)}_markConnectedCallbackCalled(){(0,f.A)(p,this,!0)}connectedCallback(){this._markConnectedCallbackCalled(),this._render()}[i](t){return(0,h.A)(y,this).has(t)}[r](t){(0,h.A)(y,this).add(t)}[o](t){(0,f.A)(v,this,t)}attributeChangedCallback(t,e,n){if((0,h.A)(y,this).add(t),!(0,h.A)(v,this)&&e!==n){const e=this.constructor.__attributeReflections.get(t),i=e.converter.fromAttribute(n,e.type);this[e.property]=i}}_requestRender(){this.isConnected&&(0,h.A)(p,this)&&!(0,h.A)(b,this)&&((0,f.A)(b,this,!0),Promise.resolve().then((()=>{(0,f.A)(b,this,!1),this._render()})))}}let m;function _(){return void 0===m&&(m=!!(window.ShadowRoot&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype)),m}(0,c.A)(A,"styleTexts",void 0),(0,c.A)(A,"shadowOptions",void 0),(0,c.A)(A,"__attributeReflections",void 0),(0,c.A)(A,"__tagName",void 0)},1369:(t,e,n)=>{n.d(e,{A:()=>r});var i=n(7545);function r(t){var e=function(t){if("object"!=(0,i.A)(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=(0,i.A)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==(0,i.A)(e)?e:e+""}},2016:(t,e,n)=>{function i(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(e,{A:()=>i})},2559:(t,e,n)=>{function i(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}n.d(e,{A:()=>i})},4586:(t,e,n)=>{n.d(e,{A:()=>r});var i=n(1369);function r(t,e,n){return(e=(0,i.A)(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},6121:(t,e,n)=>{n.d(e,{A:()=>r});var i=n(2559);function r(t,e,n){return t.set((0,i.A)(t,e),n),n}},7545:(t,e,n)=>{function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}n.d(e,{A:()=>i})}}]);
2
+ //# sourceMappingURL=1045.25d6e587.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chunks/1045.25d6e587.js","mappings":"iKACe,SAASA,EAAuBC,EAAGC,GAChD,OAAOD,EAAEE,KAAI,OAAiBF,EAAGC,GACnC,C,+CCFe,SAASE,EAA2BC,EAAKC,EAAYC,IAClE,OAA0BF,EAAKC,GAC/BA,EAAWE,IAAIH,EAAKE,EACtB,C,4GCJO,MAAME,EAA8BC,OAAOC,IAAI,uBACzCC,EAAkCF,OAAOC,IAAI,2BAC7CE,EAAuCH,OAAOC,IAAI,gCC0BzDG,EAA6B,CACjCC,WAAW,EACXC,KAAMC,OACNC,UA9BuB,CACvBC,YAAW,CAACZ,EAAOS,IACTA,IACDI,QACIb,EAAQ,GAAK,KAEjBA,EAET,aAAAc,CAAcd,EAAOS,GACnB,OAAQA,GACN,KAAKI,QACH,OAAiB,OAAVb,GAA4B,UAAVA,EAC3B,KAAKe,OACH,OAAiB,OAAVf,EAAiB,KAAOe,OAAOf,GAE1C,OAAOA,CACT,GAgBAgB,QAAQ,EACRC,WAVe,CAACjB,EAAOkB,IAEhBA,IAAQlB,IAAUkB,GAAQA,GAAOlB,GAAUA,IAa7C,SAASmB,IACd,MAAMC,EAAuB,IAAIC,IAC3BC,EAAoB,IAAIC,IACxBC,EAAiB,IAAID,IACrBE,EAAgB,IAAIF,IAgO1B,MAAO,CACLG,cAhOF,SAAuBC,GACrB,IAAIC,EAAUC,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,GAAmBA,UAAU,GAAK,CAAC,EACnF,MAAO,CAAC7B,EAAOgC,KACb,IAAI,KACFC,EACAN,KAAMO,EAAS,eACfC,GACEH,EAKJG,GAAe,WACb,IAAIC,EAAuBC,EAAuBC,E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C,EAAE9D,KAAK4D,EAAGI,UAClB,GAAI,WAAY,OAAQH,GAAI,OAAOA,EACnC,MAAM,IAAII,UAAU,+CACtB,CACA,OAAyBrI,OAAiBgI,EAC5C,CDPUG,CAAYH,GACpB,MAAO,WAAY,OAAQC,GAAKA,EAAIA,EAAI,EAC1C,C,iBELe,SAASK,EAA2BlJ,EAAKmJ,GACtD,GAAIA,EAAkBtB,IAAI7H,GACxB,MAAM,IAAIiJ,UAAU,iEAExB,C,iCCJe,SAASG,EAAkBN,EAAGF,EAAGS,GAC9C,GAAI,mBAAqBP,EAAIA,IAAMF,EAAIE,EAAEjB,IAAIe,GAAI,OAAO7G,UAAUC,OAAS,EAAI4G,EAAIS,EACnF,MAAM,IAAIJ,UAAU,gDACtB,C,gECFe,SAASK,EAAgBtJ,EAAKuJ,EAAKrJ,GAYhD,OAXAqJ,GAAM,OAAcA,MACTvJ,EACT4C,OAAO+D,eAAe3G,EAAKuJ,EAAK,CAC9BrJ,MAAOA,EACPsJ,YAAY,EACZ5C,cAAc,EACd6C,UAAU,IAGZzJ,EAAIuJ,GAAOrJ,EAENF,CACT,C,gDCbe,SAAS0J,EAAuB9J,EAAGC,EAAGmJ,GACnD,OAAOpJ,EAAEO,KAAI,OAAiBP,EAAGC,GAAImJ,GAAIA,CAC3C,C,iBCHe,SAASW,EAAQC,GAG9B,OAAOD,EAAU,mBAAqBtJ,QAAU,iBAAmBA,OAAOwJ,SAAW,SAAUD,GAC7F,cAAcA,CAChB,EAAI,SAAUA,GACZ,OAAOA,GAAK,mBAAqBvJ,QAAUuJ,EAAEpC,cAAgBnH,QAAUuJ,IAAMvJ,OAAOoI,UAAY,gBAAkBmB,CACpH,EAAGD,EAAQC,EACb,C","sources":["webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js","webpack:///../../node_modules/@next-core/element/dist/esm/internal/symbols.js","webpack:///../../node_modules/@next-core/element/dist/esm/createDecorators.js","webpack:///../../node_modules/@next-core/element/dist/esm/NextElement.js","webpack:///../../node_modules/@next-core/element/dist/esm/supportsAdoptingStyleSheets.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/assertClassBrand.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/typeof.js"],"sourcesContent":["import assertClassBrand from \"./assertClassBrand.js\";\nexport default function _classPrivateFieldGet2(s, a) {\n return s.get(assertClassBrand(s, a));\n}","import checkPrivateRedeclaration from \"./checkPrivateRedeclaration.js\";\nexport default function _classPrivateFieldInitSpec(obj, privateMap, value) {\n checkPrivateRedeclaration(obj, privateMap);\n privateMap.set(obj, value);\n}","export const symbolOfAttributeHasBeenSet = Symbol.for(\"attributeHasBeenSet\");\nexport const symbolOfMarkAttributeHasBeenSet = Symbol.for(\"markAttributeHasBeenSet\");\nexport const symbolOfStopAttributeChangedCallback = Symbol.for(\"stopAttributeChangedCallback\");\n//# sourceMappingURL=symbols.js.map","import { symbolOfAttributeHasBeenSet, symbolOfMarkAttributeHasBeenSet, symbolOfStopAttributeChangedCallback } from \"./internal/symbols.js\";\nconst defaultConverter = {\n toAttribute(value, type) {\n switch (type) {\n case Boolean:\n return value ? \"\" : null;\n }\n return value;\n },\n fromAttribute(value, type) {\n switch (type) {\n case Boolean:\n return value !== null && value !== \"false\";\n case Number:\n return value === null ? null : Number(value);\n }\n return value;\n }\n};\n\n/**\n * Change function that returns true if `value` is different from `oldValue`.\n * This method is used as the default for a property's `hasChanged` function.\n */\nconst notEqual = (value, old) => {\n // This ensures (old==NaN, value==NaN) always returns false\n return old !== value && (old === old || value === value);\n};\nconst defaultPropertyDeclaration = {\n attribute: true,\n type: String,\n converter: defaultConverter,\n // reflect: true,\n render: true,\n hasChanged: notEqual\n};\n\n// Note: `prefix` is a native prop on Element, but it's only used in XML documents.\nconst allowedNativeProps = new Set([\"prefix\"]);\nexport function createDecorators() {\n const attributeReflections = new Map();\n const definedProperties = new Set();\n const definedMethods = new Set();\n const definedEvents = new Set();\n function defineElement(name) {\n let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return (value, _ref) => {\n let {\n kind,\n name: className,\n addInitializer\n } = _ref;\n // istanbul ignore next\n if (process.env.NODE_ENV === \"development\" && kind !== \"class\") {\n throw new Error(`Invalid usage of \\`@defineElement()\\` on a ${kind}: \"${className}\"`);\n }\n addInitializer(function () {\n var _superClass$observedA, _superClass$__attribu, _superClass$_dev_only, _superClass$_dev_only2, _superClass$_dev_only3;\n const superClass = Object.getPrototypeOf(this);\n const mergedAttributes = mergeIterables((_superClass$observedA = superClass.observedAttributes) !== null && _superClass$observedA !== void 0 ? _superClass$observedA : [], attributeReflections.keys());\n defineReadonlyProperty(this, \"observedAttributes\", mergedAttributes);\n const mergedAttributeReflections = new Map([...((_superClass$__attribu = superClass.__attributeReflections) !== null && _superClass$__attribu !== void 0 ? _superClass$__attribu : []), ...attributeReflections]);\n defineReadonlyProperty(this, \"__attributeReflections\", mergedAttributeReflections);\n defineReadonlyProperty(this, \"styleTexts\", options.styleTexts);\n defineReadonlyProperty(this, \"shadowOptions\", options.shadowOptions !== false ? {\n mode: \"open\",\n ...options.shadowOptions\n } : null);\n defineReadonlyProperty(this, \"__tagName\", name);\n const mergedProperties = mergeIterables((_superClass$_dev_only = superClass._dev_only_definedProperties) !== null && _superClass$_dev_only !== void 0 ? _superClass$_dev_only : [], definedProperties);\n defineReadonlyProperty(this, \"_dev_only_definedProperties\", mergedProperties);\n const mergedMethods = mergeIterables((_superClass$_dev_only2 = superClass._dev_only_definedMethods) !== null && _superClass$_dev_only2 !== void 0 ? _superClass$_dev_only2 : [], definedMethods);\n defineReadonlyProperty(this, \"_dev_only_definedMethods\", mergedMethods);\n const mergedEvents = mergeIterables((_superClass$_dev_only3 = superClass._dev_only_definedEvents) !== null && _superClass$_dev_only3 !== void 0 ? _superClass$_dev_only3 : [], definedEvents);\n defineReadonlyProperty(this, \"_dev_only_definedEvents\", mergedEvents);\n customElements.define(name, this);\n if (Array.isArray(options.alias)) {\n for (const alias of options.alias) {\n // Use a parenthesized expression to make the class has no name.\n const Alias = (\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n 0, class extends value {});\n defineReadonlyProperty(Alias, \"__tagName\", alias);\n customElements.define(alias, Alias);\n }\n }\n });\n };\n }\n function property(options) {\n return function (_ref2, _ref3) {\n let {\n get,\n set\n } = _ref2;\n let {\n kind,\n name,\n static: isStatic,\n private: isPrivate\n } = _ref3;\n // istanbul ignore next\n if (process.env.NODE_ENV !== \"production\") {\n if (kind !== \"accessor\") {\n throw new Error(`Invalid usage of \\`@property()\\` on a ${kind}: \"${String(name)}\"`);\n }\n if (typeof name !== \"string\") {\n throw new Error(`Invalid usage of \\`@property()\\` on a ${kind} of ${typeof name}`);\n }\n if (isStatic) {\n throw new Error(`Invalid usage of \\`@property()\\` on a static ${kind}: \"${name}\"`);\n }\n if (isPrivate) {\n throw new Error(`Invalid usage of \\`@property()\\` on a private ${kind}: \"${name}\"`);\n }\n if (name in HTMLElement.prototype && !allowedNativeProps.has(name)) {\n const message = `\"${name}\" is a native HTMLElement property, and is deprecated to be used as a brick property.`;\n throw new Error(message);\n }\n }\n definedProperties.add(name);\n const _options = Object.assign({}, defaultPropertyDeclaration, options);\n const attrName = attributeNameForProperty(name, _options);\n if (attrName !== undefined) {\n attributeReflections.set(attrName, {\n ..._options,\n property: name\n });\n }\n return {\n get() {\n // If the attribute has been set (not by initialization), returns the\n // value converted by the attribute. Otherwise returns the prop value.\n // This works as a type conversion when reading a prop value.\n if (attrName !== undefined && this[symbolOfAttributeHasBeenSet](attrName)) {\n return _options.converter.fromAttribute(this.getAttribute(attrName), _options.type);\n }\n return get.call(this);\n },\n set(value) {\n const oldValue = get.call(this);\n set.call(this, value);\n if (_options.hasChanged(value, oldValue)) {\n if (attrName !== undefined) {\n const attrValue = _options.converter.toAttribute(value, _options.type);\n this[symbolOfStopAttributeChangedCallback](true);\n if (attrValue == null) {\n this.removeAttribute(attrName);\n } else {\n this.setAttribute(attrName, attrValue);\n }\n this[symbolOfMarkAttributeHasBeenSet](attrName);\n this[symbolOfStopAttributeChangedCallback](false);\n }\n if (_options.render) {\n this._requestRender();\n }\n }\n },\n init(initialValue) {\n if (attrName !== undefined && _options.hasChanged(initialValue, undefined)) {\n const attrValue = _options.converter.toAttribute(initialValue, _options.type);\n if (attrValue != null) {\n // No attributes should be created during constructing custom elements.\n // This is true even if the work is done inside a constructor-initiated microtask.\n // https://html.spec.whatwg.org/multipage/custom-elements.html#custom-element-conformance\n requestAnimationFrame(() => {\n if (!this[symbolOfAttributeHasBeenSet](attrName)) {\n this[symbolOfStopAttributeChangedCallback](true);\n this.setAttribute(attrName, attrValue);\n this[symbolOfStopAttributeChangedCallback](false);\n }\n });\n }\n }\n return initialValue;\n }\n };\n };\n }\n function method(options) {\n return function (_value, _ref4) {\n let {\n kind,\n name,\n static: isStatic,\n private: isPrivate,\n addInitializer\n } = _ref4;\n // istanbul ignore next\n if (process.env.NODE_ENV !== \"production\") {\n if (kind !== \"method\") {\n throw new Error(`Invalid usage of \\`@method()\\` on a ${kind}: \"${String(name)}\"`);\n }\n if (typeof name !== \"string\") {\n throw new Error(`Invalid usage of \\`@method()\\` on a ${kind} of ${typeof name}`);\n }\n if (isStatic) {\n throw new Error(`Invalid usage of \\`@method()\\` on a static ${kind}: \"${name}\"`);\n }\n if (isPrivate) {\n throw new Error(`Invalid usage of \\`@method()\\` on a private ${kind}: \"${name}\"`);\n }\n if (name in HTMLElement.prototype && !allowedNativeProps.has(name)) {\n const message = `\"${name}\" is a native HTMLElement property, and is deprecated to be used as a brick method.`;\n throw new Error(message);\n }\n }\n if (options !== null && options !== void 0 && options.bound) {\n addInitializer(function () {\n this[name] = this[name].bind(this);\n });\n }\n definedMethods.add(name);\n };\n }\n function event(options) {\n return function (_ref5, _ref6) {\n let {\n get\n } = _ref5;\n let {\n kind,\n name,\n static: isStatic,\n private: isPrivate\n } = _ref6;\n // istanbul ignore next\n if (process.env.NODE_ENV !== \"production\") {\n if (kind !== \"accessor\") {\n throw new Error(`Invalid usage of \\`@event()\\` on a ${kind}: \"${String(name)}\"`);\n }\n if (!isPrivate) {\n throw new Error(`Invalid usage of \\`@event()\\` on a non-private ${kind}: \"${String(name)}\"`);\n }\n if (isStatic) {\n throw new Error(`Invalid usage of \\`@event()\\` on a static ${kind}: \"${String(name)}\"`);\n }\n }\n const {\n type,\n ...eventInit\n } = options;\n definedEvents.add(type);\n return {\n get() {\n return get.call(this);\n },\n set() {\n throw new Error(\"Decorated events are readonly\");\n },\n init(initialValue) {\n // istanbul ignore next\n if (process.env.NODE_ENV === \"development\" && initialValue !== undefined) {\n throw new Error(`Do not set an initial value for a decorated event: \"${String(name)}\"`);\n }\n return Object.freeze({\n emit: detail => this.dispatchEvent(new CustomEvent(type, {\n ...eventInit,\n detail\n }))\n });\n }\n };\n };\n }\n return {\n defineElement,\n property,\n method,\n event\n };\n}\nfunction defineReadonlyProperty(target, propName, propValue) {\n Object.defineProperty(target, propName, {\n get() {\n return propValue;\n },\n configurable: true\n });\n}\nfunction mergeIterables(list1, list2) {\n const newList = new Set(list1);\n for (const item of list2) {\n newList.add(item);\n }\n return [...newList];\n}\nfunction attributeNameForProperty(name, options) {\n const attribute = options.attribute;\n return attribute === false ? undefined : typeof attribute === \"string\" ? attribute : name.replace(/[A-Z]/g, char => `-${char.toLowerCase()}`);\n}\n//# sourceMappingURL=createDecorators.js.map","import _classPrivateFieldInitSpec from \"@babel/runtime/helpers/classPrivateFieldInitSpec\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _classPrivateFieldGet from \"@babel/runtime/helpers/classPrivateFieldGet2\";\nimport _classPrivateFieldSet from \"@babel/runtime/helpers/classPrivateFieldSet2\";\nimport { symbolOfAttributeHasBeenSet, symbolOfMarkAttributeHasBeenSet, symbolOfStopAttributeChangedCallback } from \"./internal/symbols.js\";\nvar _hasRequestedRender = /*#__PURE__*/new WeakMap();\nvar _connectedCallbackCalled = /*#__PURE__*/new WeakMap();\nvar _attributeChangedCallbackStopped = /*#__PURE__*/new WeakMap();\nvar _attributesBeenSet = /*#__PURE__*/new WeakMap();\nexport class NextElement extends HTMLElement {\n constructor() {\n super(...arguments);\n _classPrivateFieldInitSpec(this, _hasRequestedRender, false);\n _classPrivateFieldInitSpec(this, _connectedCallbackCalled, false);\n _classPrivateFieldInitSpec(this, _attributeChangedCallbackStopped, false);\n _classPrivateFieldInitSpec(this, _attributesBeenSet, new Set());\n }\n /**\n * When render a custom element as parsed DOM, it is already connected in the\n * first place. The attributes are set while isConnected is true, which will\n * trigger a render request, and then before the next micro-task, the\n * `connectedCallback` will be called, which will trigger an immediate render.\n * Thus we would see two calls of render. So we manually set a mark of whether\n * the `connectedCallback` is actually get called, to prevent a trigger of\n * render request during attributes initialization before `connectedCallback`.\n */\n _markConnectedCallbackCalled() {\n _classPrivateFieldSet(_connectedCallbackCalled, this, true);\n }\n connectedCallback() {\n this._markConnectedCallbackCalled();\n this._render();\n }\n [symbolOfAttributeHasBeenSet](name) {\n return _classPrivateFieldGet(_attributesBeenSet, this).has(name);\n }\n [symbolOfMarkAttributeHasBeenSet](name) {\n _classPrivateFieldGet(_attributesBeenSet, this).add(name);\n }\n\n /** Whether to process attributeChangedCallback. */\n [symbolOfStopAttributeChangedCallback](value) {\n _classPrivateFieldSet(_attributeChangedCallbackStopped, this, value);\n }\n\n /** @internal */\n attributeChangedCallback(name, old, value) {\n _classPrivateFieldGet(_attributesBeenSet, this).add(name);\n if (!_classPrivateFieldGet(_attributeChangedCallbackStopped, this) && old !== value) {\n const attrRef = this.constructor.__attributeReflections.get(name);\n assertAttributeIsReflected(attrRef, name);\n const propValue = attrRef.converter.fromAttribute(value, attrRef.type);\n this[attrRef.property] = propValue;\n }\n }\n\n /**\n * Request a render in the next micro-task. This ensures multiple properties\n * or attributes will trigger a render once in a batch.\n */\n _requestRender() {\n // If the element is not connected,\n // let `connectedCallback()` do the job of calling _render.\n if (this.isConnected && _classPrivateFieldGet(_connectedCallbackCalled, this) && !_classPrivateFieldGet(_hasRequestedRender, this)) {\n _classPrivateFieldSet(_hasRequestedRender, this, true);\n Promise.resolve().then(() => {\n _classPrivateFieldSet(_hasRequestedRender, this, false);\n this._render();\n });\n }\n }\n}\n_defineProperty(NextElement, \"styleTexts\", void 0);\n_defineProperty(NextElement, \"shadowOptions\", void 0);\n_defineProperty(NextElement, \"__attributeReflections\", void 0);\n_defineProperty(NextElement, \"__tagName\", void 0);\nfunction assertAttributeIsReflected(attrRef, name) {\n // istanbul ignore next\n if (process.env.NODE_ENV === \"development\" && !attrRef) {\n throw new Error(`Attribute [${name}] is not reflected`);\n }\n}\n//# sourceMappingURL=NextElement.js.map","let supports;\nexport function supportsAdoptingStyleSheets() {\n if (supports === undefined) {\n supports = !!(window.ShadowRoot &&\n // (window.ShadyCSS === undefined || window.ShadyCSS.nativeShadow) &&\n \"adoptedStyleSheets\" in Document.prototype && \"replace\" in CSSStyleSheet.prototype);\n }\n return supports;\n}\n//# sourceMappingURL=supportsAdoptingStyleSheets.js.map","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : i + \"\";\n}","import _typeof from \"./typeof.js\";\nexport default function toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}","export default function _checkPrivateRedeclaration(obj, privateCollection) {\n if (privateCollection.has(obj)) {\n throw new TypeError(\"Cannot initialize the same private elements twice on an object\");\n }\n}","export default function _assertClassBrand(e, t, n) {\n if (\"function\" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n;\n throw new TypeError(\"Private element is not present on this object\");\n}","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","import assertClassBrand from \"./assertClassBrand.js\";\nexport default function _classPrivateFieldSet2(s, a, r) {\n return s.set(assertClassBrand(s, a), r), r;\n}","export default function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}"],"names":["_classPrivateFieldGet2","s","a","get","_classPrivateFieldInitSpec","obj","privateMap","value","set","symbolOfAttributeHasBeenSet","Symbol","for","symbolOfMarkAttributeHasBeenSet","symbolOfStopAttributeChangedCallback","defaultPropertyDeclaration","attribute","type","String","converter","toAttribute","Boolean","fromAttribute","Number","render","hasChanged","old","createDecorators","attributeReflections","Map","definedProperties","Set","definedMethods","definedEvents","defineElement","name","options","arguments","length","undefined","_ref","kind","className","addInitializer","_superClass$observedA","_superClass$__attribu","_superClass$_dev_only","_superClass$_dev_only2","_superClass$_dev_only3","superClass","Object","getPrototypeOf","this","defineReadonlyProperty","mergeIterables","observedAttributes","keys","__attributeReflections","styleTexts","shadowOptions","mode","_dev_only_definedProperties","_dev_only_definedMethods","_dev_only_definedEvents","customElements","define","Array","isArray","alias","Alias","property","_ref2","_ref3","static","isStatic","private","isPrivate","add","_options","assign","attrName","replace","char","toLowerCase","attributeNameForProperty","getAttribute","call","oldValue","attrValue","removeAttribute","setAttribute","_requestRender","init","initialValue","requestAnimationFrame","method","_value","_ref4","bound","bind","event","_ref5","_ref6","eventInit","Error","freeze","emit","detail","dispatchEvent","CustomEvent","target","propName","propValue","defineProperty","configurable","list1","list2","newList","item","_hasRequestedRender","WeakMap","_connectedCallbackCalled","_attributeChangedCallbackStopped","_attributesBeenSet","NextElement","HTMLElement","constructor","super","_markConnectedCallbackCalled","connectedCallback","_render","has","attributeChangedCallback","attrRef","isConnected","Promise","resolve","then","supports","supportsAdoptingStyleSheets","window","ShadowRoot","Document","prototype","CSSStyleSheet","toPropertyKey","t","i","e","toPrimitive","r","TypeError","_checkPrivateRedeclaration","privateCollection","_assertClassBrand","n","_defineProperty","key","enumerable","writable","_classPrivateFieldSet2","_typeof","o","iterator"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(globalThis.webpackChunk_next_bricks_ai=globalThis.webpackChunk_next_bricks_ai||[]).push([[1055],{855:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},935:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var c=0;c<this.length;c++){var s=this[c][0];null!=s&&(i[s]=!0)}for(var u=0;u<e.length;u++){var p=[].concat(e[u]);r&&i[p[0]]||(void 0!==a&&(void 0===p[5]||(p[1]="@layer".concat(p[5].length>0?" ".concat(p[5]):""," {").concat(p[1],"}")),p[5]=a),n&&(p[2]?(p[1]="@media ".concat(p[2]," {").concat(p[1],"}"),p[2]=n):p[2]=n),o&&(p[4]?(p[1]="@supports (".concat(p[4],") {").concat(p[1],"}"),p[4]=o):p[4]="".concat(o)),t.push(p))}},t}},1740:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var a=n.sourceMap;a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},2591:e=>{var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var a={},i=[],c=0;c<e.length;c++){var s=e[c],u=r.base?s[0]+r.base:s[0],p=a[u]||0,f="".concat(u," ").concat(p);a[u]=p+1;var l=n(f),d={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==l)t[l].references++,t[l].updater(d);else{var v=o(d,r);r.byIndex=c,t.splice(c,0,{identifier:f,updater:v,references:1})}i.push(f)}return i}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var a=r(e=e||[],o=o||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var c=n(a[i]);t[c].references--}for(var s=r(e,o),u=0;u<a.length;u++){var p=n(a[u]);0===t[p].references&&(t[p].updater(),t.splice(p,1))}a=s}}},3051:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},3656:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},6758:e=>{e.exports=function(e){return e[1]}},8128:e=>{var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}}}]);
2
+ //# sourceMappingURL=1055.b2aa915a.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chunks/1055.b2aa915a.js","mappings":"6HASAA,EAAOC,QANP,SAAwCC,GACtC,IAAIC,EAAmD,KACnDA,GACFD,EAAaE,aAAa,QAASD,EAEvC,C,UCFAH,EAAOC,QAAU,SAAUI,GACzB,IAAIC,EAAO,GA4EX,OAzEAA,EAAKC,SAAW,WACd,OAAOC,KAAKC,KAAI,SAAUC,GACxB,IAAIC,EAAU,GACVC,OAA+B,IAAZF,EAAK,GAoB5B,OAnBIA,EAAK,KACPC,GAAW,cAAcE,OAAOH,EAAK,GAAI,QAEvCA,EAAK,KACPC,GAAW,UAAUE,OAAOH,EAAK,GAAI,OAEnCE,IACFD,GAAW,SAASE,OAAOH,EAAK,GAAGI,OAAS,EAAI,IAAID,OAAOH,EAAK,IAAM,GAAI,OAE5EC,GAAWN,EAAuBK,GAC9BE,IACFD,GAAW,KAETD,EAAK,KACPC,GAAW,KAETD,EAAK,KACPC,GAAW,KAENA,CACT,IAAGI,KAAK,GACV,EAGAT,EAAKU,EAAI,SAAWC,EAASC,EAAOC,EAAQC,EAAUC,GAC7B,iBAAZJ,IACTA,EAAU,CAAC,CAAC,KAAMA,OAASK,KAE7B,IAAIC,EAAyB,CAAC,EAC9B,GAAIJ,EACF,IAAK,IAAIK,EAAI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EAAS1C,EAAQA,SACzB0C,CACT,C,WCKAtE,EAAOC,QAVP,SAA2BiC,EAAKhC,GAC9B,GAAIA,EAAayE,WACfzE,EAAayE,WAAWC,QAAU1C,MAC7B,CACL,KAAOhC,EAAa2E,YAClB3E,EAAa0C,YAAY1C,EAAa2E,YAExC3E,EAAa4E,YAAYjD,SAASkD,eAAe7C,GACnD,CACF,C,WCVAlC,EAAOC,QAAU,SAAUe,GACzB,OAAOA,EAAE,EACX,C,WCFA,IAAIgE,EAAO,CAAC,EA+BZhF,EAAOC,QAPP,SAA0ByE,EAAQO,GAChC,IAAIC,EAtBN,SAAmBA,GACjB,QAA4B,IAAjBF,EAAKE,GAAyB,CACvC,IAAIC,EAActD,SAASuD,cAAcF,GAGzC,GAAIG,OAAOC,mBAAqBH,aAAuBE,OAAOC,kBAC5D,IAGEH,EAAcA,EAAYI,gBAAgBC,IAC5C,CAAE,MAAOC,GAEPN,EAAc,IAChB,CAEFH,EAAKE,GAAUC,CACjB,CACA,OAAOH,EAAKE,EACd,CAIeQ,CAAUhB,GACvB,IAAKQ,EACH,MAAM,IAAIS,MAAM,2GAElBT,EAAOJ,YAAYG,EACrB,C","sources":["webpack:///../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack:///../../node_modules/css-loader/dist/runtime/api.js","webpack:///../../node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack:///../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack:///../../node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack:///../../node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack:///../../node_modules/css-loader/dist/runtime/noSourceMaps.js","webpack:///../../node_modules/style-loader/dist/runtime/insertBySelector.js"],"sourcesContent":["\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\"use strict\";\n\n/* istanbul ignore next */\nfunction apply(styleElement, options, obj) {\n var css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n var sourceMap = obj.sourceMap;\n if (sourceMap && typeof btoa !== \"undefined\") {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n }\n\n // For old IE\n /* istanbul ignore if */\n options.styleTagTransform(css, styleElement, options.options);\n}\nfunction removeStyleElement(styleElement) {\n // istanbul ignore if\n if (styleElement.parentNode === null) {\n return false;\n }\n styleElement.parentNode.removeChild(styleElement);\n}\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") {\n return {\n update: function update() {},\n remove: function remove() {}\n };\n }\n var styleElement = options.insertStyleElement(options);\n return {\n update: function update(obj) {\n apply(styleElement, options, obj);\n },\n remove: function remove() {\n removeStyleElement(styleElement);\n }\n };\n}\nmodule.exports = domAPI;","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;","\"use strict\";\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n styleElement.appendChild(document.createTextNode(css));\n }\n}\nmodule.exports = styleTagTransform;","\"use strict\";\n\nmodule.exports = function (i) {\n return i[1];\n};","\"use strict\";\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;"],"names":["module","exports","styleElement","nonce","setAttribute","cssWithMappingToString","list","toString","this","map","item","content","needLayer","concat","length","join","i","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","id","_k","push","options","document","update","remove","insertStyleElement","obj","css","sourceMap","btoa","unescape","encodeURIComponent","JSON","stringify","styleTagTransform","apply","parentNode","removeChild","removeStyleElement","stylesInDOM","getIndexByIdentifier","identifier","result","modulesToDom","idCountMap","identifiers","base","count","indexByIdentifier","references","updater","addElementStyle","byIndex","splice","api","domAPI","newObj","lastIdentifiers","newList","index","newLastIdentifiers","_i","_index","element","createElement","setAttributes","attributes","insert","styleSheet","cssText","firstChild","appendChild","createTextNode","memo","style","target","styleTarget","querySelector","window","HTMLIFrameElement","contentDocument","head","e","getTarget","Error"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(globalThis.webpackChunk_next_bricks_ai=globalThis.webpackChunk_next_bricks_ai||[]).push([[1122],{1122:(e,n,t)=>{t.r(n),t.d(n,{__dev_only_clearGlobalExecutionContextStack:()=>W,__dev_only_getGlobalExecutionContextStack:()=>q,clearExpressionASTCache:()=>ae,clearFunctionASTCache:()=>ee,cook:()=>G,isEvaluable:()=>re,isTrackAll:()=>oe,precook:()=>K,precookFunction:()=>Y,preevaluate:()=>te,shouldAllowRecursiveEvaluations:()=>ie});var r=t(4586);let i=function(e){return e[e.LEXICAL=0]="LEXICAL",e[e.STRICT=1]="STRICT",e}({});const o=Symbol.for("SourceNode"),a=Symbol.for("FormalParameters"),s=Symbol.for("ECMAScriptCode"),c=Symbol.for("Environment"),l=Symbol.for("IsConstructor"),u=Symbol.for("ThisMode"),d=Symbol.for("$DebuggerCall$"),f=Symbol.for("$DebuggerScope$"),y=Symbol.for("$DebuggerNode$"),p=Symbol.for("$DebuggerReturn$");class m{constructor(){(0,r.A)(this,"VariableEnvironment",void 0),(0,r.A)(this,"LexicalEnvironment",void 0),(0,r.A)(this,"Function",void 0)}}let v=function(e){return e[e.UNINITIALIZED=0]="UNINITIALIZED",e[e.LEXICAL=1]="LEXICAL",e[e.INITIALIZED=2]="INITIALIZED",e}({});class g{constructor(e){(0,r.A)(this,"OuterEnv",void 0),(0,r.A)(this,"bindingMap",new Map),(0,r.A)(this,"ThisValue",void 0),(0,r.A)(this,"ThisBindingStatus",void 0),this.OuterEnv=e}HasBinding(e){return this.bindingMap.has(e)}CreateMutableBinding(e,n){return this.bindingMap.set(e,{mutable:!0,deletable:n}),x(void 0)}CreateImmutableBinding(e,n){return this.bindingMap.set(e,{strict:n}),x(void 0)}InitializeBinding(e,n){const t=this.bindingMap.get(e);return Object.assign(t,{initialized:!0,value:n}),x(void 0)}SetMutableBinding(e,n,t){const r=this.bindingMap.get(e);if(!r.initialized)throw new ReferenceError(`${e} is not initialized`);if(!r.mutable)throw new TypeError("Assignment to constant variable");return r.value=n,x(void 0)}GetBindingValue(e,n){const t=this.bindingMap.get(e);if(!t.initialized)throw new ReferenceError(`${e} is not initialized`);return t.value}HasThisBinding(){return!1}}class h extends g{}class b extends g{constructor(e){super(e[c]),e[u]===i.LEXICAL?this.ThisBindingStatus=v.LEXICAL:this.ThisBindingStatus=v.UNINITIALIZED}HasThisBinding(){return this.ThisBindingStatus!==v.LEXICAL}BindThisValue(e){if(this.ThisBindingStatus===v.INITIALIZED)throw new Error("This binding has been initialized");this.ThisValue=e,this.ThisBindingStatus=v.INITIALIZED}GetThisBinding(){if(this.ThisBindingStatus===v.UNINITIALIZED)throw new Error("This binding is not initialized");return this.ThisValue}}class E{constructor(e,n,t){(0,r.A)(this,"Base",void 0),(0,r.A)(this,"ReferenceName",void 0),(0,r.A)(this,"Strict",void 0),this.Base=e,this.ReferenceName=n,this.Strict=t}}class w{constructor(e,n){(0,r.A)(this,"Type",void 0),(0,r.A)(this,"Value",void 0),this.Type=e,this.Value=n}}function x(e){return new w("normal",e)}const S=Symbol("empty completion");function A(e){const n=new Set,t=e=>{if(Array.isArray(e))for(const n of e)t(n);else if(e)switch(e.type){case"Identifier":return void n.add(e.name);case"VariableDeclaration":return t(e.declarations);case"VariableDeclarator":case"FunctionDeclaration":return t(e.id);case"ArrayPattern":return t(e.elements);case"AssignmentPattern":return t(e.left);case"ObjectPattern":return t(e.properties);case"Property":return t(e.value);case"RestElement":return t(e.argument)}};return t(e),Array.from(n)}function L(e){const n=e=>{if(Array.isArray(e))return e.some(n);if(e)switch(e.type){case"ArrayPattern":return n(e.elements);case"AssignmentPattern":return!0;case"ObjectPattern":return n(e.properties);case"Property":return e.computed||n(e.value);case"RestElement":return n(e.argument)}};return n(e)}function B(e,n){const t=[],r={var:n.var},i=(e,n)=>{if(Array.isArray(e))for(const t of e)i(t,n);else if(e){switch(e.type){case"FunctionDeclaration":return void(Number(!n.var)^Number(n.topLevel)&&t.push(e));case"VariableDeclaration":return void(Number(!n.var)^Number("var"===e.kind)&&t.push(e));case"SwitchCase":return void i(e.consequent,r);case"CatchClause":return void i(e.body,r)}if(n.var)switch(e.type){case"BlockStatement":case"DoWhileStatement":case"WhileStatement":return void i(e.body,r);case"IfStatement":return i(e.consequent,r),void i(e.alternate,r);case"ForStatement":return i(e.init,r),void i(e.body,r);case"ForInStatement":case"ForOfStatement":return i(e.left,r),void i(e.body,r);case"SwitchStatement":return void i(e.cases,r);case"TryStatement":return i(e.block,r),i(e.handler,r),void i(e.finalizer,r)}}};return i(e,n),t}function I(e){return"unresolvable"!==e.Base&&!(e.Base instanceof g)}function T(e,n){return e.Base.InitializeBinding(e.ReferenceName,n)}function C(e,n,t){if(null==n)return e;const r=Object.getOwnPropertyNames(n).concat(Object.getOwnPropertySymbols(n));for(const i of r)if(!t.has(i)){const t=Object.getOwnPropertyDescriptor(n,i);null!=t&&t.enumerable&&(e[i]=n[i])}return e}function k(e,n){const t="const"===e.kind;for(const r of A(e))t?n.CreateImmutableBinding(r,!0):n.CreateMutableBinding(r,!1)}function V(e){return"normal"===e.Type||"continue"==e.Type}function P(e,n){return e.Value!==S?e:new w(e.Type,n)}function O(e){if(e instanceof w&&(e=e.Value),!(e instanceof E))return e;if("unresolvable"===e.Base)throw new ReferenceError(`${e.ReferenceName} is not defined`);return e.Base instanceof g?e.Base.GetBindingValue(e.ReferenceName,e.Strict):e.Base[e.ReferenceName]}function F(e){return"symbol"==typeof e?e:String(e)}function j(e,n){return e[n]}function D(e,n){if("unresolvable"===e.Base)throw new ReferenceError(`${e.ReferenceName} is not defined`);return e.Base instanceof g?e.Base.SetMutableBinding(e.ReferenceName,n,e.Strict):(e.Base[e.ReferenceName]=n,x(void 0))}function M(e){if(n=e,!(Array.isArray(n)||null!=n&&"function"==typeof n[Symbol.iterator]))throw new TypeError(typeof e+" is not iterable");var n;return e[Symbol.iterator]()}function R(e){if(null==e)throw new TypeError("Cannot destructure properties of undefined or null")}function N(e,n,t){return e?e.HasBinding(n)?new E(e,n,t):N(e.OuterEnv,n,t):new E("unresolvable",n,t)}function $(e,n,t){switch(n){case"+":return e+t;case"-":return e-t;case"/":return e/t;case"%":return e%t;case"*":return e*t;case"**":return e**t;case"==":return e==t;case"===":return e===t;case"!=":return e!=t;case"!==":return e!==t;case">":return e>t;case"<":return e<t;case">=":return e>=t;case"<=":return e<=t;case"in":return e in t}throw new SyntaxError(`Unsupported binary operator \`${n}\``)}const z=new WeakSet([Function,Object,Function.prototype,Object.prototype,function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw new Error("unable to locate global object")}()]),_=new WeakSet([Array,Map,Set,URL,URLSearchParams,WeakMap,WeakSet,RegExp]),U=[];function W(){U.length=0}function q(){return U}function G(e,n){var t;let{rules:r,debug:v,externalSourceForDebug:g,globalVariables:W={},ArrayConstructor:q=Array,hooks:G={}}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const Z="FunctionDeclaration"!==e.type;function H(e){g||function(e){if(z.has(e))throw new TypeError("Cannot access reserved objects such as `Function`.")}(e)}const K=new h(null),J=new m;J.VariableEnvironment=K,J.LexicalEnvironment=K;const Q=[J];for(const[e,n]of Object.entries(W))K.CreateImmutableBinding(e,!0),K.InitializeBinding(e,n);const Y=new WeakMap;let ee;function*ne(e,t,r){var i,o;switch(null===(i=G.beforeEvaluate)||void 0===i||i.call(G,e),ee=e,v&&(r||e.type.endsWith("Statement")&&("ExpressionStatement"!==e.type||"CallExpression"!==e.expression.type&&"TaggedTemplateExpression"!==e.expression.type)&&"TryStatement"!==e.type&&"BlockStatement"!==e.type&&"DoWhileStatement"!==e.type&&"WhileStatement"!==e.type&&"ForStatement"!==e.type&&"ForInStatement"!==e.type&&"ForOfStatement"!==e.type)&&(yield),e.type){case"ArrayExpression":{const n=new q;for(const t of e.elements)if(t)if("SpreadElement"===t.type){const e=O(yield*ne(t.argument));n.push(...e)}else n.push(O(yield*ne(t)));else n.length+=1;return x(n)}case"ArrowFunctionExpression":return Te(e),x(Ee(e));case"BinaryExpression":{const t=O(yield*ne(e.left)),r=yield*ne(e.right),i=O(r);if(Z&&"|>"===e.operator){if("function"!=typeof i){const t=n.substring(e.right.start,e.right.end);throw new TypeError(`${t} is not a function`)}let o;return r instanceof E&&I(r)&&(o=r.Base),x(i.call(o,t))}return x($(t,e.operator,i))}case"CallExpression":{const n=(yield*ne(e.callee,t)).Value,r=O(n);return null==r&&(e.optional||null!=t&&t.skipped)?(t.skipped=!0,x(void 0)):(H(r),v&&(yield),yield*fe(r,n,e.arguments,e.callee))}case"ChainExpression":return yield*ne(e.expression,{});case"ConditionalExpression":return x(O(yield*ne(O(yield*ne(e.test))?e.consequent:e.alternate)));case"Identifier":return x(re(e.name));case"Literal":if(e.regex){if(null===e.value)throw new SyntaxError(`Invalid regular expression: ${e.raw}`);if(e.regex.flags.includes("u"))throw new SyntaxError(`Unsupported unicode flag in regular expression: ${e.raw}`);return x(new RegExp(e.regex.pattern,e.regex.flags))}return x(e.value);case"LogicalExpression":{const n=O(yield*ne(e.left));switch(e.operator){case"&&":return x(n&&O(yield*ne(e.right)));case"||":return x(n||O(yield*ne(e.right)));case"??":return x(null!=n?n:O(yield*ne(e.right)));default:throw new SyntaxError(`Unsupported logical operator '${e.operator}'`)}}case"MemberExpression":{const n=O((yield*ne(e.object,t)).Value);if(null==n&&(e.optional||null!=t&&t.skipped))return t.skipped=!0,x(void 0);H(n);const r=e.computed?yield*function*(e,n){const t=F(O(yield*ne(n)));return new E(e,t,!0)}(n,e.property):function(e,n){ee=n;const t=n.name;return new E(e,t,!0)}(n,e.property);return H(r),x(r)}case"NewExpression":return yield*function*(e,t){const r=O(yield*ne(e)),i=yield*ye(t);if("function"!=typeof r||!1===r[l]){const t=n.substring(e.start,e.end);throw new TypeError(`${t} is not a constructor`)}if(!g&&!function(e){return _.has(e)||e===Date}(r)&&r!==q){const t=n.substring(e.start,e.end);throw new TypeError(`${t} is not an allowed constructor`)}return x(new r(...i))}(e.callee,e.arguments);case"ObjectExpression":{const n={};for(const t of e.properties)if("SpreadElement"===t.type)C(n,O(yield*ne(t.argument)),new Set);else{if("init"!==t.kind)throw new SyntaxError("Unsupported object getter/setter");const e=t.computed||"Identifier"!==t.key.type?yield*Ae(t.key):t.key.name;if("__proto__"===e)throw new TypeError("Setting '__proto__' property is not allowed");const r=O(yield*ne(t.value));t.method&&"function"==typeof r&&we(r,e),n[e]=r}return x(n)}case"SequenceExpression":{let n;for(const t of e.expressions)n=x(O(yield*ne(t)));return n}case"TemplateLiteral":{const n=[e.quasis[0].value.cooked];let t=0;for(const r of e.expressions){const i=O(yield*ne(r));n.push(String(i)),n.push(e.quasis[t+=1].value.cooked)}return x(n.join(""))}case"TaggedTemplateExpression":{const n=(yield*ne(e.tag)).Value,t=O(n);return H(t),v&&(yield),yield*fe(t,n,e.quasi,e.tag)}case"UnaryExpression":{const n=(yield*ne(e.argument)).Value;if(!Z&&"delete"===e.operator){if(!(n instanceof E))return x(!0);if(I(n))return x(delete n.Base[n.ReferenceName])}return"typeof"===e.operator?n instanceof E&&"unresolvable"===n.Base?x("undefined"):x(typeof O(n)):x(function(e,n){switch(n){case"!":return!e;case"+":return+e;case"-":return-e;case"void":return}throw new SyntaxError(`Unsupported unary operator \`${n}\``)}(O(n),e.operator))}}if(!Z)switch(e.type){case"AssignmentExpression":{if("="===e.operator){if("ArrayPattern"!==e.left.type&&"ObjectPattern"!==e.left.type){const n=(yield*ne(e.left)).Value;let t;return t=ve(e.right)&&"Identifier"===e.left.type?ge(e.right,e.left.name):O(yield*ne(e.right)),D(n,t),x(t)}const n=O(yield*ne(e.right));return yield*ce(e.left,n),x(n)}const n=(yield*ne(e.left)).Value,t=O(n),r=O(yield*ne(e.right)),i=function(e,n,t){switch(n){case"+=":case"-=":case"*=":case"/=":case"%=":case"**=":return $(e,n.substr(0,n.length-1),t)}throw new SyntaxError(`Unsupported assignment operator \`${n}\``)}(t,e.operator,r);return D(n,i),x(i)}case"BlockStatement":{if(!e.body.length)return x(S);const n=te().LexicalEnvironment,t=new h(n);de(e.body,t),te().LexicalEnvironment=t;const r=yield*me(e.body);return te().LexicalEnvironment=n,r}case"BreakStatement":return new w("break",S);case"ContinueStatement":return new w("continue",S);case"EmptyStatement":case"FunctionDeclaration":return x(S);case"DoWhileStatement":return ie(yield*function*(e){let n;for(;;){const t=yield*ne(e.body);if(!V(t))return P(t,n);if(t.Value!==S&&(n=t.Value),!O(yield*ne(e.test,void 0,!0)))return x(n)}}(e));case"ExpressionStatement":case"TSAsExpression":return yield*ne(e.expression);case"ForInStatement":case"ForOfStatement":return ie(yield*function*(e){const n=e.left,t="VariableDeclaration"===n.type?"var"===n.kind?"varBinding":"lexicalBinding":"assignment",r="lexicalBinding"===t?A(n):[],i="ForInStatement"===e.type?"enumerate":"iterate",o=yield*function*(e,n,t){const r=te(),i=r.LexicalEnvironment;if(e.length>0){const n=new h(i);for(const t of e)n.CreateMutableBinding(t,!1);r.LexicalEnvironment=n}const o=yield*ne(n,void 0,!0);r.LexicalEnvironment=i;const a=O(o);return"enumerate"===t?null==a?new w("break",S):x(function*(e){for(const n in e)yield n}(a)):x(M(a))}(r,e.right,i);return"normal"!==o.Type?o:yield*function*(e,n,t,r,i){const o="assignment"===i?e:e.declarations[0].id,a=te().LexicalEnvironment;let s;const c="ObjectPattern"===o.type||"ArrayPattern"===o.type;for(;;){ee=o;const{done:l,value:u}=t.next();if(l)return v&&(yield),x(s);let d,f;if("lexicalBinding"===i){if(f=new h(a),k(e,f),te().LexicalEnvironment=f,v&&(yield),!c){const[e]=A(o);d=re(e)}}else v&&(yield),c||(d=(yield*ne(o)).Value);c?"assignment"===i?yield*ce(o,u):"varBinding"===i?yield*Se(o,u,void 0):yield*Se(o,u,f):"lexicalBinding"===i?T(d,u):D(d,u);const y=yield*ne(n);if(te().LexicalEnvironment=a,!V(y)){const e=P(y,s);if("enumerate"!==r&&void 0!==t.return){const e=t.return();if(!e||!["object","function"].includes(typeof e))throw new TypeError("Iterator result is not an object")}return e}y.Value!==S&&(s=y.Value)}}(n,e.body,o.Value,i,t)}(e));case"ForStatement":return ie(yield*function*(e){var n;if("VariableDeclaration"===(null===(n=e.init)||void 0===n?void 0:n.type)){if("var"===e.init.kind)return yield*ne(e.init),yield*ae(e.test,e.update,e.body,[]);const n=te().LexicalEnvironment,t=new h(n),r="const"===e.init.kind,i=A(e.init);for(const e of i)r?t.CreateImmutableBinding(e,!0):t.CreateMutableBinding(e,!1);te().LexicalEnvironment=t,yield*ne(e.init);const o=r?[]:Array.from(i),a=yield*ae(e.test,e.update,e.body,o);return te().LexicalEnvironment=n,a}return e.init&&O(yield*ne(e.init)),yield*ae(e.test,e.update,e.body,[])}(e));case"FunctionExpression":return Te(e),x(be(e));case"IfStatement":var a;return O(yield*ne(e.test))?(null===(a=G.beforeBranch)||void 0===a||a.call(G,e,"if"),P(yield*ne(e.consequent),void 0)):(null===(o=G.beforeBranch)||void 0===o||o.call(G,e,"else"),e.alternate?P(yield*ne(e.alternate),void 0):x(void 0));case"ReturnStatement":{let n;return e.argument&&(n=O(yield*ne(e.argument))),new w("return",n)}case"ThisExpression":if(!g)break;return x(function(){let e=te().LexicalEnvironment;for(;e;){if(e.HasThisBinding())return e;e=e.OuterEnv}throw new Error("Accessing global this is forbidden")}().GetThisBinding());case"ThrowStatement":throw O(yield*ne(e.argument));case"UpdateExpression":{const n=(yield*ne(e.argument)).Value,t=Number(O(n)),r="++"===e.operator?t+1:t-1;return D(n,r),x(e.prefix?r:t)}case"SwitchCase":return yield*me(e.consequent);case"SwitchStatement":{const n=O(yield*ne(e.discriminant)),t=te().LexicalEnvironment,r=new h(t);de(e.cases,r),te().LexicalEnvironment=r;const i=yield*function*(e,n){let t;const r=e.findIndex((e=>!e.test)),i=r>=0,o=i?e.slice(0,r):e;let a=!1;for(const e of o)if(a||(a=yield*oe(e,n)),a){const n=yield*ne(e);if(n.Value!==S&&(t=n.Value),"normal"!==n.Type)return P(n,t)}if(!i)return x(t);let s=!1;const c=e.slice(r+1);if(!a)for(const e of c)if(s||(s=yield*oe(e,n)),s){const n=yield*ne(e);if(n.Value!==S&&(t=n.Value),"normal"!==n.Type)return P(n,t)}if(s)return x(t);const l=yield*ne(e[r]);if(l.Value!==S&&(t=l.Value),"normal"!==l.Type)return P(l,t);for(const e of c){const n=yield*ne(e);if(n.Value!==S&&(t=n.Value),"normal"!==n.Type)return P(n,t)}return x(t)}(e.cases,n);return te().LexicalEnvironment=t,ie(i)}case"TryStatement":{let n;try{n=yield*ne(e.block)}catch(t){if(!e.handler)throw t;var s;ee=e.handler,null===(s=G.beforeEvaluate)||void 0===s||s.call(G,e.handler),n=yield*function*(e,n){if(!e.param)return yield*ne(e.body);const t=te().LexicalEnvironment,r=new h(t);for(const n of A(e.param))r.CreateMutableBinding(n,!1);te().LexicalEnvironment=r,yield*Se(e.param,n,r);const i=yield*ne(e.body);return te().LexicalEnvironment=t,i}(e.handler,t)}finally{if(e.finalizer){const t=yield*ne(e.finalizer);"normal"!==t.Type&&(n=t)}}return n}case"VariableDeclaration":{let n;for(const t of e.declarations)if(ee=t,t.init)if("Identifier"===t.id.type){ee=t.init,v&&"CallExpression"!==ee.type&&"TaggedTemplateExpression"!==ee.type&&(yield);const r=t.id.name,i=re(r);let o;o=ve(t.init)?ge(t.init,r):O(yield*ne(t.init)),n="var"===e.kind?D(i,o):T(i,o)}else{ee=t.init,v&&"CallExpression"!==ee.type&&"TaggedTemplateExpression"!==ee.type&&(yield);const r=O(yield*ne(t.init));n=yield*Se(t.id,r,"var"===e.kind?void 0:te().LexicalEnvironment)}else n="var"===e.kind?x(S):T(re(t.id.name),void 0);return n}case"WhileStatement":return ie(yield*function*(e){let n;for(;;){if(!O(yield*ne(e.test,void 0,!0)))return x(n);const t=yield*ne(e.body);if(!V(t))return P(t,n);t.Value!==S&&(n=t.Value)}}(e))}throw new SyntaxError(`Unsupported node type \`${e.type}\``)}function te(){return Q[Q.length-1]}function re(e,n){return n||(n=te().LexicalEnvironment),N(n,e,!0)}function ie(e){return"break"===e.Type?e.Value===S?x(void 0):x(e.Value):e}function*oe(e,n){return n===O(yield*ne(e.test))}function*ae(e,n,t,r){let i;for(se(r);;){if(e&&!O(yield*ne(e,void 0,!0)))return x(i);const o=yield*ne(t);if(!V(o))return P(o,i);o.Value&&(i=o.Value),se(r),n&&O(yield*ne(n,void 0,!0))}}function se(e){if(0===e.length)return;const n=te().LexicalEnvironment,t=n.OuterEnv,r=new h(t);for(const t of e){r.CreateMutableBinding(t,!1);const e=n.GetBindingValue(t,!1);r.InitializeBinding(t,e)}te().LexicalEnvironment=r}function*ce(e,n){if("ObjectPattern"===e.type)return R(n),e.properties.length>0&&(yield*function*(e,n){const t=new Set;for(const r of e)if("Property"===r.type){const e=r.computed||"Identifier"!==r.key.type?yield*Ae(r.key):r.key.name,i="AssignmentPattern"===r.value.type?r.value.left:r.value;if("Identifier"===i.type){const o=re(i.name);let a=j(n,e);"AssignmentPattern"===r.value.type&&void 0===a&&(a=ve(r.value.right)?ge(r.value.right,i.name):O(yield*ne(r.value.right))),D(o,a),t.add(e)}else yield*le(r.value,n,e),t.add(e)}else yield*ue(r,n,t)}(e.properties,n)),x(S);const t=M(n);return yield*function*(e,n){let t=x(S);for(const r of e){if(!r){n.next(),t=x(S);continue}const e="RestElement"===r.type?r.argument:"AssignmentPattern"===r.type?r.left:r,i="ArrayPattern"===e.type||"ObjectPattern"===e.type;let o,a;if(i||(o=(yield*ne(e)).Value),"RestElement"!==r.type){const{done:t,value:i}=n.next(),o=t?void 0:i;a="AssignmentPattern"===r.type&&void 0===o?ve(r.right)&&"Identifier"===e.type?ge(r.right,e.name):O(yield*ne(r.right)):o}else{a=new q;let e=0;for(;;){const{done:t,value:r}=n.next();if(t)break;a[e]=r,e++}}t=i?yield*ce(e,a):D(o,a)}return t}(e.elements,t)}function*le(e,n,t){const r="AssignmentPattern"===e.type?e.left:e,i="ArrayPattern"===r.type||"ObjectPattern"===r.type;let o;i||(o=(yield*ne(r)).Value);const a=j(n,t);let s;return s="AssignmentPattern"===e.type&&void 0===a?O(yield*ne(e.right)):a,i?yield*ce(r,s):D(o,s)}function*ue(e,n,t){return D((yield*ne(e.argument)).Value,C({},n,t))}function de(e,n){const t=B(e,{var:!1,topLevel:!1});for(const e of t){const t="VariableDeclaration"===e.type&&"const"===e.kind;for(const r of A(e))t?n.CreateImmutableBinding(r,!0):n.CreateMutableBinding(r,!1);if("FunctionDeclaration"===e.type){const[t]=A(e),r=he(e,n);n.InitializeBinding(t,r)}}}function*fe(e,t,r,i){let o;t instanceof E&&I(t)&&(o=t.Base);const a=yield*ye(r);if("function"!=typeof e){const e=n.substring(i.start,i.end);throw new TypeError(`${e} is not a function`)}if(v||g){const n=e[d];if(n){const e=yield*n.apply(o,a);return H(e),x(e)}}const s=e.apply(o,a);return H(s),x(s)}function*ye(e){const n=[];if(Array.isArray(e))for(const t of e)if("SpreadElement"===t.type){const e=O(yield*ne(t.argument));n.push(...e)}else n.push(O(yield*ne(t)));else{n.push(function(e){const n=Y.get(e);if(n)return n;const t=e.quasis.map((e=>e.value.raw)),r=e.quasis.map((e=>e.value.cooked));return Object.freeze(t),Object.defineProperty(r,"raw",{value:t,writable:!1,enumerable:!1,configurable:!1}),Object.freeze(r),Y.set(e,r),r}(e));for(const t of e.expressions)n.push(O(yield*ne(t)))}return n}function*pe(e,n,t){var c;null===(c=G.beforeCall)||void 0===c||c.call(G,e[o]),function(e,n,t){if(e[u]===i.LEXICAL)return;const r=n.LexicalEnvironment;null==r||r.BindThisValue(t)}(e,function(e){const n=new m;n.Function=e;const t=new b(e);return n.VariableEnvironment=t,n.LexicalEnvironment=t,Q.push(n),U.push(n),n}(e),n);const l=yield*function*(e,n){return yield*function*(e,n,t){return yield*function*(e,n){const t=te(),o=e[s],c=e[a],l=A(c),d=L(c),f=B(o,{var:!0,topLevel:!0}),y=A(f),p=[],m=[];for(let e=f.length-1;e>=0;e--){const n=f[e];if("FunctionDeclaration"===n.type){Te(n);const[e]=A(n);p.includes(e)||(p.unshift(e),m.unshift(n))}else if(null!=r&&r.noVar)throw new SyntaxError("Var declaration is not recommended, use `let` or `const` instead")}const v=!!g&&e[u]!==i.LEXICAL,b=t.LexicalEnvironment;for(const e of l)b.CreateMutableBinding(e,!1);let E=l;if(v){const e=function(e){const n=[...e],t={};Object.defineProperty(t,"length",{value:n.length,writable:!0,configurable:!0});for(let e=0;e<n.length;e++)t[String(e)]=n[e];Object.defineProperty(t,Symbol.iterator,{value:Array.prototype.values,writable:!0,configurable:!0});const r=()=>{throw new TypeError("'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them")};return Object.defineProperty(t,"callee",{get:r,set:r}),t}(n);b.CreateImmutableBinding("arguments",!1),b.InitializeBinding("arguments",e),E=l.concat("arguments")}const w=M(n);let x;if(yield*Be(c,w,b),d){x=new h(b),t.VariableEnvironment=x;const e=[];for(const n of y)if(!e.includes(n)){let t;e.push(n),x.CreateMutableBinding(n,!1),E.includes(n)&&!p.includes(n)&&(t=b.GetBindingValue(n,!1)),x.InitializeBinding(n,t)}}else{const e=[...E];for(const n of y)e.includes(n)||(e.push(n),b.CreateMutableBinding(n,!1),b.InitializeBinding(n,void 0));x=b}const S=x;t.LexicalEnvironment=S;const I=B(o,{var:!1,topLevel:!0});for(const e of I)for(const n of A(e))"const"===e.kind?S.CreateImmutableBinding(n,!0):S.CreateMutableBinding(n,!1);for(const e of m){const[n]=A(e),t=he(e,S);x.SetMutableBinding(n,t,!1)}}(n,t),Array.isArray(e)?yield*me(e):new w("return",O(yield*ne(e)))}(e[s],e,n)}(e,t);if(v&&(ee={...e[o],[p]:!0},yield{type:"return",value:"return"===l.Type?l.Value:void 0}),Q.pop(),U.pop(),"return"===l.Type)return l.Value}function*me(e){let n=x(S);for(const t of e){const e=yield*ne(t);if("normal"!==e.Type)return e;n=P(n,e.Value)}return n}function ve(e){return"FunctionExpression"===e.type&&!e.id||"ArrowFunctionExpression"===e.type}function ge(e,n){var t;switch(null===(t=G.beforeEvaluate)||void 0===t||t.call(G,e),e.type){case"FunctionExpression":return be(e,n);case"ArrowFunctionExpression":return Ee(e,n);default:throw new Error(`Unexpected node type for NamedEvaluation: ${e.type}`)}}function he(e,n){const t=xe(e,n,!0,!1);return e.id&&we(t,e.id.name),t}function be(e,n){const t=te().LexicalEnvironment;if(e.id){const n=e.id.name,r=new h(t);r.CreateImmutableBinding(n,!1);const i=xe(e,r,!0,!1);return we(i,n),r.InitializeBinding(n,i),i}{const r=xe(e,t,!0,!1);return we(r,null!=n?n:""),r}}function Ee(e,n){const t=xe(e,te().LexicalEnvironment,!1,!0);return we(t,null!=n?n:""),t}function we(e,n){Object.defineProperty(e,"name",{value:n,configurable:!0})}function xe(e,n,t,r){const f=function(){return X(pe(f,this,arguments))};Object.defineProperties(f,{[o]:{value:e},[a]:{value:e.params},[s]:{value:"BlockStatement"===e.body.type?e.body.body:e.body},[c]:{value:n},[l]:{value:t},[u]:{value:r?i.LEXICAL:i.STRICT}});const y=function(e){let n=0;for(const t of e)switch(t.type){case"AssignmentPattern":case"RestElement":return n;default:n++}return n}(e.params);return Object.defineProperty(f,"length",{configurable:!0,value:y}),(v||g)&&Object.defineProperty(f,d,{value:function(){return pe(f,this,arguments)}}),f}function*Se(e,n,t){switch(e.type){case"Identifier":return function(e,n,t){return t.InitializeBinding(e,n),x(S)}(e.name,n,t);case"ObjectPattern":return R(n),yield*function*(e,n,t){const r=new Set;for(const i of e){if("RestElement"===i.type)return Le(i,n,t,r);if(i.computed||"Identifier"!==i.key.type){const e=yield*Ae(i.key);yield*Ie(i.value,n,t,e),r.add(e)}else yield*Ie(i.value,n,t,i.key.name),r.add(i.key.name)}return x(S)}(e.properties,n,t);case"ArrayPattern":{const r=M(n);return yield*Be(e.elements,r,t)}}}function*Ae(e){return F(O(yield*ne(e)))}function Le(e,n,t,r){const i=re(e.argument.name,t),o=C({},n,r);return t?T(i,o):D(i,o)}function*Be(e,n,t){if(0===e.length)return x(S);let r;for(const i of e)if(i)if("RestElement"===i.type)if("Identifier"===i.argument.type){const e=re(i.argument.name,t),o=new q;let a=0;for(;;){const{done:i,value:s}=n.next();if(i){r=t?T(e,o):D(e,o);break}o[a]=s,a++}}else{const e=new q;let o=0;for(;;){const{done:a,value:s}=n.next();if(a){r=yield*Se(i.argument,e,t);break}e[o]=s,o++}}else{const e="AssignmentPattern"===i.type?i.left:i;switch(e.type){case"ObjectPattern":case"ArrayPattern":{let o;const{done:a,value:s}=n.next();a||(o=s),"AssignmentPattern"===i.type&&void 0===o&&(o=O(yield*ne(i.right))),r=yield*Se(e,o,t);break}case"Identifier":{const o=e.name,a=re(o,t);let s;const{done:c,value:l}=n.next();c||(s=l),"AssignmentPattern"===i.type&&void 0===s&&(s=ve(i.right)?ge(i.right,o):O(yield*ne(i.right))),r=t?T(a,s):D(a,s);break}}}else n.next(),r=x(S);return r}function*Ie(e,n,t,r){if("Identifier"===e.type||"AssignmentPattern"===e.type&&"Identifier"===e.left.type){const i="Identifier"===e.type?e.name:e.left.name,o=re(i,t);let a=j(n,r);return"AssignmentPattern"===e.type&&void 0===a&&(a=ve(e.right)?ge(e.right,i):O(yield*ne(e.right))),t?T(o,a):D(o,a)}let i=j(n,r);return"AssignmentPattern"===e.type&&void 0===i&&(i=O(yield*ne(e.right))),yield*Se("AssignmentPattern"===e.type?e.left:e,i,t)}function Te(e){if(e.async||e.generator)throw new SyntaxError((e.async?"Async":"Generator")+" function is not allowed");if(Z&&!e.expression)throw new SyntaxError("Only an `Expression` is allowed in `ArrowFunctionExpression`'s body")}if(Z)return O(X(ne(e)));null===(t=G.beforeEvaluate)||void 0===t||t.call(G,e),Te(e);const[Ce]=A(e);K.CreateImmutableBinding(Ce,!0);const ke=he(e,K);return K.InitializeBinding(Ce,ke),v&&Object.defineProperties(ke,{[f]:{value:function(){return te().LexicalEnvironment}},[y]:{value:function(){return ee}}}),ke}function X(e){for(;;){const{done:n,value:t}=e.next();if(n)return t}}class Z{constructor(){(0,r.A)(this,"VariableEnvironment",void 0),(0,r.A)(this,"LexicalEnvironment",void 0)}}class H{constructor(e){(0,r.A)(this,"OuterEnv",void 0),(0,r.A)(this,"bindingSet",new Set),this.OuterEnv=e}HasBinding(e){return this.bindingSet.has(e)}CreateBinding(e){this.bindingSet.add(e)}}function K(e){let{expressionOnly:n,visitors:t,withParent:r,externalSourceForDebug:i,hooks:o={}}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const a=new Set,s=[],c=new H(null),l=new Z;function u(){return s[s.length-1]}function d(e,n,t){for(const r of n)f(e[r],null==t?void 0:t.concat({node:e,key:r}))}function f(e,r){if(Array.isArray(e))e.forEach(((e,n)=>{f(e,r?r.slice(0,-1).concat({...r[r.length-1],index:n}):r)}));else if(e){var s,c;switch(null===(s=o.beforeVisit)||void 0===s||s.call(o,e,r),function(e){var n,r;t&&(n=t,r=e.type,Object.prototype.hasOwnProperty.call(n,r))&&t[e.type](e)}(e),e.type){case"Identifier":var l;return b=e.name,void(p(u().LexicalEnvironment,b)||(null===(l=o.beforeVisitGlobal)||void 0===l||l.call(o,e,r),a.add(e.name)));case"ArrayExpression":case"ArrayPattern":return void d(e,["elements"],r);case"ArrowFunctionExpression":return void v(g(e,u().LexicalEnvironment,!0),r);case"AssignmentPattern":case"BinaryExpression":case"LogicalExpression":return void d(e,["left","right"],r);case"CallExpression":case"NewExpression":return void d(e,["callee","arguments"],r);case"ChainExpression":return void d(e,["expression"],r);case"ConditionalExpression":return void d(e,["test","consequent","alternate"],r);case"MemberExpression":return d(e,["object"],r),void(e.computed&&d(e,["property"],r));case"ObjectExpression":case"ObjectPattern":return void d(e,["properties"],r);case"Property":return e.computed&&d(e,["key"],r),void d(e,["value"],r);case"RestElement":case"SpreadElement":case"UnaryExpression":return void d(e,["argument"],r);case"SequenceExpression":case"TemplateLiteral":return void d(e,["expressions"],r);case"TaggedTemplateExpression":return void d(e,["tag","quasi"],r);case"Literal":return}if(!n)switch(e.type){case"AssignmentExpression":return void d(e,["right","left"],r);case"BlockStatement":{if(!e.body.length)return;const n=u(),t=n.LexicalEnvironment,i=new H(t);return m(e.body,i),n.LexicalEnvironment=i,d(e,["body"],r),void(n.LexicalEnvironment=t)}case"BreakStatement":case"ContinueStatement":case"EmptyStatement":return;case"CatchClause":{const n=u(),t=n.LexicalEnvironment,i=new H(t);return y(e.param,i),n.LexicalEnvironment=i,d(e,["param","body"],r),void(n.LexicalEnvironment=t)}case"DoWhileStatement":return void d(e,["body","test"],r);case"ExpressionStatement":case"TSAsExpression":return void d(e,["expression"],r);case"ForInStatement":case"ForOfStatement":{const n="VariableDeclaration"===e.left.type&&"var"!==e.left.kind,t=u(),i=t.LexicalEnvironment;if(n){const n=new H(i);y(e.left,n),t.LexicalEnvironment=n}if(d(e,["right"],r),t.LexicalEnvironment=i,n){const n=new H(i);y(e.left,n),t.LexicalEnvironment=n}return d(e,["left","body"],r),void(t.LexicalEnvironment=i)}case"ForStatement":{var h;const n="VariableDeclaration"===(null===(h=e.init)||void 0===h?void 0:h.type)&&"var"!==e.init.kind,t=u(),i=t.LexicalEnvironment;if(n){const n=new H(i);y(e.init,n),t.LexicalEnvironment=n}return d(e,["init","test","body","update"],r),void(t.LexicalEnvironment=i)}case"FunctionDeclaration":{const[n]=A(e),t=u().LexicalEnvironment,i=g(e,t);return t.CreateBinding(n),void v(i,r)}case"FunctionExpression":{const n=function(e){const n=u().LexicalEnvironment;if(!e.id)return g(e,n);const t=e.id.name,r=new H(n);return r.CreateBinding(t),g(e,r)}(e);return void v(n,r)}case"IfStatement":return void d(e,["test","consequent","alternate"],r);case"ReturnStatement":case"ThrowStatement":case"UpdateExpression":return void d(e,["argument"],r);case"SwitchCase":return void d(e,["test","consequent"],r);case"SwitchStatement":{d(e,["discriminant"],r);const n=u(),t=n.LexicalEnvironment,i=new H(t);return m(e.cases,i),n.LexicalEnvironment=i,d(e,["cases"],r),void(n.LexicalEnvironment=t)}case"ThisExpression":if(!i)break;return;case"TryStatement":return void d(e,["block","handler","finalizer"],r);case"VariableDeclaration":return void d(e,["declarations"],r);case"VariableDeclarator":return void d(e,["id","init"],r);case"WhileStatement":return void d(e,["test","body"],r)}(null===(c=o.beforeVisitUnknown)||void 0===c?void 0:c.call(o,e,r))||console.warn(`Unsupported node type \`${e.type}\``)}var b}function y(e,n){for(const t of A(e))n.CreateBinding(t)}function p(e,n){return!!e&&(e.HasBinding(n)||p(e.OuterEnv,n))}function m(e,n){y(B(e,{var:!1,topLevel:!1}),n)}function v(e,n){!function(e){const n=new Z,t=new H(e.Environment);n.VariableEnvironment=t,n.LexicalEnvironment=t,s.push(n)}(e),function(e,n){const t=u(),r=e.ECMAScriptCode,o=e.FormalParameters,a=L(o),s=A(B(r,{var:!0,topLevel:!0})),c=!!i&&"LEXICAL"!==e.ThisMode,l=t.LexicalEnvironment;let d;if(y(o,l),c&&l.CreateBinding("arguments"),f(o,null==n?void 0:n.concat({node:e.Function,key:"params"})),a){d=new H(l),t.VariableEnvironment=d;for(const e of s)d.CreateBinding(e)}else{for(const e of s)l.CreateBinding(e);d=l}const p=d;t.LexicalEnvironment=p,y(B(r,{var:!1,topLevel:!0}),p)}(e,n),f(e.ECMAScriptCode,null==n?void 0:n.concat({node:e.Function,key:"body"}).concat("BlockStatement"===e.Function.body.type?{node:e.Function.body,key:"body"}:[])),s.pop()}function g(e,n,t){return{Function:e,FormalParameters:e.params,ECMAScriptCode:"BlockStatement"===e.body.type?e.body.body:e.body,Environment:n,ThisMode:t?"LEXICAL":"STRICT"}}return l.VariableEnvironment=c,l.LexicalEnvironment=c,s.push(l),f(e,r?[]:void 0),a}var J=t(580);let Q=new WeakMap;function Y(e){let{typescript:n,cacheKey:t,...r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t?Q.get(t):void 0;return i||(i=function(e){let{typescript:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const t=(0,J.parse)(e,{plugins:["estree",n&&"typescript"].filter(Boolean),strictMode:!0,attachComment:!1}).program.body,r=n?[]:t;if(n)for(const e of t)if(e.type.startsWith("TS")){if(/Enum|Import|Export/.test(e.type))throw new SyntaxError(`Unsupported TypeScript syntax: ${e.type}`)}else r.push(e);if(0===r.length)throw new SyntaxError("Function declaration not found");if(r.length>1||"FunctionDeclaration"!==r[0].type)throw new SyntaxError(`Expect a single function declaration at top level, but received: ${r.map((e=>`"${e.type}"`)).join(", ")}`);return r[0]}(e,{typescript:n}),t&&Q.set(t,i)),{function:i,attemptToVisitGlobals:K(i,r)}}function ee(){Q=new WeakMap}const ne=new Map;function te(e){let{cache:n,...t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=[],i=e.replace(/^\s*<%[~=]?\s|\s%>\s*$/g,(e=>(r.push(e),"")));let o=n?ne.get(i):void 0;return o||(o=function(e){return(0,J.parseExpression)(e,{plugins:["estree",["pipelineOperator",{proposal:"minimal"}]],attachComment:!1})}(i),n&&ne.set(i,o)),{expression:o,attemptToVisitGlobals:K(o,{...t,expressionOnly:!0}),source:i,prefix:r[0],suffix:r[1]}}function re(e){return/^\s*<%[~=]?\s/.test(e)&&/\s%>\s*$/.test(e)}function ie(e){return/^\s*<%~\s/.test(e)}function oe(e){return/^\s*<%=\s/.test(e)&&/\s%>\s*$/.test(e)}function ae(){ne.clear()}},1369:(e,n,t)=>{t.d(n,{A:()=>i});var r=t(7545);function i(e){var n=function(e){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,"string");if("object"!=(0,r.A)(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(n)?n:n+""}},4586:(e,n,t)=>{t.d(n,{A:()=>i});var r=t(1369);function i(e,n,t){return(n=(0,r.A)(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}},7545:(e,n,t)=>{function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.d(n,{A:()=>r})}}]);
2
+ //# sourceMappingURL=1122.bb62eaf7.js.map