/******/ (function() { // webpackBootstrap /******/ "use strict"; /******/ // The require scope /******/ var __webpack_require__ = {}; /******/ /************************************************************************/ /******/ /* webpack/runtime/define property getters */ /******/ !function() { /******/ // define getter functions for harmony exports /******/ __webpack_require__.d = function(exports, definition) { /******/ for(var key in definition) { /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } /******/ } /******/ }; /******/ }(); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ /******/ !function() { /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); } /******/ }(); /******/ /************************************************************************/ var __webpack_exports__ = {}; // EXPORTS __webpack_require__.d(__webpack_exports__, { "default": function() { return /* binding */ asp_autocomplete; } }); ;// external "AjaxSearchPro" var external_AjaxSearchPro_namespaceObject = Object(window.WPD)["AjaxSearchPro"]; ;// external "DoMini" var external_DoMini_namespaceObject = Object(window.WPD)["DoMini"]; ;// ./src/client/plugin/core/actions/autocomplete.js "use strict"; external_AjaxSearchPro_namespaceObject.plugin.autocompleteCheck = function(val = "") { if (this.n("text").val() === "") { this.n("textAutocomplete").val(""); return false; } let autocompleteVal = this.n("textAutocomplete").val(); return !(autocompleteVal !== "" && autocompleteVal.indexOf(val) === 0); }; external_AjaxSearchPro_namespaceObject.plugin.autocomplete = function() { let $this = this, val = $this.n("text").val(); if (!$this.autocompleteCheck(val)) { return; } if ($this.n("text").val().length >= $this.o.autocomplete.trigger_charcount) { let data = { action: "ajaxsearchpro_autocomplete", asid: $this.o.id, sauto: $this.n("text").val(), asp_inst_id: $this.o.rid, options: external_DoMini_namespaceObject("form", $this.n("searchsettings")).serialize() }; $this.postAuto = external_DoMini_namespaceObject.fn.ajax({ "url": ASP.ajaxurl, "method": "POST", "data": data, "success": function(response) { if (response.length > 0) { response = external_DoMini_namespaceObject("