PageSourceSearch

https://www.webstaurantstore.com/build/client/4947.09d7457f221b7c84c369.bundle.js

js webstaurantstore.com collected 2026-09-24 08:30:55 UTC 5,308 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8b651202-67d4-4174-954a-968c9dcb4b10",e._sentryDebugIdIdentifier="sentry-dbid-8b651202-67d4-4174-954a-968c9dcb4b10")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"2026-23-Sep_07H-09M-57S_GMT-04:00"},(self.webpackChunkwebstaurantstore=self.webpackChunkwebstaurantstore||[]).push([[4947],{4947:(e,n,r)=>{r.r(n),r.d(n,{default:()=>f});var t=r(62540),o=r(63696),a=r(50437),i=r(41460),l=r(14101);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var r=0,t=new Array(n);r<n;r++)t[r]=e[r];return t}function s(e,n,r,t,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void r(e)}l.done?n(c):Promise.resolve(c).then(t,o)}function d(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var t,o,a=[],i=!0,l=!1;try{for(r=r.call(e);!(i=(t=r.next()).done)&&(a.push(t.value),!n||a.length!==n);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(l)throw o}}return a}}(e,n)||function(e,n){if(!e)return;if("string"==typeof e)return c(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,n)}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var u=function(e,n){var r,t,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(a){return function(l){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;i;)try{if(r=1,t&&(o=2&a[0]?t.return:a[0]?t.throw||((o=t.return)&&o.call(t),0):t.next)&&!(o=o.call(t,a[1])).done)return o;switch(t=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,t=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=n.call(e,i)}catch(e){a=[6,e],t=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}};function f(){var e,n,r=d((0,o.useState)(!1),2),c=r[0],f=r[1],w=(0,o.createRef)(),b=(e=function(){var e;return u(this,(function(n){switch(n.label){case 0:return null==w.current?[2]:(f(!0),[4,w.current.tokenizePaymentMethod(3e4)]);case 1:return(e=n.sent()).completedTokenizationAttempt?(e.isSuccessful?window.location.href="".concat(window.location.origin).concat(window.location.pathname,"?saved=1"):e.suggestVerifyInformation?window.location.href="".concat(window.location.origin).concat(window.location.pathname,"?err=14"):window.location.href="".concat(window.location.origin).concat(window.location.pathname,"?err=10"),[2]):(f(!1),[2])}}))},n=function(){var n=this,r=arguments;return new Promise((function(t,o){var a=e.apply(n,r);function i(e){s(a,t,o,i,l,"next",e)}function l(e){s(a,t,o,i,l,"throw",e)}i(void 0)}))},function(){return n.apply(this,arguments)}),y=new a.aC(new a.Dj("https://tokenizer.".concat(i.Ay.domainWithEnvironment)),new a.mi("".concat(window.location.origin,"/myaccount:usercard/createrenderformtoken/"),"".concat(window.location.origin,"/myaccount:usercard/createtokenizecardtoken/"),"".concat(window.location.origin,"/myaccount:usercard/validatetokenizecardresulttoken/")));return(0,t.jsx)("div",{className:"payment-form__container mt-2 w-full border-none",children:(0,t.jsxs)(a.Ay,{setNewCardAsDefault:!0,serviceCollection:y,containerStyle:{},ref:w,children:[(0,t.jsx)(a.NE,{children:(0,t.jsx)("div",{children:(0,t.jsxs)("div",{className:"flex animate-pulse flex-wrap py-1",children:[(0,t.jsx)("div",{className:"mb-2 h-10 w-full rounded bg-gray-200"}),(0,t.jsx)("div",{className:"mb-2 h-10 w-full rounded bg-gray-200"}),(0,t.jsxs)("div",{className:"-mr-2 flex w-full",children:[(0,t.jsx)("div",{className:"mb-2 h-10 w-1/3 rounded bg-gray-200"}),(0,t.jsx)("div",{className:"mb-2 ml-2 h-10 w-1/3 rounded bg-gray-200"}),(0,t.jsx)("div",{className:"mb-2 ml-2 h-10 w-1/3 rounded bg-gray-200"})]})]})})}),(0,t.jsx)(a.Eb,{children:(0,t.jsx)("div",{children:(0,t.jsx)("p",{className:"rounded border border-solid border-red-300 bg-red-200 p-2 text-center text-sm text-red-900",children:"Unable to load credit card form"})})}),(0,t.jsxs)(a.L_,{contentStatuses:[a.TN.Loaded],children:[(0,t.jsx)("div",{className:"clearfix"}
1),(0,t.jsx)(l.$n,{variant:"green",onClick:b,disabled:c,className:"m-1",theme:"wss",size:"small",children:"SAVE NEW CARD"})]})]})})}}}]);
2//# sourceMappingURL=4947.09d7457f221b7c84c369.bundle.js.map

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.