{"ast":null,"code":"/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { r as registerInstance, d as createEvent, h, f as Host } from './index-28849c61.js';\nimport { b as getIonMode } from './ionic-global-c81d82ab.js';\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)}\";\nconst IonBackdropIosStyle0 = backdropIosCss;\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)}\";\nconst IonBackdropMdStyle0 = backdropMdCss;\nconst Backdrop = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.ionBackdropTap = createEvent(this, \"ionBackdropTap\", 7);\n this.visible = true;\n this.tappable = true;\n this.stopPropagation = true;\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, {\n key: '7abaf2c310aa399607451b14063265e8a5846938',\n \"aria-hidden\": \"true\",\n class: {\n [mode]: true,\n 'backdrop-hide': !this.visible,\n 'backdrop-no-tappable': !this.tappable\n }\n });\n }\n};\nBackdrop.style = {\n ios: IonBackdropIosStyle0,\n md: IonBackdropMdStyle0\n};\nexport { Backdrop as ion_backdrop };","map":{"version":3,"names":["r","registerInstance","d","createEvent","h","f","Host","b","getIonMode","backdropIosCss","IonBackdropIosStyle0","backdropMdCss","IonBackdropMdStyle0","Backdrop","constructor","hostRef","ionBackdropTap","visible","tappable","stopPropagation","onMouseDown","ev","emitTap","preventDefault","emit","render","mode","key","class","style","ios","md","ion_backdrop"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/@ionic/core/dist/esm/ion-backdrop.entry.js"],"sourcesContent":["/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { r as registerInstance, d as createEvent, h, f as Host } from './index-28849c61.js';\nimport { b as getIonMode } from './ionic-global-c81d82ab.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)}\";\nconst IonBackdropIosStyle0 = backdropIosCss;\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)}\";\nconst IonBackdropMdStyle0 = backdropMdCss;\n\nconst Backdrop = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.ionBackdropTap = createEvent(this, \"ionBackdropTap\", 7);\n this.visible = true;\n this.tappable = true;\n this.stopPropagation = true;\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, { key: '7abaf2c310aa399607451b14063265e8a5846938', \"aria-hidden\": \"true\", class: {\n [mode]: true,\n 'backdrop-hide': !this.visible,\n 'backdrop-no-tappable': !this.tappable,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