PageSourceSearch

https://allepaznokcie.pl/application/assets/storefront/chunk-phoenix_components_navigator.DhX9BBw.js

js allepaznokcie.pl collected 2026-10-03 23:20:44 UTC 2,027 bytes, 7 lines download raw bytes

1import{_ as t,a as r}from"./chunk-vendor-di.Bh23gdA.js";import{P as l,$ as h,e as s,t as u}from"./chunk-vendor-lit.NvY0u02.js";import{p as c}from"./chunk-phoenix_custom_element.-3oJuZO.js";import{B as g}from"./chunk-btn_controller.BPcEEeZ.js";import"./chunk-vendor-lodash.CWHFt7Z.js";import"./chunk-keystrokes_controller.BSiCZ0Y.js";const a="navigator",n={success:`${a}.success`,error:`${a}.error`};let e=class extends l{constructor(){super(),this.url="",this.text="",this.title="",this.files=[],this._handleShare=async()=>{if(navigator.canShare(this.shareData))try{await navigator.share(this.shareData),this.emitCustomEvent(n.success)}catch(i){this.emitCustomEvent(n.error,{detail:i})}},this._btnController=new g(this,this._handleShare)}get shareData(){return{url:this.url,text:this.text,title:this.title,files:this.files}}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this._handleShare)}render(){return super.render(),h`
2            <navigator-controller property="share">
3                <div slot="supported">
4                    ${this.getSlot("content")}
5                </div>
6            </navigator-controller>
7        `}};t([s({type:String}),r("design:type",Object)],e.prototype,"url",void 0);t([s({type:String}),r("design:type",Object)],e.prototype,"text",void 0);t([s({type:String}),r("design:type",Object)],e.prototype,"title",void 0);t([s({type:Array}),r("design:type",Array)],e.prototype,"files",void 0);e=t([c("navigator-share"),r("design:paramtypes",[])],e);const p={supported:"supported",unsupported:"unsupported"};let o=class extends l{connectedCallback(){super.connectedCallback();const i=!!navigator[this.property];this._templateSlot=i?p.supported:p.unsupported}render(){return super.render(),h`${this.getSlot(this._templateSlot)}`}};t([s({type:String}),r("design:type",String)],o.prototype,"property",void 0);t([u(),r("design:type",String)],o.prototype,"_templateSlot",void 0);o=t([c("navigator-controller")],o);requestAnimationFrame(()=>{});globalThis.__phoenix_wc__=[o,e];

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.