PageSourceSearch

https://www.lionheart.vc/app/themes/lionheart-ventures/assets/js/235.9decadb83c0876e6aebe.min.js

js lionheart.vc collected 2026-09-29 03:03:56 UTC 3,793 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunklionheart_ventures=self.webpackChunklionheart_ventures||[]).push([[235],{9235:(t,e,n)=>{function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,s(r.key),r)}}function s(t){var e=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,"string");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==r(e)?e:String(e)}n.r(e),n.d(e,{Dropdown:()=>c});var c=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.element=e,this.selected=e.querySelector(".js-dropdown-selected"),this.item=e.querySelector(".js-dropdown"),this.list=e.querySelector(".js-dropdown-list"),this.listItems=function(t){if(Array.isArray(t))return i(t)}(n=e.querySelectorAll(".js-dropdown-list-item"))||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(t,e):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),this.clearIcon=e.querySelector(".js-clear"),this.downIcon=e.querySelector(".js-dropdown-icon"),this.eventListeners()}var e,n;return e=t,(n=[{key:"eventListeners",value:function(){var t=this;window.addEventListener("click",(function(e){return t.closeDropdown(e)})),window.addEventListener("resize",this.onResize.bind(this)),this.listItems.forEach((function(e){e.addEventListener("click",(function(e){return t.makeSelected(e)}))})),this.item.addEventListener("click",(function(e){return t.toggleDropdown(e)})),this.clearIcon.addEventListener("click",(function(e){return t.clear(e)}))}},{key:"onResize",value:function(){window.innerWidth>="1023"&&(this.openDropdown(),this.list.removeAttribute("style"),this.list.classList.remove("active"))}},{key:"toggleDropdown",value:function(t){t.stopPropagation(),this.list.classList.contains("active")?this.closeDropdown():this.openDropdown()}},{key:"makeSelected",value:function(t){this.listItems.forEach((function(t){t.removeAttribute("data-selected","true")})),t.currentTarget.setAttribute("data-selected","true"),this.setSelected()}},{key:"setSelected",value:function(){var t=this;this.listItems.forEach((function(e){"true"===e.getAttribute("data-selected")&&(t.selected.innerText=e.innerText)})),this.clearIcon.classList.remove("hidden"),this.downIcon.classList.add("hidden")}},{key:"clear",value:function(t){t.stopPropagation(),this.selected.innerText=this.selected.getAttribute("data-placeholder"),this.clearIcon.classList.add("hidden"),this.downIcon.classList.remove("hidden")}},{key:"openDropdown",value:function(){this.list.style.height="".concat(this.list.scrollHeight,"px"),this.list.classList.add("active")}},{key:"closeDropdown",value:function(){window.innerWidth<"1023"&&(this.list.style.height="0px",this.list.classList.remove("active"))}}])&&o(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),t}()}}]);

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.