You are on page 1of 272

/* :asset_packager_compatibility, 'config/asset_packages.

yml' @ 1526073916 */
/* public/javascripts/react-with-addons-0.14.6.min.js @ 1526073743 */
/**
* React (with addons) v0.14.6
*
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
!function(e){if("object"==typeof exports&&"undefined"!=typeof
module)module.exports=e();else if("function"==typeof
define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?
window:"undefined"!=typeof global?global:"undefined"!=typeof self?
self:this,t.React=e()}}(function(){return function e(t,n,r){function i(a,s){if(!
n[a]){if(!t[a]){var c="function"==typeof require&&require;if(!s&&c)return c(a,!
0);if(o)return o(a,!0);var l=new Error("Cannot find module '"+a+"'");throw
l.code="MODULE_NOT_FOUND",l}var u=n[a]={exports:{}};t[a]
[0].call(u.exports,function(e){var n=t[a][1][e];return i(n?
n:e)},u,u.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof
require&&require,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t){"use
strict";var
n=e(22),r=e(26),i=e(37),o=e(29),a=e(62),s=e(91),c=e(93),l=e(115),u=e(137),d=e(140);
e(168),r.addons={CSSTransitionGroup:o,LinkedStateMixin:n,PureRenderMixin:i,Transiti
onGroup:s,batchedUpdates:function(){return
c.batchedUpdates.apply(this,arguments)},cloneWithProps:l,createFragment:a.create,sh
allowCompare:u,update:d},t.exports=r},
{115:115,137:137,140:140,168:168,22:22,26:26,29:29,37:37,62:62,91:91,93:93}],2:
[function(e,t){"use strict";var
n=e(70),r=e(119),i=e(152),o={componentDidMount:function()
{this.props.autoFocus&&i(r(this))}},a={Mixin:o,focusDOMComponent:function()
{i(n.getNode(this._rootNodeID))}};t.exports=a},{119:119,152:152,70:70}],3:
[function(e,t){"use strict";function n(){var e=window.opera;return"object"==typeof
e&&"function"==typeof e.version&&parseInt(e.version(),10)<=12}function r(e)
{return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function i(e)
{switch(e){case C.topCompositionStart:return O.compositionStart;case
C.topCompositionEnd:return O.compositionEnd;case C.topCompositionUpdate:return
O.compositionUpdate}}function o(e,t){return
e===C.topKeyDown&&t.keyCode===y}function a(e,t){switch(e){case C.topKeyUp:return-1!
==v.indexOf(t.keyCode);case C.topKeyDown:return t.keyCode!==y;case
C.topKeyPress:case C.topMouseDown:case C.topBlur:return!0;default:return!
1}}function s(e){var t=e.detail;return"object"==typeof t&&"data"in t?
t.data:null}function c(e,t,n,r,c){var l,u;if(w?l=i(e):T?
a(e,r)&&(l=O.compositionEnd):o(e,r)&&(l=O.compositionStart),!l)return null;S&&(T||
l!==O.compositionStart?
l===O.compositionEnd&&T&&(u=T.getData()):T=f.getPooled(t));var
d=m.getPooled(l,n,r,c);if(u)d.data=u;else{var _=s(r);null!==_&&(d.data=_)}return
p.accumulateTwoPhaseDispatches(d),d}function l(e,t){switch(e){case
C.topCompositionEnd:return s(t);case C.topKeyPress:var n=t.which;return n!==E?null:
(N=!0,R);case C.topTextInput:var r=t.data;return r===R&&N?null:r;default:return
null}}function u(e,t){if(T){if(e===C.topCompositionEnd||a(e,t)){var
n=T.getData();return f.release(T),T=null,n}return null}switch(e){case
C.topPaste:return null;case C.topKeyPress:return t.which&&!r(t)?
String.fromCharCode(t.which):null;case C.topCompositionEnd:return S?
null:t.data;default:return null}}function d(e,t,n,r,i){var o;if(o=x?l(e,r):u(e,r),!
o)return null;var a=b.getPooled(O.beforeInput,n,r,i);return
a.data=o,p.accumulateTwoPhaseDispatches(a),a}var
_=e(15),p=e(19),h=e(144),f=e(20),m=e(100),b=e(104),g=e(163),v=[9,13,27,32],y=229,w=
h.canUseDOM&&"CompositionEvent"in window,k=null;h.canUseDOM&&"documentMode"in
document&&(k=document.documentMode);var x=h.canUseDOM&&"TextEvent"in window&&!k&&!
n(),S=h.canUseDOM&&(!w||
k&&k>8&&11>=k),E=32,R=String.fromCharCode(E),C=_.topLevelTypes,O={beforeInput:
{phasedRegistrationNames:
{bubbled:g({onBeforeInput:null}),captured:g({onBeforeInputCapture:null})},dependenc
ies:[C.topCompositionEnd,C.topKeyPress,C.topTextInput,C.topPaste]},compositionEnd:
{phasedRegistrationNames:
{bubbled:g({onCompositionEnd:null}),captured:g({onCompositionEndCapture:null})},dep
endencies:
[C.topBlur,C.topCompositionEnd,C.topKeyDown,C.topKeyPress,C.topKeyUp,C.topMouseDown
]},compositionStart:{phasedRegistrationNames:
{bubbled:g({onCompositionStart:null}),captured:g({onCompositionStartCapture:null})}
,dependencies:
[C.topBlur,C.topCompositionStart,C.topKeyDown,C.topKeyPress,C.topKeyUp,C.topMouseDo
wn]},compositionUpdate:{phasedRegistrationNames:
{bubbled:g({onCompositionUpdate:null}),captured:g({onCompositionUpdateCapture:null}
)},dependencies:
[C.topBlur,C.topCompositionUpdate,C.topKeyDown,C.topKeyPress,C.topKeyUp,C.topMouseD
own]}},N=!1,T=null,j={eventTypes:O,extractEvents:function(e,t,n,r,i)
{return[c(e,t,n,r,i),d(e,t,n,r,i)]}};t.exports=j},
{100:100,104:104,144:144,15:15,163:163,19:19,20:20}],4:[function(e,t){"use
strict";function n(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var
r={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!
0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!
0,flexOrder:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!
0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!
0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!
0},i=["Webkit","ms","Moz","O"];Object.keys(r).forEach(function(e)
{i.forEach(function(t){r[n(t,e)]=r[e]})});var o={background:{backgroundAttachment:!
0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!
0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:
{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!
0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!
0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!
0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!
0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!
0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!
0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!
0,outlineStyle:!0,outlineColor:!
0}},a={isUnitlessNumber:r,shorthandPropertyExpansions:o};t.exports=a},{}],5:
[function(e,t){"use strict";var
n=e(4),r=e(144),i=e(76),o=(e(146),e(116)),a=e(157),s=e(165),c=(e(168),s(function(e)
{return a(e)})),l=!1,u="cssFloat";if(r.canUseDOM){var
d=document.createElement("div").style;try{d.font=""}catch(_){l=!0}void
0===document.documentElement.style.cssFloat&&(u="styleFloat")}var
p={createMarkupForStyles:function(e){var t="";for(var n in
e)if(e.hasOwnProperty(n)){var r=e[n];null!=r&&(t+=c(n)+":",t+=o(n,r)+";")}return
t||null},setValueForStyles:function(e,t){var r=e.style;for(var i in
t)if(t.hasOwnProperty(i)){var a=o(i,t[i]);if("float"===i&&(i=u),a)r[i]=a;else{var
s=l&&n.shorthandPropertyExpansions[i];if(s)for(var c in s)r[c]="";else
r[i]=""}}}};i.measureMethods(p,"CSSPropertyOperations",
{setValueForStyles:"setValueForStyles"}),t.exports=p},
{116:116,144:144,146:146,157:157,165:165,168:168,4:4,76:76}],6:[function(e,t){"use
strict";function n(){this._callbacks=null,this._contexts=null}var
r=e(25),i=e(24),o=e(158);i(n.prototype,{enqueue:function(e,t)
{this._callbacks=this._callbacks||[],this._contexts=this._contexts||
[],this._callbacks.push(e),this._contexts.push(t)},notifyAll:function(){var
e=this._callbacks,t=this._contexts;if(e){e.length!==t.length?o(!1):void
0,this._callbacks=null,this._contexts=null;for(var n=0;n<e.length;n+
+)e[n].call(t[n]);e.length=0,t.length=0}},reset:function()
{this._callbacks=null,this._contexts=null},destructor:function()
{this.reset()}}),r.addPoolingTo(n),t.exports=n},{158:158,24:24,25:25}],7:
[function(e,t){"use strict";function n(e){var
t=e.nodeName&&e.nodeName.toLowerCase();return"select"===t||"input"===t&&"file"===e.
type}function r(e){var
t=k.getPooled(O.change,T,e,x(e));v.accumulateTwoPhaseDispatches(t),w.batchedUpdates
(i,t)}function i(e){g.enqueueEvents(e),g.processEventQueue(!1)}function o(e,t)
{N=e,T=t,N.attachEvent("onchange",r)}function a()
{N&&(N.detachEvent("onchange",r),N=null,T=null)}function s(e,t,n){return
e===C.topChange?n:void 0}function c(e,t,n){e===C.topFocus?
(a(),o(t,n)):e===C.topBlur&&a()}function l(e,t)
{N=e,T=t,j=e.value,P=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value
"),Object.defineProperty(N,"value",A),N.attachEvent("onpropertychange",d)}function
u(){N&&(delete
N.value,N.detachEvent("onpropertychange",d),N=null,T=null,j=null,P=null)}function
d(e){if("value"===e.propertyName){var t=e.srcElement.value;t!
==j&&(j=t,r(e))}}function _(e,t,n){return e===C.topInput?n:void 0}function p(e,t,n)
{e===C.topFocus?(u(),l(t,n)):e===C.topBlur&&u()}function h(e){return e!
==C.topSelectionChange&&e!==C.topKeyUp&&e!==C.topKeyDown||!N||N.value===j?void 0:
(j=N.value,T)}function f(e){return
e.nodeName&&"input"===e.nodeName.toLowerCase()&&("checkbox"===e.type||"radio"===e.t
ype)}function m(e,t,n){return e===C.topClick?n:void 0}var
b=e(15),g=e(16),v=e(19),y=e(144),w=e(93),k=e(102),x=e(125),S=e(130),E=e(131),R=e(16
3),C=b.topLevelTypes,O={change:{phasedRegistrationNames:
{bubbled:R({onChange:null}),captured:R({onChangeCapture:null})},dependencies:
[C.topBlur,C.topChange,C.topClick,C.topFocus,C.topInput,C.topKeyDown,C.topKeyUp,C.t
opSelectionChange]}},N=null,T=null,j=null,P=null,I=!
1;y.canUseDOM&&(I=S("change")&&(!("documentMode"in document)||
document.documentMode>8));var M=!1;y.canUseDOM&&(M=S("input")&&(!("documentMode"in
document)||document.documentMode>9));var A={get:function(){return
P.get.call(this)},set:function(e)
{j=""+e,P.set.call(this,e)}},D={eventTypes:O,extractEvents:function(e,t,r,i,o){var
a,l;if(n(t)?I?a=s:l=c:E(t)?M?a=_:(a=h,l=p):f(t)&&(a=m),a){var u=a(e,t,r);if(u){var
d=k.getPooled(O.change,u,i,o);return
d.type="change",v.accumulateTwoPhaseDispatches(d),d}}l&&l(e,t,r)}};t.exports=D},
{102:102,125:125,130:130,131:131,144:144,15:15,16:16,163:163,19:19,93:93}],8:
[function(e,t){"use strict";var n=0,r={createReactRootIndex:function(){return n+
+}};t.exports=r},{}],9:[function(e,t){"use strict";function n(e,t,n){var
r=n>=e.childNodes.length?null:e.childNodes.item(n);e.insertBefore(t,r)}var
r=e(12),i=e(72),o=e(76),a=e(135),s=e(136),c=e(158),l={dangerouslyReplaceNodeWithMar
kup:r.dangerouslyReplaceNodeWithMarkup,updateTextContent:s,processUpdates:function(
e,t){for(var
o,l=null,u=null,d=0;d<e.length;d++)if(o=e[d],o.type===i.MOVE_EXISTING||
o.type===i.REMOVE_NODE){var
_=o.fromIndex,p=o.parentNode.childNodes[_],h=o.parentID;p?void 0:c(!1),l=l||
{},l[h]=l[h]||[],l[h][_]=p,u=u||[],u.push(p)}var f;if(f=t.length&&"string"==typeof
t[0]?r.dangerouslyRenderMarkup(t):t,u)for(var m=0;m<u.length;m+
+)u[m].parentNode.removeChild(u[m]);for(var b=0;b<e.length;b+
+)switch(o=e[b],o.type){case
i.INSERT_MARKUP:n(o.parentNode,f[o.markupIndex],o.toIndex);break;case
i.MOVE_EXISTING:n(o.parentNode,l[o.parentID][o.fromIndex],o.toIndex);break;case
i.SET_MARKUP:a(o.parentNode,o.content);break;case
i.TEXT_CONTENT:s(o.parentNode,o.content);break;case
i.REMOVE_NODE:}}};o.measureMethods(l,"DOMChildrenOperations",
{updateTextContent:"updateTextContent"}),t.exports=l},
{12:12,135:135,136:136,158:158,72:72,76:76}],10:[function(e,t){"use
strict";function n(e,t){return(e&t)===t}var
r=e(158),i={MUST_USE_ATTRIBUTE:1,MUST_USE_PROPERTY:2,HAS_SIDE_EFFECTS:4,HAS_BOOLEAN
_VALUE:8,HAS_NUMERIC_VALUE:16,HAS_POSITIVE_NUMERIC_VALUE:48,HAS_OVERLOADED_BOOLEAN_
VALUE:64,injectDOMPropertyConfig:function(e){var t=i,o=e.Properties||
{},s=e.DOMAttributeNamespaces||{},c=e.DOMAttributeNames||{},l=e.DOMPropertyNames||
{},u=e.DOMMutationMethods||
{};e.isCustomAttribute&&a._isCustomAttributeFunctions.push(e.isCustomAttribute);for
(var d in o){a.properties.hasOwnProperty(d)?r(!1):void 0;var
_=d.toLowerCase(),p=o[d],h={attributeName:_,attributeNamespace:null,propertyName:d,
mutationMethod:null,mustUseAttribute:n(p,t.MUST_USE_ATTRIBUTE),mustUseProperty:n(p,
t.MUST_USE_PROPERTY),hasSideEffects:n(p,t.HAS_SIDE_EFFECTS),hasBooleanValue:n(p,t.H
AS_BOOLEAN_VALUE),hasNumericValue:n(p,t.HAS_NUMERIC_VALUE),hasPositiveNumericValue:
n(p,t.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:n(p,t.HAS_OVERLOADED_BO
OLEAN_VALUE)};if(h.mustUseAttribute&&h.mustUseProperty?r(!1):void 0,!
h.mustUseProperty&&h.hasSideEffects?r(!1):void
0,h.hasBooleanValue+h.hasNumericValue+h.hasOverloadedBooleanValue<=1?void 0:r(!
1),c.hasOwnProperty(d)){var
f=c[d];h.attributeName=f}s.hasOwnProperty(d)&&(h.attributeNamespace=s[d]),l.hasOwnP
roperty(d)&&(h.propertyName=l[d]),u.hasOwnProperty(d)&&(h.mutationMethod=u[d]),a.pr
operties[d]=h}}},o={},a={ID_ATTRIBUTE_NAME:"data-reactid",properties:
{},getPossibleStandardName:null,_isCustomAttributeFunctions:
[],isCustomAttribute:function(e){for(var
t=0;t<a._isCustomAttributeFunctions.length;t++){var
n=a._isCustomAttributeFunctions[t];if(n(e))return!0}return!
1},getDefaultValueForProperty:function(e,t){var n,r=o[e];return r||(o[e]=r={}),t in
r||(n=document.createElement(e),r[t]=n[t]),r[t]},injection:i};t.exports=a},
{158:158}],11:[function(e,t){"use strict";function n(e){return
l.hasOwnProperty(e)?!0:c.hasOwnProperty(e)?!1:s.test(e)?(l[e]=!0,!0):(c[e]=!0,!
1)}function r(e,t){return null==t||e.hasBooleanValue&&!t||
e.hasNumericValue&&isNaN(t)||e.hasPositiveNumericValue&&1>t||
e.hasOverloadedBooleanValue&&t===!1}var i=e(10),o=e(76),a=e(133),s=(e(168),/^[a-zA-
Z_][\w\.\-]*$/),c={},l={},u={createMarkupForID:function(e){return
i.ID_ATTRIBUTE_NAME+"="+a(e)},setAttributeForID:function(e,t)
{e.setAttribute(i.ID_ATTRIBUTE_NAME,t)},createMarkupForProperty:function(e,t){var
n=i.properties.hasOwnProperty(e)?i.properties[e]:null;if(n){if(r(n,t))return"";var
o=n.attributeName;return n.hasBooleanValue||n.hasOverloadedBooleanValue&&t===!0?
o+'=""':o+"="+a(t)}return i.isCustomAttribute(e)?
null==t?"":e+"="+a(t):null},createMarkupForCustomAttribute:function(e,t){return
n(e)&&null!=t?e+"="+a(t):""},setValueForProperty:function(e,t,n){var
o=i.properties.hasOwnProperty(t)?i.properties[t]:null;if(o){var
a=o.mutationMethod;if(a)a(e,n);else if(r(o,n))this.deleteValueForProperty(e,t);else
if(o.mustUseAttribute){var s=o.attributeName,c=o.attributeNamespace;c?
e.setAttributeNS(c,s,""+n):o.hasBooleanValue||o.hasOverloadedBooleanValue&&n===!0?
e.setAttribute(s,""):e.setAttribute(s,""+n)}else{var
l=o.propertyName;o.hasSideEffects&&""+e[l]==""+n||(e[l]=n)}}else
i.isCustomAttribute(t)&&u.setValueForAttribute(e,t,n)},setValueForAttribute:functio
n(e,t,r){n(t)&&(null==r?
e.removeAttribute(t):e.setAttribute(t,""+r))},deleteValueForProperty:function(e,t)
{var n=i.properties.hasOwnProperty(t)?i.properties[t]:null;if(n){var
r=n.mutationMethod;if(r)r(e,void 0);else
if(n.mustUseAttribute)e.removeAttribute(n.attributeName);else{var
o=n.propertyName,a=i.getDefaultValueForProperty(e.nodeName,o);n.hasSideEffects&&""+
e[o]===a||(e[o]=a)}}else
i.isCustomAttribute(t)&&e.removeAttribute(t)}};o.measureMethods(u,"DOMPropertyOpera
tions",
{setValueForProperty:"setValueForProperty",setValueForAttribute:"setValueForAttribu
te",deleteValueForProperty:"deleteValueForProperty"}),t.exports=u},
{10:10,133:133,168:168,76:76}],12:[function(e,t){"use strict";function n(e){return
e.substring(1,e.indexOf(" "))}var
r=e(144),i=e(149),o=e(150),a=e(154),s=e(158),c=/^(<[^ \/>]+)/,l="data-danger-
index",u={dangerouslyRenderMarkup:function(e){r.canUseDOM?void 0:s(!1);for(var
t,u={},d=0;d<e.length;d++)e[d]?void 0:s(!1),t=n(e[d]),t=a(t)?t:"*",u[t]=u[t]||
[],u[t][d]=e[d];var _=[],p=0;for(t in u)if(u.hasOwnProperty(t)){var h,f=u[t];for(h
in f)if(f.hasOwnProperty(h)){var m=f[h];f[h]=m.replace(c,"$1 "+l+'="'+h+'"
')}for(var b=i(f.join(""),o),g=0;g<b.length;++g){var
v=b[g];v.hasAttribute&&v.hasAttribute(l)&&(h=+v.getAttribute(l),v.removeAttribute(l
),_.hasOwnProperty(h)?s(!1):void 0,_[h]=v,p+=1)}}return p!==_.length?s(!1):void
0,_.length!==e.length?s(!1):void
0,_},dangerouslyReplaceNodeWithMarkup:function(e,t){r.canUseDOM?void 0:s(!1),t?void
0:s(!1),"html"===e.tagName.toLowerCase()?s(!1):void 0;var n;n="string"==typeof t?
i(t,o)[0]:t,e.parentNode.replaceChild(n,e)}};t.exports=u},
{144:144,149:149,150:150,154:154,158:158}],13:[function(e,t){"use strict";var
n=e(163),r=[n({ResponderEventPlugin:null}),n({SimpleEventPlugin:null}),n({TapEventP
lugin:null}),n({EnterLeaveEventPlugin:null}),n({ChangeEventPlugin:null}),n({SelectE
ventPlugin:null}),n({BeforeInputEventPlugin:null})];t.exports=r},{163:163}],14:
[function(e,t){"use strict";var
n=e(15),r=e(19),i=e(106),o=e(70),a=e(163),s=n.topLevelTypes,c=o.getFirstReactDOM,l=
{mouseEnter:{registrationName:a({onMouseEnter:null}),dependencies:
[s.topMouseOut,s.topMouseOver]},mouseLeave:
{registrationName:a({onMouseLeave:null}),dependencies:
[s.topMouseOut,s.topMouseOver]}},u=[null,null],d={eventTypes:l,extractEvents:functi
on(e,t,n,a,d){if(e===s.topMouseOver&&(a.relatedTarget||a.fromElement))return
null;if(e!==s.topMouseOut&&e!==s.topMouseOver)return null;var
_;if(t.window===t)_=t;else{var p=t.ownerDocument;_=p?p.defaultView||
p.parentWindow:window}var h,f,m="",b="";if(e===s.topMouseOut?
(h=t,m=n,f=c(a.relatedTarget||a.toElement),f?b=o.getID(f):f=_,f=f||_):
(h=_,f=t,b=n),h===f)return null;var
g=i.getPooled(l.mouseLeave,m,a,d);g.type="mouseleave",g.target=h,g.relatedTarget=f;
var v=i.getPooled(l.mouseEnter,b,a,d);return
v.type="mouseenter",v.target=f,v.relatedTarget=h,r.accumulateEnterLeaveDispatches(g
,v,m,b),u[0]=g,u[1]=v,u}};t.exports=d},{106:106,15:15,163:163,19:19,70:70}],15:
[function(e,t){"use strict";var
n=e(162),r=n({bubbled:null,captured:null}),i=n({topAbort:null,topBlur:null,topCanPl
ay: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,top
DragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,top
DurationChange:null,topEmptied:null,topEncrypted:null,topEnded:null,topError:null,t
opFocus:null,topInput:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:n
ull,topLoadedData:null,topLoadedMetadata:null,topLoadStart:null,topMouseDown:null,t
opMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,t
opPause:null,topPlay:null,topPlaying:null,topProgress:null,topRateChange:null,topRe
set:null,topScroll:null,topSeeked:null,topSeeking:null,topSelectionChange:null,topS
talled:null,topSubmit:null,topSuspend:null,topTextInput:null,topTimeUpdate:null,top
TouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topVolumeCha
nge:null,topWaiting:null,topWheel:null}),o={topLevelTypes:i,PropagationPhases:r};t.
exports=o},{162:162}],16:[function(e,t){"use strict";var
n=e(17),r=e(18),i=e(59),o=e(112),a=e(121),s=e(158),c=(e(168),
{}),l=null,u=function(e,t){e&&(r.executeDispatchesInOrder(e,t),e.isPersistent()||
e.constructor.release(e))},d=function(e){return u(e,!0)},_=function(e){return u(e,!
1)},p=null,h={injection:
{injectMount:r.injection.injectMount,injectInstanceHandle:function(e)
{p=e},getInstanceHandle:function(){return
p},injectEventPluginOrder:n.injectEventPluginOrder,injectEventPluginsByName:n.injec
tEventPluginsByName},eventNameDispatchConfigs:n.eventNameDispatchConfigs,registrati
onNameModules:n.registrationNameModules,putListener:function(e,t,r){"function"!
=typeof r?s(!1):void 0;var i=c[t]||(c[t]={});i[e]=r;var
o=n.registrationNameModules[t];o&&o.didPutListener&&o.didPutListener(e,t,r)},getLis
tener:function(e,t){var n=c[t];return n&&n[e]},deleteListener:function(e,t){var
r=n.registrationNameModules[t];r&&r.willDeleteListener&&r.willDeleteListener(e,t);v
ar i=c[t];i&&delete i[e]},deleteAllListeners:function(e){for(var t in c)if(c[t][e])
{var
r=n.registrationNameModules[t];r&&r.willDeleteListener&&r.willDeleteListener(e,t),d
elete c[t][e]}},extractEvents:function(e,t,r,i,a){for(var
s,c=n.plugins,l=0;l<c.length;l++){var u=c[l];if(u){var
d=u.extractEvents(e,t,r,i,a);d&&(s=o(s,d))}}return s},enqueueEvents:function(e)
{e&&(l=o(l,e))},processEventQueue:function(e){var t=l;l=null,e?a(t,d):a(t,_),l?s(!
1):void 0,i.rethrowCaughtError()},__purge:function()
{c={}},__getListenerBank:function(){return c}};t.exports=h},
{112:112,121:121,158:158,168:168,17:17,18:18,59:59}],17:[function(e,t){"use
strict";function n(){if(a)for(var e in s){var t=s[e],n=a.indexOf(e);if(n>-1?void
0:o(!1),!c.plugins[n]){t.extractEvents?void
0:o(!1),c.plugins[n]=t;var i=t.eventTypes;for(var l in i)r(i[l],t,l)?void 0:o(!
1)}}}function r(e,t,n){c.eventNameDispatchConfigs.hasOwnProperty(n)?o(!1):void
0,c.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var a
in r)if(r.hasOwnProperty(a)){var s=r[a];i(s,t,n)}return!0}return
e.registrationName?(i(e.registrationName,t,n),!0):!1}function i(e,t,n)
{c.registrationNameModules[e]?o(!1):void
0,c.registrationNameModules[e]=t,c.registrationNameDependencies[e]=t.eventTypes[n].
dependencies}var o=e(158),a=null,s={},c={plugins:[],eventNameDispatchConfigs:
{},registrationNameModules:{},registrationNameDependencies:
{},injectEventPluginOrder:function(e){a?o(!1):void
0,a=Array.prototype.slice.call(e),n()},injectEventPluginsByName:function(e){var t=!
1;for(var r in e)if(e.hasOwnProperty(r)){var i=e[r];s.hasOwnProperty(r)&&s[r]===i||
(s[r]?o(!1):void 0,s[r]=i,t=!0)}t&&n()},getPluginModuleForEvent:function(e){var
t=e.dispatchConfig;if(t.registrationName)return
c.registrationNameModules[t.registrationName]||null;for(var n in
t.phasedRegistrationNames)if(t.phasedRegistrationNames.hasOwnProperty(n)){var
r=c.registrationNameModules[t.phasedRegistrationNames[n]];if(r)return r}return
null},_resetEventPlugins:function(){a=null;for(var e in
s)s.hasOwnProperty(e)&&delete s[e];c.plugins.length=0;var
t=c.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var
r=c.registrationNameModules;for(var i in r)r.hasOwnProperty(i)&&delete
r[i]}};t.exports=c},{158:158}],18:[function(e,t){"use strict";function n(e){return
e===f.topMouseUp||e===f.topTouchEnd||e===f.topTouchCancel}function r(e){return
e===f.topMouseMove||e===f.topTouchMove}function i(e){return e===f.topMouseDown||
e===f.topTouchStart}function o(e,t,n,r){var i=e.type||"unknown-
event";e.currentTarget=h.Mount.getNode(r),t?
_.invokeGuardedCallbackWithCatch(i,n,e,r):_.invokeGuardedCallback(i,n,e,r),e.curren
tTarget=null}function a(e,t){var
n=e._dispatchListeners,r=e._dispatchIDs;if(Array.isArray(n))for(var
i=0;i<n.length&&!e.isPropagationStopped();i++)o(e,t,n[i],r[i]);else
n&&o(e,t,n,r);e._dispatchListeners=null,e._dispatchIDs=null}function s(e){var
t=e._dispatchListeners,n=e._dispatchIDs;if(Array.isArray(t)){for(var
r=0;r<t.length&&!e.isPropagationStopped();r++)if(t[r](e,n[r]))return n[r]}else
if(t&&t(e,n))return n;return null}function c(e){var t=s(e);return
e._dispatchIDs=null,e._dispatchListeners=null,t}function l(e){var
t=e._dispatchListeners,n=e._dispatchIDs;Array.isArray(t)?p(!1):void 0;var r=t?
t(e,n):null;return e._dispatchListeners=null,e._dispatchIDs=null,r}function u(e)
{return!!e._dispatchListeners}var d=e(15),_=e(59),p=e(158),h=(e(168),
{Mount:null,injectMount:function(e)
{h.Mount=e}}),f=d.topLevelTypes,m={isEndish:n,isMoveish:r,isStartish:i,executeDirec
tDispatch:l,executeDispatchesInOrder:a,executeDispatchesInOrderStopAtTrue:c,hasDisp
atches:u,getNode:function(e){return h.Mount.getNode(e)},getID:function(e){return
h.Mount.getID(e)},injection:h};t.exports=m},{15:15,158:158,168:168,59:59}],19:
[function(e,t){"use strict";function n(e,t,n){var
r=t.dispatchConfig.phasedRegistrationNames[n];return b(e,r)}function r(e,t,r){var
i=t?
m.bubbled:m.captured,o=n(e,r,i);o&&(r._dispatchListeners=h(r._dispatchListeners,o),
r._dispatchIDs=h(r._dispatchIDs,e))}function i(e)
{e&&e.dispatchConfig.phasedRegistrationNames&&p.injection.getInstanceHandle().trave
rseTwoPhase(e.dispatchMarker,r,e)}function o(e)
{e&&e.dispatchConfig.phasedRegistrationNames&&p.injection.getInstanceHandle().trave
rseTwoPhaseSkipTarget(e.dispatchMarker,r,e)}function a(e,t,n)
{if(n&&n.dispatchConfig.registrationName){var
r=n.dispatchConfig.registrationName,i=b(e,r);i&&(n._dispatchListeners=h(n._dispatch
Listeners,i),n._dispatchIDs=h(n._dispatchIDs,e))}}function s(e)
{e&&e.dispatchConfig.registrationName&&a(e.dispatchMarker,null,e)}function c(e)
{f(e,i)}function l(e){f(e,o)}function u(e,t,n,r)
{p.injection.getInstanceHandle().traverseEnterLeave(n,r,a,e,t)}function d(e)
{f(e,s)}var
_=e(15),p=e(16),h=(e(168),e(112)),f=e(121),m=_.PropagationPhases,b=p.getListener,g=
{accumulateTwoPhaseDispatches:c,accumulateTwoPhaseDispatchesSkipTarget:l,accumulate
DirectDispatches:d,accumulateEnterLeaveDispatches:u};t.exports=g},
{112:112,121:121,15:15,16:16,168:168}],20:[function(e,t){"use strict";function n(e)
{this._root=e,this._startText=this.getText(),this._fallbackText=null}var
r=e(25),i=e(24),o=e(128);i(n.prototype,{destructor:function()
{this._root=null,this._startText=null,this._fallbackText=null},getText:function()
{return"value"in this._root?this._root.value:this._root[o()]},getData:function()
{if(this._fallbackText)return this._fallbackText;var
e,t,n=this._startText,r=n.length,i=this.getText(),o=i.length;for(e=0;r>e&&n[e]===i[
e];e++);var a=r-e;for(t=1;a>=t&&n[r-t]===i[o-t];t++);var s=t>1?1-t:void 0;return
this._fallbackText=i.slice(e,s),this._fallbackText}}),r.addPoolingTo(n),t.exports=n
},{128:128,24:24,25:25}],21:[function(e,t){"use strict";var
n,r=e(10),i=e(144),o=r.injection.MUST_USE_ATTRIBUTE,a=r.injection.MUST_USE_PROPERTY
,s=r.injection.HAS_BOOLEAN_VALUE,c=r.injection.HAS_SIDE_EFFECTS,l=r.injection.HAS_N
UMERIC_VALUE,u=r.injection.HAS_POSITIVE_NUMERIC_VALUE,d=r.injection.HAS_OVERLOADED_
BOOLEAN_VALUE;if(i.canUseDOM){var
_=document.implementation;n=_&&_.hasFeature&&_.hasFeature("http://www.w3.org/TR/SVG
11/feature#BasicStructure","1.1")}var
p={isCustomAttribute:RegExp.prototype.test.bind(/^(data|aria)-[a-z_][a-
z\d_.\-]*$/),Properties:
{accept:null,acceptCharset:null,accessKey:null,action:null,allowFullScreen:o|
s,allowTransparency:o,alt:null,async:s,autoComplete:null,autoPlay:s,capture:o|
s,cellPadding:null,cellSpacing:null,charSet:o,challenge:o,checked:a|
s,classID:o,className:n?o:a,cols:o|
u,colSpan:null,content:null,contentEditable:null,contextMenu:o,controls:a|
s,coords:null,crossOrigin:null,data:null,dateTime:o,"default":s,defer:s,dir:null,di
sabled:o|
s,download:d,draggable:null,encType:null,form:o,formAction:o,formEncType:o,formMeth
od:o,formNoValidate:s,formTarget:o,frameBorder:o,headers:null,height:o,hidden:o|
s,high:null,href:null,hrefLang:null,htmlFor:null,httpEquiv:null,icon:null,id:a,inpu
tMode:o,integrity:null,is:o,keyParams:o,keyType:o,kind:null,label:null,lang:null,li
st:o,loop:a|
s,low:null,manifest:o,marginHeight:null,marginWidth:null,max:null,maxLength:o,media
:o,mediaGroup:null,method:null,min:null,minLength:o,multiple:a|s,muted:a|
s,name:null,nonce:o,noValidate:s,open:s,optimum:null,pattern:null,placeholder:null,
poster:null,preload:null,radioGroup:null,readOnly:a|
s,rel:null,required:s,reversed:s,role:o,rows:o|
u,rowSpan:null,sandbox:null,scope:null,scoped:s,scrolling:null,seamless:o|
s,selected:a|s,shape:null,size:o|
u,sizes:o,span:u,spellCheck:null,src:null,srcDoc:a,srcLang:null,srcSet:o,start:l,st
ep:null,style:null,summary:null,tabIndex:null,target:null,title:null,type:null,useM
ap:null,value:a|
c,width:o,wmode:o,wrap:null,about:o,datatype:o,inlist:o,prefix:o,property:o,resourc
e:o,"typeof":o,vocab:o,autoCapitalize:o,autoCorrect:o,autoSave:null,color:null,item
Prop:o,itemScope:o|
s,itemType:o,itemID:o,itemRef:o,results:null,security:o,unselectable:o},DOMAttribut
eNames:{acceptCharset:"accept-
charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:
{autoComplete:"autocomplete",autoFocus:"autofocus",autoPlay:"autoplay",autoSave:"au
tosave",encType:"encoding",hrefLang:"hreflang",radioGroup:"radiogroup",spellCheck:"
spellcheck",srcDoc:"srcdoc",srcSet:"srcset"}};t.exports=p},{10:10,144:144}],22:
[function(e,t){"use strict";var n=e(68),r=e(88),i={linkState:function(e){return new
n(this.state[e],r.createStateKeySetter(this,e))}};t.exports=i},{68:68,88:88}],23:
[function(e,t){"use strict";function n(e){null!=e.checkedLink&&null!=e.valueLink?
c(!1):void 0}function r(e){n(e),null!=e.value||null!=e.onChange?c(!1):void
0}function i(e){n(e),null!=e.checked||null!=e.onChange?c(!1):void 0}function o(e)
{if(e){var t=e.getName();if(t)return" Check the render method of
`"+t+"`."}return""}var a=e(80),s=e(79),c=e(158),l=(e(168),{button:!0,checkbox:!
0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0}),u={value:function(e,t){return!
e[t]||l[e.type]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a
`value` prop to a form field without an `onChange` handler. This will render a
read-only field. If the field should be mutable use `defaultValue`. Otherwise, set
either `onChange` or `readOnly`.")},checked:function(e,t){return!e[t]||e.onChange||
e.readOnly||e.disabled?null:new Error("You provided a `checked` prop to a form
field without an `onChange` handler. This will render a read-only field. If the
field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or
`readOnly`.")},onChange:a.func},d={},_={checkPropTypes:function(e,t,n){for(var r in
u){if(u.hasOwnProperty(r))var i=u[r](t,r,e,s.prop);i instanceof Error&&!(i.message
in d)&&(d[i.message]=!0,o(n))}},getValue:function(e){return e.valueLink?
(r(e),e.valueLink.value):e.value},getChecked:function(e){return e.checkedLink?
(i(e),e.checkedLink.value):e.checked},executeOnChange:function(e,t){return
e.valueLink?(r(e),e.valueLink.requestChange(t.target.value)):e.checkedLink?
(i(e),e.checkedLink.requestChange(t.target.checked)):e.onChange?
e.onChange.call(void 0,t):void 0}};t.exports=_},{158:158,168:168,79:79,80:80}],24:
[function(e,t){"use strict";function n(e){if(null==e)throw new
TypeError("Object.assign target cannot be null or undefined");for(var
t=Object(e),n=Object.prototype.hasOwnProperty,r=1;r<arguments.length;r++){var
i=arguments[r];if(null!=i){var o=Object(i);for(var a in
o)n.call(o,a)&&(t[a]=o[a])}}return t}t.exports=n},{}],25:[function(e,t){"use
strict";var n=e(158),r=function(e){var t=this;if(t.instancePool.length){var
n=t.instancePool.pop();return t.call(n,e),n}return new t(e)},i=function(e,t){var
n=this;if(n.instancePool.length){var r=n.instancePool.pop();return
n.call(r,e,t),r}return new n(e,t)},o=function(e,t,n){var
r=this;if(r.instancePool.length){var
i=r.instancePool.pop();return r.call(i,e,t,n),i}return new
r(e,t,n)},a=function(e,t,n,r){var i=this;if(i.instancePool.length){var
o=i.instancePool.pop();return i.call(o,e,t,n,r),o}return new
i(e,t,n,r)},s=function(e,t,n,r,i){var o=this;if(o.instancePool.length){var
a=o.instancePool.pop();return o.call(a,e,t,n,r,i),a}return new
o(e,t,n,r,i)},c=function(e){var t=this;e instanceof t?void 0:n(!
1),e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},l=10,u=
r,d=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||u,n.poolSize||
(n.poolSize=l),n.release=c,n},_={addPoolingTo:d,oneArgumentPooler:r,twoArgumentPool
er:i,threeArgumentPooler:o,fourArgumentPooler:a,fiveArgumentPooler:s};t.exports=_},
{158:158}],26:[function(e,t){"use strict";var
n=e(40),r=e(50),i=e(67),o=e(24),a=e(117),s={};o(s,i),o(s,
{findDOMNode:a("findDOMNode","ReactDOM","react-
dom",n,n.findDOMNode),render:a("render","ReactDOM","react-
dom",n,n.render),unmountComponentAtNode:a("unmountComponentAtNode","ReactDOM","reac
t-
dom",n,n.unmountComponentAtNode),renderToString:a("renderToString","ReactDOMServer"
,"react-
dom/server",r,r.renderToString),renderToStaticMarkup:a("renderToStaticMarkup","Reac
tDOMServer","react-
dom/server",r,r.renderToStaticMarkup)}),s.__SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FI
RED=n,s.__SECRET_DOM_SERVER_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=r,t.exports=s},
{117:117,24:24,40:40,50:50,67:67}],27:[function(e,t){"use strict";var
n=(e(66),e(119)),r=(e(168),"_getDOMNodeDidWarn"),i={getDOMNode:function(){return
this.constructor[r]=!0,n(this)}};t.exports=i},{119:119,168:168,66:66}],28:
[function(e,t){"use strict";function n(e){return
Object.prototype.hasOwnProperty.call(e,f)||(e[f]=p++,d[e[f]]={}),d[e[f]]}var
r=e(15),i=e(16),o=e(17),a=e(60),s=e(76),c=e(111),l=e(24),u=e(130),d={},_=!
1,p=0,h={topAbort:"abort",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"ca
nplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend
",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",t
opContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",t
opDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",
topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"d
rop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypte
d",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"
keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoad
edMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMo
useMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mou
seup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProg
ress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",to
pSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSus
pend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"
touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchst
art",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},f="_reac
tListenersID"+String(Math.random()).slice(2),m=l({},a,
{ReactEventListener:null,injection:{injectReactEventListener:function(e)
{e.setHandleTopLevel(m.handleTopLevel),m.ReactEventListener=e
}},setEnabled:function(e)
{m.ReactEventListener&&m.ReactEventListener.setEnabled(e)},isEnabled:function()
{return!(!m.ReactEventListener||!
m.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var
i=t,a=n(i),s=o.registrationNameDependencies[e],c=r.topLevelTypes,l=0;l<s.length;l+
+){var d=s[l];a.hasOwnProperty(d)&&a[d]||(d===c.topWheel?u("wheel")?
m.ReactEventListener.trapBubbledEvent(c.topWheel,"wheel",i):u("mousewheel")?
m.ReactEventListener.trapBubbledEvent(c.topWheel,"mousewheel",i):m.ReactEventListen
er.trapBubbledEvent(c.topWheel,"DOMMouseScroll",i):d===c.topScroll?u("scroll",!0)?
m.ReactEventListener.trapCapturedEvent(c.topScroll,"scroll",i):m.ReactEventListener
.trapBubbledEvent(c.topScroll,"scroll",m.ReactEventListener.WINDOW_HANDLE):d===c.to
pFocus||d===c.topBlur?(u("focus",!0)?
(m.ReactEventListener.trapCapturedEvent(c.topFocus,"focus",i),m.ReactEventListener.
trapCapturedEvent(c.topBlur,"blur",i)):u("focusin")&&(m.ReactEventListener.trapBubb
ledEvent(c.topFocus,"focusin",i),m.ReactEventListener.trapBubbledEvent(c.topBlur,"f
ocusout",i)),a[c.topBlur]=!0,a[c.topFocus]=!
0):h.hasOwnProperty(d)&&m.ReactEventListener.trapBubbledEvent(d,h[d],i),a[d]=!
0)}},trapBubbledEvent:function(e,t,n){return
m.ReactEventListener.trapBubbledEvent(e,t,n)},trapCapturedEvent:function(e,t,n)
{return
m.ReactEventListener.trapCapturedEvent(e,t,n)},ensureScrollValueMonitoring:function
(){if(!_){var
e=c.refreshScrollValues;m.ReactEventListener.monitorScrollValue(e),_=!
0}},eventNameDispatchConfigs:i.eventNameDispatchConfigs,registrationNameModules:i.r
egistrationNameModules,putListener:i.putListener,getListener:i.getListener,deleteLi
stener:i.deleteListener,deleteAllListeners:i.deleteAllListeners});s.measureMethods(
m,"ReactBrowserEventEmitter",
{putListener:"putListener",deleteListener:"deleteListener"}),t.exports=m},
{111:111,130:130,15:15,16:16,17:17,24:24,60:60,76:76}],29:[function(e,t){"use
strict";function n(e){var t="transition"+e+"Timeout",n="transition"+e;return
function(e){if(e[n]){if(null==e[t])return new Error(t+" wasn't supplied to
ReactCSSTransitionGroup: this can cause unreliable animations and won't be
supported in a future version of React. See https://fb.me/react-animation-
transition-group-timeout for more information.");if("number"!=typeof e[t])return
new Error(t+" must be a number (in milliseconds)")}}}var
r=e(26),i=e(24),o=e(91),a=e(30),s=r.createClass({displayName:"ReactCSSTransitionGro
up",propTypes:
{transitionName:a.propTypes.name,transitionAppear:r.PropTypes.bool,transitionEnter:
r.PropTypes.bool,transitionLeave:r.PropTypes.bool,transitionAppearTimeout:n("Appear
"),transitionEnterTimeout:n("Enter"),transitionLeaveTimeout:n("Leave")},getDefaultP
rops:function(){return{transitionAppear:!1,transitionEnter:!0,transitionLeave:!
0}},_wrapChild:function(e){return r.createElement(a,
{name:this.props.transitionName,appear:this.props.transitionAppear,enter:this.props
.transitionEnter,leave:this.props.transitionLeave,appearTimeout:this.props.transiti
onAppearTimeout,enterTimeout:this.props.transitionEnterTimeout,leaveTimeout:this.pr
ops.transitionLeaveTimeout},e)},render:function(){return
r.createElement(o,i({},this.props,{childFactory:this._wrapChild}))}});t.exports=s},
{24:24,26:26,30:30,91:91}],30:[function(e,t){"use strict";var
n=e(26),r=e(40),i=e(142),o=e(90),a=e(132),s=17,c=n.createClass({displayName:"ReactC
SSTransitionGroupChild",propTypes:
{name:n.PropTypes.oneOfType([n.PropTypes.string,n.PropTypes.shape({enter:n.PropType
s.string,leave:n.PropTypes.string,active:n.PropTypes.string}),n.PropTypes.shape({en
ter:n.PropTypes.string,enterActive:n.PropTypes.string,leave:n.PropTypes.string,leav
eActive:n.PropTypes.string,appear:n.PropTypes.string,appearActive:n.PropTypes.strin
g})]).isRequired,appear:n.PropTypes.bool,enter:n.PropTypes.bool,leave:n.PropTypes.b
ool,appearTimeout:n.PropTypes.number,enterTimeout:n.PropTypes.number,leaveTimeout:n
.PropTypes.number},transition:function(e,t,n){var a=r.findDOMNode(this);if(!
a)return void(t&&t());var s=this.props.name[e]||
this.props.name+"-"+e,c=this.props.name[e+"Active"]||s+"-
active",l=null,u=function(e){e&&e.target!==a||
(clearTimeout(l),i.removeClass(a,s),i.removeClass(a,c),o.removeEndEventListener(a,u
),t&&t())};i.addClass(a,s),this.queueClass(c),n?
(l=setTimeout(u,n),this.transitionTimeouts.push(l)):o.addEndEventListener(a,u)},que
ueClass:function(e){this.classNameQueue.push(e),this.timeout||
(this.timeout=setTimeout(this.flushClassNameQueue,s))},flushClassNameQueue:function
()
{this.isMounted()&&this.classNameQueue.forEach(i.addClass.bind(i,r.findDOMNode(this
))),this.classNameQueue.length=0,this.timeout=null},componentWillMount:function()
{this.classNameQueue=[],this.transitionTimeouts=[]},componentWillUnmount:function()
{this.timeout&&clearTimeout(this.timeout),this.transitionTimeouts.forEach(function(
e){clearTimeout(e)})},componentWillAppear:function(e){this.props.appear?
this.transition("appear",e,this.props.appearTimeout):e()},componentWillEnter:functi
on(e){this.props.enter?
this.transition("enter",e,this.props.enterTimeout):e()},componentWillLeave:function
(e){this.props.leave?
this.transition("leave",e,this.props.leaveTimeout):e()},render:function(){return
a(this.props.children)}});t.exports=c},{132:132,142:142,26:26,40:40,90:90}],31:
[function(e,t){"use strict";function n(e,t,n){var r=void 0===e[n];null!
=t&&r&&(e[n]=i(t,null))}var r=e(82),i=e(129),o=e(138),a=e(139),s=(e(168),
{instantiateChildren:function(e){if(null==e)return null;var t={};return
a(e,n,t),t},updateChildren:function(e,t,n,a){if(!t&&!e)return null;var s;for(s in
t)if(t.hasOwnProperty(s)){var c=e&&e[s],l=c&&c._currentElement,u=t[s];if(null!
=c&&o(l,u))r.receiveComponent(c,u,n,a),t[s]=c;else{c&&r.unmountComponent(c,s);var
d=i(u,null);t[s]=d}}for(s in e)!e.hasOwnProperty(s)||t&&t.hasOwnProperty(s)||
r.unmountComponent(e[s]);return t},unmountChildren:function(e){for(var t in
e)if(e.hasOwnProperty(t)){var n=e[t];r.unmountComponent(n)}}});t.exports=s},
{129:129,138:138,139:139,168:168,82:82}],32:[function(e,t){"use strict";function
n(e){return(""+e).replace(v,"//")}function r(e,t)
{this.func=e,this.context=t,this.count=0}function i(e,t){var
n=e.func,r=e.context;n.call(r,t,e.count++)}function o(e,t,n){if(null==e)return
e;var o=r.getPooled(t,n);m(e,i,o),r.release(o)}function a(e,t,n,r)
{this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function
s(e,t,r){var i=e.result,o=e.keyPrefix,a=e.func,s=e.context,l=a.call(s,t,e.count+
+);Array.isArray(l)?c(l,i,r,f.thatReturnsArgument):null!
=l&&(h.isValidElement(l)&&(l=h.cloneAndReplaceKey(l,o+(l!==t?n(l.key||"")+"/":"")
+r)),i.push(l))}function c(e,t,r,i,o){var c="";null!=r&&(c=n(r)+"/");var
l=a.getPooled(t,c,i,o);m(e,s,l),a.release(l)}function l(e,t,n){if(null==e)return
e;var r=[];return c(e,r,null,t,n),r}function u(){return null}function d(e){return
m(e,u,null)}function _(e){var t=[];return c(e,t,null,f.thatReturnsArgument),t}var
p=e(25),h=e(55),f=e(150),m=e(139),b=p.twoArgumentPooler,g=p.fourArgumentPooler,v=/\
/(?!\/)/g;r.prototype.destructor=function()
{this.func=null,this.context=null,this.count=0},p.addPoolingTo(r,b),a.prototype.des
tructor=function()
{this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0
},p.addPoolingTo(a,g);var
y={forEach:o,map:l,mapIntoWithKeyPrefixInternal:c,count:d,toArray:_};t.exports=y},
{139:139,150:150,25:25,55:55}],33:[function(e,t){"use strict";function n(e,t){var
n=w.hasOwnProperty(t)?w[t]:null;x.hasOwnProperty(t)&&(n!==v.OVERRIDE_BASE?f(!
1):void 0),e.hasOwnProperty(t)&&(n!==v.DEFINE_MANY&&n!==v.DEFINE_MANY_MERGED?f(!
1):void 0)}function r(e,t){if(t){"function"==typeof t?f(!1):void
0,d.isValidElement(t)?f(!1):void 0;var
r=e.prototype;t.hasOwnProperty(g)&&k.mixins(e,t.mixins);for(var i in
t)if(t.hasOwnProperty(i)&&i!==g){var o=t[i];if(n(r,i),k.hasOwnProperty(i))k[i]
(e,o);else{var c=w.hasOwnProperty(i),l=r.hasOwnProperty(i),u="function"==typeof
o,_=u&&!c&&!l&&t.autobind!==!1;if(_)r.__reactAutoBindMap||
(r.__reactAutoBindMap={}),r.__reactAutoBindMap[i]=o,r[i]=o;else if(l){var p=w[i];!
c||p!==v.DEFINE_MANY_MERGED&&p!==v.DEFINE_MANY?f(!1):void
0,p===v.DEFINE_MANY_MERGED?r[i]=a(r[i],o):p===v.DEFINE_MANY&&(r[i]=s(r[i],o))}else
r[i]=o}}}}function i(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n))
{var i=n in k;i?f(!1):void 0;var o=n in e;o?f(!1):void 0,e[n]=r}}}function o(e,t)
{e&&t&&"object"==typeof e&&"object"==typeof t?void 0:f(!1);for(var n in
t)t.hasOwnProperty(n)&&(void 0!==e[n]?f(!1):void 0,e[n]=t[n]);return e}function
a(e,t){return function(){var
n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return
r;if(null==r)return n;var i={};return o(i,n),o(i,r),i}}function s(e,t){return
function(){e.apply(this,arguments),t.apply(this,arguments)}}function c(e,t){var
n=t.bind(e);return n}function l(e){for(var t in
e.__reactAutoBindMap)if(e.__reactAutoBindMap.hasOwnProperty(t)){var
n=e.__reactAutoBindMap[t];e[t]=c(e,n)}}var
u=e(34),d=e(55),_=(e(79),e(78),e(74)),p=e(24),h=e(151),f=e(158),m=e(162),b=e(163),g
=(e(168),b({mixins:null})),v=m({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:nul
l,DEFINE_MANY_MERGED:null}),y=[],w={mixins:v.DEFINE_MANY,statics:v.DEFINE_MANY,prop
Types:v.DEFINE_MANY,contextTypes:v.DEFINE_MANY,childContextTypes:v.DEFINE_MANY,getD
efaultProps:v.DEFINE_MANY_MERGED,getInitialState:v.DEFINE_MANY_MERGED,getChildConte
xt:v.DEFINE_MANY_MERGED,render:v.DEFINE_ONCE,componentWillMount:v.DEFINE_MANY,compo
nentDidMount:v.DEFINE_MANY,componentWillReceiveProps:v.DEFINE_MANY,shouldComponentU
pdate:v.DEFINE_ONCE,componentWillUpdate:v.DEFINE_MANY,componentDidUpdate:v.DEFINE_M
ANY,componentWillUnmount:v.DEFINE_MANY,updateComponent:v.OVERRIDE_BASE},k={displayN
ame:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var
n=0;n<t.length;n++)r(e,t[n])},childContextTypes:function(e,t)
{e.childContextTypes=p({},e.childContextTypes,t)},contextTypes:function(e,t)
{e.contextTypes=p({},e.contextTypes,t)},getDefaultProps:function(e,t)
{e.getDefaultProps=e.getDefaultProps?
a(e.getDefaultProps,t):t},propTypes:function(e,t){e.propTypes=p
({},e.propTypes,t)},statics:function(e,t){i(e,t)},autobind:function()
{}},x={replaceState:function(e,t)
{this.updater.enqueueReplaceState(this,e),t&&this.updater.enqueueCallback(this,t)},
isMounted:function(){return this.updater.isMounted(this)},setProps:function(e,t)
{this.updater.enqueueSetProps(this,e),t&&this.updater.enqueueCallback(this,t)},repl
aceProps:function(e,t)
{this.updater.enqueueReplaceProps(this,e),t&&this.updater.enqueueCallback(this,t)}}
,S=function(){};p(S.prototype,u.prototype,x);var E={createClass:function(e){var
t=function(e,t,n)
{this.__reactAutoBindMap&&l(this),this.props=e,this.context=t,this.refs=h,this.upda
ter=n||_,this.state=null;var r=this.getInitialState?
this.getInitialState():null;"object"!=typeof r||Array.isArray(r)?f(!1):void
0,this.state=r};t.prototype=new
S,t.prototype.constructor=t,y.forEach(r.bind(null,t)),r(t,e),t.getDefaultProps&&(t.
defaultProps=t.getDefaultProps()),t.prototype.render?void 0:f(!1);for(var n in
w)t.prototype[n]||(t.prototype[n]=null);return t},injection:
{injectMixin:function(e){y.push(e)}}};t.exports=E},
{151:151,158:158,162:162,163:163,168:168,24:24,34:34,55:55,74:74,78:78,79:79}],34:
[function(e,t){"use strict";function n(e,t,n)
{this.props=e,this.context=t,this.refs=i,this.updater=n||r}var
r=e(74),i=(e(114),e(151)),o=e(158);e(168),n.prototype.isReactComponent={},n.prototy
pe.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e?o(!
1):void
0,this.updater.enqueueSetState(this,e),t&&this.updater.enqueueCallback(this,t)},n.p
rototype.forceUpdate=function(e)
{this.updater.enqueueForceUpdate(this),e&&this.updater.enqueueCallback(this,e)},t.e
xports=n},{114:114,151:151,158:158,168:168,74:74}],35:[function(e,t){"use
strict";var
n=e(45),r=e(70),i={processChildrenUpdates:n.dangerouslyProcessChildrenUpdates,repla
ceNodeWithMarkupByID:n.dangerouslyReplaceNodeWithMarkupByID,unmountIDFromEnvironmen
t:function(e){r.purgeID(e)}};t.exports=i},{45:45,70:70}],36:[function(e,t){"use
strict";var n=e(158),r=!
1,i={unmountIDFromEnvironment:null,replaceNodeWithMarkupByID:null,processChildrenUp
dates:null,injection:{injectEnvironment:function(e){r?n(!1):void
0,i.unmountIDFromEnvironment=e.unmountIDFromEnvironment,i.replaceNodeWithMarkupByID
=e.replaceNodeWithMarkupByID,i.processChildrenUpdates=e.processChildrenUpdates,r=!
0}}};t.exports=i},{158:158}],37:[function(e,t){"use strict";var
n=e(137),r={shouldComponentUpdate:function(e,t){return n(this,e,t)}};t.exports=r},
{137:137}],38:[function(e,t){"use strict";function n(e){var
t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" Check the
render method of `"+n+"`."}return""}function r(){}var
i=e(36),o=e(39),a=e(55),s=e(66),c=e(76),l=e(79),u=(e(78),e(82)),d=e(92),_=e(24),p=e
(151),h=e(158),f=e(138);e(168),r.prototype.render=function(){var
e=s.get(this)._currentElement.type;return
e(this.props,this.context,this.updater)};var m=1,b={construct:function(e)
{this._currentElement=e,this._rootNodeID=null,this._instance=null,this._pendingElem
ent=null,this._pendingStateQueue=null,this._pendingReplaceState=!
1,this._pendingForceUpdate=!
1,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevel
Wrapper=null,this._pendingCallbacks=null},mountComponent:function(e,t,n)
{this._context=n,this._mountOrder=m++,this._rootNodeID=e;var
i,o,c=this._processProps(this._currentElement.props),l=this._processContext(n),_=th
is._currentElement.type,f="prototype"in _;f&&(i=new _(c,l,d)),(!f||null===i||i===!
1||a.isValidElement(i))&&(o=i,i=new
r(_)),i.props=c,i.context=l,i.refs=p,i.updater=d,this._instance=i,s.set(i,this);var
b=i.state;void 0===b&&(i.state=b=null),"object"!=typeof b||Array.isArray(b)?h(!
1):void 0,this._pendingStateQueue=null,this._pendingReplaceState=!
1,this._pendingForceUpdate=!
1,i.componentWillMount&&(i.componentWillMount(),this._pendingStateQueue&&(i.state=t
his._processPendingState(i.props,i.context))),void
0===o&&(o=this._renderValidatedComponent()),this._renderedComponent=this._instantia
teReactComponent(o);var
g=u.mountComponent(this._renderedComponent,e,t,this._processChildContext(n));return
i.componentDidMount&&t.getReactMountReady().enqueue(i.componentDidMount,i),g},unmou
ntComponent:function(){var
e=this._instance;e.componentWillUnmount&&e.componentWillUnmount(),u.unmountComponen
t(this._renderedComponent),this._renderedComponent=null,this._instance=null,this._p
endingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!
1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._ro
otNodeID=null,this._topLevelWrapper=null,s.remove(e)},_maskContext:function(e){var
t=null,n=this._currentElement.type,r=n.contextTypes;if(!r)return p;t={};for(var i
in r)t[i]=e[i];return t},_processContext:function(e){var
t=this._maskContext(e);return t},_processChildContext:function(e){var
t=this._currentElement.type,n=this._instance,r=n.getChildContext&&n.getChildContext
();if(r){"object"!=typeof t.childContextTypes?h(!1):void 0;for(var i in r)i in
t.childContextTypes?void 0:h(!1);return _({},e,r)}return
e},_processProps:function(e){return e},_checkPropTypes:function(e,t,r){var
i=this.getName();for(var o in e)if(e.hasOwnProperty(o)){var a;try{"function"!
=typeof e[o]?h(!1):void 0,a=e[o](t,o,i,r)}catch(s){a=s}a instanceof
Error&&(n(this),r===l.prop)}},receiveComponent:function(e,t,n){var
r=this._currentElement,i=this._context;this._pendingElement=null,this.updateCompone
nt(t,r,e,i,n)},performUpdateIfNecessary:function(e){null!
=this._pendingElement&&u.receiveComponent(this,this._pendingElement||
this._currentElement,e,this._context),(null!==this._pendingStateQueue||
this._pendingForceUpdate)&&this.updateComponent(e,this._currentElement,this._curren
tElement,this._context,this._context)},updateComponent:function(e,t,n,r,i){var
o,a=this._instance,s=this._context===i?a.context:this._processContext(i);t===n?
o=n.props:
(o=this._processProps(n.props),a.componentWillReceiveProps&&a.componentWillReceiveP
rops(o,s));var c=this._processPendingState(o,s),l=this._pendingForceUpdate||!
a.shouldComponentUpdate||a.shouldComponentUpdate(o,c,s);l?
(this._pendingForceUpdate=!1,this._performComponentUpdate(n,o,c,s,e,i)):
(this._currentElement=n,this._context=i,a.props=o,a.state=c,a.context=s)},_processP
endingState:function(e,t){var
n=this._instance,r=this._pendingStateQueue,i=this._pendingReplaceState;if(this._pen
dingReplaceState=!1,this._pendingStateQueue=null,!r)return
n.state;if(i&&1===r.length)return r[0];for(var o=_({},i?r[0]:n.state),a=i?
1:0;a<r.length;a++){var s=r[a];_(o,"function"==typeof s?s.call(n,o,e,t):s)}return
o},_performComponentUpdate:function(e,t,n,r,i,o){var
a,s,c,l=this._instance,u=Boolean(l.componentDidUpdate);u&&(a=l.props,s=l.state,c=l.
context),l.componentWillUpdate&&l.componentWillUpdate(t,n,r),this._currentElement=e
,this._context=o,l.props=t,l.state=n,l.context=r,this._updateRenderedComponent(i,o)
,u&&i.getReactMountReady().enqueue(l.componentDidUpdate.bind(l,a,s,c),l)},_updateRe
nderedComponent:function(e,t){var
n=this._renderedComponent,r=n._currentElement,i=this._renderValidatedComponent();if
(f(r,i))u.receiveComponent(n,i,e,this._processChildContext(t));else{var
o=this._rootNodeID,a=n._rootNodeID;u.unmountComponent(n),this._renderedComponent=th
is._instantiateReactComponent(i);var
s=u.mountComponent(this._renderedComponent,o,e,this._processChildContext(t));this._
replaceNodeWithMarkupByID(a,s)}},_replaceNodeWithMarkupByID:function(e,t)
{i.replaceNodeWithMarkupByID(e,t)},_renderValidatedComponentWithoutOwnerOrContext:f
unction(){var e=this._instance,t=e.render();return
t},_renderValidatedComponent:function(){var
e;o.current=this;try{e=this._renderValidatedComponentWithoutOwnerOrContext()}finall
y{o.current=null}return null===e||e===!1||a.isValidElement(e)?void 0:h(!
1),e},attachRef:function(e,t){var n=this.getPublicInstance();null==n?h(!1):void
0;var r=t.getPublicInstance(),i=n.refs===p?
n.refs={}:n.refs;i[e]=r},detachRef:function(e){var
t=this.getPublicInstance().refs;delete t[e]},getName:function(){var
e=this._currentElement.type,t=this._instance&&this._instance.constructor;return
e.displayName||t&&t.displayName||e.name||t&&t.name||
null},getPublicInstance:function(){var e=this._instance;return e instanceof r?
null:e},_instantiateReactComponent:null};c.measureMethods(b,"ReactCompositeComponen
t",
{mountComponent:"mountComponent",updateComponent:"updateComponent",_renderValidated
Component:"_renderValidatedComponent"});var g={Mixin:b};t.exports=g},
{138:138,151:151,158:158,168:168,24:24,36:36,39:39,55:55,66:66,76:76,78:78,79:79,82
:82,92:92}],39:[function(e,t){"use strict";var n={current:null};t.exports=n},
{}],40:[function(e,t){"use strict";var
n=e(39),r=e(51),i=e(54),o=e(65),a=e(70),s=e(76),c=e(82),l=e(93),u=e(94),d=e(119),_=
e(134);e(168),i.inject();var
p=s.measure("React","render",a.render),h={findDOMNode:d,render:p,unmountComponentAt
Node:a.unmountComponentAtNode,version:u,unstable_batchedUpdates:l.batchedUpdates,un
stable_renderSubtreeIntoContainer:_};"undefined"!=typeof
__REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof
__REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({Curre
ntOwner:n,InstanceHandles:o,Mount:a,Reconciler:c,TextComponent:r}),t.exports=h},
{119:119,134:134,168:168,39:39,51:51,54:54,65:65,70:70,76:76,82:82,93:93,94:94}],41
:[function(e,t){"use strict";var n={onClick:!0,onDoubleClick:!0,onMouseDown:!
0,onMouseMove:!0,onMouseUp:!0,onClickCapture:!0,onDoubleClickCapture:!
0,onMouseDownCapture:!0,onMouseMoveCapture:!0,onMouseUpCapture:!
0},r={getNativeProps:function(e,t){if(!t.disabled)return t;var r={};for(var i in
t)t.hasOwnProperty(i)&&!n[i]&&(r[i]=t[i]);return r}};t.exports=r},{}],42:
[function(e,t){"use strict";function n(){return this}function r(){var
e=this._reactInternalComponent;return!!e}function i(){}function o(e,t){var
n=this._reactInternalComponent;n&&(j.enqueueSetPropsInternal(n,e),t&&j.enqueueCallb
ackInternal(n,t))}function a(e,t){var
n=this._reactInternalComponent;n&&(j.enqueueReplacePropsInternal(n,e),t&&j.enqueueC
allbackInternal(n,t))}function
s(e,t){t&&(null!=t.dangerouslySetInnerHTML&&(null!=t.children?A(!1):void
0,"object"==typeof t.dangerouslySetInnerHTML&&W in t.dangerouslySetInnerHTML?void
0:A(!1)),null!=t.style&&"object"!=typeof t.style?A(!1):void 0)}function c(e,t,n,r)
{var i=O.findReactContainerForID(e);if(i){var o=i.nodeType===V?
i.ownerDocument:i;B(t,o)}r.getReactMountReady().enqueue(l,
{id:e,registrationName:t,listener:n})}function l(){var
e=this;w.putListener(e.id,e.registrationName,e.listener)}function u(){var
e=this;e._rootNodeID?void 0:A(!1);var t=O.getNode(e._rootNodeID);switch(t?void
0:A(!1),e._tag)
{case"iframe":e._wrapperState.listeners=[w.trapBubbledEvent(y.topLevelTypes.topLoad
,"load",t)];break;case"video":case"audio":e._wrapperState.listeners=[];for(var n in
Y)Y.hasOwnProperty(n)&&e._wrapperState.listeners.push(w.trapBubbledEvent(y.topLevel
Types[n],Y[n],t));break;case"img":e._wrapperState.listeners=[w.trapBubbledEvent(y.t
opLevelTypes.topError,"error",t),w.trapBubbledEvent(y.topLevelTypes.topLoad,"load",
t)];break;case"form":e._wrapperState.listeners=[w.trapBubbledEvent(y.topLevelTypes.
topReset,"reset",t),w.trapBubbledEvent(y.topLevelTypes.topSubmit,"submit",t)]}}func
tion d(){S.mountReadyWrapper(this)}function _(){R.postUpdateWrapper(this)}function
p(e){Q.call(K,e)||(X.test(e)?void 0:A(!1),K[e]=!0)}function h(e,t){return
e.indexOf("-")>=0||null!=t.is}function f(e)
{p(e),this._tag=e.toLowerCase(),this._renderedChildren=null,this._previousStyle=nul
l,this._previousStyleCopy=null,this._rootNodeID=null,this._wrapperState=null,this._
topLevelWrapper=null,this._nodeWithLegacyProperties=null}var
m=e(2),b=e(5),g=e(10),v=e(11),y=e(15),w=e(28),k=e(35),x=e(41),S=e(46),E=e(47),R=e(4
8),C=e(52),O=e(70),N=e(71),T=e(76),j=e(92),P=e(24),I=e(114),M=e(118),A=e(158),D=(e(
130),e(163)),L=e(135),
$=e(136),F=(e(166),e(141),e(168),w.deleteListener),B=w.listenTo,q=w.registrationNam
eModules,z={string:!0,number:!
0},U=D({children:null}),H=D({style:null}),W=D({__html:null}),V=1,Y={topAbort:"abort
",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durati
onchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"
error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"
loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progre
ss",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"
stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumecha
nge",topWaiting:"waiting"},J={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!
0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!
0},G={listing:!0,pre:!0,textarea:!0},X=(P({menuitem:!0},J),/^[a-zA-Z][a-zA-
Z:_\.\-\d]*$/),K={},Q={}.hasOwnProperty;f.displayName="ReactDOMComponent",f.Mixin={
construct:function(e){this._currentElement=e},mountComponent:function(e,t,n)
{this._rootNodeID=e;var r=this._currentElement.props;switch(this._tag)
{case"iframe":case"img":case"form":case"video":case"audio":this._wrapperState={list
eners:null},t.getReactMountReady().enqueue(u,this);break;case"button":r=x.getNative
Props(this,r,n);break;case"input":S.mountWrapper(this,r,n),r=S.getNativeProps(this,
r,n);break;case"option":E.mountWrapper(this,r,n),r=E.getNativeProps(this,r,n);break
;case"select":R.mountWrapper(this,r,n),r=R.getNativeProps(this,r,n),n=R.processChil
dContext(this,r,n);break;case"textarea":C.mountWrapper(this,r,n),r=C.getNativeProps
(this,r,n)}s(this,r);var i;if(t.useCreateElement){var
o=n[O.ownerDocumentContextKey],a=o.createElement(this._currentElement.type);v.setAt
tributeForID(a,this._rootNodeID),O.getID(a),this._updateDOMProperties({},r,t,a),thi
s._createInitialChildren(t,r,n,a),i=a}else{var
c=this._createOpenTagMarkupAndPutListeners(t,r),l=this._createContentMarkup(t,r,n);
i=!l&&J[this._tag]?
c+"/>":c+">"+l+"</"+this._currentElement.type+">"}switch(this._tag)
{case"input":t.getReactMountReady().enqueue(d,this);case"button":case"select":case"
textarea":r.autoFocus&&t.getReactMountReady().enqueue(m.focusDOMComponent,this)}ret
urn i},_createOpenTagMarkupAndPutListeners:function(e,t){var
n="<"+this._currentElement.type;for(var r in t)if(t.hasOwnProperty(r)){var
i=t[r];if(null!
=i)if(q.hasOwnProperty(r))i&&c(this._rootNodeID,r,i,e);else{r===H&&(i&&(i=this._pre
viousStyleCopy=P({},t.style)),i=b.createMarkupForStyles(i));var o=null;null!
=this._tag&&h(this._tag,t)?r!
==U&&(o=v.createMarkupForCustomAttribute(r,i)):o=v.createMarkupForProperty(r,i),o&&
(n+=" "+o)}}if(e.renderToStaticMarkup)return n;var
a=v.createMarkupForID(this._rootNodeID);return n+"
"+a},_createContentMarkup:function(e,t,n){var
r="",i=t.dangerouslySetInnerHTML;if(null!=i)null!=i.__html&&(r=i.__html);else{var
o=z[typeof t.children]?t.children:null,a=null!=o?null:t.children;if(null!
=o)r=M(o);else if(null!=a){var s=this.mountChildren(a,e,n);r=s.join("")}}return
G[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(e,t,n,r)
{var i=t.dangerouslySetInnerHTML;if(null!=i)null!=i.__html&&L(r,i.__html);else{var
o=z[typeof t.children]?t.children:null,a=null!=o?null:t.children;if(null!=o)$
(r,o);else if(null!=a)for(var s=this.mountChildren(a,e,n),c=0;c<s.length;c+
+)r.appendChild(s[c])}},receiveComponent:function(e,t,n){var
r=this._currentElement;this._currentElement=e,this.updateComponent(t,r,e,n)},update
Component:function(e,t,n,r){var
i=t.props,o=this._currentElement.props;switch(this._tag)
{case"button":i=x.getNativeProps(this,i),o=x.getNativeProps(this,o);break;case"inpu
t":S.updateWrapper(this),i=S.getNativeProps(this,i),o=S.getNativeProps(this,o);brea
k;case"option":i=E.getNativeProps(this,i),o=E.getNativeProps(this,o);break;case"sel
ect":i=R.getNativeProps(this,i),o=R.getNativeProps(this,o);break;case"textarea":C.u
pdateWrapper(this),i=C.getNativeProps(this,i),o=C.getNativeProps(this,o)}s(this,o),
this._updateDOMProperties(i,o,e,null),this._updateDOMChildren(i,o,e,r),!
I&&this._nodeWithLegacyProperties&&(this._nodeWithLegacyProperties.props=o),"select
"===this._tag&&e.getReactMountReady().enqueue(_,this)},_updateDOMProperties:functio
n(e,t,n,r){var i,o,a;for(i in e)if(!
t.hasOwnProperty(i)&&e.hasOwnProperty(i))if(i===H){var
s=this._previousStyleCopy;for(o in s)s.hasOwnProperty(o)&&(a=a||
{},a[o]="");this._previousStyleCopy=null}else q.hasOwnProperty(i)?
e[i]&&F(this._rootNodeID,i):(g.properties[i]||g.isCustomAttribute(i))&&(r||
(r=O.getNode(this._rootNodeID)),v.deleteValueForProperty(r,i));for(i in t){var
l=t[i],u=i===H?this._previousStyleCopy:e[i];if(t.hasOwnProperty(i)&&l!
==u)if(i===H)if(l?l=this._previousStyleCopy=P({},l):this._previousStyleCopy=null,u)
{for(o in u)!u.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(a=a||{},a[o]="");for(o
in l)l.hasOwnProperty(o)&&u[o]!==l[o]&&(a=a||{},a[o]=l[o])}else a=l;else
q.hasOwnProperty(i)?l?
c(this._rootNodeID,i,l,n):u&&F(this._rootNodeID,i):h(this._tag,t)?(r||
(r=O.getNode(this._rootNodeID)),i===U&&(l=null),v.setValueForAttribute(r,i,l)):
(g.properties[i]||g.isCustomAttribute(i))&&(r||
(r=O.getNode(this._rootNodeID)),null!=l?
v.setValueForProperty(r,i,l):v.deleteValueForProperty(r,i))}a&&(r||
(r=O.getNode(this._rootNodeID)),b.setValueForStyles(r,a))},_updateDOMChildren:funct
ion(e,t,n,r){var i=z[typeof e.children]?e.children:null,o=z[typeof t.children]?
t.children:null,a=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,s=t.d
angerouslySetInnerHTML&&t.dangerouslySetInnerHTML.__html,c=null!=i?
null:e.children,l=null!=o?null:t.children,u=null!=i||null!=a,d=null!=o||null!
=s;null!=c&&null==l?this.updateChildren(null,n,r):u&&!
d&&this.updateTextContent(""),null!=o?i!==o&&this.updateTextContent(""+o):null!=s?
a!==s&&this.updateMarkup(""+s):null!
=l&&this.updateChildren(l,n,r)},unmountComponent:function(){switch(this._tag)
{case"iframe":case"img":case"form":case"video":case"audio":var
e=this._wrapperState.listeners;if(e)for(var t=0;t<e.length;t+
+)e[t].remove();break;case"input":S.unmountWrapper(this);break;case"html":case"head
":case"body":A(!
1)}if(this.unmountChildren(),w.deleteAllListeners(this._rootNodeID),k.unmountIDFrom
Environment(this._rootNodeID),this._rootNodeID=null,this._wrapperState=null,this._n
odeWithLegacyProperties){var
n=this._nodeWithLegacyProperties;n._reactInternalComponent=null,this._nodeWithLegac
yProperties=null}},getPublicInstance:function(){if(!this._nodeWithLegacyProperties)
{var
e=O.getNode(this._rootNodeID);e._reactInternalComponent=this,e.getDOMNode=n,e.isMou
nted=r,e.setState=i,e.replaceState=i,e.forceUpdate=i,e.setProps=o,e.replaceProps=a,
e.props=this._currentElement.props,this._nodeWithLegacyProperties=e}return
this._nodeWithLegacyProperties}},T.measureMethods(f,"ReactDOMComponent",
{mountComponent:"mountComponent",updateComponent:"updateComponent"}),P(f.prototype,
f.Mixin,N.Mixin),t.exports=f},
{10:10,11:11,114:114,118:118,130:130,135:135,136:136,141:141,15:15,158:158,163:163,
166:166,168:168,2:2,24:24,28:28,35:35,41:41,46:46,47:47,48:48,5:5,52:52,70:70,71:71
,76:76,92:92}],43:[function(e,t){"use strict";function n(e){return
r.createFactory(e)}var
r=e(55),i=(e(56),e(164)),o=i({a:"a",abbr:"abbr",address:"address",area:"area",artic
le:"article",aside:"aside",audio:"audio",b:"b",base:"base",bdi:"bdi",bdo:"bdo",big:
"big",blockquote:"blockquote",body:"body",br:"br",button:"button",canvas:"canvas",c
aption:"caption",cite:"cite",code:"code",col:"col",colgroup:"colgroup",data:"data",
datalist:"datalist",dd:"dd",del:"del",details:"details",dfn:"dfn",dialog:"dialog",d
iv:"div",dl:"dl",dt:"dt",em:"em",embed:"embed",fieldset:"fieldset",figcaption:"figc
aption",figure:"figure",footer:"footer",form:"form",h1:"h1",h2:"h2",h3:"h3",h4:"h4"
,h5:"h5",h6:"h6",head:"head",header:"header",hgroup:"hgroup",hr:"hr",html:"html",i:
"i",iframe:"iframe",img:"img",input:"input",ins:"ins",kbd:"kbd",keygen:"keygen",lab
el:"label",legend:"legend",li:"li",link:"link",main:"main",map:"map",mark:"mark",me
nu:"menu",menuitem:"menuitem",meta:"meta",meter:"meter",nav:"nav",noscript:"noscrip
t",object:"object",ol:"ol",optgroup:"optgroup",option:"option",output:"output",p:"p
",param:"param",picture:"picture",pre:"pre",progress
:"progress",q:"q",rp:"rp",rt:"rt",ruby:"ruby",s:"s",samp:"samp",script:"script",sec
tion:"section",select:"select",small:"small",source:"source",span:"span",strong:"st
rong",style:"style",sub:"sub",summary:"summary",sup:"sup",table:"table",tbody:"tbod
y",td:"td",textarea:"textarea",tfoot:"tfoot",th:"th",thead:"thead",time:"time",titl
e:"title",tr:"tr",track:"track",u:"u",ul:"ul","var":"var",video:"video",wbr:"wbr",c
ircle:"circle",clipPath:"clipPath",defs:"defs",ellipse:"ellipse",g:"g",image:"image
",line:"line",linearGradient:"linearGradient",mask:"mask",path:"path",pattern:"patt
ern",polygon:"polygon",polyline:"polyline",radialGradient:"radialGradient",rect:"re
ct",stop:"stop",svg:"svg",text:"text",tspan:"tspan"},n);t.exports=o},
{164:164,55:55,56:56}],44:[function(e,t){"use strict";var n={useCreateElement:!
1};t.exports=n},{}],45:[function(e,t){"use strict";var
n=e(9),r=e(11),i=e(70),o=e(76),a=e(158),s={dangerouslySetInnerHTML:"`dangerouslySet
InnerHTML` must be set using `updateInnerHTMLByID()`.",style:"`style` must be set
using `updateStylesByID()`."},c={updatePropertyByID:function(e,t,n){var
o=i.getNode(e);s.hasOwnProperty(t)?a(!1):void 0,null!=n?
r.setValueForProperty(o,t,n):r.deleteValueForProperty(o,t)},dangerouslyReplaceNodeW
ithMarkupByID:function(e,t){var
r=i.getNode(e);n.dangerouslyReplaceNodeWithMarkup(r,t)},dangerouslyProcessChildrenU
pdates:function(e,t){for(var r=0;r<e.length;r+
+)e[r].parentNode=i.getNode(e[r].parentID);n.processUpdates(e,t)}};o.measureMethods
(c,"ReactDOMIDOperations",
{dangerouslyReplaceNodeWithMarkupByID:"dangerouslyReplaceNodeWithMarkupByID",danger
ouslyProcessChildrenUpdates:"dangerouslyProcessChildrenUpdates"}),t.exports=c},
{11:11,158:158,70:70,76:76,9:9}],46:[function(e,t){"use strict";function n()
{this._rootNodeID&&d.updateWrapper(this)}function r(e){var
t=this._currentElement.props,r=o.executeOnChange(t,e);s.asap(n,this);var
i=t.name;if("radio"===t.type&&null!=i){for(var
c=a.getNode(this._rootNodeID),d=c;d.parentNode;)d=d.parentNode;for(var
_=d.querySelectorAll("input[name="+JSON.stringify(""+i)+']
[type="radio"]'),p=0;p<_.length;p++){var h=_[p];if(h!==c&&h.form===c.form){var
f=a.getID(h);f?void 0:l(!1);var m=u[f];m?void 0:l(!1),s.asap(n,m)}}}return r}var
i=e(45),o=e(23),a=e(70),s=e(93),c=e(24),l=e(158),u={},d={getNativeProps:function(e,
t){var n=o.getValue(t),r=o.getChecked(t),i=c({},t,{defaultChecked:void
0,defaultValue:void 0,value:null!=n?n:e._wrapperState.initialValue,checked:null!=r?
r:e._wrapperState.initialChecked,onChange:e._wrapperState.onChange});return
i},mountWrapper:function(e,t){var
n=t.defaultValue;e._wrapperState={initialChecked:t.defaultChecked||!
1,initialValue:null!=n?n:null,onChange:r.bind(e)}},mountReadyWrapper:function(e)
{u[e._rootNodeID]=e},unmountWrapper:function(e){delete
u[e._rootNodeID]},updateWrapper:function(e){var
t=e._currentElement.props,n=t.checked;
null!=n&&i.updatePropertyByID(e._rootNodeID,"checked",n||!1);var
r=o.getValue(t);null!
=r&&i.updatePropertyByID(e._rootNodeID,"value",""+r)}};t.exports=d},
{158:158,23:23,24:24,45:45,70:70,93:93}],47:[function(e,t){"use strict";var
n=e(32),r=e(48),i=e(24),o=(e(168),r.valueContextKey),a={mountWrapper:function(e,t,n
){var r=n[o],i=null;if(null!=r)if(i=!1,Array.isArray(r)){for(var a=0;a<r.length;a+
+)if(""+r[a]==""+t.value){i=!0;break}}else
i=""+r==""+t.value;e._wrapperState={selected:i}},getNativeProps:function(e,t){var
r=i({selected:void 0,children:void 0},t);null!
=e._wrapperState.selected&&(r.selected=e._wrapperState.selected);var o="";return
n.forEach(t.children,function(e){null!=e&&("string"==typeof e||"number"==typeof
e)&&(o+=e)}),r.children=o,r}};t.exports=a},{168:168,24:24,32:32,48:48}],48:
[function(e,t){"use strict";function n()
{if(this._rootNodeID&&this._wrapperState.pendingUpdate)
{this._wrapperState.pendingUpdate=!1;var
e=this._currentElement.props,t=o.getValue(e);null!
=t&&r(this,Boolean(e.multiple),t)}}function r(e,t,n){var
r,i,o=a.getNode(e._rootNodeID).options;if(t){for(r={},i=0;i<n.length;i+
+)r[""+n[i]]=!0;for(i=0;i<o.length;i++){var
s=r.hasOwnProperty(o[i].value);o[i].selected!
==s&&(o[i].selected=s)}}else{for(r=""+n,i=0;i<o.length;i++)if(o[i].value===r)return
void(o[i].selected=!0);o.length&&(o[0].selected=!0)}}function i(e){var
t=this._currentElement.props,r=o.executeOnChange(t,e);return
this._wrapperState.pendingUpdate=!0,s.asap(n,this),r}var
o=e(23),a=e(70),s=e(93),c=e(24),l=(e(168),"__ReactDOMSelect_value$"+Math.random().t
oString(36).slice(2)),u={valueContextKey:l,getNativeProps:function(e,t){return
c({},t,{onChange:e._wrapperState.onChange,value:void
0})},mountWrapper:function(e,t){var
n=o.getValue(t);e._wrapperState={pendingUpdate:!1,initialValue:null!=n?
n:t.defaultValue,onChange:i.bind(e),wasMultiple:Boolean(t.multiple)}},processChildC
ontext:function(e,t,n){var r=c({},n);return
r[l]=e._wrapperState.initialValue,r},postUpdateWrapper:function(e){var
t=e._currentElement.props;e._wrapperState.initialValue=void 0;var
n=e._wrapperState.wasMultiple;e._wrapperState.wasMultiple=Boolean(t.multiple);var
i=o.getValue(t);null!=i?(e._wrapperState.pendingUpdate=!
1,r(e,Boolean(t.multiple),i)):n!==Boolean(t.multiple)&&(null!=t.defaultValue?
r(e,Boolean(t.multiple),t.defaultValue):r(e,Boolean(t.multiple),t.multiple?
[]:""))}};t.exports=u},{168:168,23:23,24:24,70:70,93:93}],49:[function(e,t){"use
strict";function n(e,t,n,r){return e===n&&t===r}function r(e){var
t=document.selection,n=t.createRange(),r=n.text.length,i=n.duplicate();i.moveToElem
entText(e),i.setEndPoint("EndToStart",n);var
o=i.text.length,a=o+r;return{start:o,end:a}}function i(e){var
t=window.getSelection&&window.getSelection();if(!t||0===t.rangeCount)return
null;var
r=t.anchorNode,i=t.anchorOffset,o=t.focusNode,a=t.focusOffset,s=t.getRangeAt(0);try
{s.startContainer.nodeType,s.endContainer.nodeType}catch(c){return null}var
l=n(t.anchorNode,t.anchorOffset,t.focusNode,t.focusOffset),u=l?
0:s.toString().length,d=s.cloneRange();d.selectNodeContents(e),d.setEnd(s.startCont
ainer,s.startOffset);var
_=n(d.startContainer,d.startOffset,d.endContainer,d.endOffset),p=_?
0:d.toString().length,h=p+u,f=document.createRange();f.setStart(r,i),f.setEnd(o,a);
var m=f.collapsed;return{start:m?h:p,end:m?p:h}}function o(e,t){var
n,r,i=document.selection.createRange().duplicate();"undefined"==typeof t.end?
(n=t.start,r=n):t.start>t.end?(n=t.end,r=t.start):
(n=t.start,r=t.end),i.moveToElementText(e),i.moveStart("character",n),i.setEndPoint
("EndToStart",i),i.moveEnd("character",r-n),i.select()}function a(e,t)
{if(window.getSelection){var
n=window.getSelection(),r=e[l()].length,i=Math.min(t.start,r),o="undefined"==typeof
t.end?i:Math.min(t.end,r);if(!n.extend&&i>o){var a=o;o=i,i=a}var
s=c(e,i),u=c(e,o);if(s&&u){var
d=document.createRange();d.setStart(s.node,s.offset),n.removeAllRanges(),i>o?
(n.addRange(d),n.extend(u.node,u.offset)):
(d.setEnd(u.node,u.offset),n.addRange(d))}}}var
s=e(144),c=e(127),l=e(128),u=s.canUseDOM&&"selection"in document&&!
("getSelection"in window),d={getOffsets:u?r:i,setOffsets:u?o:a};t.exports=d},
{127:127,128:128,144:144}],50:[function(e,t){"use strict";var
n=e(54),r=e(86),i=e(94);n.inject();var
o={renderToString:r.renderToString,renderToStaticMarkup:r.renderToStaticMarkup,vers
ion:i};t.exports=o},{54:54,86:86,94:94}],51:[function(e,t){"use strict";var
n=e(9),r=e(11),i=e(35),o=e(70),a=e(24),s=e(118),c=e(136),l=(e(141),function()
{});a(l.prototype,{construct:function(e)
{this._currentElement=e,this._stringText=""+e,this._rootNodeID=null,this._mountInde
x=0},mountComponent:function(e,t,n){if(this._rootNodeID=e,t.useCreateElement){var
i=n[o.ownerDocumentContextKey],a=i.createElement("span");return
r.setAttributeForID(a,e),o.getID(a),c(a,this._stringText),a}var
l=s(this._stringText);return t.renderToStaticMarkup?l:"<span
"+r.createMarkupForID(e)+">"+l+"</span>"},receiveComponent:function(e){if(e!
==this._currentElement){this._currentElement=e;var t=""+e;if(t!==this._stringText)
{this._stringText=t;var
r=o.getNode(this._rootNodeID);n.updateTextContent(r,t)}}},unmountComponent:function
(){i.unmountIDFromEnvironment(this._rootNodeID)}}),t.exports=l},
{11:11,118:118,136:136,141:141,24:24,35:35,70:70,9:9}],52:[function(e,t){"use
strict";function n(){this._rootNodeID&&l.updateWrapper(this)}function r(e){var
t=this._currentElement.props,r=i.executeOnChange(t,e);return a.asap(n,this),r}var
i=e(23),o=e(45),a=e(93),s=e(24),c=e(158),l=(e(168),{getNativeProps:function(e,t)
{null!=t.dangerouslySetInnerHTML?c(!1):void 0;var n=s({},t,{defaultValue:void
0,value:void
0,children:e._wrapperState.initialValue,onChange:e._wrapperState.onChange});return
n},mountWrapper:function(e,t){var n=t.defaultValue,o=t.children;null!=o&&(null!=n?
c(!1):void 0,Array.isArray(o)&&(o.length<=1?void 0:c(!
1),o=o[0]),n=""+o),null==n&&(n="");var
a=i.getValue(t);e._wrapperState={initialValue:""+(null!=a?
a:n),onChange:r.bind(e)}},updateWrapper:function(e){var
t=e._currentElement.props,n=i.getValue(t);null!
=n&&o.updatePropertyByID(e._rootNodeID,"value",""+n)}});t.exports=l},
{158:158,168:168,23:23,24:24,45:45,93:93}],53:[function(e,t){"use strict";function
n(){this.reinitializeTransaction()}var
r=e(93),i=e(110),o=e(24),a=e(150),s={initialize:a,close:function()
{d.isBatchingUpdates=!
1}},c={initialize:a,close:r.flushBatchedUpdates.bind(r)},l=[c,s];o(n.prototype,i.Mi
xin,{getTransactionWrappers:function(){return l}});var u=new
n,d={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,i,o){var
a=d.isBatchingUpdates;d.isBatchingUpdates=!0,a?
e(t,n,r,i,o):u.perform(e,null,t,n,r,i,o)}};t.exports=d},
{110:110,150:150,24:24,93:93}],54:[function(e,t){"use strict";function n(){S||(S=!
0,m.EventEmitter.injectReactEventListener(f),m.EventPluginHub.injectEventPluginOrde
r(a),m.EventPluginHub.injectInstanceHandle(b),m.EventPluginHub.injectMount(g),m.Eve
ntPluginHub.injectEventPluginsByName({SimpleEventPlugin:k,EnterLeaveEventPlugin:s,C
hangeEventPlugin:i,SelectEventPlugin:y,BeforeInputEventPlugin:r}),m.NativeComponent
.injectGenericComponentClass(p),m.NativeComponent.injectTextComponentClass(h),m.Cla
ss.injectMixin(u),m.DOMProperty.injectDOMPropertyConfig(l),m.DOMProperty.injectDOMP
ropertyConfig(x),m.EmptyComponent.injectEmptyComponent("noscript"),m.Updates.inject
ReconcileTransaction(v),m.Updates.injectBatchingStrategy(_),m.RootIndex.injectCreat
eReactRootIndex(c.canUseDOM?
o.createReactRootIndex:w.createReactRootIndex),m.Component.injectEnvironment(d))}va
r
r=e(3),i=e(7),o=e(8),a=e(13),s=e(14),c=e(144),l=e(21),u=e(27),d=e(35),_=e(53),p=e(4
2),h=e(51),f=e(61),m=e(63),b=e(65),g=e(70),v=e(81),y=e(96),w=e(97),k=e(98),x=e(95),
S=!1;t.exports={inject:n}},
{13:13,14:14,144:144,21:21,27:27,3:3,35:35,42:42,51:51,53:53,61:61,63:63,65:65,7:7,
70:70,8:8,81:81,95:95,96:96,97:97,98:98}],55:[function(e,t){"use strict";var
n=e(39),r=e(24),i=(e(114),"function"==typeof Symbol&&Symbol["for"]&&Symbol["for"]
("react.element")||60103),o={key:!0,ref:!0,__self:!0,__source:!
0},a=function(e,t,n,r,o,a,s){var c={$
$typeof:i,type:e,key:t,ref:n,props:s,_owner:a};return
c};a.createElement=function(e,t,r){var i,s={},c=null,l=null,u=null,d=null;if(null!
=t){l=void 0===t.ref?null:t.ref,c=void 0===t.key?null:""+t.key,u=void 0===t.__self?
null:t.__self,d=void 0===t.__source?null:t.__source;for(i in
t)t.hasOwnProperty(i)&&!o.hasOwnProperty(i)&&(s[i]=t[i])}var _=arguments.length-
2;if(1===_)s.children=r;else if(_>1){for(var p=Array(_),h=0;_>h;h+
+)p[h]=arguments[h+2];s.children=p}if(e&&e.defaultProps){var f=e.defaultProps;for(i
in f)"undefined"==typeof s[i]&&(s[i]=f[i])}return
a(e,c,l,u,d,n.current,s)},a.createFactory=function(e){var
t=a.createElement.bind(null,e);return
t.type=e,t},a.cloneAndReplaceKey=function(e,t){var
n=a(e.type,t,e.ref,e._self,e._source,e._owner,e.props);return
n},a.cloneAndReplaceProps=function(e,t){var
n=a(e.type,e.key,e.ref,e._self,e._source,e._owner,t);return
n},a.cloneElement=function(e,t,i){var
s,c=r({},e.props),l=e.key,u=e.ref,d=e._self,_=e._source,p=e._owner;if(null!=t){void
0!==t.ref&&(u=t.ref,p=n.current),void 0!==t.key&&(l=""+t.key);for(s in
t)t.hasOwnProperty(s)&&!o.hasOwnProperty(s)&&(c[s]=t[s])}var h=arguments.length-
2;if(1===h)c.children=i;else if(h>1){for(var f=Array(h),m=0;h>m;m+
+)f[m]=arguments[m+2];c.children=f}return
a(e.type,l,u,d,_,p,c)},a.isValidElement=function(e){return"object"==typeof e&&null!
==e&&e.$$typeof===i},t.exports=a},{114:114,24:24,39:39}],56:[function(e,t){"use
strict";function n(){if(u.current){var e=u.current.getName();if(e)return" Check the
render method of `"+e+"`."}return""}function r(e,t){e._store&&!
e._store.validated&&null==e.key&&(e._store.validated=!
0,i("uniqueKey",e,t))}function i(e,t,r){var i=n();if(!i){var o="string"==typeof r?
r:r.displayName||r.name;o&&(i=" Check the top-level render call using
<"+o+">.")}var a=p[e]||(p[e]={});if(a[i])return null;a[i]=!0;var
s={parentOrOwner:i,url:" See https://fb.me/react-warning-keys for more
information.",childOwner:null};return t&&t._owner&&t._owner!
==u.current&&(s.childOwner=" It was passed a child from "+t._owner.getName()
+"."),s}function o(e,t){if("object"==typeof e)if(Array.isArray(e))for(var
n=0;n<e.length;n++){var i=e[n];c.isValidElement(i)&&r(i,t)}else
if(c.isValidElement(e))e._store&&(e._store.validated=!0);else if(e){var
o=d(e);if(o&&o!==e.entries)for(var a,s=o.call(e);!
(a=s.next()).done;)c.isValidElement(a.value)&&r(a.value,t)}}function a(e,t,r,i)
{for(var o in t)if(t.hasOwnProperty(o)){var a;try{"function"!=typeof t[o]?_(!
1):void 0,a=t[o](r,o,e,i)}catch(s){a=s}a instanceof Error&&!(a.message in
h)&&(h[a.message]=!0,n())}}function s(e){var t=e.type;if("function"==typeof t){var
n=t.displayName||
t.name;t.propTypes&&a(n,t.propTypes,e.props,l.prop),"function"==typeof
t.getDefaultProps}}var
c=e(55),l=e(79),u=(e(78),e(39)),d=(e(114),e(126)),_=e(158),p=(e(168),
{}),h={},f={createElement:function(e){var t="string"==typeof e||"function"==typeof
e,n=c.createElement.apply(this,arguments);if(null==n)return n;if(t)for(var
r=2;r<arguments.length;r++)o(arguments[r],e);return
s(n),n},createFactory:function(e){var t=f.createElement.bind(null,e);return
t.type=e,t},cloneElement:function(){for(var
e=c.cloneElement.apply(this,arguments),t=2;t<arguments.length;t+
+)o(arguments[t],e.type);return s(e),e}};t.exports=f},
{114:114,126:126,158:158,168:168,39:39,55:55,78:78,79:79}],57:[function(e,t){"use
strict";var n,r=e(55),i=e(58),o=e(82),a=e(24),s={injectEmptyComponent:function(e)
{n=r.createElement(e)}},c=function(e)
{this._currentElement=null,this._rootNodeID=null,this._renderedComponent=e(n)};a(c.
prototype,{construct:function(){},mountComponent:function(e,t,n){return
i.registerNullComponentID(e),this._rootNodeID=e,o.mountComponent(this._renderedComp
onent,e,t,n)},receiveComponent:function(){},unmountComponent:function()
{o.unmountComponent(this._renderedComponent),i.deregisterNullComponentID(this._root
NodeID),this._rootNodeID=null,this._renderedComponent=null}}),c.injection=s,t.expor
ts=c},{24:24,55:55,58:58,82:82}],58:[function(e,t){"use strict";function n(e)
{return!!o[e]}function r(e){o[e]=!0}function i(e){delete o[e]}var
o={},a={isNullComponentID:n,registerNullComponentID:r,deregisterNullComponentID:i};
t.exports=a},{}],59:[function(e,t){"use strict";function n(e,t,n,i){try{return
t(n,i)}catch(o){return void(null===r&&(r=o))}}var
r=null,i={invokeGuardedCallback:n,invokeGuardedCallbackWithCatch:n,rethrowCaughtErr
or:function(){if(r){var e=r;throw r=null,e}}};t.exports=i},{}],60:[function(e,t)
{"use strict";function n(e){r.enqueueEvents(e),r.processEventQueue(!1)}var
r=e(16),i={handleTopLevel:function(e,t,i,o,a){var
s=r.extractEvents(e,t,i,o,a);n(s)}};t.exports=i},{16:16}],61:[function(e,t){"use
strict";function n(e){var
t=d.getID(e),n=u.getReactRootIDFromNodeID(t),r=d.findReactContainerForID(n),i=d.get
FirstReactDOM(r);return i}function r(e,t)
{this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function i(e)
{o(e)}function o(e){for(var t=d.getFirstReactDOM(h(e.nativeEvent))||
window,r=t;r;)e.ancestors.push(r),r=n(r);for(var i=0;i<e.ancestors.length;i++)
{t=e.ancestors[i];var
o=d.getID(t)||"";m._handleTopLevel(e.topLevelType,t,o,e.nativeEvent,h(e.nativeEvent
))}}function a(e){var t=f(window);e(t)}var
s=e(143),c=e(144),l=e(25),u=e(65),d=e(70),_=e(93),p=e(24),h=e(125),f=e(155);p(r.pro
totype,{destructor:function()
{this.topLevelType=null,this.nativeEvent=null,this.ancestors.length=0}}),l.addPooli
ngTo(r,l.twoArgumentPooler);var m={_enabled:!
0,_handleTopLevel:null,WINDOW_HANDLE:c.canUseDOM?
window:null,setHandleTopLevel:function(e)
{m._handleTopLevel=e},setEnabled:function(e){m._enabled=!!e},isEnabled:function()
{return m._enabled},trapBubbledEvent:function(e,t,n){var r=n;return r?
s.listen(r,t,m.dispatchEvent.bind(null,e)):null},trapCapturedEvent:function(e,t,n)
{var r=n;return r?
s.capture(r,t,m.dispatchEvent.bind(null,e)):null},monitorScrollValue:function(e)
{var t=a.bind(null,e);s.listen(window,"scroll",t)},dispatchEvent:function(e,t)
{if(m._enabled){var
n=r.getPooled(e,t);try{_.batchedUpdates(i,n)}finally{r.release(n)}}}};t.exports=m},
{125:125,143:143,144:144,155:155,24:24,25:25,65:65,70:70,93:93}],62:[function(e,t)
{"use strict";var n=e(32),r=e(55),i=e(150),o=e(158),a=(e(168),{create:function(e)
{if("object"!=typeof e||!e||Array.isArray(e))return e;if(r.isValidElement(e))return
e;1===e.nodeType?o(!1):void 0;var t=[];for(var a in
e)n.mapIntoWithKeyPrefixInternal(e[a],t,a,i.thatReturnsArgument);return
t}});t.exports=a},{150:150,158:158,168:168,32:32,55:55}],63:[function(e,t){"use
strict";var
n=e(10),r=e(16),i=e(36),o=e(33),a=e(57),s=e(28),c=e(73),l=e(76),u=e(84),d=e(93),_={
Component:i.injection,Class:o.injection,DOMProperty:n.injection,EmptyComponent:a.in
jection,EventPluginHub:r.injection,EventEmitter:s.injection,NativeComponent:c.injec
tion,Perf:l.injection,RootIndex:u.injection,Updates:d.injection};t.exports=_},
{10:10,16:16,28:28,33:33,36:36,57:57,73:73,76:76,84:84,93:93}],64:[function(e,t)
{"use strict";function n(e){return i(document.documentElement,e)}var
r=e(49),i=e(147),o=e(152),a=e(153),s={hasSelectionCapabilities:function(e){var
t=e&&e.nodeName&&e.nodeName.toLowerCase();return
t&&("input"===t&&"text"===e.type||"textarea"===t||"true"===e.contentEditable)},getS
electionInformation:function(){var
e=a();return{focusedElem:e,selectionRange:s.hasSelectionCapabilities(e)?
s.getSelection(e):null}},restoreSelection:function(e){var
t=a(),r=e.focusedElem,i=e.selectionRange;t!
==r&&n(r)&&(s.hasSelectionCapabilities(r)&&s.setSelection(r,i),o(r))},getSelection:
function(e){var t;if("selectionStart"in
e)t={start:e.selectionStart,end:e.selectionEnd};else
if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var
n=document.selection.createRange();n.parentElement()===e&&(t={start:-
n.moveStart("character",-e.value.length),end:-n.moveEnd("character",-
e.value.length)})}else t=r.getOffsets(e);return t||
{start:0,end:0}},setSelection:function(e,t){var
n=t.start,i=t.end;if("undefined"==typeof i&&(i=n),"selectionStart"in
e)e.selectionStart=n,e.selectionEnd=Math.min(i,e.value.length);else
if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var
o=e.createTextRange();o.collapse(!
0),o.moveStart("character",n),o.moveEnd("character",i-n),o.select()}else
r.setOffsets(e,t)}};t.exports=s},{147:147,152:152,153:153,49:49}],65:[function(e,t)
{"use strict";function n(e){return _+e.toString(36)}function r(e,t){return
e.charAt(t)===_||t===e.length}function i(e){return""===e||
e.charAt(0)===_&&e.charAt(e.length-1)!==_}function o(e,t){return
0===t.indexOf(e)&&r(t,e.length)}function a(e){return e?
e.substr(0,e.lastIndexOf(_)):""}function s(e,t){if(i(e)&&i(t)?void 0:d(!1),o(e,t)?
void 0:d(!1),e===t)return e;var n,a=e.length+p;for(n=a;n<t.length&&!r(t,n);n+
+);return t.substr(0,n)}function c(e,t){var
n=Math.min(e.length,t.length);if(0===n)return"";for(var o=0,a=0;n>=a;a+
+)if(r(e,a)&&r(t,a))o=a;else if(e.charAt(a)!==t.charAt(a))break;var
s=e.substr(0,o);return i(s)?void 0:d(!1),s}function l(e,t,n,r,i,c)
{e=e||"",t=t||"",e===t?d(!1):void 0;var l=o(t,e);l||o(e,t)?void 0:d(!1);for(var
u=0,_=l?a:s,p=e;;p=_(p,t)){var f;if(i&&p===e||c&&p===t||(f=n(p,l,r)),f===!1||
p===t)break;u++<h?void 0:d(!1)}}var
u=e(84),d=e(158),_=".",p=_.length,h=1e4,f={createReactRootID:function(){return
n(u.createReactRootIndex())},createReactID:function(e,t){return
e+t},getReactRootIDFromNodeID:function(e){if(e&&e.charAt(0)===_&&e.length>1){var
t=e.indexOf(_,1);return t>-1?e.substr(0,t):e}return
null},traverseEnterLeave:function(e,t,n,r,i){var o=c(e,t);o!==e&&l(e,o,n,r,!1,!
0),o!==t&&l(o,t,n,i,!0,!1)},traverseTwoPhase:function(e,t,n){e&&(l("",e,t,n,!0,!
1),l(e,"",t,n,!1,!0))},traverseTwoPhaseSkipTarget:function(e,t,n){e&&(l("",e,t,n,!
0,!0),l(e,"",t,n,!0,!0))},traverseAncestors:function(e,t,n){l("",e,t,n,!0,!
1)},getFirstCommonAncestorID:c,_getNextDescendantID:s,isAncestorIDOf:o,SEPARATOR:_}
;t.exports=f},{158:158,84:84}],66:[function(e,t){"use strict";var
n={remove:function(e){e._reactInternalInstance=void 0},get:function(e){return
e._reactInternalInstance},has:function(e){return void 0!
==e._reactInternalInstance},set:function(e,t)
{e._reactInternalInstance=t}};t.exports=n},{}],67:[function(e,t){"use strict";var
n=e(32),r=e(34),i=e(33),o=e(43),a=e(55),s=(e(56),e(80)),c=e(94),l=e(24),u=e(132),d=
a.createElement,_=a.createFactory,p=a.cloneElement,h={Children:
{map:n.map,forEach:n.forEach,count:n.count,toArray:n.toArray,only:u},Component:r,cr
eateElement:d,cloneElement:p,isValidElement:a.isValidElement,PropTypes:s,createClas
s:i.createClass,createFactory:_,createMixin:function(e){return
e},DOM:o,version:c,__spread:l};t.exports=h},
{132:132,24:24,32:32,33:33,34:34,43:43,55:55,56:56,80:80,94:94}],68:[function(e,t)
{"use strict";function n(e,t){this.value=e,this.requestChange=t}function r(e){var
t={value:"undefined"==typeof e?
i.PropTypes.any.isRequired:e.isRequired,requestChange:i.PropTypes.func.isRequired};
return i.PropTypes.shape(t)}var i=e(26);n.PropTypes={link:r},t.exports=n},
{26:26}],69:[function(e,t){"use strict";var n=e(113),r=/\/?
>/,i={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var
t=n(e);return e.replace(r,"
"+i.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var
r=t.getAttribute(i.CHECKSUM_ATTR_NAME);r=r&&parseInt(r,10);var o=n(e);return
o===r}};t.exports=i},{113:113}],70:[function(e,t){"use strict";function n(e,t)
{for(var n=Math.min(e.length,t.length),r=0;n>r;r++)if(e.charAt(r)!
==t.charAt(r))return r;return e.length===t.length?-1:n}function r(e){return e?
e.nodeType===q?e.documentElement:e.firstChild:null}function i(e){var t=r(e);return
t&&G.getID(t)}function o(e){var t=a(e);if(t)if(F.hasOwnProperty(t)){var n=F[t];n!
==e&&(u(n,t)?A(!1):void 0,F[t]=e)}else F[t]=e;return t}function a(e){return
e&&e.getAttribute&&e.getAttribute($)||""}function s(e,t){var n=a(e);n!==t&&delete
F[n],e.setAttribute($,t),F[t]=e}function c(e){return
F.hasOwnProperty(e)&&u(F[e],e)||(F[e]=G.findReactNodeByID(e)),F[e]}function
l(e){var t=E.get(e)._rootNodeID;return x.isNullComponentID(t)?null:
(F.hasOwnProperty(t)&&u(F[t],t)||(F[t]=G.findReactNodeByID(t)),F[t])}function
u(e,t){if(e){a(e)!==t?A(!1):void 0;var
n=G.findReactContainerForID(t);if(n&&I(n,e))return!0}return!1}function d(e){delete
F[e]}function _(e){var t=F[e];return t&&u(t,e)?void(Y=t):!1}function p(e)
{Y=null,S.traverseAncestors(e,_);var t=Y;return Y=null,t}function h(e,t,n,r,i,o)
{w.useCreateElement&&(o=j({},o),o[U]=n.nodeType===q?n:n.ownerDocument);var
a=O.mountComponent(e,t,r,o);e._renderedComponent._topLevelWrapper=e,G._mountImageIn
toNode(a,n,i,r)}function f(e,t,n,r,i){var
o=T.ReactReconcileTransaction.getPooled(r);o.perform(h,null,e,t,n,o,r,i),T.ReactRec
oncileTransaction.release(o)}function m(e,t)
{for(O.unmountComponent(e),t.nodeType===q&&(t=t.documentElement);t.lastChild;)t.rem
oveChild(t.lastChild)}function b(e){var t=i(e);return t?t!
==S.getReactRootIDFromNodeID(t):!1}function g(e){for(;e&&e.parentNode!
==e;e=e.parentNode)if(1===e.nodeType){var t=a(e);if(t){var
n,r=S.getReactRootIDFromNodeID(t),i=e;do if(n=a(i),i=i.parentNode,null==i)return
null;while(n!==r);if(i===W[r])return e}}return null}var
v=e(10),y=e(28),w=(e(39),e(44)),k=e(55),x=e(58),S=e(65),E=e(66),R=e(69),C=e(76),O=e
(82),N=e(92),T=e(93),j=e(24),P=e(151),I=e(147),M=e(129),A=e(158),D=e(135),L=e(138),
$=(e(141),e(168),v.ID_ATTRIBUTE_NAME),F={},B=1,q=9,z=11,U="__ReactMount_ownerDocume
nt$"+Math.random().toString(36).slice(2),H={},W={},V=[],Y=null,J=function()
{};J.prototype.isReactComponent={},J.prototype.render=function(){return
this.props};var
G={TopLevelWrapper:J,_instancesByReactRootID:H,scrollMonitor:function(e,t)
{t()},_updateRootComponent:function(e,t,n,r){return G.scrollMonitor(n,function()
{N.enqueueElementInternal(e,t),r&&N.enqueueCallbackInternal(e,r)}),e},_registerComp
onent:function(e,t){!t||t.nodeType!==B&&t.nodeType!==q&&t.nodeType!==z?A(!1):void
0,y.ensureScrollValueMonitoring();var n=G.registerContainer(t);return
H[n]=e,n},_renderNewRootComponent:function(e,t,n,r){var
i=M(e,null),o=G._registerComponent(i,t);return
T.batchedUpdates(f,i,o,t,n,r),i},renderSubtreeIntoContainer:function(e,t,n,r)
{return null==e||null==e._reactInternalInstance?A(!1):void
0,G._renderSubtreeIntoContainer(e,t,n,r)},_renderSubtreeIntoContainer:function(e,t,
n,o){k.isValidElement(t)?void 0:A(!1);var s=new
k(J,null,null,null,null,null,t),c=H[i(n)];if(c){var
l=c._currentElement,u=l.props;if(L(u,t)){var
d=c._renderedComponent.getPublicInstance(),_=o&&function(){o.call(d)};return
G._updateRootComponent(c,s,n,_),d}G.unmountComponentAtNode(n)}var p=r(n),h=p&&!!
a(p),f=b(n),m=h&&!c&&!f,g=G._renderNewRootComponent(s,n,m,null!=e?
e._reactInternalInstance._processChildContext(e._reactInternalInstance._context):P)
._renderedComponent.getPublicInstance();return
o&&o.call(g),g},render:function(e,t,n){return
G._renderSubtreeIntoContainer(null,e,t,n)},registerContainer:function(e){var
t=i(e);return t&&(t=S.getReactRootIDFromNodeID(t)),t||
(t=S.createReactRootID()),W[t]=e,t},unmountComponentAtNode:function(e){!e||
e.nodeType!==B&&e.nodeType!==q&&e.nodeType!==z?A(!1):void 0;var t=i(e),n=H[t];if(!
n){var r=(b(e),a(e));return r&&r===S.getReactRootIDFromNodeID(r),!1}return
T.batchedUpdates(m,n,e),delete H[t],delete W[t],!
0},findReactContainerForID:function(e){var
t=S.getReactRootIDFromNodeID(e),n=W[t];return n},findReactNodeByID:function(e){var
t=G.findReactContainerForID(e);return
G.findComponentRoot(t,e)},getFirstReactDOM:function(e){return
g(e)},findComponentRoot:function(e,t){var n=V,r=0,i=p(t)||
e;for(n[0]=i.firstChild,n.length=1;r<n.length;){for(var o,a=n[r++];a;){var
s=G.getID(a);s?t===s?
o=a:S.isAncestorIDOf(s,t)&&(n.length=r=0,n.push(a.firstChild)):n.push(a.firstChild)
,a=a.nextSibling}if(o)return n.length=0,o}n.length=0,A(!
1)},_mountImageIntoNode:function(e,t,i,o){if(!t||t.nodeType!==B&&t.nodeType!
==q&&t.nodeType!==z?A(!1):void 0,i){var a=r(t);if(R.canReuseMarkup(e,a))return;var
s=a.getAttribute(R.CHECKSUM_ATTR_NAME);a.removeAttribute(R.CHECKSUM_ATTR_NAME);var
c=a.outerHTML;a.setAttribute(R.CHECKSUM_ATTR_NAME,s);var l=e,u=n(l,c);" (client)
"+l.substring(u-20,u+20)+"\n (server) "+c.substring(u-20,u+20),t.nodeType===q?A(!
1):void 0}if(t.nodeType===q?A(!1):void 0,o.useCreateElement)
{for(;t.lastChild;)t.removeChild(t.lastChild);t.appendChild(e)}else
D(t,e)},ownerDocumentContextKey:U,getReactRootID:i,getID:o,setID:s,getNode:c,getNod
eFromInstance:l,isValid:u,purgeID:d};C.measureMethods(G,"ReactMount",
{_renderNewRootComponent:"_renderNewRootComponent",_mountImageIntoNode:"_mountImage
IntoNode"}),t.exports=G},
{10:10,129:129,135:135,138:138,141:141,147:147,151:151,158:158,168:168,24:24,28:28,
39:39,44:44,55:55,58:58,65:65,66:66,69:69,76:76,82:82,92:92,93:93}],71:
[function(e,t){"use strict";function n(e,t,n)
{f.push({parentID:e,parentNode:null,type:u.INSERT_MARKUP,markupIndex:m.push(t)-
1,content:null,fromIndex:null,toIndex:n})}function r(e,t,n)
{f.push({parentID:e,parentNode:null,type:u.MOVE_EXISTING,markupIndex:null,content:n
ull,fromIndex:t,toIndex:n})}function i(e,t)
{f.push({parentID:e,parentNode:null,type:u.REMOVE_NODE,markupIndex:null,content:nul
l,fromIndex:t,toIndex:null})}function o(e,t)
{f.push({parentID:e,parentNode:null,type:u.SET_MARKUP,markupIndex:null,content:t,fr
omIndex:null,toIndex:null})}function a(e,t)
{f.push({parentID:e,parentNode:null,type:u.TEXT_CONTENT,markupIndex:null,content:t,
fromIndex:null,toIndex:null})}function s()
{f.length&&(l.processChildrenUpdates(f,m),c())}function c()
{f.length=0,m.length=0}var
l=e(36),u=e(72),d=(e(39),e(82)),_=e(31),p=e(120),h=0,f=[],m=[],b={Mixin:
{_reconcilerInstantiateChildren:function(e,t,n){return
_.instantiateChildren(e,t,n)},_reconcilerUpdateChildren:function(e,t,n,r){var
i;return i=p(t),_.updateChildren(e,i,n,r)},mountChildren:function(e,t,n){var
r=this._reconcilerInstantiateChildren(e,t,n);this._renderedChildren=r;var
i=[],o=0;for(var a in r)if(r.hasOwnProperty(a)){var
s=r[a],c=this._rootNodeID+a,l=d.mountComponent(s,c,t,n);s._mountIndex=o+
+,i.push(l)}return i},updateTextContent:function(e){h++;var t=!0;try{var
n=this._renderedChildren;_.unmountChildren(n);for(var r in
n)n.hasOwnProperty(r)&&this._unmountChild(n[r]);this.setTextContent(e),t=!
1}finally{h--,h||(t?c():s())}},updateMarkup:function(e){h++;var t=!0;try{var
n=this._renderedChildren;_.unmountChildren(n);for(var r in
n)n.hasOwnProperty(r)&&this._unmountChildByName(n[r],r);this.setMarkup(e),t=!
1}finally{h--,h||(t?c():s())}},updateChildren:function(e,t,n){h++;var r=!
0;try{this._updateChildren(e,t,n),r=!1}finally{h--,h||(r?
c():s())}},_updateChildren:function(e,t,n){var
r=this._renderedChildren,i=this._reconcilerUpdateChildren(r,e,t,n);if(this._rendere
dChildren=i,i||r){var o,a=0,s=0;for(o in i)if(i.hasOwnProperty(o)){var
c=r&&r[o],l=i[o];c===l?
(this.moveChild(c,s,a),a=Math.max(c._mountIndex,a),c._mountIndex=s):
(c&&(a=Math.max(c._mountIndex,a),this._unmountChild(c)),this._mountChildByNameAtInd
ex(l,o,s,t,n)),s++}for(o in r)!r.hasOwnProperty(o)||i&&i.hasOwnProperty(o)||
this._unmountChild(r[o])}},unmountChildren:function(){var
e=this._renderedChildren;_.unmountChildren(e),this._renderedChildren=null},moveChil
d:function(e,t,n)
{e._mountIndex<n&&r(this._rootNodeID,e._mountIndex,t)},createChild:function(e,t)
{n(this._rootNodeID,t,e._mountIndex)},removeChild:function(e)
{i(this._rootNodeID,e._mountIndex)},setTextContent:function(e)
{a(this._rootNodeID,e)},setMarkup:function(e)
{o(this._rootNodeID,e)},_mountChildByNameAtIndex:function(e,t,n,r,i){var
o=this._rootNodeID+t,a=d.mountComponent(e,o,r,i);e._mountIndex=n,this.createChild(e
,a)},_unmountChild:function(e)
{this.removeChild(e),e._mountIndex=null}}};t.exports=b},
{120:120,31:31,36:36,39:39,72:72,82:82}],72:[function(e,t){"use strict";var
n=e(162),r=n({INSERT_MARKUP:null,MOVE_EXISTING:null,REMOVE_NODE:null,SET_MARKUP:nul
l,TEXT_CONTENT:null});t.exports=r},{162:162}],73:[function(e,t){"use
strict";function n(e){if("function"==typeof e.type)return e.type;var
t=e.type,n=u[t];return null==n&&(u[t]=n=c(t)),n}function r(e){return l?void 0:s(!
1),new l(e.type,e.props)}function i(e){return new d(e)}function o(e){return e
instanceof d}var
a=e(24),s=e(158),c=null,l=null,u={},d=null,_={injectGenericComponentClass:function(
e){l=e},injectTextComponentClass:function(e)
{d=e},injectComponentClasses:function(e)
{a(u,e)}},p={getComponentClassForElement:n,createInternalComponent:r,createInstance
ForText:i,isTextComponent:o,injection:_};t.exports=p},{158:158,24:24}],74:
[function(e,t){"use strict";function n(){}var r=(e(168),{isMounted:function()
{return!1},enqueueCallback:function(){},enqueueForceUpdate:function(e)
{n(e,"forceUpdate")},enqueueReplaceState:function(e)
{n(e,"replaceState")},enqueueSetState:function(e)
{n(e,"setState")},enqueueSetProps:function(e)
{n(e,"setProps")},enqueueReplaceProps:function(e)
{n(e,"replaceProps")}});t.exports=r},{168:168}],75:[function(e,t){"use strict";var
n=e(158),r={isValidOwner:function(e){return!(!e||"function"!=typeof
e.attachRef||"function"!=typeof e.detachRef)},addComponentAsRefTo:function(e,t,i)
{r.isValidOwner(i)?void 0:n(!
1),i.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,i){r.isValidOwner(i)?
void 0:n(!
1),i.getPublicInstance().refs[t]===e.getPublicInstance()&&i.detachRef(t)}};t.export
s=r},{158:158}],76:[function(e,t){"use strict";function n(e,t,n){return n}var
r={enableMeasure:!1,storedMeasure:n,measureMethods:function()
{},measure:function(e,t,n){return n},injection:{injectMeasure:function(e)
{r.storedMeasure=e}}};t.exports=r},{}],77:[function(e,t){"use strict";function n(e)
{return function(t,n,r){t[n]=t.hasOwnProperty(n)?e(t[n],r):r}}function r(e,t)
{for(var n in t)if(t.hasOwnProperty(n)){var r=c[n];r&&c.hasOwnProperty(n)?
r(e,n,t[n]):e.hasOwnProperty(n)||(e[n]=t[n])}return e}var
i=e(24),o=e(150),a=e(161),s=n(function(e,t){return
i({},t,e)}),c={children:o,className:n(a),style:s},l={mergeProps:function(e,t)
{return r(i({},e),t)}};t.exports=l},{150:150,161:161,24:24}],78:[function(e,t){"use
strict";var
n={};t.exports=n},{}],79:[function(e,t){"use strict";var
n=e(162),r=n({prop:null,context:null,childContext:null});t.exports=r},
{162:162}],80:[function(e,t){"use strict";function n(e){function t(t,n,r,i,o,a)
{if(i=i||w,a=a||r,null==n[r]){var s=g[o];return t?new Error("Required "+s+" `"+a+"`
was not specified in "+("`"+i+"`.")):null}return e(n,r,i,o,a)}var n=t.bind(null,!
1);return n.isRequired=t.bind(null,!0),n}function r(e){function t(t,n,r,i,o){var
a=t[n],s=h(a);if(s!==e){var c=g[i],l=f(a);return new Error("Invalid "+c+" `"+o+"`
of type "+("`"+l+"` supplied to `"+r+"`, expected ")+("`"+e+"`."))}return
null}return n(t)}function i(){return n(v.thatReturns(null))}function o(e){function
t(t,n,r,i,o){var a=t[n];if(!Array.isArray(a)){var s=g[i],c=h(a);return new
Error("Invalid "+s+" `"+o+"` of type "+("`"+c+"` supplied to `"+r+"`, expected an
array."))}for(var l=0;l<a.length;l++){var u=e(a,l,r,i,o+"["+l+"]");if(u instanceof
Error)return u}return null}return n(t)}function a(){function e(e,t,n,r,i){if(!
b.isValidElement(e[t])){var o=g[r];return new Error("Invalid "+o+" `"+i+"` supplied
to "+("`"+n+"`, expected a single ReactElement."))}return null}return n(e)}function
s(e){function t(t,n,r,i,o){if(!(t[n]instanceof e)){var a=g[i],s=e.name||
w,c=m(t[n]);return new Error("Invalid "+a+" `"+o+"` of type "+("`"+c+"` supplied to
`"+r+"`, expected ")+("instance of `"+s+"`."))}return null}return n(t)}function
c(e){function t(t,n,r,i,o){for(var a=t[n],s=0;s<e.length;s++)if(a===e[s])return
null;var c=g[i],l=JSON.stringify(e);return new Error("Invalid "+c+" `"+o+"` of
value `"+a+"` "+("supplied to `"+r+"`, expected one of "+l+"."))}return
n(Array.isArray(e)?t:function(){return new Error("Invalid argument supplied to
oneOf, expected an instance of array.")})}function l(e){function t(t,n,r,i,o){var
a=t[n],s=h(a);if("object"!==s){var c=g[i];return new Error("Invalid "+c+" `"+o+"`
of type "+("`"+s+"` supplied to `"+r+"`, expected an object."))}for(var l in
a)if(a.hasOwnProperty(l)){var u=e(a,l,r,i,o+"."+l);if(u instanceof Error)return
u}return null}return n(t)}function u(e){function t(t,n,r,i,o){for(var
a=0;a<e.length;a++){var s=e[a];if(null==s(t,n,r,i,o))return null}var c=g[i];return
new Error("Invalid "+c+" `"+o+"` supplied to "+("`"+r+"`."))}return
n(Array.isArray(e)?t:function(){return new Error("Invalid argument supplied to
oneOfType, expected an instance of array.")})}function d(){function e(e,t,n,r,i)
{if(!p(e[t])){var o=g[r];return new Error("Invalid "+o+" `"+i+"` supplied to "+
("`"+n+"`, expected a ReactNode."))}return null}return n(e)}function _(e){function
t(t,n,r,i,o){var a=t[n],s=h(a);if("object"!==s){var c=g[i];return new
Error("Invalid "+c+" `"+o+"` of type `"+s+"` "+("supplied to `"+r+"`, expected
`object`."))}for(var l in e){var u=e[l];if(u){var d=u(a,l,r,i,o+"."+l);if(d)return
d}}return null}return n(t)}function p(e){switch(typeof e)
{case"number":case"string":case"undefined":return!0;case"boolean":return!
e;case"object":if(Array.isArray(e))return e.every(p);if(null===e||
b.isValidElement(e))return!0;
var t=y(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!
(n=r.next()).done;)if(!p(n.value))return!1}else for(;!(n=r.next()).done;){var
i=n.value;if(i&&!p(i[1]))return!1}return!0;default:return!1}}function h(e){var
t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":t}function
f(e){var t=h(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof
RegExp)return"regexp"}return t}function m(e){return
e.constructor&&e.constructor.name?e.constructor.name:"<<anonymous>>"}var
b=e(55),g=e(78),v=e(150),y=e(126),w="<<anonymous>>",k={array:r("array"),bool:r("boo
lean"),func:r("function"),number:r("number"),object:r("object"),string:r("string"),
any:i(),arrayOf:o,element:a(),instanceOf:s,node:d(),objectOf:l,oneOf:c,oneOfType:u,
shape:_};t.exports=k},{126:126,150:150,55:55,78:78}],81:[function(e,t){"use
strict";function n(e){this.reinitializeTransaction(),this.renderToStaticMarkup=!
1,this.reactMountReady=r.getPooled(null),this.useCreateElement=!
e&&a.useCreateElement}var
r=e(6),i=e(25),o=e(28),a=e(44),s=e(64),c=e(110),l=e(24),u={initialize:s.getSelectio
nInformation,close:s.restoreSelection},d={initialize:function(){var
e=o.isEnabled();return o.setEnabled(!1),e},close:function(e)
{o.setEnabled(e)}},_={initialize:function()
{this.reactMountReady.reset()},close:function()
{this.reactMountReady.notifyAll()}},p=[u,d,_],h={getTransactionWrappers:function()
{return p},getReactMountReady:function(){return
this.reactMountReady},destructor:function()
{r.release(this.reactMountReady),this.reactMountReady=null}};l(n.prototype,c.Mixin,
h),i.addPoolingTo(n),t.exports=n},{110:110,24:24,25:25,28:28,44:44,6:6,64:64}],82:
[function(e,t){"use strict";function n()
{r.attachRefs(this,this._currentElement)}var
r=e(83),i={mountComponent:function(e,t,r,i){var o=e.mountComponent(t,r,i);return
e._currentElement&&null!
=e._currentElement.ref&&r.getReactMountReady().enqueue(n,e),o},unmountComponent:fun
ction(e)
{r.detachRefs(e,e._currentElement),e.unmountComponent()},receiveComponent:function(
e,t,i,o){var a=e._currentElement;if(t!==a||o!==e._context){var
s=r.shouldUpdateRefs(a,t);s&&r.detachRefs(e,a),e.receiveComponent(t,i,o),s&&e._curr
entElement&&null!
=e._currentElement.ref&&i.getReactMountReady().enqueue(n,e)}},performUpdateIfNecess
ary:function(e,t){e.performUpdateIfNecessary(t)}};t.exports=i},{83:83}],83:
[function(e,t){"use strict";function n(e,t,n){"function"==typeof e?
e(t.getPublicInstance()):i.addComponentAsRefTo(t,e,n)}function r(e,t,n)
{"function"==typeof e?e(null):i.removeComponentAsRefFrom(t,e,n)}var
i=e(75),o={};o.attachRefs=function(e,t){if(null!==t&&t!==!1){var r=t.ref;null!
=r&&n(r,e,t._owner)}},o.shouldUpdateRefs=function(e,t){var n=null===e||e===!
1,r=null===t||t===!1;return n||r||t._owner!==e._owner||t.ref!
==e.ref},o.detachRefs=function(e,t){if(null!==t&&t!==!1){var n=t.ref;null!
=n&&r(n,e,t._owner)}},t.exports=o},{75:75}],84:[function(e,t){"use strict";var
n={injectCreateReactRootIndex:function(e)
{r.createReactRootIndex=e}},r={createReactRootIndex:null,injection:n};t.exports=r},
{}],85:[function(e,t){"use strict";var n={isBatchingUpdates:!
1,batchedUpdates:function(){}};t.exports=n},{}],86:[function(e,t){"use
strict";function n(e){o.isValidElement(e)?void 0:p(!1);var
t;try{u.injection.injectBatchingStrategy(c);var n=a.createReactRootID();return
t=l.getPooled(!1),t.perform(function(){var
r=_(e,null),i=r.mountComponent(n,t,d);return
s.addChecksumToMarkup(i)},null)}finally{l.release(t),u.injection.injectBatchingStra
tegy(i)}}function r(e){o.isValidElement(e)?void 0:p(!1);var
t;try{u.injection.injectBatchingStrategy(c);var n=a.createReactRootID();return
t=l.getPooled(!0),t.perform(function(){var r=_(e,null);return
r.mountComponent(n,t,d)},null)}finally{l.release(t),u.injection.injectBatchingStrat
egy(i)}}var
i=e(53),o=e(55),a=e(65),s=e(69),c=e(85),l=e(87),u=e(93),d=e(151),_=e(129),p=e(158);
t.exports={renderToString:n,renderToStaticMarkup:r}},
{129:129,151:151,158:158,53:53,55:55,65:65,69:69,85:85,87:87,93:93}],87:
[function(e,t){"use strict";function n(e)
{this.reinitializeTransaction(),this.renderToStaticMarkup=e,this.reactMountReady=i.
getPooled(null),this.useCreateElement=!1}var
r=e(25),i=e(6),o=e(110),a=e(24),s=e(150),c={initialize:function()
{this.reactMountReady.reset()},close:s},l=[c],u={getTransactionWrappers:function()
{return l},getReactMountReady:function(){return
this.reactMountReady},destructor:function()
{i.release(this.reactMountReady),this.reactMountReady=null}};a(n.prototype,o.Mixin,
u),r.addPoolingTo(n),t.exports=n},{110:110,150:150,24:24,25:25,6:6}],88:
[function(e,t){"use strict";function n(e,t){var n={};return function(r)
{n[t]=r,e.setState(n)}}var r={createStateSetter:function(e,t){return
function(n,r,i,o,a,s){var
c=t.call(e,n,r,i,o,a,s);c&&e.setState(c)}},createStateKeySetter:function(e,t){var
r=e.__keySetters||(e.__keySetters={});return r[t]||
(r[t]=n(e,t))}};r.Mixin={createStateSetter:function(e){return
r.createStateSetter(this,e)},createStateKeySetter:function(e){return
r.createStateKeySetter(this,e)}},t.exports=r},{}],89:[function(e,t){"use
strict";var n=e(120),r={getChildMapping:function(e){return e?
n(e):e},mergeChildMappings:function(e,t){function n(n){return t.hasOwnProperty(n)?
t[n]:e[n]}e=e||{},t=t||{};var r={},i=[];for(var o in e)t.hasOwnProperty(o)?
i.length&&(r[o]=i,i=[]):i.push(o);var a,s={};for(var c in t)
{if(r.hasOwnProperty(c))for(a=0;a<r[c].length;a++){var l=r[c][a];s[r[c]
[a]]=n(l)}s[c]=n(c)}for(a=0;a<i.length;a++)s[i[a]]=n(i[a]);return s}};t.exports=r},
{120:120}],90:[function(e,t){"use strict";function n(){var
e=document.createElement("div"),t=e.style;"AnimationEvent"in window||delete
a.animationend.animation,"TransitionEvent"in window||delete
a.transitionend.transition;for(var n in a){var r=a[n];for(var i in r)if(i in t)
{s.push(r[i]);break}}}function r(e,t,n){e.addEventListener(t,n,!1)}function
i(e,t,n){e.removeEventListener(t,n,!1)}var o=e(144),a={transitionend:
{transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"m
ozTransitionEnd",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd"},anima
tionend:
{animation:"animationend",WebkitAnimation:"webkitAnimationEnd",MozAnimation:"mozAni
mationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd"}},s=[];o.canUseD
OM&&n();var c={addEndEventListener:function(e,t){return 0===s.length?void
window.setTimeout(t,0):void s.forEach(function(n)
{r(e,n,t)})},removeEndEventListener:function(e,t){0!
==s.length&&s.forEach(function(n){i(e,n,t)})}};t.exports=c},{144:144}],91:
[function(e,t){"use strict";var
n=e(26),r=e(89),i=e(24),o=e(150),a=n.createClass({displayName:"ReactTransitionGroup
",propTypes:
{component:n.PropTypes.any,childFactory:n.PropTypes.func},getDefaultProps:function(
)
{return{component:"span",childFactory:o.thatReturnsArgument}},getInitialState:funct
ion()
{return{children:r.getChildMapping(this.props.children)}},componentWillMount:functi
on()
{this.currentlyTransitioningKeys={},this.keysToEnter=[],this.keysToLeave=[]},compon
entDidMount:function(){var e=this.state.children;for(var t in
e)e[t]&&this.performAppear(t)},componentWillReceiveProps:function(e){var
t=r.getChildMapping(e.children),n=this.state.children;this.setState({children:r.mer
geChildMappings(n,t)});var i;for(i in t){var o=n&&n.hasOwnProperty(i);!t[i]||o||
this.currentlyTransitioningKeys[i]||this.keysToEnter.push(i)}for(i in n){var
a=t&&t.hasOwnProperty(i);!n[i]||a||this.currentlyTransitioningKeys[i]||
this.keysToLeave.push(i)}},componentDidUpdate:function(){var
e=this.keysToEnter;this.keysToEnter=[],e.forEach(this.performEnter);var
t=this.keysToLeave;this.keysToLeave=[],t.forEach(this.performLeave)},performAppear:
function(e){this.currentlyTransitioningKeys[e]=!0;var
t=this.refs[e];t.componentWillAppear?
t.componentWillAppear(this._handleDoneAppearing.bind(this,e)):this._handleDoneAppea
ring(e)},_handleDoneAppearing:function(e){var
t=this.refs[e];t.componentDidAppear&&t.componentDidAppear(),delete
this.currentlyTransitioningKeys[e];var
n=r.getChildMapping(this.props.children);n&&n.hasOwnProperty(e)||
this.performLeave(e)},performEnter:function(e){this.currentlyTransitioningKeys[e]=!
0;var t=this.refs[e];t.componentWillEnter?
t.componentWillEnter(this._handleDoneEntering.bind(this,e)):this._handleDoneEnterin
g(e)},_handleDoneEntering:function(e){var
t=this.refs[e];t.componentDidEnter&&t.componentDidEnter(),delete
this.currentlyTransitioningKeys[e];var
n=r.getChildMapping(this.props.children);n&&n.hasOwnProperty(e)||
this.performLeave(e)},performLeave:function(e){this.currentlyTransitioningKeys[e]=!
0;var t=this.refs[e];t.componentWillLeave?
t.componentWillLeave(this._handleDoneLeaving.bind(this,e)):this._handleDoneLeaving(
e)},_handleDoneLeaving:function(e){var
t=this.refs[e];t.componentDidLeave&&t.componentDidLeave(),delete
this.currentlyTransitioningKeys[e];var
n=r.getChildMapping(this.props.children);n&&n.hasOwnProperty(e)?
this.performEnter(e):this.setState(function(t){var n=i({},t.children);return delete
n[e],{children:n}})},render:function(){var e=[];for(var t in this.state.children)
{var r=this.state.children[t];r&&e.push(n.cloneElement(this.props.childFactory(r),
{ref:t,key:t}))}return
n.createElement(this.props.component,this.props,e)}});t.exports=a},
{150:150,24:24,26:26,89:89}],92:[function(e,t){"use strict";function n(e)
{a.enqueueUpdate(e)}function r(e){var t=o.get(e);return t?t:null}var
i=(e(39),e(55)),o=e(66),a=e(93),s=e(24),c=e(158),l=(e(168),{isMounted:function(e)
{var t=o.get(e);return t?!!t._renderedComponent:!1},enqueueCallback:function(e,t)
{"function"!=typeof t?c(!1):void 0;var i=r(e);return i?(i._pendingCallbacks?
i._pendingCallbacks.push(t):i._pendingCallbacks=[t],void
n(i)):null},enqueueCallbackInternal:function(e,t){"function"!=typeof t?c(!1):void
0,e._pendingCallbacks?
e._pendingCallbacks.push(t):e._pendingCallbacks=[t],n(e)},enqueueForceUpdate:functi
on(e){var t=r(e,"forceUpdate");t&&(t._pendingForceUpdate=!
0,n(t))},enqueueReplaceState:function(e,t){var
i=r(e,"replaceState");i&&(i._pendingStateQueue=[t],i._pendingReplaceState=!
0,n(i))},enqueueSetState:function(e,t){var i=r(e,"setState");if(i){var
o=i._pendingStateQueue||
(i._pendingStateQueue=[]);o.push(t),n(i)}},enqueueSetProps:function(e,t){var
n=r(e,"setProps");n&&l.enqueueSetPropsInternal(n,t)},enqueueSetPropsInternal:functi
on(e,t){var r=e._topLevelWrapper;r?void 0:c(!1);var o=r._pendingElement||
r._currentElement,a=o.props,l=s({},a.props,t);r._pendingElement=i.cloneAndReplacePr
ops(o,i.cloneAndReplaceProps(a,l)),n(r)},enqueueReplaceProps:function(e,t){var
n=r(e,"replaceProps");n&&l.enqueueReplacePropsInternal(n,t)},enqueueReplacePropsInt
ernal:function(e,t){var r=e._topLevelWrapper;r?void 0:c(!1);var
o=r._pendingElement||
r._currentElement,a=o.props;r._pendingElement=i.cloneAndReplaceProps(o,i.cloneAndRe
placeProps(a,t)),n(r)},enqueueElementInternal:function(e,t)
{e._pendingElement=t,n(e)}});t.exports=l},
{158:158,168:168,24:24,39:39,55:55,66:66,93:93}],93:[function(e,t){"use
strict";function n(){E.ReactReconcileTransaction&&v?void 0:f(!1)}function r()
{this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=
l.getPooled(),this.reconcileTransaction=E.ReactReconcileTransaction.getPooled(!
1)}function i(e,t,r,i,o,a){n(),v.batchedUpdates(e,t,r,i,o,a)}function o(e,t){return
e._mountOrder-t._mountOrder}function a(e){var t=e.dirtyComponentsLength;t!
==m.length?f(!1):void 0,m.sort(o);for(var n=0;t>n;n++){var
r=m[n],i=r._pendingCallbacks;if(r._pendingCallbacks=null,_.performUpdateIfNecessary
(r,e.reconcileTransaction),i)for(var a=0;a<i.length;a+
+)e.callbackQueue.enqueue(i[a],r.getPublicInstance())}}function s(e){return
n(),v.isBatchingUpdates?void m.push(e):void v.batchedUpdates(s,e)}function c(e,t)
{v.isBatchingUpdates?void 0:f(!1),b.enqueue(e,t),g=!0}var
l=e(6),u=e(25),d=e(76),_=e(82),p=e(110),h=e(24),f=e(158),m=[],b=l.getPooled(),g=!
1,v=null,y={initialize:function()
{this.dirtyComponentsLength=m.length},close:function(){this.dirtyComponentsLength!
==m.length?
(m.splice(0,this.dirtyComponentsLength),x()):m.length=0}},w={initialize:function()
{this.callbackQueue.reset()},close:function()
{this.callbackQueue.notifyAll()}},k=[y,w];h(r.prototype,p.Mixin,
{getTransactionWrappers:function(){return k},destructor:function()
{this.dirtyComponentsLength=null,l.release(this.callbackQueue),this.callbackQueue=n
ull,E.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTr
ansaction=null},perform:function(e,t,n){return
p.Mixin.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransacti
on,e,t,n)}}),u.addPoolingTo(r);var x=function(){for(;m.length||g;){if(m.length){var
e=r.getPooled();e.perform(a,null,e),r.release(e)}if(g){g=!1;var
t=b;b=l.getPooled(),t.notifyAll(),l.release(t)}}};x=d.measure("ReactUpdates","flush
BatchedUpdates",x);var S={injectReconcileTransaction:function(e){e?void 0:f(!
1),E.ReactReconcileTransaction=e},injectBatchingStrategy:function(e){e?void 0:f(!
1),"function"!=typeof e.batchedUpdates?f(!1):void 0,"boolean"!=typeof
e.isBatchingUpdates?f(!1):void
0,v=e}},E={ReactReconcileTransaction:null,batchedUpdates:i,enqueueUpdate:s,flushBat
chedUpdates:x,injection:S,asap:c};t.exports=E},
{110:110,158:158,24:24,25:25,6:6,76:76,82:82}],94:[function(e,t){"use
strict";t.exports="0.14.6"},{}],95:[function(e,t){"use strict";var
n=e(10),r=n.injection.MUST_USE_ATTRIBUTE,i={xlink:"http://www.w3.org/1999/xlink",xm
l:"http://www.w3.org/XML/1998/namespace"},o={Properties:
{clipPath:r,cx:r,cy:r,d:r,dx:r,dy:r,fill:r,fillOpacity:r,fontFamily:r,fontSize:r,fx
:r,fy:r,gradientTransform:r,gradientUnits:r,markerEnd:r,markerMid:r,markerStart:r,o
ffset:r,opacity:r,patternContentUnits:r,patternUnits:r,points:r,preserveAspectRatio
:r,r:r,rx:r,ry:r,spreadMethod:r,stopColor:r,stopOpacity:r,stroke:r,strokeDasharray:
r,strokeLinecap:r,strokeOpacity:r,strokeWidth:r,textAnchor:r,transform:r,version:r,
viewBox:r,x1:r,x2:r,x:r,xlinkActuate:r,xlinkArcrole:r,xlinkHref:r,xlinkRole:r,xlink
Show:r,xlinkTitle:r,xlinkType:r,xmlBase:r,xmlLang:r,xmlSpace:r,y1:r,y2:r,y:r},DOMAt
tributeNamespaces:
{xlinkActuate:i.xlink,xlinkArcrole:i.xlink,xlinkHref:i.xlink,xlinkRole:i.xlink,xlin
kShow:i.xlink,xlinkTitle:i.xlink,xlinkType:i.xlink,xmlBase:i.xml,xmlLang:i.xml,xmlS
pace:i.xml},DOMAttributeNames:{clipPath:"clip-path",fillOpacity:"fill-
opacity",fontFamily:"font-family",fontSize:"font-
size",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",markerEnd
:"marker-end",markerMid:"marker-mid",markerStart:"marker-
start",patternContentUnits:"patternContentUnits",patternUnits:"patternUnits",preser
veAspectRatio:"preserveAspectRatio",spreadMethod:"spreadMethod",stopColor:"stop-
color",stopOpacity:"stop-opacity",strokeDasharray:"stroke-
dasharray",strokeLinecap:"stroke-linecap",strokeOpacity:"stroke-
opacity",strokeWidth:"stroke-width",textAnchor:"text-
anchor",viewBox:"viewBox",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole"
,xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"x
link:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlLang:"xml:lang",xmlSpace:"
xml:space"}};t.exports=o},{10:10}],96:[function(e,t){"use strict";function n(e)
{if("selectionStart"in
e&&s.hasSelectionCapabilities(e))return{start:e.selectionStart,end:e.selectionEnd};
if(window.getSelection){var
t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,
focusNode:t.focusNode,focusOffset:t.focusOffset}}if(document.selection){var
n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.te
xt,top:n.boundingTop,left:n.boundingLeft}}}function r(e,t){if(v||null==m||m!
==l())return null;var r=n(m);if(!g||!_(g,r)){g=r;var
i=c.getPooled(f.select,b,e,t);return
i.type="select",i.target=m,o.accumulateTwoPhaseDispatches(i),i}return null}var
i=e(15),o=e(19),a=e(144),s=e(64),c=e(102),l=e(153),u=e(131),d=e(163),_=e(166),p=i.t
opLevelTypes,h=a.canUseDOM&&"documentMode"in
document&&document.documentMode<=11,f={select:{phasedRegistrationNames:
{bubbled:d({onSelect:null}),captured:d({onSelectCapture:null})},dependencies:
[p.topBlur,p.topContextMenu,p.topFocus,p.topKeyDown,p.topMouseDown,p.topMouseUp,p.t
opSelectionChange]}},m=null,b=null,g=null,v=!1,y=!
1,w=d({onSelect:null}),k={eventTypes:f,extractEvents:function(e,t,n,i,o){if(!
y)return null;switch(e){case p.topFocus:
(u(t)||"true"===t.contentEditable)&&(m=t,b=n,g=null);break;case
p.topBlur:m=null,b=null,g=null;break;case p.topMouseDown:v=!0;break;case
p.topContextMenu:case p.topMouseUp:return v=!1,r(i,o);case
p.topSelectionChange:if(h)break;case p.topKeyDown:case p.topKeyUp:return
r(i,o)}return null},didPutListener:function(e,t){t===w&&(y=!0)}};t.exports=k},
{102:102,131:131,144:144,15:15,153:153,163:163,166:166,19:19,64:64}],97:
[function(e,t){"use strict";var n=Math.pow(2,53),r={createReactRootIndex:function()
{return Math.ceil(Math.random()*n)}};t.exports=r},{}],98:[function(e,t){"use
strict";var
n=e(15),r=e(143),i=e(19),o=e(70),a=e(99),s=e(102),c=e(103),l=e(105),u=e(106),d=e(10
1),_=e(107),p=e(108),h=e(109),f=e(150),m=e(122),b=e(158),g=e(163),v=n.topLevelTypes
,y={abort:{phasedRegistrationNames:{bubbled:g({onAbort:!
0}),captured:g({onAbortCapture:!0})}},blur:{phasedRegistrationNames:
{bubbled:g({onBlur:!0}),captured:g({onBlurCapture:!0})}},canPlay:
{phasedRegistrationNames:{bubbled:g({onCanPlay:!0}),captured:g({onCanPlayCapture:!
0})}},canPlayThrough:{phasedRegistrationNames:{bubbled:g({onCanPlayThrough:!
0}),captured:g({onCanPlayThroughCapture:!0})}},click:{phasedRegistrationNames:
{bubbled:g({onClick:!0}),captured:g({onClickCapture:!0})}},contextMenu:
{phasedRegistrationNames:{bubbled:g({onContextMenu:!
0}),captured:g({onContextMenuCapture:!0})}},copy:{phasedRegistrationNames:
{bubbled:g({onCopy:!0}),captured:g({onCopyCapture:!0})}},cut:
{phasedRegistrationNames:{bubbled:g({onCut:!0}),captured:g({onCutCapture:!
0})}},doubleClick:{phasedRegistrationNames:{bubbled:g({onDoubleClick:!
0}),captured:g({onDoubleClickCapture:!0})}},drag:{phasedRegistrationNames:
{bubbled:g({onDrag:!0}),captured:g({onDragCapture:!0})}},dragEnd:
{phasedRegistrationNames:{bubbled:g({onDragEnd:!0}),captured:g({onDragEndCapture:!
0})}},dragEnter:{phasedRegistrationNames:{bubbled:g({onDragEnter:!
0}),captured:g({onDragEnterCapture:!0})}},dragExit:{phasedRegistrationNames:
{bubbled:g({onDragExit:!0}),captured:g({onDragExitCapture:!0})}},dragLeave:
{phasedRegistrationNames:{bubbled:g({onDragLeave:!
0}),captured:g({onDragLeaveCapture:!0})}},dragOver:{phasedRegistrationNames:
{bubbled:g({onDragOver:!0}),captured:g({onDragOverCapture:!0})}},dragStart:
{phasedRegistrationNames:{bubbled:g({onDragStart:!
0}),captured:g({onDragStartCapture:!0})}},drop:{phasedRegistrationNames:
{bubbled:g({onDrop:!0}),captured:g({onDropCapture:!0})}},durationChange:
{phasedRegistrationNames:{bubbled:g({onDurationChange:!
0}),captured:g({onDurationChangeCapture:!0})}},emptied:{phasedRegistrationNames:
{bubbled:g({onEmptied:!0}),captured:g({onEmptiedCapture:!0})}},encrypted:
{phasedRegistrationNames:{bubbled:g({onEncrypted:!
0}),captured:g({onEncryptedCapture:!0})}},ended:{phasedRegistrationNames:
{bubbled:g({onEnded:!0}),captured:g({onEndedCapture:!0})}},error:
{phasedRegistrationNames:{bubbled:g({onError:!0}),captured:g({onErrorCapture:!
0})}},focus:{phasedRegistrationNames:{bubbled:g({onFocus:!
0}),captured:g({onFocusCapture:!0})}},input:{phasedRegistrationNames:
{bubbled:g({onInput:!0}),captured:g({onInputCapture:!0})}},keyDown:
{phasedRegistrationNames:{bubbled:g({onKeyDown:!0}),captured:g({onKeyDownCapture:!
0})}},keyPress:{phasedRegistrationNames:{bubbled:g({onKeyPress:!
0}),captured:g({onKeyPressCapture:!0})}},keyUp:{phasedRegistrationNames:
{bubbled:g({onKeyUp:!0}),captured:g({onKeyUpCapture:!0})}},load:
{phasedRegistrationNames:{bubbled:g({onLoad:!0}),captured:g({onLoadCapture:!
0})}},loadedData:{phasedRegistrationNames:{bubbled:g({onLoadedData:!
0}),captured:g({onLoadedDataCapture:!0})}},loadedMetadata:{phasedRegistrationNames:
{bubbled:g({onLoadedMetadata:!0}),captured:g({onLoadedMetadataCapture:!
0})}},loadStart:{phasedRegistrationNames:{b
ubbled:g({onLoadStart:!0}),captured:g({onLoadStartCapture:!0})}},mouseDown:
{phasedRegistrationNames:{bubbled:g({onMouseDown:!
0}),captured:g({onMouseDownCapture:!0})}},mouseMove:{phasedRegistrationNames:
{bubbled:g({onMouseMove:!0}),captured:g({onMouseMoveCapture:!0})}},mouseOut:
{phasedRegistrationNames:{bubbled:g({onMouseOut:!
0}),captured:g({onMouseOutCapture:!0})}},mouseOver:{phasedRegistrationNames:
{bubbled:g({onMouseOver:!0}),captured:g({onMouseOverCapture:!0})}},mouseUp:
{phasedRegistrationNames:{bubbled:g({onMouseUp:!0}),captured:g({onMouseUpCapture:!
0})}},paste:{phasedRegistrationNames:{bubbled:g({onPaste:!
0}),captured:g({onPasteCapture:!0})}},pause:{phasedRegistrationNames:
{bubbled:g({onPause:!0}),captured:g({onPauseCapture:!0})}},play:
{phasedRegistrationNames:{bubbled:g({onPlay:!0}),captured:g({onPlayCapture:!
0})}},playing:{phasedRegistrationNames:{bubbled:g({onPlaying:!
0}),captured:g({onPlayingCapture:!0})}},progress:{phasedRegistrationNames:
{bubbled:g({onProgress:!0}),captured:g({onProgressCapture:!0})}},rateChange:
{phasedRegistrationNames:{bubbled:g({onRateChange:!
0}),captured:g({onRateChangeCapture:!0})}},reset:{phasedRegistrationNames:
{bubbled:g({onReset:!0}),captured:g({onResetCapture:!0})}},scroll:
{phasedRegistrationNames:{bubbled:g({onScroll:!0}),captured:g({onScrollCapture:!
0})}},seeked:{phasedRegistrationNames:{bubbled:g({onSeeked:!
0}),captured:g({onSeekedCapture:!0})}},seeking:{phasedRegistrationNames:
{bubbled:g({onSeeking:!0}),captured:g({onSeekingCapture:!0})}},stalled:
{phasedRegistrationNames:{bubbled:g({onStalled:!0}),captured:g({onStalledCapture:!
0})}},submit:{phasedRegistrationNames:{bubbled:g({onSubmit:!
0}),captured:g({onSubmitCapture:!0})}},suspend:{phasedRegistrationNames:
{bubbled:g({onSuspend:!0}),captured:g({onSuspendCapture:!0})}},timeUpdate:
{phasedRegistrationNames:{bubbled:g({onTimeUpdate:!
0}),captured:g({onTimeUpdateCapture:!0})}},touchCancel:{phasedRegistrationNames:
{bubbled:g({onTouchCancel:!0}),captured:g({onTouchCancelCapture:!0})}},touchEnd:
{phasedRegistrationNames:{bubbled:g({onTouchEnd:!
0}),captured:g({onTouchEndCapture:!0})}},touchMove:{phasedRegistrationNames:
{bubbled:g({onTouchMove:!0}),captured:g({onTouchMoveCapture:!0})}},touchStart:
{phasedRegistrationNames:{bubbled:g({onTouchStart:!
0}),captured:g({onTouchStartCapture:!0})}},volumeChange:{phasedRegistrationNames:
{bubbled:g({onVolumeChange:!0}),captured:g({onVolumeChangeCapture:!0})}},waiting:
{phasedRegistrationNames:{bubbled:g({onWaiting:!0}),captured:g({onWaitingCapture:!
0})}},wheel:{phasedRegistrationNames:{bubbled:g({onWheel:!
0}),captured:g({onWheelCapture:!
0})}}},w={topAbort:y.abort,topBlur:y.blur,topCanPlay:y.canPlay,topCanPlayThrough:y.
canPlayThrough,topClick:y.click,topContextMenu:y.contextMenu,topCopy:y.copy,topCut:
y.cut,topDoubleClick:y.doubleClick,topDrag:y.drag,topDragEnd:y.dragEnd,topDragEnter
:y.dragEnter,topDragExit:y.dragExit,topDragLeave:y.dragLeave,topDragOver:y.dragOver
,topDragStart:y.dragStart,topDrop:y.drop,topDurationChange:y.durationChange,topEmpt
ied:y.emptied,topEncrypted:y.encrypted,topEnded:y.ended,topError:y.error,topFocus:y
.focus,topInput:y.input,topKeyDown:y.keyDown,topKeyPress:y.keyPress,topKeyUp:y.keyU
p,topLoad:y.load,topLoadedData:y.loadedData,topLoadedMetadata:y.loadedMetadata,topL
oadStart:y.loadStart,topMouseDown:y.mouseDown,topMouseMove:y.mouseMove,topMouseOut:
y.mouseOut,topMouseOver:y.mouseOver,topMouseUp:y.mouseUp,topPaste:y.paste,topPause:
y.pause,topPlay:y.play,topPlaying:y.playing,topProgress:y.progress,topRateChange:y.
rateChange,topReset:y.reset,topScroll:y.scroll,topSeeked:y.seeked,topSeeking:y.seek
ing,topStalled:y.stalled,topSubmit:y.submit,topSuspend:y.suspend,topTimeUpdate:y.ti
meUpdate,topTouchCancel:y.touchCancel,topTouchEnd:y.touchEnd,topTouchMove:y.touchMo
ve,topTouchStart:y.touchStart,topVolumeChange:y.volumeChange,topWaiting:y.waiting,t
opWheel:y.wheel};for(var k in w)w[k].dependencies=[k];var
x=g({onClick:null}),S={},E={eventTypes:y,extractEvents:function(e,t,n,r,o){var
f=w[e];if(!f)return null;var g;switch(e){case v.topAbort:case v.topCanPlay:case
v.topCanPlayThrough:case v.topDurationChange:case v.topEmptied:case
v.topEncrypted:case v.topEnded:case v.topError:case v.topInput:case v.topLoad:case
v.topLoadedData:case v.topLoadedMetadata:case v.topLoadStart:case v.topPause:case
v.topPlay:case v.topPlaying:case v.topProgress:case v.topRateChange:case
v.topReset:case v.topSeeked:case v.topSeeking:case v.topStalled:case
v.topSubmit:case v.topSuspend:case v.topTimeUpdate:case v.topVolumeChange:case
v.topWaiting:g=s;break;case v.topKeyPress:if(0===m(r))return null;case
v.topKeyDown:case v.topKeyUp:g=l;break;case v.topBlur:case
v.topFocus:g=c;break;case v.topClick:if(2===r.button)return null;case
v.topContextMenu:case v.topDoubleClick:case v.topMouseDown:case v.topMouseMove:case
v.topMouseOut:case v.topMouseOver:case v.topMouseUp:g=u;break;case v.topDrag:case
v.topDragEnd:case v.topDragEnter:case v.topDragExit:case v.topDragLeave:case
v.topDragOver:case v.topDragStart:case v.topDrop:g=d;break;case
v.topTouchCancel:case v.topTouchEnd:case v.topTouchMove:case
v.topTouchStart:g=_;break;case v.topScroll:g=p;break;case v.topWheel:g=h;break;case
v.topCopy:case v.topCut:case v.topPaste:g=a}g?void 0:b(!1);var
y=g.getPooled(f,n,r,o);return
i.accumulateTwoPhaseDispatches(y),y},didPutListener:function(e,t){if(t===x){var
n=o.getNode(e);S[e]||
(S[e]=r.listen(n,"click",f))}},willDeleteListener:function(e,t)
{t===x&&(S[e].remove(),delete S[e])}};t.exports=E},
{101:101,102:102,103:103,105:105,106:106,107:107,108:108,109:109,122:122,143:143,15
:15,150:150,158:158,163:163,19:19,70:70,99:99}],99:[function(e,t){"use
strict";function n(e,t,n,i){r.call(this,e,t,n,i)}var
r=e(102),i={clipboardData:function(e){return"clipboardData"in e?
e.clipboardData:window.clipboardData}};r.augmentClass(n,i),t.exports=n},
{102:102}],100:[function(e,t){"use strict";function n(e,t,n,i)
{r.call(this,e,t,n,i)}var r=e(102),i={data:null};r.augmentClass(n,i),t.exports=n},
{102:102}],101:[function(e,t){"use strict";function n(e,t,n,i)
{r.call(this,e,t,n,i)}var
r=e(106),i={dataTransfer:null};r.augmentClass(n,i),t.exports=n},{106:106}],102:
[function(e,t){"use strict";function n(e,t,n,r)
{this.dispatchConfig=e,this.dispatchMarker=t,this.nativeEvent=n,this.target=r,this.
currentTarget=r;var i=this.constructor.Interface;for(var a in
i)if(i.hasOwnProperty(a)){var s=i[a];this[a]=s?s(n):n[a]}var c=null!
=n.defaultPrevented?n.defaultPrevented:n.returnValue===!
1;this.isDefaultPrevented=c?
o.thatReturnsTrue:o.thatReturnsFalse,this.isPropagationStopped=o.thatReturnsFalse}v
ar r=e(25),i=e(24),o=e(150),a=(e(168),
{type:null,currentTarget:o.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:
null,timeStamp:function(e){return e.timeStamp||
Date.now()},defaultPrevented:null,isTrusted:null});i(n.prototype,
{preventDefault:function(){this.defaultPrevented=!0;var
e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():e.returnValue=!
1,this.isDefaultPrevented=o.thatReturnsTrue)},stopPropagation:function(){var
e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():e.cancelBubble=!
0,this.isPropagationStopped=o.thatReturnsTrue)},persist:function()
{this.isPersistent=o.thatReturnsTrue},isPersistent:o.thatReturnsFalse,destructor:fu
nction(){var e=this.constructor.Interface;for(var t in
e)this[t]=null;this.dispatchConfig=null,this.dispatchMarker=null,this.nativeEvent=n
ull}}),n.Interface=a,n.augmentClass=function(e,t){var
n=this,o=Object.create(n.prototype);i(o,e.prototype),e.prototype=o,e.prototype.cons
tructor=e,e.Interface=i({},n.Interface,t),e.augmentClass=n.augmentClass,r.addPoolin
gTo(e,r.fourArgumentPooler)},r.addPoolingTo(n,r.fourArgumentPooler),t.exports=n},
{150:150,168:168,24:24,25:25}],103:[function(e,t){"use strict";function n(e,t,n,i)
{r.call(this,e,t,n,i)}var
r=e(108),i={relatedTarget:null};r.augmentClass(n,i),t.exports=n},{108:108}],104:
[function(e,t){"use strict";function n(e,t,n,i){r.call(this,e,t,n,i)}var
r=e(102),i={data:null};r.augmentClass(n,i),t.exports=n},{102:102}],105:
[function(e,t){"use strict";function n(e,t,n,i){r.call(this,e,t,n,i)}var
r=e(108),i=e(122),o=e(123),a=e(124),s={key:o,location:null,ctrlKey:null,shiftKey:nu
ll,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:a,charCode:fun
ction(e){return"keypress"===e.type?i(e):0},keyCode:function(e)
{return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e)
{return"keypress"===e.type?i(e):"keydown"===e.type||"keyup"===e.type?
e.keyCode:0}};r.augmentClass(n,s),t.exports=n},
{108:108,122:122,123:123,124:124}],106:[function(e,t){"use strict";function
n(e,t,n,i){r.call(this,e,t,n,i)}var
r=e(108),i=e(111),o=e(124),a={screenX:null,screenY:null,clientX:null,clientY:null,c
trlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:o,button:functi
on(e){var t=e.button;return"which"in e?t:2===t?2:4===t?
1:0},buttons:null,relatedTarget:function(e){return e.relatedTarget||
(e.fromElement===e.srcElement?e.toElement:e.fromElement)},pageX:function(e)
{return"pageX"in e?e.pageX:e.clientX+i.currentScrollLeft},pageY:function(e)
{return"pageY"in e?
e.pageY:e.clientY+i.currentScrollTop}};r.augmentClass(n,a),t.exports=n},
{108:108,111:111,124:124}],107:[function(e,t){"use strict";function n(e,t,n,i)
{r.call(this,e,t,n,i)}var
r=e(108),i=e(124),o={touches:null,targetTouches:null,changedTouches:null,altKey:nul
l,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:i};r.augmentClass(n,o),t
.exports=n},{108:108,124:124}],108:[function(e,t){"use strict";function n(e,t,n,i)
{r.call(this,e,t,n,i)}var r=e(102),i=e(125),o={view:function(e){if(e.view)return
e.view;var t=i(e);if(null!=t&&t.window===t)return t;var n=t.ownerDocument;return n?
n.defaultView||n.parentWindow:window},detail:function(e){return e.detail||
0}};r.augmentClass(n,o),t.exports=n},{102:102,125:125}],109:[function(e,t){"use
strict";function n(e,t,n,i){r.call(this,e,t,n,i)}var r=e(106),i={deltaX:function(e)
{return"deltaX"in e?e.deltaX:"wheelDeltaX"in
e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in
e?-e.wheelDeltaY:"wheelDelta"in e?-
e.wheelDelta:0},deltaZ:null,deltaMode:null};r.augmentClass(n,i),t.exports=n},
{106:106}],110:[function(e,t){"use strict";var
n=e(158),r={reinitializeTransaction:function()
{this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?
this.wrapperInitData.length=0:this.wrapperInitData=[],this._isInTransaction=!
1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function()
{return!!this._isInTransaction},perform:function(e,t,r,i,o,a,s,c)
{this.isInTransaction()?n(!1):void 0;var l,u;try{this._isInTransaction=!0,l=!
0,this.initializeAll(0),u=e.call(t,r,i,o,a,s,c),l=!
1}finally{try{if(l)try{this.closeAll(0)}catch(d){}else
this.closeAll(0)}finally{this._isInTransaction=!1}}return
u},initializeAll:function(e){for(var t=this.transactionWrappers,n=e;n<t.length;n++)
{var
r=t[n];try{this.wrapperInitData[n]=i.OBSERVED_ERROR,this.wrapperInitData[n]=r.initi
alize?
r.initialize.call(this):null}finally{if(this.wrapperInitData[n]===i.OBSERVED_ERROR)
try{this.initializeAll(n+1)}catch(o){}}}},closeAll:function(e)
{this.isInTransaction()?void 0:n(!1);for(var
t=this.transactionWrappers,r=e;r<t.length;r++){var
o,a=t[r],s=this.wrapperInitData[r];try{o=!0,s!
==i.OBSERVED_ERROR&&a.close&&a.close.call(this,s),o=!
1}finally{if(o)try{this.closeAll(r+1)}catch(c)
{}}}this.wrapperInitData.length=0}},i={Mixin:r,OBSERVED_ERROR:{}};t.exports=i},
{158:158}],111:[function(e,t){"use strict";var
n={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(e)
{n.currentScrollLeft=e.x,n.currentScrollTop=e.y}};t.exports=n},{}],112:
[function(e,t){"use strict";function n(e,t){if(null==t?r(!1):void 0,null==e)return
t;var n=Array.isArray(e),i=Array.isArray(t);return n&&i?(e.push.apply(e,t),e):n?
(e.push(t),e):i?[e].concat(t):[e,t]}var r=e(158);t.exports=n},{158:158}],113:
[function(e,t){"use strict";function n(e){for(var t=1,n=0,i=0,o=e.length,a=-
4&o;a>i;){for(;i<Math.min(i+4096,a);i+=4)n+=(t+=e.charCodeAt(i))+
(t+=e.charCodeAt(i+1))+(t+=e.charCodeAt(i+2))+(t+=e.charCodeAt(i+3));t%=r,n
%=r}for(;o>i;i++)n+=t+=e.charCodeAt(i);return t%=r,n%=r,t|n<<16}var
r=65521;t.exports=n},{}],114:[function(e,t){"use strict";var n=!1;t.exports=n},
{}],115:[function(e,t){"use strict";function n(e,t){var
n=i.mergeProps(t,e.props);return!
n.hasOwnProperty(a)&&e.props.hasOwnProperty(a)&&(n.children=e.props.children),r.cre
ateElement(e.type,n)}var
r=e(55),i=e(77),o=e(163),a=(e(168),o({children:null}));t.exports=n},
{163:163,168:168,55:55,77:77}],116:[function(e,t){"use strict";function n(e,t){var
n=null==t||"boolean"==typeof t||""===t;if(n)return"";var r=isNaN(t);return r||
0===t||i.hasOwnProperty(e)&&i[e]?""+t:("string"==typeof t&&(t=t.trim()),t+"px")}var
r=e(4),i=r.isUnitlessNumber;t.exports=n},{4:4}],117:[function(e,t){"use
strict";function n(e,t,n,r,i){return i}e(24),e(168),t.exports=n},
{168:168,24:24}],118:[function(e,t){"use strict";
function n(e){return i[e]}function r(e){return(""+e).replace(o,n)}var
i={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},o=/
[&><"']/g;t.exports=r},{}],119:[function(e,t){"use strict";function n(e){return
null==e?null:1===e.nodeType?e:r.has(e)?i.getNodeFromInstance(e):(null!
=e.render&&"function"==typeof e.render?o(!1):void 0,void o(!1))}var
r=(e(39),e(66)),i=e(70),o=e(158);e(168),t.exports=n},
{158:158,168:168,39:39,66:66,70:70}],120:[function(e,t){"use strict";function
n(e,t,n){var r=e,i=void 0===r[n];i&&null!=t&&(r[n]=t)}function r(e)
{if(null==e)return e;var t={};return i(e,n,t),t}var i=e(139);e(168),t.exports=r},
{139:139,168:168}],121:[function(e,t){"use strict";var n=function(e,t,n)
{Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)};t.exports=n},{}],122:
[function(e,t){"use strict";function n(e){var t,n=e.keyCode;return"charCode"in e?
(t=e.charCode,0===t&&13===n&&(t=13)):t=n,t>=32||13===t?t:0}t.exports=n},{}],123:
[function(e,t){"use strict";function n(e){if(e.key){var t=i[e.key]||
e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=r(e);return
13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?
o[e.keyCode]||"Unidentified":""}var r=e(122),i={Esc:"Escape",Spacebar:"
",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Wi
n:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"U
nidentified"},o={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control
",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:"
",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"Arro
wRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",
116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"Num
Lock",145:"ScrollLock",224:"Meta"};t.exports=n},{122:122}],124:[function(e,t){"use
strict";function n(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return
n.getModifierState(e);var r=i[e];return r?!!n[r]:!1}function r(){return n}var
i={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};t.exports=r},
{}],125:[function(e,t){"use strict";function n(e){var t=e.target||e.srcElement||
window;return 3===t.nodeType?t.parentNode:t}t.exports=n},{}],126:[function(e,t)
{"use strict";function n(e){var t=e&&(r&&e[r]||e[i]);return"function"==typeof t?
t:void 0}var r="function"==typeof
Symbol&&Symbol.iterator,i="@@iterator";t.exports=n},{}],127:[function(e,t){"use
strict";function n(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function r(e)
{for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function i(e,t)
{for(var i=n(e),o=0,a=0;i;){if(3===i.nodeType)
{if(a=o+i.textContent.length,t>=o&&a>=t)return{node:i,offset:t-
o};o=a}i=n(r(i))}}t.exports=i},{}],128:[function(e,t){"use strict";function n()
{return!i&&r.canUseDOM&&(i="textContent"in
document.documentElement?"textContent":"innerText"),i}var
r=e(144),i=null;t.exports=n},{144:144}],129:[function(e,t){"use strict";function
n(e){return"function"==typeof e&&"undefined"!=typeof
e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof
e.prototype.receiveComponent}function r(e){var t;if(null===e||e===!1)t=new
o(r);else if("object"==typeof e){var i=e;!i||"function"!=typeof i.type&&"string"!
=typeof i.type?c(!1):void 0,t="string"==typeof i.type?
a.createInternalComponent(i):n(i.type)?new i.type(i):new l}else"string"==typeof
e||"number"==typeof e?t=a.createInstanceForText(e):c(!1);return
t.construct(e),t._mountIndex=0,t._mountImage=null,t}var
i=e(38),o=e(57),a=e(73),s=e(24),c=e(158),l=(e(168),function()
{});s(l.prototype,i.Mixin,{_instantiateReactComponent:r}),t.exports=r},
{158:158,168:168,24:24,38:38,57:57,73:73}],130:[function(e,t){"use strict";function
n(e,t){if(!i.canUseDOM||t&&!("addEventListener"in document))return!1;var
n="on"+e,o=n in document;if(!o){var
a=document.createElement("div");a.setAttribute(n,"return;"),o="function"==typeof
a[n]}return!
o&&r&&"wheel"===e&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}v
ar
r,i=e(144);i.canUseDOM&&(r=document.implementation&&document.implementation.hasFeat
ure&&document.implementation.hasFeature("","")!==!0),t.exports=n},{144:144}],131:
[function(e,t){"use strict";function n(e){var
t=e&&e.nodeName&&e.nodeName.toLowerCase();return
t&&("input"===t&&r[e.type]||"textarea"===t)}var r={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},{}],132:[function(e,t){"use
strict";function n(e){return r.isValidElement(e)?void 0:i(!1),e}var
r=e(55),i=e(158);t.exports=n},{158:158,55:55}],133:[function(e,t){"use
strict";function n(e){return'"'+r(e)+'"'}var r=e(118);t.exports=n},{118:118}],134:
[function(e,t){"use strict";var n=e(70);t.exports=n.renderSubtreeIntoContainer},
{70:70}],135:[function(e,t){"use strict";var n=e(144),r=/^[ \r\n\t\f]/,i=/<(!--|
link|noscript|meta|script|style)[ \r\n\t\f\/>]/,o=function(e,t)
{e.innerHTML=t};if("undefined"!=typeof
MSApp&&MSApp.execUnsafeLocalFunction&&(o=function(e,t)
{MSApp.execUnsafeLocalFunction(function(){e.innerHTML=t})}),n.canUseDOM){var
a=document.createElement("div");a.innerHTML=" ",""===a.innerHTML&&(o=function(e,t)
{if(e.parentNode&&e.parentNode.replaceChild(e,e),r.test(t)||"<"===t[0]&&i.test(t))
{e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?
e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t})}t.exports=o},
{144:144}],136:[function(e,t){"use strict";var
n=e(144),r=e(118),i=e(135),o=function(e,t)
{e.textContent=t};n.canUseDOM&&("textContent"in document.documentElement||
(o=function(e,t){i(e,r(t))})),t.exports=o},{118:118,135:135,144:144}],137:
[function(e,t){"use strict";function n(e,t,n){return!r(e.props,t)||!
r(e.state,n)}var r=e(166);t.exports=n},{166:166}],138:[function(e,t){"use
strict";function n(e,t){var n=null===e||e===!1,r=null===t||t===!1;if(n||r)return
n===r;var i=typeof e,o=typeof
t;return"string"===i||"number"===i?"string"===o||"number"===o:"object"===o&&e.type=
==t.type&&e.key===t.key}t.exports=n},{}],139:[function(e,t){"use strict";function
n(e){return h[e]}function r(e,t){return e&&null!=e.key?
o(e.key):t.toString(36)}function i(e){return(""+e).replace(f,n)}function o(e)
{return"$"+i(e)}function a(e,t,n,i){var s=typeof
e;if(("undefined"===s||"boolean"===s)&&(e=null),null===e||"string"===s||"number"===
s||c.isValidElement(e))return n(i,e,""===t?_+r(e,0):t),1;var l,h,f=0,m=""===t?
_:t+p;if(Array.isArray(e))for(var b=0;b<e.length;b+
+)l=e[b],h=m+r(l,b),f+=a(l,h,n,i);else{var g=u(e);if(g){var v,y=g.call(e);if(g!
==e.entries)for(var w=0;!(v=y.next()).done;)l=v.value,h=m+r(l,w+
+),f+=a(l,h,n,i);else for(;!(v=y.next()).done;){var
k=v.value;k&&(l=k[1],h=m+o(k[0])
+p+r(l,0),f+=a(l,h,n,i))}}else"object"===s&&(String(e),d(!1))}return f}function
s(e,t,n){return null==e?0:a(e,"",t,n)}var
c=(e(39),e(55)),l=e(65),u=e(126),d=e(158),_=(e(168),l.SEPARATOR),p=":",h={"=":"=0",
".":"=1",":":"=2"},f=/[=.:]/g;t.exports=s},
{126:126,158:158,168:168,39:39,55:55,65:65}],140:[function(e,t){"use
strict";function n(e){return Array.isArray(e)?e.concat():e&&"object"==typeof e?
o(new e.constructor,e):e}function r(e,t,n){Array.isArray(e)?void 0:s(!1);var
r=t[n];Array.isArray(r)?void 0:s(!1)}function i(e,t){if("object"!=typeof t?s(!
1):void 0,c.call(t,_))return 1!==Object.keys(t).length?s(!1):void 0,t[_];var
a=n(e);if(c.call(t,p)){var f=t[p];f&&"object"==typeof f?void 0:s(!
1),a&&"object"==typeof a?void 0:s(!
1),o(a,t[p])}c.call(t,l)&&(r(e,t,l),t[l].forEach(function(e)
{a.push(e)})),c.call(t,u)&&(r(e,t,u),t[u].forEach(function(e)
{a.unshift(e)})),c.call(t,d)&&(Array.isArray(e)?void 0:s(!1),Array.isArray(t[d])?
void 0:s(!1),t[d].forEach(function(e){Array.isArray(e)?void 0:s(!
1),a.splice.apply(a,e)})),c.call(t,h)&&("function"!=typeof t[h]?s(!1):void 0,a=t[h]
(a));for(var b in t)m.hasOwnProperty(b)&&m[b]||(a[b]=i(e[b],t[b]));return a}var
o=e(24),a=e(163),s=e(158),c={}.hasOwnProperty,l=a({$push:null}),u=a({$unshift:null}
),d=a({$splice:null}),_=a({$set:null}),p=a({$merge:null}),h=a({$apply:null}),f=[l,u
,d,_,p,h],m={};f.forEach(function(e){m[e]=!0}),t.exports=i},
{158:158,163:163,24:24}],141:[function(e,t){"use strict";var
n=(e(24),e(150)),r=(e(168),n);t.exports=r},{150:150,168:168,24:24}],142:
[function(e,t){"use strict";var n=e(158),r={addClass:function(e,t)
{return/\s/.test(t)?n(!1):void 0,t&&(e.classList?
e.classList.add(t):r.hasClass(e,t)||(e.className=e.className+"
"+t)),e},removeClass:function(e,t){return/\s/.test(t)?n(!1):void 0,t&&(e.classList?
e.classList.remove(t):r.hasClass(e,t)&&(e.className=e.className.replace(new
RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g,"
").replace(/^\s*|\s*$/g,""))),e},conditionClass:function(e,t,n){return(n?
r.addClass:r.removeClass)(e,t)},hasClass:function(e,t){return/\s/.test(t)?n(!
1):void 0,e.classList?!!t&&e.classList.contains(t):(" "+e.className+" ").indexOf("
"+t+" ")>-1}};t.exports=r},{158:158}],143:[function(e,t){"use strict";var
n=e(150),r={listen:function(e,t,n){return e.addEventListener?
(e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!
1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function()
{e.detachEvent("on"+t,n)}}):void 0},capture:function(e,t,r){return
e.addEventListener?(e.addEventListener(t,r,!0),{remove:function()
{e.removeEventListener(t,r,!0)}}):{remove:n}},registerDefault:function()
{}};t.exports=r},{150:150}],144:[function(e,t){"use strict";var n=!
("undefined"==typeof window||!window.document||!
window.document.createElement),r={canUseDOM:n,canUseWorkers:"undefined"!=typeof
Worker,canUseEventListeners:n&&!(!window.addEventListener&&!
window.attachEvent),canUseViewport:n&&!!window.screen,isInWorker:!n};t.exports=r},
{}],145:[function(e,t){"use strict";function n(e){return e.replace(r,function(e,t)
{return t.toUpperCase()})}var r=/-(.)/g;t.exports=n},{}],146:[function(e,t){"use
strict";function n(e){return r(e.replace(i,"ms-"))}var
r=e(145),i=/^-ms-/;t.exports=n},{145:145}],147:[function(e,t){"use
strict";function n(e,t){var n=!0;e:for(;n;){var i=e,o=t;if(n=!1,i&&o)
{if(i===o)return!0;if(r(i))return!1;if(r(o)){e=i,t=o.parentNode,n=!0;continue
e}return i.contains?i.contains(o):i.compareDocumentPosition?!!
(16&i.compareDocumentPosition(o)):!1}return!1}}var r=e(160);t.exports=n},
{160:160}],148:[function(e,t){"use strict";function n(e){return!!
e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in
e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in
e)}function r(e){return n(e)?Array.isArray(e)?e.slice():i(e):[e]}var
i=e(167);t.exports=r},{167:167}],149:[function(e,t){"use strict";function n(e){var
t=e.match(l);return t&&t[1].toLowerCase()}function r(e,t){var r=c;c?void 0:s(!
1);var i=n(e),l=i&&a(i);if(l){r.innerHTML=l[1]+e+l[2];for(var
u=l[0];u--;)r=r.lastChild}else r.innerHTML=e;var
d=r.getElementsByTagName("script");d.length&&(t?void 0:s(!
1),o(d).forEach(t));for(var
_=o(r.childNodes);r.lastChild;)r.removeChild(r.lastChild);return _}var
i=e(144),o=e(148),a=e(154),s=e(158),c=i.canUseDOM?
document.createElement("div"):null,l=/^\s*<(\w+)/;t.exports=r},
{144:144,148:148,154:154,158:158}],150:[function(e,t){"use strict";function n(e)
{return function(){return e}}function r(){}r.thatReturns=n,r.thatReturnsFalse=n(!
1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function()
{return this},r.thatReturnsArgument=function(e){return e},t.exports=r},{}],151:
[function(e,t){"use strict";var n={};t.exports=n},{}],152:[function(e,t){"use
strict";function n(e){try{e.focus()}catch(t){}}t.exports=n},{}],153:[function(e,t)
{"use strict";function n(){if("undefined"==typeof document)return null;try{return
document.activeElement||document.body}catch(e){return document.body}}t.exports=n},
{}],154:[function(e,t){"use strict";function n(e){return o?void 0:i(!
1),d.hasOwnProperty(e)||(e="*"),a.hasOwnProperty(e)||(o.innerHTML="*"===e?"<link
/>":"<"+e+"></"+e+">",a[e]=!o.firstChild),a[e]?d[e]:null}var
r=e(144),i=e(158),o=r.canUseDOM?
document.createElement("div"):null,a={},s=[1,'<select
multiple="true">',"</select>"],c=[1,"<table>","</table>"],l=[3,"<table><tbody><tr>"
,"</tr></tbody></table>"],u=[1,'<svg
xmlns="http://www.w3.org/2000/svg">',"</svg>"],d={"*":[1,"?<div>","</div>"],area:
[1,"<map>","</map>"],col:
[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],legend:
[1,"<fieldset>","</fieldset>"],param:[1,"<object>","</object>"],tr:
[2,"<table><tbody>","</tbody></table>"],optgroup:s,option:s,caption:c,colgroup:c,tb
ody:c,tfoot:c,thead:c,td:l,th:l},_=["circle","clipPath","defs","ellipse","g","image
","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradi
ent","rect","stop","text","tspan"];_.forEach(function(e){d[e]=u,a[e]=!
0}),t.exports=n},{144:144,158:158}],155:[function(e,t){"use strict";function n(e)
{return e===window?{x:window.pageXOffset||
document.documentElement.scrollLeft,y:window.pageYOffset||
document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}t.exports=n},
{}],156:[function(e,t){"use strict";function n(e){return e.replace(r,"-
$1").toLowerCase()}var r=/([A-Z])/g;t.exports=n},{}],157:[function(e,t){"use
strict";function n(e){return r(e).replace(i,"-ms-")}var
r=e(156),i=/^ms-/;t.exports=n},{156:156}],158:[function(e,t){"use strict";function
n(e,t,n,r,i,o,a,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception
occurred; use the non-minified dev environment for the full error message and
additional helpful warnings.");else{var l=[n,r,i,o,a,s],u=0;c=new Error(t.replace(/
%s/g,function(){return l[u++]})),c.name="Invariant Violation"}throw
c.framesToPop=1,c}}t.exports=n},{}],159:[function(e,t){"use strict";function n(e)
{return!(!e||!("function"==typeof Node?e instanceof Node:"object"==typeof
e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}t.exports=n},{}],160:
[function(e,t){"use strict";function n(e){return r(e)&&3==e.nodeType}var
r=e(159);t.exports=n},{159:159}],161:[function(e,t){"use strict";function n(e){e||
(e="");var t,n=arguments.length;if(n>1)for(var r=1;n>r;r++)t=arguments[r],t&&(e=(e?
e+" ":"")+t);return e}t.exports=n},{}],162:[function(e,t){"use strict";var
n=e(158),r=function(e){var t,r={};e instanceof Object&&!Array.isArray(e)?void 0:n(!
1);for(t in e)e.hasOwnProperty(t)&&(r[t]=t);return r};t.exports=r},{158:158}],163:
[function(e,t){"use strict";var n=function(e){var t;for(t in
e)if(e.hasOwnProperty(t))return t;return null};t.exports=n},{}],164:[function(e,t)
{"use strict";function n(e,t,n){if(!e)return null;var i={};for(var o in
e)r.call(e,o)&&(i[o]=t.call(n,e[o],o,e));return i}var
r=Object.prototype.hasOwnProperty;t.exports=n},{}],165:[function(e,t){"use
strict";function n(e){var t={};return function(n){return t.hasOwnProperty(n)||
(t[n]=e.call(this,n)),t[n]}}t.exports=n},{}],166:[function(e,t){"use
strict";function n(e,t){if(e===t)return!0;if("object"!=typeof e||
null===e||"object"!=typeof t||null===t)return!1;var
n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var
o=r.bind(t),a=0;a<n.length;a++)if(!o(n[a])||e[n[a]]!==t[n[a]])return!1;return!0}var
r=Object.prototype.hasOwnProperty;t.exports=n},{}],167:[function(e,t){"use
strict";function n(e){var t=e.length;if(Array.isArray(e)||"object"!=typeof
e&&"function"!=typeof e?r(!1):void 0,"number"!=typeof t?r(!1):void 0,0===t||t-1 in
e?void 0:r(!1),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(n)
{}for(var i=Array(t),o=0;t>o;o++)i[o]=e[o];return i}var r=e(158);t.exports=n},
{158:158}],168:[function(e,t){"use strict";var n=e(150),r=n;t.exports=r},
{150:150}]},{},[1])(1)});

/* public/javascripts/react-dom-0.14.6.min.js @ 1526073743 */
/**
* ReactDOM v0.14.6
*
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
!function(e){if("object"==typeof exports&&"undefined"!=typeof
module)module.exports=e(require("react"));else if("function"==typeof
define&&define.amd)define(["react"],e);else{var t;t="undefined"!=typeof window?
window:"undefined"!=typeof global?global:"undefined"!=typeof self?
self:this,t.ReactDOM=e(t.React)}}(function(e){return
e.__SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED});

/* public/javascripts/babel-polyfill.js @ 1526073743 */
!function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var c="function"==typeof
require&&require;if(!s&&c)return c(a,!0);if(o)return o(a,!0);var l=new
Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var
u=n[a]={exports:{}};t[a][0].call(u.exports,function(e){var n=t[a][1][e];return i(n?
n:e)},u,u.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof
require&&require,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e){(function(t)
{"use strict";function n(e,t,n){e[t]||Object[r](e,t,{writable:!0,configurable:!
0,value:n})}if(e(295),e(296),e(2),t._babelPolyfill)throw new Error("only one
instance of babel-polyfill is allowed");t._babelPolyfill=!0;var
r="defineProperty";n(String.prototype,"padLeft","".padStart),n(String.prototype,"pa
dRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEac
h,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,las
tIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function(e){[]
[e]&&n(Array,e,Function.call.bind([][e]))})}).call(this,"undefined"!=typeof global?
global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},
{2:2,295:295,296:296}],2:[function(e,t){e(119),t.exports=e(23).RegExp.escape},
{119:119,23:23}],3:[function(e,t){t.exports=function(e){if("function"!=typeof
e)throw TypeError(e+" is not a function!");return e}},{}],4:[function(e,t){var
n=e(18);t.exports=function(e,t){if("number"!=typeof e&&"Number"!=n(e))throw
TypeError(t);return+e}},{18:18}],5:[function(e,t){var n=e(117)
("unscopables"),r=Array.prototype;void 0==r[n]&&e(40)(r,n,{}),t.exports=function(e)
{r[n][e]=!0}},{117:117,40:40}],6:[function(e,t){t.exports=function(e,t,n,r){if(!(e
instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect
invocation!");return e}},{}],7:[function(e,t){var n=e(49);t.exports=function(e)
{if(!n(e))throw TypeError(e+" is not an object!");return e}},{49:49}],8:
[function(e,t){"use strict";var
n=e(109),r=e(105),i=e(108);t.exports=[].copyWithin||function(e,t){var
o=n(this),a=i(o.length),s=r(e,a),c=r(t,a),l=arguments.length>2?arguments[2]:void
0,u=Math.min((void 0===l?a:r(l,a))-c,a-s),d=1;for(s>c&&c+u>s&&(d=-1,c+=u-1,s+=u-
1);u-->0;)c in o?o[s]=o[c]:delete o[s],s+=d,c+=d;return o}},
{105:105,108:108,109:109}],9:[function(e,t){"use strict";var
n=e(109),r=e(105),i=e(108);t.exports=function(e){for(var
t=n(this),o=i(t.length),a=arguments.length,s=r(a>1?arguments[1]:void 0,o),c=a>2?
arguments[2]:void 0,l=void 0===c?o:r(c,o);l>s;)t[s++]=e;return t}},
{105:105,108:108,109:109}],10:[function(e,t){var n=e(37);t.exports=function(e,t)
{var r=[];return n(e,!1,r.push,r,t),r}},{37:37}],11:[function(e,t){var
n=e(107),r=e(108),i=e(105);t.exports=function(e){return function(t,o,a){var
s,c=n(t),l=r(c.length),u=i(a,l);if(e&&o!=o){for(;l>u;)if(s=c[u++],s!=s)return!
0}else for(;l>u;u++)if((e||u in c)&&c[u]===o)return e||u||0;return!e&&-1}}},
{105:105,107:107,108:108}],12:[function(e,t){var
n=e(25),r=e(45),i=e(109),o=e(108),a=e(15);t.exports=function(e,t){var
s=1==e,c=2==e,l=3==e,u=4==e,d=6==e,_=5==e||d,p=t||a;return function(t,a,h){for(var
f,m,b=i(t),g=r(b),v=n(a,h,3),y=o(g.length),w=0,k=s?p(t,y):c?p(t,0):void 0;y>w;w+
+)if((_||w in g)&&(f=g[w],m=v(f,w,b),e))if(s)k[w]=m;else if(m)switch(e){case
3:return!0;case 5:return f;case 6:return w;case 2:k.push(f)}else if(u)return!
1;return d?-1:l||u?u:k}}},{108:108,109:109,15:15,25:25,45:45}],13:[function(e,t)
{var n=e(3),r=e(109),i=e(45),o=e(108);t.exports=function(e,t,a,s,c){n(t);var
l=r(e),u=i(l),d=o(l.length),_=c?d-1:0,p=c?-1:1;if(2>a)for(;;){if(_ in u)
{s=u[_],_+=p;break}if(_+=p,c?0>_:_>=d)throw TypeError("Reduce of empty array with
no initial value")}for(;c?_>=0:d>_;_+=p)_ in u&&(s=t(s,u[_],_,l));return s}},
{108:108,109:109,3:3,45:45}],14:[function(e,t){var n=e(49),r=e(47),i=e(117)
("species");t.exports=function(e){var t;return r(e)&&(t=e.constructor,"function"!
=typeof t||t!==Array&&!r(t.prototype)||(t=void 0),n(t)&&(t=t[i],null===t&&(t=void
0))),void 0===t?Array:t}},{117:117,47:47,49:49}],15:[function(e,t){var
n=e(14);t.exports=function(e,t){return new(n(e))(t)}},{14:14}],16:[function(e,t)
{"use strict";var n=e(3),r=e(49),i=e(44),o=[].slice,a={},s=function(e,t,n){if(!(t
in a)){for(var r=[],i=0;t>i;i++)r[i]="a["+i+"]";a[t]=Function("F,a","return new
F("+r.join(",")+")")}return a[t](e,n)};t.exports=Function.bind||function(e){var
t=n(this),a=o.call(arguments,1),c=function(){var
n=a.concat(o.call(arguments));return this instanceof c?
s(t,n.length,n):i(t,n,e)};return r(t.prototype)&&(c.prototype=t.prototype),c}},
{3:3,44:44,49:49}],17:[function(e,t){var n=e(18),r=e(117)
("toStringTag"),i="Arguments"==n(function(){return arguments}()),o=function(e,t)
{try{return e[t]}catch(n){}};t.exports=function(e){var t,a,s;return void
0===e?"Undefined":null===e?"Null":"string"==typeof(a=o(t=Object(e),r))?a:i?
n(t):"Object"==(s=n(t))&&"function"==typeof t.callee?"Arguments":s}},
{117:117,18:18}],18:[function(e,t){var n={}.toString;t.exports=function(e){return
n.call(e).slice(8,-1)}},{}],19:[function(e,t){"use strict";var
n=e(67).f,r=e(66),i=e(86),o=e(25),a=e(6),s=e(27),c=e(37),l=e(53),u=e(55),d=e(91),_=
e(28),p=e(62).fastKey,h=_?"_s":"size",f=function(e,t){var n,r=p(t);if("F"!
==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return
n};t.exports={getConstructor:function(e,t,l,u){var d=e(function(e,n)
{a(e,d,t,"_i"),e._i=r(null),e._f=void 0,e._l=void 0,e[h]=0,void 0!
=n&&c(n,l,e[u],e)});return i(d.prototype,{clear:function(){for(var
e=this,t=e._i,n=e._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete
t[n.i];e._f=e._l=void 0,e[h]=0},"delete":function(e){var t=this,n=f(t,e);if(n){var
r=n.n,i=n.p;delete t._i[n.i],n.r=!
0,i&&(i.n=r),r&&(r.p=i),t._f==n&&(t._f=r),t._l==n&&(t._l=i),t[h]--}return!!
n},forEach:function(e){a(this,d,"forEach");for(var t,n=o(e,arguments.length>1?
arguments[1]:void 0,3);t=t?
t.n:this._f;)for(n(t.v,t.k,this);t&&t.r;)t=t.p},has:function(e){return!!
f(this,e)}}),_&&n(d.prototype,"size",{get:function(){return
s(this[h])}}),d},def:function(e,t,n){var r,i,o=f(e,t);return o?o.v=n:
(e._l=o={i:i=p(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=o),r&&(r.n=o),e[h]
++,"F"!==i&&(e._i[i]=o)),e},getEntry:f,setStrong:function(e,t,n)
{l(e,t,function(e,t){this._t=e,this._k=t,this._l=void 0},function(){for(var
e=this,t=e._k,n=e._l;n&&n.r;)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?"keys"==t?
u(0,n.k):"values"==t?u(0,n.v):u(0,[n.k,n.v]):(e._t=void
0,u(1))},n?"entries":"values",!n,!0),d(t)}}},
{25:25,27:27,28:28,37:37,53:53,55:55,6:6,62:62,66:66,67:67,86:86,91:91}],20:
[function(e,t){var n=e(17),r=e(10);t.exports=function(e){return function()
{if(n(this)!=e)throw TypeError(e+"#toJSON isn't generic");return r(this)}}},
{10:10,17:17}],21:[function(e,t){"use strict";var
n=e(86),r=e(62).getWeak,i=e(7),o=e(49),a=e(6),s=e(37),c=e(12),l=e(39),u=c(5),d=c(6)
,_=0,p=function(e){return e._l||(e._l=new h)},h=function()
{this.a=[]},f=function(e,t){return u(e.a,function(e){return
e[0]===t})};h.prototype={get:function(e){var t=f(this,e);return t?t[1]:void
0},has:function(e){return!!f(this,e)},set:function(e,t){var n=f(this,e);n?
n[1]=t:this.a.push([e,t])},"delete":function(e){var t=d(this.a,function(t){return
t[0]===e});return~t&&this.a.splice(t,1),!!
~t}},t.exports={getConstructor:function(e,t,i,c){var u=e(function(e,n)
{a(e,u,t,"_i"),e._i=_++,e._l=void 0,void 0!=n&&s(n,i,e[c],e)});return
n(u.prototype,{"delete":function(e){if(!o(e))return!1;var t=r(e);return t===!0?
p(this)["delete"](e):t&&l(t,this._i)&&delete t[this._i]},has:function(e){if(!
o(e))return!1;var t=r(e);return t===!0?
p(this).has(e):t&&l(t,this._i)}}),u},def:function(e,t,n){var o=r(i(t),!0);return
o===!0?p(e).set(t,n):o[e._i]=n,e},ufstore:p}},
{12:12,37:37,39:39,49:49,6:6,62:62,7:7,86:86}],22:[function(e,t){"use strict";var
n=e(38),r=e(32),i=e(87),o=e(86),a=e(62),s=e(37),c=e(6),l=e(49),u=e(34),d=e(54),_=e(
92),p=e(43);t.exports=function(e,t,h,f,m,b){var
g=n[e],v=g,y=m?"set":"add",w=v&&v.prototype,k={},x=function(e){var
t=w[e];i(w,e,"delete"==e?function(e){return b&&!l(e)?!1:t.call(this,0===e?
0:e)}:"has"==e?function(e){return b&&!l(e)?!1:t.call(this,0===e?0:e)}:"get"==e?
function(e){return b&&!l(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e)
{return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?
0:e,n),this})};if("function"==typeof v&&(b||w.forEach&&!u(function(){(new
v).entries().next()}))){var S=new v,E=S[y](b?{}:-0,1)!=S,R=u(function()
{S.has(1)}),C=d(function(e){new v(e)}),O=!b&&u(function(){for(var e=new
v,t=5;t--;)e[y](t,t);return!e.has(-0)});C||(v=t(function(t,n){c(t,v,e);var r=p(new
g,t,v);return void 0!=n&&s(n,m,r[y],r),r}),v.prototype=w,w.constructor=v),(R||
O)&&(x("delete"),x("has"),m&&x("get")),(O||E)&&x(y),b&&w.clear&&delete w.clear}else
v=f.getConstructor(t,e,m,y),o(v.prototype,h),a.NEED=!0;return
_(v,e),k[e]=v,r(r.G+r.W+r.F*(v!=g),k),b||f.setStrong(v,e,m),v}},
{32:32,34:34,37:37,38:38,43:43,49:49,54:54,6:6,62:62,86:86,87:87,92:92}],23:
[function(e,t){var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},
{}],24:[function(e,t){"use strict";var n=e(67),r=e(85);t.exports=function(e,t,i){t
in e?n.f(e,t,r(0,i)):e[t]=i}},{67:67,85:85}],25:[function(e,t){var
n=e(3);t.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case
1:return function(n){return e.call(t,n)};case 2:return function(n,r){return
e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return
function(){return e.apply(t,arguments)}}},{3:3}],26:[function(e,t){"use strict";var
n=e(7),r=e(110),i="number";t.exports=function(e){if("string"!==e&&e!==i&&"default"!
==e)throw TypeError("Incorrect hint");return r(n(this),e!=i)}},{110:110,7:7}],27:
[function(e,t){t.exports=function(e){if(void 0==e)throw TypeError("Can't call
method on "+e);return e}},{}],28:[function(e,t){t.exports=!e(34)(function(){return
7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},{34:34}],29:
[function(e,t){var
n=e(49),r=e(38).document,i=n(r)&&n(r.createElement);t.exports=function(e){return
i?r.createElement(e):{}}},{38:38,49:49}],30:[function(e,t)
{t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleS
tring,toString,valueOf".split(",")},{}],31:[function(e,t){var
n=e(76),r=e(73),i=e(77);t.exports=function(e){var t=n(e),o=r.f;if(o)for(var
a,s=o(e),c=i.f,l=0;s.length>l;)c.call(e,a=s[l++])&&t.push(a);return t}},
{73:73,76:76,77:77}],32:[function(e,t){var
n=e(38),r=e(23),i=e(40),o=e(87),a=e(25),s="prototype",c=function(e,t,l){var
u,d,_,p,h=e&c.F,f=e&c.G,m=e&c.S,b=e&c.P,g=e&c.B,v=f?n:m?n[t]||(n[t]={}):(n[t]||{})
[s],y=f?r:r[t]||(r[t]={}),w=y[s]||(y[s]={});f&&(l=t);for(u in l)d=!h&&v&&void 0!
==v[u],_=(d?v:l)[u],p=g&&d?a(_,n):b&&"function"==typeof _?
a(Function.call,_):_,v&&o(v,u,_,e&c.U),y[u]!=_&&i(y,u,p),b&&w[u]!
=_&&(w[u]=_)};n.core=r,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.expor
ts=c},{23:23,25:25,38:38,40:40,87:87}],33:[function(e,t){var n=e(117)
("match");t.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return
t[n]=!1,!"/./"[e](t)}catch(i){}}return!0}},{117:117}],34:[function(e,t)
{t.exports=function(e){try{return!!e()}catch(t){return!0}}},{}],35:[function(e,t)
{"use strict";var
n=e(40),r=e(87),i=e(34),o=e(27),a=e(117);t.exports=function(e,t,s){var
c=a(e),l=s(o,c,""[e]),u=l[0],d=l[1];i(function(){var t={};return t[c]=function()
{return 7},7!=""[e](t)})&&(r(String.prototype,e,u),n(RegExp.prototype,c,2==t?
function(e,t){return d.call(e,this,t)}:function(e){return d.call(e,this)}))}},
{117:117,27:27,34:34,40:40,87:87}],36:[function(e,t){"use strict";var
n=e(7);t.exports=function(){var e=n(this),t="";return
e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u")
,e.sticky&&(t+="y"),t}},{7:7}],37:[function(e,t,n){var
r=e(25),i=e(51),o=e(46),a=e(7),s=e(108),c=e(118),l={},u={},n=t.exports=function(e,t
,n,d,_){var p,h,f,m,b=_?function(){return e}:c(e),g=r(n,d,t?2:1),v=0;if("function"!
=typeof b)throw TypeError(e+" is not iterable!");if(o(b)){for(p=s(e.length);p>v;v+
+)if(m=t?g(a(h=e[v])[0],h[1]):g(e[v]),m===l||m===u)return m}else for(f=b.call(e);!
(h=f.next()).done;)if(m=i(f,g,h.value,t),m===l||m===u)return
m};n.BREAK=l,n.RETURN=u},{108:108,118:118,25:25,46:46,51:51,7:7}],38:[function(e,t)
{var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!
=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof
__g&&(__g=n)},{}],39:[function(e,t){var n={}.hasOwnProperty;t.exports=function(e,t)
{return n.call(e,t)}},{}],40:[function(e,t){var n=e(67),r=e(85);t.exports=e(28)?
function(e,t,i){return n.f(e,t,r(1,i))}:function(e,t,n){return e[t]=n,e}},
{28:28,67:67,85:85}],41:[function(e,t)
{t.exports=e(38).document&&document.documentElement},{38:38}],42:[function(e,t)
{t.exports=!e(28)&&!e(34)(function(){return 7!=Object.defineProperty(e(29)
("div"),"a",{get:function(){return 7}}).a})},{28:28,29:29,34:34}],43:[function(e,t)
{var n=e(49),r=e(90).set;t.exports=function(e,t,i){var o,a=t.constructor;return a!
==i&&"function"==typeof a&&(o=a.prototype)!==i.prototype&&n(o)&&r&&r(e,o),e}},
{49:49,90:90}],44:[function(e,t){t.exports=function(e,t,n){var r=void
0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?
e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case
3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?
e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},{}],45:
[function(e,t){var n=e(18);t.exports=Object("z").propertyIsEnumerable(0)?
Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},{18:18}],46:
[function(e,t){var n=e(56),r=e(117)
("iterator"),i=Array.prototype;t.exports=function(e){return void 0!
==e&&(n.Array===e||i[r]===e)}},{117:117,56:56}],47:[function(e,t){var
n=e(18);t.exports=Array.isArray||function(e){return"Array"==n(e)}},{18:18}],48:
[function(e,t){var n=e(49),r=Math.floor;t.exports=function(e){return!
n(e)&&isFinite(e)&&r(e)===e}},{49:49}],49:[function(e,t){t.exports=function(e)
{return"object"==typeof e?null!==e:"function"==typeof e}},{}],50:[function(e,t){var
n=e(49),r=e(18),i=e(117)("match");t.exports=function(e){var t;return n(e)&&(void 0!
==(t=e[i])?!!t:"RegExp"==r(e))}},{117:117,18:18,49:49}],51:[function(e,t){var
n=e(7);t.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(o){var
a=e["return"];throw void 0!==a&&n(a.call(e)),o}}},{7:7}],52:[function(e,t){"use
strict";var n=e(66),r=e(85),i=e(92),o={};e(40)(o,e(117)("iterator"),function()
{return this}),t.exports=function(e,t,a){e.prototype=n(o,{next:r(1,a)}),i(e,t+"
Iterator")}},{117:117,40:40,66:66,85:85,92:92}],53:[function(e,t){"use strict";var
n=e(58),r=e(32),i=e(87),o=e(40),a=e(39),s=e(56),c=e(52),l=e(92),u=e(74),d=e(117)
("iterator"),_=!
([].keys&&"next"in[].keys()),p="@@iterator",h="keys",f="values",m=function(){return
this};t.exports=function(e,t,b,g,v,y,w){c(b,t,g);var k,x,S,E=function(e){if(!_&&e
in N)return N[e];switch(e){case h:return function(){return new b(this,e)};case
f:return function(){return new b(this,e)}}return function(){return new
b(this,e)}},R=t+" Iterator",C=v==f,O=!1,N=e.prototype,T=N[d]||N[p]||v&&N[v],j=T||
E(v),P=v?C?E("entries"):j:void 0,I="Array"==t?N.entries||T:T;if(I&&(S=u(I.call(new
e)),S!==Object.prototype&&(l(S,R,!0),n||a(S,d)||o(S,d,m))),C&&T&&T.name!==f&&(O=!
0,j=function(){return T.call(this)}),n&&!w||!_&&!O&&N[d]||
o(N,d,j),s[t]=j,s[R]=m,v)if(k={values:C?j:E(f),keys:y?j:E(h),entries:P},w)for(x in
k)x in N||i(N,x,k[x]);else r(r.P+r.F*(_||O),t,k);return k}},
{117:117,32:32,39:39,40:40,52:52,56:56,58:58,74:74,87:87,92:92}],54:[function(e,t)
{var n=e(117)("iterator"),r=!1;try{var i=[7][n]();i["return"]=function(){r=!
0},Array.from(i,function(){throw 2})}catch(o){}t.exports=function(e,t){if(!t&&!
r)return!1;var i=!1;try{var o=[7],a=o[n]();a.next=function(){return{done:i=!
0}},o[n]=function(){return a},e(o)}catch(s){}return i}},{117:117}],55:
[function(e,t){t.exports=function(e,t){return{value:t,done:!!e}}},{}],56:
[function(e,t){t.exports={}},{}],57:[function(e,t){var
n=e(76),r=e(107);t.exports=function(e,t){for(var
i,o=r(e),a=n(o),s=a.length,c=0;s>c;)if(o[i=a[c++]]===t)return i}},
{107:107,76:76}],58:[function(e,t){t.exports=!1},{}],59:[function(e,t){var
n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-
17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&1e-6>e?e+e*e/2:Math.exp(e)-
1}:n},{}],60:[function(e,t){t.exports=Math.log1p||function(e){return(e=+e)>-1e-
8&&1e-8>e?e-e*e/2:Math.log(1+e)}},{}],61:[function(e,t){t.exports=Math.sign||
function(e){return 0==(e=+e)||e!=e?e:0>e?-1:1}},{}],62:[function(e,t){var n=e(114)
("meta"),r=e(49),i=e(39),o=e(67).f,a=0,s=Object.isExtensible||function(){return!
0},c=!e(34)(function(){return s(Object.preventExtensions({}))}),l=function(e)
{o(e,n,{value:{i:"O"+ ++a,w:{}}})},u=function(e,t){if(!r(e))return"symbol"==typeof
e?e:("string"==typeof e?"S":"P")+e;if(!i(e,n)){if(!s(e))return"F";if(!
t)return"E";l(e)}return e[n].i},d=function(e,t){if(!i(e,n)){if(!s(e))return!0;if(!
t)return!1;l(e)}return e[n].w},_=function(e){return c&&p.NEED&&s(e)&&!
i(e,n)&&l(e),e},p=t.exports={KEY:n,NEED:!1,fastKey:u,getWeak:d,onFreeze:_}},
{114:114,34:34,39:39,49:49,67:67}],63:[function(e,t){var n=e(149),r=e(32),i=e(94)
("metadata"),o=i.store||(i.store=new(e(255))),a=function(e,t,r){var i=o.get(e);if(!
i){if(!r)return void 0;o.set(e,i=new n)}var a=i.get(t);if(!a){if(!r)return void
0;i.set(t,a=new n)}return a},s=function(e,t,n){var r=a(t,n,!1);return void 0===r?!
1:r.has(e)},c=function(e,t,n){var r=a(t,n,!1);return void 0===r?void
0:r.get(e)},l=function(e,t,n,r){a(n,r,!0).set(e,t)},u=function(e,t){var n=a(e,t,!
1),r=[];return n&&n.forEach(function(e,t){r.push(t)}),r},d=function(e){return void
0===e||"symbol"==typeof e?e:String(e)},_=function(e)
{r(r.S,"Reflect",e)};t.exports={store:o,map:a,has:s,get:c,set:l,keys:u,key:d,exp:_}
},{149:149,255:255,32:32,94:94}],64:[function(e,t){var
n=e(38),r=e(104).set,i=n.MutationObserver||
n.WebKitMutationObserver,o=n.process,a=n.Promise,s="process"==e(18)
(o);t.exports=function(){var e,t,c,l=function(){var
n,r;for(s&&(n=o.domain)&&n.exit();e;){r=e.fn,e=e.next;try{r()}catch(i){throw e?
c():t=void 0,i}}t=void 0,n&&n.enter()};if(s)c=function(){o.nextTick(l)};else if(i)
{var u=!0,d=document.createTextNode("");new i(l).observe(d,{characterData:!
0}),c=function(){d.data=u=!u}}else if(a&&a.resolve){var _=a.resolve();c=function()
{_.then(l)}}else c=function(){r.call(n,l)};return function(n){var r={fn:n,next:void
0};t&&(t.next=r),e||(e=r,c()),t=r}}},{104:104,18:18,38:38}],65:[function(e,t){"use
strict";var n=e(76),r=e(73),i=e(77),o=e(109),a=e(45),s=Object.assign;t.exports=!s||
e(34)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return
e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=s({},e)[n]||
Object.keys(s({},t)).join("")!=r})?function(e){for(var
t=o(e),s=arguments.length,c=1,l=r.f,u=i.f;s>c;)for(var d,_=a(arguments[c++]),p=l?
n(_).concat(l(_)):n(_),h=p.length,f=0;h>f;)u.call(_,d=p[f++])&&(t[d]=_[d]);return
t}:s},{109:109,34:34,45:45,73:73,76:76,77:77}],66:[function(e,t){var
n=e(7),r=e(68),i=e(30),o=e(93)("IE_PROTO"),a=function()
{},s="prototype",c=function(){var t,n=e(29)
("iframe"),r=i.length,o="<",a=">";for(n.style.display="none",e(41).appendChild(n),n
.src="javascript:",t=n.contentWindow.document,t.open(),t.write(o+"script"+a+"docume
nt.F=Object"+o+"/script"+a),t.close(),c=t.F;r--;)delete c[s][i[r]];return
c()};t.exports=Object.create||function(e,t){var i;return null!==e?(a[s]=n(e),i=new
a,a[s]=null,i[o]=e):i=c(),void 0===t?i:r(i,t)}},
{29:29,30:30,41:41,68:68,7:7,93:93}],67:[function(e,t,n){var
r=e(7),i=e(42),o=e(110),a=Object.defineProperty;n.f=e(28)?
Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return
a(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not
supported!");return"value"in n&&(e[t]=n.value),e}},{110:110,28:28,42:42,7:7}],68:
[function(e,t){var n=e(67),r=e(7),i=e(76);t.exports=e(28)?
Object.defineProperties:function(e,t){r(e);for(var
o,a=i(t),s=a.length,c=0;s>c;)n.f(e,o=a[c++],t[o]);return e}},
{28:28,67:67,7:7,76:76}],69:[function(e,t){t.exports=e(58)||!e(34)(function(){var
t=Math.random();__defineSetter__.call(null,t,function(){}),delete e(38)[t]})},
{34:34,38:38,58:58}],70:[function(e,t,n){var
r=e(77),i=e(85),o=e(107),a=e(110),s=e(39),c=e(42),l=Object.getOwnPropertyDescriptor
;n.f=e(28)?l:function(e,t){if(e=o(e),t=a(t,!0),c)try{return l(e,t)}catch(n){}return
s(e,t)?i(!r.f.call(e,t),e[t]):void 0}},
{107:107,110:110,28:28,39:39,42:42,77:77,85:85}],71:[function(e,t){var
n=e(107),r=e(72).f,i={}.toString,o="object"==typeof
window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):
[],a=function(e){try{return r(e)}catch(t){return
o.slice()}};t.exports.f=function(e){return o&&"[object Window]"==i.call(e)?
a(e):r(n(e))}},{107:107,72:72}],72:[function(e,t,n){var
r=e(75),i=e(30).concat("length","prototype");n.f=Object.getOwnPropertyNames||
function(e){return r(e,i)}},{30:30,75:75}],73:[function(e,t,n)
{n.f=Object.getOwnPropertySymbols},{}],74:[function(e,t){var
n=e(39),r=e(109),i=e(93)
("IE_PROTO"),o=Object.prototype;t.exports=Object.getPrototypeOf||function(e){return
e=r(e),n(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?
e.constructor.prototype:e instanceof Object?o:null}},{109:109,39:39,93:93}],75:
[function(e,t){var n=e(39),r=e(107),i=e(11)(!1),o=e(93)
("IE_PROTO");t.exports=function(e,t){var a,s=r(e),c=0,l=[];for(a in s)a!
=o&&n(s,a)&&l.push(a);for(;t.length>c;)n(s,a=t[c++])&&(~i(l,a)||l.push(a));return
l}},{107:107,11:11,39:39,93:93}],76:[function(e,t){var
n=e(75),r=e(30);t.exports=Object.keys||function(e){return n(e,r)}},
{30:30,75:75}],77:[function(e,t,n){n.f={}.propertyIsEnumerable},{}],78:
[function(e,t){var n=e(32),r=e(23),i=e(34);t.exports=function(e,t){var
o=(r.Object||{})[e]||Object[e],a={};a[e]=t(o),n(n.S+n.F*i(function()
{o(1)}),"Object",a)}},{23:23,32:32,34:34}],79:[function(e,t){var
n=e(76),r=e(107),i=e(77).f;t.exports=function(e){return function(t){for(var
o,a=r(t),s=n(a),c=s.length,l=0,u=[];c>l;)i.call(a,o=s[l++])&&u.push(e?
[o,a[o]]:a[o]);return u}}},{107:107,76:76,77:77}],80:[function(e,t){var
n=e(72),r=e(73),i=e(7),o=e(38).Reflect;t.exports=o&&o.ownKeys||function(e){var
t=n.f(i(e)),o=r.f;return o?t.concat(o(e)):t}},{38:38,7:7,72:72,73:73}],81:
[function(e,t){var n=e(38).parseFloat,r=e(102).trim;t.exports=1/n(e(103)+"-0")!==-
1/0?function(e){var t=r(String(e),3),i=n(t);return 0===i&&"-"==t.charAt(0)?-
0:i}:n},{102:102,103:103,38:38}],82:[function(e,t){var
n=e(38).parseInt,r=e(102).trim,i=e(103),o=/^[\-+]?0[xX]/;t.exports=8!==n(i+"08")||
22!==n(i+"0x16")?function(e,t){var i=r(String(e),3);return n(i,t>>>0||(o.test(i)?
16:10))}:n},{102:102,103:103,38:38}],83:[function(e,t){"use strict";var
n=e(84),r=e(44),i=e(3);t.exports=function(){for(var
e=i(this),t=arguments.length,o=Array(t),a=0,s=n._,c=!1;t>a;)(o[a]=arguments[a+
+])===s&&(c=!0);return function(){var n,i=this,a=arguments.length,l=0,u=0;if(!c&&!
a)return r(e,o,i);if(n=o.slice(),c)for(;t>l;l++)n[l]===s&&(n[l]=arguments[u+
+]);for(;a>u;)n.push(arguments[u++]);return r(e,n,i)}}},{3:3,44:44,84:84}],84:
[function(e,t){t.exports=e(38)},{38:38}],85:[function(e,t){t.exports=function(e,t)
{return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},{}],86:
[function(e,t){var n=e(87);t.exports=function(e,t,r){for(var i in
t)n(e,i,t[i],r);return e}},{87:87}],87:[function(e,t){var
n=e(38),r=e(40),i=e(39),o=e(114)
("src"),a="toString",s=Function[a],c=(""+s).split(a);e(23).inspectSource=function(e
){return s.call(e)},(t.exports=function(e,t,a,s){var l="function"==typeof
a;l&&(i(a,"name")||r(a,"name",t)),e[t]!==a&&(l&&(i(a,o)||
r(a,o,e[t]?""+e[t]:c.join(String(t)))),e===n?e[t]=a:s?e[t]?e[t]=a:r(e,t,a):(delete
e[t],r(e,t,a)))})(Function.prototype,a,function(){return"function"==typeof
this&&this[o]||s.call(this)})},{114:114,23:23,38:38,39:39,40:40}],88:[function(e,t)
{t.exports=function(e,t){var n=t===Object(t)?function(e){return t[e]}:t;return
function(t){return String(t).replace(e,n)}}},{}],89:[function(e,t)
{t.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},
{}],90:[function(e,t){var n=e(49),r=e(7),i=function(e,t){if(r(e),!n(t)&&null!
==t)throw TypeError(t+": can't set as
prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?
function(t,n,r){try{r=e(25)
(Function.call,e(70).f(Object.prototype,"__proto__").set,2),r(t,[]),n=!(t
instanceof Array)}catch(o){n=!0}return function(e,t){return i(e,t),n?
e.__proto__=t:r(e,t),e}}({},!1):void 0),check:i}},{25:25,49:49,7:7,70:70}],91:
[function(e,t){"use strict";var n=e(38),r=e(67),i=e(28),o=e(117)
("species");t.exports=function(e){var t=n[e];i&&t&&!t[o]&&r.f(t,o,{configurable:!
0,get:function(){return this}})}},{117:117,28:28,38:38,67:67}],92:[function(e,t)
{var n=e(67).f,r=e(39),i=e(117)("toStringTag");t.exports=function(e,t,o){e&&!r(e=o?
e:e.prototype,i)&&n(e,i,{configurable:!0,value:t})}},{117:117,39:39,67:67}],93:
[function(e,t){var n=e(94)("keys"),r=e(114);t.exports=function(e){return n[e]||
(n[e]=r(e))}},{114:114,94:94}],94:[function(e,t){var n=e(38),r="__core-
js_shared__",i=n[r]||(n[r]={});t.exports=function(e){return i[e]||(i[e]={})}},
{38:38}],95:[function(e,t){var n=e(7),r=e(3),i=e(117)
("species");t.exports=function(e,t){var o,a=n(e).constructor;return void 0===a||
void 0==(o=n(a)[i])?t:r(o)}},{117:117,3:3,7:7}],96:[function(e,t){var
n=e(34);t.exports=function(e,t){return!!e&&n(function(){t?e.call(null,function()
{},1):e.call(null)})}},{34:34}],97:[function(e,t){var
n=e(106),r=e(27);t.exports=function(e){return function(t,i){var
o,a,s=String(r(t)),c=n(i),l=s.length;return 0>c||c>=l?e?"":void 0:
(o=s.charCodeAt(c),55296>o||o>56319||c+1===l||(a=s.charCodeAt(c+1))<56320||a>57343?
e?s.charAt(c):o:e?s.slice(c,c+2):(o-55296<<10)+(a-56320)+65536)}}},
{106:106,27:27}],98:[function(e,t){var n=e(50),r=e(27);t.exports=function(e,t,i)
{if(n(t))throw TypeError("String#"+i+" doesn't accept regex!");return
String(r(e))}},{27:27,50:50}],99:[function(e,t){var
n=e(32),r=e(34),i=e(27),o=/"/g,a=function(e,t,n,r){var
a=String(i(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(r).replace(o,"&quot;")
+'"'),s+">"+a+"</"+t+">"};t.exports=function(e,t){var
i={};i[e]=t(a),n(n.P+n.F*r(function(){var t=""[e]('"');return t!==t.toLowerCase()||
t.split('"').length>3}),"String",i)}},{27:27,32:32,34:34}],100:[function(e,t){var
n=e(108),r=e(101),i=e(27);t.exports=function(e,t,o,a){var
s=String(i(e)),c=s.length,l=void 0===o?" ":String(o),u=n(t);if(c>=u||""==l)return
s;var d=u-c,_=r.call(l,Math.ceil(d/l.length));return
_.length>d&&(_=_.slice(0,d)),a?_+s:s+_}},{101:101,108:108,27:27}],101:
[function(e,t){"use strict";var n=e(106),r=e(27);t.exports=function(e){var
t=String(r(this)),i="",o=n(e);if(0>o||1/0==o)throw RangeError("Count can't be
negative");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(i+=t);return i}},{106:106,27:27}],102:
[function(e,t){var
n=e(32),r=e(27),i=e(34),o=e(103),a="["+o+"]",s="\u200b\x85",c=RegExp("^"+a+a+"*"),l
=RegExp(a+a+"*$"),u=function(e,t,r){var a={},c=i(function(){return!!o[e]()||s[e]()!
=s}),l=a[e]=c?t(d):o[e];r&&(a[r]=l),n(n.P+n.F*c,"String",a)},d=u.trim=function(e,t)
{return
e=String(r(e)),1&t&&(e=e.replace(c,"")),2&t&&(e=e.replace(l,"")),e};t.exports=u},
{103:103,27:27,32:32,34:34}],103:[function(e,t){t.exports="\n#\f\r
\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\
u202f\u205f\u3000\u2028\u2029\ufeff"},{}],104:[function(e,t){var
n,r,i,o=e(25),a=e(44),s=e(41),c=e(29),l=e(38),u=l.process,d=l.setImmediate,_=l.clea
rImmediate,p=l.MessageChannel,h=0,f={},m="onreadystatechange",b=function(){var
e=+this;if(f.hasOwnProperty(e)){var t=f[e];delete f[e],t()}},g=function(e)
{b.call(e.data)};d&&_||(d=function(e){for(var
t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return f[++h]=function()
{a("function"==typeof e?e:Function(e),t)},n(h),h},_=function(e){delete
f[e]},"process"==e(18)(u)?n=function(e){u.nextTick(o(b,e,1))}:p?(r=new
p,i=r.port2,r.port1.onmessage=g,n=o(i.postMessage,i,1)):l.addEventListener&&"functi
on"==typeof postMessage&&!l.importScripts?(n=function(e)
{l.postMessage(e+"","*")},l.addEventListener("message",g,!1)):n=m in c("script")?
function(e){s.appendChild(c("script"))[m]=function()
{s.removeChild(this),b.call(e)}}:function(e)
{setTimeout(o(b,e,1),0)}),t.exports={set:d,clear:_}},
{18:18,25:25,29:29,38:38,41:41,44:44}],105:[function(e,t){var
n=e(106),r=Math.max,i=Math.min;t.exports=function(e,t){return e=n(e),0>e?
r(e+t,0):i(e,t)}},{106:106}],106:[function(e,t){var
n=Math.ceil,r=Math.floor;t.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},
{}],107:[function(e,t){var n=e(45),r=e(27);t.exports=function(e){return n(r(e))}},
{27:27,45:45}],108:[function(e,t){var n=e(106),r=Math.min;t.exports=function(e)
{return e>0?r(n(e),9007199254740991):0}},{106:106}],109:[function(e,t){var
n=e(27);t.exports=function(e){return Object(n(e))}},{27:27}],110:[function(e,t){var
n=e(49);t.exports=function(e,t){if(!n(e))return e;var
r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return
i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!
t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw
TypeError("Can't convert object to primitive value")}},{49:49}],111:[function(e,t)
{"use strict";if(e(28)){var
n=e(58),r=e(38),i=e(34),o=e(32),a=e(113),s=e(112),c=e(25),l=e(6),u=e(85),d=e(40),_=
e(86),p=e(106),h=e(108),f=e(105),m=e(110),b=e(39),g=e(89),v=e(17),y=e(49),w=e(109),
k=e(46),x=e(66),S=e(74),E=e(72).f,R=e(118),C=e(114),O=e(117),N=e(12),T=e(11),j=e(95
),P=e(130),I=e(56),M=e(54),A=e(91),D=e(9),L=e(8),
$=e(67),F=e(70),B=$.f,q=F.f,z=r.RangeError,U=r.TypeError,H=r.Uint8Array,W="ArrayBuf
fer",V="Shared"+W,Y="BYTES_PER_ELEMENT",J="prototype",G=Array[J],X=s.ArrayBuffer,K=
s.DataView,Q=N(0),Z=N(2),et=N(3),tt=N(4),nt=N(5),rt=N(6),it=T(!0),ot=T(!
1),at=P.values,st=P.keys,ct=P.entries,lt=G.lastIndexOf,ut=G.reduce,dt=G.reduceRight
,_t=G.join,pt=G.sort,ht=G.slice,ft=G.toString,mt=G.toLocaleString,bt=O("iterator"),
gt=O("toStringTag"),vt=C("typed_constructor"),yt=C("def_constructor"),wt
=a.CONSTR,kt=a.TYPED,xt=a.VIEW,St="Wrong length!",Et=N(1,function(e,t){return
jt(j(e,e[yt]),t)}),Rt=i(function(){return 1===new H(new Uint16Array([1]).buffer)
[0]}),Ct=!!H&&!!H[J].set&&i(function(){new H(1).set({})}),Ot=function(e,t){if(void
0===e)throw U(St);var n=+e,r=h(e);if(t&&!g(n,r))throw z(St);return
r},Nt=function(e,t){var n=p(e);if(0>n||n%t)throw z("Wrong offset!");return
n},Tt=function(e){if(y(e)&&kt in e)return e;throw U(e+" is not a typed
array!")},jt=function(e,t){if(!(y(e)&&vt in e))throw U("It is not a typed array
constructor!");return new e(t)},Pt=function(e,t){return
It(j(e,e[yt]),t)},It=function(e,t){for(var n=0,r=t.length,i=jt(e,r);r>n;)i[n]=t[n+
+];return i},Mt=function(e,t,n){B(e,t,{get:function(){return
this._d[n]}})},At=function(e){var t,n,r,i,o,a,s=w(e),l=arguments.length,u=l>1?
arguments[1]:void 0,d=void 0!==u,_=R(s);if(void 0!=_&&!k(_))
{for(a=_.call(s),r=[],t=0;!(o=a.next()).done;t+
+)r.push(o.value);s=r}for(d&&l>2&&(u=c(u,arguments[2],2)),t=0,n=h(s.length),i=jt(th
is,n);n>t;t++)i[t]=d?u(s[t],t):s[t];return i},Dt=function(){for(var
e=0,t=arguments.length,n=jt(this,t);t>e;)n[e]=arguments[e++];return n},Lt=!!
H&&i(function(){mt.call(new H(1))}),$t=function(){return mt.apply(Lt?
ht.call(Tt(this)):Tt(this),arguments)},Ft={copyWithin:function(e,t){return
L.call(Tt(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e)
{return tt(Tt(this),e,arguments.length>1?arguments[1]:void 0)},fill:function()
{return D.apply(Tt(this),arguments)},filter:function(e){return
Pt(this,Z(Tt(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e)
{return nt(Tt(this),e,arguments.length>1?arguments[1]:void
0)},findIndex:function(e){return rt(Tt(this),e,arguments.length>1?arguments[1]:void
0)},forEach:function(e){Q(Tt(this),e,arguments.length>1?arguments[1]:void
0)},indexOf:function(e){return ot(Tt(this),e,arguments.length>1?arguments[1]:void
0)},includes:function(e){return it(Tt(this),e,arguments.length>1?arguments[1]:void
0)},join:function(){return _t.apply(Tt(this),arguments)},lastIndexOf:function()
{return lt.apply(Tt(this),arguments)},map:function(e){return
Et(Tt(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(){return
ut.apply(Tt(this),arguments)},reduceRight:function(){return
dt.apply(Tt(this),arguments)},reverse:function(){for(var
e,t=this,n=Tt(t).length,r=Math.floor(n/2),i=0;r>i;)e=t[i],t[i++]=t[--
n],t[n]=e;return t},some:function(e){return et(Tt(this),e,arguments.length>1?
arguments[1]:void 0)},sort:function(e){return
pt.call(Tt(this),e)},subarray:function(e,t){var
n=Tt(this),r=n.length,i=f(e,r);return new(j(n,n[yt]))
(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,h((void 0===t?r:f(t,r))-
i))}},Bt=function(e,t){return Pt(this,ht.call(Tt(this),e,t))},qt=function(e)
{Tt(this);var
t=Nt(arguments[1],1),n=this.length,r=w(e),i=h(r.length),o=0;if(i+t>n)throw
z(St);for(;i>o;)this[t+o]=r[o++]},zt={entries:function(){return
ct.call(Tt(this))},keys:function(){return st.call(Tt(this))
},values:function(){return at.call(Tt(this))}},Ut=function(e,t){return
y(e)&&e[kt]&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},Ht=function(e,t)
{return Ut(e,t=m(t,!0))?u(2,e[t]):q(e,t)},Wt=function(e,t,n){return!(Ut(e,t=m(t,!
0))&&y(n)&&b(n,"value"))||b(n,"get")||b(n,"set")||n.configurable||
b(n,"writable")&&!n.writable||b(n,"enumerable")&&!n.enumerable?B(e,t,n):
(e[t]=n.value,e)};wt||(F.f=Ht,$.f=Wt),o(o.S+o.F*!wt,"Object",
{getOwnPropertyDescriptor:Ht,defineProperty:Wt}),i(function()
{ft.call({})})&&(ft=mt=function(){return _t.call(this)});var
Vt=_({},Ft);_(Vt,zt),d(Vt,bt,zt.values),_(Vt,
{slice:Bt,set:qt,constructor:function(){},toString:ft,toLocaleString:
$t}),Mt(Vt,"buffer","b"),Mt(Vt,"byteOffset","o"),Mt(Vt,"byteLength","l"),Mt(Vt,"len
gth","e"),B(Vt,gt,{get:function(){return this[kt]}}),t.exports=function(e,t,s,c)
{c=!!c;var u=e+(c?"Clamped":"")+"Array",_="Uint8Array"!
=u,p="get"+e,f="set"+e,m=r[u],b=m||{},g=m&&S(m),w=!m||!
a.ABV,k={},R=m&&m[J],C=function(e,n){var r=e._d;return r.v[p]
(n*t+r.o,Rt)},O=function(e,n,r){var i=e._d;c&&(r=(r=Math.round(r))<0?0:r>255?
255:255&r),i.v[f](n*t+i.o,r,Rt)},N=function(e,t){B(e,t,{get:function(){return
C(this,t)},set:function(e){return O(this,t,e)},enumerable:!0})};w?
(m=s(function(e,n,r,i){l(e,m,u,"_d");var o,a,s,c,_=0,p=0;if(y(n)){if(!(n instanceof
X||(c=v(n))==W||c==V))return kt in n?It(m,n):At.call(m,n);o=n,p=Nt(r,t);var
f=n.byteLength;if(void 0===i){if(f%t)throw z(St);if(a=f-p,0>a)throw z(St)}else
if(a=h(i)*t,a+p>f)throw z(St);s=a/t}else s=Ot(n,!0),a=s*t,o=new X(a);for(d(e,"_d",
{b:o,o:p,l:a,e:s,v:new K(o)});s>_;)N(e,_+
+)}),R=m[J]=x(Vt),d(R,"constructor",m)):M(function(e){new m(null),new m(e)},!0)||
(m=s(function(e,n,r,i){l(e,m,u);var o;return y(n)?n instanceof X||(o=v(n))==W||
o==V?void 0!==i?new b(n,Nt(r,t),i):void 0!==r?new b(n,Nt(r,t)):new b(n):kt in n?
It(m,n):At.call(m,n):new b(Ot(n,_))}),Q(g!==Function.prototype?
E(b).concat(E(g)):E(b),function(e){e in m||d(m,e,b[e])}),m[J]=R,n||
(R.constructor=m));var T=R[bt],j=!!T&&("values"==T.name||void
0==T.name),P=zt.values;d(m,vt,!0),d(R,kt,u),d(R,xt,!0),d(R,yt,m),(c?new m(1)
[gt]==u:gt in R)||B(R,gt,{get:function(){return u}}),k[u]=m,o(o.G+o.W+o.F*(m!
=b),k),o(o.S,u,{BYTES_PER_ELEMENT:t,from:At,of:Dt}),Y in R||
d(R,Y,t),o(o.P,u,Ft),A(u),o(o.P+o.F*Ct,u,{set:qt}),o(o.P+o.F*!
j,u,zt),o(o.P+o.F*(R.toString!=ft),u,{toString:ft}),o(o.P+o.F*i(function(){new
m(1).slice()}),u,{slice:Bt}),o(o.P+o.F*(i(function(){return[1,2].toLocaleString()!
=new m([1,2]).toLocaleString()})||!i(function(){R.toLocaleString.call([1,2])})),u,
{toLocaleString:$t}),I[u]=j?T:P,n||j||d(R,bt,P)}}else t.exports=function(){}},
{105:105,106:106,108:108,109:109,11:11,110:110,112:112,113:113,114:114,117:117,118:
118,12:12,130:130,17:17,25:25,28:28,32:32,34:34,38:38,39:39,40:40,46:46,49:49,54:54
,56:56,58:58,6:6,66:66,67:67,70:70,72:72,74:74,8:8,85:85,86:86,89:89,9:9,91:91,95:9
5}],112:[function(e,t,n){"use strict";var
r=e(38),i=e(28),o=e(58),a=e(113),s=e(40),c=e(86),l=e(34),u=e(6),d=e(106),_=e(108),p
=e(72).f,h=e(67).f,f=e(9),m=e(92),b="ArrayBuffer",g="DataView",v="prototype",y="Wro
ng length!",w="Wrong
index!",k=r[b],x=r[g],S=r.Math,E=r.RangeError,R=r.Infinity,C=k,O=S.abs,N=S.pow,T=S.
floor,j=S.log,P=S.LN2,I="buffer",M="byteLength",A="byteOffset",D=i?"_b":I,L=i?"_l":
M,$=i?"_o":A,F=function(e,t,n){var r,i,o,a=Array(n),s=8*n-t-1,c=(1<<s)-
1,l=c>>1,u=23===t?N(2,-24)-N(2,-77):0,d=0,_=0>e||0===e&&0>1/e?1:0;for(e=O(e),e!=e||
e===R?(i=e!=e?1:0,r=c):(r=T(j(e)/P),e*(o=N(2,-r))<1&&(r--,o*=2),e+=r+l>=1?
u/o:u*N(2,1-l),e*o>=2&&(r++,o/=2),r+l>=c?(i=0,r=c):r+l>=1?(i=(e*o-1)*N(2,t),r+=l):
(i=e*N(2,l-1)*N(2,t),r=0));t>=8;a[d++]=255&i,i/=256,t-=8);for(r=r<<t|
i,s+=t;s>0;a[d++]=255&r,r/=256,s-=8);return a[--d]|=128*_,a},B=function(e,t,n){var
r,i=8*n-t-1,o=(1<<i)-1,a=o>>1,s=i-7,c=n-
1,l=e[c--],u=127&l;for(l>>=7;s>0;u=256*u+e[c],c--,s-=8);for(r=u&(1<<-s)-1,u>>=-
s,s+=t;s>0;r=256*r+e[c],c--,s-=8);if(0===u)u=1-a;else{if(u===o)return r?0/0:l?-
R:R;r+=N(2,t),u-=a}return(l?-1:1)*r*N(2,u-t)},q=function(e){return e[3]<<24|
e[2]<<16|e[1]<<8|e[0]},z=function(e){return[255&e]},U=function(e)
{return[255&e,e>>8&255]},H=function(e)
{return[255&e,e>>8&255,e>>16&255,e>>24&255]},W=function(e){return
F(e,52,8)},V=function(e){return F(e,23,4)},Y=function(e,t,n){h(e[v],t,
{get:function(){return this[n]}})},J=function(e,t,n,r){var i=+n,o=d(i);if(i!=o||
0>o||o+t>e[L])throw E(w);var a=e[D]._b,s=o+e[$],c=a.slice(s,s+t);return r?
c:c.reverse()},G=function(e,t,n,r,i,o){var a=+n,s=d(a);if(a!=s||0>s||s+t>e[L])throw
E(w);for(var c=e[D]._b,l=s+e[$],u=r(+i),_=0;t>_;_++)c[l+_]=u[o?_:t-_-
1]},X=function(e,t){u(e,k,b);var n=+t,r=_(n);if(n!=r)throw E(y);return r};if(a.ABV)
{if(!l(function(){new k})||!l(function(){new k(.5)})){k=function(e){return new
C(X(this,e))};for(var K,Q=k[v]=C[v],Z=p(C),et=0;Z.length>et;)(K=Z[et++])in k||
s(k,K,C[K]);o||(Q.constructor=k)}var tt=new x(new
k(2)),nt=x[v].setInt8;tt.setInt8(0,2147483648),tt.setInt8(1,2147483649),
(tt.getInt8(0)||!tt.getInt8(1))&&c(x[v],{setInt8:function(e,t)
{nt.call(this,e,t<<24>>24)},setUint8:function(e,t){nt.call(this,e,t<<24>>24)}},!
0)}else k=function(e){var
t=X(this,e);this._b=f.call(Array(t),0),this[L]=t},x=function(e,t,n)
{u(this,x,g),u(e,k,g);var r=e[L],i=d(t);if(0>i||i>r)throw E("Wrong
offset!");if(n=void 0===n?r-i:_(n),i+n>r)throw
E(y);this[D]=e,this[$]=i,this[L]=n},i&&(Y(k,M,"_l"),Y(x,I,"_b"),Y(x,M,"_l"),Y(x,A,"
_o")),c(x[v],{getInt8:function(e){return J(this,1,e)
[0]<<24>>24},getUint8:function(e){return J(this,1,e)[0]},getInt16:function(e){var
t=J(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var
t=J(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return
q(J(this,4,e,arguments[1]))},getUint32:function(e){return
q(J(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return
B(J(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return
B(J(this,8,e,arguments[1]),52,8)},setInt8:function(e,t)
{G(this,1,e,z,t)},setUint8:function(e,t){G(this,1,e,z,t)},setInt16:function(e,t)
{G(this,2,e,U,t,arguments[2])},setUint16:function(e,t)
{G(this,2,e,U,t,arguments[2])},setInt32:function(e,t)
{G(this,4,e,H,t,arguments[2])},setUint32:function(e,t)
{G(this,4,e,H,t,arguments[2])},setFloat32:function(e,t)
{G(this,4,e,V,t,arguments[2])},setFloat64:function(e,t)
{G(this,8,e,W,t,arguments[2])}});m(k,b),m(x,g),s(x[v],a.VIEW,!0),n[b]=k,n[g]=x},
{106:106,108:108,113:113,28:28,34:34,38:38,40:40,58:58,6:6,67:67,72:72,86:86,9:9,92
:92}],113:[function(e,t){for(var
n,r=e(38),i=e(40),o=e(114),a=o("typed_array"),s=o("view"),c=!(!r.ArrayBuffer||!
r.DataView),l=c,u=0,d=9,_="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16
Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");d>u;)(n=r[_[u+
+]])?(i(n.prototype,a,!0),i(n.prototype,s,!0)):l=!
1;t.exports={ABV:c,CONSTR:l,TYPED:a,VIEW:s}},{114:114,38:38,40:40}],114:
[function(e,t){var n=0,r=Math.random();t.exports=function(e)
{return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},{}],115:
[function(e,t){var n=e(38),r=e(23),i=e(58),o=e(116),a=e(67).f;t.exports=function(e)
{var t=r.Symbol||(r.Symbol=i?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||a(t,e,
{value:o.f(e)})}},{116:116,23:23,38:38,58:58,67:67}],116:[function(e,t,n)
{n.f=e(117)},{117:117}],117:[function(e,t){var n=e(94)
("wks"),r=e(114),i=e(38).Symbol,o="function"==typeof i,a=t.exports=function(e)
{return n[e]||(n[e]=o&&i[e]||(o?i:r)("Symbol."+e))};a.store=n},
{114:114,38:38,94:94}],118:[function(e,t){var n=e(17),r=e(117)
("iterator"),i=e(56);t.exports=e(23).getIteratorMethod=function(e){return void 0!
=e?e[r]||e["@@iterator"]||i[n(e)]:void 0}},{117:117,17:17,23:23,56:56}],119:
[function(e){var t=e(32),n=e(88)(/[\\^$*+?.()|[\]{}]/g,"\\$&");t(t.S,"RegExp",
{escape:function(e){return n(e)}})},{32:32,88:88}],120:[function(e){var
t=e(32);t(t.P,"Array",{copyWithin:e(8)}),e(5)("copyWithin")},{32:32,5:5,8:8}],121:
[function(e){"use strict";var t=e(32),n=e(12)(4);t(t.P+t.F*!e(96)([].every,!
0),"Array",{every:function(e){return n(this,e,arguments[1])}})},
{12:12,32:32,96:96}],122:[function(e){var t=e(32);t(t.P,"Array",{fill:e(9)}),e(5)
("fill")},{32:32,5:5,9:9}],123:[function(e){"use strict";var t=e(32),n=e(12)
(2);t(t.P+t.F*!e(96)([].filter,!0),"Array",{filter:function(e){return
n(this,e,arguments[1])}})},{12:12,32:32,96:96}],124:[function(e){"use strict";var
t=e(32),n=e(12)(6),r="findIndex",i=!0;r in[]&&Array(1)[r](function(){i=!
1}),t(t.P+t.F*i,"Array",{findIndex:function(e){return n(this,e,arguments.length>1?
arguments[1]:void 0)}}),e(5)(r)},{12:12,32:32,5:5}],125:[function(e){"use
strict";var t=e(32),n=e(12)(5),r="find",i=!0;r in[]&&Array(1)[r](function(){i=!
1}),t(t.P+t.F*i,"Array",{find:function(e){return n(this,e,arguments.length>1?
arguments[1]:void 0)}}),e(5)(r)},{12:12,32:32,5:5}],126:[function(e){"use
strict";var t=e(32),n=e(12)(0),r=e(96)([].forEach,!0);t(t.P+t.F*!r,"Array",
{forEach:function(e){return n(this,e,arguments[1])}})},{12:12,32:32,96:96}],127:
[function(e){"use strict";var
t=e(25),n=e(32),r=e(109),i=e(51),o=e(46),a=e(108),s=e(24),c=e(118);n(n.S+n.F*!e(54)
(function(e){Array.from(e)}),"Array",{from:function(e){var
n,l,u,d,_=r(e),p="function"==typeof this?this:Array,h=arguments.length,f=h>1?
arguments[1]:void 0,m=void 0!==f,b=0,g=c(_);if(m&&(f=t(f,h>2?arguments[2]:void
0,2)),void 0==g||p==Array&&o(g))for(n=a(_.length),l=new p(n);n>b;b++)s(l,b,m?
f(_[b],b):_[b]);else for(d=g.call(_),l=new p;!(u=d.next()).done;b++)s(l,b,m?i(d,f,
[u.value,b],!0):u.value);return l.length=b,l}})},
{108:108,109:109,118:118,24:24,25:25,32:32,46:46,51:51,54:54}],128:[function(e)
{"use strict";var t=e(32),n=e(11)(!1),r=[].indexOf,i=!!r&&1/[1].indexOf(1,-
0)<0;t(t.P+t.F*(i||!e(96)(r)),"Array",{indexOf:function(e){return i?
r.apply(this,arguments)||0:n(this,e,arguments[1])}})},{11:11,32:32,96:96}],129:
[function(e){var t=e(32);t(t.S,"Array",{isArray:e(47)})},{32:32,47:47}],130:
[function(e,t){"use strict";var n=e(5),r=e(55),i=e(56),o=e(107);t.exports=e(53)
(Array,"Array",function(e,t){this._t=o(e),this._i=0,this._k=t},function(){var
e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void
0,r(1)):"keys"==t?r(0,n):"values"==t?r(0,e[n]):r(0,
[n,e[n]])},"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")},
{107:107,5:5,53:53,55:55,56:56}],131:[function(e){"use strict";var
t=e(32),n=e(107),r=[].join;t(t.P+t.F*(e(45)!=Object||!e(96)(r)),"Array",
{join:function(e){return r.call(n(this),void 0===e?",":e)}})},
{107:107,32:32,45:45,96:96}],132:[function(e){"use strict";var
t=e(32),n=e(107),r=e(106),i=e(108),o=[].lastIndexOf,a=!!o&&1/[1].lastIndexOf(1,-
0)<0;t(t.P+t.F*(a||!e(96)(o)),"Array",{lastIndexOf:function(e){if(a)return
o.apply(this,arguments)||0;var t=n(this),s=i(t.length),c=s-
1;for(arguments.length>1&&(c=Math.min(c,r(arguments[1]))),0>c&&(c=s+c);c>=0;c--)if(
c in t&&t[c]===e)return c||0;return-1}})},
{106:106,107:107,108:108,32:32,96:96}],133:[function(e){"use strict";var
t=e(32),n=e(12)(1);t(t.P+t.F*!e(96)([].map,!0),"Array",{map:function(e){return
n(this,e,arguments[1])}})},{12:12,32:32,96:96}],134:[function(e){"use strict";var
t=e(32),n=e(24);t(t.S+t.F*e(34)(function(){function e(){}return!
(Array.of.call(e)instanceof e)}),"Array",{of:function(){for(var
e=0,t=arguments.length,r=new("function"==typeof this?this:Array)
(t);t>e;)n(r,e,arguments[e++]);return r.length=t,r}})},{24:24,32:32,34:34}],135:
[function(e){"use strict";var t=e(32),n=e(13);t(t.P+t.F*!e(96)([].reduceRight,!
0),"Array",{reduceRight:function(e){return n(this,e,arguments.length,arguments[1],!
0)}})},{13:13,32:32,96:96}],136:[function(e){"use strict";var
t=e(32),n=e(13);t(t.P+t.F*!e(96)([].reduce,!0),"Array",{reduce:function(e){return
n(this,e,arguments.length,arguments[1],!1)}})},{13:13,32:32,96:96}],137:
[function(e){"use strict";var
t=e(32),n=e(41),r=e(18),i=e(105),o=e(108),a=[].slice;t(t.P+t.F*e(34)(function()
{n&&a.call(n)}),"Array",{slice:function(e,t){var
n=o(this.length),s=r(this);if(t=void 0===t?n:t,"Array"==s)return
a.call(this,e,t);for(var c=i(e,n),l=i(t,n),u=o(l-c),d=Array(u),_=0;u>_;_+
+)d[_]="String"==s?this.charAt(c+_):this[c+_];return d}})},
{105:105,108:108,18:18,32:32,34:34,41:41}],138:[function(e){"use strict";var
t=e(32),n=e(12)(3);t(t.P+t.F*!e(96)([].some,!0),"Array",{some:function(e){return
n(this,e,arguments[1])}})},{12:12,32:32,96:96}],139:[function(e){"use strict";var
t=e(32),n=e(3),r=e(109),i=e(34),o=[].sort,a=[1,2,3];t(t.P+t.F*(i(function()
{a.sort(void 0)})||!i(function(){a.sort(null)})||!e(96)(o)),"Array",
{sort:function(e){return void 0===e?o.call(r(this)):o.call(r(this),n(e))}})},
{109:109,3:3,32:32,34:34,96:96}],140:[function(e){e(91)("Array")},{91:91}],141:
[function(e){var t=e(32);t(t.S,"Date",{now:function(){return(new
Date).getTime()}})},{32:32}],142:[function(e){"use strict";var
t=e(32),n=e(34),r=Date.prototype.getTime,i=function(e){return e>9?
e:"0"+e};t(t.P+t.F*(n(function(){return"0385-07-25T07:06:39.999Z"!=new Date(-5e13-
1).toISOString()})||!n(function(){new Date(0/0).toISOString()})),"Date",
{toISOString:function(){if(!isFinite(r.call(this)))throw RangeError("Invalid time
value");var
e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),o=0>t?"-":t>9999?"+":"";return
o+("00000"+Math.abs(t)).slice(o?-6:-4)+"-"+i(e.getUTCMonth()
+1)+"-"+i(e.getUTCDate())+"T"+i(e.getUTCHours())+":"+i(e.getUTCMinutes())
+":"+i(e.getUTCSeconds())+"."+(n>99?n:"0"+i(n))+"Z"}})},{32:32,34:34}],143:
[function(e){"use strict";var t=e(32),n=e(109),r=e(110);t(t.P+t.F*e(34)(function()
{return null!==new Date(0/0).toJSON()||1!
==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",
{toJSON:function(){var e=n(this),t=r(e);return"number"!=typeof t||isFinite(t)?
e.toISOString():null}})},{109:109,110:110,32:32,34:34}],144:[function(e){var
t=e(117)("toPrimitive"),n=Date.prototype;t in n||e(40)(n,t,e(26))},
{117:117,26:26,40:40}],145:[function(e){var t=Date.prototype,n="Invalid
Date",r="toString",i=t[r],o=t.getTime;new Date(0/0)+""!=n&&e(87)(t,r,function(){var
e=o.call(this);return e===e?i.call(this):n})},{87:87}],146:[function(e){var
t=e(32);t(t.P,"Function",{bind:e(16)})},{16:16,32:32}],147:[function(e){"use
strict";var t=e(49),n=e(74),r=e(117)("hasInstance"),i=Function.prototype;r in i||
e(67).f(i,r,{value:function(e){if("function"!=typeof this||!t(e))return!1;if(!
t(this.prototype))return e instanceof
this;for(;e=n(e);)if(this.prototype===e)return!0;return!1}})},
{117:117,49:49,67:67,74:74}],148:[function(e){var
t=e(67).f,n=e(85),r=e(39),i=Function.prototype,o=/^\s*function ([^
(]*)/,a="name",s=Object.isExtensible||function(){return!0};a in i||e(28)&&t(i,a,
{configurable:!0,get:function(){try{var e=this,i=(""+e).match(o)[1];return
r(e,a)||!s(e)||t(e,a,n(5,i)),i}catch(c){return""}}})},
{28:28,39:39,67:67,85:85}],149:[function(e,t){"use strict";var
n=e(19);t.exports=e(22)("Map",function(e){return function(){return
e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var
t=n.getEntry(this,e);return t&&t.v},set:function(e,t){return n.def(this,0===e?
0:e,t)}},n,!0)},{19:19,22:22}],150:[function(e){var
t=e(32),n=e(60),r=Math.sqrt,i=Math.acosh;t(t.S+t.F*!
(i&&710==Math.floor(i(Number.MAX_VALUE))&&1/0==i(1/0)),"Math",{acosh:function(e)
{return(e=+e)<1?0/0:e>94906265.62425156?Math.log(e)+Math.LN2:n(e-1+r(e-
1)*r(e+1))}})},{32:32,60:60}],151:[function(e){function t(e){return
isFinite(e=+e)&&0!=e?0>e?-t(-e):Math.log(e+Math.sqrt(e*e+1)):e}var
n=e(32),r=Math.asinh;n(n.S+n.F*!(r&&1/r(0)>0),"Math",{asinh:t})},{32:32}],152:
[function(e){var t=e(32),n=Math.atanh;t(t.S+t.F*!(n&&1/n(-0)<0),"Math",
{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},{32:32}],153:
[function(e){var t=e(32),n=e(61);t(t.S,"Math",{cbrt:function(e){return
n(e=+e)*Math.pow(Math.abs(e),1/3)}})},{32:32,61:61}],154:[function(e){var
t=e(32);t(t.S,"Math",{clz32:function(e){return(e>>>=0)?31-
Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},{32:32}],155:[function(e){var
t=e(32),n=Math.exp;t(t.S,"Math",{cosh:function(e){return(n(e=+e)+n(-e))/2}})},
{32:32}],156:[function(e){var t=e(32),n=e(59);t(t.S+t.F*(n!=Math.expm1),"Math",
{expm1:n})},{32:32,59:59}],157:[function(e){var t=e(32),n=e(61),r=Math.pow,i=r(2,-
52),o=r(2,-23),a=r(2,127)*(2-o),s=r(2,-126),c=function(e){return e+1/i-
1/i};t(t.S,"Math",{fround:function(e){var t,r,l=Math.abs(e),u=n(e);return s>l?
u*c(l/s/o)*s*o:(t=(1+o/i)*l,r=t-(t-l),r>a||r!=r?1/0*u:u*r)}})},{32:32,61:61}],158:
[function(e){var t=e(32),n=Math.abs;t(t.S,"Math",{hypot:function(){for(var
e,t,r=0,i=0,o=arguments.length,a=0;o>i;)e=n(arguments[i++]),e>a?
(t=a/e,r=r*t*t+1,a=e):e>0?(t=e/a,r+=t*t):r+=e;return 1/0===a?
1/0:a*Math.sqrt(r)}})},{32:32}],159:[function(e){var
t=e(32),n=Math.imul;t(t.S+t.F*e(34)(function(){return-5!=n(4294967295,5)||2!
=n.length}),"Math",{imul:function(e,t){var n=65535,r=+e,i=+t,o=n&r,a=n&i;return 0|
o*a+((n&r>>>16)*a+o*(n&i>>>16)<<16>>>0)}})},{32:32,34:34}],160:[function(e){var
t=e(32);t(t.S,"Math",{log10:function(e){return Math.log(e)/Math.LN10}})},
{32:32}],161:[function(e){var t=e(32);t(t.S,"Math",{log1p:e(60)})},
{32:32,60:60}],162:[function(e){var t=e(32);t(t.S,"Math",{log2:function(e){return
Math.log(e)/Math.LN2}})},{32:32}],163:[function(e){var t=e(32);t(t.S,"Math",
{sign:e(61)})},{32:32,61:61}],164:[function(e){var
t=e(32),n=e(59),r=Math.exp;t(t.S+t.F*e(34)(function(){return-2e-17!=!Math.sinh(-2e-
17)}),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(n(e)-n(-e))/2:(r(e-1)-r(-e-
1))*(Math.E/2)}})},{32:32,34:34,59:59}],165:[function(e){var
t=e(32),n=e(59),r=Math.exp;t(t.S,"Math",{tanh:function(e){var t=n(e=+e),i=n(-
e);return 1/0==t?1:1/0==i?-1:(t-i)/(r(e)+r(-e))}})},{32:32,59:59}],166:[function(e)
{var t=e(32);t(t.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)
(e)}})},{32:32}],167:[function(e){"use strict";var
t=e(38),n=e(39),r=e(18),i=e(43),o=e(110),a=e(34),s=e(72).f,c=e(70).f,l=e(67).f,u=e(
102).trim,d="Number",_=t[d],p=_,h=_.prototype,f=r(e(66)(h))==d,m="trim"in
String.prototype,b=function(e){var t=o(e,!1);if("string"==typeof t&&t.length>2)
{t=m?t.trim():u(t,3);var n,r,i,a=t.charCodeAt(0);if(43===a||45===a)
{if(n=t.charCodeAt(2),88===n||120===n)return 0/0}else if(48===a)
{switch(t.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case
111:r=8,i=55;break;default:return+t}for(var s,c=t.slice(2),l=0,d=c.length;d>l;l+
+)if(s=c.charCodeAt(l),48>s||s>i)return 0/0;return parseInt(c,r)}}return+t};if(!_("
0o1")||!_("0b1")||_("+0x1")){_=function(e){var t=arguments.length<1?
0:e,n=this;return n instanceof _&&(f?a(function(){h.valueOf.call(n)}):r(n)!=d)?
i(new p(b(t)),n,_):b(t)};for(var g,v=e(28)?
s(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,
isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt
,isInteger".split(","),y=0;v.length>y;y++)n(p,g=v[y])&&!
n(_,g)&&l(_,g,c(p,g));_.prototype=h,h.constructor=_,e(87)(t,d,_)}},
{102:102,110:110,18:18,28:28,34:34,38:38,39:39,43:43,66:66,67:67,70:70,72:72,87:87}
],168:[function(e){var t=e(32);t(t.S,"Number",{EPSILON:Math.pow(2,-52)})},
{32:32}],169:[function(e){var t=e(32),n=e(38).isFinite;t(t.S,"Number",
{isFinite:function(e){return"number"==typeof e&&n(e)}})},{32:32,38:38}],170:
[function(e){var t=e(32);t(t.S,"Number",{isInteger:e(48)})},{32:32,48:48}],171:
[function(e){var t=e(32);t(t.S,"Number",{isNaN:function(e){return e!=e}})},
{32:32}],172:[function(e){var t=e(32),n=e(48),r=Math.abs;t(t.S,"Number",
{isSafeInteger:function(e){return n(e)&&r(e)<=9007199254740991}})},
{32:32,48:48}],173:[function(e){var t=e(32);t(t.S,"Number",
{MAX_SAFE_INTEGER:9007199254740991})},{32:32}],174:[function(e){var
t=e(32);t(t.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},{32:32}],175:
[function(e){var t=e(32),n=e(81);t(t.S+t.F*(Number.parseFloat!=n),"Number",
{parseFloat:n})},{32:32,81:81}],176:[function(e){var
t=e(32),n=e(82);t(t.S+t.F*(Number.parseInt!=n),"Number",{parseInt:n})},
{32:32,82:82}],177:[function(e){"use strict";var
t=e(32),n=e(106),r=e(4),i=e(101),o=1..toFixed,a=Math.floor,s=[0,0,0,0,0,0],c="Numbe
r.toFixed: incorrect invocation!",l="0",u=function(e,t){for(var n=-1,r=t;+
+n<6;)r+=e*s[n],s[n]=r%1e7,r=a(r/1e7)},d=function(e){for(var
t=6,n=0;--t>=0;)n+=s[t],s[t]=a(n/e),n=n%e*1e7},_=function(){for(var e=6,t="";--
e>=0;)if(""!==t||0===e||0!==s[e]){var n=String(s[e]);t=""===t?n:t+i.call(l,7-
n.length)+n}return t},p=function(e,t,n){return 0===t?n:t%2===1?p(e,t-
1,n*e):p(e*e,t/2,n)},h=function(e){for(var
t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t};t(t.P+t.F*(!!
o&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!
==1.255.toFixed(2)||"1000000000000000128"!==0xde0b6b3a7640080.toFixed(0))||!e(34)
(function(){o.call({})})),"Number",{toFixed:function(e){var
t,o,a,s,f=r(this,c),m=n(e),b="",g=l;if(0>m||m>20)throw RangeError(c);if(f!
=f)return"NaN";if(-1e21>=f||f>=1e21)return String(f);if(0>f&&(b="-",f=-f),f>1e-
21)if(t=h(f*p(2,69,1))-69,o=0>t?f*p(2,-t,1):f/p(2,t,1),o*=4503599627370496,t=52-
t,t>0){for(u(0,o),a=m;a>=7;)u(1e7,0),a-=7;for(u(p(10,a,1),0),a=t-
1;a>=23;)d(1<<23),a-=23;d(1<<a),u(1,1),d(2),g=_()}else u(0,o),u(1<<-t,0),g=_()
+i.call(l,m);return m>0?(s=g.length,g=b+(m>=s?"0."+i.call(l,m-s)+g:g.slice(0,s-m)
+"."+g.slice(s-m))):g=b+g,g}})},{101:101,106:106,32:32,34:34,4:4}],178:[function(e)
{"use strict";var t=e(32),n=e(34),r=e(4),i=1..toPrecision;t(t.P+t.F*(n(function()
{return"1"!==i.call(1,void 0)})||!n(function(){i.call({})})),"Number",
{toPrecision:function(e){var t=r(this,"Number#toPrecision: incorrect
invocation!");return void 0===e?i.call(t):i.call(t,e)}})},{32:32,34:34,4:4}],179:
[function(e){var t=e(32);t(t.S+t.F,"Object",{assign:e(65)})},{32:32,65:65}],180:
[function(e){var t=e(32);t(t.S,"Object",{create:e(66)})},{32:32,66:66}],181:
[function(e){var t=e(32);t(t.S+t.F*!e(28),"Object",{defineProperties:e(68)})},
{28:28,32:32,68:68}],182:[function(e){var t=e(32);t(t.S+t.F*!e(28),"Object",
{defineProperty:e(67).f})},{28:28,32:32,67:67}],183:[function(e){var
t=e(49),n=e(62).onFreeze;e(78)("freeze",function(e){return function(r){return
e&&t(r)?e(n(r)):r}})},{49:49,62:62,78:78}],184:[function(e){var
t=e(107),n=e(70).f;e(78)("getOwnPropertyDescriptor",function(){return function(e,r)
{return n(t(e),r)}})},{107:107,70:70,78:78}],185:[function(e){e(78)
("getOwnPropertyNames",function(){return e(71).f})},{71:71,78:78}],186:[function(e)
{var t=e(109),n=e(74);e(78)("getPrototypeOf",function(){return function(e){return
n(t(e))}})},{109:109,74:74,78:78}],187:[function(e){var t=e(49);e(78)
("isExtensible",function(e){return function(n){return t(n)?e?e(n):!0:!1}})},
{49:49,78:78}],188:[function(e){var t=e(49);e(78)("isFrozen",function(e){return
function(n){return t(n)?e?e(n):!1:!0}})},{49:49,78:78}],189:[function(e){var
t=e(49);e(78)("isSealed",function(e){return function(n){return t(n)?e?e(n):!1:!
0}})},{49:49,78:78}],190:[function(e){var t=e(32);t(t.S,"Object",{is:e(89)})},
{32:32,89:89}],191:[function(e){var t=e(109),n=e(76);e(78)("keys",function(){return
function(e){return n(t(e))}})},{109:109,76:76,78:78}],192:[function(e){var
t=e(49),n=e(62).onFreeze;e(78)("preventExtensions",function(e){return function(r)
{return e&&t(r)?e(n(r)):r}})},{49:49,62:62,78:78}],193:[function(e){var
t=e(49),n=e(62).onFreeze;e(78)("seal",function(e){return function(r){return
e&&t(r)?e(n(r)):r}})},{49:49,62:62,78:78}],194:[function(e){var
t=e(32);t(t.S,"Object",{setPrototypeOf:e(90).set})},{32:32,90:90}],195:[function(e)
{"use strict";var t=e(17),n={};n[e(117)("toStringTag")]="z",n+""!="[object
z]"&&e(87)(Object.prototype,"toString",function(){return"[object "+t(this)+"]"},!
0)},{117:117,17:17,87:87}],196:[function(e){var
t=e(32),n=e(81);t(t.G+t.F*(parseFloat!=n),{parseFloat:n})},{32:32,81:81}],197:
[function(e){var t=e(32),n=e(82);t(t.G+t.F*(parseInt!=n),{parseInt:n})},
{32:32,82:82}],198:[function(e){"use strict";var
t,n,r,i=e(58),o=e(38),a=e(25),s=e(17),c=e(32),l=e(49),u=e(3),d=e(6),_=e(37),p=e(95)
,h=e(104).set,f=e(64)
(),m="Promise",b=o.TypeError,g=o.process,v=o[m],g=o.process,y="process"==s(g),w=fun
ction(){},k=!!function(){try{var t=v.resolve(1),n=(t.constructor={})[e(117)
("species")]=function(e){e(w,w)};return(y||"function"==typeof
PromiseRejectionEvent)&&t.then(w)instanceof n}catch(r){}}(),x=function(e,t){return
e===t||e===v&&t===r},S=function(e){var t;return l(e)&&"function"==typeof(t=e.then)?
t:!1},E=function(e){return x(v,e)?new R(e):new n(e)},R=n=function(e){var
t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw b("Bad Promise
constructor");t=e,n=r}),this.resolve=u(t),this.reject=u(n)},C=function(e)
{try{e()}catch(t){return{error:t}}},O=function(e,t){if(!e._n){e._n=!0;var
n=e._c;f(function(){for(var r=e._v,i=1==e._s,o=0,a=function(t){var n,o,a=i?
t.ok:t.fail,s=t.resolve,c=t.reject,l=t.domain;try{a?(i||
(2==e._h&&j(e),e._h=1),a===!0?n=r:(l&&l.enter(),n=a(r),l&&l.exit()),n===t.promise?
c(b("Promise-chain cycle")):(o=S(n))?o.call(n,s,c):s(n)):c(r)}catch(u)
{c(u)}};n.length>o;)a(n[o++]);e._c=[],e._n=!1,t&&!e._h&&N(e)})}},N=function(e)
{h.call(o,function(){var t,n,r,i=e._v;if(T(e)&&(t=C(function(){y?
g.emit("unhandledRejection",i,e):(n=o.onunhandledrejection)?
n({promise:e,reason:i}):(r=o.console)&&r.error&&r.error("Unhandled promise
rejection",i)}),e._h=y||T(e)?2:1),e._a=void 0,t)throw t.error})},T=function(e)
{if(1==e._h)return!1;for(var t,n=e._a||e._c,r=0;n.length>r;)if(t=n[r++],t.fail||!
T(t.promise))return!1;return!0},j=function(e){h.call(o,function(){var t;y?
g.emit("rejectionHandled",e):
(t=o.onrejectionhandled)&&t({promise:e,reason:e._v})})},P=function(e){var
t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),O(t,!
0))},I=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw
b("Promise can't be resolved itself");(t=S(e))?f(function(){var r={_w:n,_d:!
1};try{t.call(e,a(I,r,1),a(P,r,1))}catch(i){P.call(r,i)}}):(n._v=e,n._s=1,O(n,!
1))}catch(r){P.call({_w:n,_d:!1},r)}}};k||(v=function(e)
{d(this,v,m,"_h"),u(e),t.call(this);try{e(a(I,this,1),a(P,this,1))}catch(n)
{P.call(this,n)}},t=function(){this._c=[],this._a=void 0,this._s=0,this._d=!
1,this._v=void 0,this._h=0,this._n=!1},t.prototype=e(86)(v.prototype,
{then:function(e,t){var n=E(p(this,v));return n.ok="function"==typeof e?e:!
0,n.fail="function"==typeof t&&t,n.domain=y?g.domain:void
0,this._c.push(n),this._a&&this._a.push(n),this._s&&O(this,!
1),n.promise},"catch":function(e){return this.then(void 0,e)}}),R=function(){var
e=new t;this.promise=e,this.resolve=a(I,e,1),this.reject=a(P,e,1)}),c(c.G+c.W+c.F*!
k,{Promise:v}),e(92)(v,m),e(91)(m),r=e(23)[m],c(c.S+c.F*!k,m,{reject:function(e)
{var t=E(this),n=t.reject;return n(e),t.promise}}),c(c.S+c.F*(i||!k),m,
{resolve:function(e){if(e instanceof v&&x(e.constructor,this))return e;var
t=E(this),n=t.resolve;return n(e),t.promise}}),c(c.S+c.F*!(k&&e(54)(function(e)
{v.all(e)["catch"](w)})),m,{all:function(e){var
t=this,n=E(t),r=n.resolve,i=n.reject,o=C(function(){var n=[],o=0,a=1;_(e,!
1,function(e){var s=o++,c=!1;n.push(void 0),a++,t.resolve(e).then(function(e){c||
(c=!0,n[s]=e,--a||r(n))},i)}),--a||r(n)});return
o&&i(o.error),n.promise},race:function(e){var
t=this,n=E(t),r=n.reject,i=C(function(){_(e,!1,function(e)
{t.resolve(e).then(n.resolve,r)})});return i&&r(i.error),n.promise}})},
{104:104,117:117,17:17,23:23,25:25,3:3,32:32,37:37,38:38,49:49,54:54,58:58,6:6,64:6
4,86:86,91:91,92:92,95:95}],199:[function(e){var
t=e(32),n=e(3),r=e(7),i=(e(38).Reflect||{}).apply,o=Function.apply;t(t.S+t.F*!e(34)
(function(){i(function(){})}),"Reflect",{apply:function(e,t,a){var
s=n(e),c=r(a);return i?i(s,t,c):o.call(s,t,c)}})},{3:3,32:32,34:34,38:38,7:7}],200:
[function(e){var
t=e(32),n=e(66),r=e(3),i=e(7),o=e(49),a=e(34),s=e(16),c=(e(38).Reflect||
{}).construct,l=a(function(){function e(){}return!(c(function(){},[],e)instanceof
e)}),u=!a(function(){c(function(){})});t(t.S+t.F*(l||u),"Reflect",
{construct:function(e,t){r(e),i(t);var a=arguments.length<3?
e:r(arguments[2]);if(u&&!l)return c(e,t,a);if(e==a){switch(t.length){case 0:return
new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new
e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var d=[null];return
d.push.apply(d,t),new(s.apply(e,d))}var _=a.prototype,p=n(o(_)?
_:Object.prototype),h=Function.apply.call(e,p,t);return o(h)?h:p}})},
{16:16,3:3,32:32,34:34,38:38,49:49,66:66,7:7}],201:[function(e){var
t=e(67),n=e(32),r=e(7),i=e(110);n(n.S+n.F*e(34)(function()
{Reflect.defineProperty(t.f({},1,{value:1}),1,{value:2})}),"Reflect",
{defineProperty:function(e,n,o){r(e),n=i(n,!0),r(o);try{return t.f(e,n,o),!
0}catch(a){return!1}}})},{110:110,32:32,34:34,67:67,7:7}],202:[function(e){var
t=e(32),n=e(70).f,r=e(7);t(t.S,"Reflect",{deleteProperty:function(e,t){var
i=n(r(e),t);return i&&!i.configurable?!1:delete e[t]}})},{32:32,7:7,70:70}],203:
[function(e){"use strict";var t=e(32),n=e(7),r=function(e)
{this._t=n(e),this._i=0;var t,r=this._k=[];for(t in e)r.push(t)};e(52)
(r,"Object",function(){var e,t=this,n=t._k;do if(t._i>=n.length)return{value:void
0,done:!0};while(!((e=n[t._i++])in t._t));return{value:e,done:!
1}}),t(t.S,"Reflect",{enumerate:function(e){return new r(e)}})},
{32:32,52:52,7:7}],204:[function(e){var t=e(70),n=e(32),r=e(7);n(n.S,"Reflect",
{getOwnPropertyDescriptor:function(e,n){return t.f(r(e),n)}})},
{32:32,7:7,70:70}],205:[function(e){var t=e(32),n=e(74),r=e(7);t(t.S,"Reflect",
{getPrototypeOf:function(e){return n(r(e))}})},{32:32,7:7,74:74}],206:[function(e)
{function t(e,o){var c,l,u=arguments.length<3?e:arguments[2];return s(e)===u?e[o]:
(c=n.f(e,o))?i(c,"value")?c.value:void 0!==c.get?c.get.call(u):void 0:a(l=r(e))?
t(l,o,u):void 0}var n=e(70),r=e(74),i=e(39),o=e(32),a=e(49),s=e(7);o(o.S,"Reflect",
{get:t})},{32:32,39:39,49:49,7:7,70:70,74:74}],207:[function(e){var
t=e(32);t(t.S,"Reflect",{has:function(e,t){return t in e}})},{32:32}],208:
[function(e){var t=e(32),n=e(7),r=Object.isExtensible;t(t.S,"Reflect",
{isExtensible:function(e){return n(e),r?r(e):!0}})},{32:32,7:7}],209:[function(e)
{var t=e(32);t(t.S,"Reflect",{ownKeys:e(80)})},{32:32,80:80}],210:[function(e){var
t=e(32),n=e(7),r=Object.preventExtensions;t(t.S,"Reflect",
{preventExtensions:function(e){n(e);try{return r&&r(e),!0}catch(t){return!1}}})},
{32:32,7:7}],211:[function(e){var
t=e(32),n=e(90);n&&t(t.S,"Reflect",{setPrototypeOf:function(e,t)
{n.check(e,t);try{return n.set(e,t),!0}catch(r){return!1}}})},{32:32,90:90}],212:
[function(e){function t(e,a,u){var d,_,p=arguments.length<4?
e:arguments[3],h=r.f(c(e),a);if(!h){if(l(_=i(e)))return t(_,a,u,p);h=s(0)}return
o(h,"value")?h.writable!==!1&&l(p)?(d=r.f(p,a)||s(0),d.value=u,n.f(p,a,d),!0):!
1:void 0===h.set?!1:(h.set.call(p,u),!0)}var
n=e(67),r=e(70),i=e(74),o=e(39),a=e(32),s=e(85),c=e(7),l=e(49);a(a.S,"Reflect",
{set:t})},{32:32,39:39,49:49,67:67,7:7,70:70,74:74,85:85}],213:[function(e){var
t=e(38),n=e(43),r=e(67).f,i=e(72).f,o=e(50),a=e(36),s=t.RegExp,c=s,l=s.prototype,u=
/a/g,d=/a/g,_=new s(u)!==u;if(e(28)&&(!_||e(34)(function(){return d[e(117)
("match")]=!1,s(u)!=u||s(d)==d||"/a/i"!=s(u,"i")}))){s=function(e,t){var r=this
instanceof s,i=o(e),u=void 0===t;return!r&&i&&e.constructor===s&&u?e:n(_?new c(i&&!
u?e.source:e,t):c((i=e instanceof s)?e.source:e,i&&u?a.call(e):t),r?
this:l,s)};for(var p=(function(e){e in s||r(s,e,{configurable:!0,get:function()
{return c[e]},set:function(t){c[e]=t}})}),h=i(c),f=0;h.length>f;)p(h[f+
+]);l.constructor=s,s.prototype=l,e(87)(t,"RegExp",s)}e(91)("RegExp")},
{117:117,28:28,34:34,36:36,38:38,43:43,50:50,67:67,72:72,87:87,91:91}],214:
[function(e){e(28)&&"g"!=/./g.flags&&e(67).f(RegExp.prototype,"flags",
{configurable:!0,get:e(36)})},{28:28,36:36,67:67}],215:[function(e){e(35)
("match",1,function(e,t,n){return[function(n){"use strict";var r=e(this),i=void
0==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},n]})},
{35:35}],216:[function(e){e(35)("replace",2,function(e,t,n){return[function(r,i)
{"use strict";var o=e(this),a=void 0==r?void 0:r[t];return void 0!==a?
a.call(r,o,i):n.call(String(o),r,i)},n]})},{35:35}],217:[function(e){e(35)
("search",1,function(e,t,n){return[function(n){"use strict";var r=e(this),i=void
0==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},n]})},
{35:35}],218:[function(e){e(35)("split",2,function(t,n,r){"use strict";var
i=e(50),o=r,a=[].push,s="split",c="length",l="lastIndex";if("c"=="abbc"[s](/(b)*/)
[1]||4!="test"[s](/(?:)/,-1)[c]||2!="ab"[s](/(?:ab)*/)[c]||4!="."[s](/(.?)(.?)/)
[c]||"."[s](/()()/)[c]>1||""[s](/.?/)[c]){var u=void 0===/()??/.exec("")
[1];r=function(e,t){var n=String(this);if(void 0===e&&0===t)return[];if(!
i(e))return o.call(n,e,t);var r,s,d,_,p,h=[],f=(e.ignoreCase?"i":"")+
(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),m=0,b=void 0===t?
4294967295:t>>>0,g=new RegExp(e.source,f+"g");for(u||(r=new RegExp("^"+g.source+"$
(?!\\s)",f));(s=g.exec(n))&&(d=s.index+s[0][c],!(d>m&&(h.push(n.slice(m,s.index)),!
u&&s[c]>1&&s[0].replace(r,function(){for(p=1;p<arguments[c]-2;p++)void
0===arguments[p]&&(s[p]=void
0)}),s[c]>1&&s.index<n[c]&&a.apply(h,s.slice(1)),_=s[0]
[c],m=d,h[c]>=b)));)g[l]===s.index&&g[l]++;return m===n[c]?(_||!
g.test(""))&&h.push(""):h.push(n.slice(m)),h[c]>b?h.slice(0,b):h
}}else"0"[s](void 0,0)[c]&&(r=function(e,t){return void 0===e&&0===t?
[]:o.call(this,e,t)});return[function(e,i){var o=t(this),a=void 0==e?void
0:e[n];return void 0!==a?a.call(e,o,i):r.call(String(o),e,i)},r]})},
{35:35,50:50}],219:[function(e){"use strict";e(214);var
t=e(7),n=e(36),r=e(28),i="toString",o=/./[i],a=function(t){e(87)
(RegExp.prototype,i,t,!0)};e(34)(function(){return"/a/b"!
=o.call({source:"a",flags:"b"})})?a(function(){var
e=t(this);return"/".concat(e.source,"/","flags"in e?e.flags:!r&&e instanceof
RegExp?n.call(e):void 0)}):o.name!=i&&a(function(){return o.call(this)})},
{214:214,28:28,34:34,36:36,7:7,87:87}],220:[function(e,t){"use strict";var
n=e(19);t.exports=e(22)("Set",function(e){return function(){return
e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return
n.def(this,e=0===e?0:e,e)}},n)},{19:19,22:22}],221:[function(e){"use strict";e(99)
("anchor",function(e){return function(t){return e(this,"a","name",t)}})},
{99:99}],222:[function(e){"use strict";e(99)("big",function(e){return function()
{return e(this,"big","","")}})},{99:99}],223:[function(e){"use strict";e(99)
("blink",function(e){return function(){return e(this,"blink","","")}})},
{99:99}],224:[function(e){"use strict";e(99)("bold",function(e){return function()
{return e(this,"b","","")}})},{99:99}],225:[function(e){"use strict";var
t=e(32),n=e(97)(!1);t(t.P,"String",{codePointAt:function(e){return n(this,e)}})},
{32:32,97:97}],226:[function(e){"use strict";var
t=e(32),n=e(108),r=e(98),i="endsWith",o=""[i];t(t.P+t.F*e(33)(i),"String",
{endsWith:function(e){var t=r(this,e,i),a=arguments.length>1?arguments[1]:void
0,s=n(t.length),c=void 0===a?s:Math.min(n(a),s),l=String(e);return o?
o.call(t,l,c):t.slice(c-l.length,c)===l}})},{108:108,32:32,33:33,98:98}],227:
[function(e){"use strict";e(99)("fixed",function(e){return function(){return
e(this,"tt","","")}})},{99:99}],228:[function(e){"use strict";e(99)
("fontcolor",function(e){return function(t){return e(this,"font","color",t)}})},
{99:99}],229:[function(e){"use strict";e(99)("fontsize",function(e){return
function(t){return e(this,"font","size",t)}})},{99:99}],230:[function(e){var
t=e(32),n=e(105),r=String.fromCharCode,i=String.fromCodePoint;t(t.S+t.F*(!!i&&1!
=i.length),"String",{fromCodePoint:function(){for(var
e,t=[],i=arguments.length,o=0;i>o;){if(e=+arguments[o++],n(e,1114111)!==e)throw
RangeError(e+" is not a valid code point");t.push(65536>e?r(e):r(((e-
=65536)>>10)+55296,e%1024+56320))}return t.join("")}})},{105:105,32:32}],231:
[function(e){"use strict";var t=e(32),n=e(98),r="includes";t(t.P+t.F*e(33)
(r),"String",{includes:function(e){return!!
~n(this,e,r).indexOf(e,arguments.length>1?arguments[1]:void 0)}})},
{32:32,33:33,98:98}],232:[function(e){"use strict";e(99)("italics",function(e)
{return function(){return e(this,"i","","")}})},{99:99}],233:[function(e){"use
strict";var t=e(97)(!0);e(53)(String,"String",function(e)
{this._t=String(e),this._i=0},function(){var e,n=this._t,r=this._i;return
r>=n.length?{value:void 0,done:!0}:(e=t(n,r),this._i+=e.length,{value:e,done:!
1})})},{53:53,97:97}],234:[function(e){"use strict";e(99)("link",function(e){return
function(t){return e(this,"a","href",t)}})},{99:99}],235:[function(e){var
t=e(32),n=e(107),r=e(108);t(t.S,"String",{raw:function(e){for(var
t=n(e.raw),i=r(t.length),o=arguments.length,a=[],s=0;i>s;)a.push(String(t[s+
+])),o>s&&a.push(String(arguments[s]));return a.join("")}})},
{107:107,108:108,32:32}],236:[function(e){var t=e(32);t(t.P,"String",
{repeat:e(101)})},{101:101,32:32}],237:[function(e){"use strict";e(99)
("small",function(e){return function(){return e(this,"small","","")}})},
{99:99}],238:[function(e){"use strict";var
t=e(32),n=e(108),r=e(98),i="startsWith",o=""[i];t(t.P+t.F*e(33)(i),"String",
{startsWith:function(e){var t=r(this,e,i),a=n(Math.min(arguments.length>1?
arguments[1]:void 0,t.length)),s=String(e);return o?
o.call(t,s,a):t.slice(a,a+s.length)===s}})},{108:108,32:32,33:33,98:98}],239:
[function(e){"use strict";e(99)("strike",function(e){return function(){return
e(this,"strike","","")}})},{99:99}],240:[function(e){"use strict";e(99)
("sub",function(e){return function(){return e(this,"sub","","")}})},{99:99}],241:
[function(e){"use strict";e(99)("sup",function(e){return function(){return
e(this,"sup","","")}})},{99:99}],242:[function(e){"use strict";e(102)
("trim",function(e){return function(){return e(this,3)}})},{102:102}],243:
[function(e){"use strict";var
t=e(38),n=e(39),r=e(28),i=e(32),o=e(87),a=e(62).KEY,s=e(34),c=e(94),l=e(92),u=e(114
),d=e(117),_=e(116),p=e(115),h=e(57),f=e(31),m=e(47),b=e(7),g=e(107),v=e(110),y=e(8
5),w=e(66),k=e(71),x=e(70),S=e(67),E=e(76),R=x.f,C=S.f,O=k.f,N=t.Symbol,T=t.JSON,j=
T&&T.stringify,P="prototype",I=d("_hidden"),M=d("toPrimitive"),A={}.propertyIsEnume
rable,D=c("symbol-registry"),L=c("symbols"),$=c("op-
symbols"),F=Object[P],B="function"==typeof N,q=t.QObject,z=!q||!q[P]||!
q[P].findChild,U=r&&s(function(){return 7!=w(C({},"a",{get:function(){return
C(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=R(F,t);r&&delete
F[t],C(e,t,n),r&&e!==F&&C(F,t,r)}:C,H=function(e){var t=L[e]=w(N[P]);return
t._k=e,t},W=B&&"symbol"==typeof N.iterator?function(e){return"symbol"==typeof
e}:function(e){return e instanceof N},V=function(e,t,r){return
e===F&&V($,t,r),b(e),t=v(t,!0),b(r),n(L,t)?(r.enumerable?(n(e,I)&&e[I][t]&&(e[I]
[t]=!1),r=w(r,{enumerable:y(0,!1)})):(n(e,I)||C(e,I,y(1,{})),e[I][t]=!
0),U(e,t,r)):C(e,t,r)},Y=function(e,t){b(e);for(var
n,r=f(t=g(t)),i=0,o=r.length;o>i;)V(e,n=r[i++],t[n]);return e},J=function(e,t)
{return void 0===t?w(e):Y(w(e),t)},G=function(e){var t=A.call(this,e=v(e,!
0));return this===F&&n(L,e)&&!n($,e)?!1:t||!n(this,e)||!n(L,e)||n(this,I)&&this[I]
[e]?t:!0},X=function(e,t){if(e=g(e),t=v(t,!0),e!==F||!n(L,t)||n($,t)){var
r=R(e,t);return!r||!n(L,t)||n(e,I)&&e[I][t]||(r.enumerable=!0),r}},K=function(e)
{for(var t,r=O(g(e)),i=[],o=0;r.length>o;)n(L,t=r[o++])||t==I||t==a||
i.push(t);return i},Q=function(e){for(var t,r=e===F,i=O(r?
$:g(e)),o=[],a=0;i.length>a;)n(L,t=i[a++])&&(r?n(F,t):!0)&&o.push(L[t]);return
o};B||(N=function(){if(this instanceof N)throw TypeError("Symbol is not a
constructor!");var e=u(arguments.length>0?arguments[0]:void 0),t=function(r)
{this===F&&t.call($,r),n(this,I)&&n(this[I],e)&&(this[I][e]=!
1),U(this,e,y(1,r))};return r&&z&&U(F,e,{configurable:!
0,set:t}),H(e)},o(N[P],"toString",function(){return
this._k}),x.f=X,S.f=V,e(72).f=k.f=K,e(77).f=G,e(73).f=Q,r&&!
e(58)&&o(F,"propertyIsEnumerable",G,!0),_.f=function(e){return
H(d(e))}),i(i.G+i.W+i.F*!B,{Symbol:N});for(var
Z="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPri
mitive,toStringTag,unscopables".split(","),et=0;Z.length>et;)d(Z[et++]);for(var
Z=E(d.store),et=0;Z.length>et;)p(Z[et++]);i(i.S+i.F*!B,"Symbol",{"for":function(e)
{return n(D,e+="")?D[e]:D[e]=N(e)},keyFor:function(e){if(W(e))return h(D,e);throw
TypeError(e+" is not a symbol!")},useSetter:function(){z=!0},useSimple:function()
{z=!1}}),i(i.S+i.F*!B,"Object",
{create:J,defineProperty:V,defineProperties:Y,getOwnPropertyDescriptor:X,getOwnProp
ertyNames:K,getOwnPropertySymbols:Q}),T&&i(i.S+i.F*(!B||s(function(){var
e=N();return"[null]"!=j([e])||"{}"!=j({a:e})||"{}"!=j(Object(e))})),"JSON",
{stringify:function(e){if(void 0!==e&&!W(e)){for(var
t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);return
t=r[1],"function"==typeof t&&(n=t),(n||!m(t))&&(t=function(e,t){return
n&&(t=n.call(this,e,t)),W(t)?void 0:t}),r[1]=t,j.apply(T,r)}}}),N[P][M]||e(40)
(N[P],M,N[P].valueOf),l(N,"Symbol"),l(Math,"Math",!0),l(t.JSON,"JSON",!0)},
{107:107,110:110,114:114,115:115,116:116,117:117,28:28,31:31,32:32,34:34,38:38,39:3
9,40:40,47:47,57:57,58:58,62:62,66:66,67:67,7:7,70:70,71:71,72:72,73:73,76:76,77:77
,85:85,87:87,92:92,94:94}],244:[function(e){"use strict";var
t=e(32),n=e(113),r=e(112),i=e(7),o=e(105),a=e(108),s=e(49),c=e(38).ArrayBuffer,l=e(
95),u=r.ArrayBuffer,d=r.DataView,_=n.ABV&&c.isView,p=u.prototype.slice,h=n.VIEW,f="
ArrayBuffer";t(t.G+t.W+t.F*(c!==u),{ArrayBuffer:u}),t(t.S+t.F*!n.CONSTR,f,
{isView:function(e){return _&&_(e)||s(e)&&h in e}}),t(t.P+t.U+t.F*e(34)(function()
{return!new u(2).slice(1,void 0).byteLength}),f,{slice:function(e,t){if(void 0!
==p&&void 0===t)return p.call(i(this),e);for(var
n=i(this).byteLength,r=o(e,n),s=o(void 0===t?n:t,n),c=new(l(this,u))(a(s-r)),_=new
d(this),h=new d(c),f=0;s>r;)h.setUint8(f++,_.getUint8(r++));return c}}),e(91)(f)},
{105:105,108:108,112:112,113:113,32:32,34:34,38:38,49:49,7:7,91:91,95:95}],245:
[function(e){var t=e(32);t(t.G+t.W+t.F*!e(113).ABV,{DataView:e(112).DataView})},
{112:112,113:113,32:32}],246:[function(e){e(111)("Float32",4,function(e){return
function(t,n,r){return e(this,t,n,r)}})},{111:111}],247:[function(e){e(111)
("Float64",8,function(e){return function(t,n,r){return e(this,t,n,r)}})},
{111:111}],248:[function(e){e(111)("Int16",2,function(e){return function(t,n,r)
{return e(this,t,n,r)}})},{111:111}],249:[function(e){e(111)("Int32",4,function(e)
{return function(t,n,r){return e(this,t,n,r)}})},{111:111}],250:[function(e){e(111)
("Int8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},
{111:111}],251:[function(e){e(111)("Uint16",2,function(e){return function(t,n,r)
{return e(this,t,n,r)}})},{111:111}],252:[function(e){e(111)("Uint32",4,function(e)
{return function(t,n,r){return e(this,t,n,r)}})},{111:111}],253:[function(e){e(111)
("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},
{111:111}],254:[function(e){e(111)("Uint8",1,function(e){return function(t,n,r)
{return e(this,t,n,r)}},!0)},{111:111}],255:[function(e,t){"use strict";var
n,r=e(12)
(0),i=e(87),o=e(62),a=e(65),s=e(21),c=e(49),l=o.getWeak,u=Object.isExtensible,d=s.u
fstore,_={},p=function(e){return function(){return e(this,arguments.length>0?
arguments[0]:void 0)}},h={get:function(e){if(c(e)){var t=l(e);return t===!0?
d(this).get(e):t?t[this._i]:void 0}},set:function(e,t){return
s.def(this,e,t)}},f=t.exports=e(22)("WeakMap",p,h,s,!0,!0);7!=(new
f).set((Object.freeze||Object)
(_),7).get(_)&&(n=s.getConstructor(p),a(n.prototype,h),o.NEED=!
0,r(["delete","has","get","set"],function(e){var
t=f.prototype,r=t[e];i(t,e,function(t,i){if(c(t)&&!u(t)){this._f||(this._f=new
n);var o=this._f[e](t,i);return"set"==e?this:o}return r.call(this,t,i)})}))},
{12:12,21:21,22:22,49:49,62:62,65:65,87:87}],256:[function(e){"use strict";var
t=e(21);e(22)("WeakSet",function(e){return function(){return
e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return
t.def(this,e,!0)}},t,!1,!0)},{21:21,22:22}],257:[function(e){"use strict";var
t=e(32),n=e(11)(!0);t(t.P,"Array",{includes:function(e){return
n(this,e,arguments.length>1?arguments[1]:void 0)}}),e(5)("includes")},
{11:11,32:32,5:5}],258:[function(e){var t=e(32),n=e(64)
(),r=e(38).process,i="process"==e(18)(r);t(t.G,{asap:function(e){var
t=i&&r.domain;n(t?t.bind(e):e)}})},{18:18,32:32,38:38,64:64}],259:[function(e){var
t=e(32),n=e(18);t(t.S,"Error",{isError:function(e){return"Error"===n(e)}})},
{18:18,32:32}],260:[function(e){var t=e(32);t(t.P+t.R,"Map",{toJSON:e(20)
("Map")})},{20:20,32:32}],261:[function(e){var t=e(32);t(t.S,"Math",
{iaddh:function(e,t,n,r){var i=e>>>0,o=t>>>0,a=n>>>0;return o+(r>>>0)+((i&a|(i|
a)&~(i+a>>>0))>>>31)|0}})},{32:32}],262:[function(e){var t=e(32);t(t.S,"Math",
{imulh:function(e,t){var n=65535,r=+e,i=+t,o=r&n,a=i&n,s=r>>16,c=i>>16,l=(s*a>>>0)+
(o*a>>>16);return s*c+(l>>16)+((o*c>>>0)+(l&n)>>16)}})},{32:32}],263:[function(e)
{var t=e(32);t(t.S,"Math",{isubh:function(e,t,n,r){var
i=e>>>0,o=t>>>0,a=n>>>0;return o-(r>>>0)-((~i&a|~(i^a)&i-a>>>0)>>>31)|0}})},
{32:32}],264:[function(e){var t=e(32);t(t.S,"Math",{umulh:function(e,t){var
n=65535,r=+e,i=+t,o=r&n,a=i&n,s=r>>>16,c=i>>>16,l=(s*a>>>0)+(o*a>>>16);return s*c+
(l>>>16)+((o*c>>>0)+(l&n)>>>16)}})},{32:32}],265:[function(e){"use strict";var
t=e(32),n=e(109),r=e(3),i=e(67);e(28)&&t(t.P+e(69),"Object",
{__defineGetter__:function(e,t){i.f(n(this),e,{get:r(t),enumerable:!
0,configurable:!0})}})},{109:109,28:28,3:3,32:32,67:67,69:69}],266:[function(e)
{"use strict";var t=e(32),n=e(109),r=e(3),i=e(67);e(28)&&t(t.P+e(69),"Object",
{__defineSetter__:function(e,t){i.f(n(this),e,{set:r(t),enumerable:!
0,configurable:!0})}})},{109:109,28:28,3:3,32:32,67:67,69:69}],267:[function(e){var
t=e(32),n=e(79)(!0);t(t.S,"Object",{entries:function(e){return n(e)}})},
{32:32,79:79}],268:[function(e){var
t=e(32),n=e(80),r=e(107),i=e(70),o=e(24);t(t.S,"Object",
{getOwnPropertyDescriptors:function(e){for(var
t,a=r(e),s=i.f,c=n(a),l={},u=0;c.length>u;)o(l,t=c[u++],s(a,t));return l}})},
{107:107,24:24,32:32,70:70,80:80}],269:[function(e){"use strict";var
t=e(32),n=e(109),r=e(110),i=e(74),o=e(70).f;e(28)&&t(t.P+e(69),"Object",
{__lookupGetter__:function(e){var t,a=n(this),s=r(e,!0);do if(t=o(a,s))return
t.get;while(a=i(a))}})},{109:109,110:110,28:28,32:32,69:69,70:70,74:74}],270:
[function(e){"use strict";var
t=e(32),n=e(109),r=e(110),i=e(74),o=e(70).f;e(28)&&t(t.P+e(69),"Object",
{__lookupSetter__:function(e){var t,a=n(this),s=r(e,!0);do if(t=o(a,s))return
t.set;while(a=i(a))}})},{109:109,110:110,28:28,32:32,69:69,70:70,74:74}],271:
[function(e){var t=e(32),n=e(79)(!1);t(t.S,"Object",{values:function(e){return
n(e)}})},{32:32,79:79}],272:[function(e){"use strict";var
t=e(32),n=e(38),r=e(23),i=e(64)(),o=e(117)
("observable"),a=e(3),s=e(7),c=e(6),l=e(86),u=e(40),d=e(37),_=d.RETURN,p=function(e
){return null==e?void 0:a(e)},h=function(e){var t=e._c;t&&(e._c=void
0,t())},f=function(e){return void 0===e._o},m=function(e){f(e)||(e._o=void
0,h(e))},b=function(e,t){s(e),this._c=void 0,this._o=e,e=new g(this);try{var
n=t(e),r=n;null!=n&&("function"==typeof n.unsubscribe?n=function()
{r.unsubscribe()}:a(n),this._c=n)}catch(i){return void
e.error(i)}f(this)&&h(this)};b.prototype=l({},{unsubscribe:function()
{m(this)}});var g=function(e){this._s=e};g.prototype=l({},{next:function(e){var
t=this._s;if(!f(t)){var n=t._o;try{var r=p(n.next);if(r)return r.call(n,e)}catch(i)
{try{m(t)}finally{throw i}}}},error:function(e){var t=this._s;if(f(t))throw e;var
n=t._o;t._o=void 0;try{var r=p(n.error);if(!r)throw e;e=r.call(n,e)}catch(i)
{try{h(t)}finally{throw i}}return h(t),e},complete:function(e){var t=this._s;if(!
f(t)){var n=t._o;t._o=void 0;try{var r=p(n.complete);e=r?r.call(n,e):void
0}catch(i){try{h(t)}finally{throw i}}return h(t),e}}});var v=function(e)
{c(this,v,"Observable","_f")._f=a(e)};l(v.prototype,{subscribe:function(e){return
new b(e,this._f)},forEach:function(e){var t=this;return new(r.Promise||n.Promise)
(function(n,r){a(e);var i=t.subscribe({next:function(t){try{return e(t)}catch(n)
{r(n),i.unsubscribe()}},error:r,complete:n})})}}),l(v,{from:function(e){var
t="function"==typeof this?this:v,n=p(s(e)[o]);if(n){var r=s(n.call(e));return
r.constructor===t?r:new t(function(e){return r.subscribe(e)})}return new
t(function(t){var n=!1;return i(function(){if(!n){try{if(d(e,!1,function(e){return
t.next(e),n?_:void 0})===_)return}catch(r){if(n)throw r;return void
t.error(r)}t.complete()}}),function(){n=!0}})},of:function(){for(var
e=0,t=arguments.length,n=Array(t);t>e;)n[e]=arguments[e++];return
new("function"==typeof this?this:v)(function(e){var t=!1;return i(function(){if(!t)
{for(var r=0;r<n.length;++r)if(e.next(n[r]),t)return;e.complete()}}),function(){t=!
0}})}}),u(v.prototype,o,function(){return this}),t(t.G,{Observable:v}),e(91)
("Observable")},
{117:117,23:23,3:3,32:32,37:37,38:38,40:40,6:6,64:64,7:7,86:86,91:91}],273:
[function(e){var
t=e(63),n=e(7),r=t.key,i=t.set;t.exp({defineMetadata:function(e,t,o,a)
{i(e,t,n(o),r(a))}})},{63:63,7:7}],274:[function(e){var
t=e(63),n=e(7),r=t.key,i=t.map,o=t.store;t.exp({deleteMetadata:function(e,t){var
a=arguments.length<3?void 0:r(arguments[2]),s=i(n(t),a,!1);if(void 0===s||!
s["delete"](e))return!1;if(s.size)return!0;var c=o.get(t);return c["delete"](a),!!
c.size||o["delete"](t)}})},{63:63,7:7}],275:[function(e){var
t=e(220),n=e(10),r=e(63),i=e(7),o=e(74),a=r.keys,s=r.key,c=function(e,r){var
i=a(e,r),s=o(e);if(null===s)return i;var l=c(s,r);return l.length?i.length?n(new
t(i.concat(l))):l:i};r.exp({getMetadataKeys:function(e){return
c(i(e),arguments.length<2?void 0:s(arguments[1]))}})},
{10:10,220:220,63:63,7:7,74:74}],276:[function(e){var
t=e(63),n=e(7),r=e(74),i=t.has,o=t.get,a=t.key,s=function(e,t,n){var
a=i(e,t,n);if(a)return o(e,t,n);var c=r(t);return null!==c?s(e,c,n):void
0};t.exp({getMetadata:function(e,t){return s(e,n(t),arguments.length<3?void
0:a(arguments[2]))}})},{63:63,7:7,74:74}],277:[function(e){var
t=e(63),n=e(7),r=t.keys,i=t.key;t.exp({getOwnMetadataKeys:function(e){return
r(n(e),arguments.length<2?void 0:i(arguments[1]))}})},{63:63,7:7}],278:[function(e)
{var t=e(63),n=e(7),r=t.get,i=t.key;t.exp({getOwnMetadata:function(e,t){return
r(e,n(t),arguments.length<3?void 0:i(arguments[2]))}})},{63:63,7:7}],279:
[function(e){var t=e(63),n=e(7),r=e(74),i=t.has,o=t.key,a=function(e,t,n){var
o=i(e,t,n);if(o)return!0;var s=r(t);return null!==s?a(e,s,n):!
1};t.exp({hasMetadata:function(e,t){return a(e,n(t),arguments.length<3?void
0:o(arguments[2]))}})},{63:63,7:7,74:74}],280:[function(e){var
t=e(63),n=e(7),r=t.has,i=t.key;t.exp({hasOwnMetadata:function(e,t){return
r(e,n(t),arguments.length<3?void 0:i(arguments[2]))}})},{63:63,7:7}],281:
[function(e){var
t=e(63),n=e(7),r=e(3),i=t.key,o=t.set;t.exp({metadata:function(e,t){return
function(a,s){o(e,t,(void 0!==s?n:r)(a),i(s))}}})},{3:3,63:63,7:7}],282:
[function(e){var t=e(32);t(t.P+t.R,"Set",{toJSON:e(20)("Set")})},
{20:20,32:32}],283:[function(e){"use strict";var t=e(32),n=e(97)(!
0);t(t.P,"String",{at:function(e){return n(this,e)}})},{32:32,97:97}],284:
[function(e){"use strict";var
t=e(32),n=e(27),r=e(108),i=e(50),o=e(36),a=RegExp.prototype,s=function(e,t)
{this._r=e,this._s=t};e(52)(s,"RegExp String",function(){var
e=this._r.exec(this._s);return{value:e,done:null===e}}),t(t.P,"String",
{matchAll:function(e){if(n(this),!i(e))throw TypeError(e+" is not a regexp!");var
t=String(this),c="flags"in a?String(e.flags):o.call(e),l=new
RegExp(e.source,~c.indexOf("g")?c:"g"+c);return l.lastIndex=r(e.lastIndex),new
s(l,t)}})},{108:108,27:27,32:32,36:36,50:50,52:52}],285:[function(e){"use
strict";var t=e(32),n=e(100);t(t.P,"String",{padEnd:function(e){return
n(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},{100:100,32:32}],286:
[function(e){"use strict";var t=e(32),n=e(100);t(t.P,"String",{padStart:function(e)
{return n(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},
{100:100,32:32}],287:[function(e){"use strict";e(102)("trimLeft",function(e){return
function(){return e(this,1)}},"trimStart")},{102:102}],288:[function(e){"use
strict";e(102)("trimRight",function(e){return function(){return
e(this,2)}},"trimEnd")},{102:102}],289:[function(e){e(115)("asyncIterator")},
{115:115}],290:[function(e){e(115)("observable")},{115:115}],291:[function(e){var
t=e(32);t(t.S,"System",{global:e(38)})},{32:32,38:38}],292:[function(e){for(var
t=e(130),n=e(87),r=e(38),i=e(40),o=e(56),a=e(117),s=a("iterator"),c=a("toStringTag"
),l=o.Array,u=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"
],d=0;5>d;d++){var _,p=u[d],h=r[p],f=h&&h.prototype;if(f){f[s]||i(f,s,l),f[c]||
i(f,c,p),o[p]=l;for(_ in t)f[_]||n(f,_,t[_],!0)}}},
{117:117,130:130,38:38,40:40,56:56,87:87}],293:[function(e){var
t=e(32),n=e(104);t(t.G+t.B,{setImmediate:n.set,clearImmediate:n.clear})},
{104:104,32:32}],294:[function(e){var
t=e(38),n=e(32),r=e(44),i=e(83),o=t.navigator,a=!!o&&/MSIE
.\./.test(o.userAgent),s=function(e){return a?function(t,n){return e(r(i,
[].slice.call(arguments,2),"function"==typeof t?
t:Function(t)),n)}:e};n(n.G+n.B+n.F*a,
{setTimeout:s(t.setTimeout),setInterval:s(t.setInterval)})},
{32:32,38:38,44:44,83:83}],295:[function(e,t)
{e(243),e(180),e(182),e(181),e(184),e(186),e(191),e(185),e(183),e(193),e(192),e(188
),e(189),e(187),e(179),e(190),e(194),e(195),e(146),e(148),e(147),e(197),e(196),e(16
7),e(177),e(178),e(168),e(169),e(170),e(171),e(172),e(173),e(174),e(175),e(176),e(1
50),e(151),e(152),e(153),e(154),e(155),e(156),e(157),e(158),e(159),e(160),e(161),
e(162),e(163),e(164),e(165),e(166),e(230),e(235),e(242),e(233),e(225),e(226),e(231)
,e(236),e(238),e(221),e(222),e(223),e(224),e(227),e(228),e(229),e(232),e(234),e(237
),e(239),e(240),e(241),e(141),e(143),e(142),e(145),e(144),e(129),e(127),e(134),e(13
1),e(137),e(139),e(126),e(133),e(123),e(138),e(121),e(136),e(135),e(128),e(132),e(1
20),e(122),e(125),e(124),e(140),e(130),e(213),e(219),e(214),e(215),e(216),e(217),e(
218),e(198),e(149),e(220),e(255),e(256),e(244),e(245),e(250),e(253),e(254),e(248),e
(251),e(249),e(252),e(246),e(247),e(199),e(200),e(201),e(202),e(203),e(206),e(204),
e(205),e(207),e(208),e(209),e(210),e(212),e(211),e(257),e(283),e(286),e(285),e(287)
,e(288),e(284),e(289),e(290),e(268),e(271),e(267),e(265),e(266),e(269),e(270),e(260
),e(282),e(291),e(259),e(261),e(263),e(262),e(264),e(273),e(274),e(276),e(275),e(27
8),e(277),e(279),e(280),e(281),e(258),e(272),e(294),e(293),e(292),t.exports=e(23)},
{120:120,121:121,122:122,123:123,124:124,125:125,126:126,127:127,128:128,129:129,13
0:130,131:131,132:132,133:133,134:134,135:135,136:136,137:137,138:138,139:139,140:1
40,141:141,142:142,143:143,144:144,145:145,146:146,147:147,148:148,149:149,150:150,
151:151,152:152,153:153,154:154,155:155,156:156,157:157,158:158,159:159,160:160,161
:161,162:162,163:163,164:164,165:165,166:166,167:167,168:168,169:169,170:170,171:17
1,172:172,173:173,174:174,175:175,176:176,177:177,178:178,179:179,180:180,181:181,1
82:182,183:183,184:184,185:185,186:186,187:187,188:188,189:189,190:190,191:191,192:
192,193:193,194:194,195:195,196:196,197:197,198:198,199:199,200:200,201:201,202:202
,203:203,204:204,205:205,206:206,207:207,208:208,209:209,210:210,211:211,212:212,21
3:213,214:214,215:215,216:216,217:217,218:218,219:219,220:220,221:221,222:222,223:2
23,224:224,225:225,226:226,227:227,228:228,229:229,23:23,230:230,231:231,232:232,23
3:233,234:234,235:235,236:236,237:237,238:238,239:239,240:240,241:241,242:242,243:2
43,244:244,245:245,246:246,247:247,248:248,249:249,250:250,251:251,252:252,253:253,
254:254,255:255,256:256,257:257,258:258,259:259,260:260,261:261,262:262,263:263,264
:264,265:265,266:266,267:267,268:268,269:269,270:270,271:271,272:272,273:273,274:27
4,275:275,276:276,277:277,278:278,279:279,280:280,281:281,282:282,283:283,284:284,2
85:285,286:286,287:287,288:288,289:289,290:290,291:291,292:292,293:293,294:294}],29
6:[function(e,t){(function(e){/**
* Copyright (c) 2014, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* https://raw.github.com/facebook/regenerator/master/LICENSE file. An
* additional grant of patent rights can be found in the PATENTS file in
* the same directory.
*/
!function(e){"use strict";function n(e,t,n,r){var o=t&&t.prototype instanceof i?
t:i,a=Object.create(o.prototype),s=new _(r||[]);return
a._invoke=l(e,n,s),a}function r(e,t,n)
{try{return{type:"normal",arg:e.call(t,n)}}catch(r)
{return{type:"throw",arg:r}}}function i(){}function o(){}function a(){}function
s(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return
this._invoke(t,e)}})}function c(e){function t(n,i,o,a){var
s=r(e[n],e,i);if("throw"!==s.type){var c=s.arg,l=c.value;return l&&"object"==typeof
l&&b.call(l,"__await")?Promise.resolve(l.__await).then(function(e)
{t("next",e,o,a)},function(e)
{t("throw",e,o,a)}):Promise.resolve(l).then(function(e)
{c.value=e,o(c)},a)}a(s.arg)}function n(e,n){function r(){return new
Promise(function(r,i){t(e,n,r,i)})}return i=i?i.then(r,r):r()}"object"==typeof
process&&process.domain&&(t=process.domain.bind(t));var i;this._invoke=n}function
l(e,t,n){var i=x;return function(o,a){if(i===E)throw new Error("Generator is
already running");if(i===R){if("throw"===o)throw a;return h()}for(;;){var
s=n.delegate;if(s){if("return"===o||"throw"===o&&s.iterator[o]===f)
{n.delegate=null;var c=s.iterator["return"];if(c){var
l=r(c,s.iterator,a);if("throw"===l.type)
{o="throw",a=l.arg;continue}}if("return"===o)continue}var
l=r(s.iterator[o],s.iterator,a);if("throw"===l.type)
{n.delegate=null,o="throw",a=l.arg;continue}o="next",a=f;var u=l.arg;if(!
u.done)return
i=S,u;n[s.resultName]=u.value,n.next=s.nextLoc,n.delegate=null}if("next"===o)n.sent
=n._sent=a;else if("throw"===o){if(i===x)throw
i=R,a;n.dispatchException(a)&&(o="next",a=f)}else"return"===o&&n.abrupt("return",a)
;i=E;var l=r(e,t,n);if("normal"===l.type){i=n.done?R:S;var
u={value:l.arg,done:n.done};if(l.arg!==C)return
u;n.delegate&&"next"===o&&(a=f)}else"throw"===l.type&&(i=R,o="throw",a=l.arg)}}}fun
ction u(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in
e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function d(e){var
t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e)
{this.tryEntries=[{tryLoc:"root"}],e.forEach(u,this),this.reset(!0)}function p(e)
{if(e){var t=e[v];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!
isNaN(e.length)){var n=-1,r=function i(){for(;++n<e.length;)if(b.call(e,n))return
i.value=e[n],i.done=!1,i;return i.value=f,i.done=!0,i};return
r.next=r}}return{next:h}}function h(){return{value:f,done:!0}}var
f,m=Object.prototype,b=m.hasOwnProperty,g="function"==typeof Symbol?Symbol:
{},v=g.iterator||"@@iterator",y=g.toStringTag||"@@toStringTag",w="object"==typeof
t,k=e.regeneratorRuntime;if(k)return
void(w&&(t.exports=k));k=e.regeneratorRuntime=w?t.exports:{},k.wrap=n;var
x="suspendedStart",S="suspendedYield",E="executing",R="completed",C={},O={};O[v]=fu
nction(){return this};var N=Object.getPrototypeOf,T=N&&N(N(p([])));T&&T!
==m&&b.call(T,v)&&(O=T);var
j=a.prototype=i.prototype=Object.create(O);o.prototype=j.constructor=a,a.constructo
r=o,a[y]=o.displayName="GeneratorFunction",k.isGeneratorFunction=function(e){var
t="function"==typeof e&&e.constructor;return t?
t===o||"GeneratorFunction"===(t.displayName||t.name):!1},k.mark=function(e){return
Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,y in e||
(e[y]="GeneratorFunction")),e.prototype=Object.create(j),e},k.awrap=function(e)
{return{__await:e}},s(c.prototype),k.AsyncIterator=c,k.async=function(e,t,r,i){var
o=new c(n(e,t,r,i));return k.isGeneratorFunction(t)?o:o.next().then(function(e)
{return e.done?e.value:o.next()})},s(j),j[y]="Generator",j.toString=function()
{return"[object Generator]"},k.keys=function(e){var t=[];for(var n in
e)t.push(n);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in
e)return r.value=n,r.done=!1,r}return r.done=!
0,r}},k.values=p,_.prototype={constructor:_,reset:function(e)
{if(this.prev=0,this.next=0,this.sent=this._sent=f,this.done=!
1,this.delegate=null,this.tryEntries.forEach(d),!e)for(var t in
this)"t"===t.charAt(0)&&b.call(this,t)&&!
isNaN(+t.slice(1))&&(this[t]=f)},stop:function(){this.done=!0;var
e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return
this.rval},dispatchException:function(e){function t(t,r){return
o.type="throw",o.arg=e,n.next=t,!!r}if(this.done)throw e;for(var
n=this,r=this.tryEntries.length-1;r>=0;--r){var
i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return
t("end");if(i.tryLoc<=this.prev){var
a=b.call(i,"catchLoc"),s=b.call(i,"finallyLoc");if(a&&s)
{if(this.prev<i.catchLoc)return t(i.catchLoc,!0);if(this.prev<i.finallyLoc)return
t(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return t(i.catchLoc,!
0)}else{if(!s)throw new Error("try statement without catch or
finally");if(this.prev<i.finallyLoc)return t(i.finallyLoc)}}}},abrupt:function(e,t)
{for(var n=this.tryEntries.length-1;n>=0;--n){var
r=this.tryEntries[n];if(r.tryLoc<=this.prev&&b.call(r,"finallyLoc")&&this.prev<r.fi
nallyLoc){var
i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null)
;var o=i?i.completion:{};return o.type=e,o.arg=t,i?
this.next=i.finallyLoc:this.complete(o),C},complete:function(e,t)
{if("throw"===e.type)throw e.arg;"break"===e.type||"continue"===e.type?
this.next=e.arg:"return"===e.type?
(this.rval=e.arg,this.next="end"):"normal"===e.type&&t&&(this.next=t)},finish:funct
ion(e){for(var t=this.tryEntries.length-1;t>=0;--t){var
n=this.tryEntries[t];if(n.finallyLoc===e)return
this.complete(n.completion,n.afterLoc),d(n),C}},"catch":function(e){for(var
t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var
r=n.completion;if("throw"===r.type){var i=r.arg;d(n)}return i}}throw new
Error("illegal catch attempt")},delegateYield:function(e,t,n){return
this.delegate={iterator:p(e),resultName:t,nextLoc:n},C}}}("object"==typeof e?
e:"object"==typeof window?window:"object"==typeof self?
self:this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?
self:"undefined"!=typeof window?window:{})},{}]},{},[1]);

/* public/javascripts/underscore-1.8.3.js @ 1526073743 */
(function(){function e(e){function t(t,n,r,i,o,a){for(;o>=0&&a>o;o+=e){var s=i?
i[o]:o;r=n(r,t[s],s,t)}return r}return function(n,r,i,o){r=v(r,o,4);var a=!
R(n)&&g.keys(n),s=(a||n).length,c=e>0?0:s-1;return arguments.length<3&&(i=n[a?
a[c]:c],c+=e),t(n,r,i,a,c,s)}}function t(e){return function(t,n,r){n=y(n,r);for(var
i=E(t),o=e>0?0:i-1;o>=0&&i>o;o+=e)if(n(t[o],o,t))return o;return-1}}function
n(e,t,n){return function(r,i,o){var a=0,s=E(r);if("number"==typeof o)e>0?a=o>=0?
o:Math.max(o+s,a):s=o>=0?Math.min(o+1,s):o+s+1;else if(n&&o&&s)return
o=n(r,i),r[o]===i?o:-1;if(i!==i)return o=t(u.call(r,a,s),g.isNaN),o>=0?o+a:-
1;for(o=e>0?a:s-1;o>=0&&s>o;o+=e)if(r[o]===i)return o;return-1}}function r(e,t){var
n=j.length,r=e.constructor,i=g.isFunction(r)&&r.prototype||
s,o="constructor";for(g.has(e,o)&&!g.contains(t,o)&&t.push(o);n--;)o=j[n],o in
e&&e[o]!==i[o]&&!g.contains(t,o)&&t.push(o)}var
i=this,o=i._,a=Array.prototype,s=Object.prototype,c=Function.prototype,l=a.push,u=a
.slice,d=s.toString,_=s.hasOwnProperty,p=Array.isArray,h=Object.keys,f=c.bind,m=Obj
ect.create,b=function(){},g=function(e){return e instanceof g?e:this instanceof g?
void(this._wrapped=e):new g(e)};"undefined"!=typeof exports?("undefined"!=typeof
module&&module.exports&&(exports=module.exports=g),exports._=g):i._=g,g.VERSION="1.
8.3";var v=function(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return
function(n){return e.call(t,n)};case 2:return function(n,r){return
e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return
function(n,r,i,o){return e.call(t,n,r,i,o)}}return function(){return
e.apply(t,arguments)}},y=function(e,t,n){return null==e?g.identity:g.isFunction(e)?
v(e,t,n):g.isObject(e)?g.matcher(e):g.property(e)};g.iteratee=function(e,t){return
y(e,t,1/0)};var w=function(e,t){return function(n){var r=arguments.length;if(2>r||
null==n)return n;for(var i=1;r>i;i++)for(var
o=arguments[i],a=e(o),s=a.length,c=0;s>c;c++){var l=a[c];t&&void 0!==n[l]||
(n[l]=o[l])}return n}},k=function(e){if(!g.isObject(e))return{};if(m)return
m(e);b.prototype=e;var t=new b;return b.prototype=null,t},x=function(e){return
function(t){return null==t?void 0:t[e]}},S=Math.pow(2,53)-
1,E=x("length"),R=function(e){var t=E(e);return"number"==typeof
t&&t>=0&&S>=t};g.each=g.forEach=function(e,t,n){t=v(t,n);var
r,i;if(R(e))for(r=0,i=e.length;i>r;r++)t(e[r],r,e);else{var
o=g.keys(e);for(r=0,i=o.length;i>r;r++)t(e[o[r]],o[r],e)}return
e},g.map=g.collect=function(e,t,n){t=y(t,n);for(var r=!R(e)&&g.keys(e),i=(r||
e).length,o=Array(i),a=0;i>a;a++){var s=r?r[a]:a;o[a]=t(e[s],s,e)}return
o},g.reduce=g.foldl=g.inject=e(1),g.reduceRight=g.foldr=e(-
1),g.find=g.detect=function(e,t,n){var r;return r=R(e)?
g.findIndex(e,t,n):g.findKey(e,t,n),void 0!==r&&-1!==r?e[r]:void
0},g.filter=g.select=function(e,t,n){var r=[];return
t=y(t,n),g.each(e,function(e,n,i){t(e,n,i)&&r.push(e)}),r},g.reject=function(e,t,n)
{return g.filter(e,g.negate(y(t)),n)},g.every=g.all=function(e,t,n)
{t=y(t,n);for(var r=!R(e)&&g.keys(e),i=(r||e).length,o=0;i>o;o++){var a=r?
r[o]:o;if(!t(e[a],a,e))return!1}return!0},g.some=g.any=function(e,t,n)
{t=y(t,n);for(var r=!R(e)&&g.keys(e),i=(r||e).length,o=0;i>o;o++){var a=r?
r[o]:o;if(t(e[a],a,e))return!0}return!
1},g.contains=g.includes=g.include=function(e,t,n,r){return R(e)||(e=g.values(e)),
("number"!=typeof n||r)&&(n=0),g.indexOf(e,t,n)>=0},g.invoke=function(e,t){var
n=u.call(arguments,2),r=g.isFunction(t);return g.map(e,function(e){var i=r?
t:e[t];return null==i?i:i.apply(e,n)})},g.pluck=function(e,t){return
g.map(e,g.property(t))},g.where=function(e,t){return
g.filter(e,g.matcher(t))},g.findWhere=function(e,t){return
g.find(e,g.matcher(t))},g.max=function(e,t,n){var r,i,o=-1/0,a=-
1/0;if(null==t&&null!=e){e=R(e)?e:g.values(e);for(var s=0,c=e.length;c>s;s+
+)r=e[s],r>o&&(o=r)}else t=y(t,n),g.each(e,function(e,n,r){i=t(e,n,r),(i>a||i===-
1/0&&o===-1/0)&&(o=e,a=i)});return o},g.min=function(e,t,n){var
r,i,o=1/0,a=1/0;if(null==t&&null!=e){e=R(e)?e:g.values(e);for(var
s=0,c=e.length;c>s;s++)r=e[s],o>r&&(o=r)}else t=y(t,n),g.each(e,function(e,n,r)
{i=t(e,n,r),(a>i||1/0===i&&1/0===o)&&(o=e,a=i)});return o},g.shuffle=function(e)
{for(var t,n=R(e)?e:g.values(e),r=n.length,i=Array(r),o=0;r>o;o+
+)t=g.random(0,o),t!==o&&(i[o]=i[t]),i[t]=n[o];return i},g.sample=function(e,t,n)
{return null==t||n?(R(e)||(e=g.values(e)),e[g.random(e.length-
1)]):g.shuffle(e).slice(0,Math.max(0,t))},g.sortBy=function(e,t,n){return
t=y(t,n),g.pluck(g.map(e,function(e,n,r)
{return{value:e,index:n,criteria:t(e,n,r)}}).sort(function(e,t){var
n=e.criteria,r=t.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(r>n||void
0===r)return-1}return e.index-t.index}),"value")};var C=function(e){return
function(t,n,r){var i={};return n=y(n,r),g.each(t,function(r,o){var
a=n(r,o,t);e(i,r,a)}),i}};g.groupBy=C(function(e,t,n){g.has(e,n)?
e[n].push(t):e[n]=[t]}),g.indexBy=C(function(e,t,n)
{e[n]=t}),g.countBy=C(function(e,t,n){g.has(e,n)?e[n]+
+:e[n]=1}),g.toArray=function(e){return e?g.isArray(e)?u.call(e):R(e)?
g.map(e,g.identity):g.values(e):[]},g.size=function(e){return null==e?0:R(e)?
e.length:g.keys(e).length},g.partition=function(e,t,n){t=y(t,n);var
r=[],i=[];return g.each(e,function(e,n,o){(t(e,n,o)?r:i).push(e)}),
[r,i]},g.first=g.head=g.take=function(e,t,n){return null==e?void 0:null==t||n?
e[0]:g.initial(e,e.length-t)},g.initial=function(e,t,n){return
u.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))},g.last=function(e,t,n){return
null==e?void 0:null==t||n?e[e.length-1]:g.rest(e,Math.max(0,e.length-
t))},g.rest=g.tail=g.drop=function(e,t,n){return u.call(e,null==t||n?
1:t)},g.compact=function(e){return g.filter(e,g.identity)};var O=function(e,t,n,r)
{for(var i=[],o=0,a=r||0,s=E(e);s>a;a++){var c=e[a];if(R(c)&&(g.isArray(c)||
g.isArguments(c))){t||(c=O(c,t,n));var l=0,u=c.length;for(i.length+=u;u>l;)i[o+
+]=c[l++]}else n||(i[o++]=c)}return i};g.flatten=function(e,t){return O(e,t,!
1)},g.without=function(e){return
g.difference(e,u.call(arguments,1))},g.uniq=g.unique=function(e,t,n,r)
{g.isBoolean(t)||(r=n,n=t,t=!1),null!=n&&(n=y(n,r));for(var
i=[],o=[],a=0,s=E(e);s>a;a++){var c=e[a],l=n?n(c,a,e):c;t?(a&&o===l||
i.push(c),o=l):n?g.contains(o,l)||(o.push(l),i.push(c)):g.contains(i,c)||
i.push(c)}return i},g.union=function(){return g.uniq(O(arguments,!0,!
0))},g.intersection=function(e){for(var t=[],n=arguments.length,r=0,i=E(e);i>r;r++)
{var o=e[r];if(!g.contains(t,o)){for(var a=1;n>a&&g.contains(arguments[a],o);a+
+);a===n&&t.push(o)}}return t},g.difference=function(e){var t=O(arguments,!0,!
0,1);return g.filter(e,function(e){return!g.contains(t,e)})},g.zip=function()
{return g.unzip(arguments)},g.unzip=function(e){for(var t=e&&g.max(e,E).length||
0,n=Array(t),r=0;t>r;r++)n[r]=g.pluck(e,r);return n},g.object=function(e,t){for(var
n={},r=0,i=E(e);i>r;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return
n},g.findIndex=t(1),g.findLastIndex=t(-1),g.sortedIndex=function(e,t,n,r)
{n=y(n,r,1);for(var i=n(t),o=0,a=E(e);a>o;){var s=Math.floor((o+a)/2);n(e[s])<i?
o=s+1:a=s}return o},g.indexOf=n(1,g.findIndex,g.sortedIndex),g.lastIndexOf=n(-
1,g.findLastIndex),g.range=function(e,t,n){null==t&&(t=e||0,e=0),n=n||1;for(var
r=Math.max(Math.ceil((t-e)/n),0),i=Array(r),o=0;r>o;o++,e+=n)i[o]=e;return i};var
N=function(e,t,n,r,i){if(!(r instanceof t))return e.apply(n,i);var
o=k(e.prototype),a=e.apply(o,i);return g.isObject(a)?a:o};g.bind=function(e,t)
{if(f&&e.bind===f)return f.apply(e,u.call(arguments,1));if(!g.isFunction(e))throw
new TypeError("Bind must be called on a function");var
n=u.call(arguments,2),r=function(){return
N(e,r,t,this,n.concat(u.call(arguments)))};return r},g.partial=function(e){var
t=u.call(arguments,1),n=function(){for(var r=0,i=t.length,o=Array(i),a=0;i>a;a+
+)o[a]=t[a]===g?arguments[r++]:t[a];for(;r<arguments.length;)o.push(arguments[r+
+]);return N(e,n,this,this,o)};return n},g.bindAll=function(e){var
t,n,r=arguments.length;if(1>=r)throw new Error("bindAll must be passed function
names");for(t=1;r>t;t++)n=arguments[t],e[n]=g.bind(e[n],e);return
e},g.memoize=function(e,t){var n=function(r){var i=n.cache,o=""+(t?
t.apply(this,arguments):r);return g.has(i,o)||
(i[o]=e.apply(this,arguments)),i[o]};return n.cache={},n},g.delay=function(e,t){var
n=u.call(arguments,2);return setTimeout(function(){return
e.apply(null,n)},t)},g.defer=g.partial(g.delay,g,1),g.throttle=function(e,t,n){var
r,i,o,a=null,s=0;n||(n={});var c=function(){s=n.leading===!1?
0:g.now(),a=null,o=e.apply(r,i),a||(r=i=null)};return function(){var l=g.now();s||
n.leading!==!1||(s=l);var u=t-(l-s);return r=this,i=arguments,0>=u||u>t?
(a&&(clearTimeout(a),a=null),s=l,o=e.apply(r,i),a||(r=i=null)):a||n.trailing===!1||
(a=setTimeout(c,u)),o}},g.debounce=function(e,t,n){var r,i,o,a,s,c=function(){var
l=g.now()-a;t>l&&l>=0?r=setTimeout(c,t-l):(r=null,n||(s=e.apply(o,i),r||
(o=i=null)))};return function(){o=this,i=arguments,a=g.now();var l=n&&!r;return r||
(r=setTimeout(c,t)),l&&(s=e.apply(o,i),o=i=null),s}},g.wrap=function(e,t){return
g.partial(t,e)},g.negate=function(e){return function(){return!
e.apply(this,arguments)}},g.compose=function(){var e=arguments,t=e.length-1;return
function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return
r}},g.after=function(e,t){return function(){return--e<1?
t.apply(this,arguments):void 0}},g.before=function(e,t){var n;return function()
{return--
e>0&&(n=t.apply(this,arguments)),1>=e&&(t=null),n}},g.once=g.partial(g.before,2);va
r T=!
{toString:null}.propertyIsEnumerable("toString"),j=["valueOf","isPrototypeOf","toSt
ring","propertyIsEnumerable","hasOwnProperty","toLocaleString"];g.keys=function(e)
{if(!g.isObject(e))return[];if(h)return h(e);var t=[];for(var n in
e)g.has(e,n)&&t.push(n);return T&&r(e,t),t},g.allKeys=function(e){if(!
g.isObject(e))return[];var t=[];for(var n in e)t.push(n);return
T&&r(e,t),t},g.values=function(e){for(var
t=g.keys(e),n=t.length,r=Array(n),i=0;n>i;i++)r[i]=e[t[i]];return
r},g.mapObject=function(e,t,n){t=y(t,n);for(var
r,i=g.keys(e),o=i.length,a={},s=0;o>s;s++)r=i[s],a[r]=t(e[r],r,e);return
a},g.pairs=function(e){for(var t=g.keys(e),n=t.length,r=Array(n),i=0;n>i;i+
+)r[i]=[t[i],e[t[i]]];return r},g.invert=function(e){for(var
t={},n=g.keys(e),r=0,i=n.length;i>r;r++)t[e[n[r]]]=n[r];return
t},g.functions=g.methods=function(e){var t=[];for(var n in
e)g.isFunction(e[n])&&t.push(n);return
t.sort()},g.extend=w(g.allKeys),g.extendOwn=g.assign=w(g.keys),g.findKey=function(e
,t,n){t=y(t,n);for(var r,i=g.keys(e),o=0,a=i.length;a>o;o+
+)if(r=i[o],t(e[r],r,e))return r},g.pick=function(e,t,n){var
r,i,o={},a=e;if(null==a)return o;g.isFunction(t)?(i=g.allKeys(a),r=v(t,n)):
(i=O(arguments,!1,!1,1),r=function(e,t,n){return t in n},a=Object(a));for(var
s=0,c=i.length;c>s;s++){var l=i[s],u=a[l];r(u,l,a)&&(o[l]=u)}return
o},g.omit=function(e,t,n){if(g.isFunction(t))t=g.negate(t);else{var
r=g.map(O(arguments,!1,!1,1),String);t=function(e,t){return!g.contains(r,t)}}return
g.pick(e,t,n)},g.defaults=w(g.allKeys,!0),g.create=function(e,t){var n=k(e);return
t&&g.extendOwn(n,t),n},g.clone=function(e){return g.isObject(e)?g.isArray(e)?
e.slice():g.extend({},e):e},g.tap=function(e,t){return
t(e),e},g.isMatch=function(e,t){var n=g.keys(t),r=n.length;if(null==e)return!
r;for(var i=Object(e),o=0;r>o;o++){var a=n[o];if(t[a]!==i[a]||!(a in i))return!
1}return!0};var P=function(e,t,n,r){if(e===t)return 0!==e||1/e===1/t;if(null==e||
null==t)return e===t;e instanceof g&&(e=e._wrapped),t instanceof
g&&(t=t._wrapped);var i=d.call(e);if(i!==d.call(t))return!1;switch(i){case"[object
RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!
==+e?+t!==+t:0===+e?1/+e===1/t:+e===+t;case"[object Date]":case"[object
Boolean]":return+e===+t}var o="[object Array]"===i;if(!o){if("object"!=typeof
e||"object"!=typeof t)return!1;var a=e.constructor,s=t.constructor;if(a!==s&&!
(g.isFunction(a)&&a instanceof a&&g.isFunction(s)&&s instanceof s)&&"constructor"in
e&&"constructor"in t)return!1}n=n||[],r=r||[];for(var
c=n.length;c--;)if(n[c]===e)return r[c]===t;if(n.push(e),r.push(t),o)
{if(c=e.length,c!==t.length)return!1;for(;c--;)if(!P(e[c],t[c],n,r))return!
1}else{var l,u=g.keys(e);if(c=u.length,g.keys(t).length!==c)return!
1;for(;c--;)if(l=u[c],!g.has(t,l)||!P(e[l],t[l],n,r))return!1}return
n.pop(),r.pop(),!0};g.isEqual=function(e,t){return P(e,t)},g.isEmpty=function(e)
{return null==e?!0:R(e)&&(g.isArray(e)||g.isString(e)||g.isArguments(e))?
0===e.length:0===g.keys(e).length},g.isElement=function(e){return!(!e||1!
==e.nodeType)},g.isArray=p||function(e){return"[object
Array]"===d.call(e)},g.isObject=function(e){var t=typeof
e;return"function"===t||"object"===t&&!!
e},g.each(["Arguments","Function","String","Number","Date","RegExp","Error"],functi
on(e){g["is"+e]=function(t){return d.call(t)==="[object
"+e+"]"}}),g.isArguments(arguments)||(g.isArguments=function(e){return
g.has(e,"callee")}),"function"!=typeof/./&&"object"!=typeof
Int8Array&&(g.isFunction=function(e){return"function"==typeof e||!
1}),g.isFinite=function(e){return isFinite(e)&&!
isNaN(parseFloat(e))},g.isNaN=function(e){return g.isNumber(e)&&e!
==+e},g.isBoolean=function(e){return e===!0||e===!1||"[object
Boolean]"===d.call(e)},g.isNull=function(e){return
null===e},g.isUndefined=function(e){return void 0===e},g.has=function(e,t){return
null!=e&&_.call(e,t)},g.noConflict=function(){return
i._=o,this},g.identity=function(e){return e},g.constant=function(e){return
function(){return e}},g.noop=function(){},g.property=x,g.propertyOf=function(e)
{return null==e?function(){}:function(t){return
e[t]}},g.matcher=g.matches=function(e){return e=g.extendOwn({},e),function(t)
{return g.isMatch(t,e)}},g.times=function(e,t,n){var
r=Array(Math.max(0,e));t=v(t,n,1);for(var i=0;e>i;i++)r[i]=t(i);return
r},g.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-
e+1))},g.now=Date.now||function(){return(new Date).getTime()};var
I={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},M=g.in
vert(I),A=function(e){var t=function(t){return e[t]},n="(?:"+g.keys(e).join("|")
+")",r=RegExp(n),i=RegExp(n,"g");return function(e){return
e=null==e?"":""+e,r.test(e)?
e.replace(i,t):e}};g.escape=A(I),g.unescape=A(M),g.result=function(e,t,n){var
r=null==e?void 0:e[t];return void 0===r&&(r=n),g.isFunction(r)?r.call(e):r};var
D=0;g.uniqueId=function(e){var t=++D+"";return e?
e+t:t},g.templateSettings={escape:/\{\{(?![&])(.+?)\}\}/g,interpolate:/\{\{&(.
+?)\}\}/g,evaluate:/\{\[(?![&])(.+?)\]\}/g};var L=/(.)^/,
$={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},F=/\\|'|\
r|\n|\u2028|\u2029/g,B=function(e){return"\\"+$[e]};g.template=function(e,t,n){!
t&&n&&(t=n),t=g.defaults({},t,g.templateSettings);var r=RegExp([(t.escape||
L).source,(t.interpolate||L).source,(t.evaluate||L).source].join("|")+"|
$","g"),i=0,o="__p+='";e.replace(r,function(t,n,r,a,s){return
o+=e.slice(i,s).replace(F,B),i=s+t.length,n?
o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?
o+="'+\n((__t=("+r+"))==null?'':__t)
+\n'":a&&(o+="';\n"+a+"\n__p+='"),t}),o+="';\n",t.variable||(o="with(obj||{})
{\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function()
{__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{var a=new
Function(t.variable||"obj","_",o)}catch(s){throw s.source=o,s}var c=function(e)
{return a.call(this,e,g)},l=t.variable||"obj";return c.source="function("+l+")
{\n"+o+"}",c},g.chain=function(e){var t=g(e);return t._chain=!0,t};var
q=function(e,t){return e._chain?g(t).chain():t};g.mixin=function(e)
{g.each(g.functions(e),function(t){var n=g[t]=e[t];g.prototype[t]=function(){var
e=[this._wrapped];return
l.apply(e,arguments),q(this,n.apply(g,e))}})},g.mixin(g),g.each(["pop","push","reve
rse","shift","sort","splice","unshift"],function(e){var
t=a[e];g.prototype[e]=function(){var n=this._wrapped;return
t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete
n[0],q(this,n)}}),g.each(["concat","join","slice"],function(e){var
t=a[e];g.prototype[e]=function(){return
q(this,t.apply(this._wrapped,arguments))}}),g.prototype.value=function(){return
this._wrapped},g.prototype.valueOf=g.prototype.toJSON=g.prototype.value,g.prototype
.toString=function(){return""+this._wrapped},"function"==typeof
define&&define.amd&&define("underscore",[],function(){return g})}).call(this);

/* public/javascripts/rat.js @ 1526073743 */
var RAT_API_VERSION="2",ratInit=function(){function e(e,t){return
Math.floor(Math.random()*(t-e+1))+e}function t(e,t){var n=new
XMLHttpRequest;n.open("GET",e,!0),n.onreadystatechange=function()
{4==n.readyState&&200==n.status&&t(JSON.parse(n.responseText))},n.send()}function
n(){return(new Date).getTime()/1e3}function r(e){var t=[];for(var n in
e)if(e.hasOwnProperty(n)){var r=e[n];void
0===r&&(r=null),r=c.encode(JSON.stringify(r)),t.push(n+"="+encodeURIComponent(r))}r
eturn t.join("&")}function i(e,t,n){e.addEventListener?e.addEventListener(t,n,!
1):e.attachEvent&&e.attachEvent("on"+t,n)}function o(e,t,n){e.removeEventListener?
e.removeEventListener(t,n,!1):e.detachEvent&&e.detachEvent("on"+t,n)}function
a(e,t)
{this.hosts=e,this.es=[],this.vs=[],this.ts=[],this.otherData=t,this._flushTimeoutI
d=null,this.lastPing=null,this.numPings=0,this.dhost=this._randHost()
+RAT_API_VERSION+"/"}function s(e,t){function n(n,r){return"js_performance"===n?
e.logPerformanceEvent(n,r):(t&&(n=t+"."+n),void e.logEvent(n,r))}return
n.logEvent=n,n.parent=e,n.root=function(){return e.root()},n.disable=function()
{e.disable()},n.disabled=function(){return e.disabled()},n.s=function(e){return
s(n,e)},n.o=function(e,t,r,a,s){function c(){u||(u=!0)}function l(i){i||
(i=window.event),n.logEvent(r instanceof Function?r.call(this,i):r),o(e,t,l),a-=1,
(-1==a||a>0)&&setTimeout(function(){c()},s)}if(a=a||-1,s=s||1e3,!n.disabled()){var
u=!1;u=!0;i(e,t,l)}},n}Array.prototype.map||(Array.prototype.map=function(e,t){var
n,r,i;if(null==this)throw new TypeError(" this is null or not defined");var
o=Object(this),a=o.length>>>0;if("function"!=typeof e)throw new TypeError(e+" is
not a function");for(t&&(n=t),r=new Array(a),i=0;a>i;){var s,c;i in
o&&(s=o[i],c=e.call(n,s,i,o),r[i]=c),i++}return r});var
c={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",enco
de:function(e){var
t,n,r,i,o,a,s,l="",u=0;for(e=c._utf8_encode(e);u<e.length;)t=e.charCodeAt(u+
+),n=e.charCodeAt(u++),r=e.charCodeAt(u++),i=t>>2,o=(3&t)<<4|n>>4,a=(15&n)<<2|
r>>6,s=63&r,isNaN(n)?a=s=64:isNaN(r)&&(s=64),l=l+this._keyStr.charAt(i)
+this._keyStr.charAt(o)+this._keyStr.charAt(a)+this._keyStr.charAt(s);return
l},_utf8_encode:function(e){e=e.replace(/\r\n/g,"\n");for(var
t="",n=0;n<e.length;n++){var r=e.charCodeAt(n);128>r?
t+=String.fromCharCode(r):r>127&&2048>r?(t+=String.fromCharCode(r>>6|
192),t+=String.fromCharCode(63&r|128)):(t+=String.fromCharCode(r>>12|
224),t+=String.fromCharCode(r>>6&63|128),t+=String.fromCharCode(63&r|128))}return
t}};return a.prototype.start=function(){function e(){a._unloaded||(a._unloaded=!
0,t.lps&&(t.lps.parentElement.removeChild(t.lps),delete
t.lps,t.lps=null),t.logEvent("dom.window.beforeunload"),t.flushEvents(!0))}var
t=this;a._unloaded=!1,this._getVid(),i(window,"load",function(){t.docLoaded=!
0}),this.unloadf=e,i(window,"beforeunload",e),i(window,"unload",e)},a.prototype._ge
tVid=function(e,i,o,a){if(!this.disabled()){var s=a||this.dhost+"getvid.json?
callback=?&"+r({l:location.href,r:document.referrer||document.referer||
null,ea:this.otherData,ubtc:this._getUBTC()}),c=this;o=o||0,i=(i||9)-
1,t(s,function(t){if("success"!=t.status)return void(i>o?setTimeout(function()
{c._getVid(e,i,o+1,s)},1e3*Math.pow(2,o)):c.disable());if(c.vid=t.vid,c.lastFlushed
=n(),c._setupPing(),c.logTimeoutLen=t.logTimeoutLen,c._onGetVid){for(var
r=0;r<c._onGetVid.length;r++)c._onGetVid[r](c.vid);delete
c._onGetVid}e&&e(c.vid)})}},a.prototype._setupPing=function(){function e()
{t.lastPing=n(),t.numPings+=1,t._pingSetup=!
1,t._startFlushTimeout(),o(document,"mousemove",e),setTimeout(function()
{t._setupPing()},1e3)}if(!this.disabled()&&!this._pingSetup){this._pingSetup=!0;var
t=this;i(document,"mousemove",e)}},a.prototype._resetBuffers=function()
{this.es=[],this.ts=[],this.vs=[],this.lastFlushed=this.lastPing,this.lastPing=null
,this.numPings=0,this._clearFlushTimeout()},a.prototype._getUBTC=function(){return
this._ubtc=null!=$.parseQuery?this._ubtc||$.parseQuery(document.cookie.replace(/;
*/g,"&")).scribd_ubtc:this._ubtc||document.cookie.replace(/;
*/g,"&").parseQuery().scribd_ubtc,this._ubtc},a.prototype.flushEvents=function(t,i)
{var o=this;if(!this.disabled()){if(!this.vid)return void this.withVid(function()
{o.flushEvents()});"function"==typeof Scribd.log&&(title=this.es.join(" |
"),Scribd.log("$rat.parent.es: "+title),Scribd.log("$rat.parent.vs:
"+this.vs.map(function(e){return JSON.stringify(e)}).join(" | ")));var
a=r({es:this.es,ts:this.ts,vs:this.vs,n:n(),lp:this.lastPing,np:this.numPings,ubtc:
this._getUBTC()});this._resetBuffers();var o=this;if(t){var s=new
Image;s.src=this.dhost+this.vid+"/de.png?
rand="+e(0,1e5)+"&"+a,document.body.appendChild(s)}else
this._flushRawEvents(this.dhost+this.vid+"/de.json?callback=?
&"+a,i)}},a.prototype._flushRawEvents=function(e,n,r,i){if(!this.disabled()){i=i||
0,r=(r||9)-1,t(e,function()
{n&&n()})}},a.prototype.logPerformanceEvent=function(e,t){if(null!
=window.Scribd&&Scribd.logging_enabled&&(console.log("%cperformance:","background-
image: -webkit-gradient( linear, left top, right top, color-stop(0.0, #0D6069),
color-stop(1.0, #ED337C)); color:transparent; font-weight: bold; -webkit-
background-clip: text; font-size: 150%;",e,t),$
(document.body).trigger("scribd:rats_event",[e,t])),!this.disabled()){var
i=r({ts:n(),v:t,ubtc:this._getUBTC()}),o=function()
{this._flushRawEvents(this.dhost+this.vid+"/pt.json?callback=?
&"+i)},a=o.bind(this);this.vid?
a():this.withVid(a)}},a.prototype.logEvent=function(e,t){if(null!
=window.Scribd&&Scribd.logging_enabled&&(console.log("%crats:","background-image:
-webkit-gradient( linear, left top, right top, color-stop(0.0, #ED9C33), color-
stop(1.0, #ED337C)); color:transparent; font-weight: bold; -webkit-background-clip:
text; font-size: 150%;",e,t),$(document.body).trigger("scribd:rats_event",[e,t])),!
this.disabled()){var r=n();this.lastPing=r,t=t||
null,this.es.push(e),this.vs.push(t),this.ts.push(r),this._startFlushTimeout()}},a.
prototype.l=a.prototype.logEvent,a.prototype._startFlushTimeout=function(){if(!
this.disabled()){if(this.es.length>=10){var e=this;return void this.flushEvents(!
1,function(){e._setupPing()})}if(null===this._flushTimeoutId&&this.logTimeoutLen)
{var e=this;this._flushTimeoutId=window.setTimeout(function(){e.flushEvents(!
1,function()
{e._setupPing()})},this._getTimeoutLen())}}},a.prototype._getTimeoutLen=function()
{return this.logTimeoutLen-1e3*(n()-
this.lastFlushed)},a.prototype._clearFlushTimeout=function(){null!
==this._flushTimeoutId&&(window.clearTimeout(this._flushTimeoutId),this._flushTimeo
utId=null)},a.prototype._randHost=function(t){return
t=t||"",this.hosts[e(0,this.hosts.length-1)]+t},a.prototype.disable=function()
{this._disabled=!
0,this.unloadf&&(o(window,"beforeunload",this.unloadf),o(window,"unload",this.unloa
df))},a.prototype.disabled=function(){return
this._disabled},a.prototype.root=function(){return
this},a.prototype.withVid=function(e){return this.vid?
e(this.vid):void(this._onGetVid=this._onGetVid||[]).push(e)},function(e,t,n){var
r=new a(e,t);return n?r.disable():r.start(),s(r)}}();

/* public/javascripts/shared/i18n.js @ 1526073743 */
var I18n=I18n||{};I18n.defaultLocale=I18n.defaultLocale||"en_US",I18n.fallbacks=!
0,I18n.defaultSeparator=".",I18n.locale=I18n.locale||null,I18n.PLACEHOLDER=/(?:\{\
{|%\{)(.*?)(?:\}\}?)/gm,I18n.isValidNode=function(e,t,n){return null!==e[t]&&e[t]!
==n},I18n.lookup=function(e,t){var n,t=t||
{},r=e,i=this.prepareOptions(I18n.translations),o=i[t.locale||
I18n.currentLocale()],t=this.prepareOptions(t);if(o||!t.redo){if(!o)return
t.locale=I18n.defaultLocale,t.redo=!0,I18n.lookup(e,t);for("object"==typeof
e&&(e=e.join(this.defaultSeparator)),t.scope&&(e=t.scope.toString()
+this.defaultSeparator+e),e=e.split(this.defaultSeparator);e.length>0;)if(n=e.shift
(),o=o[n],!o){I18n.fallbacks&&!
t.fallback&&(o=I18n.lookup(r,this.prepareOptions({locale:I18n.defaultLocale,fallbac
k:!0},t)));break}return!
o&&this.isValidNode(t,"defaultValue")&&(o=t.defaultValue),o}},I18n.prepareOptions=f
unction(){for(var e,t={},n=arguments.length,r=0;n>r;r++)if(e=arguments[r])for(var i
in e)this.isValidNode(t,i)||(t[i]=e[i]);return t},I18n.interpolate=function(e,t)
{t=this.prepareOptions(t);var n,r,i,o=e.match(this.PLACEHOLDER);if(!o)return
e;for(var a=0;n=o[a];a+
+)i=n.replace(this.PLACEHOLDER,"$1"),r=t[i],this.isValidNode(t,i)||(r="[missing
"+n+" value]"),regex=new RegExp(n.replace(/\{/gm,"\\
{").replace(/\}/gm,"\\}")),e=e.replace(regex,r);return
e},I18n.translate=function(e,t){t=this.prepareOptions(t);var
n=this.lookup(e,t);try{return"object"==typeof n?"number"==typeof t.count?
this.pluralize(t.count,e,t):n:this.interpolate(n,t)}catch(r){return
this.missingTranslation(e)}},I18n.localize=function(e,t){switch(e)
{case"currency":return this.toCurrency(t);case"number":return
e=this.lookup("number.format"),this.toNumber(t,e);case"percentage":return
this.toPercentage(t);default:return e.match(/^(date|time)/)?
this.toTime(e,t):t.toString()}},I18n.parseDate=function(e){var
t,n;if("object"==typeof e)return e;if(t=e.toString().match(/(\d{4})-(\d{2})-(\d{2})
(?:[ T](\d{2}):(\d{2}):(\d{2}))?(Z|\+0000)?/)){for(var r=1;6>=r;r+
+)t[r]=parseInt(t[r],10)||0;t[2]-=1,n=t[7]?new
Date(Date.UTC(t[1],t[2],t[3],t[4],t[5],t[6])):new
Date(t[1],t[2],t[3],t[4],t[5],t[6])}else"number"==typeof e?(n=new
Date,n.setTime(e)):e.match(/\d+ \d+:\d+:\d+ [+-]\d+ \d+/)?(n=new
Date,n.setTime(Date.parse(e))):(n=new Date,n.setTime(Date.parse(e)));return
n},I18n.toTime=function(e,t){var n=this.parseDate(t),r=this.lookup(e);return
n.toString().match(/invalid/i)?n.toString():r?
this.strftime(n,r):n.toString()},I18n.strftime=function(e,t){var
n=this.lookup("date");if(!n)return e.toString();n.meridian=n.meridian||
["AM","PM"];var r=e.getDay(),i=e.getDate(),o=e.getFullYear(),a=e.getMonth()
+1,s=e.getHours(),c=s,l=s>11?
1:0,u=e.getSeconds(),d=e.getMinutes(),_=e.getTimezoneOffset(),p=Math.floor(Math.abs
(_/60)),h=Math.abs(_)-60*p,f=(_>0?"-":"+")+(p.toString().length<2?"0"+p:p)+
(h.toString().length<2?"0"+h:h);c>12?c-=12:0===c&&(c=12);var m=function(e){var
t="0"+e.toString();return t.substr(t.length-2)},b=t;return
b=b.replace("%a",n.abbr_day_names[r]),b=b.replace("%A",n.day_names[r]),b=b.replace(
"%b",n.abbr_month_names[a]),b=b.replace("%B",n.month_names[a]),b=b.replace("%d",m(i
)),b=b.replace("%e",i),b=b.replace("%-d",i),b=b.replace("%H",m(s)),b=b.replace("%-
H",s),b=b.replace("%I",m(c)),b=b.replace("%-
I",c),b=b.replace("%m",m(a)),b=b.replace("%-
m",a),b=b.replace("%M",m(d)),b=b.replace("%-
M",d),b=b.replace("%p",n.meridian[l]),b=b.replace("%S",m(u)),b=b.replace("%-
S",u),b=b.replace("%w",r),b=b.replace("%y",m(o)),b=b.replace("%-
y",m(o).replace(/^0+/,"")),b=b.replace("%Y",o),b=b.replace("%z",f)},I18n.toNumber=f
unction(e,t){t=this.prepareOptions(t,this.lookup("number.format"),
{precision:3,separator:".",delimiter:",",strip_insignificant_zeros:!1});var
n,r,i=0>e,o=Math.abs(e).toFixed(t.precision).toString(),a=o.split("."),s=[];for(e=a
[0],n=a[1];e.length>0;)s.unshift(e.substr(Math.max(0,e.length-
3),3)),e=e.substr(0,e.length-
3);if(r=s.join(t.delimiter),t.precision>0&&(r+=t.separator+a[1]),i&&(r="-"+r),t.str
ip_insignificant_zeros){var c={separator:new RegExp(t.separator.replace(/\./,"\\.")
+"$"),zeros:/0+$/};r=r.replace(c.zeros,"").replace(c.separator,"")}return
r},I18n.toCurrency=function(e,t){return
t=this.prepareOptions(t,this.lookup("number.currency.format"),this.lookup("number.f
ormat"),{unit:"$",precision:2,format:"%u
%n",delimiter:",",separator:"."}),e=this.toNumber(e,t),e=t.format.replace("%u",t.un
it).replace("%n",e)},I18n.toHumanSize=function(e,t){for(var
n,r,i=1024,o=e,a=0;o>=i&&4>a;)o/=i,a+=1;return 0===a?
(n=this.t("number.human.storage_units.units.byte",{count:o}),r=0):
(n=this.t("number.human.storage_units.units."+[null,"kb","mb","gb","tb"][a]),r=o-
Math.floor(o)===0?0:1),t=this.prepareOptions(t,{precision:r,format:"%n
%u",delimiter:""}),e=this.toNumber(o,t),e=t.format.replace("%u",n).replace("%n",e)}
,I18n.toPercentage=function(e,t){return
t=this.prepareOptions(t,this.lookup("number.percentage.format"),this.lookup("number
.format"),
{precision:3,separator:".",delimiter:""}),e=this.toNumber(e,t),e+"%"},I18n.pluraliz
e=function(e,t,n){var r;try{r=this.lookup(t,n)}catch(i){}if(!r)return
this.missingTranslation(t);var
o;switch(n=this.prepareOptions(n),n.count=e.toString(),Math.abs(e)){case
0:o=this.isValidNode(r,"zero")?r.zero:this.isValidNode(r,"none")?
r.none:this.isValidNode(r,"other")?
r.other:this.missingTranslation(t,"zero");break;case 1:o=this.isValidNode(r,"one")?
r.one:this.missingTranslation(t,"one");break;default:o=this.isValidNode(r,"other")?
r.other:this.missingTranslation(t,"other")}return
this.interpolate(o,n)},I18n.missingTranslation=function(){for(var e='[missing
"'+this.currentLocale(),t=arguments.length,n=0;t>n;n++)e+="."+arguments[n];return
e+='" translation]'},I18n.currentLocale=function(){return I18n.locale||
I18n.defaultLocale},I18n.t=I18n.translate,I18n.l=I18n.localize,I18n.p=I18n.pluraliz
e;

/* public/javascripts/rails.js @ 1526073743 */
!function(e,t){var n=function(){var t=e._data(document,"events");return
t&&t.click&&e.grep(t.click,function(e)
{return"rails"===e.namespace}).length};n()&&e.error("jquery-ujs has already been
loaded!");var r;e.rails=r={linkClickSelector:"a[data-confirm], a[data-method],
a[data-remote], a[data-disable-with]",inputChangeSelector:"select[data-remote],
input[data-remote], textarea[data-
remote]",formSubmitSelector:"form",formInputClickSelector:"form input[type=submit],
form input[type=image], form button[type=submit], form
button:not([type])",disableSelector:"input[data-disable-with], button[data-disable-
with], textarea[data-disable-with]",enableSelector:"input[data-disable-
with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-
with]:disabled",requiredInputSelector:"input[name]
[required]:not([disabled]),textarea[name]
[required]:not([disabled])",fileInputSelector:"input:file",linkDisableSelector:"a[d
ata-disable-with]",CSRFProtection:function(t){var n=e('meta[name="csrf-
token"]').attr("content");n&&t.setRequestHeader("X-CSRF-
Token",n)},fire:function(t,n,r){var i=e.Event(n);return t.trigger(i,r),i.result!==!
1},confirm:function(e){return confirm(e)},ajax:function(t){return
e.ajax(t)},href:function(e){return e.attr("href")},handleRemote:function(n){var
i,o,a,s,c,l,u,d;if(r.fire(n,"ajax:before")){if(s=n.data("cross-domain"),c=s===t?
null:s,l=n.data("with-credentials")||null,u=n.data("type")||
e.ajaxSettings&&e.ajaxSettings.dataType,n.is("form"))
{i=n.attr("method"),o=n.attr("action"),a=n.serializeArray();var
_=n.data("ujs:submit-button");_&&(a.push(_),n.data("ujs:submit-button",null))}else
n.is(r.inputChangeSelector)?
(i=n.data("method"),o=n.data("url"),a=n.serialize(),n.data("params")&&(a=a+"&"+n.da
ta("params"))):(i=n.data("method"),o=r.href(n),a=n.data("params")||
null);d={type:i||"GET",data:a,dataType:u,beforeSend:function(e,i){return
i.dataType===t&&e.setRequestHeader("accept","*/*;q=0.5,
"+i.accepts.script),r.fire(n,"ajax:beforeSend",[e,i])},success:function(e,t,r)
{n.trigger("ajax:success",[e,t,r])},complete:function(e,t)
{n.trigger("ajax:complete",[e,t])},error:function(e,t,r){n.trigger("ajax:error",
[e,t,r])},xhrFields:{withCredentials:l},crossDomain:c},o&&(d.url=o);var
p=r.ajax(d);return n.trigger("ajax:send",p),p}return!1},handleMethod:function(n)
{var i=r.href(n),o=n.data("method"),a=n.attr("target"),s=e("meta[name=csrf-
token]").attr("content"),c=e("meta[name=csrf-param]").attr("content"),l=e('<form
method="post" action="'+i+'"></form>'),u='<input name="_method" value="'+o+'"
type="hidden" />';c!==t&&s!==t&&(u+='<input name="'+c+'" value="'+s+'"
type="hidden"
/>'),a&&l.attr("target",a),l.hide().append(u).appendTo("body"),l.submit()},disableF
ormElements:function(t){t.find(r.disableSelector).each(function(){var
t=e(this),n=t.is("button")?"html":"val";t.data("ujs:enable-with",t[n]()),t[n]
(t.data("disable-with")),t.prop("disabled",!0)})},enableFormElements:function(t)
{t.find(r.enableSelector).each(function(){var
t=e(this),n=t.is("button")?"html":"val";t.data("ujs:enable-with")&&t[n]
(t.data("ujs:enable-with")),t.prop("disabled",!1)})},allowAction:function(e){var
t,n=e.data("confirm"),i=!1;return n?
(r.fire(e,"confirm")&&(i=r.confirm(n),t=r.fire(e,"confirm:complete",[i])),i&&t):!
0},blankInputs:function(t,n,r){var
i,o,a=e(),s=n||"input,textarea",c=t.find(s);return c.each(function()
{if(i=e(this),o=i.is(":checkbox,:radio")?i.is(":checked"):i.val(),!o==!r)
{if(i.is(":radio")&&c.filter('input:radio:checked[name="'+i.attr("name")
+'"]').length)return!0;a=a.add(i)}}),a.length?a:!1},nonBlankInputs:function(e,t)
{return r.blankInputs(e,t,!0)},stopEverything:function(t){return
e(t.target).trigger("ujs:everythingStopped"),t.stopImmediatePropagation(),!
1},callFormSubmitBindings:function(n,r){var i=n.data("events"),o=!0;return i!
==t&&i.submit!==t&&e.each(i.submit,function(e,t){return"function"==typeof
t.handler?o=t.handler(r):void 0}),o},disableElement:function(e){e.data("ujs:enable-
with",e.html()),e.html(e.data("disable-
with")),e.bind("click.railsDisable",function(e){return
r.stopEverything(e)})},enableElement:function(e){e.data("ujs:enable-with")!
==t&&(e.html(e.data("ujs:enable-with")),e.data("ujs:enable-with",!
1)),e.unbind("click.railsDisable")}},r.fire(e(document),"rails:attachBindings")&&(e
(document).delegate(r.linkDisableSelector,"ajax:complete",function()
{r.enableElement(e(this))}),e(document).delegate(r.linkClickSelector,"click.rails",
function(n){var i=e(this),o=i.data("method"),a=i.data("params");if(!
r.allowAction(i))return
r.stopEverything(n);if(i.is(r.linkDisableSelector)&&r.disableElement(i),i.data("rem
ote")!==t){if(!(!n.metaKey&&!n.ctrlKey||o&&"GET"!==o||a))return!0;var
s=r.handleRemote(i);return s===!1?r.enableElement(i):s.error(function()
{r.enableElement(i)}),!1}return i.data("method")?(r.handleMethod(i),!1):void
0}),e(document).delegate(r.inputChangeSelector,"change.rails",function(t){var
n=e(this);return r.allowAction(n)?(r.handleRemote(n),!
1):r.stopEverything(t)}),e(document).delegate(r.formSubmitSelector,"submit.rails",f
unction(n){var i=e(this),o=i.data("remote")!
==t,a=r.blankInputs(i,r.requiredInputSelector),s=r.nonBlankInputs(i,r.fileInputSele
ctor);if(!r.allowAction(i))return
r.stopEverything(n);if(a&&i.attr("novalidate")==t&&r.fire(i,"ajax:aborted:required"
,[a]))return r.stopEverything(n);if(o){if(s){setTimeout(function()
{r.disableFormElements(i)},13);var c=r.fire(i,"ajax:aborted:file",[s]);return c||
setTimeout(function(){r.enableFormElements(i)},13),c}return!
e.support.submitBubbles&&e().jquery<"1.7"&&r.callFormSubmitBindings(i,n)===!1?
r.stopEverything(n):(r.handleRemote(i),!1)}setTimeout(function()
{r.disableFormElements(i)},13)}),e(document).delegate(r.formInputClickSelector,"cli
ck.rails",function(t){var n=e(this);if(!r.allowAction(n))return
r.stopEverything(t);var i=n.attr("name"),o=i?
{name:i,value:n.val()}:null;n.closest("form").data("ujs:submit-
button",o)}),e(document).delegate(r.formSubmitSelector,"ajax:beforeSend.rails",func
tion(t)
{this==t.target&&r.disableFormElements(e(this))}),e(document).delegate(r.formSubmit
Selector,"ajax:complete.rails",function(t)
{this==t.target&&r.enableFormElements(e(this))}),e(function()
{csrf_token=e("meta[name=csrf-
token]").attr("content"),csrf_param=e("meta[name=csrf-
param]").attr("content"),e('form input[name="'+csrf_param+'"]').val(csrf_token)}))}
(jQuery);

/* public/javascripts/jquery.parsequery.js @ 1526073743 */
/**
* Copyright (c) 2010 Conrad Irwin <conrad@rapportive.com> MIT license.
* Based loosely on original: Copyright (c) 2008 mkmanning MIT license.
*
* Parses CGI query strings into javascript objects.
*
* See the README for details.
**/
!function(e){e.parseQuery=function(t){var
n={query:window.location.search||""},r={};return"string"==typeof
t&&(t={query:t}),e.extend(n,e.parseQuery,t),n.query=n.query.replace(/^\?/,""),n.que
ry.length>0&&e.each(n.query.split(n.separator),function(e,t){var
i=t.split("="),o=n.decode(i.shift(),null).toString(),a=n.decode(i.length?
i.join("="):null,o);(n.array_keys.test?n.array_keys.test(o):n.array_keys(o))?
(r[o]=r[o]||
[],r[o].push(a)):r[o]=a}),r},e.parseQuery.decode=e.parseQuery.default_decode=functi
on(e){return decodeURIComponent((e||"").replace(/\+/g,"
"))},e.parseQuery.array_keys=function(){return!1},e.parseQuery.separator="&"}
(window.jQuery||window.Zepto);

/* public/javascripts/jquery.dotdotdot.js @ 1526073743 */
/*
* jQuery dotdotdot 1.5.6
*
* Copyright (c) 2013 Fred Heusschen
* www.frebsite.nl
*
* Plugin website:
* dotdotdot.frebsite.nl
*
* Dual licensed under the MIT and GPL licenses.
* http://en.wikipedia.org/wiki/MIT_License
* http://en.wikipedia.org/wiki/GNU_General_Public_License
*/
!function(e){function t(e,t,n){var r=e.children(),o=!1;e.empty();for(var
a=0,s=r.length;s>a;a++){var c=r.eq(a);if(e.append(c),n&&e.append(n),i(e,t))
{c.remove(),o=!0;break}n&&n.remove()}return o}function n(t,o,a,s,c){var
l=t.contents(),u=!1;t.empty();for(var d="table, thead, tbody, tfoot, tr, col,
colgroup, object, embed, param, ol, ul, dl, select, optgroup, option, textarea,
script, style",_=0,p=l.length;p>_&&!u;_++){var h=l[_],f=e(h);"undefined"!=typeof
h&&(t.append(f),c&&t[t.is(d)?"after":"append"](c),3==h.nodeType?
i(a,s)&&(u=r(f,o,a,s,c)):u=n(f,o,a,s,c),u||c&&c.remove())}return u}function
r(e,t,n,a,l){var u=!1,d=e[0];if("undefined"==typeof d)return!1;for(var
_="letter"==a.wrap?"":" ",p=c(d).split(_),h=-1,f=-1,m=0,b=p.length-1;b>=m;){var
g=Math.floor((m+b)/2);if(g==f)break;f=g,s(d,p.slice(0,f+1).join(_)
+a.ellipsis),i(n,a)?b=f:(h=f,m=f)}if(-1==h||1==p.length&&0==p[0].length){var
v=e.parent();e.remove();var y=l?l.length:0;if(v.contents().size()>y){var
w=v.contents().eq(-1-y);u=r(w,t,n,a,l)}else{var d=v.prev().contents().eq(-1)
[0];if("undefined"!=typeof d){var k=o(c(d),a);s(d,k),v.remove(),u=!0}}}else{var
k=o(p.slice(0,h+1).join(_),a);u=!0,s(d,k)}return u}function i(e,t){return
e.innerHeight()>t.maxHeight}function o(t,n){for(;e.inArray(t.slice(-
1),n.lastCharacter.remove)>-1;)t=t.slice(0,-1);return e.inArray(t.slice(-
1),n.lastCharacter.noEllipsis)<0&&(t+=n.ellipsis),t}function a(e)
{return{width:e.innerWidth(),height:e.innerHeight()}}function s(e,t){e.innerText?
e.innerText=t:e.nodeValue?e.nodeValue=t:e.textContent&&(e.textContent=t)}function
c(e){return e.innerText?e.innerText:e.nodeValue?e.nodeValue:e.textContent?
e.textContent:""}function l(t,n){return"undefined"==typeof t?!1:t?"string"==typeof
t?(t=e(t,n),t.length?t:!1):"object"==typeof t?"undefined"==typeof t.jquery?!1:t:!
1:!1}function u(e){for(var
t=e.innerHeight(),n=["paddingTop","paddingBottom"],r=0,i=n.length;i>r;r++){var
o=parseInt(e.css(n[r]),10);isNaN(o)&&(o=0),t-=o}return t}function d(e,t){return e?
(t="string"==typeof t?"dotdotdot: "+t:["dotdotdot:",t],"undefined"!=typeof
window.console&&"undefined"!=typeof window.console.log&&window.console.log(t),!1):!
1}if(!e.fn.dotdotdot){e.fn.dotdotdot=function(r){if(0==this.length)return d(!0,'No
element found for "'+this.selector+'".'),this;if(this.length>1)return
this.each(function(){e(this).dotdotdot(r)});var
o=this;o.data("dotdotdot")&&o.trigger("destroy.dot"),o.bind_events=function()
{return o.bind("update.dot",function(r,a)
{r.preventDefault(),r.stopPropagation(),c.maxHeight="number"==typeof c.height?
c.height:u(o),c.maxHeight+=c.tolerance,"undefined"!=typeof a&&(("string"==typeof
a||a instanceof HTMLElement)&&(a=e("<div />").append(a).contents()),a instanceof
e&&(s=a)),m=o.wrapInner('<div class="dotdotdot"
/>').children(),m.empty().append(s.clone(!
0)).css({height:"auto",width:"auto",border:"none",padding:0,margin:0});var l=!1,d=!
1;return p.afterElement&&(l=p.afterElement.clone(!
0),p.afterElement.remove()),i(m,c)&&(d="children"==c.wrap?
t(m,c,l):n(m,o,m,c,l)),m.replaceWith(m.contents()),m=null,e.isFunction(c.callback)&
&c.callback.call(o[0],d,s),p.isTruncated=d,d}).bind("isTruncated.dot",function(e,t)
{return e.preventDefault(),e.stopPropagation(),"function"==typeof
t&&t.call(o[0],p.isTruncated),p.isTruncated}).bind("originalContent.dot",function(e
,t){return e.preventDefault(),e.stopPropagation(),"function"==typeof
t&&t.call(o[0],s),s}).bind("destroy.dot",function(e)
{e.preventDefault(),e.stopPropagation(),o.unwatch().unbind_events().empty().append(
s).data("dotdotdot",!1)}),o},o.unbind_events=function(){return
o.unbind(".dot"),o},o.watch=function(){if(o.unwatch(),"window"==c.watch){var
t=e(window),n=t.width(),r=t.height();t.bind("resize.dot"+p.dotId,function()
{n==t.width()&&r==t.height()&&c.windowResizeFix||
(n=t.width(),r=t.height(),f&&clearInterval(f),f=setTimeout(function()
{o.trigger("update.dot")},10))})}else h=a(o),f=setInterval(function(){var e=a(o);
(h.width!=e.width||h.height!
=e.height)&&(o.trigger("update.dot"),h=a(o))},100);return o},o.unwatch=function()
{return e(window).unbind("resize.dot"+p.dotId),f&&clearInterval(f),o};var
s=o.contents(),c=e.extend(!0,
{},e.fn.dotdotdot.defaults,r),p={},h={},f=null,m=null;return
p.afterElement=l(c.after,o),p.isTruncated=!1,p.dotId=_++,o.data("dotdotdot",!
0).bind_events().trigger("update.dot"),c.watch&&o.watch(),o},e.fn.dotdotdot.default
s={ellipsis:"... ",wrap:"word",lastCharacter:{remove:["
",",",";",".","!","?"],noEllipsis:
[]},tolerance:0,callback:null,after:null,height:null,watch:!1,windowResizeFix:!
0,debug:!1};var _=1,p=e.fn.html;e.fn.html=function(e){return"undefined"!=typeof e?
this.data("dotdotdot")&&"function"!=typeof e?this.trigger("update",
[e]):p.call(this,e):p.call(this)};var h=e.fn.text;e.fn.text=function(t)
{if("undefined"!=typeof t){if(this.data("dotdotdot")){var n=e("<div />");return
n.text(t),t=n.html(),n.remove(),this.trigger("update",[t])}return
h.call(this,t)}return h.call(this)}}}(jQuery);
/* public/javascripts/jquery.inview.js @ 1526073743 */
!function(e){function t(){var
t,n,r={height:l.innerHeight,width:l.innerWidth};return r.height||(t=c.compatMode,
(t||!e.support.boxModel)&&(n="CSS1Compat"===t?
u:c.body,r={height:n.clientHeight,width:n.clientWidth})),r}function n()
{return{top:l.pageYOffset||u.scrollTop||c.body.scrollTop,left:l.pageXOffset||
u.scrollLeft||c.body.scrollLeft}}function r(){var
r,a=e(),c=0;if(e.each(s,function(e,t){var n=t.data.selector,r=t.$element;a=a.add(n?
r.find(n):r)}),r=a.length)for(i=i||t(),o=o||n();r>c;c++)if(e.contains(u,a[c])){var
l,d,_,p=e(a[c]),h={height:p.height(),width:p.width()},f=p.offset(),m=p.data("inview
");if(!o||!
i)return;f.top+h.height>o.top&&f.top<o.top+i.height&&f.left+h.width>o.left&&f.left<
o.left+i.width?
(l=o.left>f.left?"right":o.left+i.width<f.left+h.width?"left":"both",d=o.top>f.top?
"bottom":o.top+i.height<f.top+h.height?"top":"both",_=l+"-"+d,m&&m===_||
p.data("inview",_).trigger("inview",[!0,l,d])):m&&p.data("inview",!
1).trigger("inview",[!1]).trigger("out_of_view")}}var
i,o,a,s={},c=document,l=window,u=c.documentElement,d=e.expando;e.event.special.invi
ew={add:function(t){s[t.guid+"-"+this[d]]={data:t,$element:e(this)},a||
e.isEmptyObject(s)||(a=setInterval(r,250))},remove:function(t){try{delete
s[t.guid+"-"+this[d]]}catch(n)
{}e.isEmptyObject(s)&&(clearInterval(a),a=null)},run:function()
{r()}},e(l).bind("scroll resize",function(){i=o=null}),!
u.addEventListener&&u.attachEvent&&u.attachEvent("onfocusin",function(){o=null})}
(jQuery);

/* public/javascripts/seedrandom.js @ 1526073743 */
/**

seedrandom.js
=============

Seeded random number generator for Javascript.

version 2.3.10
Author: David Bau
Date: 2014 Sep 20

Can be used as a plain script, a node.js module or an AMD module.

Script tag usage


----------------

<script src=//cdnjs.cloudflare.com/ajax/libs/seedrandom/2.3.10/seedrandom.min.js>
</script>

// Sets Math.random to a PRNG initialized using the given explicit seed.


Math.seedrandom('hello.');
console.log(Math.random()); // Always 0.9282578795792454
console.log(Math.random()); // Always 0.3752569768646784

// Sets Math.random to an ARC4-based PRNG that is autoseeded using the


// current time, dom state, and other accumulated local entropy.
// The generated seed string is returned.
Math.seedrandom();
console.log(Math.random()); // Reasonably unpredictable.
// Seeds using the given explicit seed mixed with accumulated entropy.
Math.seedrandom('added entropy.', { entropy: true });
console.log(Math.random()); // As unpredictable as added entropy.

// Use "new" to create a local prng without altering Math.random.


var myrng = new Math.seedrandom('hello.');
console.log(myrng()); // Always 0.9282578795792454

Node.js usage
-------------

npm install seedrandom

// Local PRNG: does not affect Math.random.


var seedrandom = require('seedrandom');
var rng = seedrandom('hello.');
console.log(rng()); // Always 0.9282578795792454

// Autoseeded ARC4-based PRNG.


rng = seedrandom();
console.log(rng()); // Reasonably unpredictable.

// Global PRNG: set Math.random.


seedrandom('hello.', { global: true });
console.log(Math.random()); // Always 0.9282578795792454

// Mixing accumulated entropy.


rng = seedrandom('added entropy.', { entropy: true });
console.log(rng()); // As unpredictable as added entropy.

Require.js usage
----------------

Similar to node.js usage:

bower install seedrandom

require(['seedrandom'], function(seedrandom) {
var rng = seedrandom('hello.');
console.log(rng()); // Always 0.9282578795792454
});

Network seeding
---------------

<script src=//cdnjs.cloudflare.com/ajax/libs/seedrandom/2.3.10/seedrandom.min.js>
</script>

<!-- Seeds using urandom bits from a server. -->


<script src=//jsonlib.appspot.com/urandom?callback=Math.seedrandom">
</script>

<!-- Seeds mixing in random.org bits -->


<script>
(function(x, u, s){
try {
// Make a synchronous request to random.org.
x.open('GET', u, false);
x.send();
s = unescape(x.response.trim().replace(/^|\s/g, '%'));
} finally {
// Seed with the response, or autoseed on failure.
Math.seedrandom(s, !!s);
}
})(new XMLHttpRequest, 'https://www.random.org/integers/' +
'?num=256&min=0&max=255&col=1&base=16&format=plain&rnd=new');
</script>

Reseeding using user input


--------------------------

var seed = Math.seedrandom(); // Use prng with an automatic seed.


document.write(Math.random()); // Pretty much unpredictable x.

var rng = new Math.seedrandom(seed); // A new prng with the same seed.
document.write(rng()); // Repeat the 'unpredictable' x.

function reseed(event, count) { // Define a custom entropy collector.


var t = [];
function w(e) {
t.push([e.pageX, e.pageY, +new Date]);
if (t.length &lt; count) { return; }
document.removeEventListener(event, w);
Math.seedrandom(t, { entropy: true });
}
document.addEventListener(event, w);
}
reseed('mousemove', 100); // Reseed after 100 mouse moves.

The "pass" option can be used to get both the prng and the seed.
The following returns both an autoseeded prng and the seed as an object,
without mutating Math.random:

var obj = Math.seedrandom(null, { pass: function(prng, seed) {


return { random: prng, seed: seed };
}});

Version notes
-------------

The random number sequence is the same as version 1.0 for string seeds.
* Version 2.0 changed the sequence for non-string seeds.
* Version 2.1 speeds seeding and uses window.crypto to autoseed if present.
* Version 2.2 alters non-crypto autoseeding to sweep up entropy from plugins.
* Version 2.3 adds support for "new", module loading, and a null seed arg.
* Version 2.3.1 adds a build environment, module packaging, and tests.
* Version 2.3.4 fixes bugs on IE8, and switches to MIT license.
* Version 2.3.6 adds a readable options object argument.
* Version 2.3.10 adds support for node.js crypto (contributed by ctd1500).

The standard ARC4 key scheduler cycles short keys, which means that
seedrandom('ab') is equivalent to seedrandom('abab') and 'ababab'.
Therefore it is a good idea to add a terminator to avoid trivial
equivalences on short string seeds, e.g., Math.seedrandom(str + '\0').
Starting with version 2.0, a terminator is added automatically for
non-string seeds, so seeding with the number 111 is the same as seeding
with '111\0'.

When seedrandom() is called with zero args or a null seed, it uses a


seed drawn from the browser crypto object if present. If there is no
crypto support, seedrandom() uses the current time, the native rng,
and a walk of several DOM objects to collect a few bits of entropy.

Each time the one- or two-argument forms of seedrandom are called,


entropy from the passed seed is accumulated in a pool to help generate
future seeds for the zero- and two-argument forms of seedrandom.

On speed - This javascript implementation of Math.random() is several


times slower than the built-in Math.random() because it is not native
code, but that is typically fast enough. Some details (timings on
Chrome 25 on a 2010 vintage macbook):

* seeded Math.random() - avg less than 0.0002 milliseconds per call


* seedrandom('explicit.') - avg less than 0.2 milliseconds per call
* seedrandom('explicit.', true) - avg less than 0.2 milliseconds per call
* seedrandom() with crypto - avg less than 0.2 milliseconds per call

Autoseeding without crypto is somewhat slower, about 20-30 milliseconds on


a 2012 windows 7 1.5ghz i5 laptop, as seen on Firefox 19, IE 10, and Opera.
Seeded rng calls themselves are fast across these browsers, with slowest
numbers on Opera at about 0.0005 ms per seeded Math.random().

LICENSE (MIT)
-------------

Copyright 2014 David Bau.

Permission is hereby granted, free of charge, to any person obtaining


a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be


included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,


EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

*/
!function(e,t,n,r,i,o,a,s,c){function l(e){var
t,n=e.length,i=this,o=0,a=i.i=i.j=0,s=i.S=[];for(n||(e=[n++]);r>o;)s[o]=o+
+;for(o=0;r>o;o++)s[o]=s[a=g&a+e[o%n]+(t=s[o])],s[a]=t;(i.g=function(e){for(var
t,n=0,o=i.i,a=i.j,s=i.S;e--;)t=s[o=g&o+1],n=n*r+s[g&(s[o]=s[a=g&a+t])+
(s[a]=t)];return i.i=o,i.j=a,n})(r)}function u(e,t){var n,r=[],i=typeof
e;if(t&&"object"==i)for(n in e)try{r.push(u(e[n],t-1))}catch(o){}return r.length?
r:"string"==i?e:e+"\x00"}function d(e,t){for(var
n,r=e+"",i=0;i<r.length;)t[g&i]=g&(n^=19*t[g&i])+r.charCodeAt(i++);return
p(t)}function _(n){try{return h?p(h.randomBytes(r)):(e.crypto.getRandomValues(n=new
Uint8Array(r)),p(n))}catch(i){return[+new Date,e,
(n=e.navigator)&&n.plugins,e.screen,p(t)]}}function p(e){return
String.fromCharCode.apply(0,e)}var h,f=n.pow(r,i),m=n.pow(2,o),b=2*m,g=r-
1,v=n["seed"+c]=function(e,o,a){var s=[];o=1==o?{entropy:!0}:o||{};var
h=d(u(o.entropy?[e,p(t)]:null==e?_():e,3),s),g=new l(s);return d(p(g.S),t),
(o.pass||a||function(e,t,r){return r?(n[c]=e,t):e})(function(){for(var
e=g.g(i),t=f,n=0;m>e;)e=(e+n)*r,t*=r,n=g.g(1);for(;e>=b;)e/=2,t/=2,n>>>=1;return(e+
n)/t},h,"global"in o?o.global:this==n)};if(d(n[c](),t),a&&a.exports)
{a.exports=v;try{h=require("crypto")}catch(y){}}else s&&s.amd&&s(function(){return
v})}(this,[],Math,256,6,52,"object"==typeof module&&module,"function"==typeof
define&&define,"random");

/* public/javascripts/intro.js @ 1526073743 */
/**
* Intro.js v0.8.0
* https://github.com/usablica/intro.js
* MIT licensed
*
* Copyright (C) 2013 usabli.ca - A weekend project by Afshin Mehrabani
(@afshinmeh)
* Modified by conanbatt - https://github.com/conanbatt/intro.js
*/
!function(e,t){"object"==typeof exports?t(exports):"function"==typeof
define&&define.amd?define(["exports"],t):t(e)}(this,function(e){function t(e)
{this._targetElement=e,this._options={firstNextLabel:"Learn
more",nextLabel:"Next",prevLabel:"&larr; Back",skipLabel:"No
Thanks",doneLabel:"Finish
Tour",tooltipPosition:"bottom",tooltipClass:"",exitOnEsc:!0,exitOnOverlayClick:!
0,showStepNumbers:!0,keyboardNavigation:!0,showButtons:!0,showBullets:!
0,scrollToElement:!
0,custom_element:"",introName:"",cssClasses:"",positioningOffset:0}}function n(e)
{var t=[],n=this;if(this._options.steps)for(var
i=[],c=0,u=this._options.steps.length;u>c;c++){var
d=r(this._options.steps[c]);if(d.step=t.length+1,"string"==typeof
d.element&&(d.element=document.querySelector(d.element)),"undefined"==typeof
d.element||null==d.element){var
_=document.querySelector(".introjsFloatingElement");null==_&&(_=document.createElem
ent("div"),_.className="introjsFloatingElement",document.body.appendChild(_)),d.ele
ment=_,d.position="floating"}null!=d.element&&t.push(d)}else{var
i=e.querySelectorAll("*[data-intro]");if(i.length<1)return!1;for(var
c=0,p=i.length;p>c;c++){var f=i[c],m=parseInt(f.getAttribute("data-
step"),10);m>0&&(t[m-1]={element:f,intro:f.getAttribute("data-
intro"),step:parseInt(f.getAttribute("data-
step"),10),tooltipClass:f.getAttribute("data-
tooltipClass"),position:f.getAttribute("data-position")||
this._options.tooltipPosition})}for(var b=0,c=0,p=i.length;p>c;c++){var
f=i[c];if(null==f.getAttribute("data-step")){for(;;){if("undefined"==typeof
t[b])break;b++}t[b]={element:f,intro:f.getAttribute("data-
intro"),step:b+1,tooltipClass:f.getAttribute("data-
tooltipClass"),position:f.getAttribute("data-position")||
this._options.tooltipPosition}}}}for(var g=[],v=0;v<t.length;v+
+)t[v]&&g.push(t[v]);if(t=g,t.sort(function(e,t){return e.step-
t.step}),n._introItems=t,h.call(n,e)){o.call(n);{e.querySelector(".introjs-
skipbutton"),e.querySelector(".introjs-nextbutton")}n._onKeyDown=function(t)
{27===t.keyCode&&1==n._options.exitOnEsc?(s.call(n,e),void 0!
=n._introExitCallback&&n._introExitCallback.call(n)):37===t.keyCode?a.call(n):
(39===t.keyCode||13===t.keyCode)&&(o.call(n),t.preventDefault?
t.preventDefault():t.returnValue=!1)},n._onResize=function()
{l.call(n,document.querySelector(".introjs-helperLayer"))},window.addEventListener?
(this._options.keyboardNavigation&&window.addEventListener("keydown",n._onKeyDown,!
0),window.addEventListener("resize",n._onResize,!
0)):document.attachEvent&&(this._options.keyboardNavigation&&document.attachEvent("
onkeydown",n._onKeyDown),document.attachEvent("onresize",n._onResize))}return!
1}function r(e){if(null==e||"object"!=typeof e||"undefined"!=typeof
e.nodeType)return e;var t={};for(var n in e)t[n]=r(e[n]);return t}function i(e)
{this._currentStep=e-2,"undefined"!=typeof this._introItems&&o.call(this)}function
o(){if(this._direction="forward","undefined"==typeof this._currentStep?
this._currentStep=0:+
+this._currentStep,this._introItems.length<=this._currentStep)return
Scribd.track_event(this._options.introName,"complete",this._currentStep),"function"
==typeof this._introCompleteCallback&&this._introCompleteCallback.call(this),void
s.call(this,this._targetElement);var
e=this._introItems[this._currentStep];"undefined"!=typeof
this._introBeforeChangeCallback&&this._introBeforeChangeCallback.call(this,e.elemen
t),Scribd.track_event(this._options.introName,"view",this._currentStep),u.call(this
,e)}function a(){if(this._direction="backward",0===this._currentStep)return!1;var
e=this._introItems[--this._currentStep];"undefined"!=typeof
this._introBeforeChangeCallback&&this._introBeforeChangeCallback.call(this,e.elemen
t),u.call(this,e)}function s(e)
{Scribd.track_event(this._options.introName,"exit",this._currentStep);var
t=e.querySelector(".introjs-overlay");if(null!=t)
{t.style.opacity=0,setTimeout(function()
{t.parentNode&&t.parentNode.removeChild(t)},500);var n=e.querySelector(".introjs-
helperLayer");n&&n.parentNode.removeChild(n);var r=e.querySelector(".introjs-
blockerLayer");r&&r.parentNode.removeChild(r);var
i=document.querySelector(".introjsFloatingElement");i&&i.parentNode.removeChild(i);
var o=document.querySelector(".introjs-
showElement");o&&(o.className=o.className.replace(/introjs-[a-zA-Z]
+/g,"").replace(/^\s+|\s+$/g,""));var a=document.querySelectorAll(".introjs-
fixParent");if(a&&a.length>0)for(var s=a.length-
1;s>=0;s--)a[s].className=a[s].className.replace(/introjs-
fixParent/g,"").replace(/^\s+|\s+$/g,"");window.removeEventListener?
window.removeEventListener("keydown",this._onKeyDown,!
0):document.detachEvent&&document.detachEvent("onkeydown",this._onKeyDown),this._cu
rrentStep=void 0}}function c(e,t,n,r)
{if(t.style.top=null,t.style.right=null,t.style.bottom=null,t.style.left=null,t.sty
le.marginLeft=null,t.style.marginTop=null,n.style.display="inherit","undefined"!
=typeof r&&null!
=r&&(r.style.top=null,r.style.left=null),this._introItems[this._currentStep]){var
i="",o=this._introItems[this._currentStep];i="string"==typeof o.tooltipClass?
o.tooltipClass:this._options.tooltipClass,t.className=("introjs-tooltip
"+i).replace(/^\s+|\s+$/g,"");var
i=this._options.tooltipClass,a=this._introItems[this._currentStep].position;switch(
a){case"top":t.style.left="15px",t.style.top="-"+
(f(t).height+10+this._options.positioningOffset)+"px",n.className="introjs-arrow
bottom";break;case"right":t.style.left=f(e).width+20+
(this._options.positioningOffset-10)+"px",n.className="introjs-arrow
left",f(t).top<0&&(t.style.top=Math.abs(f(t).top)
+5+"px");break;case"left":1==this._options.showStepNumbers&&(t.style.top="15px"),t.
style.right=f(e).width+20+(this._options.positioningOffset-
10)+"px",n.className="introjs-arrow
right",f(t).top<0&&(t.style.top=Math.abs(f(t).top)
+5+"px");break;case"floating":n.style.display="none";var
s=f(t);t.style.left="50%",t.style.top="50%",t.style.marginLeft="-"+s.width/2+"px",t
.style.marginTop="-"+s.height/2+"px","undefined"!=typeof r&&null!
=r&&(r.style.left="-"+(s.width/2+18)+"px",r.style.top="-"+
(s.height/2+18)+"px");break;case"bottom":default:t.style.bottom="-"+
(f(t).height+10+this._options.positioningOffset)+"px",n.className="introjs-arrow
top"}}}function l(e){if(e){if(!this._introItems[this._currentStep])return;var
t=this._introItems[this._currentStep],n=f(t.element),r=10;"floating"==t.position&&(
r=0);var i=-2;if(n.width+r==0&&(i=0),e.setAttribute("style","width: "+(n.width+r+i)
+"px; height:"+(n.height+r)+"px; top:"+(n.top-5)+"px;left: "+(n.left-5)+"px;"),1!
=e.previousSibling.className.indexOf("introjs-blockerLayer")){var
o=e.previousSibling;o.className=this._introItems[this._currentStep].block_interacti
on?"introjs-blockerLayer enable "+this._options.cssClasses:"introjs-blockerLayer
"+this._options.cssClasses,o.setAttribute("style","width: "+(n.width+r+i)+"px;
height:"+(n.height+r)+"px; top:"+(n.top-5)+"px;left: "+(n.left-5)+"px;")}}}function
u(e){"undefined"!=typeof
this._introChangeCallback&&this._introChangeCallback.call(this,e.element);{var
t=this,n=document.querySelector(".introjs-helperLayer");f(e.element)}if(null!=n)
{var r=n.querySelector(".introjs-helperNumberLayer"),i=n.querySelector(".introjs-
tooltiptext"),u=n.querySelector(".introjs-arrow"),h=n.querySelector(".introjs-
scribd-image"),m=n.querySelector(".introjs-scribd-title
div"),b=n.querySelector(".introjs-tooltip"),g=n.querySelector(".introjs-
skipbutton"),v=n.querySelector(".introjs-prevbutton"),y=n.querySelector(".introjs-
close"),w=n.querySelector(".introjs-nextbutton");if(b.style.opacity=0,null!=r){var
k=this._introItems[e.step-2>=0?e.step-2:0];(null!
=k&&"forward"==this._direction&&"floating"==k.position||"backward"==this._direction
&&"floating"==e.position)&&(r.style.opacity=0)}l.call(t,n);var
x=document.querySelectorAll(".introjs-fixParent");if(x&&x.length>0)for(var
S=x.length-1;S>=0;S--)x[S].className=x[S].className.replace(/introjs-
fixParent/g,"").replace(/^\s+|\s+$/g,"");var E=document.querySelector(".introjs-
showElement");E.className=E.className.replace(/introjs-[a-zA-Z]
+/g,"").replace(/^\s+|\s+
$/g,""),t._lastShowElementTimer&&clearTimeout(t._lastShowElementTimer),t._lastShowE
lementTimer=setTimeout(function(){null!
=r&&(r.innerHTML=e.step),i.innerHTML=e.intro,c.call(t,e.element,b,u,r),n.querySelec
tor(".introjs-bullets li > a.active").className="",n.querySelector('.introjs-
bullets li > a[data-
stepnumber="'+e.step+'"]').className="active",b.style.opacity=1,n.style.opacity=1,e
.image_path&&h?
(h.src=e.image_path,h.style.display="inherit"):h.style.display="none",m.innerHTML=e
.title||this._options.feature_title},650)}else{var
R=document.createElement("div"),C=document.createElement("div"),O=document.createEl
ement("div"),N=document.createElement("img"),T=document.createElement("div"),j=docu
ment.createElement("div"),P=document.createElement("div"),I=document.createElement(
"div"),M=document.createElement("div");R.className="introjs-helperLayer
"+this._options.cssClasses,C.className="introjs-
blockerLayer",this._targetElement.appendChild(C),this._targetElement.appendChild(R)
,l.call(t,R),T.className="introjs-arrow",P.className="introjs-
tooltiptext",P.innerHTML=e.intro,this._options.feature_title&&(O.className="introjs
-scribd-
title",pre_title=document.createElement("div"),pre_title.className="pre_title",pre_
title.innerHTML="Featuring",feature_title=document.createElement("div"),feature_tit
le.innerHTML=e.title||
this._options.feature_title,y=document.createElement("span"),y.className="introjs-
close icon-
close",O.appendChild(feature_title),O.appendChild(y)),e.image_path&&(N.className="i
ntrojs-scribd-image",N.src=e.image_path),M.className="introjs-bullets";var
A=document.createElement("ul");this._options.showBullets===!
1&&(A.style.display="none");for(var S=0,D=this._introItems.length;D>S;S++){var
L=document.createElement("li"),$=document.createElement("a");$.onclick=function()
{t.goToStep(this.getAttribute("data-stepnumber"))},0===S&&($.className="active"),
$.href="javascript:void(0);",$.innerHTML="&nbsp;",$.setAttribute("data-
stepnumber",this._introItems[S].step),L.ap
pendChild($),A.appendChild(L)}if(M.appendChild(A),I.className="introjs-
tooltipbuttons",this._options.showButtons===!
1&&(I.style.display="none"),j.className="introjs-
tooltip",1==this._options.showStepNumbers){var
F=document.createElement("span");F.className="introjs-
helperNumberLayer",F.innerHTML=e.step,R.appendChild(F)}j.appendChild(T),R.appendChi
ld(j);var w=document.createElement("a");w.onclick=function(){t._introItems.length-
1!
=t._currentStep&&o.call(t)},w.href="javascript:void(0);",w.innerHTML=this._options.
nextLabel;var v=document.createElement("a");v.onclick=function(){0!
=t._currentStep&&a.call(t)},v.href="javascript:void(0);",v.innerHTML=this._options.
prevLabel;var g=document.createElement("a");g.className="introjs-button introjs-
skipbutton",g.href="javascript:void(0);",g.innerHTML=this._options.skipLabel,g.oncl
ick=function(){t._introItems.length-1==t._currentStep&&"function"==typeof
t._introCompleteCallback&&(t._introCompleteCallback.call(t),Scribd.track_event(t._o
ptions.introName,"complete",t._currentStep)),t._introItems.length-1!
=t._currentStep&&"function"==typeof
t._introExitCallback&&t._introExitCallback.call(t),s.call(t,t._targetElement)},y.on
click=function(){s.call(t,t._targetElement),void 0!
=t._introExitCallback&&t._introExitCallback.call(t)},this._introItems.length>1&&(I.
appendChild(v),I.appendChild(w)),I.appendChild(g),j.appendChild(O),j.appendChild(N)
,j.appendChild(P),j.appendChild(I),j.appendChild(M),c.call(t,e.element,j,T,F)}var
q=this;setTimeout(function(){0==q._currentStep&&q._introItems.length>1?
(g.className="introjs-button introjs-skipbutton",v.className="introjs-button
introjs-prevbutton introjs-disabled",w.className="introjs-button introjs-nextbutton
flat_btn",w.innerHTML=q._options.firstNextLabel,g.innerHTML=q._options.skipLabel):q
._introItems.length-1==q._currentStep||1==q._introItems.length?
(g.innerHTML=q._options.doneLabel,-1!=q._options.cssClasses.indexOf("plain_style")?
(g.className="introjs-button introjs-skipbutton",w.className="introjs-button
introjs-nextbutton introjs-disabled"):(g.className="introjs-button introjs-
skipbutton flat_btn",w.className="introjs-button introjs-nextbutton introjs-
disabled flat_btn"),v.className="introjs-button introjs-
prevbutton",w.innerHTML=q._options.nextLabel):(g.className="introjs-button introjs-
skipbutton hidden",v.className="introjs-button introjs-
prevbutton",w.className="introjs-button introjs-nextbutton
flat_btn",g.innerHTML=q._options.skipLabel,w.innerHTML=q._options.nextLabel)},100),
w.focus(),e.element.className+=" introjs-showElement";var
B=d(e.element,"position");"absolute"!==B&&"relative"!==B&&(e.element.className+="
introjs-relativePosition");for(var z=e.element.parentNode;null!=z&&"body"!
==z.tagName.toLowerCase();){var U=d(z,"z-index"),H=parseFloat(d(z,"opacity"));(/[0-
9]+/.test(U)||1>H)&&(z.className+=" introjs-fixParent"),z=z.parentNode}if(!
p(e.element)&&this._options.scrollToElement===!0){var
W=e.element.getBoundingClientRect(),V=_().height,Y=W.bottom-(W.bottom-
W.top),J=W.bottom-V;0>Y||e.element.clientHeight>V?window.scrollBy(0,Y-
30):window.scrollBy(0,J+100)}"undefined"!=typeof
this._introAfterChangeCallback&&this._introAfterChangeCallback.call(this,e.element)
}function d(e,t){var n="";return e.currentStyle?
n=e.currentStyle[t]:document.defaultView&&document.defaultView.getComputedStyle&&(n
=document.defaultView.getComputedStyle(e,null).getPropertyValue(t)),n&&n.toLowerCas
e?n.toLowerCase():n}function _(){if(void 0!
=window.innerWidth)return{width:window.innerWidth,height:window.innerHeight};var
e=document.documentElement;return{width:e.clientWidth,height:e.clientHeight}}functi
on p(e){var t=e.getBoundingClientRect();return
t.top>=0&&t.left>=0&&t.bottom+80<=window.innerHeight&&t.right<=window.innerWidth}fu
nction h(e){var
t=document.createElement("div"),n="",r=this;if(t.className="introjs-
overlay","body"===e.tagName.toLowerCase())n+="top: 0;bottom: 0; left: 0;right:
0;position: fixed;",t.setAttribute("style",n);else{var i=f(e);i&&(n+="width:
"+i.width+"px; height:"+i.height+"px; top:"+i.top+"px;left:
"+i.left+"px;",t.setAttribute("style",n))}return
e.appendChild(t),t.onclick=function()
{1==r._options.exitOnOverlayClick&&(s.call(r,e),void 0!
=r._introExitCallback&&r._introExitCallback.call(r))},setTimeout(function()
{n+="opacity: .8;",t.setAttribute("style",n)},10),!0}function f(e){var
t={};if(t.width=e.offsetWidth,t.height=e.offsetHeight,window.jQuery)$el=$
(e),t.top=$el.offset().top,t.left=$el.offset().left;else{for(var n=0,r=0;e&&!
isNaN(e.offsetLeft)&&!
isNaN(e.offsetTop);)n+=e.offsetLeft,r+=e.offsetTop,e=e.offsetParent;t.top=r,t.left=
n}return t}function m(e,t){var n={};for(var r in e)n[r]=e[r];for(var r in
t)n[r]=t[r];return n}var b="0.8.0",g=function(e){if("object"==typeof e)return new
t(e);if("string"==typeof e){var n=document.querySelector(e);if(n)return new
t(n);throw new Error("There is no element with given selector.")}return new
t(document.body)};return g.version=b,g.fn=t.prototype={clone:function(){return new
t(this)},setOption:function(e,t){return
this._options[e]=t,this},setOptions:function(e){return
this._options=m(this._options,e),this},start:function(){return
this.already_shown_by_cookie()?void 0:
(n.call(this,this._targetElement),this)},already_shown_by_cookie:function(){return
this._options.introName?
(cookie_match=document.cookie.match("feature_intro=[^;]*("+this._options.introName+
")[^;]*;"),cookie_match&&cookie_match[1]?(console.log("Already shown"),!0):!1):
(console.log("No introName provided"),!1)},goToStep:function(e){return
i.call(this,e),this},nextStep:function(){return
o.call(this),this},previousStep:function(){return
a.call(this),this},exit:function()
{s.call(this,this._targetElement)},refresh:function(){return
l.call(this,document.querySelector(".introjs-
helperLayer")),this},onbeforechange:function(e){if("function"!=typeof e)throw new
Error("Provided callback for onbeforechange was not a function");return
this._introBeforeChangeCallback=e,this},onchange:function(e){if("function"!=typeof
e)throw new Error("Provided callback for onchange was not a function.");return
this._introChangeCallback=e,this},onafterchange:function(e){if("function"!=typeof
e)throw new Error("Provided callback for onafterchange was not a function");return
this._introAfterChangeCallback=e,this},oncomplete:function(e){if("function"!=typeof
e)throw new Error("Provided callback for oncomplete was not a function.");return
this._introCompleteCallback=e,this},onexit:function(e){if("function"!=typeof
e)throw new Error("Provided callback for onexit was not a function.");return
this._introExitCallback=e,this}},e.introJs=g,g});

/* public/javascripts/moment.js @ 1526073743 */
(function(e){function t(e,t){return function(n){return
c(e.call(this,n),t)}}function n(e,t){return function(n){return
this.lang().ordinal(e.call(this,n),t)}}function r(){}function i(e)
{y(e),a(this,e)}function o(e){var t=h(e),n=t.year||0,r=t.month||0,i=t.week||
0,o=t.day||0,a=t.hour||0,s=t.minute||0,c=t.second||0,l=t.millisecond||
0;this._milliseconds=+l+1e3*c+6e4*s+36e5*a,this._days=+o+7*i,this._months=+r+12*n,t
his._data={},this._bubble()}function a(e,t){for(var n in
t)t.hasOwnProperty(n)&&(e[n]=t[n]);return
t.hasOwnProperty("toString")&&(e.toString=t.toString),t.hasOwnProperty("valueOf")&&
(e.valueOf=t.valueOf),e}function s(e){return 0>e?
Math.ceil(e):Math.floor(e)}function c(e,t,n){for(var r=Math.abs(e)
+"",i=e>=0;r.length<t;)r="0"+r;return(i?n?"+":"":"-")+r}function l(e,t,n,r){var
i,o,a=t._milliseconds,s=t._days,c=t._months;a&&e._d.setTime(+e._d+a*n),(s||
c)&&(i=e.minute(),o=e.hour()),s&&e.date(e.date()+s*n),c&&e.month(e.month()
+c*n),a&&!r&&nt.updateOffset(e),(s||c)&&(e.minute(i),e.hour(o))}function u(e)
{return"[object Array]"===Object.prototype.toString.call(e)}function d(e)
{return"[object Date]"===Object.prototype.toString.call(e)||e instanceof
Date}function _(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-
t.length),a=0;for(r=0;i>r;r++)(n&&e[r]!==t[r]||!n&&m(e[r])!==m(t[r]))&&a++;return
a+o}function p(e){if(e){var t=e.toLowerCase().replace(/(.)s$/,"$1");e=zt[e]||
Ut[t]||t}return e}function h(e){var t,n,r={};for(n in
e)e.hasOwnProperty(n)&&(t=p(n),t&&(r[t]=e[n]));return r}function f(t){var
n,r;if(0===t.indexOf("week"))n=7,r="day";else{if(0!
==t.indexOf("month"))return;n=12,r="month"}nt[t]=function(i,o){var
a,s,c=nt.fn._lang[t],l=[];if("number"==typeof i&&(o=i,i=e),s=function(e){var
t=nt().utc().set(r,e);return c.call(nt.fn._lang,t,i||"")},null!=o)return
s(o);for(a=0;n>a;a++)l.push(s(a));return l}}function m(e){var t=+e,n=0;return 0!
==t&&isFinite(t)&&(n=t>=0?Math.floor(t):Math.ceil(t)),n}function b(e,t){return new
Date(Date.UTC(e,t+1,0)).getUTCDate()}function g(e){return v(e)?366:365}function
v(e){return e%4===0&&e%100!==0||e%400===0}function y(e){var t;e._a&&-
2===e._pf.overflow&&(t=e._a[ct]<0||e._a[ct]>11?ct:e._a[lt]<1||
e._a[lt]>b(e._a[st],e._a[ct])?lt:e._a[ut]<0||e._a[ut]>23?ut:e._a[dt]<0||
e._a[dt]>59?dt:e._a[_t]<0||e._a[_t]>59?_t:e._a[pt]<0||e._a[pt]>999?pt:-
1,e._pf._overflowDayOfYear&&(st>t||t>lt)&&(t=lt),e._pf.overflow=t)}function w(e)
{e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-
2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!
1,iso:!1}}function k(e){return null==e._isValid&&(e._isValid=!
isNaN(e._d.getTime())&&e._pf.overflow<0&&!e._pf.empty&&!e._pf.invalidMonth&&!
e._pf.nullInput&&!e._pf.invalidFormat&&!
e._pf.userInvalidated,e._strict&&(e._isValid=e._isValid&&0===e._pf.charsLeftOver&&0
===e._pf.unusedTokens.length)),e._isValid}function x(e){return e?
e.toLowerCase().replace("_","-"):e}function S(e,t){return t._isUTC?
nt(e).zone(t._offset||0):nt(e).local()}function E(e,t){return t.abbr=e,ht[e]||
(ht[e]=new r),ht[e].set(t),ht[e]}function R(e){delete ht[e]}function C(e){var
t,n,r,i,o=0,a=function(e){if(!ht[e]&&ft)try{require("./lang/"+e)}catch(t){}return
ht[e]};if(!e)return nt.fn._lang;if(!u(e)){if(n=a(e))return
n;e=[e]}for(;o<e.length;){for(i=x(e[o]).split("-"),t=i.length,r=x(e[o+1]),r=r?
r.split("-"):null;t>0;){if(n=a(i.slice(0,t).join("-")))return
n;if(r&&r.length>=t&&_(i,r,!0)>=t-1)break;t--}o++}return nt.fn._lang}function O(e)
{return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function
N(e){var t,n,r=e.match(vt);for(t=0,n=r.length;n>t;t++)r[t]=Vt[r[t]]?
Vt[r[t]]:O(r[t]);return function(i){var o="";for(t=0;n>t;t++)o+=r[t]instanceof
Function?r[t].call(i,e):r[t];return o}}function T(e,t){return e.isValid()?
(t=j(t,e.lang()),Ht[t]||(Ht[t]=N(t)),Ht[t](e)):e.lang().invalidDate()}function
j(e,t){function n(e){return t.longDateFormat(e)||e}var
r=5;for(yt.lastIndex=0;r>=0&&yt.test(e);)e=e.replace(yt,n),yt.lastIndex=0,r-
=1;return e}function P(e,t){var n,r=t._strict;switch(e){case"DDDD":return
Pt;case"YYYY":case"GGGG":case"gggg":return r?
It:xt;case"YYYYYY":case"YYYYY":case"GGGGG":case"ggggg":return r?
Mt:St;case"S":if(r)return Tt;case"SS":if(r)return jt;case"SSS":case"DDD":return r?
Pt:kt;case"MMM":case"MMMM":case"dd":case"ddd":case"dddd":return
Rt;case"a":case"A":return C(t._l)._meridiemParse;case"X":return
Nt;case"Z":case"ZZ":return Ct;case"T":return Ot;case"SSSS":return
Et;case"MM":case"DD":case"YY":case"GG":case"gg":case"HH":case"hh":case"mm":case"ss"
:case"ww":case"WW":return r?
jt:wt;case"M":case"D":case"d":case"H":case"h":case"m":case"s":case"w":case"W":case"
e":case"E":return r?Tt:wt;default:return n=new
RegExp(q(F(e.replace("\\","")),"i"))}}function I(e){e=e||"";var t=e.match(Ct)||
[],n=t[t.length-1]||[],r=(n+"").match(Ft)||["-",0,0],i=+(60*r[1])
+m(r[2]);return"+"===r[0]?-i:i}function M(e,t,n){var r,i=n._a;switch(e)
{case"M":case"MM":null!=t&&(i[ct]=m(t)-
1);break;case"MMM":case"MMMM":r=C(n._l).monthsParse(t),null!=r?
i[ct]=r:n._pf.invalidMonth=t;break;case"D":case"DD":null!
=t&&(i[lt]=m(t));break;case"DDD":case"DDDD":null!
=t&&(n._dayOfYear=m(t));break;case"YY":i[st]=m(t)+(m(t)>68?
1900:2e3);break;case"YYYY":case"YYYYY":case"YYYYYY":i[st]=m(t);break;case"a":case"A
":n._isPm=C(n._l).isPM(t);break;case"H":case"HH":case"h":case"hh":i[ut]=m(t);break;
case"m":case"mm":i[dt]=m(t);break;case"s":case"ss":i[_t]=m(t);break;case"S":case"SS
":case"SSS":case"SSSS":i[pt]=m(1e3*("0."+t));break;case"X":n._d=new
Date(1e3*parseFloat(t));break;case"Z":case"ZZ":n._useUTC=!
0,n._tzm=I(t);break;case"w":case"ww":case"W":case"WW":case"d":case"dd":case"ddd":ca
se"dddd":case"e":case"E":e=e.substr(0,1);case"gg":case"gggg":case"GG":case"GGGG":ca
se"GGGGG":e=e.substr(0,2),t&&(n._w=n._w||{},n._w[e]=t)}}function A(e){var
t,n,r,i,o,a,s,c,l,u,d=[];if(!e._d)
{for(r=L(e),e._w&&null==e._a[lt]&&null==e._a[ct]&&(o=function(t){var
n=parseInt(t,10);return t?t.length<3?n>68?1900+n:2e3+n:n:null==e._a[st]?
nt().weekYear():e._a[st]},a=e._w,null!=a.GG||null!=a.W||null!=a.E?s=X(o(a.GG),a.W||
1,a.E,4,1):(c=C(e._l),l=null!=a.d?Y(a.d,c):null!=a.e?
parseInt(a.e,10)+c._week.dow:0,u=parseInt(a.w,10)||1,null!=a.d&&l<c._week.dow&&u+
+,s=X(o(a.gg),u,l,c._week.doy,c._week.dow)),e._a[st]=s.year,e._dayOfYear=s.dayOfYea
r),e._dayOfYear&&(i=null==e._a[st]?
r[st]:e._a[st],e._dayOfYear>g(i)&&(e._pf._overflowDayOfYear=!
0),n=W(i,0,e._dayOfYear),e._a[ct]=n.getUTCMonth(),e._a[lt]=n.getUTCDate()),t=0;3>t&
&null==e._a[t];++t)e._a[t]=d[t]=r[t];for(;7>t;t++)e._a[t]=d[t]=null==e._a[t]?2===t?
1:0:e._a[t];d[ut]+=m((e._tzm||0)/60),d[dt]+=m((e._tzm||0)%60),e._d=(e._useUTC?
W:H).apply(null,d)}}function D(e){var t;e._d||
(t=h(e._i),e._a=[t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond],A(e))
}function L(e){var t=new Date;return e._useUTC?
[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:
[t.getFullYear(),t.getMonth(),t.getDate()]}function $(e){e._a=[],e._pf.empty=!0;var
t,n,r,i,o,a=C(e._l),s=""+e._i,c=s.length,l=0;for(r=j(e._f,a).match(vt)||
[],t=0;t<r.length;t++)i=r[t],n=(s.match(P(i,e))||[])
[0],n&&(o=s.substr(0,s.indexOf(n)),o.length>0&&e._pf.unusedInput.push(o),s=s.slice(
s.indexOf(n)+n.length),l+=n.length),Vt[i]?(n?e._pf.empty=!
1:e._pf.unusedTokens.push(i),M(i,n,e)):e._strict&&!
n&&e._pf.unusedTokens.push(i);e._pf.charsLeftOver=c-
l,s.length>0&&e._pf.unusedInput.push(s),e._isPm&&e._a[ut]<12&&(e._a[ut]
+=12),e._isPm===!1&&12===e._a[ut]&&(e._a[ut]=0),A(e),y(e)}function F(e){return
e.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||
r||i})}function q(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function
B(e){var t,n,r,i,o;if(0===e._f.length)return e._pf.invalidFormat=!0,void(e._d=new
Date(0/0));for(i=0;i<e._f.length;i++)o=0,t=a({},e),w(t),t._f=e._f[i],$
(t),k(t)&&(o+=t._pf.charsLeftOver,o+=10*t._pf.unusedTokens.length,t._pf.score=o,
(null==r||r>o)&&(r=o,n=t));a(e,n||t)}function z(e){var t,n=e._i,r=At.exec(n);if(r)
{for(e._pf.iso=!0,t=4;t>0;t--)if(r[t]){e._f=Lt[t-1]+(r[6]||"
");break}for(t=0;4>t;t++)if($t[t][1].exec(n)){e._f+=$t[t]
[0];break}n.match(Ct)&&(e._f+="Z"),$(e)}else e._d=new Date(n)}function U(t){var
n=t._i,r=mt.exec(n);n===e?t._d=new Date:r?t._d=new Date(+r[1]):"string"==typeof n?
z(t):u(n)?(t._a=n.slice(0),A(t)):d(n)?t._d=new Date(+n):"object"==typeof n?
D(t):t._d=new Date(n)}function H(e,t,n,r,i,o,a){var s=new
Date(e,t,n,r,i,o,a);return 1970>e&&s.setFullYear(e),s}function W(e){var t=new
Date(Date.UTC.apply(null,arguments));return 1970>e&&t.setUTCFullYear(e),t}function
Y(e,t){if("string"==typeof e)if(isNaN(e)){if(e=t.weekdaysParse(e),"number"!=typeof
e)return null}else e=parseInt(e,10);return e}function V(e,t,n,r,i){return
i.relativeTime(t||1,!!n,e,r)}function J(e,t,n){var
r=at(Math.abs(e)/1e3),i=at(r/60),o=at(i/60),a=at(o/24),s=at(a/365),c=45>r&&["s",r]|
|1===i&&["m"]||45>i&&["mm",i]||1===o&&["h"]||22>o&&["hh",o]||1===a&&["d"]||
25>=a&&["dd",a]||45>=a&&["M"]||345>a&&["MM",at(a/30)]||1===s&&["y"]||
["yy",s];return c[2]=t,c[3]=e>0,c[4]=n,V.apply({},c)}function G(e,t,n){var r,i=n-
t,o=n-e.day();return o>i&&(o-=7),i-7>o&&(o+=7),r=nt(e).add("d",o),
{week:Math.ceil(r.dayOfYear()/7),year:r.year()}}function X(e,t,n,r,i){var o,a,s=new
Date(c(e,6,!0)+"-01-01").getUTCDay();return n=null!=n?n:i,o=i-s+(s>r?7:0),a=7*(t-
1)+(n-i)+o+1,{year:a>0?e:e-1,dayOfYear:a>0?a:g(e-1)+a}}function K(e){var
t=e._i,n=e._f;return"undefined"==typeof e._pf&&w(e),null===t?
nt.invalid({nullInput:!0}):("string"==typeof
t&&(e._i=t=C().preparse(t)),nt.isMoment(t)?(e=a({},t),e._d=new Date(+t._d)):n?u(n)?
B(e):$(e):U(e),new i(e))}function Q(e,t){nt.fn[e]=nt.fn[e+"s"]=function(e){var
n=this._isUTC?"UTC":"";return null!=e?(this._d["set"+n+t]
(e),nt.updateOffset(this),this):this._d["get"+n+t]()}}function Z(e)
{nt.duration.fn[e]=function(){return this._data[e]}}function et(e,t)
{nt.duration.fn["as"+e]=function(){return+this/t}}function tt(e){var t=!
1,n=nt;"undefined"==typeof ender&&(e?(ot.moment=function(){return!
t&&console&&console.warn&&(t=!0,console.warn("Accessing
Moment through the global scope is deprecated, and will be removed in an upcoming
release.")),n.apply(null,arguments)},a(ot.moment,n)):ot.moment=nt)}for(var
nt,rt,it="2.5.0",ot=this,at=Math.round,st=0,ct=1,lt=2,ut=3,dt=4,_t=5,pt=6,ht={},ft=
"undefined"!=typeof module&&module.exports&&"undefined"!=typeof require,mt=/^\/?
Date\((\-?\d+)/i,bt=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?
(\d{3})?)?/,gt=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:
([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,vt=/(\[[^\[]*\])|
(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|YYYYYY|YYYYY|YYYY|YY|
gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|X|zz?|ZZ?|.)/g,yt=/(\[[^\[]*\])|
(\\)?(LT|LL?L?L?|l{1,4})/g,wt=/\d\d?/,kt=/\d{1,3}/,xt=/\d{1,4}/,St=/
[+\-]?\d{1,6}/,Et=/\d+/,Rt=/[0-9]*['a-
z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?
[\u0600-\u06FF]+){1,2}/i,Ct=/Z|[\+\-]\d\d:?\d\d/gi,Ot=/T/i,Nt=/[\+\-]?\d+
(\.\d{1,3})?/,Tt=/\d/,jt=/\d\d/,Pt=/\d{3}/,It=/\d{4}/,Mt=/
[+\-]?\d{6}/,At=/^\s*\d{4}-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )
(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Dt="YYYY-MM-
DDTHH:mm:ssZ",Lt=["YYYY-MM-DD","GGGG-[W]WW","GGGG-[W]WW-E","YYYY-DDD"],
$t=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d{1,3}/],["HH:mm:ss",/
(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],Ft=/([\
+\-]|\d\d)/gi,qt="Date|Hours|Minutes|Seconds|
Milliseconds".split("|"),Bt={Milliseconds:1,Seconds:1e3,Minutes:6e4,Hours:36e5,Days
:864e5,Months:2592e6,Years:31536e6},zt={ms:"millisecond",s:"second",m:"minute",h:"h
our",d:"day",D:"date",w:"week",W:"isoWeek",M:"month",y:"year",DDD:"dayOfYear",e:"we
ekday",E:"isoWeekday",gg:"weekYear",GG:"isoWeekYear"},Ut={dayofyear:"dayOfYear",iso
weekday:"isoWeekday",isoweek:"isoWeek",weekyear:"weekYear",isoweekyear:"isoWeekYear
"},Ht={},Wt="DDD w W M D d".split(" "),Yt="M D H h m s w W".split("
"),Vt={M:function(){return this.month()+1},MMM:function(e){return
this.lang().monthsShort(this,e)},MMMM:function(e){return
this.lang().months(this,e)},D:function(){return this.date()},DDD:function(){return
this.dayOfYear()},d:function(){return this.day()},dd:function(e){return
this.lang().weekdaysMin(this,e)},ddd:function(e){return
this.lang().weekdaysShort(this,e)},dddd:function(e){return
this.lang().weekdays(this,e)},w:function(){return this.week()},W:function(){return
this.isoWeek()},YY:function(){return c(this.year()%100,2)},YYYY:function(){return
c(this.year(),4)},YYYYY:function(){return c(this.year(),5)},YYYYYY:function(){var
e=this.year(),t=e>=0?"+":"-";return t+c(Math.abs(e),6)},gg:function(){return
c(this.weekYear()%100,2)},gggg:function(){return this.weekYear()},ggggg:function()
{return c(this.weekYear(),5)},GG:function(){return c(this.isoWeekYear()
%100,2)},GGGG:function(){return this.isoWeekYear()},GGGGG:function(){return
c(this.isoWeekYear(),5)},e:function(){return this.weekday()},E:function(){return
this.isoWeekday()},a:function(){return
this.lang().meridiem(this.hours(),this.minutes(),!0)},A:function(){return
this.lang().meridiem(this.hours(),this.minutes(),!1)},H:function(){return
this.hours()},h:function(){return this.hours()%12||12},m:function(){return
this.minutes()},s:function(){return this.seconds()},S:function(){return
m(this.milliseconds()/100)},SS:function(){return
c(m(this.milliseconds()/10),2)},SSS:function(){return
c(this.milliseconds(),3)},SSSS:function(){return
c(this.milliseconds(),3)},Z:function(){var e=-this.zone(),t="+";return 0>e&&(e=-
e,t="-"),t+c(m(e/60),2)+":"+c(m(e)%60,2)},ZZ:function(){var e=-
this.zone(),t="+";return 0>e&&(e=-e,t="-"),t+c(m(e/60),2)+c(m(e)
%60,2)},z:function(){return this.zoneAbbr()},zz:function(){return
this.zoneName()},X:function(){return this.unix()},Q:function(){return
this.quarter()}},Jt=["months","monthsShort","weekdays","weekdaysShort","weekdaysMin
"];Wt.length;)rt=Wt.pop(),Vt[rt+"o"]=n(Vt[rt],rt);for(;Yt.length;)rt=Yt.pop(),Vt[rt
+rt]=t(Vt[rt],2);for(Vt.DDDD=t(Vt.DDD,3),a(r.prototype,{set:function(e){var
t,n;for(n in e)t=e[n],"function"==typeof t?
this[n]=t:this["_"+n]=t},_months:"January_February_March_April_May_June_July_August
_September_October_November_December".split("_"),months:function(e){return
this._months[e.month()]},_monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_
Dec".split("_"),monthsShort:function(e){return
this._monthsShort[e.month()]},monthsParse:function(e){var
t,n,r;for(this._monthsParse||(this._monthsParse=[]),t=0;12>t;t+
+)if(this._monthsParse[t]||(n=nt.utc([2e3,t]),r="^"+this.months(n,"")+"|
^"+this.monthsShort(n,""),this._monthsParse[t]=new
RegExp(r.replace(".",""),"i")),this._monthsParse[t].test(e))return
t},_weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
weekdays:function(e){return
this._weekdays[e.day()]},_weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),we
ekdaysShort:function(e){return
this._weekdaysShort[e.day()]},_weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekda
ysMin:function(e){return this._weekdaysMin[e.day()]},weekdaysParse:function(e){var
t,n,r;for(this._weekdaysParse||(this._weekdaysParse=[]),t=0;7>t;t+
+)if(this._weekdaysParse[t]||(n=nt([2e3,1]).day(t),r="^"+this.weekdays(n,"")+"|
^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[t]=new
RegExp(r.replace(".",""),"i")),this._weekdaysParse[t].test(e))return
t},_longDateFormat:{LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D YYYY",LLL:"MMMM D YYYY
LT",LLLL:"dddd, MMMM D YYYY LT"},longDateFormat:function(e){var
t=this._longDateFormat[e];return!
t&&this._longDateFormat[e.toUpperCase()]&&(t=this._longDateFormat[e.toUpperCase()].
replace(/MMMM|MM|DD|dddd/g,function(e){return
e.slice(1)}),this._longDateFormat[e]=t),t},isPM:function(e)
{return"p"===(e+"").toLowerCase().charAt(0)},_meridiemParse:/[ap]\.?
m?\.?/i,meridiem:function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},_calendar:
{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at]
LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at]
LT",sameElse:"L"},calendar:function(e,t){var
n=this._calendar[e];return"function"==typeof n?n.apply(t):n},_relativeTime:
{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an
hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a
year",yy:"%d years"},relativeTime:function(e,t,n,r){var
i=this._relativeTime[n];return"function"==typeof i?i(e,t,n,r):i.replace(/
%d/i,e)},pastFuture:function(e,t){var
n=this._relativeTime[e>0?"future":"past"];return"function"==typeof n?
n(t):n.replace(/%s/i,t)},ordinal:function(e){return
this._ordinal.replace("%d",e)},_ordinal:"%d",preparse:function(e){return
e},postformat:function(e){return e},week:function(e){return
G(e,this._week.dow,this._week.doy).week},_week:{dow:0,doy:6},_invalidDate:"Invalid
date",invalidDate:function(){return this._invalidDate}}),nt=function(t,n,r,i)
{return"boolean"==typeof r&&(i=r,r=e),K({_i:t,_f:n,_l:r,_strict:i,_isUTC:!
1})},nt.utc=function(t,n,r,i){var o;return"boolean"==typeof
r&&(i=r,r=e),o=K({_useUTC:!0,_isUTC:!
0,_l:r,_i:t,_f:n,_strict:i}).utc()},nt.unix=function(e){return
nt(1e3*e)},nt.duration=function(e,t){var n,r,i,a=e,s=null;return nt.isDuration(e)?
a={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(a={},t?
a[t]=e:a.milliseconds=e):(s=bt.exec(e))?(n="-"===s[1]?-
1:1,a={y:0,d:m(s[lt])*n,h:m(s[ut])*n,m:m(s[dt])*n,s:m(s[_t])*n,ms:m(s[pt])*n}):
(s=gt.exec(e))&&(n="-"===s[1]?-1:1,i=function(e){var
t=e&&parseFloat(e.replace(",","."));return(isNaN(t)?
0:t)*n},a={y:i(s[2]),M:i(s[3]),d:i(s[4]),h:i(s[5]),m:i(s[6]),s:i(s[7]),w:i(s[8])}),
r=new
o(a),nt.isDuration(e)&&e.hasOwnProperty("_lang")&&(r._lang=e._lang),r},nt.version=i
t,nt.defaultFormat=Dt,nt.updateOffset=function(){},nt.lang=function(e,t){var
n;return e?(t?E(x(e),t):null===t?(R(e),e="en"):ht[e]||
C(e),n=nt.duration.fn._lang=nt.fn._lang=C(e),n._abbr):nt.fn._lang._abbr},nt.langDat
a=function(e){return
e&&e._lang&&e._lang._abbr&&(e=e._lang._abbr),C(e)},nt.isMoment=function(e){return e
instanceof i},nt.isDuration=function(e){return e instanceof o},rt=Jt.length-
1;rt>=0;--rt)f(Jt[rt]);for(nt.normalizeUnits=function(e){return
p(e)},nt.invalid=function(e){var t=nt.utc(0/0);return null!=e?
a(t._pf,e):t._pf.userInvalidated=!0,t},nt.parseZone=function(e){return
nt(e).parseZone()},a(nt.fn=i.prototype,{clone:function(){return
nt(this)},valueOf:function(){return+this._d+6e4*(this._offset||0)},unix:function()
{return Math.floor(+this/1e3)},toString:function(){return
this.clone().lang("en").format("ddd MMM DD YYYY HH:mm:ss
[GMT]ZZ")},toDate:function(){return this._offset?new
Date(+this):this._d},toISOString:function(){var e=nt(this).utc();return
0<e.year()&&e.year()<=9999?T(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):T(e,"YYYYYY-MM-
DD[T]HH:mm:ss.SSS[Z]")},toArray:function(){var
e=this;return[e.year(),e.month(),e.date(),e.hours(),e.minutes(),e.seconds(),e.milli
seconds()]},isValid:function(){return k(this)},isDSTShifted:function(){return
this._a?this.isValid()&&_(this._a,(this._isUTC?
nt.utc(this._a):nt(this._a)).toArray())>0:!1},parsingFlags:function(){return
a({},this._pf)},invalidAt:function(){return this._pf.overflow},utc:function()
{return this.zone(0)},local:function(){return this.zone(0),this._isUTC=!
1,this},format:function(e){var t=T(this,e||nt.defaultFormat);return
this.lang().postformat(t)},add:function(e,t){var n;return n="string"==typeof e?
nt.duration(+t,e):nt.duration(e,t),l(this,n,1),this},subtract:function(e,t){var
n;return n="string"==typeof e?nt.duration(+t,e):nt.duration(e,t),l(this,n,-
1),this},diff:function(e,t,n){var r,i,o=S(e,this),a=6e4*(this.zone()-
o.zone());return t=p(t),"year"===t||"month"===t?(r=432e5*(this.daysInMonth()
+o.daysInMonth()),i=12*(this.year()-o.year())+(this.month()-o.month()),i+=(this-
nt(this).startOf("month")-(o-nt(o).startOf("month")))/r,i-=6e4*(this.zone()-
nt(this).startOf("month").zone()-(o.zone()-
nt(o).startOf("month").zone()))/r,"year"===t&&(i/=12)):(r=this-o,i="second"===t?
r/1e3:"minute"===t?r/6e4:"hour"===t?r/36e5:"day"===t?(r-a)/864e5:"week"===t?(r-
a)/6048
e5:r),n?i:s(i)},from:function(e,t){return
nt.duration(this.diff(e)).lang(this.lang()._abbr).humanize(!t)},fromNow:function(e)
{return this.from(nt(),e)},calendar:function(){var
e=S(nt(),this).startOf("day"),t=this.diff(e,"days",!0),n=-6>t?"sameElse":-
1>t?"lastWeek":0>t?"lastDay":1>t?"sameDay":2>t?"nextDay":7>t?"nextWeek":"sameElse";
return this.format(this.lang().calendar(n,this))},isLeapYear:function(){return
v(this.year())},isDST:function(){return this.zone()<this.clone().month(0).zone()||
this.zone()<this.clone().month(5).zone()},day:function(e){var t=this._isUTC?
this._d.getUTCDay():this._d.getDay();return null!=e?
(e=Y(e,this.lang()),this.add({d:e-t})):t},month:function(e){var
t,n=this._isUTC?"UTC":"";return null!=e?"string"==typeof
e&&(e=this.lang().monthsParse(e),"number"!=typeof e)?this:
(t=this.date(),this.date(1),this._d["set"+n+"Month"]
(e),this.date(Math.min(t,this.daysInMonth())),nt.updateOffset(this),this):this._d["
get"+n+"Month"]()},startOf:function(e){switch(e=p(e))
{case"year":this.month(0);case"month":this.date(1);case"week":case"isoWeek":case"da
y":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"secon
d":this.milliseconds(0)}return"week"===e?
this.weekday(0):"isoWeek"===e&&this.isoWeekday(1),this},endOf:function(e){return
e=p(e),this.startOf(e).add("isoWeek"===e?"week":e,1).subtract("ms",1)},isAfter:func
tion(e,t){return t="undefined"!=typeof t?t:"millisecond",
+this.clone().startOf(t)>+nt(e).startOf(t)},isBefore:function(e,t){return
t="undefined"!=typeof t?t:"millisecond",
+this.clone().startOf(t)<+nt(e).startOf(t)},isSame:function(e,t){return t=t||"ms",
+this.clone().startOf(t)===+S(e,this).startOf(t)},min:function(e){return
e=nt.apply(null,arguments),this>e?this:e},max:function(e){return
e=nt.apply(null,arguments),e>this?this:e},zone:function(e){var t=this._offset||
0;return null==e?this._isUTC?t:this._d.getTimezoneOffset():("string"==typeof
e&&(e=I(e)),Math.abs(e)<16&&(e=60*e),this._offset=e,this._isUTC=!0,t!
==e&&l(this,nt.duration(t-e,"m"),1,!0),this)},zoneAbbr:function(){return
this._isUTC?"UTC":""},zoneName:function(){return this._isUTC?"Coordinated Universal
Time":""},parseZone:function(){return this._tzm?
this.zone(this._tzm):"string"==typeof
this._i&&this.zone(this._i),this},hasAlignedHourOffset:function(e){return e=e?
nt(e).zone():0,(this.zone()-e)%60===0},daysInMonth:function(){return
b(this.year(),this.month())},dayOfYear:function(e){var
t=at((nt(this).startOf("day")-nt(this).startOf("year"))/864e5)+1;return null==e?
t:this.add("d",e-t)},quarter:function(){return Math.ceil((this.month()
+1)/3)},weekYear:function(e){var
t=G(this,this.lang()._week.dow,this.lang()._week.doy).year;return null==e?
t:this.add("y",e-t)},isoWeekYear:function(e){var t=G(this,1,4).year;return null==e?
t:this.add("y",e-t)},week:function(e){var t=this.lang().week(this);return null==e?
t:this.add("d",7*(e-t))},isoWeek:function(e){var t=G(this,1,4).week;return null==e?
t:this.add("d",7*(e-t))},weekday:function(e){var t=(this.day()+7-
this.lang()._week.dow)%7;return null==e?t:this.add("d",e-t)},isoWeekday:function(e)
{return null==e?this.day()||7:this.day(this.day()%7?e:e-7)},get:function(e){return
e=p(e),this[e]()},set:function(e,t){return e=p(e),"function"==typeof
this[e]&&this[e](t),this},lang:function(t){return t===e?this._lang:
(this._lang=C(t),this)}}),rt=0;rt<qt.length;rt+
+)Q(qt[rt].toLowerCase().replace(/s$/,""),qt[rt]);Q("year","FullYear"),nt.fn.days=n
t.fn.day,nt.fn.months=nt.fn.month,nt.fn.weeks=nt.fn.week,nt.fn.isoWeeks=nt.fn.isoWe
ek,nt.fn.toJSON=nt.fn.toISOString,a(nt.duration.fn=o.prototype,{_bubble:function()
{var
e,t,n,r,i=this._milliseconds,o=this._days,a=this._months,c=this._data;c.millisecond
s=i%1e3,e=s(i/1e3),c.seconds=e%60,t=s(e/60),c.minutes=t%60,n=s(t/60),c.hours=n
%24,o+=s(n/24),c.days=o%30,a+=s(o/30),c.months=a
%12,r=s(a/12),c.years=r},weeks:function(){return
s(this.days()/7)},valueOf:function(){return
this._milliseconds+864e5*this._days+this._months
%12*2592e6+31536e6*m(this._months/12)},humanize:function(e){var t=+this,n=J(t,!
e,this.lang());return
e&&(n=this.lang().pastFuture(t,n)),this.lang().postformat(n)},add:function(e,t){var
n=nt.duration(e,t);return
this._milliseconds+=n._milliseconds,this._days+=n._days,this._months+=n._months,thi
s._bubble(),this},subtract:function(e,t){var n=nt.duration(e,t);return
this._milliseconds-=n._milliseconds,this._days-=n._days,this._months-
=n._months,this._bubble(),this},get:function(e){return e=p(e),this[e.toLowerCase()
+"s"]()},as:function(e){return e=p(e),this["as"+e.charAt(0).toUpperCase()
+e.slice(1)+"s"]()},lang:nt.fn.lang,toIsoString:function(){var
e=Math.abs(this.years()),t=Math.abs(this.months()),n=Math.abs(this.days()),r=Math.a
bs(this.hours()),i=Math.abs(this.minutes()),o=Math.abs(this.seconds()
+this.milliseconds()/1e3);return this.asSeconds()?(this.asSeconds()<0?"-":"")+"P"+
(e?e+"Y":"")+(t?t+"M":"")+(n?n+"D":"")+(r||i||o?"T":"")+(r?r+"H":"")+(i?i+"M":"")+
(o?o+"S":""):"P0D"}});for(rt in
Bt)Bt.hasOwnProperty(rt)&&(et(rt,Bt[rt]),Z(rt.toLowerCase()));et("Weeks",6048e5),nt
.duration.fn.asMonths=function(){return(+this-
31536e6*this.years())/2592e6+12*this.years()},nt.lang("en",{ordinal:function(e){var
t=e%10,n=1===m(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return
e+n}}),ft?(module.exports=nt,tt(!0)):"function"==typeof define&&define.amd?
define("moment",function(t,n,r){return r.config&&r.config()&&r.config().noGlobal!
==!0&&tt(r.config().noGlobal===e),nt}):tt()}).call(this);

/* public/javascripts/classnames.js @ 1526073743 */
/*!
Copyright (c) 2015 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
!function(){"use strict";function e(){for(var n="",r=0;r<arguments.length;r++){var
i=arguments[r];if(i){var o=typeof i;if("string"===o||"number"===o)n+=" "+i;else
if(Array.isArray(i))n+=" "+e.apply(null,i);else if("object"===o)for(var a in
i)t.call(i,a)&&i[a]&&(n+=" "+a)}}return n.substr(1)}var
t={}.hasOwnProperty;"undefined"!=typeof module&&module.exports?
module.exports=e:"function"==typeof define&&"object"==typeof
define.amd&&define.amd?define("classnames",function(){return
e}):window.classNames=e}();

/* public/javascripts/url-pattern.js @ 1526073743 */
/*
* license: MIT
* Copyright (C) 2015 by Maximilian Krüger
* https://github.com/snd/url-pattern
*/
var slice=[].slice;!function(e,t){return"function"==typeof define&&null!
=define.amd?define([],t):"undefined"!=typeof exports&&null!==exports?
module.exports=t():e.UrlPattern=t()}(this,function(){var
e,t,n,r,i,o,a,s,c,l,u,d,_,p,h;return c=function(e){return e.replace(/[-\/\\^$*+?.
()|[\]{}]/g,"\\$&")},a=function(e,t){var n,r,i;for(i=[],n=-1,r=e.length;+
+n<r;)i=i.concat(t(e[n]));return i},p=function(e,t){var n,r,i;for(i="",n=-
1,r=e.length;++n<r;)i+=t(e[n]);return i},_=function(e){return new
RegExp(e.toString()+"|").exec("").length-1},u=function(e,t){var
n,r,i,o,a;for(o={},n=-1,i=e.length;++n<i;)r=e[n],a=t[n],null!=a&&(null!=o[r]?
(Array.isArray(o[r])||(o[r]=[o[r]]),o[r].push(a)):o[r]=a);return
o},e={},e.Result=function(e,t){this.value=e,this.rest=t},e.Tagged=function(e,t)
{this.tag=e,this.value=t},e.tag=function(t,n){return function(r){var i,o;return
i=n(r),null!=i?(o=new e.Tagged(t,i.value),new e.Result(o,i.rest)):void
0}},e.regex=function(t){return function(n){var r,i;return r=t.exec(n),null!=r?
(i=r[0],new e.Result(i,n.slice(i.length))):void 0}},e.sequence=function(){var
t;return t=1<=arguments.length?slice.call(arguments,0):[],function(n){var
r,i,o,a,s,c;for(r=-1,i=t.length,c=[],a=n;++r<i;)
{if(o=t[r],s=o(a),null==s)return;c.push(s.value),a=s.rest}return new
e.Result(c,a)}},e.pick=function(){var t,n;return
t=arguments[0],n=2<=arguments.length?slice.call(arguments,1):[],function(r){var
i,o;return o=e.sequence.apply(e,n)(r),null!=o?(i=o.value,o.value=i[t],o):void
0}},e.string=function(t){var n;return n=t.length,function(r){return
r.slice(0,n)===t?new e.Result(t,r.slice(n)):void 0}},e.lazy=function(e){var
t;return t=null,function(n){return
null==t&&(t=e()),t(n)}},e.baseMany=function(t,n,r,i,o){var a,s,c,l;for(c=o,l=r?"":
[];;){if(null!=n&&(a=n(c),null!=a))break;if(s=t(c),null==s)break;r?
l+=s.value:l.push(s.value),c=s.rest}return i&&0===l.length?void 0:new
e.Result(l,c)},e.many1=function(t){return function(n){return e.baseMany(t,null,!1,!
0,n)}},e.concatMany1Till=function(t,n){return function(r){return e.baseMany(t,n,!
0,!0,r)}},e.firstChoice=function(){var e;return e=1<=arguments.length?
slice.call(arguments,0):[],function(t){var n,r,i,o;for(n=-1,r=e.length;+
+n<r;)if(i=e[n],o=i(t),null!=o)return o}},d=function(t){var n;return
n={},n.wildcard=e.tag("wildcard",e.string(t.wildcardChar)),n.optional=e.tag("option
al",e.pick(1,e.string(t.optionalSegmentStartChar),e.lazy(function(){return
n.pattern}),e.string(t.optionalSegmentEndChar))),n.name=e.regex(new
RegExp("^["+t.segmentNameCharset+"]
+")),n.named=e.tag("named",e.pick(1,e.string(t.segmentNameStartChar),e.lazy(functio
n(){return
n.name}))),n.escapedChar=e.pick(1,e.string(t.escapeChar),e.regex(/^./)),n["static"]
=e.tag("static",e.concatMany1Till(e.firstChoice(e.lazy(function(){return
n.escapedChar}),e.regex(/^./)),e.firstChoice(e.string(t.segmentNameStartChar),e.str
ing(t.optionalSegmentStartChar),e.string(t.optionalSegmentEndChar),n.wildcard))),n.
token=e.lazy(function(){return
e.firstChoice(n.wildcard,n.optional,n.named,n["static"])}),n.pattern=e.many1(e.lazy
(function(){return
n.token})),n},s={escapeChar:"\\",segmentNameStartChar:":",segmentValueCharset:"a-
zA-Z0-9-_~ %",segmentNameCharset:"a-zA-Z0-
9",optionalSegmentStartChar:"(",optionalSegmentEndChar:")",wildcardChar:"*"},o=func
tion(e,t){if(Array.isArray(e))return p(e,function(e){return o(e,t)});switch(e.tag)
{case"wildcard":return"(.*?)";case"named":return"(["+t+"]+)";case"static":return
c(e.value);case"optional":return"(?:"+o(e.value,t)+")?"}},i=function(e,t){return
null==t&&(t=s.segmentValueCharset),"^"+o(e,t)+"$"},r=function(e)
{if(Array.isArray(e))return a(e,r);switch(e.tag)
{case"wildcard":return["_"];case"named":return[e.value];case"static":return[];case"
optional":return r(e.value)}},l=function(e,t,n,r){var i,o,a,s;if(null==r&&(r=!
1),s=e[t],null!=s){if(i=n[t]||0,o=Array.isArray(s)?s.length-1:0,!(i>o))return
a=Array.isArray(s)?s[i]:s,r&&(n[t]=i+1),a;if(r)throw new Error("too few values
provided for key `"+t+"`")}else if(r)throw new Error("no values provided for key
`"+t+"`")},n=function(e,t,r){var i,o;if(Array.isArray(e)){for(i=-1,o=e.length;+
+i<o;)if(n(e[i],t,r))return!0;return!1}switch(e.tag){case"wildcard":return null!
=l(t,"_",r,!1);case"named":return null!=l(t,e.value,r,!1);case"static":return!
1;case"optional":return n(e.value,t,r)}},h=function(e,t,r)
{if(Array.isArray(e))return p(e,function(e){return h(e,t,r)});switch(e.tag)
{case"wildcard":return l(t,"_",r,!0);case"named":return l(t,e.value,r,!
0);case"static":return e.value;case"optional":return n(e.value,t,r)?
h(e.value,t,r):""}},t=function(e,n){var o,a,c,l,u;if(e instanceof t)return
this.isRegex=e.isRegex,this.regex=e.regex,this.ast=e.ast,void(this.names=e.names);i
f(this.isRegex=e instanceof RegExp,"string"!=typeof e&&!this.isRegex)throw new
TypeError("argument must be a regex or a string");if(this.isRegex)
{if(this.regex=e,null!=n){if(!Array.isArray(n))throw new Error("if first argument
is a regex the second argument may be an array of group names but you provided
something else");if(o=_(this.regex),n.length!==o)throw new Error("regex contains
"+o+" groups but array of group names contains
"+n.length);this.names=n}}else{if(""===e)throw new Error("argument must not be the
empty string");if(u=e.replace(/\s+/g,""),u!==e)throw new Error("argument must not
contain whitespace");if(a={escapeChar:(null!=n?n.escapeChar:void 0)||
s.escapeChar,segmentNameStartChar:(null!=n?n.segmentNameStartChar:void 0)||
s.segmentNameStartChar,segmentNameCharset:(null!=n?n.segmentNameCharset:void 0)||
s.segmentNameCharset,segmentValueCharset:(null!=n?n.segmentValueCharset:void 0)||
s.segmentValueCharset,optionalSegmentStartChar:(null!=n?
n.optionalSegmentStartChar:void 0)||
s.optionalSegmentStartChar,optionalSegmentEndChar:(null!=n?
n.optionalSegmentEndChar:void 0)||s.optionalSegmentEndChar,wildcardChar:(null!=n?
n.wildcardChar:void 0)||s.wildcardChar},l=d(a),c=l.pattern(e),null==c)throw new
Error("couldn't parse pattern");if(""!==c.rest)throw new Error("could only
partially parse pattern");this.ast=c.value,this.regex=new
RegExp(i(this.ast,a.segmentValueCharset)),this.names=r(this.ast)}},t.prototype.matc
h=function(e){var t,n;return n=this.regex.exec(e),null==n?null:
(t=n.slice(1),this.names?u(this.names,t):t)},t.prototype.stringify=function(e)
{if(null==e&&(e={}),this.isRegex)throw new Error("can't stringify patterns
generated from a regex");if(e!==Object(e))throw new Error("argument must be an
object or undefined");return h(this.ast,e,
{})},t.escapeForRegex=c,t.concatMap=a,t.stringConcatMap=p,t.regexGroupCount=_,t.key
sAndValuesToObject=u,t.P=e,t.newParser=d,t.defaultOptions=s,t.astNodeToRegexString=
i,t.astNodeToNames=r,t.getParam=l,t.astNodeContainsSegmentsForProvidedParams=n,t.st
ringify=h,t});

/* public/javascripts/jquery_global/utils.js @ 1526073743 */
Scribd.addComponent=function(e,t){var
n=null,r=e.split(/\/|\./),i=r.pop();r.reduce(function(e,t)
{return"undefined"==typeof
e[t]&&(e[t]={}),n=e[t]},Scribd),n[i]&&null===Scribd.rails_env.match(/production/)&&
console.error("Whoops! "+e+" is already defined. Make sure you're not overwriting
something!"),n[i]=t},Scribd.update_polite_live_region=function(e,t)
{if(this.memo=this.memo||{},this.memo[t]!==e){this.memo[t]=e;var n=$
(document.body).find(t?"#"+t+"[aria-live*='polite']":"[aria-
live*='polite']");if(n.length>0)setTimeout(function(){$
(n[0]).text(e)},250);else{var r=$("<span className='visually_hidden
polite_aria_live_region' role='status' aria-live='polite' aria-
atomic='true'></span>");t&&r.attr("id",t),r.text(e),$
(document.body).append(r)}}},Scribd.KeyMappings={backspace:8,tab:9,enter:13,shift:1
6,ctrl:17,alt:18,pause_break:19,"caps
lock":20,esc:27,space:32,page_up:33,page_down:34,end:35,home:36,left_arrow:37,up_ar
row:38,right_arrow:39,down_arrow:40,insert:45,"delete":46,0:48,1:49,2:50,3:51,4:52,
5:53,6:54,7:55,8:56,9:57,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:7
6,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,left_window
_key:91,right_window_key:92,select_key:93,numpad_0:96,numpad_1:97,numpad_2:98,numpa
d_3:99,numpad_4:100,numpad_5:101,numpad_6:102,numpad_7:103,numpad_8:104,numpad_9:10
5,multiply:106,add:107,subtract:109,decimal_point:110,divide:111,f1:112,f2:113,f3:1
14,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,num_lock:144,s
croll_lock:145,semi_colon:186,equal_sign:187,comma:188,dash:189,period:190,forward_
slash:191,grave_accent:192,open_bracket:219,back_slash:220,close_bracket:221,single
_quote:222},Scribd.localize_utc_date=function(e){if(!
e)return"";e=e.replace(/-/g,"/"),e.match(/UTC/)||
null===Scribd.rails_env.match(/production/)&&console.error("Date may not be a UTC
date");var t=new Date(e),n=t.getTimezoneOffset(),r=new Date(t.getTime()
+6e4*n);return r.toLocaleDateString()},Scribd.setup_cookie_jar=function(){return
new CookieJar({domain:window.location.host,expires:31536e4,path:"/"})},/*!
* jQuery BBQ: Back Button & Query Library - v1.3pre - 8/26/2010
* http://benalman.com/projects/jquery-bbq-plugin/
*
* Copyright (c) 2010 "Cowboy" Ben Alman
* Dual licensed under the MIT and GPL licenses.
* http://benalman.com/about/license/
*/
Scribd.deparam=function(e,t){var n={},r={"true":!0,"false":!1,"null":null};return
_.each(e.replace(/\+/g," ").split("&"),function(e){var
i,o=e.split("="),a=decodeURIComponent(o[0]),s=n,c=0,l=a.split("]["),u=l.length-
1;if(/\[/.test(l[0])&&/\]$/.test(l[u])?(l[u]=l[u].replace(/\]
$/,""),l=l.shift().split("[").concat(l),u=l.length-
1):u=0,2===o.length)if(i=decodeURIComponent(o[1]),t&&(i=i&&!isNaN(i)?
+i:"undefined"===i?void 0:void 0!==r[i]?r[i]:i),u)for(;u>=c;c++)a=""===l[c]?
s.length:l[c],s=s[a]=u>c?s[a]||(l[c+1]&&isNaN(l[c+1])?{}:[]):i;else
_.isArray(n[a])?n[a].push(i):n[a]=void 0!==n[a]?[n[a],i]:i;else a&&(n[a]=t?void
0:"")}),n};

/* public/javascripts/manifest.js @ 1526073916 */
!function(e){function t(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!
1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var
n=window.webpackJsonp;window.webpackJsonp=function(r,o,a){for(var
s,c,l,u=0,d=[];u<r.length;u++)c=r[u],i[c]&&d.push(i[c][0]),i[c]=0;for(s in
o)Object.prototype.hasOwnProperty.call(o,s)&&(e[s]=o[s]);for(n&&n(r,o,a);d.length;)
d.shift()();if(a)for(u=0;u<a.length;u++)l=t(t.s=a[u]);return l};var
r={},i={157:0};t.e=function(e){function n()
{s.onerror=s.onload=null,clearTimeout(c);var t=i[e];0!==t&&(t&&t[1](new
Error("Loading chunk "+e+" failed.")),i[e]=void 0)}var r=i[e];if(0===r)return new
Promise(function(e){e()});if(r)return r[2];var o=new Promise(function(t,n)
{r=i[e]=[t,n]});r[2]=o;var a=document.getElementsByTagName("head")
[0],s=document.createElement("script");s.type="text/javascript",s.charset="utf-
8",s.async=!0,s.timeout=12e4,t.nc&&s.setAttribute("nonce",t.nc),s.src=t.p+""+
({0:"app/views/account_settings/show.jsx",1:"app/views/library/show.jsx",2:"app/vie
ws/account_settings/package.jsx",3:"app/views/document_collections/show.jsx",4:"app
/views/library/_list_items.jsx",5:"app/views/library/modals/_watchlist_items.jsx",6
:"app/views/shared/react/lists/saved_list_items.jsx",7:"app/views/library/_watchlis
t_items.jsx",8:"app/views/shared/react/lists/list_items.jsx",9:"app/views/recommend
ers/modules/subscription_features.jsx",10:"app/views/pdfs/lightboxes/receipt_lightb
ox.jsx",11:"app/views/library/_filter.jsx",12:"app/views/shared/promos/annual_offer
/annual_lightbox.jsx",13:"app/views/recommenders/modules/article_tiles_row.jsx",14:
"app/views/books/modals/share_quote/container.jsx",15:"app/views/shared/promos/annu
al_offer/lightbox_container.jsx",16:"app/views/recommenders/modules/hero_interest_b
anner.jsx",17:"app/views/recommenders/modules/article_tile.jsx",18:"app/views/payme
nts/checkout_flow/credit_card_form.jsx",19:"app/views/document_collections/modules/
curated_book_item.jsx",20:"app/views/shared/react/cells/saved/issue.jsx",21:"app/vi
ews/shared/react/cells/saved/document.jsx",22:"app/views/shared/react/cells/saved/a
rticle.jsx",23:"app/views/recommenders/modules/hero_document.jsx",24:"app/views/lib
rary/_watchlist_item_controls.jsx",25:"app/views/document_edit/modal/privacy_modal.
jsx",26:"app/views/document_collections/modules/curated_article_item.jsx",27:"app/v
iews/shared/react/cells/issue.jsx",28:"app/views/shared/react/cells/document.jsx",2
9:"app/views/shared/react/cells/book.jsx",30:"app/views/shared/react/cells/article.
jsx",31:"app/views/search/filters/content_types.jsx",32:"app/views/receipt/download
.jsx",33:"app/views/library/modals/lists_edit.jsx",34:"app/views/library/_list_item
_controls.jsx",35:"app/views/shared/promos/annual_offer/plans_modal.jsx",36:"app/vi
ews/shared/promos/annual_offer/page.jsx",37:"app/views/shared/react/cells/saved/boo
k.jsx",38:"app/views/recommenders/modules/hero_publication_banner.jsx",39:"app/view
s/recommenders/modules/hero_content_type_banner.jsx",40:"app/views/pdfs/lightboxes/
_flag_list.jsx",41:"app/views/home/logged_in/history/hero_modal.jsx",42:"app/views/
document_collections/modules/curated_item_base.jsx",43:"app/views/shared/react/list
s/modals/add_to_list.jsx",44:"app/views/shared/react/forms/toggle.jsx",45:"app/view
s/shared/react/cells/_base.jsx",46:"app/views/search/results/contributors.jsx",47:"
app/views/search/filters/facets.jsx",48:"app/views/recommenders/modules/browse_drop
down.jsx",49:"app/views/library/empty_lists.jsx",50:"app/views/home/logged_in/conte
nt_tabs.jsx",51:"app/views/books/modals/share_quote/sharing_buttons.jsx",52:"app/vi
ews/books/components/footer.jsx",53:"app/views/book_preview/components/_actions.jsx
",54:"app/views/shared/promos/annual_offer/plans.jsx",55:"app/views/shared/react/li
sts/modals/delete_item_in_list.jsx",56:"app/views/shared/react/lists/modals/delete_
a_list.jsx",57:"app/views/recommenders/modules/recommended_carousel.jsx",58:"app/vi
ews/recommenders/modules/hero_banner.jsx",59:"app/views/pdfs/lightboxes/exclusive_t
rial_lightbox.jsx",60:"app/views/library/modals/filter_modal.jsx",61:"app/views/lib
rary/_lists_edit.jsx",62:"app/views/document_collections/modules/hero_curated_colle
ction.jsx",63:"app/views/document_collections/modules/collection_curator.jsx",64:"a
pp/views/document_collections/modules/citations.jsx",65:"app/views/books/modals/sha
re_quote/theme_selector.jsx",66:"app/views/books/epub/banners/_free_trial.jsx",67:"
app/views/books/epub/banners/_download.jsx",68:"app/views/value_props/home/save.jsx
",69:"app/views/value_props/home/read_offline.jsx",70:"app/views/value_props/home/n
otes_highlights.jsx",71:"app/views/value_props/home/display_settings.jsx",72:"app/v
iews/shared/save_prompt.jsx",73:"app/views/shared/save_for_later_promo.jsx",74:"app
/views/shared/react/tables/responsive_table.jsx",75:"app/views/shared/react/tab_nav
igation.jsx",76:"app/views/shared/react/save_button.jsx",77:"app/views/shared/react
/persona_icon.jsx",78:"app/views/shared/react/lists/_create_list_button.jsx",79:"ap
p/views/shared/react/lists/modals/create_a_list.jsx",80:"app/views/shared/react/for
ms/textarea.jsx",81:"app/views/shared/react/forms/text_input.jsx",82:"app/views/sha
red/react/forms/step_header.jsx",83:"app/views/shared/react/forms/radio.jsx",84:"ap
p/views/shared/react/forms/input_group.jsx",85:"app/views/shared/react/forms/checkb
ox.jsx",86:"app/views/shared/react/follow_magazine_button.jsx",87:"app/views/shared
/react/download_button.jsx",88:"app/views/shared/react/content_carousel.jsx",89:"co
mmon",90:"app/views/shared/react/button_menu.jsx",91:"app/views/shared/promos/annua
l_offer/promo_modal.jsx",92:"app/views/shared/message_promo.jsx",93:"app/views/shar
ed/inline_message_promo.jsx",94:"app/views/search/value_props/subscription_features
.jsx",95:"app/views/search/value_props/read_without_limits.jsx",96:"app/views/searc
h/value_props/download.jsx",97:"app/views/search/results/suggested.jsx",98:"app/vie
ws/search/results/lists.jsx",99:"app/views/search/results/interests.jsx",100:"app/v
iews/search/results/empty_results.jsx",101:"app/views/search/results/count.jsx",102
:"app/views/search/results/content.jsx",103:"app/views/search/results/base.jsx",104
:"app/views/search/input/show.jsx",105:"app/views/search/input/_suggestions.jsx",10
6:"app/views/search/filters/paginator.jsx",107:"app/views/search/filters/facets_mod
al.jsx",108:"app/views/search/app.jsx",109:"app/views/recommenders/modules/looking_
for_jump_back_in_promo.jsx",110:"app/views/recommenders/modules/doc_education_banne
r.jsx",111:"app/views/receipt/onboarding.jsx",112:"app/views/receipt/features.jsx",
113:"app/views/receipt/content_types.jsx",114:"app/views/receipt/app_promo_download
.jsx",115:"app/views/personalization/empty_categories.jsx",116:"app/views/library/e
mpty_items.jsx",117:"app/views/home/logged_in/header.jsx",118:"app/views/follow_mag
azines/publication_cells.jsx",119:"app/views/follow_magazines/index.jsx",120:"app/v
iews/document_collections/view_profile.jsx",121:"app/views/document_collections/rel
ated_lists.jsx",122:"app/views/document_collections/related_interests.jsx",123:"app
/views/document_collections/header.jsx",124:"app/views/document_collections/empty_l
ist.jsx",125:"app/views/books/modals/_empty_notebook.jsx",126:"app/views/books/epub
/banners/_book_banner.jsx",127:"app/views/books/epub/_standard_view.jsx",128:"app/v
iews/books/components/_vertical_reader.jsx",129:"app/views/books/components/_slider
.jsx",130:"app/views/books/components/_page_bookmark.jsx",131:"app/views/books/comp
onents/_loading_page.jsx",132:"app/views/books/components/_fullscreen_button.jsx",1
33:"app/views/books/components/_end_of_preview.jsx",134:"app/views/book_preview/com
ponents/free_trial_banner.jsx",135:"app/views/book_preview/components/book_price.js
x",136:"app/views/book_preview/components/available_in.jsx",137:"app/views/archive_
flow/header/_progress_bar.jsx",138:"app/views/shared/react/load_more.jsx",139:"app/
views/shared/react/lightbox.jsx",140:"app/views/shared/availability_notice.jsx",141
:"app/views/search/results/documents.jsx",142:"app/views/search/filters/facet_pills
.jsx",143:"app/views/recommenders/modules/recommended_component.jsx",144:"app/views
/receipt/app.jsx",145:"app/views/document_collections/remove_from_list.jsx",146:"ap
p/views/books/modals/share_quote/twitter_button.jsx",147:"app/views/books/modals/sh
are_quote/quote_canvas.jsx",148:"app/views/books/modals/share_quote/make_image_butt
on.jsx",149:"app/views/books/modals/share_quote/facebook_button.jsx",150:"app/views
/books/helpers/user_states.jsx",151:"app/views/books/helpers/fullscreen_api.jsx",15
2:"app/views/books/epub/banners/_pages_left.jsx",153:"app/views/books/epub/banners/
_end_of_reading.jsx",154:"app/views/book_preview/components/_audiobook_sample_butto
n.jsx",155:"app/views/shared/react/common_button.jsx",156:"app/views/shared/react/j
sx/base_component.jsx"}[e]||e)+".chunk.js";var c=setTimeout(n,12e4);return
s.onerror=s.onload=n,a.appendChild(s),o},t.m=e,t.c=r,t.d=function(e,n,r){t.o(e,n)||
Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e)
{var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return
t.d(n,"a",n),n},t.o=function(e,t){return
Object.prototype.hasOwnProperty.call(e,t)},t.p="",t.oe=function(e){throw
console.error(e),e}}([]);

/* public/javascripts/common.js @ 1526073916 */
webpackJsonp([89],[function(e,t){"use strict";function n(e,t){if(!(e instanceof
t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!
e)throw new ReferenceError("this hasn't been initialised - super() hasn't been
called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t)
{if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must
either be null or a function, not "+typeof
t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!
1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++)
{var n=arguments[t];for(var r in
n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function()
{function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}(),s=(React.PropTypes,function(e){function t(e)
{n(this,t);var i=r(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
i.bindMethodsToThis(),i.enclosing_class("auto__base_component"),i.name=i.constructo
r.name,i.element_uids={},i}return i(t,e),a(t,[{key:"track_rats",value:function(e,t)
{$(this.container).track_rats(e,t)}},{key:"uid",value:function s(){var
e=arguments.length>0&&void 0!==arguments[0]?
arguments[0]:"";if(this.props.uid_generator)return this.props.uid_generator(e);if(!
this.element_uids[e]){var
t=Math.floor(1e6*Math.random()),s=this.name+"_"+e+"_"+t;this.element_uids[e]=s}retu
rn this.element_uids[e]}},{key:"image_url",value:function(e)
{return("/images/"+e.trim()).replace(/\/+/g,"/")}},
{key:"enclosing_class",value:function(){var e=arguments.length>0&&void 0!
==arguments[0]?arguments[0]:null;return
this._enclosing_classes=this._enclosing_classes||
[],e&&this._enclosing_classes.push(e),this._enclosing_classes.join(" ")}},
{key:"component_classes",value:function(){var e=arguments.length>0&&void 0!
==arguments[0]?arguments[0]:"";return e}},
{key:"get_component_classname",value:function(){return this.enclosing_class()+"
"+this.component_classes()}},{key:"getMethodNames",value:function(){var
e=["constructor","componentWillMount","render","componentDidMount","componentWillRe
ceiveProps","shouldComponentUpdate","componentWillUpdate","componentDidUpdate","com
ponentWillUnmount","bindMethodsToThis"],t=Object.getOwnPropertyNames(this.construct
or.prototype),n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!
(r=(a=s.next()).done);r=!0){var c=a.value,l=this[c];"function"==typeof l&&-
1===e.indexOf(c)&&n.push(c)}}catch(u){i=!0,o=u}finally{try{!
r&&s.return&&s.return()}finally{if(i)throw o}}return n}},
{key:"bindMethodsToThis",value:function(){var
e=this,t=this.getMethodNames();t.forEach(function(t){e[t]=e[t].bind(e)})}},
{key:"enclosing_tag",value:function(){return"div"}},
{key:"enclosing_element_args",value:function(){return{}}},
{key:"render_content",value:function(){"test"!
==Scribd.rails_env&&console.log(this.constructor.name+" needs render_content method
instead of render for auto_encapsulation")}},{key:"render",value:function(){var
e=this,t=this.enclosing_tag();return React.createElement(t,o({ref:function(t)
{e.container=t},className:this.get_component_classname()},this.enclosing_element_ar
gs()),this.render_content())}},{key:"hook_tooltips",value:function()
{Scribd.hook_tooltips($(this.container))}}]),t}
(React.Component));Scribd.addComponent("Shared.BaseComponent",s),t.default=s},funct
ion(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:
{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call
a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't
been initialised - super() hasn't been called");return!t||"object"!=typeof
t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw
new TypeError("Super expression must either be null or a function, not "+typeof
t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!
1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++)
{var n=arguments[t];for(var r in
n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function()
{function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(0),u=r(l),d=React.PropTypes,_=function(e)
{function t(e){i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_common_button"),n}return a(t,e),c(t,
[{key:"render",value:function(){var
e=this.get_tag(),t=classNames(this.props.className,"flat_btn",this.get_component_cl
assname(),{disabled:this.props.disabled});return
React.createElement(e,s({className:t,title:this.props.title,onClick:this.props.onCl
ick,onKeyPress:this.props.onKeyPress,"aria-
disabled":this.props.disabled?"true":null,role:this.props.role,type:"button"===e?
this.props.type:null,target:this.props.target,"data-tooltip":this.props["data-
tooltip"]||
null,href:this.props.href},this.get_data_props(),this.get_aria_props()),this.render
_content(),this.render_spinner(),this.props.text,this.render_visually_hidden_text()
)}},{key:"render_visually_hidden_text",value:function(){return
this.props.visually_hidden_text?React.createElement("span",
{className:"visually_hidden"},this.props.visually_hidden_text):void 0}},
{key:"render_spinner",value:function(){return
this.props.className&&this.props.className.match(/text_btn/)?void
0:React.createElement("div",{key:"spinner","aria-
hidden":"true",className:"scribd_spinner","data-size":30})}},
{key:"render_content",value:function(){var e=this.props.children||[];return
this.props.is_facebook_button||/\bfacebook\b/.test(this.props.className)?
e.unshift(this.render_facebook_icon()):
(this.props.is_google_button||/\bgoogle\b/.test(this.props.className))&&e.unshift(t
his.render_google_icon()),e}},{key:"render_facebook_icon",value:function(){return
React.createElement("span",{key:"facebook_icon","aria-
hidden":"true",className:"icon icon-ic_facebook"})}},
{key:"render_google_icon",value:function(){return React.createElement("span",
{key:"google_icon","aria-hidden":"true",className:"icon icon-google"})}},
{key:"get_tag",value:function(){var e="button";return("undefined"!=typeof
this.props.href||"undefined"!=typeof this.props.target)&&(e="a","undefined"!=typeof
this.props.disabled&&console.error("You can't disable anchors")),e}},
{key:"get_data_props",value:function(){var e=this,t={};return
this.props.data_props&&Object.keys(this.props.data_props).forEach(function(n){var
r=e.props.data_props[n];t["data-"+n]=r}),t}},{key:"get_aria_props",value:function()
{var e=this,t={};return
this.props.aria_props&&Object.keys(this.props.aria_props).forEach(function(n){var
r=e.props.aria_props[n];t["aria-"+n]=r}),t}}]),t}
(u.default);_.propTypes={className:d.string,children:d.oneOfType([d.array,d.element
,d.string]),disabled:d.bool,text:d.string,title:d.string,onClick:d.func,onKeyPress:
d.func,type:d.string,data_props:d.object,aria_props:d.object,visually_hidden_text:d
.string,href:d.string,target:d.string,is_facebook_button:d.bool,is_google_button:d.
bool},_.defaultProps={type:"button",is_facebook_button:!1,is_google_button:!
1,data_props:{},aria_props:
{}},t.default=_,Scribd.addComponent("Shared.React.CommonButton",_)}]);

/* public/javascripts/ua-parser.min.js @ 1526073743 */
/**
* UAParser.js v0.7.17
* Lightweight JavaScript-based User-Agent string parser
* https://github.com/faisalman/ua-parser-js
*
* Copyright © 2012-2016 Faisal Salman <fyzlman@gmail.com>
* Dual licensed under GPLv2 or MIT
*/
!function(e,t){"use strict";var
n="0.7.17",r="",i="?",o="function",a="undefined",s="object",c="string",l="major",u=
"model",d="name",_="type",p="vendor",h="version",f="architecture",m="console",b="mo
bile",g="tablet",v="smarttv",y="wearable",w="embedded",k={extend:function(e,t){var
n={};for(var r in e)n[r]=t[r]&&t[r].length%2===0?t[r].concat(e[r]):e[r];return
n},has:function(e,t){return"string"==typeof e?-1!
==t.toLowerCase().indexOf(e.toLowerCase()):!1},lowerize:function(e){return
e.toLowerCase()},major:function(e){return typeof e===c?e.replace(/
[^\d\.]/g,"").split(".")[0]:t},trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|
[\s\uFEFF\xA0]+$/g,"")}},x={rgx:function(e,n){for(var r,i,a,c,l,u,d=0;d<n.length&&!
l;){var _=n[d],p=n[d+1];for(r=i=0;r<_.length&&!l;)if(l=_[r+
+].exec(e))for(a=0;a<p.length;a++)u=l[++i],c=p[a],typeof c===s&&c.length>0?
2==c.length?this[c[0]]=typeof c[1]==o?c[1].call(this,u):c[1]:3==c.length?
this[c[0]]=typeof c[1]!==o||c[1].exec&&c[1].test?u?u.replace(c[1],c[2]):t:u?
c[1].call(this,u,c[2]):t:4==c.length&&(this[c[0]]=u?
c[3].call(this,u.replace(c[1],c[2])):t):this[c]=u?u:t;d+=2}},str:function(e,n)
{for(var r in n)if(typeof n[r]===s&&n[r].length>0){for(var o=0;o<n[r].length;o+
+)if(k.has(n[r][o],e))return r===i?t:r}else if(k.has(n[r],e))return r===i?
t:r;return e}},S={browser:{oldsafari:{version:
{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/
419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:
{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:
{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT
5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT
10.0"],RT:"ARM"}}}},E={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]
+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]
+)/i],[d,h],[/(opios)[\/\s]+([\w\.]+)/i],[[d,"Opera Mini"],h],[/\s(opr)\/([\w\.]
+)/i],[[d,"Opera"],h],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|
blazer)[\/\s]?([\w\.]+)*/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?
([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]+)*/i,/(chromium|flock|
rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|
phantomjs|bowser)\/([\w\.-]+)/i],[d,h],[/(trident).+rv[:\s]([\w\.]+).
+like\sgecko/i],[[d,"IE"],h],[/(edge)\/((\d+)?[\w\.]+)/i],[d,h],[/(yabrowser)\/
([\w\.]+)/i],[[d,"Yandex"],h],[/(puffin)\/([\w\.]+)/i],[[d,"Puffin"],h],[/((?:
[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[d,"UCBrowser"],h],[/
(comodo_dragon)\/([\w\.]+)/i],[[d,/_/g," "],h],[/(micromessenger)\/([\w\.]+)/i],
[[d,"WeChat"],h],[/(QQ)\/([\d\.]+)/i],[d,h],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],
[d,h],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[h,[d,"MIUI Browser"]],[/;fbav\/([\w\.]
+);/i],[h,[d,"Facebook"]],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[h,[d,"Chrome
Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[d,/(.+)/,"$1 WebView"],h],[/
((?:oculus|samsung)browser)\/([\w\.]+)/i],[[d,/(.+(?:g|us))(.+)/,"$1 $2"],h],
[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[h,[d,"Android
Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[d,h],
[/(dolfin)\/([\w\.]+)/i],[[d,"Dolphin"],h],[/((?:android.+)crmo|crios)\/([\w\.]
+)/i],[[d,"Chrome"],h],[/(coast)\/([\w\.]+)/i],[[d,"Opera Coast"],h],[/fxios\/
([\w\.-]+)/i],[h,[d,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[h,
[d,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[h,d],
[/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[[d,"GSA"],h],
[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[d,
[h,x.str,S.browser.oldsafari.version]],[/(konqueror)\/([\w\.]+)/i,/(webkit|khtml)\/
([\w\.]+)/i],[d,h],[/(navigator|netscape)\/([\w\.-]+)/i],[[d,"Netscape"],h],[/
(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|
conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|
phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,/(mozilla)\/([\w\.]+).+rv\:.
+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?
([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]+)*/i,/(ice\s?
browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[d,h]],cpu:[[/(?:(amd|x(?:
(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[f,"amd64"]],[/(ia32(?=;))/i],
[[f,k.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[f,"ia32"]],[/windows\s(ce|
mobile);\sppc;/i],[[f,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],
[[f,/ower/,"",k.lowerize]],[/(sun4\w)[;\)]/i],[[f,"sparc"]],[/((?:avr32|ia64(?=;))|
68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-
risc)/i],[[f,k.lowerize]]],device:[[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i],
[u,p,[_,g]],[/applecoremedia\/[\w\.]+ \((ipad)/],[u,[p,"Apple"],[_,g]],[/
(apple\s{0,1}tv)/i],[[u,"Apple TV"],[p,"Apple"]],[/(archos)\s(gamepad2?)/i,/(hp).+
(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/
(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[p,u,[_,g]],[/(kf[A-z]+)\sbuild\/[\w\.]
+.*silk\//i],[u,[p,"Amazon"],[_,g]],[/(sd|kf)[0349hijorstuw]+\sbuild\/[\w\.]
+.*silk\//i],[[u,x.str,S.device.amazon.model],[p,"Amazon"],[_,b]],[/\
((ip[honed|\s\w*]+);.+(apple)/i],[u,p,[_,b]],[/\((ip[honed|\s\w*]+);/i],[u,
[p,"Apple"],[_,b]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|
sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]+)*/i,/
(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[p,u,[_,b]],[/\(bb10;\s(\w+)/i],[u,
[p,"BlackBerry"],[_,b]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|
nexus 7|padfone)/i],[u,[p,"Asus"],[_,g]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/
(sony)?(?:sgp.+)\sbuild\//i],[[p,"Sony"],[u,"Xperia Tablet"],[_,g]],[/android.
+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i],[u,[p,"Sony"],[_,b]],[/\s(ouya)\s/i,/
(nintendo)\s([wids3u]+)/i],[p,u,[_,m]],[/android.+;\s(shield)\sbuild/i],[u,
[p,"Nvidia"],[_,m]],[/(playstation\s[34portablevi]+)/i],[u,[p,"Sony"],[_,m]],[/
(sprint\s(\w+))/i],[[p,x.str,S.device.sprint.vendor],
[u,x.str,S.device.sprint.model],[_,b]],[/(lenovo)\s?(S(?:5000|6000)+(?:[-]
[\w+]))/i],[p,u,[_,g]],[/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i,/(zte)-(\w+)*/i,/
(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]+)*/i],[p,
[u,/_/g," "],[_,b]],[/(nexus\s9)/i],[u,[p,"HTC"],[_,g]],[/d\/huawei([\w\s-]+)
[;\)]/i,/(nexus\s6p)/i],[u,[p,"Huawei"],[_,b]],[/(microsoft);\s(lumia[\s\w]+)/i],
[p,u,[_,b]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[u,[p,"Microsoft"],[_,m]],[/(kin\.
[onetw]{3})/i],[[u,/\./g," "],[p,"Microsoft"],[_,b]],[/\s(milestone|droid(?:[2-
4x]|\s(?:bionic|x2|pro|razr))?(:?\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w+)*/i,/
(XT\d{3,4}) build\//i,/(nexus\s6)/i],[u,[p,"Motorola"],[_,b]],[/android.+\s(mz60\d|
xoom[\s2]{0,2})\sbuild\//i],[u,[p,"Motorola"],[_,g]],[/hbbtv\/\d+\.\d+\.\d+\s+\
([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[p,k.trim],[u,k.trim],[_,v]],[/hbbtv.+maple;
(\d+)/i],[[u,/^/,"SmartTV"],[p,"Samsung"],[_,v]],[/\(dtv[\);].+(aquos)/i],[u,
[p,"Sharp"],[_,v]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-
t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[p,"Samsung"],u,[_,g]],[/smart-tv.+
(samsung)/i],[p,[_,v],u],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/
(sam[sung]*)[\s-]*(\w+-?[\w-]*)*/i,/sec-((sgh\w+))/i],[[p,"Samsung"],u,[_,b]],
[/sie-(\w+)*/i],[u,[p,"Siemens"],[_,b]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/
(nokia)[\s_-]?([\w-]+)*/i],[[p,"Nokia"],u,[_,b]],[/android\s3\.[\s\w;-]{10}
(a\d{3})/i],[u,[p,"Acer"],[_,g]],[/android.+([vl]k\-?\d{3})\s+build/i],[u,[p,"LG"],
[_,g]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[p,"LG"],u,[_,g]],[/(lg)
netcast\.tv/i],[p,u,[_,v]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w+)*/i,/android.+lg(\-?
[\d\w]+)\s+build/i],[u,[p,"LG"],[_,b]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[u,
[p,"Lenovo"],[_,g]],[/linux;.+((jolla));/i],[p,u,[_,b]],[/((pebble))app\/[\d\.]
+\s/i],[p,u,[_,y]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[p,u,[_,b]],
[/crkey/i],[[u,"Chromecast"],[p,"Google"]],[/android.+;\s(glass)\s\d/i],[u,
[p,"Google"],[_,y]],[/android.+;\s(pixel c)\s/i],[u,[p,"Google"],[_,g]],[/android.
+;\s(pixel xl|pixel)\s/i],[u,[p,"Google"],[_,b]],[/android.+
(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?
[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?
[\s_]*(?:\d\w)?)\s+build/i,/android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]
+)?)\s+build/i],[[u,/_/g," "],[p,"Xiaomi"],[_,b]],[/android.+(mi[\s\-_]*(?:pad)?(?:
[\s_]*[\w\s]+)?)\s+build/i],[[u,/_/g," "],[p,"Xiaomi"],[_,g]],[/android.+;\s(m[1-
5]\snote)\sbuild/i],[u,[p,"Meizu"],[_,g]],[/android.+a000(1)\s+build/i],[u,
[p,"OnePlus"],[_,b]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[u,[p,"RCA"],
[_,g]],[/android.+[;\/]\s*(Venue[\d\s]*)\s+build/i],[u,[p,"Dell"],[_,g]],[/android.
+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[u,[p,"Verizon"],[_,g]],[/android.+[;\/]\s+
(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[[p,"Barnes & Noble"],u,[_,g]],
[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[u,[p,"NuVision"],[_,g]],[/android.+
[;\/]\s*(zte)?.+(k\d{2})\s+build/i],[[p,"ZTE"],u,[_,g]],[/android.+
[;\/]\s*(gen\d{3})\s+build.*49h/i],[u,[p,"Swiss"],[_,b]],[/android.+
[;\/]\s*(zur\d{3})\s+build/i],[u,[p,"Swiss"],[_,g]],[/android.+[;\/]\s*((Zeki)?
TB.*\b)\s+build/i],[u,[p,"Zeki"],[_,g]],[/(android).+[;\/]\s+
([YR]\d{2}x?.*)\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(.
+)\s+build/i],[[p,"Dragon Touch"],u,[_,g]],[/android.+[;\/]\s*(NS-?.+)\s+build/i],
[u,[p,"Insignia"],[_,g]],[/android.+[;\/]\s*((NX|Next)-?.+)\s+build/i],[u,
[p,"NextBook"],[_,g]],[/android.+[;\/]\s*(Xtreme\_?)?(V(1[045]|2[015]|30|40|60|
7[05]|90))\s+build/i],[[p,"Voice"],u,[_,b]],[/android.+[;\/]\s*(LVTEL\-?)?
(V1[12])\s+build/i],[[p,"LvTel"],u,[_,b]],[/android.+[;\/]\s*(V(100MD|700NA|7011|
917G).*\b)\s+build/i],[u,[p,"Envizen"],[_,g]],[/android.+[;\/]\s*(Le[\s\-]+Pan)
[\s\-]+(.*\b)\s+build/i],[p,u,[_,g]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],
[u,[p,"MachSpeed"],[_,g]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],
[p,u,[_,g]],[/android.+[;\/]\s*TU_(1491)\s+bu
ild/i],[u,[p,"Rotor"],[_,g]],[/android.+(KS(.+))\s+build/i],[u,[p,"Amazon"],[_,g]],
[/android.+(Gigaset)[\s\-]+(Q.+)\s+build/i],[p,u,[_,g]],[/\s(tablet|tab)
[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[_,k.lowerize],p,u],[/(android.+)[;\/].
+build/i],[u,[p,"Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[h,
[d,"EdgeHTML"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|
lynx|w3m)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]
([23]\.[\d\.]+)/i],[d,h],[/rv\:([\w\.]+).*(gecko)/i],[h,d]],os:
[[/microsoft\s(windows)\s(vista|xp)/i],[d,h],[/(windows)\snt\s6\.2;\s(arm)/i,/
(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s]+\w)*/i,/(windows\smobile|windows)[\s\/]?
([ntce\d\.\s]+\w)/i],[d,[h,x.str,S.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)
([nt\d\.]+)/i],[[d,"Windows"],[h,x.str,S.os.windows.version]],[/\((bb)(10);/i],
[[d,"BlackBerry"],h],[/(blackberry)\w*\/?([\w\.]+)*/i,/(tizen)[\/\s]([\w\.]+)/i,/
(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]
+)*/i,/linux;.+(sailfish);/i],[d,h],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]
+)*/i],[[d,"Symbian"],h],[/\((series40);/i],[d],[/mozilla.+\(mobile;.+gecko.
+firefox/i],[[d,"Firefox OS"],h],[/(nintendo|playstation)\s([wids34portablevu]
+)/i,/(mint)[\/\s\(]?(\w+)*/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|
debian|[open]*suse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|
redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]+)*/i,/(hurd|linux)\s?([\w\.]+)*/i,/
(gnu)\s?([\w\.]+)*/i],[d,h],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[d,"Chromium OS"],h],
[/(sunos)\s?([\w\.]+\d)*/i],[[d,"Solaris"],h],[/\s([frentopc-]{0,4}bsd|
dragonfly)\s?([\w\.]+)*/i],[d,h],[/(haiku)\s(\w+)/i],[d,h],[/cfnetwork\/.
+darwin/i,/ip[honead]+(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],[[h,/_/g,"."],
[d,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]+\w)*/i,/(macintosh|mac(?=_powerpc)\s)/i],
[[d,"Mac OS"],[h,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]+)*/i,/(aix)\s((\d)
(?=\.|\)|\s)[\w\.]*)*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|
openvms)/i,/(unix)\s?([\w\.]+)*/i],[d,h]]},R=function(n,i){if("object"==typeof
n&&(i=n,n=t),!(this instanceof R))return new R(n,i).getResult();var o=n||
(e&&e.navigator&&e.navigator.userAgent?e.navigator.userAgent:r),a=i?
k.extend(E,i):E;return this.getBrowser=function(){var e={name:t,version:t};return
x.rgx.call(e,o,a.browser),e.major=k.major(e.version),e},this.getCPU=function(){var
e={architecture:t};return x.rgx.call(e,o,a.cpu),e},this.getDevice=function(){var
e={vendor:t,model:t,type:t};return
x.rgx.call(e,o,a.device),e},this.getEngine=function(){var
e={name:t,version:t};return x.rgx.call(e,o,a.engine),e},this.getOS=function(){var
e={name:t,version:t};return x.rgx.call(e,o,a.os),e},this.getResult=function()
{return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.g
etOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return
o},this.setUA=function(e){return
o=e,this},this};R.VERSION=n,R.BROWSER={NAME:d,MAJOR:l,VERSION:h},R.CPU={ARCHITECTUR
E:f},R.DEVICE={MODEL:u,VENDOR:p,TYPE:_,CONSOLE:m,MOBILE:b,SMARTTV:v,TABLET:g,WEARAB
LE:y,EMBEDDED:w},R.ENGINE={NAME:d,VERSION:h},R.OS={NAME:d,VERSION:h},typeof
exports!==a?(typeof module!
==a&&module.exports&&(exports=module.exports=R),exports.UAParser=R):typeof
define===o&&define.amd?define(function(){return R}):e&&(e.UAParser=R);var
C=e&&(e.jQuery||e.Zepto);if(typeof C!==a){var O=new
R;C.ua=O.getResult(),C.ua.get=function(){return O.getUA()},C.ua.set=function(e)
{O.setUA(e);var t=O.getResult();for(var n in t)C.ua[n]=t[n]}}}("object"==typeof
window?window:this);

/* :asset_packager_compatibility, 'config/asset_packages.yml' @ 1526073743 */


/* public/javascripts/cookiejar.jquery.coffee @ 1526073743 */
(function(){var e;e=function(){function e(e){var
t,n;this.options=$.extend({expires:3600,path:"/",domain:".scribd.com",secure:""},e)
,""!==this.options.expires&&(n=+new Date,t=new
Date(n+1e3*this.options.expires),this.options.expires=";
expires="+t.toGMTString()),""!==this.options.path&&(this.options.path=";
path="+escape(this.options.path)),""!==this.options.domain&&(this.options.domain=";
domain="+escape(this.options.domain)),this.options.secure=this.options.secure?";
secure":""}return e.prototype.append_string="__CJ_",e.prototype.put=function(e,t)
{var n,r,i;switch(e=this.append_string+e,typeof t)
{case"undefined":case"function":case"unknown":return!
1;case"boolean":case"string":case"number":t=t.toString()}n=e+" =
"+escape(JSON.stringify(t));try{return
document.cookie=n+this.options.expires+this.options.path+this.options.domain+this.o
ptions.secure,!0}catch(i){return r=i,!1}},e.prototype.remove=function(e){var
t,n,r,i,o;o=+new Date,i="; expires="+new Date(o-36e5).toGMTString();try{return
t=this.append_string+e+"="+i+this.options.path+this.options.domain+this.options.sec
ure,document.cookie=t,!0}catch(r){return n=r,!1}},e.prototype.get=function(e){var
t;return e=this.append_string+e,(t=document.cookie.match(e+"=(.*?)(;|$)"))?
$.parseJSON(unescape(t[1])):void 0},e.prototype.get_keys=function(){var
e,t,n,r,i,o;for(r=[],n=new RegExp("^"+this.append_string),o=document.cookie.match(/
[^=; ]+(?=\=)/g),e=0,i=o.length;i>e;e++)t=o[e],t.match(n)&&r.push(t);return
r},e.prototype.empty=function(){var
e,t,n,r,i;for(r=this.get_keys(),i=[],e=0,n=r.length;n>e;e+
+)t=r[e],i.push(this.remove(t));return i},e}(),"undefined"!=typeof
module&&module.exports&&(module.exports=e),"undefined"!=typeof
window&&(window.CookieJar=e)}).call(this);

/* public/javascripts/shared/scribd.translations.coffee @ 1526073743 */
(function(){Scribd.TranslationsAggregator=function(){function e(){}return
e._attempts=0,e.ready=!1,e.ready_fn=null,e.aggregate=function(){var
e,t,n,r,i,o;if(null==window.Scribd.translations){if(!
(Scribd.TranslationsAggregator.attempts>10))return
Scribd.TranslationsAggregator.attempts++,setTimeout(function(){return
Scribd.TranslationsAggregator.aggregate()},200);console.error("no translations
found")}for(o={},r=window.Scribd.translations,t=0,n=r.length;n>t;t+
+)i=r[t],o=$.extend(!0,o,i);return
I18n.translations=o,Scribd.TranslationsAggregator.ready=!
0,"function"==typeof(e=Scribd.translations).ready_fn&&e.ready_fn(),$
(document.body).trigger("scribd:translations:ready")},e}
(),Scribd.with_translations=function(e){return
Scribd.TranslationsAggregator.ready?"function"==typeof e?e():void 0:
(Scribd.translations.ready_fn=e,$
(document.body).one("scribd:translations:ready",function(){var
e;return"function"==typeof(e=Scribd.translations).ready_fn?e.ready_fn():void
0}))}}).call(this);

/* public/javascripts/jquery_global/base.coffee @ 1526073743 */
(function(){var e,t,n,r,i,o,a=[].slice;_&&(_.templateSettings={escape:/\{\{(?![&])
(.+?)\}\}/g,interpolate:/\{\{&(.+?)\}\}/g,evaluate:/\{\[(?![&])(.+?)\]\}/g}),$
(function(){try{Scribd.ie&&$(document.body).addClass("ie ie"+Scribd.ie)}catch(e)
{}return $("body").on("keydown
mousedown",Scribd.check_focus)});try{r=Scribd.deparam(location.search.slice(1)),nul
l!=r.noanimate&&(t=["-webkit-transition","-moz-transition","-ms-
transition","transition"],o=t.map(function(e){return e+": none !important"}),n="* {
"+o.join("; ")+" }",i=document.createElement("style"),i.type="text/css",null!
=i.styleSheet?
i.styleSheet.cssText=n:i.appendChild(document.createTextNode(n)),document.head.appe
ndChild(i),$.fx.off=!0,Scribd.noanimate=!0)}catch(s)
{}Scribd.jsblock=$.Deferred(),Scribd.using_keyboard=!
1,Scribd.check_focus=function(e){return Scribd.using_keyboard||"keydown"!==e.type||
9!==e.which&&9!==e.keyCode?Scribd.using_keyboard&&"mousedown"===e.type?($
("body").removeClass("keyboard_focus"),Scribd.using_keyboard=!1):void 0:($
("body").addClass("keyboard_focus"),Scribd.using_keyboard=!
0)},Scribd.initFBElement=function(e){return window.FB?
FB.XFBML.parse(e):setTimeout(function(){return
Scribd.initFBElement(e)},300)},Scribd.truncate=function(e,t){return
null==t&&(t=60),e.replace(new RegExp("^(.{"+(t-3)+"})[\\s\\S]*$"),function(e,t)
{return t.replace(/\s+$/,"")+"..."})},Scribd.logging_enabled=!1||
window.location.hash.match(/log/i),Scribd.ensure_reload_on_back_button=function()
{return-1!
==window.location.hash.indexOf("rel")&&(window.location.hash=window.location.hash.r
eplace("rel",""),window.location.reload()),window.location.hash=window.location.has
h+"rel"},Scribd.log=function(e,t,n){var r;return
null==n&&(n="log"),Scribd.logging_enabled&&(null!=(r=window.console)?r[n]:void
0)&&(console[n](e),t)?console[n](t):void
0},Scribd.log_perceived_page_load_time=function(e,t){var n,r,i,o,a;return
null==t&&(t={}),a=t.time||+new Date,n=t.action||"Metrics",o="perceived_load_time:"+
(Scribd.named_current_user()?"logged_in":"logged_out"),i=t.prefix?
t.prefix+":"+o:o,window.performance&&window.performance.timing?(r=a-
window.performance.timing.fetchStart,$
(document.body).track({category:e,action:n,label:i,params:
{elapsed_time:r},interactive:!1})):void 0},Scribd.log_error=function(e,t){return
Scribd.log(e,t,"error")},Scribd.has_flash=function(){var e,t,n;try{if(n=new
ActiveXObject("ShockwaveFlash.ShockwaveFlash"))return!0}catch(t){if(e=t,void 0!
==navigator.mimeTypes["application/x-shockwave-flash"])return!0}return!
1},Scribd.with_login=function(e,t){return"function"==typeof
e&&(t=e,e={}),Scribd.logged_in?"function"==typeof t?t():void
0:Scribd.SignIn.open($.extend({initial_view:"login"},e))},Scribd.after_login=functi
on(e,t){return"function"==typeof
e&&(t=e,e={}),Scribd.with_login($.extend({next_url:
$.Deferred().done(t)},e),t)},Scribd.parse_parameters=function(e){var
t,n,r,i,o,a,s,c,l;for(t=e.charAt(0),
("#"===t||"?"===t)&&(e=e.substr(1)),o={},s=e.split("&"),n=0,i=s.length;i>n;n+
+)a=s[n],""!==a&&(c=a.split("="),r=c[0],l=c[1],o[decodeURIComponent(r).replace(/\
+/g," ")]=null!=l?decodeURIComponent(l).replace(/\+/g," "):!0);return
o},Scribd.add_url_parameter=function(e,t,n){var r,i,o;return
i=e.indexOf("#"),r="",i>=0&&(r=e.substr(i),e=e.substr(0,i)),o=new
RegExp("&?"+t+"=[^&]*","g"),e=e.replace(o,""),e+=e.indexOf("?")>=0?/[?]$/.test(e)?
t+"="+n:"&"+t+"="+n:"?"+t+"="+n,e+r},Scribd.add_url_parameters=function(e,t){var
n,r;for(n in t)r=t[n],e=Scribd.add_url_parameter(e,n,t[n]);return
e},Scribd.with_local_storage=function(){var e;return e=function(){var
e,t,n,r;r="test",n=window.sessionStorage;try{return
n.setItem(r,"1"),n.removeItem(r),!0}catch(t){return e=t,!1}},function(t){return
e()?t(window.localStorage):void 0}}(),Scribd.with_named_current_user=function(e)
{return"function"==typeof e?e(Scribd.named_current_user()):void
0},Scribd.set_named_current_user=function(e){return
Scribd.current_user=e},Scribd.named_current_user=function(){return
Scribd.current_user&&!Scribd.current_user.anonymous?Scribd.current_user:void
0},Scribd.with_anonymous_current_user=function(e){var
t;return(t=Scribd.anonymous_current_user())&&"function"==typeof e?e(t):void
0},Scribd.anonymous_current_user=function(){return
Scribd.current_user&&Scribd.current_user.anonymous?Scribd.current_user:void
0},Scribd.named_current_user_sync=Scribd.named_current_user,Scribd.anonymous_curren
t_user_sync=Scribd.anonymous_current_user,Scribd.UrlFor={document:function(e)
{return"/doc/"+e}},Scribd.CSRF={get_csrf_params:function(){return
this.ensure_token_initialized(),this.csrf_params},get_csrf_name:function(){return
this.ensure_token_initialized(),this.param},get_csrf_value:function(){return
this.ensure_token_initialized(),this.token},get_csrf_debug:function(){return
this.debug_str},with_token:function(e){return null==e&&(e={}),"string"===$.type(e)?
e+"&"+$.param(this.get_csrf_params()):
$.extend(e,this.get_csrf_params())},ensure_token_initialized:function(){var
e;return this.token_initialized?void 0:(this.debug_str="",this.param=$
("meta[name=csrf-param]").attr("content"),this.token=$("meta[name=csrf-
token]").attr("content"),this.token||(this.debug_str+="1"),this.token||
(e={href:window.location.href},
$.ajax({type:"POST",url:"https://www.scribd.com/csrf_token?"+$.param(e),async:!
1,cache:!1,skip_csrf:!0,success:function(e){return function(t,n){return
t.csrf_token?(e.token=t.csrf_token,e.debug_str+="3"):e.debug_str+="-
2-"+encodeURIComponent(JSON.stringify(t))+"-"+n+"-"+window.location.href+"-"}}
(this),error:function(e){return function(t,n,r){return e.debug_str+="-
4-"+t.status+"-"+encodeURIComponent(n)+"-"+encodeURIComponent(r)
+"-"+window.location.href+"-"}}(this)})),this.token||
(this.debug_str+="5"),this.csrf_params={},null!=this.param&&null!
=this.token&&(this.csrf_params[this.param]=this.token),this.token_initialized=!
0)}},$.ajaxPrefilter(function(e,t,n){var r,i,o;return n.setRequestHeader("X-Tried-
CSRF","1"),o=!1,e.crossDomain&&e.url.match(/^https?:\/\/[^.]
+.scribd.com\//)&&(n.setRequestHeader("X-Requested-
With","XMLHttpRequest"),e.xhrFields={withCredentials:!0},o=!0),e.crossDomain&&!o||!
e.type||"get"===e.type.toLowerCase()||t.skip_csrf?
(i="",e.crossDomain&&(i+="1"),e.type||
(i+="2"),e.type&&"get"===e.type.toLowerCase()&&(i+="3"),t.skip_csrf&&(i+="4"),n.set
RequestHeader("X-CSRF-Failed",i)):(r=Scribd.CSRF.get_csrf_value(),r?
n.setRequestHeader("X-CSRF-Token",r):(n.setRequestHeader("X-CSRF-
Failed","5"),n.setRequestHeader("X-CSRF-
Debug",Scribd.CSRF.get_csrf_debug())))}),Scribd.JSONCookie=function(){function
e(e,t){var n;this.name=e,this.jar=t||new
CookieJar({path:"/",expires:""}),n=this.jar.get(name)||{},"string"==typeof
n&&(n=$.parseJSON(n)),this.store=_.clone(n)}return e.prototype.set=function(e,t)
{return this.store[e]=t},e.prototype.unset=function(e){return delete
this.store[e]},e.prototype.get=function(e){return
this.store[e]},e.prototype.save=function(){return
this.jar.put(this.name,JSON.stringify(this.store))},e}(),
$.easing.ease_in_out_cubic=function(e,t,n,r,i){return(t/=i/2)<1?
r/2*t*t*t+n:r/2*((t-=2)*t*t+2)+n},$.fn.tap=function(e){return
e.call(this,this),this},$.fn.absolutize=function(){return this.each(function(){var
e,t,n,r,i,o;return e=jQuery(this),"absolute"===e.css("position")?e:
(r=e.position(),i=r.top,n=r.left,o=e[0].clientWidth,t=e[0].clientHeight,e._original
Left=n-parseFloat(e.css("left")||0),e._originalTop=i-parseFloat(e.css("top")||
0),e._originalWidth=e.css("width"),e._originalHeight=e.css("height"),e.css("positio
n","absolute"),e.css("top",i+"px"),e.css("left",n+"px"),e.css("width",o+"px"),e.css
("height",t+"px"),e)})},$.fn.viewportOffset=function(){var e,t;return e=$
(this).offset(),t=$.fn.viewportOffset.win,e?{left:e.left-t.scrollLeft(),top:e.top-
t.scrollTop()}:void 0},$.fn.viewportOffset.win=$(window),
$.fn.has_expandable_text=function(e){return this.on("click",".truncated_more,
.truncated_less",function(t){var n;return n=$
(t.currentTarget).closest(".truncated_text").find(".truncated_short").toggle().end(
).find(".truncated_long").toggle(),"function"==typeof e?e(n):void 0}),this},
$.fn.event_promise=function(e){var t;return t=$.Deferred(),this.one(e,function()
{return t.resolve()}),t},$.easing.smoothstep=function(e){return e*e*e*(e*(6*e-
15)+10)},$.fn.dispatch=function(e,t,n){return"click"===e&&(e="click
contextmenu"),this.on(e,function(r){var i,o,a,s,c;a=$(r.target);for(s in
t)if(o=t[s],i=a.closest("."+s),0!==i.length){if(i.hasClass("disabled"))return!
1;if(i.data("track")||i.data("track",s),i.track({action:e.split(" ")
[0]}),i.trigger("scribd:track_rats_ga"),"contextmenu"===r.type)return;if(c=null!=o?
o.call(n,i,r):void 0,"continue"!==c)return!1}return null}),this},
$.fn.restrict_money=function(){var e,t,n;return
n=/\d/,e=/\./,t=/^\d*(\.\d{0,2})?/,this.keypress(function(t){var
r,i,o;if(t.keyCode>=32){if(r=String.fromCharCode(t.keyCode),o=$
(this).val(),i=o.match(e),"."===r){if(i)return!1}else if(!r.match(n))return!
1;return!0}}),this.change(function(){var e,n,r;return e=$(this),n=null!
=(r=e.val().match(t))?r[0]:void 0,e.val()!==n?e.val(n):void 0}),this},
$.fn.focusable_children=function(e){var
t,n,r,i,o;for(null==e&&(e={}),o=["a","button",":input","[tabindex]"],t=[],n=0,r=o.l
ength;r>n;n+
+)i=o[n],t.push(i+":not(.visually_hidden):not(.skip_focus):visible");return
t=t.join(","),e.no_memo?this.find(t):
(null==this.memo&&(this.memo={}),this.memo.focusable_children?
this.memo.focusable_children:this.memo.focusable_children=this.find(t))},
$.fn.trap_focus_in_children=function(e){var t,n,r,i,o;return null==e&&(e={}),o=!
1,t=$(this),i=t.focusable_children(e),i.off("focusout.trap_focus_in_children
keyup.trap_focus_in_children"),t.on("keydown.trap_focus_in_children",function(e)
{return o=e.shiftKey,!0}),r=function(){return o?(i.last().focus(),o=!1):void
0},n=function(){return o?void 0:(i.first().focus(),o=!
1)},t.hasClass("lightbox")&&t.one("focusout.trap_focus_in_children",function()
{return function(e){return $(e.target).hasClass("lightbox")?r():void
0}}
(this)),i.first().on("focusout.trap_focus_in_children",r),i.last().on("focusout.tra
p_focus_in_children",n)},$.fn.restrict_numeric=function(e){return
this.on("keypress",function(t){var n,r;if(r=t.which,n=String.fromCharCode(r),!
t.ctrlKey&&!t.metaKey){switch(r){case 46:if(e.allow_period!==!1)return;break;case
9:case 8:case 36:case 37:case 38:case 39:case 40:case 27:case 13:return}return
n.match(/[0-9]/g)?void 0:!1}})},$.fn.flash=function(e,t){var n,r,i;return
r=e||"#FFFF9C",n=t||1500,this.data("original_bg")||
this.data("original_bg",this.css("background-
color")),i=this.data("original_bg"),this.stop(!1,!
0).css("backgroundColor",r).animate({backgroundColor:i},n)},
$.fn.placeholder_text=function(e){var t,n,r,i;for(n=function(t){var n;return t=$
(t),n=e||t.data("default_text"),t.val()&&t.val()!==n?void
0:t.val(n).addClass("inactive")},r=0,i=this.length;i>r;r++)t=this[r],n(t);return
this.on("focus",function(){var n;return t=$(this),n=e||
t.data("default_text"),t.val()===n&&t.is(".inactive")&&t.val(""),t.removeClass("ina
ctive"),"function"==typeof on_focus?on_focus(t):void 0}),this.on("blur",function()
{return t=$(this),t.val()?void 0:t.val(e||
t.data("default_text")).addClass("inactive")}),this},
$.fn.select_on_focus=function(){return this.on("focus",function(){return $
(this).select(),this.onmouseup=function(e){return function(){return
e.onmouseup=null,!1}}(this),!1})},$.fn.input_character_countdown=function(e){var
t,n;return t=$(this),n=t.prop("maxlength"),t.on("input propertychange",function()
{return function(t){var r;return r=$(t.target),"function"==typeof e?
e({current_character_count:r.val().length,max_character_count:n,remaining:n-
r.val().length}):void 0}}(this))},$.fn.parallax_background=function(e,t,r){var
i,o,a;return null==e&&(e=390),null==t&&(t=150),null==r&&(r=!1),r?(i=this,a=$
(window),i.on_scroll&&a.off(i.on_scroll),o=function(){return function(){var
r,o,s;return
s=a.scrollTop(),o=Math.min(1,s/e),r=Math.floor(t*o),n={},n[Modernizr.prefixed("Tran
sform")]="translate3d(0,"+r+"px, 0)",i.css(n)}}
(this),i.on_scroll=o,o(),a.on("resize scroll",o)):void 0},
$.fn.parallax_folds=function(){},Scribd.vertically_center=function(e){var
t,n,r,i,o,a,s,c,l;for(s=e.find(".centered"),c=[],r=0,i=s.length;i>r;r++)t=s[r],t=$
(t),o=t.closest(".content_layer"),a=o.height(),n=t.outerHeight(),l=Math.floor((a-
n)/2),c.push(t.css("marginTop",l+"px"));return c},Scribd.fully_visible=function(e)
{var t,n;return
t=e.getBoundingClientRect(),n={top:0,left:0,bottom:window.innerHeight,right:window.
innerWidth},t.top>=n.top&&t.left>=n.left&&t.bottom<=n.bottom&&t.right<=n.right},Scr
ibd.partially_visible=function(e){var t,n,r,i,o,a,s,c;return
o=e.getBoundingClientRect(),c={top:0,left:0,bottom:window.innerHeight,right:window.
innerWidth},s=o.top>=c.top&&o.top<=c.bottom,t=o.bottom>=c.top&&o.bottom<=c.bottom,i
=s||t,n=o.left>=c.left&&o.left<=c.right,a=o.right>=c.left&&o.right<=c.right,r=n||
a,i&&r},$.fn.scrolled_into_viewport=function(e,t){var n,r,i,o,a;return
null==t&&(t={}),n=this,i=t.event_namespace||"",a=t.visibility_check||
Scribd.fully_visible,r=function(t){var n,r,i,o;for(o=[],r=0,i=t.length;i>r;r+
+)n=t[r],o.push(a(n)?e(n):void 0);return o},o=_.throttle(function(){return
function(){return r(n)}}(this)),r(n),$
(window).on("scroll.scrolled_into_viewport."+i,o)},$.fn.center_in_parent=function()
{var e;return e=function(e){return function(){var
t,n,r,i,o,a,s,c,l;for(s=e.find(".centered"),c=[],r=0,i=s.length;i>r;r++)t=s[r],t=$
(t),o=t.parent(),a=o.height(),n=t.outerHeight(),0!==a&&0!==n&&(l=Math.floor((a-
n)/2),c.push(t.css("marginTop",l+"px")));return c}}
(this),e(),this.on("scribd:center",e),$
(window).on("resize",_.debounce(e,100)),this},window.jkstrp=function(e,t){return $
(function(){var n,r,i;try{return e()}catch(r){throw n=r,i=""+navigator.userAgent,$
(document.body).track({category:"Error",action:t+" :: "+i,label:n.stack||
n.message}),n}})},Scribd.escape_regexp=function(e){return String(e).replace(/([.*+?
^=!:${}()|[\]\/\\])/g,"\\$1")},Scribd.escape_html=function(e){return
e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},Scribd.strip_htm
l=function(e){var t;return
t=document.createElement("div"),t.innerHTML=e,t.textContent||
t.innerText},Scribd.get_referrer_and_keywords=function(e){var t,n,r,i;return
null==e&&(e=document.referrer),i=e.split("/")[2]||"none",t=null,r=function()
{switch(i)
{case"www.google.com":case"www.bing.com":return"q";case"search.yahoo.com":return"p"
}}(),(n=e.match(new RegExp("[^w]"+r+"=([^&]*)")))&&(t=n[1]),
[i,t]},Scribd.template=_.memoize(function(e){var t;return t=null,function(n){var
r;if(null==t){if(r=$("#tpl_"+e).html(),!r)throw"Failed to find template named
#tpl_"+e;t=_.template(r)}return t(n)}}),Scribd.Events="undefined"!=typeof
Backbone&&null!==Backbone?Backbone.Events:void 0,Scribd.Promise=e="undefined"!
=typeof jQuery&&null!==jQuery?jQuery.Deferred:void 0,Scribd.no_default=function(e)
{return function(){var t,n;return t=1<=arguments.length?a.call(arguments,0):
[],n=_.first(t),null!
=n&&n.preventDefault(),e.apply(this,t)}},Scribd.load_image=function(t){var
n,r;return r=new e,n=new Image,n.onload=function(){return
r.resolve(this)},n.onerror=function(){return
r.reject(this)},n.src=t,r},Scribd.nway_test_pick_choice=function(e){var
t,n,r,i,o,a;if(n=_.pairs(e),i=_.sortBy(n,function(e){return e[0]}),!_.isEmpty(i))
{for(a=_.reduce(i,function(e,t){var n;return n=t[1].weight,n+e},0),t=_.random(0,a-
1),r=null;t>=0;)r=i.shift(),o=r[1].weight,t-
=o;if(r)return{id:r[0],name:r[1].name,weight:r[1].weight}}},Scribd.nway_test_force_
group=function(e,t,n){var r,i,o,a,s,c,l,u;if(null==n&&(n="nwt"),u="undefined"!
=typeof Scribd&&null!==Scribd&&null!=(c=Scribd.NwayTestsWithWeights)?c[e]:void 0,!
u)return void console.warn("trying to force test "+e+", but it doesn't
exist");o=new CookieJar({path:"/",expires:63072e3}),s=o.get(n),s||
(s={}),l=u.choices;for(a in l)if(r=l[a],r.name===t)
{if(i=parseInt(a,10),s["nw"+u.id]===i)return;return s["nw"+u.id]=i,o.put(n,s),
$rat("nway_assignments",{test:{id:u.id,name:e,choices:u.choices},choice:
{id:i,name:r.name,weight:r.weight}}),$rat.root().flushEvents(),void $
(document.body).track({category:"NwayAssignments",action:e,label:r.name,interactive
:!1})}return console.warn("tried to force test "+e+", but couldn't find choice
"+t)},Scribd.nway_test_choice_value=function(e,t){var
n,i,o,a,s,c,l;if(null==t&&(t="nwt"),r=Scribd.deparam(location.search.slice(1)),r.nw
ay_test_name===e&&null!=r.nway_test_value)return isNaN(r.nway_test_value)?
r.nway_test_value:Number(r.nway_test_value);if(l="undefined"!=typeof Scribd&&null!
==Scribd&&null!=(c=Scribd.NwayTestsWithWeights)?c[e]:void 0){if(o=new
CookieJar({path:"/",expires:63072e3}),a=o.get(t),a||(a={}),s=a["nw"+l.id])
{if(i=l.choices[s],Scribd.jsblock.done(function(){return function(){return $
(document.body).track({category:"NwayRead",action:e,label:(null!=i?i.name:void
0)||"unknown",interactive:!1})}}(this)),!i)return;return
i.name}if(n=Scribd.nway_test_pick_choice(l.choices))return
a["nw"+l.id]=parseInt(n.id),o.put(t,a),Scribd.jsblock.done(function(){return
function(){return $rat("nway_assignments",{test:
{id:l.id,name:e,choices:l.choices},choice:n}),$rat.root().flushEvents(),$
(document.body).track({category:"NwayAssignments",action:e,label:n.name})}}
(this)),n.name}},Scribd.default_free_trial_days=function(){return
30},Scribd.trial_cta=function(e,t)
{switch(null==e&&(e=Scribd.default_free_trial_days()),null==t&&(t=I18n.t("helpers.t
rial.start_your_free_trial")),e){case 360:return
I18n.t("helpers.trial.start_your_free_year");case 60:return
I18n.t("helpers.trial.start_your_free_two_months");case 30:return
I18n.t("helpers.trial.start_your_free_month");case 14:return
I18n.t("helpers.trial.start_your_free_14_days");case 7:return
I18n.t("helpers.trial.start_your_free_week");default:return
t}},Scribd.trial_duration_text=function(e)
{switch(null==e&&(e=Scribd.default_free_trial_days()),e){case 360:return
I18n.t("helpers.trial.one_year");case 60:return
I18n.t("helpers.trial.two_months");case 30:return
I18n.t("helpers.trial.one_month");case 14:return
I18n.t("helpers.trial.two_weeks");case 7:return
I18n.t("helpers.trial.one_week");case 1:return
I18n.t("helpers.trial.trial_days_day",{trial_days:e});default:return
I18n.t("helpers.trial.trial_days_days",
{trial_days:e})}},Scribd.ssi_failure=function(){return
Scribd.tracker.send({category:"ssi_errors",action:"error_url",label:window.location
.href,interactive:!1})},Scribd.support_passive_scroll=function(){var e,t;t=!
1;try{e=Object.defineProperty({},"passive",{get:function(){return function(){return
t=!0}}(this)}),window.addEventListener("test",null,e)}catch(n){}return
t},Date.utcEpoch=function(){return
Math.floor(Date.utcNow()/1e3)},Date.utcNow=function(){var e;return e=new
Date,e.getTime()+6e4*e.getTimezoneOffset()},window.Date.now||
(window.Date.now=function(){return(new
Date).getTime()}),String.prototype.capitalize=function(){return
this.charAt(0).toUpperCase()+this.slice(1)},Scribd.Set=function(){function e(e,t)
{this.elements=e,this.eq_fn=t,this.elements=this.elements||[]}return
e.prototype.push=function(e){return this.included(e)||
this.elements.push(e),this},e.prototype.count=function(){return
this.elements.length},e.prototype.included=function(e){return this.index(e)>-
1},e.prototype.index=function(e){var
t,n,r,i,o;for(o=this.elements,n=r=0,i=o.length;i>r;n=+
+r)if(t=o[n],this.eq_fn(e,t))return n;return-1},e.prototype.toggle=function(e)
{return this.included(e)?
this.elements.splice(this.index(e),1):this.push(e),this},e}
(),Scribd.init=function(){var e,t,n,r,i;if(arguments.length>0)
{for(r=arguments.length,i=null,n=0;r>n;){if(0===arguments[n].length)throw"Cannot
initialize an empty string";t=i?i[arguments[n]]:window[arguments[n]],e=i?
i:window,t||(t=e[arguments[n]]={}),i=t,n++}return t}}}).call(this);

/* public/javascripts/jquery_global/tracker.coffee @ 1526073743 */
(function(){var e,t=[].slice,n={}.hasOwnProperty;Scribd.Tracker=function(){function
e(e){this.container=$(e),this.setup_events()}return
e.prototype.setup_events=function(){return Scribd.logging_enabled&&$
(document).on("scribd:rats_event",function(){return function(e,t,n){var r;return
null==t&&(t=""),null==n&&(n={}),r=$.extend({},n),r.label=t}}
(this)),this.container.on("scribd:track",function(e){return function(t,n){var
r;return null==n&&(n={}),t.stopPropagation(),r=$
(t.target),r.data("scribd_tracked",!0),e.send(e.element_data(r,t,n))}}
(this)),this.container.on("scribd:track_rats_ga",function(e){return function(t){var
n;return n=$(t.target),e.send_rats.apply(e,e.element_rats(n,t))}}
(this)),this.container.on("scribd:track_rats",function(e){return function(t,n,r)
{var i;return null==n&&(n=""),null==r&&(r={}),i=$(t.target),e.track_rats(i,n,r)}}
(this)),this.container.on("ajax:send","form[data-track]",function(e){return
function(t){var n,r;return n=$
(t.currentTarget),r=e.element_data(n,t),r.action="submit",e.send(r)}}
(this)),this.container.on("click contextmenu","[data-track]",function(e){return
function(t){var n,r,i;if(!($(t.currentTarget).data("scribd_tracked")||$
(t.currentTarget).is("form[data-track]")||(i=$(t.currentTarget),""!
==i.data("track")&&e.send(e.element_data(i,t)),e.send_rats.apply(e,e.element_rats(i
,t)),t.metaKey||(n=$(t.target).closest("a"),!n.length||!n.attr("href")||
n.data("remote")||"contextmenu"===t.type||
n.attr("target")||"#"===n.attr("href").charAt(0)||(r=!
1,n.trigger("scribd:should_skip_link_delay",[function(){return r=!
0},t]),r)))))return setTimeout(function(){return
window.location=n.attr("href")},100),t.stopPropagation()}}
(this))},e.prototype.element_rats=function(e,n){var r,i,o,a,s,c,l,u;return
o=[e.data("track_rats_value")||{}].concat(t.call(function(){var
t,n,r,i;for(r=e.parents("[data-track_rats_value]"),i=[],t=0,n=r.length;n>t;t+
+)u=r[t],i.push($(u).data("track_rats_value")||{});return i}
())),o.reverse(),c=$.extend.apply($,[{}].concat(t.call(o))),s=e.closest("[data-
track_rats]").data("track_rats"),e.data("override_rats_name")&&(s=e.data("override_
rats_name")),$.isEmptyObject(c)?[]:("contextmenu"===(null!=n?n.type:void
0)&&(c.event_name="contextmenu"),s||
(l=this.element_data(e,n),i=l.category,r=l.action,a=l.label,a&&""!==a||
(a=e.closest("[data-track]").data("track")),s=""+i+(r?"_"+r:"")+(a?"_"+a:"")),
[s,c])},e.prototype.element_data=function(e,t,n){var r,i,o,a,s,c;return
null==n&&(n={}),r=$(e),s=this.namespace(r),a=s[0],o=s[1],i={action:n.action||(null!
=t?t.type:void 0),category:n.category||
a,label:n.label||"",value:Scribd.named_current_user_sync()?1:0,interactive:null!
=(c=n.interactive)?c:!0},"scribd:track"===i.action&&console.info("scribd_tracker:
got event 'scribd:track', did you forget to set a track_category or
action?"),r.data("track")&&(i.label=r.data("track")),null!
=n.params&&(i.params=n.params),o.length&&i.label?
i.label=o+":"+i.label:o.length&&(i.label=o),r.data("track_params")&&(i.params=null!
=n.params?
_.extend(n.params,r.data("track_params")):r.data("track_params")),_.isString(i.para
ms)&&(i.params={action:i.params}),i},e.prototype.namespace=function(e){var t;return
null==e&&(e=this.container),t=this.location_data(e),
[t.shift(),t.join(":")]},e.prototype.location_data=function(e){var t,n,r;return
null==e&&(e=this.container),r=function(){var r,i,o,a;for(o=e.parents("[data-
track_category]"),a=[],r=0,i=o.length;i>r;r++)n=o[r],t=$
(n),_.isEmpty(t.data("track_category"))||a.push(t.data("track_category"));return a}
(),r=_.flatten(r),r=_.compact(r),e.data("track_category")&&r.unshift(e.data("track_
category")),r.reverse()},e.prototype.send=function(e){var
t,r,i,o,a,s,c,l,u,d,p,h;if(t=e.action,r=e.category,l=e.label,h=e.value,s=e.interact
ive,e.params&&(i=function(){var t,r;t=e.params,r=[];for(c in
t)n.call(t,c)&&(p=t[c],r.push(c+":"+p));return r}(),i.length&&(l+=" "+i.join(",
")),l=_.str.trim(l)),!r)return console.error("scribd_tracker: no category
provided");u=new Scribd.RatsTracker("ga_"+r,{},{flush:!
1}),u.send({action:t,label:l}),Scribd.logging_enabled&&console.log("%cga","backgrou
nd-image: -webkit-gradient( linear, left top, right top, color-stop(0.0, red),
color-stop(0.3, purple), color-stop(0.6, blue), color-stop(1.0,
green));\ncolor:transparent;\nfont-weight: bold;\nfont-size: 150%;\n-webkit-
background-clip: text;",
[r,t,l,h,s]);try{if(_gaq.push(["_trackEvent",r,t,l,h,s]),ga("send","event",r,t,l,h,
s),null!=(d=Scribd.named_current_user_sync())?d.pmp_subscriber:void 0)return
ga("pmp_users.send","event",r,t,l,h,s)}catch(a){return o=a,Scribd.log("couldn't log
last event with GA")}},e.prototype.send_rats=function(e,t){return e&&t?($rat(e,t),
$rat.root().flushEvents()):void 0},e.prototype.track_rats=function(e,t,n){var
r,i,o,a;null==n&&(n={}),o=this.location_data(e),r={location:o,page:o.shift()};for(i
in r)a=r[i],_.isEmpty(a)||null==n[i]&&(n[i]=a);return $rat(t,n),
$rat.root().flushEvents()},e}(),Scribd.RatsTracker=function(){function e(e,t,n)
{this.category=e,this.default_data=null!=t?t:{},this.opts=null!=n?n:{}}return
e.type="rats_tracker",e.prototype.send=function(e,t){return
null==t&&(t=this.category),"string"!=typeof e?
($rat(t,_.extend(this.default_data,e)),this.opts.flush!==!1?
$rat.root().flushEvents():void 0):void 0},e}
(),e=Scribd._split_ga_category=function(e){var t,n;return n="",(t=e.match(/^(.*):(.
+)$/))&&(n=t[2]+"_",e=t[1]),[e,n]},Scribd.track_rat_ga_event=function(e,t,n)
{return"function"==typeof $rat&&$rat(e+"."+t,n),"undefined"!=typeof $rat&&null!
==$rat?$rat.root().flushEvents():void 0},Scribd.track_event=function(e,t,n,r,i)
{return console.info("scribd_tracking: track_event has been
deprecated",arguments),Scribd.tracker||(Scribd.tracker=new
Scribd.Tracker(document)),Scribd.tracker.send({category:e,action:t,label:n,value:r,
interactive:i})},window.trackEvent=Scribd.track_event,Scribd.is_tracker=function(e)
{return"function"==typeof e&&e.is_tracker},Scribd.make_tracker=function(e,t){return
null==t&&(t={}),console.info("scribd_tracking: 'make_tracker' is
deprecated",arguments),function(){return console.info("scribd_tracking:
'make_tracker' is deprecated",arguments)}},$.fn.delegate_tracking=function(){return
console.info("delegate_tracking has been deprecated",arguments)},
$.fn.track=function(e){return this.trigger("scribd:track",[e])},
$.fn.track_rats=function(e,t){return this.trigger("scribd:track_rats",[e,t])},
$.fn.track_js_performance=_.once(function(e,t){var n;return
null==t&&(t=""),n=function(){var
n,r,i,o,a,s,c,l,u,d,_,p,h,f,m,b;if(window.performance&&(b={Chrome:65,Firefox:58,Saf
ari:11,IE:11,Edge:16},n=new
UAParser(navigator.userAgent).getBrowser(),parseInt(n.major)>=b[n.name]))return
d=performance.timing,h=d.requestStart,r=d.connectEnd,f=d.responseEnd,s=d.domLoading
,a=d.domInteractive,o=d.domComplete,m="IE"===n.name?r:h,c=s-
m,i={bot:Scribd.is_bot,dom_loading_starts:c,dom_loading_to_complete:o-
s,dom_loading_to_interactive:a-
s,logged_in:Scribd.logged_in,page:e,request_finished:f-
m,browser_name:n.name,browser_version:n.major},t&&(i.bucket=t),"Chrome"===n.name&&(
u=Math.floor(null!=(_=performance.getEntriesByName("first-paint")[0])?
_.startTime:void 0),l=Math.floor(null!=(p=performance.getEntriesByName("first-
contentful-paint")[0])?p.startTime:void 0),u&&(i.dom_loading_to_first_paint=u-
c),l&&(i.dom_loading_to_first_contentful_paint=l-c)),
$rat("js_performance",i)},_.defer(function()
{return"complete"===document.readyState?
n():window.addEventListener("load",n)})})}).call(this);

/* public/javascripts/jquery_global/pingback.coffee @ 1526073743 */
(function(){Scribd.send_pingback=function(e){var t,n,r;return r=e.join(""),
("undefined"!=typeof navigator&&null!==navigator&&null!=(n=navigator.userAgent)?
n.match(/Google (Web|Instant) Preview/):0)?void 0:
(t={},document.referrer&&(t.referer=document.referrer),
$.ajax({type:"POST",url:r,data:t,skip_csrf:!0}))}}).call(this);

/* public/javascripts/jquery_global/lightbox.coffee @ 1526073743 */
(function(){var e=function(e,t){return function(){return
e.apply(t,arguments)}},t=[].slice,n=function(e,t){function n()
{this.constructor=e}for(var i in t)r.call(t,i)&&(e[i]=t[i]);return
n.prototype=t.prototype,e.prototype=new
n,e.__super__=t.prototype,e},r={}.hasOwnProperty;Scribd.Lightbox=function()
{function n(t,n){null==n&&(n=!
0),this.set_title=e(this.set_title,this),this.container=$
(t).on("scribd:lightbox_reshape",function(e){return function(){return
e.set_position()}}
(this)),this.container.data("lightbox_obj",this),n&&(this.container.closest(Scribd.
Lightbox.lightboxes).length||
this.container.appendTo(Scribd.Lightbox.lightboxes))}return
n.prototype.offset_top=40,n.last_focused_element=$
(document),n.current_open=null,n.stacked=!1,n.ready=$.Deferred().done(function()
{return $(document).trigger("ScribdLightboxInitialized")}),n.initialize=function()
{return $(function(e){return function(){return e.lightboxes=$
("#lightboxes"),e.lightbox_container=$("#lightbox_area"),$
(document).keydown(function(t){return
27===t.keyCode&&e.current_open&&e.current_open.user_closable()&&!e.stacked?
(e.close(),t.preventDefault()):void 0}),e.lightboxes.on("click",".close_button,
.close_link, .close_lb_btn",function(){return e.stacked?void
0:e.close()}),e.lightbox_container.on("click",function(t){var n;return n=$
(t.target),!
n.closest(".lightbox").length&&n.closest(document.body).length&&e.current_open&&e.c
urrent_open.user_closable()&&!e.stacked&&!$(t.target).closest(".flash").length?
e.close():void 0}),Scribd.Lightbox.ready.resolve()}}
(this))},n.fade_in_overlay=function(e,t,r){return
null==e&&(e=""),null==t&&(t=""),null==r&&(r=200),clearTimeout(n._fade_out_overlay_t
imeout),n.overlay||(n.overlay=$('<div
id="overlay"></div>').hide().appendTo("body").on("click",function(){return
n.current_open&&n.current_open.user_closable()?(n.close(),!1):void
0})),n.overlay.css({"background-
color":t,opacity:e}).fadeIn({duration:r})},n.fade_out_overlay=function(){return
n.overlay.fadeOut({duration:200})},n.open=function(){var
e,n,r,i,o,a,s;if(i=arguments[0],e=arguments[1],n=3<=arguments.length?
t.call(arguments,2):[],null==e&&(e=Scribd.Lightbox),this!
==Scribd.Lightbox)return(s=Scribd.Lightbox).open.apply(s,
[i,this].concat(t.call(n)));if(e._is_react_factory)return
this.open_react(i,e);if(a=$("#"+i),!a.length)throw"failed to find lightbox:
"+i;return a.is("script")&&(r=a.data("template")||a.html(),a=$
(r).replaceAll(a)),o=a.data("lightbox_obj"),o||(o=function(e,t,n)
{n.prototype=e.prototype;var r=new n,i=e.apply(r,t);return Object(i)===i?i:r}(e,
[a].concat(t.call(n)),function()
{})),o.id=i,o.show(Scribd.Lightbox.open_callback),o},n.open_react=function(e,t){var
n;return this.lightboxes||(this.lightboxes=$
("#lightboxes")),n=this.lightboxes.find("#"+e),n.length||(n=$('<div
class="react_lightbox"
/>').attr("id",e).appendTo(this.lightboxes)),ReactDOM.unmountComponentAtNode(n[0]),
ReactDOM.render(t,n[0])},n.close=function(e){var t;return null==e&&(e=!
0),this.current_open?(e&&this.fade_out_overlay(),(t=this.current_open)?
(this.current_open=null,t.hide(),t.container.trigger("Scribd:lightbox:closed"),$
(document.body).removeClass("lightbox_open")):void 0):void
0},n.open_from_object=function(){var e,n,r,i,o;return
r=arguments[0],i=arguments[1],e=arguments[2],n=4<=arguments.length?
t.call(arguments,3):[],null==e&&(e=null),this!==Scribd.Lightbox?
(o=Scribd.Lightbox).open_from_object.apply(o,[r,i,this].concat(t.call(n))):(r&&$
("#"+r).remove(),r=$(i).appendTo(this.lightboxes).attr("id")||
r,this.open.apply(this,[r,e].concat(t.call(n))))},n.remote_open=function(e,t,n,r)
{var i,o,a;return null==n&&(n={}),null==r&&(r=null),this!==Scribd.Lightbox?
Scribd.Lightbox.remote_open(e,t,n,this):(a="POST",
$.isPlainObject(e)&&(o=e,e=o.id,t=o.url,i=o.on_error,r=o.T||r,a=o.method||
a,n=o.params||n),(null!=o?o.show_loading:void 0)?"function"==typeof
o.show_loading&&o.show_loading():this.show_loading(),
$.ajax({url:t,data:n,type:a,dataType:(null!=o?o.dataType:void
0)||"html",error:i,success:function(){return function(t){var n,i;return
$.isPlainObject(t)&&(n=t.opts),(null!=t?t.content:void 0)?t=t.content:(null!=t?
t.props:void 0)&&(t=t.props),i=Scribd.Lightbox.open_from_object(e,$(t),r,n),null!
=o&&"function"==typeof o.after_open?o.after_open(i):void 0}}(this),error:function()
{return function(t,n,r){return $
(document.body).track({category:"errors",action:"lightbox",label:e+"
"+n+":"+r}),Scribd.Lightbox.close(),null!=o&&"function"==typeof o.on_error?
o.on_error():void 0}}(this)}))},n.show_loading=function(){return
this.open("loading_lb")},n.open_callback=function(e){return e.attr("aria-
hidden","false"),$(document.activeElement).is("#loading_lb, body")||
(Scribd.Lightbox.last_focused_element=$
(document.activeElement)),e.focus(),e.trap_focus_in_children()},n.close_callback=fu
nction(e){return e.is("#loading_lb")||
Scribd.Lightbox.last_focused_element.focus(),e.attr("aria-
hidden","false")},n.prototype.user_closable=function(){return
this.container.find(".close_button,
.close_lb_btn").length>0},n.prototype.set_title=function(e){var t;return
t=this.container.find(".title"),t.length||(t=$('<h2
class="title"></h2>'),this.container.find(".content").prepend(t)),t.text(e)},n.prot
otype.hide=function(){return
this.container.hide(),Scribd.Lightbox.close_callback(this.container),null!
=Scribd.Lightbox.current_open?Scribd.Lightbox.current_open.container.focus():void
0},n.prototype.close=function(e){return null==e&&(e=!
0),Scribd.Lightbox.current_open===this?Scribd.Lightbox.close(e):void
0},n.prototype.transition=function(e,t){return null!
=e&&e.hide(this),this.container.fadeIn("fast",function(e){return function(){return
Scribd.Lightbox.open_callback(e.container)}}(this)),"function"==typeof t?t():void
0},n.prototype.show=function(){var e,t,n;if(Scribd.Lightbox.current_open!
==this)return
e=this.container.data("overlay_color"),n=this.container.data("overlay_opacity"),$
(document.body).addClass("lightbox_open"),Scribd.Lightbox.fade_in_overlay(n,e||""),
this.set_position(),t=Scribd.Lightbox.current_open,null!
=t&&t.container.removeClass("open_lightbox"),Scribd.Lightbox.current_open=this,this
.container.addClass("open_lightbox"),this.transition(t,function(){return function()
{return null!=t?t.container.trigger("Scribd:lightbox:closed"):void 0}}
(this)),this.after_show()},n.prototype.set_position=function(){var e,t,n;return n=$
(window),t=this.container.is(".vertically_centered")?
Math.max(10,Math.floor((n.height()-
this.container.outerHeight())/2)):this.offset_top,e={top:t},this.container.hasClass
("auto_center")||(e.left="50%",e.marginLeft=-
(this.container.width()/2)),this.container.css(e)},n.prototype.after_show=function(
){},n}(),Scribd.StackedLightbox=function(t){function r(t,n)
{this.container=t,this.opts=n,this.close=e(this.close,this),r.__super__.constructor
.apply(this,arguments),this.container.addClass("stacked_lightbox"),this.setup_event
s()}return n(r,t),r.instances=[],r.show_overlay=function(){return r.overlay||
(r.overlay=r.add_overlay()),r.overlay.show().css("opacity","0.5"),Scribd.Lightbox.s
tacked=!0},r.hide_overlay=function(){return
r.overlay.css("opacity","0").hide(),_.defer(function(){return r.instances.length?
void 0:Scribd.Lightbox.stacked=!1})},r.add_overlay=function(){return r.overlay=$
('<div
class="stacked_overlay"></div>').prependTo("#lightboxes").hide().click(function()
{var e;return null!
=(e=Scribd.StackedLightbox.instances[Scribd.StackedLightbox.instances.length-1])?
e.close():void 0}),r.overlay},r.close=function(){var e;return
Scribd.StackedLightbox.hide_overlay(),Scribd.StackedLightbox.instances.length?
(e=Scribd.StackedLightbox.instances.pop(),e.container.fadeOut("fast",function()
{return
Scribd.Lightbox.close_callback(e.container)}).trigger("Scribd:stacked_lightbox:clos
ed"),Scribd.Lightbox.current_open?void 0:$
(document.body).removeClass("lightbox_open")):void
0},r.prototype.set_position=function(){var e;return
r.__super__.set_position.apply(this,arguments),e=this.container.closest(".carousel_
scroll_parent"),e.scrollTop()>0?e.animate({scrollTop:0}):void
0},r.prototype.open=function(){return $
(document.body).addClass("lightbox_open"),this.container.fadeIn("fast",function(e)
{return function(){return Scribd.Lightbox.open_callback(e.container)}}
(this)),Scribd.StackedLightbox.instances.push(this),Scribd.StackedLightbox.show_ove
rlay(),this.set_position()},r.prototype.show=function(){return
this.open()},r.prototype.close=function(){return
Scribd.StackedLightbox.close()},r.prototype.setup_events=function(){return $
(document).on("keydown.stacked_lightbox_close",function(e){return function(t)
{return 27===t.keyCode?e.close():void 0}}(this)),this.container.dispatch("click",
{close_button:this.close})},r.prototype.another_lightbox_is_open=function(){return
Scribd.Lightbox.current_open||$("#lightboxes .overlay:visible, #lightboxes
.stacked_overlay:visible").length},r}(Scribd.Lightbox)}).call(this);

/* public/javascripts/jquery_global/lazy.coffee @ 1526073743 */
(function(){$.fn.lazyimages=function(){var e,t,n,r,i,o,a,s;for(a=this.find("[data-
lazysrc]"),t=0,i=a.length;i>t;t++)n=a[t],n=$
(n),n.attr("src",n.data("lazysrc")),n.removeAttr("data-
lazysrc");for(s=this.find("[data-lazybg]"),r=0,o=s.length;o>r;r++)e=s[r],e=$
(e),e.css("background-image","url('"+e.data("lazybg")+"')"),e.removeAttr("data-
lazybg");return this}}).call(this);

/* public/javascripts/jquery_global/facebook.coffee @ 1526073743 */
(function()
{Scribd.facebook_login_status=jQuery.Deferred(),window.fbAsyncInit=function()
{return Scribd.with_named_current_user(function(){return Scribd.facebook=new
Scribd.Facebook,Scribd.Facebook.loaded.resolve()})},Scribd.Facebook=function()
{function e(){this.cookie=new Scribd.JSONCookie("session_metadata"),this.connect(),
$(document).trigger("facebook:initialized")}return
e.loaded=$.Deferred(),e.setup=function(){var e;if(!Scribd.facebook_disabled)return
e=document.createElement("script"),e.type="text/javascript",e.src=document.location
.protocol+"//connect.facebook.net/en_US/sdk.js",e.async=!
0,document.getElementById("fb-
root").appendChild(e)},e.prototype.app_id="136494494209",e.prototype.permissions="e
mail,publish_actions,public_profile",e.prototype.namespace="scribd-
com",e.prototype.link_url="/facebook_link",e.prototype.login=function(e){var
t;return t=function(t){return function(n){return(null!=n?n.authResponse:void 0)?
(t.session=n.authResponse,Scribd.with_named_current_user(function(){var e;return
e=Scribd.set_named_current_user(Scribd.named_current_user()||
{}),e.is_facebook_user=!0,e.facebook_user_id=t.session.userID}),null!=e?
e.apply(null,arguments):void 0):(t.session=null,"function"==typeof e?e(null):void
0)}}(this),FB.login(t,
{scope:this.permissions})},e.prototype.login_and_link=function(e){return
this.login(function(){return function(t){return t?$.ajax(Scribd.facebook.link_url,
{type:"post",success:function(){return"function"==typeof e?e(!0,t):void
0},error:function(){return"function"==typeof e?e(!1,t):void 0}}):"function"==typeof
e?e(!1):void 0}}(this))},e.prototype.with_account=function(e,t){return
null==t&&(t=!1),Scribd.with_named_current_user(function(){return
Scribd.named_current_user().is_facebook_user?FB.getLoginStatus(function(n){var
r,i,o;return
r=n.authResponse,i=r.userID.toString(),o=Scribd.named_current_user().facebook_user_
id.toString(),i===o?"function"==typeof e?e():void 0:t?FB.logout(function(n){return
function(){return FB.login(function(){return n.with_account(e,t)})}}(this)):void
0}):void 0})},e.prototype.with_permission=function(e,t){return
this.check_permission(e).then(t,function(e){return function(){return e.login(t)}}
(this))},e.prototype.check_permission=function(e){var t;return
t=jQuery.Deferred(),FB.api("/me?fields=permissions","get",function(){return
function(n){var r,i;return"granted"===(null!=(i=function(){var
t,i,o,a;for(o=n.permissions.data,a=[],t=0,i=o.length;i>t;t+
+)r=o[t],r.permission===e&&a.push(r);return a}()[0])?i.status:void 0)?
t.resolve(n):t.reject(n)}}(this)),t},e.prototype.connect=function(){var e,t;return
FB.init({appId:this.app_id,status:!1,cookie:!0,xfbml:!1,oauth:!0,version:"v2.1"}),
(null!=(e=Scribd.Ads)?e.enabled:void 0)&&null!
=(t=Scribd.Ads)&&t.setFacebookAttribute(),this.get_session(function(e){return
function(){return e.instant=new Scribd.Facebook.InstantPersonalize(e)}}
(this))},e.prototype.get_session=function(e){var t;return
this.session=null,""+this.cookie.get("active_facebook_session")=="false"&&(t=this.c
ookie.get("last_facebook_ping"))&&(Scribd.facebook_login_status.reject(),+new Date-
t<36e5)?void 0:FB.getLoginStatus(function(t){return function(n)
{return"connected"===n.status?(t.session=n.authResponse,"function"==typeof
e&&e(),Scribd.facebook_login_status.resolve(n.status)):
(t.cookie.set("active_facebook_session","false"),t.cookie.set("last_facebook_ping",
+new Date),t.cookie.save(),Scribd.facebook_login_status.reject(n.status))}}
(this))},e}(),Scribd.Facebook.InstantPersonalize=function(){function e(e)
{this.facebook=null!=e?
e:Scribd.facebook,this.cookie=this.facebook.cookie,this.try_remember_id()}return
e.context="newhome",e.prototype.try_remember_id=function(){return
this.facebook.session?
(this.cookie.set("last_facebook_uid",this.facebook.session.userID),this.cookie.save
()):void 0},e}()}).call(this);

/* public/javascripts/jquery_global/forms.coffee @ 1526073743 */
(function(){$(function(){return $(document).on("submit","form",function(){return
function(e){var t,n,r,i,o,a;if(i=$
(e.currentTarget),t=i.find(".flat_btn:not(.no_spinner)"),t.length){for(r=function()
{var n,r,i;for(i=[],n=0,r=t.length;r>n;n++)e=t[n],i.push($(e));return i}
(),o=0,a=r.length;a>o;o++)n=r[o],n.addClass("loading"),n.prop("disabled",!0);return
i.on("ajax:complete.submit_loading",function(){var e,t;for(e=0,t=r.length;t>e;e+
+)n=r[e],n.removeClass("loading"),n.prop("disabled",!1);return
i.off("ajax:complete.submit_loading")})}}}(this))}),$.fn.fancy_select=function()
{var e,t,n,r,i,o,a,s;if(!this.length)return
this;if(n=this.first(),o=n.find("a"),s=o.filter(".selected"),s.length||
(s=o.first()),!o.length)throw"no options found";return a=$("<button
class='fancy_select has_ticks'> <span class='fancy_select_label'></span> <span
class='sprite white_tri_up'></span> <span class='sprite white_tri_down'></span>
</button>"),a.find(".fancy_select_label").html(s.html()),r=$("<div
class='fancy_select_menu'></div>"),e=!0,i=function(){var t;return
a.addClass("open"),t=a.offset(),r.appendTo(document.body).css({left:t.left+"px",top
:t.top+a.height()+"px"}).stop(!0),e&&(r.height()>300&&$("<div
class='fancy_menu_inner'></div>").append(r.children()).appendTo(r),e=!
1),r.hide().slideDown("fast")},t=function(){return a.removeClass("open"),r.stop(!
0).slideUp("fast",function(){return function(){return r.detach()}}
(this))},o.addClass("fancy_option").appendTo(r),a.on("click",function(){return
function(){return a.is(".open")?t():i(),!1}}
(this)),r.on("click",".fancy_option",function(){return function(e){return
t(),n.trigger("scribd:fancy_select",[e.currentTarget])}}(this)),n.hide().after(a),$
(document.body).click(function(){return function(e){return a.is(".open")&&!$
(e.target).closest(r).length?t():void 0}}(this)),this}}).call(this);

/* public/javascripts/jquery_global/viewport_track.coffee @ 1526073743 */
(function(){var e,t,n,r,i,o,a,s;i="_2",t=20,o=4e3,e=function(e){return
Math.floor(e/t)*t},r=null,n=null,s=$(window),a=function(){var t,o;return
o=e(s.width()),t=e(s.height()),o!==r||t!==n?(r=o,n=t,$
(document.body).track({category:"misc",action:"viewport"+i,label:o+"x"+t}),$
(document.body).track({category:"misc",action:"viewport_w"+i,label:""+o}),$
(document.body).track({category:"misc",action:"viewport_h"+i,label:""+t})):void
0},Math.random()<=.01&&(setTimeout(a,o),s.on("resize",_.debounce(a,o)))}).call(this
);

/* public/javascripts/jquery_global/draggable.coffee @ 1526073743 */
(function(){$.fn.draggable=function(e){var t,n,r,i,o,a,s,c;return
null==e&&(e={}),c="ontouchstart"in document,t=$(document.body),o=$
("html"),a=0,s=0,i=function(r){return function(){return
t.removeClass("dragging"),r.removeClass("dragging"),o.off("mousemove
touchmove",n),"function"==typeof e.stop?e.stop():void 0}}(this),n=function(){return
function(t,n,r){var i,o;return i=n-a,o=r-s,a+=i,s+=o,"function"==typeof e.move?
e.move(i,o,n,r):void 0}}(this),r=function(n){return function(r,i,o){return
t.is(".dragging")||("function"==typeof e.skip_drag?e.skip_drag(r):0)?void 0:
(t.addClass("dragging"),n.addClass("dragging"),a=i,s=o,"function"==typeof
e.start&&e.start(),!0)}}(this),c?this.on("touchstart",function(){return function(e)
{var t,a,s;return t=e.originalEvent.targetTouches[0],a=t.pageX,s=t.pageY,r(e,a,s)?
(o.one("touchend",i),n=function(e){return function(t){var n;return
n=t.originalEvent.targetTouches[0],a=n.pageX,s=n.pageY,e(t,a,s)}}
(n),o.on("touchmove",n),!1):void 0}}(this)):this.on("mousedown",function(){return
function(e){return r(e,e.pageX,e.pageY)?(o.one("mouseup",i),n=function(e){return
function(t){return e(t,t.pageX,t.pageY)}}(n),o.on("mousemove",n)):void 0}}
(this))}}).call(this);

/* public/javascripts/shared/embed_code.coffee @ 1526073743 */
(function(){var e,t=function(e,t){function r(){this.constructor=e}for(var i in
t)n.call(t,i)&&(e[i]=t[i]);return r.prototype=t.prototype,e.prototype=new
r,e.__super__=t.prototype,e},n={}.hasOwnProperty;Scribd.Embed||
(Scribd.Embed={}),e=function(){function e(e)
{this.options=$.extend({object_id:"doc_"+Math.floor(99999*Math.random())},this.defa
ult_options,e),this.options.auto_width||"100%"===this.options.width?
this.options.width="100%":parseInt(e.width)<this.options.minWidth&&(this.options.wi
dth=this.options.minWidth),this.options.auto_height?
this.options.height=this.default_options.height:parseInt(e.height)<this.options.min
_height&&(this.options.height=this.options.min_height)}return
e.prototype.default_options={minWidth:400,minHeight:400,maxWidth:1600,maxHeight:160
0,width:400,height:600,page:1,mode:"scroll",auto_width:!0,auto_height:!
1,show_title:!0,show_recommendations:!0},e.prototype.make_title=function(e){var
t,n,r,i,o,a,s;return n=[],o=_.escape(Scribd.truncate($.trim(e.title),110)),null!
=e.user_title&&(s=_.escape(Scribd.truncate($.trim(e.user_title),110)),a=_.escape(e.
user_title)),e.show_title&&(i=_.escape(e.title),r=' style="\nmargin: 12px auto 6px
auto;\nfont-family: Helvetica,Arial,Sans-serif;\nfont-style: normal;\nfont-variant:
normal;\nfont-weight: normal;\nfont-size: 14px;\nline-height: normal;\nfont-size-
adjust: none;\nfont-stretch: normal;\n-x-system-font: none;\ndisplay: block;"',t='
style="text-decoration: underline;" ',n.push("<p "+r+'>\n <a title="View '+i+' on
Scribd" href="'+e.doc_url+'#from_embed" '+t+">"+o+"</a>"),null!
=e.user_title&&n.push(' by\n<a title="View '+a+'\'s profile on Scribd"
href="'+e.user_url+'#from_embed" '+t+">"+s+"</a>\non
Scribd"),n.push("</p>")),n},e.prototype.make_protocol_relative=function(e){return
e.replace(/^http:\/\//,"//")},e}(),Scribd.Embed.HTML5CodeGenerator=function(e)
{function n(){return n.__super__.constructor.apply(this,arguments)}return
t(n,e),n.prototype.embed_url=function(){var e,t;return
t=this.make_protocol_relative("https://www.scribd.com/embeds/"+this.options.doc_id+
"/content"),e={start_page:this.options.page,view_mode:this.options.mode},this.optio
ns.access_key&&(""+this.options.access_key).length&&(e.access_key=this.options.acce
ss_key),e.show_recommendations=this.options.show_recommendations,t+"?"+
$.param(e)},n.prototype.render=function(e){var t,n,r,i;return
e&&(this.options=$.extend(this.options,e)),t=!
1,this.options.auto_height&&this.options.aspect_ratio&&(this.options.auto_width?t=!
0:this.options.height=Math.round(1/this.options.aspect_ratio*this.options.width)
+60),i=this.make_title(this.options),r=this.embed_url(),n=!!
this.options.auto_height,i.push('<iframe class="scribd_iframe_embed"
title="'+this.options.doc_title+'" src="'+r+'" data-auto-height="'+n+'" data-
aspect-ratio="'+this.options.aspect_ratio+'" scrolling="no"
id="'+this.options.object_id+'" width="'+this.options.width+'"
height="'+this.options.height+'" frameborder="0"></iframe>'),t&&i.push('<script
type="text/javascript">(function() { var scribd = document.createElement("script");
scribd.type = "text/javascript"; scribd.async = true; scribd.src =
"'+this.make_protocol_relative("https://www.scribd.com/")
+'javascripts/embed_code/inject.js"; var s =
document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(scribd,
s); })();</script>'),i.join("").replace(/\n/g," ")},n}
(e),Scribd.Embed.FlashCodeGenerator=function(e){function n(){return
n.__super__.constructor.apply(this,arguments)}return
t(n,e),n.prototype.render=function(e){var t;return
e&&(this.options=$.extend(this.options,e)),t=this.make_title(this.options),t.push('
<object id="'+this.options.object_id+'" name="'+this.options.object_id+'"
height="'+this.options.height+'" width="'+this.options.width+'"
type="application/x-shockwave-flash" data="//d-f.scribdassets.com/ScribdViewer.swf"
style="outline:none;" ><param name="movie" value="//d-
f.scribdassets.com/ScribdViewer.swf"> <param name="wmode" value="opaque"> <param
name="bgcolor" value="#ffffff"> <param name="allowFullScreen" value="true"> <param
name="allowScriptAccess" value="always"> <param name="FlashVars"
value="document_id='+this.options.doc_id+"&access_key="+this.options.access_key+"&p
age="+this.options.page+"&viewMode="+this.options.mode+'"> <embed
id="'+this.options.object_id+'" name="'+this.options.object_id+'" src="//d-
f.scribdassets.com/ScribdViewer.swf?
document_id='+this.options.doc_id+"&access_key="+this.options.access_key+"&page="+t
his.options.page+"&viewMode="+this.options.mode+'" type="application/x-shockwave-
flash" allowscriptaccess="always" allowfullscreen="true"
height="'+this.options.height+'" width="'+this.options.width+'" wmode="opaque"
bgcolor="#ffffff"></embed> </object>'),t.join("").replace(/\n/g," ")},n}
(e),Scribd.Embed.WordpressCodeGenerator=function(e){function n(){return
n.__super__.constructor.apply(this,arguments)}return
t(n,e),n.prototype.render=function(e){return
e&&(this.options=$.extend(this.options,e)),"[scribd id="+this.options.doc_id+"
key="+this.options.access_key+" mode="+this.options.mode+"]"},n}(e)}).call(this);

/* public/javascripts/jquery_global/react.coffee @ 1526073743 */
(function(){var
e=[].slice,t={}.hasOwnProperty;null==Scribd.R&&(Scribd.R={}),Scribd.R.render=functi
on(){var t,n,r,i;if(t=1<=arguments.length?e.call(arguments,0):
[],Scribd.logging_enabled)return ReactDOM.render.apply(ReactDOM,t);try{return
ReactDOM.render.apply(ReactDOM,t)}catch(r){throw n=r,console.info("There is a react
rendering error."),i=new
Scribd.Tracker,i.send({category:"react_error",label:n,action:"init
"+arguments[0].type.displayName}),n}},Scribd.R.scope_event_name=function(e)
{return"s:react:"+e},Scribd.R.trigger=function(){var t,n,r;return
n=arguments[0],r=arguments[1],t=3<=arguments.length?e.call(arguments,2):
[],n.isMounted()?$
(ReactDOM.findDOMNode(n)).trigger(Scribd.R.scope_event_name(r),e.call(t)):void
0},Scribd.R.dispatch=function(e,n){var r,i,o,a;o=e instanceof $?e:$
(ReactDOM.findDOMNode(e)),a=[];for(r in
n)t.call(n,r)&&(i=n[r],a.push(o.on(Scribd.R.scope_event_name(r),i)));return
a},Scribd.R.find_component_by_name=function(e){var
t,n,r,i,o;for(o=Scribd.R,i=e.split("."),t=0,n=i.length;n>t;t++)if(r=i[t],o=o[r],!
o)return;return o},Scribd.R.component=function(n,r,i){var
o,a,s,c,l,u,d,p,h,f;for(null==i&&(i=!
1),a=Scribd.R,d=n.split("."),n=d.pop(),c=0,l=d.length;l>c;c++)u=d[c],a[u]||
(a[u]={}),a=a[u];r.displayName="R."+n,r.trigger=function(){var t;return
void(t=Scribd.R).trigger.apply(t,
[this].concat(e.call(arguments)))},r.dispatch=function(){var t;return
void(t=Scribd.R).dispatch.apply(t,
[this].concat(e.call(arguments)))},r.extend_props=function(e){return
$.extend({},this.props,e)},r.container=function(){return $
(ReactDOM.findDOMNode(this))},r.track_rats=function(e,t){return
this.container().track_rats(e,t)},s={},r.uid=function(e){var t,r;return
this.props.uid_generator?this.props.uid_generator(e):(s[e]||
(t=Math.floor(1e6*Math.random()),r=n+"_"+e+"_"+t,s[e]=r),s[e])},r.render_spinner=fu
nction(){return React.DOM.div({"aria-
hidden":"true",className:"scribd_spinner","data-
size":30})},r.common_button=function(e,t){var
n,r,i,o,a;if(t&&(e.children=t),r=_.extend({},e),null!=r.data_props)
{i=r.data_props;for(n in i)a=i[n],r["data-"+n]=a}if(null!=r.aria_props)
{o=r.aria_props;for(n in o)a=o[n],r["aria-"+n]=a}return
r.className=classNames(r.className,"flat_btn"),r.children||
(r.children=[]),"string"==typeof
r.children&&(r.children=[r.children]),r.className.match(/text_btn/)||
r.children.push(this.render_spinner()),r.className.match(/\bfacebook\b/)?
r.children.unshift(React.DOM.span({className:"icon icon-ic_facebook","aria-
hidden":!
0})):r.className.match(/\bgoogle\b/)&&r.children.unshift(React.DOM.span({className:
"icon icon-google","aria-hidden":!0})),r.href||r.target?(null!
=r.disabled&&console.error("You can't disable
anchors"),React.DOM.a(r)):React.DOM.button(r)},r.icon=function(e,t,n){return
null==t&&(t=""),null==n&&(n="span"),[React.DOM[n]({className:"icon-ic_"+e,"aria-
hidden":!0}),t.length?this.visually_hidden(t):void
0]},r.visually_hidden=function(e,t,n){return
null==t&&(t="span"),null==n&&(n={}),n.className=null!=n.className?n.className+"
visually_hidden":"visually_hidden",[React.DOM[t](n,e)]},r.hook_tooltips=function()
{return Scribd.hook_tooltips(this.container(),{mobile_friendly:!
0})},o=React.createClass(r),a[n]&&console.error("Something already exists at
"+n),a[n]=React.createFactory(o),a[n]._class=o,a[n]._spec=r,a[n]._is_react_factory=
!0,h=r["static"];for(p in h)t.call(h,p)&&(f=h[p],a[n][p]=f);return
o.prototype.Package=i?a:a[n]},Scribd.R.component_builder=function(e,t){return
null==t&&(t={}),function(n,r){var i,o,a,s,c,l,u,d,_;if("string"==typeof n)return
Scribd.R.component(e+"."+n,r,!0);if(r=n,s=r.render,r.routes||
(r.routes=t.routes),t.parent&&(c=Scribd.R.find_component_by_name(t.parent)))
{if(c._spec.routes&&r.routes){u=c._spec.routes;for(a in
u)_=u[a],r.routes[a]=_}d=c._spec;for(a in d)_=d[a],a in r||
(r[a]=_)}r.routes&&(l={},r.url_for=function(e,t){var n;return n=l[e]||(l[e]=new
UrlPattern(r.routes[e])),n.stringify(t)}),r.render=function(){var e,n,r;return
r=("function"==typeof this.enclosing_element_type?
this.enclosing_element_type():void 0)||React.DOM.div,n=("function"==typeof
this.widget_css_classes?this.widget_css_classes(t.css_class):void 0)||
t.css_class,e={className:n,children:s.call(this),ref:"enclosing_element"},t.track_c
ategory&&(e["data-
track_category"]=t.track_category),r._is_react_factory&&(e.uid_generator=function(e
){return function(){return e.uid.apply(e,arguments)}}(this)),e=("function"==typeof
this.enclosing_element_args?this.enclosing_element_args(e):void 0)||
e,r(e)};try{return Scribd.R.component(e,r)}catch(o){return
i=o,console.error("scribd component creation failed",i)}}},"undefined"!=typeof
module&&module.exports&&(module.exports=Scribd.R)}).call(this);

/* :files, 'public/javascripts/shared', ... @ (none) */

/* :files, 'app/views', ... @ (none) */

/* :files, 'app/views', ... @ 1526073662 */


/* app/views/shared/browser_history.coffee @ 1526073662 */
(function(){Scribd.BrowserHistory=function(){function e(){}return
e.current_id=0,e.restore_id=0,e.original_title=document.title,e.enabled=function()
{return!!("undefined"!=typeof history&&null!==history?history.pushState:void
0)},e.init=function(){return e.enabled()?$
(window).on("popstate.browserhistory",function(t){var n;return
n=t.originalEvent.state,e.current_id=(null!=n?n.id:void 0)?
n.id:0,document.title=(null!=n?n.title:void 0)?n.title:e.original_title}):void
0},e.begin=function(){return e.enabled()?e.restore_id=e.current_id:void
0},e.restore=function(){var t;if(e.enabled())return t=e.restore_id-
e.current_id,e.current_id=e.restore_id,history.go(t)},e.push=function(t,n){var
r,i;if(e.enabled())return null==n.url&&(n.url=t),n.id=++e.current_id,i=null!
=(r=n.title)?r:"",history.pushState(n,i,t),i?document.title=i:void
0},e.pop=function(){return e.enabled()?history.go(-1):void 0},e.disable=function()
{return $(window).off("popstate.browserhistory"),e.enabled=function(){return!1}},e}
(),Scribd.BrowserHistory.init()}).call(this);

/* app/views/shared/carousels/document_cell.coffee @ 1526073662 */
(function(){Scribd.DocumentCell={add_flags:function(e,t){var
n,r,i,o,a,s,c;for(null==t&&(t=".document_cell.has_flag"),a=e.find(t).add(e.filter(t
)),s=[],i=0,o=a.length;o>i;i++)n=a[i],r=$
(n).find(".flag"),s.push((c=r.data("text"))?r.append("<span>"+c+"</span>"):void
0);return s}}}).call(this);

/* app/views/shared/recommendation_tracking.coffee @ 1526073662 */
(function(){var e=function(e,t){return function(){return
e.apply(t,arguments)}},t=[].slice;Scribd.RecommendationTracking=function(){function
n(){throw"Scribd.RecommendationTracking is not instantiatable"}return
n._page_count=0,n._compilation_ids={},n._seen_rv_events={},n.Module=function()
{function n(t,n){this.opts=null!=n?n:
{},this.ready=e(this.ready,this),this.container=$
(t),this.container.on("scribd:enclosing_tracking_module",function(e){return
function(t,n){return n(e)}}(this)),this.with_tracking=$.Deferred(function(e){return
function(t){return t.done(function(t){var n;return
e.tracking=t,"function"==typeof(n=e.opts).on_tracking?
n.on_tracking(e.tracking):void 0})}}(this)),this.opts.compilation_id?
Scribd.RecommendationTracking.page_view_deferred(this.opts.compilation_id).done(fun
ction(e){return function(t){return e.ready(t,e.opts.widget_name)}}
(this)):this.container.on("scribd:setup_tracking",function(e){return
function(t,n,r){return e.ready(n,r)}}(this))}return
n.prototype.setup_inview_tracking=function(){return
null==this.tracking?"undefined"!=typeof console&&null!==console?
console.error("missing tracking"):void 0:(this.container.one("inview",function(e)
{return function(){var t;return
Scribd.RecommendationTracking.track_module_view(e.tracking.view_id,e.tracking.modul
e_id,e.tracking.widget_name),null!=(t=e.opts.on_in_view)?t.call(e,e.tracking):void
0}}
(this)),Scribd.RecommendationTracking.trigger_inview_check())},n.prototype.setup_cl
ick_tracking=function(e){var
t,n,r,i,o,a,s;if(null==e&&(e=this.container.find("[data-
track_uuid]")),null==this.tracking)return"undefined"!=typeof console&&null!
==console?console.error("missing tracking"):void
0;for(this.container.data("track_uuid")&&(e=e.add(this.container)),a=[],r=0,i=e.len
gth;i>r;r++)t=e[r],t=$
(t),n=t.data("track_rats")||"rc",o="mc"===n?"mi":"ri",s={vi:this.tracking.view_id},
s[o]=t.data("track_uuid"),t.attr("data-track_rats",n),a.push(t.attr("data-
track_rats_value",JSON.stringify(s)));return a},n.prototype.ready=function(e,t){var
n;return(n=this.opts.module_id||this.container.data("track_uuid"))?
(this.with_tracking.resolve({widget_name:t,view_id:e,module_id:n}),this.setup_invie
w_tracking(),this.setup_click_tracking()):void
0},n.prototype.track_module_click=function(){var e;return e=1<=arguments.length?
t.call(arguments,0):[],this.with_tracking.done(function(){return function(n){var
r;return(r=Scribd.RecommendationTracking).track_module_click.apply(r,
[n.view_id,n.module_id].concat(t.call(e)))}}(this))},n}
(),n.page_view_deferred=function(e){var t;return e?(n._view_id_deferred||
(n._view_id_deferred={}),t=n._view_id_deferred[e],t||
(t=$.Deferred(),n._view_id_deferred[e]=t,Scribd.RecommendationTracking.track_page_v
iew(e,function(e){return t.resolve(e)})),t):(console.debug("attempted page view
without compilation id"),$.Deferred())},n.track_page_view=function(e,t){var
n;return
n=this._compilation_ids[e],null==n&&(n=this._compilation_ids[e]=this._page_count+
+),$rat.root().withVid(function(){return function(r){return r=r+"."+n,$rat("pv",
{vi:r,ci:e}),"function"==typeof t?t(r):void 0}}
(this))},n.track_module_view=function(e,t,n){var r;if(!this.seen_event(e,t))return
r={vi:e,mi:t},null!=n&&(r.w=n),$rat("mv",r)},n.track_module_click=function(e,t,n)
{var r;return r={vi:e,mi:t},null!=n&&(r.t=n),
$rat("mc",r)},n.track_obj_view=function(e,t){return this.seen_event(e,t)?void
0:$rat("rv",{vi:e,ri:t})},n.seen_event=function(e,t){var n;return
n=e+"#"+t,this._seen_rv_events[n]?!0:(this._seen_rv_events[n]=!0,!
1)},n.track_obj_click=function(e,t){return $rat("rc",
{vi:e,ri:t})},n.trigger_inview_check=function(){return
this.trigger_inview_check=_.debounce(function(){return
$.event.special.inview.run()},0),this.trigger_inview_check()},n}()}).call(this);

/* app/views/shared/search/search_storage.coffee @ 1526073662 */
(function(){Scribd.UI||(Scribd.UI={}),Scribd.UI.SearchStorage=function(){function
e(){this.manage_version()}return
e.prototype.search_data_key="search_data",e.prototype.max_search_terms=5,e.prototyp
e.max_viewed_history=10,e.prototype.version=3,e.prototype.clear_terms=function()
{return Scribd.with_local_storage(function(e){return function(t){var n;return
n=e.read(),n.terms=[],t.setItem(e.search_data_key,JSON.stringify(n))}}
(this))},e.prototype.read=function(){return Scribd.with_local_storage(function(e)
{return function(t){var n,r;return n={terms:
[]},r=JSON.parse(t.getItem(e.search_data_key)),_.extend(n,r)}}
(this))},e.prototype.manage_version=function(){return
Scribd.with_local_storage(function(e){return function(t){var
n,r,i;try{if(i=JSON.parse(t.getItem(e.search_data_key))||{},null==i.version||
i.version!==e.version)return
t.setItem(e.search_data_key,JSON.stringify({version:e.version}))}catch(r){return
n=r,console.error("Error loading from storage:
"+n),t.setItem(e.search_data_key,JSON.stringify({version:e.version}))}}}
(this))},e.prototype.save=function(e){return Scribd.with_local_storage(function(t)
{return function(n){var r,i,o;return r=t.read(),i=_.compact(r.terms),o=function(e)
{var t;return t=i[0],0===e.indexOf(t)||0===(null!=t?t.indexOf(e):void 0)?
i[0]=e:i.unshift(e)},i&&i.length>t.max_search_terms&&(i=i.slice(0,+
(t.max_search_terms-2)+1||9e9)),o(e),i=_.uniq(i),r=_.extend(r,
{terms:i}),n.setItem(t.search_data_key,JSON.stringify(r))}}(this))},e}
()}).call(this);

/* app/views/chrome/_hover_menu.coffee @ 1526073660 */
(function(){$(function(){var e,t;return e=function(e){var t,n,r;return t=$
(e.currentTarget),t.is(".disabled")?void 0:(t.is(".open")||
t.trigger("scribd:hover_menu_open"),$
(".hover_menu").removeClass("open"),t.addClass("open").trigger("scribd:dismiss_over
lay").data("active",!0),r=function(){return _.defer(function(){return $
(document.body).off("scribd:close_hover_menus",r),t.removeClass("open")})},$
(document.body).on("scribd:close_hover_menus",r),n=t.data("try_hide"),n||
(n=_.debounce(function(){return t.data("active")?void
0:r()},1e3),t.data("try_hide",n)),n())},t=void 0,$(document).on("click",function(e)
{return $(e.target).closest(".hover_menu").length?void 0:$
(document.body).trigger("scribd:close_hover_menus")}).on("mouseenter",".hover_menu"
,function(n){var r,i;return r=$(n.currentTarget),i=r.data("hover_menu_delay")||
1,t=setTimeout(function(){return
e(n)},i)}).on("click",".hover_menu",e).on("mouseleave",".hover_menu",function(e)
{return clearTimeout(t),$(e.currentTarget).data("active",!
1)}).on("mousemove",".hover_menu .sub_menu",function(e){return $
(e.currentTarget).closest(".hover_menu").data("active",!0).data("try_hide")
()})})}).call(this);

/* app/views/chrome/flasher.coffee @ 1526073660 */
(function(){Scribd.Flasher=function(){function e(){}return
e.prototype.toast_node=null,e.prototype.mount_node=function(e){return $("<div />",
{role:"alert"}).appendTo(e)[0]},e.prototype.bind_lightbox_close=_.once(function()
{return $(document.body).on("Scribd:lightbox:closed
Scribd:stacked_lightbox:closed",function(){return Scribd.Lightbox.current_open?void
0:$(e.lightbox_container()).find(".flash").each(function(){return
ReactDOM.unmountComponentAtNode(this.parentElement)})})}),e.global_container=functi
on(){return $("#flash_container")[0]},e.lightbox_container=function(){return $
("#lightbox_flash_container")[0]},e.toast=function(e,t,n){var
r,i,o,a,s,c,l,u,d;return null==n&&(n={}),r=null!=n.dismiss_speed?n.dismiss_speed:
(d=n.raw?$("<div />",
{html:t}).text().length:t.length,a=60*d,a=Math.max(a,4e3),Math.min(a,11e3)),i=Scrib
d.R.Flash.Toast({style:"toast",content:t,type:e,raw:null!=(s=n.raw)?s:!
1,dismiss_speed:r,animation_speed:null!=(c=n.animation_speed)?
c:500,class_name:null!=(l=n.class_name)?l:""}),o=null!=(u=this.toast_node)?
u:this.prototype.mount_node(this.global_container()),ReactDOM.unmountComponentAtNod
e(o),ReactDOM.render(i,o)},e.build_standard=function(e,t,n){var r,i,o,a,s;return
null==n&&(n={}),Scribd.R.Flash.Standard({style:"standard",content:t,type:e,raw:null
!=(r=n.raw)?r:!1,user_dismiss:null!=(i=n.user_dismiss)?i:!0,animation_speed:null!
=(o=n.animation_speed)?o:250,class_name:null!=(a=n.class_name)?
a:"",should_focus:null!=(s=n.should_focus)?s:!1})},e.standard=function(e,t,n){var
r,i,o,a,s;return null==n&&(n={}),a=Scribd.StackedLightbox.instances[0]||
Scribd.Lightbox.current_open,r=a?
this.lightbox_container():this.global_container(),n.container&&(r=n.container),i=th
is.build_standard(e,t,n),s=this.prototype.mount_node(r),o=s.getBoundingClientRect()
.top>$(window).height(),o||$(r).hasClass("fixed")?ReactDOM.render(i,s):
(r=Scribd.Lightbox.current_open?$("#lightbox_area"):document.body,$
(r).animate({scrollTop:0},"slow",function(){return
ReactDOM.render(i,s)})),this.prototype.bind_lightbox_close()},e}()}).call(this);

/* app/views/chrome/tooltips.coffee @ 1526073660 */
(function(){Scribd.Tooltips={Fancy:{template:_.template('<div class="fancy_tip">\n
<div class="tip_arrow sprite popup_arrow"></div>\n <div class="tip_inner"
role="tooltip">\n {{& content }}\n </div>\n</div>'),position:function(e,t){var
n;return n=e.offset(),t.css({left:Math.floor(n.left-
t.outerWidth()/2+e.outerWidth()/2),top:Math.floor(n.top+12+e.outerHeight())})}},Def
ault:{template:_.template('<div class="new_tip">\n <div class="tip_inner"
role="tooltip">{{ content }}</div>\n</div>'),position:function(e,t){var
n,r,i,o,a,s,c,l,u;return
r=e.offset(),n=t.outerHeight(),a=t.outerWidth(),c=e.outerWidth(),l=r.left-(a-
c)/2,u=r.top-n-4,0>u&&(u=r.top+e.outerHeight()+4),l=Math.max(2,l),l=Math.min($
(window).width()-2-a,l),i=s=t.parent().offsetParent(),o=i.offset(),t.css({left:l-
o.left,top:u-o.top})}},Under:{position:function(e,t){var n,r,i,o;return
r=e.offset(),n=t.height(),i=t.width(),o=e.width(),t.css({width:500,left:r.left+Math
.floor((o-i)/2),top:n+4})}},Under2:{position:function(e,t){var
n,r,i,o,a,s,c,l,u;return
r=e.offset(),n=t.outerHeight(),a=t.outerWidth(),c=e.outerWidth(),l=r.left-(a-
c)/2,u=r.top+20,i=s=t.parent().offsetParent(),o=i.offset(),t.css({left:l-
o.left,top:u-o.top})}},Unescaped:{template:_.template('<div class="new_tip">\n
<div class="tip_inner" role="tooltip">\n {{& content }}\n
</div>\n</div>')}},Scribd.hook_tooltips=function(e,t){var n,r,i,o,a;return
null==t&&(t={}),t=$.extend({tooltip_container:"tooltip_container",template:Scribd.T
ooltips.Default.template,position:Scribd.Tooltips.Default.position,sticky:!
1},t),o=$("<div
class='"+t.tooltip_container+"'></div>").appendTo(e),o.data("hover_count",0),n=func
tion(e){return t.sticky?setTimeout(function(){return 0===o.data("hover_count")?
e():void 0},200):e()},r=function(){return o.empty()},function(e){return
Scribd.kill_tooltips=function(){return"function"==typeof e&&e(),r()}}
(Scribd.kill_tooltips),i=function(e){var n,r,i,a,s,c,l;if(!e.is(".disabled"))
{if(s=e.data("tooltip_elm"),a=e.attr("data-label")||e.attr("aria-label")||
e.attr("data-tooltip"),!s||a!==e.data("tooltip_elm_content"))
{if("{"===a[0]&&(a=JSON.parse(a)),$.isPlainObject(a)){l=a,a=l["default"];for(n in
l)if(c=l[n],e.is("."+n)){a=c;break}}i=(null!
=(r=Scribd.Tooltips[e.data("tooltip_template")])?r.template:void 0)||t.template,s=$
(i({content:a})),e.data("tooltip_elm",s),e.data("tooltip_elm_content",a)}return
s.appendTo(o),t.position(e,s),s.addClass("opaque")}},a=Scribd.is_mobile?"focusin
focusout":"mouseenter mouseleave focusin focusout",t.sticky&&o.on(a,function(e){var
t;return t="mouseleave"===e.type||"focusout"===e.type?-1:1,
("mouseleave"===e.type||"focusout"===e.type)&&n(r),o.data("hover_count",o.data("hov
er_count")+t)}),e.on(a,"[data-tooltip]",function(e){var t,r;return r=$
(e.currentTarget),t="mouseleave"===e.type||"focusout"===e.type?-
1:1,"mouseleave"===e.type||"focusout"===e.type?n(function(){var e;return null!
=(e=r.data("tooltip_elm"))?e.removeClass("opaque").remove():void
0}):i(r),o.data("hover_count",o.data("hover_count")
+t)}),e.on("scribd:update_tooltip","[data-tooltip]",function(e,t){var n,r,o;return
n=$(e.currentTarget),t&&n.data("tooltip",t),o=!1,(r=n.data("tooltip_elm"))&&(o=0!
==r.closest("body").length,r.removeClass("opaque").remove()),n.removeData("tooltip_
elm"),o?i(n):void 0})}}).call(this);

/* app/views/chrome/_facebook_session.coffee @ 1526073660 */
(function(){Scribd.FacebookSession={getUserId:function(){var e;return
e=FB.getAuthResponse(),e?e.userID:void 0},correct:function(){return
window.facebookUser&&"undefined"!=typeof window.facebookUserId?
this.getUserId()===facebookUserId:!1},verifyExec:function(e,t){var
n;if(window.facebookUser)return n=this,n.correct()?e():t?
FB.getLoginStatus(function(t){var r;return r=t.authResponse,r?FB.logout(function()
{return FB.login(function(){return n.withValid(e)})}):FB.login(function(){return
n.withValid(e)})}):void 0},ensureValid:function(e){return this.verifyExec(e,!
0)},withValid:function(e){return this.verifyExec(e,!
1)},attempt_facebook_upgrade:function(e,t){return t||
(t=e),Scribd.with_named_current_user(function(){var n;return
n=Scribd.named_current_user(),n&&n.is_facebook_user&&!n.has_email?
Scribd.facebook.login(function(n){return n&&n.authResponse?($
("#loading_lb").length&&Scribd.Lightbox&&Scribd.Lightbox.open("loading_lb"),
$.ajax({url:"/facebook_session",type:"post",dataType:"json",success:e})):t()}):e()}
)}}}).call(this);

/* app/views/chrome/_sign_in.coffee @ 1526073660 */
(function(){Scribd.SignIn=function(){function e(){}return e.open=function(e,t){var
n,r,i;return null==e&&(e={}),null==t&&(t=null),/iPad|
iPhone/.test(navigator.userAgent)?
(i="join"===e.initial_view?"/join?":"/login?",i+=$.param({opts:e}),void(window.loca
tion=i)):(r=Scribd.Lightbox.lightboxes||$
("#lightboxes"),n=r.find("#login_drop"),n.length||(n=$('<div
id="login_drop"></div>').appendTo(r)),ReactDOM.unmountComponentAtNode(n[0]),ReactDO
M.render(Scribd.R.Shared.Login.Lightboxes(e),n[0]))},e.logout=function(){return
window.location="/logout?
return_to="+encodeURIComponent(window.location.pathname)},e}()}).call(this);

/* app/views/chrome/_validator.coffee @ 1526073660 */
(function(){Scribd.validate=function(e){return function(t,n){var
r,i,o,a,s,c,l,u;for(null==n&&(n={}),e.opts=$.extend({display_errors:!
0},n),t.find("input,
textarea").removeClass("validate_error"),t.find(".tooltip_container").remove(),u=!
0,l=Scribd.Tooltips.Default,i=function(n,r){var i,o;if(e.opts.display_errors)return
n.addClass("validate_error"),o=$
("<div>").addClass("tooltip_container").appendTo(t),i=$
(l.template({content:r})),i.appendTo(o),l.position(n,i),i.addClass("opaque"),n.one(
"blur input",function(){return n.removeClass("validate_error"),n.removeAttr("data-
server_validation").data("server_validation",!1),i.remove()})},c=t.find("[data-
validate]"),o=0,s=c.length;s>o;o++)a=c[o],r=$(a),"existence"!==r.data("validate")||
r.val()||(i(r,I18n.t("giftcards.validator.can_t_be_blank")),u=!
1),"email"===r.data("validate")&&-
1===r.val().indexOf("@")&&(i(r,I18n.t("giftcards.validator.must_be_a_valid_email"))
,u=!1),"future_date"===r.data("validate")&&(!/^[0-9]{2}\/[0-9]{2}\/[0-9]
{4}$/.test(r.val())||isNaN(Date.parse(r.val()))||
Date.parse(r.val())<Date.now())&&i(r,I18n.t("giftcards.validator.must_be_a_valid_fu
ture_date")),r.data("server_validation")&&i(r,r.data("server_validation"));return
u}}(this)}).call(this);

/* app/views/shared/collection_api.coffee @ 1526073662 */
(function(){Scribd.Shared||
(Scribd.Shared={}),Scribd.Shared.CollectionAPI=function(){function e(){}return
e.create_collection=function(e,t,n){return null==n&&(n=null),$.ajax({url:"/user-
document-collections/",type:"post",dataType:"json",data:
{name:e,privacy_type:t,document_id:n}})},e.update_collection=function(e,t,n,r)
{return $.ajax({url:"/user-document-
collections/"+e,type:"post",dataType:"json",data:
{name:t,privacy_type:n,description:r}})},e.delete_collection=function(e){return
$.ajax({url:"/user-document-
collections/"+e,type:"delete",dataType:"json"})},e.add_document=function(e,t)
{return $.ajax({url:"/user-document-collections/"+e+"/add-
document",type:"post",dataType:"json",data:
{document_id:t}})},e.remove_document=function(e,t){return $.ajax({url:"/user-
document-collections/"+e+"/remove-document",type:"delete",dataType:"json",data:
{document_id:t}})},e.collections_containing_document=function(e){return
$.ajax({url:"/user-document-collections/collections-containing-
document/"+e,type:"get",dataType:"json"})},e.mark_privacy=function(e,t){return
$.ajax({url:"/collections/set-collection-privacy",type:"post",dataType:"json",data:
{id:e,privacy_type:t}})},e}()}).call(this);

/* app/views/shared/library_api.coffee @ 1526073662 */
(function(){Scribd.Shared||(Scribd.Shared={}),Scribd.Shared.LibraryAPI=function()
{function e(){}return e.trigger_updated_in_library=function(e,t){return $
(document).trigger("scribd:updated_in_library",[e,t])},e.add=function(e){return
$.ajax({type:"POST",dataType:"json",data:{id:e},url:"/saved/add",success:function()
{return Scribd.Shared.LibraryAPI.trigger_updated_in_library(!
0,e)}})},e.remove=function(e){return $.ajax({type:"DELETE",dataType:"json",data:
{id:e},url:"/saved/remove",success:function(){return
Scribd.Shared.LibraryAPI.trigger_updated_in_library(!
1,e)}})},e.mark_as_finished=function(e){return
$.ajax({type:"POST",dataType:"json",data:
{id:e,state:"finished_reading"},url:"/saved/finish"})},e.unmark_as_finished=functio
n(e){return $.ajax({type:"POST",dataType:"json",data:
{id:e,state:"saved"},url:"/saved/finish"})},e}()}).call(this);

/* app/views/recommenders/shared.coffee @ 1526073662 */
(function(){Scribd.Recommenders={Modules:{},UI:{}}}).call(this);

/* :class_inlines, 'app/views', ... @ 1526073916 */


/* app/views/shared/react/jsx/base_component.jsxjs @ 1526073916 */
webpackJsonp([156],[],[0]);

/* app/views/pdfs/lightboxes/_download_lightbox.coffee @ 1526073661 */
(function(){var
e,t,n,r,i,o,a,s,c;a=React.DOM,o=a.p,r=a.em,n=a.div,s=a.span,i=a.h2,e=a.a,t=Scribd.R
.component_builder("Pdfs.Lightboxes.DownloadLightbox",
{css_class:"autogen_class_views_pdfs_lightboxes_download_lightbox",track_category:"
download_dialog"}),c=React.PropTypes,t({propTypes:
{show_paywall:c.bool,archive_url:c.string,base_url:c.string,recommendation_html:c.s
tring,download_url:c.string,download_callback:c.func,document:c.shape({secret_passw
ord:c.string}).isRequired,filename:c.string.isRequired,formats:c.arrayOf(c.shape({e
xtension:c.string,filesize:c.string})).isRequired,receipt_url:c.string,compilation_
id:c.string,module_id:c.string,show_after_download_suggestions:c.bool},enclosing_el
ement_type:function(){return function(e){return function(t){return
React.createElement(Scribd.Shared.Lightbox,Object.assign({title:e.state.download_st
arted?void 0:I18n.t("pdfs.lightboxes.download_lightbox.download_document")},t))}}
(this)},getInitialState:function(){var e;return{selected_extension:null!
=(e=this.props.formats[0])?e.extension:void
0,formats:this.props.formats,download_started:!
1,nag:this.props.nag}},componentLightboxShow:function(){return
this.setState({download_started:!1})},componentDidMount:function(){return
this.container().on("Scribd:lightbox:closed",function(){return function(){return $
(document.body).track_rats("doc:download_modal:hide")}}
(this))},componentDidUpdate:function(e,t){return this.tracking_module||
t.download_started||!this.state.download_started?void 0:this.tracking_module=new
Scribd.RecommendationTracking.Module(this.container(),
{compilation_id:this.props.compilation_id,widget_name:"download_lightbox",module_id
:this.props.module_id,on_in_view:function(e){return function(t){return
e.check_items_inview(t)}}(this)})},widget_css_classes:function(e){return
classNames(e,"lightbox auto_center",
{download_started:this.state.download_started})},check_items_inview:function(e){var
t,n,r,i,o,a,s;for(a=this.container().find(".object_cell[data-
object_id]"),s=[],r=n=0,i=a.length;i>n;r=++n)t=a[r],t=$
(t),t.is(".visibility_tracked")||(o=t.closest("[data-
track_uuid]").data("track_uuid"),Scribd.RecommendationTracking.track_obj_view(e.vie
w_id,o),s.push(t.addClass("visibility_tracked")));return s},do_download:function()
{var e;return $(document.body).track_rats("doc:final_download_button:click",
{format:this.state.selected_extension}),this.props.download_callback?void
this.props.download_callback(this.state.selected_extension):
(e=this.props.show_paywall?this.props.archive_url:this.props.base_url+"/?"+
$.param({secret_password:this.props.document.secret_password,extension:this.state.s
elected_extension}),setTimeout(function(){return
window.location=e},200),this.setState({download_started:!0}))},render:function()
{var e;return(null!=(e=this.state.nag)?e.paused:void 0)?
this.render_paused():this.state.download_started?
this.render_after_download():this.render_downloader()},render_paused:function()
{return[o({children:
[I18n.t("pdfs.lightboxes.download_lightbox.your_membership_is_currently_paused_unti
l",{state_nag_next_payment_due:this.state.nag.next_payment_due})+"
",r({},this.props.document.title),"?"]}),n({className:"buttons",children:
[this.common_button({className:classNames({loading:this.state.loading}),disabled:th
is.state.loading,onClick:function(e){return function(t){return
t.preventDefault(),e.setState({loading:!0}),e.unpause_account()}}
(this)},I18n.t(this.state.loading?"pdfs.lightboxes.download_lightbox.resuming":"pdf
s.lightboxes.download_lightbox.resume_membership"))]})]},unpause_account:function()
{return $.getJSON(this.state.nag.fix_url).fail(function(e){return function(){return
window.location=e.state.nag.fix_url}}(this)).done(function(e){return function()
{return $(document.body).trigger("scribd:unpause_account"),
$.ajax({type:"POST",url:e.props.download_url,data:
$.extend({},Scribd.toolbar_params(e.props.document),
{show_after_download_suggestions:e.props.show_after_download_suggestions,unpaused:!
0})}).done(function(t){var n;return e.setState({nag:null,loading:!1,just_resumed:!
0,selected_extension:null!=(n=t.props.formats[0])?n.extension:void
0,formats:t.props.formats})})}}(this))},render_downloader:function()
{return[this.state.just_resumed?
o({},I18n.t("pdfs.lightboxes.download_lightbox.your_membership_has_been_resumed")):
void
0,this.render_current_format(),this.render_format_picker(),n({className:"buttons"},
this.common_button({onClick:this.do_download},I18n.t("pdfs.lightboxes.download_ligh
tbox.download_current_format_extension",
{current_format_extension:this.current_format().extension})))]},current_format:func
tion(){return _.find(this.state.formats,function(e){return function(t){return
t.extension===e.state.selected_extension}}(this))},render_current_format:function()
{var e;return e=this.current_format(),n({className:"document_data",children:
[n({className:"data_row file_name",children:
[s({className:"data_value"},this.props.filename+"."+e.extension)]}),n({className:"d
ata_row",children:
[s({className:"data_value"},e.filesize)]})]})},render_format_picker:function()
{return 1!==this.state.formats.length?
React.createElement(Scribd.Shared.React.Forms.InputGroup,
{className:"format_picker",children:this.state.formats.map(function(e){return
function(t){return React.createElement(Scribd.Shared.React.Forms.Radio,
{name:"download_extension",label_text:"
"+t.extension.toUpperCase(),selected:t.extension===e.state.selected_extension,value
:t.extension,onChange:function(){return
e.setState({selected_extension:t.extension})}})}}(this))}):void
0},render_after_download:function(){return[i({className:"title",children:
[I18n.t("pdfs.lightboxes.download_lightbox.your_download_has_started_")]}),n({class
Name:"secondary_message",children:
[I18n.t("pdfs.lightboxes.download_lightbox.having_trouble_downloading")+"
",e({href:"javascript:void(0)",onClick:function(e){return function(){return
e.setState({download_started:!1})}}
(this)},I18n.t("pdfs.lightboxes.download_lightbox.try_again"))]}),this.props.recomm
endation_html?
n({key:"recommendations",className:"rec_wrapper",dangerouslySetInnerHTML:
{__html:this.props.recommendation_html}}):void 0]}})}).call(this),
(Scribd.translations=Scribd.translations||[]).push({en_US:{pdfs:{lightboxes:
{download_lightbox:{download_document:"Download
document",your_membership_is_currently_paused_until:"Your membership is currently
paused until %{state_nag_next_payment_due}. Would you like to resume your
membership now to download",no_thanks:"No
Thanks",resuming:"Resuming",resume_membership:"Resume
Membership",your_membership_has_been_resumed:"Your membership has been
resumed.",download_current_format_extension:"Download %
{current_format_extension}",your_download_has_started_:"Your download has
started",having_trouble_downloading:"Having trouble downloading?",try_again:"Try
again",similar_to_document_pretty_title_:"Similar to %
{document_pretty_title}",check_out_more_from:"Check out more from"}}}}});

/* app/views/search/input/show.jsxjs @ 1526073916 */
webpackJsonp([104],{290:function(e,t,n){"use strict";function r(e){return
e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new
TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return!
t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!
=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a
function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:
{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var
n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!
0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return
function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n(291);var
c=n(1),l=r(c),u=React.PropTypes,d=function(e){function t(e){i(this,t);var n=o(this,
(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__search_input_show"),n.state={focused:!
1,keep_suggestions_on_blur:n.props.keep_suggestions_on_blur,query:n.props.query,que
ry_history:n.get_history(),suggested_query:"",suggestion_index:-
1,suggestions_xhr:null,suggestion_items:[],trust_suggestion_items:!
0},n.memoized_queries={},n}return a(t,e),s(t,
[{key:"enclosing_element_args",value:function(){return{role:"search"}}},
{key:"component_classes",value:function(){return
classNames("search_input_container",{search_test:"control"!
==this.props.search_input_header_v2_test})}},
{key:"componentDidMount",value:function(){var e=this;$
(document.body).on("header:search_page:focus_input",function(){e.state.focused||
e.search_input.focus()})}},{key:"get_history",value:function(){var e=new
Scribd.UI.SearchStorage,t=e.read();return t?t.terms:[]}},
{key:"get_suggestions",value:function(e){var
t=this;if(this.state.suggestions_xhr&&this.state.suggestions_xhr.abort(),e)if(this.
memoized_queries[e])this.setState({query:e,suggestion_items:this.memoized_queries[e
],trust_suggestion_items:!0});else{var n=$.get("/query_suggestions/web",
{query:e},function(n){n.query_suggestions?
(t.memoized_queries[e]=_.map(n.query_suggestions,function(e){return
e.suggestion}),t.setState({suggestion_items:t.memoized_queries[e],trust_suggestion_
items:!0})):t.setState({suggestion_items:[]})});n.always(function()
{t.setState({suggestions_xhr:null})}),this.setState({query:e,suggestions_xhr:n})}el
se
this.setState({query:"",suggestion_items:Array.from(this.state.query_history),trust
_suggestion_items:!1})}},{key:"get_suggested_query",value:function(e){return
Scribd.Search.Input.Show.get_pruned_search_html(this.state.suggestion_items[e])}},
{key:"get_source",value:function(){return
this.state.query?"query_suggester":"recent_search"}},
{key:"get_page",value:function(){return window.location.pathname.split("/")
[1]||"home"}},{key:"get_input_value",value:function(){return
this.state.suggestion_index>-1?this.state.suggested_query:this.state.query}},
{key:"set_history",value:function(e){if(e){var t=new
Scribd.UI.SearchStorage;t.save(e),this.setState({query_history:this.get_history()})
}}},{key:"navigate_to_app",value:function(e)
{window.location.href=this.props.search_url+"?query="+encodeURIComponent(e)}},
{key:"navigate_suggestions",value:function(e){var
t=Math.min(this.state.suggestion_items.length-
1,Math.max(this.state.suggestion_index+e,-1));this.setState(-1===t?
{suggested_query:"",suggestion_index:t}:
{suggested_query:this.get_suggested_query(t),suggestion_index:t})}},
{key:"submit_search",value:function(e,t){var
n=this;this.set_history(t),this.setState({query:t},function()
{n.search_input.blur(),n.props.redirect_to_app?n.navigate_to_app(t):
(n.exit_suggester(),"control"!==n.props.search_input_header_v2_test?
(e.stopPropagation(),$(n.container).trigger("header:search_page:submit_search",
[n.get_input_value()])):n.props.handle_submit(e,t))})}},
{key:"exit_suggester",value:function(){this.setState({suggestion_index:-
1,suggested_query:"",suggestion_items:[]})}},
{key:"should_show_suggestions",value:function(){return(this.state.focused||
this.props.keep_suggestions_on_blur)&&this.state.suggestion_items.length>0}},
{key:"handle_click",value:function(){this.track_rats("search:box:click",
{page:this.get_page(),search_session_id:Scribd.Search.Input.Show.get_search_session
_id()})}},{key:"handle_search_button_click",value:function(e)
{this.submit_search(e,this.get_input_value())}},
{key:"handle_submit",value:function(e){e.preventDefault(),
(this.state.suggested_query||this.state.query)&&(-1!
=this.state.suggestion_index&&this.track_rats("search:drop_down_suggest:submit",
{page:this.get_page(),search_session_id:Scribd.Search.Input.Show.get_search_session
_id(),source:this.get_source(),query:this.state.suggested_query}),this.submit_searc
h(e,this.get_input_value()))}},{key:"handle_change",value:function(e){var
t=this;this.setState({query:e.target.value,suggestion_index:-1},function()
{t.get_suggestions(e.target.value)})}},{key:"handle_keydown",value:function(e){{var
t=Scribd.KeyMappings;t.up_arrow,t.down_arrow,t.esc,t.tab}switch(e.keyCode){case
Scribd.KeyMappings.up_arrow:e.preventDefault(),this.navigate_suggestions(-
1);break;case
Scribd.KeyMappings.down_arrow:e.preventDefault(),this.navigate_suggestions(1);break
;case Scribd.KeyMappings.esc:e.preventDefault(),this.exit_suggester();break;case
Scribd.KeyMappings.tab:this.state.suggestion_items.length>0&&(this.exit_suggester()
,$(e.currentTarget).focus())}}},{key:"handle_blur",value:function(){var
e=this;window.setTimeout(function(){e.setState({focused:!1,suggestion_index:-
1})},500)}},{key:"handle_focus",value:function(){var
e=this;this.setState({focused:!0},function(){e.get_suggestions(e.state.query)})}},
{key:"render_visually_hidden_results_count",value:function(){if(this.state.focused)
{var e=null;return e=this.should_show_suggestions()?
I18n.t("search.input.show.props_items_length_result_s_are_available_use_up",
{props_items_length:this.state.suggestion_items.length}):I18n.t("search.input.show.
no_search_results"),React.createElement("span",{className:"visually_hidden","aria-
atomic":"true",role:"status","aria-
live":"polite",id:"aria_live_status_container"},e)}}},
{key:"render_suggestions",value:function(){var
e=this;if(this.should_show_suggestions())return
React.createElement(Scribd.Search.Input.Suggestions,
{handle_click:this.submit_search,items:this.state.suggestion_items,label_text:0===t
his.state.query.length?
I18n.t("search.input.show.recent_searches"):null,list_id:"suggestions_list",page:th
is.get_page(),query:this.state.query,selected_index:this.state.suggestion_index,sou
rce:this.get_source(),trust:this.state.trust_suggestion_items,ref:function(t)
{e.suggestions_component=t}})}},{key:"render_content",value:function(){var
e=this,t=this.state.focused?null:I18n.t("search.input.show.search");return
React.createElement("form",
{className:"search_form",autoComplete:"off",onSubmit:this.handle_submit},React.crea
teElement("label",null,React.createElement("span",
{className:"visually_hidden"},I18n.t("search.input.show.search")),React.createEleme
nt("input",
{autoComplete:"off",autoFocus:this.props.focused,className:classNames("search_input
",
{focused:this.state.focused}),name:"query",onBlur:this.handle_blur,onChange:this.ha
ndle_change,onClick:this.handle_click,onFocus:this.handle_focus,onKeyDown:this.hand
le_keydown,placeholder:t,type:"text",value:this.get_input_value(),ref:function(t)
{e.search_input=t}})),React.createElement(l.default,{className:"search_button
no_spinner",onClick:this.handle_search_button_click},React.createElement("span",
{className:"icon-ic_search search_icon",role:"presentation","aria-
hidden":"true"}),React.createElement("span",
{className:"visually_hidden"},I18n.t("search.input.show.search"))),this.render_visu
ally_hidden_results_count(),this.render_suggestions())}}],
[{key:"get_search_session_id",value:function(){var e=function(){return"xxxxxxxx-
xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|
0,n="x"===e?t:3&t|8;return n.toString(16)})},t=new
CookieJar({path:"/"}),n=t.get("search_session");return n||
t.put("search_session",e()),n}},{key:"get_pruned_search_html",value:function(e)
{return e.replace(/<\/?em>/g,"")}}]),t}
(Scribd.Shared.BaseComponent);d.propTypes={focused:u.bool.isRequired,keep_suggestio
ns_on_blur:u.bool,query:u.string,redirect_to_app:u.bool.isRequired,search_url:u.str
ing.isRequired,handle_submit:u.func,search_input_header_v2_test:u.string.isRequired
},d.defaultProps={keep_suggestions_on_blur:!
1,query:""},Scribd.addComponent("Search.Input.Show",d)},291:function(){}},[290]),
(Scribd.translations=Scribd.translations||[]).push({en_US:{search:{input:{show:
{search:"Search",did_you_mean:"Did you mean",recent_searches:"RECENT
SEARCHES",props_items_length_result_s_are_available_use_up:"%{props_items_length}
result(s) are available, use up and down arrow keys to
navigate.",no_search_results:"No search results."}}}}});
/* app/views/search/input/_suggestions.jsxjs @ 1526073916 */
webpackJsonp([105],{288:function(e,t,n){"use strict";function r(e,t){if(!(e
instanceof t))throw new TypeError("Cannot call a class as a function")}function
i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super()
hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?
e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super
expression must either be null or a function, not "+typeof
t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!
1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}var a=function(){function e(e,t){for(var
n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!
0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return
function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n(289);var
s=React.PropTypes,c=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__search_input_suggestions"),n}return o(t,e),a(t,
[{key:"handle_click",value:function(e,t){t.preventDefault();var
n=Scribd.Search.Input.Show.get_pruned_search_html(e);this.track_rats("search:drop_d
own_suggest:click",
{page:window.location.pathname,search_session_id:Scribd.Search.Input.Show.get_searc
h_session_id(),source:this.props.source,query:n}),this.props.handle_click(t,n)}},
{key:"raw_html",value:function(e){return{__html:e}}},
{key:"render_suggestion_label",value:function(){return this.props.label_text?
React.createElement("div",
{className:"suggestion_label"},this.props.label_text):void 0}},
{key:"render_link",value:function(e){return this.props.trust?
React.createElement("a",
{href:"#",dangerouslySetInnerHTML:this.raw_html(e)}):React.createElement("a",
{href:"#"},e)}},{key:"render_items",value:function(){var e=this;return
this.props.items.map(function(t,n){var r=classNames("suggestion",
{selected:e.props.selected_index===n}),i=classNames({selected_suggestion:e.props.se
lected_index===n});return React.createElement("li",
{className:r,id:i,key:n.toString(),onClick:e.handle_click.bind(e,t)},e.render_link(
t))})}},{key:"render_content",value:function(){var e=this;return
React.createElement("div",
{className:"suggestions",id:this.props.list_id,ref:function(t)
{e.suggestions=t}},this.render_suggestion_label(),React.createElement("ul",null,thi
s.render_items()))}}]),t}
(Scribd.Shared.BaseComponent);c.propTypes={handle_click:s.func.isRequired,items:s.a
rrayOf(s.string).isRequired,label_text:s.string,list_id:s.string.isRequired,page:s.
string.isRequired,query:s.string.isRequired,selected_index:s.number.isRequired,sour
ce:s.string.isRequired,trust:s.bool.isRequired},Scribd.addComponent("Search.Input.S
uggestions",c)},289:function(){}},[288]);

/* app/views/shared/app_button.coffee @ 1526073662 */
(function(){var e,t;e=Scribd.R.component_builder("Shared.AppButton",
{css_class:"autogen_class_views_shared_app_button"}),t=React.PropTypes,e({propTypes
:
{app_url:t.string,store_url:t.string,track_url:t.string,document_id:t.number,classe
s:t.string,cta:t.string},open_app:function(){var e;return
e=this.track_document_open()||$.when(),e.done(function(e){return function(){return
navigator.userAgent.match(/android/i)?
window.location.href=e.props.app_url:navigator.userAgent.match(/Safari/i)?
window.location.href=e.props.store_url:void 0}}
(this))},track_document_open:function(){var e;return
this.props.document_id&&this.props.track_url?(this.cookie||(this.cookie=new
CookieJar({path:"/",expires:604800})),e=this.cookie.get("open_app"),e&&new Date-
e<3e5?void 0:(this.cookie.put("open_app",+new Date),$.post(this.props.track_url,
{resolution:[screen.height,screen.width],timezone_offset:(new
Date).getTimezoneOffset(),platform:navigator.platform,document_id:this.props.docume
nt_id}))):!1},render:function(){return
this.common_button({className:this.props.classes,onClick:this.open_app},this.props.
cta)}})}).call(this);

/* app/views/shared/availability_notice.jsxjs @ 1526073916 */
webpackJsonp([140],{93:function(e,t,n){"use strict";function r(e){return
e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new
TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return!
t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!
=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a
function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:
{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(0),l=r(c),u=React.PropTypes,d=function(e)
{function t(e){i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_availability_notice"),n}return a(t,e),s(t,
[{key:"render_content",value:function(){return React.createElement("div",
{className:"availability_info "+this.props.flag_class+"
"+this.props.extra_classes},React.createElement("span",{className:"icon
"+this.props.icon}),React.createElement("span",
{className:"availability_text"},this.props.text))}}]),t}
(l.default);d.propTypes={icon:u.string.isRequired,text:u.string.isRequired,flag_cla
ss:u.string,extra_classes:u.string},t.default=d,Scribd.addComponent("Shared.Availab
ilityNotice",d)}},[93]);

/* app/views/shared/buy_doc_manager.coffee @ 1526073662 */
(function(){var e=function(e,t){return function(){return
e.apply(t,arguments)}};Scribd.BuyDocManager=function(){function t(t,n)
{this.setup_app_button=e(this.setup_app_button,this),this.device=t,this.app_url=n}r
eturn t.for_current_doc=function(e,t){var n,r,i;return
null==e&&(e=null),null==t&&(t=null),this.buy_manager?this.buy_manager:
(r=Scribd.current_doc,this.buy_manager=new
Scribd.BuyDocManager(e,t),n=Scribd.nway_test_choice_value("app_promo_restricted_vie
w"),i=function(e){return function(){var r,i,o;return t&&"buy_doc"===n?
e.buy_manager.setup_app_promo_buy_doc():
(i=I18n.t("shared.buy_doc_manager.you_re_reading_a_preview_unlock_full"),r=I18n.t("
shared.buy_doc_manager.download_with_free_trial"),o=I18n.t("shared.buy_doc_manager.
unlock_full_access_with_a_free"),e.buy_manager.setup_buy_buttons(r),e.buy_manager.s
etup_missing_page_title(i,o))}}(this),"loading"!==r.readyState?
i():r.addEventListener("DOMContentLoaded",i),this.buy_manager)},t.prototype.setup_a
pp_promo_buy_doc=function(){return
document.querySelectorAll(".page_missing_explanation_inner").forEach(function(e)
{return function(t){var n,r,i,o;return t.getElementsByTagName("br")
[0].remove(),t.classList.add("app_promo"),o=t.querySelector(".missing_page_number_t
itle"),n=document.createElement("h2"),n.textContent=I18n.t("shared.buy_doc_manager.
view_this_document_for_free"),n.classList.add("buy_doc_title"),i=I18n.t("shared.buy
_doc_manager.download_the_scribd_app_to_read"),r="<div
class='subtitle'>"+i+"</div>",o.insertAdjacentHTML("afterend",r),o.parentNode.repla
ceChild(n,o),e.setup_app_button(t)}}
(this)),this.setup_buy_buttons_callbacks(),document.querySelectorAll(".get_app_btn"
).forEach(function(){return function(e){return e.onclick=function(){return $
(document.body).track_rats("doc:app_promo_buy_doc:click",
{doc_id:Scribd.current_doc.id})}}}(this))},t.prototype.setup_app_button=function(e)
{var t,n,r,i;return
e.querySelector(".missing_page_buy_button").style.display="none",t="android"===this
.device?"icon-ic_android_mark":"icon-
ic_apple_mark",r=e.querySelector(".page_missing_explanation_contents"),n=I18n.t("sh
ared.buy_doc_manager.view_in_the_scribd_app"),i="<a class='get_app_btn'
href="+this.app_url+"><span class='icon "+t+"' aria-
hidden='true'></span>"+n+"</a>",r.insertAdjacentHTML("afterend",i)},t.prototype.set
up_buy_buttons=function(e){return
Scribd.ServerOptions&&Scribd.ServerOptions.payments_store_disabled===!0?$
(".missing_page_buy_button").hide():Scribd.current_doc.show_archive_paywall?$
(".missing_page_buy_link .btn_inner").text(e):$
(".missing_page_buy_button").hide(),this.setup_buy_buttons_callbacks()},t.prototype
.setup_buy_buttons_callbacks=function(){var e;return e=Scribd.current_doc.is_pmp?
this.get_premium_callback("missing_page_signup"):Scribd.current_doc.view_restricted
?this.get_archive_callback("missing_page_signup"):void 0,$
(document).dispatch("click",{missing_page_buy_button:function(){return
function(t,n){var r;return
r=t.closest(".page_missing_explanation").length?"doc:read_full_version_link:click":
t.closest(".page_blur_promo").length?"doc:free_preview_blur_button:click":void
0,r&&$(document.body).track_rats(r,{doc_id:Scribd.current_doc.id}),e(n)}}
(this)})},t.prototype.setup_missing_page_title=function(e){var t;return
Scribd.current_doc.is_pmp||Scribd.current_doc.can_purchase||
Scribd.current_doc.show_archive_paywall?(t=$
(".missing_page_number_title"),t.text(e)):void
0},t.prototype.get_subscription_callback=function(e,t){return function(){return
function(){var n,r,i;return
n={context:Scribd.current_doc.signup_context,page:"read",action:e,platform:"web",lo
gged_in:!!
Scribd.logged_in},n=encodeURIComponent(JSON.stringify(n)),r="doc="+Scribd.current_d
oc.id+"&metadata="+n,i=function(){return $
(document.body).track({category:"payments",action:"newdoc",label:Scribd.current_doc
.signup_context+":missing_page_button:click"}),window.location.href=t+"?"+r},Scribd
.logged_in?Scribd.FacebookSession.attempt_facebook_upgrade(i):
$.ajax({url:"https://www.scribd.com/archive/login?"+r,type:"post",data:Scribd.toolb
ar_params(Scribd.current_doc),dataType:"json"}).done(Scribd.SignIn.open),!1}}
(this)},t.prototype.get_premium_callback=function(e){return
this.get_subscription_callback(e,"/archive/pmp_checkout")},t.prototype.get_archive_
callback=function(e){return this.get_subscription_callback(e,"/archive/plans")},t}
()}).call(this),(Scribd.translations=Scribd.translations||[]).push({en_US:{shared:
{buy_doc_manager:{you_re_reading_a_free_preview:"You're reading a free
preview",you_re_reading_a_preview_unlock_full:"You're reading a preview. Unlock
full access with a free trial.",read_the_full_version:"Read the full
version",free_with_a_30_day_trial:"Free with a 30 day
trial",download_with_free_trial:"Download With Free
Trial",unlock_full_access_with_a_free:"Unlock full access with a free
trial.",view_this_document_for_free:"View this document for
free",download_the_scribd_app_to_read:"Download the Scribd app to read this full
document for free.",view_in_the_scribd_app:"View in the Scribd App"}}}});

/* app/views/shared/carousels/carousel.coffee @ 1526073662 */
(function(){null==Scribd.UI&&(Scribd.UI={}),Scribd.UI.tabbing_user=!
1,Scribd.UI.backwards_tab=!1,Scribd.UI.tabbing_selector="a:visible, input:visible,
button:visible",Scribd.UI.Carousel=function(){function e(e,t){var
n;this.container=e,this.opts=null!=t?t:
{},Scribd.UI.Carousel.carousels.push(this),this.container=$
(this.container).data("carousel",this),this.container.addClass("on_first_page"),thi
s.images_loaded=!
this.container.data("lazy_images"),this.container.hasClass("cache_widget")&&(this.c
ontainer=this.container.find(".carousel_widget")),this.carousel=this.container.find
(".carousel"),this.scrolling=this.carousel.find(".carousel_scrolling"),n=this.check
_items_inview,this.check_items_inview=_.debounce(function(e){return function()
{return n.apply(e)}}
(this),500),this.title_wrap=this.container.find(".title_wrap"),this.title=this.cont
ainer.find(".carousel_title"),this.subtitle=this.container.find(".carousel_subtitle
"),this.title_wrap.removeClass("hidden"),this.subtitle.removeClass("hidden"),this.t
itle_link=this.container.find(".title_link"),this.carousel_skip_link=this.container
.find(this.carousel_skip_selector),this.container.on("scribd:reshape_carousel",func
tion(e){return function(){return e.reshape()}}(this)),$
(window).on("resize",_.debounce(function(){var
e,t,n,r,i;for(r=Scribd.UI.Carousel.carousels,i=[],t=0,n=r.length;n>t;t+
+)e=r[t],i.push(e.reshape());return i},500)),this.opts.tracking_module!==!
1&&(this.tracking_module=new Scribd.RecommendationTracking.Module(this.container,
{compilation_id:this.opts.compilation_id,widget_name:this.opts.widget_name,module_i
d:this.opts.module_id,on_tracking:function(e){return function(t){e.tracking=t}}
(this),on_in_view:function(e){return function(){return e.check_items_inview()}}
(this)})),this.setup_events(),this.setup_scrollbar(),this.setup_flags(),this.show_p
addles(),this.reshape(),this.setup_viewport_scrolling(),this.enable_skip_links()}re
turn
e.prototype.anim_speed=200,e.prototype.easing="ease_in_out_cubic",e.prototype.image
s_loaded=!
1,e.prototype.mobile_size=450,e.prototype.carousel_skip_selector=".carousel_skip_li
nk",e.prototype.setup_viewport_scrolling=function(){var e,t,n,r,i,o,a,s,c,l;if(!
this.images_loaded)return l=$
(window),s=this.container.closest(".carousel_scroll_parent"),n=!1,s.length?
(r=s,c=0,e=_.throttle(function(e){return function(){return
c=e.container.offset().top+s[0].scrollTop-s.offset().top-s.height()}}(this),1e3,
{trailing:!1}),t=function(t){return function(){var n;if(null!==(null!
=(n=t.container[0])?n.offsetParent:void 0))return e(),s[0].scrollTop>c}}(this)):
(r=l,c=null,t=function(e){return function(){var t;if(null!==(null!
=(t=e.container[0])?t.offsetParent:void 0))return c||
(c=e.container.offset().top),l.scrollTop()+l.height()>c?!0:void 0}}
(this)),i=function(e){return function(){return n?e.show_visible_images():void 0}}
(this),a=function(){return function(){return Scribd.support_passive_scroll()?
(window.removeEventListener("scroll",o,{passive:!
0}),r.off("resize",o)):r.off("scroll resize",o)}}(this),o=function(e){return
function(){return t()?(n=!0,e.show_visible_images(),a()):void 0}}
(this),l.on("resize",_.debounce(i,100)),Scribd.support_passive_scroll()?
(r[0].addEventListener("scroll",o,{passive:!0}),r.on("resize",o)):r.on("scroll
resize",o),_.defer(o)},e.prototype.setup_events=function(){return
this.opts.disable_click?void 0:this.container.dispatch("click",
{carousel_prev:function(e){return function(){var t;return
e.on_interact(),e.scroll_items(-e.cells_to_scroll()),null!=(t=e.tracking_module)?
t.track_module_click("ap"):void 0}}(this),carousel_next:function(e){return
function(){var t;return e.on_interact(),e.scroll_items(e.cells_to_scroll()),null!
=(t=e.tracking_module)?t.track_module_click("an"):void 0}}
(this),carousel_skip_link:function(e){return function(){var t;return
t=e.get_next_tabbed_element(e.container),t.size()?
(t.hasClass("carousel_skip_link")&&t.css("display","inline-block"),t.focus(),!
1):void 0}}(this),document_cell:function(e){return function(t,n){return $
(n.target).trigger("scribd:doc_link_clicked"),e.send_android_bridge(t,n),"continue"
}}(this)})},e.prototype.send_android_bridge=function(e,t){var n,r,i;return
n=e.data("object_id"),i=e.find(".under_title").text(),(null!
=(r=Scribd.AndroidJsBridge)?r.present:void 0)?
(t.preventDefault(),Scribd.AndroidJsBridge.send("openDoc",n,i)):void
0},e.prototype.get_next_tabbed_element=function(e){var t,n;return
t=e.nextAll().find(Scribd.UI.tabbing_selector+",
"+this.carousel_skip_selector).first(),t.size()?t:e.parent().size()?
(n=e.parent(),n.is(".lightbox")?$():this.get_next_tabbed_element(n)):$
()},e.prototype.enable_skip_links=_.once(function(){var e;return e=function(e)
{return function(t){var n,r,i,o,a;switch(a=$(t.target),t.type){case"keydown":return
9===t.keyCode&&(Scribd.UI.tabbing_user=!0),Scribd.UI.backwards_tab=t.shiftKey,!
0;case"click":return Scribd.UI.tabbing_user=!1,!0;case"focusin":if(!
Scribd.UI.tabbing_user)return;for(o=Scribd.UI.Carousel.carousels,r=0,i=o.length;i>r
;r++)if(n=o[r],$.contains(n.container.get(0),a.get(0)))
{if(e.get_next_tabbed_element(n.container).size()&&!
n.carousel_skip_link.is(":visible"))
{if(n.container.addClass("has_skip_link"),n.carousel_skip_link.css({display:"inline
-
block"}),a.is(Scribd.Lightbox.last_focused_element))return;Scribd.UI.backwards_tab|
|(n.title_link.size()?n.title_link.focus():n.carousel_skip_link.focus())}}else
n.container.removeClass("has_skip_link"),n.carousel_skip_link.hide()}}}(this),$
(window).on("keydown.carousel_skip_link, click.carousel_skip_link,
focusin.carousel_skip_link",e)}),e.prototype.setup_scrollbar=function(){var
e;return e=_.debounce(function(e){return function(t,n,r){return
e.container.toggleClass("on_first_page",0===t),e.container.toggleClass("on_last_pag
e",t+n===r)}}(this),100),this.update_scrollbar=function(t){return function(){var
n,r,i;return
n=t.scroll_width(),i=t.scrolling.innerWidth(),r=t.scrolling.scrollLeft(),e(r,i,n)}}
(this),this.scrolling.on("scroll",function(e){return function(){return
e.on_interact(),e.update_scrollbar(),e.check_items_inview()}}
(this)),this.update_scrollbar()},e.prototype.scroll_items=function(e){var
t,n,r,i,o;return o=this.cell_width(),0===o||this.scrolling.is(":animated")||
(t=this.scrolling.scrollLeft(),r=Math.floor(t/o+.1)*o+e*o,n=this.scroll_width()-
this.scrolling.innerWidth(),r=Math.max(0,Math.min(r,n)),15>n-
r&&(r=n),15>r&&(r=0),t===r)?void 0:(i=Math.floor(this.anim_speed*Math.abs((t-
r)/o)),this.scrolling.animate({scrollLeft:r},
{duration:i,easing:"smoothstep"}))},e.prototype.cells_to_scroll=function(){var
e,t,n,r,i,o;return
i=Math.min(this.scrolling.width(),window.innerWidth),o=i/this.cell_width(),1.5>=o?
1:(e=Math.ceil(o),n=Math.abs(o-e),r=Math.abs(o-e+.5),t=r>n,t?e:e-
1)},e.prototype.cell_width=function(){return
this.carousel.find(".object_cell:first").outerWidth(!
0)},e.prototype.scroll_width=function(){var e;return(null!=(e=this.scrolling[0])?
e.scrollWidth:void 0)||0},e.prototype.reshape=function(){var e,t;return
e=this.scroll_width(),t=this.scrolling.innerWidth(),this.container.toggleClass("has
_no_scrolling",10>e-t),"function"==typeof this.update_scrollbar?
this.update_scrollbar():void 0},e.prototype.show_visible_images=function(){var
e,t,n,r,i,o;if(!this.images_loaded)
{for(n=this.scrolling.innerWidth(),r=this.carousel.find("img[data-
src]"),i=[],e=0,t=r.length;t>e&&(o=r[e],o.offsetParent)&&$
(o.offsetParent).position().left<n;e++)i.push(this.show_image($(o)));return
i}},e.prototype.show_all_images=function(){var e,t,n,r,i;if(!this.images_loaded)
{for(this.images_loaded=!0,n=this.carousel.find("img[data-
src]"),r=[],e=0,t=n.length;t>e;e++)i=n[e],r.push(this.show_image($(i)));return
r}},e.prototype.setup_flags=function(){return
Scribd.DocumentCell.add_flags(this.container)},e.prototype.flush_images=function()
{var e;return e=function(e){return function(){var t;if(null!=(t=e._load_queue)?
t.length:void 0)return $(e._load_queue).addClass("loaded"),e._load_queue=[]}}
(this),this.flush_images=_.debounce(e,10),this.flush_images()},e.prototype.show_ima
ge=function(e){var t,n,r;return e=$(e),t=e.data(),n=t.src,r=t.srcset,n?
(e.attr("src",""),e.on("load",function(t){return function(){return t._load_queue||
(t._load_queue=[]),t._load_queue.push(e[0]),t.flush_images()}}
(this)),e.attr("src",n),e.attr("srcset",r),e.removeData("src"),e.removeData("srcset
")):void 0},e.prototype.show_paddles=function(e){return null==e&&(e=!
0),this.container.toggleClass("paddles_visible",!!
e)},e.prototype.on_interact=function(){return this.on_interact=function()
{},this.show_all_images(),$
(document.body).track({category:this.opts.page||"carousel",action:"click",label:"ca
rousel:first_carousel_click"})},e.prototype.check_items_inview=function(){var
e,t,n,r,i,o,a,s,c,l,u,d;if(null!=this.tracking)
{for(u=50,s=this.scrolling.innerWidth(),l=this.container.find(".object_cell[data-
track_uuid]"),n=t=0,o=l.length;o>t;n=++t)e=l[n],e=$
(e),e.is(".visibility_tracked")||
(i=e.position().left,a=parseInt(e.css("marginLeft")),i+=a,d=e.width(),r=i+u>=0&&s>=
i+d-u,r&&(c=e.closest("[data-
track_uuid]").data("track_uuid"),Scribd.RecommendationTracking.track_obj_view(this.
tracking.view_id,c),e.addClass("visibility_tracked")));return null}},e}
(),Scribd.UI.Carousel.carousels=[]}).call(this);

/* app/views/shared/carousels/collection_carousel.en.yml @ 1526073662 */
(Scribd.translations=Scribd.translations||[]).push({en_US:{shared:{carousels:
{collection_carousel:{title:"title",titles:"titles"}}}}});

/* app/views/shared/carousels/document_cells.en.yml @ 1526073662 */
(Scribd.translations=Scribd.translations||[]).push({en_US:{shared:{carousels:
{document_cells:{progress_to_f_round_of_short_title_completed:"%
{progress_to_f_round}% of %{short_title}
completed",series_document_short_title:"Series: %
{document_short_title}",format_number_document_views_views:"%
{format_number_document_views} Views",scribd_selects:"Scribd Selects"}}}}});

/* app/views/shared/confirm_lightbox.coffee @ 1526073662 */
(function(){var e=function(e,t){return function(){return
e.apply(t,arguments)}},t=function(e,t){function r(){this.constructor=e}for(var i in
t)n.call(t,i)&&(e[i]=t[i]);return r.prototype=t.prototype,e.prototype=new
r,e.__super__=t.prototype,e},n={}.hasOwnProperty;Scribd.ConfirmLightbox=function(n)
{function r()
{this.set_choose_callback=e(this.set_choose_callback,this),this.set_confirm_callbac
k=e(this.set_confirm_callback,this),this.set_template=e(this.set_template,this),thi
s.close=e(this.close,this),r.__super__.constructor.apply(this,arguments),this.templ
ates=this.container.find(".confirmation_lightbox_templates"),this.container.on("cli
ck",".ok_btn",function(e){return function(t){return
e.container.trigger("scribd:confirmation:ok",t.target),"function"==typeof
e.confirm_callback&&e.confirm_callback(),"function"==typeof
e.choose_callback&&e.choose_callback("confirm"),e.close()}}
(this)),this.container.on("click",".cancel_btn",function(e){return function(t)
{return
e.container.trigger("scribd:confirmation:cancel",t.target),"function"==typeof
e.choose_callback&&e.choose_callback("cancel"),e.close()}}(this))}return
t(r,n),r.prototype.close=function(){return"function"==typeof
this.choose_callback&&this.choose_callback("close"),r.__super__.close.apply(this,ar
guments)},r.prototype.set_template=function(e,t){var
n,r;if(t=_.extend({simple_style:!1},t),n=this.templates.data(e),!n)throw new
Error("Template "+e+" not found!");return
t.title&&(this.container.find(".title").text(t.title),this.container.attr("aria-
label",t.title)),this.container.toggleClass("simple_style
vertically_centered",t.simple_style),r=_.template(n,t),this.container.find(".render
ed_template_container").html(r),this.set_position()},r.prototype.set_confirm_callba
ck=function(e){return
this.confirm_callback=e,this},r.prototype.set_choose_callback=function(e){return
this.choose_callback=e,this},r}(Scribd.StackedLightbox)}).call(this),
(Scribd.translations=Scribd.translations||[]).push({en_US:{shared:
{confirm_lightbox:{are_you_sure:"Are you
sure?",this_action_might_not_be_possible:"This action might not be possible to
undo. Are you sure you want to
continue?",cancel:"CANCEL",ok:"OK",also_remove_everything_in_this_list:"Also remove
everything in this list from your library.",delete_list:"delete
list",are_you_sure_you_want_to_delete:"Are you sure you want to delete this
list?",everything_you_selected_will_also_be_removed:"Everything you selected will
also be removed from your lists.",remove_from_saved:"remove from
Saved",this_book_will_also_be_removed_from:"This book will also be removed from all
your lists.",ok_:"ok",remove_them_from_saved:"Remove them from Saved? (They\u2019ll
also be removed from your other
lists.)",remove:"remove",no:"No",yes:"Yes","delete":"Delete",we_ve_curated_titles_w
e_think_you_ll:"We've curated titles we think you'll love.",explore_now:"Explore
now",cancel_:"cancel",loading:"Loading"}}}});

/* app/views/shared/grids/object_grid.coffee @ 1526073662 */
(function(){var e;Scribd.UI||(Scribd.UI={}),e=function(){var t,n,r,i;return t=$
("<style type='text/css'> #_nth_child_test { margin: 0px; } #_nth_child_test:nth-
child(1) { margin: 1px; } </style>").appendTo("body"),i=$("<div><div
id='_nth_child_test'></div></div>").appendTo(document.body),n=i.children().css("mar
ginLeft"),r="1px"===n,e=function(){return
r},i.remove(),r},Scribd.UI.ObjectGrid=function(){function t(e,t){var
n,r,i,o;for(this.opts=null!=t?t:{},this.container=$
(e),this.container.data("object",this),$(window).on("resize",_.debounce(function(e)
{return function(){return e.fit_to_width()}}
(this),10)),this.container.on("scribd:reshape",function(e){return function(){return
e.fit_to_width()}}(this)),this.fit_to_width(),this.after_new_items_added(),
$.isReady?this.load_lazy_images():$(window).one("load",function(e){return
function(){return e.load_lazy_images()}}
(this)),r=this.container.find(".document_grid").addBack(".document_grid"),i=0,o=r.l
ength;o>i;i++)n=r[i],this.setup_tracking($(n))}return
t.prototype.margin=45,t.prototype.cell_width=149,t.prototype.min_spacing=80,t.proto
type.min_min_spacing=40,t.prototype.min_width=1e3,t.prototype.max_width=1200,t.prot
otype.css_prefix=function(){var e,t,n;return n=(t=this.container.attr("id"))?"#"+t:
(e=this.container.attr("class"))?"."+e.split(/\s+/).join(", ."):".object_grid",this
.css_prefix=function(){return n},n},t.prototype.fit_to_width=function(){var
t,n,r,i;if(!(this.opts.disable_fit_to_width||(this._head||(this._head=$
("head")),i=this.get_width(),t=this.get_n(i),i-=2*this.margin,r=Math.floor((i-
this.cell_width*t)/(t-1)),0>i||((r+this.cell_width)*t>i&&!e()&&(r=Math.floor(i/t-
this.cell_width)),this._current_spacing=r,this._css&&this._css.remove(),this.contai
ner.toggleClass("single_column",1===t),1===t))))return
n=this.css_prefix(),this._css=$("<style type='text/css'> "+n+" .object_cell
{ margin-right: "+r+"px; } "+n+" .object_cell:nth-child("+t+"n) { margin-right:
0; } </style>").appendTo(this._head),[t,r]},t.prototype.get_width=function(){return
this.container.outerWidth()},t.prototype.get_n=function(e){var t;return t=(e-
this.min_width)/(this.max_width-this.min_width)*(this.min_spacing-
this.min_min_spacing)
+this.min_min_spacing,t=Math.floor(Math.max(this.min_min_spacing,Math.min(this.min_
spacing,t))),e-=2*this.margin,Math.floor((e+t)/
(this.cell_width+t))},t.prototype.after_new_items_added=function(e){return
null==e&&(e=this.container.find(".document_cell.has_flag")),Scribd.DocumentCell.add
_flags(e),$.isReady?this.load_lazy_images():void
0},t.prototype.load_lazy_images=function(){return this.container.find("img[data-
src]").one("in_view",function(e,t){var n;if(t)return n=$(this),$("<img
/>").attr("src",this.src()).attr("srcset",this.src(!0)).on("load",function(){return
function(){return n.attr("src",n.data("src"))}}
(this))})},t.prototype.setup_tracking=function(e){var
t,n;if(Scribd.RecommendationTracking&&(t=e.data("compilation_id"),n=e.data("widget_
name"),t))return new Scribd.RecommendationTracking.Module(this.container,
{compilation_id:t,widget_name:n,on_in_view:function(t){return function(n){return
t.track_visible(e,n)}}(this)})},t.prototype.track_visible=function(e,t){var
n,r,i,o,a;for(a=e.find(".document_cell"),r=function(e){return
e.one("inview",function(){return function(){var n;if(e.is(":visible"))return
n=e.data("track_uuid"),Scribd.RecommendationTracking.track_obj_view(t.view_id,n),e.
addClass("visibility_tracked")}}(this))},i=0,o=a.length;o>i;i++)n=a[i],r($
(n));return Scribd.RecommendationTracking.trigger_inview_check()},t}
()}).call(this);

/* app/views/shared/react/persona_icon.jsxjs @ 1526073916 */
webpackJsonp([77],{47:function(e,t,n){"use strict";function r(e){return
e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new
TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return!
t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!
=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a
function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:
{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(0),l=r(c);n(48);var
u=React,d=u.PropTypes,_=function(e){function t(e){i(this,t);var n=o(this,
(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_persona_icon"),n}return a(t,e),s(t,
[{key:"component_classes",value:function(){return
classNames("persona_icon",this.props.size,this.props.extra_css_classes,{"icon-
ic_user_circle":!this.props.author&&!this.props.image_url})}},
{key:"enclosing_element_args",value:function(){return{"aria-hidden":!0}}},
{key:"render_initials",value:function(){return!
this.props.image_url&&this.props.author?React.createElement("span",
{key:"initials","aria-hidden":"true"},this.props.initials):void 0}},
{key:"render_image",value:function(){return this.props.image_url?
React.createElement("img",
{key:"image",src:this.props.image_url,srcSet:this.props.retina_image_url+"
2x",alt:""}):void 0}},{key:"render_content",value:function()
{return[this.render_image(),this.render_initials()]}}]),t}
(l.default);_.propTypes={author:d.bool.isRequired,extra_css_classes:d.string,image_
url:d.string,retina_image_url:d.string,initials:d.string,size:d.string.isRequired},
t.default=_,Scribd.addComponent("Shared.React.PersonaIcon",_)},48:function(){}},
[47]);

/* app/views/shared/popover.coffee @ 1526073662 */
(function(){var e,t,n=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t+
+)if(t in this&&this[t]===e)return t;return-
1};t=["hover","click"],e=["top","left","right","bottom"],Scribd.Popover=function()
{function r(r,i){var
o,a,s,c;this.opts=i,null==this.opts&&(this.opts={}),s=this.opts.event,n.call(t,s)>=
0&&(c=this.opts.direction,n.call(e,c)>=0&&(null==(o=this.opts).delay&&(o.delay=200)
,null==(a=this.opts).offset&&(a.offset={top:0,left:0}),this.opened=!
1,this.container=$(r),this.trigger=$
(r).find(".popover_trigger").first(),this.content=$
(r).find(".popover_content").first(),this.content.trap_focus_in_children(),this.con
tainer.data("popover",this),this["setup_"+this.opts.event].call(this),this.setup_es
cape_key(),this.setup_keydown()))}return r.prototype.open=function(){var e,t;return
this.content.show(),e=function(e){return function(){return e.content.focus()}}
(this),setTimeout(e),this.trigger.focusable_children().first().attr("aria-
expanded","true"),t=this.calculate_offset(this.opts.direction),this.apply_offset(th
is.content,t),this.opened=!0},r.prototype.close=function(){return
this.content.hide(),this.trigger.focusable_children().first().attr("aria-
expanded","false"),this.opened=!1},r.prototype.setup_escape_key=function(){return $
(document).on("keyup",function(e){return function(t){return
27===t.keyCode&&e.opened?
(e.close(),e.trigger.focusable_children().first().focus()):void 0}}
(this))},r.prototype.setup_keydown=function(){return
this.content.focusable_children().last().on("keydown",function(e){return
function(t){return 9===t.keyCode&&!t.shiftKey&&e.opened?e.close():void 0}}
(this))},r.prototype.setup_hover=function(){var e,t,n,r;return r=null,n=!
1,e=function(){return r=clearTimeout(r),n?void 0:n=!0},t=function(e){return
function(){return n=!1,null!=r?r:r=setTimeout(_.bind(e.close,e),e.opts.delay)}}
(this),this.trigger.mouseenter(function(t){return function(){return e()&&t.open()}}
(this)),this.content.mouseenter(e),this.trigger.mouseleave(t),this.content.mouselea
ve(t)},r.prototype.setup_click=function(){var e;return e=function(e){return
function(t){return $(t.target).closest(".popover_content").length>0?void 0:($
(document).off("click.popover"),e.close(),e.trigger.focusable_children().first().fo
cus())}}(this),this.trigger.click(function(t){return function(n){return
n.preventDefault(),n.stopPropagation(),t.opened?e(n):(t.open(),$
(document).on("click.popover",e))}}
(this))},r.prototype.calculate_offset=function(e){var t,n;return
null==this.trigger_position&&(this.trigger_position=this.get_position(this.trigger)
),n=this.content.outerWidth(),t=this.content.outerHeight(),this["calculate_"+e+"_of
fset"](n,t)},r.prototype.calculate_top_offset=function(e,t)
{return{top:this.trigger_position.top-
t,left:this.trigger_position.left+this.trigger_position.width/2-
e/2}},r.prototype.calculate_bottom_offset=function(e)
{return{top:this.trigger_position.top+this.trigger_position.height,left:this.trigge
r_position.left+this.trigger_position.width/2-
e/2}},r.prototype.calculate_left_offset=function(e,t)
{return{top:this.trigger_position.top+this.trigger_position.height/2-
t/2,left:this.trigger_position.left-
e}},r.prototype.calculate_right_offset=function(e,t)
{return{top:this.trigger_position.top+this.trigger_position.height/2-
t/2,left:this.trigger_position.left+this.trigger_position.width}},r.prototype.get_p
osition=function(e){var t;return
t=e.position(),t.width=e.outerWidth(),t.height=e.outerHeight(),t.margin={},t.margin
.top=parseInt(e.css("margin-
top"),10),_.isNaN(t.margin.top)&&(t.margin.top=0),t.margin.left=parseInt(e.css("mar
gin-
left"),10),_.isNaN(t.margin.left)&&(t.margin.left=0),t},r.prototype.apply_offset=fu
nction(e,t){return
t.top+=this.trigger_position.margin.top,t.left+=this.trigger_position.margin.left,t
.top+=this.opts.offset.top,t.left+=this.opts.offset.left,e.css("top",t.top+"px"),e.
css("left",t.left+"px")},r}()}).call(this);

/* app/views/shared/react/button_menu.jsxjs @ 1526073916 */
webpackJsonp([90],{10:function(){},9:function(e,t,n){"use strict";function r(e)
{return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw
new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return!
t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!
=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a
function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:
{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}();n(10);var
c=n(0),l=r(c),u=n(1),d=r(u),_=React.PropTypes,p=function(e){function t(e)
{i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_button_menu"),n.state={menu_open:n.props.is_o
pen||!1,position:""},n}return a(t,e),s(t,[{key:"component_classes",value:function()
{return"button_menu_container"}},{key:"componentDidMount",value:function()
{t.instances.push(this),$(document.body).on("click",this.handle_body_click)}},
{key:"componentWillUnmount",value:function(){var e=t.instances;$
(document.body).off("click",this.handle_body_click),e.splice(e.indexOf(this),1)}},
{key:"componentDidUpdate",value:function(e,t){var n=this.get_position();t.position!
==n&&this.setState({position:n}),Scribd.using_keyboard&&(this.state.menu_open&&!
t.menu_open?$(this.get_buttons()[0]).focus():!
this.state.menu_open&&t.menu_open&&(this.container().find("[aria-
haspopup]").focus(),"function"==typeof
this.props.hide_tooltip&&this.props.hide_tooltip()))}},
{key:"get_buttons",value:function(){return $
(this.container).focusable_children().not(".menu_handle")}},
{key:"handle_body_click",value:function(e){return $
(e.target).closest(".button_menu_container").length?void 0:t.close_all()}},
{key:"handle_key_down",value:function(e){if(this.state.menu_open){var
t=this.get_buttons(),n=t[0],r=t[t.length-
1],i=27,o=38,a=40,s=9,c=t.index(document.activeElement);switch(e.keyCode){case
i:return this.hide_menu();case a:e.preventDefault(),r.is(document.activeElement)?
n.focus():t[c+1].focus();break;case
o:e.preventDefault(),n.is(document.activeElement)?r.focus():t[c-
1].focus();break;case s:e.shiftKey&&n.is(document.activeElement)?
(e.preventDefault(),this.hide_menu()):r.is(document.activeElement)&&this.hide_menu(
)}}}},{key:"handle_close_btn",value:function(e)
{e.preventDefault(),this.hide_menu()}},
{key:"handle_container_click",value:function()
{this.props.autoclose&&this.toggle_visible()}},{key:"get_position",value:function()
{if(this.state.menu_open){if(null!=this.props.force_position)return
this.props.force_position;var e=this.container.querySelectorAll(".button_menu")
[0],t=e.getBoundingClientRect(),n=window.innerWeight-
t.right>e.offsetWidth?"right":"left",r=window.innerHeight-
t.bottom>e.offsetHeight?"bottom":"top";return n+" "+r}}},
{key:"toggle_visible",value:function(e){this.state.menu_open?
this.hide_menu(e):this.show_menu(e)}},{key:"show_menu",value:function(e){return
t.close_all(this),this.state.menu_open?void 0:("function"==typeof
this.props.on_show&&this.props.on_show(),this.setState({menu_open:!0},function()
{"function"==typeof e&&e()}))}},{key:"hide_menu",value:function(e){return
this.state.menu_open?("function"==typeof
this.props.on_hide&&this.props.on_hide(),this.setState({menu_open:!
1,current_focus:0},function(){"function"==typeof e&&e()})):void 0}},
{key:"render_button",value:function(){var
e=this,t=Object.assign({},this.props.button),n=t.props.onClick;return
t.props=Object.assign({aria_props:{expanded:this.state.menu_open,haspopup:!
0},data_props:{button:!
0}},t.props),t.props.className=classNames(t.props.className,"menu_handle"),t.props.
onClick=function(t)
{t.preventDefault(),t.stopPropagation(),e.toggle_visible(function()
{Scribd.using_keyboard&&e.container.querySelectorAll(".button_menu")
[0].focus()}),n&&n(t,e.state.menu_open)},t}},{key:"render_arrow",value:function()
{return this.props.has_arrow?React.createElement("div",
{className:"button_menu_arrow","aria-hidden":!0}):void 0}},
{key:"render_menu",value:function(){if(this.state.menu_open){var
e=this.props.no_fullscreen;return React.createElement("div",
{onKeyDown:this.handle_key_down,className:classNames("button_menu",this.state.posit
ion,this.props.extra_classes,
{no_fullscreen:e})},this.render_arrow(),React.createElement(d.default,
{href:"#",className:"close_btn text_btn
icon_btn",onClick:this.handle_close_btn},React.createElement("span",
{className:"icon-ic_close","aria-hidden":!0},React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.button_menu.close_menu")))),this
.props.menu)}}},{key:"render_content",value:function(){return
React.createElement("div",
{onClick:this.handle_container_click},this.render_button(),this.render_menu())}}],
[{key:"close_all",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?
arguments[0]:null,n=!0,r=!1,i=void 0;try{for(var o,a=t.instances[Symbol.iterator]
();!(n=(o=a.next()).done);n=!0){var s=o.value;s!==e&&s.hide_menu()}}catch(c){r=!
0,i=c}finally{try{!n&&a.return&&a.return()}finally{if(r)throw i}}}}]),t}
(l.default);p.propTypes={button:_.element.isRequired,menu:_.element.isRequired,arro
w:_.bool,force_position:_.string,is_open:_.bool,on_show:_.func,on_hide:_.func,autoc
lose:_.bool,no_fullscreen:_.bool,extra_classes:_.string},p.defaultProps={autoclose:
!0,no_fullscreen:!1,has_arrow:!
0},p.instances=[],t.default=p,Scribd.addComponent("Shared.React.ButtonMenu",p)}},
[9]),(Scribd.translations=Scribd.translations||[]).push({en_US:{shared:{react:
{button_menu:{close_menu:"Close menu"}}}}});

/* app/views/shared/react/card_library_button.coffee @ 1526073662 */
(function(){var
e,t,n,r,i,o;i=React.DOM,e=i.a,r=i.label,n=i.div,t=Scribd.R.component_builder("Share
d.React.CardLibraryButton",
{css_class:"autogen_class_views_shared_react_card_library_button",track_category:"c
ard_library_button"}),o=React.PropTypes,t({propTypes:
{document_id:o.number,has_bookmark:o.number},getInitialState:function()
{return{has_bookmark:this.props.has_bookmark}},widget_css_classes:function(e){var
t,n;return t=classNames(e,"card_library_button",null!=(n=this.props.has_bookmark)?
n:{in_library:""})},enclosing_element_type:function(){return function(){return e}}
(this),enclosing_element_args:function(e){return
e.href="javascript:void(0)",e["aria-
label"]=I18n.t(this.props.has_bookmark?"shared.react.card_library_button.remove_fro
m_saved":"shared.react.card_library_button.save_for_later"),e},componentDidUpdate:f
unction(){return this.state.has_bookmark?
this.container().addClass("in_library"):this.container().removeClass("in_library")}
,componentDidMount:function(){return
this.container().show(),this.container().on("focus",function(e){return function()
{return
e.container().closest(".card_library_button_container").addClass("child_has_focus")
}}(this)),this.container().on("blur",function(e){return function(){return
e.container().closest(".card_library_button_container").removeClass("child_has_focu
s")}}(this)),this.container().on("click",function(e){return function(){return
Scribd.with_login({initial_view:"join",join_type:"pmp",join_header_text:I18n.t("sha
red.react.library_button.become_a_member_to_save_this"),track_location:"article_add
_to_library"},function(){return e.state.has_bookmark?(e.setState({has_bookmark:!
1,bookmark_change:!0}),Scribd.library["delete"](e.props.document_id)):
(e.setState({has_bookmark:!0,bookmark_change:!
0}),Scribd.Shared.LibraryAPI.add(e.props.document_id)),_.delay(function(){return
e.setState({bookmark_change:!1})},2e3)})}}(this)),$
(document).on("scribd:added_bookmark",function(e){return function(t,n){return
n.document_id===e.props.document_id?_.delay(function(){return
e.setState({has_bookmark:!0})},5e3):void 0}}(this)),$
(document).on("scribd:removed_bookmark",function(e){return function(t,n){return
n.document_id===e.props.document_id?_.delay(function(){return
e.setState({has_bookmark:!1})},5e3):void 0}}(this))},render:function(){var
e,t,r,i;return this.state.bookmark_change?(i=$(window).width()-
this.container().offset().left<200,e=this.container().closest(".carousel"),r=e.leng
th?e.offset().left+e.width()-this.container().offset().left<200:!1,t=i||
r?"left":"",n({className:"tooltip "+t,children:
[I18n.t(this.state.has_bookmark?"shared.react.card_library_button.saved_for_later":
"shared.react.card_library_button.removed_from_saved")]})):void 0}})}).call(this),
(Scribd.translations=Scribd.translations||[]).push({en_US:{shared:{react:
{card_library_button:{remove_from_saved:"Remove from Saved",save_for_later:"Save
for Later",saved_for_later:"Saved for Later",removed_from_saved:"Item Removed from
Saved"}}}}});

/* app/views/shared/react/download_button.jsxjs @ 1526073916 */
webpackJsonp([87],{322:function(e,t,n){"use strict";function r(e){return
e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new
TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return!
t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!
=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a
function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:
{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(0),l=r(c),u=n(1),d=r(u);n(323);var
_=React.PropTypes,p=function(e){function t(e){i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_download_button"),n.state={downloadable:!
0},n}return a(t,e),s(t,[{key:"component_classes",value:function()
{return"download_button_container"}},{key:"handle_click",value:function(e){var
t=this;this.props.on_click(e,this.props.document_id),Scribd.Lightbox.show_loading()
,Scribd.download_actions.download(this.props.document_id,"search","results",functio
n(e){e.downloadable?
Scribd.download_actions.download_dialog_lightbox(e,t.props.show_after_download_sugg
estions):
(Scribd.Lightbox.close(),Scribd.Flasher.toast("error",I18n.t("shared.react.download
_button.this_document_is_not_available_for")),t.setState({downloadable:!1}))})}},
{key:"render_content",value:function(){return this.state.downloadable?
React.createElement(d.default,{type:"button","data-tooltip":Scribd.is_mobile?
null:I18n.t("shared.react.download_button.download"),className:"download_button
text_btn",onClick:this.handle_click},React.createElement("span",{className:"icon
icon-ic_download_with_line","aria-hidden":"true"}),React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.download_button.download_this_ti
tle"))):void 0}}]),t}
(l.default);p.propTypes={document_id:_.number.isRequired,rat_event:_.string,rat_dat
a:_.object,show_after_download_suggestions:_.bool.isRequired},t.default=p,Scribd.ad
dComponent("Shared.React.DownloadButton",p)},323:function(){}},[322]),
(Scribd.translations=Scribd.translations||[]).push({en_US:{shared:{react:
{download_button:{this_document_is_not_available_for:"This document is not
available for download",download:"Download",download_this_title:"Download this
title"}}}}});
/* app/views/shared/react/document_image.coffee @ 1526073662 */
(function(){var
e,t,n,r,i;r=React.DOM,t=r.img,n=r.label,e=Scribd.R.component_builder("Shared.React.
DocumentImage",
{css_class:"autogen_class_views_shared_react_document_image"}),null==e&&(e=Scribd.R
.component_builder("Shared.React.DocumentImage")),i=React.PropTypes,e({propTypes:
{alt_text:i.string.isRequired,aria_label_text:i.string,image_url:i.string.isRequire
d,lazy_load:i.bool.isRequired,retina_image_url:i.string,role:i.string,use_in_carous
el:i.bool},getInitialState:function(){return{loaded:!
1}},componentDidMount:function(){return this.props.lazy_load&&!
this.props.use_in_carousel?this.container().one("inview",function(e){return
function(t,n){return n?$("<img
/>").attr("src",e.props.image_url).attr("srcset",e.retina_image_url()).on("load",fu
nction(){return e.setState({loaded:!0})}):void 0}}(this)):void
0},widget_css_classes:function(e){return e+"
react_document_image"},render:function(){return t(!
this.state.loaded&&this.props.lazy_load||this.props.use_in_carousel?{"data-
src":this.props.image_url,"data-
srcset":this.retina_image_url(),alt:this.props.alt_text,role:this.props.role,"aria-
label":this.props.aria_label_text}:
{className:"loaded",alt:this.props.alt_text,"aria-
label":this.props.aria_label_text,role:this.props.role,src:this.props.image_url,src
Set:this.retina_image_url()})},retina_image_url:function(){return
this.props.retina_image_url?this.props.retina_image_url+" 2x":""}})}).call(this);

/* app/views/shared/react/forms/checkbox.jsxjs @ 1526073916 */
webpackJsonp([85],{29:function(e,t,n){"use strict";function r(e){return
e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new
TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return!
t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!
=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a
function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:
{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}();n(33);var
c=n(0),l=r(c),u=React.PropTypes,d=function(e){function t(e){i(this,t);var n=o(this,
(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_forms_checkbox"),n.state={focused:!
1},n}return a(t,e),s(t,[{key:"on_focus",value:function(){this.setState({focused:!
0})}},{key:"on_blur",value:function(){this.setState({focused:!1})}},
{key:"component_classes",value:function(){return
classNames(this.props.class,"checkbox_component")}},
{key:"handle_key_press",value:function(e){13===e.which&&this.props.on_change(!
this.props.selected)}},{key:"handle_change",value:function(e)
{this.props.on_change(e)}},{key:"render_description",value:function(){return
this.props.description&&React.createElement("span",
{className:"description",id:this.uid("description")},this.props.description)}},
{key:"render_content",value:function(){var
e=this.props,t=e.label_text,n=e.description,r=e.value,i=e.disabled,o=e.selected,a=o
?"icon-ic_small_checkbox_fill":"icon-ic_small_checkbox_outline";return
React.createElement("label",{className:classNames("checkbox_label "+a,
{checked:o,focused:this.state.focused,with_description:n}),htmlFor:this.uid(r)},Rea
ct.createElement("input",{id:this.props.id||
this.uid(r),name:this.props.name,onChange:this.handle_change,onFocus:this.on_focus,
onBlur:this.on_blur,type:"checkbox",value:r,checked:o,disabled:i,className:"checkbo
x_input visually_hidden checkbox","aria-describedby":n?
this.uid("description"):null,onKeyPress:this.handle_key_press}),React.createElement
("span",{className:"input_text"},t),this.render_description())}}]),t}
(l.default);d.propTypes={on_change:u.func.isRequired,name:u.string,label_text:u.str
ing.isRequired,description:u.string,value:u.string,disabled:u.bool,selected:u.bool,
"class":u.string.isRequired,id:u.string},d.defaultProps={options:
[],legend:"",description:"","class":"",label_text:""},t.default=d,Scribd.addCompone
nt("Shared.React.Forms.Checkbox",d)},33:function(){}},[29]);

/* app/views/shared/react/forms/radio.jsxjs @ 1526073916 */
webpackJsonp([83],{31:function(e,t,n){"use strict";function r(e){return
e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new
TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return!
t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!
=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a
function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:
{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}();n(32);var
c=n(0),l=r(c),u=React.PropTypes,d=function(e){function t(e){i(this,t);var n=o(this,
(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_forms_radio"),n.state={focused:!1},n}return
a(t,e),s(t,[{key:"handle_focus",value:function(){this.setState({focused:!0})}},
{key:"handle_blur",value:function(){this.setState({focused:!1})}},
{key:"component_classes",value:function(){return
classNames(this.props.class,"radio_component",{focused:this.state.focused},
{with_description:this.props.description})}},{key:"render_content",value:function()
{var
e=this.props,t=e.onChange,n=e.label_text,r=e.description,i=e.value,o=e.disabled,a=e
.selected,s=e.key,c=(e.children,a?"icon-ic_radiobutton_filled":"icon-
ic_radiobutton_empty"),l=r?React.createElement("span",
{className:"description",id:this.uid("description")},r):null;return
React.createElement("label",{key:s,className:classNames("radio_label "+c,
{checked:a},{focused:this.state.focused},
{with_description:r}),htmlFor:this.props.id||
this.uid(i)},React.createElement("input",{id:this.props.id||
this.uid(i),onChange:t,onFocus:this.handle_focus,onBlur:this.handle_blur,type:"radi
o",value:i,checked:a,disabled:o,name:this.props.name,className:"radio_input
visually_hidden radio","aria-describedby":r?this.uid("description"):null}),n?
React.createElement("span",
{className:classNames("input_text",this.props.label_text_class)},n):null,l,this.pro
ps.children)}}]),t}
(l.default);d.propTypes={onChange:u.func.isRequired,label_text:u.string,label_text_
class:u.string,description:u.string,value:u.string,disabled:u.bool,selected:u.bool,
"class":u.string.isRequired,key:u.string,name:u.string,id:u.string,children:u.oneOf
Type([u.element,u.arrayOf(u.element)])},d.defaultProps={options:
[],description:"","class":"",label_text:""},t.default=d,Scribd.addComponent("Shared
.React.Forms.Radio",d)},32:function(){}},[31]);

/* app/views/shared/react/forms/textarea.jsxjs @ 1526073916 */
webpackJsonp([80],{39:function(e,t,n){"use strict";function r(e){return
e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new
TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return!
t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!
=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a
function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:
{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}();n(44);var
c=n(0),l=r(c),u=React.PropTypes,d=function(e){function t(e){i(this,t);var n=o(this,
(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_forms_textarea"),n}return a(t,e),s(t,
[{key:"component_classes",value:function(){return"textarea_component"}},
{key:"handle_change",value:function(e){var t=this.props.maxLength?
e.target.value.slice(0,this.props.maxLength):e.target.value;this.props.onChange(t)}
},{key:"render_bottom_help",value:function(){return React.createElement("div",
{className:"help_bottom"},this.props.show_count?
React.createElement("span",null,this.props.value.length+"/"+this.props.maxLength):n
ull,this.props.help_text_bottom?
React.createElement("span",null,this.props.help_text_bottom):null)}},
{key:"render_content",value:function(){var e=this,t=[],n=_.where(this.props.errors,
{input:this.props.name}),r=n.length;return r&&(t=n.map(function(e,t){return
React.createElement("span",
{key:t,className:"error_msg"},React.createElement("span",{className:"icon-
ic_warn","aria-hidden":"true"}),React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.forms.text_input.error")+"
"),React.createElement("span",null,e.message))})),React.createElement("div",
{className:classNames(this.props.wrapper_class_name,
{has_error:r},"textarea_label")},React.createElement("label",
{htmlFor:this.props.id||this.uid("textarea")},React.createElement("span",
{className:"label_text"},this.props.label+" "),this.props.required?
React.createElement("em",
{className:this.props.hide_required?"visually_hidden":null},I18n.t("shared.react.fo
rms.text_input.required")):null,this.props.show_optional?
React.createElement("span",{className:"optional_text"},"(optional)"):null,r?
React.createElement("strong",
{className:"visually_hidden"},I18n.t("shared.react.forms.text_area.invalid")):null,
this.props.help_text?React.createElement("span",
{className:"help"},this.props.help_text):null,React.createElement("textarea",
{ref:function(t){return e.textarea_ref=t},id:this.props.id||
this.uid("textarea"),name:this.props.name,type:this.props.type,onKeyDown:this.props
.handle_keydown,className:classNames(this.props.className||{},{field_err:r},
{disabled:this.props.disabled}),placeholder:this.props.placeholder,disabled:this.pr
ops.disabled,value:this.props.value,onChange:this.handle_change,onFocus:this.props.
onFocus,cols:this.props.cols,rows:this.props.rows,maxLength:this.props.maxLength}),
t,this.props.show_count||this.props.help_text_bottom?
this.render_bottom_help():null))}}]),t}
(l.default);d.propTypes={id:u.string,name:u.string.isRequired,label:u.string.isRequ
ired,help_text:u.string,help_text_bottom:u.string,type:u.string,errors:u.arrayOf(u.
shape({input:u.string.isRequired,message:u.string.isRequired})),required:u.bool,hid
e_required:u.bool,show_optional:u.bool,onChange:u.func,onFocus:u.func,handle_keydow
n:u.func,placeholder:u.string,disabled:u.bool.isRequired,value:u.string,className:u
.string,wrapper_class_name:u.string,cols:u.number,rows:u.number,maxLength:u.number,
show_count:u.bool},d.defaultProps={help_text:"",required:!1,hide_required:!
1,disabled:!1,value:"",maxLength:500,show_count:!
1},t.default=d,Scribd.addComponent("Shared.React.Forms.Textarea",d)},44:function()
{}},[39]),(Scribd.translations=Scribd.translations||[]).push({en_US:{shared:{react:
{forms:{text_area:{invalid:"Invalid,"}}}}}});

/* app/views/shared/react/forms/toggle.jsxjs @ 1526073916 */
webpackJsonp([44,85],{29:function(e,t,n){"use strict";function r(e){return
e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new
TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return!
t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!
=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a
function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:
{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}();n(33);var
c=n(0),l=r(c),u=React.PropTypes,d=function(e){function t(e){i(this,t);var n=o(this,
(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_forms_checkbox"),n.state={focused:!
1},n}return a(t,e),s(t,[{key:"on_focus",value:function(){this.setState({focused:!
0})}},{key:"on_blur",value:function(){this.setState({focused:!1})}},
{key:"component_classes",value:function(){return
classNames(this.props.class,"checkbox_component")}},
{key:"handle_key_press",value:function(e){13===e.which&&this.props.on_change(!
this.props.selected)}},{key:"handle_change",value:function(e)
{this.props.on_change(e)}},{key:"render_description",value:function(){return
this.props.description&&React.createElement("span",
{className:"description",id:this.uid("description")},this.props.description)}},
{key:"render_content",value:function(){var
e=this.props,t=e.label_text,n=e.description,r=e.value,i=e.disabled,o=e.selected,a=o
?"icon-ic_small_checkbox_fill":"icon-ic_small_checkbox_outline";return
React.createElement("label",{className:classNames("checkbox_label "+a,
{checked:o,focused:this.state.focused,with_description:n}),htmlFor:this.uid(r)},Rea
ct.createElement("input",{id:this.props.id||
this.uid(r),name:this.props.name,onChange:this.handle_change,onFocus:this.on_focus,
onBlur:this.on_blur,type:"checkbox",value:r,checked:o,disabled:i,className:"checkbo
x_input visually_hidden checkbox","aria-describedby":n?
this.uid("description"):null,onKeyPress:this.handle_key_press}),React.createElement
("span",{className:"input_text"},t),this.render_description())}}]),t}
(l.default);d.propTypes={on_change:u.func.isRequired,name:u.string,label_text:u.str
ing.isRequired,description:u.string,value:u.string,disabled:u.bool,selected:u.bool,
"class":u.string.isRequired,id:u.string},d.defaultProps={options:
[],legend:"",description:"","class":"",label_text:""},t.default=d,Scribd.addCompone
nt("Shared.React.Forms.Checkbox",d)},33:function(){},75:function(e,t,n){"use
strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e
instanceof t))throw new TypeError("Cannot call a class as a function")}function
o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super()
hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?
e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super
expression must either be null or a function, not "+typeof
t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!
1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}();n(79);var
c=n(0),l=r(c),u=n(29),d=r(u),_=React.PropTypes,p=function(e){function t(e)
{i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_forms_toggle"),n}return a(t,e),s(t,
[{key:"component_classes",value:function(){return
classNames(this.props.className,"toggle_container")}},
{key:"handle_change",value:function(e){this.props.loading||
this.props.on_change(e)}},{key:"render_content",value:function(){return
React.createElement(d.default,
{label_text:this.props.label_text,on_change:this.handle_change,"class":classNames("
toggle_checkbox",
{loading:this.props.loading}),selected:this.props.selected})}}]),t}
(l.default);p.propTypes={on_change:_.func.isRequired,label_text:_.string.isRequired
,selected:_.bool.isRequired,className:_.string,loading:_.bool},p.defaultProps={clas
sName:""},t.default=p,Scribd.addComponent("Shared.React.Forms.Toggle",p)},79:functi
on(){}},[75]);

/* app/views/shared/react/forms/input_group.jsxjs @ 1526073916 */
webpackJsonp([84],{20:function(e,t,n){"use strict";function r(e){return
e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new
TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return!
t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!
=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a
function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:
{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}();n(21);var
c=n(0),l=r(c),u=React.PropTypes,d=function(e){function t(e){i(this,t);var n=o(this,
(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_forms_input_group"),n}return a(t,e),s(t,
[{key:"render_content",value:function(){var
e=this.props,t=e.children,n=e.legend,r=e.horizontal;return
React.createElement("fieldset",{className:classNames("input_group",
{horizontal:r})},n?
React.createElement("legend",null,n):null,React.Children.map(t,function(e,t){return
React.cloneElement(e,{key:t})}))}}]),t}
(l.default);d.propTypes={children:u.oneOfType([u.arrayOf(u.element),u.element]).isR
equired,legend:u.string,horizontal:u.bool},d.defaultProps={options:
[],legend:"",horizontal:!
1},t.default=d,Scribd.addComponent("Shared.React.Forms.InputGroup",d)},21:function(
){}},[20]);

/* app/views/shared/react/forms/step_header.jsxjs @ 1526073916 */
webpackJsonp([82],{45:function(e,t,n){"use strict";function r(e){return
e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new
TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return!
t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!
=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a
function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:
{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}();n(77);var
c=n(0),l=r(c),u=React.PropTypes,d=function(e){function t(e){i(this,t);var n=o(this,
(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_forms_step_header"),n}return a(t,e),s(t,
[{key:"componentDidMount",value:function(){this.header_ref.focus()}},
{key:"get_steps_text",value:function(){var
e=this.props,t=e.steps_alt_text,n=e.step,r=e.total_steps;return t?
t:I18n.t("account_settings.cancel_order.step_header.step")+" "+n+"/"+r}},
{key:"render_elipsis",value:function(){return this.props.show_ellipsis?
React.createElement("span",{"aria-hidden":"true"},"\u2026"):void 0}},
{key:"render_subtitle",value:function(){return this.props.subtitle?
React.createElement("em",{className:"subtitle"},this.props.subtitle):void 0}},
{key:"render_content",value:function(){var e=this,t=this.props.extra_class?
this.props.extra_class:"";return React.createElement("div",{className:"step_header
"+t},React.createElement("h1",{tabIndex:"-1",ref:function(t){return
e.header_ref=t}},React.createElement("div",
{className:"step_counter"},React.createElement("span",null,this.get_steps_text())),
React.createElement("div",
{className:"title"},React.createElement("span",null,this.props.title),this.render_e
lipsis())),this.render_subtitle())}}]),t}
(l.default);d.propsTypes={step:u.number,total_steps:u.number,title:u.string,subtitl
e:u.string,extra_class:u.string,steps_alt_text:u.string,show_ellipsis:u.bool},t.def
ault=d,Scribd.addComponent("Shared.React.Forms.StepHeader",d)},77:function(){}},
[45]),(Scribd.translations=Scribd.translations||[]).push({en_US:{account_settings:
{cancel_order:{step_header:{step:"Step"}}}}});

/* app/views/shared/react/forms/text_input.jsxjs @ 1526073916 */
webpackJsonp([81],{40:function(e,t,n){"use strict";function r(e){return
e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new
TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return!
t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!
=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a
function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:
{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}();n(46);var
c=n(0),l=r(c),u=n(1),d=r(u),p=React,h=p.PropTypes,f=function(e){function t(e)
{i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_forms_text_input"),n.state={show_password:!
1},n}return a(t,e),s(t,[{key:"component_classes",value:function()
{return"text_input_component"}},{key:"toggle_show_password",value:function()
{this.setState({show_password:!this.state.show_password})}},
{key:"render_show_button",value:function(){var
e=I18n.t(this.state.show_password?"shared.react.forms.text_input.hide":"shared.reac
t.forms.text_input.show"),t=classNames("text_btn password_toggle_btn no_spinner",
{hide:this.state.show_password});return React.createElement(d.default,
{className:t,onClick:this.toggle_show_password},React.createElement("span",
{key:"copy",className:"password_action"},e),React.createElement("span",
{key:"pw",className:"visually_hidden"},I18n.t("shared.react.forms.text_input.passwo
rd")))}},{key:"render_visually_hidden_required",value:function(){return
this.props.required?React.createElement("em",
{className:classNames("input_required",
{visually_hidden:this.props.hide_required})},I18n.t("shared.react.forms.text_input.
required")):null}},{key:"render_content",value:function(){var
e=[],t=_.where(this.props.errors,
{input:this.props.name}),n=t.length,r={id:this.props.id,name:this.props.name,type:t
his.props.type,className:classNames(this.props.className||{},{field_err:n},
{disabled:this.props.disabled}),placeholder:this.props.placeholder,disabled:this.pr
ops.disabled,value:this.props.value,onChange:this.props.onChange,onFocus:this.props
.onFocus,onBlur:this.props.onBlur,ref:this.props.input_ref,maxLength:this.props.max
Length};return r.id=r.id?
r.id:this.props.name,"password"===this.props.type&&this.state.show_password&&(r.typ
e="text"),n&&(e=t.map(function(e,t){return React.createElement("span",
{key:t,className:"error_msg"},React.createElement("span",{className:"icon-
ic_warn","aria-hidden":"true"}),React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.forms.text_input.error")+"
"),React.createElement("span",null,e.message))})),React.createElement("div",
{className:classNames("input_row",r.name,r.type,this.props.type,this.props.wrapper_
class,{has_error:n})},React.createElement("label",
{htmlFor:r.id},this.render_label_text(),n?React.createElement("strong",
{className:"visually_hidden"},I18n.t("shared.react.forms.text_input.invalid"),","):
null,this.props.help_text&&React.createElement("span",
{className:"help"},this.props.help_text),this.props.children,React.createElement("d
iv",
{className:"input_wrapper"},this.props.input_children,React.createElement("input",r
),"password"===this.props.type&&this.render_show_button()),e))}},
{key:"render_label_text",value:function(){return this.props.label?
React.createElement("span",{className:"label_text"},this.props.label+"
",this.props.use_asterisk&&React.createElement("span",
{className:"asterisk_require"},"*"),this.render_visually_hidden_required()):void
0}}]),t}
(l.default);f.propTypes={id:h.string,name:h.string.isRequired,label:h.string.isRequ
ired,help_text:h.string,type:h.string.isRequired,errors:h.arrayOf(h.shape({input:h.
string.isRequired,message:h.string.isRequired})),required:h.bool.isRequired,hide_re
quired:h.bool.isRequired,onChange:h.func,onFocus:h.func,onBlur:h.func,placeholder:h
.string,disabled:h.bool.isRequired,value:h.string,children:h.oneOfType([h.element,h
.arrayOf(h.element)]),input_children:h.oneOfType([h.element,h.arrayOf(h.element)]),
wrapper_class:h.string,input_ref:h.func,maxLength:h.number},f.defaultProps={help_te
xt:"",type:"text",required:!1,hide_required:!1,disabled:!
1,value:null,input_ref:null,label:""},t.default=f,Scribd.addComponent("Shared.React
.Forms.TextInput",f)},46:function(){}},[40]),
(Scribd.translations=Scribd.translations||[]).push({en_US:{shared:{react:{forms:
{text_input:
{show:"Show",hide:"Hide",password:"password",error:"Error",required:"(required)",in
valid:"Invalid"}}}}}});

/* app/views/shared/react/forms/select_input.coffee @ 1526073662 */
(function(){var
e,t,n,r,i,o,a;r=React.DOM,n=r.option,t=r.div,o=r.span,i=r.select,e=Scribd.R.compone
nt_builder("Shared.React.Forms.SelectInput",
{css_class:"autogen_class_views_shared_react_forms_select_input"}),a=React.PropType
s,e({propTypes:
{"class":a.string,name:a.string,value:a.string,options:a.arrayOf(a.shape({name:a.st
ring.isRequired,value:a.string.isRequired})).isRequired,onChange:a.func},getInitial
State:function(){return{}},widget_css_classes:function(e){return
classNames(e,"select_component",this.props["class"],
{focused:this.state.has_focus})},current_name:function(){var
e,t,n,r,i,o;for(r=this.props.options,e=0,t=r.length;t>e;e+
+)if(i=r[e],n=i.name,o=i.value,""+o==""+this.props.value)return n;return
this.props.options[0].name},render:function()
{return[t({className:"select_current_value","aria-hidden":!
0},this.current_name()),o({className:"icon icon-ic_down_arrow","aria-hidden":!
0}),i({name:this.props.name,value:this.props.value,onFocus:function(e){return
function(){return e.setState({has_focus:!0})}}(this),onBlur:function(e){return
function(){return e.setState({has_focus:!1})}}(this),onChange:this.props.onChange||
function(e){return function(){return e.trigger("select_change",e.props)}}
(this),children:this.props.options.map(function(){return function(e){var t,r;return
t=e.name,r=e.value,n({value:r||t},t)}}(this))})]}})}).call(this);

/* app/views/shared/react/forms/checkbox_input.coffee @ 1526073662 */
(function(){var
e,t,n,r,i,o;r=React.DOM,n=r.label,t=r.input,i=r.span,e=Scribd.R.component_builder("
Shared.React.Forms.CheckboxInput",
{css_class:"autogen_class_views_shared_react_forms_checkbox_input"}),o=React.PropTy
pes,e({propTypes:
{selected:o.bool,disabled:o.bool,"class":o.string,value:o.string,unchecked_value:o.
string,name:o.string,label_text:o.string.isRequired},getInitialState:function()
{return{checkbox_focused:!1}},widget_css_classes:function(e){return
classNames(e,"checkbox_component",this.props["class"],
{disabled:this.props.disabled})},handle_focus:function(e){return function(t){return
function(){return t.setState({checkbox_focused:e})}}(this)},render:function(){var
e,r,o;return o=this.props.unchecked_value&&!
this.props.selected,r=this.props.selected?"icon-ic_checkbox_fill":"icon-
ic_checkbox_outline",e=this.state.checkbox_focused?"focused":"",n({className:classN
ames("checkbox_label "+r+" "+e,{checked:this.props.selected}),children:[o?
t({type:"hidden",name:this.props.name,value:this.props.unchecked_value}):void
0,t({onChange:this.props.onChange||function(e){return function(){return
e.trigger("checkbox_selected",e.props)}}
(this),type:"checkbox",value:this.props.value,name:o?void
0:this.props.name,checked:this.props.selected,className:"checkbox_input
visually_hidden",onFocus:this.handle_focus(!0),onBlur:this.handle_focus(!
1)}),i({className:"input_text"},this.props.label_text)]})}})}).call(this);

/* app/views/shared/react/forms/radio_input.coffee @ 1526073662 */
(function(){var
e,t,n,r,i,o;r=React.DOM,n=r.label,t=r.input,i=r.span,e=Scribd.R.component_builder("
Shared.React.Forms.RadioInput",
{css_class:"autogen_class_views_shared_react_forms_radio_input"}),o=React.PropTypes
,e({propTypes:
{selected:o.bool,"class":o.string,value:o.string,name:o.string,label_text:o.string.
isRequired},getInitialState:function(){return{focused:!
1}},widget_css_classes:function(e){return
classNames(e,"radio_component",this.props["class"])},focus:function(e){return
function(t){return function(){return t.setState({focused:e})}}
(this)},render:function(){var e;return e=this.props.selected?"icon-
ic_radiobutton_filled":"icon-
ic_radiobutton_empty",n({className:classNames("radio_label "+e,
{checked:this.props.selected,focused:this.state.focused}),children:
[t({onChange:this.props.onChange||function(e){return function(){return
e.trigger("radio_selected",e.props)}}(this),onFocus:this.focus(!
0),onBlur:this.focus(!
1),type:"radio",value:this.props.value,name:this.props.name,checked:this.props.sele
cted,className:"radio_input visually_hidden radio","aria-
describedby":this.props.described_by,id:this.props.id}),i({className:"input_text"},
this.props.label_text)]})}})}).call(this);
/* app/views/shared/react/library_button.coffee @ 1526073662 */
(function(){var
e,t,n,r,i,o,a,s;o=React.DOM,t=o.button,a=o.span,e=o.a,r=o.div,i=o.li,s=o.ul,n=Scrib
d.R.component_builder("Shared.React.LibraryButton",
{css_class:"library_button"}),null==n&&(n=Scribd.R.component_builder("Shared.React.
LibraryButton")),n({actions_list_timeout:null,"static":{instances:
[],preview_players:{},bind_global_handlers:_.once(function(){return $
(window).on("click",function(e){return function(t){var
n,r,i,o,a;try{for(o=e.instances,a=[],n=0,i=o.length;i>n;n++)r=o[n],a.push($
(t.target).closest(r.container()).length?void 0:r.setState({show_actions:!
1}));return a}catch(s){}}}(this)),$
(window).on("scribd:library_button_update",function(e){return function(t,n,r){var
i,o,a,s,c;for(s=e.instances,c=[],i=0,a=s.length;a>i;i++)o=s[i],o!
==n&&n.props.document_id===o.props.document_id&&c.push(o.setState(r));return c}}
(this)),$(window).on("scribd:library_button:go_to_selects",function(e){return
function(){var t;t=e.instances[e.instances.length-1];try{return
t.container().track_rats("caps:go_to_scribd_selects:click",
{doc_id:t.state.document_id})}catch(n){}}}
(this))})},get_event_container_by_id:function(e){return $
(e?"#"+e:document.body)},getInitialState:function(){return _.extend({params:
{},loading:!1,preview_playing:!1,show_actions:!1,item:
{}},this.props)},getDefaultProps:function(){return{show_icon:!1,show_spinner:!
0}},componentDidMount:function(){var e;return
Scribd.R.Shared.React.LibraryButton.instances.push(this),Scribd.R.Shared.React.Libr
aryButton.bind_global_handlers(),e=this.get_event_container_by_id(this.props.event_
container_id),this.setup_save_button_update_handler(),this.state.actions_select&&th
is.container().addClass("has_actions_select"),this.setup_preview()},componentWillUn
mount:function(){var e;return e=$
(this.props.event_container_id?"#"+this.props.event_container_id:document.body)},se
tup_save_button_update_handler:function(){return $
(document.body).on("scribd:epub:overflow:save_button:removed",function(e){return
function(){var t;return e.update_in_library(!
1),"function"==typeof(t=e.props).on_remove?t.on_remove():void 0}}(this)),$
(document.body).on("scribd:epub:overflow:save_button:saved",function(e){return
function(){var t;return e.update_in_library(!
0),"function"==typeof(t=e.props).on_save?t.on_save():void 0}}
(this))},unset_save_button_update_listeners:function(e){return $
(document.body).off("scribd:epub:overflow:save_button:removed"),$
(document.body).off("scribd:epub:overflow:save_button:saved"),e.off("scribd:credit_
redeemed",this.credit_redeemed)},setup_preview:function(){var
e;if(this.state.audiobook_sample_url&&!this.props.subscriber)return e=new
Audio(this.state.audiobook_sample_url),e.addEventListener("play",function(){return
function(e){if(!e)throw"Failed to play sample: "+audiobook_sample_url}}
(this)),e.addEventListener("ended",function(e){return function(){return
e.setState({preview_playing:!
1}),e.container().trigger("scribd:library_button_update",[e,{preview_playing:!
1}]),e.setup_preview()}}
(this)),Scribd.R.Shared.React.LibraryButton.preview_players[this.state.document_id]
=e},componentDidUpdate:function(){return
this.container().toggleClass("hover",this.state.show_actions),Scribd.R.Shared.React
.LibraryButton.current_instance=this,this.container().find("button").toggleClass("l
oading",this.state.loading).prop("disabled",this.state.loading),this.state.loading&
&this.props.show_spinner?this.container().find(".scribd_spinner
.visually_hidden").focus():void 0},get_orientation:function(){var e;return
e=this.state.orientation,"auto"===this.props.orientation&&(e=this.container()
[0].getBoundingClientRect().top<260?"bottom":"top"),e},render:function()
{return[this.main_button(),this.actions_select(),this.actions_list()]},play_sample_
action_opts:function(){var e;return e={children:[]},this.state.preview_playing?
(e.children.push(a({className:"icon-
ic_audiobook_pause"})),e.children.push(I18n.t("shared.react.library_button.pause"))
,e.onClick=function(e){return function(){return e.state.loading?void 0:
(Scribd.R.Shared.React.LibraryButton.preview_players[e.state.document_id].pause(),e
.setState({preview_playing:!
1}),e.container().trigger("scribd:library_button_update",[e,{preview_playing:!
1}]))}}(this)):(e.children.push(a({className:"icon-
ic_audiobook_play"})),e.children.push(I18n.t("shared.react.library_button.play_samp
le")),e.onClick=Scribd.R.Shared.React.LibraryButton.preview_players[this.state.docu
ment_id]?function(e){return function(){return e.state.loading?void 0:
(Scribd.R.Shared.React.LibraryButton.preview_players[e.state.document_id].play(),e.
container().track_rats("bookpage:play_sample:click",
{doc_id:e.state.document_id}),e.setState({preview_playing:!
0}),e.container().trigger("scribd:library_button_update",[e,{preview_playing:!
0}]))}}(this):function(e){return function(){return e.state.loading?void 0:
(e.container().track_rats("bookpage:play_sample:click",
{doc_id:e.state.document_id}),e.setState({preview_playing:!0,loading:!
1}),e.container().trigger("scribd:library_button_update",[e,{preview_playing:!
0}]),Scribd.R.Shared.React.LibraryButton.preview_players[e.state.document_id].play(
))}}(this)),e},read_preview_action_opts:function(){return{children:
[I18n.t("shared.react.library_button.read_preview")],href:this.state.start_reading_
url,onClick:function(e){return function(){return e.state.loading?void
0:e.container().track_rats("bookpage:read_preview:click",
{doc_id:e.state.document_id})}}(this)}},main_button:function(){var n,i;return
n=classNames("main_button","inherit_tracking",
{has_actions_select:this.state.actions_select,loading:this.state.loading}),i={class
Name:this.button_classes(n),children:
[this.save_button(this.props.show_icon)]},this.state.is_series_canonical?
i.children=[this.save_button()]:this.state.subscriber||
("audiobook"===this.state.document_type&&this.state.audiobook_sample_url?
i.children=[t(this.play_sample_action_opts())]:this.state.start_reading_url&&this.s
tate.show_preview&&(i.children=[e(this.read_preview_action_opts())])),r(i)},save_bu
tton:function(e){return null==e&&(e=!
1),React.createElement(Scribd.Shared.React.SaveButton,
{item:this.state.item,show_icon:e,show_tooltip:!1,text_btn:!1,use_thick_icon:!
0,on_save:function(e){return function(){var t;return $
(document.body).trigger("scribd:save_button:saved"),e.update_in_library(!
0),"function"==typeof(t=e.props).on_save?t.on_save():void 0}}
(this),on_remove:function(e){return function(){var t;return $
(document.body).trigger("scribd:save_button:removed"),e.update_in_library(!
1),"function"==typeof(t=e.props).on_remove?t.on_remove():void 0}}
(this),on_loading:function(e){return function(t){return e.isMounted()?
e.setState({loading:t}):void 0}}(this)})},update_in_library:function(e){var
t;return t=$.extend({},this.state.item),t.in_library=e,this.isMounted()?
(this.setState({loading:!1,item:t}),this.container().find(".main_button
button").focus()):void 0},actions_list:function(){return
this.state.show_actions&&this.state.actions_select?
r({className:"autogen_class_views_shared_popover actions_list_wrapper
"+this.state.orientation,onMouseEnter:function(e){return function(){return
window.clearTimeout(e.actions_list_timeout)}}(this),onMouseLeave:function(e){return
function(){return e.actions_list_timeout=window.setTimeout(function(){return
e.setState({show_actions:!1})},500)}}(this),onClick:function(e){return function(t)
{return e.state.loading?void 0:(t.preventDefault(),e.setState({show_actions:!1}))}}
(this),children:[r({className:"popover_content",children:
[this.arrow(),this.list_items()]})]}):void 0},actions_select:function(){var
e;if(this.state.actions_select)return e=classNames("actions_select",
{hover:this.state.show_actions,loading:this.state.loading}),t({className:this.butto
n_classes(e),children:[a({className:"icon-ic_down_arrow
arrow_icon"}),a({className:"visually_hidden",children:I18n.t("shared.react.library_
button.other_actions")})],"aria-
expanded":this.state.show_actions,onClick:function(e){return function(){return
e.state.loading?void 0:(e.container().track_rats("library_btn:menu_button:click",
{doc_id:e.state.document_id,action:e.state.show_actions?"hide":"show"}),e.setState(
{show_actions:!e.state.show_actions,orientation:e.get_orientation()}))}}
(this)})},arrow:function(){return
r({className:"popover_arrow"})},list_items:function(){var e;return
e={className:"actions_list",children:
[i({},t(this.collection_action_opts()))]},this.state.subscriber?
this.state.item.in_library&&e.children.push(i({},this.save_button())):this.state.it
em.in_library?
e.children.push(i({},this.save_button())):this.state.start_reading_url&&this.state.
show_preview&&!
this.state.is_series_canonical&&e.children.unshift(i({},this.save_button())),s(e)},
login_params:function(e){return"document"===this.props.document_type?
$.extend({join_header_text:I18n.t("shared.react.library_button.join_today"),join_su
b_header_text:I18n.t("shared.react.library_button.unlimited_access_to_this_and_mill
ions")},e):e},with_login:function(e,t){return
e=$.extend(this.login_params({initial_view:"join",join_type:"pmp",track_location:"a
dd_to_library",join_header_text:I18n.t("shared.react.library_button.become_a_member
_to_save_this")}),e),Scribd.with_login(e,t)},collection_action_opts:function()
{return{className:"collections_btn inherit_tracking",children:
[I18n.t(this.state.lists.collections.length?"shared.react.library_button.add_to_lis
t":"shared.react.library_button.create_a_list")],onClick:function(e){return
function(){var t,n,r;if(!e.state.loading)return
n="library_btn",r=Scribd.tracker.location_data(e.container()).shift(),t={initial_vi
ew:"join",join_type:"pmp",join_header_text:I18n.t("shared.react.library_button.sign
_up_to_create_a_list")},Scribd.with_login(e.login_params(t),function(){return
e.state.lists.collections.length?
Scribd.Lightbox.open_react("add_to_list",React.createElement(Scribd.Shared.React.Li
sts.Modals.AddToList,
{item:e.state.item,lists:e.state.lists,handle_list_create:e.handle_list_create,hand
le_list_create_button_click:e.handle_list_create_button_click,handle_add_to_list
:function(t){return e.track_rats("library_btn:collection_save:click",
{collection_id:t,doc_id:e.props.document_id}),e.update_in_library(!
0)},library_button:!
0})):Scribd.Lightbox.open_react("create_a_list",React.createElement(Scribd.Shared.R
eact.Lists.Modals.CreateAList,
{handle_list_create:e.handle_list_create,item_id:e.props.item.id,library_button:!
0}))})}}(this)}},handle_list_create_button_click:function(){return
Scribd.StackedLightbox.close()},handle_list_create:function(e){var t,n;return
this.track_rats("library_btn:collection_save:click",
{collection_id:e.collection.id,doc_id:this.props.document_id}),n=$.extend(!0,
{},this.state),n.lists.collections.unshift(e.collection),n.lists.count+
+,this.setState(n),Scribd.Shared.LibraryAPI.add(this.state.item.id),this.update_in_
library(!
0),Scribd.Flasher.toast("success",I18n.t("shared.react.library_button.added_to_resp
onse_collection_name",{response_collection_name:e.collection.name})),t=$
(".library_show"),t.get(0)?
t.trigger(Scribd.R.scope_event_name("library:list:create"),
[e,this.props.document_id]):void 0},button_classes:function(e){return"flat_btn
"+e+" "+this.state.extra_button_classes}})}).call(this),
(Scribd.translations=Scribd.translations||[]).push({en_US:{shared:{react:
{library_button:{get_full_title_cap:"Get Full Title",read_preview:"Read
preview",pause:"Pause",play_sample:"Play sample",unmark_as_finished:"Unmark as
finished",mark_as_finished:"Mark as finished",join_today:"Join
Today",unlimited_access_to_this_and_millions:"Unlimited access to this and millions
of other documents from users from around the
world.",join_to_add_this_title_to_list:"Join to add this title to a
list",sign_up_to_get_full_title:"Sign Up to Get Full
Title",sign_up_to_mark_this_as:"Sign Up to Mark This as
Finished",save_for_later:"Save for Later",other_actions:"Other
Actions",become_a_member_to_save_this:"Become a member to save this
title",created_list_response_name:"Created list %{response_name}",add_to_list:"Add
to List",failed_to_save_title:"Failed to save title",create_a_list:"Create a
List",sign_up_to_create_a_list:"Sign Up to Create a
List",added_to_response_collection_name:"Added to %
{response_collection_name}",loading:"Loading"}}}}});

/* app/views/shared/react/lightbox.jsxjs @ 1526073916 */
webpackJsonp([139],{5:function(e,t,n){"use strict";function r(e){return
e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new
TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return!
t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!
=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a
function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:
{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}
(),c=n(0),l=r(c),u=n(1),d=(r(u),React.PropTypes),_=function(e){function t(e)
{i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return n.state={lightbox:null},n}return
a(t,e),s(t,[{key:"componentDidMount",value:function(){if(!$
(this.container).closest("#lightboxes").length&&"test"!==Scribd.rails_env)throw new
Error("Tried to render a react lightbox not inside #lightboxes");var
e=this.props.stacked?Scribd.StackedLightbox:Scribd.Lightbox,t=this.state.lightbox||
new e(this.container,!1);$
(this.container).hide(),this.setState({lightbox:t}),t.show()}},
{key:"component_classes",value:function(){return
classNames("lightbox",this.props.className)}},
{key:"enclosing_element_args",value:function(){return{tabIndex:"-
1",onBlur:this.handle_blur,"aria-labelledby":this.get_aria_labelled_by(),"aria-
label":this.get_aria_label(),"aria-describedby":this.props.aria_describedby,"aria-
hidden":"true",role:"dialog"}}},{key:"handle_blur",value:function(e)
{e.stopPropagation(),$(this.container).attr("tabindex",null)}},
{key:"handle_click_close",value:function(e)
{e.preventDefault(),this.props.handle_click_close&&this.props.handle_click_close()}
},{key:"get_aria_labelled_by",value:function(){return this.props.aria_labelled_by||
this.uid("lightbox")}},{key:"get_aria_label",value:function(){return
this.props.aria_label?this.props.aria_label:void 0}},
{key:"render_close_button",value:function(){return this.props.show_close!==!1?
React.createElement("a",
{href:"#",className:"close_button",onClick:this.handle_click_close},React.createEle
ment("span",{className:"icon-ic_close_small"},React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.lightbox.close_dialog")))):void
0}},{key:"render_title",value:function(){return this.props.title?
React.createElement("h2",
{className:"title",id:this.uid("lightbox")},this.props.title):void 0}},
{key:"render_content",value:function(){return React.createElement("div",
{className:"wrapper"},this.render_close_button(),React.createElement("div",
{className:"content"},this.render_title(),this.props.children))}}]),t}
(l.default);_.propTypes={stacked:d.bool,handle_click_close:d.func,className:d.strin
g,aria_describedby:d.string,show_close:d.bool,title:d.string,aria_labelled_by:d.str
ing,aria_label:d.string,children:d.oneOfType([d.arrayOf(d.element),d.element])},t.d
efault=_,Scribd.addComponent("Shared.Lightbox",_)}},[5]),
(Scribd.translations=Scribd.translations||[]).push({en_US:{shared:{react:{lightbox:
{close_dialog:"Close Dialog"}}}}});

/* app/views/shared/react/lists/_create_list_button.jsxjs @ 1526073916 */
webpackJsonp([78],{43:function(e,t,n){"use strict";function r(e){return
e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new
TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return!
t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!
=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a
function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:
{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}();n(65);var
c=n(0),l=r(c),u=n(1),d=r(u),_=React.PropTypes,p=function(e){function t(e)
{i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_lists_create_list_button"),n}return
a(t,e),s(t,[{key:"get_cta",value:function(){return this.props.cta||
I18n.t("shared.react.lists.create_list_button.create_list")}},
{key:"handle_click",value:function(e){return
e.preventDefault(),this.props.handle_click&&this.props.handle_click(),Scribd.Lightb
ox.open_react("create_a_list",React.createElement(Scribd.Shared.React.Lists.Modals.
CreateAList,
{item_id:this.props.item_id,handle_list_create:this.props.handle_list_create,handle
_click:this.props.handle_click}))}},{key:"render_content",value:function(){return
React.createElement(d.default,{href:"#create_a_list",className:"text_btn
create_list_btn",onClick:this.handle_click},React.createElement("span",
{className:"icon icon-ic_addtolist"}),React.createElement("span",null,"
",this.get_cta()))}}]),t}
(l.default);p.propTypes={cta:_.string,handle_list_create:_.func,handle_click:_.func
,item_id:_.number},t.default=p,Scribd.addComponent("Shared.React.Lists.CreateListBu
tton",p)},65:function(){}},[43]),(Scribd.translations=Scribd.translations||
[]).push({en_US:{shared:{react:{lists:{create_list_button:{create_list:"Create
list"}}}}}});

/* app/views/shared/react/lists/list_items.jsxjs @ 1526073916 */
webpackJsonp([8,27,28,29,30,45,76],[,,function(e,t,n){"use strict";function r(e)
{return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw
new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return!
t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!
=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a
function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:
{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}();n(4);var
c=n(0),l=r(c),u=n(1),d=r(u),_=React.PropTypes,p=function(e){function t(e)
{i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_save_button"),n.state={item:n.props.item,load
ing:!1},n}return a(t,e),s(t,[{key:"component_classes",value:function(){return
classNames(this.props.classes,"save_button")}},
{key:"componentWillReceiveProps",value:function(e){e.item!
==this.props.item&&this.setState({item:e.item})}},
{key:"componentDidMount",value:function(){var e=new
CookieJar({expires:""});e.get(t.COOKIE_NAME)||e.put(t.COOKIE_NAME,!0)}},
{key:"should_confirm_delete",value:function(){return"true"===(new
CookieJar).get(t.COOKIE_NAME)}},{key:"set_loading",value:function(e)
{this.setState({loading:e}),this.props.on_loading&&this.props.on_loading(e)}},
{key:"set_in_library_state",value:function(e)
{this.setState({item:Object.assign({},this.state.item,{in_library:e})})}},
{key:"get_tooltip_text",value:function(){if(this.props.show_tooltip){var e=void
0;return this.state.item.in_library?
(e=I18n.t("shared.react.save_button.remove_from_saved_cap"),this.props.cta_remove||
e):(e=I18n.t("shared.react.save_button.save_for_later_cap"),this.props.cta_save||
e)}}},{key:"get_short_title",value:function(){return
this.state.item.short_title||""}},{key:"get_save_cta",value:function(){return
this.props.cta_save?
this.props.cta_save:I18n.t("shared.react.save_button.save_short_title_for_later_htm
l",{short_title:this.get_short_title()})}},{key:"get_remove_cta",value:function()
{return this.props.cta_remove?
this.props.cta_remove:I18n.t("shared.react.save_button.remove_short_title_from_save
d_html",{short_title:this.get_short_title()})}},
{key:"get_aria_text",value:function(){return this.state.item.in_library?
this.get_remove_cta():this.get_save_cta()}},
{key:"get_save_icon_class_name",value:function(){var
e=this.props.use_thick_icon?"2px":"1px",t=this.state.item.in_library?"saved":"save"
;return"icon icon-ic_"+t+"_for_later_"+e}},{key:"handle_xhr_fail",value:function(e)
{Scribd.Flasher.standard("error",e)}},
{key:"handle_update_add_success",value:function(e,t){this.set_in_library_state(!
0),this.props.on_save&&this.props.on_save(e,t)}},
{key:"handle_update_add_failure",value:function(){this.set_in_library_state(!
1),this.handle_xhr_fail(I18n.t("shared.react.save_button.failed_to_save_title"))}},
{key:"handle_update_remove_success",value:function(e,t){this.set_in_library_state(!
1),this.props.on_remove&&this.props.on_remove(e,t)}},
{key:"handle_update_remove_failure",value:function(){this.set_in_library_state(!
0),this.handle_xhr_fail(I18n.t("shared.react.save_button.failed_to_remove_title"))}
},{key:"handle_update_done",value:function(){this.set_loading(!1)}},
{key:"handle_update",value:function(e){this.state.item.in_library?
Scribd.Shared.LibraryAPI.remove(this.state.item.id).success(this.handle_update_remo
ve_success.bind(this,this.state.item.id,e)).fail(this.handle_update_remove_success)
.always(this.handle_update_done):Scribd.Shared.LibraryAPI.add(this.state.item.id).s
uccess(this.handle_update_add_success.bind(this,this.state.item.id,e)).fail(this.ha
ndle_update_add_failure).always(this.handle_update_done)}},
{key:"handle_in_collection_check_success",value:function(e){var
t=this;e.collection_ids.length?(this.set_loading(!
1),Scribd.Lightbox.open_react("delete_item_in_list",React.createElement(Scribd.Shar
ed.React.Lists.Modals.DeleteItemInList,
{item_id:this.state.item.id,on_confirm:function(){return
t.handle_update(e.collection_ids)},on_loading:this.props.on_loading}))):this.handle
_update(e.collection_ids)}},
{key:"handle_in_collection_check_failure",value:function()
{this.handle_xhr_fail(I18n.t("shared.react.save_button.failed_to_remove_title")),th
is.set_loading(!1)}},{key:"handle_save",value:function()
{Scribd.kill_tooltips(),this.set_loading(!
0),this.state.item.in_library&&this.should_confirm_delete()?
Scribd.Shared.CollectionAPI.collections_containing_document(this.state.item.id).suc
cess(this.handle_in_collection_check_success).fail(this.handle_in_collection_check_
failure):this.handle_update([])}},{key:"handle_save_button_click",value:function(e)
{this.props.on_click&&this.props.on_click(e),this.track_rats("library_btn:add_to_li
brary:click",
{doc_id:this.state.item.id,action:this.state.item.in_library?"remove":"add"}),Scrib
d.with_login({join_header_text:I18n.t("shared.react.save_button.sign_up_to_save"),i
nitial_view:"join",join_type:"pmp",track_location:"add_to_library"},this.handle_sav
e)}},{key:"create_aria_html",value:function()
{return{__html:this.get_aria_text()}}},{key:"render_icon",value:function(){var
e=this.props.show_icon?this.get_save_icon_class_name():"";return
React.createElement("span",{className:e,"aria-hidden":"true",key:"icon"})}},
{key:"render_aria_text",value:function(){return React.createElement("span",
{dangerouslySetInnerHTML:this.create_aria_html(),className:classNames({visually_hid
den:!this.props.show_text}),key:"text"})}},{key:"render_content",value:function()
{return React.createElement(d.default,
{type:"button",className:classNames("edit_saved_btn",
{loading:this.state.loading,disabled:this.state.loading,text_btn:this.props.text_bt
n,icon_only:!
this.props.show_text}),cta_save:this.get_save_cta(),cta_remove:this.get_remove_cta(
),onClick:this.handle_save_button_click,"data-
tooltip":this.get_tooltip_text(),"data-
label":this.get_tooltip_text()},this.render_icon(),this.render_aria_text())}}]),t}
(l.default);p.COOKIE_NAME="library:confirm_delete_item_in_list",p.propTypes={classe
s:_.string,cta_remove:_.string,cta_save:_.string,item:_.object.isRequired,on_click:
_.func,on_loading:_.func,on_remove:_.func,on_save:_.func,show_icon:_.bool,show_text
:_.bool,show_tooltip:_.bool,text_btn:_.bool,use_thick_icon:_.bool},p.defaultProps={
cta_remove:"",cta_save:"",show_icon:!0,show_text:!0,show_tooltip:!0,text_btn:!
0,use_thick_icon:!
1},t.default=p,Scribd.addComponent("Shared.React.SaveButton",p)},function(e,t,n)
{"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t)
{if(!(e instanceof t))throw new TypeError("Cannot call a class as a
function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been
initialised - super() hasn't been called");return!t||"object"!=typeof
t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw
new TypeError("Super expression must either be null or a function, not "+typeof
t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!
1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}();n(6);var
c=n(0),l=r(c),u=n(1),d=r(u),_=n(2),p=r(_),h=React.PropTypes,f=function(e){function
t(e){i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_cells_base"),n.state={undo_loading:!
1,removed:n.props.item.removed},n}return a(t,e),s(t,
[{key:"enclosing_tag",value:function(){return"li"}},
{key:"enclosing_element_args",value:function(){return{"data-
track_uuid":this.props.rec_uuid,"data-track":!0}}},
{key:"component_classes",value:function(){return"react_cell_base object_cell
list_item "+this.props.item.type}},{key:"componentDidMount",value:function(){var
e=this;$(this.container).on("shared:react:lists:list_item:removed",function(t,n)
{e.setState({removed:n})})}},{key:"componentDidUpdate",value:function(e,t)
{this.state.removed?$(this.container).find(".undo_btn").focus():t.removed&&$
(this.container).find(".list_anchor").focus()}},
{key:"handle_removed_cell_click",value:function(){var
e=this;this.setState({undo_loading:!
0}),this.props.undo_xhr(this.props.item).success(function(){$
(e.container).trigger("shared:react:lists:list_item:removed",!1)}).fail(function()
{$(e.container).trigger("shared:react:lists:list_item:removed",!
0),Scribd.Flasher.standard("error",I18n.t("shared.react.cells.base.failed_to_undo_a
ction"))}).always(function(){e.setState({undo_loading:!1})})}},
{key:"get_content_url",value:function(){return this.props.item.open_in_reader||!
["book","audiobook","sheet_music"].includes(this.props.item.type)?
this.props.item.reader_url:this.props.item.book_preview_url}},
{key:"get_image_aria_label_text",value:function(){if(this.props.item.type){var
e=this.props.item.type.toLowerCase(),t={book:I18n.t("shared.react.cells.base.book")
,audiobook:I18n.t("shared.react.cells.base.audiobook"),publication_issue:I18n.t("sh
ared.react.cells.base.publication_issue"),sheet_music:I18n.t("shared.react.cells.ba
se.sheet_music"),article:I18n.t("shared.react.cells.base.article_in_props_item_auth
or",{props_item_author:this.props.item.author})};return t.hasOwnProperty(e)?
t[e]:e}}},{key:"get_image_alt_text",value:function(){return
this.props.item.title}},{key:"should_open_in_new_window",value:function(){return
this.should_show_book_preview_lightbox()?void
0:this.props.search_open_non_book_preview_items_in_new_tab?!
0:"audiobook"===this.props.item.type&&this.props.item.open_in_reader?!0:void 0}},
{key:"should_show_book_preview_lightbox",value:function(){return
this.props.item.open_in_reader?!1:Scribd.is_mobile?!
1:this.props.item.is_book?"article"===this.props.item.type?!
1:"publication_issue"===this.props.item.type?!
1:"sheet_music_chapter"===this.props.item.type?!1:!0:!1}},
{key:"render_removed",value:function(){return React.createElement("div",
{className:"undo_container"},React.createElement("div",
{className:"undo"},React.createElement("div",
{className:"undo_btn_label"},React.createElement("span",null,this.props.undo_label)
),React.createElement(d.default,
{ref:this.props.item.id,type:"button",text:I18n.t("shared.react.cells.base.undo"),d
isabled:this.state.undo_loading,"aria-
disabled":this.state.undo_loading,tabIndex:"0",className:classNames("undo_btn
text_btn",
{loading:this.state.undo_loading}),onClick:this.handle_removed_cell_click.bind(this
)},React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.props_item_title_-
_removed_from_saved",{props_item_title:this.props.item.title})))))}},
{key:"render_new_indicator",value:function(){return this.props.item.new_item&&!
this.props.is_finished?React.createElement("span",
{className:"new_items_indicator"},React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.new"))):void 0}},
{key:"render_new_window_text",value:function(){return
this.should_open_in_new_window()?React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.opens_in_new_window")
):void 0}},{key:"render_title",value:function(){return React.createElement("div",
{className:"title document_title"},this.props.item.title)}},
{key:"render_author",value:function(){var e=arguments.length>0&&void 0!
==arguments[0]?arguments[0]:!0,t=React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.author"));return
React.createElement("div",{className:"author_container"},e?
t:null,React.createElement("span",{className:"author"},this.props.item.author))}},
{key:"render_reading_progress",value:function(){return
this.props.item.reading_progress_bar_props?
React.createElement(Scribd.R.Shared.React.ReadingProgressBar,this.props.item.readin
g_progress_bar_props):void 0}},{key:"render_star_ratings",value:function(){return
this.props.item.star_rating_props?
React.createElement(Scribd.R.Shared.React.StarRatings,this.props.item.star_rating_p
rops):void 0}},{key:"render_image_flag",value:function(){return
this.props.item.flag?"scribd_select"===this.props.item.flag.type?
React.createElement("div",{className:"flag
is_scribd_select"},React.createElement("span",{className:"icon icon-
ic_scribd_badge_logo","aria-hidden":"true"}),React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.scribd_selects"))):th
is.props.item.flag.label?React.createElement("div",{className:"banner_flag flag
"+this.props.item.flag.classes},this.props.item.flag.label):void 0:void 0}},
{key:"render_image_cta",value:function(){if(!this.props.hide_hover_cta)
{if(this.props.item.open_in_reader){var
e=I18n.t("shared.react.cells.base.read_now");return"audiobook"===this.props.item.ty
pe&&I18n.t("shared.react.cells.base.listen_now"),React.createElement("div",
{role:"presentation",className:"hover_cta reader"},e)}return
React.createElement("div",{role:"presentation",className:"hover_cta
book_page"},I18n.t("shared.react.cells.base.about_title"))}}},
{key:"render_image",value:function(){var e=arguments.length>0&&void 0!
==arguments[0]?arguments[0]:!0;return React.createElement("div",
{className:classNames("image",
{is_book:this.props.item.is_book}),key:"image_"+this.props.item.id},this.render_ima
ge_flag(),React.createElement(Scribd.R.Shared.React.DocumentImage,
{alt_text:this.get_image_alt_text(),aria_label_text:this.get_image_aria_label_text(
),image_url:this.props.item.image_url,lazy_load:e,retina_image_url:this.props.item.
retina_image_url,use_in_carousel:this.props.use_in_carousel}),this.render_image_cta
())}},{key:"render_marked_as_finished",value:function(){return
this.props.is_finished?React.createElement("div",
{className:"marked_as_finished_container"},React.createElement("span",
{className:"icon icon-ic_finished_small","aria-
hidden":"true"}),React.createElement("span",
{className:"finished_text"},I18n.t("shared.react.cells.base.finished"))):void 0}},
{key:"render_reading_time_estimate",value:function(){var e=arguments.length>0&&void
0!==arguments[0]?arguments[0]:!0;if(this.props.item.read_time_estimate){var
t=React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.total"));return
React.createElement("div",
{className:"read_time_estimate"},React.createElement("span",null,React.createElemen
t("span",null,this.props.item.read_time_estimate),e?t:null))}}},
{key:"render_availability_notice",value:function()
{return"list"===this.props.display_type&&this.props.item.availability?
React.createElement(Scribd.Shared.AvailabilityNotice,
{icon:this.props.item.availability.icon,text:this.props.item.availability.text,flag
_class:this.props.item.flag.classes}):void 0}},
{key:"render_author_container",value:function(e){return React.createElement("div",
{className:"author_container"},React.createElement("span",
{className:"author"},e))}},{key:"render_secondary_subtitle",value:function(){var
e=this.props.item.secondary_subtitle;if(e)return this.render_author_container(e)}},
{key:"render_series_name",value:function(){var e=this.props.item.series;if(e)return
this.render_author_container(I18n.t("shared.react.cells.base.series"))}},
{key:"render_content_progress",value:function(){var
e=this.props.item.content_progress;if(e){var
t=I18n.t("shared.react.cells.base.content_to_go",{duration:e});return
this.render_author_container(t)}}},{key:"render_controls",value:function()
{if(this.props.controls)return this.props.controls;if(!this.props.no_controls){var
e=!this.props.item.star_rating_props;return React.createElement("div",
{className:"controls"},React.createElement(p.default,
{item:this.props.item,show_text:!1,classes:classNames("",
{no_star_ratings:e})}))}return null}},
{key:"render_list_item_content",value:function(){}},
{key:"render_list_item_wrapper",value:function(){return React.createElement("div",
{className:"list_anchor_container"},React.createElement("a",
{className:classNames("list_anchor",
{book_link:this.should_show_book_preview_lightbox(),new_item:this.props.item.new_it
em}),onClick:this.props.handle_list_anchor_click,href:this.get_content_url(),id:thi
s.props.item.id,target:this.should_open_in_new_window()?"_blank":null},this.render_
new_indicator(),this.render_list_item_content(),this.render_new_window_text()),this
.render_controls())}},{key:"render_content",value:function(){return
this.state.removed?this.render_removed():this.render_list_item_wrapper()}}]),t}
(l.default);f.propTypes={controls:h.element,display_type:h.string,is_finished:h.boo
l,handle_list_anchor_click:h.func,item:h.shape({author:h.string.isRequired,book_pre
view_url:h.string,description:h.string,flag:h.shape({classes:h.string,label:h.strin
g,type:h.string.isRequired}),id:h.number.isRequired,image_url:h.string.isRequired,i
n_library:h.bool,is_book:h.bool,interest:h.string,new_item:h.bool,open_in_reader:h.
bool,publication_date:h.string,read_time_estimate:h.string,reader_url:h.string,read
ing_progress_bar_props:h.object,retina_image_url:h.string.isRequired,series:h.bool,
short_title:h.string,star_rating_props:h.object,title:h.string.isRequired,type:h.st
ring.isRequired}).isRequired,narrow:h.bool,no_controls:h.bool,paused:h.bool,rec_uui
d:h.string,undo_label:h.string,undo_xhr:h.func,use_in_carousel:h.bool,search_open_n
on_book_preview_items_in_new_tab:h.bool,tracking_module:h.shape({rc_callback:h.func
,rec_id:h.string,rv_callback:h.func,tracker:h.object,view_id:h.string})},f.defaultP
rops={no_controls:!1,series:!1},t.default=f},function(){},,function()
{},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:
{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call
a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't
been initialised - super() hasn't been called");return!t||"object"!=typeof
t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw
new TypeError("Super expression must either be null or a function, not "+typeof
t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!
1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}(),c=function p(e,t,n)
{null===e&&(e=Function.prototype);var
r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var
i=Object.getPrototypeOf(e);return null===i?void 0:p(i,t,n)}if("value"in r)return
r.value;var o=r.get;return void 0===o?void 0:o.call(n)},l=n(3),u=r(l);n(11);var
d=(React.PropTypes,function(e){function t(e){i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.state={narrow:n.props.narrow},n.handle_resize=n.handle_resize.bind(n),n.enclosing
_class("auto__shared_react_cells_article"),n}return a(t,e),s(t,
[{key:"componentDidMount",value:function(){this.handle_resize(),$
(window).on("resize.article_cell",_.debounce(this.handle_resize,100)),c(t.prototype
.__proto__||
Object.getPrototypeOf(t.prototype),"componentDidMount",this).call(this)}},
{key:"componentWillUnmount",value:function(){$
(window).off("resize.article_cell")}},{key:"get_container",value:function(){return
$(this.container||ReactDOM.findDOMNode(this))}},
{key:"get_image_alt_text",value:function(){return this.props.item.author}},
{key:"get_article_image_css_class",value:function(){var e="no_image";return
this.props.item.article_image_url&&(e="has_image"),e}},
{key:"get_narrow",value:function(){return $(this.container).width()<550&&"grid"!
==this.props.display_type}},{key:"set_narrow",value:function()
{this.setState({narrow:this.get_narrow()})}},{key:"handle_resize",value:function()
{this.props.no_clamp||this.clamp_lines(),this.set_narrow()}},
{key:"clamp_lines",value:function(){if("grid"===this.props.display_type){var
e=this.get_container().find(".header"),t=this.get_container().find(".article_image_
container"),n=this.get_container().find(".title"),r=this.get_container().find(".des
cription"),i=22,o=this.get_container().innerHeight(),a=e.innerHeight(),s=t.innerHei
ght()||-i,c=n.innerHeight(),l=o-(a+s+c);return 2*i>l?(r.hide(),$clamp(n[0],
{clamp:6})):$clamp(r[0],{clamp:Math.floor(l/i)})}}},
{key:"render_aria_description_label",value:function(){return
React.createElement("span",
{className:"visually_hidden"},this.props.item.description.slice(0,250))}},
{key:"render_image_cta",value:function(){}},{key:"render_interest",value:function()
{return this.props.item.interest?React.createElement("div",
{className:"interest"},this.props.item.interest):void 0}},
{key:"render_article_image",value:function(){return
this.props.item.show_article_image&&this.props.item.article_image_url?
React.createElement("div",
{className:"article_image_container"},React.createElement(Scribd.R.Shared.React.Doc
umentImage,
{image_url:this.props.item.article_image_url,retina_image_url:this.props.item.retin
a_article_image_url,lazy_load:this.props.use_in_carousel,alt_text:this.props.item.a
lt_text||"",role:this.props.item.role})):void 0}},
{key:"render_stick_and_block",value:function()
{return"grid"===this.props.display_type?[React.createElement("div",
{className:"spacer_stick",key:"spacer_stick"}),React.createElement("div",
{className:"spacer_block",key:"spacer_block"})]:void 0}},
{key:"render_description",value:function(){return React.createElement("div",
{className:"description","aria-hidden":"true"},this.props.item.description)}},
{key:"render_list_item_content",value:function(){return React.createElement("div",
{className:classNames("wrapper",
{narrow:this.state.narrow})},React.createElement("div",
{className:"header"},this.render_image(!1),React.createElement("div",
{className:"metadata","aria-hidden":"true"},this.render_author(!
1),this.render_reading_time_estimate(),this.render_interest())),this.render_article
_image(),React.createElement("div",{className:"body
"+this.get_article_image_css_class()},this.render_stick_and_block(),this.render_tit
le(),this.render_description(),this.render_aria_description_label()))}}]),t}
(u.default));t.default=d,Scribd.addComponent("Shared.React.Cells.Article",d)},,,fun
ction(){},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:
{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call
a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't
been initialised - super() hasn't been called");return!t||"object"!=typeof
t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw
new TypeError("Super expression must either be null or a function, not "+typeof
t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!
1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(3),l=r(c);n(15);var
u=(React.PropTypes,function(e){function t(e){i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_cells_issue"),n}return a(t,e),s(t,
[{key:"render_reading_time_estimate",value:function(){return
this.props.item.read_time_estimate?React.createElement("span",
{className:"read_time_estimate"},I18n.t("shared.react.cells.issue.issue")):void
0}},{key:"render_list_item_content",value:function()
{return[this.render_image(),React.createElement("div",
{className:"metadata",key:"metadata"},React.createElement("div",
{className:"title_author"},this.render_author(!
1),this.render_title()),this.render_reading_time_estimate())]}}]),t}
(l.default));t.default=u,Scribd.addComponent("Shared.React.Cells.Issue",u)},functio
n(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function
i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a
function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been
initialised - super() hasn't been called");return!t||"object"!=typeof
t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw
new TypeError("Super expression must either be null or a function, not "+typeof
t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!
1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}(),c=function h(e,t,n)
{null===e&&(e=Function.prototype);var
r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var
i=Object.getPrototypeOf(e);return null===i?void 0:h(i,t,n)}if("value"in r)return
r.value;var o=r.get;return void 0===o?void
0:o.call(n)},l=n(3),u=r(l),d=n(2),_=r(d);n(16);var p=(React.PropTypes,function(e)
{function t(e){i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_cells_document"),n}return a(t,e),s(t,
[{key:"handle_download_click",value:function(e,t){return
this.track_rats("search:download_button:click",{document_id:t})}},
{key:"render_reading_progress",value:function()
{return["sheet_music","sheet_music_chapter"].includes(this.props.item.type)?void
0:c(t.prototype.__proto__||
Object.getPrototypeOf(t.prototype),"render_reading_progress",this).call(this)}},
{key:"render_star_ratings",value:function()
{return"sheet_music_chapter"===this.props.item.type?c(t.prototype.__proto__||
Object.getPrototypeOf(t.prototype),"render_star_ratings",this).call(this):void 0}},
{key:"render_upvotes",value:function(){return
this.props.item.upvote_props&&"sheet_music_chapter"!==this.props.item.type?
React.createElement(Scribd.R.Shared.React.Upvotes,Object.assign({},this.props.item.
upvote_props,{use_in_carousel:this.props.use_in_carousel})):void 0}},
{key:"render_controls",value:function(){return this.props.controls?
this.props.controls:this.props.no_controls?void 0:React.createElement("div",
{className:"controls"},React.createElement(Scribd.Shared.React.DownloadButton,Objec
t.assign({},this.props.item.download_button_props,
{on_click:this.handle_download_click})),React.createElement(_.default,
{item:this.props.item,show_text:!1}))}},
{key:"render_list_item_content",value:function()
{return[this.render_image(),React.createElement("div",
{className:"metadata",key:"metadata_"+this.props.item.id},React.createElement("div"
,
{className:"title_author"},this.render_title(),this.render_author()),this.render_re
ading_progress(),this.render_star_ratings(),this.render_upvotes(),this.render_readi
ng_time_estimate())]}}]),t}
(u.default));t.default=p,Scribd.addComponent("Shared.React.Cells.Document",p)},,fun
ction(){},function(){},function(e,t,n){"use strict";function r(e){return
e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new
TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return!
t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!
=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a
function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:
{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}();n(22);var
c=n(0),l=r(c),u=n(1),d=(r(u),n(8)),p=r(d),h=n(12),f=r(h),m=n(18),b=r(m),g=n(13),v=r
(g),y=React.PropTypes,w=function(e){function t(e){i(this,t);var n=o(this,
(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_lists_list_items"),n}return a(t,e),s(t,
[{key:"componentDidMount",value:function(){return
this.setup_tracking(this.props.rec_tracking_json)}},
{key:"componentDidUpdate",value:function(e){return
this.setup_tracking(e.rec_tracking_json)}},
{key:"component_classes",value:function(){return
classNames(this.props.display_type,"list_items",
{in_carousel:this.props.use_in_carousel,not_in_carousel:!
this.props.use_in_carousel})}},{key:"setup_tracking",value:function(e){var
t=this;if(!this.props.use_in_carousel&&this.props.setup_tracking&&e)return new
Scribd.RecommendationTracking.Module(this.container,
{widget_name:"list_items",compilation_id:e.compilation_id,module_id:e.uuid,on_track
ing:function(e){t.tracking=e},on_in_view:function(e)
{t.setup_items_tracking(e)}})}},{key:"setup_items_tracking",value:function(e)
{return $
(this.container).find(".object_cell:not(.visibility_tracked)").on("inview",function
(t){var
n=$(t.currentTarget);return n.hasClass("visibility_tracked")?void 0:
(Scribd.RecommendationTracking.track_obj_view(e.view_id,n.data("track_uuid"),e.widg
et_name),n.addClass("visibility_tracked"))})}},
{key:"get_aria_label",value:function(){return this.props.aria_label?
this.props.aria_label:void 0}},{key:"get_aria_labelled_by",value:function(){return
this.props.aria_labelled_by!==!1?this.props.aria_labelled_by?
this.props.aria_labelled_by:this.uid("list_labelledby"):void 0}},
{key:"no_controls",value:function(e){return this.props.no_controls?
this.props.no_controls:e.flag&&"not_available"===e.flag.type}},
{key:"render_controls",value:function(e,t){return"function"==typeof
this.props.controls?this.props.controls(e,t):null}},
{key:"get_base_props",value:function(e,t){var
n=this.props.rec_tracking_json;return{compilation_id:n?
n.compilation_id:null,controls:this.render_controls(e,t),display_type:this.props.di
splay_type,hide_hover_cta:this.props.hide_hover_cta||!
1,item:e,key:e.id,module_id:n?n.uuid:null,narrow:this.props.narrow||!
1,no_clamp:this.props.no_clamp,no_controls:this.no_controls(e),paused:this.props.pa
used,pre_rendered:this.props.pre_rendered,rec_uuid:n&&n.recs?
n.recs[t]:"",search_open_non_book_preview_items_in_new_tab:this.props.search_open_n
on_book_preview_items_in_new_tab,undo_label:this.props.undo_label,undo_xhr:this.pro
ps.undo_xhr,use_in_carousel:this.props.use_in_carousel}}},
{key:"render_cells",value:function(){var e=this,t=this.props.items_json||
this.props.documents;return _.map(t,function(t,n){var
r=e.get_base_props(t,n);switch(t.type){case"article":return
React.createElement(p.default,r);case"publication_issue":return
React.createElement(f.default,r);case"book":case"audiobook":case"sheet_music":retur
n React.createElement(b.default,r);default:return
React.createElement(v.default,r)}})}},{key:"render_content",value:function(){return
React.createElement("ul",{"aria-labelledby":this.get_aria_labelled_by(),"aria-
label":this.get_aria_label(),className:this.props.extra_classes,id:this.props.list_
id,key:"list_items"},this.render_cells())}}],[{key:"is_narrow",value:function()
{return $(window).width()<951}}]),t}
(l.default);w.propTypes={aria_label:y.string,aria_labelled_by:y.oneOfType([y.string
,y.bool]),controls:y.func,display_type:y.string.isRequired,documents:y.array,hide_h
over_cta:y.bool,items_json:y.array,list_id:y.string,narrow:y.bool,no_clamp:y.bool,p
aused:y.bool,pre_rendered:y.bool.isRequired,rec_tracking_json:y.object,search_open_
non_book_preview_items_in_new_tab:y.bool,setup_tracking:y.bool.isRequired,undo_labe
l:y.string,undo_xhr:y.func,use_in_carousel:y.bool},w.defaultProps={display_type:"gr
id",use_in_carousel:!1,setup_tracking:!
0,search_open_non_book_preview_items_in_new_tab:!1,pre_rendered:!
1},t.default=w,Scribd.addComponent("Shared.React.Lists.ListItems",w)},function(e,t,
n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function
i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a
function")
}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised -
super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?
e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super
expression must either be null or a function, not "+typeof
t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!
1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}(),c=function _(e,t,n)
{null===e&&(e=Function.prototype);var
r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var
i=Object.getPrototypeOf(e);return null===i?void 0:_(i,t,n)}if("value"in r)return
r.value;var o=r.get;return void 0===o?void 0:o.call(n)},l=n(3),u=r(l);n(19);var
d=(React.PropTypes,function(e){function t(e){i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_cells_book"),n}return a(t,e),s(t,
[{key:"get_image_aria_label_text",value:function(){var e=c(t.prototype.__proto__||
Object.getPrototypeOf(t.prototype),"get_image_aria_label_text",this).call(this);ret
urn this.props.item.series&&(e+=" series"),e}},
{key:"render_list_item_content",value:function()
{return[this.render_image(),React.createElement("div",
{className:"metadata",key:"metadata_"+this.props.item.id},React.createElement("div"
,
{className:"title_author"},this.render_availability_notice(),this.render_title(),th
is.render_author()),this.render_reading_progress(),this.render_star_ratings(),this.
render_reading_time_estimate())]}}]),t}
(u.default));t.default=d,Scribd.addComponent("Shared.React.Cells.Book",d)},function
(){},,,function(){}],[17]),(Scribd.translations=Scribd.translations||
[]).push({en_US:{shared:{react:{lists:{list_items:{list_of_items:"List of
Items",author:"Author"}}}}}});

/* app/views/shared/react/cells/_base.jsxjs @ 1526073916 */
webpackJsonp([45,76],[,,function(e,t,n){"use strict";function r(e){return
e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new
TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return!
t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!
=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a
function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:
{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}();n(4);var
c=n(0),l=r(c),u=n(1),d=r(u),_=React.PropTypes,p=function(e){function t(e)
{i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_save_button"),n.state={item:n.props.item,load
ing:!1},n}return a(t,e),s(t,[{key:"component_classes",value:function(){return
classNames(this.props.classes,"save_button")}},
{key:"componentWillReceiveProps",value:function(e){e.item!
==this.props.item&&this.setState({item:e.item})}},
{key:"componentDidMount",value:function(){var e=new
CookieJar({expires:""});e.get(t.COOKIE_NAME)||e.put(t.COOKIE_NAME,!0)}},
{key:"should_confirm_delete",value:function(){return"true"===(new
CookieJar).get(t.COOKIE_NAME)}},{key:"set_loading",value:function(e)
{this.setState({loading:e}),this.props.on_loading&&this.props.on_loading(e)}},
{key:"set_in_library_state",value:function(e)
{this.setState({item:Object.assign({},this.state.item,{in_library:e})})}},
{key:"get_tooltip_text",value:function(){if(this.props.show_tooltip){var e=void
0;return this.state.item.in_library?
(e=I18n.t("shared.react.save_button.remove_from_saved_cap"),this.props.cta_remove||
e):(e=I18n.t("shared.react.save_button.save_for_later_cap"),this.props.cta_save||
e)}}},{key:"get_short_title",value:function(){return
this.state.item.short_title||""}},{key:"get_save_cta",value:function(){return
this.props.cta_save?
this.props.cta_save:I18n.t("shared.react.save_button.save_short_title_for_later_htm
l",{short_title:this.get_short_title()})}},{key:"get_remove_cta",value:function()
{return this.props.cta_remove?
this.props.cta_remove:I18n.t("shared.react.save_button.remove_short_title_from_save
d_html",{short_title:this.get_short_title()})}},
{key:"get_aria_text",value:function(){return this.state.item.in_library?
this.get_remove_cta():this.get_save_cta()}},
{key:"get_save_icon_class_name",value:function(){var
e=this.props.use_thick_icon?"2px":"1px",t=this.state.item.in_library?"saved":"save"
;return"icon icon-ic_"+t+"_for_later_"+e}},{key:"handle_xhr_fail",value:function(e)
{Scribd.Flasher.standard("error",e)}},
{key:"handle_update_add_success",value:function(e,t){this.set_in_library_state(!
0),this.props.on_save&&this.props.on_save(e,t)}},
{key:"handle_update_add_failure",value:function(){this.set_in_library_state(!
1),this.handle_xhr_fail(I18n.t("shared.react.save_button.failed_to_save_title"))}},
{key:"handle_update_remove_success",value:function(e,t){this.set_in_library_state(!
1),this.props.on_remove&&this.props.on_remove(e,t)}},
{key:"handle_update_remove_failure",value:function(){this.set_in_library_state(!
0),this.handle_xhr_fail(I18n.t("shared.react.save_button.failed_to_remove_title"))}
},{key:"handle_update_done",value:function(){this.set_loading(!1)}},
{key:"handle_update",value:function(e){this.state.item.in_library?
Scribd.Shared.LibraryAPI.remove(this.state.item.id).success(this.handle_update_remo
ve_success.bind(this,this.state.item.id,e)).fail(this.handle_update_remove_success)
.always(this.handle_update_done):Scribd.Shared.LibraryAPI.add(this.state.item.id).s
uccess(this.handle_update_add_success.bind(this,this.state.item.id,e)).fail(this.ha
ndle_update_add_failure).always(this.handle_update_done)}},
{key:"handle_in_collection_check_success",value:function(e){var
t=this;e.collection_ids.length?(this.set_loading(!
1),Scribd.Lightbox.open_react("delete_item_in_list",React.createElement(Scribd.Shar
ed.React.Lists.Modals.DeleteItemInList,
{item_id:this.state.item.id,on_confirm:function(){return
t.handle_update(e.collection_ids)},on_loading:this.props.on_loading}))):this.handle
_update(e.collection_ids)}},
{key:"handle_in_collection_check_failure",value:function()
{this.handle_xhr_fail(I18n.t("shared.react.save_button.failed_to_remove_title")),th
is.set_loading(!1)}},{key:"handle_save",value:function()
{Scribd.kill_tooltips(),this.set_loading(!
0),this.state.item.in_library&&this.should_confirm_delete()?
Scribd.Shared.CollectionAPI.collections_containing_document(this.state.item.id).suc
cess(this.handle_in_collection_check_success).fail(this.handle_in_collection_check_
failure):this.handle_update([])}},{key:"handle_save_button_click",value:function(e)
{this.props.on_click&&this.props.on_click(e),this.track_rats("library_btn:add_to_li
brary:click",
{doc_id:this.state.item.id,action:this.state.item.in_library?"remove":"add"}),Scrib
d.with_login({join_header_text:I18n.t("shared.react.save_button.sign_up_to_save"),i
nitial_view:"join",join_type:"pmp",track_location:"add_to_library"},this.handle_sav
e)}},{key:"create_aria_html",value:function()
{return{__html:this.get_aria_text()}}},{key:"render_icon",value:function(){var
e=this.props.show_icon?this.get_save_icon_class_name():"";return
React.createElement("span",{className:e,"aria-hidden":"true",key:"icon"})}},
{key:"render_aria_text",value:function(){return React.createElement("span",
{dangerouslySetInnerHTML:this.create_aria_html(),className:classNames({visually_hid
den:!this.props.show_text}),key:"text"})}},{key:"render_content",value:function()
{return React.createElement(d.default,
{type:"button",className:classNames("edit_saved_btn",
{loading:this.state.loading,disabled:this.state.loading,text_btn:this.props.text_bt
n,icon_only:!
this.props.show_text}),cta_save:this.get_save_cta(),cta_remove:this.get_remove_cta(
),onClick:this.handle_save_button_click,"data-
tooltip":this.get_tooltip_text(),"data-
label":this.get_tooltip_text()},this.render_icon(),this.render_aria_text())}}]),t}
(l.default);p.COOKIE_NAME="library:confirm_delete_item_in_list",p.propTypes={classe
s:_.string,cta_remove:_.string,cta_save:_.string,item:_.object.isRequired,on_click:
_.func,on_loading:_.func,on_remove:_.func,on_save:_.func,show_icon:_.bool,show_text
:_.bool,show_tooltip:_.bool,text_btn:_.bool,use_thick_icon:_.bool},p.defaultProps={
cta_remove:"",cta_save:"",show_icon:!0,show_text:!0,show_tooltip:!0,text_btn:!
0,use_thick_icon:!
1},t.default=p,Scribd.addComponent("Shared.React.SaveButton",p)},function(e,t,n)
{"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t)
{if(!(e instanceof t))throw new TypeError("Cannot call a class as a
function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been
initialised - super() hasn't been called");return!t||"object"!=typeof
t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw
new TypeError("Super expression must either be null or a function, not "+typeof
t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!
1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}();n(6);var
c=n(0),l=r(c),u=n(1),d=r(u),_=n(2),p=r(_),h=React.PropTypes,f=function(e){function
t(e){i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_cells_base"),n.state={undo_loading:!
1,removed:n.props.item.removed},n}return a(t,e),s(t,
[{key:"enclosing_tag",value:function(){return"li"}},
{key:"enclosing_element_args",value:function(){return{"data-
track_uuid":this.props.rec_uuid,"data-track":!0}}},
{key:"component_classes",value:function(){return"react_cell_base object_cell
list_item "+this.props.item.type}},{key:"componentDidMount",value:function(){var
e=this;$(this.container).on("shared:react:lists:list_item:removed",function(t,n)
{e.setState({removed:n})})}},{key:"componentDidUpdate",value:function(e,t)
{this.state.removed?$(this.container).find(".undo_btn").focus():t.removed&&$
(this.container).find(".list_anchor").focus()}},
{key:"handle_removed_cell_click",value:function(){var
e=this;this.setState({undo_loading:!
0}),this.props.undo_xhr(this.props.item).success(function(){$
(e.container).trigger("shared:react:lists:list_item:removed",!1)}).fail(function()
{$(e.container).trigger("shared:react:lists:list_item:removed",!
0),Scribd.Flasher.standard("error",I18n.t("shared.react.cells.base.failed_to_undo_a
ction"))}).always(function(){e.setState({undo_loading:!1})})}},
{key:"get_content_url",value:function(){return this.props.item.open_in_reader||!
["book","audiobook","sheet_music"].includes(this.props.item.type)?
this.props.item.reader_url:this.props.item.book_preview_url}},
{key:"get_image_aria_label_text",value:function(){if(this.props.item.type){var
e=this.props.item.type.toLowerCase(),t={book:I18n.t("shared.react.cells.base.book")
,audiobook:I18n.t("shared.react.cells.base.audiobook"),publication_issue:I18n.t("sh
ared.react.cells.base.publication_issue"),sheet_music:I18n.t("shared.react.cells.ba
se.sheet_music"),article:I18n.t("shared.react.cells.base.article_in_props_item_auth
or",{props_item_author:this.props.item.author})};return t.hasOwnProperty(e)?
t[e]:e}}},{key:"get_image_alt_text",value:function(){return
this.props.item.title}},{key:"should_open_in_new_window",value:function(){return
this.should_show_book_preview_lightbox()?void
0:this.props.search_open_non_book_preview_items_in_new_tab?!
0:"audiobook"===this.props.item.type&&this.props.item.open_in_reader?!0:void 0}},
{key:"should_show_book_preview_lightbox",value:function(){return
this.props.item.open_in_reader?!1:Scribd.is_mobile?!
1:this.props.item.is_book?"article"===this.props.item.type?!
1:"publication_issue"===this.props.item.type?!
1:"sheet_music_chapter"===this.props.item.type?!1:!0:!1}},
{key:"render_removed",value:function(){return React.createElement("div",
{className:"undo_container"},React.createElement("div",
{className:"undo"},React.createElement("div",
{className:"undo_btn_label"},React.createElement("span",null,this.props.undo_label)
),React.createElement(d.default,
{ref:this.props.item.id,type:"button",text:I18n.t("shared.react.cells.base.undo"),d
isabled:this.state.undo_loading,"aria-
disabled":this.state.undo_loading,tabIndex:"0",className:classNames("undo_btn
text_btn",
{loading:this.state.undo_loading}),onClick:this.handle_removed_cell_click.bind(this
)},React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.props_item_title_-
_removed_from_saved",{props_item_title:this.props.item.title})))))}},
{key:"render_new_indicator",value:function(){return this.props.item.new_item&&!
this.props.is_finished?React.createElement("span",
{className:"new_items_indicator"},React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.new"))):void 0}},
{key:"render_new_window_text",value:function(){return
this.should_open_in_new_window()?React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.opens_in_new_window")
):void 0}},{key:"render_title",value:function(){return React.createElement("div",
{className:"title document_title"},this.props.item.title)}},
{key:"render_author",value:function(){var e=arguments.length>0&&void 0!
==arguments[0]?arguments[0]:!0,t=React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.author"));return
React.createElement("div",{className:"author_container"},e?
t:null,React.createElement("span",{className:"author"},this.props.item.author))}},
{key:"render_reading_progress",value:function(){return
this.props.item.reading_progress_bar_props?
React.createElement(Scribd.R.Shared.React.ReadingProgressBar,this.props.item.readin
g_progress_bar_props):void 0}},{key:"render_star_ratings",value:function(){return
this.props.item.star_rating_props?
React.createElement(Scribd.R.Shared.React.StarRatings,this.props.item.star_rating_p
rops):void 0}},{key:"render_image_flag",value:function(){return
this.props.item.flag?"scribd_select"===this.props.item.flag.type?
React.createElement("div",{className:"flag
is_scribd_select"},React.createElement("span",{className:"icon icon-
ic_scribd_badge_logo","aria-hidden":"true"}),React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.scribd_selects"))):th
is.props.item.flag.label?React.createElement("div",{className:"banner_flag flag
"+this.props.item.flag.classes},this.props.item.flag.label):void 0:void 0}},
{key:"render_image_cta",value:function(){if(!this.props.hide_hover_cta)
{if(this.props.item.open_in_reader){var
e=I18n.t("shared.react.cells.base.read_now");return"audiobook"===this.props.item.ty
pe&&I18n.t("shared.react.cells.base.listen_now"),React.createElement("div",
{role:"presentation",className:"hover_cta reader"},e)}return
React.createElement("div",{role:"presentation",className:"hover_cta
book_page"},I18n.t("shared.react.cells.base.about_title"))}}},
{key:"render_image",value:function(){var e=arguments.length>0&&void 0!
==arguments[0]?arguments[0]:!0;return React.createElement("div",
{className:classNames("image",
{is_book:this.props.item.is_book}),key:"image_"+this.props.item.id},this.render_ima
ge_flag(),React.createElement(Scribd.R.Shared.React.DocumentImage,
{alt_text:this.get_image_alt_text(),aria_label_text:this.get_image_aria_label_text(
),image_url:this.props.item.image_url,lazy_load:e,retina_image_url:this.props.item.
retina_image_url,use_in_carousel:this.props.use_in_carousel}),this.render_image_cta
())}},{key:"render_marked_as_finished",value:function(){return
this.props.is_finished?React.createElement("div",
{className:"marked_as_finished_container"},React.createElement("span",
{className:"icon icon-ic_finished_small","aria-
hidden":"true"}),React.createElement("span",
{className:"finished_text"},I18n.t("shared.react.cells.base.finished"))):void 0}},
{key:"render_reading_time_estimate",value:function(){var e=arguments.length>0&&void
0!==arguments[0]?arguments[0]:!0;if(this.props.item.read_time_estimate){var
t=React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.total"));return
React.createElement("div",
{className:"read_time_estimate"},React.createElement("span",null,React.createElemen
t("span",null,this.props.item.read_time_estimate),e?t:null))}}},
{key:"render_availability_notice",value:function()
{return"list"===this.props.display_type&&this.props.item.availability?
React.createElement(Scribd.Shared.AvailabilityNotice,
{icon:this.props.item.availability.icon,text:this.props.item.availability.text,flag
_class:this.props.item.flag.classes}):void 0}},
{key:"render_author_container",value:function(e){return React.createElement("div",
{className:"author_container"},React.createElement("span",
{className:"author"},e))}},{key:"render_secondary_subtitle",value:function(){var
e=this.props.item.secondary_subtitle;if(e)return this.render_author_container(e)}},
{key:"render_series_name",value:function(){var e=this.props.item.series;if(e)return
this.render_author_container(I18n.t("shared.react.cells.base.series"))}},
{key:"render_content_progress",value:function(){var
e=this.props.item.content_progress;if(e){var
t=I18n.t("shared.react.cells.base.content_to_go",{duration:e});return
this.render_author_container(t)}}},{key:"render_controls",value:function()
{if(this.props.controls)return this.props.controls;if(!this.props.no_controls){var
e=!this.props.item.star_rating_props;return React.createElement("div",
{className:"controls"},React.createElement(p.default,
{item:this.props.item,show_text:!1,classes:classNames("",
{no_star_ratings:e})}))}return null}},
{key:"render_list_item_content",value:function(){}},
{key:"render_list_item_wrapper",value:function(){return React.createElement("div",
{className:"list_anchor_container"},React.createElement("a",
{className:classNames("list_anchor",
{book_link:this.should_show_book_preview_lightbox(),new_item:this.props.item.new_it
em}),onClick:this.props.handle_list_anchor_click,href:this.get_content_url(),id:thi
s.props.item.id,target:this.should_open_in_new_window()?"_blank":null},this.render_
new_indicator(),this.render_list_item_content(),this.render_new_window_text()),this
.render_controls())}},{key:"render_content",value:function(){return
this.state.removed?this.render_removed():this.render_list_item_wrapper()}}]),t}
(l.default);f.propTypes={controls:h.element,display_type:h.string,is_finished:h.boo
l,handle_list_anchor_click:h.func,item:h.shape({author:h.string.isRequired,book_pre
view_url:h.string,description:h.string,flag:h.shape({classes:h.string,label:h.strin
g,type:h.string.isRequired}),id:h.number.isRequired,image_url:h.string.isRequired,i
n_library:h.bool,is_book:h.bool,interest:h.string,new_item:h.bool,open_in_reader:h.
bool,publication_date:h.string,read_time_estimate:h.string,reader_url:h.string,read
ing_progress_bar_props:h.object,retina_image_url:h.string.isRequired,series:h.bool,
short_title:h.string,star_rating_props:h.object,title:h.string.isRequired,type:h.st
ring.isRequired}).isRequired,narrow:h.bool,no_controls:h.bool,paused:h.bool,rec_uui
d:h.string,undo_label:h.string,undo_xhr:h.func,use_in_carousel:h.bool,search_open_n
on_book_preview_items_in_new_tab:h.bool,tracking_module:h.shape({rc_callback:h.func
,rec_id:h.string,rv_callback:h.func,tracker:h.object,view_id:h.string})},f.defaultP
rops={no_controls:!1,series:!1},t.default=f},function(){},,function(){}],[3]),
(Scribd.translations=Scribd.translations||[]).push({en_US:{shared:{react:{cells:
{base:{item_removed_from_saved:"Item Removed From Saved",undo_remove:"Undo
Remove",failed_to_undo_action:"Failed to undo
action",undo:"Undo",listen_now:"Listen Now",read_now:"Read Now",about_title:"About
Title",sample:"Sample",not_available:"Not Available",purchase_only:"Purchase
Only",expiring:"Expiring",book:"book",audiobook:"audiobook",publication_issue:"publ
ication issue",sheet_music:"sheet music",article_in_props_item_author:"Article in %
{props_item_author}",author:"Author",total:"Total",scribd_selects:"Scribd
Selects","props_item_title_-_removed_from_saved":"%{props_item_title} - Removed
from saved","new":"New,",opens_in_new_window:"Opens in new window",content_to_go:"%
{duration} to go",finished:"Finished",series:"Series"}}}}}});

/* app/views/shared/react/cells/issue.jsxjs @ 1526073916 */
webpackJsonp([27,45,76],[,,function(e,t,n){"use strict";function r(e){return
e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new
TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return!
t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!
=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a
function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:
{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}();n(4);var
c=n(0),l=r(c),u=n(1),d=r(u),_=React.PropTypes,p=function(e){function t(e)
{i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_save_button"),n.state={item:n.props.item,load
ing:!1},n}return a(t,e),s(t,[{key:"component_classes",value:function(){return
classNames(this.props.classes,"save_button")}},
{key:"componentWillReceiveProps",value:function(e){e.item!
==this.props.item&&this.setState({item:e.item})}},
{key:"componentDidMount",value:function(){var e=new
CookieJar({expires:""});e.get(t.COOKIE_NAME)||e.put(t.COOKIE_NAME,!0)}},
{key:"should_confirm_delete",value:function(){return"true"===(new
CookieJar).get(t.COOKIE_NAME)}},{key:"set_loading",value:function(e)
{this.setState({loading:e}),this.props.on_loading&&this.props.on_loading(e)}},
{key:"set_in_library_state",value:function(e)
{this.setState({item:Object.assign({},this.state.item,{in_library:e})})}},
{key:"get_tooltip_text",value:function(){if(this.props.show_tooltip){var e=void
0;return this.state.item.in_library?
(e=I18n.t("shared.react.save_button.remove_from_saved_cap"),this.props.cta_remove||
e):(e=I18n.t("shared.react.save_button.save_for_later_cap"),this.props.cta_save||
e)}}},{key:"get_short_title",value:function(){return
this.state.item.short_title||""}},{key:"get_save_cta",value:function(){return
this.props.cta_save?
this.props.cta_save:I18n.t("shared.react.save_button.save_short_title_for_later_htm
l",{short_title:this.get_short_title()})}},{key:"get_remove_cta",value:function()
{return this.props.cta_remove?
this.props.cta_remove:I18n.t("shared.react.save_button.remove_short_title_from_save
d_html",{short_title:this.get_short_title()})}},
{key:"get_aria_text",value:function(){return this.state.item.in_library?
this.get_remove_cta():this.get_save_cta()}},
{key:"get_save_icon_class_name",value:function(){var
e=this.props.use_thick_icon?"2px":"1px",t=this.state.item.in_library?"saved":"save"
;return"icon icon-ic_"+t+"_for_later_"+e}},{key:"handle_xhr_fail",value:function(e)
{Scribd.Flasher.standard("error",e)}},
{key:"handle_update_add_success",value:function(e,t){this.set_in_library_state(!
0),this.props.on_save&&this.props.on_save(e,t)}},
{key:"handle_update_add_failure",value:function(){this.set_in_library_state(!
1),this.handle_xhr_fail(I18n.t("shared.react.save_button.failed_to_save_title"))}},
{key:"handle_update_remove_success",value:function(e,t){this.set_in_library_state(!
1),this.props.on_remove&&this.props.on_remove(e,t)}},
{key:"handle_update_remove_failure",value:function(){this.set_in_library_state(!
0),this.handle_xhr_fail(I18n.t("shared.react.save_button.failed_to_remove_title"))}
},{key:"handle_update_done",value:function(){this.set_loading(!1)}},
{key:"handle_update",value:function(e){this.state.item.in_library?
Scribd.Shared.LibraryAPI.remove(this.state.item.id).success(this.handle_update_remo
ve_success.bind(this,this.state.item.id,e)).fail(this.handle_update_remove_success)
.always(this.handle_update_done):Scribd.Shared.LibraryAPI.add(this.state.item.id).s
uccess(this.handle_update_add_success.bind(this,this.state.item.id,e)).fail(this.ha
ndle_update_add_failure).always(this.handle_update_done)}},
{key:"handle_in_collection_check_success",value:function(e){var
t=this;e.collection_ids.length?(this.set_loading(!
1),Scribd.Lightbox.open_react("delete_item_in_list",React.createElement(Scribd.Shar
ed.React.Lists.Modals.DeleteItemInList,
{item_id:this.state.item.id,on_confirm:function(){return
t.handle_update(e.collection_ids)},on_loading:this.props.on_loading}))):this.handle
_update(e.collection_ids)}},
{key:"handle_in_collection_check_failure",value:function()
{this.handle_xhr_fail(I18n.t("shared.react.save_button.failed_to_remove_title")),th
is.set_loading(!1)}},{key:"handle_save",value:function()
{Scribd.kill_tooltips(),this.set_loading(!
0),this.state.item.in_library&&this.should_confirm_delete()?
Scribd.Shared.CollectionAPI.collections_containing_document(this.state.item.id).suc
cess(this.handle_in_collection_check_success).fail(this.handle_in_collection_check_
failure):this.handle_update([])}},{key:"handle_save_button_click",value:function(e)
{this.props.on_click&&this.props.on_click(e),this.track_rats("library_btn:add_to_li
brary:click",
{doc_id:this.state.item.id,action:this.state.item.in_library?"remove":"add"}),Scrib
d.with_login({join_header_text:I18n.t("shared.react.save_button.sign_up_to_save"),i
nitial_view:"join",join_type:"pmp",track_location:"add_to_library"},this.handle_sav
e)}},{key:"create_aria_html",value:function()
{return{__html:this.get_aria_text()}}},{key:"render_icon",value:function(){var
e=this.props.show_icon?this.get_save_icon_class_name():"";return
React.createElement("span",{className:e,"aria-hidden":"true",key:"icon"})}},
{key:"render_aria_text",value:function(){return React.createElement("span",
{dangerouslySetInnerHTML:this.create_aria_html(),className:classNames({visually_hid
den:!this.props.show_text}),key:"text"})}},{key:"render_content",value:function()
{return React.createElement(d.default,
{type:"button",className:classNames("edit_saved_btn",
{loading:this.state.loading,disabled:this.state.loading,text_btn:this.props.text_bt
n,icon_only:!
this.props.show_text}),cta_save:this.get_save_cta(),cta_remove:this.get_remove_cta(
),onClick:this.handle_save_button_click,"data-
tooltip":this.get_tooltip_text(),"data-
label":this.get_tooltip_text()},this.render_icon(),this.render_aria_text())}}]),t}
(l.default);p.COOKIE_NAME="library:confirm_delete_item_in_list",p.propTypes={classe
s:_.string,cta_remove:_.string,cta_save:_.string,item:_.object.isRequired,on_click:
_.func,on_loading:_.func,on_remove:_.func,on_save:_.func,show_icon:_.bool,show_text
:_.bool,show_tooltip:_.bool,text_btn:_.bool,use_thick_icon:_.bool},p.defaultProps={
cta_remove:"",cta_save:"",show_icon:!0,show_text:!0,show_tooltip:!0,text_btn:!
0,use_thick_icon:!
1},t.default=p,Scribd.addComponent("Shared.React.SaveButton",p)},function(e,t,n)
{"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t)
{if(!(e instanceof t))throw new TypeError("Cannot call a class as a
function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been
initialised - super() hasn't been called");return!t||"object"!=typeof
t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw
new TypeError("Super expression must either be null or a function, not "+typeof
t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!
1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}();n(6);var
c=n(0),l=r(c),u=n(1),d=r(u),_=n(2),p=r(_),h=React.PropTypes,f=function(e){function
t(e){i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_cells_base"),n.state={undo_loading:!
1,removed:n.props.item.removed},n}return a(t,e),s(t,
[{key:"enclosing_tag",value:function(){return"li"}},
{key:"enclosing_element_args",value:function(){return{"data-
track_uuid":this.props.rec_uuid,"data-track":!0}}},
{key:"component_classes",value:function(){return"react_cell_base object_cell
list_item "+this.props.item.type}},{key:"componentDidMount",value:function(){var
e=this;$(this.container).on("shared:react:lists:list_item:removed",function(t,n)
{e.setState({removed:n})})}},{key:"componentDidUpdate",value:function(e,t)
{this.state.removed?$(this.container).find(".undo_btn").focus():t.removed&&$
(this.container).find(".list_anchor").focus()}},
{key:"handle_removed_cell_click",value:function(){var
e=this;this.setState({undo_loading:!
0}),this.props.undo_xhr(this.props.item).success(function(){$
(e.container).trigger("shared:react:lists:list_item:removed",!1)}).fail(function()
{$(e.container).trigger("shared:react:lists:list_item:removed",!
0),Scribd.Flasher.standard("error",I18n.t("shared.react.cells.base.failed_to_undo_a
ction"))}).always(function(){e.setState({undo_loading:!1})})}},
{key:"get_content_url",value:function(){return this.props.item.open_in_reader||!
["book","audiobook","sheet_music"].includes(this.props.item.type)?
this.props.item.reader_url:this.props.item.book_preview_url}},
{key:"get_image_aria_label_text",value:function(){if(this.props.item.type){var
e=this.props.item.type.toLowerCase(),t={book:I18n.t("shared.react.cells.base.book")
,audiobook:I18n.t("shared.react.cells.base.audiobook"),publication_issue:I18n.t("sh
ared.react.cells.base.publication_issue"),sheet_music:I18n.t("shared.react.cells.ba
se.sheet_music"),article:I18n.t("shared.react.cells.base.article_in_props_item_auth
or",{props_item_author:this.props.item.author})};return t.hasOwnProperty(e)?
t[e]:e}}},{key:"get_image_alt_text",value:function(){return
this.props.item.title}},{key:"should_open_in_new_window",value:function(){return
this.should_show_book_preview_lightbox()?void
0:this.props.search_open_non_book_preview_items_in_new_tab?!
0:"audiobook"===this.props.item.type&&this.props.item.open_in_reader?!0:void 0}},
{key:"should_show_book_preview_lightbox",value:function(){return
this.props.item.open_in_reader?!1:Scribd.is_mobile?!
1:this.props.item.is_book?"article"===this.props.item.type?!
1:"publication_issue"===this.props.item.type?!
1:"sheet_music_chapter"===this.props.item.type?!1:!0:!1}},
{key:"render_removed",value:function(){return React.createElement("div",
{className:"undo_container"},React.createElement("div",
{className:"undo"},React.createElement("div",
{className:"undo_btn_label"},React.createElement("span",null,this.props.undo_label)
),React.createElement(d.default,
{ref:this.props.item.id,type:"button",text:I18n.t("shared.react.cells.base.undo"),d
isabled:this.state.undo_loading,"aria-
disabled":this.state.undo_loading,tabIndex:"0",className:classNames("undo_btn
text_btn",
{loading:this.state.undo_loading}),onClick:this.handle_removed_cell_click.bind(this
)},React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.props_item_title_-
_removed_from_saved",{props_item_title:this.props.item.title})))))}},
{key:"render_new_indicator",value:function(){return this.props.item.new_item&&!
this.props.is_finished?React.createElement("span",
{className:"new_items_indicator"},React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.new"))):void 0}},
{key:"render_new_window_text",value:function(){return
this.should_open_in_new_window()?React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.opens_in_new_window")
):void 0}},{key:"render_title",value:function(){return React.createElement("div",
{className:"title document_title"},this.props.item.title)}},
{key:"render_author",value:function(){var e=arguments.length>0&&void 0!
==arguments[0]?arguments[0]:!0,t=React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.author"));return
React.createElement("div",{className:"author_container"},e?
t:null,React.createElement("span",{className:"author"},this.props.item.author))}},
{key:"render_reading_progress",value:function(){return
this.props.item.reading_progress_bar_props?
React.createElement(Scribd.R.Shared.React.ReadingProgressBar,this.props.item.readin
g_progress_bar_props):void 0}},{key:"render_star_ratings",value:function(){return
this.props.item.star_rating_props?
React.createElement(Scribd.R.Shared.React.StarRatings,this.props.item.star_rating_p
rops):void 0}},{key:"render_image_flag",value:function(){return
this.props.item.flag?"scribd_select"===this.props.item.flag.type?
React.createElement("div",{className:"flag
is_scribd_select"},React.createElement("span",{className:"icon icon-
ic_scribd_badge_logo","aria-hidden":"true"}),React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.scribd_selects"))):th
is.props.item.flag.label?React.createElement("div",{className:"banner_flag flag
"+this.props.item.flag.classes},this.props.item.flag.label):void 0:void 0}},
{key:"render_image_cta",value:function(){if(!this.props.hide_hover_cta)
{if(this.props.item.open_in_reader){var
e=I18n.t("shared.react.cells.base.read_now");return"audiobook"===this.props.item.ty
pe&&I18n.t("shared.react.cells.base.listen_now"),React.createElement("div",
{role:"presentation",className:"hover_cta reader"},e)}return
React.createElement("div",{role:"presentation",className:"hover_cta
book_page"},I18n.t("shared.react.cells.base.about_title"))}}},
{key:"render_image",value:function(){var e=arguments.length>0&&void 0!
==arguments[0]?arguments[0]:!0;return React.createElement("div",
{className:classNames("image",
{is_book:this.props.item.is_book}),key:"image_"+this.props.item.id},this.render_ima
ge_flag(),React.createElement(Scribd.R.Shared.React.DocumentImage,
{alt_text:this.get_image_alt_text(),aria_label_text:this.get_image_aria_label_text(
),image_url:this.props.item.image_url,lazy_load:e,retina_image_url:this.props.item.
retina_image_url,use_in_carousel:this.props.use_in_carousel}),this.render_image_cta
())}},{key:"render_marked_as_finished",value:function(){return
this.props.is_finished?React.createElement("div",
{className:"marked_as_finished_container"},React.createElement("span",
{className:"icon icon-ic_finished_small","aria-
hidden":"true"}),React.createElement("span",
{className:"finished_text"},I18n.t("shared.react.cells.base.finished"))):void 0}},
{key:"render_reading_time_estimate",value:function(){var e=arguments.length>0&&void
0!==arguments[0]?arguments[0]:!0;if(this.props.item.read_time_estimate){var
t=React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.total"));return
React.createElement("div",
{className:"read_time_estimate"},React.createElement("span",null,React.createElemen
t("span",null,this.props.item.read_time_estimate),e?t:null))}}},
{key:"render_availability_notice",value:function()
{return"list"===this.props.display_type&&this.props.item.availability?
React.createElement(Scribd.Shared.AvailabilityNotice,
{icon:this.props.item.availability.icon,text:this.props.item.availability.text,flag
_class:this.props.item.flag.classes}):void 0}},
{key:"render_author_container",value:function(e){return React.createElement("div",
{className:"author_container"},React.createElement("span",
{className:"author"},e))}},{key:"render_secondary_subtitle",value:function(){var
e=this.props.item.secondary_subtitle;if(e)return this.render_author_container(e)}},
{key:"render_series_name",value:function(){var e=this.props.item.series;if(e)return
this.render_author_container(I18n.t("shared.react.cells.base.series"))}},
{key:"render_content_progress",value:function(){var
e=this.props.item.content_progress;if(e){var
t=I18n.t("shared.react.cells.base.content_to_go",{duration:e});return
this.render_author_container(t)}}},{key:"render_controls",value:function()
{if(this.props.controls)return this.props.controls;if(!this.props.no_controls){var
e=!this.props.item.star_rating_props;return React.createElement("div",
{className:"controls"},React.createElement(p.default,
{item:this.props.item,show_text:!1,classes:classNames("",
{no_star_ratings:e})}))}return null}},
{key:"render_list_item_content",value:function(){}},
{key:"render_list_item_wrapper",value:function(){return React.createElement("div",
{className:"list_anchor_container"},React.createElement("a",
{className:classNames("list_anchor",
{book_link:this.should_show_book_preview_lightbox(),new_item:this.props.item.new_it
em}),onClick:this.props.handle_list_anchor_click,href:this.get_content_url(),id:thi
s.props.item.id,target:this.should_open_in_new_window()?"_blank":null},this.render_
new_indicator(),this.render_list_item_content(),this.render_new_window_text()),this
.render_controls())}},{key:"render_content",value:function(){return
this.state.removed?this.render_removed():this.render_list_item_wrapper()}}]),t}
(l.default);f.propTypes={controls:h.element,display_type:h.string,is_finished:h.boo
l,handle_list_anchor_click:h.func,item:h.shape({author:h.string.isRequired,book_pre
view_url:h.string,description:h.string,flag:h.shape({classes:h.string,label:h.strin
g,type:h.string.isRequired}),id:h.number.isRequired,image_url:h.string.isRequired,i
n_library:h.bool,is_book:h.bool,interest:h.string,new_item:h.bool,open_in_reader:h.
bool,publication_date:h.string,read_time_estimate:h.string,reader_url:h.string,read
ing_progress_bar_props:h.object,retina_image_url:h.string.isRequired,series:h.bool,
short_title:h.string,star_rating_props:h.object,title:h.string.isRequired,type:h.st
ring.isRequired}).isRequired,narrow:h.bool,no_controls:h.bool,paused:h.bool,rec_uui
d:h.string,undo_label:h.string,undo_xhr:h.func,use_in_carousel:h.bool,search_open_n
on_book_preview_items_in_new_tab:h.bool,tracking_module:h.shape({rc_callback:h.func
,rec_id:h.string,rv_callback:h.func,tracker:h.object,view_id:h.string})},f.defaultP
rops={no_controls:!1,series:!1},t.default=f},function(){},,function()
{},,,,,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:
{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call
a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't
been initialised - super() hasn't been called");return!t||"object"!=typeof
t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw
new TypeError("Super expression must either be null or a function, not "+typeof
t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!
1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(3),l=r(c);n(15);var
u=(React.PropTypes,function(e){function t(e){i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_cells_issue"),n}return a(t,e),s(t,
[{key:"render_reading_time_estimate",value:function(){return
this.props.item.read_time_estimate?React.createElement("span",
{className:"read_time_estimate"},I18n.t("shared.react.cells.issue.issue")):void
0}},{key:"render_list_item_content",value:function()
{return[this.render_image(),React.createElement("div",
{className:"metadata",key:"metadata"},React.createElement("div",
{className:"title_author"},this.render_author(!
1),this.render_title()),this.render_reading_time_estimate())]}}]),t}
(l.default));t.default=u,Scribd.addComponent("Shared.React.Cells.Issue",u)},,,funct
ion(){}],[12]),(Scribd.translations=Scribd.translations||[]).push({en_US:{shared:
{react:{cells:{issue:{issue:"ISSUE"}}}}}});

/* app/views/shared/react/cells/document.jsxjs @ 1526073916 */
webpackJsonp([28,45,76],[,,function(e,t,n){"use strict";function r(e){return
e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new
TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return!
t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!
=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a
function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:
{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}();n(4);var
c=n(0),l=r(c),u=n(1),d=r(u),_=React.PropTypes,p=function(e){function t(e)
{i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_save_button"),n.state={item:n.props.item,load
ing:!1},n}return a(t,e),s(t,[{key:"component_classes",value:function(){return
classNames(this.props.classes,"save_button")}},
{key:"componentWillReceiveProps",value:function(e){e.item!
==this.props.item&&this.setState({item:e.item})}},
{key:"componentDidMount",value:function(){var e=new
CookieJar({expires:""});e.get(t.COOKIE_NAME)||e.put(t.COOKIE_NAME,!0)}},
{key:"should_confirm_delete",value:function(){return"true"===(new
CookieJar).get(t.COOKIE_NAME)}},{key:"set_loading",value:function(e)
{this.setState({loading:e}),this.props.on_loading&&this.props.on_loading(e)}},
{key:"set_in_library_state",value:function(e)
{this.setState({item:Object.assign({},this.state.item,{in_library:e})})}},
{key:"get_tooltip_text",value:function(){if(this.props.show_tooltip){var e=void
0;return this.state.item.in_library?
(e=I18n.t("shared.react.save_button.remove_from_saved_cap"),this.props.cta_remove||
e):(e=I18n.t("shared.react.save_button.save_for_later_cap"),this.props.cta_save||
e)}}},{key:"get_short_title",value:function(){return
this.state.item.short_title||""}},{key:"get_save_cta",value:function(){return
this.props.cta_save?
this.props.cta_save:I18n.t("shared.react.save_button.save_short_title_for_later_htm
l",{short_title:this.get_short_title()})}},{key:"get_remove_cta",value:function()
{return this.props.cta_remove?
this.props.cta_remove:I18n.t("shared.react.save_button.remove_short_title_from_save
d_html",{short_title:this.get_short_title()})}},
{key:"get_aria_text",value:function(){return this.state.item.in_library?
this.get_remove_cta():this.get_save_cta()}},
{key:"get_save_icon_class_name",value:function(){var
e=this.props.use_thick_icon?"2px":"1px",t=this.state.item.in_library?"saved":"save"
;return"icon icon-ic_"+t+"_for_later_"+e}},{key:"handle_xhr_fail",value:function(e)
{Scribd.Flasher.standard("error",e)}},
{key:"handle_update_add_success",value:function(e,t){this.set_in_library_state(!
0),this.props.on_save&&this.props.on_save(e,t)}},
{key:"handle_update_add_failure",value:function(){this.set_in_library_state(!
1),this.handle_xhr_fail(I18n.t("shared.react.save_button.failed_to_save_title"))}},
{key:"handle_update_remove_success",value:function(e,t){this.set_in_library_state(!
1),this.props.on_remove&&this.props.on_remove(e,t)}},
{key:"handle_update_remove_failure",value:function(){this.set_in_library_state(!
0),this.handle_xhr_fail(I18n.t("shared.react.save_button.failed_to_remove_title"))}
},{key:"handle_update_done",value:function(){this.set_loading(!1)}},
{key:"handle_update",value:function(e){this.state.item.in_library?
Scribd.Shared.LibraryAPI.remove(this.state.item.id).success(this.handle_update_remo
ve_success.bind(this,this.state.item.id,e)).fail(this.handle_update_remove_success)
.always(this.handle_update_done):Scribd.Shared.LibraryAPI.add(this.state.item.id).s
uccess(this.handle_update_add_success.bind(this,this.state.item.id,e)).fail(this.ha
ndle_update_add_failure).always(this.handle_update_done)}},
{key:"handle_in_collection_check_success",value:function(e){var
t=this;e.collection_ids.length?(this.set_loading(!
1),Scribd.Lightbox.open_react("delete_item_in_list",React.createElement(Scribd.Shar
ed.React.Lists.Modals.DeleteItemInList,
{item_id:this.state.item.id,on_confirm:function(){return
t.handle_update(e.collection_ids)},on_loading:this.props.on_loading}))):this.handle
_update(e.collection_ids)}},
{key:"handle_in_collection_check_failure",value:function()
{this.handle_xhr_fail(I18n.t("shared.react.save_button.failed_to_remove_title")),th
is.set_loading(!1)}},{key:"handle_save",value:function()
{Scribd.kill_tooltips(),this.set_loading(!
0),this.state.item.in_library&&this.should_confirm_delete()?
Scribd.Shared.CollectionAPI.collections_containing_document(this.state.item.id).suc
cess(this.handle_in_collection_check_success).fail(this.handle_in_collection_check_
failure):this.handle_update([])}},{key:"handle_save_button_click",value:function(e)
{this.props.on_click&&this.props.on_click(e),this.track_rats("library_btn:add_to_li
brary:click",
{doc_id:this.state.item.id,action:this.state.item.in_library?"remove":"add"}),Scrib
d.with_login({join_header_text:I18n.t("shared.react.save_button.sign_up_to_save"),i
nitial_view:"join",join_type:"pmp",track_location:"add_to_library"},this.handle_sav
e)}},{key:"create_aria_html",value:function()
{return{__html:this.get_aria_text()}}},{key:"render_icon",value:function(){var
e=this.props.show_icon?this.get_save_icon_class_name():"";return
React.createElement("span",{className:e,"aria-hidden":"true",key:"icon"})}},
{key:"render_aria_text",value:function(){return React.createElement("span",
{dangerouslySetInnerHTML:this.create_aria_html(),className:classNames({visually_hid
den:!this.props.show_text}),key:"text"})}},{key:"render_content",value:function()
{return React.createElement(d.default,
{type:"button",className:classNames("edit_saved_btn",
{loading:this.state.loading,disabled:this.state.loading,text_btn:this.props.text_bt
n,icon_only:!
this.props.show_text}),cta_save:this.get_save_cta(),cta_remove:this.get_remove_cta(
),onClick:this.handle_save_button_click,"data-
tooltip":this.get_tooltip_text(),"data-
label":this.get_tooltip_text()},this.render_icon(),this.render_aria_text())}}]),t}
(l.default);p.COOKIE_NAME="library:confirm_delete_item_in_list",p.propTypes={classe
s:_.string,cta_remove:_.string,cta_save:_.string,item:_.object.isRequired,on_click:
_.func,on_loading:_.func,on_remove:_.func,on_save:_.func,show_icon:_.bool,show_text
:_.bool,show_tooltip:_.bool,text_btn:_.bool,use_thick_icon:_.bool},p.defaultProps={
cta_remove:"",cta_save:"",show_icon:!0,show_text:!0,show_tooltip:!0,text_btn:!
0,use_thick_icon:!
1},t.default=p,Scribd.addComponent("Shared.React.SaveButton",p)},function(e,t,n)
{"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t)
{if(!(e instanceof t))throw new TypeError("Cannot call a class as a
function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been
initialised - super() hasn't been called");return!t||"object"!=typeof
t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw
new TypeError("Super expression must either be null or a function, not "+typeof
t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!
1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}();n(6);var
c=n(0),l=r(c),u=n(1),d=r(u),_=n(2),p=r(_),h=React.PropTypes,f=function(e){function
t(e){i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_cells_base"),n.state={undo_loading:!
1,removed:n.props.item.removed},n}return a(t,e),s(t,
[{key:"enclosing_tag",value:function(){return"li"}},
{key:"enclosing_element_args",value:function(){return{"data-
track_uuid":this.props.rec_uuid,"data-track":!0}}},
{key:"component_classes",value:function(){return"react_cell_base object_cell
list_item "+this.props.item.type}},{key:"componentDidMount",value:function(){var
e=this;$(this.container).on("shared:react:lists:list_item:removed",function(t,n)
{e.setState({removed:n})})}},{key:"componentDidUpdate",value:function(e,t)
{this.state.removed?$(this.container).find(".undo_btn").focus():t.removed&&$
(this.container).find(".list_anchor").focus()}},
{key:"handle_removed_cell_click",value:function(){var
e=this;this.setState({undo_loading:!
0}),this.props.undo_xhr(this.props.item).success(function(){$
(e.container).trigger("shared:react:lists:list_item:removed",!1)}).fail(function()
{$(e.container).trigger("shared:react:lists:list_item:removed",!
0),Scribd.Flasher.standard("error",I18n.t("shared.react.cells.base.failed_to_undo_a
ction"))}).always(function(){e.setState({undo_loading:!1})})}},
{key:"get_content_url",value:function(){return this.props.item.open_in_reader||!
["book","audiobook","sheet_music"].includes(this.props.item.type)?
this.props.item.reader_url:this.props.item.book_preview_url}},
{key:"get_image_aria_label_text",value:function(){if(this.props.item.type){var
e=this.props.item.type.toLowerCase(),t={book:I18n.t("shared.react.cells.base.book")
,audiobook:I18n.t("shared.react.cells.base.audiobook"),publication_issue:I18n.t("sh
ared.react.cells.base.publication_issue"),sheet_music:I18n.t("shared.react.cells.ba
se.sheet_music"),article:I18n.t("shared.react.cells.base.article_in_props_item_auth
or",{props_item_author:this.props.item.author})};return t.hasOwnProperty(e)?
t[e]:e}}},{key:"get_image_alt_text",value:function(){return
this.props.item.title}},{key:"should_open_in_new_window",value:function(){return
this.should_show_book_preview_lightbox()?void
0:this.props.search_open_non_book_preview_items_in_new_tab?!
0:"audiobook"===this.props.item.type&&this.props.item.open_in_reader?!0:void 0}},
{key:"should_show_book_preview_lightbox",value:function(){return
this.props.item.open_in_reader?!1:Scribd.is_mobile?!
1:this.props.item.is_book?"article"===this.props.item.type?!
1:"publication_issue"===this.props.item.type?!
1:"sheet_music_chapter"===this.props.item.type?!1:!0:!1}},
{key:"render_removed",value:function(){return React.createElement("div",
{className:"undo_container"},React.createElement("div",
{className:"undo"},React.createElement("div",
{className:"undo_btn_label"},React.createElement("span",null,this.props.undo_label)
),React.createElement(d.default,
{ref:this.props.item.id,type:"button",text:I18n.t("shared.react.cells.base.undo"),d
isabled:this.state.undo_loading,"aria-
disabled":this.state.undo_loading,tabIndex:"0",className:classNames("undo_btn
text_btn",
{loading:this.state.undo_loading}),onClick:this.handle_removed_cell_click.bind(this
)},React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.props_item_title_-
_removed_from_saved",{props_item_title:this.props.item.title})))))}},
{key:"render_new_indicator",value:function(){return this.props.item.new_item&&!
this.props.is_finished?React.createElement("span",
{className:"new_items_indicator"},React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.new"))):void 0}},
{key:"render_new_window_text",value:function(){return
this.should_open_in_new_window()?React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.opens_in_new_window")
):void 0}},{key:"render_title",value:function(){return React.createElement("div",
{className:"title document_title"},this.props.item.title)}},
{key:"render_author",value:function(){var e=arguments.length>0&&void 0!
==arguments[0]?arguments[0]:!0,t=React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.author"));return
React.createElement("div",{className:"author_container"},e?
t:null,React.createElement("span",{className:"author"},this.props.item.author))}},
{key:"render_reading_progress",value:function(){return
this.props.item.reading_progress_bar_props?
React.createElement(Scribd.R.Shared.React.ReadingProgressBar,this.props.item.readin
g_progress_bar_props):void 0}},{key:"render_star_ratings",value:function(){return
this.props.item.star_rating_props?
React.createElement(Scribd.R.Shared.React.StarRatings,this.props.item.star_rating_p
rops):void 0}},{key:"render_image_flag",value:function(){return
this.props.item.flag?"scribd_select"===this.props.item.flag.type?
React.createElement("div",{className:"flag
is_scribd_select"},React.createElement("span",{className:"icon icon-
ic_scribd_badge_logo","aria-hidden":"true"}),React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.scribd_selects"))):th
is.props.item.flag.label?React.createElement("div",{className:"banner_flag flag
"+this.props.item.flag.classes},this.props.item.flag.label):void 0:void 0}},
{key:"render_image_cta",value:function(){if(!this.props.hide_hover_cta)
{if(this.props.item.open_in_reader){var
e=I18n.t("shared.react.cells.base.read_now");return"audiobook"===this.props.item.ty
pe&&I18n.t("shared.react.cells.base.listen_now"),React.createElement("div",
{role:"presentation",className:"hover_cta reader"},e)}return
React.createElement("div",{role:"presentation",className:"hover_cta
book_page"},I18n.t("shared.react.cells.base.about_title"))}}},
{key:"render_image",value:function(){var e=arguments.length>0&&void 0!
==arguments[0]?arguments[0]:!0;return React.createElement("div",
{className:classNames("image",
{is_book:this.props.item.is_book}),key:"image_"+this.props.item.id},this.render_ima
ge_flag(),React.createElement(Scribd.R.Shared.React.DocumentImage,
{alt_text:this.get_image_alt_text(),aria_label_text:this.get_image_aria_label_text(
),image_url:this.props.item.image_url,lazy_load:e,retina_image_url:this.props.item.
retina_image_url,use_in_carousel:this.props.use_in_carousel}),this.render_image_cta
())}},{key:"render_marked_as_finished",value:function(){return
this.props.is_finished?React.createElement("div",
{className:"marked_as_finished_container"},React.createElement("span",
{className:"icon icon-ic_finished_small","aria-
hidden":"true"}),React.createElement("span",
{className:"finished_text"},I18n.t("shared.react.cells.base.finished"))):void 0}},
{key:"render_reading_time_estimate",value:function(){var e=arguments.length>0&&void
0!==arguments[0]?arguments[0]:!0;if(this.props.item.read_time_estimate){var
t=React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.total"));return
React.createElement("div",
{className:"read_time_estimate"},React.createElement("span",null,React.createElemen
t("span",null,this.props.item.read_time_estimate),e?t:null))}}},
{key:"render_availability_notice",value:function()
{return"list"===this.props.display_type&&this.props.item.availability?
React.createElement(Scribd.Shared.AvailabilityNotice,
{icon:this.props.item.availability.icon,text:this.props.item.availability.text,flag
_class:this.props.item.flag.classes}):void 0}},
{key:"render_author_container",value:function(e){return React.createElement("div",
{className:"author_container"},React.createElement("span",
{className:"author"},e))}},{key:"render_secondary_subtitle",value:function(){var
e=this.props.item.secondary_subtitle;if(e)return this.render_author_container(e)}},
{key:"render_series_name",value:function(){var e=this.props.item.series;if(e)return
this.render_author_container(I18n.t("shared.react.cells.base.series"))}},
{key:"render_content_progress",value:function(){var
e=this.props.item.content_progress;if(e){var
t=I18n.t("shared.react.cells.base.content_to_go",{duration:e});return
this.render_author_container(t)}}},{key:"render_controls",value:function()
{if(this.props.controls)return this.props.controls;if(!this.props.no_controls){var
e=!this.props.item.star_rating_props;return React.createElement("div",
{className:"controls"},React.createElement(p.default,
{item:this.props.item,show_text:!1,classes:classNames("",
{no_star_ratings:e})}))}return null}},
{key:"render_list_item_content",value:function(){}},
{key:"render_list_item_wrapper",value:function(){return React.createElement("div",
{className:"list_anchor_container"},React.createElement("a",
{className:classNames("list_anchor",
{book_link:this.should_show_book_preview_lightbox(),new_item:this.props.item.new_it
em}),onClick:this.props.handle_list_anchor_click,href:this.get_content_url(),id:thi
s.props.item.id,target:this.should_open_in_new_window()?"_blank":null},this.render_
new_indicator(),this.render_list_item_content(),this.render_new_window_text()),this
.render_controls())}},{key:"render_content",value:function(){return
this.state.removed?this.render_removed():this.render_list_item_wrapper()}}]),t}
(l.default);f.propTypes={controls:h.element,display_type:h.string,is_finished:h.boo
l,handle_list_anchor_click:h.func,item:h.shape({author:h.string.isRequired,book_pre
view_url:h.string,description:h.string,flag:h.shape({classes:h.string,label:h.strin
g,type:h.string.isRequired}),id:h.number.isRequired,image_url:h.string.isRequired,i
n_library:h.bool,is_book:h.bool,interest:h.string,new_item:h.bool,open_in_reader:h.
bool,publication_date:h.string,read_time_estimate:h.string,reader_url:h.string,read
ing_progress_bar_props:h.object,retina_image_url:h.string.isRequired,series:h.bool,
short_title:h.string,star_rating_props:h.object,title:h.string.isRequired,type:h.st
ring.isRequired}).isRequired,narrow:h.bool,no_controls:h.bool,paused:h.bool,rec_uui
d:h.string,undo_label:h.string,undo_xhr:h.func,use_in_carousel:h.bool,search_open_n
on_book_preview_items_in_new_tab:h.bool,tracking_module:h.shape({rc_callback:h.func
,rec_id:h.string,rv_callback:h.func,tracker:h.object,view_id:h.string})},f.defaultP
rops={no_controls:!1,series:!1},t.default=f},function(){},,function()
{},,,,,,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:
{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call
a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't
been initialised - super() hasn't been called");return!t||"object"!=typeof
t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw
new TypeError("Super expression must either be null or a function, not "+typeof
t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!
1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}(),c=function h(e,t,n)
{null===e&&(e=Function.prototype);var
r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var
i=Object.getPrototypeOf(e);return null===i?void 0:h(i,t,n)}if("value"in r)return
r.value;var o=r.get;return void 0===o?void
0:o.call(n)},l=n(3),u=r(l),d=n(2),_=r(d);n(16);var p=(React.PropTypes,function(e)
{function t(e){i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_cells_document"),n}return a(t,e),s(t,
[{key:"handle_download_click",value:function(e,t){return
this.track_rats("search:download_button:click",{document_id:t})}},
{key:"render_reading_progress",value:function()
{return["sheet_music","sheet_music_chapter"].includes(this.props.item.type)?void
0:c(t.prototype.__proto__||
Object.getPrototypeOf(t.prototype),"render_reading_progress",this).call(this)}},
{key:"render_star_ratings",value:function()
{return"sheet_music_chapter"===this.props.item.ty
pe?c(t.prototype.__proto__||
Object.getPrototypeOf(t.prototype),"render_star_ratings",this).call(this):void 0}},
{key:"render_upvotes",value:function(){return
this.props.item.upvote_props&&"sheet_music_chapter"!==this.props.item.type?
React.createElement(Scribd.R.Shared.React.Upvotes,Object.assign({},this.props.item.
upvote_props,{use_in_carousel:this.props.use_in_carousel})):void 0}},
{key:"render_controls",value:function(){return this.props.controls?
this.props.controls:this.props.no_controls?void 0:React.createElement("div",
{className:"controls"},React.createElement(Scribd.Shared.React.DownloadButton,Objec
t.assign({},this.props.item.download_button_props,
{on_click:this.handle_download_click})),React.createElement(_.default,
{item:this.props.item,show_text:!1}))}},
{key:"render_list_item_content",value:function()
{return[this.render_image(),React.createElement("div",
{className:"metadata",key:"metadata_"+this.props.item.id},React.createElement("div"
,
{className:"title_author"},this.render_title(),this.render_author()),this.render_re
ading_progress(),this.render_star_ratings(),this.render_upvotes(),this.render_readi
ng_time_estimate())]}}]),t}
(u.default));t.default=p,Scribd.addComponent("Shared.React.Cells.Document",p)},,,fu
nction(){}],[13]);

/* app/views/shared/react/cells/book.jsxjs @ 1526073916 */
webpackJsonp([29,45,76],{18:function(e,t,n){"use strict";function r(e){return
e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new
TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return!
t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!
=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a
function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:
{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}(),c=function _(e,t,n)
{null===e&&(e=Function.prototype);var
r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var
i=Object.getPrototypeOf(e);return null===i?void 0:_(i,t,n)}if("value"in r)return
r.value;var o=r.get;return void 0===o?void 0:o.call(n)},l=n(3),u=r(l);n(19);var
d=(React.PropTypes,function(e){function t(e){i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_cells_book"),n}return a(t,e),s(t,
[{key:"get_image_aria_label_text",value:function(){var e=c(t.prototype.__proto__||
Object.getPrototypeOf(t.prototype),"get_image_aria_label_text",this).call(this);ret
urn this.props.item.series&&(e+=" series"),e}},
{key:"render_list_item_content",value:function()
{return[this.render_image(),React.createElement("div",
{className:"metadata",key:"metadata_"+this.props.item.id},React.createElement("div"
,
{className:"title_author"},this.render_availability_notice(),this.render_title(),th
is.render_author()),this.render_reading_progress(),this.render_star_ratings(),this.
render_reading_time_estimate())]}}]),t}
(u.default));t.default=d,Scribd.addComponent("Shared.React.Cells.Book",d)},19:funct
ion(){},2:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:
{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call
a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't
been initialised - super() hasn't been called");return!t||"object"!=typeof
t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw
new TypeError("Super expression must either be null or a function, not "+typeof
t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!
1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}();n(4);var
c=n(0),l=r(c),u=n(1),d=r(u),_=React.PropTypes,p=function(e){function t(e)
{i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_save_button"),n.state={item:n.props.item,load
ing:!1},n}return a(t,e),s(t,[{key:"component_classes",value:function(){return
classNames(this.props.classes,"save_button")}},
{key:"componentWillReceiveProps",value:function(e){e.item!
==this.props.item&&this.setState({item:e.item})}},
{key:"componentDidMount",value:function(){var e=new
CookieJar({expires:""});e.get(t.COOKIE_NAME)||e.put(t.COOKIE_NAME,!0)}},
{key:"should_confirm_delete",value:function(){return"true"===(new
CookieJar).get(t.COOKIE_NAME)}},{key:"set_loading",value:function(e)
{this.setState({loading:e}),this.props.on_loading&&this.props.on_loading(e)}},
{key:"set_in_library_state",value:function(e)
{this.setState({item:Object.assign({},this.state.item,{in_library:e})})}},
{key:"get_tooltip_text",value:function(){if(this.props.show_tooltip){var e=void
0;return this.state.item.in_library?
(e=I18n.t("shared.react.save_button.remove_from_saved_cap"),this.props.cta_remove||
e):(e=I18n.t("shared.react.save_button.save_for_later_cap"),this.props.cta_save||
e)}}},{key:"get_short_title",value:function(){return
this.state.item.short_title||""}},{key:"get_save_cta",value:function(){return
this.props.cta_save?
this.props.cta_save:I18n.t("shared.react.save_button.save_short_title_for_later_htm
l",{short_title:this.get_short_title()})}},{key:"get_remove_cta",value:function()
{return this.props.cta_remove?
this.props.cta_remove:I18n.t("shared.react.save_button.remove_short_title_from_save
d_html",{short_title:this.get_short_title()})}},
{key:"get_aria_text",value:function(){return this.state.item.in_library?
this.get_remove_cta():this.get_save_cta()}},
{key:"get_save_icon_class_name",value:function(){var
e=this.props.use_thick_icon?"2px":"1px",t=this.state.item.in_library?"saved":"save"
;return"icon icon-ic_"+t+"_for_later_"+e}},{key:"handle_xhr_fail",value:function(e)
{Scribd.Flasher.standard("error",e)}},
{key:"handle_update_add_success",value:function(e,t){this.set_in_library_state(!
0),this.props.on_save&&this.props.on_save(e,t)}},
{key:"handle_update_add_failure",value:function(){this.set_in_library_state(!
1),this.handle_xhr_fail(I18n.t("shared.react.save_button.failed_to_save_title"))}},
{key:"handle_update_remove_success",value:function(e,t){this.set_in_library_state(!
1),this.props.on_remove&&this.props.on_remove(e,t)}},
{key:"handle_update_remove_failure",value:function(){this.set_in_library_state(!
0),this.handle_xhr_fail(I18n.t("shared.react.save_button.failed_to_remove_title"))}
},{key:"handle_update_done",value:function(){this.set_loading(!1)}},
{key:"handle_update",value:function(e){this.state.item.in_library?
Scribd.Shared.LibraryAPI.remove(this.state.item.id).success(this.handle_update_remo
ve_success.bind(this,this.state.item.id,e)).fail(this.handle_update_remove_success)
.always(this.handle_update_done):Scribd.Shared.LibraryAPI.add(this.state.item.id).s
uccess(this.handle_update_add_success.bind(this,this.state.item.id,e)).fail(this.ha
ndle_update_add_failure).always(this.handle_update_done)}},
{key:"handle_in_collection_check_success",value:function(e){var
t=this;e.collection_ids.length?(this.set_loading(!
1),Scribd.Lightbox.open_react("delete_item_in_list",React.createElement(Scribd.Shar
ed.React.Lists.Modals.DeleteItemInList,
{item_id:this.state.item.id,on_confirm:function(){return
t.handle_update(e.collection_ids)},on_loading:this.props.on_loading}))):this.handle
_update(e.collection_ids)}},
{key:"handle_in_collection_check_failure",value:function()
{this.handle_xhr_fail(I18n.t("shared.react.save_button.failed_to_remove_title")),th
is.set_loading(!1)}},{key:"handle_save",value:function()
{Scribd.kill_tooltips(),this.set_loading(!
0),this.state.item.in_library&&this.should_confirm_delete()?
Scribd.Shared.CollectionAPI.collections_containing_document(this.state.item.id).suc
cess(this.handle_in_collection_check_success).fail(this.handle_in_collection_check_
failure):this.handle_update([])}},{key:"handle_save_button_click",value:function(e)
{this.props.on_click&&this.props.on_click(e),this.track_rats("library_btn:add_to_li
brary:click",
{doc_id:this.state.item.id,action:this.state.item.in_library?"remove":"add"}),Scrib
d.with_login({join_header_text:I18n.t("shared.react.save_button.sign_up_to_save"),i
nitial_view:"join",join_type:"pmp",track_location:"add_to_library"},this.handle_sav
e)}},{key:"create_aria_html",value:function()
{return{__html:this.get_aria_text()}}},{key:"render_icon",value:function(){var
e=this.props.show_icon?this.get_save_icon_class_name():"";return
React.createElement("span",{className:e,"aria-hidden":"true",key:"icon"})}},
{key:"render_aria_text",value:function(){return React.createElement("span",
{dangerouslySetInnerHTML:this.create_aria_html(),className:classNames({visually_hid
den:!this.props.show_text}),key:"text"})}},{key:"render_content",value:function()
{return React.createElement(d.default,
{type:"button",className:classNames("edit_saved_btn",
{loading:this.state.loading,disabled:this.state.loading,text_btn:this.props.text_bt
n,icon_only:!
this.props.show_text}),cta_save:this.get_save_cta(),cta_remove:this.get_remove_cta(
),onClick:this.handle_save_button_click,"data-
tooltip":this.get_tooltip_text(),"data-
label":this.get_tooltip_text()},this.render_icon(),this.render_aria_text())}}]),t}
(l.default);p.COOKIE_NAME="library:confirm_delete_item_in_list",p.propTypes={classe
s:_.string,cta_remove:_.string,cta_save:_.string,item:_.object.isRequired,on_click:
_.func,on_loading:_.func,on_remove:_.func,on_save:_.func,show_icon:_.bool,show_text
:_.bool,show_tooltip:_.bool,text_btn:_.bool,use_thick_icon:_.bool},p.defaultProps={
cta_remove:"",cta_save:"",show_icon:!0,show_text:!0,show_tooltip:!0,text_btn:!
0,use_thick_icon:!
1},t.default=p,Scribd.addComponent("Shared.React.SaveButton",p)},3:function(e,t,n)
{"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t)
{if(!(e instanceof t))throw new TypeError("Cannot call a class as a
function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been
initialised - super() hasn't been called");return!t||"object"!=typeof
t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw
new TypeError("Super expression must either be null or a function, not "+typeof
t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!
1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return
function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n(6);var
c=n(0),l=r(c),u=n(1),d=r(u),_=n(2),p=r(_),h=React.PropTypes,f=function(e){function
t(e){i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_cells_base"),n.state={undo_loading:!
1,removed:n.props.item.removed},n}return a(t,e),s(t,
[{key:"enclosing_tag",value:function(){return"li"}},
{key:"enclosing_element_args",value:function(){return{"data-
track_uuid":this.props.rec_uuid,"data-track":!0}}},
{key:"component_classes",value:function(){return"react_cell_base object_cell
list_item "+this.props.item.type}},{key:"componentDidMount",value:function(){var
e=this;$(this.container).on("shared:react:lists:list_item:removed",function(t,n)
{e.setState({removed:n})})}},{key:"componentDidUpdate",value:function(e,t)
{this.state.removed?$(this.container).find(".undo_btn").focus():t.removed&&$
(this.container).find(".list_anchor").focus()}},
{key:"handle_removed_cell_click",value:function(){var
e=this;this.setState({undo_loading:!
0}),this.props.undo_xhr(this.props.item).success(function(){$
(e.container).trigger("shared:react:lists:list_item:removed",!1)}).fail(function()
{$(e.container).trigger("shared:react:lists:list_item:removed",!
0),Scribd.Flasher.standard("error",I18n.t("shared.react.cells.base.failed_to_undo_a
ction"))}).always(function(){e.setState({undo_loading:!1})})}},
{key:"get_content_url",value:function(){return this.props.item.open_in_reader||!
["book","audiobook","sheet_music"].includes(this.props.item.type)?
this.props.item.reader_url:this.props.item.book_preview_url}},
{key:"get_image_aria_label_text",value:function(){if(this.props.item.type){var
e=this.props.item.type.toLowerCase(),t={book:I18n.t("shared.react.cells.base.book")
,audiobook:I18n.t("shared.react.cells.base.audiobook"),publication_issue:I18n.t("sh
ared.react.cells.base.publication_issue"),sheet_music:I18n.t("shared.react.cells.ba
se.sheet_music"),article:I18n.t("shared.react.cells.base.article_in_props_item_auth
or",{props_item_author:this.props.item.author})};return t.hasOwnProperty(e)?
t[e]:e}}},{key:"get_image_alt_text",value:function(){return
this.props.item.title}},{key:"should_open_in_new_window",value:function(){return
this.should_show_book_preview_lightbox()?void
0:this.props.search_open_non_book_preview_items_in_new_tab?!
0:"audiobook"===this.props.item.type&&this.props.item.open_in_reader?!0:void 0}},
{key:"should_show_book_preview_lightbox",value:function(){return
this.props.item.open_in_reader?!1:Scribd.is_mobile?!
1:this.props.item.is_book?"article"===this.props.item.type?!
1:"publication_issue"===this.props.item.type?!
1:"sheet_music_chapter"===this.props.item.type?!1:!0:!1}},
{key:"render_removed",value:function(){return React.createElement("div",
{className:"undo_container"},React.createElement("div",
{className:"undo"},React.createElement("div",
{className:"undo_btn_label"},React.createElement("span",null,this.props.undo_label)
),React.createElement(d.default,
{ref:this.props.item.id,type:"button",text:I18n.t("shared.react.cells.base.undo"),d
isabled:this.state.undo_loading,"aria-
disabled":this.state.undo_loading,tabIndex:"0",className:classNames("undo_btn
text_btn",
{loading:this.state.undo_loading}),onClick:this.handle_removed_cell_click.bind(this
)},React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.props_item_title_-
_removed_from_saved",{props_item_title:this.props.item.title})))))}},
{key:"render_new_indicator",value:function(){return this.props.item.new_item&&!
this.props.is_finished?React.createElement("span",
{className:"new_items_indicator"},React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.new"))):void 0}},
{key:"render_new_window_text",value:function(){return
this.should_open_in_new_window()?React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.opens_in_new_window")
):void 0}},{key:"render_title",value:function(){return React.createElement("div",
{className:"title document_title"},this.props.item.title)}},
{key:"render_author",value:function(){var e=arguments.length>0&&void 0!
==arguments[0]?arguments[0]:!0,t=React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.author"));return
React.createElement("div",{className:"author_container"},e?
t:null,React.createElement("span",{className:"author"},this.props.item.author))}},
{key:"render_reading_progress",value:function(){return
this.props.item.reading_progress_bar_props?
React.createElement(Scribd.R.Shared.React.ReadingProgressBar,this.props.item.readin
g_progress_bar_props):void 0}},{key:"render_star_ratings",value:function(){return
this.props.item.star_rating_props?
React.createElement(Scribd.R.Shared.React.StarRatings,this.props.item.star_rating_p
rops):void 0}},{key:"render_image_flag",value:function(){return
this.props.item.flag?"scribd_select"===this.props.item.flag.type?
React.createElement("div",{className:"flag
is_scribd_select"},React.createElement("span",{className:"icon icon-
ic_scribd_badge_logo","aria-hidden":"true"}),React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.scribd_selects"))):th
is.props.item.flag.label?React.createElement("div",{className:"banner_flag flag
"+this.props.item.flag.classes},this.props.item.flag.label):void 0:void 0}},
{key:"render_image_cta",value:function(){if(!this.props.hide_hover_cta)
{if(this.props.item.open_in_reader){var
e=I18n.t("shared.react.cells.base.read_now");return"audiobook"===this.props.item.ty
pe&&I18n.t("shared.react.cells.base.listen_now"),React.createElement("div",
{role:"presentation",className:"hover_cta reader"},e)}return
React.createElement("div",{role:"presentation",className:"hover_cta
book_page"},I18n.t("shared.react.cells.base.about_title"))}}},
{key:"render_image",value:function(){var e=arguments.length>0&&void 0!
==arguments[0]?arguments[0]:!0;return React.createElement("div",
{className:classNames("image",
{is_book:this.props.item.is_book}),key:"image_"+this.props.item.id},this.render_ima
ge_flag(),React.createElement(Scribd.R.Shared.React.DocumentImage,
{alt_text:this.get_image_alt_text(),aria_label_text:this.get_image_aria_label_text(
),image_url:this.props.item.image_url,lazy_load:e,retina_image_url:this.props.item.
retina_image_url,use_in_carousel:this.props.use_in_carousel}),this.render_image_cta
())}},{key:"render_marked_as_finished",value:function(){return
this.props.is_finished?React.createElement("div",
{className:"marked_as_finished_container"},React.createElement("span",
{className:"icon icon-ic_finished_small","aria-
hidden":"true"}),React.createElement("span",
{className:"finished_text"},I18n.t("shared.react.cells.base.finished"))):void 0}},
{key:"render_reading_time_estimate",value:function(){var e=arguments.length>0&&void
0!==arguments[0]?arguments[0]:!0;if(this.props.item.read_time_estimate){var
t=React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.total"));return
React.createElement("div",
{className:"read_time_estimate"},React.createElement("span",null,React.createElemen
t("span",null,this.props.item.read_time_estimate),e?t:null))}}},
{key:"render_availability_notice",value:function()
{return"list"===this.props.display_type&&this.props.item.availability?
React.createElement(Scribd.Shared.AvailabilityNotice,
{icon:this.props.item.availability.icon,text:this.props.item.availability.text,flag
_class:this.props.item.flag.classes}):void 0}},
{key:"render_author_container",value:function(e){return React.createElement("div",
{className:"author_container"},React.createElement("span",
{className:"author"},e))}},{key:"render_secondary_subtitle",value:function(){var
e=this.props.item.secondary_subtitle;if(e)return this.render_author_container(e)}},
{key:"render_series_name",value:function(){var e=this.props.item.series;if(e)return
this.render_author_container(I18n.t("shared.react.cells.base.series"))}},
{key:"render_content_progress",value:function(){var
e=this.props.item.content_progress;if(e){var
t=I18n.t("shared.react.cells.base.content_to_go",{duration:e});return
this.render_author_container(t)}}},{key:"render_controls",value:function()
{if(this.props.controls)return this.props.controls;if(!this.props.no_controls){var
e=!this.props.item.star_rating_props;return React.createElement("div",
{className:"controls"},React.createElement(p.default,
{item:this.props.item,show_text:!1,classes:classNames("",
{no_star_ratings:e})}))}return null}},
{key:"render_list_item_content",value:function(){}},
{key:"render_list_item_wrapper",value:function(){return React.createElement("div",
{className:"list_anchor_container"},React.createElement("a",
{className:classNames("list_anchor",
{book_link:this.should_show_book_preview_lightbox(),new_item:this.props.item.new_it
em}),onClick:this.props.handle_list_anchor_click,href:this.get_content_url(),id:thi
s.props.item.id,target:this.should_open_in_new_window()?"_blank":null},this.render_
new_indicator(),this.render_list_item_content(),this.render_new_window_text()),this
.render_controls())}},{key:"render_content",value:function(){return
this.state.removed?this.render_removed():this.render_list_item_wrapper()}}]),t}
(l.default);f.propTypes={controls:h.element,display_type:h.string,is_finished:h.boo
l,handle_list_anchor_click:h.func,item:h.shape({author:h.string.isRequired,book_pre
view_url:h.string,description:h.string,flag:h.shape({classes:h.string,label:h.strin
g,type:h.string.isRequired}),id:h.number.isRequired,image_url:h.string.isRequired,i
n_library:h.bool,is_book:h.bool,interest:h.string,new_item:h.bool,open_in_reader:h.
bool,publication_date:h.string,read_time_estimate:h.string,reader_url:h.string,read
ing_progress_bar_props:h.object,retina_image_url:h.string.isRequired,series:h.bool,
short_title:h.string,star_rating_props:h.object,title:h.string.isRequired,type:h.st
ring.isRequired}).isRequired,narrow:h.bool,no_controls:h.bool,paused:h.bool,rec_uui
d:h.string,undo_label:h.string,undo_xhr:h.func,use_in_carous
el:h.bool,search_open_non_book_preview_items_in_new_tab:h.bool,tracking_module:h.sh
ape({rc_callback:h.func,rec_id:h.string,rv_callback:h.func,tracker:h.object,view_id
:h.string})},f.defaultProps={no_controls:!1,series:!1},t.default=f},4:function()
{},6:function(){}},[18]);
/* app/views/shared/react/cells/article.jsxjs @ 1526073916 */
webpackJsonp([30,45,76],[,,function(e,t,n){"use strict";function r(e){return
e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new
TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return!
t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!
=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a
function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:
{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}();n(4);var
c=n(0),l=r(c),u=n(1),d=r(u),_=React.PropTypes,p=function(e){function t(e)
{i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_save_button"),n.state={item:n.props.item,load
ing:!1},n}return a(t,e),s(t,[{key:"component_classes",value:function(){return
classNames(this.props.classes,"save_button")}},
{key:"componentWillReceiveProps",value:function(e){e.item!
==this.props.item&&this.setState({item:e.item})}},
{key:"componentDidMount",value:function(){var e=new
CookieJar({expires:""});e.get(t.COOKIE_NAME)||e.put(t.COOKIE_NAME,!0)}},
{key:"should_confirm_delete",value:function(){return"true"===(new
CookieJar).get(t.COOKIE_NAME)}},{key:"set_loading",value:function(e)
{this.setState({loading:e}),this.props.on_loading&&this.props.on_loading(e)}},
{key:"set_in_library_state",value:function(e)
{this.setState({item:Object.assign({},this.state.item,{in_library:e})})}},
{key:"get_tooltip_text",value:function(){if(this.props.show_tooltip){var e=void
0;return this.state.item.in_library?
(e=I18n.t("shared.react.save_button.remove_from_saved_cap"),this.props.cta_remove||
e):(e=I18n.t("shared.react.save_button.save_for_later_cap"),this.props.cta_save||
e)}}},{key:"get_short_title",value:function(){return
this.state.item.short_title||""}},{key:"get_save_cta",value:function(){return
this.props.cta_save?
this.props.cta_save:I18n.t("shared.react.save_button.save_short_title_for_later_htm
l",{short_title:this.get_short_title()})}},{key:"get_remove_cta",value:function()
{return this.props.cta_remove?
this.props.cta_remove:I18n.t("shared.react.save_button.remove_short_title_from_save
d_html",{short_title:this.get_short_title()})}},
{key:"get_aria_text",value:function(){return this.state.item.in_library?
this.get_remove_cta():this.get_save_cta()}},
{key:"get_save_icon_class_name",value:function(){var
e=this.props.use_thick_icon?"2px":"1px",t=this.state.item.in_library?"saved":"save"
;return"icon icon-ic_"+t+"_for_later_"+e}},{key:"handle_xhr_fail",value:function(e)
{Scribd.Flasher.standard("error",e)}},
{key:"handle_update_add_success",value:function(e,t){this.set_in_library_state(!
0),this.props.on_save&&this.props.on_save(e,t)}},
{key:"handle_update_add_failure",value:function(){this.set_in_library_state(!
1),this.handle_xhr_fail(I18n.t("shared.react.save_button.failed_to_save_title"))}},
{key:"handle_update_remove_success",value:function(e,t){this.set_in_library_state(!
1),this.props.on_remove&&this.props.on_remove(e,t)}},
{key:"handle_update_remove_failure",value:function(){this.set_in_library_state(!
0),this.handle_xhr_fail(I18n.t("shared.react.save_button.failed_to_remove_title"))}
},{key:"handle_update_done",value:function(){this.set_loading(!1)}},
{key:"handle_update",value:function(e){this.state.item.in_library?
Scribd.Shared.LibraryAPI.remove(this.state.item.id).success(this.handle_update_remo
ve_success.bind(this,this.state.item.id,e)).fail(this.handle_update_remove_success)
.always(this.handle_update_done):Scribd.Shared.LibraryAPI.add(this.state.item.id).s
uccess(this.handle_update_add_success.bind(this,this.state.item.id,e)).fail(this.ha
ndle_update_add_failure).always(this.handle_update_done)}},
{key:"handle_in_collection_check_success",value:function(e){var
t=this;e.collection_ids.length?(this.set_loading(!
1),Scribd.Lightbox.open_react("delete_item_in_list",React.createElement(Scribd.Shar
ed.React.Lists.Modals.DeleteItemInList,
{item_id:this.state.item.id,on_confirm:function(){return
t.handle_update(e.collection_ids)},on_loading:this.props.on_loading}))):this.handle
_update(e.collection_ids)}},
{key:"handle_in_collection_check_failure",value:function()
{this.handle_xhr_fail(I18n.t("shared.react.save_button.failed_to_remove_title")),th
is.set_loading(!1)}},{key:"handle_save",value:function()
{Scribd.kill_tooltips(),this.set_loading(!
0),this.state.item.in_library&&this.should_confirm_delete()?
Scribd.Shared.CollectionAPI.collections_containing_document(this.state.item.id).suc
cess(this.handle_in_collection_check_success).fail(this.handle_in_collection_check_
failure):this.handle_update([])}},{key:"handle_save_button_click",value:function(e)
{this.props.on_click&&this.props.on_click(e),this.track_rats("library_btn:add_to_li
brary:click",
{doc_id:this.state.item.id,action:this.state.item.in_library?"remove":"add"}),Scrib
d.with_login({join_header_text:I18n.t("shared.react.save_button.sign_up_to_save"),i
nitial_view:"join",join_type:"pmp",track_location:"add_to_library"},this.handle_sav
e)}},{key:"create_aria_html",value:function()
{return{__html:this.get_aria_text()}}},{key:"render_icon",value:function(){var
e=this.props.show_icon?this.get_save_icon_class_name():"";return
React.createElement("span",{className:e,"aria-hidden":"true",key:"icon"})}},
{key:"render_aria_text",value:function(){return React.createElement("span",
{dangerouslySetInnerHTML:this.create_aria_html(),className:classNames({visually_hid
den:!this.props.show_text}),key:"text"})}},{key:"render_content",value:function()
{return React.createElement(d.default,
{type:"button",className:classNames("edit_saved_btn",
{loading:this.state.loading,disabled:this.state.loading,text_btn:this.props.text_bt
n,icon_only:!
this.props.show_text}),cta_save:this.get_save_cta(),cta_remove:this.get_remove_cta(
),onClick:this.handle_save_button_click,"data-
tooltip":this.get_tooltip_text(),"data-
label":this.get_tooltip_text()},this.render_icon(),this.render_aria_text())}}]),t}
(l.default);p.COOKIE_NAME="library:confirm_delete_item_in_list",p.propTypes={classe
s:_.string,cta_remove:_.string,cta_save:_.string,item:_.object.isRequired,on_click:
_.func,on_loading:_.func,on_remove:_.func,on_save:_.func,show_icon:_.bool,show_text
:_.bool,show_tooltip:_.bool,text_btn:_.bool,use_thick_icon:_.bool},p.defaultProps={
cta_remove:"",cta_save:"",show_icon:!0,show_text:!0,show_tooltip:!0,text_btn:!
0,use_thick_icon:!
1},t.default=p,Scribd.addComponent("Shared.React.SaveButton",p)},function(e,t,n)
{"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t)
{if(!(e instanceof t))throw new TypeError("Cannot call a class as a
function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been
initialised - super() hasn't been called");return!t||"object"!=typeof
t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw
new TypeError("Super expression must either be null or a function, not "+typeof
t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!
1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}();n(6);var
c=n(0),l=r(c),u=n(1),d=r(u),_=n(2),p=r(_),h=React.PropTypes,f=function(e){function
t(e){i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_cells_base"),n.state={undo_loading:!
1,removed:n.props.item.removed},n}return a(t,e),s(t,
[{key:"enclosing_tag",value:function(){return"li"}},
{key:"enclosing_element_args",value:function(){return{"data-
track_uuid":this.props.rec_uuid,"data-track":!0}}},
{key:"component_classes",value:function(){return"react_cell_base object_cell
list_item "+this.props.item.type}},{key:"componentDidMount",value:function(){var
e=this;$(this.container).on("shared:react:lists:list_item:removed",function(t,n)
{e.setState({removed:n})})}},{key:"componentDidUpdate",value:function(e,t)
{this.state.removed?$(this.container).find(".undo_btn").focus():t.removed&&$
(this.container).find(".list_anchor").focus()}},
{key:"handle_removed_cell_click",value:function(){var
e=this;this.setState({undo_loading:!
0}),this.props.undo_xhr(this.props.item).success(function(){$
(e.container).trigger("shared:react:lists:list_item:removed",!1)}).fail(function()
{$(e.container).trigger("shared:react:lists:list_item:removed",!
0),Scribd.Flasher.standard("error",I18n.t("shared.react.cells.base.failed_to_undo_a
ction"))}).always(function(){e.setState({undo_loading:!1})})}},
{key:"get_content_url",value:function(){return this.props.item.open_in_reader||!
["book","audiobook","sheet_music"].includes(this.props.item.type)?
this.props.item.reader_url:this.props.item.book_preview_url}},
{key:"get_image_aria_label_text",value:function(){if(this.props.item.type){var
e=this.props.item.type.toLowerCase(),t={book:I18n.t("shared.react.cells.base.book")
,audiobook:I18n.t("shared.react.cells.base.audiobook"),publication_issue:I18n.t("sh
ared.react.cells.base.publication_issue"),sheet_music:I18n.t("shared.react.cells.ba
se.sheet_music"),article:I18n.t("shared.react.cells.base.article_in_props_item_auth
or",{props_item_author:this.props.item.author})};return t.hasOwnProperty(e)?
t[e]:e}}},{key:"get_image_alt_text",value:function(){return
this.props.item.title}},{key:"should_open_in_new_window",value:function(){return
this.should_show_book_preview_lightbox()?void
0:this.props.search_open_non_book_preview_items_in_new_tab?!
0:"audiobook"===this.props.item.type&&this.props.item.open_in_reader?!0:void 0}},
{key:"should_show_book_preview_lightbox",value:function(){return
this.props.item.open_in_reader?!1:Scribd.is_mobile?!
1:this.props.item.is_book?"article"===this.props.item.type?!
1:"publication_issue"===this.props.item.type?!
1:"sheet_music_chapter"===this.props.item.type?!1:!0:!1}},
{key:"render_removed",value:function(){return React.createElement("div",
{className:"undo_container"},React.createElement("div",
{className:"undo"},React.createElement("div",
{className:"undo_btn_label"},React.createElement("span",null,this.props.undo_label)
),React.createElement(d.default,
{ref:this.props.item.id,type:"button",text:I18n.t("shared.react.cells.base.undo"),d
isabled:this.state.undo_loading,"aria-
disabled":this.state.undo_loading,tabIndex:"0",className:classNames("undo_btn
text_btn",
{loading:this.state.undo_loading}),onClick:this.handle_removed_cell_click.bind(this
)},React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.props_item_title_-
_removed_from_saved",{props_item_title:this.props.item.title})))))}},
{key:"render_new_indicator",value:function(){return this.props.item.new_item&&!
this.props.is_finished?React.createElement("span",
{className:"new_items_indicator"},React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.new"))):void 0}},
{key:"render_new_window_text",value:function(){return
this.should_open_in_new_window()?React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.opens_in_new_window")
):void 0}},{key:"render_title",value:function(){return React.createElement("div",
{className:"title document_title"},this.props.item.title)}},
{key:"render_author",value:function(){var e=arguments.length>0&&void 0!
==arguments[0]?arguments[0]:!0,t=React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.author"));return
React.createElement("div",{className:"author_container"},e?
t:null,React.createElement("span",{className:"author"},this.props.item.author))}},
{key:"render_reading_progress",value:function(){return
this.props.item.reading_progress_bar_props?
React.createElement(Scribd.R.Shared.React.ReadingProgressBar,this.props.item.readin
g_progress_bar_props):void 0}},{key:"render_star_ratings",value:function(){return
this.props.item.star_rating_props?
React.createElement(Scribd.R.Shared.React.StarRatings,this.props.item.star_rating_p
rops):void 0}},{key:"render_image_flag",value:function(){return
this.props.item.flag?"scribd_select"===this.props.item.flag.type?
React.createElement("div",{className:"flag
is_scribd_select"},React.createElement("span",{className:"icon icon-
ic_scribd_badge_logo","aria-hidden":"true"}),React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.scribd_selects"))):th
is.props.item.flag.label?React.createElement("div",{className:"banner_flag flag
"+this.props.item.flag.classes},this.props.item.flag.label):void 0:void 0}},
{key:"render_image_cta",value:function(){if(!this.props.hide_hover_cta)
{if(this.props.item.open_in_reader){var
e=I18n.t("shared.react.cells.base.read_now");return"audiobook"===this.props.item.ty
pe&&I18n.t("shared.react.cells.base.listen_now"),React.createElement("div",
{role:"presentation",className:"hover_cta reader"},e)}return
React.createElement("div",{role:"presentation",className:"hover_cta
book_page"},I18n.t("shared.react.cells.base.about_title"))}}},
{key:"render_image",value:function(){var e=arguments.length>0&&void 0!
==arguments[0]?arguments[0]:!0;return React.createElement("div",
{className:classNames("image",
{is_book:this.props.item.is_book}),key:"image_"+this.props.item.id},this.render_ima
ge_flag(),React.createElement(Scribd.R.Shared.React.DocumentImage,
{alt_text:this.get_image_alt_text(),aria_label_text:this.get_image_aria_label_text(
),image_url:this.props.item.image_url,lazy_load:e,retina_image_url:this.props.item.
retina_image_url,use_in_carousel:this.props.use_in_carousel}),this.render_image_cta
())}},{key:"render_marked_as_finished",value:function(){return
this.props.is_finished?React.createElement("div",
{className:"marked_as_finished_container"},React.createElement("span",
{className:"icon icon-ic_finished_small","aria-
hidden":"true"}),React.createElement("span",
{className:"finished_text"},I18n.t("shared.react.cells.base.finished"))):void 0}},
{key:"render_reading_time_estimate",value:function(){var e=arguments.length>0&&void
0!==arguments[0]?arguments[0]:!0;if(this.props.item.read_time_estimate){var
t=React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.total"));return
React.createElement("div",
{className:"read_time_estimate"},React.createElement("span",null,React.createElemen
t("span",null,this.props.item.read_time_estimate),e?t:null))}}},
{key:"render_availability_notice",value:function()
{return"list"===this.props.display_type&&this.props.item.availability?
React.createElement(Scribd.Shared.AvailabilityNotice,
{icon:this.props.item.availability.icon,text:this.props.item.availability.text,flag
_class:this.props.item.flag.classes}):void 0}},
{key:"render_author_container",value:function(e){return React.createElement("div",
{className:"author_container"},React.createElement("span",
{className:"author"},e))}},{key:"render_secondary_subtitle",value:function(){var
e=this.props.item.secondary_subtitle;if(e)return this.render_author_container(e)}},
{key:"render_series_name",value:function(){var e=this.props.item.series;if(e)return
this.render_author_container(I18n.t("shared.react.cells.base.series"))}},
{key:"render_content_progress",value:function(){var
e=this.props.item.content_progress;if(e){var
t=I18n.t("shared.react.cells.base.content_to_go",{duration:e});return
this.render_author_container(t)}}},{key:"render_controls",value:function()
{if(this.props.controls)return this.props.controls;if(!this.props.no_controls){var
e=!this.props.item.star_rating_props;return React.createElement("div",
{className:"controls"},React.createElement(p.default,
{item:this.props.item,show_text:!1,classes:classNames("",
{no_star_ratings:e})}))}return null}},
{key:"render_list_item_content",value:function(){}},
{key:"render_list_item_wrapper",value:function(){return React.createElement("div",
{className:"list_anchor_container"},React.createElement("a",
{className:classNames("list_anchor",
{book_link:this.should_show_book_preview_lightbox(),new_item:this.props.item.new_it
em}),onClick:this.props.handle_list_anchor_click,href:this.get_content_url(),id:thi
s.props.item.id,target:this.should_open_in_new_window()?"_blank":null},this.render_
new_indicator(),this.render_list_item_content(),this.render_new_window_text()),this
.render_controls())}},{key:"render_content",value:function(){return
this.state.removed?this.render_removed():this.render_list_item_wrapper()}}]),t}
(l.default);f.propTypes={controls:h.element,display_type:h.string,is_finished:h.boo
l,handle_list_anchor_click:h.func,item:h.shape({author:h.string.isRequired,book_pre
view_url:h.string,description:h.string,flag:h.shape({classes:h.string,label:h.strin
g,type:h.string.isRequired}),id:h.number.isRequired,image_url:h.string.isRequired,i
n_library:h.bool,is_book:h.bool,interest:h.string,new_item:h.bool,open_in_reader:h.
bool,publication_date:h.string,read_time_estimate:h.string,reader_url:h.string,read
ing_progress_bar_props:h.object,retina_image_url:h.string.isRequired,series:h.bool,
short_title:h.string,star_rating_props:h.object,title:h.string.isRequired,type:h.st
ring.isRequired}).isRequired,narrow:h.bool,no_controls:h.bool,paused:h.bool,rec_uui
d:h.string,undo_label:h.string,undo_xhr:h.func,use_in_carousel:h.bool,search_open_n
on_book_preview_items_in_new_tab:h.bool,tracking_module:h.shape({rc_callback:h.func
,rec_id:h.string,rv_callback:h.func,tracker:h.object,view_id:h.string})},f.defaultP
rops={no_controls:!1,series:!1},t.default=f},function(){},,function()
{},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:
{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call
a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't
been initialised - super() hasn't been called");return!t||"object"!=typeof
t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw
new TypeError("Super expression must either be null or a function, not "+typeof
t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!
1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}(),c=function p(e,t,n)
{null===e&&(e=Function.prototype);var
r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var
i=Object.getPrototypeOf(e);return null===i?void 0:p(i,t,n)}if("value"in r)return
r.value;var o=r.get;return void 0===o?void 0:o.call(n)},l=n(3),u=r(l);n(11);var
d=(React.PropTypes,function(e){function t(e){i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.state={narrow:n.props.narrow},n.handle_resize=n.handle_resize.bind(n),n.enclosing
_class("auto__shared_react_cells_article"),n}return a(t,e),s(t,
[{key:"componentDidMount",value:function(){this.handle_resize(),$
(window).on("resize.article_cell",_.debounce(this.handle_resize,100)),c(t.prototype
.__proto__||
Object.getPrototypeOf(t.prototype),"componentDidMount",this).call(this)}},
{key:"componentWillUnmount",value:function(){$
(window).off("resize.article_cell")}},{key:"get_container",value:function(){return
$(this.container||ReactDOM.findDOMNode(this))}},
{key:"get_image_alt_text",value:function(){return this.props.item.author}},
{key:"get_article_image_css_class",value:function(){var e="no_image";return
this.props.item.article_image_url&&(e="has_image"),e}},
{key:"get_narrow",value:function(){return $(this.container).width()<550&&"grid"!
==this.props.display_type}},{key:"set_narrow",value:function()
{this.setState({narrow:this.get_narrow()})}},{key:"handle_resize",value:function()
{this.props.no_clamp||this.clamp_lines(),this.set_narrow()}},
{key:"clamp_lines",value:function(){if("grid"===this.props.display_type){var
e=this.get_container().find(".header"),t=this.get_container().find(".article_image_
container"),n=this.get_container().find(".title"),r=this.get_container().find(".des
cription"),i=22,o=this.get_container().innerHeight(),a=e.innerHeight(),s=t.innerHei
ght()||-i,c=n.innerHeight(),l=o-(a+s+c);return 2*i>l?(r.hide(),$clamp(n[0],
{clamp:6})):$clamp(r[0],{clamp:Math.floor(l/i)})}}},
{key:"render_aria_description_label",value:function(){return
React.createElement("span",
{className:"visually_hidden"},this.props.item.description.slice(0,250))}},
{key:"render_image_cta",value:function(){}},{key:"render_interest",value:function()
{return this.props.item.interest?React.createElement("div",
{className:"interest"},this.props.item.interest):void 0}},
{key:"render_article_image",value:function(){return
this.props.item.show_article_image&&this.props.item.article_image_url?
React.createElement("div",
{className:"article_image_container"},React.createElement(Scribd.R.Shared.React.Doc
umentImage,
{image_url:this.props.item.article_image_url,retina_image_url:this.props.item.retin
a_article_image_url,lazy_load:this.props.use_in_carousel,alt_text:this.props.item.a
lt_text||"",role:this.props.item.role})):void 0}},
{key:"render_stick_and_block",value:function()
{return"grid"===this.props.display_type?[React.createElement("div",
{className:"spacer_stick",key:"spacer_stick"}),React.createElement("div",
{className:"spacer_block",key:"spacer_block"})]:void 0}},
{key:"render_description",value:function(){return React.createElement("div",
{className:"description","aria-hidden":"true"},this.props.item.description)}},
{key:"render_list_item_content",value:function(){return React.createElement("div",
{className:classNames("wrapper",
{narrow:this.state.narrow})},React.createElement("div",
{className:"header"},this.render_image(!1),React.createElement("div",
{className:"metadata","aria-hidden":"true"},this.render_author(!
1),this.render_reading_time_estimate(),this.render_interest())),this.render_article
_image(),React.createElement("div",{className:"body
"+this.get_article_image_css_class()},this.render_stick_and_block(),this.render_tit
le(),this.render_description(),this.render_aria_description_label()))}}]),t}
(u.default));t.default=d,Scribd.addComponent("Shared.React.Cells.Article",d)},,,fun
ction(){}],[8]);

/* app/views/shared/react/cells/saved/issue.jsxjs @ 1526073916 */
webpackJsonp([20,27,45,76],{12:function(e,t,n){"use strict";function r(e){return
e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new
TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return!
t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!
=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a
function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:
{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(3),l=r(c);n(15);var
u=(React.PropTypes,function(e){function t(e){i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_cells_issue"),n}return a(t,e),s(t,
[{key:"render_reading_time_estimate",value:function(){return
this.props.item.read_time_estimate?React.createElement("span",
{className:"read_time_estimate"},I18n.t("shared.react.cells.issue.issue")):void
0}},{key:"render_list_item_content",value:function()
{return[this.render_image(),React.createElement("div",
{className:"metadata",key:"metadata"},React.createElement("div",
{className:"title_author"},this.render_author(!
1),this.render_title()),this.render_reading_time_estimate())]}}]),t}
(l.default));t.default=u,Scribd.addComponent("Shared.React.Cells.Issue",u)},15:func
tion(){},2:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:
{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call
a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't
been initialised - super() hasn't been called");return!t||"object"!=typeof
t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw
new TypeError("Super expression must either be null or a function, not "+typeof
t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!
1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}();n(4);var
c=n(0),l=r(c),u=n(1),d=r(u),_=React.PropTypes,p=function(e){function t(e)
{i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_save_button"),n.state={item:n.props.item,load
ing:!1},n}return a(t,e),s(t,[{key:"component_classes",value:function(){return
classNames(this.props.classes,"save_button")}},
{key:"componentWillReceiveProps",value:function(e){e.item!
==this.props.item&&this.setState({item:e.item})}},
{key:"componentDidMount",value:function(){var e=new
CookieJar({expires:""});e.get(t.COOKIE_NAME)||e.put(t.COOKIE_NAME,!0)}},
{key:"should_confirm_delete",value:function(){return"true"===(new
CookieJar).get(t.COOKIE_NAME)}},{key:"set_loading",value:function(e)
{this.setState({loading:e}),this.props.on_loading&&this.props.on_loading(e)}},
{key:"set_in_library_state",value:function(e)
{this.setState({item:Object.assign({},this.state.item,{in_library:e})})}},
{key:"get_tooltip_text",value:function(){if(this.props.show_tooltip){var e=void
0;return this.state.item.in_library?
(e=I18n.t("shared.react.save_button.remove_from_saved_cap"),this.props.cta_remove||
e):(e=I18n.t("shared.react.save_button.save_for_later_cap"),this.props.cta_save||
e)}}},{key:"get_short_title",value:function(){return
this.state.item.short_title||""}},{key:"get_save_cta",value:function(){return
this.props.cta_save?
this.props.cta_save:I18n.t("shared.react.save_button.save_short_title_for_later_htm
l",{short_title:this.get_short_title()})}},{key:"get_remove_cta",value:function()
{return this.props.cta_remove?
this.props.cta_remove:I18n.t("shared.react.save_button.remove_short_title_from_save
d_html",{short_title:this.get_short_title()})}},
{key:"get_aria_text",value:function(){return this.state.item.in_library?
this.get_remove_cta():this.get_save_cta()}},
{key:"get_save_icon_class_name",value:function(){var
e=this.props.use_thick_icon?"2px":"1px",t=this.state.item.in_library?"saved":"save"
;return"icon icon-ic_"+t+"_for_later_"+e}},{key:"handle_xhr_fail",value:function(e)
{Scribd.Flasher.standard("error",e)}},
{key:"handle_update_add_success",value:function(e,t){this.set_in_library_state(!
0),this.props.on_save&&this.props.on_save(e,t)}},
{key:"handle_update_add_failure",value:function(){this.set_in_library_state(!
1),this.handle_xhr_fail(I18n.t("shared.react.save_button.failed_to_save_title"))}},
{key:"handle_update_remove_success",value:function(e,t){this.set_in_library_state(!
1),this.props.on_remove&&this.props.on_remove(e,t)}},
{key:"handle_update_remove_failure",value:function(){this.set_in_library_state(!
0),this.handle_xhr_fail(I18n.t("shared.react.save_button.failed_to_remove_title"))}
},{key:"handle_update_done",value:function(){this.set_loading(!1)}},
{key:"handle_update",value:function(e){this.state.item.in_library?
Scribd.Shared.LibraryAPI.remove(this.state.item.id).success(this.handle_update_remo
ve_success.bind(this,this.state.item.id,e)).fail(this.handle_update_remove_success)
.always(this.handle_update_done):Scribd.Shared.LibraryAPI.add(this.state.item.id).s
uccess(this.handle_update_add_success.bind(this,this.state.item.id,e)).fail(this.ha
ndle_update_add_failure).always(this.handle_update_done)}},
{key:"handle_in_collection_check_success",value:function(e){var
t=this;e.collection_ids.length?(this.set_loading(!
1),Scribd.Lightbox.open_react("delete_item_in_list",React.createElement(Scribd.Shar
ed.React.Lists.Modals.DeleteItemInList,
{item_id:this.state.item.id,on_confirm:function(){return
t.handle_update(e.collection_ids)},on_loading:this.props.on_loading}))):this.handle
_update(e.collection_ids)}},
{key:"handle_in_collection_check_failure",value:function()
{this.handle_xhr_fail(I18n.t("shared.react.save_button.failed_to_remove_title")),th
is.set_loading(!1)}},{key:"handle_save",value:function()
{Scribd.kill_tooltips(),this.set_loading(!
0),this.state.item.in_library&&this.should_confirm_delete()?
Scribd.Shared.CollectionAPI.collections_containing_document(this.state.item.id).suc
cess(this.handle_in_collection_check_success).fail(this.handle_in_collection_check_
failure):this.handle_update([])}},{key:"handle_save_button_click",value:function(e)
{this.props.on_click&&this.props.on_click(e),this.track_rats("library_btn:add_to_li
brary:click",
{doc_id:this.state.item.id,action:this.state.item.in_library?"remove":"add"}),Scrib
d.with_login({join_header_text:I18n.t("shared.react.save_button.sign_up_to_save"),i
nitial_view:"join",join_type:"pmp",track_location:"add_to_library"},this.handle_sav
e)}},{key:"create_aria_html",value:function()
{return{__html:this.get_aria_text()}}},{key:"render_icon",value:function(){var
e=this.props.show_icon?this.get_save_icon_class_name():"";return
React.createElement("span",{className:e,"aria-hidden":"true",key:"icon"})}},
{key:"render_aria_text",value:function(){return React.createElement("span",
{dangerouslySetInnerHTML:this.create_aria_html(),className:classNames({visually_hid
den:!this.props.show_text}),key:"text"})}},{key:"render_content",value:function()
{return React.createElement(d.default,
{type:"button",className:classNames("edit_saved_btn",
{loading:this.state.loading,disabled:this.state.loading,text_btn:this.props.text_bt
n,icon_only:!
this.props.show_text}),cta_save:this.get_save_cta(),cta_remove:this.get_remove_cta(
),onClick:this.handle_save_button_click,"data-
tooltip":this.get_tooltip_text(),"data-
label":this.get_tooltip_text()},this.render_icon(),this.render_aria_text())}}]),t}
(l.default);p.COOKIE_NAME="library:confirm_delete_item_in_list",p.propTypes={classe
s:_.string,cta_remove:_.string,cta_save:_.string,item:_.object.isRequired,on_click:
_.func,on_loading:_.func,on_remove:_.func,on_save:_.func,show_icon:_.bool,show_text
:_.bool,show_tooltip:_.bool,text_btn:_.bool,use_thick_icon:_.bool},p.defaultProps={
cta_remove:"",cta_save:"",show_icon:!0,show_text:!0,show_tooltip:!0,text_btn:!
0,use_thick_icon:!
1},t.default=p,Scribd.addComponent("Shared.React.SaveButton",p)},3:function(e,t,n)
{"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t)
{if(!(e instanceof t))throw new TypeError("Cannot call a class as a
function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been
initialised - super() hasn't been called");return!t||"object"!=typeof
t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw
new TypeError("Super expression must either be null or a function, not "+typeof
t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!
1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}();n(6);var
c=n(0),l=r(c),u=n(1),d=r(u),_=n(2),p=r(_),h=React.PropTypes,f=function(e){function
t(e){i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_cells_base"),n.state={undo_loading:!
1,removed:n.props.item.removed},n}return
a(t,e),s(t,[{key:"enclosing_tag",value:function(){return"li"}},
{key:"enclosing_element_args",value:function(){return{"data-
track_uuid":this.props.rec_uuid,"data-track":!0}}},
{key:"component_classes",value:function(){return"react_cell_base object_cell
list_item "+this.props.item.type}},{key:"componentDidMount",value:function(){var
e=this;$(this.container).on("shared:react:lists:list_item:removed",function(t,n)
{e.setState({removed:n})})}},{key:"componentDidUpdate",value:function(e,t)
{this.state.removed?$(this.container).find(".undo_btn").focus():t.removed&&$
(this.container).find(".list_anchor").focus()}},
{key:"handle_removed_cell_click",value:function(){var
e=this;this.setState({undo_loading:!
0}),this.props.undo_xhr(this.props.item).success(function(){$
(e.container).trigger("shared:react:lists:list_item:removed",!1)}).fail(function()
{$(e.container).trigger("shared:react:lists:list_item:removed",!
0),Scribd.Flasher.standard("error",I18n.t("shared.react.cells.base.failed_to_undo_a
ction"))}).always(function(){e.setState({undo_loading:!1})})}},
{key:"get_content_url",value:function(){return this.props.item.open_in_reader||!
["book","audiobook","sheet_music"].includes(this.props.item.type)?
this.props.item.reader_url:this.props.item.book_preview_url}},
{key:"get_image_aria_label_text",value:function(){if(this.props.item.type){var
e=this.props.item.type.toLowerCase(),t={book:I18n.t("shared.react.cells.base.book")
,audiobook:I18n.t("shared.react.cells.base.audiobook"),publication_issue:I18n.t("sh
ared.react.cells.base.publication_issue"),sheet_music:I18n.t("shared.react.cells.ba
se.sheet_music"),article:I18n.t("shared.react.cells.base.article_in_props_item_auth
or",{props_item_author:this.props.item.author})};return t.hasOwnProperty(e)?
t[e]:e}}},{key:"get_image_alt_text",value:function(){return
this.props.item.title}},{key:"should_open_in_new_window",value:function(){return
this.should_show_book_preview_lightbox()?void
0:this.props.search_open_non_book_preview_items_in_new_tab?!
0:"audiobook"===this.props.item.type&&this.props.item.open_in_reader?!0:void 0}},
{key:"should_show_book_preview_lightbox",value:function(){return
this.props.item.open_in_reader?!1:Scribd.is_mobile?!
1:this.props.item.is_book?"article"===this.props.item.type?!
1:"publication_issue"===this.props.item.type?!
1:"sheet_music_chapter"===this.props.item.type?!1:!0:!1}},
{key:"render_removed",value:function(){return React.createElement("div",
{className:"undo_container"},React.createElement("div",
{className:"undo"},React.createElement("div",
{className:"undo_btn_label"},React.createElement("span",null,this.props.undo_label)
),React.createElement(d.default,
{ref:this.props.item.id,type:"button",text:I18n.t("shared.react.cells.base.undo"),d
isabled:this.state.undo_loading,"aria-
disabled":this.state.undo_loading,tabIndex:"0",className:classNames("undo_btn
text_btn",
{loading:this.state.undo_loading}),onClick:this.handle_removed_cell_click.bind(this
)},React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.props_item_title_-
_removed_from_saved",{props_item_title:this.props.item.title})))))}},
{key:"render_new_indicator",value:function(){return this.props.item.new_item&&!
this.props.is_finished?React.createElement("span",
{className:"new_items_indicator"},React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.new"))):void 0}},
{key:"render_new_window_text",value:function(){return
this.should_open_in_new_window()?React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.opens_in_new_window")
):void 0}},{key:"render_title",value:function(){return React.createElement("div",
{className:"title document_title"},this.props.item.title)}},
{key:"render_author",value:function(){var e=arguments.length>0&&void 0!
==arguments[0]?arguments[0]:!0,t=React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.author"));return
React.createElement("div",{className:"author_container"},e?
t:null,React.createElement("span",{className:"author"},this.props.item.author))}},
{key:"render_reading_progress",value:function(){return
this.props.item.reading_progress_bar_props?
React.createElement(Scribd.R.Shared.React.ReadingProgressBar,this.props.item.readin
g_progress_bar_props):void 0}},{key:"render_star_ratings",value:function(){return
this.props.item.star_rating_props?
React.createElement(Scribd.R.Shared.React.StarRatings,this.props.item.star_rating_p
rops):void 0}},{key:"render_image_flag",value:function(){return
this.props.item.flag?"scribd_select"===this.props.item.flag.type?
React.createElement("div",{className:"flag
is_scribd_select"},React.createElement("span",{className:"icon icon-
ic_scribd_badge_logo","aria-hidden":"true"}),React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.scribd_selects"))):th
is.props.item.flag.label?React.createElement("div",{className:"banner_flag flag
"+this.props.item.flag.classes},this.props.item.flag.label):void 0:void 0}},
{key:"render_image_cta",value:function(){if(!this.props.hide_hover_cta)
{if(this.props.item.open_in_reader){var
e=I18n.t("shared.react.cells.base.read_now");return"audiobook"===this.props.item.ty
pe&&I18n.t("shared.react.cells.base.listen_now"),React.createElement("div",
{role:"presentation",className:"hover_cta reader"},e)}return
React.createElement("div",{role:"presentation",className:"hover_cta
book_page"},I18n.t("shared.react.cells.base.about_title"))}}},
{key:"render_image",value:function(){var e=arguments.length>0&&void 0!
==arguments[0]?arguments[0]:!0;return React.createElement("div",
{className:classNames("image",
{is_book:this.props.item.is_book}),key:"image_"+this.props.item.id},this.render_ima
ge_flag(),React.createElement(Scribd.R.Shared.React.DocumentImage,
{alt_text:this.get_image_alt_text(),aria_label_text:this.get_image_aria_label_text(
),image_url:this.props.item.image_url,lazy_load:e,retina_image_url:this.props.item.
retina_image_url,use_in_carousel:this.props.use_in_carousel}),this.render_image_cta
())}},{key:"render_marked_as_finished",value:function(){return
this.props.is_finished?React.createElement("div",
{className:"marked_as_finished_container"},React.createElement("span",
{className:"icon icon-ic_finished_small","aria-
hidden":"true"}),React.createElement("span",
{className:"finished_text"},I18n.t("shared.react.cells.base.finished"))):void 0}},
{key:"render_reading_time_estimate",value:function(){var e=arguments.length>0&&void
0!==arguments[0]?arguments[0]:!0;if(this.props.item.read_time_estimate){var
t=React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.total"));return
React.createElement("div",
{className:"read_time_estimate"},React.createElement("span",null,React.createElemen
t("span",null,this.props.item.read_time_estimate),e?t:null))}}},
{key:"render_availability_notice",value:function()
{return"list"===this.props.display_type&&this.props.item.availability?
React.createElement(Scribd.Shared.AvailabilityNotice,
{icon:this.props.item.availability.icon,text:this.props.item.availability.text,flag
_class:this.props.item.flag.classes}):void 0}},
{key:"render_author_container",value:function(e){return React.createElement("div",
{className:"author_container"},React.createElement("span",
{className:"author"},e))}},{key:"render_secondary_subtitle",value:function(){var
e=this.props.item.secondary_subtitle;if(e)return this.render_author_container(e)}},
{key:"render_series_name",value:function(){var e=this.props.item.series;if(e)return
this.render_author_container(I18n.t("shared.react.cells.base.series"))}},
{key:"render_content_progress",value:function(){var
e=this.props.item.content_progress;if(e){var
t=I18n.t("shared.react.cells.base.content_to_go",{duration:e});return
this.render_author_container(t)}}},{key:"render_controls",value:function()
{if(this.props.controls)return this.props.controls;if(!this.props.no_controls){var
e=!this.props.item.star_rating_props;return React.createElement("div",
{className:"controls"},React.createElement(p.default,
{item:this.props.item,show_text:!1,classes:classNames("",
{no_star_ratings:e})}))}return null}},
{key:"render_list_item_content",value:function(){}},
{key:"render_list_item_wrapper",value:function(){return React.createElement("div",
{className:"list_anchor_container"},React.createElement("a",
{className:classNames("list_anchor",
{book_link:this.should_show_book_preview_lightbox(),new_item:this.props.item.new_it
em}),onClick:this.props.handle_list_anchor_click,href:this.get_content_url(),id:thi
s.props.item.id,target:this.should_open_in_new_window()?"_blank":null},this.render_
new_indicator(),this.render_list_item_content(),this.render_new_window_text()),this
.render_controls())}},{key:"render_content",value:function(){return
this.state.removed?this.render_removed():this.render_list_item_wrapper()}}]),t}
(l.default);f.propTypes={controls:h.element,display_type:h.string,is_finished:h.boo
l,handle_list_anchor_click:h.func,item:h.shape({author:h.string.isRequired,book_pre
view_url:h.string,description:h.string,flag:h.shape({classes:h.string,label:h.strin
g,type:h.string.isRequired}),id:h.number.isRequired,image_url:h.string.isRequired,i
n_library:h.bool,is_book:h.bool,interest:h.string,new_item:h.bool,open_in_reader:h.
bool,publication_date:h.string,read_time_estimate:h.string,reader_url:h.string,read
ing_progress_bar_props:h.object,retina_image_url:h.string.isRequired,series:h.bool,
short_title:h.string,star_rating_props:h.object,title:h.string.isRequired,type:h.st
ring.isRequired}).isRequired,narrow:h.bool,no_controls:h.bool,paused:h.bool,rec_uui
d:h.string,undo_label:h.string,undo_xhr:h.func,use_in_carousel:h.bool,search_open_n
on_book_preview_items_in_new_tab:h.bool,tracking_module:h.shape({rc_callback:h.func
,rec_id:h.string,rv_callback:h.func,tracker:h.object,view_id:h.string})},f.defaultP
rops={no_controls:!1,series:!1},t.default=f},36:function(e,t,n){"use
strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!
(e instanceof t))throw new TypeError("Cannot call a class as a function")}function
o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super()
hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?
e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super
expression must either be null or a function, not "+typeof
t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!
1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}(),c=function _(e,t,n)
{null===e&&(e=Function.prototype);var
r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var
i=Object.getPrototypeOf(e);return null===i?void 0:_(i,t,n)}if("value"in r)return
r.value;var o=r.get;return void 0===o?void
0:o.call(n)},l=n(12),u=r(l),d=function(e){function t(e){return i(this,t),o(this,
(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}return a(t,e),s(t,
[{key:"render_finished",value:function(){return this.props.is_finished?
this.render_marked_as_finished():this.render_reading_time_estimate()}},
{key:"render_list_item_content",value:function()
{return[this.render_image(),React.createElement("div",
{className:"metadata",key:"metadata"},React.createElement("div",
{className:"title_author"},this.render_author(!
1),this.render_title()),this.render_finished())]}}],
[{key:"propTypes",get:function(){var e=React.PropTypes;return
Object.assign({},c(t.__proto__||Object.getPrototypeOf(t),"propTypes",this),
{is_finished:e.bool})}}]),t}
(u.default);t.default=d,Scribd.addComponent("Shared.React.Cells.Saved.Issue",d)},4:
function(){},6:function(){}},[36]);

/* app/views/shared/react/cells/saved/document.jsxjs @ 1526073916 */
webpackJsonp([21,28,45,76],{13:function(e,t,n){"use strict";function r(e){return
e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new
TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return!
t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!
=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a
function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:
{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}(),c=function h(e,t,n)
{null===e&&(e=Function.prototype);var
r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var
i=Object.getPrototypeOf(e);return null===i?void 0:h(i,t,n)}if("value"in r)return
r.value;var o=r.get;return void 0===o?void
0:o.call(n)},l=n(3),u=r(l),d=n(2),_=r(d);n(16);var p=(React.PropTypes,function(e)
{function t(e){i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_cells_document"),n}return a(t,e),s(t,
[{key:"handle_download_click",value:function(e,t){return
this.track_rats("search:download_button:click",{document_id:t})}},
{key:"render_reading_progress",value:function()
{return["sheet_music","sheet_music_chapter"].includes(this.props.item.type)?void
0:c(t.prototype.__proto__||
Object.getPrototypeOf(t.prototype),"render_reading_progress",this).call(this)}},
{key:"render_star_ratings",value:function()
{return"sheet_music_chapter"===this.props.item.type?c(t.prototype.__proto__||
Object.getPrototypeOf(t.prototype),"render_star_ratings",this).call(this):void 0}},
{key:"render_upvotes",value:function(){return
this.props.item.upvote_props&&"sheet_music_chapter"!==this.props.item.type?
React.createElement(Scribd.R.Shared.React.Upvotes,Object.assign({},this.props.item.
upvote_props,{use_in_carousel:this.props.use_in_carousel})):void 0}},
{key:"render_controls",value:function(){return this.props.controls?
this.props.controls:this.props.no_controls?void 0:React.createElement("div",
{className:"controls"},React.createElement(Scribd.Shared.React.DownloadButton,Objec
t.assign({},this.props.item.download_button_props,
{on_click:this.handle_download_click})),React.createElement(_.default,
{item:this.props.item,show_text:!1}))}},
{key:"render_list_item_content",value:function()
{return[this.render_image(),React.createElement("div",
{className:"metadata",key:"metadata_"+this.props.item.id},React.createElement("div"
,
{className:"title_author"},this.render_title(),this.render_author()),this.render_re
ading_progress(),this.render_star_ratings(),this.render_upvotes(),this.render_readi
ng_time_estimate())]}}]),t}
(u.default));t.default=p,Scribd.addComponent("Shared.React.Cells.Document",p)},16:f
unction(){},2:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:
{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call
a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't
been initialised - super() hasn't been called");return!t||"object"!=typeof
t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw
new TypeError("Super expression must either be null or a function, not "+typeof
t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!
1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}();n(4);var
c=n(0),l=r(c),u=n(1),d=r(u),_=React.PropTypes,p=function(e){function t(e)
{i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_save_button"),n.state={item:n.props.item,load
ing:!1},n}return a(t,e),s(t,[{key:"component_classes",value:function(){return
classNames(this.props.classes,"save_button")}},
{key:"componentWillReceiveProps",value:function(e){e.item!
==this.props.item&&this.setState({item:e.item})}},
{key:"componentDidMount",value:function(){var e=new
CookieJar({expires:""});e.get(t.COOKIE_NAME)||e.put(t.COOKIE_NAME,!0)}},
{key:"should_confirm_delete",value:function(){return"true"===(new
CookieJar).get(t.COOKIE_NAME)}},{key:"set_loading",value:function(e)
{this.setState({loading:e}),this.props.on_loading&&this.props.on_loading(e)}},
{key:"set_in_library_state",value:function(e)
{this.setState({item:Object.assign({},this.state.item,{in_library:e})})}},
{key:"get_tooltip_text",value:function(){if(this.props.show_tooltip){var e=void
0;return this.state.item.in_library?
(e=I18n.t("shared.react.save_button.remove_from_saved_cap"),this.props.cta_remove||
e):(e=I18n.t("shared.react.save_button.save_for_later_cap"),this.props.cta_save||
e)}}},{key:"get_short_title",value:function(){return
this.state.item.short_title||""}},{key:"get_save_cta",value:function(){return
this.props.cta_save?
this.props.cta_save:I18n.t("shared.react.save_button.save_short_title_for_later_htm
l",{short_title:this.get_short_title()})}},{key:"get_remove_cta",value:function()
{return this.props.cta_remove?
this.props.cta_remove:I18n.t("shared.react.save_button.remove_short_title_from_save
d_html",{short_title:this.get_short_title()})}},
{key:"get_aria_text",value:function(){return this.state.item.in_library?
this.get_remove_cta():this.get_save_cta()}},
{key:"get_save_icon_class_name",value:function(){var
e=this.props.use_thick_icon?"2px":"1px",t=this.state.item.in_library?"saved":"save"
;return"icon icon-ic_"+t+"_for_later_"+e}},{key:"handle_xhr_fail",value:function(e)
{Scribd.Flasher.standard("error",e)}},
{key:"handle_update_add_success",value:function(e,t){this.set_in_library_state(!
0),this.props.on_save&&this.props.on_save(e,t)}},
{key:"handle_update_add_failure",value:function(){this.set_in_library_state(!
1),this.handle_xhr_fail(I18n.t("shared.react.save_button.failed_to_save_title"))}},
{key:"handle_update_remove_success",value:function(e,t){this.set_in_library_state(!
1),this.props.on_remove&&this.props.on_remove(e,t)}},
{key:"handle_update_remove_failure",value:function(){this.set_in_library_state(!
0),this.handle_xhr_fail(I18n.t("shared.react.save_button.failed_to_remove_title"))}
},{key:"handle_update_done",value:function(){this.set_loading(!1)}},
{key:"handle_update",value:function(e){this.state.item.in_library?
Scribd.Shared.LibraryAPI.remove(this.state.item.id).success(this.handle_update_remo
ve_success.bind(this,this.state.item.id,e)).fail(this.handle_update_remove_success)
.always(this.handle_update_done):Scribd.Shared.LibraryAPI.add(this.state.item.id).s
uccess(this.handle_update_add_success.bind(this,this.state.item.id,e)).fail(this.ha
ndle_update_add_failure).always(this.handle_update_done)}},
{key:"handle_in_collection_check_success",value:function(e){var
t=this;e.collection_ids.length?(this.set_loading(!
1),Scribd.Lightbox.open_react("delete_item_in_list",React.createElement(Scribd.Shar
ed.React.Lists.Modals.DeleteItemInList,
{item_id:this.state.item.id,on_confirm:function(){return
t.handle_update(e.collection_ids)},on_loading:this.props.on_loading}))):this.handle
_update(e.collection_ids)}},
{key:"handle_in_collection_check_failure",value:function()
{this.handle_xhr_fail(I18n.t("shared.react.save_button.failed_to_remove_title")),th
is.set_loading(!1)}},{key:"handle_save",value:function()
{Scribd.kill_tooltips(),this.set_loading(!
0),this.state.item.in_library&&this.should_confirm_delete()?
Scribd.Shared.CollectionAPI.collections_containing_document(this.state.item.id).suc
cess(this.handle_in_collection_check_success).fail(this.handle_in_collection_check_
failure):this.handle_update([])}},{key:"handle_save_button_click",value:function(e)
{this.props.on_click&&this.props.on_click(e),this.track_rats("library_btn:add_to_li
brary:click",
{doc_id:this.state.item.id,action:this.state.item.in_library?"remove":"add"}),Scrib
d.with_login({join_header_text:I18n.t("shared.react.save_button.sign_up_to_save"),i
nitial_view:"join",join_type:"pmp",track_location:"add_to_library"},this.handle_sav
e)}},{key:"create_aria_html",value:function()
{return{__html:this.get_aria_text()}}},{key:"render_icon",value:function(){var
e=this.props.show_icon?this.get_save_icon_class_name():"";return
React.createElement("span",{className:e,"aria-hidden":"true",key:"icon"})}},
{key:"render_aria_text",value:function(){return React.createElement("span",
{dangerouslySetInnerHTML:this.create_aria_html(),className:classNames({visually_hid
den:!this.props.show_text}),key:"text"})}},{key:"render_content",value:function()
{return React.createElement(d.default,
{type:"button",className:classNames("edit_saved_btn",
{loading:this.state.loading,disabled:this.state.loading,text_btn:this.props.text_bt
n,icon_only:!
this.props.show_text}),cta_save:this.get_save_cta(),cta_remove:this.get_remove_cta(
),onClick:this.handle_save_button_click,"data-
tooltip":this.get_tooltip_text(),"data-
label":this.get_tooltip_text()},this.render_icon(),this.render_aria_text())}}]),t}
(l.default);p.COOKIE_NAME="library:confirm_delete_item_in_list",p.propTypes={classe
s:_.string,cta_remove:_.string,cta_save:_.string,item:_.object.isRequired,on_click:
_.func,on_loading:_.func,on_remove:_.func,on_save:_.func,show_icon:_.bool,show_text
:_.bool,show_tooltip:_.bool,text_btn:_.bool,use_thick_icon:_.bool},p.defaultProps={
cta_remove:"",cta_save:"",show_icon:!0,show_text:!0,show_tooltip:!0,text_btn:!
0,use_thick_icon:!1},t.default=p,Scribd.addCom
ponent("Shared.React.SaveButton",p)},3:function(e,t,n){"use strict";function r(e)
{return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw
new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return!
t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!
=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a
function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:
{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}();n(6);var
c=n(0),l=r(c),u=n(1),d=r(u),_=n(2),p=r(_),h=React.PropTypes,f=function(e){function
t(e){i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_cells_base"),n.state={undo_loading:!
1,removed:n.props.item.removed},n}return a(t,e),s(t,
[{key:"enclosing_tag",value:function(){return"li"}},
{key:"enclosing_element_args",value:function(){return{"data-
track_uuid":this.props.rec_uuid,"data-track":!0}}},
{key:"component_classes",value:function(){return"react_cell_base object_cell
list_item "+this.props.item.type}},{key:"componentDidMount",value:function(){var
e=this;$(this.container).on("shared:react:lists:list_item:removed",function(t,n)
{e.setState({removed:n})})}},{key:"componentDidUpdate",value:function(e,t)
{this.state.removed?$(this.container).find(".undo_btn").focus():t.removed&&$
(this.container).find(".list_anchor").focus()}},
{key:"handle_removed_cell_click",value:function(){var
e=this;this.setState({undo_loading:!
0}),this.props.undo_xhr(this.props.item).success(function(){$
(e.container).trigger("shared:react:lists:list_item:removed",!1)}).fail(function()
{$(e.container).trigger("shared:react:lists:list_item:removed",!
0),Scribd.Flasher.standard("error",I18n.t("shared.react.cells.base.failed_to_undo_a
ction"))}).always(function(){e.setState({undo_loading:!1})})}},
{key:"get_content_url",value:function(){return this.props.item.open_in_reader||!
["book","audiobook","sheet_music"].includes(this.props.item.type)?
this.props.item.reader_url:this.props.item.book_preview_url}},
{key:"get_image_aria_label_text",value:function(){if(this.props.item.type){var
e=this.props.item.type.toLowerCase(),t={book:I18n.t("shared.react.cells.base.book")
,audiobook:I18n.t("shared.react.cells.base.audiobook"),publication_issue:I18n.t("sh
ared.react.cells.base.publication_issue"),sheet_music:I18n.t("shared.react.cells.ba
se.sheet_music"),article:I18n.t("shared.react.cells.base.article_in_props_item_auth
or",{props_item_author:this.props.item.author})};return t.hasOwnProperty(e)?
t[e]:e}}},{key:"get_image_alt_text",value:function(){return
this.props.item.title}},{key:"should_open_in_new_window",value:function(){return
this.should_show_book_preview_lightbox()?void
0:this.props.search_open_non_book_preview_items_in_new_tab?!
0:"audiobook"===this.props.item.type&&this.props.item.open_in_reader?!0:void 0}},
{key:"should_show_book_preview_lightbox",value:function(){return
this.props.item.open_in_reader?!1:Scribd.is_mobile?!
1:this.props.item.is_book?"article"===this.props.item.type?!
1:"publication_issue"===this.props.item.type?!
1:"sheet_music_chapter"===this.props.item.type?!1:!0:!1}},
{key:"render_removed",value:function(){return React.createElement("div",
{className:"undo_container"},React.createElement("div",
{className:"undo"},React.createElement("div",
{className:"undo_btn_label"},React.createElement("span",null,this.props.undo_label)
),React.createElement(d.default,
{ref:this.props.item.id,type:"button",text:I18n.t("shared.react.cells.base.undo"),d
isabled:this.state.undo_loading,"aria-
disabled":this.state.undo_loading,tabIndex:"0",className:classNames("undo_btn
text_btn",
{loading:this.state.undo_loading}),onClick:this.handle_removed_cell_click.bind(this
)},React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.props_item_title_-
_removed_from_saved",{props_item_title:this.props.item.title})))))}},
{key:"render_new_indicator",value:function(){return this.props.item.new_item&&!
this.props.is_finished?React.createElement("span",
{className:"new_items_indicator"},React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.new"))):void 0}},
{key:"render_new_window_text",value:function(){return
this.should_open_in_new_window()?React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.opens_in_new_window")
):void 0}},{key:"render_title",value:function(){return React.createElement("div",
{className:"title document_title"},this.props.item.title)}},
{key:"render_author",value:function(){var e=arguments.length>0&&void 0!
==arguments[0]?arguments[0]:!0,t=React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.author"));return
React.createElement("div",{className:"author_container"},e?
t:null,React.createElement("span",{className:"author"},this.props.item.author))}},
{key:"render_reading_progress",value:function(){return
this.props.item.reading_progress_bar_props?
React.createElement(Scribd.R.Shared.React.ReadingProgressBar,this.props.item.readin
g_progress_bar_props):void 0}},{key:"render_star_ratings",value:function(){return
this.props.item.star_rating_props?
React.createElement(Scribd.R.Shared.React.StarRatings,this.props.item.star_rating_p
rops):void 0}},{key:"render_image_flag",value:function(){return
this.props.item.flag?"scribd_select"===this.props.item.flag.type?
React.createElement("div",{className:"flag
is_scribd_select"},React.createElement("span",{className:"icon icon-
ic_scribd_badge_logo","aria-hidden":"true"}),React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.scribd_selects"))):th
is.props.item.flag.label?React.createElement("div",{className:"banner_flag flag
"+this.props.item.flag.classes},this.props.item.flag.label):void 0:void 0}},
{key:"render_image_cta",value:function(){if(!this.props.hide_hover_cta)
{if(this.props.item.open_in_reader){var
e=I18n.t("shared.react.cells.base.read_now");return"audiobook"===this.props.item.ty
pe&&I18n.t("shared.react.cells.base.listen_now"),React.createElement("div",
{role:"presentation",className:"hover_cta reader"},e)}return
React.createElement("div",{role:"presentation",className:"hover_cta
book_page"},I18n.t("shared.react.cells.base.about_title"))}}},
{key:"render_image",value:function(){var e=arguments.length>0&&void 0!
==arguments[0]?arguments[0]:!0;return React.createElement("div",
{className:classNames("image",
{is_book:this.props.item.is_book}),key:"image_"+this.props.item.id},this.render_ima
ge_flag(),React.createElement(Scribd.R.Shared.React.DocumentImage,
{alt_text:this.get_image_alt_text(),aria_label_text:this.get_image_aria_label_text(
),image_url:this.props.item.image_url,lazy_load:e,retina_image_url:this.props.item.
retina_image_url,use_in_carousel:this.props.use_in_carousel}),this.render_image_cta
())}},{key:"render_marked_as_finished",value:function(){return
this.props.is_finished?React.createElement("div",
{className:"marked_as_finished_container"},React.createElement("span",
{className:"icon icon-ic_finished_small","aria-
hidden":"true"}),React.createElement("span",
{className:"finished_text"},I18n.t("shared.react.cells.base.finished"))):void 0}},
{key:"render_reading_time_estimate",value:function(){var e=arguments.length>0&&void
0!==arguments[0]?arguments[0]:!0;if(this.props.item.read_time_estimate){var
t=React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.total"));return
React.createElement("div",
{className:"read_time_estimate"},React.createElement("span",null,React.createElemen
t("span",null,this.props.item.read_time_estimate),e?t:null))}}},
{key:"render_availability_notice",value:function()
{return"list"===this.props.display_type&&this.props.item.availability?
React.createElement(Scribd.Shared.AvailabilityNotice,
{icon:this.props.item.availability.icon,text:this.props.item.availability.text,flag
_class:this.props.item.flag.classes}):void 0}},
{key:"render_author_container",value:function(e){return React.createElement("div",
{className:"author_container"},React.createElement("span",
{className:"author"},e))}},{key:"render_secondary_subtitle",value:function(){var
e=this.props.item.secondary_subtitle;if(e)return this.render_author_container(e)}},
{key:"render_series_name",value:function(){var e=this.props.item.series;if(e)return
this.render_author_container(I18n.t("shared.react.cells.base.series"))}},
{key:"render_content_progress",value:function(){var
e=this.props.item.content_progress;if(e){var
t=I18n.t("shared.react.cells.base.content_to_go",{duration:e});return
this.render_author_container(t)}}},{key:"render_controls",value:function()
{if(this.props.controls)return this.props.controls;if(!this.props.no_controls){var
e=!this.props.item.star_rating_props;return React.createElement("div",
{className:"controls"},React.createElement(p.default,
{item:this.props.item,show_text:!1,classes:classNames("",
{no_star_ratings:e})}))}return null}},
{key:"render_list_item_content",value:function(){}},
{key:"render_list_item_wrapper",value:function(){return React.createElement("div",
{className:"list_anchor_container"},React.createElement("a",
{className:classNames("list_anchor",
{book_link:this.should_show_book_preview_lightbox(),new_item:this.props.item.new_it
em}),onClick:this.props.handle_list_anchor_click,href:this.get_content_url(),id:thi
s.props.item.id,target:this.should_open_in_new_window()?"_blank":null},this.render_
new_indicator(),this.render_list_item_content(),this.render_new_window_text()),this
.render_controls())}},{
key:"render_content",value:function(){return this.state.removed?
this.render_removed():this.render_list_item_wrapper()}}]),t}
(l.default);f.propTypes={controls:h.element,display_type:h.string,is_finished:h.boo
l,handle_list_anchor_click:h.func,item:h.shape({author:h.string.isRequired,book_pre
view_url:h.string,description:h.string,flag:h.shape({classes:h.string,label:h.strin
g,type:h.string.isRequired}),id:h.number.isRequired,image_url:h.string.isRequired,i
n_library:h.bool,is_book:h.bool,interest:h.string,new_item:h.bool,open_in_reader:h.
bool,publication_date:h.string,read_time_estimate:h.string,reader_url:h.string,read
ing_progress_bar_props:h.object,retina_image_url:h.string.isRequired,series:h.bool,
short_title:h.string,star_rating_props:h.object,title:h.string.isRequired,type:h.st
ring.isRequired}).isRequired,narrow:h.bool,no_controls:h.bool,paused:h.bool,rec_uui
d:h.string,undo_label:h.string,undo_xhr:h.func,use_in_carousel:h.bool,search_open_n
on_book_preview_items_in_new_tab:h.bool,tracking_module:h.shape({rc_callback:h.func
,rec_id:h.string,rv_callback:h.func,tracker:h.object,view_id:h.string})},f.defaultP
rops={no_controls:!1,series:!1},t.default=f},38:function(e,t,n){"use
strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e
instanceof t))throw new TypeError("Cannot call a class as a function")}function
o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super()
hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?
e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super
expression must either be null or a function, not "+typeof
t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!
1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}(),c=function _(e,t,n)
{null===e&&(e=Function.prototype);var
r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var
i=Object.getPrototypeOf(e);return null===i?void 0:_(i,t,n)}if("value"in r)return
r.value;var o=r.get;return void 0===o?void
0:o.call(n)},l=n(13),u=r(l),d=function(e){function t(e){return i(this,t),o(this,
(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}return a(t,e),s(t,
[{key:"render_author_section",value:function(){return
this.props.item.secondary_subtitle?
this.render_secondary_subtitle():this.render_author()}},
{key:"render_reading_status",value:function(){return this.props.is_finished?
this.render_marked_as_finished():this.render_reading_time_estimate()}},
{key:"render_list_item_content",value:function()
{return[this.render_image(),React.createElement("div",
{className:"metadata",key:"metadata_"+this.props.item.id},React.createElement("div"
,
{className:"title_author"},this.render_title(),this.render_author_section()),this.r
ender_reading_progress(),this.render_star_ratings(),this.render_upvotes(),this.rend
er_reading_status())]}}],[{key:"propTypes",get:function(){var
e=React.PropTypes;return Object.assign({},c(t.__proto__||
Object.getPrototypeOf(t),"propTypes",this),{is_finished:e.bool})}}]),t}
(u.default);t.default=d,Scribd.addComponent("Shared.React.Cells.Saved.Document",d)}
,4:function(){},6:function(){}},[38]);

/* app/views/shared/react/cells/saved/book.jsxjs @ 1526073916 */
webpackJsonp([37,45,76],{2:function(e,t,n){"use strict";function r(e){return
e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new
TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new
ReferenceError("this hasn't been initialised - super() hasn't been called");return!
t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!
=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a
function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:
{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}();n(4);var
c=n(0),l=r(c),u=n(1),d=r(u),_=React.PropTypes,p=function(e){function t(e)
{i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_save_button"),n.state={item:n.props.item,load
ing:!1},n}return a(t,e),s(t,[{key:"component_classes",value:function(){return
classNames(this.props.classes,"save_button")}},
{key:"componentWillReceiveProps",value:function(e){e.item!
==this.props.item&&this.setState({item:e.item})}},
{key:"componentDidMount",value:function(){var e=new
CookieJar({expires:""});e.get(t.COOKIE_NAME)||e.put(t.COOKIE_NAME,!0)}},
{key:"should_confirm_delete",value:function(){return"true"===(new
CookieJar).get(t.COOKIE_NAME)}},{key:"set_loading",value:function(e)
{this.setState({loading:e}),this.props.on_loading&&this.props.on_loading(e)}},
{key:"set_in_library_state",value:function(e)
{this.setState({item:Object.assign({},this.state.item,{in_library:e})})}},
{key:"get_tooltip_text",value:function(){if(this.props.show_tooltip){var e=void
0;return this.state.item.in_library?
(e=I18n.t("shared.react.save_button.remove_from_saved_cap"),this.props.cta_remove||
e):(e=I18n.t("shared.react.save_button.save_for_later_cap"),this.props.cta_save||
e)}}},{key:"get_short_title",value:function(){return
this.state.item.short_title||""}},{key:"get_save_cta",value:function(){return
this.props.cta_save?
this.props.cta_save:I18n.t("shared.react.save_button.save_short_title_for_later_htm
l",{short_title:this.get_short_title()})}},{key:"get_remove_cta",value:function()
{return this.props.cta_remove?
this.props.cta_remove:I18n.t("shared.react.save_button.remove_short_title_from_save
d_html",{short_title:this.get_short_title()})}},
{key:"get_aria_text",value:function(){return this.state.item.in_library?
this.get_remove_cta():this.get_save_cta()}},
{key:"get_save_icon_class_name",value:function(){var
e=this.props.use_thick_icon?"2px":"1px",t=this.state.item.in_library?"saved":"save"
;return"icon icon-ic_"+t+"_for_later_"+e}},{key:"handle_xhr_fail",value:function(e)
{Scribd.Flasher.standard("error",e)}},
{key:"handle_update_add_success",value:function(e,t){this.set_in_library_state(!
0),this.props.on_save&&this.props.on_save(e,t)}},
{key:"handle_update_add_failure",value:function(){this.set_in_library_state(!
1),this.handle_xhr_fail(I18n.t("shared.react.save_button.failed_to_save_title"))}},
{key:"handle_update_remove_success",value:function(e,t){this.set_in_library_state(!
1),this.props.on_remove&&this.props.on_remove(e,t)}},
{key:"handle_update_remove_failure",value:function(){this.set_in_library_state(!
0),this.handle_xhr_fail(I18n.t("shared.react.save_button.failed_to_remove_title"))}
},{key:"handle_update_done",value:function(){this.set_loading(!1)}},
{key:"handle_update",value:function(e){this.state.item.in_library?
Scribd.Shared.LibraryAPI.remove(this.state.item.id).success(this.handle_update_remo
ve_success.bind(this,this.state.item.id,e)).fail(this.handle_update_remove_success)
.always(this.handle_update_done):Scribd.Shared.LibraryAPI.add(this.state.item.id).s
uccess(this.handle_update_add_success.bind(this,this.state.item.id,e)).fail(this.ha
ndle_update_add_failure).always(this.handle_update_done)}},
{key:"handle_in_collection_check_success",value:function(e){var
t=this;e.collection_ids.length?(this.set_loading(!
1),Scribd.Lightbox.open_react("delete_item_in_list",React.createElement(Scribd.Shar
ed.React.Lists.Modals.DeleteItemInList,
{item_id:this.state.item.id,on_confirm:function(){return
t.handle_update(e.collection_ids)},on_loading:this.props.on_loading}))):this.handle
_update(e.collection_ids)}},
{key:"handle_in_collection_check_failure",value:function()
{this.handle_xhr_fail(I18n.t("shared.react.save_button.failed_to_remove_title")),th
is.set_loading(!1)}},{key:"handle_save",value:function()
{Scribd.kill_tooltips(),this.set_loading(!
0),this.state.item.in_library&&this.should_confirm_delete()?
Scribd.Shared.CollectionAPI.collections_containing_document(this.state.item.id).suc
cess(this.handle_in_collection_check_success).fail(this.handle_in_collection_check_
failure):this.handle_update([])}},{key:"handle_save_button_click",value:function(e)
{this.props.on_click&&this.props.on_click(e),this.track_rats("library_btn:add_to_li
brary:click",
{doc_id:this.state.item.id,action:this.state.item.in_library?"remove":"add"}),Scrib
d.with_login({join_header_text:I18n.t("shared.react.save_button.sign_up_to_save"),i
nitial_view:"join",join_type:"pmp",track_location:"add_to_library"},this.handle_sav
e)}},{key:"create_aria_html",value:function()
{return{__html:this.get_aria_text()}}},{key:"render_icon",value:function(){var
e=this.props.show_icon?this.get_save_icon_class_name():"";return
React.createElement("span",{className:e,"aria-hidden":"true",key:"icon"})}},
{key:"render_aria_text",value:function(){return React.createElement("span",
{dangerouslySetInnerHTML:this.create_aria_html(),className:classNames({visually_hid
den:!this.props.show_text}),key:"text"})}},{key:"render_content",value:function()
{return React.createElement(d.default,
{type:"button",className:classNames("edit_saved_btn",
{loading:this.state.loading,disabled:this.state.loading,text_btn:this.props.text_bt
n,icon_only:!
this.props.show_text}),cta_save:this.get_save_cta(),cta_remove:this.get_remove_cta(
),onClick:this.handle_save_button_click,"data-
tooltip":this.get_tooltip_text(),"data-
label":this.get_tooltip_text()},this.render_icon(),this.render_aria_text())}}]),t}
(l.default);p.COOKIE_NAME="library:confirm_delete_item_in_list",p.propTypes={classe
s:_.string,cta_remove:_.string,cta_save:_.string,item:_.object.isRequired,on_click:
_.func,on_loading:_.func,on_remove:_.func,on_save:_.func,show_icon:_.bool,show_text
:_.bool,show_tooltip:_.bool,text_btn:_.bool,use_thick_icon:_.bool},p.defaultProps={
cta_remove:"",cta_save:"",show_icon:!0,show_text:!0,show_tooltip:!0,text_btn:!
0,use_thick_icon:!
1},t.default=p,Scribd.addComponent("Shared.React.SaveButton",p)},3:function(e,t,n)
{"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t)
{if(!(e instanceof t))throw new TypeError("Cannot call a class as a
function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been
initialised - super() hasn't been called");return!t||"object"!=typeof
t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw
new TypeError("Super expression must either be null or a function, not "+typeof
t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!
1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}();n(6);var
c=n(0),l=r(c),u=n(1),d=r(u),_=n(2),p=r(_),h=React.PropTypes,f=function(e){function
t(e){i(this,t);var n=o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e));return
n.enclosing_class("auto__shared_react_cells_base"),n.state={undo_loading:!
1,removed:n.props.item.removed},n}return a(t,e),s(t,
[{key:"enclosing_tag",value:function(){return"li"}},
{key:"enclosing_element_args",value:function(){return{"data-
track_uuid":this.props.rec_uuid,"data-track":!0}}},
{key:"component_classes",value:function(){return"react_cell_base object_cell
list_item "+this.props.item.type}},{key:"componentDidMount",value:function(){var
e=this;$(this.container).on("shared:react:lists:list_item:removed",function(t,n)
{e.setState({removed:n})})}},{key:"componentDidUpdate",value:function(e,t)
{this.state.removed?$(this.container).find(".undo_btn").focus():t.removed&&$
(this.container).find(".list_anchor").focus()}},
{key:"handle_removed_cell_click",value:function(){var
e=this;this.setState({undo_loading:!
0}),this.props.undo_xhr(this.props.item).success(function(){$
(e.container).trigger("shared:react:lists:list_item:removed",!1)}).fail(function()
{$(e.container).trigger("shared:react:lists:list_item:removed",!
0),Scribd.Flasher.standard("error",I18n.t("shared.react.cells.base.failed_to_undo_a
ction"))}).always(function(){e.setState({undo_loading:!1})})}},
{key:"get_content_url",value:function(){return this.props.item.open_in_reader||!
["book","audiobook","sheet_music"].includes(this.props.item.type)?
this.props.item.reader_url:this.props.item.book_preview_url}},
{key:"get_image_aria_label_text",value:function(){if(this.props.item.type){var
e=this.props.item.type.toLowerCase(),t={book:I18n.t("shared.react.cells.base.book")
,audiobook:I18n.t("shared.react.cells.base.audiobook"),publication_issue:I18n.t("sh
ared.react.cells.base.publication_issue"),sheet_music:I18n.t("shared.react.cells.ba
se.sheet_music"),article:I18n.t("shared.react.cells.base.article_in_props_item_auth
or",{props_item_author:this.props.item.author})};return t.hasOwnProperty(e)?
t[e]:e}}},{key:"get_image_alt_text",value:function(){return
this.props.item.title}},{key:"should_open_in_new_window",value:function(){return
this.should_show_book_preview_lightbox()?void
0:this.props.search_open_non_book_preview_items_in_new_tab?!
0:"audiobook"===this.props.item.type&&this.props.item.open_in_reader?!0:void 0}},
{key:"should_show_book_preview_lightbox",value:function(){return
this.props.item.open_in_reader?!1:Scribd.is_mobile?!
1:this.props.item.is_book?"article"===this.props.item.type?!
1:"publication_issue"===this.props.item.type?!
1:"sheet_music_chapter"===this.props.item.type?!1:!0:!1}},
{key:"render_removed",value:function(){return React.createElement("div",
{className:"undo_container"},React.createElement("div",
{className:"undo"},React.createElement("div",
{className:"undo_btn_label"},React.createElement("span",null,this.props.undo_label)
),React.createElement(d.default,
{ref:this.props.item.id,type:"button",text:I18n.t("shared.react.cells.base.undo"),d
isabled:this.state.undo_loading,"aria-
disabled":this.state.undo_loading,tabIndex:"0",className:classNames("undo_btn
text_btn",
{loading:this.state.undo_loading}),onClick:this.handle_removed_cell_click.bind(this
)},React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.props_item_title_-
_removed_from_saved",{props_item_title:this.props.item.title})))))}},
{key:"render_new_indicator",value:function(){return this.props.item.new_item&&!
this.props.is_finished?React.createElement("span",
{className:"new_items_indicator"},React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.new"))):void 0}},
{key:"render_new_window_text",value:function(){return
this.should_open_in_new_window()?React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.opens_in_new_window")
):void 0}},{key:"render_title",value:function(){return React.createElement("div",
{className:"title document_title"},this.props.item.title)}},
{key:"render_author",value:function(){var e=arguments.length>0&&void 0!
==arguments[0]?arguments[0]:!0,t=React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.author"));return
React.createElement("div",{className:"author_container"},e?
t:null,React.createElement("span",{className:"author"},this.props.item.author))}},
{key:"render_reading_progress",value:function(){return
this.props.item.reading_progress_bar_props?
React.createElement(Scribd.R.Shared.React.ReadingProgressBar,this.props.item.readin
g_progress_bar_props):void 0}},{key:"render_star_ratings",value:function(){return
this.props.item.star_rating_props?
React.createElement(Scribd.R.Shared.React.StarRatings,this.props.item.star_rating_p
rops):void 0}},{key:"render_image_flag",value:function(){return
this.props.item.flag?"scribd_select"===this.props.item.flag.type?
React.createElement("div",{className:"flag
is_scribd_select"},React.createElement("span",{className:"icon icon-
ic_scribd_badge_logo","aria-hidden":"true"}),React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.scribd_selects"))):th
is.props.item.flag.label?React.createElement("div",{className:"banner_flag flag
"+this.props.item.flag.classes},this.props.item.flag.label):void 0:void 0}},
{key:"render_image_cta",value:function(){if(!this.props.hide_hover_cta)
{if(this.props.item.open_in_reader){var
e=I18n.t("shared.react.cells.base.read_now");return"audiobook"===this.props.item.ty
pe&&I18n.t("shared.react.cells.base.listen_now"),React.createElement("div",
{role:"presentation",className:"hover_cta reader"},e)}return
React.createElement("div",{role:"presentation",className:"hover_cta
book_page"},I18n.t("shared.react.cells.base.about_title"))}}},
{key:"render_image",value:function(){var e=arguments.length>0&&void 0!
==arguments[0]?arguments[0]:!0;return React.createElement("div",
{className:classNames("image",
{is_book:this.props.item.is_book}),key:"image_"+this.props.item.id},this.render_ima
ge_flag(),React.createElement(Scribd.R.Shared.React.DocumentImage,
{alt_text:this.get_image_alt_text(),aria_label_text:this.get_image_aria_label_text(
),image_url:this.props.item.image_url,lazy_load:e,retina_image_url:this.props.item.
retina_image_url,use_in_carousel:this.props.use_in_carousel}),this.render_image_cta
())}},{key:"render_marked_as_finished",value:function(){return
this.props.is_finished?React.createElement("div",
{className:"marked_as_finished_container"},React.createElement("span",
{className:"icon icon-ic_finished_small","aria-
hidden":"true"}),React.createElement("span",
{className:"finished_text"},I18n.t("shared.react.cells.base.finished"))):void 0}},
{key:"render_reading_time_estimate",value:function(){var e=arguments.length>0&&void
0!==arguments[0]?arguments[0]:!0;if(this.props.item.read_time_estimate){var
t=React.createElement("span",
{className:"visually_hidden"},I18n.t("shared.react.cells.base.total"));return
React.createElement("div",
{className:"read_time_estimate"},React.createElement("span",null,React.createElemen
t("span",null,this.props.item.read_time_estimate),e?t:null))}}},
{key:"render_availability_notice",value:function()
{return"list"===this.props.display_type&&this.props.item.availability?
React.createElement(Scribd.Shared.AvailabilityNotice,
{icon:this.props.item.availability.icon,text:this.props.item.availability.text,flag
_class:this.props.item.flag.classes}):void 0}},
{key:"render_author_container",value:function(e){return React.createElement("div",
{className:"author_container"},React.createElement("span",
{className:"author"},e))}},{key:"render_secondary_subtitle",value:function(){var
e=this.props.item.secondary_subtitle;if(e)return this.render_author_container(e)}},
{key:"render_series_name",value:function(){var e=this.props.item.series;if(e)return
this.render_author_container(I18n.t("shared.react.cells.base.series"))}},
{key:"render_content_progress",value:function(){var
e=this.props.item.content_progress;if(e){var
t=I18n.t("shared.react.cells.base.content_to_go",{duration:e});return
this.render_author_container(t)}}},{key:"render_controls",value:function()
{if(this.props.controls)return this.props.controls;if(!this.props.no_controls){var
e=!this.props.item.star_rating_props;return React.createElement("div",
{className:"controls"},React.createElement(p.default,
{item:this.props.item,show_text:!1,classes:classNames("",
{no_star_ratings:e})}))}return null}},
{key:"render_list_item_content",value:function(){}},
{key:"render_list_item_wrapper",value:function(){return React.createElement("div",
{className:"list_anchor_container"},React.createElement("a",
{className:classNames("list_anchor",
{book_link:this.should_show_book_preview_lightbox(),new_item:this.props.item.new_it
em}),onClick:this.props.handle_list_anchor_click,href:this.get_content_url(),id:thi
s.props.item.id,target:this.should_open_in_new_window()?"_blank":null},this.render_
new_indicator(),this.render_list_item_content(),this.render_new_window_text()),this
.render_controls())}},{key:"render_content",value:function(){return
this.state.removed?this.render_removed():this.render_list_item_wrapper()}}]),t}
(l.default);f.propTypes={controls:h.element,display_type:h.string,is_finished:h.boo
l,handle_list_anchor_click:h.func,item:h.shape({author:h.string.isRequired,book_pre
view_url:h.string,description:h.string,flag:h.shape({classes:h.string,label:h.strin
g,type:h.string.isRequired}),id:h.number.isRequired,image_url:h.string.isRequired,i
n_library:h.bool,is_book:h.bool,interest:h.string,new_item:h.bool,open_in_reader:h.
bool,publication_date:h.string,read_time_estimate:h.string,reader_url:h.string,read
ing_progress_bar_props:h.object,retina_image_url:h.string.isRequired,series:h.bool,
short_title:h.string,star_rating_props:h.object,title:h.string.isRequired,type:h.st
ring.isRequired}).isRequired,narrow:h.bool,no_controls:h.bool,paused:h.bool,rec_uui
d:h.string,undo_label:h.string,undo_xhr:h.func,use_in_carousel:h.bool,search_open_n
on_book_preview_items_in_new_tab:h.bool,tracking_module:h.shape({rc_callback:h.func
,rec_id:h.string,rv_callback:h.func,tracker:h.object,view_id:h.string})},f.defaultP
rops={no_controls:!1,series:!1},t.default=f},37:function(e,t,n){"use
strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e
instanceof t))throw new TypeError("Cannot call a class as a function")}function
o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super()
hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?
e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super
expression must either be null or a function, not "+typeof
t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!
1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?
Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",
{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var
r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!
0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return
n&&e(t.prototype,n),r&&e(t,r),t}}(),c=function _(e,t,n)
{null===e&&(e=Function.prototype);var
r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var
i=Object.getPrototypeOf(e);return null===i?void 0:_(i,t,n)}if("value"in r)return
r.value;var o=r.get;return void 0===o?void 0:o.call(n)},l=n(3),u=r(l),d=function(e)
{function t(e){return i(this,t),o(this,(t.__proto__||
Object.getPrototypeOf(t)).call(this,e))}return a(t,e),s(t,
[{key:"render_finished",value:function(){return this.props.is_finished?
this.render_marked_as_finished():this.render_reading_time_estimate()}},
{key:"render_subtitle",value:function(){var
e=this.props.item,t=e.series,n=e.content_progress;return n?t?
this.render_series_name():this.render_content_progress():this.render_author()}},
{key:"render_list_item_content",value:function()
{return[this.render_image(),React.createElement("div",
{className:"metadata",key:"metadata_"+this.props.item.id},React.createElement("div"
,{className:"title_author"},this.render_availability_notice(),this.rende
r_title(),this.render_subtitle()),this.render_reading_progress(),this.render_finish
ed())]}}],[{key:"propTypes",get:function(){var e=React.PropTypes;return
Object.assign({},c(t.__proto__||Object.getPrototypeOf(t),"propTypes",this),
{is_finished:e.bool,content_progress:e.string})}}]),t}
(u.default);t.default=d,Scribd.addComponent("Shared.React.Cells.Saved.Book&quo