PageSourceSearch

https://move-interreg.eu/Bundled/new/index-BipRsxrp-chunk.js

js move-interreg.eu collected 2026-10-08 03:13:22 UTC 37,000 bytes, 7 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["index-BQKLbVel-chunk.js","_commonjsHelpers-HLVOKCDG-chunk.js"])))=>i.map(i=>d[i]);
2var t=Object.defineProperty,e=(e,n,i)=>((e,n,i)=>n in e?t(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i)(e,"symbol"!=typeof n?n+"":n,i);import{_ as n}from"./internet-DWDKwcGU.js";const r=t=>{$(".cfk-search-showall").click(function(t){t.preventDefault();var e=$(this);return e.parent().find(".hidden").removeClass("hidden"),e.hide(),!1});var e=new t({name:"cfk",datumTokenizer:function(e){return t.tokenizers.whitespace(e.value)},queryTokenizer:t.tokenizers.whitespace,remote:"/api/cfkpage/autocomplete?term=%QUERY"});e.initialize();var n=$("#Query");n.typeahead&&n.typeahead({minLength:1,highlight:!0,hint:!0},{name:"cfk",source:e.ttAdapter(),displayKey:"value"}),$("#userTab li").first().addClass("active"),$("#userTabContent .tab-pane").first().addClass("active"),$("#userTab a").click(function(t){t.preventDefault(),$("#userTab li").removeClass("active"),$(".tab-content .tab-pane").removeClass("active"),$(this).tab("show")});var r=function(t){if(""==t)return{};for(var e={},n=0;n<t.length;++n){var i=t[n].split("=",2);1==i.length?e[i[0]]="":e[i[0]]=decodeURIComponent(i[1].replace(/\+/g," "))}return e}(window.location.search.substr(1).split("&")),s=$(".read-more");if(s.length>0){var o=s[0].scrollHeight,a=".read-more__buttons .btn-read-more",u=".read-more__buttons .btn-read-less",c=!1;$(a+", "+u).on("click",function(t){t.preventDefault(),!1===c?(s.css("max-height",o),s.addClass("expanded"),$(a).hide(),$(u).show(),c=!0):(s.css("max-height",""),s.removeClass("expanded"),$(u).hide(),$(a).show(),c=!1)})}var l=$("#SelectedStartYear"),h=$("#SelectedEndYear");l.on("change",function(){var t=parseInt(this.value);t>parseInt(h.find(":selected").val())&&h.val(t)}),h.on("change",function(){var t=parseInt(this.value);parseInt(l.find(":selected").val())>t&&l.val(t)});var d=function(t,e,n,i){var r=0;Array.prototype.slice.call(t[0].children).map(function(t){var n=new RegExp(e.toLowerCase().trim());"row-header"!==t.className&&(n.test(t.getAttribute("data-name").toLowerCase())||n.test(t.getAttribute("data-allAuthors").toLowerCase())?($(t).removeClass("hidden"),r++):$(t).addClass("hidden"))}),n.text(r),r<=1?i.hide():i.show()},p=function(t,e,n,i){var r=0;Array.prototype.slice.call(t[0].children).map(function(t){var n=new RegExp(e.toLowerCase().trim());"row-header"!==t.className&&(n.test(t.getAttribute("data-name").toLowerCase())||n.test(t.getAttribute("data-allAuthors").toLowerCase())?($(t).removeClass("hidden"),r++):$(t).addClass("hidden"))}),n.text(r),r<=1?i.hide():i.show()},f=function(t,e,n,i){var r=0;Array.prototype.slice.call(t[0].children).map(function(t){var n=new RegExp(e.toLowerCase().trim());"row-header"!==t.className&&(n.test(t.getAttribute("data-name").toLowerCase())?($(t).removeClass("hidden"),r++):$(t).addClass("hidden"))}),n.text(r),r<=1?i.hide():i.show()};if($(".cfk-search-users3").length>0){var g=$(".cfk-search-users3 .cfk-search-input"),m=$(".cfk-search-users3 .table tbody"),v=$(".cfk-search-result-amount .amount"),y=$(".cfk-search-result-amount .plural");setTimeout(function(){d(m,g.val(),v,y)},0),g.on("input",function(t){d(m,t.target.value,v,y)})}if($(".cfk-search-users1").length>0){g=$(".cfk-search-users1 .cfk-search-input"),m=$(".cfk-search-users1 .table tbody"),v=$(".cfk-search-result-amount .amount"),y=$(".cfk-search-result-amount .plural");setTimeout(function(){p(m,g.val(),v,y)},0),g.on("input",function(t){p(m,t.target.value,v,y)})}if($(".cfk-search-users2").length>0){g=$(".cfk-search-users2 .cfk-search-input"),m=$(".cfk-search-users2 .table tbody"),v=$(".cfk-search-result-amount .amount"),y=$(".cfk-search-result-amount .plural");setTimeout(function(){f(m,g.val(),v,y)},0),g.on("input",function(t){f(m,t.target.value,v,y)})}if($(".cfk-search-publications, .cfk-search-projects").length>0){var w,b=$(".cfk-search-filters"),k=document.getElementById("SelectedYear"),x=document.getElementById("SelectedPublisher"),C=document.getElementById("SelectedContact"),A=document.getElementById("SelectedStatus"),S=(m=$(".cfk-search-publications .table tbody, .cfk-search-projects .table tbody"),function(){w={},k&&NaN!==parseInt(k.value,10)&&"Vælg"!==k.value&&(w.year=k.value),x&&x.value.length>0&&"Vælg"!==x.value&&(w.publisher=x.value),C&&C.value.length>0&&"Vælg"!==C.value&&(w.name=C.value),A&&A.value.length>0&&"Vælg"!==A.value&&(w.status=A.value);var t=Object.values(w).filter(function(t){return void 0!==t}),e=t.length;Array.prototype.slice.call(m[0].children).map(function(n){var i=0,r=n.getAttribute("data-year"),s=n.getAttribute("data-publisher"),o=n.getAttribute("data-allAuthors"),a=n.getAttribute("data-status");if("row-header"!==n.className){for(var u=0;u<e;u++)parseInt(r,10)===parseInt(t[u],10)&&i++,s===t[u]&&i++,o.includes(t[u])&&i++,a===t[u]&&i++;n.style.display=i===e?"table-row":"none"}})});setTimeout(function(){S()},0),b.on("change",function(t){S()})}if($(".selfservicelist").length>0){var T=window.selfservicelist.data,I=$(".selfservicelist__form"),D=$(".selfservicelist__search-box"),L=$(".selfservicelist__c
2ategory"),E=$(".selfservicelist__group"),z=$(".selfservicelist__search-results"),R=$(".search-amount"),K=$(".search-max"),q=$(".selfservicelist__search-amount"),N=$(".selfservicelist .filter-view"),V=$(".selfservicelist__pagination"),j=T.blockId,H=!0;E.on("change",function(){U()}),L.on("change",function(){U()}),N.on("click",function(t){t.preventDefault();var e=t.target;$(e).hasClass("grid")?(H=!1,U()):$(e).hasClass("list")&&(H=!0,U())});var F=function(t){return t?t.map(function(t){var e,n="";return(t.LinkTextGuide||t.linkTextGuide)&&(t.LinkUrlGuide||t.linkUrlGuide)&&(e=t.LinkTextGuide||t.linkTextGuide,n='<a href="'+(t.LinkUrlGuide||t.linkUrlGuide)+'" class="selfservicelist__search-result-linkbox--wrapper"><div class="selfservicelist__search-result-linkbox">                        <p>'+e+"</p></div></a>"),function(t,e,n,i,r){return r||(r=""),'<div class="selfservicelist__search-result-wrapper"><a href="'+i+'" class="selfservicelist__search-result-link-container"><div class="selfservicelist__search-result">                        <div>                            <p><strong>'+t+"</strong></p>                            <p>"+e+'</p>                        </div>                        <div class="categories">'+n.map(function(t){return'<div class="category">                                        <div class="category__image-wrapper">                                            <img src="'+(t.iconUrl||t.IconUrl)+'">                                        </div>                                        <p>'+(t.text||t.Text)+"</p>                                    </div>"}).join("")+"</div>                    </div></a>"+r+"</div>"}(t.Title||t.title,t.Teaser||t.teaser,t.Properties||t.properties,t.LinkUrl||t.linkUrl,n)}).join(""):""},B=function(t,e){t&&(R[0].innerText=t),e&&(K[0].innerText=e)},O=function(t,e){V.html(function(t,e){if(1===e)return"";var n=[];for(i=1;i<=e;i++)n.push(i);return n.map(function(e){return function(t,e){return'<div class="selfservicelist__pagination-item '+(t===e?"selfservicelist__pagination-item--selected":"")+'" data-page-number="'+t+'">'+t+"</div>"}(e,t)}).join("")}(t,e))},U=function(t){var e=[],n=t||1;D.val().length>0&&e.push("&query="+D.val()),e.push("&category="+L.val()),e.push("&group="+E.val()),$.get("/api/SelfServiceLinkListApi/Search?blockId="+j+"&returnAsList="+H+"&page="+n+e.join(""),function(t){var e;q[0].style.opacity=1,B(n,t.PageCount),H?z.html(F(t.List)):z.html((e=t)?e.map(function(t){return e=t.Category||t.category,n=t.Teaser||t.teaser,'<div class="selfservicelist__grid-result">                        <div>                            <p><strong>'+e+"("+(t.Count||t.count)+")</strong></p>                            <p>"+n+'</p>                        </div>                        <div class="links">'+(t.Links||t.links).map(function(t){return'<a href="'+(t.linkUrl||t.LinkUrl)+'">'+(t.title||t.Title)+"</a>"}).join("")+"</div>                    </div>";var e,n}).join(""):""),O(n,t.PageCount)})};!function(){z.html(F(T.initialList));var t=r.query||null;B(1,T.pageCount),O(1,T.pageCount),q[0].style.opacity=1,t&&D.val(t)}(),I.on("submit",function(t){t.preventDefault(),U()}),D.on("input",_.debounce(function(t){t.preventDefault(),U()},250)),V.on("click",function(t){if($(t.target).hasClass("selfservicelist__pagination-item")&&!$(t.target).hasClass("selfservicelist__pagination-item--selected")){var e=parseInt(t.target.dataset.pageNumber,10);U(e)}})}},s=t=>{var e={isMsie:function(){return!!/(msie|trident)/i.test(navigator.userAgent)&&navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]},isBlankString:function(t){return!t||/^\s*$/.test(t)},escapeRegExChars:function(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isArray:t.isArray,isFunction:t.isFunction,isObject:t.isPlainObject,isUndefined:function(t){return void 0===t},bind:t.proxy,each:function(e,n){t.each(e,function(t,e){return n(e,t)})},map:t.map,filter:t.grep,every:function(e,n){var i=!0;return e?(t.each(e,function(t,r){if(!(i=n.call(null,r,t,e)))return!1}),!!i):i},some:function(e,n){var i=!1;return e?(t.each(e,function(t,r){if(i=n.call(null,r,t,e))return!1}),!!i):i},mixin:t.extend,getUniqueId:function(){var t=0;return function(){return t++}}(),templatify:function(e){return t.isFunction(e)?e:function(){return String(e)}},defer:function(t){setTimeout(t,0)},debounce:function(t,e,n){var i,r;return function(){var s,o,a=this,u=arguments;return s=function(){i=null,n||(r=t.apply(a,u))},o=n&&!i,clearTimeout(i),i=setTimeout(s,e),o&&(r=t.apply(a,u)),r}},throttle:function(t,e){var n,i,r,s,o,a;return o=0,a=function(){o=new Date,r=null,s=t.apply(n,i)},function(){var u=new Date,c=e-(u-o);return n=this,i=arguments,c<=0?(clearTimeout(r),r=null,o=u,s=t.apply(n,i)):r||(r=setTimeout(a,c)),s}},noop:function(){}},n=function(){return{nonword:e,whitespace:t,obj:{nonword:n(e),whitespace:n(t)}};function t(t){return t.split(/\s+/)}function e(t){return t.split(/\W+/)}function n(t){return function(e){return function(n){return t(n[e])}}}}(),i=function(){function t(t){this.maxSize=t||100,this.size=0,this.hash={},this.list=new n}function n(){this.head=this.tail=null}function i(t,e){this.key=t,this.val=e,this.prev=this.next=null}return e.mixin(t.prototype,{set:function(t,e){var n,r=this.list.tail;this.size>=this.maxSize&&(this.list.remove(r),delete this.hash[r.key]),(n=this.hash[t])?(n.val=e,this.list.moveToFront(n)):(n=new i(t,e),this.list.add(n),this.hash[t]=n,this.size++)},get:function(t){var e=this.hash[t];if(e)return this.list.moveToFront(e),e.val}}),e.mixin(n.prototype,{add:function(t){this.head&&(t.next=this.head,this.head.prev=t),this.head=t,this.tail=this.tail||t},remove:function(t){t.prev?t.prev.next=t.next:this.head=t.next,t.next?t.next.prev=t.prev:this.tail=t.prev},moveToFront:function(t){this.remove(t),this.add(t)}}),t}(),r=function(){var t,n;try{(t=window.localStorage).setItem("~~~","!"),t.removeItem("~~~")}catch(a){t=null}function i(t){this.prefix=["__",t,"__"].join(""),this.ttlKey="__ttl__",this.keyMatcher=new RegExp("^"+this.prefix)}return n=t&&window.JSON?{_prefix:function(t){return this.prefix+t},_ttlKey:function(t){return this._prefix(t)+this.ttlKey},get:function(e){return this.isExpired(e)&&this.remove(e),o(t.getItem(this._prefix(e)))},set:function(n,i,o){return e.isNumber(o)?t.setItem(this._ttlKey(n),s(r()+o)
2):t.removeItem(this._ttlKey(n)),t.setItem(this._prefix(n),s(i))},remove:function(e){return t.removeItem(this._ttlKey(e)),t.removeItem(this._prefix(e)),this},clear:function(){var e,n,i=[],r=t.length;for(e=0;e<r;e++)(n=t.key(e)).match(this.keyMatcher)&&i.push(n.replace(this.keyMatcher,""));for(e=i.length;e--;)this.remove(i[e]);return this},isExpired:function(n){var i=o(t.getItem(this._ttlKey(n)));return!!(e.isNumber(i)&&r()>i)}}:{get:e.noop,set:e.noop,remove:e.noop,clear:e.noop,isExpired:e.noop},e.mixin(i.prototype,n),i;function r(){return(new Date).getTime()}function s(t){return JSON.stringify(e.isUndefined(t)?null:t)}function o(t){return JSON.parse(t)}}(),s=function(){var n=0,r={},s=6,o=new i(10);function a(n){var i;n=n||{},this._send=n.transport?(i=n.transport,function(n,r){var s=t.Deferred();return i(n,r,o,a),s;function o(t){e.defer(function(){s.resolve(t)})}function a(t){e.defer(function(){s.reject(t)})}}):t.ajax,this._get=n.rateLimiter?n.rateLimiter(this._get):this._get}return a.setMaxPendingRequests=function(t){s=t},a.resetCache=function(){o=new i(10)},e.mixin(a.prototype,{_get:function(t,e,i){var a,u=this;function c(e){i&&i(null,e),o.set(t,e)}function l(){i&&i(!0)}(a=r[t])?a.done(c).fail(l):n<s?(n++,r[t]=this._send(t,e).done(c).fail(l).always(function(){n--,delete r[t],u.onDeckRequestArgs&&(u._get.apply(u,u.onDeckRequestArgs),u.onDeckRequestArgs=null)})):this.onDeckRequestArgs=[].slice.call(arguments,0)},get:function(t,n,i){var r;return e.isFunction(n)&&(i=n,n={}),(r=o.get(t))?e.defer(function(){i&&i(null,r)}):this._get(t,n,i),!!r}}),a}(),o=function(){function n(e){(e=e||{}).datumTokenizer&&e.queryTokenizer||t.error("datumTokenizer and queryTokenizer are both required"),this.datumTokenizer=e.datumTokenizer,this.queryTokenizer=e.queryTokenizer,this.reset()}return e.mixin(n.prototype,{bootstrap:function(t){this.datums=t.datums,this.trie=t.trie},add:function(t){var n=this;t=e.isArray(t)?t:[t],e.each(t,function(t){var s,o;s=n.datums.push(t)-1,o=i(n.datumTokenizer(t)),e.each(o,function(t){var e,i,o;for(e=n.trie,i=t.split("");o=i.shift();)(e=e.children[o]||(e.children[o]=r())).ids.push(s)})})},get:function(t){var n,r,s=this;return n=i(this.queryTokenizer(t)),e.each(n,function(t){var e,n,i,o;if(r&&0===r.length)return!1;for(e=s.trie,n=t.split("");e&&(i=n.shift());)e=e.children[i];if(!e||0!==n.length)return r=[],!1;o=e.ids.slice(0),r=r?function(t,e){var n=0,i=0,r=[];t=t.sort(s),e=e.sort(s);for(;n<t.length&&i<e.length;)t[n]<e[i]?n++:(t[n]>e[i]||(r.push(t[n]),n++),i++);return r;function s(t,e){return t-e}}(r,o):o}),r?e.map(function(t){for(var e={},n=[],i=0;i<t.length;i++)e[t[i]]||(e[t[i]]=!0,n.push(t[i]));return n}(r),function(t){return s.datums[t]}):[]},reset:function(){this.datums=[],this.trie={ids:[],children:{}}},serialize:function(){return{datums:this.datums,trie:this.trie}}}),n;function i(t){return t=e.filter(t,function(t){return!!t}),t=e.map(t,function(t){return t.toLowerCase()})}function r(){return{ids:[],children:{}}}}(),a=function(){return{local:function(t){return t.local||null},prefetch:function(n){var i,r;r={url:null,thumbprint:"",ttl:864e5,filter:null,ajax:{}},(i=n.prefetch||null)&&(i=e.isString(i)?{url:i}:i,(i=e.mixin(r,i)).thumbprint="0.10.2"+i.thumbprint,i.ajax.type=i.ajax.type||"GET",i.ajax.dataType=i.ajax.dataType||"json",!i.url&&t.error("prefetch requires url to be set"));return i},remote:function(n){var i,r;r={url:null,wildcard:"%QUERY",replace:null,rateLimitBy:"debounce",rateLimitWait:300,send:null,filter:null,ajax:{}},(i=n.remote||null)&&(i=e.isString(i)?{url:i}:i,(i=e.mixin(r,i)).rateLimiter=/^throttle$/i.test(i.rateLimitBy)?(s=i.rateLimitWait,function(t){return e.throttle(t,s)}):function(t){return function(n){return e.debounce(n,t)}}(i.rateLimitWait),i.ajax.type=i.ajax.type||"GET",i.ajax.dataType=i.ajax.dataType||"json",delete i.rateLimitBy,delete i.rateLimitWait,!i.url&&t.error("remote requires url to be set"));var s;return i}}}();!function(){var i;function u(n){n&&(n.local||n.prefetch||n.remote)||t.error("one of local, prefetch, or remote is required"),this.limit=n.limit||5,this.sorter=function(t){return e.isFunction(t)?n:i;function n(e){return e.sort(t)}function i(t){return t}}(n.sorter),this.dupDetector=n.dupDetector||c,this.local=a.local(n),this.prefetch=a.prefetch(n),this.remote=a.remote(n),this.cacheKey=this.prefetch?this.prefetch.cacheKey||this.prefetch.url:null,this.index=new o({datumTokenizer:n.datumTokenizer,queryTokenizer:n.queryTokenizer}),this.storage=this.cacheKey?new r(this.cacheKey):null}return i={data:"data",protocol:"protocol",thumbprint:"thumbprint"},u.noConflict=function(){return u},u.tokenizers=n,e.mixin(u.prototype,{_loadPrefetch:function(e){var n,i,r=this;return(n=this._readFromStorage(e.thumbprint))?(this.index.bootstrap(n),i=t.Deferred().resolve()):i=t.ajax(e.url,e.ajax).done(function(t){r.clear(),r.add(e.filter?e.filter(t):t),r._saveToStorage(r.index.serialize(),e.thumbprint,e.ttl)}),i},_getFromRemote:function(t,e){var n,i,r=this;return t=t||"",i=encodeURIComponent(t),n=this.remote.replace?this.remote.replace(this.remote.url,t):this.remote.url.replace(this.remote.wildcard,i),this.transport.get(n,this.remote.ajax,function(t,n){e(t?[]:r.remote.filter?r.remote.filter(n):n)})},_saveToStorage:function(t,e,n){this.storage&&(this.storage.set(i.data,t,n),this.storage.set(i.protocol,location.protocol,n),this.storage.set(i.thumbprint,e,n))},_readFromStorage:function(t){var e,n={};return this.storage&&(n.data=this.storage.get(i.data),n.protocol=this.storage.get(i.protocol),n.thumbprint=this.storage.get(i.thumbprint)),e=n.thumbprint!==t||n.protocol!==location.protocol,n.data&&!e?n.data:null},_initialize:function(){var n,i=this,r=this.local;return n=this.prefetch?this._loadPrefetch(this.prefetch):t.Deferred().resolve(),r&&n.done(function(){i.add(e.isFunction(r)?r():r)}),this.transport=this.remote?new s(this.remote):null,this.initPromise=n.promise()},initialize:function(t){return!this.initPromise||t?this._initialize():this.initPromise},add:function(t){this.index.add(t)},get:function(t,n){var i=this,r=[],s=!1;r=this.index.get(t),(r=this.sorter(r).slice(0,this.limit)).length<this.limit&&this.transport&&(s=this._getFromRemote(t,function(t){var s=r.slice(0);
2e.each(t,function(t){return!e.some(s,function(e){return i.dupDetector(t,e)})&&s.push(t),s.length<i.limit}),n&&n(i.sorter(s))})),s||(r.length>0||!this.transport)&&n&&n(r)},clear:function(){this.index.reset()},clearPrefetchCache:function(){this.storage&&this.storage.clear()},clearRemoteCache:function(){this.transport&&s.resetCache()},ttAdapter:function(){return e.bind(this.get,this)}}),u;function c(){return!1}}();var u={wrapper:'<span class="twitter-typeahead"></span>',dropdown:'<span class="tt-dropdown-menu"></span>',dataset:'<div class="tt-dataset-%CLASS%"></div>',suggestions:'<span class="tt-suggestions"></span>',suggestion:'<div class="tt-suggestion"></div>'},c={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},dropdown:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},suggestions:{display:"block"},suggestionChild:{whiteSpace:"normal"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:" 0"}};e.isMsie()&&e.mixin(c.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),e.isMsie()&&e.isMsie()<=7&&e.mixin(c.input,{marginTop:"-1px"});var l,h,d,p=function(){function n(e){e&&e.el||t.error("EventBus initialized without el"),this.$el=t(e.el)}return e.mixin(n.prototype,{trigger:function(t){var e=[].slice.call(arguments,1);this.$el.trigger("typeahead:"+t,e)}}),n}(),f=function(){var t=/\s+/,e=function(){var t;t=window.setImmediate?function(t){setImmediate(function(){t()})}:function(t){setTimeout(function(){t()},0)};return t}();return{onSync:function(t,e,i){return n.call(this,"sync",t,e,i)},onAsync:function(t,e,i){return n.call(this,"async",t,e,i)},off:function(e){var n;if(!this._callbacks)return this;e=e.split(t);for(;n=e.shift();)delete this._callbacks[n];return this},trigger:function(n){var r,s,o,a,u;if(!this._callbacks)return this;n=n.split(t),o=[].slice.call(arguments,1);for(;(r=n.shift())&&(s=this._callbacks[r]);)a=i(s.sync,this,[r].concat(o)),u=i(s.async,this,[r].concat(o)),a()&&e(u);return this}};function n(e,n,i,r){var s;if(!i)return this;for(n=n.split(t),i=r?function(t,e){return t.bind?t.bind(e):function(){t.apply(e,[].slice.call(arguments,0))}}(i,r):i,this._callbacks=this._callbacks||{};s=n.shift();)this._callbacks[s]=this._callbacks[s]||{sync:[],async:[]},this._callbacks[s][e].push(i);return this}function i(t,e,n){return function(){for(var i,r=0;!i&&r<t.length;r+=1)i=!1===t[r].apply(e,n);return!i}}}(),g=function(t){var n={node:null,pattern:null,tagName:"strong",className:null,wordsOnly:!1,caseSensitive:!1};return function(i){var r;(i=e.mixin({},n,i)).node&&i.pattern&&(i.pattern=e.isArray(i.pattern)?i.pattern:[i.pattern],r=function(t,n,i){for(var r,s=[],o=0;o<t.length;o++)s.push(e.escapeRegExChars(t[o]));return r=i?"\\b("+s.join("|")+")\\b":"("+s.join("|")+")",n?new RegExp(r):new RegExp(r,"i")}(i.pattern,i.caseSensitive,i.wordsOnly),function t(e,n){for(var i,r=0;r<e.childNodes.length;r++)3===(i=e.childNodes[r]).nodeType?r+=n(i)?1:0:t(i,n)}(i.node,function(e){var n,s;(n=r.exec(e.data))&&(wrapperNode=t.createElement(i.tagName),i.className&&(wrapperNode.className=i.className),(s=e.splitText(n.index)).splitText(n[0].length),wrapperNode.appendChild(s.cloneNode(!0)),e.parentNode.replaceChild(wrapperNode,s));return!!n}))}}(window.document),m=function(){var n;function i(i){var r,s,o,a,u,c=this;(i=i||{}).input||t.error("input is missing"),r=e.bind(this._onBlur,this),s=e.bind(this._onFocus,this),o=e.bind(this._onKeydown,this),a=e.bind(this._onInput,this),this.$hint=t(i.hint),this.$input=t(i.input).on("blur.tt",r).on("focus.tt",s).on("keydown.tt",o),0===this.$hint.length&&(this.setHint=this.getHint=this.clearHint=this.clearHintIfInvalid=e.noop),e.isMsie()?this.$input.on("keydown.tt keypress.tt cut.tt paste.tt",function(t){n[t.which||t.keyCode]||e.defer(e.bind(c._onInput,c,t))}):this.$input.on("input.tt",a),this.query=this.$input.val(),this.$overflowHelper=(u=this.$input,t('<pre aria-hidden="true"></pre>
2').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:u.css("font-family"),fontSize:u.css("font-size"),fontStyle:u.css("font-style"),fontVariant:u.css("font-variant"),fontWeight:u.css("font-weight"),wordSpacing:u.css("word-spacing"),letterSpacing:u.css("letter-spacing"),textIndent:u.css("text-indent"),textRendering:u.css("text-rendering"),textTransform:u.css("text-transform")}).insertAfter(u))}return n={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"},i.normalizeQuery=function(t){return(t||"").replace(/^\s*/g,"").replace(/\s{2,}/g," ")},e.mixin(i.prototype,f,{_onBlur:function(){this.resetInputValue(),this.trigger("blurred")},_onFocus:function(){this.trigger("focused")},_onKeydown:function(t){var e=n[t.which||t.keyCode];this._managePreventDefault(e,t),e&&this._shouldTrigger(e,t)&&this.trigger(e+"Keyed",t)},_onInput:function(){this._checkInputValue()},_managePreventDefault:function(t,e){var n,i,s;switch(t){case"tab":i=this.getHint(),s=this.getInputValue(),n=i&&i!==s&&!r(e);break;case"up":case"down":n=!r(e);break;default:n=!1}n&&e.preventDefault()},_shouldTrigger:function(t,e){var n;if("tab"===t)n=!r(e);else n=!0;return n},_checkInputValue:function(){var t,e,n,r,s;t=this.getInputValue(),r=t,s=this.query,n=!!(e=i.normalizeQuery(r)===i.normalizeQuery(s))&&this.query.length!==t.length,e?n&&this.trigger("whitespaceChanged",this.query):this.trigger("queryChanged",this.query=t)},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getQuery:function(){return this.query},setQuery:function(t){this.query=t},getInputValue:function(){return this.$input.val()},setInputValue:function(t,e){this.$input.val(t),e?this.clearHint():this._checkInputValue()},resetInputValue:function(){this.setInputValue(this.query,!0)},getHint:function(){return this.$hint.val()},setHint:function(t){this.$hint.val(t)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var t,e,n;n=(t=this.getInputValue())!==(e=this.getHint())&&0===e.indexOf(t),!(""!==t&&n&&!this.hasOverflow())&&this.clearHint()},getLanguageDirection:function(){return(this.$input.css("direction")||"ltr").toLowerCase()},hasOverflow:function(){var t=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=t},isCursorAtEnd:function(){var t,n,i;return t=this.$input.val().length,n=this.$input[0].selectionStart,e.isNumber(n)?n===t:!document.selection||((i=document.selection.createRange()).moveStart("character",-t),t===i.text.length)},destroy:function(){this.$hint.off(".tt"),this.$input.off(".tt"),this.$hint=this.$input=this.$overflowHelper=null}}),i;function r(t){return t.altKey||t.ctrlKey||t.metaKey||t.shiftKey}}(),v=function(){var n="ttDataset",i="ttValue",r="ttDatum";function s(n){var i;(n=n||{}).templates=n.templates||{},n.source||t.error("missing source"),n.name&&(i=n.name,!/^[_a-zA-Z0-9-]+$/.test(i))&&t.error("invalid dataset name: "+n.name),this.query=null,this.highlight=!!n.highlight,this.name=n.name||e.getUniqueId(),this.source=n.source,this.displayFn=function(t){return t=t||"value",e.isFunction(t)?t:n;function n(e){return e[t]}}(n.display||n.displayKey),this.templates=function(t,n){return{empty:t.empty&&e.templatify(t.empty),header:t.header&&e.templatify(t.header),footer:t.footer&&e.templatify(t.footer),suggestion:t.suggestion||i};function i(t){return"<p>"+n(t)+"</p>"}}(n.templates,this.displayFn),this.$el=t(u.dataset.replace("%CLASS%",this.name))}return s.extractDatasetName=function(e){return t(e).data(n)},s.extractValue=function(e){return t(e).data(i)},s.extractDatum=function(e){return t(e).data(r)},e.mixin(s.prototype,f,{_render:function(s,o){if(this.$el){var a,l=this;this.$el.empty(),!(a=o&&o.length)&&this.templates.empty?this.$el.html(l.templates.empty({query:s,isEmpty:!0})).prepend(l.templates.header?h():null).append(l.templates.footer?d():null):a&&this.$el.html(function(){var a,h;return a=t(u.suggestions).css(c.suggestions),h=e.map(o,d),a.append.apply(a,h),l.highlight&&g({node:a[0],pattern:s}),a;function d(e){var s;return(s=t(u.suggestion).append(l.templates.suggestion(e)).data(n,l.name).data(i,l.displayFn(e)).data(r,e)).children().each(function(){t(this).css(c.suggestionChild)}),s}}()).prepend(l.templates.header?h():null).append(l.templates.footer?d():null),this.trigger("rendered")}function h(){return l.templates.header({query:s,isEmpty:!a})}function d(){return l.templates.footer({query:s,isEmpty:!a})}},getRoot:function(){return this.$el},update:function(t){var e=this;this.query=t,this.canceled=!1,this.source(t,function(n){e.canceled||t!==e.query||e._render(t,n)})},cancel:function(){this.canceled=!0},clear:function(){this.cancel(),this.$el.empty(),this.trigger("rendered")},isEmpty:function(){return this.$el.is(":empty")},destroy:function(){this.$el=null}}),s}(),y=function(){function n(n){var r,s,o,a=this;(n=n||{}).menu||t.error("menu is required"),this.isOpen=!1,this.isEmpty=!0,this.datasets=e.map(n.datasets,i),r=e.bind(this._onSuggestionClick,this),s=e.bind(this._onSuggestionMouseEnter,this),o=e.bind(this._onSuggestionMouseLeave,this),this.$menu=t(n.menu).on("click.tt",".tt-suggestion",r).on("mouseenter.tt",".tt-suggestion",s).on("mouseleave.tt",".tt-suggestion",o),e.each(this.datasets,function(t){a.$menu.append(t.getRoot()),t.onSync("rendered",a._onRendered,a)})}return e.mixin(n.prototype,f,{_onSuggestionClick:function(e){this.trigger("suggestionClicked",t(e.currentTarget))}
2,_onSuggestionMouseEnter:function(e){this._removeCursor(),this._setCursor(t(e.currentTarget),!0)},_onSuggestionMouseLeave:function(){this._removeCursor()},_onRendered:function(){this.isEmpty=e.every(this.datasets,function(t){return t.isEmpty()}),this.isEmpty?this._hide():this.isOpen&&this._show(),this.trigger("datasetRendered")},_hide:function(){this.$menu.hide()},_show:function(){this.$menu.css("display","block")},_getSuggestions:function(){return this.$menu.find(".tt-suggestion")},_getCursor:function(){return this.$menu.find(".tt-cursor").first()},_setCursor:function(t,e){t.first().addClass("tt-cursor"),!e&&this.trigger("cursorMoved")},_removeCursor:function(){this._getCursor().removeClass("tt-cursor")},_moveCursor:function(t){var e,n,i,r;this.isOpen&&(n=this._getCursor(),e=this._getSuggestions(),this._removeCursor(),-1!==(i=((i=e.index(n)+t)+1)%(e.length+1)-1)?(i<-1&&(i=e.length-1),this._setCursor(r=e.eq(i)),this._ensureVisible(r)):this.trigger("cursorRemoved"))},_ensureVisible:function(t){var e,n,i,r;n=(e=t.position().top)+t.outerHeight(!0),i=this.$menu.scrollTop(),r=this.$menu.height()+parseInt(this.$menu.css("paddingTop"),10)+parseInt(this.$menu.css("paddingBottom"),10),e<0?this.$menu.scrollTop(i+e):r<n&&this.$menu.scrollTop(i+(n-r))},close:function(){this.isOpen&&(this.isOpen=!1,this._removeCursor(),this._hide(),this.trigger("closed"))},open:function(){this.isOpen||(this.isOpen=!0,!this.isEmpty&&this._show(),this.trigger("opened"))},setLanguageDirection:function(t){this.$menu.css("ltr"===t?c.ltr:c.rtl)},moveCursorUp:function(){this._moveCursor(-1)},moveCursorDown:function(){this._moveCursor(1)},getDatumForSuggestion:function(t){var e=null;return t.length&&(e={raw:v.extractDatum(t),value:v.extractValue(t),datasetName:v.extractDatasetName(t)}),e},getDatumForCursor:function(){return this.getDatumForSuggestion(this._getCursor().first())},getDatumForTopSuggestion:function(){return this.getDatumForSuggestion(this._getSuggestions().first())},update:function(t){e.each(this.datasets,function(e){e.update(t)})},empty:function(){e.each(this.datasets,function(t){t.clear()}),this.isEmpty=!0},isVisible:function(){return this.isOpen&&!this.isEmpty},destroy:function(){this.$menu.off(".tt"),this.$menu=null,e.each(this.datasets,function(t){t.destroy()})}}),n;function i(t){return new v(t)}}(),_=function(){var n="ttAttrs";function i(i){var r,s,o;(i=i||{}).input||t.error("missing input"),this.isActivated=!1,this.autoselect=!!i.autoselect,this.minLength=e.isNumber(i.minLength)?i.minLength:1,this.$node=function(e,i){var r,s,o,a;r=t(e),s=t(u.wrapper).css(c.wrapper),o=t(u.dropdown).css(c.dropdown),a=r.clone().css(c.hint).css((l=r,{backgroundAttachment:l.css("background-attachment"),backgroundClip:l.css("background-clip"),backgroundColor:l.css("background-color"),backgroundImage:l.css("background-image"),backgroundOrigin:l.css("background-origin"),backgroundPosition:l.css("background-position"),backgroundRepeat:l.css("background-repeat"),backgroundSize:l.css("background-size")})),a.val("").removeData().addClass("tt-hint").removeAttr("id name placeholder").prop("disabled",!0).attr({autocomplete:"off",spellcheck:"false"}),r.data(n,{dir:r.attr("dir"),autocomplete:r.attr("autocomplete"),spellcheck:r.attr("spellcheck"),style:r.attr("style")}),r.addClass("tt-input").attr({autocomplete:"off",spellcheck:!1}).css(i?c.input:c.inputWithNoHint);var l;try{!r.attr("dir")&&r.attr("dir","auto")}catch(h){}return r.wrap(s).parent().prepend(i?a:null).append(o)}(i.input,i.withHint),r=this.$node.find(".tt-dropdown-menu"),s=this.$node.find(".tt-input"),o=this.$node.find(".tt-hint"),s.on("blur.tt",function(t){var n,i,o;n=document.activeElement,i=r.is(n),o=r.has(n).length>0,e.isMsie()&&(i||o)&&(t.preventDefault(),t.stopImmediatePropagation(),e.defer(function(){s.focus()}))}),r.on("mousedown.tt",function(t){t.preventDefault()}),this.eventBus=i.eventBus||new p({el:s}),this.dropdown=new y({menu:r,datasets:i.datasets}).onSync("suggestionClicked",this._onSuggestionClicked,this).onSync("cursorMoved",this._onCursorMoved,this).onSync("cursorRemoved",this._onCursorRemoved,this).onSync("opened",this._onOpened,this).onSync("closed",this._onClosed,this).onAsync("datasetRendered",this._onDatasetRendered,this),this.input=new m({input:s,hint:o}).onSync("focused",this._onFocused,this).onSync("blurred",this._onBlurred,this).onSync("enterKeyed",this._onEnterKeyed,this).onSync("tabKeyed",this._onTabKeyed,this).onSync("escKeyed",this._onEscKeyed,this).onSync("upKeyed",this._onUpKeyed,this).onSync("downKeyed",this._onDownKeyed,this).onSync("leftKeyed",this._onLeftKeyed,this).onSync("rightKeyed",this._onRightKeyed,this).onSync("queryChanged",this._onQueryChanged,this).onSync("whitespaceChanged",this._onWhitespaceChanged,this),this._setLanguageDirection()}return e.mixin(i.prototype,{_onSuggestionClicked:function(t,e){var n;(n=this.dropdown.getDatumForSuggestion(e))&&this._select(n)},_onCursorMoved:function(){var t=this.dropdown.getDatumForCursor(
2);this.input.setInputValue(t.value,!0),this.eventBus.trigger("cursorchanged",t.raw,t.datasetName)},_onCursorRemoved:function(){this.input.resetInputValue(),this._updateHint()},_onDatasetRendered:function(){this._updateHint()},_onOpened:function(){this._updateHint(),this.eventBus.trigger("opened")},_onClosed:function(){this.input.clearHint(),this.eventBus.trigger("closed")},_onFocused:function(){this.isActivated=!0,this.dropdown.open()},_onBlurred:function(){this.isActivated=!1,this.dropdown.empty(),this.dropdown.close()},_onEnterKeyed:function(t,e){var n,i;n=this.dropdown.getDatumForCursor(),i=this.dropdown.getDatumForTopSuggestion(),n?(this._select(n),e.preventDefault()):this.autoselect&&i&&(this._select(i),e.preventDefault())},_onTabKeyed:function(t,e){var n;(n=this.dropdown.getDatumForCursor())?(this._select(n),e.preventDefault()):this._autocomplete(!0)},_onEscKeyed:function(){this.dropdown.close(),this.input.resetInputValue()},_onUpKeyed:function(){var t=this.input.getQuery();this.dropdown.isEmpty&&t.length>=this.minLength?this.dropdown.update(t):this.dropdown.moveCursorUp(),this.dropdown.open()},_onDownKeyed:function(){var t=this.input.getQuery();this.dropdown.isEmpty&&t.length>=this.minLength?this.dropdown.update(t):this.dropdown.moveCursorDown(),this.dropdown.open()},_onLeftKeyed:function(){"rtl"===this.dir&&this._autocomplete()},_onRightKeyed:function(){"ltr"===this.dir&&this._autocomplete()},_onQueryChanged:function(t,e){this.input.clearHintIfInvalid(),e.length>=this.minLength?this.dropdown.update(e):this.dropdown.empty(),this.dropdown.open(),this._setLanguageDirection()},_onWhitespaceChanged:function(){this._updateHint(),this.dropdown.open()},_setLanguageDirection:function(){var t;this.dir!==(t=this.input.getLanguageDirection())&&(this.dir=t,this.$node.css("direction",t),this.dropdown.setLanguageDirection(t))},_updateHint:function(){var t,n,i,r,s;(t=this.dropdown.getDatumForTopSuggestion())&&this.dropdown.isVisible()&&!this.input.hasOverflow()?(n=this.input.getInputValue(),i=m.normalizeQuery(n),r=e.escapeRegExChars(i),(s=new RegExp("^(?:"+r+")(.+$)","i").exec(t.value))?this.input.setHint(n+s[1]):this.input.clearHint()):this.input.clearHint()},_autocomplete:function(t){var e,n,i,r;e=this.input.getHint(),n=this.input.getQuery(),i=t||this.input.isCursorAtEnd(),e&&n!==e&&i&&((r=this.dropdown.getDatumForTopSuggestion())&&this.input.setInputValue(r.value),this.eventBus.trigger("autocompleted",r.raw,r.datasetName))},_select:function(t){this.input.setQuery(t.value),this.input.setInputValue(t.value,!0),this._setLanguageDirection(),this.eventBus.trigger("selected",t.raw,t.datasetName),this.dropdown.close(),e.defer(e.bind(this.dropdown.empty,this.dropdown))},open:function(){this.dropdown.open()},close:function(){this.dropdown.close()},setVal:function(t){this.isActivated?this.input.setInputValue(t):(this.input.setQuery(t),this.input.setInputValue(t,!0)),this._setLanguageDirection()},getVal:function(){return this.input.getQuery()},destroy:function(){var t,i;this.input.destroy(),this.dropdown.destroy(),t=this.$node,i=t.find(".tt-input"),e.each(i.data(n),function(t,n){e.isUndefined(t)?i.removeAttr(n):i.attr(n,t)}),i.detach().removeData(n).removeClass("tt-input").insertAfter(t),t.remove(),this.$node=null}}),i}();l=t.fn.typeahead,h="ttTypeahead",d={initialize:function(n,i){return i=e.isArray(i)?i:[].slice.call(arguments,1),n=n||{},this.each(function(){var r,s=t(this);e.each(i,function(t){t.highlight=!!n.highlight}),r=new _({input:s,eventBus:new p({el:s}),withHint:!!e.isUndefined(n.hint)||!!n.hint,minLength:n.minLength,autoselect:n.autoselect,datasets:i}),s.data(h,r)})},open:function(){return this.each(function(){var e,n=t(this);(e=n.data(h))&&e.open()})},close:function(){return this.each(function(){var e,n=t(this);(e=n.data(h))&&e.close()})},val:function(e){return arguments.length?this.each(function(){var n,i=t(this);(n=i.data(h))&&n.setVal(e)}):(n=this.first(),(i=n.data(h))&&(r=i.getVal()),r);var n,i,r},destroy:function(){return this.each(function(){var e,n=t(this);(e=n.data(h))&&(e.destroy(),n.removeData(h))})}},t.fn.typeahead=function(t){return d[t]?d[t].apply(this,[].slice.call(arguments,1
2)):d.initialize.apply(this,arguments)},t.fn.typeahead.noConflict=function(){return t.fn.typeahead=l,this}};
3/*!
4 * typeahead.js 0.10.2
5 * https://github.com/twitter/typeahead.js
6 * Copyright 2013-2014 Twitter, Inc. and other contributors; Licensed MIT
7 */class o{constructor(t){e(this,"init",async()=>{let t;try{const e=await n(()=>import("./index-BQKLbVel-chunk.js").then(t=>t.i),__vite__mapDeps([0,1]));t=e.default||e}catch(e){return}s(window.jQuery),r(t)}),this.init().catch(console.error)}}export{o as Cfk};

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.