{"version":3,"file":"VisuallyHidden-C6OtLWPg.js","sources":["../../node_modules/reka-ui/dist/VisuallyHidden/VisuallyHidden.js"],"sourcesContent":["import { defineComponent, openBlock, createBlock, unref, withCtx, renderSlot } from 'vue';\nimport { P as Primitive } from '../Primitive/Primitive.js';\n\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"VisuallyHidden\",\n props: {\n feature: { default: \"focusable\" },\n asChild: { type: Boolean },\n as: { default: \"span\" }\n },\n setup(__props) {\n return (_ctx, _cache) => {\n return openBlock(), createBlock(unref(Primitive), {\n as: _ctx.as,\n \"as-child\": _ctx.asChild,\n \"aria-hidden\": _ctx.feature === \"focusable\" ? \"true\" : undefined,\n \"data-hidden\": _ctx.feature === \"fully-hidden\" ? \"\" : undefined,\n tabindex: _ctx.feature === \"fully-hidden\" ? \"-1\" : undefined,\n style: {\n // See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss\n position: \"absolute\",\n border: 0,\n width: \"1px\",\n height: \"1px\",\n padding: 0,\n margin: \"-1px\",\n overflow: \"hidden\",\n clip: \"rect(0, 0, 0, 0)\",\n clipPath: \"inset(50%)\",\n whiteSpace: \"nowrap\",\n wordWrap: \"normal\"\n }\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 8, [\"as\", \"as-child\", \"aria-hidden\", \"data-hidden\", \"tabindex\"]);\n };\n }\n});\n\nexport { _sfc_main as _ };\n//# sourceMappingURL=VisuallyHidden.js.map\n"],"names":["_sfc_main","defineComponent","__name","props","feature","default","asChild","type","Boolean","as","setup","__props","_ctx","_cache","openBlock","createBlock","unref","Primitive","tabindex","style","position","border","width","height","padding","margin","overflow","clip","clipPath","whiteSpace","wordWrap","withCtx","renderSlot","$slots","_"],"mappings":"waAGK,MAACA,EAA4CC,EAAA,CAChDC,OAAQ,iBACRC,MAAO,CACLC,QAAS,CAAEC,QAAS,aACpBC,QAAS,CAAEC,KAAMC,SACjBC,GAAI,CAAEJ,QAAS,SAEjBK,MAAMC,GACG,CAACC,EAAMC,KACLC,IAAaC,EAAYC,EAAMC,GAAY,CAChDR,GAAIG,EAAKH,GACT,WAAYG,EAAKN,QACjB,cAAgC,cAAjBM,EAAKR,QAA0B,YAAS,EACvD,cAAgC,iBAAjBQ,EAAKR,QAA6B,QAAK,EACtDc,SAA2B,iBAAjBN,EAAKR,QAA6B,UAAO,EACnDe,MAAO,CAELC,SAAU,WACVC,OAAQ,EACRC,MAAO,MACPC,OAAQ,MACRC,QAAS,EACTC,OAAQ,OACRC,SAAU,SACVC,KAAM,mBACNC,SAAU,aACVC,WAAY,SACZC,SAAU,WAEX,CACDzB,QAAS0B,GAAQ,IAAM,CACrBC,EAAWpB,EAAKqB,OAAQ,cAE1BC,EAAG,GACF,EAAG,CAAC,KAAM,WAAY,cAAe,cAAe","x_google_ignoreList":[0]}