1(globalThis["webpackChunkdatabase2ui"]=globalThis["webpackChunkdatabase2ui"]||[]).push([[747],{4782(e){e.exports={builderTypes:{2:"Auxiliary Business",3:"Builder",4:"Corporate Officer",5:"Employee or Independent Contractor",6:"Organ Supplier",7:"Professional Association",8:"Service Person",0:"Unknown",1:"Other"},imageTypes:{2:"Facade",3:"Console",4:"Pipework",5:"Chamber/Mechanism",6:"Blower",7:"Room",8:"Building Exterior",9:"Builder",0:"Unknown",1:"Other"},keyActionTypes:{2:"Electrical",3:"Mechanical (Unknown)",4:"Mechanical (Balanced Tracker)",5:"Mechanical (Suspended Tracker)",6:"Mechanical (Sticker)",7:"Mechanical (Multiple Types)",8:"Mechanical With Pneumatic Assists",9:"Tubular Pneumatic (Unknown)",10:"Tubular Pneumatic (Pressure)",11:"Tubular Pneumatic (Vacuum)",12:"Multiple Action Types",13:"No Key Action",0:"Unknown",1:"Other"},stopActionTypes:{2:"Electrical",3:"Mechanical",4:"Mechanical With Pneumatic Assists",5:"Tubular Pneumatic (Unknown)",6:"Tubular Pneumatic (Pressure)",7:"Tubular Pneumatic (Vacuum)",8:"Multiple Action Types",9:"No Stop Action",0:"Unknown",1:"Other"},stopLayoutTypes:{2:"Drawknobs",3:"Drawknobs in Vertical Rows on Angled Jambs",4:"Drawknobs in Vertical Rows on Flat Jambs",5:"Drawknobs in Horizontal Row Above Top Manual",6:"Drawknobs in Horizontal Rows on Terraced/Stepped Jambs",7:"Drawknobs in Horizontal Rows on Angled Jambs",8:"Drawknobs in Horizontal Rows on Flat Jambs",9:"Drawknobs in Horizontal Rows on Curved Jambs",10:"Tilting/Rocking Tablets",11:"Tilting/Rocking Tablets Above Top Manual",12:"Tilting/Rocking Tablets on Angled Jambs",13:"Tilting/Rocking Tablets on Slanted Jambs",14:"Tilting/Rocking Tablets on Horizontal Curved Jambs",15:"Stop Keys",16:"Stop Keys Above Top Manual",17:"Stop Keys on Angled Jambs",18:"Stop Keys in Horseshoe Curves",19:"Push-Button Stop Controls/Luminous Pistons",20:"Sliding Stop Controls/Levers",21:"Haskell Style Stop-Keys/Keyboard",22:"No Stop Controls",0:"Unknown",1:"Other"},pedalTypes:{2:"Concave Radiating (Details Unknown)",3:"Concave Radiating (Meeting AGO Standards)",4:"Concave Radiating (Not Meeting AGO Standards)",5:"Concave Straight",6:"Flat Radiating",7:"Flat Straight",8:"No Pedalboard",0:"Unknown",1:"Other"},combinationActionTypes:{2:"Computerized/Digital",3:"Adjustable Combination Pistons",4:"Remote Pneumatic/Mechanical Capture",5:"'Hold and Set' Pneumatic/Mechanical",6:"Setterboard",7:"Adjustable Mechanical",8:"Fixed Mechanical",9:"Ventils",10:"Freie Kombinationen",11:"Blind Action",12:"None",0:"Unknown",1:"Other"},consoleTypes:{2:"Traditional With Roll Top",3:"Traditional Without Cover",4:"Traditional With Hinged Doors That Enclose Keyboards",5:"Traditional With Sliding Doors That Enclose Keyboards",6:"Traditional With a Removable Panel in Front of Keyboards",7:"Traditional With a Keyboard Cover That Can Be Lifted To Form a Music Rack",8:"Non-Traditional Style, As Consoles by Holtkamp, Schlicker, et al",9:"Horseshoe",10:"None",0:"Unknown",1:"Other"},divisionPositionTypes:{2:"In a Case at the Front of the Room",24:"In Ceiling Chambers. No Visible Pipes",3:"In Center Chambers at the Front of the Room. No Visible Pipes",4:"In Side Chambers at the Front of the Room. No Visible Pipes",5:"In Center Chambers at the Front of the Room. Facade Pipes or Case Front Visible",6:"In Side Chambers at the Front of the Room. Facade Pipes or Case Front Visible",7:"In Side Chambers at the Front of the Room. Exposed Pipes Visible",8:"In a Case in a Side Transept",9:"In a Chamber in a Side Transept. No Visible Pipes",10:"In a Chamber in a Side Transept. Facade Pipes or Case Front Visible",11:"In a Chamber Beneath the Floor",12:"Pipes Exposed (in Whole or in Part) at the Front of the Room",13:"In a Floor-Level Case at the Rear of the Room",14:"In a Gallery-Level Case at the Rear of the Room",15:"In Floor-Level Chambers at the Rear of the Room",16:"In Gallery-Level Chambers at the Rear of the Room",17:"Pipes Exposed (in Whole or in Part) at Floor Level at the Rear of the Room",18:"Pipes Exposed (in Whole or in Part) in a Gallery at the Rear of the Room",19:"Exposed Pipes or Case Front Visible in a Gallery at the Rear of the Room",25:"Pipes Exposed on the Front Wall",26:"Pipes Exposed on the Rear Wall",27:"Pipes Exposed on the Side Wall",20:"Portable Instrument, Fully Movable",21:"Fully Digital Division, Speakers Not Visible",22:"Fully Digital Division, Speakers Visible",23:"Fully Digital Division, Speakers Inside False Facade",0:"Unknown",1:"Other"},divisionChestActionTypes:{2:"Slider (Details Unknown)",20:"Slider With Mechanical Pull-Downs",21:"Slider With Mechanical Stickers",3:"Slider With Pneumatic Pull-Downs (Externally, EP or TP)",4:"Slider With Direct-Electric Pull-Downs (Externally Mounted)",5:"Slider With Electro Pneumatic Pallets (Blackinton Type)",6:"Slider With Direct Electric Pallets (Internally Mounted)",7:"Ventil (Details Unknown)",8:"Ventil (Electro Pneumatic)",9:"Ventil (Tubular Pneumatic)",10:"Electro Pneumatic (Details Unknown)",11:"Electro Pneumatic (Pitman)",12:"Electro Pneumatic (Unit)",13:"Austin Universal Air",14:"Wurlitzer",15:"Direct Electric (Details Unknown)",16:"Direct Electric (Wicks)",17:"Pneumatic",18:"Spring",19:"Membrane",0:"Unknown",1:"Other"},divisionStopActionTypes:{2:"Electric",3:"Pneumatic (Details Unknown)",4:"Pneumatic (Electro Pneumatic)",5:"Pneumatic (Tubular Pneumatic)",6:"Ventil (Details Unknown)",7:"Ventil (Electro Pneumatic)",8:"Ventil (Tubular Pneumatic)",9:"Solenoids",10:"Mechanical (Details Unknown)",11:"Mechanical (Slider)",12:"Multiple Action Types",13:"None",0:"Unknown",1:"Other"}
1,consolePositions:{2:"Keydesk Attached",3:"Keydesk Attached, Manuals Set Into Case",4:"Detached Keydesk (Mechanical Action)",5:"Detached, Reversed Keydesk (Mechanical Action)",6:"Console in Fixed Position, Center",7:"Console in Fixed Position, Left",8:"Console in Fixed Position, Right",9:"Movable Console",10:"Console on Lift",11:"Console on Lift, Movable",12:"No Console",0:"Unknown",1:"Other"},expressionTypes:{2:"Balanced Expression Shoes/Pedals (Details Unknown)",3:"Balanced Expression Shoes/Pedals (Meeting AGO Standards)",4:"Balanced Expression Shoes/Pedals (Not Meeting AGO Standards)",5:"Trigger/Hitch-Down Expression",6:"No Enclosed Divisions",0:"Unknown",1:"Other"},siteTypes:{0:"Webpage",1:"Recording"},locationTypes:{0:"Church",1:"School",2:"Public Location",3:"Private Location",4:"Other"},locationSubtypes:{0:{id:0,name:"Unknown",type:4},1:{id:1,name:"African Methodist Episcopal",type:0},2:{id:2,name:"Apostolic",type:0},3:{id:3,name:"Armenian Apostolic",type:0},4:{id:4,name:"Assembly of God",type:0},5:{id:5,name:"Baptist",type:0},6:{id:6,name:"Brethren",type:0},7:{id:7,name:"Church of Christ",type:0},8:{id:8,name:"Church of Christ, Scientist",type:0},9:{id:9,name:"Church of God",type:0},10:{id:10,name:"Church of Jesus Christ of Latter-Day Saints (Mormon)",type:0},11:{id:11,name:"Church of Sweden",type:0},12:{id:12,name:"Church of the Nazarene",type:0},13:{id:13,name:"Undetermined Denomination",type:0},14:{id:14,name:"Congregational",type:0},15:{id:15,name:"Convent, Monastery, and the Like",type:0},16:{id:16,name:"Disciples of Christ / Christian",type:0},17:{id:17,name:"Dutch Reformed",type:0},18:{id:18,name:"Episcopal/Anglican",type:0},83:{id:83,name:"Evangelical",type:0},19:{id:19,name:"Evangelical and Reformed",type:0},20:{id:20,name:"Evangelical Covenant",type:0},21:{id:21,name:"Evangelical United Brethren",type:0},22:{id:22,name:"Federated",type:0},23:{id:23,name:"French Huguenot",type:0},24:{id:24,name:"Friends (Quaker)",type:0},25:{id:25,name:"Greek Orthodox",type:0},26:{id:26,name:"High School, Preparatory School, or Academy",type:1},27:{id:27,name:"Holy Apostolic Catholic Assyrian Church of the East",type:0},28:{id:28,name:"Hungarian Reformed",type:0},29:{id:29,name:"Interdenominational",type:0},30:{id:30,name:"International Church of the Foursquare Gospel",type:0},31:{id:31,name:"Jehovah's Witness",type:0},32:{id:32,name:"Lutheran",type:0},33:{id:33,name:"Mennonite",type:0},34:{id:34,name:"Methodist",type:0},84:{id:84,name:"Metropolitan Community Church",type:0},35:{id:35,name:"Moravian / Unity of the Brethren",type:0},36:{id:36,name:"Nondenominational",type:0},82:{id:82,name:"New Church",type:0},81:{id:81,name:"Polish National Catholic Church",type:0},37:{id:37,name:"Presbyterian",type:0},85:{id:85,name:"Protestant",type:0},38:{id:38,name:"Reformed (RCA, CRC, URC, PRC)",type:0},39:{id:39,name:"Roman Catholic",type:0},40:{id:40,name:"Scottish Rite",type:0},41:{id:41,name:"Serbian Orthodox",type:0},42:{id:42,name:"Seventh-day Adventist",type:0},43:{id:43,name:"Swedenborgian",type:0},44:{id:44,name:"Synagogue or other Jewish House of Worship",type:0},45:{id:45,name:"Unitarian, Universalist, Unitarian-Universalist",type:0},46:{id:46,name:"United Church of Canada",type:0},47:{id:47,name:"United Churches of Christ (UCC)",type:0},48:{id:48,name:"Unity",type:0},49:{id:49,name:"College or University",type:1},50:{id:50,name:"Conservatory or Independent Music School",type:1},51:{id:51,name:"Independent Music Teacher Studio",type:1},52:{id:52,name:"Seminary",type:1},53:{id:53,name:"Amusement: Skating Rink, etc.",type:2},54:{id:54,name:"Arena or Stadium",type:2},55:{id:55,name:"Auditorium or Concert Hall",type:2},56:{id:56,name:"Exhibition, Fair, or Other Commercial Exhibit",type:2},57:{id:57,name:"Factory or Commercial Business, Not Retail",type:2},58:{id:58,name:"Hotel",type:2},59:{id:59,name:"Museum",type:2},60:{id:60,name:"Restaurant",type:2},61:{id:61,name:"Retail Store: Department Store, Music Store, etc.",type:2},62:{id:62,name:"Showroom for Builder, Exhibitor, etc.",type:2},63:{id:63,name:"Social Service",type:2},64:{id:64,name:"Theatre, Cinema, or Movie House",type:2}
1,65:{id:65,name:"Builder's Factory",type:3},66:{id:66,name:"Builder's Shop: Storage, Display, etc.",type:3},67:{id:67,name:"Hospital, Retirement/Nursing Home, etc.",type:3},68:{id:68,name:"Lodge and Club",type:3},69:{id:69,name:"Military Installation: Fort, Post, etc.",type:3},70:{id:70,name:"Mortuary, Funeral Home, or Cemetery Chapel",type:3},71:{id:71,name:"Private Residence",type:3},72:{id:72,name:"Radio, Television or Movie Studio",type:3},73:{id:73,name:"Yacht or Other Ocean-Going Vessel",type:3},74:{id:74,name:"Organ Built for Development Purposes",type:4},75:{id:75,name:"Prison",type:2},76:{id:76,name:"Train Station",type:2},77:{id:77,name:"Airport",type:2},78:{id:78,name:"City Square",type:2},79:{id:79,name:"Mall",type:2},80:{id:80,name:"Library",type:2}},biosHOLTypes:{0:"None",1:"Grade I",2:"Grade II*",3:"Grade II"},temperamentTypes:{2:"Equal",3:"Fisk I",4:"Fisk II",5:"Kellner",6:"Kirnberger III",7:"Meantone",8:"Pythagorean",9:"Silbermann",10:"Vallotti",11:"Werckmeister I",12:"Werkmeister III",13:"Young I",14:"Young II",0:"Unknown",1:"Other"},editRequestCategoryTypes:{0:"Location",1:"Builder",2:"Instrument"},editRequestTypes:{0:"Details",1:"Image",2:"Document",3:"Note",4:"Webpage",5:"Stoplist",6:"Console",7:"Blower",8:"Reference"}}},8633(e,t,a){"use strict";var n=a(6432),o=a(3363),i=a(120);const s="builders";class r{getSelectorOptions({q:e=null,ids:t=null,limit:a=10,signal:r=null}={}){const l=Array.isArray(t)?t.join(","):t;return n.A.get(s+"/options",{params:{q:(0,i.vV)(e),ids:l,limit:a},signal:r,headers:(0,o.A)()})}getAll(e,t,a,r,l,c,d,u,p,m,h,g,y){return n.A.get(s,{params:{name:(0,i.vV)(e),city:(0,i.vV)(t),state:(0,i.vV)(a),country:(0,i.vV)(r),activeFrom:l,activeUntil:c,active:d,hasImages:u,hasDocuments:p,hasWebpages:m,sort:h,limit:g,skip:y},headers:(0,o.A)()})}getAllPending(){return n.A.get(s,{params:{pending:1},headers:(0,o.A)()})}get(e){return n.A.get(s+`/${e}`,{headers:(0,o.A)()})}create(e){return n.A.post(s,e,{headers:(0,o.A)()})}update(e,t){return n.A.patch(s+`/${e}`,t,{headers:(0,o.A)()})}delete(e){return n.A.delete(s+`/${e}`,{headers:(0,o.A)()})}}const l=new r;a.d(t,["A",0,l])},1072(e,t,a){"use strict";var n=a(641);const o=({fetchPage:e,getItems:t,getTotal:a,replaceItems:o,appendItems:i,getVisibleCount:s,setTotal:r,shouldLoadMoreImmediately:l=()=>!1,onInitialStart:c=()=>{},onInitialSuccess:d=()=>{},onInitialError:u=()=>{},onInitialFinish:p=()=>{},onPagingSuccess:m=()=>{},onPagingError:h=()=>{}})=>{let g=0,y=null,b=[],v=null,k=!1;const f=e=>{const a=t(e);return Array.isArray(a)?a:[]},C=(e,t=null)=>{const n=Number(a(e));Number.isFinite(n)?y=n:Number.isFinite(t)&&(y=t),Number.isFinite(y)&&r(y)},w=()=>Number.isFinite(y)&&s()<y,L=()=>{y=null,b=[],v=null,k=!1},I=async()=>{if(!b.length)return!1;const e=b;return b=[],i(e),await(0,n.dY)(),w()&&(A(),l()&&await E()),!0},A=()=>{if(v||b.length||!w())return v;const t=g,a=s();return v=Promise.resolve(e(a)).then(e=>{if(t!==g)return;C(e,y);const a=f(e);if(!a.length&&w())return y=s(),r(y),void(b=[]);b=a,m(e)}).catch(e=>{t===g&&(b=[],h(e))}).finally(()=>{if(t===g){if(v=null,k&&b.length)return k=!1,void I();k=!1}}),v},S=()=>{g+=1,L()},P=async()=>{S();const t=g;c();try{const a=await e(0);if(t!==g)return!1;const i=f(a);return C(a,i.length),o(i),d(a),p(),await(0,n.dY)(),t===g&&w()&&(A(),l()&&await E()),!0}catch(a){return t!==g||(u(a),p()),!1}},E=async()=>!!w()&&(await I()||(k=!0,v||A()),!0);return{invalidate:S,loadInitial:P,loadMore:E}};a.d(t,["n",0,o])},4140(e,t,a){"use strict";var n=a(953),o=a(641);const i=e=>e>=768?2:1,s=e=>e>=1200?3:e>=768?2:1,r=(e,t)=>{const a=Array.isArray(e)?e:[],n=Math.max(1,Number(t)||1),o=Array.from({length:n},()=>[]);return a.forEach((e,t)=>{o[t%n].push(e)}),o},l=(e,t)=>
1{const a=(0,n.KR)(1),i=()=>{"undefined"!==typeof window?a.value=Math.max(1,Number(t(window.innerWidth))||1):a.value=1};return(0,o.sV)(()=>{i(),window.addEventListener("resize",i)}),(0,o.xo)(()=>{"undefined"!==typeof window&&window.removeEventListener("resize",i)}),(0,o.EW)(()=>r(e(),a.value))};a.d(t,["IC",0,i,"K9",0,l,"cs",0,s])},2425(e,t,a){"use strict";a.d(t,{J:()=>k});const n=new Set(["script","style","iframe","object","embed","meta","link","base","form","input","button","textarea","select","option","noscript","svg","math"]),o=new Set(["a","abbr","b","blockquote","br","code","del","div","em","h1","h2","h3","h4","h5","h6","hr","i","li","ol","p","pre","s","span","strong","sub","sup","u","ul"]),i=new Set(["title"]),s={a:new Set(["href","target","rel","title"]),code:new Set(["class"])},r=1,l=8;function c(e){return String(e??"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function d(e){const t=[],a=e.replace(/<\/?[a-zA-Z][^>]*>/g,e=>{const a=`@@PODHTMLTOKEN${t.length}@@`;return t.push(e),a});return{escaped:a,htmlTags:t}}function u(e,t){return e.replace(/@@PODHTMLTOKEN(\d+)@@/g,(e,a)=>t[Number(a)]??"")}function p(e){const{escaped:t,htmlTags:a}=d(String(e??""));let n=c(t);return n=n.replace(/`([^`\n]+?)`/g,"<code>$1</code>"),n=n.replace(/!\[([^\]]*?)\]\(([^)\s]+)\)/g,"$1"),n=n.replace(/\[([^\]]+?)\]\(([^)\s]+)\)/g,(e,t,a)=>{const n=c(String(a).trim());return`<a href="${n}">${t}</a>`}),n=n.replace(/\*\*(.+?)\*\*/g,"<strong>$1</strong>"),n=n.replace(/__(.+?)__/g,"<strong>$1</strong>"),n=n.replace(/~~(.+?)~~/g,"<del>$1</del>"),n=n.replace(/\*([^*\n]+?)\*/g,"<em>$1</em>"),n=n.replace(/_([^_\n]+?)_/g,"<em>$1</em>"),u(n,a)}function m(e){const t=String(e??"").replace(/\r\n?/g,"\n").split("\n"),a=[],n=[],o={inCodeFence:!1,inUnorderedList:!1,inOrderedList:!1,codeFenceLanguage:"",codeFenceLines:[]},i=()=>{o.inUnorderedList&&(a.push("</ul>"),o.inUnorderedList=!1),o.inOrderedList&&(a.push("</ol>"),o.inOrderedList=!1)},s=()=>
1{if(0===n.length)return;const e=n.map(p).join("<br>");a.push(`<p>${e}</p>`),n.length=0},r=()=>{const e=c(o.codeFenceLines.join("\n")),t=o.codeFenceLanguage.replace(/[^a-z0-9_-]/gi,""),n=t?` class="language-${t}"`:"";a.push(`<pre><code${n}>${e}</code></pre>`),o.inCodeFence=!1,o.codeFenceLanguage="",o.codeFenceLines=[]};return t.forEach(e=>{const t=e.trim();if(/^```/.test(t))return s(),i(),void(o.inCodeFence?r():(o.inCodeFence=!0,o.codeFenceLanguage=t.replace(/^```+/,"").trim()));if(o.inCodeFence)return void o.codeFenceLines.push(e);if(""===t)return s(),void i();const l=t.match(/^(#{1,6})\s+(.+)$/);if(l){s(),i();const e=l[1].length;return void a.push(`<h${e}>${p(l[2])}</h${e}>`)}if(/^([-*_])\1{2,}$/.test(t))return s(),i(),void a.push("<hr>");const c=t.match(/^>\s?(.*)$/);if(c)return s(),i(),void a.push(`<blockquote>${p(c[1])}</blockquote>`);const d=e.match(/^\s*[-*+]\s+(.+)$/);if(d)return s(),o.inOrderedList&&(a.push("</ol>"),o.inOrderedList=!1),o.inUnorderedList||(a.push("<ul>"),o.inUnorderedList=!0),void a.push(`<li>${p(d[1])}</li>`);const u=e.match(/^\s*\d+\.\s+(.+)$/);return u?(s(),o.inUnorderedList&&(a.push("</ul>"),o.inUnorderedList=!1),o.inOrderedList||(a.push("<ol>"),o.inOrderedList=!0),void a.push(`<li>${p(u[1])}</li>`)):/^<\/?[a-zA-Z][^>]*>$/.test(t)?(s(),i(),void a.push(t)):void n.push(e)}),s(),i(),o.inCodeFence&&r(),a.join("\n")}function h(e){return String(e??"").split("").filter(e=>{const t=e.charCodeAt(0);return t>=32&&127!==t||t>159}).join("")}function g(e){const t=String(e??"").trim();if(!t)return null;const a=h(t),n=a.replace(/\s+/g,""),o=n.toLowerCase();if(/^(javascript|data|vbscript|file):/.test(o))return null;if(o.startsWith("#")||o.startsWith("/")||o.startsWith("./")||o.startsWith("../")||o.startsWith("//"))return a;try{const e=new URL(a,"https://pipeorgandatabase.org");if(["http:","https:","mailto:","tel:"].includes(e.protocol))return a}catch(i){return null}return null}function y(e){const t=e.tagName.toLowerCase(),a=s[t]||new Set;if(Array.from(e.attributes).forEach(t=>{const n=t.name.toLowerCase();n.startsWith("on")||"style"===n?e.removeAttribute(t.name):i.has(n)||a.has(n)||e.removeAttribute(t.name)}),"a"===t){const t=g(e.getAttribute("href"));if(!t)return e.removeAttribute("href"),e.removeAttribute("target"),void e.removeAttribute("rel");e.setAttribute("href",t),e.setAttribute("rel","noopener noreferrer nofollow ugc"),/^https?:/i.test(t)||t.startsWith("//")||"_blank"===e.getAttribute("target")?e.setAttribute("target","_blank"):e.removeAttribute("target")}if("code"===t&&e.hasAttribute("class")){const t=e.getAttribute("class").split(/\s+/).filter(e=>/^language-[a-z0-9_-]+$/i.test(e)).join(" ");t?e.setAttribute("class",t):e.removeAttribute("class")}}function b(e){Array.from(e.childNodes).forEach(t=>{if(t.nodeType===l)return void t.remove();if(t.nodeType!==r)return;const a=t.tagName.toLowerCase();if(n.has(a))t.remove();else if(o.has(a))y(t),b(t);else{while(t.firstChild)e.insertBefore(t.firstChild,t);t.remove()}})}function v(e){if("undefined"===typeof DOMParser)return c(String(e??"")).replace(/\n/g,"<br>");const t=new DOMParser,a=t.parseFromString(`<div>${e??""}</div>`,"text/html"),n=a.body.firstElementChild;return n?(b(n),n.innerHTML):""}function k(e){return v(m(e))}},2747(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>$e});var n=a(641),o=a(33),i=a(3751);const s={class:"container-fluid p-5"},r={class:"row"},l={class:"col-12 col-md-8"},c={key:0,class:"text-secondary mb-0"},d={key:0,class:"col-12 col-md-4"},u={href:"/builders/add",rel:"nofollow",class:"btn btn-success float-md-end mt-3 mt-md-0"},p={key:0},m={key:1},h={class:"row mt-3"},g={class:"col-12"},y={class:"accordion",id:"accordionExample"},b={class:"accordion-item rounded-bottom-0"},v={id:"collapseOne",class:"accordion-collapse collapse","aria-labelledby":"headingOne","data-bs-parent":"#accordionExample"},k={class:"accordion-body"},f={class:"row"},C={class:"col-12 col-md-6 col-lg-3"},w={class:"mb-3"},L={class:"col-12 col-md-6 col-lg-3"},I={class:"mb-3"},A={class:"col-12 col-md-6 col-lg-3"},S={class:"mb-3"},P={class:"col-12 col-md-6 col-lg-3"},E={class:"mb-3"},T={class:"row align-items-center"},F={class:"col-12 col-md-6"},U={class:"col-12 col-md-6 mt-3 mt-md-0"},R=["disabled"],x={class:"accordion-item rounded-bottom-0"},M={id:"collapseTwo",class:"accordion-collapse collapse","aria-labelledby":"headingTwo","data-bs-parent":"#accordionExample"},D={class:"accordion-body"},O={class:"row"},V={class:"col-12 col-md-6 col-lg-8"},W={class:"input-group"},N={class:"col-12 col-md-6 col-lg-4 mt-3 mt-md-0"},B={class:"form-check form-switch"},H={class:"row"},_={class:"col-12 col-md-4 mt-3"},X={class:"form-check form-switch"},$={class:"col-12 col-md-4 mt-3"},K={class:"form-check form-switch"},Q={class:"col-12 col-md-4 mt-3"},J={class:"form-check form-switch"},q={class:"btn-group w-100 mt-0",role:"group"},z={key:0,class:"alert alert-danger mt-4",role:"alert"},G={key:1,class:"search-masonry search-masonry--two-up mt-4"},Z={class:"card border-0"},j={class:"row card-body"},Y={key:0,class:"cR4"},ee={key:1,class:"cR4"},te=["href"],ae={class:"card-title"},ne={class:"card-text"},oe={class:"d-block"},ie=["innerHTML"],se={key:1,class:"d-block"},re={class:"d-block"},le={key:0},ce={key:1},de={key:2,class:"me-2"},ue={key:3,class:"me-2"},pe={key:4},me={key:0,class:"col-12 col-md-5 mt-2 mt-md-0 search-card-media"},he=["src"],ge={key:2,class:"table-responsive mt-4 rounded-1"},ye={class:"table table-striped"},be={scope:"row"},ve=["href"],ke={key:0,class:"cR4 d-block"},fe={key:1,class:"cR4 d-block"},Ce=["href"],we=["innerHTML"],Le={key:0},Ie={key:1},Ae={key:0,class:"me-2"},Se={key:1,class:"me-2"},Pe={key:2},Ee={key:3,class:"text-center mt-2"},Te={key:4,class:"text-center text-secondary mb-4 mt-5"};function Fe(e,t,a,Fe,Ue,Re){return(0,n.uX)(),(0,n.CE)("div",null,[(0,n.Lk)("div",s,[(0,n.Lk)("div",r,[(0,n.Lk)("div",l,[t[24]||(t[24]=(0,n.Lk)("h2",{class:"decorativeUnderline text-uppercase text-light"},"Builders",-1)),Fe.data&&Fe.data.total?((0,n.uX)(),(0,n.CE)("p",c,"Showing "+(0,o.v_)(Fe.data.total.toLocaleStr
1ing())+" Results",1)):(0,n.Q3)("",!0)]),Re.canAddBuilders?((0,n.uX)(),(0,n.CE)("div",d,[(0,n.Lk)("a",u,[Re.loggedIn?((0,n.uX)(),(0,n.CE)("span",m,"Add")):((0,n.uX)(),(0,n.CE)("span",p,"Submit")),t[25]||(t[25]=(0,n.eW)(" New Builder Entry",-1))])])):(0,n.Q3)("",!0)]),(0,n.Lk)("div",h,[(0,n.Lk)("div",g,[(0,n.Lk)("div",y,[(0,n.Lk)("div",b,[t[32]||(t[32]=(0,n.Lk)("h2",{class:"accordion-header",id:"headingOne"},[(0,n.Lk)("button",{class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#collapseOne","aria-expanded":"false","aria-controls":"collapseOne"}," Search Parameters ")],-1)),(0,n.Lk)("div",v,[(0,n.Lk)("div",k,[(0,n.Lk)("div",f,[(0,n.Lk)("div",C,[(0,n.Lk)("div",w,[t[26]||(t[26]=(0,n.Lk)("label",{class:"form-label"},"Name:",-1)),(0,n.bo)((0,n.Lk)("input",{type:"text",class:"form-control",placeholder:"ex: Skinner","onUpdate:modelValue":t[0]||(t[0]=e=>Fe.data.name=e),onInput:t[1]||(t[1]=(...e)=>Fe.onInput&&Fe.onInput(...e)),autocomplete:"off"},null,544),[[i.Jo,Fe.data.name]])])]),(0,n.Lk)("div",L,[(0,n.Lk)("div",I,[t[27]||(t[27]=(0,n.Lk)("label",{class:"form-label"},"City:",-1)),(0,n.bo)((0,n.Lk)("input",{type:"text",class:"form-control",placeholder:"ex: Boston","onUpdate:modelValue":t[2]||(t[2]=e=>Fe.data.city=e),onInput:t[3]||(t[3]=(...e)=>Fe.onInput&&Fe.onInput(...e)),autocomplete:"off"},null,544),[[i.Jo,Fe.data.city]])])]),(0,n.Lk)("div",A,[(0,n.Lk)("div",S,[t[28]||(t[28]=(0,n.Lk)("label",{class:"form-label"},[(0,n.eW)("State/Province Code: ("),(0,n.Lk)("a",{href:"https://www.ups.com/worldshiphelp/WSA/ENU/AppHelp/mergedProjects/CORE/Codes/State_Province_Codes.htm",class:"text-secondary",target:"_blank"},"view list"),(0,n.eW)(")")],-1)),(0,n.bo)((0,n.Lk)("input",{type:"text",class:"form-control",placeholder:"ex: MA","onUpdate:modelValue":t[4]||(t[4]=e=>Fe.data.state=e),onInput:t[5]||(t[5]=(...e)=>Fe.onInput&&Fe.onInput(...e)),autocomplete:"off",maxlength:"2"},null,544),[[i.Jo,Fe.data.state]])])]),(0,n.Lk)("div",P,[(0,n.Lk)("div",E,[t[29]||(t[29]=(0,n.Lk)("label",{class:"form-label"},[(0,n.eW)("Country Code: ("),(0,n.Lk)("a",{href:"https://www.in.gov/dor/legal-resources/tax-library/foreign-country-code-listing/",class:"text-secondary",target:"_blank"},"view list"),(0,n.eW)(")")],-1)),(0,n.bo)((0,n.Lk)("input",{type:"text",class:"form-control",placeholder:"ex: US","onUpdate:modelValue":t[6]||(t[6]=e=>Fe.data.country=e),onInput:t[7]||(t[7]=(...e)=>Fe.onInput&&Fe.onInput(...e)),autocomplete:"off",maxlength:"2"},null,544),[[i.Jo,Fe.data.country]])])])]),(0,n.Lk)("div",T,[(0,n.Lk)("div",F,[t[30]||(t[30]=(0,n.Lk)("label",{class:"form-label"},"Active From:",-1)),(0,n.bo)((0,n.Lk)("input",{type:"number",class:"form-control",placeholder:"ex: 1901","onUpdate:modelValue":t[8]||(t[8]=e=>Fe.data.activeFrom=e),onInput:t[9]||(t[9]=(...e)=>Fe.onInput&&Fe.onInput(...e)),autocomplete:"off"},null,544),[[i.Jo,Fe.data.activeFrom]])]),(0,n.Lk)("div",U,[t[31]||(t[31]=(0,n.Lk)("label",{class:"form-label"},"Active Until:",-1)),(0,n.bo)((0,n.Lk)("input",{type:"number",class:"form-control",placeholder:"ex: 1971","onUpdate:modelValue":t[10]||(t[10]=e=>Fe.data.activeUntil=e),onInput:t[11]||(t[11]=(...e)=>Fe.onInput&&Fe.onInput(...e)),autocomplete:"off",disabled:1==Fe.data.active},null,40,R),[[i.Jo,Fe.data.activeUntil]])])])])])]),(0,n.Lk)("div",x,[t[39]||(t[39]=(0,n.Lk)("h2",{class:"accordion-header",id:"headingTwo"},[(0,n.Lk)("button",{class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#collapseTwo","aria-expanded":"false","aria-controls":"collapseTwo"}," Filter and Sort ")],-1)),(0,n.Lk)("div",M,[(0,n.Lk)("div",D,[(0,n.Lk)("div",O,[(0,n.Lk)("div",V,[(0,n.Lk)("div",W,[t[34]||(t[34]=(0,n.Lk)("span",{class:"input-group-text"},"Sort:",-1)),(0,n.bo)((0,n.Lk)("select",{class:"form-select","onUpdate:modelValue":t[12]||(t[12]=e=>Fe.data.sort=e),onChange:t[13]||(t[13]=(...e)=>Fe.onInput&&Fe.onInput(...e))},[...t[33]||(t[33]=[(0,n.Fv)('<option value="name">Name (A to Z)</option><option value="-name">Name (Z to A)</option><option value="neighborhood">Neighborhood (A to Z)</option><option value="-neighborhood">Neighborhood (Z to A)</option><option value="city">City (A to Z)</option><option value="-city">City (Z to A)</option><option value="state">State (A to Z)</option><option value="-state">State (Z to A)</option><option value="country">Country (A to Z)</option><option value="-country">Country (Z to A)</option><option value="activeFrom">Active From (Oldest to Newest)</option><option value="-activeFrom">Active From (Newest to Oldest)</option><option value="activeUntil">Active Until (Oldest to Newest)</option><option value="-activeUntil">Active Until (Newest to Oldest)</option><option value="createdAt">Entry Created (Oldest to Newest)</option><option value="-createdAt">Entry Created (Newest to Oldest)</option>',16)])],544),[[i.u1,Fe.data.sort]])])]),(0,n.Lk)("div",N,[(0,n.Lk)("div",B,[(0,n.bo)((0,n.Lk)("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":t[14]||(t[14]=e=>Fe.data.active=e),onChange:t[15]||(t[15]=(...e)=>Fe.onActiveChange&&Fe.onActiveChange(...e)),"true-value":"1","false-value":"0",role:"switch"},null,544),[[i.lH,Fe.data.active]]),t[35]||(t[35]=(0,n.Lk)("label",{class:"form-check-label"},"Show Only Currently Active Builders",-1))])])]),(0,n.Lk)("div",H,[(0,n.Lk)("div",_,[(0,n.Lk)("div",X,[(0,n.bo)((0,n.Lk)("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":t[16]||(t[16]=e=>Fe.data.hasImages=e),onChange:t[17]||(t[17]=(...e)=>Fe.onInput&&Fe.onInput(...e)),"true-value":"1","false-value":"0",role:"switch"},null,544),[[i.lH,Fe.data.hasImages]]),t[36]||(t[36]=(0,n.Lk)("label",{class:"form-check-label"},"Entry Has Image(s)",-1))])]),(0,n.Lk)("div",$,[(0,n.Lk)("div",K,[(0,n.bo)((0,n.Lk)("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":t[18]||(t[18]=e=>Fe.data.hasDocuments=e),onChange:t[19]||(t[19]=(...e)=>Fe.onInput&&Fe.onInput(...e)),"true-value":"1","false-value":"0",role:"switch"},null,544),[[i.lH,Fe.data.hasDocuments]]),t[37]||(t[37]=(0,n.Lk)("label",{class:"form-check-label"},"Entry Has Document(s)",-1))])]),(0,n.Lk)("div",Q,[(0,n.Lk)("div",J,[(0,n.bo)((0,n.Lk)("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":t[20]||(t[20]=e=>Fe.data.hasWebpages=e),onChange:t[21]||(t[21]=(...e)=>Fe.onInput&&Fe.onInput(...e)),"true-value":"1","false-value":"0",role:"switch"},null,544),[[i.lH,Fe.data.hasWebpages]]),t[38]||(t[38]=(0,n.Lk)("label",{class:"form-check-label"},"Entry Has Webpage(s)",-1))])])])])])])])])]),(0,n.Lk)("div",q,[(0,n.Lk)("button",{type:"button",onClick:t[22]||(t[22]=e=>Re.updatePageView(0)),class:(0,o.C4)(["btn btn-secondary rounded-top-0",{active:0==Fe.data.pageView}])},[...t[40]||(t[40]=[(0,n.Lk)("i",{class:"bi bi-credit-card-2-front"},null,-1),(0,n.eW)(" Cards",-1)])],2),(0,n.Lk)("button",{type:"button",onClick:t[23]||(t[23]=e=>Re.updatePageView(1)),class:(0,o.C4)(["btn btn-secondary rounded-top-0",{active:1==Fe.data.pageView}])},[...t[41]||(t[41]=[(0,n.Lk)("i",{class:"bi bi-table"},null,-1),(0,n.eW)(" Table",-1)])],2)]),Fe.data.message?((0,n.uX)(),(0,n.CE)("div",z," Database Error: "+(0,o.v_)(Fe.data.message.message||Fe.data.message),1)):(0,n.Q3)("",!0),0==Fe.data.pageView?((0,n.uX)(),(0,n.CE)("div",G,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(Fe.builderMasonryColumns,(e,a)=>((0,n.uX)(),(0,n.CE)("div",{class:"search-masonry__column",key:a},[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(e,e=>((0,n.uX)(),(0,n.CE)("div",{class:"search-masonry__item",key:e.id},[(0,n.Lk)("div",Z,[(0,n.Lk)("div",j,[(0,n.Lk)("div",{class:(0,o.C4)({"col-12":!e.headerImage,"col-md-7":e.headerImage})},[0==e.approvalStatus?((0,n.uX)(),(0,n.CE)("h6",Y,[...t[42]||(t[42]=[(0,n.Lk)("i",null,"Pending Review",-1)])])):(0,n.Q3)("",!0),-1==e.approvalStatus?((0,n.uX)(),(0,n.CE)("h6",ee,[...t[43]||(t[43]=[(0,n.Lk)("i",null,"Denied In Review",-1)])])):(0,n.Q3)("",!0),(0,n.Lk)("a",{href:"/builders/"+e.id,class:"text-decoration-none text-dark",target:"_blank"},[(0,n.Lk)("h5",ae,(0,o.v_)(e.name),1)],8,te),(0,n.Lk)("div",ne,[(0,n.eW)((0,o.v_)(Re.getBuilderLocation(e))+" ",1),(0,n.Lk)("span",oe,"Type: "+(0,o.v_)(Fe.data.builderTypeOptions[e.type]),1
1),e.details?((0,n.uX)(),(0,n.CE)("div",{key:0,class:"d-block",innerHTML:Re.renderBuilderDetails(e.details)},null,8,ie)):((0,n.uX)(),(0,n.CE)("span",se,"Unknown or N/A")),(0,n.Lk)("span",re,[(0,n.eW)(" Active: "+(0,o.v_)(null==e.activeFrom||e.activeFrom<0?"Unknown":e.activeFrom)+" - ",1),e.activeUntil?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.CE)("span",le,"Present")),e.activeUntil?((0,n.uX)(),(0,n.CE)("span",ce,(0,o.v_)(e.activeUntil<0?"Unknown":e.activeUntil),1)):(0,n.Q3)("",!0)]),e.hasImages?((0,n.uX)(),(0,n.CE)("span",de,[...t[44]||(t[44]=[(0,n.Lk)("i",{class:"bi bi-image searchIcon"},null,-1)])])):(0,n.Q3)("",!0),e.hasDocuments?((0,n.uX)(),(0,n.CE)("span",ue,[...t[45]||(t[45]=[(0,n.Lk)("i",{class:"bi bi-file-earmark-ruled searchIcon"},null,-1)])])):(0,n.Q3)("",!0),e.hasWebpages?((0,n.uX)(),(0,n.CE)("span",pe,[...t[46]||(t[46]=[(0,n.Lk)("i",{class:"bi bi-globe searchIcon"},null,-1)])])):(0,n.Q3)("",!0)])],2),e.headerImage?((0,n.uX)(),(0,n.CE)("div",me,[(0,n.Lk)("img",{class:"search-card-media__image",src:Re.apiEndpoint+"/uploads/images/"+e.headerImage.thumbFilename},null,8,he)])):(0,n.Q3)("",!0)])])]))),128))]))),128))])):(0,n.Q3)("",!0),1==Fe.data.pageView&&Fe.data.total&&Fe.data.total>0?((0,n.uX)(),(0,n.CE)("div",ge,[(0,n.Lk)("table",ye,[t[52]||(t[52]=(0,n.Lk)("thead",null,[(0,n.Lk)("tr",null,[(0,n.Lk)("th",{scope:"col"},"ID"),(0,n.Lk)("th",{scope:"col"},"Name"),(0,n.Lk)("th",{scope:"col"},"Type"),(0,n.Lk)("th",{scope:"col"},"Details"),(0,n.Lk)("th",{scope:"col"},"Active From"),(0,n.Lk)("th",{scope:"col"},"Active Until"),(0,n.Lk)("th",{scope:"col"},"Resources")])],-1)),(0,n.Lk)("tbody",null,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(Fe.data.builders,e=>((0,n.uX)(),(0,n.CE)("tr",{key:e.id},[(0,n.Lk)("th",be,[(0,n.Lk)("a",{href:"/builders/"+e.id,class:"text-decoration-none text-dark",target:"_blank"},(0,o.v_)(e.id),9,ve)]),(0,n.Lk)("td",null,[0==e.approvalStatus?((0,n.uX)(),(0,n.CE)("span",ke,[...t[47]||(t[47]=[(0,n.Lk)("i",null,"Pending Review",-1)])])):(0,n.Q3)("",!0),-1==e.approvalStatus?((0,n.uX)(),(0,n.CE)("span",fe,[...t[48]||(t[48]=[(0,n.Lk)("i",null,"Denied In Review",-1)])])):(0,n.Q3)("",!0),(0,n.Lk)("a",{href:"/builders/"+e.id,class:"text-decoration-none text-dark",target:"_blank"},(0,o.v_)(e.name),9,Ce)]),(0,n.Lk)("td",null,(0,o.v_)(Fe.data.builderTypeOptions[e.type]),1),(0,n.Lk)("td",{innerHTML:Re.renderBuilderDetails(e.details||"")},null,8,we),(0,n.Lk)("td",null,(0,o.v_)(null==e.activeFrom||e.activeFrom<0?"Unknown":e.activeFrom),1),(0,n.Lk)("td",null,[e.activeUntil?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.CE)("span",Le,"Present")),e.activeUntil?((0,n.uX)(),(0,n.CE)("span",Ie,(0,o.v_)(e.activeUntil<0?"Unknown":e.activeUntil),1)):(0,n.Q3)("",!0)]),(0,n.Lk)("td",null,[e.hasImages?((0,n.uX)(),(0,n.CE)("span",Ae,[...t[49]||(t[49]=[(0,n.Lk)("i",{class:"bi bi-image searchIcon"},null,-1)])])):(0,n.Q3)("",!0),e.hasDocuments?((0,n.uX)(),(0,n.CE)("span",Se,[...t[50]||
1(t[50]=[(0,n.Lk)("i",{class:"bi bi-file-earmark-ruled searchIcon"},null,-1)])])):(0,n.Q3)("",!0),e.hasWebpages?((0,n.uX)(),(0,n.CE)("span",Pe,[...t[51]||(t[51]=[(0,n.Lk)("i",{class:"bi bi-globe searchIcon"},null,-1)])])):(0,n.Q3)("",!0)])]))),128))])])])):(0,n.Q3)("",!0),0!=Fe.data.loading?((0,n.uX)(),(0,n.CE)("div",Ee,[...t[53]||(t[53]=[(0,n.Lk)("h2",{class:"mb-4 d-inline-block me-3 text-secondary"},"Loading...",-1),(0,n.Lk)("div",{class:"spinner-border text-secondary d-inline-block",role:"status"},[(0,n.Lk)("span",{class:"visually-hidden"},"Loading...")],-1)])])):(0,n.Q3)("",!0),0==Fe.data.builders.length&&0==Fe.data.loading?((0,n.uX)(),(0,n.CE)("h2",Te,[...t[54]||(t[54]=[(0,n.eW)("No Results Found",-1),(0,n.Lk)("small",{style:{"font-size":"1rem"},class:"d-block mt-2"},[(0,n.eW)("View the "),(0,n.Lk)("a",{href:"/faq",class:"text-decoration-underline text-secondary",target:"_blank"},"FAQ"),(0,n.eW)(" for Assistance")],-1)])])):(0,n.Q3)("",!0)])])}var Ue=a(953),Re=a(1029),xe=a(8633),Me=a(4782),De=a.n(Me),Oe=a(2425),Ve=a(8123),We=a(1072),Ne=a(4140),Be=a(120);const He={name:"Builders",metaInfo(){return{title:"Builders | Pipe Organ Database",meta:[{property:"og:type",name:"og:type",content:"website"},{property:"og:title",name:"og:title",content:"Builders | Pipe Organ Database"},{property:"og:description",name:"og:description",content:"View and Search Pipe Organ Builders"},{property:"og:image",name:"og:image",content:"https://api.pipeorgandatabase.org/uploads/images/blank_sm.png"},{property:"twitter:card",name:"twitter:card",content:"summary"},{property:"twitter:image",name:"twitter:image",content:"https://api.pipeorgandatabase.org/uploads/images/blank_sm.png"},{property:"twitter:title",name:"twitter:title",content:"Builders | Pipe Organ Database"},{property:"twitter:description",name:"twitter:description",content:"View and Search Pipe Organ Builders"}]}},setup(){const e=(0,Re.lq)(),t=(0,Re.rd)(),a=(0,Ue.Kh)({builders:[],message:"",builderTypeOptions:De().builderTypes,loading:!1,searchContent:"",name:null,city:null,state:null,country:null,activeUntil:null,activeFrom:null,active:!1,sort:"name",hasImages:!1,hasDocuments:!1,hasWebpages:!1,limit:15,searchTimer:null,total:null,pageView:0});for(let n in e.query)n in a&&(a[n]=e.query[n]);const o=(e,t)=>{const a=e.slice(),n=new Set(e.map(e=>e.id));return(t||[]).forEach(e=>{e&&null!==e.id&&"undefined"!==typeof e.id&&!n.has(e.id)&&(n.add(e.id),a.push(e))}),a},i=e=>e.response&&e.response.data||e.message||e.toString(),s=()=>window.innerHeight+window.scrollY+5>=document.body.offsetHeight,r=(0,Ne.K9)(()=>a.builders,Ne.IC),l=(0,We.n)({fetchPage:e=>xe.A.getAll(a.name,a.city,a.state,a.country,a.activeFrom,a.activeUntil,a.active,a.hasImages,a.hasDocuments,a.hasWebpages,a.sort,a.limit,e),getItems:e=>e.data.builders,getTotal:e=>e.data.total,replaceItems:e=>{a.builders=o([],e)},appendItems:e=>{a.builders=o(a.builders,e),window.prerenderReady=!0},getVisibleCount:()=>a.builders.length,setTotal:e=>{a.total=e},shouldLoadMoreImmediately:s,onInitialStart:()=>{a.loading=!0,a.message="",a.builders=[],a.total=null},onInitialSuccess:()=>{a.message="",window.prerenderReady=!0},onInitialError:e=>{console.log(e),a.message=i(e),window.prerenderReady=!0},onInitialFinish:()=>{a.loading=!1},onPagingSuccess:()=>{a.message=""},onPagingError:e=>{console.log(e),a.message=i(e)}}),c=()=>(a.pageView=localStorage.getItem("pageView")||0,2==a.pageView&&(a.pageView=0,localStorage.setItem("pageView",0)),1==a.pageView?a.limit=25:a.limit=15,a.builders=[],""==a.name&&(a.name=null),""==a.city&&(a.city=null),""==a.state&&(a.state=null),""==a.country&&(a.country=null),""==a.activeUntil&&(a.activeUntil=null),""==a.activeFrom&&(a.activeFrom=null),l.loadInitial()),d=()=>{s()&&!a.loading&&u()},u=()=>l.loadMore();(0,n.wB)(()=>e.query,()=>{c()}),(0,n.sV)(()=>{c(),window.addEventListener("scroll",d)}),(0,n.xo)(()=>{window.removeEventListener("scroll",d),clearTimeout(a.searchTimer),a.searchTimer=null,l.invalidate()});const p=()=>{clearTimeout(a.searchTimer),(0,Be.Zi)([a.name,a.city,a.state,a.country])||(a.searchTimer=setTimeout(()=>{let e={};(0,Be.Iy)(e,"name",a.name),(0,Be.Iy)(e,"city",a.city),(0,Be.Iy)(e,"state",a.state),(0,Be.Iy)(e,"country",a.country),a.activeUntil&&(e.activeUntil=a.activeUntil),a.activeFrom&&(e.activeFrom=a.activeFrom),a.hasImages&&(e.hasImages=a.hasImages),a.hasDocuments&&(e.hasDocuments=a.hasDocuments),a.hasWebpages&&(e.hasWebpages=a.hasWebpages),a.sort&&(e.sort=a.sort),a.limit&&(e.limit=a.limit),1==a.active&&(e.active=1),t.push({path:"/builders",query:e})},300))},m=()=>{1==a.active&&(a.activeUntil=null),p()};return{router:t,loadInitial:c,data:a,builderMasonryColumns:r,onInput:p,onActiveChange:m}},methods:{updatePageView(e){localStorage.setItem("pageView",e),this.data.pageView=e,this.loadInitial()},renderBuilderDetails(e){return(0,Oe.J)(e)},getBuilderLocation(e){var t="",a=e.locations[0]||null;return a&&(t=a.neighborhood||""),""!=t&&(t="("+t+")"),null!=a?a.city+" "+t+" "+a.state+", "+a.country:""}},computed:{loggedIn(){return this.$store.state.auth.status.loggedIn},canAddBuilders(){return(0,Ve.ML)(this.$store.state.auth.user)},apiEndpoint(){return"https://api.pipeorgandatabase.org"}}};var _e=a(6262);const Xe=(0,_e.A)(He,[["render",Fe]]),$e=Xe}}]); 2//# sourceMappingURL=747.3aaadf2c.js.map
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.