!functione(t,n,r){functions(o,u){if(!n[o]){if(!t[o]){vara="function"==typeofrequire&&require;if(!u&&a)returna(o,!0);if(i)returni(o,!0);varf=newError("Cannot find module '"+o+"'");throwf.code="MODULE_NOT_FOUND",f}varl=n[o]={exports:{}};t[o][0].call(l.exports,function(e){varn=t[o][1][e];returns(n?n:e)},l,l.exports,e,t,n,r)}returnn[o].exports}for(vari="function"==typeofrequire&&require,o=0;o<r.length;o++)s(r[o]);returns}({1:[function(require,module,exports){"use strict";function_interopRequireDefault(obj){returnobj&&obj.__esModule?obj:{"default":obj}}function_classCallCheck(instance,Constructor){if(!(instanceinstanceofConstructor))thrownewTypeError("Cannot call a class as a function")}Object.defineProperty(exports,"__esModule",{value:!0});var_jQuery=require("jQuery"),_jQuery2=_interopRequireDefault(_jQuery),_react=require("react"),_react2=_interopRequireDefault(_react),_reactDom=require("react-dom"),_reactDom2=_interopRequireDefault(_reactDom),_reactRedux=require("react-redux"),_reactRouter=require("react-router"),_createBrowserHistory=require("history/lib/createBrowserHistory"),_createBrowserHistory2=_interopRequireDefault(_createBrowserHistory),_Config=require("lib/Config"),_Config2=_interopRequireDefault(_Config),_Router=require("lib/Router"),_Router2=_interopRequireDefault(_Router),_ReactRouteRegister=require("lib/ReactRouteRegister"),_ReactRouteRegister2=_interopRequireDefault(_ReactRouteRegister),_App=require("containers/App/App"),_App2=_interopRequireDefault(_App),_reactRouterRedux=require("react-router-redux"),BootRoutes=function(){functionBootRoutes(store){_classCallCheck(this,BootRoutes),this.store=store;varbase=_Config2["default"].get("absoluteBaseUrl");_Router2["default"].setAbsoluteBase(base)}returnBootRoutes.prototype.start=function(location){this.matchesLegacyRoute(location)?this.initLegacyRouter():this.initReactRouter()},BootRoutes.prototype.matchesLegacyRoute=function(location){varsections=_Config2["default"].get("sections"),currentPath=_Router2["default"].resolveURLToBase(location).replace(/\/$/,"");return!!Object.keys(sections).find(function(key){varsection=sections[key],route=_Router2["default"].resolveURLToBase(section.url).replace(/\/$/,"");returnsection.reactRouter?!1:currentPath.match(route)})},BootRoutes.prototype.initReactRouter=function(){_ReactRouteRegister2["default"].updateRootRoute({component:_App2["default"]});varhistory=(0,_reactRouterRedux.syncHistoryWithStore)((0,_reactRouter.useRouterHistory)(_createBrowserHistory2["default"])({basename:_Config2["default"].get("baseUrl")}),this.store);_reactDom2["default"].render(_react2["default"].createElement(_reactRedux.Provider,{store:this.store},_react2["default"].createElement(_reactRouter.Router,{history:history,routes:_ReactRouteRegister2["default"].getRootRoute()})),document.getElementsByClassName("cms-content")[0])},BootRoutes.prototype.initLegacyRouter=function(){varsections=_Config2["default"].get("sections"),store=this.store;(0,_Router2["default"])("*",function(ctx,next){ctx.store=store,next()});varlastPath=null;Object.keys(sections).forEach(function(key){varroute=_Router2["default"].resolveURLToBase(sections[key].url);route=route.replace(/\/$/,""),route+="(/*?)?",(0,_Router2["default"])(route,function(ctx,next){if("complete"!==document.readyState||ctx.init)returnvoidnext();lastPath||(lastPath=window.location.pathname);varforceReload=ctx.data&&ctx.data.__forceReload;(ctx.path!==lastPath||forceReload)&&(lastPath=ctx.path.replace(/#.*$/,""),(0,_jQuery2["default"])(".cms-container").entwine("ss").handleStateChange(null,ctx.state))})}),_Router2["default"].start()},BootRoutes}();exports["default"]=BootRoutes},{"containers/App/App":10,"history/lib/createBrowserHistory":49,jQuery:"jQuery","lib/Config":16,"lib/ReactRouteRegister":"lib/ReactRouteRegister","lib/Router":18,react:"react","react-dom":"react-dom","react-redux":"react-redux","react-router":"react-router","react-router-redux":"react-router-redux"}],2:[function(require,module,exports){"use strict";function_interopRequireWildcard(obj){if(obj&&obj.__esMod
lib$es6$promise$asap$$queue[i]=void0,lib$es6$promise$asap$$queue[i+1]=void0}lib$es6$promise$asap$$len=0}functionlib$es6$promise$asap$$attemptVertx(){try{varr=require,vertx=r("vertx");returnlib$es6$promise$asap$$vertxNext=vertx.runOnLoop||vertx.runOnContext,lib$es6$promise$asap$$useVertxTimer()}catch(e){returnlib$es6$promise$asap$$useSetTimeout()}}functionlib$es6$promise$then$$then(onFulfillment,onRejection){varparent=this,state=parent._state;if(state===lib$es6$promise$$internal$$FULFILLED&&!onFulfillment||state===lib$es6$promise$$internal$$REJECTED&&!onRejection)returnthis;varchild=newthis.constructor(lib$es6$promise$$internal$$noop),result=parent._result;if(state){varcallback=arguments[state-1];lib$es6$promise$asap$$asap(function(){lib$es6$promise$$internal$$invokeCallback(state,child,callback,result)})}elselib$es6$promise$$internal$$subscribe(parent,child,onFulfillment,onRejection);returnchild}functionlib$es6$promise$promise$resolve$$resolve(object){varConstructor=this;if(object&&"object"==typeofobject&&object.constructor===Constructor)returnobject;varpromise=newConstructor(lib$es6$promise$$internal$$noop);returnlib$es6$promise$$internal$$resolve(promise,object),promise}functionlib$es6$promise$$internal$$noop(){}functionlib$es6$promise$$internal$$selfFulfillment(){returnnewTypeError("You cannot resolve a promise with itself")}functionlib$es6$promise$$internal$$cannotReturnOwn(){returnnewTypeError("A promises callback cannot return that same promise.")}functionlib$es6$promise$$internal$$getThen(promise){try{returnpromise.then}catch(error){returnlib$es6$promise$$internal$$GET_THEN_ERROR.error=error,lib$es6$promise$$internal$$GET_THEN_ERROR}}functionlib$es6$promise$$internal$$tryThen(then,value,fulfillmentHandler,rejectionHandler){try{then.call(value,fulfillmentHandler,rejectionHandler)}catch(e){returne}}functionlib$es6$promise$$internal$$handleForeignThenable(promise,thenable,then){lib$es6$promise$asap$$asap(function(promise){varsealed=!1,error=lib$es6$promise$$internal$$tryThen(then,thenable,function(value){sealed||(sealed=!0,thenable!==value?lib$es6$promise$$internal$$resolve(promise,value):lib$es6$promise$$internal$$fulfill(promise,value))},function(reason){sealed||(sealed=!0,lib$es6$promise$$internal$$reject(promise,reason))},"Settle: "+(promise._label||" unknown promise"));!sealed&&error&&(sealed=!0,lib$es6$promise$$internal$$reject(promise,error))},promise)}functionlib$es6$promise$$internal$$handleOwnThenable(promise,thenable){thenable._state===lib$es6$promise$$internal$$FULFILLED?lib$es6$promise$$internal$$fulfill(promise,thenable._result):thenable._state===lib$es6$promise$$internal$$REJECTED?lib$es6$promise$$internal$$reject(promise,thenable._result):lib$es6$promise$$internal$$subscribe(thenable,void0,function(value){lib$es6$promise$$internal$$resolve(promise,value)},function(reason){lib$es6$promise$$internal$$reject(promise,reason)})}functionlib$es6$promise$$internal$$handleMaybeThenable(promise,maybeThenable,then){maybeThenable.constructor===promise.constructor&&then===lib$es6$promise$then$$default&&constructor.resolve===lib$es6$promise$promise$resolve$$default?lib$es6$promise$$internal$$handleOwnThenable(promise,maybeThenable):then===lib$es6$promise$$internal$$GET_THEN_ERROR?lib$es6$promise$$internal$$reject(promise,lib$es6$promise$$internal$$GET_THEN_ERROR.error):void0===then?lib$es6$promise$$internal$$fulfill(promise,maybeThenable):lib$es6$promise$utils$$isFunction(then)?lib$es6$promise$$internal$$handleForeignThenable(promise,maybeThenable,then):lib$es6$promise$$internal$$fulfill(promise,maybeThenable)}functionlib$es6$promise$$internal$$resolve(promise,value){promise===value?lib$es6$promise$$internal$$reject(promise,lib$es6$promise$$internal$$selfFulfillment()):lib$es6$promise$utils$$objectOrFunction(value)?lib$es6$promise$$internal$$handleMaybeThenable(promise,value,lib$es6$promise$$internal$$getThen(value)):lib$es6$promise$$internal$$fulfill(promise,value)}functionlib$es6$promise$$internal$$publishRejection(promise){promise._onerror&&promise._onerror(promise._resu
exports["default"]=createHistory,module.exports=exports["default"]}).call(this,require("_process"))},{"./Actions":43,"./AsyncUtils":44,"./PathUtils":48,"./createLocation":52,"./deprecate":53,"./runTransitionHook":54,_process:34,"deep-equal":39,warning:56}],52:[function(require,module,exports){(function(process){"use strict";function_interopRequireDefault(obj){returnobj&&obj.__esModule?obj:{"default":obj}}functioncreateLocation(){varlocation=arguments.length<=0||void0===arguments[0]?"/":arguments[0],action=arguments.length<=1||void0===arguments[1]?_Actions.POP:arguments[1],key=arguments.length<=2||void0===arguments[2]?null:arguments[2],_fourthArg=arguments.length<=3||void0===arguments[3]?null:arguments[3];"string"==typeoflocation&&(location=_PathUtils.parsePath(location)),"object"==typeofaction&&("production"!==process.env.NODE_ENV?_warning2["default"](!1,"The state (2nd) argument to createLocation is deprecated; use a location descriptor instead"):void0,location=_extends({},location,{state:action}),action=key||_Actions.POP,key=_fourthArg);varpathname=location.pathname||"/",search=location.search||"",hash=location.hash||"",state=location.state||null;return{pathname:pathname,search:search,hash:hash,state:state,action:action,key:key}}exports.__esModule=!0;var_extends=Object.assign||function(target){for(vari=1;i<arguments.length;i++){varsource=arguments[i];for(varkeyinsource)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}returntarget},_warning=require("warning"),_warning2=_interopRequireDefault(_warning),_Actions=require("./Actions"),_PathUtils=require("./PathUtils");exports["default"]=createLocation,module.exports=exports["default"]}).call(this,require("_process"))},{"./Actions":43,"./PathUtils":48,_process:34,warning:56}],53:[function(require,module,exports){(function(process){"use strict";function_interopRequireDefault(obj){returnobj&&obj.__esModule?obj:{"default":obj}}functiondeprecate(fn,message){returnfunction(){return"production"!==process.env.NODE_ENV?_warning2["default"](!1,"[history] "+message):void0,fn.apply(this,arguments)}}exports.__esModule=!0;var_warning=require("warning"),_warning2=_interopRequireDefault(_warning);exports["default"]=deprecate,module.exports=exports["default"]}).call(this,require("_process"))},{_process:34,warning:56}],54:[function(require,module,exports){(function(process){"use strict";function_interopRequireDefault(obj){returnobj&&obj.__esModule?obj:{"default":obj}}functionrunTransitionHook(hook,location,callback){varresult=hook(location,callback);hook.length<2?callback(result):"production"!==process.env.NODE_ENV?_warning2["default"](void0===result,'You should not "return" in a transition hook with a callback argument; call the callback instead'):void0}exports.__esModule=!0;var_warning=require("warning"),_warning2=_interopRequireDefault(_warning);exports["default"]=runTransitionHook,module.exports=exports["default"]}).call(this,require("_process"))},{_process:34,warning:56}],55:[function(require,module,exports){"use strict";varinvariant=function(condition,format,a,b,c,d,e,f){if(!condition){varerror;if(void0===format)error=newError("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{varargs=[a,b,c,d,e,f],argIndex=0;error=newError(format.replace(/%s/g,function(){returnargs[argIndex++]})),error.name="Invariant Violation"}throwerror.framesToPop=1,error}};module.exports=invariant},{}],56:[function(require,module,exports){"use strict";varwarning=function(){};module.exports=warning},{}],57:[function(require,module,exports){require("whatwg-fetch"),module.exports=self.fetch.bind(self)},{"whatwg-fetch":66}],58:[function(require,module,exports){!function(isNode){functionmerge_recursive(base,extend){if("object"!==typeOf(base))returnextend;for(varkeyinextend)"object"===typeOf(base[key])&&"object"===typeOf(extend[key])?base[key]=merge_recursive(base[key],extend[key]):base[key]=extend[key];returnbase}functionmerge(clone,recursive,argv){varresult=ar
"string"==typeofbody)this._bodyText=body;elseif(support.blob&&Blob.prototype.isPrototypeOf(body))this._bodyBlob=body;elseif(support.formData&&FormData.prototype.isPrototypeOf(body))this._bodyFormData=body;elseif(body){if(!support.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(body))thrownewError("unsupported BodyInit type")}elsethis._bodyText="";this.headers.get("content-type")||("string"==typeofbody?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type&&this.headers.set("content-type",this._bodyBlob.type))},support.blob?(this.blob=function(){varrejected=consumed(this);if(rejected)returnrejected;if(this._bodyBlob)returnPromise.resolve(this._bodyBlob);if(this._bodyFormData)thrownewError("could not read FormData body as blob");returnPromise.resolve(newBlob([this._bodyText]))},this.arrayBuffer=function(){returnthis.blob().then(readBlobAsArrayBuffer)},this.text=function(){varrejected=consumed(this);if(rejected)returnrejected;if(this._bodyBlob)returnreadBlobAsText(this._bodyBlob);if(this._bodyFormData)thrownewError("could not read FormData body as text");returnPromise.resolve(this._bodyText)}):this.text=function(){varrejected=consumed(this);returnrejected?rejected:Promise.resolve(this._bodyText)},support.formData&&(this.formData=function(){returnthis.text().then(decode)}),this.json=function(){returnthis.text().then(JSON.parse)},this}functionnormalizeMethod(method){varupcased=method.toUpperCase();returnmethods.indexOf(upcased)>-1?upcased:method}functionRequest(input,options){options=options||{};varbody=options.body;if(Request.prototype.isPrototypeOf(input)){if(input.bodyUsed)thrownewTypeError("Already read");this.url=input.url,this.credentials=input.credentials,options.headers||(this.headers=newHeaders(input.headers)),this.method=input.method,this.mode=input.mode,body||(body=input._bodyInit,input.bodyUsed=!0)}elsethis.url=input;if(this.credentials=options.credentials||this.credentials||"omit",!options.headers&&this.headers||(this.headers=newHeaders(options.headers)),this.method=normalizeMethod(options.method||this.method||"GET"),this.mode=options.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&body)thrownewTypeError("Body not allowed for GET or HEAD requests");this._initBody(body)}functiondecode(body){varform=newFormData;returnbody.trim().split("&").forEach(function(bytes){if(bytes){varsplit=bytes.split("="),name=split.shift().replace(/\+/g," "),value=split.join("=").replace(/\+/g," ");form.append(decodeURIComponent(name),decodeURIComponent(value))}}),form}functionheaders(xhr){varhead=newHeaders,pairs=xhr.getAllResponseHeaders().trim().split("\n");returnpairs.forEach(function(header){varsplit=header.trim().split(":"),key=split.shift().trim(),value=split.join(":").trim();head.append(key,value)}),head}functionResponse(bodyInit,options){options||(options={}),this.type="default",this.status=options.status,this.ok=this.status>=200&&this.status<300,this.statusText=options.statusText,this.headers=options.headersinstanceofHeaders?options.headers:newHeaders(options.headers),this.url=options.url||"",this._initBody(bodyInit)}if(!self.fetch){Headers.prototype.append=function(name,value){name=normalizeName(name),value=normalizeValue(value);varlist=this.map[name];list||(list=[],this.map[name]=list),list.push(value)},Headers.prototype["delete"]=function(name){deletethis.map[normalizeName(name)]},Headers.prototype.get=function(name){varvalues=this.map[normalizeName(name)];returnvalues?values[0]:null},Headers.prototype.getAll=function(name){returnthis.map[normalizeName(name)]||[]},Headers.prototype.has=function(name){returnthis.map.hasOwnProperty(normalizeName(name))},Headers.prototype.set=function(name,value){this.map[normalizeName(name)]=[normalizeValue(value)]},Headers.prototype.forEach=function(callback,thisArg){Object.getOwnPropertyNames(this.map).forEach(function(name){this.map[name].forEach(function(value){callback.call(thisArg,value,name,this)},this)},this)};varsupport={blob:"FileReader"inself&