@arcgis/coding-components 4.32.0-next.30 → 4.32.0-next.32

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 (63) hide show
  1. package/dist/arcgis-coding-components/{HPXAY2EZ.js → 3GGQWW4I.js} +2 -2
  2. package/dist/arcgis-coding-components/{PQKEHYVD.js → 4R3FZMBD.js} +2 -2
  3. package/dist/arcgis-coding-components/{5R3E4CDI.js → 6ONBLZHH.js} +2 -2
  4. package/dist/arcgis-coding-components/{6D2AMRNB.js → 7774U6GE.js} +2 -2
  5. package/dist/arcgis-coding-components/{3Z73BBOC.js → 7KKTXGPR.js} +2 -2
  6. package/dist/arcgis-coding-components/{Y7X22LY7.js → BFCRMLIH.js} +2 -2
  7. package/dist/arcgis-coding-components/{K7QYUK7C.js → CQTXAMIP.js} +2 -2
  8. package/dist/arcgis-coding-components/{FEOUQX6K.js → CQYQ6UY6.js} +2 -2
  9. package/dist/arcgis-coding-components/{ZXYZWGKL.js → D4DVNBPH.js} +1 -1
  10. package/dist/arcgis-coding-components/{PVW73M3Y.js → DG6YZ5VW.js} +2 -2
  11. package/dist/arcgis-coding-components/{6TSXNZJH.js → F55CGO57.js} +2 -2
  12. package/dist/arcgis-coding-components/{CAOWFLVW.js → GVPKFM64.js} +2 -2
  13. package/dist/arcgis-coding-components/{BCLNDFGS.js → HI6TDNNA.js} +1 -1
  14. package/dist/arcgis-coding-components/{KUHNVFPT.js → HT6P7Y3L.js} +2 -2
  15. package/dist/arcgis-coding-components/{BYGTUCMS.js → K2KSUBD5.js} +2 -2
  16. package/dist/arcgis-coding-components/{57AIST3Y.js → LF5X7RCJ.js} +2 -2
  17. package/dist/arcgis-coding-components/{WFJY3W55.js → MW4BPUNW.js} +2 -2
  18. package/dist/arcgis-coding-components/{CJGKJVS3.js → NF753XOI.js} +2 -2
  19. package/dist/arcgis-coding-components/{3GDZS3IU.js → NID6RKMQ.js} +2 -2
  20. package/dist/arcgis-coding-components/{BCF5ZPTU.js → P2BYYKKC.js} +2 -2
  21. package/dist/arcgis-coding-components/{HXHEZICE.js → PHF3TQZ6.js} +2 -2
  22. package/dist/arcgis-coding-components/{EXDOZ6SN.js → PHNXJY3L.js} +2 -2
  23. package/dist/arcgis-coding-components/{ZXU6XMK7.js → QEFAXS2W.js} +3 -3
  24. package/dist/arcgis-coding-components/{FUGYQ4HS.js → QHOFIQCZ.js} +2 -2
  25. package/dist/arcgis-coding-components/{47ACTXCO.js → S34UTXZF.js} +2 -2
  26. package/dist/arcgis-coding-components/{ORF7RLSL.js → S5V44ZJK.js} +2 -2
  27. package/dist/arcgis-coding-components/{3RREVYDP.js → TIX4GGU2.js} +2 -2
  28. package/dist/arcgis-coding-components/{6LHWJWXI.js → UD3B623N.js} +2 -2
  29. package/dist/arcgis-coding-components/{XHPEL2RR.js → USFFK3N3.js} +2 -2
  30. package/dist/arcgis-coding-components/{ODCPTGQW.js → W5G66Y5E.js} +1 -1
  31. package/dist/arcgis-coding-components/{URSXSZWR.js → WAPWDKPX.js} +1 -1
  32. package/dist/arcgis-coding-components/{BG76AQAK.js → XWAJD5N2.js} +2 -2
  33. package/dist/arcgis-coding-components/{BDIWLDUC.js → Y2FGPYTK.js} +2 -2
  34. package/dist/arcgis-coding-components/{CXH6JZLZ.js → Z4LY6TXN.js} +2 -2
  35. package/dist/arcgis-coding-components/{2DLXVJ5Y.js → ZP37L7T7.js} +2 -2
  36. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
  37. package/dist/arcgis-coding-components/assets/code-editor/sql-expr.worker.js +14 -14
  38. package/dist/chunks/arcade-defaults.js +1 -1
  39. package/dist/chunks/arcade-executor.js +1 -1
  40. package/dist/chunks/arcade-mode.js +1 -1
  41. package/dist/chunks/arcade-service-accessors.js +1 -1
  42. package/dist/chunks/fields.js +1 -1
  43. package/dist/chunks/language-defaults-base.js +1 -1
  44. package/dist/chunks/markdown.js +1 -1
  45. package/dist/chunks/monaco-importer.js +1 -1
  46. package/dist/chunks/runtime.js +1 -1
  47. package/dist/chunks/sql-expr-defaults.js +1 -1
  48. package/dist/chunks/sql-expr-mode.js +1 -1
  49. package/dist/chunks/useT9n.js +1 -1
  50. package/dist/components/arcgis-arcade-editor/customElement.js +1 -1
  51. package/dist/components/arcgis-arcade-results/customElement.js +1 -1
  52. package/dist/components/arcgis-arcade-suggestions/customElement.js +1 -1
  53. package/dist/components/arcgis-code-editor/customElement.js +1 -1
  54. package/dist/components/arcgis-editor-variables/customElement.js +1 -1
  55. package/dist/components/arcgis-language-api-panel/customElement.js +1 -1
  56. package/dist/components/arcgis-sql-expression-editor/customElement.js +1 -1
  57. package/dist/components/arcgis-sql-expression-fields/customElement.js +1 -1
  58. package/dist/docs/api.json +2 -2
  59. package/dist/docs/docs.json +2 -2
  60. package/dist/docs/web-types.json +1 -1
  61. package/dist/index.js +1 -1
  62. package/dist/loader.js +1 -1
  63. package/package.json +7 -7
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.30
4
+ * v4.32.0-next.32
5
5
  */
6
- import{a as t,b as e}from"./2DLXVJ5Y.js";import"./HXHEZICE.js";import"./URSXSZWR.js";var i=t,o={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","static","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:e.operators,symbols:e.symbols,escapes:e.escapes,digits:e.digits,octaldigits:e.octaldigits,binarydigits:e.binarydigits,hexdigits:e.hexdigits,regexpctl:e.regexpctl,regexpesc:e.regexpesc,tokenizer:e.tokenizer};export{i as conf,o as language};
6
+ import{a as t,b as e}from"./ZP37L7T7.js";import"./PHF3TQZ6.js";import"./WAPWDKPX.js";var i=t,o={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","static","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:e.operators,symbols:e.symbols,escapes:e.escapes,digits:e.digits,octaldigits:e.octaldigits,binarydigits:e.binarydigits,hexdigits:e.hexdigits,regexpctl:e.regexpctl,regexpesc:e.regexpesc,tokenizer:e.tokenizer};export{i as conf,o as language};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.30
4
+ * v4.32.0-next.32
5
5
  */
6
- import{rk as a}from"./HXHEZICE.js";import"./URSXSZWR.js";var p=Object.defineProperty,m=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,c=Object.prototype.hasOwnProperty,s=(t,e,n,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of l(e))!c.call(t,r)&&r!==n&&p(t,r,{get:()=>e[r],enumerable:!(o=m(e,r))||o.enumerable});return t},u=(t,e,n)=>(s(t,e,"default"),n&&s(n,e,"default")),i={};u(i,a);var d=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],b={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["<!--","-->"]},brackets:[["<!--","-->"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${d.join("|")}))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:i.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${d.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:i.languages.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*<!--\\s*#region\\b.*-->"),end:new RegExp("^\\s*<!--\\s*#endregion\\b.*-->")}}},x={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/<!DOCTYPE/,"metatag","@doctype"],[/<!--/,"comment","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/</,"delimiter"],[/[^<]+/]],doctype:[[/[^>]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"module"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/'module'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}};export{b as conf,x as language};
6
+ import{rk as a}from"./PHF3TQZ6.js";import"./WAPWDKPX.js";var p=Object.defineProperty,m=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,c=Object.prototype.hasOwnProperty,s=(t,e,n,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of l(e))!c.call(t,r)&&r!==n&&p(t,r,{get:()=>e[r],enumerable:!(o=m(e,r))||o.enumerable});return t},u=(t,e,n)=>(s(t,e,"default"),n&&s(n,e,"default")),i={};u(i,a);var d=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],b={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["<!--","-->"]},brackets:[["<!--","-->"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${d.join("|")}))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:i.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${d.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:i.languages.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*<!--\\s*#region\\b.*-->"),end:new RegExp("^\\s*<!--\\s*#endregion\\b.*-->")}}},x={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/<!DOCTYPE/,"metatag","@doctype"],[/<!--/,"comment","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/</,"delimiter"],[/[^<]+/]],doctype:[[/[^>]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"module"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/'module'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}};export{b as conf,x as language};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.30
4
+ * v4.32.0-next.32
5
5
  */
6
- import{h as c,i as A,j as d,k as _,l as v}from"./ORF7RLSL.js";var o=(t,s)=>{let e=t._$AN;if(e===void 0)return!1;for(let i of e)i._$AO?.(s,!1),o(i,s);return!0},n=t=>{let s,e;do{if((s=t._$AM)===void 0)break;e=s._$AN,e.delete(t),t=s}while(e?.size===0)},$=t=>{for(let s;s=t._$AM;t=s){let e=s._$AN;if(e===void 0)s._$AN=e=new Set;else if(e.has(t))break;e.add(t),m(s)}};function p(t){this._$AN!==void 0?(n(this),this._$AM=t,$(this)):this._$AM=t}function u(t,s=!1,e=0){let i=this._$AH,f=this._$AN;if(f!==void 0&&f.size!==0)if(s)if(Array.isArray(i))for(let h=e;h<i.length;h++)o(i[h],!1),n(i[h]);else i!=null&&(o(i,!1),n(i));else o(this,t)}var m=t=>{t.type==A.CHILD&&(t._$AP??=u,t._$AQ??=p)},r=class extends _{constructor(){super(...arguments),this._$AN=void 0}_$AT(s,e,i){super._$AT(s,e,i),$(this),this.isConnected=s._$AU}_$AO(s,e=!0){s!==this.isConnected&&(this.isConnected=s,s?this.reconnected?.():this.disconnected?.()),e&&(o(this,s),n(this))}setValue(s){if(v(this.t))this.t._$AI(s,this);else{let e=[...this.t._$AH];e[this.i]=s,this.t._$AI(e,this,0)}}disconnected(){}reconnected(){}};var M=()=>new l,l=class{},a=new WeakMap,T=d(class extends r{render(t){return c}update(t,[s]){let e=s!==this.Y;return e&&this.Y!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.Y=s,this.ht=t.options?.host,this.rt(this.ct=t.element)),c}rt(t){if(this.isConnected||(t=void 0),typeof this.Y=="function"){let s=this.ht??globalThis,e=a.get(s);e===void 0&&(e=new WeakMap,a.set(s,e)),e.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),e.set(this.Y,t),t!==void 0&&this.Y.call(this.ht,t)}else this.Y.value=t}get lt(){return typeof this.Y=="function"?a.get(this.ht??globalThis)?.get(this.Y):this.Y?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});export{M as a,T as b};
6
+ import{h as c,i as A,j as d,k as _,l as v}from"./S5V44ZJK.js";var o=(t,s)=>{let e=t._$AN;if(e===void 0)return!1;for(let i of e)i._$AO?.(s,!1),o(i,s);return!0},n=t=>{let s,e;do{if((s=t._$AM)===void 0)break;e=s._$AN,e.delete(t),t=s}while(e?.size===0)},$=t=>{for(let s;s=t._$AM;t=s){let e=s._$AN;if(e===void 0)s._$AN=e=new Set;else if(e.has(t))break;e.add(t),m(s)}};function p(t){this._$AN!==void 0?(n(this),this._$AM=t,$(this)):this._$AM=t}function u(t,s=!1,e=0){let i=this._$AH,f=this._$AN;if(f!==void 0&&f.size!==0)if(s)if(Array.isArray(i))for(let h=e;h<i.length;h++)o(i[h],!1),n(i[h]);else i!=null&&(o(i,!1),n(i));else o(this,t)}var m=t=>{t.type==A.CHILD&&(t._$AP??=u,t._$AQ??=p)},r=class extends _{constructor(){super(...arguments),this._$AN=void 0}_$AT(s,e,i){super._$AT(s,e,i),$(this),this.isConnected=s._$AU}_$AO(s,e=!0){s!==this.isConnected&&(this.isConnected=s,s?this.reconnected?.():this.disconnected?.()),e&&(o(this,s),n(this))}setValue(s){if(v(this.t))this.t._$AI(s,this);else{let e=[...this.t._$AH];e[this.i]=s,this.t._$AI(e,this,0)}}disconnected(){}reconnected(){}};var M=()=>new l,l=class{},a=new WeakMap,T=d(class extends r{render(t){return c}update(t,[s]){let e=s!==this.Y;return e&&this.Y!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.Y=s,this.ht=t.options?.host,this.rt(this.ct=t.element)),c}rt(t){if(this.isConnected||(t=void 0),typeof this.Y=="function"){let s=this.ht??globalThis,e=a.get(s);e===void 0&&(e=new WeakMap,a.set(s,e)),e.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),e.set(this.Y,t),t!==void 0&&this.Y.call(this.ht,t)}else this.Y.value=t}get lt(){return typeof this.Y=="function"?a.get(this.ht??globalThis)?.get(this.Y):this.Y?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});export{M as a,T as b};
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.30
4
+ * v4.32.0-next.32
5
5
  */
6
- import{a as C,c as i,d as l,e as h}from"./ZXYZWGKL.js";import{c as F}from"./ZXU6XMK7.js";import"./CAOWFLVW.js";import{a as y,u as T}from"./BCLNDFGS.js";import{ek as P,ik as k,lk as g,qk as f,uj as z}from"./HXHEZICE.js";import"./URSXSZWR.js";z();var j={False:"false",Null:"null",True:"true"},O={Break:"break",Continue:"continue",Else:"else",For:"for",Function:"function",If:"if",Import:"import",Export:"export",In:"in",Return:"return",Var:"var",While:"while"};var $=["++","--"],V=["-","+","!","~"],W=["=","/=","*=","%=","+=","-="],R=["||","&&"],K=["|","&",">>","<<",">>>","^","==","!=","<","<=",">",">=","+","-","*","/","%"];var s={InvalidModuleUri:"InvalidModuleUri",ForInOfLoopInitializer:"ForInOfLoopInitializer",IdentifierExpected:"IdentifierExpected",InvalidEscapedReservedWord:"InvalidEscapedReservedWord",InvalidExpression:"InvalidExpression",InvalidFunctionIdentifier:"InvalidFunctionIdentifier",InvalidHexEscapeSequence:"InvalidHexEscapeSequence",InvalidLeftHandSideInAssignment:"InvalidLeftHandSideInAssignment",InvalidLeftHandSideInForIn:"InvalidLeftHandSideInForIn",InvalidTemplateHead:"InvalidTemplateHead",InvalidVariableAssignment:"InvalidVariableAssignment",KeyMustBeString:"KeyMustBeString",NoFunctionInsideBlock:"NoFunctionInsideBlock",NoFunctionInsideFunction:"NoFunctionInsideFunction",ModuleExportRootOnly:"ModuleExportRootOnly",ModuleImportRootOnly:"ModuleImportRootOnly",PunctuatorExpected:"PunctuatorExpected",TemplateOctalLiteral:"TemplateOctalLiteral",UnexpectedBoolean:"UnexpectedBoolean",UnexpectedEndOfScript:"UnexpectedEndOfScript",UnexpectedIdentifier:"UnexpectedIdentifier",UnexpectedKeyword:"UnexpectedKeyword",UnexpectedNull:"UnexpectedNull",UnexpectedNumber:"UnexpectedNumber",UnexpectedPunctuator:"UnexpectedPunctuator",UnexpectedString:"UnexpectedString",UnexpectedTemplate:"UnexpectedTemplate",UnexpectedToken:"UnexpectedToken"},H={[s.InvalidModuleUri]:"Module uri must be a text literal.",[s.ForInOfLoopInitializer]:"for-in loop variable declaration may not have an initializer.",[s.IdentifierExpected]:"'${value}' is an invalid identifier.",[s.InvalidEscapedReservedWord]:"Keyword cannot contain escaped characters.",[s.InvalidExpression]:"Invalid expression.",[s.InvalidFunctionIdentifier]:"'${value}' is an invalid function identifier.",[s.InvalidHexEscapeSequence]:"Invalid hexadecimal escape sequence.",[s.InvalidLeftHandSideInAssignment]:"Invalid left-hand side in assignment.",[s.InvalidLeftHandSideInForIn]:"Invalid left-hand side in for-in.",[s.InvalidTemplateHead]:"Invalid template structure.",[s.InvalidVariableAssignment]:"Invalid variable assignment.",[s.KeyMustBeString]:"Object property keys must be a word starting with a letter.",[s.NoFunctionInsideBlock]:"Functions cannot be declared inside of code blocks.",[s.NoFunctionInsideFunction]:"Functions cannot be declared inside another function.",[s.ModuleExportRootOnly]:"Module exports cannot be declared inside of code blocks.",[s.ModuleImportRootOnly]:"Module import cannot be declared inside of code blocks.",[s.PunctuatorExpected]:"'${value}' expected.",[s.TemplateOctalLiteral]:"Octal literals are not allowed in template literals.",[s.UnexpectedBoolean]:"Unexpected boolean literal.",[s.UnexpectedEndOfScript]:"Unexpected end of Arcade expression.",[s.UnexpectedIdentifier]:"Unexpected identifier.",[s.UnexpectedKeyword]:"Unexpected keyword.",[s.UnexpectedNull]:"Unexpected null literal.",[s.UnexpectedNumber]:"Unexpected number.",[s.UnexpectedPunctuator]:"Unexpected punctuator.",[s.UnexpectedString]:"Unexpected text literal.",[s.UnexpectedTemplate]:"Unexpected quasi '${value}'.",[s.UnexpectedToken]:"Unexpected token '${value}'."};var E=[[],[],[]];$.forEach(t=>E[t.length-1]?.push(t));V.forEach(t=>E[t.length-1]?.push(t));R.forEach(t=>E[t.length-1]?.push(t));W.forEach(t=>E[t.length-1]?.push(t));K.forEach(t=>E[t.length-1]?.push(t));var a={AlreadyDefined:"AlreadyDefined",ApiConflict:"ApiConflict",AssignedNeverUsed:"AssignedNeverUsed",DefinedNeverAssigned:"DefinedNeverAssigned",DefinedNeverUsed:"DefinedNeverUsed",EmptyBlockStatement:"EmptyBlockStatement",ExecutionError:"ExecutionError",InvalidApiFunctionUsage:"InvalidApiFunctionUsage",InvalidConstantIdentifier:"InvalidConstantIdentifier",InvalidPropertyIdentifier:"InvalidPropertyIdentifier",NoArgumentExpected:"NoArgumentExpected",NotADictionary:"NotADictionary",NotDefined:"NotDefined",NotEnoughArguments:"NotEnoughArguments",ProfileVariablesAreImmutable:"ProfileVariablesAreImmutable",ProfileVariablesConflict:"ProfileVariablesConflict",ReservedKeyword:"ReservedKeyword",TooManyArguments:"TooManyArguments",UnexpectedEmptyFunction:"UnexpectedEmptyFunction",UnexpectedPropertyIdentifier:"UnexpectedPropertyIdentifier",UnknownPropertyIdentifier:"UnknownPropertyIdentifier"},se={[a.AlreadyDefined]:"'${identifier}' is already defined.",[a.ApiConflict]:"'${identifier}' is already defined as an Arcade constant or function.",[a.AssignedNeverUsed]:"'${identifier}' is assigned but never used.",[a.DefinedNeverAssigned]:"'${identifier}' is defined but never assigned.",[a.DefinedNeverUsed]:"'${identifier}' is defined but never used.",[a.EmptyBlockStatement]:"Empty block statement.",[a.ExecutionError]:"Execution Error: '${stack}'",[a.InvalidApiFunctionUsage]:"Arcade function '${identifier}' not used in a call expression.",[a.InvalidConstantIdentifier]:"Invalid constant identifier, expecting ${list}.",[a.InvalidPropertyIdentifier]:"Invalid property identifier, expecting ${list}.",[a.NoArgumentExpected]:"Expecting no argument.",[a.NotADictionary]:"'${identifier}' doesn't have properties.",[a.NotDefined]:"'${identifier}' is not defined.",[a.NotEnoughArguments]:"Expecting at least ${min} argument(s).",[a.ProfileVariablesAreImmutable]:"Profile variables cannot be modified.",[a.ProfileVariablesConflict]:"'${identifier}' is already defined as a profile variable.",[a.ReservedKeyword]:"'${identifier}' is a reserved keyword.",[a.TooManyArguments]:"Too many arguments, expecting ${max}.",[a.UnexpectedEmptyFunction]:"Unexpected empty function '${identifier}'.",[a.UnexpectedPropertyIdentifier]:"Unexpected property identifier.",[a.UnknownPropertyIdentifier]:"Unknown property identifier '${identifier}'.",...H};var w=Object.values(O),q=Object.values(j);var le=q.map(t=>({label:t,kind:i.Constant})),ce=w.map(t=>({label:t,kind:i.Keyword})),he=[{label:"exportfunction",kind:i.Snippet,detail:"Export Function Statement",insertText:`export function \${1:functionName} ($2) {
6
+ import{a as C,c as i,d as l,e as h}from"./D4DVNBPH.js";import{c as F}from"./QEFAXS2W.js";import"./GVPKFM64.js";import{a as y,u as T}from"./HI6TDNNA.js";import{ek as P,ik as k,lk as g,qk as f,uj as z}from"./PHF3TQZ6.js";import"./WAPWDKPX.js";z();var j={False:"false",Null:"null",True:"true"},O={Break:"break",Continue:"continue",Else:"else",For:"for",Function:"function",If:"if",Import:"import",Export:"export",In:"in",Return:"return",Var:"var",While:"while"};var $=["++","--"],V=["-","+","!","~"],W=["=","/=","*=","%=","+=","-="],R=["||","&&"],K=["|","&",">>","<<",">>>","^","==","!=","<","<=",">",">=","+","-","*","/","%"];var s={InvalidModuleUri:"InvalidModuleUri",ForInOfLoopInitializer:"ForInOfLoopInitializer",IdentifierExpected:"IdentifierExpected",InvalidEscapedReservedWord:"InvalidEscapedReservedWord",InvalidExpression:"InvalidExpression",InvalidFunctionIdentifier:"InvalidFunctionIdentifier",InvalidHexEscapeSequence:"InvalidHexEscapeSequence",InvalidLeftHandSideInAssignment:"InvalidLeftHandSideInAssignment",InvalidLeftHandSideInForIn:"InvalidLeftHandSideInForIn",InvalidTemplateHead:"InvalidTemplateHead",InvalidVariableAssignment:"InvalidVariableAssignment",KeyMustBeString:"KeyMustBeString",NoFunctionInsideBlock:"NoFunctionInsideBlock",NoFunctionInsideFunction:"NoFunctionInsideFunction",ModuleExportRootOnly:"ModuleExportRootOnly",ModuleImportRootOnly:"ModuleImportRootOnly",PunctuatorExpected:"PunctuatorExpected",TemplateOctalLiteral:"TemplateOctalLiteral",UnexpectedBoolean:"UnexpectedBoolean",UnexpectedEndOfScript:"UnexpectedEndOfScript",UnexpectedIdentifier:"UnexpectedIdentifier",UnexpectedKeyword:"UnexpectedKeyword",UnexpectedNull:"UnexpectedNull",UnexpectedNumber:"UnexpectedNumber",UnexpectedPunctuator:"UnexpectedPunctuator",UnexpectedString:"UnexpectedString",UnexpectedTemplate:"UnexpectedTemplate",UnexpectedToken:"UnexpectedToken"},H={[s.InvalidModuleUri]:"Module uri must be a text literal.",[s.ForInOfLoopInitializer]:"for-in loop variable declaration may not have an initializer.",[s.IdentifierExpected]:"'${value}' is an invalid identifier.",[s.InvalidEscapedReservedWord]:"Keyword cannot contain escaped characters.",[s.InvalidExpression]:"Invalid expression.",[s.InvalidFunctionIdentifier]:"'${value}' is an invalid function identifier.",[s.InvalidHexEscapeSequence]:"Invalid hexadecimal escape sequence.",[s.InvalidLeftHandSideInAssignment]:"Invalid left-hand side in assignment.",[s.InvalidLeftHandSideInForIn]:"Invalid left-hand side in for-in.",[s.InvalidTemplateHead]:"Invalid template structure.",[s.InvalidVariableAssignment]:"Invalid variable assignment.",[s.KeyMustBeString]:"Object property keys must be a word starting with a letter.",[s.NoFunctionInsideBlock]:"Functions cannot be declared inside of code blocks.",[s.NoFunctionInsideFunction]:"Functions cannot be declared inside another function.",[s.ModuleExportRootOnly]:"Module exports cannot be declared inside of code blocks.",[s.ModuleImportRootOnly]:"Module import cannot be declared inside of code blocks.",[s.PunctuatorExpected]:"'${value}' expected.",[s.TemplateOctalLiteral]:"Octal literals are not allowed in template literals.",[s.UnexpectedBoolean]:"Unexpected boolean literal.",[s.UnexpectedEndOfScript]:"Unexpected end of Arcade expression.",[s.UnexpectedIdentifier]:"Unexpected identifier.",[s.UnexpectedKeyword]:"Unexpected keyword.",[s.UnexpectedNull]:"Unexpected null literal.",[s.UnexpectedNumber]:"Unexpected number.",[s.UnexpectedPunctuator]:"Unexpected punctuator.",[s.UnexpectedString]:"Unexpected text literal.",[s.UnexpectedTemplate]:"Unexpected quasi '${value}'.",[s.UnexpectedToken]:"Unexpected token '${value}'."};var E=[[],[],[]];$.forEach(t=>E[t.length-1]?.push(t));V.forEach(t=>E[t.length-1]?.push(t));R.forEach(t=>E[t.length-1]?.push(t));W.forEach(t=>E[t.length-1]?.push(t));K.forEach(t=>E[t.length-1]?.push(t));var a={AlreadyDefined:"AlreadyDefined",ApiConflict:"ApiConflict",AssignedNeverUsed:"AssignedNeverUsed",DefinedNeverAssigned:"DefinedNeverAssigned",DefinedNeverUsed:"DefinedNeverUsed",EmptyBlockStatement:"EmptyBlockStatement",ExecutionError:"ExecutionError",InvalidApiFunctionUsage:"InvalidApiFunctionUsage",InvalidConstantIdentifier:"InvalidConstantIdentifier",InvalidPropertyIdentifier:"InvalidPropertyIdentifier",NoArgumentExpected:"NoArgumentExpected",NotADictionary:"NotADictionary",NotDefined:"NotDefined",NotEnoughArguments:"NotEnoughArguments",ProfileVariablesAreImmutable:"ProfileVariablesAreImmutable",ProfileVariablesConflict:"ProfileVariablesConflict",ReservedKeyword:"ReservedKeyword",TooManyArguments:"TooManyArguments",UnexpectedEmptyFunction:"UnexpectedEmptyFunction",UnexpectedPropertyIdentifier:"UnexpectedPropertyIdentifier",UnknownPropertyIdentifier:"UnknownPropertyIdentifier"},se={[a.AlreadyDefined]:"'${identifier}' is already defined.",[a.ApiConflict]:"'${identifier}' is already defined as an Arcade constant or function.",[a.AssignedNeverUsed]:"'${identifier}' is assigned but never used.",[a.DefinedNeverAssigned]:"'${identifier}' is defined but never assigned.",[a.DefinedNeverUsed]:"'${identifier}' is defined but never used.",[a.EmptyBlockStatement]:"Empty block statement.",[a.ExecutionError]:"Execution Error: '${stack}'",[a.InvalidApiFunctionUsage]:"Arcade function '${identifier}' not used in a call expression.",[a.InvalidConstantIdentifier]:"Invalid constant identifier, expecting ${list}.",[a.InvalidPropertyIdentifier]:"Invalid property identifier, expecting ${list}.",[a.NoArgumentExpected]:"Expecting no argument.",[a.NotADictionary]:"'${identifier}' doesn't have properties.",[a.NotDefined]:"'${identifier}' is not defined.",[a.NotEnoughArguments]:"Expecting at least ${min} argument(s).",[a.ProfileVariablesAreImmutable]:"Profile variables cannot be modified.",[a.ProfileVariablesConflict]:"'${identifier}' is already defined as a profile variable.",[a.ReservedKeyword]:"'${identifier}' is a reserved keyword.",[a.TooManyArguments]:"Too many arguments, expecting ${max}.",[a.UnexpectedEmptyFunction]:"Unexpected empty function '${identifier}'.",[a.UnexpectedPropertyIdentifier]:"Unexpected property identifier.",[a.UnknownPropertyIdentifier]:"Unknown property identifier '${identifier}'.",...H};var w=Object.values(O),q=Object.values(j);var le=q.map(t=>({label:t,kind:i.Constant})),ce=w.map(t=>({label:t,kind:i.Keyword})),he=[{label:"exportfunction",kind:i.Snippet,detail:"Export Function Statement",insertText:`export function \${1:functionName} ($2) {
7
7
  $0
8
8
  }`,insertTextMode:h.adjustIndentation,insertTextFormat:l.Snippet},{label:"exportvar",kind:i.Snippet,detail:"Export Variable Statement",insertText:"export var ${0:variableName}\n",insertTextMode:h.adjustIndentation,insertTextFormat:l.Snippet},{label:"for",kind:i.Snippet,detail:"For Loop Statement",insertText:"for (var ${1:i} = 0; ${1:i} < ${2:array.length}; ${1:i}++) {\n $0\n}",insertTextMode:h.adjustIndentation,insertTextFormat:l.Snippet},{label:"forin",kind:i.Snippet,detail:"For-In Loop Statement",insertText:"for (var ${1:i} in ${2:arrayOrObject}) {\n $0\n}",insertTextMode:h.adjustIndentation,insertTextFormat:l.Snippet},{label:"function",kind:i.Snippet,detail:"Function Statement",insertText:`function \${1:functionName} ($2) {
9
9
  $0
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.30
4
+ * v4.32.0-next.32
5
5
  */
6
- import{b as B,c as f,d as m,e as _}from"./ZXYZWGKL.js";import{a as y,b as K,c as O,d as q,f as z,g as Y,h as Z,i as J,j as b}from"./ODCPTGQW.js";import{b as H,c as X}from"./ZXU6XMK7.js";import{x as R}from"./ORF7RLSL.js";import{k as G,o as P,p as U,s as v,t as $}from"./BCLNDFGS.js";import{ek as A,nk as V}from"./HXHEZICE.js";async function ee(t,e){try{let i=await t,r=new Map,n=new Map,o=[],s=be(e);return i.forEach(u=>{let l=[];u.items.forEach(a=>ge(l,n,r,s,a)),l.length&&o.push({...u,items:l})}),{categories:o,functionDefinitions:r,constantDefinitions:n}}catch(i){return console.error(i),{categories:[],functionDefinitions:new Map,constantDefinitions:new Map}}}function be(t){let{profile:{apiVersion:e,bundles:i,hiddenApiItems:r=[]}={}}=t,n=te(e),o=Array.isArray(i)&&i.length>0?new Set(["core",...i]):void 0;return s=>Ce(n,s.sinceVersion)&&(!o||o.has(s.bundle))&&!r.includes(s.name)}function ge(t,e,i,r,n){if(Array.isArray(n)){n.forEach(o=>Q(t,i,r,o));return}n.type==="constant"?we(t,e,r,n):Q(t,i,r,n)}function Q(t,e,i,r){if(!i(r))return;r.disableDocumentation||t.push(r);let{completion:{label:n}}=r,o=n.toLowerCase(),s=e.get(o);s||(s={type:"functionDefinition",key:o,overloads:[]},e.set(o,s)),s.overloads.push(r)}function we(t,e,i,r){if(!i(r))return;t.push(r);let{completion:{label:n}}=r,o=n.toLowerCase();e.set(o,r);let[s,u]=r.completion.label.split(".");if(!u)return;let l=s.toLowerCase(),a=e.get(l);a||(a={type:"namespace",key:l,members:[],completion:{label:s,detail:s,insertText:s,insertTextMode:_.adjustIndentation,insertTextFormat:m.PlainText,kind:f.Enum}},e.set(l,a));let h=structuredClone(r);h.name=u,h.completion.label=u,h.completion.insertText=u,h.completion.kind=f.Constant,a.members.push(h),a.completion.documentation=a.members.reduce((d,N)=>(d.value=`${d.value}${d.value?`
6
+ import{b as B,c as f,d as m,e as _}from"./D4DVNBPH.js";import{a as y,b as K,c as O,d as q,f as z,g as Y,h as Z,i as J,j as b}from"./W5G66Y5E.js";import{b as H,c as X}from"./QEFAXS2W.js";import{x as R}from"./S5V44ZJK.js";import{k as G,o as P,p as U,s as v,t as $}from"./HI6TDNNA.js";import{ek as A,nk as V}from"./PHF3TQZ6.js";async function ee(t,e){try{let i=await t,r=new Map,n=new Map,o=[],s=be(e);return i.forEach(u=>{let l=[];u.items.forEach(a=>ge(l,n,r,s,a)),l.length&&o.push({...u,items:l})}),{categories:o,functionDefinitions:r,constantDefinitions:n}}catch(i){return console.error(i),{categories:[],functionDefinitions:new Map,constantDefinitions:new Map}}}function be(t){let{profile:{apiVersion:e,bundles:i,hiddenApiItems:r=[]}={}}=t,n=te(e),o=Array.isArray(i)&&i.length>0?new Set(["core",...i]):void 0;return s=>Ce(n,s.sinceVersion)&&(!o||o.has(s.bundle))&&!r.includes(s.name)}function ge(t,e,i,r,n){if(Array.isArray(n)){n.forEach(o=>Q(t,i,r,o));return}n.type==="constant"?we(t,e,r,n):Q(t,i,r,n)}function Q(t,e,i,r){if(!i(r))return;r.disableDocumentation||t.push(r);let{completion:{label:n}}=r,o=n.toLowerCase(),s=e.get(o);s||(s={type:"functionDefinition",key:o,overloads:[]},e.set(o,s)),s.overloads.push(r)}function we(t,e,i,r){if(!i(r))return;t.push(r);let{completion:{label:n}}=r,o=n.toLowerCase();e.set(o,r);let[s,u]=r.completion.label.split(".");if(!u)return;let l=s.toLowerCase(),a=e.get(l);a||(a={type:"namespace",key:l,members:[],completion:{label:s,detail:s,insertText:s,insertTextMode:_.adjustIndentation,insertTextFormat:m.PlainText,kind:f.Enum}},e.set(l,a));let h=structuredClone(r);h.name=u,h.completion.label=u,h.completion.insertText=u,h.completion.kind=f.Constant,a.members.push(h),a.completion.documentation=a.members.reduce((d,N)=>(d.value=`${d.value}${d.value?`
7
7
 
8
8
  `:""}**${N.completion.label}**: ${N.description}`,d),{kind:B.Markdown,value:""})}function te(t){if(!t||typeof t!="string")return null;let e=t.split(".").map(n=>Number.parseInt(n));if(e.some(Number.isNaN))return console.error("Invalid API version string",t),null;let[i,r]=e.slice(0,2);return{major:i,minor:r}}function Ce(t,e){if(!t)return!0;let i=te(e);return i?t.major>i.major?!1:t.minor===void 0||i.minor===void 0?!0:i.minor<=t.minor:!0}function pe(t){return!!t&&typeof t=="object"&&"declaredClass"in t&&typeof t.declaredClass=="string"&&t.declaredClass.startsWith("esri.layers.")&&x(t)&&"queryFeatures"in t&&typeof t.queryFeatures=="function"}function De(t){return!!t&&typeof t=="object"&&"allLayers"in t&&"allTables"in t&&typeof t.allLayers=="object"&&typeof t.allTables=="object"}function ce(t){return!!t&&typeof t=="object"&&"declaredClass"in t&&typeof t.declaredClass=="string"&&(t.declaredClass==="esri.Map"||t.declaredClass==="esri.WebMap"||t.declaredClass==="esri.WebScene")}function Se(t){return!!t&&typeof t=="object"&&"loadAll"in t&&typeof t.loadAll=="function"}function ue(t){return!!t&&typeof t=="object"&&"portalItem"in t&&t.portalItem!=null}function he(t){return!!t&&typeof t=="object"&&"portalItem"in t&&t.portalItem!=null}function x(t){return!!t&&typeof t=="object"&&"fields"in t&&Array.isArray(t.fields)}function I(t){return!!t&&typeof t=="object"&&"url"in t&&typeof t.url=="string"}function ve(t){return I(t)&&/\/(?:featureserver|mapserver)(?:\/|$)/iu.test(t.url)}function ze(t){return I(t)||x(t)||he(t)}function Be(t){return I(t)||x(t)||he(t)}function He(t){return ue(t)||ce(t)||ve(t)}function ie(t){return!!t&&typeof t=="object"&&"declaredClass"in t&&t.declaredClass==="esri.layers.support.Subtype"}function L(t){return!!t&&typeof t=="object"&&"declaredClass"in t&&t.declaredClass==="esri.layers.support.CodedValueDomain"}function Fe(t){return!!t&&typeof t=="object"&&"declaredClass"in t&&t.declaredClass==="esri.layers.support.InheritedDomain"}function Xe(t){return!!t&&typeof t=="object"&&"id"in t&&typeof t.id=="string"&&"definitions"in t&&typeof t.definitions=="object"&&!Array.isArray(t.definitions)}function F(t){return!!t&&typeof t=="object"&&"title"in t&&typeof t.title=="string"}function Me(t){return!!t&&typeof t=="object"&&"url"in t&&typeof t.url=="string"}function de(t){return!!t&&typeof t=="object"&&"layerId"in t&&typeof t.layerId=="number"}function j(t){return!!t&&typeof t=="object"&&"typeIdField"in t&&"types"in t}function re(t){return!!t&&typeof t=="object"&&"getFieldDomain"in t&&typeof t.getFieldDomain=="function"}function g(t){return!!t&&typeof t=="object"&&"subtypeField"in t}function Te(t){return g(t)&&"subtypes"in t}function xe(t){return!!t&&typeof t=="object"&&"portalItem"in t}function Ie(t){return de(t)&&"relationships"in t&&"url"in t&&Array.isArray(t.relationships)&&typeof t.url=="string"}function Pe(t){return!!t&&typeof t=="object"&&"isTable"in t&&typeof t.isTable=="boolean"}function $e(t){return!!t&&typeof t=="object"&&"load"in t&&typeof t.load=="function"}async function fe(t){if(!t)return null;let e=null;return x(t)?e=t:e=await y(t),$e(e)&&await e.load(),e}async function Ae(t){t+="/layers";let e=await(await z())(t,{responseType:"json",query:{f:"json"}}),i=t.endsWith("MapServer/layers")?"data":"query",r=ne(e.data?.layers,i),n=ne(e.data?.tables,i);return{layers:r,tables:n}}function ne(t,e){return t?t.filter(i=>{switch(i.type){case"Feature Layer":case"Oriented Imagery Layer":case"Catalog Layer":case"Table":return(i.capabilities?i.capabilities.toLowerCase().split(",").map(r=>r.trim()):[]).includes(e);default:return!1}}):[]}async function Ve(t,e){let i=await y({url:`${t.url}/${e.relatedTableId}`});return await i.load(),i}function ye(t){return(e,i)=>{if(e.type==="oid")return-1;if(i.type==="oid")return 1;if(g(t)){if(e.name===t.subtypeField)return-1;if(i.name===t.subtypeField)return 1}if(j(t)){if(e.name===t.typeIdField)return-1;if(i.name===t.typeIdField)return 1}return e.name.localeCompare(i.name,"en",{sensitivity:"base"})}}function se(t,e){return t?.every(i=>i.domains?.[e.name]?.type==="inherited")??!1}var Le=/^[a-z_$][a-z0-9_$]*$/giu;function me(t,e=!0){return t.match(Le)?`${e?".":""}${t}`:`["${t}"]`}function _e(t,e){return t?`${t}${me(e)}`:e}function oe(t){return xe(t)?t.portalItem:null}function Ye(t,e,i=!1){let r=e,n=[],o=[];return J(t).forEach(s=>{let u=`**${s.name}**
9
9
  ${s.type}`;s.description&&(u+=`
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.30
4
+ * v4.32.0-next.32
5
5
  */
6
- import{b as f,c as a,d as b,e as _}from"./EXDOZ6SN.js";import{b as l}from"./5R3E4CDI.js";import{a as p}from"./BDIWLDUC.js";import{a as m}from"./ZXU6XMK7.js";import"./CAOWFLVW.js";import{e as d,f as s,h as c,r,s as u,w as h}from"./ORF7RLSL.js";import{d as g}from"./BCLNDFGS.js";import"./HXHEZICE.js";import"./URSXSZWR.js";function v(o){return!Array.isArray(o)||!o.length?!1:Array.isArray(o[0].suggestions)}var $=d`:host{background-color:var(--calcite-color-foreground-1);.notice-container{margin:var(--calcite-spacing-xxs);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1)}.sticky{position:sticky;top:0;z-index:10}calcite-flow{height:100%}calcite-block{p:first-of-type{margin-top:0}code{font-family:var(--calcite-code-family)}pre{direction:ltr;overflow-x:auto;background-color:var(--calcite-color-foreground-2);padding:var(--calcite-spacing-sm);code{font-size:var(--calcite-font-size--2)}}}calcite-list-item-group{background-color:var(--calcite-color-foreground-2)}}`,n=class extends u{constructor(){super(...arguments),this._beforeBack=async()=>{this._selectedSuggestion=void 0},this.messages=p(),this._colorizeStyle="",this._filterValue="",this.arcgisClose=r({bubbles:!1}),this.arcgisItemSelected=r({bubbles:!1})}static{this.properties={_colorizeStyle:16,_filterValue:16,_selectedSuggestion:16,suggestions:0}}static{this.styles=$}load(){this._colorizeStyle=a(),this._themeChangedListener=b(()=>this._colorizeStyle=a())}willUpdate(e){e.has("suggestions")&&this.suggestionsPropChanged()}disconnectedCallback(){super.disconnectedCallback(),this._flowObserver?.disconnect(),this._themeChangedListener?.dispose()}suggestionsPropChanged(){this._selectedSuggestion=void 0}flowFocusHandler(e){if(!e){this._flowObserver?.disconnect(),this._flowObserver=void 0;return}this._flowObserver||(this._flowObserver=new MutationObserver(()=>{g(e.querySelector("calcite-flow-item:last-child"),"calcite-input")}),this._flowObserver.observe(e,{attributes:!0,attributeFilter:["id"],childList:!0}))}_updateFilterValue(e){this._filterValue=e.target?.value??""}_emitItemSelected(e,t){let i=e;(!i.key||i.key==="Enter")&&(e.preventDefault(),this.arcgisItemSelected.emit(t.code))}_showSuggestionDetail(e,t){e.stopPropagation(),this._selectedSuggestion=t}_emitClose(){this.arcgisClose.emit()}renderSuggestionGroups(){return this.suggestions===void 0?null:v(this.suggestions)?this.suggestions.map(e=>s`<calcite-list-item-group .heading=${e.label}>${this.renderSuggestionListItems(e.suggestions)}</calcite-list-item-group>`):this.renderSuggestionListItems(this.suggestions)}renderSuggestionListItems(e){return e=m(e,"label",this._filterValue),e.length?e.map(t=>s`<calcite-list-item .label=${t.label} .description=${t.description} @calciteListItemSelect=${i=>this._emitItemSelected(i,t)} @keydown=${i=>this._emitItemSelected(i,t)} data-item=${t??c}><calcite-action slot=actions-end .text=${this.messages.expand??""} scale=s icon=chevron-right icon-flip-rtl @click=${i=>this._showSuggestionDetail(i,t)} data-item=${t??c}></calcite-action></calcite-list-item>`):s`<div class="notice-container">${this.messages.noitems}</div>`}renderSuggestionFlowItem(){let e=this._selectedSuggestion;return e?s`<calcite-flow-item .heading=${this.messages.suggestions} closable @calciteFlowItemClose=${this._emitClose} .beforeBack=${this._beforeBack}><calcite-button width=half slot=footer appearance=outline kind=brand icon-start=code scale=s @click=${t=>this._emitItemSelected(t,e)} data-item=${e??c} ${l(t=>void t?.setFocus())}>${this.messages.insert}</calcite-button><calcite-block open .heading=${e.label} .description=${e.description}><div .innerHTML=${_(e.documentation)??""}></div><pre><code ${l(t=>t===void 0?void 0:void f(t,e.code).catch(console.error))}></code></pre></calcite-block></calcite-flow-item>`:null}render(){return s`<style>${this._colorizeStyle}</style><calcite-flow ${l(this.flowFocusHandler)}><calcite-flow-item .heading=${this.messages.suggestions} closable @calciteFlowItemClose=${this._emitClose}><calcite-input .value=${this._filterValue} icon=magnifying-glass clearable @calciteInputInput=${this._updateFilterValue} class="sticky" scale=m></calcite-input><calcite-list>${this.renderSuggestionGroups()}</calcite-list></calcite-flow-item>${this.renderSuggestionFlowItem()}</calcite-flow>`}};h("arcgis-arcade-suggestions",n);export{n as ArcgisArcadeSuggestions};
6
+ import{b as f,c as a,d as b,e as _}from"./PHNXJY3L.js";import{b as l}from"./6ONBLZHH.js";import{a as p}from"./Y2FGPYTK.js";import{a as m}from"./QEFAXS2W.js";import"./GVPKFM64.js";import{e as d,f as s,h as c,r,s as u,w as h}from"./S5V44ZJK.js";import{d as g}from"./HI6TDNNA.js";import"./PHF3TQZ6.js";import"./WAPWDKPX.js";function v(o){return!Array.isArray(o)||!o.length?!1:Array.isArray(o[0].suggestions)}var $=d`:host{background-color:var(--calcite-color-foreground-1);.notice-container{margin:var(--calcite-spacing-xxs);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1)}.sticky{position:sticky;top:0;z-index:10}calcite-flow{height:100%}calcite-block{p:first-of-type{margin-top:0}code{font-family:var(--calcite-code-family)}pre{direction:ltr;overflow-x:auto;background-color:var(--calcite-color-foreground-2);padding:var(--calcite-spacing-sm);code{font-size:var(--calcite-font-size--2)}}}calcite-list-item-group{background-color:var(--calcite-color-foreground-2)}}`,n=class extends u{constructor(){super(...arguments),this._beforeBack=async()=>{this._selectedSuggestion=void 0},this.messages=p(),this._colorizeStyle="",this._filterValue="",this.arcgisClose=r({bubbles:!1}),this.arcgisItemSelected=r({bubbles:!1})}static{this.properties={_colorizeStyle:16,_filterValue:16,_selectedSuggestion:16,suggestions:0}}static{this.styles=$}load(){this._colorizeStyle=a(),this._themeChangedListener=b(()=>this._colorizeStyle=a())}willUpdate(e){e.has("suggestions")&&this.suggestionsPropChanged()}disconnectedCallback(){super.disconnectedCallback(),this._flowObserver?.disconnect(),this._themeChangedListener?.dispose()}suggestionsPropChanged(){this._selectedSuggestion=void 0}flowFocusHandler(e){if(!e){this._flowObserver?.disconnect(),this._flowObserver=void 0;return}this._flowObserver||(this._flowObserver=new MutationObserver(()=>{g(e.querySelector("calcite-flow-item:last-child"),"calcite-input")}),this._flowObserver.observe(e,{attributes:!0,attributeFilter:["id"],childList:!0}))}_updateFilterValue(e){this._filterValue=e.target?.value??""}_emitItemSelected(e,t){let i=e;(!i.key||i.key==="Enter")&&(e.preventDefault(),this.arcgisItemSelected.emit(t.code))}_showSuggestionDetail(e,t){e.stopPropagation(),this._selectedSuggestion=t}_emitClose(){this.arcgisClose.emit()}renderSuggestionGroups(){return this.suggestions===void 0?null:v(this.suggestions)?this.suggestions.map(e=>s`<calcite-list-item-group .heading=${e.label}>${this.renderSuggestionListItems(e.suggestions)}</calcite-list-item-group>`):this.renderSuggestionListItems(this.suggestions)}renderSuggestionListItems(e){return e=m(e,"label",this._filterValue),e.length?e.map(t=>s`<calcite-list-item .label=${t.label} .description=${t.description} @calciteListItemSelect=${i=>this._emitItemSelected(i,t)} @keydown=${i=>this._emitItemSelected(i,t)} data-item=${t??c}><calcite-action slot=actions-end .text=${this.messages.expand??""} scale=s icon=chevron-right icon-flip-rtl @click=${i=>this._showSuggestionDetail(i,t)} data-item=${t??c}></calcite-action></calcite-list-item>`):s`<div class="notice-container">${this.messages.noitems}</div>`}renderSuggestionFlowItem(){let e=this._selectedSuggestion;return e?s`<calcite-flow-item .heading=${this.messages.suggestions} closable @calciteFlowItemClose=${this._emitClose} .beforeBack=${this._beforeBack}><calcite-button width=half slot=footer appearance=outline kind=brand icon-start=code scale=s @click=${t=>this._emitItemSelected(t,e)} data-item=${e??c} ${l(t=>void t?.setFocus())}>${this.messages.insert}</calcite-button><calcite-block open .heading=${e.label} .description=${e.description}><div .innerHTML=${_(e.documentation)??""}></div><pre><code ${l(t=>t===void 0?void 0:void f(t,e.code).catch(console.error))}></code></pre></calcite-block></calcite-flow-item>`:null}render(){return s`<style>${this._colorizeStyle}</style><calcite-flow ${l(this.flowFocusHandler)}><calcite-flow-item .heading=${this.messages.suggestions} closable @calciteFlowItemClose=${this._emitClose}><calcite-input .value=${this._filterValue} icon=magnifying-glass clearable @calciteInputInput=${this._updateFilterValue} class="sticky" scale=m></calcite-input><calcite-list>${this.renderSuggestionGroups()}</calcite-list></calcite-flow-item>${this.renderSuggestionFlowItem()}</calcite-flow>`}};h("arcgis-arcade-suggestions",n);export{n as ArcgisArcadeSuggestions};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.30
4
+ * v4.32.0-next.32
5
5
  */
6
- import{b as u,c as f,d as v,e as k,f as S,g as T}from"./BG76AQAK.js";import{a as P}from"./BDIWLDUC.js";import{i as C}from"./ODCPTGQW.js";import{e as y,f as e,r as $,s as x,t as p,u as d,w}from"./ORF7RLSL.js";import{m,o as n}from"./BCLNDFGS.js";import"./URSXSZWR.js";var L=y`:host{display:flex;flex-direction:column;width:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);.flex-adjustable{flex:1 1 auto;overflow:hidden}.flex-row{display:flex;flex-direction:row;overflow:hidden}.flex-column{display:flex;flex-direction:column;overflow:hidden}.y-scrollable-container{overflow-y:auto;block-size:100%;background-color:var(--calcite-color-foreground-1)}header{border-bottom:1px solid var(--calcite-color-border-3);flex:0 0 auto}.ltr-container{direction:ltr}calcite-action-bar{calcite-action-group{padding-inline-end:var(--calcite-spacing-sm);calcite-action{padding-inline-end:var(--calcite-spacing-sm)}calcite-action:not(:first-child){padding-inline-start:var(--calcite-spacing-sm)}}calcite-action-group:last-child{border-inline-end-width:0px}calcite-action-group:not(:first-child){padding-inline-start:var(--calcite-spacing-sm)}}.notice-container{margin:var(--calcite-spacing-xxs);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1)}.color-info{color:var(--calcite-color-status-info)}.color-error{color:var(--calcite-color-status-danger)}.color-success{color:var(--calcite-color-status-success)}[class*=result-value-]{font-size:var(--calcite-font-size--2);line-height:1.25rem;background-color:var(--calcite-color-foreground-1);margin:var(--calcite-spacing-md)}.console-logs-container{background-color:var(--calcite-color-foreground-1);padding:0 var(--calcite-spacing-md);font-family:var(--calcite-code-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal)}.result-value-table{table{display:block;max-width:fit-content;overflow-x:auto;border-spacing:0;border-collapse:collapse;text-align:start;white-space:nowrap;thead{background-color:var(--calcite-color-foreground-2)}tr{border-top:1px solid var(--calcite-color-border-3);border-bottom:1px solid var(--calcite-color-border-3)}th,td{border-inline-start:1px solid var(--calcite-color-border-3);border-inline-end:1px solid var(--calcite-color-border-3);text-align:start;padding:var(--calcite-spacing-xxs);.string-value{white-space:pre}}th{font-weight:var(--calcite-font-weight-medium)}}}.tree-item-label,.number-value,.string-value,.boolean-value{font-family:var(--calcite-code-family)}.tree-item-label,.value-type{color:var(--calcite-color-text-2);font-weight:var(--calcite-font-weight-normal)}.dictionary-property{color:var(--arcgis-editor-identifier)}.number-value{color:var(--arcgis-editor-number)}.string-value{color:var(--arcgis-editor-string);white-space:pre-wrap}.constant-value{color:var(--arcgis-editor-constant)}.date-value{color:var(--arcgis-editor-date)}}`,a={lines:!0,selectionMode:"none",scale:"s",onCalciteTreeSelect:l=>l.target.selectedItems.forEach(t=>t.selected=!1)},r={onClick:l=>{let t=l.currentTarget;t.expanded=!t.expanded}};function o(l){return e`<span class="dictionary-property">${l}</span><span>:&nbsp;</span>`}function M(l,t=!1){return e`<calcite-tree slot=${(t?"children":void 0)??d} .lines=${a.lines} .selectionMode=${a.selectionMode} .scale=${a.scale} @calciteTreeSelect=${a.onCalciteTreeSelect}><calcite-tree-item class="string-value">${JSON.stringify(l.castAsJson(),void 0,2)}</calcite-tree-item></calcite-tree>`}function R(l,t=!1){return e`<calcite-tree slot=${(t?"children":void 0)??d} .lines=${a.lines} .selectionMode=${a.selectionMode} .scale=${a.scale} @calciteTreeSelect=${a.onCalciteTreeSelect}><calcite-tree-item><div class="tree-item-label">${o("type")}${l.type}</div></calcite-tree-item><calcite-tree-item><div class="tree-item-label">${o("value")}<span class="string-value">${JSON.stringify(l,void 0,2)}</span></div></calcite-tree-item></calcite-tree>`}function h(l){switch(l.type){case"unknown":case"null":return e`<span class="constant-value">${l.type}</span>`;case"text":return e`<span class="string-value">${m(l.value)}</span>`;case"number":return e`<span class="number-value">${l.value.toString()}</span>`;case"boolean":return e`<span class="constant-value">${l.value.toString()}</span>`;case"date":return e`<span class="date-value">${k(l)}</span>`;case"dateOnly":return e`<span class="string-value">${m(S(l))}</span>`;case"time":return e`<span class="string-value">${m(T(l))}</span>`;default:return null}}function A(l){let t=C(l.value.fields);return e`<table><thead><tr>${t.map(i=>e`<th>${i.name}</th>`)}</tr></thead><tbody>${l.features.map(i=>e`<tr>${t.map(c=>{try{let s=v(i.field(c.name));return e`<td>${h(s)}</td>`}catch{return e`<td></td>`}})}</tr>`)}</tbody></table>`}var b=class extends x{constructor(){super(...arguments),this.messages=P(),this.loading=!0,this.openedResultPanel="output",this.arcgisClose=$({bubbles:!1}),this.arcgisOpenedResultPanelChange=$({bubbles:!1})}static{this.properties={consoleLogs:0,loading:5,openedResultPanel:3,result:0}}static{this.styles=L}updateResultPanel(t){this.openedResultPanel=t,this.arcgisOpenedResultPanelChange.emit(t)}_switchResultPanel(t){if(!t.target)return;let i=t.target?.dataset.panelName;i&&this.updateResultPanel(i)}_emitClose(){this.arcgisClose.emit()}renderConsolePanel(){return this.openedResultPanel!=="console"?null:this.loading&&!this.consoleLogs?.length?e`<calcite-loader scale=s type=indeterminate label></calcite-loader>`:e`<div class="console-logs-container ltr-container">${this.consoleLogs?.length?this.consoleLogs.map(t=>e`<p>${t}</p>`):e`<p>${this.messages.consolemessage}</p>`}</div>`}renderLogPanel(){if(this.openedResultPanel!=="log")return null;if(this.loading)return e`<calcite-loader scale=s type=indeterminate label></calcite-loader>`;let t=this.result?.type==="error"?"color-error":"color-success";return e`<calcite-list>${this.result?e`<calcite-list-item .label=${n(this.messages.lastexecutionformat,{timeStamp:new Intl.DateTimeFormat(this.messages._t9nLocale,{dateStyle:"medium",timeStyle:"medium"}).format(this.result.timeStamp)})}><calcite-icon slot=content-start icon=information scale=s class=${p(t)}></calcite-icon></calcite-list-item><calcite-list-item .label=${n(this.messages.compilationtimeformat,{time:new Intl.NumberFormat(this.messages._t9nLocale,{style:"unit",unit:"millisecond",maximumFractionDigits:2}).format(this.result.compilationTime??0)})}><calcite-icon slot=content-start icon=information scale=s class=${p(t)}></calcite-icon></calcite-list-item><calcite-list-item .label=${n(this.messages.executiontimeformat,{time:new Intl.NumberFormat(this.messages._t9nLocale,{style:"unit",unit:"millisecond",maximumFractionDigits:2}).format(this.result.executionTime??0)})}><calcite-icon slot=content-start icon=information scale=s class=${p(t)}></calcite-icon></calcite-list-item>`:e`<calcite-list-item .label=${this.messages.runscriptmessage}><calcite-icon slot=content-start icon=information scale=s class="color-info"></calcite-icon></calcite-list-item>`}</calcite-list>`}renderOutputPanel(){if(this.openedResultPanel!=="output")return null;if(this.loading)return e`<calcite-loader scale=s type=indeterminate label></calcite-loader>`;switch(this.result?.type){case"error":return e`<div class="result-value-simple flex-adjustable">${n(this.messages.executionerrorformat,{message:this.result.value})}</div>`;case"null":case"unknown":return e`<div class="result-value-simple ltr-container">${h(this.result)}</div>`;case"text":case"number":case"date":case"dateOnly":case"time":case"boolean":return e`<div class="result-value-simple ltr-container"><span class="value-type">${this.result.type}:&nbsp;</span>${h(this.result)}</div>`;case"array":{let t=(this.result.value??[]).slice(0,u);return e`<div class="result-value-simple ltr-container"><calcite-tree .lines=${a.lines} .selectionMode=${a.selectionMode} .scale=${a.scale} @calciteTreeSelect=${a.onCalciteTreeSelect}><calcite-tree-item expanded @click=${r.onClick}><div class="tree-item-label">${this.renderArrayHeader(this.result)}</div>${this.renderArrayTree(t,!0)}</calcite-tree-item></calcite-tree></div>`}case"geometry":return e`<div class="result-value-simple ltr-container"><calcite-tree .lines=${a.lines} .selectionMode=${a.selectionMode} .scale=${a.scale} @calciteTreeSelect=${a.onCalciteTreeSelect}><calcite-tree-item expanded @click=${r.onClick}><div class="tree-item-label">${this.result.type}</div>${R(this.result.value,!0)}</calcite-tree-item></calcite-tree></div>`;case"attachment":return e`<div class="result-value-simple ltr-container"><calcite-tree .lines=${a.lines} .selectionMode=${a.selectionMode} .scale=${a.scale} @calciteTreeSelect=${a.onCalciteTreeSelect}><calcite-tree-item expanded @click=${r.onClick}><div class="tree-item-label">${this.result.type}</div>${M(this.result.value,!0)}</calcite-tree-item></calcite-tree></div>`;case"feature":case"dictionary":case"portal":return e`<div class="result-value-simple ltr-container"><calcite-tree .lines=${a.lines} .selectionMode=${a.selectionMode} .scale=${a.scale} @calciteTreeSelect=${a.onCalciteTreeSelect}><calcite-tree-item expanded @click=${r.onClick}><div class="tree-item-label">${this.result.type}</div>${this.renderDictionaryTree(this.result.value,!0)}</calcite-tree-item></calcite-tree></div>`;case"featureSet":return e`<div class="result-value-table ltr-container">${this.renderFeatureSetLabel(this.result)}${A(this.result)}</div>`;case"knowledgeGraph":return e`<div class="result-value-simple ltr-container"><span class="value-type">${this.result.type}:&nbsp;</span><span class="string-value">${this.result.value.url}</span></div>`;default:return e`<div class="result-value-simple flex-adjustable ltr-container">${this.messages.runscriptmessage}</div>`}}renderArrayHeader(t){let i=t.value??[],c=Math.max(i.length-u,0);return e`<span>${`${t.type}(${i.length??0})`}</span>${c>0?e`<span>&nbsp;${n(this.messages.showingfirstitemsformat,{count:u.toString()})}</span>`:null}`}renderArrayTree(t,i=!1){return e`<calcite-tree slot=${(i?"children":void 0)??d} .lines=${a.lines} .selectionMode=${a.selectionMode} .scale=${a.scale} @calciteTreeSelect=${a.onCalciteTreeSelect}>${t.map((c,s)=>{let g=v(c);return this.renderTreeItem(g,s,!i)})}</calcite-tree>`}renderDictionaryTree(t,i=!1){let c=t.geometry?.();return e`<calcite-tree slot=${(i?"children":void 0)??d} .lines=${a.lines} .selectionMode=${a.selectionMode} .scale=${a.scale} @calciteTreeSelect=${a.onCalciteTreeSelect}>${t.keys().map(s=>{let g=v(t.field(s));return this.renderTreeItem(g,s)})}${c?this.renderTreeItem({type:"geometry",value:c},"geometry"):null}</calcite-tree>`}renderTreeItem(t,i,c=!1){switch(t.type){case"null":case"unknown":case"text":case"number":case"date":case"dateOnly":case"time":case"boolean":return e`<calcite-tree-item><div class="tree-item-label">${o(i)}${h(t)}</div></calcite-tree-item>`;case"array":{let s=(t.value??[]).slice(0,u);return e`<calcite-tree-item .expanded=${c} @click=${r.onClick}><div class="tree-item-label">${o(i)}${this.renderArrayHeader(t)}</div>${this.renderArrayTree(s,!0)}</calcite-tree-item>`}case"geometry":return e`<calcite-tree-item .expanded=${c} @click=${r.onClick}><div class="tree-item-label">${o(i)}<span>${t.type}</span></div>${R(t.value,!0)}</calcite-tree-item>`;case"attachment":return e`<calcite-tree-item .expanded=${c} @click=${r.onClick}><div class="tree-item-label">${o(i)}<span>${t.type}</span></div>${M(t.value,!0)}</calcite-tree-item>`;case"feature":case"dictionary":case"portal":return e`<calcite-tree-item .expanded=${c} @click=${r.onClick}><div class="tree-item-label">${o(i)}<span>${t.type}</span></div>${this.renderDictionaryTree(t.value,!0)}</calcite-tree-item>`;default:return null}}renderFeatureSetLabel(t){return e`<div class="value-type"><span>${t.type}:</span>${t.features.length>=f?e`<span>&nbsp;${n(this.messages.showingfirstitemsformat,{count:f.toString()})}</span>`:null}</div>`}render(){return e`<header class="flex-row"><calcite-action-bar class="flex-adjustable" layout=horizontal scale=s expanded expand-disabled><calcite-action-group scale=s><calcite-action .active=${this.openedResultPanel==="output"} .text=${this.messages.output??""} text-enabled scale=s icon=list-show-all icon-flip-rtl @click=${this._switchResultPanel} data-panel-name=output></calcite-action><calcite-action .active=${this.openedResultPanel==="console"} .text=${this.messages.console??""} text-enabled scale=s icon=console icon-flip-rtl @click=${this._switchResultPanel} data-panel-name=console></calcite-action><calcite-action .active=${this.openedResultPanel==="log"} .text=${this.messages.log??""} text-enabled scale=s icon=list icon-flip-rtl @click=${this._switchResultPanel} data-panel-name=log></calcite-action></calcite-action-group></calcite-action-bar><calcite-action scale=s icon=x .text=${this.messages.close??""} @click=${this._emitClose}></calcite-action></header><article class="flex-adjustable">${this.loading?e`<calcite-loader scale=s type=indeterminate label></calcite-loader>`:e`<div class="flex-column y-scrollable-container">${this.renderOutputPanel()}${this.renderConsolePanel()}${this.renderLogPanel()}</div>`}</article>`}};w("arcgis-arcade-results",b);export{b as ArcgisArcadeResults};
6
+ import{b as u,c as f,d as v,e as k,f as S,g as T}from"./XWAJD5N2.js";import{a as P}from"./Y2FGPYTK.js";import{i as C}from"./W5G66Y5E.js";import{e as y,f as e,r as $,s as x,t as p,u as d,w}from"./S5V44ZJK.js";import{m,o as n}from"./HI6TDNNA.js";import"./WAPWDKPX.js";var L=y`:host{display:flex;flex-direction:column;width:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);.flex-adjustable{flex:1 1 auto;overflow:hidden}.flex-row{display:flex;flex-direction:row;overflow:hidden}.flex-column{display:flex;flex-direction:column;overflow:hidden}.y-scrollable-container{overflow-y:auto;block-size:100%;background-color:var(--calcite-color-foreground-1)}header{border-bottom:1px solid var(--calcite-color-border-3);flex:0 0 auto}.ltr-container{direction:ltr}calcite-action-bar{calcite-action-group{padding-inline-end:var(--calcite-spacing-sm);calcite-action{padding-inline-end:var(--calcite-spacing-sm)}calcite-action:not(:first-child){padding-inline-start:var(--calcite-spacing-sm)}}calcite-action-group:last-child{border-inline-end-width:0px}calcite-action-group:not(:first-child){padding-inline-start:var(--calcite-spacing-sm)}}.notice-container{margin:var(--calcite-spacing-xxs);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1)}.color-info{color:var(--calcite-color-status-info)}.color-error{color:var(--calcite-color-status-danger)}.color-success{color:var(--calcite-color-status-success)}[class*=result-value-]{font-size:var(--calcite-font-size--2);line-height:1.25rem;background-color:var(--calcite-color-foreground-1);margin:var(--calcite-spacing-md)}.console-logs-container{background-color:var(--calcite-color-foreground-1);padding:0 var(--calcite-spacing-md);font-family:var(--calcite-code-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal)}.result-value-table{table{display:block;max-width:fit-content;overflow-x:auto;border-spacing:0;border-collapse:collapse;text-align:start;white-space:nowrap;thead{background-color:var(--calcite-color-foreground-2)}tr{border-top:1px solid var(--calcite-color-border-3);border-bottom:1px solid var(--calcite-color-border-3)}th,td{border-inline-start:1px solid var(--calcite-color-border-3);border-inline-end:1px solid var(--calcite-color-border-3);text-align:start;padding:var(--calcite-spacing-xxs);.string-value{white-space:pre}}th{font-weight:var(--calcite-font-weight-medium)}}}.tree-item-label,.number-value,.string-value,.boolean-value{font-family:var(--calcite-code-family)}.tree-item-label,.value-type{color:var(--calcite-color-text-2);font-weight:var(--calcite-font-weight-normal)}.dictionary-property{color:var(--arcgis-editor-identifier)}.number-value{color:var(--arcgis-editor-number)}.string-value{color:var(--arcgis-editor-string);white-space:pre-wrap}.constant-value{color:var(--arcgis-editor-constant)}.date-value{color:var(--arcgis-editor-date)}}`,a={lines:!0,selectionMode:"none",scale:"s",onCalciteTreeSelect:l=>l.target.selectedItems.forEach(t=>t.selected=!1)},r={onClick:l=>{let t=l.currentTarget;t.expanded=!t.expanded}};function o(l){return e`<span class="dictionary-property">${l}</span><span>:&nbsp;</span>`}function M(l,t=!1){return e`<calcite-tree slot=${(t?"children":void 0)??d} .lines=${a.lines} .selectionMode=${a.selectionMode} .scale=${a.scale} @calciteTreeSelect=${a.onCalciteTreeSelect}><calcite-tree-item class="string-value">${JSON.stringify(l.castAsJson(),void 0,2)}</calcite-tree-item></calcite-tree>`}function R(l,t=!1){return e`<calcite-tree slot=${(t?"children":void 0)??d} .lines=${a.lines} .selectionMode=${a.selectionMode} .scale=${a.scale} @calciteTreeSelect=${a.onCalciteTreeSelect}><calcite-tree-item><div class="tree-item-label">${o("type")}${l.type}</div></calcite-tree-item><calcite-tree-item><div class="tree-item-label">${o("value")}<span class="string-value">${JSON.stringify(l,void 0,2)}</span></div></calcite-tree-item></calcite-tree>`}function h(l){switch(l.type){case"unknown":case"null":return e`<span class="constant-value">${l.type}</span>`;case"text":return e`<span class="string-value">${m(l.value)}</span>`;case"number":return e`<span class="number-value">${l.value.toString()}</span>`;case"boolean":return e`<span class="constant-value">${l.value.toString()}</span>`;case"date":return e`<span class="date-value">${k(l)}</span>`;case"dateOnly":return e`<span class="string-value">${m(S(l))}</span>`;case"time":return e`<span class="string-value">${m(T(l))}</span>`;default:return null}}function A(l){let t=C(l.value.fields);return e`<table><thead><tr>${t.map(i=>e`<th>${i.name}</th>`)}</tr></thead><tbody>${l.features.map(i=>e`<tr>${t.map(c=>{try{let s=v(i.field(c.name));return e`<td>${h(s)}</td>`}catch{return e`<td></td>`}})}</tr>`)}</tbody></table>`}var b=class extends x{constructor(){super(...arguments),this.messages=P(),this.loading=!0,this.openedResultPanel="output",this.arcgisClose=$({bubbles:!1}),this.arcgisOpenedResultPanelChange=$({bubbles:!1})}static{this.properties={consoleLogs:0,loading:5,openedResultPanel:3,result:0}}static{this.styles=L}updateResultPanel(t){this.openedResultPanel=t,this.arcgisOpenedResultPanelChange.emit(t)}_switchResultPanel(t){if(!t.target)return;let i=t.target?.dataset.panelName;i&&this.updateResultPanel(i)}_emitClose(){this.arcgisClose.emit()}renderConsolePanel(){return this.openedResultPanel!=="console"?null:this.loading&&!this.consoleLogs?.length?e`<calcite-loader scale=s type=indeterminate label></calcite-loader>`:e`<div class="console-logs-container ltr-container">${this.consoleLogs?.length?this.consoleLogs.map(t=>e`<p>${t}</p>`):e`<p>${this.messages.consolemessage}</p>`}</div>`}renderLogPanel(){if(this.openedResultPanel!=="log")return null;if(this.loading)return e`<calcite-loader scale=s type=indeterminate label></calcite-loader>`;let t=this.result?.type==="error"?"color-error":"color-success";return e`<calcite-list>${this.result?e`<calcite-list-item .label=${n(this.messages.lastexecutionformat,{timeStamp:new Intl.DateTimeFormat(this.messages._t9nLocale,{dateStyle:"medium",timeStyle:"medium"}).format(this.result.timeStamp)})}><calcite-icon slot=content-start icon=information scale=s class=${p(t)}></calcite-icon></calcite-list-item><calcite-list-item .label=${n(this.messages.compilationtimeformat,{time:new Intl.NumberFormat(this.messages._t9nLocale,{style:"unit",unit:"millisecond",maximumFractionDigits:2}).format(this.result.compilationTime??0)})}><calcite-icon slot=content-start icon=information scale=s class=${p(t)}></calcite-icon></calcite-list-item><calcite-list-item .label=${n(this.messages.executiontimeformat,{time:new Intl.NumberFormat(this.messages._t9nLocale,{style:"unit",unit:"millisecond",maximumFractionDigits:2}).format(this.result.executionTime??0)})}><calcite-icon slot=content-start icon=information scale=s class=${p(t)}></calcite-icon></calcite-list-item>`:e`<calcite-list-item .label=${this.messages.runscriptmessage}><calcite-icon slot=content-start icon=information scale=s class="color-info"></calcite-icon></calcite-list-item>`}</calcite-list>`}renderOutputPanel(){if(this.openedResultPanel!=="output")return null;if(this.loading)return e`<calcite-loader scale=s type=indeterminate label></calcite-loader>`;switch(this.result?.type){case"error":return e`<div class="result-value-simple flex-adjustable">${n(this.messages.executionerrorformat,{message:this.result.value})}</div>`;case"null":case"unknown":return e`<div class="result-value-simple ltr-container">${h(this.result)}</div>`;case"text":case"number":case"date":case"dateOnly":case"time":case"boolean":return e`<div class="result-value-simple ltr-container"><span class="value-type">${this.result.type}:&nbsp;</span>${h(this.result)}</div>`;case"array":{let t=(this.result.value??[]).slice(0,u);return e`<div class="result-value-simple ltr-container"><calcite-tree .lines=${a.lines} .selectionMode=${a.selectionMode} .scale=${a.scale} @calciteTreeSelect=${a.onCalciteTreeSelect}><calcite-tree-item expanded @click=${r.onClick}><div class="tree-item-label">${this.renderArrayHeader(this.result)}</div>${this.renderArrayTree(t,!0)}</calcite-tree-item></calcite-tree></div>`}case"geometry":return e`<div class="result-value-simple ltr-container"><calcite-tree .lines=${a.lines} .selectionMode=${a.selectionMode} .scale=${a.scale} @calciteTreeSelect=${a.onCalciteTreeSelect}><calcite-tree-item expanded @click=${r.onClick}><div class="tree-item-label">${this.result.type}</div>${R(this.result.value,!0)}</calcite-tree-item></calcite-tree></div>`;case"attachment":return e`<div class="result-value-simple ltr-container"><calcite-tree .lines=${a.lines} .selectionMode=${a.selectionMode} .scale=${a.scale} @calciteTreeSelect=${a.onCalciteTreeSelect}><calcite-tree-item expanded @click=${r.onClick}><div class="tree-item-label">${this.result.type}</div>${M(this.result.value,!0)}</calcite-tree-item></calcite-tree></div>`;case"feature":case"dictionary":case"portal":return e`<div class="result-value-simple ltr-container"><calcite-tree .lines=${a.lines} .selectionMode=${a.selectionMode} .scale=${a.scale} @calciteTreeSelect=${a.onCalciteTreeSelect}><calcite-tree-item expanded @click=${r.onClick}><div class="tree-item-label">${this.result.type}</div>${this.renderDictionaryTree(this.result.value,!0)}</calcite-tree-item></calcite-tree></div>`;case"featureSet":return e`<div class="result-value-table ltr-container">${this.renderFeatureSetLabel(this.result)}${A(this.result)}</div>`;case"knowledgeGraph":return e`<div class="result-value-simple ltr-container"><span class="value-type">${this.result.type}:&nbsp;</span><span class="string-value">${this.result.value.url}</span></div>`;default:return e`<div class="result-value-simple flex-adjustable ltr-container">${this.messages.runscriptmessage}</div>`}}renderArrayHeader(t){let i=t.value??[],c=Math.max(i.length-u,0);return e`<span>${`${t.type}(${i.length??0})`}</span>${c>0?e`<span>&nbsp;${n(this.messages.showingfirstitemsformat,{count:u.toString()})}</span>`:null}`}renderArrayTree(t,i=!1){return e`<calcite-tree slot=${(i?"children":void 0)??d} .lines=${a.lines} .selectionMode=${a.selectionMode} .scale=${a.scale} @calciteTreeSelect=${a.onCalciteTreeSelect}>${t.map((c,s)=>{let g=v(c);return this.renderTreeItem(g,s,!i)})}</calcite-tree>`}renderDictionaryTree(t,i=!1){let c=t.geometry?.();return e`<calcite-tree slot=${(i?"children":void 0)??d} .lines=${a.lines} .selectionMode=${a.selectionMode} .scale=${a.scale} @calciteTreeSelect=${a.onCalciteTreeSelect}>${t.keys().map(s=>{let g=v(t.field(s));return this.renderTreeItem(g,s)})}${c?this.renderTreeItem({type:"geometry",value:c},"geometry"):null}</calcite-tree>`}renderTreeItem(t,i,c=!1){switch(t.type){case"null":case"unknown":case"text":case"number":case"date":case"dateOnly":case"time":case"boolean":return e`<calcite-tree-item><div class="tree-item-label">${o(i)}${h(t)}</div></calcite-tree-item>`;case"array":{let s=(t.value??[]).slice(0,u);return e`<calcite-tree-item .expanded=${c} @click=${r.onClick}><div class="tree-item-label">${o(i)}${this.renderArrayHeader(t)}</div>${this.renderArrayTree(s,!0)}</calcite-tree-item>`}case"geometry":return e`<calcite-tree-item .expanded=${c} @click=${r.onClick}><div class="tree-item-label">${o(i)}<span>${t.type}</span></div>${R(t.value,!0)}</calcite-tree-item>`;case"attachment":return e`<calcite-tree-item .expanded=${c} @click=${r.onClick}><div class="tree-item-label">${o(i)}<span>${t.type}</span></div>${M(t.value,!0)}</calcite-tree-item>`;case"feature":case"dictionary":case"portal":return e`<calcite-tree-item .expanded=${c} @click=${r.onClick}><div class="tree-item-label">${o(i)}<span>${t.type}</span></div>${this.renderDictionaryTree(t.value,!0)}</calcite-tree-item>`;default:return null}}renderFeatureSetLabel(t){return e`<div class="value-type"><span>${t.type}:</span>${t.features.length>=f?e`<span>&nbsp;${n(this.messages.showingfirstitemsformat,{count:f.toString()})}</span>`:null}</div>`}render(){return e`<header class="flex-row"><calcite-action-bar class="flex-adjustable" layout=horizontal scale=s expanded expand-disabled><calcite-action-group scale=s><calcite-action .active=${this.openedResultPanel==="output"} .text=${this.messages.output??""} text-enabled scale=s icon=list-show-all icon-flip-rtl @click=${this._switchResultPanel} data-panel-name=output></calcite-action><calcite-action .active=${this.openedResultPanel==="console"} .text=${this.messages.console??""} text-enabled scale=s icon=console icon-flip-rtl @click=${this._switchResultPanel} data-panel-name=console></calcite-action><calcite-action .active=${this.openedResultPanel==="log"} .text=${this.messages.log??""} text-enabled scale=s icon=list icon-flip-rtl @click=${this._switchResultPanel} data-panel-name=log></calcite-action></calcite-action-group></calcite-action-bar><calcite-action scale=s icon=x .text=${this.messages.close??""} @click=${this._emitClose}></calcite-action></header><article class="flex-adjustable">${this.loading?e`<calcite-loader scale=s type=indeterminate label></calcite-loader>`:e`<div class="flex-column y-scrollable-container">${this.renderOutputPanel()}${this.renderConsolePanel()}${this.renderLogPanel()}</div>`}</article>`}};w("arcgis-arcade-results",b);export{b as ArcgisArcadeResults};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.30
4
+ * v4.32.0-next.32
5
5
  */
6
- import{dk as a,ek as b,fk as c,gk as d,hk as e,ik as f,jk as g,kk as h,lk as i,mk as j,nk as k,ok as l,pk as m,qk as n}from"./HXHEZICE.js";import"./URSXSZWR.js";export{a as CancellationTokenSource,b as Emitter,c as KeyCode,d as KeyMod,i as MarkerSeverity,j as MarkerTag,e as Position,f as Range,g as Selection,h as SelectionDirection,l as Token,k as Uri,m as editor,n as languages};
6
+ import{dk as a,ek as b,fk as c,gk as d,hk as e,ik as f,jk as g,kk as h,lk as i,mk as j,nk as k,ok as l,pk as m,qk as n}from"./PHF3TQZ6.js";import"./WAPWDKPX.js";export{a as CancellationTokenSource,b as Emitter,c as KeyCode,d as KeyMod,i as MarkerSeverity,j as MarkerTag,e as Position,f as Range,g as Selection,h as SelectionDirection,l as Token,k as Uri,m as editor,n as languages};
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.30
4
+ * v4.32.0-next.32
5
5
  */
6
6
  var X;(function(t){function i(r){return typeof r=="string"}t.is=i})(X||(X={}));var C;(function(t){function i(r){return typeof r=="string"}t.is=i})(C||(C={}));var $;(function(t){t.MIN_VALUE=-2147483648,t.MAX_VALUE=2147483647;function i(r){return typeof r=="number"&&t.MIN_VALUE<=r&&r<=t.MAX_VALUE}t.is=i})($||($={}));var A;(function(t){t.MIN_VALUE=0,t.MAX_VALUE=2147483647;function i(r){return typeof r=="number"&&t.MIN_VALUE<=r&&r<=t.MAX_VALUE}t.is=i})(A||(A={}));var x;(function(t){function i(n,e){return n===Number.MAX_VALUE&&(n=A.MAX_VALUE),e===Number.MAX_VALUE&&(e=A.MAX_VALUE),{line:n,character:e}}t.create=i;function r(n){let e=n;return a.objectLiteral(e)&&a.uinteger(e.line)&&a.uinteger(e.character)}t.is=r})(x||(x={}));var l;(function(t){function i(n,e,s,c){if(a.uinteger(n)&&a.uinteger(e)&&a.uinteger(s)&&a.uinteger(c))return{start:x.create(n,e),end:x.create(s,c)};if(x.is(n)&&x.is(e))return{start:n,end:e};throw new Error(`Range#create called with invalid arguments[${n}, ${e}, ${s}, ${c}]`)}t.create=i;function r(n){let e=n;return a.objectLiteral(e)&&x.is(e.start)&&x.is(e.end)}t.is=r})(l||(l={}));var m;(function(t){function i(n,e){return{uri:n,range:e}}t.create=i;function r(n){let e=n;return a.objectLiteral(e)&&l.is(e.range)&&(a.string(e.uri)||a.undefined(e.uri))}t.is=r})(m||(m={}));var q;(function(t){function i(n,e,s,c){return{targetUri:n,targetRange:e,targetSelectionRange:s,originSelectionRange:c}}t.create=i;function r(n){let e=n;return a.objectLiteral(e)&&l.is(e.targetRange)&&a.string(e.targetUri)&&l.is(e.targetSelectionRange)&&(l.is(e.originSelectionRange)||a.undefined(e.originSelectionRange))}t.is=r})(q||(q={}));var y;(function(t){function i(n,e,s,c){return{red:n,green:e,blue:s,alpha:c}}t.create=i;function r(n){let e=n;return a.objectLiteral(e)&&a.numberRange(e.red,0,1)&&a.numberRange(e.green,0,1)&&a.numberRange(e.blue,0,1)&&a.numberRange(e.alpha,0,1)}t.is=r})(y||(y={}));var B;(function(t){function i(n,e){return{range:n,color:e}}t.create=i;function r(n){let e=n;return a.objectLiteral(e)&&l.is(e.range)&&y.is(e.color)}t.is=r})(B||(B={}));var H;(function(t){function i(n,e,s){return{label:n,textEdit:e,additionalTextEdits:s}}t.create=i;function r(n){let e=n;return a.objectLiteral(e)&&a.string(e.label)&&(a.undefined(e.textEdit)||_.is(e))&&(a.undefined(e.additionalTextEdits)||a.typedArray(e.additionalTextEdits,_.is))}t.is=r})(H||(H={}));var Q;(function(t){t.Comment="comment",t.Imports="imports",t.Region="region"})(Q||(Q={}));var G;(function(t){function i(n,e,s,c,u,f){let d={startLine:n,endLine:e};return a.defined(s)&&(d.startCharacter=s),a.defined(c)&&(d.endCharacter=c),a.defined(u)&&(d.kind=u),a.defined(f)&&(d.collapsedText=f),d}t.create=i;function r(n){let e=n;return a.objectLiteral(e)&&a.uinteger(e.startLine)&&a.uinteger(e.startLine)&&(a.undefined(e.startCharacter)||a.uinteger(e.startCharacter))&&(a.undefined(e.endCharacter)||a.uinteger(e.endCharacter))&&(a.undefined(e.kind)||a.string(e.kind))}t.is=r})(G||(G={}));var R;(function(t){function i(n,e){return{location:n,message:e}}t.create=i;function r(n){let e=n;return a.defined(e)&&m.is(e.location)&&a.string(e.message)}t.is=r})(R||(R={}));var J;(function(t){t.Error=1,t.Warning=2,t.Information=3,t.Hint=4})(J||(J={}));var Y;(function(t){t.Unnecessary=1,t.Deprecated=2})(Y||(Y={}));var Z;(function(t){function i(r){let n=r;return a.objectLiteral(n)&&a.string(n.href)}t.is=i})(Z||(Z={}));var w;(function(t){function i(n,e,s,c,u,f){let d={range:n,message:e};return a.defined(s)&&(d.severity=s),a.defined(c)&&(d.code=c),a.defined(u)&&(d.source=u),a.defined(f)&&(d.relatedInformation=f),d}t.create=i;function r(n){var e;let s=n;return a.defined(s)&&l.is(s.range)&&a.string(s.message)&&(a.number(s.severity)||a.undefined(s.severity))&&(a.integer(s.code)||a.string(s.code)||a.undefined(s.code))&&(a.undefined(s.codeDescription)||a.string((e=s.codeDescription)===null||e===void 0?void 0:e.href))&&(a.string(s.source)||a.undefined(s.source))&&(a.undefined(s.relatedInformation)||a.typedArray(s.relatedInformation,R.is))}t.is=r})(w||(w={}));var v;(function(t){function i(n,e,...s){let c={title:n,command:e};return a.defined(s)&&s.length>0&&(c.arguments=s),c}t.create=i;function r(n){let e=n;return a.defined(e)&&a.string(e.title)&&a.string(e.command)}t.is=r})(v||(v={}));var _;(function(t){function i(s,c){return{range:s,newText:c}}t.replace=i;function r(s,c){return{range:{start:s,end:s},newText:c}}t.insert=r;function n(s){return{range:s,newText:""}}t.del=n;function e(s){let c=s;return a.objectLiteral(c)&&a.string(c.newText)&&l.is(c.range)}t.is=e})(_||(_={}));var N;(function(t){function i(n,e,s){let c={label:n};return e!==void 0&&(c.needsConfirmation=e),s!==void 0&&(c.description=s),c}t.create=i;function r(n){let e=n;return a.objectLiteral(e)&&a.string(e.label)&&(a.boolean(e.needsConfirmation)||e.needsConfirmation===void 0)&&(a.string(e.description)||e.description===void 0)}t.is=r})(N||(N={}));var b;(function(t){function i(r){let n=r;return a.string(n)}t.is=i})(b||(b={}));var S;(function(t){function i(s,c,u){return{range:s,newText:c,annotationId:u}}t.replace=i;function r(s,c,u){return{range:{start:s,end:s},newText:c,annotationId:u}}t.insert=r;function n(s,c){return{range:s,newText:"",annotationId:c}}t.del=n;function e(s){let c=s;return _.is(c)&&(N.is(c.annotationId)||b.is(c.annotationId))}t.is=e})(S||(S={}));var M;(function(t){function i(n,e){return{textDocument:n,edits:e}}t.create=i;function r(n){let e=n;return a.defined(e)&&F.is(e.textDocument)&&Array.isArray(e.edits)}t.is=r})(M||(M={}));var U;(function(t){function i(n,e,s){let c={kind:"create",uri:n};return e!==void 0&&(e.overwrite!==void 0||e.ignoreIfExists!==void 0)&&(c.options=e),s!==void 0&&(c.annotationId=s),c}t.create=i;function r(n){let e=n;return e&&e.kind==="create"&&a.string(e.uri)&&(e.options===void 0||(e.options.overwrite===void 0||a.boolean(e.options.overwrite))&&(e.options.ignoreIfExists===void 0||a.boolean(e.options.ignoreIfExists)))&&(e.annotationId===void 0||b.is(e.annotationId))}t.is=r})(U||(U={}));var P;(function(t){function i(n,e,s,c){let u={kind:"rename",oldUri:n,newUri:e};return s!==void 0&&(s.overwrite!==void 0||s.ignoreIfExists!==void 0)&&(u.options=s),c!==void 0&&(u.annotationId=c),u}t.create=i;function r(n){let e=n;return e&&e.kind==="rename"&&a.string(e.oldUri)&&a.string(e.newUri)&&(e.options===void 0||(e.options.overwrite===void 0||a.boolean(e.options.overwrite))&&(e.options.ignoreIfExists===void 0||a.boolean(e.options.ignoreIfExists)))&&(e.annotationId===void 0||b.is(e.annotationId))}t.is=r})(P||(P={}));var V;(function(t){function i(n,e,s){let c={kind:"delete",uri:n};return e!==void 0&&(e.recursive!==void 0||e.ignoreIfNotExists!==void 0)&&(c.options=e),s!==void 0&&(c.annotationId=s),c}t.create=i;function r(n){let e=n;return e&&e.kind==="delete"&&a.string(e.uri)&&(e.options===void 0||(e.options.recursive===void 0||a.boolean(e.options.recursive))&&(e.options.ignoreIfNotExists===void 0||a.boolean(e.options.ignoreIfNotExists)))&&(e.annotationId===void 0||b.is(e.annotationId))}t.is=r})(V||(V={}));var D;(function(t){function i(r){let n=r;return n&&(n.changes!==void 0||n.documentChanges!==void 0)&&(n.documentChanges===void 0||n.documentChanges.every(e=>a.string(e.kind)?U.is(e)||P.is(e)||V.is(e):M.is(e)))}t.is=i})(D||(D={}));var T;(function(t){function i(n){return{uri:n}}t.create=i;function r(n){let e=n;return a.defined(e)&&a.string(e.uri)}t.is=r})(T||(T={}));var K;(function(t){function i(n,e){return{uri:n,version:e}}t.create=i;function r(n){let e=n;return a.defined(e)&&a.string(e.uri)&&a.integer(e.version)}t.is=r})(K||(K={}));var F;(function(t){function i(n,e){return{uri:n,version:e}}t.create=i;function r(n){let e=n;return a.defined(e)&&a.string(e.uri)&&(e.version===null||a.integer(e.version))}t.is=r})(F||(F={}));var ee;(function(t){function i(n,e,s,c){return{uri:n,languageId:e,version:s,text:c}}t.create=i;function r(n){let e=n;return a.defined(e)&&a.string(e.uri)&&a.string(e.languageId)&&a.integer(e.version)&&a.string(e.text)}t.is=r})(ee||(ee={}));var k;(function(t){t.PlainText="plaintext",t.Markdown="markdown";function i(r){let n=r;return n===t.PlainText||n===t.Markdown}t.is=i})(k||(k={}));var E;(function(t){function i(r){let n=r;return a.objectLiteral(r)&&k.is(n.kind)&&a.string(n.value)}t.is=i})(E||(E={}));var te;(function(t){t.Text=1,t.Method=2,t.Function=3,t.Constructor=4,t.Field=5,t.Variable=6,t.Class=7,t.Interface=8,t.Module=9,t.Property=10,t.Unit=11,t.Value=12,t.Enum=13,t.Keyword=14,t.Snippet=15,t.Color=16,t.File=17,t.Reference=18,t.Folder=19,t.EnumMember=20,t.Constant=21,t.Struct=22,t.Event=23,t.Operator=24,t.TypeParameter=25})(te||(te={}));var ne;(function(t){t.PlainText=1,t.Snippet=2})(ne||(ne={}));var re;(function(t){t.Deprecated=1})(re||(re={}));var ie;(function(t){function i(n,e,s){return{newText:n,insert:e,replace:s}}t.create=i;function r(n){let e=n;return e&&a.string(e.newText)&&l.is(e.insert)&&l.is(e.replace)}t.is=r})(ie||(ie={}));var ae;(function(t){t.asIs=1,t.adjustIndentation=2})(ae||(ae={}));var se;(function(t){function i(r){let n=r;return n&&(a.string(n.detail)||n.detail===void 0)&&(a.string(n.description)||n.description===void 0)}t.is=i})(se||(se={}));var ce;(function(t){function i(r){return{label:r}}t.create=i})(ce||(ce={}));var ue;(function(t){function i(r,n){return{items:r||[],isIncomplete:!!n}}t.create=i})(ue||(ue={}));var L;(function(t){function i(n){return n.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}t.fromPlainText=i;function r(n){let e=n;return a.string(e)||a.objectLiteral(e)&&a.string(e.language)&&a.string(e.value)}t.is=r})(L||(L={}));var oe;(function(t){function i(r){let n=r;return!!n&&a.objectLiteral(n)&&(E.is(n.contents)||L.is(n.contents)||a.typedArray(n.contents,L.is))&&(r.range===void 0||l.is(r.range))}t.is=i})(oe||(oe={}));var de;(function(t){function i(r,n){return n?{label:r,documentation:n}:{label:r}}t.create=i})(de||(de={}));var fe;(function(t){function i(r,n,...e){let s={label:r};return a.defined(n)&&(s.documentation=n),a.defined(e)?s.parameters=e:s.parameters=[],s}t.create=i})(fe||(fe={}));var le;(function(t){t.Text=1,t.Read=2,t.Write=3})(le||(le={}));var ge;(function(t){function i(r,n){let e={range:r};return a.number(n)&&(e.kind=n),e}t.create=i})(ge||(ge={}));var he;(function(t){t.File=1,t.Module=2,t.Namespace=3,t.Package=4,t.Class=5,t.Method=6,t.Property=7,t.Field=8,t.Constructor=9,t.Enum=10,t.Interface=11,t.Function=12,t.Variable=13,t.Constant=14,t.String=15,t.Number=16,t.Boolean=17,t.Array=18,t.Object=19,t.Key=20,t.Null=21,t.EnumMember=22,t.Struct=23,t.Event=24,t.Operator=25,t.TypeParameter=26})(he||(he={}));var pe;(function(t){t.Deprecated=1})(pe||(pe={}));var xe;(function(t){function i(r,n,e,s,c){let u={name:r,kind:n,location:{uri:s,range:e}};return c&&(u.containerName=c),u}t.create=i})(xe||(xe={}));var ve;(function(t){function i(r,n,e,s){return s!==void 0?{name:r,kind:n,location:{uri:e,range:s}}:{name:r,kind:n,location:{uri:e}}}t.create=i})(ve||(ve={}));var _e;(function(t){function i(n,e,s,c,u,f){let d={name:n,detail:e,kind:s,range:c,selectionRange:u};return f!==void 0&&(d.children=f),d}t.create=i;function r(n){let e=n;return e&&a.string(e.name)&&a.number(e.kind)&&l.is(e.range)&&l.is(e.selectionRange)&&(e.detail===void 0||a.string(e.detail))&&(e.deprecated===void 0||a.boolean(e.deprecated))&&(e.children===void 0||Array.isArray(e.children))&&(e.tags===void 0||Array.isArray(e.tags))}t.is=r})(_e||(_e={}));var be;(function(t){t.Empty="",t.QuickFix="quickfix",t.Refactor="refactor",t.RefactorExtract="refactor.extract",t.RefactorInline="refactor.inline",t.RefactorRewrite="refactor.rewrite",t.Source="source",t.SourceOrganizeImports="source.organizeImports",t.SourceFixAll="source.fixAll"})(be||(be={}));var j;(function(t){t.Invoked=1,t.Automatic=2})(j||(j={}));var Ee;(function(t){function i(n,e,s){let c={diagnostics:n};return e!=null&&(c.only=e),s!=null&&(c.triggerKind=s),c}t.create=i;function r(n){let e=n;return a.defined(e)&&a.typedArray(e.diagnostics,w.is)&&(e.only===void 0||a.typedArray(e.only,a.string))&&(e.triggerKind===void 0||e.triggerKind===j.Invoked||e.triggerKind===j.Automatic)}t.is=r})(Ee||(Ee={}));var Ae;(function(t){function i(n,e,s){let c={title:n},u=!0;return typeof e=="string"?(u=!1,c.kind=e):v.is(e)?c.command=e:c.edit=e,u&&s!==void 0&&(c.kind=s),c}t.create=i;function r(n){let e=n;return e&&a.string(e.title)&&(e.diagnostics===void 0||a.typedArray(e.diagnostics,w.is))&&(e.kind===void 0||a.string(e.kind))&&(e.edit!==void 0||e.command!==void 0)&&(e.command===void 0||v.is(e.command))&&(e.isPreferred===void 0||a.boolean(e.isPreferred))&&(e.edit===void 0||D.is(e.edit))}t.is=r})(Ae||(Ae={}));var me;(function(t){function i(n,e){let s={range:n};return a.defined(e)&&(s.data=e),s}t.create=i;function r(n){let e=n;return a.defined(e)&&l.is(e.range)&&(a.undefined(e.command)||v.is(e.command))}t.is=r})(me||(me={}));var we;(function(t){function i(n,e){return{tabSize:n,insertSpaces:e}}t.create=i;function r(n){let e=n;return a.defined(e)&&a.uinteger(e.tabSize)&&a.boolean(e.insertSpaces)}t.is=r})(we||(we={}));var Le;(function(t){function i(n,e,s){return{range:n,target:e,data:s}}t.create=i;function r(n){let e=n;return a.defined(e)&&l.is(e.range)&&(a.undefined(e.target)||a.string(e.target))}t.is=r})(Le||(Le={}));var je;(function(t){function i(n,e){return{range:n,parent:e}}t.create=i;function r(n){let e=n;return a.objectLiteral(e)&&l.is(e.range)&&(e.parent===void 0||t.is(e.parent))}t.is=r})(je||(je={}));var Ie;(function(t){t.namespace="namespace",t.type="type",t.class="class",t.enum="enum",t.interface="interface",t.struct="struct",t.typeParameter="typeParameter",t.parameter="parameter",t.variable="variable",t.property="property",t.enumMember="enumMember",t.event="event",t.function="function",t.method="method",t.macro="macro",t.keyword="keyword",t.modifier="modifier",t.comment="comment",t.string="string",t.number="number",t.regexp="regexp",t.operator="operator",t.decorator="decorator"})(Ie||(Ie={}));var Ce;(function(t){t.declaration="declaration",t.definition="definition",t.readonly="readonly",t.static="static",t.deprecated="deprecated",t.abstract="abstract",t.async="async",t.modification="modification",t.documentation="documentation",t.defaultLibrary="defaultLibrary"})(Ce||(Ce={}));var ye;(function(t){function i(r){let n=r;return a.objectLiteral(n)&&(n.resultId===void 0||typeof n.resultId=="string")&&Array.isArray(n.data)&&(n.data.length===0||typeof n.data[0]=="number")}t.is=i})(ye||(ye={}));var Re;(function(t){function i(n,e){return{range:n,text:e}}t.create=i;function r(n){let e=n;return e!=null&&l.is(e.range)&&a.string(e.text)}t.is=r})(Re||(Re={}));var Ne;(function(t){function i(n,e,s){return{range:n,variableName:e,caseSensitiveLookup:s}}t.create=i;function r(n){let e=n;return e!=null&&l.is(e.range)&&a.boolean(e.caseSensitiveLookup)&&(a.string(e.variableName)||e.variableName===void 0)}t.is=r})(Ne||(Ne={}));var Me;(function(t){function i(n,e){return{range:n,expression:e}}t.create=i;function r(n){let e=n;return e!=null&&l.is(e.range)&&(a.string(e.expression)||e.expression===void 0)}t.is=r})(Me||(Me={}));var Ue;(function(t){function i(n,e){return{frameId:n,stoppedLocation:e}}t.create=i;function r(n){let e=n;return a.defined(e)&&l.is(n.stoppedLocation)}t.is=r})(Ue||(Ue={}));var O;(function(t){t.Type=1,t.Parameter=2;function i(r){return r===1||r===2}t.is=i})(O||(O={}));var W;(function(t){function i(n){return{value:n}}t.create=i;function r(n){let e=n;return a.objectLiteral(e)&&(e.tooltip===void 0||a.string(e.tooltip)||E.is(e.tooltip))&&(e.location===void 0||m.is(e.location))&&(e.command===void 0||v.is(e.command))}t.is=r})(W||(W={}));var Pe;(function(t){function i(n,e,s){let c={position:n,label:e};return s!==void 0&&(c.kind=s),c}t.create=i;function r(n){let e=n;return a.objectLiteral(e)&&x.is(e.position)&&(a.string(e.label)||a.typedArray(e.label,W.is))&&(e.kind===void 0||O.is(e.kind))&&e.textEdits===void 0||a.typedArray(e.textEdits,_.is)&&(e.tooltip===void 0||a.string(e.tooltip)||E.is(e.tooltip))&&(e.paddingLeft===void 0||a.boolean(e.paddingLeft))&&(e.paddingRight===void 0||a.boolean(e.paddingRight))}t.is=r})(Pe||(Pe={}));var Ve;(function(t){function i(r){return{kind:"snippet",value:r}}t.createSnippet=i})(Ve||(Ve={}));var De;(function(t){function i(r,n,e,s){return{insertText:r,filterText:n,range:e,command:s}}t.create=i})(De||(De={}));var Fe;(function(t){function i(r){return{items:r}}t.create=i})(Fe||(Fe={}));var ke;(function(t){t.Invoked=0,t.Automatic=1})(ke||(ke={}));var Oe;(function(t){function i(r,n){return{range:r,text:n}}t.create=i})(Oe||(Oe={}));var We;(function(t){function i(r,n){return{triggerKind:r,selectedCompletionInfo:n}}t.create=i})(We||(We={}));var ze;(function(t){function i(r){let n=r;return a.objectLiteral(n)&&C.is(n.uri)&&a.string(n.name)}t.is=i})(ze||(ze={}));var Xe;(function(t){function i(s,c,u,f){return new z(s,c,u,f)}t.create=i;function r(s){let c=s;return!!(a.defined(c)&&a.string(c.uri)&&(a.undefined(c.languageId)||a.string(c.languageId))&&a.uinteger(c.lineCount)&&a.func(c.getText)&&a.func(c.positionAt)&&a.func(c.offsetAt))}t.is=r;function n(s,c){let u=s.getText(),f=e(c,(g,h)=>{let p=g.range.start.line-h.range.start.line;return p===0?g.range.start.character-h.range.start.character:p}),d=u.length;for(let g=f.length-1;g>=0;g--){let h=f[g],p=s.offsetAt(h.range.start),o=s.offsetAt(h.range.end);if(o<=d)u=u.substring(0,p)+h.newText+u.substring(o,u.length);else throw new Error("Overlapping edit");d=p}return u}t.applyEdits=n;function e(s,c){if(s.length<=1)return s;let u=s.length/2|0,f=s.slice(0,u),d=s.slice(u);e(f,c),e(d,c);let g=0,h=0,p=0;for(;g<f.length&&h<d.length;)c(f[g],d[h])<=0?s[p++]=f[g++]:s[p++]=d[h++];for(;g<f.length;)s[p++]=f[g++];for(;h<d.length;)s[p++]=d[h++];return s}})(Xe||(Xe={}));var z=class{constructor(i,r,n,e){this._uri=i,this._languageId=r,this._version=n,this._content=e,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(i){if(i){let r=this.offsetAt(i.start),n=this.offsetAt(i.end);return this._content.substring(r,n)}return this._content}update(i,r){this._content=i.text,this._version=r,this._lineOffsets=void 0}getLineOffsets(){if(this._lineOffsets===void 0){let i=[],r=this._content,n=!0;for(let e=0;e<r.length;e++){n&&(i.push(e),n=!1);let s=r.charAt(e);n=s==="\r"||s===`
7
7
  `,s==="\r"&&e+1<r.length&&r.charAt(e+1)===`
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.30
4
+ * v4.32.0-next.32
5
5
  */
6
- import{a as T,b as M,c as j,d as m,e as A,f as F,g as $}from"./3Z73BBOC.js";import{c as f,d,e as l}from"./ZXYZWGKL.js";import{f as v}from"./ODCPTGQW.js";import{x as u}from"./ORF7RLSL.js";import{h,i as g,v as k,w as x}from"./BCLNDFGS.js";function L(){return!!window.MonacoEnvironment?.getWorkerUrl}var V=new Map;function G(e){L()||(window.MonacoEnvironment={getWorker:async(i,t)=>{let a=V.get(t)??`${e}/code-editor/editor.worker.js`;switch(t){case"json":a=`${e}/code-editor/json.worker.js`;break;case"css":a=`${e}/code-editor/css.worker.js`;break;case"html":a=`${e}/code-editor/html.worker.js`;break;case"typescript":case"javascript":a=`${e}/code-editor/ts.worker.js`;break;case"arcade":a=`${e}/code-editor/arcade.worker.js`;break;case"arcgis-sql-expression":a=`${e}/code-editor/sql-expr.worker.js`;break}if(!x(a)||k(a,globalThis.location.href,!0))return new Worker(a,{name:t});let r=await(await v())(a,{responseType:"text"});return new Worker(URL.createObjectURL(new Blob([r.data],{type:"text/javascript"})))}})}async function z(){return(await E()).getArcadeDiagnosticService()}async function E(){return await import("./6D2AMRNB.js")}async function D(e){let{apiVersion:i,bundles:t,hiddenApiItems:a}=e.toEditorProfileDefinition(),r=await P(e.dictionaryVariables);return{apiVersion:i,bundles:t,variables:r,hiddenApiItems:a?.map(n=>n.toLowerCase())}}async function P(e,i=f.Variable){return await Promise.all(e.map(async t=>{switch(t.type){case"dictionary":return await R(t,i);case"feature":return await C(t,i);default:return S(t,i)}}))}function S(e,i){let{name:t,type:a}=e,r=e.getDescription();return{name:t,description:r,type:a,completion:{label:t,detail:t,insertText:t,insertTextMode:l.asIs,insertTextFormat:d.PlainText,kind:i,documentation:{kind:"markdown",value:r}}}}async function C(e,i){let t=await e.loadSource(),{name:a}=e,r=e.getDescription(),n={label:a,detail:a,insertText:a,insertTextMode:l.asIs,insertTextFormat:d.PlainText,kind:i},s={name:a,description:r,type:"dictionary",properties:[],completion:n};if(!t)return s;let[o,c]=A(t.fields,r,!0);return s.properties=o,n.documentation={kind:"markdown",value:c},s}async function R(e,i){let{name:t,dictionaryVariables:a}=e,r=e.getDescription(),n=a.reduce((s,o)=>{s!==""&&(s+=`
6
+ import{a as T,b as M,c as j,d as m,e as A,f as F,g as $}from"./7KKTXGPR.js";import{c as f,d,e as l}from"./D4DVNBPH.js";import{f as v}from"./W5G66Y5E.js";import{x as u}from"./S5V44ZJK.js";import{h,i as g,v as k,w as x}from"./HI6TDNNA.js";function L(){return!!window.MonacoEnvironment?.getWorkerUrl}var V=new Map;function G(e){L()||(window.MonacoEnvironment={getWorker:async(i,t)=>{let a=V.get(t)??`${e}/code-editor/editor.worker.js`;switch(t){case"json":a=`${e}/code-editor/json.worker.js`;break;case"css":a=`${e}/code-editor/css.worker.js`;break;case"html":a=`${e}/code-editor/html.worker.js`;break;case"typescript":case"javascript":a=`${e}/code-editor/ts.worker.js`;break;case"arcade":a=`${e}/code-editor/arcade.worker.js`;break;case"arcgis-sql-expression":a=`${e}/code-editor/sql-expr.worker.js`;break}if(!x(a)||k(a,globalThis.location.href,!0))return new Worker(a,{name:t});let r=await(await v())(a,{responseType:"text"});return new Worker(URL.createObjectURL(new Blob([r.data],{type:"text/javascript"})))}})}async function z(){return(await E()).getArcadeDiagnosticService()}async function E(){return await import("./7774U6GE.js")}async function D(e){let{apiVersion:i,bundles:t,hiddenApiItems:a}=e.toEditorProfileDefinition(),r=await P(e.dictionaryVariables);return{apiVersion:i,bundles:t,variables:r,hiddenApiItems:a?.map(n=>n.toLowerCase())}}async function P(e,i=f.Variable){return await Promise.all(e.map(async t=>{switch(t.type){case"dictionary":return await R(t,i);case"feature":return await C(t,i);default:return S(t,i)}}))}function S(e,i){let{name:t,type:a}=e,r=e.getDescription();return{name:t,description:r,type:a,completion:{label:t,detail:t,insertText:t,insertTextMode:l.asIs,insertTextFormat:d.PlainText,kind:i,documentation:{kind:"markdown",value:r}}}}async function C(e,i){let t=await e.loadSource(),{name:a}=e,r=e.getDescription(),n={label:a,detail:a,insertText:a,insertTextMode:l.asIs,insertTextFormat:d.PlainText,kind:i},s={name:a,description:r,type:"dictionary",properties:[],completion:n};if(!t)return s;let[o,c]=A(t.fields,r,!0);return s.properties=o,n.documentation={kind:"markdown",value:c},s}async function R(e,i){let{name:t,dictionaryVariables:a}=e,r=e.getDescription(),n=a.reduce((s,o)=>{s!==""&&(s+=`
7
7
 
8
8
  `),s+=`**${o.name}**
9
9
  ${o.type}`;let c=o.getDescription();return c&&(s+=`
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.30
4
+ * v4.32.0-next.32
5
5
  */
6
- import{rk as J}from"./HXHEZICE.js";import"./URSXSZWR.js";var Le=Object.defineProperty,je=Object.getOwnPropertyDescriptor,Ne=Object.getOwnPropertyNames,We=Object.prototype.hasOwnProperty,Y=(t,n,i,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let e of Ne(n))!We.call(t,e)&&e!==i&&Le(t,e,{get:()=>n[e],enumerable:!(r=je(n,e))||r.enumerable});return t},Ue=(t,n,i)=>(Y(t,n,"default"),i&&Y(i,n,"default")),c={};Ue(c,J);var Oe=2*60*1e3,Ve=class{_defaults;_idleCheckInterval;_lastUsedTime;_configChangeListener;_worker;_client;constructor(t){this._defaults=t,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),30*1e3),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){if(!this._worker)return;Date.now()-this._lastUsedTime>Oe&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=c.editor.createWebWorker({moduleId:"vs/language/css/cssWorker",label:this._defaults.languageId,createData:{options:this._defaults.options,languageId:this._defaults.languageId}}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...t){let n;return this._getClient().then(i=>{n=i}).then(i=>{if(this._worker)return this._worker.withSyncedResources(t)}).then(i=>n)}},Z;(function(t){t.MIN_VALUE=-2147483648,t.MAX_VALUE=2147483647})(Z||(Z={}));var W;(function(t){t.MIN_VALUE=0,t.MAX_VALUE=2147483647})(W||(W={}));var k;(function(t){function n(r,e){return r===Number.MAX_VALUE&&(r=W.MAX_VALUE),e===Number.MAX_VALUE&&(e=W.MAX_VALUE),{line:r,character:e}}t.create=n;function i(r){var e=r;return s.objectLiteral(e)&&s.uinteger(e.line)&&s.uinteger(e.character)}t.is=i})(k||(k={}));var p;(function(t){function n(r,e,a,o){if(s.uinteger(r)&&s.uinteger(e)&&s.uinteger(a)&&s.uinteger(o))return{start:k.create(r,e),end:k.create(a,o)};if(k.is(r)&&k.is(e))return{start:r,end:e};throw new Error("Range#create called with invalid arguments["+r+", "+e+", "+a+", "+o+"]")}t.create=n;function i(r){var e=r;return s.objectLiteral(e)&&k.is(e.start)&&k.is(e.end)}t.is=i})(p||(p={}));var z;(function(t){function n(r,e){return{uri:r,range:e}}t.create=n;function i(r){var e=r;return s.defined(e)&&p.is(e.range)&&(s.string(e.uri)||s.undefined(e.uri))}t.is=i})(z||(z={}));var K;(function(t){function n(r,e,a,o){return{targetUri:r,targetRange:e,targetSelectionRange:a,originSelectionRange:o}}t.create=n;function i(r){var e=r;return s.defined(e)&&p.is(e.targetRange)&&s.string(e.targetUri)&&(p.is(e.targetSelectionRange)||s.undefined(e.targetSelectionRange))&&(p.is(e.originSelectionRange)||s.undefined(e.originSelectionRange))}t.is=i})(K||(K={}));var X;(function(t){function n(r,e,a,o){return{red:r,green:e,blue:a,alpha:o}}t.create=n;function i(r){var e=r;return s.numberRange(e.red,0,1)&&s.numberRange(e.green,0,1)&&s.numberRange(e.blue,0,1)&&s.numberRange(e.alpha,0,1)}t.is=i})(X||(X={}));var ee;(function(t){function n(r,e){return{range:r,color:e}}t.create=n;function i(r){var e=r;return p.is(e.range)&&X.is(e.color)}t.is=i})(ee||(ee={}));var te;(function(t){function n(r,e,a){return{label:r,textEdit:e,additionalTextEdits:a}}t.create=n;function i(r){var e=r;return s.string(e.label)&&(s.undefined(e.textEdit)||x.is(e))&&(s.undefined(e.additionalTextEdits)||s.typedArray(e.additionalTextEdits,x.is))}t.is=i})(te||(te={}));var R;(function(t){t.Comment="comment",t.Imports="imports",t.Region="region"})(R||(R={}));var re;(function(t){function n(r,e,a,o,u){var g={startLine:r,endLine:e};return s.defined(a)&&(g.startCharacter=a),s.defined(o)&&(g.endCharacter=o),s.defined(u)&&(g.kind=u),g}t.create=n;function i(r){var e=r;return s.uinteger(e.startLine)&&s.uinteger(e.startLine)&&(s.undefined(e.startCharacter)||s.uinteger(e.startCharacter))&&(s.undefined(e.endCharacter)||s.uinteger(e.endCharacter))&&(s.undefined(e.kind)||s.string(e.kind))}t.is=i})(re||(re={}));var B;(function(t){function n(r,e){return{location:r,message:e}}t.create=n;function i(r){var e=r;return s.defined(e)&&z.is(e.location)&&s.string(e.message)}t.is=i})(B||(B={}));var y;(function(t){t.Error=1,t.Warning=2,t.Information=3,t.Hint=4})(y||(y={}));var ne;(function(t){t.Unnecessary=1,t.Deprecated=2})(ne||(ne={}));var ie;(function(t){function n(i){var r=i;return r!=null&&s.string(r.href)}t.is=n})(ie||(ie={}));var U;(function(t){function n(r,e,a,o,u,g){var d={range:r,message:e};return s.defined(a)&&(d.severity=a),s.defined(o)&&(d.code=o),s.defined(u)&&(d.source=u),s.defined(g)&&(d.relatedInformation=g),d}t.create=n;function i(r){var e,a=r;return s.defined(a)&&p.is(a.range)&&s.string(a.message)&&(s.number(a.severity)||s.undefined(a.severity))&&(s.integer(a.code)||s.string(a.code)||s.undefined(a.code))&&(s.undefined(a.codeDescription)||s.string((e=a.codeDescription)===null||e===void 0?void 0:e.href))&&(s.string(a.source)||s.undefined(a.source))&&(s.undefined(a.relatedInformation)||s.typedArray(a.relatedInformation,B.is))}t.is=i})(U||(U={}));var D;(function(t){function n(r,e){for(var a=[],o=2;o<arguments.length;o++)a[o-2]=arguments[o];var u={title:r,command:e};return s.defined(a)&&a.length>0&&(u.arguments=a),u}t.create=n;function i(r){var e=r;return s.defined(e)&&s.string(e.title)&&s.string(e.command)}t.is=i})(D||(D={}));var x;(function(t){function n(a,o){return{range:a,newText:o}}t.replace=n;function i(a,o){return{range:{start:a,end:a},newText:o}}t.insert=i;function r(a){return{range:a,newText:""}}t.del=r;function e(a){var o=a;return s.objectLiteral(o)&&s.string(o.newText)&&p.is(o.range)}t.is=e})(x||(x={}));var I;(function(t){function n(r,e,a){var o={label:r};return e!==void 0&&(o.needsConfirmation=e),a!==void 0&&(o.description=a),o}t.create=n;function i(r){var e=r;return e!==void 0&&s.objectLiteral(e)&&s.string(e.label)&&(s.boolean(e.needsConfirmation)||e.needsConfirmation===void 0)&&(s.string(e.description)||e.description===void 0)}t.is=i})(I||(I={}));var m;(function(t){function n(i){var r=i;return typeof r=="string"}t.is=n})(m||(m={}));var E;(function(t){function n(a,o,u){return{range:a,newText:o,annotationId:u}}t.replace=n;function i(a,o,u){return{range:{start:a,end:a},newText:o,annotationId:u}}t.insert=i;function r(a,o){return{range:a,newText:"",annotationId:o}}t.del=r;function e(a){var o=a;return x.is(o)&&(I.is(o.annotationId)||m.is(o.annotationId))}t.is=e})(E||(E={}));var O;(function(t){function n(r,e){return{textDocument:r,edits:e}}t.create=n;function i(r){var e=r;return s.defined(e)&&V.is(e.textDocument)&&Array.isArray(e.edits)}t.is=i})(O||(O={}));var M;(function(t){function n(r,e,a){var o={kind:"create",uri:r};return e!==void 0&&(e.overwrite!==void 0||e.ignoreIfExists!==void 0)&&(o.options=e),a!==void 0&&(o.annotationId=a),o}t.create=n;function i(r){var e=r;return e&&e.kind==="create"&&s.string(e.uri)&&(e.options===void 0||(e.options.overwrite===void 0||s.boolean(e.options.overwrite))&&(e.options.ignoreIfExists===void 0||s.boolean(e.options.ignoreIfExists)))&&(e.annotationId===void 0||m.is(e.annotationId))}t.is=i})(M||(M={}));var T;(function(t){function n(r,e,a,o){var u={kind:"rename",oldUri:r,newUri:e};return a!==void 0&&(a.overwrite!==void 0||a.ignoreIfExists!==void 0)&&(u.options=a),o!==void 0&&(u.annotationId=o),u}t.create=n;function i(r){var e=r;return e&&e.kind==="rename"&&s.string(e.oldUri)&&s.string(e.newUri)&&(e.options===void 0||(e.options.overwrite===void 0||s.boolean(e.options.overwrite))&&(e.options.ignoreIfExists===void 0||s.boolean(e.options.ignoreIfExists)))&&(e.annotationId===void 0||m.is(e.annotationId))}t.is=i})(T||(T={}));var S;(function(t){function n(r,e,a){var o={kind:"delete",uri:r};return e!==void 0&&(e.recursive!==void 0||e.ignoreIfNotExists!==void 0)&&(o.options=e),a!==void 0&&(o.annotationId=a),o}t.create=n;function i(r){var e=r;return e&&e.kind==="delete"&&s.string(e.uri)&&(e.options===void 0||(e.options.recursive===void 0||s.boolean(e.options.recursive))&&(e.options.ignoreIfNotExists===void 0||s.boolean(e.options.ignoreIfNotExists)))&&(e.annotationId===void 0||m.is(e.annotationId))}t.is=i})(S||(S={}));var $;(function(t){function n(i){var r=i;return r&&(r.changes!==void 0||r.documentChanges!==void 0)&&(r.documentChanges===void 0||r.documentChanges.every(function(e){return s.string(e.kind)?M.is(e)||T.is(e)||S.is(e):O.is(e)}))}t.is=n})($||($={}));var N=function(){function t(n,i){this.edits=n,this.changeAnnotations=i}return t.prototype.insert=function(n,i,r){var e,a;if(r===void 0?e=x.insert(n,i):m.is(r)?(a=r,e=E.insert(n,i,r)):(this.assertChangeAnnotations(this.changeAnnotations),a=this.changeAnnotations.manage(r),e=E.insert(n,i,a)),this.edits.push(e),a!==void 0)return a},t.prototype.replace=function(n,i,r){var e,a;if(r===void 0?e=x.replace(n,i):m.is(r)?(a=r,e=E.replace(n,i,r)):(this.assertChangeAnnotations(this.changeAnnotations),a=this.changeAnnotations.manage(r),e=E.replace(n,i,a)),this.edits.push(e),a!==void 0)return a},t.prototype.delete=function(n,i){var r,e;if(i===void 0?r=x.del(n):m.is(i)?(e=i,r=E.del(n,i)):(this.assertChangeAnnotations(this.changeAnnotations),e=this.changeAnnotations.manage(i),r=E.del(n,e)),this.edits.push(r),e!==void 0)return e},t.prototype.add=function(n){this.edits.push(n)},t.prototype.all=function(){return this.edits},t.prototype.clear=function(){this.edits.splice(0,this.edits.length)},t.prototype.assertChangeAnnotations=function(n){if(n===void 0)throw new Error("Text edit change is not configured to manage change annotations.")},t}(),ae=function(){function t(n){this._annotations=n===void 0?Object.create(null):n,this._counter=0,this._size=0}return t.prototype.all=function(){return this._annotations},Object.defineProperty(t.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),t.prototype.manage=function(n,i){var r;if(m.is(n)?r=n:(r=this.nextId(),i=n),this._annotations[r]!==void 0)throw new Error("Id "+r+" is already in use.");if(i===void 0)throw new Error("No annotation provided for id "+r);return this._annotations[r]=i,this._size++,r},t.prototype.nextId=function(){return this._counter++,this._counter.toString()},t}(),lt=function(){function t(n){var i=this;this._textEditChanges=Object.create(null),n!==void 0?(this._workspaceEdit=n,n.documentChanges?(this._changeAnnotations=new ae(n.changeAnnotations),n.changeAnnotations=this._changeAnnotations.all(),n.documentChanges.forEach(function(r){if(O.is(r)){var e=new N(r.edits,i._changeAnnotations);i._textEditChanges[r.textDocument.uri]=e}})):n.changes&&Object.keys(n.changes).forEach(function(r){var e=new N(n.changes[r]);i._textEditChanges[r]=e})):this._workspaceEdit={}}return Object.defineProperty(t.prototype,"edit",{get:function(){return this.initDocumentChanges(),this._changeAnnotations!==void 0&&(this._changeAnnotations.size===0?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),t.prototype.getTextEditChange=function(n){if(V.is(n)){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var i={uri:n.uri,version:n.version},r=this._textEditChanges[i.uri];if(!r){var e=[],a={textDocument:i,edits:e};this._workspaceEdit.documentChanges.push(a),r=new N(e,this._changeAnnotations),this._textEditChanges[i.uri]=r}return r}else{if(this.initChanges(),this._workspaceEdit.changes===void 0)throw new Error("Workspace edit is not configured for normal text edit changes.");var r=this._textEditChanges[n];if(!r){var e=[];this._workspaceEdit.changes[n]=e,r=new N(e),this._textEditChanges[n]=r}return r}},t.prototype.initDocumentChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new ae,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},t.prototype.initChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._workspaceEdit.changes=Object.create(null))},t.prototype.createFile=function(n,i,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var e;I.is(i)||m.is(i)?e=i:r=i;var a,o;if(e===void 0?a=M.create(n,r):(o=m.is(e)?e:this._changeAnnotations.manage(e),a=M.create(n,r,o)),this._workspaceEdit.documentChanges.push(a),o!==void 0)return o},t.prototype.renameFile=function(n,i,r,e){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var a;I.is(r)||m.is(r)?a=r:e=r;var o,u;if(a===void 0?o=T.create(n,i,e):(u=m.is(a)?a:this._changeAnnotations.manage(a),o=T.create(n,i,e,u)),this._workspaceEdit.documentChanges.push(o),u!==void 0)return u},t.prototype.deleteFile=function(n,i,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var e;I.is(i)||m.is(i)?e=i:r=i;var a,o;if(e===void 0?a=S.create(n,r):(o=m.is(e)?e:this._changeAnnotations.manage(e),a=S.create(n,r,o)),this._workspaceEdit.documentChanges.push(a),o!==void 0)return o},t}(),oe;(function(t){function n(r){return{uri:r}}t.create=n;function i(r){var e=r;return s.defined(e)&&s.string(e.uri)}t.is=i})(oe||(oe={}));var se;(function(t){function n(r,e){return{uri:r,version:e}}t.create=n;function i(r){var e=r;return s.defined(e)&&s.string(e.uri)&&s.integer(e.version)}t.is=i})(se||(se={}));var V;(function(t){function n(r,e){return{uri:r,version:e}}t.create=n;function i(r){var e=r;return s.defined(e)&&s.string(e.uri)&&(e.version===null||s.integer(e.version))}t.is=i})(V||(V={}));var ue;(function(t){function n(r,e,a,o){return{uri:r,languageId:e,version:a,text:o}}t.create=n;function i(r){var e=r;return s.defined(e)&&s.string(e.uri)&&s.string(e.languageId)&&s.integer(e.version)&&s.string(e.text)}t.is=i})(ue||(ue={}));var F;(function(t){t.PlainText="plaintext",t.Markdown="markdown"})(F||(F={}));(function(t){function n(i){var r=i;return r===t.PlainText||r===t.Markdown}t.is=n})(F||(F={}));var q;(function(t){function n(i){var r=i;return s.objectLiteral(i)&&F.is(r.kind)&&s.string(r.value)}t.is=n})(q||(q={}));var l;(function(t){t.Text=1,t.Method=2,t.Function=3,t.Constructor=4,t.Field=5,t.Variable=6,t.Class=7,t.Interface=8,t.Module=9,t.Property=10,t.Unit=11,t.Value=12,t.Enum=13,t.Keyword=14,t.Snippet=15,t.Color=16,t.File=17,t.Reference=18,t.Folder=19,t.EnumMember=20,t.Constant=21,t.Struct=22,t.Event=23,t.Operator=24,t.TypeParameter=25})(l||(l={}));var Q;(function(t){t.PlainText=1,t.Snippet=2})(Q||(Q={}));var ce;(function(t){t.Deprecated=1})(ce||(ce={}));var de;(function(t){function n(r,e,a){return{newText:r,insert:e,replace:a}}t.create=n;function i(r){var e=r;return e&&s.string(e.newText)&&p.is(e.insert)&&p.is(e.replace)}t.is=i})(de||(de={}));var fe;(function(t){t.asIs=1,t.adjustIndentation=2})(fe||(fe={}));var ge;(function(t){function n(i){return{label:i}}t.create=n})(ge||(ge={}));var le;(function(t){function n(i,r){return{items:i||[],isIncomplete:!!r}}t.create=n})(le||(le={}));var H;(function(t){function n(r){return r.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}t.fromPlainText=n;function i(r){var e=r;return s.string(e)||s.objectLiteral(e)&&s.string(e.language)&&s.string(e.value)}t.is=i})(H||(H={}));var he;(function(t){function n(i){var r=i;return!!r&&s.objectLiteral(r)&&(q.is(r.contents)||H.is(r.contents)||s.typedArray(r.contents,H.is))&&(i.range===void 0||p.is(i.range))}t.is=n})(he||(he={}));var ve;(function(t){function n(i,r){return r?{label:i,documentation:r}:{label:i}}t.create=n})(ve||(ve={}));var pe;(function(t){function n(i,r){for(var e=[],a=2;a<arguments.length;a++)e[a-2]=arguments[a];var o={label:i};return s.defined(r)&&(o.documentation=r),s.defined(e)?o.parameters=e:o.parameters=[],o}t.create=n})(pe||(pe={}));var P;(function(t){t.Text=1,t.Read=2,t.Write=3})(P||(P={}));var me;(function(t){function n(i,r){var e={range:i};return s.number(r)&&(e.kind=r),e}t.create=n})(me||(me={}));var h;(function(t){t.File=1,t.Module=2,t.Namespace=3,t.Package=4,t.Class=5,t.Method=6,t.Property=7,t.Field=8,t.Constructor=9,t.Enum=10,t.Interface=11,t.Function=12,t.Variable=13,t.Constant=14,t.String=15,t.Number=16,t.Boolean=17,t.Array=18,t.Object=19,t.Key=20,t.Null=21,t.EnumMember=22,t.Struct=23,t.Event=24,t.Operator=25,t.TypeParameter=26})(h||(h={}));var _e;(function(t){t.Deprecated=1})(_e||(_e={}));var we;(function(t){function n(i,r,e,a,o){var u={name:i,kind:r,location:{uri:a,range:e}};return o&&(u.containerName=o),u}t.create=n})(we||(we={}));var ke;(function(t){function n(r,e,a,o,u,g){var d={name:r,detail:e,kind:a,range:o,selectionRange:u};return g!==void 0&&(d.children=g),d}t.create=n;function i(r){var e=r;return e&&s.string(e.name)&&s.number(e.kind)&&p.is(e.range)&&p.is(e.selectionRange)&&(e.detail===void 0||s.string(e.detail))&&(e.deprecated===void 0||s.boolean(e.deprecated))&&(e.children===void 0||Array.isArray(e.children))&&(e.tags===void 0||Array.isArray(e.tags))}t.is=i})(ke||(ke={}));var be;(function(t){t.Empty="",t.QuickFix="quickfix",t.Refactor="refactor",t.RefactorExtract="refactor.extract",t.RefactorInline="refactor.inline",t.RefactorRewrite="refactor.rewrite",t.Source="source",t.SourceOrganizeImports="source.organizeImports",t.SourceFixAll="source.fixAll"})(be||(be={}));var Ee;(function(t){function n(r,e){var a={diagnostics:r};return e!=null&&(a.only=e),a}t.create=n;function i(r){var e=r;return s.defined(e)&&s.typedArray(e.diagnostics,U.is)&&(e.only===void 0||s.typedArray(e.only,s.string))}t.is=i})(Ee||(Ee={}));var xe;(function(t){function n(r,e,a){var o={title:r},u=!0;return typeof e=="string"?(u=!1,o.kind=e):D.is(e)?o.command=e:o.edit=e,u&&a!==void 0&&(o.kind=a),o}t.create=n;function i(r){var e=r;return e&&s.string(e.title)&&(e.diagnostics===void 0||s.typedArray(e.diagnostics,U.is))&&(e.kind===void 0||s.string(e.kind))&&(e.edit!==void 0||e.command!==void 0)&&(e.command===void 0||D.is(e.command))&&(e.isPreferred===void 0||s.boolean(e.isPreferred))&&(e.edit===void 0||$.is(e.edit))}t.is=i})(xe||(xe={}));var Ce;(function(t){function n(r,e){var a={range:r};return s.defined(e)&&(a.data=e),a}t.create=n;function i(r){var e=r;return s.defined(e)&&p.is(e.range)&&(s.undefined(e.command)||D.is(e.command))}t.is=i})(Ce||(Ce={}));var Ae;(function(t){function n(r,e){return{tabSize:r,insertSpaces:e}}t.create=n;function i(r){var e=r;return s.defined(e)&&s.uinteger(e.tabSize)&&s.boolean(e.insertSpaces)}t.is=i})(Ae||(Ae={}));var ye;(function(t){function n(r,e,a){return{range:r,target:e,data:a}}t.create=n;function i(r){var e=r;return s.defined(e)&&p.is(e.range)&&(s.undefined(e.target)||s.string(e.target))}t.is=i})(ye||(ye={}));var Ie;(function(t){function n(r,e){return{range:r,parent:e}}t.create=n;function i(r){var e=r;return e!==void 0&&p.is(e.range)&&(e.parent===void 0||t.is(e.parent))}t.is=i})(Ie||(Ie={}));var Re;(function(t){function n(a,o,u,g){return new He(a,o,u,g)}t.create=n;function i(a){var o=a;return!!(s.defined(o)&&s.string(o.uri)&&(s.undefined(o.languageId)||s.string(o.languageId))&&s.uinteger(o.lineCount)&&s.func(o.getText)&&s.func(o.positionAt)&&s.func(o.offsetAt))}t.is=i;function r(a,o){for(var u=a.getText(),g=e(o,function(A,j){var G=A.range.start.line-j.range.start.line;return G===0?A.range.start.character-j.range.start.character:G}),d=u.length,v=g.length-1;v>=0;v--){var w=g[v],b=a.offsetAt(w.range.start),f=a.offsetAt(w.range.end);if(f<=d)u=u.substring(0,b)+w.newText+u.substring(f,u.length);else throw new Error("Overlapping edit");d=b}return u}t.applyEdits=r;function e(a,o){if(a.length<=1)return a;var u=a.length/2|0,g=a.slice(0,u),d=a.slice(u);e(g,o),e(d,o);for(var v=0,w=0,b=0;v<g.length&&w<d.length;){var f=o(g[v],d[w]);f<=0?a[b++]=g[v++]:a[b++]=d[w++]}for(;v<g.length;)a[b++]=g[v++];for(;w<d.length;)a[b++]=d[w++];return a}})(Re||(Re={}));var He=function(){function t(n,i,r,e){this._uri=n,this._languageId=i,this._version=r,this._content=e,this._lineOffsets=void 0}return Object.defineProperty(t.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),t.prototype.getText=function(n){if(n){var i=this.offsetAt(n.start),r=this.offsetAt(n.end);return this._content.substring(i,r)}return this._content},t.prototype.update=function(n,i){this._content=n.text,this._version=i,this._lineOffsets=void 0},t.prototype.getLineOffsets=function(){if(this._lineOffsets===void 0){for(var n=[],i=this._content,r=!0,e=0;e<i.length;e++){r&&(n.push(e),r=!1);var a=i.charAt(e);r=a==="\r"||a===`
6
+ import{rk as J}from"./PHF3TQZ6.js";import"./WAPWDKPX.js";var Le=Object.defineProperty,je=Object.getOwnPropertyDescriptor,Ne=Object.getOwnPropertyNames,We=Object.prototype.hasOwnProperty,Y=(t,n,i,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let e of Ne(n))!We.call(t,e)&&e!==i&&Le(t,e,{get:()=>n[e],enumerable:!(r=je(n,e))||r.enumerable});return t},Ue=(t,n,i)=>(Y(t,n,"default"),i&&Y(i,n,"default")),c={};Ue(c,J);var Oe=2*60*1e3,Ve=class{_defaults;_idleCheckInterval;_lastUsedTime;_configChangeListener;_worker;_client;constructor(t){this._defaults=t,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),30*1e3),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){if(!this._worker)return;Date.now()-this._lastUsedTime>Oe&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=c.editor.createWebWorker({moduleId:"vs/language/css/cssWorker",label:this._defaults.languageId,createData:{options:this._defaults.options,languageId:this._defaults.languageId}}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...t){let n;return this._getClient().then(i=>{n=i}).then(i=>{if(this._worker)return this._worker.withSyncedResources(t)}).then(i=>n)}},Z;(function(t){t.MIN_VALUE=-2147483648,t.MAX_VALUE=2147483647})(Z||(Z={}));var W;(function(t){t.MIN_VALUE=0,t.MAX_VALUE=2147483647})(W||(W={}));var k;(function(t){function n(r,e){return r===Number.MAX_VALUE&&(r=W.MAX_VALUE),e===Number.MAX_VALUE&&(e=W.MAX_VALUE),{line:r,character:e}}t.create=n;function i(r){var e=r;return s.objectLiteral(e)&&s.uinteger(e.line)&&s.uinteger(e.character)}t.is=i})(k||(k={}));var p;(function(t){function n(r,e,a,o){if(s.uinteger(r)&&s.uinteger(e)&&s.uinteger(a)&&s.uinteger(o))return{start:k.create(r,e),end:k.create(a,o)};if(k.is(r)&&k.is(e))return{start:r,end:e};throw new Error("Range#create called with invalid arguments["+r+", "+e+", "+a+", "+o+"]")}t.create=n;function i(r){var e=r;return s.objectLiteral(e)&&k.is(e.start)&&k.is(e.end)}t.is=i})(p||(p={}));var z;(function(t){function n(r,e){return{uri:r,range:e}}t.create=n;function i(r){var e=r;return s.defined(e)&&p.is(e.range)&&(s.string(e.uri)||s.undefined(e.uri))}t.is=i})(z||(z={}));var K;(function(t){function n(r,e,a,o){return{targetUri:r,targetRange:e,targetSelectionRange:a,originSelectionRange:o}}t.create=n;function i(r){var e=r;return s.defined(e)&&p.is(e.targetRange)&&s.string(e.targetUri)&&(p.is(e.targetSelectionRange)||s.undefined(e.targetSelectionRange))&&(p.is(e.originSelectionRange)||s.undefined(e.originSelectionRange))}t.is=i})(K||(K={}));var X;(function(t){function n(r,e,a,o){return{red:r,green:e,blue:a,alpha:o}}t.create=n;function i(r){var e=r;return s.numberRange(e.red,0,1)&&s.numberRange(e.green,0,1)&&s.numberRange(e.blue,0,1)&&s.numberRange(e.alpha,0,1)}t.is=i})(X||(X={}));var ee;(function(t){function n(r,e){return{range:r,color:e}}t.create=n;function i(r){var e=r;return p.is(e.range)&&X.is(e.color)}t.is=i})(ee||(ee={}));var te;(function(t){function n(r,e,a){return{label:r,textEdit:e,additionalTextEdits:a}}t.create=n;function i(r){var e=r;return s.string(e.label)&&(s.undefined(e.textEdit)||x.is(e))&&(s.undefined(e.additionalTextEdits)||s.typedArray(e.additionalTextEdits,x.is))}t.is=i})(te||(te={}));var R;(function(t){t.Comment="comment",t.Imports="imports",t.Region="region"})(R||(R={}));var re;(function(t){function n(r,e,a,o,u){var g={startLine:r,endLine:e};return s.defined(a)&&(g.startCharacter=a),s.defined(o)&&(g.endCharacter=o),s.defined(u)&&(g.kind=u),g}t.create=n;function i(r){var e=r;return s.uinteger(e.startLine)&&s.uinteger(e.startLine)&&(s.undefined(e.startCharacter)||s.uinteger(e.startCharacter))&&(s.undefined(e.endCharacter)||s.uinteger(e.endCharacter))&&(s.undefined(e.kind)||s.string(e.kind))}t.is=i})(re||(re={}));var B;(function(t){function n(r,e){return{location:r,message:e}}t.create=n;function i(r){var e=r;return s.defined(e)&&z.is(e.location)&&s.string(e.message)}t.is=i})(B||(B={}));var y;(function(t){t.Error=1,t.Warning=2,t.Information=3,t.Hint=4})(y||(y={}));var ne;(function(t){t.Unnecessary=1,t.Deprecated=2})(ne||(ne={}));var ie;(function(t){function n(i){var r=i;return r!=null&&s.string(r.href)}t.is=n})(ie||(ie={}));var U;(function(t){function n(r,e,a,o,u,g){var d={range:r,message:e};return s.defined(a)&&(d.severity=a),s.defined(o)&&(d.code=o),s.defined(u)&&(d.source=u),s.defined(g)&&(d.relatedInformation=g),d}t.create=n;function i(r){var e,a=r;return s.defined(a)&&p.is(a.range)&&s.string(a.message)&&(s.number(a.severity)||s.undefined(a.severity))&&(s.integer(a.code)||s.string(a.code)||s.undefined(a.code))&&(s.undefined(a.codeDescription)||s.string((e=a.codeDescription)===null||e===void 0?void 0:e.href))&&(s.string(a.source)||s.undefined(a.source))&&(s.undefined(a.relatedInformation)||s.typedArray(a.relatedInformation,B.is))}t.is=i})(U||(U={}));var D;(function(t){function n(r,e){for(var a=[],o=2;o<arguments.length;o++)a[o-2]=arguments[o];var u={title:r,command:e};return s.defined(a)&&a.length>0&&(u.arguments=a),u}t.create=n;function i(r){var e=r;return s.defined(e)&&s.string(e.title)&&s.string(e.command)}t.is=i})(D||(D={}));var x;(function(t){function n(a,o){return{range:a,newText:o}}t.replace=n;function i(a,o){return{range:{start:a,end:a},newText:o}}t.insert=i;function r(a){return{range:a,newText:""}}t.del=r;function e(a){var o=a;return s.objectLiteral(o)&&s.string(o.newText)&&p.is(o.range)}t.is=e})(x||(x={}));var I;(function(t){function n(r,e,a){var o={label:r};return e!==void 0&&(o.needsConfirmation=e),a!==void 0&&(o.description=a),o}t.create=n;function i(r){var e=r;return e!==void 0&&s.objectLiteral(e)&&s.string(e.label)&&(s.boolean(e.needsConfirmation)||e.needsConfirmation===void 0)&&(s.string(e.description)||e.description===void 0)}t.is=i})(I||(I={}));var m;(function(t){function n(i){var r=i;return typeof r=="string"}t.is=n})(m||(m={}));var E;(function(t){function n(a,o,u){return{range:a,newText:o,annotationId:u}}t.replace=n;function i(a,o,u){return{range:{start:a,end:a},newText:o,annotationId:u}}t.insert=i;function r(a,o){return{range:a,newText:"",annotationId:o}}t.del=r;function e(a){var o=a;return x.is(o)&&(I.is(o.annotationId)||m.is(o.annotationId))}t.is=e})(E||(E={}));var O;(function(t){function n(r,e){return{textDocument:r,edits:e}}t.create=n;function i(r){var e=r;return s.defined(e)&&V.is(e.textDocument)&&Array.isArray(e.edits)}t.is=i})(O||(O={}));var M;(function(t){function n(r,e,a){var o={kind:"create",uri:r};return e!==void 0&&(e.overwrite!==void 0||e.ignoreIfExists!==void 0)&&(o.options=e),a!==void 0&&(o.annotationId=a),o}t.create=n;function i(r){var e=r;return e&&e.kind==="create"&&s.string(e.uri)&&(e.options===void 0||(e.options.overwrite===void 0||s.boolean(e.options.overwrite))&&(e.options.ignoreIfExists===void 0||s.boolean(e.options.ignoreIfExists)))&&(e.annotationId===void 0||m.is(e.annotationId))}t.is=i})(M||(M={}));var T;(function(t){function n(r,e,a,o){var u={kind:"rename",oldUri:r,newUri:e};return a!==void 0&&(a.overwrite!==void 0||a.ignoreIfExists!==void 0)&&(u.options=a),o!==void 0&&(u.annotationId=o),u}t.create=n;function i(r){var e=r;return e&&e.kind==="rename"&&s.string(e.oldUri)&&s.string(e.newUri)&&(e.options===void 0||(e.options.overwrite===void 0||s.boolean(e.options.overwrite))&&(e.options.ignoreIfExists===void 0||s.boolean(e.options.ignoreIfExists)))&&(e.annotationId===void 0||m.is(e.annotationId))}t.is=i})(T||(T={}));var S;(function(t){function n(r,e,a){var o={kind:"delete",uri:r};return e!==void 0&&(e.recursive!==void 0||e.ignoreIfNotExists!==void 0)&&(o.options=e),a!==void 0&&(o.annotationId=a),o}t.create=n;function i(r){var e=r;return e&&e.kind==="delete"&&s.string(e.uri)&&(e.options===void 0||(e.options.recursive===void 0||s.boolean(e.options.recursive))&&(e.options.ignoreIfNotExists===void 0||s.boolean(e.options.ignoreIfNotExists)))&&(e.annotationId===void 0||m.is(e.annotationId))}t.is=i})(S||(S={}));var $;(function(t){function n(i){var r=i;return r&&(r.changes!==void 0||r.documentChanges!==void 0)&&(r.documentChanges===void 0||r.documentChanges.every(function(e){return s.string(e.kind)?M.is(e)||T.is(e)||S.is(e):O.is(e)}))}t.is=n})($||($={}));var N=function(){function t(n,i){this.edits=n,this.changeAnnotations=i}return t.prototype.insert=function(n,i,r){var e,a;if(r===void 0?e=x.insert(n,i):m.is(r)?(a=r,e=E.insert(n,i,r)):(this.assertChangeAnnotations(this.changeAnnotations),a=this.changeAnnotations.manage(r),e=E.insert(n,i,a)),this.edits.push(e),a!==void 0)return a},t.prototype.replace=function(n,i,r){var e,a;if(r===void 0?e=x.replace(n,i):m.is(r)?(a=r,e=E.replace(n,i,r)):(this.assertChangeAnnotations(this.changeAnnotations),a=this.changeAnnotations.manage(r),e=E.replace(n,i,a)),this.edits.push(e),a!==void 0)return a},t.prototype.delete=function(n,i){var r,e;if(i===void 0?r=x.del(n):m.is(i)?(e=i,r=E.del(n,i)):(this.assertChangeAnnotations(this.changeAnnotations),e=this.changeAnnotations.manage(i),r=E.del(n,e)),this.edits.push(r),e!==void 0)return e},t.prototype.add=function(n){this.edits.push(n)},t.prototype.all=function(){return this.edits},t.prototype.clear=function(){this.edits.splice(0,this.edits.length)},t.prototype.assertChangeAnnotations=function(n){if(n===void 0)throw new Error("Text edit change is not configured to manage change annotations.")},t}(),ae=function(){function t(n){this._annotations=n===void 0?Object.create(null):n,this._counter=0,this._size=0}return t.prototype.all=function(){return this._annotations},Object.defineProperty(t.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),t.prototype.manage=function(n,i){var r;if(m.is(n)?r=n:(r=this.nextId(),i=n),this._annotations[r]!==void 0)throw new Error("Id "+r+" is already in use.");if(i===void 0)throw new Error("No annotation provided for id "+r);return this._annotations[r]=i,this._size++,r},t.prototype.nextId=function(){return this._counter++,this._counter.toString()},t}(),lt=function(){function t(n){var i=this;this._textEditChanges=Object.create(null),n!==void 0?(this._workspaceEdit=n,n.documentChanges?(this._changeAnnotations=new ae(n.changeAnnotations),n.changeAnnotations=this._changeAnnotations.all(),n.documentChanges.forEach(function(r){if(O.is(r)){var e=new N(r.edits,i._changeAnnotations);i._textEditChanges[r.textDocument.uri]=e}})):n.changes&&Object.keys(n.changes).forEach(function(r){var e=new N(n.changes[r]);i._textEditChanges[r]=e})):this._workspaceEdit={}}return Object.defineProperty(t.prototype,"edit",{get:function(){return this.initDocumentChanges(),this._changeAnnotations!==void 0&&(this._changeAnnotations.size===0?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),t.prototype.getTextEditChange=function(n){if(V.is(n)){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var i={uri:n.uri,version:n.version},r=this._textEditChanges[i.uri];if(!r){var e=[],a={textDocument:i,edits:e};this._workspaceEdit.documentChanges.push(a),r=new N(e,this._changeAnnotations),this._textEditChanges[i.uri]=r}return r}else{if(this.initChanges(),this._workspaceEdit.changes===void 0)throw new Error("Workspace edit is not configured for normal text edit changes.");var r=this._textEditChanges[n];if(!r){var e=[];this._workspaceEdit.changes[n]=e,r=new N(e),this._textEditChanges[n]=r}return r}},t.prototype.initDocumentChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new ae,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},t.prototype.initChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._workspaceEdit.changes=Object.create(null))},t.prototype.createFile=function(n,i,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var e;I.is(i)||m.is(i)?e=i:r=i;var a,o;if(e===void 0?a=M.create(n,r):(o=m.is(e)?e:this._changeAnnotations.manage(e),a=M.create(n,r,o)),this._workspaceEdit.documentChanges.push(a),o!==void 0)return o},t.prototype.renameFile=function(n,i,r,e){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var a;I.is(r)||m.is(r)?a=r:e=r;var o,u;if(a===void 0?o=T.create(n,i,e):(u=m.is(a)?a:this._changeAnnotations.manage(a),o=T.create(n,i,e,u)),this._workspaceEdit.documentChanges.push(o),u!==void 0)return u},t.prototype.deleteFile=function(n,i,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var e;I.is(i)||m.is(i)?e=i:r=i;var a,o;if(e===void 0?a=S.create(n,r):(o=m.is(e)?e:this._changeAnnotations.manage(e),a=S.create(n,r,o)),this._workspaceEdit.documentChanges.push(a),o!==void 0)return o},t}(),oe;(function(t){function n(r){return{uri:r}}t.create=n;function i(r){var e=r;return s.defined(e)&&s.string(e.uri)}t.is=i})(oe||(oe={}));var se;(function(t){function n(r,e){return{uri:r,version:e}}t.create=n;function i(r){var e=r;return s.defined(e)&&s.string(e.uri)&&s.integer(e.version)}t.is=i})(se||(se={}));var V;(function(t){function n(r,e){return{uri:r,version:e}}t.create=n;function i(r){var e=r;return s.defined(e)&&s.string(e.uri)&&(e.version===null||s.integer(e.version))}t.is=i})(V||(V={}));var ue;(function(t){function n(r,e,a,o){return{uri:r,languageId:e,version:a,text:o}}t.create=n;function i(r){var e=r;return s.defined(e)&&s.string(e.uri)&&s.string(e.languageId)&&s.integer(e.version)&&s.string(e.text)}t.is=i})(ue||(ue={}));var F;(function(t){t.PlainText="plaintext",t.Markdown="markdown"})(F||(F={}));(function(t){function n(i){var r=i;return r===t.PlainText||r===t.Markdown}t.is=n})(F||(F={}));var q;(function(t){function n(i){var r=i;return s.objectLiteral(i)&&F.is(r.kind)&&s.string(r.value)}t.is=n})(q||(q={}));var l;(function(t){t.Text=1,t.Method=2,t.Function=3,t.Constructor=4,t.Field=5,t.Variable=6,t.Class=7,t.Interface=8,t.Module=9,t.Property=10,t.Unit=11,t.Value=12,t.Enum=13,t.Keyword=14,t.Snippet=15,t.Color=16,t.File=17,t.Reference=18,t.Folder=19,t.EnumMember=20,t.Constant=21,t.Struct=22,t.Event=23,t.Operator=24,t.TypeParameter=25})(l||(l={}));var Q;(function(t){t.PlainText=1,t.Snippet=2})(Q||(Q={}));var ce;(function(t){t.Deprecated=1})(ce||(ce={}));var de;(function(t){function n(r,e,a){return{newText:r,insert:e,replace:a}}t.create=n;function i(r){var e=r;return e&&s.string(e.newText)&&p.is(e.insert)&&p.is(e.replace)}t.is=i})(de||(de={}));var fe;(function(t){t.asIs=1,t.adjustIndentation=2})(fe||(fe={}));var ge;(function(t){function n(i){return{label:i}}t.create=n})(ge||(ge={}));var le;(function(t){function n(i,r){return{items:i||[],isIncomplete:!!r}}t.create=n})(le||(le={}));var H;(function(t){function n(r){return r.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}t.fromPlainText=n;function i(r){var e=r;return s.string(e)||s.objectLiteral(e)&&s.string(e.language)&&s.string(e.value)}t.is=i})(H||(H={}));var he;(function(t){function n(i){var r=i;return!!r&&s.objectLiteral(r)&&(q.is(r.contents)||H.is(r.contents)||s.typedArray(r.contents,H.is))&&(i.range===void 0||p.is(i.range))}t.is=n})(he||(he={}));var ve;(function(t){function n(i,r){return r?{label:i,documentation:r}:{label:i}}t.create=n})(ve||(ve={}));var pe;(function(t){function n(i,r){for(var e=[],a=2;a<arguments.length;a++)e[a-2]=arguments[a];var o={label:i};return s.defined(r)&&(o.documentation=r),s.defined(e)?o.parameters=e:o.parameters=[],o}t.create=n})(pe||(pe={}));var P;(function(t){t.Text=1,t.Read=2,t.Write=3})(P||(P={}));var me;(function(t){function n(i,r){var e={range:i};return s.number(r)&&(e.kind=r),e}t.create=n})(me||(me={}));var h;(function(t){t.File=1,t.Module=2,t.Namespace=3,t.Package=4,t.Class=5,t.Method=6,t.Property=7,t.Field=8,t.Constructor=9,t.Enum=10,t.Interface=11,t.Function=12,t.Variable=13,t.Constant=14,t.String=15,t.Number=16,t.Boolean=17,t.Array=18,t.Object=19,t.Key=20,t.Null=21,t.EnumMember=22,t.Struct=23,t.Event=24,t.Operator=25,t.TypeParameter=26})(h||(h={}));var _e;(function(t){t.Deprecated=1})(_e||(_e={}));var we;(function(t){function n(i,r,e,a,o){var u={name:i,kind:r,location:{uri:a,range:e}};return o&&(u.containerName=o),u}t.create=n})(we||(we={}));var ke;(function(t){function n(r,e,a,o,u,g){var d={name:r,detail:e,kind:a,range:o,selectionRange:u};return g!==void 0&&(d.children=g),d}t.create=n;function i(r){var e=r;return e&&s.string(e.name)&&s.number(e.kind)&&p.is(e.range)&&p.is(e.selectionRange)&&(e.detail===void 0||s.string(e.detail))&&(e.deprecated===void 0||s.boolean(e.deprecated))&&(e.children===void 0||Array.isArray(e.children))&&(e.tags===void 0||Array.isArray(e.tags))}t.is=i})(ke||(ke={}));var be;(function(t){t.Empty="",t.QuickFix="quickfix",t.Refactor="refactor",t.RefactorExtract="refactor.extract",t.RefactorInline="refactor.inline",t.RefactorRewrite="refactor.rewrite",t.Source="source",t.SourceOrganizeImports="source.organizeImports",t.SourceFixAll="source.fixAll"})(be||(be={}));var Ee;(function(t){function n(r,e){var a={diagnostics:r};return e!=null&&(a.only=e),a}t.create=n;function i(r){var e=r;return s.defined(e)&&s.typedArray(e.diagnostics,U.is)&&(e.only===void 0||s.typedArray(e.only,s.string))}t.is=i})(Ee||(Ee={}));var xe;(function(t){function n(r,e,a){var o={title:r},u=!0;return typeof e=="string"?(u=!1,o.kind=e):D.is(e)?o.command=e:o.edit=e,u&&a!==void 0&&(o.kind=a),o}t.create=n;function i(r){var e=r;return e&&s.string(e.title)&&(e.diagnostics===void 0||s.typedArray(e.diagnostics,U.is))&&(e.kind===void 0||s.string(e.kind))&&(e.edit!==void 0||e.command!==void 0)&&(e.command===void 0||D.is(e.command))&&(e.isPreferred===void 0||s.boolean(e.isPreferred))&&(e.edit===void 0||$.is(e.edit))}t.is=i})(xe||(xe={}));var Ce;(function(t){function n(r,e){var a={range:r};return s.defined(e)&&(a.data=e),a}t.create=n;function i(r){var e=r;return s.defined(e)&&p.is(e.range)&&(s.undefined(e.command)||D.is(e.command))}t.is=i})(Ce||(Ce={}));var Ae;(function(t){function n(r,e){return{tabSize:r,insertSpaces:e}}t.create=n;function i(r){var e=r;return s.defined(e)&&s.uinteger(e.tabSize)&&s.boolean(e.insertSpaces)}t.is=i})(Ae||(Ae={}));var ye;(function(t){function n(r,e,a){return{range:r,target:e,data:a}}t.create=n;function i(r){var e=r;return s.defined(e)&&p.is(e.range)&&(s.undefined(e.target)||s.string(e.target))}t.is=i})(ye||(ye={}));var Ie;(function(t){function n(r,e){return{range:r,parent:e}}t.create=n;function i(r){var e=r;return e!==void 0&&p.is(e.range)&&(e.parent===void 0||t.is(e.parent))}t.is=i})(Ie||(Ie={}));var Re;(function(t){function n(a,o,u,g){return new He(a,o,u,g)}t.create=n;function i(a){var o=a;return!!(s.defined(o)&&s.string(o.uri)&&(s.undefined(o.languageId)||s.string(o.languageId))&&s.uinteger(o.lineCount)&&s.func(o.getText)&&s.func(o.positionAt)&&s.func(o.offsetAt))}t.is=i;function r(a,o){for(var u=a.getText(),g=e(o,function(A,j){var G=A.range.start.line-j.range.start.line;return G===0?A.range.start.character-j.range.start.character:G}),d=u.length,v=g.length-1;v>=0;v--){var w=g[v],b=a.offsetAt(w.range.start),f=a.offsetAt(w.range.end);if(f<=d)u=u.substring(0,b)+w.newText+u.substring(f,u.length);else throw new Error("Overlapping edit");d=b}return u}t.applyEdits=r;function e(a,o){if(a.length<=1)return a;var u=a.length/2|0,g=a.slice(0,u),d=a.slice(u);e(g,o),e(d,o);for(var v=0,w=0,b=0;v<g.length&&w<d.length;){var f=o(g[v],d[w]);f<=0?a[b++]=g[v++]:a[b++]=d[w++]}for(;v<g.length;)a[b++]=g[v++];for(;w<d.length;)a[b++]=d[w++];return a}})(Re||(Re={}));var He=function(){function t(n,i,r,e){this._uri=n,this._languageId=i,this._version=r,this._content=e,this._lineOffsets=void 0}return Object.defineProperty(t.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),t.prototype.getText=function(n){if(n){var i=this.offsetAt(n.start),r=this.offsetAt(n.end);return this._content.substring(i,r)}return this._content},t.prototype.update=function(n,i){this._content=n.text,this._version=i,this._lineOffsets=void 0},t.prototype.getLineOffsets=function(){if(this._lineOffsets===void 0){for(var n=[],i=this._content,r=!0,e=0;e<i.length;e++){r&&(n.push(e),r=!1);var a=i.charAt(e);r=a==="\r"||a===`
7
7
  `,a==="\r"&&e+1<i.length&&i.charAt(e+1)===`
8
8
  `&&e++}r&&i.length>0&&n.push(i.length),this._lineOffsets=n}return this._lineOffsets},t.prototype.positionAt=function(n){n=Math.max(Math.min(n,this._content.length),0);var i=this.getLineOffsets(),r=0,e=i.length;if(e===0)return k.create(0,n);for(;r<e;){var a=Math.floor((r+e)/2);i[a]>n?e=a:r=a+1}var o=r-1;return k.create(o,n-i[o])},t.prototype.offsetAt=function(n){var i=this.getLineOffsets();if(n.line>=i.length)return this._content.length;if(n.line<0)return 0;var r=i[n.line],e=n.line+1<i.length?i[n.line+1]:this._content.length;return Math.max(Math.min(r+n.character,e),r)},Object.defineProperty(t.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),t}(),s;(function(t){var n=Object.prototype.toString;function i(f){return typeof f<"u"}t.defined=i;function r(f){return typeof f>"u"}t.undefined=r;function e(f){return f===!0||f===!1}t.boolean=e;function a(f){return n.call(f)==="[object String]"}t.string=a;function o(f){return n.call(f)==="[object Number]"}t.number=o;function u(f,A,j){return n.call(f)==="[object Number]"&&A<=f&&f<=j}t.numberRange=u;function g(f){return n.call(f)==="[object Number]"&&-2147483648<=f&&f<=2147483647}t.integer=g;function d(f){return n.call(f)==="[object Number]"&&0<=f&&f<=2147483647}t.uinteger=d;function v(f){return n.call(f)==="[object Function]"}t.func=v;function w(f){return f!==null&&typeof f=="object"}t.objectLiteral=w;function b(f,A){return Array.isArray(f)&&f.every(A)}t.typedArray=b})(s||(s={}));var ze=class{constructor(t,n,i){this._languageId=t,this._worker=n;let r=a=>{let o=a.getLanguageId();if(o!==this._languageId)return;let u;this._listener[a.uri.toString()]=a.onDidChangeContent(()=>{window.clearTimeout(u),u=window.setTimeout(()=>this._doValidate(a.uri,o),500)}),this._doValidate(a.uri,o)},e=a=>{c.editor.setModelMarkers(a,this._languageId,[]);let o=a.uri.toString(),u=this._listener[o];u&&(u.dispose(),delete this._listener[o])};this._disposables.push(c.editor.onDidCreateModel(r)),this._disposables.push(c.editor.onWillDisposeModel(e)),this._disposables.push(c.editor.onDidChangeModelLanguage(a=>{e(a.model),r(a.model)})),this._disposables.push(i(a=>{c.editor.getModels().forEach(o=>{o.getLanguageId()===this._languageId&&(e(o),r(o))})})),this._disposables.push({dispose:()=>{c.editor.getModels().forEach(e);for(let a in this._listener)this._listener[a].dispose()}}),c.editor.getModels().forEach(r)}_disposables=[];_listener=Object.create(null);dispose(){this._disposables.forEach(t=>t&&t.dispose()),this._disposables.length=0}_doValidate(t,n){this._worker(t).then(i=>i.doValidation(t.toString())).then(i=>{let r=i.map(a=>Be(t,a)),e=c.editor.getModel(t);e&&e.getLanguageId()===n&&c.editor.setModelMarkers(e,n,r)}).then(void 0,i=>{console.error(i)})}};function Xe(t){switch(t){case y.Error:return c.MarkerSeverity.Error;case y.Warning:return c.MarkerSeverity.Warning;case y.Information:return c.MarkerSeverity.Info;case y.Hint:return c.MarkerSeverity.Hint;default:return c.MarkerSeverity.Info}}function Be(t,n){let i=typeof n.code=="number"?String(n.code):n.code;return{severity:Xe(n.severity),startLineNumber:n.range.start.line+1,startColumn:n.range.start.character+1,endLineNumber:n.range.end.line+1,endColumn:n.range.end.character+1,message:n.message,code:i,source:n.source}}var $e=class{constructor(t,n){this._worker=t,this._triggerCharacters=n}get triggerCharacters(){return this._triggerCharacters}provideCompletionItems(t,n,i,r){let e=t.uri;return this._worker(e).then(a=>a.doComplete(e.toString(),C(n))).then(a=>{if(!a)return;let o=t.getWordUntilPosition(n),u=new c.Range(n.lineNumber,o.startColumn,n.lineNumber,o.endColumn),g=a.items.map(d=>{let v={label:d.label,insertText:d.insertText||d.label,sortText:d.sortText,filterText:d.filterText,documentation:d.documentation,detail:d.detail,command:Ge(d.command),range:u,kind:Qe(d.kind)};return d.textEdit&&(qe(d.textEdit)?v.range={insert:_(d.textEdit.insert),replace:_(d.textEdit.replace)}:v.range=_(d.textEdit.range),v.insertText=d.textEdit.newText),d.additionalTextEdits&&(v.additionalTextEdits=d.additionalTextEdits.map(L)),d.insertTextFormat===Q.Snippet&&(v.insertTextRules=c.languages.CompletionItemInsertTextRule.InsertAsSnippet),v});return{isIncomplete:a.isIncomplete,suggestions:g}})}};function C(t){if(t)return{character:t.column-1,line:t.lineNumber-1}}function Me(t){if(t)return{start:{line:t.startLineNumber-1,character:t.startColumn-1},end:{line:t.endLineNumber-1,character:t.endColumn-1}}}function _(t){if(t)return new c.Range(t.start.line+1,t.start.character+1,t.end.line+1,t.end.character+1)}function qe(t){return typeof t.insert<"u"&&typeof t.replace<"u"}function Qe(t){let n=c.languages.CompletionItemKind;switch(t){case l.Text:return n.Text;case l.Method:return n.Method;case l.Function:return n.Function;case l.Constructor:return n.Constructor;case l.Field:return n.Field;case l.Variable:return n.Variable;case l.Class:return n.Class;case l.Interface:return n.Interface;case l.Module:return n.Module;case l.Property:return n.Property;case l.Unit:return n.Unit;case l.Value:return n.Value;case l.Enum:return n.Enum;case l.Keyword:return n.Keyword;case l.Snippet:return n.Snippet;case l.Color:return n.Color;case l.File:return n.File;case l.Reference:return n.Reference}return n.Property}function L(t){if(t)return{range:_(t.range),text:t.newText}}function Ge(t){return t&&t.command==="editor.action.triggerSuggest"?{id:t.command,title:t.title,arguments:t.arguments}:void 0}var Je=class{constructor(t){this._worker=t}provideHover(t,n,i){let r=t.uri;return this._worker(r).then(e=>e.doHover(r.toString(),C(n))).then(e=>{if(e)return{range:_(e.range),contents:Ze(e.contents)}})}};function Ye(t){return t&&typeof t=="object"&&typeof t.kind=="string"}function Pe(t){return typeof t=="string"?{value:t}:Ye(t)?t.kind==="plaintext"?{value:t.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:t.value}:{value:"```"+t.language+`
9
9
  `+t.value+"\n```\n"}}function Ze(t){if(t)return Array.isArray(t)?t.map(Pe):[Pe(t)]}var Ke=class{constructor(t){this._worker=t}provideDocumentHighlights(t,n,i){let r=t.uri;return this._worker(r).then(e=>e.findDocumentHighlights(r.toString(),C(n))).then(e=>{if(e)return e.map(a=>({range:_(a.range),kind:et(a.kind)}))})}};function et(t){switch(t){case P.Read:return c.languages.DocumentHighlightKind.Read;case P.Write:return c.languages.DocumentHighlightKind.Write;case P.Text:return c.languages.DocumentHighlightKind.Text}return c.languages.DocumentHighlightKind.Text}var tt=class{constructor(t){this._worker=t}provideDefinition(t,n,i){let r=t.uri;return this._worker(r).then(e=>e.findDefinition(r.toString(),C(n))).then(e=>{if(e)return[Te(e)]})}};function Te(t){return{uri:c.Uri.parse(t.uri),range:_(t.range)}}var rt=class{constructor(t){this._worker=t}provideReferences(t,n,i,r){let e=t.uri;return this._worker(e).then(a=>a.findReferences(e.toString(),C(n))).then(a=>{if(a)return a.map(Te)})}},nt=class{constructor(t){this._worker=t}provideRenameEdits(t,n,i,r){let e=t.uri;return this._worker(e).then(a=>a.doRename(e.toString(),C(n),i)).then(a=>it(a))}};function it(t){if(!t||!t.changes)return;let n=[];for(let i in t.changes){let r=c.Uri.parse(i);for(let e of t.changes[i])n.push({resource:r,versionId:void 0,textEdit:{range:_(e.range),text:e.newText}})}return{edits:n}}var at=class{constructor(t){this._worker=t}provideDocumentSymbols(t,n){let i=t.uri;return this._worker(i).then(r=>r.findDocumentSymbols(i.toString())).then(r=>{if(r)return r.map(e=>({name:e.name,detail:"",containerName:e.containerName,kind:ot(e.kind),range:_(e.location.range),selectionRange:_(e.location.range),tags:[]}))})}};function ot(t){let n=c.languages.SymbolKind;switch(t){case h.File:return n.Array;case h.Module:return n.Module;case h.Namespace:return n.Namespace;case h.Package:return n.Package;case h.Class:return n.Class;case h.Method:return n.Method;case h.Property:return n.Property;case h.Field:return n.Field;case h.Constructor:return n.Constructor;case h.Enum:return n.Enum;case h.Interface:return n.Interface;case h.Function:return n.Function;case h.Variable:return n.Variable;case h.Constant:return n.Constant;case h.String:return n.String;case h.Number:return n.Number;case h.Boolean:return n.Boolean;case h.Array:return n.Array}return n.Function}var ht=class{constructor(t){this._worker=t}provideLinks(t,n){let i=t.uri;return this._worker(i).then(r=>r.findDocumentLinks(i.toString())).then(r=>{if(r)return{links:r.map(e=>({range:_(e.range),url:e.target}))}})}},st=class{constructor(t){this._worker=t}provideDocumentFormattingEdits(t,n,i){let r=t.uri;return this._worker(r).then(e=>e.format(r.toString(),null,Se(n)).then(a=>{if(!(!a||a.length===0))return a.map(L)}))}},ut=class{constructor(t){this._worker=t}canFormatMultipleRanges=!1;provideDocumentRangeFormattingEdits(t,n,i,r){let e=t.uri;return this._worker(e).then(a=>a.format(e.toString(),Me(n),Se(i)).then(o=>{if(!(!o||o.length===0))return o.map(L)}))}};function Se(t){return{tabSize:t.tabSize,insertSpaces:t.insertSpaces}}var ct=class{constructor(t){this._worker=t}provideDocumentColors(t,n){let i=t.uri;return this._worker(i).then(r=>r.findDocumentColors(i.toString())).then(r=>{if(r)return r.map(e=>({color:e.color,range:_(e.range)}))})}provideColorPresentations(t,n,i){let r=t.uri;return this._worker(r).then(e=>e.getColorPresentations(r.toString(),n.color,Me(n.range))).then(e=>{if(e)return e.map(a=>{let o={label:a.label};return a.textEdit&&(o.textEdit=L(a.textEdit)),a.additionalTextEdits&&(o.additionalTextEdits=a.additionalTextEdits.map(L)),o})})}},dt=class{constructor(t){this._worker=t}provideFoldingRanges(t,n,i){let r=t.uri;return this._worker(r).then(e=>e.getFoldingRanges(r.toString(),n)).then(e=>{if(e)return e.map(a=>{let o={start:a.startLine+1,end:a.endLine+1};return typeof a.kind<"u"&&(o.kind=ft(a.kind)),o})})}};function ft(t){switch(t){case R.Comment:return c.languages.FoldingRangeKind.Comment;case R.Imports:return c.languages.FoldingRangeKind.Imports;case R.Region:return c.languages.FoldingRangeKind.Region}}var gt=class{constructor(t){this._worker=t}provideSelectionRanges(t,n,i){let r=t.uri;return this._worker(r).then(e=>e.getSelectionRanges(r.toString(),n.map(C))).then(e=>{if(e)return e.map(a=>{let o=[];for(;a;)o.push({range:_(a.range)}),a=a.parent;return o})})}};function vt(t){let n=[],i=[],r=new Ve(t);n.push(r);let e=(...o)=>r.getLanguageServiceWorker(...o);function a(){let{languageId:o,modeConfiguration:u}=t;Fe(i),u.completionItems&&i.push(c.languages.registerCompletionItemProvider(o,new $e(e,["/","-",":"]))),u.hovers&&i.push(c.languages.registerHoverProvider(o,new Je(e))),u.documentHighlights&&i.push(c.languages.registerDocumentHighlightProvider(o,new Ke(e))),u.definitions&&i.push(c.languages.registerDefinitionProvider(o,new tt(e))),u.references&&i.push(c.languages.registerReferenceProvider(o,new rt(e))),u.documentSymbols&&i.push(c.languages.registerDocumentSymbolProvider(o,new at(e))),u.rename&&i.push(c.languages.registerRenameProvider(o,new nt(e))),u.colors&&i.push(c.languages.registerColorProvider(o,new ct(e))),u.foldingRanges&&i.push(c.languages.registerFoldingRangeProvider(o,new dt(e))),u.diagnostics&&i.push(new ze(o,e,t.onDidChange)),u.selectionRanges&&i.push(c.languages.registerSelectionRangeProvider(o,new gt(e))),u.documentFormattingEdits&&i.push(c.languages.registerDocumentFormattingEditProvider(o,new st(e))),u.documentRangeFormattingEdits&&i.push(c.languages.registerDocumentRangeFormattingEditProvider(o,new ut(e)))}return a(),n.push(De(i)),De(n)}function De(t){return{dispose:()=>Fe(t)}}function Fe(t){for(;t.length;)t.pop().dispose()}export{$e as CompletionAdapter,tt as DefinitionAdapter,ze as DiagnosticsAdapter,ct as DocumentColorAdapter,st as DocumentFormattingEditProvider,Ke as DocumentHighlightAdapter,ht as DocumentLinkAdapter,ut as DocumentRangeFormattingEditProvider,at as DocumentSymbolAdapter,dt as FoldingRangeAdapter,Je as HoverAdapter,rt as ReferenceAdapter,nt as RenameAdapter,gt as SelectionRangeAdapter,Ve as WorkerManager,C as fromPosition,Me as fromRange,vt as setupMode,_ as toRange,L as toTextEdit};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.30
4
+ * v4.32.0-next.32
5
5
  */
6
- import{rk as a}from"./HXHEZICE.js";var d=Object.defineProperty,O=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyNames,L=Object.prototype.hasOwnProperty,h=(e,i,t,s)=>{if(i&&typeof i=="object"||typeof i=="function")for(let r of m(i))!L.call(e,r)&&r!==t&&d(e,r,{get:()=>i[r],enumerable:!(s=O(i,r))||s.enumerable});return e},y=(e,i,t)=>(h(e,i,"default"),t&&h(t,i,"default")),E="5.0.2",n={};y(n,a);var _=(e=>(e[e.None=0]="None",e[e.CommonJS=1]="CommonJS",e[e.AMD=2]="AMD",e[e.UMD=3]="UMD",e[e.System=4]="System",e[e.ES2015=5]="ES2015",e[e.ESNext=99]="ESNext",e))(_||{}),u=(e=>(e[e.None=0]="None",e[e.Preserve=1]="Preserve",e[e.React=2]="React",e[e.ReactNative=3]="ReactNative",e[e.ReactJSX=4]="ReactJSX",e[e.ReactJSXDev=5]="ReactJSXDev",e))(u||{}),l=(e=>(e[e.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",e[e.LineFeed=1]="LineFeed",e))(l||{}),c=(e=>(e[e.ES3=0]="ES3",e[e.ES5=1]="ES5",e[e.ES2015=2]="ES2015",e[e.ES2016=3]="ES2016",e[e.ES2017=4]="ES2017",e[e.ES2018=5]="ES2018",e[e.ES2019=6]="ES2019",e[e.ES2020=7]="ES2020",e[e.ESNext=99]="ESNext",e[e.JSON=100]="JSON",e[e.Latest=99]="Latest",e))(c||{}),g=(e=>(e[e.Classic=1]="Classic",e[e.NodeJs=2]="NodeJs",e))(g||{}),p=class{_onDidChange=new n.Emitter;_onDidExtraLibsChange=new n.Emitter;_extraLibs;_removedExtraLibs;_eagerModelSync;_compilerOptions;_diagnosticsOptions;_workerOptions;_onDidExtraLibsChangeTimeout;_inlayHintsOptions;_modeConfiguration;constructor(e,i,t,s,r){this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(e),this.setDiagnosticsOptions(i),this.setWorkerOptions(t),this.setInlayHintsOptions(s),this.setModeConfiguration(r),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get modeConfiguration(){return this._modeConfiguration}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(e,i){let t;if(typeof i>"u"?t=`ts:extralib-${Math.random().toString(36).substring(2,15)}`:t=i,this._extraLibs[t]&&this._extraLibs[t].content===e)return{dispose:()=>{}};let s=1;return this._removedExtraLibs[t]&&(s=this._removedExtraLibs[t]+1),this._extraLibs[t]&&(s=this._extraLibs[t].version+1),this._extraLibs[t]={content:e,version:s},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let r=this._extraLibs[t];r&&r.version===s&&(delete this._extraLibs[t],this._removedExtraLibs[t]=s,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(e){for(let i in this._extraLibs)this._removedExtraLibs[i]=this._extraLibs[i].version;if(this._extraLibs=Object.create(null),e&&e.length>0)for(let i of e){let t=i.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,s=i.content,r=1;this._removedExtraLibs[t]&&(r=this._removedExtraLibs[t]+1),this._extraLibs[t]={content:s,version:r}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){this._onDidExtraLibsChangeTimeout===-1&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(e){this._compilerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(e){this._workerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(e){this._inlayHintsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(e){}setEagerModelSync(e){this._eagerModelSync=e}getEagerModelSync(){return this._eagerModelSync}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(void 0)}},x=E,b={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,diagnostics:!0,documentRangeFormattingEdits:!0,signatureHelp:!0,onTypeFormattingEdits:!0,codeActions:!0,inlayHints:!0},v=new p({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{},b),f=new p({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{},b),C=()=>o().then(e=>e.getTypeScriptWorker()),D=()=>o().then(e=>e.getJavaScriptWorker());n.languages.typescript={ModuleKind:_,JsxEmit:u,NewLineKind:l,ScriptTarget:c,ModuleResolutionKind:g,typescriptVersion:x,typescriptDefaults:v,javascriptDefaults:f,getTypeScriptWorker:C,getJavaScriptWorker:D};function o(){return import("./CXH6JZLZ.js")}n.languages.onLanguage("typescript",()=>o().then(e=>e.setupTypeScript(v)));n.languages.onLanguage("javascript",()=>o().then(e=>e.setupJavaScript(f)));export{v as a};
6
+ import{rk as a}from"./PHF3TQZ6.js";var d=Object.defineProperty,O=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyNames,L=Object.prototype.hasOwnProperty,h=(e,i,t,s)=>{if(i&&typeof i=="object"||typeof i=="function")for(let r of m(i))!L.call(e,r)&&r!==t&&d(e,r,{get:()=>i[r],enumerable:!(s=O(i,r))||s.enumerable});return e},y=(e,i,t)=>(h(e,i,"default"),t&&h(t,i,"default")),E="5.0.2",n={};y(n,a);var _=(e=>(e[e.None=0]="None",e[e.CommonJS=1]="CommonJS",e[e.AMD=2]="AMD",e[e.UMD=3]="UMD",e[e.System=4]="System",e[e.ES2015=5]="ES2015",e[e.ESNext=99]="ESNext",e))(_||{}),u=(e=>(e[e.None=0]="None",e[e.Preserve=1]="Preserve",e[e.React=2]="React",e[e.ReactNative=3]="ReactNative",e[e.ReactJSX=4]="ReactJSX",e[e.ReactJSXDev=5]="ReactJSXDev",e))(u||{}),l=(e=>(e[e.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",e[e.LineFeed=1]="LineFeed",e))(l||{}),c=(e=>(e[e.ES3=0]="ES3",e[e.ES5=1]="ES5",e[e.ES2015=2]="ES2015",e[e.ES2016=3]="ES2016",e[e.ES2017=4]="ES2017",e[e.ES2018=5]="ES2018",e[e.ES2019=6]="ES2019",e[e.ES2020=7]="ES2020",e[e.ESNext=99]="ESNext",e[e.JSON=100]="JSON",e[e.Latest=99]="Latest",e))(c||{}),g=(e=>(e[e.Classic=1]="Classic",e[e.NodeJs=2]="NodeJs",e))(g||{}),p=class{_onDidChange=new n.Emitter;_onDidExtraLibsChange=new n.Emitter;_extraLibs;_removedExtraLibs;_eagerModelSync;_compilerOptions;_diagnosticsOptions;_workerOptions;_onDidExtraLibsChangeTimeout;_inlayHintsOptions;_modeConfiguration;constructor(e,i,t,s,r){this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(e),this.setDiagnosticsOptions(i),this.setWorkerOptions(t),this.setInlayHintsOptions(s),this.setModeConfiguration(r),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get modeConfiguration(){return this._modeConfiguration}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(e,i){let t;if(typeof i>"u"?t=`ts:extralib-${Math.random().toString(36).substring(2,15)}`:t=i,this._extraLibs[t]&&this._extraLibs[t].content===e)return{dispose:()=>{}};let s=1;return this._removedExtraLibs[t]&&(s=this._removedExtraLibs[t]+1),this._extraLibs[t]&&(s=this._extraLibs[t].version+1),this._extraLibs[t]={content:e,version:s},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let r=this._extraLibs[t];r&&r.version===s&&(delete this._extraLibs[t],this._removedExtraLibs[t]=s,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(e){for(let i in this._extraLibs)this._removedExtraLibs[i]=this._extraLibs[i].version;if(this._extraLibs=Object.create(null),e&&e.length>0)for(let i of e){let t=i.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,s=i.content,r=1;this._removedExtraLibs[t]&&(r=this._removedExtraLibs[t]+1),this._extraLibs[t]={content:s,version:r}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){this._onDidExtraLibsChangeTimeout===-1&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(e){this._compilerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(e){this._workerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(e){this._inlayHintsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(e){}setEagerModelSync(e){this._eagerModelSync=e}getEagerModelSync(){return this._eagerModelSync}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(void 0)}},x=E,b={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,diagnostics:!0,documentRangeFormattingEdits:!0,signatureHelp:!0,onTypeFormattingEdits:!0,codeActions:!0,inlayHints:!0},v=new p({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{},b),f=new p({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{},b),C=()=>o().then(e=>e.getTypeScriptWorker()),D=()=>o().then(e=>e.getJavaScriptWorker());n.languages.typescript={ModuleKind:_,JsxEmit:u,NewLineKind:l,ScriptTarget:c,ModuleResolutionKind:g,typescriptVersion:x,typescriptDefaults:v,javascriptDefaults:f,getTypeScriptWorker:C,getJavaScriptWorker:D};function o(){return import("./Z4LY6TXN.js")}n.languages.onLanguage("typescript",()=>o().then(e=>e.setupTypeScript(v)));n.languages.onLanguage("javascript",()=>o().then(e=>e.setupJavaScript(f)));export{v as a};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.30
4
+ * v4.32.0-next.32
5
5
  */
6
6
  var M=class{resolve(e){}reject(e){}constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}};function L(e,t){let n=e;for(;n;){if(n===t)return!0;if(!n.parentNode)return!1;n.parentNode instanceof ShadowRoot?n=n.parentNode.host:n=n.parentNode}return!1}function T(e,t,n){let{subscribe:r}=y(t);return r(o=>{o.some(i=>L(e,i.target))&&n()})}var h={};function y(e){let t=e.join(","),n=h[t];if(n!==void 0)return n;let r=new Set,o=new MutationObserver(i=>r.forEach(a=>a(i)));globalThis.document&&o.observe(document.documentElement,{attributes:!0,attributeFilter:e,subtree:!0});let s={subscribe(i){return r.add(i),{remove:()=>{r.delete(i),r.size===0&&(o.disconnect(),h[t]=void 0)}}}};return h[t]=s,s}function b(e,t){let n=e;for(;n;){let r=n.closest?.(t);if(r)return r;let o=n.getRootNode?.();if(o===globalThis.document)return null;n=o.host}return null}function k(e){return b(e,":is(.calcite-mode-light, .calcite-mode-dark)")?.classList.contains("calcite-mode-dark")?"dark":"light"}function $(e,t,n){return b(e,`[${t}]`)?.getAttribute(t)??n}function A(e){return e.nodeType===Node.ELEMENT_NODE}function j(e){return"setFocus"in e&&typeof e.setFocus=="function"}function l(e,t=""){if(!A(e))return!1;if(e.matches(t))return j(e)&&setTimeout(()=>e.setFocus(),0),!0;for(let r of e.children)if(l(r,t))return!0;let n=e.shadowRoot;if(n){for(let r of n.children)if(l(r,t))return!0}return!1}function U(e,t){if(!e?.shadowRoot)return;if(e.hasAttribute("hydrated")||e.hasAttribute("calcite-hydrated")){l(e,t);return}let n=new MutationObserver(()=>{n.disconnect(),l(e,t)});n.observe(e,{attributes:!0,attributeFilter:["hydrated","calcite-hydrated"]})}function _(e,t,...n){try{return e?.call(t,...n)}catch(r){console.error(r,e)}}async function q(e,t,...n){try{let r=e?.call(t,...n);return r instanceof Promise?await r:r}catch(r){console.error(r,e)}}function u(e){let t="";for(let n=0;n<e;n++)t+=((1+Math.random())*65536|0).toString(16).substring(1);return t}function B(){return[u(2),u(1),u(1),u(1),u(3)].join("-")}var C=["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","no","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],S=new Set(C),f="en",N={pt:"pt-PT",no:"nb",zh:"zh-CN"};async function R(e,t,n=""){let r=`${t}/${n}`,o=`${r}${e}.json`;return p[o]??(p[o]=E(e,r)),await p[o]}var p={};async function E(e,t){let n=`${t}${e}.json`;try{let r=await fetch(n);if(r.ok)return await r.json()}catch(r){return console.error(r),{}}return e===f?{}:await E(f,t)}function z(e,t){let n=$(e,"lang",globalThis.navigator?.language||f);return{lang:n,t9nLocale:w(n,t)}}function w(e,t){let[n,r]=e.split("-"),o=n.toLowerCase(),s=o;return r&&(s=`${o}-${r.toUpperCase()}`),s=N[s]??s,t&&s==="nb"?"no":S.has(s)?s:r?w(o):f}function V(e,t,n,r,o){let s,i=()=>void O(e,t,r,o).then(a=>{(s?.lang!==a.lang||s.t9nLocale!==a.t9nLocale||s.t9nStrings!==a.t9nStrings)&&n(a),s=a}).catch(console.error);return i(),T(e,["lang"],i)}async function O(e,t,n=e.tagName.toLowerCase().split("-").slice(1).join("-"),r){let{lang:o,t9nLocale:s}=z(e,r),i=`${t}/${n}/t9n`,a=`${n}.t9n.`,c=n===null?{}:await R(s,i,a);return{lang:o,t9nLocale:s,t9nStrings:c}}var g='"',v="'";function m(e,t){return new Array(t+1).join(e)}function D(e){let t=g,n=v;e.includes(t)&&!e.includes(n)&&(n=g,t=v);let o=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)((?:\\\\${n})+)`,"gu");e=e.replace(o,(i,a,c,d)=>a+c+m(n,d.length/2));let s=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)(${t}+)`,"gu");return e=e.replace(s,(i,a,c,d)=>a+c+m(`\\${t}`,d.length)),t+e+t}function H(e){let t=e?e.replaceAll(/[-[\]/{}()*+?.\\^$|]/gu,"\\$&"):"^.*$";return new RegExp(t,"i")}function Q(e,t={}){return(e??"").replace(/\{(?<valueName>.*?)\}/gu,(n,r)=>t[r]??n)}function K(e){return`\u200E${e??""}\u200E`}var W=e=>e.replace(P,(t,n)=>`${n===0?"":"-"}${t.toLowerCase()}`),P=/[A-Z]+(?![a-z])|[A-Z]/gu;function Z(e,t){let n=t>x?F:t/I,r=0,o=setInterval(()=>{r+=n,r>=t&&(clearInterval(o),e())},n);return o}var x=4e3,F=2e3,I=4;function G(e){return e!==null}function J(e){return e!==void 0}function X(e,t=100){let n;return(...r)=>{let o=()=>{clearTimeout(n),e(...r)};clearTimeout(n),n=setTimeout(o,t)}}function Y(e,t,n=!1){if(!e||!t)return!1;let r=new URL(e),o=new URL(t);return!n&&r.protocol!==o.protocol||r.host==null||o.host==null?!1:r.host.toLowerCase()===o.host.toLowerCase()&&r.port===o.port}function ee(e){try{return new URL(e),!0}catch{return!1}}export{M as a,T as b,k as c,U as d,_ as e,q as f,B as g,S as h,R as i,z as j,w as k,V as l,D as m,H as n,Q as o,K as p,W as q,Z as r,G as s,J as t,X as u,Y as v,ee as w};