!functione(t,r,n){functiono(a,s){if(!r[a]){if(!t[a]){varc="function"==typeofrequire&&require;if(!s&&c)returnc(a,!0);if(i)returni(a,!0);varu=newError("Cannot find module '"+a+"'");throwu.code="MODULE_NOT_FOUND",u}varl=r[a]={exports:{}};t[a][0].call(l.exports,function(e){varr=t[a][1][e];returno(r?r:e)},l,l.exports,e,t,r,n)}returnr[a].exports}for(vari="function"==typeofrequire&&require,a=0;a<n.length;a++)o(n[a]);returno}({1:[function(e,t,r){"use strict";functionn(e){if(e&&e.__esModule)returne;vart={};if(null!=e)for(varrine)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);returnt["default"]=e,t}functiono(e){returne&&e.__esModule?e:{"default":e}}functioni(){h["default"].add("config",b["default"]),h["default"].add("schemas",E["default"]),h["default"].add("records",w["default"]),h["default"].add("campaign",C["default"]);vare={},t=(0,c.combineReducers)(h["default"].getAll()),r=(0,c.applyMiddleware)(l["default"],(0,p["default"])())(c.createStore);window.store=r(t,e),window.store.dispatch(m.setConfig(window.ss.config))}vara=e("jQuery"),s=o(a),c=e("redux"),u=e("redux-thunk"),l=o(u),f=e("redux-logger"),p=o(f),d=e("reducer-register"),h=o(d),y=e("state/config/actions"),m=n(y),v=e("state/config/reducer"),b=o(v),g=e("state/schema/reducer"),E=o(g),_=e("state/records/reducer"),w=o(_),O=e("state/campaign/reducer"),C=o(O),T=e("sections/campaign-admin/index");o(T);(0,s["default"])("body").entwine({onadd:function(){returni()}})},{jQuery:"jQuery","reducer-register":"reducer-register",redux:"redux","redux-logger":31,"redux-thunk":"redux-thunk","sections/campaign-admin/index":6,"state/campaign/reducer":13,"state/config/actions":15,"state/config/reducer":16,"state/records/reducer":19,"state/schema/reducer":21}],2:[function(e,t,r){"use strict";functionn(e){returne&&e.__esModule?e:{"default":e}}functiono(e,t){for(varr=Object.getOwnPropertyNames(t),n=0;n<r.length;n++){varo=r[n],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void0===e[o]&&Object.defineProperty(e,o,i)}returne}functioni(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}functiona(e,t){if(!e)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeoft&&"function"!=typeoft?e:t}functions(e,t){if("function"!=typeoft&&null!==t)thrownewTypeError("Super expression must either be null or a function, not "+typeoft);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):o(e,t))}Object.defineProperty(r,"__esModule",{value:!0});varc=e("react"),u=n(c),l=e("silverstripe-component"),f=n(l);e("bootstrap-collapse");varp=function(e){functiont(){returni(this,t),a(this,e.apply(this,arguments))}returns(t,e),t.prototype.render=function(){vare=this.props.groupid+"_Header",t=this.props.groupid+"_Items",r="#"+t,n={id:t,"aria-expanded":!0,className:"list-group list-group-flush collapse in",role:"tabpanel","aria-labelledby":e};returnu["default"].createElement("div",{className:"accordion-group"},u["default"].createElement("h6",{className:"accordion-group__title",role:"tab",id:e},u["default"].createElement("a",{"data-toggle":"collapse",href:r,"aria-expanded":"true","aria-controls":t},this.props.title)),u["default"].createElement("div",n,this.props.children))},t}(f["default"]);r["default"]=p},{"bootstrap-collapse":"bootstrap-collapse",react:"react","silverstripe-component":"silverstripe-component"}],3:[function(e,t,r){"use strict";functionn(e){returne&&e.__esModule?e:{"default":e}}functiono(e,t){for(varr=Object.getOwnPropertyNames(t),n=0;n<r.length;n++){varo=r[n],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void0===e[o]&&Object.defineProperty(e,o,i)}returne}functioni(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}functiona(e,t){if(!e)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeoft&&"function"!=typeoft?e:t}functions(e,t){if("function"!
writable:!0}):e[t]=r,e}functioni(){vare=arguments.length<=0||void0===arguments[0]?f:arguments[0],t=arguments.length<=1||void0===arguments[1]?null:arguments[1];switch(t.type){casel["default"].SET_SCHEMA:varr=t.payload.schema.schema_url;return(0,c["default"])(a({},e,o({},r,t.payload)));default:returne}}Object.defineProperty(r,"__esModule",{value:!0});vara=Object.assign||function(e){for(vart=1;t<arguments.length;t++){varr=arguments[t];for(varninr)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}returne};r["default"]=i;vars=e("deep-freeze"),c=n(s),u=e("./action-types"),l=n(u),f=(0,c["default"])({})},{"./action-types":20,"deep-freeze":"deep-freeze"}],22:[function(e,t,r){functionn(){l=!1,s.length?u=s.concat(u):f=-1,u.length&&o()}functiono(){if(!l){vare=setTimeout(n);l=!0;for(vart=u.length;t;){for(s=u,u=[];++f<t;)s&&s[f].run();f=-1,t=u.length}s=null,l=!1,clearTimeout(e)}}functioni(e,t){this.fun=e,this.array=t}functiona(){}vars,c=t.exports={},u=[],l=!1,f=-1;c.nextTick=function(e){vart=newArray(arguments.length-1);if(arguments.length>1)for(varr=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(newi(e,t)),1!==u.length||l||setTimeout(o,0)},i.prototype.run=function(){this.fun.apply(null,this.array)},c.title="browser",c.browser=!0,c.env={},c.argv=[],c.version="",c.versions={},c.on=a,c.addListener=a,c.once=a,c.off=a,c.removeListener=a,c.removeAllListeners=a,c.emit=a,c.binding=function(e){thrownewError("process.binding is not supported")},c.cwd=function(){return"/"},c.chdir=function(e){thrownewError("process.chdir is not supported")},c.umask=function(){return0}},{}],23:[function(e,t,r){(function(r,n){(function(){"use strict";functiono(e){return"function"==typeofe||"object"==typeofe&&null!==e}functioni(e){return"function"==typeofe}functiona(e){V=e}functions(e){X=e}functionc(){returnfunction(){r.nextTick(d)}}functionu(){returnfunction(){Q(d)}}functionl(){vare=0,t=newW(d),r=document.createTextNode("");returnt.observe(r,{characterData:!0}),function(){r.data=e=++e%2}}functionf(){vare=newMessageChannel;returne.port1.onmessage=d,function(){e.port2.postMessage(0)}}functionp(){returnfunction(){setTimeout(d,1)}}functiond(){for(vare=0;J>e;e+=2){vart=te[e],r=te[e+1];t(r),te[e]=void0,te[e+1]=void0}J=0}functionh(){try{vart=e,r=t("vertx");returnQ=r.runOnLoop||r.runOnContext,u()}catch(n){returnp()}}functiony(e,t){varr=this,n=r._state;if(n===ie&&!e||n===ae&&!t)returnthis;varo=newthis.constructor(v),i=r._result;if(n){vara=arguments[n-1];X(function(){I(n,o,a,i)})}elseP(r,o,e,t);returno}functionm(e){vart=this;if(e&&"object"==typeofe&&e.constructor===t)returne;varr=newt(v);returnT(r,e),r}functionv(){}functionb(){returnnewTypeError("You cannot resolve a promise with itself")}functiong(){returnnewTypeError("A promises callback cannot return that same promise.")}functionE(e){try{returne.then}catch(t){returnse.error=t,se}}function_(e,t,r,n){try{e.call(t,r,n)}catch(o){returno}}functionw(e,t,r){X(function(e){varn=!1,o=_(r,t,function(r){n||(n=!0,t!==r?T(e,r):S(e,r))},function(t){n||(n=!0,R(e,t))},"Settle: "+(e._label||" unknown promise"));!n&&o&&(n=!0,R(e,o))},e)}functionO(e,t){t._state===ie?S(e,t._result):t._state===ae?R(e,t._result):P(t,void0,function(t){T(e,t)},function(t){R(e,t)})}functionC(e,t,r){t.constructor===e.constructor&&r===re&&constructor.resolve===ne?O(e,t):r===se?R(e,se.error):void0===r?S(e,t):i(r)?w(e,t,r):S(e,t)}functionT(e,t){e===t?R(e,b()):o(t)?C(e,t,E(t)):S(e,t)}functionj(e){e._onerror&&e._onerror(e._result),A(e)}functionS(e,t){e._state===oe&&(e._result=t,e._state=ie,0!==e._subscribers.length&&X(A,e))}functionR(e,t){e._state===oe&&(e._state=ae,e._result=t,X(j,e))}functionP(e,t,r,n){varo=e._subscribers,i=o.length;e._onerror=null,o[i]=t,o[i+ie]=r,o[i+ae]=n,0===i&&e._state&&X(A,e)}functionA(e){vart=e._subscribers,r=e._state;if(0!==t.length){for(varn,o,i=e._result,a=0;a<t.length;a+=3)n=t[a],o=t[a+r],n?I(r,n,o,i):o(i);e._subscribers.length=0}}functionx(){this.error=null}functionD(e,t){try{returne(t)}catch(r){returnce.error=r,ce}}funct