require=functione(t,n,i){functionr(o,a){if(!n[o]){if(!t[o]){varl="function"==typeofrequire&&require;if(!a&&l)returnl(o,!0);if(s)returns(o,!0);varc=newError("Cannot find module '"+o+"'");throwc.code="MODULE_NOT_FOUND",c}varu=n[o]={exports:{}};t[o][0].call(u.exports,function(e){varn=t[o][1][e];returnr(n?n:e)},u,u.exports,e,t,n,i)}returnn[o].exports}for(vars="function"==typeofrequire&&require,o=0;o<i.length;o++)r(i[o]);returnr}({1:[function(e,t,n){"use strict";e("../../../../thirdparty/jquery/jquery.js"),e("../../../../thirdparty/jquery-ondemand/jquery.ondemand.js"),e("../../src/sspath.js"),e("../../../../thirdparty/jquery-ui/jquery-ui.js"),e("../../../../thirdparty/jquery-entwine/dist/jquery.entwine-dist.js"),e("../../../../thirdparty/jquery-cookie/jquery.cookie.js"),e("../../../../thirdparty/jquery-query/jquery.query.js"),e("../../../../thirdparty/jquery-form/jquery.form.js"),e("../../../thirdparty/jquery-notice/jquery.notice.js"),e("../../../thirdparty/jsizes/lib/jquery.sizes.js"),e("../../../thirdparty/jlayout/lib/jlayout.border.js"),e("../../../thirdparty/jlayout/lib/jquery.jlayout.js"),e("../../../../thirdparty/jstree/jquery.jstree.js"),e("../../../thirdparty/chosen/chosen/chosen.jquery.js"),e("../../../thirdparty/jquery-hoverIntent/jquery.hoverIntent.js"),e("../../../../thirdparty/jquery-changetracker/lib/jquery.changetracker.js"),e("../../../../javascript/src/TreeDropdownField.js"),e("../../../../javascript/src/DateField.js"),e("../../../../javascript/src/HtmlEditorField.js"),e("../../../../javascript/src/TabSet.js"),e("../../src/ssui.core.js"),e("../../../../javascript/src/GridField.js"),e("json-js")},{"../../../../javascript/src/DateField.js":15,"../../../../javascript/src/GridField.js":16,"../../../../javascript/src/HtmlEditorField.js":17,"../../../../javascript/src/TabSet.js":18,"../../../../javascript/src/TreeDropdownField.js":19,"../../../../thirdparty/jquery-changetracker/lib/jquery.changetracker.js":207,"../../../../thirdparty/jquery-cookie/jquery.cookie.js":208,"../../../../thirdparty/jquery-entwine/dist/jquery.entwine-dist.js":209,"../../../../thirdparty/jquery-form/jquery.form.js":210,"../../../../thirdparty/jquery-ondemand/jquery.ondemand.js":211,"../../../../thirdparty/jquery-query/jquery.query.js":212,"../../../../thirdparty/jquery-ui/jquery-ui.js":213,"../../../../thirdparty/jquery/jquery.js":214,"../../../../thirdparty/jstree/jquery.jstree.js":215,"../../../thirdparty/chosen/chosen/chosen.jquery.js":9,"../../../thirdparty/jlayout/lib/jlayout.border.js":10,"../../../thirdparty/jlayout/lib/jquery.jlayout.js":11,"../../../thirdparty/jquery-hoverIntent/jquery.hoverIntent.js":12,"../../../thirdparty/jquery-notice/jquery.notice.js":13,"../../../thirdparty/jsizes/lib/jquery.sizes.js":14,"../../src/sspath.js":3,"../../src/ssui.core.js":4,"json-js":24}],2:[function(e,t,n){"use strict";functioni(e){returne&&e.__esModule?e:{"default":e}}functionr(e,t){for(varn=Object.getOwnPropertyNames(t),i=0;i<n.length;i++){varr=n[i],s=Object.getOwnPropertyDescriptor(t,r);s&&s.configurable&&void0===e[r]&&Object.defineProperty(e,r,s)}returne}functions(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}functiono(e,t){if(!e)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeoft&&"function"!=typeoft?e:t}functiona(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):r(e,t))}Object.defineProperty(n,"__esModule",{value:!0});varl=e("react"),c=i(l),u=e("silverstripe-component"),d=i(u),h=function(e){functiont(n){s(this,t);vari=o(this,e.call(this,n));returni.handleClick=i.handleClick.bind(i),i}returna(t,e),t.prototype.render=function(){returnc["default"].createElement("button",{className:"grid-field-action-component font-icon-"+this.props.icon,onClick:this.handleClick})},t.prototyp
},this}functionc(e){vart=e.toUpperCase();returng.indexOf(t)>-1?t:e}functionu(e,t){t=t||{};varn=t.body;if(u.prototype.isPrototypeOf(e)){if(e.bodyUsed)thrownewTypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=newi(e.headers)),this.method=e.method,this.mode=e.mode,n||(n=e._bodyInit,e.bodyUsed=!0)}elsethis.url=e;if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=newi(t.headers)),this.method=c(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)thrownewTypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}functiond(e){vart=newFormData;returne.trim().split("&").forEach(function(e){if(e){varn=e.split("="),i=n.shift().replace(/\+/g," "),r=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(i),decodeURIComponent(r))}}),t}functionh(e){vart=newi,n=e.getAllResponseHeaders().trim().split("\n");returnn.forEach(function(e){varn=e.trim().split(":"),i=n.shift().trim(),r=n.join(":").trim();t.append(i,r)}),t}functionp(e,t){t||(t={}),this.type="default",this.status=t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText,this.headers=t.headersinstanceofi?t.headers:newi(t.headers),this.url=t.url||"",this._initBody(e)}if(!e.fetch){i.prototype.append=function(e,i){e=t(e),i=n(i);varr=this.map[e];r||(r=[],this.map[e]=r),r.push(i)},i.prototype["delete"]=function(e){deletethis.map[t(e)]},i.prototype.get=function(e){varn=this.map[t(e)];returnn?n[0]:null},i.prototype.getAll=function(e){returnthis.map[t(e)]||[]},i.prototype.has=function(e){returnthis.map.hasOwnProperty(t(e))},i.prototype.set=function(e,i){this.map[t(e)]=[n(i)]},i.prototype.forEach=function(e,t){Object.getOwnPropertyNames(this.map).forEach(function(n){this.map[n].forEach(function(i){e.call(t,i,n,this)},this)},this)};varf={blob:"FileReader"ine&&"Blob"ine&&function(){try{returnnewBlob,!0}catch(e){return!1}}(),formData:"FormData"ine,arrayBuffer:"ArrayBuffer"ine},g=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];u.prototype.clone=function(){returnnewu(this)},l.call(u.prototype),l.call(p.prototype),p.prototype.clone=function(){returnnewp(this._bodyInit,{status:this.status,statusText:this.statusText,headers:newi(this.headers),url:this.url})},p.error=function(){vare=newp(null,{status:0,statusText:""});returne.type="error",e};varm=[301,302,303,307,308];p.redirect=function(e,t){if(-1===m.indexOf(t))thrownewRangeError("Invalid status code");returnnewp(null,{status:t,headers:{location:e}})},e.Headers=i,e.Request=u,e.Response=p,e.fetch=function(e,t){returnnewPromise(function(n,i){functionr(){return"responseURL"ino?o.responseURL:/^X-Request-URL:/m.test(o.getAllResponseHeaders())?o.getResponseHeader("X-Request-URL"):void0}vars;s=u.prototype.isPrototypeOf(e)&&!t?e:newu(e,t);varo=newXMLHttpRequest;o.onload=function(){vare=1223===o.status?204:o.status;if(100>e||e>599)returnvoidi(newTypeError("Network request failed"));vart={status:e,statusText:o.statusText,headers:h(o),url:r()},s="response"ino?o.response:o.responseText;n(newp(s,t))},o.onerror=function(){i(newTypeError("Network request failed"))},o.open(s.method,s.url,!0),"include"===s.credentials&&(o.withCredentials=!0),"responseType"ino&&f.blob&&(o.responseType="blob"),s.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),o.send("undefined"==typeofs._bodyInit?null:s._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!=typeofself?self:this)},{}],24:[function(require,module,exports){"function"!=typeofJSON.decycle&&(JSON.decycle=function(e){"use strict";vart=[],n=[];returnfunctioni(e,r){vars,o;if(!("object"!=typeofe||null===e||einstanceofBoolean||einstanceofDate||einstanceofNumber||einstanceofRegExp||einstanceofString)){for(s=0;s<t.length;s+=1)if(t[s]===e)return{$ref:n[s]};if(t.push(e),n.push(r),"[object Array]"===Object.prototype.toString.apply(e))for(o=[],s=0;s<e.length;s+=1)o[s]=i(e[s],r+"["+s+"]");else{o={};vara=Object.getOwnPropertyNames(e);a
t.exports=i||{}},{"./ExecutionEnvironment":173}],195:[function(e,t,n){"use strict";vari,r=e("./performance");i=r.now?function(){returnr.now()}:function(){returnDate.now()},t.exports=i},{"./performance":194}],196:[function(e,t,n){"use strict";functioni(e,t){if(e===t)return!0;if("object"!=typeofe||null===e||"object"!=typeoft||null===t)return!1;varn=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(vars=r.bind(t),o=0;o<n.length;o++)if(!s(n[o])||e[n[o]]!==t[n[o]])return!1;return!0}varr=Object.prototype.hasOwnProperty;t.exports=i},{}],197:[function(e,t,n){"use strict";functioni(e){vart=e.length;if(Array.isArray(e)||"object"!=typeofe&&"function"!=typeofe?r(!1):void0,"number"!=typeoft?r(!1):void0,0===t||t-1ine?void0:r(!1),e.hasOwnProperty)try{returnArray.prototype.slice.call(e)}catch(n){}for(vari=Array(t),s=0;t>s;s++)i[s]=e[s];returni}varr=e("./invariant");t.exports=i},{"./invariant":187}],198:[function(e,t,n){"use strict";vari=e("./emptyFunction"),r=i;t.exports=r},{"./emptyFunction":179}],199:[function(e,t,n){"use strict";functioni(e){returne&&e.__esModule?e:{"default":e}}functionr(e,t){functionn(){returnc}functioni(e){u.push(e);vart=!0;returnfunction(){if(t){t=!1;varn=u.indexOf(e);u.splice(n,1)}}}functionr(e){if(!o["default"](e))thrownewError("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"==typeofe.type)thrownewError('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(d)thrownewError("Reducers may not dispatch actions.");try{d=!0,c=l(c,e)}finally{d=!1}returnu.slice().forEach(function(e){returne()}),e}functions(e){l=e,r({type:a.INIT})}if("function"!=typeofe)thrownewError("Expected the reducer to be a function.");varl=e,c=t,u=[],d=!1;returnr({type:a.INIT}),{dispatch:r,subscribe:i,getState:n,replaceReducer:s}}n.__esModule=!0,n["default"]=r;vars=e("./utils/isPlainObject"),o=i(s),a={INIT:"@@redux/INIT"};n.ActionTypes=a},{"./utils/isPlainObject":204}],200:[function(e,t,n){"use strict";functioni(e){returne&&e.__esModule?e:{"default":e}}functionr(){for(vare=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];returnfunction(e){returnfunction(n,i){varr=e(n,i),o=r.dispatch,l=[],c={getState:r.getState,dispatch:function(e){returno(e)}};returnl=t.map(function(e){returne(c)}),o=a["default"].apply(void0,l)(r.dispatch),s({},r,{dispatch:o})}}}n.__esModule=!0;vars=Object.assign||function(e){for(vart=1;t<arguments.length;t++){varn=arguments[t];for(variinn)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}returne};n["default"]=r;varo=e("./compose"),a=i(o);t.exports=n["default"]},{"./compose":203}],201:[function(e,t,n){"use strict";functioni(e){returne&&e.__esModule?e:{"default":e}}functionr(e,t){returnfunction(){returnt(e.apply(void0,arguments))}}functions(e,t){if("function"==typeofe)returnr(e,t);if("object"!=typeofe||null===e||void0===e)thrownewError("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeofe)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');returna["default"](e,function(e){returnr(e,t)})}n.__esModule=!0,n["default"]=s;varo=e("./mapValues"),a=i(o);t.exports=n["default"]},{"./mapValues":205}],202:[function(e,t,n){(function(i){"use strict";functionr(e){returne&&e.__esModule?e:{"default":e}}functions(e,t){varn=t&&t.type,i=n&&'"'+n.toString()+'"'||"an action";return'Reducer "'+e+'" returned undefined handling '+i+". To ignore an action, you must explicitly return the previous state."}functiono(e,t,n){vari=Object.keys(t),r=n&&n.type===c.ActionTypes.INIT?"initialState argument passed to createStore":"previous state received by the reducer";if(0===i.length)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!d["default"](e))return"The "+r+' has unexpected type of "'+{}.toString.call(e).match(/\s([a-z|A-Z]+)/)[1]+'". Expected argument to be an object with the following '+('k
r="click keydown focusin focusout beforeactivate beforedeactivate");break;case"onsubmit":r="delegatedSubmit";break;case"onfocus":case"onblur":e.entwine.warn("Event "+r+" not supported - using focusin / focusout instead",e.entwine.WARN_LEVEL_IMPORTANT)}o[n]||(o[n]=this.build_event_proxy(n)),e(document).bind(r.replace(/(\s+|$)/g,".entwine$1"),o[n])}}}),e.entwine.Namespace.addHandler({order:40,bind:function(t,n,i){varr,s;returne.isFunction(i)&&(r=n.match(/^on(.*)/))?(s=r[1],this.bind_event(t,n,i,s),!0):void0}});varr=function(t,n){vari=e.Event("delegatedSubmit");returni.delegatedEvent=t,e(document).trigger(i,n)};e(document).bind("EntwineElementsAdded",function(t){varn=e(t.targets).filter("form");n.length&&n.bind("submit.entwine_delegate_submit",r)})}(jQuery),function(e){e.entwine.Namespace.addMethods({bind_capture:function(t,n,i,r){vars=this.captures||(this.captures={}),o=s[n]||(s[n]={}),a=o[i]||(o[i]=e.entwine.RuleList()),l=a.addRule(t,n);l.handler=i,this.bind_proxy(t,i,r)}});vart=e.entwine.capture_bindings={},n=function(t){returnfunction(n){vari,r,s,o,a,l,c;for(varuine.entwine.namespaces)if(i=e.entwine.namespaces[u],r=i.captures,r&&(s=r[t]))for(varuins)for(varo=s[u],d=i.$([]),h=o.length;h--;){a=o[h],l=a.handler,c=a.selector.selector;varp=i.$(c).not(d);p[l].apply(p,arguments),d=d.add(p)}}},i=function(t,n,i){varr=e.selector(t);returnfunction(e){returnr.matches(e.target)?n.apply(this,arguments):void0}},r=function(e,t,n){returnfunction(e){returne.target===document?t.apply(this,arguments):void0}},s=function(e,t,n){returnfunction(e){returne.target===window?t.apply(this,arguments):void0}},o=function(t,n,i){returnfunction(i){varr=this["get"+t]();if("string"==typeofr){vars=s&&r==s.selector?s:e.selector(r);if(s.matches(i.target))returnn.apply(this,arguments)}elseif(-1!==e.inArray(i.target,r))returnn.apply(this,arguments)}};e.entwine.Namespace.addHandler({order:10,bind:function(a,l,c){varu;if(e.isPlainObject(c)&&(u=l.match(/^from\s*(.*)/))){vard,h=u[1];d=h.match(/[^\w]/)?i:"Window"==h||"window"==h?s:"Document"==h||"document"==h?r:o;for(varpinc){varf=c[p];u=p.match(/^on(.*)/);varg=u[1];if(this.bind_capture(a,g,l+"_"+g,d(h,f)),!t[g]){varm=g.replace(/(\s+|$)/g,".entwine$1");t[g]=n(g),e(d==s?window:document).bind(m,t[g])}}return!0}}})}(jQuery),function(e){e.entwine.Namespace.addMethods({bind_condesc:function(t,n,i){for(varr,s=this.store.ctors||(this.store.ctors=e.entwine.RuleList()),o=0;o<s.length;o++)if(s[o].selector.selector==t.selector){r=s[o];break}if(r||(r=s.addRule(t,"ctors")),r[n]=i,!s[n+"proxy"]){vara=this.one("ctors",n),l=this,c=function(t,i,r){for(vars=t.length;s--;){varo=t[s],c=o.i,u=o.f;o.i=i,o.f=a;try{r.call(l.$(o))}catch(d){e.entwine.warn_exception(n,o,d)}finally{o.i=c,o.f=u}}};s[n+"proxy"]=c}}}),e.entwine.Namespace.addHandler({order:30,bind:function(t,n,i){return!e.isFunction(i)||"onmatch"!=n&&"onunmatch"!=n?void0:(this.matchersDirty=!0,this.bind_condesc(t,n,i),!0)}}),e(document).bind("EntwineSubtreeMaybeChanged",function(t,n){for(variine.entwine.namespaces){varr=e.entwine.namespaces[i],s=r.store.ctors;if(s){for(varo,a,l,c,u,d,h,p,f=null,g=e([]),m=e([]),v=function(t){if(null===f){f=e([]);for(varn,i=s.length;--i>t;)(n=s[i].cache)&&(f=f.add(n))}},_=s.length;_--;){if(c=s[_],u=c.selector.selector,d=c.onmatch,h=c.onunmatch,l=null,p=!1,r.matchersDirty||n.global)p=!0;else{for(variinn.attrs){p=!0;break}vary=c.selector.affectedBy(n);if(y.classes.context)p=!0;elsefor(variiny.classes.direct){v(_);varb=n.classes[i].not(f);null===l&&(l=c.cache?c.cache.not(g).add(m.filter(u)):e([])),l=l.not(b).add(b.filter(u))}}p?(v(_),l=e(u).not(f)):l||(o=m.length&&m.filter(u),o&&o.length?l=c.cache?c.cache.not(g).add(o):o:(a=g.length&&c.cache&&c.cache.filter(g),a&&a.length&&(l=c.cache.not(a)))),null===l?f&&c.cache&&(f=f.add(c.cache)):(c.cache?(o=l.not(c.cache),a=c.cache.not(l)):(o=l,a=null),(o&&o.length||a&&a.length)&&(a&&a.length&&(m=m.add(a),h&&!c.onunmatchRunning&&(c.onunmatchRunning=!0,s.onunmatchproxy(a,_,h),c.onunmatchRunning=!1)),o&&o.length&&(g=g.add(o),m=m.not(o),d&&!c.onmatchRun
if(t=I(r).val(),l)returnt;o.push(t)}returnl&&!o.length&&a.length?I(a[s]).val():o},set:function(e,t){varn=I.makeArray(t);returnI(e).find("option").each(function(){this.selected=I.inArray(I(this).val(),n)>=0}),n.length||(e.selectedIndex=-1),n}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(e,n,i,r){vars,o,a,l=e.nodeType;if(e&&3!==l&&8!==l&&2!==l)returnr&&ninI.attrFn?I(e)[n](i):"undefined"==typeofe.getAttribute?I.prop(e,n,i):(a=1!==l||!I.isXMLDoc(e),a&&(n=n.toLowerCase(),o=I.attrHooks[n]||(Y.test(n)?W:U)),i!==t?null===i?voidI.removeAttr(e,n):o&&"set"ino&&a&&(s=o.set(e,i,n))!==t?s:(e.setAttribute(n,""+i),i):o&&"get"ino&&a&&null!==(s=o.get(e,n))?s:(s=e.getAttribute(n),null===s?t:s))},removeAttr:function(e,t){varn,i,r,s,o,a=0;if(t&&1===e.nodeType)for(i=t.toLowerCase().split($),s=i.length;s>a;a++)r=i[a],r&&(n=I.propFix[r]||r,o=Y.test(r),o||I.attr(e,r,""),e.removeAttribute(X?r:n),o&&nine&&(e[n]=!1))},attrHooks:{type:{set:function(e,t){if(V.test(e.nodeName)&&e.parentNode)I.error("type property can't be changed");elseif(!I.support.radioValue&&"radio"===t&&I.nodeName(e,"input")){varn=e.value;returne.setAttribute("type",t),n&&(e.value=n),t}}},value:{get:function(e,t){returnU&&I.nodeName(e,"button")?U.get(e,t):tine?e.value:null},set:function(e,t,n){returnU&&I.nodeName(e,"button")?U.set(e,t,n):void(e.value=t)}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,n,i){varr,s,o,a=e.nodeType;if(e&&3!==a&&8!==a&&2!==a)returno=1!==a||!I.isXMLDoc(e),o&&(n=I.propFix[n]||n,s=I.propHooks[n]),i!==t?s&&"set"ins&&(r=s.set(e,i,n))!==t?r:e[n]=i:s&&"get"ins&&null!==(r=s.get(e,n))?r:e[n]},propHooks:{tabIndex:{get:function(e){varn=e.getAttributeNode("tabindex");returnn&&n.specified?parseInt(n.value,10):Q.test(e.nodeName)||K.test(e.nodeName)&&e.href?0:t}}}}),I.attrHooks.tabindex=I.propHooks.tabIndex,W={get:function(e,n){vari,r=I.prop(e,n);returnr===!0||"boolean"!=typeofr&&(i=e.getAttributeNode(n))&&i.nodeValue!==!1?n.toLowerCase():t},set:function(e,t,n){vari;returnt===!1?I.removeAttr(e,n):(i=I.propFix[n]||n,iine&&(e[i]=!0),e.setAttribute(n,n.toLowerCase())),n}},X||(z={name:!0,id:!0,coords:!0},U=I.valHooks.button={get:function(e,n){vari;returni=e.getAttributeNode(n),i&&(z[n]?""!==i.nodeValue:i.specified)?i.nodeValue:t},set:function(e,t,n){vari=e.getAttributeNode(n);returni||(i=R.createAttribute(n),e.setAttributeNode(i)),i.nodeValue=t+""}},I.attrHooks.tabindex.set=U.set,I.each(["width","height"],function(e,t){I.attrHooks[t]=I.extend(I.attrHooks[t],{set:function(e,n){return""===n?(e.setAttribute(t,"auto"),n):void0}})}),I.attrHooks.contenteditable={get:U.get,set:function(e,t,n){""===t&&(t="false"),U.set(e,t,n)}}),I.support.hrefNormalized||I.each(["href","src","width","height"],function(e,n){I.attrHooks[n]=I.extend(I.attrHooks[n],{get:function(e){vari=e.getAttribute(n,2);returnnull===i?t:i}})}),I.support.style||(I.attrHooks.style={get:function(e){returne.style.cssText.toLowerCase()||t},set:function(e,t){returne.style.cssText=""+t}}),I.support.optSelected||(I.propHooks.selected=I.extend(I.propHooks.selected,{get:function(e){vart=e.parentNode;returnt&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),I.support.enctype||(I.propFix.enctype="encoding"),I.support.checkOn||I.each(["radio","checkbox"],function(){I.valHooks[this]={get:function(e){returnnull===e.getAttribute("value")?"on":e.value}}}),I.each(["radio","checkbox"],function(){I.valHooks[this]=I.extend(I.valHooks[this],{set:function(e,t){returnI.isArray(t)?e.checked=I.inArray(I(e).val(),t)>=0:void0}})});varG=/^(?:textarea|input|select)$/i,Z=/^([^\.]*)?(?:\.(.+))?$/,J=/(?:^|\s)hover(\.\S+)?\b/,ee=/^key/,te=/^(?:mouse|contextmenu)|click/,ne=/^(?:focusinfocus|focusoutblur)$/,ie=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,re=function(e){vart=ie.exec(e);returnt&&(t[1
separator_after:!0,label:"Create",action:function(e){this.create(e)}},rename:{separator_before:!1,separator_after:!1,label:"Rename",action:function(e){this.rename(e)}},remove:{separator_before:!1,icon:!1,separator_after:!1,label:"Delete",action:function(e){this.is_selected(e)?this.remove():this.remove(e)}},ccp:{separator_before:!0,icon:!1,separator_after:!1,label:"Edit",action:!1,submenu:{cut:{separator_before:!1,separator_after:!1,label:"Cut",action:function(e){this.cut(e)}},copy:{separator_before:!1,icon:!1,separator_after:!1,label:"Copy",action:function(e){this.copy(e)}},paste:{separator_before:!1,icon:!1,separator_after:!1,label:"Paste",action:function(e){this.paste(e)}}}}}},_fn:{show_contextmenu:function(t,n,i){t=this._get_node(t);varr=this.get_settings().contextmenu,s=t.children("a:visible:eq(0)"),o=!1,a=!1;r.select_node&&this.data.ui&&!this.is_selected(t)&&(this.deselect_all(),this.select_node(t,!0)),(r.show_at_node||"undefined"==typeofn||"undefined"==typeofi)&&(o=s.offset(),n=o.left,i=o.top+this.data.core.li_height),a=t.data("jstree")&&t.data("jstree").contextmenu?t.data("jstree").contextmenu:r.items,e.isFunction(a)&&(a=a.call(this,t)),this.data.contextmenu=!0,e.vakata.context.show(a,s,n,i,this,t,this._get_settings().core.rtl),this.data.themes&&e.vakata.context.cnt.attr("class","jstree-"+this.data.themes.theme+"-context")}}})}(jQuery),function(t){t.jstree.plugin("types",{__init:function(){varn=this._get_settings().types;this.data.types.attach_to=[],this.get_container().bind("init.jstree",t.proxy(function(){vare=n.types,i=n.type_attr,r="",s=this;t.each(e,function(e,n){returnt.each(n,function(e,t){/^(max_depth|max_children|icon|valid_children)$/.test(e)||s.data.types.attach_to.push(e)}),n.icon?void((n.icon.image||n.icon.position)&&(r+="default"==e?".jstree-"+s.get_index()+" a > .jstree-icon { ":".jstree-"+s.get_index()+" li["+i+'="'+e+'"] > a > .jstree-icon { ',n.icon.image&&(r+=" background-image:url("+n.icon.image+"); "),r+=n.icon.position?" background-position:"+n.icon.position+"; ":" background-position:0 0; ",r+="} ")):!0}),""!==r&&t.vakata.css.add_sheet({str:r,title:"jstree-types"})},this)).bind("before.jstree",t.proxy(function(e,n){vari,r,s=this._get_settings().types.use_data?this._get_node(n.args[0]):!1,o=s&&-1!==s&&s.length?s.data("jstree"):!1;if(o&&o.types&&o.types[n.func]===!1)returne.stopImmediatePropagation(),!1;if(-1!==t.inArray(n.func,this.data.types.attach_to)){if(!n.args[0]||!n.args[0].tagName&&!n.args[0].jquery)return;if(i=this._get_settings().types.types,r=this._get_type(n.args[0]),(i[r]&&"undefined"!=typeofi[r][n.func]||i["default"]&&"undefined"!=typeofi["default"][n.func])&&this._check(n.func,n.args[0])===!1)returne.stopImmediatePropagation(),!1}},this)),e&&this.get_container().bind("load_node.jstree set_type.jstree",t.proxy(function(e,n){vari=n&&n.rslt&&n.rslt.obj&&-1!==n.rslt.obj?this._get_node(n.rslt.obj).parent():this.get_container_ul(),r=!1,s=this._get_settings().types;t.each(s.types,function(e,t){t.icon&&(t.icon.image||t.icon.position)&&(r="default"===e?i.find("li > a > .jstree-icon"):i.find("li["+s.type_attr+"='"+e+"'] > a > .jstree-icon"),t.icon.image&&r.css("backgroundImage","url("+t.icon.image+")"),r.css("backgroundPosition",t.icon.position||"0 0"))})},this))},defaults:{max_children:-1,max_depth:-1,valid_children:"all",use_data:!1,type_attr:"rel",types:{"default":{max_children:-1,max_depth:-1,valid_children:"all"}}},_fn:{_types_notify:function(e,t){t.type&&this._get_settings().types.use_data&&this.set_type(t.type,e)},_get_type:function(e){returne=this._get_node(e),e&&e.length?e.attr(this._get_settings().types.type_attr)||"default":!1},set_type:function(e,t){t=this._get_node(t);varn=t.length&&e?t.attr(this._get_settings().types.type_attr,e):!1;returnn&&this.__callback({obj:t,type:e}),n},_check:function(e,n,i){n=this._get_node(n);varr=!1,s=this._get_type(n),o=0,a=this,l=this._get_settings().types,c=!1;if(-1===n){if(!l[e])return;r=l[e]}else{if(s===!1)return;c=l.use_data?n.data("jstree"):!1,c&&c.types&&"undefined"!=typeofc.types[e]?r=c.types[e]:l.types[s]&&"undefined"!=t
attributes:c["default"].PropTypes.shape({action:c["default"].PropTypes.string.isRequired,"class":c["default"].PropTypes.string.isRequired,enctype:c["default"].PropTypes.string.isRequired,id:c["default"].PropTypes.string.isRequired,method:c["default"].PropTypes.string.isRequired}),data:c["default"].PropTypes.array,fields:c["default"].PropTypes.array.isRequired,mapFieldsToComponents:c["default"].PropTypes.func.isRequired},n["default"]=f},{"components/form-action/index":"components/form-action/index",react:"react","silverstripe-component":"silverstripe-component"}],"components/grid-field/cell/index":[function(e,t,n){"use strict";functioni(e){returne&&e.__esModule?e:{"default":e}}functionr(e,t){for(varn=Object.getOwnPropertyNames(t),i=0;i<n.length;i++){varr=n[i],s=Object.getOwnPropertyDescriptor(t,r);s&&s.configurable&&void0===e[r]&&Object.defineProperty(e,r,s)}returne}functions(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}functiono(e,t){if(!e)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeoft&&"function"!=typeoft?e:t}functiona(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):r(e,t))}Object.defineProperty(n,"__esModule",{value:!0});varl=e("react"),c=i(l),u=e("silverstripe-component"),d=i(u),h=function(e){functiont(){returns(this,t),o(this,e.apply(this,arguments))}returna(t,e),t.prototype.render=function(){returnc["default"].createElement("div",{className:"grid-field-cell-component"},this.props.children)},t}(d["default"]);h.PropTypes={width:c["default"].PropTypes.number},n["default"]=h},{react:"react","silverstripe-component":"silverstripe-component"}],"components/grid-field/header-cell":[function(e,t,n){"use strict";functioni(e){returne&&e.__esModule?e:{"default":e}}functionr(e,t){for(varn=Object.getOwnPropertyNames(t),i=0;i<n.length;i++){varr=n[i],s=Object.getOwnPropertyDescriptor(t,r);s&&s.configurable&&void0===e[r]&&Object.defineProperty(e,r,s)}returne}functions(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}functiono(e,t){if(!e)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeoft&&"function"!=typeoft?e:t}functiona(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):r(e,t))}Object.defineProperty(n,"__esModule",{value:!0});varl=e("react"),c=i(l),u=e("silverstripe-component"),d=i(u),h=function(e){functiont(){returns(this,t),o(this,e.apply(this,arguments))}returna(t,e),t.prototype.render=function(){returnc["default"].createElement("div",{className:"grid-field-header-cell-component"},this.props.children)},t}(d["default"]);h.PropTypes={width:c["default"].PropTypes.number},n["default"]=h},{react:"react","silverstripe-component":"silverstripe-component"}],"components/grid-field/header":[function(e,t,n){"use strict";functioni(e){returne&&e.__esModule?e:{"default":e}}functionr(e,t){for(varn=Object.getOwnPropertyNames(t),i=0;i<n.length;i++){varr=n[i],s=Object.getOwnPropertyDescriptor(t,r);s&&s.configurable&&void0===e[r]&&Object.defineProperty(e,r,s)}returne}functions(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}functiono(e,t){if(!e)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeoft&&"function"!=typeoft?e:t}functiona(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,writabl