PageSourceSearch

https://providers.therapyforblackgirls.com/wp-content/themes/my-listing/assets/dist/frontend.js?ver=2.12

js therapyforblackgirls.com collected 2026-09-24 08:42:16 UTC 14,911 bytes, 1 lines download raw bytes

1!function(e){"function"==typeof define&&define.amd?define("frontend",e):e()}(function(){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var e,d=window.jQuery,t=d.fn.select2.amd.require("select2/defaults");function i(){e=Date.now()}d.extend(t.defaults,{dropdownPosition:"auto"}),(t=d.fn.select2.amd.require("select2/dropdown/attachBody")).prototype._positionDropdown,t.prototype._positionDropdown=function(){var e=d(window),t=this.$dropdown.hasClass("select2-dropdown--above"),i=this.$dropdown.hasClass("select2-dropdown--below"),s=null,n=this.$container.offset(),a=(n.bottom=n.top+this.$container.outerHeight(!1),{height:this.$container.outerHeight(!1)});a.top=n.top,a.bottom=n.top+a.height;var l=this.$dropdown.outerHeight(!1),o=e.scrollTop(),e=e.scrollTop()+e.height(),o=o<n.top-l,e=e>n.bottom+l,n={left:n.left,top:a.bottom},r=this.$dropdownParent,r=(r="static"===r.css("position")?r.offsetParent():r).offset(),c=(n.top-=r.top,n.left-=r.left,this.options.get("dropdownPosition"));"above"===c||"below"===c?s=c:(t||i||(s="below"),e||!o||t?!o&&e&&t&&(s="below"):s="above"),("above"==s||t&&"below"!==s)&&(n.top=a.top-r.top-l),null!=s&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+s),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+s)),this.$dropdownContainer.css(n)},MyListing.Select_Config={lastSearch:{},diacritics:{}
1,stripDiacritics:function(e){return e.replace(/[^\u0000-\u007E]/g,function(e){return MyListing.Select_Config.diacritics[e]||e})}},MyListing.CustomSelect=function(e,t){var i,s,n,a,l,o=this;this.el=jQuery(e),this.el.length&&(this.el.addClass("mlduo-select"),s=this.el.data("placeholder")?this.el.data("placeholder"):this.el.attr("placeholder")?this.el.attr("placeholder"):CASE27.l10n.selectOption,this.args=jQuery.extend({sortable:!0,selected:[],multiple:this.el.prop("multiple"),required:this.el.prop("required"),placeholder:s,tags:!!this.el.data("create-tags"),ajax:!!this.el.data("mylisting-ajax"),dropdownPosition:this.el.data("dropdown-position")||"auto"},t),!0===this.args.ajax&&(i="object"===r(this.el.data("mylisting-ajax-params"))?this.el.data("mylisting-ajax-params"):{},l={url:CASE27.mylisting_ajax_url+"&action="+this.el.data("mylisting-ajax-url"),dataType:"json",delay:250,cache:!0,data:function(e){return i.page=e.page||1,i.search=e.term,i.security=CASE27.ajax_nonce,i},processResults:function(e,t){return{results:e.results||[],pagination:{more:e.more}}}}),s=this.el[0].parentNode.classList.contains("explore-filter"),t=0<this.el.closest(".mylisting-basic-form").length,s={width:"100%",minimumResultsForSearch:10,multiple:this.args.multiple,allowClear:!!s||!this.args.required,placeholder:this.args.placeholder,dropdownPosition:this.args.dropdownPosition,ajax:"object"===r(l)?l:null,tags:this.args.tags,escapeMarkup:function(e){return e},createTag:function(e){e=jQuery.trim(e.term);return""===e?null:{id:e,text:e}},language:{errorLoading:function(){return CASE27.l10n.errorLoading},loadingMore:function(){return CASE27.l10n.loadingMore},noResults:function(){return CASE27.l10n.noResults},removeAllItems:function(){return CASE27.l10n.removeAllItems},searching:function(e){return MyListing.Select_Config.lastSearch=e,CASE27.l10n.searching}}},null!=(l=this.el.data("selection-limit"))&&0<parseInt(l,10)&&(s.maximumSelectionLength=parseInt(l,10)),l=null==(l=CASE27.select2_keep_open_multi)||l,this.args.multiple&&(s.closeOnSelect=!l),this.select=jQuery(e).select2(s),this.args.multiple&&t&&(o=this,(n=function(){var i,s,e,t=o.el.next(".select2-container").find(".select2-selection__rendered"),n=t.find(".select2-selection__choice"),a=(t.find(".ml-basicform-more, .ml-basicform-summary").remove(),o.el.val()||[]),l=a.length;0===l?n.show().css({display:"",position:""}):(n.hide(),i="",s=[],a.forEach(function(e,t){e=o.el.find('option[value="'+e+'"]').text()||e;s.push(e),0===t&&(i=e)}),n=i,a="",1<l&&(e=l-1,a=s.slice(1).join(", ")),l=1<l?(e=l-1,jQuery('<span class="ml-basicform-summary">'+n+' <span class="ml-basicform-more" title="'+a+'">+'+e+"</span></span>")):jQuery('<span class="ml-basicform-summary">'+n+"</span>"),(a=t.find(".select2-search__field").parent()).length?l.insertBefore(a):t.prepend(l))})(),this.select.on("change",function(){return setTimeout(n,0)}),this.el.on("select2:select select2:unselect select2:clear select2:open",function(){return setTimeout(n,0)})),a=this.el.next(".select2-container").first("ul.select2-selection__rendered"),jQuery(a).on("click touchstart",function(e){jQuery(e.target).hasClass("select2-selection__choice__remove")&&e.stopImmediatePropagation()}),jQuery.fn.sortable&&!t&&a.sortable({placeholder:"ui-state-highlight",forcePlaceholderSize:!0,items:"li:not(.select2-search__field)",tolerance:"pointer",containment:"parent",stop:function(){jQuery(a.find(".select2-selection__choice").get().reverse()).each(function(){var e;jQuery(this).data("data")&&(e=jQuery(this).data("data").id,e=o.el.find('option[value="'+e+'"]')[0],o.el.prepend(e))})}}),l=this.el.closest(".form-group").children("label").text(),this.el.next(".select2-container").find(".select2-selection__rendered").attr("title",l),this.select.on("change",this.fireChangeEvent.bind(this)))},MyListing.CustomSelect.prototype.fireChangeEvent=function(e){var t=document.createEvent("CustomEvent");t.initCustomEvent("select:change",!1,!0,{value:jQuery(e.currentTarget).val()}),this.el.get(0).dispatchEvent(t)},jQuery(function(s){function e(){s([".custom-select, .single-product .variations select","#buddypress div.item-list-tabs#subnav ul li select","#buddypress #notification-select","#wc_bookings_field_resource","#buddypress #messages-select","#buddypress form#whats-new-form #whats-new-options select",".settings.privacy-settings #buddypress #item-body > form > p select",".woocommerce-ordering select",".c27-submit-listing-form select:not(.ignore-custom-select)",".ml-admin-listing-form select:not(.ignore-custom-select)"].join(", ")).each(function(e,t){new MyListing.CustomSelect(t)})}s.fn.select2.amd.require(["select2/diacritics"],function(e){return MyListing.Select_Config.diacritics=e}),s.fn.select2.defaults.defaults&&(s.fn.select2.defaults.defaults.sorter=function(e){var i;return""===s.trim(MyListing.Select_Config.lastSearch.term)||(e=e.slice(0),i=MyListing.Select_Config.lastSearch.term||"",i=MyListing.Select_Config.stripDiacritics(i).toUpperCase(),e.sort(function(e,t){e=MyListing.Select_Config.stripDiacritics(e.text).toUpperCase(),t=MyListing.Select_Config.stripDiacritics(t.text).toUpperCase();return e.indexOf(i)-t.indexOf(i)})),e}),e(),s(document).on("mylisting:refresh-scripts",function(){e()}),s(".repeater").each(function(e,t){s(t).repeater({initEmpty:!0,show:function(){s(this).show();var e=null==(e=CASE27.select2_keep_open_multi)||e;s(this).find("select").select2({minimumResultsForSearch:0,closeOnSelect:!e})}}
1).setList(s(t).data("list"))})}),MyListing.TermHierarchy=function(e){this.input=jQuery(e),this.el=this.input.parent(),this.input.length&&this.el.hasClass("cts-term-hierarchy")&&(this.ajax_params=this.input.data("mylisting-ajax-params"),this.placeholder=this.input.data("placeholder"),this.selected=this.input.data("selected")||[],this.term_value="slug"===this.ajax_params["term-value"]?"slug":"id",this.label=this.el.find("> label"),this.originalLabel=this.label.length?this.label.html():"",this.labelTemplate='<span class="go-back-btn" data-index="%index%"><i class="mi keyboard_backspace"></i> %label%</span>',this.template="alternate"===this.input.data("template")?"alternate":"default",this.el.addClass("tpl-"+this.template),this.selected.length?this.handleDefaultValue():this.addChildSelect({index:0,select:null}),this.label.on("click",function(){var e=this.label.find(".go-back-btn");e.length&&(e=parseInt(e.data("index"),10),this.el.find(".select-wrapper.term-select-"+(e-1)+" .select2-selection__clear").mousedown())}.bind(this)),this.input.on("change",this.fireChangeEvent.bind(this)),this.addWrapperClasses())},MyListing.TermHierarchy.prototype.maybeAddChildSelect=function(t){var i=this,e=".term-select.term-select-"+t.index+", .term-select.term-select-"+t.index+" ~ .term-select";this.el.find(e).find("select").select2("destroy"),this.el.find(e).remove(),t.select.val()&&((e=jQuery.extend({},t.select.data("mylisting-ajax-params"),{page:1,security:CASE27.ajax_nonce,search:""}))["slug"===this.term_value?"parent":"parent_id"]=t.select.val(),this.el.addClass("cts-terms-loading"),jQuery.ajax({url:CASE27.mylisting_ajax_url+"&action=mylisting_list_terms",type:"GET",dataType:"json",data:e,beforeSend:function(e){t.select.data("last_request")&&t.select.data("last_request").abort(),t.select.data("last_request",e)},success:function(e){i.el.removeClass("cts-terms-loading"),"object"===r(e)&&e.results&&e.results.length&&i.addChildSelect(t)}}))},MyListing.TermHierarchy.prototype.addChildSelect=function(i){var e,s,t=jQuery('<div class="select-wrapper term-select term-select-'+i.index+'">            <select class="custom-select term-select" data-mylisting-ajax="true" data-mylisting-ajax-url="mylisting_list_terms">                <option></option>            </select>        </div>'),n=("alternate"===this.template&&t.find("select").data("dropdown-position","below"),0===i.index?(s=this.originalLabel,e=this.placeholder):(n=i.select.find('option[value="'+i.select.val()+'"]').text(),e=CASE27.l10n.all_in_category.replace("%s",n),s=this.labelTemplate.replace("%index%",i.index).replace("%label%",n)),this.updateLabel(s),jQuery.extend({},this.ajax_params)),n=(n["slug"===this.term_value?"parent":"parent_id"]=0===i.index?0:i.select.val(),t.find("select").data("mylisting-ajax-params",n).attr("placeholder",e),this.el.append(t),new MyListing.CustomSelect(t.find("select")),this.el.parents(".field-type-term-select"));return 0!==i.index&&n.length&&this.input.val("").trigger("change"),t.find("select").on("select:change",function(e){var t=i.select?i.select.val():"";this.input.val(e.detail.value||t).trigger("change"),this.updateLabel(s),this.maybeAddChildSelect({index:i.index+1,select:jQuery(e.target)})}.bind(this)),t},MyListing.TermHierarchy.prototype.handleDefaultValue=function(){var i=0,s=null,e=(this.selected.forEach(function(e){var t=this.addChildSelect({index:i,select:s});(s=t.find("select")).append('<option value="'+e.value+'">'+e.label+"</option>").val(e.value),i++}.bind(this)),s.trigger("change"),this.selected[this.selected.length-1]);this.updateLabel(this.labelTemplate.replace("%index%",this.selected.length-1).replace("%label%",e.label)),this.input.val(e.value).trigger("change")},MyListing.TermHierarchy.prototype.fireChangeEvent=function(e){var t=document.createEvent("CustomEvent");t.initCustomEvent("termhierarchy:change",!1,!0,{value:this.input.val()}),this.input.get(0).dispatchEvent(t),this.addWrapperClasses()},MyListing.TermHierarchy.prototype.updateLabel=function(e){"alternate"===this.template&&this.label.length&&this.label.html(e+'<div class="spin-box"></div>')},MyListing.TermHierarchy.prototype.addWrapperClasses=function(){var e=this.input.val().trim();this.el[e?"addClass":"removeClass"]("cts-term-filled")},jQuery(function(i){i(".term-hierarchy-input").each(function(e,t){new MyListing.TermHierarchy(i(this))})}),jQuery(document).ready(function(e){e(".main-loader").addClass("loader-hidden"),setTimeout(function(){e(".main-loader").hide()},600),e("body").addClass("c27-site-loaded")}),e=Date.now(),document.onmousemove=i,document.onkeydown=i,document.onmousedown=i,document.ontouchstart=i,document.onscroll=i,MyListing.Helpers.getLastActivity=function(){return Date.now()-e},jQuery.ajaxPrefilter(function(e,t,i){t&&t.data&&1===t.data.no_idle&&1e4<=MyListing.Helpers.getLastActivity()&&i.abort()}),MyListing.Handlers.Bookmark_Button=function(e,t){e.preventDefault();t=jQuery(t);if(!jQuery("body").hasClass("logged-in"))return window.location.href=CASE27.login_url;t.hasClass("bookmarking")||(e=CASE27.mylisting_ajax_url+"&action=bookmark_listing",t.addClass("bookmarking").toggleClass("bookmarked"),t.find(".action-label").html(t.hasClass("bookmarked")?t.data("active-label"):t.data("label")),jQuery.get(e,{listing_id:t.data("listing-id")},function(e){t.removeClass("bookmarking")}))},MyListing.Helpers.waitForAvailability=function(t,i){var e=2<arguments.length&&void 0!==arguments[2]?arguments[2]:15e3,s=!1,n=setInterval(function(){var e=t.split(".").reduce(function(e,t){return null==e?void 0:e[t]},window);void 0!==e&&e&&(clearInterval(n),s=!0,i())},30);setTimeout(function(){s||(clearInterval(n),console.warn("".concat(t," not available.")))},e)},MyListing.Helpers.loadScriptAndExecute=function(e,t,i){var s=3<arguments.length&&void 0!==arguments[3]?arguments[3]:15e3,e=document.getElementById(e);e&&!e.getAttribute("src")?(e.src=e.dataset.src,MyListing.Helpers.waitForAvailability(t,i,s)):i()},jQuery(document).ready(function(i){i("body").on("click",".c27-toggle-quick-view-modal",function(e){e.preventDefault(),MyListing.Helpers.loadScriptAndExecute("ml:quick-view-modal-js","openQuickViewModal",function(){window.openQuickViewModal(i,e)})});function e(){s||(s=!0,MyListing.Helpers.loadScriptAndExecute("ml:input-limit-js","MyListing.InputLimit.init",function(){return MyListing.InputLimit.init()}))}var t=i(".c27-submit-listing-form"),s=!1,n=t.find("input[minlength], input[maxlength], textarea[minlength], textarea[maxlength]").filter(function(){return 0<i(this).closest(".form-group, .form-field-wrapper").find(".field-char-counter").length});n.length&&(t.one("keyup",n,e),0<n.filter(function(e,t){return 0<i(t).val().length}).length)&&e()}),jQuery(document).ready(window.case27_ready_script=function(i){var e,t;i(document).trigger("mylisting:refresh-scripts"),"string"==typeof MyListing_Moment_Locale&&MyListing_Moment_Locale.length&&moment.locale(MyListing_Moment_Locale),e=null!=navigator.userAgent.match(/Android/i),t=null!=navigator.userAgent.match(/iPhone|iPad|iPod/i),e&&i("body").addClass("smartphoneuser"),t&&i("body").addClass("smartphoneuser iOSUser"),i("#ml-messages-modal, #quicksearch-mobile-modal").on("shown.bs.modal",function(){i("body").addClass("disable-scroll")}).on("hidden.bs.modal",function(){i("body").removeClass("disable-scroll")}
1),i(".modal-27").on("show.bs.modal",function(){i(this).addClass("show-modal")}),i(".modal-27").on("hidden.bs.modal",function(){i(this).removeClass("show-modal")}),i(".modal-27").on("hide.bs.modal",function(e){var t=i(this);t.hasClass("in")?(e.preventDefault(),t.removeClass("in"),i("body").addClass("modal-closing"),setTimeout(function(){t.modal("hide")},200)):(i("body").removeClass("modal-closing"),i("body").addClass("modal-closed"),setTimeout(function(){return i("body").removeClass("modal-closed")},100))})})});

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.