silverstripe-framework/admin/client/dist/js/bundle-lib.js

113 lines
1.4 MiB
JavaScript
Raw Normal View History

!function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";n(121),n(123),n(153),n(155),n(288),n(298),n(313),n(315),n(363),n(369),n(372),n(374),n(628),n(636),n(639),n(642),n(645),n(646),n(942),n(943),n(944),n(94),n(945),n(946),n(947),n(948),n(949),n(950),n(951),n(952),n(953),n(954),n(955),n(118),n(94),n(93),n(956),n(957),n(958),n(959),n(960),n(113),n(961),n(962),n(93),n(963),n(964),n(965),n(966),n(968),n(969),n(971),n(973),n(975),n(979),n(981),n(989),n(990),n(991),n(992),n(993),n(994),n(995),n(996),n(998),n(1e3),n(1002),n(1003),n(1005),n(1007),n(1008)},function(t,e){t.exports=jQuery},,function(t,e){t.exports=React},function(t,e){t.exports=ReactDom},function(t,e){t.exports=ReactRedux},function(t,e){t.exports=ReactRouter},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}function r(){function t(t){try{t=t||window.history.state||{}}catch(e){t={}}var n=d.getWindowPath(),i=t,r=i.key,a=void 0;r?a=f.readState(r):(a=null,r=b.createKey(),v&&window.history.replaceState(o({},t,{key:r}),null));var s=u.parsePath(n);return b.createLocation(o({},s,{state:a}),void 0,r)}function e(e){function n(e){void 0!==e.state&&i(t(e.state))}var i=e.transitionTo;return d.addEventListener(window,"popstate",n),function(){d.removeEventListener(window,"popstate",n)}}function n(t){var e=t.basename,n=t.pathname,i=t.search,r=t.hash,o=t.state,a=t.action,s=t.key;if(a!==l.POP){f.saveState(s,o);var u=(e||"")+n+i+r,c={key:s};if(a===l.PUSH){if(y)return window.location.href=u,!1;window.history.pushState(c,null,u)}else{if(y)return window.location.replace(u),!1;window.history.replaceState(c,null,u)}}}function i(t){1===++_&&(x=e(b));var n=b.listenBefore(t);return function(){n(),0===--_&&x()}}function r(t){1===++_&&(x=e(b));var n=b.listen(t);return function(){n(),0===--_&&x()}}function a(t){1===++_&&(x=e(b)),b.registerTransitionHook(t)}function h(t){b.unregisterTransitionHook(t),0===--_&&x()}var m=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];c.canUseDOM?void 0:s["default"](!1);var g=m.forceRefresh,v=d.supportsHistory(),y=!v||g,b=p["default"](o({},m,{getCurrentLocation:t,finishTransition:n,saveState:f.saveState})),_=0,x=void 0;return o({},b,{listenBefore:i,listen:r,registerTransitionHook:a,unregisterTransitionHook:h})}e.__esModule=!0;var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},a=n(8),s=i(a),l=n(9),u=n(10),c=n(12),d=n(13),f=n(14),h=n(15),p=i(h);e["default"]=r,t.exports=e["default"]},function(t,e,n){"use strict";var i=function(t,e,n,i,r,o,a,s){if(!t){var l;if(void 0===e)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,i,r,o,a,s],c=0;l=new Error(e.replace(/%s/g,function(){return u[c++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}};t.exports=i},function(t,e){"use strict";e.__esModule=!0;var n="PUSH";e.PUSH=n;var i="REPLACE";e.REPLACE=i;var r="POP";e.POP=r,e["default"]={PUSH:n,REPLACE:i,POP:r}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}function r(t){var e=t.match(/^https?:\/\/[^\/]*/);return null==e?t:t.substring(e[0].length)}function o(t){var e=r(t),n="",i="",o=e.indexOf("#");o!==-1&&(i=e.substring(o),e=e.substring(0,o));var a=e.indexOf("?");return a!==-1&&(n=e.substring(a),e=e.substring(0,a)),""===e&&(e="/"),{pathname:e,search:n,hash:i}}e.__esModule=!0,e.extractPath=r,e.parsePath=o;var a=n(11),s=i(a)},function(t,e,n){"use strict";var i=function(){};t.exports=i},function(t,e){"use strict";e.__esModule=!0;var n=!("undefined"==typeof window||!window.document||!window.document.createElement);e.canUseDOM=n},function(t,e){"use strict";function n(t,e,n){t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent("on"+e,n)}function i(t,e,n){t.removeEventListener?t.removeEventListener(e,n,!1)
this.url=e.url||"",this._initBody(t)}if(!t.fetch){i.prototype.append=function(t,i){t=e(t),i=n(i);var r=this.map[t];r||(r=[],this.map[t]=r),r.push(i)},i.prototype["delete"]=function(t){delete this.map[e(t)]},i.prototype.get=function(t){var n=this.map[e(t)];return n?n[0]:null},i.prototype.getAll=function(t){return this.map[e(t)]||[]},i.prototype.has=function(t){return this.map.hasOwnProperty(e(t))},i.prototype.set=function(t,i){this.map[e(t)]=[n(i)]},i.prototype.forEach=function(t,e){Object.getOwnPropertyNames(this.map).forEach(function(n){this.map[n].forEach(function(i){t.call(e,i,n,this)},this)},this)};var p={blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t},m=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];c.prototype.clone=function(){return new c(this)},l.call(c.prototype),l.call(h.prototype),h.prototype.clone=function(){return new h(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new i(this.headers),url:this.url})},h.error=function(){var t=new h(null,{status:0,statusText:""});return t.type="error",t};var g=[301,302,303,307,308];h.redirect=function(t,e){if(g.indexOf(e)===-1)throw new RangeError("Invalid status code");return new h(null,{status:e,headers:{location:t}})},t.Headers=i,t.Request=c,t.Response=h,t.fetch=function(t,e){return new Promise(function(n,i){function r(){return"responseURL"in a?a.responseURL:/^X-Request-URL:/m.test(a.getAllResponseHeaders())?a.getResponseHeader("X-Request-URL"):void 0}var o;o=c.prototype.isPrototypeOf(t)&&!e?t:new c(t,e);var a=new XMLHttpRequest;a.onload=function(){var t=1223===a.status?204:a.status;if(t<100||t>599)return void i(new TypeError("Network request failed"));var e={status:t,statusText:a.statusText,headers:f(a),url:r()},o="response"in a?a.response:a.responseText;n(new h(o,e))},a.onerror=function(){i(new TypeError("Network request failed"))},a.open(o.method,o.url,!0),"include"===o.credentials&&(a.withCredentials=!0),"responseType"in a&&p.blob&&(a.responseType="blob"),o.headers.forEach(function(t,e){a.setRequestHeader(e,t)}),a.send("undefined"==typeof o._bodyInit?null:o._bodyInit)})},t.fetch.polyfill=!0}}("undefined"!=typeof self?self:this)},function(t,e,n){var i;(function(e,r){/*!
2016-09-14 14:07:13 +02:00
* @overview es6-promise - a tiny implementation of Promises/A+.
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
* @version 3.3.1
*/
!function(e,n){t.exports=n()}(this,function(){"use strict";function t(t){return"function"==typeof t||"object"==typeof t&&null!==t}function o(t){return"function"==typeof t}function a(t){Y=t}function s(t){G=t}function l(){return function(){return e.nextTick(h)}}function u(){return function(){X(h)}}function c(){var t=0,e=new tt(h),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}function d(){var t=new MessageChannel;return t.port1.onmessage=h,function(){return t.port2.postMessage(0)}}function f(){var t=setTimeout;return function(){return t(h,1)}}function h(){for(var t=0;t<K;t+=2){var e=it[t],n=it[t+1];e(n),it[t]=void 0,it[t+1]=void 0}K=0}function p(){try{var t=i,e=n(77);return X=e.runOnLoop||e.runOnContext,u()}catch(r){return f()}}function m(t,e){var n=arguments,i=this,r=new this.constructor(v);void 0===r[ot]&&R(r);var o=i._state;return o?!function(){var t=n[o-1];G(function(){return M(o,r,t,i._result)})}():P(i,r,t,e),r}function g(t){var e=this;if(t&&"object"==typeof t&&t.constructor===e)return t;var n=new e(v);return T(n,t),n}function v(){}function y(){return new TypeError("You cannot resolve a promise with itself")}function b(){return new TypeError("A promises callback cannot return that same promise.")}function _(t){try{return t.then}catch(e){return ut.error=e,ut}}function x(t,e,n,i){try{t.call(e,n,i)}catch(r){return r}}function w(t,e,n){G(function(t){var i=!1,r=x(n,e,function(n){i||(i=!0,e!==n?T(t,n):E(t,n))},function(e){i||(i=!0,S(t,e))},"Settle: "+(t._label||" unknown promise"));!i&&r&&(i=!0,S(t,r))},t)}function C(t,e){e._state===st?E(t,e._result):e._state===lt?S(t,e._result):P(e,void 0,function(e){return T(t,e)},function(e){return S(t,e)})}function k(t,e,n){e.constructor===t.constructor&&n===m&&e.constructor.resolve===g?C(t,e):n===ut?S(t,ut.error):void 0===n?E(t,e):o(n)?w(t,e,n):E(t,e)}function T(e,n){e===n?S(e,y()):t(n)?k(e,n,_(n)):E(e,n)}function j(t){t._onerror&&t._onerror(t._result),O(t)}function E(t,e){t._state===at&&(t._result=e,t._state=st,0!==t._subscribers.length&&G(O,t))}function S(t,e){t._state===at&&(t._state=lt,t._result=e,G(j,t))}function P(t,e,n,i){var r=t._subscribers,o=r.length;t._onerror=null,r[o]=e,r[o+st]=n,r[o+lt]=i,0===o&&t._state&&G(O,t)}function O(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var i=void 0,r=void 0,o=t._result,a=0;a<e.length;a+=3)i=e[a],r=e[a+n],i?M(n,i,r,o):r(o);t._subscribers.length=0}}function N(){this.error=null}function D(t,e){try{return t(e)}catch(n){return ct.error=n,ct}}function M(t,e,n,i){var r=o(n),a=void 0,s=void 0,l=void 0,u=void 0;if(r){if(a=D(n,i),a===ct?(u=!0,s=a.error,a=null):l=!0,e===a)return void S(e,b())}else a=i,l=!0;e._state!==at||(r&&l?T(e,a):u?S(e,s):t===st?E(e,a):t===lt&&S(e,a))}function A(t,e){try{e(function i(e){T(t,e)},function r(e){S(t,e)})}catch(n){S(t,n)}}function I(){return dt++}function R(t){t[ot]=dt++,t._state=void 0,t._result=void 0,t._subscribers=[]}function F(t,e){this._instanceConstructor=t,this.promise=new t(v),this.promise[ot]||R(this.promise),V(e)?(this._input=e,this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0===this.length?E(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&E(this.promise,this._result))):S(this.promise,L())}function L(){return new Error("Array Methods must be provided an Array")}function H(t){return new F(this,t).promise}function Q(t){var e=this;return new e(V(t)?function(n,i){for(var r=t.length,o=0;o<r;o++)e.resolve(t[o]).then(n,i)}:function(t,e){return e(new TypeError("You must pass an array to race."))})}function U(t){var e=this,n=new e(v);return S(n,t),n}function B(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function z(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function W(t){this[ot]=I(),this._result=this._state=void 0,this._subscribers=[],v!==t&&("function"!=typeof t&&B(),this instanceof W?A(this,t):z())}function q(){var
2016-09-14 14:07:13 +02:00
* http://jqueryui.com
* Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.position.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.effect.js, jquery.ui.effect-blind.js, jquery.ui.effect-bounce.js, jquery.ui.effect-clip.js, jquery.ui.effect-drop.js, jquery.ui.effect-explode.js, jquery.ui.effect-fade.js, jquery.ui.effect-fold.js, jquery.ui.effect-highlight.js, jquery.ui.effect-pulsate.js, jquery.ui.effect-scale.js, jquery.ui.effect-shake.js, jquery.ui.effect-slide.js, jquery.ui.effect-transfer.js, jquery.ui.menu.js, jquery.ui.progressbar.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.slider.js, jquery.ui.sortable.js, jquery.ui.spinner.js, jquery.ui.tabs.js, jquery.ui.tooltip.js
* Copyright (c) 2012 jQuery Foundation and other contributors Licensed MIT */
/*!
* Contains fix for 1.10 back ported manually
* https://github.com/jquery/jquery-ui/commit/c241313f1d31b18751a81c1321662512d8086cbc
* plus a fix to ui.selectable widgetEventPrefix being incorrect
*/
!function(t,e){function n(e,n){var r,o,a,s=e.nodeName.toLowerCase();return"area"===s?(r=e.parentNode,o=r.name,!(!e.href||!o||"map"!==r.nodeName.toLowerCase())&&(a=t("img[usemap=#"+o+"]")[0],!!a&&i(a))):(/input|select|textarea|button|object/.test(s)?!e.disabled:"a"===s?e.href||n:n)&&i(e)}function i(e){return t.expr.filters.visible(e)&&!t(e).parents().andSelf().filter(function(){return"hidden"===t.css(this,"visibility")}).length}var r=0,o=/^ui-id-\d+$/;t.ui=t.ui||{},t.ui.version||(t.extend(t.ui,{version:"1.9.2",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),t.fn.extend({_focus:t.fn.focus,focus:function(e,n){return"number"==typeof e?this.each(function(){var i=this;setTimeout(function(){t(i).focus(),n&&n.call(i)},e)}):this._focus.apply(this,arguments)},scrollParent:function(){var e;return e=t.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(t.css(this,"position"))&&/(auto|scroll)/.test(t.css(this,"overflow")+t.css(this,"overflow-y")+t.css(this,"overflow-x"))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(t.css(this,"overflow")+t.css(this,"overflow-y")+t.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!e.length?t(document):e},zIndex:function(n){if(n!==e)return this.css("zIndex",n);if(this.length)for(var i=t(this[0]),r,o;i.length&&i[0]!==document;){if(r=i.css("position"),("absolute"===r||"relative"===r||"fixed"===r)&&(o=parseInt(i.css("zIndex"),10),!isNaN(o)&&0!==o))return o;i=i.parent()}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++r)})},removeUniqueId:function(){return this.each(function(){o.test(this.id)&&t(this).removeAttr("id")})}}),t.extend(t.expr[":"],{data:t.expr.createPseudo?t.expr.createPseudo(function(e){return function(n){return!!t.data(n,e)}}):function(e,n,i){return!!t.data(e,i[3])},focusable:function(e){return n(e,!isNaN(t.attr(e,"tabindex")))},tabbable:function(e){var i=t.attr(e,"tabindex"),r=isNaN(i);return(r||i>=0)&&n(e,!r)}}),t(function(){var e=document.body,n=e.appendChild(n=document.createElement("div"));n.offsetHeight,t.extend(n.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0}),t.support.minHeight=100===n.offsetHeight,t.support.selectstart="onselectstart"in n,e.removeChild(n).style.display="none"}),t("<a>").outerWidth(1).jquery||t.each(["Width","Height"],function(n,i){function r(e,n,i,r){return t.each(o,function(){n-=parseFloat(t.css(e,"padding"+this))||0,i&&(n-=parseFloat(t.css(e,"border"+this+"Width"))||0),r&&(n-=parseFloat(t.css(e,"margin"+this))||0)}),n}var o="Width"===i?["Left","Right"]:["Top","Bottom"],a=i.toLowerCase(),s={innerWidth:t.fn.innerWidth,innerHeight:t.fn.innerHeight,outerWidth:t.fn.outerWidth,outerHeight:t.fn.outerHeight};t.fn["inner"+i]=function(n){return n===e?s["inner"+i].call(this):this.each(function(){t(this).css(a,r(this,n)+"px")})},t.fn["outer"+i]=function(e,n){return"number"!=typeof e?s["outer"+i].call(this,e):this.each(function(){t(this).css(a,r(this,e,!0,n)+"px")})}}),t("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(t.fn.removeData=function(e){return function(n){return arguments.length?e.call(this,t.camelCase(n)):e.call(this)}}(t.fn.removeData)),function(){var e=/msie ([\w.]+)/.exec(navigator.userAgent.toLowerCase())||[];t.ui.ie=!!e.length,t.ui.ie6=6===parseFloat(e[1],10)}(),t.fn.extend({disableSelection:function(){return this.bind((t.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(t){t.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),t.extend(t.ui,{plugin:{add:function(e,n,i){var r,o=t.ui[e].prototype;for(r in i)o.plugins[r]=o.plugins[r]||[],o.plugins[r].push([n,i[r]])},call:function(t,e,n){var i,r=t.plugins[e];if(r&&t.element[0].parentNode&&11!==t.element[0].parentNod
},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){return this.cancelBlur?void delete this.cancelBlur:(clearTimeout(this.searching),this.close(t),void this._change(t))}}),this._initSource(),this.menu=t("<ul>").addClass("ui-autocomplete").appendTo(this.document.find(this.options.appendTo||"body")[0]).menu({input:t(),role:null}).zIndex(this.element.zIndex()+1).hide().data("menu"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur});var n=this.menu.element[0];t(e.target).closest(".ui-menu-item").length||this._delay(function(){var e=this;this.document.one("mousedown",function(i){i.target===e.element[0]||i.target===n||t.contains(n,i.target)||e.close()})})},menufocus:function(e,n){if(this.isNewMenu&&(this.isNewMenu=!1,e.originalEvent&&/^mouse/.test(e.originalEvent.type)))return this.menu.blur(),void this.document.one("mousemove",function(){t(e.target).trigger(e.originalEvent)});var i=n.item.data("ui-autocomplete-item")||n.item.data("item.autocomplete");!1!==this._trigger("focus",e,{item:i})?e.originalEvent&&/^key/.test(e.originalEvent.type)&&this._value(i.value):this.liveRegion.text(i.value)},menuselect:function(t,e){var n=e.item.data("ui-autocomplete-item")||e.item.data("item.autocomplete"),i=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.focus(),this.previous=i,this._delay(function(){this.previous=i,this.selectedItem=n})),!1!==this._trigger("select",t,{item:n})&&this._value(n.value),this.term=this._value(),this.close(t),this.selectedItem=n}}),this.liveRegion=t("<span>",{role:"status","aria-live":"polite"}).addClass("ui-helper-hidden-accessible").insertAfter(this.element),t.fn.bgiframe&&this.menu.element.bgiframe(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this.document.find(e||"body")[0]),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_isMultiLine:function(){return!!this.element.is("textarea")||!this.element.is("input")&&this.element.prop("isContentEditable")},_initSource:function(){var e,n,i=this;t.isArray(this.options.source)?(e=this.options.source,this.source=function(n,i){i(t.ui.autocomplete.filter(e,n.term))}):"string"==typeof this.options.source?(n=this.options.source,this.source=function(e,r){i.xhr&&i.xhr.abort(),i.xhr=t.ajax({url:n,data:e,dataType:"json",success:function(t){r(t)},error:function(){r([])}})}):this.source=this.options.source},_searchTimeout:function(t){clearTimeout(this.searching),this.searching=this._delay(function(){this.term!==this._value()&&(this.selectedItem=null,this.search(null,t))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length<this.options.minLength?this.close(e):this._trigger("search",e)!==!1?this._search(t):void 0},_search:function(t){this.pending++,this.element.addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:t},this._response())},_response:function(){var t=this,e=++n;return function(i){e===n&&t.__response(i),t.pending--,t.pending||t.element.removeClass("ui-autocomplete-loading")}},__response:function(t){t&&(t=this._normalize(t)),this._trigger("response",null,{content:t}),!this.options.disabled&&t&&t.length&&!this.cancelSearch?(this._suggest(t),this._trigger("open")):this._close()},close:function(t){this.cancelSearch=!0,this._close(t)},_close:function(t){this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",t))},_change:function(t){this.previous!==this._value()&&this._trigger("change",t,{item:this.selectedItem})},_normalize:function(e){return e.length&&e[0].label&&e[0].value?e:t.map(e,function(e){return"string"==typeof e?{label:e,value:e}:t.extend({label:e.
this._notifyChange(r),this._adjustDate(i)},_selectDay:function(t,e,n,i){var r=$(t);if(!$(i).hasClass(this._unselectableClass)&&!this._isDisabledDatepicker(r[0])){var o=this._getInst(r[0]);o.selectedDay=o.currentDay=$("a",i).html(),o.selectedMonth=o.currentMonth=e,o.selectedYear=o.currentYear=n,this._selectDate(t,this._formatDate(o,o.currentDay,o.currentMonth,o.currentYear))}},_clearDate:function(t){var e=$(t),n=this._getInst(e[0]);this._selectDate(e,"")},_selectDate:function(t,e){var n=$(t),i=this._getInst(n[0]);e=null!=e?e:this._formatDate(i),i.input&&i.input.val(e),this._updateAlternate(i);var r=this._get(i,"onSelect");r?r.apply(i.input?i.input[0]:null,[e,i]):i.input&&i.input.trigger("change"),i.inline?this._updateDatepicker(i):(this._hideDatepicker(),this._lastInput=i.input[0],"object"!=typeof i.input[0]&&i.input.focus(),this._lastInput=null)},_updateAlternate:function(t){var e=this._get(t,"altField");if(e){var n=this._get(t,"altFormat")||this._get(t,"dateFormat"),i=this._getDate(t),r=this.formatDate(n,i,this._getFormatConfig(t));$(e).each(function(){$(this).val(r)})}},noWeekends:function(t){var e=t.getDay();return[e>0&&e<6,""]},iso8601Week:function(t){var e=new Date(t.getTime());e.setDate(e.getDate()+4-(e.getDay()||7));var n=e.getTime();return e.setMonth(0),e.setDate(1),Math.floor(Math.round((n-e)/864e5)/7)+1},parseDate:function(t,e,n){if(null==t||null==e)throw"Invalid arguments";if(e="object"==typeof e?e.toString():e+"",""==e)return null;var i=(n?n.shortYearCutoff:null)||this._defaults.shortYearCutoff;i="string"!=typeof i?i:(new Date).getFullYear()%100+parseInt(i,10);for(var r=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,o=(n?n.dayNames:null)||this._defaults.dayNames,a=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,s=(n?n.monthNames:null)||this._defaults.monthNames,l=-1,u=-1,c=-1,d=-1,f=!1,h=function(e){var n=y+1<t.length&&t.charAt(y+1)==e;return n&&y++,n},p=function(t){var n=h(t),i="@"==t?14:"!"==t?20:"y"==t&&n?4:"o"==t?3:2,r=new RegExp("^\\d{1,"+i+"}"),o=e.substring(v).match(r);if(!o)throw"Missing number at position "+v;return v+=o[0].length,parseInt(o[0],10)},m=function(t,n,i){var r=$.map(h(t)?i:n,function(t,e){return[[e,t]]}).sort(function(t,e){return-(t[1].length-e[1].length)}),o=-1;if($.each(r,function(t,n){var i=n[1];if(e.substr(v,i.length).toLowerCase()==i.toLowerCase())return o=n[0],v+=i.length,!1}),o!=-1)return o+1;throw"Unknown name at position "+v},g=function(){if(e.charAt(v)!=t.charAt(y))throw"Unexpected literal at position "+v;v++},v=0,y=0;y<t.length;y++)if(f)"'"!=t.charAt(y)||h("'")?g():f=!1;else switch(t.charAt(y)){case"d":c=p("d");break;case"D":m("D",r,o);break;case"o":d=p("o");break;case"m":u=p("m");break;case"M":u=m("M",a,s);break;case"y":l=p("y");break;case"@":var b=new Date(p("@"));l=b.getFullYear(),u=b.getMonth()+1,c=b.getDate();break;case"!":var b=new Date((p("!")-this._ticksTo1970)/1e4);l=b.getFullYear(),u=b.getMonth()+1,c=b.getDate();break;case"'":h("'")?g():f=!0;break;default:g()}if(v<e.length){var _=e.substr(v);if(!/^\s+/.test(_))throw"Extra/unparsed characters found in date: "+_}if(l==-1?l=(new Date).getFullYear():l<100&&(l+=(new Date).getFullYear()-(new Date).getFullYear()%100+(l<=i?0:-100)),d>-1)for(u=1,c=d;;){var x=this._getDaysInMonth(l,u-1);if(c<=x)break;u++,c-=x}var b=this._daylightSavingAdjust(new Date(l,u-1,c));if(b.getFullYear()!=l||b.getMonth()+1!=u||b.getDate()!=c)throw"Invalid date";return b},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(t,e,n){if(!e)return"";var i=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,r=(n?n.dayNames:null)||this._defaults.dayNames,o=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,a=(n?n.monthNames:null)||this._defaults.monthNames,s=function(e){var n=f+1<t.length&&t.charAt(f+1)==e;return n&&f++,n},l=function(t,e,n){var i=""+e;if(s(t))for(;i.
t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var n=!1;t.ui.ddmanager&&!this.options.dropBehaviour&&(n=t.ui.ddmanager.drop(this,e)),this.dropped&&(n=this.dropped,this.dropped=!1);for(var i=this.element[0],r=!1;i&&(i=i.parentNode);)i==document&&(r=!0);if(!r&&"original"===this.options.helper)return!1;if("invalid"==this.options.revert&&!n||"valid"==this.options.revert&&n||this.options.revert===!0||t.isFunction(this.options.revert)&&this.options.revert.call(this.element,n)){var o=this;t(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){o._trigger("stop",e)!==!1&&o._clear()})}else this._trigger("stop",e)!==!1&&this._clear();return!1},_mouseUp:function(e){return t("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)}),t.ui.ddmanager&&t.ui.ddmanager.dragStop(this,e),t.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(e){var n=!this.options.handle||!t(this.options.handle,this.element).length;return t(this.options.handle,this.element).find("*").andSelf().each(function(){this==e.target&&(n=!0)}),n},_createHelper:function(e){var n=this.options,i=t.isFunction(n.helper)?t(n.helper.apply(this.element[0],[e])):"clone"==n.helper?this.element.clone().removeAttr("id"):this.element;return i.parents("body").length||i.appendTo("parent"==n.appendTo?this.element[0].parentNode:n.appendTo),i[0]==this.element[0]||/(fixed|absolute)/.test(i.css("position"))||i.css("position","absolute"),i},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"==this.cssPosition&&this.scrollParent[0]!=document&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&"html"==this.offsetParent[0].tagName.toLowerCase()&&t.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"==this.cssPosition){var t=this.element.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e=this.options;if("parent"==e.containment&&(e.containment=this.helper[0].parentNode),"document"!=e.containment&&"window"!=e.containment||(this.containment=["document"==e.containment?0:t(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,"document"==e.containment?0:t(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,("document"==e.containment?0:t(window).scrollLeft())+t("document"==e.containment?document:window).width()-this.helperProportions.width-this.margins.left,("document"==e.containment?0:t(window).scrollTop())+(t("document"==e.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(e.containment)||e.containment.construc
2016-09-14 14:07:13 +02:00
* jQuery Color Animations v2.0.0
* http://jquery.com/
*
* Copyright 2012 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* Date: Mon Aug 13 13:41:02 2012 -0500
*/
function(e,n){function i(t,e,n){var i=d[e.type]||{};return null==t?n||!e.def?null:e.def:(t=i.floor?~~t:parseFloat(t),isNaN(t)?e.def:i.mod?(t+i.mod)%i.mod:0>t?0:i.max<t?i.max:t)}function r(t){var n=u(),i=n._rgba=[];return t=t.toLowerCase(),m(l,function(e,r){var o,a=r.re.exec(t),s=a&&r.parse(a),l=r.space||"rgba";if(s)return o=n[l](s),n[c[l].cache]=o[c[l].cache],i=n._rgba=o._rgba,!1}),i.length?("0,0,0,0"===i.join()&&e.extend(i,p.transparent),n):p[t]}function o(t,e,n){return n=(n+1)%1,6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}var a="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor".split(" "),s=/^([\-+])=\s*(\d+\.?\d*)/,l=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(t){return[t[1],t[2]/100,t[3]/100,t[4]]}}],u=e.Color=function(t,n,i,r){return new e.Color.fn.parse(t,n,i,r)},c={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},d={"byte":{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},f=u.support={},h=e("<p>")[0],p,m=e.each;h.style.cssText="background-color:rgba(1,1,1,.5)",f.rgba=h.style.backgroundColor.indexOf("rgba")>-1,m(c,function(t,e){e.cache="_"+t,e.props.alpha={idx:3,type:"percent",def:1}}),u.fn=e.extend(u.prototype,{parse:function(o,a,s,l){if(o===n)return this._rgba=[null,null,null,null],this;(o.jquery||o.nodeType)&&(o=e(o).css(a),a=n);var d=this,f=e.type(o),h=this._rgba=[];return a!==n&&(o=[o,a,s,l],f="array"),"string"===f?this.parse(r(o)||p._default):"array"===f?(m(c.rgba.props,function(t,e){h[e.idx]=i(o[e.idx],e)}),this):"object"===f?(o instanceof u?m(c,function(t,e){o[e.cache]&&(d[e.cache]=o[e.cache].slice())}):m(c,function(e,n){var r=n.cache;m(n.props,function(t,e){if(!d[r]&&n.to){if("alpha"===t||null==o[t])return;d[r]=n.to(d._rgba)}d[r][e.idx]=i(o[t],e,!0)}),d[r]&&t.inArray(null,d[r].slice(0,3))<0&&(d[r][3]=1,n.from&&(d._rgba=n.from(d[r])))}),this):void 0},is:function(t){var e=u(t),n=!0,i=this;return m(c,function(t,r){var o,a=e[r.cache];return a&&(o=i[r.cache]||r.to&&r.to(i._rgba)||[],m(r.props,function(t,e){if(null!=a[e.idx])return n=a[e.idx]===o[e.idx]})),n}),n},_space:function(){var t=[],e=this;return m(c,function(n,i){e[i.cache]&&t.push(n)}),t.pop()},transition:function(t,e){var n=u(t),r=n._space(),o=c[r],a=0===this.alpha()?u("transparent"):this,s=a[o.cache]||o.to(a._rgba),l=s.slice();return n=n[o.cache],m(o.props,function(t,r){var o=r.idx,a=s[o],u=n[o],c=d[r.type]||{};null!==u&&(null===a?l[o]=u:(c.mod&&(u-a>c.mod/2?a+=c.mod:a-u>c.mod/2&&(a-=c.mod)),l[o]=i((u-a)*e+a,r)))}),this[r](l)},blend:function(t){if(1===this._rgba[3])return this;var n=this._rgba.slice(),i=n.pop(),r=u(t)._rgba;return u(e.map(n,function(t,e){return(1-i)*r[e]+i*t}))},toRgbaString:function(){var t="rgba(",n=e.map(this._rgba,function(t,e){return null==t?e>2?1:0:t});return 1===n[3]&&(n.pop(),t="rgb("),t+n.join()+")"},toHslaString:function(){var t="hsla(",n=e.map(this.hsla(),function(t,e){return null==t&&(t=e>2?1:0),e&&e<3&&(t=Math.round(100*t)+"%"),t});return 1===n[3]&&(n.pop(),t="hsl("),t+n.join()+")"},toHexString:function(t){var n=this._rgba.slice(),i=n.pop();return t&&n.push(~~(255*i)),"#"+e.map(n,function(t){return t=(t||0).toString(16),1===t.length?"0"+t:t}).join("")},toString:function(){return 0===th
}))},next:function(t){this._move("next","first",t)},previous:function(t){this._move("prev","last",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(t,e,n){var i;this.active&&(i="first"===t||"last"===t?this.active["first"===t?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[t+"All"](".ui-menu-item").eq(0)),i&&i.length&&this.active||(i=this.activeMenu.children(".ui-menu-item")[e]()),this.focus(n,i)},nextPage:function(e){var n,i,r;return this.active?void(this.isLastItem()||(this._hasScroll()?(i=this.active.offset().top,r=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return n=t(this),n.offset().top-i-r<0}),this.focus(e,n)):this.focus(e,this.activeMenu.children(".ui-menu-item")[this.active?"last":"first"]()))):void this.next(e)},previousPage:function(e){var n,i,r;return this.active?void(this.isFirstItem()||(this._hasScroll()?(i=this.active.offset().top,r=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return n=t(this),n.offset().top-i+r>0}),this.focus(e,n)):this.focus(e,this.activeMenu.children(".ui-menu-item").first()))):void this.next(e)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(e){this.active=this.active||t(e.target).closest(".ui-menu-item");var n={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(e,!0),this._trigger("select",e,n)}})}(jQuery),function(t,e){t.widget("ui.progressbar",{version:"1.9.2",options:{value:0,max:100},min:0,_create:function(){this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min,"aria-valuemax":this.options.max,"aria-valuenow":this._value()}),this.valueDiv=t("<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>").appendTo(this.element),this.oldValue=this._value(),this._refreshValue()},_destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.valueDiv.remove()},value:function(t){return t===e?this._value():(this._setOption("value",t),this)},_setOption:function(t,e){"value"===t&&(this.options.value=e,this._refreshValue(),this._value()===this.options.max&&this._trigger("complete")),this._super(t,e)},_value:function(){var t=this.options.value;return"number"!=typeof t&&(t=0),Math.min(this.options.max,Math.max(this.min,t))},_percentage:function(){return 100*this._value()/this.options.max},_refreshValue:function(){var t=this.value(),e=this._percentage();this.oldValue!==t&&(this.oldValue=t,this._trigger("change")),this.valueDiv.toggle(t>this.min).toggleClass("ui-corner-right",t===this.options.max).width(e.toFixed(0)+"%"),this.element.attr("aria-valuenow",t)}})}(jQuery),function(t,e){t.widget("ui.resizable",t.ui.mouse,{version:"1.9.2",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1e3},_create:function(){var e=this,n=this.options;if(this.element.addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!n.aspectRatio,aspectRatio:n.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:n.helper||n.ghost||n.animate?n.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&&(this.element.wrap(t('<div class="ui-wrapper" style="overflow: hidden;"></div>').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("resizable",this.element.data("resizable")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft")
if(t>=this._valueMax())return this._valueMax();var e=this.options.step>0?this.options.step:1,n=(t-this._valueMin())%e,i=t-n;return 2*Math.abs(n)>=e&&(i+=n>0?e:-e),parseFloat(i.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var e,n,i,r,o,a=this.options.range,s=this.options,l=this,u=!this._animateOff&&s.animate,c={};this.options.values&&this.options.values.length?this.handles.each(function(i){n=(l.values(i)-l._valueMin())/(l._valueMax()-l._valueMin())*100,c["horizontal"===l.orientation?"left":"bottom"]=n+"%",t(this).stop(1,1)[u?"animate":"css"](c,s.animate),l.options.range===!0&&("horizontal"===l.orientation?(0===i&&l.range.stop(1,1)[u?"animate":"css"]({left:n+"%"},s.animate),1===i&&l.range[u?"animate":"css"]({width:n-e+"%"},{queue:!1,duration:s.animate})):(0===i&&l.range.stop(1,1)[u?"animate":"css"]({bottom:n+"%"},s.animate),1===i&&l.range[u?"animate":"css"]({height:n-e+"%"},{queue:!1,duration:s.animate}))),e=n}):(i=this.value(),r=this._valueMin(),o=this._valueMax(),n=o!==r?(i-r)/(o-r)*100:0,c["horizontal"===this.orientation?"left":"bottom"]=n+"%",this.handle.stop(1,1)[u?"animate":"css"](c,s.animate),"min"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[u?"animate":"css"]({width:n+"%"},s.animate),"max"===a&&"horizontal"===this.orientation&&this.range[u?"animate":"css"]({width:100-n+"%"},{queue:!1,duration:s.animate}),"min"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[u?"animate":"css"]({height:n+"%"},s.animate),"max"===a&&"vertical"===this.orientation&&this.range[u?"animate":"css"]({height:100-n+"%"},{queue:!1,duration:s.animate}))}})}(jQuery),function(t,e){t.widget("ui.sortable",t.ui.mouse,{version:"1.9.2",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3},_create:function(){var t=this.options;this.containerCache={},this.element.addClass("ui-sortable"),this.refresh(),this.floating=!!this.items.length&&("x"===t.axis||/left|right/.test(this.items[0].item.css("float"))||/inline|table-cell/.test(this.items[0].item.css("display"))),this.offset=this.element.offset(),this._mouseInit(),this.ready=!0},_destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled"),this._mouseDestroy();for(var t=this.items.length-1;t>=0;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_setOption:function(e,n){"disabled"===e?(this.options[e]=n,this.widget().toggleClass("ui-sortable-disabled",!!n)):t.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(e,n){var i=this;if(this.reverting)return!1;if(this.options.disabled||"static"==this.options.type)return!1;this._refreshItems(e);var r=null,o=t(e.target).parents().each(function(){if(t.data(this,i.widgetName+"-item")==i)return r=t(this),!1});if(t.data(e.target,i.widgetName+"-item")==i&&(r=t(e.target)),!r)return!1;if(this.options.handle&&!n){var a=!1;if(t(this.options.handle,r).find("*").andSelf().each(function(){this==e.target&&(a=!0)}),!a)return!1}return this.currentItem=r,this._removeCurrentsFromItems(),!0},_mouseStart:function(e,n,i){var r=this.options;if(this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,r.cursorAt&&this._adjustOffsetFro
t(this).is(".ui-state-disabled")&&e.preventDefault()}).delegate(".ui-tabs-anchor","focus"+this.eventNamespace,function(){t(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this._processTabs(),null===i&&(r&&this.tabs.each(function(e,n){if(t(n).attr("aria-controls")===r)return i=e,!1}),null===i&&(i=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),null!==i&&i!==-1||(i=!!this.tabs.length&&0)),i!==!1&&(i=this.tabs.index(this.tabs.eq(i)),i===-1&&(i=!n.collapsible&&0)),n.active=i,!n.collapsible&&n.active===!1&&this.anchors.length&&(n.active=0),t.isArray(n.disabled)&&(n.disabled=t.unique(n.disabled.concat(t.map(this.tabs.filter(".ui-state-disabled"),function(t){return e.tabs.index(t)}))).sort()),this.options.active!==!1&&this.anchors.length?this.active=this._findActive(this.options.active):this.active=t(),this._refresh(),this.active.length&&this.load(n.active)},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):t()}},_tabKeydown:function(e){var n=t(this.document[0].activeElement).closest("li"),i=this.tabs.index(n),r=!0;if(!this._handlePageNav(e)){switch(e.keyCode){case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:i++;break;case t.ui.keyCode.UP:case t.ui.keyCode.LEFT:r=!1,i--;break;case t.ui.keyCode.END:i=this.anchors.length-1;break;case t.ui.keyCode.HOME:i=0;break;case t.ui.keyCode.SPACE:return e.preventDefault(),clearTimeout(this.activating),void this._activate(i);case t.ui.keyCode.ENTER:return e.preventDefault(),clearTimeout(this.activating),void this._activate(i!==this.options.active&&i);default:return}e.preventDefault(),clearTimeout(this.activating),i=this._focusNextTab(i,r),e.ctrlKey||(n.attr("aria-selected","false"),this.tabs.eq(i).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",i)},this.delay))}},_panelKeydown:function(e){this._handlePageNav(e)||e.ctrlKey&&e.keyCode===t.ui.keyCode.UP&&(e.preventDefault(),this.active.focus())},_handlePageNav:function(e){return e.altKey&&e.keyCode===t.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):e.altKey&&e.keyCode===t.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(e,n){function i(){return e>r&&(e=0),e<0&&(e=r),e}for(var r=this.tabs.length-1;t.inArray(i(),this.options.disabled)!==-1;)e=n?e+1:e-1;return e},_focusNextTab:function(t,e){return t=this._findNextTab(t,e),this.tabs.eq(t).focus(),t},_setOption:function(t,e){return"active"===t?void this._activate(e):"disabled"===t?void this._setupDisabled(e):(this._super(t,e),"collapsible"===t&&(this.element.toggleClass("ui-tabs-collapsible",e),e||this.options.active!==!1||this._activate(0)),"event"===t&&this._setupEvents(e),void("heightStyle"===t&&this._setupHeightStyle(e)))},_tabId:function(t){return t.attr("aria-controls")||"ui-tabs-"+n()},_sanitizeSelector:function(t){return t?t.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var e=this.options,n=this.tablist.children(":has(a[href])");e.disabled=t.map(n.filter(".ui-state-disabled"),function(t){return n.index(t)}),this._processTabs(),e.active!==!1&&this.anchors.length?this.active.length&&!t.contains(this.tablist[0],this.active[0])?this.tabs.length===e.disabled.length?(e.active=!1,this.active=t()):this._activate(this._findNextTab(Math.max(0,e.active-1),!1)):e.active=this.tabs.index(this.active):(e.active=!1,this.active=t()),this._refresh()},_refresh:function(){this._setupDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-expanded":"false","aria-hidden":"true"}),this.active.length?(this.active.addClass("ui-tabs-active ui-state-active").attr({"aria-selected":"true",tabIndex:0}),this._getPanelForTab(this.active).show().attr({"aria-expanded":"true","aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var e=this;thi
e(this).closest(".ss-uploadfield-item-edit").click()}),e(this).removeClass("opened").find(".toggle-details-icon").removeClass("opened")):(e(".ss-uploadfield-item .ss-uploadfield-item-edit .toggle-details-icon").each(function(t){e(this).hasClass("opened")||e(this).closest(".ss-uploadfield-item-edit").click()}),e(this).addClass("opened").find(".toggle-details-icon").addClass("opened")),t.preventDefault(),!1}}),e("div.ss-upload:not(.disabled):not(.readonly) .ss-uploadfield-item-edit").entwine({onclick:function p(t){var e=this,n=e.closest(".ss-uploadfield-item").find(".ss-uploadfield-item-editform"),i=n.prev(".ss-uploadfield-item-info"),r=n.find("iframe");if(r.parent().hasClass("loading"))return t.preventDefault(),!1;if("about:blank"==r.attr("src")){var o=this.siblings();r.attr("src",r.data("src")),r.parent().addClass("loading"),o.addClass("ui-state-disabled"),o.attr("disabled","disabled"),r.on("load",function(){r.parent().removeClass("loading"),r.data("src")&&(e._prepareIframe(r,n,i),r.data("src",""))})}else e._prepareIframe(r,n,i);return t.preventDefault(),!1},_prepareIframe:function m(t,e,n){var i;t.contents().ready(function(){var n=t.get(0).contentWindow.jQuery;n(n.find(":input")).bind("change",function(t){e.removeClass("edited"),e.addClass("edited")})}),e.hasClass("loading")||(i=this.hasClass("ss-uploadfield-item-edit")?this.siblings():this.find("ss-uploadfield-item-edit").siblings(),e.parent(".ss-uploadfield-item").removeClass("ui-state-warning"),e.toggleEditForm(),n.find(".toggle-details-icon").hasClass("opened")?(i.addClass("ui-state-disabled"),i.attr("disabled","disabled")):(i.removeClass("ui-state-disabled"),i.removeAttr("disabled")))}}),e("div.ss-upload .ss-uploadfield-item-editform").entwine({fitHeight:function g(){var t=this.find("iframe"),n=t.contents().find("body"),i=n.find("form").outerHeight(!0),r=i+(t.outerHeight(!0)-t.height()),o=r+(this.outerHeight(!0)-this.height());e.browser.msie||"8.0"==e.browser.version.slice(0,3)||n.find("body").css({height:i}),t.height(r),this.animate({height:o},500)},toggleEditForm:function v(){var t=this.prev(".ss-uploadfield-item-info"),n=t.find(".ss-uploadfield-item-status"),i=this.find("iframe").contents(),r=i.find("#Form_EditForm_error"),o="";0===this.height()?(o=a["default"]._t("UploadField.Editing","Editing ..."),this.fitHeight(),this.addClass("opened"),t.find(".toggle-details-icon").addClass("opened"),n.removeClass("ui-state-success-text").removeClass("ui-state-warning-text"),i.find("#Form_EditForm_action_doEdit").click(function(){t.find("label .name").text(i.find("#Name input").val())}),e("div.ss-upload .ss-uploadfield-files .ss-uploadfield-item-actions .toggle-details-icon:not(.opened)").index()<0&&e("div.ss-upload .ss-uploadfield-item-edit-all").addClass("opened").find(".toggle-details-icon").addClass("opened")):(this.animate({height:0},500),this.removeClass("opened"),t.find(".toggle-details-icon").removeClass("opened"),e("div.ss-upload .ss-uploadfield-item-edit-all").removeClass("opened").find(".toggle-details-icon").removeClass("opened"),this.hasClass("edited")?r.hasClass("good")?(o=a["default"]._t("UploadField.CHANGESSAVED","Changes Saved"),this.removeClass("edited").parent(".ss-uploadfield-item").removeClass("ui-state-warning"),n.addClass("ui-state-success-text")):(o=a["default"]._t("UploadField.UNSAVEDCHANGES","Unsaved Changes"),this.parent(".ss-uploadfield-item").addClass("ui-state-warning"),n.addClass("ui-state-warning-text")):(o=a["default"]._t("UploadField.NOCHANGES","No Changes"),n.addClass("ui-state-success-text")),r.removeClass("good").hide()),n.attr("title",o).text(o)}}),e("div.ss-upload .ss-uploadfield-fromfiles").entwine({onclick:function y(t){return this.getUploadField().openSelectDialog(this.closest(".ss-uploadfield-item")),t.preventDefault(),!1}})})}).call(e,n(1))},function(t,e,n){var i;!function(r){"use strict";var o=function(t,e){var n=/[^\-\w]/.test(t)?new Function(o.arg,("var _s=''"+o.helper+";_s+='"+t.replace(o.regexp,o.func)+"';return _s;").split("_s+='';").join("")):o.cache[t]=o.cache[t]||o(o.load(t));return n.tmpl=n.tmpl||o,e?n(e):n};o.cache={
!function(o,a){i=a,r="function"==typeof i?i.call(e,n,e,t):i,!(void 0!==r&&(t.exports=r))}(this,function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t){var e=t.getBoundingClientRect(),n={};for(var i in e)n[i]=e[i];if(t.ownerDocument!==document){var o=t.ownerDocument.defaultView.frameElement;if(o){var a=r(o);n.top+=a.top,n.bottom+=a.top,n.left+=a.left,n.right+=a.left}}return n}function o(t){var e=getComputedStyle(t)||{},n=e.position,i=[];if("fixed"===n)return[t];for(var r=t;(r=r.parentNode)&&r&&1===r.nodeType;){var o=void 0;try{o=getComputedStyle(r)}catch(a){}if("undefined"==typeof o||null===o)return i.push(r),i;var s=o,l=s.overflow,u=s.overflowX,c=s.overflowY;/(auto|scroll)/.test(l+c+u)&&("absolute"!==n||["relative","absolute","fixed"].indexOf(o.position)>=0)&&i.push(r)}return i.push(t.ownerDocument.body),t.ownerDocument!==document&&i.push(t.ownerDocument.defaultView),i}function a(){T&&document.body.removeChild(T),T=null}function s(t){var e=void 0;t===document?(e=document,t=document.documentElement):e=t.ownerDocument;var n=e.documentElement,i=r(t),o=S();return i.top-=o.top,i.left-=o.left,"undefined"==typeof i.width&&(i.width=document.body.scrollWidth-i.left-i.right),"undefined"==typeof i.height&&(i.height=document.body.scrollHeight-i.top-i.bottom),i.top=i.top-n.clientTop,i.left=i.left-n.clientLeft,i.right=e.body.clientWidth-i.width-i.left,i.bottom=e.body.clientHeight-i.height-i.top,i}function l(t){return t.offsetParent||document.documentElement}function u(){if(P)return P;var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var e=document.createElement("div");c(e.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),e.appendChild(t),document.body.appendChild(e);var n=t.offsetWidth;e.style.overflow="scroll";var i=t.offsetWidth;n===i&&(i=e.clientWidth),document.body.removeChild(e);var r=n-i;return P={width:r,height:r}}function c(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],e=[];return Array.prototype.push.apply(e,arguments),e.slice(1).forEach(function(e){if(e)for(var n in e)({}).hasOwnProperty.call(e,n)&&(t[n]=e[n])}),t}function d(t,e){if("undefined"!=typeof t.classList)e.split(" ").forEach(function(e){e.trim()&&t.classList.remove(e)});else{var n=new RegExp("(^| )"+e.split(" ").join("|")+"( |$)","gi"),i=p(t).replace(n," ");m(t,i)}}function f(t,e){if("undefined"!=typeof t.classList)e.split(" ").forEach(function(e){e.trim()&&t.classList.add(e)});else{d(t,e);var n=p(t)+(" "+e);m(t,n)}}function h(t,e){if("undefined"!=typeof t.classList)return t.classList.contains(e);var n=p(t);return new RegExp("(^| )"+e+"( |$)","gi").test(n)}function p(t){return t.className instanceof t.ownerDocument.defaultView.SVGAnimatedString?t.className.baseVal:t.className}function m(t,e){t.setAttribute("class",e)}function g(t,e,n){n.forEach(function(n){e.indexOf(n)===-1&&h(t,n)&&d(t,n)}),e.forEach(function(e){h(t,e)||f(t,e)})}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function y(t,e){var n=arguments.length<=2||void 0===arguments[2]?1:arguments[2];return t+n>=e&&e>=t-n}function b(){return"undefined"!=typeof performance&&"undefined"!=typeof performance.now?performance.now():+new Date}function _(){for(var t={top:0,left:0},e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return n.forEach(function(e){var n=e.top,i=e.left;"string"==typeof n&&(n=parseFloat(n,10)),"string"==typeof i&&(i=parseFloat(i,10)),t.top+=n,t.left+=i}),t}function x(t,e){return"string"==typeof t.left&&t.left.indexOf("%")!==-1&&(t.left=parseFloat(t.left,10)/100*e.width),"string"==typeof t.top&&t.top.indexOf("%")!==-1&&(
dependencies:[S.topCompositionEnd,S.topKeyPress,S.topTextInput,S.topPaste]},compositionEnd:{phasedRegistrationNames:{bubbled:b({onCompositionEnd:null}),captured:b({onCompositionEndCapture:null})},dependencies:[S.topBlur,S.topCompositionEnd,S.topKeyDown,S.topKeyPress,S.topKeyUp,S.topMouseDown]},compositionStart:{phasedRegistrationNames:{bubbled:b({onCompositionStart:null}),captured:b({onCompositionStartCapture:null})},dependencies:[S.topBlur,S.topCompositionStart,S.topKeyDown,S.topKeyPress,S.topKeyUp,S.topMouseDown]},compositionUpdate:{phasedRegistrationNames:{bubbled:b({onCompositionUpdate:null}),captured:b({onCompositionUpdateCapture:null})},dependencies:[S.topBlur,S.topCompositionUpdate,S.topKeyDown,S.topKeyPress,S.topKeyUp,S.topMouseDown]}},O=!1,N=null,D={eventTypes:P,extractEvents:function(t,e,n,i){return[u(t,e,n,i),f(t,e,n,i)]}};t.exports=D},function(t,e,n){"use strict";var i=n(145),r=i({bubbled:null,captured:null}),o=i({topAbort:null,topAnimationEnd:null,topAnimationIteration:null,topAnimationStart:null,topBlur:null,topCanPlay:null,topCanPlayThrough:null,topChange:null,topClick:null,topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topContextMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragEnd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,topDurationChange:null,topEmptied:null,topEncrypted:null,topEnded:null,topError:null,topFocus:null,topInput:null,topInvalid:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topLoadedData:null,topLoadedMetadata:null,topLoadStart:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topPause:null,topPlay:null,topPlaying:null,topProgress:null,topRateChange:null,topReset:null,topScroll:null,topSeeked:null,topSeeking:null,topSelectionChange:null,topStalled:null,topSubmit:null,topSuspend:null,topTextInput:null,topTimeUpdate:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topTransitionEnd:null,topVolumeChange:null,topWaiting:null,topWheel:null}),a={topLevelTypes:o,PropagationPhases:r};t.exports=a},function(t,e,n){"use strict";function i(t,e,n){var i=e.dispatchConfig.phasedRegistrationNames[n];return _(t,i)}function r(t,e,n){var r=e?b.bubbled:b.captured,o=i(t,n,r);o&&(n._dispatchListeners=g(n._dispatchListeners,o),n._dispatchInstances=g(n._dispatchInstances,t))}function o(t){t&&t.dispatchConfig.phasedRegistrationNames&&m.traverseTwoPhase(t._targetInst,r,t)}function a(t){if(t&&t.dispatchConfig.phasedRegistrationNames){var e=t._targetInst,n=e?m.getParentInstance(e):null;m.traverseTwoPhase(n,r,t)}}function s(t,e,n){if(n&&n.dispatchConfig.registrationName){var i=n.dispatchConfig.registrationName,r=_(t,i);r&&(n._dispatchListeners=g(n._dispatchListeners,r),n._dispatchInstances=g(n._dispatchInstances,t))}}function l(t){t&&t.dispatchConfig.registrationName&&s(t._targetInst,null,t)}function u(t){v(t,o)}function c(t){v(t,a)}function d(t,e,n,i){m.traverseEnterLeave(n,i,s,t,e)}function f(t){v(t,l)}var h=n(163),p=n(165),m=n(167),g=n(169),v=n(170),y=n(133),b=h.PropagationPhases,_=p.getListener,x={accumulateTwoPhaseDispatches:u,accumulateTwoPhaseDispatchesSkipTarget:c,accumulateDirectDispatches:f,accumulateEnterLeaveDispatches:d};t.exports=x},function(t,e,n){"use strict";var i=n(129),r=n(166),o=n(167),a=n(168),s=n(169),l=n(170),u=n(130),c={},d=null,f=function(t,e){t&&(o.executeDispatchesInOrder(t,e),t.isPersistent()||t.constructor.release(t))},h=function(t){return f(t,!0)},p=function(t){return f(t,!1)},m=function(t){return"."+t._rootNodeID},g={injection:{injectEventPluginOrder:r.injectEventPluginOrder,injectEventPluginsByName:r.injectEventPluginsByName},putListener:function(t,e,n){"function"!=typeof n?i("94",e,typeof n):void 0;var o=m(t),a=c[e]||(c[e]={});a[o]=n;var s=r.registrationNameModules[e];s&&s.didPutListener&&s.didPutListener(t,e,n)},getListener:function(t,e){var n=c[e],i=m(t);return n&&n[i]},deleteListener:function(t,e){var n=r.registrationNameModules[e];n&&n.willDeleteListener&&n.willDel
2016-09-14 14:07:13 +02:00
* Checks if an event is supported in the current execution environment.
*
* NOTE: This will not work correctly for non-generic events such as `change`,
* `reset`, `load`, `error`, and `select`.
*
* Borrows from Modernizr.
*
* @param {string} eventNameSuffix Event name, e.g. "click".
* @param {?boolean} capture Check if the capture phase is supported.
* @return {boolean} True if the event is supported.
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
*/
function i(t,e){if(!r.canUseDOM||e&&!("addEventListener"in document))return!1;var n="on"+t,i=n in document;if(!i){var a=document.createElement("div");a.setAttribute(n,"return;"),i="function"==typeof a[n]}return!i&&o&&"wheel"===t&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}var r=n(171),o;r.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),t.exports=i},function(t,e){"use strict";function n(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return"input"===e?!!i[t.type]:"textarea"===e}var i={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};t.exports=n},function(t,e,n){"use strict";var i=n(147),r=[i({ResponderEventPlugin:null}),i({SimpleEventPlugin:null}),i({TapEventPlugin:null}),i({EnterLeaveEventPlugin:null}),i({ChangeEventPlugin:null}),i({SelectEventPlugin:null}),i({BeforeInputEventPlugin:null})];t.exports=r},function(t,e,n){"use strict";var i=n(163),r=n(164),o=n(158),a=n(191),s=n(147),l=i.topLevelTypes,u={mouseEnter:{registrationName:s({onMouseEnter:null}),dependencies:[l.topMouseOut,l.topMouseOver]},mouseLeave:{registrationName:s({onMouseLeave:null}),dependencies:[l.topMouseOut,l.topMouseOver]}},c={eventTypes:u,extractEvents:function(t,e,n,i){if(t===l.topMouseOver&&(n.relatedTarget||n.fromElement))return null;if(t!==l.topMouseOut&&t!==l.topMouseOver)return null;var s;if(i.window===i)s=i;else{var c=i.ownerDocument;s=c?c.defaultView||c.parentWindow:window}var d,f;if(t===l.topMouseOut){d=e;var h=n.relatedTarget||n.toElement;f=h?o.getClosestInstanceFromNode(h):null}else d=null,f=e;if(d===f)return null;var p=null==d?s:o.getNodeFromInstance(d),m=null==f?s:o.getNodeFromInstance(f),g=a.getPooled(u.mouseLeave,d,n,i);g.type="mouseleave",g.target=p,g.relatedTarget=m;var v=a.getPooled(u.mouseEnter,f,n,i);return v.type="mouseenter",v.target=m,v.relatedTarget=p,r.accumulateEnterLeaveDispatches(g,v,d,f),[g,v]}};t.exports=c},function(t,e,n){"use strict";function i(t,e,n,i){return r.call(this,t,e,n,i)}var r=n(192),o=n(193),a=n(194),s={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:a,button:function(t){var e=t.button;return"which"in t?e:2===e?2:4===e?1:0},buttons:null,relatedTarget:function(t){return t.relatedTarget||(t.fromElement===t.srcElement?t.toElement:t.fromElement)},pageX:function(t){return"pageX"in t?t.pageX:t.clientX+o.currentScrollLeft},pageY:function(t){return"pageY"in t?t.pageY:t.clientY+o.currentScrollTop}};r.augmentClass(i,s),t.exports=i},function(t,e,n){"use strict";function i(t,e,n,i){return r.call(this,t,e,n,i)}var r=n(175),o=n(186),a={view:function(t){if(t.view)return t.view;var e=o(t);if(e.window===e)return e;var n=e.ownerDocument;return n?n.defaultView||n.parentWindow:window},detail:function(t){return t.detail||0}};r.augmentClass(i,a),t.exports=i},function(t,e){"use strict";var n={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(t){n.currentScrollLeft=t.x,n.currentScrollTop=t.y}};t.exports=n},function(t,e){"use strict";function n(t){var e=this,n=e.nativeEvent;if(n.getModifierState)return n.getModifierState(t);var i=r[t];return!!i&&!!n[i]}function i(t){return n}var r={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};t.exports=i},function(t,e,n){"use strict";var i=n(159),r=i.injection.MUST_USE_PROPERTY,o=i.injection.HAS_BOOLEAN_VALUE,a=i.injection.HAS_NUMERIC_VALUE,s=i.injection.HAS_POSITIVE_NUMERIC_VALUE,l=i.injection.HAS_OVERLOADED_BOOLEAN_VALUE,u={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+i.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:o,allowTransparency:0,alt:0,async:o,autoComplete:0,autoPlay:o,capture:o,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:r|o,cite:0,classID:0,className:0,cols:s,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:o,coords:0,crossOrigin:0,data:0,dateTime:0,"default":o,defer:o,dir:0,disabled
!d&&!h){var t=l.refreshScrollValues;v.ReactEventListener.monitorScrollValue(t),h=!0}}});t.exports=v},function(t,e,n){"use strict";function i(t){r.enqueueEvents(t),r.processEventQueue(!1)}var r=n(165),o={handleTopLevel:function(t,e,n,o){var a=r.extractEvents(t,e,n,o);i(a)}};t.exports=o},function(t,e,n){"use strict";function i(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n["ms"+t]="MS"+e,n["O"+t]="o"+e.toLowerCase(),n}function r(t){if(s[t])return s[t];if(!a[t])return t;var e=a[t];for(var n in e)if(e.hasOwnProperty(n)&&n in l)return s[t]=e[n];return""}var o=n(171),a={animationend:i("Animation","AnimationEnd"),animationiteration:i("Animation","AnimationIteration"),animationstart:i("Animation","AnimationStart"),transitionend:i("Transition","TransitionEnd")},s={},l={};o.canUseDOM&&(l=document.createElement("div").style,"AnimationEvent"in window||(delete a.animationend.animation,delete a.animationiteration.animation,delete a.animationstart.animation),"TransitionEvent"in window||delete a.transitionend.transition),t.exports=r},function(t,e,n){"use strict";var i=n(227),r={getHostProps:i.getHostProps};t.exports=r},function(t,e){"use strict";var n={onClick:!0,onDoubleClick:!0,onMouseDown:!0,onMouseMove:!0,onMouseUp:!0,onClickCapture:!0,onDoubleClickCapture:!0,onMouseDownCapture:!0,onMouseMoveCapture:!0,onMouseUpCapture:!0},i={getHostProps:function(t,e){if(!e.disabled)return e;var i={};for(var r in e)!n[r]&&e.hasOwnProperty(r)&&(i[r]=e[r]);return i}};t.exports=i},function(t,e,n){"use strict";function i(){this._rootNodeID&&x.updateWrapper(this)}function r(t){var e="checkbox"===t.type||"radio"===t.type;return e?void 0!==t.checked:void 0!==t.value}function o(t){var e=this._currentElement.props,n=c.executeOnChange(e,t);f.asap(i,this);var r=e.name;if("radio"===e.type&&null!=r){for(var o=d.getNodeFromInstance(this),s=o;s.parentNode;)s=s.parentNode;for(var l=s.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),u=0;u<l.length;u++){var h=l[u];if(h!==o&&h.form===o.form){var p=d.getInstanceFromNode(h);p?void 0:a("90"),f.asap(i,p)}}}return n}var a=n(129),s=n(126),l=n(227),u=n(221),c=n(229),d=n(158),f=n(178),h=n(130),p=n(133),m=!1,g=!1,v=!1,y=!1,b=!1,_=!1,x={getHostProps:function(t,e){var n=c.getValue(e),i=c.getChecked(e),r=s({type:void 0,step:void 0,min:void 0,max:void 0},l.getHostProps(t,e),{defaultChecked:void 0,defaultValue:void 0,value:null!=n?n:t._wrapperState.initialValue,checked:null!=i?i:t._wrapperState.initialChecked,onChange:t._wrapperState.onChange});return r},mountWrapper:function(t,e){var n,i=e.defaultValue;t._wrapperState={initialChecked:null!=e.checked?e.checked:e.defaultChecked,initialValue:null!=e.value?e.value:i,listeners:null,onChange:o.bind(t)}},updateWrapper:function(t){var e=t._currentElement.props,n,i,r=e.checked;null!=r&&u.setValueForProperty(d.getNodeFromInstance(t),"checked",r||!1);var o=d.getNodeFromInstance(t),a=c.getValue(e);if(null!=a){var s=""+a;s!==o.value&&(o.value=s)}else null==e.value&&null!=e.defaultValue&&(o.defaultValue=""+e.defaultValue),null==e.checked&&null!=e.defaultChecked&&(o.defaultChecked=!!e.defaultChecked)},postMountWrapper:function(t){var e=t._currentElement.props,n=d.getNodeFromInstance(t);switch(e.type){case"submit":case"reset":break;case"color":case"date":case"datetime":case"datetime-local":case"month":case"time":case"week":n.value="",n.value=n.defaultValue;break;default:n.value=n.value}var i=n.name;""!==i&&(n.name=""),n.defaultChecked=!n.defaultChecked,n.defaultChecked=!n.defaultChecked,""!==i&&(n.name=i)}};t.exports=x},function(t,e,n){"use strict";function i(t){null!=t.checkedLink&&null!=t.valueLink?s("87"):void 0}function r(t){i(t),null!=t.value||null!=t.onChange?s("88"):void 0}function o(t){i(t),null!=t.checked||null!=t.onChange?s("89"):void 0}function a(t){if(t){var e=t.getName();if(e)return" Check the render method of `"+e+"`."}return""}var s=n(129),l=n(149),u=n(144),c=n(150),d=n(130),f=n(133),h={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},p={value:function(t,e,n){return!t[e]||h[t.type]||
t._hostParent}function a(t,e,n){for(var i=[];t;)i.push(t),t=t._hostParent;var r;for(r=i.length;r-- >0;)e(i[r],!1,n);for(r=0;r<i.length;r++)e(i[r],!0,n)}function s(t,e,n,r,o){for(var a=t&&e?i(t,e):null,s=[];t&&t!==a;)s.push(t),t=t._hostParent;for(var l=[];e&&e!==a;)l.push(e),e=e._hostParent;var u;for(u=0;u<s.length;u++)n(s[u],!0,r);for(u=l.length;u-- >0;)n(l[u],!1,o)}var l=n(129),u=n(130);t.exports={isAncestor:r,getLowestCommonAncestor:i,getParentInstance:o,traverseTwoPhase:a,traverseEnterLeave:s}},function(t,e,n){"use strict";var i=n(129),r=n(126),o=n(197),a=n(198),s=n(158),l=n(203),u=n(130),c=n(250),d=function(t){this._currentElement=t,this._stringText=""+t,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null};r(d.prototype,{mountComponent:function(t,e,n,i){var r,o=n._idCounter++,u=" react-text: "+o+" ",c=" /react-text ";if(this._domID=o,this._hostParent=e,t.useCreateElement){var d=n._ownerDocument,f=d.createComment(u),h=d.createComment(c),p=a(d.createDocumentFragment());return a.queueChild(p,a(f)),this._stringText&&a.queueChild(p,a(d.createTextNode(this._stringText))),a.queueChild(p,a(h)),s.precacheNode(this,f),this._closingComment=h,p}var m=l(this._stringText);return t.renderToStaticMarkup?m:"<!--"+u+"-->"+m+"<!--"+c+"-->"},receiveComponent:function(t,e){if(t!==this._currentElement){this._currentElement=t;var n=""+t;if(n!==this._stringText){this._stringText=n;var i=this.getHostNode();o.replaceDelimitedText(i[0],i[1],n)}}},getHostNode:function(){var t=this._commentNodes;if(t)return t;if(!this._closingComment)for(var e=s.getNodeFromInstance(this),n=e.nextSibling;;){if(null==n?i("67",this._domID):void 0,8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return t=[this._hostNode,this._closingComment],this._commentNodes=t,t},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,s.uncacheNode(this)}}),t.exports=d},function(t,e,n){"use strict";function i(){this.reinitializeTransaction()}var r=n(126),o=n(178),a=n(185),s=n(134),l={initialize:s,close:function(){f.isBatchingUpdates=!1}},u={initialize:s,close:o.flushBatchedUpdates.bind(o)},c=[u,l];r(i.prototype,a.Mixin,{getTransactionWrappers:function(){return c}});var d=new i,f={isBatchingUpdates:!1,batchedUpdates:function(t,e,n,i,r,o){var a=f.isBatchingUpdates;f.isBatchingUpdates=!0,a?t(e,n,i,r,o):d.perform(t,null,e,n,i,r,o)}};t.exports=f},function(t,e,n){"use strict";function i(t){for(;t._hostParent;)t=t._hostParent;var e=d.getNodeFromInstance(t),n=e.parentNode;return d.getClosestInstanceFromNode(n)}function r(t,e){this.topLevelType=t,this.nativeEvent=e,this.ancestors=[]}function o(t){var e=h(t.nativeEvent),n=d.getClosestInstanceFromNode(e),r=n;do t.ancestors.push(r),r=r&&i(r);while(r);for(var o=0;o<t.ancestors.length;o++)n=t.ancestors[o],m._handleTopLevel(t.topLevelType,n,t.nativeEvent,h(t.nativeEvent))}function a(t){var e=p(window);t(e)}var s=n(126),l=n(256),u=n(171),c=n(128),d=n(158),f=n(178),h=n(186),p=n(257);s(r.prototype,{destructor:function(){this.topLevelType=null,this.nativeEvent=null,this.ancestors.length=0}}),c.addPoolingTo(r,c.twoArgumentPooler);var m={_enabled:!0,_handleTopLevel:null,WINDOW_HANDLE:u.canUseDOM?window:null,setHandleTopLevel:function(t){m._handleTopLevel=t},setEnabled:function(t){m._enabled=!!t},isEnabled:function(){return m._enabled},trapBubbledEvent:function(t,e,n){var i=n;return i?l.listen(i,e,m.dispatchEvent.bind(null,t)):null},trapCapturedEvent:function(t,e,n){var i=n;return i?l.capture(i,e,m.dispatchEvent.bind(null,t)):null},monitorScrollValue:function(t){var e=a.bind(null,t);l.listen(window,"scroll",e)},dispatchEvent:function(t,e){if(m._enabled){var n=r.getPooled(t,e);try{f.batchedUpdates(o,n)}finally{r.release(n)}}}};t.exports=m},function(t,e,n){"use strict";var i=n(134),r={listen:function o(t,e,n){return t.addEventListener?(t.addEventListener(e,n,!1),{remove:function i(){t.removeEventListener(e,n,!1)}}):t.attachEvent?(t.attachEvent("on"+e,n),{remove:function r(){t.detachEvent("on"+e,n)}}):void 0},capture:f
var a=C(W,null,null,null,null,null,e),s;if(t){var l=T.get(t);s=l._processChildContext(l._context)}else s=N;var c=p(n);if(c){var d=c._currentElement,f=d.props;if(I(f,e)){var h=c._renderedComponent.getPublicInstance(),g=i&&function(){i.call(h)};return q._updateRootComponent(c,a,s,n,g),h}q.unmountComponentAtNode(n)}var v=r(n),y=v&&!!o(v),b=u(n),_,x=y&&!c&&!b,w=q._renderNewRootComponent(a,n,x,s)._renderedComponent.getPublicInstance();return i&&i.call(w),w},render:function(t,e,n){return q._renderSubtreeIntoContainer(null,t,e,n)},unmountComponentAtNode:function(t){d(t)?void 0:m("40");var e=p(t);if(!e){var n=u(t),i=1===t.nodeType&&t.hasAttribute(L);return!1}return delete B[e._instance.rootID],O.batchedUpdates(l,e,t,!1),!0},_mountImageIntoNode:function(t,e,n,o,a){if(d(e)?void 0:m("41"),o){var s=r(e);if(E.canReuseMarkup(t,s))return void _.precacheNode(n,s);var l=s.getAttribute(E.CHECKSUM_ATTR_NAME);s.removeAttribute(E.CHECKSUM_ATTR_NAME);var u=s.outerHTML;s.setAttribute(E.CHECKSUM_ATTR_NAME,l);var c=t,f,h=i(c,u),p=" (client) "+c.substring(h-20,h+20)+"\n (server) "+u.substring(h-20,h+20);e.nodeType===Q?m("42",p):void 0}if(e.nodeType===Q?m("43"):void 0,a.useCreateElement){for(;e.lastChild;)e.removeChild(e.lastChild);g.insertTreeBefore(e,t,null)}else A(e,t),_.precacheNode(n,e.firstChild);var v}};t.exports=q},function(t,e,n){"use strict";function i(t,e){var n={_topLevelWrapper:t,_idCounter:1,_ownerDocument:e?e.nodeType===o?e:e.ownerDocument:null,_node:e,_tag:e?e.nodeName.toLowerCase():null,_namespaceURI:e?e.namespaceURI:null};return n}var r=n(250),o=9;t.exports=i},function(t,e){"use strict";var n={useCreateElement:!0};t.exports=n},function(t,e,n){"use strict";var i=n(284),r=/\/?>/,o=/^<\!\-\-/,a={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(t){var e=i(t);return o.test(t)?t:t.replace(r," "+a.CHECKSUM_ATTR_NAME+'="'+e+'"$&')},canReuseMarkup:function(t,e){var n=e.getAttribute(a.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var r=i(t);return r===n}};t.exports=a},function(t,e){"use strict";function n(t){for(var e=1,n=0,r=0,o=t.length,a=o&-4;r<a;){for(var s=Math.min(r+4096,a);r<s;r+=4)n+=(e+=t.charCodeAt(r))+(e+=t.charCodeAt(r+1))+(e+=t.charCodeAt(r+2))+(e+=t.charCodeAt(r+3));e%=i,n%=i}for(;r<o;r++)n+=e+=t.charCodeAt(r);return e%=i,n%=i,e|n<<16}var i=65521;t.exports=n},function(t,e,n){"use strict";function i(t){var e;if(null==t)return null;if(1===t.nodeType)return t;var n=s.get(t);return n?(n=l(n),n?a.getNodeFromInstance(n):null):void("function"==typeof t.render?r("44"):r("45",Object.keys(t)))}var r=n(129),o=n(132),a=n(158),s=n(235),l=n(286),u=n(130),c=n(133);t.exports=i},function(t,e,n){"use strict";function i(t){for(var e;(e=t._renderedNodeType)===r.COMPOSITE;)t=t._renderedComponent;return e===r.HOST?t._renderedComponent:e===r.EMPTY?null:void 0}var r=n(239);t.exports=i},function(t,e,n){"use strict";var i=n(280);t.exports=i.renderSubtreeIntoContainer},function(t,e,n){(function(e){t.exports=e.Redux=n(289)}).call(e,function(){return this}())},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var r=n(290),o=i(r),a=n(292),s=i(a),l=n(295),u=i(l),c=n(296),d=i(c),f=n(297),h=i(f);e.createStore=o["default"],e.combineReducers=s["default"],e.bindActionCreators=u["default"],e.applyMiddleware=d["default"],e.compose=h["default"]},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}function r(t,e){function n(){return u}function i(t){c.push(t);var e=!0;return function n(){if(e){e=!1;var n=c.indexOf(t);c.splice(n,1)}}}function r(t){if(!a["default"](t))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"==typeof t.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(d)throw new Error("Reducers may not dispatch actions.");try{d=!0,u=l(u,t)}finally{d=!1}return c.slice().forEach(function(t){return t()}),t}function o(t){l=t,r({type:s.INIT})}if("function"!=typeof t)throw new Error("Expected the reducer to be a function.");var l=t,u=e,c=[],d=!1;return r({typ
return t&&t.__esModule?t:{"default":t}}function r(t){return c.stringify(t).replace(/%20/g,"+")}function o(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&"object"==typeof t[e]&&!Array.isArray(t[e])&&null!==t[e])return!0;return!1}function a(t){return function(){function e(t){if(null==t.query){var e=t.search;t.query=w(e.substring(1)),t[g]={search:e,searchBase:""}}return t}function n(t,e){var n,i=t[g],r=e?x(e):"";if(!i&&!r)return t;"string"==typeof t&&(t=h.parsePath(t));var o=void 0;o=i&&t.search===i.search?i.searchBase:t.search||"";var a=o;return r&&(a+=(a?"&":"?")+r),s({},t,(n={search:a},n[g]={search:a,searchBase:o},n))}function i(t){return _.listenBefore(function(n,i){f["default"](t,e(n),i)})}function o(t){return _.listen(function(n){t(e(n))})}function a(t){_.push(n(t,t.query))}function l(t){_.replace(n(t,t.query))}function u(t,e){return _.createPath(n(t,e||t.query))}function c(t,e){return _.createHref(n(t,e||t.query))}function d(t){for(var i=arguments.length,r=Array(i>1?i-1:0),o=1;o<i;o++)r[o-1]=arguments[o];var a=_.createLocation.apply(_,[n(t,t.query)].concat(r));return t.query&&(a.query=t.query),e(a)}function p(t,e,n){"string"==typeof e&&(e=h.parsePath(e)),a(s({state:t},e,{query:n}))}function y(t,e,n){"string"==typeof e&&(e=h.parsePath(e)),l(s({state:t},e,{query:n}))}var b=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],_=t(b),x=b.stringifyQuery,w=b.parseQueryString;return"function"!=typeof x&&(x=r),"function"!=typeof w&&(w=v),s({},_,{listenBefore:i,listen:o,push:a,replace:l,createPath:u,createHref:c,createLocation:d,pushState:m["default"](p,"pushState is deprecated; use push instead"),replaceState:m["default"](y,"replaceState is deprecated; use replace instead")})}}e.__esModule=!0;var s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},l=n(11),u=i(l),c=n(328),d=n(22),f=i(d),h=n(10),p=n(23),m=i(p),g="$searchBase",v=c.parse;e["default"]=a,t.exports=e["default"]},function(t,e,n){"use strict";var i=n(329);e.extract=function(t){return t.split("?")[1]||""},e.parse=function(t){return"string"!=typeof t?{}:(t=t.trim().replace(/^(\?|#|&)/,""),t?t.split("&").reduce(function(t,e){var n=e.replace(/\+/g," ").split("="),i=n.shift(),r=n.length>0?n.join("="):void 0;return i=decodeURIComponent(i),r=void 0===r?null:decodeURIComponent(r),t.hasOwnProperty(i)?Array.isArray(t[i])?t[i].push(r):t[i]=[t[i],r]:t[i]=r,t},{}):{})},e.stringify=function(t){return t?Object.keys(t).sort().map(function(e){var n=t[e];return void 0===n?"":null===n?e:Array.isArray(n)?n.slice().sort().map(function(t){return i(e)+"="+i(t)}).join("&"):i(e)+"="+i(n)}).filter(function(t){return t.length>0}).join("&"):""}},function(t,e){"use strict";t.exports=function(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}function r(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!0;return!1}function o(t,e){function n(e){var n=!(arguments.length<=1||void 0===arguments[1])&&arguments[1],i=arguments.length<=2||void 0===arguments[2]?null:arguments[2],r=void 0;return n&&n!==!0||null!==i?(e={pathname:e,query:n},r=i||!1):(e=t.createLocation(e),r=n),(0,h["default"])(e,r,b.location,b.routes,b.params)}function i(t,n){_&&_.location===t?o(_,n):(0,v["default"])(e,t,function(e,i){e?n(e):i?o(a({},i,{location:t}),n):n()})}function o(t,e){function n(n,r){return n||r?i(n,r):void(0,m["default"])(t,function(n,i){n?e(n):e(null,null,b=a({},t,{components:i}))})}function i(t,n){t?e(t):e(null,n)}var r=(0,c["default"])(b,t),o=r.leaveRoutes,s=r.changeRoutes,l=r.enterRoutes;(0,d.runLeaveHooks)(o,b),o.filter(function(t){return l.indexOf(t)===-1}).forEach(p),(0,d.runChangeHooks)(s,b,t,function(e,r){return e||r?i(e,r):void(0,d.runEnterHooks)(l,t,n)})}function s(t){var e=arguments.length<=1||void 0===arguments[1]||arguments[1];return t.__id__||e&&(t.__id__=x++)}function l(t){return t.reduce(function(t,e)
locationBeforeTransitions:a}):t}Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t};e.routerReducer=n;var r=e.LOCATION_CHANGE="@@router/LOCATION_CHANGE",o={locationBeforeTransitions:null}},function(t,e){"use strict";function n(t){return function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return{type:i,payload:{method:t,args:n}}}}Object.defineProperty(e,"__esModule",{value:!0});var i=e.CALL_HISTORY_METHOD="@@router/CALL_HISTORY_METHOD",r=e.push=n("push"),o=e.replace=n("replace"),a=e.go=n("go"),s=e.goBack=n("goBack"),l=e.goForward=n("goForward"),u=e.routerActions={push:r,replace:o,go:a,goBack:s,goForward:l}},function(t,e,n){"use strict";function i(t,e){var n=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],i=n.selectLocationState,s=void 0===i?a:i,l=n.adjustUrlOnReplay,u=void 0===l||l;if("undefined"==typeof s(e.getState()))throw new Error("Expected the routing state to be available either as `state.routing` or as the custom expression you can specify as `selectLocationState` in the `syncHistoryWithStore()` options. Ensure you have added the `routerReducer` to your store's reducers via `combineReducers` or whatever method you use to isolate your reducers.");var c=void 0,d=void 0,f=void 0,h=void 0,p=function y(t){var n=s(e.getState());return n.locationBeforeTransitions||(t?c:void 0)},m=p();if(u){var g=function b(){var e=p(!0);m!==e&&(d=!0,m=e,t.transitionTo(r({},e,{action:"PUSH"})),d=!1)};f=e.subscribe(g),g()}var v=function _(t){d||(m=t,!c&&(c=t,p())||e.dispatch({type:o.LOCATION_CHANGE,payload:t}))};return h=t.listen(v),r({},t,{listen:function x(t){var n=p(!0),i=!1,r=e.subscribe(function(){var e=p(!0);e!==n&&(n=e,i||t(n))});return t(n),function(){i=!0,r()}},unsubscribe:function w(){u&&f(),h()}})}Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t};e["default"]=i;var o=n(365),a=function s(t){return t.routing}},function(t,e,n){"use strict";function i(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function r(t){return function(){return function(e){return function(n){if(n.type!==o.CALL_HISTORY_METHOD)return e(n);var r=n.payload,a=r.method,s=r.args;t[a].apply(t,i(s))}}}}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=r;var o=n(366)},function(t,e,n){n(370)(n(371))},function(t,e){t.exports=function(t){"undefined"!=typeof execScript?execScript(t):eval.call(null,t)}},function(t,e){t.exports='/*!\n * jQuery JavaScript Library v1.7.2\n * http://jquery.com/\n *\n * Copyright 2011, John Resig\n * Dual licensed under the MIT or GPL Version 2 licenses.\n * http://jquery.org/license\n *\n * Includes Sizzle.js\n * http://sizzlejs.com/\n * Copyright 2011, The Dojo Foundation\n * Released under the MIT, BSD, and GPL Licenses.\n *\n * Date: Wed Mar 21 12:46:34 2012 -0700\n */\n(function( window, undefined ) {\n\n// Use the correct document accordingly with window argument (sandbox)\nvar document = window.document,\n\tnavigator = window.navigator,\n\tlocation = window.location;\nvar jQuery = (function() {\n\n// Define a local copy of jQuery\nvar jQuery = function( selector, context ) {\n\t\t// The jQuery object is actually just the init constructor \'enhanced\'\n\t\treturn new jQuery.fn.init( selector, context, rootjQuery );\n\t},\n\n\t// Map over jQuery in case of overwrite\n\t_jQuery = window.jQuery,\n\n\t// Map over the $ in case of overwrite\n\t_$ = window.$,\n\n\t// A central reference to the root jQuery(document)\n\trootjQuery,\n\n\t// A simple way to check for HTML strings or ID strings\n\t// Prioritize #id over <tag> to avoid XSS via location.hash (#9521)\n\tquickExpr = /^(?:[^#<]*(<[\\w\\W]+>)[^>]*$|#([\\w\\-]*)$)/,\n\n\t// Check if a string has a non-whitespace character in it\n\trnotwhite = /\\S/,\n\n
},function(t,e,n){(function(e){t.exports=e.jQuery=n(373)}).call(e,function(){return this}())},function(t,e){"use strict";var n="undefined"!=typeof window.jQuery?window.jQuery:null;t.exports=n},function(t,e,n){(function(e){t.exports=e.ReactBootstrap=n(375)}).call(e,function(){return this}())},function(t,e,n){"use strict";function i(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0,e.utils=e.Well=e.Tooltip=e.Thumbnail=e.Tabs=e.TabPane=e.Table=e.TabContent=e.TabContainer=e.Tab=e.SplitButton=e.SafeAnchor=e.Row=e.ResponsiveEmbed=e.Radio=e.ProgressBar=e.Popover=e.PanelGroup=e.Panel=e.Pagination=e.Pager=e.PageItem=e.PageHeader=e.OverlayTrigger=e.Overlay=e.NavItem=e.NavDropdown=e.NavbarBrand=e.Navbar=e.Nav=e.ModalTitle=e.ModalHeader=e.ModalFooter=e.ModalBody=e.Modal=e.MenuItem=e.Media=e.ListGroupItem=e.ListGroup=e.Label=e.Jumbotron=e.InputGroup=e.Image=e.HelpBlock=e.Grid=e.Glyphicon=e.FormGroup=e.FormControl=e.Form=e.Fade=e.DropdownButton=e.Dropdown=e.Collapse=e.Col=e.ControlLabel=e.Clearfix=e.Checkbox=e.CarouselItem=e.Carousel=e.ButtonToolbar=e.ButtonGroup=e.Button=e.BreadcrumbItem=e.Breadcrumb=e.Badge=e.Alert=e.Accordion=void 0;var o=n(376),a=r(o),s=n(472),l=r(s),u=n(476),c=r(u),d=n(477),f=r(d),h=n(478),p=r(h),m=n(482),g=r(m),v=n(483),y=r(v),b=n(485),_=r(b),x=n(486),w=r(x),C=n(488),k=r(C),T=n(491),j=r(T),E=n(493),S=r(E),P=n(495),O=r(P),N=n(496),D=r(N),M=n(497),A=r(M),I=n(510),R=r(I),F=n(536),L=r(F),H=n(538),Q=r(H),U=n(539),B=r(U),z=n(540),W=r(z),q=n(543),$=r(q),V=n(490),K=r(V),X=n(544),Y=r(X),G=n(545),J=r(G),Z=n(546),tt=r(Z),et=n(547),nt=r(et),it=n(550),rt=r(it),ot=n(551),at=r(ot),st=n(552),lt=r(st),ut=n(553),ct=r(ut),dt=n(554),ft=r(dt),ht=n(561),pt=r(ht),mt=n(562),gt=r(mt),vt=n(580),yt=r(vt),bt=n(582),_t=r(bt),xt=n(583),wt=r(xt),Ct=n(584),kt=r(Ct),Tt=n(585),jt=r(Tt),Et=n(586),St=r(Et),Pt=n(587),Ot=r(Pt),Nt=n(591),Dt=r(Nt),Mt=n(592),At=r(Mt),It=n(593),Rt=r(It),Ft=n(602),Lt=r(Ft),Ht=n(603),Qt=r(Ht),Ut=n(604),Bt=r(Ut),zt=n(607),Wt=r(zt),qt=n(608),$t=r(qt),Vt=n(610),Kt=r(Vt),Xt=n(460),Yt=r(Xt),Gt=n(611),Jt=r(Gt),Zt=n(612),te=r(Zt),ee=n(613),ne=r(ee),ie=n(614),re=r(ie),oe=n(615),ae=r(oe),se=n(479),le=r(se),ue=n(616),ce=r(ue),de=n(618),fe=r(de),he=n(619),pe=r(he),me=n(620),ge=r(me),ve=n(622),ye=r(ve),be=n(621),_e=r(be),xe=n(623),we=r(xe),Ce=n(624),ke=r(Ce),Te=n(625),je=r(Te),Ee=n(626),Se=r(Ee),Pe=n(627),Oe=i(Pe);e.Accordion=a["default"],e.Alert=l["default"],e.Badge=c["default"],e.Breadcrumb=f["default"],e.BreadcrumbItem=p["default"],e.Button=g["default"],e.ButtonGroup=y["default"],e.ButtonToolbar=_["default"],e.Carousel=w["default"],e.CarouselItem=k["default"],e.Checkbox=j["default"],e.Clearfix=S["default"],e.ControlLabel=O["default"],e.Col=D["default"],e.Collapse=A["default"],e.Dropdown=R["default"],e.DropdownButton=L["default"],e.Fade=Q["default"],e.Form=B["default"],e.FormControl=W["default"],e.FormGroup=$["default"],e.Glyphicon=K["default"],e.Grid=Y["default"],e.HelpBlock=J["default"],e.Image=tt["default"],e.InputGroup=nt["default"],e.Jumbotron=rt["default"],e.Label=at["default"],e.ListGroup=lt["default"],e.ListGroupItem=ct["default"],e.Media=ft["default"],e.MenuItem=pt["default"],e.Modal=gt["default"],e.ModalBody=yt["default"],e.ModalFooter=_t["default"],e.ModalHeader=wt["default"],e.ModalTitle=kt["default"],e.Nav=jt["default"],e.Navbar=St["default"],e.NavbarBrand=Ot["default"],e.NavDropdown=Dt["default"],e.NavItem=At["default"],e.Overlay=Rt["default"],e.OverlayTrigger=Lt["default"],e.PageHeader=Qt["default"],e.PageItem=Bt["default"],e.Pager=Wt["default"],e.Pagination=$t["default"],e.Panel=Kt["default"],e.PanelGroup=Yt["default"],e.Popover=Jt["default"],e.ProgressBar=te["default"],e.Radio=ne["default"],e.ResponsiveEmbed=re["default"],e.Row=ae["default"],e.SafeAnchor=le["default"],e.SplitButton=ce["default"],e.Tab=fe["default"],e.TabContainer=pe["default"],e.TabContent=ge["default"],e.Table=ye["default"],e.TabPane=_e["default"],e.Tabs=we["default"],e.Thumbnail=ke["d
2016-09-14 14:07:13 +02:00
Copyright (c) 2016 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
!function(){"use strict";function n(){for(var t=[],e=0;e<arguments.length;e++){var i=arguments[e];if(i){var r=typeof i;if("string"===r||"number"===r)t.push(i);else if(Array.isArray(i))t.push(n.apply(null,i));else if("object"===r)for(var a in i)o.call(i,a)&&i[a]&&t.push(a)}}return t.join(" ")}var o={}.hasOwnProperty;"undefined"!=typeof t&&t.exports?t.exports=n:(i=[],r=function(){return n}.apply(e,i),!(void 0!==r&&(t.exports=r)))}()},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}function r(t){return function(){for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];var r=n[n.length-1];return"function"==typeof r?t.apply(void 0,n):function(e){return t.apply(void 0,n.concat([e]))}}}function o(t,e){return null==t.bsClass?(0,v["default"])(!1):void 0,t.bsClass+(e?"-"+e:"")}function a(t){var e,n=(e={},e[o(t)]=!0,e);if(t.bsSize){var i=b.SIZE_MAP[t.bsSize]||t.bsSize;n[o(t,i)]=!0}return t.bsStyle&&(n[o(t,t.bsStyle)]=!0),n}function s(t){return{bsClass:t.bsClass,bsSize:t.bsSize,bsStyle:t.bsStyle,bsRole:t.bsRole}}function l(t){return"bsClass"===t||"bsSize"===t||"bsStyle"===t||"bsRole"===t}function u(t){var e={};return(0,h["default"])(t).forEach(function(t){var n=t[0],i=t[1];l(n)||(e[n]=i)}),[s(t),e]}function c(t,e){var n={};e.forEach(function(t){n[t]=!0});var i={};return(0,h["default"])(t).forEach(function(t){var e=t[0],r=t[1];l(e)||n[e]||(i[e]=r)}),[s(t),i]}function d(t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];x(n,t)}e.__esModule=!0,e._curry=e.bsSizes=e.bsStyles=e.bsClass=void 0;var f=n(464),h=i(f),p=n(377),m=i(p);e.prefix=o,e.getClassSet=a,e.splitBsProps=u,e.splitBsPropsAndOmit=c,e.addStyle=d;var g=n(468),v=i(g),y=n(3),b=n(469),_=e.bsClass=r(function(t,e){var n=e.propTypes||(e.propTypes={}),i=e.defaultProps||(e.defaultProps={});return n.bsClass=y.PropTypes.string,i.bsClass=t,e}),x=e.bsStyles=r(function(t,e,n){"string"!=typeof e&&(n=e,e=void 0);var i=n.STYLES||[],r=n.propTypes||{};t.forEach(function(t){i.indexOf(t)===-1&&i.push(t)});var o=y.PropTypes.oneOf(i);if(n.STYLES=o._values=i,n.propTypes=(0,m["default"])({},r,{bsStyle:o}),void 0!==e){var a=n.defaultProps||(n.defaultProps={});a.bsStyle=e}return n}),w=e.bsSizes=r(function(t,e,n){"string"!=typeof e&&(n=e,e=void 0);var i=n.SIZES||[],r=n.propTypes||{};t.forEach(function(t){i.indexOf(t)===-1&&i.push(t)});var o=[];i.forEach(function(t){var e=b.SIZE_MAP[t];e&&e!==t&&o.push(e),o.push(t)});var a=y.PropTypes.oneOf(o);return a._values=o,n.SIZES=i,n.propTypes=(0,m["default"])({},r,{bsSize:a}),void 0!==e&&(n.defaultProps||(n.defaultProps={}),n.defaultProps.bsSize=e),n}),C=e._curry=r},function(t,e,n){t.exports={"default":n(465),__esModule:!0}},function(t,e,n){n(466),t.exports=n(383).Object.entries},function(t,e,n){var i=n(381),r=n(467)(!0);i(i.S,"Object",{entries:function o(t){return r(t)}})},function(t,e,n){var i=n(397),r=n(400),o=n(413).f;t.exports=function(t){return function(e){for(var n=r(e),a=i(n),s=a.length,l=0,u=[],c;s>l;)o.call(n,c=a[l++])&&u.push(t?[c,n[c]]:n[c]);return u}}},function(t,e,n){"use strict";var i=function(t,e,n,i,r,o,a,s){if(!t){var l;if(void 0===e)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,i,r,o,a,s],c=0;l=new Error(e.replace(/%s/g,function(){return u[c++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}};t.exports=i},function(t,e){"use strict";e.__esModule=!0;var n=e.Size={LARGE:"large",SMALL:"small",XSMALL:"xsmall"},i=e.SIZE_MAP={large:"lg",medium:"md",small:"sm",xsmall:"xs",lg:"lg",md:"md",sm:"sm",xs:"xs"},r=e.DEVICE_SIZES=["lg","md","sm","xs"],o=e.State={SUCCESS:"success",WARNING:"warning",DANGER:"danger",INFO:"info"},a=e.Style={DEFAULT:"default",PRIMARY:"primary",LINK:"link",INVERSE:"inverse"}},function(t,e){"use strict";function n(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.filter(function(t){return null!=t}).reduce(function(t,e){if("function"!=typeof e)throw new Error("Invalid Argument Type, must only provide functions, undef
xsPull:v["default"].PropTypes.number,smPull:v["default"].PropTypes.number,mdPull:v["default"].PropTypes.number,lgPull:v["default"].PropTypes.number},C={componentClass:"div"},k=function(t){function e(){return(0,u["default"])(this,e),(0,d["default"])(this,t.apply(this,arguments))}return(0,h["default"])(e,t),e.prototype.render=function n(){var t=this.props,e=t.componentClass,n=t.className,i=(0,s["default"])(t,["componentClass","className"]),r=(0,_.splitBsProps)(i),a=r[0],l=r[1],u=[];return x.DEVICE_SIZES.forEach(function(t){function e(e,n){var i=""+t+e,r=l[i];null!=r&&u.push((0,_.prefix)(a,""+t+n+"-"+r)),delete l[i]}e("",""),e("Offset","-offset"),e("Push","-push"),e("Pull","-pull");var n=t+"Hidden";l[n]&&u.push("hidden-"+t),delete l[n]}),v["default"].createElement(e,(0,o["default"])({},l,{className:(0,m["default"])(n,u)}))},e}(v["default"].Component);k.propTypes=w,k.defaultProps=C,e["default"]=(0,_.bsClass)("col",k),t.exports=e["default"]},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}function r(t){t.offsetHeight}function o(t,e){var n=e["offset"+(0,T["default"])(t)],i=S[t];return n+parseInt((0,b["default"])(e,i[0]),10)+parseInt((0,b["default"])(e,i[1]),10)}e.__esModule=!0;var a=n(377),s=i(a),l=n(461),u=i(l),c=n(415),d=i(c),f=n(416),h=i(f),p=n(452),m=i(p),g=n(462),v=i(g),y=n(498),b=i(y),_=n(3),x=i(_),w=n(506),C=i(w),k=n(494),T=i(k),j=n(470),E=i(j),S={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]},P={"in":x["default"].PropTypes.bool,unmountOnExit:x["default"].PropTypes.bool,transitionAppear:x["default"].PropTypes.bool,timeout:x["default"].PropTypes.number,onEnter:x["default"].PropTypes.func,onEntering:x["default"].PropTypes.func,onEntered:x["default"].PropTypes.func,onExit:x["default"].PropTypes.func,onExiting:x["default"].PropTypes.func,onExited:x["default"].PropTypes.func,dimension:x["default"].PropTypes.oneOfType([x["default"].PropTypes.oneOf(["height","width"]),x["default"].PropTypes.func]),getDimensionValue:x["default"].PropTypes.func,role:x["default"].PropTypes.string},O={"in":!1,timeout:300,unmountOnExit:!1,transitionAppear:!1,dimension:"height",getDimensionValue:o},N=function(t){function e(n,i){(0,d["default"])(this,e);var r=(0,h["default"])(this,t.call(this,n,i));return r.handleEnter=r.handleEnter.bind(r),r.handleEntering=r.handleEntering.bind(r),r.handleEntered=r.handleEntered.bind(r),r.handleExit=r.handleExit.bind(r),r.handleExiting=r.handleExiting.bind(r),r}return(0,m["default"])(e,t),e.prototype.handleEnter=function n(t){var e=this._dimension();t.style[e]="0"},e.prototype.handleEntering=function i(t){var e=this._dimension();t.style[e]=this._getScrollDimensionValue(t,e)},e.prototype.handleEntered=function o(t){var e=this._dimension();t.style[e]=null},e.prototype.handleExit=function a(t){var e=this._dimension();t.style[e]=this.props.getDimensionValue(e,t)+"px"},e.prototype.handleExiting=function l(t){var e=this._dimension();r(t),t.style[e]="0"},e.prototype._dimension=function c(){return"function"==typeof this.props.dimension?this.props.dimension():this.props.dimension},e.prototype._getScrollDimensionValue=function f(t,e){return t["scroll"+(0,T["default"])(e)]+"px"},e.prototype.render=function p(){var t=this.props,e=t.onEnter,n=t.onEntering,i=t.onEntered,r=t.onExit,o=t.onExiting,a=t.className,l=(0,u["default"])(t,["onEnter","onEntering","onEntered","onExit","onExiting","className"]);delete l.dimension,delete l.getDimensionValue;var c=(0,E["default"])(this.handleEnter,e),d=(0,E["default"])(this.handleEntering,n),f=(0,E["default"])(this.handleEntered,i),h=(0,E["default"])(this.handleExit,r),p=(0,E["default"])(this.handleExiting,o),m={width:"width"===this._dimension()};return x["default"].createElement(C["default"],(0,s["default"])({},l,{"aria-expanded":l.role?l["in"]:null,className:(0,v["default"])(a,m),exitedClassName:"collapse",exitingClassName:"collapsing",enteredClassName:"collapse in",enteringClassName:"collapsing",onEnter:c,onEntering:d,onEntered:f,onExit:h,onExiting:p}))},e}(x["default"].Component);N.propTypes=P,N.defaultProps=O,e["default"]=N,t.expo
2016-09-14 14:07:13 +02:00
* Programatically add the following
*/
for(r=97;r<123;r++)n[String.fromCharCode(r)]=r-32;for(var r=48;r<58;r++)n[r-48]=r;for(r=1;r<13;r++)n["f"+r]=r+111;for(r=0;r<10;r++)n["numpad "+r]=r+96;var o=e.names=e.title={};for(r in n)o[n[r]]=r;for(var a in i)n[a]=i[a]},function(t,e){"use strict";function n(t){return function e(n,i,r,o,a){var s=r||"<<anonymous>>",l=a||i;if(null==n[i])return new Error("The "+o+" `"+l+"` is required to make "+("`"+s+"` accessible for users of assistive ")+"technologies such as screen readers.");for(var u=arguments.length,c=Array(u>5?u-5:0),d=5;d<u;d++)c[d-5]=arguments[d];return t.apply(void 0,[n,i,r,o,a].concat(c))}}e.__esModule=!0,e["default"]=n},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}function r(t,e,n,i,r){n&&(t._notifying=!0,n.call.apply(n,[t,i].concat(r)),t._notifying=!1),t._values[e]=i,t.isMounted()&&t.forceUpdate()}e.__esModule=!0;var o=n(517),a=i(o),s={shouldComponentUpdate:function l(){return!this._notifying}};e["default"]=(0,a["default"])([s],r),t.exports=e["default"]},function(t,e,n){"use strict";function i(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){function n(i,r){function o(t,n){var i=f.getLinkName(t),o=this.props[r[t]];i&&s(this.props,i)&&!o&&(o=this.props[i].requestChange);for(var a=arguments.length,l=Array(a>2?a-2:0),u=2;u<a;u++)l[u-2]=arguments[u];e(this,t,o,n,l)}function s(t,e){return void 0!==t[e]}function u(t){var e={};return f.each(t,function(t,n){y.indexOf(n)===-1&&(e[n]=t)}),e}var d=arguments.length<=2||void 0===arguments[2]?[]:arguments[2],h=i.displayName||i.name||"Component",p=f.getType(i).propTypes,m=f.isReactComponent(i),g=Object.keys(r),v,y=["valueLink","checkedLink"].concat(g.map(f.defaultKey));v=f.uncontrolledPropTypes(r,p,h),(0,c["default"])(m||!d.length,"[uncontrollable] stateless function components cannot pass through methods because they have no associated instances. Check component: "+h+", attempting to pass through methods: "+d.join(", ")),d=f.transform(d,function(t,e){t[e]=function(){var t;return(t=this.refs.inner)[e].apply(t,arguments)}},{});var b=l["default"].createClass(a({displayName:"Uncontrolled("+h+")",mixins:t,propTypes:v},d,{componentWillMount:function _(){var t=this,e=this.props;this._values={},g.forEach(function(n){t._values[n]=e[f.defaultKey(n)]})},componentWillReceiveProps:function x(t){var e=this,n=this.props;g.forEach(function(i){void 0===f.getValue(t,i)&&void 0!==f.getValue(n,i)&&(e._values[i]=t[f.defaultKey(i)])})},getControlledInstance:function w(){return this.refs.inner},render:function C(){var t=this,e={},n=u(this.props);return f.each(r,function(n,i){var r=f.getLinkName(i),a=t.props[i];r&&!s(t.props,i)&&s(t.props,r)&&(a=t.props[r].value),e[i]=void 0!==a?a:t._values[i],e[n]=o.bind(t,i)}),e=a({},n,e,{ref:m?"inner":null}),l["default"].createElement(i,e)}}));return b.ControlledComponent=i,b.deferControlTo=function(t){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=arguments[2];return n(t,a({},r,e),i)},b}return n}e.__esModule=!0;var a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t};e["default"]=o;var s=n(3),l=r(s),u=n(468),c=r(u),d=n(518),f=i(d);t.exports=e["default"]},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}function r(t,e){return function(n,i){if(void 0!==n[i]&&!n[t])return new Error("You have provided a `"+i+"` prop to `"+e+"` without an `"+t+"` handler. This will render a read-only field. If the field should be mutable use `"+c(i)+"`. Otherwise, set `"+t+"`")}}function o(t,e,n){var i={};return i}function a(t){return _[0]>=15||0===_[0]&&_[1]>=13?t:t.type}function s(t,e){var n=u(e);return n&&!l(t,e)&&l(t,n)?t[n].value:t[e]}function l(t,e){return void 0!==t[e]}function u(t){return"value"===t?"valueLink":"checked"===t?"checkedLink":null}function c(t){return"default"+t.charAt(0).toUpperCase()+t.substr(1)}f
c["default"])(this,e),(0,f["default"])(this,t.apply(this,arguments))}return(0,p["default"])(e,t),e.prototype.render=function n(){var t=this.props,e=t.children,n=t.componentClass,i=void 0===n?r(e):n,o=t.className,s=(0,l["default"])(t,["children","componentClass","className"]),u=(0,C.splitBsProps)(s),c=u[0],d=u[1],f=(0,C.getClassSet)(c),h="ul"===i&&T["default"].every(e,function(t){return t.type===w["default"]});return y["default"].createElement(i,(0,a["default"])({},d,{className:(0,g["default"])(o,f)}),h?T["default"].map(e,function(t){return(0,v.cloneElement)(t,{listItem:!0})}):e)},e}(y["default"].Component);E.propTypes=j,e["default"]=(0,C.bsClass)("list-group",E),t.exports=e["default"]},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var r=n(473),o=i(r),a=n(377),s=i(a),l=n(461),u=i(l),c=n(415),d=i(c),f=n(416),h=i(f),p=n(452),m=i(p),g=n(462),v=i(g),y=n(3),b=i(y),_=n(463),x=n(469),w={active:b["default"].PropTypes.any,disabled:b["default"].PropTypes.any,header:b["default"].PropTypes.node,listItem:b["default"].PropTypes.bool,onClick:b["default"].PropTypes.func,href:b["default"].PropTypes.string,type:b["default"].PropTypes.string},C={listItem:!1},k=function(t){function e(){return(0,d["default"])(this,e),(0,h["default"])(this,t.apply(this,arguments))}return(0,m["default"])(e,t),e.prototype.renderHeader=function n(t,e){return b["default"].isValidElement(t)?(0,y.cloneElement)(t,{className:(0,v["default"])(t.props.className,e)}):b["default"].createElement("h4",{className:e},t)},e.prototype.render=function i(){var t=this.props,e=t.active,n=t.disabled,i=t.className,r=t.header,o=t.listItem,a=t.children,l=(0,u["default"])(t,["active","disabled","className","header","listItem","children"]),c=(0,_.splitBsProps)(l),d=c[0],f=c[1],h=(0,s["default"])({},(0,_.getClassSet)(d),{active:e,disabled:n}),p=void 0;return f.href?p="a":f.onClick?(p="button",f.type=f.type||"button"):p=o?"li":"span",f.className=(0,v["default"])(i,h),r?b["default"].createElement(p,f,this.renderHeader(r,(0,_.prefix)(d,"heading")),b["default"].createElement("p",{className:(0,_.prefix)(d,"text")},a)):b["default"].createElement(p,f,a)},e}(b["default"].Component);k.propTypes=w,k.defaultProps=C,e["default"]=(0,_.bsClass)("list-group-item",(0,_.bsStyles)((0,o["default"])(x.State),k)),t.exports=e["default"]},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var r=n(377),o=i(r),a=n(461),s=i(a),l=n(415),u=i(l),c=n(416),d=i(c),f=n(452),h=i(f),p=n(462),m=i(p),g=n(3),v=i(g),y=n(480),b=i(y),_=n(555),x=i(_),w=n(556),C=i(w),k=n(557),T=i(k),j=n(558),E=i(j),S=n(559),P=i(S),O=n(560),N=i(O),D=n(463),M={componentClass:b["default"]},A={componentClass:"div"},I=function(t){function e(){return(0,u["default"])(this,e),(0,d["default"])(this,t.apply(this,arguments))}return(0,h["default"])(e,t),e.prototype.render=function n(){var t=this.props,e=t.componentClass,n=t.className,i=(0,s["default"])(t,["componentClass","className"]),r=(0,D.splitBsProps)(i),a=r[0],l=r[1],u=(0,D.getClassSet)(a);return v["default"].createElement(e,(0,o["default"])({},l,{className:(0,m["default"])(n,u)}))},e}(v["default"].Component);I.propTypes=M,I.defaultProps=A,I.Heading=C["default"],I.Body=x["default"],I.Left=T["default"],I.Right=N["default"],I.List=E["default"],I.ListItem=P["default"],e["default"]=(0,D.bsClass)("media",I),t.exports=e["default"]},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var r=n(377),o=i(r),a=n(461),s=i(a),l=n(415),u=i(l),c=n(416),d=i(c),f=n(452),h=i(f),p=n(462),m=i(p),g=n(3),v=i(g),y=n(480),b=i(y),_=n(463),x={componentClass:b["default"]},w={componentClass:"div"},C=function(t){function e(){return(0,u["default"])(this,e),(0,d["default"])(this,t.apply(this,arguments))}return(0,h["default"])(e,t),e.prototype.render=function n(){var t=this.props,e=t.componentClass,n=t.className,i=(0,s["default"])(t,["componentClass","className"]),r=(0,_.splitBsProps)(i),a=r[0],l=r[1],u=(0,_.getClassSet)(a);return v["default"].createElement(e,(0,o["default"])({},l,{className:
o["default"])({},f,{className:(0,m["default"])(r,h)}),n&&v["default"].createElement("button",{type:"button",className:"close","aria-label":e,onClick:(0,_["default"])(u.onHide,i)},v["default"].createElement("span",{"aria-hidden":"true"},"×")),a)},e}(v["default"].Component);k.propTypes=x,k.defaultProps=w,k.contextTypes=C,e["default"]=(0,y.bsClass)("modal-header",k),t.exports=e["default"]},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var r=n(377),o=i(r),a=n(461),s=i(a),l=n(415),u=i(l),c=n(416),d=i(c),f=n(452),h=i(f),p=n(462),m=i(p),g=n(3),v=i(g),y=n(463),b=function(t){function e(){return(0,u["default"])(this,e),(0,d["default"])(this,t.apply(this,arguments))}return(0,h["default"])(e,t),e.prototype.render=function n(){var t=this.props,e=t.className,n=(0,s["default"])(t,["className"]),i=(0,y.splitBsProps)(n),r=i[0],a=i[1],l=(0,y.getClassSet)(r);return v["default"].createElement("h4",(0,o["default"])({},a,{className:(0,m["default"])(e,l)}))},e}(v["default"].Component);e["default"]=(0,y.bsClass)("modal-title",b),t.exports=e["default"]},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var r=n(377),o=i(r),a=n(461),s=i(a),l=n(415),u=i(l),c=n(416),d=i(c),f=n(452),h=i(f),p=n(462),m=i(p),g=n(514),v=i(g),y=n(3),b=i(y),_=n(4),x=i(_),w=n(484),C=i(w),k=n(492),T=i(k),j=n(463),E=n(470),S=i(E),P=n(471),O=i(P),N={activeKey:b["default"].PropTypes.any,activeHref:b["default"].PropTypes.string,stacked:b["default"].PropTypes.bool,justified:(0,C["default"])(b["default"].PropTypes.bool,function(t){var e=t.justified,n=t.navbar;return e&&n?Error("justified navbar `Nav`s are not supported"):null}),onSelect:b["default"].PropTypes.func,role:b["default"].PropTypes.string,navbar:b["default"].PropTypes.bool,pullRight:b["default"].PropTypes.bool,pullLeft:b["default"].PropTypes.bool},D={justified:!1,pullRight:!1,pullLeft:!1,stacked:!1},M={$bs_navbar:b["default"].PropTypes.shape({bsClass:b["default"].PropTypes.string}),$bs_tabContainer:b["default"].PropTypes.shape({activeKey:b["default"].PropTypes.any,onSelect:b["default"].PropTypes.func.isRequired,getTabId:b["default"].PropTypes.func.isRequired,getPaneId:b["default"].PropTypes.func.isRequired})},A=function(t){function e(){return(0,u["default"])(this,e),(0,d["default"])(this,t.apply(this,arguments))}return(0,h["default"])(e,t),e.prototype.componentDidUpdate=function n(){var t=this;if(this._needsRefocus){this._needsRefocus=!1;var e=this.props.children,n=this.getActiveProps(),i=n.activeKey,r=n.activeHref,o=O["default"].find(e,function(e){return t.isActive(e,i,r)}),a=O["default"].toArray(e),s=a.indexOf(o),l=x["default"].findDOMNode(this).children,u=l&&l[s];u&&u.firstChild&&u.firstChild.focus()}},e.prototype.handleTabKeyDown=function i(t,e){var n=void 0;switch(e.keyCode){case v["default"].codes.left:case v["default"].codes.up:n=this.getNextActiveChild(-1);break;case v["default"].codes.right:case v["default"].codes.down:n=this.getNextActiveChild(1);break;default:return}e.preventDefault(),t&&n&&n.props.eventKey&&t(n.props.eventKey),this._needsRefocus=!0},e.prototype.getNextActiveChild=function r(t){var e=this,n=this.props.children,i=n.filter(function(t){return t.props.eventKey&&!t.props.disabled}),r=this.getActiveProps(),o=r.activeKey,a=r.activeHref,s=O["default"].find(n,function(t){return e.isActive(t,o,a)}),l=i.indexOf(s);if(l===-1)return i[0];var u=l+t,c=i.length;return u>=c?u=0:u<0&&(u=c-1),i[u]},e.prototype.getActiveProps=function a(){var t=this.context.$bs_tabContainer;return t?t:this.props},e.prototype.isActive=function l(t,e,n){var i=t.props;return!!(i.active||null!=e&&i.eventKey===e||n&&i.href===n)||i.active},e.prototype.getTabProps=function c(t,e,n,i,r){var o=this;if(!e&&"tablist"!==n)return null;var a=t.props,s=a.id,l=a["aria-controls"],u=a.eventKey,c=a.role,d=a.onKeyDown,f=a.tabIndex;return e&&(s=e.getTabId(u),l=e.getPaneId(u)),"tablist"===n&&(c=c||"tab",d=(0,S["default"])(function(t){return o.handleTabKeyDown(r,t)},d),f=i?f:-1),{id:s,role:c,onKeyDown:d,"aria-controls":l,tabIndex:f}},e.prototype.render
e["default"]=O,t.exports=e["default"]},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var r=n(377),o=i(r),a=n(461),s=i(a),l=n(415),u=i(l),c=n(416),d=i(c),f=n(452),h=i(f),p=n(462),m=i(p),g=n(3),v=i(g),y=n(463),b=function(t){function e(){return(0,u["default"])(this,e),(0,d["default"])(this,t.apply(this,arguments))}return(0,h["default"])(e,t),e.prototype.render=function n(){var t=this.props,e=t.className,n=t.children,i=(0,s["default"])(t,["className","children"]),r=(0,y.splitBsProps)(i),a=r[0],l=r[1],u=(0,y.getClassSet)(a);return v["default"].createElement("div",(0,o["default"])({},l,{className:(0,m["default"])(e,u)}),v["default"].createElement("h1",null,n))},e}(v["default"].Component);e["default"]=(0,y.bsClass)("page-header",b),t.exports=e["default"]},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var r=n(605),o=i(r),a=n(606),s=i(a);e["default"]=s["default"].wrapper(o["default"],"`<PageItem>`","`<Pager.Item>`"),t.exports=e["default"]},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var r=n(377),o=i(r),a=n(461),s=i(a),l=n(415),u=i(l),c=n(416),d=i(c),f=n(452),h=i(f),p=n(462),m=i(p),g=n(3),v=i(g),y=n(479),b=i(y),_=n(470),x=i(_),w={disabled:v["default"].PropTypes.bool,previous:v["default"].PropTypes.bool,next:v["default"].PropTypes.bool,onClick:v["default"].PropTypes.func,onSelect:v["default"].PropTypes.func,eventKey:v["default"].PropTypes.any},C={disabled:!1,previous:!1,next:!1},k=function(t){function e(n,i){(0,u["default"])(this,e);var r=(0,d["default"])(this,t.call(this,n,i));return r.handleSelect=r.handleSelect.bind(r),r}return(0,h["default"])(e,t),e.prototype.handleSelect=function n(t){var e=this.props,n=e.disabled,i=e.onSelect,r=e.eventKey;(i||n)&&t.preventDefault(),n||i&&i(r,t)},e.prototype.render=function i(){var t=this.props,e=t.disabled,n=t.previous,i=t.next,r=t.onClick,a=t.className,l=t.style,u=(0,s["default"])(t,["disabled","previous","next","onClick","className","style"]);return delete u.onSelect,delete u.eventKey,v["default"].createElement("li",{className:(0,m["default"])(a,{disabled:e,previous:n,next:i}),style:l},v["default"].createElement(b["default"],(0,o["default"])({},u,{disabled:e,onClick:(0,x["default"])(r,this.handleSelect)})))},e}(v["default"].Component);k.propTypes=w,k.defaultProps=C,e["default"]=k,t.exports=e["default"]},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}function r(t,e,n){var i=void 0;"object"===("undefined"==typeof t?"undefined":(0,h["default"])(t))?i=t.message:(i=t+" is deprecated. Use "+e+" instead.",n&&(i+="\nYou can read more about it at "+n)),g[i]||(g[i]=!0)}function o(){g={}}e.__esModule=!0;var a=n(415),s=i(a),l=n(416),u=i(l),c=n(452),d=i(c),f=n(417),h=i(f);e._resetWarned=o;var p=n(492),m=i(p),g={};r.wrapper=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return function(t){function e(){return(0,s["default"])(this,e),(0,u["default"])(this,t.apply(this,arguments))}return(0,d["default"])(e,t),e.prototype.componentWillMount=function i(){if(r.apply(void 0,n),t.prototype.componentWillMount){for(var e,i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];(e=t.prototype.componentWillMount).call.apply(e,[this].concat(o))}},e}(t)},e["default"]=r},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var r=n(377),o=i(r),a=n(461),s=i(a),l=n(415),u=i(l),c=n(416),d=i(c),f=n(452),h=i(f),p=n(462),m=i(p),g=n(3),v=i(g),y=n(605),b=i(y),_=n(463),x=n(470),w=i(x),C=n(471),k=i(C),T={onSelect:v["default"].PropTypes.func},j=function(t){function e(){return(0,u["default"])(this,e),(0,d["default"])(this,t.apply(this,arguments))}return(0,h["default"])(e,t),e.prototype.render=function n(){var t=this.props,e=t.onSelect,n=t.className,i=t.children,r=(0,s["default"])(t,["onSelect","className","children"]),a=(0,_.splitBsProps)(r),l=a[0],u=a[1],c=(0,_.getClassSet)(l);return v["default"].createElement("ul",(0,o["default"])({},u,{className:(0,m
striped:v["default"].PropTypes.bool,bordered:v["default"].PropTypes.bool,condensed:v["default"].PropTypes.bool,hover:v["default"].PropTypes.bool,responsive:v["default"].PropTypes.bool},_={bordered:!1,condensed:!1,hover:!1,responsive:!1,striped:!1},x=function(t){function e(){return(0,u["default"])(this,e),(0,d["default"])(this,t.apply(this,arguments))}return(0,h["default"])(e,t),e.prototype.render=function n(){var t,e=this.props,n=e.striped,i=e.bordered,r=e.condensed,a=e.hover,l=e.responsive,u=e.className,c=(0,s["default"])(e,["striped","bordered","condensed","hover","responsive","className"]),d=(0,y.splitBsProps)(c),f=d[0],h=d[1],p=(0,o["default"])({},(0,y.getClassSet)(f),(t={},t[(0,y.prefix)(f,"striped")]=n,t[(0,y.prefix)(f,"bordered")]=i,t[(0,y.prefix)(f,"condensed")]=r,t[(0,y.prefix)(f,"hover")]=a,t)),g=v["default"].createElement("table",(0,o["default"])({},h,{className:(0,m["default"])(u,p)}));return l?v["default"].createElement("div",{className:(0,y.prefix)(f,"responsive")},g):g},e}(v["default"].Component);x.propTypes=b,x.defaultProps=_,e["default"]=(0,y.bsClass)("table",x),t.exports=e["default"]},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}function r(t){var e=void 0;return N["default"].forEach(t,function(t){null==e&&(e=t.props.eventKey)}),e}e.__esModule=!0;var o=n(377),a=i(o),s=n(461),l=i(s),u=n(415),c=i(u),d=n(416),f=i(d),h=n(452),p=i(h),m=n(3),g=i(m),v=n(515),y=i(v),b=n(516),_=i(b),x=n(585),w=i(x),C=n(592),k=i(C),T=n(619),j=i(T),E=n(620),S=i(E),P=n(463),O=n(471),N=i(O),D=j["default"].ControlledComponent,M={activeKey:g["default"].PropTypes.any,bsStyle:g["default"].PropTypes.oneOf(["tabs","pills"]),animation:g["default"].PropTypes.bool,id:(0,y["default"])(g["default"].PropTypes.oneOfType([g["default"].PropTypes.string,g["default"].PropTypes.number])),onSelect:g["default"].PropTypes.func,unmountOnExit:g["default"].PropTypes.bool},A={bsStyle:"tabs",animation:!0,unmountOnExit:!1},I=function(t){function e(){return(0,c["default"])(this,e),(0,f["default"])(this,t.apply(this,arguments))}return(0,p["default"])(e,t),e.prototype.renderTab=function n(t){var e=t.props,n=e.title,i=e.eventKey,r=e.disabled,o=e.tabClassName;return null==n?null:g["default"].createElement(k["default"],{eventKey:i,disabled:r,className:o},n)},e.prototype.render=function i(){var t=this.props,e=t.id,n=t.onSelect,i=t.animation,o=t.unmountOnExit,s=t.bsClass,u=t.className,c=t.style,d=t.children,f=t.activeKey,h=void 0===f?r(d):f,p=(0,l["default"])(t,["id","onSelect","animation","unmountOnExit","bsClass","className","style","children","activeKey"]);return g["default"].createElement(D,{id:e,activeKey:h,onSelect:n,className:u,style:c},g["default"].createElement("div",null,d.length&&g["default"].createElement(w["default"],(0,a["default"])({},p,{role:"tablist"}),N["default"].map(d,this.renderTab)),g["default"].createElement(S["default"],{bsClass:s,animation:i,unmountOnExit:o},d)))},e}(g["default"].Component);I.propTypes=M,I.defaultProps=A,(0,P.bsClass)("tab",I),e["default"]=(0,_["default"])(I,{activeKey:"onSelect"}),t.exports=e["default"]},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var r=n(377),o=i(r),a=n(461),s=i(a),l=n(415),u=i(l),c=n(416),d=i(c),f=n(452),h=i(f),p=n(462),m=i(p),g=n(3),v=i(g),y=n(479),b=i(y),_=n(463),x={src:v["default"].PropTypes.string,alt:v["default"].PropTypes.string,href:v["default"].PropTypes.string},w=function(t){function e(){return(0,u["default"])(this,e),(0,d["default"])(this,t.apply(this,arguments))}return(0,h["default"])(e,t),e.prototype.render=function n(){var t=this.props,e=t.src,n=t.alt,i=t.className,r=t.children,a=(0,s["default"])(t,["src","alt","className","children"]),l=(0,_.splitBsProps)(a),u=l[0],c=l[1],d=c.href?b["default"]:"div",f=(0,_.getClassSet)(u);return v["default"].createElement(d,(0,o["default"])({},c,{className:(0,m["default"])(i,f)}),v["default"].createElement("img",{src:e,alt:n}),r&&v["default"].createElement("div",{className:"caption"},r))},e}(v["default"].Component);w.propTypes=x,e["default"]=(0,_.bsClass)("thumbnail",w)
e._addAriaAndCollapsedClass(a._getTargetFromElement(n),[n])}),n}},{key:"_addAriaAndCollapsedClass",value:function C(e,n){if(e){var i=t(e).hasClass(p.IN);e.setAttribute("aria-expanded",i),n.length&&t(n).toggleClass(p.COLLAPSED,!i).attr("aria-expanded",i)}}}],[{key:"_getTargetFromElement",value:function k(e){var n=s["default"].getSelectorFromElement(e);return n?t(n)[0]:null}},{key:"_jQueryInterface",value:function T(e){return this.each(function(){var n=t(this),r=n.data(i),o=t.extend({},d,n.data(),"object"==typeof e&&e);if(!r&&o.toggle&&/show|hide/.test(e)&&(o.toggle=!1),r||(r=new a(this,o),n.data(i,r)),"string"==typeof e){if(void 0===r[e])throw new Error('No method named "'+e+'"');r[e]()}})}},{key:"VERSION",get:function j(){return n}},{key:"Default",get:function E(){return d}}]),a}();return t(document).on(h.CLICK_DATA_API,g.DATA_TOGGLE,function(e){e.preventDefault();var n=v._getTargetFromElement(this),r=t(n).data(i),o=r?"toggle":t(this).data();v._jQueryInterface.call(t(n),o)}),t.fn[e]=v._jQueryInterface,t.fn[e].Constructor=v,t.fn[e].noConflict=function(){return t.fn[e]=u,v._jQueryInterface},v}(a);e.exports=l})}).call(e,n(1))},function(t,e,n){var i,r,o;(function(n){!function(n,a){var s;r=[e,t],i=a,o="function"==typeof i?i.apply(e,r):i,!(void 0!==o&&(t.exports=o))}(this,function(t,e){"use strict";var i=function(t){function e(t){return{}.toString.call(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function n(t){return(t[0]||t).nodeType}function i(){return{bindType:s.end,delegateType:s.end,handle:function e(n){if(t(n.target).is(this))return n.handleObj.handler.apply(this,arguments)}}}function r(){if(window.QUnit)return!1;var t=document.createElement("bootstrap");for(var e in l)if(void 0!==t.style[e])return{end:l[e]};return!1}function o(e){var n=this,i=!1;return t(this).one(u.TRANSITION_END,function(){i=!0}),setTimeout(function(){i||u.triggerTransitionEnd(n)},e),this}function a(){s=r(),t.fn.emulateTransitionEnd=o,u.supportsTransitionEnd()&&(t.event.special[u.TRANSITION_END]=i())}var s=!1,l={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},u={TRANSITION_END:"bsTransitionEnd",getUID:function c(t){do t+=~~(1e6*Math.random());while(document.getElementById(t));return t},getSelectorFromElement:function d(t){var e=t.getAttribute("data-target");return e||(e=t.getAttribute("href")||"",e=/^#[a-z]/i.test(e)?e:null),e},reflow:function f(t){new Function("bs","return bs")(t.offsetHeight)},triggerTransitionEnd:function h(e){t(e).trigger(s.end)},supportsTransitionEnd:function p(){return Boolean(s)},typeCheckConfig:function m(t,i,r){for(var o in r)if(r.hasOwnProperty(o)){var a=r[o],s=i[o],l=void 0;if(l=s&&n(s)?"element":e(s),!new RegExp(a).test(l))throw new Error(t.toUpperCase()+": "+('Option "'+o+'" provided type "'+l+'" ')+('but expected type "'+a+'".'))}}};return a(),u}(n);e.exports=i})}).call(e,n(1))},function(t,e,n){(function(t){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=function(){function e(){n(this,e),this.defaultLocale="en_US",this.currentLocale=this.detectLocale(),this.lang={}}return i(e,[{key:"setLocale",value:function r(t){this.currentLocale=t}},{key:"getLocale",value:function o(){return null!==this.currentLocale?this.currentLocale:this.defaultLocale}},{key:"_t",value:function a(t,e,n,i){var r=this.getLocale().replace(/_[\w]+/i,""),o=this.defaultLocale.replace(/_[\w]+/i,"");return this.lang&&this.lang[this.getLocale()]&&this.lang[this.getLocale()][t]?this.lang[this.getLocale()][t]:this.lang&&this.lang[r]&&this.lang[r][t]?this.lang[r][t]:this.lang&&this.lang[this.defaultLocale]&&this.lang[this.defaultLocale][t]?this.lang[this.defaultLocale][t]:this.lang&&this.lang[o]&&this.lang[o][t]?this.
r(a,1114111)!==a)throw RangeError(a+" is not a valid code point");e.push(a<65536?o(a):o(((a-=65536)>>10)+55296,a%1024+56320))}return e.join("")}})},function(t,e,n){var i=n(653),r=n(677),o=n(682);i(i.S,"String",{raw:function a(t){for(var e=r(t.raw),n=o(e.length),i=arguments.length,a=[],s=0;n>s;)a.push(String(e[s++])),s<i&&a.push(String(arguments[s]));return a.join("")}})},function(t,e,n){"use strict";n(728)("trim",function(t){return function e(){return t(this,3)}})},function(t,e,n){"use strict";var i=n(772)(!0);n(773)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t=this._t,e=this._i,n;return e>=t.length?{value:void 0,done:!0}:(n=i(t,e),this._i+=n.length,{value:n,done:!1})})},function(t,e,n){var i=n(683),r=n(680);t.exports=function(t){return function(e,n){var o=String(r(e)),a=i(n),s=o.length,l,u;return a<0||a>=s?t?"":void 0:(l=o.charCodeAt(a),l<55296||l>56319||a+1===s||(u=o.charCodeAt(a+1))<56320||u>57343?t?o.charAt(a):l:t?o.slice(a,a+2):(l-55296<<10)+(u-56320)+65536)}}},function(t,e,n){"use strict";var i=n(673),r=n(653),o=n(663),a=n(655),s=n(650),l=n(774),u=n(775),c=n(669),d=n(704),f=n(670)("iterator"),h=!([].keys&&"next"in[].keys()),p="@@iterator",m="keys",g="values",v=function(){return this};t.exports=function(t,e,n,y,b,_,x){u(n,e,y);var w=function(t){if(!h&&t in j)return j[t];switch(t){case m:return function e(){return new n(this,t)};case g:return function i(){return new n(this,t)}}return function r(){return new n(this,t)}},C=e+" Iterator",k=b==g,T=!1,j=t.prototype,E=j[f]||j[p]||b&&j[b],S=E||w(b),P=b?k?w("entries"):S:void 0,O="Array"==e?j.entries||E:E,N,D,M;if(O&&(M=d(O.call(new t)),M!==Object.prototype&&(c(M,C,!0),i||s(M,f)||a(M,f,v))),k&&E&&E.name!==g&&(T=!0,S=function A(){return E.call(this)}),i&&!x||!h&&!T&&j[f]||a(j,f,S),l[e]=S,l[C]=v,b)if(N={values:k?S:w(g),keys:_?S:w(m),entries:P},x)for(D in N)D in j||o(j,D,N[D]);else r(r.P+r.F*(h||T),e,N);return N}},function(t,e){t.exports={}},function(t,e,n){"use strict";var i=n(691),r=n(662),o=n(669),a={};n(655)(a,n(670)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i(a,{next:r(1,n)}),o(t,e+" Iterator")}},function(t,e,n){"use strict";var i=n(653),r=n(772)(!1);i(i.P,"String",{codePointAt:function o(t){return r(this,t)}})},function(t,e,n){"use strict";var i=n(653),r=n(682),o=n(778),a="endsWith",s=""[a];i(i.P+i.F*n(780)(a),"String",{endsWith:function l(t){var e=o(this,t,a),n=arguments.length>1?arguments[1]:void 0,i=r(e.length),l=void 0===n?i:Math.min(r(n),i),u=String(t);return s?s.call(e,u,l):e.slice(l-u.length,l)===u}})},function(t,e,n){var i=n(779),r=n(680);t.exports=function(t,e,n){if(i(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(t))}},function(t,e,n){var i=n(658),r=n(679),o=n(670)("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==r(t))}},function(t,e,n){var i=n(670)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[i]=!1,!"/./"[t](e)}catch(r){}}return!0}},function(t,e,n){"use strict";var i=n(653),r=n(778),o="includes";i(i.P+i.F*n(780)(o),"String",{includes:function a(t){return!!~r(this,t,o).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var i=n(653);i(i.P,"String",{repeat:n(736)})},function(t,e,n){"use strict";var i=n(653),r=n(682),o=n(778),a="startsWith",s=""[a];i(i.P+i.F*n(780)(a),"String",{startsWith:function l(t){var e=o(this,t,a),n=r(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),i=String(t);return s?s.call(e,i,n):e.slice(n,n+i.length)===i}})},function(t,e,n){"use strict";n(785)("anchor",function(t){return function e(n){return t(this,"a","name",n)}})},function(t,e,n){var i=n(653),r=n(652),o=n(680),a=/"/g,s=function(t,e,n,i){var r=String(o(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(i).replace(a,"&quot;")+'"'),s+">"+r+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(s),i(i.P+i.F*r(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},function(t,e,n){"use strict";n(785)("big",function(t){return function e(){return t(this,"big","","")}})},function(
return e[1]<<8|e[0]},getInt32:function ft(t){return U(K(this,4,t,arguments[1]))},getUint32:function ht(t){return U(K(this,4,t,arguments[1]))>>>0},getFloat32:function pt(t){return Q(K(this,4,t,arguments[1]),23,4)},getFloat64:function mt(t){return Q(K(this,8,t,arguments[1]),52,8)},setInt8:function gt(t,e){X(this,1,t,B,e)},setUint8:function vt(t,e){X(this,1,t,B,e)},setInt16:function yt(t,e){X(this,2,t,z,e,arguments[2])},setUint16:function bt(t,e){X(this,2,t,z,e,arguments[2])},setInt32:function _t(t,e){X(this,4,t,W,e,arguments[2])},setUint32:function xt(t,e){X(this,4,t,W,e,arguments[2])},setFloat32:function wt(t,e){X(this,4,t,$,e,arguments[2])},setFloat64:function Ct(t,e){X(this,8,t,q,e,arguments[2])}});g(w,v),g(C,y),s(C[b],a.VIEW,!0),e[v]=w,e[y]=C},function(t,e,n){var i=n(653);i(i.G+i.W+i.F*!n(864).ABV,{DataView:n(865).DataView})},function(t,e,n){n(868)("Int8",1,function(t){return function e(n,i,r){return t(this,n,i,r)}})},function(t,e,n){"use strict";if(n(651)){var i=n(673),r=n(649),o=n(652),a=n(653),s=n(864),l=n(865),u=n(665),c=n(850),d=n(662),f=n(655),h=n(855),p=n(683),m=n(682),g=n(684),v=n(661),y=n(650),b=n(716),_=n(720),x=n(658),w=n(703),C=n(807),k=n(691),T=n(704),j=n(695).f,E=n(809),S=n(664),P=n(670),O=n(817),N=n(681),D=n(852),M=n(838),A=n(774),I=n(810),R=n(837),F=n(833),L=n(830),H=n(656),Q=n(696),U=H.f,B=Q.f,z=r.RangeError,W=r.TypeError,q=r.Uint8Array,$="ArrayBuffer",V="Shared"+$,K="BYTES_PER_ELEMENT",X="prototype",Y=Array[X],G=l.ArrayBuffer,J=l.DataView,Z=O(0),tt=O(2),et=O(3),nt=O(4),it=O(5),rt=O(6),ot=N(!0),at=N(!1),st=M.values,lt=M.keys,ut=M.entries,ct=Y.lastIndexOf,dt=Y.reduce,ft=Y.reduceRight,ht=Y.join,pt=Y.sort,mt=Y.slice,gt=Y.toString,vt=Y.toLocaleString,yt=P("iterator"),bt=P("toStringTag"),_t=S("typed_constructor"),xt=S("def_constructor"),wt=s.CONSTR,Ct=s.TYPED,kt=s.VIEW,Tt="Wrong length!",jt=O(1,function(t,e){return Dt(D(t,t[xt]),e)}),Et=o(function(){return 1===new q(new Uint16Array([1]).buffer)[0]}),St=!!q&&!!q[X].set&&o(function(){new q(1).set({})}),Pt=function(t,e){if(void 0===t)throw W(Tt);var n=+t,i=m(t);if(e&&!b(n,i))throw z(Tt);return i},Ot=function(t,e){var n=p(t);if(n<0||n%e)throw z("Wrong offset!");return n},Nt=function(t){if(x(t)&&Ct in t)return t;throw W(t+" is not a typed array!")},Dt=function(t,e){if(!(x(t)&&_t in t))throw W("It is not a typed array constructor!");return new t(e)},Mt=function(t,e){return At(D(t,t[xt]),e)},At=function(t,e){for(var n=0,i=e.length,r=Dt(t,i);i>n;)r[n]=e[n++];return r},It=function(t,e,n){U(t,e,{get:function(){return this._d[n]}})},Rt=function Kt(t){var e=w(t),n=arguments.length,i=n>1?arguments[1]:void 0,r=void 0!==i,o=E(e),a,s,l,c,d,f;if(void 0!=o&&!C(o)){for(f=o.call(e),l=[],a=0;!(d=f.next()).done;a++)l.push(d.value);e=l}for(r&&n>2&&(i=u(i,arguments[2],2)),a=0,s=m(e.length),c=Dt(this,s);s>a;a++)c[a]=r?i(e[a],a):e[a];return c},Ft=function Xt(){for(var t=0,e=arguments.length,n=Dt(this,e);e>t;)n[t]=arguments[t++];return n},Lt=!!q&&o(function(){vt.call(new q(1))}),Ht=function Yt(){return vt.apply(Lt?mt.call(Nt(this)):Nt(this),arguments)},Qt={copyWithin:function Gt(t,e){return L.call(Nt(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function Jt(t){return nt(Nt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function Zt(t){return F.apply(Nt(this),arguments)},filter:function te(t){return Mt(this,tt(Nt(this),t,arguments.length>1?arguments[1]:void 0))},find:function ee(t){return it(Nt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function ne(t){return rt(Nt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function ie(t){Z(Nt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function re(t){return at(Nt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function oe(t){return ot(Nt(this),t,arguments.length>1?arguments[1]:void 0)},join:function ae(t){return ht.apply(Nt(this),arguments)},lastIndexOf:function se(t){return ct.apply(Nt(this),arguments)},map:function le(t){return jt(Nt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function ue(t){return dt.apply(Nt(this),arguments)},reduceRight:function ce(t){return ft.app
return this.str.slice(0,this.pos)+"<HERE>"+this.str.slice(this.pos)},done:function(){return this.pos==this.str.length}}),u=e.extend({}),c=u.extend({init:function(){this.tag=null,this.id=null,this.classes=[],this.attrs=[],this.nots=[],this.pseudo_classes=[],this.pseudo_els=[]},parse:function(t){var e;(e=t.match(i.tag))&&(this.tag=e[1]);do if(e=t.match(i.not)){if(this.nots[this.nots.length]=f().parse(t),!(e=t.match(i.not_end)))throw"Invalid :not term in selector"}else if(e=t.match(i.id))this.id=e[1];else if(e=t.match(i.cls))this.classes[this.classes.length]=e[1];else if(e=t.match(i.attr))this.attrs[this.attrs.length]=[e[1],e[2],e[3]];else if(e=t.match(i.pseudo_el))this.pseudo_els[this.pseudo_els.length]=e[1]||e[2];else if(e=t.match(i.pseudo_cls_nth)){if(e[3])var n=parseInt((e[1]||"")+(e[2]||"1")),r=parseInt((e[4]||"")+(e[5]||"0"));else var n=e[8]?2:0,r=e[8]?4-e[8].length:parseInt((e[6]||"")+e[7]);this.pseudo_classes[this.pseudo_classes.length]=["nth-child",[n,r]]}else(e=t.match(i.pseudo_cls))&&(this.pseudo_classes[this.pseudo_classes.length]=[e[1]]);while(e&&!t.done());return this}}),d=u.extend({init:function(){this.parts=[]},parse:function(t){for(this.parts[this.parts.length]=c().parse(t);!t.done()&&!t.peek(i.comma)&&(a=t.match(i.comb));)this.parts[this.parts.length]=a[1]||" ",this.parts[this.parts.length]=c().parse(t);return 1==this.parts.length?this.parts[0]:this}}),f=u.extend({init:function(){this.parts=[]},parse:function(t){for(this.parts[this.parts.length]=d().parse(t);!t.done()&&(a=t.match(i.comma));)this.parts[this.parts.length]=d().parse(t);return 1==this.parts.length?this.parts[0]:this}});t.selector=function(t){var e=l(t),n=f().parse(e);if(n.selector=t,e.done())return n;throw"Could not parse selector - "+e.showpos()},t.selector.SelectorBase=u,t.selector.SimpleSelector=c,t.selector.Selector=d,t.selector.SelectorsGroup=f}(t),function(t){t.selector.SimpleSelector.addMethod("specifity",function(){if(this.spec)return this.spec;var e=[this.id?1:0,this.classes.length+this.attrs.length+this.pseudo_classes.length,(this.tag&&"*"!=this.tag?1:0)+this.pseudo_els.length];return t.each(this.nots,function(t,n){var i=n.specifity();e[0]+=i[0],e[1]+=i[1],e[2]+=i[2]}),this.spec=e}),t.selector.Selector.addMethod("specifity",function(){if(this.spec)return this.spec;var e=[0,0,0];return t.each(this.parts,function(t,n){if(!(t%2)){var i=n.specifity();e[0]+=i[0],e[1]+=i[1],e[2]+=i[2]}}),this.spec=e}),t.selector.SelectorsGroup.addMethod("specifity",function(){if(this.spec)return this.spec;var e=[0,0,0];return t.each(this.parts,function(t,n){var i=n.specifity();e[0]+=i[0],e[1]+=i[1],e[2]+=i[2]}),this.spec=e})}(t),function(t){function n(t){return t.complex?c(["l"+ ++y+":{",t.replace(s,"break l"+y),"}"]):t.replace(s,"")}var i=document.createElement("div");i.innerHTML='<form id="test"><input name="id" type="text"/></form>';var r="test"!==i.firstChild.getAttribute("id"),o=i.firstElementChild&&"FORM"==i.firstElementChild.tagName,a=i.children&&"FORM"==i.children[0].tagName,s=/GOOD/g,l=/BAD/g,u=/^['"]/g,c=function(t){return t.join("\n")},d=function(t){var e=new String(t.join("\n"));return e.complex=!0,e},f=function(t){return"_"+t.replace(/^[^A-Za-z]|[^A-Za-z0-9]/g,function(t){return"_0x"+t.charCodeAt(0).toString(16)+"_"})},h;if(r){var p={"class":"className","for":"htmlFor"};h=function(t){var e=p[t]||t;return"var "+f(t)+' = el.getAttribute("'+e+'",2) || (el.getAttributeNode("'+t+'")||{}).nodeValue;'}}else h=function(t){return"var "+f(t)+' = el.getAttribute("'+t+'");'};var m={"-":"!K","=":'K != "V"',"!=":'K == "V"',"~=":'_WS_K.indexOf(" V ") == -1',"^=":'!K || K.indexOf("V") != 0',"*=":'!K || K.indexOf("V") == -1',"$=":'!K || K.substr(K.length-"V".length) != "V"'},g=t.selector.State=e.extend({init:function(){this.reset()},reset:function(){this.attrs={},this.wsattrs={}},prev:function(){return this.reset(),o?"el = el.previousElementSibling":"while((el = el.previousSibling) && el.nodeType != 1) {}"},next:function(){return this.reset(),o?"el = el.nextElementSibling":"while((el = el.nextSibling) && el.nodeType != 1) {}"},prevLoop:function(t){return this
e!==!1&&e!==!0&&"number"!=typeof e&&(e=e),n.SET(t,e))})}),n};return l.prototype={queryObject:!0,has:function(t,n){var i=this.get(t);return e(i,n)},GET:function(t){if(!e(t))return this.keys;for(var n=r(t),i=n[0],o=n[1],a=this.keys[i];null!=a&&0!=o.length;)a=a[o.shift()];return"number"==typeof a?a:a||""},get:function(n){var i=this.GET(n);return e(i,Object)?t.extend(!0,{},i):e(i,Array)?i.slice(0):i},SET:function(t,n){var i=e(n)?n:null,a=r(t),s=a[0],l=a[1],u=this.keys[s];return this.keys[s]=o(u,l.slice(0),i),this},set:function(t,e){return this.copy().SET(t,e)},REMOVE:function(t){return this.SET(t,null).COMPACT()},remove:function(t){return this.copy().REMOVE(t)},EMPTY:function(){var e=this;return t.each(e.keys,function(t,n){delete e.keys[t]}),e},load:function(t){var e=t.replace(/^.*?[#](.+?)(?:\?.+)?$/,"$1"),n=t.replace(/^.*?[?](.+?)(?:#.+)?$/,"$1");return new l(t.length==n.length?"":n,t.length==e.length?"":e)},empty:function(){return this.copy().EMPTY()},copy:function(){return new l(this)},COMPACT:function(){function n(i){function r(t,n,i){e(t,Array)?t.push(i):t[n]=i}var o="object"==typeof i?e(i,Array)?[]:{}:i;return"object"==typeof i&&t.each(i,function(t,i){return!e(i)||void r(o,t,n(i))}),o}return this.keys=n(this.keys),this},compact:function(){return this.copy().COMPACT()},toString:function(){var r=0,o=[],s=[],l=this,u=function(t){return t+="",i&&(t=t.replace(/ /g,"+")),encodeURIComponent(t)},c=function(t,n,i){if(e(i)&&i!==!1){var r=[u(n)];i!==!0&&(r.push("="),r.push(u(i))),t.push(r.join(""))}},d=function(e,n){var i=function(t){return n&&""!=n?[n,"[",t,"]"].join(""):[t].join("")};t.each(e,function(t,e){"object"==typeof e?d(e,i(t)):c(s,i(t),e)})};return d(this.keys),s.length>0&&o.push(a),o.push(s.join(n)),o.join("")}},new l(location.search,location.hash)}}(t.query||{})}).call(e,n(1))},function(t,e,n){(function(t){!function(t){function e(e){var n=e.data;e.isDefaultPrevented()||(e.preventDefault(),t(this).ajaxSubmit(n))}function n(e){var n=e.target,i=t(n);if(!i.is(":submit,input:image")){var r=i.closest(":submit");if(0==r.length)return;n=r[0]}var o=this;if(o.clk=n,"image"==n.type)if(void 0!=e.offsetX)o.clk_x=e.offsetX,o.clk_y=e.offsetY;else if("function"==typeof t.fn.offset){var a=i.offset();o.clk_x=e.pageX-a.left,o.clk_y=e.pageY-a.top}else o.clk_x=e.pageX-n.offsetLeft,o.clk_y=e.pageY-n.offsetTop;setTimeout(function(){o.clk=o.clk_x=o.clk_y=null},100)}function i(){if(t.fn.ajaxSubmit.debug){var e="[jquery.form] "+Array.prototype.join.call(arguments,"");window.console&&window.console.log?window.console.log(e):window.opera&&window.opera.postError&&window.opera.postError(e)}}t.fn.ajaxSubmit=function(e){function n(n){for(var i=new FormData,r=0;r<n.length;r++)"file"!=n[r].type&&i.append(n[r].name,n[r].value);if(l.find("input:file:enabled").each(function(){var e=t(this).attr("name"),n=this.files;if(e)for(var r=0;r<n.length;r++)i.append(e,n[r])}),e.extraData)for(var o in e.extraData)i.append(o,e.extraData[o]);e.data=null;var a=t.extend(!0,{},t.ajaxSettings,e,{contentType:!1,processData:!1,cache:!1,type:"POST"});a.data=null;var s=a.beforeSend;a.beforeSend=function(t,n){n.data=i,t.upload&&(t.upload.onprogress=function(t){n.progress(t.position,t.total)}),s&&s.call(n,t,e)},t.ajax(a)}function r(n){function r(t){var e=t.contentWindow?t.contentWindow.document:t.contentDocument?t.contentDocument:t.document;return e}function a(){function e(){try{var t=r(g).readyState;i("state = "+t),"uninitialized"==t.toLowerCase()&&setTimeout(e,50)}catch(n){i("Server abort: ",n," (",n.name,")"),s(k),x&&clearTimeout(x),x=void 0}}var n=l.attr("target"),a=l.attr("action");u.setAttribute("target",p),o||u.setAttribute("method","POST"),a!=f.url&&u.setAttribute("action",f.url),f.skipEncodingOverride||o&&!/post/i.test(o)||l.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"}),f.timeout&&(x=setTimeout(function(){_=!0,s(C)},f.timeout));var c=[];try{if(f.extraData)for(var d in f.extraData)c.push(t('<input type="hidden" name="'+d+'">').attr("value",f.extraData[d]).appendTo(u)[0]);f.iframeTarget||(m.appendTo("body"),g.attachEvent?g.attachEvent("onload",s)
2016-09-14 14:07:13 +02:00
* @preserve JSizes - JQuery plugin v0.33
*
* Licensed under the revised BSD License.
* Copyright 2008-2010 Bram Stein
* All rights reserved.
*/
!function(t){"use strict";var e=function(t){return parseInt(t,10)||0};t.each(["min","max"],function(n,i){t.fn[i+"Size"]=function(t){var n,r;return t?(void 0!==t.width&&this.css(i+"-width",t.width),void 0!==t.height&&this.css(i+"-height",t.height),this):(n=this.css(i+"-width"),r=this.css(i+"-height"),{width:"max"===i&&(void 0===n||"none"===n||e(n)===-1)&&Number.MAX_VALUE||e(n),height:"max"===i&&(void 0===r||"none"===r||e(r)===-1)&&Number.MAX_VALUE||e(r)})}}),t.fn.isVisible=function(){return this.is(":visible")},t.each(["border","margin","padding"],function(n,i){t.fn[i]=function(t){return t?(void 0!==t.top&&this.css(i+"-top"+("border"===i?"-width":""),t.top),void 0!==t.bottom&&this.css(i+"-bottom"+("border"===i?"-width":""),t.bottom),void 0!==t.left&&this.css(i+"-left"+("border"===i?"-width":""),t.left),void 0!==t.right&&this.css(i+"-right"+("border"===i?"-width":""),t.right),this):{top:e(this.css(i+"-top"+("border"===i?"-width":""))),bottom:e(this.css(i+"-bottom"+("border"===i?"-width":""))),left:e(this.css(i+"-left"+("border"===i?"-width":""))),right:e(this.css(i+"-right"+("border"===i?"-width":"")))}}})}(t)}).call(e,n(1))},function(t,e){/**
2016-09-14 14:07:13 +02:00
* @preserve jLayout Border Layout - JavaScript Layout Algorithms v0.4
*
* Licensed under the new BSD License.
* Copyright 2008-2009, Bram Stein
* All rights reserved.
*/
!function(){window.jLayout="undefined"==typeof window.jLayout?{}:window.jLayout,jLayout.border=function(t){function e(t){return function(e){var i=e.insets(),u=0,c=0,d;return r&&r.isVisible()&&(d=r[t+"Size"](),u+=d.width+n.hgap,c=d.height),o&&o.isVisible()&&(d=o[t+"Size"](),u+=d.width+n.hgap,c=Math.max(d.height,c)),l&&l.isVisible()&&(d=l[t+"Size"](),u+=d.width,c=Math.max(d.height,c)),a&&a.isVisible()&&(d=a[t+"Size"](),u=Math.max(d.width,u),c+=d.height+n.vgap),s&&s.isVisible()&&(d=s[t+"Size"](),u=Math.max(d.width,u),c+=d.height+n.vgap),{width:u+i.left+i.right,height:c+i.top+i.bottom}}}var n={},i={},r=t.east,o=t.west,a=t.north,s=t.south,l=t.center;return n.hgap=t.hgap||0,n.vgap=t.vgap||0,i.items=function(){var t=[];return r&&t.push(r),o&&t.push(o),a&&t.push(a),s&&t.push(s),l&&t.push(l),t},i.layout=function(t){var e=t.bounds(),i=t.insets(),u=i.top,c=e.height-i.bottom,d=i.left,f=e.width-i.right,h;return a&&a.isVisible()&&(h=a.preferredSize(),a.bounds({x:d,y:u,width:f-d,height:h.height}),a.doLayout(),u+=h.height+n.vgap),s&&s.isVisible()&&(h=s.preferredSize(),s.bounds({x:d,y:c-h.height,width:f-d,height:h.height}),s.doLayout(),c-=h.height+n.vgap),r&&r.isVisible()&&(h=r.preferredSize(),r.bounds({x:f-h.width,y:u,width:h.width,height:c-u}),r.doLayout(),f-=h.width+n.hgap),o&&o.isVisible()&&(h=o.preferredSize(),o.bounds({x:d,y:u,width:h.width,height:c-u}),o.doLayout(),d+=h.width+n.hgap),l&&l.isVisible()&&(l.bounds({x:d,y:u,width:f-d,height:c-u}),l.doLayout()),t},i.preferred=e("preferred"),i.minimum=e("minimum"),i.maximum=e("maximum"),i}}()},function(t,e){/**
2016-09-14 14:07:13 +02:00
* @preserve jLayout JQuery Plugin v0.17
*
* Licensed under the new BSD License.
* Copyright 2008-2009 Bram Stein
* All rights reserved.
*/
var n=window.jQuery,i=window.jLayout;n&&i&&!function(t){var e=t.jLayoutWrap=function(e,n){var i={};return i.item=e,t.each(["min","max"],function(t,n){i[n+"imumSize"]=function(t){var r=e.data("jlayout");return r?r[n+"imum"](i):e[n+"Size"](t)}}),t.extend(i,{doLayout:function(){var t=e.data("jlayout");t?t.layout(i):e.is("[data-layout-type]")&&e.layout({resize:!1}),e.css({position:"absolute"})},isVisible:function(){return e.isVisible()},insets:function(){var t=e.padding(),n=e.border();return{top:t.top,bottom:t.bottom+n.bottom+n.top,left:t.left,right:t.right+n.right+n.left}},bounds:function(t){var n={};return t?("number"==typeof t.x&&(n.left=t.x),"number"==typeof t.y&&(n.top=t.y),"number"==typeof t.width&&(n.width=t.width-(e.outerWidth(!0)-e.width()),n.width=n.width>=0?n.width:0),"number"==typeof t.height&&(n.height=t.height-(e.outerHeight(!0)-e.height()),n.height=n.height>=0?n.height:0),e.css(n),e):(n=e.position(),{x:n.left,y:n.top,width:e.outerWidth(!1),height:e.outerHeight(!1)})},preferredSize:function(){var t,r,o=e.margin(),a={width:0,height:0},s=e.data("jlayout");return s&&n?(a=s.preferred(i),t=i.minimumSize(),r=i.maximumSize(),a.width+=o.left+o.right,a.height+=o.top+o.bottom,a.width<t.width||a.height<t.height?(a.width=Math.max(a.width,t.width),a.height=Math.max(a.height,t.height)):(a.width>r.width||a.height>r.height)&&(a.width=Math.min(a.width,r.width),a.height=Math.min(a.height,r.height))):(a=i.bounds(),a.width+=o.left+o.right,a.height+=o.top+o.bottom),a}}),i};t.fn.layout=function(n){var r=t.extend({},t.fn.layout.defaults,n);return t.each(this,function(){var n=t(this),o=t.metadata&&n.metadata().layout?t.extend(r,n.metadata().layout):r,o=n.data("layoutType")?t.extend(o,{type:n.data("layoutType")}):o,a=e(n,o.resize);"border"===o.type&&"undefined"!=typeof i.border?(t.each(["north","south","west","east","center"],function(t,i){n.children().hasClass(i)&&(o[i]=e(n.children("."+i+":first")))}),n.data("jlayout",i.border(o))):"grid"===o.type&&"undefined"!=typeof i.grid?(o.items=[],n.children().each(function(n){t(this).hasClass("ui-resizable-handle")||(o.items[n]=e(t(this)))}),n.data("jlayout",i.grid(o))):"flexGrid"===o.type&&"undefined"!=typeof i.flexGrid?(o.items=[],n.children().each(function(n){t(this).hasClass("ui-resizable-handle")||(o.items[n]=e(t(this)))}),n.data("jlayout",i.flexGrid(o))):"column"===o.type&&"undefined"!=typeof i.column?(o.items=[],n.children().each(function(n){t(this).hasClass("ui-resizable-handle")||(o.items[n]=e(t(this)))}),n.data("jlayout",i.column(o))):"flow"===o.type&&"undefined"!=typeof i.flow&&(o.items=[],n.children().each(function(n){t(this).hasClass("ui-resizable-handle")||(o.items[n]=e(t(this)))}),n.data("jlayout",i.flow(o))),o.resize&&a.bounds(a.preferredSize()),a.doLayout(),n.css({position:"relative"}),void 0!==t.ui&&n.addClass("ui-widget")})},t.fn.layout.defaults={resize:!0,type:"grid"}}(n)},function(t,e,n){(function(t){"use strict";!function(){if(!t||!t.jstree){var e=!1,n=!1,i=!1;!function(t){t.vakata={},t.vakata.css={get_css:function(t,e,n){t=t.toLowerCase();var i=n.cssRules||n.rules,r=0;do{if(i.length&&r>i.length+5)return!1;if(i[r].selectorText&&i[r].selectorText.toLowerCase()==t)return e===!0?(n.removeRule&&n.removeRule(r),n.deleteRule&&n.deleteRule(r),!0):i[r]}while(i[++r]);return!1},add_css:function(e,n){return!t.jstree.css.get_css(e,!1,n)&&(n.insertRule?n.insertRule(e+" { }",0):n.addRule(e,null,0),t.vakata.css.get_css(e))},remove_css:function(e,n){return t.vakata.css.get_css(e,!0,n)},add_sheet:function(t){}};var r=[],o=-1,a={},s={};t.fn.jstree=function(e){var n="string"==typeof e,i=Array.prototype.slice.call(arguments,1),o=this;if(n){if("_"==e.substring(0,1))return o;this.each(function(){var n=r[t.data(this,"jstree_instance_id")],a=n&&t.isFunction(n[e])?n[e].apply(n,i):n;if("undefined"!=typeof a&&(0===e.indexOf("is_")||a!==!0&&a!==!1))return o=a,!1})}else this.each(function(){var n=t.data(this,"jstree_instance_id"),o=[],s=e?t.extend({},!0,e):{},l=t(this),u=!1,c=[];o=o.concat(i),l.data("jstree")&&o.push(l.data("jstree")),s=o.length?t.extend.apply(null,[!0,s].concat(o)):s,"undefined"!=t
n.call(this,e,i,s),e.css("position","")},this),keyup:function(t){var e=t.keyCode||t.which;return 27==e?(this.value=s,void this.blur()):13==e?void this.blur():void u.width(Math.min(l.text("pW"+this.value).width(),r))},keypress:function(t){var e=t.keyCode||t.which;if(13==e)return!1}})).children(".jstree-rename-input");this.set_text(e,""),l.css({fontFamily:u.css("fontFamily")||"",fontSize:u.css("fontSize")||"",fontWeight:u.css("fontWeight")||"",fontStyle:u.css("fontStyle")||"",fontStretch:u.css("fontStretch")||"",fontVariant:u.css("fontVariant")||"",letterSpacing:u.css("letterSpacing")||"",wordSpacing:u.css("wordSpacing")||""}),u.width(Math.min(l.text("pW"+u[0].value).width(),r))[0].select()},rename:function(t){t=this._get_node(t),this.__rollback();var e=this.__callback;this._show_input(t,function(t,n,i){e.call(this,{obj:t,new_name:n,old_name:i})})},create:function(e,n,i,r,o){var a,s=this;return e=this._get_node(e),e||(e=-1),this.__rollback(),a=this.create_node(e,n,i,function(e){var n=this._get_parent(e),i=t(e).index();r&&r.call(this,e),n.length&&n.hasClass("jstree-closed")&&this.open_node(n,!1,!0),o?s.__callback({obj:e,name:this.get_text(e),parent:n,position:i}):this._show_input(e,function(t,e,r){s.__callback({obj:t,name:e,parent:n,position:i})})})},remove:function(t){t=this._get_node(t,!0);var e=this._get_parent(t),n=this._get_prev(t);this.__rollback(),t=this.delete_node(t),t!==!1&&this.__callback({obj:t,prev:n,parent:e})},check_move:function(){if(!this.__call_old())return!1;var t=this._get_settings().crrm.move;return!!t.check_move.call(this,this._get_move())},move_node:function(t,e,n,i,r,o){var a=this._get_settings().crrm.move;return r?((a.always_copy===!0||"multitree"===a.always_copy&&t.rt.get_index()!==t.ot.get_index())&&(i=!0),void this.__call_old(!0,t,e,n,i,!0,o)):("undefined"==typeof n&&(n=a.default_position),"inside"!==n||a.default_position.match(/^(before|after)$/)||(n=a.default_position),this.__call_old(!0,t,e,n,i,!1,o))},cut:function(t){return t=this._get_node(t,!0),!(!t||!t.length)&&(this.data.crrm.cp_nodes=!1,this.data.crrm.ct_nodes=t,void this.__callback({obj:t}))},copy:function(t){return t=this._get_node(t,!0),!(!t||!t.length)&&(this.data.crrm.ct_nodes=!1,this.data.crrm.cp_nodes=t,void this.__callback({obj:t}))},paste:function(t){if(t=this._get_node(t),!t||!t.length)return!1;var e=this.data.crrm.ct_nodes?this.data.crrm.ct_nodes:this.data.crrm.cp_nodes;return!(!this.data.crrm.ct_nodes&&!this.data.crrm.cp_nodes)&&(this.data.crrm.ct_nodes&&(this.move_node(this.data.crrm.ct_nodes,t),this.data.crrm.ct_nodes=!1),this.data.crrm.cp_nodes&&this.move_node(this.data.crrm.cp_nodes,t,!1,!0),void this.__callback({obj:t,nodes:e}))}}})}(t),function(t){var e=[];t.jstree._themes=!1,t.jstree.plugin("themes",{__init:function(){this.get_container().bind("init.jstree",t.proxy(function(){var t=this._get_settings().themes;this.data.themes.dots=t.dots,this.data.themes.icons=t.icons,this.set_theme(t.theme,t.url)},this)).bind("loaded.jstree",t.proxy(function(){this.data.themes.dots?this.show_dots():this.hide_dots(),this.data.themes.icons?this.show_icons():this.hide_icons()},this))},defaults:{theme:"default",url:!1,dots:!0,icons:!0},_fn:{set_theme:function(n,i){return!!n&&(i||(i=t.jstree._themes+n+"/style.css"),t.inArray(i,e)==-1&&(t.vakata.css.add_sheet({url:i}),e.push(i)),this.data.themes.theme!=n&&(this.get_container().removeClass("jstree-"+this.data.themes.theme),this.data.themes.theme=n),this.get_container().addClass("jstree-"+n),this.data.themes.dots?this.show_dots():this.hide_dots(),this.data.themes.icons?this.show_icons():this.hide_icons(),void this.__callback())},get_theme:function(){return this.data.themes.theme},show_dots:function(){this.data.themes.dots=!0,this.get_container().children("ul").removeClass("jstree-no-dots")},hide_dots:function(){this.data.themes.dots=!1,this.get_container().children("ul").addClass("jstree-no-dots")},toggle_dots:function(){this.data.themes.dots?this.hide_dots():this.show_dots()},show_icons:function(){this.data.themes.icons=!0,this.get_container().children("ul").removeClass("jstree-no-icons")},
o:e,r:n,p:u}):(this.dnd_prepare(),this.move_node(e,n,u,t[this._get_settings().dnd.copy_modifier+"Key"])),e=!1,n=!1,i.hide(),r&&r.hide()},dnd_enter:function(e){this.data.dnd.mto&&(clearTimeout(this.data.dnd.mto),this.data.dnd.mto=!1);var i=this._get_settings().dnd;this.data.dnd.prepared=!1,n=this._get_node(e),i.check_timeout?(this.data.dnd.to1&&clearTimeout(this.data.dnd.to1),this.data.dnd.to1=setTimeout(t.proxy(this.dnd_prepare,this),i.check_timeout)):this.dnd_prepare(),i.open_timeout?(this.data.dnd.to2&&clearTimeout(this.data.dnd.to2),n&&n.length&&n.hasClass("jstree-closed")&&(this.data.dnd.to2=setTimeout(t.proxy(this.dnd_open,this),i.open_timeout))):n&&n.length&&n.hasClass("jstree-closed")&&this.dnd_open()},dnd_leave:function(e){this.data.dnd.after=!1,this.data.dnd.before=!1,this.data.dnd.inside=!1,t.vakata.dnd.helper.children("ins").attr("class","jstree-invalid"),i.hide(),r&&r.hide(),n&&n[0]===e.target.parentNode&&(this.data.dnd.to1&&(clearTimeout(this.data.dnd.to1),this.data.dnd.to1=!1),this.data.dnd.to2&&(clearTimeout(this.data.dnd.to2),this.data.dnd.to2=!1))},start_drag:function(n,o){e=this._get_node(n),this.data.ui&&this.is_selected(e)&&(e=this._get_node(null,!0));var a=e.length>1?this._get_string("multiple_selection"):this.get_text(e),s=this.get_container();this._get_settings().core.html_titles||(a=a.replace(/</gi,"&lt;").replace(/>/gi,"&gt;")),t.vakata.dnd.drag_start(o,{jstree:!0,obj:e},"<ins class='jstree-icon'></ins>"+a),this.data.themes&&(i&&i.attr("class","jstree-"+this.data.themes.theme),r&&r.attr("class","jstree-"+this.data.themes.theme),t.vakata.dnd.helper.attr("class","jstree-dnd-helper jstree-"+this.data.themes.theme)),this.data.dnd.cof=s.offset(),this.data.dnd.cw=parseInt(s.width(),10),this.data.dnd.ch=parseInt(s.height(),10),this.data.dnd.active=!0}}}),t(function(){var e="#vakata-dragged ins { display:block; text-decoration:none; width:16px; height:16px; margin:0 0 0 0; padding:0; position:absolute; top:4px; left:4px; -moz-border-radius:4px; border-radius:4px; -webkit-border-radius:4px; } #vakata-dragged .jstree-ok { background:green; } #vakata-dragged .jstree-invalid { background:red; } #jstree-marker { padding:0; margin:0; font-size:12px; overflow:hidden; height:12px; width:8px; position:absolute; top:-30px; z-index:10001; background-repeat:no-repeat; display:none; background-color:transparent; text-shadow:1px 1px 1px white; color:black; line-height:10px; } #jstree-marker-line { padding:0; margin:0; line-height:0%; font-size:1px; overflow:hidden; height:1px; width:100px; position:absolute; top:-30px; z-index:10000; background-repeat:no-repeat; display:none; background-color:#456c43; cursor:pointer; border:1px solid #eeeeee; border-left:0; -moz-box-shadow: 0px 0px 2px #666; -webkit-box-shadow: 0px 0px 2px #666; box-shadow: 0px 0px 2px #666; -moz-border-radius:1px; border-radius:1px; -webkit-border-radius:1px; }";t.vakata.css.add_sheet({str:e,title:"jstree"}),i=t("<div />").attr({id:"jstree-marker"}).hide().html("&raquo;").bind("mouseleave mouseenter",function(t){return i.hide(),r.hide(),t.preventDefault(),t.stopImmediatePropagation(),!1}).appendTo("body"),r=t("<div />").attr({id:"jstree-marker-line"}).hide().bind("mouseup",function(t){if(n&&n.length)return n.children("a").trigger(t),t.preventDefault(),t.stopImmediatePropagation(),!1}).bind("mouseleave",function(e){var o=t(e.relatedTarget);if((o.is(".jstree")||0===o.closest(".jstree").length)&&n&&n.length)return n.children("a").trigger(e),i.hide(),r.hide(),e.preventDefault(),e.stopImmediatePropagation(),!1}).appendTo("body"),t(document).bind("drag_start.vakata",function(t,e){e.data.jstree&&(i.show(),r&&r.show())}),t(document).bind("drag_stop.vakata",function(t,e){e.data.jstree&&(i.hide(),r&&r.hide())})})}(t),function(t){t.jstree.plugin("checkbox",{__init:function(){this.data.checkbox.noui=this._get_settings().checkbox.override_ui,this.data.ui&&this.data.checkbox.noui&&(this.select_node=this.deselect_node=this.deselect_all=t.noop,this.get_selected=this.get_checked),this.get_container().bind("open_node.jstree create_node.jstree clean_node.jstree ref
e.stopImmediatePropagation(),e.preventDefault())}).bind("keydown","esc",function(e){t.vakata.context.hide(),e.preventDefault()}).bind("keydown","space",function(e){t.vakata.context.cnt.find(".vakata-hover").last().children("a").click(),e.preventDefault()})}),t.jstree.plugin("contextmenu",{__init:function(){this.get_container().delegate("a","contextmenu.jstree",t.proxy(function(e){e.preventDefault(),t(e.currentTarget).hasClass("jstree-loading")||this.show_contextmenu(e.currentTarget,e.pageX,e.pageY)},this)).delegate("a","click.jstree",t.proxy(function(e){this.data.contextmenu&&t.vakata.context.hide()},this)).bind("destroy.jstree",t.proxy(function(){this.data.contextmenu&&t.vakata.context.hide()},this)),t(document).bind("context_hide.vakata",t.proxy(function(){this.data.contextmenu=!1},this))},__destroy:function(){t(".jstree").length<=1&&t(document).unbind("context_hide.vakata")},defaults:{select_node:!1,show_at_node:!0,items:{create:{separator_before:!1,separator_after:!0,label:"Create",action:function(t){this.create(t)}},rename:{separator_before:!1,separator_after:!1,label:"Rename",action:function(t){this.rename(t)}},remove:{separator_before:!1,icon:!1,separator_after:!1,label:"Delete",action:function(t){this.is_selected(t)?this.remove():this.remove(t)}},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(t){this.cut(t)}},copy:{separator_before:!1,icon:!1,separator_after:!1,label:"Copy",action:function(t){this.copy(t)}},paste:{separator_before:!1,icon:!1,separator_after:!1,label:"Paste",action:function(t){this.paste(t)}}}}}},_fn:{show_contextmenu:function(e,n,i){e=this._get_node(e);var r=this.get_settings().contextmenu,o=e.children("a:visible:eq(0)"),a=!1,s=!1;r.select_node&&this.data.ui&&!this.is_selected(e)&&(this.deselect_all(),this.select_node(e,!0)),(r.show_at_node||"undefined"==typeof n||"undefined"==typeof i)&&(a=o.offset(),n=a.left,i=a.top+this.data.core.li_height),s=e.data("jstree")&&e.data("jstree").contextmenu?e.data("jstree").contextmenu:r.items,t.isFunction(s)&&(s=s.call(this,e)),this.data.contextmenu=!0,t.vakata.context.show(s,o,n,i,this,e,this._get_settings().core.rtl),this.data.themes&&t.vakata.context.cnt.attr("class","jstree-"+this.data.themes.theme+"-context")}}})}(t),function(t){t.jstree.plugin("types",{__init:function(){var n=this._get_settings().types;this.data.types.attach_to=[],this.get_container().bind("init.jstree",t.proxy(function(){var e=n.types,i=n.type_attr,r="",o=this;t.each(e,function(e,n){return t.each(n,function(t,e){/^(max_depth|max_children|icon|valid_children)$/.test(t)||o.data.types.attach_to.push(t)}),!n.icon||void((n.icon.image||n.icon.position)&&(r+="default"==e?".jstree-"+o.get_index()+" a > .jstree-icon { ":".jstree-"+o.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+="} "))}),""!==r&&t.vakata.css.add_sheet({str:r,title:"jstree-types"})},this)).bind("before.jstree",t.proxy(function(e,n){var i,r,o=!!this._get_settings().types.use_data&&this._get_node(n.args[0]),a=!(!o||o===-1||!o.length)&&o.data("jstree");if(a&&a.types&&a.types[n.func]===!1)return e.stopImmediatePropagation(),!1;if(t.inArray(n.func,this.data.types.attach_to)!==-1){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"!=typeof i[r][n.func]||i["default"]&&"undefined"!=typeof i["default"][n.func])&&this._check(n.func,n.args[0])===!1)return e.stopImmediatePropagation(),!1}},this)),e&&this.get_container().bind("load_node.jstree set_type.jstree",t.proxy(function(e,n){var i=n&&n.rslt&&n.rslt.obj&&n.rslt.obj!==-1?this._get_node(n.rslt.obj).parent():this.get_container_ul(),r=!1,o=this._get_settings().types;t.each(o.types,function(t,e){e.icon&&(e.icon.image||e.icon.position)&&(r="default"===t?i.find("li > a > .jstree-icon"):i.find("li["+o.type_attr+"='"+t+"'] > a > .jst
2016-09-14 14:07:13 +02:00
* @class Tracks onchange events on all form fields.
*
* @todo Implement form reset handling
*
* @name jQuery.changetracker
* @author Ingo Schommer, SilverStripe Ltd.
* @license BSD License
*/
!function(t){t.fn.changetracker=function(e){var n=this;if(this.length>1)return this.each(function(t,n){this.changetracker(e)}),this;this.defaults={fieldSelector:":input:not(:submit)",ignoreFieldSelector:"",changedCssClass:"changed"};var i=t.extend({},this.defaults,e);if(this.initialize=function(){t.meta&&(i=t.extend({},i,this.data()));var e=!1,r=function(r){var o=t(r.target),a=o.data("changetracker.origVal"),s;s=o.is(":checkbox")?o.is(":checked")?1:0:o.val(),null===a||s!=a?(o.addClass(i.changedCssClass),n.addClass(i.changedCssClass)):(o.removeClass(i.changedCssClass),o.is(":radio")&&n.find(":radio[name="+o.attr("name")+"]").removeClass(i.changedCssClass),e||n.getFields().filter("."+i.changedCssClass).length||n.removeClass(i.changedCssClass))},o=this.getFields(),a;o.filter(":radio,:checkbox").bind("click.changetracker",r),o.not(":radio,:checkbox").bind("change.changetracker",r),o.each(function(){a=t(this).is(":radio,:checkbox")?n.find(":input[name="+t(this).attr("name")+"]:checked").val():t(this).val(),t(this).data("changetracker.origVal",a)}),n.bind("dirty.changetracker",function(){e=!0,n.addClass(i.changedCssClass)}),this.data("changetracker",!0)},this.destroy=function(){this.getFields().unbind(".changetracker").removeClass(i.changedCssClass).removeData("changetracker.origVal"),this.unbind(".changetracker").removeData("changetracker")},this.reset=function(){this.getFields().each(function(){n.resetField(this)}),this.removeClass(i.changedCssClass)},this.resetField=function(e){return t(e).removeData("changetracker.origVal").removeClass("changed")},this.getFields=function(){return this.find(i.fieldSelector).not(i.ignoreFieldSelector)},"string"==typeof arguments[0]){var r=arguments[1],o=Array.prototype.slice.call(arguments);return o.splice(0,1),this[arguments[0]].apply(this,o)}return this.initialize()}}(t)}).call(e,n(1))},function(t,e,n){(function(t){"use strict";function e(t){return t&&t.__esModule?t:{"default":t}}var i=n(1),r=e(i),o=n(51),a=e(o);n(943),n(952),r["default"].entwine("ss",function(e){var n,i;e(window).bind("resize.treedropdownfield",function(){var t=function a(){e(".TreeDropdownField").closePanel()};if(e.browser.msie&&parseInt(e.browser.version,10)<9){var r=e(window).width(),o=e(window).height();r==n&&o==i||(n=r,i=o,t())}else t()});var r={openlink:a["default"]._t("TreeDropdownField.OpenLink"),fieldTitle:"("+a["default"]._t("TreeDropdownField.FieldTitle")+")",searchFieldTitle:"("+a["default"]._t("TreeDropdownField.SearchFieldTitle")+")"},o=function s(t){e(t.target).parents(".TreeDropdownField").length||e(".TreeDropdownField").closePanel()};e(".TreeDropdownField").entwine({CurrentXhr:null,onadd:function l(){this.append('<span class="treedropdownfield-title"></span><div class="treedropdownfield-toggle-panel-link"><a href="#" class="ui-icon ui-icon-triangle-1-s"></a></div><div class="treedropdownfield-panel"><div class="tree-holder"></div></div>');var t=r.openLink;t&&this.find("treedropdownfield-toggle-panel-link a").attr("title",t),this.data("title")&&this.setTitle(this.data("title")),this.getPanel().hide(),this._super()},getPanel:function u(){return this.find(".treedropdownfield-panel")},openPanel:function c(){e(".TreeDropdownField").closePanel(),e("body").bind("click",o);var t=this.getPanel(),n=this.find(".tree-holder");t.css("width",this.width()),t.show();var i=this.find(".treedropdownfield-toggle-panel-link");i.addClass("treedropdownfield-open-tree"),this.addClass("treedropdownfield-open-tree"),i.find("a").removeClass("ui-icon-triangle-1-s").addClass("ui-icon-triangle-1-n"),n.is(":empty")&&!t.hasClass("loading")?this.loadTree(null,this._riseUp):this._riseUp(),this.trigger("panelshow")},_riseUp:function d(){var t=this,n=this.getPanel(),i=this.find(".treedropdownfield-toggle-panel-link"),r=i.innerHeight(),o,a,s;i.length>0&&(s=e(window).height()+e(document).scrollTop()-i.innerHeight(),a=i.offset().top,o=n.innerHeight(),a+o>s&&a-o>0?(t.addClass("treedropdownfield-with-rise"),r=-n.outerHeight()):t.removeClass("treedropdownfield-with-rise")),n.css({top:r+"px"})},closePanel:function f(){t("body").unbind("click",o);
"default":t}}var _jQuery=__webpack_require__(1),_jQuery2=_interopRequireDefault(_jQuery),_i18n=__webpack_require__(51),_i18n2=_interopRequireDefault(_i18n),ss="undefined"!=typeof window.ss?window.ss:{};ss.editorWrappers={},ss.editorWrappers.tinyMCE=function(){var editorID;return{init:function t(e){editorID=e,this.create()},destroy:function e(){tinymce.EditorManager.execCommand("mceRemoveEditor",!1,editorID)},getInstance:function n(){return tinymce.EditorManager.get(editorID)},onopen:function i(){},onclose:function r(){},getConfig:function o(){var t="#"+editorID,e=(0,_jQuery2["default"])(t).data("config"),n=this;return e.selector=t,e.setup=function(t){t.on("change",function(){n.save()})},e},save:function a(){var t=this.getInstance();t.save(),(0,_jQuery2["default"])(t.getElement()).trigger("change")},create:function s(){var t=this.getConfig();"undefined"!=typeof t.baseURL&&(tinymce.EditorManager.baseURL=t.baseURL),tinymce.init(t)},repaint:function l(){},isDirty:function u(){return this.getInstance().isDirty()},getContent:function c(){return this.getInstance().getContent()},getDOM:function d(){return this.getInstance().getElement()},getContainer:function f(){return this.getInstance().getContainer()},getSelectedNode:function h(){return this.getInstance().selection.getNode()},selectNode:function p(t){this.getInstance().selection.select(t)},setContent:function m(t,e){this.getInstance().setContent(t,e)},insertContent:function g(t,e){this.getInstance().insertContent(t,e)},replaceContent:function v(t,e){this.getInstance().execCommand("mceReplaceContent",!1,t,e)},insertLink:function y(t,e){this.getInstance().execCommand("mceInsertLink",!1,t,e)},removeLink:function b(){this.getInstance().execCommand("unlink",!1)},cleanLink:function cleanLink(href,node){var settings=this.getConfig,cb=settings.urlconverter_callback;return cb&&(href=eval(cb+"(href, node, true);")),href.match(new RegExp("^"+tinyMCE.settings.document_base_url+"(.*)$"))&&(href=RegExp.$1),href.match(/^javascript:\s*mctmp/)&&(href=""),href},createBookmark:function _(){return this.getInstance().selection.getBookmark()},moveToBookmark:function x(t){this.getInstance().selection.moveToBookmark(t),this.getInstance().focus()},blur:function w(){this.getInstance().selection.collapse()},addUndo:function C(){this.getInstance().undoManager.add()}}},ss.editorWrappers["default"]=ss.editorWrappers.tinyMCE,_jQuery2["default"].entwine("ss",function(t){t("textarea.htmleditor").entwine({Editor:null,onadd:function e(){var t=this.data("editor")||"default",e=ss.editorWrappers[t]();this.setEditor(e),e.init(this.attr("id")),this._super()},onremove:function n(){this.getEditor().destroy(),this._super()},"from .cms-edit-form":{onbeforesubmitform:function i(){this.getEditor().save(),this._super()}},openLinkDialog:function r(){this.openDialog("link")},openMediaDialog:function o(){this.openDialog("media")},openDialog:function a(e){var n=function a(t){return t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()},i=this,r=t("#cms-editor-dialogs").data("url"+n(e)+"form"),o=t(".htmleditorfield-"+e+"dialog");o.length?(o.getForm().setElement(this),o.html(""),o.addClass("loading"),o.open()):(o=t('<div class="htmleditorfield-dialog htmleditorfield-'+e+'dialog loading">'),t("body").append(o)),t.ajax({url:r,complete:function s(){o.removeClass("loading")},success:function l(t){o.html(t),o.getForm().setElement(i),o.trigger("ssdialogopen")}})}}),t(".htmleditorfield-dialog").entwine({onadd:function s(){this.is(".ui-dialog-content")||this.ssdialog({autoOpen:!0,buttons:{insert:{text:_i18n2["default"]._t("HtmlEditorField.INSERT","Insert"),"data-icon":"accept","class":"ss-ui-action-constructive media-insert",click:function e(){t(this).find("form").submit()}}}}),this._super()},getForm:function l(){return this.find("form")},open:function u(){this.ssdialog("open")},close:function c(){this.ssdialog("close")},toggle:function d(t){this.is(":visible")?this.close():this.open()},onscroll:function f(){this.animate({scrollTop:this.find("form").height()},500)}}),t("form.htmleditorfield-form").entwine({Selection:null,Bookmark:null,El
for(o=0;o<n.length;o+=1)if(n[o]===t)return{$ref:i[o]};if(n.push(t),i.push(e),"[object Array]"===Object.prototype.toString.apply(t))for(s=[],o=0;o<t.length;o+=1)s[o]=r(t[o],e+"["+o+"]");else{s={};var l=Object.getOwnPropertyNames(t);l.forEach(function(n){Object.prototype.hasOwnProperty.call(t,n)&&(s[n]=r(t[n],e+"["+JSON.stringify(n)+"]"))})}return s}return t}(e,"$")}),"function"!=typeof JSON.retrocycle&&(JSON.retrocycle=function retrocycle($){"use strict";var px=/^\$(?:\[(?:\d+|\"(?:[^\\\"\u0000-\u001f]|\\([\\\"\/bfnrt]|u[0-9a-zA-Z]{4}))*\")\])*$/;return function rez(value){var i,item,name,path;if(value&&"object"==typeof value)if("[object Array]"===Object.prototype.toString.apply(value))for(i=0;i<value.length;i+=1)item=value[i],item&&"object"==typeof item&&(path=item.$ref,"string"==typeof path&&px.test(path)?value[i]=eval(path):rez(item));else for(name in value)"object"==typeof value[name]&&(item=value[name],item&&(path=item.$ref,"string"==typeof path&&px.test(path)?value[name]=eval(path):rez(item)))}($),$})},function(t,e,n){(function(t){(function(){var e,n,i,r,o,a={}.hasOwnProperty,s=function(t,e){function n(){this.constructor=t}for(var i in e)a.call(e,i)&&(t[i]=e[i]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t};r=function(){function t(){this.options_index=0,this.parsed=[]}return t.prototype.add_node=function(t){return"OPTGROUP"===t.nodeName.toUpperCase()?this.add_group(t):this.add_option(t)},t.prototype.add_group=function(t){var e,n,i,r,o,a;for(e=this.parsed.length,this.parsed.push({array_index:e,group:!0,label:this.escapeExpression(t.label),title:t.title?t.title:void 0,children:0,disabled:t.disabled,classes:t.className}),o=t.childNodes,a=[],i=0,r=o.length;i<r;i++)n=o[i],a.push(this.add_option(n,e,t.disabled));return a},t.prototype.add_option=function(t,e,n){if("OPTION"===t.nodeName.toUpperCase())return""!==t.text?(null!=e&&(this.parsed[e].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:t.value,text:t.text,html:t.innerHTML,title:t.title?t.title:void 0,selected:t.selected,disabled:n===!0?n:t.disabled,group_array_index:e,group_label:null!=e?this.parsed[e].label:null,classes:t.className,style:t.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1},t.prototype.escapeExpression=function(t){var e,n;return null==t||t===!1?"":/[\&\<\>\"\'\`]/.test(t)?(e={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},n=/&(?!\w+;)|[\<\>\"\'\`]/g,t.replace(n,function(t){return e[t]||"&amp;"})):t},t}(),r.select_to_array=function(t){var e,n,i,o,a;for(n=new r,a=t.childNodes,i=0,o=a.length;i<o;i++)e=a[i],n.add_node(e);return n.parsed},n=function(){function t(e,n){this.form_field=e,this.options=null!=n?n:{},t.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers(),this.on_ready())}return t.prototype.set_default_values=function(){var t=this;return this.click_test_action=function(e){return t.test_active_click(e)},this.activate_action=function(e){return t.activate_field(e)},this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text&&this.options.allow_single_deselect,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null==this.options.enable_split_word_search||this.options.enable_split_word_search,this.group_search=null==this.options.group_search||this.options.group_search,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null==this.options.single_backstroke_delete||this.options.single_backstroke_delete,this.max_selected_options=this.options.max_selected_options||1/0,this.inherit_select_classes=this.options.inherit_select_classes||!1,this.display_sel
return c["default"].createElement("form",e,n&&c["default"].createElement("fieldset",null,n),i&&c["default"].createElement("div",{className:"btn-toolbar",role:"group"},i))}},{key:"handleSubmit",value:function u(t){"undefined"!=typeof this.props.handleSubmit&&this.props.handleSubmit(t)}}]),e}(f["default"]);h.propTypes={actions:c["default"].PropTypes.array,attributes:c["default"].PropTypes.shape({action:c["default"].PropTypes.string.isRequired,className:c["default"].PropTypes.string,encType:c["default"].PropTypes.string,id:c["default"].PropTypes.string,method:c["default"].PropTypes.string.isRequired}),componentWillUnmount:c["default"].PropTypes.func,data:c["default"].PropTypes.array,fields:c["default"].PropTypes.array.isRequired,formId:c["default"].PropTypes.string.isRequired,handleSubmit:c["default"].PropTypes.func,mapActionsToComponents:c["default"].PropTypes.func.isRequired,mapFieldsToComponents:c["default"].PropTypes.func.isRequired},e["default"]=h},function(t,e,n){(function(e){t.exports=e.FormConstants=n(972)}).call(e,function(){return this}())},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]={CSRF_HEADER:"X-SecurityID"}},function(t,e,n){(function(e){t.exports=e.FormAction=n(974)}).call(e,function(){return this}())},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},l=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),u=n(3),c=i(u),d=n(28),f=i(d),h=function(t){function e(t){r(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.handleClick=n.handleClick.bind(n),n}return a(e,t),l(e,[{key:"render",value:function n(){return c["default"].createElement("button",this.getButtonProps(),this.getLoadingIcon(),c["default"].createElement("span",null,this.props.title))}},{key:"getButtonProps",value:function i(){return s({},"undefined"==typeof this.props.attributes?{}:this.props.attributes,{id:this.props.id,className:this.getButtonClasses(),disabled:this.props.disabled,onClick:this.handleClick})}},{key:"getButtonClasses",value:function u(){var t=["btn"],e=this.getButtonStyle();e&&t.push("btn-"+e),"string"!=typeof this.props.title&&t.push("btn--no-text");var n=this.getIcon();return n&&t.push("font-icon-"+n),this.props.loading&&t.push("btn--loading"),this.props.disabled&&t.push("disabled"),"string"==typeof this.props.extraClass&&t.push(this.props.extraClass),t.join(" ")}},{key:"getButtonStyle",value:function d(){if("undefined"!=typeof this.props.data.buttonStyle)return this.props.data.buttonStyle;var t=this.props.extraClass.split(" ");return t.find(function(t){return t.indexOf("btn-")>-1})?null:"action_save"===this.props.name||t.find(function(t){return"ss-ui-action-constructive"===t})?"primary":"secondary"}},{key:"getIcon",value:function f(){return this.props.icon||this.props.data.icon||null}},{key:"getLoadingIcon",value:function h(){return this.props.loading?c["default"].createElement("div",{className:"btn__loading-icon"},c["default"].createElement("span",{className:"btn__circle btn__circle--1"}),c["default"].createElement("span",{className:"btn__circle btn__circle--2"}
}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),l=n(3),u=i(l),c=n(28),d=i(c),f=function(t){function e(t){r(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.handleBackButtonClick=n.handleBackButtonClick.bind(n),n}return a(e,t),s(e,[{key:"render",value:function n(){var t=["btn","btn-secondary","action","font-icon-left-open-big","toolbar__back-button","btn--no-text"],e={className:t.join(" "),onClick:this.handleBackButtonClick,href:"#",type:"button"};return u["default"].createElement("div",{className:"toolbar--north container-fluid"},u["default"].createElement("div",{className:"toolbar__navigation"},this.props.showBackButton&&u["default"].createElement("button",e),this.props.children))}},{key:"handleBackButtonClick",value:function i(t){return"undefined"!=typeof this.props.handleBackButtonClick?void this.props.handleBackButtonClick(t):void t.preventDefault()}}]),e}(d["default"]);f.propTypes={handleBackButtonClick:u["default"].PropTypes.func,showBackButton:u["default"].PropTypes.bool,breadcrumbs:u["default"].PropTypes.array},f.defaultProps={showBackButton:!1},e["default"]=f},function(t,e,n){(function(e){t.exports=e.Breadcrumb=n(999)}).call(e,function(){return this}())},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),l=n(3),u=i(l),c=n(28),d=i(c),f=n(6),h=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),s(e,[{key:"render",value:function n(){return u["default"].createElement("ol",{className:"breadcrumb"},this.getBreadcrumbs())}},{key:"getBreadcrumbs",value:function i(){return"undefined"==typeof this.props.crumbs?null:[].concat(this.props.crumbs.slice(0,-1).map(function(t,e){return[u["default"].createElement("li",{className:"breadcrumb__item"},u["default"].createElement(f.Link,{key:e,className:"breadcrumb__item-title",to:t.href},t.text))]}),this.props.crumbs.slice(-1).map(function(t,e){var n=["breadcrumb__icon",t.icon?t.icon.className:""].join(" ");return[u["default"].createElement("li",{className:"breadcrumb__item breadcrumb__item--last"},u["default"].createElement("h2",{className:"breadcrumb__item-title breadcrumb__item-title--last",key:e},t.text,t.icon&&u["default"].createElement("span",{className:n,onClick:t.icon.action})))]}))}}]),e}(d["default"]);h.propTypes={crumbs:u["default"].PropTypes.array},e["default"]=h},function(t,e,n){(function(e){t.exports=e.BreadcrumbsActions=n(1001)}).call(e,function(){return this}())
2016-09-14 14:07:13 +02:00
//# sourceMappingURL=bundle-lib.js.map