PageSourceSearch

https://www.sdcivicartcollection.com/portals/civic-art-collection/…?3.19.9.5ce6b1f8b.1788641030714

js sdcivicartcollection.com collected 2026-10-08 05:06:57 UTC 12,083 bytes, 22 lines download raw bytes

1"use strict";(self.rspackChunkmono_repo=self.rspackChunkmono_repo||[]).push([[6528],{78517(t,e,i){var s=i(/*! ./ui_utils.js */56122),h=i(/*! ../pdf */50379),a=i(/*! ./pdf_find_utils.js */29116);function n(t,e){if(!Object.prototype.hasOwnProperty.call(t,e))throw TypeError("attempted to use private field on non-instance");return t}var r=0;function l(t){return"__private_"+r+++"_"+t}/**
2 * @licstart The following is the entire license notice for the
3 * JavaScript code in this page
4 *
5 * Copyright 2022 Mozilla Foundation
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 *     http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 *
19 * @licend The above is the entire license notice for the
20 * JavaScript code in this page
21 */let u={FOUND:0,NOT_FOUND:1,WRAPPED:2,PENDING:3},c={"‐":"-","‘":"'","’":"'","‚":"'","‛":"'","“":'"',"”":'"',"„":'"',"‟":'"',"¼":"1/4","½":"1/2","¾":"3/4"},o=new Set([12441,12442,2381,2509,2637,2765,2893,3021,3149,3277,3387,3388,3405,3530,3642,3770,3972,4153,4154,5908,5940,6098,6752,6980,7082,7083,7154,7155,11647,43014,43052,43204,43347,43456,43766,44013,3158,3953,3954,3962,3963,3964,3965,3968,3956]),d=[...o.values()].map(t=>String.fromCharCode(t)).join(""),_=/\p{M}+/gu,p=/([.*+?^${}()|[\]\\])|(\p{P})|(\s+)|(\p{M})|(\p{L}
21)/gu,g=/([^\p{M}])\p{M}*$/u,f=/^\p{M}*([^\p{M}])/u,m=/[\uAC00-\uD7AF\uFA6C\uFACF-\uFAD1\uFAD5-\uFAD7]+/g,x=new Map,P=null,I=null;function M(t){let e,i;let s=[];for(;null!==(e=m.exec(t));){let{index:t}=e;for(let i of e[0]){let e=x.get(i);e||(e=i.normalize("NFD").length,x.set(i,e)),s.push([e,t++])}}if(0===s.length&&P)i=P;else if(s.length>0&&I)i=I;else{let t=Object.keys(c).join(""),e=`([${t}])|(\\p{M}+(?:-\\n)?)|(\\S-\\n)|(\\p{Ideographic}\\n)|(\\n)`;i=0===s.length?P=RegExp(e+"|(\\u0000)","gum"):I=RegExp(e+`|([\\u1100-\\u1112\\ud7a4-\\ud7af\\ud84a\\ud84c\\ud850\\ud854\\ud857\\ud85f])`,"gum")}let h=[];for(;null!==(e=_.exec(t));)h.push([e[0].length,e.index]);let a=t.normalize("NFD"),n=[[0,0]],r=0,l=0,u=0,o=0,d=0,p=!1;return a=a.replace(i,(t,e,i,a,_,g,f,m)=>{if(m-=o,e){let e=c[t],i=e.length;for(let t=1;t<i;t++)n.push([m-u+t,u-t]);return u-=i-1,e}if(i){let t=i.endsWith("\n"),e=t?i.length-2:i.length;p=!0;let s=e;m+d===h[r]?.[1]&&(s-=h[r][0],++r);for(let t=1;t<=s;t++)n.push([m-1-u+t,u-t]);return(u-=s,o+=s,t)?(m+=e-1,n.push([m-u+1,1+u]),u+=1,o+=1,d+=1,i.slice(0,e)):i}if(a)return n.push([m-u+1,1+u]),u+=1,o+=1,d+=1,a.charAt(0);if(_)return n.push([m-u+1,u]),o+=1,d+=1,_.charAt(0);if(g)return n.push([m-u+1,u-1]),u-=1,o+=1,d+=1," ";if(m+d===s[l]?.[1]){let t=s[l][0]-1;++l;for(let e=1;e<=t;e++)n.push([m-(u-e),u-e]);u-=t,o+=t}return f}),n.push([a.length,u]),[a,n,p]}var y=l("_onFind"),v=l("_reset"),D=l("_query"),b=l("_shouldDirtyMatch"),C=l("_isEntireWord"),T=l("_calculateRegExpMatch"),O=l("_convertToRegExpString"),j=l("_calculateMatch"),F=l("_extractText"),A=l("_updatePage"),S=l("_updateAllPages"),w=l("_nextMatch"),$=l("_matchesReady"),k=l("_nextPageMatch"),N=l("_advanceOffsetPage"),E=l("_updateMatch"),U=l("_onFindBarClose"),R=l("_requestMatchesCount"),q=l("_updateUIResultsCount"),B=l("_updateUIState");class L{get highlightMatches(){return this._highlightMatches}get pageMatches(){return this._pageMatches}get pageMatchesLength(){return this._pageMatchesLength}get selected(){return this._selected}get state(){return this._state}setDocument(t){this._pdfDocument&&n(this,v)[v](),t&&(this._pdfDocument=t,this._firstPageCapability.resolve())}scrollMatchIntoView({element:t=null,selectedLeft:e=0,pageIndex:i=-1,matchIndex:h=-1}){this._scrollMatches&&t&&-1!==h&&h===this._selected.matchIdx&&-1!==i&&i===this._selected.pageIdx&&(this._scrollMatches=!1,(0,s.Rt)(t,{top:-50,left:e+-400},!0))}constructor({linkService:t,eventBus:e}){Object.defineProperty(this,y,{value:Q}),Object.defineProperty(this,v,{value:W}),Object.defineProperty(this,D,{get:z,set:void 0}),Object.defineProperty(this,b,{value:G}),Object.defineProperty(this,C,{value:V}),Object.defineProperty(this,T,{value:H}),Object.defineProperty(this,O,{value:J}),Object.defineProperty(this,j,{value:K}),Object.defineProperty(this,F,{value:X}),Object.defineProperty(this,A,{value:Y}),Object.defineProperty(this,S,{value:Z}),Object.defineProperty(this,w,{value:tt}),Object.defineProperty(this,$,{value:te}),Object.defineProperty(this,k,{value:ti}),Object.defineProperty(this,N,{value:ts}),Object.defineProperty(this,E,{value:th}),Object.defineProperty(this,U,{value:ta}),Object.defineProperty(this,R,{value:tn}),Object.defineProperty(this,q,{value:tr}),Object.defineProperty(this,B,{value:tl}),this._linkService=t,this._eventBus=e,n(this,v)[v](),e._on("find",n(this,y)[y].bind(this)),e._on("findbarclose",n(this,U)[U].bind(this))}}function Q(t){if(!t)return;let e=this._pdfDocument,{type:i}=t;(null===this._state||n(this,b)[b](t))&&(this._dirtyMatch=!0),this._state=t,"highlightallchange"!==i&&n(this,B)[B](u.PENDING),this._firstPageCapability.promise.then(()=>{if(!this._pdfDocument||e&&this._pdfDocument!==e)return;n(this,F)[F]();let t=!this._highlightMatches,s=!!this._findTimeout;this._findTimeout&&(clearTimeout(this._findTimeout),this._findTimeout=null),i?this._dirtyMatch?n(this,w)[w]():"again"===i?(n(this,w)[w](),t&&this._state.highlightAll&&n(this,S)[S]()):"highlightallchange"===i?(s?n(this,w)[w]():this._highlightMatches=!0,n(this,S)[S]()):n(this,w)[w]():this._findTimeout=setTimeout(()=>{n(this,w)[w](),this._findTimeout=null},250)})}function W(){this._highlightMatches=!1,this._scrollMatches=!1,this._pdfDocument=null,this._pageMatches=[],this._pageMatchesLength=[],this._state=null,this._selected={pageIdx:-1,matchIdx:-1},this._offset={pageIdx:null,matchIdx:null,wrapped:!1},this._extractTextPromises=[],this._pageContents=[],this._pageDiffs=[],this._hasDiacritics=[],this._matchesCountTotal=0,this._pagesToSearch=null,this._pendingFindMatches=new Set,this._resumePageIdx=null,this._dirtyMatch=!1,clearTimeout(this._findTimeout),this._findTimeout=null,this._firstPageCapability=(0,h.UB)()}function z(){return this._state.query!==this._rawQuery&&(this._rawQuery=this._state.query,[this._normalizedQuery]=M(this._state.query)),this._normalizedQuery}function G(t){if(t.query!==this._state.query)return!0;switch(t.type){case"again":let e=this._selected.pageIdx+1,i=this._linkService;if(e>=1&&e<=i.pagesCount&&e!==i.page&&!i.isPageVisible(e))break;return!1;case"highlightallchange":return!1}return!0}function V(t,e,i){let s=t.slice(0,e).match(g);
21if(s){let i=t.charCodeAt(e),h=s[1].charCodeAt(0);if((0,a.a)(i)===(0,a.a)(h))return!1}if(s=t.slice(e+i).match(f)){let h=t.charCodeAt(e+i-1),n=s[1].charCodeAt(0);if((0,a.a)(h)===(0,a.a)(n))return!1}return!0}function H(t,e,i,h){let a;let r=[],l=[],u=this._pageDiffs[i];for(;null!==(a=t.exec(h));){if(e&&!n(this,C)[C](h,a.index,a[0].length))continue;let[t,i]=function(t,e,i){if(!t)return[e,i];let h=e+i,a=(0,s.$7)(t,t=>t[0]>=e);t[a][0]>e&&--a;let n=(0,s.$7)(t,t=>t[0]>=h,a);return t[n][0]>h&&--n,[e+t[a][1],i+t[n][1]-t[a][1]]}(u,a.index,a[0].length);i&&(r.push(t),l.push(i))}this._pageMatches[i]=r,this._pageMatchesLength[i]=l}function J(t,e){let{matchDiacritics:i}=this._state,s=!1;t=t.replace(p,(t,h,a,n,r,l)=>h?`[ ]*\\${h}[ ]*`:a?`[ ]*${a}[ ]*`:n?"[ ]+":i?r||l:r?o.has(r.charCodeAt(0))?r:"":e?(s=!0,`${l}\\p{M}*`):l);let h="[ ]*";return t.endsWith(h)&&(t=t.slice(0,t.length-h.length)),i&&e&&(s=!0,t=`${t}(?=[${d}]|[^\\p{M}]|$)`),[s,t]}function K(t){let e=n(this,D)[D];if(0===e.length)return;let{caseSensitive:i,entireWord:s,phraseSearch:h}=this._state,a=this._pageContents[t],r=this._hasDiacritics[t],l=!1;if(h)[l,e]=n(this,O)[O](e,r);else{let t=e.match(/\S+/g);t&&(e=t.sort().reverse().map(t=>{let[e,i]=n(this,O)[O](t,r);return l||(l=e),`(${i})`}).join("|"))}e=RegExp(e,`g${l?"u":""}${i?"":"i"}`),n(this,T)[T](e,s,t,a),this._state.highlightAll&&n(this,A)[A](t),this._resumePageIdx===t&&(this._resumePageIdx=null,n(this,k)[k]());let u=this._pageMatches[t].length;u>0&&(this._matchesCountTotal+=u,n(this,q)[q]())}function X(){if(this._extractTextPromises.length>0)return;let t=Promise.resolve();for(let e=0,i=this._linkService.pagesCount;e<i;e++){let i=(0,h.UB)();this._extractTextPromises[e]=i.promise,t=t.then(()=>this._pdfDocument.getPage(e+1).then(t=>t.getTextContent()).then(t=>{let s=[];for(let e of t.items)s.push(e.str),e.hasEOL&&s.push("\n");[this._pageContents[e],this._pageDiffs[e],this._hasDiacritics[e]]=M(s.join("")),i.resolve()},t=>{console.error(`Unable to get text content for page ${e+1}`,t),this._pageContents[e]="",this._pageDiffs[e]=null,this._hasDiacritics[e]=!1,i.resolve()}))}}function Y(t){this._scrollMatches&&this._selected.pageIdx===t&&(this._linkService.page=t+1),this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:t})}function Z(){this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:-1})}function tt(){let t=this._state.findPrevious,e=this._linkService.page-1,i=this._linkService.pagesCount;if(this._highlightMatches=!0,this._dirtyMatch){this._dirtyMatch=!1,this._selected.pageIdx=this._selected.matchIdx=-1,this._offset.pageIdx=e,this._offset.matchIdx=null,this._offset.wrapped=!1,this._resumePageIdx=null,this._pageMatches.length=0,this._pageMatchesLength.length=0,this._matchesCountTotal=0,n(this,S)[S]();for(let t=0;t<i;t++)this._pendingFindMatches.has(t)||(this._pendingFindMatches.add(t),this._extractTextPromises[t].then(()=>{this._pendingFindMatches.delete(t),n(this,j)[j](t)}))}if(""===n(this,D)[D]){n(this,B)[B](u.FOUND);return}if(this._resumePageIdx)return;let s=this._offset;if(this._pagesToSearch=i,null!==s.matchIdx){let e=this._pageMatches[s.pageIdx].length;if(!t&&s.matchIdx+1<e||t&&s.matchIdx>0){s.matchIdx=t?s.matchIdx-1:s.matchIdx+1,n(this,E)[E](!0);return}n(this,N)[N](t)}n(this,k)[k]()}function te(t){let e=this._offset,i=t.length,s=this._state.findPrevious;return i?(e.matchIdx=s?i-1:0,n(this,E)[E](!0),!0):(n(this,N)[N](s),!!e.wrapped&&(e.matchI
21dx=null,this._pagesToSearch<0)&&(n(this,E)[E](!1),!0))}function ti(){null!==this._resumePageIdx&&console.error("There can only be one pending page.");let t=null;do{let e=this._offset.pageIdx;if(!(t=this._pageMatches[e])){this._resumePageIdx=e;break}}while(!n(this,$)[$](t))}function ts(t){let e=this._offset,i=this._linkService.pagesCount;e.pageIdx=t?e.pageIdx-1:e.pageIdx+1,e.matchIdx=null,this._pagesToSearch--,(e.pageIdx>=i||e.pageIdx<0)&&(e.pageIdx=t?i-1:0,e.wrapped=!0)}function th(t=!1){let e=u.NOT_FOUND,i=this._offset.wrapped;if(this._offset.wrapped=!1,t){let t=this._selected.pageIdx;this._selected.pageIdx=this._offset.pageIdx,this._selected.matchIdx=this._offset.matchIdx,e=i?u.WRAPPED:u.FOUND,-1!==t&&t!==this._selected.pageIdx&&n(this,A)[A](t)}n(this,B)[B](e,this._state.findPrevious),-1!==this._selected.pageIdx&&(this._scrollMatches=!0,n(this,A)[A](this._selected.pageIdx))}function ta(t){let e=this._pdfDocument;this._firstPageCapability.promise.then(()=>{this._pdfDocument&&(!e||this._pdfDocument===e)&&(this._findTimeout&&(clearTimeout(this._findTimeout),this._findTimeout=null),this._resumePageIdx&&(this._resumePageIdx=null,this._dirtyMatch=!0),n(this,B)[B](u.FOUND),this._highlightMatches=!1,n(this,S)[S]())})}function tn(){let{pageIdx:t,matchIdx:e}=this._selected,i=0,s=this._matchesCountTotal;if(-1!==e){for(let e=0;e<t;e++)i+=this._pageMatches[e]?.length||0;i+=e+1}return(i<1||i>s)&&(i=s=0),{current:i,total:s}}function tr(){this._eventBus.dispatch("updatefindmatchescount",{source:this,matchesCount:n(this,R)[R]()})}function tl(t,e=!1){this._eventBus.dispatch("updatefindcontrolstate",{source:this,state:t,previous:e,matchesCount:n(this,R)[R](),rawQuery:this._state?.query??null})}i.d(e,{y:()=>L})}}]);
22//# sourceMappingURL=6528ab1c02a27fe4dc52.js.map?3.19.9.5ce6b1f8b.1788641030714

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.