PageSourceSearch

https://lefooding.com/_nuxt/2a64dd7.modern.js

js lefooding.com collected 2026-10-01 11:36:41 UTC 9,191 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[2,33,73],{503:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var r=(input,t)=>{var e=input.map((e=>{var n=Array.isArray(e)?e:e.split(",").map(Number);return"hex"===t.format?c(n):n}));return 1===t.amount||1===e.length?e[0]:e},o=(t,e)=>{var n=Math.round(t/e)*e;return Math.min(n,255)},c=t=>"#"+t.map((t=>{var e=t.toString(16);return 1===e.length?"0"+e:e})).join(""),h=(data,t)=>{for(var e=4*t.sample,n={},i=0;i<data.length;i+=e){var c=[o(data[i],t.group),o(data[i+1],t.group),o(data[i+2],t.group)].join();n[c]=n[c]?n[c]+1:1}return r(Object.entries(n).sort((([t,e],[n,r])=>e>r?-1:1)).slice(0,t.amount).map((([t])=>t)),t)},f=(t,e,n)=>new Promise(((r,o)=>{return(c=(t=>"string"==typeof t?t:t.src)(e),new Promise(((t,e)=>{var canvas=document.createElement("canvas"),n=canvas.getContext("2d"),img=new Image;img.onload=()=>{canvas.height=img.height,canvas.width=img.width,n.drawImage(img,0,0);var data=n.getImageData(0,0,img.width,img.height).data;t(data)},img.onerror=()=>e(Error("Image loading failed.")),img.crossOrigin="",img.src=c}))).then((data=>r(t(data,(({amount:t=3,format:e="array",group:n=20,sample:r=10}={})=>({amount:t,format:e,group:n,sample:r}))(n))))).catch((t=>o(t)));var c})),d=(t,e)=>f(h,t,e)},510:function(t,e,n){"use strict";(function(t){var n=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,r){return t[0]===e&&(n=r,!0)})),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];t.call(e,o[1],o[0])}},e}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==t&&t.Math===Math?t:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),c="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)};var h=["top","right","bottom","left","width","height","size","weight"],f="undefined"!=typeof MutationObserver,d=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,o=0;function h(){n&&(n=!1,t()),r&&d()}function f(){c(h)}function d(){var t=Date.now();if(n){if(t-o<2)return;r=!0}else n=!0,r=!1,setTimeout(f,e);o=t}return d}(this.refresh.bind(this),20)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),f?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;h.some((function(t){return!!~n.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=ne
vendor: 4,500 bytes, line 1
1w t),this.instance_},t.instance_=null,t}(),v=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];Object.defineProperty(t,o,{value:e[o],enumerable:!1,writable:!1,configurable:!0})}return t},l=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||o},_=M(0,0,0,0);function m(t){return parseFloat(t)||0}function y(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){return e+m(t["border-"+n+"-width"])}),0)}function w(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return _;var r=l(t).getComputedStyle(t),o=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],c=t["padding-"+o];e[o]=m(c)}return e}(r),c=o.left+o.right,h=o.top+o.bottom,f=m(r.width),d=m(r.height);if("border-box"===r.boxSizing&&(Math.round(f+c)!==e&&(f-=y(r,"left","right")+c),Math.round(d+h)!==n&&(d-=y(r,"top","bottom")+h)),!function(t){return t===l(t).document.documentElement}(t)){var v=Math.round(f+c)-e,w=Math.round(d+h)-n;1!==Math.abs(v)&&(f-=v),1!==Math.abs(w)&&(d-=w)}return M(o.left,o.top,f,d)}var E="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof l(t).SVGGraphicsElement}:function(t){return t instanceof l(t).SVGElement&&"function"==typeof t.getBBox};function O(t){return r?E(t)?function(t){var e=t.getBBox();return M(0,0,e.width,e.height)}(t):w(t):_}function M(t,e,n,r){return{x:t,y:e,width:n,height:r}}var A=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=M(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var rect=O(this.target);return this.contentRect_=rect,rect.width!==this.broadcastWidth||rect.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var rect=this.contentRect_;return this.broadcastWidth=rect.width,this.broadcastHeight=rect.height,rect},t}(),T=function(t,e){var n,r,o,c,h,f,rect,d=(r=(n=e).x,o=n.y,c=n.width,h=n.height,f="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,rect=Object.create(f.prototype),v(rect,{x:r,y:o,width:c,height:h,top:o,right:r+c,bottom:h+o,left:r}),rect);v(this,{target:t,contentRect:d})},x=function(){function t(t,e,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=r}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof l(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new A(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof l(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new T(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),R="undefined"!=typeof WeakMap?new WeakMap:new n,j=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=d.getInstance(),r=new x(e,n,this);R.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){j.prototype[t]=function(){var e;return(e=R.get(this))[t].apply(e,arguments)}}));var k=void 0!==o.ResizeObserver?o.ResizeObserver:j;e.a=k}).call(this,n(43))},514:function(t,e,n){"use strict";var r=n(6),o=n(10),c=n(169),h=o([].reverse),f=[1,2];r({target:"Array",proto:!0,forced:String(f)===String(f.reverse())},{reverse:function(){return c(this)&&(this.length=this.length),h(this)}})}}]);

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.