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,CAEA,oBAAAV,CAAqBzG,EAAQ4G,GACzB,MAAMQ,EAAQ,IAAIzG,KAClB,IAAI0G,EAAsBD,EAAME,UAC5BC,EAAsBH,EAAMI,WAAa,EAGzCH,EAAK,KAAMA,EAAK,IAAMA,GACtBE,EAAK,KAAMA,EAAK,IAAMA,GAC1B,MAAME,EAAYF,EAAK,IAAMF,EAAK,IAHrBD,EAAMM,cAInB,MAAO,IAAM5G,mBAAmBd,GAAU,IAAMc,mBAAmB8F,GAAgB,IAAM9F,mBAAmB2G,EAChH,CAEA,eAAAE,GAEI,IADgBtC,EAAQ9D,IAAIgE,GACd,CAEV,IAAIqC,EAAmBxF,KAAKyE,sBACvBe,IACDA,EAAmBxF,KAAKqE,qBAAqB,UAAW,KAE5DrE,KAAKqD,aAAaF,EAAYqC,EAAkB,GACpD,CACJ,EAGJzD,GAAE,YACe,IAAIqB,GACZmC,iBACT,G,uBCrIAlI,EAAOC,QAAUmI,M,GCCbC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAavI,QAGrB,IAAID,EAASqI,EAAyBE,GAAY,CAGjDtI,QAAS,CAAC,GAOX,OAHAyI,EAAoBH,GAAUI,KAAK3I,EAAOC,QAASD,EAAQA,EAAOC,QAASqI,GAGpEtI,EAAOC,OACf,C,2GCrBA,aAAS,8EAAA2I,YAAY,IACrB,K","sources":["webpack://AJN/./node_modules/js-cookie/dist/js.cookie.js","webpack://AJN/./src/js/site/braintree.ts","webpack://AJN/./src/js/site/refercookie.ts","webpack://AJN/external var \"jQuery\"","webpack://AJN/webpack/bootstrap","webpack://AJN/./src/js/site.ts"],"sourcesContent":["/*! js-cookie v3.0.5 | MIT */\n;\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n typeof define === 'function' && define.amd ? define(factory) :\n (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (function () {\n var current = global.Cookies;\n var exports = global.Cookies = factory();\n exports.noConflict = function () { global.Cookies = current; return exports; };\n })());\n})(this, (function () { 'use strict';\n\n /* eslint-disable no-var */\n function assign (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n target[key] = source[key];\n }\n }\n return target\n }\n /* eslint-enable no-var */\n\n /* eslint-disable no-var */\n var defaultConverter = {\n read: function (value) {\n if (value[0] === '\"') {\n value = value.slice(1, -1);\n }\n return value.replace(/(%[\\dA-F]{2})+/gi, decodeURIComponent)\n },\n write: function (value) {\n return encodeURIComponent(value).replace(\n /%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,\n decodeURIComponent\n )\n }\n };\n /* eslint-enable no-var */\n\n /* eslint-disable no-var */\n\n function init (converter, defaultAttributes) {\n function set (name, value, attributes) {\n if (typeof document === 'undefined') {\n return\n }\n\n attributes = assign({}, defaultAttributes, attributes);\n\n if (typeof attributes.expires === 'number') {\n attributes.expires = new Date(Date.now() + attributes.expires * 864e5);\n }\n if (attributes.expires) {\n attributes.expires = attributes.expires.toUTCString();\n }\n\n name = encodeURIComponent(name)\n .replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent)\n .replace(/[()]/g, escape);\n\n var stringifiedAttributes = '';\n for (var attributeName in attributes) {\n if (!attributes[attributeName]) {\n continue\n }\n\n stringifiedAttributes += '; ' + attributeName;\n\n if (attributes[attributeName] === true) {\n continue\n }\n\n // Considers RFC 6265 section 5.2:\n // ...\n // 3. If the remaining unparsed-attributes contains a %x3B (\";\")\n // character:\n // Consume the characters of the unparsed-attributes up to,\n // not including, the first %x3B (\";\") character.\n // ...\n stringifiedAttributes += '=' + attributes[attributeName].split(';')[0];\n }\n\n return (document.cookie =\n name + '=' + converter.write(value, name) + stringifiedAttributes)\n }\n\n function get (name) {\n if (typeof document === 'undefined' || (arguments.length && !name)) {\n return\n }\n\n // To prevent the for loop in the first place assign an empty array\n // in case there are no cookies at all.\n var cookies = document.cookie ? document.cookie.split('; ') : [];\n var jar = {};\n for (var i = 0; i < cookies.length; i++) {\n var parts = cookies[i].split('=');\n var value = parts.slice(1).join('=');\n\n try {\n var found = decodeURIComponent(parts[0]);\n jar[found] = converter.read(value, found);\n\n if (name === found) {\n break\n }\n } catch (e) {}\n }\n\n return name ? jar[name] : jar\n }\n\n return Object.create(\n {\n set,\n get,\n remove: function (name, attributes) {\n set(\n name,\n '',\n assign({}, attributes, {\n expires: -1\n })\n );\n },\n withAttributes: function (attributes) {\n return init(this.converter, assign({}, this.attributes, attributes))\n },\n withConverter: function (converter) {\n return init(assign({}, this.converter, converter), this.attributes)\n }\n },\n {\n attributes: { value: Object.freeze(defaultAttributes) },\n converter: { value: Object.freeze(converter) }\n }\n )\n }\n\n var api = init(defaultConverter, { path: '/' });\n /* eslint-enable no-var */\n\n return api;\n\n}));\n","import * as $ from 'jquery';\r\n\r\ndeclare var braintree: any;\r\n\r\n// assume these IDs for dom objects\r\nconst containerid = '#dropin-container';\r\nconst submitbuttonid = '#submit-button';\r\nconst processingid = '#processing-message';\r\nconst checkoutmessageid = '#checkout-message';\r\n\r\nexport interface BraintreeConfig {\r\n clientToken: string;\r\n urlProcess: string; // '/Registration/PaymentBTProcess.ashx'\r\n urlReceipt: string; // '/Registration/RegisterReceipt.aspx'\r\n}\r\n\r\nexport class BraintreePay {\r\n config: BraintreeConfig;\r\n submitButton: HTMLInputElement;\r\n container: HTMLDivElement;\r\n processing: HTMLDivElement;\r\n checkoutmessage: HTMLDivElement;\r\n\r\n constructor(config: BraintreeConfig) {\r\n this.config = config;\r\n this.submitButton = document.querySelector(submitbuttonid) as HTMLInputElement;\r\n this.container = document.querySelector(containerid) as HTMLDivElement;\r\n this.processing = document.querySelector(processingid) as HTMLDivElement;\r\n this.checkoutmessage = document.querySelector(checkoutmessageid) as HTMLDivElement;\r\n }\r\n\r\n initalize() {\r\n const self = this;\r\n braintree.dropin.create({\r\n // Insert your tokenization key here\r\n authorization: this.config.clientToken,\r\n container: '#dropin-container'\r\n }, function (createErr, instance) {\r\n if (createErr) {\r\n // Handle any errors that might've occurred when creating Drop-in\r\n console.error(createErr);\r\n self.showError(createErr);\r\n return;\r\n }\r\n self.submitButton.addEventListener('click', function () {\r\n self.handleSubmit(instance);\r\n });\r\n self.submitButton.disabled = false;\r\n });\r\n }\r\n\r\n handleSubmit(instance: any) {\r\n const self = this;\r\n self.submitButton.disabled = true;\r\n self.container.style.display = \"none\";\r\n self.processing.style.display = \"block\";\r\n instance.requestPaymentMethod(function (requestPaymentMethodErr, payload) {\r\n // When the user clicks on the 'Submit payment' button this code will send the\r\n // encrypted payment information in a variable called a payment method nonce\r\n if (requestPaymentMethodErr) {\r\n console.error(requestPaymentMethodErr);\r\n self.showError(requestPaymentMethodErr);\r\n return;\r\n }\r\n else {\r\n $.ajax({\r\n type: 'POST',\r\n url: self.config.urlProcess,\r\n data: {\r\n 'payment_method_nonce': payload.nonce\r\n }\r\n }).done(function (result) {\r\n if (result.success) {\r\n window.location.href = self.config.urlReceipt;\r\n } else {\r\n instance.clearSelectedPaymentMethod();\r\n self.showError('Payment Error ' + result.message);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n showError(errormsg: string) {\r\n this.submitButton.disabled = false;\r\n this.container.style.display = \"block\";\r\n this.processing.style.display = \"none\";\r\n if (errormsg) {\r\n this.checkoutmessage.style.display = \"block\";\r\n this.checkoutmessage.innerHTML = errormsg;\r\n }\r\n }\r\n}","import * as $ from 'jquery';\r\nconst Cookies = require(\"js-cookie\");\r\n\r\nconst SEARCHQUERYSTRING = [\"q\", \"query\", \"p\", \"keywords\"];\r\nconst COOKIENAME = \"Referrer\";\r\n\r\nclass ReferCookie {\r\n private createCookie(name: string, value: string, days: number) {\r\n let options: Cookies.CookieAttributes = {\r\n secure: true,\r\n sameSite: 'Lax'\r\n };\r\n if (days) {\r\n options[\"expires\"] = days;\r\n }\r\n Cookies.set(name, value, options);\r\n }\r\n\r\n // Get the referrer query string parameters if they exist\r\n private getReferParams(): URLSearchParams {\r\n const referrer = document.referrer;\r\n if (referrer) {\r\n const splitreferrer = referrer.split('?');\r\n if (splitreferrer.length > 1) {\r\n return new URLSearchParams(splitreferrer[1]);\r\n }\r\n }\r\n return null;\r\n }\r\n\r\n calculateSearchPhrase(urlParams: URLSearchParams):string {\r\n const len = SEARCHQUERYSTRING.length;\r\n for (var i = 0; i < len; i++) {\r\n const value = SEARCHQUERYSTRING[i];\r\n const searchquery = urlParams.get(value);\r\n if (searchquery) {\r\n return searchquery;\r\n }\r\n }\r\n return null;\r\n }\r\n\r\n checkGoogleAnalytics(urlParams: URLSearchParams): string {\r\n const utmsource = urlParams.get('utm_source');\r\n const utmmedium = urlParams.get('utm_medium');\r\n if (utmsource && utmmedium) {\r\n return this.calculateReferCookie(utmsource, utmmedium);\r\n }\r\n return null;\r\n }\r\n\r\n checkBingCpc(urlParams: URLSearchParams):string {\r\n const utmsource = urlParams.get('utm_source');\r\n if (utmsource && utmsource.toLowerCase() === \"bing\") {\r\n const searchphrase = urlParams.get('utm_term');\r\n if (searchphrase) {\r\n return this.calculateReferCookie(\"bing (cpc)\", searchphrase);\r\n } else {\r\n return this.calculateReferCookie(\"bing (cpc)\", \"\");\r\n }\r\n }\r\n return null;\r\n }\r\n\r\n getReferCookieValue():string {\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const bingphrase = this.checkBingCpc(urlParams);\r\n if (bingphrase) {\r\n return bingphrase;\r\n }\r\n const gaphrase = this.checkGoogleAnalytics(urlParams);\r\n if (gaphrase) {\r\n return gaphrase;\r\n }\r\n const referrer = this.getReferParams()\r\n if (!referrer) {\r\n return null;\r\n }\r\n // regular referrers\r\n let searchphrase = this.calculateSearchPhrase(referrer);\r\n const referrerarr = document.referrer.split('/');\r\n let host = referrerarr[2];\r\n if (urlParams.get('gclid')) {\r\n if (!searchphrase) {\r\n searchphrase = this.calculateSearchPhrase(urlParams);\r\n }\r\n host = \"google (cpc)\";\r\n } else if (urlParams.get('ysmwa')) {\r\n host = \"yahoo (cpc)\";\r\n }\r\n if (searchphrase) {\r\n return this.calculateReferCookie(host, searchphrase);\r\n }\r\n else {\r\n let page:string;\r\n if (referrerarr.length > 3) {\r\n page = referrerarr.slice(3).join('/');\r\n }\r\n else {\r\n page = '';\r\n }\r\n return this.calculateReferCookie(host, page);\r\n }\r\n }\r\n\r\n calculateReferCookie(source, searchphrase) {\r\n const today = new Date();\r\n let dd: number | string = today.getDate();\r\n let mm: number | string = today.getMonth() + 1; //January is 0!\r\n\r\n const yyyy = today.getFullYear();\r\n if (dd < 10) { dd = '0' + dd; }\r\n if (mm < 10) { mm = '0' + mm; }\r\n const todaytext = mm + '/' + dd + '/' + yyyy;\r\n return \"!\" + encodeURIComponent(source) + \"&\" + encodeURIComponent(searchphrase) + \"&\" + encodeURIComponent(todaytext);\r\n }\r\n\r\n saveReferCookie() {\r\n const refcook = Cookies.get(COOKIENAME);\r\n if (!refcook) {\r\n // calculate refercookie\r\n let refercookievalue = this.getReferCookieValue();\r\n if (!refercookievalue) {\r\n refercookievalue = this.calculateReferCookie(\"unknown\", '');\r\n }\r\n this.createCookie(COOKIENAME, refercookievalue, 90);\r\n }\r\n };\r\n}\r\n\r\n$(function () {\r\n const cook = new ReferCookie();\r\n cook.saveReferCookie();\r\n});\r\n\r\n","module.exports = jQuery;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","export type { BraintreeConfig } from \"./site/braintree\";\r\nexport { BraintreePay } from \"./site/braintree\";\r\nimport './site/refercookie';"],"names":["module","exports","assign","target","i","arguments","length","source","key","init","converter","defaultAttributes","set","name","value","attributes","document","expires","Date","now","toUTCString","encodeURIComponent","replace","decodeURIComponent","escape","stringifiedAttributes","attributeName","split","cookie","write","get","cookies","jar","parts","slice","join","found","read","e","Object","create","remove","withAttributes","this","withConverter","freeze","path","factory","constructor","config","submitButton","querySelector","container","processing","checkoutmessage","initalize","self","braintree","dropin","authorization","clientToken","createErr","instance","console","error","showError","addEventListener","handleSubmit","disabled","style","display","requestPaymentMethod","requestPaymentMethodErr","payload","$","ajax","type","url","urlProcess","data","nonce","done","result","success","window","location","href","urlReceipt","clearSelectedPaymentMethod","message","errormsg","innerHTML","Cookies","SEARCHQUERYSTRING","COOKIENAME","ReferCookie","createCookie","days","options","secure","sameSite","getReferParams","referrer","splitreferrer","URLSearchParams","calculateSearchPhrase","urlParams","len","searchquery","checkGoogleAnalytics","utmsource","utmmedium","calculateReferCookie","checkBingCpc","toLowerCase","searchphrase","getReferCookieValue","search","bingphrase","gaphrase","referrerarr","host","page","today","dd","getDate","mm","getMonth","todaytext","getFullYear","saveReferCookie","refercookievalue","jQuery","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","call","BraintreePay"],"sourceRoot":""}