@esri/solutions-components 5.1.0-next.65 → 5.1.0-next.67
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.
- package/dist/cdn/{KXQ6EA36.js → 33OQKT4F.js} +1 -1
- package/dist/cdn/{GRBH2MOX.js → 3XPKAEMR.js} +1 -1
- package/dist/cdn/{5PIM2BOZ.js → 3XX5UDIU.js} +1 -1
- package/dist/cdn/{IU6ZANQW.js → 42WASQMZ.js} +1 -1
- package/dist/cdn/{2GS5DXMX.js → 43HTXWT4.js} +1 -1
- package/dist/cdn/{CPKTXSK2.js → 4NCV4IWX.js} +1 -1
- package/dist/cdn/4WTAL6YU.js +2 -0
- package/dist/cdn/{3KVDFRXD.js → 4YB7FA37.js} +1 -1
- package/dist/cdn/5TPLPDK2.js +2 -0
- package/dist/cdn/{NFRTFOHF.js → 65Q3GK3L.js} +1 -1
- package/dist/cdn/{ZSJ55A7H.js → 6LHM6EFD.js} +1 -1
- package/dist/cdn/7EEAVPTU.js +2 -0
- package/dist/cdn/{JSI6JODX.js → 7WQMX5XY.js} +1 -1
- package/dist/cdn/{CLF2PJYC.js → BF6NM5HV.js} +1 -1
- package/dist/cdn/BIYG7PA2.js +2 -0
- package/dist/cdn/{H2PJ6QZT.js → BWTBRONP.js} +1 -1
- package/dist/cdn/{GQWWZGLF.js → BXXN7BIC.js} +1 -1
- package/dist/cdn/{4Y4JREZI.js → CACSAX3Q.js} +1 -1
- package/dist/cdn/{NH3ESMSN.js → COTZWDC3.js} +1 -1
- package/dist/cdn/CR2XUUG5.js +2 -0
- package/dist/cdn/{BMOMM64K.js → E7RDA5B4.js} +1 -1
- package/dist/cdn/EUY3GSFI.js +2 -0
- package/dist/cdn/{ONSABHYA.js → GUKPMOPC.js} +1 -1
- package/dist/cdn/{IMN5BMIM.js → GYQ22PJ6.js} +1 -1
- package/dist/cdn/{UQTAX7HB.js → I2AQZTRJ.js} +1 -1
- package/dist/cdn/{FLRIF3C7.js → JCTGE6OA.js} +1 -1
- package/dist/cdn/LCBZNTKI.js +2 -0
- package/dist/cdn/{BK7LW2RY.js → LE6OUXPN.js} +1 -1
- package/dist/cdn/M6ZFMO6K.js +2 -0
- package/dist/cdn/{A6HMNEQC.js → N73GF6WL.js} +1 -1
- package/dist/cdn/{MAUD35WR.js → OPJPVHX6.js} +1 -1
- package/dist/cdn/{7ZN2BMYK.js → PBWC3QFN.js} +1 -1
- package/dist/cdn/{KRWRWUTJ.js → QF3LZFWW.js} +1 -1
- package/dist/cdn/{PTWSYW3E.js → QX7YHRF5.js} +2 -2
- package/dist/cdn/{5TB2UXTT.js → SUN2LQ7K.js} +1 -1
- package/dist/cdn/{DYJGZIDV.js → TYSZL2RK.js} +1 -1
- package/dist/cdn/UHVBUHU3.js +2 -0
- package/dist/cdn/{CWGUKAP6.js → V7UWSW6U.js} +1 -1
- package/dist/cdn/{U4EZHJYT.js → WR3YNDFH.js} +1 -1
- package/dist/cdn/XEQSHS4A.js +2 -0
- package/dist/cdn/{YNERGBJG.js → XY4HNUJE.js} +1 -1
- package/dist/cdn/ZSPRUX4H.js +2 -0
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +12 -12
- package/dist/chunks/helpers.js +44 -38
- package/dist/chunks/solution-deploy-dialog.js +1 -1
- package/dist/chunks/solutions-deploy-app-nav.js +35 -36
- package/dist/components/arcgis-solutions-assistant/customElement.d.ts +4 -0
- package/dist/components/arcgis-solutions-assistant/customElement.js +8 -8
- package/dist/components/arcgis-solutions-assistant/index.js +3 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deployed-card-panel/customElement.d.ts +4 -0
- package/dist/components/solution-deployed-card-panel/customElement.js +103 -57
- package/dist/components/solution-deployed-card-panel/index.js +0 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +6 -6
- package/dist/components/solution-item-accordion/customElement.d.ts +4 -2
- package/dist/components/solution-item-accordion/customElement.js +3 -3
- package/dist/components/solution-resource-card/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-user-avatar/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +6 -6
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.d.ts +2 -0
- package/dist/components/solutions-deploy-app/customElement.js +117 -95
- package/dist/components/solutions-deploy-app/index.js +4 -0
- package/dist/components/solutions-deploy-app-nav/customElement.d.ts +6 -0
- package/dist/components/solutions-deploy-app-nav/customElement.js +2 -4
- package/dist/components/solutions-deployed-panel/customElement.js +35 -26
- package/dist/components/solutions-deployed-panel/index.js +0 -1
- package/dist/components/solutions-deployed-shell/customElement.js +25 -21
- package/dist/components/solutions-deployed-shell/index.js +0 -1
- package/dist/components/solutions-filter-panel/customElement.d.ts +0 -6
- package/dist/components/solutions-filter-panel/customElement.js +46 -61
- package/dist/components/solutions-filter-panel/index.js +0 -3
- package/dist/components/solutions-resources-shell/customElement.d.ts +6 -0
- package/dist/components/solutions-resources-shell/customElement.js +9 -9
- package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +5 -5
- package/dist/solutions-components_commit.txt +8 -5
- package/dist/types/lumina.d.ts +3 -3
- package/dist/types/preact.d.ts +3 -3
- package/dist/types/react.d.ts +3 -3
- package/dist/types/stencil.d.ts +3 -3
- package/dist/utils/interfaces.d.ts +10 -0
- package/package.json +1 -1
- package/dist/cdn/BDCGPJPJ.js +0 -2
- package/dist/cdn/BFKX5BLC.js +0 -2
- package/dist/cdn/CF6JSZPY.js +0 -2
- package/dist/cdn/DIUHLPYD.js +0 -2
- package/dist/cdn/GFW4PBUK.js +0 -2
- package/dist/cdn/HUJNR7CU.js +0 -2
- package/dist/cdn/N3EAHFBX.js +0 -2
- package/dist/cdn/O3A436MI.js +0 -2
- package/dist/cdn/PQIJUUY3.js +0 -2
- package/dist/cdn/V66MBBFA.js +0 -2
- package/dist/cdn/ZMQ6KCYQ.js +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import a from"./A6HMNEQC.js";import{b as g0}from"./QHG54NVK.js";import{b as m0}from"./DPD6UBKD.js";import"./HBQN25RR.js";import{a as za}from"./KN36REDP.js";import{a as f0}from"./SDJWXDEO.js";import"./INWDOVSJ.js";import"./3YQ3LN5J.js";import"./TEHBW75B.js";import"./KU62OLRE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./3IHLJADI.js";import"./B3R52L7H.js";import"./BDXIKPLU.js";import"./G2ME4BAQ.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import"./73AX72WY.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import"./FES7B3SJ.js";import{b as h0}from"./FLLZBDVI.js";import{E as u0,F as l0,G as d0,K as p0,h as r0,i as co,k as s0,l as nh,q as a0,v as i0,w as o0,x as c0}from"./F2JKSZOE.js";import"./QPIMTXPL.js";export default $arcgis.t(([BE,ZE,Q1,,,,{J:_0,q:y0}])=>{var uo=class extends c0{constructor(t){if(super(t),this.it=nh,t.type!==i0.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===nh||t==null)return this._t=void 0,this.it=t;if(t===s0)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;let n=[t];return n.raw=n,this._t={_$litType$:this.constructor.resultType,strings:n,values:[]}}};uo.directiveName="unsafeHTML",uo.resultType=1;var v0=o0(uo);var VE=r0`:host{display:block;height:100%}.display-flex-row{display:flex;flex-direction:row}.padding-left-10{padding-left:10px}.chat-container{display:flex;flex-direction:column;gap:0px;max-width:600px;height:75%;background-color:var(--calcite-color-surface-4);padding:1px}.chat-container_expanded{display:flex;flex-direction:column;gap:0px;max-width:100%;height:95%;background-color:var(--calcite-color-surface-1);border-radius:10px;padding:10px}.chat-panel{--calcite-dialog-header-background-color: var(--calcite-color-brand);--calcite-dialog-header-action-background-color: var(--calcite-color-brand);--calcite-dialog-heading-text-color: var(--calcite-color-surface-1);--calcite-dialog-header-action-text-color: var(--calcite-color-surface-1);--calcite-dialog-header-action-text-color-press: var(--calcite-color-surface-1);--calcite-color-focus: var(--calcite-color-surface-1);--calcite-dialog-min-size-y: 90vh;--calcite-dialog-max-size-y: 90vh}.chat-panel calcite-card,.chat-panel calcite-text-area,.chat-panel calcite-button:not(.icon-color-background),.chat-panel .chat-messages,.chat-panel .chat-input{--calcite-color-focus: var(--calcite-color-brand)}.assistant-followup-chip:focus{outline:2px solid var(--calcite-color-brand)}.chat-panel-heading{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-surface-1, var(--calcite-color-text-1))}.chat-messages{display:flex;flex-direction:column;gap:20px;padding:4px;height:100%;overflow-y:auto}.user-message{align-self:flex-end;background:var(--calcite-color-brand);border-radius:8px;max-width:90%;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-brand);--calcite-card-border-color: var(--calcite-color-brand);color:var(--calcite-color-text-inverse);text-align:left}.system-message{align-self:flex-start;background:var(--calcite-color-surface-3);border-radius:8px;max-width:90%;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-surface-4);--calcite-card-border-color: var(--calcite-color-surface-4);color:var(--calcite-color-inverse);text-align:left}.loader-message{align-self:flex-start;background:var(--calcite-color-surface-4);border-radius:8px;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-surface-4);--calcite-card-border-color: var(--calcite-color-surface-4)}.message-content{padding:0;font-size:14px}.response-message.message-content>p:first-of-type{margin-top:0}.message-content img{max-width:100%;height:auto;display:block;object-fit:contain}.message-content-pad{padding-bottom:10px;font-size:14px}.message-content-summary{padding-bottom:14px}.message-content-alignment{display:flex;align-items:center;gap:var(--calcite-spacing-md);font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-1)}.padding-top-10{padding-top:10px}.padding-right-8{padding-right:8px}.padding-left-right-5{padding-right:5px;padding-left:5px}.chip-content{padding:5px 5px 5px 0}.chat-input{display:flex;flex-direction:row;flex-grow:1}.table-cell{--calcite-table-cell-background: var(--calcite-color-surface-4)}.cursor-pointer{cursor:pointer}.notice-border-color{--temp-initial-brand: var(--calcite-color-brand)}.notice-border-color calcite-notice{--calcite-color-brand: #ddd;--calcite-icon-color: var(--temp-initial-brand)}.notice-border-color calcite-notice *{--calcite-color-brand: var(--temp-initial-brand)}.solution-card{padding:5px 0;text-decoration:none;display:block;width:100%;cursor:pointer}.solution-card calcite-card{display:flex;flex-direction:column;max-width:520px;overflow:hidden;--calcite-card-corner-radius: var(--calcite-corner-radius-round) !important;--calcite-card-shadow: var(--calcite-shadow-sm);--calcite-card-background-color: var(--calcite-card-background-color) }.solution-card div[slot=thumbnail]{max-height:100%;width:100%;position:relative;&:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;transition:all .15s ease-in-out}}.solution-card div[slot=thumbnail] img{max-height:100%;width:100%;object-fit:cover}.solution-card span[slot=description]{padding-top:10px}.solution-card calcite-chip{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);visibility:hidden;pointer-events:none;opacity:0;transition:all .15s ease-in-out;z-index:9999}.solution-card:hover calcite-chip{visibility:visible;opacity:1}.solution-card:hover div[slot=thumbnail]:after{background-color:#00000080}.solution-card:hover h3{text-decoration:underline}.solution-card:focus{outline:2px solid var(--calcite-color-brand)}.references-container{padding-top:10px;display:block}.references-container.collapsed{display:none}.width-100{width:100%}.disclaimer-div{display:flex;gap:var(--calcite-spacing-sm);font-size:var(--calcite-font-size--0);color:var(--calcite-color-text-1)}.display-none{display:none}.chat-messages calcite-fab{position:absolute;bottom:16px;left:50%;transform:translate(-50%);z-index:999}.icon-color-background{--calcite-button-icon-color: var(--calcite-color-surface-1)}.icon-color-background:focus{--calcite-color-focus: var(--calcite-color-surface-1)}@media(max-width:430px){.solution-card .solution-snippet{display:none}}.height-32-flex-auto{height:32px;flex:0 0 auto}.margin-top-0.message-content>p:first-of-type{margin-top:0}a:not(.solution-card){color:var(--calcite-link-text-color, var(--calcite-color-text-link));cursor:pointer;text-decoration:none;line-height:inherit;background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--calcite-color-brand-underline),var(--calcite-color-brand-underline));background-position-x:0%,100%;background-position-y:min(1.5em,100%);background-repeat:no-repeat,no-repeat;background-size:0% 1px,100% 1px;transition-property:background-size,color;transition-duration:var(--calcite-animation-timing, .15s);transition-timing-function:ease-in-out;outline-color:transparent;position:relative}a:not(.solution-card):hover{background-size:100% 1px,100% 1px}a:not(.solution-card):focus{outline:2px solid var(--calcite-color-brand);outline-offset:2px;outline-color:var(--calcite-color-brand)}a:not(.solution-card):active{color:var(--calcite-color-brand-press)}`,wt="__start__",St="__end__",as="__input__",yp="__error__",rh="__pregel_ns_writes",ds="__pregel_send",oy="__pregel_call",ra="__pregel_read",Fr="__pregel_checkpointer",Tl="__pregel_resuming",Ku="__pregel_task_id",cy="__pregel_stream",qE="__pregel_resume_value",Xu="__pregel_resume_map",ps="__pregel_scratchpad",Yu="__pregel_previous",HE="__pregel_durability",Yf="checkpoint_id",Br="checkpoint_ns",WE="__pregel_node_finished",Mr="checkpoint_map",JE="__pregel_abort_signals",Tt="__interrupt__",vs="__resume__",uy="__no_writes__",_p="__return__",sh="__previous__",ln="langsmith:hidden",w0="__self__",_i="__pregel_tasks",Zr="__pregel_push",Qf="__pregel_pull",yr="00000000-0000-0000-0000-000000000000",GE=[ln,as,Tt,vs,yp,uy,ds,ra,Fr,HE,cy,Tl,Ku,oy,qE,ps,Yu,Mr,Br,Yf],b0=Symbol.for("langgraph.command"),KE=class{[b0];constructor(e){this[b0]=e}};function em(e){let t=e;return t!=null&&typeof t.node=="string"&&t.args!==void 0}var Jo=class{lg_name="Send";node;args;constructor(e,t){this.node=e,this.args=Go(t)}toJSON(){return{lg_name:this.lg_name,node:this.node,args:this.args}}};function fn(e){return e instanceof Jo}var XE="__overwrite__";function tm(e){return typeof e=="object"&&e!==null&&"__overwrite__"in e?[!0,e[XE]]:[!1,void 0]}function YE(e){return tm(e)[0]}function ek(e){return!e||typeof e!="object"||!("__interrupt__"in e)?!1:Array.isArray(e[Tt])}var _r=class extends KE{lg_name="Command";lc_direct_tool_output=!0;graph;update;resume;goto=[];static PARENT="__parent__";constructor(e){super(e),this.resume=e.resume,this.graph=e.graph,this.update=e.update,e.goto&&(this.goto=Array.isArray(e.goto)?Go(e.goto):[Go(e.goto)])}_updateAsTuples(){return this.update&&typeof this.update=="object"&&!Array.isArray(this.update)?Object.entries(this.update):Array.isArray(this.update)&&this.update.every(e=>Array.isArray(e)&&e.length===2&&typeof e[0]=="string")?this.update:[["__root__",this.update]]}toJSON(){let e;return typeof this.goto=="string"?e=this.goto:fn(this.goto)?e=this.goto.toJSON():e=this.goto?.map(t=>typeof t=="string"?t:t.toJSON()),{lg_name:this.lg_name,update:this.update,resume:this.resume,goto:e}}};function Ut(e){return typeof e!="object"||e==null?!1:"lg_name"in e&&e.lg_name==="Command"}function Go(e,t=new Map){if(e!=null&&typeof e=="object"){if(t.has(e))return t.get(e);let n;if(Array.isArray(e))n=[],t.set(e,n),e.forEach((r,s)=>{n[s]=Go(r,t)});else if(Ut(e)&&!(e instanceof _r))n=new _r(e),t.set(e,n);else if(em(e)&&!(e instanceof Jo))n=new Jo(e.node,e.args),t.set(e,n);else if(Ut(e)||fn(e))n=e,t.set(e,n);else if("lc_serializable"in e&&e.lc_serializable)n=e,t.set(e,n);else{n={},t.set(e,n);for(let[r,s]of Object.entries(e))n[r]=Go(s,t)}return n}return e}var Rs=class extends Error{lc_error_code;constructor(e,t){let n=e??"";t?.lc_error_code&&(n=`${n}
|
|
2
|
+
import a from"./N73GF6WL.js";import{b as g0}from"./QHG54NVK.js";import{b as m0}from"./DPD6UBKD.js";import"./HBQN25RR.js";import{a as za}from"./KN36REDP.js";import{a as f0}from"./SDJWXDEO.js";import"./INWDOVSJ.js";import"./3YQ3LN5J.js";import"./TEHBW75B.js";import"./KU62OLRE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./3IHLJADI.js";import"./B3R52L7H.js";import"./BDXIKPLU.js";import"./G2ME4BAQ.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import"./73AX72WY.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import"./FES7B3SJ.js";import{b as h0}from"./FLLZBDVI.js";import{E as u0,F as l0,G as d0,K as p0,h as r0,i as co,k as s0,l as nh,q as a0,v as i0,w as o0,x as c0}from"./F2JKSZOE.js";import"./QPIMTXPL.js";export default $arcgis.t(([BE,ZE,Q1,,,,{J:_0,q:y0}])=>{var uo=class extends c0{constructor(t){if(super(t),this.it=nh,t.type!==i0.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===nh||t==null)return this._t=void 0,this.it=t;if(t===s0)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;let n=[t];return n.raw=n,this._t={_$litType$:this.constructor.resultType,strings:n,values:[]}}};uo.directiveName="unsafeHTML",uo.resultType=1;var v0=o0(uo);var VE=r0`:host{display:block;height:100%}.margin-lg{margin:var(--calcite-spacing-lg)}.display-flex-row{display:flex;flex-direction:row}.padding-left-10{padding-left:10px}.chat-container{display:flex;flex-direction:column;gap:0px;max-width:600px;height:75%;background-color:var(--calcite-color-surface-4);padding:1px}.chat-container_expanded{display:flex;flex-direction:column;gap:0px;max-width:100%;height:95%;background-color:var(--calcite-color-surface-1);border-radius:10px;padding:10px}.chat-panel{--calcite-color-focus: var(--calcite-color-brand);--calcite-panel-border-color: var(--calcite-color-border-2);--calcite-internal-panel-header-vertical-padding: 0px;--calcite-panel-header-content-space: 0px;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);height:100%}.header-content{display:flex;align-items:center;gap:var(--calcite-spacing-sm);height:65px;box-sizing:border-box;padding-inline-start:var(--calcite-spacing-md)}.header-title{font-size:var(--calcite-font-size-md);font-weight:var(--calcite-font-weight-medium)}.beta-chip{--calcite-chip-corner-radius: var(--calcite-corner-radius-half)}.chat-panel calcite-card,.chat-panel calcite-text-area,.chat-panel calcite-button,.chat-panel .chat-messages,.chat-panel .chat-input{--calcite-color-focus: var(--calcite-color-brand)}.assistant-followup-chip:focus{outline:2px solid var(--calcite-color-brand)}.chat-panel-heading{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-surface-1, var(--calcite-color-text-1))}.chat-messages{display:flex;flex-direction:column;gap:20px;padding:4px;height:100%;overflow-y:auto}.user-message{align-self:flex-end;background:var(--calcite-color-brand);border-radius:8px;max-width:90%;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-brand);--calcite-card-border-color: var(--calcite-color-brand);color:var(--calcite-color-text-inverse);text-align:left}.system-message{align-self:flex-start;background:var(--calcite-color-surface-3);border-radius:8px;max-width:90%;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-surface-4);--calcite-card-border-color: var(--calcite-color-surface-4);color:var(--calcite-color-inverse);text-align:left}.loader-message{align-self:flex-start;background:var(--calcite-color-surface-4);border-radius:8px;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-surface-4);--calcite-card-border-color: var(--calcite-color-surface-4)}.message-content{padding:0;font-size:14px}.response-message.message-content>p:first-of-type{margin-top:0}.message-content img{max-width:100%;height:auto;display:block;object-fit:contain}.message-content-pad{padding-bottom:10px;font-size:14px}.message-content-summary{padding-bottom:14px}.message-content-alignment{display:flex;align-items:center;gap:var(--calcite-spacing-md);font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-1)}.padding-top-10{padding-top:10px}.padding-right-8{padding-right:8px}.padding-left-right-5{padding-right:5px;padding-left:5px}.chip-content{padding:5px 5px 5px 0}.chat-input{display:flex;flex-direction:row;flex-grow:1}.table-cell{--calcite-table-cell-background: var(--calcite-color-surface-4)}.cursor-pointer{cursor:pointer}.notice-border-color{--temp-initial-brand: var(--calcite-color-brand)}.notice-border-color calcite-notice{--calcite-color-brand: #ddd;--calcite-icon-color: var(--temp-initial-brand)}.notice-border-color calcite-notice *{--calcite-color-brand: var(--temp-initial-brand)}.solution-card{padding:5px 0;text-decoration:none;display:block;width:100%;cursor:pointer}.solution-card calcite-card{display:flex;flex-direction:column;max-width:520px;overflow:hidden;--calcite-card-corner-radius: var(--calcite-corner-radius-round) !important;--calcite-card-shadow: var(--calcite-shadow-sm);--calcite-card-background-color: var(--calcite-card-background-color) }.solution-card div[slot=thumbnail]{max-height:100%;width:100%;position:relative;&:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;transition:all .15s ease-in-out}}.solution-card div[slot=thumbnail] img{max-height:100%;width:100%;object-fit:cover}.solution-card span[slot=description]{padding-top:10px}.solution-card calcite-chip{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);visibility:hidden;pointer-events:none;opacity:0;transition:all .15s ease-in-out;z-index:9999}.solution-card:hover calcite-chip{visibility:visible;opacity:1}.solution-card:hover div[slot=thumbnail]:after{background-color:#00000080}.solution-card:hover h3{text-decoration:underline}.solution-card:focus{outline:2px solid var(--calcite-color-brand)}.references-container{padding-top:10px;display:block}.references-container.collapsed{display:none}.width-100{width:100%}.disclaimer-div{display:flex;align-items:center;gap:var(--calcite-spacing-sm);font-size:var(--calcite-font-size--0);color:var(--calcite-color-text-1)}.display-none{display:none}.chat-messages calcite-fab{position:absolute;bottom:16px;left:50%;transform:translate(-50%);z-index:999}.icon-color-background{--calcite-button-icon-color: var(--calcite-color-surface-1)}#closeAssistantButton{--calcite-action-text-color: var(--calcite-color-text-1)}.icon-color-background:focus{--calcite-color-focus: var(--calcite-color-surface-1)}@media(max-width:430px){.solution-card .solution-snippet{display:none}}.height-32-flex-auto{height:32px;flex:0 0 auto}.margin-top-0.message-content>p:first-of-type{margin-top:0}a:not(.solution-card){color:var(--calcite-link-text-color, var(--calcite-color-text-link));cursor:pointer;text-decoration:none;line-height:inherit;background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--calcite-color-brand-underline),var(--calcite-color-brand-underline));background-position-x:0%,100%;background-position-y:min(1.5em,100%);background-repeat:no-repeat,no-repeat;background-size:0% 1px,100% 1px;transition-property:background-size,color;transition-duration:var(--calcite-animation-timing, .15s);transition-timing-function:ease-in-out;outline-color:transparent;position:relative}a:not(.solution-card):hover{background-size:100% 1px,100% 1px}a:not(.solution-card):focus{outline:2px solid var(--calcite-color-brand);outline-offset:2px;outline-color:var(--calcite-color-brand)}a:not(.solution-card):active{color:var(--calcite-color-brand-press)}`,wt="__start__",St="__end__",as="__input__",yp="__error__",rh="__pregel_ns_writes",ds="__pregel_send",oy="__pregel_call",ra="__pregel_read",Fr="__pregel_checkpointer",Tl="__pregel_resuming",Ku="__pregel_task_id",cy="__pregel_stream",qE="__pregel_resume_value",Xu="__pregel_resume_map",ps="__pregel_scratchpad",Yu="__pregel_previous",HE="__pregel_durability",Yf="checkpoint_id",Br="checkpoint_ns",WE="__pregel_node_finished",Mr="checkpoint_map",JE="__pregel_abort_signals",Tt="__interrupt__",vs="__resume__",uy="__no_writes__",_p="__return__",sh="__previous__",ln="langsmith:hidden",w0="__self__",_i="__pregel_tasks",Zr="__pregel_push",Qf="__pregel_pull",yr="00000000-0000-0000-0000-000000000000",GE=[ln,as,Tt,vs,yp,uy,ds,ra,Fr,HE,cy,Tl,Ku,oy,qE,ps,Yu,Mr,Br,Yf],b0=Symbol.for("langgraph.command"),KE=class{[b0];constructor(e){this[b0]=e}};function em(e){let t=e;return t!=null&&typeof t.node=="string"&&t.args!==void 0}var Jo=class{lg_name="Send";node;args;constructor(e,t){this.node=e,this.args=Go(t)}toJSON(){return{lg_name:this.lg_name,node:this.node,args:this.args}}};function fn(e){return e instanceof Jo}var XE="__overwrite__";function tm(e){return typeof e=="object"&&e!==null&&"__overwrite__"in e?[!0,e[XE]]:[!1,void 0]}function YE(e){return tm(e)[0]}function ek(e){return!e||typeof e!="object"||!("__interrupt__"in e)?!1:Array.isArray(e[Tt])}var _r=class extends KE{lg_name="Command";lc_direct_tool_output=!0;graph;update;resume;goto=[];static PARENT="__parent__";constructor(e){super(e),this.resume=e.resume,this.graph=e.graph,this.update=e.update,e.goto&&(this.goto=Array.isArray(e.goto)?Go(e.goto):[Go(e.goto)])}_updateAsTuples(){return this.update&&typeof this.update=="object"&&!Array.isArray(this.update)?Object.entries(this.update):Array.isArray(this.update)&&this.update.every(e=>Array.isArray(e)&&e.length===2&&typeof e[0]=="string")?this.update:[["__root__",this.update]]}toJSON(){let e;return typeof this.goto=="string"?e=this.goto:fn(this.goto)?e=this.goto.toJSON():e=this.goto?.map(t=>typeof t=="string"?t:t.toJSON()),{lg_name:this.lg_name,update:this.update,resume:this.resume,goto:e}}};function Ut(e){return typeof e!="object"||e==null?!1:"lg_name"in e&&e.lg_name==="Command"}function Go(e,t=new Map){if(e!=null&&typeof e=="object"){if(t.has(e))return t.get(e);let n;if(Array.isArray(e))n=[],t.set(e,n),e.forEach((r,s)=>{n[s]=Go(r,t)});else if(Ut(e)&&!(e instanceof _r))n=new _r(e),t.set(e,n);else if(em(e)&&!(e instanceof Jo))n=new Jo(e.node,e.args),t.set(e,n);else if(Ut(e)||fn(e))n=e,t.set(e,n);else if("lc_serializable"in e&&e.lc_serializable)n=e,t.set(e,n);else{n={},t.set(e,n);for(let[r,s]of Object.entries(e))n[r]=Go(s,t)}return n}return e}var Rs=class extends Error{lc_error_code;constructor(e,t){let n=e??"";t?.lc_error_code&&(n=`${n}
|
|
3
3
|
|
|
4
4
|
Troubleshooting URL: https://docs.langchain.com/oss/javascript/langgraph/${t.lc_error_code}/
|
|
5
5
|
`),super(n),this.lc_error_code=t?.lc_error_code}},tk=class extends Rs{get is_bubble_up(){return!0}},QE=class extends Rs{constructor(e,t){super(e,t),this.name="GraphRecursionError"}static get unminifiable_name(){return"GraphRecursionError"}},Qu=class extends Rs{constructor(e,t){super(e,t),this.name="GraphValueError"}static get unminifiable_name(){return"GraphValueError"}},hi=class extends tk{interrupts;constructor(e,t){super(JSON.stringify(e,null,2),t),this.name="GraphInterrupt",this.interrupts=e??[]}static get unminifiable_name(){return"GraphInterrupt"}},ly=class extends hi{constructor(e,t){super([{value:e}],t),this.name="NodeInterrupt"}static get unminifiable_name(){return"NodeInterrupt"}},nk=class extends tk{command;constructor(e){super(),this.name="ParentCommand",this.command=e}static get unminifiable_name(){return"ParentCommand"}};function eA(e){return e!==void 0&&e.name===nk.unminifiable_name}function el(e){return e!==void 0&&e.is_bubble_up===!0}function ti(e){return e!==void 0&&[hi.unminifiable_name,ly.unminifiable_name].includes(e.name)}var k0=class extends Rs{constructor(e,t){super(e,t),this.name="EmptyInputError"}static get unminifiable_name(){return"EmptyInputError"}},Et=class extends Rs{constructor(e,t){super(e,t),this.name="EmptyChannelError"}static get unminifiable_name(){return"EmptyChannelError"}},Xe=class extends Rs{constructor(e,t){super(e,t),this.name="InvalidUpdateError"}static get unminifiable_name(){return"InvalidUpdateError"}},tA=class extends Rs{constructor(e,t){super(e,t),this.name="UnreachableNodeError"}static get unminifiable_name(){return"UnreachableNodeError"}},ah=class extends Rs{constructor(e,t){super(e,t),this.name="StateGraphInputError",this.message="Invalid StateGraph input. Make sure to pass a valid StateDefinition, Annotation.Root, or Zod schema."}static get unminifiable_name(){return"StateGraphInputError"}},nA=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i;function nm(e){return typeof e=="string"&&nA.test(e)}function rk(e){if(!nm(e))throw TypeError("Invalid UUID");var t,n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=t&255,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=t&255,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=t&255,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=t&255,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=t&255,n}var At=[];for(lu=0;lu<256;++lu)At.push((lu+256).toString(16).slice(1));var lu;function eo(e,t=0){return(At[e[t+0]]+At[e[t+1]]+At[e[t+2]]+At[e[t+3]]+"-"+At[e[t+4]]+At[e[t+5]]+"-"+At[e[t+6]]+At[e[t+7]]+"-"+At[e[t+8]]+At[e[t+9]]+"-"+At[e[t+10]]+At[e[t+11]]+At[e[t+12]]+At[e[t+13]]+At[e[t+14]]+At[e[t+15]]).toLowerCase()}var du,rA=new Uint8Array(16);function dy(){if(!du&&(du=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!du))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return du(rA)}var ih,pu,oh=0,ch=0;function sA(e,t,n){var r=0,s=t||new Array(16);e=e||{};var a=e.node,i=e.clockseq;if(e._v6||(a||(a=ih),i==null&&(i=pu)),a==null||i==null){var o=e.random||(e.rng||dy)();a==null&&(a=[o[0],o[1],o[2],o[3],o[4],o[5]],!ih&&!e._v6&&(a[0]|=1,ih=a)),i==null&&(i=(o[6]<<8|o[7])&16383,pu===void 0&&!e._v6&&(pu=i))}var c=e.msecs!==void 0?e.msecs:Date.now(),u=e.nsecs!==void 0?e.nsecs:ch+1,l=c-oh+(u-ch)/1e4;if(l<0&&e.clockseq===void 0&&(i=i+1&16383),(l<0||c>oh)&&e.nsecs===void 0&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");oh=c,ch=u,pu=i,c+=122192928e5;var d=((c&268435455)*1e4+u)%4294967296;s[r++]=d>>>24&255,s[r++]=d>>>16&255,s[r++]=d>>>8&255,s[r++]=d&255;var p=c/4294967296*1e4&268435455;s[r++]=p>>>8&255,s[r++]=p&255,s[r++]=p>>>24&15|16,s[r++]=p>>>16&255,s[r++]=i>>>8|128,s[r++]=i&255;for(var h=0;h<6;++h)s[r+h]=a[h];return t||eo(s)}function aA(e){var t=typeof e=="string"?rk(e):e,n=iA(t);return typeof e=="string"?eo(n):n}function iA(e,t=!1){return Uint8Array.of((e[6]&15)<<4|e[7]>>4&15,(e[7]&15)<<4|(e[4]&240)>>4,(e[4]&15)<<4|(e[5]&240)>>4,(e[5]&15)<<4|(e[0]&240)>>4,(e[0]&15)<<4|(e[1]&240)>>4,(e[1]&15)<<4|(e[2]&240)>>4,96|e[2]&15,e[3],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}function oA(e){e=unescape(encodeURIComponent(e));for(var t=[],n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}var cA="6ba7b810-9dad-11d1-80b4-00c04fd430c8",uA="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function lA(e,t,n){function r(s,a,i,o){var c;if(typeof s=="string"&&(s=oA(s)),typeof a=="string"&&(a=rk(a)),((c=a)===null||c===void 0?void 0:c.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var u=new Uint8Array(16+s.length);if(u.set(a),u.set(s,a.length),u=n(u),u[6]=u[6]&15|t,u[8]=u[8]&63|128,i){o=o||0;for(var l=0;l<16;++l)i[o+l]=u[l];return i}return eo(u)}try{r.name=e}catch{}return r.DNS=cA,r.URL=uA,r}var dA=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),x0={randomUUID:dA};function Gs(e,t,n){if(x0.randomUUID&&!e)return x0.randomUUID();e=e||{};var r=e.random||(e.rng||dy)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,eo(r)}function pA(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:return t^n^r;case 2:return t&n^t&r^n&r;case 3:return t^n^r}}function uh(e,t){return e<<t|e>>>32-t}function hA(e){var t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof e=="string"){var r=unescape(encodeURIComponent(e));e=[];for(var s=0;s<r.length;++s)e.push(r.charCodeAt(s))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var a=e.length/4+2,i=Math.ceil(a/16),o=new Array(i),c=0;c<i;++c){for(var u=new Uint32Array(16),l=0;l<16;++l)u[l]=e[c*64+l*4]<<24|e[c*64+l*4+1]<<16|e[c*64+l*4+2]<<8|e[c*64+l*4+3];o[c]=u}o[i-1][14]=(e.length-1)*8/Math.pow(2,32),o[i-1][14]=Math.floor(o[i-1][14]),o[i-1][15]=(e.length-1)*8&4294967295;for(var d=0;d<i;++d){for(var p=new Uint32Array(80),h=0;h<16;++h)p[h]=o[d][h];for(var f=16;f<80;++f)p[f]=uh(p[f-3]^p[f-8]^p[f-14]^p[f-16],1);for(var m=n[0],v=n[1],g=n[2],y=n[3],k=n[4],x=0;x<80;++x){var S=Math.floor(x/20),E=uh(m,5)+pA(S,v,g,y)+k+t[S]+p[x]>>>0;k=y,y=g,g=uh(v,30)>>>0,v=m,m=E}n[0]=n[0]+m>>>0,n[1]=n[1]+v>>>0,n[2]=n[2]+g>>>0,n[3]=n[3]+y>>>0,n[4]=n[4]+k>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,n[0]&255,n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,n[1]&255,n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,n[2]&255,n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,n[3]&255,n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,n[4]&255]}var sk=lA("v5",80,hA);function O0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function S0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?O0(Object(n),!0).forEach(function(r){fA(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O0(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function fA(e,t,n){return(t=mA(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mA(e){var t=gA(e,"string");return typeof t=="symbol"?t:t+""}function gA(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function yA(e={},t,n=0){var r=sA(S0(S0({},e),{},{_v6:!0}),new Uint8Array(16));return r=aA(r),eo(r)}var T0=null,I0=null,Fn=0;function ak(e,t,n){e=e||{};var r=0,s=new Uint8Array(16),a=e.random||(e.rng||dy)(),i=e.msecs!==void 0?e.msecs:Date.now(),o=e.seq!==void 0?e.seq:null,c=I0,u=T0;return i>Fn&&e.msecs===void 0&&(Fn=i,o!==null&&(c=null,u=null)),o!==null&&(o>2147483647&&(o=2147483647),c=o>>>19&4095,u=o&524287),(c===null||u===null)&&(c=a[6]&127,c=c<<8|a[7],u=a[8]&63,u=u<<8|a[9],u=u<<5|a[10]>>>3),i+1e4>Fn&&o===null?++u>524287&&(u=0,++c>4095&&(c=0,Fn++)):Fn=i,I0=c,T0=u,s[r++]=Fn/1099511627776&255,s[r++]=Fn/4294967296&255,s[r++]=Fn/16777216&255,s[r++]=Fn/65536&255,s[r++]=Fn/256&255,s[r++]=Fn&255,s[r++]=c>>>4&15|112,s[r++]=c&255,s[r++]=u>>>13&63|128,s[r++]=u>>>5&255,s[r++]=u<<3&255|a[10]&7,s[r++]=a[11],s[r++]=a[12],s[r++]=a[13],s[r++]=a[14],s[r++]=a[15],t||eo(s)}function ik(e){return yA({clockseq:e})}function ni(e,t){let n=t.replace(/-/g,"").match(/.{2}/g).map(r=>parseInt(r,16));return sk(e,new Uint8Array(n))}var _A="__error__",tl="__scheduled__",vA="__interrupt__",wA="__resume__",E0="[...]",bA="[Circular]",Il=[],ri=[];function kA(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function xA(e,t,n,r){typeof r>"u"&&(r=kA()),rm(e,"",0,[],void 0,0,r);var s;try{ri.length===0?s=JSON.stringify(e,t,n):s=JSON.stringify(e,OA(t),n)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;Il.length!==0;){var a=Il.pop();a.length===4?Object.defineProperty(a[0],a[1],a[3]):a[0][a[1]]=a[2]}}return s}function lh(e,t,n,r){var s=Object.getOwnPropertyDescriptor(r,n);s.get!==void 0?s.configurable?(Object.defineProperty(r,n,{value:e}),Il.push([r,n,t,s])):ri.push([t,n,e]):(r[n]=e,Il.push([r,n,t]))}function rm(e,t,n,r,s,a,i){a+=1;var o;if(typeof e=="object"&&e!==null){for(o=0;o<r.length;o++)if(r[o]===e){lh(bA,e,t,s);return}if(typeof i.depthLimit<"u"&&a>i.depthLimit){lh(E0,e,t,s);return}if(typeof i.edgesLimit<"u"&&n+1>i.edgesLimit){lh(E0,e,t,s);return}if(r.push(e),Array.isArray(e))for(o=0;o<e.length;o++)rm(e[o],o,o,r,e,a,i);else{var c=Object.keys(e);for(o=0;o<c.length;o++){var u=c[o];rm(e[u],u,o,r,e,a,i)}}r.pop()}}function OA(e){return e=typeof e<"u"?e:function(t,n){return n},function(t,n){if(ri.length>0)for(var r=0;r<ri.length;r++){var s=ri[r];if(s[1]===t&&s[0]===n){n=s[2],ri.splice(r,1);break}}return e.call(this,t,n)}}var A0,$0;function SA(){return $0||($0=1,A0=function(e,t){if(typeof e!="string")throw new TypeError("Expected a string");return t=typeof t>"u"?"_":t,e.replace(/([a-z\d])([A-Z])/g,"$1"+t+"$2").replace(/([A-Z]+)([A-Z][a-z\d]+)/g,"$1"+t+"$2").toLowerCase()}),A0}var TA=SA(),IA=za(TA),hu={exports:{}},C0;function EA(){if(C0)return hu.exports;C0=1;let e=/[\p{Lu}]/u,t=/[\p{Ll}]/u,n=/^[\p{Lu}](?![\p{Lu}])/gu,r=/([\p{Alpha}\p{N}_]|$)/u,s=/[_.\- ]+/,a=new RegExp("^"+s.source),i=new RegExp(s.source+r.source,"gu"),o=new RegExp("\\d+"+r.source,"gu"),c=(p,h,f)=>{let m=!1,v=!1,g=!1;for(let y=0;y<p.length;y++){let k=p[y];m&&e.test(k)?(p=p.slice(0,y)+"-"+p.slice(y),m=!1,g=v,v=!0,y++):v&&g&&t.test(k)?(p=p.slice(0,y-1)+"-"+p.slice(y-1),g=v,v=!1,m=!0):(m=h(k)===k&&f(k)!==k,g=v,v=f(k)===k&&h(k)!==k)}return p},u=(p,h)=>(n.lastIndex=0,p.replace(n,f=>h(f))),l=(p,h)=>(i.lastIndex=0,o.lastIndex=0,p.replace(i,(f,m)=>h(m)).replace(o,f=>h(f))),d=(p,h)=>{if(!(typeof p=="string"||Array.isArray(p)))throw new TypeError("Expected the input to be `string | string[]`");if(h={pascalCase:!1,preserveConsecutiveUppercase:!1,...h},Array.isArray(p)?p=p.map(v=>v.trim()).filter(v=>v.length).join("-"):p=p.trim(),p.length===0)return"";let f=h.locale===!1?v=>v.toLowerCase():v=>v.toLocaleLowerCase(h.locale),m=h.locale===!1?v=>v.toUpperCase():v=>v.toLocaleUpperCase(h.locale);return p.length===1?h.pascalCase?m(p):f(p):(p!==f(p)&&(p=c(p,f,m)),p=p.replace(a,""),h.preserveConsecutiveUppercase?p=u(p,f):p=f(p),h.pascalCase&&(p=m(p.charAt(0))+p.slice(1)),l(p,m))};return hu.exports=d,hu.exports.default=d,hu.exports}var AA=EA(),$A=za(AA);function CA(e,t){return t?.[e]||IA(e)}function NA(e,t){return t?.[e]||$A(e)}function ok(e,t,n){let r={};for(let s in e)Object.hasOwn(e,s)&&(r[t(s,n)]=e[s]);return r}var ck="__lc_escaped__";function PA(e){return"lc"in e||Object.keys(e).length===1&&"__lc_escaped__"in e}function jA(e){return{[ck]:e}}function uk(e){return Object.keys(e).length===1&&"__lc_escaped__"in e}function RA(e){return e!==null&&typeof e=="object"&&"lc_serializable"in e&&typeof e.toJSON=="function"}function MA(e){let t;return e!==null&&typeof e=="object"?"lc_id"in e&&Array.isArray(e.lc_id)?t=e.lc_id:t=[e.constructor?.name??"Object"]:t=[typeof e],{lc:1,type:"not_implemented",id:t}}function sm(e,t=new WeakSet){if(e!==null&&typeof e=="object"&&!Array.isArray(e)){if(t.has(e))return MA(e);if(RA(e))return e;t.add(e);let n=e;if(PA(n))return t.delete(e),jA(n);let r={};for(let[s,a]of Object.entries(n))r[s]=sm(a,t);return t.delete(e),r}return Array.isArray(e)?e.map(n=>sm(n,t)):e}function am(e){if(e!==null&&typeof e=="object"&&!Array.isArray(e)){let t=e;if(uk(t))return t[ck];let n={};for(let[r,s]of Object.entries(t))n[r]=am(s);return n}return Array.isArray(e)?e.map(t=>am(t)):e}var N0=Object.defineProperty,Q=(e,t)=>{let n={};for(var r in e)N0(n,r,{get:e[r],enumerable:!0});return N0(n,Symbol.toStringTag,{value:"Module"}),n},LA=Q({Serializable:()=>Rn,get_lc_unique_name:()=>vp});function P0(e){return Array.isArray(e)?[...e]:{...e}}function zA(e,t){let n=P0(e);for(let[r,s]of Object.entries(t)){let[a,...i]=r.split(".").reverse(),o=n;for(let c of i.reverse()){if(o[c]===void 0)break;o[c]=P0(o[c]),o=o[c]}o[a]!==void 0&&(o[a]={lc:1,type:"secret",id:[s]})}return n}function vp(e){let t=Object.getPrototypeOf(e);return typeof e.lc_name=="function"&&(typeof t.lc_name!="function"||e.lc_name()!==t.lc_name())?e.lc_name():e.name}var Rn=class lk{lc_serializable=!1;lc_kwargs;static lc_name(){return this.name}get lc_id(){return[...this.lc_namespace,vp(this.constructor)]}get lc_secrets(){}get lc_attributes(){}get lc_aliases(){}get lc_serializable_keys(){}constructor(t,...n){this.lc_serializable_keys!==void 0?this.lc_kwargs=Object.fromEntries(Object.entries(t||{}).filter(([r])=>this.lc_serializable_keys?.includes(r))):this.lc_kwargs=t??{}}toJSON(){if(!this.lc_serializable)return this.toJSONNotImplemented();if(this.lc_kwargs instanceof lk||typeof this.lc_kwargs!="object"||Array.isArray(this.lc_kwargs))return this.toJSONNotImplemented();let t={},n={},r=Object.keys(this.lc_kwargs).reduce((o,c)=>(o[c]=c in this?this[c]:this.lc_kwargs[c],o),{});for(let o=Object.getPrototypeOf(this);o;o=Object.getPrototypeOf(o))Object.assign(t,Reflect.get(o,"lc_aliases",this)),Object.assign(n,Reflect.get(o,"lc_secrets",this)),Object.assign(r,Reflect.get(o,"lc_attributes",this));Object.keys(n).forEach(o=>{let c=this,u=r,[l,...d]=o.split(".").reverse();for(let p of d.reverse()){if(!(p in c)||c[p]===void 0)return;(!(p in u)||u[p]===void 0)&&(typeof c[p]=="object"&&c[p]!=null?u[p]={}:Array.isArray(c[p])&&(u[p]=[])),c=c[p],u=u[p]}l in c&&c[l]!==void 0&&(u[l]=u[l]||c[l])});let s={},a=new WeakSet;a.add(this);for(let[o,c]of Object.entries(r))s[o]=sm(c,a);let i=ok(Object.keys(n).length?zA(s,n):s,CA,t);return{lc:1,type:"constructor",id:this.lc_id,kwargs:i}}toJSONNotImplemented(){return{lc:1,type:"not_implemented",id:this.lc_id}}},UA=Q({getEnv:()=>py,getEnvironmentVariable:()=>rr,getRuntimeEnvironment:()=>mk,isBrowser:()=>dk,isDeno:()=>wp,isJsDom:()=>hk,isNode:()=>fk,isWebWorker:()=>pk}),dk=()=>typeof window<"u"&&typeof window.document<"u",pk=()=>typeof globalThis=="object"&&globalThis.constructor&&globalThis.constructor.name==="DedicatedWorkerGlobalScope",hk=()=>typeof window<"u"&&window.name==="nodejs"||typeof navigator<"u"&&navigator.userAgent.includes("jsdom"),wp=()=>typeof Deno<"u",fk=()=>typeof process<"u"&&typeof process.versions<"u"&&typeof process.versions.node<"u"&&!wp(),py=()=>{let e;return dk()?e="browser":fk()?e="node":pk()?e="webworker":hk()?e="jsdom":wp()?e="deno":e="other",e},dh;function mk(){return dh===void 0&&(dh={library:"langchain-js",runtime:py()}),dh}function rr(e){try{return typeof process<"u"?process.env?.[e]:wp()?Deno?.env.get(e):void 0}catch{return}}var DA=[],FA=Q({}),BA=Q({}),Y="0123456789abcdef".split(""),ZA=[-2147483648,8388608,32768,128],Bn=[24,16,8,0],fu=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],xt=[];function ir(e,t){t?(xt[0]=xt[16]=xt[1]=xt[2]=xt[3]=xt[4]=xt[5]=xt[6]=xt[7]=xt[8]=xt[9]=xt[10]=xt[11]=xt[12]=xt[13]=xt[14]=xt[15]=0,this.blocks=xt):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e?(this.h0=3238371032,this.h1=914150663,this.h2=812702999,this.h3=4144912697,this.h4=4290775857,this.h5=1750603025,this.h6=1694076839,this.h7=3204075428):(this.h0=1779033703,this.h1=3144134277,this.h2=1013904242,this.h3=2773480762,this.h4=1359893119,this.h5=2600822924,this.h6=528734635,this.h7=1541459225),this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.is224=e}ir.prototype.update=function(e){if(!this.finalized){var t,n=typeof e;if(n!=="string"){if(n==="object"){if(e===null)throw new Error(ERROR);if(ARRAY_BUFFER&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&&(!ARRAY_BUFFER||!ArrayBuffer.isView(e)))throw new Error(ERROR)}else throw new Error(ERROR);t=!0}for(var r,s=0,a,i=e.length,o=this.blocks;s<i;){if(this.hashed&&(this.hashed=!1,o[0]=this.block,this.block=o[16]=o[1]=o[2]=o[3]=o[4]=o[5]=o[6]=o[7]=o[8]=o[9]=o[10]=o[11]=o[12]=o[13]=o[14]=o[15]=0),t)for(a=this.start;s<i&&a<64;++s)o[a>>>2]|=e[s]<<Bn[a++&3];else for(a=this.start;s<i&&a<64;++s)r=e.charCodeAt(s),r<128?o[a>>>2]|=r<<Bn[a++&3]:r<2048?(o[a>>>2]|=(192|r>>>6)<<Bn[a++&3],o[a>>>2]|=(128|r&63)<<Bn[a++&3]):r<55296||r>=57344?(o[a>>>2]|=(224|r>>>12)<<Bn[a++&3],o[a>>>2]|=(128|r>>>6&63)<<Bn[a++&3],o[a>>>2]|=(128|r&63)<<Bn[a++&3]):(r=65536+((r&1023)<<10|e.charCodeAt(++s)&1023),o[a>>>2]|=(240|r>>>18)<<Bn[a++&3],o[a>>>2]|=(128|r>>>12&63)<<Bn[a++&3],o[a>>>2]|=(128|r>>>6&63)<<Bn[a++&3],o[a>>>2]|=(128|r&63)<<Bn[a++&3]);this.lastByteIndex=a,this.bytes+=a-this.start,a>=64?(this.block=o[16],this.start=a-64,this.hash(),this.hashed=!0):this.start=a}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}};ir.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[16]=this.block,e[t>>>2]|=ZA[t&3],this.block=e[16],t>=56&&(this.hashed||this.hash(),e[0]=this.block,e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.hBytes<<3|this.bytes>>>29,e[15]=this.bytes<<3,this.hash()}};ir.prototype.hash=function(){var e=this.h0,t=this.h1,n=this.h2,r=this.h3,s=this.h4,a=this.h5,i=this.h6,o=this.h7,c=this.blocks,u,l,d,p,h,f,m,v,g,y,k;for(u=16;u<64;++u)h=c[u-15],l=(h>>>7|h<<25)^(h>>>18|h<<14)^h>>>3,h=c[u-2],d=(h>>>17|h<<15)^(h>>>19|h<<13)^h>>>10,c[u]=c[u-16]+l+c[u-7]+d<<0;for(k=t&n,u=0;u<64;u+=4)this.first?(this.is224?(v=300032,h=c[0]-1413257819,o=h-150054599<<0,r=h+24177077<<0):(v=704751109,h=c[0]-210244248,o=h-1521486534<<0,r=h+143694565<<0),this.first=!1):(l=(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10),d=(s>>>6|s<<26)^(s>>>11|s<<21)^(s>>>25|s<<7),v=e&t,p=v^e&n^k,m=s&a^~s&i,h=o+d+m+fu[u]+c[u],f=l+p,o=r+h<<0,r=h+f<<0),l=(r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10),d=(o>>>6|o<<26)^(o>>>11|o<<21)^(o>>>25|o<<7),g=r&e,p=g^r&t^v,m=i&o^~i&s,h=a+d+m+fu[u+1]+c[u+1],f=l+p,i=n+h<<0,n=h+f<<0,l=(n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10),d=(i>>>6|i<<26)^(i>>>11|i<<21)^(i>>>25|i<<7),y=n&r,p=y^n&e^g,m=a&i^~a&o,h=s+d+m+fu[u+2]+c[u+2],f=l+p,a=t+h<<0,t=h+f<<0,l=(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10),d=(a>>>6|a<<26)^(a>>>11|a<<21)^(a>>>25|a<<7),k=t&n,p=k^t&r^y,m=a&i^~a&o,h=s+d+m+fu[u+3]+c[u+3],f=l+p,s=e+h<<0,e=h+f<<0,this.chromeBugWorkAround=!0;this.h0=this.h0+e<<0,this.h1=this.h1+t<<0,this.h2=this.h2+n<<0,this.h3=this.h3+r<<0,this.h4=this.h4+s<<0,this.h5=this.h5+a<<0,this.h6=this.h6+i<<0,this.h7=this.h7+o<<0};ir.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,r=this.h3,s=this.h4,a=this.h5,i=this.h6,o=this.h7,c=Y[e>>>28&15]+Y[e>>>24&15]+Y[e>>>20&15]+Y[e>>>16&15]+Y[e>>>12&15]+Y[e>>>8&15]+Y[e>>>4&15]+Y[e&15]+Y[t>>>28&15]+Y[t>>>24&15]+Y[t>>>20&15]+Y[t>>>16&15]+Y[t>>>12&15]+Y[t>>>8&15]+Y[t>>>4&15]+Y[t&15]+Y[n>>>28&15]+Y[n>>>24&15]+Y[n>>>20&15]+Y[n>>>16&15]+Y[n>>>12&15]+Y[n>>>8&15]+Y[n>>>4&15]+Y[n&15]+Y[r>>>28&15]+Y[r>>>24&15]+Y[r>>>20&15]+Y[r>>>16&15]+Y[r>>>12&15]+Y[r>>>8&15]+Y[r>>>4&15]+Y[r&15]+Y[s>>>28&15]+Y[s>>>24&15]+Y[s>>>20&15]+Y[s>>>16&15]+Y[s>>>12&15]+Y[s>>>8&15]+Y[s>>>4&15]+Y[s&15]+Y[a>>>28&15]+Y[a>>>24&15]+Y[a>>>20&15]+Y[a>>>16&15]+Y[a>>>12&15]+Y[a>>>8&15]+Y[a>>>4&15]+Y[a&15]+Y[i>>>28&15]+Y[i>>>24&15]+Y[i>>>20&15]+Y[i>>>16&15]+Y[i>>>12&15]+Y[i>>>8&15]+Y[i>>>4&15]+Y[i&15];return this.is224||(c+=Y[o>>>28&15]+Y[o>>>24&15]+Y[o>>>20&15]+Y[o>>>16&15]+Y[o>>>12&15]+Y[o>>>8&15]+Y[o>>>4&15]+Y[o&15]),c};ir.prototype.toString=ir.prototype.hex;ir.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,r=this.h3,s=this.h4,a=this.h5,i=this.h6,o=this.h7,c=[e>>>24&255,e>>>16&255,e>>>8&255,e&255,t>>>24&255,t>>>16&255,t>>>8&255,t&255,n>>>24&255,n>>>16&255,n>>>8&255,n&255,r>>>24&255,r>>>16&255,r>>>8&255,r&255,s>>>24&255,s>>>16&255,s>>>8&255,s&255,a>>>24&255,a>>>16&255,a>>>8&255,a&255,i>>>24&255,i>>>16&255,i>>>8&255,i&255];return this.is224||c.push(o>>>24&255,o>>>16&255,o>>>8&255,o&255),c};ir.prototype.array=ir.prototype.digest;ir.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(this.is224?28:32),t=new DataView(e);return t.setUint32(0,this.h0),t.setUint32(4,this.h1),t.setUint32(8,this.h2),t.setUint32(12,this.h3),t.setUint32(16,this.h4),t.setUint32(20,this.h5),t.setUint32(24,this.h6),this.is224||t.setUint32(28,this.h7),e};var hy=(...e)=>new ir(!1,!0).update(e.join("")).hex(),VA=Q({sha256:()=>hy});function gk(e){let t=Symbol.for(e);return{brand(n,r){let s=r?Symbol.for(`${e}.${r}`):t;class a extends n{[s]=!0;constructor(...o){super(...o)}static isInstance(o){return typeof o=="object"&&o!==null&&s in o&&o[s]===!0}}return Object.defineProperty(a,"name",{value:n.name}),a},sub(n){return gk(`${e}.${n}`)},isInstance(n){return typeof n=="object"&&n!==null&&t in n&&n[t]===!0}}}var qA=gk("langchain"),HA=Q({ContextOverflowError:()=>yk,LangChainError:()=>fy,ModelAbortError:()=>im,addLangChainErrorFields:()=>Dc,ns:()=>bp});function Dc(e,t){return e.lc_error_code=t,e.message=`${e.message}
|
|
@@ -356,4 +356,4 @@ ${t}`:t:e,default:()=>""}),ticket:mt({reducer:(e,t)=>t??null,default:()=>null})}
|
|
|
356
356
|
`);a={agentId:Lo.id,id:"approveTemplateTicket",kind:"textInput",message:i,metadata:[]}}else if(!n.template&&!n.useCase){let i=["Templates provide a starting structure for your solution, including layers, maps, and apps. Choose a template to get started."].join(`
|
|
357
357
|
`);a={agentId:Lo.id,id:"approveTemplateTicket",kind:"singleSelection",message:i,metadata:["Field inspections","Spatial Data Management","Points of interest"]}}else if(!n.template&&n.useCase){let i=[`We understand that your use case is ${n.useCase}.`,"We alse need to know what template to use.","Templates provide a starting structure for your solution, including layers, maps, and apps. Choose a template to get started."].join(`
|
|
358
358
|
`);a={agentId:Lo.id,id:"approveTemplateTicket",kind:"singleSelection",message:i,metadata:["Field inspections","Spatial Data Management","Points of interest"]}}throw new ly(a)}console.log(`hitlResponse.payload: ${r.payload}`);let s=r.payload;if(!n.template||!n.useCase){if(s==="No")return{outputMessage:"Okay, I've cancelled solution builder.",ticket:null};if(s==="Field inspections"||s==="Spatial Data Management"||s==="Points of interest")return{outputMessage:`Use ${s} template to create a new solution.`,ticket:{template:s,useCase:n.useCase}}}return e},m7=async(e,t)=>{await Qi({text:"persisting template and use case"},t);let n=e.ticket;if(!n)return{outputMessage:"I couldn't start the solution builder.Please let me know what you would like to do."};try{console.log("sending trace"),await Qi({text:"Template and use case set."},t)}catch(r){throw new Error(`Failed to save Builder request: ${r.message}`)}return{outputMessage:["Thanks, I\u2019ve logged your Builder request:","",`- template: ${n.template}`,`- useCase: ${n.useCase}`].join(`
|
|
359
|
-
`)}},g7=()=>new N_(UE).addNode("extractTemplateLLM",h7).addNode("approvalTemplate",f7).addNode("persistTemplate",m7).addEdge(wt,"extractTemplateLLM").addEdge("extractTemplateLLM","approvalTemplate").addConditionalEdges("approvalTemplate",e=>e.ticket?.template===""||e.ticket?.useCase===""?"continue":"done",{done:"persistTemplate",continue:"extractTemplateLLM"}).addEdge("persistTemplate",St),y7=await cu(zE,"solutions_builder_description"),Lo={id:"solutionBuilder",name:"Solution Builder Agent",description:y7,createGraph:g7,workspace:UE},_7=Object.assign({"./prompts/explorer-prompts.md":()=>import("./GV3BOKA2.js").then(e=>e.default),"./prompts/solutions_explorer_description.md":()=>import("./NNOZ6KRO.js").then(e=>e.default)});function v7(e,t){if(t.startsWith(e))return t.slice(e.length);let n=0,r=Math.min(e.length,t.length);for(;n<r&&e[n]===t[n];)n++;return t.slice(n)}function w7(e){return e&&e.helperServices.aiAssistantServices?`${e.helperServices.aiAssistantServices.url}/skills/doc_ai_assistant/chat`:null}var b7=e=>new Promise(t=>setTimeout(t,e)),DE=mt.Root({messages:mt({reducer:Ra,default:()=>[]}),outputMessage:mt({default:()=>"",reducer:(e,t)=>typeof t!="string"||t.length===0?e:e+t}),_lastFullOutput:mt({default:()=>"",reducer:(e,t)=>typeof t!="string"?e:t}),solutionResponse:mt({reducer:(e,t)=>t??null,default:()=>null}),documentSkillUrl:mt({reducer:(e,t)=>t??null,default:()=>null})}),k7=()=>new N_(DE).addNode("initializeAgent",O7).addNode("askSolutionsQuestions",x7).addEdge(wt,"initializeAgent").addEdge("initializeAgent","askSolutionsQuestions").addConditionalEdges("askSolutionsQuestions",e=>e.solutionResponse?.hasMore===!1?"done":"continue",{done:St,continue:"askSolutionsQuestions"}),x7=async(e,t)=>{let n=PE(t);t&&(t.recursionLimit=100),e.solutionResponse?.conversationId||await Qi({text:n.agentProgress.explorerAgentReading},t);let r={message:e.messages[e.messages.length-1].content,conversationId:t?.configurable?.context?.convoId,context:{kind:"DocAIAssistantRequest",filters:{persona:{persona:"solutions"}}}};e.solutionResponse?.conversationId&&e.solutionResponse.hasMore&&(r={conversationId:e.solutionResponse.conversationId,ackSequenceNumber:e.solutionResponse.ackSequenceNumber,inquiryId:e.solutionResponse.inquiryId}),e.solutionResponse?.conversationId&&e.solutionResponse.hasMore&&await b7(1500);let s=e.documentSkillUrl,a=await fetch(s,{method:"POST",headers:{"Content-Type":"application/json",token:t?.configurable?.context?.token},body:JSON.stringify(r)});if(!a.ok)throw new Error(`HTTP ${a.status} calling ${s}`);let i=await a.json();t&&t.configurable&&(t.configurable.context.convoId=i.conversationId);let o={message:i.message,conversationId:i.conversationId,hasMore:i.hasMore,ackSequenceNumber:i.sequenceNumber,inquiryId:i.inquiryId},c=i.context&&i.context.results?i.context.results[0].reply??"":"";c!==""&&i.context&&i.context.results&&i.context.results[0].followupQuestions&&t?.configurable?.context?.updateSuggestedPrompts&&t.configurable.context.updateSuggestedPrompts(i.context.results[0].followupQuestions);let u=e._lastFullOutput??"",l=c,d=v7(u,l);if(i.context&&i.context.results&&i.context.results[0].status.currentStatusStep){let p=i.context.results[0].status.currentStatusStep,h="";p===1?h=n.agentProgress.explorerAgentReading:p===2?h=n.agentProgress.explorerAgentReviewing:p===3&&(h=n.agentProgress.explorerAgentPreparing),await Qi({text:h},t)}return{outputMessage:d,_lastFullOutput:l,solutionResponse:o}},O7=async(e,t)=>{let n=null;return e.documentSkillUrl===null&&t?.configurable?.context?.portal&&(n=w7(t.configurable.context.portal)),{documentSkillUrl:n}},S7=await cu(_7,"solutions_explorer_description"),T7={id:"solutionsExplorerAgent",name:"Solutions Explorer Agent",description:S7,createGraph:k7,workspace:DE},I7="https://links.esri.com/solutions/agol-organizational-account",E7="https://links.esri.com/solutions/configure-assistants",iy=class extends d0{constructor(){super(),this.open=!1,this.userFirstName="",this._conversationId=void 0,this._orgSettings={aiAssistantsEnabled:!1,blockBetaApps:!0,colocateCompute:!1},this._suggestedPrompts=[],this._hasInteracted=!1,this._translations=f0({name:"arcgis-solutions-assistant",blocking:!0}),this._assistantRef=u0(),this._configContextConsumer=m0({context:g0,subscribe:!0,callback:t=>{t?.userSession&&!this.userFirstName&&this._loadUserFirstName(),t?.authentication?.PortalSubset?.orgSettings&&(this._orgSettings=t?.authentication?.PortalSubset?.orgSettings)}}),this.closeAssistant=a0(),this._handleSignIn=()=>{this._configContextConsumer.value?.authentication?.signIn("aiOpen")},this._checkURLOpenParameter=()=>{this.open=this._configContextConsumer.value?.authentication?.SignInParam==="aiOpen"||this.open}}static{this.properties={open:5,userFirstName:1,_conversationId:16,_orgSettings:16,_suggestedPrompts:16,_hasInteracted:16,_translations:16}}static{this.styles=VE}get _telemetry(){return this._configContextConsumer.value?.telemetrySession}loaded(){this._checkURLOpenParameter()}load(){this._configContextConsumer.value?.portalURL&&(BE.portalUrl=this._configContextConsumer.value.portalURL)}firstUpdated(t){this._loadUserFirstName()}willUpdate(t){this._configContextConsumer.value?.userSession?.token&&this._configContextConsumer.value?.authentication?.CanUseAI}_renderNoSign(){return co`<calcite-notice open scale=m icon=effects kind=info><div slot=message>${this._translations.signInMessage}</div><calcite-link @click=${this._handleSignIn} slot=link title=${this._translations.signInMessage??p0} class="padding-top-10">${this._translations.signIn}</calcite-link></calcite-notice>`}_renderNoPermission(){return co`<calcite-notice open scale=m icon=effects kind=info><div slot=title>${this._translations.noPermissionTitle}</div><div slot=message class="padding-top-10">${v0(this._translations.noPermissionMessage.replace("{{orgUrl}}",I7).replace("{{configAI}}",E7))}</div></calcite-notice>`}render(){let t=[];return this._suggestedPrompts.length>0?t=this._suggestedPrompts:this._hasInteracted||(t=[...Object.values(this._translations.defaultFollowUpQuestions)],t.push("I want to build my own solution.")),co`<calcite-
|
|
359
|
+
`)}},g7=()=>new N_(UE).addNode("extractTemplateLLM",h7).addNode("approvalTemplate",f7).addNode("persistTemplate",m7).addEdge(wt,"extractTemplateLLM").addEdge("extractTemplateLLM","approvalTemplate").addConditionalEdges("approvalTemplate",e=>e.ticket?.template===""||e.ticket?.useCase===""?"continue":"done",{done:"persistTemplate",continue:"extractTemplateLLM"}).addEdge("persistTemplate",St),y7=await cu(zE,"solutions_builder_description"),Lo={id:"solutionBuilder",name:"Solution Builder Agent",description:y7,createGraph:g7,workspace:UE},_7=Object.assign({"./prompts/explorer-prompts.md":()=>import("./GV3BOKA2.js").then(e=>e.default),"./prompts/solutions_explorer_description.md":()=>import("./NNOZ6KRO.js").then(e=>e.default)});function v7(e,t){if(t.startsWith(e))return t.slice(e.length);let n=0,r=Math.min(e.length,t.length);for(;n<r&&e[n]===t[n];)n++;return t.slice(n)}function w7(e){return e&&e.helperServices.aiAssistantServices?`${e.helperServices.aiAssistantServices.url}/skills/doc_ai_assistant/chat`:null}var b7=e=>new Promise(t=>setTimeout(t,e)),DE=mt.Root({messages:mt({reducer:Ra,default:()=>[]}),outputMessage:mt({default:()=>"",reducer:(e,t)=>typeof t!="string"||t.length===0?e:e+t}),_lastFullOutput:mt({default:()=>"",reducer:(e,t)=>typeof t!="string"?e:t}),solutionResponse:mt({reducer:(e,t)=>t??null,default:()=>null}),documentSkillUrl:mt({reducer:(e,t)=>t??null,default:()=>null})}),k7=()=>new N_(DE).addNode("initializeAgent",O7).addNode("askSolutionsQuestions",x7).addEdge(wt,"initializeAgent").addEdge("initializeAgent","askSolutionsQuestions").addConditionalEdges("askSolutionsQuestions",e=>e.solutionResponse?.hasMore===!1?"done":"continue",{done:St,continue:"askSolutionsQuestions"}),x7=async(e,t)=>{let n=PE(t);t&&(t.recursionLimit=100),e.solutionResponse?.conversationId||await Qi({text:n.agentProgress.explorerAgentReading},t);let r={message:e.messages[e.messages.length-1].content,conversationId:t?.configurable?.context?.convoId,context:{kind:"DocAIAssistantRequest",filters:{persona:{persona:"solutions"}}}};e.solutionResponse?.conversationId&&e.solutionResponse.hasMore&&(r={conversationId:e.solutionResponse.conversationId,ackSequenceNumber:e.solutionResponse.ackSequenceNumber,inquiryId:e.solutionResponse.inquiryId}),e.solutionResponse?.conversationId&&e.solutionResponse.hasMore&&await b7(1500);let s=e.documentSkillUrl,a=await fetch(s,{method:"POST",headers:{"Content-Type":"application/json",token:t?.configurable?.context?.token},body:JSON.stringify(r)});if(!a.ok)throw new Error(`HTTP ${a.status} calling ${s}`);let i=await a.json();t&&t.configurable&&(t.configurable.context.convoId=i.conversationId);let o={message:i.message,conversationId:i.conversationId,hasMore:i.hasMore,ackSequenceNumber:i.sequenceNumber,inquiryId:i.inquiryId},c=i.context&&i.context.results?i.context.results[0].reply??"":"";c!==""&&i.context&&i.context.results&&i.context.results[0].followupQuestions&&t?.configurable?.context?.updateSuggestedPrompts&&t.configurable.context.updateSuggestedPrompts(i.context.results[0].followupQuestions);let u=e._lastFullOutput??"",l=c,d=v7(u,l);if(i.context&&i.context.results&&i.context.results[0].status.currentStatusStep){let p=i.context.results[0].status.currentStatusStep,h="";p===1?h=n.agentProgress.explorerAgentReading:p===2?h=n.agentProgress.explorerAgentReviewing:p===3&&(h=n.agentProgress.explorerAgentPreparing),await Qi({text:h},t)}return{outputMessage:d,_lastFullOutput:l,solutionResponse:o}},O7=async(e,t)=>{let n=null;return e.documentSkillUrl===null&&t?.configurable?.context?.portal&&(n=w7(t.configurable.context.portal)),{documentSkillUrl:n}},S7=await cu(_7,"solutions_explorer_description"),T7={id:"solutionsExplorerAgent",name:"Solutions Explorer Agent",description:S7,createGraph:k7,workspace:DE},I7="https://links.esri.com/solutions/agol-organizational-account",E7="https://links.esri.com/solutions/configure-assistants",iy=class extends d0{constructor(){super(),this.open=!1,this.userFirstName="",this._conversationId=void 0,this._orgSettings={aiAssistantsEnabled:!1,blockBetaApps:!0,colocateCompute:!1},this._suggestedPrompts=[],this._hasInteracted=!1,this._translations=f0({name:"arcgis-solutions-assistant",blocking:!0}),this._assistantRef=u0(),this._configContextConsumer=m0({context:g0,subscribe:!0,callback:t=>{t?.userSession&&!this.userFirstName&&this._loadUserFirstName(),t?.authentication?.PortalSubset?.orgSettings&&(this._orgSettings=t?.authentication?.PortalSubset?.orgSettings)}}),this.closeAssistant=a0(),this._handleSignIn=()=>{this._configContextConsumer.value?.authentication?.signIn("aiOpen")},this._checkURLOpenParameter=()=>{this.open=this._configContextConsumer.value?.authentication?.SignInParam==="aiOpen"||this.open}}static{this.properties={open:5,userFirstName:1,_conversationId:16,_orgSettings:16,_suggestedPrompts:16,_hasInteracted:16,_translations:16}}static{this.styles=VE}get _telemetry(){return this._configContextConsumer.value?.telemetrySession}loaded(){this._checkURLOpenParameter()}load(){this._configContextConsumer.value?.portalURL&&(BE.portalUrl=this._configContextConsumer.value.portalURL)}firstUpdated(t){this._loadUserFirstName()}willUpdate(t){t.has("open")&&this.open&&window.dispatchEvent(new CustomEvent("openAssistant")),this._configContextConsumer.value?.userSession?.token&&this._configContextConsumer.value?.authentication?.CanUseAI}_renderNoSign(){return co`<calcite-notice class="margin-lg" open scale=m icon=effects kind=info><div slot=message>${this._translations.signInMessage}</div><calcite-link @click=${this._handleSignIn} slot=link title=${this._translations.signInMessage??p0} class="padding-top-10">${this._translations.signIn}</calcite-link></calcite-notice>`}_renderNoPermission(){return co`<calcite-notice open scale=m icon=effects kind=info><div slot=title>${this._translations.noPermissionTitle}</div><div slot=message class="padding-top-10">${v0(this._translations.noPermissionMessage.replace("{{orgUrl}}",I7).replace("{{configAI}}",E7))}</div></calcite-notice>`}render(){let t=[];return this._suggestedPrompts.length>0?t=this._suggestedPrompts:this._hasInteracted||(t=[...Object.values(this._translations.defaultFollowUpQuestions)],t.push("I want to build my own solution.")),co`<calcite-panel class="chat-panel"><div class="header-content" slot=header-content><span class="header-title">${this._translations.solutionAssistantTitle}</span><calcite-chip class="beta-chip" kind=brand .label=${this._translations.beta} scale=s>${this._translations.beta}</calcite-chip></div>${this._configContextConsumer.value?.userSession?.token?this._configContextConsumer.value?.authentication?.CanUseAI?co`<calcite-button appearance=transparent id=newChatButton icon-end=speech-bubble-plus kind=neutral label="New conversation" @click=${()=>{this._conversationId=void 0,this._suggestedPrompts=[],this._hasInteracted=!1,this._assistantRef.value?.clearChatHistory()}} scale=l slot=header-actions-end></calcite-button><calcite-tooltip placement=bottom reference-element=newChatButton><span>${this._translations.tooltips.newConversation}</span></calcite-tooltip><arcgis-assistant reference-element copy-enabled feedback-enabled heading description .suggestedPrompts=${t} @arcgisSubmit=${n=>{console.log("arcgis submit: ",n.detail),this._hasInteracted=!0;let r=Date.now(),s=_0(r),a=n.detail||"Unknown";this._telemetry?.logEvent({category:y0.ASSISTANT,action:"Chat",dimensions:[a],metrics:[s]})}} @arcgisFeedback=${n=>{n.detail}} ${l0(this._assistantRef)}><arcgis-assistant-agent .agent=${T7} .context=${{token:this._configContextConsumer.value?.userSession?.token,convoId:this._conversationId,portal:this._configContextConsumer.value?.authentication.Portal,assistantRef:this._assistantRef,translations:this._translations,updateSuggestedPrompts:n=>{this._suggestedPrompts=n}}}></arcgis-assistant-agent><arcgis-assistant-agent .agent=${p7} .context=${{translations:this._translations,clearSuggestedPrompts:()=>{this._suggestedPrompts=[]}}}></arcgis-assistant-agent><arcgis-assistant-agent .agent=${Lo}></arcgis-assistant-agent></arcgis-assistant><div slot=footer class="disclaimer-div width-100"><calcite-icon icon=information scale=s></calcite-icon><span>${this._translations.disclaimerMessage} <a href=https://links.esri.com/solutions/security-concern target=_blank>${this._translations.reportConcern}</a></span></div>`:this._renderNoPermission():this._renderNoSign()}<calcite-action icon=x id=closeAssistantButton label=Close @click=${()=>{this.closeAssistant.emit(!0)}} slot=header-actions-end text=Close></calcite-action><calcite-tooltip placement=bottom reference-element=closeAssistantButton><span>${this._translations.tooltips.close}</span></calcite-tooltip></calcite-panel>`}async _loadUserFirstName(){try{let t=await this._configContextConsumer.value?.userSession?.getUser();if(t?.fullName){let n=t.fullName.split(" ")[0];this.userFirstName=n}}catch{}}};h0("arcgis-solutions-assistant",iy);return iy},"config","identity/IdentityManager","portal/Portal","core/reactiveUtils","layers/FeatureLayer","request",a)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import a from"./
|
|
2
|
+
import a from"./N73GF6WL.js";import"./QHG54NVK.js";import"./DPD6UBKD.js";import"./HBQN25RR.js";import"./SDJWXDEO.js";import"./INWDOVSJ.js";import"./3YQ3LN5J.js";import"./TEHBW75B.js";import"./KU62OLRE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./3IHLJADI.js";import"./B3R52L7H.js";import"./BDXIKPLU.js";import"./G2ME4BAQ.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import"./73AX72WY.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import"./FES7B3SJ.js";import"./FLLZBDVI.js";import"./F2JKSZOE.js";import"./QPIMTXPL.js";export default $arcgis.t(([{h:o}])=>{return o},a)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import a from"./
|
|
2
|
+
import a from"./N73GF6WL.js";import{b as u}from"./QHG54NVK.js";import{b as r}from"./DPD6UBKD.js";import{d as c}from"./HBQN25RR.js";import"./SDJWXDEO.js";import"./INWDOVSJ.js";import"./3YQ3LN5J.js";import"./TEHBW75B.js";import"./KU62OLRE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./3IHLJADI.js";import"./B3R52L7H.js";import"./BDXIKPLU.js";import"./G2ME4BAQ.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import"./73AX72WY.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import"./FES7B3SJ.js";import{b as l}from"./FLLZBDVI.js";import{G as o,h as s,i as n}from"./F2JKSZOE.js";import"./QPIMTXPL.js";export default $arcgis.t(([{g:m}])=>{var h=s`*[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.avatar-container{align-items:center;display:flex;flex-direction:row;padding-top:var(--calcite-spacing-lg)}.full-name{margin-inline-start:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-navigation-user-full-name-text-color, var(--calcite-color-text-1))}.text-container{margin-block-start:.125rem;display:flex;flex-direction:column;padding-inline:1rem;text-align:start}.username{font-size:var(--calcite-font-size--1);color:var(--calcite-navigation-user-name-text-color, var(--calcite-color-text-2))}`,a=class extends o{constructor(){super(),this.lookupProfile=!1,this.username="",this._configContextConsumer=r({context:u,subscribe:!0}),this.listenOn(window,"sessionRefreshed",t=>{this._updateThumbnailToken(t.detail)})}static{this.properties={fullname:1,lookupProfile:5,thumbnailUrl:1,username:1}}static{this.styles=h}loaded(){this.lookupProfile&&this._lookupOwnerProfile(this.username)}willUpdate(t){t.has("username")&&this.lookupProfile&&this._lookupOwnerProfile(this.username)}render(){return n`<div class="avatar-container"><calcite-avatar scale=m .username=${this.username} .thumbnail=${this.thumbnailUrl??void 0} .fullName=${this.fullname??void 0}></calcite-avatar><div class="text-container"><span class="full-name" tabindex=0>${this.fullname??""}</span><span class="username" tabindex=0>${this.username}</span></div></div>`}async _lookupOwnerProfile(t){if(this.fullname=void 0,this.thumbnailUrl="",this.lookupProfile&&this._configContextConsumer.value){let{userSession:i}=this._configContextConsumer.value;if(i)try{let e=await c({authentication:i,username:t});e&&(e.fullName&&(this.fullname=e.fullName),e.thumbnail&&(this.thumbnailUrl=i.portal+"/community/users/"+e.id+"/info/"+e.thumbnail+"?token="+i.token))}catch{console.log("user not found")}}}_updateThumbnailToken(t){this.thumbnailUrl&&this.thumbnailUrl!==""&&(this.thumbnailUrl=m(this.thumbnailUrl,t))}};l("solution-user-avatar",a);return a},a)
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import e from"./4NCV4IWX.js";import d from"./QF3LZFWW.js";import a from"./N73GF6WL.js";import{a as _,b as v}from"./QHG54NVK.js";import{b as g}from"./DPD6UBKD.js";import{ka as w,qa as y}from"./HBQN25RR.js";import{a as x}from"./SDJWXDEO.js";import{b}from"./FLLZBDVI.js";import{G as u,I as f,K as c,h as m,i as t,q as r}from"./F2JKSZOE.js";export default $arcgis.t(([{L:D,a:$,c:C,g:k,q:l},{a:S},{d:p,h:I,i:T}])=>{var O=m`.negative-tabbing-offset[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:-2px}.tabbing-offset[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.font-weight-med{font-weight:var(--calcite-font-weight-medium)}.font-weight-bold{font-weight:var(--calcite-font-weight-bold)}.heading-font{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.title-font{font-size:1.8rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.font-1{font-size:var(--calcite-spacing-lg)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}.flex-direction-row{flex-direction:row}@container (min-width: 801px){.font-size-override .display-flex.flex-direction-row>.image-width+.display-flex{flex:1;min-width:0}}.icon-color{color:var(--calcite-color-text-3)}.padding-bottom-lg{padding-bottom:var(--calcite-spacing-lg)}.item-padding{--calcite-internal-accordion-item-padding: var(--calcite-spacing-xl)}.align-items-center{align-items:center}.align-items-start{align-items:start}.font-size-override{--calcite-font-size--2: var(--calcite-font-size--1)}.background-color-1{background-color:var(--calcite-color-surface-2)}.background-color-2{background-color:var(--calcite-color-surface-3)}.label-override{--calcite-label-margin-bottom: var(--calcite-spacing-none)}.position-relative{position:relative}.overflow-hidden{overflow:hidden}.overflow-auto{overflow:auto}.margin-block-start-end-0{margin-block-start:var(--calcite-spacing-none);margin-block-end:var(--calcite-spacing-none)}.panel-background-2{--calcite-panel-background-color: var(--calcite-color-surface-3);background-color:var(--calcite-color-surface-3)}.panel-background-1{--calcite-panel-background-color: var(--calcite-color-surface-2);--calcite-shell-panel-background-color: var(--calcite-color-surface-2)}.border-none{border:none}.font-color-1{color:var(--calcite-color-text-1)}.panel-bg-color{--calcite-panel-header-background-color: var(--calcite-color-surface-2);--calcite-panel-background-color: var(--calcite-color-surface-2)}.dialog-y-size{--calcite-dialog-size-y: 90% }.dialog-x-size{--calcite-dialog-size-x: 90% }.bottom-border{border-bottom:solid var(--calcite-spacing-px);color:var(--calcite-color-border-1)}.margin-start-end-xxl{margin-inline-start:var(--calcite-spacing-xxl);margin-inline-end:var(--calcite-spacing-xxl)}.margin-start-end-lg{margin-inline-start:var(--calcite-spacing-lg);margin-inline-end:var(--calcite-spacing-lg)}.margin-top-xxl{margin-top:var(--calcite-spacing-xxl)}.justify-between{justify-content:space-between}.items-baseline{align-items:baseline}.padding-xxl{padding:var(--calcite-spacing-xxl)}.padding-lg{padding:var(--calcite-spacing-lg)}.padding-top-xxl{padding-top:var(--calcite-spacing-xxl)}.padding-top-lg{padding-top:var(--calcite-spacing-lg)}.padding-bottom-xxl{padding-bottom:var(--calcite-spacing-xxl)}.padding-end-1{padding-inline-end:var(--calcite-spacing-lg)}.padding-end-xxl{padding-inline-end:var(--calcite-spacing-xxl)}.padding-start-sm{padding-inline-start:var(--calcite-spacing-sm)}.padding-start-xxl{padding-inline-start:var(--calcite-spacing-xxl)}.image-width{width:300px;flex-grow:0;flex-shrink:0}@container (max-width: 1280px){.image-width{flex-grow:0;flex-shrink:1}}img{max-width:100%;height:auto;overflow-clip-margin:content-box;overflow:clip;display:block}.margin-xl{margin:var(--calcite-spacing-xl)}.line-height-1{line-height:1.1}.line-height-xxl{line-height:var(--calcite-line-height-xxl)}@container (max-width: 800px){.font-size-override .display-flex.flex-direction-row{flex-direction:column!important}.image-width{width:100%!important;max-width:100%!important;margin:0!important;padding:var(--calcite-spacing-lg)!important;padding-bottom:0!important;box-sizing:border-box}.image-width img{width:100%;max-width:100%}.margin-xl{margin:0!important}.image-width+.display-flex{padding-inline-start:var(--calcite-spacing-lg)!important;padding-inline-end:var(--calcite-spacing-lg)!important}.padding-start-sm{padding-inline-start:0!important}.title-font{padding-inline-start:0!important;padding-top:var(--calcite-spacing-lg)!important;padding-bottom:var(--calcite-spacing-lg)!important}.align-items-start.padding-bottom-xxl,.padding-bottom-xxl.padding-start-sm{padding-bottom:var(--calcite-spacing-lg)!important}}calcite-shell-panel{--calcite-shell-panel-max-width: 20rem;--calcite-shell-panel-width: 24vw}calcite-shell{block-size:unset}.solution-deployed-action{--calcite-color-focus: initial}.skeleton-loader{background:linear-gradient(90deg,var(--calcite-color-foreground-1) 0%,var(--calcite-color-foreground-2) 50%,var(--calcite-color-foreground-1) 100%);background-size:200% 100%;animation:shimmer 1.5s ease-in-out infinite;border-radius:var(--calcite-border-radius)}.skeleton-folder{height:1.5rem;width:12rem;border-radius:var(--calcite-border-radius)}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}`,h=class extends u{constructor(){super(),this.diagramKey="",this.open=!1,this.templateInfos=[],this._accordionLoading=!1,this._configureTitlesOpen=!1,this._deleteDialogOpen=!1,this._hasNewVersion=!1,this._isDiagramOpen=!1,this._isNameConflict=!1,this._invalidNameMessage="",this._showFailedAlert=!1,this._showItemUpdateLoading=!1,this.isMobile=!1,this._templateInfoGraph=[],this._thumbnailUrl="",this._folderName="",this._folderId=null,this._folderLoading=!1,this._translations=x({name:"solution-deployed-card-panel",blocking:!0}),this._configContextConsumer=g({context:v,subscribe:!0,callback:async e=>{e&&(this._isOrgAdmin=C(e.authentication),this._user=e.authentication?.Portal?.user)}}),this._isOrgAdmin=!1,this._isMobileContextConsumer=g({context:_,subscribe:!0,callback:e=>this.isMobile=e}),this.navTabSelected=r(),this.forceSelectTab=r(),this.sortTypeChanged=r(),this.solutionConfigureDialogClose=r(),this._nonSolutionDependencyItems=[],this._openFolder=e=>{e.stopPropagation(),this._telemetry?.logEvent({category:l.DEPLOYMENTS,action:"Open Folder",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||"","Details Page"]});let i=this._configContextConsumer.value?.orgUrl;if(!i)return;let a=this._folderId||this.card?.owner,o=`${i}/home/content.html?folder=${a}`;window.open(o,"_blank")},this.listenOn(window,"deployedCardSelected",this._deployedCardSelected),this.listenOn(window,"deployAppTabSelected",this._handleDeployAppTabSelected),this.listenOn(window,"displayDeployedCard",()=>{D({kind:"success",icon:"check-circle",title:this._translations.deploySuccessAlert.replace("{{solutionTitle}}",this.card?.title??""),message:"",autoClose:!0,autoCloseDuration:"medium"})}),this.listenOn(window,"sessionRefreshed",e=>{this._updateThumbnailToken(e.detail)})}static{this.properties={card:0,cardRef:1,diagramKey:1,open:5,templateInfos:0,_accordionLoading:16,_configureTitlesOpen:16,_deleteDialogOpen:16,_hasNewVersion:16,_isDiagramOpen:16,_isNameConflict:16,_invalidNameMessage:16,_showFailedAlert:16,_showItemUpdateLoading:16,isMobile:16,_templateInfoGraph:16,_thumbnailUrl:16,_folderName:16,_folderId:16,_folderLoading:16,_translations:16,_nonSolutionDependencyItems:16}}static{this.styles=O}get _telemetry(){return this._configContextConsumer.value?.telemetrySession}async load(){if(this._isMobileContextConsumer.value&&(this.isMobile=this._isMobileContextConsumer.value),this.card?.thumbnailUrl){let e=this._configContextConsumer.value?.userSession,i=this.card?.thumbnailUrl.replace(/w=\d+/,"w=400");this._thumbnailUrl=`${i}&token=${e?.token}`}}willUpdate(e){if(e.has("card")){let i=this._configContextConsumer.value?.userSession,a=this.card?.thumbnailUrl.replace(/w=\d+/,"w=400");this._thumbnailUrl=`${a}&token=${i?.token}`,this._folderLoading=!0,this._folderName="",this._folderId=null}}render(){return this.isMobile?t`<calcite-shell class="position-relative background-color-2"><calcite-panel class="panel-background-2 border-none" slot=panel-bottom><div class="background-color-2 padding-top-lg">${this._getSolutionPanel()}</div><div class="background-color-1 margin-top-xxl">${this._getButtons()}${this._getOwnerSection()}${this.card?.owner===this._configContextConsumer.value?.userSession?.username&&t`<div class="bottom-border margin-start-end-xxl"></div>${this._getFolderSection()}`||""}<div class="bottom-border margin-start-end-xxl"></div>${this._getSolutionVersionCard()}</div>${this._getSolutionContents()}</calcite-panel></calcite-shell>`:t`<calcite-shell class="position-relative background-color-2"><calcite-panel class="padding-end-xxl panel-background-2 border-none" slot=panel-bottom><div class="display-flex flex-direction-column overflow-hidden"><div class="background-color-2 padding-top-xxl">${this._getSolutionPanel()}</div>${this._getSolutionContents()}</div></calcite-panel><calcite-shell-panel class="panel-background-1" slot=panel-end>${this._getButtons()}${this._getOwnerSection()}${this.card?.owner===this._configContextConsumer.value?.userSession?.username&&t`<div class="bottom-border margin-start-end-xxl"></div>${this._getFolderSection()}`||""}<div class="bottom-border margin-start-end-xxl"></div>${this._getSolutionVersionCard()}</calcite-shell-panel>${this._renderDiagramDialog()}${this._getConfigureTitlesDialog()}${this._getDeleteDialog()}</calcite-shell>`}async _deployedCardSelected(e){let i=e.detail;this.card=i.card,this.cardRef=i.cardRef,this.templateInfos=[],this._accordionLoading=!0,this.templateInfos=await this._getTemplates(),this._accordionLoading=!1;let a=await S(this._configContextConsumer.value.userSession,this.card);this._nonSolutionDependencyItems=a._nonSolutionDependencyItems;let o=I(this._configContextConsumer.value?.allCards||[],this.card.deployCommonId),n=!1;if(o){let s=p(o),d=p(this.card);n=s>d}this._hasNewVersion=n,this._folderLoading=!0,this._folderName="",this._folderId=null,await this._fetchFolderInfo(),this._folderLoading=!1}_handleDeployAppTabSelected(e){e.detail==="deployed-card"&&this.sortTypeChanged.emit("")}_getButtons(){let e=this._configContextConsumer.value?.userSession?.username,i=this._configContextConsumer.value?.authentication?.CanUpdateSolution,a=this.card?.owner===e||this._isOrgAdmin||i,o=this.card?.owner===e||this._isOrgAdmin,n=a?"display-none":"",s=this.isMobile?"padding-lg":"padding-xxl";return t`<div class=${`display-flex flex-direction-column ${s}`}>${!this.isMobile&&t`<calcite-button appearance=outline class="padding-bottom-lg solution-deployed-action" kind=neutral @click=${this._openDiagram}>${this._translations.viewTheDiagram}</calcite-button>`||""}<calcite-button appearance=outline class="padding-bottom-lg solution-deployed-action" kind=neutral @click=${this._viewDocumentation}>${this._translations.solutionDocumentation}</calcite-button><calcite-button appearance=outline class="padding-bottom-lg solution-deployed-action" kind=neutral @click=${this._openItemDetails}>${this._translations.itemDetails}</calcite-button>${a&&!this.isMobile&&t`<calcite-button appearance=outline class="padding-bottom-lg solution-deployed-action" id=solution-configure-titles-button kind=neutral @click=${this._openConfigureTitlesDialog}>${this._translations.updateTitles}</calcite-button><calcite-tooltip class=${f(n)} overlay-positioning=fixed reference-element=solution-configure-titles-button><span>${this._translations.mustOwnSolution}</span></calcite-tooltip>`||""}${o&&!this.isMobile&&t`<calcite-button appearance=outline class="padding-bottom-lg solution-deployed-action" kind=neutral @click=${this._deleteSolution}>${this._translations.deleteSolution}</calcite-button>`||""}</div>`}_openConfigureTitlesDialog(){this._configureTitlesOpen=!0}_getConfigureTitlesDialog(){return this._configureTitlesOpen?t`<solution-configure-titles .card=${this.card} @solutionConfigureTitlesBeforeClose=${async()=>{this.templateInfos=await this._getTemplates(),this._configureTitlesOpen=!1}} @solutionItemsTitlesChanged=${async()=>{this.templateInfos=await this._getTemplates()}} .open=${this._configureTitlesOpen} source="Details Page" .templateInfos=${this.templateInfos}></solution-configure-titles>`:""}_viewDocumentation(e){e.stopPropagation(),this._telemetry?.logEvent({category:l.DEPLOYMENTS,action:"Open Help",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||"","Details Page"]}),window.open(this.card.learnMoreUrl,"_blank")}_openItemDetails(e){e.stopPropagation(),this._telemetry?.logEvent({category:l.DEPLOYMENTS,action:"Open Item Details",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||"","Details Page"]}),window.open(this.card.itemUrl,"_blank")}_getOwnerSection(){if(!this._configContextConsumer?.value)return;let e=this.isMobile?"margin-start-end-lg":"margin-start-end-xxl";return t`<div class=${`display-flex padding-bottom-xxl ${e} flex-direction-column`}><div class="display-flex justify-between items-baseline"><calcite-label class="font-weight-med label-override tabbing-offset" layout=inline scale=l tabindex=0>${this._translations.aboutYourSolutionOwner}</calcite-label></div><solution-user-avatar .fullname=${this._user?.username===this.card?.owner?this._user?.fullName:void 0} .lookupProfile=${this._user?.username!==this.card?.owner} .thumbnailUrl=${this._user?.username===this.card?.owner?this._user?.thumbnailUrl:void 0} .username=${this.card?.owner}></solution-user-avatar></div>`}async _openDiagram(e){e.stopPropagation();let i=await this._getTemplates();i&&(this._telemetry?.logEvent({category:l.DEPLOYMENTS,action:"View Diagram",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||"","Details Page"]}),this._templateInfoGraph=i,this._isDiagramOpen=!0)}async _getTemplates(){return this.cardRef?await this.cardRef.getTemplates():this.card?await $(this.card.id,this._configContextConsumer.value.userSession):void 0}async _fetchFolderInfo(){if(!this.card?.id)return;let e=this._configContextConsumer.value?.userSession?.username;if(this.card?.owner===e)try{let i=this._configContextConsumer.value?.userSession;if(!i)return;let a=await y(this.card.id,i);this._folderId=a.ownerFolder??null;let o=this._configContextConsumer.value?.userSession?.username;if(this.card?.owner!==o)return;if(this._folderId){let{folders:n}=await w(i),s=n.find(d=>d.id===this._folderId);this._folderName=s?.title||this._folderId}else this._folderName=this.card?.owner||"Root"}catch(i){console.error("Error fetching folder info:",i),this._folderId=null,this._folderName=""}}_getFolderSection(){let e=this.isMobile?"padding-lg":"padding-xxl",i=this._folderId?"folder":"home";return t`<div class=${`${e} display-flex flex-direction-column`}><div class="display-flex justify-between items-baseline"><calcite-label class="font-weight-med label-override tabbing-offset" layout=inline scale=l slot=heading tabindex=0>${this._translations.folder}</calcite-label><calcite-button appearance=transparent .disabled=${this._folderLoading} kind=neutral icon-start=launch2 @click=${this._openFolder}>${this._translations.openFolder}</calcite-button></div><div class="display-flex"><div class="display-flex flex-direction-row padding-top-lg align-items-center">${this._folderLoading?t`<div class="skeleton-loader skeleton-folder"></div>`:t`<calcite-icon class="icon-color" .icon=${i} scale=m></calcite-icon><div class="display-flex flex-direction-column padding-start-xxl"><span class="tabbing-offset" tabindex=0>${this._folderName||"Root"}</span></div>`}</div></div></div>`}_getSolutionVersionCard(){let e=this._hasNewVersion?this._translations.newVersionAvailable:this._translations.youHaveTheLatestVersion,i=this.isMobile?"padding-lg":"padding-xxl";return t`<div class=${`${i} display-flex flex-direction-column`}><calcite-label class="font-weight-med label-override tabbing-offset" layout=inline scale=l slot=heading tabindex=0>${this._translations.solutionVersion.replace("{{version}}",this.card?.deployVersion||"")}</calcite-label><div class="display-flex"><div class="display-flex flex-direction-row padding-top-lg align-items-center"><calcite-icon class="icon-color" icon=clock-forward scale=m></calcite-icon><div class="display-flex flex-direction-column padding-start-xxl"><span class="tabbing-offset" tabindex=0>${e}</span></div></div></div>${this._hasNewVersion?t`<calcite-button appearance=outline class="padding-top-lg solution-deployed-action" kind=neutral @click=${this._openNewVersionSolution} width=full>${this._translations.learnMoreNewVersion}</calcite-button>`:""}</div>`}async _openNewVersionSolution(e){e.stopPropagation(),this._telemetry?.logEvent({category:l.DEPLOYMENTS,action:"View Latest Version",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||""]}),await new Promise(a=>setTimeout(a,100));let i=T(this._configContextConsumer.value.allCards,this.card.deployCommonId);i&&this.forceSelectTab.emit({tabType:"details",tabTitleOrId:i})}_getSolutionPanel(){return t`<calcite-panel class="font-size-override panel-background-1"><div class="display-flex flex-direction-row"><div class="image-width margin-xl"><img alt=${this.card?.title??c} src=${this._thumbnailUrl??c}></div><div class="display-flex flex-direction-column"><h1 class="title-font margin-block-start-end-0 padding-end-xxl padding-start-sm padding-top-xxl padding-bottom-xxl line-height-1 negative-tabbing-offset" tabindex=0>${this.card?.title}</h1><div class="display-flex flex-direction-column padding-bottom-xxl padding-start-sm"><div class="display-flex align-items-start padding-bottom-xxl"><div class="font-1 padding-end-1 line-height-xxl negative-tabbing-offset" tabindex=0>${this.card?.snippet}</div></div><div class="display-flex"><div class="display-flex"><calcite-label class="label-override icon-color tabbing-offset" layout=inline tabindex=0><calcite-icon class="icon-color" icon=projects scale=s></calcite-icon>${this._translations.aboutYourSolutionDeployedDate.replace("{{deployedDate}}",this.card?.created||"")}</calcite-label></div></div></div></div></div></calcite-panel>`}_getSolutionContents(){let e=[...new Set(this._nonSolutionDependencyItems.map(i=>i.controlItemId))];return t`<calcite-panel class="panel-background-1 padding-top-xxl"><calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded><div class="margin-block-start-end-0 heading-font " slot=content-start>${this._translations.solutionsContentsAndCount.replace("{{numberOfSolutions}}",this.templateInfos.length.toString())}</div><div class="overflow-auto">${this._accordionLoading?t`<calcite-loader .label=${this._translations.loadingText} scale=m></calcite-loader>`:t`<solution-item-accordion .itemRelationshipDependencies=${e} .listSelectionMode=${e.length>0?"multiple":"single"} .reuseWarning=${this._translations.itemUsedInOtherSolutions} .templateInfos=${this.templateInfos} .typeKeywords=${this.card?.typeKeywords}></solution-item-accordion>`}</div></calcite-accordion-item></calcite-accordion></calcite-panel>`}_getDeleteDialog(){return this._deleteDialogOpen?t`<solution-delete-dialog .card=${this.card} @solutionDeleted=${()=>setTimeout(()=>this.navTabSelected.emit({tabType:"deployments"}),100)} @solutionDeleteDialogBeforeClose=${()=>{this._deleteDialogOpen=!1}} .open=${this._deleteDialogOpen} source="Details Page"></solution-delete-dialog>`:""}_renderDiagramDialog(){return this._isDiagramOpen?t`<calcite-dialog class="dialog-y-size dialog-x-size panel-bg-color" .heading=${this._translations.diagramOfTheSolution.replace("{{solution}}",this.card?.title??"")} id=${this._translations.diagramOfTheSolution.replace("{{solution}}",this.card?.title??"")??c} modal .open=${this._isDiagramOpen} @calciteDialogClose=${()=>{this._isDiagramOpen=!1}} outside-close-disabled scale=m width=l><solution-item-diagram .diagramKey=${this.diagramKey!==""?this.diagramKey:this._configContextConsumer.value?.diagramKey??""} .templateInfoGraph=${this._templateInfoGraph} .typeKeywords=${this.card?.typeKeywords}></solution-item-diagram></calcite-dialog>`:""}async _deleteSolution(){this._deleteDialogOpen=!0}_updateThumbnailToken(e){this._thumbnailUrl!==""&&(this._thumbnailUrl=k(this._thumbnailUrl,e))}};b("solution-deployed-card-panel",h);return h},a,d,e)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import b from"./
|
|
2
|
+
import b from"./LCBZNTKI.js";import a from"./N73GF6WL.js";import"./QHG54NVK.js";import"./DPD6UBKD.js";import"./HBQN25RR.js";import"./SDJWXDEO.js";import"./INWDOVSJ.js";import"./3YQ3LN5J.js";import"./TEHBW75B.js";import"./KU62OLRE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./3IHLJADI.js";import"./B3R52L7H.js";import"./BDXIKPLU.js";import"./G2ME4BAQ.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import"./73AX72WY.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import"./FES7B3SJ.js";import"./FLLZBDVI.js";import"./F2JKSZOE.js";import"./QPIMTXPL.js";export default $arcgis.t(([,a])=>{return a},a,b)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import b from"./
|
|
2
|
+
import b from"./5TPLPDK2.js";import a from"./N73GF6WL.js";import"./QHG54NVK.js";import"./DPD6UBKD.js";import"./HBQN25RR.js";import"./SDJWXDEO.js";import"./INWDOVSJ.js";import"./3YQ3LN5J.js";import"./TEHBW75B.js";import"./KU62OLRE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./3IHLJADI.js";import"./B3R52L7H.js";import"./BDXIKPLU.js";import"./G2ME4BAQ.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import"./73AX72WY.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import"./FES7B3SJ.js";import"./FLLZBDVI.js";import"./F2JKSZOE.js";import"./QPIMTXPL.js";export default $arcgis.t(([,{b:o}])=>{return o},a,b)
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import e from"./LE6OUXPN.js";import d from"./4NCV4IWX.js";import b from"./N73GF6WL.js";import{b as w}from"./QHG54NVK.js";import{b as f}from"./DPD6UBKD.js";import"./HBQN25RR.js";import{a as v}from"./SDJWXDEO.js";import"./INWDOVSJ.js";import"./3YQ3LN5J.js";import"./TEHBW75B.js";import"./KU62OLRE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./3IHLJADI.js";import"./B3R52L7H.js";import"./BDXIKPLU.js";import"./G2ME4BAQ.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import"./73AX72WY.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import"./FES7B3SJ.js";import{b as S}from"./FLLZBDVI.js";import{G as C,h as m,i as a,j as y,q as c}from"./F2JKSZOE.js";import"./QPIMTXPL.js";export default $arcgis.t(([{H:A,K:D,j:x,k:T,n:b,o:h,q:u},{c:E},{a:_,b:I}])=>{var O=m`calcite-panel{width:100%;height:100%;--calcite-panel-background-color: var(--calcite-color-surface-3)}.card-group{overflow:hidden;padding:.25rem var(--calcite-spacing-md) var(--calcite-spacing-md)}solution-details-card{width:calc(25% - .6rem)}@container (max-width: 1234px){solution-details-card{width:calc(33.333% - .6rem)}}@container (max-width: 1010px){solution-details-card{width:calc(50% - .6rem)}}@container (max-width: 800px){.card-group{padding-left:0;padding-right:0}solution-details-card{width:calc(33.33% - .6rem)}}@container (max-width: 680px){solution-details-card{width:calc(50% - .6rem)}}@container (max-width: 440px){solution-details-card{width:calc(100% - .75rem)}}.text-center{text-align:center}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto;font-size:var(--calcite-font-size-md)}.no-solutions{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:calc(100vh - 190px)}.margin-top-half{margin-top:.5rem}.margin-top-1{margin-top:1rem}.no-solutions-prompt{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%}`,L=5,g=class extends C{constructor(){super(),this.sortType="relevance",this._cards=[],this._isLoading=!0,this._modifiedCheckTry=0,this._translations=v({name:"solutions-all-panel",blocking:!0}),this._agoTerms=`${h}`,this._allCards=[],this._baseAgoTerms=h,this._categories=[],this._configContextConsumer=f({context:w,subscribe:!0,callback:async t=>{t&&(this._isDisconnectedEnvironment?this._isLoading=!1:await this._loadUpdateProcedures())}}),this._delay=!1,this._getSuggested=!1,this._relatedSolutions=new Set,this._sortField="relevance",this._sortOrder="desc",this.cardsFetched=c(),this.allCardsFetched=c(),this.searchTermSet=c(),this.sortTypeSet=c(),this.detailsCardSelected=c(),this._handleOpenAssistant=()=>{this._telemetry?.logEvent({category:u.ASSISTANT,action:"Open"}),window.dispatchEvent(new CustomEvent("openAssistant"))},this.listenOn(window,"deployProgressEnd",()=>{this._modifiedCheckTry=L,this._loadUpdateProcedures()}),this.listenOn(window,"solutionDeleted",()=>{this._modifiedCheckTry=L,this._loadUpdateProcedures()}),this.listenOn(window,"sortTypeChanged",t=>{t.detail&&t.detail.scope==="all-solutions"&&(this.sortType=t.detail.sortType,this._telemetry?.logEvent({category:u.ALL_SOLUTIONS,action:"Sort",dimensions:[A(t.detail.sortType)]}),this.sortType==="suggested"&&this._deployedSolutions?.cards.length===0?this._getDeployedSolutions().then(()=>{this.searchSolutions(t.detail)}):this.searchSolutions(t.detail))}),this.listenOn(window,"solutionIDFromAssistant",t=>{this._lookupSolutionById(t.detail)})}static{this.properties={sortType:1,_cards:16,_isLoading:16,_modifiedCheckTry:16,_translations:16}}static{this.styles=O}get _isEnterprise(){return this._configContextConsumer.value?.isEnterprise}get _telemetry(){return this._configContextConsumer.value?.telemetrySession}get _isDisconnectedEnvironment(){return this._configContextConsumer.value?.isEnterprise===!0&&this._configContextConsumer.value?.authentication?.CanSearchArcGISOnline===!1}async searchSolutions(t){this._isDisconnectedEnvironment||(t?"searchTerm"in t?this._textSearch(t.searchTerm):"sortType"in t?this._sortCards(t):Array.isArray(t)&&this._filterCards(t):(this._agoTerms=this._baseAgoTerms,this._clearFilterCategories()),this._cards=await this._getSolutions())}async setSearchOptions(t){t&&("searchTerm"in t&&(this._textSearch(t.searchTerm),this.searchTermSet.emit({searchTerm:t.searchTerm,scope:"all-solutions"})),"sortType"in t&&(this._sortCards(t),this.sortTypeSet.emit({sortType:t.sortType,scope:"all-solutions"})))}render(){let t=this._configContextConsumer.value?.authentication?.IsSignedIn&&this._configContextConsumer.value?.authentication?.CanUseAI;return this._isDisconnectedEnvironment?a`<div class="no-solutions">${this._getMeridianSearch()}<div class="no-solutions-prompt"><div class="text-center leader-1 warning-text trailer-1"><div>${this._translations.disconnectedEnvironment}</div></div></div></div>`:this._isLoading||this._cards.length?a`<calcite-panel>${this._isLoading?a`<calcite-loader id=solutions-all-panel-loader .label=${this._translations.fetchingSolutions}></calcite-loader>`:a`<calcite-card-group class="card-group" .label=${this._translations.allSolutionCards}>${this._renderCards()}</calcite-card-group>`}</calcite-panel>`:a`<div class="no-solutions">${this._getMeridianSearch()}<div class="no-solutions-prompt"><div class="text-center leader-1 warning-text trailer-1"><div>${this._translations.noSolutionsFound}</div><div class="margin-top-half">${!this._isEnterprise&&t?this._translations.assistantHelp:this._translations.changeSearchTerm}</div></div>${!this._isEnterprise&&t&&a`<calcite-button appearance=outline icon-start=speech-bubbles @click=${this._handleOpenAssistant} @keydown=${e=>D(e,()=>this._handleOpenAssistant())} scale=l>${this._translations.askAssistant}</calcite-button>`||""}</div></div>`}_renderCards(){return this._cards.map(t=>a`<solution-details-card .card=${t}></solution-details-card>`)}async _getSolutions(){if(this._isDisconnectedEnvironment)return this._isLoading=!1,[];if(this._configContextConsumer.value){this._isLoading=!0,this._abortController?(this._abortController.abort(),this._abortController=new AbortController):this._abortController=new AbortController;let t=await this._cardsFetcher?.requestAvailableSolutionCards({q:this._agoTerms,filter:"type:Solution",sortField:this._sortField,sortOrder:this._sortOrder,nextStart:-1,categories:this._categories,delay:this._delay,getSuggested:this._getSuggested,num:100},this._configContextConsumer.value?.primarySolutionsGroupId,this._configContextConsumer.value?.agoBasedEnterpriseSolutionsGroupId,this._configContextConsumer.value?.userSession,this._configContextConsumer.value?.isEnterprise,this._abortController.signal,{num:1e3});this._abortController=void 0;let e=t?.cards.length?t.cards:[];if(this.sortType==="new"||this.sortType==="updated"){let s="/Categories/New Release";this.sortType==="updated"&&(s="/Categories/Updated"),e.sort((l,d)=>l.categories.includes(s)&&!d.categories.includes(s)?-1:!l.categories.includes(s)&&d.categories.includes(s)?1:l.categories.includes(s)&&d.categories.includes(s)?l.categories.length-d.categories.length:0)}else if(this.sortType==="suggested"&&this._relatedSolutions.size>0&&this._deployedSolutions?.cards?.length){let s=new Map;for(let i of e){let r=s.get(i.deployCommonId),n=Number(i.deployVersion);(!r||n>r)&&s.set(i.deployCommonId,n)}let l=this._deployedSolutions.cards.filter(i=>{let r=s.get(i.deployCommonId);return r!==void 0&&Number(i.deployVersion)>=r}),d=new Set(l.map(i=>i.deployCommonId));this._relatedSolutions=new Set([...this._relatedSolutions].filter(i=>!d.has(i))),e.sort((i,r)=>{let n=this._relatedSolutions.has(i.deployCommonId),p=this._relatedSolutions.has(r.deployCommonId);return n&&!p?-1:!n&&p?1:0})}let o=e.map(s=>{let l=s.categories.indexOf("/Categories/New Release")>-1,d=s.categories.indexOf("/Categories/Updated")>-1,i=!1,r=!0;this._deployedSolutions&&(i=this._isSolutionDeployed(s.deployCommonId),r=this._isLatestVersion(s));let n=[];return l?n.push("new"):d&&n.push("updated"),i&&r&&n.push("deployed"),s.chips=n.length>0?n:void 0,s.supportReuse=i?!!(i&&!r):!0,s});return this._allCards.length===0&&t?.cards&&(this._allCards=t?.cards,this._deployedSolutions&&(this._relatedSolutions=E(this._deployedSolutions.cards,this._allCards))),this.cardsFetched.emit(o.length),this._isLoading=!1,o}else return this._isLoading=!1,[]}async _loadUpdateProcedures(){if(this._isDisconnectedEnvironment){this._isLoading=!1;return}this._isLoading=!0;let t=this._configContextConsumer.value;this._cardsFetcher=new _(t.locale,t.orgUrl,t.portalURL),this._cardsFetcherDeployed=new _(t.locale,t.orgUrl,t.portalURL),await this._getDeployedSolutions(),this._cards=await this._getSolutions(),this.allCardsFetched.emit(this._cards),this._isLoading=!1}async _getDeployedSolutions(){let t=this._configContextConsumer.value.authentication,e=this._configContextConsumer.value.userSession;if(t&&e&&t.IsSignedIn){this._abortControllerDeployed?(this._abortControllerDeployed.abort(),this._abortControllerDeployed=new AbortController):this._abortControllerDeployed=new AbortController;let o=await I(t,e,this._cardsFetcher,this._cardsFetcherDeployed,b,"created",this._sortOrder,void 0,this._categories,void 0,this._abortControllerDeployed.signal);if(this._abortControllerDeployed=void 0,o){if(this._modifiedCheckTry>0){if(this._deployedSolutions?.cards.length===o?.cards.length)return this._modifiedCheckTry--,await this._getDeployedSolutions();this._modifiedCheckTry=0}this._deployedSolutions=o}}}_getMeridianSearch(){return a`<div><svg viewBox="0 0 64 64" width=140 height=140 xmlns=http://www.w3.org/2000/svg fill=var(--calcite-color-text-3)>${y`<path d="M60.217 54.937l-15.77-15.77-1.414 1.415-3.801-3.8a19.94 19.94 0 1 0-2.451 2.45l3.802 3.802-1.413 1.415 15.767 15.767a1.739 1.739 0 0 0 2.459 0l2.82-2.821a1.742 1.742 0 0 0 0-2.458zM4.9 24A19.1 19.1 0 1 1 24 43.1 19.121 19.121 0 0 1 4.9 24zm32.474 14.693q.69-.63 1.32-1.32l3.774 3.775-1.32 1.32zM59.65 56.83l-2.82 2.82a.97.97 0 0 1-1.327 0L40.3 44.45l4.145-4.15L59.65 55.501a.939.939 0 0 1 0 1.328zM22.343 9.62l.097.795q-.31.038-.619.086a13.635 13.635 0 0 0-11.353 11.775l-.026.217-.795-.084.026-.228a14.44 14.44 0 0 1 12.022-12.47c.215-.034.431-.064.648-.09z" />`}</svg></div>`}_textSearch(t){this._agoTerms=this._baseAgoTerms+` ${t}`}_sortCards(t){let e=t.sortType;this._getSuggested=!1,this._sortOrder="desc",e==="suggested"?this._getSuggested=!0:e==="new"?this._sortField="relevance":e==="relevance"||e==="title"?(e==="title"&&(this._sortOrder="asc"),this._sortField=e):e==="updated"&&(this._sortField="relevance"),this.sortType=e}_filterCards(t){this._categories=[],t.forEach(e=>{if(e.industry){let o=this._getIndustryValue(e.industry);if(e.domain){let s=this._getDomainValue(e.domain);this._categories.push(`/Categories/${o}/${s}`)}else this._categories.push(`/Categories/${o}`)}})}_getDomainValue(t){return T[t]}_getIndustryValue(t){return t==="AEC"?"AEC":x[t]}_clearFilterCategories(){this._categories=[]}_isSolutionDeployed(t){return!!this._deployedSolutions?.cards?.some(e=>e?.typeKeywords?.some(o=>o.includes("solutionid")&&o.includes(t)))}_isLatestVersion(t){let e=this._deployedSolutions?.cards?.filter(o=>o?.typeKeywords?.some(s=>s.includes("solutionid")&&s.includes(t.deployCommonId)));return!(e&&e.length>0&&e[0].deployVersion!==t.deployVersion)}_lookupSolutionById(t){let e=this._allCards.filter(o=>o.deployCommonId===t);e.length>0&&this.detailsCardSelected.emit(e[0])}};S("solutions-all-panel",g);return g},b,d,e)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import b from"./
|
|
2
|
+
import b from"./7EEAVPTU.js";import"./JZHP22BA.js";import a from"./N73GF6WL.js";import"./QHG54NVK.js";import"./DPD6UBKD.js";import"./HBQN25RR.js";import"./SDJWXDEO.js";import"./INWDOVSJ.js";import"./3YQ3LN5J.js";import"./TEHBW75B.js";import"./KU62OLRE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./3IHLJADI.js";import"./B3R52L7H.js";import"./BDXIKPLU.js";import"./G2ME4BAQ.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import"./73AX72WY.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import"./FES7B3SJ.js";import"./FLLZBDVI.js";import"./F2JKSZOE.js";import"./QPIMTXPL.js";export default $arcgis.t(([,a])=>{return a},a,b)
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import s from"./BIYG7PA2.js";import r from"./7EEAVPTU.js";import q from"./LCBZNTKI.js";import o from"./5TPLPDK2.js";import n from"./LE6OUXPN.js";import m from"./EUY3GSFI.js";import"./BDENYZEG.js";import k from"./BF6NM5HV.js";import j from"./E7RDA5B4.js";import i from"./UHVBUHU3.js";import e from"./4NCV4IWX.js";import c from"./QF3LZFWW.js";import{a as D}from"./JZHP22BA.js";import"./JA3R6YUV.js";import b from"./N73GF6WL.js";import{a as w,b as x}from"./QHG54NVK.js";import{a as u}from"./DPD6UBKD.js";import"./HBQN25RR.js";import{a as S}from"./SDJWXDEO.js";import"./INWDOVSJ.js";import"./3YQ3LN5J.js";import"./TEHBW75B.js";import"./KU62OLRE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./3IHLJADI.js";import"./B3R52L7H.js";import"./BDXIKPLU.js";import"./G2ME4BAQ.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import"./73AX72WY.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import"./FES7B3SJ.js";import{b as f}from"./FLLZBDVI.js";import{E as l,F as a,G as v,I as p,K as C,h as g,i as h,q as d}from"./F2JKSZOE.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,,,{c:A,j:O,n:F,o:$,q:c},,{g:k,h:M},,{b:I},,,{a:T,b:R},{a:y}])=>{var P=g`.back-color-override{background-color:var(--calcite-color-surface-3);--calcite-tab-border-color: var(--calcite-color-surface-4)}:host{--assistant-panel-width: 420px}.display-none{display:none!important}.height-100{height:100%}calcite-tab-nav{padding-bottom:6px;padding-top:6px}calcite-tab{--calcite-color-focus: transparent}calcite-tab>*{--calcite-color-focus: initial}calcite-tabs{--calcite-tab-border-color: var(--calcite-color-border-2);flex:1;min-height:0}.tab-space-0{--calcite-tab-content-space-y: var(--calcite-spacing-none)}.tab-space-md{--calcite-tab-content-space-y: var(--calcite-spacing-md)}solutions-searchsort-toolbar,solutions-deploy-app-nav,solution-details-panel,solutions-deployed-shell,solutions-all-shell,calcite-tab-nav,solution-deployed-card-panel{width:1440px;display:block;max-width:96vw;padding-right:var(--calcite-spacing-none);padding-left:var(--calcite-spacing-none);margin-left:auto;margin-right:auto;box-sizing:border-box}.border{height:var(--calcite-spacing-px);border-bottom-color:var(--calcite-color-border-2);border-bottom-style:solid;border-bottom-width:var(--calcite-border-width-sm);box-sizing:border-box}.overflow-auto{overflow:auto}solution-details-panel{scroll-margin-top:3rem}.main-content{container-type:inline-size;display:flex;flex-direction:column;height:100%;overflow:hidden}.main-content.assistant-open{margin-right:var(--assistant-panel-width)}.assistant-open solutions-searchsort-toolbar,.assistant-open solution-details-panel,.assistant-open solutions-deployed-shell,.assistant-open solutions-all-shell,.assistant-open calcite-tab-nav,.assistant-open solution-deployed-card-panel{margin-left:max(2vw,calc((100vw - 1440px)/2));margin-right:0;width:auto;max-width:1440px}.assistant-panel{position:fixed;top:65px;right:0;bottom:0;width:var(--assistant-panel-width);z-index:400;display:flex;flex-direction:column;box-shadow:-6px 0 8px -4px #00000026}@media(max-width:800px){.assistant-panel{width:100%;box-shadow:none}.main-content.assistant-open{margin-right:0}}.assistant-fab{position:fixed;bottom:var(--calcite-spacing-xxl);right:var(--calcite-spacing-xxl);z-index:500}calcite-tooltip{--calcite-tooltip-max-size-x: 16rem}`,m=class extends v{constructor(){super(),this.initTitleOrId="",this.sortType="relevance",this.useLocalAppConfig=!1,this.authentication=void 0,this._isLoaded=!1,this.isMobile=!1,this._isAssistantOpen=!1,this._showFabTooltip=!0,this._activeTab="all-solutions",this._showDeployedCardFetchFailed=!1,this._globalAlerts=[],this._translations=S({name:"solutions-deploy-app",blocking:!0}),this._agoTerms=`${$}`,this._allCards=[],this._allShell=l(),this._allTab=l(),this._allTabTitle=l(),this._resourcesTab=l(),this._resourcesTabTitle=l(),this._categories=[],this._configContextProvider=u({context:x}),this._delay=!1,this._deployAppNav=l(),this._deployedCardPanel=l(),this._deployCardFetchFailedMessage="",this._deployedCardTab=l(),this._deployedCardTabTitle=l(),this._detailsShell=l(),this._detailsTab=l(),this._detailsTabTitle=l(),this._forceInit=!1,this._getSuggested=!1,this._tabpanelsFixed=!1,this._isMobileContextProvider=u({context:w}),this._mainContentRef=l(),this._mySolutionsShell=l(),this._mySolutionsTab=l(),this._mySolutionsTabTitle=l(),this._sortField="relevance",this._sortOrder="desc",this._telemetryManager=new y,this.deployAppTabSelected=d(),this.deployedCardFetchFailed=d(),this.detailsCardSelected=d(),this.deployedCardSelected=d(),this.metaTagStringsReady=d(),this.sessionRefreshed=d(),this.tabChanged=d(),this.listenOn(window,"detailsCardSelected",this._detailsCardSelected),this.listenOn(window,"deployedCardSelected",this._deployedCardSelected),this.listenOn(window,"displayDeployedCard",this._handleDeployedCardDisplay),this.listenOn(window,"navTabSelected",this._setActiveTab),this.listenOn(window,"forceSelectTab",t=>this.selectTab(t.detail,{})),this.listenOn(window,"showGlobalAlert",this._handleShowGlobalAlert),this.listenOn(window,"openAssistant",()=>{this._openAssistant()}),this.listenOn(window,"closeAssistant",()=>{this._isAssistantOpen=!1})}static{this.properties={appConfig:1,initTab:1,initTitleOrId:1,sortType:1,useLocalAppConfig:5,authentication:16,_isLoaded:16,isMobile:16,_isAssistantOpen:16,_showFabTooltip:16,_activeTab:16,_showDeployedCardFetchFailed:16,_globalAlerts:16,_translations:16}}static{this.styles=P}get _telemetry(){return this._configContextProvider.value?.telemetrySession}get _isDisconnectedEnvironment(){return this._configContextProvider.value?.isEnterprise===!0&&this._configContextProvider.value?.authentication?.CanSearchArcGISOnline===!1}_openAssistant(){this._telemetry?.logEvent({category:c.ASSISTANT,action:"Open"}),this._isAssistantOpen=!0}async selectTab(t,e){if(this._isLoaded||this._forceInit){let s=this._getDefaultSearchOptions(e);switch(this._searchSortToolbar&&(this._searchSortToolbar.scope=t.tabType),t.tabType){case"all-solutions":this._allTab.value.selected=!0,this._allTabTitle.value.selected=!0,s&&await this._allShell.value?.searchSolutions(s);break;case"resources":this._resourcesTab.value.selected=!0,this._resourcesTabTitle.value.selected=!0;break;case"deployed-card":if(this.authentication?.IsSignedIn){if(this._forceInit=!0,this._isLoaded=!1,this._cardFetcherDeployed&&await this._getDeployedSolution(t.tabTitleOrId),this._deployedSolutions?.cards?.length>0){let i;this._deployedSolutions.cards.some(o=>o.id===t.tabTitleOrId?(i=o,this.deployedCardSelected.emit({card:i}),!0):!1),this._isLoaded=!0,this._forceInit=!1}else return this._isLoaded=!0,this._forceInit=!1,this.selectTab({tabTitleOrId:"",tabType:"deployments"},e);break}else await this.authentication?.signIn();case"details":if(this._allCards){let i=k(this._allCards,t.tabTitleOrId);i=i||M(this._allCards,t.tabTitleOrId),i?(this._detailsTab.value.selected=!0,this._detailsTabTitle.value.selected=!0,this.detailsCardSelected.emit(i)):(t.tabType="all-solutions",this._allTab.value.selected=!0,this._allTabTitle.value.selected=!0)}break;case"deployments":this._mySolutionsTab.value.selected=!0,this._mySolutionsTabTitle.value.selected=!0,this._searchSortToolbar&&s?.filter&&this._searchSortToolbar.changeOwnerFilter(s.filter!=="Organization"),s&&await this._mySolutionsShell.value?.searchSolutions(s);break}return this._setActiveTab(new CustomEvent("setActiveTab",{detail:t})),this._blurTabs(),this._showDeployedCardFetchFailed&&(this.deployedCardFetchFailed.emit({message:this._deployCardFetchFailedMessage,title:this._translations.failedToOpen}),this._showDeployedCardFetchFailed=!1),!0}else return this._initTab=t,this._initFilters=e,!1}updated(t){this._fixTabpanelFocus(),t.has("_isAssistantOpen")&&this._setScrollbarGutters(this._isAssistantOpen?"stable":"stable both-edges"),!this._resizeObserver&&this._mainContentRef.value&&(this._resizeObserver=new ResizeObserver(e=>{for(let s of e){let i=s.contentRect.width<=800;this.isMobile!==i&&(this.isMobile=i,this._isMobileContextProvider.setValue(i))}}),this._resizeObserver.observe(this._mainContentRef.value))}_fixTabpanelFocus(){if(!this._tabpanelsFixed&&this._allTab.value){let t=[this._allTab,this._mySolutionsTab,this._resourcesTab,this._detailsTab,this._deployedCardTab];Promise.all(t.map(async e=>{let s=e.value;if(s&&(await s.componentOnReady?.(),s.shadowRoot)){let i=s.shadowRoot.querySelector('[role="tabpanel"]');i&&(i.tabIndex=-1)}})).then(()=>{this._tabpanelsFixed=!0,this._setupTabpanelObserver()}).catch(()=>{this._tabpanelsFixed=!0})}}_setupTabpanelObserver(){this._tabpanelObserver||(this._tabpanelObserver=new MutationObserver(t=>{t.forEach(e=>{if(e.type==="attributes"&&e.attributeName==="tabindex"){let s=e.target;s.getAttribute("role")==="tabpanel"&&s.tabIndex===0&&(s.tabIndex=-1)}})}),[this._allTab,this._mySolutionsTab,this._resourcesTab,this._detailsTab,this._deployedCardTab].forEach(t=>{let e=t.value;if(e?.shadowRoot){let s=e.shadowRoot.querySelector('[role="tabpanel"]');s&&this._tabpanelObserver.observe(s,{attributes:!0,attributeFilter:["tabindex"]})}}))}async load(){this.useLocalAppConfig&&(this.appConfig=I)}render(){let t=this._isLoaded?"display-none":"",e=this._isLoaded?"":"display-none";return h`<calcite-shell><solutions-deploy-app-nav .appConfig=${this.appConfig} .assistantOpen=${this._isAssistantOpen} .initTab=${this.initTab} @authInit=${this._handleAuthInit} slot=header ${a(this._deployAppNav)}></solutions-deploy-app-nav><div class=${`main-content${this._isAssistantOpen?" assistant-open":""}`} ${a(this._mainContentRef)}>${this._isSearchToolbarShowing()&&h`<div class="border"></div>`||""}<solutions-searchsort-toolbar ${a(async s=>{s&&(await this._deployAppNav.value?.componentOnReady(),this._searchSortToolbar=s)})}></solutions-searchsort-toolbar><calcite-loader class=${p(t)} id=solutions-loader .label=${this._translations.fetchingAllSolutions}></calcite-loader>${this._renderGlobalAlerts()}<calcite-tabs class=${p(e)} scale=l><calcite-tab-nav class="display-none" @calciteTabChange=${this._handleCalciteTabChanged} slot=title-group><calcite-tab-title ${a(this._allTabTitle)}>${this._translations.allSolutions}</calcite-tab-title><calcite-tab-title ${a(this._mySolutionsTabTitle)}>${this._translations.mySolutions}</calcite-tab-title><calcite-tab-title ${a(this._resourcesTabTitle)}>${this._translations.solutionResources}</calcite-tab-title><calcite-tab-title class="display-none" ${a(this._detailsTabTitle)}></calcite-tab-title><calcite-tab-title class="display-none" ${a(this._deployedCardTabTitle)}></calcite-tab-title></calcite-tab-nav><calcite-tab class="back-color-override tab-space-0" selected ${a(this._allTab)}><solutions-all-shell class="height-100" ${a(this._allShell)}></solutions-all-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${a(this._mySolutionsTab)}><solutions-deployed-shell class="height-100" ${a(this._mySolutionsShell)}></solutions-deployed-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${a(this._resourcesTab)}><solutions-resources-shell .assistantOpen=${this._isAssistantOpen} class="height-100"></solutions-resources-shell></calcite-tab><calcite-tab class="back-color-override" ${a(this._detailsTab)}><solution-details-panel class="height-100" ${a(this._detailsShell)}></solution-details-panel></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${a(this._deployedCardTab)}><solution-deployed-card-panel class="shell-container height-100" ${a(this._deployedCardPanel)}></solution-deployed-card-panel></calcite-tab></calcite-tabs></div>${!this._configContextProvider.value?.isEnterprise&&h`<div class=${`assistant-panel${this._isAssistantOpen?"":" display-none"}`}><arcgis-solutions-assistant class="height-100"></arcgis-solutions-assistant></div><calcite-fab aria-label=${this._translations.assistantFabTooltip??C} class=${`assistant-fab${this._isAssistantOpen?" display-none":""}`} icon=effects id=assistant-fab-button @click=${()=>{this._openAssistant(),this._showFabTooltip=!1}} scale=l></calcite-fab><calcite-tooltip class=${p(this._isAssistantOpen?"display-none":"")} .open=${this._showFabTooltip&&!this._isAssistantOpen} placement=leading reference-element=assistant-fab-button><span>${this._translations.assistantFabTooltip}</span></calcite-tooltip>`||""}</calcite-shell>`}loaded(){this._setScrollbarGutters()}disconnectedCallback(){super.disconnectedCallback(),this._resizeObserver?.disconnect(),this._tabpanelObserver?.disconnect()}_renderGlobalAlerts(){return D(this._globalAlerts,t=>t.id,t=>h`<calcite-alert .autoClose=${t.autoClose} .autoCloseDuration=${t.autoCloseDuration} .icon=${t.icon} .kind=${t.kind} .label=${t.title||""} @calciteAlertClose=${()=>this._removeGlobalAlert(t.id)} open>${t.title&&h`<div slot=title>${t.title}</div>`||""}<div slot=message>${t.message}</div></calcite-alert>`)}async _handleAuthInit(t){let e=t.detail;e.telemetrySession||(e.telemetrySession=y.getDisabledSession()),this._configContextProvider.setValue(e),e.authentication&&(this.authentication=e.authentication),this._cardFetcherDeployed=new T(e.locale,e.orgUrl,e.portalURL),this._cardsFetcher=new T(e.locale,e.orgUrl,e.portalURL),this._isDisconnectedEnvironment||await this._getSolutions(e.primarySolutionsGroupId,e.agoBasedEnterpriseSolutionsGroupId),this._configContextProvider.value.allCards=this._allCards,this._configContextProvider.value.anonAgolSession=this._cardsFetcher.anonAgolSession,this._configContextProvider.value.agolPortalUrl=this._cardsFetcher.agolPortalUrl,await this._initializeTelemetry(),this._isLoaded=!0,this._setRefreshInterval(),this._initTab?(this.selectTab(this._initTab,this._initFilters),this._logTabViewTelemetry(this._initTab.tabType),this._initTab=void 0,this._initFilters=void 0):this.authentication?.IsSignedIn&&(this.initTab==="details"||this.initTab==="deployed-card"||(this._logTabViewTelemetry(this._activeTab),this._emitMetaTagStrings(this._activeTab)))}_setActiveTab(t){let e=t.detail.tabType,s=this._activeTab!==e;switch(this._activeTab=e,s&&this._logTabViewTelemetry(e),e){case"all-solutions":this._allTabTitle.value?.click();break;case"deployments":this._mySolutionsTabTitle.value?.click();break;case"resources":this._resourcesTabTitle.value?.click();break;case"deployed-card":this._deployedCardTabTitle.value?.click();break;case"details":this._detailsTabTitle.value?.click();break}e!=="details"&&e!=="deployed-card"&&(this._deployAppNav.value.activateMenuItem(e),this.deployAppTabSelected.emit(e),this._emitMetaTagStrings(e))}_logTabViewTelemetry(t,e){let s;switch(t){case"all-solutions":s=c.ALL_SOLUTIONS;break;case"deployments":s=c.DEPLOYMENTS;break;case"resources":s=c.RESOURCES;break;case"details":s=c.SOLUTION_DETAILS;break;case"deployed-card":s=c.DEPLOYMENTS;break}if(!((t==="details"||t==="deployed-card")&&!e)&&s){let i=[];if((t==="details"||t==="deployed-card")&&e){let n=e;i.push(n.title||""),i.push(n.deployCommonId||""),i.push(n.deployVersion||"")}let o=t==="deployed-card"?"Open":"View";this._telemetry?.logEvent({category:s,action:o,dimensions:i.length>0?i:void 0})}}_emitMetaTagStrings(t,e){let s="",i="";switch(t){case"all-solutions":s=this._translations.metaAllSolutionsTitle,i=this._translations.metaAllSolutionsDescription;break;case"deployments":case"deployed-card":s=this._translations.metaDeploymentsTitle,i=this._translations.metaDeploymentsDescription;break;case"resources":s=this._translations.metaResourcesTitle,i=this._translations.metaResourcesDescription;break;case"details":e&&(s=this._translations.metaDetailsTitle.replace("{title}",e.title),i=e.snippet);break}this.metaTagStringsReady.emit({pageType:t,title:s,description:i,detailTemplate:e})}_handleCalciteTabChanged(){this.tabChanged.emit(this._activeTab)}_detailsCardSelected(t){this._activeTab="details",this._detailsTabTitle.value.selected=!0,this._detailsTab.value.selected=!0,this._deployAppNav.value.clearMenuItems(),t?.detail&&(this._selectedDetailsCard=t.detail),this._logTabViewTelemetry("details",this._selectedDetailsCard),this._emitMetaTagStrings("details",this._selectedDetailsCard)}_deployedCardSelected(t){this._activeTab="deployed-card",this._deployedCardTabTitle.value.selected=!0,this._deployedCardTab.value.selected=!0,this._deployAppNav.value.clearMenuItems(),t?.detail?.card&&(this._selectedDeployedCard=t.detail.card),this._logTabViewTelemetry("deployed-card",this._selectedDeployedCard),this._emitMetaTagStrings("deployed-card")}_handleDeployedCardDisplay(t){let{card:e,cardRef:s}=t.detail;this.deployedCardSelected.emit({card:e,cardRef:s})}_handleShowGlobalAlert(t){let e=t.detail,s=e.id||`alert-${Date.now()}-${Math.random().toString(36).substr(2,9)}`;this._globalAlerts=[...this._globalAlerts,{...e,id:s}]}_removeGlobalAlert(t){this._globalAlerts=this._globalAlerts.filter(e=>e.id!==t)}async _initializeTelemetry(){let t=this._configContextProvider.value;if(!this.authentication||!t)return;let e=await this._telemetryManager.initializeTelemetry(this.authentication,t);this._configContextProvider.value.telemetrySession=e}async _getSolutions(t,e){if(this._isDisconnectedEnvironment)return[];this._abortController?(this._abortController.abort(),this._abortController=new AbortController):this._abortController=new AbortController;let s=await this._cardsFetcher?.requestAvailableSolutionCards({q:this._agoTerms,filter:"type:Solution",sortField:this._sortField,sortOrder:this._sortOrder,nextStart:-1,categories:this._categories,delay:this._delay,getSuggested:this._getSuggested,num:100},t,e,this._configContextProvider.value.userSession,this._configContextProvider.value.isEnterprise,this._abortController.signal,{num:1e3});return this._abortController=void 0,this._allCards.length===0&&s?.cards&&(this._allCards=s?.cards),this._allCards}async _getDeployedSolution(t){let e=this._configContextProvider.value.authentication,s=this._configContextProvider.value.userSession;if(e&&s&&e.IsSignedIn){this._abortControllerDeployed?(this._abortControllerDeployed.abort(),this._abortControllerDeployed=new AbortController):this._abortControllerDeployed=new AbortController;let i=A(e);try{let o=await R(e,s,this._cardsFetcher,this._cardFetcherDeployed,F,"created","desc",!1,[],[],this._abortControllerDeployed.signal,i?"My organization's solutions":"My solutions",t);o.cards.length===0||o.cards[0].typeKeywords.indexOf("Deployed")<0?(this._deployCardFetchFailedMessage=this._translations.failedToFetchNotSolution.replace("{{ITEMID}}",t),this._showDeployedCardFetchFailed=!0):this._deployedSolutions=o}catch(o){let n=o.message;n.indexOf("CONT_0001")>-1||n.indexOf("Item does not exist or is inaccessible.")>-1?(this._deployCardFetchFailedMessage=this._translations.failedToFetchWrongId.replace("{{ITEMID}}",t),this._showDeployedCardFetchFailed=!0):n.indexOf("GWM_0003")>-1||n.indexOf("You do not have permissions to access this resource or perform this operation.")>-1?(this._deployCardFetchFailedMessage=this._translations.failedToFetchWrongPermissions.replace("{{ITEMID}}",t),this._showDeployedCardFetchFailed=!0):(this._showDeployedCardFetchFailed=!0,this._deployCardFetchFailedMessage=""),console.warn(o)}}}_blurTabs(){this._allTabTitle.value?.blur(),this._resourcesTabTitle.value?.blur(),this._detailsTabTitle.value?.blur(),this._mySolutionsTabTitle.value?.blur()}_isSearchToolbarShowing(){return this._activeTab==="all-solutions"||this._activeTab==="deployments"&&this.authentication?.IsSignedIn===!0}_getDefaultSearchOptions(t){let e;if(t){let s=t.domain,i=t.industry==="AEC"?O.AEC:t.industry,o=t.offerType,n=t.searchTerm,E="",r=t.sortField,b=t.owner,_=t.filter;r==="suggested"&&!this.authentication?.IsSignedIn&&(r=this.sortType),e=s||i?{type:s?"domain":i?"industry":""}:void 0,s&&(e=e?{...e,domain:s}:{domain:s}),i&&(e=e?{...e,industry:i}:{industry:i}),n&&(e=e?{...e,searchTerm:n}:{searchTerm:n}),e&&(e={...e,displayValue:E}),r&&(e=e?{...e,sortType:r}:{sortType:r}),o&&(r=o.toLowerCase(),e=e?{...e,sortType:r}:{sortType:r}),b&&(e=e?{...e,owner:b}:{owner:b}),_&&(e=e?{...e,filter:_}:{filter:_})}return e}_setScrollbarGutters(t="stable both-edges"){[this._allTab,this._mySolutionsTab,this._resourcesTab,this._detailsTab,this._deployedCardTab].forEach(e=>{let s=e.value?.shadowRoot?.firstElementChild;s?.style&&(s.style.scrollbarGutter=t)})}_setRefreshInterval(){let{userSession:t,authentication:e}=this._configContextProvider.value;if(t&&t.tokenDuration&&e?.IsSignedIn){let s=Date.now(),i=(e.Credential?.expires-s)*.95;setInterval(async()=>{if(e.Credential&&e.Credential.expires){await e.Credential?.refreshToken();let o=new Date(e.Credential.expires);t.updateToken(e.Credential.token,o),this.sessionRefreshed.emit(t.token)}},i)}}};f("solutions-deploy-app",m);return m},"identity/IdentityManager","identity/OAuthInfo","portal/Portal","intl",b,c,e,i,j,k,m,n,o,q,r,s)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"agentProgress":{"explorerAgentReading":"Reading through the documentation...","explorerAgentReviewing":"Reviewing what I found...","explorerAgentPreparing":"Preparing a response..."},"betaTag":"beta","defaultStartUpMessage":"<p>Hi {{name}}! I’m your ArcGIS Solutions assistant.</p><p>Whether you’re looking for the right solution to tackle a business challenge, or you have questions about ArcGIS Solutions — like how to deploy, configure, or use them — I’m here to help.</p><p>Tell me about what you’re working on, the challenges you’re facing, or a solution you’re curious about, and we’ll explore the best options together. Try one of these suggestions or type your question below.</p>","defaultFollowUpQuestions":{"engagePublic":"What solutions can help me engage the public?","howToDeploy":"How do I deploy an ArcGIS Solution?","solutionsForEmergencies":"What solutions are available for emergency management?"},"disclaimerMessage":"Responses are generated by AI and may be inaccurate.","executingSolutionsExplorerAgent":"Searching ArcGIS Solutions documentation..","executingSolutionsAssistantAgent":"Preparing a response...","genericErrorMessage":"I'm sorry, I ran into a problem with your request. Please try again, or rephrase your question for better results.","newConversationStarted":"New conversation started","noPermissionTitle":"ArcGIS Solutions assistant (beta) is not available.","noPermissionMessage":"To use the ArcGIS Solutions assistant (beta), an <a href='{{orgUrl}}' target='_blank'>ArcGIS Online organizational account</a> with privileges to use AI assistants is required. Other account types, such as public accounts, are not currently supported. In addition, your ArcGIS Online administrator must <a href='{{configAI}}' target='_blank'>configure AI assistants</a>.","reportConcern":"Report a security concern.","solutionsDocReference":"reference","solutionsDocReferences":"references","sendMessage":"Type your question","solutionAssistantTitle":"ArcGIS Solutions assistant","signIn":"Sign in","signInMessage":"Sign in with your ArcGIS account to start using the ArcGIS Solutions assistant (beta).","tooltips":{"likeButton":"Positive feeback","dislikeButton":"Negative feedback","copyButton":"Copy","newConversation":"New conversation","sendQuestion":"Send"},"viewSolutionInApp":"View solution"}
|
|
1
|
+
{"agentProgress":{"explorerAgentReading":"Reading through the documentation...","explorerAgentReviewing":"Reviewing what I found...","explorerAgentPreparing":"Preparing a response..."},"betaTag":"beta","defaultStartUpMessage":"<p>Hi {{name}}! I’m your ArcGIS Solutions assistant.</p><p>Whether you’re looking for the right solution to tackle a business challenge, or you have questions about ArcGIS Solutions — like how to deploy, configure, or use them — I’m here to help.</p><p>Tell me about what you’re working on, the challenges you’re facing, or a solution you’re curious about, and we’ll explore the best options together. Try one of these suggestions or type your question below.</p>","defaultFollowUpQuestions":{"engagePublic":"What solutions can help me engage the public?","howToDeploy":"How do I deploy an ArcGIS Solution?","solutionsForEmergencies":"What solutions are available for emergency management?"},"disclaimerMessage":"Responses are generated by AI and may be inaccurate.","executingSolutionsExplorerAgent":"Searching ArcGIS Solutions documentation..","executingSolutionsAssistantAgent":"Preparing a response...","genericErrorMessage":"I'm sorry, I ran into a problem with your request. Please try again, or rephrase your question for better results.","newConversationStarted":"New conversation started","noPermissionTitle":"ArcGIS Solutions assistant (beta) is not available.","noPermissionMessage":"To use the ArcGIS Solutions assistant (beta), an <a href='{{orgUrl}}' target='_blank'>ArcGIS Online organizational account</a> with privileges to use AI assistants is required. Other account types, such as public accounts, are not currently supported. In addition, your ArcGIS Online administrator must <a href='{{configAI}}' target='_blank'>configure AI assistants</a>.","reportConcern":"Report a security concern.","solutionsDocReference":"reference","solutionsDocReferences":"references","sendMessage":"Type your question","solutionAssistantTitle":"ArcGIS Solutions assistant","signIn":"Sign in","signInMessage":"Sign in with your ArcGIS account to start using the ArcGIS Solutions assistant (beta).","tooltips":{"close":"Close","likeButton":"Positive feeback","dislikeButton":"Negative feedback","copyButton":"Copy","newConversation":"New conversation","sendQuestion":"Send"},"viewSolutionInApp":"View solution","beta":"Beta"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"agentProgress":{"explorerAgentReading":"Reading through the documentation...","explorerAgentReviewing":"Reviewing what I found...","explorerAgentPreparing":"Preparing a response..."},"betaTag":"beta","defaultStartUpMessage":"<p>Hi {{name}}! I’m your ArcGIS Solutions assistant.</p><p>Whether you’re looking for the right solution to tackle a business challenge, or you have questions about ArcGIS Solutions — like how to deploy, configure, or use them — I’m here to help.</p><p>Tell me about what you’re working on, the challenges you’re facing, or a solution you’re curious about, and we’ll explore the best options together. Try one of these suggestions or type your question below.</p>","defaultFollowUpQuestions":{"engagePublic":"What solutions can help me engage the public?","howToDeploy":"How do I deploy an ArcGIS Solution?","solutionsForEmergencies":"What solutions are available for emergency management?"},"disclaimerMessage":"Responses are generated by AI and may be inaccurate.","executingSolutionsExplorerAgent":"Searching ArcGIS Solutions documentation..","executingSolutionsAssistantAgent":"Preparing a response...","genericErrorMessage":"I'm sorry, I ran into a problem with your request. Please try again, or rephrase your question for better results.","newConversationStarted":"New conversation started","noPermissionTitle":"ArcGIS Solutions assistant (beta) is not available.","noPermissionMessage":"To use the ArcGIS Solutions assistant (beta), an <a href='{{orgUrl}}' target='_blank'>ArcGIS Online organizational account</a> with privileges to use AI assistants is required. Other account types, such as public accounts, are not currently supported. In addition, your ArcGIS Online administrator must <a href='{{configAI}}' target='_blank'>configure AI assistants</a>.","reportConcern":"Report a security concern.","solutionsDocReference":"reference","solutionsDocReferences":"references","sendMessage":"Type your question","solutionAssistantTitle":"ArcGIS Solutions assistant","signIn":"Sign in","signInMessage":"Sign in with your ArcGIS account to start using the ArcGIS Solutions assistant (beta).","tooltips":{"likeButton":"Positive feeback","dislikeButton":"Negative feedback","copyButton":"Copy","newConversation":"New conversation","sendQuestion":"Send"},"viewSolutionInApp":"View solution"}
|
|
1
|
+
{"agentProgress":{"explorerAgentReading":"Reading through the documentation...","explorerAgentReviewing":"Reviewing what I found...","explorerAgentPreparing":"Preparing a response..."},"betaTag":"beta","defaultStartUpMessage":"<p>Hi {{name}}! I’m your ArcGIS Solutions assistant.</p><p>Whether you’re looking for the right solution to tackle a business challenge, or you have questions about ArcGIS Solutions — like how to deploy, configure, or use them — I’m here to help.</p><p>Tell me about what you’re working on, the challenges you’re facing, or a solution you’re curious about, and we’ll explore the best options together. Try one of these suggestions or type your question below.</p>","defaultFollowUpQuestions":{"engagePublic":"What solutions can help me engage the public?","howToDeploy":"How do I deploy an ArcGIS Solution?","solutionsForEmergencies":"What solutions are available for emergency management?"},"disclaimerMessage":"Responses are generated by AI and may be inaccurate.","executingSolutionsExplorerAgent":"Searching ArcGIS Solutions documentation..","executingSolutionsAssistantAgent":"Preparing a response...","genericErrorMessage":"I'm sorry, I ran into a problem with your request. Please try again, or rephrase your question for better results.","newConversationStarted":"New conversation started","noPermissionTitle":"ArcGIS Solutions assistant (beta) is not available.","noPermissionMessage":"To use the ArcGIS Solutions assistant (beta), an <a href='{{orgUrl}}' target='_blank'>ArcGIS Online organizational account</a> with privileges to use AI assistants is required. Other account types, such as public accounts, are not currently supported. In addition, your ArcGIS Online administrator must <a href='{{configAI}}' target='_blank'>configure AI assistants</a>.","reportConcern":"Report a security concern.","solutionsDocReference":"reference","solutionsDocReferences":"references","sendMessage":"Type your question","solutionAssistantTitle":"ArcGIS Solutions assistant","signIn":"Sign in","signInMessage":"Sign in with your ArcGIS account to start using the ArcGIS Solutions assistant (beta).","tooltips":{"close":"Close","likeButton":"Positive feeback","dislikeButton":"Negative feedback","copyButton":"Copy","newConversation":"New conversation","sendQuestion":"Send"},"viewSolutionInApp":"View solution","beta":"Beta"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"aboutYourSolutionDeployedDate":"Deployed {{deployedDate}}","aboutYourSolutionOwner":"Owner","deleteSolution":"Delete solution","deploySuccessAlert":"{{solutionTitle}} was successfully deployed","diagramOfTheSolution":"{{solution}} diagram","editSolutionOwner":"Edit","itemDetails":"Open item details","itemUsedInOtherSolutions":"This item is used in another solution.","loadingText":"Loading","mustOwnSolution":"You must be an administrator in the organization or own the solution to change the names of items.","viewTheDiagram":"View diagram","learnMoreNewVersion":"Learn more","showMoreSummary":"read more","solutionsContentsAndCount":"Contents ({{numberOfSolutions}})","solutionDocumentation":"Open help","updateTitles":"Rename items","solutionVersion":"Version {{version}}","newVersionAvailable":"A new version of this solution is available.","youHaveTheLatestVersion":"This is the latest version of this solution."}
|
|
1
|
+
{"aboutYourSolutionDeployedDate":"Deployed {{deployedDate}}","aboutYourSolutionOwner":"Owner","deleteSolution":"Delete solution","deploySuccessAlert":"{{solutionTitle}} was successfully deployed","diagramOfTheSolution":"{{solution}} diagram","editSolutionOwner":"Edit","itemDetails":"Open item details","itemUsedInOtherSolutions":"This item is used in another solution.","loadingText":"Loading","mustOwnSolution":"You must be an administrator in the organization or own the solution to change the names of items.","viewTheDiagram":"View diagram","learnMoreNewVersion":"Learn more","showMoreSummary":"read more","solutionsContentsAndCount":"Contents ({{numberOfSolutions}})","solutionDocumentation":"Open help","updateTitles":"Rename items","solutionVersion":"Version {{version}}","newVersionAvailable":"A new version of this solution is available.","youHaveTheLatestVersion":"This is the latest version of this solution.","folder":"Folder","openFolder":"Open"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"aboutYourSolutionDeployedDate":"Deployed {{deployedDate}}","aboutYourSolutionOwner":"Owner","deleteSolution":"Delete solution","deploySuccessAlert":"{{solutionTitle}} was successfully deployed","diagramOfTheSolution":"{{solution}} diagram","editSolutionOwner":"Edit","itemDetails":"Open item details","itemUsedInOtherSolutions":"This item is used in another solution.","loadingText":"Loading","mustOwnSolution":"You must be an administrator in the organization or own the solution to change the names of items.","viewTheDiagram":"View diagram","learnMoreNewVersion":"Learn more","showMoreSummary":"read more","solutionsContentsAndCount":"Contents ({{numberOfSolutions}})","solutionDocumentation":"Open help","updateTitles":"Rename items","solutionVersion":"Version {{version}}","newVersionAvailable":"A new version of this solution is available.","youHaveTheLatestVersion":"This is the latest version of this solution."}
|
|
1
|
+
{"aboutYourSolutionDeployedDate":"Deployed {{deployedDate}}","aboutYourSolutionOwner":"Owner","deleteSolution":"Delete solution","deploySuccessAlert":"{{solutionTitle}} was successfully deployed","diagramOfTheSolution":"{{solution}} diagram","editSolutionOwner":"Edit","itemDetails":"Open item details","itemUsedInOtherSolutions":"This item is used in another solution.","loadingText":"Loading","mustOwnSolution":"You must be an administrator in the organization or own the solution to change the names of items.","viewTheDiagram":"View diagram","learnMoreNewVersion":"Learn more","showMoreSummary":"read more","solutionsContentsAndCount":"Contents ({{numberOfSolutions}})","solutionDocumentation":"Open help","updateTitles":"Rename items","solutionVersion":"Version {{version}}","newVersionAvailable":"A new version of this solution is available.","youHaveTheLatestVersion":"This is the latest version of this solution.","folder":"Folder","openFolder":"Open"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"allSolutions":"Solutions","failedToOpen":"Failed to open deployed solution","failedToFetchWrongId":"The item {{ITEMID}} cannot be found. The item may have been deleted or you may have entered an incorrect URL.","failedToFetchWrongPermissions":"You do not have permissions to access the item {{ITEMID}}.","failedToFetchNotSolution":"The item {{ITEMID}} is not a deployed solution.","fetchingAllSolutions":"Fetching solutions","mySolutions":"My Solutions","solutionResources":"Resources","metaAllSolutionsTitle":"ArcGIS Solutions | Industry-Specific GIS Configurations","metaAllSolutionsDescription":"Explore ArcGIS Solutions — quickly deploy and configure GIS apps and workflows to improve operations, deliver insights, and maximize your ArcGIS investment.","metaDeploymentsTitle":"ArcGIS Solutions | Manage Your Deployments","metaDeploymentsDescription":"View, configure, and manage ArcGIS Solution deployments — keep workflows aligned with your organization's goals and ensure efficient, reliable operations.","metaResourcesTitle":"ArcGIS Solutions | Documentation, Blogs, Community & Support","metaResourcesDescription":"Find everything you need to succeed with ArcGIS Solutions — access documentation, blogs, videos, Esri Community, ArcGIS Ideas, and technical support resources.","metaDetailsTitle":"ArcGIS Solutions | {title}"}
|
|
1
|
+
{"allSolutions":"Solutions","failedToOpen":"Failed to open deployed solution","failedToFetchWrongId":"The item {{ITEMID}} cannot be found. The item may have been deleted or you may have entered an incorrect URL.","failedToFetchWrongPermissions":"You do not have permissions to access the item {{ITEMID}}.","failedToFetchNotSolution":"The item {{ITEMID}} is not a deployed solution.","fetchingAllSolutions":"Fetching solutions","mySolutions":"My Solutions","solutionResources":"Resources","metaAllSolutionsTitle":"ArcGIS Solutions | Industry-Specific GIS Configurations","metaAllSolutionsDescription":"Explore ArcGIS Solutions — quickly deploy and configure GIS apps and workflows to improve operations, deliver insights, and maximize your ArcGIS investment.","metaDeploymentsTitle":"ArcGIS Solutions | Manage Your Deployments","metaDeploymentsDescription":"View, configure, and manage ArcGIS Solution deployments — keep workflows aligned with your organization's goals and ensure efficient, reliable operations.","metaResourcesTitle":"ArcGIS Solutions | Documentation, Blogs, Community & Support","metaResourcesDescription":"Find everything you need to succeed with ArcGIS Solutions — access documentation, blogs, videos, Esri Community, ArcGIS Ideas, and technical support resources.","metaDetailsTitle":"ArcGIS Solutions | {title}","assistantFabTooltip":"Get help or build a solution with the ArcGIS Solutions assistant"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"allSolutions":"Solutions","failedToOpen":"Failed to open deployed solution","failedToFetchWrongId":"The item {{ITEMID}} cannot be found. The item may have been deleted or you may have entered an incorrect URL.","failedToFetchWrongPermissions":"You do not have permissions to access the item {{ITEMID}}.","failedToFetchNotSolution":"The item {{ITEMID}} is not a deployed solution.","fetchingAllSolutions":"Fetching solutions","mySolutions":"My Solutions","solutionResources":"Resources","metaAllSolutionsTitle":"ArcGIS Solutions | Industry-Specific GIS Configurations","metaAllSolutionsDescription":"Explore ArcGIS Solutions — quickly deploy and configure GIS apps and workflows to improve operations, deliver insights, and maximize your ArcGIS investment.","metaDeploymentsTitle":"ArcGIS Solutions | Manage Your Deployments","metaDeploymentsDescription":"View, configure, and manage ArcGIS Solution deployments — keep workflows aligned with your organization's goals and ensure efficient, reliable operations.","metaResourcesTitle":"ArcGIS Solutions | Documentation, Blogs, Community & Support","metaResourcesDescription":"Find everything you need to succeed with ArcGIS Solutions — access documentation, blogs, videos, Esri Community, ArcGIS Ideas, and technical support resources.","metaDetailsTitle":"ArcGIS Solutions | {title}"}
|
|
1
|
+
{"allSolutions":"Solutions","failedToOpen":"Failed to open deployed solution","failedToFetchWrongId":"The item {{ITEMID}} cannot be found. The item may have been deleted or you may have entered an incorrect URL.","failedToFetchWrongPermissions":"You do not have permissions to access the item {{ITEMID}}.","failedToFetchNotSolution":"The item {{ITEMID}} is not a deployed solution.","fetchingAllSolutions":"Fetching solutions","mySolutions":"My Solutions","solutionResources":"Resources","metaAllSolutionsTitle":"ArcGIS Solutions | Industry-Specific GIS Configurations","metaAllSolutionsDescription":"Explore ArcGIS Solutions — quickly deploy and configure GIS apps and workflows to improve operations, deliver insights, and maximize your ArcGIS investment.","metaDeploymentsTitle":"ArcGIS Solutions | Manage Your Deployments","metaDeploymentsDescription":"View, configure, and manage ArcGIS Solution deployments — keep workflows aligned with your organization's goals and ensure efficient, reliable operations.","metaResourcesTitle":"ArcGIS Solutions | Documentation, Blogs, Community & Support","metaResourcesDescription":"Find everything you need to succeed with ArcGIS Solutions — access documentation, blogs, videos, Esri Community, ArcGIS Ideas, and technical support resources.","metaDetailsTitle":"ArcGIS Solutions | {title}","assistantFabTooltip":"Get help or build a solution with the ArcGIS Solutions assistant"}
|
package/dist/cdn/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a}from"./FLLZBDVI.js";import{u as e}from"./F2JKSZOE.js";import"./QPIMTXPL.js";var o=e(a,{"arcgis-solutions-assistant":[()=>import("./PTWSYW3E.js"),"_translations:,open,userFirstName"],"buffer-tools":[()=>import("./OUHPCCIT.js"),"_translations:,appearance,disabled,distance,geometries:,max,min,sliderTicks,unionResults,unit;getTranslatedUnit"],"card-manager":[()=>import("./RP36BC5U.js"),"_translations:,createBtnLabel,customInfoText,enableCreateFeatures,enableEditGeometry,enableSnapping,isMobile,layerOrTable:,mapView:,selectedFeaturesIds:,selectingFeatureFromMap,showSketchWidgets,zoomAndScrollToSelected"],"consent-manager":[()=>import("./EPQ6J23O.js"),"_translations:,amazonAppId,amazonAppName,amazonUserPoolID,amazonVersion,firstUseVar,measurementIds:,portal:;getInstance"],"create-feature":[()=>import("./GSF5ZZMH.js"),"_translations:,aiImageExtraction:,allowMultipleCreation,appName,customizeSubmit,enablePhotoLocation,enableSearch,enableSnapping,floorLevel,formElements,isMobile,mapView:,popupEnabled,reportingArea,reportingAreaLayer,reportingAreaMessage,searchConfiguration:,selectedLayerId,showGuidingMsg,showLayerVisibilityMsg,showSketchWidgets,submitNewReportsMessage,updateMapPosition;refresh,showForm,submit"],"create-related-feature":[()=>import("./Z2IT4SME.js"),"_translations:,customizeSubmit,enableSnapping,mapView:,selectedFeature:,showGuidingMsg,table:;submit"],"crowdsource-manager":[()=>import("./XFKZOLUD.js"),"_translations:,appLayout,appProxies,basemapConfig:,coverPageEnabled,customInfoText,defaultAppLayout,defaultCenter,defaultGlobalId,defaultLayer,defaultLevel,defaultOid,defaultWebmap,enableAutoRefresh,enableBasemap,enableColumnReorder,enableCSV,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapList,enableSearch,enableSelectionTool,enableShare,enableSnapping,enableZoom,featureSelectionMode,honorMapFieldSettings,introductionWindowEnabled,mapInfos:,onlyShowUpdatableLayers,popupHeaderColor,popupHeaderHoverColor,popupHeaderHoverTextColor,popupHeaderTextColor,searchConfiguration:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,theme,visibilityIcon,zoomAndScrollToSelected,zoomToScale"],"crowdsource-reporter":[()=>import("./E5GNE67Z.js"),"_translations:,aiImageExtraction:,center,commentButtonText,commentSubmittedMessage,defaultWebmap,description,enableAnonymousAccess,enableAnonymousComments,enableComments,enableHome,enableLogin,enableNewReports,enablePhotoLocation,enableSearch,enableSnapping,enableZoom,filterByMapExtent,floorLevel,isMobile,layerExpressions:,layerId,level,loginTitle,mapInfos:,mapView:,objectId,reportButtonText,reportingArea,reportingAreaLayer,reportingAreaMessage,reportingOptions:,reportsHeader,reportSubmittedMessage,searchConfiguration:,showComments,showFeatureSymbol,showFullCommentTitle,showMyReportsOnly,showUserImageInCommentsList,sortOption,submitNewReportsMessage,theme,zoomToScale;updateLayerExpressionsT9n"],"deduct-calculator":[()=>import("./L6QPBIO3.js")],"delete-button":[()=>import("./Q2IHGYKB.js"),"_translations:,buttonType,deleteDialog,disabled,icon,ids:,layer:,showDeleteCount"],"delete-dialog":[()=>import("./FEMACR5Y.js"),"_translations:,ids:,layer:,open"],"edit-card":[()=>import("./FRE445LD.js"),"_translations:,allowMultipleEditing,enableEditGeometry,enableSnapping,graphicIndex,graphics:,mapView:,open"],"feature-details":[()=>import("./CUY7MQY5.js"),"enableSnapping,graphics:,layerItemsHash:,mapView:,reportingOptions:,showFullCommentTitle,showUserImageInCommentsList;back,next,refresh,toggleListView"],"feature-list":[()=>import("./QSUXQICI.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,highlightOnHover,highlightOnMap,mapView:,noFeaturesFoundMsg,pageSize,reportingOptions:,selectedLayerId,showErrorWhenNoFeatures,showFeatureSymbol,showFullTitle,showInitialLoading,showUserImageInList,sortingInfo:,textSize,whereClause;refresh"],"field-selection":[()=>import("./ZSJ55A7H.js"),"_translations:,configExtraFields,layer:,mapView:,table:,tableRef:"],"info-card":[()=>import("./GBTCFOFN.js"),"_translations:,allowEditing,enableEditGeometry,enableSnapping,graphics:,highlightEnabled,isLoading,isMobile,mapView:,paginationEnabled,position,showCloseBtn;back,getSelectedFeature,next,refresh,toggleListView,updateCurrentGraphic"],"layer-list":[()=>import("./TOU5OHUQ.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,layers:,mapView:,showFeatureCount,showNextIcon;refresh"],"layer-list-widget":[()=>import("./RQ2LHC5I.js"),"layerListWidget:,mapView:,visibilityIcon"],"layer-table":[()=>import("./7ZN2BMYK.js"),"_translations:,appLayout,defaultGlobalId:,defaultLayerId,defaultOid:,enableAutoRefresh,enableColumnReorder,enableCSV,enableInlineEdit,enableShare,enableTableAutosave,featureSelectionMode,honorMapFieldSettings,isMobile,mapHidden,mapInfo:,mapView:,selectedIds:,selectedRelatedIds:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,showOnlyUpdatableLayers,zoomAndScrollToSelected,zoomToScale;closeFilter,filterReset,filterUpdate,refresh,setColumnOrder,validateActiveEdits,validateTableUpdate"],"map-basemap-gallery":[()=>import("./WQTF5JT3.js"),"basemapConfig:,basemapWidget:,mapView:"],"map-card":[()=>import("./FLRIF3C7.js"),"_translations:,appLayout,appProxies,basemapConfig:,defaultLayerId,defaultWebmapId,enableBasemap,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableShare,enableSingleExpand,featureSelectionMode,hide,isMapLayout,isMobile,mapInfo:,mapInfos:,mapToolsOrder:,mapView:,mapWidgetsIndex,mapWidgetsPosition,mapWidgetsSize,mobileMapWidgetsPosition,mobileToolsOrder:,selectedFeaturesIds:,selectedLayer:,shareIncludeEmbed,shareIncludeSocial,showOnlyUpdatableLayers,stackTools,theme,visibilityIcon,zoomToolsSize,zoomToScale;resetFilter,updateFilterState,updateLayer"],"map-draw-tools":[()=>import("./ZBRNLRN2.js"),"_translations:,active,drawMode,editGraphicsEnabled,graphics:,mapView:,pointSymbol:,polygonSymbol:,polylineSymbol:,redoEnabled,undoEnabled;clear,updateGraphics"],"map-floor-filter":[()=>import("./IUFEMLQM.js"),"enabled,floorFilterWidget:,mapView:"],"map-fullscreen":[()=>import("./PWAT4NDG.js"),"fullscreenWidget:,mapView:"],"map-layer-picker":[()=>import("./G5YR3YZQ.js"),"_translations:,appearance,configLayerOrderDefined,defaultLayerId,disabled,display,enabledLayerIds:,height,isMobile,mapView:,placeholderIcon,referenceElement,scale,selectedIds:,showLayersListInPopover,showOnlyUpdatableLayers,showSingleLayerAsLabel,showTables,showTablesDisabled,type;setLayerById,setLayerByIds,updateLayer"],"map-legend":[()=>import("./MMQLDIE7.js"),"legendWidget:,mapView:"],"map-picker":[()=>import("./FLQFNPOP.js"),"_translations:,height,isMapLayout,mapInfos:,referenceElement,selectedWebMapId,showMapListInPopover;close,setMapByID,toggle"],"map-search":[()=>import("./UNA43DT6.js"),"mapView:,popupEnabled,resultGraphicEnabled,searchConfiguration:,searchTerm,searchWidget:"],"map-select-tools":[()=>import("./CS4IGHMC.js"),"_translations:,bufferColor,bufferOutlineColor,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,enabledLayerIds:,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,geometries:,headerLabelClass,isUpdate,layerViews:,mapView:,noResultText,searchConfiguration:,searchDistanceEnabled,selectionLayerIds:,selectionSet:,selectLayerView:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:,useLayerFeaturesEnabled;clearSelection,getSelection"],"map-tools":[()=>import("./K2OB67JG.js"),"_translations:,basemapConfig:,defaultLayerId,enableBasemap,enabledLayerIds:,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableSingleExpand,isMobile,layout,mapInfo:,mapInfos:,mapView:,mapWidgetsSize,parentComponentHeight,parentComponentWidth,position,searchConfiguration:,selectedFeaturesIds:,selectedLayer:,selectedWebMapId,selectionTools:,showOnlyUpdatableLayers,stackTools,toolOrder:,visibilityIcon,zoomToolsSize"],"pci-calculator":[()=>import("./THSRTNBE.js")],"pdf-download":[()=>import("./O4JG6O2G.js"),"_translations:,defaultNumLabelsPerPage,disabled;downloadCSV,downloadPDF"],"public-notification":[()=>import("./4652XKVL.js"),"_translations:,addresseeLayerIds:,bufferColor,bufferOutlineColor,customExport,customExportURL,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,defaultExportTitle,defaultNumLabelsPerPage,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,featureEffect:,featureHighlightEnabled,initialNotice,mapView:,noResultText,searchConfiguration:,selectionLayerIds:,showRefineSelection,showSearchSettings,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"refine-selection":[()=>import("./F2YGRNTN.js"),"_translations:,addresseeLayer:,bufferColor,bufferOutlineColor,defaultBufferDistance,defaultBufferUnit,drawnGraphicsArr:,enabledLayerIds:,enableSearchDistance,enableSearchDistanceOnLoad,geometries:,mapView:,searchDistanceEnabled,selectionSets:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"selection-tool":[()=>import("./ODZNJZG5.js"),"mapView:,selectedLayerId,tool;toggleSelectionTool"],"solution-configure-titles":[()=>import("./IU6ZANQW.js"),"_translations:,card:,open,solutionData,source,templateInfos:"],"solution-delete-dialog":[()=>import("./5PIM2BOZ.js"),"_translations:,card:,open,source;;close,delete"],"solution-deploy-dialog":[()=>import("./UQTAX7HB.js"),"_translations:,card:,debugFailDeployment,open,userOptions:;;close,deploy"],"solution-deployed-card":[()=>import("./5TB2UXTT.js"),"_translations:,card:,deployedDate,description,diagramKey,heading,itemId,owner,templateInfos:,thumbnail,updateAvailable;getTemplates,renderDeleteDialog,renderDiagramDialog"],"solution-deployed-card-panel":[()=>import("./H2PJ6QZT.js"),"_translations:,card:,cardRef,diagramKey,open,templateInfos:"],"solution-deploying-dialog":[()=>import("./XSNGR44R.js"),"_translations:,abortController:,card:,deploymentProgress,isWaitingForCard,open;;cancelDeployment,close,confirmCancel"],"solution-details-card":[()=>import("./ONSABHYA.js"),"_translations:,card:,referrerSolutionId,referrerSolutionTitle,referrerSolutionVersion,source"],"solution-details-panel":[()=>import("./NH3ESMSN.js"),"_translations:,card:"],"solution-item-accordion":[()=>import("./NFRTFOHF.js"),"_translations:,itemRelationshipDependencies:,linkType,listSelectionMode,reuseWarning,templateInfos:,typeKeywords:;collapseAll,deselectAll,expandFirstItem,expandItemById,expandItems,selectFirstItem,selectItem,selectItems"],"solution-item-diagram":[()=>import("./JSI6JODX.js"),"_translations:,diagramKey,templateInfoGraph:,typeKeywords:"],"solution-item-icon":[()=>import("./RVKS24LF.js"),"isPortal,type,typeKeywords:"],"solution-resource-card":[()=>import("./GQWWZGLF.js"),"_translations:,description,heading,headingEn,icon,meridianIcon,sectionHeadingEn,url"],"solution-snapshot-gallery":[()=>import("./GRBH2MOX.js"),"_translations:,card:,itemProperties:,open,screenshot:"],"solution-social-share":[()=>import("./MAUD35WR.js"),"_translations:,actionApperance,autoUpdateShareUrl,buttonAppearance,inlineSuccessPopoverPlacement,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonKind,shareButtonScale,shareButtonText,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,solutionId,solutionTitle,solutionVersion,successMessage"],"solution-user-avatar":[()=>import("./DYJGZIDV.js"),"fullname,lookupProfile,thumbnailUrl,username"],"solutions-all-panel":[()=>import("./O3A436MI.js"),"_translations:,sortType;searchSolutions,setSearchOptions"],"solutions-all-shell":[()=>import("./IMN5BMIM.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-deploy-app":[()=>import("./ZMQ6KCYQ.js"),"_translations:,appConfig,initTab,initTitleOrId,sortType,useLocalAppConfig;selectTab"],"solutions-deploy-app-nav":[()=>import("./U4EZHJYT.js"),"_translations:,appConfig,initTab;;activateMenuItem,clearMenuItems"],"solutions-deployed-panel":[()=>import("./PQIJUUY3.js"),"_translations:,sortType;reload,searchSolutions,setSearchOptions"],"solutions-deployed-shell":[()=>import("./CWGUKAP6.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-filter-panel":[()=>import("./YNERGBJG.js"),"_translations:,hideIndustryFilter,isAIDialogOpen,showReset;;changeIndustryFilter,clearFilters"],"solutions-resources-section":[()=>import("./3KVDFRXD.js"),"cards,heading,subheading"],"solutions-resources-shell":[()=>import("./BFKX5BLC.js"),"_translations:"],"solutions-searchsort-toolbar":[()=>import("./4Y4JREZI.js"),"_translations:,defaultSortType,isOrgSolutions,scope;;changeOwnerFilter,changeSearchFilter,sortChanged"]});o({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync("@layer{:not([hydrated]):is(arcgis-solutions-assistant,buffer-tools,card-manager,consent-manager,create-feature,create-related-feature,crowdsource-manager,crowdsource-reporter,deduct-calculator,delete-button,delete-dialog,edit-card,feature-details,feature-list,field-selection,info-card,layer-list,layer-list-widget,layer-table,map-basemap-gallery,map-card,map-draw-tools,map-floor-filter,map-fullscreen,map-layer-picker,map-legend,map-picker,map-search,map-select-tools,map-tools,pci-calculator,pdf-download,public-notification,refine-selection,selection-tool,solution-configure-titles,solution-delete-dialog,solution-deploy-dialog,solution-deployed-card,solution-deployed-card-panel,solution-deploying-dialog,solution-details-card,solution-details-panel,solution-item-accordion,solution-item-diagram,solution-item-icon,solution-resource-card,solution-snapshot-gallery,solution-social-share,solution-user-avatar,solutions-all-panel,solutions-all-shell,solutions-deploy-app,solutions-deploy-app-nav,solutions-deployed-panel,solutions-deployed-shell,solutions-filter-panel,solutions-resources-section,solutions-resources-shell,solutions-searchsort-toolbar){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,a)
|
|
2
|
+
import{a}from"./FLLZBDVI.js";import{u as e}from"./F2JKSZOE.js";import"./QPIMTXPL.js";var o=e(a,{"arcgis-solutions-assistant":[()=>import("./QX7YHRF5.js"),"_translations:,open,userFirstName"],"buffer-tools":[()=>import("./OUHPCCIT.js"),"_translations:,appearance,disabled,distance,geometries:,max,min,sliderTicks,unionResults,unit;getTranslatedUnit"],"card-manager":[()=>import("./RP36BC5U.js"),"_translations:,createBtnLabel,customInfoText,enableCreateFeatures,enableEditGeometry,enableSnapping,isMobile,layerOrTable:,mapView:,selectedFeaturesIds:,selectingFeatureFromMap,showSketchWidgets,zoomAndScrollToSelected"],"consent-manager":[()=>import("./EPQ6J23O.js"),"_translations:,amazonAppId,amazonAppName,amazonUserPoolID,amazonVersion,firstUseVar,measurementIds:,portal:;getInstance"],"create-feature":[()=>import("./GSF5ZZMH.js"),"_translations:,aiImageExtraction:,allowMultipleCreation,appName,customizeSubmit,enablePhotoLocation,enableSearch,enableSnapping,floorLevel,formElements,isMobile,mapView:,popupEnabled,reportingArea,reportingAreaLayer,reportingAreaMessage,searchConfiguration:,selectedLayerId,showGuidingMsg,showLayerVisibilityMsg,showSketchWidgets,submitNewReportsMessage,updateMapPosition;refresh,showForm,submit"],"create-related-feature":[()=>import("./Z2IT4SME.js"),"_translations:,customizeSubmit,enableSnapping,mapView:,selectedFeature:,showGuidingMsg,table:;submit"],"crowdsource-manager":[()=>import("./XFKZOLUD.js"),"_translations:,appLayout,appProxies,basemapConfig:,coverPageEnabled,customInfoText,defaultAppLayout,defaultCenter,defaultGlobalId,defaultLayer,defaultLevel,defaultOid,defaultWebmap,enableAutoRefresh,enableBasemap,enableColumnReorder,enableCSV,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapList,enableSearch,enableSelectionTool,enableShare,enableSnapping,enableZoom,featureSelectionMode,honorMapFieldSettings,introductionWindowEnabled,mapInfos:,onlyShowUpdatableLayers,popupHeaderColor,popupHeaderHoverColor,popupHeaderHoverTextColor,popupHeaderTextColor,searchConfiguration:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,theme,visibilityIcon,zoomAndScrollToSelected,zoomToScale"],"crowdsource-reporter":[()=>import("./E5GNE67Z.js"),"_translations:,aiImageExtraction:,center,commentButtonText,commentSubmittedMessage,defaultWebmap,description,enableAnonymousAccess,enableAnonymousComments,enableComments,enableHome,enableLogin,enableNewReports,enablePhotoLocation,enableSearch,enableSnapping,enableZoom,filterByMapExtent,floorLevel,isMobile,layerExpressions:,layerId,level,loginTitle,mapInfos:,mapView:,objectId,reportButtonText,reportingArea,reportingAreaLayer,reportingAreaMessage,reportingOptions:,reportsHeader,reportSubmittedMessage,searchConfiguration:,showComments,showFeatureSymbol,showFullCommentTitle,showMyReportsOnly,showUserImageInCommentsList,sortOption,submitNewReportsMessage,theme,zoomToScale;updateLayerExpressionsT9n"],"deduct-calculator":[()=>import("./L6QPBIO3.js")],"delete-button":[()=>import("./Q2IHGYKB.js"),"_translations:,buttonType,deleteDialog,disabled,icon,ids:,layer:,showDeleteCount"],"delete-dialog":[()=>import("./FEMACR5Y.js"),"_translations:,ids:,layer:,open"],"edit-card":[()=>import("./FRE445LD.js"),"_translations:,allowMultipleEditing,enableEditGeometry,enableSnapping,graphicIndex,graphics:,mapView:,open"],"feature-details":[()=>import("./CUY7MQY5.js"),"enableSnapping,graphics:,layerItemsHash:,mapView:,reportingOptions:,showFullCommentTitle,showUserImageInCommentsList;back,next,refresh,toggleListView"],"feature-list":[()=>import("./QSUXQICI.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,highlightOnHover,highlightOnMap,mapView:,noFeaturesFoundMsg,pageSize,reportingOptions:,selectedLayerId,showErrorWhenNoFeatures,showFeatureSymbol,showFullTitle,showInitialLoading,showUserImageInList,sortingInfo:,textSize,whereClause;refresh"],"field-selection":[()=>import("./6LHM6EFD.js"),"_translations:,configExtraFields,layer:,mapView:,table:,tableRef:"],"info-card":[()=>import("./GBTCFOFN.js"),"_translations:,allowEditing,enableEditGeometry,enableSnapping,graphics:,highlightEnabled,isLoading,isMobile,mapView:,paginationEnabled,position,showCloseBtn;back,getSelectedFeature,next,refresh,toggleListView,updateCurrentGraphic"],"layer-list":[()=>import("./TOU5OHUQ.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,layers:,mapView:,showFeatureCount,showNextIcon;refresh"],"layer-list-widget":[()=>import("./RQ2LHC5I.js"),"layerListWidget:,mapView:,visibilityIcon"],"layer-table":[()=>import("./PBWC3QFN.js"),"_translations:,appLayout,defaultGlobalId:,defaultLayerId,defaultOid:,enableAutoRefresh,enableColumnReorder,enableCSV,enableInlineEdit,enableShare,enableTableAutosave,featureSelectionMode,honorMapFieldSettings,isMobile,mapHidden,mapInfo:,mapView:,selectedIds:,selectedRelatedIds:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,showOnlyUpdatableLayers,zoomAndScrollToSelected,zoomToScale;closeFilter,filterReset,filterUpdate,refresh,setColumnOrder,validateActiveEdits,validateTableUpdate"],"map-basemap-gallery":[()=>import("./WQTF5JT3.js"),"basemapConfig:,basemapWidget:,mapView:"],"map-card":[()=>import("./JCTGE6OA.js"),"_translations:,appLayout,appProxies,basemapConfig:,defaultLayerId,defaultWebmapId,enableBasemap,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableShare,enableSingleExpand,featureSelectionMode,hide,isMapLayout,isMobile,mapInfo:,mapInfos:,mapToolsOrder:,mapView:,mapWidgetsIndex,mapWidgetsPosition,mapWidgetsSize,mobileMapWidgetsPosition,mobileToolsOrder:,selectedFeaturesIds:,selectedLayer:,shareIncludeEmbed,shareIncludeSocial,showOnlyUpdatableLayers,stackTools,theme,visibilityIcon,zoomToolsSize,zoomToScale;resetFilter,updateFilterState,updateLayer"],"map-draw-tools":[()=>import("./ZBRNLRN2.js"),"_translations:,active,drawMode,editGraphicsEnabled,graphics:,mapView:,pointSymbol:,polygonSymbol:,polylineSymbol:,redoEnabled,undoEnabled;clear,updateGraphics"],"map-floor-filter":[()=>import("./IUFEMLQM.js"),"enabled,floorFilterWidget:,mapView:"],"map-fullscreen":[()=>import("./PWAT4NDG.js"),"fullscreenWidget:,mapView:"],"map-layer-picker":[()=>import("./G5YR3YZQ.js"),"_translations:,appearance,configLayerOrderDefined,defaultLayerId,disabled,display,enabledLayerIds:,height,isMobile,mapView:,placeholderIcon,referenceElement,scale,selectedIds:,showLayersListInPopover,showOnlyUpdatableLayers,showSingleLayerAsLabel,showTables,showTablesDisabled,type;setLayerById,setLayerByIds,updateLayer"],"map-legend":[()=>import("./MMQLDIE7.js"),"legendWidget:,mapView:"],"map-picker":[()=>import("./FLQFNPOP.js"),"_translations:,height,isMapLayout,mapInfos:,referenceElement,selectedWebMapId,showMapListInPopover;close,setMapByID,toggle"],"map-search":[()=>import("./UNA43DT6.js"),"mapView:,popupEnabled,resultGraphicEnabled,searchConfiguration:,searchTerm,searchWidget:"],"map-select-tools":[()=>import("./CS4IGHMC.js"),"_translations:,bufferColor,bufferOutlineColor,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,enabledLayerIds:,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,geometries:,headerLabelClass,isUpdate,layerViews:,mapView:,noResultText,searchConfiguration:,searchDistanceEnabled,selectionLayerIds:,selectionSet:,selectLayerView:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:,useLayerFeaturesEnabled;clearSelection,getSelection"],"map-tools":[()=>import("./K2OB67JG.js"),"_translations:,basemapConfig:,defaultLayerId,enableBasemap,enabledLayerIds:,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableSingleExpand,isMobile,layout,mapInfo:,mapInfos:,mapView:,mapWidgetsSize,parentComponentHeight,parentComponentWidth,position,searchConfiguration:,selectedFeaturesIds:,selectedLayer:,selectedWebMapId,selectionTools:,showOnlyUpdatableLayers,stackTools,toolOrder:,visibilityIcon,zoomToolsSize"],"pci-calculator":[()=>import("./THSRTNBE.js")],"pdf-download":[()=>import("./O4JG6O2G.js"),"_translations:,defaultNumLabelsPerPage,disabled;downloadCSV,downloadPDF"],"public-notification":[()=>import("./4652XKVL.js"),"_translations:,addresseeLayerIds:,bufferColor,bufferOutlineColor,customExport,customExportURL,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,defaultExportTitle,defaultNumLabelsPerPage,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,featureEffect:,featureHighlightEnabled,initialNotice,mapView:,noResultText,searchConfiguration:,selectionLayerIds:,showRefineSelection,showSearchSettings,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"refine-selection":[()=>import("./F2YGRNTN.js"),"_translations:,addresseeLayer:,bufferColor,bufferOutlineColor,defaultBufferDistance,defaultBufferUnit,drawnGraphicsArr:,enabledLayerIds:,enableSearchDistance,enableSearchDistanceOnLoad,geometries:,mapView:,searchDistanceEnabled,selectionSets:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"selection-tool":[()=>import("./ODZNJZG5.js"),"mapView:,selectedLayerId,tool;toggleSelectionTool"],"solution-configure-titles":[()=>import("./42WASQMZ.js"),"_translations:,card:,open,solutionData,source,templateInfos:"],"solution-delete-dialog":[()=>import("./3XX5UDIU.js"),"_translations:,card:,open,source;;close,delete"],"solution-deploy-dialog":[()=>import("./I2AQZTRJ.js"),"_translations:,card:,debugFailDeployment,open,userOptions:;;close,deploy"],"solution-deployed-card":[()=>import("./SUN2LQ7K.js"),"_translations:,card:,deployedDate,description,diagramKey,heading,itemId,owner,templateInfos:,thumbnail,updateAvailable;getTemplates,renderDeleteDialog,renderDiagramDialog"],"solution-deployed-card-panel":[()=>import("./BWTBRONP.js"),"_translations:,card:,cardRef,diagramKey,open,templateInfos:"],"solution-deploying-dialog":[()=>import("./XSNGR44R.js"),"_translations:,abortController:,card:,deploymentProgress,isWaitingForCard,open;;cancelDeployment,close,confirmCancel"],"solution-details-card":[()=>import("./GUKPMOPC.js"),"_translations:,card:,referrerSolutionId,referrerSolutionTitle,referrerSolutionVersion,source"],"solution-details-panel":[()=>import("./COTZWDC3.js"),"_translations:,card:"],"solution-item-accordion":[()=>import("./65Q3GK3L.js"),"_translations:,itemRelationshipDependencies:,linkType,listSelectionMode,reuseWarning,templateInfos:,typeKeywords:;collapseAll,deselectAll,expandFirstItem,expandItemById,expandItems,selectFirstItem,selectItem,selectItems"],"solution-item-diagram":[()=>import("./7WQMX5XY.js"),"_translations:,diagramKey,templateInfoGraph:,typeKeywords:"],"solution-item-icon":[()=>import("./RVKS24LF.js"),"isPortal,type,typeKeywords:"],"solution-resource-card":[()=>import("./3XPKAEMR.js"),"_translations:,description,heading,headingEn,icon,meridianIcon,sectionHeadingEn,url"],"solution-snapshot-gallery":[()=>import("./BXXN7BIC.js"),"_translations:,card:,itemProperties:,open,screenshot:"],"solution-social-share":[()=>import("./OPJPVHX6.js"),"_translations:,actionApperance,autoUpdateShareUrl,buttonAppearance,inlineSuccessPopoverPlacement,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonKind,shareButtonScale,shareButtonText,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,solutionId,solutionTitle,solutionVersion,successMessage"],"solution-user-avatar":[()=>import("./TYSZL2RK.js"),"fullname,lookupProfile,thumbnailUrl,username"],"solutions-all-panel":[()=>import("./XEQSHS4A.js"),"_translations:,sortType;searchSolutions,setSearchOptions"],"solutions-all-shell":[()=>import("./GYQ22PJ6.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-deploy-app":[()=>import("./ZSPRUX4H.js"),"_translations:,appConfig,initTab,initTitleOrId,sortType,useLocalAppConfig;selectTab"],"solutions-deploy-app-nav":[()=>import("./WR3YNDFH.js"),"_translations:,appConfig,assistantOpen,initTab;;activateMenuItem,clearMenuItems"],"solutions-deployed-panel":[()=>import("./CR2XUUG5.js"),"_translations:,sortType;reload,searchSolutions,setSearchOptions"],"solutions-deployed-shell":[()=>import("./V7UWSW6U.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-filter-panel":[()=>import("./XY4HNUJE.js"),"_translations:,hideIndustryFilter,showReset;;changeIndustryFilter,clearFilters"],"solutions-resources-section":[()=>import("./4YB7FA37.js"),"cards,heading,subheading"],"solutions-resources-shell":[()=>import("./M6ZFMO6K.js"),"_translations:,assistantOpen"],"solutions-searchsort-toolbar":[()=>import("./CACSAX3Q.js"),"_translations:,defaultSortType,isOrgSolutions,scope;;changeOwnerFilter,changeSearchFilter,sortChanged"]});o({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync("@layer{:not([hydrated]):is(arcgis-solutions-assistant,buffer-tools,card-manager,consent-manager,create-feature,create-related-feature,crowdsource-manager,crowdsource-reporter,deduct-calculator,delete-button,delete-dialog,edit-card,feature-details,feature-list,field-selection,info-card,layer-list,layer-list-widget,layer-table,map-basemap-gallery,map-card,map-draw-tools,map-floor-filter,map-fullscreen,map-layer-picker,map-legend,map-picker,map-search,map-select-tools,map-tools,pci-calculator,pdf-download,public-notification,refine-selection,selection-tool,solution-configure-titles,solution-delete-dialog,solution-deploy-dialog,solution-deployed-card,solution-deployed-card-panel,solution-deploying-dialog,solution-details-card,solution-details-panel,solution-item-accordion,solution-item-diagram,solution-item-icon,solution-resource-card,solution-snapshot-gallery,solution-social-share,solution-user-avatar,solutions-all-panel,solutions-all-shell,solutions-deploy-app,solutions-deploy-app-nav,solutions-deployed-panel,solutions-deployed-shell,solutions-filter-panel,solutions-resources-section,solutions-resources-shell,solutions-searchsort-toolbar){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,a)
|