PageSourceSearch

https://app-ebt.web.app/build/p-efe692af.entry.js

js app-ebt.web.app collected 2026-10-03 12:18:55 UTC 4,181 bytes, 1 lines download raw bytes

vendor: 4,181 bytes, line 1
1import{r as o,e as i,h as n,H as t,d as r}from"./p-5c854bc2.js";import{p as a}from"./p-bd6f674d.js";import{g as e}from"./p-cc7cb1a3.js";const s=class{constructor(n){o(this,n),this.ionChange=i(this,"ionChange",7),this.ionValueChange=i(this,"ionValueChange",7),this.animated=!0,this.multiple=void 0,this.value=void 0,this.disabled=!1,this.readonly=!1,this.expand="compact"}valueChanged(){const{value:o,multiple:i}=this;!i&&Array.isArray(o)&&a(`ion-accordion-group was passed an array of values, but multiple="false". This is incorrect usage and may result in unexpected behaviors. To dismiss this warning, pass a string to the "value" property when multiple="false".\n\n  Value Passed: [${o.map((o=>`'${o}'`)).join(", ")}]\n`,this.el),this.ionValueChange.emit({value:this.value})}async disabledChanged(){const{disabled:o}=this,i=await this.getAccordions();for(const n of i)n.disabled=o}async readonlyChanged(){const{readonly:o}=this,i=await this.getAccordions();for(const n of i)n.readonly=o}async onKeydown(o){const i=document.activeElement;if(!i)return;if(!i.closest('ion-accordion [slot="header"]'))return;const n="ION-ACCORDION"===i.tagName?i:i.closest("ion-accordion");if(!n)return;if(n.closest("ion-accordion-group")!==this.el)return;const t=await this.getAccordions(),r=t.findIndex((o=>o===n));if(-1===r)return;let a;"ArrowDown"===o.key?a=this.findNextAccordion(t,r):"ArrowUp"===o.key?a=this.findPreviousAccordion(t,r):"Home"===o.key?a=t[0]:"End"===o.key&&(a=t[t.length-1]),void 0!==a&&a!==i&&a.focus()}async componentDidLoad(){this.disabled&&this.disabledChanged(),this.readonly&&this.readonlyChanged(),this.valueChanged()}setValue(o){const i=this.value=o;this.ionChange.emit({value:i})}async requestAccordionToggle(o,i){const{multiple:n,value:t,readonly:r,disabled:a}=this;if(!r&&!a)if(i)if(n){const i=null!=t?t:[],n=Array.isArray(i)?i:[i];void 0===n.find((i=>i===o))&&void 0!==o&&this.setValue([...n,o])}else this.setValue(o);else if(n){const i=null!=t?t:[],n=Array.isArray(i)?i:[i];this.setValue(n.filter((i=>i!==o)))}else this.setValue(void 0)}findNextAccordion(o,i){const n=o[i+1];return void 0===n?o[0]:n}findPreviousAccordion(o,i){const n=o[i-1];return void 0===n?o[o.length-1]:n}async getAccordions(){return Array.from(this.el.querySelectorAll(":scope > ion-accordion"))}render(){const{disabled:o,readonly:i,expand:r}=this,a=e(this);return n(t,{key:"82f3e77066fabb4736638ee4c487ad56efd39c63",class:{[a]:!0,"accordion-group-disabled":o,"accordion-group-readonly":i,[`accordion-group-expand-${r}`]:!0},role:"presentation"},n("slot",{key:"a3c791ea887fc640b512f81d429be465ae902b3d"}))}get el(){return r(this)}static get watchers(){return{value:["valueChanged"],disabled:["disabledChanged"],readonly:["readonlyChanged"]}}};s.style={ios:":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){border-bottom:none}",md:":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;border-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous){border-end-end-radius:6px;border-end-start-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next){border-start-start-radius:6px;border-start-end-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion):first-of-type{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}"};export{s as ion_accordion_group}

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.