{"action":"created","comment":{"url":"https://api.github.com/repos/seventag/seventag/pulls/comments/58371375","id":58371375,"diff_hunk":"@@ -0,0 +1 @@\n+\"use strict\";!function(t,n){t[n]=t[n]||{}}(window,\"sevenTag\"),function(t,n){var e={dependencies:{},register:function(t,n){e.dependencies[t]=n},get:function(t){return e.dependencies[t]},has:function(t){return void 0!==e.dependencies[t]},resolve:function(t){for(var n=[],r=void 0!==t.$inject?t.$inject:[],i=0;i<r.length;i++){var o=r[i];if(\"undefined\"==typeof e.dependencies[o]){var a=\"\"===t.name?\"\":\" Called from \"+t.name+\" function\";throw\"Can not resolve \"+o+\" dependency.\"+a}n.push(e.dependencies[o])}return t.apply({},n)}};t[n]=e}(window.sevenTag,\"$injector\"),function(t,n){t.service=function(t,e){var r=n.resolve;n.register(t,new r(e))},t.provider=function(t,e){n.register(t,n.resolve(e))},t.value=function(t,e){n.register(t,e)},t.config=function(t){n.resolve(t)}}(window.sevenTag,window.sevenTag.$injector),function(t){var n=[],e=function(){var t;return t=\"undefined\"!=typeof localStorage?localStorage:\"undefined\"!==window.localStorageFallback?window.localStorageFallback:{storage:{},setItem:function(t,n){this.storage[t]=n},removeItem:function(t){delete this.storage[t]},getItem:function(t){return this.storage[t]}}}();t.value(\"$window\",window),t.service(\"$document\",function(){return document}),t.value(\"$localStorage\",e),t.emit=function(t,e){for(var r=0;r<n.length;r++){var i=n[r];i(t,e)}},t.on=function(t,e){n.push(function(n,r){n===t&&e(r)})},t.service(\"$injector\",function(){return t.$injector}),t.provider(\"DOMAIN\",function(){return\"##domain##\"}),t.provider(\"ID\",function(){return\"##id##\"}),t.value(\"$variables\",function(){return window.sevenTagSync.variables}),t.value(\"DEBUG_PARAM_NAME\",\"_stg_debug\"),t.value(\"$location\",window.location)}(window.sevenTag),function(t,n){function e(t){return\"object\"==typeof HTMLElement?t instanceof HTMLElement:t&&\"object\"==typeof t&&null!==t&&1===t.nodeType&&\"string\"==typeof t.nodeName}var r=function(t){var n={},r=n.hasOwnProperty,i={},o=[];return this.timeout=function(n){var e=[].slice.call(arguments,0)[1]||0;t.setTimeout(n,e)},this.extend=function(){var t,n,e,r,i,o,a=arguments[0]||{},c=1,s=arguments.length,u=!1;for(\"boolean\"==typeof a&&(u=a,a=arguments[c]||{},c++),\"object\"==typeof a||this.isFunction(a)||(a={}),c===s&&(a=this,c--);s>c;c++)if(null!=(i=arguments[c]))for(r in i)t=a[r],e=i[r],a!==e&&(u&&e&&(this.isPlainObject(e)||(n=this.isArray(e)))?(n?(n=!1,o=t&&this.isArray(t)?t:[]):o=t&&this.isPlainObject(t)?t:{},a[r]=this.extend(u,o,e)):void 0!==e&&(a[r]=e));return a},this.isArray=Array.isArray||function(t){return t instanceof Array},this.isWindow=function(t){return void 0!==t.document},this.isPlainObject=function(t){var n;if(!t||\"object\"!==this.type(t)||t.nodeType||this.isWindow(t))return!1;try{if(t.constructor&&!r.call(t,\"constructor\")&&!r.call(t.constructor.prototype,\"isPrototypeOf\"))return!1}catch(e){return!1}if(i.ownLast)for(n in t)return r.call(t,n);for(n in t);return void 0===n||r.call(t,n)},this.type=function(t){return null==t?t+\"\":\"object\"==typeof t||\"function\"==typeof t?n[t.toString()]||\"object\":typeof t},this.getElementsByClassName=function(t){var n,e,r,i=document,o=[];if(i.querySelectorAll)return i.querySelectorAll(\".\"+t);if(i.evaluate)for(e=\".//*[contains(concat(' ', @class, ' '), '\"+t+\" ')]\",n=i.evaluate(e,i,null,0,null);r=n.iterateNext();)o.push(r);else for(n=i.getElementsByTagName(\"*\"),e=new RegExp(\"(^|\\\\s)\"+t+\"(\\\\s|$)\"),r=0;r<n.length;r++)e.test(n[r].className)&&o.push(n[r]);return o},this.inArray=function(t,n,e){var r;if(n){if(o.indexOf)return o.indexOf.call(n,t,e);for(r=n.length,e=e?0>e?Math.max(0,r+e):e:0;r>e;e++)if(e in n&&n[e]===t)return e}return-1},this.endsWith=function(t,n,e){(void 0===e||e>t.length)&&(e=t.length),e-=n.length;var r=this.inString(t,n,e);return-1!==r&&r===e},this.inString=function(t,n,e){return t.indexOf(n,e?e:0)},this.clone=function(t){if(null===t||\"object\"!=typeof t||e(t))return t;var n=t.constructor();for(var r in t)n[r]=this.clone(t[r]);return n},this.trim=function(t){for(var t=t.replace(/^\\s\\s*/,\"\"),n=/\\s/,e=t.length;n.test(t.charAt(--e)););return t.slice(0,e+1)},this.guid=function(){function t(t){var n=(Math.random().toString(16)+\"000000000\").substr(2,8);return t?\"-\"+n.substr(0,4)+\"-\"+n.substr(4,4):n}return t()+t(!0)+t(!0)+t()},this};r.$inject=[\"$window\"],t.service(n,r)}(window.sevenTag,\"$utils\"),function(t,n){var e=function(t){return this.add=function(n,e,r,i){var o=\"\";if(i=void 0===i?\"/\":i,r){var a=new Date;a.setTime(a.getTime()+1e3*r),o=\"; expires=\"+a.toGMTString()}t.cookie=n+\"=\"+e+o+\"; path=\"+i},this.get=function(n){for(var e=t.cookie?t.cookie.split(\"; \"):[],r=0;r<e.length;r++){var i=e[r].split(\"=\"),o=i[0].replace(/^\\s+|\\s+$/gm,\"\");if(o===n){var a=i.slice(1).join(\"=\");return'\"'===a.charAt(0)&&(a=a.slice(1,-1)),a}}},this.remove=function(t){this.add(t,\"\",-86400)},this};e.$inject=[\"$document\"],t.service(n,e)}(window.sevenTag,\"$cookie\"),function(t,n,e){function r(t,n){var e=[\"1\",\"yes\",\"true\"],r=i(t),o=function(){return n.inArray(\"\"+r,e)>-1};return this.detect=function(){return o()},this}var i=function(t){return t.navigator?t.navigator.doNotTrack||t.navigator.msDoNotTrack:t.doNotTrack};t.provider(n,function(){return r});var o=function(t,n,e){return new e(t,n)};o.$inject=[\"$window\",\"$utils\",\"DoNotTrackDetector\"],t.service(e,o)}(window.sevenTag,\"DoNotTrackDetector\",\"$doNotTrackDetector\"),function(t,n,e){function r(t){var n=t.detect();return this.isEnabled=function(){return n},this}t.provider(n,function(){return r});var i=function(t,n){return new n(t)};i.$inject=[\"$doNotTrackDetector\",\"DoNotTrack\"],t.service(e,i),t[e]=t.$injector.get(e)}(window.sevenTag,\"DoNotTrack\",\"$doNotTrack\"),function(t,n,e){function r(t){var n=\"_stg_optout\";return this.isEnabled=function(){var e=t.get(n);return\"true\"===e},this}t.provider(n,function(){return r});var i=function(t,n){return new t(n)};i.$inject=[\"OptOut\",\"$cookie\"],t.service(e,i),t[e]=t.$injector.get(e)}(window.sevenTag,\"OptOut\",\"$optOut\"),function(t,n){var e=function(t){return this.filterFromHash=function(n){return n.replace(\"#\"+t,\"\")},this.filterFromQuery=function(n){if(!n)return\"\";var e=n.split(\"?\");if(e.length<2)return\"\";for(var r=e.shift(),i=e.join(\"?\"),o=encodeURIComponent(t),a=i.split(/[&;]/g),c=a.length;c-- >0;)-1!==a[c].lastIndexOf(o,0)&&a.splice(c,1);return n=r+(a.length>0?\"?\"+a.join(\"&\"):\"\")},this};e.$inject=[\"DEBUG_PARAM_NAME\"],t.service(n,e)}(window.sevenTag,\"$debugParamFilter\"),function(t,n){var e=function(t,n){return this.location=t,this.hasParam=function(){return this.hasParamInHash()||this.hasParamInQuery()},this.hasParamInHash=function(){return-1!==this.location.hash.indexOf(n)},this.hasParamInQuery=function(){return-1!==this.location.search.indexOf(n)},this};e.$inject=[\"$location\",\"DEBUG_PARAM_NAME\"],t.service(n,e)}(window.sevenTag,\"$debugParamDetector\"),function(t,n){var e=function(t,n){return this.CALLBACK_PATTERN=\"SevenTag_TagTreeCallback\",this.callbackCounter=0,this.fetch=function(e,r){var i=this.CALLBACK_PATTERN+\"_\"+this.callbackCounter++;t[i]=this.eval(r),e=e.replace(\"=callback\",\"=\"+i);var o=n.createElement(\"SCRIPT\"),a=n.head||n.getElementsByTagName(\"head\")[0];o.src=e,a.appendChild(o)},this.eval=function(t){return function(n){var e=!1;if(\"string\"==typeof n)try{e=JSON.parse(n)}catch(r){}else e=JSON.parse(JSON.stringify(n));if(!e)throw\"JSONP call returned invalid or empty JSON\";t(e)}},this};e.$inject=[\"$window\",\"$document\"],t.service(n,e)}(window.sevenTag,\"$jsonp\"),function(t,n,e){var r=function(){return this.enabled=!1,this.callback=void 0,this.isEnabled=function(){return this.enabled},this.setCallback=function(t){this.callback=t},this.hasCallback=function(){return void 0!==this.callback},this};r.$inject=[],t.service(n,r),t[e]=t.$injector.get(n)}(window.sevenTag,\"$breakpointManager\",\"breakpointManager\");var SYNC_EVENT=\"_stg_sync_event\";!function(t,n,e){var r=function(t,n,e,r,i,o){var a=!1,c=[];this.stack=[],this.tagTree=[],this.tagTreeSync=[],this.breakpoints=t;var s=o.getItem(SYNC_EVENT);return s&&(this.stack.push(JSON.parse(s)),o.removeItem(SYNC_EVENT)),this.isEnabled=function(){return a},this.start=function(t,n){return a=!0,this.tagTree=t,this.tagTreeSync=n,!0},this.stop=function(){return a=!1,!0},this.push=function(t){return a?(this.stack.push(t),!0):!1},this.close=function(){e.remove(r),n.href=i.filterFromHash(i.filterFromQuery(n.href))},this.addListener=function(t){return c.push(t),!0},this.hasListener=function(t){for(var n=!1,e=0;e<c.length;e++)c[e]===t&&(n=!0);return n},this.removeListener=function(t){for(var n=!1,e=0;e<c.length;e++)c[e]===t&&(c.splice(e,1),n=!0);return n},this.removeListeners=function(){return c=[],!0},this.debug=function(){if(a)for(var t=0;t<c.length;t++){var n=c[t];n(this.stack)}},this};r.$inject=[\"$breakpointManager\",\"$location\",\"$cookie\",\"DEBUG_PARAM_NAME\",\"$debugParamFilter\",\"$localStorage\"],t.service(n,r),t[e]=t.$injector.get(\"$debugger\")}(window.sevenTag,\"$debugger\",\"debugger\"),function(t,n){function e(){return this.visit=function(t,n,e){for(var r=0;r<t.length;r++)if(t[r].accept(n,e))return t[r].visit(n,e);return!1},this}t.provider(n,function(){return new e})}(window.sevenTag,\"ConditionVisitorStrategy\"),function(t,n){function e(){return this.visit=function(t,n,e){for(var i=0;i<t.length;i++)if(r(t[i],n,e))return!1;return!0},this}function r(t,n,e){return t.accept(n,e)&&!t.visit(n,e)}t.provider(n,function(){return new e})}(window.sevenTag,\"TagVisitorStrategy\"),function(t,n,e){function r(t){var n=function(n){return t.isEnabled()&&n.respectVisitorsPrivacy};return this.accept=function(){return!0},this.visit=function(t){return!n(t)},this}t.provider(n,function(){return r});var i=function(t,n){return new t(n)};i.$inject=[\"DoNotTrackVisitor\",\"$doNotTrack\"],t.service(e,i)}(window.sevenTag,\"DoNotTrackVisitor\",\"$doNotTrackVisitor\"),function(t,n,e){function r(t){var n=function(n){return t.isEnabled()&&n.respectVisitorsPrivacy};return this.accept=function(){return!0},this.visit=function(t){return!n(t)},this}t.provider(n,function(){return r});var i=function(t,n){return new t(n)};i.$inject=[\"OptOutVisitor\",\"$optOut\"],t.service(e,i)}(window.sevenTag,\"OptOutVisitor\",\"$optOutVisitor\"),function(t,n){var e=function(){this.accept=function(t){return\"starts_with\"===t.action||\"does_not_start_with\"===t.action},this.visit=function(e,r){return\"undefined\"==typeof r[e.variable]?!1:\"starts_with\"===e.action?t(e,r):n(e,r)};var t=function(t,n){var e=t.value;return e===n[t.variable].substr(0,e.length)},n=function(t,n){var e=t.value;return e!==n[t.variable].substr(0,e.length)};return this};e.$inject=[],t.service(n,e)}(window.sevenTag,\"$startWithVisitor\"),function(t,n){var e=function(t){this.accept=function(t){return\"contains\"===t.action||\"does_not_contain\"===t.action},this.visit=function(t,r){return\"undefined\"==typeof r[t.variable]||\"string\"!=typeof r[t.variable]||\"string\"!=typeof t.value?!1:\"contains\"===t.action?n(t,r):e(t,r)};var n=function(n,e){return-1!==t.inString(e[n.variable],n.value)},e=function(n,e){return-1===t.inString(e[n.variable],n.value)};return this};e.$inject=[\"$utils\"],t.service(n,e)}(window.sevenTag,\"$containsVisitor\"),function(t,n){var e=function(t){this.accept=function(t){return\"ends_with\"===t.action||\"does_not_end_with\"===t.action},this.visit=function(t,e){return\"undefined\"==typeof e[t.variable]?!1:\"ends_with\"===t.action?n(t,e):!n(t,e)};var n=function(n,e){return t.endsWith(e[n.variable],n.value)};return this};e.$inject=[\"$utils\"],t.service(n,e)}(window.sevenTag,\"$endsWithVisitor\"),function(t,n){var e=function(){this.accept=function(t){return\"equals\"===t.action||\"does_not_equal\"===t.action},this.visit=function(e,r){return\"undefined\"==typeof r[e.variable]?!1:\"equals\"===e.action?t(e,r):n(e,r)};var t=function(t,n){return t.value===n[t.variable]},n=function(t,n){return t.value!==n[t.variable]};return this};e.$inject=[],t.service(n,e)}(window.sevenTag,\"$equalsVisitor\"),function(t,n){var e=function(){this.accept=function(t){return\"regexp\"===t.action||\"does_not_regexp\"===t.action},this.visit=function(e,r){return\"undefined\"==typeof r[e.variable]?!1:\"regexp\"===e.action?t(e,r):n(e,r)};var t=function(t,n){return e(t,n)===!0},n=function(t,n){return e(t,n)===!1},e=function(t,n){var e=!1;try{e=new RegExp(t.value).test(n[t.variable])}catch(r){e=!1}return e};return this};e.$inject=[],t.service(n,e)}(window.sevenTag,\"$regexpVisitor\"),function(t,n){function e(t){var n=[];return this.add=function(t,e){return\"undefined\"==typeof e&&(e=0),n.push({priority:+e,visitor:t}),!0},this.has=function(t){for(var e=0;e<n.length;e++)if(t===n[e].visitor)return!0;return!1},this.remove=function(t){for(var e=0;e<n.length;e++)if(t===n[e].visitor)return n.splice(e,1),!0;return!1},this.removeAll=function(){return n=[],!0},this.getVisitors=function(){var t=[];n.sort(function(t,n){return n.priority-t.priority});for(var e=0;e<n.length;e++)t.push(n[e].visitor);return t},this.visit=function(n,e){return t.visit(this.getVisitors(),n,e)},this}t.provider(n,function(){return e})}(window.sevenTag,\"VisitorManager\"),function(t,n){var e=function(){return Array.prototype.slice.call(arguments)};e.$inject=[\"$containsVisitor\",\"$endsWithVisitor\",\"$equalsVisitor\",\"$regexpVisitor\",\"$startWithVisitor\"];var r=function(t,n,e){for(var r=new t(e),i=0;i<n.length;i++)r.add(n[i]);return r};r.$inject=[\"VisitorManager\",\"$conditionVisitorManagerVisitorsCollection\",\"ConditionVisitorStrategy\"],t.service(n+\"VisitorsCollection\",e),t.service(n,r)}(window.sevenTag,\"$conditionVisitorManager\"),function(t,n){var e=function(t,n){return this.create=function(e){var r=\"_stg_debug\",i=t.get(r);return i&&(e+=\"Debug\"),n.get(e)},this};e.$inject=[\"$cookie\",\"$injector\"],t.service(n,e)}(window.sevenTag,\"$decisionStrategyFactory\"),function(t,n){function e(t){var n=t;return this.decision=function(t,e){for(var r=!0,i=0;i<t.length;i++){var o=t[i];r=r&&n.visit(o,e)}return r},this}t.provider(n,function(){return e})}(window.sevenTag,\"ConjunctionDecisionStrategy\"),function(t,n){function e(t){var n=t;return this.decision=function(t,e){for(var r in t)if(n.visit(t[r],e))return!0;return!1},this}t.provider(n,function(){return e})}(window.sevenTag,\"DisjunctionDecisionStrategy\"),function(t,n){function e(t){var n=t;return this.decision=function(t,e){for(var r=!0,i=0;i<t.length;i++){var o=t[i];o.resolved=n.visit(o,e),o.resolved||(r=!1)}return r},this}t.provider(n,function(){return e})}(window.sevenTag,\"ConjunctionDecisionStrategyDebug\"),function(t,n){function e(t){var n=t;return this.decision=function(t,e){for(var r=!1,i=0;i<t.length;i++){var o=t[i];o.resolved=n.visit(o,e),o.resolved&&(r=!0)}return r},this}t.provider(n,function(){return e})}(window.sevenTag,\"DisjunctionDecisionStrategyDebug\"),function(t,n){var e=function(t,n){var e=t.create(\"ConjunctionDecisionStrategy\");return new e(n)};e.$inject=[\"$decisionStrategyFactory\",\"$conditionVisitorManager\"],t.service(n,e)}(window.sevenTag,\"$conditionDecisionStrategy\"),function(t,n,e){function r(t){var n=t;return this.accept=function(t){return\"undefined\"!=typeof t.conditions},this.visit=function(t,e){return n.decision(t.conditions,e)},this}t.provider(n,function(){return r});var i=function(t,n){return new t(n)};i.$inject=[\"TriggerVisitor\",\"$conditionDecisionStrategy\"],t.service(e,i)}(window.sevenTag,\"TriggerVisitor\",\"$triggerVisitor\"),function(t,n){var e=function(){return Array.prototype.slice.call(arguments)};e.$inject=[\"$doNotTrackVisitor\",\"$optOutVisitor\"];var r=function(t,n,e){for(var r=new t(e),i=0;i<n.length;i++)r.add(n[i]);return r};r.$inject=[\"VisitorManager\",\"$tagVisitorManagerVisitorsCollection\",\"TagVisitorStrategy\"],t.service(n+\"VisitorsCollection\",e),t.service(n,r)}(window.sevenTag,\"$tagVisitorManager\"),function(t,n){var e=function(){return Array.prototype.slice.call(arguments)};e.$inject=[\"$triggerVisitor\"];var r=function(t,n,e){for(var r=new t(e),i=0;i<n.length;i++)r.add(n[i]);return r};r.$inject=[\"VisitorManager\",\"$triggerVisitorManagerVisitorsCollection\",\"ConditionVisitorStrategy\"],t.service(n+\"VisitorsCollection\",e),t.service(n,r)}(window.sevenTag,\"$triggerVisitorManager\"),function(t,n){var e=function(t,n){var e=t.create(\"DisjunctionDecisionStrategy\");return new e(n)};e.$inject=[\"$decisionStrategyFactory\",\"$triggerVisitorManager\"],t.service(n,e)}(window.sevenTag,\"$triggerDecisionStrategy\"),function(t,n){var e=function(t){return this.decision=function(n){return t.visit(n)},this};e.$inject=[\"$tagVisitorManager\"],t.service(n,e)}(window.sevenTag,\"$tagDecisionStrategy\"),function(t,n,e){function r(t,n){this.resolve=function(e,r){for(var i=[],o=0;o<e.length;o++){var a=e[o];n.decision(a)&&(a.resolved=t.decision(a.triggers,r),i.push(a))}return i}}t.provider(n,function(){return r});var i=function(t,n,e){return new e(t,n)};i.$inject=[\"$triggerDecisionStrategy\",\"$tagDecisionStrategy\",\"Resolver\"],t.service(e,i)}(window.sevenTag,\"Resolver\",\"$resolver\"),function(t,n){var e=function(){var t={};return this.push=function(n,e){t[n]=e},this.get=function(n,e){return void 0!==t[n]?t[n][e]:void 0},this};e.$inject=[],t.service(n,e)}(window.sevenTag,\"$variablesHistory\"),function(t,n){var e=function(){return this.collectors={},this.add=function(t,n){return void 0===this.collectors[t]&&(this.collectors[t]=n),this},this.get=function(t){return this.collectors[t]},this};t.service(n,e)}(window.sevenTag,\"$collectorProvider\"),function(t,n){var e=function(t,n){return this.handle=function(e){for(var r,i={},o=t(),a=0;a<o.length;a++)r=o[a],i[r.name]=n.get(r.type.collector_name)(r,e);return i},this};e.$inject=[\"$variables\",\"$collectorProvider\"],t.service(n,e)}(window.sevenTag,\"$variablesManager\"),function(t,n){var e=function(t,n){var e=\"{{\",r=\"}}\",i=function(t){return String(t).replace(/[\\-\\[\\]{}()*+?.,\\\\\\^$|#\\s]/g,\"\\\\$&\")};return this.parse=function(o,a,c){n.push(c,a);var s,u,v=window.document.createElement(\"div\");u=v.addEventListener?i(e)+\"((?:.|[\\r\\n])+?)(?:\"+i(r)+\"|$)\":\"{{|}}\",s=o.split(new RegExp(u));for(var f,l,d,g=[],h=0;h<s.length;h++)f=l=t.trim(s[h]),h%2===1&&(f=a[l],d=t.type(f),null===f&&(d=\"\",f=\"null\"),void 0===f&&(d=\"\",f=\"undefined\"),\"string\"===d&&(f=\"'\"+f+\"'\"),-1!==t.inArray(d,[\"object\",\"array\",\"function\"])&&(f=\"(function(){return window.sevenTag.$injector.get('$variablesHistory').get('\"+c+\"', '\"+l+\"') })()\")),g.push(f);return g.join(\"\")},this};e.$inject=[\"$utils\",\"$variablesHistory\"],t.service(n,e)}(window.sevenTag,\"$parser\"),function(t,n,e){var r=function(t,n){return this.render=function(e,r,i){t.document.write(n.parse(e.code,r,i)),t.document.close()},this};t.provider(n,function(){return r});var i=function(t,n,e){return new t(n,e)};i.$inject=[\"RendererSync\",\"$window\",\"$parser\"],t.service(e,i),t[e]=t.$injector.get(e)}(window.sevenTag,\"RendererSync\",\"$rendererSync\");var SYNC_EVENT=\"_stg_sync_event\";!function(t,n){var e=function(t,n,e,r,i,o){return this.handle=function(a,c){for(;c.length>0;){var s=c.shift(),u={dataLayer:s},v=t.guid(),f=n.handle(u,v),l=e.resolve(a,f),d={dataLayerElement:t.clone(s),variableCollection:t.clone(f),tags:l};o.setItem(SYNC_EVENT,JSON.stringify(d));for(var g=!1,h=0;h<l.length;h++){var w=l[h];if(w.resolved){if(r.isEnabled()&&w.disableInDebugMode)continue;g=!0,i.render(w,f,v)}}s.eventCallback&&s.eventCallback(s,g,r.breakpoints.isEnabled())}},this};e.$inject=[\"$utils\",\"$variablesManager\",\"$resolver\",\"$debugger\",\"$rendererSync\",\"$localStorage\"],t.service(n,e)}(window.sevenTag,\"$tagsHandlerSync\"),function(t,n){function e(t,n){return function(e,r){var i,o=e.method||\"GET\";if(void 0===e.url)throw new Error(\"Url not pass to $http config\");return\"JSONP\"===e.method?n.fetch(e.url,r):(i=t.XMLHttpRequest?new t.XMLHttpRequest:new t.ActiveXObject(\"Microsoft.XMLHTTP\"),i.open(o,e.url,e.async),i.onreadystatechange=function(){if(4===i.readyState&&200===i.status){var t=JSON.parse(i.response);r(t)}},void i.send())}}e.$inject=[\"$window\",\"$jsonp\"],t.service(n,e)}(window.sevenTag,\"$http\"),function(t,n){var e=function(n,e,r,i,o,a,c,s,u,v,f){var l=function(){return this.bootstrap=function(){var l,d=n.sevenTagSync.tagTree||{};f.hasParam()?(l=!0,a.add(v,l)):l=a.get(v),n.dataLayer=n.dataLayer||[],t.tagTreeSync=d;var g=function(t){r.handle(e.clone(t),n.dataLayer)};n.dataLayer.push({event:\"stg.pageView.sync\",start:(new Date).getTime()}),l?o({async:!1,method:\"GET\",url:s+\"/containers/tagtree/\"+u+\".sync.json\"},function(n){var e=n.debug||{enabled:!1,containerName:\"\"};l?(e.enabled===!0?t.tagTreeSync=n.tagtree||{}:a.remove(v),i.start(t.tagTreeSync),g(t.tagTreeSync)):e.enabled===!0&&(a.add(v,1),c.reload())}):g(d)},this};return l};e.$inject=[\"$window\",\"$utils\",\"$tagsHandlerSync\",\"$debugger\",\"$http\",\"$cookie\",\"$location\",\"DOMAIN\",\"ID\",\"DEBUG_PARAM_NAME\",\"$debugParamDetector\"],t.provider(n,e)}(window.sevenTag,\"SevenTagSync\"),function(t){var n=\"utm_campaign\",e=function(t,e,r,i,o,a){function c(t){if(\"\"===t)return!1;var n=/\\/\\/(.+)/.exec(t)[1];return/(.+)\\//.exec(n)[1]}function s(){var t=o.search.substr(1);return null!=t&&\"\"!==t?u(t):{}}function u(t){for(var n={},e=t.split(\"&\"),r=0;r<e.length;r++){var i=e[r].split(\"=\");n[i[0]]=i[1]}return n}t.add(\"dataLayer\",function(t,n){return\"undefined\"!=typeof n.dataLayer[t.value]?n.dataLayer[t.value]:void 0}).add(\"constant\",function(t){return t.value}).add(\"cookie\",function(t){return e.get(t.value)}).add(\"url\",function(t){var r=[\"href\",\"hostname\",\"pathname\"];if(-1!==a.inArray(t.value,r))return o[t.value];if(\"referrer\"===t.value)return i.referrer;if(t.value===n){var u=s(),v=\"stg_\"+t.value;return\"\"===i.referrer?void e.remove(v):(c(i.referrer)!==o.hostname&&u[t.value]&&e.add(v,u[t.value]),e.get(v))}return t.value}).add(\"document\",function(t){return i[t.value]}).add(\"random\",function(){return Math.random()})};e.$inject=[\"$collectorProvider\",\"$cookie\",\"$window\",\"$document\",\"$location\",\"$utils\",\"DOMAIN\"],t.config(e)}(window.sevenTag);","path":"app/Resources/container-lib-sync/library.js.dist","position":1,"original_position":1,"commit_id":"c021295464a382f65757f491b1fb0c0628d96b4b","original_commit_id":"c021295464a382f65757f491b1fb0c0628d96b4b","user":{"login":"zientalak","id":1021504,"avatar_url":"https://avatars.githubusercontent.com/u/1021504?v=3","gravatar_id":"","url":"https://api.github.com/users/zientalak","html_url":"https://github.com/zientalak","followers_url":"https://api.github.com/users/zientalak/followers","following_url":"https://api.github.com/users/zientalak/following{/other_user}","gists_url":"https://api.github.com/users/zientalak/gists{/gist_id}","starred_url":"https://api.github.com/users/zientalak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zientalak/subscriptions","organizations_url":"https://api.github.com/users/zientalak/orgs","repos_url":"https://api.github.com/users/zientalak/repos","events_url":"https://api.github.com/users/zientalak/events{/privacy}","received_events_url":"https://api.github.com/users/zientalak/received_events","type":"User","site_admin":false},"body":"This should be in gitignire.","created_at":"2016-04-04T13:00:41Z","updated_at":"2016-04-04T13:00:41Z","html_url":"https://github.com/seventag/seventag/pull/506#discussion_r58371375","pull_request_url":"https://api.github.com/repos/seventag/seventag/pulls/506","_links":{"self":{"href":"https://api.github.com/repos/seventag/seventag/pulls/comments/58371375"},"html":{"href":"https://github.com/seventag/seventag/pull/506#discussion_r58371375"},"pull_request":{"href":"https://api.github.com/repos/seventag/seventag/pulls/506"}}},"pull_request":{"url":"https://api.github.com/repos/seventag/seventag/pulls/506","id":64930866,"html_url":"https://github.com/seventag/seventag/pull/506","diff_url":"https://github.com/seventag/seventag/pull/506.diff","patch_url":"https://github.com/seventag/seventag/pull/506.patch","issue_url":"https://api.github.com/repos/seventag/seventag/issues/506","number":506,"state":"open","locked":false,"title":"TM-1239 Debug for sync tags","user":{"login":"marnits","id":2494128,"avatar_url":"https://avatars.githubusercontent.com/u/2494128?v=3","gravatar_id":"","url":"https://api.github.com/users/marnits","html_url":"https://github.com/marnits","followers_url":"https://api.github.com/users/marnits/followers","following_url":"https://api.github.com/users/marnits/following{/other_user}","gists_url":"https://api.github.com/users/marnits/gists{/gist_id}","starred_url":"https://api.github.com/users/marnits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marnits/subscriptions","organizations_url":"https://api.github.com/users/marnits/orgs","repos_url":"https://api.github.com/users/marnits/repos","events_url":"https://api.github.com/users/marnits/events{/privacy}","received_events_url":"https://api.github.com/users/marnits/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-01T11:27:01Z","updated_at":"2016-04-04T13:00:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"15b2da9fd16d4aab1ee24ef27a5cd0802fe85290","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/seventag/seventag/pulls/506/commits","review_comments_url":"https://api.github.com/repos/seventag/seventag/pulls/506/comments","review_comment_url":"https://api.github.com/repos/seventag/seventag/pulls/comments{/number}","comments_url":"https://api.github.com/repos/seventag/seventag/issues/506/comments","statuses_url":"https://api.github.com/repos/seventag/seventag/statuses/c021295464a382f65757f491b1fb0c0628d96b4b","head":{"label":"seventag:feature/TM-1239-debug-for-sync-tags","ref":"feature/TM-1239-debug-for-sync-tags","sha":"c021295464a382f65757f491b1fb0c0628d96b4b","user":{"login":"seventag","id":11617285,"avatar_url":"https://avatars.githubusercontent.com/u/11617285?v=3","gravatar_id":"","url":"https://api.github.com/users/seventag","html_url":"https://github.com/seventag","followers_url":"https://api.github.com/users/seventag/followers","following_url":"https://api.github.com/users/seventag/following{/other_user}","gists_url":"https://api.github.com/users/seventag/gists{/gist_id}","starred_url":"https://api.github.com/users/seventag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seventag/subscriptions","organizations_url":"https://api.github.com/users/seventag/orgs","repos_url":"https://api.github.com/users/seventag/repos","events_url":"https://api.github.com/users/seventag/events{/privacy}","received_events_url":"https://api.github.com/users/seventag/received_events","type":"Organization","site_admin":false},"repo":{"id":32939880,"name":"seventag","full_name":"seventag/seventag","owner":{"login":"seventag","id":11617285,"avatar_url":"https://avatars.githubusercontent.com/u/11617285?v=3","gravatar_id":"","url":"https://api.github.com/users/seventag","html_url":"https://github.com/seventag","followers_url":"https://api.github.com/users/seventag/followers","following_url":"https://api.github.com/users/seventag/following{/other_user}","gists_url":"https://api.github.com/users/seventag/gists{/gist_id}","starred_url":"https://api.github.com/users/seventag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seventag/subscriptions","organizations_url":"https://api.github.com/users/seventag/orgs","repos_url":"https://api.github.com/users/seventag/repos","events_url":"https://api.github.com/users/seventag/events{/privacy}","received_events_url":"https://api.github.com/users/seventag/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/seventag/seventag","description":"","fork":false,"url":"https://api.github.com/repos/seventag/seventag","forks_url":"https://api.github.com/repos/seventag/seventag/forks","keys_url":"https://api.github.com/repos/seventag/seventag/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seventag/seventag/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seventag/seventag/teams","hooks_url":"https://api.github.com/repos/seventag/seventag/hooks","issue_events_url":"https://api.github.com/repos/seventag/seventag/issues/events{/number}","events_url":"https://api.github.com/repos/seventag/seventag/events","assignees_url":"https://api.github.com/repos/seventag/seventag/assignees{/user}","branches_url":"https://api.github.com/repos/seventag/seventag/branches{/branch}","tags_url":"https://api.github.com/repos/seventag/seventag/tags","blobs_url":"https://api.github.com/repos/seventag/seventag/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seventag/seventag/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seventag/seventag/git/refs{/sha}","trees_url":"https://api.github.com/repos/seventag/seventag/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seventag/seventag/statuses/{sha}","languages_url":"https://api.github.com/repos/seventag/seventag/languages","stargazers_url":"https://api.github.com/repos/seventag/seventag/stargazers","contributors_url":"https://api.github.com/repos/seventag/seventag/contributors","subscribers_url":"https://api.github.com/repos/seventag/seventag/subscribers","subscription_url":"https://api.github.com/repos/seventag/seventag/subscription","commits_url":"https://api.github.com/repos/seventag/seventag/commits{/sha}","git_commits_url":"https://api.github.com/repos/seventag/seventag/git/commits{/sha}","comments_url":"https://api.github.com/repos/seventag/seventag/comments{/number}","issue_comment_url":"https://api.github.com/repos/seventag/seventag/issues/comments{/number}","contents_url":"https://api.github.com/repos/seventag/seventag/contents/{+path}","compare_url":"https://api.github.com/repos/seventag/seventag/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seventag/seventag/merges","archive_url":"https://api.github.com/repos/seventag/seventag/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seventag/seventag/downloads","issues_url":"https://api.github.com/repos/seventag/seventag/issues{/number}","pulls_url":"https://api.github.com/repos/seventag/seventag/pulls{/number}","milestones_url":"https://api.github.com/repos/seventag/seventag/milestones{/number}","notifications_url":"https://api.github.com/repos/seventag/seventag/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seventag/seventag/labels{/name}","releases_url":"https://api.github.com/repos/seventag/seventag/releases{/id}","deployments_url":"https://api.github.com/repos/seventag/seventag/deployments","created_at":"2015-03-26T16:46:33Z","updated_at":"2016-03-24T20:25:20Z","pushed_at":"2016-04-04T11:50:07Z","git_url":"git://github.com/seventag/seventag.git","ssh_url":"git@github.com:seventag/seventag.git","clone_url":"https://github.com/seventag/seventag.git","svn_url":"https://github.com/seventag/seventag","homepage":null,"size":5798,"stargazers_count":20,"watchers_count":20,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":3,"forks":8,"open_issues":3,"watchers":20,"default_branch":"develop"}},"base":{"label":"seventag:develop","ref":"develop","sha":"75a626a1c1498b680243334ceb665072e8df7eab","user":{"login":"seventag","id":11617285,"avatar_url":"https://avatars.githubusercontent.com/u/11617285?v=3","gravatar_id":"","url":"https://api.github.com/users/seventag","html_url":"https://github.com/seventag","followers_url":"https://api.github.com/users/seventag/followers","following_url":"https://api.github.com/users/seventag/following{/other_user}","gists_url":"https://api.github.com/users/seventag/gists{/gist_id}","starred_url":"https://api.github.com/users/seventag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seventag/subscriptions","organizations_url":"https://api.github.com/users/seventag/orgs","repos_url":"https://api.github.com/users/seventag/repos","events_url":"https://api.github.com/users/seventag/events{/privacy}","received_events_url":"https://api.github.com/users/seventag/received_events","type":"Organization","site_admin":false},"repo":{"id":32939880,"name":"seventag","full_name":"seventag/seventag","owner":{"login":"seventag","id":11617285,"avatar_url":"https://avatars.githubusercontent.com/u/11617285?v=3","gravatar_id":"","url":"https://api.github.com/users/seventag","html_url":"https://github.com/seventag","followers_url":"https://api.github.com/users/seventag/followers","following_url":"https://api.github.com/users/seventag/following{/other_user}","gists_url":"https://api.github.com/users/seventag/gists{/gist_id}","starred_url":"https://api.github.com/users/seventag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seventag/subscriptions","organizations_url":"https://api.github.com/users/seventag/orgs","repos_url":"https://api.github.com/users/seventag/repos","events_url":"https://api.github.com/users/seventag/events{/privacy}","received_events_url":"https://api.github.com/users/seventag/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/seventag/seventag","description":"","fork":false,"url":"https://api.github.com/repos/seventag/seventag","forks_url":"https://api.github.com/repos/seventag/seventag/forks","keys_url":"https://api.github.com/repos/seventag/seventag/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seventag/seventag/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seventag/seventag/teams","hooks_url":"https://api.github.com/repos/seventag/seventag/hooks","issue_events_url":"https://api.github.com/repos/seventag/seventag/issues/events{/number}","events_url":"https://api.github.com/repos/seventag/seventag/events","assignees_url":"https://api.github.com/repos/seventag/seventag/assignees{/user}","branches_url":"https://api.github.com/repos/seventag/seventag/branches{/branch}","tags_url":"https://api.github.com/repos/seventag/seventag/tags","blobs_url":"https://api.github.com/repos/seventag/seventag/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seventag/seventag/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seventag/seventag/git/refs{/sha}","trees_url":"https://api.github.com/repos/seventag/seventag/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seventag/seventag/statuses/{sha}","languages_url":"https://api.github.com/repos/seventag/seventag/languages","stargazers_url":"https://api.github.com/repos/seventag/seventag/stargazers","contributors_url":"https://api.github.com/repos/seventag/seventag/contributors","subscribers_url":"https://api.github.com/repos/seventag/seventag/subscribers","subscription_url":"https://api.github.com/repos/seventag/seventag/subscription","commits_url":"https://api.github.com/repos/seventag/seventag/commits{/sha}","git_commits_url":"https://api.github.com/repos/seventag/seventag/git/commits{/sha}","comments_url":"https://api.github.com/repos/seventag/seventag/comments{/number}","issue_comment_url":"https://api.github.com/repos/seventag/seventag/issues/comments{/number}","contents_url":"https://api.github.com/repos/seventag/seventag/contents/{+path}","compare_url":"https://api.github.com/repos/seventag/seventag/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seventag/seventag/merges","archive_url":"https://api.github.com/repos/seventag/seventag/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seventag/seventag/downloads","issues_url":"https://api.github.com/repos/seventag/seventag/issues{/number}","pulls_url":"https://api.github.com/repos/seventag/seventag/pulls{/number}","milestones_url":"https://api.github.com/repos/seventag/seventag/milestones{/number}","notifications_url":"https://api.github.com/repos/seventag/seventag/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seventag/seventag/labels{/name}","releases_url":"https://api.github.com/repos/seventag/seventag/releases{/id}","deployments_url":"https://api.github.com/repos/seventag/seventag/deployments","created_at":"2015-03-26T16:46:33Z","updated_at":"2016-03-24T20:25:20Z","pushed_at":"2016-04-04T11:50:07Z","git_url":"git://github.com/seventag/seventag.git","ssh_url":"git@github.com:seventag/seventag.git","clone_url":"https://github.com/seventag/seventag.git","svn_url":"https://github.com/seventag/seventag","homepage":null,"size":5798,"stargazers_count":20,"watchers_count":20,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":3,"forks":8,"open_issues":3,"watchers":20,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/seventag/seventag/pulls/506"},"html":{"href":"https://github.com/seventag/seventag/pull/506"},"issue":{"href":"https://api.github.com/repos/seventag/seventag/issues/506"},"comments":{"href":"https://api.github.com/repos/seventag/seventag/issues/506/comments"},"review_comments":{"href":"https://api.github.com/repos/seventag/seventag/pulls/506/comments"},"review_comment":{"href":"https://api.github.com/repos/seventag/seventag/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/seventag/seventag/pulls/506/commits"},"statuses":{"href":"https://api.github.com/repos/seventag/seventag/statuses/c021295464a382f65757f491b1fb0c0628d96b4b"}}}}