text: {"version":3,"file":"script.min.js","sources":["script.js"],"names":["window","JCSaleProductsGiftComponent","params","this","formPosting","siteId","template","componentPath","parameters","container","document","querySelector","currentProductId","initiallyShowHeader","BX","ready","delegate","showHeader","deferredLoad","addCustomEvent","offerId","parseInt","offerChangedEvent","prototype","sendRequest","action","data","defaultData","ajax","url","location","href","indexOf","method","dataType","timeout","merge","onsuccess","result","JS","hideHeader","cleanNode","processScripts","processHTML","SCRIPT","showAction","processDeferredLoadAction","processItems","items","itemsHtml","processed","temporaryNode","create","k","origRows","innerHTML","HTML","querySelectorAll","length","hasOwnProperty","style","opacity","appendChild","easing","duration","start","finish","transition","makeEaseOut","transitions","quad","step","state","complete","removeAttribute","animate","parentNode","findParent","attr","data-entity","header","type","isDomNode","getAttribute","display","animation","setAttribute","stop"],"mappings":"CAAA,WACC,YAEA,MAAMA,OAAOC,4BACZ,MAEDD,QAAOC,4BAA8B,SAASC,GAC7CC,KAAKC,YAAc,KACnBD,MAAKE,OAASH,EAAOG,QAAU,EAC/BF,MAAKG,SAAWJ,EAAOI,UAAY,EACnCH,MAAKI,cAAgBL,EAAOK,eAAiB,EAC7CJ,MAAKK,WAAaN,EAAOM,YAAc,EAEvCL,MAAKM,UAAYC,SAASC,cAAc,iBAAmBT,EAAOO,UAAY,KAC9EN,MAAKS,iBAAmBV,EAAOU,gBAE/B,IAAIV,EAAOW,oBACX,CACCC,GAAGC,MAAMD,GAAGE,SAASb,KAAKc,WAAYd,OAGvC,GAAID,EAAOgB,aACX,CACCJ,GAAGC,MAAMD,GAAGE,SAASb,KAAKe,aAAcf,OAGzCW,GAAGK,eACF,8BACAL,GAAGE,SAAS,SAASI,GACpBA,EAAUC,SAASD,EAEnB,IAAIjB,KAAKS,mBAAqBQ,EAC9B,CACC,OAGDjB,KAAKS,iBAAmBQ,CACxBjB,MAAKmB,qBACHnB,OAILH,QAAOC,4BAA4BsB,WAElCD,kBAAmB,WAElBnB,KAAKqB,aAAaC,OAAQ,eAAgBL,QAASjB,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