PageSourceSearch

https://vasgallery.org.au/_s/assets/RadioButton-CGMO0M7D.js

js vasgallery.org.au collected 2026-10-02 10:01:50 UTC 1,162 bytes, 1 lines download raw bytes

1import"./global-jquery-CDd9sieU.js";import{i as f}from"./handlerShim-BYTyRQMS.js";import{$ as r}from"./jquery-WKbeL-yW.js";import"./graphql-lsp-B6A8sSuz.js";class d{constructor(t,n,h){this.$elem=t,this.opt=n,this.updateHook=h;const o=t.find("i"),u=t.find("label");o.click(s=>{const a=r(s.target),i=[];if(i.push(o.attr("data-uncheck")),i.push(`${o.attr("data-checked")} checked`),t.find(".radio-button").each((e,l)=>{const c=r(l);c.find("i").removeClass(i.join(" ")).addClass(i[0]),c.find("input").prop("checked",!1)}),a.addClass(i[1]).next("input").prop("checked",!0),n.hasOwnProperty("other")){const e=t.find(".other-field");e.toggle(a.next("input").hasClass("other")),a.next("input").hasClass("other")?e.find('[data-require="required"]').attr("required","required"):e.find('[data-require="required"]').removeAttr("required")}if(d.inIframe()){const e=window.frameElement;r(e).css("height",e.contentWindow.document.body.scrollHeight)}}),u.click(s=>{r(s.target).siblings("i").trigger("click")})}static frontend(t,n){return new this(r(t),n)}static inIframe(){try{return window.self!==window.top}catch{return!0}}}const w=f(d);export{d as RadioButton,w 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.