PageSourceSearch

https://libertycountyfl.org/scripts/556.js

js libertycountyfl.org collected 2026-10-09 17:00:47 UTC 6,798 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[556],{189:function(t,e,n){n.d(e,{A:function(){return c}});var o=n(726);function r(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return a(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=Array(e);n<e;n++)o[n]=t[n];return o}var i={name:"CloseButton",methods:{close:function(){this.$emit("close")}}};var c=(0,n(262).A)(i,[["render",function(t,e,n,a,i,c){return(0,o.uX)(),(0,o.CE)("span",{onClick:e[0]||(e[0]=function(t){return c.close()}),onKeydown:e[1]||(e[1]=(0,o.jR)(function(t){return c.close()},["enter"])),class:"absolute flex items-center leading-none h-10 px-6 bg-primary hover:bg-accent shadow-xl right-4 top-0 lg:right-10 cursor-pointer text-white rounded-full",tabindex:"4"},r(e[2]||(e[2]=[(0,o.Lk)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14.561",height:"14.561",viewBox:"0 0 14.561 14.561",class:"fill-current h-3 w-3 mr-2 leading-none"},[(0,o.Lk)("g",{transform:"translate(-5853.086 73.914)"},[(0,o.Lk)("line",{x1:"16.592",transform:"translate(5866.232 -60.767) rotate(-135)",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-width":"2"}),(0,o.Lk)("line",{x1:"16.592",transform:"translate(5854.5 -60.767) rotate(-45)",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-width":"2"})])],-1),(0,o.eW)(" close ",-1)])),32)}]])},262:function(t,e){e.A=(t,e)=>{const n=t.__vccOpts||t;for(const[t,o]of e)n[t]=o;return n}},556:function(t,e,n){n.r(e),n.d(e,{default:function(){return m}});var o=n(726),r={class:"static"},a=["id","onClick","onKeydown"],i=["alt"],c={key:0,class:"text-primary font-bold text-center py-2 mb-4"},l={key:0,class:"fixed z-50 top-0 h-screen w-full bg-white backdrop-blur bg-opacity-80 p-8 flex flex-col justify-center"},s={class:"relative px-4 pb-4 w-full h-full"},u={class:"flex-grow lg:h-full w-full flex justify-center items-center pt-20 lg:py-12"},p=["src","alt"];var d=n(738),f=n(189),h={name:"PhotoGallery",components:{pager:d.A,close:f.A},props:{photos:{type:Object,default:function(){}},aspect:{type:String,default:"square"},captions:{type:Number,default:0},columns:{type:Number,default:2},format:{type:Number,default:0}},data:function(){return{activePhoto:{},photoData:[],popupOpen:!1,activeIndex:0}},mounted:function(){this.photoData=this.photos},methods:{openPhoto:function(t){this.popupOpen=!0,this.activeIndex=t,this.activePhoto=this.photoData[t],this.$nextTick(function(){document.getElementById("popoverimage").focus()})},nextPhoto:function(){this.activeIndex+1==this.photoData.length?this.activeIndex=0:this.activeIndex++,this.openPhoto(this.activeIndex)},prevPhoto:function(){this.activeIndex+1==1?this.activeIndex=this.photoData.length:this.activeIndex--,this.openPhoto(this.activeIndex)},closePhotoBrowser:function(){var t=this;this.popupOpen=!1,this.$nextTick(function(){document.getElementById("gallery_thumbnail_"+t.activePhoto.name).focus()})}}};const v=(0,n(262).A)(h,[["render",function(t,e,n,d,f,h){var v=(0,o.g2)("close"),m=(0,o.g2)("pager"),g=(0,o.gN)("lazy");return(0,o.uX)(),(0,o.CE)("div",r,[(0,o.Lk)("div",{class:(0,o.C4)(["grid grid-cols-2 gap-4",{"md:grid-cols-3":3==n.columns,"md:grid-cols-4":4==n.columns,"md:grid-cols-5":5==n.columns,"md:grid-cols-6":6==n.columns}])},[((0,o.uX)(!0),(0,o.CE)(o.FK,null,(0,o.pI)(f.photoData,function(t,e){return(0,o.uX)(),(0,o.CE)("div",{key:t.url,id:"gallery_thumbnail_"+t.name,class:"cursor-pointer group",onClick:function(t){return h.openPhoto(e)},onKeydown:(0,o.jR)(function(t){return h.openPhoto(e)},["enter"])},[(0,o.bo)((0,o.Lk)("div",{class:(0,o.C4)(["block w-full bg-center bg-cover ring-4 ring-transparent ring-inset hover:ring-accent transition-color duration-700",{"rounded shadow hover:shadow-xl":0!=n.format,"aspect-square":"square"==n.aspect,"aspect-landscape":"landscape"==n.aspect,"aspect-portrait":"portrait"==n.aspect}]),tabindex:"0",alt:t.alt},null,10,i),[[g,t.sizes.large?t.sizes.large:t.url,"background-image"]]),0!=n.captions?((0,o.uX)(),(0,o.CE)("div",c,(0,o.v_)(t.caption),1)):(0,o.Q3)("",!0)],40,a)}),128))],2),((0,o.uX)(),(0,o.Wv)(o.Im,{to:"#popup-target"},[f.popupOpen?((0,o.uX)(),(0,o.CE)("div",l,[(0,o.Lk)("div",s,[(0,o.bF)(v,{onClose:e[0]||(e[0]=function(t){return h.closePhotoBrowser()})}),(0,o.Lk)("div",u,[(0,o.Lk)("img",{id:"popoverimage",onKeydown:[e[1]||(e[1]=(0,o.jR)(function(t){return h.closePhotoBrowser()},["esc"])),e[2]||(e[2]=(0,o.jR)(function(){return h.nextPhoto&&h.nextPhoto.apply(h,arguments)},["space"]))],src:f.activePhoto.url,alt:f.activePhoto.alt+" (use space bar to advance photos and esc to close gallery)",class:"max-h-full max-w-full mx-auto",tabindex:"1"},null,40,p)]),f.photoData.length>1?((0,o.uX)(),(0,o.Wv)(m,{key:0,activeIndex:f.activeIndex,data:f.photoData,onNext:h.nextPhoto,onPrev:h.prevPhoto},null,8,["activeIndex","data","onNext","onPrev"])):(0,o.Q3)("",!0)])])):(0,o.Q3)("",!0)]))])}]]);var m=v},738:function(t,e,n){n.d(e,{A:function(){return l}});var o=n(726),r={class:"relative max-w-xs mx-auto bg-gray-100 rounded-full shadow-xl flex justify-between mt-4 lg:-mt-8 p-1 z-20"},a={class:"text-gray-700 font-bold flex items-center leading-none"};var i={name:"Pager",props:{activeIndex:{type:Number,default:0},data:{type:Array,default:function(){return[]}}},data:function(){return{}},methods:{next:function(){this.$emit("next")},prev:function(){this.$emit("prev")}}};const c=(0,n(262).A)(i,[["render",function(t,e,n,i,c,l){return(0,o.uX)(),(0,o.CE)("div",r,[(0,o.Lk)("span",{onClick:e[0]||(e[0]=function(){return l.prev&&l.prev.apply(l,arguments)}),onKeydown:e[1]||(e[1]=(0,o.jR)(function(){return l.prev&&l.prev.apply(l,arguments)},["enter"])),class:"h-10 px-6 bg-primary hover:bg-accent text-white flex items-center leading-none cursor-pointer focus:outline-accent rounded-full",tabindex:"2"},"prev",32),(0,o.Lk)("span",a,(0,o.v_)(n.activeIndex+1)+" of "+(0,o.v_)(n.data.length),1),(0,o.Lk)("span",{onClick:e[2]||(e[2]=function(){return l.next&&l.next.apply(l,arguments)}),onKeydown:e[3]||(e[3]=(0,o.jR)(function(){return l.next&&l.next.apply(l,arguments)},["enter"])),class:"h-10 px-6 bg-primary hover:bg-accent text-white flex items-center leading-none cursor-pointer focus:outline-accent rounded-full",tabindex:"3"},"next",32)])}]]);var l=c}}]);

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.