{"version":3,"sources":["webpack:///./widgets/instagramBlock.js","webpack:///./widgets/quoteBlock.js","webpack:////Users/owenli/Documents/workspace/awi-woolmark-fe/node_modules/instafeed.js/dist/instafeed.es.js"],"names":["InstagramBlock","_createClass","$el","_classCallCheck","this","$","readMore","data","topLogo","sideLogo","isScroll","insToken","Instafeed","get","target","resolution","limit","accessToken","template","run","setTimeout","slick","dots","infinite","autoplay","autoplaySpeed","slidesToShow","slidesToScroll","responsive","breakpoint","settings","show","WG","concat","QuoteBlock","element","$element","$carousel","find","assert","val","msg","Error","options","opts","accessTokenTimeout","after","apiTimeout","apiLimit","before","debug","error","filter","mock","render","sort","success","templateBoundaries","transform","optKey","length","_state","running","node","token","paging","pool","_options","prototype","scope","_debug","_start","document","getElementById","_getAccessToken","err","_fail","message","_showNext","_finish","hasNext","next","callback","url","poolItems","hasLimit","splice","_renderData","renderErr","_makeApiRequest","processed","_success","_processData","unused","i","push","processErr","items","hasTransform","hasFilter","hasSort","transformedFiltered","limitDelta","dataItem","transformedItem","filterResult","unusedItems","_getItemData","slice","_extractTags","str","exp","badChars","tags","match","exec","test","type","image","media_type","media_url","thumbnail_url","caption","id","link","permalink","model","timestamp","username","hasTemplate","hasRender","item","itemHtml","container","html","_basicRender","createElement","innerHTML","childNodes","appendChild","RegExp","output","lastIndex","keyPath","keyPathValue","index","_valueForKeyPath","toString","lastValue","_runHook","console","called","apiRequest","callbackOnce","value","XMLHttpRequest","ontimeout","onerror","onload","event","contentType","getResponseHeader","responseJson","status","indexOf","JSON","parse","responseText","code","open","timeout","send","timeoutCheck","clearTimeout","args","log","call","arguments","hookName"],"mappings":"29BAAA,IAMaA,EAAcC,GAC1B,SAAAD,EAAYE,I,4FAAKC,CAAA,KAAAH,GAEhBI,KAAKF,IAAMG,EAAEH,GAEb,IAAII,EAAWF,KAAKF,IAAIK,KAAK,YACzBC,EAAUJ,KAAKF,IAAIK,KAAK,WACxBE,EAAWL,KAAKF,IAAIK,KAAK,YACzBG,EAAWN,KA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lB,GAAyC,mBAA9BtJ,KAAK+D,SAASlD,YAA4B,CACnDb,KAAKkE,OAAO,iBAAkB,mCAC9BsG,EAAexJ,YAAW,WACxBiD,EAAMC,OAAO,iBAAkB,gBAAiBiF,GAChDE,EAAa,IAAI/G,MAAM,yBAA0B,QAChDtC,KAAK+D,SAAStB,oBACjB,IACEzC,KAAK+D,SAASlD,aAAY,SAA6B0D,EAAK+E,GAC1DrF,EAAMC,OAAO,iBAAkB,gCAAiCiF,EAAQ5E,EAAK+E,GAC7ED,EAAa9E,EAAK+E,MAEpB,MAAO/E,GACPvE,KAAKkE,OAAO,iBAAkB,6CAA8CK,GAC5E8E,EAAa9E,EAAK,YAGpBvE,KAAKkE,OAAO,iBAAkB,wCAAyClE,KAAK+D,SAASlD,aACrFwI,EAAa,KAAMrJ,KAAK+D,SAASlD,cAIrCL,EAAUwD,UAAUE,OAAS,WAC3B,IAAIwG,EAAO,KACP1K,KAAK+D,SAASjB,OAASoG,SAAkC,mBAAhBA,QAAQyB,OACnDD,EAAO,GAAGlE,MAAMoE,KAAKC,YAChB,GAAK,gBAAkBH,EAAK,GAAK,MAK1ClK,EAAUwD,UAAUiF,SAAW,SAAiB6B,EAAU3K,GACxD,IAAIiD,GAAU,EACd,GAAuC,mBAA5BpD,KAAK+D,SAAS+G,GACvB,IACE9K,KAAK+D,SAAS+G,GAAU3K,GACxBiD,GAAU,EACV,MAAOmB,GACPvE,KAAKkE,OAAO,UAAW,qBAAsB4G,EAAUvG,GAG3D,OAAOnB,GAGM","file":"44.js","sourcesContent":["const NS = 'InstagramBlock';\nconst CLS = 'instagramBlock';\nconst WG = '.' + CLS + '-';\n\nimport Instafeed from 'instafeed.js'; //import the instafeed\n\nexport class InstagramBlock {\n\tconstructor($el) {\n\t\t// $el is the widget node return by the loadShopProductBlock function\n\t\tthis.$el = $($el);\n\t\t// get the data from epi server\n\t\tvar readMore = this.$el.data(\"readMore\");\n\t\tvar topLogo = this.$el.data(\"topLogo\");\n\t\tvar sideLogo = this.$el.data(\"sideLogo\");\n\t\tvar isScroll = this.$el.data(\"isScroll\");\n\t\tvar insToken = this.$el.data(\"insToken\");\n\t\t// load the instafeed\n\t\tvar userFeed = new Instafeed({\n\t\t\tget: 'user',\n\t\t\ttarget: \"instafeed-container\", // insert instagram into this div\n\t\t\tresolution: 'low_resolution', // using low resolution image\n\t\t\tlimit: 12, // show 12 posts in the carousel\n\t\t\taccessToken: insToken,\n\t\t\t// create custom template\n\t\t\ttemplate:'
'\n\t\t});\n\t\tuserFeed.run();\n\n\t\t// load slick slider \n\t\tsetTimeout(slickFunction, 2000); // wait for 2 seconds until instagram feed is fully loaded then load slick slider\n\t\t\tfunction slickFunction() {\n\t\t\t\t$(\"#instafeed-container\").slick({\n\t\t\t\t\t\tdots: true,\n\t\t\t\t\t\tinfinite: true,\n\t\t\t\t\t\tautoplay: isScroll,\n \t\t\t\t\tautoplaySpeed: 4000,\n\t\t\t\t\t\tslidesToShow: 3,\n\t\t\t\t\t\tslidesToScroll: 3,\n\t\t\t\t\t\tresponsive: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tbreakpoint: 1024,\n\t\t\t\t\t\t\tsettings: {\n\t\t\t\t\t\t\tslidesToShow: 2,\n\t\t\t\t\t\t\tslidesToScroll: 2,\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tbreakpoint: 600,\n\t\t\t\t\t\t\tsettings: {\n\t\t\t\t\t\t\tslidesToShow: 2,\n\t\t\t\t\t\t\tslidesToScroll: 2\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tbreakpoint: 480,\n\t\t\t\t\t\t\tsettings: {\n\t\t\t\t\t\t\tslidesToShow: 1,\n\t\t\t\t\t\t\tslidesToScroll: 1\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t]\n\t\t\t\t});\n\t\t\t\t$('#instafeed-container').show();\n\t\t\t}\n\t}\n\t// Add more functions like on above here\n}\n","const NS = 'QuoteBlock';\nconst CLS = 'quoteBlock';\nconst WG = `.${CLS}-`;\n\nexport class QuoteBlock {\n\tconstructor(element) {\n\t\tthis.element = element;\n\t\tthis.$element = $(element);\n\n\t\tthis.$carousel = this.$element.find(`${WG}carousel`);\n\t\tconsole.log(this.$carousel);\n\t\tthis.$carousel.slick({\n\t\t\tautoplay:true,\n\t\t\tautoplaySpeed:4000,\n\t\t\tdots: true\n\t\t});\n\t}\n}","/* instafeed.js | v2.0.0 | https://github.com/stevenschobert/instafeed.js | License: MIT */\nfunction assert(val, msg) {\n if (!val) {\n throw new Error(msg);\n }\n}\n\nfunction Instafeed(options) {\n assert(!options || typeof options === \"object\", \"options must be an object, got \" + options + \" (\" + typeof options + \")\");\n var opts = {\n accessToken: null,\n accessTokenTimeout: 1e4,\n after: null,\n apiTimeout: 1e4,\n apiLimit: null,\n before: null,\n debug: false,\n error: null,\n filter: null,\n limit: null,\n mock: false,\n render: null,\n sort: null,\n success: null,\n target: \"instafeed\",\n template: '