PageSourceSearch

https://www.zoom.com/dist/zoom.v1.7905.min.js?t=f699012a3b27d59b25aa

js zoom.com collected 2026-10-01 06:44:57 UTC 11,109 bytes, 3 lines download raw bytes

vendor: 4,106 bytes, lines 1-2
1/*! For license information please see zoom.v1.7905.min.js.LICENSE.txt */
2"use strict";(self.webpackChunk_hero_digital_zoom=self.webpackChunk_hero_digital_zoom||[]).push([[7905],{7905(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 o(t){return function(t){if(Array.isArray(t))return i(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var n={}.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}}(t)||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.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function a(){var t=d(),e=t.m(a),n=(Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__).constructor;function r(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===n||"GeneratorFunction"===(e.displayName||e.name))}var o={throw:1,return:2,break:3,continue:3};function i(t){var e,n;return function(r){e||(e={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(t,e){return n(r.a,o[t],e)},delegateYield:function(t,o,i){return e.resultName=o,n(r.d,u(t),i)},finish:function(t){return n(r.f,t)}},n=function(t,n,o){r.p=e.prev,r.n=e.next;try{return t(n,o)}finally{e.next=r.n}}),e.resultName&&(e[e.resultName]=r.v,e.resultName=void 0),e.sent=r.v,e.next=r.n;try{return t.call(this,e)}finally{r.p=e.prev,r.n=e.next}}}return(a=function(){return{wrap:function(e,n,r,o){return t.w(i(e),n,r,o&&o.reverse())},isGeneratorFunction:r,mark:t.m,awrap:function(t,e){return new h(t,e)},AsyncIterator:f,async:function(t,e,n,o,a){return(r(e)?s:l)(i(t),e,n,o,a)},keys:c,values:u}})()}function u(t){if(null!=t){var e=t["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}throw new TypeError(r(t)+" is not iterable")}function c(t){var e=Object(t),n=[];for(var r in e)n.unshift(r);return function t(){for(;n.length;)if((r=n.pop())in e)return t.value=r,t.done=!1,t;return t.done=!0,t}}function l(t,e,n,r,o){var i=s(t,e,n,r,o);return i.next().then(function(t){return t.done?t.value:i.next()})}function s(t,e,n,r,o){return new f(d().w(t,e,n,r),o||Promise)}function f(t,e){function n(r,o,i,a){try{var u=t[r](o),c=u.value;return c instanceof h?e.resolve(c.v).then(function(t){n("next",t,i,a)},function(t){n("throw",t,i,a)}):e.resolve(c).then(function(t){u.value=t,i(u)},function(t){return n("throw",t,i,a)})}catch(t){a(t)}}var r;this.next||(p(f.prototype),p(f.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),p(this,"_invoke",function(t,o,i){function a(){return new e(function(e,r){n(t,i,e,r)})}return r=r?r.then(a,a):a()},!0)}function d(){var t,e,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof u?r:u,l=Object.create(c.prototype);return p(l,"_invoke",function(n,r,o){var i,u,c,l=0,s=o||[],f=!1,d={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(e,n){return i=e,u=0,c=t,d.n=n,a}};function p(n,r){for(u=n,c=r,e=0;!f&&l&&!o&&e<s.length;e++){var o,i=s[e],p=d.p,h=i[2];n>3?(o=h===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=t):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,d.n=h,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,s,h){if(l>1)throw TypeError("Generator is already running");for(f&&1===s&&p(s,h),u=s,c=h;(e=u<2?t:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);
2try{if(l=2,i){if(u||(o="next"),e=i[o]){if(!(e=e.call(i,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,u<2&&(u=0)}else 1===u&&(e=i.return)&&e.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=t}else if((e=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(e){i=t,u=1,c=e}finally{l=1}}return{value:e,done:f}}}(n,o,i),!0),l}var a={};function u(){}function c(){}function l(){}e=Object.getPrototypeOf;var s=[][r]?e(e([][r]())):(p(e={},r,function(){return this}),e),f=l.prototype=u.prototype=Object.create(s);function h(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,p(t,o,"GeneratorFunction")),t.prototype=Object.create(f),t}return c.prototype=l,p(f,"constructor",l),p(l,"constructor",c),c.displayName="GeneratorFunction",p(l,o,"GeneratorFunction"),p(f),p(f,o,"Generator"),p(f,r,function(){return this}),p(f,"toString",function(){return"[object Generator]"}),(d=function(){return{w:i,m:h}})()}function p(t,e,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}p=function(t,e,n,r){function i(e,n){p(t,e,function(t){return this._invoke(e,n,t)})}e?o?o(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(i("next",0),i("throw",1),i("return",2))},p(t,e,n,r)}function h(t,e){this.v=t,this.k=e}function v(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function y(t){return function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function a(t){v(i,r,o,a,u,"next",t)}function u(t){v(i,r,o,a,u,"throw",t)}a(void 0)})}}function m(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,g(r.key),r)}}function b(t,e,n){return(e=g(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function g(t){var e=function(t){if("object"!=r(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==r(e)?e:e+""}n.r(e),n.d(e,{default:()=>_});var k=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.el=e,this.cta=this.el.querySelector(".take-back-lunch-lp__ticker-cta"),this.counter=this.el.querySelector(".take-back-lunch-lp__ticker-counter"),this.pledged="1"===localStorage.getItem(t.PLEDGE_KEY),this.pledged&&this._disableCta(),null===(n=this.cta)||void 0===n||n.addEventListener("click",this.handlePledge.bind(this)),this._fetchCount()}return e=t,n=[{key:"_fetchCount",value:(i=y(a().mark(function e(){var n,r,o;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch(t.PledgeCountUrl);case 3:if((n=e.sent).ok){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,n.json();case 8:return r=e.sent,o=r.count,e.next=12,this._updateCounterWithAnimation(o);case 12:e.next=17;break;case 14:e.prev=14,e.t0=e.catch(0),console.warn("[TakeBackLunchLP] _fetchCount failed:",e.t0);case 17:case"end":return e.stop()}},e,this,[[0,14]])})),function(){return i.apply(this,arguments)})},{key:"handlePledge",value:(r=y(a().mark(function e(n){var r,o,i;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n.preventDefault(),!this.pledged){e.next=3;break}return e.abrupt("return");case 3:return this.pledged=!0,e.prev=4,e.next=7,fetch(t.PledgeApiUrl,{method:"POST"});case 7:if(e.sent.ok){e.next=10;break}throw new Error("POST failed");case 10:return e.next=12,fetch(t.PledgeCountUrl);case 12:if((r=e.sent).ok){e.next=15;break}throw new Error("GET count failed");case 15:return e.next=17,r.json();case 17:return o=e.sent,i=o.count,e.next=21,this._updateCounterWithAnimation(i);case 21:localStorage.setItem(t.PLEDGE_KEY,"1"),e.next=29;break;case 24:return e.prev=24,e.t0=e.catch(4),console.warn("[TakeBackLunchLP] handlePledge failed:",e.t0),this.pledged=!1,e.abrupt("return");case 29:this._disableCta();case 30:case"end":return e.stop()}}
2,e,this,[[4,24]])})),function(t){return r.apply(this,arguments)})},{key:"_updateCounterWithAnimation",value:function(e){var n=this;if(!this.counter)return Promise.resolve();var r=t.MIN_DIGITS,i=t.STAGGER_MS,a=t.digitCls,u=t.valueCls,c=window.matchMedia("(prefers-reduced-motion: reduce)").matches,l=String(e).padStart(r,"0"),s=o(this.el.querySelectorAll(".".concat(a)));if(this.counter.setAttribute("aria-label","".concat(e," lunches saved")),s.length<l.length)return this._rebuildCounter(l),Promise.resolve();if(c)return s.forEach(function(t,e){var n,r=t.querySelector(".".concat(u));r&&(r.textContent=null!==(n=l[e])&&void 0!==n?n:"0")}),Promise.resolve();var f=s.map(function(t){var e,n;return null!==(e=null===(n=t.querySelector(".".concat(u)))||void 0===n||null===(n=n.textContent)||void 0===n?void 0:n.trim())&&void 0!==e?e:"0"}).join(""),d=o(l).map(function(t,e){return t!==f[e]?e:null}).filter(function(t){return null!=t}).reverse();return Promise.all(d.map(function(t,e){return n._rollDigit(s[t],s[t].querySelector(".".concat(u)),l[t],e*i)}))}},{key:"_rollDigit",value:function(e,n,r,o){var i=t.valueCls,a=t.ANIM_TIMEOUT;return new Promise(function(t){setTimeout(function(){if(!n)return t();var o=document.createElement("span");o.className="".concat(i," ").concat(i,"--entering"),o.textContent=r,o.style.cssText="position:absolute;inset:0;display:flex;align-items:center;justify-content:center;",e.appendChild(o),n.classList.add("".concat(i,"--exiting"));var u=!1,c=function(){u||(u=!0,n.textContent=r,n.classList.remove("".concat(i,"--exiting")),o.remove(),t())},l=setTimeout(c,a);o.addEventListener("animationend",function(){clearTimeout(l),c()},{once:!0})},o)})}},{key:"_rebuildCounter",value:function(e){var n=t.digitCls,r=t.valueCls,i=t.dividerCls,a=document.createDocumentFragment();o(e).forEach(function(t,o){var u=document.createElement("div");u.className=n;var c=document.createElement("span");if(c.className=r,c.textContent=t,u.appendChild(c),a.appendChild(u),o<e.length-1){var l=document.createElement("div");l.className=i,l.setAttribute("aria-hidden","true"),a.appendChild(l)}}),this.counter.replaceChildren(a)}},{key:"_disableCta",value:function(){this.cta&&(this.cta.setAttribute("disabled","true"),this.cta.setAttribute("aria-disabled","true"),this.cta.classList.add("take-back-lunch-lp__ticker-cta--disabled"))}}],n&&m(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,n,r,i}();b(k,"MIN_DIGITS",4),b(k,"STAGGER_MS",60),b(k,"ANIM_TIMEOUT",400),b(k,"PLEDGE_KEY","tbl-pledged"),b(k,"PledgeApiUrl","/api/zoomahead/pledge"),b(k,"PledgeCountUrl","/api/zoomahead/pledge/count"),b(k,"digitCls","take-back-lunch-lp__ticker-digit"),b(k,"valueCls","take-back-lunch-lp__ticker-digit-value"),b(k,"dividerCls","take-back-lunch-lp__ticker-divider");const _=k}}]);
3//# sourceMappingURL=zoom.v1.7905.min.js.map?t=f699012a3b27d59b25aa

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.