1import{a1 as d,e as m,M as n,N as l,ah as r,ao as u,ag as a,cJ as v,aU as _}from"./Czd9XnOY.js";const p=v(()=>_(()=>import("./Di4AxDXO.js").then(t=>t.U),[],import.meta.url).then(t=>t.default||t)),z={class:"qr-code-container"},C={key:1,class:"qr-code-placeholder"},M=d({__name:"QRCode",props:{element:{}},setup(t){const h=m(),i=t,s=(()=>{const e=i.element?.extra?.qrCode?.value,o=e&&e.id!=="none"&&e.id;return!e||!o||o&&e.locationId!==h.value.locationId?{thumbnail:null,id:null}:{thumbnail:e.thumbnail||null,id:e.id}})();return(e,o)=>{const c=p;return n(),l("div",z,[r(s).thumbnail?(n(),u(c,{key:0,src:r(s).thumbnail,alt:"QR Code","class-list":["qr-code-image"],compression:!0,"inline-size":!1,height:"auto",width:"auto"},null,8,["src"])):(n(),l("div",C,o[0]||(o[0]=[a("svg",{class:"qr-placeholder-icon",fill:"currentColor",viewBox:"0 0 24 24",width:"48",height:"48"},[a("path",{d:"M3 11h8V3H3v8zm2-6h4v4H5V5zM3 21h8v-8H3v8zm2-6h4v4H5v-4zM13 3v8h8V3h-8zm2 6h4V5h-4v4zM19 11h2v2h-2zM19 15h2v2h-2zM17 17h2v2h-2zM15 15h2v2h-2zM13 13h2v2h-2zM15 17h2v2h-2zM17 19h2v2h-2zM19 17h2v2h-2zM21 19h2v2h-2z"})],-1),a("p",{class:"qr-placeholder-text"},"Select QR Code",-1)])))])}}}),q=Object.assign(M,{__name:"PreviewElementsQRCode"});export{q as default};
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.