PageSourceSearch

https://tax-credit-map.netlify.app/static/js/6214.1ed2bbb8.chunk.js

js tax-credit-map.netlify.app collected 2026-10-03 11:31:25 UTC 14,103 bytes, 3 lines download raw bytes

1/*! For license information please see 6214.1ed2bbb8.chunk.js.LICENSE.txt */
2"use strict";(self.webpackChunktax_credit_map=self.webpackChunktax_credit_map||[]).push([[6214],{39110:(e,t,o)=>{o.d(t,{A:()=>v,S:()=>g,d:()=>x});var i=o(51554),n=o(19432),a=o(47242),s=o(46895),c=o(52655),l=o(31944),r=o(92358),d=o(65138),h=o(57601),u=o(91438),p=o(89731);const g={menuActions:"menu-actions",menuTooltip:"menu-tooltip"},m="ellipsis",f="container",v=(0,i.GH)(class extends i.mv{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.setMenuOpen=e=>{this.menuOpen=!!e.target.open},this.handleMenuActionsSlotChange=e=>{this.hasMenuActions=(0,r.e)(e)},this.expanded=!1,this.label=void 0,this.layout="vertical",this.columns=void 0,this.menuOpen=!1,this.overlayPositioning="absolute",this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0,this.hasMenuActions=!1}expandedHandler(){this.menuOpen=!1}onMessagesChange(){}effectiveLocaleChange(){(0,c.u)(this,this.effectiveLocale)}async setFocus(){await(0,a.c)(this),this.el.focus()}connectedCallback(){(0,s.c)(this),(0,c.c)(this),(0,n.c)(this)}disconnectedCallback(){(0,s.d)(this),(0,c.d)(this),(0,n.d)(this)}async componentWillLoad(){(0,a.a)(this),await(0,c.s)(this)}componentDidLoad(){(0,a.s)(this)}renderMenu(){const{expanded:e,menuOpen:t,scale:o,layout:n,messages:a,overlayPositioning:s,hasMenuActions:c}=this;return(0,i.h)("calcite-action-menu",{expanded:e,flipPlacements:["left","right"],hidden:!c,label:a.more,onCalciteActionMenuOpen:this.setMenuOpen,open:t,overlayPositioning:s,placement:"horizontal"===n?"bottom-start":"leading-start",scale:o},(0,i.h)("calcite-action",{icon:m,scale:o,slot:l.S.trigger,text:a.more,textEnabled:e}),(0,i.h)("slot",{name:g.menuActions,onSlotchange:this.handleMenuActionsSlotChange}),(0,i.h)("slot",{name:g.menuTooltip,slot:l.S.tooltip}))}render(){return(0,i.h)("div",{"aria-label":this.label,class:f,role:"group"},(0,i.h)("slot",null),this.renderMenu())}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return this}static get watchers(){return{expanded:["expandedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}static get style(){return':host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{display:flex;flex-direction:column;padding:0px;--calcite-action-group-columns:3;--calcite-action-group-gap:1px;--calcite-action-group-padding:1px}.container{display:flex;flex-grow:1;flex-direction:column}:host([columns="1"]){--calcite-action-group-columns:1}:host([columns="2"]){--calcite-action-group-columns:2}:host([columns="3"]){--calcite-action-group-columns:3}:host([columns="4"]){--calcite-action-group-columns:4}:host([columns="5"]){--calcite-action-group-columns:5}:host([columns="6"]){--calcite-action-group-columns:6}
2:host(:first-child){padding-block-start:0px}:host([layout=horizontal]),:host([layout=horizontal]) .container{flex-direction:row}:host([layout=grid]){display:grid}:host([layout=grid]) .container{display:grid;place-content:stretch;background-color:var(--calcite-ui-background);gap:var(--calcite-action-group-gap);padding:var(--calcite-action-group-gap);grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}:host([hidden]){display:none}[hidden]{display:none}'}},[17,"calcite-action-group",{expanded:[516],label:[1],layout:[513],columns:[514],menuOpen:[1540,"menu-open"],overlayPositioning:[513,"overlay-positioning"],scale:[513],messages:[1040],messageOverrides:[1040],effectiveLocale:[32],defaultMessages:[32],hasMenuActions:[32],setFocus:[64]}]);function x(){if("undefined"===typeof customElements)return;["calcite-action-group","calcite-action","calcite-action-menu","calcite-icon","calcite-loader","calcite-popover"].forEach((e=>{switch(e){case"calcite-action-group":customElements.get(e)||customElements.define(e,v);break;case"calcite-action":customElements.get(e)||(0,d.d)();break;case"calcite-action-menu":customElements.get(e)||(0,l.d)();break;case"calcite-icon":customElements.get(e)||(0,h.d)();break;case"calcite-loader":customElements.get(e)||(0,u.d)();break;case"calcite-popover":customElements.get(e)||(0,p.d)()}}))}x()},6214:(e,t,o)=>{o.r(t),o.d(t,{CalciteActionBar:()=>L,defineCustomElement:()=>M});var i=o(51554),n=o(19432),a=o(92358),s=o(47242),c=o(46895),l=o(72021),r=o(52655),d=o(39110),h=o(31944);const u=e=>e.reduce(((e,t)=>e+t),0)/e.length,p=e=>{let{layout:t,actionCount:o,actionWidth:i,width:n,actionHeight:a,height:s,groupCount:c}=e;return Math.max(o-(e=>{let{width:t,actionWidth:o,layout:i,height:n,actionHeight:a,groupCount:s}=e;const c="horizontal"===i?t:n,l="horizontal"===i?o:a;return Math.floor((c-2*s)/l)})({width:n,actionWidth:i,layout:t,height:s,actionHeight:a,groupCount:c}),0)},g=e=>Array.from(e.querySelectorAll("calcite-action")).filter((e=>!e.closest("calcite-action-menu")||e.slot===h.S.trigger)),m="chevrons-left",f="chevrons-right";function v(e){let{el:t,expanded:o}=e;g(t).filter((e=>e.slot!==d.S.menuActions)).forEach((e=>e.textEnabled=o)),t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((e=>e.expanded=o))}const x=e=>{let{expanded:t,expandText:o,collapseText:n,toggle:s,el:c,position:l,tooltip:r,ref:d,scale:h}=e;const u="rtl"===(0,a.b)(c),p=t?n:o,g=[m,f];u&&g.reverse();const v="end"===function(e,t){var o;return e||(null===(o=t.closest("calcite-shell-panel"))||void 0===o?void 0:o.position)||"start"}(l,c),x=v?g[1]:g[0],b=v?g[0]:g[1],y=(0,i.h)("calcite-action",{icon:t?x:b,onClick:s,scale:h,text:p,textEnabled:t,title:t||r?null:p,ref:e=>(e=>{let{tooltip:t,referenceElement:o,expanded:i,ref:n}=e;return t&&(t.referenceElement=!i&&o?o:null),n&&n(o),o})({tooltip:r,referenceElement:e,expanded:t,ref:d})});return y};var b=o(65138),y=o(57601),A=o(91438),E=o(89731),w=o(76652);const C="action-group--end",z="actions-end",S="bottom-actions",k="expand-tooltip",H=(0,i.GH)(class extends i.mv{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.calciteActionBarToggle=(0,i.yM)(this,"calciteActionBarToggle",6),this.mutationObserver=(0,l.c)("mutation",(()=>{const{el:e,expanded:t}=this;v({el:e,expanded:t}),this.overflowActions()})),this.resizeObserver=(0,l.c)("resize",(e=>this.resizeHandlerEntries(e))),this.actionMenuOpenHandler=e=>{if(e.target.menuOpen){const t=e.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((e=>{t.includes(e)||(e.menuOpen=!1)}))}},this.resizeHandlerEntries=e=>{e.forEach(this.resizeHandler)},this.resizeHandler=e=>{const{width:t,height:o}=e.contentRect;this.resize({width:t,height:o})},this.resize=(0,w.d)((e=>{let{width:t,height:o}=e;const{el:n,expanded:a,expandDisabled:s,layout:c,overflowActionsDisabled:l}=this;if(l||"vertical"===c&&!o||"horizontal"===c&&!t)return;const r=g(n),h=s?r.length:r.length+1,m=Array.from(n.querySelectorAll("calcite-action-group"));this.setGroupLayout(m);const f=this.hasActionsEnd||this.hasBottomActions||!s?m.length+1:m.length,{actionHeight:v,actionWidth:x}=(e=>{const t=e.filter((e=>e.slot!==d.S.menuActions)),o=null===t||void 0===t?void 0:t.length;return{actionWidth:o?u(t.map((e=>e.clientWidth||0))):0,actionHeight:o?u(t.map((e=>e.clientHeight||0))):0}})(r);(e=>{let{actionGroups:t,expanded:o,overflowCount:n}=e,a=n;
2t.reverse().forEach((e=>{let t=0;const n=g(e).reverse();n.forEach((e=>{e.slot===d.S.menuActions&&(e.removeAttribute("slot"),e.textEnabled=o)})),a>0&&n.some((e=>{const o=n.filter((e=>!e.slot));return o.length>1&&n.length>2&&!e.closest("calcite-action-menu")&&(e.textEnabled=!0,e.setAttribute("slot",d.S.menuActions),t++,t>1&&a--),a<1})),(0,i.xE)(e)}))})({actionGroups:m,expanded:a,overflowCount:p({layout:c,actionCount:h,actionHeight:v,actionWidth:x,height:o,width:t,groupCount:f})})}),150),this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionBarToggle.emit()},this.setExpandToggleRef=e=>{this.expandToggleEl=e},this.handleDefaultSlotChange=e=>{const t=(0,a.s)(e).filter((e=>e.matches("calcite-action-group")));this.setGroupLayout(t)},this.handleActionsEndSlotChange=e=>{this.hasActionsEnd=(0,a.e)(e)},this.handleBottomActionsSlotChange=e=>{this.hasBottomActions=(0,a.e)(e)},this.handleTooltipSlotChange=e=>{const t=(0,a.s)(e).filter((e=>null===e||void 0===e?void 0:e.matches("calcite-tooltip")));this.expandTooltip=t[0]},this.actionsEndGroupLabel=void 0,this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.overflowActionsDisabled=!1,this.position=void 0,this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.hasActionsEnd=!1,this.hasBottomActions=!1,this.expandTooltip=void 0,this.defaultMessages=void 0}expandHandler(){this.overflowActions()}expandedHandler(){const{el:e,expanded:t}=this;v({el:e,expanded:t}),this.overflowActions()}layoutHandler(){this.updateGroups()}overflowDisabledHandler(e){var t,o;e?null===(o=this.resizeObserver)||void 0===o||o.disconnect():(null===(t=this.resizeObserver)||void 0===t||t.observe(this.el),this.overflowActions())}onMessagesChange(){}effectiveLocaleChange(){(0,r.u)(this,this.effectiveLocale)}componentDidLoad(){const{el:e,expanded:t}=this;(0,s.s)(this),v({el:e,expanded:t}),this.overflowActions()}connectedCallback(){var e;const{el:t,expanded:o}=this;var i;((0,c.c)(this),(0,r.c)(this),v({el:t,expanded:o}),null===(e=this.mutationObserver)||void 0===e||e.observe(t,{childList:!0,subtree:!0}),this.overflowActionsDisabled)||(null===(i=this.resizeObserver)||void 0===i||i.observe(t));this.overflowActions(),(0,n.c)(this)}async componentWillLoad(){(0,s.a)(this),await(0,r.s)(this)}disconnectedCallback(){var e,t;null===(e=this.mutationObserver)||void 0===e||e.disconnect(),null===(t=this.resizeObserver)||void 0===t||t.disconnect(),(0,n.d)(this),(0,c.d)(this),(0,r.d)(this)}async overflowActions(){this.resize({width:this.el.clientWidth,height:this.el.clientHeight})}async setFocus(){await(0,s.c)(this),(0,a.f)(this.el)}updateGroups(){this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group")))}setGroupLayout(e){e.forEach((e=>e.layout=this.layout))}renderBottomActionGroup(){const{expanded:e,expandDisabled:t,el:o,position:n,toggleExpand:a,scale:s,layout:c,messages:l,actionsEndGroupLabel:r}=this,d=t?null:(0,i.h)(x,{collapseText:l.collapse,el:o,expandText:l.expand,expanded:e,position:n,scale:s,toggle:a,tooltip:this.expandTooltip,ref:this.setExpandToggleRef});return(0,i.h)("calcite-action-group",{class:C,hidden:this.expandDisabled&&!(this.hasActionsEnd||this.hasBottomActions),label:r,layout:c,scale:s},(0,i.h)("slot",{name:z,onSlotchange:this.handleActionsEndSlotChange}),(0,i.h)("slot",{name:S,onSlotchange:this.handleBottomActionsSlotChange}),(0,i.h)("slot",{name:k,onSlotchange:this.handleTooltipSlotChange}),d)}render(){return(0,i.h)(i.AA,{onCalciteActionMenuOpen:this.actionMenuOpenHandler},(0,i.h)("slot",{onSlotchange:this.handleDefaultSlotChange}),this.renderBottomActionGroup())}static get assetsDirs(){return["assets"]}get el(){return this}static get watchers(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],layout:["layoutHandler"],overflowActionsDisabled:["overflowDisabledHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}static get style(){return":host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{pointer-events:auto;display:inline-flex;align-self:stretch;
2--calcite-action-bar-expanded-max-width:auto}:host([layout=vertical]){flex-direction:column}:host([layout=vertical]) .action-group--end{margin-block-start:auto}:host([layout=horizontal]){flex-direction:row}:host([layout=horizontal]) .action-group--end{margin-inline-start:auto}:host([layout=vertical][overflow-actions-disabled]){overflow-y:auto}:host([layout=horizontal][overflow-actions-disabled]){overflow-x:auto}:host([layout=vertical][expanded]){max-inline-size:var(--calcite-action-bar-expanded-max-width)}::slotted(calcite-action-group){border-block-end:1px solid var(--calcite-ui-border-3)}:host([layout=horizontal]) ::slotted(calcite-action-group){border-block-end:0;border-inline-end:1px solid var(--calcite-ui-border-3)}:host([layout=horizontal][expand-disabled]) ::slotted(calcite-action-group:last-of-type){border-inline-end:0}::slotted(calcite-action-group:last-child){border-block-end:0;border-inline-end:0}.action-group--end{justify-content:flex-end}:host([hidden]){display:none}[hidden]{display:none}"}},[1,"calcite-action-bar",{actionsEndGroupLabel:[1,"actions-end-group-label"],expandDisabled:[516,"expand-disabled"],expanded:[1540],layout:[513],overflowActionsDisabled:[516,"overflow-actions-disabled"],position:[513],scale:[513],messages:[1040],messageOverrides:[1040],effectiveLocale:[32],hasActionsEnd:[32],hasBottomActions:[32],expandTooltip:[32],defaultMessages:[32],overflowActions:[64],setFocus:[64]}]);function O(){if("undefined"===typeof customElements)return;["calcite-action-bar","calcite-action","calcite-action-group","calcite-action-menu","calcite-icon","calcite-loader","calcite-popover"].forEach((e=>{switch(e){case"calcite-action-bar":customElements.get(e)||customElements.define(e,H);break;case"calcite-action":customElements.get(e)||(0,b.d)();break;case"calcite-action-group":customElements.get(e)||(0,d.d)();break;case"calcite-action-menu":customElements.get(e)||(0,h.d)();break;case"calcite-icon":customElements.get(e)||(0,y.d)();break;case"calcite-loader":customElements.get(e)||(0,A.d)();break;case"calcite-popover":customElements.get(e)||(0,E.d)()}}))}O();const L=H,M=O},19432:(e,t,o)=>{o.d(t,{c:()=>l,d:()=>r});var i=o(51554),n=o(72021);const a=new Set;let s;const c={childList:!0};function l(e){s||(s=(0,n.c)("mutation",d)),s.observe(e.el,c)}function r(e){a.delete(e.el),d(s.takeRecords()),s.disconnect();for(const[t]of a.entries())s.observe(t,c)}function d(e){e.forEach((e=>{let{target:t}=e;(0,i.xE)(t)}))}}}]);
3//# sourceMappingURL=6214.1ed2bbb8.chunk.js.map

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.