PageSourceSearch

https://app.citylogix.com/assets/index-4fda5086.js

js citylogix.com collected 2026-10-10 00:49:35 UTC 10,502 bytes, 5 lines download raw bytes

1import"./customElement-73e4a4a9.js";import{c as y}from"./customElement-17306242.js";import"./customElement-ecde8194.js";import"./customElement-d24cfe1c.js";import{S as B}from"./customElement-ec8376d2.js";import{S as g}from"./customElement-2c69764b.js";import{b as v,A as G,i as H,L as k,h as m,a as E,c as L,D as M}from"./jsxFactory-f9f03aee.js";import{d as P,a as z,p as U}from"./dom-8f3efb43.js";import{n as I,b as q,a as N}from"./form-2d7a2323.js";import{u as R}from"./useCancelable-bfa75370.js";import{d as W}from"./debounce-91f12cc0.js";import"./keyed-40b69bc1.js";import"./interactive-9c7788a3.js";import"./floating-ui-7019792d.js";import"./openCloseComponent-24bbd3aa.js";import"./static-e7ce6edc.js";import"./FloatingArrow-c5769c52.js";import"./useFocusTrap-99166c2c.js";import"./key-b48ce881.js";import"./array-bc38b57b.js";import"./index-ec743896.js";import"./intl-ad646b03.js";import"./projectors-89580c2c.js";import"./uuid-409b6a0c.js";import"./sanitizerUtils-8778e332.js";/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3v3.3.3 */const A=i=>Array.from(i.querySelectorAll("calcite-action")).filter(t=>t.closest("calcite-action-menu")?t.slot===B.trigger:!0),F=({actionGroups:i,expanded:t,overflowCount:e})=>{let o=e;i.reverse().forEach(a=>{let n=0;const l=A(a).reverse();l.forEach(s=>{s.slot===g.menuActions&&(s.removeAttribute("slot"),s.textEnabled=t)}),o>0&&l.some(s=>(l.filter(c=>!c.slot).length>1&&l.length>2&&!s.closest("calcite-action-menu")&&(s.textEnabled=!0,s.setAttribute("slot",g.menuActions),n++,n>1&&o--),o<1)),a.manager.component.requestUpdate()})},S={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function j(i,t){var e;return i||((e=t.closest("calcite-shell-panel"))==null?void 0:e.position)||"start"}function J({el:i,expanded:t}){A(i).filter(e=>e.slot!==g.menuActions).forEach(e=>e.textEnabled=t),i.querySelectorAll("calcite-action-group, calcite-action-menu").forEach(e=>e.expanded=t)}const K=({tooltip:i,referenceElement:t,expanded:e,ref:o})=>(i&&(i.referenceElement=!e&&t?t:null),o&&o(t),t),Q=({expanded:i,expandText:t,collapseText:e,expandLabel:o,collapseLabel:a,toggle:n,el:l,position:s,tooltip:r,ref:c,scale:h})=>{const f=P(l)==="rtl",u=i?e:t,$=i?a:o,d=[S.chevronsLeft,S.chevronsRight];f&&d.reverse();const w=j(s,l)==="end",D=w?d[1]:d[0],O=w?d[0]:d[1];return v`<calcite-action .aria=${{expanded:i}} .icon=${i?D:O} id=expand-toggle .label=${$} @click=${n} .scale=${h} .text=${u} .textEnabled=${i} title=${(!i&&!r?u:null)??G} ${I(T=>K({tooltip:r,referenceElement:T,expanded:i,ref:c}))}></calcite-action>`};/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
5v3.3.3 */const V=({bufferSize:i=0,containerSize:t,itemSizes:e})=>{const o=t-i;let a=e.length,n=0;for(const[l,s]of e.entries())if(n=n+s,n>o){a=l;break}else continue;return a},X=({bufferSize:i=0,containerSize:t,itemSizes:e})=>Math.max(e.length-V({bufferSize:i,itemSizes:e,containerSize:t}),0),C={container:"container",actionGroupEnd:"action-group--end"},b={actionsEnd:"actions-end",bottomActions:"bottom-actions",expandTooltip:"expand-tooltip"},Y=H`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{display:inline-flex;align-self:stretch;background:transparent}.container{display:inline-flex;flex:1 1 auto;flex-direction:column;gap:var(--calcite-action-bar-items-space, 0);background-color:var(--calcite-action-bar-background-color, var(--calcite-color-foreground-1))}@keyframes in{0%{opacity:0}to{opacity:1}}:host([floating]) .container{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;overflow:hidden;border-radius:var(--calcite-action-bar-corner-radius, var(--calcite-corner-radius-round));--tw-shadow: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);
5--tw-shadow-colored: 0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--calcite-action-bar-shadow, var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow))}:host([layout=vertical]){flex-direction:column}:host([layout=vertical]):host([overflow-actions-disabled]) .container{overflow-y:auto}:host([layout=vertical]):host([expanded]) .container{max-inline-size:var(--calcite-action-bar-expanded-max-width, auto)}:host([layout=vertical]) .action-group--end{margin-block-start:auto}:host([layout=vertical]) ::slotted(calcite-action-group:not(:last-of-type)){border-block-end-width:var(--calcite-border-width-sm)}:host([layout=horizontal]){flex-direction:row}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]):host([overflow-actions-disabled]) .container{overflow-x:auto}:host([layout=horizontal]) .action-group--end{margin-inline-start:auto}:host([layout=horizontal]) ::slotted(calcite-action-group:not(:last-of-type)){border-inline-end-width:var(--calcite-border-width-sm)}.action-group--end{justify-content:flex-end}:host([hidden]){display:none}[hidden]{display:none}`,p=class p extends k{constructor(){super(),this.mutationObserver=y("mutation",()=>this.mutationObserverHandler()),this.cancelable=R()(this),this.resize=W(({width:t,height:e})=>{const{expanded:o,expandDisabled:a,layout:n,overflowActionsDisabled:l,actionGroups:s}=this;if(l||n==="vertical"&&!e||n==="horizontal"&&!t)return;const r=this.getItemSizes();this.updateGroups();const c=this.hasActionsEnd||this.hasBottomActions||!a?s.length+1:s.length,h=X({bufferSize:c,containerSize:n==="horizontal"?t:e,itemSizes:r});F({actionGroups:s,expanded:o,overflowCount:h})},M.resize),this.resizeHandler=t=>{const{width:e,height:o}=t.contentRect;this.resize({width:e,height:o})},this.resizeObserver=y("resize",t=>this.resizeHandlerEntries(t)),this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionBarToggle.emit()},this.messages=q(),this.focusSetter=N()(this),this.hasActionsEnd=!1,this.hasBottomActions=!1,this.floating=!1,this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.overflowActionsDisabled=!1,this.overlayPositioning="absolute",this.scale="m",this.calciteActionBarCollapse=m({cancelable:!1}),this.calciteActionBarExpand=m({cancelable:!1}),this.calciteActionBarToggle=m({cancelable:!1}),this.listen("calciteActionMenuOpen",this.actionMenuOpenHandler)}async overflowActions(){this.resize({width:this.el.clientWidth,height:this.el.clientHeight})}async setFocus(t){return this.focusSetter(()=>this.el,t)}connectedCallback(){var t;super.connectedCallback(),this.updateGroups(),this.overflowActions(),(t=this.mutationObserver)==null||t.observe(this.el,{childList:!0,subtree:!0}),this.overflowActionsDisabledHandler(this.overflowActionsDisabled),this.cancelable.add(this.resize)}willUpdate(t){t.has("expandDisabled")&&(this.hasUpdated||this.expandDisabled!==!1)&&this.overflowActions(),t.has("layout")&&(this.hasUpdated||this.layout!=="vertical")&&this.updateGroups(),t.has("overflowActionsDisabled")&&(this.hasUpdated||this.overflowActionsDisabled!==!1)&&this.overflowActionsDisabledHandler(this.overflowActionsDisabled),t.has("expanded")&&this.hasUpdated&&(this.expandedHandler(),this.expanded?this.calciteActionBarExpand.emit():this.calciteActionBarCollapse.emit())}loaded(){this.overflowActions()}disconnectedCallback(){var t,e;super.disconnectedCallback(),(t=this.mutationObserver)==null||t.disconnect(),(e=this.resizeObserver)==null||e.disconnect()}getItemSizes(){const{el:t,layout:e,expandToggleEl:o}=this,a=A(t);o&&a.push(o);const n=e==="horizontal"?"clientWidth":"clientHeight",l=Math.max(...a.map(s=>s[n]||0));return a.map(s=>s[n]||l)}expandedHandler(){const{el:t,expanded:e}=this;J({el:t,expanded:e}),this.overflowActions()}overflowActionsDisabledHandler(t){var e,o;if(t){(e=this.resizeObserver)==null||e.disconnect();return}(o=this.resizeObserver)==null||o.observe(this.el),this.overflowActions()}actionMenuOpenHandler(t){var e;if(t.target.menuOpen){const o=t.composedPath();(e=this.actionGroups)==null||e.forEach(a=>{o.includes(a)||(a.menuOpen=!1)})}}mutationObserverHandler(){this.updateGroups(),this.overflowActions()}resizeHandlerEntries(t){t.forEach(this.resizeHandler)}updateGroups(){const t=Array.from(this.el.querySelectorAll("calcite-action-group"));
5this.actionGroups=t,t.forEach(e=>{e.layout=this.layout,e.scale=this.scale})}handleDefaultSlotChange(){this.updateGroups()}handleActionsEndSlotChange(t){this.hasActionsEnd=z(t)}handleBottomActionsSlotChange(t){this.hasBottomActions=z(t)}handleTooltipSlotChange(t){const e=U(t).filter(o=>o==null?void 0:o.matches("calcite-tooltip"));this.expandTooltip=e[0]}renderBottomActionGroup(){const{expanded:t,expandDisabled:e,el:o,position:a,toggleExpand:n,scale:l,layout:s,messages:r,actionsEndGroupLabel:c,overlayPositioning:h}=this,f=e?null:Q({collapseLabel:r.collapseLabel,collapseText:r.collapse,el:o,expandLabel:r.expandLabel,expandText:r.expand,expanded:t,position:a,ref:u=>this.expandToggleEl=u,scale:l,toggle:n,tooltip:this.expandTooltip});return v`<calcite-action-group class=${E(C.actionGroupEnd)} .hidden=${this.expandDisabled&&!(this.hasActionsEnd||this.hasBottomActions)} .label=${c} .layout=${s} .overlayPositioning=${h} .scale=${l}><slot name=${b.actionsEnd} @slotchange=${this.handleActionsEndSlotChange}></slot><slot name=${b.bottomActions} @slotchange=${this.handleBottomActionsSlotChange}></slot><slot name=${b.expandTooltip} @slotchange=${this.handleTooltipSlotChange}></slot>${f}</calcite-action-group>`}render(){return v`<div class=${E(C.container)}><slot @slotchange=${this.handleDefaultSlotChange}></slot>${this.renderBottomActionGroup()}</div>`}};p.properties={expandTooltip:[16,{},{state:!0}],hasActionsEnd:[16,{},{state:!0}],hasBottomActions:[16,{},{state:!0}],actionsEndGroupLabel:1,floating:[7,{},{reflect:!0,type:Boolean}],expandDisabled:[7,{},{reflect:!0,type:Boolean}],expanded:[7,{},{reflect:!0,type:Boolean}],layout:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],overflowActionsDisabled:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:[3,{},{reflect:!0}],position:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}]},p.styles=Y;let x=p;L("calcite-action-bar",x);export{x as ActionBar};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.