{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./app/javascript/packs/helpers/modal.js","webpack:///./app/javascript/packs/helpers/showFlash.js","webpack:///./app/javascript/packs/constants.js","webpack:///./app/javascript/packs/helpers/selectAction.js","webpack:///./app/javascript/packs/helpers/observer.js","webpack:///./app/javascript/packs/helpers/uploader.js","webpack:///./app/javascript/packs/numbers/ivr/ivr-action.js","webpack:///./app/javascript/packs/helpers/uploadIntoSelect.js","webpack:///./app/javascript/packs/helpers/dropdown.js","webpack:///./app/javascript/packs/helpers/flags.js","webpack:///./app/javascript/packs/helpers/animatedRemove.js","webpack:///./app/javascript/packs/subscription/stripe-payment-handler.js","webpack:///./app/assets/images/in.svg","webpack:///./app/assets/images/do.svg","webpack:///./app/assets/images/as.svg","webpack:///./app/assets/images/mp.svg","webpack:///./app/assets/images/gn.svg","webpack:///./app/assets/images/nc.svg","webpack:///./app/assets/images/dm.svg","webpack:///./app/assets/images/fk.svg","webpack:///./app/assets/images/si.svg","webpack:///./app/assets/images/tg.svg","webpack:///./app/assets/images/ps.svg","webpack:///./app/assets/images/qa.svg","webpack:///./app/assets/images/mr.svg","webpack:///./app/assets/images/fj.svg","webpack:///./app/assets/images/mv.svg","webpack:///./app/assets/images/mh.svg","webpack:///./app/assets/images/us.svg","webpack:///./app/assets/images/er.svg","webpack:///./app/assets/images/ug.svg","webpack:///./app/assets/images/ci.svg","webpack:///./app/assets/images/la.svg","webpack:///./app/assets/images/sr.svg","webpack:///./app/assets/images/be.svg","webpack:///./app/assets/images/cx.svg","webpack:///./app/assets/images/rw.svg","webpack:///./app/assets/images/nu.svg","webpack:///./app/assets/images/fr.svg","webpack:///./app/assets/images/mn.svg","webpack:///./app/assets/images/bg.svg","webpack:///./app/assets/images/gs.svg","webpack:///./app/assets/images/cn.svg","webpack:///./app/assets/images/gp.svg","webpack:///./app/assets/images/gf.svg","webpack:///./app/assets/images/ro.svg","webpack:///./app/assets/images/eg.svg","webpack:///./app/assets/images/ir.svg","webpack:///./app/assets/images/gw.svg","webpack:///./app/assets/images/ma.svg","webpack:///./app/assets/images/vg.svg","webpack:///./app/assets/images/tc.svg","webpack:///./app/assets/images/cy.svg","webpack:///./app/assets/images/mg.svg","webpack:///./app/assets/images/yt.svg","webpack:///./app/assets/images/wf.svg","webpack:///./app/assets/images/no.svg","webpack:///./app/assets/images/et.svg","webpack:///./app/assets/images/nr.svg","webpack:///./app/assets/images/co.svg","webpack:///./app/assets/images/bn.svg","webpack:///./app/assets/images/vc.svg","webpack:///./app/assets/images/rs.svg","webpack:///./app/assets/images/lv.svg","webpack:///./app/assets/images/cf.svg","webpack:///./app/assets/images/it.svg","webpack:///./app/assets/images/eu.svg","webpack:///./app/assets/images/dz.svg","webpack:///./app/assets/images/re.svg","webpack:///./app/assets/images/cr.svg","webpack:///./app/assets/images/am.svg","webpack:///./app/assets/images/pl.svg","webpack:///./app/assets/images/ht.svg","webpack:///./app/assets/images/nf.svg","webpack:///./app/assets/images/so.svg","webpack:///./app/assets/images/ne.svg","webpack:///./app/assets/images/fo.svg","webpack:///./app/assets/images/al.svg","webpack:///./app/assets/images/ch.svg","webpack:///./app/assets/images/um.svg","webpack:///./app/assets/images/gq.svg","webpack:///./app/assets/images/hn.svg","webpack:///./app/assets/images/tj.svg","webpack:///./app/assets/images/tn.svg","webpack:///./app/assets/images/td.svg","webpack:///./app/assets/images/to.svg","webpack:///./app/assets/images/jo.svg","webpack:///./app/assets/images/iq.svg","webpack:///./app/assets/images/sz.svg","webpack:///./app/assets/images/ke.svg","webpack:///./app/assets/images/by.svg","webpack:///./app/assets/images/vu.svg","webpack:///./app/assets/images/pa.svg","webpack:///./app/assets/images/uy.svg","webpack:///./app/assets/images/ru.svg","webpack:///./app/assets/images/de.svg","webpack:///./app/assets/images/cm.svg","webpack:///./app/assets/images/mk.svg","webpack:///./app/assets/images/eo.svg","webpack:///./app/assets/images/cc.svg","webpack:///./app/assets/images/pk.svg","webpack:///./app/assets/images/ge.svg","webpack:///./app/assets/images/tl.svg","webpack:///./app/assets/images/lu.svg","webpack:///./app/assets/images/pr.svg","webpack:///./app/assets/images/at.svg","webpack:///./app/assets/images/ky.svg","webpack:///./app/assets/images/ee.svg","webpack:///./app/assets/images/ws.svg","webpack:///./app/assets/images/bm.svg","webpack:///./app/assets/images/is.svg","webpack:///./app/assets/images/mx.svg","webpack:///./app/assets/images/zz.svg","webpack:///./app/assets/images/ua.svg","webpack:///./app/assets/images/km.svg","webpack:///./app/assets/images/sh.svg","webpack:///./app/assets/images/bt.svg","webpack:///./app/assets/images/bw.svg","webpack:///./app/assets/images/tw.svg","webpack:///./app/assets/images/ca.svg","webpack:///./app/assets/images/ck.svg","webpack:///./app/assets/images/np.svg","webpack:///./app/assets/images/mf.svg","webpack:///./app/assets/images/sg.svg","webpack:///./app/assets/images/bo.svg","webpack:///./app/assets/images/gl.svg","webpack:///./app/assets/images/gr.svg","webpack:///./app/assets/images/mz.svg","webpack:///./app/assets/images/bd.svg","webpack:///./app/assets/images/br.svg","webpack:///./app/assets/images/bv.svg","webpack:///./app/assets/images/kr.svg","webpack:///./app/assets/images/sb.svg","webpack:///./app/assets/images/mq.svg","webpack:///./app/assets/images/ga.svg","webpack:///./app/assets/images/sd.svg","webpack:///./app/assets/images/pt.svg","webpack:///./app/assets/images/il.svg","webpack:///./app/assets/images/cg.svg","webpack:///./app/assets/images/ml.svg","webpack:///./app/assets/images/kg.svg","webpack:///./app/assets/images/ie.svg","webpack:///./app/assets/images/dj.svg","webpack:///./app/assets/images/ae.svg","webpack:///./app/assets/images/lk.svg","webpack:///./app/assets/images/mo.svg","webpack:///./app/assets/images/ph.svg","webpack:///./app/assets/images/gg.svg","webpack:///./app/assets/images/pe.svg","webpack:///./app/assets/images/tv.svg","webpack:///./app/assets/images/sa.svg","webpack:///./app/assets/images/cv.svg","webpack:///./app/assets/images/ai.svg","webpack:///./app/assets/images/mm.svg","webpack:///./app/assets/images/zw.svg","webpack:///./app/assets/images/au.svg","webpack:///./app/assets/images/mw.svg","webpack:///./app/assets/images/pf.svg","webpack:///./app/assets/images/mc.svg","webpack:///./app/assets/images/gb.svg","webpack:///./app/assets/images/eh.svg","webpack:///./app/assets/images/ax.svg","webpack:///./app/assets/images/gu.svg","webpack:///./app/assets/images/cw.svg","webpack:///./app/assets/images/sn.svg","webpack:///./app/assets/images/bb.svg","webpack:///./app/assets/images/sc.svg","webpack:///./app/assets/images/aq.svg","webpack:///./app/assets/images/ag.svg","webpack:///./app/assets/images/nl.svg","webpack:///./app/assets/images/az.svg","webpack:///./app/assets/images/im.svg","webpack:///./app/assets/images/pn.svg","webpack:///./app/assets/images/sl.svg","webpack:///./app/assets/images/sk.svg","webpack:///./app/assets/images/bs.svg","webpack:///./app/assets/images/tr.svg","webpack:///./app/assets/images/cz.svg","webpack:///./app/assets/images/hr.svg","webpack:///./app/assets/images/ba.svg","webpack:///./app/assets/images/ni.svg","webpack:///./app/assets/images/id.svg","webpack:///./app/assets/images/ly.svg","webpack:///./app/assets/images/gm.svg","webpack:///./app/assets/images/va.svg","webpack:///./app/assets/images/zm.svg","webpack:///./app/assets/images/gi.svg","webpack:///./app/assets/images/sv.svg","webpack:///./app/assets/images/af.svg","webpack:///./app/assets/images/aw.svg","webpack:///./app/assets/images/md.svg","webpack:///./app/assets/images/es.svg","webpack:///./app/assets/images/je.svg","webpack:///./app/assets/images/ao.svg","webpack:///./app/assets/images/st.svg","webpack:///./app/assets/images/ad.svg","webpack:///./app/assets/images/ss.svg","webpack:///./app/assets/images/fm.svg","webpack:///./app/assets/images/jm.svg","webpack:///./app/assets/images/ye.svg","webpack:///./app/assets/images/tt.svg","webpack:///./app/assets/images/ms.svg","webpack:///./app/assets/images/kz.svg","webpack:///./app/assets/images/ar.svg","webpack:///./app/assets/images/bz.svg","webpack:///./app/assets/images/bq.svg","webpack:///./app/assets/images/om.svg","webpack:///./app/assets/images/bh.svg","webpack:///./app/assets/images/kw.svg","webpack:///./app/assets/images/sy.svg","webpack:///./app/assets/images/lb.svg","webpack:///./app/assets/images/pm.svg","webpack:///./app/assets/images/kn.svg","webpack:///./app/assets/images/me.svg","webpack:///./app/assets/images/mt.svg","webpack:///./app/assets/images/vi.svg","webpack:///./app/assets/images/ng.svg","webpack:///./app/assets/images/py.svg","webpack:///./app/assets/images/gt.svg","webpack:///./app/assets/images/li.svg","webpack:///./app/assets/images/tm.svg","webpack:///./app/assets/images/lt.svg","webpack:///./app/assets/images/lr.svg","webpack:///./app/assets/images/tz.svg","webpack:///./app/assets/images/ve.svg","webpack:///./app/assets/images/dk.svg","webpack:///./app/assets/images/th.svg","webpack:///./app/assets/images/cu.svg","webpack:///./app/assets/images/pw.svg","webpack:///./app/assets/images/tf.svg","webpack:///./app/assets/images/fi.svg","webpack:///./app/assets/images/nz.svg","webpack:///./app/assets/images/cl.svg","webpack:///./app/assets/images/lc.svg","webpack:///./app/assets/images/ki.svg","webpack:///./app/assets/images/gd.svg","webpack:///./app/assets/images/ec.svg","webpack:///./app/assets/images/bf.svg","webpack:///./app/assets/images/bl.svg","webpack:///./app/assets/images/bi.svg","webpack:///./app/assets/images/kh.svg","webpack:///./app/assets/images/sj.svg","webpack:///./app/assets/images/gy.svg","webpack:///./app/assets/images/cd.svg","webpack:///./app/assets/images/kp.svg","webpack:///./app/assets/images/sx.svg","webpack:///./app/assets/images/sm.svg","webpack:///./app/assets/images/gh.svg","webpack:///./app/assets/images/pg.svg","webpack:///./app/assets/images/hm.svg","webpack:///./app/assets/images/uz.svg","webpack:///./app/assets/images/io.svg","webpack:///./app/assets/images/vn.svg","webpack:///./app/assets/images/ls.svg","webpack:///./app/assets/images/za.svg","webpack:///./app/assets/images/hu.svg","webpack:///./app/assets/images/na.svg","webpack:///./app/assets/images/mu.svg","webpack:///./app/assets/images/my.svg","webpack:///./app/assets/images/hk.svg","webpack:///./app/assets/images/jp.svg","webpack:///./app/assets/images/tk.svg","webpack:///./app/assets/images/se.svg","webpack:///./app/assets/images/bj.svg","webpack:///./app/assets/images/xk.svg","webpack:///./app/javascript/packs/numbers/ivr/ivr.js","webpack:///./app/javascript/packs/numbers/ivr/ivr-observers.js","webpack:///./app/javascript/packs/subscription/payment.js","webpack:///./app/javascript/packs/subscription/summary.js","webpack:///./app/javascript/packs/resources/audio.js","webpack:///./app/javascript/packs/resources/documents.js","webpack:///./app/javascript/packs/helpers/api-service.js","webpack:///./app/javascript/packs/helpers/pagination.js","webpack:///./app/javascript/packs/numbers/number-template.js","webpack:///./app/javascript/packs/verify_cc/verify-modal.js","webpack:///./app/javascript/packs/subscription/paypal-payment-handler.js","webpack:///./app/javascript/packs/resources/resources-observer.js","webpack:///./app/javascript/packs/subscription/subscription-observer.js","webpack:///./app/javascript/packs/numbers/number-item.js","webpack:///./app/javascript/packs/numbers/pending-item.js","webpack:///./app/javascript/packs/numbers/add-number.js","webpack:///./app/javascript/packs/numbers/voicemail.js","webpack:///./app/javascript/packs/numbers/sip-handler.js","webpack:///./app/javascript/packs/numbers/a2p-option.js","webpack:///./app/javascript/packs/call_messages/sms-call-item.js","webpack:///./app/javascript/packs/time_zone_converter/time-zone-converter.js","webpack:///./app/javascript/packs/header/navbar.js","webpack:///./app/javascript/packs/calls-messages.js","webpack:///./app/javascript/packs/verify_cc/verify-handler.js","webpack:///./app/javascript/packs/subscription/add-credit-handler.js","webpack:///./app/javascript/packs/subscription/invoices-handler.js","webpack:///./node_modules/@rails/activestorage/app/assets/javascripts/activestorage.js","webpack:///./app/javascript/packs/application.js","webpack:///./node_modules/@rails/ujs/lib/assets/compiled/rails-ujs.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","Modal","_createClass","el","_this","_classCallCheck","open","overlay","classList","remove","add","setTimeout","close","removeEventListener","closeBtn","contains","eventHandler","addEventListener","resetBtn","form","this","document","querySelector","showFlash","message","textContent","hideFlash","PAYPAL_ID","process","LOCAL_API_URL","API_BASE_URL","STRIPE_PUBLISH_KEY","getActionBySelect","selectEl","actions","actionsContainer","hideGroup","forEach","item","showGroup","index","insertAdjacentElement","options","selectedIndex","observer","addCallback","arguments","length","undefined","delCallback","MutationObserver","allMutations","map","_step","_iterator","_createForOfIteratorHelper","addedNodes","done","node","HTMLElement","err","e","f","_step2","_iterator2","removedNodes","observe","uploader","fileInput","blockClassName","inputChangeCallback","files","size","alert","event","detail","id","file","insertAdjacentHTML","concat","getElementById","_event$detail","progress","style","width","preventDefault","_event$detail2","error","element","setAttribute","IvrAction","actionDelBtn","removeAction","removedItemId","dataset","querySelectorAll","addFileOption","select","uploadedFile","option","Option","dropdown","currentItem","dropdownList","isOpen","init","target","onDocumentClick","tagName","setValue","Event","_toConsumableArray","findIndex","dispatchEvent","selected","text","as","mp","gn","nc","dm","fk","si","tg","ps","qa","mr","fj","mv","mh","us","er","ug","ci","la","sr","be","cx","rw","nu","fr","mn","bg","gs","cn","gp","gf","ro","eg","ir","gw","ma","vg","tc","cy","mg","yt","wf","no","et","nr","co","bn","vc","rs","lv","cf","it","eu","dz","re","cr","am","pl","ht","nf","so","ne","fo","al","ch","um","gq","hn","tj","tn","td","to","jo","iq","sz","ke","by","vu","pa","uy","ru","de","cm","mk","eo","cc","pk","ge","tl","lu","pr","at","ky","ee","ws","bm","is","mx","zz","ua","km","sh","bt","bw","tw","ca","ck","np","mf","sg","bo","gl","gr","mz","bd","br","bv","kr","sb","mq","ga","sd","pt","il","cg","ml","kg","ie","dj","ae","lk","mo","ph","gg","pe","tv","sa","cv","ai","mm","zw","au","mw","pf","mc","gb","eh","ax","gu","cw","sn","bb","sc","aq","ag","nl","az","im","pn","sl","sk","bs","tr","cz","hr","ba","ni","ly","gm","va","zm","gi","sv","af","aw","md","es","je","ao","st","ad","ss","fm","jm","ye","tt","ms","kz","ar","bz","bq","om","bh","kw","sy","lb","pm","kn","me","mt","vi","ng","py","gt","li","tm","lt","lr","tz","ve","dk","th","cu","pw","tf","fi","nz","cl","lc","ki","gd","ec","bf","bl","bi","kh","sj","gy","cd","kp","sx","sm","gh","pg","hm","uz","io","vn","ls","za","hu","na","mu","my","hk","jp","tk","se","bj","xk","animatedRemove","_regeneratorRuntime","a","iterator","asyncIterator","u","define","configurable","writable","wrap","Generator","Context","makeInvokeMethod","tryCatch","type","arg","h","y","GeneratorFunction","GeneratorFunctionPrototype","getPrototypeOf","v","values","g","defineIteratorMethods","_invoke","AsyncIterator","invoke","resolve","__await","then","callInvokeWithMethodAndArg","Error","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","displayName","isGeneratorFunction","constructor","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","delegateYield","asyncGeneratorStep","_asyncToGenerator","apply","_next","_throw","creditCardHandler","subscriptionId","paymentBtnEl","spinnerEl","flashMessageEl","_ref","_ref$isChanged","isChanged","_ref$fixedAmount","fixedAmount","_ref$invoiceId","invoiceId","_ref$invoiceForm","invoiceForm","_ref$invoiceFlash","invoiceFlash","stripe","Stripe","stripeRequestsHandler","_x2","_stripeRequestsHandler","_callee2","payload","result","_yield$result$json","client_secret","payment_method_id","_yield$stripe$confirm","_context2","fetch","URLSearchParams","json","confirmCardPayment","payment_method","paymentIntent","sendPaidInvoice","_x3","_sendPaidInvoice","_callee3","_yield$result$json2","_context3","invoice_id","t0","sendStart","removeAttribute","sendEnd","_ref2","_callee","amount","_context","subscription_id","_x","IvrOption","ivrChangeNameBtn","showInput","ivrNameInput","keyHandler","keyPressed","addIvrBtn","openIvrModal","delIvrBtn","location","reload","addActionBtn","scrollToAction","initActions","ivrActions","saveInputChanges","ivrName","focus","hideInput","ivrSelect","modal","console","log","greetingSelect","greetingActions","greetingActionsWrap","actionsList","fileSelect","ivrLinks","IvrActionObserver","IvrObserver","addedNode","HTMLLIElement","deletedNode","Payment","addCardBtn","openAddCardModal","payToggle","sendingHandler","addCardModal","payMethodWrap","spinner","innerHTML","Summary","editBtn","openEditModal","downgradeBtn","openConfirmModal","downgradeProBtn","upgradeBtn","upgradeProBusinessBtn","monthlyPlanBtn","yearlyPlanBtn","AudioForm","delBtns","closest","submitTrigger","click","Documents","handleSwitch","currentTarget","switchButtons","button","toggleForm","individualForm","display","businessForm","fileNameToLabel","uploaderEl","labelEl","initializeForm","_this2","getData","_x4","_getData","url","searchInput","searchBtn","res","body","loadingProgress","ok","loadingEnd","getCountryNumbers","_x5","_x6","_x7","_x8","_getCountryNumbers","countryCode","getCitiesNumber","_x9","_x10","_x11","_x12","_x13","_getCitiesNumber","search","pagination","items","prevBtn","nextBtn","currPage","allPages","pageSize","currentPage","pagesCount","Math","ceil","changePage","page","numberTemplate","country","number","numberObj","flags","toLowerCase","replace","sms","mms","voice","prorated_price","prorated_until_string","price","price_year","VerifyModal","_Modal","_callSuper","validateCodeInput","codeInput","_inherits","renderPaypalBtn","token","paypalBtnEl","inputs","script","initPaypalBtn","payData","window","paypal","Buttons","instances","instance","_onApprove","_createOrder","createOrder","data","paymentUrl","createURLWithParams","authenticity_token","onApprove","commitUrl","payment_id","render","params","newURL","URL","toString","createElement","src","AudioObserver","DocumentsObserver","summaryObserver","payMethodObserver","_defineProperties","_toPropertyKey","toPrimitive","String","Number","_toPrimitive","NumberItem","_this$el$getAttribute","_this$pcCallBtn","_this$callModalBtn","_this$callCancelBtn","_this$incomingCallCan","_this$callModalInput","_this$addAliasLink","_this$aliasName","callbackBtn","openModal","smsBtn","addDestinationBtn","removeDestination","destinationList","getDelLinks","delItemBtn","pcCallBtn","callModal","openCallModal","closeCallModal","callModalBtn","initiateCall","callCancelBtn","callCancel","incomingCallCancelBtn","callModalInput","inputText","keypadButtons","handleKeypadPress","addAliasLink","aliasFormDisplay","aliasName","selector","_this$uploadedImage","_this$delImage","newModal","modalForm","flashMsg","response","uploadedImage","uploadedImageName","evt","delImage","parentItem","plivoEvents","plivoBrowserSdk","client","on","callInfo","callingStatus","showKeypad","hangupInfo","incomingStatus","info","hideCallUIDisplayButton","callModalError","hangup","plivoCall","currentCall","disconnect","activeCallStatus","hideKeypad","pressedDigit","getAttribute","sendDTMF","keypad","digit","sendDtmf","sendDigits","selectedCountry","callDialingNumber","incomingCall","incomingNumber","incomingCallBtns","incomingCallBtn","rejectIncomingCallBtn","aliasForm","did","hasCredit","callTokenData","JSON","parse","callProvider","device","parseFloat","initializeCall","initPlivoCall","initTwilioCall","_initiateCall","inputVal","selectedOption","dialingNumber","prevetDefault","To","Agent","From","Caller","Twilio","Device","codecPreferences","enableRingingState","logLevel","connect","handleTwilioEvents","_this3","plivoUsername","username","plivoPass","password","Plivo","isLoggedIn","logout","login","callerName","extraHeaders","callerNumber","split","displayCallUIHideButton","answer","reject","_initTwilioCall","_this4","conn","connection","handleIncomingTwilioCall","register","_this5","parameters","from","accept","_this6","PendingNumber","delBtn","AddNumberForm","countrySelect","countrySelectHandler","cityInput","validateSearchInput","searchBtnHandler","formSendStart","formSendEnd","countryFlag","countryWrap","citySelectHandleClear","clearItems","numbersList","numberSpinner","numbers","getCityNumbers","errorHandler","citySearchHandler","cityCode","blur","allNumberItems","allNumberRadios","prevPaginationBtn","nextPaginationBtn","getNumberExtraData","clearHiddenFields","_this$searchCheckedNu","searchCheckedNumber","purchaser","numbersPlaceholder","errorMessage","hasAttribute","substring","hiddenFieldBlock","submitSpinner","submitBtn","_slicedToArray","VoicemailForm","actionSelect","actionGroups","actionContainer","SipHandler","_this$sipToggle2","_this$getSipBtn2","_this$sipToggle3","_this$getSipBtn3","_this$sipToggle","_this$getSipBtn","sipToggle","handleToggle","getSipBtn","handleGetSipCredentials","matches","enabled","checked","disabled","didId","headers","csrfToken","stringify","did_id","sip_enabled","success","showMessage","js","eval","sipMsg","A2pOption","a2pOption","formSelectHandler","resetFlashes","flashes","elem","hiddenA2pOptions","input","withTaxForm","withoutTaxForm","SMSCallItem","_this$callbackBtn","_this$smsBtn","TimeZoneConverter","utcTime","trim","localTime","Date","toLocaleString","year","month","day","hour","minute","Navbar","_this$hambtn","hambtn","toggle","header","zIndex","clearCalls","itemCheckboxes","isDisabled","checkOnDisable","checkedCount","verifyHandler","taskBtn","addCreditHandler","paypalBtn","amountInputs","flashMessage","isPaypal","addCreditSubmit","invoicesHandler","invoiceForms","loadPaypalScript","amountValue","createCommonjsModule","fn","sparkMd5","factory","hex_chr","md5cycle","x","k","b","md5blk","md5blks","charCodeAt","md5blk_array","md51","tail","tmp","lo","hi","state","match","parseInt","md51_array","subarray","Uint8Array","rhex","j","hex","join","toUtf8","str","test","unescape","encodeURIComponent","utf8Str2ArrayBuffer","returnUInt8Array","buff","ArrayBuffer","arr","arrayBuffer2Utf8Str","fromCharCode","concatenateArrayBuffers","first","second","byteLength","set","buffer","hexToBinaryString","bytes","substr","SparkMD5","clamp","val","max","min","num","targetArray","sourceArray","begin","end","append","appendBinary","contents","_buff","_length","_hash","raw","ret","_finish","getState","hash","setState","destroy","hashBinary","content","classCallCheck","Constructor","createClass","defineProperties","props","descriptor","protoProps","staticProps","fileSlice","File","mozSlice","webkitSlice","FileChecksum","chunkSize","chunkCount","chunkIndex","callback","md5Buffer","fileReader","FileReader","fileReaderDidLoad","fileReaderDidError","readNextChunk","binaryDigest","base64digest","btoa","start","readAsArrayBuffer","getMetaValue","findElement","head","findElements","root","toArray$1","eventInit","bubbles","cancelable","createEvent","initEvent","Array","isArray","BlobRecord","checksum","attributes","filename","content_type","byte_size","xhr","XMLHttpRequest","responseType","setRequestHeader","requestDidLoad","requestDidError","send","blob","status","direct_upload","directUploadData","toJSON","_xhr","BlobUpload","_blob$directUploadDat","DirectUpload","notify","upload","methodName","_len","messages","_key","DirectUploadController","directUpload","dispatch","hiddenInput","parentNode","removeChild","dispatchError","signed_id","loaded","total","defaultPrevented","uploadRequestDidProgress","inputSelector","DirectUploadsController","filter","controllers","createDirectUploadControllers","startNextController","controller","shift","processingAttribute","submitButtonsByForm","WeakMap","started","didClick","didSubmitForm","didSubmitRemoteElement","handleFormSubmissionEvent","disable","enable","submitForm","appendChild","delete","autostart","ActiveStorage","require","Rails","linkClickSelector","buttonClickSelector","exclude","inputChangeSelector","formSubmitSelector","formInputClickSelector","formDisableSelector","formEnableSelector","fileInputSelector","linkDisableSelector","buttonDisableSelector","nonce","loadCSPNonce","ref","cspNonce","expando","Element","matchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector","webkitMatchesSelector","setData","$","csrfParam","meta","CSRFProtection","refreshCSRFTokens","param","CustomEvent","fire","initCustomEvent","obj","stopEverything","stopPropagation","stopImmediatePropagation","eventType","handler","AcceptHeaders","createXHR","prepareOptions","processResponse","html","xml","ajax","responseText","getResponseHeader","floor","statusText","beforeSend","readyState","OPENED","href","toUpperCase","indexOf","dataType","crossDomain","withCredentials","onreadystatechange","DONE","parser","DOMParser","parseFromString","isCrossDomain","originAnchor","urlAnchor","protocol","host","toArray","serializeElement","additionalParam","elements","formElements","allowAction","handleConfirm","confirm","disableFormElement","disableFormElements","disableLinkElement","enableFormElement","enableFormElements","enableLinkElement","isXhrRedirect","handleDisabledElement","enableElement","disableElement","replacement","originalText","handleMethod","formContent","link","action","isRemote","handleRemote","enctype","FormData","args","formSubmitButtonClick","formNoValidate","preventInsignificantClick","insignificantMetaClick","metaKey","ctrlKey","jQuery","rails","ajaxPrefilter","originalOptions","_rails_loaded"],"mappings":";aACE,IAAIA,EAAmB,CAAC,EAGxB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,CAAC,GAUX,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,OACf,CAIAF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAG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,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACA9M,QACA+M,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,Q,+BChgBK,SAASC,EAAe3W,GAC7BA,EAAGK,UAAUE,IAAI,cACjBC,YAAW,WAAQR,EAAGM,QAAS,GAAG,IACpC,CAHA,qD,+HCCAsW,EAAA,kBAAAlT,CAAA,MAAA1E,E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fce193c779eae33d1.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/packs/\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 305);\n","export class Modal {\n constructor(el) {\n this.el = el;\n this.overlay = document.querySelector('.js-overlay');\n this.closeBtn = this.el.querySelector('.js-close-modal-btn');\n this.resetBtn = this.el.querySelector('.js-reset-modal-btn');\n this.form = this.el.querySelector('.modal__form');\n\n this.eventHandler();\n }\n\n open = () => {\n this.overlay.classList.remove('js-hide');\n this.el.classList.remove('js-hide');\n this.el.classList.add('js-modal-opening');\n\n setTimeout(() => {\n this.el.classList.remove('js-modal-opening');\n }, 500);\n }\n\n close = () => {\n this.overlay.classList.add('js-hide');\n this.el.classList.add('js-modal-closing');\n\n setTimeout(() => {\n this.el.classList.remove('js-modal-closing');\n this.el.classList.add('js-hide');\n }, 500);\n\n this.overlay.removeEventListener('click', this.close);\n this.closeBtn.removeEventListener('click', this.close);\n\n if (this.el.classList.contains('js-rails-modal')) {\n setTimeout(() => this.el.remove(), 500);\n }\n }\n\n eventHandler = () => {\n this.overlay.addEventListener('click', this.close);\n this.closeBtn.addEventListener('click', this.close);\n this.resetBtn.addEventListener('click', this.close);\n this.form.addEventListener('ajax:success', () => this.close());\n }\n}","export function showFlash(el, message) {\n el.classList.contains('flash') && el.classList.remove('flash');\n el.classList.add('flash');\n el.textContent = message;\n setTimeout(() => hideFlash(el), 12000);\n}\n\nfunction hideFlash(el) {\n el.classList.remove('flash');\n el.textContent = '';\n}","export const PAYPAL_ID = process.env.PAYPAL_CLIENT_ID;\nexport const LOCAL_API_URL = process.env.LOCAL_API;\nexport const API_BASE_URL = process.env.API;\nexport const STRIPE_PUBLISH_KEY = process.env.STRIPE_PUBLISH_KEY;\n// export const STRIPE_SECRET = process.env.PROD_STRIPE_SECRET;","export const getActionBySelect = (selectEl, actions, actionsContainer) => {\n const hideGroup = (actions) => {\n actions.forEach(item => {\n item.remove();\n })\n }\n const showGroup = (index, actions, actionsContainer) => {\n if (!actionsContainer.contains(actions[index])) {\n actionsContainer.insertAdjacentElement('afterbegin', actions[index])\n }\n }\n\n hideGroup(actions);\n showGroup(selectEl.options.selectedIndex, actions, actionsContainer);\n selectEl.addEventListener('change', () => {\n hideGroup(actions);\n showGroup(selectEl.options.selectedIndex, actions, actionsContainer);\n })\n}","export function observer(el, addCallback=false, delCallback=false) {\n const callback = (allMutations) => {\n allMutations.map(item => {\n for (let node of item.addedNodes) {\n if (addCallback && (node instanceof HTMLElement)) {\n addCallback(node);\n }\n }\n for (let node of item.removedNodes) {\n if (delCallback && (node instanceof HTMLElement)) {\n delCallback(node);\n }\n }\n })\n }\n\n const observer = new MutationObserver(callback);\n\n const options = {\n 'childList': true,\n 'subtree': false,\n }\n\n observer.observe(el, options);\n}","export function uploader(form, fileInput, blockClassName, inputChangeCallback) {\n function eventHandler() {\n fileInput.addEventListener('change', () => {\n if (fileInput.files[0].size > 3000000) {\n alert(\"File size should be less than 3 megabytes\");\n fileInput.value = '';\n return\n };\n inputChangeCallback();\n });\n\n fileInput.addEventListener('direct-upload:initialize', event => {\n const { detail } = event;\n const { id, file } = detail;\n form.insertAdjacentHTML(\"beforeend\", `\n
\n
\n \n
\n `);\n form.querySelector(`.${blockClassName}__upload-filename`).textContent = file.name;\n });\n\n fileInput.addEventListener(\"direct-upload:start\", event => {\n const { id } = event.detail;\n const element = document.getElementById(`direct-upload-${id}`);\n element.classList.remove(`${blockClassName}__upload--pending`);\n });\n \n fileInput.addEventListener(\"direct-upload:progress\", event => {\n const { id, progress } = event.detail;\n const progressElement = document.getElementById(`direct-upload-progress-${id}`);\n progressElement.style.width = `${progress}%`;\n });\n\n fileInput.addEventListener(\"direct-upload:error\", event => {\n event.preventDefault()\n const { id, error } = event.detail;\n const element = document.getElementById(`direct-upload-${id}`);\n element.insertAdjacentHTML(\"afterend\", `\n
Your upload failed
\n `);\n setTimeout(() => {\n document.querySelector('#js-upload-err-message').remove()\n }, 5000);\n element.classList.add(`${blockClassName}__upload--error`);\n element.setAttribute(\"title\", error);\n })\n\n fileInput.addEventListener(\"direct-upload:end\", event => {\n const { id } = event.detail;\n const element = document.getElementById(`direct-upload-${id}`);\n element.classList.add(`${blockClassName}__upload--complete`);\n fileInput.value = null;\n })\n }\n\n eventHandler();\n}","import {getActionBySelect} from '../../helpers/selectAction';\nimport {addFileOption} from '../../helpers/uploadIntoSelect';\n\nexport default class IvrAction {\n constructor(el) {\n this.el = el;\n\n //this.messageFileInput = this.el.querySelector('.js-action-message-file');\n //this.messageFileSelect = this.el.querySelector('.js-action-message-files-select');\n\n //this.digitFileInput = this.el.querySelector('.js-ivr-digit-file');\n //this.digitFileSelect = this.el.querySelector('.js-ivr-digit-files-select');\n\n this.actionDelBtn = this.el.querySelector('.js-ivr-del-action');\n\n getActionBySelect(this.el.querySelector('.js-action-message-select'), this.el.querySelectorAll('.js-action-message-group'), this.el.querySelector('.js-action-message-container'));\n getActionBySelect(this.el.querySelector('.js-ivr-digit-action'), this.el.querySelectorAll('.js-ivr-digit-group'), this.el.querySelector('.js-digit-actions-container'));\n this.eventHandler();\n }\n\n eventHandler = () => {\n //this.messageFileInput.addEventListener('change', () => addFileOption(this.messageFileInput, this.messageFileSelect));\n //this.digitFileInput.addEventListener('change', () => addFileOption(this.digitFileInput, this.digitFileSelect));\n this.actionDelBtn.addEventListener('ajax:success', () => this.removeAction());\n }\n\n removeAction = () => {\n const removedItemId = this.el.dataset.id;\n const removedActionIdField = document.querySelector(`#ivr_option_ivr_actions_attributes_${removedItemId}_id`);\n removedActionIdField.remove();\n this.el.remove();\n }\n}","export const addFileOption = (uploader, select) => {\n let uploadedFile = uploader.files[uploader.files.length - 1];\n let option = new Option(uploadedFile.name, uploadedFile.name, false, true);\n select.options[select.options.length] = option;\n}","export function dropdown(el, selectEl) {\n const currentItem = el.querySelector('.js-dropdown-current');\n const dropdownList = el.querySelector('.js-dropdown-list');\n let isOpen = false;\n\n init();\n el.addEventListener('click', clickHandler);\n selectEl.addEventListener('change', init);\n\n const event = new Event('change');\n\n function clickHandler(event) {\n if (event.target === currentItem || event.target === el) {\n toggle();\n } else if (event.target.tagName === 'A') {\n setValue(event.target.dataset.id);\n close();\n }\n }\n\n function onDocumentClick(event) {\n if (!el.contains(event.target)) close();\n }\n\n function setValue(value) {\n selectEl.selectedIndex = [...selectEl.options].findIndex(item => item.value === value);\n selectEl.dispatchEvent(event);\n }\n\n function toggle() {\n if (isOpen) close()\n else open();\n }\n\n function open() {\n dropdownList.classList.remove('js-hide');\n document.addEventListener('click', onDocumentClick);\n isOpen = true;\n }\n\n function close() {\n dropdownList.classList.add('js-hide');\n document.removeEventListener('click', onDocumentClick);\n isOpen = false;\n }\n\n function init() {\n const selected = selectEl.selectedIndex;\n if (selected >= 0) {\n currentItem.textContent = selectEl.options[selected].text;\n } else {\n currentItem.textContent = 'Create IVR';\n }\n }\n}","// The strings in this file were generated from the bugfixer:import_flags and export_flags\n// tasks. However, for India (\"in\") and the Dominican Republic (\"do\"), I wrote special import\n// code since their ISO codes are also Javascript reserved words.\n\nimport { in as in_ } from '../../../assets/images/in.svg';\nimport { do as do_ } from '../../../assets/images/do.svg';\n\nimport as from '../../../assets/images/as.svg';\nimport mp from '../../../assets/images/mp.svg';\nimport gn from '../../../assets/images/gn.svg';\nimport nc from '../../../assets/images/nc.svg';\nimport dm from '../../../assets/images/dm.svg';\nimport fk from '../../../assets/images/fk.svg';\nimport si from '../../../assets/images/si.svg';\nimport tg from '../../../assets/images/tg.svg';\nimport ps from '../../../assets/images/ps.svg';\nimport qa from '../../../assets/images/qa.svg';\nimport mr from '../../../assets/images/mr.svg';\nimport fj from '../../../assets/images/fj.svg';\nimport mv from '../../../assets/images/mv.svg';\nimport mh from '../../../assets/images/mh.svg';\nimport us from '../../../assets/images/us.svg';\nimport er from '../../../assets/images/er.svg';\nimport ug from '../../../assets/images/ug.svg';\nimport ci from '../../../assets/images/ci.svg';\nimport la from '../../../assets/images/la.svg';\nimport sr from '../../../assets/images/sr.svg';\nimport be from '../../../assets/images/be.svg';\nimport cx from '../../../assets/images/cx.svg';\nimport rw from '../../../assets/images/rw.svg';\nimport nu from '../../../assets/images/nu.svg';\nimport fr from '../../../assets/images/fr.svg';\nimport mn from '../../../assets/images/mn.svg';\nimport bg from '../../../assets/images/bg.svg';\nimport gs from '../../../assets/images/gs.svg';\nimport cn from '../../../assets/images/cn.svg';\nimport gp from '../../../assets/images/gp.svg';\nimport gf from '../../../assets/images/gf.svg';\nimport ro from '../../../assets/images/ro.svg';\nimport eg from '../../../assets/images/eg.svg';\nimport ir from '../../../assets/images/ir.svg';\nimport gw from '../../../assets/images/gw.svg';\nimport ma from '../../../assets/images/ma.svg';\nimport vg from '../../../assets/images/vg.svg';\nimport tc from '../../../assets/images/tc.svg';\nimport cy from '../../../assets/images/cy.svg';\nimport mg from '../../../assets/images/mg.svg';\nimport yt from '../../../assets/images/yt.svg';\nimport wf from '../../../assets/images/wf.svg';\nimport no from '../../../assets/images/no.svg';\nimport et from '../../../assets/images/et.svg';\nimport nr from '../../../assets/images/nr.svg';\nimport co from '../../../assets/images/co.svg';\nimport bn from '../../../assets/images/bn.svg';\nimport vc from '../../../assets/images/vc.svg';\nimport rs from '../../../assets/images/rs.svg';\nimport lv from '../../../assets/images/lv.svg';\nimport cf from '../../../assets/images/cf.svg';\nimport it from '../../../assets/images/it.svg';\nimport eu from '../../../assets/images/eu.svg';\nimport dz from '../../../assets/images/dz.svg';\nimport re from '../../../assets/images/re.svg';\nimport cr from '../../../assets/images/cr.svg';\nimport am from '../../../assets/images/am.svg';\nimport pl from '../../../assets/images/pl.svg';\nimport ht from '../../../assets/images/ht.svg';\nimport nf from '../../../assets/images/nf.svg';\nimport so from '../../../assets/images/so.svg';\nimport ne from '../../../assets/images/ne.svg';\nimport fo from '../../../assets/images/fo.svg';\nimport al from '../../../assets/images/al.svg';\nimport ch from '../../../assets/images/ch.svg';\nimport um from '../../../assets/images/um.svg';\nimport gq from '../../../assets/images/gq.svg';\nimport hn from '../../../assets/images/hn.svg';\nimport tj from '../../../assets/images/tj.svg';\nimport tn from '../../../assets/images/tn.svg';\nimport td from '../../../assets/images/td.svg';\nimport to from '../../../assets/images/to.svg';\nimport jo from '../../../assets/images/jo.svg';\nimport iq from '../../../assets/images/iq.svg';\nimport sz from '../../../assets/images/sz.svg';\nimport ke from '../../../assets/images/ke.svg';\nimport by from '../../../assets/images/by.svg';\nimport vu from '../../../assets/images/vu.svg';\nimport pa from '../../../assets/images/pa.svg';\nimport uy from '../../../assets/images/uy.svg';\nimport ru from '../../../assets/images/ru.svg';\nimport de from '../../../assets/images/de.svg';\nimport cm from '../../../assets/images/cm.svg';\nimport mk from '../../../assets/images/mk.svg';\nimport eo from '../../../assets/images/eo.svg';\nimport cc from '../../../assets/images/cc.svg';\nimport pk from '../../../assets/images/pk.svg';\nimport ge from '../../../assets/images/ge.svg';\nimport tl from '../../../assets/images/tl.svg';\nimport lu from '../../../assets/images/lu.svg';\nimport pr from '../../../assets/images/pr.svg';\nimport at from '../../../assets/images/at.svg';\nimport ky from '../../../assets/images/ky.svg';\nimport ee from '../../../assets/images/ee.svg';\nimport ws from '../../../assets/images/ws.svg';\nimport bm from '../../../assets/images/bm.svg';\nimport is from '../../../assets/images/is.svg';\nimport mx from '../../../assets/images/mx.svg';\nimport zz from '../../../assets/images/zz.svg';\nimport ua from '../../../assets/images/ua.svg';\nimport km from '../../../assets/images/km.svg';\nimport sh from '../../../assets/images/sh.svg';\nimport bt from '../../../assets/images/bt.svg';\nimport bw from '../../../assets/images/bw.svg';\nimport tw from '../../../assets/images/tw.svg';\nimport ca from '../../../assets/images/ca.svg';\nimport ck from '../../../assets/images/ck.svg';\nimport np from '../../../assets/images/np.svg';\nimport mf from '../../../assets/images/mf.svg';\nimport sg from '../../../assets/images/sg.svg';\nimport bo from '../../../assets/images/bo.svg';\nimport gl from '../../../assets/images/gl.svg';\nimport gr from '../../../assets/images/gr.svg';\nimport mz from '../../../assets/images/mz.svg';\nimport bd from '../../../assets/images/bd.svg';\nimport br from '../../../assets/images/br.svg';\nimport bv from '../../../assets/images/bv.svg';\nimport kr from '../../../assets/images/kr.svg';\nimport sb from '../../../assets/images/sb.svg';\nimport mq from '../../../assets/images/mq.svg';\nimport ga from '../../../assets/images/ga.svg';\nimport sd from '../../../assets/images/sd.svg';\nimport pt from '../../../assets/images/pt.svg';\nimport il from '../../../assets/images/il.svg';\nimport cg from '../../../assets/images/cg.svg';\nimport ml from '../../../assets/images/ml.svg';\nimport kg from '../../../assets/images/kg.svg';\nimport ie from '../../../assets/images/ie.svg';\nimport dj from '../../../assets/images/dj.svg';\nimport ae from '../../../assets/images/ae.svg';\nimport lk from '../../../assets/images/lk.svg';\nimport mo from '../../../assets/images/mo.svg';\nimport ph from '../../../assets/images/ph.svg';\nimport gg from '../../../assets/images/gg.svg';\nimport pe from '../../../assets/images/pe.svg';\nimport tv from '../../../assets/images/tv.svg';\nimport sa from '../../../assets/images/sa.svg';\nimport cv from '../../../assets/images/cv.svg';\nimport ai from '../../../assets/images/ai.svg';\nimport mm from '../../../assets/images/mm.svg';\nimport zw from '../../../assets/images/zw.svg';\nimport au from '../../../assets/images/au.svg';\nimport mw from '../../../assets/images/mw.svg';\nimport pf from '../../../assets/images/pf.svg';\nimport mc from '../../../assets/images/mc.svg';\nimport gb from '../../../assets/images/gb.svg';\nimport eh from '../../../assets/images/eh.svg';\nimport ax from '../../../assets/images/ax.svg';\nimport gu from '../../../assets/images/gu.svg';\nimport cw from '../../../assets/images/cw.svg';\nimport sn from '../../../assets/images/sn.svg';\nimport bb from '../../../assets/images/bb.svg';\nimport sc from '../../../assets/images/sc.svg';\nimport aq from '../../../assets/images/aq.svg';\nimport ag from '../../../assets/images/ag.svg';\nimport nl from '../../../assets/images/nl.svg';\nimport az from '../../../assets/images/az.svg';\nimport im from '../../../assets/images/im.svg';\nimport pn from '../../../assets/images/pn.svg';\nimport sl from '../../../assets/images/sl.svg';\nimport sk from '../../../assets/images/sk.svg';\nimport bs from '../../../assets/images/bs.svg';\nimport tr from '../../../assets/images/tr.svg';\nimport cz from '../../../assets/images/cz.svg';\nimport hr from '../../../assets/images/hr.svg';\nimport ba from '../../../assets/images/ba.svg';\nimport ni from '../../../assets/images/ni.svg';\nimport id from '../../../assets/images/id.svg';\nimport ly from '../../../assets/images/ly.svg';\nimport gm from '../../../assets/images/gm.svg';\nimport va from '../../../assets/images/va.svg';\nimport zm from '../../../assets/images/zm.svg';\nimport gi from '../../../assets/images/gi.svg';\nimport sv from '../../../assets/images/sv.svg';\nimport af from '../../../assets/images/af.svg';\nimport aw from '../../../assets/images/aw.svg';\nimport md from '../../../assets/images/md.svg';\nimport es from '../../../assets/images/es.svg';\nimport je from '../../../assets/images/je.svg';\nimport ao from '../../../assets/images/ao.svg';\nimport st from '../../../assets/images/st.svg';\nimport ad from '../../../assets/images/ad.svg';\nimport ss from '../../../assets/images/ss.svg';\nimport fm from '../../../assets/images/fm.svg';\nimport jm from '../../../assets/images/jm.svg';\nimport ye from '../../../assets/images/ye.svg';\nimport tt from '../../../assets/images/tt.svg';\nimport ms from '../../../assets/images/ms.svg';\nimport kz from '../../../assets/images/kz.svg';\nimport ar from '../../../assets/images/ar.svg';\nimport bz from '../../../assets/images/bz.svg';\nimport bq from '../../../assets/images/bq.svg';\nimport om from '../../../assets/images/om.svg';\nimport bh from '../../../assets/images/bh.svg';\nimport kw from '../../../assets/images/kw.svg';\nimport sy from '../../../assets/images/sy.svg';\nimport lb from '../../../assets/images/lb.svg';\nimport pm from '../../../assets/images/pm.svg';\nimport kn from '../../../assets/images/kn.svg';\nimport me from '../../../assets/images/me.svg';\nimport mt from '../../../assets/images/mt.svg';\nimport vi from '../../../assets/images/vi.svg';\nimport ng from '../../../assets/images/ng.svg';\nimport py from '../../../assets/images/py.svg';\nimport gt from '../../../assets/images/gt.svg';\nimport li from '../../../assets/images/li.svg';\nimport tm from '../../../assets/images/tm.svg';\nimport lt from '../../../assets/images/lt.svg';\nimport lr from '../../../assets/images/lr.svg';\nimport tz from '../../../assets/images/tz.svg';\nimport ve from '../../../assets/images/ve.svg';\nimport dk from '../../../assets/images/dk.svg';\nimport th from '../../../assets/images/th.svg';\nimport cu from '../../../assets/images/cu.svg';\nimport pw from '../../../assets/images/pw.svg';\nimport tf from '../../../assets/images/tf.svg';\nimport fi from '../../../assets/images/fi.svg';\nimport nz from '../../../assets/images/nz.svg';\nimport cl from '../../../assets/images/cl.svg';\nimport lc from '../../../assets/images/lc.svg';\nimport ki from '../../../assets/images/ki.svg';\nimport gd from '../../../assets/images/gd.svg';\nimport ec from '../../../assets/images/ec.svg';\nimport bf from '../../../assets/images/bf.svg';\nimport bl from '../../../assets/images/bl.svg';\nimport bi from '../../../assets/images/bi.svg';\nimport kh from '../../../assets/images/kh.svg';\nimport sj from '../../../assets/images/sj.svg';\nimport gy from '../../../assets/images/gy.svg';\nimport cd from '../../../assets/images/cd.svg';\nimport kp from '../../../assets/images/kp.svg';\nimport sx from '../../../assets/images/sx.svg';\nimport sm from '../../../assets/images/sm.svg';\nimport gh from '../../../assets/images/gh.svg';\nimport pg from '../../../assets/images/pg.svg';\nimport hm from '../../../assets/images/hm.svg';\nimport uz from '../../../assets/images/uz.svg';\nimport io from '../../../assets/images/io.svg';\nimport vn from '../../../assets/images/vn.svg';\nimport ls from '../../../assets/images/ls.svg';\nimport za from '../../../assets/images/za.svg';\nimport hu from '../../../assets/images/hu.svg';\nimport na from '../../../assets/images/na.svg';\nimport mu from '../../../assets/images/mu.svg';\nimport my from '../../../assets/images/my.svg';\nimport hk from '../../../assets/images/hk.svg';\nimport jp from '../../../assets/images/jp.svg';\nimport tk from '../../../assets/images/tk.svg';\nimport se from '../../../assets/images/se.svg';\nimport bj from '../../../assets/images/bj.svg';\nimport xk from '../../../assets/images/xk.svg';\n\nexport { in_ as in };\nexport { do_ as do };\nexport default {\n as,\n mp,\n gn,\n nc,\n dm,\n fk,\n si,\n tg,\n ps,\n qa,\n mr,\n fj,\n mv,\n mh,\n us,\n er,\n ug,\n ci,\n la,\n sr,\n be,\n cx,\n rw,\n nu,\n fr,\n mn,\n bg,\n gs,\n cn,\n gp,\n gf,\n ro,\n eg,\n ir,\n gw,\n ma,\n vg,\n tc,\n cy,\n mg,\n yt,\n wf,\n no,\n et,\n nr,\n co,\n bn,\n vc,\n rs,\n lv,\n cf,\n it,\n eu,\n dz,\n re,\n cr,\n am,\n pl,\n ht,\n nf,\n so,\n ne,\n fo,\n al,\n ch,\n um,\n gq,\n hn,\n tj,\n tn,\n td,\n to,\n jo,\n iq,\n sz,\n ke,\n by,\n vu,\n pa,\n uy,\n ru,\n de,\n cm,\n mk,\n eo,\n cc,\n pk,\n ge,\n tl,\n lu,\n pr,\n at,\n ky,\n ee,\n ws,\n bm,\n is,\n mx,\n zz,\n ua,\n km,\n sh,\n bt,\n bw,\n tw,\n ca,\n ck,\n np,\n mf,\n sg,\n bo,\n gl,\n gr,\n mz,\n bd,\n br,\n bv,\n kr,\n sb,\n mq,\n ga,\n sd,\n pt,\n il,\n cg,\n ml,\n kg,\n ie,\n dj,\n ae,\n lk,\n mo,\n ph,\n gg,\n pe,\n tv,\n sa,\n cv,\n ai,\n mm,\n zw,\n au,\n mw,\n pf,\n mc,\n gb,\n eh,\n ax,\n gu,\n cw,\n sn,\n bb,\n sc,\n aq,\n ag,\n nl,\n az,\n im,\n pn,\n sl,\n sk,\n bs,\n tr,\n cz,\n hr,\n ba,\n ni,\n id,\n ly,\n gm,\n va,\n zm,\n gi,\n sv,\n af,\n aw,\n md,\n es,\n je,\n ao,\n st,\n ad,\n ss,\n fm,\n jm,\n ye,\n tt,\n ms,\n kz,\n ar,\n bz,\n bq,\n om,\n bh,\n kw,\n sy,\n lb,\n pm,\n kn,\n me,\n mt,\n vi,\n ng,\n py,\n gt,\n li,\n tm,\n lt,\n lr,\n tz,\n ve,\n dk,\n th,\n cu,\n pw,\n tf,\n fi,\n nz,\n cl,\n lc,\n ki,\n gd,\n ec,\n bf,\n bl,\n bi,\n kh,\n sj,\n gy,\n cd,\n kp,\n sx,\n sm,\n gh,\n pg,\n hm,\n uz,\n io,\n vn,\n ls,\n za,\n hu,\n na,\n mu,\n my,\n hk,\n jp,\n tk,\n se,\n bj,\n xk,\n};","export function animatedRemove(el) {\n el.classList.add('flash-hide');\n setTimeout(() => { el.remove() }, 500);\n}","import { LOCAL_API_URL, STRIPE_PUBLISH_KEY } from '../constants';\nimport { showFlash } from '../helpers/showFlash';\nimport { animatedRemove } from '../helpers/animatedRemove';\n\nexport function creditCardHandler(subscriptionId, paymentBtnEl, spinnerEl, flashMessageEl, {\n isChanged = true, \n fixedAmount = null, \n invoiceId = null,\n invoiceForm = null,\n invoiceFlash = null,\n } = {}) {\n const stripe = Stripe(STRIPE_PUBLISH_KEY);\n\n paymentBtnEl.addEventListener('click', async e => {\n e.preventDefault();\n sendStart();\n const amount = isChanged ? document.querySelector('.add-credit__radio:checked').value : fixedAmount;\n const payload = {\n amount: amount,\n subscription_id: subscriptionId, \n };\n if (invoiceId) payload.invoice_id = invoiceId;\n try {\n await stripeRequestsHandler(payload);\n showFlash(flashMessageEl, \"Your payment succeeded\");\n if (invoiceId) {\n await sendPaidInvoice(invoiceId);\n animatedRemove(invoiceForm);\n }\n } catch (err) {\n showFlash(flashMessageEl, err);\n } finally {\n sendEnd();\n }\n })\n\n async function stripeRequestsHandler(payload) {\n const result = await fetch(`${LOCAL_API_URL}/api/v1/orders/stripe/create-general-payment-intent?${new URLSearchParams(payload)}`, { method: 'POST' });\n const { client_secret, payment_method_id, message } = await result.json();\n if (message) throw new Error(message)\n const { paymentIntent, error } = await stripe.confirmCardPayment(client_secret, {payment_method: payment_method_id});\n if (error) throw new Error(error.message);\n }\n\n async function sendPaidInvoice(id) {\n try {\n const result = await fetch(`${LOCAL_API_URL}/api/v1/invoices/mark-as-paid?${new URLSearchParams({invoice_id: id})}`, \n { method: 'POST' });\n const { message } = await result.json();\n showFlash(invoiceFlash, message);\n } catch (err) {\n throw new Error(err);\n }\n }\n\n function sendStart() {\n spinnerEl.removeAttribute('hidden');\n paymentBtnEl.setAttribute('disabled', true);\n }\n\n function sendEnd() {\n spinnerEl.setAttribute('hidden', '')\n paymentBtnEl.removeAttribute('disabled');\n }\n}","module.exports = __webpack_public_path__ + \"media/images/in-b26883f5.svg\";","module.exports = __webpack_public_path__ + \"media/images/do-e4b4a398.svg\";","module.exports = __webpack_public_path__ + \"media/images/as-381dd9b1.svg\";","module.exports = __webpack_public_path__ + \"media/images/mp-02c2e9ab.svg\";","module.exports = __webpack_public_path__ + \"media/images/gn-d0cfb080.svg\";","module.exports = __webpack_public_path__ + \"media/images/nc-a9877f70.svg\";","module.exports = __webpack_public_path__ + \"media/images/dm-c8982f40.svg\";","module.exports = __webpack_public_path__ + \"media/images/fk-fd90cfef.svg\";","module.exports = __webpack_public_path__ + \"media/images/si-1a5eed99.svg\";","module.exports = __webpack_public_path__ + \"media/images/tg-21ad81ec.svg\";","module.exports = __webpack_public_path__ + \"media/images/ps-e991aef0.svg\";","module.exports = __webpack_public_path__ + \"media/images/qa-ad4028f3.svg\";","module.exports = __webpack_public_path__ + \"media/images/mr-4e8ee115.svg\";","module.exports = __webpack_public_path__ + \"media/images/fj-b6b284a6.svg\";","module.exports = __webpack_public_path__ + \"media/images/mv-9e59696e.svg\";","module.exports = __webpack_public_path__ + \"media/images/mh-5de03de2.svg\";","module.exports = __webpack_public_path__ + \"media/images/us-56367791.svg\";","module.exports = __webpack_public_path__ + \"media/images/er-c2047103.svg\";","module.exports = __webpack_public_path__ + \"media/images/ug-5a21c63f.svg\";","module.exports = __webpack_public_path__ + \"media/images/ci-aff50dc5.svg\";","module.exports = __webpack_public_path__ + \"media/images/la-5b0171d2.svg\";","module.exports = __webpack_public_path__ + \"media/images/sr-1f100178.svg\";","module.exports = __webpack_public_path__ + \"media/images/be-1c020ab1.svg\";","module.exports = __webpack_public_path__ + \"media/images/cx-344df11d.svg\";","module.exports = __webpack_public_path__ + \"media/images/rw-73f8b928.svg\";","module.exports = __webpack_public_path__ + \"media/images/nu-1cd601d3.svg\";","module.exports = __webpack_public_path__ + \"media/images/fr-1ff689d3.svg\";","module.exports = __webpack_public_path__ + \"media/images/mn-0337897e.svg\";","module.exports = __webpack_public_path__ + \"media/images/bg-2b744f8c.svg\";","module.exports = __webpack_public_path__ + \"media/images/gs-038012fa.svg\";","module.exports = __webpack_public_path__ + \"media/images/cn-4ddb627c.svg\";","module.exports = __webpack_public_path__ + \"media/images/gp-7d117749.svg\";","module.exports = __webpack_public_path__ + \"media/images/gf-2f1f80e1.svg\";","module.exports = __webpack_public_path__ + \"media/images/ro-f44b2f8f.svg\";","module.exports = __webpack_public_path__ + \"media/images/eg-541c2c16.svg\";","module.exports = __webpack_public_path__ + \"media/images/ir-79fa900d.svg\";","module.exports = __webpack_public_path__ + \"media/images/gw-da5d3290.svg\";","module.exports = __webpack_public_path__ + \"media/images/ma-2587463a.svg\";","module.exports = __webpack_public_path__ + \"media/images/vg-f9421072.svg\";","module.exports = __webpack_public_path__ + \"media/images/tc-76ace2c9.svg\";","module.exports = __webpack_public_path__ + \"media/images/cy-beaafd2f.svg\";","module.exports = __webpack_public_path__ + \"media/images/mg-c39f32e8.svg\";","module.exports = __webpack_public_path__ + \"media/images/yt-8955a764.svg\";","module.exports = __webpack_public_path__ + \"media/images/wf-852712e1.svg\";","module.exports = __webpack_public_path__ + \"media/images/no-6fe82bfe.svg\";","module.exports = __webpack_public_path__ + \"media/images/et-4685a6fa.svg\";","module.exports = __webpack_public_path__ + \"media/images/nr-6d60b594.svg\";","module.exports = __webpack_public_path__ + \"media/images/co-164dbf7c.svg\";","module.exports = __webpack_public_path__ + \"media/images/bn-a58e3414.svg\";","module.exports = __webpack_public_path__ + \"media/images/vc-f2a1c513.svg\";","module.exports = __webpack_public_path__ + \"media/images/rs-2bb91b5f.svg\";","module.exports = __webpack_public_path__ + \"media/images/lv-1ff2672e.svg\";","module.exports = __webpack_public_path__ + \"media/images/cf-de356bdd.svg\";","module.exports = __webpack_public_path__ + \"media/images/it-3b30705a.svg\";","module.exports = __webpack_public_path__ + \"media/images/eu-2b791883.svg\";","module.exports = __webpack_public_path__ + \"media/images/dz-67c925db.svg\";","module.exports = __webpack_public_path__ + \"media/images/re-cab2ae86.svg\";","module.exports = __webpack_public_path__ + \"media/images/cr-5ce9a1a4.svg\";","module.exports = __webpack_public_path__ + \"media/images/am-1724b208.svg\";","module.exports = __webpack_public_path__ + \"media/images/pl-2435528f.svg\";","module.exports = __webpack_public_path__ + \"media/images/ht-264f4e6f.svg\";","module.exports = __webpack_public_path__ + \"media/images/nf-f6147eef.svg\";","module.exports = __webpack_public_path__ + \"media/images/so-fc3e25ca.svg\";","module.exports = __webpack_public_path__ + \"media/images/ne-6c1c77d9.svg\";","module.exports = __webpack_public_path__ + \"media/images/fo-9ed765d0.svg\";","module.exports = __webpack_public_path__ + \"media/images/al-3a1c8a20.svg\";","module.exports = __webpack_public_path__ + \"media/images/ch-bb069571.svg\";","module.exports = __webpack_public_path__ + \"media/images/um-e291056b.svg\";","module.exports = __webpack_public_path__ + \"media/images/gq-483885bb.svg\";","module.exports = __webpack_public_path__ + \"media/images/hn-a13d9f29.svg\";","module.exports = __webpack_public_path__ + \"media/images/tj-2c0ea6e9.svg\";","module.exports = __webpack_public_path__ + \"media/images/tn-0dbc8cb1.svg\";","module.exports = __webpack_public_path__ + \"media/images/td-8a5585d2.svg\";","module.exports = __webpack_public_path__ + \"media/images/to-7e4aa6ad.svg\";","module.exports = __webpack_public_path__ + \"media/images/jo-8ea5b221.svg\";","module.exports = __webpack_public_path__ + \"media/images/iq-56fb134f.svg\";","module.exports = __webpack_public_path__ + \"media/images/sz-f06f6b33.svg\";","module.exports = __webpack_public_path__ + \"media/images/ke-53125851.svg\";","module.exports = __webpack_public_path__ + \"media/images/by-15af7f73.svg\";","module.exports = __webpack_public_path__ + \"media/images/vu-bd3e2a8e.svg\";","module.exports = __webpack_public_path__ + \"media/images/pa-35018505.svg\";","module.exports = __webpack_public_path__ + \"media/images/uy-4a55093d.svg\";","module.exports = __webpack_public_path__ + \"media/images/ru-2191ae42.svg\";","module.exports = __webpack_public_path__ + \"media/images/de-e49a32e9.svg\";","module.exports = __webpack_public_path__ + \"media/images/cm-ab8955eb.svg\";","module.exports = __webpack_public_path__ + \"media/images/mk-e9c5ac48.svg\";","module.exports = __webpack_public_path__ + \"media/images/eo-6b57715f.svg\";","module.exports = __webpack_public_path__ + \"media/images/cc-14e40f52.svg\";","module.exports = __webpack_public_path__ + \"media/images/pk-ec174056.svg\";","module.exports = __webpack_public_path__ + \"media/images/ge-4f9a2138.svg\";","module.exports = __webpack_public_path__ + \"media/images/tl-fd390817.svg\";","module.exports = __webpack_public_path__ + \"media/images/lu-460ac81b.svg\";","module.exports = __webpack_public_path__ + \"media/images/pr-269c3076.svg\";","module.exports = __webpack_public_path__ + \"media/images/at-88d69229.svg\";","module.exports = __webpack_public_path__ + \"media/images/ky-2ab1f676.svg\";","module.exports = __webpack_public_path__ + \"media/images/ee-5ee43c2e.svg\";","module.exports = __webpack_public_path__ + \"media/images/ws-3a393ddf.svg\";","module.exports = __webpack_public_path__ + \"media/images/bm-fe6094f0.svg\";","module.exports = __webpack_public_path__ + \"media/images/is-10f78aed.svg\";","module.exports = __webpack_public_path__ + \"media/images/mx-44dbb745.svg\";","module.exports = __webpack_public_path__ + \"media/images/zz-b17f9107.svg\";","module.exports = __webpack_public_path__ + \"media/images/ua-6db4b4f1.svg\";","module.exports = __webpack_public_path__ + \"media/images/km-2e3daead.svg\";","module.exports = __webpack_public_path__ + \"media/images/sh-f992f69f.svg\";","module.exports = __webpack_public_path__ + \"media/images/bt-d0dccf28.svg\";","module.exports = __webpack_public_path__ + \"media/images/bw-4f346860.svg\";","module.exports = __webpack_public_path__ + \"media/images/tw-3def6ca4.svg\";","module.exports = __webpack_public_path__ + \"media/images/ca-022c82cd.svg\";","module.exports = __webpack_public_path__ + \"media/images/ck-443701ce.svg\";","module.exports = __webpack_public_path__ + \"media/images/np-c4010310.svg\";","module.exports = __webpack_public_path__ + \"media/images/mf-7240451c.svg\";","module.exports = __webpack_public_path__ + \"media/images/sg-5d1eae0a.svg\";","module.exports = __webpack_public_path__ + \"media/images/bo-3870272d.svg\";","module.exports = __webpack_public_path__ + \"media/images/gl-7e11b1f9.svg\";","module.exports = __webpack_public_path__ + \"media/images/gr-eb391694.svg\";","module.exports = __webpack_public_path__ + \"media/images/mz-6ce82e38.svg\";","module.exports = __webpack_public_path__ + \"media/images/bd-ad2a090e.svg\";","module.exports = __webpack_public_path__ + \"media/images/br-c0dd82c8.svg\";","module.exports = __webpack_public_path__ + \"media/images/bv-ba321bb8.svg\";","module.exports = __webpack_public_path__ + \"media/images/kr-de8b9719.svg\";","module.exports = __webpack_public_path__ + \"media/images/sb-c8cb2db6.svg\";","module.exports = __webpack_public_path__ + \"media/images/mq-ec9179d6.svg\";","module.exports = __webpack_public_path__ + \"media/images/ga-93b9a7b7.svg\";","module.exports = __webpack_public_path__ + \"media/images/sd-e368a0ab.svg\";","module.exports = __webpack_public_path__ + \"media/images/pt-85b03fa3.svg\";","module.exports = __webpack_public_path__ + \"media/images/il-64636ffa.svg\";","module.exports = __webpack_public_path__ + \"media/images/cg-d0c123d7.svg\";","module.exports = __webpack_public_path__ + \"media/images/ml-6eb10ac9.svg\";","module.exports = __webpack_public_path__ + \"media/images/kg-95145def.svg\";","module.exports = __webpack_public_path__ + \"media/images/ie-76ea679c.svg\";","module.exports = __webpack_public_path__ + \"media/images/dj-ec5c5680.svg\";","module.exports = __webpack_public_path__ + \"media/images/ae-f5474672.svg\";","module.exports = __webpack_public_path__ + \"media/images/lk-0c40cf99.svg\";","module.exports = __webpack_public_path__ + \"media/images/mo-febb28b1.svg\";","module.exports = __webpack_public_path__ + \"media/images/ph-d0278cb5.svg\";","module.exports = __webpack_public_path__ + \"media/images/gg-be2c61f6.svg\";","module.exports = __webpack_public_path__ + \"media/images/pe-c228cfcb.svg\";","module.exports = __webpack_public_path__ + \"media/images/tv-3fbe0fff.svg\";","module.exports = __webpack_public_path__ + \"media/images/sa-29107681.svg\";","module.exports = __webpack_public_path__ + \"media/images/cv-0463a5f8.svg\";","module.exports = __webpack_public_path__ + \"media/images/ai-7ce0b716.svg\";","module.exports = __webpack_public_path__ + \"media/images/mm-17f4c638.svg\";","module.exports = __webpack_public_path__ + \"media/images/zw-99840665.svg\";","module.exports = __webpack_public_path__ + \"media/images/au-6ffc11f6.svg\";","module.exports = __webpack_public_path__ + \"media/images/mw-5253ffd0.svg\";","module.exports = __webpack_public_path__ + \"media/images/pf-cf277fef.svg\";","module.exports = __webpack_public_path__ + \"media/images/mc-3ccdefee.svg\";","module.exports = __webpack_public_path__ + \"media/images/gb-68355522.svg\";","module.exports = __webpack_public_path__ + \"media/images/eh-b9197536.svg\";","module.exports = __webpack_public_path__ + \"media/images/ax-bf3b8721.svg\";","module.exports = __webpack_public_path__ + \"media/images/gu-4389b935.svg\";","module.exports = __webpack_public_path__ + \"media/images/cw-1ca8a09e.svg\";","module.exports = __webpack_public_path__ + \"media/images/sn-5342f89e.svg\";","module.exports = __webpack_public_path__ + \"media/images/bb-08dd94c1.svg\";","module.exports = __webpack_public_path__ + \"media/images/sc-6b845cc7.svg\";","module.exports = __webpack_public_path__ + \"media/images/aq-b3118c4f.svg\";","module.exports = __webpack_public_path__ + \"media/images/ag-b60297bf.svg\";","module.exports = __webpack_public_path__ + \"media/images/nl-24917e4b.svg\";","module.exports = __webpack_public_path__ + \"media/images/az-36341ab8.svg\";","module.exports = __webpack_public_path__ + \"media/images/im-2d41664b.svg\";","module.exports = __webpack_public_path__ + \"media/images/pn-148fc0b2.svg\";","module.exports = __webpack_public_path__ + \"media/images/sl-075691ab.svg\";","module.exports = __webpack_public_path__ + \"media/images/sk-c7b57c28.svg\";","module.exports = __webpack_public_path__ + \"media/images/bs-3ac9796e.svg\";","module.exports = __webpack_public_path__ + \"media/images/tr-a3f84585.svg\";","module.exports = __webpack_public_path__ + \"media/images/cz-0609c23b.svg\";","module.exports = __webpack_public_path__ + \"media/images/hr-3d75658c.svg\";","module.exports = __webpack_public_path__ + \"media/images/ba-4145c172.svg\";","module.exports = __webpack_public_path__ + \"media/images/ni-5b5a63ad.svg\";","module.exports = __webpack_public_path__ + \"media/images/id-84cf596f.svg\";","module.exports = __webpack_public_path__ + \"media/images/ly-71a8ba58.svg\";","module.exports = __webpack_public_path__ + \"media/images/gm-bd51b6f7.svg\";","module.exports = __webpack_public_path__ + \"media/images/va-a7979722.svg\";","module.exports = __webpack_public_path__ + \"media/images/zm-7cf9b936.svg\";","module.exports = __webpack_public_path__ + \"media/images/gi-420e66a9.svg\";","module.exports = __webpack_public_path__ + \"media/images/sv-a2f6f89a.svg\";","module.exports = __webpack_public_path__ + \"media/images/af-5ee290e8.svg\";","module.exports = __webpack_public_path__ + \"media/images/aw-ff7adacb.svg\";","module.exports = __webpack_public_path__ + \"media/images/md-cc821174.svg\";","module.exports = __webpack_public_path__ + \"media/images/es-9da5d546.svg\";","module.exports = __webpack_public_path__ + \"media/images/je-f5bb985d.svg\";","module.exports = __webpack_public_path__ + \"media/images/ao-70f132e0.svg\";","module.exports = __webpack_public_path__ + \"media/images/st-b75c293e.svg\";","module.exports = __webpack_public_path__ + \"media/images/ad-7b298228.svg\";","module.exports = __webpack_public_path__ + \"media/images/ss-8b86ef9e.svg\";","module.exports = __webpack_public_path__ + \"media/images/fm-1ec73d49.svg\";","module.exports = __webpack_public_path__ + \"media/images/jm-e99e65c1.svg\";","module.exports = __webpack_public_path__ + \"media/images/ye-92fd0374.svg\";","module.exports = __webpack_public_path__ + \"media/images/tt-7bca8744.svg\";","module.exports = __webpack_public_path__ + \"media/images/ms-b7b6ead6.svg\";","module.exports = __webpack_public_path__ + \"media/images/kz-9d52c9d8.svg\";","module.exports = __webpack_public_path__ + \"media/images/ar-51979410.svg\";","module.exports = __webpack_public_path__ + \"media/images/bz-26a8693a.svg\";","module.exports = __webpack_public_path__ + \"media/images/bq-739b17c1.svg\";","module.exports = __webpack_public_path__ + \"media/images/om-43665bdf.svg\";","module.exports = __webpack_public_path__ + \"media/images/bh-dc69b038.svg\";","module.exports = __webpack_public_path__ + \"media/images/kw-342d08d0.svg\";","module.exports = __webpack_public_path__ + \"media/images/sy-5d90dba5.svg\";","module.exports = __webpack_public_path__ + \"media/images/lb-1f5143c5.svg\";","module.exports = __webpack_public_path__ + \"media/images/pm-79e23866.svg\";","module.exports = __webpack_public_path__ + \"media/images/kn-0b82be29.svg\";","module.exports = __webpack_public_path__ + \"media/images/me-c5312ff5.svg\";","module.exports = __webpack_public_path__ + \"media/images/mt-c3c2edf9.svg\";","module.exports = __webpack_public_path__ + \"media/images/vi-f9421072.svg\";","module.exports = __webpack_public_path__ + \"media/images/ng-cb0fbcc7.svg\";","module.exports = __webpack_public_path__ + \"media/images/py-23cb59b3.svg\";","module.exports = __webpack_public_path__ + \"media/images/gt-a06b9c6a.svg\";","module.exports = __webpack_public_path__ + \"media/images/li-b19c3078.svg\";","module.exports = __webpack_public_path__ + \"media/images/tm-565e9a0b.svg\";","module.exports = __webpack_public_path__ + \"media/images/lt-3056c315.svg\";","module.exports = __webpack_public_path__ + \"media/images/lr-36f9b161.svg\";","module.exports = __webpack_public_path__ + \"media/images/tz-a4c3703a.svg\";","module.exports = __webpack_public_path__ + \"media/images/ve-d514cf08.svg\";","module.exports = __webpack_public_path__ + \"media/images/dk-3476b44a.svg\";","module.exports = __webpack_public_path__ + \"media/images/th-2814ec93.svg\";","module.exports = __webpack_public_path__ + \"media/images/cu-e9929b06.svg\";","module.exports = __webpack_public_path__ + \"media/images/pw-c55fde4a.svg\";","module.exports = __webpack_public_path__ + \"media/images/tf-8a5784b9.svg\";","module.exports = __webpack_public_path__ + \"media/images/fi-e8d07134.svg\";","module.exports = __webpack_public_path__ + \"media/images/nz-d0007e37.svg\";","module.exports = __webpack_public_path__ + \"media/images/cl-6693d5c9.svg\";","module.exports = __webpack_public_path__ + \"media/images/lc-90d89d73.svg\";","module.exports = __webpack_public_path__ + \"media/images/ki-18b679dc.svg\";","module.exports = __webpack_public_path__ + \"media/images/gd-82b63095.svg\";","module.exports = __webpack_public_path__ + \"media/images/ec-87b15093.svg\";","module.exports = __webpack_public_path__ + \"media/images/bf-109f2707.svg\";","module.exports = __webpack_public_path__ + \"media/images/bl-98729942.svg\";","module.exports = __webpack_public_path__ + \"media/images/bi-23ccc197.svg\";","module.exports = __webpack_public_path__ + \"media/images/kh-389624e1.svg\";","module.exports = __webpack_public_path__ + \"media/images/sj-5dc11e0a.svg\";","module.exports = __webpack_public_path__ + \"media/images/gy-e7f2937a.svg\";","module.exports = __webpack_public_path__ + \"media/images/cd-64f6d1be.svg\";","module.exports = __webpack_public_path__ + \"media/images/kp-7aad3d73.svg\";","module.exports = __webpack_public_path__ + \"media/images/sx-05a4e32f.svg\";","module.exports = __webpack_public_path__ + \"media/images/sm-6dc034c7.svg\";","module.exports = __webpack_public_path__ + \"media/images/gh-97fd7644.svg\";","module.exports = __webpack_public_path__ + \"media/images/pg-cfb6c74c.svg\";","module.exports = __webpack_public_path__ + \"media/images/hm-c960bc20.svg\";","module.exports = __webpack_public_path__ + \"media/images/uz-742459ee.svg\";","module.exports = __webpack_public_path__ + \"media/images/io-1274f0ef.svg\";","module.exports = __webpack_public_path__ + \"media/images/vn-0c4489fa.svg\";","module.exports = __webpack_public_path__ + \"media/images/ls-30f94476.svg\";","module.exports = __webpack_public_path__ + \"media/images/za-6ac43b1f.svg\";","module.exports = __webpack_public_path__ + \"media/images/hu-4f113a52.svg\";","module.exports = __webpack_public_path__ + \"media/images/na-00176f68.svg\";","module.exports = __webpack_public_path__ + \"media/images/mu-f561086e.svg\";","module.exports = __webpack_public_path__ + \"media/images/my-ad4b07a6.svg\";","module.exports = __webpack_public_path__ + \"media/images/hk-1720dd16.svg\";","module.exports = __webpack_public_path__ + \"media/images/jp-60d814e7.svg\";","module.exports = __webpack_public_path__ + \"media/images/tk-8830ee3a.svg\";","module.exports = __webpack_public_path__ + \"media/images/se-0b7e0c2d.svg\";","module.exports = __webpack_public_path__ + \"media/images/bj-e63a9ea9.svg\";","module.exports = __webpack_public_path__ + \"media/images/xk-02b93059.svg\";","import {getActionBySelect} from '../../helpers/selectAction';\nimport {addFileOption} from '../../helpers/uploadIntoSelect';\nimport {dropdown} from '../../helpers/dropdown';\nimport {IvrActionObserver} from './ivr-observers';\nimport { Modal } from '../../helpers/modal';\nimport IvrAction from './ivr-action';\n\nexport default class IvrOption {\n constructor(el) {\n this.el = el;\n this.form = this.el.querySelector('.js-ivr-form');\n this.greetingSelect = this.form.querySelector('.js-ivr-action-select');\n this.greetingActions = this.form.querySelectorAll('.js-action-group');\n this.greetingActionsWrap = this.form.querySelector('.js-action-container');\n\n this.actionsList = this.el.querySelector('.js-ivr-actions-wrapper');\n this.ivrActions = this.actionsList.querySelectorAll('.js-ivr-action');\n\n //this.fileInput = this.form.querySelector('.js-action-message-file');\n this.fileSelect = this.form.querySelector('.js-files-select');\n\n this.addActionBtn = this.form.querySelector('.js-ivr-add-action');\n this.addIvrBtn = this.form.querySelector('.js-ivr-add-btn');\n this.delIvrBtn = this.form.querySelector('.js-ivr-del-btn');\n\n this.ivrSelect = this.form.querySelector('.js-ivr-select');\n this.ivrName = this.form.querySelector('.js-ivr-change-name-block');\n this.ivrNameInput = this.ivrName.querySelector('.js-ivr-change-name-input');\n this.ivrChangeNameBtn = this.form.querySelector('.js-ivr-change-name-btn');\n this.ivrLinks = this.form.querySelectorAll('.settings__ivr-link');\n\n this.keyPressed = false;\n \n dropdown(this.form.querySelector('.js-ivr-dropdown'), this.ivrSelect);\n this.initActions();\n this.eventHandler();\n IvrActionObserver(this.actionsList);\n getActionBySelect(this.greetingSelect, this.greetingActions, this.greetingActionsWrap);\n }\n\n eventHandler = () => {\n //this.fileInput.addEventListener('change', () => addFileOption(this.fileInput, this.fileSelect));\n this.ivrChangeNameBtn.addEventListener('click', this.showInput);\n this.ivrNameInput.addEventListener('keydown', (e) => this.keyHandler(e));\n this.ivrNameInput.addEventListener('keyup', () => {this.keyPressed = false});\n this.addIvrBtn.addEventListener('ajax:success', () => this.openIvrModal());\n this.delIvrBtn.addEventListener('ajax:success', () => location.reload());\n this.addActionBtn.addEventListener('ajax:success', () => this.scrollToAction());\n }\n\n initActions = () => {\n this.ivrActions.forEach(item => new IvrAction(item));\n if (this.ivrActions.length >= 12) {\n this.addActionBtn.classList.add('js-hide');\n }\n }\n\n keyHandler = (e) => {\n if (!this.keyPressed) {\n this.keyPressed = true;\n if ((e.key === 'Enter') || (e.key === 'Escape')) {\n e.preventDefault();\n this.saveInputChanges();\n }\n }\n }\n \n showInput = () => {\n this.ivrName.classList.remove('js-hide');\n this.ivrNameInput.focus();\n this.ivrNameInput.addEventListener('focusout', this.saveInputChanges);\n }\n\n hideInput = () => {\n this.ivrName.classList.add('js-hide');\n this.ivrNameInput.removeEventListener('focusout', this.saveInputChanges);\n }\n\n saveInputChanges = () => {\n const value = this.ivrNameInput.value;\n const selectedIvrOption = this.ivrSelect.options[this.ivrSelect.selectedIndex];\n selectedIvrOption.textContent = value;\n this.form.querySelector('.js-dropdown-current').textContent = value;\n this.hideInput();\n }\n\n openIvrModal = () => {\n const modal = document.querySelector('.js-modal-ivr');\n const newModal = new Modal(modal);\n newModal.open();\n }\n\n scrollToAction = () => {\n console.log('click');\n // const submitBtn = this.el.querySelector('.js-ivr-submit');\n // submitBtn.click();\n // setTimeout(() => {\n // const ivrLayout = document.querySelector('.js-ivr-layout');\n // ivrLayout.scrollTop = ivrLayout.scrollHeight;\n // }, 500);\n }\n}\n\n","import { observer } from '../../helpers/observer';\nimport IvrOption from './ivr';\nimport IvrAction from './ivr-action';\n\nexport function IvrObserver(el) {\n const addNodeCallback = (addedNode) => {\n return new IvrOption(addedNode);\n }\n\n observer(el, addNodeCallback);\n}\n\nexport function IvrActionObserver(el) {\n const addNodeCallback = (addedNode) => {\n if (addedNode instanceof HTMLLIElement) {\n return new IvrAction(addedNode);\n } \n return\n }\n const delNodeCallback = (deletedNode) => {\n if (deletedNode instanceof HTMLLIElement) {\n const addActionBtn = document.querySelector('.js-ivr-add-action');\n if (addActionBtn.classList.contains('js-hide')) {\n addActionBtn.classList.remove('js-hide')\n }\n }\n return\n }\n\n observer(el, addNodeCallback, delNodeCallback);\n}","import { Modal } from '../helpers/modal'; \n\nexport default class Payment {\n constructor(el) {\n this.el = el;\n this.addCardBtn = this.el.querySelector('.js-add-card-btn');\n this.addCardModal = document.querySelector('.js-modal-add-card');\n this.payToggle = this.el.querySelector('.js-pay-method-toggle');\n\n this.eventHandler();\n }\n\n eventHandler = () => {\n this.addCardBtn && this.addCardBtn.addEventListener('click', this.openAddCardModal);\n this.payToggle.addEventListener('ajax:send', this.sendingHandler);\n }\n\n openAddCardModal = () => {\n const cardModal = new Modal(this.addCardModal);\n cardModal.open()\n }\n\n sendingHandler = () => {\n const payMethodWrap = this.el.querySelector('.pay-method__method');\n const spinner = this.el.querySelector('.spinner');\n\n payMethodWrap.innerHTML = '';\n spinner.removeAttribute('hidden');\n }\n}","import { Modal } from '../helpers/modal';\n\nexport default class Summary {\n constructor(el) {\n this.el = el;\n this.editBtn = this.el.querySelector('.js-edit-email');\n this.downgradeBtn = this.el.querySelector('.js-downgrade-btn');\n this.downgradeProBtn = this.el.querySelector('.js-downgrade-pro-btn');\n this.upgradeBtn = this.el.querySelector('.js-upgrade-btn');\n this.upgradeProBusinessBtn = this.el.querySelector('.js-upgrade-pro-business-btn');\n this.monthlyPlanBtn = this.el.querySelector('.js-monthly-btn');\n this.yearlyPlanBtn = this.el.querySelector('.js-yearly-btn');\n\n this.eventHandler();\n }\n\n eventHandler = () => {\n this.editBtn.addEventListener('ajax:success', this.openEditModal);\n this.downgradeBtn && this.downgradeBtn.addEventListener('ajax:success', this.openConfirmModal);\n this.downgradeProBtn && this.downgradeProBtn.addEventListener('ajax:success', this.openConfirmModal);\n this.upgradeBtn && this.upgradeBtn.addEventListener('ajax:success', this.openConfirmModal);\n this.upgradeProBusinessBtn && this.upgradeProBusinessBtn.addEventListener('ajax:success', this.openConfirmModal);\n this.monthlyPlanBtn && this.monthlyPlanBtn.addEventListener('ajax:success', this.openConfirmModal);\n this.yearlyPlanBtn && this.yearlyPlanBtn.addEventListener('ajax:success', this.openConfirmModal);\n }\n\n openEditModal = () => {\n const modal = document.querySelector('.js-modal-email');\n const newModal = new Modal(modal);\n newModal.open();\n }\n\n openConfirmModal = () => {\n const modal = document.querySelector('.js-modal-confirm');\n const newModal = new Modal(modal);\n newModal.open();\n }\n}","import { uploader } from '../helpers/uploader';\n\nexport default class AudioForm {\n constructor(el) {\n this.el = el;\n this.form = this.el.querySelector('.js-audio-form');\n this.uploader = this.form.querySelector('.js-audio-upload');\n this.delBtns = this.el.querySelectorAll('.js-del-audio');\n\n this.eventHandler();\n uploader(this.form, this.uploader, 'audio', this.submitTrigger);\n }\n\n eventHandler = () => {\n this.delBtns.forEach(item => item.addEventListener(\"click\", () => item.closest('.audio__item').remove())); \n }\n\n submitTrigger = () => {\n this.form.querySelector('.js-download-btn').click();\n }\n}","import { uploader } from \"../helpers/uploader\";\n\nexport default class Documents {\n constructor(el) {\n this.el = el;\n this.individualForm = this.el.querySelector('.js-individual-form');\n this.businessForm = this.el.querySelector('.js-business-form');\n this.switchButtons = this.el.querySelectorAll('.resources__switch__switch-item');\n\n console.log(\"individualForm\", this.individualForm)\n console.log(\"businessForm\", this.businessForm)\n console.log(\"switchButtons\", this.switchButtons)\n\n this.initializeForm(this.individualForm);\n this.initializeForm(this.businessForm);\n\n this.switchButtons.forEach(button => {\n button.addEventListener('click', this.handleSwitch);\n });\n }\n\n initializeForm(form) {\n if (form) {\n const uploaderEl = form.querySelector('.js-documents-upload');\n const labelEl = form.querySelector('.js-document-filename');\n if (uploaderEl && labelEl) {\n uploader(form, uploaderEl, 'document', () => this.fileNameToLabel(uploaderEl, labelEl));\n }\n }\n }\n\n handleSwitch = (event) => {\n event.preventDefault();\n const type = event.currentTarget.dataset.type;\n\n this.switchButtons.forEach(button => {\n button.classList.remove('resources__switch__shift--active');\n button.classList.add('resources__switch__shift');\n });\n\n event.currentTarget.classList.remove('resources__switch__shift');\n event.currentTarget.classList.add('resources__switch__shift--active');\n\n this.toggleForm(type);\n }\n\n toggleForm = (type) => {\n if (type === 'individuals') {\n this.individualForm.style.display = 'block';\n this.businessForm.style.display = 'none';\n } else {\n this.individualForm.style.display = 'none';\n this.businessForm.style.display = 'block';\n }\n }\n\n fileNameToLabel = (uploaderEl, labelEl) => {\n if (uploaderEl.files.length > 0) {\n labelEl.textContent = uploaderEl.files[0].name;\n }\n }\n}\n","export async function getData(url, spinner, searchInput, searchBtn) {\n loadingProgress(spinner, searchInput, searchBtn);\n const res = await fetch(url);\n if (!res.ok) {\n const err = await res.json();\n loadingEnd(spinner, searchInput, searchBtn);\n throw new Error(err.message);\n }\n const body = res.json();\n loadingEnd(spinner, searchInput, searchBtn);\n return body;\n}\n\nexport async function getCountryNumbers(countryCode, spinner, searchInput, searchBtn) {\n const res = await getData(`${process.env.API}api/v2/dids/${countryCode}`, spinner, searchInput, searchBtn);\n return res;\n}\n\nexport async function getCitiesNumber(countryCode, search, spinner, searchInput, searchBtn) {\n const res = await getData(`${process.env.API}api/v2/dids/${countryCode}${search}`, spinner, searchInput, searchBtn);\n return res;\n}\n\nconst loadingProgress = (spinner, searchInput, searchBtn) => {\n spinner.removeAttribute('hidden');\n searchInput.setAttribute('disabled', '');\n searchBtn.setAttribute('disabled', '');\n}\n\nconst loadingEnd = (spinner, searchInput, searchBtn) => {\n spinner.setAttribute('hidden', '');\n searchInput.removeAttribute('disabled');\n searchBtn.removeAttribute('disabled');\n}","export const pagination = (items, prevBtn, nextBtn, currPage, allPages, pageSize) => {\n\n let currentPage = 1;\n const pagesCount = Math.ceil(items.length / pageSize);\n allPages.textContent = pagesCount;\n\n function eventHandler() {\n prevBtn.addEventListener('click', () => prevPage());\n nextBtn.addEventListener('click', () => nextPage());\n }\n\n function prevPage() {\n if (currentPage > 1) {\n currentPage--;\n changePage(currentPage);\n }\n }\n\n function nextPage() {\n if (currentPage < pagesCount) {\n currentPage++;\n changePage(currentPage);\n }\n }\n\n function changePage(page) {\n items.forEach(item => {\n item.classList.add('js-hide');\n });\n currPage.textContent = page;\n\n for (let i = (page - 1) * pageSize; i < (page * pageSize) && i < items.length; i++ ) {\n items[i].classList.remove('js-hide');\n }\n }\n\n changePage(1);\n eventHandler();\n}","import flags from '../helpers/flags';\n\nexport function numberTemplate(country, number, numberObj) {\n const numberElement = `\n
  • \n \n \n
    \n \n \n \n \n \n
    \n ${numberObj.prorated_price ? `

    Today: $${numberObj.prorated_price} prorated and due again on ${numberObj.prorated_until_string}

    ` : ''}\n ${numberObj.price ? `

    $${numberObj.price} per month

    ` : ''}\n ${numberObj.price_year ? `

    $${numberObj.price_year} per year

    ` : ''}\n
    \n
    \n
  • \n `;\n \n return numberElement;\n}\n","import { Modal } from '../helpers/modal';\n\nexport default class VerifyModal extends Modal {\n constructor(el) {\n super(el);\n this.codeInput = el.querySelector('.js-code-input');\n\n this.codeInput.addEventListener('input', this.validateCodeInput);\n }\n\n validateCodeInput = () => {\n console.log('input');\n console.log(this.codeInput.value);\n this.codeInput.value = this.codeInput.value.replace(/[^a-z0-9]/ig, '');\n }\n}","import { PAYPAL_ID, LOCAL_API_URL } from '../constants';\nimport { showFlash } from '../helpers/showFlash';\n\nexport function renderPaypalBtn(token, subscriptionId, paypalBtnEl, flashMessageEl, isChanged, fixedAmount, inputs) {\n paypalBtnEl && loadScript();\n if (isChanged) {\n paypalBtnEl && inputs.forEach(item => item.addEventListener('change', initPaypalBtn));\n }\n\n function loadScript() {\n const script = document.createElement(\"script\");\n script.src = `https://www.paypal.com/sdk/js?client-id=${PAYPAL_ID}&vault=false&intent=capture&disable-funding=card`;\n document.body.insertAdjacentElement('beforeend', script);\n script.addEventListener('load', initPaypalBtn);\n }\n\n function initPaypalBtn() {\n if (window.paypal.Buttons.instances) {\n window.paypal.Buttons.instances.map(instance => instance.close());\n }\n\n let payData;\n const amount = isChanged ? document.querySelector('.add-credit__radio:checked').value : fixedAmount;\n\n window.paypal.Buttons({\n createOrder: async function(data, actions) {\n try {\n const paymentUrl = createURLWithParams(\n `${LOCAL_API_URL}/api/v1/orders/paypal/create-payment`, \n {authenticity_token: token, amount: amount}\n );\n const res = await fetch(`${paymentUrl}${paymentUrl.search}`, {method: 'POST'});\n payData = await res.json();\n return payData.token;\n } catch(error) {\n console.error(error.message);\n }\n },\n onApprove: async function(data, actions) {\n try {\n const commitUrl = createURLWithParams(\n `${LOCAL_API_URL}/api/v1/orders/paypal/commit-payment`, \n {payment_id: payData.payment_id, subscription_id: subscriptionId}\n );\n const res = await fetch(`${commitUrl}${commitUrl.search}`, {method: 'POST'});\n const result = await res.json();\n showFlash(flashMessageEl, result.message);\n } catch(error) {\n showFlash(flashMessageEl, error.message);\n }\n }\n }).render(paypalBtnEl); \n }\n\n function createURLWithParams(url, params={}) {\n const newURL = new URL(url);\n newURL.search = new URLSearchParams(params).toString();\n return newURL;\n }\n}","import { observer } from '../helpers/observer';\nimport AudioForm from './audio';\nimport Documents from './documents';\n\nexport function AudioObserver(el) {\n const addNodeCallback = (addedNode) => {\n return new AudioForm(addedNode);\n }\n\n observer(el, addNodeCallback);\n};\n\nexport function DocumentsObserver(el) {\n const addNodeCallback = (addedNode) => {\n return new Documents(addedNode);\n }\n\n observer(el, addNodeCallback);\n};","import { observer } from '../helpers/observer';\nimport Summary from './summary';\nimport Payment from './payment';\n\nexport function summaryObserver(el) {\n const addNodeCallback = (addedNode) => {\n return new Summary(addedNode);\n }\n\n observer(el, addNodeCallback);\n}\n\nexport function payMethodObserver(el) {\n const addNodeCallback = (addedNode) => {\n return new Payment(addedNode);\n }\n\n observer(el, addNodeCallback);\n}","import {Modal} from '../helpers/modal';\nimport {showFlash} from '../helpers/showFlash';\n\nexport default class NumberItem {\n constructor(el) {\n this.el = el;\n this.number = this.el.querySelector('.js-user-number').value;\n this.callbackBtn = this.el.querySelector('.js-callback-btn');\n this.callModal = this.el.querySelector('.js-call-modal');\n this.pcCallBtn = this.el.querySelector('.js-pc-call-btn');\n this.selectedCountry = this.el.querySelector('.js-country-select');\n this.callModalBtn = this.el.querySelector('.js-call-modal-btn');\n this.callCancelBtn = this.el.querySelector('.js-call-cancel-btn');\n this.callModalError = this.el.querySelector('.js-call-modal-error');\n this.callModalInput = this.el.querySelector('.js-call-modal-input');\n this.callDialingNumber = this.el.querySelector('.js-dialing-number');\n this.callingStatus = this.el.querySelector('.js-calling-status');\n this.activeCallStatus = this.el.querySelector('.js-call-status');\n this.smsBtn = this.el.querySelector('.js-sms-btn');\n this.addDestinationBtn = this.el.querySelector('.js-add-destination-btn');\n this.delItemBtn = this.el.querySelector('.js-del-did');\n this.modalForm = this.el.querySelector('.call-modal__form');\n this.incomingCall = this.el.querySelector('.js-incoming-call');\n this.incomingStatus = this.el.querySelector('.js-incoming-status');\n this.incomingNumber = this.el.querySelector('.js-incoming-number');\n this.incomingCallCancelBtn = this.el.querySelector('.js-incoming-call-cancel-btn');\n this.incomingCallBtns = this.el.querySelector('.js-incoming-call-buttons');\n this.incomingCallBtn = this.el.querySelector('.js-incoming-call-modal-btn');\n this.rejectIncomingCallBtn = this.el.querySelector('.js-reject-incoming-call-modal-btn');\n this.keypad = this.el.querySelector('.js-keypad');\n this.keypadButtons = this.el.querySelectorAll('.keypad-button');\n this.addAliasLink = this.el.querySelector('.js-add-alias');\n this.aliasForm = this.el.querySelector('.js-alias-form');\n this.aliasName = this.el.querySelector('.js-alias-name');\n\n this.destinationList = this.el.querySelector('.js-destination-list');\n this.delBtns = this.destinationList.querySelectorAll(\"a[data-remote]\");\n this.el.setAttribute('data-id', this.number);\n this.did = this.el.getAttribute('data-did');\n this.hasCredit = this.el.getAttribute('data-has-credit');\n this.callTokenData = JSON.parse(this.el.getAttribute('data-call-token') ?? '{}');\n this.callProvider = this.el.getAttribute('data-provider');\n this.device = null\n this.currentCall = null;\n this.plivoCall = null;\n if (parseFloat(this.hasCredit) > 0) {\n this.initializeCall();\n this.eventHandler();\n }\n }\n\n eventHandler = () => {\n this.callbackBtn.addEventListener('ajax:success', () => this.openModal('.js-modal-callback'));\n this.smsBtn.addEventListener('ajax:success', () => this.openModal('.js-modal-sms'));\n this.addDestinationBtn.addEventListener('ajax:success', () => this.openModal('.js-modal-destination'));\n this.delBtns.forEach(item => item.addEventListener(\"ajax:success\", () => this.removeDestination(item)));\n this.destinationList.addEventListener(\"DOMNodeInserted\", () => this.getDelLinks());\n this.delItemBtn.addEventListener('ajax:success', () => this.el.remove());\n this.pcCallBtn?.addEventListener('click', () => {\n if (this.callModal.classList.contains('js-hide')) {\n this.openCallModal();\n } else {\n this.closeCallModal();\n }\n });\n this.callModalBtn?.addEventListener('click', (e) => this.initiateCall(e));\n this.callCancelBtn?.addEventListener('click', (e) => this.callCancel(e));\n this.incomingCallCancelBtn?.addEventListener('click', (e) => this.callCancel(e));\n this.callModalInput?.addEventListener('input', () => this.inputText());\n this.keypadButtons.forEach(button => {\n button.addEventListener('click', this.handleKeypadPress);\n });\n this.addAliasLink?.addEventListener('click', () => this.aliasFormDisplay());\n this.aliasName?.addEventListener('click', () => this.aliasFormDisplay());\n }\n\n openModal = (selector) => {\n const modal = document.querySelector(`${selector}`);\n const newModal = new Modal(modal);\n newModal.open();\n this.modalForm = modal.querySelector('.modal__form');\n this.flashMsg = document.querySelector('.dynamic-flash');\n this.modalForm.addEventListener('ajax:success',(data = null) => {\n const response = data.detail[0];\n if (response?.message){\n showFlash(this.flashMsg, response?.message);\n }\n });\n this.modalForm.addEventListener('ajax:error',(data = null) => {\n newModal.close();\n showFlash(this.flashMsg, 'Server Error');\n });\n this.uploadedImage = modal.querySelector('.image-upload');\n this.uploadedImageName = modal.querySelector('.image-name');\n this.uploadedImage?.addEventListener('change', (evt) => {\n this.uploadedImageName.innerHTML = this.uploadedImage.files[0].name\n this.delImage.style.display = \"flex\";\n });\n this.delImage = modal.querySelectorAll('.js-del-image')[0];\n this.delImage?.addEventListener('click', () => {\n this.uploadedImageName.innerHTML = '';\n this.delImage.style.display = \"none\";\n });\n }\n\n removeDestination = (item) => {\n const parentItem = item.closest('.js-destination-item');\n parentItem?.remove();\n }\n\n getDelLinks = () => {\n this.delBtns = this.destinationList.querySelectorAll(\"a[data-remote]\");\n this.delBtns.forEach(item => item.addEventListener(\"ajax:success\", () => this.removeDestination(item)));\n }\n\n openCallModal = () => {\n this.callModal.classList.remove('js-hide');\n }\n\n closeCallModal = () => {\n this.callModal.classList.add('js-hide');\n }\n\n initializeCall() {\n if (this.callTokenData['token']) {\n if (this.callProvider == 'Plivo') {\n this.initPlivoCall();\n } else if (this.callProvider == 'Twilio') {\n this.initTwilioCall();\n }\n }\n }\n\n async initiateCall(e) {\n const inputVal = this.callModalInput.value;\n if (!inputVal) {\n this.callModalError.textContent = 'Please fill out this field';\n setTimeout(() => {\n this.callModalError.textContent = '';\n }, 5000);\n e.prevetDefault();\n return;\n }\n\n const selectedOption = this.selectedCountry.options[this.selectedCountry.selectedIndex].value;\n const dialingNumber = '+' + selectedOption + inputVal\n this.callDialingNumber.innerHTML = dialingNumber\n\n if (this.callProvider === 'Plivo') {\n this.plivoCall = this.plivoBrowserSdk.client.call(dialingNumber);\n } else if (this.callProvider === 'Twilio') {\n const params = {\n To: dialingNumber,\n Agent: this.did,\n From: this.did,\n Caller: this.did\n };\n this.device = new Twilio.Device(this.callTokenData['token'], {\n codecPreferences: [\"opus\", \"pcmu\"],\n enableRingingState: true,\n logLevel: process.env.NODE_ENV === 'development' ? 1 : 4\n });\n\n this.currentCall = await this.device.connect({ params });\n this.handleTwilioEvents(this.currentCall);\n }\n\n this.callModalBtn.style.display = 'none';\n this.activeCallStatus.style.display = 'block';\n }\n\n initPlivoCall() {\n const plivoUsername = this.callTokenData.token.username;\n const plivoPass = this.callTokenData.token.password;\n const options = {\n \"debug\": process.env.NODE_ENV === 'development' ? \"DEBUG\" : \"ERROR\",\n \"permOnClick\": true,\n \"enableTracking\": true,\n \"closeProtection\": true,\n \"maxAverageBitrate\": 48000\n };\n\n if (!this.plivoBrowserSdk) {\n this.plivoBrowserSdk = new window.Plivo(options);\n }\n\n if (this.plivoBrowserSdk.client.isLoggedIn) {\n this.plivoBrowserSdk.client.logout();\n }\n\n this.plivoBrowserSdk.client.login(plivoUsername, plivoPass);\n this.plivoEvents();\n\n this.plivoBrowserSdk.client.on('onLogin', () => {});\n\n this.plivoBrowserSdk.client.on('onIncomingCall', (callerName, extraHeaders) => {\n const callerNumber = callerName.split(\"@\")[0];\n this.plivoCall = true\n this.openCallModal();\n this.displayCallUIHideButton();\n this.incomingCallBtns.style.display = 'flex';\n this.incomingCallCancelBtn.style.display = 'none';\n this.incomingNumber.innerHTML = callerNumber;\n this.incomingStatus.innerHTML = \"Ringing...\";\n\n this.incomingCallBtn.addEventListener('click', () => {\n this.plivoBrowserSdk.client.answer();\n this.incomingCallBtns.style.display = 'none';\n this.incomingCallCancelBtn.style.display = 'block';\n });\n\n this.rejectIncomingCallBtn.addEventListener('click', () => {\n this.plivoBrowserSdk.client.reject();\n this.hideCallUIDisplayButton();\n });\n });\n }\n\n plivoEvents = () => {\n this.plivoBrowserSdk.client.on('onCallRemoteRinging', (callInfo) => {\n this.callingStatus.innerHTML = \"Ringing...\"\n });\n\n this.plivoBrowserSdk.client.on('onCallAnswered', (callInfo) => {\n this.callingStatus.innerHTML = \"Connected...\"\n this.showKeypad();\n });\n\n this.plivoBrowserSdk.client.on('onCallTerminated', (hangupInfo, callInfo) => {\n this.callCancel(undefined, false);\n });\n\n this.plivoBrowserSdk.client.on('onCallFailed', (callInfo) => {\n this.callCancel(undefined, false);\n });\n\n this.plivoBrowserSdk.client.on('onCallRejected', (callInfo) => {\n this.callCancel(undefined, false);\n });\n\n this.plivoBrowserSdk.client.on('onCallAnswered', (callInfo) => {\n this.incomingStatus.innerHTML = \"Connected...\";\n });\n\n this.plivoBrowserSdk.client.on('onIncomingCallCanceled', (info) => {\n this.hideCallUIDisplayButton();\n });\n\n this.plivoBrowserSdk.client.on('onCallRejected', (callInfo) => {\n this.incomingStatus.innerHTML = \"Call Rejected!\";\n });\n }\n\n async initTwilioCall() {\n const device = new Twilio.Device(this.callTokenData['token'], {\n codecPreferences: [\"opus\", \"pcmu\"],\n enableRingingState: true,\n logLevel: process.env.NODE_ENV === 'development' ? 1 : 4\n });\n\n device.on(\"registered\", () => {});\n device.on(\"ready\", (device) => {});\n device.on(\"error\", (error) => {});\n device.on(\"connect\", (conn) => {});\n device.on(\"disconnect\", (conn) => { this.callCancel(); });\n\n device.on(\"incoming\", (connection) => {\n this.handleIncomingTwilioCall(connection);\n });\n\n device.register();\n }\n\n handleIncomingTwilioCall(connection) {\n const toNumber = connection.parameters.To;\n const did = 'client:' + '+' + this.did;\n\n if (toNumber !== did) {\n return;\n }\n\n const from = connection.parameters.From;\n this.currentCall = connection\n this.openCallModal();\n this.displayCallUIHideButton();\n this.incomingCallBtns.style.display = 'flex';\n this.incomingCallCancelBtn.style.display = 'none';\n this.incomingNumber.innerHTML = from;\n this.incomingStatus.innerHTML = \"Incoming call...\";\n\n this.incomingCallBtn.addEventListener('click', () => {\n connection.accept();\n this.incomingCallBtns.style.display = 'none';\n this.incomingCallCancelBtn.style.display = 'block';\n this.incomingStatus.innerHTML = \"Connected...\";\n this.showKeypad();\n });\n\n this.rejectIncomingCallBtn.addEventListener('click', () => {\n connection.reject();\n this.hideCallUIDisplayButton();\n this.incomingStatus.innerHTML = \"Call Rejected!\";\n });\n\n connection.on(\"accept\", () => {\n this.incomingStatus.innerHTML = \"Connected...\";\n });\n\n connection.on(\"disconnect\", () => {\n this.callCancel();\n this.hideKeypad();\n });\n\n connection.on(\"cancel\", () => {\n this.callCancel();\n });\n }\n\n handleTwilioEvents(call) {\n call.on('accept', (data = undefined) => {\n this.callingStatus.innerHTML = \"Connected...\";\n this.showKeypad();\n });\n\n call.on('ringing', (data = undefined) => {\n this.callingStatus.innerHTML = \"Ringing...\";\n });\n\n call.on('disconnect', (data = undefined) => {\n this.callCancel();\n });\n }\n\n inputText = () => {\n this.callModalError.textContent = '';\n }\n\n callCancel = (event = undefined, hangup = true) => {\n if(event) {\n event.preventDefault();\n }\n\n if (this.plivoCall && hangup) {\n this.plivoBrowserSdk.client.hangup();\n }\n this.plivoCall = null;\n\n if (this.currentCall) {\n this.currentCall.disconnect();\n this.currentCall = null;\n }\n\n this.activeCallStatus.style.display = 'none';\n this.hideKeypad();\n this.hideCallUIDisplayButton();\n }\n\n handleKeypadPress = (event) => {\n const pressedButton = event.target;\n const pressedDigit = pressedButton.getAttribute('data-digit');\n\n this.sendDTMF(pressedDigit);\n }\n\n showKeypad = () => {\n this.keypad.style.display = 'grid';\n }\n\n hideKeypad = () => {\n this.keypad.style.display = 'none';\n }\n\n sendDTMF = (digit) => {\n if (this.plivoCall) {\n this.plivoBrowserSdk.client.sendDtmf(digit);\n } else if (this.currentCall) {\n this.currentCall.sendDigits(digit);\n }\n }\n\n displayCallUIHideButton() {\n this.incomingCall.style.display = 'block';\n this.callModalBtn.style.display = 'none';\n }\n\n hideCallUIDisplayButton() {\n this.incomingCall.style.display = 'none';\n this.callModalBtn.style.display = 'block';\n }\n\n aliasFormDisplay() {\n this.aliasForm.style.display = 'flex';\n if (this.addAliasLink) {\n this.addAliasLink.style.display = 'none';\n }\n\n if (this.aliasName) {\n this.aliasName.style.display = 'none';\n }\n }\n}\n","export default class PendingNumber {\n constructor(el) {\n this.el = el;\n this.delBtn = this.el.querySelector('.js-del-pending');\n\n this.eventHandler();\n }\n\n eventHandler = () => {\n this.delBtn.addEventListener('ajax:success', () => this.el.remove());\n }\n}","import { getCitiesNumber, getCountryNumbers } from \"../helpers/api-service\";\nimport { pagination } from \"../helpers/pagination\";\nimport { dropdown } from \"../helpers/dropdown\";\nimport { numberTemplate } from \"./number-template\";\nimport flags from \"../helpers/flags\";\n\nexport default class AddNumberForm {\n constructor(el) {\n this.el = el;\n \n this.countryWrap = this.el.querySelector('.js-country-wrap');\n this.countrySelect = this.countryWrap.querySelector('.js-select-country');\n this.pagination = this.el.querySelector('.js-add-number-paginations');\n this.numbersList = this.el.querySelector('.js-numbers-list');\n this.numberSpinner = this.numbersList.querySelector('.js-add-numbers-spinner');\n this.errorMessage = this.numbersList.querySelector('.js-add-numbers-err');\n this.cityInput = this.el.querySelector('.js-city-search');\n this.searchBtn = this.el.querySelector('.js-search-btn');\n this.submitBtn = this.el.querySelector('.js-add-number-submit');\n this.submitSpinner = this.el.querySelector('.js-submit-spinner');\n\n this.url = new URL(process.env.API);\n this.countryCode = '';\n this.numbers = {};\n this.keyPressed = false;\n \n dropdown(this.countryWrap.querySelector('.js-country-dropdown'), this.countrySelect);\n this.eventHandler();\n }\n\n eventHandler = () => {\n this.countrySelect.addEventListener('change', this.countrySelectHandler);\n this.cityInput.addEventListener('input', this.validateSearchInput);\n this.cityInput.addEventListener('keydown', (e) => this.keyHandler(e));\n this.cityInput.addEventListener('keyup', () => {this.keyPressed = false});\n this.searchBtn.addEventListener('click', this.searchBtnHandler);\n\n this.el.addEventListener('ajax:send', this.formSendStart);\n this.el.addEventListener('ajax:success', this.formSendEnd);\n this.el.addEventListener('ajax:error', this.formSendEnd);\n }\n\n countrySelectHandler = async () => {\n const countryFlag = this.countryWrap.querySelector('.js-select-flag');\n this.countryCode = this.countrySelect.options[this.countrySelect.selectedIndex].value;\n if (this.countryWrap.classList.contains('js-not-selected')) {\n this.countrySelect.classList.remove('js-not-selected');\n this.countryWrap.classList.remove('js-not-selected');\n }\n countryFlag.setAttribute('src', flags[this.countryCode.toLowerCase()]);\n this.cityInput.value = '';\n this.citySelectHandleClear();\n this.clearItems(this.numbersList.querySelectorAll('.js-add-number-item'));\n try {\n this.numbers = await getCountryNumbers(this.countryCode, this.numberSpinner, this.cityInput, this.searchBtn);\n this.pagination.classList.remove('js-not-selected');\n this.getCityNumbers(this.numbers);\n } catch(error) {\n this.errorHandler(error);\n }\n }\n\n validateSearchInput = () => {\n this.cityInput.value = this.cityInput.value.replace(/[^a-z0-9*]/ig, '');\n }\n\n keyHandler = (e) => {\n if (!this.keyPressed) {\n this.keyPressed = true;\n if ((e.key === 'Enter') && (this.cityInput.value)) {\n e.preventDefault();\n this.citySearchHandler();\n }\n }\n }\n\n searchBtnHandler = () => {\n this.cityInput.value && this.citySearchHandler();\n }\n\n citySearchHandler = async () => {\n let params;\n let cityCode = this.cityInput.value;\n params = {contains: cityCode};\n\n this.citySelectHandleClear();\n this.clearItems(this.numbersList.querySelectorAll('.js-add-number-item'));\n this.url.search = new URLSearchParams(params).toString();\n try {\n this.numbers = await getCitiesNumber(this.countryCode, this.url.search, this.numberSpinner, this.cityInput, this.searchBtn);\n this.pagination.classList.remove('js-not-selected');\n this.getCityNumbers(this.numbers);\n this.cityInput.blur();\n } catch(error) {\n this.errorHandler(error);\n }\n }\n\n getCityNumbers = (numbers) => {\n Object.keys(numbers).map(key => {\n this.numbersList.insertAdjacentHTML('afterbegin', numberTemplate(this.countryCode, key, numbers[key]));\n });\n\n const allNumberItems = document.querySelectorAll('.js-add-number-item');\n const allNumberRadios = document.querySelectorAll('.js-add-number-radio');\n const prevPaginationBtn = document.querySelector('.js-prev-btn');\n const nextPaginationBtn = document.querySelector('.js-next-btn');\n const currentPage = document.querySelector('.add-number__paginations-current');\n const allPages = document.querySelector('.add-number__paginations-all');\n\n allNumberRadios.forEach(item => item.addEventListener('change', this.getNumberExtraData));\n pagination(allNumberItems, prevPaginationBtn, nextPaginationBtn, currentPage, allPages, 6);\n }\n\n getNumberExtraData = event => {\n this.clearHiddenFields();\n const { target } = event;\n const { location, purchaser, type } = this.searchCheckedNumber(target.value);\n target.insertAdjacentHTML('beforebegin', `\n
    \n \n \n \n
    \n `);\n }\n\n citySelectHandleClear = () => {\n const numbersPlaceholder = this.el.querySelector('.js-numbers-empty');\n if (!this.pagination.classList.contains('js-not-selected')) {\n this.pagination.classList.add('js-not-selected');\n document.querySelector('.add-number__paginations-current').textContent = 0;\n document.querySelector('.add-number__paginations-all').textContent = 0;\n }\n if(!this.errorMessage.hasAttribute('hidden')) {\n this.errorMessage.setAttribute('hidden', '');\n }\n numbersPlaceholder.classList.add('js-hide');\n this.numbersList.classList.remove('js-hide');\n }\n\n errorHandler = error => {\n this.errorMessage.removeAttribute('hidden');\n this.errorMessage.textContent = String(error).substring(7);\n this.pagination.classList.remove('js-not-selected');\n }\n\n clearItems = () => { \n const numbers = this.numbersList.querySelectorAll('.js-add-number-item');\n numbers.forEach(item => {\n const numberRadio = item.querySelector('.js-add-number-radio');\n numberRadio.removeEventListener('change', this.getNumberExtraData)\n item.remove();\n });\n }\n\n searchCheckedNumber = (number) => {\n for (let key in this.numbers) {\n if (key === number) return this.numbers[key];\n }\n }\n\n clearHiddenFields = () => {\n const numbers = this.numbersList.querySelectorAll('.js-add-number-item');\n numbers.forEach(item => {\n const hiddenFieldBlock = item.querySelector('.add-number__number-hidden-field');\n hiddenFieldBlock && hiddenFieldBlock.remove();\n })\n }\n\n formSendStart = () => {\n this.submitSpinner.removeAttribute('hidden');\n this.submitBtn.setAttribute('disabled', true);\n }\n formSendEnd = (event) => {\n const {type} = event;\n const [response] = event.detail;\n this.submitSpinner.setAttribute('hidden', '');\n this.submitBtn.removeAttribute('disabled');\n if (type === 'ajax:success') {\n document.querySelector('.js-link-to-numbers').click();\n } else {\n console.log(response);\n }\n }\n}","import {getActionBySelect} from '../helpers/selectAction';\nimport {addFileOption} from '../helpers/uploadIntoSelect';\nexport default class VoicemailForm {\n constructor(el) {\n this.el = el;\n this.actionSelect = this.el.querySelector('.js-action-select');\n this.actionGroups = this.el.querySelectorAll('.js-action-group');\n this.actionContainer = this.el.querySelector('.js-action-container')\n\n getActionBySelect(this.actionSelect, this.actionGroups, this.actionContainer);\n }\n}","export default class SipHandler {\n constructor(el) {\n this.el = el;\n\n this.sipToggle = this.el.querySelector('.js-sip-toggle');\n this.sipMsg = this.el.querySelector('.js-sip-message');\n this.getSipBtn = this.el.querySelector('.js-sip-credentials');\n this.didId = this.sipToggle?.dataset.id || this.getSipBtn?.dataset.id;\n this.csrfToken = this.sipToggle?.dataset.csrfToken || this.getSipBtn?.dataset.csrfToken;\n\n this.eventHandler();\n }\n\n eventHandler = () => {\n this.sipToggle?.addEventListener('change', this.handleToggle);\n this.getSipBtn?.addEventListener('click', this.handleGetSipCredentials);\n if (!this.sipToggle) {\n this.el.addEventListener('change', (event) => {\n if (event.target.matches('.js-sip-toggle')) {\n this.sipToggle = event.target;\n this.handleToggle();\n }\n });\n }\n }\n\n handleToggle = () => {\n const enabled = this.sipToggle.checked;\n\n // Disable the toggle to prevent repeated operations\n this.sipToggle.disabled = true;\n\n const url = `/dashboard/dids/${this.didId}/sip_options/enable_sip`;\n fetch(url, {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-Token': this.csrfToken,\n },\n body: JSON.stringify({ did_id: this.didId, sip_enabled: enabled }),\n })\n .then((response) => {\n if (!response.ok) {\n throw new Error('Failed to update SIP settings');\n }\n return response.json();\n })\n .then((data) => {\n if (data.success) {\n this.showMessage(data.message, 'success');\n } else {\n this.showMessage(data.message, 'error');\n }\n })\n .catch((error) => {\n this.showMessage('An unexpected error occurred while updating SIP settings.', 'error');\n })\n .finally(() => {\n // Re-enable the toggle after operation completes\n this.sipToggle.disabled = false;\n });\n };\n\n handleGetSipCredentials = () => {\n this.getSipBtn.disabled = true;\n this.getSipBtn.textContent = 'Generating...';\n\n const url = `/dashboard/dids/${this.didId}/sip_options/generate_sip_credentials`;\n fetch(url, {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-Token': this.csrfToken,\n },\n body: JSON.stringify({ did_id: this.didId }),\n })\n .then((response) => response.text())\n .then((js) => {\n eval(js);\n this.getSipBtn.style.display = 'none';\n })\n .catch((error) => {\n this.showMessage('Failed to create SIP credentials. Please try again.', 'error');\n })\n .finally(() => {\n this.getSipBtn.disabled = false;\n this.getSipBtn.textContent = 'Get SIP Credentials';\n });\n };\n\n showMessage = (message, type) => {\n this.sipMsg.textContent = message;\n this.sipMsg.classList.add(type);\n\n setTimeout(() => {\n this.sipMsg.textContent = '';\n this.sipMsg.classList.remove(type);\n }, 5000);\n };\n}\n","export default class A2pOption {\n constructor(el) {\n this.el = el;\n this.a2pOption = this.el.querySelector('.js-a2p-option');\n this.withTaxForm = this.el.querySelector('.js-with-tax-id-form');\n this.withoutTaxForm = this.el.querySelector('.js-without-tax-id-form');\n this.flashes = this.el.querySelectorAll('.settings__a2p-flash')\n this.hiddenA2pOptions = this.el.querySelectorAll('.js-tax-id-option-identifier')\n\n this.hiddenA2pOptions.forEach((input) => {\n input.value = '1';\n })\n\n this.eventHandler();\n }\n\n eventHandler = () => {\n this.a2pOption.addEventListener('change', this.formSelectHandler);\n }\n\n resetFlashes = () => {\n this.flashes.forEach((elem) => {\n elem.innerHTML = '';\n })\n }\n\n formSelectHandler = () => {\n const selectedOption = this.a2pOption.value;\n this.hiddenA2pOptions.forEach((input) => {\n input.value = selectedOption;\n })\n\n this.resetFlashes();\n if (selectedOption === '1') {\n this.withTaxForm.style.display = 'block';\n this.withoutTaxForm.style.display = 'none';\n } else if (selectedOption === '2') {\n this.withTaxForm.style.display = 'none';\n this.withoutTaxForm.style.display = 'block';\n }\n }\n}\n","import {Modal} from '../helpers/modal';\n\nexport default class SMSCallItem {\n constructor(el) {\n this.el = el;\n this.callbackBtn = this.el.querySelector('.js-callback-btn');\n this.smsBtn = this.el.querySelector('.js-sms-btn');\n\n this.eventHandler();\n }\n\n eventHandler = () => {\n this.callbackBtn?.addEventListener('ajax:success', () => this.openModal('.js-modal-callback'));\n this.smsBtn?.addEventListener('ajax:success', () => this.openModal('.js-modal-sms'));\n }\n\n openModal = (selector) => {\n const modal = document.querySelector(`${selector}`);\n const newModal = new Modal(modal);\n newModal.open();\n }\n}\n","export default class TimeZoneConverter {\n constructor(el) {\n this.el = el;\n const utcTime = el.textContent.trim();\n const utcDate = new Date(utcTime + \" UTC\");\n\n const localTime = utcDate.toLocaleString('en-US', {\n year: 'numeric',\n month: 'short',\n day: 'numeric',\n hour: '2-digit',\n minute: '2-digit'\n });\n\n el.textContent = localTime;\n }\n}\n","export default class Navbar {\n constructor(el) {\n this.el = el;\n this.hambtn = this.el.querySelector('.js-ham-button');\n this.overlay = document.querySelector('.js-overlay');\n this.header = document.querySelector('.main-header');\n\n this.eventHandler();\n }\n\n eventHandler = () => {\n this.hambtn?.addEventListener('click', () => {\n const show = this.el.classList.toggle(\"flip\");\n if (show){\n this.overlay.classList.remove('js-hide');\n this.header.style.zIndex = 11\n } else {\n this.overlay.classList.add('js-hide');\n this.header.style.zIndex = 'unset'\n }\n })\n }\n}\n","export function clearCalls(el) {\n const delBtn = el.querySelector('.js-history-del-btn');\n const itemCheckboxes = el.querySelectorAll('.js-history-checkbox > input[type=\"checkbox\"]');\n let isDisabled = delBtn.hasAttribute('disabled');\n\n itemCheckboxes.forEach(item => item.addEventListener('change', () => checkOnDisable()));\n\n const checkOnDisable = () => {\n const checkedCount = el.querySelectorAll('.js-history-checkbox > input[type=\"checkbox\"]:checked').length;\n if (checkedCount > 0 && isDisabled) {\n delBtn.removeAttribute('disabled');\n isDisabled = false;\n return\n }\n if (checkedCount === 0 && !isDisabled) {\n delBtn.setAttribute('disabled', true);\n isDisabled = true;\n }\n return\n }\n}","import VerifyModal from './verify-modal';\n\nexport function verifyHandler() {\n const taskBtn = document.querySelector('.js-show-verify-btn');\n taskBtn && taskBtn.addEventListener('ajax:success', showVerifyModal);\n\n function showVerifyModal() {\n const modal = document.querySelector('.js-modal-verify');\n const newModal = new VerifyModal(modal);\n newModal.open();\n }\n}","import { renderPaypalBtn } from './paypal-payment-handler';\nimport { creditCardHandler } from './stripe-payment-handler';\n\nfunction addCreditHandler() {\n\n const paypalBtn = document.querySelector('#paypal-btn');\n const amountInputs = document.querySelectorAll('.add-credit__radio');\n const flashMessage = document.querySelector('.js-flash-message');\n const isPaypal = document.body.contains(paypalBtn);\n\n const addCreditSubmit = document.querySelector('.js-add-credit-submit');\n const spinner = document.querySelector('.js-add-credit-spinner');\n\n const subscriptionId = document.querySelector('#js-subscription').value;\n const token = document.querySelector('.add-credit__form').authenticity_token.value;\n\n if (isPaypal) {\n renderPaypalBtn(token, subscriptionId, paypalBtn, flashMessage, true, 0, amountInputs);\n } else {\n creditCardHandler(subscriptionId, addCreditSubmit, spinner, flashMessage, {isChanged: true});\n }\n\n // function creditCardHandler() {\n // const stripe = Stripe(STRIPE_PUBLISH_KEY);\n\n // const addCreditForm = document.querySelector('.js-add-credit-form');\n // const addCreditSubmit = document.querySelector('.js-add-credit-submit');\n // const spinner = document.querySelector('.js-add-credit-spinner');\n\n // // addCreditForm.addEventListener('ajax:send', sendStart);\n // // addCreditForm.addEventListener('ajax:success', sendEnd);\n // // addCreditForm.addEventListener('ajax:error', sendEnd);\n\n // addCreditSubmit.addEventListener('click', async e => {\n // e.preventDefault();\n // sendStart();\n // const amount = document.querySelector('.add-credit__radio:checked').value;\n // const payload = {\n // amount: amount,\n // subscription_id: subscriptionId,\n // };\n\n // try {\n // const result = await fetch(`${LOCAL_API_URL}/api/v1/orders/stripe/create-general-payment-intent?${new URLSearchParams(payload)}`, { method: 'POST' });\n // const { client_secret, payment_method_id } = await result.json();\n // const { paymentIntent, error } = await stripe.confirmCardPayment(client_secret, {payment_method: payment_method_id});\n // if (error) throw new Error(error.message);\n // // TODO: after receiving the paymentIntent, send it to the backend\n // // fetch(paymentIntent) ----- like this, need endpoint\n // console.log(paymentIntent);\n // // Future improvement: Localize this text and fetch it from localized strings.\n // showFlash(flashMessage, \"Your payment succeeded\");\n // } catch (err) {\n // console.log('error: ', err);\n // showFlash(flashMessage, err);\n // } finally {\n // sendEnd();\n // }\n // })\n\n // function sendStart() {\n // spinner.removeAttribute('hidden');\n // addCreditSubmit.setAttribute('disabled', true);\n // }\n\n // function sendEnd() {\n // spinner.setAttribute('hidden', '')\n // addCreditSubmit.removeAttribute('disabled');\n // }\n // }\n\n // function renderPaypalBtn() {\n // paypalBtn && loadScript();\n // paypalBtn && amountInputs.forEach(item => item.addEventListener('change', initPaypalBtn));\n\n // function loadScript() {\n // const script = document.createElement(\"script\");\n // script.src = `https://www.paypal.com/sdk/js?client-id=${PAYPAL_ID}&vault=false&intent=capture&disable-funding=card`;\n // document.body.insertAdjacentElement('beforeend', script);\n // script.addEventListener('load', initPaypalBtn);\n // }\n\n // function initPaypalBtn() {\n // if (window.paypal.Buttons.instances) {\n // window.paypal.Buttons.instances.map(instance => instance.close());\n // }\n\n // let payData;\n // const amount = document.querySelector('.add-credit__radio:checked').value;\n\n // window.paypal.Buttons({\n // createOrder: async function(data, actions) {\n // try {\n // const paymentUrl = createURLWithParams(\n // `${LOCAL_API_URL}/api/v1/orders/paypal/create-payment`, \n // {authenticity_token: token, amount: amount}\n // );\n // const res = await fetch(`${paymentUrl}${paymentUrl.search}`, {method: 'POST'});\n // payData = await res.json();\n // return payData.token;\n // } catch(error) {\n // console.error(error.message);\n // }\n // },\n // onApprove: async function(data, actions) {\n // try {\n // const commitUrl = createURLWithParams(\n // `${LOCAL_API_URL}/api/v1/orders/paypal/commit-payment`, \n // {payment_id: payData.payment_id, subscription_id: subscriptionId}\n // );\n // const res = await fetch(`${commitUrl}${commitUrl.search}`, {method: 'POST'});\n // const result = await res.json();\n // showFlash(flashMessage, result.message);\n // } catch(error) {\n // showFlash(flashMessage, error.message);\n // }\n // }\n // }).render(paypalBtn); \n // }\n\n // function createURLWithParams(url, params={}) {\n // const newURL = new URL(url);\n // newURL.search = new URLSearchParams(params).toString();\n // return newURL;\n // }\n // }\n\n // function showFlash(el, message) {\n // el.classList.add('flash');\n // el.textContent = message;\n // }\n}\n\nexport default addCreditHandler;","import { creditCardHandler } from './stripe-payment-handler';\nimport { PAYPAL_ID, LOCAL_API_URL } from '../constants';\nimport { showFlash } from '../helpers/showFlash';\n\nfunction invoicesHandler() {\n const invoiceForms = document.querySelectorAll('.js-invoices-form');\n const paypalBtn = document.querySelector('#paypal-btn');\n const isPaypal = document.body.contains(paypalBtn);\n const subscriptionId = document.querySelector('#js-subscription').value;\n\n if (isPaypal) {\n loadPaypalScript(invoiceForms, subscriptionId)\n } else {\n invoiceForms.forEach(form => invoiceForm(form, subscriptionId))\n };\n}\n\nfunction invoiceForm(form, subscriptionId) {\n const submitBtn = form.querySelector('.js-invoices-submit');\n const spinner = form.querySelector('.js-invoices-spinner');\n const flashMessage = form.querySelector('.js-flash-message');\n const amountValue = form.querySelector('#js-invoices-amount').value;\n const invoiceId = form.querySelector('#js-invoices-id').value;\n const invoiceFlash = document.querySelector('.js-success-payment-flash');\n\n creditCardHandler(subscriptionId, submitBtn, spinner, flashMessage, {\n isChanged: false, \n fixedAmount: amountValue, \n invoiceId: invoiceId,\n invoiceForm: form,\n invoiceFlash: invoiceFlash,\n });\n}\n\nfunction loadPaypalScript(invoiceForms, subscriptionId) {\n const script = document.createElement(\"script\");\n script.classList.add('js-paypal-script');\n script.src = `https://www.paypal.com/sdk/js?client-id=${PAYPAL_ID}&vault=false&intent=capture&disable-funding=card`;\n document.body.insertAdjacentElement('beforeend', script);\n script.addEventListener('load', () => initPaypalBtn(invoiceForms, subscriptionId));\n}\n\nfunction initPaypalBtn(invoiceForms, subscriptionId) {\n\n invoiceForms.forEach(form => {\n const paypalBtnEl = form.querySelector('#paypal-btn');\n const token = form.authenticity_token.value;\n const flashMessageEl = form.querySelector('.js-flash-message');\n const amount = form.querySelector('#js-invoices-amount').value;\n\n let payData;\n\n window.paypal.Buttons({\n createOrder: async function(data, actions) {\n try {\n const paymentUrl = createURLWithParams(\n `${LOCAL_API_URL}/api/v1/orders/paypal/create-payment`, \n {authenticity_token: token, amount: amount}\n );\n const res = await fetch(`${paymentUrl}${paymentUrl.search}`, {method: 'POST'});\n payData = await res.json();\n return payData.token;\n } catch(error) {\n console.error(error.message);\n }\n },\n onApprove: async function(data, actions) {\n try {\n const commitUrl = createURLWithParams(\n `${LOCAL_API_URL}/api/v1/orders/paypal/commit-payment`, \n {payment_id: payData.payment_id, subscription_id: subscriptionId}\n );\n const res = await fetch(`${commitUrl}${commitUrl.search}`, {method: 'POST'});\n const result = await res.json();\n showFlash(flashMessageEl, result.message);\n } catch(error) {\n showFlash(flashMessageEl, error.message);\n }\n }\n }).render(paypalBtnEl);\n }) \n}\n\nfunction createURLWithParams(url, params={}) {\n const newURL = new URL(url);\n newURL.search = new URLSearchParams(params).toString();\n return newURL;\n}\n\nexport default invoicesHandler;\n","(function (global, factory) {\n typeof exports === \"object\" && typeof module !== \"undefined\" ? factory(exports) : typeof define === \"function\" && define.amd ? define([\"exports\"], factory) : factory(global.ActiveStorage = {});\n})(this, function (exports) {\n \"use strict\";\n\n function createCommonjsModule(fn, module) {\n return module = {\n exports: {}\n }, fn(module, module.exports), module.exports;\n }\n var sparkMd5 = createCommonjsModule(function (module, exports) {\n (function (factory) {\n {\n module.exports = factory();\n }\n })(function (undefined) {\n var hex_chr = [\"0\", \"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"a\", \"b\", \"c\", \"d\", \"e\", \"f\"];\n function md5cycle(x, k) {\n var a = x[0],\n b = x[1],\n c = x[2],\n d = x[3];\n a += (b & c | ~b & d) + k[0] - 680876936 | 0;\n a = (a << 7 | a >>> 25) + b | 0;\n d += (a & b | ~a & c) + k[1] - 389564586 | 0;\n d = (d << 12 | d >>> 20) + a | 0;\n c += (d & a | ~d & b) + k[2] + 606105819 | 0;\n c = (c << 17 | c >>> 15) + d | 0;\n b += (c & d | ~c & a) + k[3] - 1044525330 | 0;\n b = (b << 22 | b >>> 10) + c | 0;\n a += (b & c | ~b & d) + k[4] - 176418897 | 0;\n a = (a << 7 | a >>> 25) + b | 0;\n d += (a & b | ~a & c) + k[5] + 1200080426 | 0;\n d = (d << 12 | d >>> 20) + a | 0;\n c += (d & a | ~d & b) + k[6] - 1473231341 | 0;\n c = (c << 17 | c >>> 15) + d | 0;\n b += (c & d | ~c & a) + k[7] - 45705983 | 0;\n b = (b << 22 | b >>> 10) + c | 0;\n a += (b & c | ~b & d) + k[8] + 1770035416 | 0;\n a = (a << 7 | a >>> 25) + b | 0;\n d += (a & b | ~a & c) + k[9] - 1958414417 | 0;\n d = (d << 12 | d >>> 20) + a | 0;\n c += (d & a | ~d & b) + k[10] - 42063 | 0;\n c = (c << 17 | c >>> 15) + d | 0;\n b += (c & d | ~c & a) + k[11] - 1990404162 | 0;\n b = (b << 22 | b >>> 10) + c | 0;\n a += (b & c | ~b & d) + k[12] + 1804603682 | 0;\n a = (a << 7 | a >>> 25) + b | 0;\n d += (a & b | ~a & c) + k[13] - 40341101 | 0;\n d = (d << 12 | d >>> 20) + a | 0;\n c += (d & a | ~d & b) + k[14] - 1502002290 | 0;\n c = (c << 17 | c >>> 15) + d | 0;\n b += (c & d | ~c & a) + k[15] + 1236535329 | 0;\n b = (b << 22 | b >>> 10) + c | 0;\n a += (b & d | c & ~d) + k[1] - 165796510 | 0;\n a = (a << 5 | a >>> 27) + b | 0;\n d += (a & c | b & ~c) + k[6] - 1069501632 | 0;\n d = (d << 9 | d >>> 23) + a | 0;\n c += (d & b | a & ~b) + k[11] + 643717713 | 0;\n c = (c << 14 | c >>> 18) + d | 0;\n b += (c & a | d & ~a) + k[0] - 373897302 | 0;\n b = (b << 20 | b >>> 12) + c | 0;\n a += (b & d | c & ~d) + k[5] - 701558691 | 0;\n a = (a << 5 | a >>> 27) + b | 0;\n d += (a & c | b & ~c) + k[10] + 38016083 | 0;\n d = (d << 9 | d >>> 23) + a | 0;\n c += (d & b | a & ~b) + k[15] - 660478335 | 0;\n c = (c << 14 | c >>> 18) + d | 0;\n b += (c & a | d & ~a) + k[4] - 405537848 | 0;\n b = (b << 20 | b >>> 12) + c | 0;\n a += (b & d | c & ~d) + k[9] + 568446438 | 0;\n a = (a << 5 | a >>> 27) + b | 0;\n d += (a & c | b & ~c) + k[14] - 1019803690 | 0;\n d = (d << 9 | d >>> 23) + a | 0;\n c += (d & b | a & ~b) + k[3] - 187363961 | 0;\n c = (c << 14 | c >>> 18) + d | 0;\n b += (c & a | d & ~a) + k[8] + 1163531501 | 0;\n b = (b << 20 | b >>> 12) + c | 0;\n a += (b & d | c & ~d) + k[13] - 1444681467 | 0;\n a = (a << 5 | a >>> 27) + b | 0;\n d += (a & c | b & ~c) + k[2] - 51403784 | 0;\n d = (d << 9 | d >>> 23) + a | 0;\n c += (d & b | a & ~b) + k[7] + 1735328473 | 0;\n c = (c << 14 | c >>> 18) + d | 0;\n b += (c & a | d & ~a) + k[12] - 1926607734 | 0;\n b = (b << 20 | b >>> 12) + c | 0;\n a += (b ^ c ^ d) + k[5] - 378558 | 0;\n a = (a << 4 | a >>> 28) + b | 0;\n d += (a ^ b ^ c) + k[8] - 2022574463 | 0;\n d = (d << 11 | d >>> 21) + a | 0;\n c += (d ^ a ^ b) + k[11] + 1839030562 | 0;\n c = (c << 16 | c >>> 16) + d | 0;\n b += (c ^ d ^ a) + k[14] - 35309556 | 0;\n b = (b << 23 | b >>> 9) + c | 0;\n a += (b ^ c ^ d) + k[1] - 1530992060 | 0;\n a = (a << 4 | a >>> 28) + b | 0;\n d += (a ^ b ^ c) + k[4] + 1272893353 | 0;\n d = (d << 11 | d >>> 21) + a | 0;\n c += (d ^ a ^ b) + k[7] - 155497632 | 0;\n c = (c << 16 | c >>> 16) + d | 0;\n b += (c ^ d ^ a) + k[10] - 1094730640 | 0;\n b = (b << 23 | b >>> 9) + c | 0;\n a += (b ^ c ^ d) + k[13] + 681279174 | 0;\n a = (a << 4 | a >>> 28) + b | 0;\n d += (a ^ b ^ c) + k[0] - 358537222 | 0;\n d = (d << 11 | d >>> 21) + a | 0;\n c += (d ^ a ^ b) + k[3] - 722521979 | 0;\n c = (c << 16 | c >>> 16) + d | 0;\n b += (c ^ d ^ a) + k[6] + 76029189 | 0;\n b = (b << 23 | b >>> 9) + c | 0;\n a += (b ^ c ^ d) + k[9] - 640364487 | 0;\n a = (a << 4 | a >>> 28) + b | 0;\n d += (a ^ b ^ c) + k[12] - 421815835 | 0;\n d = (d << 11 | d >>> 21) + a | 0;\n c += (d ^ a ^ b) + k[15] + 530742520 | 0;\n c = (c << 16 | c >>> 16) + d | 0;\n b += (c ^ d ^ a) + k[2] - 995338651 | 0;\n b = (b << 23 | b >>> 9) + c | 0;\n a += (c ^ (b | ~d)) + k[0] - 198630844 | 0;\n a = (a << 6 | a >>> 26) + b | 0;\n d += (b ^ (a | ~c)) + k[7] + 1126891415 | 0;\n d = (d << 10 | d >>> 22) + a | 0;\n c += (a ^ (d | ~b)) + k[14] - 1416354905 | 0;\n c = (c << 15 | c >>> 17) + d | 0;\n b += (d ^ (c | ~a)) + k[5] - 57434055 | 0;\n b = (b << 21 | b >>> 11) + c | 0;\n a += (c ^ (b | ~d)) + k[12] + 1700485571 | 0;\n a = (a << 6 | a >>> 26) + b | 0;\n d += (b ^ (a | ~c)) + k[3] - 1894986606 | 0;\n d = (d << 10 | d >>> 22) + a | 0;\n c += (a ^ (d | ~b)) + k[10] - 1051523 | 0;\n c = (c << 15 | c >>> 17) + d | 0;\n b += (d ^ (c | ~a)) + k[1] - 2054922799 | 0;\n b = (b << 21 | b >>> 11) + c | 0;\n a += (c ^ (b | ~d)) + k[8] + 1873313359 | 0;\n a = (a << 6 | a >>> 26) + b | 0;\n d += (b ^ (a | ~c)) + k[15] - 30611744 | 0;\n d = (d << 10 | d >>> 22) + a | 0;\n c += (a ^ (d | ~b)) + k[6] - 1560198380 | 0;\n c = (c << 15 | c >>> 17) + d | 0;\n b += (d ^ (c | ~a)) + k[13] + 1309151649 | 0;\n b = (b << 21 | b >>> 11) + c | 0;\n a += (c ^ (b | ~d)) + k[4] - 145523070 | 0;\n a = (a << 6 | a >>> 26) + b | 0;\n d += (b ^ (a | ~c)) + k[11] - 1120210379 | 0;\n d = (d << 10 | d >>> 22) + a | 0;\n c += (a ^ (d | ~b)) + k[2] + 718787259 | 0;\n c = (c << 15 | c >>> 17) + d | 0;\n b += (d ^ (c | ~a)) + k[9] - 343485551 | 0;\n b = (b << 21 | b >>> 11) + c | 0;\n x[0] = a + x[0] | 0;\n x[1] = b + x[1] | 0;\n x[2] = c + x[2] | 0;\n x[3] = d + x[3] | 0;\n }\n function md5blk(s) {\n var md5blks = [],\n i;\n for (i = 0; i < 64; i += 4) {\n md5blks[i >> 2] = s.charCodeAt(i) + (s.charCodeAt(i + 1) << 8) + (s.charCodeAt(i + 2) << 16) + (s.charCodeAt(i + 3) << 24);\n }\n return md5blks;\n }\n function md5blk_array(a) {\n var md5blks = [],\n i;\n for (i = 0; i < 64; i += 4) {\n md5blks[i >> 2] = a[i] + (a[i + 1] << 8) + (a[i + 2] << 16) + (a[i + 3] << 24);\n }\n return md5blks;\n }\n function md51(s) {\n var n = s.length,\n state = [1732584193, -271733879, -1732584194, 271733878],\n i,\n length,\n tail,\n tmp,\n lo,\n hi;\n for (i = 64; i <= n; i += 64) {\n md5cycle(state, md5blk(s.substring(i - 64, i)));\n }\n s = s.substring(i - 64);\n length = s.length;\n tail = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];\n for (i = 0; i < length; i += 1) {\n tail[i >> 2] |= s.charCodeAt(i) << (i % 4 << 3);\n }\n tail[i >> 2] |= 128 << (i % 4 << 3);\n if (i > 55) {\n md5cycle(state, tail);\n for (i = 0; i < 16; i += 1) {\n tail[i] = 0;\n }\n }\n tmp = n * 8;\n tmp = tmp.toString(16).match(/(.*?)(.{0,8})$/);\n lo = parseInt(tmp[2], 16);\n hi = parseInt(tmp[1], 16) || 0;\n tail[14] = lo;\n tail[15] = hi;\n md5cycle(state, tail);\n return state;\n }\n function md51_array(a) {\n var n = a.length,\n state = [1732584193, -271733879, -1732584194, 271733878],\n i,\n length,\n tail,\n tmp,\n lo,\n hi;\n for (i = 64; i <= n; i += 64) {\n md5cycle(state, md5blk_array(a.subarray(i - 64, i)));\n }\n a = i - 64 < n ? a.subarray(i - 64) : new Uint8Array(0);\n length = a.length;\n tail = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];\n for (i = 0; i < length; i += 1) {\n tail[i >> 2] |= a[i] << (i % 4 << 3);\n }\n tail[i >> 2] |= 128 << (i % 4 << 3);\n if (i > 55) {\n md5cycle(state, tail);\n for (i = 0; i < 16; i += 1) {\n tail[i] = 0;\n }\n }\n tmp = n * 8;\n tmp = tmp.toString(16).match(/(.*?)(.{0,8})$/);\n lo = parseInt(tmp[2], 16);\n hi = parseInt(tmp[1], 16) || 0;\n tail[14] = lo;\n tail[15] = hi;\n md5cycle(state, tail);\n return state;\n }\n function rhex(n) {\n var s = \"\",\n j;\n for (j = 0; j < 4; j += 1) {\n s += hex_chr[n >> j * 8 + 4 & 15] + hex_chr[n >> j * 8 & 15];\n }\n return s;\n }\n function hex(x) {\n var i;\n for (i = 0; i < x.length; i += 1) {\n x[i] = rhex(x[i]);\n }\n return x.join(\"\");\n }\n if (hex(md51(\"hello\")) !== \"5d41402abc4b2a76b9719d911017c592\") ;\n if (typeof ArrayBuffer !== \"undefined\" && !ArrayBuffer.prototype.slice) {\n (function () {\n function clamp(val, length) {\n val = val | 0 || 0;\n if (val < 0) {\n return Math.max(val + length, 0);\n }\n return Math.min(val, length);\n }\n ArrayBuffer.prototype.slice = function (from, to) {\n var length = this.byteLength,\n begin = clamp(from, length),\n end = length,\n num,\n target,\n targetArray,\n sourceArray;\n if (to !== undefined) {\n end = clamp(to, length);\n }\n if (begin > end) {\n return new ArrayBuffer(0);\n }\n num = end - begin;\n target = new ArrayBuffer(num);\n targetArray = new Uint8Array(target);\n sourceArray = new Uint8Array(this, begin, num);\n targetArray.set(sourceArray);\n return target;\n };\n })();\n }\n function toUtf8(str) {\n if (/[\\u0080-\\uFFFF]/.test(str)) {\n str = unescape(encodeURIComponent(str));\n }\n return str;\n }\n function utf8Str2ArrayBuffer(str, returnUInt8Array) {\n var length = str.length,\n buff = new ArrayBuffer(length),\n arr = new Uint8Array(buff),\n i;\n for (i = 0; i < length; i += 1) {\n arr[i] = str.charCodeAt(i);\n }\n return returnUInt8Array ? arr : buff;\n }\n function arrayBuffer2Utf8Str(buff) {\n return String.fromCharCode.apply(null, new Uint8Array(buff));\n }\n function concatenateArrayBuffers(first, second, returnUInt8Array) {\n var result = new Uint8Array(first.byteLength + second.byteLength);\n result.set(new Uint8Array(first));\n result.set(new Uint8Array(second), first.byteLength);\n return returnUInt8Array ? result : result.buffer;\n }\n function hexToBinaryString(hex) {\n var bytes = [],\n length = hex.length,\n x;\n for (x = 0; x < length - 1; x += 2) {\n bytes.push(parseInt(hex.substr(x, 2), 16));\n }\n return String.fromCharCode.apply(String, bytes);\n }\n function SparkMD5() {\n this.reset();\n }\n SparkMD5.prototype.append = function (str) {\n this.appendBinary(toUtf8(str));\n return this;\n };\n SparkMD5.prototype.appendBinary = function (contents) {\n this._buff += contents;\n this._length += contents.length;\n var length = this._buff.length,\n i;\n for (i = 64; i <= length; i += 64) {\n md5cycle(this._hash, md5blk(this._buff.substring(i - 64, i)));\n }\n this._buff = this._buff.substring(i - 64);\n return this;\n };\n SparkMD5.prototype.end = function (raw) {\n var buff = this._buff,\n length = buff.length,\n i,\n tail = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],\n ret;\n for (i = 0; i < length; i += 1) {\n tail[i >> 2] |= buff.charCodeAt(i) << (i % 4 << 3);\n }\n this._finish(tail, length);\n ret = hex(this._hash);\n if (raw) {\n ret = hexToBinaryString(ret);\n }\n this.reset();\n return ret;\n };\n SparkMD5.prototype.reset = function () {\n this._buff = \"\";\n this._length = 0;\n this._hash = [1732584193, -271733879, -1732584194, 271733878];\n return this;\n };\n SparkMD5.prototype.getState = function () {\n return {\n buff: this._buff,\n length: this._length,\n hash: this._hash\n };\n };\n SparkMD5.prototype.setState = function (state) {\n this._buff = state.buff;\n this._length = state.length;\n this._hash = state.hash;\n return this;\n };\n SparkMD5.prototype.destroy = function () {\n delete this._hash;\n delete this._buff;\n delete this._length;\n };\n SparkMD5.prototype._finish = function (tail, length) {\n var i = length,\n tmp,\n lo,\n hi;\n tail[i >> 2] |= 128 << (i % 4 << 3);\n if (i > 55) {\n md5cycle(this._hash, tail);\n for (i = 0; i < 16; i += 1) {\n tail[i] = 0;\n }\n }\n tmp = this._length * 8;\n tmp = tmp.toString(16).match(/(.*?)(.{0,8})$/);\n lo = parseInt(tmp[2], 16);\n hi = parseInt(tmp[1], 16) || 0;\n tail[14] = lo;\n tail[15] = hi;\n md5cycle(this._hash, tail);\n };\n SparkMD5.hash = function (str, raw) {\n return SparkMD5.hashBinary(toUtf8(str), raw);\n };\n SparkMD5.hashBinary = function (content, raw) {\n var hash = md51(content),\n ret = hex(hash);\n return raw ? hexToBinaryString(ret) : ret;\n };\n SparkMD5.ArrayBuffer = function () {\n this.reset();\n };\n SparkMD5.ArrayBuffer.prototype.append = function (arr) {\n var buff = concatenateArrayBuffers(this._buff.buffer, arr, true),\n length = buff.length,\n i;\n this._length += arr.byteLength;\n for (i = 64; i <= length; i += 64) {\n md5cycle(this._hash, md5blk_array(buff.subarray(i - 64, i)));\n }\n this._buff = i - 64 < length ? new Uint8Array(buff.buffer.slice(i - 64)) : new Uint8Array(0);\n return this;\n };\n SparkMD5.ArrayBuffer.prototype.end = function (raw) {\n var buff = this._buff,\n length = buff.length,\n tail = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],\n i,\n ret;\n for (i = 0; i < length; i += 1) {\n tail[i >> 2] |= buff[i] << (i % 4 << 3);\n }\n this._finish(tail, length);\n ret = hex(this._hash);\n if (raw) {\n ret = hexToBinaryString(ret);\n }\n this.reset();\n return ret;\n };\n SparkMD5.ArrayBuffer.prototype.reset = function () {\n this._buff = new Uint8Array(0);\n this._length = 0;\n this._hash = [1732584193, -271733879, -1732584194, 271733878];\n return this;\n };\n SparkMD5.ArrayBuffer.prototype.getState = function () {\n var state = SparkMD5.prototype.getState.call(this);\n state.buff = arrayBuffer2Utf8Str(state.buff);\n return state;\n };\n SparkMD5.ArrayBuffer.prototype.setState = function (state) {\n state.buff = utf8Str2ArrayBuffer(state.buff, true);\n return SparkMD5.prototype.setState.call(this, state);\n };\n SparkMD5.ArrayBuffer.prototype.destroy = SparkMD5.prototype.destroy;\n SparkMD5.ArrayBuffer.prototype._finish = SparkMD5.prototype._finish;\n SparkMD5.ArrayBuffer.hash = function (arr, raw) {\n var hash = md51_array(new Uint8Array(arr)),\n ret = hex(hash);\n return raw ? hexToBinaryString(ret) : ret;\n };\n return SparkMD5;\n });\n });\n var classCallCheck = function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n };\n var createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n }();\n var fileSlice = File.prototype.slice || File.prototype.mozSlice || File.prototype.webkitSlice;\n var FileChecksum = function () {\n createClass(FileChecksum, null, [{\n key: \"create\",\n value: function create(file, callback) {\n var instance = new FileChecksum(file);\n instance.create(callback);\n }\n }]);\n function FileChecksum(file) {\n classCallCheck(this, FileChecksum);\n this.file = file;\n this.chunkSize = 2097152;\n this.chunkCount = Math.ceil(this.file.size / this.chunkSize);\n this.chunkIndex = 0;\n }\n createClass(FileChecksum, [{\n key: \"create\",\n value: function create(callback) {\n var _this = this;\n this.callback = callback;\n this.md5Buffer = new sparkMd5.ArrayBuffer();\n this.fileReader = new FileReader();\n this.fileReader.addEventListener(\"load\", function (event) {\n return _this.fileReaderDidLoad(event);\n });\n this.fileReader.addEventListener(\"error\", function (event) {\n return _this.fileReaderDidError(event);\n });\n this.readNextChunk();\n }\n }, {\n key: \"fileReaderDidLoad\",\n value: function fileReaderDidLoad(event) {\n this.md5Buffer.append(event.target.result);\n if (!this.readNextChunk()) {\n var binaryDigest = this.md5Buffer.end(true);\n var base64digest = btoa(binaryDigest);\n this.callback(null, base64digest);\n }\n }\n }, {\n key: \"fileReaderDidError\",\n value: function fileReaderDidError(event) {\n this.callback(\"Error reading \" + this.file.name);\n }\n }, {\n key: \"readNextChunk\",\n value: function readNextChunk() {\n if (this.chunkIndex < this.chunkCount || this.chunkIndex == 0 && this.chunkCount == 0) {\n var start = this.chunkIndex * this.chunkSize;\n var end = Math.min(start + this.chunkSize, this.file.size);\n var bytes = fileSlice.call(this.file, start, end);\n this.fileReader.readAsArrayBuffer(bytes);\n this.chunkIndex++;\n return true;\n } else {\n return false;\n }\n }\n }]);\n return FileChecksum;\n }();\n function getMetaValue(name) {\n var element = findElement(document.head, 'meta[name=\"' + name + '\"]');\n if (element) {\n return element.getAttribute(\"content\");\n }\n }\n function findElements(root, selector) {\n if (typeof root == \"string\") {\n selector = root;\n root = document;\n }\n var elements = root.querySelectorAll(selector);\n return toArray$1(elements);\n }\n function findElement(root, selector) {\n if (typeof root == \"string\") {\n selector = root;\n root = document;\n }\n return root.querySelector(selector);\n }\n function dispatchEvent(element, type) {\n var eventInit = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var disabled = element.disabled;\n var bubbles = eventInit.bubbles,\n cancelable = eventInit.cancelable,\n detail = eventInit.detail;\n var event = document.createEvent(\"Event\");\n event.initEvent(type, bubbles || true, cancelable || true);\n event.detail = detail || {};\n try {\n element.disabled = false;\n element.dispatchEvent(event);\n } finally {\n element.disabled = disabled;\n }\n return event;\n }\n function toArray$1(value) {\n if (Array.isArray(value)) {\n return value;\n } else if (Array.from) {\n return Array.from(value);\n } else {\n return [].slice.call(value);\n }\n }\n var BlobRecord = function () {\n function BlobRecord(file, checksum, url) {\n var _this = this;\n classCallCheck(this, BlobRecord);\n this.file = file;\n this.attributes = {\n filename: file.name,\n content_type: file.type || \"application/octet-stream\",\n byte_size: file.size,\n checksum: checksum\n };\n this.xhr = new XMLHttpRequest();\n this.xhr.open(\"POST\", url, true);\n this.xhr.responseType = \"json\";\n this.xhr.setRequestHeader(\"Content-Type\", \"application/json\");\n this.xhr.setRequestHeader(\"Accept\", \"application/json\");\n this.xhr.setRequestHeader(\"X-Requested-With\", \"XMLHttpRequest\");\n var csrfToken = getMetaValue(\"csrf-token\");\n if (csrfToken != undefined) {\n this.xhr.setRequestHeader(\"X-CSRF-Token\", csrfToken);\n }\n this.xhr.addEventListener(\"load\", function (event) {\n return _this.requestDidLoad(event);\n });\n this.xhr.addEventListener(\"error\", function (event) {\n return _this.requestDidError(event);\n });\n }\n createClass(BlobRecord, [{\n key: \"create\",\n value: function create(callback) {\n this.callback = callback;\n this.xhr.send(JSON.stringify({\n blob: this.attributes\n }));\n }\n }, {\n key: \"requestDidLoad\",\n value: function requestDidLoad(event) {\n if (this.status >= 200 && this.status < 300) {\n var response = this.response;\n var direct_upload = response.direct_upload;\n delete response.direct_upload;\n this.attributes = response;\n this.directUploadData = direct_upload;\n this.callback(null, this.toJSON());\n } else {\n this.requestDidError(event);\n }\n }\n }, {\n key: \"requestDidError\",\n value: function requestDidError(event) {\n this.callback('Error creating Blob for \"' + this.file.name + '\". Status: ' + this.status);\n }\n }, {\n key: \"toJSON\",\n value: function toJSON() {\n var result = {};\n for (var key in this.attributes) {\n result[key] = this.attributes[key];\n }\n return result;\n }\n }, {\n key: \"status\",\n get: function get$$1() {\n return this.xhr.status;\n }\n }, {\n key: \"response\",\n get: function get$$1() {\n var _xhr = this.xhr,\n responseType = _xhr.responseType,\n response = _xhr.response;\n if (responseType == \"json\") {\n return response;\n } else {\n return JSON.parse(response);\n }\n }\n }]);\n return BlobRecord;\n }();\n var BlobUpload = function () {\n function BlobUpload(blob) {\n var _this = this;\n classCallCheck(this, BlobUpload);\n this.blob = blob;\n this.file = blob.file;\n var _blob$directUploadDat = blob.directUploadData,\n url = _blob$directUploadDat.url,\n headers = _blob$directUploadDat.headers;\n this.xhr = new XMLHttpRequest();\n this.xhr.open(\"PUT\", url, true);\n this.xhr.responseType = \"text\";\n for (var key in headers) {\n this.xhr.setRequestHeader(key, headers[key]);\n }\n this.xhr.addEventListener(\"load\", function (event) {\n return _this.requestDidLoad(event);\n });\n this.xhr.addEventListener(\"error\", function (event) {\n return _this.requestDidError(event);\n });\n }\n createClass(BlobUpload, [{\n key: \"create\",\n value: function create(callback) {\n this.callback = callback;\n this.xhr.send(this.file.slice());\n }\n }, {\n key: \"requestDidLoad\",\n value: function requestDidLoad(event) {\n var _xhr = this.xhr,\n status = _xhr.status,\n response = _xhr.response;\n if (status >= 200 && status < 300) {\n this.callback(null, response);\n } else {\n this.requestDidError(event);\n }\n }\n }, {\n key: \"requestDidError\",\n value: function requestDidError(event) {\n this.callback('Error storing \"' + this.file.name + '\". Status: ' + this.xhr.status);\n }\n }]);\n return BlobUpload;\n }();\n var id = 0;\n var DirectUpload = function () {\n function DirectUpload(file, url, delegate) {\n classCallCheck(this, DirectUpload);\n this.id = ++id;\n this.file = file;\n this.url = url;\n this.delegate = delegate;\n }\n createClass(DirectUpload, [{\n key: \"create\",\n value: function create(callback) {\n var _this = this;\n FileChecksum.create(this.file, function (error, checksum) {\n if (error) {\n callback(error);\n return;\n }\n var blob = new BlobRecord(_this.file, checksum, _this.url);\n notify(_this.delegate, \"directUploadWillCreateBlobWithXHR\", blob.xhr);\n blob.create(function (error) {\n if (error) {\n callback(error);\n } else {\n var upload = new BlobUpload(blob);\n notify(_this.delegate, \"directUploadWillStoreFileWithXHR\", upload.xhr);\n upload.create(function (error) {\n if (error) {\n callback(error);\n } else {\n callback(null, blob.toJSON());\n }\n });\n }\n });\n });\n }\n }]);\n return DirectUpload;\n }();\n function notify(object, methodName) {\n if (object && typeof object[methodName] == \"function\") {\n for (var _len = arguments.length, messages = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n messages[_key - 2] = arguments[_key];\n }\n return object[methodName].apply(object, messages);\n }\n }\n var DirectUploadController = function () {\n function DirectUploadController(input, file) {\n classCallCheck(this, DirectUploadController);\n this.input = input;\n this.file = file;\n this.directUpload = new DirectUpload(this.file, this.url, this);\n this.dispatch(\"initialize\");\n }\n createClass(DirectUploadController, [{\n key: \"start\",\n value: function start(callback) {\n var _this = this;\n var hiddenInput = document.createElement(\"input\");\n hiddenInput.type = \"hidden\";\n hiddenInput.name = this.input.name;\n this.input.insertAdjacentElement(\"beforebegin\", hiddenInput);\n this.dispatch(\"start\");\n this.directUpload.create(function (error, attributes) {\n if (error) {\n hiddenInput.parentNode.removeChild(hiddenInput);\n _this.dispatchError(error);\n } else {\n hiddenInput.value = attributes.signed_id;\n }\n _this.dispatch(\"end\");\n callback(error);\n });\n }\n }, {\n key: \"uploadRequestDidProgress\",\n value: function uploadRequestDidProgress(event) {\n var progress = event.loaded / event.total * 100;\n if (progress) {\n this.dispatch(\"progress\", {\n progress: progress\n });\n }\n }\n }, {\n key: \"dispatch\",\n value: function dispatch(name) {\n var detail = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n detail.file = this.file;\n detail.id = this.directUpload.id;\n return dispatchEvent(this.input, \"direct-upload:\" + name, {\n detail: detail\n });\n }\n }, {\n key: \"dispatchError\",\n value: function dispatchError(error) {\n var event = this.dispatch(\"error\", {\n error: error\n });\n if (!event.defaultPrevented) {\n alert(error);\n }\n }\n }, {\n key: \"directUploadWillCreateBlobWithXHR\",\n value: function directUploadWillCreateBlobWithXHR(xhr) {\n this.dispatch(\"before-blob-request\", {\n xhr: xhr\n });\n }\n }, {\n key: \"directUploadWillStoreFileWithXHR\",\n value: function directUploadWillStoreFileWithXHR(xhr) {\n var _this2 = this;\n this.dispatch(\"before-storage-request\", {\n xhr: xhr\n });\n xhr.upload.addEventListener(\"progress\", function (event) {\n return _this2.uploadRequestDidProgress(event);\n });\n }\n }, {\n key: \"url\",\n get: function get$$1() {\n return this.input.getAttribute(\"data-direct-upload-url\");\n }\n }]);\n return DirectUploadController;\n }();\n var inputSelector = \"input[type=file][data-direct-upload-url]:not([disabled])\";\n var DirectUploadsController = function () {\n function DirectUploadsController(form) {\n classCallCheck(this, DirectUploadsController);\n this.form = form;\n this.inputs = findElements(form, inputSelector).filter(function (input) {\n return input.files.length;\n });\n }\n createClass(DirectUploadsController, [{\n key: \"start\",\n value: function start(callback) {\n var _this = this;\n var controllers = this.createDirectUploadControllers();\n var startNextController = function startNextController() {\n var controller = controllers.shift();\n if (controller) {\n controller.start(function (error) {\n if (error) {\n callback(error);\n _this.dispatch(\"end\");\n } else {\n startNextController();\n }\n });\n } else {\n callback();\n _this.dispatch(\"end\");\n }\n };\n this.dispatch(\"start\");\n startNextController();\n }\n }, {\n key: \"createDirectUploadControllers\",\n value: function createDirectUploadControllers() {\n var controllers = [];\n this.inputs.forEach(function (input) {\n toArray$1(input.files).forEach(function (file) {\n var controller = new DirectUploadController(input, file);\n controllers.push(controller);\n });\n });\n return controllers;\n }\n }, {\n key: \"dispatch\",\n value: function dispatch(name) {\n var detail = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return dispatchEvent(this.form, \"direct-uploads:\" + name, {\n detail: detail\n });\n }\n }]);\n return DirectUploadsController;\n }();\n var processingAttribute = \"data-direct-uploads-processing\";\n var submitButtonsByForm = new WeakMap();\n var started = false;\n function start() {\n if (!started) {\n started = true;\n document.addEventListener(\"click\", didClick, true);\n document.addEventListener(\"submit\", didSubmitForm);\n document.addEventListener(\"ajax:before\", didSubmitRemoteElement);\n }\n }\n function didClick(event) {\n var target = event.target;\n if ((target.tagName == \"INPUT\" || target.tagName == \"BUTTON\") && target.type == \"submit\" && target.form) {\n submitButtonsByForm.set(target.form, target);\n }\n }\n function didSubmitForm(event) {\n handleFormSubmissionEvent(event);\n }\n function didSubmitRemoteElement(event) {\n if (event.target.tagName == \"FORM\") {\n handleFormSubmissionEvent(event);\n }\n }\n function handleFormSubmissionEvent(event) {\n var form = event.target;\n if (form.hasAttribute(processingAttribute)) {\n event.preventDefault();\n return;\n }\n var controller = new DirectUploadsController(form);\n var inputs = controller.inputs;\n if (inputs.length) {\n event.preventDefault();\n form.setAttribute(processingAttribute, \"\");\n inputs.forEach(disable);\n controller.start(function (error) {\n form.removeAttribute(processingAttribute);\n if (error) {\n inputs.forEach(enable);\n } else {\n submitForm(form);\n }\n });\n }\n }\n function submitForm(form) {\n var button = submitButtonsByForm.get(form) || findElement(form, \"input[type=submit], button[type=submit]\");\n if (button) {\n var _button = button,\n disabled = _button.disabled;\n button.disabled = false;\n button.focus();\n button.click();\n button.disabled = disabled;\n } else {\n button = document.createElement(\"input\");\n button.type = \"submit\";\n button.style.display = \"none\";\n form.appendChild(button);\n button.click();\n form.removeChild(button);\n }\n submitButtonsByForm.delete(form);\n }\n function disable(input) {\n input.disabled = true;\n }\n function enable(input) {\n input.disabled = false;\n }\n function autostart() {\n if (window.ActiveStorage) {\n start();\n }\n }\n setTimeout(autostart, 1);\n exports.start = start;\n exports.DirectUpload = DirectUpload;\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n});","/* eslint no-console:0 */\n// This file is automatically compiled by Webpack, along with any other files\n// present in this directory. You're encouraged to place your actual application logic in\n// a relevant structure within app/javascript and only use these pack files to reference\n// that code so it'll be compiled.\n//\n// To reference this file, add <%= javascript_pack_tag 'application' %> to the appropriate\n// layout file, like app/views/layouts/application.html.erb\n\n\n// Uncomment to copy all static images under ../images to the output folder and reference\n// them with the image_pack_tag helper in views (e.g <%= image_pack_tag 'rails.png' %>)\n// or the `imagePath` JavaScript helper below.\n//\n// const images = require.context('../images', true)\n// const imagePath = (name) => images(name, true)\n//= require jquery\nrequire(\"@rails/ujs\").start();\n//= require_tree .\n//= require activestorage\n\n//= require jquery\n//= require jquery_ujs\n//= require_tree .\n//= require turbolinks\n\n//= require highcharts/highcharts\n//= require highcharts/highcharts-more\n//= require highcharts/highstock\n\nimport NumberItem from './numbers/number-item';\nimport PendingNumber from './numbers/pending-item';\nimport AddNumberForm from './numbers/add-number';\nimport VoicemailForm from './numbers/voicemail';\nimport SipHandler from './numbers/sip-handler';\nimport IvrOption from './numbers/ivr/ivr';\nimport A2pOption from './numbers/a2p-option';\nimport Payment from './subscription/payment';\nimport Summary from './subscription/summary';\nimport AudioForm from './resources/audio';\nimport Documents from './resources/documents';\nimport SMSCallItem from \"./call_messages/sms-call-item\";\nimport TimeZoneConverter from \"./time_zone_converter/time-zone-converter\";\nimport Navbar from \"./header/navbar\";\n\nimport { clearCalls } from './calls-messages';\nimport { IvrObserver } from './numbers/ivr/ivr-observers';\nimport { AudioObserver, DocumentsObserver } from './resources/resources-observer';\nimport { summaryObserver, payMethodObserver } from './subscription/subscription-observer';\nimport { verifyHandler } from './verify_cc/verify-handler';\nimport addCreditHandler from './subscription/add-credit-handler';\nimport invoicesHandler from './subscription/invoices-handler';\nimport * as ActiveStorage from \"@rails/activestorage\";\n\nwindow.addEventListener('DOMContentLoaded', () => {\n console.log('Hello World from Webpacker');\n ActiveStorage.start();\n\n document.querySelectorAll('.js-number-item').forEach(item => new NumberItem(item));\n document.querySelectorAll('.js-pending-item').forEach(item => new PendingNumber(item));\n document.querySelectorAll('.js-add-number-form').forEach(item => new AddNumberForm(item));\n document.querySelectorAll('.js-voicemail-form').forEach(item => new VoicemailForm(item));\n document.querySelectorAll('.js-sip-handler').forEach(item => new SipHandler(item));\n document.querySelectorAll('.js-ivr-point').forEach(item => new IvrOption(item));\n document.querySelectorAll('.js-a2p-form').forEach(item => new A2pOption(item));\n document.querySelectorAll('.pay-method').forEach(item => new Payment(item));\n document.querySelectorAll('.js-audio-section').forEach(item => new AudioForm(item));\n document.querySelectorAll('.js-summary').forEach(item => new Summary(item));\n document.querySelectorAll('.js-documents').forEach(item => new Documents(item));\n document.querySelectorAll('.js-calls-item').forEach(item => new SMSCallItem(item));\n document.querySelectorAll('.js-timezone-convert').forEach(item => new TimeZoneConverter(item));\n document.querySelectorAll('.js-nav').forEach(item => new Navbar(item));\n\n document.querySelectorAll('.js-history-form').forEach(item => clearCalls(item));\n document.querySelectorAll('.js-ivr-wrapper').forEach(item => IvrObserver(item));\n document.querySelectorAll('.js-audio-page').forEach(item => AudioObserver(item));\n document.querySelectorAll('.js-documents-page').forEach(item => DocumentsObserver(item));\n document.querySelectorAll('.js-subscription-sum').forEach(item => summaryObserver(item));\n document.querySelectorAll('.js-pay-method-section').forEach(item => payMethodObserver(item));\n document.querySelectorAll('.js-add-credit-section').forEach(item => addCreditHandler());\n document.querySelectorAll('.js-invoice-section').forEach(item => invoicesHandler());\n verifyHandler();\n});\n","/*\nUnobtrusive JavaScript\nhttps://github.com/rails/rails/blob/main/actionview/app/assets/javascripts\nReleased under the MIT license\n */;\n(function () {\n var context = this;\n (function () {\n (function () {\n this.Rails = {\n linkClickSelector: 'a[data-confirm], a[data-method], a[data-remote]:not([disabled]), a[data-disable-with], a[data-disable]',\n buttonClickSelector: {\n selector: 'button[data-remote]:not([form]), button[data-confirm]:not([form])',\n exclude: 'form button'\n },\n inputChangeSelector: 'select[data-remote], input[data-remote], textarea[data-remote]',\n formSubmitSelector: 'form',\n formInputClickSelector: 'form input[type=submit], form input[type=image], form button[type=submit], form button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])',\n formDisableSelector: 'input[data-disable-with]:enabled, button[data-disable-with]:enabled, textarea[data-disable-with]:enabled, input[data-disable]:enabled, button[data-disable]:enabled, textarea[data-disable]:enabled',\n formEnableSelector: 'input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled, input[data-disable]:disabled, button[data-disable]:disabled, textarea[data-disable]:disabled',\n fileInputSelector: 'input[name][type=file]:not([disabled])',\n linkDisableSelector: 'a[data-disable-with], a[data-disable]',\n buttonDisableSelector: 'button[data-remote][data-disable-with], button[data-remote][data-disable]'\n };\n }).call(this);\n }).call(context);\n var Rails = context.Rails;\n (function () {\n (function () {\n var nonce;\n nonce = null;\n Rails.loadCSPNonce = function () {\n var ref;\n return nonce = (ref = document.querySelector(\"meta[name=csp-nonce]\")) != null ? ref.content : void 0;\n };\n Rails.cspNonce = function () {\n return nonce != null ? nonce : Rails.loadCSPNonce();\n };\n }).call(this);\n (function () {\n var expando, m;\n m = Element.prototype.matches || Element.prototype.matchesSelector || Element.prototype.mozMatchesSelector || Element.prototype.msMatchesSelector || Element.prototype.oMatchesSelector || Element.prototype.webkitMatchesSelector;\n Rails.matches = function (element, selector) {\n if (selector.exclude != null) {\n return m.call(element, selector.selector) && !m.call(element, selector.exclude);\n } else {\n return m.call(element, selector);\n }\n };\n expando = '_ujsData';\n Rails.getData = function (element, key) {\n var ref;\n return (ref = element[expando]) != null ? ref[key] : void 0;\n };\n Rails.setData = function (element, key, value) {\n if (element[expando] == null) {\n element[expando] = {};\n }\n return element[expando][key] = value;\n };\n Rails.$ = function (selector) {\n return Array.prototype.slice.call(document.querySelectorAll(selector));\n };\n }).call(this);\n (function () {\n var $, csrfParam, csrfToken;\n $ = Rails.$;\n csrfToken = Rails.csrfToken = function () {\n var meta;\n meta = document.querySelector('meta[name=csrf-token]');\n return meta && meta.content;\n };\n csrfParam = Rails.csrfParam = function () {\n var meta;\n meta = document.querySelector('meta[name=csrf-param]');\n return meta && meta.content;\n };\n Rails.CSRFProtection = function (xhr) {\n var token;\n token = csrfToken();\n if (token != null) {\n return xhr.setRequestHeader('X-CSRF-Token', token);\n }\n };\n Rails.refreshCSRFTokens = function () {\n var param, token;\n token = csrfToken();\n param = csrfParam();\n if (token != null && param != null) {\n return $('form input[name=\"' + param + '\"]').forEach(function (input) {\n return input.value = token;\n });\n }\n };\n }).call(this);\n (function () {\n var CustomEvent, fire, matches, preventDefault;\n matches = Rails.matches;\n CustomEvent = window.CustomEvent;\n if (typeof CustomEvent !== 'function') {\n CustomEvent = function (event, params) {\n var evt;\n evt = document.createEvent('CustomEvent');\n evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);\n return evt;\n };\n CustomEvent.prototype = window.Event.prototype;\n preventDefault = CustomEvent.prototype.preventDefault;\n CustomEvent.prototype.preventDefault = function () {\n var result;\n result = preventDefault.call(this);\n if (this.cancelable && !this.defaultPrevented) {\n Object.defineProperty(this, 'defaultPrevented', {\n get: function () {\n return true;\n }\n });\n }\n return result;\n };\n }\n fire = Rails.fire = function (obj, name, data) {\n var event;\n event = new CustomEvent(name, {\n bubbles: true,\n cancelable: true,\n detail: data\n });\n obj.dispatchEvent(event);\n return !event.defaultPrevented;\n };\n Rails.stopEverything = function (e) {\n fire(e.target, 'ujs:everythingStopped');\n e.preventDefault();\n e.stopPropagation();\n return e.stopImmediatePropagation();\n };\n Rails.delegate = function (element, selector, eventType, handler) {\n return element.addEventListener(eventType, function (e) {\n var target;\n target = e.target;\n while (!(!(target instanceof Element) || matches(target, selector))) {\n target = target.parentNode;\n }\n if (target instanceof Element && handler.call(target, e) === false) {\n e.preventDefault();\n return e.stopPropagation();\n }\n });\n };\n }).call(this);\n (function () {\n var AcceptHeaders, CSRFProtection, createXHR, cspNonce, fire, prepareOptions, processResponse;\n cspNonce = Rails.cspNonce, CSRFProtection = Rails.CSRFProtection, fire = Rails.fire;\n AcceptHeaders = {\n '*': '*/*',\n text: 'text/plain',\n html: 'text/html',\n xml: 'application/xml, text/xml',\n json: 'application/json, text/javascript',\n script: 'text/javascript, application/javascript, application/ecmascript, application/x-ecmascript'\n };\n Rails.ajax = function (options) {\n var xhr;\n options = prepareOptions(options);\n xhr = createXHR(options, function () {\n var ref, response;\n response = processResponse((ref = xhr.response) != null ? ref : xhr.responseText, xhr.getResponseHeader('Content-Type'));\n if (Math.floor(xhr.status / 100) === 2) {\n if (typeof options.success === \"function\") {\n options.success(response, xhr.statusText, xhr);\n }\n } else {\n if (typeof options.error === \"function\") {\n options.error(response, xhr.statusText, xhr);\n }\n }\n return typeof options.complete === \"function\" ? options.complete(xhr, xhr.statusText) : void 0;\n });\n if (options.beforeSend != null && !options.beforeSend(xhr, options)) {\n return false;\n }\n if (xhr.readyState === XMLHttpRequest.OPENED) {\n return xhr.send(options.data);\n }\n };\n prepareOptions = function (options) {\n options.url = options.url || location.href;\n options.type = options.type.toUpperCase();\n if (options.type === 'GET' && options.data) {\n if (options.url.indexOf('?') < 0) {\n options.url += '?' + options.data;\n } else {\n options.url += '&' + options.data;\n }\n }\n if (AcceptHeaders[options.dataType] == null) {\n options.dataType = '*';\n }\n options.accept = AcceptHeaders[options.dataType];\n if (options.dataType !== '*') {\n options.accept += ', */*; q=0.01';\n }\n return options;\n };\n createXHR = function (options, done) {\n var xhr;\n xhr = new XMLHttpRequest();\n xhr.open(options.type, options.url, true);\n xhr.setRequestHeader('Accept', options.accept);\n if (typeof options.data === 'string') {\n xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');\n }\n if (!options.crossDomain) {\n xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest');\n CSRFProtection(xhr);\n }\n xhr.withCredentials = !!options.withCredentials;\n xhr.onreadystatechange = function () {\n if (xhr.readyState === XMLHttpRequest.DONE) {\n return done(xhr);\n }\n };\n return xhr;\n };\n processResponse = function (response, type) {\n var parser, script;\n if (typeof response === 'string' && typeof type === 'string') {\n if (type.match(/\\bjson\\b/)) {\n try {\n response = JSON.parse(response);\n } catch (error) {}\n } else if (type.match(/\\b(?:java|ecma)script\\b/)) {\n script = document.createElement('script');\n script.setAttribute('nonce', cspNonce());\n script.text = response;\n document.head.appendChild(script).parentNode.removeChild(script);\n } else if (type.match(/\\b(xml|html|svg)\\b/)) {\n parser = new DOMParser();\n type = type.replace(/;.+/, '');\n try {\n response = parser.parseFromString(response, type);\n } catch (error) {}\n }\n }\n return response;\n };\n Rails.href = function (element) {\n return element.href;\n };\n Rails.isCrossDomain = function (url) {\n var e, originAnchor, urlAnchor;\n originAnchor = document.createElement('a');\n originAnchor.href = location.href;\n urlAnchor = document.createElement('a');\n try {\n urlAnchor.href = url;\n return !((!urlAnchor.protocol || urlAnchor.protocol === ':') && !urlAnchor.host || originAnchor.protocol + '//' + originAnchor.host === urlAnchor.protocol + '//' + urlAnchor.host);\n } catch (error) {\n e = error;\n return true;\n }\n };\n }).call(this);\n (function () {\n var matches, toArray;\n matches = Rails.matches;\n toArray = function (e) {\n return Array.prototype.slice.call(e);\n };\n Rails.serializeElement = function (element, additionalParam) {\n var inputs, params;\n inputs = [element];\n if (matches(element, 'form')) {\n inputs = toArray(element.elements);\n }\n params = [];\n inputs.forEach(function (input) {\n if (!input.name || input.disabled) {\n return;\n }\n if (matches(input, 'fieldset[disabled] *')) {\n return;\n }\n if (matches(input, 'select')) {\n return toArray(input.options).forEach(function (option) {\n if (option.selected) {\n return params.push({\n name: input.name,\n value: option.value\n });\n }\n });\n } else if (input.checked || ['radio', 'checkbox', 'submit'].indexOf(input.type) === -1) {\n return params.push({\n name: input.name,\n value: input.value\n });\n }\n });\n if (additionalParam) {\n params.push(additionalParam);\n }\n return params.map(function (param) {\n if (param.name != null) {\n return encodeURIComponent(param.name) + \"=\" + encodeURIComponent(param.value);\n } else {\n return param;\n }\n }).join('&');\n };\n Rails.formElements = function (form, selector) {\n if (matches(form, 'form')) {\n return toArray(form.elements).filter(function (el) {\n return matches(el, selector);\n });\n } else {\n return toArray(form.querySelectorAll(selector));\n }\n };\n }).call(this);\n (function () {\n var allowAction, fire, stopEverything;\n fire = Rails.fire, stopEverything = Rails.stopEverything;\n Rails.handleConfirm = function (e) {\n if (!allowAction(this)) {\n return stopEverything(e);\n }\n };\n Rails.confirm = function (message, element) {\n return confirm(message);\n };\n allowAction = function (element) {\n var answer, callback, message;\n message = element.getAttribute('data-confirm');\n if (!message) {\n return true;\n }\n answer = false;\n if (fire(element, 'confirm')) {\n try {\n answer = Rails.confirm(message, element);\n } catch (error) {}\n callback = fire(element, 'confirm:complete', [answer]);\n }\n return answer && callback;\n };\n }).call(this);\n (function () {\n var disableFormElement, disableFormElements, disableLinkElement, enableFormElement, enableFormElements, enableLinkElement, formElements, getData, isXhrRedirect, matches, setData, stopEverything;\n matches = Rails.matches, getData = Rails.getData, setData = Rails.setData, stopEverything = Rails.stopEverything, formElements = Rails.formElements;\n Rails.handleDisabledElement = function (e) {\n var element;\n element = this;\n if (element.disabled) {\n return stopEverything(e);\n }\n };\n Rails.enableElement = function (e) {\n var element;\n if (e instanceof Event) {\n if (isXhrRedirect(e)) {\n return;\n }\n element = e.target;\n } else {\n element = e;\n }\n if (matches(element, Rails.linkDisableSelector)) {\n return enableLinkElement(element);\n } else if (matches(element, Rails.buttonDisableSelector) || matches(element, Rails.formEnableSelector)) {\n return enableFormElement(element);\n } else if (matches(element, Rails.formSubmitSelector)) {\n return enableFormElements(element);\n }\n };\n Rails.disableElement = function (e) {\n var element;\n element = e instanceof Event ? e.target : e;\n if (matches(element, Rails.linkDisableSelector)) {\n return disableLinkElement(element);\n } else if (matches(element, Rails.buttonDisableSelector) || matches(element, Rails.formDisableSelector)) {\n return disableFormElement(element);\n } else if (matches(element, Rails.formSubmitSelector)) {\n return disableFormElements(element);\n }\n };\n disableLinkElement = function (element) {\n var replacement;\n if (getData(element, 'ujs:disabled')) {\n return;\n }\n replacement = element.getAttribute('data-disable-with');\n if (replacement != null) {\n setData(element, 'ujs:enable-with', element.innerHTML);\n element.innerHTML = replacement;\n }\n element.addEventListener('click', stopEverything);\n return setData(element, 'ujs:disabled', true);\n };\n enableLinkElement = function (element) {\n var originalText;\n originalText = getData(element, 'ujs:enable-with');\n if (originalText != null) {\n element.innerHTML = originalText;\n setData(element, 'ujs:enable-with', null);\n }\n element.removeEventListener('click', stopEverything);\n return setData(element, 'ujs:disabled', null);\n };\n disableFormElements = function (form) {\n return formElements(form, Rails.formDisableSelector).forEach(disableFormElement);\n };\n disableFormElement = function (element) {\n var replacement;\n if (getData(element, 'ujs:disabled')) {\n return;\n }\n replacement = element.getAttribute('data-disable-with');\n if (replacement != null) {\n if (matches(element, 'button')) {\n setData(element, 'ujs:enable-with', element.innerHTML);\n element.innerHTML = replacement;\n } else {\n setData(element, 'ujs:enable-with', element.value);\n element.value = replacement;\n }\n }\n element.disabled = true;\n return setData(element, 'ujs:disabled', true);\n };\n enableFormElements = function (form) {\n return formElements(form, Rails.formEnableSelector).forEach(enableFormElement);\n };\n enableFormElement = function (element) {\n var originalText;\n originalText = getData(element, 'ujs:enable-with');\n if (originalText != null) {\n if (matches(element, 'button')) {\n element.innerHTML = originalText;\n } else {\n element.value = originalText;\n }\n setData(element, 'ujs:enable-with', null);\n }\n element.disabled = false;\n return setData(element, 'ujs:disabled', null);\n };\n isXhrRedirect = function (event) {\n var ref, xhr;\n xhr = (ref = event.detail) != null ? ref[0] : void 0;\n return (xhr != null ? xhr.getResponseHeader(\"X-Xhr-Redirect\") : void 0) != null;\n };\n }).call(this);\n (function () {\n var stopEverything;\n stopEverything = Rails.stopEverything;\n Rails.handleMethod = function (e) {\n var csrfParam, csrfToken, form, formContent, href, link, method;\n link = this;\n method = link.getAttribute('data-method');\n if (!method) {\n return;\n }\n href = Rails.href(link);\n csrfToken = Rails.csrfToken();\n csrfParam = Rails.csrfParam();\n form = document.createElement('form');\n formContent = \"\";\n if (csrfParam != null && csrfToken != null && !Rails.isCrossDomain(href)) {\n formContent += \"\";\n }\n formContent += '';\n form.method = 'post';\n form.action = href;\n form.target = link.target;\n form.innerHTML = formContent;\n form.style.display = 'none';\n document.body.appendChild(form);\n form.querySelector('[type=\"submit\"]').click();\n return stopEverything(e);\n };\n }).call(this);\n (function () {\n var ajax,\n fire,\n getData,\n isCrossDomain,\n isRemote,\n matches,\n serializeElement,\n setData,\n stopEverything,\n slice = [].slice;\n matches = Rails.matches, getData = Rails.getData, setData = Rails.setData, fire = Rails.fire, stopEverything = Rails.stopEverything, ajax = Rails.ajax, isCrossDomain = Rails.isCrossDomain, serializeElement = Rails.serializeElement;\n isRemote = function (element) {\n var value;\n value = element.getAttribute('data-remote');\n return value != null && value !== 'false';\n };\n Rails.handleRemote = function (e) {\n var button, data, dataType, element, method, url, withCredentials;\n element = this;\n if (!isRemote(element)) {\n return true;\n }\n if (!fire(element, 'ajax:before')) {\n fire(element, 'ajax:stopped');\n return false;\n }\n withCredentials = element.getAttribute('data-with-credentials');\n dataType = element.getAttribute('data-type') || 'script';\n if (matches(element, Rails.formSubmitSelector)) {\n button = getData(element, 'ujs:submit-button');\n method = getData(element, 'ujs:submit-button-formmethod') || element.method;\n url = getData(element, 'ujs:submit-button-formaction') || element.getAttribute('action') || location.href;\n if (method.toUpperCase() === 'GET') {\n url = url.replace(/\\?.*$/, '');\n }\n if (element.enctype === 'multipart/form-data') {\n data = new FormData(element);\n if (button != null) {\n data.append(button.name, button.value);\n }\n } else {\n data = serializeElement(element, button);\n }\n setData(element, 'ujs:submit-button', null);\n setData(element, 'ujs:submit-button-formmethod', null);\n setData(element, 'ujs:submit-button-formaction', null);\n } else if (matches(element, Rails.buttonClickSelector) || matches(element, Rails.inputChangeSelector)) {\n method = element.getAttribute('data-method');\n url = element.getAttribute('data-url');\n data = serializeElement(element, element.getAttribute('data-params'));\n } else {\n method = element.getAttribute('data-method');\n url = Rails.href(element);\n data = element.getAttribute('data-params');\n }\n ajax({\n type: method || 'GET',\n url: url,\n data: data,\n dataType: dataType,\n beforeSend: function (xhr, options) {\n if (fire(element, 'ajax:beforeSend', [xhr, options])) {\n return fire(element, 'ajax:send', [xhr]);\n } else {\n fire(element, 'ajax:stopped');\n return false;\n }\n },\n success: function () {\n var args;\n args = 1 <= arguments.length ? slice.call(arguments, 0) : [];\n return fire(element, 'ajax:success', args);\n },\n error: function () {\n var args;\n args = 1 <= arguments.length ? slice.call(arguments, 0) : [];\n return fire(element, 'ajax:error', args);\n },\n complete: function () {\n var args;\n args = 1 <= arguments.length ? slice.call(arguments, 0) : [];\n return fire(element, 'ajax:complete', args);\n },\n crossDomain: isCrossDomain(url),\n withCredentials: withCredentials != null && withCredentials !== 'false'\n });\n return stopEverything(e);\n };\n Rails.formSubmitButtonClick = function (e) {\n var button, form;\n button = this;\n form = button.form;\n if (!form) {\n return;\n }\n if (button.name) {\n setData(form, 'ujs:submit-button', {\n name: button.name,\n value: button.value\n });\n }\n setData(form, 'ujs:formnovalidate-button', button.formNoValidate);\n setData(form, 'ujs:submit-button-formaction', button.getAttribute('formaction'));\n return setData(form, 'ujs:submit-button-formmethod', button.getAttribute('formmethod'));\n };\n Rails.preventInsignificantClick = function (e) {\n var data, insignificantMetaClick, link, metaClick, method, nonPrimaryMouseClick;\n link = this;\n method = (link.getAttribute('data-method') || 'GET').toUpperCase();\n data = link.getAttribute('data-params');\n metaClick = e.metaKey || e.ctrlKey;\n insignificantMetaClick = metaClick && method === 'GET' && !data;\n nonPrimaryMouseClick = e.button != null && e.button !== 0;\n if (nonPrimaryMouseClick || insignificantMetaClick) {\n return e.stopImmediatePropagation();\n }\n };\n }).call(this);\n (function () {\n var $, CSRFProtection, delegate, disableElement, enableElement, fire, formSubmitButtonClick, getData, handleConfirm, handleDisabledElement, handleMethod, handleRemote, loadCSPNonce, preventInsignificantClick, refreshCSRFTokens;\n fire = Rails.fire, delegate = Rails.delegate, getData = Rails.getData, $ = Rails.$, refreshCSRFTokens = Rails.refreshCSRFTokens, CSRFProtection = Rails.CSRFProtection, loadCSPNonce = Rails.loadCSPNonce, enableElement = Rails.enableElement, disableElement = Rails.disableElement, handleDisabledElement = Rails.handleDisabledElement, handleConfirm = Rails.handleConfirm, preventInsignificantClick = Rails.preventInsignificantClick, handleRemote = Rails.handleRemote, formSubmitButtonClick = Rails.formSubmitButtonClick, handleMethod = Rails.handleMethod;\n if (typeof jQuery !== \"undefined\" && jQuery !== null && jQuery.ajax != null) {\n if (jQuery.rails) {\n throw new Error('If you load both jquery_ujs and rails-ujs, use rails-ujs only.');\n }\n jQuery.rails = Rails;\n jQuery.ajaxPrefilter(function (options, originalOptions, xhr) {\n if (!options.crossDomain) {\n return CSRFProtection(xhr);\n }\n });\n }\n Rails.start = function () {\n if (window._rails_loaded) {\n throw new Error('rails-ujs has already been loaded!');\n }\n window.addEventListener('pageshow', function () {\n $(Rails.formEnableSelector).forEach(function (el) {\n if (getData(el, 'ujs:disabled')) {\n return enableElement(el);\n }\n });\n return $(Rails.linkDisableSelector).forEach(function (el) {\n if (getData(el, 'ujs:disabled')) {\n return enableElement(el);\n }\n });\n });\n delegate(document, Rails.linkDisableSelector, 'ajax:complete', enableElement);\n delegate(document, Rails.linkDisableSelector, 'ajax:stopped', enableElement);\n delegate(document, Rails.buttonDisableSelector, 'ajax:complete', enableElement);\n delegate(document, Rails.buttonDisableSelector, 'ajax:stopped', enableElement);\n delegate(document, Rails.linkClickSelector, 'click', preventInsignificantClick);\n delegate(document, Rails.linkClickSelector, 'click', handleDisabledElement);\n delegate(document, Rails.linkClickSelector, 'click', handleConfirm);\n delegate(document, Rails.linkClickSelector, 'click', disableElement);\n delegate(document, Rails.linkClickSelector, 'click', handleRemote);\n delegate(document, Rails.linkClickSelector, 'click', handleMethod);\n delegate(document, Rails.buttonClickSelector, 'click', preventInsignificantClick);\n delegate(document, Rails.buttonClickSelector, 'click', handleDisabledElement);\n delegate(document, Rails.buttonClickSelector, 'click', handleConfirm);\n delegate(document, Rails.buttonClickSelector, 'click', disableElement);\n delegate(document, Rails.buttonClickSelector, 'click', handleRemote);\n delegate(document, Rails.inputChangeSelector, 'change', handleDisabledElement);\n delegate(document, Rails.inputChangeSelector, 'change', handleConfirm);\n delegate(document, Rails.inputChangeSelector, 'change', handleRemote);\n delegate(document, Rails.formSubmitSelector, 'submit', handleDisabledElement);\n delegate(document, Rails.formSubmitSelector, 'submit', handleConfirm);\n delegate(document, Rails.formSubmitSelector, 'submit', handleRemote);\n delegate(document, Rails.formSubmitSelector, 'submit', function (e) {\n return setTimeout(function () {\n return disableElement(e);\n }, 13);\n });\n delegate(document, Rails.formSubmitSelector, 'ajax:send', disableElement);\n delegate(document, Rails.formSubmitSelector, 'ajax:complete', enableElement);\n delegate(document, Rails.formInputClickSelector, 'click', preventInsignificantClick);\n delegate(document, Rails.formInputClickSelector, 'click', handleDisabledElement);\n delegate(document, Rails.formInputClickSelector, 'click', handleConfirm);\n delegate(document, Rails.formInputClickSelector, 'click', formSubmitButtonClick);\n document.addEventListener('DOMContentLoaded', refreshCSRFTokens);\n document.addEventListener('DOMContentLoaded', loadCSPNonce);\n return window._rails_loaded = true;\n };\n if (window.Rails === Rails && fire(document, 'rails:attachBindings')) {\n Rails.start();\n }\n }).call(this);\n }).call(this);\n if (typeof module === \"object\" && module.exports) {\n module.exports = Rails;\n } else if (typeof define === \"function\" && define.amd) {\n define(Rails);\n }\n}).call(this);"],"sourceRoot":""}