{"version":3,"file":"node_modules_ionic_core_dist_esm_ion-backdrop_entry_js.js","mappings":";;;;;;;;;;;;;;;;AAAA;AACA;AACA;AAC4F;AAC/B;AACc;;AAE3E,8BAA8B,OAAO,QAAQ,MAAM,SAAS,cAAc,kBAAkB,gCAAgC,wBAAwB,eAAe,eAAe,aAAa,sBAAsB,kBAAkB,UAAU,sBAAsB,uBAAuB,6BAA6B,YAAY,MAAM,iDAAiD;;AAE9X,6BAA6B,OAAO,QAAQ,MAAM,SAAS,cAAc,kBAAkB,gCAAgC,wBAAwB,eAAe,eAAe,aAAa,sBAAsB,kBAAkB,UAAU,sBAAsB,uBAAuB,6BAA6B,YAAY,MAAM,iDAAiD;;AAE7X;AACA;AACA,IAAI,qDAAgB;AACpB,0BAA0B,qDAAW;AACrC,mBAAmB,4EAAgC;AACnD;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,4DAAU;AAC3B,YAAY,qDAAC,CAAC,iDAAI,IAAI;AACtB;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;;AAEoC","sources":["./node_modules/@ionic/core/dist/esm/ion-backdrop.entry.js"],"sourcesContent":["/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { r as registerInstance, e as createEvent, h, H as Host } from './index-8e692445.js';\nimport { b as getIonMode } from './ionic-global-c74e4951.js';\nimport { G as GESTURE_CONTROLLER } from './gesture-controller-17060b7c.js';\n\nconst backdropIosCss = \":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}\";\n\nconst backdropMdCss = \":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}\";\n\nconst Backdrop = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.ionBackdropTap = createEvent(this, \"ionBackdropTap\", 7);\n this.blocker = GESTURE_CONTROLLER.createBlocker({\n disableScroll: true,\n });\n /**\n * If `true`, the backdrop will be visible.\n */\n this.visible = true;\n /**\n * If `true`, the backdrop will can be clicked and will emit the `ionBackdropTap` event.\n */\n this.tappable = true;\n /**\n * If `true`, the backdrop will stop propagation on tap.\n */\n this.stopPropagation = true;\n }\n connectedCallback() {\n if (this.stopPropagation) {\n this.blocker.block();\n }\n }\n disconnectedCallback() {\n this.blocker.unblock();\n }\n onMouseDown(ev) {\n this.emitTap(ev);\n }\n emitTap(ev) {\n if (this.stopPropagation) {\n ev.preventDefault();\n ev.stopPropagation();\n }\n if (this.tappable) {\n this.ionBackdropTap.emit();\n }\n }\n render() {\n const mode = getIonMode(this);\n return (h(Host, { tabindex: \"-1\", \"aria-hidden\": \"true\", class: {\n [mode]: true,\n 'backdrop-hide': !this.visible,\n 'backdrop-no-tappable': !this.tappable,\n } }));\n }\n};\nBackdrop.style = {\n ios: backdropIosCss,\n md: backdropMdCss\n};\n\nexport { Backdrop as ion_backdrop };\n"],"names":[],"sourceRoot":"webpack:///"}