PageSourceSearch

https://www.joinkudos.com/9344.27f91715600da814c831.js

js joinkudos.com collected 2026-10-01 12:25:56 UTC 11,701 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4ba0a83d-14aa-4331-959d-c9ebf685dd92",e._sentryDebugIdIdentifier="sentry-dbid-4ba0a83d-14aa-4331-959d-c9ebf685dd92")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"88a9894b917f3c78b775b93656a9d0a952e3919c"},(self.webpackChunkkudos_portal=self.webpackChunkkudos_portal||[]).push([[9344],{1873:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.clone=void 0,t.clone=function(e){return e?JSON.parse(JSON.stringify(e)):null}},3672:function(e,t,r){var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.expirationDate=void 0;var i=r(45440),a=r(55832),o=r(77893);function s(e,t,r,n){return{isValid:e,isPotentiallyValid:t,month:r,year:n}}t.expirationDate=function(e,t){var r;if("string"==typeof e)e=e.replace(/^(\d\d) (\d\d(\d\d)?)$/,"$1/$2"),r=i.parseDate(String(e));else{if(null===e||"object"!=typeof e)return s(!1,!1,null,null);var l=n({},e);r={month:String(l.month),year:String(l.year)}}var u=a.expirationMonth(r.month),d=o.expirationYear(r.year,t);if(u.isValid){if(d.isCurrentYear){var c=u.isValidForThisYear;return s(c,c,r.month,r.year)}if(d.isValid)return s(!0,!0,r.month,r.year)}return u.isPotentiallyValid&&d.isPotentiallyValid?s(!1,!0,null,null):s(!1,!1,null,null)}},8632:e=>{e.exports={visa:{niceType:"Visa",type:"visa",patterns:[4],gaps:[4,8,12],lengths:[16,18,19],code:{name:"CVV",size:3}},mastercard:{niceType:"Mastercard",type:"mastercard",patterns:[[51,55],[2221,2229],[223,229],[23,26],[270,271],2720],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}},"american-express":{niceType:"American Express",type:"american-express",patterns:[34,37],gaps:[4,10],lengths:[15],code:{name:"CID",size:4}},"diners-club":{niceType:"Diners Club",type:"diners-club",patterns:[[300,305],36,38,39],gaps:[4,10],lengths:[14,16,19],code:{name:"CVV",size:3}},discover:{niceType:"Discover",type:"discover",patterns:[6011,[644,649],65],gaps:[4,8,12],lengths:[16,19],code:{name:"CID",size:3}},jcb:{niceType:"JCB",type:"jcb",patterns:[2131,1800,[3528,3589]],gaps:[4,8,12],lengths:[16,17,18,19],code:{name:"CVV",size:3}},unionpay:{niceType:"UnionPay",type:"unionpay",patterns:[620,[624,626],[62100,62182],[62184,62187],[62185,62197],[62200,62205],[622010,622999],622018,[622019,622999],[62207,62209],[622126,622925],[623,626],6270,6272,6276,[627700,627779],[627781,627799],[6282,6289],6291,6292,810,[8110,8131],[8132,8151],[8152,8163],[8164,8171]],gaps:[4,8,12],lengths:[14,15,16,17,18,19],code:{name:"CVN",size:3}},maestro:{niceType:"Maestro",type:"maestro",patterns:[493698,[5e5,504174],[504176,506698],[506779,508999],[56,59],63,67,6],gaps:[4,8,12],lengths:[12,13,14,15,16,17,18,19],code:{name:"CVC",size:3}},elo:{niceType:"Elo",type:"elo",patterns:[401178,401179,438935,457631,457632,431274,451416,457393,504175,[506699,506778],[509e3,509999],627780,636297,636368,[650031,650033],[650035,650051],[650405,650439],[650485,650538],[650541,650598],[650700,650718],[650720,650727],[650901,650978],[651652,651679],[655e3,655019],[655021,655058]],gaps:[4,8,12],lengths:[16],code:{name:"CVE",size:3}},mir:{niceType:"Mir",type:"mir",patterns:[[2200,2204]],gaps:[4,8,12],lengths:[16,17,18,19],code:{name:"CVP2",size:3}},hiper:{niceType:"Hiper",type:"hiper",patterns:[637095,63737423,63743358,637568,637599,637609,637612],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}},hipercard:{niceType:"Hipercard",type:"hipercard",patterns:[606282],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}}}},10640:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.findBestMatch=void 0,t.findBestMatch=function(e){return function(e){var t=e.filter(function(e){return e.matchStrength}).length;return t>0&&t===e.length}(e)?e.reduce(function(e,t){return e?Number(e.matchStrength)<Number(t.matchStrength)?t:e:t}):null}},10924:(e,t)=>
vendor: 7,357 bytes, lines 1-2
1{Object.defineProperty(t,"__esModule",{value:!0}),t.cardholderName=void 0;var r=/^[\d\s-]*$/;function n(e,t){return{isValid:e,isPotentiallyValid:t}}t.cardholderName=function(e){return"string"!=typeof e?n(!1,!1):0===e.length?n(!1,!0):e.length>255?n(!1,!1):r.test(e)?n(!1,!0):n(!0,!0)}},16081:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isValidInputType=void 0,t.isValidInputType=function(e){return"string"==typeof e||e instanceof String}},18289:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.cvv=void 0;function r(e,t){return{isValid:e,isPotentiallyValid:t}}t.cvv=function(e,t){return void 0===t&&(t=3),t=t instanceof Array?t:[t],"string"!=typeof e?r(!1,!1):/^\d*$/.test(e)?function(e,t){for(var r=0;r<e.length;r++)if(t===e[r])return!0;return!1}(t,e.length)?r(!0,!0):e.length<Math.min.apply(null,t)?r(!1,!0):e.length>function(e){for(var t=3,r=0;r<e.length;r++)t=e[r]>t?e[r]:t;return t}(t)?r(!1,!1):r(!0,!0):r(!1,!1)}},19344:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=(this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t})(r(39264)),o=r(10924),s=r(36816),l=r(3672),u=r(55832),d=r(77893),c=r(18289),p=r(21947),f={creditCardType:a,cardholderName:o.cardholderName,number:s.cardNumber,expirationDate:l.expirationDate,expirationMonth:u.expirationMonth,expirationYear:d.expirationYear,cvv:c.cvv,postalCode:p.postalCode};e.exports=f},20418:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=void 0,t.isArray=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},21947:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.postalCode=void 0;function r(e,t){return{isValid:e,isPotentiallyValid:t}}t.postalCode=function(e,t){void 0===t&&(t={});var n=t.minLength||3;return"string"!=typeof e?r(!1,!1):e.length<n?r(!1,!0):r(!0,!0)}},36816:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.cardNumber=void 0;var n=r(62689),i=r(39264);function a(e,t,r){return{card:e,isPotentiallyValid:t,isValid:r}}t.cardNumber=function(e,t){var r,o;if(void 0===t&&(t={}),"string"!=typeof e&&"number"!=typeof e)return a(null,!1,!1);var s=String(e).replace(/-|\s/g,"");if(!/^\d*$/.test(s))return a(null,!1,!1);var l=i(s);if(0===l.length)return a(null,!1,!1);if(1!==l.length)return a(null,!0,!1);var u=l[0];if(t.maxLength&&s.length>t.maxLength)return a(u,!1,!1);r=u.type===i.types.UNIONPAY&&!0!==t.luhnValidateUnionPay||n(s),o=Math.max.apply(null,u.lengths),t.maxLength&&(o=Math.min(t.maxLength,o));for(var d=0;d<u.lengths.length;d++)if(u.lengths[d]===s.length)return a(u,s.length<o||r,r);return a(u,s.length<o,!1)}},39264:function(e,t,r){var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)},i=r(8632),a=r(76060),o=r(16081),s=r(10640),l=r(1873),u={},d={VISA:"visa",MASTERCARD:"mastercard",AMERICAN_EXPRESS:"american-express",DINERS_CLUB:"diners-club",DISCOVER:"discover",JCB:"jcb",UNIONPAY:"unionpay",MAESTRO:"maestro",ELO:"elo",MIR:"mir",HIPER:"hiper",HIPERCARD:"hipercard"},c=[d.VISA,d.MASTERCARD,d.AMERICAN_EXPRESS,d.DINERS_CLUB,d.DISCOVER,d.JCB,d.UNIONPAY,d.MAESTRO,d.ELO,d.MIR,d.HIPER,d.HIPERCARD],p=l.clone(c);function f(e){return u[e]||i[e]}function h(e,t){void 0===t&&(t=!1);var r=p.indexOf(e);if(!t&&-1===r)throw new Error('"'+e+'" is not a supported card type.');return r}function g(e){var t=[];if(!o.isValidInputType(e))return t;if(0===e.length)return p.map(function(e){return l.clone(f(e))});p.forEach(function(r){var n=f(r);a.addMatchingCardsToResults(e,n,t)});var r=s.findBestMatch(t);return r?[r]:t}g.getTypeInfo=function(e){return l.clone(f(e))},g.removeCard=function(e){var t=h(e);p.splice(t,1)},g.addCard=function(e){var t=h(e.type,!0);u[e.type]=e,-1===t&&p.push(e.type)},g.updateCard=function(e,t){var r=u[e]||i[e];if(!r)throw new Error('"'+e+"\" is not a recognized type. Use `addCard` instead.'");if(t.type&&r.type!==t.type)throw new Error("Cannot overwrite type parameter.");var a=l.clone(r);a=n(n({},a),t),u[a.type]=a},g.changeOrder=function(e,t){var r=h(e);p.splice(r,1),p.splice(t,0,e)},g.resetModifications=function(){p=l.clone(c),u={}},g.types=d,e.exports=g},45440:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.parseDate=void 0;var n=r(77893),i=r(20418);t.parseDate=function(e){var t;if(/^\d{4}-\d{1,2}$/.test(e)?t=e.split("-").reverse():/\//.test(e)?t=e.split(/\s*\/\s*/g):/\s/.test(e)&&(t=e.split(/ +/g)),i.isArray(t))return{month:t[0]||"",year:t.slice(1).join()};var r,a,o,s=(r=e,0===(o=Number(r[0]))?2:o>1||1===o&&Number(r[1])>2?1:1===o?(a=r.substr(1),n.expirationYear(a).isPotentiallyValid?1:2):5===r.length?1:r.length>5?2:1),l=e.substr(0,s);return{month:l,year:e.substr(l.length)}}},55832:(e,t)=>{function r(e,t,r){return{isValid:e,isPotentiallyValid:t,isValidForThisYear:r||!1}}Object.defineProperty(t,"__esModule",{value:!0}),t.expirationMonth=void 0,t.expirationMonth=function(e){var t=(new Date).getMonth()+1;if("string"!=typeof e)return r(!1,!1);if(""===e.replace(/\s/g,"")||"0"===e)return r(!1,!0);if(!/^\d*$/.test(e))return r(!1,!1);var n=parseInt(e,10);if(isNaN(Number(e)))return r(!1,!1);var i=n>0&&n<13;return r(i,i,i&&n>=t)}},62689:e=>{e.exports=function(e){for(var t,r=0,n=!1,i=e.length-1;i>=0;)t=parseInt(e.charAt(i),10),n&&(t*=2)>9&&(t=t%10+1),n=!n,r+=t,i--;return r%10==0}},62693:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.matches=void 0,t.matches=function(e,t){return Array.isArray(t)?function(e,t,r){var n=String(t).length,i=e.substr(0,n),a=parseInt(i,10);return t=parseInt(String(t).substr(0,i.length),10),r=parseInt(String(r).substr(0,i.length),10),a>=t&&a<=r}(e,t[0],t[1]):function(e,t){return(t=String(t)).substring(0,e.length)===e.substring(0,t.length)}(e,t)}},76060:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.addMatchingCardsToResults=void 0;var n=r(1873),i=r(62693);t.addMatchingCardsToResults=function(e,t,r){var a,o;for(a=0;a<t.patterns.length;a++){var s=t.patterns[a];if(i.matches(e,s)){var l=n.clone(t);o=Array.isArray(s)?String(s[0]).length:String(s).length,e.length>=o&&(l.matchStrength=o),r.push(l);break}}}},77893:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.expirationYear=void 0;function r(e,t,r){return{isValid:e,isPotentiallyValid:t,isCurrentYear:r||!1}}t.expirationYear=function(e,t){var n;if(void 0===t&&(t=19),"string"!=typeof e)return r(!1,!1);if(""===e.replace(/\s/g,""))return r(!1,!0);if(!/^\d*$/.test(e))return r(!1,!1);var i=e.length;if(i<2)return r(!1,!0);var a=(new Date).getFullYear();if(3===i)return r(!1,e.slice(0,2)===String(a).slice(0,2));if(i>4)return r(!1,!1);var o=parseInt(e,10),s=Number(String(a).substr(2,2)),l=!1;if(2===i){if(String(a).substr(0,2)===e)return r(!1,!0);n=s===o,l=o>=s&&o<=s+t}else 4===i&&(n=a===o,l=o>=a&&o<=a+t);return r(l,l,n)}}}]);
2//# sourceMappingURL=9344.27f91715600da814c831.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.