!function(){function e(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var a,r,l=[],o=!0,i=!1;try{for(t=t.call(e);!(o=(a=t.next()).done)&&(l.push(a.value),!n||l.length!==n);o=!0);}catch(c){i=!0,r=c}finally{try{o||null==t.return||t.return()}finally{if(i)throw r}}return l}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(e);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return n(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t0&&void 0!==arguments[0]?arguments[0]:!u.value;i.toggle(d.value,e)},V=function(){e.disabled||e.readonly||O()},B=z((function(){var e;return k(o("div",{ref:a,class:I("wrapper"),onTransitionend:C},[o("div",{ref:r,class:I("content")},[null==(e=t.default)?void 0:e.call(t)])]),[[w,A.value]])}));return b({toggle:O}),function(){return o("div",{class:[I({border:c.value&&e.border})]},[(n=e.border,a=e.disabled,r=e.readonly,l=_(e,Object.keys(S)),r&&(l.isLink=!1),(a||r)&&(l.clickable=!1),o(j,x({role:"button",class:I("title",{disabled:a,expanded:u.value,borderless:!n}),"aria-expanded":String(u.value),onClick:V},l),_(t,L))),B()]);var n,a,r,l}}}});n("a",c(M))}}}))}();