Commit inicial - WordPress Análisis de Precios Unitarios

- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-11-03 21:04:30 -06:00
commit a22573bf0b
24068 changed files with 4993111 additions and 0 deletions

View File

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
(function(){"use strict";var c={};(function(){c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,{a:t}),t}})(),function(){c.d=function(e,t){for(var r in t)c.o(t,r)&&!c.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}}(),function(){c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}();var d={};c.d(d,{default:function(){return O}});var f=Object(window.WPD).AjaxSearchPro,l=c.n(f);function h(e){try{return decodeURIComponent(e)}catch{return e}}function g(e){let t;try{t=new URL(e,"http://example.com").search.substring(1)}catch{}if(t)return t}function _(e,t,r){const a=t.length,s=a-1;for(let n=0;n<a;n++){let o=t[n];!o&&Array.isArray(e)&&(o=e.length.toString()),o=["__proto__","constructor","prototype"].includes(o)?o.toUpperCase():o;const i=!isNaN(Number(t[n+1]));e[o]=n===s?r:e[o]||(i?[]:{}),Array.isArray(e[o])&&!i&&(e[o]={...e[o]}),e=e[o]}}function p(e){return(g(e)||"").replace(/\+/g,"%20").split("&").reduce((t,r)=>{const[a,s=""]=r.split("=").filter(Boolean).map(h);if(a){const n=a.replace(/\]/g,"").split("[");_(t,n,s)}return t},Object.create(null))}function y(e){let t="";const r=Object.entries(e);let a;for(;a=r.shift();){let[s,n]=a;if(Array.isArray(n)||n&&n.constructor===Object){const i=Object.entries(n).reverse();for(const[u,S]of i)r.unshift([`${s}[${u}]`,S])}else n!==void 0&&(n===null&&(n=""),t+="&"+[s,n].map(encodeURIComponent).join("="))}return t.substr(1)}function b(e,...t){const r=e.replace(/^[^#]*/,"");e=e.replace(/#.*/,"");const a=e.indexOf("?");if(a===-1)return e+r;const s=p(e),n=e.substr(0,a);t.forEach(u=>delete s[u]);const o=y(s);return(o?n+"?"+o:n)+r}function m(e){const t=/^\S+?(#[^\s\?]*)/.exec(e);if(t)return t[1]}function x(e="",t){if(!t||!Object.keys(t).length)return e;const r=m(e)||"";let a=e.replace(r,"");const s=e.indexOf("?");return s!==-1&&(t=Object.assign(p(e),t),a=a.substr(0,s)),a+"?"+y(t)+r}const v=l().helpers;class A{name="Elementor Widget Fixes";init(){const{Hooks:t}=v;t.addFilter("asp/live_load/url",this.addQueryIdToUrl.bind(this),11,this)}addQueryIdToUrl(t,r,a,s){return!s.classList.contains("wp-block-blocksy-query")||s.dataset.id===void 0?t:(t=b(t,"query-"+s.dataset.id),x(t,{unique_id:s.dataset.id}))}}l().addons.add(new A);var w=null,O=f;Object(window.WPD).AjaxSearchPro=d.default})();

View File

@@ -0,0 +1 @@
(function(){"use strict";var a={};(function(){a.n=function(r){var e=r&&r.__esModule?function(){return r.default}:function(){return r};return a.d(e,{a:e}),e}})(),function(){a.d=function(r,e){for(var n in e)a.o(e,n)&&!a.o(r,n)&&Object.defineProperty(r,n,{enumerable:!0,get:e[n]})}}(),function(){a.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)}}();var t={};a.d(t,{default:function(){return u}});var o=Object(window.WPD).AjaxSearchPro,c=a.n(o);const i=c().helpers;class s{name="Elementor Widget Fixes";init(){const{Hooks:e}=i;e.addFilter("asp/live_load/finished",this.fixImages.bind(this),11,this)}fixImages(e,n){window?.bricksLazyLoad?.()}}c().addons.add(new s);var d=null,u=o;Object(window.WPD).AjaxSearchPro=t.default})();

View File

@@ -0,0 +1 @@
(function(){"use strict";var r={};(function(){r.d=function(t,e){for(var i in e)r.o(e,i)&&!r.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}})(),function(){r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}();var n={};r.d(n,{default:function(){return u}});var o=Object(window.WPD).AjaxSearchPro;const a=o.helpers;class d{name="Divi Widget Fixes";init(){a.Hooks.addFilter("asp/init/etc",this.diviBodyCommerceResultsPage,10,this),a.Hooks.addFilter("asp/live_load/finished",this.diviBlogModuleTriggerInit.bind(this),10,this)}diviBodyCommerceResultsPage(e){return e.o.divi.bodycommerce&&e.o.is_results_page&&window.WPD.intervalUntilExecute(function(i){setTimeout(function(){i("#divi_filter_button").trigger("click")},50)},function(){return typeof jQuery<"u"?jQuery:!1}),e}diviBlogModuleTriggerInit(e,i,l,c){jQuery!==void 0&&jQuery(c).hasClass("et_pb_module")&&jQuery(window).trigger("load")}}o.addons.add(new d);var s=null,u=o;Object(window.WPD).AjaxSearchPro=n.default})();

View File

@@ -0,0 +1 @@
(function(){"use strict";var c={};(function(){c.n=function(s){var e=s&&s.__esModule?function(){return s.default}:function(){return s};return c.d(e,{a:e}),e}})(),function(){c.d=function(s,e){for(var t in e)c.o(e,t)&&!c.o(s,t)&&Object.defineProperty(s,t,{enumerable:!0,get:e[t]})}}(),function(){c.o=function(s,e){return Object.prototype.hasOwnProperty.call(s,e)}}();var p={};c.d(p,{default:function(){return P}});var g=Object(window.WPD).AjaxSearchPro,h=c.n(g),m=Object(window.WPD).DoMini,a=c.n(m);const _=h().helpers;class v{name="Elementor Widget Fixes";init(){const{Hooks:e}=_;e.addFilter("asp/live_load/finished",this.finished.bind(this),10,this)}finished(e,t,r,n){const d=a()(n).find(".jet-listing div[data-nav]");if(!r.includes("asp_es_")||d.length===0)return;const o=d.get(0);if(o?.dataset?.nav===void 0||o?.dataset?.nav===null)return;const l=JSON.parse(o.dataset.nav);l.query===void 0&&(l.query={}),l.query.s=t.n("text").val().trim(),l.query.asp_id=t.o.id,o.dataset.nav=JSON.stringify(l)}}h().addons.add(new v);var S=null;const w=h().helpers;class x{name="Elementor Widget Fixes";init(){const{Hooks:e}=w;e.addFilter("asp/init/etc",this.fixElementorPostPagination.bind(this),10,this),e.addFilter("asp/live_load/start",this.start.bind(this),10,this),e.addFilter("asp/live_load/finished",this.finished.bind(this),10,this),e.addFilter("asp/live_load/finished",this.fixImages.bind(this),11,this)}fixImages(e,t){a()(".asp_es_"+t.o.id).find("img[nosrcset]").forEach(n=>{a()(n).attr("srcset",a()(n).attr("nosrcset")).removeAttr("nosrcset")})}start(e,t,r,n){const i=t.n("searchsettings").find("form").serialize(),d=t.n("text").val().trim();!(i+d!==t.lastSuccesfulSearch)&&a()(n).find(".e-load-more-spinner").length>0&&a()(n).css("opacity","1"),a()(r).removeClass("e-load-more-pagination-end")}finished(e,t,r,n){const i=a()(n);if(r.includes("asp_es_")&&typeof elementorFrontend<"u"&&typeof elementorFrontend.init<"u"&&i.find(".asp_elementor_nores").length===0){const d=i.data("widget_type")||"";d!==""&&typeof jQuery<"u"&&elementorFrontend.hooks.doAction("frontend/element_ready/"+d,jQuery(i.get(0))),this.fixElementorPostPagination(t,e),t.o.scrollToResults.enabled&&this.scrollToResultsIfNeeded(i),t.n("s").trigger("asp_elementor_results",[t.o.id,t.o.iid,i.get(0)],!0,!0)}}scrollToResultsIfNeeded(e){const t=e.find(".elementor-post, .product").first();t.length&&!t.isInViewport(40)&&t.get(0).scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})}fixElementorPostPagination(e,t){const r=a()(".asp_es_"+e.o.id);if(t=t||location.href,!r.length)return e;const n=new URL(t);if(!n.searchParams.size)return e;this.elementorHideSpinner(r.get(0)),n.searchParams.delete("asp_force_reset_pagination");const i=r.find(".e-load-more-anchor"),d=r.find(".elementor-pagination a, .elementor-widget-container .woocommerce-pagination a");if(i.length>0&&!d.length){const o=r.find(".elementor-widget-container").get(0),l=()=>{const f=i.data("page"),u=f?parseInt(f,10)+1:2;n.searchParams.set("page",u.toString()),i.data("next-page",n.href),i.next(".elementor-button-wrapper").find("a").attr("href",n.href)};o&&new MutationObserver(()=>{l(),console.log("Mutation observed: fixing anchor.")}).observe(o,{childList:!0,subtree:!0}),l()}else d.each(function(){const o=a()(this),l=o.attr("href")||"",f=new URL(l,window.location.origin);f.searchParams.has("asp_ls")?f.searchParams.delete("asp_force_reset_pagination"):n.searchParams.forEach((u,b)=>f.searchParams.set(b,u)),o.attr("href",f.href)});return e}elementorHideSpinner(e){a()(e).removeClass("e-load-more-pagination-loading").find(".eicon-animation-spin").removeClass("eicon-animation-spin")}}h().addons.add(new x);var y=null,P=g;Object(window.WPD).AjaxSearchPro=p.default})();

View File

@@ -0,0 +1 @@
(function(){"use strict";var a={};(function(){a.d=function(d,t){for(var e in t)a.o(t,e)&&!a.o(d,e)&&Object.defineProperty(d,e,{enumerable:!0,get:t[e]})}})(),function(){a.o=function(d,t){return Object.prototype.hasOwnProperty.call(d,t)}}();var s={};a.d(s,{default:function(){return l}});var o=Object(window.WPD).AjaxSearchPro;const u=o.helpers;class _{init(){u.Hooks.addFilter("asp/search/end",this.finished.bind(this),10,this)}finished(t){typeof wc_add_to_cart_params>"u"||typeof jQuery>"u"||(this.requests=[],this.addRequest=this.addRequest.bind(this),this.run=this.run.bind(this),this.$liveRegion=this.createLiveRegion(),jQuery(t.n("resdrg").get(0)).find(".add-to-cart-button:not(.wc-interactive)").off().on("click",{addToCartHandler:this},this.onAddToCart))}addRequest(t){this.requests.push(t),this.requests.length===1&&this.run()}run(){const t=this,e=t.requests[0].complete;t.requests[0].complete=function(){typeof e=="function"&&e(),t.requests.shift(),t.requests.length>0&&t.run()},jQuery.ajax(this.requests[0])}onAddToCart(t){const e=jQuery(this);if(e.is(".ajax-add-to-cart")){if(!e.attr("data-product_id"))return!0;if(t.data.addToCartHandler.$liveRegion.text("").removeAttr("aria-relevant"),t.preventDefault(),e.removeClass("added"),e.addClass("loading"),jQuery(document.body).triggerHandler("should_send_ajax_request.adding_to_cart",[e])===!1)return jQuery(document.body).trigger("ajax_request_not_sent.adding_to_cart",[!1,!1,e]),!0;const n={};jQuery.each(e.data(),function(r,i){n[r]=i}),jQuery.each(e[0].dataset,function(r,i){n[r]=i});const c=e.closest(".add-to-cart-container").find(".add-to-cart-quantity");c.length>0&&(n.quantity=c.get(0).value),jQuery(document.body).trigger("adding_to_cart",[e,n]),t.data.addToCartHandler.addRequest({type:"POST",url:wc_add_to_cart_params.wc_ajax_url.toString().replace("%%endpoint%%","add_to_cart"),data:n,success:function(r){if(r){if(r.error&&r.product_url){window.location=r.product_url;return}if(wc_add_to_cart_params.cart_redirect_after_add==="yes"){window.location=wc_add_to_cart_params.cart_url;return}jQuery(document.body).trigger("added_to_cart",[r.fragments,r.cart_hash,e])}},dataType:"json"})}}createLiveRegion(){const t=jQuery(".widget_shopping_cart_live_region");return t.length?t:jQuery('<div class="widget_shopping_cart_live_region screen-reader-text" role="status"></div>').appendTo("body")}}o.addons.add(new _);var f=null,l=o;Object(window.WPD).AjaxSearchPro=s.default})();

View File

@@ -0,0 +1 @@
(function(){"use strict";var c={};(function(){c.d=function(t,e){for(var l in e)c.o(e,l)&&!c.o(t,l)&&Object.defineProperty(t,l,{enumerable:!0,get:e[l]})}})(),function(){c.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}();var u={};c.d(u,{default:function(){return s}});var a=Object(window.WPD).AjaxSearchPro,n=Object(window.WPD).DoMini;a.plugin.autocompleteCheck=function(t=""){if(this.n("text").val()==="")return this.n("textAutocomplete").val(""),!1;let e=this.n("textAutocomplete").val();return!(e!==""&&e.indexOf(t)===0)},a.plugin.autocomplete=function(){let t=this,e=t.n("text").val();if(t.autocompleteCheck(e)&&t.n("text").val().length>=t.o.autocomplete.trigger_charcount){let l={action:"ajaxsearchpro_autocomplete",asid:t.o.id,sauto:t.n("text").val(),asp_inst_id:t.o.rid,options:n("form",t.n("searchsettings")).serialize()};t.postAuto=n.fn.ajax({url:ASP.ajaxurl,method:"POST",data:l,success:function(o){o.length>0&&(o=n("<textarea />").html(o).text(),o=o.replace(/^\s*[\r\n]/gm,""),o=e+o.substring(e.length)),t.n("textAutocomplete").val(o),t.fixAutocompleteScrollLeft()}})}},a.plugin.autocompleteGoogleOnly=function(){let t=this,e=t.n("text").val();if(!t.autocompleteCheck(e))return;let l=t.o.autocomplete.lang;["wpml_lang","polylang_lang","qtranslate_lang"].forEach(function(o){n('input[name="'+o+'"]',t.n("searchsettings")).length>0&&n('input[name="'+o+'"]',t.n("searchsettings")).val().length>1&&(l=n('input[name="'+o+'"]',t.n("searchsettings")).val())}),t.n("text").val().length>=t.o.autocomplete.trigger_charcount&&n.fn.ajax({url:"https://clients1.google.com/complete/search",cors:"no-cors",data:{q:e,hl:l,nolabels:"t",client:"hp",ds:""},success:function(o){if(o[1].length>0){let i=o[1][0][0].replace(/(<([^>]+)>)/ig,"");i=n("<textarea />").html(i).text(),i=i.substring(e.length),t.n("textAutocomplete").val(e+i),t.fixAutocompleteScrollLeft()}}})},a.plugin.fixAutocompleteScrollLeft=function(){this.n("textAutocomplete").get(0).scrollLeft=this.n("text").get(0).scrollLeft};var p=null;let r=a.helpers;a.plugin.initAutocompleteEvent=function(){let t=this,e;(t.o.autocomplete.enabled&&!r.isMobile()||t.o.autocomplete.mobile&&r.isMobile())&&(t.n("text").on("keydown",function(l){(l.keyCode||l.which)===9&&t.n("textAutocomplete").val()!==""&&t.n("textAutocomplete").val()!==n(this).val()&&l.preventDefault()}),t.n("text").on("keyup",function(l){t.keycode=l.keyCode||l.which,t.ktype=l.type;let o=39;n("body").hasClass("rtl")&&(o=37),(t.keycode===o||t.keycode===9)&&t.n("textAutocomplete").val()!==""?(l.preventDefault(),t.n("text").val(t.n("textAutocomplete").val()),t.o.trigger.type&&(t.searchAbort(),t.search())):(clearTimeout(e),t.postAuto!=null&&t.postAuto.abort(),t.o.autocomplete.googleOnly?t.autocompleteGoogleOnly():e=setTimeout(function(){t.autocomplete(),e=null},t.o.trigger.autocomplete_delay))}),t.n("text").on("keyup mouseup input blur select",function(){t.fixAutocompleteScrollLeft()}))};var f=null,s=a;Object(window.WPD).AjaxSearchPro=u.default})();

View File

@@ -0,0 +1 @@
(function(){"use strict";var i={};(function(){i.d=function(t,e){for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}})(),function(){i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}();var r={};i.d(r,{default:function(){return u}});var c=Object(window.WPD).AjaxSearchPro,s=Object(window.WPD).DoMini;c.plugin.initCompact=function(){let t=this;t.o.compact.enabled&&t.o.compact.position!=="fixed"&&(t.o.compact.overlay=0),t.o.compact.enabled&&t.n("trythis").css({display:"none"}),t.o.compact.enabled&&t.o.compact.position==="fixed"&&window.WPD.intervalUntilExecute(function(){let e=s("body");t.nodes.container=t.n("search").closest(".asp_w_container"),e.append(t.n("search").detach()),e.append(t.n("trythis").detach()),t.n("search").css({top:t.n("search").position().top+"px"})},function(){return t.n("search").css("position")==="fixed"})};var h=null;const f=()=>{let t=window.innerWidth;return t<=640?"phone":t<=1024?"tablet":"desktop"},l=()=>typeof window.navigator<"u"&&typeof window.navigator.userAgent<"u"?window.navigator.userAgent.match(/(iPod|iPhone|iPad)/)!=null:!1,m=()=>{try{return document.createEvent("TouchEvent"),!0}catch{return!1}},w=()=>"ontouchstart"in window,x=navigator.userAgent.toLowerCase().includes("firefox"),p=navigator.userAgent,b=/AppleWebKit/.test(p)&&!/Edge/.test(p);let o;const d=t=>{if(!l()){t?.focus();return}(t===void 0||o===void 0)&&(o=document.createElement("input"),o.setAttribute("type","text"),o.style.position="absolute",o.style.opacity="0",o.style.height="0",o.style.fontSize="16px",document.body.prepend(o)),t===void 0?o.focus():t.focus()};let a=c.helpers;c.plugin.openCompact=function(){let t=this;t.n("search").is("[data-asp-compact-w]")||(t.n("probox").attr("data-asp-compact-w",t.n("probox").innerWidth()),t.n("search").attr("data-asp-compact-w",t.n("search").innerWidth())),t.n("search").css({width:t.n("search").width()+"px"}),t.n("probox").css({width:"auto"}),setTimeout(function(){t.n("search").find(".probox>div:not(.promagnifier)").removeClass("hiddend")},80),clearTimeout(t.timeouts.compactBeforeOpen),t.timeouts.compactBeforeOpen=setTimeout(function(){let e;a.deviceType()==="phone"?e=t.o.compact.width_phone:a.deviceType()==="tablet"?e=t.o.compact.width_tablet:e=t.o.compact.width,e=a.Hooks.applyFilters("asp_compact_width",e,t.o.id,t.o.iid),e=isNaN(e)?e:e+"px",t.o.compact.position!=="static"?t.n("search").css({"max-width":e,width:e}):(t.n("container").css({"max-width":e,width:e}),t.n("search").css({"max-width":"100%",width:"100%"})),t.o.compact.overlay&&(t.n("search").css("z-index",999999),t.n("searchsettings").css("z-index",999999),t.n("resultsDiv").css("z-index",999999),t.n("trythis").css("z-index",999998),s("#asp_absolute_overlay").css({opacity:1,width:"100%",height:"100%","z-index":999990})),t.n("search").attr("data-asp-compact","open")},50),t.o.compact.focus&&d(),clearTimeout(t.timeouts.compactAfterOpen),t.timeouts.compactAfterOpen=setTimeout(function(){t.resize(),t.n("trythis").css({display:"block"}),t.o.compact.enabled&&t.o.compact.position!=="static"&&t.n("trythis").css({top:t.n("search").offset().top+t.n("search").outerHeight(!0)+"px",left:t.n("search").offset().left+"px"}),t.o.compact.focus&&d(t.n("text").get(0)),t.n("text").trigger("focus"),t.scrolling()},500)},c.plugin.closeCompact=function(){let t=this;clearTimeout(t.timeouts.compactBeforeOpen),clearTimeout(t.timeouts.compactAfterOpen),t.timeouts.compactBeforeOpen=setTimeout(function(){t.n("search").attr("data-asp-compact","closed")},50),t.n("search").find(".probox>div:not(.promagnifier)").addClass("hiddend"),t.o.compact.position!=="static"?t.n("search").css({width:"auto"}):(t.n("container").css({width:"auto"}),t.n("search").css({"max-width":"unset",width:"auto"})),t.n("probox").css({width:t.n("probox").attr("data-asp-compact-w")+"px"}),t.n("trythis").css({left:t.n("search").position().left,display:"none"}),t.o.compact.overlay&&(t.n("search").css("z-index",""),t.n("searchsettings").css("z-index",""),t.n("resultsDiv").css("z-index",""),t.n("trythis").css("z-index",""),s("#asp_absolute_overlay").css({opacity:0,width:0,height:0,"z-index":0}))};var v=null;c.plugin.initCompactEvents=function(){let t=this,e=0;t.n("promagnifier").on("click",function(){let n=t.n("search").attr("data-asp-compact")||"closed";if(e=window.scrollY,t.hideSettings?.(),t.hideResults(),n==="closed")t.openCompact(),t.n("text").trigger("focus");else{if(!t.o.compact.closeOnMagnifier)return;t.closeCompact(),t.searchAbort(),t.n("proloading").css("display","none")}})};var y=null,u=c;Object(window.WPD).AjaxSearchPro=r.default})();

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
(function(){"use strict";var i={};(function(){i.d=function(e,n){for(var t in n)i.o(n,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})}})(),function(){i.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)}}();var s={};i.d(s,{default:function(){return g}});var c=Object(window.WPD).AjaxSearchPro,d=Object(window.WPD).DoMini;c.plugin.gaEvent=function(e,n){let t=this,r=t.gaGetTrackingID();if(typeof ASP.analytics>"u"||ASP.analytics.method!=="event")return!1;let l=typeof window.gtag=="function"?window.gtag:!1;if(l===!1&&typeof window.dataLayer>"u")return!1;if(typeof ASP.analytics.event[e]<"u"&&ASP.analytics.event[e].active){let _={search_id:t.o.id,search_name:t.n("search").data("name"),phrase:t.n("text").val(),option_name:"",option_value:"",result_title:"",result_url:"",results_count:""},a={event_category:ASP.analytics.event[e].category,event_label:ASP.analytics.event[e].label,value:ASP.analytics.event[e].value};n=d.fn.extend(_,n),Object.keys(n).forEach(function(o){let f=n[o];f=String(f).replace(/[\s\n\r]+/g," ").trim(),Object.keys(a).forEach(function(u){let v=new RegExp("{"+o+"}","gmi");a[u]=a[u].replace(v,f)})}),l!==!1?r!==!1?r.forEach(function(o){a.send_to=o,l("event",ASP.analytics.event[e].action,a)}):l("event",ASP.analytics.event[e].action,a):typeof window.dataLayer.push<"u"&&window.dataLayer.push({event:"asp_event",event_name:ASP.analytics.event[e].action,event_category:a.event_category,event_label:a.event_label,event_value:a.value})}},c.plugin.gaGetTrackingID=function(){let e=!1;if(typeof ASP.analytics>"u")return e;if(typeof ASP.analytics.tracking_id<"u"&&ASP.analytics.tracking_id!=="")return[ASP.analytics.tracking_id];if((typeof window.gtag=="function"?window.gtag:!1)===!1&&typeof window.ga<"u"&&typeof window.ga.getAll<"u"){let t=[];return window.ga.getAll().forEach(function(r){t.push(r.get("trackingId"))}),t.length>0?t:!1}return e};var y=null,g=c;Object(window.WPD).AjaxSearchPro=s.default})();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
(function(){"use strict";var a={};(function(){a.d=function(e,t){for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}})(),function(){a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}();var n={};a.d(n,{default:function(){return f}});var o=Object(window.WPD).AjaxSearchPro,h=Object(window.WPD).DoMini;let i=o.helpers;o.plugin.showHorizontalResults=function(){let e=this;if(e.showResultsBox(),e.n("items").css("opacity",e.animationOpacity),e.o.resultsposition==="hover"&&e.n("resultsDiv").css("width",e.n("search").width()-(e.n("resultsDiv").outerWidth(!0)-e.n("resultsDiv").width())+"px"),e.n("items").length>0&&e.o.scrollBar.horizontal.enabled){let t=parseInt(e.n("items").css("marginLeft")),r=e.n("items").outerWidth()+t*2;e.n("resdrg").css("width",e.n("items").length*r+t*2+"px")}else e.n("results").css("overflowX","hidden"),e.n("resdrg").css("width","auto");if(e.keywordHighlight(),e.call_num<1){let t=e.n("results");if(t.get(0).scrollLeft=0,e.o.scrollBar.horizontal.enabled){let r=0,c=Date.now();t.off("mousewheel"),t.on("mousewheel",function(s){let w=typeof s.deltaFactor<"u"?s.deltaFactor:65,l=s.deltaY>0?1:-1,u=Date.now()-c,d=u>100?1:3-2*u/100;r!==s.deltaY&&(d=1),h(this).animate(!1).animate({scrollLeft:this.scrollLeft+l*w*2*d},250,"easeOutQuad"),r=s.deltaY,c=Date.now(),i.isScrolledToRight(t.get(0))&&l===1||i.isScrolledToLeft(t.get(0))&&l===-1||s.preventDefault()})}}e.showResultsBox(),e.addAnimation(),e.searching=!1};var p=null,f=o;Object(window.WPD).AjaxSearchPro=n.default})();

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
(function(){"use strict";var i={};(function(){i.d=function(t,e){for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})}})(),function(){i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}();var a={};i.d(a,{default:function(){return f}});var o=Object(window.WPD).AjaxSearchPro,r=Object(window.WPD).DoMini;o.plugin.showPolaroidResults=function(){let t=this;this.loadASPFonts?.(),t.n("results").addClass("photostack"),r(".photostack>nav",t.n("resultsDiv")).remove();let e=r("figure",t.n("resultsDiv"));if(t.showResultsBox(),e.length>0)if(t.n("results").css({height:t.o.prescontainerheight}),t.keywordHighlight(),typeof Photostack<"u")t.ptstack=new Photostack(t.n("results").get(0),{callback:function(s){}});else return!1;e.length===0&&(t.n("results").css({height:"11110px"}),t.n("results").css({height:"auto"})),t.addAnimation(),t.fixResultsPosition(!0),t.searching=!1,t.initPolaroidEvents(e)},o.plugin.initPolaroidEvents=function(t){let e=this,s=1,n=".photostack>nav span";t.forEach(function(){s>1&&r(this).removeClass("photostack-current"),r(this).attr("idx",s),s++}),t.on("click",function(l){if(r(this).hasClass("photostack-current"))return;l.preventDefault();let h=r(this).attr("idx");r(".photostack>nav span:nth-child("+h+")",e.n("resultsDiv")).trigger("click",[],!0)});const c=()=>{r(n+".current",e.n("resultsDiv")).next().length>0?r(n+".current",e.n("resultsDiv")).next().trigger("click",[],!0):r(n+":nth-child(1)",e.n("resultsDiv")).trigger("click",[],!0)},u=()=>{r(n+".current",e.n("resultsDiv")).prev().length>0?r(n+".current",e.n("resultsDiv")).prev().trigger("click",[],!0):r(n+":nth-last-child(1)",e.n("resultsDiv")).trigger("click",[],!0)};t.on("mousewheel",function(l){l.preventDefault(),(l.deltaY>0?1:-1)>=1?c():u()}),e.n("resultsDiv").on("swiped-left",c),e.n("resultsDiv").on("swiped-right",u)};var d=null,f=o;Object(window.WPD).AjaxSearchPro=a.default})();

View File

@@ -0,0 +1 @@
(function(){"use strict";var n={};(function(){n.d=function(t,e){for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})}})(),function(){n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}();var a={};n.d(a,{default:function(){return d}});var c=Object(window.WPD).AjaxSearchPro,s=Object(window.WPD).DoMini;c.plugin.showVerticalResults=function(){let t=this;if(t.showResultsBox(),t.n("items").length>0){let e=t.n("items").length<t.o.itemscount?t.n("items").length:t.o.itemscount;e=e<=0?9999:e;let o=s(".asp_group_header",t.n("resultsDiv"));if(t.o.itemscount===0||t.n("items").length<=t.o.itemscount)t.n("results").css({height:"auto"});else if(t.call_num<1&&t.n("results").css({height:"30px"}),t.call_num<1){let i=0,r=0,l=0,u=0;t.n("items").forEach(function(){r+=s(this).outerHeight(!0),s(this).outerHeight(!0)>u&&(u=s(this).outerHeight(!0)),i++}),l=u*e,l>r&&(l=r),i=i<1?1:i,r=r/i*e,o.length>0&&o.forEach(function(h,p){let f=Array.prototype.slice.call(h.parentNode.children).indexOf(h);f-p-Math.floor(f/3)<e&&(l+=s(this).outerHeight(!0))}),t.n("results").css({height:l+"px"})}t.n("items").last().addClass("asp_last_item"),t.n("results").find(".asp_group_header").prev(".item").addClass("asp_last_item"),t.keywordHighlight()}if(t.resize(),t.n("items").length===0&&t.n("results").css({height:"auto"}),t.call_num<1&&(t.n("results").get(0).scrollTop=0),t.o.preventBodyScroll){let e,o=s("body"),i=o.css("overflow"),r=typeof o.attr("style")>"u";t.n("results").off("touchstart"),t.n("results").off("touchend"),t.n("results").on("touchstart",function(){clearTimeout(e),s("body").css("overflow","hidden")}).on("touchend",function(){clearTimeout(e),e=setTimeout(function(){r?s("body").removeAttr("style"):s("body").css("overflow",i)},300)})}t.addAnimation(),t.fixResultsPosition(!0),t.searching=!1};var _=null,d=c;Object(window.WPD).AjaxSearchPro=a.default})();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long