PageSourceSearch

https://sarahnolan.com.au/_s/assets/FlexSelectShow-CpxGdgDS.js

js sarahnolan.com.au collected 2026-10-09 22:42:05 UTC 1,217 bytes, 1 lines download raw bytes

1import{w as m,c as d}from"./vue.esm-D6kxFMzM.js";import{P as h}from"./registerPlugin-4JOtW-KC.js";import{M as u}from"./Modal-C2kXx3Cv.js";import{i as f}from"./handlerShim-BYTyRQMS.js";import"./global-jquery-CDd9sieU.js";import"./jquery-WKbeL-yW.js";import"./graphql-lsp-B6A8sSuz.js";import"./LazyLoading-Nfw3y1Yi.js";import"./jquery.cookie-Di2pw6VJ.js";class p{constructor(e){this.el=e,this.watcher=null;let t=e;for(;t.nodeName!=="FORM"&&t.parentElement!==document.body;)t=t.parentElement;let r=null;function o(){if(t.mFlexChooser){const a=t.mFlexChooser;m(d(()=>a.selected),n=>{if(!n){r=null;return}if(n.id===r)return;if(typeof n.id!="number"||n.id<1){r=null;return}const l=new URL(window.location.href);l.search="flexvariant="+n.id,r=n.id,fetch(l.toString(),{credentials:"same-origin"}).then(i=>i.text()).then(i=>{const s=document.createElement("div");s.innerHTML=i;const c=s.querySelector("#"+e.id);c?(h.getInstance().replaceChildEls(e,Array.from(c.children)),u.reInit()):console.error("Unable to find target element in http response")})},{immediate:!0})}else setTimeout(o,150)}o(),console.log("Init Select Block",this)}static frontend(e){return new this(e)}}const I=f(p);export{p as FlexSelectShow,I as handler};

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.