@swisspost/design-system-components 1.7.0 → 1.7.1
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/cjs/index-c07c0cdb.js +50 -1
- package/dist/cjs/index.cjs.js +11 -11
- package/dist/cjs/package-989e0b36.js +7 -0
- package/dist/cjs/package-989e0b36.js.map +1 -0
- package/dist/cjs/{post-accordion-f2e00198.js → post-accordion-bc0c6f31.js} +2 -2
- package/dist/cjs/{post-accordion-f2e00198.js.map → post-accordion-bc0c6f31.js.map} +1 -1
- package/dist/cjs/post-accordion.cjs.entry.js +2 -2
- package/dist/cjs/{post-alert-6d0b5e58.js → post-alert-39ac30a4.js} +2 -2
- package/dist/cjs/{post-alert-6d0b5e58.js.map → post-alert-39ac30a4.js.map} +1 -1
- package/dist/cjs/post-alert.cjs.entry.js +2 -2
- package/dist/cjs/{post-collapsible-0b8dce97.js → post-collapsible-85f8ace5.js} +2 -2
- package/dist/cjs/{post-collapsible-0b8dce97.js.map → post-collapsible-85f8ace5.js.map} +1 -1
- package/dist/cjs/post-collapsible.cjs.entry.js +2 -2
- package/dist/cjs/{post-icon-3dbb7728.js → post-icon-53e50c15.js} +2 -2
- package/dist/cjs/{post-icon-3dbb7728.js.map → post-icon-53e50c15.js.map} +1 -1
- package/dist/cjs/post-icon.cjs.entry.js +2 -2
- package/dist/cjs/{post-popover-ea22d235.js → post-popover-5a75c1b2.js} +2 -2
- package/dist/cjs/{post-popover-ea22d235.js.map → post-popover-5a75c1b2.js.map} +1 -1
- package/dist/cjs/post-popover.cjs.entry.js +2 -2
- package/dist/cjs/{post-popovercontainer-42e4ab15.js → post-popovercontainer-84378594.js} +2 -2
- package/dist/cjs/{post-popovercontainer-42e4ab15.js.map → post-popovercontainer-84378594.js.map} +1 -1
- package/dist/cjs/post-popovercontainer.cjs.entry.js +2 -2
- package/dist/cjs/{post-tab-header-09074905.js → post-tab-header-02c6e31e.js} +2 -2
- package/dist/cjs/{post-tab-header-09074905.js.map → post-tab-header-02c6e31e.js.map} +1 -1
- package/dist/cjs/post-tab-header.cjs.entry.js +2 -2
- package/dist/cjs/{post-tab-panel-9547b9ac.js → post-tab-panel-3973b707.js} +2 -2
- package/dist/cjs/{post-tab-panel-9547b9ac.js.map → post-tab-panel-3973b707.js.map} +1 -1
- package/dist/cjs/post-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/{post-tabs-2ec2778e.js → post-tabs-7a4fead7.js} +2 -2
- package/dist/cjs/{post-tabs-2ec2778e.js.map → post-tabs-7a4fead7.js.map} +1 -1
- package/dist/cjs/post-tabs.cjs.entry.js +2 -2
- package/dist/cjs/{post-tooltip-c802c51f.js → post-tooltip-79a9c96d.js} +2 -2
- package/dist/cjs/{post-tooltip-c802c51f.js.map → post-tooltip-79a9c96d.js.map} +1 -1
- package/dist/cjs/post-tooltip.cjs.entry.js +2 -2
- package/dist/components/package.js +1 -1
- package/dist/docs.json +1 -1
- package/dist/esm/index-35998e08.js +50 -1
- package/dist/esm/index.js +11 -11
- package/dist/esm/package-e13ef9ad.js +5 -0
- package/dist/esm/package-e13ef9ad.js.map +1 -0
- package/dist/esm/{post-accordion-c2013bb3.js → post-accordion-8e96598a.js} +2 -2
- package/dist/esm/{post-accordion-c2013bb3.js.map → post-accordion-8e96598a.js.map} +1 -1
- package/dist/esm/post-accordion.entry.js +2 -2
- package/dist/esm/{post-alert-7254a70f.js → post-alert-5e352303.js} +2 -2
- package/dist/esm/{post-alert-7254a70f.js.map → post-alert-5e352303.js.map} +1 -1
- package/dist/esm/post-alert.entry.js +2 -2
- package/dist/esm/{post-collapsible-4464cc98.js → post-collapsible-3cc5dd87.js} +2 -2
- package/dist/esm/{post-collapsible-4464cc98.js.map → post-collapsible-3cc5dd87.js.map} +1 -1
- package/dist/esm/post-collapsible.entry.js +2 -2
- package/dist/esm/{post-icon-e0bbf0f5.js → post-icon-fdda3f99.js} +2 -2
- package/dist/esm/{post-icon-e0bbf0f5.js.map → post-icon-fdda3f99.js.map} +1 -1
- package/dist/esm/post-icon.entry.js +2 -2
- package/dist/esm/{post-popover-25eb3f76.js → post-popover-ff2c259f.js} +2 -2
- package/dist/esm/{post-popover-25eb3f76.js.map → post-popover-ff2c259f.js.map} +1 -1
- package/dist/esm/post-popover.entry.js +2 -2
- package/dist/esm/{post-popovercontainer-54117eea.js → post-popovercontainer-f4cd18cd.js} +2 -2
- package/dist/esm/{post-popovercontainer-54117eea.js.map → post-popovercontainer-f4cd18cd.js.map} +1 -1
- package/dist/esm/post-popovercontainer.entry.js +2 -2
- package/dist/esm/{post-tab-header-1684b507.js → post-tab-header-486b267b.js} +2 -2
- package/dist/esm/{post-tab-header-1684b507.js.map → post-tab-header-486b267b.js.map} +1 -1
- package/dist/esm/post-tab-header.entry.js +2 -2
- package/dist/esm/{post-tab-panel-add26fe5.js → post-tab-panel-13940300.js} +2 -2
- package/dist/esm/{post-tab-panel-add26fe5.js.map → post-tab-panel-13940300.js.map} +1 -1
- package/dist/esm/post-tab-panel.entry.js +2 -2
- package/dist/esm/{post-tabs-d738e61f.js → post-tabs-6f44ed1d.js} +2 -2
- package/dist/esm/{post-tabs-d738e61f.js.map → post-tabs-6f44ed1d.js.map} +1 -1
- package/dist/esm/post-tabs.entry.js +2 -2
- package/dist/esm/{post-tooltip-57928808.js → post-tooltip-1d99cd0c.js} +2 -2
- package/dist/esm/{post-tooltip-57928808.js.map → post-tooltip-1d99cd0c.js.map} +1 -1
- package/dist/esm/post-tooltip.entry.js +2 -2
- package/dist/post-components/index.esm.js +1 -1
- package/dist/post-components/p-169b8ef7.entry.js +2 -0
- package/dist/post-components/{p-7d32dfb7.js → p-28be44d7.js} +2 -2
- package/dist/post-components/{p-1f55663e.js → p-3ef3a1d2.js} +2 -2
- package/dist/post-components/p-4b94c2a1.entry.js +2 -0
- package/dist/post-components/p-4cbb5212.entry.js +2 -0
- package/dist/post-components/p-51ae6f46.entry.js +2 -0
- package/dist/post-components/p-668bf58c.entry.js +2 -0
- package/dist/post-components/p-67d0a4fa.entry.js +2 -0
- package/dist/post-components/p-6b3a5063.entry.js +2 -0
- package/dist/post-components/{p-eaddd6cc.js → p-6cdc82c6.js} +2 -2
- package/dist/post-components/{p-6e3158e8.js → p-723336f2.js} +2 -2
- package/dist/post-components/{p-9bd5f824.js → p-7d08e4f1.js} +2 -2
- package/dist/post-components/p-9b1b6e06.entry.js +2 -0
- package/dist/post-components/p-a5a23448.js +2 -0
- package/dist/post-components/{p-09892ad1.js → p-aca6e9c1.js} +2 -2
- package/dist/post-components/{p-f994dce8.js → p-bc27f061.js} +2 -2
- package/dist/post-components/p-bd1d0117.js +2 -0
- package/dist/post-components/{p-bd032124.js → p-d3ed113e.js} +2 -2
- package/dist/post-components/p-d8365401.entry.js +2 -0
- package/dist/post-components/p-e78d158d.entry.js +2 -0
- package/dist/post-components/{p-dbd07f20.js → p-f695aab4.js} +2 -2
- package/dist/post-components/post-components.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/package-cd0e9960.js +0 -7
- package/dist/cjs/package-cd0e9960.js.map +0 -1
- package/dist/esm/package-337354c3.js +0 -5
- package/dist/esm/package-337354c3.js.map +0 -1
- package/dist/post-components/p-05e85f2b.entry.js +0 -2
- package/dist/post-components/p-08abd53e.entry.js +0 -2
- package/dist/post-components/p-1e9ec4a9.entry.js +0 -2
- package/dist/post-components/p-30c60b6c.entry.js +0 -2
- package/dist/post-components/p-38d97f62.entry.js +0 -2
- package/dist/post-components/p-4c188911.entry.js +0 -2
- package/dist/post-components/p-568bb469.entry.js +0 -2
- package/dist/post-components/p-65c8bd5c.entry.js +0 -2
- package/dist/post-components/p-b4b4f59a.js +0 -2
- package/dist/post-components/p-c5858d52.entry.js +0 -2
- package/dist/post-components/p-de493e36.js +0 -2
- package/dist/post-components/p-ed73d4c0.entry.js +0 -2
- /package/dist/post-components/{p-05e85f2b.entry.js.map → p-169b8ef7.entry.js.map} +0 -0
- /package/dist/post-components/{p-7d32dfb7.js.map → p-28be44d7.js.map} +0 -0
- /package/dist/post-components/{p-1f55663e.js.map → p-3ef3a1d2.js.map} +0 -0
- /package/dist/post-components/{p-08abd53e.entry.js.map → p-4b94c2a1.entry.js.map} +0 -0
- /package/dist/post-components/{p-1e9ec4a9.entry.js.map → p-4cbb5212.entry.js.map} +0 -0
- /package/dist/post-components/{p-30c60b6c.entry.js.map → p-51ae6f46.entry.js.map} +0 -0
- /package/dist/post-components/{p-38d97f62.entry.js.map → p-668bf58c.entry.js.map} +0 -0
- /package/dist/post-components/{p-4c188911.entry.js.map → p-67d0a4fa.entry.js.map} +0 -0
- /package/dist/post-components/{p-568bb469.entry.js.map → p-6b3a5063.entry.js.map} +0 -0
- /package/dist/post-components/{p-eaddd6cc.js.map → p-6cdc82c6.js.map} +0 -0
- /package/dist/post-components/{p-6e3158e8.js.map → p-723336f2.js.map} +0 -0
- /package/dist/post-components/{p-9bd5f824.js.map → p-7d08e4f1.js.map} +0 -0
- /package/dist/post-components/{p-65c8bd5c.entry.js.map → p-9b1b6e06.entry.js.map} +0 -0
- /package/dist/post-components/{p-b4b4f59a.js.map → p-a5a23448.js.map} +0 -0
- /package/dist/post-components/{p-09892ad1.js.map → p-aca6e9c1.js.map} +0 -0
- /package/dist/post-components/{p-f994dce8.js.map → p-bc27f061.js.map} +0 -0
- /package/dist/post-components/{p-c5858d52.entry.js.map → p-bd1d0117.js.map} +0 -0
- /package/dist/post-components/{p-bd032124.js.map → p-d3ed113e.js.map} +0 -0
- /package/dist/post-components/{p-de493e36.js.map → p-d8365401.entry.js.map} +0 -0
- /package/dist/post-components/{p-ed73d4c0.entry.js.map → p-e78d158d.entry.js.map} +0 -0
- /package/dist/post-components/{p-dbd07f20.js.map → p-f695aab4.js.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as e,h as t,H as n,g as r}from"./p-81591ad0.js";import{v as i}from"./p-de493e36.js";function a(e){if(!e){return[]}if(Array.isArray(e)){return e}if(e.nodeType!==undefined){return[e]}if(typeof e==="string"){e=document.querySelectorAll(e)}if(e.length!==undefined){return[].slice.call(e,0)}throw new TypeError("unexpected input "+String(e))}function o(e){var t=e.context,n=e.label,r=n===undefined?"context-to-element":n,i=e.resolveDocument,o=e.defaultToDocument;var u=a(t)[0];if(i&&u&&u.nodeType===Node.DOCUMENT_NODE){u=u.documentElement}if(!u&&o){return document.documentElement}if(!u){throw new TypeError(r+" requires valid options.context")}if(u.nodeType!==Node.ELEMENT_NODE&&u.nodeType!==Node.DOCUMENT_FRAGMENT_NODE){throw new TypeError(r+" requires options.context to be an Element")}return u}function u(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},t=e.context;var n=[];var r=o({label:"get/parents",context:t});while(r){n.push(r);r=r.parentNode;if(r&&r.nodeType!==Node.ELEMENT_NODE){r=null}}return n}var l=["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector"];var f=null;function s(e){l.some((function(t){if(!e[t]){return false}f=t;return true}))}function c(e,t){if(!f){s(e)}return e[f](t)}var d=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};function b(e,t,n){return n={path:t,exports:{},require:function(e,t){return v()}},e(n,n.exports),n.exports}function v(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var m=b((function(e,t){(function(){var n={function:true,object:true};var r=n[typeof window]&&window||this;var i=r;var a=n["object"]&&t;var o=n["object"]&&e&&!e.nodeType&&e;var u=a&&o&&typeof d=="object"&&d;if(u&&(u.global===u||u.window===u||u.self===u)){r=u}var l=Math.pow(2,53)-1;var f=/\bOpera/;var s=this;var c=Object.prototype;var b=c.hasOwnProperty;var v=c.toString;function m(e){e=String(e);return e.charAt(0).toUpperCase()+e.slice(1)}function p(e,t,n){var r={"10.0":"10",6.4:"10 Technical Preview",6.3:"8.1",6.2:"8",6.1:"Server 2008 R2 / 7","6.0":"Server 2008 / Vista",5.2:"Server 2003 / XP 64-bit",5.1:"XP",5.01:"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};if(t&&n&&/^Win/i.test(e)&&!/^Windows Phone /i.test(e)&&(r=r[/[\d.]+$/.exec(e)])){e="Windows "+r}e=String(e);if(t&&n){e=e.replace(RegExp(t,"i"),n)}e=g(e.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0]);return e}function h(e,t){var n=-1,r=e?e.length:0;if(typeof r=="number"&&r>-1&&r<=l){while(++n<r){t(e[n],n,e)}}else{x(e,t)}}function g(e){e=A(e);return/^(?:webOS|i(?:OS|P))/.test(e)?e:m(e)}function x(e,t){for(var n in e){if(b.call(e,n)){t(e[n],n,e)}}}function w(e){return e==null?m(e):v.call(e).slice(8,-1)}function S(e,t){var n=e!=null?typeof e[t]:"number";return!/^(?:boolean|number|string|undefined)$/.test(n)&&(n=="object"?!!e[t]:true)}function y(e){return String(e).replace(/([ -])(?!$)/g,"$1?")}function O(e,t){var n=null;h(e,(function(r,i){n=t(n,r,i,e)}));return n}function A(e){return String(e).replace(/^ +| +$/g,"")}function E(e){var t=r;var n=e&&typeof e=="object"&&w(e)!="String";if(n){t=e;e=null}var a=t.navigator||{};var o=a.userAgent||"";e||(e=o);var u=n||s==i;var l=n?!!a.likeChrome:/\bChrome\b/.test(e)&&!/internal|\n/i.test(v.toString());var c="Object",d=n?c:"ScriptBridgingProxyObject",b=n?c:"Environment",m=n&&t.java?"JavaPackage":w(t.java),h=n?c:"RuntimeObject";var M=/\bJava/.test(m)&&t.java;var I=M&&w(t.environment)==b;var P=M?"a":"α";var k=M?"b":"β";var T=t.document||{};var B=t.operamini||t.opera;var C=f.test(C=n&&B?B["[[Class]]"]:w(B))?C:B=null;var W;var R=e;var j=[];var F=null;var Z=e==o;var $=Z&&B&&typeof B.version=="function"&&B.version();var N;var G=H([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]);var X=V(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"Edge"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt","SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","WebPositive","Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chrome",{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]);var D=J([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation 3","PlayStation 4","PlayStation Vita","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]);var L=z({Apple:{iPad:1,iPhone:1,iPod:1},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{"PlayStation 4":1,"PlayStation 3":1,"PlayStation Vita":1}});var K=q(["Windows Phone","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian","Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);function H(t){return O(t,(function(t,n){return t||RegExp("\\b"+(n.pattern||y(n))+"\\b","i").exec(e)&&(n.label||n)}))}function z(t){return O(t,(function(t,n,r){return t||(n[D]||n[/^[a-z]+(?: +[a-z]+\b)*/i.exec(D)]||RegExp("\\b"+y(r)+"(?:\\b|\\w*\\d)","i").exec(e))&&r}))}function V(t){return O(t,(function(t,n){return t||RegExp("\\b"+(n.pattern||y(n))+"\\b","i").exec(e)&&(n.label||n)}))}function q(t){return O(t,(function(t,n){var r=n.pattern||y(n);if(!t&&(t=RegExp("\\b"+r+"(?:/[\\d.]+|[ \\w.]*)","i").exec(e))){t=p(t,r,n.label||n)}return t}))}function J(t){return O(t,(function(t,n){var r=n.pattern||y(n);if(!t&&(t=RegExp("\\b"+r+" *\\d+[.\\w_]*","i").exec(e)||RegExp("\\b"+r+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(e))){if((t=String(n.label&&!RegExp(r,"i").test(n.label)?n.label:t).split("/"))[1]&&!/[\d.]+/.test(t[0])){t[0]+=" "+t[1]}n=n.label||n;t=g(t[0].replace(RegExp(r,"i"),n).replace(RegExp("; *(?:"+n+"[_-])?","i")," ").replace(RegExp("("+n+")[-_.]?(\\w)","i"),"$1 $2"))}return t}))}function _(t){return O(t,(function(t,n){return t||(RegExp(n+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(e)||0)[1]||null}))}function U(){return this.description||""}G&&(G=[G]);if(L&&!D){D=J([L])}if(W=/\bGoogle TV\b/.exec(D)){D=W[0]}if(/\bSimulator\b/i.test(e)){D=(D?D+" ":"")+"Simulator"}if(X=="Opera Mini"&&/\bOPiOS\b/.test(e)){j.push("running in Turbo/Uncompressed mode")}if(X=="IE"&&/\blike iPhone OS\b/.test(e)){W=E(e.replace(/like iPhone OS/,""));L=W.manufacturer;D=W.product}else if(/^iP/.test(D)){X||(X="Safari");K="iOS"+((W=/ OS ([\d_]+)/i.exec(e))?" "+W[1].replace(/_/g,"."):"")}else if(X=="Konqueror"&&!/buntu/i.test(K)){K="Kubuntu"}else if(L&&L!="Google"&&(/Chrome/.test(X)&&!/\bMobile Safari\b/i.test(e)||/\bVita\b/.test(D))||/\bAndroid\b/.test(K)&&/^Chrome/.test(X)&&/\bVersion\//i.test(e)){X="Android Browser";K=/\bAndroid\b/.test(K)?K:"Android"}else if(X=="Silk"){if(!/\bMobi/i.test(e)){K="Android";j.unshift("desktop mode")}if(/Accelerated *= *true/i.test(e)){j.unshift("accelerated")}}else if(X=="PaleMoon"&&(W=/\bFirefox\/([\d.]+)\b/.exec(e))){j.push("identifying as Firefox "+W[1])}else if(X=="Firefox"&&(W=/\b(Mobile|Tablet|TV)\b/i.exec(e))){K||(K="Firefox OS");D||(D=W[1])}else if(!X||(W=!/\bMinefield\b/i.test(e)&&/\b(?:Firefox|Safari)\b/.exec(X))){if(X&&!D&&/[\/,]|^[^(]+?\)/.test(e.slice(e.indexOf(W+"/")+8))){X=null}if((W=D||L||K)&&(D||L||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(K))){X=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(K)?K:W)+" Browser"}}if(!$){$=_(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|Silk(?!/[\\d.]+$))","Version",y(X),"(?:Firefox|Minefield|NetFront)"])}if(W=G=="iCab"&&parseFloat($)>3&&"WebKit"||/\bOpera\b/.test(X)&&(/\bOPR\b/.test(e)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(e)&&!/^(?:Trident|EdgeHTML)$/.test(G)&&"WebKit"||!G&&/\bMSIE\b/i.test(e)&&(K=="Mac OS"?"Tasman":"Trident")||G=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(X)&&"NetFront"){G=[W]}if(X=="IE"&&(W=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(e)||0)[1])){X+=" Mobile";K="Windows Phone "+(/\+$/.test(W)?W:W+".x");j.unshift("desktop mode")}else if(/\bWPDesktop\b/i.test(e)){X="IE Mobile";K="Windows Phone 8.x";j.unshift("desktop mode");$||($=(/\brv:([\d.]+)/.exec(e)||0)[1])}else if(X!="IE"&&G=="Trident"&&(W=/\brv:([\d.]+)/.exec(e))){if(X){j.push("identifying as "+X+($?" "+$:""))}X="IE";$=W[1]}if(Z){if(S(t,"global")){if(M){W=M.lang.System;R=W.getProperty("os.arch");K=K||W.getProperty("os.name")+" "+W.getProperty("os.version")}if(u&&S(t,"system")&&(W=[t.system])[0]){K||(K=W[0].os||null);try{W[1]=t.require("ringo/engine").version;$=W[1].join(".");X="RingoJS"}catch(e){if(W[0].global.system==t.system){X="Narwhal"}}}else if(typeof t.process=="object"&&!t.process.browser&&(W=t.process)){X="Node.js";R=W.arch;K=W.platform;$=/[\d.]+/.exec(W.version)[0]}else if(I){X="Rhino"}}else if(w(W=t.runtime)==d){X="Adobe AIR";K=W.flash.system.Capabilities.os}else if(w(W=t.phantom)==h){X="PhantomJS";$=(W=W.version||null)&&W.major+"."+W.minor+"."+W.patch}else if(typeof T.documentMode=="number"&&(W=/\bTrident\/(\d+)/i.exec(e))){$=[$,T.documentMode];if((W=+W[1]+4)!=$[1]){j.push("IE "+$[1]+" mode");G&&(G[1]="");$[1]=W}$=X=="IE"?String($[1].toFixed(1)):$[0]}K=K&&g(K)}if($&&(W=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec($)||/(?:alpha|beta)(?: ?\d)?/i.exec(e+";"+(Z&&a.appMinorVersion))||/\bMinefield\b/i.test(e)&&"a")){F=/b/i.test(W)?"beta":"alpha";$=$.replace(RegExp(W+"\\+?$"),"")+(F=="beta"?k:P)+(/\d+\+?/.exec(W)||"")}if(X=="Fennec"||X=="Firefox"&&/\b(?:Android|Firefox OS)\b/.test(K)){X="Firefox Mobile"}else if(X=="Maxthon"&&$){$=$.replace(/\.[\d.]+/,".x")}else if(/\bXbox\b/i.test(D)){K=null;if(D=="Xbox 360"&&/\bIEMobile\b/.test(e)){j.unshift("mobile mode")}}else if((/^(?:Chrome|IE|Opera)$/.test(X)||X&&!D&&!/Browser|Mobi/.test(X))&&(K=="Windows CE"||/Mobi/i.test(e))){X+=" Mobile"}else if(X=="IE"&&Z&&t.external===null){j.unshift("platform preview")}else if((/\bBlackBerry\b/.test(D)||/\bBB10\b/.test(e))&&(W=(RegExp(D.replace(/ +/g," *")+"/([.\\d]+)","i").exec(e)||0)[1]||$)){W=[W,/BB10/.test(e)];K=(W[1]?(D=null,L="BlackBerry"):"Device Software")+" "+W[0];$=null}else if(this!=x&&D!="Wii"&&(Z&&B||/Opera/.test(X)&&/\b(?:MSIE|Firefox)\b/i.test(e)||X=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(K)||X=="IE"&&(K&&!/^Win/.test(K)&&$>5.5||/\bWindows XP\b/.test(K)&&$>8||$==8&&!/\bTrident\b/.test(e)))&&!f.test(W=E.call(x,e.replace(f,"")+";"))&&W.name){W="ing as "+W.name+((W=W.version)?" "+W:"");if(f.test(X)){if(/\bIE\b/.test(W)&&K=="Mac OS"){K=null}W="identify"+W}else{W="mask"+W;if(C){X=g(C.replace(/([a-z])([A-Z])/g,"$1 $2"))}else{X="Opera"}if(/\bIE\b/.test(W)){K=null}if(!Z){$=null}}G=["Presto"];j.push(W)}if(W=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(e)||0)[1]){W=[parseFloat(W.replace(/\.(\d)$/,".0$1")),W];if(X=="Safari"&&W[1].slice(-1)=="+"){X="WebKit Nightly";F="alpha";$=W[1].slice(0,-1)}else if($==W[1]||$==(W[2]=(/\bSafari\/([\d.]+\+?)/i.exec(e)||0)[1])){$=null}W[1]=(/\bChrome\/([\d.]+)/i.exec(e)||0)[1];if(W[0]==537.36&&W[2]==537.36&&parseFloat(W[1])>=28&&G=="WebKit"){G=["Blink"]}if(!Z||!l&&!W[1]){G&&(G[1]="like Safari");W=(W=W[0],W<400?1:W<500?2:W<526?3:W<533?4:W<534?"4+":W<535?5:W<537?6:W<538?7:W<601?8:"8")}else{G&&(G[1]="like Chrome");W=W[1]||(W=W[0],W<530?1:W<532?2:W<532.05?3:W<533?4:W<534.03?5:W<534.07?6:W<534.1?7:W<534.13?8:W<534.16?9:W<534.24?10:W<534.3?11:W<535.01?12:W<535.02?"13+":W<535.07?15:W<535.11?16:W<535.19?17:W<536.05?18:W<536.1?19:W<537.01?20:W<537.11?"21+":W<537.13?23:W<537.18?24:W<537.24?25:W<537.36?26:G!="Blink"?"27":"28")}G&&(G[1]+=" "+(W+=typeof W=="number"?".x":/[.+]/.test(W)?"":"+"));if(X=="Safari"&&(!$||parseInt($)>45)){$=W}}if(X=="Opera"&&(W=/\bzbov|zvav$/.exec(K))){X+=" ";j.unshift("desktop mode");if(W=="zvav"){X+="Mini";$=null}else{X+="Mobile"}K=K.replace(RegExp(" *"+W+"$"),"")}else if(X=="Safari"&&/\bChrome\b/.exec(G&&G[1])){j.unshift("desktop mode");X="Chrome Mobile";$=null;if(/\bOS X\b/.test(K)){L="Apple";K="iOS 4.3+"}else{K=null}}if($&&$.indexOf(W=/[\d.]+$/.exec(K))==0&&e.indexOf("/"+W+"-")>-1){K=A(K.replace(W,""))}if(G&&!/\b(?:Avant|Nook)\b/.test(X)&&(/Browser|Lunascape|Maxthon/.test(X)||X!="Safari"&&/^iOS/.test(K)&&/\bSafari\b/.test(G[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Sleipnir|Web)/.test(X)&&G[1])){(W=G[G.length-1])&&j.push(W)}if(j.length){j=["("+j.join("; ")+")"]}if(L&&D&&D.indexOf(L)<0){j.push("on "+L)}if(D){j.push((/^on /.test(j[j.length-1])?"":"on ")+D)}if(K){W=/ ([\d.+]+)$/.exec(K);N=W&&K.charAt(K.length-W[0].length-1)=="/";K={architecture:32,family:W&&!N?K.replace(W[0],""):K,version:W?W[1]:null,toString:function(){var e=this.version;return this.family+(e&&!N?" "+e:"")+(this.architecture==64?" 64-bit":"")}}}if((W=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(R))&&!/\bi686\b/i.test(R)){if(K){K.architecture=64;K.family=K.family.replace(RegExp(" *"+W),"")}if(X&&(/\bWOW64\b/i.test(e)||Z&&/\w(?:86|32)$/.test(a.cpuClass||a.platform)&&!/\bWin64; x64\b/i.test(e))){j.unshift("32-bit")}}else if(K&&/^OS X/.test(K.family)&&X=="Chrome"&&parseFloat($)>=39){K.architecture=64}e||(e=null);var Y={};Y.description=e;Y.layout=G&&G[0];Y.manufacturer=L;Y.name=X;Y.prerelease=F;Y.product=D;Y.ua=e;Y.version=X&&$;Y.os=K||{architecture:null,family:null,version:null,toString:function(){return"null"}};Y.parse=E;Y.toString=U;if(Y.version){j.unshift($)}if(Y.name){j.unshift(X)}if(K&&X&&!(K==String(K).split(" ")[0]&&(K==X.split(" ")[0]||D))){j.push(D?"("+K+")":"on "+K)}if(j.length){Y.description=j.join(" ")}return Y}var M=E();if(a&&o){x(M,(function(e,t){a[t]=e}))}else{r.platform=M}}).call(d)}));var p=JSON.parse(JSON.stringify(m));var h=p.os.family||"";var g=h==="Android";var x=h.slice(0,7)==="Windows";var w=h==="OS X";var S=h==="iOS";var y=p.layout==="Blink";var O=p.layout==="Gecko";var A=p.layout==="Trident";var E=p.layout==="EdgeHTML";var M=p.layout==="WebKit";var I=parseFloat(p.version);var P=Math.floor(I);p.majorVersion=P;p.is={ANDROID:g,WINDOWS:x,OSX:w,IOS:S,BLINK:y,GECKO:O,TRIDENT:A,EDGE:E,WEBKIT:M,IE9:A&&P===9,IE10:A&&P===10,IE11:A&&P===11};function k(){var e={activeElement:document.activeElement,windowScrollTop:window.scrollTop,windowScrollLeft:window.scrollLeft,bodyScrollTop:document.body.scrollTop,bodyScrollLeft:document.body.scrollLeft};var t=document.createElement("iframe");t.setAttribute("style","position:absolute; position:fixed; top:0; left:-2px; width:1px; height:1px; overflow:hidden;");t.setAttribute("aria-live","off");t.setAttribute("aria-busy","true");t.setAttribute("aria-hidden","true");document.body.appendChild(t);var n=t.contentWindow;var r=n.document;r.open();r.close();var i=r.createElement("div");r.body.appendChild(i);e.iframe=t;e.wrapper=i;e.window=n;e.document=r;return e}function T(e,t){e.wrapper.innerHTML="";var n=typeof t.element==="string"?e.document.createElement(t.element):t.element(e.wrapper,e.document);var r=t.mutate&&t.mutate(n,e.wrapper,e.document);if(!r&&r!==false){r=n}!n.parentNode&&e.wrapper.appendChild(n);r&&r.focus&&r.focus();return t.validate?t.validate(n,r,e.document):e.document.activeElement===r}function B(e){if(e.activeElement===document.body){document.activeElement&&document.activeElement.blur&&document.activeElement.blur();if(p.is.IE10){document.body.focus()}}else{e.activeElement&&e.activeElement.focus&&e.activeElement.focus()}document.body.removeChild(e.iframe);window.scrollTop=e.windowScrollTop;window.scrollLeft=e.windowScrollLeft;document.body.scrollTop=e.bodyScrollTop;document.body.scrollLeft=e.bodyScrollLeft}function C(e){var t=k();var n={};Object.keys(e).map((function(r){n[r]=T(t,e[r])}));B(t);return n}var W="1.4.1";function R(e){var t=void 0;try{t=window.localStorage&&window.localStorage.getItem(e);t=t?JSON.parse(t):{}}catch(e){t={}}return t}function j(e,t){if(!document.hasFocus()){try{window.localStorage&&window.localStorage.removeItem(e)}catch(e){}return}try{window.localStorage&&window.localStorage.setItem(e,JSON.stringify(t))}catch(e){}}var F=typeof window!=="undefined"&&window.navigator.userAgent||"";var Z="ally-supports-cache";var $=R(Z);if($.userAgent!==F||$.version!==W){$={}}$.userAgent=F;$.version=W;const N={get:function e(){return $},set:function e(t){Object.keys(t).forEach((function(e){$[e]=t[e]}));$.time=(new Date).toISOString();j(Z,$)}};function G(){var e=void 0;try{document.querySelector("html >>> :first-child");e=">>>"}catch(t){try{document.querySelector("html /deep/ :first-child");e="/deep/"}catch(t){e=""}}return e}const X="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7";const D={element:"div",mutate:function e(t){t.innerHTML='<map name="image-map-tabindex-test">'+'<area shape="rect" coords="63,19,144,45"></map>'+'<img usemap="#image-map-tabindex-test" tabindex="-1" alt="" src="'+X+'">';return t.querySelector("area")}};const L={element:"div",mutate:function e(t){t.innerHTML='<map name="image-map-tabindex-test">'+'<area href="#void" tabindex="-1" shape="rect" coords="63,19,144,45"></map>'+'<img usemap="#image-map-tabindex-test" alt="" src="'+X+'">';return false},validate:function e(t,n,r){if(p.is.GECKO){return true}var i=t.querySelector("area");i.focus();return r.activeElement===i}};const K={element:"div",mutate:function e(t){t.innerHTML='<map name="image-map-area-href-test">'+'<area shape="rect" coords="63,19,144,45"></map>'+'<img usemap="#image-map-area-href-test" alt="" src="'+X+'">';return t.querySelector("area")},validate:function e(t,n,r){if(p.is.GECKO){return true}return r.activeElement===n}};const H={name:"can-focus-audio-without-controls",element:"audio",mutate:function e(t){try{t.setAttribute("src",X)}catch(e){}}};const z="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ";const V={element:"div",mutate:function e(t){t.innerHTML='<map name="broken-image-map-test"><area href="#void" shape="rect" coords="63,19,144,45"></map>'+'<img usemap="#broken-image-map-test" alt="" src="'+z+'">';return t.querySelector("area")}};const q={element:"div",mutate:function e(t){t.setAttribute("tabindex","-1");t.setAttribute("style","display: -webkit-flex; display: -ms-flexbox; display: flex;");t.innerHTML='<span style="display: block;">hello</span>';return t.querySelector("span")}};const J={element:"fieldset",mutate:function e(t){t.setAttribute("tabindex",0);t.setAttribute("disabled","disabled")}};const _={element:"fieldset",mutate:function e(t){t.innerHTML="<legend>legend</legend><p>content</p>"}};const U={element:"span",mutate:function e(t){t.setAttribute("style","display: -webkit-flex; display: -ms-flexbox; display: flex;");t.innerHTML='<span style="display: block;">hello</span>'}};const Y={element:"form",mutate:function e(t){t.setAttribute("tabindex",0);t.setAttribute("disabled","disabled")}};const Q={element:"a",mutate:function e(t){t.href="#void";t.innerHTML='<img ismap src="'+X+'" alt="">';return t.querySelector("img")}};const ee={element:"div",mutate:function e(t){t.innerHTML='<map name="image-map-tabindex-test"><area href="#void" shape="rect" coords="63,19,144,45"></map>'+'<img usemap="#image-map-tabindex-test" tabindex="-1" alt="" '+'src="'+X+'">';return t.querySelector("img")}};const te={element:function e(t,n){var r=n.createElement("iframe");t.appendChild(r);var i=r.contentWindow.document;i.open();i.close();return r},mutate:function e(t){t.style.visibility="hidden";var n=t.contentWindow.document;var r=n.createElement("input");n.body.appendChild(r);return r},validate:function e(t){var n=t.contentWindow.document;var r=n.querySelector("input");return n.activeElement===r}};var ne=!p.is.WEBKIT;function re(){return ne}const ie={element:"div",mutate:function e(t){t.setAttribute("tabindex","invalid-value")}};const ae={element:"label",mutate:function e(t){t.setAttribute("tabindex","-1")},validate:function e(t,n,r){t.focus();return r.activeElement===t}};const oe="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtb"+"G5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBpZD0ic3ZnIj48dGV4dCB4PSIxMCIgeT0iMjAiIGlkPSJ"+"zdmctbGluay10ZXh0Ij50ZXh0PC90ZXh0Pjwvc3ZnPg==";const ue={element:"object",mutate:function e(t){t.setAttribute("type","image/svg+xml");t.setAttribute("data",oe);t.setAttribute("width","200");t.setAttribute("height","50");t.style.visibility="hidden"}};const le={name:"can-focus-object-svg",element:"object",mutate:function e(t){t.setAttribute("type","image/svg+xml");t.setAttribute("data",oe);t.setAttribute("width","200");t.setAttribute("height","50")},validate:function e(t,n,r){if(p.is.GECKO){return true}return r.activeElement===t}};var fe=!p.is.IE9;function se(){return fe}const ce={element:"div",mutate:function e(t){t.innerHTML='<map name="focus-redirect-img-usemap"><area href="#void" shape="rect" coords="63,19,144,45"></map>'+'<img usemap="#focus-redirect-img-usemap" alt="" '+'src="'+X+'">';return t.querySelector("img")},validate:function e(t,n,r){var i=t.querySelector("area");return r.activeElement===i}};const de={element:"fieldset",mutate:function e(t){t.innerHTML='<legend>legend</legend><input tabindex="-1"><input tabindex="0">';return false},validate:function e(t,n,r){var i=t.querySelector('input[tabindex="-1"]');var a=t.querySelector('input[tabindex="0"]');t.focus();t.querySelector("legend").focus();return r.activeElement===i&&"focusable"||r.activeElement===a&&"tabbable"||""}};const be={element:"div",mutate:function e(t){t.setAttribute("style","width: 100px; height: 50px; overflow: auto;");t.innerHTML='<div style="width: 500px; height: 40px;">scrollable content</div>';return t.querySelector("div")}};const ve={element:"div",mutate:function e(t){t.setAttribute("style","width: 100px; height: 50px;");t.innerHTML='<div style="width: 500px; height: 40px;">scrollable content</div>'}};const me={element:"div",mutate:function e(t){t.setAttribute("style","width: 100px; height: 50px; overflow: auto;");t.innerHTML='<div style="width: 500px; height: 40px;">scrollable content</div>'}};const pe={element:"details",mutate:function e(t){t.innerHTML="<summary>foo</summary><p>content</p>";return t.firstElementChild}};function he(){var e=document.createElement("div");e.innerHTML='<svg><foreignObject width="30" height="30">\n <input type="text"/>\n </foreignObject></svg>';return e.firstChild.firstChild}function ge(e){var t=e.ownerSVGElement||e.nodeName.toLowerCase()==="svg";if(!t){return false}var n=he();e.appendChild(n);var r=n.querySelector("input");r.focus();r.disabled=true;e.removeChild(n);return true}function xe(e){return'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">'+e+"</svg>"}function we(e){if(e.focus){return}try{HTMLElement.prototype.focus.call(e)}catch(t){ge(e)}}function Se(e,t,n){we(t);return n.activeElement===t}const ye={element:"div",mutate:function e(t){t.innerHTML=xe('<text focusable="true">a</text>');return t.querySelector("text")},validate:Se};const Oe={element:"div",mutate:function e(t){t.innerHTML=xe('<text tabindex="0">a</text>');return t.querySelector("text")},validate:Se};const Ae={element:"div",mutate:function e(t){t.innerHTML=xe('<text tabindex="-1">a</text>');return t.querySelector("text")},validate:Se};const Ee={element:"div",mutate:function e(t){t.innerHTML=xe(['<g id="ally-test-target"><a xlink:href="#void"><text>link</text></a></g>','<use xlink:href="#ally-test-target" x="0" y="0" tabindex="-1" />'].join(""));return t.querySelector("use")},validate:Se};const Me={element:"div",mutate:function e(t){t.innerHTML=xe('<foreignObject tabindex="-1"><input type="text" /></foreignObject>');return t.querySelector("foreignObject")||t.getElementsByTagName("foreignObject")[0]},validate:Se};var Ie=Boolean(p.is.GECKO&&typeof SVGElement!=="undefined"&&SVGElement.prototype.focus);function Pe(){return Ie}const ke={element:"div",mutate:function e(t){t.innerHTML=xe("");return t.firstChild},validate:Se};const Te={element:"div",mutate:function e(t){t.setAttribute("tabindex","3x")}};const Be={element:"table",mutate:function e(t,n,r){var i=r.createDocumentFragment();i.innerHTML="<tr><td>cell</td></tr>";t.appendChild(i)}};const Ce={element:"video",mutate:function e(t){try{t.setAttribute("src",X)}catch(e){}}};var We=p.is.GECKO||p.is.TRIDENT||p.is.EDGE;function Re(){return We}var je={cssShadowPiercingDeepCombinator:G,focusInZeroDimensionObject:re,focusObjectSwf:se,focusSvgInIframe:Pe,tabsequenceAreaAtImgPosition:Re};var Fe={focusAreaImgTabindex:D,focusAreaTabindex:L,focusAreaWithoutHref:K,focusAudioWithoutControls:H,focusBrokenImageMap:V,focusChildrenOfFocusableFlexbox:q,focusFieldsetDisabled:J,focusFieldset:_,focusFlexboxContainer:U,focusFormDisabled:Y,focusImgIsmap:Q,focusImgUsemapTabindex:ee,focusInHiddenIframe:te,focusInvalidTabindex:ie,focusLabelTabindex:ae,focusObjectSvg:le,focusObjectSvgHidden:ue,focusRedirectImgUsemap:ce,focusRedirectLegend:de,focusScrollBody:be,focusScrollContainerWithoutOverflow:ve,focusScrollContainer:me,focusSummary:pe,focusSvgFocusableAttribute:ye,focusSvgTabindexAttribute:Oe,focusSvgNegativeTabindexAttribute:Ae,focusSvgUseTabindex:Ee,focusSvgForeignobjectTabindex:Me,focusSvg:ke,focusTabindexTrailingCharacters:Te,focusTable:Be,focusVideoWithoutControls:Ce};function Ze(){var e=C(Fe);Object.keys(je).forEach((function(t){e[t]=je[t]()}));return e}var $e=null;function Ne(){if($e){return $e}$e=N.get();if(!$e.time){N.set(Ze());$e=N.get()}return $e}var Ge=void 0;var Xe=/^\s*(-|\+)?[0-9]+\s*$/;var De=/^\s*(-|\+)?[0-9]+.*$/;function Le(e){if(!Ge){Ge=Ne()}var t=Ge.focusTabindexTrailingCharacters?De:Xe;var n=o({label:"is/valid-tabindex",resolveDocument:true,context:e});var r=n.hasAttribute("tabindex");var i=n.hasAttribute("tabIndex");if(!r&&!i){return false}var a=n.ownerSVGElement||n.nodeName.toLowerCase()==="svg";if(a&&!Ge.focusSvgTabindexAttribute){return false}if(Ge.focusInvalidTabindex){return true}var u=n.getAttribute(r?"tabindex":"tabIndex");if(u==="-32768"){return false}return Boolean(u&&t.test(u))}function Ke(e){if(!Le(e)){return null}var t=e.hasAttribute("tabindex");var n=t?"tabindex":"tabIndex";var r=parseInt(e.getAttribute(n),10);return isNaN(r)?-1:r}function He(e){var t=e.webkitUserModify||"";return Boolean(t&&t.indexOf("write")!==-1)}function ze(e){return[e.getPropertyValue("overflow"),e.getPropertyValue("overflow-x"),e.getPropertyValue("overflow-y")].some((function(e){return e==="auto"||e==="scroll"}))}function Ve(e){return e.display.indexOf("flex")>-1}function qe(e,t,n,r){if(t!=="div"&&t!=="span"){return false}if(n&&n!=="div"&&n!=="span"&&!ze(r)){return false}return e.offsetHeight<e.scrollHeight||e.offsetWidth<e.scrollWidth}var Je=void 0;function _e(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},t=e.context,n=e.except,r=n===undefined?{flexbox:false,scrollable:false,shadow:false}:n;if(!Je){Je=Ne()}var i=o({label:"is/focus-relevant",resolveDocument:true,context:t});if(!r.shadow&&i.shadowRoot){return true}var a=i.nodeName.toLowerCase();if(a==="input"&&i.type==="hidden"){return false}if(a==="input"||a==="select"||a==="button"||a==="textarea"){return true}if(a==="legend"&&Je.focusRedirectLegend){return true}if(a==="label"){return true}if(a==="area"){return true}if(a==="a"&&i.hasAttribute("href")){return true}if(a==="object"&&i.hasAttribute("usemap")){return false}if(a==="object"){var l=i.getAttribute("type");if(!Je.focusObjectSvg&&l==="image/svg+xml"){return false}else if(!Je.focusObjectSwf&&l==="application/x-shockwave-flash"){return false}}if(a==="iframe"||a==="object"){return true}if(a==="embed"||a==="keygen"){return true}if(i.hasAttribute("contenteditable")){return true}if(a==="audio"&&(Je.focusAudioWithoutControls||i.hasAttribute("controls"))){return true}if(a==="video"&&(Je.focusVideoWithoutControls||i.hasAttribute("controls"))){return true}if(Je.focusSummary&&a==="summary"){return true}var f=Le(i);if(a==="img"&&i.hasAttribute("usemap")){return f&&Je.focusImgUsemapTabindex||Je.focusRedirectImgUsemap}if(Je.focusTable&&(a==="table"||a==="td")){return true}if(Je.focusFieldset&&a==="fieldset"){return true}var s=a==="svg";var d=i.ownerSVGElement;var b=i.getAttribute("focusable");var v=Ke(i);if(a==="use"&&v!==null&&!Je.focusSvgUseTabindex){return false}if(a==="foreignobject"){return v!==null&&Je.focusSvgForeignobjectTabindex}if(c(i,"svg a")&&i.hasAttribute("xlink:href")){return true}if((s||d)&&i.focus&&!Je.focusSvgNegativeTabindexAttribute&&v<0){return false}if(s){return f||Je.focusSvg||Je.focusSvgInIframe||Boolean(Je.focusSvgFocusableAttribute&&b&&b==="true")}if(d){if(Je.focusSvgTabindexAttribute&&f){return true}if(Je.focusSvgFocusableAttribute){return b==="true"}}if(f){return true}var m=window.getComputedStyle(i,null);if(He(m)){return true}if(Je.focusImgIsmap&&a==="img"&&i.hasAttribute("ismap")){var p=u({context:i}).some((function(e){return e.nodeName.toLowerCase()==="a"&&e.hasAttribute("href")}));if(p){return true}}if(!r.scrollable&&Je.focusScrollContainer){if(Je.focusScrollContainerWithoutOverflow){if(qe(i,a)){return true}}else if(ze(m)){return true}}if(!r.flexbox&&Je.focusFlexboxContainer&&Ve(m)){return true}var h=i.parentElement;if(!r.scrollable&&h){var g=h.nodeName.toLowerCase();var x=window.getComputedStyle(h,null);if(Je.focusScrollBody&&qe(h,a,g,x)){return true}if(Je.focusChildrenOfFocusableFlexbox){if(Ve(x)){return true}}}return false}_e.except=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var t=function t(n){return _e({context:n,except:e})};t.rules=_e;return t};var Ue=_e.except({});function Ye(e,t){if(e.findIndex){return e.findIndex(t)}var n=e.length;if(n===0){return-1}for(var r=0;r<n;r++){if(t(e[r],r,e)){return r}}return-1}function Qe(e){try{return e.contentDocument||e.contentWindow&&e.contentWindow.document||e.getSVGDocument&&e.getSVGDocument()||null}catch(e){return null}}function et(e){if(!e){return document}if(e.nodeType===Node.DOCUMENT_NODE){return e}return e.ownerDocument||document}function tt(e){var t=et(e);return t.defaultView||window}var nt=void 0;function rt(e){if(typeof nt!=="string"){var t=G();if(t){nt=", html "+t+" "}}if(!nt){return e}return e+nt+e.replace(/\s*,\s*/g,",").split(",").join(nt)}var it=void 0;function at(e){if(!it){it=rt("object, iframe")}if(e._frameElement!==undefined){return e._frameElement}e._frameElement=null;var t=e.parent.document.querySelectorAll(it);[].some.call(t,(function(t){var n=Qe(t);if(n!==e.document){return false}e._frameElement=t;return true}));return e._frameElement}function ot(e){var t=tt(e);if(!t.parent||t.parent===t){return null}try{return t.frameElement||at(t)}catch(e){return null}}var ut=/^(area)$/;function lt(e,t){return window.getComputedStyle(e,null).getPropertyValue(t)}function ft(e){return e.some((function(e){return lt(e,"display")==="none"}))}function st(e){var t=Ye(e,(function(e){var t=lt(e,"visibility");return t==="hidden"||t==="collapse"}));if(t===-1){return false}var n=Ye(e,(function(e){return lt(e,"visibility")==="visible"}));if(n===-1){return true}if(t<n){return true}return false}function ct(e){var t=1;if(e[0].nodeName.toLowerCase()==="summary"){t=2}return e.slice(t).some((function(e){return e.nodeName.toLowerCase()==="details"&&e.open===false}))}function dt(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},t=e.context,n=e.except,r=n===undefined?{notRendered:false,cssDisplay:false,cssVisibility:false,detailsElement:false,browsingContext:false}:n;var i=o({label:"is/visible",resolveDocument:true,context:t});var a=i.nodeName.toLowerCase();if(!r.notRendered&&ut.test(a)){return true}var l=u({context:i});var f=a==="audio"&&!i.hasAttribute("controls");if(!r.cssDisplay&&ft(f?l.slice(1):l)){return false}if(!r.cssVisibility&&st(l)){return false}if(!r.detailsElement&&ct(l)){return false}if(!r.browsingContext){var s=ot(i);var c=dt.except(r);if(s&&!c(s)){return false}}return true}dt.except=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var t=function t(n){return dt({context:n,except:e})};t.rules=dt;return t};var bt=dt.except({});var vt=b((function(e,t){(function(t,n){{e.exports=n(t)}})(typeof d!="undefined"?d:d,(function(e){if(e.CSS&&e.CSS.escape){return e.CSS.escape}var t=function(e){if(arguments.length==0){throw new TypeError("`CSS.escape` requires an argument.")}var t=String(e);var n=t.length;var r=-1;var i;var a="";var o=t.charCodeAt(0);while(++r<n){i=t.charCodeAt(r);if(i==0){a+="�";continue}if(i>=1&&i<=31||i==127||r==0&&i>=48&&i<=57||r==1&&i>=48&&i<=57&&o==45){a+="\\"+i.toString(16)+" ";continue}if(r==0&&n==1&&i==45){a+="\\"+t.charAt(r);continue}if(i>=128||i==45||i==95||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122){a+=t.charAt(r);continue}a+="\\"+t.charAt(r)}return a};if(!e.CSS){e.CSS={}}e.CSS.escape=t;return t}))}));function mt(e){var t=e.parentElement;if(!t.name||t.nodeName.toLowerCase()!=="map"){return null}var n=et(e);return n.querySelector('img[usemap="#'+vt(t.name)+'"]')||null}var pt=void 0;function ht(e){if(!pt){pt=Ne()}var t=o({label:"is/valid-area",context:e});var n=t.nodeName.toLowerCase();if(n!=="area"){return false}var r=t.hasAttribute("tabindex");if(!pt.focusAreaTabindex&&r){return false}var i=mt(t);if(!i||!bt(i)){return false}if(!pt.focusBrokenImageMap&&(!i.complete||!i.naturalHeight||i.offsetWidth<=0||i.offsetHeight<=0)){return false}if(!pt.focusAreaWithoutHref&&!t.href){return pt.focusAreaTabindex&&r||pt.focusAreaImgTabindex&&i.hasAttribute("tabindex")}var a=u({context:i}).slice(1).some((function(e){var t=e.nodeName.toLowerCase();return t==="button"||t==="a"}));if(a){return false}return true}var gt=void 0;var xt=void 0;var wt={input:true,select:true,textarea:true,button:true,fieldset:true,form:true};function St(e){if(!gt){gt=Ne();if(gt.focusFieldsetDisabled){delete wt.fieldset}if(gt.focusFormDisabled){delete wt.form}xt=new RegExp("^("+Object.keys(wt).join("|")+")$")}var t=o({label:"is/native-disabled-supported",context:e});var n=t.nodeName.toLowerCase();return Boolean(xt.test(n))}var yt=void 0;function Ot(e){var t=e.nodeName.toLowerCase();return t==="fieldset"&&e.disabled}function At(e){var t=e.nodeName.toLowerCase();return t==="form"&&e.disabled}function Et(e){if(!yt){yt=Ne()}var t=o({label:"is/disabled",context:e});if(t.hasAttribute("data-ally-disabled")){return true}if(!St(t)){return false}if(t.disabled){return true}var n=u({context:t});if(n.some(Ot)){return true}if(!yt.focusFormDisabled&&n.some(At)){return true}return false}function Mt(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},t=e.context,n=e.except,r=n===undefined?{onlyFocusableBrowsingContext:false,visible:false}:n;var i=o({label:"is/only-tabbable",resolveDocument:true,context:t});if(!r.visible&&!bt(i)){return false}if(!r.onlyFocusableBrowsingContext&&(p.is.GECKO||p.is.TRIDENT||p.is.EDGE)){var a=ot(i);if(a){if(Ke(a)<0){return false}}}var u=i.nodeName.toLowerCase();var l=Ke(i);if(u==="label"&&p.is.GECKO){return l!==null&&l>=0}if(p.is.GECKO&&i.ownerSVGElement&&!i.focus){if(u==="a"&&i.hasAttribute("xlink:href")){if(p.is.GECKO){return true}}}return false}Mt.except=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var t=function t(n){return Mt({context:n,except:e})};t.rules=Mt;return t};var It=Mt.except({});var Pt=void 0;function kt(e){var t=e.nodeName.toLowerCase();if(t==="embed"||t==="keygen"){return true}var n=Ke(e);if(e.shadowRoot&&n===null){return true}if(t==="label"){return!Pt.focusLabelTabindex||n===null}if(t==="legend"){return n===null}if(Pt.focusSvgFocusableAttribute&&(e.ownerSVGElement||t==="svg")){var r=e.getAttribute("focusable");return r&&r==="false"}if(t==="img"&&e.hasAttribute("usemap")){return n===null||!Pt.focusImgUsemapTabindex}if(t==="area"){return!ht(e)}return false}function Tt(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},t=e.context,n=e.except,r=n===undefined?{disabled:false,visible:false,onlyTabbable:false}:n;if(!Pt){Pt=Ne()}var i=It.rules.except({onlyFocusableBrowsingContext:true,visible:r.visible});var a=o({label:"is/focusable",resolveDocument:true,context:t});var u=Ue.rules({context:a,except:r});if(!u||kt(a)){return false}if(!r.disabled&&Et(a)){return false}if(!r.onlyTabbable&&i(a)){return false}if(!r.visible){var l={context:a,except:{}};if(Pt.focusInHiddenIframe){l.except.browsingContext=true}if(Pt.focusObjectSvgHidden){var f=a.nodeName.toLowerCase();if(f==="object"){l.except.cssVisibility=true}}if(!bt.rules(l)){return false}}var s=ot(a);if(s){var c=s.nodeName.toLowerCase();if(c==="object"&&!Pt.focusInZeroDimensionObject){if(!s.offsetWidth||!s.offsetHeight){return false}}}var d=a.nodeName.toLowerCase();if(d==="svg"&&Pt.focusSvgInIframe&&!s&&a.getAttribute("tabindex")===null){return false}return true}Tt.except=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var t=function t(n){return Tt({context:n,except:e})};t.rules=Tt;return t};var Bt=Tt.except({});
|
|
1
|
+
import{r as e,h as t,H as n,g as r}from"./p-81591ad0.js";import{v as i}from"./p-bd1d0117.js";function a(e){if(!e){return[]}if(Array.isArray(e)){return e}if(e.nodeType!==undefined){return[e]}if(typeof e==="string"){e=document.querySelectorAll(e)}if(e.length!==undefined){return[].slice.call(e,0)}throw new TypeError("unexpected input "+String(e))}function o(e){var t=e.context,n=e.label,r=n===undefined?"context-to-element":n,i=e.resolveDocument,o=e.defaultToDocument;var u=a(t)[0];if(i&&u&&u.nodeType===Node.DOCUMENT_NODE){u=u.documentElement}if(!u&&o){return document.documentElement}if(!u){throw new TypeError(r+" requires valid options.context")}if(u.nodeType!==Node.ELEMENT_NODE&&u.nodeType!==Node.DOCUMENT_FRAGMENT_NODE){throw new TypeError(r+" requires options.context to be an Element")}return u}function u(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},t=e.context;var n=[];var r=o({label:"get/parents",context:t});while(r){n.push(r);r=r.parentNode;if(r&&r.nodeType!==Node.ELEMENT_NODE){r=null}}return n}var l=["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector"];var f=null;function s(e){l.some((function(t){if(!e[t]){return false}f=t;return true}))}function c(e,t){if(!f){s(e)}return e[f](t)}var d=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};function b(e,t,n){return n={path:t,exports:{},require:function(e,t){return v()}},e(n,n.exports),n.exports}function v(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var m=b((function(e,t){(function(){var n={function:true,object:true};var r=n[typeof window]&&window||this;var i=r;var a=n["object"]&&t;var o=n["object"]&&e&&!e.nodeType&&e;var u=a&&o&&typeof d=="object"&&d;if(u&&(u.global===u||u.window===u||u.self===u)){r=u}var l=Math.pow(2,53)-1;var f=/\bOpera/;var s=this;var c=Object.prototype;var b=c.hasOwnProperty;var v=c.toString;function m(e){e=String(e);return e.charAt(0).toUpperCase()+e.slice(1)}function p(e,t,n){var r={"10.0":"10",6.4:"10 Technical Preview",6.3:"8.1",6.2:"8",6.1:"Server 2008 R2 / 7","6.0":"Server 2008 / Vista",5.2:"Server 2003 / XP 64-bit",5.1:"XP",5.01:"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};if(t&&n&&/^Win/i.test(e)&&!/^Windows Phone /i.test(e)&&(r=r[/[\d.]+$/.exec(e)])){e="Windows "+r}e=String(e);if(t&&n){e=e.replace(RegExp(t,"i"),n)}e=g(e.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0]);return e}function h(e,t){var n=-1,r=e?e.length:0;if(typeof r=="number"&&r>-1&&r<=l){while(++n<r){t(e[n],n,e)}}else{x(e,t)}}function g(e){e=A(e);return/^(?:webOS|i(?:OS|P))/.test(e)?e:m(e)}function x(e,t){for(var n in e){if(b.call(e,n)){t(e[n],n,e)}}}function w(e){return e==null?m(e):v.call(e).slice(8,-1)}function S(e,t){var n=e!=null?typeof e[t]:"number";return!/^(?:boolean|number|string|undefined)$/.test(n)&&(n=="object"?!!e[t]:true)}function y(e){return String(e).replace(/([ -])(?!$)/g,"$1?")}function O(e,t){var n=null;h(e,(function(r,i){n=t(n,r,i,e)}));return n}function A(e){return String(e).replace(/^ +| +$/g,"")}function E(e){var t=r;var n=e&&typeof e=="object"&&w(e)!="String";if(n){t=e;e=null}var a=t.navigator||{};var o=a.userAgent||"";e||(e=o);var u=n||s==i;var l=n?!!a.likeChrome:/\bChrome\b/.test(e)&&!/internal|\n/i.test(v.toString());var c="Object",d=n?c:"ScriptBridgingProxyObject",b=n?c:"Environment",m=n&&t.java?"JavaPackage":w(t.java),h=n?c:"RuntimeObject";var M=/\bJava/.test(m)&&t.java;var I=M&&w(t.environment)==b;var P=M?"a":"α";var k=M?"b":"β";var T=t.document||{};var B=t.operamini||t.opera;var C=f.test(C=n&&B?B["[[Class]]"]:w(B))?C:B=null;var W;var R=e;var j=[];var F=null;var Z=e==o;var $=Z&&B&&typeof B.version=="function"&&B.version();var N;var G=H([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]);var X=V(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"Edge"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt","SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","WebPositive","Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chrome",{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]);var D=J([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation 3","PlayStation 4","PlayStation Vita","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]);var L=z({Apple:{iPad:1,iPhone:1,iPod:1},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{"PlayStation 4":1,"PlayStation 3":1,"PlayStation Vita":1}});var K=q(["Windows Phone","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian","Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);function H(t){return O(t,(function(t,n){return t||RegExp("\\b"+(n.pattern||y(n))+"\\b","i").exec(e)&&(n.label||n)}))}function z(t){return O(t,(function(t,n,r){return t||(n[D]||n[/^[a-z]+(?: +[a-z]+\b)*/i.exec(D)]||RegExp("\\b"+y(r)+"(?:\\b|\\w*\\d)","i").exec(e))&&r}))}function V(t){return O(t,(function(t,n){return t||RegExp("\\b"+(n.pattern||y(n))+"\\b","i").exec(e)&&(n.label||n)}))}function q(t){return O(t,(function(t,n){var r=n.pattern||y(n);if(!t&&(t=RegExp("\\b"+r+"(?:/[\\d.]+|[ \\w.]*)","i").exec(e))){t=p(t,r,n.label||n)}return t}))}function J(t){return O(t,(function(t,n){var r=n.pattern||y(n);if(!t&&(t=RegExp("\\b"+r+" *\\d+[.\\w_]*","i").exec(e)||RegExp("\\b"+r+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(e))){if((t=String(n.label&&!RegExp(r,"i").test(n.label)?n.label:t).split("/"))[1]&&!/[\d.]+/.test(t[0])){t[0]+=" "+t[1]}n=n.label||n;t=g(t[0].replace(RegExp(r,"i"),n).replace(RegExp("; *(?:"+n+"[_-])?","i")," ").replace(RegExp("("+n+")[-_.]?(\\w)","i"),"$1 $2"))}return t}))}function _(t){return O(t,(function(t,n){return t||(RegExp(n+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(e)||0)[1]||null}))}function U(){return this.description||""}G&&(G=[G]);if(L&&!D){D=J([L])}if(W=/\bGoogle TV\b/.exec(D)){D=W[0]}if(/\bSimulator\b/i.test(e)){D=(D?D+" ":"")+"Simulator"}if(X=="Opera Mini"&&/\bOPiOS\b/.test(e)){j.push("running in Turbo/Uncompressed mode")}if(X=="IE"&&/\blike iPhone OS\b/.test(e)){W=E(e.replace(/like iPhone OS/,""));L=W.manufacturer;D=W.product}else if(/^iP/.test(D)){X||(X="Safari");K="iOS"+((W=/ OS ([\d_]+)/i.exec(e))?" "+W[1].replace(/_/g,"."):"")}else if(X=="Konqueror"&&!/buntu/i.test(K)){K="Kubuntu"}else if(L&&L!="Google"&&(/Chrome/.test(X)&&!/\bMobile Safari\b/i.test(e)||/\bVita\b/.test(D))||/\bAndroid\b/.test(K)&&/^Chrome/.test(X)&&/\bVersion\//i.test(e)){X="Android Browser";K=/\bAndroid\b/.test(K)?K:"Android"}else if(X=="Silk"){if(!/\bMobi/i.test(e)){K="Android";j.unshift("desktop mode")}if(/Accelerated *= *true/i.test(e)){j.unshift("accelerated")}}else if(X=="PaleMoon"&&(W=/\bFirefox\/([\d.]+)\b/.exec(e))){j.push("identifying as Firefox "+W[1])}else if(X=="Firefox"&&(W=/\b(Mobile|Tablet|TV)\b/i.exec(e))){K||(K="Firefox OS");D||(D=W[1])}else if(!X||(W=!/\bMinefield\b/i.test(e)&&/\b(?:Firefox|Safari)\b/.exec(X))){if(X&&!D&&/[\/,]|^[^(]+?\)/.test(e.slice(e.indexOf(W+"/")+8))){X=null}if((W=D||L||K)&&(D||L||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(K))){X=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(K)?K:W)+" Browser"}}if(!$){$=_(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|Silk(?!/[\\d.]+$))","Version",y(X),"(?:Firefox|Minefield|NetFront)"])}if(W=G=="iCab"&&parseFloat($)>3&&"WebKit"||/\bOpera\b/.test(X)&&(/\bOPR\b/.test(e)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(e)&&!/^(?:Trident|EdgeHTML)$/.test(G)&&"WebKit"||!G&&/\bMSIE\b/i.test(e)&&(K=="Mac OS"?"Tasman":"Trident")||G=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(X)&&"NetFront"){G=[W]}if(X=="IE"&&(W=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(e)||0)[1])){X+=" Mobile";K="Windows Phone "+(/\+$/.test(W)?W:W+".x");j.unshift("desktop mode")}else if(/\bWPDesktop\b/i.test(e)){X="IE Mobile";K="Windows Phone 8.x";j.unshift("desktop mode");$||($=(/\brv:([\d.]+)/.exec(e)||0)[1])}else if(X!="IE"&&G=="Trident"&&(W=/\brv:([\d.]+)/.exec(e))){if(X){j.push("identifying as "+X+($?" "+$:""))}X="IE";$=W[1]}if(Z){if(S(t,"global")){if(M){W=M.lang.System;R=W.getProperty("os.arch");K=K||W.getProperty("os.name")+" "+W.getProperty("os.version")}if(u&&S(t,"system")&&(W=[t.system])[0]){K||(K=W[0].os||null);try{W[1]=t.require("ringo/engine").version;$=W[1].join(".");X="RingoJS"}catch(e){if(W[0].global.system==t.system){X="Narwhal"}}}else if(typeof t.process=="object"&&!t.process.browser&&(W=t.process)){X="Node.js";R=W.arch;K=W.platform;$=/[\d.]+/.exec(W.version)[0]}else if(I){X="Rhino"}}else if(w(W=t.runtime)==d){X="Adobe AIR";K=W.flash.system.Capabilities.os}else if(w(W=t.phantom)==h){X="PhantomJS";$=(W=W.version||null)&&W.major+"."+W.minor+"."+W.patch}else if(typeof T.documentMode=="number"&&(W=/\bTrident\/(\d+)/i.exec(e))){$=[$,T.documentMode];if((W=+W[1]+4)!=$[1]){j.push("IE "+$[1]+" mode");G&&(G[1]="");$[1]=W}$=X=="IE"?String($[1].toFixed(1)):$[0]}K=K&&g(K)}if($&&(W=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec($)||/(?:alpha|beta)(?: ?\d)?/i.exec(e+";"+(Z&&a.appMinorVersion))||/\bMinefield\b/i.test(e)&&"a")){F=/b/i.test(W)?"beta":"alpha";$=$.replace(RegExp(W+"\\+?$"),"")+(F=="beta"?k:P)+(/\d+\+?/.exec(W)||"")}if(X=="Fennec"||X=="Firefox"&&/\b(?:Android|Firefox OS)\b/.test(K)){X="Firefox Mobile"}else if(X=="Maxthon"&&$){$=$.replace(/\.[\d.]+/,".x")}else if(/\bXbox\b/i.test(D)){K=null;if(D=="Xbox 360"&&/\bIEMobile\b/.test(e)){j.unshift("mobile mode")}}else if((/^(?:Chrome|IE|Opera)$/.test(X)||X&&!D&&!/Browser|Mobi/.test(X))&&(K=="Windows CE"||/Mobi/i.test(e))){X+=" Mobile"}else if(X=="IE"&&Z&&t.external===null){j.unshift("platform preview")}else if((/\bBlackBerry\b/.test(D)||/\bBB10\b/.test(e))&&(W=(RegExp(D.replace(/ +/g," *")+"/([.\\d]+)","i").exec(e)||0)[1]||$)){W=[W,/BB10/.test(e)];K=(W[1]?(D=null,L="BlackBerry"):"Device Software")+" "+W[0];$=null}else if(this!=x&&D!="Wii"&&(Z&&B||/Opera/.test(X)&&/\b(?:MSIE|Firefox)\b/i.test(e)||X=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(K)||X=="IE"&&(K&&!/^Win/.test(K)&&$>5.5||/\bWindows XP\b/.test(K)&&$>8||$==8&&!/\bTrident\b/.test(e)))&&!f.test(W=E.call(x,e.replace(f,"")+";"))&&W.name){W="ing as "+W.name+((W=W.version)?" "+W:"");if(f.test(X)){if(/\bIE\b/.test(W)&&K=="Mac OS"){K=null}W="identify"+W}else{W="mask"+W;if(C){X=g(C.replace(/([a-z])([A-Z])/g,"$1 $2"))}else{X="Opera"}if(/\bIE\b/.test(W)){K=null}if(!Z){$=null}}G=["Presto"];j.push(W)}if(W=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(e)||0)[1]){W=[parseFloat(W.replace(/\.(\d)$/,".0$1")),W];if(X=="Safari"&&W[1].slice(-1)=="+"){X="WebKit Nightly";F="alpha";$=W[1].slice(0,-1)}else if($==W[1]||$==(W[2]=(/\bSafari\/([\d.]+\+?)/i.exec(e)||0)[1])){$=null}W[1]=(/\bChrome\/([\d.]+)/i.exec(e)||0)[1];if(W[0]==537.36&&W[2]==537.36&&parseFloat(W[1])>=28&&G=="WebKit"){G=["Blink"]}if(!Z||!l&&!W[1]){G&&(G[1]="like Safari");W=(W=W[0],W<400?1:W<500?2:W<526?3:W<533?4:W<534?"4+":W<535?5:W<537?6:W<538?7:W<601?8:"8")}else{G&&(G[1]="like Chrome");W=W[1]||(W=W[0],W<530?1:W<532?2:W<532.05?3:W<533?4:W<534.03?5:W<534.07?6:W<534.1?7:W<534.13?8:W<534.16?9:W<534.24?10:W<534.3?11:W<535.01?12:W<535.02?"13+":W<535.07?15:W<535.11?16:W<535.19?17:W<536.05?18:W<536.1?19:W<537.01?20:W<537.11?"21+":W<537.13?23:W<537.18?24:W<537.24?25:W<537.36?26:G!="Blink"?"27":"28")}G&&(G[1]+=" "+(W+=typeof W=="number"?".x":/[.+]/.test(W)?"":"+"));if(X=="Safari"&&(!$||parseInt($)>45)){$=W}}if(X=="Opera"&&(W=/\bzbov|zvav$/.exec(K))){X+=" ";j.unshift("desktop mode");if(W=="zvav"){X+="Mini";$=null}else{X+="Mobile"}K=K.replace(RegExp(" *"+W+"$"),"")}else if(X=="Safari"&&/\bChrome\b/.exec(G&&G[1])){j.unshift("desktop mode");X="Chrome Mobile";$=null;if(/\bOS X\b/.test(K)){L="Apple";K="iOS 4.3+"}else{K=null}}if($&&$.indexOf(W=/[\d.]+$/.exec(K))==0&&e.indexOf("/"+W+"-")>-1){K=A(K.replace(W,""))}if(G&&!/\b(?:Avant|Nook)\b/.test(X)&&(/Browser|Lunascape|Maxthon/.test(X)||X!="Safari"&&/^iOS/.test(K)&&/\bSafari\b/.test(G[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Sleipnir|Web)/.test(X)&&G[1])){(W=G[G.length-1])&&j.push(W)}if(j.length){j=["("+j.join("; ")+")"]}if(L&&D&&D.indexOf(L)<0){j.push("on "+L)}if(D){j.push((/^on /.test(j[j.length-1])?"":"on ")+D)}if(K){W=/ ([\d.+]+)$/.exec(K);N=W&&K.charAt(K.length-W[0].length-1)=="/";K={architecture:32,family:W&&!N?K.replace(W[0],""):K,version:W?W[1]:null,toString:function(){var e=this.version;return this.family+(e&&!N?" "+e:"")+(this.architecture==64?" 64-bit":"")}}}if((W=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(R))&&!/\bi686\b/i.test(R)){if(K){K.architecture=64;K.family=K.family.replace(RegExp(" *"+W),"")}if(X&&(/\bWOW64\b/i.test(e)||Z&&/\w(?:86|32)$/.test(a.cpuClass||a.platform)&&!/\bWin64; x64\b/i.test(e))){j.unshift("32-bit")}}else if(K&&/^OS X/.test(K.family)&&X=="Chrome"&&parseFloat($)>=39){K.architecture=64}e||(e=null);var Y={};Y.description=e;Y.layout=G&&G[0];Y.manufacturer=L;Y.name=X;Y.prerelease=F;Y.product=D;Y.ua=e;Y.version=X&&$;Y.os=K||{architecture:null,family:null,version:null,toString:function(){return"null"}};Y.parse=E;Y.toString=U;if(Y.version){j.unshift($)}if(Y.name){j.unshift(X)}if(K&&X&&!(K==String(K).split(" ")[0]&&(K==X.split(" ")[0]||D))){j.push(D?"("+K+")":"on "+K)}if(j.length){Y.description=j.join(" ")}return Y}var M=E();if(a&&o){x(M,(function(e,t){a[t]=e}))}else{r.platform=M}}).call(d)}));var p=JSON.parse(JSON.stringify(m));var h=p.os.family||"";var g=h==="Android";var x=h.slice(0,7)==="Windows";var w=h==="OS X";var S=h==="iOS";var y=p.layout==="Blink";var O=p.layout==="Gecko";var A=p.layout==="Trident";var E=p.layout==="EdgeHTML";var M=p.layout==="WebKit";var I=parseFloat(p.version);var P=Math.floor(I);p.majorVersion=P;p.is={ANDROID:g,WINDOWS:x,OSX:w,IOS:S,BLINK:y,GECKO:O,TRIDENT:A,EDGE:E,WEBKIT:M,IE9:A&&P===9,IE10:A&&P===10,IE11:A&&P===11};function k(){var e={activeElement:document.activeElement,windowScrollTop:window.scrollTop,windowScrollLeft:window.scrollLeft,bodyScrollTop:document.body.scrollTop,bodyScrollLeft:document.body.scrollLeft};var t=document.createElement("iframe");t.setAttribute("style","position:absolute; position:fixed; top:0; left:-2px; width:1px; height:1px; overflow:hidden;");t.setAttribute("aria-live","off");t.setAttribute("aria-busy","true");t.setAttribute("aria-hidden","true");document.body.appendChild(t);var n=t.contentWindow;var r=n.document;r.open();r.close();var i=r.createElement("div");r.body.appendChild(i);e.iframe=t;e.wrapper=i;e.window=n;e.document=r;return e}function T(e,t){e.wrapper.innerHTML="";var n=typeof t.element==="string"?e.document.createElement(t.element):t.element(e.wrapper,e.document);var r=t.mutate&&t.mutate(n,e.wrapper,e.document);if(!r&&r!==false){r=n}!n.parentNode&&e.wrapper.appendChild(n);r&&r.focus&&r.focus();return t.validate?t.validate(n,r,e.document):e.document.activeElement===r}function B(e){if(e.activeElement===document.body){document.activeElement&&document.activeElement.blur&&document.activeElement.blur();if(p.is.IE10){document.body.focus()}}else{e.activeElement&&e.activeElement.focus&&e.activeElement.focus()}document.body.removeChild(e.iframe);window.scrollTop=e.windowScrollTop;window.scrollLeft=e.windowScrollLeft;document.body.scrollTop=e.bodyScrollTop;document.body.scrollLeft=e.bodyScrollLeft}function C(e){var t=k();var n={};Object.keys(e).map((function(r){n[r]=T(t,e[r])}));B(t);return n}var W="1.4.1";function R(e){var t=void 0;try{t=window.localStorage&&window.localStorage.getItem(e);t=t?JSON.parse(t):{}}catch(e){t={}}return t}function j(e,t){if(!document.hasFocus()){try{window.localStorage&&window.localStorage.removeItem(e)}catch(e){}return}try{window.localStorage&&window.localStorage.setItem(e,JSON.stringify(t))}catch(e){}}var F=typeof window!=="undefined"&&window.navigator.userAgent||"";var Z="ally-supports-cache";var $=R(Z);if($.userAgent!==F||$.version!==W){$={}}$.userAgent=F;$.version=W;const N={get:function e(){return $},set:function e(t){Object.keys(t).forEach((function(e){$[e]=t[e]}));$.time=(new Date).toISOString();j(Z,$)}};function G(){var e=void 0;try{document.querySelector("html >>> :first-child");e=">>>"}catch(t){try{document.querySelector("html /deep/ :first-child");e="/deep/"}catch(t){e=""}}return e}const X="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7";const D={element:"div",mutate:function e(t){t.innerHTML='<map name="image-map-tabindex-test">'+'<area shape="rect" coords="63,19,144,45"></map>'+'<img usemap="#image-map-tabindex-test" tabindex="-1" alt="" src="'+X+'">';return t.querySelector("area")}};const L={element:"div",mutate:function e(t){t.innerHTML='<map name="image-map-tabindex-test">'+'<area href="#void" tabindex="-1" shape="rect" coords="63,19,144,45"></map>'+'<img usemap="#image-map-tabindex-test" alt="" src="'+X+'">';return false},validate:function e(t,n,r){if(p.is.GECKO){return true}var i=t.querySelector("area");i.focus();return r.activeElement===i}};const K={element:"div",mutate:function e(t){t.innerHTML='<map name="image-map-area-href-test">'+'<area shape="rect" coords="63,19,144,45"></map>'+'<img usemap="#image-map-area-href-test" alt="" src="'+X+'">';return t.querySelector("area")},validate:function e(t,n,r){if(p.is.GECKO){return true}return r.activeElement===n}};const H={name:"can-focus-audio-without-controls",element:"audio",mutate:function e(t){try{t.setAttribute("src",X)}catch(e){}}};const z="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ";const V={element:"div",mutate:function e(t){t.innerHTML='<map name="broken-image-map-test"><area href="#void" shape="rect" coords="63,19,144,45"></map>'+'<img usemap="#broken-image-map-test" alt="" src="'+z+'">';return t.querySelector("area")}};const q={element:"div",mutate:function e(t){t.setAttribute("tabindex","-1");t.setAttribute("style","display: -webkit-flex; display: -ms-flexbox; display: flex;");t.innerHTML='<span style="display: block;">hello</span>';return t.querySelector("span")}};const J={element:"fieldset",mutate:function e(t){t.setAttribute("tabindex",0);t.setAttribute("disabled","disabled")}};const _={element:"fieldset",mutate:function e(t){t.innerHTML="<legend>legend</legend><p>content</p>"}};const U={element:"span",mutate:function e(t){t.setAttribute("style","display: -webkit-flex; display: -ms-flexbox; display: flex;");t.innerHTML='<span style="display: block;">hello</span>'}};const Y={element:"form",mutate:function e(t){t.setAttribute("tabindex",0);t.setAttribute("disabled","disabled")}};const Q={element:"a",mutate:function e(t){t.href="#void";t.innerHTML='<img ismap src="'+X+'" alt="">';return t.querySelector("img")}};const ee={element:"div",mutate:function e(t){t.innerHTML='<map name="image-map-tabindex-test"><area href="#void" shape="rect" coords="63,19,144,45"></map>'+'<img usemap="#image-map-tabindex-test" tabindex="-1" alt="" '+'src="'+X+'">';return t.querySelector("img")}};const te={element:function e(t,n){var r=n.createElement("iframe");t.appendChild(r);var i=r.contentWindow.document;i.open();i.close();return r},mutate:function e(t){t.style.visibility="hidden";var n=t.contentWindow.document;var r=n.createElement("input");n.body.appendChild(r);return r},validate:function e(t){var n=t.contentWindow.document;var r=n.querySelector("input");return n.activeElement===r}};var ne=!p.is.WEBKIT;function re(){return ne}const ie={element:"div",mutate:function e(t){t.setAttribute("tabindex","invalid-value")}};const ae={element:"label",mutate:function e(t){t.setAttribute("tabindex","-1")},validate:function e(t,n,r){t.focus();return r.activeElement===t}};const oe="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtb"+"G5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBpZD0ic3ZnIj48dGV4dCB4PSIxMCIgeT0iMjAiIGlkPSJ"+"zdmctbGluay10ZXh0Ij50ZXh0PC90ZXh0Pjwvc3ZnPg==";const ue={element:"object",mutate:function e(t){t.setAttribute("type","image/svg+xml");t.setAttribute("data",oe);t.setAttribute("width","200");t.setAttribute("height","50");t.style.visibility="hidden"}};const le={name:"can-focus-object-svg",element:"object",mutate:function e(t){t.setAttribute("type","image/svg+xml");t.setAttribute("data",oe);t.setAttribute("width","200");t.setAttribute("height","50")},validate:function e(t,n,r){if(p.is.GECKO){return true}return r.activeElement===t}};var fe=!p.is.IE9;function se(){return fe}const ce={element:"div",mutate:function e(t){t.innerHTML='<map name="focus-redirect-img-usemap"><area href="#void" shape="rect" coords="63,19,144,45"></map>'+'<img usemap="#focus-redirect-img-usemap" alt="" '+'src="'+X+'">';return t.querySelector("img")},validate:function e(t,n,r){var i=t.querySelector("area");return r.activeElement===i}};const de={element:"fieldset",mutate:function e(t){t.innerHTML='<legend>legend</legend><input tabindex="-1"><input tabindex="0">';return false},validate:function e(t,n,r){var i=t.querySelector('input[tabindex="-1"]');var a=t.querySelector('input[tabindex="0"]');t.focus();t.querySelector("legend").focus();return r.activeElement===i&&"focusable"||r.activeElement===a&&"tabbable"||""}};const be={element:"div",mutate:function e(t){t.setAttribute("style","width: 100px; height: 50px; overflow: auto;");t.innerHTML='<div style="width: 500px; height: 40px;">scrollable content</div>';return t.querySelector("div")}};const ve={element:"div",mutate:function e(t){t.setAttribute("style","width: 100px; height: 50px;");t.innerHTML='<div style="width: 500px; height: 40px;">scrollable content</div>'}};const me={element:"div",mutate:function e(t){t.setAttribute("style","width: 100px; height: 50px; overflow: auto;");t.innerHTML='<div style="width: 500px; height: 40px;">scrollable content</div>'}};const pe={element:"details",mutate:function e(t){t.innerHTML="<summary>foo</summary><p>content</p>";return t.firstElementChild}};function he(){var e=document.createElement("div");e.innerHTML='<svg><foreignObject width="30" height="30">\n <input type="text"/>\n </foreignObject></svg>';return e.firstChild.firstChild}function ge(e){var t=e.ownerSVGElement||e.nodeName.toLowerCase()==="svg";if(!t){return false}var n=he();e.appendChild(n);var r=n.querySelector("input");r.focus();r.disabled=true;e.removeChild(n);return true}function xe(e){return'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">'+e+"</svg>"}function we(e){if(e.focus){return}try{HTMLElement.prototype.focus.call(e)}catch(t){ge(e)}}function Se(e,t,n){we(t);return n.activeElement===t}const ye={element:"div",mutate:function e(t){t.innerHTML=xe('<text focusable="true">a</text>');return t.querySelector("text")},validate:Se};const Oe={element:"div",mutate:function e(t){t.innerHTML=xe('<text tabindex="0">a</text>');return t.querySelector("text")},validate:Se};const Ae={element:"div",mutate:function e(t){t.innerHTML=xe('<text tabindex="-1">a</text>');return t.querySelector("text")},validate:Se};const Ee={element:"div",mutate:function e(t){t.innerHTML=xe(['<g id="ally-test-target"><a xlink:href="#void"><text>link</text></a></g>','<use xlink:href="#ally-test-target" x="0" y="0" tabindex="-1" />'].join(""));return t.querySelector("use")},validate:Se};const Me={element:"div",mutate:function e(t){t.innerHTML=xe('<foreignObject tabindex="-1"><input type="text" /></foreignObject>');return t.querySelector("foreignObject")||t.getElementsByTagName("foreignObject")[0]},validate:Se};var Ie=Boolean(p.is.GECKO&&typeof SVGElement!=="undefined"&&SVGElement.prototype.focus);function Pe(){return Ie}const ke={element:"div",mutate:function e(t){t.innerHTML=xe("");return t.firstChild},validate:Se};const Te={element:"div",mutate:function e(t){t.setAttribute("tabindex","3x")}};const Be={element:"table",mutate:function e(t,n,r){var i=r.createDocumentFragment();i.innerHTML="<tr><td>cell</td></tr>";t.appendChild(i)}};const Ce={element:"video",mutate:function e(t){try{t.setAttribute("src",X)}catch(e){}}};var We=p.is.GECKO||p.is.TRIDENT||p.is.EDGE;function Re(){return We}var je={cssShadowPiercingDeepCombinator:G,focusInZeroDimensionObject:re,focusObjectSwf:se,focusSvgInIframe:Pe,tabsequenceAreaAtImgPosition:Re};var Fe={focusAreaImgTabindex:D,focusAreaTabindex:L,focusAreaWithoutHref:K,focusAudioWithoutControls:H,focusBrokenImageMap:V,focusChildrenOfFocusableFlexbox:q,focusFieldsetDisabled:J,focusFieldset:_,focusFlexboxContainer:U,focusFormDisabled:Y,focusImgIsmap:Q,focusImgUsemapTabindex:ee,focusInHiddenIframe:te,focusInvalidTabindex:ie,focusLabelTabindex:ae,focusObjectSvg:le,focusObjectSvgHidden:ue,focusRedirectImgUsemap:ce,focusRedirectLegend:de,focusScrollBody:be,focusScrollContainerWithoutOverflow:ve,focusScrollContainer:me,focusSummary:pe,focusSvgFocusableAttribute:ye,focusSvgTabindexAttribute:Oe,focusSvgNegativeTabindexAttribute:Ae,focusSvgUseTabindex:Ee,focusSvgForeignobjectTabindex:Me,focusSvg:ke,focusTabindexTrailingCharacters:Te,focusTable:Be,focusVideoWithoutControls:Ce};function Ze(){var e=C(Fe);Object.keys(je).forEach((function(t){e[t]=je[t]()}));return e}var $e=null;function Ne(){if($e){return $e}$e=N.get();if(!$e.time){N.set(Ze());$e=N.get()}return $e}var Ge=void 0;var Xe=/^\s*(-|\+)?[0-9]+\s*$/;var De=/^\s*(-|\+)?[0-9]+.*$/;function Le(e){if(!Ge){Ge=Ne()}var t=Ge.focusTabindexTrailingCharacters?De:Xe;var n=o({label:"is/valid-tabindex",resolveDocument:true,context:e});var r=n.hasAttribute("tabindex");var i=n.hasAttribute("tabIndex");if(!r&&!i){return false}var a=n.ownerSVGElement||n.nodeName.toLowerCase()==="svg";if(a&&!Ge.focusSvgTabindexAttribute){return false}if(Ge.focusInvalidTabindex){return true}var u=n.getAttribute(r?"tabindex":"tabIndex");if(u==="-32768"){return false}return Boolean(u&&t.test(u))}function Ke(e){if(!Le(e)){return null}var t=e.hasAttribute("tabindex");var n=t?"tabindex":"tabIndex";var r=parseInt(e.getAttribute(n),10);return isNaN(r)?-1:r}function He(e){var t=e.webkitUserModify||"";return Boolean(t&&t.indexOf("write")!==-1)}function ze(e){return[e.getPropertyValue("overflow"),e.getPropertyValue("overflow-x"),e.getPropertyValue("overflow-y")].some((function(e){return e==="auto"||e==="scroll"}))}function Ve(e){return e.display.indexOf("flex")>-1}function qe(e,t,n,r){if(t!=="div"&&t!=="span"){return false}if(n&&n!=="div"&&n!=="span"&&!ze(r)){return false}return e.offsetHeight<e.scrollHeight||e.offsetWidth<e.scrollWidth}var Je=void 0;function _e(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},t=e.context,n=e.except,r=n===undefined?{flexbox:false,scrollable:false,shadow:false}:n;if(!Je){Je=Ne()}var i=o({label:"is/focus-relevant",resolveDocument:true,context:t});if(!r.shadow&&i.shadowRoot){return true}var a=i.nodeName.toLowerCase();if(a==="input"&&i.type==="hidden"){return false}if(a==="input"||a==="select"||a==="button"||a==="textarea"){return true}if(a==="legend"&&Je.focusRedirectLegend){return true}if(a==="label"){return true}if(a==="area"){return true}if(a==="a"&&i.hasAttribute("href")){return true}if(a==="object"&&i.hasAttribute("usemap")){return false}if(a==="object"){var l=i.getAttribute("type");if(!Je.focusObjectSvg&&l==="image/svg+xml"){return false}else if(!Je.focusObjectSwf&&l==="application/x-shockwave-flash"){return false}}if(a==="iframe"||a==="object"){return true}if(a==="embed"||a==="keygen"){return true}if(i.hasAttribute("contenteditable")){return true}if(a==="audio"&&(Je.focusAudioWithoutControls||i.hasAttribute("controls"))){return true}if(a==="video"&&(Je.focusVideoWithoutControls||i.hasAttribute("controls"))){return true}if(Je.focusSummary&&a==="summary"){return true}var f=Le(i);if(a==="img"&&i.hasAttribute("usemap")){return f&&Je.focusImgUsemapTabindex||Je.focusRedirectImgUsemap}if(Je.focusTable&&(a==="table"||a==="td")){return true}if(Je.focusFieldset&&a==="fieldset"){return true}var s=a==="svg";var d=i.ownerSVGElement;var b=i.getAttribute("focusable");var v=Ke(i);if(a==="use"&&v!==null&&!Je.focusSvgUseTabindex){return false}if(a==="foreignobject"){return v!==null&&Je.focusSvgForeignobjectTabindex}if(c(i,"svg a")&&i.hasAttribute("xlink:href")){return true}if((s||d)&&i.focus&&!Je.focusSvgNegativeTabindexAttribute&&v<0){return false}if(s){return f||Je.focusSvg||Je.focusSvgInIframe||Boolean(Je.focusSvgFocusableAttribute&&b&&b==="true")}if(d){if(Je.focusSvgTabindexAttribute&&f){return true}if(Je.focusSvgFocusableAttribute){return b==="true"}}if(f){return true}var m=window.getComputedStyle(i,null);if(He(m)){return true}if(Je.focusImgIsmap&&a==="img"&&i.hasAttribute("ismap")){var p=u({context:i}).some((function(e){return e.nodeName.toLowerCase()==="a"&&e.hasAttribute("href")}));if(p){return true}}if(!r.scrollable&&Je.focusScrollContainer){if(Je.focusScrollContainerWithoutOverflow){if(qe(i,a)){return true}}else if(ze(m)){return true}}if(!r.flexbox&&Je.focusFlexboxContainer&&Ve(m)){return true}var h=i.parentElement;if(!r.scrollable&&h){var g=h.nodeName.toLowerCase();var x=window.getComputedStyle(h,null);if(Je.focusScrollBody&&qe(h,a,g,x)){return true}if(Je.focusChildrenOfFocusableFlexbox){if(Ve(x)){return true}}}return false}_e.except=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var t=function t(n){return _e({context:n,except:e})};t.rules=_e;return t};var Ue=_e.except({});function Ye(e,t){if(e.findIndex){return e.findIndex(t)}var n=e.length;if(n===0){return-1}for(var r=0;r<n;r++){if(t(e[r],r,e)){return r}}return-1}function Qe(e){try{return e.contentDocument||e.contentWindow&&e.contentWindow.document||e.getSVGDocument&&e.getSVGDocument()||null}catch(e){return null}}function et(e){if(!e){return document}if(e.nodeType===Node.DOCUMENT_NODE){return e}return e.ownerDocument||document}function tt(e){var t=et(e);return t.defaultView||window}var nt=void 0;function rt(e){if(typeof nt!=="string"){var t=G();if(t){nt=", html "+t+" "}}if(!nt){return e}return e+nt+e.replace(/\s*,\s*/g,",").split(",").join(nt)}var it=void 0;function at(e){if(!it){it=rt("object, iframe")}if(e._frameElement!==undefined){return e._frameElement}e._frameElement=null;var t=e.parent.document.querySelectorAll(it);[].some.call(t,(function(t){var n=Qe(t);if(n!==e.document){return false}e._frameElement=t;return true}));return e._frameElement}function ot(e){var t=tt(e);if(!t.parent||t.parent===t){return null}try{return t.frameElement||at(t)}catch(e){return null}}var ut=/^(area)$/;function lt(e,t){return window.getComputedStyle(e,null).getPropertyValue(t)}function ft(e){return e.some((function(e){return lt(e,"display")==="none"}))}function st(e){var t=Ye(e,(function(e){var t=lt(e,"visibility");return t==="hidden"||t==="collapse"}));if(t===-1){return false}var n=Ye(e,(function(e){return lt(e,"visibility")==="visible"}));if(n===-1){return true}if(t<n){return true}return false}function ct(e){var t=1;if(e[0].nodeName.toLowerCase()==="summary"){t=2}return e.slice(t).some((function(e){return e.nodeName.toLowerCase()==="details"&&e.open===false}))}function dt(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},t=e.context,n=e.except,r=n===undefined?{notRendered:false,cssDisplay:false,cssVisibility:false,detailsElement:false,browsingContext:false}:n;var i=o({label:"is/visible",resolveDocument:true,context:t});var a=i.nodeName.toLowerCase();if(!r.notRendered&&ut.test(a)){return true}var l=u({context:i});var f=a==="audio"&&!i.hasAttribute("controls");if(!r.cssDisplay&&ft(f?l.slice(1):l)){return false}if(!r.cssVisibility&&st(l)){return false}if(!r.detailsElement&&ct(l)){return false}if(!r.browsingContext){var s=ot(i);var c=dt.except(r);if(s&&!c(s)){return false}}return true}dt.except=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var t=function t(n){return dt({context:n,except:e})};t.rules=dt;return t};var bt=dt.except({});var vt=b((function(e,t){(function(t,n){{e.exports=n(t)}})(typeof d!="undefined"?d:d,(function(e){if(e.CSS&&e.CSS.escape){return e.CSS.escape}var t=function(e){if(arguments.length==0){throw new TypeError("`CSS.escape` requires an argument.")}var t=String(e);var n=t.length;var r=-1;var i;var a="";var o=t.charCodeAt(0);while(++r<n){i=t.charCodeAt(r);if(i==0){a+="�";continue}if(i>=1&&i<=31||i==127||r==0&&i>=48&&i<=57||r==1&&i>=48&&i<=57&&o==45){a+="\\"+i.toString(16)+" ";continue}if(r==0&&n==1&&i==45){a+="\\"+t.charAt(r);continue}if(i>=128||i==45||i==95||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122){a+=t.charAt(r);continue}a+="\\"+t.charAt(r)}return a};if(!e.CSS){e.CSS={}}e.CSS.escape=t;return t}))}));function mt(e){var t=e.parentElement;if(!t.name||t.nodeName.toLowerCase()!=="map"){return null}var n=et(e);return n.querySelector('img[usemap="#'+vt(t.name)+'"]')||null}var pt=void 0;function ht(e){if(!pt){pt=Ne()}var t=o({label:"is/valid-area",context:e});var n=t.nodeName.toLowerCase();if(n!=="area"){return false}var r=t.hasAttribute("tabindex");if(!pt.focusAreaTabindex&&r){return false}var i=mt(t);if(!i||!bt(i)){return false}if(!pt.focusBrokenImageMap&&(!i.complete||!i.naturalHeight||i.offsetWidth<=0||i.offsetHeight<=0)){return false}if(!pt.focusAreaWithoutHref&&!t.href){return pt.focusAreaTabindex&&r||pt.focusAreaImgTabindex&&i.hasAttribute("tabindex")}var a=u({context:i}).slice(1).some((function(e){var t=e.nodeName.toLowerCase();return t==="button"||t==="a"}));if(a){return false}return true}var gt=void 0;var xt=void 0;var wt={input:true,select:true,textarea:true,button:true,fieldset:true,form:true};function St(e){if(!gt){gt=Ne();if(gt.focusFieldsetDisabled){delete wt.fieldset}if(gt.focusFormDisabled){delete wt.form}xt=new RegExp("^("+Object.keys(wt).join("|")+")$")}var t=o({label:"is/native-disabled-supported",context:e});var n=t.nodeName.toLowerCase();return Boolean(xt.test(n))}var yt=void 0;function Ot(e){var t=e.nodeName.toLowerCase();return t==="fieldset"&&e.disabled}function At(e){var t=e.nodeName.toLowerCase();return t==="form"&&e.disabled}function Et(e){if(!yt){yt=Ne()}var t=o({label:"is/disabled",context:e});if(t.hasAttribute("data-ally-disabled")){return true}if(!St(t)){return false}if(t.disabled){return true}var n=u({context:t});if(n.some(Ot)){return true}if(!yt.focusFormDisabled&&n.some(At)){return true}return false}function Mt(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},t=e.context,n=e.except,r=n===undefined?{onlyFocusableBrowsingContext:false,visible:false}:n;var i=o({label:"is/only-tabbable",resolveDocument:true,context:t});if(!r.visible&&!bt(i)){return false}if(!r.onlyFocusableBrowsingContext&&(p.is.GECKO||p.is.TRIDENT||p.is.EDGE)){var a=ot(i);if(a){if(Ke(a)<0){return false}}}var u=i.nodeName.toLowerCase();var l=Ke(i);if(u==="label"&&p.is.GECKO){return l!==null&&l>=0}if(p.is.GECKO&&i.ownerSVGElement&&!i.focus){if(u==="a"&&i.hasAttribute("xlink:href")){if(p.is.GECKO){return true}}}return false}Mt.except=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var t=function t(n){return Mt({context:n,except:e})};t.rules=Mt;return t};var It=Mt.except({});var Pt=void 0;function kt(e){var t=e.nodeName.toLowerCase();if(t==="embed"||t==="keygen"){return true}var n=Ke(e);if(e.shadowRoot&&n===null){return true}if(t==="label"){return!Pt.focusLabelTabindex||n===null}if(t==="legend"){return n===null}if(Pt.focusSvgFocusableAttribute&&(e.ownerSVGElement||t==="svg")){var r=e.getAttribute("focusable");return r&&r==="false"}if(t==="img"&&e.hasAttribute("usemap")){return n===null||!Pt.focusImgUsemapTabindex}if(t==="area"){return!ht(e)}return false}function Tt(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},t=e.context,n=e.except,r=n===undefined?{disabled:false,visible:false,onlyTabbable:false}:n;if(!Pt){Pt=Ne()}var i=It.rules.except({onlyFocusableBrowsingContext:true,visible:r.visible});var a=o({label:"is/focusable",resolveDocument:true,context:t});var u=Ue.rules({context:a,except:r});if(!u||kt(a)){return false}if(!r.disabled&&Et(a)){return false}if(!r.onlyTabbable&&i(a)){return false}if(!r.visible){var l={context:a,except:{}};if(Pt.focusInHiddenIframe){l.except.browsingContext=true}if(Pt.focusObjectSvgHidden){var f=a.nodeName.toLowerCase();if(f==="object"){l.except.cssVisibility=true}}if(!bt.rules(l)){return false}}var s=ot(a);if(s){var c=s.nodeName.toLowerCase();if(c==="object"&&!Pt.focusInZeroDimensionObject){if(!s.offsetWidth||!s.offsetHeight){return false}}}var d=a.nodeName.toLowerCase();if(d==="svg"&&Pt.focusSvgInIframe&&!s&&a.getAttribute("tabindex")===null){return false}return true}Tt.except=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var t=function t(n){return Tt({context:n,except:e})};t.rules=Tt;return t};var Bt=Tt.except({});
|
|
2
2
|
/*!
|
|
3
3
|
* long-press-event - v@version@
|
|
4
4
|
* Pure JavaScript long-press-event
|
|
@@ -6,4 +6,4 @@ import{r as e,h as t,H as n,g as r}from"./p-81591ad0.js";import{v as i}from"./p-
|
|
|
6
6
|
* @author John Doherty <www.johndoherty.info>
|
|
7
7
|
* @license MIT
|
|
8
8
|
*/(function(e,t){var n=null;var r="PointerEvent"in e||e.navigator&&"msPointerEnabled"in e.navigator;var i="ontouchstart"in e||navigator.MaxTouchPoints>0||navigator.msMaxTouchPoints>0;var a=r?"pointerdown":i?"touchstart":"mousedown";var o=r?"pointerup":i?"touchend":"mouseup";var u=r?"pointermove":i?"touchmove":"mousemove";var l=r?"pointerleave":i?"touchleave":"mouseleave";var f=0;var s=0;var c=10;var d=10;if(typeof e.CustomEvent!=="function"){e.CustomEvent=function(e,n){n=n||{bubbles:false,cancelable:false,detail:undefined};var r=t.createEvent("CustomEvent");r.initCustomEvent(e,n.bubbles,n.cancelable,n.detail);return r};e.CustomEvent.prototype=e.Event.prototype}e.requestAnimFrame=function(){return e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame||function(t){e.setTimeout(t,1e3/60)}}();function b(t,n){if(!e.requestAnimationFrame&&!e.webkitRequestAnimationFrame&&!(e.mozRequestAnimationFrame&&e.mozCancelRequestAnimationFrame)&&!e.oRequestAnimationFrame&&!e.msRequestAnimationFrame)return e.setTimeout(t,n);var r=(new Date).getTime();var i={};var a=function(){var e=(new Date).getTime();var o=e-r;if(o>=n){t.call()}else{i.value=requestAnimFrame(a)}};i.value=requestAnimFrame(a);return i}function v(t){if(t){e.cancelAnimationFrame?e.cancelAnimationFrame(t.value):e.webkitCancelAnimationFrame?e.webkitCancelAnimationFrame(t.value):e.webkitCancelRequestAnimationFrame?e.webkitCancelRequestAnimationFrame(t.value):e.mozCancelRequestAnimationFrame?e.mozCancelRequestAnimationFrame(t.value):e.oCancelRequestAnimationFrame?e.oCancelRequestAnimationFrame(t.value):e.msCancelRequestAnimationFrame?e.msCancelRequestAnimationFrame(t.value):clearTimeout(t)}}function m(e){g();e=p(e);var n=this.dispatchEvent(new CustomEvent("long-press",{bubbles:true,cancelable:true,detail:{clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,pageX:e.pageX,pageY:e.pageY},clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,pageX:e.pageX,pageY:e.pageY,screenX:e.screenX,screenY:e.screenY}));if(!n){t.addEventListener("click",(function e(n){t.removeEventListener("click",e,true);x(n)}),true)}}function p(e){if(e.changedTouches!==undefined){return e.changedTouches[0]}return e}function h(e){g();var t=e.target;var r=parseInt(y(t,"data-long-press-delay","1500"),10);n=b(m.bind(t,e),r)}function g(e){v(n);n=null}function x(e){e.stopImmediatePropagation();e.preventDefault();e.stopPropagation()}function w(e){f=e.clientX;s=e.clientY;h(e)}function S(e){var t=Math.abs(f-e.clientX);var n=Math.abs(s-e.clientY);if(t>=c||n>=d){g()}}function y(e,n,r){while(e&&e!==t.documentElement){var i=e.getAttribute(n);if(i){return i}e=e.parentNode}return r}t.addEventListener(o,g,true);t.addEventListener(l,g,true);t.addEventListener(u,S,true);t.addEventListener("wheel",g,true);t.addEventListener("scroll",g,true);t.addEventListener(a,w,true)})(window,document);const Ct=":host{--post-contrast-color:#fff;--post-bg-rgb:51, 51, 51}post-popovercontainer::part(popover){padding:.25rem .5rem}";const Wt=class{constructor(t){e(this,t);this.placement="top";this.localShowTooltip=e=>this.show(e.target);this.localHideTooltip=this.hide.bind(this)}connectedCallback(){if(!this.host.id){throw new Error("No id set: <post-tooltip> must have an id, linking it to it's target element using the data-tooltip-target attribute.")}if(!this.triggers){throw new Error(`No trigger found for <post-tooltip id="${this.host.id}">, please add the 'data-tooltip-target="${this.host.id}" attribute to the trigger element.`)}this.triggers.forEach((e=>this.patchPopoverTargetActionInterest(e)))}disconnectedCallback(){this.triggers.forEach((e=>{e.removeEventListener("mouseenter",this.localShowTooltip);e.removeEventListener("mouseleave",this.localHideTooltip);e.removeEventListener("focus",this.localShowTooltip);e.removeEventListener("blur",this.localHideTooltip);e.removeEventListener("long-press",this.localShowTooltip)}))}componentWillLoad(){document.body.appendChild(this.host)}async show(e){this.popoverRef.show(e)}async hide(){this.popoverRef.hide()}async toggle(e,t){this.popoverRef.toggle(e,t)}get triggers(){return document.querySelectorAll(`[data-tooltip-target="${this.host.id}"]`)}patchPopoverTargetActionInterest(e){e.addEventListener("mouseenter",this.localShowTooltip);e.addEventListener("mouseleave",this.localHideTooltip);e.addEventListener("focus",this.localShowTooltip);e.addEventListener("blur",this.localHideTooltip);e.addEventListener("long-press",this.localShowTooltip);const t=e.getAttribute("aria-describedby");if(!(t===null||t===void 0?void 0:t.includes(this.host.id))){const n=t?`${t} ${this.host.id}`:this.host.id;e.setAttribute("aria-describedby",n)}if(!Bt(e)){e.setAttribute("tabindex","0")}}render(){return t(n,{"data-version":i},t("post-popovercontainer",{role:"tooltip",tabindex:"-1",arrow:true,placement:this.placement,ref:e=>this.popoverRef=e},t("slot",null)))}get host(){return r(this)}};Wt.style=Ct;export{Wt as P};
|
|
9
|
-
//# sourceMappingURL=p-
|
|
9
|
+
//# sourceMappingURL=p-bc27f061.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as i,h as t,H as a,g as n}from"./p-81591ad0.js";import{b as e,d as o,c as s}from"./p-96f4ebc4.js";import{v as r}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as i,h as t,H as a,g as n}from"./p-81591ad0.js";import{b as e,d as o,c as s}from"./p-96f4ebc4.js";import{v as r}from"./p-bd1d0117.js";import{c as l}from"./p-b095519d.js";const m=":host{display:inline-block;width:1em;height:1em;vertical-align:-0.15em}span{display:block;width:100%;height:100%;fill:currentColor;background-color:currentColor;-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100%;mask-size:100%}:host([flip-h]:not([flip-h=false])){scale:-1 1}:host([flip-v]:not([flip-v=false])){scale:1 -1}:host([flip-h][flip-v]:not([flip-h=false],[flip-v=false])){scale:-1}:host([animation]){transform-origin:center}:host([animation=cylon]){animation:icon-animation-cylon .75s ease-in-out infinite alternate}:host([animation=cylon-vertical]){animation:icon-animation-cylon-vertical .75s ease-in-out infinite alternate}:host([animation=spin]){animation:icon-animation-spin 2s linear infinite normal}:host([animation=spin-reverse]){animation:icon-animation-spin 2s linear infinite reverse}:host([animation=fade]){animation:icon-animation-fade .75s ease-in-out infinite alternate}:host([animation=throb]){animation:icon-animation-throb .75s ease-in-out infinite alternate}@keyframes icon-animation-cylon{from{transform:translateX(-25%)}to{transform:translateX(25%)}}@keyframes icon-animation-cylon-vertical{from{transform:translateY(25%)}to{transform:translateY(-25%)}}@keyframes icon-animation-fade{from{opacity:.1}to{opacity:1}}@keyframes icon-animation-spin{from{transform:rotate(0deg)}to{transform:rotate(359deg)}}@keyframes icon-animation-throb{from{opacity:.5;transform:scale(0.5)}to{opacity:1;transform:scale(1)}}";const c="https://unpkg.com/@swisspost/design-system-icons/public/post-icons";const h=["cylon","cylon-vertical","spin","spin-reverse","fade","throb"];const p=[...h];const d=class{constructor(t){i(this,t);this.svgStyles=undefined;this.svgOutput=undefined;this.animation=null;this.base=null;this.flipH=false;this.flipV=false;this.name=undefined;this.rotate=null;this.scale=null}validateAnimation(i=this.animation){if(i!==undefined)e(i,p,`The post-icon "animation" prop requires one of the following values: ${p.join(", ")}.`)}validateBase(i=this.base){o(i,"string",'The post-icon "base" prop should be a string.')}validateFlipH(i=this.flipH){o(i,"boolean",'The post-icon "flipH" prop should be a boolean.')}validateFlipV(i=this.flipV){o(i,"boolean",'The post-icon "flipV" prop should be a boolean.')}validateName(i=this.name){l(i,'The post-icon "name" prop is required!.');s(i,"string",'The post-icon "name" prop should be a string.')}validateRotate(i=this.rotate){o(i,"number",'The post-icon "rotate" prop should be a number.')}validateScale(i=this.scale){o(i,"number",'The post-icon "scale" prop should be a number.')}componentWillLoad(){this.validateBase();this.validateName();this.validateFlipH();this.validateFlipV();this.validateScale();this.validateRotate();this.validateAnimation()}componentWillRender(){this.setPath()}setPath(){var i,t,a,n;const e=(t=(i=document.head.querySelector('meta[name="design-system-settings"][data-post-icon-base]'))===null||i===void 0?void 0:i.getAttribute("data-post-icon-base"))!==null&&t!==void 0?t:null;const o=`${(n=(a=this.base)!==null&&a!==void 0?a:e)!==null&&n!==void 0?n:c}/`.replace(/\/\/$/,"/");const s=`${this.name}.svg#icon`;const r=`${o}${s}`;this.path=new URL(r,window.location.origin).toString()}render(){const i=Object.entries({"-webkit-mask-image":`url('${this.path}')`,"mask-image":`url('${this.path}')`,transform:(this.scale&&!isNaN(Number(this.scale))?"scale("+this.scale+")":"")+(this.rotate&&!isNaN(Number(this.rotate))?" rotate("+this.rotate+"deg)":"")}).filter((([i,t])=>t!==null)).reduce(((i,[t,a])=>Object.assign(i,{[t]:a})),{});return t(a,{"data-version":r},t("span",{style:i}))}get host(){return n(this)}static get watchers(){return{animation:["validateAnimation"],base:["validateBase"],flipH:["validateFlipH"],flipV:["validateFlipV"],name:["validateName"],rotate:["validateRotate"],scale:["validateScale"]}}};d.style=m;export{d as P};
|
|
2
|
+
//# sourceMappingURL=p-d3ed113e.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as s,h as t,H as i,g as o}from"./p-81591ad0.js";import{v as a}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as s,h as t,H as i,g as o}from"./p-81591ad0.js";import{v as a}from"./p-bd1d0117.js";const e=":host{display:block}";const r=class{constructor(t){s(this,t);this.expandedCollapsibles=new Set;this.multiple=false}componentWillLoad(){this.registerCollapsibles()}async toggle(s){const t=this.collapsibles.find((t=>t.id===s));if(!t)throw new Error(`No post-collapsible found with id #${s}.`);await t.toggle()}collapseChangeHandler(s){const t=s.target;const i=this.expandedCollapsibles.has(t);if(i){this.expandedCollapsibles.delete(t)}else{this.expandedCollapsibles.add(t)}if(this.multiple||i)return;Array.from(this.expandedCollapsibles.values()).filter((s=>s!==t)).forEach((s=>{void s.toggle(false)}))}async expandAll(){if(this.multiple){await Promise.all(this.collapsibles.map((s=>s.toggle(true))))}else if(!this.expandedCollapsibles.size){await this.collapsibles[0].toggle(true)}}async collapseAll(){await Promise.all(this.collapsibles.map((s=>s.toggle(false))))}registerCollapsibles(){this.collapsibles=Array.from(this.host.querySelectorAll("post-collapsible"));this.collapsibles.filter((s=>!s.collapsed||this.expandedCollapsibles.has(s))).forEach(((s,t)=>{if(!this.multiple&&t!==0){s.setAttribute("collapsed","");return}this.expandedCollapsibles.add(s)}))}render(){return t(i,{"data-version":a},t("div",{class:"accordion"},t("slot",{onSlotchange:()=>this.registerCollapsibles()})))}get host(){return o(this)}};r.style=e;export{r as P};
|
|
2
|
+
//# sourceMappingURL=p-f695aab4.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as e,b as a}from"./p-81591ad0.js";export{s as setNonce}from"./p-81591ad0.js";const l=()=>{const a=import.meta.url;const l={};if(a!==""){l.resourcesUrl=new URL(".",a).href}return e(l)};l().then((e=>a([["p-
|
|
1
|
+
import{p as e,b as a}from"./p-81591ad0.js";export{s as setNonce}from"./p-81591ad0.js";const l=()=>{const a=import.meta.url;const l={};if(a!==""){l.resourcesUrl=new URL(".",a).href}return e(l)};l().then((e=>a([["p-d8365401",[[1,"post-alert",{dismissible:[4],dismissLabel:[1,"dismiss-label"],fixed:[4],icon:[1],type:[1],alertId:[32],classes:[32],hasActions:[32],hasHeading:[32],onDismissButtonClick:[32],dismiss:[64]},null,{dismissible:["validateDismissible"],dismissLabel:["validateDismissLabel"],fixed:["validateFixed"],icon:["validateIcon"],type:["validateType"]}]]],["p-668bf58c",[[1,"post-popover",{placement:[1],closeButtonCaption:[1,"close-button-caption"],arrow:[4],show:[64],hide:[64],toggle:[64]}]]],["p-6b3a5063",[[1,"post-tooltip",{placement:[1],show:[64],hide:[64],toggle:[64]}]]],["p-9b1b6e06",[[1,"post-accordion",{multiple:[4],toggle:[64],expandAll:[64],collapseAll:[64]},[[0,"collapseChange","collapseChangeHandler"]]]]],["p-4cbb5212",[[1,"post-collapsible",{collapsed:[4],headingLevel:[2,"heading-level"],id:[32],isOpen:[32],hasHeader:[32],headingTag:[32],toggle:[64]},null,{collapsed:["validateCollapsed"],headingLevel:["validateHeadingLevel"]}]]],["p-e78d158d",[[1,"post-tab-header",{panel:[1],tabId:[32]},null,{panel:["validateFor"]}]]],["p-4b94c2a1",[[1,"post-tab-panel",{name:[1],panelId:[32]}]]],["p-169b8ef7",[[1,"post-tabs",{activePanel:[1,"active-panel"],show:[64]}]]],["p-67d0a4fa",[[1,"post-icon",{animation:[1],base:[1],flipH:[4,"flip-h"],flipV:[4,"flip-v"],name:[1],rotate:[2],scale:[2],svgStyles:[32],svgOutput:[32]},null,{animation:["validateAnimation"],base:["validateBase"],flipH:["validateFlipH"],flipV:["validateFlipV"],name:["validateName"],rotate:["validateRotate"],scale:["validateScale"]}]]],["p-51ae6f46",[[1,"post-popovercontainer",{placement:[1],arrow:[4],show:[64],hide:[64],toggle:[64]}]]]],e)));
|
|
2
2
|
//# sourceMappingURL=post-components.esm.js.map
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"package-cd0e9960.js","mappings":";;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"package-337354c3.js","mappings":";;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as s,h as t,H as e,g as n}from"./p-81591ad0.js";import{v as o}from"./p-de493e36.js";const a=":host{display:none}";const r=class{constructor(t){s(this,t);this.panelId=undefined;this.name=undefined}componentWillLoad(){this.panelId=`panel-${this.host.id||crypto.randomUUID()}`}render(){return t(e,{"data-version":o},t("div",{class:"tab-pane",id:this.panelId,role:"tabpanel"},t("slot",null)))}get host(){return n(this)}};r.style=a;export{r as P};
|
|
2
|
-
//# sourceMappingURL=p-b4b4f59a.js.map
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|