!function(e,t,n){"use strict";t.module("ngCookies",["ng"]).factory("$cookies",["$rootScope","$browser",function(e,r){function i(){var e,i,o,u;for(e in s)l(a[e])&&r.cookies(e,n);for(e in a)i=a[e],t.isString(i)?i!==s[e]&&(r.cookies(e,i),u=!0):t.isDefined(s[e])?a[e]=s[e]:delete a[e];if(u){u=!1,o=r.cookies();for(e in a)a[e]!==o[e]&&(l(o[e])?delete a[e]:a[e]=o[e],u=!0)}}var o,a={},s={},u=!1,c=t.copy,l=t.isUndefined;return r.addPollFn(function(){var t=r.cookies();o!=t&&(o=t,c(t,s),c(t,a),u&&e.$apply())})(),u=!0,e.$watch(i),a}]).factory("$cookieStore",["$cookies",function(e){return{get:function(n){var r=e[n];return r?t.fromJson(r):r},put:function(n,r){e[n]=t.toJson(r)},remove:function(t){delete e[t]}}}])}(window,window.angular);